@luck-design-biz/luckda 0.0.25-12 → 0.0.25-13
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/Builder/index.js +0 -0
- package/es/components/ComplexItem/index.js +0 -0
- package/es/components/ComplexItem/service.js +0 -0
- package/es/components/IconFont/index.js +0 -0
- package/es/components/LDActions/index.js +0 -0
- package/es/components/LDActions/index.less +68 -68
- package/es/components/LdAutoForm/index.js +2 -2
- package/es/components/LdCard/index.js +0 -0
- package/es/components/LdCard/model.js +0 -0
- package/es/components/LdCom/index.js +0 -0
- package/es/components/LdFormList/index.js +3 -1
- package/es/components/LdFormList/model.js +0 -0
- package/es/components/LdGrid/index.js +4 -4
- package/es/components/LdGrid/model.js +0 -0
- package/es/components/LdGridForm/index.js +1 -1
- package/es/components/LdGridForm/index.less +7 -7
- package/es/components/LdInfoPanel/index.js +0 -0
- package/es/components/LdPop/index.js +0 -0
- package/es/components/LdTree/index.js +0 -0
- package/es/components/LdTree/index.less +40 -40
- package/es/helper/FromItems.js +0 -0
- package/es/helper/action.js +6 -6
- package/es/helper/form.js +14 -14
- package/es/helper/index.less +7 -7
- package/es/helper/ldBuilder.js +0 -0
- package/es/helper/ldComBuild.js +0 -0
- package/es/helper/props_config.js +0 -0
- package/es/index.js +0 -0
- package/es/locales/zh-CN.js +0 -4
- package/es/lowcode/constants/api-url.js +84 -84
- package/es/lowcode/constants/event-topics.js +0 -0
- package/es/lowcode/constants/index.js +0 -0
- package/es/lowcode/engine/factory/DataFactory.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +53 -0
- package/es/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/index.js +2 -0
- package/es/lowcode/engine/launcher.js +0 -0
- package/es/lowcode/engine/meta/box.props.default.json +0 -0
- package/es/lowcode/engine/meta/box.props.json +0 -0
- package/es/lowcode/engine/meta/button.props.default.json +0 -0
- package/es/lowcode/engine/meta/button.props.json +0 -0
- package/es/lowcode/engine/meta/cardlist.props.default.json +0 -0
- package/es/lowcode/engine/meta/cardlist.props.json +0 -0
- package/es/lowcode/engine/meta/components-list.json +102 -102
- package/es/lowcode/engine/meta/dialog.props.default.json +0 -0
- package/es/lowcode/engine/meta/dialog.props.json +1 -1
- package/es/lowcode/engine/meta/drawer.props.default.json +0 -0
- package/es/lowcode/engine/meta/drawer.props.json +0 -0
- package/es/lowcode/engine/meta/fieldcolor.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldcolor.props.json +77 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.json +77 -0
- package/es/lowcode/engine/meta/fielddate.props.default.json +2 -0
- package/es/lowcode/engine/meta/fielddate.props.json +77 -0
- package/es/lowcode/engine/meta/fielddict.props.default.json +2 -0
- package/es/lowcode/engine/meta/fielddict.props.json +77 -0
- package/es/lowcode/engine/meta/fieldeditor.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldeditor.props.json +77 -0
- package/es/lowcode/engine/meta/fieldgroup.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldgroup.props.json +77 -0
- package/es/lowcode/engine/meta/fieldnumber.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldnumber.props.json +77 -0
- package/es/lowcode/engine/meta/fieldradio.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldradio.props.json +79 -1
- package/es/lowcode/engine/meta/fieldregion.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldregion.props.json +79 -1
- package/es/lowcode/engine/meta/fieldselect.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldselect.props.json +77 -0
- package/es/lowcode/engine/meta/fieldstring.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldstring.props.json +78 -1
- package/es/lowcode/engine/meta/fieldswitch.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldswitch.props.json +77 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.json +77 -0
- package/es/lowcode/engine/meta/fieldupload.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldupload.props.json +77 -0
- package/es/lowcode/engine/meta/fielduser.props.default.json +2 -0
- package/es/lowcode/engine/meta/fielduser.props.json +77 -0
- package/es/lowcode/engine/meta/fieldyear.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldyear.props.json +77 -0
- package/es/lowcode/engine/meta/form.props.default.json +0 -0
- package/es/lowcode/engine/meta/form.props.json +0 -0
- package/es/lowcode/engine/meta/iframe.props.default.json +0 -0
- package/es/lowcode/engine/meta/iframe.props.json +0 -0
- package/es/lowcode/engine/meta/image.props.default.json +0 -0
- package/es/lowcode/engine/meta/image.props.json +0 -0
- package/es/lowcode/engine/meta/imex.props.default.json +0 -0
- package/es/lowcode/engine/meta/imex.props.json +0 -0
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +13 -13
- package/es/lowcode/engine/meta/jsx.props.default.json +0 -0
- package/es/lowcode/engine/meta/jsx.props.json +0 -0
- package/es/lowcode/engine/meta/layout.props.default.json +0 -0
- package/es/lowcode/engine/meta/layout.props.json +0 -0
- package/es/lowcode/engine/meta/link.props.default.json +0 -0
- package/es/lowcode/engine/meta/link.props.json +0 -0
- package/es/lowcode/engine/meta/page.props.default.json +0 -0
- package/es/lowcode/engine/meta/page.props.json +0 -0
- package/es/lowcode/engine/meta/pagecontent.props.default.json +0 -0
- package/es/lowcode/engine/meta/pagecontent.props.json +0 -0
- package/es/lowcode/engine/meta/pagefooter.props.default.json +0 -0
- package/es/lowcode/engine/meta/pagefooter.props.json +0 -0
- package/es/lowcode/engine/meta/pageheader.props.default.json +0 -0
- package/es/lowcode/engine/meta/pageheader.props.json +0 -0
- package/es/lowcode/engine/meta/pagelayout.props.default.json +0 -0
- package/es/lowcode/engine/meta/pagelayout.props.json +0 -0
- package/es/lowcode/engine/meta/section.props.default.json +0 -0
- package/es/lowcode/engine/meta/section.props.json +0 -0
- package/es/lowcode/engine/meta/split.props.default.json +0 -0
- package/es/lowcode/engine/meta/split.props.json +0 -0
- package/es/lowcode/engine/meta/table.props.default.json +0 -0
- package/es/lowcode/engine/meta/table.props.json +0 -0
- package/es/lowcode/engine/meta/tabs.props.default.json +0 -0
- package/es/lowcode/engine/meta/tabs.props.json +0 -0
- package/es/lowcode/engine/meta/text.props.default.json +0 -0
- package/es/lowcode/engine/meta/text.props.json +0 -0
- package/es/lowcode/engine/meta/tree.props.default.json +0 -0
- package/es/lowcode/engine/meta/tree.props.json +0 -0
- package/es/lowcode/engine/provider/ContextProvider/index.js +33 -33
- package/es/lowcode/engine/provider/EventBusProvider.js +0 -0
- package/es/lowcode/engine/provider/RemoteSourceProvider.js +0 -0
- package/es/lowcode/engine/tools/dataProcess.js +76 -76
- package/es/lowcode/engine/tools/diff.js +0 -0
- package/es/lowcode/engine/tools/helper.js +0 -0
- package/es/lowcode/engine/tools/useCanvasRender.js +0 -0
- package/es/lowcode/engine/tools/usePageDataStore.js +0 -0
- package/es/lowcode/engine/tools/usePromiseState.js +0 -0
- package/es/lowcode/engine/tools/useTodo.js +0 -0
- package/es/lowcode/index.js +0 -0
- package/es/lowcode/painter/Components.js +2 -2
- package/es/lowcode/painter/Design.js +0 -0
- package/es/lowcode/painter/DesignOperator.js +0 -0
- package/es/lowcode/painter/DesignToolbar.js +0 -0
- package/es/lowcode/painter/I18n.js +0 -0
- package/es/lowcode/painter/Outline.js +0 -0
- package/es/lowcode/painter/Panel.js +3 -2
- package/es/lowcode/painter/Ribbon.js +0 -0
- package/es/lowcode/painter/components/ActionBindModal.js +0 -0
- package/es/lowcode/painter/components/AdvancePanel.js +0 -0
- package/es/lowcode/painter/components/AttrsPanel.js +0 -0
- package/es/lowcode/painter/components/Collapse.js +26 -26
- package/es/lowcode/painter/components/ColorInput.js +24 -24
- package/es/lowcode/painter/components/DragDrop/DragDropContext.js +0 -0
- package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
- package/es/lowcode/painter/components/DragDrop/Overlay.js +0 -0
- package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
- package/es/lowcode/painter/components/FieldSelector.js +0 -0
- 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 -30
- package/es/lowcode/painter/components/SortBox.js +22 -22
- package/es/lowcode/painter/components/TreeEditor.js +0 -0
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
- package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
- package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
- package/es/lowcode/painter/components/code-editor/JSEditor.js +20 -20
- package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
- package/es/lowcode/painter/components/code-editor/index.js +0 -0
- package/es/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
- package/es/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
- package/es/lowcode/painter/components/field-setting/CheckRules.js +0 -0
- package/es/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
- package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -0
- package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
- package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -0
- package/es/lowcode/painter/components/field-setting/SettingUI.js +2 -53
- package/es/lowcode/painter/components/field-setting/index.js +0 -2
- package/es/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
- package/es/lowcode/painter/index.js +0 -0
- package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
- package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
- package/es/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
- package/es/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
- package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
- package/es/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
- package/es/lowcode/painter/panel-section/ButtonType.js +0 -0
- package/es/lowcode/painter/panel-section/ComponentSelector.js +0 -0
- package/es/lowcode/painter/panel-section/DataSetSelector.js +7 -4
- package/es/lowcode/painter/panel-section/FieldsSetting.js +21 -51
- package/es/lowcode/painter/panel-section/I18nInput.js +0 -0
- package/es/lowcode/painter/panel-section/Icon.js +23 -23
- package/es/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
- package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
- package/es/lowcode/painter/panel-section/ImpExp.js +0 -0
- package/es/lowcode/painter/panel-section/ImpExpAlone.js +0 -0
- package/es/lowcode/painter/panel-section/JSEditor.js +0 -0
- package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
- package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +0 -0
- package/es/lowcode/painter/panel-section/SerialsSelector.js +0 -0
- package/es/lowcode/painter/panel-section/SplitDisplay.js +0 -0
- 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/DisplaySvg.js +0 -0
- 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/TabItems.js +0 -0
- package/es/lowcode/painter/panel-section/TableTopFilter.js +0 -0
- package/es/lowcode/painter/panel-section/TableZebra.js +0 -0
- package/es/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
- package/es/lowcode/painter/panel-section/WidthHeight.js +0 -0
- package/es/lowcode/painter/services/I18n.js +0 -0
- 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 -158
- 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/preview/index.js +0 -0
- package/es/lowcode/view/Canvas.js +0 -0
- package/es/lowcode/view/Loading.js +0 -0
- package/es/lowcode/view/Page.js +0 -0
- package/es/lowcode/view/index.js +0 -0
- package/es/lowcode/view/lc-components/Box/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
- 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/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
- 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/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/CardList/index.js +0 -0
- package/es/lowcode/view/lc-components/CardList/meta.json +153 -153
- package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Dialog/index.js +40 -19
- 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/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Drawer/index.js +12 -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 +146 -69
- package/es/lowcode/view/lc-components/FieldComplex/meta.json +122 -45
- package/es/lowcode/view/lc-components/FieldDate/meta.json +128 -51
- package/es/lowcode/view/lc-components/FieldDict/meta.json +127 -50
- package/es/lowcode/view/lc-components/FieldEditor/meta.json +127 -50
- package/es/lowcode/view/lc-components/FieldGroup/meta.json +156 -79
- package/es/lowcode/view/lc-components/FieldNumber/meta.json +131 -54
- package/es/lowcode/view/lc-components/FieldRadio/meta.json +104 -26
- package/es/lowcode/view/lc-components/FieldRegion/meta.json +110 -32
- package/es/lowcode/view/lc-components/FieldSelect/meta.json +141 -64
- package/es/lowcode/view/lc-components/FieldString/meta.json +141 -64
- package/es/lowcode/view/lc-components/FieldSwitch/meta.json +114 -37
- package/es/lowcode/view/lc-components/FieldTextarea/meta.json +132 -55
- package/es/lowcode/view/lc-components/FieldUpload/meta.json +154 -77
- package/es/lowcode/view/lc-components/FieldUser/meta.json +165 -88
- package/es/lowcode/view/lc-components/FieldYear/meta.json +118 -41
- package/es/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Form/index.js +41 -30
- package/es/lowcode/view/lc-components/Form/index.less +4 -4
- package/es/lowcode/view/lc-components/Form/meta.json +616 -616
- package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Iframe/index.js +0 -0
- package/es/lowcode/view/lc-components/Iframe/meta.json +32 -32
- package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/ImEx/index.js +25 -25
- package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
- package/es/lowcode/view/lc-components/ImEx/meta.json +113 -113
- package/es/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Image/index.js +0 -0
- package/es/lowcode/view/lc-components/Image/meta.json +114 -114
- package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
- package/es/lowcode/view/lc-components/JSX/index.js +0 -0
- package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
- package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Layout/index.js +16 -16
- package/es/lowcode/view/lc-components/Layout/index.less +5 -5
- package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
- package/es/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Link/index.js +0 -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 +0 -0
- package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageFooter/index.js +0 -0
- package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageHeader/index.js +0 -0
- package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
- package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/PageLayout/index.js +0 -0
- package/es/lowcode/view/lc-components/PageLayout/meta.json +47 -47
- package/es/lowcode/view/lc-components/PageModal/index.js +0 -0
- package/es/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Section/index.js +0 -0
- 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/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Split/index.js +0 -0
- package/es/lowcode/view/lc-components/Split/meta.json +53 -53
- package/es/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
- package/es/lowcode/view/lc-components/Table/components/TopImex.js +3 -1
- package/es/lowcode/view/lc-components/Table/index.js +153 -153
- package/es/lowcode/view/lc-components/Table/meta.json +405 -405
- package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Tabs/index.js +23 -23
- package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
- package/es/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
- package/es/lowcode/view/lc-components/Text/index.js +0 -0
- package/es/lowcode/view/lc-components/Text/meta.json +66 -66
- package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
- package/es/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
- package/es/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
- 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 +0 -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/services.js +0 -0
- package/es/upload/FilesWall/file.png +0 -0
- package/es/upload/FilesWall/index.js +13 -13
- package/es/upload/FilesWall/index.less +74 -74
- package/es/upload/Form/gridForm.js +0 -0
- package/es/upload/Form/index.js +0 -0
- package/es/upload/Form/index.less +7 -7
- package/es/upload/FormItem/index.js +15 -15
- package/es/upload/GridCell/index.js +0 -0
- package/es/upload/index.js +0 -0
- package/es/utils/action.js +0 -0
- package/es/utils/form.js +21 -21
- package/es/utils/grid.js +1 -1
- package/es/utils/index.js +0 -0
- package/lib/components/Builder/index.js +0 -0
- package/lib/components/ComplexItem/index.js +0 -0
- package/lib/components/ComplexItem/service.js +0 -0
- package/lib/components/IconFont/index.js +0 -0
- package/lib/components/LDActions/index.js +0 -0
- package/lib/components/LDActions/index.less +68 -68
- package/lib/components/LdAutoForm/index.js +2 -2
- package/lib/components/LdCard/index.js +0 -0
- package/lib/components/LdCard/model.js +0 -0
- package/lib/components/LdCom/index.js +0 -0
- package/lib/components/LdFormList/index.js +3 -1
- package/lib/components/LdFormList/model.js +0 -0
- package/lib/components/LdGrid/index.js +4 -4
- package/lib/components/LdGrid/model.js +0 -0
- package/lib/components/LdGridForm/index.js +1 -1
- package/lib/components/LdGridForm/index.less +7 -7
- package/lib/components/LdInfoPanel/index.js +0 -0
- package/lib/components/LdPop/index.js +0 -0
- package/lib/components/LdTree/index.js +0 -0
- package/lib/components/LdTree/index.less +40 -40
- package/lib/helper/FromItems.js +0 -0
- package/lib/helper/action.js +6 -6
- package/lib/helper/form.js +14 -14
- package/lib/helper/index.less +7 -7
- package/lib/helper/ldBuilder.js +0 -0
- package/lib/helper/ldComBuild.js +0 -0
- package/lib/helper/props_config.js +0 -0
- package/lib/index.js +0 -0
- package/lib/locales/zh-CN.js +0 -4
- package/lib/lowcode/constants/api-url.js +84 -84
- package/lib/lowcode/constants/event-topics.js +0 -0
- package/lib/lowcode/constants/index.js +0 -0
- package/lib/lowcode/engine/factory/DataFactory.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +59 -0
- package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/index.js +2 -0
- package/lib/lowcode/engine/launcher.js +0 -0
- package/lib/lowcode/engine/meta/box.props.default.json +0 -0
- package/lib/lowcode/engine/meta/box.props.json +0 -0
- package/lib/lowcode/engine/meta/button.props.default.json +0 -0
- package/lib/lowcode/engine/meta/button.props.json +0 -0
- package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -0
- package/lib/lowcode/engine/meta/cardlist.props.json +0 -0
- package/lib/lowcode/engine/meta/components-list.json +102 -102
- package/lib/lowcode/engine/meta/dialog.props.default.json +0 -0
- package/lib/lowcode/engine/meta/dialog.props.json +1 -1
- package/lib/lowcode/engine/meta/drawer.props.default.json +0 -0
- package/lib/lowcode/engine/meta/drawer.props.json +0 -0
- package/lib/lowcode/engine/meta/fieldcolor.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldcolor.props.json +77 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.json +77 -0
- package/lib/lowcode/engine/meta/fielddate.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fielddate.props.json +77 -0
- package/lib/lowcode/engine/meta/fielddict.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fielddict.props.json +77 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.json +77 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.json +77 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.json +77 -0
- package/lib/lowcode/engine/meta/fieldradio.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldradio.props.json +79 -1
- package/lib/lowcode/engine/meta/fieldregion.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldregion.props.json +79 -1
- package/lib/lowcode/engine/meta/fieldselect.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldselect.props.json +77 -0
- package/lib/lowcode/engine/meta/fieldstring.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldstring.props.json +78 -1
- package/lib/lowcode/engine/meta/fieldswitch.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.json +77 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.json +77 -0
- package/lib/lowcode/engine/meta/fieldupload.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldupload.props.json +77 -0
- package/lib/lowcode/engine/meta/fielduser.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fielduser.props.json +77 -0
- package/lib/lowcode/engine/meta/fieldyear.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldyear.props.json +77 -0
- package/lib/lowcode/engine/meta/form.props.default.json +0 -0
- package/lib/lowcode/engine/meta/form.props.json +0 -0
- package/lib/lowcode/engine/meta/iframe.props.default.json +0 -0
- package/lib/lowcode/engine/meta/iframe.props.json +0 -0
- package/lib/lowcode/engine/meta/image.props.default.json +0 -0
- package/lib/lowcode/engine/meta/image.props.json +0 -0
- package/lib/lowcode/engine/meta/imex.props.default.json +0 -0
- package/lib/lowcode/engine/meta/imex.props.json +0 -0
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +13 -13
- package/lib/lowcode/engine/meta/jsx.props.default.json +0 -0
- package/lib/lowcode/engine/meta/jsx.props.json +0 -0
- package/lib/lowcode/engine/meta/layout.props.default.json +0 -0
- package/lib/lowcode/engine/meta/layout.props.json +0 -0
- package/lib/lowcode/engine/meta/link.props.default.json +0 -0
- package/lib/lowcode/engine/meta/link.props.json +0 -0
- package/lib/lowcode/engine/meta/page.props.default.json +0 -0
- package/lib/lowcode/engine/meta/page.props.json +0 -0
- package/lib/lowcode/engine/meta/pagecontent.props.default.json +0 -0
- package/lib/lowcode/engine/meta/pagecontent.props.json +0 -0
- package/lib/lowcode/engine/meta/pagefooter.props.default.json +0 -0
- package/lib/lowcode/engine/meta/pagefooter.props.json +0 -0
- package/lib/lowcode/engine/meta/pageheader.props.default.json +0 -0
- package/lib/lowcode/engine/meta/pageheader.props.json +0 -0
- package/lib/lowcode/engine/meta/pagelayout.props.default.json +0 -0
- package/lib/lowcode/engine/meta/pagelayout.props.json +0 -0
- package/lib/lowcode/engine/meta/section.props.default.json +0 -0
- package/lib/lowcode/engine/meta/section.props.json +0 -0
- package/lib/lowcode/engine/meta/split.props.default.json +0 -0
- package/lib/lowcode/engine/meta/split.props.json +0 -0
- package/lib/lowcode/engine/meta/table.props.default.json +0 -0
- package/lib/lowcode/engine/meta/table.props.json +0 -0
- package/lib/lowcode/engine/meta/tabs.props.default.json +0 -0
- package/lib/lowcode/engine/meta/tabs.props.json +0 -0
- package/lib/lowcode/engine/meta/text.props.default.json +0 -0
- package/lib/lowcode/engine/meta/text.props.json +0 -0
- package/lib/lowcode/engine/meta/tree.props.default.json +0 -0
- package/lib/lowcode/engine/meta/tree.props.json +0 -0
- package/lib/lowcode/engine/provider/ContextProvider/index.js +33 -33
- package/lib/lowcode/engine/provider/EventBusProvider.js +0 -0
- package/lib/lowcode/engine/provider/RemoteSourceProvider.js +0 -0
- package/lib/lowcode/engine/tools/dataProcess.js +76 -76
- package/lib/lowcode/engine/tools/diff.js +0 -0
- package/lib/lowcode/engine/tools/helper.js +0 -0
- package/lib/lowcode/engine/tools/useCanvasRender.js +0 -0
- package/lib/lowcode/engine/tools/usePageDataStore.js +0 -0
- package/lib/lowcode/engine/tools/usePromiseState.js +0 -0
- package/lib/lowcode/engine/tools/useTodo.js +0 -0
- package/lib/lowcode/index.js +0 -0
- package/lib/lowcode/painter/Components.js +2 -2
- package/lib/lowcode/painter/Design.js +0 -0
- package/lib/lowcode/painter/DesignOperator.js +0 -0
- package/lib/lowcode/painter/DesignToolbar.js +0 -0
- package/lib/lowcode/painter/I18n.js +0 -0
- package/lib/lowcode/painter/Outline.js +0 -0
- package/lib/lowcode/painter/Panel.js +3 -2
- package/lib/lowcode/painter/Ribbon.js +0 -0
- package/lib/lowcode/painter/components/ActionBindModal.js +0 -0
- package/lib/lowcode/painter/components/AdvancePanel.js +0 -0
- package/lib/lowcode/painter/components/AttrsPanel.js +0 -0
- package/lib/lowcode/painter/components/Collapse.js +26 -26
- package/lib/lowcode/painter/components/ColorInput.js +24 -24
- package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +0 -0
- package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
- package/lib/lowcode/painter/components/DragDrop/Overlay.js +0 -0
- package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
- package/lib/lowcode/painter/components/FieldSelector.js +0 -0
- 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 -30
- package/lib/lowcode/painter/components/SortBox.js +22 -22
- package/lib/lowcode/painter/components/TreeEditor.js +0 -0
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
- package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
- package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +20 -20
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
- package/lib/lowcode/painter/components/code-editor/index.js +0 -0
- package/lib/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
- package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
- package/lib/lowcode/painter/components/field-setting/CheckRules.js +0 -0
- package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
- package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -0
- package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
- package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -0
- package/lib/lowcode/painter/components/field-setting/SettingUI.js +2 -53
- package/lib/lowcode/painter/components/field-setting/index.js +0 -2
- package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
- package/lib/lowcode/painter/index.js +0 -0
- package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
- package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
- package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
- package/lib/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
- package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
- package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
- package/lib/lowcode/painter/panel-section/ButtonType.js +0 -0
- package/lib/lowcode/painter/panel-section/ComponentSelector.js +0 -0
- package/lib/lowcode/painter/panel-section/DataSetSelector.js +7 -4
- package/lib/lowcode/painter/panel-section/FieldsSetting.js +20 -50
- package/lib/lowcode/painter/panel-section/I18nInput.js +0 -0
- package/lib/lowcode/painter/panel-section/Icon.js +23 -23
- package/lib/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
- package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
- package/lib/lowcode/painter/panel-section/ImpExp.js +0 -0
- package/lib/lowcode/painter/panel-section/ImpExpAlone.js +0 -0
- package/lib/lowcode/painter/panel-section/JSEditor.js +0 -0
- package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
- package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +0 -0
- package/lib/lowcode/painter/panel-section/SerialsSelector.js +0 -0
- package/lib/lowcode/painter/panel-section/SplitDisplay.js +0 -0
- 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/DisplaySvg.js +0 -0
- 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/TabItems.js +0 -0
- package/lib/lowcode/painter/panel-section/TableTopFilter.js +0 -0
- package/lib/lowcode/painter/panel-section/TableZebra.js +0 -0
- package/lib/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
- package/lib/lowcode/painter/panel-section/WidthHeight.js +0 -0
- package/lib/lowcode/painter/services/I18n.js +0 -0
- 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 -158
- 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/preview/index.js +0 -0
- package/lib/lowcode/view/Canvas.js +0 -0
- package/lib/lowcode/view/Loading.js +0 -0
- package/lib/lowcode/view/Page.js +0 -0
- package/lib/lowcode/view/index.js +0 -0
- package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
- 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/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
- 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/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/CardList/index.js +0 -0
- package/lib/lowcode/view/lc-components/CardList/meta.json +153 -153
- package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Dialog/index.js +39 -18
- 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/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Drawer/index.js +12 -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 +146 -69
- package/lib/lowcode/view/lc-components/FieldComplex/meta.json +122 -45
- package/lib/lowcode/view/lc-components/FieldDate/meta.json +128 -51
- package/lib/lowcode/view/lc-components/FieldDict/meta.json +127 -50
- package/lib/lowcode/view/lc-components/FieldEditor/meta.json +127 -50
- package/lib/lowcode/view/lc-components/FieldGroup/meta.json +156 -79
- package/lib/lowcode/view/lc-components/FieldNumber/meta.json +131 -54
- package/lib/lowcode/view/lc-components/FieldRadio/meta.json +104 -26
- package/lib/lowcode/view/lc-components/FieldRegion/meta.json +110 -32
- package/lib/lowcode/view/lc-components/FieldSelect/meta.json +141 -64
- package/lib/lowcode/view/lc-components/FieldString/meta.json +141 -64
- package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +114 -37
- package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +132 -55
- package/lib/lowcode/view/lc-components/FieldUpload/meta.json +154 -77
- package/lib/lowcode/view/lc-components/FieldUser/meta.json +165 -88
- package/lib/lowcode/view/lc-components/FieldYear/meta.json +118 -41
- package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Form/index.js +41 -30
- package/lib/lowcode/view/lc-components/Form/index.less +4 -4
- package/lib/lowcode/view/lc-components/Form/meta.json +616 -616
- package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Iframe/index.js +0 -0
- package/lib/lowcode/view/lc-components/Iframe/meta.json +32 -32
- package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/ImEx/index.js +25 -25
- package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
- package/lib/lowcode/view/lc-components/ImEx/meta.json +113 -113
- package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Image/index.js +0 -0
- package/lib/lowcode/view/lc-components/Image/meta.json +114 -114
- package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
- package/lib/lowcode/view/lc-components/JSX/index.js +0 -0
- package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
- package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Layout/index.js +16 -16
- package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
- package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
- package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Link/index.js +0 -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 +0 -0
- package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageFooter/index.js +0 -0
- package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageHeader/index.js +0 -0
- package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
- package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/PageLayout/index.js +0 -0
- package/lib/lowcode/view/lc-components/PageLayout/meta.json +47 -47
- package/lib/lowcode/view/lc-components/PageModal/index.js +0 -0
- package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Section/index.js +0 -0
- 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/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Split/index.js +0 -0
- package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
- package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
- package/lib/lowcode/view/lc-components/Table/components/TopImex.js +3 -1
- package/lib/lowcode/view/lc-components/Table/index.js +153 -153
- package/lib/lowcode/view/lc-components/Table/meta.json +405 -405
- package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Tabs/index.js +23 -23
- package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
- package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
- package/lib/lowcode/view/lc-components/Text/index.js +0 -0
- package/lib/lowcode/view/lc-components/Text/meta.json +66 -66
- package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
- package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
- package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
- 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 +0 -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/services.js +0 -0
- package/lib/upload/FilesWall/file.png +0 -0
- package/lib/upload/FilesWall/index.js +13 -13
- package/lib/upload/FilesWall/index.less +74 -74
- package/lib/upload/Form/gridForm.js +0 -0
- package/lib/upload/Form/index.js +0 -0
- package/lib/upload/Form/index.less +7 -7
- package/lib/upload/FormItem/index.js +15 -15
- package/lib/upload/GridCell/index.js +0 -0
- package/lib/upload/index.js +0 -0
- package/lib/utils/action.js +0 -0
- package/lib/utils/form.js +21 -21
- package/lib/utils/grid.js +1 -1
- package/lib/utils/index.js +0 -0
- package/lowcode.js +1 -1
- package/package.json +174 -173
- package/upload.js +1 -1
- package/utils.js +1 -1
- package/es/lowcode/engine/meta/fielddatadic.props.default.json +0 -16
- package/es/lowcode/engine/meta/fielddatadic.props.json +0 -73
- package/lib/lowcode/engine/meta/fielddatadic.props.default.json +0 -16
- package/lib/lowcode/engine/meta/fielddatadic.props.json +0 -73
|
@@ -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;
|
|
@@ -191,7 +191,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
191
191
|
runAsync = _useRequest.runAsync;
|
|
192
192
|
|
|
193
193
|
// 查询进度
|
|
194
|
-
var fecthExcelState = function
|
|
194
|
+
var fecthExcelState = (0, _ahooks.useMemoizedFn)(function (_ref2, procress, resolve, reject) {
|
|
195
195
|
var strategy = _ref2.strategy,
|
|
196
196
|
batchNo = _ref2.batchNo,
|
|
197
197
|
moduleCode = _ref2.moduleCode,
|
|
@@ -200,7 +200,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
200
200
|
var _fetchExcelStateParams = {
|
|
201
201
|
moduleCode: moduleCode,
|
|
202
202
|
behaviorKey: behaviorKey,
|
|
203
|
-
reportType:
|
|
203
|
+
reportType: 'export'
|
|
204
204
|
};
|
|
205
205
|
(0, _apiUrl2.getFindexcelstate)(_fetchExcelStatePrefix, _fetchExcelStateParams).then(function (response) {
|
|
206
206
|
if (response.code === 1) {
|
|
@@ -227,8 +227,8 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
227
227
|
}).catch(function () {
|
|
228
228
|
reject();
|
|
229
229
|
});
|
|
230
|
-
};
|
|
231
|
-
var _onExportAll = function
|
|
230
|
+
});
|
|
231
|
+
var _onExportAll = (0, _ahooks.useMemoizedFn)(function (procress) {
|
|
232
232
|
return new Promise( /*#__PURE__*/function () {
|
|
233
233
|
var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(resolve, reject) {
|
|
234
234
|
var isBehavior, behaviorKey, strategy, _exportExcelParams, _exportExcelPrefix, exportExcelResponse, _ref4, _ref5, _getProps, apiUrl, _strategy, joiner, labels, fieldInfo, defaultExcelParams, _exportExcelParams2, _exportExcelPrefix2, _exportExcelResponse;
|
|
@@ -246,7 +246,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
246
246
|
_exportExcelParams = {
|
|
247
247
|
moduleCode: module.moduleCode,
|
|
248
248
|
behaviorKey: behaviorKey,
|
|
249
|
-
reportType:
|
|
249
|
+
reportType: 'export'
|
|
250
250
|
};
|
|
251
251
|
_exportExcelPrefix = "/".concat(strategy);
|
|
252
252
|
_context.next = 8;
|
|
@@ -283,9 +283,9 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
defaultExcelParams = {
|
|
286
|
-
bgColor:
|
|
286
|
+
bgColor: '#69b1ff',
|
|
287
287
|
dataUrl: "".concat(window.location.origin, "/api").concat(apiUrl).concat(joiner, "token=").concat(window.cookie.get(window.appConfig.authSaveKey)),
|
|
288
|
-
excelName:
|
|
288
|
+
excelName: 'download.xls',
|
|
289
289
|
fieldInfo: fieldInfo,
|
|
290
290
|
islock: false,
|
|
291
291
|
labels: labels === null || labels === void 0 ? void 0 : labels.join(),
|
|
@@ -293,7 +293,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
293
293
|
};
|
|
294
294
|
_exportExcelParams2 = (0, _objectSpread2.default)({
|
|
295
295
|
moduleCode: module.moduleCode,
|
|
296
|
-
reportType:
|
|
296
|
+
reportType: 'export'
|
|
297
297
|
}, defaultExcelParams);
|
|
298
298
|
_exportExcelPrefix2 = "/".concat(_strategy);
|
|
299
299
|
_context.next = 23;
|
|
@@ -319,7 +319,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
319
319
|
return _ref3.apply(this, arguments);
|
|
320
320
|
};
|
|
321
321
|
}());
|
|
322
|
-
};
|
|
322
|
+
});
|
|
323
323
|
var _export = (0, _ahooks.useCreation)(function () {
|
|
324
324
|
var _temp = {
|
|
325
325
|
enableExportAll: !!impexp.export
|
|
@@ -573,135 +573,135 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
573
573
|
})));
|
|
574
574
|
});
|
|
575
575
|
LCTable.propTypes = {
|
|
576
|
-
/**
|
|
577
|
-
* @name 唯一标识
|
|
578
|
-
* @type string
|
|
579
|
-
* @disabled true
|
|
576
|
+
/**
|
|
577
|
+
* @name 唯一标识
|
|
578
|
+
* @type string
|
|
579
|
+
* @disabled true
|
|
580
580
|
*/
|
|
581
581
|
id: _propTypes.default.string.isRequired,
|
|
582
|
-
/**
|
|
583
|
-
* @name 数据集
|
|
584
|
-
* @type _DataSetSelector
|
|
582
|
+
/**
|
|
583
|
+
* @name 数据集
|
|
584
|
+
* @type _DataSetSelector
|
|
585
585
|
*/
|
|
586
586
|
dataset: _propTypes.default.shape({
|
|
587
587
|
code: _propTypes.default.string.isRequired,
|
|
588
588
|
uid: _propTypes.default.string.isRequired
|
|
589
589
|
}),
|
|
590
|
-
/**
|
|
591
|
-
* @name 自动加载
|
|
592
|
-
* @desc 首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭
|
|
593
|
-
* @type switch
|
|
594
|
-
* @default true
|
|
590
|
+
/**
|
|
591
|
+
* @name 自动加载
|
|
592
|
+
* @desc 首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭
|
|
593
|
+
* @type switch
|
|
594
|
+
* @default true
|
|
595
595
|
*/
|
|
596
596
|
autoLoad: _propTypes.default.bool,
|
|
597
|
-
/**
|
|
598
|
-
* @name 只读
|
|
599
|
-
* @type switch
|
|
600
|
-
* @default false
|
|
597
|
+
/**
|
|
598
|
+
* @name 只读
|
|
599
|
+
* @type switch
|
|
600
|
+
* @default false
|
|
601
601
|
*/
|
|
602
602
|
readOnly: _propTypes.default.bool,
|
|
603
|
-
/**
|
|
604
|
-
* @name 关闭预设
|
|
605
|
-
* @type switch
|
|
606
|
-
* @default false
|
|
603
|
+
/**
|
|
604
|
+
* @name 关闭预设
|
|
605
|
+
* @type switch
|
|
606
|
+
* @default false
|
|
607
607
|
*/
|
|
608
608
|
suppressPreset: _propTypes.default.bool,
|
|
609
|
-
/**
|
|
610
|
-
* @name 宽度
|
|
611
|
-
* @type _WidthHeight
|
|
612
|
-
* @default 100%
|
|
613
|
-
* @group styleSetting
|
|
609
|
+
/**
|
|
610
|
+
* @name 宽度
|
|
611
|
+
* @type _WidthHeight
|
|
612
|
+
* @default 100%
|
|
613
|
+
* @group styleSetting
|
|
614
614
|
*/
|
|
615
615
|
width: _propTypes.default.string,
|
|
616
|
-
/**
|
|
617
|
-
* @name 高度
|
|
618
|
-
* @type _WidthHeight
|
|
619
|
-
* @default 100%
|
|
620
|
-
* @group styleSetting
|
|
616
|
+
/**
|
|
617
|
+
* @name 高度
|
|
618
|
+
* @type _WidthHeight
|
|
619
|
+
* @default 100%
|
|
620
|
+
* @group styleSetting
|
|
621
621
|
*/
|
|
622
622
|
height: _propTypes.default.string,
|
|
623
|
-
/**
|
|
624
|
-
* @name 边框线
|
|
625
|
-
* @type switch
|
|
626
|
-
* @default false
|
|
627
|
-
* @group styleSetting
|
|
623
|
+
/**
|
|
624
|
+
* @name 边框线
|
|
625
|
+
* @type switch
|
|
626
|
+
* @default false
|
|
627
|
+
* @group styleSetting
|
|
628
628
|
*/
|
|
629
629
|
border: _propTypes.default.bool,
|
|
630
|
-
/**
|
|
631
|
-
* @name 斑马纹
|
|
632
|
-
* @type switch
|
|
633
|
-
* @default false
|
|
634
|
-
* @group styleSetting
|
|
630
|
+
/**
|
|
631
|
+
* @name 斑马纹
|
|
632
|
+
* @type switch
|
|
633
|
+
* @default false
|
|
634
|
+
* @group styleSetting
|
|
635
635
|
*/
|
|
636
636
|
zebra: _propTypes.default.oneOfType[(_propTypes.default.bool, _propTypes.default.string)],
|
|
637
|
-
/**
|
|
638
|
-
* @name 开启分页
|
|
639
|
-
* @type switch
|
|
640
|
-
* @default true
|
|
641
|
-
* @group paginationSetting
|
|
637
|
+
/**
|
|
638
|
+
* @name 开启分页
|
|
639
|
+
* @type switch
|
|
640
|
+
* @default true
|
|
641
|
+
* @group paginationSetting
|
|
642
642
|
*/
|
|
643
643
|
pagination: _propTypes.default.bool,
|
|
644
|
-
/**
|
|
645
|
-
* @name 每页条数
|
|
646
|
-
* @type number
|
|
647
|
-
* @default 30
|
|
648
|
-
* @group paginationSetting
|
|
644
|
+
/**
|
|
645
|
+
* @name 每页条数
|
|
646
|
+
* @type number
|
|
647
|
+
* @default 30
|
|
648
|
+
* @group paginationSetting
|
|
649
649
|
*/
|
|
650
650
|
pageSize: _propTypes.default.number,
|
|
651
|
-
/**
|
|
652
|
-
* @name 分页器
|
|
653
|
-
* @type switch
|
|
654
|
-
* @default true
|
|
655
|
-
* @group paginationSetting
|
|
651
|
+
/**
|
|
652
|
+
* @name 分页器
|
|
653
|
+
* @type switch
|
|
654
|
+
* @default true
|
|
655
|
+
* @group paginationSetting
|
|
656
656
|
*/
|
|
657
657
|
showSizeChanger: _propTypes.default.bool,
|
|
658
|
-
/**
|
|
659
|
-
* @name 快速跳转
|
|
660
|
-
* @type switch
|
|
661
|
-
* @default true
|
|
662
|
-
* @group paginationSetting
|
|
658
|
+
/**
|
|
659
|
+
* @name 快速跳转
|
|
660
|
+
* @type switch
|
|
661
|
+
* @default true
|
|
662
|
+
* @group paginationSetting
|
|
663
663
|
*/
|
|
664
664
|
showQuickJumper: _propTypes.default.bool,
|
|
665
|
-
/**
|
|
666
|
-
* @name 单页无分页器
|
|
667
|
-
* @type switch
|
|
668
|
-
* @default false
|
|
669
|
-
* @group paginationSetting
|
|
665
|
+
/**
|
|
666
|
+
* @name 单页无分页器
|
|
667
|
+
* @type switch
|
|
668
|
+
* @default false
|
|
669
|
+
* @group paginationSetting
|
|
670
670
|
*/
|
|
671
671
|
hideOnSinglePage: _propTypes.default.bool,
|
|
672
|
-
/**
|
|
673
|
-
* @name 简单模式
|
|
674
|
-
* @type switch
|
|
675
|
-
* @default false
|
|
676
|
-
* @group paginationSetting
|
|
672
|
+
/**
|
|
673
|
+
* @name 简单模式
|
|
674
|
+
* @type switch
|
|
675
|
+
* @default false
|
|
676
|
+
* @group paginationSetting
|
|
677
677
|
*/
|
|
678
678
|
paginationSimple: _propTypes.default.bool,
|
|
679
|
-
/**
|
|
680
|
-
* @name 隐藏操作列
|
|
681
|
-
* @type switch
|
|
682
|
-
* @default false
|
|
683
|
-
* @groupNext actionsColumn
|
|
679
|
+
/**
|
|
680
|
+
* @name 隐藏操作列
|
|
681
|
+
* @type switch
|
|
682
|
+
* @default false
|
|
683
|
+
* @groupNext actionsColumn
|
|
684
684
|
*/
|
|
685
685
|
suppressActions: _propTypes.default.bool,
|
|
686
|
-
/**
|
|
687
|
-
* @name 隐藏操作列
|
|
688
|
-
* @type number
|
|
689
|
-
* @default 160
|
|
690
|
-
* @groupNext actionsColumn
|
|
686
|
+
/**
|
|
687
|
+
* @name 隐藏操作列
|
|
688
|
+
* @type number
|
|
689
|
+
* @default 160
|
|
690
|
+
* @groupNext actionsColumn
|
|
691
691
|
*/
|
|
692
692
|
actionsColumnWidth: _propTypes.default.number,
|
|
693
|
-
/**
|
|
694
|
-
* @name 最大显示数
|
|
695
|
-
* @type number
|
|
696
|
-
* @default 2
|
|
697
|
-
* @groupNext actionsColumn
|
|
693
|
+
/**
|
|
694
|
+
* @name 最大显示数
|
|
695
|
+
* @type number
|
|
696
|
+
* @default 2
|
|
697
|
+
* @groupNext actionsColumn
|
|
698
698
|
*/
|
|
699
699
|
maxActionsCount: _propTypes.default.number,
|
|
700
|
-
/**
|
|
701
|
-
* @name 操作项
|
|
702
|
-
* @type _TableActions
|
|
703
|
-
* @groupNext actionsColumn
|
|
704
|
-
* @default {"display": "text", "max": 2, "moreText": "更多行为", "todoList": []}
|
|
700
|
+
/**
|
|
701
|
+
* @name 操作项
|
|
702
|
+
* @type _TableActions
|
|
703
|
+
* @groupNext actionsColumn
|
|
704
|
+
* @default {"display": "text", "max": 2, "moreText": "更多行为", "todoList": []}
|
|
705
705
|
*/
|
|
706
706
|
actions: _propTypes.default.shape({
|
|
707
707
|
display: _propTypes.default.oneOf(['text', 'button']),
|
|
@@ -709,10 +709,10 @@ LCTable.propTypes = {
|
|
|
709
709
|
moreText: _propTypes.default.string,
|
|
710
710
|
todoList: _propTypes.default.array
|
|
711
711
|
}),
|
|
712
|
-
/**
|
|
713
|
-
* @name 顶部操作
|
|
714
|
-
* @type _ActionGroup
|
|
715
|
-
* @default {"display": "button", "max": 2, "moreText": "操作", "todoList": []}
|
|
712
|
+
/**
|
|
713
|
+
* @name 顶部操作
|
|
714
|
+
* @type _ActionGroup
|
|
715
|
+
* @default {"display": "button", "max": 2, "moreText": "操作", "todoList": []}
|
|
716
716
|
*/
|
|
717
717
|
topActionGroup: _propTypes.default.shape({
|
|
718
718
|
display: _propTypes.default.oneOf(['text', 'button']),
|
|
@@ -720,86 +720,86 @@ LCTable.propTypes = {
|
|
|
720
720
|
moreText: _propTypes.default.string,
|
|
721
721
|
todoList: _propTypes.default.array
|
|
722
722
|
}),
|
|
723
|
-
/**
|
|
724
|
-
* @name 顶部过滤器
|
|
725
|
-
* @type _TableTopFilter
|
|
723
|
+
/**
|
|
724
|
+
* @name 顶部过滤器
|
|
725
|
+
* @type _TableTopFilter
|
|
726
726
|
*/
|
|
727
727
|
topFilter: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.array, _propTypes.default.shape({
|
|
728
728
|
options: _propTypes.default.array.isRequired,
|
|
729
729
|
field: _propTypes.default.string.isRequired
|
|
730
730
|
})]),
|
|
731
|
-
/**
|
|
732
|
-
* @name 开启行选择器
|
|
733
|
-
* @type boolean
|
|
734
|
-
* @default false
|
|
731
|
+
/**
|
|
732
|
+
* @name 开启行选择器
|
|
733
|
+
* @type boolean
|
|
734
|
+
* @default false
|
|
735
735
|
*/
|
|
736
736
|
rowSelection: _propTypes.default.bool,
|
|
737
|
-
/**
|
|
738
|
-
* @name 停用分页多选
|
|
739
|
-
* @type boolean
|
|
740
|
-
* @default false
|
|
737
|
+
/**
|
|
738
|
+
* @name 停用分页多选
|
|
739
|
+
* @type boolean
|
|
740
|
+
* @default false
|
|
741
741
|
*/
|
|
742
742
|
suppressRowSelectionPagination: _propTypes.default.bool,
|
|
743
|
-
/**
|
|
744
|
-
* @name 选择器模式
|
|
745
|
-
* @type segmented
|
|
746
|
-
* @options [{label: '复选', value: 'multiple'}, {label: '单选', value: 'single'}]
|
|
747
|
-
* @default 'multiple'
|
|
743
|
+
/**
|
|
744
|
+
* @name 选择器模式
|
|
745
|
+
* @type segmented
|
|
746
|
+
* @options [{label: '复选', value: 'multiple'}, {label: '单选', value: 'single'}]
|
|
747
|
+
* @default 'multiple'
|
|
748
748
|
*/
|
|
749
749
|
rowSelectionMode: _propTypes.default.oneOf(['single', 'multiple']),
|
|
750
|
-
/**
|
|
751
|
-
* @name 默认选中
|
|
752
|
-
* @type _JSEditor
|
|
753
|
-
* @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}"
|
|
754
754
|
*/
|
|
755
755
|
defaultRowSelectedCode: _propTypes.default.string,
|
|
756
|
-
/**
|
|
757
|
-
* @name 行是否可选
|
|
758
|
-
* @type _JSEditor
|
|
759
|
-
* @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}"
|
|
760
760
|
*/
|
|
761
761
|
rowSelectableCode: _propTypes.default.string,
|
|
762
|
-
/**
|
|
763
|
-
* @name 导入导出
|
|
764
|
-
* @type _ImpExp
|
|
765
|
-
* @default { "export": true }
|
|
762
|
+
/**
|
|
763
|
+
* @name 导入导出
|
|
764
|
+
* @type _ImpExp
|
|
765
|
+
* @default { "export": true }
|
|
766
766
|
*/
|
|
767
767
|
impexp: _propTypes.default.shape({
|
|
768
768
|
import: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
|
|
769
769
|
importType: _propTypes.default.bool,
|
|
770
770
|
export: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string])
|
|
771
771
|
}),
|
|
772
|
-
/**
|
|
773
|
-
* @name 批量操作
|
|
774
|
-
* @type _BatchActions
|
|
775
|
-
* @default { "todoList": [] }
|
|
772
|
+
/**
|
|
773
|
+
* @name 批量操作
|
|
774
|
+
* @type _BatchActions
|
|
775
|
+
* @default { "todoList": [] }
|
|
776
776
|
*/
|
|
777
777
|
bantchActions: _propTypes.default.shape({
|
|
778
778
|
todoList: _propTypes.default.array
|
|
779
779
|
}),
|
|
780
|
-
/**
|
|
781
|
-
* @name 格式化数据
|
|
782
|
-
* @type _JSEditor
|
|
780
|
+
/**
|
|
781
|
+
* @name 格式化数据
|
|
782
|
+
* @type _JSEditor
|
|
783
783
|
*/
|
|
784
784
|
formatDataSource: _propTypes.default.string,
|
|
785
|
-
/**
|
|
786
|
-
* @name 构建树层级
|
|
787
|
-
* @type _JSEditor
|
|
785
|
+
/**
|
|
786
|
+
* @name 构建树层级
|
|
787
|
+
* @type _JSEditor
|
|
788
788
|
*/
|
|
789
789
|
getDataPath: _propTypes.default.string,
|
|
790
|
-
/**
|
|
791
|
-
* @name 重写表格列
|
|
792
|
-
* @type _JSEditor
|
|
790
|
+
/**
|
|
791
|
+
* @name 重写表格列
|
|
792
|
+
* @type _JSEditor
|
|
793
793
|
*/
|
|
794
794
|
columnsRewrite: _propTypes.default.string,
|
|
795
|
-
/**
|
|
796
|
-
* @name 重置表格列
|
|
797
|
-
* @type _JSEditor
|
|
795
|
+
/**
|
|
796
|
+
* @name 重置表格列
|
|
797
|
+
* @type _JSEditor
|
|
798
798
|
*/
|
|
799
799
|
columnsReset: _propTypes.default.string,
|
|
800
|
-
/**
|
|
801
|
-
* @name model参数
|
|
802
|
-
* @type _JSEditor
|
|
800
|
+
/**
|
|
801
|
+
* @name model参数
|
|
802
|
+
* @type _JSEditor
|
|
803
803
|
*/
|
|
804
804
|
modelParams: _propTypes.default.string
|
|
805
805
|
};
|