@luck-design-biz/luckda 0.0.25-1 → 0.0.25-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/es/components/ComplexItem/index.js +92 -0
- package/es/{lowcode/painter/services/toolbar.js → components/ComplexItem/service.js} +7 -11
- package/es/components/LDActions/index.js +8 -10
- package/es/components/LDActions/index.less +7 -4
- package/es/components/LdAutoForm/index.js +34 -11
- package/es/components/LdFormList/index.js +39 -23
- package/es/components/LdGrid/index.js +21 -7
- package/es/components/LdGridForm/index.js +32 -11
- package/es/components/LdTree/index.js +33 -15
- package/es/helper/FromItems.js +177 -94
- package/es/helper/form.js +55 -14
- package/es/helper/props_config.js +17 -0
- package/es/locales/zh-CN.js +26 -11
- package/es/lowcode/constants/api-url.js +354 -104
- package/es/lowcode/constants/event-topics.js +2 -0
- package/es/lowcode/constants/index.js +4 -2
- package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +5 -2
- package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +1 -1
- package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +5 -2
- package/es/lowcode/engine/meta/box.props.default.json +1 -1
- package/es/lowcode/engine/meta/box.props.json +4 -4
- package/es/lowcode/engine/meta/button.props.json +4 -4
- package/es/lowcode/engine/meta/cardlist.props.json +14 -4
- package/es/lowcode/engine/meta/components-list.json +109 -1
- package/es/lowcode/engine/meta/dialog.props.default.json +11 -5
- package/es/lowcode/engine/meta/dialog.props.json +80 -43
- package/es/lowcode/engine/meta/drawer.props.json +9 -21
- package/es/lowcode/engine/meta/fieldcolor.props.default.json +14 -0
- package/es/lowcode/engine/meta/fieldcolor.props.json +63 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.json +39 -0
- package/es/lowcode/engine/meta/fielddate.props.default.json +12 -0
- package/es/lowcode/engine/meta/fielddate.props.json +47 -0
- package/es/lowcode/engine/meta/fielddict.props.default.json +14 -0
- package/es/lowcode/engine/meta/fielddict.props.json +44 -0
- package/es/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
- package/es/lowcode/engine/meta/fieldeditor.props.json +44 -0
- package/es/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
- package/es/lowcode/engine/meta/fieldgroup.props.json +73 -0
- package/es/lowcode/engine/meta/fieldnumber.props.default.json +14 -0
- package/es/lowcode/engine/meta/fieldnumber.props.json +48 -0
- package/es/lowcode/engine/meta/fieldradio.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldradio.props.json +20 -0
- package/es/lowcode/engine/meta/fieldregion.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldregion.props.json +26 -0
- package/es/lowcode/engine/meta/fieldselect.props.default.json +14 -0
- package/es/lowcode/engine/meta/fieldselect.props.json +58 -0
- package/es/lowcode/engine/meta/fieldstring.props.default.json +16 -0
- package/es/lowcode/engine/meta/fieldstring.props.json +62 -0
- package/es/lowcode/engine/meta/fieldswitch.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldswitch.props.json +31 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.default.json +13 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.json +49 -0
- package/es/lowcode/engine/meta/fieldupload.props.default.json +15 -0
- package/es/lowcode/engine/meta/fieldupload.props.json +71 -0
- package/es/lowcode/engine/meta/fielduser.props.default.json +16 -0
- package/es/lowcode/engine/meta/fielduser.props.json +82 -0
- package/es/lowcode/engine/meta/fieldyear.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldyear.props.json +20 -0
- package/es/lowcode/engine/meta/form.props.default.json +4 -5
- package/es/lowcode/engine/meta/form.props.json +44 -35
- package/es/lowcode/engine/meta/image.props.json +2 -2
- package/es/lowcode/engine/meta/imex.props.default.json +8 -1
- package/es/lowcode/engine/meta/imex.props.json +54 -22
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +53 -3
- package/es/lowcode/engine/meta/layout.props.json +2 -2
- package/es/lowcode/engine/meta/link.props.json +1 -1
- package/es/lowcode/engine/meta/page.props.json +2 -2
- package/es/lowcode/engine/meta/pagelayout.props.default.json +14 -0
- package/es/lowcode/engine/meta/pagelayout.props.json +47 -0
- package/es/lowcode/engine/meta/section.props.default.json +4 -6
- package/es/lowcode/engine/meta/section.props.json +52 -49
- package/es/lowcode/engine/meta/split.props.default.json +1 -1
- package/es/lowcode/engine/meta/split.props.json +4 -4
- package/es/lowcode/engine/meta/table.props.json +19 -13
- package/es/lowcode/engine/meta/tabs.props.json +3 -3
- package/es/lowcode/engine/meta/text.props.json +2 -2
- package/es/lowcode/engine/meta/tree.props.default.json +2 -0
- package/es/lowcode/engine/meta/tree.props.json +71 -8
- package/es/lowcode/engine/provider/ContextProvider/index.js +21 -35
- package/es/lowcode/engine/provider/RemoteSourceProvider.js +89 -37
- package/es/lowcode/engine/tools/dataProcess.js +4 -0
- package/es/lowcode/engine/tools/diff.js +60 -0
- package/es/lowcode/engine/tools/helper.js +49 -26
- package/es/lowcode/engine/tools/useCanvasRender.js +8 -9
- package/es/lowcode/engine/tools/usePageDataStore.js +331 -0
- package/es/lowcode/engine/tools/usePromiseState.js +8 -10
- package/es/lowcode/engine/tools/useTodo.js +20 -10
- package/es/lowcode/painter/Design.js +41 -6
- package/es/lowcode/painter/DesignOperator.js +112 -88
- package/es/lowcode/painter/DesignToolbar.js +280 -36
- package/es/lowcode/painter/Outline.js +12 -10
- package/es/lowcode/painter/Panel.js +84 -46
- package/es/lowcode/painter/components/ActionBindModal.js +38 -27
- package/es/lowcode/painter/components/AdvancePanel.js +37 -21
- package/es/lowcode/painter/components/AttrsPanel.js +45 -34
- package/es/lowcode/painter/components/DragDrop/DragDropContext.js +1 -1
- package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +5 -2
- package/es/lowcode/painter/components/FieldSelector.js +26 -13
- package/es/lowcode/painter/components/ListEditor.js +8 -2
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +3 -2
- package/es/lowcode/painter/components/code-editor/JSEditor.js +5 -9
- package/es/lowcode/painter/components/field-setting/BatchSetting.js +13 -3
- package/es/lowcode/painter/components/field-setting/CheckFrontRules.js +108 -0
- package/es/lowcode/painter/components/field-setting/CheckRules.js +1 -26
- package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +33 -13
- package/es/lowcode/painter/components/field-setting/SettingUI.js +182 -31
- package/es/lowcode/painter/components/field-setting/index.js +40 -61
- package/es/lowcode/painter/components/field-setting/meta/frontRules.js +53 -0
- package/es/lowcode/painter/index.js +1 -28
- package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +25 -0
- package/es/lowcode/painter/panel-section/BlockEditor/index.js +7 -4
- package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +4 -3
- package/es/lowcode/painter/panel-section/BlocksEditor/index.js +55 -28
- package/es/lowcode/painter/panel-section/ButtonType.js +4 -2
- package/es/lowcode/painter/panel-section/DataSetSelector.js +30 -7
- package/es/lowcode/painter/panel-section/FieldsSetting.js +124 -55
- package/es/lowcode/painter/panel-section/I18nInput.js +20 -0
- package/es/lowcode/painter/panel-section/ImpExp.js +99 -14
- package/es/lowcode/painter/panel-section/ImpExpAlone.js +108 -0
- package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +95 -0
- package/es/lowcode/painter/panel-section/SerialsSelector.js +4 -2
- package/es/lowcode/painter/panel-section/SplitDisplay.js +25 -110
- package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +1 -1
- package/es/lowcode/painter/panel-section/StylePanel/index.js +10 -4
- package/es/lowcode/painter/panel-section/TableTopFilter.js +23 -13
- package/es/lowcode/painter/panel-section/TreeRootEditor.js +2 -2
- package/es/lowcode/painter/style/action-bind-modal.less +3 -3
- package/es/lowcode/painter/style/design.less +7 -3
- package/es/lowcode/painter/style/list-editor.less +36 -0
- package/es/lowcode/painter/style/page-layout-display.less +28 -0
- package/es/lowcode/painter/style/panel-item.less +1 -1
- package/es/lowcode/painter/style/split-display.less +0 -9
- package/es/lowcode/preview/index.js +20 -5
- package/es/lowcode/view/Canvas.js +6 -7
- package/es/lowcode/view/Page.js +5 -6
- package/es/lowcode/view/lc-components/Box/FunctionDesign.js +3 -2
- package/es/lowcode/view/lc-components/Box/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Box/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Box/meta.json +4 -4
- package/es/lowcode/view/lc-components/Button/index.js +2 -6
- package/es/lowcode/view/lc-components/Button/meta.json +4 -4
- package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +1 -0
- package/es/lowcode/view/lc-components/CardList/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/CardList/meta.json +14 -4
- package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +3 -12
- package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Dialog/index.js +116 -19
- package/es/lowcode/view/lc-components/Dialog/meta.json +73 -43
- package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +1 -0
- package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Drawer/meta.json +9 -21
- package/es/lowcode/view/lc-components/FieldColor/meta.json +63 -0
- package/es/lowcode/view/lc-components/FieldComplex/meta.json +39 -0
- package/es/lowcode/view/lc-components/FieldDate/meta.json +45 -0
- package/es/lowcode/view/lc-components/FieldDict/meta.json +44 -0
- package/es/lowcode/view/lc-components/FieldEditor/meta.json +44 -0
- package/es/lowcode/view/lc-components/FieldGroup/meta.json +73 -0
- package/es/lowcode/view/lc-components/FieldNumber/meta.json +48 -0
- package/es/lowcode/view/lc-components/FieldRadio/meta.json +20 -0
- package/es/lowcode/view/lc-components/FieldRegion/meta.json +26 -0
- package/es/lowcode/view/lc-components/FieldSelect/meta.json +58 -0
- package/es/lowcode/view/lc-components/FieldString/meta.json +62 -0
- package/es/lowcode/view/lc-components/FieldSwitch/meta.json +31 -0
- package/es/lowcode/view/lc-components/FieldTextarea/meta.json +49 -0
- package/es/lowcode/view/lc-components/FieldUpload/meta.json +71 -0
- package/es/lowcode/view/lc-components/FieldUser/meta.json +82 -0
- package/es/lowcode/view/lc-components/FieldYear/meta.json +20 -0
- package/es/lowcode/view/lc-components/Form/FunctionDesign.js +61 -9
- package/es/lowcode/view/lc-components/Form/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Form/FunctionPreview.js +9 -1
- package/es/lowcode/view/lc-components/Form/index.js +401 -66
- package/es/lowcode/view/lc-components/Form/meta.json +44 -35
- package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +1 -0
- package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +9 -3
- package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/ImEx/index.js +470 -11
- package/es/lowcode/view/lc-components/ImEx/index.less +7 -0
- package/es/lowcode/view/lc-components/ImEx/meta.json +55 -23
- package/es/lowcode/view/lc-components/Image/FunctionDesign.js +1 -0
- package/es/lowcode/view/lc-components/Image/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Image/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Image/meta.json +2 -2
- package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +1 -0
- package/es/lowcode/view/lc-components/JSX/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +13 -21
- package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Layout/meta.json +2 -2
- package/es/lowcode/view/lc-components/Link/FunctionDesign.js +1 -0
- package/es/lowcode/view/lc-components/Link/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Link/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Link/meta.json +1 -1
- package/es/lowcode/view/lc-components/Page/meta.json +2 -2
- package/es/lowcode/view/lc-components/PageContent/index.js +8 -9
- package/es/lowcode/view/lc-components/PageFooter/index.js +2 -5
- package/es/lowcode/view/lc-components/PageHeader/index.js +5 -6
- package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +63 -0
- package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js +10 -0
- package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js +10 -0
- package/es/lowcode/view/lc-components/PageLayout/index.js +32 -0
- package/es/lowcode/view/lc-components/PageLayout/meta.json +47 -0
- package/es/lowcode/view/lc-components/PageModal/index.js +12 -15
- package/es/lowcode/view/lc-components/Section/FunctionDesign.js +25 -2
- package/es/lowcode/view/lc-components/Section/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Section/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Section/index.js +114 -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 +19 -22
- package/es/lowcode/view/lc-components/Split/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Split/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Split/index.js +7 -11
- package/es/lowcode/view/lc-components/Split/meta.json +4 -4
- package/es/lowcode/view/lc-components/Table/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Table/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Table/components/TopFilter.js +78 -57
- package/es/lowcode/view/lc-components/Table/components/TopImex.js +420 -0
- package/es/lowcode/view/lc-components/Table/index.js +294 -47
- package/es/lowcode/view/lc-components/Table/meta.json +19 -13
- package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +11 -20
- package/es/lowcode/view/lc-components/Tabs/index.js +3 -1
- package/es/lowcode/view/lc-components/Tabs/meta.json +3 -3
- package/es/lowcode/view/lc-components/Text/FunctionDesign.js +1 -0
- package/es/lowcode/view/lc-components/Text/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Text/FunctionPreview.js +1 -0
- package/es/lowcode/view/lc-components/Text/meta.json +2 -2
- package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +2 -3
- package/es/lowcode/view/lc-components/Tree/FunctionLive.js +1 -0
- package/es/lowcode/view/lc-components/Tree/index.js +103 -29
- package/es/lowcode/view/lc-components/Tree/meta.json +71 -9
- package/es/lowcode/view/lc-components/Wrapper.js +10 -12
- package/es/services.js +0 -24
- package/es/upload/FilesWall/file.png +0 -0
- package/es/upload/FilesWall/index.js +422 -0
- package/es/upload/FilesWall/index.less +74 -0
- package/es/upload/Form/gridForm.js +10 -5
- package/es/upload/Form/index.js +2 -1
- package/es/upload/FormItem/index.js +5 -6
- package/es/upload/index.js +2 -1
- package/es/utils/action.js +2 -2
- package/es/utils/form.js +16 -3
- package/es/utils/grid.js +8 -5
- package/lib/components/ComplexItem/index.js +100 -0
- package/lib/{lowcode/painter/services/toolbar.js → components/ComplexItem/service.js} +8 -12
- package/lib/components/LDActions/index.js +7 -9
- package/lib/components/LDActions/index.less +7 -4
- package/lib/components/LdAutoForm/index.js +33 -10
- package/lib/components/LdFormList/index.js +38 -22
- package/lib/components/LdGrid/index.js +21 -7
- package/lib/components/LdGridForm/index.js +30 -9
- package/lib/components/LdTree/index.js +33 -15
- package/lib/helper/FromItems.js +175 -92
- package/lib/helper/form.js +53 -13
- package/lib/helper/props_config.js +23 -0
- package/lib/locales/zh-CN.js +26 -11
- package/lib/lowcode/constants/api-url.js +355 -104
- package/lib/lowcode/constants/event-topics.js +3 -1
- package/lib/lowcode/constants/index.js +5 -3
- package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +7 -4
- package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +3 -2
- package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +6 -3
- package/lib/lowcode/engine/meta/box.props.default.json +1 -1
- package/lib/lowcode/engine/meta/box.props.json +4 -4
- package/lib/lowcode/engine/meta/button.props.json +4 -4
- package/lib/lowcode/engine/meta/cardlist.props.json +14 -4
- package/lib/lowcode/engine/meta/components-list.json +109 -1
- package/lib/lowcode/engine/meta/dialog.props.default.json +11 -5
- package/lib/lowcode/engine/meta/dialog.props.json +80 -43
- package/lib/lowcode/engine/meta/drawer.props.json +9 -21
- package/lib/lowcode/engine/meta/fieldcolor.props.default.json +14 -0
- package/lib/lowcode/engine/meta/fieldcolor.props.json +63 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.json +39 -0
- package/lib/lowcode/engine/meta/fielddate.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fielddate.props.json +47 -0
- package/lib/lowcode/engine/meta/fielddict.props.default.json +14 -0
- package/lib/lowcode/engine/meta/fielddict.props.json +44 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.json +44 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.json +73 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.default.json +14 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.json +48 -0
- package/lib/lowcode/engine/meta/fieldradio.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldradio.props.json +20 -0
- package/lib/lowcode/engine/meta/fieldregion.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldregion.props.json +26 -0
- package/lib/lowcode/engine/meta/fieldselect.props.default.json +14 -0
- package/lib/lowcode/engine/meta/fieldselect.props.json +58 -0
- package/lib/lowcode/engine/meta/fieldstring.props.default.json +16 -0
- package/lib/lowcode/engine/meta/fieldstring.props.json +62 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.json +31 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +13 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.json +49 -0
- package/lib/lowcode/engine/meta/fieldupload.props.default.json +15 -0
- package/lib/lowcode/engine/meta/fieldupload.props.json +71 -0
- package/lib/lowcode/engine/meta/fielduser.props.default.json +16 -0
- package/lib/lowcode/engine/meta/fielduser.props.json +82 -0
- package/lib/lowcode/engine/meta/fieldyear.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldyear.props.json +20 -0
- package/lib/lowcode/engine/meta/form.props.default.json +4 -5
- package/lib/lowcode/engine/meta/form.props.json +44 -35
- package/lib/lowcode/engine/meta/image.props.json +2 -2
- package/lib/lowcode/engine/meta/imex.props.default.json +8 -1
- package/lib/lowcode/engine/meta/imex.props.json +54 -22
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +53 -3
- package/lib/lowcode/engine/meta/layout.props.json +2 -2
- package/lib/lowcode/engine/meta/link.props.json +1 -1
- package/lib/lowcode/engine/meta/page.props.json +2 -2
- package/lib/lowcode/engine/meta/pagelayout.props.default.json +14 -0
- package/lib/lowcode/engine/meta/pagelayout.props.json +47 -0
- package/lib/lowcode/engine/meta/section.props.default.json +4 -6
- package/lib/lowcode/engine/meta/section.props.json +52 -49
- package/lib/lowcode/engine/meta/split.props.default.json +1 -1
- package/lib/lowcode/engine/meta/split.props.json +4 -4
- package/lib/lowcode/engine/meta/table.props.json +19 -13
- package/lib/lowcode/engine/meta/tabs.props.json +3 -3
- package/lib/lowcode/engine/meta/text.props.json +2 -2
- package/lib/lowcode/engine/meta/tree.props.default.json +2 -0
- package/lib/lowcode/engine/meta/tree.props.json +71 -8
- package/lib/lowcode/engine/provider/ContextProvider/index.js +37 -35
- package/lib/lowcode/engine/provider/RemoteSourceProvider.js +86 -34
- package/lib/lowcode/engine/tools/dataProcess.js +4 -0
- package/lib/lowcode/engine/tools/diff.js +67 -0
- package/lib/lowcode/engine/tools/helper.js +50 -25
- package/lib/lowcode/engine/tools/useCanvasRender.js +6 -7
- package/lib/lowcode/engine/tools/usePageDataStore.js +338 -0
- package/lib/lowcode/engine/tools/usePromiseState.js +6 -8
- package/lib/lowcode/engine/tools/useTodo.js +19 -9
- package/lib/lowcode/painter/Design.js +39 -4
- package/lib/lowcode/painter/DesignOperator.js +109 -85
- package/lib/lowcode/painter/DesignToolbar.js +277 -33
- package/lib/lowcode/painter/Outline.js +10 -8
- package/lib/lowcode/painter/Panel.js +82 -44
- package/lib/lowcode/painter/components/ActionBindModal.js +36 -25
- package/lib/lowcode/painter/components/AdvancePanel.js +36 -20
- package/lib/lowcode/painter/components/AttrsPanel.js +44 -33
- package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +1 -1
- package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +5 -2
- package/lib/lowcode/painter/components/FieldSelector.js +26 -13
- package/lib/lowcode/painter/components/ListEditor.js +8 -2
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +3 -2
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +5 -9
- package/lib/lowcode/painter/components/field-setting/BatchSetting.js +13 -3
- package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js +116 -0
- package/lib/lowcode/painter/components/field-setting/CheckRules.js +1 -26
- package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +34 -13
- package/lib/lowcode/painter/components/field-setting/SettingUI.js +179 -28
- package/lib/lowcode/painter/components/field-setting/index.js +40 -61
- package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +59 -0
- package/lib/lowcode/painter/index.js +1 -30
- package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +32 -0
- package/lib/lowcode/painter/panel-section/BlockEditor/index.js +7 -4
- package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +4 -3
- package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +53 -25
- package/lib/lowcode/painter/panel-section/ButtonType.js +4 -2
- package/lib/lowcode/painter/panel-section/DataSetSelector.js +30 -7
- package/lib/lowcode/painter/panel-section/FieldsSetting.js +121 -52
- package/lib/lowcode/painter/panel-section/I18nInput.js +27 -0
- package/lib/lowcode/painter/panel-section/ImpExp.js +99 -13
- package/lib/lowcode/painter/panel-section/ImpExpAlone.js +114 -0
- package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +103 -0
- package/lib/lowcode/painter/panel-section/SerialsSelector.js +4 -2
- package/lib/lowcode/painter/panel-section/SplitDisplay.js +24 -109
- package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +5 -4
- package/lib/lowcode/painter/panel-section/StylePanel/index.js +10 -4
- package/lib/lowcode/painter/panel-section/TableTopFilter.js +22 -12
- package/lib/lowcode/painter/panel-section/TreeRootEditor.js +2 -2
- package/lib/lowcode/painter/style/action-bind-modal.less +3 -3
- package/lib/lowcode/painter/style/design.less +7 -3
- package/lib/lowcode/painter/style/list-editor.less +36 -0
- package/lib/lowcode/painter/style/page-layout-display.less +28 -0
- package/lib/lowcode/painter/style/panel-item.less +1 -1
- package/lib/lowcode/painter/style/split-display.less +0 -9
- package/lib/lowcode/preview/index.js +21 -5
- package/lib/lowcode/view/Canvas.js +5 -6
- package/lib/lowcode/view/Page.js +5 -6
- package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +3 -2
- package/lib/lowcode/view/lc-components/Box/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Box/meta.json +4 -4
- package/lib/lowcode/view/lc-components/Button/index.js +2 -6
- package/lib/lowcode/view/lc-components/Button/meta.json +4 -4
- package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/CardList/meta.json +14 -4
- package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +2 -11
- package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Dialog/index.js +116 -19
- package/lib/lowcode/view/lc-components/Dialog/meta.json +73 -43
- package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Drawer/meta.json +9 -21
- package/lib/lowcode/view/lc-components/FieldColor/meta.json +63 -0
- package/lib/lowcode/view/lc-components/FieldComplex/meta.json +39 -0
- package/lib/lowcode/view/lc-components/FieldDate/meta.json +45 -0
- package/lib/lowcode/view/lc-components/FieldDict/meta.json +44 -0
- package/lib/lowcode/view/lc-components/FieldEditor/meta.json +44 -0
- package/lib/lowcode/view/lc-components/FieldGroup/meta.json +73 -0
- package/lib/lowcode/view/lc-components/FieldNumber/meta.json +48 -0
- package/lib/lowcode/view/lc-components/FieldRadio/meta.json +20 -0
- package/lib/lowcode/view/lc-components/FieldRegion/meta.json +26 -0
- package/lib/lowcode/view/lc-components/FieldSelect/meta.json +58 -0
- package/lib/lowcode/view/lc-components/FieldString/meta.json +62 -0
- package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +31 -0
- package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +49 -0
- package/lib/lowcode/view/lc-components/FieldUpload/meta.json +71 -0
- package/lib/lowcode/view/lc-components/FieldUser/meta.json +82 -0
- package/lib/lowcode/view/lc-components/FieldYear/meta.json +20 -0
- package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +58 -7
- package/lib/lowcode/view/lc-components/Form/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +9 -1
- package/lib/lowcode/view/lc-components/Form/index.js +396 -61
- package/lib/lowcode/view/lc-components/Form/meta.json +44 -35
- package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +9 -3
- package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/ImEx/index.js +468 -9
- package/lib/lowcode/view/lc-components/ImEx/index.less +7 -0
- package/lib/lowcode/view/lc-components/ImEx/meta.json +55 -23
- package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Image/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Image/meta.json +2 -2
- package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +11 -19
- package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Layout/meta.json +2 -2
- package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Link/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Link/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Page/meta.json +2 -2
- package/lib/lowcode/view/lc-components/PageContent/index.js +7 -8
- package/lib/lowcode/view/lc-components/PageFooter/index.js +2 -5
- package/lib/lowcode/view/lc-components/PageHeader/index.js +4 -5
- package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +71 -0
- package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js +17 -0
- package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js +17 -0
- package/lib/lowcode/view/lc-components/PageLayout/index.js +40 -0
- package/lib/lowcode/view/lc-components/PageLayout/meta.json +47 -0
- package/lib/lowcode/view/lc-components/PageModal/index.js +11 -14
- package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +25 -2
- package/lib/lowcode/view/lc-components/Section/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Section/index.js +113 -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 +18 -21
- package/lib/lowcode/view/lc-components/Split/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Split/index.js +4 -8
- package/lib/lowcode/view/lc-components/Split/meta.json +4 -4
- package/lib/lowcode/view/lc-components/Table/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +75 -55
- package/lib/lowcode/view/lc-components/Table/components/TopImex.js +428 -0
- package/lib/lowcode/view/lc-components/Table/index.js +292 -45
- package/lib/lowcode/view/lc-components/Table/meta.json +19 -13
- package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +9 -18
- package/lib/lowcode/view/lc-components/Tabs/index.js +3 -1
- package/lib/lowcode/view/lc-components/Tabs/meta.json +3 -3
- package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Text/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Text/meta.json +2 -2
- package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +2 -3
- package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Tree/index.js +100 -26
- package/lib/lowcode/view/lc-components/Tree/meta.json +71 -9
- package/lib/lowcode/view/lc-components/Wrapper.js +11 -12
- package/lib/services.js +0 -25
- package/lib/upload/FilesWall/file.png +0 -0
- package/lib/upload/FilesWall/index.js +429 -0
- package/lib/upload/FilesWall/index.less +74 -0
- package/lib/upload/Form/gridForm.js +10 -5
- package/lib/upload/Form/index.js +2 -1
- package/lib/upload/FormItem/index.js +5 -6
- package/lib/upload/index.js +8 -1
- package/lib/utils/action.js +2 -2
- package/lib/utils/form.js +16 -3
- package/lib/utils/grid.js +8 -5
- package/package.json +6 -4
- package/es/lowcode/engine/meta/local/local.zh-cn.js +0 -97
- package/lib/lowcode/engine/meta/local/local.zh-cn.js +0 -103
package/lib/utils/form.js
CHANGED
|
@@ -40,12 +40,13 @@ function getFormItem() {
|
|
|
40
40
|
var customProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
41
41
|
if (!property) return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
42
42
|
if (property === 'sint' || property === 'number') props.opt_decimal = 0;
|
|
43
|
+
var comType = comName || _form.defaultComName[property];
|
|
43
44
|
var _translator = (0, _form.translator)(props),
|
|
44
45
|
name = _translator.name,
|
|
45
46
|
translateProps = (0, _objectWithoutProperties2.default)(_translator, _excluded2);
|
|
46
47
|
var _merge = (0, _lodash.merge)(
|
|
47
48
|
// 移除type,不能删除type,会导致查询renderInfo的时候报错
|
|
48
|
-
translateProps, (0, _form.formatCustomProps)(customProps)),
|
|
49
|
+
translateProps, (0, _form.formatCustomProps)(comType, customProps)),
|
|
49
50
|
type = _merge.type,
|
|
50
51
|
_props = (0, _objectWithoutProperties2.default)(_merge, _excluded3);
|
|
51
52
|
if (customProps.renderBasicFormItem) {
|
|
@@ -56,7 +57,7 @@ function getFormItem() {
|
|
|
56
57
|
key: name
|
|
57
58
|
}), com.props.children);
|
|
58
59
|
}
|
|
59
|
-
var getFormItemUtils = formItemUtils["get".concat((0, _lodash.capitalize)(
|
|
60
|
+
var getFormItemUtils = formItemUtils["get".concat((0, _lodash.capitalize)(comType), "Item")];
|
|
60
61
|
return getFormItemUtils((0, _objectSpread2.default)((0, _objectSpread2.default)({}, _props), {}, {
|
|
61
62
|
name: name,
|
|
62
63
|
key: name
|
|
@@ -85,9 +86,15 @@ var formItemDataFormat = exports.formItemDataFormat = function formItemDataForma
|
|
|
85
86
|
case 'date':
|
|
86
87
|
result[name] = values["".concat(name, "_virtual")] ? (0, _moment.default)(values["".concat(name, "_virtual")], 'YYYY-MM-DD HH:mm:ss') : undefined;
|
|
87
88
|
break;
|
|
89
|
+
case 'dict':
|
|
90
|
+
if (props.display === 'radio') {
|
|
91
|
+
result[name] = values[name] || void 0;
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
88
94
|
case 'user':
|
|
89
95
|
case 'select':
|
|
90
96
|
case 'group':
|
|
97
|
+
case 'complex':
|
|
91
98
|
if (translatorProps.multiple) {
|
|
92
99
|
result[name] = (0, _form.splitStrToObj)(values[name], values["".concat(name, "_virtual")]);
|
|
93
100
|
} else {
|
|
@@ -155,9 +162,15 @@ var dataFormat = exports.dataFormat = function dataFormat() {
|
|
|
155
162
|
case 'date':
|
|
156
163
|
result[name] = values[name] ? (0, _moment.default)(values[name]).valueOf() : null;
|
|
157
164
|
break;
|
|
165
|
+
case 'dict':
|
|
166
|
+
if (props.display === 'radio') {
|
|
167
|
+
result[name] = values[name] || null;
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
158
170
|
case 'user':
|
|
159
171
|
case 'select':
|
|
160
172
|
case 'group':
|
|
173
|
+
case 'complex':
|
|
161
174
|
if ((0, _lodash.isArray)(values[name])) result[name] = values[name].map(function (v) {
|
|
162
175
|
return v.value || v.key;
|
|
163
176
|
}).join(',');else result[name] = !(0, _lodash.isNil)((_values$name = values[name]) === null || _values$name === void 0 ? void 0 : _values$name.value) ? values[name].value : ((_values$name2 = values[name]) === null || _values$name2 === void 0 ? void 0 : _values$name2.key) || null;
|
|
@@ -218,7 +231,7 @@ var getFormColumn = exports.getFormColumn = function getFormColumn() {
|
|
|
218
231
|
translateProps = (0, _objectWithoutProperties2.default)(_translator2, _excluded8);
|
|
219
232
|
var _merge2 = (0, _lodash.merge)(
|
|
220
233
|
// mode=writer移除type,不能删除type,会导致查询renderInfo的时候报错
|
|
221
|
-
translateProps, (0, _form.formatCustomProps)(formItemRewrite)),
|
|
234
|
+
translateProps, (0, _form.formatCustomProps)(formItemType, formItemRewrite)),
|
|
222
235
|
type = _merge2.type,
|
|
223
236
|
_ = _merge2.name,
|
|
224
237
|
_props = (0, _objectWithoutProperties2.default)(_merge2, _excluded9);
|
package/lib/utils/grid.js
CHANGED
|
@@ -52,6 +52,7 @@ function getColumnRender(name, type) {
|
|
|
52
52
|
case 'user':
|
|
53
53
|
case 'select':
|
|
54
54
|
case 'group':
|
|
55
|
+
case 'complex':
|
|
55
56
|
render = function render(text, record) {
|
|
56
57
|
if (record["".concat(name, "_virtual")]) return record["".concat(name, "_virtual")];
|
|
57
58
|
if ((0, _lodash.isArray)(text)) return text.map(function (i) {
|
|
@@ -123,6 +124,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
123
124
|
var customProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
124
125
|
var isTreeGrid = arguments.length > 2 ? arguments[2] : undefined;
|
|
125
126
|
var writable = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
127
|
+
var comType = comName || _form.defaultComName[property];
|
|
126
128
|
var _props$isVirtual = props.isVirtual,
|
|
127
129
|
isVirtual = _props$isVirtual === void 0 ? false : _props$isVirtual,
|
|
128
130
|
_props$extra = props.extra,
|
|
@@ -130,7 +132,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
130
132
|
var _translator = (0, _form.translator)(props),
|
|
131
133
|
name = _translator.name,
|
|
132
134
|
translateProps = (0, _objectWithoutProperties2.default)(_translator, _excluded2);
|
|
133
|
-
var _merge = (0, _lodash.merge)(translateProps, (0, _form.formatCustomProps)(customProps)),
|
|
135
|
+
var _merge = (0, _lodash.merge)(translateProps, (0, _form.formatCustomProps)(comType, customProps)),
|
|
134
136
|
filter = _merge.filter,
|
|
135
137
|
filterParams = _merge.filterParams,
|
|
136
138
|
_props = (0, _objectWithoutProperties2.default)(_merge, _excluded3);
|
|
@@ -140,9 +142,9 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
140
142
|
title: _props.label,
|
|
141
143
|
headerAlign: _props.headerAlign || getAlign(_extra, 'sheading_alignment_virtual'),
|
|
142
144
|
align: _props.align || getAlign(_extra, 'scell_alignment_virtual'),
|
|
143
|
-
render: _props.render || getColumnRender(name,
|
|
145
|
+
render: _props.render || getColumnRender(name, comType, _props)
|
|
144
146
|
});
|
|
145
|
-
if (isTreeGrid || isVirtual || (0, _lodash.includes)(['user', 'select', 'group', 'switch', 'color', 'region', 'file'],
|
|
147
|
+
if (isTreeGrid || isVirtual || (0, _lodash.includes)(['user', 'select', 'group', 'switch', 'color', 'region', 'file', 'complex'], comType)) data.sortable = false;
|
|
146
148
|
// data.filter = false;
|
|
147
149
|
if (!(0, _lodash.isNil)(filter)) {
|
|
148
150
|
// 因为后端升级问题,暂时关闭过滤功能
|
|
@@ -155,7 +157,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
155
157
|
data.filter = 'text';
|
|
156
158
|
return data;
|
|
157
159
|
}
|
|
158
|
-
switch (
|
|
160
|
+
switch (comType) {
|
|
159
161
|
case 'switch':
|
|
160
162
|
data.filter = 'select';
|
|
161
163
|
data.filterParams = {
|
|
@@ -256,7 +258,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
256
258
|
required: true
|
|
257
259
|
} : true;
|
|
258
260
|
if (_props.cellWriter) data.cellWriter = _props.cellWriter;else {
|
|
259
|
-
var formItemCom = (0, _lodash.capitalize)(
|
|
261
|
+
var formItemCom = (0, _lodash.capitalize)(comType) === 'Textarea' ? 'String' : (0, _lodash.capitalize)(comType);
|
|
260
262
|
var getFormItemUtils = formItemUtils["get".concat(formItemCom, "Item")];
|
|
261
263
|
var formItemProps = {};
|
|
262
264
|
switch (formItemCom) {
|
|
@@ -273,6 +275,7 @@ var getGridColumn = exports.getGridColumn = function getGridColumn() {
|
|
|
273
275
|
case 'user':
|
|
274
276
|
case 'select':
|
|
275
277
|
case 'group':
|
|
278
|
+
case 'complex':
|
|
276
279
|
if (translateProps.multiple) {
|
|
277
280
|
formItemProps = {
|
|
278
281
|
dataFormat: function dataFormat(value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luck-design-biz/luckda",
|
|
3
|
-
"version": "0.0.25-
|
|
3
|
+
"version": "0.0.25-10",
|
|
4
4
|
"description": "前端配置管理中心业务组件库",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"@dnd-kit/utilities": "^3.2.2",
|
|
55
55
|
"ahooks": "^3.7.11",
|
|
56
56
|
"classnames": "^2.3.1",
|
|
57
|
+
"fast-deep-equal": "^3.1.3",
|
|
57
58
|
"lodash": "^4.17.11",
|
|
58
59
|
"lz-string": "^1.5.0",
|
|
59
60
|
"moment": "^2.24.0",
|
|
@@ -63,7 +64,8 @@
|
|
|
63
64
|
"querystring": "^0.2.0",
|
|
64
65
|
"react": "^16.12.0",
|
|
65
66
|
"react-color": "^2.19.3",
|
|
66
|
-
"styled-components": "^6.1.8"
|
|
67
|
+
"styled-components": "^6.1.8",
|
|
68
|
+
"zustand": "^4.5.2"
|
|
67
69
|
},
|
|
68
70
|
"devDependencies": {
|
|
69
71
|
"@amap/amap-jsapi-loader": "^0.0.7",
|
|
@@ -76,7 +78,7 @@
|
|
|
76
78
|
"@babel/plugin-transform-strict-mode": "^7.18.6",
|
|
77
79
|
"@babel/polyfill": "^7.12.1",
|
|
78
80
|
"@babel/traverse": "^7.24.1",
|
|
79
|
-
"@luck-design-biz/base": "0.0.
|
|
81
|
+
"@luck-design-biz/base": "0.0.46-6",
|
|
80
82
|
"@luck-design-biz/bpm": "0.0.5",
|
|
81
83
|
"@luck-helper/ui-design": "0.0.6",
|
|
82
84
|
"@types/classnames": "^2.3.1",
|
|
@@ -121,7 +123,7 @@
|
|
|
121
123
|
"js-cookie": "^2.2.1",
|
|
122
124
|
"jsdom-global": "^3.0.2",
|
|
123
125
|
"lint-staged": "^11.2.6",
|
|
124
|
-
"luck-design": "0.1.
|
|
126
|
+
"luck-design": "0.1.77-2",
|
|
125
127
|
"monaco-editor-webpack-plugin": "6.*.*",
|
|
126
128
|
"node-fetch": "^2.6.7",
|
|
127
129
|
"nprogress": "^0.2.0",
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"luckda.lowcode.page": "页面",
|
|
3
|
-
"luckda.lowcode.modal": "模态视图层",
|
|
4
|
-
"luckda.lowcode.painter.I18n.search": "搜索文案",
|
|
5
|
-
"luckda.lowcode.painter.I18n.add": "新增文案",
|
|
6
|
-
"luckda.lowcode.painter.components.search": "搜索组件",
|
|
7
|
-
"ccm.dev.page.set.components.base": "基础组件",
|
|
8
|
-
"ccm.dev.page.set.components.dataset": "数据集字段",
|
|
9
|
-
"luckda.lowcode.painter.panel-section.width-height": "请输入数值",
|
|
10
|
-
"luckda.lowcode.painter.edit": "编辑",
|
|
11
|
-
"luckda.lowcode.painter.delete": "删除",
|
|
12
|
-
"luckda.lowcode.painter.panel-section.tabsitems.edit": "添加",
|
|
13
|
-
"luckda.lowcode.painter.panel-section.tabsitems.delete": "删除",
|
|
14
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname": "名称",
|
|
15
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname.placeholder": "请输入标签名称",
|
|
16
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.id": "编号",
|
|
17
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey": "控制效果",
|
|
18
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey.placeholder": "请输入资源串",
|
|
19
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.err": "必须是数字或者数字加:号的组合,且数字之和必须等于12",
|
|
20
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.label": "列比例",
|
|
21
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.placeholder": "请输入列比例",
|
|
22
|
-
"luckda.lowcode.painter.panel-section.style-panel.sourceedit": "源码编辑",
|
|
23
|
-
"luckda.lowcode.painter.import": "导入",
|
|
24
|
-
"luckda.lowcode.painter.export": "导出",
|
|
25
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.big": "大",
|
|
26
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.middle": "中",
|
|
27
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.small": "小",
|
|
28
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.none": "无",
|
|
29
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.custom": "自定义",
|
|
30
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.detail.color": "颜色",
|
|
31
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.top": "上边距",
|
|
32
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.right": "右边距",
|
|
33
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.down": "下边距",
|
|
34
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.left": "左边距",
|
|
35
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.top": "上间距",
|
|
36
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.right": "右间距",
|
|
37
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.down": "下间距",
|
|
38
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.left": "左间距",
|
|
39
|
-
"luckda.lowcode.painter.panel-section.style-panel.group-name": "样式设置",
|
|
40
|
-
"luckda.lowcode.painter.panel-section.style-panel.width": "请输入宽高度",
|
|
41
|
-
"luckda.lowcode.painter.panel-section.style-panel.display": "显示",
|
|
42
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.superbig": "超大(24px)",
|
|
43
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.big": "大(20px)",
|
|
44
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.middle": "中(16px)",
|
|
45
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.small": "小(12px)",
|
|
46
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.supersmall": "超小(8px)",
|
|
47
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.none": "无(0px)",
|
|
48
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.default": "默认",
|
|
49
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.weight": "字重",
|
|
50
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style": "样式",
|
|
51
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.color": "字体颜色",
|
|
52
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.size": "字体大小",
|
|
53
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align": "对齐",
|
|
54
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align.left": "左对齐",
|
|
55
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align.center": "自适应",
|
|
56
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.none": "无",
|
|
57
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.underline": "下划线",
|
|
58
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.line-through": "中划线",
|
|
59
|
-
"luckda.lowcode.painter.panel-section.style-panel.font": "文字",
|
|
60
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h1": "一级标题",
|
|
61
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h2": "二级标题",
|
|
62
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h3": "三级标题",
|
|
63
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.paragraph": "段落",
|
|
64
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.default": "无",
|
|
65
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.custom": "自定义",
|
|
66
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.block": "块",
|
|
67
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.inline-block": "行内块",
|
|
68
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.inline": "行内",
|
|
69
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.flex": "弹性",
|
|
70
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.direct.row": "方向:横向",
|
|
71
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.direct.column": "方向:纵向反转",
|
|
72
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-start": "交叉轴:起始对齐",
|
|
73
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.center": "交叉轴:居中",
|
|
74
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-end": "交叉轴:终点对齐",
|
|
75
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.stretch": "交叉轴:拉伸",
|
|
76
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.baseline": "交叉轴:基线",
|
|
77
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-start": "水平轴:起始对齐",
|
|
78
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.center": "水平轴:居中对齐",
|
|
79
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-end": "水平轴:结束对齐",
|
|
80
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-between": "水平轴:两端对齐",
|
|
81
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-around": "水平轴:均匀对齐,项目周围间隔相等",
|
|
82
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-evenly": "水平轴:均匀分布,所有项目与容器边缘的间隔相等",
|
|
83
|
-
"luckda.lowcode.painter.panel-section.style-panel.border-radius": " 圆角",
|
|
84
|
-
"luckda.lowcode.painter.panel-section.style-panel.border-radius.width": "半径",
|
|
85
|
-
"luckda.lowcode.painter.panel-section.style-panel.border": "边框",
|
|
86
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style": "边框",
|
|
87
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.none": "无",
|
|
88
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.solid": "实线条",
|
|
89
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.dotted": "点线",
|
|
90
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.dashed": "虚线",
|
|
91
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.width": "线宽",
|
|
92
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.color": "颜色",
|
|
93
|
-
"luckda.lowcode.painter.panel-section.style-panel.background": "背景",
|
|
94
|
-
"luckda.lowcode.painter.coder": "编码器",
|
|
95
|
-
"luckda.lowcode.painter.panel-section.components.listeditor.add": "添加一项",
|
|
96
|
-
"luckda.lowcode.painter.components.fullscreen.tip": "全屏"
|
|
97
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _default = exports.default = {
|
|
8
|
-
"luckda.lowcode.page": "页面",
|
|
9
|
-
"luckda.lowcode.modal": "模态视图层",
|
|
10
|
-
"luckda.lowcode.painter.I18n.search": "搜索文案",
|
|
11
|
-
"luckda.lowcode.painter.I18n.add": "新增文案",
|
|
12
|
-
"luckda.lowcode.painter.components.search": "搜索组件",
|
|
13
|
-
"ccm.dev.page.set.components.base": "基础组件",
|
|
14
|
-
"ccm.dev.page.set.components.dataset": "数据集字段",
|
|
15
|
-
"luckda.lowcode.painter.panel-section.width-height": "请输入数值",
|
|
16
|
-
"luckda.lowcode.painter.edit": "编辑",
|
|
17
|
-
"luckda.lowcode.painter.delete": "删除",
|
|
18
|
-
"luckda.lowcode.painter.panel-section.tabsitems.edit": "添加",
|
|
19
|
-
"luckda.lowcode.painter.panel-section.tabsitems.delete": "删除",
|
|
20
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname": "名称",
|
|
21
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.tabname.placeholder": "请输入标签名称",
|
|
22
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.id": "编号",
|
|
23
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey": "控制效果",
|
|
24
|
-
"luckda.lowcode.painter.panel-section.tabsitems.editor.reskey.placeholder": "请输入资源串",
|
|
25
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.err": "必须是数字或者数字加:号的组合,且数字之和必须等于12",
|
|
26
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.label": "列比例",
|
|
27
|
-
"luckda.lowcode.painter.panel-section.Layoutratio.placeholder": "请输入列比例",
|
|
28
|
-
"luckda.lowcode.painter.panel-section.style-panel.sourceedit": "源码编辑",
|
|
29
|
-
"luckda.lowcode.painter.import": "导入",
|
|
30
|
-
"luckda.lowcode.painter.export": "导出",
|
|
31
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.big": "大",
|
|
32
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.middle": "中",
|
|
33
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.small": "小",
|
|
34
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.none": "无",
|
|
35
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.custom": "自定义",
|
|
36
|
-
"luckda.lowcode.painter.panel-section.style-panel.box-shadow.detail.color": "颜色",
|
|
37
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.top": "上边距",
|
|
38
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.right": "右边距",
|
|
39
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.down": "下边距",
|
|
40
|
-
"luckda.lowcode.painter.panel-section.style-panel.padding.left": "左边距",
|
|
41
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.top": "上间距",
|
|
42
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.right": "右间距",
|
|
43
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.down": "下间距",
|
|
44
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.left": "左间距",
|
|
45
|
-
"luckda.lowcode.painter.panel-section.style-panel.group-name": "样式设置",
|
|
46
|
-
"luckda.lowcode.painter.panel-section.style-panel.width": "请输入宽高度",
|
|
47
|
-
"luckda.lowcode.painter.panel-section.style-panel.display": "显示",
|
|
48
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.superbig": "超大(24px)",
|
|
49
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.big": "大(20px)",
|
|
50
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.middle": "中(16px)",
|
|
51
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.small": "小(12px)",
|
|
52
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.supersmall": "超小(8px)",
|
|
53
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.none": "无(0px)",
|
|
54
|
-
"luckda.lowcode.painter.panel-section.style-panel.margin.default": "默认",
|
|
55
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.weight": "字重",
|
|
56
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style": "样式",
|
|
57
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.color": "字体颜色",
|
|
58
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.size": "字体大小",
|
|
59
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align": "对齐",
|
|
60
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align.left": "左对齐",
|
|
61
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.align.center": "自适应",
|
|
62
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.none": "无",
|
|
63
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.underline": "下划线",
|
|
64
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.style.line-through": "中划线",
|
|
65
|
-
"luckda.lowcode.painter.panel-section.style-panel.font": "文字",
|
|
66
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h1": "一级标题",
|
|
67
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h2": "二级标题",
|
|
68
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.h3": "三级标题",
|
|
69
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.paragraph": "段落",
|
|
70
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.default": "无",
|
|
71
|
-
"luckda.lowcode.painter.panel-section.style-panel.font.custom": "自定义",
|
|
72
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.block": "块",
|
|
73
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.inline-block": "行内块",
|
|
74
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.inline": "行内",
|
|
75
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.flex": "弹性",
|
|
76
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.direct.row": "方向:横向",
|
|
77
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.direct.column": "方向:纵向反转",
|
|
78
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-start": "交叉轴:起始对齐",
|
|
79
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.center": "交叉轴:居中",
|
|
80
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-end": "交叉轴:终点对齐",
|
|
81
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.stretch": "交叉轴:拉伸",
|
|
82
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.align-items.baseline": "交叉轴:基线",
|
|
83
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-start": "水平轴:起始对齐",
|
|
84
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.center": "水平轴:居中对齐",
|
|
85
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-end": "水平轴:结束对齐",
|
|
86
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-between": "水平轴:两端对齐",
|
|
87
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-around": "水平轴:均匀对齐,项目周围间隔相等",
|
|
88
|
-
"luckda.lowcode.painter.panel-section.style-panel.display.justify.space-evenly": "水平轴:均匀分布,所有项目与容器边缘的间隔相等",
|
|
89
|
-
"luckda.lowcode.painter.panel-section.style-panel.border-radius": " 圆角",
|
|
90
|
-
"luckda.lowcode.painter.panel-section.style-panel.border-radius.width": "半径",
|
|
91
|
-
"luckda.lowcode.painter.panel-section.style-panel.border": "边框",
|
|
92
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style": "边框",
|
|
93
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.none": "无",
|
|
94
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.solid": "实线条",
|
|
95
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.dotted": "点线",
|
|
96
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.style.dashed": "虚线",
|
|
97
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.width": "线宽",
|
|
98
|
-
"luckda.lowcode.painter.panel-section.style-panel.border.color": "颜色",
|
|
99
|
-
"luckda.lowcode.painter.panel-section.style-panel.background": "背景",
|
|
100
|
-
"luckda.lowcode.painter.coder": "编码器",
|
|
101
|
-
"luckda.lowcode.painter.panel-section.components.listeditor.add": "添加一项",
|
|
102
|
-
"luckda.lowcode.painter.components.fullscreen.tip": "全屏"
|
|
103
|
-
};
|