@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,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const vue = require("vue");
|
|
4
|
-
const vue3Util = require("@ibiz-template/vue3-util");
|
|
5
|
-
const vueRouter = require("vue-router");
|
|
6
|
-
const runtime = require("@ibiz-template/runtime");
|
|
7
|
-
const core = require("@ibiz-template/core");
|
|
8
|
-
const RouterShell = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
-
name: "RouterShell",
|
|
10
|
-
props: {
|
|
11
|
-
level: {
|
|
12
|
-
type: Number,
|
|
13
|
-
default: 0
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
setup(props, {
|
|
17
|
-
emit
|
|
18
|
-
}) {
|
|
19
|
-
const route = vueRouter.useRoute();
|
|
20
|
-
const router = vueRouter.useRouter();
|
|
21
|
-
const viewData = vue.ref({});
|
|
22
|
-
const isLoaded = vue.ref(false);
|
|
23
|
-
const destoryContext = () => {
|
|
24
|
-
if (viewData.value.context) {
|
|
25
|
-
const context = vue.toRaw(viewData.value).context;
|
|
26
|
-
if (context)
|
|
27
|
-
context.destroy();
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
vue.onUnmounted(() => {
|
|
31
|
-
destoryContext();
|
|
32
|
-
});
|
|
33
|
-
const onNeuronInit = (...args) => {
|
|
34
|
-
emit("neuronInit", ...args);
|
|
35
|
-
};
|
|
36
|
-
const viewModal = {
|
|
37
|
-
mode: runtime.ViewMode.ROUTE,
|
|
38
|
-
level: props.level
|
|
39
|
-
};
|
|
40
|
-
const calcViewData = async () => {
|
|
41
|
-
try {
|
|
42
|
-
const _viewData = await vue3Util.parseRouteViewData(route, props.level);
|
|
43
|
-
_viewData.context.isRouter = true;
|
|
44
|
-
const _context = core.IBizContext.create(_viewData.context);
|
|
45
|
-
viewData.value = {
|
|
46
|
-
..._viewData,
|
|
47
|
-
context: _context
|
|
48
|
-
};
|
|
49
|
-
isLoaded.value = true;
|
|
50
|
-
emit("viewFound", {
|
|
51
|
-
viewName: viewData.value.viewModel.codeName
|
|
52
|
-
});
|
|
53
|
-
} catch (error) {
|
|
54
|
-
router.push({
|
|
55
|
-
name: `404View${props.level}`
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
calcViewData();
|
|
60
|
-
vue.watch(() => route.params.view1, () => {
|
|
61
|
-
if (props.level === 1) {
|
|
62
|
-
destoryContext();
|
|
63
|
-
calcViewData();
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
return {
|
|
67
|
-
route,
|
|
68
|
-
viewData,
|
|
69
|
-
isLoaded,
|
|
70
|
-
viewModal,
|
|
71
|
-
onNeuronInit
|
|
72
|
-
};
|
|
73
|
-
},
|
|
74
|
-
render() {
|
|
75
|
-
if (!this.isLoaded) {
|
|
76
|
-
return null;
|
|
77
|
-
}
|
|
78
|
-
const {
|
|
79
|
-
context,
|
|
80
|
-
params,
|
|
81
|
-
srfnav,
|
|
82
|
-
viewModel
|
|
83
|
-
} = this.viewData;
|
|
84
|
-
return vue.createVNode(vue.resolveComponent("view-shell"), {
|
|
85
|
-
"context": context,
|
|
86
|
-
"params": params,
|
|
87
|
-
"srfnav": srfnav,
|
|
88
|
-
"modal": this.viewModal,
|
|
89
|
-
"modelData": viewModel,
|
|
90
|
-
"isRouter": true,
|
|
91
|
-
"key": viewModel.codeName,
|
|
92
|
-
"onNeuronInit": this.onNeuronInit
|
|
93
|
-
}, null);
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
exports.RouterShell = RouterShell;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import './view-base.scss';
|
|
3
|
-
export declare const ViewBase: import("vue").DefineComponent<{
|
|
4
|
-
controller: {
|
|
5
|
-
type: PropType<ViewController>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {
|
|
9
|
-
ns: any;
|
|
10
|
-
typeClass: any;
|
|
11
|
-
sysCssName: any;
|
|
12
|
-
modelClass: any;
|
|
13
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
-
controller: {
|
|
15
|
-
type: PropType<ViewController>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
}>>, {}>;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import './view-layout.scss';
|
|
3
|
-
export declare const ViewLayout: import("vue").DefineComponent<{
|
|
4
|
-
modelData: {
|
|
5
|
-
type: PropType<IAppView>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
viewMode: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
isComplete: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
isLoading: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
ns: any;
|
|
22
|
-
isShowHeader: import("vue").ComputedRef<any>;
|
|
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: PropType<IAppView>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
viewMode: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
isComplete: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
isLoading: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
}>>, {
|
|
41
|
-
isComplete: boolean;
|
|
42
|
-
viewMode: string;
|
|
43
|
-
isLoading: boolean;
|
|
44
|
-
}>;
|
package/lib/util/install.d.ts
DELETED
package/lib/util/install.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
3
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const vue = require("vue");
|
|
3
|
-
const _hoisted_1 = { class: "edit-view" };
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
5
|
-
__name: "edit-view",
|
|
6
|
-
setup(__props) {
|
|
7
|
-
const name = vue.ref("张三");
|
|
8
|
-
return (_ctx, _cache) => {
|
|
9
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, "编辑视图 " + vue.toDisplayString(name.value), 1);
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
const editView_vue_vue_type_style_index_0_lang = "";
|
|
14
|
-
module.exports = _sfc_main;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PresetViewEngine, ViewController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IAppDEGridView } from '@ibiz/model-core';
|
|
3
|
-
export declare class GridViewEngine extends PresetViewEngine {
|
|
4
|
-
protected controller: ViewController<IAppDEGridView>;
|
|
5
|
-
get grid(): GridController;
|
|
6
|
-
load(): void;
|
|
7
|
-
init(): void;
|
|
8
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const runtime = require("@ibiz-template/runtime");
|
|
4
|
-
class GridViewEngine extends runtime.PresetViewEngine {
|
|
5
|
-
get grid() {
|
|
6
|
-
return this.controller.getController("grid");
|
|
7
|
-
}
|
|
8
|
-
load() {
|
|
9
|
-
this.grid.load();
|
|
10
|
-
}
|
|
11
|
-
init() {
|
|
12
|
-
const { childNames, evt, model } = this.controller;
|
|
13
|
-
childNames.push("grid");
|
|
14
|
-
evt.on("onMounted", () => {
|
|
15
|
-
if (model.loadDefault) {
|
|
16
|
-
this.load();
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.GridViewEngine = GridViewEngine;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export declare const GridView: import("vue").DefineComponent<{
|
|
3
|
-
context: PropType<IContext>;
|
|
4
|
-
params: {
|
|
5
|
-
type: PropType<IParams>;
|
|
6
|
-
default: () => {};
|
|
7
|
-
};
|
|
8
|
-
modelData: {
|
|
9
|
-
type: PropType<IAppDEGridView>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
modal: {
|
|
13
|
-
type: PropType<IModal>;
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
c: any;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
context: PropType<IContext>;
|
|
19
|
-
params: {
|
|
20
|
-
type: PropType<IParams>;
|
|
21
|
-
default: () => {};
|
|
22
|
-
};
|
|
23
|
-
modelData: {
|
|
24
|
-
type: PropType<IAppDEGridView>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
modal: {
|
|
28
|
-
type: PropType<IModal>;
|
|
29
|
-
};
|
|
30
|
-
}>>, {
|
|
31
|
-
params: IParams;
|
|
32
|
-
}>;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const vue = require("vue");
|
|
4
|
-
const runtime = require("@ibiz-template/runtime");
|
|
5
|
-
const vue3Util = require("@ibiz-template/vue3-util");
|
|
6
|
-
function _isSlot(s) {
|
|
7
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
8
|
-
}
|
|
9
|
-
const GridView = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
-
name: "GridView",
|
|
11
|
-
props: {
|
|
12
|
-
context: Object,
|
|
13
|
-
params: {
|
|
14
|
-
type: Object,
|
|
15
|
-
default: () => ({})
|
|
16
|
-
},
|
|
17
|
-
modelData: {
|
|
18
|
-
type: Object,
|
|
19
|
-
required: true
|
|
20
|
-
},
|
|
21
|
-
modal: {
|
|
22
|
-
type: Object
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup(props) {
|
|
26
|
-
const c = vue3Util.useViewController((...args) => new runtime.ViewController(...args));
|
|
27
|
-
console.log("视图模型", vue.toRaw(props.modelData));
|
|
28
|
-
return {
|
|
29
|
-
c
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
render() {
|
|
33
|
-
const {
|
|
34
|
-
state,
|
|
35
|
-
model
|
|
36
|
-
} = this.c;
|
|
37
|
-
let slots = null;
|
|
38
|
-
{
|
|
39
|
-
slots = {
|
|
40
|
-
grid: () => {
|
|
41
|
-
var _a;
|
|
42
|
-
if (this.$slots.grid) {
|
|
43
|
-
return this.$slots.grid();
|
|
44
|
-
}
|
|
45
|
-
const grid = (_a = model.controls) == null ? void 0 : _a.find((item) => item.name === "grid");
|
|
46
|
-
if (grid) {
|
|
47
|
-
return vue.createVNode(vue.resolveComponent("control-shell"), {
|
|
48
|
-
"modelData": grid,
|
|
49
|
-
"context": this.c.context,
|
|
50
|
-
"params": this.c.params,
|
|
51
|
-
"mdCtrlActiveMode": this.c.model.gridRowActiveMode
|
|
52
|
-
}, null);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
return vue.createVNode(vue.resolveComponent("md-view-base"), {
|
|
58
|
-
"controller": this.c
|
|
59
|
-
}, _isSlot(slots) ? slots : {
|
|
60
|
-
default: () => [slots]
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
exports.GridView = GridView;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const IbizGridView: import("../../util/install").TypeWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
context: import("vue").PropType<IContext>;
|
|
3
|
-
params: {
|
|
4
|
-
type: import("vue").PropType<IParams>;
|
|
5
|
-
default: () => {};
|
|
6
|
-
};
|
|
7
|
-
modelData: {
|
|
8
|
-
type: import("vue").PropType<IAppDEGridView>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
modal: {
|
|
12
|
-
type: import("vue").PropType<IModal>;
|
|
13
|
-
};
|
|
14
|
-
}, {
|
|
15
|
-
c: any;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
context: import("vue").PropType<IContext>;
|
|
18
|
-
params: {
|
|
19
|
-
type: import("vue").PropType<IParams>;
|
|
20
|
-
default: () => {};
|
|
21
|
-
};
|
|
22
|
-
modelData: {
|
|
23
|
-
type: import("vue").PropType<IAppDEGridView>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
modal: {
|
|
27
|
-
type: import("vue").PropType<IModal>;
|
|
28
|
-
};
|
|
29
|
-
}>>, {
|
|
30
|
-
params: IParams;
|
|
31
|
-
}>>;
|
|
32
|
-
export default IbizGridView;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const runtime = require("@ibiz-template/runtime");
|
|
4
|
-
const install = require("../../util/install");
|
|
5
|
-
const gridView = require("./grid-view");
|
|
6
|
-
const gridViewProvider = require("./grid-view-provider");
|
|
7
|
-
const gridViewEngine = require("./grid-view-engine");
|
|
8
|
-
const IbizGridView = install.withInstall(gridView.GridView, function(v) {
|
|
9
|
-
v.component(gridView.GridView.name, gridView.GridView);
|
|
10
|
-
ibiz.register.view.register(runtime.ViewType.DE_GRID_VIEW, new gridViewProvider.GridViewProvider());
|
|
11
|
-
ibiz.engine.registerPreset(runtime.ViewType.DE_GRID_VIEW, gridViewEngine.GridViewEngine);
|
|
12
|
-
});
|
|
13
|
-
exports.IbizGridView = IbizGridView;
|
|
14
|
-
exports.default = IbizGridView;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { IndexViewController } from '@ibiz-template/runtime';
|
|
2
|
-
export declare const getView2Value: (route: RouteLocationNormalizedLoaded) => string;
|
|
3
|
-
export declare const getView1Value: (route: RouteLocationNormalizedLoaded) => string;
|
|
4
|
-
export interface RouteMsg {
|
|
5
|
-
key: string;
|
|
6
|
-
fullPath: string;
|
|
7
|
-
modelPath?: string;
|
|
8
|
-
caption?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare function useIndexRouteManage(controller: IndexViewController): {
|
|
11
|
-
currentKey: import("vue").Ref<string>;
|
|
12
|
-
keyHistory: import("vue").Ref<string[]>;
|
|
13
|
-
routeMsgs: import("vue").Ref<{
|
|
14
|
-
key: string;
|
|
15
|
-
fullPath: string;
|
|
16
|
-
modelPath?: string | undefined;
|
|
17
|
-
caption?: string | undefined;
|
|
18
|
-
}[]>;
|
|
19
|
-
updateRouteMsg: (key: string, opts: Partial<RouteMsg>) => void;
|
|
20
|
-
closeView: (key?: string) => void;
|
|
21
|
-
deleteRouteCache: (keys: string[]) => void;
|
|
22
|
-
};
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const vue = require("vue");
|
|
4
|
-
const vueRouter = require("vue-router");
|
|
5
|
-
const getView2Value = (route) => {
|
|
6
|
-
const { view2, params2, params1 } = route.params;
|
|
7
|
-
if (!view2) {
|
|
8
|
-
return "";
|
|
9
|
-
}
|
|
10
|
-
let _params2 = params2.replace(
|
|
11
|
-
new RegExp(";srfnav=[^;=]*$|(?<=;)srfnav=[^;=]*;|^srfnav=[^;=]*;|^srfnav=[^;=]*$", "g"),
|
|
12
|
-
""
|
|
13
|
-
);
|
|
14
|
-
_params2 = _params2 || ibiz.env.routePlaceholder;
|
|
15
|
-
return `/${params1}/${view2}/${_params2}`;
|
|
16
|
-
};
|
|
17
|
-
const getView1Value = (route) => {
|
|
18
|
-
const { view1, appContext } = route.params;
|
|
19
|
-
return `/${appContext}/${view1}/${ibiz.env.routePlaceholder}`;
|
|
20
|
-
};
|
|
21
|
-
function useIndexRouteManage(controller) {
|
|
22
|
-
const router = vueRouter.useRouter();
|
|
23
|
-
const route = vueRouter.useRoute();
|
|
24
|
-
const currentKey = vue.ref("");
|
|
25
|
-
const indexPath = vue.ref("");
|
|
26
|
-
const keyHistory = vue.ref([]);
|
|
27
|
-
const routeMsgs = vue.ref([]);
|
|
28
|
-
const deleteRouteCache = (keys) => {
|
|
29
|
-
keys.forEach((key) => {
|
|
30
|
-
const index = keyHistory.value.indexOf(key);
|
|
31
|
-
if (index !== -1) {
|
|
32
|
-
keyHistory.value.splice(index, 1);
|
|
33
|
-
const msgIndex = routeMsgs.value.findIndex((item) => item.key === key);
|
|
34
|
-
routeMsgs.value.splice(msgIndex, 1);
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
vue.watch(
|
|
39
|
-
() => route.path,
|
|
40
|
-
(newVal, oldVal) => {
|
|
41
|
-
if (newVal !== oldVal) {
|
|
42
|
-
if (route.matched.length <= 2) {
|
|
43
|
-
deleteRouteCache(keyHistory.value.splice(0));
|
|
44
|
-
}
|
|
45
|
-
currentKey.value = getView2Value(route);
|
|
46
|
-
indexPath.value = getView1Value(route);
|
|
47
|
-
const find = routeMsgs.value.find(
|
|
48
|
-
(item) => item.key === currentKey.value
|
|
49
|
-
);
|
|
50
|
-
if (find) {
|
|
51
|
-
find.fullPath = route.fullPath;
|
|
52
|
-
} else {
|
|
53
|
-
if (newVal === indexPath.value) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
routeMsgs.value.push({
|
|
57
|
-
key: currentKey.value,
|
|
58
|
-
fullPath: route.fullPath,
|
|
59
|
-
modelPath: "",
|
|
60
|
-
caption: ""
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{ deep: true, immediate: true }
|
|
66
|
-
);
|
|
67
|
-
vue.watch(
|
|
68
|
-
currentKey,
|
|
69
|
-
(newVal, oldVal) => {
|
|
70
|
-
if (newVal !== oldVal && newVal) {
|
|
71
|
-
const index = keyHistory.value.indexOf(newVal);
|
|
72
|
-
if (index === -1) {
|
|
73
|
-
keyHistory.value.unshift(newVal);
|
|
74
|
-
} else {
|
|
75
|
-
keyHistory.value.splice(index, 1);
|
|
76
|
-
keyHistory.value.unshift(newVal);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{ immediate: true }
|
|
81
|
-
);
|
|
82
|
-
const updateRouteMsg = (key, opts) => {
|
|
83
|
-
const find = routeMsgs.value.find((item) => item.key === currentKey.value);
|
|
84
|
-
if (find) {
|
|
85
|
-
if (opts.caption)
|
|
86
|
-
find.caption = opts.caption;
|
|
87
|
-
if (opts.modelPath)
|
|
88
|
-
find.modelPath = opts.modelPath;
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
const closeView = (key = currentKey.value) => {
|
|
92
|
-
deleteRouteCache([key]);
|
|
93
|
-
const toKey = keyHistory.value[0];
|
|
94
|
-
if (!toKey) {
|
|
95
|
-
if (controller.model.blankMode) {
|
|
96
|
-
window.close();
|
|
97
|
-
} else {
|
|
98
|
-
currentKey.value = "";
|
|
99
|
-
router.push(indexPath.value);
|
|
100
|
-
}
|
|
101
|
-
} else {
|
|
102
|
-
const find = routeMsgs.value.find((item) => item.key === toKey);
|
|
103
|
-
router.push(find.fullPath);
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
return {
|
|
107
|
-
currentKey,
|
|
108
|
-
keyHistory,
|
|
109
|
-
routeMsgs,
|
|
110
|
-
updateRouteMsg,
|
|
111
|
-
closeView,
|
|
112
|
-
deleteRouteCache
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
exports.getView1Value = getView1Value;
|
|
116
|
-
exports.getView2Value = getView2Value;
|
|
117
|
-
exports.useIndexRouteManage = useIndexRouteManage;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const runtime = require("@ibiz-template/runtime");
|
|
4
|
-
class IndexViewEngine extends runtime.PresetViewEngine {
|
|
5
|
-
init() {
|
|
6
|
-
this.controller.childNames.push("appmenu");
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
exports.IndexViewEngine = IndexViewEngine;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { IndexViewController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IAppView } from '@ibiz/model-core';
|
|
3
|
-
export interface RouteMsg {
|
|
4
|
-
key: string;
|
|
5
|
-
fullPath: string;
|
|
6
|
-
modelPath?: string;
|
|
7
|
-
caption?: string;
|
|
8
|
-
appView?: IAppView;
|
|
9
|
-
}
|
|
10
|
-
export declare const getView2Value: (route: RouteLocationNormalizedLoaded) => string;
|
|
11
|
-
export declare const getView1Value: (route: RouteLocationNormalizedLoaded) => string;
|
|
12
|
-
export declare function useIndexExpRouteManage(controller: IndexViewController): {
|
|
13
|
-
currentKey: import("vue").Ref<string>;
|
|
14
|
-
keyHistory: import("vue").Ref<string[]>;
|
|
15
|
-
routeMsgs: import("vue").Ref<{
|
|
16
|
-
key: string;
|
|
17
|
-
fullPath: string;
|
|
18
|
-
modelPath?: string | undefined;
|
|
19
|
-
caption?: string | undefined;
|
|
20
|
-
appView?: any;
|
|
21
|
-
}[]>;
|
|
22
|
-
updateRouteMsg: (key: string, opts: Partial<RouteMsg>) => Promise<void>;
|
|
23
|
-
closeView: (key?: string) => void;
|
|
24
|
-
deleteRouteCache: (keys: string[]) => void;
|
|
25
|
-
handleTabClick: (index: number) => void;
|
|
26
|
-
handleTabDelete: (name: number) => void;
|
|
27
|
-
handleCloseAll: () => void;
|
|
28
|
-
handleCloseOther: () => void;
|
|
29
|
-
};
|