2
0
mirror of https://github.com/smartxworks/sunmao-ui.git synced 2025-04-06 21:40:23 +08:00

1649 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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
MrWindlike
0b11b9fe30 feat(RecordWidget): allow use the widget for object 2022-07-29 10:22:22 +08:00
tanbowensg
30d335040e
Merge pull request from FriedRiceNoodles/chore/comments
chore(validator): comment out a log-line
2022-07-28 16:44:35 +08:00
炒米粉
14ac195f37
chore(validator): remove a log-line 2022-07-28 11:19:00 +08:00
yz-yu
b4eba0e5aa
Merge pull request from smartxworks/chore/export
chore: reexport the shared package by runtime
2022-07-28 07:27:30 +08:00
炒米粉
c20a02ed61 chore(validator): comment out a log-line 2022-07-28 01:54:59 +08:00
yz-yu
e0bb00c7f4
Merge pull request from smartxworks/fix/type-bug
fix(editor): import chakra arco widgets correctly
2022-07-27 18:12:59 +08:00
yz-yu
95da710e0a
Merge pull request from smartxworks/fix/validators-bugs-2
Fix some validator bugs
2022-07-27 18:11:19 +08:00
yz-yu
706898a91e
Merge pull request from smartxworks/fix/deep-compare-slotContext
fix(ImplWrapper): deep compare slotContext in memo
2022-07-27 18:10:32 +08:00
Bowen Tan
d9671e6515 fix(validator): if a object json schema does not have specific properties, treat it as any type 2022-07-27 17:58:40 +08:00
Bowen Tan
85d653381f fix(validator): validator will crash when it fails to find util method 2022-07-27 17:37:03 +08:00
Bowen Tan
cf62b867ba fix(validator): allow using question mask in expression 2022-07-27 17:13:33 +08:00
Bowen Tan
427c74b8c8 fix(ImplWrapper): deep compare slotContext in memo 2022-07-27 16:50:46 +08:00
Bowen Tan
ce63076747 fix(editor): import chakra arco widgets correctly 2022-07-27 16:34:01 +08:00
MrWindlike
9221ad60c9 chore: reexport the shared package by runtime 2022-07-27 16:01:59 +08:00
Bowen Tan
d21e1526f6 fix(validator): add AnyTypePlaceholder for nester object 2022-07-26 18:07:42 +08:00
Bowen Tan
7f2fdd5f63 fix(validator): it should not warn variables declared in iife in expression 2022-07-26 14:32:31 +08:00
Bowen Tan
41c8267384 fix(validator): validator cannot validate nested object in expression 2022-07-26 14:26:00 +08:00
tanbowensg
941ffa9089
Merge pull request from smartxworks/fix/trait-property-crash
fix(traitForm): trait form will crash if the trait has a property that is not in its spec
2022-07-26 11:25:34 +08:00
Bowen Tan
570380c5a0 fix(traitForm): trait form will crash if the trait has a property that is not in its spec 2022-07-26 11:17:27 +08:00
tanbowensg
382240f432
Merge pull request from smartxworks/fix/default-value
fix(shared): use default value instead of  undefined when generate default value from spec
2022-07-26 11:07:02 +08:00
tanbowensg
0ea1a9edbd
Merge pull request from smartxworks/feat/arco-widget
support for automatic generation of `rowKey` or setting from columns
2022-07-25 13:49:59 +08:00
yz-yu
e7a41cf660
Merge pull request from smartxworks/fix/hide-slot-trait-create
fix(traitForm): hide create slot trait button in menu
2022-07-25 11:52:27 +08:00
xzdry
739ab07ee9 refactor(Table): remove auto-generated rowkey 2022-07-25 11:31:02 +08:00
Bowen Tan
475e76c8d1 fix(traitForm): hide create slot trait button in menu 2022-07-25 11:22:42 +08:00
Bowen Tan
1ddb111a0d fix(shared): use default value instead of undefined when generate default value from spec 2022-07-22 18:15:54 +08:00
Bowen Tan
e82774757f fix(structureTree): if a component item is already in viewport, then don't scroll it into view 2022-07-22 17:04:43 +08:00
tanbowensg
94df410df4
Merge pull request from smartxworks/fix/typo
docs: fix typo
2022-07-22 11:31:41 +08:00
tanbowensg
fa79e120a9
Merge pull request from smartxworks/feat/validation-trait
feat: refactor the validation trait (#breaking-chagnes)
2022-07-22 11:29:43 +08:00
xzdry
f234b11bcf docs: fix typo 2022-07-21 22:26:09 +08:00