@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,114 @@
|
|
|
1
|
+
import { ControlController, IControlProvider, IPanelController, IPanelItemProvider, PanelNotifyState } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanel, IPanelItem } from '@ibiz/model-core';
|
|
3
|
+
import { PanelContainerController } from '../../../panel-component';
|
|
4
|
+
import { PanelItemController } from './panel-item.controller';
|
|
5
|
+
import { PanelState } from './panel-state';
|
|
6
|
+
/**
|
|
7
|
+
* 面板部件控制器
|
|
8
|
+
*
|
|
9
|
+
* @author lxm
|
|
10
|
+
* @date 2022-09-08 20:09:55
|
|
11
|
+
* @export
|
|
12
|
+
* @class PanelController
|
|
13
|
+
* @extends {ControlController<PanelModel>}
|
|
14
|
+
*/
|
|
15
|
+
export declare class PanelController<T extends IPanel = IPanel> extends ControlController<T> implements IPanelController {
|
|
16
|
+
state: PanelState;
|
|
17
|
+
/**
|
|
18
|
+
* 所有面板成员的控制器
|
|
19
|
+
*
|
|
20
|
+
* @author lxm
|
|
21
|
+
* @date 2022-08-24 20:08:07
|
|
22
|
+
* @type {{ [key: string]: PanelItemController }}
|
|
23
|
+
*/
|
|
24
|
+
panelItems: {
|
|
25
|
+
[key: string]: PanelItemController;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* 所有面板成员的适配器
|
|
29
|
+
*
|
|
30
|
+
* @author lxm
|
|
31
|
+
* @date 2022-08-24 20:08:07
|
|
32
|
+
* @type {{ [key: string]: IPanelItemProvider | IControlProvider}}
|
|
33
|
+
*/
|
|
34
|
+
providers: {
|
|
35
|
+
[key: string]: IPanelItemProvider | IControlProvider;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* 外部输入数据
|
|
39
|
+
*
|
|
40
|
+
* @author lxm
|
|
41
|
+
* @date 2023-02-09 03:16:52
|
|
42
|
+
* @type {IData}
|
|
43
|
+
* @memberof PanelController
|
|
44
|
+
*/
|
|
45
|
+
inputData: IData | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* 面板数据
|
|
48
|
+
*
|
|
49
|
+
* @author lxm
|
|
50
|
+
* @date 2023-02-10 07:21:09
|
|
51
|
+
* @readonly
|
|
52
|
+
* @memberof PanelController
|
|
53
|
+
*/
|
|
54
|
+
get data(): IData;
|
|
55
|
+
setInputData(data: IData | undefined): void;
|
|
56
|
+
protected doCreated(): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* 初始化面板成员控制器
|
|
59
|
+
*
|
|
60
|
+
* @author lxm
|
|
61
|
+
* @date 2022-08-24 21:08:48
|
|
62
|
+
* @protected
|
|
63
|
+
*/
|
|
64
|
+
protected initPanelItemControllers(panelItems?: IPanelItem[] | undefined, panel?: PanelController, parent?: PanelContainerController | undefined): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* 部件加载,获取数据,并执行一系列后续初始化逻辑
|
|
67
|
+
*
|
|
68
|
+
* @author lxm
|
|
69
|
+
* @date 2023-02-10 01:46:24
|
|
70
|
+
* @memberof PanelController
|
|
71
|
+
*/
|
|
72
|
+
load(): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* 根据获取模式准备原始数据
|
|
75
|
+
*
|
|
76
|
+
* @author lxm
|
|
77
|
+
* @date 2023-02-10 02:04:39
|
|
78
|
+
* @returns {*} {(Promise<IData | undefined>)}
|
|
79
|
+
* @memberof PanelController
|
|
80
|
+
*/
|
|
81
|
+
prepareData(): Promise<IData | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* 转换原始数据,映射面板属性
|
|
84
|
+
*
|
|
85
|
+
* @author lxm
|
|
86
|
+
* @date 2023-02-10 02:10:41
|
|
87
|
+
* @param {IData} data
|
|
88
|
+
* @returns {*} {IData}
|
|
89
|
+
* @memberof PanelController
|
|
90
|
+
*/
|
|
91
|
+
convertData(data: IData): IData;
|
|
92
|
+
/**
|
|
93
|
+
* 通知所有面板成员面板操作过程中的数据变更
|
|
94
|
+
*
|
|
95
|
+
* @author lxm
|
|
96
|
+
* @date 2022-09-20 18:09:40
|
|
97
|
+
* @param {string[]} names
|
|
98
|
+
*/
|
|
99
|
+
dataChangeNotify(names: string[]): void;
|
|
100
|
+
/**
|
|
101
|
+
* 面板状态变更通知
|
|
102
|
+
*
|
|
103
|
+
* @author lxm
|
|
104
|
+
* @date 2022-09-20 18:09:07
|
|
105
|
+
*/
|
|
106
|
+
panelStateNotify(state: PanelNotifyState): void;
|
|
107
|
+
/**
|
|
108
|
+
* 设置面板数据的值
|
|
109
|
+
*
|
|
110
|
+
* @param {string} name 要设置的数据的属性名称
|
|
111
|
+
* @param {unknown} value 要设置的值
|
|
112
|
+
*/
|
|
113
|
+
setDataValue(name: string, value: unknown): Promise<void>;
|
|
114
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
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 { RuntimeError, ModelError } from "@ibiz-template/core";
|
|
8
|
+
import { ControlController, getPanelItemProvider, PanelNotifyState } from "@ibiz-template/runtime";
|
|
9
|
+
import { PanelState } from "./panel-state";
|
|
10
|
+
class PanelController extends ControlController {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
__publicField(this, "state", new PanelState());
|
|
14
|
+
/**
|
|
15
|
+
* 所有面板成员的控制器
|
|
16
|
+
*
|
|
17
|
+
* @author lxm
|
|
18
|
+
* @date 2022-08-24 20:08:07
|
|
19
|
+
* @type {{ [key: string]: PanelItemController }}
|
|
20
|
+
*/
|
|
21
|
+
__publicField(this, "panelItems", {});
|
|
22
|
+
/**
|
|
23
|
+
* 所有面板成员的适配器
|
|
24
|
+
*
|
|
25
|
+
* @author lxm
|
|
26
|
+
* @date 2022-08-24 20:08:07
|
|
27
|
+
* @type {{ [key: string]: IPanelItemProvider | IControlProvider}}
|
|
28
|
+
*/
|
|
29
|
+
__publicField(this, "providers", {});
|
|
30
|
+
/**
|
|
31
|
+
* 外部输入数据
|
|
32
|
+
*
|
|
33
|
+
* @author lxm
|
|
34
|
+
* @date 2023-02-09 03:16:52
|
|
35
|
+
* @type {IData}
|
|
36
|
+
* @memberof PanelController
|
|
37
|
+
*/
|
|
38
|
+
__publicField(this, "inputData");
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* 面板数据
|
|
42
|
+
*
|
|
43
|
+
* @author lxm
|
|
44
|
+
* @date 2023-02-10 07:21:09
|
|
45
|
+
* @readonly
|
|
46
|
+
* @memberof PanelController
|
|
47
|
+
*/
|
|
48
|
+
get data() {
|
|
49
|
+
return this.state.data;
|
|
50
|
+
}
|
|
51
|
+
setInputData(data) {
|
|
52
|
+
this.inputData = data;
|
|
53
|
+
}
|
|
54
|
+
async doCreated() {
|
|
55
|
+
await super.doCreated();
|
|
56
|
+
await this.initPanelItemControllers();
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* 初始化面板成员控制器
|
|
60
|
+
*
|
|
61
|
+
* @author lxm
|
|
62
|
+
* @date 2022-08-24 21:08:48
|
|
63
|
+
* @protected
|
|
64
|
+
*/
|
|
65
|
+
async initPanelItemControllers(panelItems = this.model.rootPanelItems, panel = this, parent = void 0) {
|
|
66
|
+
if (!panelItems) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
await Promise.all(
|
|
70
|
+
panelItems.map(async (panelItem) => {
|
|
71
|
+
var _a;
|
|
72
|
+
const panelItemProvider = await getPanelItemProvider(panelItem);
|
|
73
|
+
if (!panelItemProvider) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
panel.providers[panelItem.id] = panelItemProvider;
|
|
77
|
+
const panelItemController = await panelItemProvider.createController(
|
|
78
|
+
panelItem,
|
|
79
|
+
panel,
|
|
80
|
+
parent
|
|
81
|
+
);
|
|
82
|
+
panel.panelItems[panelItem.id] = panelItemController;
|
|
83
|
+
if ((_a = panelItem.panelItems) == null ? void 0 : _a.length) {
|
|
84
|
+
await this.initPanelItemControllers(
|
|
85
|
+
panelItem.panelItems,
|
|
86
|
+
panel,
|
|
87
|
+
panelItemController
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
})
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* 部件加载,获取数据,并执行一系列后续初始化逻辑
|
|
95
|
+
*
|
|
96
|
+
* @author lxm
|
|
97
|
+
* @date 2023-02-10 01:46:24
|
|
98
|
+
* @memberof PanelController
|
|
99
|
+
*/
|
|
100
|
+
async load() {
|
|
101
|
+
const data = await this.prepareData();
|
|
102
|
+
if (!data) {
|
|
103
|
+
throw new RuntimeError("未获取到面板数据");
|
|
104
|
+
}
|
|
105
|
+
const panelData = this.convertData(data);
|
|
106
|
+
this.state.data = panelData;
|
|
107
|
+
this.panelStateNotify(PanelNotifyState.LOAD);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* 根据获取模式准备原始数据
|
|
111
|
+
*
|
|
112
|
+
* @author lxm
|
|
113
|
+
* @date 2023-02-10 02:04:39
|
|
114
|
+
* @returns {*} {(Promise<IData | undefined>)}
|
|
115
|
+
* @memberof PanelController
|
|
116
|
+
*/
|
|
117
|
+
async prepareData() {
|
|
118
|
+
let data;
|
|
119
|
+
switch (this.model.dataMode) {
|
|
120
|
+
case 1:
|
|
121
|
+
if (this.inputData) {
|
|
122
|
+
data = this.inputData;
|
|
123
|
+
}
|
|
124
|
+
break;
|
|
125
|
+
case 0:
|
|
126
|
+
data = this.inputData || {};
|
|
127
|
+
break;
|
|
128
|
+
default:
|
|
129
|
+
throw new ModelError(
|
|
130
|
+
this.model,
|
|
131
|
+
`未支持的数据获取模式${this.model.dataMode}`
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
return data;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* 转换原始数据,映射面板属性
|
|
138
|
+
*
|
|
139
|
+
* @author lxm
|
|
140
|
+
* @date 2023-02-10 02:10:41
|
|
141
|
+
* @param {IData} data
|
|
142
|
+
* @returns {*} {IData}
|
|
143
|
+
* @memberof PanelController
|
|
144
|
+
*/
|
|
145
|
+
convertData(data) {
|
|
146
|
+
return data;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* 通知所有面板成员面板操作过程中的数据变更
|
|
150
|
+
*
|
|
151
|
+
* @author lxm
|
|
152
|
+
* @date 2022-09-20 18:09:40
|
|
153
|
+
* @param {string[]} names
|
|
154
|
+
*/
|
|
155
|
+
dataChangeNotify(names) {
|
|
156
|
+
Object.values(this.panelItems).forEach((panelItem) => {
|
|
157
|
+
panelItem.dataChangeNotify(names);
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* 面板状态变更通知
|
|
162
|
+
*
|
|
163
|
+
* @author lxm
|
|
164
|
+
* @date 2022-09-20 18:09:07
|
|
165
|
+
*/
|
|
166
|
+
panelStateNotify(state) {
|
|
167
|
+
Object.values(this.panelItems).forEach((panelItem) => {
|
|
168
|
+
panelItem.panelStateNotify(state);
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* 设置面板数据的值
|
|
173
|
+
*
|
|
174
|
+
* @param {string} name 要设置的数据的属性名称
|
|
175
|
+
* @param {unknown} value 要设置的值
|
|
176
|
+
*/
|
|
177
|
+
async setDataValue(name, value) {
|
|
178
|
+
if (Object.prototype.hasOwnProperty.call(this.state.data, name) && this.state.data[name] === value) {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
this.state.data[name] = value;
|
|
182
|
+
this.dataChangeNotify([name]);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
export {
|
|
186
|
+
PanelController
|
|
187
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IControlProvider } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 视图布局面板部件适配器
|
|
4
|
+
*
|
|
5
|
+
* @author lxm
|
|
6
|
+
* @date 2022-10-25 18:10:57
|
|
7
|
+
* @export
|
|
8
|
+
* @class ViewLayoutPanelProvider
|
|
9
|
+
* @implements {IControlProvider}
|
|
10
|
+
*/
|
|
11
|
+
export declare class ViewLayoutPanelProvider implements IControlProvider {
|
|
12
|
+
component: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 ViewLayoutPanelProvider {
|
|
8
|
+
constructor() {
|
|
9
|
+
__publicField(this, "component", "ViewLayoutPanelControl");
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
ViewLayoutPanelProvider
|
|
14
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventBase, IViewLayoutPanelController, ViewLogicDispatcher } from '@ibiz-template/runtime';
|
|
2
|
+
import { IViewLayoutPanel } from '@ibiz/model-core';
|
|
3
|
+
import { PanelController } from '../panel/panel.controller';
|
|
4
|
+
/**
|
|
5
|
+
* 视图布局面板部件控制器
|
|
6
|
+
*
|
|
7
|
+
* @author lxm
|
|
8
|
+
* @date 2022-09-08 20:09:55
|
|
9
|
+
* @export
|
|
10
|
+
* @class ViewLayoutPanelController
|
|
11
|
+
* @extends {ControlController<ViewLayoutPanelModel>}
|
|
12
|
+
*/
|
|
13
|
+
export declare class ViewLayoutPanelController extends PanelController<IViewLayoutPanel> implements IViewLayoutPanelController {
|
|
14
|
+
/**
|
|
15
|
+
* 视图逻辑的事件调度分发器
|
|
16
|
+
* @author lxm
|
|
17
|
+
* @date 2023-03-23 08:15:02
|
|
18
|
+
* @type {ViewLogicDispatcher}
|
|
19
|
+
*/
|
|
20
|
+
logicDispatcher: ViewLogicDispatcher;
|
|
21
|
+
/**
|
|
22
|
+
* 视图打开方式(默认路由)
|
|
23
|
+
* @author lxm
|
|
24
|
+
* @date 2023-03-28 08:08:49
|
|
25
|
+
* @readonly
|
|
26
|
+
*/
|
|
27
|
+
get viewMode(): import("@ibiz-template/runtime").ViewMode;
|
|
28
|
+
protected doCreated(): Promise<void>;
|
|
29
|
+
doDestroyed(): void;
|
|
30
|
+
/**
|
|
31
|
+
* 监听所有部件的事件
|
|
32
|
+
* @author lxm
|
|
33
|
+
* @date 2023-03-28 07:53:38
|
|
34
|
+
* @param {EventBase} event
|
|
35
|
+
* @return {*} {Promise<void>}
|
|
36
|
+
*/
|
|
37
|
+
onCtrlEvent(event: EventBase): Promise<void>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { ViewLogicDispatcher } from "@ibiz-template/runtime";
|
|
8
|
+
import { PanelController } from "../panel/panel.controller";
|
|
9
|
+
class ViewLayoutPanelController extends PanelController {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
/**
|
|
13
|
+
* 视图逻辑的事件调度分发器
|
|
14
|
+
* @author lxm
|
|
15
|
+
* @date 2023-03-23 08:15:02
|
|
16
|
+
* @type {ViewLogicDispatcher}
|
|
17
|
+
*/
|
|
18
|
+
__publicField(this, "logicDispatcher");
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 视图打开方式(默认路由)
|
|
22
|
+
* @author lxm
|
|
23
|
+
* @date 2023-03-28 08:08:49
|
|
24
|
+
* @readonly
|
|
25
|
+
*/
|
|
26
|
+
get viewMode() {
|
|
27
|
+
return this.ctx.view.modal.mode;
|
|
28
|
+
}
|
|
29
|
+
async doCreated() {
|
|
30
|
+
await super.doCreated();
|
|
31
|
+
const { appViewLogics } = this.model;
|
|
32
|
+
this.logicDispatcher = new ViewLogicDispatcher(this.context, this.params);
|
|
33
|
+
if (appViewLogics == null ? void 0 : appViewLogics.length) {
|
|
34
|
+
await this.logicDispatcher.init(appViewLogics);
|
|
35
|
+
}
|
|
36
|
+
this.ctx.view.evt.onAll((_name, event) => {
|
|
37
|
+
return this.logicDispatcher.view.fire(event);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
doDestroyed() {
|
|
41
|
+
super.doDestroyed();
|
|
42
|
+
this.logicDispatcher.destroy();
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 监听所有部件的事件
|
|
46
|
+
* @author lxm
|
|
47
|
+
* @date 2023-03-28 07:53:38
|
|
48
|
+
* @param {EventBase} event
|
|
49
|
+
* @return {*} {Promise<void>}
|
|
50
|
+
*/
|
|
51
|
+
onCtrlEvent(event) {
|
|
52
|
+
return this.logicDispatcher.ctrl.fire(event);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
ViewLayoutPanelController
|
|
57
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IViewLayoutPanel } from '@ibiz/model-core';
|
|
3
|
+
import { ViewLayoutPanelController } from './view-layout-panel.controller';
|
|
4
|
+
import './view-layout-panel.scss';
|
|
5
|
+
/**
|
|
6
|
+
* 视图布局面板组件
|
|
7
|
+
*/
|
|
8
|
+
export declare const ViewLayoutPanel: import("vue").DefineComponent<{
|
|
9
|
+
modelData: {
|
|
10
|
+
type: PropType<IViewLayoutPanel>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
context: {
|
|
14
|
+
type: PropType<IContext>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
params: {
|
|
18
|
+
type: PropType<IParams>;
|
|
19
|
+
default: () => {};
|
|
20
|
+
};
|
|
21
|
+
inputData: PropType<IData>;
|
|
22
|
+
}, {
|
|
23
|
+
c: ViewLayoutPanelController;
|
|
24
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
modelData: {
|
|
27
|
+
type: PropType<IViewLayoutPanel>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
context: {
|
|
31
|
+
type: PropType<IContext>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
params: {
|
|
35
|
+
type: PropType<IParams>;
|
|
36
|
+
default: () => {};
|
|
37
|
+
};
|
|
38
|
+
inputData: PropType<IData>;
|
|
39
|
+
}>>, {
|
|
40
|
+
params: IParams;
|
|
41
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { registerControlProvider, ControlType } from "@ibiz-template/runtime";
|
|
2
|
+
import { withInstall } from "@ibiz-template/vue3-util";
|
|
3
|
+
import { ToolbarControl } from "./toolbar-control";
|
|
4
|
+
import { ToolbarProvider } from "./toolbar-provider";
|
|
5
|
+
const IBizToolbar = withInstall(ToolbarControl, function(v) {
|
|
6
|
+
v.component(ToolbarControl.name, ToolbarControl);
|
|
7
|
+
registerControlProvider(ControlType.TOOLBAR, () => new ToolbarProvider());
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
IBizToolbar,
|
|
11
|
+
IBizToolbar as default
|
|
12
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import './toolbar-control.scss';
|
|
3
|
+
import { IDEToolbar, IDEToolbarItem } from '@ibiz/model-core';
|
|
4
|
+
import { ToolbarController } from './toolbar.controllerr';
|
|
3
5
|
export declare const ToolbarControl: import("vue").DefineComponent<{
|
|
4
6
|
modelData: {
|
|
5
7
|
type: PropType<IDEToolbar>;
|
|
@@ -13,14 +15,10 @@ export declare const ToolbarControl: import("vue").DefineComponent<{
|
|
|
13
15
|
type: PropType<IParams>;
|
|
14
16
|
default: () => {};
|
|
15
17
|
};
|
|
16
|
-
viewMode: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
18
|
}, {
|
|
21
|
-
c:
|
|
19
|
+
c: ToolbarController;
|
|
22
20
|
btnSize: import("vue").ComputedRef<"small" | "default">;
|
|
23
|
-
ns:
|
|
21
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
24
22
|
handleClick: (item: IDEToolbarItem, event: MouseEvent) => Promise<void>;
|
|
25
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
24
|
modelData: {
|
|
@@ -35,10 +33,6 @@ export declare const ToolbarControl: import("vue").DefineComponent<{
|
|
|
35
33
|
type: PropType<IParams>;
|
|
36
34
|
default: () => {};
|
|
37
35
|
};
|
|
38
|
-
viewMode: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
36
|
}>>, {
|
|
43
37
|
params: IParams;
|
|
44
38
|
}>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ControlState, IButtonContainerState, ViewMode } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 工具栏部件UI状态
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @class ToolbarState
|
|
7
|
+
* @extends {ControlState}
|
|
8
|
+
*/
|
|
9
|
+
export declare class ToolbarState extends ControlState {
|
|
10
|
+
/**
|
|
11
|
+
* 工具栏按钮状态
|
|
12
|
+
*
|
|
13
|
+
* @type {(IButtonContainerState | null)}
|
|
14
|
+
* @memberof PortletPartState
|
|
15
|
+
*/
|
|
16
|
+
buttonsState: IButtonContainerState;
|
|
17
|
+
/**
|
|
18
|
+
* 视图模式
|
|
19
|
+
* @author lxm
|
|
20
|
+
* @date 2023-04-27 01:09:22
|
|
21
|
+
* @type {ViewMode}
|
|
22
|
+
*/
|
|
23
|
+
viewMode: ViewMode;
|
|
24
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, ButtonContainerState, ViewMode } from "@ibiz-template/runtime";
|
|
8
|
+
class ToolbarState extends ControlState {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
/**
|
|
12
|
+
* 工具栏按钮状态
|
|
13
|
+
*
|
|
14
|
+
* @type {(IButtonContainerState | null)}
|
|
15
|
+
* @memberof PortletPartState
|
|
16
|
+
*/
|
|
17
|
+
__publicField(this, "buttonsState", new ButtonContainerState());
|
|
18
|
+
/**
|
|
19
|
+
* 视图模式
|
|
20
|
+
* @author lxm
|
|
21
|
+
* @date 2023-04-27 01:09:22
|
|
22
|
+
* @type {ViewMode}
|
|
23
|
+
*/
|
|
24
|
+
__publicField(this, "viewMode", ViewMode.EMBED);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
ToolbarState
|
|
29
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ControlController, ControllerEvent, IToolbarEvent, IToolbarController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IDEToolbar, IDEToolbarItem } from '@ibiz/model-core';
|
|
3
|
+
import { ToolbarState } from './toolbar-state';
|
|
4
|
+
/**
|
|
5
|
+
* 工具栏控制器
|
|
6
|
+
* @author lxm
|
|
7
|
+
* @date 2023-03-28 06:44:26
|
|
8
|
+
* @export
|
|
9
|
+
* @class ToolbarController
|
|
10
|
+
* @extends {ControlController<ToolbarModel>}
|
|
11
|
+
*/
|
|
12
|
+
export declare class ToolbarController extends ControlController<IDEToolbar> implements IToolbarController {
|
|
13
|
+
state: ToolbarState;
|
|
14
|
+
evt: ControllerEvent<IToolbarEvent>;
|
|
15
|
+
/**
|
|
16
|
+
* 执行按钮的界面行为(如果按钮存在界面行为的话)
|
|
17
|
+
* @author lxm
|
|
18
|
+
* @date 2023-05-10 09:20:35
|
|
19
|
+
* @return {*} {IData[]}
|
|
20
|
+
*/
|
|
21
|
+
protected doUIAction(item: IDEToolbarItem): Promise<void>;
|
|
22
|
+
protected doCreated(): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* 工具栏按钮点击事件
|
|
25
|
+
* @author lxm
|
|
26
|
+
* @date 2023-03-28 07:10:55
|
|
27
|
+
* @param {IPSDEToolbarItem} item
|
|
28
|
+
* @param {MouseEvent} event
|
|
29
|
+
* @return {*} {Promise<void>}
|
|
30
|
+
*/
|
|
31
|
+
onItemClick(item: IDEToolbarItem, event: MouseEvent): Promise<void>;
|
|
32
|
+
calcButtonState(data?: IDatum, appDeId?: string): void;
|
|
33
|
+
}
|