@luck-design-biz/luckda 1.0.2-4 → 1.0.2-6
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/es/components/Builder/index.js +2 -1
- package/es/components/Builder/index.js.map +1 -0
- package/es/components/ComplexItem/index.js +2 -1
- package/es/components/ComplexItem/index.js.map +1 -0
- package/es/components/ComplexItem/service.js +2 -1
- package/es/components/ComplexItem/service.js.map +1 -0
- package/es/components/IconFont/index.js +2 -1
- package/es/components/IconFont/index.js.map +1 -0
- package/es/components/LDActions/index.js +2 -1
- package/es/components/LDActions/index.js.map +1 -0
- package/es/components/LdAutoForm/index.js +2 -1
- package/es/components/LdAutoForm/index.js.map +1 -0
- package/es/components/LdCard/index.js +2 -1
- package/es/components/LdCard/index.js.map +1 -0
- package/es/components/LdCard/model.js +2 -1
- package/es/components/LdCard/model.js.map +1 -0
- package/es/components/LdCom/index.js +2 -1
- package/es/components/LdCom/index.js.map +1 -0
- package/es/components/LdFormList/index.js +2 -1
- package/es/components/LdFormList/index.js.map +1 -0
- package/es/components/LdFormList/model.js +2 -1
- package/es/components/LdFormList/model.js.map +1 -0
- package/es/components/LdGrid/index.js +2 -1
- package/es/components/LdGrid/index.js.map +1 -0
- package/es/components/LdGrid/model.js +2 -1
- package/es/components/LdGrid/model.js.map +1 -0
- package/es/components/LdGridForm/index.js +2 -1
- package/es/components/LdGridForm/index.js.map +1 -0
- package/es/components/LdInfoPanel/index.js +2 -1
- package/es/components/LdInfoPanel/index.js.map +1 -0
- package/es/components/LdPop/index.js +2 -1
- package/es/components/LdPop/index.js.map +1 -0
- package/es/components/LdTree/index.js +2 -1
- package/es/components/LdTree/index.js.map +1 -0
- package/es/helper/FromItems.js +2 -1
- package/es/helper/FromItems.js.map +1 -0
- package/es/helper/action.js +2 -1
- package/es/helper/action.js.map +1 -0
- package/es/helper/form.js +2 -1
- package/es/helper/form.js.map +1 -0
- package/es/helper/ldBuilder.js +2 -1
- package/es/helper/ldBuilder.js.map +1 -0
- package/es/helper/ldComBuild.js +2 -1
- package/es/helper/ldComBuild.js.map +1 -0
- package/es/helper/props_config.js +2 -1
- package/es/helper/props_config.js.map +1 -0
- package/es/index.js +2 -1
- package/es/index.js.map +1 -0
- package/es/locales/zh-CN.js +2 -1
- package/es/locales/zh-CN.js.map +1 -0
- package/es/lowcode/constants/api-url.js +2 -1
- package/es/lowcode/constants/api-url.js.map +1 -0
- package/es/lowcode/constants/event-topics.js +2 -1
- package/es/lowcode/constants/event-topics.js.map +1 -0
- package/es/lowcode/constants/index.js +2 -1
- package/es/lowcode/constants/index.js.map +1 -0
- package/es/lowcode/engine/factory/DataFactory.js +2 -1
- package/es/lowcode/engine/factory/DataFactory.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/GroupStrategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/NumberStrategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/RadioStrategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/Strategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/Strategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js.map +1 -0
- package/es/lowcode/engine/factory/panel-item-factory/index.js +2 -1
- package/es/lowcode/engine/factory/panel-item-factory/index.js.map +1 -0
- package/es/lowcode/engine/launcher.js +2 -1
- package/es/lowcode/engine/launcher.js.map +1 -0
- package/es/lowcode/engine/provider/ContextProvider/index.js +2 -1
- package/es/lowcode/engine/provider/ContextProvider/index.js.map +1 -0
- package/es/lowcode/engine/provider/ContextProvider/router.js +2 -1
- package/es/lowcode/engine/provider/ContextProvider/router.js.map +1 -0
- package/es/lowcode/engine/provider/ContextProvider/usePageDataStore.js +2 -1
- package/es/lowcode/engine/provider/ContextProvider/usePageDataStore.js.map +1 -0
- package/es/lowcode/engine/provider/ContextProvider/usePageVar.js +2 -1
- package/es/lowcode/engine/provider/ContextProvider/usePageVar.js.map +1 -0
- package/es/lowcode/engine/provider/ContextProvider/useTodo.js +2 -1
- package/es/lowcode/engine/provider/ContextProvider/useTodo.js.map +1 -0
- package/es/lowcode/engine/provider/ContextProvider/utils.js +2 -1
- package/es/lowcode/engine/provider/ContextProvider/utils.js.map +1 -0
- package/es/lowcode/engine/provider/EventBusProvider.js +2 -1
- package/es/lowcode/engine/provider/EventBusProvider.js.map +1 -0
- package/es/lowcode/engine/provider/RemoteSourceProvider.js +2 -1
- package/es/lowcode/engine/provider/RemoteSourceProvider.js.map +1 -0
- package/es/lowcode/engine/tools/dataProcess.js +2 -1
- package/es/lowcode/engine/tools/dataProcess.js.map +1 -0
- package/es/lowcode/engine/tools/diff.js +2 -1
- package/es/lowcode/engine/tools/diff.js.map +1 -0
- package/es/lowcode/engine/tools/helper.js +2 -1
- package/es/lowcode/engine/tools/helper.js.map +1 -0
- package/es/lowcode/engine/tools/initDS.js +2 -1
- package/es/lowcode/engine/tools/initDS.js.map +1 -0
- package/es/lowcode/engine/tools/useCanvasRender.js +2 -1
- package/es/lowcode/engine/tools/useCanvasRender.js.map +1 -0
- package/es/lowcode/engine/tools/useCombinedRefs.js +2 -1
- package/es/lowcode/engine/tools/useCombinedRefs.js.map +1 -0
- package/es/lowcode/engine/tools/usePromiseState.js +2 -1
- package/es/lowcode/engine/tools/usePromiseState.js.map +1 -0
- package/es/lowcode/index.js +2 -1
- package/es/lowcode/index.js.map +1 -0
- package/es/lowcode/painter/Components.js +2 -1
- package/es/lowcode/painter/Components.js.map +1 -0
- package/es/lowcode/painter/Design.js +2 -1
- package/es/lowcode/painter/Design.js.map +1 -0
- package/es/lowcode/painter/DesignOperator.js +2 -1
- package/es/lowcode/painter/DesignOperator.js.map +1 -0
- package/es/lowcode/painter/DesignToolbar.js +2 -1
- package/es/lowcode/painter/DesignToolbar.js.map +1 -0
- package/es/lowcode/painter/I18n.js +2 -1
- package/es/lowcode/painter/I18n.js.map +1 -0
- package/es/lowcode/painter/Outline.js +2 -1
- package/es/lowcode/painter/Outline.js.map +1 -0
- package/es/lowcode/painter/Panel.js +2 -1
- package/es/lowcode/painter/Panel.js.map +1 -0
- package/es/lowcode/painter/Ribbon.js +2 -1
- package/es/lowcode/painter/Ribbon.js.map +1 -0
- package/es/lowcode/painter/components/ActionBindModal.js +2 -1
- package/es/lowcode/painter/components/ActionBindModal.js.map +1 -0
- package/es/lowcode/painter/components/AdvancePanel.js +2 -1
- package/es/lowcode/painter/components/AdvancePanel.js.map +1 -0
- package/es/lowcode/painter/components/AttrsPanel.js +2 -1
- package/es/lowcode/painter/components/AttrsPanel.js.map +1 -0
- package/es/lowcode/painter/components/Collapse.js +2 -1
- package/es/lowcode/painter/components/Collapse.js.map +1 -0
- package/es/lowcode/painter/components/ColorInput.js +2 -1
- package/es/lowcode/painter/components/ColorInput.js.map +1 -0
- package/es/lowcode/painter/components/DragDrop/DragDropContext.js +2 -1
- package/es/lowcode/painter/components/DragDrop/DragDropContext.js.map +1 -0
- package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +2 -1
- package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js.map +1 -0
- package/es/lowcode/painter/components/DragDrop/Overlay.js +2 -1
- package/es/lowcode/painter/components/DragDrop/Overlay.js.map +1 -0
- package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +2 -1
- package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js.map +1 -0
- package/es/lowcode/painter/components/FieldSelector.js +2 -1
- package/es/lowcode/painter/components/FieldSelector.js.map +1 -0
- package/es/lowcode/painter/components/ListEditor.js +2 -1
- package/es/lowcode/painter/components/ListEditor.js.map +1 -0
- package/es/lowcode/painter/components/NumberInput.js +2 -1
- package/es/lowcode/painter/components/NumberInput.js.map +1 -0
- package/es/lowcode/painter/components/PanelItem.js +2 -1
- package/es/lowcode/painter/components/PanelItem.js.map +1 -0
- package/es/lowcode/painter/components/PopConfirm.js +2 -1
- package/es/lowcode/painter/components/PopConfirm.js.map +1 -0
- package/es/lowcode/painter/components/PopForm.js +2 -1
- package/es/lowcode/painter/components/PopForm.js.map +1 -0
- package/es/lowcode/painter/components/PreviewIframe.js +2 -1
- package/es/lowcode/painter/components/PreviewIframe.js.map +1 -0
- package/es/lowcode/painter/components/RuleInput.js +2 -1
- package/es/lowcode/painter/components/RuleInput.js.map +1 -0
- package/es/lowcode/painter/components/SortBox.js +2 -1
- package/es/lowcode/painter/components/SortBox.js.map +1 -0
- package/es/lowcode/painter/components/TipIcon.js +2 -1
- package/es/lowcode/painter/components/TipIcon.js.map +1 -0
- package/es/lowcode/painter/components/TreeEditor.js +2 -1
- package/es/lowcode/painter/components/TreeEditor.js.map +1 -0
- package/es/lowcode/painter/components/VarEditor.js +2 -1
- package/es/lowcode/painter/components/VarEditor.js.map +1 -0
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +2 -1
- package/es/lowcode/painter/components/code-editor/BaseEditor.js.map +1 -0
- package/es/lowcode/painter/components/code-editor/CssEditor.js +2 -1
- package/es/lowcode/painter/components/code-editor/CssEditor.js.map +1 -0
- package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +2 -1
- package/es/lowcode/painter/components/code-editor/FullScreenEditor.js.map +1 -0
- package/es/lowcode/painter/components/code-editor/JSEditor.js +2 -1
- package/es/lowcode/painter/components/code-editor/JSEditor.js.map +1 -0
- package/es/lowcode/painter/components/code-editor/JsonEditor.js +2 -1
- package/es/lowcode/painter/components/code-editor/JsonEditor.js.map +1 -0
- package/es/lowcode/painter/components/code-editor/VisionEditor.js +2 -1
- package/es/lowcode/painter/components/code-editor/VisionEditor.js.map +1 -0
- package/es/lowcode/painter/components/code-editor/index.js +2 -1
- package/es/lowcode/painter/components/code-editor/index.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/BatchSetting.js +2 -1
- package/es/lowcode/painter/components/field-setting/BatchSetting.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/CheckFrontRules.js +2 -1
- package/es/lowcode/painter/components/field-setting/CheckFrontRules.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/CheckRules.js +2 -1
- package/es/lowcode/painter/components/field-setting/CheckRules.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/FieldAttrs.js +2 -1
- package/es/lowcode/painter/components/field-setting/FieldAttrs.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js +2 -1
- package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js +2 -1
- package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +2 -1
- package/es/lowcode/painter/components/field-setting/FieldRulesModal.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/SettingUI.js +2 -1
- package/es/lowcode/painter/components/field-setting/SettingUI.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/index.js +2 -1
- package/es/lowcode/painter/components/field-setting/index.js.map +1 -0
- package/es/lowcode/painter/components/field-setting/meta/frontRules.js +2 -1
- package/es/lowcode/painter/components/field-setting/meta/frontRules.js.map +1 -0
- package/es/lowcode/painter/expect.js +2 -1
- package/es/lowcode/painter/expect.js.map +1 -0
- package/es/lowcode/painter/index.js +2 -1
- package/es/lowcode/painter/index.js.map +1 -0
- package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +2 -1
- package/es/lowcode/painter/panel-section/ActionsColumnWidth.js.map +1 -0
- package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +2 -1
- package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js.map +1 -0
- package/es/lowcode/painter/panel-section/ActionsEditor/index.js +2 -1
- package/es/lowcode/painter/panel-section/ActionsEditor/index.js.map +1 -0
- package/es/lowcode/painter/panel-section/BlockEditor/index.js +2 -1
- package/es/lowcode/painter/panel-section/BlockEditor/index.js.map +1 -0
- package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +2 -1
- package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js.map +1 -0
- package/es/lowcode/painter/panel-section/BlocksEditor/index.js +2 -1
- package/es/lowcode/painter/panel-section/BlocksEditor/index.js.map +1 -0
- package/es/lowcode/painter/panel-section/ButtonType.js +2 -1
- package/es/lowcode/painter/panel-section/ButtonType.js.map +1 -0
- package/es/lowcode/painter/panel-section/ComplexPop.js +2 -1
- package/es/lowcode/painter/panel-section/ComplexPop.js.map +1 -0
- package/es/lowcode/painter/panel-section/ComponentSelector.js +2 -1
- package/es/lowcode/painter/panel-section/ComponentSelector.js.map +1 -0
- package/es/lowcode/painter/panel-section/DataSetSelector.js +2 -1
- package/es/lowcode/painter/panel-section/DataSetSelector.js.map +1 -0
- package/es/lowcode/painter/panel-section/FieldState.js +2 -1
- package/es/lowcode/painter/panel-section/FieldState.js.map +1 -0
- package/es/lowcode/painter/panel-section/FieldsSetting.js +2 -1
- package/es/lowcode/painter/panel-section/FieldsSetting.js.map +1 -0
- package/es/lowcode/painter/panel-section/GroupClassSelector.js +2 -1
- package/es/lowcode/painter/panel-section/GroupClassSelector.js.map +1 -0
- package/es/lowcode/painter/panel-section/I18nInput.js +2 -1
- package/es/lowcode/painter/panel-section/I18nInput.js.map +1 -0
- package/es/lowcode/painter/panel-section/Icon.js +2 -1
- package/es/lowcode/painter/panel-section/Icon.js.map +1 -0
- package/es/lowcode/painter/panel-section/IconConditionSelector.js +2 -1
- package/es/lowcode/painter/panel-section/IconConditionSelector.js.map +1 -0
- package/es/lowcode/painter/panel-section/IconSelector.js +2 -1
- package/es/lowcode/painter/panel-section/IconSelector.js.map +1 -0
- package/es/lowcode/painter/panel-section/ImpExp.js +2 -1
- package/es/lowcode/painter/panel-section/ImpExp.js.map +1 -0
- package/es/lowcode/painter/panel-section/ImpExpAlone.js +2 -1
- package/es/lowcode/painter/panel-section/ImpExpAlone.js.map +1 -0
- package/es/lowcode/painter/panel-section/JSEditor.js +9 -4
- package/es/lowcode/painter/panel-section/JSEditor.js.map +1 -0
- package/es/lowcode/painter/panel-section/LayoutRatio.js +2 -1
- package/es/lowcode/painter/panel-section/LayoutRatio.js.map +1 -0
- package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +2 -1
- package/es/lowcode/painter/panel-section/PageLayoutDisplay.js.map +1 -0
- package/es/lowcode/painter/panel-section/PageVars.js +2 -1
- package/es/lowcode/painter/panel-section/PageVars.js.map +1 -0
- package/es/lowcode/painter/panel-section/SerialsSelector.js +2 -1
- package/es/lowcode/painter/panel-section/SerialsSelector.js.map +1 -0
- package/es/lowcode/painter/panel-section/SplitDisplay.js +2 -1
- package/es/lowcode/painter/panel-section/SplitDisplay.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/BackGround.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/Border.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/Display.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/DisplaySvg.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/Font.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/Margin.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/Opacity.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/Padding.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/Pointer.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/Shadow.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/Size.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js.map +1 -0
- package/es/lowcode/painter/panel-section/StylePanel/index.js +2 -1
- package/es/lowcode/painter/panel-section/StylePanel/index.js.map +1 -0
- package/es/lowcode/painter/panel-section/TabItems.js +2 -1
- package/es/lowcode/painter/panel-section/TabItems.js.map +1 -0
- package/es/lowcode/painter/panel-section/TableTopFilter.js +2 -1
- package/es/lowcode/painter/panel-section/TableTopFilter.js.map +1 -0
- package/es/lowcode/painter/panel-section/TableZebra.js +2 -1
- package/es/lowcode/painter/panel-section/TableZebra.js.map +1 -0
- package/es/lowcode/painter/panel-section/TextContent.js +2 -1
- package/es/lowcode/painter/panel-section/TextContent.js.map +1 -0
- package/es/lowcode/painter/panel-section/TreeRootEditor.js +2 -1
- package/es/lowcode/painter/panel-section/TreeRootEditor.js.map +1 -0
- package/es/lowcode/painter/panel-section/WidthHeight.js +2 -1
- package/es/lowcode/painter/panel-section/WidthHeight.js.map +1 -0
- package/es/lowcode/painter/services/I18n.js +2 -1
- package/es/lowcode/painter/services/I18n.js.map +1 -0
- package/es/lowcode/painter/services/complexPop.js +2 -1
- package/es/lowcode/painter/services/complexPop.js.map +1 -0
- package/es/lowcode/preview/index.js +2 -1
- package/es/lowcode/preview/index.js.map +1 -0
- package/es/lowcode/view/Canvas.js +2 -1
- package/es/lowcode/view/Canvas.js.map +1 -0
- package/es/lowcode/view/ErrorBoundary.js +17 -15
- package/es/lowcode/view/ErrorBoundary.js.map +1 -0
- package/es/lowcode/view/Loading.js +2 -1
- package/es/lowcode/view/Loading.js.map +1 -0
- package/es/lowcode/view/Page.js +2 -1
- package/es/lowcode/view/Page.js.map +1 -0
- package/es/lowcode/view/index.js +2 -1
- package/es/lowcode/view/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Box/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Box/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Box/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Box/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Box/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Box/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Box/index.js +2 -1
- package/es/lowcode/view/lc-components/Box/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Button/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Button/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Button/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Button/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Button/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Button/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Button/index.js +2 -1
- package/es/lowcode/view/lc-components/Button/index.js.map +1 -0
- package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/CardList/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/CardList/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/CardList/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/CardList/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/CardList/index.js +2 -1
- package/es/lowcode/view/lc-components/CardList/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Dialog/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Dialog/index.js +2 -1
- package/es/lowcode/view/lc-components/Dialog/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Drawer/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Drawer/index.js +2 -1
- package/es/lowcode/view/lc-components/Drawer/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Form/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Form/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Form/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Form/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Form/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Form/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Form/index.js +2 -1
- package/es/lowcode/view/lc-components/Form/index.js.map +1 -0
- package/es/lowcode/view/lc-components/GroupTree/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/GroupTree/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/GroupTree/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/GroupTree/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/GroupTree/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/GroupTree/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/GroupTree/index.js +2 -1
- package/es/lowcode/view/lc-components/GroupTree/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Iframe/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Iframe/index.js +2 -1
- package/es/lowcode/view/lc-components/Iframe/index.js.map +1 -0
- package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/ImEx/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/ImEx/index.js +2 -1
- package/es/lowcode/view/lc-components/ImEx/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Image/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Image/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Image/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Image/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Image/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Image/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Image/index.js +2 -1
- package/es/lowcode/view/lc-components/Image/index.js.map +1 -0
- package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/JSX/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/JSX/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/JSX/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/JSX/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +7 -8
- package/es/lowcode/view/lc-components/JSX/RuntimeComp.js.map +1 -0
- package/es/lowcode/view/lc-components/JSX/index.js +2 -1
- package/es/lowcode/view/lc-components/JSX/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Layout/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Layout/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Layout/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Layout/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Layout/index.js +2 -1
- package/es/lowcode/view/lc-components/Layout/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Link/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Link/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Link/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Link/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Link/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Link/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Link/index.js +2 -1
- package/es/lowcode/view/lc-components/Link/index.js.map +1 -0
- package/es/lowcode/view/lc-components/PageContent/index.js +2 -1
- package/es/lowcode/view/lc-components/PageContent/index.js.map +1 -0
- package/es/lowcode/view/lc-components/PageFooter/index.js +2 -1
- package/es/lowcode/view/lc-components/PageFooter/index.js.map +1 -0
- package/es/lowcode/view/lc-components/PageHeader/index.js +2 -1
- package/es/lowcode/view/lc-components/PageHeader/index.js.map +1 -0
- package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/PageLayout/index.js +2 -1
- package/es/lowcode/view/lc-components/PageLayout/index.js.map +1 -0
- package/es/lowcode/view/lc-components/PageModal/index.js +2 -1
- package/es/lowcode/view/lc-components/PageModal/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Section/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Section/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Section/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Section/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Section/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Section/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Section/index.js +2 -1
- package/es/lowcode/view/lc-components/Section/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Split/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Split/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Split/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Split/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Split/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Split/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Split/index.js +2 -1
- package/es/lowcode/view/lc-components/Split/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Table/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Table/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Table/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Table/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Table/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Table/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Table/components/TopFilter.js +2 -1
- package/es/lowcode/view/lc-components/Table/components/TopFilter.js.map +1 -0
- package/es/lowcode/view/lc-components/Table/components/TopImex.js +2 -1
- package/es/lowcode/view/lc-components/Table/components/TopImex.js.map +1 -0
- package/es/lowcode/view/lc-components/Table/index.js +2 -1
- package/es/lowcode/view/lc-components/Table/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Tabs/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Tabs/index.js +2 -1
- package/es/lowcode/view/lc-components/Tabs/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Text/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Text/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Text/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Text/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Text/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Text/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Text/index.js +2 -1
- package/es/lowcode/view/lc-components/Text/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +2 -1
- package/es/lowcode/view/lc-components/Tree/FunctionDesign.js.map +1 -0
- package/es/lowcode/view/lc-components/Tree/FunctionLive.js +2 -1
- package/es/lowcode/view/lc-components/Tree/FunctionLive.js.map +1 -0
- package/es/lowcode/view/lc-components/Tree/FunctionPreview.js +2 -1
- package/es/lowcode/view/lc-components/Tree/FunctionPreview.js.map +1 -0
- package/es/lowcode/view/lc-components/Tree/index.js +2 -1
- package/es/lowcode/view/lc-components/Tree/index.js.map +1 -0
- package/es/lowcode/view/lc-components/Wrapper.js +2 -1
- package/es/lowcode/view/lc-components/Wrapper.js.map +1 -0
- package/es/services.js +2 -1
- package/es/services.js.map +1 -0
- package/es/upload/FilesWall/index.js +2 -1
- package/es/upload/FilesWall/index.js.map +1 -0
- package/es/upload/Form/gridForm.js +2 -1
- package/es/upload/Form/gridForm.js.map +1 -0
- package/es/upload/Form/index.js +2 -1
- package/es/upload/Form/index.js.map +1 -0
- package/es/upload/FormItem/index.js +2 -1
- package/es/upload/FormItem/index.js.map +1 -0
- package/es/upload/GridCell/index.js +2 -1
- package/es/upload/GridCell/index.js.map +1 -0
- package/es/upload/index.js +2 -1
- package/es/upload/index.js.map +1 -0
- package/es/utils/action.js +2 -1
- package/es/utils/action.js.map +1 -0
- package/es/utils/form.js +2 -1
- package/es/utils/form.js.map +1 -0
- package/es/utils/grid.js +2 -1
- package/es/utils/grid.js.map +1 -0
- package/es/utils/index.js +2 -1
- package/es/utils/index.js.map +1 -0
- package/lib/components/Builder/index.js +2 -1
- package/lib/components/Builder/index.js.map +1 -0
- package/lib/components/ComplexItem/index.js +2 -1
- package/lib/components/ComplexItem/index.js.map +1 -0
- package/lib/components/ComplexItem/service.js +2 -1
- package/lib/components/ComplexItem/service.js.map +1 -0
- package/lib/components/IconFont/index.js +2 -1
- package/lib/components/IconFont/index.js.map +1 -0
- package/lib/components/LDActions/index.js +2 -1
- package/lib/components/LDActions/index.js.map +1 -0
- package/lib/components/LdAutoForm/index.js +2 -1
- package/lib/components/LdAutoForm/index.js.map +1 -0
- package/lib/components/LdCard/index.js +2 -1
- package/lib/components/LdCard/index.js.map +1 -0
- package/lib/components/LdCard/model.js +2 -1
- package/lib/components/LdCard/model.js.map +1 -0
- package/lib/components/LdCom/index.js +2 -1
- package/lib/components/LdCom/index.js.map +1 -0
- package/lib/components/LdFormList/index.js +2 -1
- package/lib/components/LdFormList/index.js.map +1 -0
- package/lib/components/LdFormList/model.js +2 -1
- package/lib/components/LdFormList/model.js.map +1 -0
- package/lib/components/LdGrid/index.js +2 -1
- package/lib/components/LdGrid/index.js.map +1 -0
- package/lib/components/LdGrid/model.js +2 -1
- package/lib/components/LdGrid/model.js.map +1 -0
- package/lib/components/LdGridForm/index.js +2 -1
- package/lib/components/LdGridForm/index.js.map +1 -0
- package/lib/components/LdInfoPanel/index.js +2 -1
- package/lib/components/LdInfoPanel/index.js.map +1 -0
- package/lib/components/LdPop/index.js +2 -1
- package/lib/components/LdPop/index.js.map +1 -0
- package/lib/components/LdTree/index.js +2 -1
- package/lib/components/LdTree/index.js.map +1 -0
- package/lib/helper/FromItems.js +2 -1
- package/lib/helper/FromItems.js.map +1 -0
- package/lib/helper/action.js +2 -1
- package/lib/helper/action.js.map +1 -0
- package/lib/helper/form.js +2 -1
- package/lib/helper/form.js.map +1 -0
- package/lib/helper/ldBuilder.js +2 -1
- package/lib/helper/ldBuilder.js.map +1 -0
- package/lib/helper/ldComBuild.js +2 -1
- package/lib/helper/ldComBuild.js.map +1 -0
- package/lib/helper/props_config.js +2 -1
- package/lib/helper/props_config.js.map +1 -0
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -0
- package/lib/locales/zh-CN.js +2 -1
- package/lib/locales/zh-CN.js.map +1 -0
- package/lib/lowcode/constants/api-url.js +2 -1
- package/lib/lowcode/constants/api-url.js.map +1 -0
- package/lib/lowcode/constants/event-topics.js +2 -1
- package/lib/lowcode/constants/event-topics.js.map +1 -0
- package/lib/lowcode/constants/index.js +2 -1
- package/lib/lowcode/constants/index.js.map +1 -0
- package/lib/lowcode/engine/factory/DataFactory.js +2 -1
- package/lib/lowcode/engine/factory/DataFactory.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/GroupStrategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/NumberStrategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/RadioStrategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js.map +1 -0
- package/lib/lowcode/engine/factory/panel-item-factory/index.js +2 -1
- package/lib/lowcode/engine/factory/panel-item-factory/index.js.map +1 -0
- package/lib/lowcode/engine/launcher.js +2 -1
- package/lib/lowcode/engine/launcher.js.map +1 -0
- package/lib/lowcode/engine/provider/ContextProvider/index.js +2 -1
- package/lib/lowcode/engine/provider/ContextProvider/index.js.map +1 -0
- package/lib/lowcode/engine/provider/ContextProvider/router.js +2 -1
- package/lib/lowcode/engine/provider/ContextProvider/router.js.map +1 -0
- package/lib/lowcode/engine/provider/ContextProvider/usePageDataStore.js +2 -1
- package/lib/lowcode/engine/provider/ContextProvider/usePageDataStore.js.map +1 -0
- package/lib/lowcode/engine/provider/ContextProvider/usePageVar.js +2 -1
- package/lib/lowcode/engine/provider/ContextProvider/usePageVar.js.map +1 -0
- package/lib/lowcode/engine/provider/ContextProvider/useTodo.js +2 -1
- package/lib/lowcode/engine/provider/ContextProvider/useTodo.js.map +1 -0
- package/lib/lowcode/engine/provider/ContextProvider/utils.js +2 -1
- package/lib/lowcode/engine/provider/ContextProvider/utils.js.map +1 -0
- package/lib/lowcode/engine/provider/EventBusProvider.js +2 -1
- package/lib/lowcode/engine/provider/EventBusProvider.js.map +1 -0
- package/lib/lowcode/engine/provider/RemoteSourceProvider.js +2 -1
- package/lib/lowcode/engine/provider/RemoteSourceProvider.js.map +1 -0
- package/lib/lowcode/engine/tools/dataProcess.js +2 -1
- package/lib/lowcode/engine/tools/dataProcess.js.map +1 -0
- package/lib/lowcode/engine/tools/diff.js +2 -1
- package/lib/lowcode/engine/tools/diff.js.map +1 -0
- package/lib/lowcode/engine/tools/helper.js +2 -1
- package/lib/lowcode/engine/tools/helper.js.map +1 -0
- package/lib/lowcode/engine/tools/initDS.js +2 -1
- package/lib/lowcode/engine/tools/initDS.js.map +1 -0
- package/lib/lowcode/engine/tools/useCanvasRender.js +2 -1
- package/lib/lowcode/engine/tools/useCanvasRender.js.map +1 -0
- package/lib/lowcode/engine/tools/useCombinedRefs.js +2 -1
- package/lib/lowcode/engine/tools/useCombinedRefs.js.map +1 -0
- package/lib/lowcode/engine/tools/usePromiseState.js +2 -1
- package/lib/lowcode/engine/tools/usePromiseState.js.map +1 -0
- package/lib/lowcode/index.js +2 -1
- package/lib/lowcode/index.js.map +1 -0
- package/lib/lowcode/painter/Components.js +2 -1
- package/lib/lowcode/painter/Components.js.map +1 -0
- package/lib/lowcode/painter/Design.js +2 -1
- package/lib/lowcode/painter/Design.js.map +1 -0
- package/lib/lowcode/painter/DesignOperator.js +2 -1
- package/lib/lowcode/painter/DesignOperator.js.map +1 -0
- package/lib/lowcode/painter/DesignToolbar.js +2 -1
- package/lib/lowcode/painter/DesignToolbar.js.map +1 -0
- package/lib/lowcode/painter/I18n.js +2 -1
- package/lib/lowcode/painter/I18n.js.map +1 -0
- package/lib/lowcode/painter/Outline.js +2 -1
- package/lib/lowcode/painter/Outline.js.map +1 -0
- package/lib/lowcode/painter/Panel.js +2 -1
- package/lib/lowcode/painter/Panel.js.map +1 -0
- package/lib/lowcode/painter/Ribbon.js +2 -1
- package/lib/lowcode/painter/Ribbon.js.map +1 -0
- package/lib/lowcode/painter/components/ActionBindModal.js +2 -1
- package/lib/lowcode/painter/components/ActionBindModal.js.map +1 -0
- package/lib/lowcode/painter/components/AdvancePanel.js +2 -1
- package/lib/lowcode/painter/components/AdvancePanel.js.map +1 -0
- package/lib/lowcode/painter/components/AttrsPanel.js +2 -1
- package/lib/lowcode/painter/components/AttrsPanel.js.map +1 -0
- package/lib/lowcode/painter/components/Collapse.js +2 -1
- package/lib/lowcode/painter/components/Collapse.js.map +1 -0
- package/lib/lowcode/painter/components/ColorInput.js +2 -1
- package/lib/lowcode/painter/components/ColorInput.js.map +1 -0
- package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +2 -1
- package/lib/lowcode/painter/components/DragDrop/DragDropContext.js.map +1 -0
- package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +2 -1
- package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js.map +1 -0
- package/lib/lowcode/painter/components/DragDrop/Overlay.js +2 -1
- package/lib/lowcode/painter/components/DragDrop/Overlay.js.map +1 -0
- package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +2 -1
- package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js.map +1 -0
- package/lib/lowcode/painter/components/FieldSelector.js +2 -1
- package/lib/lowcode/painter/components/FieldSelector.js.map +1 -0
- package/lib/lowcode/painter/components/ListEditor.js +2 -1
- package/lib/lowcode/painter/components/ListEditor.js.map +1 -0
- package/lib/lowcode/painter/components/NumberInput.js +2 -1
- package/lib/lowcode/painter/components/NumberInput.js.map +1 -0
- package/lib/lowcode/painter/components/PanelItem.js +2 -1
- package/lib/lowcode/painter/components/PanelItem.js.map +1 -0
- package/lib/lowcode/painter/components/PopConfirm.js +2 -1
- package/lib/lowcode/painter/components/PopConfirm.js.map +1 -0
- package/lib/lowcode/painter/components/PopForm.js +2 -1
- package/lib/lowcode/painter/components/PopForm.js.map +1 -0
- package/lib/lowcode/painter/components/PreviewIframe.js +2 -1
- package/lib/lowcode/painter/components/PreviewIframe.js.map +1 -0
- package/lib/lowcode/painter/components/RuleInput.js +2 -1
- package/lib/lowcode/painter/components/RuleInput.js.map +1 -0
- package/lib/lowcode/painter/components/SortBox.js +2 -1
- package/lib/lowcode/painter/components/SortBox.js.map +1 -0
- package/lib/lowcode/painter/components/TipIcon.js +2 -1
- package/lib/lowcode/painter/components/TipIcon.js.map +1 -0
- package/lib/lowcode/painter/components/TreeEditor.js +2 -1
- package/lib/lowcode/painter/components/TreeEditor.js.map +1 -0
- package/lib/lowcode/painter/components/VarEditor.js +2 -1
- package/lib/lowcode/painter/components/VarEditor.js.map +1 -0
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +2 -1
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js.map +1 -0
- package/lib/lowcode/painter/components/code-editor/CssEditor.js +2 -1
- package/lib/lowcode/painter/components/code-editor/CssEditor.js.map +1 -0
- package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +2 -1
- package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js.map +1 -0
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +2 -1
- package/lib/lowcode/painter/components/code-editor/JSEditor.js.map +1 -0
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js +2 -1
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js.map +1 -0
- package/lib/lowcode/painter/components/code-editor/VisionEditor.js +2 -1
- package/lib/lowcode/painter/components/code-editor/VisionEditor.js.map +1 -0
- package/lib/lowcode/painter/components/code-editor/index.js +2 -1
- package/lib/lowcode/painter/components/code-editor/index.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/BatchSetting.js +2 -1
- package/lib/lowcode/painter/components/field-setting/BatchSetting.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js +2 -1
- package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/CheckRules.js +2 -1
- package/lib/lowcode/painter/components/field-setting/CheckRules.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +2 -1
- package/lib/lowcode/painter/components/field-setting/FieldAttrs.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js +2 -1
- package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js +2 -1
- package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +2 -1
- package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/SettingUI.js +2 -1
- package/lib/lowcode/painter/components/field-setting/SettingUI.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/index.js +2 -1
- package/lib/lowcode/painter/components/field-setting/index.js.map +1 -0
- package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +2 -1
- package/lib/lowcode/painter/components/field-setting/meta/frontRules.js.map +1 -0
- package/lib/lowcode/painter/expect.js +2 -1
- package/lib/lowcode/painter/expect.js.map +1 -0
- package/lib/lowcode/painter/index.js +2 -1
- package/lib/lowcode/painter/index.js.map +1 -0
- package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +2 -1
- package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js.map +1 -0
- package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +2 -1
- package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js.map +1 -0
- package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +2 -1
- package/lib/lowcode/painter/panel-section/ActionsEditor/index.js.map +1 -0
- package/lib/lowcode/painter/panel-section/BlockEditor/index.js +2 -1
- package/lib/lowcode/painter/panel-section/BlockEditor/index.js.map +1 -0
- package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +2 -1
- package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js.map +1 -0
- package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +2 -1
- package/lib/lowcode/painter/panel-section/BlocksEditor/index.js.map +1 -0
- package/lib/lowcode/painter/panel-section/ButtonType.js +2 -1
- package/lib/lowcode/painter/panel-section/ButtonType.js.map +1 -0
- package/lib/lowcode/painter/panel-section/ComplexPop.js +2 -1
- package/lib/lowcode/painter/panel-section/ComplexPop.js.map +1 -0
- package/lib/lowcode/painter/panel-section/ComponentSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/ComponentSelector.js.map +1 -0
- package/lib/lowcode/painter/panel-section/DataSetSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/DataSetSelector.js.map +1 -0
- package/lib/lowcode/painter/panel-section/FieldState.js +2 -1
- package/lib/lowcode/painter/panel-section/FieldState.js.map +1 -0
- package/lib/lowcode/painter/panel-section/FieldsSetting.js +2 -1
- package/lib/lowcode/painter/panel-section/FieldsSetting.js.map +1 -0
- package/lib/lowcode/painter/panel-section/GroupClassSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/GroupClassSelector.js.map +1 -0
- package/lib/lowcode/painter/panel-section/I18nInput.js +2 -1
- package/lib/lowcode/painter/panel-section/I18nInput.js.map +1 -0
- package/lib/lowcode/painter/panel-section/Icon.js +2 -1
- package/lib/lowcode/painter/panel-section/Icon.js.map +1 -0
- package/lib/lowcode/painter/panel-section/IconConditionSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/IconConditionSelector.js.map +1 -0
- package/lib/lowcode/painter/panel-section/IconSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/IconSelector.js.map +1 -0
- package/lib/lowcode/painter/panel-section/ImpExp.js +2 -1
- package/lib/lowcode/painter/panel-section/ImpExp.js.map +1 -0
- package/lib/lowcode/painter/panel-section/ImpExpAlone.js +2 -1
- package/lib/lowcode/painter/panel-section/ImpExpAlone.js.map +1 -0
- package/lib/lowcode/painter/panel-section/JSEditor.js +9 -4
- package/lib/lowcode/painter/panel-section/JSEditor.js.map +1 -0
- package/lib/lowcode/painter/panel-section/LayoutRatio.js +2 -1
- package/lib/lowcode/painter/panel-section/LayoutRatio.js.map +1 -0
- package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +2 -1
- package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js.map +1 -0
- package/lib/lowcode/painter/panel-section/PageVars.js +2 -1
- package/lib/lowcode/painter/panel-section/PageVars.js.map +1 -0
- package/lib/lowcode/painter/panel-section/SerialsSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/SerialsSelector.js.map +1 -0
- package/lib/lowcode/painter/panel-section/SplitDisplay.js +2 -1
- package/lib/lowcode/painter/panel-section/SplitDisplay.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/Border.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/Display.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/DisplaySvg.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/Font.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/Margin.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/Padding.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/Size.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js.map +1 -0
- package/lib/lowcode/painter/panel-section/StylePanel/index.js +2 -1
- package/lib/lowcode/painter/panel-section/StylePanel/index.js.map +1 -0
- package/lib/lowcode/painter/panel-section/TabItems.js +2 -1
- package/lib/lowcode/painter/panel-section/TabItems.js.map +1 -0
- package/lib/lowcode/painter/panel-section/TableTopFilter.js +2 -1
- package/lib/lowcode/painter/panel-section/TableTopFilter.js.map +1 -0
- package/lib/lowcode/painter/panel-section/TableZebra.js +2 -1
- package/lib/lowcode/painter/panel-section/TableZebra.js.map +1 -0
- package/lib/lowcode/painter/panel-section/TextContent.js +2 -1
- package/lib/lowcode/painter/panel-section/TextContent.js.map +1 -0
- package/lib/lowcode/painter/panel-section/TreeRootEditor.js +2 -1
- package/lib/lowcode/painter/panel-section/TreeRootEditor.js.map +1 -0
- package/lib/lowcode/painter/panel-section/WidthHeight.js +2 -1
- package/lib/lowcode/painter/panel-section/WidthHeight.js.map +1 -0
- package/lib/lowcode/painter/services/I18n.js +2 -1
- package/lib/lowcode/painter/services/I18n.js.map +1 -0
- package/lib/lowcode/painter/services/complexPop.js +2 -1
- package/lib/lowcode/painter/services/complexPop.js.map +1 -0
- package/lib/lowcode/preview/index.js +2 -1
- package/lib/lowcode/preview/index.js.map +1 -0
- package/lib/lowcode/view/Canvas.js +2 -1
- package/lib/lowcode/view/Canvas.js.map +1 -0
- package/lib/lowcode/view/ErrorBoundary.js +17 -15
- package/lib/lowcode/view/ErrorBoundary.js.map +1 -0
- package/lib/lowcode/view/Loading.js +2 -1
- package/lib/lowcode/view/Loading.js.map +1 -0
- package/lib/lowcode/view/Page.js +2 -1
- package/lib/lowcode/view/Page.js.map +1 -0
- package/lib/lowcode/view/index.js +2 -1
- package/lib/lowcode/view/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Box/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Box/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Box/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Box/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Box/index.js +2 -1
- package/lib/lowcode/view/lc-components/Box/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Button/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Button/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Button/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Button/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Button/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Button/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Button/index.js +2 -1
- package/lib/lowcode/view/lc-components/Button/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/CardList/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/CardList/index.js +2 -1
- package/lib/lowcode/view/lc-components/CardList/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Dialog/index.js +2 -1
- package/lib/lowcode/view/lc-components/Dialog/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Drawer/index.js +2 -1
- package/lib/lowcode/view/lc-components/Drawer/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Form/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Form/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Form/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Form/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Form/index.js +2 -1
- package/lib/lowcode/view/lc-components/Form/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/GroupTree/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/GroupTree/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/GroupTree/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/GroupTree/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/GroupTree/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/GroupTree/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/GroupTree/index.js +2 -1
- package/lib/lowcode/view/lc-components/GroupTree/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Iframe/index.js +2 -1
- package/lib/lowcode/view/lc-components/Iframe/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/ImEx/index.js +2 -1
- package/lib/lowcode/view/lc-components/ImEx/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Image/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Image/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Image/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Image/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Image/index.js +2 -1
- package/lib/lowcode/view/lc-components/Image/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/JSX/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +8 -7
- package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js.map +1 -0
- package/lib/lowcode/view/lc-components/JSX/index.js +2 -1
- package/lib/lowcode/view/lc-components/JSX/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Layout/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Layout/index.js +2 -1
- package/lib/lowcode/view/lc-components/Layout/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Link/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Link/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Link/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Link/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Link/index.js +2 -1
- package/lib/lowcode/view/lc-components/Link/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/PageContent/index.js +2 -1
- package/lib/lowcode/view/lc-components/PageContent/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/PageFooter/index.js +2 -1
- package/lib/lowcode/view/lc-components/PageFooter/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/PageHeader/index.js +2 -1
- package/lib/lowcode/view/lc-components/PageHeader/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/PageLayout/index.js +2 -1
- package/lib/lowcode/view/lc-components/PageLayout/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/PageModal/index.js +2 -1
- package/lib/lowcode/view/lc-components/PageModal/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Section/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Section/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Section/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Section/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Section/index.js +2 -1
- package/lib/lowcode/view/lc-components/Section/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Split/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Split/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Split/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Split/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Split/index.js +2 -1
- package/lib/lowcode/view/lc-components/Split/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Table/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Table/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Table/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Table/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +2 -1
- package/lib/lowcode/view/lc-components/Table/components/TopFilter.js.map +1 -0
- package/lib/lowcode/view/lc-components/Table/components/TopImex.js +2 -1
- package/lib/lowcode/view/lc-components/Table/components/TopImex.js.map +1 -0
- package/lib/lowcode/view/lc-components/Table/index.js +2 -1
- package/lib/lowcode/view/lc-components/Table/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Tabs/index.js +2 -1
- package/lib/lowcode/view/lc-components/Tabs/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Text/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Text/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Text/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Text/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Text/index.js +2 -1
- package/lib/lowcode/view/lc-components/Text/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +2 -1
- package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js.map +1 -0
- package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +2 -1
- package/lib/lowcode/view/lc-components/Tree/FunctionLive.js.map +1 -0
- package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js +2 -1
- package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js.map +1 -0
- package/lib/lowcode/view/lc-components/Tree/index.js +2 -1
- package/lib/lowcode/view/lc-components/Tree/index.js.map +1 -0
- package/lib/lowcode/view/lc-components/Wrapper.js +2 -1
- package/lib/lowcode/view/lc-components/Wrapper.js.map +1 -0
- package/lib/services.js +2 -1
- package/lib/services.js.map +1 -0
- package/lib/upload/FilesWall/index.js +2 -1
- package/lib/upload/FilesWall/index.js.map +1 -0
- package/lib/upload/Form/gridForm.js +2 -1
- package/lib/upload/Form/gridForm.js.map +1 -0
- package/lib/upload/Form/index.js +2 -1
- package/lib/upload/Form/index.js.map +1 -0
- package/lib/upload/FormItem/index.js +2 -1
- package/lib/upload/FormItem/index.js.map +1 -0
- package/lib/upload/GridCell/index.js +2 -1
- package/lib/upload/GridCell/index.js.map +1 -0
- package/lib/upload/index.js +2 -1
- package/lib/upload/index.js.map +1 -0
- package/lib/utils/action.js +2 -1
- package/lib/utils/action.js.map +1 -0
- package/lib/utils/form.js +2 -1
- package/lib/utils/form.js.map +1 -0
- package/lib/utils/grid.js +2 -1
- package/lib/utils/grid.js.map +1 -0
- package/lib/utils/index.js +2 -1
- package/lib/utils/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useCreation","useMemoizedFn","drop","suid","useContext","useGet","addNode","deleteNode","modifyNode","Index","boxDefaultMeta","LayoutFunctionDesign","_ref","children","id","columnRatio","props","_objectWithoutProperties","_excluded","ctx","current","refreshChild","ratioArr","split","length","forEach","boxId","item","index","_current$children","ratio","parseInt","_objectSpread","style","gridColumn","concat","buildIn","$subscriber","topics","COMPONENT_APPEND","once","_ref2","compId","watch","cmid","COMPONENT_MODIFY","on","_ref3","$unsubscriber","createElement","_extends"],"sources":["../../../../../luckda/lowcode/view/lc-components/Layout/FunctionDesign.jsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { useCreation, useMemoizedFn } from 'ahooks';\nimport { drop } from 'lodash';\nimport { suid } from '@luck-design-biz/base/utils';\nimport { useContext, useGet, addNode, deleteNode, modifyNode } from '../../../engine/provider/ContextProvider';\nimport Index from './index';\nimport boxDefaultMeta from '../../../engine/meta/box.props.default.json';\n\nconst LayoutFunctionDesign = ({ children, id, columnRatio, ...props }) => {\n const ctx = useContext();\n const current = useGet({ id })\n\n const refreshChild = useMemoizedFn(() => {\n const ratioArr = columnRatio.split(':');\n drop(current.children, ratioArr.length).forEach((boxId) => {\n deleteNode(boxId);\n });\n ratioArr.forEach((item, index) => {\n const ratio = parseInt(item, 10);\n let boxId = current.children?.[index];\n if (boxId) {\n modifyNode(current.children[index], {\n ...current[boxId].props,\n style: { gridColumn: 'span ' + ratio },\n });\n } else {\n boxId = `box_${suid()}`;\n addNode(id, boxId, {\n ...boxDefaultMeta,\n buildIn: true,\n style: { gridColumn: 'span ' + ratio },\n });\n }\n });\n });\n\n useCreation(() => {\n if (children?.length) return;\n ctx\n .$subscriber(ctx.topics.COMPONENT_APPEND)\n .once(({ id: compId }) => {\n if (compId !== id) return;\n refreshChild();\n })\n .watch();\n }, []);\n\n useEffect(() => {\n const cmid = ctx\n .$subscriber(ctx.topics.COMPONENT_MODIFY)\n .on(({ id: compId }) => {\n if (compId !== id) return;\n refreshChild();\n })\n .watch();\n\n return () => ctx.$unsubscriber(ctx.topics.COMPONENT_MODIFY, cmid);\n }, []);\n\n return (\n <Index id={id} {...props}>\n {children}\n </Index>\n );\n};\n\nexport default LayoutFunctionDesign;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,WAAW,EAAEC,aAAa,QAAQ,QAAQ;AACnD,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,IAAI,QAAQ,6BAA6B;AAClD,SAASC,UAAU,EAAEC,MAAM,EAAEC,OAAO,EAAEC,UAAU,EAAEC,UAAU;AAC5D,OAAOC,KAAK;AACZ,OAAOC,cAAc;AAErB,IAAMC,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAAC,IAAA,EAAgD;EAAA,IAA1CC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,EAAE,GAAAF,IAAA,CAAFE,EAAE;IAAEC,WAAW,GAAAH,IAAA,CAAXG,WAAW;IAAKC,KAAK,GAAAC,wBAAA,CAAAL,IAAA,EAAAM,SAAA;EACjE,IAAMC,GAAG,GAAGf,UAAU,CAAC,CAAC;EACxB,IAAMgB,OAAO,GAAGf,MAAM,CAAC;IAAES,EAAE,EAAFA;EAAG,CAAC,CAAC;EAE9B,IAAMO,YAAY,GAAGpB,aAAa,CAAC,YAAM;IACvC,IAAMqB,QAAQ,GAAGP,WAAW,CAACQ,KAAK,CAAC,GAAG,CAAC;IACvCrB,IAAI,CAACkB,OAAO,CAACP,QAAQ,EAAES,QAAQ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AC,CACDsB,KAAK,CAAC,CAAC;EACZ,CAAC,EAAE,EAAE,CAAC;EAEN5C,SAAS,CAAC,YAAM;IACd,IAAM6C,IAAI,GAAGzB,GAAG,CACbkB,WAAW,CAAClB,GAAG,CAACmB,MAAM,CAACO,gBAAgB,CAAC,CACxCC,EAAE,CAAC,UAAAC,KAAA,EAAoB;MAAA,IAAbL,MAAM,GAAAK,KAAA,CAAVjC,EAAE;MACP,IAAI4B,MAAM,KAAK5B,EAAE,EAAE;MACnBO,YAAY,CAAC,CAAC;IAChB,CAAC,CAAC,CACDsB,KAAK,CAAC,CAAC;IAEV,OAAO;MAAA,OAAMxB,GAAG,CAAC6B,aAAa,CAAC7B,GAAG,CAACmB,MAAM,CAACO,gBAAgB,EAAED,IAAI,CAAC;IAAA;EACnE,CAAC,EAAE,EAAE,CAAC;EAEN,oBACE9C,KAAA,CAAAmD,aAAA,CAACxC,KAAK,EAAAyC,QAAA;IAACpC,EAAE,EAAEA;EAAG,GAAKE,KAAK,GACrBH,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,oBAAoB"}
|
|
@@ -7,4 +7,5 @@ var LayoutFunctionLive = function LayoutFunctionLive(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default LayoutFunctionLive;
|
|
10
|
+
export default LayoutFunctionLive;
|
|
11
|
+
//# sourceMappingURL=FunctionLive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","LayoutFunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Layout/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst LayoutFunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default LayoutFunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAE3F,eAAeF,kBAAkB"}
|
|
@@ -7,4 +7,5 @@ var LayoutFunctionPreview = function LayoutFunctionPreview(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default LayoutFunctionPreview;
|
|
10
|
+
export default LayoutFunctionPreview;
|
|
11
|
+
//# sourceMappingURL=FunctionPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","LayoutFunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Layout/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst LayoutFunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default LayoutFunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAE9F,eAAeF,qBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","useEffect","PropTypes","useMemoizedFn","styled","useContext","Wrapper","styles","omitBadProps","defaultMeta","StyledLayout","div","withConfig","displayName","componentId","props","$css","LCLayout","_ref","id","children","columnSpacing","lineSpacing","style","css","advance","ref","ctx","doAction","events","onMount","onUnmount","getTargetDom","current","createElement","className","_objectSpread","gap","concat","propTypes","string","isRequired","columnRatio","number","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/Layout/index.jsx"],"sourcesContent":["import React, { useRef, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useMemoizedFn } from 'ahooks';\nimport styled from 'styled-components';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport Wrapper from '../Wrapper';\nimport styles from './index.less';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/layout.props.default.json';\n\nconst StyledLayout = styled.div`\n ${(props) => props.$css}\n`;\n\nconst LCLayout = ({ id, children, columnSpacing, lineSpacing, style, css, advance }) => {\n const ref = useRef();\n\n const ctx = useContext();\n\n useEffect(() => {\n ctx.doAction(advance.events.onMount);\n return ()=> ctx.doAction(advance.events.onUnmount);\n }, []);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={id} displayName=\"Layout\" getTargetDom={getTargetDom}>\n <StyledLayout\n ref={ref}\n className={styles['lc-component-layout']}\n style={{ ...style, gap: `${columnSpacing}px ${lineSpacing}px` }}\n $css={css}\n >\n {children}\n </StyledLayout>\n </Wrapper>\n );\n};\n\nLCLayout.propTypes = {\n /**\n * @name 唯一标识\n * @type string\n * @disabled true\n */\n id: PropTypes.string.isRequired,\n /**\n * @name 列比例\n * @type string\n * @default 12:3:9\n */\n columnRatio: PropTypes.string,\n /**\n * @name 列间距\n * @type number\n * @default 16\n */\n columnSpacing: PropTypes.number,\n /**\n * @name 行间距\n * @type number\n * @default 8\n */\n lineSpacing: PropTypes.number,\n};\nLCLayout.defaultProps = omitBadProps(defaultMeta);;\nexport default LCLayout;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAI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AAEA;EAAa,gBAC/DjC,KAAA,CAAAmC,aAAA,CAACxB,YAAY;IACXgB,GAAG,EAAEA,GAAI;IACTS,SAAS,EAAE5B,MAAM,CAAC,qBAAqB,CAAE;IACzCgB,KAAK,EAAAa,aAAA,CAAAA,aAAA,KAAOb,KAAK;MAAEc,GAAG,KAAAC,MAAA,CAAKjB,aAAa,SAAAiB,MAAA,CAAMhB,WAAW;IAAI,EAAG;IAChEN,IAAI,EAAEQ;EAAI,GAETJ,QACW,CACP,CAAC;AAEd,CAAC;AAEDH,QAAQ,CAACsB,SAAS,GAAG;EACnB;AACF;AACA;AACA;AACA;EACEpB,EAAE,EAAEjB,SAAS,CAACsC,MAAM,CAACC,UAAU;EAC/B;AACF;AACA;AACA;AACA;EACEC,WAAW,EAAExC,SAAS,CAACsC,MAAM;EAC7B;AACF;AACA;AACA;AACA;EACEnB,aAAa,EAAEnB,SAAS,CAACyC,MAAM;EAC/B;AACF;AACA;AACA;AACA;EACErB,WAAW,EAAEpB,SAAS,CAACyC;AACzB,CAAC;AACD1B,QAAQ,CAAC2B,YAAY,GAAGpC,YAAY,CAACC,WAAW,CAAC;AAAC;AAClD,eAAeQ,QAAQ"}
|
|
@@ -7,4 +7,5 @@ var FunctionDesign = function FunctionDesign(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionDesign;
|
|
10
|
+
export default FunctionDesign;
|
|
11
|
+
//# sourceMappingURL=FunctionDesign.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionDesign","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Link/FunctionDesign.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionDesign = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionDesign;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAEvF,eAAeF,cAAc"}
|
|
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionLive;
|
|
10
|
+
export default FunctionLive;
|
|
11
|
+
//# sourceMappingURL=FunctionLive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Link/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAErF,eAAeF,YAAY"}
|
|
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionPreview;
|
|
10
|
+
export default FunctionPreview;
|
|
11
|
+
//# sourceMappingURL=FunctionPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Link/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useRef","useMemoizedFn","omitBadProps","defaultMeta","Wrapper","styled","useContext","RUNTIME","StyledLink","a","withConfig","displayName","componentId","props","textOverflow","$css","LCLink","_ref","id","css","onClick","advance","_objectWithoutProperties","_excluded","ref","ctx","doAction","events","onMount","onUnmount","handleClick","e","getTargetDom","current","createElement","_extends","href","concat","url","params","target","isBlank","title","content","runtime","DESIGN","preventDefault","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/Link/index.jsx"],"sourcesContent":["import React, { useEffect, useRef } from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/link.props.default.json';\nimport Wrapper from '../Wrapper';\nimport styled from 'styled-components';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport { RUNTIME } from '../../../constants';\n\nconst StyledLink = styled.a`\n display: ${(props) => props.textOverflow && 'inline-block'};\n max-width: ${(props) => props.textOverflow && '100%'};\n white-space: ${(props) => props.textOverflow && 'nowrap'};\n overflow: ${(props) => props.textOverflow && 'hidden'};\n text-overflow: ${(props) => props.textOverflow && 'ellipsis'};\n ${(props) => props.$css};\n`;\n\nconst LCLink = ({ id, css, onClick, advance, ...props }) => {\n const ref = useRef();\n const ctx = useContext();\n\n useEffect(() => {\n ctx.doAction(advance.events.onMount);\n return () => ctx.doAction(advance.events.onUnmount);\n }, []);\n\n const handleClick = useMemoizedFn((e) => {\n if (onClick) {\n onClick(e);\n return;\n }\n ctx.doAction(advance.events.onClick, { e });\n });\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={id} displayName=\"Link\" getTargetDom={getTargetDom}>\n <StyledLink\n $css={css}\n {...props}\n ref={ref}\n href={`${props.url}?${props.params}`}\n target={props.isBlank ? '_blank' : '_self'}\n title={props.textOverflow && props.content}\n onClick={(e) => {\n handleClick(e);\n ctx.runtime === RUNTIME.DESIGN && e.preventDefault();\n }}\n >\n {props.content}\n </StyledLink>\n </Wrapper>\n );\n};\n\nLCLink.defaultProps = omitBadProps(defaultMeta);\nexport default LCLink;\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChD,SAASC,aAAa,QAAQ,QAAQ;AACtC,SAASC,YAAY;AACrB,OAAOC,WAAW;AAClB,OAAOC,OAAO;AACd,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,UAAU;AACnB,SAASC,OAAO;AAEhB,IAAMC,UAAU,GAAGH,MAAM,CAACI,CAAC,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,4FACd,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,YAAY,IAAI,cAAc;AAAA,GAC7C,UAACD,KAAK;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,EAAC;EAErD,oBACEnC,KAAA,CAAAoC,aAAA,CAAC9B,OAAO;IAACc,EAAE,EAAEA,EAAG;IAACP,WAAW,EAAC,MAAM;IAACqB,YAAY,EAAEA;EAAa,gBAC7DlC,KAAA,CAAAoC,aAAA,CAAC1B,UAAU,EAAA2B,QAAA;IACTpB,IAAI,EAAEI;EAAI,GACNN,KAAK;IACTW,GAAG,EAAEA,GAAI;IACTY,IAAI,KAAAC,MAAA,CAAKxB,KAAK,CAACyB,GAAG,OAAAD,MAAA,CAAIxB,KAAK,CAAC0B,MAAM,CAAG;IACrCC,MAAM,EAAE3B,KAAK,CAAC4B,OAAO,GAAG,QAAQ,GAAG,OAAQ;IAC3CC,KAAK,EAAE7B,KAAK,CAACC,YAAY,IAAID,KAAK,CAAC8B,OAAQ;IAC3CvB,OAAO,EAAE,SAAAA,QAACW,CAAC,EAAK;MACdD,WAAW,CAACC,CAAC,CAAC;MACdN,GAAG,CAACmB,OAAO,KAAKrC,OAAO,CAACsC,MAAM,IAAId,CAAC,CAACe,cAAc,CAAC,CAAC;IACtD;EAAE,IAEDjC,KAAK,CAAC8B,OACG,CACL,CAAC;AAEd,CAAC;AAED3B,MAAM,CAAC+B,YAAY,GAAG7C,YAAY,CAACC,WAAW,CAAC;AAC/C,eAAea,MAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","useMemoizedFn","useCreation","styled","useGet","useCanvasRender","Wrapper","LC_BUILDIN_UNIT_KEY","omitBadProps","parseCSS","defaultMeta","Div","div","withConfig","displayName","componentId","props","$css","PageContent","ref","_useGet","PAGE_CONTENT","concat","PAGE_HEADER","_useGet2","_slicedToArray","pagecontent","enableHeader","headercss","canvas","contentStyle","_parseCSS","headerCss","header","_h","height","width","minHeight","getTargetDom","current","createElement","id","css","style","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageContent/index.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { useMemoizedFn, useCreation } from 'ahooks';\nimport styled from 'styled-components';\nimport { useGet } from '../../../engine/provider/ContextProvider';\nimport useCanvasRender from '../../../engine/tools/useCanvasRender';\nimport Wrapper from '../Wrapper';\nimport { LC_BUILDIN_UNIT_KEY } from '../../../constants';\nimport { omitBadProps, parseCSS } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/pagecontent.props.default.json';\n\nconst Div = styled.div`\n ${(props) => props.$css}\n`;\n\nconst PageContent = () => {\n const ref = useRef();\n const [pagecontent, enableHeader, headercss] = useGet([\n LC_BUILDIN_UNIT_KEY.PAGE_CONTENT,\n 'props.enableHeader',\n `${LC_BUILDIN_UNIT_KEY.PAGE_HEADER}.props.css`,\n ]);\n const canvas = useCanvasRender(pagecontent);\n\n const contentStyle = useCreation(() => {\n if (enableHeader) {\n const { header: headerCss } = parseCSS(`header{${headercss}}`);\n const _h = `calc(100% - ${headerCss.height || '0px'} - ${headerCss['margin-bottom'] || '0px'\n } - ${headerCss['margin-top'] || '0px'})`;\n return { width: '100%', height: 'auto', minHeight: _h };\n }\n return { width: '100%', height: '100%' };\n }, [enableHeader, headercss]);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return pagecontent ? (\n <Wrapper\n id={LC_BUILDIN_UNIT_KEY.PAGE_CONTENT}\n displayName=\"PageContent\"\n getTargetDom={getTargetDom}\n >\n <Div ref={ref} $css={pagecontent.props.css} style={contentStyle}>\n {canvas}\n </Div>\n </Wrapper>\n ) : null;\n};\n\nPageContent.defaultProps = omitBadProps(defaultMeta);\nexport default PageContent;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,aAAa,EAAEC,WAAW,QAAQ,QAAQ;AACnD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,MAAM;AACf,OAAOC,eAAe;AACtB,OAAOC,OAAO;AACd,SAASC,mBAAmB;AAC5B,SAASC,YAAY,EAAEC,QAAQ;AAC/B,OAAOC,WAAW;AAElB,IAAMC,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A,EAAC;EAErD,OAAOb,WAAW,gBAChB3B,KAAA,CAAAyC,aAAA,CAAClC,OAAO;IACNmC,EAAE,EAAElC,mBAAmB,CAACc,YAAa;IACrCP,WAAW,EAAC,aAAa;IACzBwB,YAAY,EAAEA;EAAa,gBAE3BvC,KAAA,CAAAyC,aAAA,CAAC7B,GAAG;IAACQ,GAAG,EAAEA,GAAI;IAACF,IAAI,EAAES,WAAW,CAACV,KAAK,CAAC0B,GAAI;IAACC,KAAK,EAAEb;EAAa,GAC7DD,MACE,CACE,CAAC,GACR,IAAI;AACV,CAAC;AAEDX,WAAW,CAAC0B,YAAY,GAAGpC,YAAY,CAACE,WAAW,CAAC;AACpD,eAAeQ,WAAW"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","useMemoizedFn","styled","useGet","useCanvasRender","Wrapper","LC_BUILDIN_UNIT_KEY","omitBadProps","defaultMeta","Div","div","withConfig","displayName","componentId","props","$css","PageFooter","ref","pagefoot","PAGE_FOOTER","canvas","getTargetDom","current","createElement","id","css","style","width","height","background","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageFooter/index.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport styled from 'styled-components';\nimport { useGet } from '../../../engine/provider/ContextProvider';\nimport useCanvasRender from '../../../engine/tools/useCanvasRender';\nimport Wrapper from '../Wrapper';\nimport { LC_BUILDIN_UNIT_KEY } from '../../../constants';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/pagefooter.props.default.json';\n\nconst Div = styled.div`\n ${(props) => props.$css}\n`;\n\nconst PageFooter = () => {\n const ref = useRef();\n const pagefoot = useGet(LC_BUILDIN_UNIT_KEY.PAGE_FOOTER);\n const canvas = useCanvasRender(pagefoot);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={LC_BUILDIN_UNIT_KEY.PAGE_FOOTER} displayName=\"PageFooter\" getTargetDom={getTargetDom}>\n <Div\n ref={ref}\n $css={pagefoot.props.css}\n style={{ width: '100%', height: 80, background: '#69c0ff' }}\n >\n {canvas}\n </Div>\n </Wrapper>\n );\n};\n\nPageFooter.defaultProps = omitBadProps(defaultMeta);\nexport default PageFooter;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,aAAa,QAAQ,QAAQ;AACtC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,MAAM;AACf,OAAOC,eAAe;AACtB,OAAOC,OAAO;AACd,SAASC,mBAAmB;AAC5B,SAASC,YAAY;AACrB,OAAOC,WAAW;AAElB,IAAMC,GAAG,GAAGP,MAAM,CAACQ,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAClB,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAA,EAAS;EACvB,IAAMC,GAAG,GAAGjB,MAAM,CAAC,CAAC;EACpB,IAAMkB,QAAQ,GAAGf,MAAM,CAACG,mBAAmB,CAACa,WAAW,CAAC;EACxD,IAAMC,MAAM,GAAGhB,eAAe,CAACc,QAAQ,CAAC;EAExC,IAAMG,YAAY,GAAGpB,aAAa,CAAC;IAAA,OAAMgB,GAAG,CAACK,OAAO;EAAA,EAAC;EAErD,oBACEvB,KAAA,CAAAwB,aAAA,CAAClB,OAAO;IAACmB,EAAE,EAAElB,mBAAmB,CAACa,WAAY;IAACP,WAAW,EAAC,YAAY;IAACS,YAAY,EAAEA;EAAa,gBAChGtB,KAAA,CAAAwB,aAAA,CAACd,GAAG;IACFQ,GAAG,EAAEA,GAAI;IACTF,IAAI,EAAEG,QAAQ,CAACJ,KAAK,CAACW,GAAI;IACzBC,KAAK,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE,EAAE;MAAEC,UAAU,EAAE;IAAU;EAAE,GAE3DT,MACE,CACE,CAAC;AAEd,CAAC;AAEDJ,UAAU,CAACc,YAAY,GAAGvB,YAAY,CAACC,WAAW,CAAC;AACnD,eAAeQ,UAAU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","useMemoizedFn","styled","useGet","useCanvasRender","Wrapper","LC_BUILDIN_UNIT_KEY","omitBadProps","defaultMeta","Div","div","withConfig","displayName","componentId","props","$css","PageHeader","ref","_useGet","PAGE_HEADER","_useGet2","_slicedToArray","pageheader","fixed","canvas","getTargetDom","current","createElement","id","css","style","position","top","zIndex","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageHeader/index.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport styled from 'styled-components';\nimport { useGet } from '../../../engine/provider/ContextProvider';\nimport useCanvasRender from '../../../engine/tools/useCanvasRender';\nimport Wrapper from '../Wrapper';\nimport { LC_BUILDIN_UNIT_KEY } from '../../../constants';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/pageheader.props.default.json';\n\nconst Div = styled.div`\n ${(props) => props.$css}\n`;\n\nconst PageHeader = () => {\n const ref = useRef();\n const [pageheader, fixed] = useGet([LC_BUILDIN_UNIT_KEY.PAGE_HEADER, 'props.fixedHeader']);\n const canvas = useCanvasRender(pageheader);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={LC_BUILDIN_UNIT_KEY.PAGE_HEADER} displayName=\"PageHeader\" getTargetDom={getTargetDom}>\n <Div\n ref={ref}\n $css={pageheader.props.css}\n style={fixed ? { position: 'sticky', top: 0, zIndex: 10 } : null}\n >\n {canvas}\n </Div>\n </Wrapper>\n );\n};\n\nPageHeader.defaultProps = omitBadProps(defaultMeta);\nexport default PageHeader;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,aAAa,QAAQ,QAAQ;A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
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useCreation","useMemoizedFn","suid","useContext","useGet","addNode","clearChildren","Index","boxDefaultMeta","FunctionDesign","_ref","children","id","display","props","_objectWithoutProperties","_excluded","ctx","current","refreshChild","ratioArr","split","prevChildren","i","_box$children","_box","push","length","forEach","_","_boxId","concat","_objectSpread","buildIn","style","width","height","$subscriber","topics","COMPONENT_APPEND","once","_ref2","compId","watch","cmid","COMPONENT_MODIFY","on","_ref3","newValue","hasOwnProperty","$unsubscriber","createElement","_extends"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageLayout/FunctionDesign.jsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { useCreation, useMemoizedFn } from 'ahooks';\nimport { suid } from '@luck-design-biz/base/utils';\nimport {\n useContext,\n useGet,\n addNode,\n clearChildren,\n} from '../../../engine/provider/ContextProvider';\nimport Index from './index';\nimport boxDefaultMeta from '../../../engine/meta/box.props.default.json';\n\nconst FunctionDesign = ({ children, id, display, ...props }) => {\n const ctx = useContext();\n const current = useGet({ id });\n\n const refreshChild = useMemoizedFn(() => {\n const ratioArr = display.split('');\n const prevChildren = [];\n for (let i in current.children) {\n const _box = current[current.children[i]];\n if (_box?.children?.[0]) {\n prevChildren.push([_box.children[0], _box[_box.children[0]].props]);\n }\n if (i === ratioArr.length - 1) break;\n }\n clearChildren(id);\n ratioArr.forEach((_, i) => {\n const _boxId = `box_${suid()}`;\n addNode(id, _boxId, {\n ...boxDefaultMeta,\n buildIn: true,\n style: { width: 'calc(100% - 32px)', height: 'calc(100% - 32px)' },\n });\n if (prevChildren[i]) {\n addNode(_boxId, prevChildren[i][0], prevChildren[i][1]);\n }\n });\n });\n\n useCreation(() => {\n if (children?.length) return;\n ctx\n .$subscriber(ctx.topics.COMPONENT_APPEND)\n .once(({ id: compId }) => {\n if (compId !== id) return;\n refreshChild();\n })\n .watch();\n }, []);\n\n useEffect(() => {\n const cmid = ctx\n .$subscriber(ctx.topics.COMPONENT_MODIFY)\n .on(({ id: compId, newValue }) => {\n if (compId !== id) return;\n if (newValue.hasOwnProperty('display')) {\n refreshChild();\n }\n })\n .watch();\n\n return () => ctx.$unsubscriber(ctx.topics.COMPONENT_MODIFY, cmid);\n }, []);\n\n return (\n <Index id={id} display={display} {...props}>\n {children}\n </Index>\n );\n};\n\nexport default FunctionDesign;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,WAAW,EAAEC,aAAa,QAAQ,QAAQ;AACnD,SAASC,IAAI,QAAQ,6BAA6B;AAClD,SACEC,UAAU,EACVC,MAAM,EACNC,OAAO,EACPC,aAAa;AAEf,OAAOC,KAAK;AACZ,OAAOC,cAAc;AAErB,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAA4C;EAAA,IAAtCC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,EAAE,GAAAF,IAAA,CAAFE,EAAE;IAAEC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IAAKC,KAAK,GAAAC,wBAAA,CAAAL,IAAA,EAAAM,SAAA;EACvD,IAAMC,GAAG,GAAGd,UAAU,CAAC,CAAC;EACxB,IAAMe,OAAO,GAAGd,MAAM,CAAC;IAAEQ,EAAE,EAAFA;EAAG,CAAC,CAAC;EAE9B,IAAMO,YAAY,GAAGlB,aAAa,CAAC,YAAM;IACvC,IAAMmB,QAAQ,GAAGP,OAAO,CAACQ,KAAK,CAAC,EAAE,CAAC;IAClC,IAAMC,YAAY,GAAG,EAAE;IACvB,KAAK,IAAIC,CAAC,IAAIL,OAAO,CAACP,QAAQ,EAAE;MAAA,IAAAa,aAAA;MAC9B,IAAMC,IAAI,GAAGP,OAAO,CAACA,OAAO,CAACP,QAAQ,CAACY,CAAC,CAAC,CAAC;MACzC,IAAIE,IAAI,aAAJA,IAAI,gBAAAD,aAAA,GAAJC,IAAI,CAAEd,QAAQ,cAAAa,aAAA,eAAdA,aAAA,C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AS,CAAC,YAAM;IACd,IAAM6C,IAAI,GAAG3B,GAAG,CACboB,WAAW,CAACpB,GAAG,CAACqB,MAAM,CAACO,gBAAgB,CAAC,CACxCC,EAAE,CAAC,UAAAC,KAAA,EAA8B;MAAA,IAAvBL,MAAM,GAAAK,KAAA,CAAVnC,EAAE;QAAUoC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;MACzB,IAAIN,MAAM,KAAK9B,EAAE,EAAE;MACnB,IAAIoC,QAAQ,CAACC,cAAc,CAAC,SAAS,CAAC,EAAE;QACtC9B,YAAY,CAAC,CAAC;MAChB;IACF,CAAC,CAAC,CACDwB,KAAK,CAAC,CAAC;IAEV,OAAO;MAAA,OAAM1B,GAAG,CAACiC,aAAa,CAACjC,GAAG,CAACqB,MAAM,CAACO,gBAAgB,EAAED,IAAI,CAAC;IAAA;EACnE,CAAC,EAAE,EAAE,CAAC;EAEN,oBACE9C,KAAA,CAAAqD,aAAA,CAAC5C,KAAK,EAAA6C,QAAA;IAACxC,EAAE,EAAEA,EAAG;IAACC,OAAO,EAAEA;EAAQ,GAAKC,KAAK,GACvCH,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,cAAc"}
|
|
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionLive;
|
|
10
|
+
export default FunctionLive;
|
|
11
|
+
//# sourceMappingURL=FunctionLive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageLayout/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAErF,eAAeF,YAAY"}
|
|
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionPreview;
|
|
10
|
+
export default FunctionPreview;
|
|
11
|
+
//# sourceMappingURL=FunctionPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageLayout/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
|
|
@@ -38,4 +38,5 @@ var LCPageLayout = function LCPageLayout(_ref) {
|
|
|
38
38
|
}, children === null || children === void 0 ? void 0 : children[1], children === null || children === void 0 ? void 0 : children[2])) : null)]));
|
|
39
39
|
};
|
|
40
40
|
LCPageLayout.defaultProps = omitBadProps(defaultMeta);
|
|
41
|
-
export default LCPageLayout;
|
|
41
|
+
export default LCPageLayout;
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","useMemoizedFn","styled","Layout","MemorySplit","Wrapper","omitBadProps","defaultMeta","StyledLayout","withConfig","displayName","componentId","props","$css","LCPageLayout","_ref","id","children","css","display","height","width","ref","getTargetDom","current","createElement","wrapperRef","Main","length","split","Sider","Fragment","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageLayout/index.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport styled from 'styled-components';\nimport { Layout, MemorySplit } from '@luck-design-biz/base';\nimport Wrapper from '../Wrapper';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/pagelayout.props.default.json';\n\nconst StyledLayout = styled(Layout)`\n ${(props) => props.$css}\n`;\n\nconst LCPageLayout = ({ id, children, css, display, height, width }) => {\n const ref = useRef();\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={id} displayName=\"PageLayout\" getTargetDom={getTargetDom}>\n <StyledLayout wrapperRef={ref} $css={css} height={height} width={width}>\n {display === 'tb' ? (\n <Layout.Main>\n {children?.length === display.split('').length ? (\n <MemorySplit split=\"horizontal\">{children}</MemorySplit>\n ) : null}\n </Layout.Main>\n ) : (\n [\n <Layout.Sider>{children?.[0]}</Layout.Sider>,\n <Layout.Main>\n {children?.length === display.split('').length ? (\n <>\n {display === 'lr' ? (\n children?.[1]\n ) : (\n <MemorySplit split={display === 'ltb' ? 'horizontal' : 'vertical'}>\n {children?.[1]}\n {children?.[2]}\n </MemorySplit>\n )}\n </>\n ) : null}\n </Layout.Main>,\n ]\n )}\n </StyledLayout>\n </Wrapper>\n );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ACT,CAAAV,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEW,MAAM,MAAKT,OAAO,CAACU,KAAK,CAAC,EAAE,CAAC,CAACD,MAAM,gBAC5C7B,KAAA,CAAA0B,aAAA,CAACrB,WAAW;IAACyB,KAAK,EAAC;EAAY,GAAEZ,QAAsB,CAAC,GACtD,IACO,CAAC,GAEd,cACElB,KAAA,CAAA0B,aAAA,CAACtB,MAAM,CAAC2B,KAAK,QAAEb,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAG,CAAC,CAAgB,CAAC,eAC5ClB,KAAA,CAAA0B,aAAA,CAACtB,MAAM,CAACwB,IAAI,QACT,CAAAV,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEW,MAAM,MAAKT,OAAO,CAACU,KAAK,CAAC,EAAE,CAAC,CAACD,MAAM,gBAC5C7B,KAAA,CAAA0B,aAAA,CAAA1B,KAAA,CAAAgC,QAAA,QACGZ,OAAO,KAAK,IAAI,GACfF,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAG,CAAC,CAAC,gBAEblB,KAAA,CAAA0B,aAAA,CAACrB,WAAW;IAACyB,KAAK,EAAEV,OAAO,KAAK,KAAK,GAAG,YAAY,GAAG;EAAW,GAC/DF,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAG,CAAC,CAAC,EACbA,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAG,CAAC,CACF,CAEf,CAAC,GACD,IACO,CAAC,CAGN,CACP,CAAC;AAEd,CAAC;AAEDH,YAAY,CAACkB,YAAY,GAAG1B,YAAY,CAACC,WAAW,CAAC;AACrD,eAAeO,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["reduce","useGet","useCanvasRender","LC_BUILDIN_UNIT_KEY_LIST","PageModal","pagemodal","pagedata","children","result","childId","includes","push"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageModal/index.jsx"],"sourcesContent":["import { reduce } from 'lodash';\nimport { useGet } from '../../../engine/provider/ContextProvider';\nimport useCanvasRender from '../../../engine/tools/useCanvasRender';\nimport { LC_BUILDIN_UNIT_KEY_LIST } from '../../../constants';\n\nconst PageModal = () => {\n const pagemodal = useGet((pagedata)=> {\n return reduce(pagedata?.children, (result, childId)=> {\n if (!LC_BUILDIN_UNIT_KEY_LIST.includes(childId)) {\n result[childId] = pagedata[childId];\n if (!result.children) {\n result.children = [];\n }\n result.children.push(childId);\n }\n return result;\n }, {})\n });\n\n return useCanvasRender(pagemodal);\n};\n\nexport default PageModal;\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAC/B,SAASC,MAAM;AACf,OAAOC,eAAe;AACtB,SAASC,wBAAwB;AAEjC,IAAMC,SAAS,GAAG,SAAZA,SAASA,CAAA,EAAS;EACtB,IAAMC,SAAS,GAAGJ,MAAM,CAAC,UAACK,QAAQ,EAAI;IACpC,OAAON,MAAM,CAACM,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEC,QAAQ,EAAE,UAACC,MAAM,EAAEC,OAAO,EAAI;MACpD,IAAI,CAACN,wBAAwB,CAACO,QAAQ,CAACD,OAAO,CAAC,EAAE;QAC/CD,MAAM,CAACC,OAAO,CAAC,GAAGH,QAAQ,CAACG,OAAO,CAAC;QACnC,IAAI,CAACD,MAAM,CAACD,QAAQ,EAAE;UACpBC,MAAM,CAACD,QAAQ,GAAG,EAAE;QACtB;QACAC,MAAM,CAACD,QAAQ,CAACI,IAAI,CAACF,OAAO,CAAC;MAC/B;MACA,OAAOD,MAAM;IACf,CAAC,EAAE,CAAC,CAAC,CAAC;EACR,CAAC,CAAC;EAEF,OAAON,eAAe,CAACG,SAAS,CAAC;AACnC,CAAC;AAED,eAAeD,SAAS"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","useCreation","suid","useContext","addNode","add","boxDefaultMeta","FunctionDesign","_ref","children","id","props","_objectWithoutProperties","_excluded","ctx","length","$subscriber","topics","COMPONENT_APPEND","once","_ref2","compId","boxId","concat","_objectSpread","buildIn","watch","createElement","_extends"],"sources":["../../../../../luckda/lowcode/view/lc-components/Section/FunctionDesign.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\nimport { useCreation } from 'ahooks';\nimport { suid } from '@luck-design-biz/base/utils';\nimport { useContext, addNode } from '../../../engine/provider/ContextProvider';\nimport { add } from '../../../engine/tools/dataProcess';\nimport boxDefaultMeta from '../../../engine/meta/box.props.default.json';\n\nconst FunctionDesign = ({ children, id, ...props }) => {\n const ctx = useContext();\n\n useCreation(() => {\n if (children?.length) return;\n ctx\n .$subscriber(ctx.topics.COMPONENT_APPEND)\n .once(({ id: compId }) => {\n if (compId !== id) return;\n const boxId = `box_${suid()}`;\n addNode(id, boxId, {\n ...boxDefaultMeta,\n buildIn: true,\n });\n })\n .watch();\n }, []);\n\n return (\n <Index id={id} {...props}>\n {children}\n </Index>\n );\n};\n\nexport default FunctionDesign;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AACZ,SAASC,WAAW,QAAQ,QAAQ;AACpC,SAASC,IAAI,QAAQ,6BAA6B;AAClD,SAASC,UAAU,EAAEC,OAAO;AAC5B,SAASC,GAAG;AACZ,OAAOC,cAAc;AAErB,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAAmC;EAAA,IAA7BC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,EAAE,GAAAF,IAAA,CAAFE,EAAE;IAAKC,KAAK,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EAC9C,IAAMC,GAAG,GAAGX,UAAU,CAAC,CAAC;EAExBF,WAAW,CAAC,YAAM;IAChB,IAAIQ,QAAQ,aAARA,QAAQ,eAARA,QAAQ,CAAEM,MAAM,EAAE;IACtBD,GAAG,CACAE,WAAW,CAACF,GAAG,CAACG,MAAM,CAACC,gBAAgB,CAAC,CACxCC,IAAI,CAAC,UAAAC,KAAA,EAAoB;MAAA,IAAbC,MAAM,GAAAD,KAAA,CAAVV,EAAE;MACT,IAAIW,MAAM,KAAKX,EAAE,EAAE;MACnB,IAAMY,KAAK,UAAAC,MAAA,CAAUrB,IAAI,CAAC,CAAC,CAAE;MAC7BE,OAAO,CAACM,EAAE,EAAEY,KAAK,EAAAE,aAAA,CAAAA,aAAA,KACZlB,cAAc;QACjBmB,OAAO,EAAE;MAAI,EACd,CAAC;IACJ,CAAC,CAAC,CACDC,KAAK,CAAC,CAAC;EACZ,CAAC,EAAE,EAAE,CAAC;EAEN,oBACE3B,KAAA,CAAA4B,aAAA,CAAC3B,KAAK,EAAA4B,QAAA;IAAClB,EAAE,EAAEA;EAAG,GAAKC,KAAK,GACrBF,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,cAAc"}
|
|
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionLive;
|
|
10
|
+
export default FunctionLive;
|
|
11
|
+
//# sourceMappingURL=FunctionLive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Section/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAErF,eAAeF,YAAY"}
|
|
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionPreview;
|
|
10
|
+
export default FunctionPreview;
|
|
11
|
+
//# sourceMappingURL=FunctionPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Section/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","useEffect","findDOMNode","useMemoizedFn","useCreation","styled","classNames","Collapse","Icon","Tooltip","useContext","IconFont","RuntimeComp","omitBadProps","defaultMeta","Wrapper","styles","StyledCollapse","withConfig","displayName","componentId","props","$css","StyledPanel","Panel","padding","HeaderWrapper","div","Header","_ref","title","icon","tooltip","subtitle","createElement","type","style","marginRight","fontSize","color","theme","margin","LCSection","_ref2","id","children","collapse","iconFont","extra","simple","destroyInactivePanel","css","advance","ref","ctx","_useCreation","_collapseProps","defaultActiveKey","_panelProps","activeKey","showArrow","doAction","events","onMount","onUnmount","getTargetDom","current","_extends","bordered","className","_defineProperty","header","key","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/Section/index.jsx"],"sourcesContent":["import React, { useRef, useEffect } from 'react';\nimport { findDOMNode } from 'react-dom';\nimport { useMemoizedFn, useCreation } from 'ahooks';\nimport styled from 'styled-components';\nimport classNames from 'classnames';\nimport { Collapse, Icon, Tooltip } from 'luck-design/antd';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport IconFont from '../../../../components/IconFont';\nimport RuntimeComp from '../JSX/RuntimeComp';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/section.props.default.json';\nimport Wrapper from '../Wrapper';\nimport styles from './index.less';\n\nconst StyledCollapse = styled(Collapse)`\n ${(props) => props.$css}\n`;\n\nconst StyledPanel = styled(Collapse.Panel)`\n .ant-collapse-content-box {\n ${(props) => (!props.padding ? 'padding: 0' : void 0)}\n }\n`;\n\nconst HeaderWrapper = styled.div`\n width: auto;\n display: inline-flex;\n align-items: center;\n`;\n\nconst Header = ({ title, icon, tooltip, subtitle }) => {\n return (\n <HeaderWrapper>\n {icon ? (\n <IconFont type={icon} style={{ marginRight: 8, fontSize: 14, color: '#878f95' }} />\n ) : null}\n {title}\n {tooltip ? (\n <Tooltip title={tooltip}>\n <Icon\n type=\"info-circle\"\n theme=\"filled\"\n style={{ margin: '0 8px', fontSize: 14, color: 'var(--ant-primary-color)' }}\n />\n </Tooltip>\n ) : null}\n {subtitle ? <RuntimeComp>{subtitle}</RuntimeComp> : null}\n </HeaderWrapper>\n );\n};\n\nconst LCSection = ({\n id,\n children,\n collapse,\n title,\n iconFont,\n tooltip,\n subtitle,\n extra,\n simple,\n destroyInactivePanel,\n padding,\n css,\n advance,\n}) => {\n const ref = useRef();\n const ctx = useContext();\n\n const { _collapseProps, _panelProps } = useCreation(() => {\n if (collapse) {\n return {\n _collapseProps: {\n defaultActiveKey: [id],\n },\n _panelProps: {},\n };\n }\n return {\n _collapseProps: {\n activeKey: [id],\n },\n _panelProps: {\n showArrow: false,\n },\n };\n }, [collapse]);\n\n useEffect(() => {\n ctx.doAction(advance.events.onMount);\n return () => {\n ctx.doAction(advance.events.onUnmount);\n };\n }, []);\n\n const getTargetDom = useMemoizedFn(() => findDOMNode(ref.current));\n\n return (\n <Wrapper id={id} displayName=\"Section\" getTargetDom={getTargetDom}>\n <StyledCollapse\n ref={ref}\n bordered={!simple}\n className={classNames(styles['lc-component-Section'], {\n [styles['simple-theme']]: simple,\n })}\n destroyInactivePanel={destroyInactivePanel}\n $css={css}\n {..._collapseProps}\n >\n <StyledPanel\n header={<Header title={title} icon={iconFont} tooltip={tooltip} subtitle={subtitle} />}\n key={id}\n extra={extra ? <RuntimeComp>{extra}</RuntimeComp> : null}\n padding={padding}\n {..._panelProps}\n >\n {children}\n </StyledPanel>\n </StyledCollapse>\n </Wrapper>\n );\n};\n\nLCSection.defaultProps = omitBadProps(defaultMeta);\nexport default LCSection;\n"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AAChD,SAASC,WAAW,QAAQ,WAAW;AACvC,SAASC,aAAa,EAAEC,WAAW,QAAQ,QAAQ;AACnD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,QAAQ,EAAEC,IAAI,EAAEC,OAAO,QAAQ,kBAAkB;AAC1D,SAASC,UAAU;AACnB,OAAOC,QAAQ;AACf,OAAOC,WAAW;AAClB,SAASC,YAAY;AACrB,OAAOC,WAAW;AAClB,OAAOC,OAAO;AACd,OAAOC,MAAM;AAEb,IAAMC,cAAc,GAAGZ,MAAM,CAACE,QAAQ,CAAC,CAAAW,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aACnC,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,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","useCreation","useMemoizedFn","suid","drop","useContext","useGet","addNode","deleteNode","Index","boxDefaultMeta","FunctionDesign","_ref","children","id","display","props","_objectWithoutProperties","_excluded","ctx","current","refreshChild","_current$children","ratioArr","ratio","split","length","forEach","boxId","_","index","_current$children2","concat","_objectSpread","buildIn","$subscriber","topics","COMPONENT_APPEND","once","_ref2","compId","watch","cmid","COMPONENT_MODIFY","on","_ref3","newValue","hasOwnProperty","$unsubscriber","createElement","_extends"],"sources":["../../../../../luckda/lowcode/view/lc-components/Split/FunctionDesign.jsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { useCreation, useMemoizedFn } from 'ahooks';\nimport { suid } from '@luck-design-biz/base/utils';\nimport { drop } from 'lodash';\nimport { useContext, useGet, addNode, deleteNode } from '../../../engine/provider/ContextProvider';\nimport Index from './index';\nimport boxDefaultMeta from '../../../engine/meta/box.props.default.json';\n\nconst FunctionDesign = ({ children, id, display, ...props }) => {\n const ctx = useContext();\n const current = useGet({ id });\n\n const refreshChild = useMemoizedFn(() => {\n const ratioArr = display.ratio.split(':');\n if (ratioArr.length === current.children?.length) return;\n drop(current.children, ratioArr.length).forEach((boxId) => {\n deleteNode(boxId);\n });\n ratioArr.forEach((_, index) => {\n if (!current.children?.[index]) {\n addNode(id, `box_${suid()}`, { ...boxDefaultMeta, buildIn: true });\n }\n });\n });\n\n useCreation(() => {\n if (children?.length) return;\n ctx\n .$subscriber(ctx.topics.COMPONENT_APPEND)\n .once(({ id: compId }) => {\n if (compId !== id) return;\n refreshChild();\n })\n .watch();\n }, []);\n\n useEffect(() => {\n const cmid = ctx\n .$subscriber(ctx.topics.COMPONENT_MODIFY)\n .on(({ id: compId, newValue }) => {\n if (compId !== id) return;\n if (newValue.hasOwnProperty('display')) {\n refreshChild();\n }\n })\n .watch();\n\n return () => ctx.$unsubscriber(ctx.topics.COMPONENT_MODIFY, cmid);\n }, []);\n\n return (\n <Index id={id} display={display} {...props}>\n {children}\n </Index>\n );\n};\n\nexport default FunctionDes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,QAAA;IAACpC,EAAE,EAAEA,EAAG;IAACC,OAAO,EAAEA;EAAQ,GAAKC,KAAK,GACvCH,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,cAAc"}
|
|
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionLive;
|
|
10
|
+
export default FunctionLive;
|
|
11
|
+
//# sourceMappingURL=FunctionLive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Split/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAErF,eAAeF,YAAY"}
|
|
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionPreview;
|
|
10
|
+
export default FunctionPreview;
|
|
11
|
+
//# sourceMappingURL=FunctionPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Split/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","useEffect","useMemoizedFn","useCreation","styled","sum","MemorySplit","useContext","Wrapper","omitBadProps","defaultMeta","_MAPPING_","left","up","right","down","Div","div","withConfig","displayName","componentId","props","$css","LCSplit","_ref","id","children","css","display","advance","ref","ctx","doAction","events","onMount","onUnmount","getTargetDom","current","_useCreation","arr","ratio","split","map","r","parseInt","ratioArr","total","handleChange","value","onChange","createElement","i","Pane","fastTo","length","initialSize","concat","key","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/Split/index.jsx"],"sourcesContent":["import React, { useRef, useEffect } from 'react';\nimport { useMemoizedFn, useCreation } from 'ahooks';\nimport styled from 'styled-components';\nimport { sum } from 'lodash';\nimport { MemorySplit } from '@luck-design-biz/base';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport Wrapper from '../Wrapper';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/split.props.default.json';\n\nconst _MAPPING_ = {\n left: 'min',\n up: 'min',\n right: 'max',\n down: 'max',\n};\n\nconst Div = styled.div`\n width: 100%;\n height: 100%;\n ${(props) => props.$css}\n`;\n\nconst LCSplit = ({ id, children, css, display, advance }) => {\n const ref = useRef();\n\n const ctx = useContext();\n\n useEffect(() => {\n ctx.doAction(advance.events.onMount);\n return ()=> ctx.doAction(advance.events.onUnmount);\n }, []);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n const { ratioArr, total } = useCreation(() => {\n const arr = display.ratio.split(':').map((r) => parseInt(r));\n return {\n ratioArr: arr,\n total: sum(arr),\n };\n }, [display.ratio]);\n\n const handleChange = useMemoizedFn((value)=> {\n ctx.doAction(advance.events.onChange, { value });\n });\n\n return (\n <Wrapper id={id} displayName=\"Split\" getTargetDom={getTargetDom}>\n <Div ref={ref} $css={css}>\n <MemorySplit split={display.split} onChange={handleChange}>\n {ratioArr.map((r, i) => (\n <MemorySplit.Pane\n fastTo={\n !display.fastTo || i === display.fastTo.length\n ? 'max'\n : _MAPPING_[display.fastTo[i]]\n }\n initialSize={`${(r / total) * 100}%`}\n key={i}\n >\n {children?.[i]}\n </MemorySplit.Pane>\n ))}\n </MemorySplit>\n </Div>\n </Wrapper>\n );\n};\n\nLCSplit.defaultProps = omitBadProps(defaultMeta);\nexport default LCSplit;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AAChD,SAASC,aAAa,EAAEC,WAAW,QAAQ,QAAQ;AACnD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,WAAW,QAAQ,uBAAuB;AACnD,SAASC,UAAU;AACnB,OAAOC,OAAO;AACd,SAASC,YAAY;AACrB,OAAOC,WAAW;AAElB,IAAMC,SAAS,GAAG;EAChBC,IAAI,EAAE,KAAK;EACXC,EAAE,EAAE,KAAK;EACTC,KAAK,EAAE,KAAK;EACZC,IAAI,EAAE;AACR,CAAC;AAED,IAAMC,GAAG,GAAGZ,MAAM,CAACa,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA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GAAG,CAACC,QAAQ,CAACH,OAAO,CAACI,MAAM,CAACgB,QAAQ,EAAE;MAAED,KAAK,EAALA;IAAM,CAAC,CAAC;EAClD,CAAC,CAAC;EAEF,oBACEjD,KAAA,CAAAmD,aAAA,CAAC1C,OAAO;IAACiB,EAAE,EAAEA,EAAG;IAACN,WAAW,EAAC,OAAO;IAACiB,YAAY,EAAEA;EAAa,gBAC9DrC,KAAA,CAAAmD,aAAA,CAAClC,GAAG;IAACc,GAAG,EAAEA,GAAI;IAACR,IAAI,EAAEK;EAAI,gBACvB5B,KAAA,CAAAmD,aAAA,CAAC5C,WAAW;IAACmC,KAAK,EAAEb,OAAO,CAACa,KAAM;IAACQ,QAAQ,EAAEF;EAAa,GACvDF,QAAQ,CAACH,GAAG,CAAC,UAACC,CAAC,EAAEQ,CAAC;IAAA,oBACjBpD,KAAA,CAAAmD,aAAA,CAAC5C,WAAW,CAAC8C,IAAI;MACfC,MAAM,EACJ,CAACzB,OAAO,CAACyB,MAAM,IAAIF,CAAC,KAAKvB,OAAO,CAACyB,MAAM,CAACC,MAAM,GAC1C,KAAK,GACL3C,SAAS,CAACiB,OAAO,CAACyB,MAAM,CAACF,CAAC,CAAC,CAChC;MACDI,WAAW,KAAAC,MAAA,CAAMb,CAAC,GAAGG,KAAK,GAAI,GAAG,MAAI;MACrCW,GAAG,EAAEN;IAAE,GAENzB,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAGyB,CAAC,CACG,CAAC;EAAA,CACpB,CACU,CACV,CACE,CAAC;AAEd,CAAC;AAED5B,OAAO,CAACmC,YAAY,GAAGjD,YAAY,CAACC,WAAW,CAAC;AAChD,eAAea,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","Index","useLatest","useUpdateEffect","useMemoizedFn","classNames","FunctionDesign","_ref","children","className","suppressPreset","renderIndex","zebra","actions","props","_objectWithoutProperties","_excluded","ref","gridRef","latestZebra","latestActions","handleGridReady","grid","current","itemsToUpdate","api","forEachNode","rowNode","push","data","updateRowData","update","refreshCells","columns","force","columnApi","setColumnVisible","createElement","_extends","_defineProperty","onGridReady"],"sources":["../../../../../luckda/lowcode/view/lc-components/Table/FunctionDesign.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport Index from './index';\nimport { useLatest, useUpdateEffect, useMemoizedFn } from 'ahooks';\nimport classNames from 'classnames';\n\nconst FunctionDesign = ({\n children,\n className,\n suppressPreset,\n renderIndex,\n zebra,\n actions,\n ...props\n}) => {\n const ref = useRef(null);\n const gridRef = useRef(null);\n\n const latestZebra = useLatest(zebra);\n const latestActions = useLatest(actions);\n\n const handleGridReady = useMemoizedFn((grid) => {\n gridRef.current = grid;\n });\n\n useUpdateEffect(() => {\n if (!gridRef.current) return;\n const itemsToUpdate = [];\n gridRef.current.api.forEachNode((rowNode) => {\n itemsToUpdate.push(rowNode.data);\n });\n gridRef.current.api.updateRowData({ update: itemsToUpdate });\n }, [zebra]);\n\n useUpdateEffect(() => {\n if (!gridRef.current) return;\n gridRef.current.api.refreshCells({\n columns: ['luck-actions'],\n force: true,\n });\n }, [actions]);\n\n useUpdateEffect(() => {\n if (!gridRef.current) return;\n gridRef.current.columnApi.setColumnVisible('luck-index', renderIndex);\n }, [renderIndex]);\n\n return (\n <Index\n ref={ref}\n className={classNames({ [className]: !!className })}\n suppressPreset\n renderIndex={renderIndex}\n zebra={latestZebra}\n actions={latestActions}\n onGridReady={handleGridReady}\n {...props}\n >\n {children}\n </Index>\n );\n};\n\nexport default FunctionDesign;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,OAAOC,KAAK;AACZ,SAASC,SAAS,EAAEC,eAAe,EAAEC,aAAa,QAAQ,QAAQ;AAClE,OAAOC,UAAU,MAAM,YAAY;AAEnC,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAQd;EAAA,IAPJC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IACR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,CAACe,OAAO,CAACK,OAAO,EAAE;IACtBL,OAAO,CAACK,OAAO,CAACY,SAAS,CAACC,gBAAgB,CAAC,YAAY,EAAEzB,WAAW,CAAC;EACvE,CAAC,EAAE,CAACA,WAAW,CAAC,CAAC;EAEjB,oBACEZ,KAAA,CAAAsC,aAAA,CAACpC,KAAK,EAAAqC,QAAA;IACJrB,GAAG,EAAEA,GAAI;IACTR,SAAS,EAAEJ,UAAU,CAAAkC,eAAA,KAAI9B,SAAS,EAAG,CAAC,CAACA,SAAS,CAAE,CAAE;IACpDC,cAAc;IACdC,WAAW,EAAEA,WAAY;IACzBC,KAAK,EAAEO,WAAY;IACnBN,OAAO,EAAEO,aAAc;IACvBoB,WAAW,EAAEnB;EAAgB,GACzBP,KAAK,GAERN,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,cAAc"}
|
|
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionLive;
|
|
10
|
+
export default FunctionLive;
|
|
11
|
+
//# sourceMappingURL=FunctionLive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Table/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => {\n return <Index {...props}>{children}</Index>;\n};\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAA+B;EAAA,IAAzBC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EACxC,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAC7C,CAAC;AAED,eAAeF,YAAY"}
|
|
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
|
|
|
7
7
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
8
|
return /*#__PURE__*/React.createElement(Index, props, children);
|
|
9
9
|
};
|
|
10
|
-
export default FunctionPreview;
|
|
10
|
+
export default FunctionPreview;
|
|
11
|
+
//# sourceMappingURL=FunctionPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Table/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","useAsyncEffect","useMemoizedFn","Radio","isArray","isString","formatMessage","request","fetchDataDic","TopFilter","_ref","filter","instance","_useState","_useState2","_slicedToArray","optons","setOptions","_useState3","_useState4","apiField","setApiField","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_yield$request","options","field","_yield$fetchDataDic","code","list","detail","wrap","_callee$","_context","prev","next","sent","key","snamealias","value","label","id","concat","_toConsumableArray","map","_id","sfactvalue","sname","stop","handleValueChange","e","val","target","_key","current","onLdQuery","_defineProperty","operate","_opt","find","_ref3","createElement","Group","defaultValue","buttonStyle","onChange","_ref4","Button"],"sources":["../../../../../../luckda/lowcode/view/lc-components/Table/components/TopFilter.jsx"],"sourcesContent":["import React, { useState } from 'react';\nimport { useAsyncEffect, useMemoizedFn } from 'ahooks';\nimport { Radio } from 'luck-design/antd';\nimport { isArray, isString } from 'lodash';\nimport { formatMessage } from '@luck-design-biz/base/utils';\nimport { request } from '@luck-design-biz/base/utils';\nimport { fetchDataDic } from '../../../../constants/api-url';\n\nconst TopFilter = ({ filter, instance }) => {\n const [optons, setOptions] = useState(isArray(filter) ? filter : []);\n const [apiField, setApiField] = useState(void 0);\n\n useAsyncEffect(async () => {\n if (isString(filter)) {\n const { options, field } = await request(filter);\n setOptions(options);\n setApiField(field);\n } else if (isArray(filter)) {\n setOptions(filter);\n } else if (filter.key && filter.field) {\n const { code, list, detail } = await fetchDataDic({ snamealias: filter.key });\n if (code === 1) {\n setOptions([\n {\n value: 'all',\n label: formatMessage({\n id: `luckda.lowcode.view.lc-components.label.all`,\n label: '全部',\n }),\n },\n ...list.map((_id) => ({\n value: detail[_id].sfactvalue,\n label: detail[_id].sname,\n })),\n ]);\n }\n }\n }, [filter]);\n\n const handleValueChange = useMemoizedFn((e) => {\n const val = e.target.value;\n const _key = apiField || filter.field;\n if (val === 'all') {\n instance.current.onLdQuery({ [_key]: { operate: 'remove' } });\n } else {\n const _opt = optons.find(({ value }) => val === value);\n instance.current.onLdQuery({ [_key]: { key: _key, value: val, label: _opt.label } });\n }\n });\n\n return (\n <Radio.Group defaultValue=\"all\" buttonStyle=\"solid\" onChange={handleValueChange}>\n {optons.map(({ value, label }) => (\n <Radio.Button key={value} value={value}>\n {label}\n </Radio.Button>\n ))}\n </Radio.Group>\n );\n};\n\nexport default TopFilter;\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OA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