Commit graph

132 commits

Author SHA1 Message Date
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
931394b36b feat: Add yao sui trans command for automatic translation support 2024-07-15 10:15:05 +08:00
Max
ef8b8027cf [add] sui.trans.all and sui.trans.page to support automatic translation 2024-07-15 09:24:44 +08:00
Max
1ed1973c7d Optimize i18n key generation logic 2024-07-15 05:52:44 +08:00
Max
98f2f2a190 refactor: Update BuildContext components to use boolean values instead of strings 2024-07-12 10:24:07 +08:00
Max
5b19ef3d19 refactor: Update BuildContext components to use boolean values instead of strings 2024-07-12 08:39:57 +08:00
Max
a5e1b569be refactor: Add default BuildContext if none provided in TranslateMarks function 2024-07-11 20:37:06 +08:00
Max
61205ced5f refactor i18n support 2024-07-11 20:20:36 +08:00
Max
da955f2c48 fix sui GlobRoutes bug and add s:click support 2024-07-11 09:38:58 +08:00
Max
8dd5f02a7b feat: output warning messages during sui page build 2024-07-09 05:56:29 +08:00
Max
9bae50b500 fix the bug in handling the replaceNodeUse attribute 2024-07-09 05:12:52 +08:00
Max
ffb858b76f refactor: Update parsing logic for JIT components 2024-07-08 10:31:35 +08:00
Max
d188f967d0 refactor: Update parsing logic for JIT components 2024-07-08 02:21:36 +08:00
Max
78d8d9fbc2 refactor: Update namespace handling in SUI page builder 2024-07-08 02:02:03 +08:00
Max
7ea9953b69 [add] SUI component dynamic loading 2024-07-08 00:43:14 +08:00
Max
b4ed405e4e optimize sui page injection script 2024-07-07 22:34:10 +08:00
Max
265188bed1 refactor: Remove unused slotNode function and tidy up code 2024-07-07 16:00:28 +08:00
Max
e4c8eeb180 optimize the SUI compiler & add http server gzip support 2024-07-07 15:29:50 +08:00
Max
536621d72e refactor: Update parsing logic for JIT components 2024-07-07 02:33:12 +08:00
Max
a2d1ee8ca9 refactor: Add conditional hiding of elements in forStatementNode 2024-07-07 02:09:21 +08:00
Max
3f95dd7d75 [add] sui recursive build detected 2024-07-07 01:19:15 +08:00
Max
57e72a698d refactor: Copy slots in BuildAsComponent method 2024-07-07 00:51:07 +08:00
Max
6542c6e46b refactor: optimize the SUI page compiler 2024-07-06 21:24:36 +08:00
Max
a4f28368d4 refactor: Update build process to include SUI CompileAsComponent support (dev) 2024-07-05 19:54:26 +08:00
Max
cf45040a1c feat: Add and optimize SUI CompileAsComponent support 2024-07-05 16:19:57 +08:00
Max
a435b1ad6e [chore] Update sui test cases 2024-07-04 17:06:42 +08:00
Max
671a6b409e refactor: Update go.mod dependencies to latest versions 2024-07-04 03:12:30 +08:00
Max
35e23f29ae refactor: Create context if not exists in SUI page build 2024-07-02 20:51:57 +08:00
Max
28537e2163 [add] Support for JIT mode in SUI component imports ( dev ) 2024-07-02 20:40:35 +08:00
Max
6fa9eb51ab refactor: Update SUI page build process to execute before and after build scripts 2024-06-29 21:38:40 +08:00
Max
c01b4ccb97 refactor: Improve SUI page build performance by adding script execution time measurement 2024-06-29 20:44:48 +08:00
Max
481a9589ac refactor: Add option to minify style code during SUI page build 2024-06-28 20:31:30 +08:00
Max
80d28ab8c5 refactor: Minify script and style code during SUI page build 2024-06-28 20:17:06 +08:00
Max
4a1a1b2dbc Optimize the SUI compiler to better support component code 2024-06-28 19:46:08 +08:00
Max
7db3940914 refactor: Update code to support translation attributes and nodes 2024-06-28 16:20:57 +08:00
Max
671bba4aa4 [add] SUI language pack support (dev) 2024-06-28 11:25:22 +08:00
Max
c3644380ba refactor: Update Request struct to include data caching functionality 2024-06-27 21:11:38 +08:00
Max
6dcd704ea4 [add] Configuring SUI page caching to optimize static page loading speed 2024-06-27 20:02:03 +08:00
Max
6ff2ad2ead [add] Generating language packs during SUI compilation 2024-06-27 17:15:36 +08:00
Max
e170f6017e fix misspelling 2024-06-26 19:35:21 +08:00
Max
a52f0ed1a4 refactor: Update Request struct to use NewData method for setting data 2024-06-26 18:19:51 +08:00
Max
0a5105b9d0 refactor: Update TemplateParser to support debug mode and DisableCache 2024-06-26 17:09:41 +08:00
Max
a1de910337 [add] support for retrieving cookies in sui Request struct 2024-06-25 19:37:55 +08:00
Max
93fb007280 refactor: Update Namespace function to handle special characters in name
The Namespace function in utils.go has been updated to handle special characters in the name parameter. This ensures that the generated namespace is valid and avoids any potential issues with naming conflicts. The function now replaces forward slashes, square brackets, and hyphens with underscores before generating the namespace. This change improves the reliability and robustness of the code.
2024-06-14 16:20:52 +08:00
Max
971246d090 chore: Update cssRe regular expression to include hyphen in selectors 2024-06-11 17:26:37 +08:00
Max
8583f1a0f0 chore: Deprecate $slot and $prop in favor of $slots and $props
Deprecate the usage of $slot and $prop in the code and introduce $slots and $props as their replacements. This change ensures consistency and improves clarity in the codebase.
2024-06-11 10:40:19 +08:00
Max
76b78e2102 [add] sui.sync.assetfile process 2024-03-13 19:39:53 +08:00
Max
e510cb2649 Refactor caching of public root path in SUI core 2024-03-03 09:58:33 +08:00