@luck-design-biz/luckda 0.0.25-10 → 0.0.25-12
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/LdAutoForm/index.js +24 -2
- package/es/components/LdFormList/index.js +4 -2
- package/es/components/LdGrid/index.js +6 -5
- package/es/components/LdGridForm/index.js +5 -1
- package/es/components/LdGridForm/index.less +7 -7
- package/es/components/LdTree/index.js +27 -5
- package/es/components/LdTree/index.less +40 -40
- package/es/helper/action.js +6 -6
- package/es/helper/form.js +15 -15
- package/es/helper/index.less +7 -7
- package/es/index.js +0 -1
- package/es/lowcode/constants/api-url.js +84 -84
- package/es/lowcode/constants/event-topics.js +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +1 -1
- package/es/lowcode/engine/launcher.js +5 -0
- package/es/lowcode/engine/meta/box.props.default.json +1 -1
- package/es/lowcode/engine/meta/box.props.json +1 -1
- package/es/lowcode/engine/meta/components-list.json +6 -6
- package/es/lowcode/engine/meta/fieldcolor.props.json +9 -3
- package/es/lowcode/engine/meta/fieldcomplex.props.json +7 -1
- 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/fielddate.props.json +7 -1
- package/es/lowcode/engine/meta/fielddict.props.json +7 -1
- package/es/lowcode/engine/meta/fieldeditor.props.json +7 -1
- package/es/lowcode/engine/meta/fieldgroup.props.json +7 -1
- package/es/lowcode/engine/meta/fieldnumber.props.json +8 -2
- package/es/lowcode/engine/meta/fieldradio.props.json +9 -3
- package/es/lowcode/engine/meta/fieldregion.props.json +9 -3
- package/es/lowcode/engine/meta/fieldselect.props.json +9 -3
- package/es/lowcode/engine/meta/fieldstring.props.default.json +0 -4
- package/es/lowcode/engine/meta/fieldstring.props.json +14 -12
- package/es/lowcode/engine/meta/fieldswitch.props.json +8 -2
- package/es/lowcode/engine/meta/fieldtextarea.props.json +11 -5
- package/es/lowcode/engine/meta/fieldupload.props.json +8 -2
- package/es/lowcode/engine/meta/fielduser.props.json +7 -1
- package/es/lowcode/engine/meta/fieldyear.props.json +26 -3
- package/es/lowcode/engine/meta/form.props.json +22 -2
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +17 -17
- package/es/lowcode/engine/meta/page.props.json +6 -6
- package/es/lowcode/engine/provider/ContextProvider/index.js +34 -34
- package/es/lowcode/engine/provider/RemoteSourceProvider.js +30 -8
- package/es/lowcode/engine/tools/dataProcess.js +76 -76
- package/es/lowcode/engine/tools/diff.js +5 -5
- package/es/lowcode/engine/tools/helper.js +60 -5
- package/es/lowcode/engine/tools/usePageDataStore.js +10 -5
- package/es/lowcode/index.js +1 -4
- package/es/lowcode/painter/Components.js +2 -2
- package/es/lowcode/painter/Design.js +4 -4
- package/es/lowcode/painter/DesignOperator.js +1 -1
- package/es/lowcode/painter/DesignToolbar.js +7 -4
- package/es/lowcode/painter/components/ActionBindModal.js +7 -1
- 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 +28 -28
- 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 -31
- 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 +44 -34
- package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
- package/es/lowcode/painter/panel-section/ActionsEditor/index.js +3 -1
- package/es/lowcode/painter/panel-section/ComponentSelector.js +36 -0
- package/es/lowcode/painter/panel-section/I18nInput.js +2 -1
- 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/SplitDisplay.js +3 -2
- 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/panel-section/TreeRootEditor.js +10 -2
- 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 +158 -152
- 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/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/Canvas.js +20 -6
- package/es/lowcode/view/Page.js +3 -4
- package/es/lowcode/view/lc-components/Box/FunctionDesign.js +7 -2
- 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 +153 -153
- package/es/lowcode/view/lc-components/Dialog/index.js +19 -13
- package/es/lowcode/view/lc-components/Dialog/index.less +3 -3
- package/es/lowcode/view/lc-components/Dialog/meta.json +150 -150
- package/es/lowcode/view/lc-components/Drawer/index.js +15 -12
- package/es/lowcode/view/lc-components/Drawer/index.less +9 -9
- package/es/lowcode/view/lc-components/Drawer/meta.json +131 -131
- package/es/lowcode/view/lc-components/FieldColor/meta.json +69 -63
- package/es/lowcode/view/lc-components/FieldComplex/meta.json +45 -39
- package/es/lowcode/view/lc-components/FieldDate/meta.json +51 -45
- package/es/lowcode/view/lc-components/FieldDict/meta.json +50 -44
- package/es/lowcode/view/lc-components/FieldEditor/meta.json +50 -44
- package/es/lowcode/view/lc-components/FieldGroup/meta.json +79 -73
- package/es/lowcode/view/lc-components/FieldNumber/meta.json +54 -48
- package/es/lowcode/view/lc-components/FieldRadio/meta.json +26 -20
- package/es/lowcode/view/lc-components/FieldRegion/meta.json +32 -26
- package/es/lowcode/view/lc-components/FieldSelect/meta.json +64 -58
- package/es/lowcode/view/lc-components/FieldString/meta.json +64 -62
- package/es/lowcode/view/lc-components/FieldSwitch/meta.json +37 -31
- package/es/lowcode/view/lc-components/FieldTextarea/meta.json +55 -49
- package/es/lowcode/view/lc-components/FieldUpload/meta.json +77 -71
- package/es/lowcode/view/lc-components/FieldUser/meta.json +88 -82
- package/es/lowcode/view/lc-components/FieldYear/meta.json +41 -20
- package/es/lowcode/view/lc-components/Form/index.js +118 -25
- package/es/lowcode/view/lc-components/Form/index.less +4 -4
- package/es/lowcode/view/lc-components/Form/meta.json +616 -605
- package/es/lowcode/view/lc-components/Iframe/meta.json +32 -32
- package/es/lowcode/view/lc-components/ImEx/index.js +29 -29
- package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
- package/es/lowcode/view/lc-components/ImEx/meta.json +113 -113
- package/es/lowcode/view/lc-components/Image/meta.json +114 -114
- package/es/{components/LdRuntimeCom/index.js → lowcode/view/lc-components/JSX/RuntimeComp.js} +12 -15
- package/es/lowcode/view/lc-components/JSX/index.js +5 -6
- package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
- package/es/lowcode/view/lc-components/Layout/index.js +19 -17
- 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/index.js +3 -0
- package/es/lowcode/view/lc-components/Link/meta.json +112 -112
- package/es/lowcode/view/lc-components/Page/meta.json +49 -49
- package/es/lowcode/view/lc-components/PageContent/index.js +3 -1
- package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageFooter/index.js +3 -0
- package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageHeader/index.js +3 -0
- package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageLayout/index.js +3 -0
- package/es/lowcode/view/lc-components/PageLayout/meta.json +47 -47
- package/es/lowcode/view/lc-components/Section/index.js +6 -3
- package/es/lowcode/view/lc-components/Section/index.less +7 -7
- package/es/lowcode/view/lc-components/Section/meta.json +107 -107
- package/es/lowcode/view/lc-components/Split/index.js +3 -0
- package/es/lowcode/view/lc-components/Split/meta.json +53 -53
- package/es/lowcode/view/lc-components/Table/index.js +160 -167
- package/es/lowcode/view/lc-components/Table/meta.json +405 -405
- package/es/lowcode/view/lc-components/Tabs/index.js +49 -36
- package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
- package/es/lowcode/view/lc-components/Text/index.js +3 -0
- package/es/lowcode/view/lc-components/Text/meta.json +66 -66
- package/es/lowcode/view/lc-components/Tree/index.js +96 -96
- package/es/lowcode/view/lc-components/Tree/index.less +4 -4
- package/es/lowcode/view/lc-components/Tree/meta.json +363 -363
- package/es/lowcode/view/lc-components/Wrapper.js +1 -0
- package/es/lowcode/view/style/canvas.less +5 -5
- package/es/lowcode/view/style/loading.less +84 -84
- 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 +1 -1
- package/lib/components/LDActions/index.less +68 -68
- package/lib/components/LdAutoForm/index.js +23 -1
- package/lib/components/LdFormList/index.js +4 -2
- package/lib/components/LdGrid/index.js +6 -5
- package/lib/components/LdGridForm/index.js +5 -1
- package/lib/components/LdGridForm/index.less +7 -7
- package/lib/components/LdTree/index.js +25 -3
- package/lib/components/LdTree/index.less +40 -40
- package/lib/helper/action.js +6 -6
- package/lib/helper/form.js +15 -15
- package/lib/helper/index.less +7 -7
- package/lib/index.js +1 -9
- package/lib/lowcode/constants/api-url.js +84 -84
- package/lib/lowcode/constants/event-topics.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +1 -1
- package/lib/lowcode/engine/launcher.js +11 -0
- package/lib/lowcode/engine/meta/box.props.default.json +1 -1
- package/lib/lowcode/engine/meta/box.props.json +1 -1
- package/lib/lowcode/engine/meta/components-list.json +6 -6
- package/lib/lowcode/engine/meta/fieldcolor.props.json +9 -3
- package/lib/lowcode/engine/meta/fieldcomplex.props.json +7 -1
- 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/fielddate.props.json +7 -1
- package/lib/lowcode/engine/meta/fielddict.props.json +7 -1
- package/lib/lowcode/engine/meta/fieldeditor.props.json +7 -1
- package/lib/lowcode/engine/meta/fieldgroup.props.json +7 -1
- package/lib/lowcode/engine/meta/fieldnumber.props.json +8 -2
- package/lib/lowcode/engine/meta/fieldradio.props.json +9 -3
- package/lib/lowcode/engine/meta/fieldregion.props.json +9 -3
- package/lib/lowcode/engine/meta/fieldselect.props.json +9 -3
- package/lib/lowcode/engine/meta/fieldstring.props.default.json +0 -4
- package/lib/lowcode/engine/meta/fieldstring.props.json +14 -12
- package/lib/lowcode/engine/meta/fieldswitch.props.json +8 -2
- package/lib/lowcode/engine/meta/fieldtextarea.props.json +11 -5
- package/lib/lowcode/engine/meta/fieldupload.props.json +8 -2
- package/lib/lowcode/engine/meta/fielduser.props.json +7 -1
- package/lib/lowcode/engine/meta/fieldyear.props.json +26 -3
- package/lib/lowcode/engine/meta/form.props.json +22 -2
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +17 -17
- package/lib/lowcode/engine/meta/page.props.json +6 -6
- package/lib/lowcode/engine/provider/ContextProvider/index.js +34 -34
- package/lib/lowcode/engine/provider/RemoteSourceProvider.js +30 -8
- package/lib/lowcode/engine/tools/dataProcess.js +76 -76
- package/lib/lowcode/engine/tools/diff.js +5 -5
- package/lib/lowcode/engine/tools/helper.js +61 -4
- package/lib/lowcode/engine/tools/usePageDataStore.js +9 -4
- package/lib/lowcode/index.js +1 -5
- package/lib/lowcode/painter/Components.js +2 -2
- package/lib/lowcode/painter/Design.js +4 -4
- package/lib/lowcode/painter/DesignOperator.js +1 -1
- package/lib/lowcode/painter/DesignToolbar.js +7 -4
- package/lib/lowcode/painter/components/ActionBindModal.js +6 -0
- 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 +28 -28
- 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 -31
- 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 +44 -34
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
- package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +3 -1
- package/lib/lowcode/painter/panel-section/ComponentSelector.js +43 -0
- package/lib/lowcode/painter/panel-section/I18nInput.js +2 -1
- 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/SplitDisplay.js +3 -2
- 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/panel-section/TreeRootEditor.js +10 -2
- 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 +158 -152
- 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/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/Canvas.js +20 -5
- package/lib/lowcode/view/Page.js +3 -4
- package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +7 -2
- 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 +153 -153
- package/lib/lowcode/view/lc-components/Dialog/index.js +19 -13
- package/lib/lowcode/view/lc-components/Dialog/index.less +3 -3
- package/lib/lowcode/view/lc-components/Dialog/meta.json +150 -150
- package/lib/lowcode/view/lc-components/Drawer/index.js +15 -12
- package/lib/lowcode/view/lc-components/Drawer/index.less +9 -9
- package/lib/lowcode/view/lc-components/Drawer/meta.json +131 -131
- package/lib/lowcode/view/lc-components/FieldColor/meta.json +69 -63
- package/lib/lowcode/view/lc-components/FieldComplex/meta.json +45 -39
- package/lib/lowcode/view/lc-components/FieldDate/meta.json +51 -45
- package/lib/lowcode/view/lc-components/FieldDict/meta.json +50 -44
- package/lib/lowcode/view/lc-components/FieldEditor/meta.json +50 -44
- package/lib/lowcode/view/lc-components/FieldGroup/meta.json +79 -73
- package/lib/lowcode/view/lc-components/FieldNumber/meta.json +54 -48
- package/lib/lowcode/view/lc-components/FieldRadio/meta.json +26 -20
- package/lib/lowcode/view/lc-components/FieldRegion/meta.json +32 -26
- package/lib/lowcode/view/lc-components/FieldSelect/meta.json +64 -58
- package/lib/lowcode/view/lc-components/FieldString/meta.json +64 -62
- package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +37 -31
- package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +55 -49
- package/lib/lowcode/view/lc-components/FieldUpload/meta.json +77 -71
- package/lib/lowcode/view/lc-components/FieldUser/meta.json +88 -82
- package/lib/lowcode/view/lc-components/FieldYear/meta.json +41 -20
- package/lib/lowcode/view/lc-components/Form/index.js +117 -24
- package/lib/lowcode/view/lc-components/Form/index.less +4 -4
- package/lib/lowcode/view/lc-components/Form/meta.json +616 -605
- package/lib/lowcode/view/lc-components/Iframe/meta.json +32 -32
- package/lib/lowcode/view/lc-components/ImEx/index.js +29 -29
- package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
- package/lib/lowcode/view/lc-components/ImEx/meta.json +113 -113
- package/lib/lowcode/view/lc-components/Image/meta.json +114 -114
- package/lib/{components/LdRuntimeCom/index.js → lowcode/view/lc-components/JSX/RuntimeComp.js} +13 -16
- package/lib/lowcode/view/lc-components/JSX/index.js +5 -6
- package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
- package/lib/lowcode/view/lc-components/Layout/index.js +19 -17
- 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/index.js +3 -0
- package/lib/lowcode/view/lc-components/Link/meta.json +112 -112
- package/lib/lowcode/view/lc-components/Page/meta.json +49 -49
- package/lib/lowcode/view/lc-components/PageContent/index.js +2 -0
- package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageFooter/index.js +3 -0
- package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageHeader/index.js +3 -0
- package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageLayout/index.js +3 -0
- package/lib/lowcode/view/lc-components/PageLayout/meta.json +47 -47
- package/lib/lowcode/view/lc-components/Section/index.js +6 -3
- package/lib/lowcode/view/lc-components/Section/index.less +7 -7
- package/lib/lowcode/view/lc-components/Section/meta.json +107 -107
- package/lib/lowcode/view/lc-components/Split/index.js +3 -0
- package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
- package/lib/lowcode/view/lc-components/Table/index.js +160 -167
- package/lib/lowcode/view/lc-components/Table/meta.json +405 -405
- package/lib/lowcode/view/lc-components/Tabs/index.js +48 -35
- package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
- package/lib/lowcode/view/lc-components/Text/index.js +3 -0
- package/lib/lowcode/view/lc-components/Text/meta.json +66 -66
- package/lib/lowcode/view/lc-components/Tree/index.js +96 -96
- package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
- package/lib/lowcode/view/lc-components/Tree/meta.json +363 -363
- package/lib/lowcode/view/lc-components/Wrapper.js +1 -0
- package/lib/lowcode/view/style/canvas.less +5 -5
- package/lib/lowcode/view/style/loading.less +84 -84
- 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 +1 -1
- package/lowcode.js +1 -1
- package/package.json +173 -173
- package/upload.js +1 -1
- package/utils.js +1 -1
|
@@ -46,16 +46,16 @@ var API_PREFIX_PAGE = "".concat(_ApiConfig.default.LUCKDA_HOST, "/page");
|
|
|
46
46
|
var API_PREFIX_MODULE = "".concat(_ApiConfig.default.LUCKDA_HOST, "/module");
|
|
47
47
|
var API_RREFIX_DATASET = "".concat(API_PREFIX_MODULE, "/dataset");
|
|
48
48
|
|
|
49
|
-
/**
|
|
50
|
-
* 通过菜单编码获取page相关数据
|
|
51
|
-
* @param {{code: string}} -code: 菜单编码
|
|
49
|
+
/**
|
|
50
|
+
* 通过菜单编码获取page相关数据
|
|
51
|
+
* @param {{code: string}} -code: 菜单编码
|
|
52
52
|
*/
|
|
53
53
|
function fetchPageData(_x) {
|
|
54
54
|
return _fetchPageData.apply(this, arguments);
|
|
55
55
|
}
|
|
56
|
-
/**
|
|
57
|
-
* 获取design时模块数据
|
|
58
|
-
* @param {{moduleCode: string}} params
|
|
56
|
+
/**
|
|
57
|
+
* 获取design时模块数据
|
|
58
|
+
* @param {{moduleCode: string}} params
|
|
59
59
|
*/
|
|
60
60
|
function _fetchPageData() {
|
|
61
61
|
_fetchPageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(params) {
|
|
@@ -76,11 +76,11 @@ function _fetchPageData() {
|
|
|
76
76
|
function fetchDesignModlueData(_x2, _x3) {
|
|
77
77
|
return _fetchDesignModlueData.apply(this, arguments);
|
|
78
78
|
}
|
|
79
|
-
/**
|
|
80
|
-
* 获取preview时模块数据
|
|
81
|
-
* @param {*} dmCode
|
|
82
|
-
* @param {*} params
|
|
83
|
-
* @returns
|
|
79
|
+
/**
|
|
80
|
+
* 获取preview时模块数据
|
|
81
|
+
* @param {*} dmCode
|
|
82
|
+
* @param {*} params
|
|
83
|
+
* @returns
|
|
84
84
|
*/
|
|
85
85
|
function _fetchDesignModlueData() {
|
|
86
86
|
_fetchDesignModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(_, params) {
|
|
@@ -101,9 +101,9 @@ function _fetchDesignModlueData() {
|
|
|
101
101
|
function fetchPreviewModlueData(_x4, _x5) {
|
|
102
102
|
return _fetchPreviewModlueData.apply(this, arguments);
|
|
103
103
|
}
|
|
104
|
-
/**
|
|
105
|
-
* 获取live时模块数据
|
|
106
|
-
* @param {{moduleCode: string}} params
|
|
104
|
+
/**
|
|
105
|
+
* 获取live时模块数据
|
|
106
|
+
* @param {{moduleCode: string}} params
|
|
107
107
|
*/
|
|
108
108
|
function _fetchPreviewModlueData() {
|
|
109
109
|
_fetchPreviewModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3(dmCode, params) {
|
|
@@ -124,9 +124,9 @@ function _fetchPreviewModlueData() {
|
|
|
124
124
|
function fetchModlueData(_x6, _x7) {
|
|
125
125
|
return _fetchModlueData.apply(this, arguments);
|
|
126
126
|
}
|
|
127
|
-
/**
|
|
128
|
-
* 获取数据模型下的所有数据集
|
|
129
|
-
* @param {{ dataModelKey }} params
|
|
127
|
+
/**
|
|
128
|
+
* 获取数据模型下的所有数据集
|
|
129
|
+
* @param {{ dataModelKey }} params
|
|
130
130
|
*/
|
|
131
131
|
function _fetchModlueData() {
|
|
132
132
|
_fetchModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee4(dmCode, params) {
|
|
@@ -147,9 +147,9 @@ function _fetchModlueData() {
|
|
|
147
147
|
function fetchAllDataset(_x8) {
|
|
148
148
|
return _fetchAllDataset.apply(this, arguments);
|
|
149
149
|
}
|
|
150
|
-
/**
|
|
151
|
-
* 向模块中添加数据集
|
|
152
|
-
* @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
|
|
150
|
+
/**
|
|
151
|
+
* 向模块中添加数据集
|
|
152
|
+
* @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
|
|
153
153
|
*/
|
|
154
154
|
function _fetchAllDataset() {
|
|
155
155
|
_fetchAllDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee5(params) {
|
|
@@ -170,9 +170,9 @@ function _fetchAllDataset() {
|
|
|
170
170
|
function fetchAddDataset(_x9) {
|
|
171
171
|
return _fetchAddDataset.apply(this, arguments);
|
|
172
172
|
}
|
|
173
|
-
/**
|
|
174
|
-
* 获取数据集下的所有字段
|
|
175
|
-
* @param {{datasetUid}} params
|
|
173
|
+
/**
|
|
174
|
+
* 获取数据集下的所有字段
|
|
175
|
+
* @param {{datasetUid}} params
|
|
176
176
|
*/
|
|
177
177
|
function _fetchAddDataset() {
|
|
178
178
|
_fetchAddDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee6(data) {
|
|
@@ -194,10 +194,10 @@ function _fetchAddDataset() {
|
|
|
194
194
|
function fetchFieldsByDataset(_x10) {
|
|
195
195
|
return _fetchFieldsByDataset.apply(this, arguments);
|
|
196
196
|
}
|
|
197
|
-
/**
|
|
198
|
-
* 获取字段配置条件
|
|
199
|
-
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
200
|
-
* @returns
|
|
197
|
+
/**
|
|
198
|
+
* 获取字段配置条件
|
|
199
|
+
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
200
|
+
* @returns
|
|
201
201
|
*/
|
|
202
202
|
function _fetchFieldsByDataset() {
|
|
203
203
|
_fetchFieldsByDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee7(params) {
|
|
@@ -218,9 +218,9 @@ function _fetchFieldsByDataset() {
|
|
|
218
218
|
function fetchFieldCondition(_x11) {
|
|
219
219
|
return _fetchFieldCondition.apply(this, arguments);
|
|
220
220
|
}
|
|
221
|
-
/**
|
|
222
|
-
* 更新是否标题字段
|
|
223
|
-
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
221
|
+
/**
|
|
222
|
+
* 更新是否标题字段
|
|
223
|
+
* @param {{moduleId,datasetId,moduleFieldId}} params
|
|
224
224
|
*/
|
|
225
225
|
function _fetchFieldCondition() {
|
|
226
226
|
_fetchFieldCondition = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee8(params) {
|
|
@@ -241,10 +241,10 @@ function _fetchFieldCondition() {
|
|
|
241
241
|
function fetchUpdateTitleField(_x12) {
|
|
242
242
|
return _fetchUpdateTitleField.apply(this, arguments);
|
|
243
243
|
}
|
|
244
|
-
/**
|
|
245
|
-
* 更新是否唯一校验
|
|
246
|
-
* @param {*} data
|
|
247
|
-
* @returns
|
|
244
|
+
/**
|
|
245
|
+
* 更新是否唯一校验
|
|
246
|
+
* @param {*} data
|
|
247
|
+
* @returns
|
|
248
248
|
*/
|
|
249
249
|
function _fetchUpdateTitleField() {
|
|
250
250
|
_fetchUpdateTitleField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee9(data) {
|
|
@@ -266,9 +266,9 @@ function _fetchUpdateTitleField() {
|
|
|
266
266
|
function fetchUpdateUniqueField(_x13) {
|
|
267
267
|
return _fetchUpdateUniqueField.apply(this, arguments);
|
|
268
268
|
}
|
|
269
|
-
/**
|
|
270
|
-
* 新增字段属性
|
|
271
|
-
* @param {*} data
|
|
269
|
+
/**
|
|
270
|
+
* 新增字段属性
|
|
271
|
+
* @param {*} data
|
|
272
272
|
*/
|
|
273
273
|
function _fetchUpdateUniqueField() {
|
|
274
274
|
_fetchUpdateUniqueField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee10(data) {
|
|
@@ -290,9 +290,9 @@ function _fetchUpdateUniqueField() {
|
|
|
290
290
|
function fetchAddFieldAttrs(_x14) {
|
|
291
291
|
return _fetchAddFieldAttrs.apply(this, arguments);
|
|
292
292
|
}
|
|
293
|
-
/**
|
|
294
|
-
* 删除字段属性
|
|
295
|
-
* @param {*} data
|
|
293
|
+
/**
|
|
294
|
+
* 删除字段属性
|
|
295
|
+
* @param {*} data
|
|
296
296
|
*/
|
|
297
297
|
function _fetchAddFieldAttrs() {
|
|
298
298
|
_fetchAddFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee11(data) {
|
|
@@ -314,9 +314,9 @@ function _fetchAddFieldAttrs() {
|
|
|
314
314
|
function fetchDelAttrs(_x15) {
|
|
315
315
|
return _fetchDelAttrs.apply(this, arguments);
|
|
316
316
|
}
|
|
317
|
-
/**
|
|
318
|
-
* 更新字段属性
|
|
319
|
-
* @param {*} params
|
|
317
|
+
/**
|
|
318
|
+
* 更新字段属性
|
|
319
|
+
* @param {*} params
|
|
320
320
|
*/
|
|
321
321
|
function _fetchDelAttrs() {
|
|
322
322
|
_fetchDelAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee12(data) {
|
|
@@ -338,10 +338,10 @@ function _fetchDelAttrs() {
|
|
|
338
338
|
function fetchUpdateFieldAttrs(_x16) {
|
|
339
339
|
return _fetchUpdateFieldAttrs.apply(this, arguments);
|
|
340
340
|
}
|
|
341
|
-
/**
|
|
342
|
-
* 读取字段配置的属性
|
|
343
|
-
* @param {{uid, scope}} params
|
|
344
|
-
* @returns
|
|
341
|
+
/**
|
|
342
|
+
* 读取字段配置的属性
|
|
343
|
+
* @param {{uid, scope}} params
|
|
344
|
+
* @returns
|
|
345
345
|
*/
|
|
346
346
|
function _fetchUpdateFieldAttrs() {
|
|
347
347
|
_fetchUpdateFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee13(data) {
|
|
@@ -363,10 +363,10 @@ function _fetchUpdateFieldAttrs() {
|
|
|
363
363
|
function fetchAttrs(_x17) {
|
|
364
364
|
return _fetchAttrs.apply(this, arguments);
|
|
365
365
|
}
|
|
366
|
-
/**
|
|
367
|
-
* 读取所有行为
|
|
368
|
-
* @param {{uid}} params
|
|
369
|
-
* @returns
|
|
366
|
+
/**
|
|
367
|
+
* 读取所有行为
|
|
368
|
+
* @param {{uid}} params
|
|
369
|
+
* @returns
|
|
370
370
|
*/
|
|
371
371
|
function _fetchAttrs() {
|
|
372
372
|
_fetchAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee14(params) {
|
|
@@ -387,10 +387,10 @@ function _fetchAttrs() {
|
|
|
387
387
|
function fetchAllBehavior(_x18) {
|
|
388
388
|
return _fetchAllBehavior.apply(this, arguments);
|
|
389
389
|
}
|
|
390
|
-
/**
|
|
391
|
-
* 读取所有资源串
|
|
392
|
-
* @param {{uid}} params
|
|
393
|
-
* @returns
|
|
390
|
+
/**
|
|
391
|
+
* 读取所有资源串
|
|
392
|
+
* @param {{uid}} params
|
|
393
|
+
* @returns
|
|
394
394
|
*/
|
|
395
395
|
function _fetchAllBehavior() {
|
|
396
396
|
_fetchAllBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee15(params) {
|
|
@@ -411,10 +411,10 @@ function _fetchAllBehavior() {
|
|
|
411
411
|
function fetchAllSerials(_x19) {
|
|
412
412
|
return _fetchAllSerials.apply(this, arguments);
|
|
413
413
|
}
|
|
414
|
-
/**
|
|
415
|
-
* 读取导入导出数据源
|
|
416
|
-
* @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
|
|
417
|
-
* @returns
|
|
414
|
+
/**
|
|
415
|
+
* 读取导入导出数据源
|
|
416
|
+
* @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
|
|
417
|
+
* @returns
|
|
418
418
|
*/
|
|
419
419
|
function _fetchAllSerials() {
|
|
420
420
|
_fetchAllSerials = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee16(params) {
|
|
@@ -456,19 +456,19 @@ function getBehaviorUrl() {
|
|
|
456
456
|
return "".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/to/behavior/call");
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
-
/**
|
|
460
|
-
* 执行行为
|
|
461
|
-
* @param {*} params
|
|
462
|
-
* @param {*} data
|
|
463
|
-
* @returns
|
|
459
|
+
/**
|
|
460
|
+
* 执行行为
|
|
461
|
+
* @param {*} params
|
|
462
|
+
* @param {*} data
|
|
463
|
+
* @returns
|
|
464
464
|
*/
|
|
465
465
|
function fetchCallBehavior(_x21, _x22) {
|
|
466
466
|
return _fetchCallBehavior.apply(this, arguments);
|
|
467
467
|
}
|
|
468
|
-
/**
|
|
469
|
-
* 清除当前模块缓存
|
|
470
|
-
* @param {{moduleCode}} params
|
|
471
|
-
* @returns
|
|
468
|
+
/**
|
|
469
|
+
* 清除当前模块缓存
|
|
470
|
+
* @param {{moduleCode}} params
|
|
471
|
+
* @returns
|
|
472
472
|
*/
|
|
473
473
|
function _fetchCallBehavior() {
|
|
474
474
|
_fetchCallBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee18(params, data) {
|
|
@@ -494,10 +494,10 @@ function _fetchCallBehavior() {
|
|
|
494
494
|
function fetchClearCache(_x23) {
|
|
495
495
|
return _fetchClearCache.apply(this, arguments);
|
|
496
496
|
}
|
|
497
|
-
/**
|
|
498
|
-
* 更新页面配置数据
|
|
499
|
-
* @param {*} data
|
|
500
|
-
* @returns
|
|
497
|
+
/**
|
|
498
|
+
* 更新页面配置数据
|
|
499
|
+
* @param {*} data
|
|
500
|
+
* @returns
|
|
501
501
|
*/
|
|
502
502
|
function _fetchClearCache() {
|
|
503
503
|
_fetchClearCache = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee19(params) {
|
|
@@ -518,10 +518,10 @@ function _fetchClearCache() {
|
|
|
518
518
|
function fetchUpdatePageData(_x24) {
|
|
519
519
|
return _fetchUpdatePageData.apply(this, arguments);
|
|
520
520
|
}
|
|
521
|
-
/**
|
|
522
|
-
* 获取数据字典
|
|
523
|
-
* @param {{snamealias}} params
|
|
524
|
-
* @returns
|
|
521
|
+
/**
|
|
522
|
+
* 获取数据字典
|
|
523
|
+
* @param {{snamealias}} params
|
|
524
|
+
* @returns
|
|
525
525
|
*/
|
|
526
526
|
function _fetchUpdatePageData() {
|
|
527
527
|
_fetchUpdatePageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee20(data) {
|
|
@@ -543,10 +543,10 @@ function _fetchUpdatePageData() {
|
|
|
543
543
|
function fetchDataDic(_x25) {
|
|
544
544
|
return _fetchDataDic.apply(this, arguments);
|
|
545
545
|
}
|
|
546
|
-
/**
|
|
547
|
-
* 导出excel
|
|
548
|
-
* @param {*} data
|
|
549
|
-
* @returns
|
|
546
|
+
/**
|
|
547
|
+
* 导出excel
|
|
548
|
+
* @param {*} data
|
|
549
|
+
* @returns
|
|
550
550
|
*/
|
|
551
551
|
function _fetchDataDic() {
|
|
552
552
|
_fetchDataDic = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee21(params) {
|
|
@@ -567,10 +567,10 @@ function _fetchDataDic() {
|
|
|
567
567
|
function exportExcel(_x26, _x27) {
|
|
568
568
|
return _exportExcel.apply(this, arguments);
|
|
569
569
|
}
|
|
570
|
-
/**
|
|
571
|
-
* 导入
|
|
572
|
-
* @param {*} params, data
|
|
573
|
-
* @returns
|
|
570
|
+
/**
|
|
571
|
+
* 导入
|
|
572
|
+
* @param {*} params, data
|
|
573
|
+
* @returns
|
|
574
574
|
*/
|
|
575
575
|
function _exportExcel() {
|
|
576
576
|
_exportExcel = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee22(params, data) {
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.PAGE_PUBLIC_RESOURCE_CHANGED = exports.LANG_SETTING_SELECT = exports.COMPONENT_UNMOUNT = exports.COMPONENT_SETTING_CLICK = exports.COMPONENT_REPOSITIONING = exports.COMPONENT_MOUNT = exports.COMPONENT_MODIFY = exports.COMPONENT_MODAL_TOGGLE = exports.COMPONENT_HOVER = exports.COMPONENT_DRAG_OVER = exports.COMPONENT_DRAG_END = exports.COMPONENT_DELETE = exports.COMPONENT_APPEND = exports.COMPONENT_ACTIVE = void 0;
|
|
6
|
+
exports.PAGE_PUBLIC_RESOURCE_CHANGED = exports.PAGE_LOAD_MOUNT = exports.LANG_SETTING_SELECT = exports.COMPONENT_UNMOUNT = exports.COMPONENT_SETTING_CLICK = exports.COMPONENT_REPOSITIONING = exports.COMPONENT_MOUNT = exports.COMPONENT_MODIFY = exports.COMPONENT_MODAL_TOGGLE = exports.COMPONENT_HOVER = exports.COMPONENT_DRAG_OVER = exports.COMPONENT_DRAG_END = exports.COMPONENT_DELETE = exports.COMPONENT_APPEND = exports.COMPONENT_ACTIVE = void 0;
|
|
7
7
|
/******************************** 通用Topic开始 ********************************/
|
|
8
8
|
|
|
9
|
+
var PAGE_LOAD_MOUNT = exports.PAGE_LOAD_MOUNT = 'page-load-mount';
|
|
9
10
|
// 组件的加载完成事件
|
|
10
11
|
var COMPONENT_MOUNT = exports.COMPONENT_MOUNT = 'component-mount';
|
|
11
12
|
// 组件的卸载事件
|
|
@@ -22,7 +22,7 @@ var StringComp = function StringComp(_ref) {
|
|
|
22
22
|
size = _ref.size,
|
|
23
23
|
disabled = _ref.disabled;
|
|
24
24
|
var handleChange = (0, _react.useRef)((0, _lodash.debounce)(function (newValue) {
|
|
25
|
-
onChange(newValue);
|
|
25
|
+
onChange(newValue.trim());
|
|
26
26
|
}, 400));
|
|
27
27
|
return /*#__PURE__*/_react.default.createElement(_antd.Input, {
|
|
28
28
|
onChange: function onChange(e) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = launcher;
|
|
7
|
+
var _helper = require("./tools/helper");
|
|
8
|
+
function launcher() {
|
|
9
|
+
console.log('%c LuckdaLowCodeEngine %c v'.concat(BIZ_VERSION, ' '), 'padding: 2px 1px; border-radius: 3px 0 0 3px; color: #fff; background: #606060; font-weight: bold;', 'padding: 2px 1px; border-radius: 0 3px 3px 0; color: #fff; background: #42c02e; font-weight: bold;');
|
|
10
|
+
window.loadScript = _helper.loadScript;
|
|
11
|
+
}
|
|
@@ -171,18 +171,18 @@
|
|
|
171
171
|
"desc": "用于在当前文档中嵌入另一个独立的 HTML 文档、网页或其他类型的媒体内容。它提供了一种将外部内容嵌入到网页中的方法。",
|
|
172
172
|
"icon": "icon-iframe"
|
|
173
173
|
},
|
|
174
|
-
{
|
|
175
|
-
"component": "Image",
|
|
176
|
-
"name": "图片",
|
|
177
|
-
"desc": "用于显示图像或照片。以便用户可以轻松地创建具有自定义图片样式和布局的界面。",
|
|
178
|
-
"icon": "icon-image"
|
|
179
|
-
},
|
|
180
174
|
{
|
|
181
175
|
"component": "ImEx",
|
|
182
176
|
"name": "导入导出",
|
|
183
177
|
"desc": "支持导入导出数据的按钮组件。",
|
|
184
178
|
"icon": "icon-imex"
|
|
185
179
|
},
|
|
180
|
+
{
|
|
181
|
+
"component": "Image",
|
|
182
|
+
"name": "图片",
|
|
183
|
+
"desc": "用于显示图像或照片。以便用户可以轻松地创建具有自定义图片样式和布局的界面。",
|
|
184
|
+
"icon": "icon-image"
|
|
185
|
+
},
|
|
186
186
|
{
|
|
187
187
|
"component": "JSX",
|
|
188
188
|
"name": "jsx代码段",
|
|
@@ -40,11 +40,17 @@
|
|
|
40
40
|
],
|
|
41
41
|
"advance": {
|
|
42
42
|
"events": [
|
|
43
|
+
{
|
|
44
|
+
"key": "onValueChange",
|
|
45
|
+
"name": "数据变化事件",
|
|
46
|
+
"desc": "在数据变化事件时,执行方法",
|
|
47
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
48
|
+
},
|
|
43
49
|
{
|
|
44
50
|
"key": "onChange",
|
|
45
|
-
"name": "
|
|
46
|
-
"desc": "
|
|
47
|
-
"func": "function onChange(
|
|
51
|
+
"name": "值变化事件(onChange)",
|
|
52
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
53
|
+
"func": "function onChange(color) {\n\t\n}"
|
|
48
54
|
},
|
|
49
55
|
{
|
|
50
56
|
"key": "onOpen",
|
|
@@ -17,9 +17,15 @@
|
|
|
17
17
|
"advance": {
|
|
18
18
|
"events": [
|
|
19
19
|
{
|
|
20
|
-
"key": "
|
|
20
|
+
"key": "onValueChange",
|
|
21
21
|
"name": "数据变化事件",
|
|
22
22
|
"desc": "在数据变化事件时,执行方法",
|
|
23
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "onChange",
|
|
27
|
+
"name": "值变化事件(onChange)",
|
|
28
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
23
29
|
"func": "function onChange(value, option) {\n\t\n}"
|
|
24
30
|
},
|
|
25
31
|
{
|
|
@@ -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
|
+
}
|
|
@@ -37,9 +37,15 @@
|
|
|
37
37
|
"advance": {
|
|
38
38
|
"events": [
|
|
39
39
|
{
|
|
40
|
-
"key": "
|
|
40
|
+
"key": "onValueChange",
|
|
41
41
|
"name": "数据变化事件",
|
|
42
42
|
"desc": "在数据变化事件时,执行方法",
|
|
43
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"key": "onChange",
|
|
47
|
+
"name": "值变化事件(onChange)",
|
|
48
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
43
49
|
"func": "function onChange(data, dataString) {\n\t\n}"
|
|
44
50
|
}
|
|
45
51
|
]
|
|
@@ -34,9 +34,15 @@
|
|
|
34
34
|
"advance": {
|
|
35
35
|
"events": [
|
|
36
36
|
{
|
|
37
|
-
"key": "
|
|
37
|
+
"key": "onValueChange",
|
|
38
38
|
"name": "数据变化事件",
|
|
39
39
|
"desc": "在数据变化事件时,执行方法",
|
|
40
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"key": "onChange",
|
|
44
|
+
"name": "值变化事件(onChange)",
|
|
45
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
40
46
|
"func": "function onChange(data) {\n\t\n}"
|
|
41
47
|
}
|
|
42
48
|
]
|
|
@@ -28,9 +28,15 @@
|
|
|
28
28
|
"advance": {
|
|
29
29
|
"events": [
|
|
30
30
|
{
|
|
31
|
-
"key": "
|
|
31
|
+
"key": "onValueChange",
|
|
32
32
|
"name": "数据变化事件",
|
|
33
33
|
"desc": "在数据变化事件时,执行方法",
|
|
34
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"key": "onChange",
|
|
38
|
+
"name": "值变化事件(onChange)",
|
|
39
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
34
40
|
"func": "function onChange(value, extra) {\n\t\n}"
|
|
35
41
|
},
|
|
36
42
|
{
|
|
@@ -51,9 +51,15 @@
|
|
|
51
51
|
"advance": {
|
|
52
52
|
"events": [
|
|
53
53
|
{
|
|
54
|
-
"key": "
|
|
54
|
+
"key": "onValueChange",
|
|
55
55
|
"name": "数据变化事件",
|
|
56
56
|
"desc": "在数据变化事件时,执行方法",
|
|
57
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"key": "onChange",
|
|
61
|
+
"name": "值变化事件(onChange)",
|
|
62
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
57
63
|
"func": "function onChange(value, extra) {\n\t\n}"
|
|
58
64
|
},
|
|
59
65
|
{
|
|
@@ -38,10 +38,16 @@
|
|
|
38
38
|
"advance": {
|
|
39
39
|
"events": [
|
|
40
40
|
{
|
|
41
|
-
"key": "
|
|
41
|
+
"key": "onValueChange",
|
|
42
42
|
"name": "数据变化事件",
|
|
43
43
|
"desc": "在数据变化事件时,执行方法",
|
|
44
|
-
"func": "function
|
|
44
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"key": "onChange",
|
|
48
|
+
"name": "值变化事件(onChange)",
|
|
49
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
50
|
+
"func": "function onChange(value) {\n\t\n}"
|
|
45
51
|
}
|
|
46
52
|
]
|
|
47
53
|
}
|
|
@@ -10,10 +10,16 @@
|
|
|
10
10
|
"advance": {
|
|
11
11
|
"events": [
|
|
12
12
|
{
|
|
13
|
-
"key": "
|
|
13
|
+
"key": "onValueChange",
|
|
14
14
|
"name": "数据变化事件",
|
|
15
|
-
"desc": "
|
|
16
|
-
"func": "function
|
|
15
|
+
"desc": "在数据变化事件时,执行方法",
|
|
16
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"key": "onChange",
|
|
20
|
+
"name": "值变化事件(onChange)",
|
|
21
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
22
|
+
"func": "function onChange(e) {\n\t\n}"
|
|
17
23
|
}
|
|
18
24
|
]
|
|
19
25
|
}
|
|
@@ -10,10 +10,16 @@
|
|
|
10
10
|
"advance": {
|
|
11
11
|
"events": [
|
|
12
12
|
{
|
|
13
|
-
"key": "
|
|
13
|
+
"key": "onValueChange",
|
|
14
14
|
"name": "数据变化事件",
|
|
15
|
-
"desc": "
|
|
16
|
-
"func": "function
|
|
15
|
+
"desc": "在数据变化事件时,执行方法",
|
|
16
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"key": "onChange",
|
|
20
|
+
"name": "值变化事件(onChange)",
|
|
21
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
22
|
+
"func": "function onChange(value, option) {\n\t\n}"
|
|
17
23
|
},
|
|
18
24
|
{
|
|
19
25
|
"key": "onPopupVisibleChange",
|