@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,141 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var qxUtil = require('qx-util');
|
|
4
|
-
var vue = require('vue');
|
|
5
|
-
var core = require('@ibiz-template/core');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
var __defProp = Object.defineProperty;
|
|
9
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
-
var __publicField = (obj, key, value) => {
|
|
11
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
12
|
-
return value;
|
|
13
|
-
};
|
|
14
|
-
class OverlayContainer {
|
|
15
|
-
/**
|
|
16
|
-
* 创建全局呈现
|
|
17
|
-
*
|
|
18
|
-
* @author chitanda
|
|
19
|
-
* @date 2022-11-09 14:11:52
|
|
20
|
-
* @param {unknown} component
|
|
21
|
-
* @param {(h: CreateElement) => VNode} render
|
|
22
|
-
* @param {IPopoverOptions} [opts]
|
|
23
|
-
*/
|
|
24
|
-
constructor(component, render, opts) {
|
|
25
|
-
this.component = component;
|
|
26
|
-
this.render = render;
|
|
27
|
-
this.opts = opts;
|
|
28
|
-
__publicField(this, "vm");
|
|
29
|
-
/**
|
|
30
|
-
* 具体模态组件
|
|
31
|
-
*
|
|
32
|
-
* @author chitanda
|
|
33
|
-
* @date 2022-11-09 12:11:34
|
|
34
|
-
* @protected
|
|
35
|
-
* @type {*}
|
|
36
|
-
*/
|
|
37
|
-
__publicField(this, "modal");
|
|
38
|
-
/**
|
|
39
|
-
* 外面调用dismiss时传的result结果
|
|
40
|
-
*
|
|
41
|
-
* @author lxm
|
|
42
|
-
* @date 2022-11-09 20:11:06
|
|
43
|
-
* @protected
|
|
44
|
-
* @type {unknown}
|
|
45
|
-
*/
|
|
46
|
-
__publicField(this, "result");
|
|
47
|
-
/**
|
|
48
|
-
* 内部事件
|
|
49
|
-
*
|
|
50
|
-
* @author chitanda
|
|
51
|
-
* @date 2022-11-09 12:11:42
|
|
52
|
-
* @protected
|
|
53
|
-
*/
|
|
54
|
-
__publicField(this, "evt", new qxUtil.QXEvent());
|
|
55
|
-
this.init();
|
|
56
|
-
}
|
|
57
|
-
static createVueApp(_rootComponent, _rootProps) {
|
|
58
|
-
throw new core.RuntimeError("\u6CA1\u6709\u6CE8\u5165createVueApp\u65B9\u6CD5");
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* 初始化飘窗
|
|
62
|
-
*
|
|
63
|
-
* @author chitanda
|
|
64
|
-
* @date 2022-11-09 12:11:55
|
|
65
|
-
* @protected
|
|
66
|
-
* @return {*} {void}
|
|
67
|
-
*/
|
|
68
|
-
init() {
|
|
69
|
-
const self = this;
|
|
70
|
-
const { render, opts } = this;
|
|
71
|
-
const container = document.createElement("div");
|
|
72
|
-
document.body.appendChild(container);
|
|
73
|
-
const vm = OverlayContainer.createVueApp({
|
|
74
|
-
mounted() {
|
|
75
|
-
self.modal = this.$refs.root;
|
|
76
|
-
},
|
|
77
|
-
unmounted() {
|
|
78
|
-
document.body.removeChild(container);
|
|
79
|
-
self.evt.emit("dismiss", self.result);
|
|
80
|
-
},
|
|
81
|
-
render() {
|
|
82
|
-
return vue.h(
|
|
83
|
-
self.component,
|
|
84
|
-
{
|
|
85
|
-
ref: "root",
|
|
86
|
-
opts,
|
|
87
|
-
onDismiss(data) {
|
|
88
|
-
self.result = data;
|
|
89
|
-
vm.unmount();
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
{ default: render }
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
ibiz.plugin.register(vm);
|
|
97
|
-
vm.mount(container);
|
|
98
|
-
this.vm = vm;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* 打开飘窗
|
|
102
|
-
*
|
|
103
|
-
* @author chitanda
|
|
104
|
-
* @date 2022-11-09 12:11:52
|
|
105
|
-
* @param {HTMLElement} target
|
|
106
|
-
* @return {*} {Promise<void>}
|
|
107
|
-
*/
|
|
108
|
-
async present() {
|
|
109
|
-
return this.modal.present();
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* 手动调用关闭飘窗
|
|
113
|
-
*
|
|
114
|
-
* @author chitanda
|
|
115
|
-
* @date 2022-11-09 12:11:39
|
|
116
|
-
* @param {unknown} [data]
|
|
117
|
-
* @return {*} {Promise<void>}
|
|
118
|
-
*/
|
|
119
|
-
async dismiss(data) {
|
|
120
|
-
this.modal.dismiss(data);
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* 订阅窗口关闭
|
|
124
|
-
*
|
|
125
|
-
* @author chitanda
|
|
126
|
-
* @date 2022-11-09 12:11:20
|
|
127
|
-
* @template T
|
|
128
|
-
* @return {*} {Promise<T>}
|
|
129
|
-
*/
|
|
130
|
-
async onWillDismiss() {
|
|
131
|
-
return new Promise((resolve) => {
|
|
132
|
-
const callback = (data) => {
|
|
133
|
-
resolve(data);
|
|
134
|
-
this.evt.off("dismiss", callback);
|
|
135
|
-
};
|
|
136
|
-
this.evt.on("dismiss", callback);
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
exports.OverlayContainer = OverlayContainer;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var overlayContainer = require('../overlay-container/overlay-container.cjs');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
class OverlayPopoverContainer extends overlayContainer.OverlayContainer {
|
|
7
|
-
present(target) {
|
|
8
|
-
return this.modal.present(target);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
exports.OverlayPopoverContainer = OverlayPopoverContainer;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
function createOverlayView(props) {
|
|
7
|
-
return (modal) => {
|
|
8
|
-
const viewShell = vue.resolveComponent("IBizViewShell");
|
|
9
|
-
return vue.h(viewShell, {
|
|
10
|
-
...props,
|
|
11
|
-
modal
|
|
12
|
-
});
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
async function openViewModal(props, opts) {
|
|
16
|
-
const overlay = ibiz.overlay.createModal(
|
|
17
|
-
createOverlayView(props),
|
|
18
|
-
void 0,
|
|
19
|
-
opts
|
|
20
|
-
);
|
|
21
|
-
overlay.present();
|
|
22
|
-
const result = await overlay.onWillDismiss();
|
|
23
|
-
return result || { ok: false };
|
|
24
|
-
}
|
|
25
|
-
async function openViewFloatWindow(props, opts) {
|
|
26
|
-
const overlay = ibiz.overlay.createFloatWindow(
|
|
27
|
-
createOverlayView(props),
|
|
28
|
-
void 0,
|
|
29
|
-
opts
|
|
30
|
-
);
|
|
31
|
-
overlay.present();
|
|
32
|
-
const result = await overlay.onWillDismiss();
|
|
33
|
-
return result || { ok: false };
|
|
34
|
-
}
|
|
35
|
-
async function openViewDrawer(props, opts) {
|
|
36
|
-
const overlay = ibiz.overlay.createDrawer(
|
|
37
|
-
createOverlayView(props),
|
|
38
|
-
void 0,
|
|
39
|
-
opts
|
|
40
|
-
);
|
|
41
|
-
await overlay.present();
|
|
42
|
-
const result = await overlay.onWillDismiss();
|
|
43
|
-
return result || { ok: false };
|
|
44
|
-
}
|
|
45
|
-
async function openViewPopover(event, props, opts) {
|
|
46
|
-
const overlay = ibiz.overlay.createPopover(
|
|
47
|
-
createOverlayView(props),
|
|
48
|
-
void 0,
|
|
49
|
-
opts
|
|
50
|
-
);
|
|
51
|
-
overlay.present(event.target);
|
|
52
|
-
const result = await overlay.onWillDismiss();
|
|
53
|
-
return result || { ok: false };
|
|
54
|
-
}
|
|
55
|
-
const PlacementMap = {
|
|
56
|
-
DRAWER_LEFT: "left",
|
|
57
|
-
DRAWER_RIGHT: "right",
|
|
58
|
-
DRAWER_TOP: "top",
|
|
59
|
-
DRAWER_BOTTOM: "bottom"
|
|
60
|
-
};
|
|
61
|
-
function getDrawerPlacement(openMode) {
|
|
62
|
-
return PlacementMap[openMode] || "right";
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
exports.createOverlayView = createOverlayView;
|
|
66
|
-
exports.getDrawerPlacement = getDrawerPlacement;
|
|
67
|
-
exports.openViewDrawer = openViewDrawer;
|
|
68
|
-
exports.openViewFloatWindow = openViewFloatWindow;
|
|
69
|
-
exports.openViewModal = openViewModal;
|
|
70
|
-
exports.openViewPopover = openViewPopover;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __publicField = (obj, key, value) => {
|
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
-
return value;
|
|
9
|
-
};
|
|
10
|
-
class RouterCallbackItem {
|
|
11
|
-
constructor(from, to) {
|
|
12
|
-
this.from = from;
|
|
13
|
-
this.to = to;
|
|
14
|
-
__publicField(this, "resolve");
|
|
15
|
-
__publicField(this, "promise");
|
|
16
|
-
/**
|
|
17
|
-
* 销毁定时器
|
|
18
|
-
*
|
|
19
|
-
* @author chitanda
|
|
20
|
-
* @date 2023-07-13 21:07:51
|
|
21
|
-
* @type {number}
|
|
22
|
-
*/
|
|
23
|
-
__publicField(this, "timeout");
|
|
24
|
-
/**
|
|
25
|
-
* 是否已经有打开的视图认领此回调,如果在一定时间内没有被认领,则会被清除
|
|
26
|
-
*
|
|
27
|
-
* @author chitanda
|
|
28
|
-
* @date 2023-07-13 21:07:35
|
|
29
|
-
*/
|
|
30
|
-
__publicField(this, "isActivated", false);
|
|
31
|
-
ibiz.log.debug("openRouter: ", from, to);
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* 等待视图关闭
|
|
35
|
-
*
|
|
36
|
-
* @author chitanda
|
|
37
|
-
* @date 2023-07-13 21:07:34
|
|
38
|
-
* @return {*} {Promise<IModalData>}
|
|
39
|
-
*/
|
|
40
|
-
onWillDismiss() {
|
|
41
|
-
if (!this.promise) {
|
|
42
|
-
this.promise = new Promise((resolve) => {
|
|
43
|
-
this.resolve = resolve;
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
return this.promise.then((modal) => {
|
|
47
|
-
ibiz.log.debug("onWillDismiss: ", this.from, this.to, modal);
|
|
48
|
-
return modal;
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* 关闭视图
|
|
53
|
-
*
|
|
54
|
-
* @author chitanda
|
|
55
|
-
* @date 2023-07-13 21:07:06
|
|
56
|
-
* @param {IModalData} modal
|
|
57
|
-
*/
|
|
58
|
-
close(modal) {
|
|
59
|
-
ibiz.log.debug("closeRouter: ", this.from, this.to, modal);
|
|
60
|
-
if (this.resolve) {
|
|
61
|
-
this.resolve(modal);
|
|
62
|
-
this.resolve = void 0;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* 激活回调
|
|
67
|
-
*
|
|
68
|
-
* @author chitanda
|
|
69
|
-
* @date 2023-07-13 21:07:29
|
|
70
|
-
*/
|
|
71
|
-
active() {
|
|
72
|
-
ibiz.log.debug("activeRouter: ", this.from, this.to);
|
|
73
|
-
this.isActivated = true;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* 销毁回调
|
|
77
|
-
*
|
|
78
|
-
* @author chitanda
|
|
79
|
-
* @date 2023-07-13 21:07:21
|
|
80
|
-
*/
|
|
81
|
-
destroy() {
|
|
82
|
-
ibiz.log.debug("destroyRouter: ", this.from, this.to);
|
|
83
|
-
if (this.resolve) {
|
|
84
|
-
this.resolve({ ok: false });
|
|
85
|
-
this.resolve = void 0;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
exports.RouterCallbackItem = RouterCallbackItem;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var routerCallbackItem = require('./router-callback-item.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 RouterCallback {
|
|
13
|
-
constructor() {
|
|
14
|
-
/**
|
|
15
|
-
* 回调实例
|
|
16
|
-
*
|
|
17
|
-
* @author chitanda
|
|
18
|
-
* @date 2023-07-13 20:07:12
|
|
19
|
-
* @protected
|
|
20
|
-
* @type {Map<string, RouterCallbackItem>}
|
|
21
|
-
*/
|
|
22
|
-
__publicField(this, "map", /* @__PURE__ */ new Map());
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 打开视图
|
|
26
|
-
*
|
|
27
|
-
* @author chitanda
|
|
28
|
-
* @date 2023-07-13 20:07:13
|
|
29
|
-
* @param {Router} router
|
|
30
|
-
* @param {string} path
|
|
31
|
-
* @return {*} {Promise<IModalData>}
|
|
32
|
-
*/
|
|
33
|
-
async open(router, path) {
|
|
34
|
-
const from = router.currentRoute.value.fullPath;
|
|
35
|
-
router.push({ path });
|
|
36
|
-
const to = path;
|
|
37
|
-
if (this.map.has(to)) {
|
|
38
|
-
const item2 = this.map.get(to);
|
|
39
|
-
return item2.onWillDismiss();
|
|
40
|
-
}
|
|
41
|
-
const item = new routerCallbackItem.RouterCallbackItem(from, to);
|
|
42
|
-
this.map.set(to, item);
|
|
43
|
-
this.scheduledDestruction(item);
|
|
44
|
-
return item.onWillDismiss();
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* 关闭视图回调
|
|
48
|
-
*
|
|
49
|
-
* @author chitanda
|
|
50
|
-
* @date 2023-07-13 20:07:38
|
|
51
|
-
* @param {string} toFullPath
|
|
52
|
-
* @param {IModalData} modal
|
|
53
|
-
*/
|
|
54
|
-
close(toFullPath, modal) {
|
|
55
|
-
const item = this.map.get(toFullPath);
|
|
56
|
-
if (item) {
|
|
57
|
-
item.close(modal);
|
|
58
|
-
this.map.delete(toFullPath);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* 激活回调
|
|
63
|
-
*
|
|
64
|
-
* @author chitanda
|
|
65
|
-
* @date 2023-07-13 21:07:03
|
|
66
|
-
* @param {string} toFullPath
|
|
67
|
-
*/
|
|
68
|
-
active(toFullPath) {
|
|
69
|
-
const item = this.map.get(toFullPath);
|
|
70
|
-
if (item) {
|
|
71
|
-
window.clearTimeout(item.timeout);
|
|
72
|
-
item.timeout = void 0;
|
|
73
|
-
item.active();
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* 一分钟内未激活的视图回调会被清除
|
|
78
|
-
*
|
|
79
|
-
* @author chitanda
|
|
80
|
-
* @date 2023-07-13 21:07:57
|
|
81
|
-
* @protected
|
|
82
|
-
* @param {RouterCallbackItem} item
|
|
83
|
-
*/
|
|
84
|
-
scheduledDestruction(item) {
|
|
85
|
-
item.timeout = window.setTimeout(() => {
|
|
86
|
-
item.timeout = void 0;
|
|
87
|
-
item.destroy();
|
|
88
|
-
this.map.delete(item.to);
|
|
89
|
-
}, 10 * 1e3);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
const routerCallback = new RouterCallback();
|
|
93
|
-
|
|
94
|
-
exports.RouterCallback = RouterCallback;
|
|
95
|
-
exports.routerCallback = routerCallback;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var pinia = require('pinia');
|
|
4
|
-
var vue = require('vue');
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
const useAppStore = pinia.defineStore("appStore", () => {
|
|
8
|
-
const appStore = vue.reactive({});
|
|
9
|
-
return { appStore };
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
exports.useAppStore = useAppStore;
|
package/lib/util/store/index.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var pinia = require('pinia');
|
|
4
|
-
var appStore = require('./app-store/app-store.cjs');
|
|
5
|
-
var uiStore = require('./ui-store/ui-store.cjs');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const piniaInstance = pinia.createPinia();
|
|
9
|
-
|
|
10
|
-
exports.useAppStore = appStore.useAppStore;
|
|
11
|
-
exports.useUIStore = uiStore.useUIStore;
|
|
12
|
-
exports.piniaInstance = piniaInstance;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var pinia = require('pinia');
|
|
4
|
-
var vue = require('vue');
|
|
5
|
-
var zIndex = require('./z-index.cjs');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const useUIStore = pinia.defineStore("uiStore", () => {
|
|
9
|
-
const zIndex$1 = zIndex.useZIndexStore();
|
|
10
|
-
const UIStore = vue.reactive({
|
|
11
|
-
zIndex: zIndex$1.zIndex,
|
|
12
|
-
theme: "light"
|
|
13
|
-
});
|
|
14
|
-
return { UIStore, zIndex: zIndex$1 };
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
exports.useUIStore = useUIStore;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
function useZIndexStore() {
|
|
7
|
-
const DEFAULT_INDEX = 500;
|
|
8
|
-
const INCREMENT_VALUE = 1;
|
|
9
|
-
const zIndex = vue.ref(DEFAULT_INDEX);
|
|
10
|
-
function increment() {
|
|
11
|
-
zIndex.value += INCREMENT_VALUE;
|
|
12
|
-
return zIndex.value;
|
|
13
|
-
}
|
|
14
|
-
function decrement() {
|
|
15
|
-
zIndex.value -= INCREMENT_VALUE;
|
|
16
|
-
}
|
|
17
|
-
return { zIndex, increment, decrement };
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
exports.useZIndexStore = useZIndexStore;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var core = require('@ibiz-template/core');
|
|
5
|
-
var runtime = require('@ibiz-template/runtime');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const AppRedirectView = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
-
setup() {
|
|
10
|
-
var _a;
|
|
11
|
-
const context = core.IBizContext.create(((_a = ibiz.appData) == null ? void 0 : _a.context) || {});
|
|
12
|
-
vue.onUnmounted(() => {
|
|
13
|
-
context.destroy();
|
|
14
|
-
});
|
|
15
|
-
const {
|
|
16
|
-
href
|
|
17
|
-
} = window.location;
|
|
18
|
-
async function toRedirect() {
|
|
19
|
-
await runtime.toLocalOpenWFRedirectView(context, href);
|
|
20
|
-
}
|
|
21
|
-
vue.onMounted(() => ibiz.util.hiddenAppLoading());
|
|
22
|
-
toRedirect();
|
|
23
|
-
},
|
|
24
|
-
render() {
|
|
25
|
-
return vue.createVNode("div", null, [vue.createTextVNode("\u91CD\u5B9A\u5411\u8DF3\u8F6C\u4E2D")]);
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
exports.AppRedirectView = AppRedirectView;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
4
|
-
var runtime = require('@ibiz-template/runtime');
|
|
5
|
-
var view_provider = require('./view.provider.cjs');
|
|
6
|
-
var view = require('./view.cjs');
|
|
7
|
-
var index = require('../../view-engine/index.cjs');
|
|
8
|
-
|
|
9
|
-
"use strict";
|
|
10
|
-
const IBizView = vue3Util.withInstall(view.View, function(v) {
|
|
11
|
-
v.use(index.IBizViewEngine);
|
|
12
|
-
v.component(view.View.name, view.View);
|
|
13
|
-
runtime.registerViewProvider("DEFAULT", () => new view_provider.ViewProvider());
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
exports.ViewProvider = view_provider.ViewProvider;
|
|
17
|
-
exports.IBizView = IBizView;
|
package/lib/view/common/view.cjs
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var runtime = require('@ibiz-template/runtime');
|
|
5
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
-
require('./view.css');
|
|
7
|
-
var qxUtil = require('qx-util');
|
|
8
|
-
var index = require('../../devtool/index.cjs');
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
const View = /* @__PURE__ */ vue.defineComponent({
|
|
12
|
-
name: "IBizView",
|
|
13
|
-
props: {
|
|
14
|
-
context: Object,
|
|
15
|
-
params: {
|
|
16
|
-
type: Object,
|
|
17
|
-
default: () => ({})
|
|
18
|
-
},
|
|
19
|
-
modelData: {
|
|
20
|
-
type: Object,
|
|
21
|
-
required: true
|
|
22
|
-
},
|
|
23
|
-
modal: {
|
|
24
|
-
type: Object
|
|
25
|
-
},
|
|
26
|
-
state: {
|
|
27
|
-
type: Object
|
|
28
|
-
},
|
|
29
|
-
provider: {
|
|
30
|
-
type: Object
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
setup() {
|
|
34
|
-
const ns = vue3Util.useNamespace("view");
|
|
35
|
-
const c = vue3Util.useViewController((...args) => new runtime.ViewController(...args));
|
|
36
|
-
const controls = runtime.getControlsByView(c.model);
|
|
37
|
-
const {
|
|
38
|
-
viewType,
|
|
39
|
-
sysCss,
|
|
40
|
-
codeName
|
|
41
|
-
} = c.model;
|
|
42
|
-
const typeClass = viewType.toLowerCase();
|
|
43
|
-
const sysCssName = sysCss == null ? void 0 : sysCss.cssName;
|
|
44
|
-
const viewClassNames = vue.computed(() => [ns.b(), ns.b(typeClass), ns.m(codeName), sysCssName, c.state.viewMessages.TOP ? "has-top-message" : "", c.state.viewMessages.BOTTOM ? "has-bottom-message" : ""]);
|
|
45
|
-
const onLayoutPanelCreated = (controller) => {
|
|
46
|
-
c.setLayoutPanel(controller);
|
|
47
|
-
};
|
|
48
|
-
const container = vue.ref(null);
|
|
49
|
-
const key = qxUtil.createUUID();
|
|
50
|
-
vue.onMounted(() => {
|
|
51
|
-
index.devtool.registerView(key, c, container);
|
|
52
|
-
});
|
|
53
|
-
vue.onUnmounted(() => {
|
|
54
|
-
index.devtool.unRegisterView(key);
|
|
55
|
-
});
|
|
56
|
-
vue.onActivated(() => c.onActivated());
|
|
57
|
-
vue.onDeactivated(() => c.onDeactivated());
|
|
58
|
-
const renderViewMessage = (position) => {
|
|
59
|
-
if (c.state.isCreated) {
|
|
60
|
-
const viewMessages = c.state.viewMessages[position];
|
|
61
|
-
if (viewMessages == null ? void 0 : viewMessages.length) {
|
|
62
|
-
return vue.createVNode(vue.resolveComponent("view-message"), {
|
|
63
|
-
"class": [ns.e(`${position.toLowerCase()}-message`)],
|
|
64
|
-
"messages": viewMessages
|
|
65
|
-
}, null);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
return null;
|
|
69
|
-
};
|
|
70
|
-
return {
|
|
71
|
-
c,
|
|
72
|
-
controls,
|
|
73
|
-
viewClassNames,
|
|
74
|
-
container,
|
|
75
|
-
onLayoutPanelCreated,
|
|
76
|
-
renderViewMessage
|
|
77
|
-
};
|
|
78
|
-
},
|
|
79
|
-
render() {
|
|
80
|
-
var _a;
|
|
81
|
-
let layoutPanel = null;
|
|
82
|
-
if (this.c.state.isCreated) {
|
|
83
|
-
const slots = {
|
|
84
|
-
...this.$slots
|
|
85
|
-
};
|
|
86
|
-
if ((_a = this.controls) == null ? void 0 : _a.length) {
|
|
87
|
-
this.controls.forEach((ctrl) => {
|
|
88
|
-
const slotKey = ctrl.name || ctrl.id;
|
|
89
|
-
const ctrlProps = {
|
|
90
|
-
context: this.c.context,
|
|
91
|
-
params: this.c.params
|
|
92
|
-
};
|
|
93
|
-
if (this.c.slotProps[slotKey]) {
|
|
94
|
-
Object.assign(ctrlProps, this.c.slotProps[slotKey]);
|
|
95
|
-
}
|
|
96
|
-
const outCtrlSlot = slots[slotKey];
|
|
97
|
-
if (outCtrlSlot) {
|
|
98
|
-
slots[slotKey] = () => {
|
|
99
|
-
return outCtrlSlot(ctrlProps);
|
|
100
|
-
};
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
const provider = this.c.providers[slotKey];
|
|
104
|
-
if (provider) {
|
|
105
|
-
slots[slotKey] = () => {
|
|
106
|
-
const comp = vue.resolveComponent(provider.component);
|
|
107
|
-
return vue.h(comp, {
|
|
108
|
-
modelData: ctrl,
|
|
109
|
-
...ctrlProps,
|
|
110
|
-
provider
|
|
111
|
-
});
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
if (this.c.engines.length === 0) {
|
|
117
|
-
layoutPanel = vue.createVNode("span", {
|
|
118
|
-
"style": "color:red;"
|
|
119
|
-
}, [vue.createTextVNode("\u89C6\u56FE\u7C7B\u578B"), this.modelData.viewType, vue.createTextVNode("\u6682\u672A\u652F\u6301")]);
|
|
120
|
-
} else {
|
|
121
|
-
const viewLayoutPanel = this.c.model.viewLayoutPanel;
|
|
122
|
-
const provider = this.c.providers[viewLayoutPanel.name];
|
|
123
|
-
layoutPanel = vue.h(vue.resolveComponent(provider.component), {
|
|
124
|
-
modelData: viewLayoutPanel,
|
|
125
|
-
context: this.c.context,
|
|
126
|
-
params: this.c.params,
|
|
127
|
-
provider,
|
|
128
|
-
onControllerAppear: this.onLayoutPanelCreated
|
|
129
|
-
}, slots);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
return vue.withDirectives(vue.createVNode("div", {
|
|
133
|
-
"ref": "container",
|
|
134
|
-
"class": this.viewClassNames
|
|
135
|
-
}, [this.renderViewMessage("TOP"), layoutPanel, this.renderViewMessage("BOTTOM")]), [[vue.resolveDirective("loading"), this.c.state.isLoading]]);
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
exports.View = View;
|
package/lib/view/common/view.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-view{--ibiz-view-bg-color:var(--ibiz-color-bg-1);--ibiz-view-border-radius:var(--ibiz-border-radius-medium);width:100%;height:100%}.ibiz-view .ibiz-view{background-color:var(--ibiz-view-bg-color);border-radius:var(--ibiz-view-border-radius)}.ibiz-view .ibiz-view-appportalview{background-color:transparent}.ibiz-view.has-bottom-message,.ibiz-view.has-top-message{display:flex;flex-flow:column nowrap}.ibiz-view.has-bottom-message>.ibiz-view-message,.ibiz-view.has-top-message>.ibiz-view-message{flex-grow:0;flex-shrink:0}.ibiz-view.has-bottom-message>.ibiz-control-viewlayoutpanel,.ibiz-view.has-top-message>.ibiz-control-viewlayoutpanel{flex-grow:1;flex-shrink:1}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __publicField = (obj, key, value) => {
|
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
-
return value;
|
|
9
|
-
};
|
|
10
|
-
class ViewProvider {
|
|
11
|
-
constructor() {
|
|
12
|
-
__publicField(this, "component", "IBizView");
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
exports.ViewProvider = ViewProvider;
|