Commit Graph

1139 Commits

Author SHA1 Message Date
xzdry
96b3c98cad refactor(formcontrol): restore the grid layout properties of fromcontrol 2022-05-16 09:58:29 +08:00
xzdry
40e5af4f06 feat(link): add default status 2022-05-16 09:52:38 +08:00
xzdry
6c8b1b678d feat: add arco slider component 2022-05-16 09:51:14 +08:00
Yanzhen Yu
f03641b8e2 update the collapse component impl 2022-05-15 16:19:39 +08:00
Yanzhen Yu
dd9d032774 refine slotElements interface to avoid re-mount 2022-05-15 11:09:52 +08:00
Bowen Tan
7626c3c28a use concat method when merging customStyles 2022-05-13 17:37:40 +08:00
MrWindlike
7c463749e7 feat: avoid the unnecessary render when the selected component changes 2022-05-13 17:03:13 +08:00
MrWindlike
c6c5fae8b2 fix: don't scroll the tree item to top when clicking it 2022-05-13 17:03:07 +08:00
MrWindlike
67fb8a0065 feat: improve the editor's performance
avoid the unnecessary render and add the lazy load to some widgets
2022-05-13 17:02:50 +08:00
Yanzhen Yu
cc41138c8e memomize slotElements to avoid extra re-mount 2022-05-13 01:31:19 +08:00
Bowen Tan
d251c480c8 Publish
- @sunmao-ui/arco-lib@0.2.0-alpha.1
 - @sunmao-ui/chakra-ui-lib@0.4.0-alpha.1
 - @sunmao-ui/core@0.6.0-alpha.1
 - @sunmao-ui/editor-sdk@0.2.0-alpha.1
 - @sunmao-ui/editor@0.6.0-alpha.1
 - @sunmao-ui/runtime@0.6.0-alpha.1
 - @sunmao-ui/shared@0.1.0-alpha.1
2022-05-12 12:23:10 +08:00
Bowen Tan
6900206dff add keywork name to ajv 2022-05-12 12:17:49 +08:00
Yanzhen Yu
3781cecf1f adapt new slots spec in editor 2022-05-12 11:52:25 +08:00
Yanzhen Yu
74bfc5ebf4 migrate all in-tree components to the new slot spec 2022-05-12 11:52:22 +08:00
Yanzhen Yu
9b4cf9be0c impl #388, support slot props and apply to tabs component 2022-05-12 11:51:26 +08:00
tanbowensg
24e7b87c89
Merge pull request #398 from webzard-io/feat/arco
fix some bugs
2022-05-12 10:24:50 +08:00
xzdry
e7a8b5954d fix: fixed the bug where repeatedly clicking on the currently edited application would cause the stateManager's store to be cleared 2022-05-12 10:02:00 +08:00
xzdry
c03707ec41 improve: keep the scroll bar of each panel of explore menu tabs independent 2022-05-12 09:46:04 +08:00
xzdry
2cfd2516ac fix(tabs): add setActiveTab methods 2022-05-12 09:40:51 +08:00
Bowen Tan
56712f18ad Publish
- @sunmao-ui/arco-lib@0.2.0-alpha.0
 - @sunmao-ui/chakra-ui-lib@0.4.0-alpha.0
 - @sunmao-ui/core@0.6.0-alpha.0
 - @sunmao-ui/editor-sdk@0.2.0-alpha.0
 - @sunmao-ui/editor@0.6.0-alpha.0
 - @sunmao-ui/runtime@0.6.0-alpha.0
 - @sunmao-ui/shared@0.1.0-alpha.0
2022-05-10 17:50:20 +08:00
Bowen Tan
67f7f683c6 Merge branch 'main' into publish
* main: (24 commits)
  set the default value of debugStore and debugEvent to be false
  fix test
  feat: scroll the tree item into view when select the component
  fix: switch the scale buttons
  fix: improve the expression result display
  refactor init functions parameters
  feat: add the `clear` method to the fetch trait
  feat(tree): add onSelect events
  fix: correct splicing url
  fix(module): change the widget of property to display correct
  fix: select component to add non-empty judgement
  fix: change the import path
  fix: fix the changing api form's tab problem
  fix: fix the datasource update problems
  chore: make the data type datasource informations as constants
  chore: use the enum to replace the constants
  chore: change `GLOBAL_UTILS_ID` to `GLOBAL_UTIL_METHOD_ID`
  feat: add transformer trait
  chore: use the constant as the widget name
  chore: export `RegistryInterface` instead of `Registry`
  ...

