Commit graph

1744 commits

Author SHA1 Message Date
Max
a0729bbde0 feat: Improve tsconfig.json import handling in runtime.Start function 2024-07-31 11:20:04 +08:00
Max
42b42e1134 feat: Add support for directory mapping from tsconfig in TypeScript import 2024-07-31 11:11:22 +08:00
Max
f451eb12a8 feat: add utils.fmt.Printf and utils.fmt.ColorPrintf 2024-07-30 17:44:17 +08:00
Max
953d592669 feat: Integrate AIGC & OpenAI with Moapi service 2024-07-30 16:59:13 +08:00
Max
db397f8cda feat: add state propagation mechanism support to sui components 2024-07-30 10:52:13 +08:00
Max
0870332e8b Add $utils object in libsui for enhanced utility functions 2024-07-30 09:33:43 +08:00
Max
271b494c59 Refactor component event injection to handle missing event selectors 2024-07-30 06:07:13 +08:00
Max
a8d151993e Refactor component event injection to handle missing event selectors 2024-07-29 17:34:13 +08:00
Max
dc3c637c5e Refactor component event injection to handle missing event selectors 2024-07-29 16:46:21 +08:00
Max
a91e47b072 Refactor template build tests to use advanced template in sui/storages/local/build_test.go 2024-07-29 13:56:55 +08:00
Max
b6e2d3ae8e Refactor slot cloning logic in build.go 2024-07-29 11:46:09 +08:00
Max
4c5278938c Refactor SUI core to improve import parsing and aliasing 2024-07-28 19:27:16 +08:00
Max
1763a4f2e7 feat: Support component import and aliasing in SUI 2024-07-28 19:16:02 +08:00
Max
93d36b7f03 Optimize SUI core to parse imports and set namespace attribute 2024-07-28 17:55:47 +08:00
Max
9469424b65
Merge pull request #716 from trheyi/main
Optimize SUI component property parsing
2024-07-27 17:11:42 +08:00
Max
76d0dde315 Optimize SUI component property parsing 2024-07-27 17:03:48 +08:00
Max
2efe1b5836
Merge pull request #715 from trheyi/main
Optimize SUI core to load script with disableCache option
2024-07-27 11:20:06 +08:00
Max
5050443e63 Optimize SUI core to load script with disableCache option 2024-07-27 10:28:17 +08:00
Max
99a77fdd8e Optimize SUI core to copy json-attr- to the prop in newJitComponentSel function 2024-07-27 10:14:13 +08:00
Max
7f41be9a70
Merge pull request #714 from trheyi/main
Optimize SUI core to copy json-attr- to the prop in newJitComponentSe…
2024-07-27 08:12:11 +08:00
Max
40ecbde86b Optimize SUI core to copy json-attr- to the prop in newJitComponentSel function 2024-07-27 08:06:04 +08:00
Max
dbf2be8ce8
Merge pull request #713 from trheyi/main
Optimize SUI frontend and backend script data sharing
2024-07-26 19:43:15 +08:00
Max
89957a9405 Optimize SUI JIT mode component parsing logic 2024-07-26 19:36:48 +08:00
Max
6bcede11d9 Refactor SUI core to handle backend script errors during page execution 2024-07-26 16:02:35 +08:00
Max
602333bd02 Optimize SUI frontend and backend script data sharing 2024-07-26 15:25:04 +08:00
Max
5e68c0f6fe
Merge pull request #712 from trheyi/main
Optimize SUI variable parsing logic
2024-07-26 12:14:58 +08:00
Max
002f409e67 Optimize SUI variable parsing logic 2024-07-26 12:06:08 +08:00
Max
e866243cf2
Merge pull request #711 from trheyi/main
Optimize expression parsing in SUI
2024-07-26 10:09:00 +08:00
Max
43e37fbfe4 Optimize expression parsing in SUI 2024-07-26 10:01:41 +08:00
Max
b6c5c0fd31 Refactor SUI core to set attribute values in parseProps function 2024-07-26 08:03:23 +08:00
Max
e7290f7f27
Merge pull request #710 from trheyi/main
[feat] SUI supports calling from backend functions
2024-07-25 19:24:18 +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
cd08013bfe
Merge pull request #709 from trheyi/main
[feat] SUI backend script support
2024-07-25 18:14:24 +08:00
Max
0dbdc0b99b Refactor SUI core to conditionally append page components in Compile function 2024-07-25 18:05:21 +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
8b93c3b219 Refactor SUI core to remove unnecessary code in BuildScripts function 2024-07-25 16:14:40 +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
d562591c84
Merge pull request #708 from trheyi/main
Refactor SUI core to load backend scripts for templates
2024-07-25 10:17:56 +08:00
Max
9418133b32 Refactor SUI core to load backend scripts for templates 2024-07-25 10:10:54 +08:00
Max
79ef52eaf9
Merge pull request #707 from trheyi/main
[add] SUI README
2024-07-24 19:25:27 +08:00
Max
8d375e2222 chore: Refactor SUI core to use lazy loading for the SUI library 2024-07-24 19:23:46 +08:00
Max
a8c37e78a4 Refactor page test to check for minimum number of pages and children 2024-07-24 17:04:25 +08:00
Max
13a98b8ad7
Merge pull request #706 from trheyi/main
Optimize error handling in SUI core build and compile functions
2024-07-24 08:41:30 +08:00
Max
8269dcf6f3 chore: Add warning messages for SUI core watch command 2024-07-24 08:28:47 +08:00
Max
1257337765 fix error handling in SUI core tests 2024-07-24 08:26:24 +08:00
Max
47064422a9 Optimize error handling in SUI core build and compile functions 2024-07-24 08:15:50 +08:00
Max
4823402e99
Merge pull request #705 from trheyi/main
Refactor event handler variable name in SUI core
2024-07-23 10:56:15 +08:00
Max
80239284de Refactor event handler variable name in SUI core 2024-07-23 10:41:48 +08:00
Max
5ec63f61ca
Merge pull request #704 from trheyi/main
Refactor SUI core to use dynamic loading for the SUI library
2024-07-23 08:19:10 +08:00