Commit graph

1630 commits

Author SHA1 Message Date
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
8269dcf6f3 chore: Add warning messages for SUI core watch command 2024-07-24 08:28:47 +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
Max
49c66870f8 Refactor copySlots method to remove unnecessary context parameter 2024-07-18 18:45:38 +08:00
Max
57b59d6d45 refactor: Add support for script messages in SUI i18n locale merging logic 2024-07-17 18:06:51 +08:00
Max
11a66d0aed [feat] SUI i18n client-side script support 2024-07-17 17:59:09 +08:00
Max
41495a2de0 fix sui test cases 2024-07-17 16:44:42 +08:00
Max
f6a94fdba3 [feat] sui i18n direction, timezone and format support 2024-07-17 16:23:53 +08:00
Max
1005556c2f optimize SUI page writeLocaleSource and writeLocaleFiles logic 2024-07-17 09:16:11 +08:00
Max
61f297b3dc optimize SUI page writeLocaleSource and writeLocaleFiles logic 2024-07-17 08:25:52 +08:00
Max
b7ba391278 refactor: Improve SUI page parser logic for rendering i18n and escaping translation variables 2024-07-16 20:16:01 +08:00
Max
58f1e88bd1 optimize the logic for rendering i18n on SUI pages 2024-07-16 19:06:03 +08:00
Max
6e171fa7cb fix: Escape translation variables in SUI page parser 2024-07-16 17:47:55 +08:00
Max
55e3a2b4dd fix: Escape translation variables in SUI page parser 2024-07-16 10:43:43 +08:00
Max
2966256ad6 fix sui tests 2024-07-16 08:52:35 +08:00
Max
b2822dd8bf sui page parser to escape i18n variables 2024-07-16 08:35:26 +08:00
Max
08f3fbc1e4 fix sui page locale and theme data caching bug 2024-07-16 04:53:01 +08:00
Max
d5584ca9c4 fix misspelling 2024-07-15 20:20:23 +08:00
Max
d7dbcd767e feat: SUI i18n supports both attributes and variables. 2024-07-15 20:10:06 +08:00
Max
b85e5eecd8 Fix the bug in the SUI language pack path 2024-07-15 16:57:28 +08:00
Max
097bf45583 refactor: Replace $ENV with os.Getenv in loadApp function 2024-07-15 10:42:15 +08:00
Max
931394b36b feat: Add yao sui trans command for automatic translation support 2024-07-15 10:15:05 +08:00