890 Commits

Author SHA1 Message Date
MrWindlike
40b9b5f32f Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-01-27 16:01:25 +08:00
tanbowensg
84f311982d
Merge pull request #232 from webzard-io/fix/recover-editor
fix(editor): recover app when the runtime errors are fixed
2022-01-27 15:57:03 +08:00
MrWindlike
9f11d4c298 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-01-27 15:40:38 +08:00
MrWindlike
159dc7aeeb fix(editor): recover app when the runtime errors are fixed 2022-01-27 15:33:49 +08:00
MrWindlike
60c28d7f1d chore: change code style 2022-01-27 11:15:05 +08:00
MrWindlike
663ba650e0 feat(Editor): add $utils to event targets 2022-01-27 10:05:54 +08:00
Bowen Tan
e60cfe6138 Publish
- @sunmao-ui/editor@0.3.11
2022-01-26 18:01:04 +08:00
Bowen Tan
cfe8c60af0 change editor package entry 2022-01-26 17:59:18 +08:00
MrWindlike
5ab4c6988b types(IFieldModel): fix type error 2022-01-26 17:31:24 +08:00
MrWindlike
4cc0aca7bb Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into fix/windlike-patch 2022-01-26 17:30:34 +08:00
Bowen Tan
7c7dca7834 Publish
- @sunmao-ui/chakra-ui-lib@0.1.4
 - @sunmao-ui/core@0.3.6
 - @sunmao-ui/editor@0.3.10
 - @sunmao-ui/runtime@0.3.10
2022-01-26 17:24:58 +08:00
MrWindlike
f96dc66881 fix(editor): make the form update correctly 2022-01-26 17:24:22 +08:00
yz-yu
7437dc7560
Merge pull request #223 from webzard-io/refactor/appModelManager
refactor operationManager with appModel
2022-01-26 16:57:07 +08:00
Bowen Tan
dcc3d7f04d fetch trait defualt method is get 2022-01-26 15:15:53 +08:00
Bowen Tan
f382a83599 event trait form can choose methods from trait 2022-01-26 14:24:36 +08:00
Bowen Tan
14cd570911 properties validator detect window variables 2022-01-26 14:24:36 +08:00
Bowen Tan
16a26aa651 fix style trait width bug 2022-01-26 14:24:36 +08:00
tanbowensg
e60f2e905c
Merge pull request #226 from webzard-io/auto-complete
Auto complete, part 1
2022-01-26 14:22:12 +08:00
Bowen Tan
ff7506c26b fix cannot add fetch trait bug 2022-01-26 10:00:33 +08:00
Yanzhen Yu
4f393563f2 fix lockfile and type errors 2022-01-26 09:55:58 +08:00
Yanzhen Yu
495afd4f61 impl expression editor with tern 2022-01-25 23:17:32 +08:00
Yanzhen Yu
910f0ec186 support code mode in schema fields 2022-01-25 18:53:54 +08:00
Bowen Tan
c72c34bfa0 fix addModuleId multiple times bug 2022-01-25 17:29:33 +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
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
MrWindlike
be17136666 fix(editor): fix can't create multiple events
Refs: #218
2022-01-20 15:49:14 +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
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
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
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
Bowen Tan
c5be99ffcf rename types in core and runtime 2022-01-07 14:05:57 +08:00