Commit graph

13 commits

Author SHA1 Message Date
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
002f409e67 Optimize SUI variable parsing logic 2024-07-26 12:06:08 +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
276f29d777 [feat] SUI support BeforeRender hook for dataset processing, and deprecating the s:set method. 2024-07-25 17:56:40 +08:00
Max
8e8a0ac885 Fix trans passing bug in SUI components 2024-07-19 07:20:57 +08:00
Max
61f297b3dc optimize SUI page writeLocaleSource and writeLocaleFiles logic 2024-07-17 08:25:52 +08:00
Max
5b19ef3d19 refactor: Update BuildContext components to use boolean values instead of strings 2024-07-12 08:39:57 +08:00
Max
61205ced5f refactor i18n support 2024-07-11 20:20:36 +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
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