1628 Commits

Author SHA1 Message Date
Bowen Tan
40b662db94 chore(*): publish
- @sunmao-ui/arco-lib@0.3.5-alpha.3
 - @sunmao-ui/chakra-ui-lib@0.5.5-alpha.3
 - @sunmao-ui/core@0.7.4-alpha.1
 - @sunmao-ui/editor-sdk@0.3.5-alpha.3
 - @sunmao-ui/editor@0.7.5-alpha.3
 - @sunmao-ui/runtime@0.7.4-alpha.2
 - @sunmao-ui/shared@0.2.4-alpha.2
@sunmao-ui/arco-lib@0.3.5-alpha.3 @sunmao-ui/chakra-ui-lib@0.5.5-alpha.3 @sunmao-ui/core@0.7.4-alpha.1 @sunmao-ui/editor-sdk@0.3.5-alpha.3 @sunmao-ui/editor@0.7.5-alpha.3 @sunmao-ui/runtime@0.7.4-alpha.2 @sunmao-ui/shared@0.2.4-alpha.2
2022-08-18 14:53:50 +08:00
Bowen Tan
edbf71ffee Merge branch 'develop' into publish
* develop:
  fix: fix selecting component would change the properties' values issue
  refactor: remove the shared package from core
  fix: fix the `exampleProperties` type errors
  refactor(runtime): remove full import of lodash
  fix: fix clicking outside can't close the popover widget
  fix(PopoverWidget): compatible with the React 16
  feat(Select): add title to select option
  fix(mask): fix wrong mask position
  fix(stateManager): don't console.error expression errors by default
  feat(booleanWidget): auto convert non-boolean value to boolean
  feat(numberWidget): auto convert non-number value to number
  feat(expressionWidget): don't auto convert string to other type
  feat(stateManager): don't auto convert string to number or boolean
  feat(ArrayWidget): arrayWidget will try to eval value before render it
2022-08-18 14:47:33 +08:00
tanbowensg
bd451fec39
Merge pull request #573 from smartxworks/fix/windlike-dev
fix: fix selecting component would change the properties' values issue
2022-08-17 10:30:42 +08:00
MrWindlike
a3f0c24e48 fix: fix selecting component would change the properties' values issue 2022-08-17 10:09:24 +08:00
tanbowensg
87074162c9
Merge pull request #568 from smartxworks/fix/windlike-dev
fix: fix the `exampleProperties` type errors
2022-08-16 15:39:06 +08:00
MrWindlike
c718e0ca22 refactor: remove the shared package from core 2022-08-16 14:53:41 +08:00
yz-yu
3094e7e90c
Merge pull request #570 from smartxworks/build/lodash
refactor(runtime): remove full import of lodash
2022-08-16 11:57:51 +08:00
MrWindlike
5216fd1e3c fix: fix the exampleProperties type errors 2022-08-16 11:52:16 +08:00
Bowen Tan
789058e1e3 refactor(runtime): remove full import of lodash 2022-08-15 18:30:04 +08:00
yz-yu
1ecbb7ff64
Merge pull request #567 from smartxworks/fix/windlike-dev
fix: fix clicking outside can't close the popover widget
2022-08-12 10:57:40 +08:00
MrWindlike
08bec57287 fix: fix clicking outside can't close the popover widget
when clicking the outside node which would stop propagation, it can't close the popover widget
2022-08-11 10:28:00 +08:00
tanbowensg
dc9c921838
Merge pull request #565 from smartxworks/arco/select
feat(Select): add title to select option
2022-08-10 10:33:59 +08:00
yz-yu
97ee05f0fd
Merge pull request #566 from smartxworks/fix/windlike-dev
fix(PopoverWidget): compatible with the React 16
2022-08-09 09:50:51 +08:00
MrWindlike
01b1ba14d4 fix(PopoverWidget): compatible with the React 16 2022-08-09 09:31:52 +08:00
yz-yu
9e80727540
Merge pull request #564 from smartxworks/fix/mask
fix(mask): fix wrong mask position
2022-08-08 21:59:17 +08:00
tanbowensg
15c9176f68
Merge pull request #559 from smartxworks/fix/expression-problems
Refactor some expressions logics
2022-08-08 18:01:35 +08:00
xzdry
55dd952d0e feat(Select): add title to select option 2022-08-08 17:56:17 +08:00
Bowen Tan
41c0d0e7ae fix(mask): fix wrong mask position 2022-08-08 14:37:01 +08:00
Yanzhen Yu
f95c909ecf Publish
- @sunmao-ui/arco-lib@0.3.5-alpha.2
 - @sunmao-ui/chakra-ui-lib@0.5.5-alpha.2
 - @sunmao-ui/editor-sdk@0.3.5-alpha.2
 - @sunmao-ui/editor@0.7.5-alpha.2
