@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,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldTextarea",
|
|
3
|
+
"name": "文本框",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "文本框类型表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "fieldAliasName",
|
|
12
|
+
"name": "字段标题",
|
|
13
|
+
"type": "_I18nInput"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"key": "rows",
|
|
17
|
+
"name": "行数",
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"key": "autosize",
|
|
22
|
+
"name": "自适应内容高度",
|
|
23
|
+
"type": "switch",
|
|
24
|
+
"default": false
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"key": "maxLength",
|
|
28
|
+
"name": "输入字数限制",
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"key": "generalSetting",
|
|
33
|
+
"name": "通用配置",
|
|
34
|
+
"type": "group",
|
|
35
|
+
"props": [
|
|
36
|
+
{
|
|
37
|
+
"key": "col",
|
|
38
|
+
"name": "占列数",
|
|
39
|
+
"type": "radio",
|
|
40
|
+
"repositioning": true,
|
|
41
|
+
"options": [
|
|
42
|
+
{
|
|
43
|
+
"label": "1",
|
|
44
|
+
"value": 1
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"label": "2",
|
|
48
|
+
"value": 2
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"label": "3",
|
|
52
|
+
"value": 3
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"label": "4",
|
|
56
|
+
"value": 4
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"default": 1
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"key": "row",
|
|
63
|
+
"name": "占行数",
|
|
64
|
+
"type": "radio",
|
|
65
|
+
"repositioning": true,
|
|
66
|
+
"options": [
|
|
67
|
+
{
|
|
68
|
+
"label": "1",
|
|
69
|
+
"value": 1
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"label": "2",
|
|
73
|
+
"value": 2
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"label": "3",
|
|
77
|
+
"value": 3
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"label": "4",
|
|
81
|
+
"value": 4
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"default": 1
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"key": "note",
|
|
88
|
+
"name": "字段注释",
|
|
89
|
+
"type": "_I18nInput"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"key": "tip",
|
|
93
|
+
"name": "长说明",
|
|
94
|
+
"type": "_I18nInput"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"key": "placeholder",
|
|
98
|
+
"name": "默认提示",
|
|
99
|
+
"type": "_I18nInput"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"key": "state",
|
|
105
|
+
"name": "状态",
|
|
106
|
+
"desc": "表单项的初始化状态",
|
|
107
|
+
"type": "_FieldState",
|
|
108
|
+
"default": {
|
|
109
|
+
"value": "normal"
|
|
110
|
+
},
|
|
111
|
+
"wrapper": "collapse",
|
|
112
|
+
"wrapperProps": {
|
|
113
|
+
"suppressIcon": true
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"advance": {
|
|
118
|
+
"events": [
|
|
119
|
+
{
|
|
120
|
+
"key": "onValueChange",
|
|
121
|
+
"name": "数据变化事件",
|
|
122
|
+
"desc": "在数据变化事件时,执行方法",
|
|
123
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"key": "onChange",
|
|
127
|
+
"name": "值变化事件(onChange)",
|
|
128
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
129
|
+
"func": "function onChange(e) {\n\t\n}"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"key": "onBlur",
|
|
133
|
+
"name": "失去焦点事件",
|
|
134
|
+
"desc": "在失去焦点时,执行方法",
|
|
135
|
+
"func": "function onBlur(e) {\n\t\n}"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"key": "onFocus",
|
|
139
|
+
"name": "获取焦点事件",
|
|
140
|
+
"desc": "获取焦点时,执行方法",
|
|
141
|
+
"func": "function onFocus(e) {\n\t\n}"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldUpload",
|
|
3
|
+
"name": "files",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "附件上传表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"listType": "text",
|
|
10
|
+
"num": 0,
|
|
11
|
+
"accept": "*",
|
|
12
|
+
"advance": {
|
|
13
|
+
"events": {}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldUpload",
|
|
3
|
+
"name": "附件上传",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "附件上传表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "action",
|
|
12
|
+
"name": "上传地址",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"key": "listType",
|
|
17
|
+
"name": "展示样式",
|
|
18
|
+
"type": "segmented",
|
|
19
|
+
"options": [
|
|
20
|
+
{
|
|
21
|
+
"label": "文本",
|
|
22
|
+
"value": "text"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"label": "图片",
|
|
26
|
+
"value": "picture"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"label": "图片卡片",
|
|
30
|
+
"value": "picture-card"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"default": "text"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"key": "num",
|
|
37
|
+
"name": "最大上传数",
|
|
38
|
+
"desc": "上传文件数,超过该值不显示上传按钮,0表示不限数量",
|
|
39
|
+
"type": "number",
|
|
40
|
+
"default": 0
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"key": "name",
|
|
44
|
+
"name": "发到后台的文件参数名",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"default": "files"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"key": "accept",
|
|
50
|
+
"name": "上传的文件类型",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"default": "*"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"advance": {
|
|
56
|
+
"events": [
|
|
57
|
+
{
|
|
58
|
+
"key": "onChange",
|
|
59
|
+
"name": "上传文件改变时的状态",
|
|
60
|
+
"desc": "上传文件改变时的状态",
|
|
61
|
+
"func": "function onChange(e) {\n\t\n}"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"key": "beforeUpload",
|
|
65
|
+
"name": "上传之前的回调",
|
|
66
|
+
"desc": "上传文件之前的钩子,参数为上传的文件",
|
|
67
|
+
"func": "function beforeUpload(file,fileList) {\n\t\n}"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldUser",
|
|
3
|
+
"name": "用户",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "用户类型表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"allowClear": true,
|
|
10
|
+
"screenable": "true",
|
|
11
|
+
"mode": "modify",
|
|
12
|
+
"extraFilter": null,
|
|
13
|
+
"advance": {
|
|
14
|
+
"events": {}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldUser",
|
|
3
|
+
"name": "用户",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "用户类型表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "allowClear",
|
|
12
|
+
"name": "允许清除",
|
|
13
|
+
"type": "switch",
|
|
14
|
+
"default": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "screenable",
|
|
18
|
+
"name": "弹窗选择",
|
|
19
|
+
"type": "switch",
|
|
20
|
+
"default": "true"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"key": "mode",
|
|
24
|
+
"name": "更新模式",
|
|
25
|
+
"type": "segmented",
|
|
26
|
+
"options": [
|
|
27
|
+
{
|
|
28
|
+
"label": "覆盖",
|
|
29
|
+
"value": "modify"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"label": "追加",
|
|
33
|
+
"value": "except"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"default": "modify"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"key": "extraFilter",
|
|
40
|
+
"name": "登录人过滤",
|
|
41
|
+
"type": "segmented",
|
|
42
|
+
"desc": "按登录人信息过滤",
|
|
43
|
+
"options": [
|
|
44
|
+
{
|
|
45
|
+
"label": "不过滤",
|
|
46
|
+
"value": null
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"label": "管辖部门",
|
|
50
|
+
"value": "0"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"label": "所属部门",
|
|
54
|
+
"value": "1"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"default": null
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"advance": {
|
|
61
|
+
"events": [
|
|
62
|
+
{
|
|
63
|
+
"key": "onChange",
|
|
64
|
+
"name": "数据变化事件",
|
|
65
|
+
"desc": "在数据变化事件时,执行方法",
|
|
66
|
+
"func": "function onChange(value, extra) {\n\t\n}"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"key": "onSelect",
|
|
70
|
+
"name": "下拉选中事件",
|
|
71
|
+
"desc": "下拉选中时,执行方法",
|
|
72
|
+
"func": "function onSelect(value, option) {\n\t\n}"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"key": "onBlur",
|
|
76
|
+
"name": "失焦事件",
|
|
77
|
+
"desc": "失去焦点时回调",
|
|
78
|
+
"func": "function onBlur() {\n\t\n}"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldYear",
|
|
3
|
+
"name": "年份选择",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "年份选择表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "allowClear",
|
|
12
|
+
"name": "允许清除",
|
|
13
|
+
"type": "switch"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"key": "disabledDate",
|
|
17
|
+
"name": "不可选日期",
|
|
18
|
+
"type": "_JSEditor",
|
|
19
|
+
"defaultCode": "function disabledDate(currentDate) {return true}",
|
|
20
|
+
"mustConfirm": true,
|
|
21
|
+
"wrapper": "collapse",
|
|
22
|
+
"wrapperProps": {
|
|
23
|
+
"suppressIcon": true
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"advance": {
|
|
28
|
+
"events": [
|
|
29
|
+
{
|
|
30
|
+
"key": "onChange",
|
|
31
|
+
"name": "数据变化事件",
|
|
32
|
+
"desc": "时间发生变化的回调,用户选择时间时触发",
|
|
33
|
+
"func": "function onChange(date, dateString) {\n\t\n}"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
File without changes
|