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
55e3a2b4dd
fix: Escape translation variables in SUI page parser
2024-07-16 10:43:43 +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
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
78d8d9fbc2
refactor: Update namespace handling in SUI page builder
2024-07-08 02:02:03 +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
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
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
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
6ff2ad2ead
[add] Generating language packs during SUI compilation
2024-06-27 17:15:36 +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
cb2f6e8748
Refactor attribute handling in build and parser functions
2024-01-10 14:51:16 +08:00
Max
669ccfb1e1
Refactor document creation in build.go and parser.go
2024-01-10 13:20:22 +08:00
Max
7f4b80d0c7
[fix] sui slot variables in data
2024-01-04 18:03:02 +08:00
Max
5031904964
Add asset path replacement in JavaScript and TypeScript code
2024-01-03 16:12:58 +08:00
Max
5fba7cd41f
[add]support for attributes in BuildForImport method
2023-12-17 15:17:21 +08:00
Max
5e3fc81d09
[add] sui page render wrapper option
2023-12-13 23:43:12 +08:00
Max
794cb3a215
[add] sui build process to include s:slots attribute for slot HTML
2023-12-11 19:11:07 +08:00
Max
0dde10caca
[fix] sui page style
2023-12-09 00:26:27 +08:00
Max
38f4f3fd23
[add] sui import page support (dev)
2023-12-09 00:16:29 +08:00
Max
46b20bb778
[add] sui build IgnoreDocument support
2023-11-29 21:29:44 +08:00
Max
b0d9631559
[add] sui editor render with mock request
2023-11-24 11:30:18 +08:00
Max
9a088ce461
[add] page build interface
2023-10-10 21:12:53 +08:00