Commit Graph

904 Commits

Author SHA1 Message Date
MrWindlike
141f3b1b54 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch 2022-04-07 18:01:01 +08:00
MrWindlike
19c2b89809 chore: fix the eslint errors 2022-04-07 17:44:37 +08:00
MrWindlike
9beae266b6 feat: improve the event form performance 2022-04-07 17:43:29 +08:00
MrWindlike
99388ad587 feat: make event handlers collapsable 2022-04-07 17:01:58 +08:00
MrWindlike
04efd82f1d feat: add handlers sort 2022-04-07 16:40:41 +08:00
Bowen Tan
511fd33051 add comments 2022-04-07 15:38:48 +08:00
MrWindlike
0f0dc5827c chore: rename variable 2022-04-07 15:21:38 +08:00
MrWindlike
12c000add5 chore: change widgets' name 2022-04-07 15:15:01 +08:00
Bowen Tan
9efee4e512 fix module bug in list 2022-04-07 15:13:57 +08:00
MrWindlike
4c4efa1cca chore(arco): change var names from schema to spec 2022-04-07 15:10:15 +08:00
MrWindlike
05cf597854 chore: change some var names from schema to spec 2022-04-07 15:02:26 +08:00
MrWindlike
6306cc0340 feat(expression): improve the codes 2022-04-07 14:37:55 +08:00
MrWindlike
388429aa25 feat: console the expression errors in deepEval 2022-04-07 09:14:57 +08:00
MrWindlike
2727dd5716 feat: console the expression errors 2022-04-06 22:46:47 +08:00
MrWindlike
20552960f5 fix: remove the stateManager from the schema validator 2022-04-06 22:40:03 +08:00
Bowen Tan
131bedd97c fix: module will add duplicated moduleId after save meta data 2022-04-06 19:24:03 +08:00
Bowen Tan
0e251fe986 fix moduleContainer mask bug 2022-04-06 17:28:50 +08:00
Bowen Tan
d593a1b2e2 recover explorer 2022-04-06 17:28:34 +08:00
xzdry
b76957da70 feat(table): add ellipsis and change column width functions 2022-04-06 14:12:50 +08:00
xzdry
af0b314a1f pref: use re-resizable instead of react-resizable 2022-04-06 13:39:42 +08:00
MrWindlike
ed9b2c1b7a feat: improve the form performance 2022-04-06 11:24:36 +08:00
MrWindlike
53c5bdb663 style: fix the KeyValueWidth style when string too long 2022-04-02 17:54:50 +08:00
MrWindlike
3d58314d38 feat: handle the expression errors 2022-04-02 16:30:34 +08:00
MrWindlike
badcb92401 feat: implement conditional render 2022-03-30 23:08:25 +08:00
MrWindlike
6eed3fc308 fix(sdk): display key when property spec has no title 2022-03-30 14:26:49 +08:00
xzdry
b6476c5a60 fix: fix incorrect width of tool menu 2022-03-29 13:40:42 +08:00
Yanzhen Yu
428630c1b3 Publish
- @sunmao-ui/arco-lib@0.1.7
 - @sunmao-ui/chakra-ui-lib@0.3.7
 - @sunmao-ui/editor-sdk@0.1.8
 - @sunmao-ui/editor@0.5.8
 - @sunmao-ui/runtime@0.5.6
2022-03-29 00:13:37 +08:00
yz-yu
7817abe300
Merge pull request #360 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-03-29 00:11:48 +08:00
MrWindlike
8887031539 fix: don't clear data when refetch 2022-03-28 18:11:00 +08:00
MrWindlike
7a85121e7a chore: add comments 2022-03-28 16:50:08 +08:00
MrWindlike
06dd2bc0c7 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-03-28 16:47:22 +08:00
MrWindlike
bf046a7d42 fix: eval the raw handler when trigger the events 2022-03-28 16:46:43 +08:00
MrWindlike
c2bdc7a880 fix: avoid the immer errors 2022-03-28 16:28:44 +08:00
xzdry
50f4545e10 add react-resizable to runtime 2022-03-28 15:14:30 +08:00
Yanzhen Yu
aaaf553a65 Publish
- @sunmao-ui/arco-lib@0.1.6
 - @sunmao-ui/chakra-ui-lib@0.3.6
 - @sunmao-ui/core@0.5.4
 - @sunmao-ui/editor-sdk@0.1.7
 - @sunmao-ui/editor@0.5.7
 - @sunmao-ui/runtime@0.5.5
2022-03-28 12:22:41 +08:00
xzdry
bbc484adf2 Merge branch 'main' of github.com:webzard-io/sunmao-ui into improve/xzdry-patch 2022-03-28 11:13:59 +08:00
xzdry
4249192936 feat(tree): add path state 2022-03-28 10:50:38 +08:00
xzdry
026ce4eade feat: add resize function to the menu 2022-03-28 10:49:57 +08:00
Bowen Tan
675ad0d505 Publish
- @sunmao-ui/arco-lib@0.1.5
 - @sunmao-ui/chakra-ui-lib@0.3.5
 - @sunmao-ui/editor-sdk@0.1.6
 - @sunmao-ui/editor@0.5.6
 - @sunmao-ui/runtime@0.5.4
