@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
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
import { GridUAColumnController } from "./grid-ua-column.controller";
|
|
8
|
+
class GridUAColumnProvider {
|
|
9
|
+
constructor() {
|
|
10
|
+
__publicField(this, "component", "GridUAColumn");
|
|
11
|
+
}
|
|
12
|
+
async createController(columnModel, grid) {
|
|
13
|
+
const c = new GridUAColumnController(columnModel, grid);
|
|
14
|
+
await c.init();
|
|
15
|
+
return c;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
GridUAColumnProvider
|
|
20
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IDEGridUAColumn, IUIActionGroupDetail } from '@ibiz/model-core';
|
|
2
|
+
import { GridColumnController } from '../grid/grid-column.controller';
|
|
3
|
+
import { GridRowController } from '../grid/grid-row.controller';
|
|
4
|
+
/**
|
|
5
|
+
* 表格操作列控制器
|
|
6
|
+
* @return {*}
|
|
7
|
+
* @author: zhujiamin
|
|
8
|
+
* @Date: 2022-09-01 18:25:20
|
|
9
|
+
*/
|
|
10
|
+
export declare class GridUAColumnController extends GridColumnController<IDEGridUAColumn> {
|
|
11
|
+
/**
|
|
12
|
+
* 给rowController初始化操作列的状态
|
|
13
|
+
*
|
|
14
|
+
* @author lxm
|
|
15
|
+
* @date 2022-09-07 21:09:43
|
|
16
|
+
* @param {GridRowController} row
|
|
17
|
+
*/
|
|
18
|
+
initActionStates(row: GridRowController): void;
|
|
19
|
+
/**
|
|
20
|
+
* 触发操作列点击事件
|
|
21
|
+
*
|
|
22
|
+
* @author lxm
|
|
23
|
+
* @date 2022-09-07 22:09:46
|
|
24
|
+
* @param {IPSUIActionGroupDetail} detail
|
|
25
|
+
* @param {MouseEvent} event
|
|
26
|
+
*/
|
|
27
|
+
onActionClick(detail: IUIActionGroupDetail, row: GridRowController, event: MouseEvent): Promise<void>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { RuntimeModelError } from "@ibiz-template/core";
|
|
2
|
+
import { ButtonContainerState, UIActionButtonState, UIActionUtil } from "@ibiz-template/runtime";
|
|
3
|
+
import { GridColumnController } from "../grid/grid-column.controller";
|
|
4
|
+
class GridUAColumnController extends GridColumnController {
|
|
5
|
+
/**
|
|
6
|
+
* 给rowController初始化操作列的状态
|
|
7
|
+
*
|
|
8
|
+
* @author lxm
|
|
9
|
+
* @date 2022-09-07 21:09:43
|
|
10
|
+
* @param {GridRowController} row
|
|
11
|
+
*/
|
|
12
|
+
initActionStates(row) {
|
|
13
|
+
var _a;
|
|
14
|
+
const { deuiactionGroup } = this.model;
|
|
15
|
+
if (!deuiactionGroup) {
|
|
16
|
+
throw new RuntimeModelError(this.model, "操作列没有配置界面行为组");
|
|
17
|
+
}
|
|
18
|
+
if (!((_a = deuiactionGroup.uiactionGroupDetails) == null ? void 0 : _a.length)) {
|
|
19
|
+
ibiz.log.debug("操作列界面行为组没有配置界面行为");
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const containerState = new ButtonContainerState();
|
|
23
|
+
deuiactionGroup.uiactionGroupDetails.forEach((detail) => {
|
|
24
|
+
const actionid = detail.uiactionId;
|
|
25
|
+
if (actionid) {
|
|
26
|
+
const buttonState = new UIActionButtonState(
|
|
27
|
+
detail.id,
|
|
28
|
+
this.grid.context.srfappid,
|
|
29
|
+
actionid
|
|
30
|
+
);
|
|
31
|
+
containerState.addState(detail.id, buttonState);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
containerState.update(row.data.getOrigin());
|
|
35
|
+
row.uaColumnStates[this.model.codeName] = containerState;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* 触发操作列点击事件
|
|
39
|
+
*
|
|
40
|
+
* @author lxm
|
|
41
|
+
* @date 2022-09-07 22:09:46
|
|
42
|
+
* @param {IPSUIActionGroupDetail} detail
|
|
43
|
+
* @param {MouseEvent} event
|
|
44
|
+
*/
|
|
45
|
+
async onActionClick(detail, row, event) {
|
|
46
|
+
const actionId = detail.uiactionId;
|
|
47
|
+
if (actionId === "ToggleRowEdit") {
|
|
48
|
+
await this.grid.toggleRowEdit(row);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
await UIActionUtil.exec(actionId, {
|
|
52
|
+
context: this.context,
|
|
53
|
+
params: this.params,
|
|
54
|
+
data: [row.data],
|
|
55
|
+
view: this.grid.view,
|
|
56
|
+
event
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
GridUAColumnController
|
|
62
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IUIActionGroupDetail } from '@ibiz/model-core';
|
|
2
|
+
import { GridRowController } from '../grid/grid-row.controller';
|
|
3
|
+
import { GridUAColumnController } from './grid-ua-column.controller';
|
|
4
|
+
import './grid-ua-column.scss';
|
|
5
|
+
export declare const GridUAColumn: import("vue").DefineComponent<{
|
|
6
|
+
controller: {
|
|
7
|
+
type: typeof GridUAColumnController;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
row: {
|
|
11
|
+
type: typeof GridRowController;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
ns: {
|
|
16
|
+
namespace: import("vue").ComputedRef<string>;
|
|
17
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
18
|
+
e: (element?: string | undefined) => string;
|
|
19
|
+
m: (modifier?: string | undefined) => string;
|
|
20
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
21
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
22
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
23
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
24
|
+
is: {
|
|
25
|
+
(name: string, state: boolean | undefined): string;
|
|
26
|
+
(name: string): string;
|
|
27
|
+
};
|
|
28
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
29
|
+
cssVarName: (name: string) => string;
|
|
30
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
31
|
+
cssVarBlockName: (name: string) => string;
|
|
32
|
+
};
|
|
33
|
+
alignStyle: import("vue").ComputedRef<Record<string, string>>;
|
|
34
|
+
onStopPropagation: (e: MouseEvent) => void;
|
|
35
|
+
onActionClick: (detail: IUIActionGroupDetail, event: MouseEvent) => Promise<void>;
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
controller: {
|
|
38
|
+
type: typeof GridUAColumnController;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
row: {
|
|
42
|
+
type: typeof GridRowController;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
}>>, {}>;
|
|
46
|
+
export default GridUAColumn;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { registerGridColumnProvider, registerControlProvider, ControlType } from "@ibiz-template/runtime";
|
|
2
|
+
import { withInstall } from "@ibiz-template/vue3-util";
|
|
3
|
+
import { GridControl } from "./grid/grid-control";
|
|
4
|
+
import { GridControl as GridControl2 } from "./grid/grid-control";
|
|
5
|
+
import GridFieldColumn from "./grid-field-column/grid-field-column";
|
|
6
|
+
import { default as default2 } from "./grid-field-column/grid-field-column";
|
|
7
|
+
import { GridProvider } from "./grid/grid-provider";
|
|
8
|
+
import { GridFieldColumnProvider } from "./grid-field-column/grid-field-column-provider";
|
|
9
|
+
import GridPagination from "./grid-pagination/grid-pagination";
|
|
10
|
+
import { GridController } from "./grid/grid.controller";
|
|
11
|
+
import { GridUAColumnProvider } from "./grid-ua-column/grid-ua-column-provider";
|
|
12
|
+
import GridUAColumn from "./grid-ua-column/grid-ua-column";
|
|
13
|
+
const IBizGrid = withInstall(GridControl, function(v) {
|
|
14
|
+
v.component(GridControl.name, GridControl);
|
|
15
|
+
v.component(GridFieldColumn.name, GridFieldColumn);
|
|
16
|
+
v.component(GridUAColumn.name, GridUAColumn);
|
|
17
|
+
v.component(GridPagination.name, GridPagination);
|
|
18
|
+
registerGridColumnProvider(
|
|
19
|
+
"DEFGRIDCOLUMN",
|
|
20
|
+
() => new GridFieldColumnProvider()
|
|
21
|
+
);
|
|
22
|
+
registerGridColumnProvider("UAGRIDCOLUMN", () => new GridUAColumnProvider());
|
|
23
|
+
registerControlProvider(ControlType.GRID, () => new GridProvider());
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
GridControl2 as GridControl,
|
|
27
|
+
GridController,
|
|
28
|
+
default2 as GridFieldColumn,
|
|
29
|
+
IBizGrid,
|
|
30
|
+
IBizGrid as default
|
|
31
|
+
};
|
package/es/control/index.d.ts
CHANGED
package/es/control/index.js
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { registerControlProvider, ControlType } from "@ibiz-template/runtime";
|
|
2
|
+
import { withInstall } from "@ibiz-template/vue3-util";
|
|
3
|
+
import { ViewLayoutPanel } from "./view-layout-panel/view-layout-panel";
|
|
4
|
+
import { ViewLayoutPanel as ViewLayoutPanel2 } from "./view-layout-panel/view-layout-panel";
|
|
5
|
+
import { ViewLayoutPanelProvider } from "./view-layout-panel/view-layout-panel-provider";
|
|
6
|
+
export * from "./view-layout-panel";
|
|
7
|
+
export * from "./panel";
|
|
8
|
+
const IBizPanel = withInstall(ViewLayoutPanel, function(v) {
|
|
9
|
+
v.component(ViewLayoutPanel.name, ViewLayoutPanel);
|
|
10
|
+
registerControlProvider(
|
|
11
|
+
ControlType.VIEW_LAYOUT_PANEL,
|
|
12
|
+
() => new ViewLayoutPanelProvider()
|
|
13
|
+
);
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
IBizPanel,
|
|
17
|
+
ViewLayoutPanel2 as ViewLayoutPanel,
|
|
18
|
+
IBizPanel as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ILayoutController } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 面板成员状态
|
|
4
|
+
*
|
|
5
|
+
* @author lxm
|
|
6
|
+
* @date 2023-02-07 06:04:35
|
|
7
|
+
* @export
|
|
8
|
+
* @class PanelItemState
|
|
9
|
+
*/
|
|
10
|
+
export declare class PanelItemState {
|
|
11
|
+
protected parent?: PanelItemState | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* 是否显示
|
|
14
|
+
*
|
|
15
|
+
* @author lxm
|
|
16
|
+
* @date 2023-02-08 04:00:08
|
|
17
|
+
* @type {boolean}
|
|
18
|
+
* @memberof PanelItemState
|
|
19
|
+
*/
|
|
20
|
+
visible: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* 是否必填
|
|
23
|
+
*
|
|
24
|
+
* @author chitanda
|
|
25
|
+
* @date 2023-01-04 10:01:27
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
*/
|
|
28
|
+
required: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* 是否禁用
|
|
31
|
+
*
|
|
32
|
+
* @author lxm
|
|
33
|
+
* @date 2023-02-08 03:59:01
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof PanelItemState
|
|
36
|
+
*/
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 布局
|
|
40
|
+
*
|
|
41
|
+
* @author chitanda
|
|
42
|
+
* @date 2023-01-04 10:01:15
|
|
43
|
+
* @type {ILayoutController}
|
|
44
|
+
*/
|
|
45
|
+
layoutController: ILayoutController;
|
|
46
|
+
constructor(parent?: PanelItemState | undefined);
|
|
47
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
class PanelItemState {
|
|
8
|
+
constructor(parent) {
|
|
9
|
+
/**
|
|
10
|
+
* 是否必填
|
|
11
|
+
*
|
|
12
|
+
* @author chitanda
|
|
13
|
+
* @date 2023-01-04 10:01:27
|
|
14
|
+
* @type {boolean}
|
|
15
|
+
*/
|
|
16
|
+
__publicField(this, "required", false);
|
|
17
|
+
/**
|
|
18
|
+
* 是否禁用
|
|
19
|
+
*
|
|
20
|
+
* @author lxm
|
|
21
|
+
* @date 2023-02-08 03:59:01
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof PanelItemState
|
|
24
|
+
*/
|
|
25
|
+
__publicField(this, "disabled", false);
|
|
26
|
+
/**
|
|
27
|
+
* 布局
|
|
28
|
+
*
|
|
29
|
+
* @author chitanda
|
|
30
|
+
* @date 2023-01-04 10:01:15
|
|
31
|
+
* @type {ILayoutController}
|
|
32
|
+
*/
|
|
33
|
+
__publicField(this, "layoutController", {
|
|
34
|
+
width: "",
|
|
35
|
+
height: "",
|
|
36
|
+
extraStyle: {},
|
|
37
|
+
extraClass: "",
|
|
38
|
+
contentStyle: {}
|
|
39
|
+
});
|
|
40
|
+
this.parent = parent;
|
|
41
|
+
let $visible = true;
|
|
42
|
+
Object.defineProperty(this, "visible", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
configurable: true,
|
|
45
|
+
get() {
|
|
46
|
+
var _a;
|
|
47
|
+
return ((_a = this.parent) == null ? void 0 : _a.visible) !== false && $visible;
|
|
48
|
+
},
|
|
49
|
+
set(val) {
|
|
50
|
+
$visible = val;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
PanelItemState
|
|
58
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { PanelNotifyState } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelItem } from '@ibiz/model-core';
|
|
3
|
+
import { PanelItemState } from './panel-item-state';
|
|
4
|
+
import { PanelController } from './panel.controller';
|
|
5
|
+
export declare class PanelItemController<T extends IPanelItem = IPanelItem> {
|
|
6
|
+
readonly model: T;
|
|
7
|
+
readonly panel: PanelController;
|
|
8
|
+
readonly parent?: PanelItemController<IPanelItem> | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* 面板项状态
|
|
11
|
+
*
|
|
12
|
+
* @author chitanda
|
|
13
|
+
* @date 2023-01-04 09:01:04
|
|
14
|
+
* @type {PanelItemState}
|
|
15
|
+
*/
|
|
16
|
+
state: PanelItemState;
|
|
17
|
+
/**
|
|
18
|
+
* Creates an instance of PanelItemController.
|
|
19
|
+
* @author lxm
|
|
20
|
+
* @date 2023-04-27 06:37:12
|
|
21
|
+
* @param {T} model 面板成员模型
|
|
22
|
+
* @param {PanelController} panel 面板控制器
|
|
23
|
+
* @param {PanelItemController} [parent] 父容器控制器
|
|
24
|
+
*/
|
|
25
|
+
constructor(model: T, panel: PanelController, parent?: PanelItemController<IPanelItem> | undefined);
|
|
26
|
+
/**
|
|
27
|
+
* 子类不可覆盖或重写此方法,在 init 时需要重写的使用 onInit 方法。
|
|
28
|
+
*
|
|
29
|
+
* @author lxm
|
|
30
|
+
* @date 2022-08-18 22:08:30
|
|
31
|
+
* @returns {*} {Promise<void>}
|
|
32
|
+
*/
|
|
33
|
+
init(): Promise<void>;
|
|
34
|
+
protected onInit(): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* 创建面板状态对象
|
|
37
|
+
*
|
|
38
|
+
* @author chitanda
|
|
39
|
+
* @date 2023-01-04 10:01:00
|
|
40
|
+
* @protected
|
|
41
|
+
* @return {*} {PanelItemState}
|
|
42
|
+
*/
|
|
43
|
+
protected createState(): PanelItemState;
|
|
44
|
+
/**
|
|
45
|
+
* 面板数据变更通知(由面板控制器调用)
|
|
46
|
+
*
|
|
47
|
+
* @author lxm
|
|
48
|
+
* @date 2022-09-20 18:09:56
|
|
49
|
+
* @param {string[]} names
|
|
50
|
+
*/
|
|
51
|
+
dataChangeNotify(names: string[]): void;
|
|
52
|
+
/**
|
|
53
|
+
* 面板状态变更通知
|
|
54
|
+
*
|
|
55
|
+
* @author lxm
|
|
56
|
+
* @date 2022-09-20 18:09:07
|
|
57
|
+
*/
|
|
58
|
+
panelStateNotify(_state: PanelNotifyState): void;
|
|
59
|
+
/**
|
|
60
|
+
* 计算动态逻辑
|
|
61
|
+
*
|
|
62
|
+
* @author lxm
|
|
63
|
+
* @date 2023-02-13 09:42:07
|
|
64
|
+
* @protected
|
|
65
|
+
* @param {string[]} names 变更的属性集合
|
|
66
|
+
* @param {boolean} [mustCalc=false] 是否强制计算一遍动态逻辑
|
|
67
|
+
* @returns {*} {void}
|
|
68
|
+
* @memberof PanelItemController
|
|
69
|
+
*/
|
|
70
|
+
protected calcDynamicLogic(names: string[], mustCalc?: boolean): void;
|
|
71
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
import { isOverlap } from "@ibiz-template/core";
|
|
8
|
+
import { calcLayoutHeightWidth, verifyPanelGroupLogic } from "@ibiz-template/runtime";
|
|
9
|
+
import { PanelItemState } from "./panel-item-state";
|
|
10
|
+
class PanelItemController {
|
|
11
|
+
/**
|
|
12
|
+
* Creates an instance of PanelItemController.
|
|
13
|
+
* @author lxm
|
|
14
|
+
* @date 2023-04-27 06:37:12
|
|
15
|
+
* @param {T} model 面板成员模型
|
|
16
|
+
* @param {PanelController} panel 面板控制器
|
|
17
|
+
* @param {PanelItemController} [parent] 父容器控制器
|
|
18
|
+
*/
|
|
19
|
+
constructor(model, panel, parent) {
|
|
20
|
+
/**
|
|
21
|
+
* 面板项状态
|
|
22
|
+
*
|
|
23
|
+
* @author chitanda
|
|
24
|
+
* @date 2023-01-04 09:01:04
|
|
25
|
+
* @type {PanelItemState}
|
|
26
|
+
*/
|
|
27
|
+
__publicField(this, "state");
|
|
28
|
+
this.model = model;
|
|
29
|
+
this.panel = panel;
|
|
30
|
+
this.parent = parent;
|
|
31
|
+
this.state = this.createState();
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 子类不可覆盖或重写此方法,在 init 时需要重写的使用 onInit 方法。
|
|
35
|
+
*
|
|
36
|
+
* @author lxm
|
|
37
|
+
* @date 2022-08-18 22:08:30
|
|
38
|
+
* @returns {*} {Promise<void>}
|
|
39
|
+
*/
|
|
40
|
+
async init() {
|
|
41
|
+
await this.onInit();
|
|
42
|
+
}
|
|
43
|
+
async onInit() {
|
|
44
|
+
const { layoutPos, sysCss, itemType } = this.model;
|
|
45
|
+
if (layoutPos) {
|
|
46
|
+
const { width, height } = calcLayoutHeightWidth(layoutPos);
|
|
47
|
+
this.state.layoutController.width = `${width}`;
|
|
48
|
+
this.state.layoutController.height = `${height}`;
|
|
49
|
+
}
|
|
50
|
+
this.state.layoutController.extraClass = `ibiz-panel-col__${itemType.toLowerCase()} `;
|
|
51
|
+
if (sysCss == null ? void 0 : sysCss.cssName) {
|
|
52
|
+
this.state.layoutController.extraClass = sysCss.cssName;
|
|
53
|
+
}
|
|
54
|
+
Object.defineProperty(this.state.layoutController, "visible", {
|
|
55
|
+
configurable: true,
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: () => {
|
|
58
|
+
return this.state.visible;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* 创建面板状态对象
|
|
64
|
+
*
|
|
65
|
+
* @author chitanda
|
|
66
|
+
* @date 2023-01-04 10:01:00
|
|
67
|
+
* @protected
|
|
68
|
+
* @return {*} {PanelItemState}
|
|
69
|
+
*/
|
|
70
|
+
createState() {
|
|
71
|
+
var _a;
|
|
72
|
+
return new PanelItemState((_a = this.parent) == null ? void 0 : _a.state);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* 面板数据变更通知(由面板控制器调用)
|
|
76
|
+
*
|
|
77
|
+
* @author lxm
|
|
78
|
+
* @date 2022-09-20 18:09:56
|
|
79
|
+
* @param {string[]} names
|
|
80
|
+
*/
|
|
81
|
+
dataChangeNotify(names) {
|
|
82
|
+
this.calcDynamicLogic(names);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 面板状态变更通知
|
|
86
|
+
*
|
|
87
|
+
* @author lxm
|
|
88
|
+
* @date 2022-09-20 18:09:07
|
|
89
|
+
*/
|
|
90
|
+
panelStateNotify(_state) {
|
|
91
|
+
this.calcDynamicLogic([], true);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* 计算动态逻辑
|
|
95
|
+
*
|
|
96
|
+
* @author lxm
|
|
97
|
+
* @date 2023-02-13 09:42:07
|
|
98
|
+
* @protected
|
|
99
|
+
* @param {string[]} names 变更的属性集合
|
|
100
|
+
* @param {boolean} [mustCalc=false] 是否强制计算一遍动态逻辑
|
|
101
|
+
* @returns {*} {void}
|
|
102
|
+
* @memberof PanelItemController
|
|
103
|
+
*/
|
|
104
|
+
calcDynamicLogic(names, mustCalc = false) {
|
|
105
|
+
var _a;
|
|
106
|
+
if (this.parent && !this.parent.state.visible) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
(_a = this.model.panelItemGroupLogics) == null ? void 0 : _a.forEach((logic) => {
|
|
110
|
+
const relatedNames = logic.relatedItemNames || [];
|
|
111
|
+
if (mustCalc || isOverlap(relatedNames, names)) {
|
|
112
|
+
try {
|
|
113
|
+
const ok = verifyPanelGroupLogic(this.panel.data, logic);
|
|
114
|
+
switch (logic.logicCat) {
|
|
115
|
+
case "ITEMBLANK":
|
|
116
|
+
this.state.required = !ok;
|
|
117
|
+
break;
|
|
118
|
+
case "ITEMENABLE":
|
|
119
|
+
this.state.disabled = !ok;
|
|
120
|
+
break;
|
|
121
|
+
case "PANELVISIBLE":
|
|
122
|
+
this.state.visible = ok;
|
|
123
|
+
break;
|
|
124
|
+
default:
|
|
125
|
+
}
|
|
126
|
+
} catch (error) {
|
|
127
|
+
ibiz.log.error(error);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
export {
|
|
134
|
+
PanelItemController
|
|
135
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ControlState } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 面板状态
|
|
4
|
+
*
|
|
5
|
+
* @author lxm
|
|
6
|
+
* @date 2023-02-10 11:50:17
|
|
7
|
+
* @export
|
|
8
|
+
* @class PanelState
|
|
9
|
+
* @extends {ControlState}
|
|
10
|
+
*/
|
|
11
|
+
export declare class PanelState extends ControlState {
|
|
12
|
+
/**
|
|
13
|
+
* 面板数据
|
|
14
|
+
*
|
|
15
|
+
* @author lxm
|
|
16
|
+
* @date 2023-02-10 01:45:34
|
|
17
|
+
* @type {(IData | null)}
|
|
18
|
+
* @memberof PanelState
|
|
19
|
+
*/
|
|
20
|
+
data: IData;
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
import { ControlState } from "@ibiz-template/runtime";
|
|
8
|
+
class PanelState extends ControlState {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
/**
|
|
12
|
+
* 面板数据
|
|
13
|
+
*
|
|
14
|
+
* @author lxm
|
|
15
|
+
* @date 2023-02-10 01:45:34
|
|
16
|
+
* @type {(IData | null)}
|
|
17
|
+
* @memberof PanelState
|
|
18
|
+
*/
|
|
19
|
+
__publicField(this, "data", {});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
PanelState
|
|
24
|
+
};
|