Commit graph

23 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
8371a8959f chore: Update go-colorable dependency to v0.1.14 and refactor expression execution
- Bump github.com/mattn/go-colorable from v0.1.13 to v0.1.14 in go.mod and go.sum.
- Refactor expression execution in pipe and core data handling to use a map for improved type safety.
2025-03-28 23:37:13 +08:00
Max
252e1793ac chore: Add empty expression helper and improve SUI Component element manipulation methods 2024-08-07 11:11:11 +08:00
Max
f6ae0cef47 [add] Empty expression helper 2024-08-07 11:08:25 +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
9101efb4b6 Refactor component initialization in SUI core 2024-07-22 20:37:51 +08:00
Max
69e0070b0a Refactor prop regex patterns and methods in SUI core 2024-07-19 16:08:00 +08:00
Max
9bae50b500 fix the bug in handling the replaceNodeUse attribute 2024-07-09 05:12:52 +08:00
Max
57e72a698d refactor: Copy slots in BuildAsComponent method 2024-07-07 00:51:07 +08:00
Max
6dcd704ea4 [add] Configuring SUI page caching to optimize static page loading speed 2024-06-27 20:02:03 +08:00
Max
a87bc73753 Update regular expressions in data.go 2024-01-17 19:17:42 +08:00
Max
f2f3fa354f Update regular expressions in data.go and parser.go 2024-01-17 15:17:04 +08:00
Max
e358cbb79d Update dependencies in go.mod file 2024-01-16 14:34:40 +08:00
Max
76d9811048 Add guard functionality and export page config 2024-01-03 18:03:27 +08:00
Max
5fba7cd41f [add]support for attributes in BuildForImport method 2023-12-17 15:17:21 +08:00
Max
38f4f3fd23 [add] sui import page support (dev) 2023-12-09 00:16:29 +08:00
Max
5bce0f6081 [add] sui template global data support 2023-11-24 13:55:22 +08:00
Max
90f05a6ad9 [add] sui TemplateParser 2023-11-21 20:37:24 +08:00
Max
eaf17e2b27 [add] sui page fetch data 2023-11-20 13:20:02 +08:00
Max
7943453c46 [add] page preview api 2023-10-09 19:17:35 +08:00
Max
2f42e13c04 [add] editor render API 2023-09-28 10:11:01 +08:00
Max
d005a64786 [add] page RenderEditor 2023-09-27 17:44:45 +08:00