Commit graph

244 commits

Author SHA1 Message Date
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
a2e5a52ad8 feat: Update event handling in sui/core to support event component names 2024-08-03 11:23:59 +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
a07c1ece51 Add s:render feature for data update rendering (dev) 2024-08-02 21:18:02 +08:00
Max
743339d3d4 feat: Add Store function to utils in injections.go 2024-08-02 19:05:35 +08:00
Max
83e1081c9b feat: Update script loading to handle source root mapping from tsconfig.json 2024-08-01 19:11:27 +08:00
Max
44eb60377d Update file extensions for backend scripts 2024-08-01 18:43:15 +08:00
Max
fc1f80e0f5 feat: Add sourceRoots to Static struct in types.go 2024-08-01 18:16:59 +08:00
Max
db397f8cda feat: add state propagation mechanism support to sui components 2024-07-30 10:52:13 +08:00
Max
0870332e8b Add $utils object in libsui for enhanced utility functions 2024-07-30 09:33:43 +08:00
Max
271b494c59 Refactor component event injection to handle missing event selectors 2024-07-30 06:07:13 +08:00
Max
a8d151993e Refactor component event injection to handle missing event selectors 2024-07-29 17:34:13 +08:00
Max
dc3c637c5e Refactor component event injection to handle missing event selectors 2024-07-29 16:46:21 +08:00
Max
a91e47b072 Refactor template build tests to use advanced template in sui/storages/local/build_test.go 2024-07-29 13:56:55 +08:00
Max
b6e2d3ae8e Refactor slot cloning logic in build.go 2024-07-29 11:46:09 +08:00
Max
4c5278938c Refactor SUI core to improve import parsing and aliasing 2024-07-28 19:27:16 +08:00
Max
1763a4f2e7 feat: Support component import and aliasing in SUI 2024-07-28 19:16:02 +08:00
Max
93d36b7f03 Optimize SUI core to parse imports and set namespace attribute 2024-07-28 17:55:47 +08:00
Max
76d0dde315 Optimize SUI component property parsing 2024-07-27 17:03:48 +08:00
Max
5050443e63 Optimize SUI core to load script with disableCache option 2024-07-27 10:28:17 +08:00
Max
99a77fdd8e Optimize SUI core to copy json-attr- to the prop in newJitComponentSel function 2024-07-27 10:14:13 +08:00
Max
40ecbde86b Optimize SUI core to copy json-attr- to the prop in newJitComponentSel function 2024-07-27 08:06:04 +08:00
Max
89957a9405 Optimize SUI JIT mode component parsing logic 2024-07-26 19:36:48 +08:00
Max
6bcede11d9 Refactor SUI core to handle backend script errors during page execution 2024-07-26 16:02:35 +08:00
Max
602333bd02 Optimize SUI frontend and backend script data sharing 2024-07-26 15:25:04 +08:00
Max
002f409e67 Optimize SUI variable parsing logic 2024-07-26 12:06:08 +08:00
Max
43e37fbfe4 Optimize expression parsing in SUI 2024-07-26 10:01:41 +08:00
Max
b6c5c0fd31 Refactor SUI core to set attribute values in parseProps function 2024-07-26 08:03:23 +08:00
Max
7706439f8f Refactor SUI core to copy the script pointer to the request for page backend script execution 2024-07-25 19:07:50 +08:00
Max
0dbdc0b99b Refactor SUI core to conditionally append page components in Compile function 2024-07-25 18:05:21 +08:00
Max
276f29d777 [feat] SUI support BeforeRender hook for dataset processing, and deprecating the s:set method. 2024-07-25 17:56:40 +08:00
Max
8b93c3b219 Refactor SUI core to remove unnecessary code in BuildScripts function 2024-07-25 16:14:40 +08:00
Max
fe247d1e28 Refactor SUI core to load backend scripts for templates 2024-07-25 16:10:21 +08:00
Max
58ca39a32b [feat] Sharing the Constants variable between frontend and backend scripts 2024-07-25 15:37:23 +08:00
Max
9418133b32 Refactor SUI core to load backend scripts for templates 2024-07-25 10:10:54 +08:00
Max
8d375e2222 chore: Refactor SUI core to use lazy loading for the SUI library 2024-07-24 19:23:46 +08:00
Max
a8c37e78a4 Refactor page test to check for minimum number of pages and children 2024-07-24 17:04:25 +08:00
Max
1257337765 fix error handling in SUI core tests 2024-07-24 08:26:24 +08:00
Max
47064422a9 Optimize error handling in SUI core build and compile functions 2024-07-24 08:15:50 +08:00
Max
80239284de Refactor event handler variable name in SUI core 2024-07-23 10:41:48 +08:00
Max
60ada0a8d1 Refactor SUI core to use dynamic loading for the SUI library 2024-07-23 08:04:21 +08:00
Max
9101efb4b6 Refactor component initialization in SUI core 2024-07-22 20:37:51 +08:00
Max
2f828b643d add ToCamelCase function in SUI core 2024-07-22 17:28:27 +08:00
Max
e802599795 Refactor statement attributes copying logic in SUI core 2024-07-22 11:18:12 +08:00
Max
dc8cfb66df fix missing trans-text attribute bug 2024-07-21 07:09:59 +08:00