Commit graph

1781 commits

Author SHA1 Message Date
Max
2a19ef857b chore: Update __Query class to accept both string and Element types for selector 2024-08-06 09:31:36 +08:00
Max
197b155280 chore: Update __Query class to accept both string and Element types for selector 2024-08-05 16:29:45 +08:00
Max
bd6999745d chore: Refactor __Query class to improve element manipulation methods 2024-08-05 15:21:55 +08:00
Max
e0dd59c180 chore: Add new methods to __Query class for element manipulation 2024-08-05 15:19:57 +08:00
Max
b25ddd6a53 Update Makefile to include sui/libsui in artifact generation 2024-08-05 09:13:34 +08:00
Max
9977b62a09 [feat] SUI $backend function call supports custom Guard 2024-08-05 08:32:59 +08:00
Max
1ce87a1eb3
Merge pull request #729 from yflau/main
return 401 for invalid token
2024-08-05 06:53:05 +08:00
yflau
c35d623fc8 Merge branch 'main' of https://github.com/yflau/yao 2024-08-04 14:32:18 +08:00
yflau
1ac37b048f return 401 for invalid token 2024-08-04 12:54:05 +08:00
Max
19ff6c7b5d
Merge pull request #728 from trheyi/main
Optimize $backend function call
2024-08-04 11:45:04 +08:00
Max
d170ab6e53 Optimize $backend function call 2024-08-04 11:40:15 +08:00
Max
346a310eb6
Merge pull request #727 from trheyi/main
[feat] Add $Backend function call to directly invoke backend functions from frontend scripts.
2024-08-03 20:43:55 +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
d9769af569
Merge pull request #726 from trheyi/main
Add s:render feature for data update rendering
2024-08-03 19:04:55 +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
990ccce28c
Merge pull request #725 from trheyi/main
feat: Add sourceRoots configuration to app.yao, improve SUI backend script development experience
2024-08-01 19:22:47 +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
d372326af9
Merge pull request #724 from trheyi/main
Enhance runtime error stack trace output for better debugging
2024-08-01 17:19:01 +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
bdc97d334a
Merge pull request #723 from trheyi/main
feat: Add support for directory mapping from tsconfig in TS import
2024-07-31 14:41:18 +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
d997be63d2
Merge pull request #722 from trheyi/main
feat: Integrate AIGC & OpenAI with Moapi service
2024-07-30 18:12:48 +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
e29f9e8b01
Merge pull request #721 from trheyi/main
feat: add state propagation mechanism support to sui components
2024-07-30 11:19:38 +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
c449332906
Merge pull request #720 from trheyi/main
Refactor component event injection to handle missing event selectors
2024-07-30 06:33:00 +08:00
Max
271b494c59 Refactor component event injection to handle missing event selectors 2024-07-30 06:07:13 +08:00
Max
62c7b131fb
Merge pull request #719 from trheyi/main
Refactor component event injection to handle missing event selectors
2024-07-29 18:00:57 +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
5640fd4398
Merge pull request #718 from trheyi/main
Refactor slot cloning logic in build.go
2024-07-29 14:06:30 +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
df1e7935c6
Merge pull request #717 from trheyi/main
feat: Support component import and aliasing in SUI
2024-07-28 19:34:36 +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