@sunmao-ui/arco-lib@0.3.5-alpha.2 @sunmao-ui/chakra-ui-lib@0.5.5-alpha.2 @sunmao-ui/editor-sdk@0.3.5-alpha.2 @sunmao-ui/editor@0.7.5-alpha.2
2022-08-05 14:20:59 +08:00
yz-yu
e403525865
Merge pull request #561 from smartxworks/develop
develop -> publish
2022-08-05 14:10:05 +08:00
yz-yu
6304215a8b
Merge pull request #560 from smartxworks/fix/mask-container-resize
observe mask container resize
2022-08-04 18:58:47 +08:00
Bowen Tan
7b47bbe475 fix(mask): observe mask container resize
Mask container size will change when left panel resizes.
So when it happens, the maskContainerRect needs to update.
2022-08-04 14:12:50 +08:00
yz-yu
d1a147f118
Merge pull request #552 from smartxworks/feat/windlike-dev
feat(RecordWidget): allow use the widget for object
2022-08-03 08:29:41 +08:00
Bowen Tan
961a657aa4 chore(*): publish
- @sunmao-ui/arco-lib@0.3.5-alpha.1
 - @sunmao-ui/chakra-ui-lib@0.5.5-alpha.1
 - @sunmao-ui/editor-sdk@0.3.5-alpha.1
 - @sunmao-ui/editor@0.7.5-alpha.1
 - @sunmao-ui/runtime@0.7.4-alpha.1
 - @sunmao-ui/shared@0.2.4-alpha.1