# Conflicts:
#	packages/arco-lib/package.json
#	packages/editor-sdk/package.json
#	packages/editor/package.json
#	packages/runtime/package.json
2022-05-10 17:33:42 +08:00
tanbowensg
4dd67e7d31
Merge pull request #395 from webzard-io/fix/windlike-patch
Fix/windlike patch
2022-05-10 17:08:21 +08:00
yz-yu
2048d3047e
Merge pull request #394 from webzard-io/refactor/init-function
refactor init functions' parameters
2022-05-10 14:08:25 +08:00
tanbowensg
e8988aa8a1
Merge pull request #392 from webzard-io/feat/arco
fix some bugs
2022-05-10 14:03:16 +08:00
Bowen Tan
f088608fe9 set the default value of debugStore and debugEvent to be false 2022-05-10 14:02:08 +08:00
Bowen Tan
56b22d81e8 fix test 2022-05-10 13:56:43 +08:00
MrWindlike
40813e06bc feat: scroll the tree item into view when select the component 2022-05-10 11:32:20 +08:00
MrWindlike
ece9a427b6 fix: switch the scale buttons 2022-05-10 10:33:53 +08:00
MrWindlike
357b233897 fix: improve the expression result display 2022-05-10 10:19:15 +08:00
Bowen Tan
a6c76f0d24 refactor init functions parameters 2022-05-09 18:51:45 +08:00
MrWindlike
f89cf583b2 feat: add the clear method to the fetch trait 2022-05-09 15:35:50 +08:00
xzdry
51dfc2bbc6 Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-05-09 15:09:27 +08:00
MrWindlike
302ab28abc Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/transformer 2022-05-09 10:30:25 +08:00
xzdry
03f918032b feat(tree): add onSelect events 2022-05-07 18:20:32 +08:00
xzdry
9a45ec04dc fix: correct splicing url 2022-05-07 16:21:45 +08:00
xzdry
d7e36e35f9 fix(module): change the widget of property to display correct 2022-05-07 16:09:00 +08:00
xzdry
59f2554910 fix: select component to add non-empty judgement 2022-05-07 16:05:09 +08:00
xzdry
cecf2fddb8 fix: change the import path 2022-05-07 11:04:37 +08:00
MrWindlike
0c3016c29a fix: fix the changing api form's tab problem 2022-05-06 15:34:51 +08:00
MrWindlike
ea5c930e83 fix: fix the datasource update problems 2022-05-06 15:18:33 +08:00
MrWindlike
0da6af815a chore: make the data type datasource informations as constants 2022-05-06 15:18:10 +08:00
MrWindlike
47d8d11901 chore: use the enum to replace the constants 2022-05-05 22:44:56 +08:00
MrWindlike
71d9c81cb3 chore: change GLOBAL_UTILS_ID to GLOBAL_UTIL_METHOD_ID 2022-05-05 17:35:10 +08:00
MrWindlike
e55820be71 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/shared 2022-05-05 17:32:23 +08:00
MrWindlike
12faf330f3 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/transformer 2022-05-05 17:28:20 +08:00
MrWindlike
ff056772dd feat: add transformer trait 2022-05-05 17:15:35 +08:00
Bowen Tan
3b14a36148 Publish
- @sunmao-ui/arco-lib@0.1.9
 - @sunmao-ui/chakra-ui-lib@0.3.9
 - @sunmao-ui/core@0.5.6
 - @sunmao-ui/editor-sdk@0.1.10
 - @sunmao-ui/editor@0.5.10
 - @sunmao-ui/runtime@0.5.8
