Commit Graph

1414 Commits

Author SHA1 Message Date
Bowen Tan
50e2cdc5df fix(editor): fix warnings 2022-09-27 10:57:02 +08:00
Bowen Tan
90a130389d fix(editor): editor mask does not show when there is only text component 2022-09-27 10:56:35 +08:00
yz-yu
8d42271244
Merge pull request #617 from smartxworks/fix/improve-style
Fix some style bugs
2022-09-22 19:27:43 +08:00
yz-yu
11a8847862
Merge pull request #615 from smartxworks/fix/response-freeze
fix(editor): page freezes when fetch response is too large
2022-09-22 19:27:26 +08:00
yz-yu
ca1f0a4b88
Merge pull request #608 from smartxworks/build/initajv
Extract a common function initAjv
2022-09-22 19:26:53 +08:00
tanbowensg
af44c04676
Merge pull request #613 from smartxworks/refactor/runtime-generate-callback
refactor(runtime): export generateCallback and rename to runEventHandler
2022-09-22 17:22:48 +08:00
Bowen Tan
78169e981e fix(editor): update codemirror to fix bug
see: https://github.com/codemirror/codemirror5/issues/6982
2022-09-22 16:58:36 +08:00
Bowen Tan
a76ec134ee fix(editor): set component form popovers lazy to improve performance 2022-09-22 16:54:01 +08:00
Bowen Tan
976d3be3a1 fix(editor): disable search component input autocomplete 2022-09-22 16:53:10 +08:00
Bowen Tan
d4c27f575f fix(editor-sdk): fix type error 2022-09-22 15:39:04 +08:00
Bowen Tan
67cd314a12 fix(editor-sdk): fix ExpressionEditor style 2022-09-22 15:39:04 +08:00
Bowen Tan
801cd3c4b5 build(shared): add init ajv function 2022-09-22 15:39:03 +08:00
yz-yu
46414136af
Merge pull request #616 from smartxworks/fix/component-form-size
fix(editor): enlarge form popover size
2022-09-22 15:35:32 +08:00
Bowen Tan
ca141eed0d fix(editor): enlarge form size 2022-09-22 15:14:35 +08:00
tanbowensg
a3de3eb56b
Merge pull request #614 from smartxworks/fix/dry
fix(Table): only selectedRows should be reset when the data is changed
2022-09-22 13:52:50 +08:00
Bowen Tan
828059d2c0 fix(editor): page freezes when fetch response is too large 2022-09-22 13:41:58 +08:00
xzdry
00208778b2 fix(Table): only selectedRows should be reset when the data is changed 2022-09-22 10:27:40 +08:00
Bowen Tan
57812fd3cc refactor(runtime): export generateCallback and rename to runEventHandler 2022-09-22 10:14:26 +08:00
tanbowensg
29e4ae4f98
Merge pull request #609 from smartxworks/fix/number-field-undefined
fix(editor-sdk): prevent NumberField auto converting undefined to 0
2022-09-22 09:54:17 +08:00
Yanzhen Yu
a38a01a483 fix(editor): move tern dependency to the editor-sdk package 2022-09-21 14:41:55 +08:00
Bowen Tan
10f195a85e fix(editor-sdk): prevent NumberField auto converting undefined to 0 2022-09-20 18:17:15 +08:00
Bowen Tan
a881fce9e3 build(all): build bundle with React.createElement 2022-09-20 13:46:17 +08:00
yz-yu
f1f327b11d
Merge pull request #603 from smartxworks/fix/code-editor
fix(editor): fix the bug that CodeEditor can not save code
2022-09-19 17:48:26 +08:00
yz-yu
9c9430e4a9
Merge pull request #605 from smartxworks/build/remove-emotion-react
build(editor-sdk): remove emotion/react
2022-09-17 12:45:30 +08:00
tanbowensg
4a54791693
Merge pull request #604 from smartxworks/fix/dry
Fix the bug that api expression automatically changes to true
2022-09-16 17:30:38 +08:00
tanbowensg
ae68e71dc5
Merge pull request #596 from smartxworks/fix/drag-component-default-slot
fix(editor): component will disappear after being dragged
2022-09-16 17:30:23 +08:00
Bowen Tan
462787183e build(editor-sdk): remove emotion/react 2022-09-16 16:04:06 +08:00
xzdry
93ec2e2c35 fix(Editor): api spec should not generate DataForm 2022-09-15 16:56:41 +08:00
xzdry
edf99e579b fix: keep the key unique to avoid sharing state among components 2022-09-15 16:43:07 +08:00
yz-yu
569f708a8d
Merge pull request #591 from smartxworks/slot-fallback
fix(runtime): fix #590, use an init set to check first time render
2022-09-15 12:04:26 +08:00
Bowen Tan
8b89ab9f4c fix(editor): fix the bug that CodeEditor can not save code 2022-09-14 17:29:17 +08:00
xzdry
3b367d3b48 fix(Table): illegal default current page is automatically fixed to 1 2022-09-14 11:36:16 +08:00
xzdry
58a58cffc5 feat(arco/Table): allow custom rowkey 2022-09-14 11:29:52 +08:00
xzdry
8f079d7731 fix: supplement test for generateDefaultValueFromSpec 2022-09-13 10:52:05 +08:00
xzdry
5c2e03d8f7 fix: generate array items defaults only when generating state examples 2022-09-13 10:15:30 +08:00
Yanzhen Yu
b5c4fb487a test(runtime): add unit tests for the new state LCM 2022-09-12 16:56:55 +08:00
Yanzhen Yu
0644dbf01e fix(runtime): only update stateManager init set when store update 2022-09-12 16:49:30 +08:00
Yanzhen Yu
c84d94a89a fix(runtime): fix #590, use an init set to check first time render
This patch use a more solid way to check init state setup, instead of render count.
2022-09-12 16:42:08 +08:00
tanbowensg
8e59b852ec
Merge pull request #593 from smartxworks/fix/arco
add slot key for table and remove tabs placeholder
2022-09-09 10:36:11 +08:00
xzdry
c0d6ce8879 refactor(arco/Table): rollback table's slot name
Because this is a breaking change, the name will remain content for now until the upgrade tool is
implemented
2022-09-09 09:39:52 +08:00
yz-yu
5eb5551a24
Merge pull request #599 from smartxworks/build/update-emotion
build(*): update emotion/react
2022-09-09 08:33:58 +08:00
Bowen Tan
e286c3683f build(*): update emotion/styled & emotion/react 2022-09-08 17:59:49 +08:00
Bowen Tan
bdb40b86ad fix(editor): component will disappear after being dragged
Component will disappear when dragged to a component that doest not have 'content' slot.
Now the component will be add to the first slot of parent.
2022-09-07 16:55:15 +08:00
Bowen Tan
73242820fa fix(build): downgrade framer-motion from 4 to 3 2022-09-07 16:12:09 +08:00
tanbowensg
5b866cb310
Merge pull request #589 from smartxworks/fix/booleanfield
fix(BooleanField): convert only the values that exist
2022-09-05 10:54:26 +08:00
xzdry
8e56d5e652 refactor(arco/Tabs): remove placehoder
In some cases, tabs may not always have slots, so there is no need for placeholders here
2022-09-05 10:45:08 +08:00
yz-yu
0b65f85663
Merge pull request #592 from smartxworks/fix/windlike-dev
fix(slot): fix fallback disappearing when remounted
2022-09-05 09:59:40 +08:00
MrWindlike
0a79437e75 fix(slot): fix fallback disappearing when remounted 2022-09-05 09:48:03 +08:00
xzdry
da5d342ef6 feat(arco/Table): add slot key 2022-09-05 09:31:07 +08:00
yz-yu
27bc77129e
Merge pull request #575 from smartxworks/build/dyanmic-import
Optimize bundle size
2022-09-03 21:51:52 +08:00