2022-03-25 10:09:40 +08:00
Bowen Tan
d597f934ae Merge branch 'main' into publish
* main:
  trim expression before eval
  fix: add typebox into dependencies
  fix: hide the event type in the API form's handlers
  fix: move the fetch trait components to the last

# Conflicts:
#	packages/editor/package.json
2022-03-25 10:02:43 +08:00
tanbowensg
2a4d4d9dba
Merge pull request #351 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-03-25 09:59:11 +08:00
Bowen Tan
5d18607d3f trim expression before eval 2022-03-23 16:54:51 +08:00
MrWindlike
ed9905dd88 chore: add @sinclair/typebox to peerDependencies 2022-03-22 15:50:57 +08:00
MrWindlike
44e7eefa6e fix: add typebox into dependencies
prevent inject typebox's codes into production files
2022-03-21 11:25:48 +08:00
MrWindlike
16824e29f7 fix: hide the event type in the API form's handlers 2022-03-18 10:54:38 +08:00
MrWindlike
1b1df68fc9 fix: move the fetch trait components to the last
fetch trait executed unexpectedly when it depends on the state behind it
2022-03-18 10:52:44 +08:00
Bowen Tan
57b69914d3 Publish
- @sunmao-ui/arco-lib@0.1.4
 - @sunmao-ui/chakra-ui-lib@0.3.4
 - @sunmao-ui/editor-sdk@0.1.5
 - @sunmao-ui/editor@0.5.5
2022-03-18 09:52:12 +08:00
Bowen Tan
d7f3b7f11a Merge branch 'main' into publish
* main:
  chore: remove `renderField`
  fix: show the state type by real initial value
  feat: improve the trait form
  fix: change the expression styles
  fix: fix no event type in the event widget
  adjust the editor area
  feat(table): add row click
  feat: add the TableColumn widget

# Conflicts:
#	packages/chakra-ui-lib/package.json
2022-03-18 09:45:34 +08:00
tanbowensg
58156b8da3
Merge pull request #350 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-03-18 09:44:01 +08:00
MrWindlike
b85d3583c3 chore: remove renderField 2022-03-18 09:24:20 +08:00
MrWindlike
4b174d6f52 fix: show the state type by real initial value 2022-03-17 20:24:32 +08:00
MrWindlike
7d03a2dd51 feat: improve the trait form 2022-03-17 17:41:52 +08:00
MrWindlike
f7513c1a07 fix: change the expression styles 2022-03-17 15:31:54 +08:00
tanbowensg
250f9eea72
Merge pull request #348 from webzard-io/improve/xzdry-patch
improve table component and editor area
2022-03-17 11:46:01 +08:00
tanbowensg
91a393bac5
Merge pull request #347 from webzard-io/feat/custom-widget
feat: add the TableColumn widget
2022-03-16 17:08:28 +08:00
MrWindlike
726fca3815 fix: fix no event type in the event widget 2022-03-16 16:48:27 +08:00
xzdry
44b11cda6f adjust the editor area 2022-03-16 13:23:28 +08:00
xzdry
94d17f2643 feat(table): add row click 2022-03-16 13:19:51 +08:00
Bowen Tan
d72bd0c806 Publish
- @sunmao-ui/arco-lib@0.1.3
 - @sunmao-ui/chakra-ui-lib@0.3.3
 - @sunmao-ui/core@0.5.3
 - @sunmao-ui/editor-sdk@0.1.4
 - @sunmao-ui/editor@0.5.4
 - @sunmao-ui/runtime@0.5.3
2022-03-16 11:27:08 +08:00
MrWindlike
320e7ac6bb feat: add the TableColumn widget 2022-03-16 09:30:24 +08:00
tanbowensg
4f5b764c15
Merge pull request #346 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-03-15 16:09:27 +08:00
MrWindlike
7b92fe5030 fix: fix the crashing when the component id is wrong 2022-03-15 15:28:07 +08:00
MrWindlike
be4a9758d5 feat: add setValue method to localStorage trait 2022-03-15 15:26:43 +08:00
MrWindlike
733b965fd2 feat: support expression for API form's body 2022-03-15 15:05:46 +08:00
MrWindlike
b27bc72011 feat: improve the event and fetch traits
make the `disabled` can be expression
2022-03-15 13:44:27 +08:00
MrWindlike
f5fb8b9ffb fix: make the widgets change value correctly 2022-03-15 11:15:12 +08:00
Bowen Tan
d5f2e5bc5e Publish
- @sunmao-ui/arco-lib@0.1.2
 - @sunmao-ui/chakra-ui-lib@0.3.2
 - @sunmao-ui/core@0.5.2
 - @sunmao-ui/editor-sdk@0.1.3
 - @sunmao-ui/editor@0.5.3
 - @sunmao-ui/runtime@0.5.2
