@luck-design-biz/luckda 0.0.25-21 → 0.0.25-22
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 +0 -0
- 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 +0 -0
- 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 +0 -0
- 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 +36 -14
- 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 -0
- package/es/lowcode/constants/api-url.js +109 -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 +0 -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 +0 -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 +0 -0
- package/es/lowcode/engine/meta/dialog.props.default.json +0 -0
- package/es/lowcode/engine/meta/dialog.props.json +0 -0
- 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 +3 -0
- package/es/lowcode/engine/meta/fieldcolor.props.json +13 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.json +13 -0
- package/es/lowcode/engine/meta/fielddate.props.default.json +3 -0
- package/es/lowcode/engine/meta/fielddate.props.json +13 -0
- package/es/lowcode/engine/meta/fielddict.props.default.json +3 -0
- package/es/lowcode/engine/meta/fielddict.props.json +13 -0
- package/es/lowcode/engine/meta/fieldeditor.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldeditor.props.json +13 -0
- package/es/lowcode/engine/meta/fieldgroup.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldgroup.props.json +13 -0
- package/es/lowcode/engine/meta/fieldnumber.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldnumber.props.json +13 -0
- package/es/lowcode/engine/meta/fieldradio.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldradio.props.json +13 -0
- package/es/lowcode/engine/meta/fieldregion.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldregion.props.json +13 -0
- package/es/lowcode/engine/meta/fieldselect.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldselect.props.json +13 -0
- package/es/lowcode/engine/meta/fieldstring.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldstring.props.json +13 -0
- package/es/lowcode/engine/meta/fieldswitch.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldswitch.props.json +13 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.json +13 -0
- package/es/lowcode/engine/meta/fieldupload.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldupload.props.json +13 -0
- package/es/lowcode/engine/meta/fielduser.props.default.json +3 -0
- package/es/lowcode/engine/meta/fielduser.props.json +13 -0
- package/es/lowcode/engine/meta/fieldyear.props.default.json +3 -0
- package/es/lowcode/engine/meta/fieldyear.props.json +13 -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 +20 -20
- 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 +63 -56
- package/es/lowcode/engine/provider/ContextProvider/usePageVar.js +38 -0
- 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/useCombinedRefs.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 +7 -8
- package/es/lowcode/painter/I18n.js +0 -0
- package/es/lowcode/painter/Outline.js +0 -0
- package/es/lowcode/painter/Panel.js +0 -0
- 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/PreviewIframe.js +0 -0
- 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 +54 -33
- 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 +0 -0
- package/es/lowcode/painter/components/field-setting/index.js +0 -0
- 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 +0 -0
- package/es/lowcode/painter/panel-section/FieldState.js +62 -0
- package/es/lowcode/painter/panel-section/FieldsSetting.js +0 -0
- 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 +159 -159
- 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 +13 -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/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 +157 -146
- package/es/lowcode/view/lc-components/FieldComplex/meta.json +133 -122
- package/es/lowcode/view/lc-components/FieldDate/meta.json +139 -128
- package/es/lowcode/view/lc-components/FieldDict/meta.json +138 -127
- package/es/lowcode/view/lc-components/FieldEditor/meta.json +138 -127
- package/es/lowcode/view/lc-components/FieldGroup/meta.json +167 -156
- package/es/lowcode/view/lc-components/FieldNumber/meta.json +142 -131
- package/es/lowcode/view/lc-components/FieldRadio/meta.json +115 -104
- package/es/lowcode/view/lc-components/FieldRegion/meta.json +121 -110
- package/es/lowcode/view/lc-components/FieldSelect/meta.json +152 -141
- package/es/lowcode/view/lc-components/FieldString/meta.json +152 -141
- package/es/lowcode/view/lc-components/FieldSwitch/meta.json +125 -114
- package/es/lowcode/view/lc-components/FieldTextarea/meta.json +143 -132
- package/es/lowcode/view/lc-components/FieldUpload/meta.json +165 -154
- package/es/lowcode/view/lc-components/FieldUser/meta.json +176 -165
- package/es/lowcode/view/lc-components/FieldYear/meta.json +129 -118
- 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 +71 -48
- package/es/lowcode/view/lc-components/Form/index.less +4 -4
- package/es/lowcode/view/lc-components/Form/meta.json +610 -610
- 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 +55 -55
- 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 +0 -0
- package/es/lowcode/view/lc-components/Table/index.js +144 -144
- package/es/lowcode/view/lc-components/Table/meta.json +450 -450
- 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 +4 -4
- package/es/lowcode/view/lc-components/Tree/index.less +4 -4
- package/es/lowcode/view/lc-components/Tree/meta.json +357 -357
- package/es/lowcode/view/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 +0 -0
- 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 +0 -0
- 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 +0 -0
- 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 +0 -0
- 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 +34 -12
- 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 -0
- package/lib/lowcode/constants/api-url.js +109 -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 +0 -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 +0 -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 +0 -0
- package/lib/lowcode/engine/meta/dialog.props.default.json +0 -0
- package/lib/lowcode/engine/meta/dialog.props.json +0 -0
- 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 +3 -0
- package/lib/lowcode/engine/meta/fieldcolor.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.json +13 -0
- package/lib/lowcode/engine/meta/fielddate.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fielddate.props.json +13 -0
- package/lib/lowcode/engine/meta/fielddict.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fielddict.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldradio.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldradio.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldregion.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldregion.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldselect.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldselect.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldstring.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldstring.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldupload.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldupload.props.json +13 -0
- package/lib/lowcode/engine/meta/fielduser.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fielduser.props.json +13 -0
- package/lib/lowcode/engine/meta/fieldyear.props.default.json +3 -0
- package/lib/lowcode/engine/meta/fieldyear.props.json +13 -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 +20 -20
- 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 +63 -56
- package/lib/lowcode/engine/provider/ContextProvider/{usePageState.js → usePageVar.js} +21 -4
- 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/useCombinedRefs.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 +6 -7
- package/lib/lowcode/painter/I18n.js +0 -0
- package/lib/lowcode/painter/Outline.js +0 -0
- package/lib/lowcode/painter/Panel.js +0 -0
- 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/PreviewIframe.js +0 -0
- 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 +54 -33
- 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 +0 -0
- package/lib/lowcode/painter/components/field-setting/index.js +0 -0
- 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 +0 -0
- package/lib/lowcode/painter/panel-section/FieldState.js +70 -0
- package/lib/lowcode/painter/panel-section/FieldsSetting.js +0 -0
- 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 +159 -159
- 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 +13 -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/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 +157 -146
- package/lib/lowcode/view/lc-components/FieldComplex/meta.json +133 -122
- package/lib/lowcode/view/lc-components/FieldDate/meta.json +139 -128
- package/lib/lowcode/view/lc-components/FieldDict/meta.json +138 -127
- package/lib/lowcode/view/lc-components/FieldEditor/meta.json +138 -127
- package/lib/lowcode/view/lc-components/FieldGroup/meta.json +167 -156
- package/lib/lowcode/view/lc-components/FieldNumber/meta.json +142 -131
- package/lib/lowcode/view/lc-components/FieldRadio/meta.json +115 -104
- package/lib/lowcode/view/lc-components/FieldRegion/meta.json +121 -110
- package/lib/lowcode/view/lc-components/FieldSelect/meta.json +152 -141
- package/lib/lowcode/view/lc-components/FieldString/meta.json +152 -141
- package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +125 -114
- package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +143 -132
- package/lib/lowcode/view/lc-components/FieldUpload/meta.json +165 -154
- package/lib/lowcode/view/lc-components/FieldUser/meta.json +176 -165
- package/lib/lowcode/view/lc-components/FieldYear/meta.json +129 -118
- 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 +70 -47
- package/lib/lowcode/view/lc-components/Form/index.less +4 -4
- package/lib/lowcode/view/lc-components/Form/meta.json +610 -610
- 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 +55 -55
- 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 +0 -0
- package/lib/lowcode/view/lc-components/Table/index.js +144 -144
- package/lib/lowcode/view/lc-components/Table/meta.json +450 -450
- 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 +4 -4
- package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
- package/lib/lowcode/view/lc-components/Tree/meta.json +357 -357
- package/lib/lowcode/view/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 +0 -0
- package/lib/utils/index.js +0 -0
- package/lowcode.js +1 -1
- package/package.json +173 -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/es/lowcode/engine/provider/ContextProvider/usePageState.js +0 -21
- package/lib/lowcode/engine/meta/fielddatadic.props.default.json +0 -16
- package/lib/lowcode/engine/meta/fielddatadic.props.json +0 -73
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "Dialog",
|
|
3
|
-
"name": "对话框",
|
|
4
|
-
"desc": "需要用户处理事务,又不希望跳转页面以致打断工作流程时,可以使用 Modal 在当前页面正中打开一个浮层,承载相应的操作。",
|
|
5
|
-
"icon": "icon-dialog",
|
|
6
|
-
"group": "basic",
|
|
7
|
-
"groupName": "基础",
|
|
8
|
-
"order": 1,
|
|
9
|
-
"props": [
|
|
10
|
-
{
|
|
11
|
-
"key": "id",
|
|
12
|
-
"name": "唯一标识",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"disabled": true
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"key": "title",
|
|
18
|
-
"name": "标题",
|
|
19
|
-
"desc": "对话框左上角的标题",
|
|
20
|
-
"type": "_I18nInput",
|
|
21
|
-
"default": "对话框"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"key": "width",
|
|
25
|
-
"name": "对话框宽度",
|
|
26
|
-
"type": "_WidthHeight",
|
|
27
|
-
"options": [
|
|
28
|
-
{
|
|
29
|
-
"label": "px",
|
|
30
|
-
"value": "px"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"label": "%",
|
|
34
|
-
"value": "%"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"label": "vw",
|
|
38
|
-
"value": "vw"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"label": "A",
|
|
42
|
-
"value": "auto"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"default": "700px"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"key": "height",
|
|
49
|
-
"name": "内容区高度",
|
|
50
|
-
"type": "_WidthHeight",
|
|
51
|
-
"options": [
|
|
52
|
-
{
|
|
53
|
-
"label": "px",
|
|
54
|
-
"value": "px"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"label": "vh",
|
|
58
|
-
"value": "vh"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"label": "A",
|
|
62
|
-
"value": "auto"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"default": "50vh"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"key": "defaultOpen",
|
|
69
|
-
"name": "默认显示",
|
|
70
|
-
"desc": "默认是否显示",
|
|
71
|
-
"type": "switch",
|
|
72
|
-
"default": false
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"key": "destroyOnClose",
|
|
76
|
-
"name": "关闭销毁",
|
|
77
|
-
"desc": "关闭时销毁对话框里的子元素",
|
|
78
|
-
"type": "switch",
|
|
79
|
-
"default": true
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"key": "mask",
|
|
83
|
-
"name": "显示遮罩",
|
|
84
|
-
"type": "switch",
|
|
85
|
-
"default": true
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"key": "okText",
|
|
89
|
-
"name": "确认文字",
|
|
90
|
-
"type": "_I18nInput",
|
|
91
|
-
"default": "确定"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"key": "cancelText",
|
|
95
|
-
"name": "取消文字",
|
|
96
|
-
"type": "_I18nInput",
|
|
97
|
-
"default": "取消"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"key": "footer",
|
|
101
|
-
"name": "显示footer",
|
|
102
|
-
"desc": "是否显示底部按钮区域",
|
|
103
|
-
"type": "switch",
|
|
104
|
-
"default": true
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"key": "btnGroup",
|
|
108
|
-
"name": "按钮组",
|
|
109
|
-
"desc": "底部按钮区域的按钮组(参考按钮配置)",
|
|
110
|
-
"type": "_ActionsEditor",
|
|
111
|
-
"default": { "display": "button", "max": 2, "moreText": "操作", "todoList": [] },
|
|
112
|
-
"wrapper": "collapse",
|
|
113
|
-
"wrapperProps": { "suppressIcon": true }
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"advance": {
|
|
117
|
-
"events": [
|
|
118
|
-
{
|
|
119
|
-
"key": "onMount",
|
|
120
|
-
"name": "组件首次渲染时",
|
|
121
|
-
"desc": "在组件首次渲染时,执行方法",
|
|
122
|
-
"func": "function onMount() {\n\t\n}"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"key": "onUnmount",
|
|
126
|
-
"name": "组件卸载时",
|
|
127
|
-
"desc": "在组件卸载时,执行方法。",
|
|
128
|
-
"func": "function onUnmount() {\n\t\n}"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"key": "onOpen",
|
|
132
|
-
"name": "对话框打开时",
|
|
133
|
-
"desc": "在对话框打开时,执行方法",
|
|
134
|
-
"func": "function onOpen() {\n\t\n}"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"key": "onClose",
|
|
138
|
-
"name": "对话框关闭时",
|
|
139
|
-
"desc": "在对话框打开时,执行方法,promise反馈false无法截断关闭",
|
|
140
|
-
"func": "function onClose() {\n\t\n}"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"key": "onOk",
|
|
144
|
-
"name": "确定按钮点击",
|
|
145
|
-
"desc": "点击确定按钮时,执行方法,return为Promose对象时会自动追加loading状态",
|
|
146
|
-
"func": "function onOk() {\n\t\n}"
|
|
147
|
-
}
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": "Dialog",
|
|
3
|
+
"name": "对话框",
|
|
4
|
+
"desc": "需要用户处理事务,又不希望跳转页面以致打断工作流程时,可以使用 Modal 在当前页面正中打开一个浮层,承载相应的操作。",
|
|
5
|
+
"icon": "icon-dialog",
|
|
6
|
+
"group": "basic",
|
|
7
|
+
"groupName": "基础",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"name": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "title",
|
|
18
|
+
"name": "标题",
|
|
19
|
+
"desc": "对话框左上角的标题",
|
|
20
|
+
"type": "_I18nInput",
|
|
21
|
+
"default": "对话框"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": "width",
|
|
25
|
+
"name": "对话框宽度",
|
|
26
|
+
"type": "_WidthHeight",
|
|
27
|
+
"options": [
|
|
28
|
+
{
|
|
29
|
+
"label": "px",
|
|
30
|
+
"value": "px"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"label": "%",
|
|
34
|
+
"value": "%"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"label": "vw",
|
|
38
|
+
"value": "vw"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"label": "A",
|
|
42
|
+
"value": "auto"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"default": "700px"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"key": "height",
|
|
49
|
+
"name": "内容区高度",
|
|
50
|
+
"type": "_WidthHeight",
|
|
51
|
+
"options": [
|
|
52
|
+
{
|
|
53
|
+
"label": "px",
|
|
54
|
+
"value": "px"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"label": "vh",
|
|
58
|
+
"value": "vh"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"label": "A",
|
|
62
|
+
"value": "auto"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"default": "50vh"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"key": "defaultOpen",
|
|
69
|
+
"name": "默认显示",
|
|
70
|
+
"desc": "默认是否显示",
|
|
71
|
+
"type": "switch",
|
|
72
|
+
"default": false
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"key": "destroyOnClose",
|
|
76
|
+
"name": "关闭销毁",
|
|
77
|
+
"desc": "关闭时销毁对话框里的子元素",
|
|
78
|
+
"type": "switch",
|
|
79
|
+
"default": true
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"key": "mask",
|
|
83
|
+
"name": "显示遮罩",
|
|
84
|
+
"type": "switch",
|
|
85
|
+
"default": true
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"key": "okText",
|
|
89
|
+
"name": "确认文字",
|
|
90
|
+
"type": "_I18nInput",
|
|
91
|
+
"default": "确定"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"key": "cancelText",
|
|
95
|
+
"name": "取消文字",
|
|
96
|
+
"type": "_I18nInput",
|
|
97
|
+
"default": "取消"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"key": "footer",
|
|
101
|
+
"name": "显示footer",
|
|
102
|
+
"desc": "是否显示底部按钮区域",
|
|
103
|
+
"type": "switch",
|
|
104
|
+
"default": true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"key": "btnGroup",
|
|
108
|
+
"name": "按钮组",
|
|
109
|
+
"desc": "底部按钮区域的按钮组(参考按钮配置)",
|
|
110
|
+
"type": "_ActionsEditor",
|
|
111
|
+
"default": { "display": "button", "max": 2, "moreText": "操作", "todoList": [] },
|
|
112
|
+
"wrapper": "collapse",
|
|
113
|
+
"wrapperProps": { "suppressIcon": true }
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"advance": {
|
|
117
|
+
"events": [
|
|
118
|
+
{
|
|
119
|
+
"key": "onMount",
|
|
120
|
+
"name": "组件首次渲染时",
|
|
121
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
122
|
+
"func": "function onMount() {\n\t\n}"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"key": "onUnmount",
|
|
126
|
+
"name": "组件卸载时",
|
|
127
|
+
"desc": "在组件卸载时,执行方法。",
|
|
128
|
+
"func": "function onUnmount() {\n\t\n}"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"key": "onOpen",
|
|
132
|
+
"name": "对话框打开时",
|
|
133
|
+
"desc": "在对话框打开时,执行方法",
|
|
134
|
+
"func": "function onOpen() {\n\t\n}"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"key": "onClose",
|
|
138
|
+
"name": "对话框关闭时",
|
|
139
|
+
"desc": "在对话框打开时,执行方法,promise反馈false无法截断关闭",
|
|
140
|
+
"func": "function onClose() {\n\t\n}"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"key": "onOk",
|
|
144
|
+
"name": "确定按钮点击",
|
|
145
|
+
"desc": "点击确定按钮时,执行方法,return为Promose对象时会自动追加loading状态",
|
|
146
|
+
"func": "function onOk() {\n\t\n}"
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -40,24 +40,24 @@ var LCDrawer = function LCDrawer(_ref) {
|
|
|
40
40
|
});
|
|
41
41
|
(0, _react.useImperativeHandle)(apiRef, function () {
|
|
42
42
|
return {
|
|
43
|
-
/**
|
|
44
|
-
* 是否打开
|
|
45
|
-
* @property
|
|
43
|
+
/**
|
|
44
|
+
* 是否打开
|
|
45
|
+
* @property
|
|
46
46
|
*/
|
|
47
47
|
open: open,
|
|
48
|
-
/**
|
|
49
|
-
* 打开弹窗
|
|
50
|
-
* @method
|
|
48
|
+
/**
|
|
49
|
+
* 打开弹窗
|
|
50
|
+
* @method
|
|
51
51
|
*/
|
|
52
52
|
doOpen: setTrue,
|
|
53
|
-
/**
|
|
54
|
-
* 关闭弹窗
|
|
55
|
-
* @method
|
|
53
|
+
/**
|
|
54
|
+
* 关闭弹窗
|
|
55
|
+
* @method
|
|
56
56
|
*/
|
|
57
57
|
doClose: setFalse,
|
|
58
|
-
/**
|
|
59
|
-
* @method
|
|
60
|
-
* 切换弹窗
|
|
58
|
+
/**
|
|
59
|
+
* @method
|
|
60
|
+
* 切换弹窗
|
|
61
61
|
*/
|
|
62
62
|
toggle: toggle
|
|
63
63
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.lc-component-drawer.runtime-design {
|
|
2
|
-
:global {
|
|
3
|
-
.ant-drawer-content-wrapper {
|
|
4
|
-
transition: none;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
.lc-component-drawer.runtime-design.hidden {
|
|
9
|
-
display: none;
|
|
1
|
+
.lc-component-drawer.runtime-design {
|
|
2
|
+
:global {
|
|
3
|
+
.ant-drawer-content-wrapper {
|
|
4
|
+
transition: none;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
.lc-component-drawer.runtime-design.hidden {
|
|
9
|
+
display: none;
|
|
10
10
|
}
|
|
@@ -1,131 +1,131 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "Drawer",
|
|
3
|
-
"name": "抽屉",
|
|
4
|
-
"desc": "抽屉从父窗体边缘滑入,覆盖住部分父窗体内容。用户在抽屉内操作时不必离开当前任务,操作完成后,可以平滑地回到原任务。",
|
|
5
|
-
"icon": "icon-drawer",
|
|
6
|
-
"group": "basic",
|
|
7
|
-
"groupName": "基础",
|
|
8
|
-
"order": 1,
|
|
9
|
-
"props": [
|
|
10
|
-
{
|
|
11
|
-
"key": "id",
|
|
12
|
-
"desc": "唯一标识",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"disabled": true
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"key": "title",
|
|
18
|
-
"name": "标题",
|
|
19
|
-
"desc": "抽屉左上角的标题",
|
|
20
|
-
"type": "_I18nInput",
|
|
21
|
-
"default": "抽屉"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"key": "width",
|
|
25
|
-
"name": "宽度",
|
|
26
|
-
"desc": "抽屉的宽度(仅左右抽屉有效)",
|
|
27
|
-
"type": "number",
|
|
28
|
-
"default": 420
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"key": "height",
|
|
32
|
-
"name": "高度",
|
|
33
|
-
"desc": "抽屉的高度(仅上下抽屉有效)",
|
|
34
|
-
"type": "number",
|
|
35
|
-
"default": 360
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"key": "defaultOpen",
|
|
39
|
-
"name": "默认显示",
|
|
40
|
-
"desc": "默认是否显示",
|
|
41
|
-
"type": "boolean",
|
|
42
|
-
"default": false
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"key": "mask",
|
|
46
|
-
"name": "显示遮罩",
|
|
47
|
-
"desc": "是否展示遮罩",
|
|
48
|
-
"type": "boolean",
|
|
49
|
-
"default": false
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"key": "keyboard",
|
|
53
|
-
"name": "ESC关闭",
|
|
54
|
-
"desc": "是否支持键盘 esc 关闭",
|
|
55
|
-
"type": "boolean",
|
|
56
|
-
"default": true
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"key": "placement",
|
|
60
|
-
"name": "弹出位置",
|
|
61
|
-
"desc": "抽屉的方向",
|
|
62
|
-
"type": "select",
|
|
63
|
-
"options": [
|
|
64
|
-
{
|
|
65
|
-
"label": "顶部",
|
|
66
|
-
"value": "top"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"label": "右侧",
|
|
70
|
-
"value": "right"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"label": "底部",
|
|
74
|
-
"value": "bottom"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"label": "左侧",
|
|
78
|
-
"value": "left"
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"default": "right"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"key": "footer",
|
|
85
|
-
"name": "底部按钮是否显示",
|
|
86
|
-
"desc": "是否显示底部按钮区域",
|
|
87
|
-
"type": "boolean",
|
|
88
|
-
"default": true
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"key": "btnGroup",
|
|
92
|
-
"name": "按钮组",
|
|
93
|
-
"desc": "底部按钮区域的按钮组(参考按钮配置)",
|
|
94
|
-
"type": "_ActionSelector"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"advance": {
|
|
98
|
-
"events": [
|
|
99
|
-
{
|
|
100
|
-
"key": "onMount",
|
|
101
|
-
"name": "组件首次渲染时",
|
|
102
|
-
"desc": "在组件首次渲染时,执行方法",
|
|
103
|
-
"func": "function onMount() {\n\t\n}"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"key": "onUnmount",
|
|
107
|
-
"name": "组件卸载时",
|
|
108
|
-
"desc": "在组件卸载时,执行方法。",
|
|
109
|
-
"func": "function onUnmount() {\n\t\n}"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"key": "onOpen",
|
|
113
|
-
"name": "抽屉打开时",
|
|
114
|
-
"desc": "在抽屉打开时,执行方法",
|
|
115
|
-
"func": "function onOpen() {\n\t\n}"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"key": "onClose",
|
|
119
|
-
"name": "抽屉关闭时",
|
|
120
|
-
"desc": "在抽屉打开时,执行方法,promise反馈false无法截断关闭",
|
|
121
|
-
"func": "function onClose() {\n\t\n}"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"key": "onOk",
|
|
125
|
-
"name": "确定按钮点击",
|
|
126
|
-
"desc": "点击确定按钮时,执行方法",
|
|
127
|
-
"func": "function onOk() {\n\t\n}"
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": "Drawer",
|
|
3
|
+
"name": "抽屉",
|
|
4
|
+
"desc": "抽屉从父窗体边缘滑入,覆盖住部分父窗体内容。用户在抽屉内操作时不必离开当前任务,操作完成后,可以平滑地回到原任务。",
|
|
5
|
+
"icon": "icon-drawer",
|
|
6
|
+
"group": "basic",
|
|
7
|
+
"groupName": "基础",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"desc": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "title",
|
|
18
|
+
"name": "标题",
|
|
19
|
+
"desc": "抽屉左上角的标题",
|
|
20
|
+
"type": "_I18nInput",
|
|
21
|
+
"default": "抽屉"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": "width",
|
|
25
|
+
"name": "宽度",
|
|
26
|
+
"desc": "抽屉的宽度(仅左右抽屉有效)",
|
|
27
|
+
"type": "number",
|
|
28
|
+
"default": 420
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"key": "height",
|
|
32
|
+
"name": "高度",
|
|
33
|
+
"desc": "抽屉的高度(仅上下抽屉有效)",
|
|
34
|
+
"type": "number",
|
|
35
|
+
"default": 360
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"key": "defaultOpen",
|
|
39
|
+
"name": "默认显示",
|
|
40
|
+
"desc": "默认是否显示",
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"default": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"key": "mask",
|
|
46
|
+
"name": "显示遮罩",
|
|
47
|
+
"desc": "是否展示遮罩",
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"default": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"key": "keyboard",
|
|
53
|
+
"name": "ESC关闭",
|
|
54
|
+
"desc": "是否支持键盘 esc 关闭",
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"default": true
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"key": "placement",
|
|
60
|
+
"name": "弹出位置",
|
|
61
|
+
"desc": "抽屉的方向",
|
|
62
|
+
"type": "select",
|
|
63
|
+
"options": [
|
|
64
|
+
{
|
|
65
|
+
"label": "顶部",
|
|
66
|
+
"value": "top"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"label": "右侧",
|
|
70
|
+
"value": "right"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"label": "底部",
|
|
74
|
+
"value": "bottom"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"label": "左侧",
|
|
78
|
+
"value": "left"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"default": "right"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"key": "footer",
|
|
85
|
+
"name": "底部按钮是否显示",
|
|
86
|
+
"desc": "是否显示底部按钮区域",
|
|
87
|
+
"type": "boolean",
|
|
88
|
+
"default": true
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"key": "btnGroup",
|
|
92
|
+
"name": "按钮组",
|
|
93
|
+
"desc": "底部按钮区域的按钮组(参考按钮配置)",
|
|
94
|
+
"type": "_ActionSelector"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"advance": {
|
|
98
|
+
"events": [
|
|
99
|
+
{
|
|
100
|
+
"key": "onMount",
|
|
101
|
+
"name": "组件首次渲染时",
|
|
102
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
103
|
+
"func": "function onMount() {\n\t\n}"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"key": "onUnmount",
|
|
107
|
+
"name": "组件卸载时",
|
|
108
|
+
"desc": "在组件卸载时,执行方法。",
|
|
109
|
+
"func": "function onUnmount() {\n\t\n}"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"key": "onOpen",
|
|
113
|
+
"name": "抽屉打开时",
|
|
114
|
+
"desc": "在抽屉打开时,执行方法",
|
|
115
|
+
"func": "function onOpen() {\n\t\n}"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"key": "onClose",
|
|
119
|
+
"name": "抽屉关闭时",
|
|
120
|
+
"desc": "在抽屉打开时,执行方法,promise反馈false无法截断关闭",
|
|
121
|
+
"func": "function onClose() {\n\t\n}"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"key": "onOk",
|
|
125
|
+
"name": "确定按钮点击",
|
|
126
|
+
"desc": "点击确定按钮时,执行方法",
|
|
127
|
+
"func": "function onOk() {\n\t\n}"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
}
|