@luck-design-biz/luckda 0.0.26 → 0.0.27-2
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/locales/zh-CN.js +236 -0
- package/es/lowcode/constants/api-url.js +0 -0
- package/es/lowcode/constants/event-topics.js +0 -0
- package/es/lowcode/constants/index.js +0 -0
- package/es/lowcode/engine/factory/DataFactory.js +0 -0
- package/es/lowcode/engine/meta/box.props.default.json +13 -0
- package/es/lowcode/engine/meta/box.props.json +40 -0
- package/es/lowcode/engine/meta/button.props.default.json +0 -0
- package/es/lowcode/engine/meta/button.props.json +127 -0
- package/es/lowcode/engine/meta/cardlist.props.default.json +0 -0
- package/es/lowcode/engine/meta/cardlist.props.json +153 -0
- package/es/lowcode/engine/meta/components/button.json +0 -0
- package/es/lowcode/engine/meta/components/card-list.json +0 -0
- package/es/lowcode/engine/meta/components/drawer.json +0 -0
- package/es/lowcode/engine/meta/components/form.json +0 -0
- package/es/lowcode/engine/meta/components/iframe.json +0 -0
- package/es/lowcode/engine/meta/components/image.json +0 -0
- package/es/lowcode/engine/meta/components/imex.json +0 -0
- package/es/lowcode/engine/meta/components/jsx.json +0 -0
- package/es/lowcode/engine/meta/components/layout.json +0 -0
- package/es/lowcode/engine/meta/components/link.json +0 -0
- package/es/lowcode/engine/meta/components/modal.json +0 -0
- package/es/lowcode/engine/meta/components/section.json +0 -0
- package/es/lowcode/engine/meta/components/split.json +0 -0
- package/es/lowcode/engine/meta/components/table.json +0 -0
- package/es/lowcode/engine/meta/components/tabs.json +0 -0
- package/es/lowcode/engine/meta/components/text.json +0 -0
- package/es/lowcode/engine/meta/components/tree.json +0 -0
- package/es/lowcode/engine/meta/components-list.json +0 -0
- package/es/lowcode/engine/meta/dialog.props.default.json +27 -0
- package/es/lowcode/engine/meta/dialog.props.json +157 -0
- package/es/lowcode/engine/meta/drawer.props.default.json +0 -0
- package/es/lowcode/engine/meta/drawer.props.json +131 -0
- package/es/lowcode/engine/meta/fieldcolor.props.default.json +19 -0
- package/es/lowcode/engine/meta/fieldcolor.props.json +159 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
- package/es/lowcode/engine/meta/fieldcomplex.props.json +39 -0
- package/es/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
- package/es/lowcode/engine/meta/fielddatadic.props.json +73 -0
- package/es/lowcode/engine/meta/fielddate.props.default.json +12 -0
- package/es/lowcode/engine/meta/fielddate.props.json +47 -0
- package/es/lowcode/engine/meta/fielddict.props.default.json +19 -0
- package/es/lowcode/engine/meta/fielddict.props.json +140 -0
- package/es/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
- package/es/lowcode/engine/meta/fieldeditor.props.json +44 -0
- package/es/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
- package/es/lowcode/engine/meta/fieldgroup.props.json +73 -0
- package/es/lowcode/engine/meta/fieldnumber.props.default.json +20 -0
- package/es/lowcode/engine/meta/fieldnumber.props.json +145 -0
- package/es/lowcode/engine/meta/fieldradio.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldradio.props.json +20 -0
- package/es/lowcode/engine/meta/fieldregion.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldregion.props.json +26 -0
- package/es/lowcode/engine/meta/fieldselect.props.default.json +14 -0
- package/es/lowcode/engine/meta/fieldselect.props.json +58 -0
- package/es/lowcode/engine/meta/fieldstring.props.default.json +17 -0
- package/es/lowcode/engine/meta/fieldstring.props.json +154 -0
- package/es/lowcode/engine/meta/fieldswitch.props.default.json +17 -0
- package/es/lowcode/engine/meta/fieldswitch.props.json +127 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.default.json +18 -0
- package/es/lowcode/engine/meta/fieldtextarea.props.json +145 -0
- package/es/lowcode/engine/meta/fieldupload.props.default.json +15 -0
- package/es/lowcode/engine/meta/fieldupload.props.json +71 -0
- package/es/lowcode/engine/meta/fielduser.props.default.json +16 -0
- package/es/lowcode/engine/meta/fielduser.props.json +82 -0
- package/es/lowcode/engine/meta/fieldyear.props.default.json +12 -0
- package/es/lowcode/engine/meta/fieldyear.props.json +37 -0
- package/es/lowcode/engine/meta/form.props.default.json +0 -0
- package/es/lowcode/engine/meta/form.props.json +650 -0
- package/es/lowcode/engine/meta/iframe.props.default.json +0 -0
- package/es/lowcode/engine/meta/iframe.props.json +32 -0
- package/es/lowcode/engine/meta/image.props.default.json +0 -0
- package/es/lowcode/engine/meta/image.props.json +114 -0
- package/es/lowcode/engine/meta/imex.props.default.json +0 -0
- package/es/lowcode/engine/meta/imex.props.json +114 -0
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +205 -0
- package/es/lowcode/engine/meta/jsx.props.default.json +0 -0
- package/es/lowcode/engine/meta/jsx.props.json +30 -0
- package/es/lowcode/engine/meta/layout.props.default.json +0 -0
- package/es/lowcode/engine/meta/layout.props.json +107 -0
- package/es/lowcode/engine/meta/link.props.default.json +0 -0
- package/es/lowcode/engine/meta/link.props.json +112 -0
- package/es/lowcode/engine/meta/modal.props.default.json +0 -0
- package/es/lowcode/engine/meta/page.props.default.json +12 -0
- package/es/lowcode/engine/meta/page.props.json +49 -0
- package/es/lowcode/engine/meta/pagecontent.props.default.json +6 -0
- package/es/lowcode/engine/meta/pagecontent.props.json +7 -0
- package/es/lowcode/engine/meta/pagefooter.props.default.json +6 -0
- package/es/lowcode/engine/meta/pagefooter.props.json +7 -0
- package/es/lowcode/engine/meta/pageheader.props.default.json +6 -0
- package/es/lowcode/engine/meta/pageheader.props.json +7 -0
- package/es/lowcode/engine/meta/pagelayout.props.default.json +14 -0
- package/es/lowcode/engine/meta/pagelayout.props.json +47 -0
- package/es/lowcode/engine/meta/section.props.default.json +0 -0
- package/es/lowcode/engine/meta/section.props.json +111 -0
- package/es/lowcode/engine/meta/split.props.default.json +0 -0
- package/es/lowcode/engine/meta/split.props.json +57 -0
- package/es/lowcode/engine/meta/table.props.default.json +0 -0
- package/es/lowcode/engine/meta/table.props.json +444 -0
- package/es/lowcode/engine/meta/tabs.props.default.json +0 -0
- package/es/lowcode/engine/meta/tabs.props.json +117 -0
- package/es/lowcode/engine/meta/text.props.default.json +0 -0
- package/es/lowcode/engine/meta/text.props.json +66 -0
- package/es/lowcode/engine/meta/tree.props.default.json +0 -0
- package/es/lowcode/engine/meta/tree.props.json +366 -0
- package/es/lowcode/engine/provider/ContextProvider.js +0 -0
- package/es/lowcode/engine/provider/EventBusProvider.js +0 -0
- package/es/lowcode/engine/tools/dataProcess.js +0 -0
- package/es/lowcode/engine/tools/helper.js +0 -0
- package/es/lowcode/engine/tools/lcid.js +0 -0
- package/es/lowcode/index.js +0 -0
- package/es/lowcode/painter/Components.js +0 -0
- package/es/lowcode/painter/Design.js +0 -0
- package/es/lowcode/painter/I18n.js +0 -0
- package/es/lowcode/painter/Outline.js +0 -0
- package/es/lowcode/painter/Panel.js +0 -0
- package/es/lowcode/painter/Ribbon.js +0 -0
- package/es/lowcode/painter/components/PanelItem.js +0 -0
- package/es/lowcode/painter/components/RuleInput.js +0 -0
- package/es/lowcode/painter/index.js +0 -0
- package/es/lowcode/painter/panel-section/LayoutRatio.js +0 -0
- package/es/lowcode/painter/panel-section/Radio.js +0 -0
- package/es/lowcode/painter/style/components.less +0 -0
- package/es/lowcode/painter/style/design.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/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/view/Canvas.js +0 -0
- package/es/lowcode/view/Loading.js +0 -0
- package/es/lowcode/view/Page.js +0 -0
- package/es/lowcode/view/index.js +0 -0
- package/es/lowcode/view/lc-components/Box/index.js +0 -0
- package/es/lowcode/view/lc-components/Button/index.js +0 -0
- package/es/lowcode/view/lc-components/CardList/index.js +0 -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/Drawer/index.js +0 -0
- package/es/lowcode/view/lc-components/Form/index.js +0 -0
- package/es/lowcode/view/lc-components/Iframe/index.js +0 -0
- package/es/lowcode/view/lc-components/ImEx/index.js +0 -0
- package/es/lowcode/view/lc-components/Image/index.js +0 -0
- package/es/lowcode/view/lc-components/JSX/index.js +0 -0
- package/es/lowcode/view/lc-components/Layout/index.js +0 -0
- package/es/lowcode/view/lc-components/Link/index.js +0 -0
- package/es/lowcode/view/lc-components/Section/index.js +0 -0
- package/es/lowcode/view/lc-components/Split/index.js +0 -0
- package/es/lowcode/view/lc-components/Table/index.js +0 -0
- package/es/lowcode/view/lc-components/Tabs/index.js +0 -0
- package/es/lowcode/view/lc-components/Text/index.js +0 -0
- package/es/lowcode/view/lc-components/Tree/index.js +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 +17 -2
- package/es/upload/Form/index.js +11 -0
- package/es/upload/Form/index.less +0 -0
- package/es/upload/FormItem/index.js +5 -6
- 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 +7 -7
- package/es/utils/grid.js +9 -3
- 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/locales/zh-CN.js +242 -0
- package/lib/lowcode/constants/api-url.js +0 -0
- package/lib/lowcode/constants/event-topics.js +0 -0
- package/lib/lowcode/constants/index.js +0 -0
- package/lib/lowcode/engine/factory/DataFactory.js +0 -0
- package/lib/lowcode/engine/meta/box.props.default.json +13 -0
- package/lib/lowcode/engine/meta/box.props.json +40 -0
- package/lib/lowcode/engine/meta/button.props.default.json +0 -0
- package/lib/lowcode/engine/meta/button.props.json +127 -0
- package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -0
- package/lib/lowcode/engine/meta/cardlist.props.json +153 -0
- package/lib/lowcode/engine/meta/components/button.json +0 -0
- package/lib/lowcode/engine/meta/components/card-list.json +0 -0
- package/lib/lowcode/engine/meta/components/drawer.json +0 -0
- package/lib/lowcode/engine/meta/components/form.json +0 -0
- package/lib/lowcode/engine/meta/components/iframe.json +0 -0
- package/lib/lowcode/engine/meta/components/image.json +0 -0
- package/lib/lowcode/engine/meta/components/imex.json +0 -0
- package/lib/lowcode/engine/meta/components/jsx.json +0 -0
- package/lib/lowcode/engine/meta/components/layout.json +0 -0
- package/lib/lowcode/engine/meta/components/link.json +0 -0
- package/lib/lowcode/engine/meta/components/modal.json +0 -0
- package/lib/lowcode/engine/meta/components/section.json +0 -0
- package/lib/lowcode/engine/meta/components/split.json +0 -0
- package/lib/lowcode/engine/meta/components/table.json +0 -0
- package/lib/lowcode/engine/meta/components/tabs.json +0 -0
- package/lib/lowcode/engine/meta/components/text.json +0 -0
- package/lib/lowcode/engine/meta/components/tree.json +0 -0
- package/lib/lowcode/engine/meta/components-list.json +0 -0
- package/lib/lowcode/engine/meta/dialog.props.default.json +27 -0
- package/lib/lowcode/engine/meta/dialog.props.json +157 -0
- package/lib/lowcode/engine/meta/drawer.props.default.json +0 -0
- package/lib/lowcode/engine/meta/drawer.props.json +131 -0
- package/lib/lowcode/engine/meta/fieldcolor.props.default.json +19 -0
- package/lib/lowcode/engine/meta/fieldcolor.props.json +159 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
- package/lib/lowcode/engine/meta/fieldcomplex.props.json +39 -0
- package/lib/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
- package/lib/lowcode/engine/meta/fielddatadic.props.json +73 -0
- package/lib/lowcode/engine/meta/fielddate.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fielddate.props.json +47 -0
- package/lib/lowcode/engine/meta/fielddict.props.default.json +19 -0
- package/lib/lowcode/engine/meta/fielddict.props.json +140 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
- package/lib/lowcode/engine/meta/fieldeditor.props.json +44 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
- package/lib/lowcode/engine/meta/fieldgroup.props.json +73 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.default.json +20 -0
- package/lib/lowcode/engine/meta/fieldnumber.props.json +145 -0
- package/lib/lowcode/engine/meta/fieldradio.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldradio.props.json +20 -0
- package/lib/lowcode/engine/meta/fieldregion.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldregion.props.json +26 -0
- package/lib/lowcode/engine/meta/fieldselect.props.default.json +14 -0
- package/lib/lowcode/engine/meta/fieldselect.props.json +58 -0
- package/lib/lowcode/engine/meta/fieldstring.props.default.json +17 -0
- package/lib/lowcode/engine/meta/fieldstring.props.json +154 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.default.json +17 -0
- package/lib/lowcode/engine/meta/fieldswitch.props.json +127 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +18 -0
- package/lib/lowcode/engine/meta/fieldtextarea.props.json +145 -0
- package/lib/lowcode/engine/meta/fieldupload.props.default.json +15 -0
- package/lib/lowcode/engine/meta/fieldupload.props.json +71 -0
- package/lib/lowcode/engine/meta/fielduser.props.default.json +16 -0
- package/lib/lowcode/engine/meta/fielduser.props.json +82 -0
- package/lib/lowcode/engine/meta/fieldyear.props.default.json +12 -0
- package/lib/lowcode/engine/meta/fieldyear.props.json +37 -0
- package/lib/lowcode/engine/meta/form.props.default.json +0 -0
- package/lib/lowcode/engine/meta/form.props.json +650 -0
- package/lib/lowcode/engine/meta/iframe.props.default.json +0 -0
- package/lib/lowcode/engine/meta/iframe.props.json +32 -0
- package/lib/lowcode/engine/meta/image.props.default.json +0 -0
- package/lib/lowcode/engine/meta/image.props.json +114 -0
- package/lib/lowcode/engine/meta/imex.props.default.json +0 -0
- package/lib/lowcode/engine/meta/imex.props.json +114 -0
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +205 -0
- package/lib/lowcode/engine/meta/jsx.props.default.json +0 -0
- package/lib/lowcode/engine/meta/jsx.props.json +30 -0
- package/lib/lowcode/engine/meta/layout.props.default.json +0 -0
- package/lib/lowcode/engine/meta/layout.props.json +107 -0
- package/lib/lowcode/engine/meta/link.props.default.json +0 -0
- package/lib/lowcode/engine/meta/link.props.json +112 -0
- package/lib/lowcode/engine/meta/modal.props.default.json +0 -0
- package/lib/lowcode/engine/meta/page.props.default.json +12 -0
- package/lib/lowcode/engine/meta/page.props.json +49 -0
- package/lib/lowcode/engine/meta/pagecontent.props.default.json +6 -0
- package/lib/lowcode/engine/meta/pagecontent.props.json +7 -0
- package/lib/lowcode/engine/meta/pagefooter.props.default.json +6 -0
- package/lib/lowcode/engine/meta/pagefooter.props.json +7 -0
- package/lib/lowcode/engine/meta/pageheader.props.default.json +6 -0
- package/lib/lowcode/engine/meta/pageheader.props.json +7 -0
- package/lib/lowcode/engine/meta/pagelayout.props.default.json +14 -0
- package/lib/lowcode/engine/meta/pagelayout.props.json +47 -0
- package/lib/lowcode/engine/meta/section.props.default.json +0 -0
- package/lib/lowcode/engine/meta/section.props.json +111 -0
- package/lib/lowcode/engine/meta/split.props.default.json +0 -0
- package/lib/lowcode/engine/meta/split.props.json +57 -0
- package/lib/lowcode/engine/meta/table.props.default.json +0 -0
- package/lib/lowcode/engine/meta/table.props.json +444 -0
- package/lib/lowcode/engine/meta/tabs.props.default.json +0 -0
- package/lib/lowcode/engine/meta/tabs.props.json +117 -0
- package/lib/lowcode/engine/meta/text.props.default.json +0 -0
- package/lib/lowcode/engine/meta/text.props.json +66 -0
- package/lib/lowcode/engine/meta/tree.props.default.json +0 -0
- package/lib/lowcode/engine/meta/tree.props.json +366 -0
- package/lib/lowcode/engine/provider/ContextProvider.js +0 -0
- package/lib/lowcode/engine/provider/EventBusProvider.js +0 -0
- package/lib/lowcode/engine/tools/dataProcess.js +0 -0
- package/lib/lowcode/engine/tools/helper.js +0 -0
- package/lib/lowcode/engine/tools/lcid.js +0 -0
- package/lib/lowcode/index.js +0 -0
- package/lib/lowcode/painter/Components.js +0 -0
- package/lib/lowcode/painter/Design.js +0 -0
- package/lib/lowcode/painter/I18n.js +0 -0
- package/lib/lowcode/painter/Outline.js +0 -0
- package/lib/lowcode/painter/Panel.js +0 -0
- package/lib/lowcode/painter/Ribbon.js +0 -0
- package/lib/lowcode/painter/components/PanelItem.js +0 -0
- package/lib/lowcode/painter/components/RuleInput.js +0 -0
- package/lib/lowcode/painter/index.js +0 -0
- package/lib/lowcode/painter/panel-section/LayoutRatio.js +0 -0
- package/lib/lowcode/painter/panel-section/Radio.js +0 -0
- package/lib/lowcode/painter/style/components.less +0 -0
- package/lib/lowcode/painter/style/design.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/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/view/Canvas.js +0 -0
- package/lib/lowcode/view/Loading.js +0 -0
- package/lib/lowcode/view/Page.js +0 -0
- package/lib/lowcode/view/index.js +0 -0
- package/lib/lowcode/view/lc-components/Box/index.js +0 -0
- package/lib/lowcode/view/lc-components/Button/index.js +0 -0
- package/lib/lowcode/view/lc-components/CardList/index.js +0 -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/Drawer/index.js +0 -0
- package/lib/lowcode/view/lc-components/Form/index.js +0 -0
- package/lib/lowcode/view/lc-components/Iframe/index.js +0 -0
- package/lib/lowcode/view/lc-components/ImEx/index.js +0 -0
- package/lib/lowcode/view/lc-components/Image/index.js +0 -0
- package/lib/lowcode/view/lc-components/JSX/index.js +0 -0
- package/lib/lowcode/view/lc-components/Layout/index.js +0 -0
- package/lib/lowcode/view/lc-components/Link/index.js +0 -0
- package/lib/lowcode/view/lc-components/Section/index.js +0 -0
- package/lib/lowcode/view/lc-components/Split/index.js +0 -0
- package/lib/lowcode/view/lc-components/Table/index.js +0 -0
- package/lib/lowcode/view/lc-components/Tabs/index.js +0 -0
- package/lib/lowcode/view/lc-components/Text/index.js +0 -0
- package/lib/lowcode/view/lc-components/Tree/index.js +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 +17 -2
- package/lib/upload/Form/index.js +11 -0
- package/lib/upload/Form/index.less +0 -0
- package/lib/upload/FormItem/index.js +5 -6
- 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 +5 -5
- package/lib/utils/grid.js +10 -4
- package/lib/utils/index.js +0 -0
- package/lowcode.js +0 -0
- package/package.json +1 -1
- package/upload.js +0 -0
- package/utils.js +0 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "CardList",
|
|
3
|
+
"name": "卡片列表",
|
|
4
|
+
"desc": "用于以卡片的形式展示相关的信息或内容列表。它提供了一种可视化的方式来呈现多个项目,每个项目通常由一个卡片表示,包含相关的文本、图像和其他元素。",
|
|
5
|
+
"icon": "icon-cardlist",
|
|
6
|
+
"group": "advance",
|
|
7
|
+
"groupName": "高级",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"desc": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "dataset",
|
|
18
|
+
"name": "数据集",
|
|
19
|
+
"type": "_DataSetSelector",
|
|
20
|
+
"component": "table",
|
|
21
|
+
"next": {
|
|
22
|
+
"name": "字段配置",
|
|
23
|
+
"props": [
|
|
24
|
+
{
|
|
25
|
+
"key": "fields",
|
|
26
|
+
"name": "#字段配置器",
|
|
27
|
+
"type": "_FieldsSetting"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"key": "autoLoad",
|
|
34
|
+
"name": "首次数据自动加载",
|
|
35
|
+
"desc": "首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": true
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"key": "readOnly",
|
|
41
|
+
"name": "是否只读",
|
|
42
|
+
"desc": "卡片列表是否只读",
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"default": false
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"key": "isFlow",
|
|
48
|
+
"name": "是否流式",
|
|
49
|
+
"desc": "是否流式(不分页)",
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"default": false
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"key": "defaultPageSize",
|
|
55
|
+
"name": "默认分页数",
|
|
56
|
+
"desc": "isFlow为false时设置,默认单页分页数",
|
|
57
|
+
"type": "number",
|
|
58
|
+
"default": 30
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"key": "batchOperations",
|
|
62
|
+
"name": "批量操作",
|
|
63
|
+
"desc": "批量操作配置",
|
|
64
|
+
"type": "_CardListActionSelector"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"key": "actionTitle",
|
|
68
|
+
"name": "操作列标题",
|
|
69
|
+
"desc": "操作列的标题",
|
|
70
|
+
"type": "_I18nInput",
|
|
71
|
+
"default": "操作列"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"key": "actionWidth",
|
|
75
|
+
"name": "操作列宽度",
|
|
76
|
+
"desc": "操作列宽度设置",
|
|
77
|
+
"type": "number",
|
|
78
|
+
"default": 100
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"key": "actionHidden",
|
|
82
|
+
"name": "操作列是否隐藏",
|
|
83
|
+
"desc": "操作列是否隐藏",
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"default": false
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"key": "maxWebShownActionCount",
|
|
89
|
+
"name": "操作列最大展示数",
|
|
90
|
+
"desc": "操作列最大展示数,超出最大数变为最大展示数-1+更多",
|
|
91
|
+
"type": "number",
|
|
92
|
+
"default": 2
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"key": "actions",
|
|
96
|
+
"name": "操作项",
|
|
97
|
+
"desc": "单行操作项",
|
|
98
|
+
"type": "_ActionSelector"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"key": "batchActions",
|
|
102
|
+
"name": "批量操作项",
|
|
103
|
+
"desc": "批量操作项",
|
|
104
|
+
"type": "_ActionSelector"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"advance": {
|
|
108
|
+
"events": [
|
|
109
|
+
{
|
|
110
|
+
"key": "onMount",
|
|
111
|
+
"name": "组件首次渲染时",
|
|
112
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
113
|
+
"func": "(params)=>{\n\t\n}"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "onUnmount",
|
|
117
|
+
"name": "组件卸载时",
|
|
118
|
+
"desc": "在组件卸载时,执行方法。",
|
|
119
|
+
"func": "(params)=>{\n\t\n}"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"key": "onBatchOperationsClick",
|
|
123
|
+
"name": "批量操作点击",
|
|
124
|
+
"desc": "点击操作的回调函数",
|
|
125
|
+
"func": "(key, selectedRows)=>{\n\t\n}"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"key": "onActionClick",
|
|
129
|
+
"name": "操作列点击",
|
|
130
|
+
"desc": "点击操作的回调函数",
|
|
131
|
+
"func": "(itemData)=>{\n\t\n}"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"key": "actionRender",
|
|
135
|
+
"name": "操作列定制渲染",
|
|
136
|
+
"desc": "返回为false时,该操作不可见",
|
|
137
|
+
"func": "(title, rowData)=>{\n\t\n}"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"key": "onRowClick",
|
|
141
|
+
"name": "行单击",
|
|
142
|
+
"desc": "单击表格行时,执行方法",
|
|
143
|
+
"func": "(data, rowIndex, params)=>{\n\t\n}"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"key": "onCardRender",
|
|
147
|
+
"name": "操作列点击",
|
|
148
|
+
"desc": "点击操作的回调函数",
|
|
149
|
+
"func": "(itemData)=>{\n\t\n}"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "Dialog",
|
|
3
|
+
"name": "对话框",
|
|
4
|
+
"desc": "需要用户处理事务,又不希望跳转页面以致打断工作流程时,可以使用 Modal 在当前页面正中打开一个浮层,承载相应的操作。",
|
|
5
|
+
"icon": "icon-dialog",
|
|
6
|
+
"group": "basic",
|
|
7
|
+
"groupName": "基础",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"title": "对话框",
|
|
10
|
+
"width": "700px",
|
|
11
|
+
"height": "50vh",
|
|
12
|
+
"defaultOpen": false,
|
|
13
|
+
"destroyOnClose": true,
|
|
14
|
+
"mask": true,
|
|
15
|
+
"okText": "确定",
|
|
16
|
+
"cancelText": "取消",
|
|
17
|
+
"footer": true,
|
|
18
|
+
"btnGroup": {
|
|
19
|
+
"display": "button",
|
|
20
|
+
"max": 2,
|
|
21
|
+
"moreText": "操作",
|
|
22
|
+
"todoList": []
|
|
23
|
+
},
|
|
24
|
+
"advance": {
|
|
25
|
+
"events": {}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "Dialog",
|
|
3
|
+
"name": "对话框",
|
|
4
|
+
"desc": "需要用户处理事务,又不希望跳转页面以致打断工作流程时,可以使用 Modal 在当前页面正中打开一个浮层,承载相应的操作。",
|
|
5
|
+
"icon": "icon-dialog",
|
|
6
|
+
"group": "basic",
|
|
7
|
+
"groupName": "基础",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"name": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "title",
|
|
18
|
+
"name": "标题",
|
|
19
|
+
"desc": "对话框左上角的标题",
|
|
20
|
+
"type": "_I18nInput",
|
|
21
|
+
"default": "对话框"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": "width",
|
|
25
|
+
"name": "对话框宽度",
|
|
26
|
+
"type": "_WidthHeight",
|
|
27
|
+
"options": [
|
|
28
|
+
{
|
|
29
|
+
"label": "px",
|
|
30
|
+
"value": "px"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"label": "%",
|
|
34
|
+
"value": "%"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"label": "vw",
|
|
38
|
+
"value": "vw"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"label": "A",
|
|
42
|
+
"value": "auto"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"default": "700px"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"key": "height",
|
|
49
|
+
"name": "内容区高度",
|
|
50
|
+
"type": "_WidthHeight",
|
|
51
|
+
"options": [
|
|
52
|
+
{
|
|
53
|
+
"label": "px",
|
|
54
|
+
"value": "px"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"label": "vh",
|
|
58
|
+
"value": "vh"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"label": "A",
|
|
62
|
+
"value": "auto"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"default": "50vh"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"key": "defaultOpen",
|
|
69
|
+
"name": "默认显示",
|
|
70
|
+
"desc": "默认是否显示",
|
|
71
|
+
"type": "switch",
|
|
72
|
+
"default": false
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"key": "destroyOnClose",
|
|
76
|
+
"name": "关闭销毁",
|
|
77
|
+
"desc": "关闭时销毁对话框里的子元素",
|
|
78
|
+
"type": "switch",
|
|
79
|
+
"default": true
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"key": "mask",
|
|
83
|
+
"name": "显示遮罩",
|
|
84
|
+
"type": "switch",
|
|
85
|
+
"default": true
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"key": "okText",
|
|
89
|
+
"name": "确认文字",
|
|
90
|
+
"type": "_I18nInput",
|
|
91
|
+
"default": "确定"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"key": "cancelText",
|
|
95
|
+
"name": "取消文字",
|
|
96
|
+
"type": "_I18nInput",
|
|
97
|
+
"default": "取消"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"key": "footer",
|
|
101
|
+
"name": "显示footer",
|
|
102
|
+
"desc": "是否显示底部按钮区域",
|
|
103
|
+
"type": "switch",
|
|
104
|
+
"default": true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"key": "btnGroup",
|
|
108
|
+
"name": "按钮组",
|
|
109
|
+
"desc": "底部按钮区域的按钮组(参考按钮配置)",
|
|
110
|
+
"type": "_ActionsEditor",
|
|
111
|
+
"default": {
|
|
112
|
+
"display": "button",
|
|
113
|
+
"max": 2,
|
|
114
|
+
"moreText": "操作",
|
|
115
|
+
"todoList": []
|
|
116
|
+
},
|
|
117
|
+
"wrapper": "collapse",
|
|
118
|
+
"wrapperProps": {
|
|
119
|
+
"suppressIcon": true
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"advance": {
|
|
124
|
+
"events": [
|
|
125
|
+
{
|
|
126
|
+
"key": "onMount",
|
|
127
|
+
"name": "组件首次渲染时",
|
|
128
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
129
|
+
"func": "function onMount() {\n\t\n}"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"key": "onUnmount",
|
|
133
|
+
"name": "组件卸载时",
|
|
134
|
+
"desc": "在组件卸载时,执行方法。",
|
|
135
|
+
"func": "function onUnmount() {\n\t\n}"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"key": "onOpen",
|
|
139
|
+
"name": "对话框打开时",
|
|
140
|
+
"desc": "在对话框打开时,执行方法",
|
|
141
|
+
"func": "function onOpen() {\n\t\n}"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"key": "onClose",
|
|
145
|
+
"name": "对话框关闭时",
|
|
146
|
+
"desc": "在对话框打开时,执行方法,promise反馈false无法截断关闭",
|
|
147
|
+
"func": "function onClose() {\n\t\n}"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"key": "onOk",
|
|
151
|
+
"name": "确定按钮点击",
|
|
152
|
+
"desc": "点击确定按钮时,执行方法",
|
|
153
|
+
"func": "function onOk() {\n\t\n}"
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "Drawer",
|
|
3
|
+
"name": "抽屉",
|
|
4
|
+
"desc": "抽屉从父窗体边缘滑入,覆盖住部分父窗体内容。用户在抽屉内操作时不必离开当前任务,操作完成后,可以平滑地回到原任务。",
|
|
5
|
+
"icon": "icon-drawer",
|
|
6
|
+
"group": "basic",
|
|
7
|
+
"groupName": "基础",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "id",
|
|
12
|
+
"desc": "唯一标识",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"disabled": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "title",
|
|
18
|
+
"name": "标题",
|
|
19
|
+
"desc": "抽屉左上角的标题",
|
|
20
|
+
"type": "_I18nInput",
|
|
21
|
+
"default": "抽屉"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": "width",
|
|
25
|
+
"name": "宽度",
|
|
26
|
+
"desc": "抽屉的宽度(仅左右抽屉有效)",
|
|
27
|
+
"type": "number",
|
|
28
|
+
"default": 420
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"key": "height",
|
|
32
|
+
"name": "高度",
|
|
33
|
+
"desc": "抽屉的高度(仅上下抽屉有效)",
|
|
34
|
+
"type": "number",
|
|
35
|
+
"default": 360
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"key": "defaultOpen",
|
|
39
|
+
"name": "默认显示",
|
|
40
|
+
"desc": "默认是否显示",
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"default": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"key": "mask",
|
|
46
|
+
"name": "显示遮罩",
|
|
47
|
+
"desc": "是否展示遮罩",
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"default": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"key": "keyboard",
|
|
53
|
+
"name": "ESC关闭",
|
|
54
|
+
"desc": "是否支持键盘 esc 关闭",
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"default": true
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"key": "placement",
|
|
60
|
+
"name": "弹出位置",
|
|
61
|
+
"desc": "抽屉的方向",
|
|
62
|
+
"type": "select",
|
|
63
|
+
"options": [
|
|
64
|
+
{
|
|
65
|
+
"label": "顶部",
|
|
66
|
+
"value": "top"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"label": "右侧",
|
|
70
|
+
"value": "right"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"label": "底部",
|
|
74
|
+
"value": "bottom"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"label": "左侧",
|
|
78
|
+
"value": "left"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"default": "right"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"key": "footer",
|
|
85
|
+
"name": "底部按钮是否显示",
|
|
86
|
+
"desc": "是否显示底部按钮区域",
|
|
87
|
+
"type": "boolean",
|
|
88
|
+
"default": true
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"key": "btnGroup",
|
|
92
|
+
"name": "按钮组",
|
|
93
|
+
"desc": "底部按钮区域的按钮组(参考按钮配置)",
|
|
94
|
+
"type": "_ActionSelector"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"advance": {
|
|
98
|
+
"events": [
|
|
99
|
+
{
|
|
100
|
+
"key": "onMount",
|
|
101
|
+
"name": "组件首次渲染时",
|
|
102
|
+
"desc": "在组件首次渲染时,执行方法",
|
|
103
|
+
"func": "function onMount() {\n\t\n}"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"key": "onUnmount",
|
|
107
|
+
"name": "组件卸载时",
|
|
108
|
+
"desc": "在组件卸载时,执行方法。",
|
|
109
|
+
"func": "function onUnmount() {\n\t\n}"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"key": "onOpen",
|
|
113
|
+
"name": "抽屉打开时",
|
|
114
|
+
"desc": "在抽屉打开时,执行方法",
|
|
115
|
+
"func": "function onOpen() {\n\t\n}"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"key": "onClose",
|
|
119
|
+
"name": "抽屉关闭时",
|
|
120
|
+
"desc": "在抽屉打开时,执行方法,promise反馈false无法截断关闭",
|
|
121
|
+
"func": "function onClose() {\n\t\n}"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"key": "onOk",
|
|
125
|
+
"name": "确定按钮点击",
|
|
126
|
+
"desc": "点击确定按钮时,执行方法",
|
|
127
|
+
"func": "function onOk() {\n\t\n}"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldColor",
|
|
3
|
+
"name": "颜色",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "颜色类型表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"enableAlpha": false,
|
|
10
|
+
"placement": "topLeft",
|
|
11
|
+
"col": 1,
|
|
12
|
+
"row": 1,
|
|
13
|
+
"state": {
|
|
14
|
+
"value": "normal"
|
|
15
|
+
},
|
|
16
|
+
"advance": {
|
|
17
|
+
"events": {}
|
|
18
|
+
}
|
|
19
|
+
}
|