@ibiz-template/vue3-components 0.0.1-alpha.1 → 0.0.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/common/action-toolbar/action-toolbar.d.ts +64 -0
- package/es/common/app-col/app-col.d.ts +45 -0
- package/es/common/app-col/app-col.js +91 -0
- package/es/common/app-icon/app-icon.d.ts +1 -1
- package/es/common/app-icon/app-icon.js +1 -2
- package/es/common/app-router-view/app-router-view.d.ts +1 -0
- package/es/common/app-router-view/app-router-view.js +2 -1
- package/es/common/app-row/app-row.d.ts +9 -0
- package/es/common/app-row/app-row.js +41 -0
- package/es/{layout → common}/control-base/control-base.js +6 -13
- package/es/common/index.d.ts +7 -5
- package/es/common/index.js +24 -5
- package/es/control/app-menu/app-menu-provider.js +1 -1
- package/es/control/app-menu/app-menu-state.d.ts +23 -0
- package/es/control/app-menu/app-menu-state.js +23 -0
- package/es/control/app-menu/app-menu.controller.d.ts +52 -0
- package/es/control/app-menu/app-menu.controller.js +91 -0
- package/es/control/app-menu/app-menu.d.ts +10 -7
- package/es/control/app-menu/app-menu.js +6 -10
- package/es/control/app-menu/index.js +10 -6
- package/es/control/form/form/form-control.d.ts +34 -0
- package/es/control/form/form/form-state.d.ts +36 -0
- package/es/control/form/form/form-state.js +39 -0
- package/es/control/form/form/form.controller.d.ts +129 -0
- package/es/control/form/form/form.controller.js +199 -0
- package/es/control/form/form/index.js +27 -0
- package/es/control/form/form-detail/form-detail/form-detail-state.d.ts +55 -0
- package/es/control/form/form-detail/form-detail/form-detail-state.js +72 -0
- package/es/control/form/form-detail/form-detail/form-detail.d.ts +106 -0
- package/es/control/form/form-detail/form-detail/form-detail.js +176 -0
- package/es/control/form/form-detail/form-detail/index.d.ts +2 -0
- package/es/control/form/form-detail/form-detail/index.js +2 -0
- package/es/control/form/form-detail/form-group-panel/form-group-panel-provider.d.ts +17 -0
- package/es/control/form/form-detail/form-group-panel/form-group-panel-provider.js +20 -0
- package/es/control/form/form-detail/form-group-panel/form-group-panel-state.d.ts +27 -0
- package/es/control/form/form-detail/form-group-panel/form-group-panel-state.js +29 -0
- package/es/control/form/form-detail/form-group-panel/form-group-panel.controller.d.ts +35 -0
- package/es/control/form/form-detail/form-group-panel/form-group-panel.controller.js +59 -0
- package/es/control/form/form-detail/form-group-panel/index.d.ts +3 -0
- package/es/control/form/form-detail/form-group-panel/index.js +3 -0
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.d.ts +43 -0
- package/es/control/form/form-detail/form-item/form-item-provider.d.ts +18 -0
- package/es/control/form/form-detail/form-item/form-item-state.d.ts +27 -0
- package/es/control/form/form-detail/form-item/form-item.controller.d.ts +139 -0
- package/es/control/form/form-detail/form-item/form-item.d.ts +28 -0
- package/es/control/form/form-detail/form-item/index.d.ts +3 -0
- package/es/control/form/form-detail/form-page/form-page-item.d.ts +32 -0
- package/es/control/form/form-detail/form-page/form-page-provider.d.ts +17 -0
- package/es/control/form/form-detail/form-page/form-page-state.d.ts +12 -0
- package/es/control/form/form-detail/form-page/form-page.controller.d.ts +16 -0
- package/es/{layout/control-layout/control-layout.d.ts → control/form/form-detail/form-page/form-page.d.ts} +7 -9
- package/es/control/form/form-detail/index.d.ts +3 -0
- package/es/control/form/form-detail/index.js +3 -0
- package/es/control/form/index.d.ts +8 -0
- package/es/control/form/index.js +12 -0
- package/es/control/form/search-form/index.js +15 -0
- package/es/control/form/search-form/search-form-provider.d.ts +13 -0
- package/es/{views/index-view/index-view-provider.js → control/form/search-form/search-form-provider.js} +3 -3
- package/es/control/form/search-form/search-form-state.d.ts +19 -0
- package/es/control/form/search-form/search-form-state.js +22 -0
- package/es/control/form/search-form/search-form.controller.d.ts +86 -0
- package/es/control/form/search-form/search-form.controller.js +128 -0
- package/{lib/layout/view-shell/view-shell.d.ts → es/control/form/search-form/search-form.d.ts} +17 -22
- package/es/control/grid/grid/grid-column.controller.d.ts +76 -0
- package/es/control/grid/grid/grid-column.controller.js +89 -0
- package/{lib/control/grid-control → es/control/grid/grid}/grid-control.util.d.ts +3 -2
- package/es/control/grid/grid/grid-row.controller.d.ts +77 -0
- package/es/control/grid/grid/grid-row.controller.js +85 -0
- package/es/control/grid/grid/grid-state.d.ts +19 -0
- package/es/control/grid/grid/grid-state.js +23 -0
- package/es/control/grid/grid/grid.controller.d.ts +225 -0
- package/es/control/grid/grid/grid.controller.js +386 -0
- package/es/control/{grid-control → grid/grid-field-column}/grid-field-column-provider.d.ts +3 -1
- package/es/control/{grid-control → grid/grid-field-column}/grid-field-column-provider.js +1 -1
- package/es/control/grid/grid-field-column/grid-field-column.controller.d.ts +83 -0
- package/es/control/grid/grid-field-column/grid-field-column.controller.js +144 -0
- package/es/control/{grid-control → grid}/grid-field-column/grid-field-column.d.ts +9 -7
- package/es/{common → control/grid}/grid-pagination/grid-pagination.d.ts +1 -1
- package/es/control/grid/grid-ua-column/grid-ua-column-provider.d.ts +17 -0
- package/es/control/grid/grid-ua-column/grid-ua-column-provider.js +20 -0
- package/es/control/grid/grid-ua-column/grid-ua-column.controller.d.ts +28 -0
- package/es/control/grid/grid-ua-column/grid-ua-column.controller.js +62 -0
- package/es/control/grid/grid-ua-column/grid-ua-column.d.ts +46 -0
- package/es/control/grid/index.js +31 -0
- package/es/control/index.d.ts +4 -2
- package/es/control/index.js +4 -2
- package/es/control/panel/index.js +19 -0
- package/es/control/panel/panel/index.d.ts +4 -0
- package/es/control/panel/panel/index.js +4 -0
- package/es/control/panel/panel/panel-item-state.d.ts +47 -0
- package/es/control/panel/panel/panel-item-state.js +58 -0
- package/es/control/panel/panel/panel-item.controller.d.ts +71 -0
- package/es/control/panel/panel/panel-item.controller.js +135 -0
- package/es/control/panel/panel/panel-state.d.ts +21 -0
- package/es/control/panel/panel/panel-state.js +24 -0
- package/es/control/panel/panel/panel.controller.d.ts +114 -0
- package/es/control/panel/panel/panel.controller.js +187 -0
- package/es/control/panel/view-layout-panel/index.d.ts +3 -0
- package/es/control/panel/view-layout-panel/index.js +3 -0
- package/es/control/panel/view-layout-panel/view-layout-panel-provider.d.ts +13 -0
- package/es/control/panel/view-layout-panel/view-layout-panel-provider.js +14 -0
- package/es/control/panel/view-layout-panel/view-layout-panel.controller.d.ts +38 -0
- package/es/control/panel/view-layout-panel/view-layout-panel.controller.js +57 -0
- package/es/control/panel/view-layout-panel/view-layout-panel.d.ts +41 -0
- package/es/control/toolbar/index.js +12 -0
- package/{lib/control/toolbar-control → es/control/toolbar}/toolbar-control.d.ts +4 -10
- package/es/control/toolbar/toolbar-state.d.ts +24 -0
- package/es/control/toolbar/toolbar-state.js +29 -0
- package/es/control/toolbar/toolbar.controllerr.d.ts +33 -0
- package/es/control/toolbar/toolbar.controllerr.js +81 -0
- package/es/editor/index.d.ts +5 -0
- package/es/editor/index.js +14 -0
- package/es/editor/text-box/ibiz-input/ibiz-input.d.ts +51 -0
- package/es/editor/text-box/index.d.ts +1 -0
- package/es/editor/text-box/index.js +4 -0
- package/es/editor/text-box/text-box-provider.d.ts +18 -0
- package/es/editor/text-box/text-box-provider.js +29 -0
- package/es/editor/text-box/text-box.controller.d.ts +20 -0
- package/es/editor/text-box/text-box.controller.js +22 -0
- package/es/index.d.ts +9 -2
- package/es/index.js +30 -3
- package/es/panel-component/auth-userinfo/auth-userinfo-provider.d.ts +16 -0
- package/es/panel-component/auth-userinfo/auth-userinfo-provider.js +20 -0
- package/es/panel-component/auth-userinfo/index.js +19 -0
- package/es/panel-component/index.d.ts +10 -0
- package/es/panel-component/index.js +25 -0
- package/es/panel-component/nav-pos/index.js +20 -0
- package/es/panel-component/nav-pos/nav-pos-provider.d.ts +17 -0
- package/es/panel-component/nav-pos/nav-pos-provider.js +20 -0
- package/es/panel-component/nav-pos/nav-pos-state.d.ts +14 -0
- package/es/panel-component/nav-pos/nav-pos-state.js +17 -0
- package/es/panel-component/nav-pos/nav-pos.controller.d.ts +66 -0
- package/es/panel-component/nav-pos/nav-pos.controller.js +103 -0
- package/es/panel-component/nav-pos/nav-pos.d.ts +27 -0
- package/es/panel-component/nav-tabs/index.js +16 -0
- package/es/panel-component/nav-tabs/nav-tabs-provider.d.ts +17 -0
- package/es/panel-component/nav-tabs/nav-tabs-provider.js +20 -0
- package/es/panel-component/nav-tabs/nav-tabs-state.d.ts +21 -0
- package/es/panel-component/nav-tabs/nav-tabs-state.js +18 -0
- package/es/panel-component/nav-tabs/nav-tabs.controller.js +124 -0
- package/es/panel-component/nav-tabs/nav-tabs.d.ts +35 -0
- package/es/panel-component/panel-container/index.js +23 -0
- package/es/panel-component/panel-container/panel-container-provider.d.ts +16 -0
- package/es/panel-component/panel-container/panel-container-provider.js +20 -0
- package/es/panel-component/panel-container/panel-container-state.d.ts +12 -0
- package/es/panel-component/panel-container/panel-container-state.js +6 -0
- package/es/panel-component/panel-container/panel-container.controller.d.ts +14 -0
- package/es/panel-component/panel-container/panel-container.controller.js +11 -0
- package/es/panel-component/panel-container/panel-container.d.ts +28 -0
- package/es/panel-component/panel-ctrl-pos/index.js +18 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos-provider.d.ts +17 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos-provider.js +20 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.d.ts +21 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.js +6 -0
- package/es/panel-component/scroll-container/index.js +43 -0
- package/es/panel-component/scroll-container/scroll-container/index.d.ts +3 -0
- package/es/panel-component/scroll-container/scroll-container/index.js +3 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container-provider.d.ts +17 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container-provider.js +20 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts +22 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.js +11 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts +26 -0
- package/es/panel-component/scroll-container/scroll-container-item/index.d.ts +3 -0
- package/es/panel-component/scroll-container/scroll-container-item/index.js +3 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item-provider.d.ts +17 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item-provider.js +20 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts +21 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.js +6 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +26 -0
- package/es/view/index.js +13 -0
- package/{lib/views/grid-view/grid-view-provider.d.ts → es/view/view-provider.d.ts} +3 -3
- package/es/{views/grid-view/grid-view-provider.js → view/view-provider.js} +3 -3
- package/es/view-engine/grid-view-engine.d.ts +48 -0
- package/es/view-engine/grid-view-engine.js +158 -0
- package/es/view-engine/index-view-engine.d.ts +9 -0
- package/es/view-engine/index-view-engine.js +20 -0
- package/es/view-engine/index.d.ts +6 -0
- package/es/view-engine/index.js +23 -0
- package/lib/common/action-toolbar/action-toolbar.d.ts +64 -0
- package/lib/common/app-col/app-col.d.ts +45 -0
- package/lib/common/app-col/app-col.js +91 -0
- package/lib/common/app-icon/app-icon.d.ts +1 -1
- package/lib/common/app-icon/app-icon.js +1 -2
- package/lib/common/app-router-view/app-router-view.d.ts +1 -0
- package/lib/common/app-router-view/app-router-view.js +2 -1
- package/lib/common/app-row/app-row.d.ts +9 -0
- package/lib/common/app-row/app-row.js +41 -0
- package/lib/{layout → common}/control-base/control-base.js +5 -12
- package/lib/common/index.d.ts +7 -5
- package/lib/common/index.js +26 -35
- package/lib/control/app-menu/app-menu-provider.js +1 -1
- package/lib/control/app-menu/app-menu-state.d.ts +23 -0
- package/lib/control/app-menu/app-menu-state.js +23 -0
- package/lib/control/app-menu/app-menu.controller.d.ts +52 -0
- package/lib/control/app-menu/app-menu.controller.js +91 -0
- package/lib/control/app-menu/app-menu.d.ts +10 -7
- package/lib/control/app-menu/app-menu.js +7 -11
- package/lib/control/app-menu/index.js +35 -5
- package/lib/control/form/form/form-control.d.ts +34 -0
- package/lib/control/form/form/form-state.d.ts +36 -0
- package/lib/control/form/form/form-state.js +39 -0
- package/lib/control/form/form/form.controller.d.ts +129 -0
- package/lib/control/form/form/form.controller.js +199 -0
- package/lib/control/form/form/index.js +46 -0
- package/lib/control/form/form-detail/form-detail/form-detail-state.d.ts +55 -0
- package/lib/control/form/form-detail/form-detail/form-detail-state.js +72 -0
- package/lib/control/form/form-detail/form-detail/form-detail.d.ts +106 -0
- package/lib/control/form/form-detail/form-detail/form-detail.js +176 -0
- package/lib/control/form/form-detail/form-detail/index.d.ts +2 -0
- package/lib/{views → control/form/form-detail/form-detail}/index.js +6 -8
- package/lib/control/form/form-detail/form-group-panel/form-group-panel-provider.d.ts +17 -0
- package/lib/control/form/form-detail/form-group-panel/form-group-panel-provider.js +20 -0
- package/lib/control/form/form-detail/form-group-panel/form-group-panel-state.d.ts +27 -0
- package/lib/control/form/form-detail/form-group-panel/form-group-panel-state.js +29 -0
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.controller.d.ts +35 -0
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.controller.js +59 -0
- package/lib/control/form/form-detail/form-group-panel/index.d.ts +3 -0
- package/lib/control/form/form-detail/form-group-panel/index.js +26 -0
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.d.ts +43 -0
- package/lib/control/form/form-detail/form-item/form-item-provider.d.ts +18 -0
- package/lib/control/form/form-detail/form-item/form-item-state.d.ts +27 -0
- package/lib/control/form/form-detail/form-item/form-item.controller.d.ts +139 -0
- package/lib/control/form/form-detail/form-item/form-item.d.ts +28 -0
- package/lib/control/form/form-detail/form-item/index.d.ts +3 -0
- package/lib/control/form/form-detail/form-page/form-page-item.d.ts +32 -0
- package/lib/control/form/form-detail/form-page/form-page-provider.d.ts +17 -0
- package/lib/control/form/form-detail/form-page/form-page-state.d.ts +12 -0
- package/lib/control/form/form-detail/form-page/form-page.controller.d.ts +16 -0
- package/lib/{layout/control-layout/control-layout.d.ts → control/form/form-detail/form-page/form-page.d.ts} +7 -9
- package/lib/control/form/form-detail/index.d.ts +3 -0
- package/lib/control/form/form-detail/index.js +26 -0
- package/lib/control/form/index.d.ts +8 -0
- package/lib/control/form/index.js +32 -0
- package/lib/control/form/search-form/index.js +15 -0
- package/lib/control/form/search-form/search-form-provider.d.ts +13 -0
- package/lib/{views/index-view/index-view-provider.js → control/form/search-form/search-form-provider.js} +3 -3
- package/lib/control/form/search-form/search-form-state.d.ts +19 -0
- package/lib/control/form/search-form/search-form-state.js +22 -0
- package/lib/control/form/search-form/search-form.controller.d.ts +86 -0
- package/lib/control/form/search-form/search-form.controller.js +128 -0
- package/{es/layout/view-shell/view-shell.d.ts → lib/control/form/search-form/search-form.d.ts} +17 -22
- package/lib/control/grid/grid/grid-column.controller.d.ts +76 -0
- package/lib/control/grid/grid/grid-column.controller.js +89 -0
- package/{es/control/grid-control → lib/control/grid/grid}/grid-control.util.d.ts +3 -2
- package/lib/control/grid/grid/grid-row.controller.d.ts +77 -0
- package/lib/control/grid/grid/grid-row.controller.js +85 -0
- package/lib/control/grid/grid/grid-state.d.ts +19 -0
- package/lib/control/grid/grid/grid-state.js +23 -0
- package/lib/control/grid/grid/grid.controller.d.ts +225 -0
- package/lib/control/grid/grid/grid.controller.js +386 -0
- package/lib/control/{grid-control → grid/grid-field-column}/grid-field-column-provider.d.ts +3 -1
- package/lib/control/{grid-control → grid/grid-field-column}/grid-field-column-provider.js +2 -2
- package/lib/control/grid/grid-field-column/grid-field-column.controller.d.ts +83 -0
- package/lib/control/grid/grid-field-column/grid-field-column.controller.js +144 -0
- package/lib/control/{grid-control → grid}/grid-field-column/grid-field-column.d.ts +9 -7
- package/lib/{common → control/grid}/grid-pagination/grid-pagination.d.ts +1 -1
- package/lib/control/grid/grid-ua-column/grid-ua-column-provider.d.ts +17 -0
- package/lib/control/grid/grid-ua-column/grid-ua-column-provider.js +20 -0
- package/lib/control/grid/grid-ua-column/grid-ua-column.controller.d.ts +28 -0
- package/lib/control/grid/grid-ua-column/grid-ua-column.controller.js +62 -0
- package/lib/control/grid/grid-ua-column/grid-ua-column.d.ts +46 -0
- package/lib/control/grid/index.js +35 -0
- package/lib/control/index.d.ts +4 -2
- package/lib/control/index.js +22 -6
- package/lib/control/panel/index.js +35 -0
- package/lib/control/panel/panel/index.d.ts +4 -0
- package/lib/control/panel/panel/index.js +34 -0
- package/lib/control/panel/panel/panel-item-state.d.ts +47 -0
- package/lib/control/panel/panel/panel-item-state.js +58 -0
- package/lib/control/panel/panel/panel-item.controller.d.ts +71 -0
- package/lib/control/panel/panel/panel-item.controller.js +135 -0
- package/lib/control/panel/panel/panel-state.d.ts +21 -0
- package/lib/control/panel/panel/panel-state.js +24 -0
- package/lib/control/panel/panel/panel.controller.d.ts +114 -0
- package/lib/control/panel/panel/panel.controller.js +187 -0
- package/lib/control/panel/view-layout-panel/index.d.ts +3 -0
- package/lib/control/panel/view-layout-panel/index.js +26 -0
- package/lib/control/panel/view-layout-panel/view-layout-panel-provider.d.ts +13 -0
- package/lib/control/panel/view-layout-panel/view-layout-panel-provider.js +14 -0
- package/lib/control/panel/view-layout-panel/view-layout-panel.controller.d.ts +38 -0
- package/lib/control/panel/view-layout-panel/view-layout-panel.controller.js +57 -0
- package/lib/control/panel/view-layout-panel/view-layout-panel.d.ts +41 -0
- package/lib/control/{toolbar-control → toolbar}/index.js +5 -5
- package/{es/control/toolbar-control → lib/control/toolbar}/toolbar-control.d.ts +4 -10
- package/lib/control/toolbar/toolbar-state.d.ts +24 -0
- package/lib/control/toolbar/toolbar-state.js +29 -0
- package/lib/control/toolbar/toolbar.controllerr.d.ts +33 -0
- package/lib/control/toolbar/toolbar.controllerr.js +81 -0
- package/lib/editor/index.d.ts +5 -0
- package/lib/editor/index.js +14 -0
- package/lib/editor/text-box/ibiz-input/ibiz-input.d.ts +51 -0
- package/lib/editor/text-box/index.d.ts +1 -0
- package/lib/editor/text-box/index.js +7 -0
- package/lib/editor/text-box/text-box-provider.d.ts +18 -0
- package/lib/editor/text-box/text-box-provider.js +29 -0
- package/lib/editor/text-box/text-box.controller.d.ts +20 -0
- package/lib/editor/text-box/text-box.controller.js +22 -0
- package/lib/index.d.ts +9 -2
- package/lib/index.js +45 -12
- package/lib/panel-component/auth-userinfo/auth-userinfo-provider.d.ts +16 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo-provider.js +20 -0
- package/lib/panel-component/auth-userinfo/index.js +23 -0
- package/lib/panel-component/index.d.ts +10 -0
- package/lib/panel-component/index.js +55 -0
- package/lib/panel-component/nav-pos/index.js +30 -0
- package/lib/panel-component/nav-pos/nav-pos-provider.d.ts +17 -0
- package/lib/panel-component/nav-pos/nav-pos-provider.js +20 -0
- package/lib/panel-component/nav-pos/nav-pos-state.d.ts +14 -0
- package/lib/panel-component/nav-pos/nav-pos-state.js +17 -0
- package/lib/panel-component/nav-pos/nav-pos.controller.d.ts +66 -0
- package/lib/panel-component/nav-pos/nav-pos.controller.js +103 -0
- package/lib/panel-component/nav-pos/nav-pos.d.ts +27 -0
- package/lib/panel-component/nav-tabs/index.js +20 -0
- package/lib/panel-component/nav-tabs/nav-tabs-provider.d.ts +17 -0
- package/lib/panel-component/nav-tabs/nav-tabs-provider.js +20 -0
- package/lib/panel-component/nav-tabs/nav-tabs-state.d.ts +21 -0
- package/lib/panel-component/nav-tabs/nav-tabs-state.js +18 -0
- package/lib/panel-component/nav-tabs/nav-tabs.controller.js +124 -0
- package/lib/panel-component/nav-tabs/nav-tabs.d.ts +35 -0
- package/lib/panel-component/panel-container/index.js +33 -0
- package/lib/panel-component/panel-container/panel-container-provider.d.ts +16 -0
- package/lib/panel-component/panel-container/panel-container-provider.js +20 -0
- package/lib/panel-component/panel-container/panel-container-state.d.ts +12 -0
- package/lib/panel-component/panel-container/panel-container-state.js +6 -0
- package/lib/panel-component/panel-container/panel-container.controller.d.ts +14 -0
- package/lib/panel-component/panel-container/panel-container.controller.js +11 -0
- package/lib/panel-component/panel-container/panel-container.d.ts +28 -0
- package/lib/panel-component/panel-ctrl-pos/index.js +25 -0
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos-provider.d.ts +17 -0
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos-provider.js +20 -0
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.d.ts +21 -0
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.js +6 -0
- package/lib/panel-component/scroll-container/index.js +57 -0
- package/lib/panel-component/scroll-container/scroll-container/index.d.ts +3 -0
- package/lib/panel-component/scroll-container/scroll-container/index.js +26 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container-provider.d.ts +17 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container-provider.js +20 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts +22 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.controller.js +11 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.d.ts +26 -0
- package/lib/panel-component/scroll-container/scroll-container-item/index.d.ts +3 -0
- package/lib/panel-component/scroll-container/scroll-container-item/index.js +26 -0
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item-provider.d.ts +17 -0
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item-provider.js +20 -0
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts +21 -0
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.js +6 -0
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +26 -0
- package/lib/view/index.js +15 -0
- package/{es/views/grid-view/grid-view-provider.d.ts → lib/view/view-provider.d.ts} +3 -3
- package/lib/{views/grid-view/grid-view-provider.js → view/view-provider.js} +3 -3
- package/lib/view-engine/grid-view-engine.d.ts +48 -0
- package/lib/view-engine/grid-view-engine.js +158 -0
- package/lib/view-engine/index-view-engine.d.ts +9 -0
- package/lib/view-engine/index-view-engine.js +20 -0
- package/lib/view-engine/index.d.ts +6 -0
- package/lib/view-engine/index.js +35 -0
- package/package.json +16 -16
- package/src/common/action-toolbar/action-toolbar.scss +31 -0
- package/src/common/action-toolbar/action-toolbar.tsx +117 -0
- package/src/common/app-col/app-col.tsx +34 -13
- package/src/common/app-icon/app-icon.tsx +0 -1
- package/src/common/app-router-view/app-router-view.tsx +2 -1
- package/src/common/app-row/app-row.tsx +2 -1
- package/src/{layout/control-layout/control-layout.scss → common/control-base/control-base.scss} +1 -1
- package/src/{layout → common}/control-base/control-base.tsx +4 -7
- package/src/common/index.ts +23 -4
- package/src/control/app-menu/app-menu-provider.ts +1 -1
- package/src/control/app-menu/app-menu.controller.ts +24 -5
- package/src/control/app-menu/app-menu.tsx +4 -13
- package/src/control/app-menu/index.ts +8 -3
- package/src/control/form/form/form-control.tsx +1 -1
- package/src/control/form/form/form.controller.ts +8 -9
- package/src/control/form/form/index.ts +4 -4
- package/src/control/form/form-detail/form-detail/form-detail-state.ts +2 -2
- package/src/control/form/form-detail/form-detail/form-detail.ts +7 -13
- package/src/control/form/form-detail/form-group-panel/form-group-panel.controller.ts +9 -5
- package/src/control/form/form-detail/form-item/form-item.controller.ts +2 -1
- package/src/control/form/form-detail/form-item/form-item.tsx +2 -4
- package/src/control/form/form-detail/form-page/form-page-item.tsx +3 -6
- package/src/control/form/search-form/index.ts +4 -4
- package/src/control/form/search-form/search-form-provider.ts +1 -1
- package/src/control/form/search-form/search-form-state.ts +9 -1
- package/src/control/form/search-form/search-form.controller.ts +21 -1
- package/src/control/form/search-form/search-form.tsx +4 -3
- package/src/control/grid/grid/grid-control.tsx +1 -1
- package/src/control/grid/grid/grid-row.controller.ts +4 -4
- package/src/control/grid/grid/grid.controller.ts +22 -14
- package/src/control/grid/grid/grid.scss +1 -0
- package/src/control/grid/grid-ua-column/grid-ua-column-provider.ts +26 -0
- package/src/control/grid/grid-ua-column/grid-ua-column.controller.ts +80 -0
- package/src/control/grid/grid-ua-column/grid-ua-column.scss +20 -0
- package/src/control/grid/grid-ua-column/grid-ua-column.tsx +75 -0
- package/src/control/grid/index.ts +13 -5
- package/src/control/index.ts +1 -0
- package/src/control/panel/index.ts +6 -10
- package/src/control/panel/panel/index.ts +4 -0
- package/src/control/panel/panel/panel-item-state.ts +2 -2
- package/src/control/panel/panel/panel-item.controller.ts +7 -13
- package/src/control/panel/panel/panel.controller.ts +10 -12
- package/src/control/panel/view-layout-panel/index.ts +3 -0
- package/src/control/panel/view-layout-panel/view-layout-panel-provider.ts +1 -1
- package/src/control/panel/view-layout-panel/view-layout-panel.controller.ts +9 -2
- package/src/control/panel/view-layout-panel/view-layout-panel.scss +6 -0
- package/src/control/panel/view-layout-panel/view-layout-panel.tsx +5 -10
- package/src/control/toolbar/index.ts +3 -3
- package/src/control/toolbar/toolbar-control.tsx +1 -2
- package/src/control/toolbar/toolbar.controllerr.ts +30 -36
- package/src/editor/index.ts +2 -2
- package/src/index.ts +14 -37
- package/src/panel-component/auth-userinfo/auth-userinfo-provider.ts +26 -0
- package/src/panel-component/auth-userinfo/auth-userinfo.scss +34 -0
- package/src/{common/app-user/app-user.tsx → panel-component/auth-userinfo/auth-userinfo.tsx} +18 -6
- package/src/panel-component/auth-userinfo/index.ts +17 -0
- package/src/panel-component/index.ts +26 -0
- package/src/panel-component/nav-pos/index.ts +16 -0
- package/src/panel-component/nav-pos/nav-pos-provider.ts +27 -0
- package/src/panel-component/nav-pos/nav-pos-state.ts +16 -0
- package/src/panel-component/nav-pos/nav-pos.controller.ts +117 -0
- package/src/panel-component/nav-pos/nav-pos.scss +4 -0
- package/src/panel-component/nav-pos/nav-pos.tsx +79 -0
- package/src/panel-component/nav-tabs/index.ts +14 -0
- package/src/panel-component/nav-tabs/nav-tabs-provider.ts +27 -0
- package/src/panel-component/nav-tabs/nav-tabs-state.ts +24 -0
- package/src/panel-component/nav-tabs/nav-tabs.controller.ts +146 -0
- package/src/panel-component/nav-tabs/nav-tabs.scss +64 -0
- package/src/panel-component/nav-tabs/nav-tabs.tsx +141 -0
- package/src/{control/panel → panel-component}/panel-container/index.ts +3 -2
- package/src/{control/panel → panel-component}/panel-container/panel-container-provider.ts +1 -2
- package/src/{control/panel → panel-component}/panel-container/panel-container-state.ts +1 -1
- package/src/{control/panel → panel-component}/panel-container/panel-container.controller.ts +1 -1
- package/src/{control/panel → panel-component}/panel-container/panel-container.tsx +2 -4
- package/src/{control/panel → panel-component}/panel-ctrl-pos/index.ts +3 -2
- package/src/{control/panel → panel-component}/panel-ctrl-pos/panel-ctrl-pos-provider.ts +2 -3
- package/src/{control/panel → panel-component}/panel-ctrl-pos/panel-ctrl-pos.controller.ts +1 -2
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.scss +4 -0
- package/src/{control/panel → panel-component}/panel-ctrl-pos/panel-ctrl-pos.tsx +3 -2
- package/src/panel-component/scroll-container/index.ts +44 -0
- package/src/panel-component/scroll-container/scroll-container/index.ts +3 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container-provider.ts +27 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.controller.ts +32 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.scss +30 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.tsx +108 -0
- package/src/panel-component/scroll-container/scroll-container-item/index.ts +3 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item-provider.ts +27 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.ts +25 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.scss +5 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.tsx +59 -0
- package/src/view/ibiz-view.scss +13 -0
- package/src/view/ibiz-view.tsx +75 -0
- package/src/{views/view → view}/index.ts +3 -3
- package/src/view-engine/grid-view-engine.ts +200 -0
- package/src/view-engine/index-view-engine.ts +34 -0
- package/src/view-engine/index.ts +24 -0
- package/es/common/app-user/app-user.d.ts +0 -8
- package/es/common/app-user/app-user.js +0 -60
- package/es/common/grid-pagination/index.d.ts +0 -40
- package/es/common/grid-pagination/index.js +0 -9
- package/es/common/quick-search/quick-search.d.ts +0 -30
- package/es/common/quick-search/quick-search.js +0 -63
- package/es/common/tab-page-exp/tab-page-exp.d.ts +0 -69
- package/es/common/tab-page-exp/tab-page-exp.js +0 -117
- package/es/control/app-menu/index.d.ts +0 -53
- package/es/control/grid-control/grid-control.d.ts +0 -158
- package/es/control/grid-control/index.d.ts +0 -114
- package/es/control/grid-control/index.js +0 -23
- package/es/control/toolbar-control/index.d.ts +0 -43
- package/es/control/toolbar-control/index.js +0 -12
- package/es/layout/app-layout/app-layout.d.ts +0 -32
- package/es/layout/control-base/control-base.d.ts +0 -17
- package/es/layout/control-shell/control-shell.d.ts +0 -18
- package/es/layout/index.d.ts +0 -10
- package/es/layout/index.js +0 -20
- package/es/layout/md-view-base/md-view-base.d.ts +0 -12
- package/es/layout/md-view-base/md-view-base.js +0 -35
- package/es/layout/router-shell/router-shell.d.ts +0 -27
- package/es/layout/router-shell/router-shell.js +0 -96
- package/es/layout/view-base/view-base.d.ts +0 -18
- package/es/layout/view-layout/view-layout.d.ts +0 -44
- package/es/util/install.d.ts +0 -3
- package/es/util/install.js +0 -9
- package/es/views/edit-view/index.d.ts +0 -3
- package/es/views/edit-view/index.js +0 -9
- package/es/views/edit-view/src/edit-view.css +0 -6
- package/es/views/edit-view/src/edit-view.d.ts +0 -3
- package/es/views/edit-view/src/edit-view.js +0 -15
- package/es/views/grid-view/grid-view-engine.d.ts +0 -8
- package/es/views/grid-view/grid-view-engine.js +0 -21
- package/es/views/grid-view/grid-view.d.ts +0 -32
- package/es/views/grid-view/grid-view.js +0 -64
- package/es/views/grid-view/index.d.ts +0 -32
- package/es/views/grid-view/index.js +0 -14
- package/es/views/index-view/index-view-default.d.ts +0 -22
- package/es/views/index-view/index-view-default.js +0 -117
- package/es/views/index-view/index-view-engine.d.ts +0 -6
- package/es/views/index-view/index-view-engine.js +0 -9
- package/es/views/index-view/index-view-exp.d.ts +0 -29
- package/es/views/index-view/index-view-exp.js +0 -177
- package/es/views/index-view/index-view-provider.d.ts +0 -13
- package/es/views/index-view/index-view.d.ts +0 -44
- package/es/views/index-view/index-view.js +0 -155
- package/es/views/index-view/index.d.ts +0 -44
- package/es/views/index-view/index.js +0 -14
- package/es/views/index.d.ts +0 -4
- package/es/views/index.js +0 -6
- package/lib/common/app-user/app-user.d.ts +0 -8
- package/lib/common/app-user/app-user.js +0 -60
- package/lib/common/grid-pagination/index.d.ts +0 -40
- package/lib/common/grid-pagination/index.js +0 -9
- package/lib/common/quick-search/quick-search.d.ts +0 -30
- package/lib/common/quick-search/quick-search.js +0 -63
- package/lib/common/tab-page-exp/tab-page-exp.d.ts +0 -69
- package/lib/common/tab-page-exp/tab-page-exp.js +0 -117
- package/lib/control/app-menu/index.d.ts +0 -53
- package/lib/control/grid-control/grid-control.d.ts +0 -158
- package/lib/control/grid-control/index.d.ts +0 -114
- package/lib/control/grid-control/index.js +0 -24
- package/lib/control/toolbar-control/index.d.ts +0 -43
- package/lib/layout/app-layout/app-layout.d.ts +0 -32
- package/lib/layout/control-base/control-base.d.ts +0 -17
- package/lib/layout/control-shell/control-shell.d.ts +0 -18
- package/lib/layout/index.d.ts +0 -10
- package/lib/layout/index.js +0 -44
- package/lib/layout/md-view-base/md-view-base.d.ts +0 -12
- package/lib/layout/md-view-base/md-view-base.js +0 -35
- package/lib/layout/router-shell/router-shell.d.ts +0 -27
- package/lib/layout/router-shell/router-shell.js +0 -96
- package/lib/layout/view-base/view-base.d.ts +0 -18
- package/lib/layout/view-layout/view-layout.d.ts +0 -44
- package/lib/util/install.d.ts +0 -3
- package/lib/util/install.js +0 -9
- package/lib/views/edit-view/index.d.ts +0 -3
- package/lib/views/edit-view/index.js +0 -8
- package/lib/views/edit-view/src/edit-view.css +0 -6
- package/lib/views/edit-view/src/edit-view.d.ts +0 -3
- package/lib/views/edit-view/src/edit-view.js +0 -14
- package/lib/views/grid-view/grid-view-engine.d.ts +0 -8
- package/lib/views/grid-view/grid-view-engine.js +0 -21
- package/lib/views/grid-view/grid-view.d.ts +0 -32
- package/lib/views/grid-view/grid-view.js +0 -64
- package/lib/views/grid-view/index.d.ts +0 -32
- package/lib/views/grid-view/index.js +0 -14
- package/lib/views/index-view/index-view-default.d.ts +0 -22
- package/lib/views/index-view/index-view-default.js +0 -117
- package/lib/views/index-view/index-view-engine.d.ts +0 -6
- package/lib/views/index-view/index-view-engine.js +0 -9
- package/lib/views/index-view/index-view-exp.d.ts +0 -29
- package/lib/views/index-view/index-view-exp.js +0 -177
- package/lib/views/index-view/index-view-provider.d.ts +0 -13
- package/lib/views/index-view/index-view.d.ts +0 -44
- package/lib/views/index-view/index-view.js +0 -155
- package/lib/views/index-view/index.d.ts +0 -44
- package/lib/views/index-view/index.js +0 -14
- package/lib/views/index.d.ts +0 -4
- package/src/common/app-user/app-user.scss +0 -32
- package/src/common/quick-search/quick-search.scss +0 -15
- package/src/common/quick-search/quick-search.tsx +0 -59
- package/src/common/tab-page-exp/tab-page-exp.scss +0 -43
- package/src/common/tab-page-exp/tab-page-exp.tsx +0 -125
- package/src/control/panel/view-layout-panel.json +0 -141
- package/src/layout/app-layout/app-layout.scss +0 -133
- package/src/layout/app-layout/app-layout.tsx +0 -149
- package/src/layout/control-layout/control-layout.tsx +0 -29
- package/src/layout/index.ts +0 -15
- package/src/layout/md-view-base/md-view-base.tsx +0 -69
- package/src/layout/view-base/view-base.scss +0 -11
- package/src/layout/view-base/view-base.tsx +0 -147
- package/src/layout/view-layout/view-layout.scss +0 -198
- package/src/layout/view-layout/view-layout.tsx +0 -115
- package/src/util/install.ts +0 -11
- package/src/views/grid-view/grid-view-engine.ts +0 -68
- package/src/views/grid-view/index.ts +0 -12
- package/src/views/index-view/index-view-default.ts +0 -168
- package/src/views/index-view/index-view-engine.ts +0 -10
- package/src/views/index-view/index-view-exp.ts +0 -261
- package/src/views/index-view/index-view-provider.ts +0 -14
- package/src/views/index-view/index-view.tsx +0 -249
- package/src/views/index-view/index.ts +0 -14
- package/src/views/index.ts +0 -3
- package/src/views/view/ibiz-view.tsx +0 -49
- /package/es/control/{grid-control → grid/grid}/grid-control.util.js +0 -0
- /package/es/control/{grid-control → grid/grid}/grid-provider.d.ts +0 -0
- /package/es/control/{grid-control → grid/grid}/grid-provider.js +0 -0
- /package/es/{common → control/grid}/grid-pagination/grid-pagination.js +0 -0
- /package/es/control/{toolbar-control → toolbar}/toolbar-provider.d.ts +0 -0
- /package/es/control/{toolbar-control → toolbar}/toolbar-provider.js +0 -0
- /package/lib/control/{grid-control → grid/grid}/grid-control.util.js +0 -0
- /package/lib/control/{grid-control → grid/grid}/grid-provider.d.ts +0 -0
- /package/lib/control/{grid-control → grid/grid}/grid-provider.js +0 -0
- /package/lib/{common → control/grid}/grid-pagination/grid-pagination.js +0 -0
- /package/lib/control/{toolbar-control → toolbar}/toolbar-provider.d.ts +0 -0
- /package/lib/control/{toolbar-control → toolbar}/toolbar-provider.js +0 -0
- /package/src/{control/panel → panel-component}/panel-container/panel-container.scss +0 -0
- /package/src/{views/view → view}/view-provider.ts +0 -0
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-components",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "使用 rollup 编译 vue 组件或者 jsx",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.ts",
|
|
8
|
-
"types": "
|
|
8
|
+
"types": "src/index.ts",
|
|
9
9
|
"files": [
|
|
10
10
|
"es",
|
|
11
11
|
"lib",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"publish:npm": "npm publish --access public"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@ibiz-template/core": "^0.0.4-beta.
|
|
25
|
-
"@ibiz-template/model-helper": "^0.0.4-beta.
|
|
26
|
-
"@ibiz-template/runtime": "^0.0.4-beta.
|
|
27
|
-
"@ibiz-template/theme": "^0.0.4-beta.
|
|
28
|
-
"@ibiz-template/vue3-util": "^0.0.4-beta.
|
|
29
|
-
"@ibiz/model-core": "^0.0.
|
|
30
|
-
"element-plus": "^2.3.
|
|
24
|
+
"@ibiz-template/core": "^0.0.4-beta.4",
|
|
25
|
+
"@ibiz-template/model-helper": "^0.0.4-beta.4",
|
|
26
|
+
"@ibiz-template/runtime": "^0.0.4-beta.4",
|
|
27
|
+
"@ibiz-template/theme": "^0.0.4-beta.3",
|
|
28
|
+
"@ibiz-template/vue3-util": "^0.0.4-beta.4",
|
|
29
|
+
"@ibiz/model-core": "^0.0.6",
|
|
30
|
+
"element-plus": "^2.3.4",
|
|
31
31
|
"lodash-es": "^4.17.21",
|
|
32
32
|
"qx-util": "^0.4.8",
|
|
33
33
|
"async-validator": "^4.2.5",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/lodash-es": "^4.17.7",
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "^5.59.
|
|
41
|
-
"@typescript-eslint/parser": "^5.59.
|
|
42
|
-
"@types/ramda": "^0.29.
|
|
43
|
-
"@vitejs/plugin-vue": "^4.1
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
41
|
+
"@typescript-eslint/parser": "^5.59.2",
|
|
42
|
+
"@types/ramda": "^0.29.1",
|
|
43
|
+
"@vitejs/plugin-vue": "^4.2.1",
|
|
44
44
|
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
45
45
|
"eslint": "^8.39.0",
|
|
46
46
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"eslint-plugin-prettier": "^4.2.1",
|
|
52
52
|
"prettier": "^2.8.8",
|
|
53
53
|
"rimraf": "^5.0.0",
|
|
54
|
-
"sass": "^1.62.
|
|
54
|
+
"sass": "^1.62.1",
|
|
55
55
|
"typescript": "^5.0.4",
|
|
56
|
-
"vite": "^4.3.
|
|
56
|
+
"vite": "^4.3.4",
|
|
57
57
|
"vite-plugin-build": "^0.9.0",
|
|
58
|
-
"vue-tsc": "^1.
|
|
58
|
+
"vue-tsc": "^1.6.4"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@ibiz-template/core": "^0.0.4-beta.2",
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@include b('action-toolbar') {
|
|
2
|
+
@include set-component-css-var('action-toolbar', $action-toolbar);
|
|
3
|
+
@include e('item') {
|
|
4
|
+
&+&{
|
|
5
|
+
margin: getCssVar('action-toolbar', 'item-margin');
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// 分隔符样式
|
|
10
|
+
@include e('separator') {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
width: getCssVar('action-toolbar', 'separator-width');
|
|
13
|
+
height: getCssVar('action-toolbar', 'separator-height');
|
|
14
|
+
vertical-align: middle;
|
|
15
|
+
background-color: getCssVar('action-toolbar', 'separator-color');
|
|
16
|
+
|
|
17
|
+
// 第一个按钮前面的分隔符隐藏
|
|
18
|
+
&:first-child {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@include m('dropdown'){
|
|
24
|
+
@include e(caption){
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
@include e(caption-icon){
|
|
28
|
+
vertical-align: bottom;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { defineComponent, PropType } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { IButtonContainerState } from '@ibiz-template/runtime';
|
|
4
|
+
import { IUIActionGroupDetail } from '@ibiz/model-core';
|
|
5
|
+
import './action-toolbar.scss';
|
|
6
|
+
|
|
7
|
+
export const ActionToolbar = defineComponent({
|
|
8
|
+
name: 'ActionToolbar',
|
|
9
|
+
props: {
|
|
10
|
+
actionDetails: {
|
|
11
|
+
type: Array<IUIActionGroupDetail>,
|
|
12
|
+
required: true,
|
|
13
|
+
},
|
|
14
|
+
actionsState: {
|
|
15
|
+
type: Object as PropType<IButtonContainerState>,
|
|
16
|
+
required: true,
|
|
17
|
+
},
|
|
18
|
+
caption: String,
|
|
19
|
+
mode: {
|
|
20
|
+
type: String as PropType<'dropdown' | 'buttons'>,
|
|
21
|
+
default: 'buttons',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
setup(props, { emit }) {
|
|
25
|
+
const ns = useNamespace('action-toolbar');
|
|
26
|
+
|
|
27
|
+
// 点击事件抛给表格执行
|
|
28
|
+
const handleClick = async (
|
|
29
|
+
detail: IUIActionGroupDetail,
|
|
30
|
+
event: MouseEvent,
|
|
31
|
+
) => {
|
|
32
|
+
emit('action-click', detail, event);
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
return { ns, handleClick };
|
|
36
|
+
},
|
|
37
|
+
render() {
|
|
38
|
+
const details = this.actionDetails || [];
|
|
39
|
+
if (this.mode === 'buttons') {
|
|
40
|
+
// 按钮模式
|
|
41
|
+
return (
|
|
42
|
+
<div class={[this.ns.b(), this.ns.m('buttons')]}>
|
|
43
|
+
{details.length > 0 &&
|
|
44
|
+
details.map(detail => {
|
|
45
|
+
if (this.actionsState[detail.id!].visible) {
|
|
46
|
+
return [
|
|
47
|
+
detail.addSeparator && (
|
|
48
|
+
<div class={this.ns.e('separator')}></div>
|
|
49
|
+
),
|
|
50
|
+
<el-button
|
|
51
|
+
text
|
|
52
|
+
size='small'
|
|
53
|
+
onClick={(e: MouseEvent) => this.handleClick(detail, e)}
|
|
54
|
+
disabled={this.actionsState[detail.id!].disabled}
|
|
55
|
+
class={[this.ns.e('item'), this.ns.is('disabled', false)]}
|
|
56
|
+
>
|
|
57
|
+
{/* {detail.showIcon && action.getPSSysImage() && (
|
|
58
|
+
<app-icon icon={action.getPSSysImage()}></app-icon>
|
|
59
|
+
)}
|
|
60
|
+
{detail.showCaption ? action!.caption : ''} */}
|
|
61
|
+
</el-button>,
|
|
62
|
+
];
|
|
63
|
+
}
|
|
64
|
+
return null;
|
|
65
|
+
})}
|
|
66
|
+
</div>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
// 下拉模式
|
|
70
|
+
return (
|
|
71
|
+
<el-dropdown
|
|
72
|
+
onCommand={(command: IUIActionGroupDetail) =>
|
|
73
|
+
this.handleClick(command, new MouseEvent('click'))
|
|
74
|
+
}
|
|
75
|
+
class={[this.ns.b(), this.ns.m('dropdown')]}
|
|
76
|
+
>
|
|
77
|
+
{{
|
|
78
|
+
default: () => (
|
|
79
|
+
<span class={this.ns.e('caption')}>
|
|
80
|
+
{this.caption}
|
|
81
|
+
<ion-icon
|
|
82
|
+
class={this.ns.e('caption-icon')}
|
|
83
|
+
name='ibiz-arrow-down'
|
|
84
|
+
/>
|
|
85
|
+
</span>
|
|
86
|
+
),
|
|
87
|
+
dropdown: () => (
|
|
88
|
+
<el-dropdown-menu>
|
|
89
|
+
{details.length > 0 &&
|
|
90
|
+
details.map(detail => {
|
|
91
|
+
// const action = detail.getPSUIAction();
|
|
92
|
+
if (this.actionsState[detail.id!].visible) {
|
|
93
|
+
return (
|
|
94
|
+
<el-dropdown-item
|
|
95
|
+
class={[
|
|
96
|
+
this.ns.e('item'),
|
|
97
|
+
this.ns.is('disabled', false),
|
|
98
|
+
]}
|
|
99
|
+
disabled={this.actionsState[detail.id!].disabled}
|
|
100
|
+
command={detail}
|
|
101
|
+
>
|
|
102
|
+
{/* {detail.showIcon && action.getPSSysImage() && (
|
|
103
|
+
<app-icon icon={action.getPSSysImage()}></app-icon>
|
|
104
|
+
)}
|
|
105
|
+
{detail.showCaption ? action!.caption : ''} */}
|
|
106
|
+
</el-dropdown-item>
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
return null;
|
|
110
|
+
})}
|
|
111
|
+
</el-dropdown-menu>
|
|
112
|
+
),
|
|
113
|
+
}}
|
|
114
|
+
</el-dropdown>
|
|
115
|
+
);
|
|
116
|
+
},
|
|
117
|
+
});
|
|
@@ -11,6 +11,24 @@ import { IFlexLayoutPos, IGridLayoutPos, ILayoutPos } from '@ibiz/model-core';
|
|
|
11
11
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
12
12
|
import { ILayoutController } from '@ibiz-template/runtime';
|
|
13
13
|
|
|
14
|
+
function calcGridSpanOffset(
|
|
15
|
+
span: number | undefined,
|
|
16
|
+
offset: number | undefined,
|
|
17
|
+
layout: string | undefined,
|
|
18
|
+
): { span?: number; offset?: number } {
|
|
19
|
+
const multiplier = layout === 'TABLE_24COL' ? 1 : 2;
|
|
20
|
+
const spanDefault = layout === 'TABLE_24COL' ? 24 : 12;
|
|
21
|
+
const _span = !span || span === -1 ? spanDefault : span;
|
|
22
|
+
const _offset = !offset || offset === -1 ? 0 : offset;
|
|
23
|
+
const result: IData = {
|
|
24
|
+
span: _span * multiplier,
|
|
25
|
+
};
|
|
26
|
+
if (_offset !== 0) {
|
|
27
|
+
result.offset = _offset;
|
|
28
|
+
}
|
|
29
|
+
return result;
|
|
30
|
+
}
|
|
31
|
+
|
|
14
32
|
export const AppCol = defineComponent({
|
|
15
33
|
name: 'AppCol',
|
|
16
34
|
props: {
|
|
@@ -30,20 +48,21 @@ export const AppCol = defineComponent({
|
|
|
30
48
|
return {};
|
|
31
49
|
}
|
|
32
50
|
// 计算倍率,12列栅格为2
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
const {
|
|
52
|
+
colXS,
|
|
53
|
+
colXSOffset,
|
|
54
|
+
colSM,
|
|
55
|
+
colSMOffset,
|
|
56
|
+
colMD,
|
|
57
|
+
colMDOffset,
|
|
58
|
+
colLG,
|
|
59
|
+
colLGOffset,
|
|
60
|
+
} = gridLayoutPos;
|
|
42
61
|
return {
|
|
43
|
-
xs:
|
|
44
|
-
sm:
|
|
45
|
-
md:
|
|
46
|
-
lg:
|
|
62
|
+
xs: calcGridSpanOffset(colXS, colXSOffset, gridLayoutPos.layout),
|
|
63
|
+
sm: calcGridSpanOffset(colSM, colSMOffset, gridLayoutPos.layout),
|
|
64
|
+
md: calcGridSpanOffset(colMD, colMDOffset, gridLayoutPos.layout),
|
|
65
|
+
lg: calcGridSpanOffset(colLG, colLGOffset, gridLayoutPos.layout),
|
|
47
66
|
};
|
|
48
67
|
});
|
|
49
68
|
|
|
@@ -69,6 +88,8 @@ export const AppCol = defineComponent({
|
|
|
69
88
|
class={[this.ns.b(), this.ns.m('flex'), this.controller.extraClass]}
|
|
70
89
|
style={{
|
|
71
90
|
flexGrow: (this.layoutPos as IFlexLayoutPos).grow,
|
|
91
|
+
// 修复flex时flex-grow和flex-shrink时高度被内容撑开,没法压缩
|
|
92
|
+
minHeight: 0,
|
|
72
93
|
...this.cssVars,
|
|
73
94
|
}}
|
|
74
95
|
>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
+
import { isNotNil } from 'ramda';
|
|
2
3
|
import { defineComponent, h, PropType, VNode, watch } from 'vue';
|
|
3
4
|
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
4
5
|
|
|
@@ -28,7 +29,7 @@ export const AppRouterView = defineComponent({
|
|
|
28
29
|
watch(
|
|
29
30
|
() => props.manualKey,
|
|
30
31
|
(newVal, oldVal) => {
|
|
31
|
-
if (newVal && newVal !== oldVal) {
|
|
32
|
+
if (isNotNil(newVal) && newVal !== oldVal) {
|
|
32
33
|
isActive = true;
|
|
33
34
|
}
|
|
34
35
|
},
|
|
@@ -15,10 +15,11 @@ export const AppRow = defineComponent({
|
|
|
15
15
|
const defaultSlot = this.$slots.default?.();
|
|
16
16
|
if (this.layout?.layout === 'FLEX') {
|
|
17
17
|
const { dir, align, valign } = this.layout as IFlexLayout;
|
|
18
|
+
const _dir = dir || 'column';
|
|
18
19
|
return (
|
|
19
20
|
<div
|
|
20
21
|
class={[this.ns.b(), this.ns.m('flex')]}
|
|
21
|
-
style={`display:flex;flex-direction: ${
|
|
22
|
+
style={`display:flex;flex-direction: ${_dir};justify-content: ${align};align-items: ${valign};`}
|
|
22
23
|
>
|
|
23
24
|
{defaultSlot}
|
|
24
25
|
</div>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ControlController } from '@ibiz-template/runtime';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { kebabCase } from 'lodash-es';
|
|
4
3
|
import { defineComponent, PropType } from 'vue';
|
|
5
4
|
|
|
6
5
|
export const ControlBase = defineComponent({
|
|
@@ -15,23 +14,21 @@ export const ControlBase = defineComponent({
|
|
|
15
14
|
const { controlType, sysCss, codeName } = props.controller.model;
|
|
16
15
|
const typeClass = controlType!.toLowerCase();
|
|
17
16
|
const sysCssName = sysCss?.cssName;
|
|
18
|
-
const modelClass = kebabCase(codeName);
|
|
19
17
|
|
|
20
|
-
return { ns, typeClass, sysCssName,
|
|
18
|
+
return { ns, typeClass, sysCssName, codeName };
|
|
21
19
|
},
|
|
22
20
|
render() {
|
|
23
21
|
return (
|
|
24
|
-
<
|
|
25
|
-
modelData={this.controller.model}
|
|
22
|
+
<div
|
|
26
23
|
class={[
|
|
27
24
|
this.ns.b(),
|
|
28
25
|
this.ns.b(this.typeClass),
|
|
29
|
-
this.ns.m(this.
|
|
26
|
+
this.ns.m(this.codeName),
|
|
30
27
|
this.sysCssName,
|
|
31
28
|
]}
|
|
32
29
|
>
|
|
33
30
|
{this.$slots.default?.()}
|
|
34
|
-
</
|
|
31
|
+
</div>
|
|
35
32
|
);
|
|
36
33
|
},
|
|
37
34
|
});
|
package/src/common/index.ts
CHANGED
|
@@ -1,9 +1,28 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { ActionToolbar } from './action-toolbar/action-toolbar';
|
|
3
|
+
import { AppCol } from './app-col/app-col';
|
|
4
|
+
import { AppIcon } from './app-icon/app-icon';
|
|
5
|
+
import { AppKeepAlive } from './app-keep-alive/app-keep-alive';
|
|
6
|
+
import { AppRouterView } from './app-router-view/app-router-view';
|
|
7
|
+
import { AppRow } from './app-row/app-row';
|
|
8
|
+
import { ControlBase } from './control-base/control-base';
|
|
9
|
+
|
|
1
10
|
export * from './app-icon/app-icon';
|
|
2
11
|
export * from './app-keep-alive/app-keep-alive';
|
|
3
|
-
export * from './app-keep-alive/scheduler';
|
|
4
12
|
export * from './app-router-view/app-router-view';
|
|
5
|
-
export * from './app-user/app-user';
|
|
6
|
-
export * from './tab-page-exp/tab-page-exp';
|
|
7
|
-
export * from './quick-search/quick-search';
|
|
8
13
|
export * from './app-col/app-col';
|
|
9
14
|
export * from './app-row/app-row';
|
|
15
|
+
|
|
16
|
+
export const IBizCommonComponents = {
|
|
17
|
+
install: (v: App) => {
|
|
18
|
+
v.component('ControlBase', ControlBase);
|
|
19
|
+
v.component('AppKeepAlive', AppKeepAlive);
|
|
20
|
+
v.component('AppIcon', AppIcon);
|
|
21
|
+
v.component('AppRow', AppRow);
|
|
22
|
+
v.component('AppCol', AppCol);
|
|
23
|
+
v.component('AppRouterView', AppRouterView);
|
|
24
|
+
v.component('ActionToolbar', ActionToolbar);
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export default IBizCommonComponents;
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
ControlController,
|
|
4
4
|
AppFuncCommand,
|
|
5
5
|
findRecursiveChild,
|
|
6
|
+
IAppMenuController,
|
|
7
|
+
ControllerEvent,
|
|
8
|
+
IAppMenuEvent,
|
|
9
|
+
Application,
|
|
6
10
|
} from '@ibiz-template/runtime';
|
|
7
11
|
import { IAppMenu, IAppMenuItem } from '@ibiz/model-core';
|
|
8
12
|
import { AppMenuState } from './app-menu-state';
|
|
@@ -16,9 +20,14 @@ import { AppMenuState } from './app-menu-state';
|
|
|
16
20
|
* @class AppMenuController
|
|
17
21
|
* @extends {ControlController}
|
|
18
22
|
*/
|
|
19
|
-
export class AppMenuController
|
|
23
|
+
export class AppMenuController
|
|
24
|
+
extends ControlController<IAppMenu>
|
|
25
|
+
implements IAppMenuController
|
|
26
|
+
{
|
|
20
27
|
state = new AppMenuState();
|
|
21
28
|
|
|
29
|
+
declare evt: ControllerEvent<IAppMenuEvent>;
|
|
30
|
+
|
|
22
31
|
/**
|
|
23
32
|
* 菜单项状态
|
|
24
33
|
*
|
|
@@ -30,9 +39,13 @@ export class AppMenuController extends ControlController<IAppMenu> {
|
|
|
30
39
|
menuItemsState: { [p: string]: { visible: boolean; permitted: boolean } } =
|
|
31
40
|
{};
|
|
32
41
|
|
|
42
|
+
app!: Application;
|
|
43
|
+
|
|
33
44
|
protected async doCreated(): Promise<void> {
|
|
34
45
|
await super.doCreated();
|
|
35
46
|
|
|
47
|
+
this.app = await ibiz.hub.getApp(this.context.srfappid);
|
|
48
|
+
|
|
36
49
|
// 初始化菜单项状态
|
|
37
50
|
this.model.appMenuItems?.forEach(item => {
|
|
38
51
|
this.initMenuItemState(item);
|
|
@@ -47,7 +60,7 @@ export class AppMenuController extends ControlController<IAppMenu> {
|
|
|
47
60
|
* @param {string} id
|
|
48
61
|
* @return {*} {Promise<void>}
|
|
49
62
|
*/
|
|
50
|
-
async onClickMenuItem(id: string): Promise<void> {
|
|
63
|
+
async onClickMenuItem(id: string, event: MouseEvent): Promise<void> {
|
|
51
64
|
const menuItem = findRecursiveChild(this.model, id, {
|
|
52
65
|
compareField: 'id',
|
|
53
66
|
childrenFields: ['appMenuItems'],
|
|
@@ -56,7 +69,11 @@ export class AppMenuController extends ControlController<IAppMenu> {
|
|
|
56
69
|
throw new RuntimeError(`找不到名为${id}的菜单项`);
|
|
57
70
|
}
|
|
58
71
|
|
|
59
|
-
|
|
72
|
+
this.evt.emit('onClick', {
|
|
73
|
+
eventArg: id,
|
|
74
|
+
event,
|
|
75
|
+
});
|
|
76
|
+
|
|
60
77
|
await ibiz.commands.execute(
|
|
61
78
|
AppFuncCommand.TAG,
|
|
62
79
|
menuItem.appFuncId,
|
|
@@ -77,8 +94,10 @@ export class AppMenuController extends ControlController<IAppMenu> {
|
|
|
77
94
|
visible: boolean;
|
|
78
95
|
permitted: boolean;
|
|
79
96
|
} {
|
|
80
|
-
|
|
81
|
-
|
|
97
|
+
let permitted = true;
|
|
98
|
+
if (menu.accessKey) {
|
|
99
|
+
permitted = this.app.authority.calcByResCode(menu.accessKey);
|
|
100
|
+
}
|
|
82
101
|
let visible = permitted;
|
|
83
102
|
// 有子的计算子状态,如果本身显示但是子都不显示则不显示
|
|
84
103
|
if (menu.appMenuItems?.length) {
|
|
@@ -111,7 +111,7 @@ function renderSubmenu(
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
export const AppMenu = defineComponent({
|
|
114
|
-
name: '
|
|
114
|
+
name: 'AppMenuControl',
|
|
115
115
|
props: {
|
|
116
116
|
modelData: { type: Object as PropType<IAppMenu>, required: true },
|
|
117
117
|
context: { type: Object as PropType<IContext>, required: true },
|
|
@@ -126,6 +126,7 @@ export const AppMenu = defineComponent({
|
|
|
126
126
|
setup(props) {
|
|
127
127
|
const { proxy } = getCurrentInstance()!;
|
|
128
128
|
const c = useControlController((...args) => new AppMenuController(...args));
|
|
129
|
+
const ns = useNamespace(`control-${c.model.controlType!.toLowerCase()}`);
|
|
129
130
|
const menus = ref<IDatum[]>(getMenus(c.model.appMenuItems!));
|
|
130
131
|
// 默认激活菜单项
|
|
131
132
|
const defaultActive = ref('');
|
|
@@ -134,17 +135,10 @@ export const AppMenu = defineComponent({
|
|
|
134
135
|
// 路由对象
|
|
135
136
|
// const route = useRoute();
|
|
136
137
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
const onClick = async (key: string) => {
|
|
140
|
-
menuClickDoing = true;
|
|
141
|
-
await c.onClickMenuItem(key);
|
|
142
|
-
menuClickDoing = false;
|
|
138
|
+
const onClick = async (key: string, event: MouseEvent) => {
|
|
139
|
+
await c.onClickMenuItem(key, event);
|
|
143
140
|
};
|
|
144
141
|
|
|
145
|
-
console.log(menuClickDoing);
|
|
146
|
-
|
|
147
|
-
const ns = useNamespace('control-menu');
|
|
148
142
|
const key = ref(createUUID());
|
|
149
143
|
|
|
150
144
|
// 手动更新iView菜单
|
|
@@ -162,9 +156,6 @@ export const AppMenu = defineComponent({
|
|
|
162
156
|
// (newVal, oldVal) => {
|
|
163
157
|
// // 新旧值不一样,且新值不为空时变更
|
|
164
158
|
// if (newVal !== oldVal && newVal) {
|
|
165
|
-
// if (menuClickDoing === true) {
|
|
166
|
-
// emit('menuRouteChange');
|
|
167
|
-
// }
|
|
168
159
|
// const findItem = c.model.allItems.find(item => {
|
|
169
160
|
// return item.viewModelPath === newVal;
|
|
170
161
|
// });
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { ControlType } from '@ibiz-template/runtime';
|
|
1
|
+
import { ControlType, registerControlProvider } from '@ibiz-template/runtime';
|
|
2
2
|
import { App } from 'vue';
|
|
3
|
-
import { withInstall } from '
|
|
3
|
+
import { withInstall } from '@ibiz-template/vue3-util';
|
|
4
4
|
import { AppMenu } from './app-menu';
|
|
5
5
|
import { AppMenuProvider } from './app-menu-provider';
|
|
6
6
|
|
|
7
|
+
export * from './app-menu';
|
|
8
|
+
export * from './app-menu-provider';
|
|
9
|
+
export * from './app-menu-state';
|
|
10
|
+
export * from './app-menu.controller';
|
|
11
|
+
|
|
7
12
|
export const IBizAppMenu = withInstall(AppMenu, function (v: App) {
|
|
8
13
|
v.component(AppMenu.name, AppMenu);
|
|
9
|
-
|
|
14
|
+
registerControlProvider(ControlType.APP_MENU, () => new AppMenuProvider());
|
|
10
15
|
});
|
|
11
16
|
|
|
12
17
|
export default IBizAppMenu;
|
|
@@ -5,6 +5,8 @@ import {
|
|
|
5
5
|
ControllerEvent,
|
|
6
6
|
ControlVO,
|
|
7
7
|
FormNotifyState,
|
|
8
|
+
getFormDetailProvider,
|
|
9
|
+
IFormController,
|
|
8
10
|
IFormDetailProvider,
|
|
9
11
|
IFormEvent,
|
|
10
12
|
} from '@ibiz-template/runtime';
|
|
@@ -25,9 +27,10 @@ import { FormState } from './form-state';
|
|
|
25
27
|
* @extends {ControlController<T>}
|
|
26
28
|
* @template T
|
|
27
29
|
*/
|
|
28
|
-
export abstract class FormController<
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
export abstract class FormController<T extends IDEForm = IDEForm>
|
|
31
|
+
extends ControlController<T>
|
|
32
|
+
implements IFormController
|
|
33
|
+
{
|
|
31
34
|
declare evt: ControllerEvent<IFormEvent>;
|
|
32
35
|
|
|
33
36
|
state = new FormState();
|
|
@@ -158,16 +161,12 @@ export abstract class FormController<
|
|
|
158
161
|
form: FormController = this,
|
|
159
162
|
parent: FormGroupPanelController | undefined = undefined,
|
|
160
163
|
) {
|
|
161
|
-
const { formDetail: register } = ibiz.register;
|
|
162
|
-
if (!register) {
|
|
163
|
-
throw new RuntimeError('formDetail注册器不存在');
|
|
164
|
-
}
|
|
165
164
|
await Promise.all(
|
|
166
165
|
details.map(async detail => {
|
|
167
166
|
// 生成表单成员控制器
|
|
168
|
-
const detailProvider = await
|
|
167
|
+
const detailProvider = await getFormDetailProvider(detail);
|
|
169
168
|
if (!detailProvider) {
|
|
170
|
-
|
|
169
|
+
return;
|
|
171
170
|
}
|
|
172
171
|
form.providers[detail.id!] = detailProvider;
|
|
173
172
|
const detailController = await detailProvider.createController(
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { registerFormDetailProvider } from '@ibiz-template/runtime';
|
|
2
4
|
import { FormItemProvider } from '../form-detail/form-item/form-item-provider';
|
|
3
5
|
import IBizSearchForm from '../search-form';
|
|
4
6
|
import { FormControl } from './form-control';
|
|
5
|
-
import { withInstall } from '../../../util/install';
|
|
6
7
|
import FormPage from '../form-detail/form-page/form-page';
|
|
7
8
|
import { FormPageItem } from '../form-detail/form-page/form-page-item';
|
|
8
9
|
import { FormPageProvider } from '../form-detail/form-page/form-page-provider';
|
|
@@ -19,12 +20,11 @@ export const IBizForm = withInstall(FormControl, function (v: App) {
|
|
|
19
20
|
v.component(FormPageItem.name, FormPageItem);
|
|
20
21
|
v.component(FormItemContainer.name, FormItemContainer);
|
|
21
22
|
v.component(FormItem.name, FormItem);
|
|
22
|
-
const { formDetail } = ibiz.register;
|
|
23
23
|
|
|
24
24
|
// 表单项
|
|
25
|
-
|
|
25
|
+
registerFormDetailProvider('FORMITEM', () => new FormItemProvider());
|
|
26
26
|
// 表单分页
|
|
27
|
-
|
|
27
|
+
registerFormDetailProvider('FORMPAGE', () => new FormPageProvider());
|
|
28
28
|
});
|
|
29
29
|
|
|
30
30
|
export default IBizSearchForm;
|