@luck-design-biz/luckda 0.0.25-11 → 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 +0 -0
- package/README.md +0 -0
- 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 +0 -0
- package/es/components/LdAutoForm/index.js +26 -4
- 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 +6 -2
- package/es/components/LdFormList/model.js +0 -0
- package/es/components/LdGrid/index.js +2 -1
- package/es/components/LdGrid/model.js +0 -0
- package/es/components/LdGridForm/index.js +6 -2
- package/es/components/LdGridForm/index.less +0 -0
- package/es/components/LdInfoPanel/index.js +0 -0
- package/es/components/LdPop/index.js +0 -0
- package/es/components/LdTree/index.js +27 -5
- package/es/components/LdTree/index.less +0 -0
- package/es/helper/FromItems.js +0 -0
- package/es/helper/action.js +0 -0
- package/es/helper/form.js +1 -1
- package/es/helper/index.less +0 -0
- 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 -1
- package/es/locales/zh-CN.js +0 -4
- package/es/lowcode/constants/api-url.js +0 -0
- package/es/lowcode/constants/event-topics.js +1 -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 +1 -1
- 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 +5 -0
- package/es/lowcode/engine/meta/box.props.default.json +1 -1
- package/es/lowcode/engine/meta/box.props.json +1 -1
- package/es/lowcode/engine/meta/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 +86 -3
- package/es/lowcode/engine/meta/fieldcomplex.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.json +84 -1
- package/es/lowcode/engine/meta/fielddate.props.default.json +2 -0
- package/es/lowcode/engine/meta/fielddate.props.json +84 -1
- package/es/lowcode/engine/meta/fielddict.props.default.json +2 -0
- package/es/lowcode/engine/meta/fielddict.props.json +84 -1
- package/es/lowcode/engine/meta/fieldeditor.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldeditor.props.json +84 -1
- package/es/lowcode/engine/meta/fieldgroup.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldgroup.props.json +84 -1
- package/es/lowcode/engine/meta/fieldnumber.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldnumber.props.json +85 -2
- package/es/lowcode/engine/meta/fieldradio.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldradio.props.json +88 -4
- package/es/lowcode/engine/meta/fieldregion.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldregion.props.json +88 -4
- package/es/lowcode/engine/meta/fieldselect.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldselect.props.json +86 -3
- package/es/lowcode/engine/meta/fieldstring.props.default.json +2 -4
- package/es/lowcode/engine/meta/fieldstring.props.json +92 -13
- package/es/lowcode/engine/meta/fieldswitch.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldswitch.props.json +85 -2
- package/es/lowcode/engine/meta/fieldtextarea.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.json +88 -5
- package/es/lowcode/engine/meta/fieldupload.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldupload.props.json +85 -2
- package/es/lowcode/engine/meta/fielduser.props.default.json +2 -0
- package/es/lowcode/engine/meta/fielduser.props.json +84 -1
- package/es/lowcode/engine/meta/fieldyear.props.default.json +2 -0
- package/es/lowcode/engine/meta/fieldyear.props.json +85 -2
- package/es/lowcode/engine/meta/form.props.default.json +0 -0
- package/es/lowcode/engine/meta/form.props.json +22 -2
- 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 +4 -4
- 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 +6 -6
- 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 +1 -1
- package/es/lowcode/engine/provider/EventBusProvider.js +0 -0
- package/es/lowcode/engine/provider/RemoteSourceProvider.js +30 -8
- package/es/lowcode/engine/tools/dataProcess.js +0 -0
- package/es/lowcode/engine/tools/diff.js +0 -0
- package/es/lowcode/engine/tools/helper.js +60 -3
- package/es/lowcode/engine/tools/useCanvasRender.js +0 -0
- package/es/lowcode/engine/tools/usePageDataStore.js +10 -5
- package/es/lowcode/engine/tools/usePromiseState.js +0 -0
- package/es/lowcode/engine/tools/useTodo.js +0 -0
- package/es/lowcode/index.js +1 -4
- package/es/lowcode/painter/Components.js +0 -0
- package/es/lowcode/painter/Design.js +4 -4
- package/es/lowcode/painter/DesignOperator.js +1 -1
- package/es/lowcode/painter/DesignToolbar.js +7 -4
- package/es/lowcode/painter/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 +7 -1
- 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 +0 -0
- package/es/lowcode/painter/components/ColorInput.js +0 -0
- 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 +0 -0
- package/es/lowcode/painter/components/NumberInput.js +0 -0
- package/es/lowcode/painter/components/PanelItem.js +0 -0
- package/es/lowcode/painter/components/PopConfirm.js +0 -0
- package/es/lowcode/painter/components/PopForm.js +0 -0
- package/es/lowcode/painter/components/RuleInput.js +0 -1
- package/es/lowcode/painter/components/SortBox.js +0 -0
- package/es/lowcode/painter/components/TreeEditor.js +0 -0
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +0 -0
- package/es/lowcode/painter/components/code-editor/CssEditor.js +0 -0
- package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +0 -0
- package/es/lowcode/painter/components/code-editor/JSEditor.js +24 -14
- package/es/lowcode/painter/components/code-editor/JsonEditor.js +0 -0
- 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 +3 -1
- 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 +36 -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 +2 -1
- package/es/lowcode/painter/panel-section/Icon.js +0 -0
- package/es/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
- package/es/lowcode/painter/panel-section/IconSelector.js +0 -0
- 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 +0 -0
- 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 +3 -2
- package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/Border.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/Display.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/Font.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/Margin.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/Padding.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/Size.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +0 -0
- package/es/lowcode/painter/panel-section/StylePanel/index.js +0 -0
- 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 +10 -2
- 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 +0 -0
- package/es/lowcode/painter/style/actions-editor.less +0 -0
- package/es/lowcode/painter/style/border-editor.less +0 -0
- package/es/lowcode/painter/style/border-radius-selector.less +0 -0
- package/es/lowcode/painter/style/border-selector.less +0 -0
- package/es/lowcode/painter/style/button-type.less +0 -0
- package/es/lowcode/painter/style/collapse.less +0 -0
- package/es/lowcode/painter/style/color-input.less +0 -0
- package/es/lowcode/painter/style/components.less +0 -0
- package/es/lowcode/painter/style/design.less +3 -0
- package/es/lowcode/painter/style/display.less +0 -0
- package/es/lowcode/painter/style/dragdrop.less +0 -0
- package/es/lowcode/painter/style/fields-setting.less +0 -0
- package/es/lowcode/painter/style/font-editor.less +0 -0
- package/es/lowcode/painter/style/fullscreen-editor.less +0 -0
- package/es/lowcode/painter/style/icon-selector.less +0 -0
- package/es/lowcode/painter/style/icon.less +0 -0
- package/es/lowcode/painter/style/impexp.less +0 -0
- package/es/lowcode/painter/style/index.less +0 -0
- package/es/lowcode/painter/style/layout-ratio.less +0 -0
- package/es/lowcode/painter/style/list-editor.less +0 -0
- package/es/lowcode/painter/style/number-input.less +0 -0
- package/es/lowcode/painter/style/outline.less +0 -0
- package/es/lowcode/painter/style/page-layout-display.less +0 -0
- package/es/lowcode/painter/style/panel-attrs.less +0 -0
- package/es/lowcode/painter/style/panel-item.less +0 -0
- package/es/lowcode/painter/style/panel.less +0 -0
- package/es/lowcode/painter/style/pop-confirm.less +0 -0
- package/es/lowcode/painter/style/pop-form.less +0 -0
- package/es/lowcode/painter/style/radio.less +0 -0
- package/es/lowcode/painter/style/ribbon.less +0 -0
- package/es/lowcode/painter/style/rule-input.less +0 -0
- package/es/lowcode/painter/style/split-display.less +0 -0
- package/es/lowcode/painter/style/style-panel.less +0 -0
- package/es/lowcode/painter/style/tabitems.less +0 -0
- package/es/lowcode/painter/style/treedragdrop.less +0 -0
- package/es/lowcode/preview/index.js +0 -0
- package/es/lowcode/view/Canvas.js +20 -6
- package/es/lowcode/view/Loading.js +0 -0
- package/es/lowcode/view/Page.js +3 -4
- package/es/lowcode/view/index.js +0 -0
- package/es/lowcode/view/lc-components/Box/FunctionDesign.js +7 -2
- 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 +0 -0
- package/es/lowcode/view/lc-components/Box/index.less +0 -0
- package/es/lowcode/view/lc-components/Box/meta.json +1 -1
- 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 +0 -0
- package/es/lowcode/view/lc-components/Button/meta.json +0 -0
- package/es/lowcode/view/lc-components/Button/style.less +0 -0
- 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 +0 -0
- 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 +30 -6
- package/es/lowcode/view/lc-components/Dialog/index.less +0 -0
- package/es/lowcode/view/lc-components/Dialog/meta.json +1 -1
- 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 +3 -0
- package/es/lowcode/view/lc-components/Drawer/index.less +0 -0
- package/es/lowcode/view/lc-components/Drawer/meta.json +0 -0
- package/es/lowcode/view/lc-components/FieldColor/meta.json +86 -3
- package/es/lowcode/view/lc-components/FieldComplex/meta.json +84 -1
- package/es/lowcode/view/lc-components/FieldDate/meta.json +84 -1
- package/es/lowcode/view/lc-components/FieldDict/meta.json +84 -1
- package/es/lowcode/view/lc-components/FieldEditor/meta.json +84 -1
- package/es/lowcode/view/lc-components/FieldGroup/meta.json +84 -1
- package/es/lowcode/view/lc-components/FieldNumber/meta.json +85 -2
- package/es/lowcode/view/lc-components/FieldRadio/meta.json +88 -4
- package/es/lowcode/view/lc-components/FieldRegion/meta.json +88 -4
- package/es/lowcode/view/lc-components/FieldSelect/meta.json +86 -3
- package/es/lowcode/view/lc-components/FieldString/meta.json +92 -13
- package/es/lowcode/view/lc-components/FieldSwitch/meta.json +85 -2
- package/es/lowcode/view/lc-components/FieldTextarea/meta.json +88 -5
- package/es/lowcode/view/lc-components/FieldUpload/meta.json +85 -2
- package/es/lowcode/view/lc-components/FieldUser/meta.json +84 -1
- package/es/lowcode/view/lc-components/FieldYear/meta.json +85 -2
- 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 +126 -22
- package/es/lowcode/view/lc-components/Form/index.less +0 -0
- package/es/lowcode/view/lc-components/Form/meta.json +15 -4
- 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 +0 -0
- 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 +4 -4
- package/es/lowcode/view/lc-components/ImEx/index.less +0 -0
- package/es/lowcode/view/lc-components/ImEx/meta.json +0 -0
- 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 +0 -0
- 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/{components/LdRuntimeCom/index.js → lowcode/view/lc-components/JSX/RuntimeComp.js} +8 -11
- package/es/lowcode/view/lc-components/JSX/index.js +5 -6
- package/es/lowcode/view/lc-components/JSX/meta.json +0 -0
- 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 +3 -1
- package/es/lowcode/view/lc-components/Layout/index.less +0 -0
- package/es/lowcode/view/lc-components/Layout/meta.json +0 -0
- 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 +3 -0
- package/es/lowcode/view/lc-components/Link/meta.json +0 -0
- package/es/lowcode/view/lc-components/Page/meta.json +6 -6
- package/es/lowcode/view/lc-components/PageContent/index.js +3 -1
- package/es/lowcode/view/lc-components/PageContent/meta.json +0 -0
- package/es/lowcode/view/lc-components/PageFooter/index.js +3 -0
- package/es/lowcode/view/lc-components/PageFooter/meta.json +0 -0
- package/es/lowcode/view/lc-components/PageHeader/index.js +3 -0
- package/es/lowcode/view/lc-components/PageHeader/meta.json +0 -0
- 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 +3 -0
- package/es/lowcode/view/lc-components/PageLayout/meta.json +0 -0
- 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 +6 -3
- package/es/lowcode/view/lc-components/Section/index.less +0 -0
- package/es/lowcode/view/lc-components/Section/meta.json +0 -0
- 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 +3 -0
- package/es/lowcode/view/lc-components/Split/meta.json +0 -0
- 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 +25 -32
- package/es/lowcode/view/lc-components/Table/meta.json +0 -0
- 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 +2 -2
- package/es/lowcode/view/lc-components/Tabs/meta.json +0 -0
- 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 +3 -0
- package/es/lowcode/view/lc-components/Text/meta.json +0 -0
- 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 +0 -0
- package/es/lowcode/view/lc-components/Tree/index.less +0 -0
- package/es/lowcode/view/lc-components/Tree/meta.json +0 -0
- package/es/lowcode/view/lc-components/Wrapper.js +1 -0
- package/es/lowcode/view/style/canvas.less +0 -0
- package/es/lowcode/view/style/loading.less +0 -0
- package/es/lowcode/view/style/page.less +0 -0
- package/es/services.js +0 -0
- package/es/upload/FilesWall/file.png +0 -0
- package/es/upload/FilesWall/index.js +0 -0
- package/es/upload/FilesWall/index.less +0 -0
- package/es/upload/Form/gridForm.js +0 -0
- package/es/upload/Form/index.js +0 -0
- package/es/upload/Form/index.less +0 -0
- package/es/upload/FormItem/index.js +0 -0
- 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 +0 -0
- package/es/utils/grid.js +2 -2
- 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 +0 -0
- package/lib/components/LdAutoForm/index.js +25 -3
- 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 +6 -2
- package/lib/components/LdFormList/model.js +0 -0
- package/lib/components/LdGrid/index.js +2 -1
- package/lib/components/LdGrid/model.js +0 -0
- package/lib/components/LdGridForm/index.js +6 -2
- package/lib/components/LdGridForm/index.less +0 -0
- package/lib/components/LdInfoPanel/index.js +0 -0
- package/lib/components/LdPop/index.js +0 -0
- package/lib/components/LdTree/index.js +25 -3
- package/lib/components/LdTree/index.less +0 -0
- package/lib/helper/FromItems.js +0 -0
- package/lib/helper/action.js +0 -0
- package/lib/helper/form.js +1 -1
- package/lib/helper/index.less +0 -0
- 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 +1 -9
- package/lib/locales/zh-CN.js +0 -4
- package/lib/lowcode/constants/api-url.js +0 -0
- package/lib/lowcode/constants/event-topics.js +2 -1
- 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 +1 -1
- 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 +11 -0
- package/lib/lowcode/engine/meta/box.props.default.json +1 -1
- package/lib/lowcode/engine/meta/box.props.json +1 -1
- package/lib/lowcode/engine/meta/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 +86 -3
- package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.json +84 -1
- package/lib/lowcode/engine/meta/fielddate.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fielddate.props.json +84 -1
- package/lib/lowcode/engine/meta/fielddict.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fielddict.props.json +84 -1
- package/lib/lowcode/engine/meta/fieldeditor.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.json +84 -1
- package/lib/lowcode/engine/meta/fieldgroup.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.json +84 -1
- package/lib/lowcode/engine/meta/fieldnumber.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.json +85 -2
- package/lib/lowcode/engine/meta/fieldradio.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldradio.props.json +88 -4
- package/lib/lowcode/engine/meta/fieldregion.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldregion.props.json +88 -4
- package/lib/lowcode/engine/meta/fieldselect.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldselect.props.json +86 -3
- package/lib/lowcode/engine/meta/fieldstring.props.default.json +2 -4
- package/lib/lowcode/engine/meta/fieldstring.props.json +92 -13
- package/lib/lowcode/engine/meta/fieldswitch.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.json +85 -2
- package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.json +88 -5
- package/lib/lowcode/engine/meta/fieldupload.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldupload.props.json +85 -2
- package/lib/lowcode/engine/meta/fielduser.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fielduser.props.json +84 -1
- package/lib/lowcode/engine/meta/fieldyear.props.default.json +2 -0
- package/lib/lowcode/engine/meta/fieldyear.props.json +85 -2
- package/lib/lowcode/engine/meta/form.props.default.json +0 -0
- package/lib/lowcode/engine/meta/form.props.json +22 -2
- 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 +4 -4
- 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 +6 -6
- 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 +1 -1
- package/lib/lowcode/engine/provider/EventBusProvider.js +0 -0
- package/lib/lowcode/engine/provider/RemoteSourceProvider.js +30 -8
- package/lib/lowcode/engine/tools/dataProcess.js +0 -0
- package/lib/lowcode/engine/tools/diff.js +0 -0
- package/lib/lowcode/engine/tools/helper.js +61 -2
- package/lib/lowcode/engine/tools/useCanvasRender.js +0 -0
- package/lib/lowcode/engine/tools/usePageDataStore.js +9 -4
- package/lib/lowcode/engine/tools/usePromiseState.js +0 -0
- package/lib/lowcode/engine/tools/useTodo.js +0 -0
- package/lib/lowcode/index.js +1 -5
- package/lib/lowcode/painter/Components.js +0 -0
- package/lib/lowcode/painter/Design.js +4 -4
- package/lib/lowcode/painter/DesignOperator.js +1 -1
- package/lib/lowcode/painter/DesignToolbar.js +7 -4
- package/lib/lowcode/painter/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 +6 -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 +0 -0
- package/lib/lowcode/painter/components/ColorInput.js +0 -0
- 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 +0 -0
- package/lib/lowcode/painter/components/NumberInput.js +0 -0
- package/lib/lowcode/painter/components/PanelItem.js +0 -0
- package/lib/lowcode/painter/components/PopConfirm.js +0 -0
- package/lib/lowcode/painter/components/PopForm.js +0 -0
- package/lib/lowcode/painter/components/RuleInput.js +0 -1
- package/lib/lowcode/painter/components/SortBox.js +0 -0
- package/lib/lowcode/painter/components/TreeEditor.js +0 -0
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +0 -0
- package/lib/lowcode/painter/components/code-editor/CssEditor.js +0 -0
- package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +0 -0
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +24 -14
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js +0 -0
- 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 +3 -1
- 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 +43 -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 +2 -1
- package/lib/lowcode/painter/panel-section/Icon.js +0 -0
- package/lib/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
- package/lib/lowcode/painter/panel-section/IconSelector.js +0 -0
- 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 +0 -0
- 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 +3 -2
- package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Border.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Display.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Font.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Size.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +0 -0
- package/lib/lowcode/painter/panel-section/StylePanel/index.js +0 -0
- 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 +10 -2
- 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 +0 -0
- package/lib/lowcode/painter/style/actions-editor.less +0 -0
- package/lib/lowcode/painter/style/border-editor.less +0 -0
- package/lib/lowcode/painter/style/border-radius-selector.less +0 -0
- package/lib/lowcode/painter/style/border-selector.less +0 -0
- package/lib/lowcode/painter/style/button-type.less +0 -0
- package/lib/lowcode/painter/style/collapse.less +0 -0
- package/lib/lowcode/painter/style/color-input.less +0 -0
- package/lib/lowcode/painter/style/components.less +0 -0
- package/lib/lowcode/painter/style/design.less +3 -0
- package/lib/lowcode/painter/style/display.less +0 -0
- package/lib/lowcode/painter/style/dragdrop.less +0 -0
- package/lib/lowcode/painter/style/fields-setting.less +0 -0
- package/lib/lowcode/painter/style/font-editor.less +0 -0
- package/lib/lowcode/painter/style/fullscreen-editor.less +0 -0
- package/lib/lowcode/painter/style/icon-selector.less +0 -0
- package/lib/lowcode/painter/style/icon.less +0 -0
- package/lib/lowcode/painter/style/impexp.less +0 -0
- package/lib/lowcode/painter/style/index.less +0 -0
- package/lib/lowcode/painter/style/layout-ratio.less +0 -0
- package/lib/lowcode/painter/style/list-editor.less +0 -0
- package/lib/lowcode/painter/style/number-input.less +0 -0
- package/lib/lowcode/painter/style/outline.less +0 -0
- package/lib/lowcode/painter/style/page-layout-display.less +0 -0
- package/lib/lowcode/painter/style/panel-attrs.less +0 -0
- package/lib/lowcode/painter/style/panel-item.less +0 -0
- package/lib/lowcode/painter/style/panel.less +0 -0
- package/lib/lowcode/painter/style/pop-confirm.less +0 -0
- package/lib/lowcode/painter/style/pop-form.less +0 -0
- package/lib/lowcode/painter/style/radio.less +0 -0
- package/lib/lowcode/painter/style/ribbon.less +0 -0
- package/lib/lowcode/painter/style/rule-input.less +0 -0
- package/lib/lowcode/painter/style/split-display.less +0 -0
- package/lib/lowcode/painter/style/style-panel.less +0 -0
- package/lib/lowcode/painter/style/tabitems.less +0 -0
- package/lib/lowcode/painter/style/treedragdrop.less +0 -0
- package/lib/lowcode/preview/index.js +0 -0
- package/lib/lowcode/view/Canvas.js +20 -5
- package/lib/lowcode/view/Loading.js +0 -0
- package/lib/lowcode/view/Page.js +3 -4
- package/lib/lowcode/view/index.js +0 -0
- package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +7 -2
- 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 +0 -0
- package/lib/lowcode/view/lc-components/Box/index.less +0 -0
- package/lib/lowcode/view/lc-components/Box/meta.json +1 -1
- 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 +0 -0
- package/lib/lowcode/view/lc-components/Button/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Button/style.less +0 -0
- 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 +0 -0
- 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 +29 -5
- package/lib/lowcode/view/lc-components/Dialog/index.less +0 -0
- package/lib/lowcode/view/lc-components/Dialog/meta.json +1 -1
- 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 +3 -0
- package/lib/lowcode/view/lc-components/Drawer/index.less +0 -0
- package/lib/lowcode/view/lc-components/Drawer/meta.json +0 -0
- package/lib/lowcode/view/lc-components/FieldColor/meta.json +86 -3
- package/lib/lowcode/view/lc-components/FieldComplex/meta.json +84 -1
- package/lib/lowcode/view/lc-components/FieldDate/meta.json +84 -1
- package/lib/lowcode/view/lc-components/FieldDict/meta.json +84 -1
- package/lib/lowcode/view/lc-components/FieldEditor/meta.json +84 -1
- package/lib/lowcode/view/lc-components/FieldGroup/meta.json +84 -1
- package/lib/lowcode/view/lc-components/FieldNumber/meta.json +85 -2
- package/lib/lowcode/view/lc-components/FieldRadio/meta.json +88 -4
- package/lib/lowcode/view/lc-components/FieldRegion/meta.json +88 -4
- package/lib/lowcode/view/lc-components/FieldSelect/meta.json +86 -3
- package/lib/lowcode/view/lc-components/FieldString/meta.json +92 -13
- package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +85 -2
- package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +88 -5
- package/lib/lowcode/view/lc-components/FieldUpload/meta.json +85 -2
- package/lib/lowcode/view/lc-components/FieldUser/meta.json +84 -1
- package/lib/lowcode/view/lc-components/FieldYear/meta.json +85 -2
- 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 +125 -21
- package/lib/lowcode/view/lc-components/Form/index.less +0 -0
- package/lib/lowcode/view/lc-components/Form/meta.json +15 -4
- 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 +0 -0
- 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 +4 -4
- package/lib/lowcode/view/lc-components/ImEx/index.less +0 -0
- package/lib/lowcode/view/lc-components/ImEx/meta.json +0 -0
- 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 +0 -0
- 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/{components/LdRuntimeCom/index.js → lowcode/view/lc-components/JSX/RuntimeComp.js} +9 -12
- package/lib/lowcode/view/lc-components/JSX/index.js +5 -6
- package/lib/lowcode/view/lc-components/JSX/meta.json +0 -0
- 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 +3 -1
- package/lib/lowcode/view/lc-components/Layout/index.less +0 -0
- package/lib/lowcode/view/lc-components/Layout/meta.json +0 -0
- 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 +3 -0
- package/lib/lowcode/view/lc-components/Link/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Page/meta.json +6 -6
- package/lib/lowcode/view/lc-components/PageContent/index.js +2 -0
- package/lib/lowcode/view/lc-components/PageContent/meta.json +0 -0
- package/lib/lowcode/view/lc-components/PageFooter/index.js +3 -0
- package/lib/lowcode/view/lc-components/PageFooter/meta.json +0 -0
- package/lib/lowcode/view/lc-components/PageHeader/index.js +3 -0
- package/lib/lowcode/view/lc-components/PageHeader/meta.json +0 -0
- 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 +3 -0
- package/lib/lowcode/view/lc-components/PageLayout/meta.json +0 -0
- 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 +6 -3
- package/lib/lowcode/view/lc-components/Section/index.less +0 -0
- package/lib/lowcode/view/lc-components/Section/meta.json +0 -0
- 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 +3 -0
- package/lib/lowcode/view/lc-components/Split/meta.json +0 -0
- 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 +25 -32
- package/lib/lowcode/view/lc-components/Table/meta.json +0 -0
- 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 +2 -2
- package/lib/lowcode/view/lc-components/Tabs/meta.json +0 -0
- 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 +3 -0
- package/lib/lowcode/view/lc-components/Text/meta.json +0 -0
- 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 +0 -0
- package/lib/lowcode/view/lc-components/Tree/index.less +0 -0
- package/lib/lowcode/view/lc-components/Tree/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Wrapper.js +1 -0
- package/lib/lowcode/view/style/canvas.less +0 -0
- package/lib/lowcode/view/style/loading.less +0 -0
- package/lib/lowcode/view/style/page.less +0 -0
- package/lib/services.js +0 -0
- package/lib/upload/FilesWall/file.png +0 -0
- package/lib/upload/FilesWall/index.js +0 -0
- package/lib/upload/FilesWall/index.less +0 -0
- package/lib/upload/Form/gridForm.js +0 -0
- package/lib/upload/Form/index.js +0 -0
- package/lib/upload/Form/index.less +0 -0
- package/lib/upload/FormItem/index.js +0 -0
- 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 +0 -0
- package/lib/utils/grid.js +2 -2
- package/lib/utils/index.js +0 -0
- package/lowcode.js +0 -0
- package/package.json +174 -175
- package/upload.js +0 -0
- package/utils.js +0 -0
|
@@ -57,6 +57,17 @@
|
|
|
57
57
|
],
|
|
58
58
|
"default": "bottom"
|
|
59
59
|
},
|
|
60
|
+
{
|
|
61
|
+
"key": "getContainer",
|
|
62
|
+
"name": "挂载节点",
|
|
63
|
+
"desc": "指定功能区挂载的页面节点",
|
|
64
|
+
"type": "_ComponentSelector",
|
|
65
|
+
"filter": [
|
|
66
|
+
["id", "page_root"],
|
|
67
|
+
["meta.group", "container"],
|
|
68
|
+
["meta.group", "build-in"]
|
|
69
|
+
]
|
|
70
|
+
},
|
|
60
71
|
{
|
|
61
72
|
"key": "renderFormLeft",
|
|
62
73
|
"name": "按钮区域左侧渲染",
|
|
@@ -204,7 +215,7 @@
|
|
|
204
215
|
"suppressActions": false,
|
|
205
216
|
"actionsColumnWidth": 160
|
|
206
217
|
},
|
|
207
|
-
"uploadForm": {
|
|
218
|
+
"uploadForm": {
|
|
208
219
|
"readOnly": false,
|
|
209
220
|
"suppressPreset": false,
|
|
210
221
|
"height": "300px",
|
|
@@ -212,7 +223,7 @@
|
|
|
212
223
|
"showNote": false,
|
|
213
224
|
"zipName": "download",
|
|
214
225
|
"useResetActions": false
|
|
215
|
-
|
|
226
|
+
}
|
|
216
227
|
},
|
|
217
228
|
"next": {
|
|
218
229
|
"name": "区块详细设计",
|
|
@@ -335,7 +346,7 @@
|
|
|
335
346
|
"name": "格式化数据",
|
|
336
347
|
"desc": "格式化单表提交数据",
|
|
337
348
|
"type": "_JSEditor",
|
|
338
|
-
"defaultCode": "function dataSourceFormat(values, submitData) { \n return submitData; \n}",
|
|
349
|
+
"defaultCode": "function dataSourceFormat(dataSetKey, values, submitData, behaviorKey) { \n return { [dataSetKey]: { [`${behaviorKey}List`]: submitData } }; \n}",
|
|
339
350
|
"mustConfirm": true,
|
|
340
351
|
"wrapper": "collapse",
|
|
341
352
|
"wrapperProps": { "suppressIcon": true }
|
|
@@ -446,7 +457,7 @@
|
|
|
446
457
|
"name": "格式化数据",
|
|
447
458
|
"desc": "格式化单表提交数据",
|
|
448
459
|
"type": "_JSEditor",
|
|
449
|
-
"defaultCode": "function dataSourceFormat(values, submitData) { \n return submitData; \n}",
|
|
460
|
+
"defaultCode": "function dataSourceFormat(dataSetKey, values, submitData, behaviorKey) { \n return { [dataSetKey]: { [`${behaviorKey}List`]: submitData } }; \n}",
|
|
450
461
|
"mustConfirm": true,
|
|
451
462
|
"wrapper": "collapse",
|
|
452
463
|
"wrapperProps": { "suppressIcon": true }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -45,7 +45,7 @@ var UploadDoneWrap = _styledComponents.default.div.withConfig({
|
|
|
45
45
|
displayName: "UploadDoneWrap",
|
|
46
46
|
componentId: "luckda-6530__sc-mil6cj-2"
|
|
47
47
|
})(["display:flex;align-items:center;justify-content:center;flex-direction:column;padding:16px;"]);
|
|
48
|
-
var
|
|
48
|
+
var LCImex = function LCImex(_ref) {
|
|
49
49
|
var id = _ref.id,
|
|
50
50
|
title = _ref.title,
|
|
51
51
|
type = _ref.type,
|
|
@@ -445,7 +445,7 @@ var LCButton = function LCButton(_ref) {
|
|
|
445
445
|
download: true
|
|
446
446
|
}, "\u4E0B\u8F7D\u51FA\u9519\u8868\u683C\u4FE1\u606F") : ''))));
|
|
447
447
|
};
|
|
448
|
-
|
|
448
|
+
LCImex.propTypes = {
|
|
449
449
|
/**
|
|
450
450
|
* @name 唯一标识
|
|
451
451
|
* @type string
|
|
@@ -484,5 +484,5 @@ LCButton.propTypes = {
|
|
|
484
484
|
*/
|
|
485
485
|
block: _propTypes.default.bool
|
|
486
486
|
};
|
|
487
|
-
|
|
488
|
-
var _default = exports.default =
|
|
487
|
+
LCImex.defaultProps = (0, _helper.omitBadProps)(_imexPropsDefault.default);
|
|
488
|
+
var _default = exports.default = LCImex;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/{components/LdRuntimeCom/index.js → lowcode/view/lc-components/JSX/RuntimeComp.js}
RENAMED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
-
var
|
|
9
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
10
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
11
11
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
12
12
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
@@ -14,18 +14,20 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
14
14
|
var Babel = _interopRequireWildcard(require("@babel/standalone"));
|
|
15
15
|
var LuckAntd = _interopRequireWildcard(require("luck-design/antd"));
|
|
16
16
|
var LuckDesign = _interopRequireWildcard(require("luck-design"));
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
17
|
+
var AHooks = _interopRequireWildcard(require("ahooks"));
|
|
18
|
+
var _lodash = require("lodash");
|
|
19
|
+
var _ContextProvider = require("../../../engine/provider/ContextProvider");
|
|
20
|
+
var _helper = require("../../../engine/tools/helper");
|
|
20
21
|
var _excluded = ["children"];
|
|
21
22
|
/**
|
|
22
23
|
* 实时代码渲染组件
|
|
23
24
|
* todo:沙箱上下文的集成
|
|
24
25
|
* todo:Loading效果的优化
|
|
25
26
|
*/
|
|
26
|
-
var
|
|
27
|
+
var RuntimeCom = function RuntimeCom(_ref) {
|
|
27
28
|
var children = _ref.children,
|
|
28
29
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
30
|
+
var ctx = (0, _ContextProvider.useContext)();
|
|
29
31
|
var _useState = (0, _react.useState)(null),
|
|
30
32
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
31
33
|
Component = _useState2[0],
|
|
@@ -46,12 +48,7 @@ var LdRuntimeCom = function LdRuntimeCom(_ref) {
|
|
|
46
48
|
var _args = argsName.map(function (n) {
|
|
47
49
|
return rest[n];
|
|
48
50
|
});
|
|
49
|
-
var
|
|
50
|
-
// 设置组件状态
|
|
51
|
-
var ReactComponent = execute.apply(void 0, [_react.default, LuckAntd, LuckDesign, {
|
|
52
|
-
Lodash: Lodash,
|
|
53
|
-
ahooks: ahooks
|
|
54
|
-
}].concat((0, _toConsumableArray2.default)(_args)));
|
|
51
|
+
var ReactComponent = _helper.executeCode.apply(void 0, [ctx, "function() {".concat(transformedCode, "; return ").concat(functionName, ";}"), ['React', 'Antd', 'Luckd', 'libs'].concat((0, _toConsumableArray2.default)(argsName)), _react.default, LuckAntd, LuckDesign, (0, _objectSpread2.default)({}, AHooks)].concat((0, _toConsumableArray2.default)(_args)));
|
|
55
52
|
setComponent( /*#__PURE__*/_react.default.createElement(ReactComponent, null));
|
|
56
53
|
}
|
|
57
54
|
}
|
|
@@ -59,4 +56,4 @@ var LdRuntimeCom = function LdRuntimeCom(_ref) {
|
|
|
59
56
|
if (code === '') return null;
|
|
60
57
|
return Component ? Component : 'JSX Component';
|
|
61
58
|
};
|
|
62
|
-
var _default = exports.default =
|
|
59
|
+
var _default = exports.default = RuntimeCom;
|
|
@@ -9,9 +9,10 @@ exports.default = void 0;
|
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _ahooks = require("ahooks");
|
|
11
11
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
12
|
-
var _ContextProvider = require("../../../engine/provider/ContextProvider");
|
|
13
12
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
14
|
-
var
|
|
13
|
+
var _helper = require("../../../engine/tools/helper");
|
|
14
|
+
var _jsxPropsDefault = _interopRequireDefault(require("../../../engine/meta/jsx.props.default.json"));
|
|
15
|
+
var _RuntimeComp = _interopRequireDefault(require("./RuntimeComp"));
|
|
15
16
|
var JSXWrapper = _styledComponents.default.div.withConfig({
|
|
16
17
|
displayName: "JSXWrapper",
|
|
17
18
|
componentId: "luckda-6530__sc-23r5qk-0"
|
|
@@ -23,7 +24,6 @@ var LCJSX = function LCJSX(_ref) {
|
|
|
23
24
|
render = _ref.render,
|
|
24
25
|
css = _ref.css;
|
|
25
26
|
var ref = (0, _react.useRef)();
|
|
26
|
-
var ctx = (0, _ContextProvider.useContext)();
|
|
27
27
|
var getTargetDom = (0, _ahooks.useMemoizedFn)(function () {
|
|
28
28
|
return ref.current;
|
|
29
29
|
});
|
|
@@ -34,8 +34,7 @@ var LCJSX = function LCJSX(_ref) {
|
|
|
34
34
|
}, /*#__PURE__*/_react.default.createElement(JSXWrapper, {
|
|
35
35
|
ref: ref,
|
|
36
36
|
$css: css
|
|
37
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
38
|
-
ctx: ctx
|
|
39
|
-
}, render)));
|
|
37
|
+
}, /*#__PURE__*/_react.default.createElement(_RuntimeComp.default, null, render)));
|
|
40
38
|
};
|
|
39
|
+
LCJSX.defaultProps = (0, _helper.omitBadProps)(_jsxPropsDefault.default);
|
|
41
40
|
var _default = exports.default = LCJSX;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,6 +12,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
12
12
|
var _ahooks = require("ahooks");
|
|
13
13
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
14
14
|
var _index = _interopRequireDefault(require("./index.less"));
|
|
15
|
+
var _helper = require("../../../engine/tools/helper");
|
|
15
16
|
var _layoutPropsDefault = _interopRequireDefault(require("../../../engine/meta/layout.props.default.json"));
|
|
16
17
|
var LCLayout = function LCLayout(_ref) {
|
|
17
18
|
var id = _ref.id,
|
|
@@ -62,5 +63,6 @@ LCLayout.propTypes = {
|
|
|
62
63
|
*/
|
|
63
64
|
lineSpacing: _propTypes.default.number
|
|
64
65
|
};
|
|
65
|
-
LCLayout.defaultProps = (0,
|
|
66
|
+
LCLayout.defaultProps = (0, _helper.omitBadProps)(_layoutPropsDefault.default);
|
|
67
|
+
;
|
|
66
68
|
var _default = exports.default = LCLayout;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -9,6 +9,8 @@ exports.default = void 0;
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _ahooks = require("ahooks");
|
|
12
|
+
var _helper = require("../../../engine/tools/helper");
|
|
13
|
+
var _linkPropsDefault = _interopRequireDefault(require("../../../engine/meta/link.props.default.json"));
|
|
12
14
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
13
15
|
var _excluded = ["id"];
|
|
14
16
|
var LCLink = function LCLink(_ref) {
|
|
@@ -26,4 +28,5 @@ var LCLink = function LCLink(_ref) {
|
|
|
26
28
|
ref: ref
|
|
27
29
|
}, "LCLink"));
|
|
28
30
|
};
|
|
31
|
+
LCLink.defaultProps = (0, _helper.omitBadProps)(_linkPropsDefault.default);
|
|
29
32
|
var _default = exports.default = LCLink;
|
|
File without changes
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"events": [
|
|
35
35
|
{
|
|
36
36
|
"key": "onPageMount",
|
|
37
|
-
"name": "
|
|
38
|
-
"desc": "
|
|
39
|
-
"func": "function onPageMount()
|
|
37
|
+
"name": "页面首次渲染完成",
|
|
38
|
+
"desc": "在页面首次渲染完成时,执行方法",
|
|
39
|
+
"func": "function onPageMount(){\n\t\n}"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"key": "onPageUnmount",
|
|
43
|
-
"name": "
|
|
44
|
-
"desc": "
|
|
45
|
-
"func": "function onPageUnmount()
|
|
43
|
+
"name": "页面卸载时",
|
|
44
|
+
"desc": "在页面卸载时,执行方法。",
|
|
45
|
+
"func": "function onPageUnmount(){\n\t\n}"
|
|
46
46
|
}
|
|
47
47
|
]
|
|
48
48
|
}
|
|
@@ -15,6 +15,7 @@ var _useCanvasRender = _interopRequireDefault(require("../../../engine/tools/use
|
|
|
15
15
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
16
16
|
var _constants = require("../../../constants");
|
|
17
17
|
var _helper = require("../../../engine/tools/helper");
|
|
18
|
+
var _pagecontentPropsDefault = _interopRequireDefault(require("../../../engine/meta/pagecontent.props.default.json"));
|
|
18
19
|
var Div = _styledComponents.default.div.withConfig({
|
|
19
20
|
displayName: "Div",
|
|
20
21
|
componentId: "luckda-6530__sc-19wkpor-0"
|
|
@@ -57,4 +58,5 @@ var PageContent = function PageContent() {
|
|
|
57
58
|
style: contentStyle
|
|
58
59
|
}, canvas)) : null;
|
|
59
60
|
};
|
|
61
|
+
PageContent.defaultProps = (0, _helper.omitBadProps)(_pagecontentPropsDefault.default);
|
|
60
62
|
var _default = exports.default = PageContent;
|
|
File without changes
|
|
@@ -13,6 +13,8 @@ var _ContextProvider = require("../../../engine/provider/ContextProvider");
|
|
|
13
13
|
var _useCanvasRender = _interopRequireDefault(require("../../../engine/tools/useCanvasRender"));
|
|
14
14
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
15
15
|
var _constants = require("../../../constants");
|
|
16
|
+
var _helper = require("../../../engine/tools/helper");
|
|
17
|
+
var _pagefooterPropsDefault = _interopRequireDefault(require("../../../engine/meta/pagefooter.props.default.json"));
|
|
16
18
|
var Div = _styledComponents.default.div.withConfig({
|
|
17
19
|
displayName: "Div",
|
|
18
20
|
componentId: "luckda-6530__sc-1d40970-0"
|
|
@@ -40,4 +42,5 @@ var PageFooter = function PageFooter() {
|
|
|
40
42
|
}
|
|
41
43
|
}, canvas));
|
|
42
44
|
};
|
|
45
|
+
PageFooter.defaultProps = (0, _helper.omitBadProps)(_pagefooterPropsDefault.default);
|
|
43
46
|
var _default = exports.default = PageFooter;
|
|
File without changes
|
|
@@ -14,6 +14,8 @@ var _ContextProvider = require("../../../engine/provider/ContextProvider");
|
|
|
14
14
|
var _useCanvasRender = _interopRequireDefault(require("../../../engine/tools/useCanvasRender"));
|
|
15
15
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
16
16
|
var _constants = require("../../../constants");
|
|
17
|
+
var _helper = require("../../../engine/tools/helper");
|
|
18
|
+
var _pageheaderPropsDefault = _interopRequireDefault(require("../../../engine/meta/pageheader.props.default.json"));
|
|
17
19
|
var Div = _styledComponents.default.div.withConfig({
|
|
18
20
|
displayName: "Div",
|
|
19
21
|
componentId: "luckda-6530__sc-1t2cxpy-0"
|
|
@@ -44,4 +46,5 @@ var PageHeader = function PageHeader() {
|
|
|
44
46
|
} : null
|
|
45
47
|
}, canvas));
|
|
46
48
|
};
|
|
49
|
+
PageHeader.defaultProps = (0, _helper.omitBadProps)(_pageheaderPropsDefault.default);
|
|
47
50
|
var _default = exports.default = PageHeader;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,6 +11,8 @@ var _ahooks = require("ahooks");
|
|
|
11
11
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
12
12
|
var _base = require("@luck-design-biz/base");
|
|
13
13
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
14
|
+
var _helper = require("../../../engine/tools/helper");
|
|
15
|
+
var _pagelayoutPropsDefault = _interopRequireDefault(require("../../../engine/meta/pagelayout.props.default.json"));
|
|
14
16
|
var StyledLayout = (0, _styledComponents.default)(_base.Layout).withConfig({
|
|
15
17
|
displayName: "StyledLayout",
|
|
16
18
|
componentId: "luckda-6530__sc-1igjuug-0"
|
|
@@ -37,4 +39,5 @@ var LCPageLayout = function LCPageLayout(_ref) {
|
|
|
37
39
|
split: display === 'ltb' ? 'horizontal' : 'vertical'
|
|
38
40
|
}, children === null || children === void 0 ? void 0 : children[1], children === null || children === void 0 ? void 0 : children[2])) : null)));
|
|
39
41
|
};
|
|
42
|
+
LCPageLayout.defaultProps = (0, _helper.omitBadProps)(_pagelayoutPropsDefault.default);
|
|
40
43
|
var _default = exports.default = LCPageLayout;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -16,7 +16,9 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
16
16
|
var _antd = require("luck-design/antd");
|
|
17
17
|
var _ContextProvider = require("../../../engine/provider/ContextProvider");
|
|
18
18
|
var _IconFont = _interopRequireDefault(require("../../../../components/IconFont"));
|
|
19
|
-
var
|
|
19
|
+
var _RuntimeComp = _interopRequireDefault(require("../JSX/RuntimeComp"));
|
|
20
|
+
var _helper = require("../../../engine/tools/helper");
|
|
21
|
+
var _sectionPropsDefault = _interopRequireDefault(require("../../../engine/meta/section.props.default.json"));
|
|
20
22
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
21
23
|
var _index = _interopRequireDefault(require("./index.less"));
|
|
22
24
|
var StyledCollapse = (0, _styledComponents.default)(_antd.Collapse).withConfig({
|
|
@@ -57,7 +59,7 @@ var Header = function Header(_ref) {
|
|
|
57
59
|
fontSize: 14,
|
|
58
60
|
color: 'var(--ant-primary-color)'
|
|
59
61
|
}
|
|
60
|
-
})) : null, subtitle ? /*#__PURE__*/_react.default.createElement(
|
|
62
|
+
})) : null, subtitle ? /*#__PURE__*/_react.default.createElement(_RuntimeComp.default, null, subtitle) : null);
|
|
61
63
|
};
|
|
62
64
|
var LCSection = function LCSection(_ref2) {
|
|
63
65
|
var id = _ref2.id,
|
|
@@ -126,8 +128,9 @@ var LCSection = function LCSection(_ref2) {
|
|
|
126
128
|
subtitle: subtitle
|
|
127
129
|
}),
|
|
128
130
|
key: id,
|
|
129
|
-
extra: extra ? /*#__PURE__*/_react.default.createElement(
|
|
131
|
+
extra: extra ? /*#__PURE__*/_react.default.createElement(_RuntimeComp.default, null, extra) : null,
|
|
130
132
|
padding: padding
|
|
131
133
|
}, _panelProps), children)));
|
|
132
134
|
};
|
|
135
|
+
LCSection.defaultProps = (0, _helper.omitBadProps)(_sectionPropsDefault.default);
|
|
133
136
|
var _default = exports.default = LCSection;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,6 +11,8 @@ var _ahooks = require("ahooks");
|
|
|
11
11
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
12
12
|
var _lodash = require("lodash");
|
|
13
13
|
var _base = require("@luck-design-biz/base");
|
|
14
|
+
var _helper = require("../../../engine/tools/helper");
|
|
15
|
+
var _splitPropsDefault = _interopRequireDefault(require("../../../engine/meta/split.props.default.json"));
|
|
14
16
|
var _Wrapper = _interopRequireDefault(require("../Wrapper"));
|
|
15
17
|
var _MAPPING_ = {
|
|
16
18
|
left: 'min',
|
|
@@ -61,4 +63,5 @@ var LCSplit = function LCSplit(_ref) {
|
|
|
61
63
|
}, children === null || children === void 0 ? void 0 : children[i]);
|
|
62
64
|
}))));
|
|
63
65
|
};
|
|
66
|
+
LCSplit.defaultProps = (0, _helper.omitBadProps)(_splitPropsDefault.default);
|
|
64
67
|
var _default = exports.default = LCSplit;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -332,7 +332,9 @@ var TopExport = exports.TopExport = function TopExport(_ref5) {
|
|
|
332
332
|
labels = [];
|
|
333
333
|
fieldInfo = [];
|
|
334
334
|
tableRef === null || tableRef === void 0 || (_tableRef$gridApi = tableRef.gridApi) === null || _tableRef$gridApi === void 0 || _tableRef$gridApi.columnApi.getAllDisplayedColumns().forEach(function (column) {
|
|
335
|
-
if (column.colId !== 'luck-expand' && column.colId !== 'luck-select' && column.colId !== 'luck-index' && column.colId !== 'luck-actions' &&
|
|
335
|
+
if (column.colId !== 'luck-expand' && column.colId !== 'luck-select' && column.colId !== 'luck-index' && column.colId !== 'luck-actions' && column.colId !== 'fraction_drag'
|
|
336
|
+
// !column.colDef.draggable
|
|
337
|
+
) {
|
|
336
338
|
labels.push(column.colDef.headerName);
|
|
337
339
|
fieldInfo.push({
|
|
338
340
|
width: column.actualWidth,
|
|
@@ -112,47 +112,39 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
112
112
|
maxCount: (actions.current || actions).max,
|
|
113
113
|
type: (actions.current || actions).type,
|
|
114
114
|
getActions: function getActions() {
|
|
115
|
-
return (actions.current || actions).todoList.map(function (
|
|
115
|
+
return (actions.current || actions).todoList.map(function (_action) {
|
|
116
116
|
return {
|
|
117
|
-
title:
|
|
118
|
-
action: function (
|
|
119
|
-
function action(_x, _x2, _x3) {
|
|
120
|
-
return _action.apply(this, arguments);
|
|
121
|
-
}
|
|
122
|
-
action.toString = function () {
|
|
123
|
-
return _action.toString();
|
|
124
|
-
};
|
|
125
|
-
return action;
|
|
126
|
-
}(function (data, rowIndex, params) {
|
|
117
|
+
title: _action.name,
|
|
118
|
+
action: function action(data, rowIndex, params) {
|
|
127
119
|
var doAction = function doAction() {
|
|
128
|
-
ctx.doAction(
|
|
120
|
+
ctx.doAction(_action.actionPool, {
|
|
129
121
|
data: data,
|
|
130
122
|
rowIndex: rowIndex,
|
|
131
123
|
params: params,
|
|
132
124
|
datasetCode: dataset.code
|
|
133
125
|
});
|
|
134
126
|
};
|
|
135
|
-
if (
|
|
127
|
+
if (_action.riskLevel === 'danger') {
|
|
136
128
|
_base.Modal.confirm({
|
|
137
|
-
title: "\u786E\u8BA4\u6267\u884C".concat(
|
|
129
|
+
title: "\u786E\u8BA4\u6267\u884C".concat(_action.name, "\u884C\u4E3A\u64CD\u4F5C\u5417\uFF1F"),
|
|
138
130
|
onOk: doAction
|
|
139
131
|
});
|
|
140
|
-
} else if (
|
|
132
|
+
} else if (_action.riskLevel === 'destroy') {
|
|
141
133
|
(0, _base.recheck)({
|
|
142
|
-
title: "\u786E\u8BA4\u6267\u884C".concat(
|
|
143
|
-
checkWords: "\u6267\u884C".concat(
|
|
134
|
+
title: "\u786E\u8BA4\u6267\u884C".concat(_action.name, "\u884C\u4E3A\u64CD\u4F5C\u5417\uFF1F"),
|
|
135
|
+
checkWords: "\u6267\u884C".concat(_action.name),
|
|
144
136
|
onOk: doAction
|
|
145
137
|
});
|
|
146
138
|
} else {
|
|
147
139
|
doAction();
|
|
148
140
|
}
|
|
149
|
-
}
|
|
150
|
-
resource:
|
|
151
|
-
style:
|
|
141
|
+
},
|
|
142
|
+
resource: _action.serial,
|
|
143
|
+
style: _action.riskLevel === 'default' ? null : {
|
|
152
144
|
color: {
|
|
153
145
|
danger: '#ff7875',
|
|
154
146
|
destroy: '#ff4d4f'
|
|
155
|
-
}[
|
|
147
|
+
}[_action.riskLevel]
|
|
156
148
|
}
|
|
157
149
|
};
|
|
158
150
|
});
|
|
@@ -199,7 +191,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
199
191
|
runAsync = _useRequest.runAsync;
|
|
200
192
|
|
|
201
193
|
// 查询进度
|
|
202
|
-
var fecthExcelState = function
|
|
194
|
+
var fecthExcelState = (0, _ahooks.useMemoizedFn)(function (_ref2, procress, resolve, reject) {
|
|
203
195
|
var strategy = _ref2.strategy,
|
|
204
196
|
batchNo = _ref2.batchNo,
|
|
205
197
|
moduleCode = _ref2.moduleCode,
|
|
@@ -208,7 +200,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
208
200
|
var _fetchExcelStateParams = {
|
|
209
201
|
moduleCode: moduleCode,
|
|
210
202
|
behaviorKey: behaviorKey,
|
|
211
|
-
reportType:
|
|
203
|
+
reportType: 'export'
|
|
212
204
|
};
|
|
213
205
|
(0, _apiUrl2.getFindexcelstate)(_fetchExcelStatePrefix, _fetchExcelStateParams).then(function (response) {
|
|
214
206
|
if (response.code === 1) {
|
|
@@ -235,8 +227,8 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
235
227
|
}).catch(function () {
|
|
236
228
|
reject();
|
|
237
229
|
});
|
|
238
|
-
};
|
|
239
|
-
var _onExportAll = function
|
|
230
|
+
});
|
|
231
|
+
var _onExportAll = (0, _ahooks.useMemoizedFn)(function (procress) {
|
|
240
232
|
return new Promise( /*#__PURE__*/function () {
|
|
241
233
|
var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(resolve, reject) {
|
|
242
234
|
var isBehavior, behaviorKey, strategy, _exportExcelParams, _exportExcelPrefix, exportExcelResponse, _ref4, _ref5, _getProps, apiUrl, _strategy, joiner, labels, fieldInfo, defaultExcelParams, _exportExcelParams2, _exportExcelPrefix2, _exportExcelResponse;
|
|
@@ -254,7 +246,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
254
246
|
_exportExcelParams = {
|
|
255
247
|
moduleCode: module.moduleCode,
|
|
256
248
|
behaviorKey: behaviorKey,
|
|
257
|
-
reportType:
|
|
249
|
+
reportType: 'export'
|
|
258
250
|
};
|
|
259
251
|
_exportExcelPrefix = "/".concat(strategy);
|
|
260
252
|
_context.next = 8;
|
|
@@ -291,9 +283,9 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
291
283
|
}
|
|
292
284
|
});
|
|
293
285
|
defaultExcelParams = {
|
|
294
|
-
bgColor:
|
|
286
|
+
bgColor: '#69b1ff',
|
|
295
287
|
dataUrl: "".concat(window.location.origin, "/api").concat(apiUrl).concat(joiner, "token=").concat(window.cookie.get(window.appConfig.authSaveKey)),
|
|
296
|
-
excelName:
|
|
288
|
+
excelName: 'download.xls',
|
|
297
289
|
fieldInfo: fieldInfo,
|
|
298
290
|
islock: false,
|
|
299
291
|
labels: labels === null || labels === void 0 ? void 0 : labels.join(),
|
|
@@ -301,7 +293,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
301
293
|
};
|
|
302
294
|
_exportExcelParams2 = (0, _objectSpread2.default)({
|
|
303
295
|
moduleCode: module.moduleCode,
|
|
304
|
-
reportType:
|
|
296
|
+
reportType: 'export'
|
|
305
297
|
}, defaultExcelParams);
|
|
306
298
|
_exportExcelPrefix2 = "/".concat(_strategy);
|
|
307
299
|
_context.next = 23;
|
|
@@ -323,11 +315,11 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
323
315
|
}
|
|
324
316
|
}, _callee);
|
|
325
317
|
}));
|
|
326
|
-
return function (
|
|
318
|
+
return function (_x, _x2) {
|
|
327
319
|
return _ref3.apply(this, arguments);
|
|
328
320
|
};
|
|
329
321
|
}());
|
|
330
|
-
};
|
|
322
|
+
});
|
|
331
323
|
var _export = (0, _ahooks.useCreation)(function () {
|
|
332
324
|
var _temp = {
|
|
333
325
|
enableExportAll: !!impexp.export
|
|
@@ -350,7 +342,8 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
350
342
|
};
|
|
351
343
|
}),
|
|
352
344
|
onBatchOperationsClick: function onBatchOperationsClick(key, selectedRows) {
|
|
353
|
-
|
|
345
|
+
var todoListById = (0, _lodash.keyBy)(bantchActions.todoList, 'id');
|
|
346
|
+
ctx.doAction(todoListById[key].actionPool, {
|
|
354
347
|
key: key,
|
|
355
348
|
selectedRows: selectedRows,
|
|
356
349
|
datasetCode: dataset.code
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|