Max
8371a8959f
chore: Update go-colorable dependency to v0.1.14 and refactor expression execution
...
- Bump github.com/mattn/go-colorable from v0.1.13 to v0.1.14 in go.mod and go.sum.
- Refactor expression execution in pipe and core data handling to use a map for improved type safety.
2025-03-28 23:37:13 +08:00
Max
e59dacefa2
Improve error handling in request value execution
...
- Modify request value execution to log errors when method calls fail
- Prevent propagation of errors during value resolution
- Update error message in data merging to be more descriptive
2025-03-06 10:48:27 +08:00
Max
68a97a48e6
Update URL handling in request data to use mapped URL
2024-12-03 16:21:52 +08:00
Max
35911de0ea
Enhance SEO metadata handling by adding keywords support and fixing og:title attribute syntax
2024-11-29 11:12:37 +08:00
Max
3074a8e432
libsui $Query class to support multiple elements in constructor
2024-10-09 11:26:37 +08:00
Max
ce4d775981
Optimize libsui error reporting
2024-10-01 07:41:21 +08:00
Max
574c2aad82
fix sui dynamic components render bug
2024-09-30 18:42:42 +08:00
Max
371490360e
fix misspelling
2024-09-30 17:07:29 +08:00
Max
369d6cc4d8
fix sui dynamic components import bug
2024-09-30 17:02:24 +08:00
Max
896e52a52a
Fix PublicRoot bug and get Sid from request
2024-09-25 08:25:37 +08:00
Max
ddb337847e
Refactor request guard to include page backend script execution
2024-09-24 08:00:05 +08:00
Max
67ad169bf5
Refactor dynamic component parsing in SUI core
2024-09-11 09:24:34 +08:00
Max
fb6518e91f
Fix the bug in real-time rendering mode
2024-09-10 16:29:15 +08:00
Max
0a21780473
Refactor component attribute handling to support spread operator and real-time rendering mode
2024-09-10 09:23:10 +08:00
Max
72542dab79
chore: Merge user data into payload in SUI libsui index.ts
2024-09-03 18:15:12 +08:00
Max
07353d0084
Add s:route attribute to real time render components
2024-09-03 17:40:31 +08:00
Max
d00b62caf1
Refactor event binding in SUI core to support just-in-time mode
2024-09-02 18:28:16 +08:00
Max
db033a10fd
[add] SUI real-time rendering mode supports event binding (page event only)
2024-09-02 17:04:22 +08:00
Max
a3d2baef40
Refactor component attribute handling to support spread operator
2024-08-30 10:42:25 +08:00
Max
219f71b00e
chore: Refactor TemplateRender to handle optional request parameters
2024-08-23 12:20:33 +08:00
Max
02651085d7
Improve SUI TemplateRender
2024-08-10 19:34:36 +08:00
Max
ce96d89c31
Improve SUI TemplateRender
2024-08-10 18:12:32 +08:00
Max
0f6bc06172
fix render public root bug
2024-08-10 17:18:35 +08:00
Max
80779bb0fc
[feat] add SUI template.render process
2024-08-10 16:58:38 +08:00
Max
f531b32634
Improve SUI Component element manipulation methods and add queryAll method
2024-08-08 18:57:47 +08:00
Max
38884a7b0c
Improve SUI Component element manipulation methods and add queryAll method
2024-08-07 17:42:16 +08:00
Max
ae5e60aefa
chore: Improve SUI Component element manipulation methods and add empty expression helper
2024-08-07 15:52:58 +08:00
Max
252e1793ac
chore: Add empty expression helper and improve SUI Component element manipulation methods
2024-08-07 11:11:11 +08:00
Max
f6ae0cef47
[add] Empty expression helper
2024-08-07 11:08:25 +08:00
Max
c5cf0babf9
Refactor component initialization script to include injected code
2024-08-07 11:02:43 +08:00
Max
f44021d582
chore: improve SUI Component element manipulation methods
2024-08-06 20:10:48 +08:00
Max
d61ebadf43
chore: improve SUI Component element manipulation methods
2024-08-06 18:49:21 +08:00
Max
3bacc297cf
chore: Fix error handling in Run function and improve page config loading
2024-08-06 16:31:56 +08:00
Max
fba0a865dc
chore: Update __Query class to return null when no element is found
2024-08-06 16:03:00 +08:00
Max
ad7954dbb2
chore: Update cacheStore field name in PageSetting struct
2024-08-06 14:48:12 +08:00
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
9977b62a09
[feat] SUI $backend function call supports custom Guard
2024-08-05 08:32:59 +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
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