Commit graph

73 commits

Author SHA1 Message Date
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