2022-04-29 17:16:17 +08:00
yz-yu
df14fe5e1f
Merge pull request #387 from webzard-io/improve-ui
Improve UI Style
2022-04-29 14:10:59 +08:00
Bowen Tan
5dd5e6885d auto select first component when app first renders 2022-04-29 10:59:38 +08:00
Bowen Tan
b291089c62 improve left tree style 2022-04-28 19:06:13 +08:00
Bowen Tan
ef5b5873c0 add code mode modal 2022-04-28 17:21:24 +08:00
xzdry
632e20ff97 improve core stack component 2022-04-27 14:00:46 +08:00
xzdry
36ef824714 change some property title 2022-04-27 11:18:57 +08:00
xzdry
1416699bc8 Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-04-27 09:18:49 +08:00
xzdry
67d843e319 feat: add grid components and remove the layout property of formcontrol 2022-04-26 21:07:02 +08:00
xzdry
4eb334a5d1 fix: improve timeline property and make the state of treeSelect correct 2022-04-26 17:04:03 +08:00
xzdry
5be9a68f6d feat(table): add onRowClick event 2022-04-26 16:46:45 +08:00
xzdry
1a4b6ee713 remove form and using conditional rendering improve table property 2022-04-26 16:36:59 +08:00
MrWindlike
4d54d8a4c2 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/shared 2022-04-26 15:59:18 +08:00
tanbowensg
f70feb15ab
Merge pull request #384 from webzard-io/refactor/localstorage
refactor localstorage trait
2022-04-26 15:40:35 +08:00
MrWindlike
f304529899 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/shared 2022-04-26 14:09:17 +08:00
xzdry
b3a2d62f8a fix: make the value of mergeState up-to-date & fix ref reference error 2022-04-26 11:36:31 +08:00
Bowen Tan
aad0600d92 fix tests && hasUnmount -> beforeRender 2022-04-26 11:35:53 +08:00
MrWindlike
f000c653fb chore: use the constant as the widget name 2022-04-26 10:44:23 +08:00
xzdry
c6ae78b1e9 refactor localstorage trait 2022-04-26 09:48:55 +08:00
Bowen Tan
56e14a0524 improve code style 2022-04-25 18:08:16 +08:00
Bowen Tan
68fb739ed3 add unmount trait annotation 2022-04-25 17:32:51 +08:00
Bowen Tan
79cab1d333 complete hidden 2022-04-25 17:32:51 +08:00
Bowen Tan
0da51400bc add HiddenImplWrapper 2022-04-25 17:32:51 +08:00
MrWindlike
d0da83c546 chore: export RegistryInterface instead of Registry 2022-04-25 17:18:42 +08:00
MrWindlike
e881722aa7 chore: improve the fetch trait 2022-04-25 17:01:03 +08:00
MrWindlike
ee73f0fe25 fix: change the wrong traits' names 2022-04-25 17:00:35 +08:00
MrWindlike
d8dc5d4a6e chore: use the constants as the component names 2022-04-25 16:38:08 +08:00
MrWindlike
bc2b9ae154 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/shared 2022-04-25 16:36:08 +08:00
MrWindlike
3903fdc6f7 feat: add @sunmao-ui/shared 2022-04-25 16:15:46 +08:00
xzdry
093abf0108 refactor: improve select and radio 2022-04-25 14:38:16 +08:00
xzdry
fc15befa56 feat: improve progress and add animation property 2022-04-25 13:20:31 +08:00
xzdry
79168b6eda refactor: improve popover and tooltip 2022-04-25 13:19:36 +08:00
xzdry
d37986a19d feat: optimise modal and pagination 2022-04-25 13:17:55 +08:00
xzdry
a49e7d0d53 feat: add events to mentions & add defaultOpen property to modal 2022-04-24 18:42:08 +08:00
xzdry
b127c703e9 feat: add events to input components 2022-04-24 17:44:38 +08:00
xzdry
a03489e2c8 feat: add image group & optimise dropdown 2022-04-24 16:46:39 +08:00
Bowen Tan
134180ac95 fix: component does not change after its traits being modified in editor 2022-04-24 16:24:05 +08:00
Bowen Tan
05e0ad34aa add clear functions to componentDidUpdate and componentDidMount 2022-04-24 16:04:10 +08:00
xzdry
0efb3824ea Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-04-24 13:37:20 +08:00
xzdry
c83a1bf4ac feat: add descriptions component & add dropdown demo 2022-04-24 13:17:01 +08:00
Bowen Tan
63af70dccb improve code style 2022-04-22 18:30:00 +08:00
Bowen Tan
f74040cc50 add useUnmount and useUpdate 2022-04-22 18:00:55 +08:00
Bowen Tan
8964ffd45e improve merge trait result method 2022-04-22 17:14:52 +08:00
Bowen Tan
0edbfdb6e7 Merge branch 'main' into feat/new-trait
* main:
  Publish
  fix: fix changing wrong tab when drag the component
  feat: add refresh button

