Commit graph

284 commits

Author SHA1 Message Date
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
Max
f32a677265 Refactor event binding logic in SUI core 2024-07-20 17:45:19 +08:00
Max
258163497a Refactor event binding logic in SUI core 2024-07-20 15:42:08 +08:00
Max
fbfd3f270a Refactor event binding logic in SUI core 2024-07-20 10:47:46 +08:00
Max
bafe3bb20f Refactor event binding logic in SUI core 2024-07-20 09:44:58 +08:00
Max
ebc399bfe1 add event binding logic in SUI core 2024-07-20 08:44:02 +08:00
Max
69e0070b0a Refactor prop regex patterns and methods in SUI core 2024-07-19 16:08:00 +08:00
Max
af3a8a4ac4 Refactor locale file writing logic in SUI page 2024-07-19 08:21:59 +08:00
Max
8e8a0ac885 Fix trans passing bug in SUI components 2024-07-19 07:20:57 +08:00
Max
3014d6f2e9 Refactor copySlots method to use slot.Contents() instead of slot.Children() 2024-07-18 19:28:04 +08:00
Max
58534f532f Refactor copySlots method to use slot.Contents() instead of slot.Children() 2024-07-18 19:13:22 +08:00