667 Commits

Author SHA1 Message Date
Bowen Tan
d618d8bd6d add utilMethods to sunmaoLib & implement chakra toast as utilMethod of lib 2022-01-24 11:41:25 +08:00
Bowen Tan
5ad0d6fea5 refactor operationManager with appModel 2022-01-21 16:14:36 +08:00
Bowen Tan
5a89419c5c replace manager 2022-01-21 16:14:09 +08:00
Bowen Tan
e7fb968e06 fix eslint 2022-01-21 16:11:51 +08:00
Bowen Tan
439ff5155b fix playground 2022-01-21 10:27:37 +08:00
Bowen Tan
61665cdca0 move eventBus, appStorage, EditorStore to services directory 2022-01-21 10:17:35 +08:00
Bowen Tan
15bd209be8 decouple localstorage with sunmaoEditor 2022-01-21 10:17:35 +08:00
Bowen Tan
859327f57e add initSunmaoUIEditorProps 2022-01-21 10:17:35 +08:00
Bowen Tan
1c6cca1450 remove editor global instances 2022-01-21 10:17:35 +08:00
yz-yu
509a2585f1
Merge pull request #215 from webzard-io/refactor/moduleid
Move addModuleId to Editor
2022-01-21 00:25:27 +08:00
Bowen Tan
a5ca6e6898 add removeModuleId test 2022-01-20 17:52:49 +08:00
Bowen Tan
504cdc69e7 update examples 2022-01-20 17:52:49 +08:00
Bowen Tan
dff5ba60c9 move addModuleId to editor 2022-01-20 17:52:49 +08:00
tanbowensg
b26d7f64f9
Merge pull request #219 from webzard-io/fix/windlike-patch
fix(editor): fix can't create multiple events[fix #218]
2022-01-20 16:14:34 +08:00
MrWindlike
be17136666 fix(editor): fix can't create multiple events
Refs: #218
2022-01-20 15:49:14 +08:00
tanbowensg
9e4d00b3b4
Merge pull request #217 from webzard-io/feat/windlike-eslint
feat: add some eslint rules
2022-01-20 14:31:13 +08:00
MrWindlike
ff7e570fb6 feat: add some eslint rules 2022-01-20 14:06:26 +08:00
tanbowensg
951f8c8dd7
Merge pull request #216 from webzard-io/fix/windlike-patch
fix: set slot to different types depend on slot children's num
2022-01-20 10:35:25 +08:00
MrWindlike
9a898c0fa6 fix(ui-lib): fix tabs error 2022-01-19 18:03:36 +08:00
MrWindlike
9c22e7c85f types: change ComponentImplProps type 2022-01-19 16:56:04 +08:00
MrWindlike
823fac1766 fix: set slot to different types depend on slot children's num
when only one child in slot, set slot to ReactElement instead of array
2022-01-19 16:00:10 +08:00
yz-yu
77eaba8fa4
Merge pull request #210 from webzard-io/feat/validate-exp
validate expression
2022-01-18 13:48:36 +08:00
Bowen Tan
4c5bc2734a validate component state in expression 2022-01-12 18:20:35 +08:00
Bowen Tan
8d295f2ef8 validate nested property expression 2022-01-12 17:41:50 +08:00
Bowen Tan
ffc4f5377d update array properties 2022-01-12 17:41:50 +08:00
Bowen Tan
b5cbcd1666 validate expression refs 2022-01-12 17:41:50 +08:00
Bowen Tan
68242a595e compute refs of expression in fieldModel 2022-01-12 17:41:50 +08:00
yz-yu
b28fbce8ab
Merge pull request #209 from webzard-io/fix/slot-component-bug
fix component slot will not update after property change bug
2022-01-12 10:49:43 +08:00
Bowen Tan
2964dea1e2 fix component slot will not update after property change bug 2022-01-12 10:43:24 +08:00
yz-yu
0980215be5
Merge pull request #208 from webzard-io/release
Release
2022-01-12 08:44:47 +08:00
Bowen Tan
9182bb61f4 Publish
- @sunmao-ui/chakra-ui-lib@0.1.3
 - @sunmao-ui/core@0.3.5
 - @sunmao-ui/editor@0.3.9
 - @sunmao-ui/runtime@0.3.9
@sunmao-ui/chakra-ui-lib@0.1.3 @sunmao-ui/core@0.3.5 @sunmao-ui/editor@0.3.9 @sunmao-ui/runtime@0.3.9
2022-01-11 16:38:26 +08:00
Bowen Tan
3c78ac2116 Publish
- @sunmao-ui/chakra-ui-lib@0.1.2
 - @sunmao-ui/core@0.3.4
 - @sunmao-ui/editor@0.3.8
 - @sunmao-ui/runtime@0.3.8
2022-01-11 16:38:01 +08:00
tanbowensg
ac583a8f2e
Merge pull request #207 from webzard-io/bugfix
fix: updating a non-existing property will add a new property to the …
2022-01-11 15:49:32 +08:00
xzdry
f63c105786 fix: updating a non-existing property will add a new property to the component 2022-01-11 14:24:58 +08:00
tanbowensg
cb644de134
Merge pull request #206 from webzard-io/hoverSlot
multiple slot drag handling
2022-01-11 10:43:19 +08:00
yz-yu
862c9d71ea
Merge pull request #204 from webzard-io/refactor/type
rename types in core and runtime
2022-01-11 09:36:40 +08:00
Sczlog
ba9a769a32 store update
1. make store property as getter to avoid get out-of-date data.
2. add comment.
2022-01-10 18:34:42 +08:00
Sczlog
02678aa534 add slot wrapper for component with slot trait, optimize drag event 2022-01-10 18:25:58 +08:00
Sczlog
83c9a5717d prevent element's dragover 2022-01-10 18:25:53 +08:00
Sczlog
52402be5aa refactor drag over id 2022-01-10 18:25:31 +08:00
yz-yu
d3d0030f96
Merge pull request #205 from webzard-io/fix/dialoginlist
fix dialogInList example
2022-01-07 15:58:25 +08:00
Bowen Tan
5eca033635 fix dialogInList example 2022-01-07 15:54:02 +08:00
Bowen Tan
c5be99ffcf rename types in core and runtime 2022-01-07 14:05:57 +08:00
yz-yu
432314c61e
Merge pull request #203 from webzard-io/refactor/slot
refactor slot and ImplWrapper to cache render result
2022-01-07 08:49:26 +08:00
yz-yu
a3af4b8252
Merge pull request #202 from webzard-io/revert/es5
revert build to es5
2022-01-07 08:47:11 +08:00
Bowen Tan
ca0a780d96 modify components to new slot 2022-01-06 17:07:02 +08:00
Bowen Tan
1f6090868e revert build to es5 2022-01-06 16:31:57 +08:00
Bowen Tan
dd974ea085 cache render result 2022-01-06 14:41:26 +08:00
Bowen Tan
edf4b2b9d9 remove slotsMap & resolveAppComponents 2022-01-05 15:35:33 +08:00
Yanzhen Yu
8ab13e3c66 Publish
- @sunmao-ui/chakra-ui-lib@0.1.1
 - @sunmao-ui/core@0.3.3
 - @sunmao-ui/editor@0.3.7
 - @sunmao-ui/runtime@0.3.7
@sunmao-ui/chakra-ui-lib@0.1.1 @sunmao-ui/core@0.3.3 @sunmao-ui/editor@0.3.7 @sunmao-ui/runtime@0.3.7
2022-01-05 15:09:01 +08:00