Commit Graph

320 Commits

Author SHA1 Message Date
Bowen Tan
fab012460a fix moduleRenderer empty state bug 2021-11-29 17:25:25 +08:00
Bowen Tan
119d8e72ff Merge branch 'main' into feat/editor-module
# Conflicts:
#	packages/editor/src/operations/leaf/component/adjustComponentOrderLeafOperation.ts
2021-11-29 16:59:56 +08:00
Bowen Tan
95c18aa6b0 can remove Module 2021-11-29 15:56:23 +08:00
Sczlog
2d3a6de6fa fix adjust order operation
1. fix adjust order operation
2. add unit test for the operation.
2021-11-29 15:36:02 +08:00
Bowen Tan
b68f8939f3 exploere listen modules change 2021-11-29 15:34:49 +08:00
Bowen Tan
b18baa9aa4 application -> components in operation 2021-11-29 13:54:18 +08:00
Bowen Tan
50c2c89221 Merge branch 'main' into feat/editor-module
# Conflicts:
#	packages/editor/src/components/ComponentForm/ComponentForm.tsx
#	packages/editor/src/components/ComponentForm/EventTraitForm/EventTraitForm.tsx
#	packages/editor/src/components/ComponentForm/FetchTraitForm/FetchTraitForm.tsx
#	packages/editor/src/components/Editor.tsx
#	packages/editor/src/components/StructureTree/StructureTree.tsx
#	packages/editor/src/eventBus.ts
#	packages/editor/src/main.tsx
#	packages/editor/src/operations/AppModelManager.ts
2021-11-29 11:27:38 +08:00
tanbowensg
cfc88ac8e0
Merge pull request #141 from webzard-io/yinsw/operation
fix adjust order operation
2021-11-29 10:02:13 +08:00
Sczlog
94cbb49b04 fix redo 2021-11-26 18:32:41 +08:00
Sczlog
13f1712bc8 fix adjust order operation 2021-11-26 18:26:55 +08:00
tanbowensg
edc3a2d1c5
Merge pull request #139 from webzard-io/yinsw/operation
editor operation
2021-11-26 17:58:50 +08:00
Bowen Tan
0b1a485565 fix list exampleProperties 2021-11-26 17:55:24 +08:00
Sczlog
e50670bd8d fix bug
1. update redo to do.
2. for deleted element, use tryOriginal to get its raw value but not proxy target.
2021-11-26 17:44:53 +08:00
Bowen Tan
ec7956e8d5 can create module 2021-11-26 17:40:50 +08:00
Sczlog
548e7a52d0 use git mv to rename. 2021-11-26 17:27:26 +08:00
Sczlog
1ab4e6b589 1. update operation name
1. create entry for operation.
2. change name of operation
2021-11-26 16:56:26 +08:00
Bowen Tan
fb24f47b27 support use module in module 2021-11-26 16:47:43 +08:00
Bowen Tan
b13c1125e7 parse module before register 2021-11-26 15:44:17 +08:00
Sczlog
e89eb5a49d application operation 2021-11-26 10:41:09 +08:00
Bowen Tan
eb70ee6c09 reregister module after update 2021-11-25 18:24:28 +08:00
Bowen Tan
b108682f8c refactor appModalManager & appStorage 2021-11-25 17:03:45 +08:00
Bowen Tan
16faffde83 support edit & save module 2021-11-25 15:03:10 +08:00
Bowen Tan
fcb67990bc add explorer to change module or application 2021-11-25 11:33:36 +08:00
Bowen Tan
9401762333 remove array-to-tree 2021-11-24 17:28:49 +08:00
Bowen Tan
b2fae2b01d Publish
- @sunmao-ui/editor@0.3.3
 - @sunmao-ui/runtime@0.3.3
2021-11-24 16:39:51 +08:00
Bowen Tan
6593050a5c allow add custom dependencies for eval 2021-11-24 15:59:03 +08:00
Bowen Tan
14e1b0256c remove antd tree select from runtime 2021-11-24 15:02:02 +08:00
Bowen Tan
28623964d9 update all components' spec and example 2021-11-24 15:02:02 +08:00
Bowen Tan
b5a2a7eba2 update table and form example 2021-11-24 15:02:01 +08:00
Yanzhen Yu
df53808ba2 support unmount component when hidden 2021-11-24 11:04:44 +08:00
Bowen Tan
d767784feb refactor parseExpression function 2021-11-23 18:10:39 +08:00
Bowen Tan
83b559d913 small refactor 2021-11-23 14:31:57 +08:00
Bowen Tan
84aa6e98c5 Publish
- @sunmao-ui/editor@0.3.2
 - @sunmao-ui/runtime@0.3.2
2021-11-22 15:25:34 +08:00
Bowen Tan
70ccef32a8 fix ObjectField bug & support formControl multiSelect style 2021-11-22 14:44:49 +08:00
Yanzhen Yu
494a936516 Publish
- @sunmao-ui/editor@0.3.1
 - @sunmao-ui/runtime@0.3.1
2021-11-21 15:47:34 +08:00
Yanzhen Yu
649c7dde1f allow override box styles 2021-11-21 15:44:46 +08:00
Yanzhen Yu
b291d5968b Publish
- @sunmao-ui/core@0.3.0
 - @sunmao-ui/editor@0.3.0
 - @sunmao-ui/runtime@0.3.0
 - @sunmao-ui/vite-plugins@1.0.2
2021-11-21 15:21:54 +08:00
Yanzhen Yu
bfabfdeea0 refactor runtime variables to sunmao 2021-11-21 14:42:50 +08:00
Yanzhen Yu
09211db07b refactor code namings to sunmao-ui
also upgrade typescript and typebox to latest version
2021-11-21 14:38:33 +08:00
Yanzhen Yu
69c3462d6c impl embed schema editor 2021-11-16 18:50:22 +08:00
Yanzhen Yu
2b81c67f48 remove legacy props form 2021-11-16 17:43:50 +08:00
tanbowensg
64271dc59d
Merge pull request #118 from webzard-io/runtime
Introduce JSON schema form as the default component properties form
2021-11-15 17:28:35 +08:00
Yanzhen Yu
51248a9b6c improve parseTypeBox utils: support enum and union 2021-11-15 16:41:10 +08:00
Yanzhen Yu
942523da42 impl NullField and MultiSchemaField 2021-11-15 16:40:49 +08:00
Yanzhen Yu
7f83129e0c impl NumberField 2021-11-15 15:47:47 +08:00
Yanzhen Yu
79d5821080 impl BooleanField 2021-11-15 15:39:09 +08:00
Yanzhen Yu
94c697f22c impl ArrayField 2021-11-15 15:30:44 +08:00
Bowen Tan
65bc14c982 Publish
- @meta-ui/editor@0.2.13
 - @meta-ui/runtime@0.2.10
2021-11-15 13:42:19 +08:00
Bowen Tan
22c8eef4e4 update chakra to 1.7.1 & close dark mode 2021-11-15 13:41:38 +08:00
Yanzhen Yu
66f3169bd6 init JSON schema form as the default editor form
1. fields: SchemaField, ObjectField, StringField, UnsupportedField
2. operations: ReplaceComponentProperty
2021-11-15 01:43:44 +08:00