# Conflicts:
#	packages/runtime/src/components/_internal/ImplWrapper.tsx
#	packages/runtime/src/components/core/Dummy.tsx
#	packages/runtime/src/traits/core/State.tsx
#	packages/runtime/src/types/trait.ts
2022-04-22 16:33:36 +08:00
Bowen Tan
2a9fc72c59 Publish
- @sunmao-ui/arco-lib@0.1.8
 - @sunmao-ui/chakra-ui-lib@0.3.8
 - @sunmao-ui/core@0.5.5
 - @sunmao-ui/editor-sdk@0.1.9
 - @sunmao-ui/editor@0.5.9
 - @sunmao-ui/runtime@0.5.7
2022-04-21 17:53:12 +08:00
MrWindlike
a66f95cfc1 fix: fix changing wrong tab when drag the component 2022-04-21 10:25:10 +08:00
MrWindlike
b64777f1ca Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch 2022-04-21 10:23:27 +08:00
Bowen Tan
487d810156 refactor ImplWrapper 2022-04-20 18:56:29 +08:00
Bowen Tan
882581a8b6 wip: disable hidden trait wrapper 2022-04-20 16:50:09 +08:00
Bowen Tan
9542720895 move hooks into ImplWrapper 2022-04-20 11:18:51 +08:00
Bowen Tan
89777796c1 add lifecycle hooks 2022-04-18 17:25:29 +08:00
xzdry
1ae52e24ca feat: add divider demo & add new properties to collapse 2022-04-18 10:53:10 +08:00
xzdry
8e8eebb9c7 refactor: make type safe 2022-04-15 17:56:05 +08:00
Bowen Tan
a14b6ed1e3 add HiddenImplWrapper 2022-04-15 17:19:37 +08:00
xzdry
d1312f4d2d refactor(collapse): remove collapseItem component & make type safe 2022-04-15 16:43:21 +08:00
xzdry
9caf29b74a fix(checkbox):fix the bug that events are displayed incorrectly and setCheckedValues does not work 2022-04-15 16:40:20 +08:00
yz-yu
6051753393
Merge pull request #369 from webzard-io/feat/module
Recover explorer and fix module's bugs
2022-04-15 11:57:40 +08:00
tanbowensg
c6975f6a9e
Merge pull request #376 from webzard-io/feat/fetch-trait
Remove hasFetched in fetch trait and add disabled property
2022-04-15 10:28:35 +08:00
tanbowensg
f74b5bfccf
Merge pull request #378 from webzard-io/feat/arco
Feat/arco
2022-04-15 10:28:11 +08:00
xzdry
7267ad4992 add uiProps to initSunmaoEditor 2022-04-14 18:00:16 +08:00
Bowen Tan
f280d54fa8 Merge branch 'main' into feat/module
* main:
  fix: deep make value to be undefined when eval errors
  fix: Not evaled when it isn't an expression
  fix(sdk): display key when property spec has no title

# Conflicts:
#	packages/runtime/src/components/_internal/ModuleRenderer.tsx
#	packages/runtime/src/services/StateManager.ts
2022-04-14 17:34:00 +08:00
Bowen Tan
dfb86b3102 Merge branch 'main' into feat/fetch-trait
* main:
  fix: deep make value to be undefined when eval errors
  fix: Not evaled when it isn't an expression
  fix(sdk): display key when property spec has no title

