@luck-design-biz/luckda 1.0.2-4 → 1.0.2-5
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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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
|
@@ -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/Iframe/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/Iframe/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/Iframe/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","useFullscreen","useHover","useMemoizedFn","Icon","Tooltip","styled","Wrapper","useContext","formatMessage","StyledIframe","iframe","withConfig","displayName","componentId","props","$css","LCIframe","_ref","id","path","css","supportFullScreen","_objectWithoutProperties","_excluded","ref","parentRef","isHovering","_useFullscreen","pageFullscreen","_useFullscreen2","_slicedToArray","isFullscreen","toggleFullscreen","getTargetDom","current","createElement","style","position","width","height","title","label","type","fontSize","top","right","zIndex","onClick","_extends","src"],"sources":["../../../../../luckda/lowcode/view/lc-components/Iframe/index.jsx"],"sourcesContent":["import React, { useEffect, useRef } from 'react';\nimport { useFullscreen, useHover, useMemoizedFn } from 'ahooks';\nimport { Icon, Tooltip } from 'luck-design/antd';\nimport styled from 'styled-components';\nimport Wrapper from '../Wrapper';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport { formatMessage } from '@luck-design-biz/base/utils';\n\nconst StyledIframe = styled.iframe`\n border: none;\n ${(props) => props.$css}\n`;\n\nconst LCIframe = ({ id, path, css, supportFullScreen, ...props }) => {\n const ref = useRef();\n const parentRef = useRef();\n const isHovering = useHover(parentRef);\n const [isFullscreen, { toggleFullscreen }] = useFullscreen(ref, { pageFullscreen: true });\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={id} displayName=\"Iframe\" getTargetDom={getTargetDom}>\n <div\n style={{ position: !isFullscreen ? 'relative' : 'static', width: '100%', height: '100%' }}\n ref={parentRef}\n >\n {supportFullScreen && isHovering && (\n <Tooltip\n title={\n isFullscreen\n ? formatMessage({\n id: 'luckda.lowcode.painter.components.fullscreen-exit.tip',\n label: '退出全屏',\n })\n : formatMessage({\n id: 'luckda.lowcode.painter.components.fullscreen.tip',\n label: '全屏',\n })\n }\n >\n <Icon\n type={isFullscreen ? 'fullscreen-exit' : 'fullscreen'}\n style={{\n fontSize: 20,\n position: isFullscreen ? 'fixed' : 'absolute',\n top: 15,\n right: 20,\n zIndex: 9999999,\n }}\n onClick={toggleFullscreen}\n />\n </Tooltip>\n )}\n <StyledIframe {...props} ref={ref} src={path} $css={css} />\n </div>\n </Wrapper>\n );\n};\n\nexport default LCIframe;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChD,SAASC,aAAa,EAAEC,QAAQ,EAAEC,aAAa,QAAQ,QAAQ;AAC/D,SAASC,IAAI,EAAEC,OAAO,QAAQ,kBAAkB;AAChD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,OAAOC,OAAO;AACd,SAASC,UAAU;AACnB,SAASC,aAAa,QAAQ,6BAA6B;AAE3D,IAAMC,YAAY,GAAGJ,MAAM,CAACK,MAAM,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,yBAE9B,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAAuD;EAAA,IAAjDC,EAAE,GAAAD,IAAA,CAAFC,EAAE;IAAEC,IAAI,GAAAF,IAAA,CAAJE,IAAI;IAAEC,GAAG,GAAAH,IAAA,CAAHG,GAAG;IAAEC,iBAAiB,GAAAJ,IAAA,CAAjBI,iBAAiB;IAAKP,KAAK,GAAAQ,wBAAA,CAAAL,IAAA,EAAAM,SAAA;EAC5D,IAAMC,GAAG,GAAGzB,MAAM,CAAC,CAAC;EACpB,IAAM0B,SAAS,GAAG1B,MAAM,CAAC,CAAC;EAC1B,IAAM2B,UAAU,GAAGzB,QAAQ,CAACwB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AC1B,YAAY,EAAAuC,QAAA,KAAKlC,KAAK;IAAEU,GAAG,EAAEA,GAAI;IAACyB,GAAG,EAAE9B,IAAK;IAACJ,IAAI,EAAEK;EAAI,EAAE,CACvD,CACE,CAAC;AAEd,CAAC;AAED,eAAeJ,QAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useMemoizedFn","Index","FunctionDesign","_ref","className","props","_objectWithoutProperties","_excluded","handleClick","createElement","_extends","onClick"],"sources":["../../../../../luckda/lowcode/view/lc-components/ImEx/FunctionDesign.jsx"],"sourcesContent":["import React from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport Index from './index';\n\nconst FunctionDesign = ({ className, ...props }) => {\n const handleClick = useMemoizedFn(() => { });\n\n return (\n <Index\n onClick={handleClick}\n {...props}\n />\n );\n};\n\nexport default FunctionDesign;\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,QAAQ;AACtC,OAAOC,KAAK;AAEZ,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAAgC;EAAA,IAA1BC,SAAS,GAAAD,IAAA,CAATC,SAAS;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAC3C,IAAMC,WAAW,GAAGR,aAAa,CAAC,YAAM,CAAE,CAAC,CAAC;EAE5C,oBACED,KAAA,CAAAU,aAAA,CAACR,KAAK,EAAAS,QAAA;IACJC,OAAO,EAAEH;EAAY,GACjBH,KAAK,CACV,CAAC;AAEN,CAAC;AAED,eAAeH,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/ImEx/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/ImEx/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","useState","useEffect","PropTypes","useMemoizedFn","useRequest","notification","Progress","message","BasicForm","BasicFormItem","PopWindow","api","styled","classNames","styles","useContext","useRemoteSource","Wrapper","LdButton","Button","Icon","formatMessage","omitBadProps","exportExcel","getFindexcelstate","uploadTemplate","noAuthGetTemplateUrl","defaultMeta","isString","split","last","lowerCase","includes","StyledButton","withConfig","displayName","componentId","props","$css","DownloadLink","div","UploadDoneWrap","LCImex","_ref","id","title","type","size","iconFont","block","ghost","css","className","onClick","advance","impexpSetting","serial","serialEffect","ref","ctx","_useRemoteSource","module","doAction","events","onMount","onUnmount","getTargetDom","_ref$current","current","buttonNode","_useRequest","manual","runAsync","fecthExcelState","_ref2","procress","resolve","reject","strategy","batchNo","moduleCode","behaviorKey","_fetchExcelStatePrefix","concat","_fetchExcelStateParams","reportType","then","response","code","_response$data","data","successCount","totalCount","downloadUrl","toFixed","setTimeout","catch","handleExportAll","Promise","_ref3","_asyncToGenerator","_regeneratorRuntime","mark","_callee","isBehavior","_exportExcelParams","_exportExcelPrefix","exportExcelResponse","wrap","_callee$","_context","prev","next","customParam","abrupt","info","sent","stop","_x","_x2","apply","arguments","doExportAll","_ref4","_callee2","onExportAll","key","notificationConfig","process","ret","_callee2$","_context2","duration","placement","closeIcon","createElement","icon","exportTheme","i","open","_objectSpread","description","percent","window","location","href","close","t0","exportErrorTheme","_x3","_useState","_useState2","_slicedToArray","visible","setVisible","_useState3","_useState4","actionStep","setActionStep","_useState5","_useState6","templateUrl","setTemplateUrl","_useState7","_useState8","uploadResult","setUploadResult","_useRequest2","runAsyncImport","fecthFindExcelState","_ref5","callback","templateId","state","handleImport","_ref6","_callee3","err","values","_importExcelParams","importParameter","_importExcelPrefix","importExcelResponse","_callee3$","_context3","FormData","files","forEach","file","append","originFileObj","customType","gatewayUrl","origin","API_HOST","JSON","stringify","result","_x4","_x5","handleClick","_ref7","_callee4","e","resault","_callee4$","_context4","beforeExe","afterExe","success","_x6","Fragment","_defineProperty","resource","label","mode","destroyOnClose","footer","onClose","onSubmit","layout","buttonRender","htmlType","name","accept","config","required","directory","num","multiple","autoUpload","listType","beforeUpload","suffix","download","failureCount","errorFileUrl","propTypes","string","isRequired","oneOf","object","bool","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/ImEx/index.jsx"],"sourcesContent":["import React, { useRef, useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useMemoizedFn, useRequest } from 'ahooks';\nimport { notification, Progress, message } from 'luck-design/antd';\nimport { BasicForm, BasicFormItem, PopWindow } from 'luck-design';\nimport api from '@/services/ApiConfig';\nimport styled from 'styled-components';\nimport classNames from 'classnames';\nimport styles from './index.less';\nimport { useContext, useRemoteSource } from '../../../engine/provider/ContextProvider';\nimport Wrapper from '../Wrapper';\nimport { LdButton as Button } from '../../../../components/LdCom';\nimport Icon from '../../../../components/IconFont';\nimport { formatMessage } from '@luck-design-biz/base/utils';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport {\n exportExcel,\n getFindexcelstate,\n uploadTemplate,\n noAuthGetTemplateUrl,\n} from '../../../constants/api-url';\nimport defaultMeta from '../../../engine/meta/imex.props.default.json';\nimport { isString, split, last, lowerCase, includes } from 'lodash';\n\nconst StyledButton = styled(Button)`\n ${(props) => props.$css}\n`;\n\nconst DownloadLink = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: -36px;\n`;\nconst UploadDoneWrap = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 16px;\n`;\n\nconst LCImex = ({\n id,\n title,\n type,\n size,\n iconFont,\n block,\n ghost,\n css,\n className,\n onClick,\n advance,\n impexpSetting,\n serial,\n serialEffect,\n}) => {\n const ref = useRef();\n const ctx = useContext();\n const { module } = useRemoteSource();\n\n useEffect(() => {\n ctx.doAction(advance.events.onMount);\n return () => ctx.doAction(advance.events.onUnmount);\n }, []);\n\n const getTargetDom = useMemoizedFn(() => ref.current?.buttonNode);\n\n // ========= 导出 ==========\n\n const { runAsync } = useRequest(exportExcel, {\n manual: true,\n });\n\n const fecthExcelState = (\n { strategy, batchNo, moduleCode, behaviorKey },\n procress,\n resolve,\n reject,\n ) => {\n const _fetchExcelStatePrefix = `/${strategy}/${batchNo}`;\n const _fetchExcelStateParams = {\n moduleCode,\n behaviorKey,\n reportType: 'export',\n };\n getFindexcelstate(_fetchExcelStatePrefix, _fetchExcelStateParams)\n .then((response) => {\n if (response.code === 1) {\n const {\n data: { successCount, totalCount, downloadUrl },\n } = response;\n if (successCount >= totalCount) {\n resolve(downloadUrl);\n } else {\n procress(((successCount / totalCount) * 100).toFixed(1));\n setTimeout(() => {\n fecthExcelState(\n { strategy, batchNo, moduleCode, behaviorKey },\n procress,\n resolve,\n reject,\n );\n }, 500);\n }\n } else {\n reject();\n }\n })\n .catch(() => {\n reject();\n });\n };\n\n const handleExportAll = (procress) =>\n new Promise(async (resolve, reject) => {\n const isBehavior = isString(impexpSetting.customParam);\n const strategy = isBehavior ? 'behavior' : 'report_server';\n if (!isBehavior) {\n return message.info(`未配置自定义行为!`);\n }\n const behaviorKey = impexpSetting.customParam;\n const _exportExcelParams = {\n moduleCode: module.moduleCode,\n behaviorKey,\n reportType: 'export',\n };\n const _exportExcelPrefix = `/${strategy}`;\n const exportExcelResponse = await runAsync(_exportExcelPrefix, _exportExcelParams);\n if (exportExcelResponse.code === 1) {\n fecthExcelState(\n {\n strategy,\n batchNo: exportExcelResponse.data,\n moduleCode: module.moduleCode,\n behaviorKey,\n },\n procress,\n resolve,\n reject,\n );\n } else {\n reject();\n }\n });\n\n const doExportAll = async (onExportAll) => {\n const key = 'exportAll';\n const notificationConfig = {\n key,\n duration: null,\n message: '正在导出数据...',\n placement: 'bottomRight',\n closeIcon: <div />,\n icon: <Icon type=\"cloud-download\" className={styles.exportTheme} />,\n };\n const process = (i) => {\n notification.open({\n ...notificationConfig,\n description: <Progress percent={i} />,\n });\n };\n notification.open({\n ...notificationConfig,\n description: <Progress percent={0} />,\n });\n try {\n const ret = await onExportAll(process);\n if (ret) {\n window.location.href = ret;\n }\n notification.close(key);\n } catch (error) {\n notification.open({\n ...notificationConfig,\n icon: <Icon type=\"cloud-download\" className={styles.exportErrorTheme} />,\n message: '导出失败',\n duration: 4,\n });\n }\n };\n\n // ========= 导出 ==========\n\n // ========= 导入 ==========\n const [visible, setVisible] = useState(false);\n const [actionStep, setActionStep] = useState('undone');\n const [templateUrl, setTemplateUrl] = useState('');\n const [uploadResult, setUploadResult] = useState({});\n\n const { runAsync: runAsyncImport } = useRequest(uploadTemplate, {\n manual: true,\n });\n\n const fecthFindExcelState = (\n { strategy, batchNo, moduleCode, behaviorKey, templateId },\n callback,\n ) => {\n const _fetchExcelStatePrefix = `/${strategy}/${batchNo}`;\n const _fetchExcelStateParams = {\n moduleCode,\n behaviorKey,\n templateId,\n reportType: 'import',\n };\n getFindexcelstate(_fetchExcelStatePrefix, _fetchExcelStateParams)\n .then((response) => {\n if (response.code === 1) {\n const { data } = response;\n callback(data);\n if (data.state !== -1 && data.successCount < data.totalCount) {\n setTimeout(() => {\n fecthFindExcelState(\n { strategy, batchNo, moduleCode, behaviorKey, templateId },\n callback,\n );\n }, 500);\n } else {\n setActionStep('finish');\n }\n } else {\n callback();\n setActionStep('finish');\n }\n })\n .catch(() => {\n setActionStep('finish');\n callback();\n });\n };\n\n useEffect(() => {\n if (visible) {\n setActionStep('undone');\n setUploadResult({});\n setTemplateUrl('');\n }\n }, [visible]);\n\n const handleImport = async (err, values) => {\n if (!err) {\n const _importExcelParams = new FormData();\n values.files.forEach((file) => {\n _importExcelParams.append('file', file.originFileObj);\n });\n const strategy = impexpSetting.customType ? 'behavior' : 'report_server';\n const importParameter = impexpSetting.customType\n ? {\n moduleCode: module.moduleCode,\n behaviorKey: impexpSetting.customParam,\n gatewayUrl: `${window.location.origin}${api.API_HOST}`,\n }\n : {\n templateId: impexpSetting.customParam,\n gatewayUrl: `${window.location.origin}${api.API_HOST}`,\n };\n _importExcelParams.append('importParameter', JSON.stringify(importParameter));\n\n const _importExcelPrefix = `/${strategy}`;\n const importExcelResponse = await runAsyncImport(_importExcelPrefix, _importExcelParams);\n setActionStep('uploading');\n\n fecthFindExcelState(\n {\n strategy,\n batchNo: importExcelResponse.data,\n ...importParameter,\n },\n (result) => {\n setUploadResult(result || {});\n },\n );\n } else {\n message.info('请选择Excel文件!');\n }\n };\n\n // ========= 导入 ==========\n\n const handleClick = useMemoizedFn(async (e) => {\n if (onClick) {\n onClick(e);\n return;\n }\n const resault = await ctx.doAction(advance.events.beforeExe);\n if (resault === false) {\n ctx.doAction(advance.events.afterExe, { success: false });\n return;\n }\n if (impexpSetting.type === 'export') {\n // ! 导出\n if (isString(impexpSetting.customParam) && impexpSetting.customParam) {\n await doExportAll(handleExportAll);\n ctx.doAction(advance.events.afterExe, { success: true });\n } else {\n message.info(`未配置行为!`);\n ctx.doAction(advance.events.afterExe, { success: false });\n }\n } else {\n // ! 导入\n if (!impexpSetting.customParam) {\n ctx.doAction(advance.events.afterExe, { success: false });\n return message.info(`未配置模版!`);\n }\n if (!impexpSetting.customType) {\n const response = await noAuthGetTemplateUrl(impexpSetting.customParam);\n if (response.code === 1) {\n setTemplateUrl(response.data);\n ctx.doAction(advance.events.afterExe, { success: true });\n } else {\n ctx.doAction(advance.events.afterExe, { success: false });\n }\n }\n setVisible(true);\n }\n });\n\n return (\n <Wrapper id={id} displayName=\"Imex\" getTargetDom={getTargetDom}>\n <>\n <StyledButton\n ref={ref}\n type={type}\n size={size}\n block={block}\n ghost={ghost}\n $css={css}\n className={classNames({ [className]: !!className })}\n resource={serial}\n serialEffect={serialEffect}\n onClick={handleClick}\n >\n {iconFont ? <Icon type={iconFont} /> : null}\n {title || formatMessage({ id: 'luckda.lowcode.painter.import', label: '导入' })}\n </StyledButton>\n <PopWindow\n visible={visible}\n title=\"上传excel文件\"\n mode=\"modal\"\n size=\"mini\"\n destroyOnClose\n footer={actionStep === 'undone' ? () => <></> : null}\n onClose={() => {\n if (actionStep !== 'uploading') {\n setVisible(false);\n }\n }}\n >\n {actionStep === 'undone' ? (\n <>\n <BasicForm\n onSubmit={handleImport}\n layout=\"drawer\"\n buttonRender={() => (\n <Button type=\"primary\" htmlType=\"submit\">\n 导入\n </Button>\n )}\n >\n <BasicFormItem\n type=\"upload\"\n name=\"files\"\n label=\"上传\"\n accept=\".csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"\n config={{\n required: true,\n message: '请上传Excel文件',\n directory: false,\n num: 1,\n multiple: false,\n autoUpload: false,\n listType: 'text',\n accept: '.xls,.xlsx,.xlt,.xlsm',\n name: 'fileObj',\n beforeUpload: (file) => {\n const suffix = lowerCase(last(split(file.name, '.')));\n if (!includes(['xls', 'xlsx', 'xlt', 'xlsm'], suffix)) {\n message.info('禁止上传的文件类型');\n return false;\n }\n },\n }}\n />\n </BasicForm>\n {templateUrl && (\n <DownloadLink>\n <a href={`${templateUrl}`} download>\n <Button type=\"link\">\n <Icon type=\"download\" /> 下载模版\n </Button>\n </a>\n </DownloadLink>\n )}\n </>\n ) : (\n <UploadDoneWrap>\n <p>\n 已导入:{uploadResult.totalCount || 0}条,成功:{uploadResult.successCount || 0}\n 条,失败:{uploadResult.failureCount}条\n </p>\n {uploadResult.failureCount > 0 ? (\n <a href={uploadResult.errorFileUrl} download>\n 下载出错表格信息\n </a>\n ) : (\n ''\n )}\n </UploadDoneWrap>\n )}\n </PopWindow>\n </>\n </Wrapper>\n );\n};\n\nLCImex.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 title: PropTypes.string,\n /**\n * @name 按钮类型\n * @type _ButtonType\n * @default 'default'\n */\n type: PropTypes.oneOf(['default', 'primary', 'dashed', 'danger']),\n /**\n * @name impexpSetting\n * @type _ImpExpAlone\n * @default { \"customType\": false, \"customParam\": null, \"type\": \"export\" }\n */\n impexpSetting: PropTypes.object,\n /**\n * @name 按钮大小\n * @type segmented\n * @options [{ \"label\": \"小\", \"value\": \"small\"}, { \"label\": \"中\", \"value\": \"middle\" }, { \"label\": \"大\", \"value\": \"large\" }]\n * @default 'default'\n */\n size: PropTypes.oneOf(['small', 'default', 'large']),\n /**\n * @name 将按钮宽度调整为其父宽度的选项\n * @type boolean\n * @default false\n */\n block: PropTypes.bool,\n};\nLCImex.defaultProps = omitBadProps(defaultMeta);\nexport default LCImex;\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAC1D,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,aAAa,EAAEC,UAAU,QAAQ,QAAQ;AAClD,SAASC,YAAY,EAAEC,QAAQ,EAAEC,OAAO,QAAQ,kBAAkB;AAClE,SAASC,SAAS,EAAEC,aAAa,EAAEC,SAAS,QAAQ,aAAa;AACjE,OAAOC,GAAG;AACV,OAAOC,MAAM,MAAM,mBAAmB;AACtC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,MAAM;AACb,SAASC,UAAU,EAAEC,eAAe;AACpC,OAAOC,OAAO;AACd,SAASC,QAAQ,IAAIC,MAAM;AAC3B,OAAOC,IAAI;AACX,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,YAAY;AACrB,SACEC,WAAW,EACXC,iBAAiB,EACjBC,cAAc,EACdC,oBAAoB;AAEtB,OAAOC,WAAW;AAClB,SAASC,QAAQ,EAAEC,KAAK,EAAEC,IAAI,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,QAAQ;AAEnE,IAAMC,YAAY,GAAGrB,MAAM,CAACO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gBAC5B7O,KAAA,CAAAyI,aAAA;IAAGU,IAAI,EAAEoB,YAAY,CAACuE,YAAa;IAACF,QAAQ;EAAA,GAAC,kDAE1C,CAAC,GAEJ,EAEY,CAET,CACX,CACK,CAAC;AAEd,CAAC;AAEDhM,MAAM,CAACmM,SAAS,GAAG;EACjB;AACF;AACA;AACA;AACA;EACEjM,EAAE,EAAE1C,SAAS,CAAC4O,MAAM,CAACC,UAAU;EAC/B;AACF;AACA;AACA;AACA;EACElM,KAAK,EAAE3C,SAAS,CAAC4O,MAAM;EACvB;AACF;AACA;AACA;AACA;EACEhM,IAAI,EAAE5C,SAAS,CAAC8O,KAAK,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;EACjE;AACF;AACA;AACA;AACA;EACEzL,aAAa,EAAErD,SAAS,CAAC+O,MAAM;EAC/B;AACF;AACA;AACA;AACA;AACA;EACElM,IAAI,EAAE7C,SAAS,CAAC8O,KAAK,CAAC,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;EACpD;AACF;AACA;AACA;AACA;EACE/L,KAAK,EAAE/C,SAAS,CAACgP;AACnB,CAAC;AACDxM,MAAM,CAACyM,YAAY,GAAG7N,YAAY,CAACK,WAAW,CAAC;AAC/C,eAAee,MAAM"}
|
|
@@ -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/Image/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/Image/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/Image/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","useHover","useMemoizedFn","useSetState","styled","ImgPreview","Wrapper","styles","Icon","useContext","StyledImage","img","withConfig","displayName","componentId","props","autoWidth","concat","width","autoHeight","height","fit","preview","roundRadios","borderRadios","$css","LCImage","_ref","id","src","css","advance","onClick","_objectWithoutProperties","_excluded","ref","isHovering","_useSetState","visible","images","_useSetState2","_slicedToArray","state","setState","ctx","doAction","events","onMount","onUnmount","handleClick","e","getTargetDom","current","createElement","Fragment","className","_extends","type","search","activeIndex","onClose"],"sources":["../../../../../luckda/lowcode/view/lc-components/Image/index.jsx"],"sourcesContent":["import React, { useEffect, useRef } from 'react';\nimport { useHover, useMemoizedFn, useSetState } from 'ahooks';\nimport styled from 'styled-components';\nimport { ImgPreview } from 'luck-design';\nimport Wrapper from '../Wrapper';\nimport styles from './index.less';\nimport { Icon } from 'luck-design/antd';\nimport { useContext } from '../../../engine/provider/ContextProvider';\n\nconst StyledImage = styled.img`\n width: ${(props) => (props.autoWidth ? 'auto' : `${props.width}px`)};\n height: ${(props) => (props.autoHeight ? 'auto' : `${props.height}px`)};\n object-fit: ${(props) => props.fit};\n cursor: ${(props) => props.preview && 'pointer'};\n border-radius: ${(props) => {\n return props.roundRadios || `${props.borderRadios}px`;\n }};\n ${(props) => props.$css}\n`;\n\nconst LCImage = ({ id, src, css, advance, onClick, ...props }) => {\n const ref = useRef();\n const isHovering = useHover(ref);\n const [state, setState] = useSetState({\n visible: false,\n images: [],\n });\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 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=\"Image\" getTargetDom={getTargetDom}>\n <>\n <div\n className={props.preview && styles['lc-component-image']}\n ref={ref}\n onClick={props.preview ? () => setState({ visible: true, images: [{ src }] }) : {}}\n >\n <StyledImage src={src} $css={css} {...props} />\n {props.preview && isHovering && <Icon type=\"search\" className={styles.search} />}\n </div>\n <ImgPreview\n visible={state.visible}\n images={state.images}\n activeIndex={0}\n onClose={() => setState({ visible: false })}\n onClick={handleClick}\n />\n </>\n </Wrapper>\n );\n};\n\nexport default LCImage;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChD,SAASC,QAAQ,EAAEC,aAAa,EAAEC,WAAW,QAAQ,QAAQ;AAC7D,OAAOC,MAAM,MAAM,mBAAmB;AACt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AC;EAAE,gBAEnF/B,KAAA,CAAAuD,aAAA,CAAC3C,WAAW,EAAA8C,QAAA;IAAC3B,GAAG,EAAEA,GAAI;IAACJ,IAAI,EAAEK;EAAI,GAAKf,KAAK,CAAG,CAAC,EAC9CA,KAAK,CAACO,OAAO,IAAIc,UAAU,iBAAItC,KAAA,CAAAuD,aAAA,CAAC7C,IAAI;IAACiD,IAAI,EAAC,QAAQ;IAACF,SAAS,EAAEhD,MAAM,CAACmD;EAAO,CAAE,CAC5E,CAAC,eACN5D,KAAA,CAAAuD,aAAA,CAAChD,UAAU;IACTiC,OAAO,EAAEI,KAAK,CAACJ,OAAQ;IACvBC,MAAM,EAAEG,KAAK,CAACH,MAAO;IACrBoB,WAAW,EAAE,CAAE;IACfC,OAAO,EAAE,SAAAA,QAAA;MAAA,OAAMjB,QAAQ,CAAC;QAAEL,OAAO,EAAE;MAAM,CAAC,CAAC;IAAA,CAAC;IAC5CN,OAAO,EAAEiB;EAAY,CACtB,CACD,CACK,CAAC;AAEd,CAAC;AAED,eAAevB,OAAO"}
|
|
@@ -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/JSX/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/JSX/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/JSX/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","Fragment","Babel","LuckAntd","LuckDesign","AHooks","styled","keys","useContext","executeCode","ErrorBoundary","jsx","_jsx","jsxs","_jsxs","RuntimeCom","_ref","children","onErrorCatch","rest","_objectWithoutProperties","_excluded","ctx","Component","useCreation","code","Children","toArray","join","trim","transformedCode","transform","presets","functionNameMatch","match","length","functionName","argsName","_args","map","n","apply","concat","_toConsumableArray","_objectSpread","e","createElement","style","color","message"],"sources":["../../../../../luckda/lowcode/view/lc-components/JSX/RuntimeComp.jsx"],"sourcesContent":["import React, { Fragment } from 'react';\nimport * as Babel from '@babel/standalone';\nimport * as LuckAntd from 'luck-design/antd';\nimport * as LuckDesign from 'luck-design';\nimport * as AHooks from 'ahooks';\nimport styled from 'styled-components';\nimport { keys } from 'lodash';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport { executeCode } from '../../../engine/tools/helper';\nimport ErrorBoundary from '../../ErrorBoundary';\n\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n\n\n/**\n * 实时代码渲染组件\n * todo:沙箱上下文的集成\n * todo:Loading效果的优化\n */\nconst RuntimeCom = ({ children, onErrorCatch, ...rest }) => {\n const ctx = useContext();\n\n const Component = AHooks.useCreation(() => {\n const code = React.Children.toArray(children).join('').trim();\n if (!code) return Fragment;\n\n try {\n // 使用Babel转换代码\n const transformedCode = Babel.transform(code, {\n presets: ['react'],\n }).code;\n const functionNameMatch = transformedCode.match(/function\\s+([^\\s(]+)/);\n if (functionNameMatch && functionNameMatch.length > 1) {\n const functionName = functionNameMatch[1];\n const argsName = keys(rest);\n const _args = argsName.map((n) => rest[n]);\n return executeCode(\n ctx,\n `function() {${transformedCode}; return ${functionName};}`,\n ['React', 'Antd', 'Luckd', 'styled', 'libs', ...argsName],\n React,\n LuckAntd,\n LuckDesign,\n styled,\n { ...AHooks },\n ..._args,\n );\n }\n return Fragment;\n } catch (e) {\n return ()=> <div style={{color: 'red'}}>{e.message}</div>;\n }\n }, [children]);\n\n return (\n <ErrorBoundary onErrorCatch={onErrorCatch}>\n <Component />\n </ErrorBoundary>\n )\n};\n\nexport default RuntimeCom;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,OAAO,KAAKC,KAAK,MAAM,mBAAmB;AAC1C,OAAO,KAAKC,QAAQ,MAAM,kBAAkB;AAC5C,OAAO,KAAKC,UAAU,MAAM,aAAa;AACzC,OAAO,KAAKC,MAAM,MAAM,QAAQ;AAChC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,UAAU;AACnB,SAASC,WAAW;AACpB,OAAOC,aAAa;AAGpB,SAASC,GAAG,IAAIC,IAAI,QAAQ,mBAAmB;AAC/C,SAASC,IAAI,IAAIC,KAAK,QAAQ,mBAAmB;;AAGjD;A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K,EACLG,QAAQ,EACRC,UAAU,EACVE,MAAM,EAAAsC,aAAA,KACDvC,MAAM,GAAAqC,MAAA,CAAAC,kBAAA,CACRL,KAAK,EACV,CAAC;MACH;MACA,OAAOrC,QAAQ;IACjB,CAAC,CAAC,OAAO4C,CAAC,EAAE;MACV,OAAO;QAAA,oBAAK7C,KAAA,CAAA8C,aAAA;UAAKC,KAAK,EAAE;YAACC,KAAK,EAAE;UAAK;QAAE,GAAEH,CAAC,CAACI,OAAa,CAAC;MAAA;IAC3D;EACF,CAAC,EAAE,CAAChC,QAAQ,CAAC,CAAC;EAEd,oBACEjB,KAAA,CAAA8C,aAAA,CAACpC,aAAa;IAACQ,YAAY,EAAEA;EAAa,gBACxClB,KAAA,CAAA8C,aAAA,CAACvB,SAAS,MAAE,CACC,CAAC;AAEpB,CAAC;AAED,eAAeR,UAAU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","useMemoizedFn","styled","Wrapper","omitBadProps","defaultMeta","RuntimeComp","JSXWrapper","div","withConfig","displayName","componentId","props","$css","LCJSX","_ref","id","render","css","ref","getTargetDom","current","createElement","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/JSX/index.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport styled from 'styled-components';\nimport Wrapper from '../Wrapper';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/jsx.props.default.json';\nimport RuntimeComp from './RuntimeComp';\n\nconst JSXWrapper = styled.div`\n ${(props) => props.$css}\n`;\n\nconst LCJSX = ({ id, render, css }) => {\n const ref = useRef();\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={id} displayName=\"JSX\" getTargetDom={getTargetDom}>\n <JSXWrapper ref={ref} $css={css}>\n <RuntimeComp>{render}</RuntimeComp>\n </JSXWrapper>\n </Wrapper>\n );\n};\n\nLCJSX.defaultProps = omitBadProps(defaultMeta);\nexport default LCJSX;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,aAAa,QAAQ,QAAQ;AACtC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,OAAOC,OAAO;AACd,SAASC,YAAY;AACrB,OAAOC,WAAW;AAClB,OAAOC,WAAW;AAElB,IAAMC,UAAU,GAAGL,MAAM,CAACM,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aACzB,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,KAAK,GAAG,SAARA,KAAKA,CAAAC,IAAA,EAA4B;EAAA,IAAtBC,EAAE,GAAAD,IAAA,CAAFC,EAAE;IAAEC,MAAM,GAAAF,IAAA,CAANE,MAAM;IAAEC,GAAG,GAAAH,IAAA,CAAHG,GAAG;EAC9B,IAAMC,GAAG,GAAGnB,MAAM,CAAC,CAAC;EAEpB,IAAMoB,YAAY,GAAGnB,aAAa,CAAC;IAAA,OAAMkB,GAAG,CAACE,OAAO;EAAA,EAAC;EAErD,oBACEtB,KAAA,CAAAuB,aAAA,CAACnB,OAAO;IAACa,EAAE,EAAEA,EAAG;IAACN,WAAW,EAAC,KAAK;IAACU,YAAY,EAAEA;EAAa,gBAC5DrB,KAAA,CAAAuB,aAAA,CAACf,UAAU;IAACY,GAAG,EAAEA,GAAI;IAACN,IAAI,EAAEK;EAAI,gBAC9BnB,KAAA,CAAAuB,aAAA,CAAChB,WAAW,QAAEW,MAAoB,CACxB,CACL,CAAC;AAEd,CAAC;AAEDH,KAAK,CAACS,YAAY,GAAGnB,YAAY,CAACC,WAAW,CAAC;AAC9C,eAAeS,KAAK"}
|
|
@@ -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 Lay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,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,IAAIC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AAChD,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,aAAa,QAAQ,QAAQ;AACtC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,UAAU;AACnB,OAAOC,OAAO;AACd,OAAOC,MAAM;AACb,SAASC,YAAY;AACrB,OAAOC,WAAW;AAElB,IAAMC,YAAY,GAAGN,MAAM,CAACO,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAC3B,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,QAAQ,GAA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,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;EAAA,OAAKA,KAAK,CAACC,YAAY,IAAI,MAAM;AAAA,GACrC,UAACD,KAAK;EAAA,OAAKA,KAAK,CAACC,YAAY,IAAI,QAAQ;AAAA,GAC5C,UAACD,KAAK;EAAA,OAAKA,KAAK,CAACC,YAAY,IAAI,QAAQ;AAAA,GACpC,UAACD,KAAK;EAAA,OAAKA,KAAK,CAACC,YAAY,IAAI,UAAU;AAAA,GAC1D,UAACD,KAAK;EAAA,OAAKA,KAAK,CAACE,IAAI;AAAA,EACxB;AAED,IAAMC,MAAM,GAAG,SAATA,MAAMA,CAAAC,IAAA,EAAgD;EAAA,IAA1CC,EAAE,GAA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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,GAAG,GAAGR,MAAM,CAACS,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAClB,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAA,EAAS;EACxB,IAAMC,GAAG,GAAGnB,MAAM,CAAC,CAAC;EACpB,IAAAoB,OAAA,GAA+ChB,MAAM,CAAC,CACpDG,mBAAmB,CAACc,YAAY,EAChC,oBAAoB,KAAAC,MAAA,CACjBf,mBAAmB,CAACgB,WAAW,gBACnC,CAAC;IAAAC,QAAA,GAAAC,cAAA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,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;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,IAAAkB,OAAA,GAA4Bf,MAAM,CAAC,CAACG,mBAAmB,CAACa,WAAW,EAAE,mBAAmB,CAAC,CAAC;IAAAC,QAAA,GAAAC,cAAA,CAAAH,OAAA;IAAnFI,UAAU,GAAAF,QAAA;IAAEG,KAAK,GAAAH,QAAA;EACxB,IAAMI,MAAM,GAAGpB,eAAe,CAACkB,UAAU,CAAC;EAE1C,IAAMG,YAAY,GAAGxB,aAAa,CAAC;IAAA,OAAMgB,GAAG,CAACS,OAAO;EAAA,EAAC;EAErD,oBACE3B,KAAA,CAAA4B,aAAA,CAACtB,OAAO;IAACuB,EAAE,EAAEtB,mBAAmB,CAACa,WAAY;IAACP,WAAW,EAAC,YAAY;IAACa,YAAY,EAAEA;EAAa,gBAChG1B,KAAA,CAAA4B,aAAA,CAAClB,GAAG;IACFQ,GAAG,EAAEA,GAAI;IACTF,IAAI,EAAEO,UAAU,CAACR,KAAK,CAACe,GAAI;IAC3BC,KAAK,EAAEP,KAAK,GAAG;MAAEQ,QAAQ,EAAE,QAAQ;MAAEC,GAAG,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAG,CAAC,GAAG;EAAK,GAEhET,MACE,CACE,CAAC;AAEd,CAAC;AAEDR,UAAU,CAACkB,YAAY,GAAG3B,YAAY,CAACC,WAAW,CAAC;AACnD,eAAeQ,UAAU"}
|
|
@@ -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,EAC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AAC,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"}
|