@luck-design-biz/luckda 0.0.22-5 → 0.0.22-6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/es/components/Builder/index.js +0 -0
- package/es/components/LdAutoForm/index.js +0 -0
- package/es/components/LdCard/index.js +0 -0
- package/es/components/LdCard/model.js +0 -0
- package/es/components/LdCom/index.js +0 -0
- package/es/components/LdFormList/index.js +0 -0
- package/es/components/LdFormList/model.js +0 -0
- package/es/components/LdGrid/index.js +0 -0
- package/es/components/LdGrid/model.js +0 -0
- package/es/components/LdGridForm/index.js +0 -0
- package/es/components/LdGridForm/index.less +0 -0
- package/es/components/LdInfoPanel/index.js +0 -0
- package/es/components/LdPop/index.js +0 -0
- package/es/components/LdRuntimeCom/index.js +0 -0
- package/es/components/LdTree/index.js +0 -0
- package/es/components/LdTree/index.less +0 -0
- package/es/helper/FromItems.js +0 -0
- package/es/helper/action.js +0 -0
- package/es/helper/form.js +0 -0
- package/es/helper/index.less +0 -0
- package/es/helper/ldBuilder.js +0 -0
- package/es/helper/ldComBuild.js +0 -0
- package/es/index.js +0 -0
- package/es/lowcode/constants/api-url.js +0 -0
- package/es/lowcode/constants/event-topics.js +6 -1
- package/es/lowcode/constants/index.js +0 -0
- package/es/lowcode/engine/factory/DataFactory.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +24 -1
- package/es/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
- package/es/lowcode/engine/factory/panel-item-factory/index.js +0 -0
- package/es/lowcode/engine/meta/box.props.default.json +0 -0
- package/es/lowcode/engine/meta/box.props.json +0 -0
- package/es/lowcode/engine/meta/button.props.default.json +0 -0
- package/es/lowcode/engine/meta/button.props.json +0 -0
- package/es/lowcode/engine/meta/cardlist.props.default.json +0 -0
- package/es/lowcode/engine/meta/cardlist.props.json +0 -0
- package/es/lowcode/engine/meta/components-list.json +6 -6
- package/es/lowcode/engine/meta/dialog.props.default.json +0 -0
- package/es/lowcode/engine/meta/dialog.props.json +0 -0
- package/es/lowcode/engine/meta/drawer.props.default.json +0 -0
- package/es/lowcode/engine/meta/drawer.props.json +0 -0
- package/es/lowcode/engine/meta/form.props.default.json +0 -0
- package/es/lowcode/engine/meta/form.props.json +0 -0
- package/es/lowcode/engine/meta/iframe.props.default.json +0 -0
- package/es/lowcode/engine/meta/iframe.props.json +0 -0
- package/es/lowcode/engine/meta/image.props.default.json +0 -0
- package/es/lowcode/engine/meta/image.props.json +0 -0
- package/es/lowcode/engine/meta/imex.props.default.json +0 -0
- package/es/lowcode/engine/meta/imex.props.json +0 -0
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +0 -0
- package/es/lowcode/engine/meta/jsx.props.default.json +0 -0
- package/es/lowcode/engine/meta/jsx.props.json +0 -0
- package/es/lowcode/engine/meta/layout.props.default.json +0 -0
- package/es/lowcode/engine/meta/layout.props.json +0 -0
- package/es/lowcode/engine/meta/link.props.default.json +0 -0
- package/es/lowcode/engine/meta/link.props.json +0 -0
- package/es/lowcode/engine/meta/section.props.default.json +0 -0
- package/es/lowcode/engine/meta/section.props.json +0 -0
- package/es/lowcode/engine/meta/split.props.default.json +0 -0
- package/es/lowcode/engine/meta/split.props.json +0 -0
- package/es/lowcode/engine/meta/table.props.default.json +0 -0
- package/es/lowcode/engine/meta/table.props.json +0 -0
- package/es/lowcode/engine/meta/tabs.props.default.json +0 -0
- package/es/lowcode/engine/meta/tabs.props.json +0 -0
- package/es/lowcode/engine/meta/text.props.default.json +0 -0
- package/es/lowcode/engine/meta/text.props.json +0 -0
- package/es/lowcode/engine/meta/tree.props.default.json +0 -0
- package/es/lowcode/engine/meta/tree.props.json +0 -0
- package/es/lowcode/engine/provider/ContextProvider.js +6 -14
- package/es/lowcode/engine/provider/EventBusProvider.js +2 -2
- package/es/lowcode/engine/tools/dataProcess.js +0 -0
- package/es/lowcode/engine/tools/helper.js +0 -0
- package/es/lowcode/engine/tools/usePromiseState.js +24 -0
- package/es/lowcode/index.js +0 -0
- package/es/lowcode/painter/Components.js +0 -0
- package/es/lowcode/painter/Design.js +178 -67
- package/es/lowcode/painter/I18n.js +9 -6
- package/es/lowcode/painter/Outline.js +0 -0
- package/es/lowcode/painter/Panel.js +7 -2
- package/es/lowcode/painter/Ribbon.js +0 -0
- package/es/lowcode/painter/components/PanelItem.js +0 -0
- package/es/lowcode/painter/components/PopConfirm.js +0 -0
- package/es/lowcode/painter/components/PopForm.js +0 -0
- package/es/lowcode/painter/components/RuleInput.js +4 -4
- package/es/lowcode/painter/components/SortBox.js +0 -0
- package/es/lowcode/painter/components/TabEditor.js +0 -0
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +0 -0
- package/es/lowcode/painter/components/code-editor/JSEditor.js +0 -0
- package/es/lowcode/painter/components/code-editor/index.js +0 -0
- package/es/lowcode/painter/index.js +0 -0
- package/es/lowcode/painter/panel-section/ButtonType.js +45 -0
- package/es/lowcode/painter/panel-section/Icon.js +0 -0
- package/es/lowcode/painter/panel-section/IconSelector.js +0 -0
- package/es/lowcode/painter/panel-section/LayoutRatio.js +2 -2
- package/es/lowcode/painter/panel-section/TabItems.js +2 -3
- package/es/lowcode/painter/services/I18n.js +0 -0
- package/es/lowcode/painter/style/button-type.less +5 -0
- package/es/lowcode/painter/style/components.less +0 -0
- package/es/lowcode/painter/style/design.less +56 -3
- package/es/lowcode/painter/style/icon-selector.less +0 -0
- package/es/lowcode/painter/style/icon.less +0 -0
- package/es/lowcode/painter/style/index.less +0 -0
- package/es/lowcode/painter/style/layout-ratio.less +0 -0
- package/es/lowcode/painter/style/outline.less +0 -0
- package/es/lowcode/painter/style/panel-item.less +0 -0
- package/es/lowcode/painter/style/panel.less +0 -0
- package/es/lowcode/painter/style/pop-confirm.less +0 -0
- package/es/lowcode/painter/style/pop-form.less +0 -0
- package/es/lowcode/painter/style/radio.less +0 -0
- package/es/lowcode/painter/style/ribbon.less +0 -0
- package/es/lowcode/painter/style/rule-input.less +0 -0
- package/es/lowcode/painter/style/tabeditor.less +0 -0
- package/es/lowcode/painter/style/tabitems.less +0 -0
- package/es/lowcode/view/Canvas.js +11 -8
- package/es/lowcode/view/Loading.js +0 -0
- package/es/lowcode/view/Page.js +2 -4
- package/es/lowcode/view/index.js +0 -0
- package/es/lowcode/view/lc-components/Box/FunctionDesign.js +20 -0
- package/es/lowcode/view/lc-components/Box/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Box/index.js +8 -2
- package/es/lowcode/view/lc-components/Box/index.less +14 -0
- package/es/lowcode/view/lc-components/Box/meta.json +0 -0
- package/es/lowcode/view/lc-components/Button/FunctionDesign.js +21 -0
- package/es/lowcode/view/lc-components/Button/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Button/index.js +0 -0
- package/es/lowcode/view/lc-components/Button/meta.json +0 -0
- package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/CardList/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/CardList/index.js +0 -0
- package/es/lowcode/view/lc-components/CardList/meta.json +0 -0
- package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Dialog/index.js +0 -0
- package/es/lowcode/view/lc-components/Dialog/index.less +0 -0
- package/es/lowcode/view/lc-components/Dialog/meta.json +0 -0
- package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Drawer/index.js +1 -1
- package/es/lowcode/view/lc-components/Drawer/meta.json +0 -0
- package/es/lowcode/view/lc-components/Drawer/style.less +0 -0
- package/es/lowcode/view/lc-components/Form/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Form/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Form/index.js +0 -0
- package/es/lowcode/view/lc-components/Form/meta.json +0 -0
- package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Iframe/index.js +0 -0
- package/es/lowcode/view/lc-components/Iframe/meta.json +0 -0
- package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/ImEx/index.js +0 -0
- package/es/lowcode/view/lc-components/ImEx/meta.json +0 -0
- package/es/lowcode/view/lc-components/Image/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Image/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Image/index.js +0 -0
- package/es/lowcode/view/lc-components/Image/meta.json +0 -0
- package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/JSX/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/JSX/index.js +0 -0
- package/es/lowcode/view/lc-components/JSX/meta.json +0 -0
- package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +75 -0
- package/es/lowcode/view/lc-components/Layout/FunctionLive.js +15 -0
- package/es/lowcode/view/lc-components/Layout/index.js +4 -42
- package/es/lowcode/view/lc-components/Layout/index.less +0 -4
- package/es/lowcode/view/lc-components/Layout/meta.json +0 -0
- package/es/lowcode/view/lc-components/Link/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Link/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Link/index.js +0 -0
- package/es/lowcode/view/lc-components/Link/meta.json +0 -0
- package/es/lowcode/view/lc-components/Section/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Section/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Section/index.js +0 -0
- package/es/lowcode/view/lc-components/Section/meta.json +0 -0
- package/es/lowcode/view/lc-components/Split/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Split/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Split/index.js +0 -0
- package/es/lowcode/view/lc-components/Split/meta.json +0 -0
- package/es/lowcode/view/lc-components/Table/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Table/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Table/index.js +0 -0
- package/es/lowcode/view/lc-components/Table/meta.json +0 -0
- package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Tabs/index.js +0 -0
- package/es/lowcode/view/lc-components/Tabs/meta.json +0 -0
- package/es/lowcode/view/lc-components/Text/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Text/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Text/index.js +0 -0
- package/es/lowcode/view/lc-components/Text/meta.json +0 -0
- package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +9 -0
- package/es/lowcode/view/lc-components/Tree/FunctionLive.js +9 -0
- package/es/lowcode/view/lc-components/Tree/index.js +0 -0
- package/es/lowcode/view/lc-components/Tree/meta.json +0 -0
- package/es/lowcode/view/lc-components/Wrapper.js +0 -0
- package/es/lowcode/view/style/canvas.less +0 -0
- package/es/lowcode/view/style/loading.less +0 -0
- package/es/lowcode/view/style/page.less +0 -0
- package/es/services.js +0 -0
- package/es/upload/Form/gridForm.js +0 -0
- package/es/upload/Form/index.js +0 -0
- package/es/upload/Form/index.less +0 -0
- package/es/upload/FormItem/index.js +0 -0
- package/es/upload/GridCell/index.js +0 -0
- package/es/upload/index.js +0 -0
- package/es/utils/action.js +0 -0
- package/es/utils/form.js +0 -0
- package/es/utils/grid.js +1 -0
- package/es/utils/index.js +0 -0
- package/lib/components/Builder/index.js +0 -0
- package/lib/components/LdAutoForm/index.js +0 -0
- package/lib/components/LdCard/index.js +0 -0
- package/lib/components/LdCard/model.js +0 -0
- package/lib/components/LdCom/index.js +0 -0
- package/lib/components/LdFormList/index.js +0 -0
- package/lib/components/LdFormList/model.js +0 -0
- package/lib/components/LdGrid/index.js +0 -0
- package/lib/components/LdGrid/model.js +0 -0
- package/lib/components/LdGridForm/index.js +0 -0
- package/lib/components/LdGridForm/index.less +0 -0
- package/lib/components/LdInfoPanel/index.js +0 -0
- package/lib/components/LdPop/index.js +0 -0
- package/lib/components/LdRuntimeCom/index.js +0 -0
- package/lib/components/LdTree/index.js +0 -0
- package/lib/components/LdTree/index.less +0 -0
- package/lib/helper/FromItems.js +0 -0
- package/lib/helper/action.js +0 -0
- package/lib/helper/form.js +0 -0
- package/lib/helper/index.less +0 -0
- package/lib/helper/ldBuilder.js +0 -0
- package/lib/helper/ldComBuild.js +0 -0
- package/lib/index.js +0 -0
- package/lib/lowcode/constants/api-url.js +0 -0
- package/lib/lowcode/constants/event-topics.js +7 -2
- package/lib/lowcode/constants/index.js +0 -0
- package/lib/lowcode/engine/factory/DataFactory.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +24 -1
- package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
- package/lib/lowcode/engine/factory/panel-item-factory/index.js +0 -0
- package/lib/lowcode/engine/meta/box.props.default.json +0 -0
- package/lib/lowcode/engine/meta/box.props.json +0 -0
- package/lib/lowcode/engine/meta/button.props.default.json +0 -0
- package/lib/lowcode/engine/meta/button.props.json +0 -0
- package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -0
- package/lib/lowcode/engine/meta/cardlist.props.json +0 -0
- package/lib/lowcode/engine/meta/components-list.json +6 -6
- package/lib/lowcode/engine/meta/dialog.props.default.json +0 -0
- package/lib/lowcode/engine/meta/dialog.props.json +0 -0
- package/lib/lowcode/engine/meta/drawer.props.default.json +0 -0
- package/lib/lowcode/engine/meta/drawer.props.json +0 -0
- package/lib/lowcode/engine/meta/form.props.default.json +0 -0
- package/lib/lowcode/engine/meta/form.props.json +0 -0
- package/lib/lowcode/engine/meta/iframe.props.default.json +0 -0
- package/lib/lowcode/engine/meta/iframe.props.json +0 -0
- package/lib/lowcode/engine/meta/image.props.default.json +0 -0
- package/lib/lowcode/engine/meta/image.props.json +0 -0
- package/lib/lowcode/engine/meta/imex.props.default.json +0 -0
- package/lib/lowcode/engine/meta/imex.props.json +0 -0
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +0 -0
- package/lib/lowcode/engine/meta/jsx.props.default.json +0 -0
- package/lib/lowcode/engine/meta/jsx.props.json +0 -0
- package/lib/lowcode/engine/meta/layout.props.default.json +0 -0
- package/lib/lowcode/engine/meta/layout.props.json +0 -0
- package/lib/lowcode/engine/meta/link.props.default.json +0 -0
- package/lib/lowcode/engine/meta/link.props.json +0 -0
- package/lib/lowcode/engine/meta/section.props.default.json +0 -0
- package/lib/lowcode/engine/meta/section.props.json +0 -0
- package/lib/lowcode/engine/meta/split.props.default.json +0 -0
- package/lib/lowcode/engine/meta/split.props.json +0 -0
- package/lib/lowcode/engine/meta/table.props.default.json +0 -0
- package/lib/lowcode/engine/meta/table.props.json +0 -0
- package/lib/lowcode/engine/meta/tabs.props.default.json +0 -0
- package/lib/lowcode/engine/meta/tabs.props.json +0 -0
- package/lib/lowcode/engine/meta/text.props.default.json +0 -0
- package/lib/lowcode/engine/meta/text.props.json +0 -0
- package/lib/lowcode/engine/meta/tree.props.default.json +0 -0
- package/lib/lowcode/engine/meta/tree.props.json +0 -0
- package/lib/lowcode/engine/provider/ContextProvider.js +6 -14
- package/lib/lowcode/engine/provider/EventBusProvider.js +2 -2
- package/lib/lowcode/engine/tools/dataProcess.js +0 -0
- package/lib/lowcode/engine/tools/helper.js +0 -0
- package/lib/lowcode/engine/tools/usePromiseState.js +31 -0
- package/lib/lowcode/index.js +0 -0
- package/lib/lowcode/painter/Components.js +0 -0
- package/lib/lowcode/painter/Design.js +176 -66
- package/lib/lowcode/painter/I18n.js +7 -3
- package/lib/lowcode/painter/Outline.js +0 -0
- package/lib/lowcode/painter/Panel.js +7 -2
- package/lib/lowcode/painter/Ribbon.js +0 -0
- package/lib/lowcode/painter/components/PanelItem.js +0 -0
- package/lib/lowcode/painter/components/PopConfirm.js +0 -0
- package/lib/lowcode/painter/components/PopForm.js +0 -0
- package/lib/lowcode/painter/components/RuleInput.js +4 -4
- package/lib/lowcode/painter/components/SortBox.js +0 -0
- package/lib/lowcode/painter/components/TabEditor.js +0 -0
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +0 -0
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +0 -0
- package/lib/lowcode/painter/components/code-editor/index.js +0 -0
- package/lib/lowcode/painter/index.js +0 -0
- package/lib/lowcode/painter/panel-section/ButtonType.js +52 -0
- package/lib/lowcode/painter/panel-section/Icon.js +0 -0
- package/lib/lowcode/painter/panel-section/IconSelector.js +0 -0
- package/lib/lowcode/painter/panel-section/LayoutRatio.js +2 -2
- package/lib/lowcode/painter/panel-section/TabItems.js +1 -2
- package/lib/lowcode/painter/services/I18n.js +0 -0
- package/lib/lowcode/painter/style/button-type.less +5 -0
- package/lib/lowcode/painter/style/components.less +0 -0
- package/lib/lowcode/painter/style/design.less +56 -3
- package/lib/lowcode/painter/style/icon-selector.less +0 -0
- package/lib/lowcode/painter/style/icon.less +0 -0
- package/lib/lowcode/painter/style/index.less +0 -0
- package/lib/lowcode/painter/style/layout-ratio.less +0 -0
- package/lib/lowcode/painter/style/outline.less +0 -0
- package/lib/lowcode/painter/style/panel-item.less +0 -0
- package/lib/lowcode/painter/style/panel.less +0 -0
- package/lib/lowcode/painter/style/pop-confirm.less +0 -0
- package/lib/lowcode/painter/style/pop-form.less +0 -0
- package/lib/lowcode/painter/style/radio.less +0 -0
- package/lib/lowcode/painter/style/ribbon.less +0 -0
- package/lib/lowcode/painter/style/rule-input.less +0 -0
- package/lib/lowcode/painter/style/tabeditor.less +0 -0
- package/lib/lowcode/painter/style/tabitems.less +0 -0
- package/lib/lowcode/view/Canvas.js +10 -7
- package/lib/lowcode/view/Loading.js +0 -0
- package/lib/lowcode/view/Page.js +2 -4
- package/lib/lowcode/view/index.js +0 -0
- package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +27 -0
- package/lib/lowcode/view/lc-components/Box/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Box/index.js +8 -2
- package/lib/lowcode/view/lc-components/Box/index.less +14 -0
- package/lib/lowcode/view/lc-components/Box/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Button/FunctionDesign.js +28 -0
- package/lib/lowcode/view/lc-components/Button/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Button/index.js +0 -0
- package/lib/lowcode/view/lc-components/Button/meta.json +0 -0
- package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/CardList/index.js +0 -0
- package/lib/lowcode/view/lc-components/CardList/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Dialog/index.js +0 -0
- package/lib/lowcode/view/lc-components/Dialog/index.less +0 -0
- package/lib/lowcode/view/lc-components/Dialog/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Drawer/index.js +1 -1
- package/lib/lowcode/view/lc-components/Drawer/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Drawer/style.less +0 -0
- package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Form/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Form/index.js +0 -0
- package/lib/lowcode/view/lc-components/Form/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Iframe/index.js +0 -0
- package/lib/lowcode/view/lc-components/Iframe/meta.json +0 -0
- package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/ImEx/index.js +0 -0
- package/lib/lowcode/view/lc-components/ImEx/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Image/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Image/index.js +0 -0
- package/lib/lowcode/view/lc-components/Image/meta.json +0 -0
- package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/JSX/index.js +0 -0
- package/lib/lowcode/view/lc-components/JSX/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +82 -0
- package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +22 -0
- package/lib/lowcode/view/lc-components/Layout/index.js +2 -40
- package/lib/lowcode/view/lc-components/Layout/index.less +0 -4
- package/lib/lowcode/view/lc-components/Layout/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Link/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Link/index.js +0 -0
- package/lib/lowcode/view/lc-components/Link/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Section/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Section/index.js +0 -0
- package/lib/lowcode/view/lc-components/Section/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Split/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Split/index.js +0 -0
- package/lib/lowcode/view/lc-components/Split/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Table/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Table/index.js +0 -0
- package/lib/lowcode/view/lc-components/Table/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Tabs/index.js +0 -0
- package/lib/lowcode/view/lc-components/Tabs/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Text/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Text/index.js +0 -0
- package/lib/lowcode/view/lc-components/Text/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +16 -0
- package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +16 -0
- package/lib/lowcode/view/lc-components/Tree/index.js +0 -0
- package/lib/lowcode/view/lc-components/Tree/meta.json +0 -0
- package/lib/lowcode/view/lc-components/Wrapper.js +0 -0
- package/lib/lowcode/view/style/canvas.less +0 -0
- package/lib/lowcode/view/style/loading.less +0 -0
- package/lib/lowcode/view/style/page.less +0 -0
- package/lib/services.js +0 -0
- package/lib/upload/Form/gridForm.js +0 -0
- package/lib/upload/Form/index.js +0 -0
- package/lib/upload/Form/index.less +0 -0
- package/lib/upload/FormItem/index.js +0 -0
- package/lib/upload/GridCell/index.js +0 -0
- package/lib/upload/index.js +0 -0
- package/lib/utils/action.js +0 -0
- package/lib/utils/form.js +0 -0
- package/lib/utils/grid.js +4 -3
- package/lib/utils/index.js +0 -0
- package/lowcode.js +0 -0
- package/package.json +164 -163
- package/upload.js +0 -0
- package/utils.js +0 -0
- package/es/lowcode/engine/tools/lcid.js +0 -16
- package/lib/lowcode/engine/tools/lcid.js +0 -22
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
10
|
+
var _excluded = ["children"];
|
|
11
|
+
var FunctionDesign = function FunctionDesign(_ref) {
|
|
12
|
+
var children = _ref.children,
|
|
13
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/React.createElement(_index.default, props, children);
|
|
15
|
+
};
|
|
16
|
+
var _default = exports.default = FunctionDesign;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
10
|
+
var _excluded = ["children"];
|
|
11
|
+
var FunctionLive = function FunctionLive(_ref) {
|
|
12
|
+
var children = _ref.children,
|
|
13
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/React.createElement(_index.default, props, children);
|
|
15
|
+
};
|
|
16
|
+
var _default = exports.default = FunctionLive;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/services.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/upload/Form/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/upload/index.js
CHANGED
|
File without changes
|
package/lib/utils/action.js
CHANGED
|
File without changes
|
package/lib/utils/form.js
CHANGED
|
File without changes
|
package/lib/utils/grid.js
CHANGED
|
@@ -10,6 +10,7 @@ exports.getGridColumn = void 0;
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
12
12
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
14
|
var _umi = require("umi");
|
|
14
15
|
var _lodash = require("lodash");
|
|
15
16
|
var _antd = require("luck-design/antd");
|
|
@@ -61,7 +62,7 @@ function getColumnRender(name, type) {
|
|
|
61
62
|
break;
|
|
62
63
|
case 'switch':
|
|
63
64
|
render = function render(text) {
|
|
64
|
-
return /*#__PURE__*/
|
|
65
|
+
return /*#__PURE__*/_react.default.createElement(_antd.Switch, {
|
|
65
66
|
checked: !!text,
|
|
66
67
|
size: "small"
|
|
67
68
|
});
|
|
@@ -69,7 +70,7 @@ function getColumnRender(name, type) {
|
|
|
69
70
|
break;
|
|
70
71
|
case 'color':
|
|
71
72
|
render = function render(text) {
|
|
72
|
-
return /*#__PURE__*/
|
|
73
|
+
return /*#__PURE__*/_react.default.createElement(_antd.Tag, {
|
|
73
74
|
color: text
|
|
74
75
|
}, text);
|
|
75
76
|
};
|
|
@@ -91,7 +92,7 @@ function getColumnRender(name, type) {
|
|
|
91
92
|
previewUrl: "".concat(_ApiConfig.default.LUCKDA_HOST).concat(file.previewUrl)
|
|
92
93
|
};
|
|
93
94
|
});
|
|
94
|
-
return /*#__PURE__*/
|
|
95
|
+
return /*#__PURE__*/_react.default.createElement(_GridCell.default, {
|
|
95
96
|
fileList: fileList
|
|
96
97
|
});
|
|
97
98
|
};
|
package/lib/utils/index.js
CHANGED
|
File without changes
|
package/lowcode.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,163 +1,164 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@luck-design-biz/luckda",
|
|
3
|
-
"version": "0.0.22-
|
|
4
|
-
"description": "前端配置管理中心业务组件库",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",
|
|
7
|
-
"build": "umi build",
|
|
8
|
-
"build-biz": "npm run meta && father build",
|
|
9
|
-
"async": "npm run build-biz && yalc push",
|
|
10
|
-
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
|
|
11
|
-
"release": "npm run build-biz && npm publish",
|
|
12
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
13
|
-
"test": "umi-test",
|
|
14
|
-
"test:coverage": "umi-test --coverage",
|
|
15
|
-
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e js,jsx,less --debug -x 'tnpm run async'",
|
|
16
|
-
"meta": "node generateMeta.js"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"es",
|
|
20
|
-
"lib",
|
|
21
|
-
"utils.js",
|
|
22
|
-
"upload.js",
|
|
23
|
-
"lowcode.js"
|
|
24
|
-
],
|
|
25
|
-
"main": "lib/index.js",
|
|
26
|
-
"module": "es/index.js",
|
|
27
|
-
"gitHooks": {
|
|
28
|
-
"pre-commit": "lint-staged"
|
|
29
|
-
},
|
|
30
|
-
"engines": {
|
|
31
|
-
"node": ">=16",
|
|
32
|
-
"pnpm": ">=7.14.0"
|
|
33
|
-
},
|
|
34
|
-
"license": "MIT",
|
|
35
|
-
"repository": {
|
|
36
|
-
"type": "git",
|
|
37
|
-
"url": "git+https://github.com/xieyt203/luck-biz-components.git",
|
|
38
|
-
"branch": "main"
|
|
39
|
-
},
|
|
40
|
-
"lint-staged": {
|
|
41
|
-
"**/*.less": "stylelint --syntax less",
|
|
42
|
-
"**/*.{js,jsx,tsx,ts,less,md,json}": [
|
|
43
|
-
"prettier --write",
|
|
44
|
-
"git add"
|
|
45
|
-
],
|
|
46
|
-
"**/*.{js,ts,jsx,tsx}": "npm run lint-staged:js"
|
|
47
|
-
},
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@ahooksjs/use-url-state": "^3.5.1",
|
|
50
|
-
"@babel/runtime": "^7.18.9",
|
|
51
|
-
"@babel/standalone": "^7.24.0",
|
|
52
|
-
"@dnd-kit/core": "^6.1.0",
|
|
53
|
-
"@dnd-kit/sortable": "^8.0.0",
|
|
54
|
-
"@dnd-kit/utilities": "^3.2.2",
|
|
55
|
-
"ahooks": "^3.7.0",
|
|
56
|
-
"classnames": "^2.3.1",
|
|
57
|
-
"lodash": "^4.17.11",
|
|
58
|
-
"lz-string": "^1.5.0",
|
|
59
|
-
"moment": "^2.24.0",
|
|
60
|
-
"monaco-editor": "0.30.*",
|
|
61
|
-
"prop-types": "^15.8.1",
|
|
62
|
-
"querystring": "^0.2.0",
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"@babel/
|
|
70
|
-
"@babel/
|
|
71
|
-
"@babel/plugin-proposal-
|
|
72
|
-
"@babel/plugin-
|
|
73
|
-
"@babel/
|
|
74
|
-
"@
|
|
75
|
-
"@luck-design-biz/
|
|
76
|
-
"@luck-
|
|
77
|
-
"@
|
|
78
|
-
"@types/
|
|
79
|
-
"@types/
|
|
80
|
-
"@types/
|
|
81
|
-
"@types/
|
|
82
|
-
"@types/
|
|
83
|
-
"@types/react
|
|
84
|
-
"@types/react-
|
|
85
|
-
"@
|
|
86
|
-
"@umijs/
|
|
87
|
-
"@umijs/
|
|
88
|
-
"
|
|
89
|
-
"bpmn-js
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"cross-
|
|
96
|
-
"cross-
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"eslint
|
|
102
|
-
"eslint-plugin-
|
|
103
|
-
"eslint-plugin-react
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"import-sort-
|
|
111
|
-
"import-sort-parser-
|
|
112
|
-
"import-sort-
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"react-
|
|
129
|
-
"react-
|
|
130
|
-
"react-dnd
|
|
131
|
-
"react-
|
|
132
|
-
"react-
|
|
133
|
-
"react-
|
|
134
|
-
"react-
|
|
135
|
-
"react-
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"umi
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"@luck-design-biz/
|
|
146
|
-
"luck-design": ">=0.1
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@luck-design-biz/luckda",
|
|
3
|
+
"version": "0.0.22-6",
|
|
4
|
+
"description": "前端配置管理中心业务组件库",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",
|
|
7
|
+
"build": "umi build",
|
|
8
|
+
"build-biz": "npm run meta && father build",
|
|
9
|
+
"async": "npm run build-biz && yalc push",
|
|
10
|
+
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
|
|
11
|
+
"release": "npm run build-biz && npm publish",
|
|
12
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
13
|
+
"test": "umi-test",
|
|
14
|
+
"test:coverage": "umi-test --coverage",
|
|
15
|
+
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e js,jsx,less --debug -x 'tnpm run async'",
|
|
16
|
+
"meta": "node generateMeta.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"es",
|
|
20
|
+
"lib",
|
|
21
|
+
"utils.js",
|
|
22
|
+
"upload.js",
|
|
23
|
+
"lowcode.js"
|
|
24
|
+
],
|
|
25
|
+
"main": "lib/index.js",
|
|
26
|
+
"module": "es/index.js",
|
|
27
|
+
"gitHooks": {
|
|
28
|
+
"pre-commit": "lint-staged"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=16",
|
|
32
|
+
"pnpm": ">=7.14.0"
|
|
33
|
+
},
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "git+https://github.com/xieyt203/luck-biz-components.git",
|
|
38
|
+
"branch": "main"
|
|
39
|
+
},
|
|
40
|
+
"lint-staged": {
|
|
41
|
+
"**/*.less": "stylelint --syntax less",
|
|
42
|
+
"**/*.{js,jsx,tsx,ts,less,md,json}": [
|
|
43
|
+
"prettier --write",
|
|
44
|
+
"git add"
|
|
45
|
+
],
|
|
46
|
+
"**/*.{js,ts,jsx,tsx}": "npm run lint-staged:js"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@ahooksjs/use-url-state": "^3.5.1",
|
|
50
|
+
"@babel/runtime": "^7.18.9",
|
|
51
|
+
"@babel/standalone": "^7.24.0",
|
|
52
|
+
"@dnd-kit/core": "^6.1.0",
|
|
53
|
+
"@dnd-kit/sortable": "^8.0.0",
|
|
54
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
55
|
+
"ahooks": "^3.7.0",
|
|
56
|
+
"classnames": "^2.3.1",
|
|
57
|
+
"lodash": "^4.17.11",
|
|
58
|
+
"lz-string": "^1.5.0",
|
|
59
|
+
"moment": "^2.24.0",
|
|
60
|
+
"monaco-editor": "0.30.*",
|
|
61
|
+
"prop-types": "^15.8.1",
|
|
62
|
+
"querystring": "^0.2.0",
|
|
63
|
+
"rc-queue-anim": "^2.0.0",
|
|
64
|
+
"react": "^16.12.0"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@amap/amap-jsapi-loader": "^0.0.7",
|
|
68
|
+
"@ant-design/pro-cli": "^1.0.28",
|
|
69
|
+
"@babel/core": "^7.20.2",
|
|
70
|
+
"@babel/eslint-parser": "^7.19.1",
|
|
71
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
72
|
+
"@babel/plugin-proposal-decorators": "^7.20.2",
|
|
73
|
+
"@babel/plugin-transform-strict-mode": "^7.18.6",
|
|
74
|
+
"@babel/polyfill": "^7.12.1",
|
|
75
|
+
"@luck-design-biz/base": "0.0.41-1",
|
|
76
|
+
"@luck-design-biz/bpm": "0.0.3",
|
|
77
|
+
"@luck-helper/ui-design": "0.0.4-4",
|
|
78
|
+
"@types/classnames": "^2.3.1",
|
|
79
|
+
"@types/express": "^4.17.14",
|
|
80
|
+
"@types/history": "^4.7.11",
|
|
81
|
+
"@types/lodash": "^4.14.189",
|
|
82
|
+
"@types/qs": "^6.9.7",
|
|
83
|
+
"@types/react": "^16.14.34",
|
|
84
|
+
"@types/react-dom": "^16.9.17",
|
|
85
|
+
"@types/react-helmet": "^5.0.20",
|
|
86
|
+
"@umijs/fabric": "^2.14.0",
|
|
87
|
+
"@umijs/plugin-qiankun": "^2.41.0",
|
|
88
|
+
"@umijs/preset-react": "~1.8.31",
|
|
89
|
+
"bpmn-js": "^7.5.0",
|
|
90
|
+
"bpmn-js-properties-panel": "^0.35.0",
|
|
91
|
+
"chalk": "^3.0.0",
|
|
92
|
+
"check-prettier": "^1.0.3",
|
|
93
|
+
"compression-webpack-plugin": "^6.1.1",
|
|
94
|
+
"core-js": "^3.26.1",
|
|
95
|
+
"cross-env": "^6.0.3",
|
|
96
|
+
"cross-port-killer": "^1.4.0",
|
|
97
|
+
"cross-var": "^1.1.0",
|
|
98
|
+
"d3-selection": "^1.4.2",
|
|
99
|
+
"dry-dry": "^0.4.0",
|
|
100
|
+
"enzyme": "^3.11.0",
|
|
101
|
+
"eslint": "^7.32.0",
|
|
102
|
+
"eslint-plugin-babel": "^5.3.1",
|
|
103
|
+
"eslint-plugin-react": "^7.31.10",
|
|
104
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
105
|
+
"express": "^4.18.2",
|
|
106
|
+
"father": "^4.3.1",
|
|
107
|
+
"gh-pages": "^2.2.0",
|
|
108
|
+
"gm-crypt": "^0.0.2",
|
|
109
|
+
"husky": "^7.0.4",
|
|
110
|
+
"import-sort-cli": "^6.0.0",
|
|
111
|
+
"import-sort-parser-babylon": "^6.0.0",
|
|
112
|
+
"import-sort-parser-typescript": "^6.0.0",
|
|
113
|
+
"import-sort-style-module": "^6.0.0",
|
|
114
|
+
"js-cookie": "^2.2.1",
|
|
115
|
+
"jsdom-global": "^3.0.2",
|
|
116
|
+
"lint-staged": "^11.2.6",
|
|
117
|
+
"luck-design": "0.1.72",
|
|
118
|
+
"monaco-editor-webpack-plugin": "6.*.*",
|
|
119
|
+
"node-fetch": "^2.6.7",
|
|
120
|
+
"nprogress": "^0.2.0",
|
|
121
|
+
"only-allow": "^1.1.1",
|
|
122
|
+
"prettier": "^2.7.1",
|
|
123
|
+
"pro-download": "1.0.1",
|
|
124
|
+
"promise-sequential": "^1.1.1",
|
|
125
|
+
"qrcode.react": "^1.0.1",
|
|
126
|
+
"qs": "^6.11.0",
|
|
127
|
+
"raphael": "^2.3.0",
|
|
128
|
+
"react-copy-to-clipboard": "^5.1.0",
|
|
129
|
+
"react-device-detect": "^1.17.0",
|
|
130
|
+
"react-dnd": "^9.5.1",
|
|
131
|
+
"react-dnd-html5-backend": "^9.5.1",
|
|
132
|
+
"react-dom": "^16.14.0",
|
|
133
|
+
"react-helmet": "^5.2.1",
|
|
134
|
+
"react-iframe": "^1.8.5",
|
|
135
|
+
"react-loading": "^2.0.3",
|
|
136
|
+
"react-viewer": "^3.2.2",
|
|
137
|
+
"resizable": "^1.2.1",
|
|
138
|
+
"slash2": "^2.0.0",
|
|
139
|
+
"stylelint": "^13.13.1",
|
|
140
|
+
"umi": "^3.5.35",
|
|
141
|
+
"umi-types": "^0.5.14",
|
|
142
|
+
"yorkie": "2.0.0"
|
|
143
|
+
},
|
|
144
|
+
"peerDependencies": {
|
|
145
|
+
"@luck-design-biz/base": ">= 0.0.10",
|
|
146
|
+
"@luck-design-biz/bpm": ">= 0.0.1",
|
|
147
|
+
"luck-design": ">=0.1.51",
|
|
148
|
+
"uuid": "^9.0.1"
|
|
149
|
+
},
|
|
150
|
+
"pnpm": {
|
|
151
|
+
"overrides": {
|
|
152
|
+
"immer": "^2.1.1"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"bugs": {
|
|
156
|
+
"url": "https://github.com/xieyt203/luck-biz-components/issues"
|
|
157
|
+
},
|
|
158
|
+
"homepage": "https://github.com/xieyt203/luck-biz-components#readme",
|
|
159
|
+
"directories": {
|
|
160
|
+
"doc": "docs",
|
|
161
|
+
"lib": "lib"
|
|
162
|
+
},
|
|
163
|
+
"author": ""
|
|
164
|
+
}
|
package/upload.js
CHANGED
|
File without changes
|
package/utils.js
CHANGED
|
File without changes
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
2
|
-
var chars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
|
|
3
|
-
export default function generateShortUuid() {
|
|
4
|
-
var toLowerCase = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
5
|
-
var shortBuffer = '';
|
|
6
|
-
var uuid = uuidv4().replace(/-/g, '');
|
|
7
|
-
for (var i = 0; i < 8; i++) {
|
|
8
|
-
var str = uuid.substring(i * 4, i * 4 + 4);
|
|
9
|
-
var x = parseInt(str, 16);
|
|
10
|
-
shortBuffer += chars[x % 0x3e];
|
|
11
|
-
}
|
|
12
|
-
if (toLowerCase) {
|
|
13
|
-
return shortBuffer.toLowerCase();
|
|
14
|
-
}
|
|
15
|
-
return shortBuffer;
|
|
16
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = generateShortUuid;
|
|
7
|
-
var _uuid = require("uuid");
|
|
8
|
-
var chars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
|
|
9
|
-
function generateShortUuid() {
|
|
10
|
-
var toLowerCase = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
11
|
-
var shortBuffer = '';
|
|
12
|
-
var uuid = (0, _uuid.v4)().replace(/-/g, '');
|
|
13
|
-
for (var i = 0; i < 8; i++) {
|
|
14
|
-
var str = uuid.substring(i * 4, i * 4 + 4);
|
|
15
|
-
var x = parseInt(str, 16);
|
|
16
|
-
shortBuffer += chars[x % 0x3e];
|
|
17
|
-
}
|
|
18
|
-
if (toLowerCase) {
|
|
19
|
-
return shortBuffer.toLowerCase();
|
|
20
|
-
}
|
|
21
|
-
return shortBuffer;
|
|
22
|
-
}
|