@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": "FieldNumber",
|
|
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": "step",
|
|
17
|
+
"name": "步数",
|
|
18
|
+
"type": "number",
|
|
19
|
+
"default": 1
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"key": "min",
|
|
23
|
+
"name": "最小值",
|
|
24
|
+
"type": "number"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"key": "max",
|
|
28
|
+
"name": "最大值",
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"key": "addonBefore",
|
|
33
|
+
"name": "前置内容",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"default": ""
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"key": "addonAfter",
|
|
39
|
+
"name": "后置内容",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"default": ""
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"key": "generalSetting",
|
|
45
|
+
"name": "通用配置",
|
|
46
|
+
"type": "group",
|
|
47
|
+
"props": [
|
|
48
|
+
{
|
|
49
|
+
"key": "col",
|
|
50
|
+
"name": "占列数",
|
|
51
|
+
"type": "radio",
|
|
52
|
+
"repositioning": true,
|
|
53
|
+
"options": [
|
|
54
|
+
{
|
|
55
|
+
"label": "1",
|
|
56
|
+
"value": 1
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"label": "2",
|
|
60
|
+
"value": 2
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"label": "3",
|
|
64
|
+
"value": 3
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"label": "4",
|
|
68
|
+
"value": 4
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"default": 1
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"key": "row",
|
|
75
|
+
"name": "占行数",
|
|
76
|
+
"type": "radio",
|
|
77
|
+
"repositioning": true,
|
|
78
|
+
"options": [
|
|
79
|
+
{
|
|
80
|
+
"label": "1",
|
|
81
|
+
"value": 1
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"label": "2",
|
|
85
|
+
"value": 2
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"label": "3",
|
|
89
|
+
"value": 3
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"label": "4",
|
|
93
|
+
"value": 4
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"default": 1
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"key": "note",
|
|
100
|
+
"name": "字段注释",
|
|
101
|
+
"type": "_I18nInput"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"key": "tip",
|
|
105
|
+
"name": "长说明",
|
|
106
|
+
"type": "_I18nInput"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"key": "placeholder",
|
|
110
|
+
"name": "默认提示",
|
|
111
|
+
"type": "_I18nInput"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "state",
|
|
117
|
+
"name": "状态",
|
|
118
|
+
"desc": "表单项的初始化状态",
|
|
119
|
+
"type": "_FieldState",
|
|
120
|
+
"default": {
|
|
121
|
+
"value": "normal"
|
|
122
|
+
},
|
|
123
|
+
"wrapper": "collapse",
|
|
124
|
+
"wrapperProps": {
|
|
125
|
+
"suppressIcon": true
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"advance": {
|
|
130
|
+
"events": [
|
|
131
|
+
{
|
|
132
|
+
"key": "onValueChange",
|
|
133
|
+
"name": "数据变化事件",
|
|
134
|
+
"desc": "在数据变化事件时,执行方法",
|
|
135
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"key": "onChange",
|
|
139
|
+
"name": "值变化事件(onChange)",
|
|
140
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
141
|
+
"func": "function onChange(value) {\n\t\n}"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldRadio",
|
|
3
|
+
"name": "单选组件",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "圆形单选表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [],
|
|
10
|
+
"advance": {
|
|
11
|
+
"events": [
|
|
12
|
+
{
|
|
13
|
+
"key": "onChange",
|
|
14
|
+
"name": "数据变化事件",
|
|
15
|
+
"desc": "选中 option时,调用此函数",
|
|
16
|
+
"func": "function onChange(event) {\n\t\n}"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldRegion",
|
|
3
|
+
"name": "省市区选择",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "省市区级联选择表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [],
|
|
10
|
+
"advance": {
|
|
11
|
+
"events": [
|
|
12
|
+
{
|
|
13
|
+
"key": "onChange",
|
|
14
|
+
"name": "数据变化事件",
|
|
15
|
+
"desc": "选中 option时,调用此函数",
|
|
16
|
+
"func": "function onChange(value,option) {\n\t\n}"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"key": "onPopupVisibleChange",
|
|
20
|
+
"name": "显示/隐藏浮层的回调",
|
|
21
|
+
"desc": "显示/隐藏浮层的回调",
|
|
22
|
+
"func": "function onPopupVisibleChange(visible) {\n\t\n}"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldSelect",
|
|
3
|
+
"name": "下拉选择器",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "下拉选择器,支持单选、多选、tag标签选择",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"filterOption": true,
|
|
10
|
+
"dropdownMatchSelectWidth": true,
|
|
11
|
+
"advance": {
|
|
12
|
+
"events": {}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldSelect",
|
|
3
|
+
"name": "下拉选择器",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "下拉选择器,支持单选、多选、tag标签选择",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"props": [
|
|
10
|
+
{
|
|
11
|
+
"key": "filterOption",
|
|
12
|
+
"name": "根据输入项筛选",
|
|
13
|
+
"type": "switch",
|
|
14
|
+
"desc": "当其为一个函数时,会接收 inputValue option 两个参数,当 option 符合筛选条件时,应返回 true,反之则返回 false。异步搜索时,由于服务端已经进行过一次筛选,如不需要前端对下拉选项进行再次筛选,应设为false",
|
|
15
|
+
"default": true
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"key": "dropdownMatchSelectWidth",
|
|
19
|
+
"name": "下拉和选择器同宽",
|
|
20
|
+
"type": "switch",
|
|
21
|
+
"default": true
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"advance": {
|
|
25
|
+
"events": [
|
|
26
|
+
{
|
|
27
|
+
"key": "onChange",
|
|
28
|
+
"name": "数据变化事件",
|
|
29
|
+
"desc": "选中 option,或 input 的 value 变化(combobox 模式下)时,调用此函数",
|
|
30
|
+
"func": "function onChange(value,option) {\n\t\n}"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"key": "onSelect",
|
|
34
|
+
"name": "被选中时回调",
|
|
35
|
+
"desc": "被选中时调用,参数为选中项的 value (或 key) 值",
|
|
36
|
+
"func": "function onSelect(value,option) {\n\t\n}"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"key": "onSearch",
|
|
40
|
+
"name": "搜索事件",
|
|
41
|
+
"desc": "文本框值变化时的回调",
|
|
42
|
+
"func": "function onSearch(value) {\n\t\n}"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"key": "onBlur",
|
|
46
|
+
"name": "失去焦点事件",
|
|
47
|
+
"desc": "失去焦点的时回调",
|
|
48
|
+
"func": "function onBlur() {\n\t\n}"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"key": "onFocus",
|
|
52
|
+
"name": "获得焦点事件",
|
|
53
|
+
"desc": "获得焦点时回调",
|
|
54
|
+
"func": "function onFocus() {\n\t\n}"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldString",
|
|
3
|
+
"name": "字符串",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "字符串类型表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"col": 1,
|
|
10
|
+
"row": 1,
|
|
11
|
+
"state": {
|
|
12
|
+
"value": "normal"
|
|
13
|
+
},
|
|
14
|
+
"advance": {
|
|
15
|
+
"events": {}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldString",
|
|
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": "maxLength",
|
|
17
|
+
"name": "字数限制",
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"key": "addonBefore",
|
|
22
|
+
"name": "前置内容",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "addonAfter",
|
|
27
|
+
"name": "后置内容",
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"key": "prefix",
|
|
32
|
+
"name": "前缀内容",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"key": "suffix",
|
|
37
|
+
"name": "后缀内容",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"key": "generalSetting",
|
|
42
|
+
"name": "通用配置",
|
|
43
|
+
"type": "group",
|
|
44
|
+
"props": [
|
|
45
|
+
{
|
|
46
|
+
"key": "col",
|
|
47
|
+
"name": "占列数",
|
|
48
|
+
"type": "radio",
|
|
49
|
+
"repositioning": true,
|
|
50
|
+
"options": [
|
|
51
|
+
{
|
|
52
|
+
"label": "1",
|
|
53
|
+
"value": 1
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"label": "2",
|
|
57
|
+
"value": 2
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"label": "3",
|
|
61
|
+
"value": 3
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"label": "4",
|
|
65
|
+
"value": 4
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"default": 1
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"key": "row",
|
|
72
|
+
"name": "占行数",
|
|
73
|
+
"type": "radio",
|
|
74
|
+
"repositioning": true,
|
|
75
|
+
"options": [
|
|
76
|
+
{
|
|
77
|
+
"label": "1",
|
|
78
|
+
"value": 1
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"label": "2",
|
|
82
|
+
"value": 2
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"label": "3",
|
|
86
|
+
"value": 3
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"label": "4",
|
|
90
|
+
"value": 4
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"default": 1
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"key": "note",
|
|
97
|
+
"name": "字段注释",
|
|
98
|
+
"type": "_I18nInput"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"key": "tip",
|
|
102
|
+
"name": "长说明",
|
|
103
|
+
"type": "_I18nInput"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"key": "placeholder",
|
|
107
|
+
"name": "默认提示",
|
|
108
|
+
"type": "_I18nInput"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"key": "state",
|
|
114
|
+
"name": "状态",
|
|
115
|
+
"desc": "表单项的初始化状态",
|
|
116
|
+
"type": "_FieldState",
|
|
117
|
+
"default": {
|
|
118
|
+
"value": "normal"
|
|
119
|
+
},
|
|
120
|
+
"wrapper": "collapse",
|
|
121
|
+
"wrapperProps": {
|
|
122
|
+
"suppressIcon": true
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"advance": {
|
|
127
|
+
"events": [
|
|
128
|
+
{
|
|
129
|
+
"key": "onValueChange",
|
|
130
|
+
"name": "数据变化事件",
|
|
131
|
+
"desc": "在数据变化事件时,执行方法",
|
|
132
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"key": "onChange",
|
|
136
|
+
"name": "值变化事件(onChange)",
|
|
137
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
138
|
+
"func": "function onChange(e) {\n\t\n}"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"key": "onBlur",
|
|
142
|
+
"name": "失去焦点事件",
|
|
143
|
+
"desc": "在失去焦点时,执行方法",
|
|
144
|
+
"func": "function onBlur(e) {\n\t\n}"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"key": "onFocus",
|
|
148
|
+
"name": "获取焦点事件",
|
|
149
|
+
"desc": "获取焦点时,执行方法",
|
|
150
|
+
"func": "function onFocus(e) {\n\t\n}"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldSwitch",
|
|
3
|
+
"name": "开关",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "开关类型表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"col": 1,
|
|
10
|
+
"row": 1,
|
|
11
|
+
"state": {
|
|
12
|
+
"value": "normal"
|
|
13
|
+
},
|
|
14
|
+
"advance": {
|
|
15
|
+
"events": {}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldSwitch",
|
|
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": "checkedChildren",
|
|
17
|
+
"name": "选中时文本",
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"key": "unCheckedChildren",
|
|
22
|
+
"name": "非选中时文本",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "generalSetting",
|
|
27
|
+
"name": "通用配置",
|
|
28
|
+
"type": "group",
|
|
29
|
+
"props": [
|
|
30
|
+
{
|
|
31
|
+
"key": "col",
|
|
32
|
+
"name": "占列数",
|
|
33
|
+
"type": "radio",
|
|
34
|
+
"repositioning": true,
|
|
35
|
+
"options": [
|
|
36
|
+
{
|
|
37
|
+
"label": "1",
|
|
38
|
+
"value": 1
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"label": "2",
|
|
42
|
+
"value": 2
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"label": "3",
|
|
46
|
+
"value": 3
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"label": "4",
|
|
50
|
+
"value": 4
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"default": 1
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"key": "row",
|
|
57
|
+
"name": "占行数",
|
|
58
|
+
"type": "radio",
|
|
59
|
+
"repositioning": true,
|
|
60
|
+
"options": [
|
|
61
|
+
{
|
|
62
|
+
"label": "1",
|
|
63
|
+
"value": 1
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"label": "2",
|
|
67
|
+
"value": 2
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"label": "3",
|
|
71
|
+
"value": 3
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"label": "4",
|
|
75
|
+
"value": 4
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"default": 1
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"key": "note",
|
|
82
|
+
"name": "字段注释",
|
|
83
|
+
"type": "_I18nInput"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"key": "tip",
|
|
87
|
+
"name": "长说明",
|
|
88
|
+
"type": "_I18nInput"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"key": "placeholder",
|
|
92
|
+
"name": "默认提示",
|
|
93
|
+
"type": "_I18nInput"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"key": "state",
|
|
99
|
+
"name": "状态",
|
|
100
|
+
"desc": "表单项的初始化状态",
|
|
101
|
+
"type": "_FieldState",
|
|
102
|
+
"default": {
|
|
103
|
+
"value": "normal"
|
|
104
|
+
},
|
|
105
|
+
"wrapper": "collapse",
|
|
106
|
+
"wrapperProps": {
|
|
107
|
+
"suppressIcon": true
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"advance": {
|
|
112
|
+
"events": [
|
|
113
|
+
{
|
|
114
|
+
"key": "onValueChange",
|
|
115
|
+
"name": "数据变化事件",
|
|
116
|
+
"desc": "在数据变化事件时,执行方法",
|
|
117
|
+
"func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"key": "onChange",
|
|
121
|
+
"name": "值变化事件(onChange)",
|
|
122
|
+
"desc": "原生onChange事件,在值发生变化时,执行方法",
|
|
123
|
+
"func": "function onChange(checked) {\n\t\n}"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "FieldTextarea",
|
|
3
|
+
"name": "文本框",
|
|
4
|
+
"group": "field",
|
|
5
|
+
"desc": "文本框类型表单项",
|
|
6
|
+
"icon": "icon-fieldstring",
|
|
7
|
+
"groupName": "表单项",
|
|
8
|
+
"order": 1,
|
|
9
|
+
"autosize": false,
|
|
10
|
+
"col": 1,
|
|
11
|
+
"row": 1,
|
|
12
|
+
"state": {
|
|
13
|
+
"value": "normal"
|
|
14
|
+
},
|
|
15
|
+
"advance": {
|
|
16
|
+
"events": {}
|
|
17
|
+
}
|
|
18
|
+
}
|