@luck-design-biz/luckda 1.0.1-1 → 1.0.1-10
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/LICENSE +21 -21
- package/README.md +40 -40
- package/es/components/LDActions/index.less +68 -68
- package/es/components/LdFormList/index.js +9 -5
- package/es/components/LdGrid/index.js +4 -4
- package/es/components/LdGridForm/index.js +40 -24
- package/es/components/LdGridForm/index.less +7 -7
- package/es/components/LdTree/index.less +40 -40
- package/es/helper/action.js +6 -6
- package/es/helper/form.js +14 -14
- package/es/helper/index.less +7 -7
- package/es/locales/zh-CN.js +3 -3
- package/es/lowcode/constants/api-url.js +87 -87
- package/es/lowcode/engine/meta/cardlist.props.default.json +1 -0
- package/es/lowcode/engine/meta/cardlist.props.json +2 -1
- package/es/lowcode/engine/meta/components-list.json +6 -126
- package/es/lowcode/engine/meta/dialog.props.default.json +4 -2
- package/es/lowcode/engine/meta/dialog.props.json +74 -18
- package/es/lowcode/engine/meta/drawer.props.default.json +15 -4
- package/es/lowcode/engine/meta/drawer.props.json +144 -24
- package/es/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
- package/es/lowcode/engine/meta/fielddatadic.props.json +73 -0
- package/es/lowcode/engine/meta/form.props.default.json +1 -0
- package/es/lowcode/engine/meta/form.props.json +2 -1
- package/es/lowcode/engine/meta/grouptree.props.default.json +16 -0
- package/es/lowcode/engine/meta/grouptree.props.json +89 -0
- package/es/lowcode/engine/meta/iframe.props.default.json +1 -0
- package/es/lowcode/engine/meta/iframe.props.json +2 -1
- package/es/lowcode/engine/meta/image.props.default.json +1 -0
- package/es/lowcode/engine/meta/image.props.json +2 -1
- package/es/lowcode/engine/meta/imex.props.json +1 -1
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +35 -30
- package/es/lowcode/engine/meta/link.props.default.json +1 -0
- package/es/lowcode/engine/meta/link.props.json +2 -1
- package/es/lowcode/engine/meta/table.props.json +1 -1
- package/es/lowcode/engine/meta/tree.props.json +2 -2
- package/es/lowcode/engine/provider/ContextProvider/index.js +44 -44
- package/es/lowcode/engine/tools/dataProcess.js +76 -76
- package/es/lowcode/engine/tools/helper.js +21 -0
- package/es/lowcode/engine/tools/useCanvasRender.js +13 -1
- package/es/lowcode/painter/Components.js +2 -2
- package/es/lowcode/painter/Design.js +1 -0
- package/es/lowcode/painter/DesignOperator.js +15 -10
- package/es/lowcode/painter/components/Collapse.js +26 -26
- package/es/lowcode/painter/components/ColorInput.js +24 -24
- package/es/lowcode/painter/components/ListEditor.js +24 -24
- package/es/lowcode/painter/components/NumberInput.js +29 -29
- package/es/lowcode/painter/components/PanelItem.js +24 -24
- package/es/lowcode/painter/components/PopConfirm.js +8 -8
- package/es/lowcode/painter/components/PopForm.js +27 -27
- package/es/lowcode/painter/components/RuleInput.js +30 -30
- package/es/lowcode/painter/components/SortBox.js +22 -22
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
- package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
- package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
- package/es/lowcode/painter/components/code-editor/JSEditor.js +20 -20
- package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
- package/es/lowcode/painter/components/field-setting/SettingUI.js +8 -4
- package/es/lowcode/painter/panel-section/GroupClassSelector.js +55 -0
- package/es/lowcode/painter/panel-section/Icon.js +23 -23
- package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
- package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
- package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
- package/es/lowcode/painter/style/action-bind-modal.less +102 -102
- package/es/lowcode/painter/style/actions-editor.less +15 -15
- package/es/lowcode/painter/style/border-editor.less +36 -36
- package/es/lowcode/painter/style/border-radius-selector.less +42 -42
- package/es/lowcode/painter/style/border-selector.less +39 -39
- package/es/lowcode/painter/style/button-type.less +5 -5
- package/es/lowcode/painter/style/collapse.less +28 -28
- package/es/lowcode/painter/style/color-input.less +19 -19
- package/es/lowcode/painter/style/components.less +91 -91
- package/es/lowcode/painter/style/design.less +166 -160
- package/es/lowcode/painter/style/display.less +17 -17
- package/es/lowcode/painter/style/dragdrop.less +10 -10
- package/es/lowcode/painter/style/fields-setting.less +25 -25
- package/es/lowcode/painter/style/font-editor.less +9 -9
- package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
- package/es/lowcode/painter/style/icon-selector.less +22 -22
- package/es/lowcode/painter/style/icon.less +10 -10
- package/es/lowcode/painter/style/impexp.less +7 -7
- package/es/lowcode/painter/style/index.less +6 -6
- package/es/lowcode/painter/style/layout-ratio.less +51 -51
- package/es/lowcode/painter/style/list-editor.less +95 -95
- package/es/lowcode/painter/style/number-input.less +17 -17
- package/es/lowcode/painter/style/outline.less +28 -28
- package/es/lowcode/painter/style/page-layout-display.less +27 -27
- package/es/lowcode/painter/style/page-vars.less +25 -25
- package/es/lowcode/painter/style/panel-attrs.less +43 -43
- package/es/lowcode/painter/style/panel-item.less +54 -54
- package/es/lowcode/painter/style/panel.less +98 -98
- package/es/lowcode/painter/style/pop-confirm.less +17 -17
- package/es/lowcode/painter/style/pop-form.less +19 -19
- package/es/lowcode/painter/style/radio.less +24 -24
- package/es/lowcode/painter/style/ribbon.less +5 -5
- package/es/lowcode/painter/style/rule-input.less +12 -12
- package/es/lowcode/painter/style/split-display.less +18 -18
- package/es/lowcode/painter/style/style-panel.less +37 -37
- package/es/lowcode/painter/style/tabitems.less +90 -90
- package/es/lowcode/painter/style/treedragdrop.less +19 -19
- package/es/lowcode/view/lc-components/Box/index.js +4 -4
- package/es/lowcode/view/lc-components/Box/index.less +14 -14
- package/es/lowcode/view/lc-components/Box/meta.json +40 -40
- package/es/lowcode/view/lc-components/Button/index.js +33 -33
- package/es/lowcode/view/lc-components/Button/meta.json +127 -127
- package/es/lowcode/view/lc-components/Button/style.less +2 -2
- package/es/lowcode/view/lc-components/CardList/meta.json +154 -153
- package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +14 -6
- package/es/lowcode/view/lc-components/Dialog/index.js +28 -18
- package/es/lowcode/view/lc-components/Dialog/index.less +12 -8
- package/es/lowcode/view/lc-components/Dialog/meta.json +204 -150
- package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +51 -8
- package/es/lowcode/view/lc-components/Drawer/index.js +149 -34
- package/es/lowcode/view/lc-components/Drawer/index.less +13 -10
- package/es/lowcode/view/lc-components/Drawer/meta.json +242 -131
- package/es/lowcode/view/lc-components/FieldColor/meta.json +157 -157
- package/es/lowcode/view/lc-components/FieldComplex/meta.json +140 -140
- package/es/lowcode/view/lc-components/FieldDate/meta.json +141 -141
- package/es/lowcode/view/lc-components/FieldDict/meta.json +138 -138
- package/es/lowcode/view/lc-components/FieldEditor/meta.json +138 -138
- package/es/lowcode/view/lc-components/FieldGroup/meta.json +167 -167
- package/es/lowcode/view/lc-components/FieldNumber/meta.json +143 -143
- package/es/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
- package/es/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
- package/es/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
- package/es/lowcode/view/lc-components/FieldString/meta.json +152 -152
- package/es/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
- package/es/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
- package/es/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
- package/es/lowcode/view/lc-components/FieldUser/meta.json +176 -176
- package/es/lowcode/view/lc-components/FieldYear/meta.json +129 -129
- package/es/lowcode/view/lc-components/Form/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Form/index.js +42 -33
- package/es/lowcode/view/lc-components/Form/meta.json +645 -644
- package/es/lowcode/view/lc-components/GroupTree/FunctionDesign.js +10 -0
- package/es/lowcode/view/lc-components/GroupTree/FunctionLive.js +10 -0
- package/es/lowcode/view/lc-components/GroupTree/FunctionPreview.js +10 -0
- package/es/lowcode/view/lc-components/GroupTree/index.js +201 -0
- package/es/lowcode/view/lc-components/GroupTree/meta.json +89 -0
- package/es/lowcode/view/lc-components/Iframe/meta.json +33 -32
- package/es/lowcode/view/lc-components/ImEx/index.js +25 -25
- package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
- package/es/lowcode/view/lc-components/ImEx/meta.json +134 -134
- package/es/lowcode/view/lc-components/Image/meta.json +115 -114
- package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
- package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
- package/es/lowcode/view/lc-components/Layout/index.js +16 -16
- package/es/lowcode/view/lc-components/Layout/index.less +5 -5
- package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
- package/es/lowcode/view/lc-components/Link/meta.json +113 -112
- package/es/lowcode/view/lc-components/Page/meta.json +61 -61
- package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageLayout/meta.json +59 -59
- package/es/lowcode/view/lc-components/Section/index.less +7 -7
- package/es/lowcode/view/lc-components/Section/meta.json +108 -108
- package/es/lowcode/view/lc-components/Split/meta.json +53 -53
- package/es/lowcode/view/lc-components/Table/index.js +149 -148
- package/es/lowcode/view/lc-components/Table/meta.json +450 -450
- package/es/lowcode/view/lc-components/Tabs/index.js +23 -23
- package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
- package/es/lowcode/view/lc-components/Text/meta.json +56 -56
- package/es/lowcode/view/lc-components/Tree/index.js +102 -107
- package/es/lowcode/view/lc-components/Tree/index.less +4 -4
- package/es/lowcode/view/lc-components/Tree/meta.json +357 -357
- package/es/lowcode/view/style/canvas.less +5 -5
- package/es/lowcode/view/style/loading.less +98 -98
- package/es/lowcode/view/style/page.less +7 -7
- package/es/upload/FilesWall/index.js +13 -13
- package/es/upload/FilesWall/index.less +74 -74
- package/es/upload/Form/index.less +7 -7
- package/es/upload/FormItem/index.js +15 -15
- package/es/utils/form.js +21 -21
- package/es/utils/grid.js +3 -3
- package/lib/components/LDActions/index.less +68 -68
- package/lib/components/LdFormList/index.js +8 -4
- package/lib/components/LdGrid/index.js +4 -4
- package/lib/components/LdGridForm/index.js +40 -24
- package/lib/components/LdGridForm/index.less +7 -7
- package/lib/components/LdTree/index.less +40 -40
- package/lib/helper/action.js +6 -6
- package/lib/helper/form.js +14 -14
- package/lib/helper/index.less +7 -7
- package/lib/locales/zh-CN.js +3 -3
- package/lib/lowcode/constants/api-url.js +87 -87
- package/lib/lowcode/engine/meta/cardlist.props.default.json +1 -0
- package/lib/lowcode/engine/meta/cardlist.props.json +2 -1
- package/lib/lowcode/engine/meta/components-list.json +6 -126
- package/lib/lowcode/engine/meta/dialog.props.default.json +4 -2
- package/lib/lowcode/engine/meta/dialog.props.json +74 -18
- package/lib/lowcode/engine/meta/drawer.props.default.json +15 -4
- package/lib/lowcode/engine/meta/drawer.props.json +144 -24
- package/lib/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
- package/lib/lowcode/engine/meta/fielddatadic.props.json +73 -0
- package/lib/lowcode/engine/meta/form.props.default.json +1 -0
- package/lib/lowcode/engine/meta/form.props.json +2 -1
- package/lib/lowcode/engine/meta/grouptree.props.default.json +16 -0
- package/lib/lowcode/engine/meta/grouptree.props.json +89 -0
- package/lib/lowcode/engine/meta/iframe.props.default.json +1 -0
- package/lib/lowcode/engine/meta/iframe.props.json +2 -1
- package/lib/lowcode/engine/meta/image.props.default.json +1 -0
- package/lib/lowcode/engine/meta/image.props.json +2 -1
- package/lib/lowcode/engine/meta/imex.props.json +1 -1
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +35 -30
- package/lib/lowcode/engine/meta/link.props.default.json +1 -0
- package/lib/lowcode/engine/meta/link.props.json +2 -1
- package/lib/lowcode/engine/meta/table.props.json +1 -1
- package/lib/lowcode/engine/meta/tree.props.json +2 -2
- package/lib/lowcode/engine/provider/ContextProvider/index.js +44 -44
- package/lib/lowcode/engine/tools/dataProcess.js +76 -76
- package/lib/lowcode/engine/tools/helper.js +22 -0
- package/lib/lowcode/engine/tools/useCanvasRender.js +13 -1
- package/lib/lowcode/painter/Components.js +2 -2
- package/lib/lowcode/painter/Design.js +1 -0
- package/lib/lowcode/painter/DesignOperator.js +15 -10
- package/lib/lowcode/painter/components/Collapse.js +26 -26
- package/lib/lowcode/painter/components/ColorInput.js +24 -24
- package/lib/lowcode/painter/components/ListEditor.js +24 -24
- package/lib/lowcode/painter/components/NumberInput.js +29 -29
- package/lib/lowcode/painter/components/PanelItem.js +24 -24
- package/lib/lowcode/painter/components/PopConfirm.js +8 -8
- package/lib/lowcode/painter/components/PopForm.js +27 -27
- package/lib/lowcode/painter/components/RuleInput.js +30 -30
- package/lib/lowcode/painter/components/SortBox.js +22 -22
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
- package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
- package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +20 -20
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
- package/lib/lowcode/painter/components/field-setting/SettingUI.js +8 -4
- package/lib/lowcode/painter/panel-section/GroupClassSelector.js +63 -0
- package/lib/lowcode/painter/panel-section/Icon.js +23 -23
- package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
- package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
- package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
- package/lib/lowcode/painter/style/action-bind-modal.less +102 -102
- package/lib/lowcode/painter/style/actions-editor.less +15 -15
- package/lib/lowcode/painter/style/border-editor.less +36 -36
- package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
- package/lib/lowcode/painter/style/border-selector.less +39 -39
- package/lib/lowcode/painter/style/button-type.less +5 -5
- package/lib/lowcode/painter/style/collapse.less +28 -28
- package/lib/lowcode/painter/style/color-input.less +19 -19
- package/lib/lowcode/painter/style/components.less +91 -91
- package/lib/lowcode/painter/style/design.less +166 -160
- package/lib/lowcode/painter/style/display.less +17 -17
- package/lib/lowcode/painter/style/dragdrop.less +10 -10
- package/lib/lowcode/painter/style/fields-setting.less +25 -25
- package/lib/lowcode/painter/style/font-editor.less +9 -9
- package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
- package/lib/lowcode/painter/style/icon-selector.less +22 -22
- package/lib/lowcode/painter/style/icon.less +10 -10
- package/lib/lowcode/painter/style/impexp.less +7 -7
- package/lib/lowcode/painter/style/index.less +6 -6
- package/lib/lowcode/painter/style/layout-ratio.less +51 -51
- package/lib/lowcode/painter/style/list-editor.less +95 -95
- package/lib/lowcode/painter/style/number-input.less +17 -17
- package/lib/lowcode/painter/style/outline.less +28 -28
- package/lib/lowcode/painter/style/page-layout-display.less +27 -27
- package/lib/lowcode/painter/style/page-vars.less +25 -25
- package/lib/lowcode/painter/style/panel-attrs.less +43 -43
- package/lib/lowcode/painter/style/panel-item.less +54 -54
- package/lib/lowcode/painter/style/panel.less +98 -98
- package/lib/lowcode/painter/style/pop-confirm.less +17 -17
- package/lib/lowcode/painter/style/pop-form.less +19 -19
- package/lib/lowcode/painter/style/radio.less +24 -24
- package/lib/lowcode/painter/style/ribbon.less +5 -5
- package/lib/lowcode/painter/style/rule-input.less +12 -12
- package/lib/lowcode/painter/style/split-display.less +18 -18
- package/lib/lowcode/painter/style/style-panel.less +37 -37
- package/lib/lowcode/painter/style/tabitems.less +90 -90
- package/lib/lowcode/painter/style/treedragdrop.less +19 -19
- package/lib/lowcode/view/lc-components/Box/index.js +4 -4
- package/lib/lowcode/view/lc-components/Box/index.less +14 -14
- package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
- package/lib/lowcode/view/lc-components/Button/index.js +33 -33
- package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
- package/lib/lowcode/view/lc-components/Button/style.less +2 -2
- package/lib/lowcode/view/lc-components/CardList/meta.json +154 -153
- package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +13 -5
- package/lib/lowcode/view/lc-components/Dialog/index.js +28 -18
- package/lib/lowcode/view/lc-components/Dialog/index.less +12 -8
- package/lib/lowcode/view/lc-components/Dialog/meta.json +204 -150
- package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +52 -8
- package/lib/lowcode/view/lc-components/Drawer/index.js +148 -33
- package/lib/lowcode/view/lc-components/Drawer/index.less +13 -10
- package/lib/lowcode/view/lc-components/Drawer/meta.json +242 -131
- package/lib/lowcode/view/lc-components/FieldColor/meta.json +157 -157
- package/lib/lowcode/view/lc-components/FieldComplex/meta.json +140 -140
- package/lib/lowcode/view/lc-components/FieldDate/meta.json +141 -141
- package/lib/lowcode/view/lc-components/FieldDict/meta.json +138 -138
- package/lib/lowcode/view/lc-components/FieldEditor/meta.json +138 -138
- package/lib/lowcode/view/lc-components/FieldGroup/meta.json +167 -167
- package/lib/lowcode/view/lc-components/FieldNumber/meta.json +143 -143
- package/lib/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
- package/lib/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
- package/lib/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
- package/lib/lowcode/view/lc-components/FieldString/meta.json +152 -152
- package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
- package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
- package/lib/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
- package/lib/lowcode/view/lc-components/FieldUser/meta.json +176 -176
- package/lib/lowcode/view/lc-components/FieldYear/meta.json +129 -129
- package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Form/index.js +42 -33
- package/lib/lowcode/view/lc-components/Form/meta.json +645 -644
- package/lib/lowcode/view/lc-components/GroupTree/FunctionDesign.js +17 -0
- package/lib/lowcode/view/lc-components/GroupTree/FunctionLive.js +17 -0
- package/lib/lowcode/view/lc-components/GroupTree/FunctionPreview.js +17 -0
- package/lib/lowcode/view/lc-components/GroupTree/index.js +209 -0
- package/lib/lowcode/view/lc-components/GroupTree/meta.json +89 -0
- package/lib/lowcode/view/lc-components/Iframe/meta.json +33 -32
- package/lib/lowcode/view/lc-components/ImEx/index.js +25 -25
- package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
- package/lib/lowcode/view/lc-components/ImEx/meta.json +134 -134
- package/lib/lowcode/view/lc-components/Image/meta.json +115 -114
- package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
- package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
- package/lib/lowcode/view/lc-components/Layout/index.js +16 -16
- package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
- package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
- package/lib/lowcode/view/lc-components/Link/meta.json +113 -112
- package/lib/lowcode/view/lc-components/Page/meta.json +61 -61
- package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageLayout/meta.json +59 -59
- package/lib/lowcode/view/lc-components/Section/index.less +7 -7
- package/lib/lowcode/view/lc-components/Section/meta.json +108 -108
- package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
- package/lib/lowcode/view/lc-components/Table/index.js +149 -148
- package/lib/lowcode/view/lc-components/Table/meta.json +450 -450
- package/lib/lowcode/view/lc-components/Tabs/index.js +23 -23
- package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
- package/lib/lowcode/view/lc-components/Text/meta.json +56 -56
- package/lib/lowcode/view/lc-components/Tree/index.js +102 -107
- package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
- package/lib/lowcode/view/lc-components/Tree/meta.json +357 -357
- package/lib/lowcode/view/style/canvas.less +5 -5
- package/lib/lowcode/view/style/loading.less +98 -98
- package/lib/lowcode/view/style/page.less +7 -7
- package/lib/upload/FilesWall/index.js +13 -13
- package/lib/upload/FilesWall/index.less +74 -74
- package/lib/upload/Form/index.less +7 -7
- package/lib/upload/FormItem/index.js +15 -15
- package/lib/utils/form.js +21 -21
- package/lib/utils/grid.js +2 -2
- package/lowcode.js +1 -1
- package/package.json +175 -175
- package/upload.js +1 -1
- package/utils.js +1 -1
- package/es/lowcode/view/lc-components/Form/index.less +0 -5
- package/lib/lowcode/view/lc-components/Form/index.less +0 -5
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"props": [
|
|
10
10
|
{
|
|
11
11
|
"key": "id",
|
|
12
|
-
"
|
|
12
|
+
"name": "唯一标识",
|
|
13
13
|
"type": "string",
|
|
14
14
|
"disabled": true
|
|
15
15
|
},
|
|
@@ -23,43 +23,133 @@
|
|
|
23
23
|
{
|
|
24
24
|
"key": "width",
|
|
25
25
|
"name": "宽度",
|
|
26
|
-
"desc": "
|
|
27
|
-
"type": "
|
|
28
|
-
"
|
|
26
|
+
"desc": "抽屉的宽度(仅在弹出位置为左侧和右侧时有效)",
|
|
27
|
+
"type": "_WidthHeight",
|
|
28
|
+
"options": [
|
|
29
|
+
{
|
|
30
|
+
"label": "px",
|
|
31
|
+
"value": "px"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"label": "%",
|
|
35
|
+
"value": "%"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"label": "vw",
|
|
39
|
+
"value": "vw"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"label": "A",
|
|
43
|
+
"value": "auto"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"default": "420px"
|
|
29
47
|
},
|
|
30
48
|
{
|
|
31
49
|
"key": "height",
|
|
32
50
|
"name": "高度",
|
|
33
|
-
"desc": "
|
|
34
|
-
"type": "
|
|
35
|
-
"
|
|
51
|
+
"desc": "抽屉的高度(仅在弹出位置为顶部和底部时有效)",
|
|
52
|
+
"type": "_WidthHeight",
|
|
53
|
+
"options": [
|
|
54
|
+
{
|
|
55
|
+
"label": "px",
|
|
56
|
+
"value": "px"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"label": "%",
|
|
60
|
+
"value": "%"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"label": "vw",
|
|
64
|
+
"value": "vw"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"label": "A",
|
|
68
|
+
"value": "auto"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"default": "256px"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"key": "padding",
|
|
75
|
+
"name": "内边距",
|
|
76
|
+
"type": "select",
|
|
77
|
+
"options": [
|
|
78
|
+
{
|
|
79
|
+
"label": "大(24px)",
|
|
80
|
+
"value": 24
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"label": "中(16px)",
|
|
84
|
+
"value": 16
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"label": "小(8px)",
|
|
88
|
+
"value": 8
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"label": "无(0px)",
|
|
92
|
+
"value": 0
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"default": 16
|
|
36
96
|
},
|
|
37
97
|
{
|
|
38
98
|
"key": "defaultOpen",
|
|
39
99
|
"name": "默认显示",
|
|
40
|
-
"
|
|
41
|
-
"type": "boolean",
|
|
100
|
+
"type": "switch",
|
|
42
101
|
"default": false
|
|
43
102
|
},
|
|
103
|
+
{
|
|
104
|
+
"key": "header",
|
|
105
|
+
"name": "显示Header",
|
|
106
|
+
"type": "switch",
|
|
107
|
+
"default": true
|
|
108
|
+
},
|
|
44
109
|
{
|
|
45
110
|
"key": "mask",
|
|
46
111
|
"name": "显示遮罩",
|
|
47
112
|
"desc": "是否展示遮罩",
|
|
48
|
-
"type": "
|
|
49
|
-
"default":
|
|
113
|
+
"type": "switch",
|
|
114
|
+
"default": true
|
|
50
115
|
},
|
|
51
116
|
{
|
|
52
|
-
"key": "
|
|
53
|
-
"name": "
|
|
54
|
-
"desc": "
|
|
55
|
-
"type": "
|
|
117
|
+
"key": "closable",
|
|
118
|
+
"name": "关闭按钮",
|
|
119
|
+
"desc": "是否显示右上角的关闭按钮",
|
|
120
|
+
"type": "switch",
|
|
56
121
|
"default": true
|
|
57
122
|
},
|
|
123
|
+
{
|
|
124
|
+
"key": "destroyOnClose",
|
|
125
|
+
"name": "关闭销毁",
|
|
126
|
+
"desc": "关闭时销毁对话框里的子元素",
|
|
127
|
+
"type": "switch",
|
|
128
|
+
"default": false
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"key": "closeType",
|
|
132
|
+
"name": "关闭方式",
|
|
133
|
+
"type": "checkbox",
|
|
134
|
+
"options": [
|
|
135
|
+
{
|
|
136
|
+
"label": "点击遮罩",
|
|
137
|
+
"value": "maskClosable"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"label": "ESC",
|
|
141
|
+
"value": "keyboard"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"defaultValue": [
|
|
145
|
+
"maskClosable"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
58
148
|
{
|
|
59
149
|
"key": "placement",
|
|
60
150
|
"name": "弹出位置",
|
|
61
151
|
"desc": "抽屉的方向",
|
|
62
|
-
"type": "
|
|
152
|
+
"type": "segmented",
|
|
63
153
|
"options": [
|
|
64
154
|
{
|
|
65
155
|
"label": "顶部",
|
|
@@ -78,20 +168,50 @@
|
|
|
78
168
|
"value": "left"
|
|
79
169
|
}
|
|
80
170
|
],
|
|
81
|
-
"default": "right"
|
|
171
|
+
"default": "right",
|
|
172
|
+
"repositioning": true
|
|
82
173
|
},
|
|
83
174
|
{
|
|
84
|
-
"key": "
|
|
85
|
-
"name": "
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
175
|
+
"key": "footerSetting",
|
|
176
|
+
"name": "底部按钮配置",
|
|
177
|
+
"type": "group",
|
|
178
|
+
"props": [
|
|
179
|
+
{
|
|
180
|
+
"key": "footer",
|
|
181
|
+
"name": "显示footer",
|
|
182
|
+
"desc": "是否显示底部按钮区域",
|
|
183
|
+
"type": "switch",
|
|
184
|
+
"default": true
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"key": "okText",
|
|
188
|
+
"name": "确认文字",
|
|
189
|
+
"type": "_I18nInput",
|
|
190
|
+
"default": "确定"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"key": "cancelText",
|
|
194
|
+
"name": "取消文字",
|
|
195
|
+
"type": "_I18nInput",
|
|
196
|
+
"default": "取消"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
89
199
|
},
|
|
90
200
|
{
|
|
91
201
|
"key": "btnGroup",
|
|
92
202
|
"name": "按钮组",
|
|
93
|
-
"desc": "
|
|
94
|
-
"type": "
|
|
203
|
+
"desc": "底部按钮区域的按钮组",
|
|
204
|
+
"type": "_ActionsEditor",
|
|
205
|
+
"default": {
|
|
206
|
+
"display": "button",
|
|
207
|
+
"max": 2,
|
|
208
|
+
"moreText": "操作",
|
|
209
|
+
"todoList": []
|
|
210
|
+
},
|
|
211
|
+
"wrapper": "collapse",
|
|
212
|
+
"wrapperProps": {
|
|
213
|
+
"suppressIcon": true
|
|
214
|
+
}
|
|
95
215
|
}
|
|
96
216
|
],
|
|
97
217
|
"advance": {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldDatadic",
|
|
3
|
+
"name": "数据字典",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "数据字典类型表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"display": "select",
|
|
10
|
+
"multiple": false,
|
|
11
|
+
"isTree": false,
|
|
12
|
+
"allowClear": false,
|
|
13
|
+
"advance": {
|
|
14
|
+
"events": {}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldDatadic",
|
|
3
|
+
"name": "数据字典",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "数据字典类型表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "alias",
|
|
12
|
+
"name": "字典key",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"key": "valueField",
|
|
17
|
+
"name": "实际值字段",
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"key": "labelField",
|
|
22
|
+
"name": "翻译值字段",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "display",
|
|
27
|
+
"name": "展现形式",
|
|
28
|
+
"type": "segmented",
|
|
29
|
+
"options": [
|
|
30
|
+
{
|
|
31
|
+
"label": "Select",
|
|
32
|
+
"value": "select"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"label": "Radio",
|
|
36
|
+
"value": "radio"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"default": "select"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"key": "multiple",
|
|
43
|
+
"name": "多选",
|
|
44
|
+
"desc": "仅在展现形式为Select时有效",
|
|
45
|
+
"type": "switch",
|
|
46
|
+
"default": false
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"key": "isTree",
|
|
50
|
+
"name": "树形结构",
|
|
51
|
+
"desc": "用于规定树形结构的数据字典,仅在展现形式为Select时有效",
|
|
52
|
+
"type": "switch",
|
|
53
|
+
"default": false
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"key": "allowClear",
|
|
57
|
+
"name": "允许清除",
|
|
58
|
+
"desc": "仅在展现形式为Select时有效",
|
|
59
|
+
"type": "switch",
|
|
60
|
+
"default": false
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"advance": {
|
|
64
|
+
"events": [
|
|
65
|
+
{
|
|
66
|
+
"key": "onChange",
|
|
67
|
+
"name": "数据变化事件",
|
|
68
|
+
"desc": "在数据变化事件时,执行方法",
|
|
69
|
+
"func": "function onChange(data) {\n\t\n}"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "GroupTree",
|
|
3
|
+
"name": "组织树",
|
|
4
|
+
"desc": "用于展示组织维度层级结构的数据。它提供了层级结构、节点展开/折叠、节点选择、节点操作和展示样式等功能。",
|
|
5
|
+
"icon": "icon-tree",
|
|
6
|
+
"group": "advance",
|
|
7
|
+
"groupName": "高级",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"css": "width: 100%; height: 100%;",
|
|
10
|
+
"defaultExpandAll": true,
|
|
11
|
+
"onlySelectLeaf": true,
|
|
12
|
+
"cancelSelect": false,
|
|
13
|
+
"advance": {
|
|
14
|
+
"events": {}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "GroupTree",
|
|
3
|
+
"name": "组织树",
|
|
4
|
+
"desc": "用于展示组织维度层级结构的数据。它提供了层级结构、节点展开/折叠、节点选择、节点操作和展示样式等功能。",
|
|
5
|
+
"icon": "icon-tree",
|
|
6
|
+
"group": "advance",
|
|
7
|
+
"groupName": "高级",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"name": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "title",
|
|
18
|
+
"name": "标题",
|
|
19
|
+
"desc": "头部标题",
|
|
20
|
+
"type": "_I18nInput"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"key": "groupClass",
|
|
24
|
+
"name": "组维度",
|
|
25
|
+
"type": "_GroupClassSelector"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"key": "defaultExpandAll",
|
|
29
|
+
"name": "默认展开全部",
|
|
30
|
+
"type": "switch",
|
|
31
|
+
"default": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "onlySelectLeaf",
|
|
35
|
+
"name": "仅叶子可选",
|
|
36
|
+
"desc": "仅叶子节点可被选中,父节点不可选中",
|
|
37
|
+
"type": "switch",
|
|
38
|
+
"default": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"key": "cancelSelect",
|
|
42
|
+
"name": "允许取消选中",
|
|
43
|
+
"desc": "是否可以取消选中",
|
|
44
|
+
"type": "switch",
|
|
45
|
+
"default": false
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"key": "defaultSelect",
|
|
49
|
+
"name": "默认选中",
|
|
50
|
+
"desc": "返回默认选中的数据主键",
|
|
51
|
+
"type": "_JSEditor",
|
|
52
|
+
"defaultCode": "function defaultSelect(treeData, firstNode) { \n return firstNode.id; \n}",
|
|
53
|
+
"mustConfirm": true,
|
|
54
|
+
"wrapper": "collapse",
|
|
55
|
+
"wrapperProps": {
|
|
56
|
+
"suppressIcon": true
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"css": "width: 100%; height: 100%;",
|
|
61
|
+
"advance": {
|
|
62
|
+
"events": [
|
|
63
|
+
{
|
|
64
|
+
"key": "onMount",
|
|
65
|
+
"name": "组件首次渲染时",
|
|
66
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
67
|
+
"func": "function onMount(params) {\n\t\n}"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"key": "onUnmount",
|
|
71
|
+
"name": "组件卸载时",
|
|
72
|
+
"desc": "在组件卸载时,执行方法。",
|
|
73
|
+
"func": "function onUnmount() {\n\t\n}"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"key": "onDoubleClick",
|
|
77
|
+
"name": "双击事件",
|
|
78
|
+
"desc": "树节点双击事件",
|
|
79
|
+
"func": "function onDoubleClick(e, rowData) {\n\t\n}"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"key": "onSelect",
|
|
83
|
+
"name": "选中事件",
|
|
84
|
+
"desc": "节点选中事件",
|
|
85
|
+
"func": "function onSelect(checkedKeys, e) {\n\t\n}"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|