Commit graph

106 commits

Author SHA1 Message Date
Max
01c524be54 fix: Update asset metadata and enhance route handling in SUI
- Updated modification times for various asset files in bindata.go to reflect recent changes.
- Enhanced route handling in libsui/index.ts to support optional route parameters, improving flexibility in component rendering.
- Added initialization for sub-components within the rendering process, enhancing component lifecycle management and error handling.
2025-05-05 18:11:47 +08:00
Max
d894f0a1e9 feat: Update asset metadata and enhance Agent class in SDK
- Updated modification times for various asset files in bindata.go to reflect recent changes.
- Enhanced the Agent class in libsui/agent.ts with improved type definitions and event handling.
- Introduced new interfaces for message structures and event handlers, streamlining message processing.
- Refactored the Call method to better manage message states and improve error handling.
2025-05-05 16:18:57 +08:00
Max
d731296b94 refactor: Clean up and standardize code formatting in bindata.go
- Reorganized import statements for consistency.
- Removed unnecessary blank lines and standardized indentation for better readability.
- Updated map initialization syntax for improved clarity and uniformity.
2025-05-05 14:53:05 +08:00
Max
595709f834 # Enhanced Yao AI Agent SDK
Improved the Yao AI Agent SDK with better type definitions and error handling.

## Key Updates
- Added typed interfaces for attachments and messages
- Optimized attachment handling (only send when present)
- Enhanced error handling with specific error messages
- Improved event system for message streaming
- Added comprehensive TypeScript definitions
2025-05-05 12:48:58 +08:00
Max
f0a4a8d4ea Remove deprecated storage and import API definitions 2024-11-06 09:16:30 +08:00
Max
3074a8e432 libsui $Query class to support multiple elements in constructor 2024-10-09 11:26:37 +08:00
Max
776d22a443 update bindata 2024-10-01 07:50:32 +08:00
Max
ce4d775981 Optimize libsui error reporting 2024-10-01 07:41:21 +08:00
Max
fb6518e91f Fix the bug in real-time rendering mode 2024-09-10 16:29:15 +08:00
Max
0a21780473 Refactor component attribute handling to support spread operator and real-time rendering mode 2024-09-10 09:23:10 +08:00
Max
72542dab79 chore: Merge user data into payload in SUI libsui index.ts 2024-09-03 18:15:12 +08:00
Max
07353d0084 Add s:route attribute to real time render components 2024-09-03 17:40:31 +08:00
Max
d00b62caf1 Refactor event binding in SUI core to support just-in-time mode 2024-09-02 18:28:16 +08:00
Max
db033a10fd [add] SUI real-time rendering mode supports event binding (page event only) 2024-09-02 17:04:22 +08:00
Max
f531b32634 Improve SUI Component element manipulation methods and add queryAll method 2024-08-08 18:57:47 +08:00
Max
38884a7b0c Improve SUI Component element manipulation methods and add queryAll method 2024-08-07 17:42:16 +08:00
Max
ae5e60aefa chore: Improve SUI Component element manipulation methods and add empty expression helper 2024-08-07 15:52:58 +08:00
Max
f44021d582 chore: improve SUI Component element manipulation methods 2024-08-06 20:10:48 +08:00
Max
d61ebadf43 chore: improve SUI Component element manipulation methods 2024-08-06 18:49:21 +08:00
Max
fba0a865dc chore: Update __Query class to return null when no element is found 2024-08-06 16:03:00 +08:00
Max
2a19ef857b chore: Update __Query class to accept both string and Element types for selector 2024-08-06 09:31:36 +08:00
Max
197b155280 chore: Update __Query class to accept both string and Element types for selector 2024-08-05 16:29:45 +08:00
Max
bd6999745d chore: Refactor __Query class to improve element manipulation methods 2024-08-05 15:21:55 +08:00
Max
e0dd59c180 chore: Add new methods to __Query class for element manipulation 2024-08-05 15:19:57 +08:00
Max
9977b62a09 [feat] SUI $backend function call supports custom Guard 2024-08-05 08:32:59 +08:00
Max
d170ab6e53 Optimize $backend function call 2024-08-04 11:40:15 +08:00
Max
8e47849e93 [feat] Add $Backend function call to directly invoke backend functions from frontend scripts. 2024-08-03 20:31:02 +08:00
Max
259b707ca8 Refactor utils.ts for improved code readability and maintainability 2024-08-03 18:57:29 +08:00
Max
eb4443ebe7 Refactor utils.ts to improve code readability and maintainability 2024-08-03 17:45:05 +08:00
Max
6f1f558ecd feat: Add source map URL to libsui.min.js for better debugging 2024-08-03 17:08:38 +08:00
Max
5514fea7ec feat: Add yao.ts to libsui for Pure JavaScript SDK 2024-08-03 08:52:05 +08:00
Max
5f5af44018 Optimize libsui js-sdk loading logic 2024-08-03 08:37:54 +08:00
Max
06c73e5f1c [add] Integrate page builder ui 2023-12-10 13:59:04 +08:00
Max
d9b6910227 fix yao-init & get command 2023-05-18 10:58:27 +08:00
Max
ae4880c6dc [_] 2023-05-13 19:20:58 +08:00
Max
9a2b859457 [update] table & from & langs 2023-05-13 18:39:03 +08:00
Max
0c438d088a [add] load application from bin data 2023-04-24 11:58:10 +08:00
Max
ddda7924c9 [add] import & storage api ( WILL BE DEPRECATED ) 2023-04-02 17:39:54 +08:00
Max
0ff7fccc55 [change] bindata: update generated bindata 2023-04-02 16:06:02 +08:00
Max
f2f43e7f96 [remove] workfow table 2022-11-17 12:50:41 +08:00
Max
5878b238c7 [change] init application 2022-11-17 12:35:03 +08:00
Max
78397bcdb3 [add] yao-int to binary 2022-11-17 11:48:48 +08:00
Max
fd78073dbc [add] table & form bind password & json filed 2022-11-10 23:13:59 +08:00
Max
93ba063cb4 [add] setup 2022-10-28 11:58:05 +08:00
Max
409b449f85 [change] optimize table widget default values 2022-10-22 13:08:52 +08:00
Max
355ae10dcf [change] i18n Trans 2022-10-18 22:36:32 +08:00
Max
cd7a776a5e [fix] table widget bug 2022-10-18 19:48:51 +08:00
Max
bf950a34f6 [fix] fmt code 2022-10-12 20:35:57 +08:00
Max
92cc28df20 [add] widget table i18n support 2022-10-07 20:11:53 +08:00
Max
5d32073ffc [add] widget table bind model support 2022-10-06 19:58:23 +08:00