Commit Graph

46 Commits

Author SHA1 Message Date
Bowen Tan
a6b765d34f eval handler before send event to keep the hanlder is the latest 2022-02-24 18:04:23 +08:00
yz-yu
82104673c2
Merge pull request #299 from webzard-io/feat/datasource
feat: improve datasource[fix #289]
2022-02-24 14:23:35 +08:00
MrWindlike
2667383969 feat(editor): improve datasource and event form
support expression input and schema filed for datasource and event form
2022-02-22 12:06:33 +08:00
Yanzhen Yu
28f556de09 fix tsconfig to emit declaration files 2022-02-22 11:14:08 +08:00
Bowen Tan
7ca0781393 Publish
- @sunmao-ui/chakra-ui-lib@0.2.0
 - @sunmao-ui/core@0.4.0
 - @sunmao-ui/editor@0.4.0
 - @sunmao-ui/runtime@0.4.0
2022-02-17 18:04:31 +08:00
Bowen Tan
4bed7d5aae add chakra switch component 2022-02-17 17:44:32 +08:00
Bowen Tan
8df35c22bf fix text component cannot be selected bug 2022-02-17 15:24:44 +08:00
Bowen Tan
46137aa8d2 Fix the bug that page cannot scroll when chakra dialog is openning. 2022-02-16 10:53:06 +08:00
MrWindlike
79c4c29e95 chore: fix test cases and change some properties' spec 2022-02-15 15:19:05 +08:00
MrWindlike
fc15a2dc50 feat(lib): change properties spec 2022-02-15 13:49:36 +08:00
Bowen Tan
4cbb6f187c rename and add test 2022-02-10 18:17:05 +08:00
Bowen Tan
f40c42fa8a add ref to chakra-ui components 2022-02-10 15:34:10 +08:00
Bowen Tan
cb3d7e9dd2 refine code 2022-02-10 15:34:10 +08:00
Bowen Tan
1e29658fef drag component to mask 2022-02-10 15:34:10 +08:00
Bowen Tan
5aecab13b3 use resize observer 2022-02-10 15:34:09 +08:00
Bowen Tan
07a0a0af61 add drop slot area 2022-02-10 15:34:09 +08:00
Bowen Tan
5d182f9a0a render border 2022-02-10 15:34:09 +08:00
Yanzhen Yu
f46df01acc add category annotation to chakra ui lib 2022-02-09 14:50:33 +08:00
Yanzhen Yu
a722dcc34a extend metadata and set category annotation to core components 2022-02-09 12:50:51 +08:00
MrWindlike
ac1c09e98f feat(editor): auto-complete the parameters of the method 2022-02-07 17:24:44 +08:00
Bowen Tan
d88c9e9b23 Publish
- @sunmao-ui/chakra-ui-lib@0.1.6
 - @sunmao-ui/editor@0.3.13
 - @sunmao-ui/runtime@0.3.12
2022-01-29 11:51:54 +08:00
Bowen Tan
620fc212aa Publish
- @sunmao-ui/chakra-ui-lib@0.1.5
 - @sunmao-ui/editor@0.3.12
 - @sunmao-ui/runtime@0.3.11
2022-01-28 15:06:18 +08:00
Bowen Tan
cdcc8f5e6d Merge branch 'main' into publish
* main:
  fix cannot addModuleId to stateMap bug
  chore(editor): fix type error
  chore(editor): change code style
  fix(editor): forbid drop to component which has no slots
  fix(editor): fix display errors when set event's target to `$utils`
  fix(editor): make the warning area update immediately
  fix(editor): fix display errors when set event's target to `$utils`
  change default value of  Type.Any to undefined
  check modules when validating expression
  fix some style bugs
  fix: will not delete input component which in editing state
  fix(editor): make the warning area update immediately
  fix(editor): recover app when the runtime errors are fixed
  chore: change code style
  feat(Editor): add `$utils` to event targets
  types(IFieldModel): fix type error
  fix(editor): make the form update correctly
2022-01-28 14:18:33 +08:00
Bowen Tan
cc21a427e0 fix some style bugs 2022-01-27 17:09:26 +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
Bowen Tan
d618d8bd6d add utilMethods to sunmaoLib & implement chakra toast as utilMethod of lib 2022-01-24 11:41:25 +08:00
MrWindlike
9a898c0fa6 fix(ui-lib): fix tabs error 2022-01-19 18:03:36 +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
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
Bowen Tan
ca0a780d96 modify components to new slot 2022-01-06 17:07:02 +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
2022-01-05 15:09:01 +08:00
Bowen Tan
7192c5cd7c refactor Slot 2022-01-05 15:01:32 +08:00
Bowen Tan
02dc6e979e remove version 2 2021-12-31 14:53:55 +08:00
Bowen Tan
b698e1e5d2 update chakra-ui-lib slot 2021-12-31 10:54:19 +08:00
Bowen Tan
cca2930a2c fix chakra-ui-lib hooks lint 2021-12-30 17:56:24 +08:00
Bowen Tan
93fa2244d4 refactor chakra-ui-lib 2021-12-30 17:44:22 +08:00
Bowen Tan
70dad17dee refactor core components 2021-12-30 17:44:22 +08:00
Bowen Tan
c7cec729c0 add model operations 2021-12-24 17:06:16 +08:00
Bowen Tan
29c5054b6e refactor validator 2021-12-22 11:00:38 +08:00
Bowen Tan
71e0d79095 make some components property option 2021-12-22 11:00:38 +08:00
Bowen Tan
451590b581 change some components' property to optional 2021-12-22 11:00:38 +08:00
Yanzhen Yu
4faa578f0d move chakra-ui lib to a single package 2021-12-21 20:42:44 +08:00