@ibiz-template/mob-vue3-components 0.0.55 → 0.7.41-alpha.11
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-q0SBDv6c.js +76 -0
- package/dist/index-q0SBDv6c.js.map +1 -0
- package/dist/index.min.css +9 -9
- package/dist/index.system.min.js +1 -1
- package/dist/{quill-editor-ybZrwyoG.js → quill-editor-5QOfComp.js} +2 -2
- package/dist/quill-editor-5QOfComp.js.map +1 -0
- package/dist/{quill-editor-preview-G9EjDfQE.js → quill-editor-preview-65f3RVj0.js} +2 -2
- package/dist/{quill-editor-preview-G9EjDfQE.js.map → quill-editor-preview-65f3RVj0.js.map} +1 -1
- package/dist/{quill-t_EJUjVi.js → quill-sraxwYmv.js} +2 -2
- package/dist/{quill-t_EJUjVi.js.map → quill-sraxwYmv.js.map} +1 -1
- package/dist/tree-nburezSg.js.map +1 -1
- package/es/_virtual/index12.mjs +2 -2
- package/es/_virtual/index13.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/preset-view-header/preset-view-header.mjs +3 -0
- 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.css +1 -1
- package/es/control/app-menu-list-view/app-menu-list-view.d.ts +5 -5
- package/es/control/app-menu-list-view/app-menu-list-view.mjs +57 -32
- 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 +44 -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-form/form-mdctrl-form.mjs +4 -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-multi-form/repeater-multi-form.mjs +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +9 -3
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.mjs +4 -0
- 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/dropdown-list-editor.provider.mjs +3 -0
- package/es/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -0
- package/es/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.d.ts +84 -0
- package/es/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.mjs +142 -0
- 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/dropdown-list/index.d.ts +1 -0
- package/es/editor/dropdown-list/index.mjs +1 -0
- package/es/editor/html/quill-editor/quill-editor.d.ts +15 -0
- package/es/editor/index.mjs +17 -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.css +1 -1
- package/es/editor/text-box/input/input.d.ts +19 -8
- package/es/editor/text-box/input/input.mjs +24 -2
- 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 +270 -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 +2 -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 +141 -55
- 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 +50 -15
- package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.mjs +1 -1
- package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/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/index.d.ts +1 -0
- package/es/panel-component/view-header-panel-container/view-header-panel-container.d.ts +18 -0
- package/es/panel-component/view-header-panel-container/view-header-panel-container.mjs +22 -1
- 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/open-view-util/open-view-util.mjs +6 -6
- 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/index12.cjs +2 -2
- package/lib/_virtual/index13.cjs +2 -2
- package/lib/common/index.cjs +1 -0
- package/lib/common/preset-view-header/preset-view-header.cjs +3 -0
- package/lib/control/app-menu/app-menu.cjs +13 -0
- package/lib/control/app-menu-list-view/app-menu-list-view.cjs +56 -31
- package/lib/control/app-menu-list-view/app-menu-list-view.css +1 -1
- 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 +44 -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/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +4 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.cjs +1 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.cjs +4 -0
- 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/dropdown-list/dropdown-list-editor.provider.cjs +3 -0
- package/lib/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.cjs +144 -0
- package/lib/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -0
- package/lib/editor/dropdown-list/index.cjs +2 -0
- package/lib/editor/index.cjs +18 -0
- package/lib/editor/text-box/index.cjs +2 -0
- package/lib/editor/text-box/input/input.cjs +24 -2
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/text-box/signature/signature.cjs +272 -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 +4 -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 +140 -54
- package/lib/mob-app/main.cjs +1 -0
- package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +50 -15
- package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.cjs +1 -1
- package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/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 +22 -1
- 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/util/open-view-util/open-view-util.cjs +6 -6
- 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 +8 -8
- 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
|
@@ -4,7 +4,22 @@ var qs = require('qs');
|
|
|
4
4
|
var core = require('@ibiz-template/core');
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __publicField = (obj, key, value) => {
|
|
10
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
11
|
+
return value;
|
|
12
|
+
};
|
|
7
13
|
class UnauthorizedHandler {
|
|
14
|
+
constructor() {
|
|
15
|
+
/**
|
|
16
|
+
* @description 是否存在403错误未处理
|
|
17
|
+
* @protected
|
|
18
|
+
* @type {boolean}
|
|
19
|
+
* @memberof UnauthorizedHandler
|
|
20
|
+
*/
|
|
21
|
+
__publicField(this, "hasPermErrPending", false);
|
|
22
|
+
}
|
|
8
23
|
match(error) {
|
|
9
24
|
return error instanceof core.HttpError && (error.status === 401 || error.status === 403);
|
|
10
25
|
}
|
|
@@ -69,6 +84,9 @@ class UnauthorizedHandler {
|
|
|
69
84
|
*/
|
|
70
85
|
async normalLogin() {
|
|
71
86
|
const ru = window.location.hash.replace("#", "");
|
|
87
|
+
if (ru.startsWith("/login")) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
72
90
|
const targetUrl = `${core.UrlHelper.routeBase}/login?ru=${encodeURIComponent(
|
|
73
91
|
ru
|
|
74
92
|
)}`;
|
|
@@ -77,22 +95,31 @@ class UnauthorizedHandler {
|
|
|
77
95
|
window.location.reload();
|
|
78
96
|
}
|
|
79
97
|
/**
|
|
80
|
-
* 处理403
|
|
81
|
-
* @author lxm
|
|
82
|
-
* @date 2023-12-06 10:19:12
|
|
98
|
+
* @description 处理403
|
|
83
99
|
* @protected
|
|
84
|
-
* @
|
|
100
|
+
* @param {HttpError} error
|
|
101
|
+
* @returns {*} {Promise<void>}
|
|
102
|
+
* @memberof UnauthorizedHandler
|
|
85
103
|
*/
|
|
86
|
-
async handle403() {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
const
|
|
93
|
-
|
|
94
|
-
|
|
104
|
+
async handle403(error) {
|
|
105
|
+
if (error.tag === "APPINIT") {
|
|
106
|
+
if (this.hasPermErrPending) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
this.hasPermErrPending = true;
|
|
110
|
+
const result = await ibiz.modal.confirm({
|
|
111
|
+
title: ibiz.i18n.t("mobApp.unauthorizedHandler.prohibitAccessPrompt"),
|
|
112
|
+
desc: ibiz.i18n.t("mobApp.unauthorizedHandler.exitPrompt")
|
|
113
|
+
});
|
|
114
|
+
this.hasPermErrPending = false;
|
|
115
|
+
if (result) {
|
|
116
|
+
const bol = await ibiz.auth.logout();
|
|
117
|
+
if (bol) {
|
|
118
|
+
window.location.reload();
|
|
119
|
+
}
|
|
95
120
|
}
|
|
121
|
+
} else {
|
|
122
|
+
ibiz.mc.error.send(error);
|
|
96
123
|
}
|
|
97
124
|
}
|
|
98
125
|
/**
|
|
@@ -105,7 +132,15 @@ class UnauthorizedHandler {
|
|
|
105
132
|
handle(error) {
|
|
106
133
|
if (error instanceof core.HttpError) {
|
|
107
134
|
if (error.status === 401) {
|
|
108
|
-
|
|
135
|
+
const search = qs.parse(window.location.search.replace("?", ""));
|
|
136
|
+
if ((search.isAnonymous || ibiz.env.enableAnonymous) && // 匿名登录获取视图模型发生异常,走普通登录,防止循环执行
|
|
137
|
+
error.tag !== "APPINIT") {
|
|
138
|
+
ibiz.auth.anonymousLogin().then((bol) => {
|
|
139
|
+
if (bol) {
|
|
140
|
+
window.location.reload();
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
} else if (ibiz.env.loginMode === core.LoginMode.CAS) {
|
|
109
144
|
this.casLogin();
|
|
110
145
|
} else if (ibiz.env.loginMode === core.LoginMode.OAUTH) {
|
|
111
146
|
this.oauthLogin();
|
|
@@ -115,7 +150,7 @@ class UnauthorizedHandler {
|
|
|
115
150
|
return true;
|
|
116
151
|
}
|
|
117
152
|
if (error.status === 403) {
|
|
118
|
-
this.handle403();
|
|
153
|
+
this.handle403(error);
|
|
119
154
|
return true;
|
|
120
155
|
}
|
|
121
156
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('../../../../../../../../_virtual/_commonjsHelpers.cjs');
|
|
4
|
-
var index = require('../../../../../../../../_virtual/
|
|
4
|
+
var index = require('../../../../../../../../_virtual/index13.cjs');
|
|
5
5
|
|
|
6
6
|
var frameTalkClientPc = index.__module.exports;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('../../../../../../../../_virtual/_commonjsHelpers.cjs');
|
|
4
|
-
var index = require('../../../../../../../../_virtual/
|
|
4
|
+
var index = require('../../../../../../../../_virtual/index12.cjs');
|
|
5
5
|
require('../../../../../../../../_virtual/bridge.cjs');
|
|
6
6
|
var retry = require('./retry.cjs');
|
|
7
7
|
require('../../../../../../../../_virtual/dealParamsAndResult.cjs');
|
|
@@ -9,24 +9,45 @@ require('./auth-sso.css');
|
|
|
9
9
|
const AuthSso = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
name: "IBizAuthSsO",
|
|
11
11
|
props: {
|
|
12
|
+
/**
|
|
13
|
+
* @description 第三方登录组件模型数据
|
|
14
|
+
*/
|
|
12
15
|
modelData: {
|
|
13
16
|
type: Object,
|
|
14
17
|
required: true
|
|
15
18
|
},
|
|
19
|
+
/**
|
|
20
|
+
* @description 第三方登录组件控制器
|
|
21
|
+
*/
|
|
16
22
|
controller: {
|
|
17
23
|
type: runtime.PanelItemController,
|
|
18
24
|
required: true
|
|
19
25
|
}
|
|
20
26
|
},
|
|
21
|
-
setup() {
|
|
27
|
+
setup(props) {
|
|
28
|
+
var _a;
|
|
22
29
|
const ns = vue3Util.useNamespace("auth-sso");
|
|
30
|
+
const model = props.controller.model;
|
|
31
|
+
const rawItemParams = (_a = model.rawItem) == null ? void 0 : _a.rawItemParams;
|
|
32
|
+
const items = rawItemParams == null ? void 0 : rawItemParams.map((item) => {
|
|
33
|
+
const params = item.value ? JSON.parse(item.value) : {};
|
|
34
|
+
return {
|
|
35
|
+
key: item.key,
|
|
36
|
+
sysImage: item.sysImage,
|
|
37
|
+
title: params.title,
|
|
38
|
+
params
|
|
39
|
+
};
|
|
40
|
+
});
|
|
23
41
|
const dingtalkHandleClick = async () => {
|
|
24
42
|
ibiz.thirdAuth.auth("DINGTALK", "THIRD");
|
|
25
43
|
};
|
|
26
44
|
const wxWorkHandleClick = async () => {
|
|
27
45
|
ibiz.thirdAuth.auth("WXWORK", "THIRD");
|
|
28
46
|
};
|
|
29
|
-
const
|
|
47
|
+
const oauthHandleClick = async (params) => {
|
|
48
|
+
ibiz.thirdAuth.auth("OAUTH", "THIRD", params);
|
|
49
|
+
};
|
|
50
|
+
const handleThridLogin = (type, params) => {
|
|
30
51
|
if (!type)
|
|
31
52
|
return;
|
|
32
53
|
switch (type) {
|
|
@@ -37,18 +58,75 @@ const AuthSso = /* @__PURE__ */ vue.defineComponent({
|
|
|
37
58
|
wxWorkHandleClick();
|
|
38
59
|
break;
|
|
39
60
|
default:
|
|
40
|
-
|
|
41
|
-
type
|
|
42
|
-
}));
|
|
61
|
+
oauthHandleClick(params);
|
|
43
62
|
break;
|
|
44
63
|
}
|
|
45
64
|
};
|
|
46
65
|
return {
|
|
47
66
|
ns,
|
|
67
|
+
items,
|
|
48
68
|
handleThridLogin
|
|
49
69
|
};
|
|
50
70
|
},
|
|
51
71
|
render() {
|
|
72
|
+
if (this.items && this.items.length) {
|
|
73
|
+
return vue.createVNode("div", {
|
|
74
|
+
"class": this.ns.b()
|
|
75
|
+
}, [this.items.map((item) => {
|
|
76
|
+
var _a;
|
|
77
|
+
let icon;
|
|
78
|
+
if (item.sysImage) {
|
|
79
|
+
icon = vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
80
|
+
"icon": item.sysImage
|
|
81
|
+
}, null);
|
|
82
|
+
} else if (item.key === "DINGDING") {
|
|
83
|
+
icon = vue.createVNode("svg", {
|
|
84
|
+
"class": "icon",
|
|
85
|
+
"viewBox": "0 0 1024 1024",
|
|
86
|
+
"version": "1.1",
|
|
87
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
88
|
+
"p-id": "651",
|
|
89
|
+
"width": "48",
|
|
90
|
+
"height": "48"
|
|
91
|
+
}, [vue.createVNode("defs", null, [vue.createVNode("style", {
|
|
92
|
+
"type": "text/css"
|
|
93
|
+
}, null)]), vue.createVNode("path", {
|
|
94
|
+
"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",
|
|
95
|
+
"fill": "#3296FA",
|
|
96
|
+
"p-id": "652"
|
|
97
|
+
}, null)]);
|
|
98
|
+
} else if (item.key === "WXWORK") {
|
|
99
|
+
icon = vue.createVNode("svg", {
|
|
100
|
+
"class": "icon",
|
|
101
|
+
"width": "200px",
|
|
102
|
+
"height": "200.00px",
|
|
103
|
+
"viewBox": "0 0 1024 1024",
|
|
104
|
+
"version": "1.1",
|
|
105
|
+
"xmlns": "http://www.w3.org/2000/svg"
|
|
106
|
+
}, [vue.createVNode("path", {
|
|
107
|
+
"fill": "#36ab60",
|
|
108
|
+
"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"
|
|
109
|
+
}, null), vue.createVNode("path", {
|
|
110
|
+
"fill": "#36ab60",
|
|
111
|
+
"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"
|
|
112
|
+
}, null), vue.createVNode("path", {
|
|
113
|
+
"fill": "#36ab60",
|
|
114
|
+
"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"
|
|
115
|
+
}, null), vue.createVNode("path", {
|
|
116
|
+
"fill": "#36ab60",
|
|
117
|
+
"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"
|
|
118
|
+
}, null), vue.createVNode("path", {
|
|
119
|
+
"fill": "#36ab60",
|
|
120
|
+
"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"
|
|
121
|
+
}, null)]);
|
|
122
|
+
}
|
|
123
|
+
return vue.createVNode("div", {
|
|
124
|
+
"class": [this.ns.e("sign-btn"), this.ns.m(item.key === "WXWORK" ? "wx" : (_a = item.key) == null ? void 0 : _a.toLowerCase())],
|
|
125
|
+
"title": item.title,
|
|
126
|
+
"onClick": () => this.handleThridLogin(item.key, item.params)
|
|
127
|
+
}, [icon]);
|
|
128
|
+
})]);
|
|
129
|
+
}
|
|
52
130
|
return vue.createVNode("div", {
|
|
53
131
|
"class": this.ns.b()
|
|
54
132
|
}, [vue.createVNode("div", {
|
|
@@ -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%}
|
|
@@ -9,10 +9,16 @@ var runtime = require('@ibiz-template/runtime');
|
|
|
9
9
|
const AuthUserinfo = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
name: "IBizAuthUserinfo",
|
|
11
11
|
props: {
|
|
12
|
+
/**
|
|
13
|
+
* @description 用户信息组件模型数据
|
|
14
|
+
*/
|
|
12
15
|
modelData: {
|
|
13
16
|
type: Object,
|
|
14
17
|
required: true
|
|
15
18
|
},
|
|
19
|
+
/**
|
|
20
|
+
* @description 用户信息组件控制器
|
|
21
|
+
*/
|
|
16
22
|
controller: {
|
|
17
23
|
type: runtime.PanelItemController,
|
|
18
24
|
required: true
|
|
@@ -10,10 +10,16 @@ require('./nav-pos-index.css');
|
|
|
10
10
|
const NavPosIndex = /* @__PURE__ */ vue.defineComponent({
|
|
11
11
|
name: "IBizNavPosIndex",
|
|
12
12
|
props: {
|
|
13
|
+
/**
|
|
14
|
+
* @description 首页导航占位模型数据
|
|
15
|
+
*/
|
|
13
16
|
modelData: {
|
|
14
17
|
type: Object,
|
|
15
18
|
required: true
|
|
16
19
|
},
|
|
20
|
+
/**
|
|
21
|
+
* @description 首页导航占位控制器
|
|
22
|
+
*/
|
|
17
23
|
controller: {
|
|
18
24
|
type: navPosIndex_controller.NavPosIndexController,
|
|
19
25
|
required: true
|
|
@@ -16,39 +16,31 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
18
18
|
/**
|
|
19
|
-
* 导航视图的modal
|
|
20
|
-
* @
|
|
21
|
-
* @date 2023-05-12 09:47:52
|
|
19
|
+
* @description 导航视图的modal
|
|
20
|
+
* @exposedoc
|
|
22
21
|
* @type {{ [key: string]: IModal }}
|
|
23
22
|
*/
|
|
24
23
|
__publicField(this, "viewModals", {});
|
|
25
24
|
/**
|
|
26
|
-
* router对象
|
|
27
|
-
* @author lxm
|
|
28
|
-
* @date 2023-05-25 08:02:43
|
|
25
|
+
* @description router对象
|
|
29
26
|
* @type {Router}
|
|
30
27
|
*/
|
|
31
28
|
__publicField(this, "router");
|
|
32
29
|
/**
|
|
33
|
-
* 是否关闭后自动跳转上一个页面
|
|
34
|
-
* @
|
|
35
|
-
* @date 2023-05-25 08:43:49
|
|
30
|
+
* @description 是否关闭后自动跳转上一个页面
|
|
31
|
+
* @exposedoc
|
|
36
32
|
* @type {boolean}
|
|
37
33
|
*/
|
|
38
34
|
__publicField(this, "autoGoLast", true);
|
|
39
35
|
/**
|
|
40
|
-
* 自定义补充参数
|
|
41
|
-
*
|
|
42
|
-
* @author tony001
|
|
43
|
-
* @date 2025-01-21 16:01:25
|
|
36
|
+
* @description 自定义补充参数
|
|
37
|
+
* @exposedoc
|
|
44
38
|
* @type {IData}
|
|
45
39
|
*/
|
|
46
40
|
__publicField(this, "rawItemParams", {});
|
|
47
41
|
/**
|
|
48
|
-
* 无缓存
|
|
49
|
-
*
|
|
50
|
-
* @author tony001
|
|
51
|
-
* @date 2025-01-21 16:01:25
|
|
42
|
+
* @description 无缓存
|
|
43
|
+
* @exposedoc
|
|
52
44
|
* @type {boolean}
|
|
53
45
|
*/
|
|
54
46
|
__publicField(this, "noCache", false);
|
|
@@ -66,18 +58,16 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
66
58
|
this.router = router;
|
|
67
59
|
}
|
|
68
60
|
/**
|
|
69
|
-
* 当前视图的路由层级,非路由模式不存在。
|
|
70
|
-
* @
|
|
71
|
-
* @date 2023-05-09 12:46:26
|
|
61
|
+
* @description 当前视图的路由层级,非路由模式不存在。
|
|
62
|
+
* @exposedoc
|
|
72
63
|
* @readonly
|
|
73
64
|
*/
|
|
74
65
|
get routeDepth() {
|
|
75
66
|
return this.panel.view.modal.routeDepth;
|
|
76
67
|
}
|
|
77
68
|
/**
|
|
78
|
-
* 应用菜单控制器
|
|
79
|
-
* @
|
|
80
|
-
* @date 2023-05-10 08:41:42
|
|
69
|
+
* @description 应用菜单控制器
|
|
70
|
+
* @exposedoc
|
|
81
71
|
* @readonly
|
|
82
72
|
* @type {(IAppMenuController | undefined)}
|
|
83
73
|
*/
|
|
@@ -85,9 +75,8 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
85
75
|
return this.panel.getController("appmenu");
|
|
86
76
|
}
|
|
87
77
|
/**
|
|
88
|
-
* 改变显示视图
|
|
89
|
-
* @
|
|
90
|
-
* @date 2023-05-25 01:28:49
|
|
78
|
+
* @description 改变显示视图
|
|
79
|
+
* @exposedoc
|
|
91
80
|
* @param {string} key
|
|
92
81
|
*/
|
|
93
82
|
changeView(key) {
|
|
@@ -149,9 +138,8 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
149
138
|
}
|
|
150
139
|
}
|
|
151
140
|
/**
|
|
152
|
-
* 删除单个缓存
|
|
153
|
-
* @
|
|
154
|
-
* @date 2023-05-09 02:19:09
|
|
141
|
+
* @description 删除单个缓存
|
|
142
|
+
* @exposedoc
|
|
155
143
|
* @param {string} key
|
|
156
144
|
*/
|
|
157
145
|
removeCache(key) {
|
|
@@ -167,19 +155,16 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
167
155
|
}
|
|
168
156
|
}
|
|
169
157
|
/**
|
|
170
|
-
* 清空缓存
|
|
171
|
-
* @
|
|
172
|
-
* @date 2023-05-09 02:19:55
|
|
158
|
+
* @description 清空缓存
|
|
159
|
+
* @exposedoc
|
|
173
160
|
*/
|
|
174
161
|
clearCache() {
|
|
175
162
|
this.state.cacheKeys = [];
|
|
176
163
|
this.viewModals = {};
|
|
177
164
|
}
|
|
178
165
|
/**
|
|
179
|
-
* 关闭视图
|
|
180
|
-
*
|
|
181
|
-
* @author lxm
|
|
182
|
-
* @date 2023-05-25 03:10:23
|
|
166
|
+
* @description 关闭视图
|
|
167
|
+
* @exposedoc
|
|
183
168
|
* @param {string} keys
|
|
184
169
|
*/
|
|
185
170
|
async closeViewByKeys(keys) {
|
|
@@ -210,7 +195,8 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
210
195
|
}
|
|
211
196
|
}
|
|
212
197
|
/**
|
|
213
|
-
* 返回上一个页面或上一层空白路由
|
|
198
|
+
* @description 返回上一个页面或上一层空白路由
|
|
199
|
+
* @exposedoc
|
|
214
200
|
* @author lxm
|
|
215
201
|
* @date 2023-05-25 06:46:27
|
|
216
202
|
* @protected
|
|
@@ -13,30 +13,26 @@ class NavPosIndexState extends runtime.PanelItemState {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 当前导航视图标识
|
|
17
|
-
* @
|
|
18
|
-
* @date 2023-05-25 06:24:48
|
|
16
|
+
* @description 当前导航视图标识
|
|
17
|
+
* @exposedoc
|
|
19
18
|
* @type {string}
|
|
20
19
|
*/
|
|
21
20
|
__publicField(this, "currentKey", "");
|
|
22
21
|
/**
|
|
23
|
-
* 缓存的视图标识
|
|
24
|
-
* @
|
|
25
|
-
* @date 2023-05-25 06:25:21
|
|
22
|
+
* @description 缓存的视图标识
|
|
23
|
+
* @exposedoc
|
|
26
24
|
* @type {string[]}
|
|
27
25
|
*/
|
|
28
26
|
__publicField(this, "cacheKeys", ["RouterShell"]);
|
|
29
27
|
/**
|
|
30
|
-
* 导航视图详细信息
|
|
31
|
-
* @
|
|
32
|
-
* @date 2023-05-25 07:07:05
|
|
28
|
+
* @description 导航视图详细信息
|
|
29
|
+
* @exposedoc
|
|
33
30
|
* @type {INavViewMsg[]}
|
|
34
31
|
*/
|
|
35
32
|
__publicField(this, "navViewMsgs", {});
|
|
36
33
|
/**
|
|
37
|
-
* 导航的视图的操作顺序
|
|
38
|
-
* @
|
|
39
|
-
* @date 2023-05-25 06:25:34
|
|
34
|
+
* @description 导航的视图的操作顺序
|
|
35
|
+
* @exposedoc
|
|
40
36
|
* @type {string[]}
|
|
41
37
|
*/
|
|
42
38
|
__publicField(this, "operateSort", []);
|
|
@@ -12,10 +12,16 @@ require('./panel-app-title.css');
|
|
|
12
12
|
const PanelAppTitle = /* @__PURE__ */ vue.defineComponent({
|
|
13
13
|
name: "IBizPanelAppTitle",
|
|
14
14
|
props: {
|
|
15
|
+
/**
|
|
16
|
+
* @description 应用标题模型数据
|
|
17
|
+
*/
|
|
15
18
|
modelData: {
|
|
16
19
|
type: Object,
|
|
17
20
|
required: true
|
|
18
21
|
},
|
|
22
|
+
/**
|
|
23
|
+
* @description 应用标题控制器
|
|
24
|
+
*/
|
|
19
25
|
controller: {
|
|
20
26
|
type: panelAppTitle_controller.PanelAppTitleController,
|
|
21
27
|
required: true
|
|
@@ -13,58 +13,44 @@ class PanelAppTitleState extends runtime.PanelItemState {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 应用标题
|
|
17
|
-
*
|
|
18
|
-
* @author chitanda
|
|
19
|
-
* @date 2023-07-20 17:07:22
|
|
16
|
+
* @description 应用标题
|
|
17
|
+
* @exposedoc
|
|
20
18
|
* @type {string}
|
|
21
19
|
*/
|
|
22
20
|
__publicField(this, "caption", "");
|
|
23
21
|
/**
|
|
24
|
-
* 应用标题(收缩时)
|
|
25
|
-
*
|
|
26
|
-
* @author chitanda
|
|
27
|
-
* @date 2023-07-20 17:07:22
|
|
22
|
+
* @description 应用标题(收缩时)
|
|
23
|
+
* @exposedoc
|
|
28
24
|
* @type {string}
|
|
29
25
|
*/
|
|
30
26
|
__publicField(this, "caption2", "");
|
|
31
27
|
/**
|
|
32
|
-
* 应用子标题
|
|
33
|
-
*
|
|
34
|
-
* @author chitanda
|
|
35
|
-
* @date 2023-07-20 17:07:22
|
|
28
|
+
* @description 应用子标题
|
|
29
|
+
* @exposedoc
|
|
36
30
|
* @type {string}
|
|
37
31
|
*/
|
|
38
32
|
__publicField(this, "subCaption", "");
|
|
39
33
|
/**
|
|
40
|
-
* 应用子标题(收缩时)
|
|
41
|
-
*
|
|
42
|
-
* @author chitanda
|
|
43
|
-
* @date 2023-07-20 17:07:22
|
|
34
|
+
* @description 应用子标题(收缩时)
|
|
35
|
+
* @exposedoc
|
|
44
36
|
* @type {string}
|
|
45
37
|
*/
|
|
46
38
|
__publicField(this, "subCaption2", "");
|
|
47
39
|
/**
|
|
48
|
-
* 应用 logo 图片地址
|
|
49
|
-
*
|
|
50
|
-
* @author chitanda
|
|
51
|
-
* @date 2023-07-20 17:07:11
|
|
40
|
+
* @description 应用 logo 图片地址
|
|
41
|
+
* @exposedoc
|
|
52
42
|
* @type {string}
|
|
53
43
|
*/
|
|
54
44
|
__publicField(this, "icon", "");
|
|
55
45
|
/**
|
|
56
|
-
* 应用 logo 图片2地址(收缩时)
|
|
57
|
-
*
|
|
58
|
-
* @author chitanda
|
|
59
|
-
* @date 2023-07-20 17:07:11
|
|
46
|
+
* @description 应用 logo 图片2地址(收缩时)
|
|
47
|
+
* @exposedoc
|
|
60
48
|
* @type {string}
|
|
61
49
|
*/
|
|
62
50
|
__publicField(this, "icon2", "");
|
|
63
51
|
/**
|
|
64
|
-
* 是否为 svg 图标
|
|
65
|
-
*
|
|
66
|
-
* @author chitanda
|
|
67
|
-
* @date 2023-07-20 17:07:26
|
|
52
|
+
* @description 是否为 svg 图标
|
|
53
|
+
* @exposedoc
|
|
68
54
|
* @type {boolean}
|
|
69
55
|
*/
|
|
70
56
|
__publicField(this, "isSvg", false);
|
|
@@ -13,10 +13,16 @@ var buttonUtil = require('../../util/button-util/button-util.cjs');
|
|
|
13
13
|
const PanelButton = /* @__PURE__ */ vue.defineComponent({
|
|
14
14
|
name: "IBizPanelButton",
|
|
15
15
|
props: {
|
|
16
|
+
/**
|
|
17
|
+
* @description 按钮模型
|
|
18
|
+
*/
|
|
16
19
|
modelData: {
|
|
17
20
|
type: Object,
|
|
18
21
|
required: true
|
|
19
22
|
},
|
|
23
|
+
/**
|
|
24
|
+
* @description 按钮控制器
|
|
25
|
+
*/
|
|
20
26
|
controller: {
|
|
21
27
|
type: panelButton_controller.PanelButtonController,
|
|
22
28
|
required: true
|
|
@@ -10,9 +10,8 @@ class PanelButtonController extends runtime.PanelItemController {
|
|
|
10
10
|
return new panelButton_state.PanelButtonState((_a = this.parent) == null ? void 0 : _a.state);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* 父容器数据对象数据
|
|
14
|
-
* @
|
|
15
|
-
* @date 2023-07-15 01:33:58
|
|
13
|
+
* @description 父容器数据对象数据
|
|
14
|
+
* @exposedoc
|
|
16
15
|
* @readonly
|
|
17
16
|
* @type {IData}
|
|
18
17
|
*/
|
|
@@ -13,16 +13,14 @@ class PanelButtonState extends runtime.PanelItemState {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 加载中
|
|
17
|
-
* @
|
|
18
|
-
* @date 2023-07-21 10:11:21
|
|
16
|
+
* @description 加载中
|
|
17
|
+
* @exposedoc
|
|
19
18
|
* @type {boolean}
|
|
20
19
|
*/
|
|
21
20
|
__publicField(this, "loading", false);
|
|
22
21
|
/**
|
|
23
|
-
* 界面行为状态
|
|
24
|
-
* @
|
|
25
|
-
* @date 2023-07-21 03:34:27
|
|
22
|
+
* @description 界面行为状态
|
|
23
|
+
* @exposedoc
|
|
26
24
|
* @type {UIActionButtonState}
|
|
27
25
|
*/
|
|
28
26
|
__publicField(this, "uiActionState");
|
|
@@ -11,10 +11,16 @@ require('./panel-button-list.css');
|
|
|
11
11
|
const PanelButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
12
12
|
name: "IBizPanelButtonList",
|
|
13
13
|
props: {
|
|
14
|
+
/**
|
|
15
|
+
* @description 按钮组模型数据
|
|
16
|
+
*/
|
|
14
17
|
modelData: {
|
|
15
18
|
type: Object,
|
|
16
19
|
required: true
|
|
17
20
|
},
|
|
21
|
+
/**
|
|
22
|
+
* @description 按钮组控制器
|
|
23
|
+
*/
|
|
18
24
|
controller: {
|
|
19
25
|
type: panelButtonList_controller.PanelButtonListController,
|
|
20
26
|
required: true
|
|
@@ -10,9 +10,8 @@ class PanelButtonListController extends runtime.PanelItemController {
|
|
|
10
10
|
return new panelButtonList_state.PanelButtonListState((_a = this.parent) == null ? void 0 : _a.state);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* 父容器数据对象数据
|
|
14
|
-
* @
|
|
15
|
-
* @date 2023-07-15 01:33:58
|
|
13
|
+
* @description 父容器数据对象数据
|
|
14
|
+
* @exposedoc
|
|
16
15
|
* @readonly
|
|
17
16
|
* @type {IData}
|
|
18
17
|
*/
|
|
@@ -122,8 +121,8 @@ class PanelButtonListController extends runtime.PanelItemController {
|
|
|
122
121
|
return panelButtons == null ? void 0 : panelButtons.find((button) => button.id === id);
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
|
-
* 处理按钮点击
|
|
126
|
-
*
|
|
124
|
+
* @description 处理按钮点击
|
|
125
|
+
* @exposedoc
|
|
127
126
|
* @param {string} id
|
|
128
127
|
* @param {MouseEvent} [event]
|
|
129
128
|
* @return {*} {Promise<void>}
|