2022-03-10 18:39:08 +08:00
tanbowensg
e29e58dbb4
Merge pull request #344 from webzard-io/feat/custom-widget
fix: fix the widget change value wrong
2022-03-10 18:35:21 +08:00
MrWindlike
c41f533f8e fix: fix the widget change value wrong 2022-03-10 18:27:55 +08:00
tanbowensg
a08294d72e
Merge pull request #338 from webzard-io/feat/localstorage
feat: add localstorage to datasource
2022-03-10 17:10:20 +08:00
tanbowensg
a53744da49
Merge pull request #335 from webzard-io/feat/custom-widget
feat: add the popover widget
2022-03-10 17:07:11 +08:00
Bowen Tan
8e7ab37c7f Publish
- @sunmao-ui/arco-lib@0.1.1
 - @sunmao-ui/chakra-ui-lib@0.3.1
 - @sunmao-ui/core@0.5.1
 - @sunmao-ui/editor-sdk@0.1.2
 - @sunmao-ui/editor@0.5.2
 - @sunmao-ui/runtime@0.5.1
2022-03-10 10:55:53 +08:00
Bowen Tan
50a68c77f8 remove stack border and minHeight minWidth 2022-03-10 10:54:07 +08:00
MrWindlike
fe664a4005 feat: improve the display of API's response 2022-03-09 22:26:48 +08:00
MrWindlike
5f3e365225 chore(sdk): improve the codes 2022-03-09 20:20:02 +08:00
Bowen Tan
60ae70e4ea Publish
- @sunmao-ui/editor-sdk@0.1.1
 - @sunmao-ui/editor@0.5.1
2022-03-09 17:12:05 +08:00
Bowen Tan
be0b3f7a98 modify editor-sdk package.json 2022-03-09 17:09:27 +08:00
Bowen Tan
c2510d7767 Publish
- @sunmao-ui/arco-lib@0.1.0
 - @sunmao-ui/chakra-ui-lib@0.3.0
 - @sunmao-ui/core@0.5.0
 - @sunmao-ui/editor-sdk@0.1.0
 - @sunmao-ui/editor@0.5.0
 - @sunmao-ui/runtime@0.5.0
2022-03-09 17:02:14 +08:00
yz-yu
d1671d5f63
Merge pull request #329 from webzard-io/improve-arco
Improve arco components
2022-03-09 16:52:24 +08:00
tanbowensg
05275637db
Merge pull request #340 from webzard-io/fix/xzdry-patch
fix: fix tabs not displaying properly
2022-03-09 16:46:56 +08:00
xzdry
c571dc357b fix: fix tabs not displaying properly 2022-03-09 11:38:26 +08:00
yz-yu
ae5ee1a623
Merge pull request #339 from webzard-io/feat/form-type
show component type in form
2022-03-09 10:57:21 +08:00
Bowen Tan
6a8b2217a0 show component type in form 2022-03-09 10:49:37 +08:00
xzdry
04c68b77bc feat: add localstorage to datasource 2022-03-09 09:48:06 +08:00
MrWindlike
3770aa9e5d Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/custom-widget 2022-03-08 21:16:43 +08:00
tanbowensg
4c00b8b38c
Merge pull request #336 from webzard-io/feat/upload-file
Add FileInput Component
2022-03-08 18:14:37 +08:00
Yanzhen Yu
c414381563 fix stringify undefined value 2022-03-08 15:58:17 +08:00
Bowen Tan
d6490a7788 improve input & select 2022-03-08 14:54:41 +08:00
Bowen Tan
6c96da9722 imporve checkbox & radio 2022-03-08 14:54:39 +08:00
Bowen Tan
1159ef3ee1 add default style for stack 2022-03-08 14:51:23 +08:00
Bowen Tan
07d4f3a48e improve FileInput 2022-03-08 14:21:33 +08:00
Bowen Tan
74081ea612 implement FileUploader & fetch trait supports bodyType 2022-03-08 14:12:19 +08:00
MrWindlike
8ff97f2190 feat: add the popover widget 2022-03-08 13:57:40 +08:00
MrWindlike
8ad33d6938 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/custom-widget 2022-03-07 19:04:23 +08:00
MrWindlike
4eca2c342c fix: fix some widgets' problems 2022-03-07 18:52:32 +08:00
yz-yu
797db6bde1
Merge pull request #332 from webzard-io/feat/trait-factory
add TraitImplFactory
2022-03-07 18:37:04 +08:00
Bowen Tan
8acdefa4a5 improve editor mask label 2022-03-07 16:07:18 +08:00
Bowen Tan
b19010e9ae add TraitImplFactory 2022-03-07 14:42:33 +08:00
MrWindlike
5ec71b1fcd Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/custom-widget 2022-03-07 11:19:41 +08:00
xzdry
326f692821 fix: fix a bug where two updates to the store do not trigger a view refresh 2022-03-07 10:05:46 +08:00