# Conflicts:
#	packages/runtime/src/components/_internal/ImplWrapper.tsx
2022-04-14 17:06:10 +08:00
xzdry
af04c66ace format 2022-04-14 11:06:01 +08:00
Bowen Tan
13a5894be3 remove hasFetched in fetch trait and add disabled property 2022-04-13 17:58:41 +08:00
Bowen Tan
d4d3309c04 Merge branch 'main' into feat/module
* main:
  let tooltip show on top of modal
  fix schema editor width
  feat(table): add ellipsis and change column width functions
  pref: use re-resizable instead of react-resizable

# Conflicts:
#	packages/editor/src/components/Editor.tsx
2022-04-13 17:44:40 +08:00
Bowen Tan
b36927778c remove move fetch component to the end logic 2022-04-13 17:36:39 +08:00
xzdry
b738f85cc6 feat(badge): use conditional rendering 2022-04-13 17:18:40 +08:00
xzdry
f1ea2edbd2 refactor: refactor the alert component and add events to the alert and avatar components 2022-04-13 16:34:50 +08:00
MrWindlike
99c5c9abcb Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-04-13 16:14:37 +08:00
MrWindlike
6fe611bbaa Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch 2022-04-13 15:48:09 +08:00
MrWindlike
2ffb4cc84b feat: add refresh button 2022-04-13 15:43:50 +08:00
xzdry
dc463c2651 keep mounted of tab panels' content when not active 2022-04-13 13:18:39 +08:00
Bowen Tan
40466ce565 fix can not delete module bug 2022-04-13 11:23:02 +08:00
Yanzhen Yu
d2b6b189a0 let tooltip show on top of modal 2022-04-13 00:59:11 +08:00
Yanzhen Yu
4579029dd6 fix schema editor width 2022-04-13 00:58:57 +08:00
MrWindlike
62a7932a37 Merge branch 'fix/windlike-patch' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-04-11 10:26:04 +08:00
MrWindlike
462db2b8d5 fix: deep make value to be undefined when eval errors 2022-04-11 10:12:57 +08:00
xzdry
178de9c1f3 Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/arco 2022-04-11 09:33:58 +08:00
Bowen Tan
370ca60d52 add ignoreError param to evalExp function 2022-04-08 12:12:45 +08:00
Bowen Tan
dfce6b7594 Merge branch 'main' into feat/module
* main:
  fix: fix the `CategoryWidget` errors
  refactor avatar component
  Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch
  chore: fix the eslint errors
  feat: improve the event form performance
  feat: make event handlers collapsable
  feat: add handlers sort
  chore: rename variable
  chore: change widgets' name
  chore(arco): change var names from `schema` to `spec`
  chore: change some var names from `schema` to `spec`
  feat(expression): improve the codes
  feat: console the expression errors in `deepEval`
  feat: console the expression errors
  fix: remove the stateManager from the schema validator
  feat: improve the form performance
  style: fix the KeyValueWidth style when string too long
  feat: handle the expression errors

# Conflicts:
#	packages/runtime/src/components/_internal/ModuleRenderer.tsx
#	packages/runtime/src/services/StateManager.ts
2022-04-08 11:17:22 +08:00
MrWindlike
b9da57c8ad fix: Not evaled when it isn't an expression 2022-04-08 11:09:03 +08:00
tanbowensg
e3f7c4ea62
Merge pull request #370 from webzard-io/feat/handler-sort
Feat/handler sort
2022-04-08 10:59:21 +08:00
MrWindlike
1850625d98 fix: fix the CategoryWidget errors 2022-04-08 10:57:18 +08:00
tanbowensg
da07bd7c84
Merge pull request #371 from webzard-io/feat/avatar
refactor avatar component
2022-04-08 10:45:01 +08:00
MrWindlike
1bedbfdf02 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/handler-sort 2022-04-08 10:42:25 +08:00
xzdry
f802302f5a Merge branch 'main' of github.com:webzard-io/sunmao-ui into feat/avatar 2022-04-08 10:08:58 +08:00
xzdry
49cbe94781 refactor avatar component 2022-04-08 10:02:46 +08:00
MrWindlike
bb93949b8e Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/handler-sort 2022-04-08 09:35:04 +08:00
MrWindlike
203b78d086 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/windlike-patch 2022-04-07 18:06:47 +08:00
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