@ibiz-template/vue3-components 0.2.11 → 0.2.13
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/dist/ibiz-markdown-editor-7GWpRewm.js +2 -0
- package/dist/ibiz-markdown-editor-7GWpRewm.js.map +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +5 -5
- package/dist/index.system.min.js.map +1 -1
- package/es/common/index.d.ts +0 -8
- package/es/common/index.mjs +2 -8
- package/es/control/app-menu/index.d.ts +0 -1
- package/es/control/app-menu/index.mjs +1 -1
- package/es/control/app-menu-icon-view/index.d.ts +0 -1
- package/es/control/app-menu-icon-view/index.mjs +1 -1
- package/es/control/calendar/calendar.mjs +1 -2
- package/es/control/calendar/index.d.ts +0 -1
- package/es/control/calendar/index.mjs +1 -1
- package/es/control/caption-bar/index.d.ts +0 -1
- package/es/control/caption-bar/index.mjs +1 -1
- package/es/control/chart/index.mjs +1 -2
- package/es/control/dashboard/index.d.ts +0 -1
- package/es/control/dashboard/index.mjs +1 -9
- package/es/control/dashboard/portlet/actionbar-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/actionbar-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/chart-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/chart-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/container-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/container-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/html-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/html-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/index.mjs +0 -8
- package/es/control/dashboard/portlet/list-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/list-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/menu-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/menu-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/rawitem-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/rawitem-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/view-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/view-portlet/index.mjs +1 -1
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +50 -2
- package/es/control/drbar/index.d.ts +0 -1
- package/es/control/drbar/index.mjs +1 -1
- package/es/control/drtab/index.d.ts +0 -1
- package/es/control/drtab/index.mjs +1 -1
- package/es/control/exp-bar/calendar-exp-bar/index.d.ts +0 -1
- package/es/control/exp-bar/calendar-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/index.mjs +0 -3
- package/es/control/exp-bar/list-exp-bar/index.d.ts +0 -1
- package/es/control/exp-bar/list-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/render-util.mjs +1 -1
- package/es/control/exp-bar/tree-exp-bar/index.d.ts +0 -1
- package/es/control/exp-bar/tree-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.mjs +1 -0
- package/es/control/form/form-detail/form-button/index.d.ts +0 -1
- package/es/control/form/form-detail/form-button/index.mjs +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/es/control/form/form-detail/form-druipart/index.d.ts +0 -1
- package/es/control/form/form-detail/form-druipart/index.mjs +1 -1
- package/es/control/form/form-detail/form-group-panel/index.d.ts +0 -1
- package/es/control/form/form-detail/form-group-panel/index.mjs +1 -1
- package/es/control/form/form-detail/form-item/index.d.ts +0 -1
- package/es/control/form/form-detail/form-item/index.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.mjs +7 -3
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-grid/form-mdctrl-grid.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-list/form-mdctrl-list.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/index.d.ts +0 -1
- package/es/control/form/form-detail/form-mdctrl/index.mjs +1 -1
- package/es/control/form/form-detail/form-page/index.d.ts +0 -1
- package/es/control/form/form-detail/form-page/index.mjs +1 -1
- package/es/control/form/form-detail/form-rawitem/index.d.ts +0 -1
- package/es/control/form/form-detail/form-rawitem/index.mjs +1 -1
- package/es/control/form/form-detail/form-tab-page/index.d.ts +0 -1
- package/es/control/form/form-detail/form-tab-page/index.mjs +1 -1
- package/es/control/form/form-detail/form-tab-panel/index.d.ts +0 -1
- package/es/control/form/form-detail/form-tab-panel/index.mjs +1 -1
- package/es/control/form/form-detail/index.mjs +0 -9
- package/es/control/form/index.mjs +0 -10
- package/es/control/form/search-form/index.d.ts +0 -1
- package/es/control/form/search-form/index.mjs +1 -1
- package/es/control/grid/grid/index.d.ts +0 -1
- package/es/control/grid/grid/index.mjs +1 -1
- package/es/control/grid/grid-column/grid-field-column/index.d.ts +0 -1
- package/es/control/grid/grid-column/grid-field-column/index.mjs +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/index.d.ts +0 -1
- package/es/control/grid/grid-column/grid-field-edit-column/index.mjs +1 -1
- package/es/control/grid/grid-column/grid-group-column/index.d.ts +0 -1
- package/es/control/grid/grid-column/grid-group-column/index.mjs +1 -1
- package/es/control/grid/grid-column/grid-ua-column/index.d.ts +0 -1
- package/es/control/grid/grid-column/grid-ua-column/index.mjs +1 -1
- package/es/control/grid/grid-column/index.mjs +0 -4
- package/es/control/grid/index.mjs +0 -5
- package/es/control/index.mjs +0 -45
- package/es/control/kanban/index.d.ts +0 -1
- package/es/control/kanban/index.mjs +1 -1
- package/es/control/list/index.d.ts +0 -1
- package/es/control/list/index.mjs +1 -1
- package/es/control/medit-view-panel/index.d.ts +0 -1
- package/es/control/medit-view-panel/index.mjs +1 -1
- package/es/control/panel/index.mjs +0 -2
- package/es/control/panel/panel/index.d.ts +0 -1
- package/es/control/panel/panel/index.mjs +1 -1
- package/es/control/panel/view-layout-panel/index.d.ts +0 -1
- package/es/control/panel/view-layout-panel/index.mjs +1 -1
- package/es/control/pickup-view-panel/index.d.ts +0 -1
- package/es/control/pickup-view-panel/index.mjs +1 -1
- package/es/control/search-bar/index.d.ts +0 -1
- package/es/control/search-bar/index.mjs +1 -1
- package/es/control/tab-exp-panel/index.d.ts +0 -1
- package/es/control/tab-exp-panel/index.mjs +1 -1
- package/es/control/toolbar/toolbar.mjs +2 -2
- package/es/control/tree/el-tree-util.d.ts +2 -1
- package/es/control/tree/el-tree-util.mjs +13 -1
- package/es/control/tree/index.d.ts +10 -2
- package/es/control/tree/index.mjs +1 -1
- package/es/control/tree/tree.d.ts +10 -1
- package/es/control/tree/tree.mjs +14 -1
- package/es/control/tree-grid/index.d.ts +0 -1
- package/es/control/tree-grid/index.mjs +1 -1
- package/es/control/tree-grid-ex/index.d.ts +0 -1
- package/es/control/tree-grid-ex/index.mjs +1 -1
- package/es/control/wizard-panel/index.d.ts +0 -1
- package/es/control/wizard-panel/index.mjs +1 -1
- package/es/devtool/index.mjs +1 -1
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +1 -1
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +1 -1
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.d.ts +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.mjs +1 -3
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +4 -3
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +25 -5
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +1 -1
- package/es/editor/html/wang-editor/wang-editor.d.ts +1 -1
- package/es/editor/index.mjs +54 -1
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +1 -3
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +1 -1
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +1 -1
- package/es/editor/span/span/span.d.ts +3 -3
- package/es/editor/span/span/span.mjs +30 -2
- package/es/editor/span/span-link/span-link.d.ts +3 -3
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +1 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
- package/es/editor/text-box/input/input.d.ts +2 -2
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -1
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -1
- package/es/index.mjs +4 -100
- package/es/node_modules/.pnpm/{element-plus@2.4.1_vue@3.3.7 → element-plus@2.4.2_vue@3.3.8}/node_modules/element-plus/dist/locale/zh-cn.mjs +1 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +1 -3
- package/es/panel-component/auth-userinfo/index.d.ts +0 -2
- package/es/panel-component/auth-userinfo/index.mjs +1 -1
- package/es/panel-component/index-actions/index-actions.d.ts +1 -1
- package/es/panel-component/index-actions/index-actions.mjs +1 -3
- package/es/panel-component/index-actions/index-actions.provider.mjs +1 -2
- package/es/panel-component/index-actions/index.d.ts +2 -4
- package/es/panel-component/index-actions/index.mjs +1 -1
- package/es/panel-component/index.d.ts +0 -7
- package/es/panel-component/index.mjs +2 -37
- package/es/panel-component/nav-pos-index/index.d.ts +1 -2
- package/es/panel-component/nav-pos-index/index.mjs +1 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +1 -2
- package/es/panel-component/nav-tabs/index.d.ts +0 -1
- package/es/panel-component/nav-tabs/index.mjs +1 -1
- package/es/panel-component/panel-app-header/index.d.ts +0 -2
- package/es/panel-component/panel-app-header/index.mjs +1 -1
- package/es/panel-component/panel-app-login-view/index.d.ts +1 -2
- package/es/panel-component/panel-app-login-view/index.mjs +1 -1
- package/es/panel-component/panel-app-title/index.d.ts +0 -1
- package/es/panel-component/panel-app-title/index.mjs +1 -1
- package/es/panel-component/panel-button/index.d.ts +1 -2
- package/es/panel-component/panel-button/index.mjs +1 -1
- package/es/panel-component/panel-button/panel-button.d.ts +1 -1
- package/es/panel-component/panel-exp-header/index.d.ts +0 -2
- package/es/panel-component/panel-exp-header/index.mjs +1 -1
- package/es/panel-component/panel-index-view-search/index.d.ts +0 -1
- package/es/panel-component/panel-index-view-search/index.mjs +1 -1
- package/es/panel-component/panel-remember-me/index.d.ts +1 -2
- package/es/panel-component/panel-remember-me/index.mjs +1 -1
- package/es/panel-component/panel-tab-page/index.d.ts +0 -1
- package/es/panel-component/panel-tab-page/index.mjs +1 -1
- package/es/panel-component/panel-tab-panel/index.d.ts +0 -1
- package/es/panel-component/panel-tab-panel/index.mjs +1 -1
- package/es/panel-component/panel-view-content/index.d.ts +0 -2
- package/es/panel-component/panel-view-content/index.mjs +1 -1
- package/es/panel-component/panel-view-header/index.d.ts +0 -2
- package/es/panel-component/panel-view-header/index.mjs +1 -1
- package/es/panel-component/split-container/index.d.ts +1 -2
- package/es/panel-component/split-container/index.mjs +1 -1
- package/es/util/app-drawer/app-drawer-component.mjs +1 -4
- package/es/util/app-float-window/app-float-window-component.mjs +1 -4
- package/es/util/app-modal/app-modal-component.mjs +1 -4
- package/es/util/app-popover/app-popover-component.d.ts +1 -1
- package/es/util/app-popover/app-popover-component.mjs +1 -4
- package/es/util/index.d.ts +0 -4
- package/es/util/index.mjs +0 -6
- package/es/util/open-view-util/open-view-util.mjs +1 -3
- package/es/view/index.d.ts +0 -4
- package/es/view/index.mjs +0 -7
- package/es/view/wf-step-trace-view/index.d.ts +0 -2
- package/es/view/wf-step-trace-view/index.mjs +1 -1
- package/es/view-engine/tab-exp-view.engine.d.ts +9 -0
- package/es/view-engine/tab-exp-view.engine.mjs +15 -0
- package/lib/common/index.cjs +7 -20
- package/lib/control/app-menu/index.cjs +0 -1
- package/lib/control/app-menu-icon-view/index.cjs +0 -1
- package/lib/control/calendar/calendar.cjs +1 -2
- package/lib/control/calendar/index.cjs +0 -1
- package/lib/control/caption-bar/index.cjs +0 -1
- package/lib/control/chart/index.cjs +2 -3
- package/lib/control/dashboard/index.cjs +0 -17
- package/lib/control/dashboard/portlet/actionbar-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/chart-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/container-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/html-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/index.cjs +0 -16
- package/lib/control/dashboard/portlet/list-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/menu-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/rawitem-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/view-portlet/index.cjs +0 -1
- package/lib/control/data-view/data-view.cjs +50 -2
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/index.cjs +0 -1
- package/lib/control/drtab/index.cjs +0 -1
- package/lib/control/exp-bar/calendar-exp-bar/index.cjs +0 -1
- package/lib/control/exp-bar/index.cjs +0 -6
- package/lib/control/exp-bar/list-exp-bar/index.cjs +0 -1
- package/lib/control/exp-bar/render-util.cjs +1 -1
- package/lib/control/exp-bar/tree-exp-bar/index.cjs +0 -1
- package/lib/control/exp-bar/tree-exp-bar/tree-exp-bar.cjs +1 -0
- package/lib/control/form/form-detail/form-button/index.cjs +0 -1
- package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/lib/control/form/form-detail/form-druipart/index.cjs +0 -1
- package/lib/control/form/form-detail/form-group-panel/index.cjs +0 -1
- package/lib/control/form/form-detail/form-item/index.cjs +0 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.cjs +6 -2
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-grid/form-mdctrl-grid.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-list/form-mdctrl-list.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/index.cjs +0 -1
- package/lib/control/form/form-detail/form-page/index.cjs +0 -1
- package/lib/control/form/form-detail/form-rawitem/index.cjs +0 -1
- package/lib/control/form/form-detail/form-tab-page/index.cjs +0 -1
- package/lib/control/form/form-detail/form-tab-panel/index.cjs +0 -1
- package/lib/control/form/form-detail/index.cjs +0 -18
- package/lib/control/form/index.cjs +0 -20
- package/lib/control/form/search-form/index.cjs +0 -1
- package/lib/control/grid/grid/index.cjs +0 -1
- package/lib/control/grid/grid-column/grid-field-column/index.cjs +0 -1
- package/lib/control/grid/grid-column/grid-field-edit-column/index.cjs +0 -1
- package/lib/control/grid/grid-column/grid-group-column/index.cjs +0 -1
- package/lib/control/grid/grid-column/grid-ua-column/index.cjs +0 -1
- package/lib/control/grid/grid-column/index.cjs +0 -8
- package/lib/control/grid/index.cjs +0 -10
- package/lib/control/index.cjs +0 -90
- package/lib/control/kanban/index.cjs +0 -1
- package/lib/control/list/index.cjs +0 -1
- package/lib/control/medit-view-panel/index.cjs +0 -1
- package/lib/control/panel/index.cjs +0 -4
- package/lib/control/panel/panel/index.cjs +0 -1
- package/lib/control/panel/view-layout-panel/index.cjs +0 -1
- package/lib/control/pickup-view-panel/index.cjs +0 -1
- package/lib/control/search-bar/index.cjs +0 -1
- package/lib/control/tab-exp-panel/index.cjs +0 -1
- package/lib/control/toolbar/toolbar.cjs +2 -2
- package/lib/control/tree/el-tree-util.cjs +13 -1
- package/lib/control/tree/index.cjs +0 -1
- package/lib/control/tree/tree.cjs +14 -1
- package/lib/control/tree-grid/index.cjs +0 -1
- package/lib/control/tree-grid-ex/index.cjs +0 -1
- package/lib/control/wizard-panel/index.cjs +0 -1
- package/lib/devtool/index.cjs +1 -1
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +1 -3
- package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +25 -5
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/lib/editor/index.cjs +54 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +1 -3
- package/lib/editor/span/span/span.cjs +30 -2
- package/lib/index.cjs +30 -224
- package/lib/node_modules/.pnpm/{element-plus@2.4.1_vue@3.3.7 → element-plus@2.4.2_vue@3.3.8}/node_modules/element-plus/dist/locale/zh-cn.cjs +1 -1
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +1 -3
- package/lib/panel-component/auth-userinfo/index.cjs +0 -1
- package/lib/panel-component/index-actions/index-actions.cjs +1 -3
- package/lib/panel-component/index-actions/index-actions.provider.cjs +2 -3
- package/lib/panel-component/index-actions/index.cjs +0 -1
- package/lib/panel-component/index.cjs +51 -119
- package/lib/panel-component/nav-pos-index/index.cjs +0 -1
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +3 -4
- package/lib/panel-component/nav-tabs/index.cjs +0 -1
- package/lib/panel-component/panel-app-header/index.cjs +0 -1
- package/lib/panel-component/panel-app-login-view/index.cjs +0 -1
- package/lib/panel-component/panel-app-title/index.cjs +0 -1
- package/lib/panel-component/panel-button/index.cjs +0 -1
- package/lib/panel-component/panel-exp-header/index.cjs +0 -1
- package/lib/panel-component/panel-index-view-search/index.cjs +0 -1
- package/lib/panel-component/panel-remember-me/index.cjs +0 -1
- package/lib/panel-component/panel-tab-page/index.cjs +0 -1
- package/lib/panel-component/panel-tab-panel/index.cjs +0 -1
- package/lib/panel-component/panel-view-content/index.cjs +0 -1
- package/lib/panel-component/panel-view-header/index.cjs +0 -1
- package/lib/panel-component/split-container/index.cjs +0 -1
- package/lib/util/app-drawer/app-drawer-component.cjs +2 -5
- package/lib/util/app-float-window/app-float-window-component.cjs +2 -5
- package/lib/util/app-modal/app-modal-component.cjs +2 -5
- package/lib/util/app-popover/app-popover-component.cjs +2 -5
- package/lib/util/index.cjs +0 -12
- package/lib/util/open-view-util/open-view-util.cjs +6 -8
- package/lib/view/index.cjs +2 -16
- package/lib/view/wf-step-trace-view/index.cjs +0 -1
- package/lib/view-engine/tab-exp-view.engine.cjs +15 -0
- package/package.json +10 -10
- package/dist/ibiz-markdown-editor-ruHo8Z-f.js +0 -2
- package/dist/ibiz-markdown-editor-ruHo8Z-f.js.map +0 -1
- package/es/common/code-list/code-list.css +0 -1
- package/es/common/code-list/code-list.d.ts +0 -57
- package/es/common/code-list/code-list.mjs +0 -84
- package/es/common/control-base/control-base.css +0 -1
- package/es/common/control-base/control-base.d.ts +0 -1
- package/es/common/control-base/control-base.mjs +0 -98
- package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts +0 -30
- package/es/common/control-loading-placeholder/control-loading-placeholder.mjs +0 -30
- package/es/common/control-shell/control-shell.css +0 -1
- package/es/common/control-shell/control-shell.d.ts +0 -20
- package/es/common/control-shell/control-shell.mjs +0 -55
- package/es/common/icon/icon.d.ts +0 -28
- package/es/common/icon/icon.mjs +0 -88
- package/es/common/router-view/router-view.d.ts +0 -29
- package/es/common/router-view/router-view.mjs +0 -75
- package/es/common/view-shell/view-shell.css +0 -1
- package/es/common/view-shell/view-shell.d.ts +0 -39
- package/es/common/view-shell/view-shell.mjs +0 -76
- package/es/panel-component/grid-container/grid-container.controller.d.ts +0 -14
- package/es/panel-component/grid-container/grid-container.controller.mjs +0 -12
- package/es/panel-component/grid-container/grid-container.css +0 -1
- package/es/panel-component/grid-container/grid-container.d.ts +0 -37
- package/es/panel-component/grid-container/grid-container.mjs +0 -105
- package/es/panel-component/grid-container/grid-container.provider.d.ts +0 -15
- package/es/panel-component/grid-container/grid-container.provider.mjs +0 -21
- package/es/panel-component/grid-container/grid-container.state.d.ts +0 -12
- package/es/panel-component/grid-container/grid-container.state.mjs +0 -7
- package/es/panel-component/grid-container/index.d.ts +0 -38
- package/es/panel-component/grid-container/index.mjs +0 -17
- package/es/panel-component/multi-data-container/index.d.ts +0 -37
- package/es/panel-component/multi-data-container/index.mjs +0 -20
- package/es/panel-component/multi-data-container/multi-data-container-item.controller.d.ts +0 -60
- package/es/panel-component/multi-data-container/multi-data-container-item.controller.mjs +0 -123
- package/es/panel-component/multi-data-container/multi-data-container-itm.state.d.ts +0 -19
- package/es/panel-component/multi-data-container/multi-data-container-itm.state.mjs +0 -23
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts +0 -106
- package/es/panel-component/multi-data-container/multi-data-container.controller.mjs +0 -266
- package/es/panel-component/multi-data-container/multi-data-container.css +0 -1
- package/es/panel-component/multi-data-container/multi-data-container.d.ts +0 -35
- package/es/panel-component/multi-data-container/multi-data-container.mjs +0 -86
- package/es/panel-component/multi-data-container/multi-data-container.provider.d.ts +0 -15
- package/es/panel-component/multi-data-container/multi-data-container.provider.mjs +0 -21
- package/es/panel-component/multi-data-container/multi-data-container.state.d.ts +0 -19
- package/es/panel-component/multi-data-container/multi-data-container.state.mjs +0 -23
- package/es/panel-component/nav-pos/index.d.ts +0 -28
- package/es/panel-component/nav-pos/index.mjs +0 -14
- package/es/panel-component/nav-pos/nav-pos.controller.d.ts +0 -161
- package/es/panel-component/nav-pos/nav-pos.controller.mjs +0 -281
- package/es/panel-component/nav-pos/nav-pos.css +0 -1
- package/es/panel-component/nav-pos/nav-pos.d.ts +0 -28
- package/es/panel-component/nav-pos/nav-pos.mjs +0 -102
- package/es/panel-component/nav-pos/nav-pos.provider.d.ts +0 -22
- package/es/panel-component/nav-pos/nav-pos.provider.mjs +0 -30
- package/es/panel-component/nav-pos/nav-pos.state.d.ts +0 -49
- package/es/panel-component/nav-pos/nav-pos.state.mjs +0 -53
- package/es/panel-component/panel-container/index.d.ts +0 -27
- package/es/panel-component/panel-container/index.mjs +0 -21
- package/es/panel-component/panel-container/panel-container.controller.d.ts +0 -14
- package/es/panel-component/panel-container/panel-container.controller.mjs +0 -12
- package/es/panel-component/panel-container/panel-container.css +0 -1
- package/es/panel-component/panel-container/panel-container.d.ts +0 -26
- package/es/panel-component/panel-container/panel-container.mjs +0 -69
- package/es/panel-component/panel-container/panel-container.provider.d.ts +0 -15
- package/es/panel-component/panel-container/panel-container.provider.mjs +0 -21
- package/es/panel-component/panel-container/panel-container.state.d.ts +0 -12
- package/es/panel-component/panel-container/panel-container.state.mjs +0 -7
- package/es/panel-component/panel-ctrl-pos/index.d.ts +0 -25
- package/es/panel-component/panel-ctrl-pos/index.mjs +0 -13
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.d.ts +0 -35
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.mjs +0 -39
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.css +0 -1
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts +0 -24
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.mjs +0 -44
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.d.ts +0 -16
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.mjs +0 -21
- package/es/panel-component/panel-field/index.d.ts +0 -26
- package/es/panel-component/panel-field/index.mjs +0 -13
- package/es/panel-component/panel-field/panel-field.controller.d.ts +0 -74
- package/es/panel-component/panel-field/panel-field.controller.mjs +0 -111
- package/es/panel-component/panel-field/panel-field.css +0 -1
- package/es/panel-component/panel-field/panel-field.d.ts +0 -27
- package/es/panel-component/panel-field/panel-field.mjs +0 -72
- package/es/panel-component/panel-field/panel-field.provider.d.ts +0 -14
- package/es/panel-component/panel-field/panel-field.provider.mjs +0 -21
- package/es/panel-component/panel-field/panel-field.state.d.ts +0 -12
- package/es/panel-component/panel-field/panel-field.state.mjs +0 -7
- package/es/panel-component/panel-rawitem/index.d.ts +0 -25
- package/es/panel-component/panel-rawitem/index.mjs +0 -17
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.d.ts +0 -28
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.mjs +0 -28
- package/es/panel-component/panel-rawitem/panel-rawitem.css +0 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts +0 -26
- package/es/panel-component/panel-rawitem/panel-rawitem.mjs +0 -49
- package/es/panel-component/panel-rawitem/panel-rawitem.provider.d.ts +0 -14
- package/es/panel-component/panel-rawitem/panel-rawitem.provider.mjs +0 -21
- package/es/panel-component/scroll-container/index.d.ts +0 -25
- package/es/panel-component/scroll-container/index.mjs +0 -45
- package/es/panel-component/scroll-container/scroll-container/index.d.ts +0 -3
- package/es/panel-component/scroll-container/scroll-container/index.mjs +0 -5
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts +0 -22
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.mjs +0 -12
- package/es/panel-component/scroll-container/scroll-container/scroll-container.css +0 -1
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts +0 -26
- package/es/panel-component/scroll-container/scroll-container/scroll-container.mjs +0 -111
- package/es/panel-component/scroll-container/scroll-container/scroll-container.provider.d.ts +0 -16
- package/es/panel-component/scroll-container/scroll-container/scroll-container.provider.mjs +0 -21
- package/es/panel-component/scroll-container/scroll-container-item/index.d.ts +0 -3
- package/es/panel-component/scroll-container/scroll-container-item/index.mjs +0 -5
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts +0 -21
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.mjs +0 -7
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.css +0 -1
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +0 -26
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.mjs +0 -63
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.d.ts +0 -16
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.mjs +0 -21
- package/es/panel-component/single-data-container/index.d.ts +0 -37
- package/es/panel-component/single-data-container/index.mjs +0 -20
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts +0 -121
- package/es/panel-component/single-data-container/single-data-container.controller.mjs +0 -291
- package/es/panel-component/single-data-container/single-data-container.css +0 -1
- package/es/panel-component/single-data-container/single-data-container.d.ts +0 -35
- package/es/panel-component/single-data-container/single-data-container.mjs +0 -76
- package/es/panel-component/single-data-container/single-data-container.provider.d.ts +0 -15
- package/es/panel-component/single-data-container/single-data-container.provider.mjs +0 -21
- package/es/panel-component/single-data-container/single-data-container.state.d.ts +0 -19
- package/es/panel-component/single-data-container/single-data-container.state.mjs +0 -23
- package/es/util/overlay-container/overlay-container.d.ts +0 -92
- package/es/util/overlay-container/overlay-container.mjs +0 -139
- package/es/util/overlay-popover-container/overlay-popover-container.d.ts +0 -16
- package/es/util/overlay-popover-container/overlay-popover-container.mjs +0 -10
- package/es/util/overlay-view-util/overlay-view-util.d.ts +0 -8
- package/es/util/overlay-view-util/overlay-view-util.mjs +0 -63
- package/es/util/router-callback/router-callback-item.d.ts +0 -61
- package/es/util/router-callback/router-callback-item.mjs +0 -88
- package/es/util/router-callback/router-callback.d.ts +0 -59
- package/es/util/router-callback/router-callback.mjs +0 -92
- package/es/util/store/app-store/app-store.d.ts +0 -9
- package/es/util/store/app-store/app-store.mjs +0 -10
- package/es/util/store/index.d.ts +0 -3
- package/es/util/store/index.mjs +0 -8
- package/es/util/store/ui-store/ui-store.d.ts +0 -31
- package/es/util/store/ui-store/ui-store.mjs +0 -15
- package/es/util/store/ui-store/z-index.d.ts +0 -34
- package/es/util/store/ui-store/z-index.mjs +0 -18
- package/es/view/app-redirect-view/app-redirect-view.d.ts +0 -1
- package/es/view/app-redirect-view/app-redirect-view.mjs +0 -27
- package/es/view/common/index.d.ts +0 -50
- package/es/view/common/index.mjs +0 -14
- package/es/view/common/view.css +0 -1
- package/es/view/common/view.d.ts +0 -52
- package/es/view/common/view.mjs +0 -137
- package/es/view/common/view.provider.d.ts +0 -13
- package/es/view/common/view.provider.mjs +0 -14
- package/es/view/portal-view/index.d.ts +0 -42
- package/es/view/portal-view/index.mjs +0 -20
- package/es/view/portal-view/portal-view.d.ts +0 -43
- package/es/view/portal-view/portal-view.mjs +0 -91
- package/es/view/portal-view/portal-view.provider.d.ts +0 -13
- package/es/view/portal-view/portal-view.provider.mjs +0 -14
- package/es/view/todo-redirect/todo-redirect.d.ts +0 -1
- package/es/view/todo-redirect/todo-redirect.mjs +0 -52
- package/lib/common/code-list/code-list.cjs +0 -86
- package/lib/common/code-list/code-list.css +0 -1
- package/lib/common/control-base/control-base.cjs +0 -100
- package/lib/common/control-base/control-base.css +0 -1
- package/lib/common/control-loading-placeholder/control-loading-placeholder.cjs +0 -32
- package/lib/common/control-shell/control-shell.cjs +0 -57
- package/lib/common/control-shell/control-shell.css +0 -1
- package/lib/common/icon/icon.cjs +0 -90
- package/lib/common/router-view/router-view.cjs +0 -77
- package/lib/common/view-shell/view-shell.cjs +0 -78
- package/lib/common/view-shell/view-shell.css +0 -1
- package/lib/panel-component/grid-container/grid-container.cjs +0 -107
- package/lib/panel-component/grid-container/grid-container.controller.cjs +0 -14
- package/lib/panel-component/grid-container/grid-container.css +0 -1
- package/lib/panel-component/grid-container/grid-container.provider.cjs +0 -23
- package/lib/panel-component/grid-container/grid-container.state.cjs +0 -9
- package/lib/panel-component/grid-container/index.cjs +0 -25
- package/lib/panel-component/multi-data-container/index.cjs +0 -28
- package/lib/panel-component/multi-data-container/multi-data-container-item.controller.cjs +0 -125
- package/lib/panel-component/multi-data-container/multi-data-container-itm.state.cjs +0 -25
- package/lib/panel-component/multi-data-container/multi-data-container.cjs +0 -88
- package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +0 -268
- package/lib/panel-component/multi-data-container/multi-data-container.css +0 -1
- package/lib/panel-component/multi-data-container/multi-data-container.provider.cjs +0 -23
- package/lib/panel-component/multi-data-container/multi-data-container.state.cjs +0 -25
- package/lib/panel-component/nav-pos/index.cjs +0 -22
- package/lib/panel-component/nav-pos/nav-pos.cjs +0 -104
- package/lib/panel-component/nav-pos/nav-pos.controller.cjs +0 -283
- package/lib/panel-component/nav-pos/nav-pos.css +0 -1
- package/lib/panel-component/nav-pos/nav-pos.provider.cjs +0 -32
- package/lib/panel-component/nav-pos/nav-pos.state.cjs +0 -55
- package/lib/panel-component/panel-container/index.cjs +0 -29
- package/lib/panel-component/panel-container/panel-container.cjs +0 -71
- package/lib/panel-component/panel-container/panel-container.controller.cjs +0 -14
- package/lib/panel-component/panel-container/panel-container.css +0 -1
- package/lib/panel-component/panel-container/panel-container.provider.cjs +0 -23
- package/lib/panel-component/panel-container/panel-container.state.cjs +0 -9
- package/lib/panel-component/panel-ctrl-pos/index.cjs +0 -20
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.cjs +0 -46
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.cjs +0 -41
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.css +0 -1
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.cjs +0 -23
- package/lib/panel-component/panel-field/index.cjs +0 -20
- package/lib/panel-component/panel-field/panel-field.cjs +0 -74
- package/lib/panel-component/panel-field/panel-field.controller.cjs +0 -113
- package/lib/panel-component/panel-field/panel-field.css +0 -1
- package/lib/panel-component/panel-field/panel-field.provider.cjs +0 -23
- package/lib/panel-component/panel-field/panel-field.state.cjs +0 -9
- package/lib/panel-component/panel-rawitem/index.cjs +0 -24
- package/lib/panel-component/panel-rawitem/panel-rawitem.cjs +0 -51
- package/lib/panel-component/panel-rawitem/panel-rawitem.controller.cjs +0 -30
- package/lib/panel-component/panel-rawitem/panel-rawitem.css +0 -1
- package/lib/panel-component/panel-rawitem/panel-rawitem.provider.cjs +0 -23
- package/lib/panel-component/scroll-container/index.cjs +0 -56
- package/lib/panel-component/scroll-container/scroll-container/index.cjs +0 -11
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.cjs +0 -113
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.controller.cjs +0 -14
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.css +0 -1
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.provider.cjs +0 -23
- package/lib/panel-component/scroll-container/scroll-container-item/index.cjs +0 -11
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.cjs +0 -65
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.cjs +0 -9
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.css +0 -1
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.cjs +0 -23
- package/lib/panel-component/single-data-container/index.cjs +0 -28
- package/lib/panel-component/single-data-container/single-data-container.cjs +0 -78
- package/lib/panel-component/single-data-container/single-data-container.controller.cjs +0 -293
- package/lib/panel-component/single-data-container/single-data-container.css +0 -1
- package/lib/panel-component/single-data-container/single-data-container.provider.cjs +0 -23
- package/lib/panel-component/single-data-container/single-data-container.state.cjs +0 -25
- package/lib/util/overlay-container/overlay-container.cjs +0 -141
- package/lib/util/overlay-popover-container/overlay-popover-container.cjs +0 -12
- package/lib/util/overlay-view-util/overlay-view-util.cjs +0 -70
- package/lib/util/router-callback/router-callback-item.cjs +0 -90
- package/lib/util/router-callback/router-callback.cjs +0 -95
- package/lib/util/store/app-store/app-store.cjs +0 -12
- package/lib/util/store/index.cjs +0 -12
- package/lib/util/store/ui-store/ui-store.cjs +0 -17
- package/lib/util/store/ui-store/z-index.cjs +0 -20
- package/lib/view/app-redirect-view/app-redirect-view.cjs +0 -29
- package/lib/view/common/index.cjs +0 -17
- package/lib/view/common/view.cjs +0 -139
- package/lib/view/common/view.css +0 -1
- package/lib/view/common/view.provider.cjs +0 -16
- package/lib/view/portal-view/index.cjs +0 -23
- package/lib/view/portal-view/portal-view.cjs +0 -93
- package/lib/view/portal-view/portal-view.provider.cjs +0 -16
- package/lib/view/todo-redirect/todo-redirect.cjs +0 -54
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var vueRouter = require('vue-router');
|
|
6
|
-
var navPos_controller = require('./nav-pos.controller.cjs');
|
|
7
|
-
require('./nav-pos.css');
|
|
8
|
-
|
|
9
|
-
"use strict";
|
|
10
|
-
function _isSlot(s) {
|
|
11
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
12
|
-
}
|
|
13
|
-
const NavPos = /* @__PURE__ */ vue.defineComponent({
|
|
14
|
-
name: "IBizNavPos",
|
|
15
|
-
props: {
|
|
16
|
-
modelData: {
|
|
17
|
-
type: Object,
|
|
18
|
-
required: true
|
|
19
|
-
},
|
|
20
|
-
controller: {
|
|
21
|
-
type: navPos_controller.NavPosController,
|
|
22
|
-
required: true
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup(props) {
|
|
26
|
-
const c = props.controller;
|
|
27
|
-
const ns = vue3Util.useNamespace("nav-pos");
|
|
28
|
-
const onViewCreated = (event) => {
|
|
29
|
-
c.onViewCreated(event);
|
|
30
|
-
};
|
|
31
|
-
const router = vueRouter.useRouter();
|
|
32
|
-
const route = vueRouter.useRoute();
|
|
33
|
-
c.setRouter(router);
|
|
34
|
-
if (c.routeDepth) {
|
|
35
|
-
const expViewRoutePath = vue3Util.getNestedRoutePath(route, c.routeDepth);
|
|
36
|
-
vue.watch(() => route.fullPath, () => {
|
|
37
|
-
const currentRoutePath = vue3Util.getNestedRoutePath(route, c.routeDepth);
|
|
38
|
-
if (expViewRoutePath === currentRoutePath && route.matched.length > c.routeDepth) {
|
|
39
|
-
c.onRouteChange(route);
|
|
40
|
-
}
|
|
41
|
-
}, {
|
|
42
|
-
immediate: true
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
ns,
|
|
47
|
-
c,
|
|
48
|
-
onViewCreated
|
|
49
|
-
};
|
|
50
|
-
},
|
|
51
|
-
render() {
|
|
52
|
-
const {
|
|
53
|
-
viewModals,
|
|
54
|
-
state
|
|
55
|
-
} = this.c;
|
|
56
|
-
const {
|
|
57
|
-
currentKey,
|
|
58
|
-
cacheKeys,
|
|
59
|
-
navViewMsgs,
|
|
60
|
-
cache
|
|
61
|
-
} = state;
|
|
62
|
-
let content = null;
|
|
63
|
-
if (state.routeOpen) {
|
|
64
|
-
content = vue.createVNode(vue.resolveComponent("iBizRouterView"), {
|
|
65
|
-
"manualKey": currentKey,
|
|
66
|
-
"modal": viewModals[currentKey],
|
|
67
|
-
"onCreated": this.onViewCreated
|
|
68
|
-
}, {
|
|
69
|
-
default: ({
|
|
70
|
-
Component
|
|
71
|
-
}) => {
|
|
72
|
-
const routerContent = currentKey === "" || !Component ? null : vue.createVNode(Component, null, null);
|
|
73
|
-
return cache ? vue.createVNode(vue.resolveComponent("keepAlive"), {
|
|
74
|
-
"include": cacheKeys,
|
|
75
|
-
"max": 30,
|
|
76
|
-
"isKey": true
|
|
77
|
-
}, _isSlot(routerContent) ? routerContent : {
|
|
78
|
-
default: () => [routerContent]
|
|
79
|
-
}) : routerContent;
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
} else {
|
|
83
|
-
const view = currentKey ? vue.h(vue.resolveComponent("IBizViewShell"), {
|
|
84
|
-
context: navViewMsgs[currentKey].context,
|
|
85
|
-
params: navViewMsgs[currentKey].params,
|
|
86
|
-
key: navViewMsgs[currentKey].key,
|
|
87
|
-
viewId: navViewMsgs[currentKey].viewId,
|
|
88
|
-
onCreated: this.onViewCreated
|
|
89
|
-
}) : null;
|
|
90
|
-
content = cache ? vue.createVNode(vue.resolveComponent("keepAlive"), {
|
|
91
|
-
"include": cacheKeys,
|
|
92
|
-
"max": 30,
|
|
93
|
-
"isKey": true
|
|
94
|
-
}, _isSlot(view) ? view : {
|
|
95
|
-
default: () => [view]
|
|
96
|
-
}) : view;
|
|
97
|
-
}
|
|
98
|
-
return vue.createVNode("div", {
|
|
99
|
-
"class": [this.ns.b(), this.ns.m(this.modelData.id), ...this.controller.containerClass]
|
|
100
|
-
}, [content]);
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
exports.NavPos = NavPos;
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var runtime = require('@ibiz-template/runtime');
|
|
4
|
-
var qxUtil = require('qx-util');
|
|
5
|
-
var ramda = require('ramda');
|
|
6
|
-
var navPos_state = require('./nav-pos.state.cjs');
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
var __defProp = Object.defineProperty;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __publicField = (obj, key, value) => {
|
|
12
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
13
|
-
return value;
|
|
14
|
-
};
|
|
15
|
-
class NavPosController extends runtime.PanelItemController {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
/**
|
|
19
|
-
* 导航视图的modal
|
|
20
|
-
*
|
|
21
|
-
* @type {{ [key: string]: IModal }}
|
|
22
|
-
* @memberof NavPosController
|
|
23
|
-
*/
|
|
24
|
-
__publicField(this, "viewModals", {});
|
|
25
|
-
/**
|
|
26
|
-
* 当前导航视图
|
|
27
|
-
*
|
|
28
|
-
* @type {INavViewMsg}
|
|
29
|
-
* @memberof NavPosController
|
|
30
|
-
*/
|
|
31
|
-
__publicField(this, "curNavViewMsg");
|
|
32
|
-
/**
|
|
33
|
-
* Router 对象
|
|
34
|
-
*
|
|
35
|
-
* @type {Router}
|
|
36
|
-
* @memberof NavPosController
|
|
37
|
-
*/
|
|
38
|
-
__publicField(this, "router");
|
|
39
|
-
/**
|
|
40
|
-
* 关联部件标识集合
|
|
41
|
-
* @author lxm
|
|
42
|
-
* @date 2023-08-10 07:35:08
|
|
43
|
-
* @type {string[]}
|
|
44
|
-
*/
|
|
45
|
-
__publicField(this, "refCtrlKeys", []);
|
|
46
|
-
/**
|
|
47
|
-
* 自定义补充参数
|
|
48
|
-
*
|
|
49
|
-
* @author zk
|
|
50
|
-
* @date 2023-09-27 03:09:02
|
|
51
|
-
* @type {IData}
|
|
52
|
-
* @memberof NavPosController
|
|
53
|
-
*/
|
|
54
|
-
__publicField(this, "rawItemParams", {});
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Route 对象
|
|
58
|
-
*
|
|
59
|
-
* @author zk
|
|
60
|
-
* @date 2023-06-29 04:06:59
|
|
61
|
-
* @type {RouteLocationNormalizedLoaded}
|
|
62
|
-
* @memberof NavPosController
|
|
63
|
-
*/
|
|
64
|
-
get route() {
|
|
65
|
-
return this.router.currentRoute.value;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* 导航项是否缓存
|
|
69
|
-
*
|
|
70
|
-
* @author zk
|
|
71
|
-
* @date 2023-09-27 03:09:49
|
|
72
|
-
* @param {INavViewMsg} navViewMsg
|
|
73
|
-
* @return {*} {boolean}
|
|
74
|
-
* @memberof NavPosController
|
|
75
|
-
*/
|
|
76
|
-
getExpItemIsCache(navViewMsg) {
|
|
77
|
-
if (this.rawItemParams.expcache === "CACHE") {
|
|
78
|
-
return true;
|
|
79
|
-
}
|
|
80
|
-
if (this.rawItemParams.expcache === "NO_CACHE") {
|
|
81
|
-
return false;
|
|
82
|
-
}
|
|
83
|
-
return navViewMsg.isCache;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* 设置 Router 对象
|
|
87
|
-
*
|
|
88
|
-
* @param {Router} router
|
|
89
|
-
* @memberof NavPosController
|
|
90
|
-
*/
|
|
91
|
-
setRouter(router) {
|
|
92
|
-
this.router = router;
|
|
93
|
-
}
|
|
94
|
-
async onInit() {
|
|
95
|
-
var _a;
|
|
96
|
-
await super.onInit();
|
|
97
|
-
this.handleRawItemParams();
|
|
98
|
-
if ((_a = this.model.rawItem) == null ? void 0 : _a.rawItemParams) {
|
|
99
|
-
this.model.rawItem.rawItemParams.find((item) => {
|
|
100
|
-
if (item.key === "REFCTRL" && item.value) {
|
|
101
|
-
this.refCtrlKeys = item.value.split(";").map((str) => str.toLowerCase());
|
|
102
|
-
return true;
|
|
103
|
-
}
|
|
104
|
-
return false;
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
this.panel.evt.on("onControlEvent", (event) => {
|
|
108
|
-
const isRefCtrl = this.refCtrlKeys.length === 0 || this.refCtrlKeys.includes(event.triggerControlName);
|
|
109
|
-
if (isRefCtrl && event.triggerEventName === "onNavViewChange") {
|
|
110
|
-
const triggerEvent = event.triggerEvent;
|
|
111
|
-
this.openView(triggerEvent.navViewMsg);
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
const expRoute = this.rawItemParams.expmode || this.panel.view.params.expmode;
|
|
115
|
-
if (expRoute === "ROUTE" && this.routeDepth) {
|
|
116
|
-
this.state.routeOpen = true;
|
|
117
|
-
} else if (expRoute === "NO_ROUTE") {
|
|
118
|
-
this.state.routeOpen = false;
|
|
119
|
-
} else {
|
|
120
|
-
this.state.routeOpen = !!this.routeDepth;
|
|
121
|
-
}
|
|
122
|
-
if (this.panel.view.params.expmode) {
|
|
123
|
-
delete this.panel.view.params.expmode;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* 创建导航占位状态对象
|
|
128
|
-
*
|
|
129
|
-
* @protected
|
|
130
|
-
* @return {*} {NavPosState}
|
|
131
|
-
* @memberof NavPosController
|
|
132
|
-
*/
|
|
133
|
-
createState() {
|
|
134
|
-
var _a;
|
|
135
|
-
return new navPos_state.NavPosState((_a = this.parent) == null ? void 0 : _a.state);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* 当前路由视图的层级
|
|
139
|
-
*
|
|
140
|
-
* @readonly
|
|
141
|
-
* @type {(number | undefined)}
|
|
142
|
-
* @memberof NavPosController
|
|
143
|
-
*/
|
|
144
|
-
get routeDepth() {
|
|
145
|
-
return this.panel.view.modal.routeDepth;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* 路由改变
|
|
149
|
-
*
|
|
150
|
-
* @memberof NavPosController
|
|
151
|
-
*/
|
|
152
|
-
onRouteChange(route) {
|
|
153
|
-
if (this.curNavViewMsg) {
|
|
154
|
-
this.state.currentKey = this.curNavViewMsg.key;
|
|
155
|
-
this.state.navViewMsgs[this.curNavViewMsg.key].fullPath = route.fullPath;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* 设置导航视图信息
|
|
160
|
-
*
|
|
161
|
-
* @author zk
|
|
162
|
-
* @date 2023-06-29 02:06:41
|
|
163
|
-
* @param {INavViewMsg} navViewMsg 导航视图信息
|
|
164
|
-
* @memberof NavPosController
|
|
165
|
-
*/
|
|
166
|
-
setNavViewMsgs(navViewMsg) {
|
|
167
|
-
if (this.state.navViewMsgs[navViewMsg.key]) {
|
|
168
|
-
ramda.mergeLeft(this.state.navViewMsgs[navViewMsg.key], navViewMsg);
|
|
169
|
-
} else {
|
|
170
|
-
this.state.navViewMsgs[navViewMsg.key] = navViewMsg;
|
|
171
|
-
if (this.getExpItemIsCache(navViewMsg)) {
|
|
172
|
-
this.state.cacheKeys.push(navViewMsg.key);
|
|
173
|
-
}
|
|
174
|
-
this.viewModals[navViewMsg.key] = new runtime.Modal({
|
|
175
|
-
mode: this.routeDepth ? runtime.ViewMode.ROUTE : runtime.ViewMode.EMBED,
|
|
176
|
-
routeDepth: this.routeDepth ? this.routeDepth + 1 : void 0,
|
|
177
|
-
dismiss: () => {
|
|
178
|
-
this.dismiss(navViewMsg.key);
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
this.curNavViewMsg = this.state.navViewMsgs[navViewMsg.key];
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* 自身的dismiss相关操作
|
|
186
|
-
*
|
|
187
|
-
* @param {string} key
|
|
188
|
-
* @memberof NavPosController
|
|
189
|
-
*/
|
|
190
|
-
dismiss(key) {
|
|
191
|
-
ibiz.log.debug(this.constructor.name, "dismiss", key);
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* 监听视图创建
|
|
195
|
-
*
|
|
196
|
-
* @param {EventBase} event
|
|
197
|
-
* @memberof NavPosController
|
|
198
|
-
*/
|
|
199
|
-
onViewCreated(event) {
|
|
200
|
-
ibiz.log.debug(this.constructor.name, "onViewCreated", event);
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* 打开视图
|
|
204
|
-
*
|
|
205
|
-
* @param {INavViewMsg} openViewMsg
|
|
206
|
-
* @memberof NavPosController
|
|
207
|
-
*/
|
|
208
|
-
openView(openViewMsg) {
|
|
209
|
-
if (!openViewMsg.key) {
|
|
210
|
-
this.state.currentKey = openViewMsg.key;
|
|
211
|
-
return;
|
|
212
|
-
}
|
|
213
|
-
if (this.routeDepth && this.state.routeOpen) {
|
|
214
|
-
this.openViewByPath(openViewMsg);
|
|
215
|
-
} else {
|
|
216
|
-
this.openViewByModel(openViewMsg);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* 通过路由打开视图
|
|
221
|
-
*
|
|
222
|
-
* @param {INavViewMsg} openViewMsg
|
|
223
|
-
* @memberof NavPosController
|
|
224
|
-
*/
|
|
225
|
-
openViewByPath(openViewMsg) {
|
|
226
|
-
const isFirstOpen = Object.values(this.state.navViewMsgs).length === 0;
|
|
227
|
-
this.setNavViewMsgs(openViewMsg);
|
|
228
|
-
if (isFirstOpen && this.route.matched.length > this.routeDepth) {
|
|
229
|
-
this.state.currentKey = openViewMsg.key;
|
|
230
|
-
this.state.navViewMsgs[this.curNavViewMsg.key].fullPath = this.route.fullPath;
|
|
231
|
-
return;
|
|
232
|
-
}
|
|
233
|
-
if (this.state.navViewMsgs[openViewMsg.key].fullPath && this.getExpItemIsCache(openViewMsg)) {
|
|
234
|
-
this.router.push(this.state.navViewMsgs[openViewMsg.key].fullPath);
|
|
235
|
-
} else {
|
|
236
|
-
const tempContext = Object.assign(openViewMsg.context.clone(), {
|
|
237
|
-
toRouteDepth: this.routeDepth + 1
|
|
238
|
-
});
|
|
239
|
-
if (this.getExpItemIsCache(openViewMsg)) {
|
|
240
|
-
this.state.cacheKeys.push(openViewMsg.key);
|
|
241
|
-
}
|
|
242
|
-
ibiz.commands.execute(
|
|
243
|
-
runtime.OpenAppViewCommand.TAG,
|
|
244
|
-
openViewMsg.viewId,
|
|
245
|
-
tempContext,
|
|
246
|
-
openViewMsg.params,
|
|
247
|
-
{ openMode: "INDEXVIEWTAB" }
|
|
248
|
-
);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* 通过模型绘制视图
|
|
253
|
-
*
|
|
254
|
-
* @param {INavViewMsg} openViewMsg
|
|
255
|
-
* @memberof NavPosController
|
|
256
|
-
*/
|
|
257
|
-
openViewByModel(openViewMsg) {
|
|
258
|
-
this.setNavViewMsgs(openViewMsg);
|
|
259
|
-
this.state.currentKey = openViewMsg.key;
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* 处理自定义补充参数 [{key:'name',value:'data'}] => {name:'data'}
|
|
263
|
-
*
|
|
264
|
-
* @author zk
|
|
265
|
-
* @date 2023-09-27 03:09:55
|
|
266
|
-
* @protected
|
|
267
|
-
* @memberof NavPosController
|
|
268
|
-
*/
|
|
269
|
-
handleRawItemParams() {
|
|
270
|
-
var _a;
|
|
271
|
-
let params = {};
|
|
272
|
-
const rawItemParams = (_a = this.model.rawItem) == null ? void 0 : _a.rawItemParams;
|
|
273
|
-
if (qxUtil.notNilEmpty(rawItemParams)) {
|
|
274
|
-
params = rawItemParams.reduce((param, item) => {
|
|
275
|
-
param[item.key.toLowerCase()] = item.value;
|
|
276
|
-
return param;
|
|
277
|
-
}, {});
|
|
278
|
-
}
|
|
279
|
-
Object.assign(this.rawItemParams, params);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
exports.NavPosController = NavPosController;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-nav-pos{width:100%;height:100%}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var navPos_controller = require('./nav-pos.controller.cjs');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class NavPosProvider {
|
|
13
|
-
constructor() {
|
|
14
|
-
__publicField(this, "component", "IBizNavPos");
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 创建控制器
|
|
18
|
-
*
|
|
19
|
-
* @param {IPanelItem} panelItem
|
|
20
|
-
* @param {PanelController} panel
|
|
21
|
-
* @param {(PanelItemController | undefined)} parent
|
|
22
|
-
* @return {*} {Promise<IPanelItemNavPosController>}
|
|
23
|
-
* @memberof NavPosProvider
|
|
24
|
-
*/
|
|
25
|
-
async createController(panelItem, panel, parent) {
|
|
26
|
-
const c = new navPos_controller.NavPosController(panelItem, panel, parent);
|
|
27
|
-
await c.init();
|
|
28
|
-
return c;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
exports.NavPosProvider = NavPosProvider;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var runtime = require('@ibiz-template/runtime');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class NavPosState extends runtime.PanelItemState {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
/**
|
|
16
|
-
* 是否启用缓存
|
|
17
|
-
*
|
|
18
|
-
* @type {boolean}
|
|
19
|
-
* @memberof NavPosState
|
|
20
|
-
*/
|
|
21
|
-
__publicField(this, "cache", true);
|
|
22
|
-
/**
|
|
23
|
-
* 是否是路由打开
|
|
24
|
-
*
|
|
25
|
-
* @author zk
|
|
26
|
-
* @date 2023-09-26 04:09:23
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof NavPosState
|
|
29
|
-
*/
|
|
30
|
-
__publicField(this, "routeOpen", true);
|
|
31
|
-
/**
|
|
32
|
-
* 当前导航视图标识
|
|
33
|
-
* @author lxm
|
|
34
|
-
* @date 2023-05-25 06:24:48
|
|
35
|
-
* @type {string}
|
|
36
|
-
*/
|
|
37
|
-
__publicField(this, "currentKey", "");
|
|
38
|
-
/**
|
|
39
|
-
* 缓存的视图标识
|
|
40
|
-
* @author lxm
|
|
41
|
-
* @date 2023-05-25 06:25:21
|
|
42
|
-
* @type {string[]}
|
|
43
|
-
*/
|
|
44
|
-
__publicField(this, "cacheKeys", ["RouterShell"]);
|
|
45
|
-
/**
|
|
46
|
-
* 导航视图详细信息
|
|
47
|
-
* @author lxm
|
|
48
|
-
* @date 2023-05-25 07:07:05
|
|
49
|
-
* @type {INavViewMsg[]}
|
|
50
|
-
*/
|
|
51
|
-
__publicField(this, "navViewMsgs", {});
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
exports.NavPosState = NavPosState;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
-
var runtime = require('@ibiz-template/runtime');
|
|
7
|
-
var panelContainer = require('./panel-container.cjs');
|
|
8
|
-
var panelContainer_provider = require('./panel-container.provider.cjs');
|
|
9
|
-
var panelContainer_state = require('./panel-container.state.cjs');
|
|
10
|
-
var panelContainer_controller = require('./panel-container.controller.cjs');
|
|
11
|
-
|
|
12
|
-
"use strict";
|
|
13
|
-
const IBizPanelContainer = vue3Util.withInstall(
|
|
14
|
-
panelContainer.PanelContainer,
|
|
15
|
-
function(v) {
|
|
16
|
-
v.component(panelContainer.PanelContainer.name, panelContainer.PanelContainer);
|
|
17
|
-
runtime.registerPanelItemProvider("CONTAINER", () => new panelContainer_provider.PanelContainerProvider());
|
|
18
|
-
runtime.registerPanelItemProvider(
|
|
19
|
-
"CONTAINER_DEFAULT",
|
|
20
|
-
() => new panelContainer_provider.PanelContainerProvider()
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
|
|
25
|
-
exports.PanelContainerProvider = panelContainer_provider.PanelContainerProvider;
|
|
26
|
-
exports.PanelContainerState = panelContainer_state.PanelContainerState;
|
|
27
|
-
exports.PanelContainerController = panelContainer_controller.PanelContainerController;
|
|
28
|
-
exports.IBizPanelContainer = IBizPanelContainer;
|
|
29
|
-
exports.default = IBizPanelContainer;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var panelContainer_controller = require('./panel-container.controller.cjs');
|
|
6
|
-
require('./panel-container.css');
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
function _isSlot(s) {
|
|
10
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
11
|
-
}
|
|
12
|
-
const PanelContainer = /* @__PURE__ */ vue.defineComponent({
|
|
13
|
-
name: "IBizPanelContainer",
|
|
14
|
-
props: {
|
|
15
|
-
modelData: {
|
|
16
|
-
type: Object,
|
|
17
|
-
required: true
|
|
18
|
-
},
|
|
19
|
-
controller: {
|
|
20
|
-
type: panelContainer_controller.PanelContainerController,
|
|
21
|
-
required: true
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(props) {
|
|
25
|
-
const ns = vue3Util.useNamespace("panel-container");
|
|
26
|
-
const {
|
|
27
|
-
id
|
|
28
|
-
} = props.modelData;
|
|
29
|
-
const classArr = vue.computed(() => {
|
|
30
|
-
let result = [ns.b(), ns.m(id)];
|
|
31
|
-
result = [...result, ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible)];
|
|
32
|
-
return result;
|
|
33
|
-
});
|
|
34
|
-
return {
|
|
35
|
-
ns,
|
|
36
|
-
classArr
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
render() {
|
|
40
|
-
var _a, _b;
|
|
41
|
-
let _slot;
|
|
42
|
-
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
43
|
-
const content = vue.createVNode(vue.resolveComponent("iBizRow"), {
|
|
44
|
-
"slot": "content",
|
|
45
|
-
"layout": this.modelData.layout
|
|
46
|
-
}, _isSlot(_slot = defaultSlots.map((slot) => {
|
|
47
|
-
const props = slot.props;
|
|
48
|
-
if (!props || !props.controller) {
|
|
49
|
-
return slot;
|
|
50
|
-
}
|
|
51
|
-
return vue.createVNode(vue.resolveComponent("iBizCol"), {
|
|
52
|
-
"layoutPos": props.modelData.layoutPos,
|
|
53
|
-
"state": props.controller.state
|
|
54
|
-
}, _isSlot(slot) ? slot : {
|
|
55
|
-
default: () => [slot]
|
|
56
|
-
});
|
|
57
|
-
})) ? _slot : {
|
|
58
|
-
default: () => [_slot]
|
|
59
|
-
});
|
|
60
|
-
return vue.createVNode("div", {
|
|
61
|
-
"class": this.classArr,
|
|
62
|
-
"onClick": () => {
|
|
63
|
-
this.controller.onClick();
|
|
64
|
-
}
|
|
65
|
-
}, [this.controller.model.cssStyle ? vue.createVNode("style", {
|
|
66
|
-
"type": "text/css"
|
|
67
|
-
}, [this.controller.model.cssStyle]) : null, content]);
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
exports.PanelContainer = PanelContainer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var runtime = require('@ibiz-template/runtime');
|
|
4
|
-
var panelContainer_state = require('./panel-container.state.cjs');
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
class PanelContainerController extends runtime.PanelItemController {
|
|
8
|
-
createState() {
|
|
9
|
-
var _a;
|
|
10
|
-
return new panelContainer_state.PanelContainerState((_a = this.parent) == null ? void 0 : _a.state);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
exports.PanelContainerController = PanelContainerController;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-panel-container{width:100%;height:100%}.ibiz-panel-container>.ibiz-row{height:100%;overflow-x:hidden;overflow-y:auto}.ibiz-panel-container.is-hidden{display:none}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var panelContainer_controller = require('./panel-container.controller.cjs');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class PanelContainerProvider {
|
|
13
|
-
constructor() {
|
|
14
|
-
__publicField(this, "component", "IBizPanelContainer");
|
|
15
|
-
}
|
|
16
|
-
async createController(panelItem, panel, parent) {
|
|
17
|
-
const c = new panelContainer_controller.PanelContainerController(panelItem, panel, parent);
|
|
18
|
-
await c.init();
|
|
19
|
-
return c;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.PanelContainerProvider = PanelContainerProvider;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
-
var runtime = require('@ibiz-template/runtime');
|
|
7
|
-
var panelCtrlPos = require('./panel-ctrl-pos.cjs');
|
|
8
|
-
var panelCtrlPos_provider = require('./panel-ctrl-pos.provider.cjs');
|
|
9
|
-
var panelCtrlPos_controller = require('./panel-ctrl-pos.controller.cjs');
|
|
10
|
-
|
|
11
|
-
"use strict";
|
|
12
|
-
const IBizPanelCtrlPos = vue3Util.withInstall(panelCtrlPos.PanelCtrlPos, function(v) {
|
|
13
|
-
v.component(panelCtrlPos.PanelCtrlPos.name, panelCtrlPos.PanelCtrlPos);
|
|
14
|
-
runtime.registerPanelItemProvider("CTRLPOS", () => new panelCtrlPos_provider.PanelCtrlPosProvider());
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
exports.PanelCtrlPosProvider = panelCtrlPos_provider.PanelCtrlPosProvider;
|
|
18
|
-
exports.PanelCtrlPosController = panelCtrlPos_controller.PanelCtrlPosController;
|
|
19
|
-
exports.IBizPanelCtrlPos = IBizPanelCtrlPos;
|
|
20
|
-
exports.default = IBizPanelCtrlPos;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./panel-ctrl-pos.css');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const PanelCtrlPos = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
-
name: "IBizPanelCtrlPos",
|
|
10
|
-
props: {
|
|
11
|
-
modelData: {
|
|
12
|
-
type: Object,
|
|
13
|
-
required: true
|
|
14
|
-
},
|
|
15
|
-
controller: {
|
|
16
|
-
type: Object,
|
|
17
|
-
required: true
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(props) {
|
|
21
|
-
const ctx = vue.inject("ctx");
|
|
22
|
-
ctx.evt.on("onRegister", (name, c) => {
|
|
23
|
-
if (name === props.modelData.id) {
|
|
24
|
-
props.controller.bindControl(c);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const ns = vue3Util.useNamespace("panel-ctrl-pos");
|
|
28
|
-
return {
|
|
29
|
-
ns
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
render() {
|
|
33
|
-
const {
|
|
34
|
-
state
|
|
35
|
-
} = this.controller;
|
|
36
|
-
let content;
|
|
37
|
-
if (this.$slots.default) {
|
|
38
|
-
content = this.$slots.default();
|
|
39
|
-
}
|
|
40
|
-
return vue.createVNode("div", {
|
|
41
|
-
"class": [this.ns.b(), this.ns.m(this.modelData.id), ...this.controller.containerClass, this.ns.is("hidden", !state.visible)]
|
|
42
|
-
}, [content || (ibiz.env.dev ? `\u672A\u63D0\u4F9B${this.modelData.id}\u63D2\u69FD` : "")]);
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
exports.PanelCtrlPos = PanelCtrlPos;
|