@luck-design-biz/luckda 0.0.24-2 → 0.0.25-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/Builder/index.js +6 -4
- package/es/components/IconFont/index.js +5 -0
- package/es/components/LDActions/index.js +133 -0
- package/es/components/LDActions/index.less +65 -0
- package/es/components/LdAutoForm/index.js +1 -1
- package/es/components/LdCom/index.js +2 -1
- package/es/components/LdFormList/index.js +15 -10
- package/es/components/LdGrid/index.js +14 -8
- package/es/components/LdGridForm/index.js +5 -4
- package/es/components/LdRuntimeCom/index.js +20 -7
- package/es/components/LdTree/index.js +112 -31
- package/es/components/LdTree/index.less +6 -1
- package/es/helper/ldBuilder.js +28 -12
- package/es/helper/ldComBuild.js +29 -14
- package/es/index.js +1 -0
- package/es/locales/zh-CN.js +230 -0
- package/es/lowcode/constants/api-url.js +464 -262
- package/es/lowcode/constants/event-topics.js +4 -0
- package/es/lowcode/constants/index.js +31 -2
- package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +32 -0
- package/es/lowcode/engine/factory/panel-item-factory/index.js +2 -0
- package/es/lowcode/engine/meta/box.props.default.json +4 -3
- package/es/lowcode/engine/meta/box.props.json +2 -4
- package/es/lowcode/engine/meta/button.props.default.json +5 -2
- package/es/lowcode/engine/meta/button.props.json +9 -9
- package/es/lowcode/engine/meta/cardlist.props.default.json +4 -2
- package/es/lowcode/engine/meta/cardlist.props.json +2 -3
- package/es/lowcode/engine/meta/components-list.json +1 -1
- package/es/lowcode/engine/meta/dialog.props.default.json +4 -2
- package/es/lowcode/engine/meta/dialog.props.json +1 -2
- package/es/lowcode/engine/meta/drawer.props.default.json +4 -2
- package/es/lowcode/engine/meta/drawer.props.json +1 -2
- package/es/lowcode/engine/meta/form.props.default.json +52 -4
- package/es/lowcode/engine/meta/form.props.json +596 -64
- package/es/lowcode/engine/meta/iframe.props.default.json +1 -1
- package/es/lowcode/engine/meta/iframe.props.json +1 -1
- package/es/lowcode/engine/meta/image.props.default.json +5 -2
- package/es/lowcode/engine/meta/image.props.json +3 -3
- package/es/lowcode/engine/meta/imex.props.default.json +5 -2
- package/es/lowcode/engine/meta/imex.props.json +2 -2
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +152 -26
- package/es/lowcode/engine/meta/jsx.props.default.json +2 -1
- package/es/lowcode/engine/meta/jsx.props.json +10 -5
- package/es/lowcode/engine/meta/layout.props.default.json +5 -2
- package/es/lowcode/engine/meta/layout.props.json +1 -2
- package/es/lowcode/engine/meta/link.props.default.json +5 -2
- package/es/lowcode/engine/meta/link.props.json +3 -3
- package/es/lowcode/engine/meta/local/local.zh-cn.js +97 -0
- package/es/lowcode/engine/meta/page.props.default.json +12 -0
- package/es/lowcode/engine/meta/page.props.json +49 -0
- package/es/lowcode/engine/meta/pagecontent.props.default.json +6 -0
- package/es/lowcode/engine/meta/pagecontent.props.json +7 -0
- package/es/lowcode/engine/meta/pagefooter.props.default.json +6 -0
- package/es/lowcode/engine/meta/pagefooter.props.json +7 -0
- package/es/lowcode/engine/meta/pageheader.props.default.json +6 -0
- package/es/lowcode/engine/meta/pageheader.props.json +7 -0
- package/es/lowcode/engine/meta/section.props.default.json +7 -6
- package/es/lowcode/engine/meta/section.props.json +52 -49
- package/es/lowcode/engine/meta/split.props.default.json +9 -4
- package/es/lowcode/engine/meta/split.props.json +14 -29
- package/es/lowcode/engine/meta/table.props.default.json +23 -3
- package/es/lowcode/engine/meta/table.props.json +257 -55
- package/es/lowcode/engine/meta/tabs.props.default.json +16 -9
- package/es/lowcode/engine/meta/tabs.props.json +57 -81
- package/es/lowcode/engine/meta/text.props.default.json +5 -2
- package/es/lowcode/engine/meta/text.props.json +3 -3
- package/es/lowcode/engine/meta/tree.props.default.json +20 -7
- package/es/lowcode/engine/meta/tree.props.json +225 -79
- package/es/lowcode/engine/provider/ContextProvider/index.js +177 -0
- package/es/lowcode/engine/provider/RemoteSourceProvider.js +174 -0
- package/es/lowcode/engine/tools/dataProcess.js +64 -2
- package/es/lowcode/engine/tools/helper.js +97 -18
- package/es/lowcode/engine/tools/useCanvasRender.js +73 -0
- package/es/lowcode/engine/tools/usePromiseState.js +23 -12
- package/es/lowcode/engine/tools/useTodo.js +78 -0
- package/es/lowcode/index.js +1 -0
- package/es/lowcode/painter/Components.js +47 -21
- package/es/lowcode/painter/Design.js +34 -2
- package/es/lowcode/painter/DesignOperator.js +48 -31
- package/es/lowcode/painter/DesignToolbar.js +324 -16
- package/es/lowcode/painter/I18n.js +2 -2
- package/es/lowcode/painter/Outline.js +31 -26
- package/es/lowcode/painter/Panel.js +99 -142
- package/es/lowcode/painter/Ribbon.js +1 -1
- package/es/lowcode/painter/components/ActionBindModal.js +293 -0
- package/es/lowcode/painter/components/AdvancePanel.js +140 -0
- package/es/lowcode/painter/components/AttrsPanel.js +145 -0
- package/es/lowcode/painter/components/Collapse.js +20 -9
- package/es/lowcode/painter/components/ColorInput.js +5 -3
- package/es/lowcode/painter/components/DragDrop/DragDropContext.js +137 -0
- package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +50 -0
- package/es/lowcode/painter/components/DragDrop/Overlay.js +8 -0
- package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +67 -0
- package/es/lowcode/painter/components/FieldSelector.js +44 -0
- package/es/lowcode/painter/components/ListEditor.js +26 -11
- package/es/lowcode/painter/components/PanelItem.js +1 -1
- package/es/lowcode/painter/components/PopConfirm.js +10 -3
- package/es/lowcode/painter/components/SortBox.js +11 -4
- package/es/lowcode/painter/components/TreeEditor.js +13 -0
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
- package/es/lowcode/painter/components/code-editor/JSEditor.js +25 -14
- package/es/lowcode/painter/components/code-editor/JsonEditor.js +41 -0
- package/es/lowcode/painter/components/field-setting/BatchSetting.js +154 -0
- package/es/lowcode/painter/components/field-setting/CheckRules.js +126 -0
- package/es/lowcode/painter/components/field-setting/FieldAttrs.js +287 -0
- package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js +290 -0
- package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js +63 -0
- package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +116 -0
- package/es/lowcode/painter/components/field-setting/SettingUI.js +438 -0
- package/es/lowcode/painter/components/field-setting/index.js +373 -0
- package/es/lowcode/painter/index.js +3 -28
- package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +25 -0
- package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +101 -0
- package/es/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +74 -13
- package/es/lowcode/painter/panel-section/BlockEditor/index.js +27 -0
- package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +45 -0
- package/es/lowcode/painter/panel-section/BlocksEditor/index.js +235 -0
- package/es/lowcode/painter/panel-section/DataSetSelector.js +115 -43
- package/es/lowcode/painter/panel-section/FieldsSetting.js +329 -0
- package/es/lowcode/painter/panel-section/I18nInput.js +20 -0
- package/es/lowcode/painter/panel-section/Icon.js +14 -14
- package/es/lowcode/painter/panel-section/IconConditionSelector.js +111 -0
- package/es/lowcode/painter/panel-section/IconSelector.js +5 -2
- package/es/lowcode/painter/panel-section/ImpExp.js +91 -0
- package/es/lowcode/painter/panel-section/JSEditor.js +49 -0
- package/es/lowcode/painter/panel-section/LayoutRatio.js +6 -7
- package/es/lowcode/painter/panel-section/SerialsSelector.js +44 -0
- package/es/lowcode/painter/panel-section/SplitDisplay.js +248 -0
- package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -22
- package/es/lowcode/painter/panel-section/TabItems.js +46 -30
- package/es/lowcode/painter/panel-section/TableTopFilter.js +306 -0
- package/es/lowcode/painter/panel-section/TableZebra.js +66 -6
- package/es/lowcode/painter/panel-section/TreeRootEditor.js +78 -0
- package/es/lowcode/painter/style/action-bind-modal.less +102 -0
- package/es/lowcode/painter/style/collapse.less +6 -0
- package/es/lowcode/painter/style/components.less +5 -4
- package/es/lowcode/painter/style/design.less +7 -4
- package/es/lowcode/painter/style/dragdrop.less +10 -0
- package/es/lowcode/painter/style/fields-setting.less +25 -0
- package/es/lowcode/painter/style/impexp.less +7 -0
- package/es/lowcode/painter/style/list-editor.less +36 -0
- package/es/lowcode/painter/style/panel-attrs.less +43 -0
- package/es/lowcode/painter/style/panel.less +6 -37
- package/es/lowcode/painter/style/pop-confirm.less +9 -2
- package/es/lowcode/painter/style/split-display.less +28 -0
- package/es/lowcode/painter/style/treedragdrop.less +19 -0
- package/es/lowcode/preview/index.js +27 -0
- package/es/lowcode/view/Canvas.js +34 -139
- package/es/lowcode/view/Loading.js +6 -2
- package/es/lowcode/view/Page.js +16 -14
- package/es/lowcode/view/lc-components/Box/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Box/index.js +11 -2
- package/es/lowcode/view/lc-components/Box/index.less +0 -1
- package/es/lowcode/view/lc-components/Box/meta.json +2 -4
- package/es/lowcode/view/lc-components/Button/FunctionDesign.js +8 -10
- package/es/lowcode/view/lc-components/Button/FunctionLive.js +3 -6
- package/es/lowcode/view/lc-components/Button/FunctionPreview.js +6 -0
- package/es/lowcode/view/lc-components/Button/index.js +43 -20
- package/es/lowcode/view/lc-components/Button/meta.json +9 -9
- package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/CardList/index.js +1 -0
- package/es/lowcode/view/lc-components/CardList/meta.json +2 -3
- package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +16 -24
- package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Dialog/index.js +1 -0
- package/es/lowcode/view/lc-components/Dialog/meta.json +1 -2
- package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +4 -2
- package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Drawer/index.js +17 -0
- package/es/lowcode/view/lc-components/Drawer/index.less +3 -0
- package/es/lowcode/view/lc-components/Drawer/meta.json +1 -2
- package/es/lowcode/view/lc-components/Form/FunctionDesign.js +93 -2
- package/es/lowcode/view/lc-components/Form/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Form/index.js +290 -13
- package/es/lowcode/view/lc-components/Form/index.less +5 -0
- package/es/lowcode/view/lc-components/Form/meta.json +546 -64
- package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Iframe/index.js +1 -0
- package/es/lowcode/view/lc-components/Iframe/meta.json +1 -1
- package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/ImEx/index.js +1 -0
- package/es/lowcode/view/lc-components/ImEx/meta.json +2 -2
- package/es/lowcode/view/lc-components/Image/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Image/index.js +1 -0
- package/es/lowcode/view/lc-components/Image/meta.json +3 -3
- package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/JSX/index.js +19 -6
- package/es/lowcode/view/lc-components/JSX/meta.json +8 -5
- package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +23 -22
- package/es/lowcode/view/lc-components/Layout/FunctionLive.js +3 -8
- package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Layout/index.js +1 -0
- package/es/lowcode/view/lc-components/Layout/meta.json +1 -2
- package/es/lowcode/view/lc-components/Link/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Link/index.js +1 -0
- package/es/lowcode/view/lc-components/Link/meta.json +3 -3
- package/es/lowcode/view/lc-components/Page/meta.json +49 -0
- package/es/lowcode/view/lc-components/PageContent/index.js +53 -0
- package/es/lowcode/view/lc-components/PageContent/meta.json +9 -0
- package/es/lowcode/view/lc-components/PageFooter/index.js +38 -0
- package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -0
- package/es/lowcode/view/lc-components/PageHeader/index.js +40 -0
- package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -0
- package/es/lowcode/view/lc-components/PageModal/index.js +23 -0
- package/es/lowcode/view/lc-components/Section/FunctionDesign.js +31 -2
- package/es/lowcode/view/lc-components/Section/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Section/index.js +115 -24
- package/es/lowcode/view/lc-components/Section/index.less +7 -0
- package/es/lowcode/view/lc-components/Section/meta.json +48 -49
- package/es/lowcode/view/lc-components/Split/FunctionDesign.js +57 -2
- package/es/lowcode/view/lc-components/Split/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Split/index.js +46 -7
- package/es/lowcode/view/lc-components/Split/meta.json +10 -29
- package/es/lowcode/view/lc-components/Table/FunctionDesign.js +41 -4
- package/es/lowcode/view/lc-components/Table/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Table/components/TopFilter.js +96 -0
- package/es/lowcode/view/lc-components/Table/index.js +365 -48
- package/es/lowcode/view/lc-components/Table/meta.json +229 -55
- package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +70 -2
- package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js +10 -0
- package/es/lowcode/view/lc-components/Tabs/index.js +113 -10
- package/es/lowcode/view/lc-components/Tabs/meta.json +53 -81
- package/es/lowcode/view/lc-components/Text/FunctionPreview.js +9 -0
- package/es/lowcode/view/lc-components/Text/index.js +1 -0
- package/es/lowcode/view/lc-components/Text/meta.json +3 -3
- package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +63 -3
- package/es/lowcode/view/lc-components/Tree/FunctionPreview.js +26 -0
- package/es/lowcode/view/lc-components/Tree/index.js +323 -8
- package/es/lowcode/view/lc-components/Tree/index.less +5 -0
- package/es/lowcode/view/lc-components/Tree/meta.json +224 -80
- package/es/lowcode/view/lc-components/Wrapper.js +44 -27
- package/es/lowcode/view/style/page.less +3 -0
- package/es/services.js +5 -3
- package/es/upload/Form/gridForm.js +7 -3
- package/es/utils/grid.js +2 -2
- package/lib/components/Builder/index.js +4 -1
- package/lib/components/IconFont/index.js +11 -0
- package/lib/components/LDActions/index.js +141 -0
- package/lib/components/LDActions/index.less +65 -0
- package/lib/components/LdAutoForm/index.js +1 -1
- package/lib/components/LdCom/index.js +2 -1
- package/lib/components/LdFormList/index.js +14 -9
- package/lib/components/LdGrid/index.js +13 -7
- package/lib/components/LdGridForm/index.js +4 -3
- package/lib/components/LdRuntimeCom/index.js +21 -8
- package/lib/components/LdTree/index.js +112 -31
- package/lib/components/LdTree/index.less +6 -1
- package/lib/helper/ldBuilder.js +28 -12
- package/lib/helper/ldComBuild.js +27 -12
- package/lib/index.js +8 -0
- package/lib/locales/zh-CN.js +236 -0
- package/lib/lowcode/constants/api-url.js +465 -263
- package/lib/lowcode/constants/event-topics.js +5 -1
- package/lib/lowcode/constants/index.js +32 -3
- package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +38 -0
- package/lib/lowcode/engine/factory/panel-item-factory/index.js +2 -0
- package/lib/lowcode/engine/meta/box.props.default.json +4 -3
- package/lib/lowcode/engine/meta/box.props.json +2 -4
- package/lib/lowcode/engine/meta/button.props.default.json +5 -2
- package/lib/lowcode/engine/meta/button.props.json +9 -9
- package/lib/lowcode/engine/meta/cardlist.props.default.json +4 -2
- package/lib/lowcode/engine/meta/cardlist.props.json +2 -3
- package/lib/lowcode/engine/meta/components-list.json +1 -1
- package/lib/lowcode/engine/meta/dialog.props.default.json +4 -2
- package/lib/lowcode/engine/meta/dialog.props.json +1 -2
- package/lib/lowcode/engine/meta/drawer.props.default.json +4 -2
- package/lib/lowcode/engine/meta/drawer.props.json +1 -2
- package/lib/lowcode/engine/meta/form.props.default.json +52 -4
- package/lib/lowcode/engine/meta/form.props.json +596 -64
- package/lib/lowcode/engine/meta/iframe.props.default.json +1 -1
- package/lib/lowcode/engine/meta/iframe.props.json +1 -1
- package/lib/lowcode/engine/meta/image.props.default.json +5 -2
- package/lib/lowcode/engine/meta/image.props.json +3 -3
- package/lib/lowcode/engine/meta/imex.props.default.json +5 -2
- package/lib/lowcode/engine/meta/imex.props.json +2 -2
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +152 -26
- package/lib/lowcode/engine/meta/jsx.props.default.json +2 -1
- package/lib/lowcode/engine/meta/jsx.props.json +10 -5
- package/lib/lowcode/engine/meta/layout.props.default.json +5 -2
- package/lib/lowcode/engine/meta/layout.props.json +1 -2
- package/lib/lowcode/engine/meta/link.props.default.json +5 -2
- package/lib/lowcode/engine/meta/link.props.json +3 -3
- package/lib/lowcode/engine/meta/local/local.zh-cn.js +103 -0
- package/lib/lowcode/engine/meta/page.props.default.json +12 -0
- package/lib/lowcode/engine/meta/page.props.json +49 -0
- package/lib/lowcode/engine/meta/pagecontent.props.default.json +6 -0
- package/lib/lowcode/engine/meta/pagecontent.props.json +7 -0
- package/lib/lowcode/engine/meta/pagefooter.props.default.json +6 -0
- package/lib/lowcode/engine/meta/pagefooter.props.json +7 -0
- package/lib/lowcode/engine/meta/pageheader.props.default.json +6 -0
- package/lib/lowcode/engine/meta/pageheader.props.json +7 -0
- package/lib/lowcode/engine/meta/section.props.default.json +7 -6
- package/lib/lowcode/engine/meta/section.props.json +52 -49
- package/lib/lowcode/engine/meta/split.props.default.json +9 -4
- package/lib/lowcode/engine/meta/split.props.json +14 -29
- package/lib/lowcode/engine/meta/table.props.default.json +23 -3
- package/lib/lowcode/engine/meta/table.props.json +257 -55
- package/lib/lowcode/engine/meta/tabs.props.default.json +16 -9
- package/lib/lowcode/engine/meta/tabs.props.json +57 -81
- package/lib/lowcode/engine/meta/text.props.default.json +5 -2
- package/lib/lowcode/engine/meta/text.props.json +3 -3
- package/lib/lowcode/engine/meta/tree.props.default.json +20 -7
- package/lib/lowcode/engine/meta/tree.props.json +225 -79
- package/lib/lowcode/engine/provider/ContextProvider/index.js +185 -0
- package/lib/lowcode/engine/provider/RemoteSourceProvider.js +182 -0
- package/lib/lowcode/engine/tools/dataProcess.js +64 -1
- package/lib/lowcode/engine/tools/helper.js +101 -17
- package/lib/lowcode/engine/tools/useCanvasRender.js +88 -0
- package/lib/lowcode/engine/tools/usePromiseState.js +22 -12
- package/lib/lowcode/engine/tools/useTodo.js +85 -0
- package/lib/lowcode/index.js +7 -0
- package/lib/lowcode/painter/Components.js +46 -20
- package/lib/lowcode/painter/Design.js +32 -0
- package/lib/lowcode/painter/DesignOperator.js +45 -28
- package/lib/lowcode/painter/DesignToolbar.js +321 -13
- package/lib/lowcode/painter/I18n.js +1 -1
- package/lib/lowcode/painter/Outline.js +29 -24
- package/lib/lowcode/painter/Panel.js +96 -139
- package/lib/lowcode/painter/Ribbon.js +1 -1
- package/lib/lowcode/painter/components/ActionBindModal.js +300 -0
- package/lib/lowcode/painter/components/AdvancePanel.js +148 -0
- package/lib/lowcode/painter/components/AttrsPanel.js +153 -0
- package/lib/lowcode/painter/components/Collapse.js +20 -9
- package/lib/lowcode/painter/components/ColorInput.js +5 -3
- package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +146 -0
- package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +57 -0
- package/lib/lowcode/painter/components/DragDrop/Overlay.js +15 -0
- package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +75 -0
- package/lib/lowcode/painter/components/FieldSelector.js +52 -0
- package/lib/lowcode/painter/components/ListEditor.js +25 -10
- package/lib/lowcode/painter/components/PanelItem.js +1 -1
- package/lib/lowcode/painter/components/PopConfirm.js +10 -3
- package/lib/lowcode/painter/components/SortBox.js +12 -5
- package/lib/lowcode/painter/components/TreeEditor.js +20 -0
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +25 -14
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js +48 -0
- package/lib/lowcode/painter/components/field-setting/BatchSetting.js +161 -0
- package/lib/lowcode/painter/components/field-setting/CheckRules.js +133 -0
- package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +295 -0
- package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js +298 -0
- package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js +70 -0
- package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +123 -0
- package/lib/lowcode/painter/components/field-setting/SettingUI.js +446 -0
- package/lib/lowcode/painter/components/field-setting/index.js +380 -0
- package/lib/lowcode/painter/index.js +3 -30
- package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +32 -0
- package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/ActionEditor.js +20 -66
- package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +71 -10
- package/lib/lowcode/painter/panel-section/BlockEditor/index.js +34 -0
- package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +52 -0
- package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +242 -0
- package/lib/lowcode/painter/panel-section/DataSetSelector.js +112 -40
- package/lib/lowcode/painter/panel-section/FieldsSetting.js +337 -0
- package/lib/lowcode/painter/panel-section/I18nInput.js +27 -0
- package/lib/lowcode/painter/panel-section/Icon.js +16 -14
- package/lib/lowcode/painter/panel-section/IconConditionSelector.js +119 -0
- package/lib/lowcode/painter/panel-section/IconSelector.js +5 -2
- package/lib/lowcode/painter/panel-section/ImpExp.js +98 -0
- package/lib/lowcode/painter/panel-section/JSEditor.js +57 -0
- package/lib/lowcode/painter/panel-section/LayoutRatio.js +5 -6
- package/lib/lowcode/painter/panel-section/SerialsSelector.js +51 -0
- package/lib/lowcode/painter/panel-section/SplitDisplay.js +256 -0
- package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +3 -23
- package/lib/lowcode/painter/panel-section/TabItems.js +45 -29
- package/lib/lowcode/painter/panel-section/TableTopFilter.js +314 -0
- package/lib/lowcode/painter/panel-section/TableZebra.js +67 -6
- package/lib/lowcode/painter/panel-section/TreeRootEditor.js +86 -0
- package/lib/lowcode/painter/style/action-bind-modal.less +102 -0
- package/lib/lowcode/painter/style/collapse.less +6 -0
- package/lib/lowcode/painter/style/components.less +5 -4
- package/lib/lowcode/painter/style/design.less +7 -4
- package/lib/lowcode/painter/style/dragdrop.less +10 -0
- package/lib/lowcode/painter/style/fields-setting.less +25 -0
- package/lib/lowcode/painter/style/impexp.less +7 -0
- package/lib/lowcode/painter/style/list-editor.less +36 -0
- package/lib/lowcode/painter/style/panel-attrs.less +43 -0
- package/lib/lowcode/painter/style/panel.less +6 -37
- package/lib/lowcode/painter/style/pop-confirm.less +9 -2
- package/lib/lowcode/painter/style/split-display.less +28 -0
- package/lib/lowcode/painter/style/treedragdrop.less +19 -0
- package/lib/lowcode/preview/index.js +35 -0
- package/lib/lowcode/view/Canvas.js +32 -145
- package/lib/lowcode/view/Loading.js +6 -2
- package/lib/lowcode/view/Page.js +12 -10
- package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Box/index.js +11 -2
- package/lib/lowcode/view/lc-components/Box/index.less +0 -1
- package/lib/lowcode/view/lc-components/Box/meta.json +2 -4
- package/lib/lowcode/view/lc-components/Button/FunctionDesign.js +8 -10
- package/lib/lowcode/view/lc-components/Button/FunctionLive.js +3 -6
- package/lib/lowcode/view/lc-components/Button/FunctionPreview.js +13 -0
- package/lib/lowcode/view/lc-components/Button/index.js +41 -18
- package/lib/lowcode/view/lc-components/Button/meta.json +9 -9
- package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/CardList/index.js +1 -0
- package/lib/lowcode/view/lc-components/CardList/meta.json +2 -3
- package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +15 -24
- package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Dialog/index.js +1 -0
- package/lib/lowcode/view/lc-components/Dialog/meta.json +1 -2
- package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +4 -2
- package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Drawer/index.js +17 -0
- package/lib/lowcode/view/lc-components/Drawer/index.less +3 -0
- package/lib/lowcode/view/lc-components/Drawer/meta.json +1 -2
- package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +94 -2
- package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Form/index.js +289 -12
- package/lib/lowcode/view/lc-components/Form/index.less +5 -0
- package/lib/lowcode/view/lc-components/Form/meta.json +546 -64
- package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Iframe/index.js +1 -0
- package/lib/lowcode/view/lc-components/Iframe/meta.json +1 -1
- package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/ImEx/index.js +1 -0
- package/lib/lowcode/view/lc-components/ImEx/meta.json +2 -2
- package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Image/index.js +1 -0
- package/lib/lowcode/view/lc-components/Image/meta.json +3 -3
- package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/JSX/index.js +19 -6
- package/lib/lowcode/view/lc-components/JSX/meta.json +8 -5
- package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +24 -22
- package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +3 -8
- package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Layout/index.js +1 -0
- package/lib/lowcode/view/lc-components/Layout/meta.json +1 -2
- package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Link/index.js +1 -0
- package/lib/lowcode/view/lc-components/Link/meta.json +3 -3
- package/lib/lowcode/view/lc-components/Page/meta.json +49 -0
- package/lib/lowcode/view/lc-components/PageContent/index.js +61 -0
- package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -0
- package/lib/lowcode/view/lc-components/PageFooter/index.js +46 -0
- package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -0
- package/lib/lowcode/view/lc-components/PageHeader/index.js +48 -0
- package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -0
- package/lib/lowcode/view/lc-components/PageModal/index.js +30 -0
- package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +31 -2
- package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Section/index.js +114 -23
- package/lib/lowcode/view/lc-components/Section/index.less +7 -0
- package/lib/lowcode/view/lc-components/Section/meta.json +48 -49
- package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +58 -2
- package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Split/index.js +45 -6
- package/lib/lowcode/view/lc-components/Split/meta.json +10 -29
- package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +43 -5
- package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +104 -0
- package/lib/lowcode/view/lc-components/Table/index.js +364 -47
- package/lib/lowcode/view/lc-components/Table/meta.json +229 -55
- package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +71 -2
- package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js +17 -0
- package/lib/lowcode/view/lc-components/Tabs/index.js +112 -9
- package/lib/lowcode/view/lc-components/Tabs/meta.json +53 -81
- package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +16 -0
- package/lib/lowcode/view/lc-components/Text/index.js +1 -0
- package/lib/lowcode/view/lc-components/Text/meta.json +3 -3
- package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +64 -3
- package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js +33 -0
- package/lib/lowcode/view/lc-components/Tree/index.js +321 -6
- package/lib/lowcode/view/lc-components/Tree/index.less +5 -0
- package/lib/lowcode/view/lc-components/Tree/meta.json +224 -80
- package/lib/lowcode/view/lc-components/Wrapper.js +42 -25
- package/lib/lowcode/view/style/page.less +3 -0
- package/lib/services.js +5 -3
- package/lib/upload/Form/gridForm.js +7 -3
- package/lib/utils/grid.js +2 -2
- package/package.json +12 -7
- package/es/lowcode/engine/provider/ContextProvider.js +0 -169
- package/es/lowcode/painter/components/actions-editor/ActionEditor.js +0 -147
- package/es/lowcode/painter/panel-section/TableActions.js +0 -19
- package/lib/lowcode/engine/provider/ContextProvider.js +0 -177
- package/lib/lowcode/painter/panel-section/TableActions.js +0 -26
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.LANG_SETTING_SELECT = exports.COMPONENT_UNMOUNT = exports.COMPONENT_SETTING_CLICK = exports.COMPONENT_REPOSITIONING = exports.COMPONENT_MOUNT = exports.COMPONENT_MODIFY = exports.COMPONENT_MODAL_TOGGLE = exports.COMPONENT_HOVER = exports.COMPONENT_DELETE = exports.COMPONENT_APPEND = exports.COMPONENT_ACTIVE = void 0;
|
|
6
|
+
exports.LANG_SETTING_SELECT = exports.COMPONENT_UNMOUNT = exports.COMPONENT_SETTING_CLICK = exports.COMPONENT_REPOSITIONING = exports.COMPONENT_MOUNT = exports.COMPONENT_MODIFY = exports.COMPONENT_MODAL_TOGGLE = exports.COMPONENT_HOVER = exports.COMPONENT_DRAG_OVER = exports.COMPONENT_DRAG_END = exports.COMPONENT_DELETE = exports.COMPONENT_APPEND = exports.COMPONENT_ACTIVE = void 0;
|
|
7
7
|
/******************************** 通用Topic开始 ********************************/
|
|
8
8
|
|
|
9
9
|
// 组件的加载完成事件
|
|
@@ -31,6 +31,10 @@ var COMPONENT_MODIFY = exports.COMPONENT_MODIFY = 'component-modify';
|
|
|
31
31
|
var COMPONENT_REPOSITIONING = exports.COMPONENT_REPOSITIONING = 'component-repositioning';
|
|
32
32
|
// 模态视图组件开关事件
|
|
33
33
|
var COMPONENT_MODAL_TOGGLE = exports.COMPONENT_MODAL_TOGGLE = 'component-modal-toggle';
|
|
34
|
+
// 组件被拖放时的事件
|
|
35
|
+
var COMPONENT_DRAG_OVER = exports.COMPONENT_DRAG_OVER = 'component-drag-over';
|
|
36
|
+
// 组件拖放完成时的事件
|
|
37
|
+
var COMPONENT_DRAG_END = exports.COMPONENT_DRAG_END = 'component-drag-end';
|
|
34
38
|
|
|
35
39
|
/******************************* Design Topic结束 *******************************/
|
|
36
40
|
|
|
@@ -3,16 +3,45 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.RUNTIME = exports.
|
|
6
|
+
exports.RUNTIME = exports.NO_DROPABLE = exports.NO_DRAGABLE = exports.LC_COMPONENT_UNIT_KEY = exports.LC_COMPONENT_UNIT = exports.LC_BUILDIN_UNIT_KEY_LIST = exports.LC_BUILDIN_UNIT_KEY = exports.FIELD_SCOPES = exports.DATA_MODEL_CODE_KEY = exports.COOKIE_VIRTUAL_ACCOUNT_KEY = exports.COOKIE_RUNTIME_KEY = exports.CONTAINER_UNITS = void 0;
|
|
7
7
|
var RUNTIME = exports.RUNTIME = {
|
|
8
8
|
LIVE: 'live',
|
|
9
9
|
DESIGN: 'design',
|
|
10
10
|
PREVIEW: 'preview'
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var
|
|
12
|
+
var COOKIE_RUNTIME_KEY = exports.COOKIE_RUNTIME_KEY = 'Lowcode-Runtime';
|
|
13
|
+
var COOKIE_VIRTUAL_ACCOUNT_KEY = exports.COOKIE_VIRTUAL_ACCOUNT_KEY = 'Lowcode-Account';
|
|
14
|
+
var DATA_MODEL_CODE_KEY = exports.DATA_MODEL_CODE_KEY = 'Lowcode-Data-Model-Code';
|
|
15
|
+
var LC_COMPONENT_UNIT_KEY = exports.LC_COMPONENT_UNIT_KEY = 'luckda-unitmark';
|
|
16
|
+
var LC_COMPONENT_UNIT = exports.LC_COMPONENT_UNIT = 'lc-component';
|
|
17
|
+
var LC_BUILDIN_UNIT_KEY = exports.LC_BUILDIN_UNIT_KEY = {
|
|
14
18
|
PAGE_ROOT: 'page_root',
|
|
15
19
|
PAGE_HEADER: 'page_header',
|
|
16
20
|
PAGE_CONTENT: 'page_content',
|
|
17
21
|
PAGE_FOOTER: 'page_footer'
|
|
22
|
+
};
|
|
23
|
+
var LC_BUILDIN_UNIT_KEY_LIST = exports.LC_BUILDIN_UNIT_KEY_LIST = Object.values(LC_BUILDIN_UNIT_KEY);
|
|
24
|
+
|
|
25
|
+
// 最小容器单元
|
|
26
|
+
var CONTAINER_UNITS = exports.CONTAINER_UNITS = ['Box', 'PageHeader', 'PageContent', 'PageFooter'];
|
|
27
|
+
// 不能拖入组件列表
|
|
28
|
+
var NO_DROPABLE = exports.NO_DROPABLE = [];
|
|
29
|
+
// 不能拖拽组件列表
|
|
30
|
+
var NO_DRAGABLE = exports.NO_DRAGABLE = ['PageRoot', 'PageFooter', 'PageHeader', 'PageContent', 'Drawer', 'Dialog'];
|
|
31
|
+
var FIELD_SCOPES = exports.FIELD_SCOPES = {
|
|
32
|
+
BASIC_INFO: 'BASIC_INFO',
|
|
33
|
+
// 基础信息
|
|
34
|
+
DEFAULT_VALUE: 'DEFAULT_VALUE',
|
|
35
|
+
// 默认值
|
|
36
|
+
CHECK_RULES: 'CHECK_RULES',
|
|
37
|
+
// 校验规则
|
|
38
|
+
FIELD_REQUIRED: 'FIELD_NOTNULL',
|
|
39
|
+
// 字段必填
|
|
40
|
+
FIELD_FORM_DISPLAY: 'FORM_DISPLAY',
|
|
41
|
+
// 表单显示
|
|
42
|
+
FIELD_TABLE_DISPLAY: 'FIELD_SHOW',
|
|
43
|
+
// 表格显示
|
|
44
|
+
FIELD_WRITABLE: 'FIELD_WRITABLE',
|
|
45
|
+
// 字段可写
|
|
46
|
+
FIELD_READONLY: 'FIELD_READONLY' // 字段只读
|
|
18
47
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
+
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
|
11
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
12
|
+
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
13
|
+
var _antd = require("luck-design/antd");
|
|
14
|
+
var _Strategy2 = _interopRequireDefault(require("./Strategy"));
|
|
15
|
+
var _TYPE_ = 'checkbox';
|
|
16
|
+
var CheckboxStrategy = exports.default = /*#__PURE__*/function (_Strategy) {
|
|
17
|
+
(0, _inherits2.default)(CheckboxStrategy, _Strategy);
|
|
18
|
+
var _super = (0, _createSuper2.default)(CheckboxStrategy);
|
|
19
|
+
function CheckboxStrategy(factory) {
|
|
20
|
+
var _this;
|
|
21
|
+
(0, _classCallCheck2.default)(this, CheckboxStrategy);
|
|
22
|
+
_this = _super.call(this, _TYPE_);
|
|
23
|
+
factory.register(_TYPE_, (0, _assertThisInitialized2.default)(_this));
|
|
24
|
+
return _this;
|
|
25
|
+
}
|
|
26
|
+
(0, _createClass2.default)(CheckboxStrategy, [{
|
|
27
|
+
key: "match",
|
|
28
|
+
value: function match(type) {
|
|
29
|
+
return type === _TYPE_;
|
|
30
|
+
}
|
|
31
|
+
}, {
|
|
32
|
+
key: "builder",
|
|
33
|
+
value: function builder() {
|
|
34
|
+
return _antd.Checkbox.Group;
|
|
35
|
+
}
|
|
36
|
+
}]);
|
|
37
|
+
return CheckboxStrategy;
|
|
38
|
+
}(_Strategy2.default);
|
|
@@ -11,6 +11,7 @@ var _StringStrategy = _interopRequireDefault(require("./StringStrategy"));
|
|
|
11
11
|
var _NumberStrategy = _interopRequireDefault(require("./NumberStrategy"));
|
|
12
12
|
var _SelectStrategy = _interopRequireDefault(require("./SelectStrategy"));
|
|
13
13
|
var _SwitchStrategy = _interopRequireDefault(require("./SwitchStrategy"));
|
|
14
|
+
var _CheckboxStrategy = _interopRequireDefault(require("./CheckboxStrategy"));
|
|
14
15
|
var _SegmentedStrategy = _interopRequireDefault(require("./SegmentedStrategy"));
|
|
15
16
|
var _DynamicStrategy = _interopRequireDefault(require("./DynamicStrategy"));
|
|
16
17
|
var _GroupStrategy = _interopRequireDefault(require("./GroupStrategy"));
|
|
@@ -27,6 +28,7 @@ var Factory = exports.default = /*#__PURE__*/function () {
|
|
|
27
28
|
new _NumberStrategy.default(this);
|
|
28
29
|
new _DynamicStrategy.default(this);
|
|
29
30
|
new _SelectStrategy.default(this);
|
|
31
|
+
new _CheckboxStrategy.default(this);
|
|
30
32
|
new _SegmentedStrategy.default(this);
|
|
31
33
|
new _SwitchStrategy.default(this);
|
|
32
34
|
new _GroupStrategy.default(this);
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"component": "Box",
|
|
3
|
-
"name": "
|
|
3
|
+
"name": "盒子",
|
|
4
4
|
"desc": "盒子是一个用于包裹其他组件的包装器,是一个单纯的容器组件,可以对其设置样式达到想要的效果。",
|
|
5
5
|
"icon": "icon-box",
|
|
6
6
|
"group": "container",
|
|
7
7
|
"groupName": "布局",
|
|
8
8
|
"order": 3,
|
|
9
|
-
"
|
|
10
|
-
|
|
9
|
+
"css": "height:60px; width: auto; background-color: #fff;",
|
|
10
|
+
"advance": {
|
|
11
|
+
"events": {}
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"component": "Box",
|
|
3
|
-
"name": "
|
|
3
|
+
"name": "盒子",
|
|
4
4
|
"desc": "盒子是一个用于包裹其他组件的包装器,是一个单纯的容器组件,可以对其设置样式达到想要的效果。",
|
|
5
5
|
"icon": "icon-box",
|
|
6
6
|
"group": "container",
|
|
@@ -14,9 +14,7 @@
|
|
|
14
14
|
"disabled": true
|
|
15
15
|
}
|
|
16
16
|
],
|
|
17
|
-
"
|
|
18
|
-
"height": "60px"
|
|
19
|
-
},
|
|
17
|
+
"css": "height:60px; width: auto; background-color: #fff;",
|
|
20
18
|
"advance": {
|
|
21
19
|
"events": [
|
|
22
20
|
{
|
|
@@ -6,11 +6,14 @@
|
|
|
6
6
|
"group": "basic",
|
|
7
7
|
"groupName": "基础",
|
|
8
8
|
"order": 1,
|
|
9
|
-
"
|
|
9
|
+
"css": {},
|
|
10
10
|
"title": "按钮",
|
|
11
11
|
"type": "default",
|
|
12
12
|
"size": "middle",
|
|
13
13
|
"block": false,
|
|
14
14
|
"ghost": false,
|
|
15
|
-
"serialEffect": "hidden"
|
|
15
|
+
"serialEffect": "hidden",
|
|
16
|
+
"advance": {
|
|
17
|
+
"events": {}
|
|
18
|
+
}
|
|
16
19
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{
|
|
17
17
|
"key": "title",
|
|
18
18
|
"name": "标题",
|
|
19
|
-
"type": "
|
|
19
|
+
"type": "_I18nInput",
|
|
20
20
|
"repositioning": true,
|
|
21
21
|
"default": "按钮"
|
|
22
22
|
},
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"default": false
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
"key": "
|
|
66
|
+
"key": "iconFont",
|
|
67
67
|
"name": "图标",
|
|
68
68
|
"type": "_Icon",
|
|
69
69
|
"next": {
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"autoClose": true,
|
|
72
72
|
"props": [
|
|
73
73
|
{
|
|
74
|
-
"key": "
|
|
75
|
-
"name": "
|
|
74
|
+
"key": "iconFont",
|
|
75
|
+
"name": "#图标选择器",
|
|
76
76
|
"type": "_IconSelector"
|
|
77
77
|
}
|
|
78
78
|
]
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
{
|
|
83
83
|
"key": "serials",
|
|
84
84
|
"name": "资源串",
|
|
85
|
-
"type": "
|
|
85
|
+
"type": "_SerialsSelector"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"key": "serialEffect",
|
|
89
|
-
"name": "
|
|
89
|
+
"name": "越权效果",
|
|
90
90
|
"type": "segmented",
|
|
91
91
|
"options": [
|
|
92
92
|
{
|
|
@@ -101,20 +101,20 @@
|
|
|
101
101
|
"default": "hidden"
|
|
102
102
|
}
|
|
103
103
|
],
|
|
104
|
-
"
|
|
104
|
+
"css": {},
|
|
105
105
|
"advance": {
|
|
106
106
|
"events": [
|
|
107
107
|
{
|
|
108
108
|
"key": "onMount",
|
|
109
109
|
"name": "组件首次渲染时",
|
|
110
110
|
"desc": "在组件首次渲染时,执行方法",
|
|
111
|
-
"func": "(
|
|
111
|
+
"func": "(instance)=>{\n\t\n}"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"key": "onUnmount",
|
|
115
115
|
"name": "组件卸载时",
|
|
116
116
|
"desc": "在组件卸载时,执行方法。",
|
|
117
|
-
"func": "(
|
|
117
|
+
"func": "(instance)=>{\n\t\n}"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"key": "onClick",
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
"group": "advance",
|
|
7
7
|
"groupName": "高级",
|
|
8
8
|
"order": 1,
|
|
9
|
-
"style": {},
|
|
10
9
|
"autoLoad": true,
|
|
11
10
|
"readOnly": false,
|
|
12
11
|
"isFlow": false,
|
|
@@ -14,5 +13,8 @@
|
|
|
14
13
|
"actionTitle": "操作列",
|
|
15
14
|
"actionWidth": 100,
|
|
16
15
|
"actionHidden": false,
|
|
17
|
-
"maxWebShownActionCount": 2
|
|
16
|
+
"maxWebShownActionCount": 2,
|
|
17
|
+
"advance": {
|
|
18
|
+
"events": {}
|
|
19
|
+
}
|
|
18
20
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"disabled": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"key": "
|
|
17
|
+
"key": "dataset",
|
|
18
18
|
"name": "首次数据自动加载",
|
|
19
19
|
"desc": "选择系统中的可用树形数据集",
|
|
20
20
|
"type": "_DataSetSelector"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"key": "actionTitle",
|
|
58
58
|
"name": "操作列标题",
|
|
59
59
|
"desc": "操作列的标题",
|
|
60
|
-
"type": "
|
|
60
|
+
"type": "_I18nInput",
|
|
61
61
|
"default": "操作列"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
@@ -94,7 +94,6 @@
|
|
|
94
94
|
"type": "_ActionSelector"
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
|
-
"style": {},
|
|
98
97
|
"advance": {
|
|
99
98
|
"events": [
|
|
100
99
|
{
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
"group": "basic",
|
|
7
7
|
"groupName": "基础",
|
|
8
8
|
"order": 1,
|
|
9
|
-
"style": {},
|
|
10
9
|
"title": "对话框",
|
|
11
10
|
"width": "700px",
|
|
12
11
|
"height": "60vh",
|
|
@@ -15,5 +14,8 @@
|
|
|
15
14
|
"defaultOpen": false,
|
|
16
15
|
"mask": false,
|
|
17
16
|
"keyboard": true,
|
|
18
|
-
"footer": true
|
|
17
|
+
"footer": true,
|
|
18
|
+
"advance": {
|
|
19
|
+
"events": {}
|
|
20
|
+
}
|
|
19
21
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"key": "title",
|
|
18
18
|
"name": "标题",
|
|
19
19
|
"desc": "对话框左上角的标题",
|
|
20
|
-
"type": "
|
|
20
|
+
"type": "_I18nInput",
|
|
21
21
|
"default": "对话框"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
@@ -83,7 +83,6 @@
|
|
|
83
83
|
"type": "_ActionSelector"
|
|
84
84
|
}
|
|
85
85
|
],
|
|
86
|
-
"style": {},
|
|
87
86
|
"advance": {
|
|
88
87
|
"events": [
|
|
89
88
|
{
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
"group": "basic",
|
|
7
7
|
"groupName": "基础",
|
|
8
8
|
"order": 1,
|
|
9
|
-
"style": {},
|
|
10
9
|
"title": "抽屉",
|
|
11
10
|
"width": 420,
|
|
12
11
|
"height": 360,
|
|
@@ -14,5 +13,8 @@
|
|
|
14
13
|
"mask": false,
|
|
15
14
|
"keyboard": true,
|
|
16
15
|
"placement": "right",
|
|
17
|
-
"footer": true
|
|
16
|
+
"footer": true,
|
|
17
|
+
"advance": {
|
|
18
|
+
"events": {}
|
|
19
|
+
}
|
|
18
20
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"key": "title",
|
|
18
18
|
"name": "标题",
|
|
19
19
|
"desc": "抽屉左上角的标题",
|
|
20
|
-
"type": "
|
|
20
|
+
"type": "_I18nInput",
|
|
21
21
|
"default": "抽屉"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
@@ -94,7 +94,6 @@
|
|
|
94
94
|
"type": "_ActionSelector"
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
|
-
"style": {},
|
|
98
97
|
"advance": {
|
|
99
98
|
"events": [
|
|
100
99
|
{
|
|
@@ -6,8 +6,56 @@
|
|
|
6
6
|
"group": "advance",
|
|
7
7
|
"groupName": "高级",
|
|
8
8
|
"order": 1,
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
9
|
+
"readOnly": false,
|
|
10
|
+
"showSave": true,
|
|
11
|
+
"saveTitle": "保存",
|
|
12
|
+
"settingLayout": "bottom",
|
|
13
|
+
"blocks": [
|
|
14
|
+
{
|
|
15
|
+
"id": "block_main",
|
|
16
|
+
"name": "主区块",
|
|
17
|
+
"type": "auto",
|
|
18
|
+
"serialEffect": "disable",
|
|
19
|
+
"mode": [
|
|
20
|
+
"add",
|
|
21
|
+
"update",
|
|
22
|
+
"edit",
|
|
23
|
+
"info"
|
|
24
|
+
],
|
|
25
|
+
"cols": 4,
|
|
26
|
+
"readOnly": false,
|
|
27
|
+
"order": 1
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"serialEffect": "hidden",
|
|
31
|
+
"header": "collapse",
|
|
32
|
+
"blockSettings": {
|
|
33
|
+
"form": {
|
|
34
|
+
"readOnly": false,
|
|
35
|
+
"col": 4
|
|
36
|
+
},
|
|
37
|
+
"table": {
|
|
38
|
+
"readOnly": false,
|
|
39
|
+
"suppressPreset": false,
|
|
40
|
+
"height": "100%",
|
|
41
|
+
"bordered": false,
|
|
42
|
+
"popTitleKey": "title",
|
|
43
|
+
"draggable": false,
|
|
44
|
+
"orderByAdd": "asc",
|
|
45
|
+
"suppressActions": false,
|
|
46
|
+
"actionsColumnWidth": 160
|
|
47
|
+
},
|
|
48
|
+
"uploadForm": {
|
|
49
|
+
"readOnly": false,
|
|
50
|
+
"suppressPreset": false,
|
|
51
|
+
"height": "300px",
|
|
52
|
+
"bordered": false,
|
|
53
|
+
"showNote": false,
|
|
54
|
+
"zipName": "download",
|
|
55
|
+
"useResetActions": false
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"advance": {
|
|
59
|
+
"events": {}
|
|
60
|
+
}
|
|
13
61
|
}
|