@ibiz-template/mob-vue3-components 0.0.55 → 0.7.41-alpha.8
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/chart-GD7RhhzY.js.map +1 -1
- package/dist/ibiz-markdown-editor-KT8uap_I.js.map +1 -1
- package/dist/{index-O-XmMUt3.js → index-JSf84k9b.js} +2 -2
- package/dist/index-JSf84k9b.js.map +1 -0
- package/dist/{index-NP0RBfWK.js → index-OsiEgFnw.js} +2 -2
- package/dist/index-OsiEgFnw.js.map +1 -0
- package/dist/index-xh-oAbbH.js +76 -0
- package/dist/index-xh-oAbbH.js.map +1 -0
- package/dist/index.min.css +4 -4
- package/dist/index.system.min.js +1 -1
- package/dist/{quill-editor-ybZrwyoG.js → quill-editor-8Y2QTf1T.js} +2 -2
- package/dist/quill-editor-8Y2QTf1T.js.map +1 -0
- package/dist/{quill-editor-preview-G9EjDfQE.js → quill-editor-preview-Afg5ZCWy.js} +2 -2
- package/dist/{quill-editor-preview-G9EjDfQE.js.map → quill-editor-preview-Afg5ZCWy.js.map} +1 -1
- package/dist/{quill-t_EJUjVi.js → quill-sc_3kAlj.js} +2 -2
- package/dist/{quill-t_EJUjVi.js.map → quill-sc_3kAlj.js.map} +1 -1
- package/dist/tree-nburezSg.js.map +1 -1
- package/es/_virtual/index17.mjs +2 -2
- package/es/_virtual/index18.mjs +2 -2
- package/es/common/button-list/button-list.d.ts +1 -0
- package/es/common/carousel/carousel.d.ts +2 -2
- package/es/common/cropping/cropping.d.ts +4 -4
- package/es/common/date-range-picker/components/range-picker/range-picker.d.ts +1 -1
- package/es/common/date-range-picker/date-range-picker.d.ts +3 -3
- package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +8 -8
- package/es/common/emoji-select/emoji-select.d.ts +3 -3
- package/es/common/emoji-select/icons/search.d.ts +1 -0
- package/es/common/index.mjs +2 -1
- package/es/common/md-ctrl-setting/md-ctrl-setting.d.ts +3 -3
- package/es/common/preset-view-back/preset-view-back.d.ts +2 -2
- package/es/common/preset-view-header/preset-view-header.d.ts +1 -1
- package/es/common/rawitem/rawitem.d.ts +2 -2
- package/es/control/app-menu/app-menu.d.ts +31 -5
- package/es/control/app-menu/app-menu.mjs +13 -0
- package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +1 -1
- package/es/control/app-menu/index.d.ts +6 -6
- package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +5 -5
- package/es/control/app-menu-icon-view/index.d.ts +5 -5
- package/es/control/app-menu-list-view/app-menu-list-view.d.ts +5 -5
- package/es/control/app-menu-list-view/index.d.ts +5 -5
- package/es/control/calendar/calendar.d.ts +46 -6
- package/es/control/calendar/calendar.mjs +20 -0
- package/es/control/calendar/index.d.ts +7 -7
- package/es/control/caption-bar/caption-bar.d.ts +31 -5
- package/es/control/caption-bar/caption-bar.mjs +13 -0
- package/es/control/caption-bar/index.d.ts +5 -5
- package/es/control/chart/chart.d.ts +45 -5
- package/es/control/chart/chart.mjs +20 -0
- package/es/control/dashboard/dashboard.d.ts +32 -6
- package/es/control/dashboard/dashboard.mjs +13 -0
- package/es/control/dashboard/index.d.ts +6 -6
- package/es/control/dashboard/portlet/portlet-part/portlet-part.state.d.ts +1 -0
- package/es/control/dashboard/portlet/portlet-part/portlet-part.state.mjs +1 -0
- package/es/control/data-view/data-view.d.ts +49 -7
- package/es/control/data-view/data-view.mjs +23 -3
- package/es/control/data-view/index.d.ts +7 -7
- package/es/control/drbar/drbar.controller.d.ts +1 -0
- package/es/control/drbar/drbar.controller.mjs +3 -0
- package/es/control/drbar/drbar.d.ts +45 -16
- package/es/control/drbar/drbar.mjs +19 -4
- package/es/control/drbar/index.d.ts +7 -16
- package/es/control/drtab/drtab.controller.d.ts +1 -0
- package/es/control/drtab/drtab.controller.mjs +3 -0
- package/es/control/drtab/drtab.d.ts +33 -7
- package/es/control/drtab/drtab.mjs +13 -0
- package/es/control/drtab/index.d.ts +7 -7
- package/es/control/form/edit-form/edit-form.mjs +23 -0
- package/es/control/form/form/form.d.ts +7 -1
- package/es/control/form/form/form.mjs +3 -0
- package/es/control/form/form/index.d.ts +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.d.ts +1 -1
- package/es/control/form/form-detail/form-item/form-item.d.ts +2 -2
- package/es/control/form/form-detail/form-item/index.d.ts +2 -2
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.d.ts +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +3 -3
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +6 -6
- package/es/control/form/search-form/index.d.ts +5 -5
- package/es/control/form/search-form/search-form.d.ts +31 -5
- package/es/control/form/search-form/search-form.mjs +13 -0
- package/es/control/list/list/index.d.ts +7 -7
- package/es/control/list/list/list.d.ts +81 -7
- package/es/control/list/list/list.mjs +37 -0
- package/es/control/list/list-render-util.d.ts +1 -0
- package/es/control/list/md-ctrl/index.d.ts +9 -9
- package/es/control/list/md-ctrl/md-ctrl.d.ts +71 -9
- package/es/control/list/md-ctrl/md-ctrl.mjs +31 -0
- package/es/control/pickup-view-panel/index.d.ts +7 -7
- package/es/control/pickup-view-panel/pickup-view-panel.controller.d.ts +2 -0
- package/es/control/pickup-view-panel/pickup-view-panel.controller.mjs +3 -0
- package/es/control/pickup-view-panel/pickup-view-panel.d.ts +47 -7
- package/es/control/pickup-view-panel/pickup-view-panel.mjs +20 -0
- package/es/control/search-bar/filter-field-select/filter-field-select.d.ts +3 -3
- package/es/control/search-bar/filter-tree/filter-tree.d.ts +6 -6
- package/es/control/search-bar/index.d.ts +5 -5
- package/es/control/search-bar/search-bar.d.ts +31 -5
- package/es/control/search-bar/search-bar.mjs +13 -0
- package/es/control/tab-exp-panel/index.d.ts +5 -5
- package/es/control/tab-exp-panel/tab-exp-panel.d.ts +37 -5
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +16 -0
- package/es/control/toolbar/index.d.ts +7 -7
- package/es/control/toolbar/popper-toolbar/popper-toolbar.d.ts +7 -7
- package/es/control/toolbar/toolbar.d.ts +33 -7
- package/es/control/toolbar/toolbar.mjs +13 -0
- package/es/control/tree/tree.d.ts +48 -6
- package/es/control/tree/tree.mjs +21 -0
- package/es/control/tree-exp-bar/index.d.ts +5 -5
- package/es/control/tree-exp-bar/tree-exp-bar.d.ts +49 -5
- package/es/control/tree-exp-bar/tree-exp-bar.mjs +22 -0
- package/es/control/wizard-panel/index.d.ts +5 -5
- package/es/control/wizard-panel/wizard-panel.d.ts +31 -5
- package/es/control/wizard-panel/wizard-panel.mjs +13 -0
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +22 -13
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +17 -8
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +16 -9
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +15 -8
- package/es/editor/common/data-mpicker/ibiz-data-mpicker.d.ts +4 -4
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +18 -11
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +144 -26
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +18 -11
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +17 -9
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +15 -8
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +22 -10
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +20 -13
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.d.ts +17 -10
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +16 -8
- package/es/editor/html/quill-editor/quill-editor.d.ts +15 -0
- package/es/editor/index.mjs +7 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +9 -0
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +23 -9
- package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.d.ts +15 -8
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +16 -9
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +16 -8
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +17 -8
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +23 -8
- package/es/editor/span/span/span.d.ts +15 -3
- package/es/editor/span/span-link/span-link.d.ts +16 -8
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +20 -8
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +16 -8
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +17 -8
- package/es/editor/text-box/index.d.ts +1 -0
- package/es/editor/text-box/index.mjs +1 -0
- package/es/editor/text-box/input/input.d.ts +16 -8
- package/es/editor/text-box/signature/signature.css +1 -0
- package/es/editor/text-box/signature/signature.d.ts +104 -0
- package/es/editor/text-box/signature/signature.mjs +256 -0
- package/es/editor/text-box/text-box-editor.provider.mjs +3 -0
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.d.ts +19 -8
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +24 -12
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +27 -13
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.d.ts +18 -8
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +24 -12
- package/es/index.mjs +1 -0
- package/es/locale/en/index.d.ts +47 -4
- package/es/locale/en/index.mjs +14 -0
- package/es/locale/zh-CN/index.d.ts +47 -4
- package/es/locale/zh-CN/index.mjs +14 -0
- package/es/mob-app/App.mjs +19 -2
- package/es/mob-app/components/router-shell/router-shell.d.ts +3 -3
- package/es/mob-app/guard/auth-guard/auth-guard.mjs +129 -54
- package/es/mob-app/main.mjs +1 -0
- package/es/mob-app/util/unauthorized-handler/unauthorized-handler.d.ts +13 -5
- package/es/mob-app/util/unauthorized-handler/unauthorized-handler.mjs +47 -15
- package/es/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.mjs +1 -1
- package/es/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.mjs +1 -1
- package/es/panel-component/async-action/index.d.ts +2 -2
- package/es/panel-component/async-action/mob-async-action.d.ts +7 -2
- package/es/panel-component/auth-sso/auth-sso.css +1 -1
- package/es/panel-component/auth-sso/auth-sso.d.ts +24 -1
- package/es/panel-component/auth-sso/auth-sso.mjs +84 -6
- package/es/panel-component/auth-sso/index.d.ts +7 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +18 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +6 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +23 -37
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +23 -37
- package/es/panel-component/nav-pos-index/nav-pos-index.d.ts +18 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.mjs +6 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.state.d.ts +8 -12
- package/es/panel-component/nav-pos-index/nav-pos-index.state.mjs +8 -12
- package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +3 -2
- package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +1 -0
- package/es/panel-component/panel-app-title/panel-app-title.d.ts +17 -0
- package/es/panel-component/panel-app-title/panel-app-title.mjs +6 -0
- package/es/panel-component/panel-app-title/panel-app-title.state.d.ts +14 -28
- package/es/panel-component/panel-app-title/panel-app-title.state.mjs +14 -28
- package/es/panel-component/panel-button/panel-button.controller.d.ts +4 -5
- package/es/panel-component/panel-button/panel-button.controller.mjs +2 -3
- package/es/panel-component/panel-button/panel-button.d.ts +17 -0
- package/es/panel-component/panel-button/panel-button.mjs +6 -0
- package/es/panel-component/panel-button/panel-button.state.d.ts +4 -6
- package/es/panel-component/panel-button/panel-button.state.mjs +4 -6
- package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +4 -5
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +4 -5
- package/es/panel-component/panel-button-list/panel-button-list.d.ts +17 -0
- package/es/panel-component/panel-button-list/panel-button-list.mjs +6 -0
- package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +2 -2
- package/es/panel-component/panel-button-list/panel-button-list.state.mjs +2 -2
- package/es/panel-component/panel-carousel/index.d.ts +2 -2
- package/es/panel-component/panel-carousel/panel-carousel.controller.d.ts +2 -4
- package/es/panel-component/panel-carousel/panel-carousel.controller.mjs +2 -4
- package/es/panel-component/panel-carousel/panel-carousel.d.ts +19 -2
- package/es/panel-component/panel-carousel/panel-carousel.mjs +6 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +2 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +2 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +17 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +6 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +2 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +2 -4
- package/es/panel-component/panel-video-player/panel-video-player.controller.d.ts +2 -4
- package/es/panel-component/panel-video-player/panel-video-player.controller.mjs +2 -4
- package/es/panel-component/panel-video-player/panel-video-player.d.ts +11 -0
- package/es/panel-component/panel-video-player/panel-video-player.mjs +3 -0
- package/es/panel-component/user-message/index.d.ts +3 -3
- package/es/panel-component/user-message/user-message.d.ts +8 -3
- package/es/panel-component/view-content-panel-container/view-content-panel-container.d.ts +5 -0
- package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +6 -0
- package/es/panel-component/view-footer-panel-container/view-footer-panel-container.d.ts +17 -0
- package/es/panel-component/view-footer-panel-container/view-footer-panel-container.mjs +6 -0
- package/es/panel-component/view-header-panel-container/view-header-panel-container.d.ts +17 -0
- package/es/panel-component/view-header-panel-container/view-header-panel-container.mjs +6 -0
- package/es/panel-component/wf-action-button/index.d.ts +1 -1
- package/es/panel-component/wf-action-button/wf-action-button.controller.d.ts +4 -6
- package/es/panel-component/wf-action-button/wf-action-button.controller.mjs +2 -4
- package/es/panel-component/wf-action-button/wf-action-button.d.ts +17 -0
- package/es/panel-component/wf-action-button/wf-action-button.mjs +6 -0
- package/es/panel-component/wf-action-button/wf-action-button.state.d.ts +2 -4
- package/es/panel-component/wf-action-button/wf-action-button.state.mjs +2 -4
- package/es/panel-component/wf-step-trace/index.d.ts +1 -1
- package/es/panel-component/wf-step-trace/wf-step-trace.controller.d.ts +2 -4
- package/es/panel-component/wf-step-trace/wf-step-trace.controller.mjs +2 -4
- package/es/panel-component/wf-step-trace/wf-step-trace.d.ts +12 -1
- package/es/panel-component/wf-step-trace/wf-step-trace.mjs +3 -0
- package/es/panel-component/wf-step-trace/wf-step-trace.state.d.ts +2 -4
- package/es/panel-component/wf-step-trace/wf-step-trace.state.mjs +2 -4
- package/es/util/app-drawer/app-drawer-component.d.ts +1 -1
- package/es/util/app-modal/app-modal-component.d.ts +2 -2
- package/es/util/app-util/app-util.d.ts +66 -1
- package/es/util/app-util/app-util.mjs +66 -0
- package/es/util/scan-qrcode/scan-qrcode.d.ts +3 -3
- package/es/view/login-view/login-view.d.ts +1 -1
- package/es/view/portal-view/index.d.ts +7 -7
- package/es/view/portal-view/portal-view.d.ts +7 -7
- package/es/view-engine/login-view.engine.d.ts +2 -2
- package/es/view-engine/login-view.engine.mjs +2 -0
- package/es/view-engine/mob-data-view-engine.d.ts +2 -2
- package/es/view-engine/mob-data-view-engine.mjs +0 -1
- package/es/view-engine/mob-edit-view.engine.d.ts +2 -2
- package/es/view-engine/mob-edit-view.engine.mjs +5 -1
- package/es/view-engine/mob-md-view-engine.d.ts +2 -2
- package/es/view-engine/mob-md-view-engine.mjs +0 -1
- package/es/view-engine/mob-mpickup-view-engine.d.ts +20 -14
- package/es/view-engine/mob-mpickup-view-engine.mjs +34 -26
- package/es/view-engine/mob-opt-view.engine.d.ts +2 -2
- package/es/view-engine/mob-pickup-md-view.engine.d.ts +2 -2
- package/es/view-engine/mob-pickup-md-view.engine.mjs +0 -1
- package/es/view-engine/mob-pickup-view.engine.d.ts +9 -2
- package/es/view-engine/mob-pickup-view.engine.mjs +15 -1
- package/es/view-engine/mob-tab-search-view.engine.d.ts +2 -2
- package/es/view-engine/mob-tab-search-view.engine.mjs +0 -1
- package/es/view-engine/mob-wf-dyna-action-view.engine.d.ts +2 -2
- package/es/view-engine/mob-wf-dyna-action-view.engine.mjs +0 -1
- package/es/view-engine/mob-wf-dyna-edit-view.engine.d.ts +2 -2
- package/es/view-engine/mob-wf-dyna-edit-view.engine.mjs +0 -1
- package/es/view-engine/mob-wf-dyna-start-view.engine.d.ts +2 -2
- package/es/view-engine/mob-wf-dyna-start-view.engine.mjs +0 -1
- package/lib/_virtual/index17.cjs +2 -2
- package/lib/_virtual/index18.cjs +2 -2
- package/lib/common/index.cjs +1 -0
- package/lib/control/app-menu/app-menu.cjs +13 -0
- package/lib/control/calendar/calendar.cjs +20 -0
- package/lib/control/caption-bar/caption-bar.cjs +13 -0
- package/lib/control/chart/chart.cjs +20 -0
- package/lib/control/dashboard/dashboard.cjs +13 -0
- package/lib/control/dashboard/portlet/portlet-part/portlet-part.state.cjs +1 -0
- package/lib/control/data-view/data-view.cjs +23 -3
- package/lib/control/drbar/drbar.cjs +19 -4
- package/lib/control/drbar/drbar.controller.cjs +3 -0
- package/lib/control/drtab/drtab.cjs +13 -0
- package/lib/control/drtab/drtab.controller.cjs +3 -0
- package/lib/control/form/edit-form/edit-form.cjs +23 -0
- package/lib/control/form/form/form.cjs +3 -0
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/lib/control/form/search-form/search-form.cjs +13 -0
- package/lib/control/list/list/list.cjs +37 -0
- package/lib/control/list/md-ctrl/md-ctrl.cjs +31 -0
- package/lib/control/pickup-view-panel/pickup-view-panel.cjs +20 -0
- package/lib/control/pickup-view-panel/pickup-view-panel.controller.cjs +3 -0
- package/lib/control/search-bar/search-bar.cjs +13 -0
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +16 -0
- package/lib/control/toolbar/toolbar.cjs +13 -0
- package/lib/control/tree/tree.cjs +21 -0
- package/lib/control/tree-exp-bar/tree-exp-bar.cjs +22 -0
- package/lib/control/wizard-panel/wizard-panel.cjs +13 -0
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +144 -26
- package/lib/editor/index.cjs +7 -0
- package/lib/editor/text-box/index.cjs +2 -0
- package/lib/editor/text-box/signature/signature.cjs +258 -0
- package/lib/editor/text-box/signature/signature.css +1 -0
- package/lib/editor/text-box/text-box-editor.provider.cjs +3 -0
- package/lib/index.cjs +2 -0
- package/lib/locale/en/index.cjs +14 -0
- package/lib/locale/zh-CN/index.cjs +14 -0
- package/lib/mob-app/App.cjs +17 -0
- package/lib/mob-app/guard/auth-guard/auth-guard.cjs +128 -53
- package/lib/mob-app/main.cjs +1 -0
- package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +47 -15
- package/lib/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.cjs +1 -1
- package/lib/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.cjs +1 -1
- package/lib/panel-component/auth-sso/auth-sso.cjs +83 -5
- package/lib/panel-component/auth-sso/auth-sso.css +1 -1
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +6 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +6 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +23 -37
- package/lib/panel-component/nav-pos-index/nav-pos-index.state.cjs +8 -12
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +6 -0
- package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +1 -0
- package/lib/panel-component/panel-app-title/panel-app-title.state.cjs +14 -28
- package/lib/panel-component/panel-button/panel-button.cjs +6 -0
- package/lib/panel-component/panel-button/panel-button.controller.cjs +2 -3
- package/lib/panel-component/panel-button/panel-button.state.cjs +4 -6
- package/lib/panel-component/panel-button-list/panel-button-list.cjs +6 -0
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +4 -5
- package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +2 -2
- package/lib/panel-component/panel-carousel/panel-carousel.cjs +6 -0
- package/lib/panel-component/panel-carousel/panel-carousel.controller.cjs +2 -4
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +6 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +2 -4
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +2 -4
- package/lib/panel-component/panel-video-player/panel-video-player.cjs +3 -0
- package/lib/panel-component/panel-video-player/panel-video-player.controller.cjs +2 -4
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +6 -0
- package/lib/panel-component/view-footer-panel-container/view-footer-panel-container.cjs +6 -0
- package/lib/panel-component/view-header-panel-container/view-header-panel-container.cjs +6 -0
- package/lib/panel-component/wf-action-button/wf-action-button.cjs +6 -0
- package/lib/panel-component/wf-action-button/wf-action-button.controller.cjs +2 -4
- package/lib/panel-component/wf-action-button/wf-action-button.state.cjs +2 -4
- package/lib/panel-component/wf-step-trace/wf-step-trace.cjs +3 -0
- package/lib/panel-component/wf-step-trace/wf-step-trace.controller.cjs +2 -4
- package/lib/panel-component/wf-step-trace/wf-step-trace.state.cjs +2 -4
- package/lib/util/app-util/app-util.cjs +66 -0
- package/lib/view-engine/login-view.engine.cjs +2 -0
- package/lib/view-engine/mob-data-view-engine.cjs +0 -1
- package/lib/view-engine/mob-edit-view.engine.cjs +5 -1
- package/lib/view-engine/mob-md-view-engine.cjs +0 -1
- package/lib/view-engine/mob-mpickup-view-engine.cjs +34 -26
- package/lib/view-engine/mob-pickup-md-view.engine.cjs +0 -1
- package/lib/view-engine/mob-pickup-view.engine.cjs +15 -1
- package/lib/view-engine/mob-tab-search-view.engine.cjs +0 -1
- package/lib/view-engine/mob-wf-dyna-action-view.engine.cjs +0 -1
- package/lib/view-engine/mob-wf-dyna-edit-view.engine.cjs +0 -1
- package/lib/view-engine/mob-wf-dyna-start-view.engine.cjs +0 -1
- package/package.json +7 -7
- package/dist/index-NP0RBfWK.js.map +0 -1
- package/dist/index-O-XmMUt3.js.map +0 -1
- package/dist/index-TfgOIExu.js +0 -76
- package/dist/index-TfgOIExu.js.map +0 -1
- package/dist/quill-editor-ybZrwyoG.js.map +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HttpError } from '@ibiz-template/core';
|
|
1
2
|
import { IErrorHandler } from '@ibiz-template/runtime';
|
|
2
3
|
/**
|
|
3
4
|
* 没有权限的错误处理器
|
|
@@ -9,6 +10,13 @@ import { IErrorHandler } from '@ibiz-template/runtime';
|
|
|
9
10
|
*/
|
|
10
11
|
export declare class UnauthorizedHandler implements IErrorHandler {
|
|
11
12
|
match(error: unknown): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @description 是否存在403错误未处理
|
|
15
|
+
* @protected
|
|
16
|
+
* @type {boolean}
|
|
17
|
+
* @memberof UnauthorizedHandler
|
|
18
|
+
*/
|
|
19
|
+
protected hasPermErrPending: boolean;
|
|
12
20
|
/**
|
|
13
21
|
* cas登录处理
|
|
14
22
|
*
|
|
@@ -37,13 +45,13 @@ export declare class UnauthorizedHandler implements IErrorHandler {
|
|
|
37
45
|
*/
|
|
38
46
|
protected normalLogin(): Promise<void>;
|
|
39
47
|
/**
|
|
40
|
-
* 处理403
|
|
41
|
-
* @author lxm
|
|
42
|
-
* @date 2023-12-06 10:19:12
|
|
48
|
+
* @description 处理403
|
|
43
49
|
* @protected
|
|
44
|
-
* @
|
|
50
|
+
* @param {HttpError} error
|
|
51
|
+
* @returns {*} {Promise<void>}
|
|
52
|
+
* @memberof UnauthorizedHandler
|
|
45
53
|
*/
|
|
46
|
-
protected handle403(): Promise<void>;
|
|
54
|
+
protected handle403(error: HttpError): Promise<void>;
|
|
47
55
|
/**
|
|
48
56
|
* 没有权限处理
|
|
49
57
|
*
|
|
@@ -2,7 +2,22 @@ import qs from 'qs';
|
|
|
2
2
|
import { HttpError, RuntimeError, UrlHelper, LoginMode } from '@ibiz-template/core';
|
|
3
3
|
|
|
4
4
|
"use strict";
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
+
var __publicField = (obj, key, value) => {
|
|
8
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
9
|
+
return value;
|
|
10
|
+
};
|
|
5
11
|
class UnauthorizedHandler {
|
|
12
|
+
constructor() {
|
|
13
|
+
/**
|
|
14
|
+
* @description 是否存在403错误未处理
|
|
15
|
+
* @protected
|
|
16
|
+
* @type {boolean}
|
|
17
|
+
* @memberof UnauthorizedHandler
|
|
18
|
+
*/
|
|
19
|
+
__publicField(this, "hasPermErrPending", false);
|
|
20
|
+
}
|
|
6
21
|
match(error) {
|
|
7
22
|
return error instanceof HttpError && (error.status === 401 || error.status === 403);
|
|
8
23
|
}
|
|
@@ -75,22 +90,31 @@ class UnauthorizedHandler {
|
|
|
75
90
|
window.location.reload();
|
|
76
91
|
}
|
|
77
92
|
/**
|
|
78
|
-
* 处理403
|
|
79
|
-
* @author lxm
|
|
80
|
-
* @date 2023-12-06 10:19:12
|
|
93
|
+
* @description 处理403
|
|
81
94
|
* @protected
|
|
82
|
-
* @
|
|
95
|
+
* @param {HttpError} error
|
|
96
|
+
* @returns {*} {Promise<void>}
|
|
97
|
+
* @memberof UnauthorizedHandler
|
|
83
98
|
*/
|
|
84
|
-
async handle403() {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
99
|
+
async handle403(error) {
|
|
100
|
+
if (error.tag === "APPINIT") {
|
|
101
|
+
if (this.hasPermErrPending) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
this.hasPermErrPending = true;
|
|
105
|
+
const result = await ibiz.modal.confirm({
|
|
106
|
+
title: ibiz.i18n.t("mobApp.unauthorizedHandler.prohibitAccessPrompt"),
|
|
107
|
+
desc: ibiz.i18n.t("mobApp.unauthorizedHandler.exitPrompt")
|
|
108
|
+
});
|
|
109
|
+
this.hasPermErrPending = false;
|
|
110
|
+
if (result) {
|
|
111
|
+
const bol = await ibiz.auth.logout();
|
|
112
|
+
if (bol) {
|
|
113
|
+
window.location.reload();
|
|
114
|
+
}
|
|
93
115
|
}
|
|
116
|
+
} else {
|
|
117
|
+
ibiz.mc.error.send(error);
|
|
94
118
|
}
|
|
95
119
|
}
|
|
96
120
|
/**
|
|
@@ -103,7 +127,15 @@ class UnauthorizedHandler {
|
|
|
103
127
|
handle(error) {
|
|
104
128
|
if (error instanceof HttpError) {
|
|
105
129
|
if (error.status === 401) {
|
|
106
|
-
|
|
130
|
+
const search = qs.parse(window.location.search.replace("?", ""));
|
|
131
|
+
if ((search.isAnonymous || ibiz.env.enableAnonymous) && // 匿名登录获取视图模型发生异常,走普通登录,防止循环执行
|
|
132
|
+
error.tag !== "APPINIT") {
|
|
133
|
+
ibiz.auth.anonymousLogin().then((bol) => {
|
|
134
|
+
if (bol) {
|
|
135
|
+
window.location.reload();
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
} else if (ibiz.env.loginMode === LoginMode.CAS) {
|
|
107
139
|
this.casLogin();
|
|
108
140
|
} else if (ibiz.env.loginMode === LoginMode.OAUTH) {
|
|
109
141
|
this.oauthLogin();
|
|
@@ -113,7 +145,7 @@ class UnauthorizedHandler {
|
|
|
113
145
|
return true;
|
|
114
146
|
}
|
|
115
147
|
if (error.status === 403) {
|
|
116
|
-
this.handle403();
|
|
148
|
+
this.handle403(error);
|
|
117
149
|
return true;
|
|
118
150
|
}
|
|
119
151
|
}
|
package/es/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal, getDefaultExportFromCjs } from '../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
-
import { __module as lodash_clonedeep$1 } from '../../../../../_virtual/
|
|
2
|
+
import { __module as lodash_clonedeep$1 } from '../../../../../_virtual/index18.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal, getDefaultExportFromCjs } from '../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
-
import { __module as lodash_isequal$1 } from '../../../../../_virtual/
|
|
2
|
+
import { __module as lodash_isequal$1 } from '../../../../../_virtual/index17.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Lodash (Custom Build) <https://lodash.com/>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const IBizMobAsyncAction: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
3
3
|
controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("./mob-async-action.controller").MobAsyncActionController>, undefined, undefined>;
|
|
4
|
-
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<
|
|
4
|
+
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
|
|
5
5
|
disabled: {
|
|
6
6
|
type: BooleanConstructor;
|
|
7
7
|
};
|
|
@@ -26,7 +26,7 @@ export declare const IBizMobAsyncAction: import("@ibiz-template/vue3-util").Type
|
|
|
26
26
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
27
|
value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
28
28
|
controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("./mob-async-action.controller").MobAsyncActionController>, undefined, undefined>;
|
|
29
|
-
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<
|
|
29
|
+
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
|
|
30
30
|
disabled: {
|
|
31
31
|
type: BooleanConstructor;
|
|
32
32
|
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { MobAsyncActionController } from './mob-async-action.controller';
|
|
2
2
|
import './mob-async-action.scss';
|
|
3
|
+
/**
|
|
4
|
+
* 后台作业组件
|
|
5
|
+
* @primary
|
|
6
|
+
* @description 用于在一些需要后台异步操作(如上传导入文件)的场景下,对异步操作过程和结果进行通知。
|
|
7
|
+
*/
|
|
3
8
|
export declare const MobAsyncAction: import("vue").DefineComponent<{
|
|
4
9
|
value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
5
10
|
controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<MobAsyncActionController>, undefined, undefined>;
|
|
6
|
-
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<
|
|
11
|
+
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
|
|
7
12
|
disabled: {
|
|
8
13
|
type: BooleanConstructor;
|
|
9
14
|
};
|
|
@@ -28,7 +33,7 @@ export declare const MobAsyncAction: import("vue").DefineComponent<{
|
|
|
28
33
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
34
|
value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
30
35
|
controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<MobAsyncActionController>, undefined, undefined>;
|
|
31
|
-
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<
|
|
36
|
+
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
|
|
32
37
|
disabled: {
|
|
33
38
|
type: BooleanConstructor;
|
|
34
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-auth-sso{--ibiz-auth-sso-icon-width:var(--ibiz-editor-default-line-height);--ibiz-auth-sso-icon-height:var(--ibiz-editor-default-line-height);--ibiz-auth-sso-gap:var(--ibiz-spacing-base);display:flex;gap:var(--ibiz-auth-sso-gap);justify-content:center;width:100%}.ibiz-auth-sso__sign-btn{width:var(--ibiz-auth-sso-icon-width);height:var(--ibiz-auth-sso-icon-height);cursor:pointer}.ibiz-auth-sso__sign-btn svg{width:100%;height:100%}
|
|
1
|
+
.ibiz-auth-sso{--ibiz-auth-sso-icon-width:var(--ibiz-editor-default-line-height);--ibiz-auth-sso-icon-height:var(--ibiz-editor-default-line-height);--ibiz-auth-sso-gap:var(--ibiz-spacing-base);display:flex;gap:var(--ibiz-auth-sso-gap);justify-content:center;width:100%}.ibiz-auth-sso__sign-btn{width:var(--ibiz-auth-sso-icon-width);height:var(--ibiz-auth-sso-icon-height);cursor:pointer}.ibiz-auth-sso__sign-btn svg{width:100%;height:100%}.ibiz-auth-sso__sign-btn .ibiz-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
|
|
@@ -2,23 +2,46 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { PanelItemController } from '@ibiz-template/runtime';
|
|
3
3
|
import { IPanelRawItem } from '@ibiz/model-core';
|
|
4
4
|
import './auth-sso.scss';
|
|
5
|
+
/**
|
|
6
|
+
* 第三方登录
|
|
7
|
+
* @primary
|
|
8
|
+
* @description 使用第三方方式进行登录,默认预置了钉钉(DINGDING)和企业微信(WXWORK)两种登录方式。可通过自定义补充参数,灵活指定其他所需的第三方登录方式。
|
|
9
|
+
*/
|
|
5
10
|
export declare const AuthSso: import("vue").DefineComponent<{
|
|
11
|
+
/**
|
|
12
|
+
* @description 第三方登录组件模型数据
|
|
13
|
+
*/
|
|
6
14
|
modelData: {
|
|
7
15
|
type: PropType<IPanelRawItem>;
|
|
8
16
|
required: true;
|
|
9
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* @description 第三方登录组件控制器
|
|
20
|
+
*/
|
|
10
21
|
controller: {
|
|
11
22
|
type: typeof PanelItemController;
|
|
12
23
|
required: true;
|
|
13
24
|
};
|
|
14
25
|
}, {
|
|
15
26
|
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
-
|
|
27
|
+
items: {
|
|
28
|
+
key: string | undefined;
|
|
29
|
+
sysImage: import("@ibiz/model-core").ISysImage | undefined;
|
|
30
|
+
title: any;
|
|
31
|
+
params: any;
|
|
32
|
+
}[] | undefined;
|
|
33
|
+
handleThridLogin: (type: string, params?: IData) => void;
|
|
17
34
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
/**
|
|
36
|
+
* @description 第三方登录组件模型数据
|
|
37
|
+
*/
|
|
18
38
|
modelData: {
|
|
19
39
|
type: PropType<IPanelRawItem>;
|
|
20
40
|
required: true;
|
|
21
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @description 第三方登录组件控制器
|
|
44
|
+
*/
|
|
22
45
|
controller: {
|
|
23
46
|
type: typeof PanelItemController;
|
|
24
47
|
required: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createVNode, defineComponent } from 'vue';
|
|
1
|
+
import { resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { PanelItemController } from '@ibiz-template/runtime';
|
|
3
3
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
4
4
|
import './auth-sso.css';
|
|
@@ -7,24 +7,45 @@ import './auth-sso.css';
|
|
|
7
7
|
const AuthSso = /* @__PURE__ */ defineComponent({
|
|
8
8
|
name: "IBizAuthSsO",
|
|
9
9
|
props: {
|
|
10
|
+
/**
|
|
11
|
+
* @description 第三方登录组件模型数据
|
|
12
|
+
*/
|
|
10
13
|
modelData: {
|
|
11
14
|
type: Object,
|
|
12
15
|
required: true
|
|
13
16
|
},
|
|
17
|
+
/**
|
|
18
|
+
* @description 第三方登录组件控制器
|
|
19
|
+
*/
|
|
14
20
|
controller: {
|
|
15
21
|
type: PanelItemController,
|
|
16
22
|
required: true
|
|
17
23
|
}
|
|
18
24
|
},
|
|
19
|
-
setup() {
|
|
25
|
+
setup(props) {
|
|
26
|
+
var _a;
|
|
20
27
|
const ns = useNamespace("auth-sso");
|
|
28
|
+
const model = props.controller.model;
|
|
29
|
+
const rawItemParams = (_a = model.rawItem) == null ? void 0 : _a.rawItemParams;
|
|
30
|
+
const items = rawItemParams == null ? void 0 : rawItemParams.map((item) => {
|
|
31
|
+
const params = item.value ? JSON.parse(item.value) : {};
|
|
32
|
+
return {
|
|
33
|
+
key: item.key,
|
|
34
|
+
sysImage: item.sysImage,
|
|
35
|
+
title: params.title,
|
|
36
|
+
params
|
|
37
|
+
};
|
|
38
|
+
});
|
|
21
39
|
const dingtalkHandleClick = async () => {
|
|
22
40
|
ibiz.thirdAuth.auth("DINGTALK", "THIRD");
|
|
23
41
|
};
|
|
24
42
|
const wxWorkHandleClick = async () => {
|
|
25
43
|
ibiz.thirdAuth.auth("WXWORK", "THIRD");
|
|
26
44
|
};
|
|
27
|
-
const
|
|
45
|
+
const oauthHandleClick = async (params) => {
|
|
46
|
+
ibiz.thirdAuth.auth("OAUTH", "THIRD", params);
|
|
47
|
+
};
|
|
48
|
+
const handleThridLogin = (type, params) => {
|
|
28
49
|
if (!type)
|
|
29
50
|
return;
|
|
30
51
|
switch (type) {
|
|
@@ -35,18 +56,75 @@ const AuthSso = /* @__PURE__ */ defineComponent({
|
|
|
35
56
|
wxWorkHandleClick();
|
|
36
57
|
break;
|
|
37
58
|
default:
|
|
38
|
-
|
|
39
|
-
type
|
|
40
|
-
}));
|
|
59
|
+
oauthHandleClick(params);
|
|
41
60
|
break;
|
|
42
61
|
}
|
|
43
62
|
};
|
|
44
63
|
return {
|
|
45
64
|
ns,
|
|
65
|
+
items,
|
|
46
66
|
handleThridLogin
|
|
47
67
|
};
|
|
48
68
|
},
|
|
49
69
|
render() {
|
|
70
|
+
if (this.items && this.items.length) {
|
|
71
|
+
return createVNode("div", {
|
|
72
|
+
"class": this.ns.b()
|
|
73
|
+
}, [this.items.map((item) => {
|
|
74
|
+
var _a;
|
|
75
|
+
let icon;
|
|
76
|
+
if (item.sysImage) {
|
|
77
|
+
icon = createVNode(resolveComponent("iBizIcon"), {
|
|
78
|
+
"icon": item.sysImage
|
|
79
|
+
}, null);
|
|
80
|
+
} else if (item.key === "DINGDING") {
|
|
81
|
+
icon = createVNode("svg", {
|
|
82
|
+
"class": "icon",
|
|
83
|
+
"viewBox": "0 0 1024 1024",
|
|
84
|
+
"version": "1.1",
|
|
85
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
86
|
+
"p-id": "651",
|
|
87
|
+
"width": "48",
|
|
88
|
+
"height": "48"
|
|
89
|
+
}, [createVNode("defs", null, [createVNode("style", {
|
|
90
|
+
"type": "text/css"
|
|
91
|
+
}, null)]), createVNode("path", {
|
|
92
|
+
"d": "M512 2C230.2 2 2 230.2 2 512s228.2 510 510 510 510-228.2 510-510S793.3 2 512 2z m235.9 442c-1 4.6-3.6 10.8-7.2 19.1l-0.5 0.5c-21.6 45.8-77.3 135.5-77.3 135.5l-0.5-0.5-16.5 28.3h78.8L574.3 826.8l34-136h-61.8l21.6-90.2c-17.5 4.1-38.1 9.8-62.3 18 0 0-33 19.1-94.8-37.1 0 0-41.7-37.1-17.5-45.8 10.3-4.1 50-8.8 81.4-12.9 42.2-5.7 68.5-8.8 68.5-8.8s-130.3 2.1-161.2-3.1c-30.9-4.6-70.1-56.7-78.3-102 0 0-12.9-24.7 27.8-12.9 40.2 11.8 209.2 45.8 209.2 45.8S321.4 375 307 358.5c-14.4-16.5-42.8-89.6-39.2-134.5 0 0 1.5-11.3 12.9-8.2 0 0 161.8 74.2 272.5 114.4C664.5 371.4 760.8 392 747.9 444z",
|
|
93
|
+
"fill": "#3296FA",
|
|
94
|
+
"p-id": "652"
|
|
95
|
+
}, null)]);
|
|
96
|
+
} else if (item.key === "WXWORK") {
|
|
97
|
+
icon = createVNode("svg", {
|
|
98
|
+
"class": "icon",
|
|
99
|
+
"width": "200px",
|
|
100
|
+
"height": "200.00px",
|
|
101
|
+
"viewBox": "0 0 1024 1024",
|
|
102
|
+
"version": "1.1",
|
|
103
|
+
"xmlns": "http://www.w3.org/2000/svg"
|
|
104
|
+
}, [createVNode("path", {
|
|
105
|
+
"fill": "#36ab60",
|
|
106
|
+
"d": "M352.814545 385.396364m-33.512727 0a33.512727 33.512727 0 1 0 67.025455 0 33.512727 33.512727 0 1 0-67.025455 0Z"
|
|
107
|
+
}, null), createVNode("path", {
|
|
108
|
+
"fill": "#36ab60",
|
|
109
|
+
"d": "M502.690909 384.465455m-33.512727 0a33.512727 33.512727 0 1 0 67.025454 0 33.512727 33.512727 0 1 0-67.025454 0Z"
|
|
110
|
+
}, null), createVNode("path", {
|
|
111
|
+
"fill": "#36ab60",
|
|
112
|
+
"d": "M576.232727 534.341818m-23.272727 0a23.272727 23.272727 0 1 0 46.545455 0 23.272727 23.272727 0 1 0-46.545455 0Z"
|
|
113
|
+
}, null), createVNode("path", {
|
|
114
|
+
"fill": "#36ab60",
|
|
115
|
+
"d": "M694.458182 536.203636m-23.272727 0a23.272727 23.272727 0 1 0 46.545454 0 23.272727 23.272727 0 1 0-46.545454 0Z"
|
|
116
|
+
}, null), createVNode("path", {
|
|
117
|
+
"fill": "#36ab60",
|
|
118
|
+
"d": "M512 0C229.003636 0 0 229.003636 0 512s229.003636 512 512 512 512-229.003636 512-512S794.996364 0 512 0z m-87.505455 630.225455c-26.996364 0-48.407273-5.585455-75.403636-11.17091l-75.403636 37.236364 21.410909-64.232727c-53.992727-37.236364-85.643636-85.643636-85.643637-145.221818 0-102.4 96.814545-182.458182 215.04-182.458182 105.192727 0 198.283636 64.232727 216.901819 150.807273-6.516364-0.930909-13.963636-0.930909-20.48-0.93091-102.4 0-182.458182 76.334545-182.458182 170.356364 0 15.825455 2.792727 30.72 6.516363 44.683636-7.447273 0-13.963636 0.930909-20.48 0.93091z m314.647273 75.403636l15.825455 53.992727-58.647273-32.581818c-21.410909 5.585455-42.821818 11.170909-64.232727 11.170909-102.4 0-182.458182-69.818182-182.458182-155.461818s80.058182-155.461818 182.458182-155.461818c96.814545 0 182.458182 69.818182 182.458182 155.461818 0 47.476364-31.650909 90.298182-75.403637 122.88z"
|
|
119
|
+
}, null)]);
|
|
120
|
+
}
|
|
121
|
+
return createVNode("div", {
|
|
122
|
+
"class": [this.ns.e("sign-btn"), this.ns.m(item.key === "WXWORK" ? "wx" : (_a = item.key) == null ? void 0 : _a.toLowerCase())],
|
|
123
|
+
"title": item.title,
|
|
124
|
+
"onClick": () => this.handleThridLogin(item.key, item.params)
|
|
125
|
+
}, [icon]);
|
|
126
|
+
})]);
|
|
127
|
+
}
|
|
50
128
|
return createVNode("div", {
|
|
51
129
|
"class": this.ns.b()
|
|
52
130
|
}, [createVNode("div", {
|
|
@@ -9,7 +9,13 @@ export declare const IBizAuthSso: import("@ibiz-template/vue3-util").TypeWithIns
|
|
|
9
9
|
};
|
|
10
10
|
}, {
|
|
11
11
|
ns: import("@ibiz-template/core").Namespace;
|
|
12
|
-
|
|
12
|
+
items: {
|
|
13
|
+
key: string | undefined;
|
|
14
|
+
sysImage: import("@ibiz/model-core").ISysImage | undefined;
|
|
15
|
+
title: any;
|
|
16
|
+
params: any;
|
|
17
|
+
}[] | undefined;
|
|
18
|
+
handleThridLogin: (type: string, params?: import("@ibiz-template/core").IApiData | undefined) => void;
|
|
13
19
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
20
|
modelData: {
|
|
15
21
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
@@ -2,11 +2,23 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import './auth-userinfo.scss';
|
|
3
3
|
import { IPanelRawItem } from '@ibiz/model-core';
|
|
4
4
|
import { PanelItemController } from '@ibiz-template/runtime';
|
|
5
|
+
/**
|
|
6
|
+
* 用户信息组件
|
|
7
|
+
* @description 用于显示当前登录用户的基本信息,如姓名,组织名等。
|
|
8
|
+
* @primary
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
5
11
|
export declare const AuthUserinfo: import("vue").DefineComponent<{
|
|
12
|
+
/**
|
|
13
|
+
* @description 用户信息组件模型数据
|
|
14
|
+
*/
|
|
6
15
|
modelData: {
|
|
7
16
|
type: PropType<IPanelRawItem>;
|
|
8
17
|
required: true;
|
|
9
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* @description 用户信息组件控制器
|
|
21
|
+
*/
|
|
10
22
|
controller: {
|
|
11
23
|
type: typeof PanelItemController;
|
|
12
24
|
required: true;
|
|
@@ -18,10 +30,16 @@ export declare const AuthUserinfo: import("vue").DefineComponent<{
|
|
|
18
30
|
srfpersonname: any;
|
|
19
31
|
srforgname: any;
|
|
20
32
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
/**
|
|
34
|
+
* @description 用户信息组件模型数据
|
|
35
|
+
*/
|
|
21
36
|
modelData: {
|
|
22
37
|
type: PropType<IPanelRawItem>;
|
|
23
38
|
required: true;
|
|
24
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* @description 用户信息组件控制器
|
|
42
|
+
*/
|
|
25
43
|
controller: {
|
|
26
44
|
type: typeof PanelItemController;
|
|
27
45
|
required: true;
|
|
@@ -7,10 +7,16 @@ import { PanelItemController } from '@ibiz-template/runtime';
|
|
|
7
7
|
const AuthUserinfo = /* @__PURE__ */ defineComponent({
|
|
8
8
|
name: "IBizAuthUserinfo",
|
|
9
9
|
props: {
|
|
10
|
+
/**
|
|
11
|
+
* @description 用户信息组件模型数据
|
|
12
|
+
*/
|
|
10
13
|
modelData: {
|
|
11
14
|
type: Object,
|
|
12
15
|
required: true
|
|
13
16
|
},
|
|
17
|
+
/**
|
|
18
|
+
* @description 用户信息组件控制器
|
|
19
|
+
*/
|
|
14
20
|
controller: {
|
|
15
21
|
type: PanelItemController,
|
|
16
22
|
required: true
|
|
@@ -12,41 +12,33 @@ import { NavPosIndexState } from './nav-pos-index.state';
|
|
|
12
12
|
export declare class NavPosIndexController extends PanelItemController<IPanelRawItem> {
|
|
13
13
|
state: NavPosIndexState;
|
|
14
14
|
/**
|
|
15
|
-
* 导航视图的modal
|
|
16
|
-
* @
|
|
17
|
-
* @date 2023-05-12 09:47:52
|
|
15
|
+
* @description 导航视图的modal
|
|
16
|
+
* @exposedoc
|
|
18
17
|
* @type {{ [key: string]: IModal }}
|
|
19
18
|
*/
|
|
20
19
|
viewModals: {
|
|
21
20
|
[key: string]: IModal;
|
|
22
21
|
};
|
|
23
22
|
/**
|
|
24
|
-
* router对象
|
|
25
|
-
* @author lxm
|
|
26
|
-
* @date 2023-05-25 08:02:43
|
|
23
|
+
* @description router对象
|
|
27
24
|
* @type {Router}
|
|
28
25
|
*/
|
|
29
26
|
router?: Router;
|
|
30
27
|
/**
|
|
31
|
-
* 是否关闭后自动跳转上一个页面
|
|
32
|
-
* @
|
|
33
|
-
* @date 2023-05-25 08:43:49
|
|
28
|
+
* @description 是否关闭后自动跳转上一个页面
|
|
29
|
+
* @exposedoc
|
|
34
30
|
* @type {boolean}
|
|
35
31
|
*/
|
|
36
32
|
autoGoLast: boolean;
|
|
37
33
|
/**
|
|
38
|
-
* 自定义补充参数
|
|
39
|
-
*
|
|
40
|
-
* @author tony001
|
|
41
|
-
* @date 2025-01-21 16:01:25
|
|
34
|
+
* @description 自定义补充参数
|
|
35
|
+
* @exposedoc
|
|
42
36
|
* @type {IData}
|
|
43
37
|
*/
|
|
44
38
|
rawItemParams: IData;
|
|
45
39
|
/**
|
|
46
|
-
* 无缓存
|
|
47
|
-
*
|
|
48
|
-
* @author tony001
|
|
49
|
-
* @date 2025-01-21 16:01:25
|
|
40
|
+
* @description 无缓存
|
|
41
|
+
* @exposedoc
|
|
50
42
|
* @type {boolean}
|
|
51
43
|
*/
|
|
52
44
|
noCache: boolean;
|
|
@@ -54,24 +46,21 @@ export declare class NavPosIndexController extends PanelItemController<IPanelRaw
|
|
|
54
46
|
protected onInit(): Promise<void>;
|
|
55
47
|
setRouter(router: Router): void;
|
|
56
48
|
/**
|
|
57
|
-
* 当前视图的路由层级,非路由模式不存在。
|
|
58
|
-
* @
|
|
59
|
-
* @date 2023-05-09 12:46:26
|
|
49
|
+
* @description 当前视图的路由层级,非路由模式不存在。
|
|
50
|
+
* @exposedoc
|
|
60
51
|
* @readonly
|
|
61
52
|
*/
|
|
62
53
|
get routeDepth(): number | undefined;
|
|
63
54
|
/**
|
|
64
|
-
* 应用菜单控制器
|
|
65
|
-
* @
|
|
66
|
-
* @date 2023-05-10 08:41:42
|
|
55
|
+
* @description 应用菜单控制器
|
|
56
|
+
* @exposedoc
|
|
67
57
|
* @readonly
|
|
68
58
|
* @type {(IAppMenuController | undefined)}
|
|
69
59
|
*/
|
|
70
60
|
get appmenu(): IAppMenuController | undefined;
|
|
71
61
|
/**
|
|
72
|
-
* 改变显示视图
|
|
73
|
-
* @
|
|
74
|
-
* @date 2023-05-25 01:28:49
|
|
62
|
+
* @description 改变显示视图
|
|
63
|
+
* @exposedoc
|
|
75
64
|
* @param {string} key
|
|
76
65
|
*/
|
|
77
66
|
changeView(key: string): void;
|
|
@@ -87,23 +76,19 @@ export declare class NavPosIndexController extends PanelItemController<IPanelRaw
|
|
|
87
76
|
fullPath: string;
|
|
88
77
|
}): void;
|
|
89
78
|
/**
|
|
90
|
-
* 删除单个缓存
|
|
91
|
-
* @
|
|
92
|
-
* @date 2023-05-09 02:19:09
|
|
79
|
+
* @description 删除单个缓存
|
|
80
|
+
* @exposedoc
|
|
93
81
|
* @param {string} key
|
|
94
82
|
*/
|
|
95
83
|
removeCache(key: string): void;
|
|
96
84
|
/**
|
|
97
|
-
* 清空缓存
|
|
98
|
-
* @
|
|
99
|
-
* @date 2023-05-09 02:19:55
|
|
85
|
+
* @description 清空缓存
|
|
86
|
+
* @exposedoc
|
|
100
87
|
*/
|
|
101
88
|
clearCache(): void;
|
|
102
89
|
/**
|
|
103
|
-
* 关闭视图
|
|
104
|
-
*
|
|
105
|
-
* @author lxm
|
|
106
|
-
* @date 2023-05-25 03:10:23
|
|
90
|
+
* @description 关闭视图
|
|
91
|
+
* @exposedoc
|
|
107
92
|
* @param {string} keys
|
|
108
93
|
*/
|
|
109
94
|
closeViewByKeys(keys: string[]): Promise<void>;
|
|
@@ -119,7 +104,8 @@ export declare class NavPosIndexController extends PanelItemController<IPanelRaw
|
|
|
119
104
|
*/
|
|
120
105
|
protected dismiss(key: string, modal: IModalData): void;
|
|
121
106
|
/**
|
|
122
|
-
* 返回上一个页面或上一层空白路由
|
|
107
|
+
* @description 返回上一个页面或上一层空白路由
|
|
108
|
+
* @exposedoc
|
|
123
109
|
* @author lxm
|
|
124
110
|
* @date 2023-05-25 06:46:27
|
|
125
111
|
* @protected
|