@luck-design-biz/luckda 0.0.25-11 → 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 +8 -2
- 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/helper.js +60 -3
- 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 -155
- 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 +16 -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 -35
- package/es/lowcode/view/lc-components/Form/index.js +116 -23
- 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 +25 -25
- 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 +8 -2
- 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/helper.js +61 -2
- 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 -155
- 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 +16 -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 -35
- package/lib/lowcode/view/lc-components/Form/index.js +115 -22
- 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 +25 -25
- 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 +3 -5
- package/upload.js +1 -1
- package/utils.js +1 -1
|
@@ -80,9 +80,9 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
80
80
|
setClickedRow = _useSetState2[1];
|
|
81
81
|
(0, _react.useImperativeHandle)(apiRef, function () {
|
|
82
82
|
return {
|
|
83
|
-
/**
|
|
84
|
-
* 获取表格实例
|
|
85
|
-
* @method
|
|
83
|
+
/**
|
|
84
|
+
* 获取表格实例
|
|
85
|
+
* @method
|
|
86
86
|
*/
|
|
87
87
|
getInstance: function getInstance() {
|
|
88
88
|
return instanceRef.current;
|
|
@@ -112,47 +112,39 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
112
112
|
maxCount: (actions.current || actions).max,
|
|
113
113
|
type: (actions.current || actions).type,
|
|
114
114
|
getActions: function getActions() {
|
|
115
|
-
return (actions.current || actions).todoList.map(function (
|
|
115
|
+
return (actions.current || actions).todoList.map(function (_action) {
|
|
116
116
|
return {
|
|
117
|
-
title:
|
|
118
|
-
action: function (
|
|
119
|
-
function action(_x, _x2, _x3) {
|
|
120
|
-
return _action.apply(this, arguments);
|
|
121
|
-
}
|
|
122
|
-
action.toString = function () {
|
|
123
|
-
return _action.toString();
|
|
124
|
-
};
|
|
125
|
-
return action;
|
|
126
|
-
}(function (data, rowIndex, params) {
|
|
117
|
+
title: _action.name,
|
|
118
|
+
action: function action(data, rowIndex, params) {
|
|
127
119
|
var doAction = function doAction() {
|
|
128
|
-
ctx.doAction(
|
|
120
|
+
ctx.doAction(_action.actionPool, {
|
|
129
121
|
data: data,
|
|
130
122
|
rowIndex: rowIndex,
|
|
131
123
|
params: params,
|
|
132
124
|
datasetCode: dataset.code
|
|
133
125
|
});
|
|
134
126
|
};
|
|
135
|
-
if (
|
|
127
|
+
if (_action.riskLevel === 'danger') {
|
|
136
128
|
_base.Modal.confirm({
|
|
137
|
-
title: "\u786E\u8BA4\u6267\u884C".concat(
|
|
129
|
+
title: "\u786E\u8BA4\u6267\u884C".concat(_action.name, "\u884C\u4E3A\u64CD\u4F5C\u5417\uFF1F"),
|
|
138
130
|
onOk: doAction
|
|
139
131
|
});
|
|
140
|
-
} else if (
|
|
132
|
+
} else if (_action.riskLevel === 'destroy') {
|
|
141
133
|
(0, _base.recheck)({
|
|
142
|
-
title: "\u786E\u8BA4\u6267\u884C".concat(
|
|
143
|
-
checkWords: "\u6267\u884C".concat(
|
|
134
|
+
title: "\u786E\u8BA4\u6267\u884C".concat(_action.name, "\u884C\u4E3A\u64CD\u4F5C\u5417\uFF1F"),
|
|
135
|
+
checkWords: "\u6267\u884C".concat(_action.name),
|
|
144
136
|
onOk: doAction
|
|
145
137
|
});
|
|
146
138
|
} else {
|
|
147
139
|
doAction();
|
|
148
140
|
}
|
|
149
|
-
}
|
|
150
|
-
resource:
|
|
151
|
-
style:
|
|
141
|
+
},
|
|
142
|
+
resource: _action.serial,
|
|
143
|
+
style: _action.riskLevel === 'default' ? null : {
|
|
152
144
|
color: {
|
|
153
145
|
danger: '#ff7875',
|
|
154
146
|
destroy: '#ff4d4f'
|
|
155
|
-
}[
|
|
147
|
+
}[_action.riskLevel]
|
|
156
148
|
}
|
|
157
149
|
};
|
|
158
150
|
});
|
|
@@ -323,7 +315,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
323
315
|
}
|
|
324
316
|
}, _callee);
|
|
325
317
|
}));
|
|
326
|
-
return function (
|
|
318
|
+
return function (_x, _x2) {
|
|
327
319
|
return _ref3.apply(this, arguments);
|
|
328
320
|
};
|
|
329
321
|
}());
|
|
@@ -350,7 +342,8 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
350
342
|
};
|
|
351
343
|
}),
|
|
352
344
|
onBatchOperationsClick: function onBatchOperationsClick(key, selectedRows) {
|
|
353
|
-
|
|
345
|
+
var todoListById = (0, _lodash.keyBy)(bantchActions.todoList, 'id');
|
|
346
|
+
ctx.doAction(todoListById[key].actionPool, {
|
|
354
347
|
key: key,
|
|
355
348
|
selectedRows: selectedRows,
|
|
356
349
|
datasetCode: dataset.code
|
|
@@ -580,135 +573,135 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
580
573
|
})));
|
|
581
574
|
});
|
|
582
575
|
LCTable.propTypes = {
|
|
583
|
-
/**
|
|
584
|
-
* @name 唯一标识
|
|
585
|
-
* @type string
|
|
586
|
-
* @disabled true
|
|
576
|
+
/**
|
|
577
|
+
* @name 唯一标识
|
|
578
|
+
* @type string
|
|
579
|
+
* @disabled true
|
|
587
580
|
*/
|
|
588
581
|
id: _propTypes.default.string.isRequired,
|
|
589
|
-
/**
|
|
590
|
-
* @name 数据集
|
|
591
|
-
* @type _DataSetSelector
|
|
582
|
+
/**
|
|
583
|
+
* @name 数据集
|
|
584
|
+
* @type _DataSetSelector
|
|
592
585
|
*/
|
|
593
586
|
dataset: _propTypes.default.shape({
|
|
594
587
|
code: _propTypes.default.string.isRequired,
|
|
595
588
|
uid: _propTypes.default.string.isRequired
|
|
596
589
|
}),
|
|
597
|
-
/**
|
|
598
|
-
* @name 自动加载
|
|
599
|
-
* @desc 首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭
|
|
600
|
-
* @type switch
|
|
601
|
-
* @default true
|
|
590
|
+
/**
|
|
591
|
+
* @name 自动加载
|
|
592
|
+
* @desc 首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭
|
|
593
|
+
* @type switch
|
|
594
|
+
* @default true
|
|
602
595
|
*/
|
|
603
596
|
autoLoad: _propTypes.default.bool,
|
|
604
|
-
/**
|
|
605
|
-
* @name 只读
|
|
606
|
-
* @type switch
|
|
607
|
-
* @default false
|
|
597
|
+
/**
|
|
598
|
+
* @name 只读
|
|
599
|
+
* @type switch
|
|
600
|
+
* @default false
|
|
608
601
|
*/
|
|
609
602
|
readOnly: _propTypes.default.bool,
|
|
610
|
-
/**
|
|
611
|
-
* @name 关闭预设
|
|
612
|
-
* @type switch
|
|
613
|
-
* @default false
|
|
603
|
+
/**
|
|
604
|
+
* @name 关闭预设
|
|
605
|
+
* @type switch
|
|
606
|
+
* @default false
|
|
614
607
|
*/
|
|
615
608
|
suppressPreset: _propTypes.default.bool,
|
|
616
|
-
/**
|
|
617
|
-
* @name 宽度
|
|
618
|
-
* @type _WidthHeight
|
|
619
|
-
* @default 100%
|
|
620
|
-
* @group styleSetting
|
|
609
|
+
/**
|
|
610
|
+
* @name 宽度
|
|
611
|
+
* @type _WidthHeight
|
|
612
|
+
* @default 100%
|
|
613
|
+
* @group styleSetting
|
|
621
614
|
*/
|
|
622
615
|
width: _propTypes.default.string,
|
|
623
|
-
/**
|
|
624
|
-
* @name 高度
|
|
625
|
-
* @type _WidthHeight
|
|
626
|
-
* @default 100%
|
|
627
|
-
* @group styleSetting
|
|
616
|
+
/**
|
|
617
|
+
* @name 高度
|
|
618
|
+
* @type _WidthHeight
|
|
619
|
+
* @default 100%
|
|
620
|
+
* @group styleSetting
|
|
628
621
|
*/
|
|
629
622
|
height: _propTypes.default.string,
|
|
630
|
-
/**
|
|
631
|
-
* @name 边框线
|
|
632
|
-
* @type switch
|
|
633
|
-
* @default false
|
|
634
|
-
* @group styleSetting
|
|
623
|
+
/**
|
|
624
|
+
* @name 边框线
|
|
625
|
+
* @type switch
|
|
626
|
+
* @default false
|
|
627
|
+
* @group styleSetting
|
|
635
628
|
*/
|
|
636
629
|
border: _propTypes.default.bool,
|
|
637
|
-
/**
|
|
638
|
-
* @name 斑马纹
|
|
639
|
-
* @type switch
|
|
640
|
-
* @default false
|
|
641
|
-
* @group styleSetting
|
|
630
|
+
/**
|
|
631
|
+
* @name 斑马纹
|
|
632
|
+
* @type switch
|
|
633
|
+
* @default false
|
|
634
|
+
* @group styleSetting
|
|
642
635
|
*/
|
|
643
636
|
zebra: _propTypes.default.oneOfType[(_propTypes.default.bool, _propTypes.default.string)],
|
|
644
|
-
/**
|
|
645
|
-
* @name 开启分页
|
|
646
|
-
* @type switch
|
|
647
|
-
* @default true
|
|
648
|
-
* @group paginationSetting
|
|
637
|
+
/**
|
|
638
|
+
* @name 开启分页
|
|
639
|
+
* @type switch
|
|
640
|
+
* @default true
|
|
641
|
+
* @group paginationSetting
|
|
649
642
|
*/
|
|
650
643
|
pagination: _propTypes.default.bool,
|
|
651
|
-
/**
|
|
652
|
-
* @name 每页条数
|
|
653
|
-
* @type number
|
|
654
|
-
* @default 30
|
|
655
|
-
* @group paginationSetting
|
|
644
|
+
/**
|
|
645
|
+
* @name 每页条数
|
|
646
|
+
* @type number
|
|
647
|
+
* @default 30
|
|
648
|
+
* @group paginationSetting
|
|
656
649
|
*/
|
|
657
650
|
pageSize: _propTypes.default.number,
|
|
658
|
-
/**
|
|
659
|
-
* @name 分页器
|
|
660
|
-
* @type switch
|
|
661
|
-
* @default true
|
|
662
|
-
* @group paginationSetting
|
|
651
|
+
/**
|
|
652
|
+
* @name 分页器
|
|
653
|
+
* @type switch
|
|
654
|
+
* @default true
|
|
655
|
+
* @group paginationSetting
|
|
663
656
|
*/
|
|
664
657
|
showSizeChanger: _propTypes.default.bool,
|
|
665
|
-
/**
|
|
666
|
-
* @name 快速跳转
|
|
667
|
-
* @type switch
|
|
668
|
-
* @default true
|
|
669
|
-
* @group paginationSetting
|
|
658
|
+
/**
|
|
659
|
+
* @name 快速跳转
|
|
660
|
+
* @type switch
|
|
661
|
+
* @default true
|
|
662
|
+
* @group paginationSetting
|
|
670
663
|
*/
|
|
671
664
|
showQuickJumper: _propTypes.default.bool,
|
|
672
|
-
/**
|
|
673
|
-
* @name 单页无分页器
|
|
674
|
-
* @type switch
|
|
675
|
-
* @default false
|
|
676
|
-
* @group paginationSetting
|
|
665
|
+
/**
|
|
666
|
+
* @name 单页无分页器
|
|
667
|
+
* @type switch
|
|
668
|
+
* @default false
|
|
669
|
+
* @group paginationSetting
|
|
677
670
|
*/
|
|
678
671
|
hideOnSinglePage: _propTypes.default.bool,
|
|
679
|
-
/**
|
|
680
|
-
* @name 简单模式
|
|
681
|
-
* @type switch
|
|
682
|
-
* @default false
|
|
683
|
-
* @group paginationSetting
|
|
672
|
+
/**
|
|
673
|
+
* @name 简单模式
|
|
674
|
+
* @type switch
|
|
675
|
+
* @default false
|
|
676
|
+
* @group paginationSetting
|
|
684
677
|
*/
|
|
685
678
|
paginationSimple: _propTypes.default.bool,
|
|
686
|
-
/**
|
|
687
|
-
* @name 隐藏操作列
|
|
688
|
-
* @type switch
|
|
689
|
-
* @default false
|
|
690
|
-
* @groupNext actionsColumn
|
|
679
|
+
/**
|
|
680
|
+
* @name 隐藏操作列
|
|
681
|
+
* @type switch
|
|
682
|
+
* @default false
|
|
683
|
+
* @groupNext actionsColumn
|
|
691
684
|
*/
|
|
692
685
|
suppressActions: _propTypes.default.bool,
|
|
693
|
-
/**
|
|
694
|
-
* @name 隐藏操作列
|
|
695
|
-
* @type number
|
|
696
|
-
* @default 160
|
|
697
|
-
* @groupNext actionsColumn
|
|
686
|
+
/**
|
|
687
|
+
* @name 隐藏操作列
|
|
688
|
+
* @type number
|
|
689
|
+
* @default 160
|
|
690
|
+
* @groupNext actionsColumn
|
|
698
691
|
*/
|
|
699
692
|
actionsColumnWidth: _propTypes.default.number,
|
|
700
|
-
/**
|
|
701
|
-
* @name 最大显示数
|
|
702
|
-
* @type number
|
|
703
|
-
* @default 2
|
|
704
|
-
* @groupNext actionsColumn
|
|
693
|
+
/**
|
|
694
|
+
* @name 最大显示数
|
|
695
|
+
* @type number
|
|
696
|
+
* @default 2
|
|
697
|
+
* @groupNext actionsColumn
|
|
705
698
|
*/
|
|
706
699
|
maxActionsCount: _propTypes.default.number,
|
|
707
|
-
/**
|
|
708
|
-
* @name 操作项
|
|
709
|
-
* @type _TableActions
|
|
710
|
-
* @groupNext actionsColumn
|
|
711
|
-
* @default {"display": "text", "max": 2, "moreText": "更多行为", "todoList": []}
|
|
700
|
+
/**
|
|
701
|
+
* @name 操作项
|
|
702
|
+
* @type _TableActions
|
|
703
|
+
* @groupNext actionsColumn
|
|
704
|
+
* @default {"display": "text", "max": 2, "moreText": "更多行为", "todoList": []}
|
|
712
705
|
*/
|
|
713
706
|
actions: _propTypes.default.shape({
|
|
714
707
|
display: _propTypes.default.oneOf(['text', 'button']),
|
|
@@ -716,10 +709,10 @@ LCTable.propTypes = {
|
|
|
716
709
|
moreText: _propTypes.default.string,
|
|
717
710
|
todoList: _propTypes.default.array
|
|
718
711
|
}),
|
|
719
|
-
/**
|
|
720
|
-
* @name 顶部操作
|
|
721
|
-
* @type _ActionGroup
|
|
722
|
-
* @default {"display": "button", "max": 2, "moreText": "操作", "todoList": []}
|
|
712
|
+
/**
|
|
713
|
+
* @name 顶部操作
|
|
714
|
+
* @type _ActionGroup
|
|
715
|
+
* @default {"display": "button", "max": 2, "moreText": "操作", "todoList": []}
|
|
723
716
|
*/
|
|
724
717
|
topActionGroup: _propTypes.default.shape({
|
|
725
718
|
display: _propTypes.default.oneOf(['text', 'button']),
|
|
@@ -727,86 +720,86 @@ LCTable.propTypes = {
|
|
|
727
720
|
moreText: _propTypes.default.string,
|
|
728
721
|
todoList: _propTypes.default.array
|
|
729
722
|
}),
|
|
730
|
-
/**
|
|
731
|
-
* @name 顶部过滤器
|
|
732
|
-
* @type _TableTopFilter
|
|
723
|
+
/**
|
|
724
|
+
* @name 顶部过滤器
|
|
725
|
+
* @type _TableTopFilter
|
|
733
726
|
*/
|
|
734
727
|
topFilter: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.array, _propTypes.default.shape({
|
|
735
728
|
options: _propTypes.default.array.isRequired,
|
|
736
729
|
field: _propTypes.default.string.isRequired
|
|
737
730
|
})]),
|
|
738
|
-
/**
|
|
739
|
-
* @name 开启行选择器
|
|
740
|
-
* @type boolean
|
|
741
|
-
* @default false
|
|
731
|
+
/**
|
|
732
|
+
* @name 开启行选择器
|
|
733
|
+
* @type boolean
|
|
734
|
+
* @default false
|
|
742
735
|
*/
|
|
743
736
|
rowSelection: _propTypes.default.bool,
|
|
744
|
-
/**
|
|
745
|
-
* @name 停用分页多选
|
|
746
|
-
* @type boolean
|
|
747
|
-
* @default false
|
|
737
|
+
/**
|
|
738
|
+
* @name 停用分页多选
|
|
739
|
+
* @type boolean
|
|
740
|
+
* @default false
|
|
748
741
|
*/
|
|
749
742
|
suppressRowSelectionPagination: _propTypes.default.bool,
|
|
750
|
-
/**
|
|
751
|
-
* @name 选择器模式
|
|
752
|
-
* @type segmented
|
|
753
|
-
* @options [{label: '复选', value: 'multiple'}, {label: '单选', value: 'single'}]
|
|
754
|
-
* @default 'multiple'
|
|
743
|
+
/**
|
|
744
|
+
* @name 选择器模式
|
|
745
|
+
* @type segmented
|
|
746
|
+
* @options [{label: '复选', value: 'multiple'}, {label: '单选', value: 'single'}]
|
|
747
|
+
* @default 'multiple'
|
|
755
748
|
*/
|
|
756
749
|
rowSelectionMode: _propTypes.default.oneOf(['single', 'multiple']),
|
|
757
|
-
/**
|
|
758
|
-
* @name 默认选中
|
|
759
|
-
* @type _JSEditor
|
|
760
|
-
* @default "function getDefaultRowSelected(data, node, ctx) { \n return false; \n}"
|
|
750
|
+
/**
|
|
751
|
+
* @name 默认选中
|
|
752
|
+
* @type _JSEditor
|
|
753
|
+
* @default "function getDefaultRowSelected(data, node, ctx) { \n return false; \n}"
|
|
761
754
|
*/
|
|
762
755
|
defaultRowSelectedCode: _propTypes.default.string,
|
|
763
|
-
/**
|
|
764
|
-
* @name 行是否可选
|
|
765
|
-
* @type _JSEditor
|
|
766
|
-
* @default "function getRowSelectable(data, node, ctx) { \n return true; \n}"
|
|
756
|
+
/**
|
|
757
|
+
* @name 行是否可选
|
|
758
|
+
* @type _JSEditor
|
|
759
|
+
* @default "function getRowSelectable(data, node, ctx) { \n return true; \n}"
|
|
767
760
|
*/
|
|
768
761
|
rowSelectableCode: _propTypes.default.string,
|
|
769
|
-
/**
|
|
770
|
-
* @name 导入导出
|
|
771
|
-
* @type _ImpExp
|
|
772
|
-
* @default { "export": true }
|
|
762
|
+
/**
|
|
763
|
+
* @name 导入导出
|
|
764
|
+
* @type _ImpExp
|
|
765
|
+
* @default { "export": true }
|
|
773
766
|
*/
|
|
774
767
|
impexp: _propTypes.default.shape({
|
|
775
768
|
import: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
|
|
776
769
|
importType: _propTypes.default.bool,
|
|
777
770
|
export: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string])
|
|
778
771
|
}),
|
|
779
|
-
/**
|
|
780
|
-
* @name 批量操作
|
|
781
|
-
* @type _BatchActions
|
|
782
|
-
* @default { "todoList": [] }
|
|
772
|
+
/**
|
|
773
|
+
* @name 批量操作
|
|
774
|
+
* @type _BatchActions
|
|
775
|
+
* @default { "todoList": [] }
|
|
783
776
|
*/
|
|
784
777
|
bantchActions: _propTypes.default.shape({
|
|
785
778
|
todoList: _propTypes.default.array
|
|
786
779
|
}),
|
|
787
|
-
/**
|
|
788
|
-
* @name 格式化数据
|
|
789
|
-
* @type _JSEditor
|
|
780
|
+
/**
|
|
781
|
+
* @name 格式化数据
|
|
782
|
+
* @type _JSEditor
|
|
790
783
|
*/
|
|
791
784
|
formatDataSource: _propTypes.default.string,
|
|
792
|
-
/**
|
|
793
|
-
* @name 构建树层级
|
|
794
|
-
* @type _JSEditor
|
|
785
|
+
/**
|
|
786
|
+
* @name 构建树层级
|
|
787
|
+
* @type _JSEditor
|
|
795
788
|
*/
|
|
796
789
|
getDataPath: _propTypes.default.string,
|
|
797
|
-
/**
|
|
798
|
-
* @name 重写表格列
|
|
799
|
-
* @type _JSEditor
|
|
790
|
+
/**
|
|
791
|
+
* @name 重写表格列
|
|
792
|
+
* @type _JSEditor
|
|
800
793
|
*/
|
|
801
794
|
columnsRewrite: _propTypes.default.string,
|
|
802
|
-
/**
|
|
803
|
-
* @name 重置表格列
|
|
804
|
-
* @type _JSEditor
|
|
795
|
+
/**
|
|
796
|
+
* @name 重置表格列
|
|
797
|
+
* @type _JSEditor
|
|
805
798
|
*/
|
|
806
799
|
columnsReset: _propTypes.default.string,
|
|
807
|
-
/**
|
|
808
|
-
* @name model参数
|
|
809
|
-
* @type _JSEditor
|
|
800
|
+
/**
|
|
801
|
+
* @name model参数
|
|
802
|
+
* @type _JSEditor
|
|
810
803
|
*/
|
|
811
804
|
modelParams: _propTypes.default.string
|
|
812
805
|
};
|