@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
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export declare const IbizAppMenu: import("../../util/install").TypeWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
modelData: {
|
|
3
|
-
type: import("vue").PropType<IAppMenu>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
context: {
|
|
7
|
-
type: import("vue").PropType<IContext>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
params: {
|
|
11
|
-
type: import("vue").PropType<IParams>;
|
|
12
|
-
default: () => {};
|
|
13
|
-
};
|
|
14
|
-
collapse: BooleanConstructor;
|
|
15
|
-
currentPath: StringConstructor;
|
|
16
|
-
mode: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
menus: import("vue").Ref<any[]>;
|
|
22
|
-
c: any;
|
|
23
|
-
key: any;
|
|
24
|
-
onClick: (key: string) => Promise<void>;
|
|
25
|
-
ns: any;
|
|
26
|
-
defaultActive: import("vue").Ref<string>;
|
|
27
|
-
defaultOpens: import("vue").Ref<string[]>;
|
|
28
|
-
MenuMode: import("vue").ComputedRef<"horizontal" | "vertical">;
|
|
29
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
modelData: {
|
|
31
|
-
type: import("vue").PropType<IAppMenu>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
context: {
|
|
35
|
-
type: import("vue").PropType<IContext>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
params: {
|
|
39
|
-
type: import("vue").PropType<IParams>;
|
|
40
|
-
default: () => {};
|
|
41
|
-
};
|
|
42
|
-
collapse: BooleanConstructor;
|
|
43
|
-
currentPath: StringConstructor;
|
|
44
|
-
mode: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
}>>, {
|
|
49
|
-
collapse: boolean;
|
|
50
|
-
params: IParams;
|
|
51
|
-
mode: string;
|
|
52
|
-
}>>;
|
|
53
|
-
export default IbizAppMenu;
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import './grid.scss';
|
|
3
|
-
export declare const GridControl: import("vue").DefineComponent<{
|
|
4
|
-
modelData: {
|
|
5
|
-
type: PropType<IDEGrid>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
context: {
|
|
9
|
-
type: PropType<IContext>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
params: {
|
|
13
|
-
type: PropType<IParams>;
|
|
14
|
-
default: () => {};
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* 部件行数据默认激活模式
|
|
18
|
-
* - 0 不激活
|
|
19
|
-
* - 1 单击激活
|
|
20
|
-
* - 2 双击激活(默认值)
|
|
21
|
-
*
|
|
22
|
-
* @type {(number | 0 | 1 | 2)}
|
|
23
|
-
*/
|
|
24
|
-
mdCtrlActiveMode: {
|
|
25
|
-
type: NumberConstructor;
|
|
26
|
-
default: number;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* 是否默认选中第一条数据
|
|
30
|
-
*
|
|
31
|
-
* @type boolean
|
|
32
|
-
*/
|
|
33
|
-
isSelectFirstDefault: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
required: false;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* 默认选中的数据
|
|
39
|
-
*
|
|
40
|
-
* @type Array
|
|
41
|
-
*/
|
|
42
|
-
defaultSelectKeys: {
|
|
43
|
-
type: {
|
|
44
|
-
(arrayLength: number): string[];
|
|
45
|
-
(...items: string[]): string[];
|
|
46
|
-
new (arrayLength: number): string[];
|
|
47
|
-
new (...items: string[]): string[];
|
|
48
|
-
isArray(arg: any): arg is any[];
|
|
49
|
-
readonly prototype: any[];
|
|
50
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
51
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
52
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
53
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
54
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
55
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
56
|
-
};
|
|
57
|
-
required: false;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* 是否包含在导航视图内
|
|
61
|
-
*
|
|
62
|
-
* @type boolean
|
|
63
|
-
*/
|
|
64
|
-
isExpView: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
required: false;
|
|
67
|
-
};
|
|
68
|
-
}, {
|
|
69
|
-
c: any;
|
|
70
|
-
ns: any;
|
|
71
|
-
tableRef: import("vue").Ref<any>;
|
|
72
|
-
tableData: import("vue").ComputedRef<any>;
|
|
73
|
-
renderColumns: import("vue").ComputedRef<any>;
|
|
74
|
-
onDbRowClick: (data: ControlVO) => void;
|
|
75
|
-
onRowClick: (data: ControlVO) => void;
|
|
76
|
-
onSelectionChange: (selection: ControlVO[]) => void;
|
|
77
|
-
onSortChange: (opts: {
|
|
78
|
-
_column: IDatum;
|
|
79
|
-
prop: string;
|
|
80
|
-
order: "ascending" | "descending";
|
|
81
|
-
}) => void;
|
|
82
|
-
onPageChange: (page: number) => void;
|
|
83
|
-
onPageSizeChange: (size: number) => void;
|
|
84
|
-
onPageReset: () => void;
|
|
85
|
-
handleRowClassName: ({ row }: {
|
|
86
|
-
row: IDatum;
|
|
87
|
-
}) => string;
|
|
88
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
-
modelData: {
|
|
90
|
-
type: PropType<IDEGrid>;
|
|
91
|
-
required: true;
|
|
92
|
-
};
|
|
93
|
-
context: {
|
|
94
|
-
type: PropType<IContext>;
|
|
95
|
-
required: true;
|
|
96
|
-
};
|
|
97
|
-
params: {
|
|
98
|
-
type: PropType<IParams>;
|
|
99
|
-
default: () => {};
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* 部件行数据默认激活模式
|
|
103
|
-
* - 0 不激活
|
|
104
|
-
* - 1 单击激活
|
|
105
|
-
* - 2 双击激活(默认值)
|
|
106
|
-
*
|
|
107
|
-
* @type {(number | 0 | 1 | 2)}
|
|
108
|
-
*/
|
|
109
|
-
mdCtrlActiveMode: {
|
|
110
|
-
type: NumberConstructor;
|
|
111
|
-
default: number;
|
|
112
|
-
};
|
|
113
|
-
/**
|
|
114
|
-
* 是否默认选中第一条数据
|
|
115
|
-
*
|
|
116
|
-
* @type boolean
|
|
117
|
-
*/
|
|
118
|
-
isSelectFirstDefault: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
required: false;
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* 默认选中的数据
|
|
124
|
-
*
|
|
125
|
-
* @type Array
|
|
126
|
-
*/
|
|
127
|
-
defaultSelectKeys: {
|
|
128
|
-
type: {
|
|
129
|
-
(arrayLength: number): string[];
|
|
130
|
-
(...items: string[]): string[];
|
|
131
|
-
new (arrayLength: number): string[];
|
|
132
|
-
new (...items: string[]): string[];
|
|
133
|
-
isArray(arg: any): arg is any[];
|
|
134
|
-
readonly prototype: any[];
|
|
135
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
136
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
137
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
138
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
139
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
140
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
141
|
-
};
|
|
142
|
-
required: false;
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* 是否包含在导航视图内
|
|
146
|
-
*
|
|
147
|
-
* @type boolean
|
|
148
|
-
*/
|
|
149
|
-
isExpView: {
|
|
150
|
-
type: BooleanConstructor;
|
|
151
|
-
required: false;
|
|
152
|
-
};
|
|
153
|
-
}>>, {
|
|
154
|
-
params: IParams;
|
|
155
|
-
mdCtrlActiveMode: number;
|
|
156
|
-
isSelectFirstDefault: boolean;
|
|
157
|
-
isExpView: boolean;
|
|
158
|
-
}>;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { GridControl } from './grid-control';
|
|
2
|
-
import GridFieldColumn from './grid-field-column/grid-field-column';
|
|
3
|
-
export { GridControl, GridFieldColumn };
|
|
4
|
-
export declare const IbizGrid: import("../../util/install").TypeWithInstall<import("vue").DefineComponent<{
|
|
5
|
-
modelData: {
|
|
6
|
-
type: import("vue").PropType<IDEGrid>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
context: {
|
|
10
|
-
type: import("vue").PropType<IContext>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
params: {
|
|
14
|
-
type: import("vue").PropType<IParams>;
|
|
15
|
-
default: () => {};
|
|
16
|
-
};
|
|
17
|
-
mdCtrlActiveMode: {
|
|
18
|
-
type: NumberConstructor;
|
|
19
|
-
default: number;
|
|
20
|
-
};
|
|
21
|
-
isSelectFirstDefault: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
required: false;
|
|
24
|
-
};
|
|
25
|
-
defaultSelectKeys: {
|
|
26
|
-
type: {
|
|
27
|
-
(arrayLength: number): string[];
|
|
28
|
-
(...items: string[]): string[];
|
|
29
|
-
new (arrayLength: number): string[];
|
|
30
|
-
new (...items: string[]): string[];
|
|
31
|
-
isArray(arg: any): arg is any[];
|
|
32
|
-
readonly prototype: any[];
|
|
33
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
34
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
35
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
36
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
37
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
38
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
39
|
-
};
|
|
40
|
-
required: false;
|
|
41
|
-
};
|
|
42
|
-
isExpView: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
required: false;
|
|
45
|
-
};
|
|
46
|
-
}, {
|
|
47
|
-
c: any;
|
|
48
|
-
ns: any;
|
|
49
|
-
tableRef: import("vue").Ref<any>;
|
|
50
|
-
tableData: import("vue").ComputedRef<any>;
|
|
51
|
-
renderColumns: import("vue").ComputedRef<any>;
|
|
52
|
-
onDbRowClick: (data: ControlVO) => void;
|
|
53
|
-
onRowClick: (data: ControlVO) => void;
|
|
54
|
-
onSelectionChange: (selection: ControlVO[]) => void;
|
|
55
|
-
onSortChange: (opts: {
|
|
56
|
-
_column: IDatum;
|
|
57
|
-
prop: string;
|
|
58
|
-
order: "ascending" | "descending";
|
|
59
|
-
}) => void;
|
|
60
|
-
onPageChange: (page: number) => void;
|
|
61
|
-
onPageSizeChange: (size: number) => void;
|
|
62
|
-
onPageReset: () => void;
|
|
63
|
-
handleRowClassName: ({ row }: {
|
|
64
|
-
row: IDatum;
|
|
65
|
-
}) => string;
|
|
66
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
-
modelData: {
|
|
68
|
-
type: import("vue").PropType<IDEGrid>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
context: {
|
|
72
|
-
type: import("vue").PropType<IContext>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
params: {
|
|
76
|
-
type: import("vue").PropType<IParams>;
|
|
77
|
-
default: () => {};
|
|
78
|
-
};
|
|
79
|
-
mdCtrlActiveMode: {
|
|
80
|
-
type: NumberConstructor;
|
|
81
|
-
default: number;
|
|
82
|
-
};
|
|
83
|
-
isSelectFirstDefault: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
required: false;
|
|
86
|
-
};
|
|
87
|
-
defaultSelectKeys: {
|
|
88
|
-
type: {
|
|
89
|
-
(arrayLength: number): string[];
|
|
90
|
-
(...items: string[]): string[];
|
|
91
|
-
new (arrayLength: number): string[];
|
|
92
|
-
new (...items: string[]): string[];
|
|
93
|
-
isArray(arg: any): arg is any[];
|
|
94
|
-
readonly prototype: any[];
|
|
95
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
96
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
97
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
98
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
99
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
100
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
101
|
-
};
|
|
102
|
-
required: false;
|
|
103
|
-
};
|
|
104
|
-
isExpView: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
required: false;
|
|
107
|
-
};
|
|
108
|
-
}>>, {
|
|
109
|
-
params: IParams;
|
|
110
|
-
mdCtrlActiveMode: number;
|
|
111
|
-
isSelectFirstDefault: boolean;
|
|
112
|
-
isExpView: boolean;
|
|
113
|
-
}>>;
|
|
114
|
-
export default IbizGrid;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ControlType } from "@ibiz-template/runtime";
|
|
2
|
-
import { GridControl } from "./grid-control";
|
|
3
|
-
import { GridControl as GridControl2 } from "./grid-control";
|
|
4
|
-
import GridFieldColumn from "./grid-field-column/grid-field-column";
|
|
5
|
-
import { default as default2 } from "./grid-field-column/grid-field-column";
|
|
6
|
-
import { withInstall } from "../../util/install";
|
|
7
|
-
import { GridProvider } from "./grid-provider";
|
|
8
|
-
import { GridFieldColumnProvider } from "./grid-field-column-provider";
|
|
9
|
-
const IbizGrid = withInstall(GridControl, function(v) {
|
|
10
|
-
v.component(GridControl.name, GridControl);
|
|
11
|
-
v.component(GridFieldColumn.name, GridFieldColumn);
|
|
12
|
-
ibiz.register.gridColumn.register(
|
|
13
|
-
"DEFGRIDCOLUMN",
|
|
14
|
-
new GridFieldColumnProvider()
|
|
15
|
-
);
|
|
16
|
-
ibiz.register.control.register(ControlType.GRID, new GridProvider());
|
|
17
|
-
});
|
|
18
|
-
export {
|
|
19
|
-
GridControl2 as GridControl,
|
|
20
|
-
default2 as GridFieldColumn,
|
|
21
|
-
IbizGrid,
|
|
22
|
-
IbizGrid as default
|
|
23
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare const IbizToolbar: import("../../util/install").TypeWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
modelData: {
|
|
3
|
-
type: import("vue").PropType<IDEToolbar>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
context: {
|
|
7
|
-
type: import("vue").PropType<IContext>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
params: {
|
|
11
|
-
type: import("vue").PropType<IParams>;
|
|
12
|
-
default: () => {};
|
|
13
|
-
};
|
|
14
|
-
viewMode: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
}, {
|
|
19
|
-
c: any;
|
|
20
|
-
btnSize: import("vue").ComputedRef<"small" | "default">;
|
|
21
|
-
ns: any;
|
|
22
|
-
handleClick: (item: IDEToolbarItem, event: MouseEvent) => Promise<void>;
|
|
23
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
modelData: {
|
|
25
|
-
type: import("vue").PropType<IDEToolbar>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
context: {
|
|
29
|
-
type: import("vue").PropType<IContext>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
params: {
|
|
33
|
-
type: import("vue").PropType<IParams>;
|
|
34
|
-
default: () => {};
|
|
35
|
-
};
|
|
36
|
-
viewMode: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
}>>, {
|
|
41
|
-
params: IParams;
|
|
42
|
-
}>>;
|
|
43
|
-
export default IbizToolbar;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ControlType } from "@ibiz-template/runtime";
|
|
2
|
-
import { withInstall } from "../../util/install";
|
|
3
|
-
import { ToolbarControl } from "./toolbar-control";
|
|
4
|
-
import { ToolbarProvider } from "./toolbar-provider";
|
|
5
|
-
const IbizToolbar = withInstall(ToolbarControl, function(v) {
|
|
6
|
-
v.component(ToolbarControl.name, ToolbarControl);
|
|
7
|
-
ibiz.register.control.register(ControlType.TOOLBAR, new ToolbarProvider());
|
|
8
|
-
});
|
|
9
|
-
export {
|
|
10
|
-
IbizToolbar,
|
|
11
|
-
IbizToolbar as default
|
|
12
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import './app-layout.scss';
|
|
3
|
-
export declare const AppLayout: import("vue").DefineComponent<{
|
|
4
|
-
modelData: {
|
|
5
|
-
type: PropType<IAppIndexView>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
isComplete: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
}, {
|
|
13
|
-
ns: any;
|
|
14
|
-
isCollapse: import("vue").Ref<boolean>;
|
|
15
|
-
isBlank: import("vue").ComputedRef<boolean>;
|
|
16
|
-
collapseMenus: () => void;
|
|
17
|
-
menuAlign: import("vue").ComputedRef<any>;
|
|
18
|
-
redirectToIndex: () => void;
|
|
19
|
-
renderLogo: () => JSX.Element;
|
|
20
|
-
hasTabPageExp: import("vue").ComputedRef<boolean>;
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
modelData: {
|
|
23
|
-
type: PropType<IAppIndexView>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
isComplete: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
}>>, {
|
|
31
|
-
isComplete: boolean;
|
|
32
|
-
}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export declare const ControlBase: import("vue").DefineComponent<{
|
|
3
|
-
controller: {
|
|
4
|
-
type: PropType<ControlController>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}, {
|
|
8
|
-
ns: any;
|
|
9
|
-
typeClass: any;
|
|
10
|
-
sysCssName: any;
|
|
11
|
-
modelClass: any;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
controller: {
|
|
14
|
-
type: PropType<ControlController>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
}>>, {}>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import './control-shell.scss';
|
|
3
|
-
export declare const ControlShell: import("vue").DefineComponent<{
|
|
4
|
-
modelData: {
|
|
5
|
-
type: PropType<IControl>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {
|
|
9
|
-
ns: any;
|
|
10
|
-
isComplete: import("vue").Ref<boolean>;
|
|
11
|
-
errMsg: import("vue").Ref<string>;
|
|
12
|
-
provider: import("vue").Ref<any>;
|
|
13
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
-
modelData: {
|
|
15
|
-
type: PropType<IControl>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
}>>, {}>;
|
package/es/layout/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AppLayout } from './app-layout/app-layout';
|
|
2
|
-
import ControlLayout from './control-layout/control-layout';
|
|
3
|
-
import { ViewBase } from './view-base/view-base';
|
|
4
|
-
import { MDViewBase } from './md-view-base/md-view-base';
|
|
5
|
-
import { ViewLayout } from './view-layout/view-layout';
|
|
6
|
-
import { ControlBase } from './control-base/control-base';
|
|
7
|
-
import { ViewShell } from './view-shell/view-shell';
|
|
8
|
-
import { ControlShell } from './control-shell/control-shell';
|
|
9
|
-
import { RouterShell } from './router-shell/router-shell';
|
|
10
|
-
export { AppLayout, ViewLayout, ViewBase, MDViewBase, ControlLayout, ControlBase, ViewShell, ControlShell, RouterShell, };
|
package/es/layout/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AppLayout } from "./app-layout/app-layout";
|
|
2
|
-
import { default as default2 } from "./control-layout/control-layout";
|
|
3
|
-
import { ViewBase } from "./view-base/view-base";
|
|
4
|
-
import { MDViewBase } from "./md-view-base/md-view-base";
|
|
5
|
-
import { ViewLayout } from "./view-layout/view-layout";
|
|
6
|
-
import { ControlBase } from "./control-base/control-base";
|
|
7
|
-
import { ViewShell } from "./view-shell/view-shell";
|
|
8
|
-
import { ControlShell } from "./control-shell/control-shell";
|
|
9
|
-
import { RouterShell } from "./router-shell/router-shell";
|
|
10
|
-
export {
|
|
11
|
-
AppLayout,
|
|
12
|
-
ControlBase,
|
|
13
|
-
default2 as ControlLayout,
|
|
14
|
-
ControlShell,
|
|
15
|
-
MDViewBase,
|
|
16
|
-
RouterShell,
|
|
17
|
-
ViewBase,
|
|
18
|
-
ViewLayout,
|
|
19
|
-
ViewShell
|
|
20
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export declare const MDViewBase: import("vue").DefineComponent<{
|
|
3
|
-
controller: {
|
|
4
|
-
type: PropType<ViewController>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
controller: {
|
|
9
|
-
type: PropType<ViewController>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>>, {}>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createVNode, resolveComponent } from "vue";
|
|
2
|
-
import { EmptyVNode } from "@ibiz-template/vue3-util";
|
|
3
|
-
const MDViewBase = /* @__PURE__ */ defineComponent({
|
|
4
|
-
props: {
|
|
5
|
-
controller: {
|
|
6
|
-
type: Object,
|
|
7
|
-
required: true
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
setup() {
|
|
11
|
-
return {};
|
|
12
|
-
},
|
|
13
|
-
render() {
|
|
14
|
-
const c = this.controller;
|
|
15
|
-
c.state;
|
|
16
|
-
const inheritSlots = {};
|
|
17
|
-
Object.keys(this.$slots).forEach((key) => {
|
|
18
|
-
inheritSlots[key] = (arg) => this.$slots[key](arg);
|
|
19
|
-
});
|
|
20
|
-
return createVNode(resolveComponent("view-base"), {
|
|
21
|
-
"controller": c
|
|
22
|
-
}, {
|
|
23
|
-
quickSearch: () => {
|
|
24
|
-
return EmptyVNode;
|
|
25
|
-
},
|
|
26
|
-
searchForm: () => {
|
|
27
|
-
return EmptyVNode;
|
|
28
|
-
},
|
|
29
|
-
...inheritSlots
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
MDViewBase
|
|
35
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare const RouterShell: import("vue").DefineComponent<{
|
|
2
|
-
level: {
|
|
3
|
-
type: NumberConstructor;
|
|
4
|
-
default: number;
|
|
5
|
-
};
|
|
6
|
-
}, {
|
|
7
|
-
route: any;
|
|
8
|
-
viewData: import("vue").Ref<{
|
|
9
|
-
viewModel?: any;
|
|
10
|
-
context?: any;
|
|
11
|
-
params?: any;
|
|
12
|
-
srfnav?: string | undefined;
|
|
13
|
-
}>;
|
|
14
|
-
isLoaded: import("vue").Ref<boolean>;
|
|
15
|
-
viewModal: {
|
|
16
|
-
mode: any;
|
|
17
|
-
level: number;
|
|
18
|
-
};
|
|
19
|
-
onNeuronInit: (...args: IDatum[]) => void;
|
|
20
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
level: {
|
|
22
|
-
type: NumberConstructor;
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
}>>, {
|
|
26
|
-
level: number;
|
|
27
|
-
}>;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, onUnmounted, watch, createVNode, resolveComponent, toRaw } from "vue";
|
|
2
|
-
import { parseRouteViewData } from "@ibiz-template/vue3-util";
|
|
3
|
-
import { useRoute, useRouter } from "vue-router";
|
|
4
|
-
import { ViewMode } from "@ibiz-template/runtime";
|
|
5
|
-
import { IBizContext } from "@ibiz-template/core";
|
|
6
|
-
const RouterShell = /* @__PURE__ */ defineComponent({
|
|
7
|
-
name: "RouterShell",
|
|
8
|
-
props: {
|
|
9
|
-
level: {
|
|
10
|
-
type: Number,
|
|
11
|
-
default: 0
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
setup(props, {
|
|
15
|
-
emit
|
|
16
|
-
}) {
|
|
17
|
-
const route = useRoute();
|
|
18
|
-
const router = useRouter();
|
|
19
|
-
const viewData = ref({});
|
|
20
|
-
const isLoaded = ref(false);
|
|
21
|
-
const destoryContext = () => {
|
|
22
|
-
if (viewData.value.context) {
|
|
23
|
-
const context = toRaw(viewData.value).context;
|
|
24
|
-
if (context)
|
|
25
|
-
context.destroy();
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
onUnmounted(() => {
|
|
29
|
-
destoryContext();
|
|
30
|
-
});
|
|
31
|
-
const onNeuronInit = (...args) => {
|
|
32
|
-
emit("neuronInit", ...args);
|
|
33
|
-
};
|
|
34
|
-
const viewModal = {
|
|
35
|
-
mode: ViewMode.ROUTE,
|
|
36
|
-
level: props.level
|
|
37
|
-
};
|
|
38
|
-
const calcViewData = async () => {
|
|
39
|
-
try {
|
|
40
|
-
const _viewData = await parseRouteViewData(route, props.level);
|
|
41
|
-
_viewData.context.isRouter = true;
|
|
42
|
-
const _context = IBizContext.create(_viewData.context);
|
|
43
|
-
viewData.value = {
|
|
44
|
-
..._viewData,
|
|
45
|
-
context: _context
|
|
46
|
-
};
|
|
47
|
-
isLoaded.value = true;
|
|
48
|
-
emit("viewFound", {
|
|
49
|
-
viewName: viewData.value.viewModel.codeName
|
|
50
|
-
});
|
|
51
|
-
} catch (error) {
|
|
52
|
-
router.push({
|
|
53
|
-
name: `404View${props.level}`
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
calcViewData();
|
|
58
|
-
watch(() => route.params.view1, () => {
|
|
59
|
-
if (props.level === 1) {
|
|
60
|
-
destoryContext();
|
|
61
|
-
calcViewData();
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
return {
|
|
65
|
-
route,
|
|
66
|
-
viewData,
|
|
67
|
-
isLoaded,
|
|
68
|
-
viewModal,
|
|
69
|
-
onNeuronInit
|
|
70
|
-
};
|
|
71
|
-
},
|
|
72
|
-
render() {
|
|
73
|
-
if (!this.isLoaded) {
|
|
74
|
-
return null;
|
|
75
|
-
}
|
|
76
|
-
const {
|
|
77
|
-
context,
|
|
78
|
-
params,
|
|
79
|
-
srfnav,
|
|
80
|
-
viewModel
|
|
81
|
-
} = this.viewData;
|
|
82
|
-
return createVNode(resolveComponent("view-shell"), {
|
|
83
|
-
"context": context,
|
|
84
|
-
"params": params,
|
|
85
|
-
"srfnav": srfnav,
|
|
86
|
-
"modal": this.viewModal,
|
|
87
|
-
"modelData": viewModel,
|
|
88
|
-
"isRouter": true,
|
|
89
|
-
"key": viewModel.codeName,
|
|
90
|
-
"onNeuronInit": this.onNeuronInit
|
|
91
|
-
}, null);
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
export {
|
|
95
|
-
RouterShell
|
|
96
|
-
};
|