@sunmao-ui/arco-lib@0.3.5-alpha.1 @sunmao-ui/chakra-ui-lib@0.5.5-alpha.1 @sunmao-ui/editor-sdk@0.3.5-alpha.1 @sunmao-ui/editor@0.7.5-alpha.1 @sunmao-ui/runtime@0.7.4-alpha.1 @sunmao-ui/shared@0.2.4-alpha.1
2022-08-02 18:23:45 +08:00
Bowen Tan
133c590343 Merge branch 'develop' into publish
* develop: (36 commits)
  fix(stateManager): add toRaw in maskEval move toRaw logic to maskEval to make sure component will not receive Proxy
  fix(editor): add a dependency array on a effect hook
  fix(editor-sdk): remove a wrong attribute
  fix(editor): fix the bug of chakra/checkbox with correct way
  feat: watch the expression string change
  chore: change the commit rules
  refactor: let the \`deepEval\` support eval the expression string
  fix(editor): fix a bug which will cause the mask of chakra-ui/checkbox render incorrectly
  fix(validator): ignore error if event trait parameter is expression
  fix(validator): don't count keys of array destructuring assignment in property refs
  fix(validator): don't count keys of object destructuring assignment in property refs
  fix(validator): fieldModel should not count object keys in property ref
  fix(validator): fix the bug that property reference is wrong in complex expression
  chore(validator): remove a log-line
  chore(validator): comment out a log-line
  fix(validator): if a object json schema does not have specific properties, treat it as any type
  fix(validator): validator will crash when it fails to find util method
  fix(validator): allow using question mask in expression
  fix(ImplWrapper): deep compare slotContext in memo
  fix(editor): import chakra arco widgets correctly
  ...
2022-08-02 18:22:48 +08:00
Bowen Tan
28e0a752e0 fix(stateManager): don't console.error expression errors by default 2022-08-02 17:39:39 +08:00
Bowen Tan
f7a68d2447 feat(booleanWidget): auto convert non-boolean value to boolean 2022-08-02 17:38:18 +08:00
Bowen Tan
efe6865ecc feat(numberWidget): auto convert non-number value to number 2022-08-02 17:38:18 +08:00
Bowen Tan
2e1f012698 feat(expressionWidget): don't auto convert string to other type 2022-08-02 17:38:18 +08:00
Bowen Tan
8bab7855a9 feat(stateManager): don't auto convert string to number or boolean 2022-08-02 17:38:18 +08:00
Bowen Tan
59e1147277 feat(ArrayWidget): arrayWidget will try to eval value before render it 2022-08-02 17:38:18 +08:00
yz-yu
7e214cafea
Merge pull request #558 from smartxworks/fix/toraw
fix(stateManager): add toRaw in maskEval
2022-08-02 14:29:11 +08:00
Bowen Tan
f9ee4136b2 fix(stateManager): add toRaw in maskEval
move toRaw logic to maskEval to make sure component will not receive Proxy
2022-08-02 13:50:59 +08:00
tanbowensg
d88b38744a
Merge pull request #555 from FriedRiceNoodles/fix/chakra-checkbox-mask
fix(editor): fix a bug which will cause the mask of chakra-ui/checkbo…
2022-08-02 13:49:34 +08:00
炒米粉
2c18a9820a
fix(editor): add a dependency array on a effect hook 2022-08-02 12:35:54 +08:00
tanbowensg
34bda7f60d
Merge pull request #557 from FriedRiceNoodles/fix/editor-sdk
fix(editor-sdk): remove a wrong attribute
2022-08-02 09:57:20 +08:00
BugMaker.Huang
94bf9a393b fix(editor-sdk): remove a wrong attribute 2022-08-01 21:06:43 +08:00
BugMaker.Huang
20b52c74bb fix(editor): fix the bug of chakra/checkbox with correct way 2022-08-01 19:52:26 +08:00
tanbowensg
158613d97e
Merge pull request #542 from smartxworks/fix/scroll
fix(structureTree): if a component item is already in viewport, then don't scroll it into view
2022-08-01 14:05:06 +08:00
tanbowensg
09aaead4dd
Merge pull request #556 from smartxworks/fix/windlike-dev
refactor: let the `deepEval` support eval the expression string
2022-08-01 14:04:47 +08:00
MrWindlike
0bce0e9bb9 feat: watch the expression string change 2022-08-01 13:33:05 +08:00
MrWindlike
e0128cf905 chore: change the commit rules 2022-08-01 08:57:42 +08:00
MrWindlike
9d4b93412a refactor: let the \deepEval\ support eval the expression string 2022-08-01 08:57:42 +08:00
yz-yu
820c8a4b55
Merge pull request #554 from smartxworks/fix/validators-bugs-2
Fix/validators bugs 2
2022-07-29 22:38:03 +08:00
BugMaker.Huang
86205162fb fix(editor): fix a bug which will cause the mask of chakra-ui/checkbox render incorrectly 2022-07-29 18:24:03 +08:00
Bowen Tan
499a1ee3e3 fix(validator): ignore error if event trait parameter is expression 2022-07-29 17:25:42 +08:00
Bowen Tan
81028bbf42 fix(validator): don't count keys of array destructuring assignment in property refs 2022-07-29 16:52:08 +08:00
Bowen Tan
a1c2730fc5 fix(validator): don't count keys of object destructuring assignment in property refs 2022-07-29 16:13:48 +08:00
Bowen Tan
65f400863b fix(validator): fieldModel should not count object keys in property ref 2022-07-29 14:56:35 +08:00
Bowen Tan
8f53cd83c1 fix(validator): fix the bug that property reference is wrong in complex expression 2022-07-29 11:11:51 +08:00