@ibiz-template/vue3-components 0.7.38-alpha.12 → 0.7.38-alpha.31
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-BZ8j-yda.js +1 -0
- package/dist/{index-B_Fo_3Rt.js → index-CnCC-cC2.js} +1 -1
- package/dist/index-Q4QqDXYJ.js +4 -0
- package/dist/{index-BvI3oZGL.js → index-X3QXftIl.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/wang-editor-Btv6GIhJ.js +1 -0
- package/dist/{xlsx-util-XDKOLzzW.js → xlsx-util-DbA3TyD9.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.css +1 -1
- package/es/common/action-toolbar/action-toolbar.mjs +6 -3
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.css +1 -1
- package/es/common/control-navigation/control-navigation.css +1 -0
- package/es/common/control-navigation/control-navigation.d.ts +32 -0
- package/es/common/control-navigation/control-navigation.mjs +116 -0
- package/es/common/control-navigation/provider/calendar-navigation.provider.d.ts +17 -0
- package/es/common/control-navigation/provider/calendar-navigation.provider.mjs +55 -0
- package/es/common/control-navigation/provider/index.d.ts +10 -0
- package/es/common/control-navigation/provider/index.mjs +17 -0
- package/es/common/control-navigation/provider/navigation-base.provider.d.ts +84 -0
- package/es/common/control-navigation/provider/navigation-base.provider.mjs +142 -0
- package/es/common/control-navigation/provider/tree-navigation.provider.d.ts +30 -0
- package/es/common/control-navigation/provider/tree-navigation.provider.mjs +81 -0
- package/es/common/custom-filter-condition/custom-filter-condition.d.ts +2 -0
- package/es/common/custom-theme/custom-theme-model.mjs +5 -13
- package/es/common/data-import2/data-import2.mjs +1 -1
- package/es/common/gantt-setting/gantt-setting.css +1 -0
- package/es/common/gantt-setting/gantt-setting.d.ts +63 -0
- package/es/common/gantt-setting/gantt-setting.mjs +237 -0
- package/es/common/grid-setting/grid-setting.css +1 -1
- package/es/common/grid-setting/grid-setting.d.ts +3 -1
- package/es/common/grid-setting/grid-setting.mjs +21 -5
- package/es/common/index.mjs +6 -0
- package/es/common/nav-split/nav-split.css +1 -0
- package/es/common/nav-split/nav-split.d.ts +57 -0
- package/es/common/nav-split/nav-split.mjs +209 -0
- package/es/common/pql-editor/utils/index.mjs +30 -40
- package/es/common/split/split.css +1 -1
- package/es/common/view-message/view-message.d.ts +2 -0
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.d.ts +3 -0
- package/es/control/app-menu/app-menu.mjs +62 -22
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +12 -3
- package/es/control/app-menu/index.d.ts +3 -0
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.d.ts +12 -1
- package/es/control/calendar/calendar.mjs +42 -10
- package/es/control/calendar/index.d.ts +12 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +54 -0
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +10 -3
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +2 -1
- package/es/control/dashboard/dashboard.mjs +13 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.css +1 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.mjs +9 -4
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.d.ts +1 -0
- package/es/control/data-view/data-view.mjs +21 -3
- package/es/control/data-view/index.d.ts +1 -0
- package/es/control/drbar/drbar.controller.mjs +2 -2
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.controller.d.ts +28 -8
- package/es/control/drtab/drtab.controller.mjs +62 -11
- package/es/control/drtab/drtab.css +1 -1
- package/es/control/drtab/drtab.d.ts +3 -1
- package/es/control/drtab/drtab.mjs +68 -9
- package/es/control/drtab/index.d.ts +3 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +1 -1
- package/es/control/form/form-detail/form-item/form-item.d.ts +1 -0
- package/es/control/form/form-detail/form-item/form-item.mjs +21 -2
- package/es/control/form/form-detail/form-item/index.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +104 -0
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +1 -1
- package/es/control/form/search-form/index.d.ts +9 -0
- package/es/control/form/search-form/search-form.d.ts +9 -0
- package/es/control/form/search-form/search-form.mjs +4 -0
- package/es/control/gantt/gantt.css +1 -1
- package/es/control/gantt/gantt.d.ts +3 -4
- package/es/control/gantt/gantt.mjs +158 -52
- package/es/control/gantt/index.d.ts +3 -4
- package/es/control/grid/grid/grid-control.util.d.ts +2 -0
- package/es/control/grid/grid/grid-control.util.mjs +40 -4
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.mjs +86 -73
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +1 -0
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +21 -1
- package/es/control/grid/grid-column/grid-field-column/index.d.ts +1 -0
- package/es/control/list/index.d.ts +1 -0
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.d.ts +1 -0
- package/es/control/list/list.mjs +23 -5
- package/es/control/map/map.d.ts +9 -0
- package/es/control/map/map.mjs +4 -0
- package/es/control/search-bar/search-groups/search-groups.mjs +2 -2
- package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/es/control/toolbar/toolbar.mjs +3 -0
- package/es/control/tree/el-tree-util.d.ts +39 -1
- package/es/control/tree/el-tree-util.mjs +70 -2
- package/es/control/tree/index.d.ts +16 -14
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.d.ts +16 -14
- package/es/control/tree/tree.mjs +60 -31
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +17 -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 +3 -8
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.mjs +22 -23
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +1 -0
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +3 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +8 -2
- package/es/editor/html/wang-editor/wang-editor.mjs +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +1 -1
- package/es/editor/span/span/span.mjs +7 -1
- package/es/editor/span/span-editor.controller.d.ts +7 -0
- package/es/editor/span/span-editor.controller.mjs +10 -0
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +24 -6
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/text-box/input/input.mjs +32 -5
- package/es/editor/text-box/text-box-editor.controller.d.ts +7 -0
- package/es/editor/text-box/text-box-editor.controller.mjs +10 -0
- package/es/editor/upload/use/use-iview-upload.mjs +1 -1
- package/es/locale/en/index.d.ts +33 -0
- package/es/locale/en/index.mjs +27 -2
- package/es/locale/zh-CN/index.d.ts +33 -0
- package/es/locale/zh-CN/index.mjs +27 -2
- package/es/panel-component/auth-sso/auth-sso.css +1 -0
- package/es/panel-component/auth-sso/auth-sso.d.ts +26 -0
- package/es/panel-component/auth-sso/auth-sso.mjs +100 -0
- package/es/panel-component/auth-sso/auth-sso.provider.d.ts +6 -0
- package/es/panel-component/auth-sso/auth-sso.provider.mjs +21 -0
- package/es/panel-component/auth-sso/index.d.ts +23 -0
- package/es/panel-component/auth-sso/index.mjs +12 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/es/panel-component/coop-pos/coop-pos.controller.d.ts +46 -1
- package/es/panel-component/coop-pos/coop-pos.controller.mjs +92 -1
- package/es/panel-component/coop-pos/coop-pos.css +1 -1
- package/es/panel-component/coop-pos/coop-pos.d.ts +4 -1
- package/es/panel-component/coop-pos/coop-pos.mjs +23 -3
- package/es/panel-component/coop-pos/index.d.ts +3 -0
- package/es/panel-component/index-actions/index-actions.css +1 -1
- package/es/panel-component/index.mjs +4 -1
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +8 -31
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.d.ts +1 -1
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.mjs +1 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +7 -2
- package/es/panel-component/nav-tabs/nav-tabs.controller.d.ts +1 -1
- package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +3 -3
- package/es/panel-component/panel-app-title/index.mjs +4 -0
- package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +8 -0
- package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/es/panel-component/panel-app-title/panel-app-title.mjs +112 -108
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +2 -1
- package/es/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +1 -1
- package/es/util/app-popover/app-popover-component.mjs +1 -1
- package/es/util/fullscreen/fullscreen-util.mjs +2 -2
- package/es/util/notification-util/notification-util.d.ts +10 -1
- package/es/util/notification-util/notification-util.mjs +36 -0
- package/es/util/notification-util/upload-manager/file-type.d.ts +8 -0
- package/es/util/notification-util/upload-manager/file-type.mjs +207 -0
- package/es/util/notification-util/upload-manager/upload-manager.css +1 -0
- package/es/util/notification-util/upload-manager/upload-manager.d.ts +64 -0
- package/es/util/notification-util/upload-manager/upload-manager.mjs +159 -0
- package/es/util/pagination/use-pagination.mjs +5 -4
- package/es/view/login-view/login-view.mjs +18 -0
- package/es/view-engine/edit-view.engine.mjs +14 -0
- package/es/view-engine/login-view.engine.mjs +1 -0
- package/es/view-engine/opt-view.engine.d.ts +1 -0
- package/es/view-engine/opt-view.engine.mjs +41 -1
- package/es/view-engine/tab-exp-view.engine.d.ts +9 -0
- package/es/view-engine/tab-exp-view.engine.mjs +20 -1
- package/es/view-engine/tab-search-view.engine.d.ts +9 -1
- package/es/view-engine/tab-search-view.engine.mjs +52 -2
- package/es/web-app/attach-environment-config.mjs +5 -1
- package/es/web-app/guard/auth-guard/auth-guard.d.ts +21 -14
- package/es/web-app/guard/auth-guard/auth-guard.mjs +26 -19
- package/es/web-app/guard/auth-guard/dyna-auth-guard.d.ts +1 -1
- package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +2 -1
- package/es/web-app/main.mjs +3 -1
- package/es/web-app/router/index.d.ts +3 -2
- package/es/web-app/router/index.mjs +15 -4
- package/lib/common/action-toolbar/action-toolbar.cjs +6 -3
- package/lib/common/action-toolbar/action-toolbar.css +1 -1
- package/lib/common/anchor-container/anchor-bar-list/anchor-bar-list.css +1 -1
- package/lib/common/control-navigation/control-navigation.cjs +118 -0
- package/lib/common/control-navigation/control-navigation.css +1 -0
- package/lib/common/control-navigation/provider/calendar-navigation.provider.cjs +57 -0
- package/lib/common/control-navigation/provider/index.cjs +19 -0
- package/lib/common/control-navigation/provider/navigation-base.provider.cjs +144 -0
- package/lib/common/control-navigation/provider/tree-navigation.provider.cjs +83 -0
- package/lib/common/custom-theme/custom-theme-model.cjs +5 -13
- package/lib/common/data-import2/data-import2.cjs +1 -1
- package/lib/common/gantt-setting/gantt-setting.cjs +239 -0
- package/lib/common/gantt-setting/gantt-setting.css +1 -0
- package/lib/common/grid-setting/grid-setting.cjs +21 -5
- package/lib/common/grid-setting/grid-setting.css +1 -1
- package/lib/common/index.cjs +6 -0
- package/lib/common/nav-split/nav-split.cjs +211 -0
- package/lib/common/nav-split/nav-split.css +1 -0
- package/lib/common/pql-editor/utils/index.cjs +30 -40
- package/lib/common/split/split.css +1 -1
- package/lib/control/app-menu/app-menu.cjs +60 -20
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +11 -2
- package/lib/control/calendar/calendar.cjs +42 -10
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +10 -3
- package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +2 -1
- package/lib/control/dashboard/dashboard.cjs +13 -1
- package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.cjs +9 -4
- package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.css +1 -1
- package/lib/control/data-view/data-view.cjs +21 -3
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.controller.cjs +2 -2
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/drtab/drtab.cjs +67 -8
- package/lib/control/drtab/drtab.controller.cjs +62 -11
- package/lib/control/drtab/drtab.css +1 -1
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +1 -1
- package/lib/control/form/form-detail/form-item/form-item.cjs +20 -1
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +1 -1
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/lib/control/form/search-form/search-form.cjs +4 -0
- package/lib/control/gantt/gantt.cjs +156 -50
- package/lib/control/gantt/gantt.css +1 -1
- package/lib/control/grid/grid/grid-control.util.cjs +39 -3
- package/lib/control/grid/grid/grid.cjs +86 -73
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +21 -1
- package/lib/control/list/list.cjs +23 -5
- package/lib/control/list/list.css +1 -1
- package/lib/control/map/map.cjs +4 -0
- package/lib/control/search-bar/search-groups/search-groups.cjs +2 -2
- package/lib/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/lib/control/toolbar/toolbar.cjs +3 -0
- package/lib/control/tree/el-tree-util.cjs +70 -0
- package/lib/control/tree/tree.cjs +58 -29
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.cjs +17 -1
- package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.cjs +21 -22
- 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 +1 -0
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +3 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +8 -2
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +1 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +1 -1
- package/lib/editor/span/span/span.cjs +7 -1
- package/lib/editor/span/span-editor.controller.cjs +10 -0
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +24 -6
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/lib/editor/text-box/input/input.cjs +32 -5
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/text-box/text-box-editor.controller.cjs +10 -0
- package/lib/editor/upload/use/use-iview-upload.cjs +1 -1
- package/lib/locale/en/index.cjs +27 -2
- package/lib/locale/zh-CN/index.cjs +27 -2
- package/lib/panel-component/auth-sso/auth-sso.cjs +102 -0
- package/lib/panel-component/auth-sso/auth-sso.css +1 -0
- package/lib/panel-component/auth-sso/auth-sso.provider.cjs +23 -0
- package/lib/panel-component/auth-sso/index.cjs +17 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/lib/panel-component/coop-pos/coop-pos.cjs +22 -2
- package/lib/panel-component/coop-pos/coop-pos.controller.cjs +91 -0
- package/lib/panel-component/coop-pos/coop-pos.css +1 -1
- package/lib/panel-component/index-actions/index-actions.css +1 -1
- package/lib/panel-component/index.cjs +39 -36
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +7 -30
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.service.cjs +1 -1
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +7 -2
- package/lib/panel-component/nav-tabs/nav-tabs.controller.cjs +3 -3
- package/lib/panel-component/panel-app-title/index.cjs +4 -0
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +112 -108
- package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +8 -0
- package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +2 -1
- package/lib/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +1 -1
- package/lib/util/app-popover/app-popover-component.cjs +1 -1
- package/lib/util/fullscreen/fullscreen-util.cjs +2 -2
- package/lib/util/notification-util/notification-util.cjs +36 -0
- package/lib/util/notification-util/upload-manager/file-type.cjs +209 -0
- package/lib/util/notification-util/upload-manager/upload-manager.cjs +161 -0
- package/lib/util/notification-util/upload-manager/upload-manager.css +1 -0
- package/lib/util/pagination/use-pagination.cjs +5 -4
- package/lib/view/login-view/login-view.cjs +18 -0
- package/lib/view-engine/edit-view.engine.cjs +14 -0
- package/lib/view-engine/login-view.engine.cjs +1 -0
- package/lib/view-engine/opt-view.engine.cjs +40 -0
- package/lib/view-engine/tab-exp-view.engine.cjs +19 -0
- package/lib/view-engine/tab-search-view.engine.cjs +52 -2
- package/lib/web-app/attach-environment-config.cjs +5 -1
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +26 -19
- package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +2 -1
- package/lib/web-app/main.cjs +3 -1
- package/lib/web-app/router/index.cjs +15 -4
- package/package.json +11 -11
- package/dist/ibiz-markdown-editor-B4c6yGAW.js +0 -1
- package/dist/index-VQ3FT6ih.js +0 -4
- package/dist/wang-editor-BUIAd4uJ.js +0 -1
- /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.35-alpha.1_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.38-alpha.32_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
- /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.35-alpha.1_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.38-alpha.32_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
|
@@ -211,10 +211,15 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
211
211
|
});
|
|
212
212
|
});
|
|
213
213
|
view.evt.on("onActivated", () => {
|
|
214
|
-
|
|
214
|
+
const data = view.state.srfactiveviewdata;
|
|
215
|
+
const info = {
|
|
215
216
|
viewName: view.model.codeName,
|
|
216
217
|
caption: view.model.caption
|
|
217
|
-
}
|
|
218
|
+
};
|
|
219
|
+
if (data && data.srfkey) {
|
|
220
|
+
Object.assign(info, { dataInfo: data.srfmajortext || "" });
|
|
221
|
+
}
|
|
222
|
+
this.navBreadcrumb.updateViewInfo(key, info);
|
|
218
223
|
});
|
|
219
224
|
}
|
|
220
225
|
}
|
|
@@ -61,7 +61,7 @@ class NavTabsController extends runtime.PanelItemController {
|
|
|
61
61
|
const findItem = this.findTabItem(key);
|
|
62
62
|
if (findItem) {
|
|
63
63
|
Object.assign(findItem, ramda.reject(ramda.isNil, info));
|
|
64
|
-
this.refreshItemUI();
|
|
64
|
+
this.refreshItemUI(key);
|
|
65
65
|
} else {
|
|
66
66
|
this.state.tabItems.push({ key, ...info });
|
|
67
67
|
this.state.activeTab = this.state.currentKey;
|
|
@@ -126,7 +126,7 @@ class NavTabsController extends runtime.PanelItemController {
|
|
|
126
126
|
* @author tony001
|
|
127
127
|
* @date 2024-06-28 08:06:11
|
|
128
128
|
*/
|
|
129
|
-
refreshItemUI() {
|
|
129
|
+
refreshItemUI(key) {
|
|
130
130
|
const tempItem = {
|
|
131
131
|
key: "exampleItem",
|
|
132
132
|
caption: ""
|
|
@@ -135,7 +135,7 @@ class NavTabsController extends runtime.PanelItemController {
|
|
|
135
135
|
this.state.activeTab = tempItem.key;
|
|
136
136
|
vue.nextTick(() => {
|
|
137
137
|
this.state.tabItems.pop();
|
|
138
|
-
this.state.activeTab =
|
|
138
|
+
this.state.activeTab = key;
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -15,6 +15,10 @@ const IBizPanelAppTitle = vue3Util.withInstall(panelAppTitle.PanelAppTitle, func
|
|
|
15
15
|
"RAWITEM_APP_APPTITLE",
|
|
16
16
|
() => new panelAppTitle_provider.PanelAppTitleProvider()
|
|
17
17
|
);
|
|
18
|
+
runtime.registerPanelItemProvider(
|
|
19
|
+
"CTRLPOS_APP_APPTITLE",
|
|
20
|
+
() => new panelAppTitle_provider.PanelAppTitleProvider()
|
|
21
|
+
);
|
|
18
22
|
});
|
|
19
23
|
|
|
20
24
|
exports.PanelAppTitleController = panelAppTitle_controller.PanelAppTitleController;
|
|
@@ -75,135 +75,139 @@ const PanelAppTitle = /* @__PURE__ */ vue.defineComponent({
|
|
|
75
75
|
subCaption2
|
|
76
76
|
} = this.c.state;
|
|
77
77
|
let iconVNode = null;
|
|
78
|
+
let content = null;
|
|
78
79
|
const captionNode = vue.createVNode("span", {
|
|
79
80
|
"class": this.ns.e("title")
|
|
80
81
|
}, [caption]);
|
|
81
|
-
if (this.
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
if (this.c.panel.view.model.viewType !== "APPINDEXVIEW") {
|
|
83
|
+
content = captionNode;
|
|
84
|
+
} else {
|
|
85
|
+
if (this.menuAlign === "LEFT") {
|
|
86
|
+
if (this.isCollapse) {
|
|
87
|
+
if (icon) {
|
|
88
|
+
let tempIcon = null;
|
|
89
|
+
if (isSvg) {
|
|
90
|
+
tempIcon = vue.createVNode("ion-icon", {
|
|
91
|
+
"class": this.ns.e("logo"),
|
|
92
|
+
"icon": icon
|
|
93
|
+
}, null);
|
|
94
|
+
} else {
|
|
95
|
+
tempIcon = vue.createVNode("span", {
|
|
96
|
+
"class": this.ns.e("logo")
|
|
97
|
+
}, [vue.createVNode("img", {
|
|
98
|
+
"src": icon
|
|
99
|
+
}, null)]);
|
|
100
|
+
}
|
|
101
|
+
iconVNode = vue.createVNode("div", {
|
|
102
|
+
"class": this.ns.e("collpase-icon")
|
|
103
|
+
}, [tempIcon]);
|
|
104
|
+
} else {
|
|
105
|
+
iconVNode = vue.createVNode("div", {
|
|
106
|
+
"class": this.ns.e("collapse-title")
|
|
107
|
+
}, [vue.createVNode("div", {
|
|
108
|
+
"class": this.ns.e("caption2")
|
|
109
|
+
}, [caption2]), vue.createVNode("div", {
|
|
110
|
+
"class": this.ns.e("subCaption2")
|
|
111
|
+
}, [subCaption2])]);
|
|
112
|
+
}
|
|
113
|
+
} else if (this.c.rawItemParams.showexpandicon === "true" && icon) {
|
|
84
114
|
let tempIcon = null;
|
|
85
115
|
if (isSvg) {
|
|
86
116
|
tempIcon = vue.createVNode("ion-icon", {
|
|
87
|
-
"class": this.ns.
|
|
117
|
+
"class": this.ns.em("logo", "expand"),
|
|
88
118
|
"icon": icon
|
|
89
119
|
}, null);
|
|
90
120
|
} else {
|
|
91
121
|
tempIcon = vue.createVNode("span", {
|
|
92
|
-
"class": this.ns.
|
|
122
|
+
"class": this.ns.em("logo", "expand")
|
|
93
123
|
}, [vue.createVNode("img", {
|
|
94
124
|
"src": icon
|
|
95
125
|
}, null)]);
|
|
96
126
|
}
|
|
97
|
-
iconVNode = vue.createVNode("
|
|
98
|
-
"class": this.ns.e("
|
|
99
|
-
}, [tempIcon
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"width": "166px",
|
|
127
|
-
"height": "90px",
|
|
128
|
-
"viewBox": "0 0 166 90",
|
|
129
|
-
"version": "1.1"
|
|
130
|
-
}, [vue.createVNode("g", {
|
|
131
|
-
"id": "app-caption-panel",
|
|
132
|
-
"stroke": "none",
|
|
133
|
-
"stroke-width": "1",
|
|
134
|
-
"fill-rule": "evenodd"
|
|
135
|
-
}, [vue.createVNode("text", {
|
|
136
|
-
"id": "app-caption",
|
|
137
|
-
"font-family": "Poppins-Bold, Poppins",
|
|
138
|
-
"font-size": "22",
|
|
139
|
-
"font-weight": "bold"
|
|
140
|
-
}, [vue.createVNode("tspan", {
|
|
141
|
-
"x": "8",
|
|
142
|
-
"y": "39"
|
|
143
|
-
}, [caption])]), vue.createVNode("text", {
|
|
144
|
-
"id": "app-subcaption",
|
|
145
|
-
"font-family": "PingFangSC-Semibold, PingFang SC",
|
|
146
|
-
"font-size": "14",
|
|
147
|
-
"font-weight": "bold"
|
|
148
|
-
}, [vue.createVNode("tspan", {
|
|
149
|
-
"x": "8",
|
|
150
|
-
"y": "66"
|
|
151
|
-
}, [subCaption])])])])]);
|
|
152
|
-
} else {
|
|
153
|
-
iconVNode = vue.createVNode("span", {
|
|
154
|
-
"class": this.ns.e("logo")
|
|
155
|
-
}, [vue.createVNode("svg", {
|
|
156
|
-
"width": "256px",
|
|
157
|
-
"height": "90px",
|
|
158
|
-
"viewBox": "0 0 256 90",
|
|
159
|
-
"version": "1.1"
|
|
160
|
-
}, [vue.createVNode("g", {
|
|
161
|
-
"id": "app-caption-panel",
|
|
162
|
-
"stroke": "none",
|
|
163
|
-
"stroke-width": "1",
|
|
164
|
-
"fill-rule": "evenodd"
|
|
165
|
-
}, [vue.createVNode("text", {
|
|
166
|
-
"id": "app-caption",
|
|
167
|
-
"font-family": "Poppins-Bold, Poppins",
|
|
168
|
-
"font-size": "22",
|
|
169
|
-
"font-weight": "bold"
|
|
170
|
-
}, [vue.createVNode("tspan", {
|
|
171
|
-
"x": "20.961",
|
|
172
|
-
"y": "39"
|
|
173
|
-
}, [caption])]), vue.createVNode("text", {
|
|
174
|
-
"id": "app-subcaption",
|
|
175
|
-
"font-family": "PingFangSC-Semibold, PingFang SC",
|
|
176
|
-
"font-size": "18",
|
|
177
|
-
"font-weight": "bold"
|
|
178
|
-
}, [vue.createVNode("tspan", {
|
|
179
|
-
"x": "96",
|
|
180
|
-
"y": "73"
|
|
181
|
-
}, [subCaption])])])])]);
|
|
182
|
-
}
|
|
183
|
-
} else if (this.menuAlign === "TOP") {
|
|
184
|
-
if (icon) {
|
|
185
|
-
if (isSvg) {
|
|
186
|
-
iconVNode = vue.createVNode("ion-icon", {
|
|
187
|
-
"class": this.ns.e("logo"),
|
|
188
|
-
"icon": icon
|
|
189
|
-
}, null);
|
|
127
|
+
iconVNode = vue.createVNode("span", {
|
|
128
|
+
"class": this.ns.e("logo")
|
|
129
|
+
}, [tempIcon, vue.createVNode("svg", {
|
|
130
|
+
"width": "166px",
|
|
131
|
+
"height": "80px",
|
|
132
|
+
"viewBox": "0 0 166 90",
|
|
133
|
+
"version": "1.1"
|
|
134
|
+
}, [vue.createVNode("g", {
|
|
135
|
+
"id": "app-caption-panel",
|
|
136
|
+
"stroke": "none",
|
|
137
|
+
"stroke-width": "1",
|
|
138
|
+
"fill-rule": "evenodd"
|
|
139
|
+
}, [vue.createVNode("text", {
|
|
140
|
+
"id": "app-caption",
|
|
141
|
+
"font-family": "Poppins-Bold, Poppins",
|
|
142
|
+
"font-size": "22",
|
|
143
|
+
"font-weight": "bold"
|
|
144
|
+
}, [vue.createVNode("tspan", {
|
|
145
|
+
"x": "8",
|
|
146
|
+
"y": "39"
|
|
147
|
+
}, [caption])]), vue.createVNode("text", {
|
|
148
|
+
"id": "app-subcaption",
|
|
149
|
+
"font-family": "PingFangSC-Semibold, PingFang SC",
|
|
150
|
+
"font-size": "14",
|
|
151
|
+
"font-weight": "bold"
|
|
152
|
+
}, [vue.createVNode("tspan", {
|
|
153
|
+
"x": "8",
|
|
154
|
+
"y": "66"
|
|
155
|
+
}, [subCaption])])])])]);
|
|
190
156
|
} else {
|
|
191
157
|
iconVNode = vue.createVNode("span", {
|
|
192
158
|
"class": this.ns.e("logo")
|
|
193
|
-
}, [vue.createVNode("
|
|
194
|
-
"
|
|
195
|
-
|
|
159
|
+
}, [vue.createVNode("svg", {
|
|
160
|
+
"width": "256px",
|
|
161
|
+
"height": "80px",
|
|
162
|
+
"viewBox": "0 0 256 80",
|
|
163
|
+
"version": "1.1"
|
|
164
|
+
}, [vue.createVNode("g", {
|
|
165
|
+
"id": "app-caption-panel",
|
|
166
|
+
"stroke": "none",
|
|
167
|
+
"stroke-width": "1",
|
|
168
|
+
"fill-rule": "evenodd"
|
|
169
|
+
}, [vue.createVNode("text", {
|
|
170
|
+
"id": "app-caption",
|
|
171
|
+
"font-family": "Poppins-Bold, Poppins",
|
|
172
|
+
"font-size": "22",
|
|
173
|
+
"font-weight": "bold"
|
|
174
|
+
}, [vue.createVNode("tspan", {
|
|
175
|
+
"x": "20.961",
|
|
176
|
+
"y": "40"
|
|
177
|
+
}, [caption])]), vue.createVNode("text", {
|
|
178
|
+
"id": "app-subcaption",
|
|
179
|
+
"font-family": "PingFangSC-Semibold, PingFang SC",
|
|
180
|
+
"font-size": "18",
|
|
181
|
+
"font-weight": "bold"
|
|
182
|
+
}, [vue.createVNode("tspan", {
|
|
183
|
+
"x": "96",
|
|
184
|
+
"y": "69"
|
|
185
|
+
}, [subCaption])])])])]);
|
|
186
|
+
}
|
|
187
|
+
} else if (this.menuAlign === "TOP") {
|
|
188
|
+
if (icon) {
|
|
189
|
+
if (isSvg) {
|
|
190
|
+
iconVNode = vue.createVNode("ion-icon", {
|
|
191
|
+
"class": this.ns.e("logo"),
|
|
192
|
+
"icon": icon
|
|
193
|
+
}, null);
|
|
194
|
+
} else {
|
|
195
|
+
iconVNode = vue.createVNode("span", {
|
|
196
|
+
"class": this.ns.e("logo")
|
|
197
|
+
}, [vue.createVNode("img", {
|
|
198
|
+
"src": icon
|
|
199
|
+
}, null)]);
|
|
200
|
+
}
|
|
196
201
|
}
|
|
197
202
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
content = [iconVNode, captionNode];
|
|
203
|
+
if (this.menuAlign === "LEFT") {
|
|
204
|
+
content = iconVNode;
|
|
205
|
+
} else {
|
|
206
|
+
content = [iconVNode, captionNode];
|
|
207
|
+
}
|
|
204
208
|
}
|
|
205
209
|
return vue.createVNode("div", {
|
|
206
|
-
"class": [this.ns.b(), this.ns.is("only-img", this.showImgOnly), this.ns.is("collapse", this.isCollapse), ...this.controller.containerClass],
|
|
210
|
+
"class": [this.ns.b(), this.ns.is("only-img", this.showImgOnly), this.ns.is("collapse", this.isCollapse), this.ns.is("only-title", this.c.panel.view.model.viewType !== "APPINDEXVIEW"), ...this.controller.containerClass],
|
|
207
211
|
"onClick": this.handleClick
|
|
208
212
|
}, [content]);
|
|
209
213
|
}
|
|
@@ -40,6 +40,14 @@ class PanelAppTitleController extends runtime.PanelItemController {
|
|
|
40
40
|
async onInit() {
|
|
41
41
|
await super.onInit();
|
|
42
42
|
this.handleRawItemParams();
|
|
43
|
+
if (this.panel.view.model.viewType !== "APPINDEXVIEW") {
|
|
44
|
+
const viewModel = this.panel.view.model;
|
|
45
|
+
const app = ibiz.hub.getApp(viewModel.appId);
|
|
46
|
+
if (app) {
|
|
47
|
+
this.state.caption = app.model.caption || "";
|
|
48
|
+
}
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
43
51
|
const indexViewModel = this.panel.view.model;
|
|
44
52
|
if (indexViewModel.title) {
|
|
45
53
|
document.title = indexViewModel.title;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-app-title{--ibiz-panel-app-title-color:var(--ibiz-color-text-0);--ibiz-panel-app-title-font-size:var(--ibiz-font-size-header-3);--ibiz-panel-app-title-font-weight:var(--ibiz-font-weight-bold);--ibiz-panel-app-title-padding:0 var(--ibiz-spacing-base-tight);--ibiz-panel-app-title-collapse-padding:0 var(--ibiz-spacing-tight);display:flex;align-items:center;justify-content:center;height:100%;padding:var(--ibiz-panel-app-title-padding);cursor:pointer}.ibiz-panel-app-title__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-panel-app-title-font-size);font-weight:700;color:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo{display:flex;align-items:center;justify-content:center;height:100%;padding:0 var(--ibiz-spacing-tight);font-size:calc(var(--ibiz-font-size-header-1) + 8px)}.ibiz-panel-app-title__logo img{display:inline-block;width:auto;height:100%}.ibiz-panel-app-title__logo svg{fill:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo--expand{width:66px;height:66px}.ibiz-panel-app-title__logo--expand+svg{width:calc(100% - 66px)}.ibiz-panel-app-title.is-only-img .ibiz-panel-app-title__logo{padding:0}.ibiz-panel-app-title.is-collapse{max-width:100%;padding:var(--ibiz-panel-app-title-collapse-padding)}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__collapse-title{width:100%}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__collpase-icon img{width:100%;height:100%}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__caption2{overflow:hidden;font-size:var(--ibiz-font-size-header-4);font-weight:var(--ibiz-panel-app-title-font-weight);text-align:center;white-space:nowrap}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__subCaption2{overflow:hidden;font-size:var(--ibiz-font-size-header-5);text-align:center;white-space:nowrap}
|
|
1
|
+
.ibiz-panel-app-title{--ibiz-panel-app-title-color:var(--ibiz-color-text-0);--ibiz-panel-app-title-font-size:var(--ibiz-font-size-header-3);--ibiz-panel-app-title-font-weight:var(--ibiz-font-weight-bold);--ibiz-panel-app-title-padding:0 var(--ibiz-spacing-base-tight);--ibiz-panel-app-title-collapse-padding:0 var(--ibiz-spacing-tight);--ibiz-panel-app-title-not-index-height:60px;display:flex;align-items:center;justify-content:center;height:100%;padding:var(--ibiz-panel-app-title-padding);cursor:pointer}.ibiz-panel-app-title__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-panel-app-title-font-size);font-weight:700;color:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo{display:flex;align-items:center;justify-content:center;height:100%;padding:0 var(--ibiz-spacing-tight);font-size:calc(var(--ibiz-font-size-header-1) + 8px)}.ibiz-panel-app-title__logo img{display:inline-block;width:auto;height:100%}.ibiz-panel-app-title__logo svg{fill:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo--expand{width:66px;height:66px}.ibiz-panel-app-title__logo--expand+svg{width:calc(100% - 66px)}.ibiz-panel-app-title.is-only-img .ibiz-panel-app-title__logo{padding:0}.ibiz-panel-app-title.is-collapse{max-width:100%;padding:var(--ibiz-panel-app-title-collapse-padding)}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__collapse-title{width:100%}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__collpase-icon img{width:100%;height:100%}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__caption2{overflow:hidden;font-size:var(--ibiz-font-size-header-4);font-weight:var(--ibiz-panel-app-title-font-weight);text-align:center;white-space:nowrap}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__subCaption2{overflow:hidden;font-size:var(--ibiz-font-size-header-5);text-align:center;white-space:nowrap}.ibiz-panel-app-title.is-only-title{height:var(--ibiz-panel-app-title-not-index-height)}
|
|
@@ -56,7 +56,8 @@ class PanelButtonListController extends runtime.PanelItemController {
|
|
|
56
56
|
const buttonState = new runtime.UIActionButtonState(
|
|
57
57
|
detail.id,
|
|
58
58
|
this.model.appId,
|
|
59
|
-
detail.uiactionId
|
|
59
|
+
detail.uiactionId,
|
|
60
|
+
detail
|
|
60
61
|
);
|
|
61
62
|
this.state.buttonsState.addState(detail.id, buttonState);
|
|
62
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-index-view-search{--ibiz-panel-index-view-search-text-color:var(--ibiz-color-text-0);--ibiz-panel-index-view-search-placeholder-text-color:var(--ibiz-color-text-
|
|
1
|
+
.ibiz-panel-index-view-search{--ibiz-panel-index-view-search-text-color:var(--ibiz-color-text-0);--ibiz-panel-index-view-search-placeholder-text-color:var(--ibiz-color-text-menu);--ibiz-panel-index-view-search-bg-color:var(--ibiz-color-bg-5);--ibiz-panel-index-view-search-btn-width:var(--ibiz-height-control-large);--ibiz-panel-index-view-search-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);width:100%;height:100%;padding:var(--ibiz-panel-index-view-search-padding)}.ibiz-panel-index-view-search .el-input__wrapper{background-color:var(--ibiz-panel-index-view-search-bg-color);box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.ibiz-panel-index-view-search .el-input__wrapper .el-input__prefix{color:var(--ibiz-panel-index-view-search-text-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__inner{color:var(--ibiz-panel-index-view-search-text-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__inner::-moz-placeholder{color:var(--ibiz-panel-index-view-search-placeholder-text-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__inner::placeholder{color:var(--ibiz-panel-index-view-search-placeholder-text-color)}.ibiz-panel-index-view-search.is-collapse{padding:0}.ibiz-panel-index-view-search-btn{padding:0 var(--ibiz-spacing-tight);font-size:var(--ibiz-font-size-header-4)}.ibiz-panel-index-view-search-btn .el-button{width:var(--ibiz-panel-index-view-search-btn-width);padding:var(--ibiz-spacing-base-tight)}.ibiz-panel-index-view-search-btn:hover{background-color:transparent}
|
|
@@ -72,7 +72,7 @@ const SearchFormButtons = /* @__PURE__ */ vue.defineComponent({
|
|
|
72
72
|
"onClick": this.onResetButtonClick
|
|
73
73
|
}, _isSlot(_slot2 = ibiz.i18n.t("app.reset")) ? _slot2 : {
|
|
74
74
|
default: () => [_slot2]
|
|
75
|
-
}), vue.createVNode(vue.resolveComponent("el-dropdown-item"), {
|
|
75
|
+
}), this.controller.searchFrom.state.enableStoredFilters && vue.createVNode(vue.resolveComponent("el-dropdown-item"), {
|
|
76
76
|
"onClick": this.saveFilterConfirm
|
|
77
77
|
}, _isSlot(_slot3 = ibiz.i18n.t("panelComponent.searchformButtons.saveCondition")) ? _slot3 : {
|
|
78
78
|
default: () => [_slot3]
|
|
@@ -137,7 +137,7 @@ const AppPopoverComponent = /* @__PURE__ */ vue.defineComponent({
|
|
|
137
137
|
render() {
|
|
138
138
|
var _a, _b;
|
|
139
139
|
const content = vue.createVNode("div", {
|
|
140
|
-
"class": [this.ns.b(), this.ns.is("show", this.isShow)],
|
|
140
|
+
"class": [this.ns.b(), this.ns.is("show", this.isShow), this.opts.modalClass || ""],
|
|
141
141
|
"ref": "el",
|
|
142
142
|
"style": this.customStyle,
|
|
143
143
|
"onClick": (e) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var ElementPlus = require('element-plus');
|
|
5
|
-
var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.
|
|
5
|
+
var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.38-alpha.32_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs');
|
|
6
6
|
var fullscreenToolbar = require('../../common/fullscreen-toolbar/fullscreen-toolbar.cjs');
|
|
7
7
|
|
|
8
8
|
"use strict";
|
|
@@ -50,7 +50,7 @@ class FullscreenUtil {
|
|
|
50
50
|
if (this.FullscreenClass) {
|
|
51
51
|
div.classList.toggle(this.FullscreenClass);
|
|
52
52
|
}
|
|
53
|
-
div.style.background = "var(--".concat(namespace.defaultNamespace, "-bg-1)");
|
|
53
|
+
div.style.background = "var(--".concat(namespace.defaultNamespace, "-color-bg-1)");
|
|
54
54
|
const content = document.createElement("div");
|
|
55
55
|
content.id = "fullscreen";
|
|
56
56
|
content.style.position = "absolute";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
3
5
|
var ElementPlus = require('element-plus');
|
|
4
6
|
var wangEditorUtil = require('../wang-editor-util/wang-editor-util.cjs');
|
|
7
|
+
var uploadManager = require('./upload-manager/upload-manager.cjs');
|
|
5
8
|
|
|
6
9
|
"use strict";
|
|
7
10
|
var __defProp = Object.defineProperty;
|
|
@@ -26,6 +29,14 @@ class NotificationUtil {
|
|
|
26
29
|
* @Date: 2023-11-17 15:32:23
|
|
27
30
|
*/
|
|
28
31
|
__publicField(this, "intervalId", null);
|
|
32
|
+
/**
|
|
33
|
+
* 上传管理器
|
|
34
|
+
*
|
|
35
|
+
* @private
|
|
36
|
+
* @type {(NotificationHandle | undefined)}
|
|
37
|
+
* @memberof NotificationUtil
|
|
38
|
+
*/
|
|
39
|
+
__publicField(this, "uploadManagerHandle");
|
|
29
40
|
}
|
|
30
41
|
/**
|
|
31
42
|
* 执行下一步
|
|
@@ -97,6 +108,31 @@ class NotificationUtil {
|
|
|
97
108
|
this.callStack.push(() => this.handleNotice(params, "error"));
|
|
98
109
|
this.setTimer();
|
|
99
110
|
}
|
|
111
|
+
uploadManager(params) {
|
|
112
|
+
var _a;
|
|
113
|
+
(_a = this.uploadManagerHandle) == null ? void 0 : _a.close();
|
|
114
|
+
this.uploadManagerHandle = void 0;
|
|
115
|
+
return new Promise((resolve) => {
|
|
116
|
+
const ns = vue3Util.useNamespace("upload-manager-notic");
|
|
117
|
+
this.uploadManagerHandle = ElementPlus.ElNotification({
|
|
118
|
+
duration: 0,
|
|
119
|
+
showClose: false,
|
|
120
|
+
customClass: ns.b(),
|
|
121
|
+
position: "bottom-right",
|
|
122
|
+
message: vue.h(uploadManager.IBizUploadManager, {
|
|
123
|
+
params,
|
|
124
|
+
onUploadComplete: (data) => {
|
|
125
|
+
resolve(data);
|
|
126
|
+
},
|
|
127
|
+
onClose: () => {
|
|
128
|
+
var _a2;
|
|
129
|
+
(_a2 = this.uploadManagerHandle) == null ? void 0 : _a2.close();
|
|
130
|
+
this.uploadManagerHandle = void 0;
|
|
131
|
+
}
|
|
132
|
+
})
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
}
|
|
100
136
|
}
|
|
101
137
|
|
|
102
138
|
exports.NotificationUtil = NotificationUtil;
|