Commit graph

1760 commits

Author SHA1 Message Date
Max
d170ab6e53 Optimize $backend function call 2024-08-04 11:40:15 +08:00
Max
8e47849e93 [feat] Add $Backend function call to directly invoke backend functions from frontend scripts. 2024-08-03 20:31:02 +08:00
Max
259b707ca8 Refactor utils.ts for improved code readability and maintainability 2024-08-03 18:57:29 +08:00
Max
eb4443ebe7 Refactor utils.ts to improve code readability and maintainability 2024-08-03 17:45:05 +08:00
Max
6f1f558ecd feat: Add source map URL to libsui.min.js for better debugging 2024-08-03 17:08:38 +08:00
Max
a2e5a52ad8 feat: Update event handling in sui/core to support event component names 2024-08-03 11:23:59 +08:00
Max
5514fea7ec feat: Add yao.ts to libsui for Pure JavaScript SDK 2024-08-03 08:52:05 +08:00
Max
5f5af44018 Optimize libsui js-sdk loading logic 2024-08-03 08:37:54 +08:00
Max
a07c1ece51 Add s:render feature for data update rendering (dev) 2024-08-02 21:18:02 +08:00
Max
743339d3d4 feat: Add Store function to utils in injections.go 2024-08-02 19:05:35 +08:00
Max
83e1081c9b feat: Update script loading to handle source root mapping from tsconfig.json 2024-08-01 19:11:27 +08:00
Max
44eb60377d Update file extensions for backend scripts 2024-08-01 18:43:15 +08:00
Max
fc1f80e0f5 feat: Add sourceRoots to Static struct in types.go 2024-08-01 18:16:59 +08:00
Max
681b3f9514 Enhance runtime error stack trace output for better debugging 2024-08-01 17:14:11 +08:00
Max
8be08bc791 chore: Update go-sourcemap/sourcemap dependency to v2.1.4+incompatible 2024-07-31 18:20:06 +08:00
Max
4a0a403e7e feat: Add testPrepare function for initializing test environment 2024-07-31 11:26:03 +08:00
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