Max
77efc03582
feat: Enhance global build context and component handling
...
- Update NewGlobalBuildContext to accept a template parameter for improved context management.
- Refactor component handling in Compile method to include JIT components, enhancing dynamic component loading.
- Modify TemplateRender to utilize the updated global context, improving template processing.
- Adjust component attribute parsing to use "s:route" for better clarity in component identification.
2025-04-23 16:08:10 +08:00
Max
07353d0084
Add s:route attribute to real time render components
2024-09-03 17:40:31 +08:00
Max
d170ab6e53
Optimize $backend function call
2024-08-04 11:40:15 +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
5f5af44018
Optimize libsui js-sdk loading logic
2024-08-03 08:37:54 +08:00
Max
44eb60377d
Update file extensions for backend scripts
2024-08-01 18:43:15 +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
47064422a9
Optimize error handling in SUI core build and compile functions
2024-07-24 08:15:50 +08:00
Max
af3a8a4ac4
Refactor locale file writing logic in SUI page
2024-07-19 08:21:59 +08:00
Max
11a66d0aed
[feat] SUI i18n client-side script support
2024-07-17 17:59:09 +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
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
61205ced5f
refactor i18n support
2024-07-11 20:20:36 +08:00
Max
8dd5f02a7b
feat: output warning messages during sui page build
2024-07-09 05:56:29 +08:00
Max
ffb858b76f
refactor: Update parsing logic for JIT components
2024-07-08 10:31:35 +08:00
Max
cf45040a1c
feat: Add and optimize SUI CompileAsComponent support
2024-07-05 16:19:57 +08:00
Max
671a6b409e
refactor: Update go.mod dependencies to latest versions
2024-07-04 03:12:30 +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
7db3940914
refactor: Update code to support translation attributes and nodes
2024-06-28 16:20:57 +08:00
Max
6ff2ad2ead
[add] Generating language packs during SUI compilation
2024-06-27 17:15:36 +08:00
Max
72d88cddc4
Remove redundant code for syncing asset files
2024-03-13 20:16:13 +08:00
Max
76b78e2102
[add] sui.sync.assetfile process
2024-03-13 19:39:53 +08:00
Max
b82f6f6029
Refactor build process and add data parameter to BuildOption
2024-02-28 21:21:56 +08:00
Max
a80393dee5
[add] sui preview render api and fix page build bug
2023-12-13 18:23:34 +08:00
Max
a5f4764a0c
[add] sui page build Add default Sid if not set
2023-12-06 13:45:06 +08:00
Max
b0e94e3d73
[add] sui page render (dev)
2023-11-23 17:16:51 +08:00
Max
01d4b49c33
[add] server rewrite support and fix api reload
2023-11-22 18:10:17 +08:00
Max
ef05990480
[add] sui page Compile
2023-11-22 11:37:08 +08:00
Max
0927a12735
[_]
2023-10-23 13:05:09 +08:00
Max
598cdf69a8
[add] sui api guard and support session vars
2023-10-23 13:00:17 +08:00
Max
dd4e72a557
[add] page build api
2023-10-10 21:34:32 +08:00
Max
9a088ce461
[add] page build interface
2023-10-10 21:12:53 +08:00