@ibiz-template/mob-vue3-components 0.0.55 → 0.7.41-alpha.10
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-pP9MJGoH.js +76 -0
- package/dist/index-pP9MJGoH.js.map +1 -0
- package/dist/index.min.css +8 -8
- package/dist/index.system.min.js +1 -1
- package/dist/{quill-t_EJUjVi.js → quill-EpIYtlVK.js} +2 -2
- package/dist/{quill-t_EJUjVi.js.map → quill-EpIYtlVK.js.map} +1 -1
- package/dist/{quill-editor-ybZrwyoG.js → quill-editor-U1UE37xw.js} +2 -2
- package/dist/quill-editor-U1UE37xw.js.map +1 -0
- package/dist/{quill-editor-preview-G9EjDfQE.js → quill-editor-preview-v7UO7Unq.js} +2 -2
- package/dist/{quill-editor-preview-G9EjDfQE.js.map → quill-editor-preview-v7UO7Unq.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/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/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.css +1 -1
- package/es/editor/text-box/input/input.d.ts +18 -8
- package/es/editor/text-box/input/input.mjs +23 -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 +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 +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/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/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/index17.cjs +2 -2
- package/lib/_virtual/index18.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/index.cjs +7 -0
- package/lib/editor/text-box/index.cjs +2 -0
- package/lib/editor/text-box/input/input.cjs +23 -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 +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 +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/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 +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
|
@@ -11,10 +11,16 @@ require('./panel-carousel.css');
|
|
|
11
11
|
const PanelCarousel = /* @__PURE__ */ vue.defineComponent({
|
|
12
12
|
name: "IBizPanelCarousel",
|
|
13
13
|
props: {
|
|
14
|
+
/**
|
|
15
|
+
* @description 轮播图控制器
|
|
16
|
+
*/
|
|
14
17
|
controller: {
|
|
15
18
|
type: panelCarousel_controller.PanelCarouselController,
|
|
16
19
|
required: true
|
|
17
20
|
},
|
|
21
|
+
/**
|
|
22
|
+
* @description 轮播图属性
|
|
23
|
+
*/
|
|
18
24
|
attrs: {
|
|
19
25
|
type: Object,
|
|
20
26
|
required: false
|
|
@@ -13,10 +13,8 @@ class PanelCarouselController extends runtime.PanelItemController {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 图片集
|
|
17
|
-
*
|
|
18
|
-
* @author zk
|
|
19
|
-
* @date 2023-12-08 01:12:38
|
|
16
|
+
* @description 图片集
|
|
17
|
+
* @exposedoc
|
|
20
18
|
* @memberof PanelCarouselController
|
|
21
19
|
*/
|
|
22
20
|
__publicField(this, "images", []);
|
|
@@ -12,10 +12,16 @@ function _isSlot(s) {
|
|
|
12
12
|
const PanelTabPanel = /* @__PURE__ */ vue.defineComponent({
|
|
13
13
|
name: "IBizPanelTabPanel",
|
|
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: panelTabPanel_controller.PanelTabPanelController,
|
|
21
27
|
required: true
|
|
@@ -30,10 +30,8 @@ class PanelTabPanelController extends runtime.PanelItemController {
|
|
|
30
30
|
this.state.activeTab = ((_a = this.model.panelTabPages) == null ? void 0 : _a[0].id) || "";
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* 分页点击切换处理
|
|
34
|
-
*
|
|
35
|
-
* @author tony001
|
|
36
|
-
* @date 2024-05-12 14:05:11
|
|
33
|
+
* @description 分页点击切换处理
|
|
34
|
+
* @exposedoc
|
|
37
35
|
* @param {string} tabId
|
|
38
36
|
*/
|
|
39
37
|
onTabChange(tabId) {
|
|
@@ -13,10 +13,8 @@ class PanelTabPanelState extends runtime.PanelItemState {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 当前激活分页
|
|
17
|
-
*
|
|
18
|
-
* @author tony001
|
|
19
|
-
* @date 2024-05-12 14:05:36
|
|
16
|
+
* @description 当前激活分页
|
|
17
|
+
* @exposedoc
|
|
20
18
|
* @type {string}
|
|
21
19
|
*/
|
|
22
20
|
__publicField(this, "activeTab", "");
|
|
@@ -12,6 +12,9 @@ require('./panel-video-player.css');
|
|
|
12
12
|
const PanelVideoPlayer = /* @__PURE__ */ vue.defineComponent({
|
|
13
13
|
name: "IBizPanelVideoPlayer",
|
|
14
14
|
props: {
|
|
15
|
+
/**
|
|
16
|
+
* @description 视频控制器
|
|
17
|
+
*/
|
|
15
18
|
controller: {
|
|
16
19
|
type: panelVideoPlayer_controller.PanelVideoPlayerController,
|
|
17
20
|
required: true
|
|
@@ -13,10 +13,8 @@ class PanelVideoPlayerController extends runtime.PanelItemController {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 视频播放器额外参数
|
|
17
|
-
*
|
|
18
|
-
* @author zk
|
|
19
|
-
* @date 2023-12-08 03:12:09
|
|
16
|
+
* @description 视频播放器额外参数
|
|
17
|
+
* @exposedoc
|
|
20
18
|
* @memberof PanelVideoPlayerController
|
|
21
19
|
*/
|
|
22
20
|
__publicField(this, "rawItemParams", {});
|
|
@@ -13,10 +13,16 @@ function _isSlot(s) {
|
|
|
13
13
|
const ViewContentPanelContainer = /* @__PURE__ */ vue.defineComponent({
|
|
14
14
|
name: "IBizViewContentPanelContainer",
|
|
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: vue3Util.PanelContainerController,
|
|
22
28
|
required: true
|
|
@@ -11,10 +11,16 @@ function _isSlot(s) {
|
|
|
11
11
|
const ViewFooterPanelContainer = /* @__PURE__ */ vue.defineComponent({
|
|
12
12
|
name: "IBizViewFooterPanelContainer",
|
|
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: vue3Util.PanelContainerController,
|
|
20
26
|
required: true
|
|
@@ -14,10 +14,16 @@ function _isSlot(s) {
|
|
|
14
14
|
const ViewHeaderPanelContainer = /* @__PURE__ */ vue.defineComponent({
|
|
15
15
|
name: "IBizViewHeaderPanelContainer",
|
|
16
16
|
props: {
|
|
17
|
+
/**
|
|
18
|
+
* @description 容器模型数据
|
|
19
|
+
*/
|
|
17
20
|
modelData: {
|
|
18
21
|
type: Object,
|
|
19
22
|
required: true
|
|
20
23
|
},
|
|
24
|
+
/**
|
|
25
|
+
* @description 容器控制器
|
|
26
|
+
*/
|
|
21
27
|
controller: {
|
|
22
28
|
type: vue3Util.PanelContainerController,
|
|
23
29
|
required: true
|
|
@@ -47,11 +53,21 @@ const ViewHeaderPanelContainer = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
53
|
result = [...result, ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible)];
|
|
48
54
|
return result;
|
|
49
55
|
});
|
|
56
|
+
const showHeader = vue.computed(() => {
|
|
57
|
+
var _a;
|
|
58
|
+
const {
|
|
59
|
+
appViewParams
|
|
60
|
+
} = view.model;
|
|
61
|
+
const value = (_a = appViewParams == null ? void 0 : appViewParams.find((item) => item.id.toLowerCase() === "mobshowviewheader")) == null ? void 0 : _a.value;
|
|
62
|
+
const mobShowViewHeader = value ? Object.is(value, "true") : ibiz.config.view.mobShowViewHeader;
|
|
63
|
+
return mobShowViewHeader;
|
|
64
|
+
});
|
|
50
65
|
return {
|
|
51
66
|
ns,
|
|
52
67
|
classArr,
|
|
53
68
|
backButtonVisible,
|
|
54
|
-
view
|
|
69
|
+
view,
|
|
70
|
+
showHeader
|
|
55
71
|
};
|
|
56
72
|
},
|
|
57
73
|
render() {
|
|
@@ -60,8 +76,13 @@ const ViewHeaderPanelContainer = /* @__PURE__ */ vue.defineComponent({
|
|
|
60
76
|
return;
|
|
61
77
|
}
|
|
62
78
|
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
79
|
+
const style = {};
|
|
80
|
+
if (!this.showHeader) {
|
|
81
|
+
style.display = "none";
|
|
82
|
+
}
|
|
63
83
|
return vue.createVNode(vue.resolveComponent("iBizRow"), {
|
|
64
84
|
"class": this.classArr,
|
|
85
|
+
"style": style,
|
|
65
86
|
"layout": this.modelData.layout
|
|
66
87
|
}, {
|
|
67
88
|
default: () => [vue.createVNode(vue.resolveComponent("iBizPresetViewBack"), {
|
|
@@ -11,10 +11,16 @@ require('./wf-action-button.css');
|
|
|
11
11
|
const WFActionButton = /* @__PURE__ */ vue.defineComponent({
|
|
12
12
|
name: "IBizWFActionButton",
|
|
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: wfActionButton_controller.WFActionButtonController,
|
|
20
26
|
required: true
|
|
@@ -10,10 +10,8 @@ class WFActionButtonController extends runtime.PanelItemController {
|
|
|
10
10
|
return new wfActionButton_state.WFActionButtonState((_a = this.parent) == null ? void 0 : _a.state);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* 工作流动态按钮
|
|
14
|
-
*
|
|
15
|
-
* @author zk
|
|
16
|
-
* @date 2023-11-12 06:11:28
|
|
13
|
+
* @description 工作流动态按钮
|
|
14
|
+
* @exposedoc
|
|
17
15
|
* @readonly
|
|
18
16
|
* @type {IData[]}
|
|
19
17
|
* @memberof WFActionButtonController
|
|
@@ -13,10 +13,8 @@ class WFActionButtonState extends runtime.PanelItemState {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 工作流按钮数组
|
|
17
|
-
*
|
|
18
|
-
* @author zk
|
|
19
|
-
* @date 2023-11-09 11:11:49
|
|
16
|
+
* @description 工作流按钮数组
|
|
17
|
+
* @exposedoc
|
|
20
18
|
* @type {IData[]}
|
|
21
19
|
* @memberof WFActionButtonState
|
|
22
20
|
*/
|
|
@@ -72,10 +72,8 @@ class WFStepTraceController extends runtime.PanelItemController {
|
|
|
72
72
|
return noDup;
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
* 获取数据
|
|
76
|
-
*
|
|
77
|
-
* @author zk
|
|
78
|
-
* @date 2023-07-04 05:07:57
|
|
75
|
+
* @description 获取数据
|
|
76
|
+
* @exposedoc
|
|
79
77
|
* @return {*}
|
|
80
78
|
* @memberof WFStepTraceController
|
|
81
79
|
*/
|
|
@@ -13,10 +13,8 @@ class WFStepTraceState extends runtime.PanelItemState {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 流程跟踪数据
|
|
17
|
-
*
|
|
18
|
-
* @author zk
|
|
19
|
-
* @date 2023-07-04 01:07:30
|
|
16
|
+
* @description 流程跟踪数据
|
|
17
|
+
* @exposedoc
|
|
20
18
|
* @type {IData}
|
|
21
19
|
* @memberof WFStepTraceState
|
|
22
20
|
*/
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var core = require('@ibiz-template/core');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
4
5
|
|
|
5
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
|
+
};
|
|
6
13
|
class AppUtil {
|
|
7
14
|
/**
|
|
8
15
|
* Creates an instance of AppUtil.
|
|
@@ -12,6 +19,30 @@ class AppUtil {
|
|
|
12
19
|
*/
|
|
13
20
|
constructor(router) {
|
|
14
21
|
this.router = router;
|
|
22
|
+
/**
|
|
23
|
+
* @description 视图缓存中心
|
|
24
|
+
* @type {Map<string, IApiViewController>}
|
|
25
|
+
* @memberof AppUtil
|
|
26
|
+
*/
|
|
27
|
+
__publicField(this, "viewCacheCenter", /* @__PURE__ */ new Map());
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @description 路由是否初始化构建完成
|
|
31
|
+
* @returns {*} {Promise<void>}
|
|
32
|
+
* @memberof AppUtil
|
|
33
|
+
*/
|
|
34
|
+
async onRouteIsReady() {
|
|
35
|
+
return this.router.isReady();
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* 获取应用上下文
|
|
39
|
+
*
|
|
40
|
+
* @return {*} {(IParams | undefined)}
|
|
41
|
+
* @memberof AppUtil
|
|
42
|
+
*/
|
|
43
|
+
getAppContext() {
|
|
44
|
+
const routePath = vue3Util.route2routePath(this.router.currentRoute.value);
|
|
45
|
+
return routePath.appContext;
|
|
15
46
|
}
|
|
16
47
|
/**
|
|
17
48
|
* 登录
|
|
@@ -162,6 +193,41 @@ class AppUtil {
|
|
|
162
193
|
async openAiChat(params) {
|
|
163
194
|
throw new core.RuntimeError(ibiz.i18n.t("app.noSupport"));
|
|
164
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* @description 当前路由转换成路由路径对象
|
|
198
|
+
* @param {boolean} [isRouteModal]
|
|
199
|
+
* @returns {*} {{
|
|
200
|
+
* appContext?: IParams;
|
|
201
|
+
* pathNodes: {
|
|
202
|
+
* viewName: string;
|
|
203
|
+
* context?: IParams;
|
|
204
|
+
* params?: IParams;
|
|
205
|
+
* srfnav?: string;
|
|
206
|
+
* }[];
|
|
207
|
+
* }}
|
|
208
|
+
* @memberof AppUtil
|
|
209
|
+
*/
|
|
210
|
+
route2routeObject(isRouteModal) {
|
|
211
|
+
const routePath = vue3Util.route2routePath(this.router.currentRoute.value);
|
|
212
|
+
return routePath;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* @description 路由路径对象转化为路由路径
|
|
216
|
+
* @param {{
|
|
217
|
+
* appContext?: IParams;
|
|
218
|
+
* pathNodes: {
|
|
219
|
+
* viewName: string;
|
|
220
|
+
* context?: IParams;
|
|
221
|
+
* params?: IParams;
|
|
222
|
+
* srfnav?: string;
|
|
223
|
+
* }[];
|
|
224
|
+
* }} routePath
|
|
225
|
+
* @returns {*} {string}
|
|
226
|
+
* @memberof AppUtil
|
|
227
|
+
*/
|
|
228
|
+
routeObject2String(routePath) {
|
|
229
|
+
return vue3Util.routePath2string(routePath);
|
|
230
|
+
}
|
|
165
231
|
}
|
|
166
232
|
|
|
167
233
|
exports.AppUtil = AppUtil;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var core = require('@ibiz-template/core');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
var ramda = require('ramda');
|
|
5
6
|
|
|
6
7
|
"use strict";
|
|
7
8
|
class OpenViewUtil {
|
|
@@ -24,12 +25,11 @@ class OpenViewUtil {
|
|
|
24
25
|
}
|
|
25
26
|
async root(appViewId, context, params, opts = {}) {
|
|
26
27
|
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
);
|
|
28
|
+
const route = this.router.currentRoute.value;
|
|
29
|
+
const { path } = await vue3Util.generateRoutePath(appView, route, context, params);
|
|
30
|
+
if (route.meta.home && ramda.isNil(opts.replace) && ibiz.config.mob.mobHomeRouteMode === "replace") {
|
|
31
|
+
opts.replace = true;
|
|
32
|
+
}
|
|
33
33
|
return vue3Util.routerCallback.open(this.router, path, opts);
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
@@ -43,9 +43,11 @@ class LoginViewEngine extends runtime.ViewEngineBase {
|
|
|
43
43
|
async call(key, args = {}) {
|
|
44
44
|
if (key === runtime.SysUIActionTag.LOGIN) {
|
|
45
45
|
await this.login(args);
|
|
46
|
+
return null;
|
|
46
47
|
}
|
|
47
48
|
if (key === runtime.SysUIActionTag.CANCEL_CHANGES) {
|
|
48
49
|
await this.cancelChanges();
|
|
50
|
+
return null;
|
|
49
51
|
}
|
|
50
52
|
return super.call(key, args);
|
|
51
53
|
}
|
|
@@ -15,7 +15,6 @@ class MobDataViewEngine extends runtime.MDViewEngine {
|
|
|
15
15
|
get dataview() {
|
|
16
16
|
return this.view.getController("dataview");
|
|
17
17
|
}
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
19
18
|
async call(key, args) {
|
|
20
19
|
if (key === runtime.SysUIActionTag.LOAD_MORE) {
|
|
21
20
|
await this.loadMore();
|
|
@@ -118,7 +118,6 @@ class MobEditViewEngine extends runtime.ViewEngineBase {
|
|
|
118
118
|
async refresh() {
|
|
119
119
|
await this.load();
|
|
120
120
|
}
|
|
121
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
122
121
|
async call(key, args) {
|
|
123
122
|
if (key === runtime.SysUIActionTag.SAVE) {
|
|
124
123
|
await this.form.save();
|
|
@@ -134,18 +133,23 @@ class MobEditViewEngine extends runtime.ViewEngineBase {
|
|
|
134
133
|
}
|
|
135
134
|
if (key === runtime.SysUIActionTag.SAVE_AND_NEW) {
|
|
136
135
|
this.saveAndNew();
|
|
136
|
+
return null;
|
|
137
137
|
}
|
|
138
138
|
if (key === runtime.SysUIActionTag.REFRESH) {
|
|
139
139
|
await this.refresh();
|
|
140
|
+
return null;
|
|
140
141
|
}
|
|
141
142
|
if (key === runtime.SysUIActionTag.SAVE_AND_START) {
|
|
142
143
|
await this.wfStart();
|
|
144
|
+
return null;
|
|
143
145
|
}
|
|
144
146
|
if (key === runtime.SysUIActionTag.VIEW_WF_STEP) {
|
|
145
147
|
await this.wfSubmit();
|
|
148
|
+
return null;
|
|
146
149
|
}
|
|
147
150
|
if (key === runtime.ViewCallTag.WF_WITHDRAW) {
|
|
148
151
|
await this.wfWithdraw();
|
|
152
|
+
return null;
|
|
149
153
|
}
|
|
150
154
|
return super.call(key, args);
|
|
151
155
|
}
|
|
@@ -7,7 +7,6 @@ class MobMDViewEngine extends runtime.MDViewEngine {
|
|
|
7
7
|
get mdctrl() {
|
|
8
8
|
return this.view.getController("mdctrl");
|
|
9
9
|
}
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
11
10
|
async call(key, args) {
|
|
12
11
|
if (key === runtime.SysUIActionTag.LOAD_MORE) {
|
|
13
12
|
await this.loadMore();
|
|
@@ -77,7 +77,6 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
|
|
|
77
77
|
this.view.layoutPanel.panelItems.simplelist.state.visible = false;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
81
80
|
async call(key, args) {
|
|
82
81
|
if (key === runtime.SysUIActionTag.CANCEL) {
|
|
83
82
|
this.cancel();
|
|
@@ -104,28 +103,11 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
|
|
|
104
103
|
/**
|
|
105
104
|
* 选择面板激活数据
|
|
106
105
|
*
|
|
107
|
-
* @param {IData[]} data
|
|
108
|
-
* @memberof MobMPickupViewEngine
|
|
109
|
-
*/
|
|
110
|
-
pickupViewPanelDataActive(data) {
|
|
111
|
-
const allData = this.simpleList.getAllData();
|
|
112
|
-
const items = [...allData, ...data];
|
|
113
|
-
const uniqueItems = this.handleUniqueItems(items);
|
|
114
|
-
this.simpleList.setData(uniqueItems);
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* 去重数组
|
|
118
|
-
*
|
|
119
|
-
* @protected
|
|
120
|
-
* @param {IData[]} arr
|
|
121
|
-
* @return {*} {IData[]}
|
|
122
106
|
* @memberof MobMPickupViewEngine
|
|
123
107
|
*/
|
|
124
|
-
|
|
125
|
-
const
|
|
126
|
-
|
|
127
|
-
(item) => !res.has(item.srfkey) && res.set(item.srfkey, 1)
|
|
128
|
-
);
|
|
108
|
+
async pickupViewPanelDataActive() {
|
|
109
|
+
const selectedData = await this.pickupViewPanel.getSelectedData();
|
|
110
|
+
await this.handlePushSimpleListItems(selectedData);
|
|
129
111
|
}
|
|
130
112
|
/**
|
|
131
113
|
* 选则面板激活数据
|
|
@@ -169,10 +151,26 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
|
|
|
169
151
|
* @param {IData[]} data
|
|
170
152
|
* @memberof MobMPickupViewEngine
|
|
171
153
|
*/
|
|
172
|
-
handlePushSimpleListItems(data) {
|
|
173
|
-
const
|
|
174
|
-
const
|
|
175
|
-
|
|
154
|
+
async handlePushSimpleListItems(data) {
|
|
155
|
+
const items = await this.pickupViewPanel.getAllData();
|
|
156
|
+
const selectItems = this.simpleList.getAllData().filter((selected) => !items.some((item) => item.srfkey === selected.srfkey));
|
|
157
|
+
selectItems.push(...data);
|
|
158
|
+
const uniqueItems = this.handleUniqueItems(selectItems);
|
|
159
|
+
this.setSelectedData(uniqueItems);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* 去重数组
|
|
163
|
+
*
|
|
164
|
+
* @protected
|
|
165
|
+
* @param {IData[]} arr
|
|
166
|
+
* @return {*} {IData[]}
|
|
167
|
+
* @memberof MobMPickupViewEngine
|
|
168
|
+
*/
|
|
169
|
+
handleUniqueItems(arr) {
|
|
170
|
+
const res = /* @__PURE__ */ new Map();
|
|
171
|
+
return arr.filter(
|
|
172
|
+
(item) => !res.has(item.srfkey) && res.set(item.srfkey, 1)
|
|
173
|
+
);
|
|
176
174
|
}
|
|
177
175
|
/**
|
|
178
176
|
* 添加所有
|
|
@@ -193,7 +191,7 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
|
|
|
193
191
|
* @memberof MobMPickupViewEngine
|
|
194
192
|
*/
|
|
195
193
|
removeAll() {
|
|
196
|
-
this.
|
|
194
|
+
this.setSelectedData([]);
|
|
197
195
|
}
|
|
198
196
|
/**
|
|
199
197
|
* 添加选中
|
|
@@ -223,6 +221,16 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
|
|
|
223
221
|
items.splice(index, 1);
|
|
224
222
|
}
|
|
225
223
|
});
|
|
224
|
+
this.setSelectedData(items);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* @description 设置选中数据
|
|
228
|
+
* @protected
|
|
229
|
+
* @param {IData[]} items
|
|
230
|
+
* @memberof MPickupViewEngine
|
|
231
|
+
*/
|
|
232
|
+
setSelectedData(items) {
|
|
233
|
+
super.setSelectedData(items);
|
|
226
234
|
this.simpleList.setData(items);
|
|
227
235
|
}
|
|
228
236
|
/**
|
|
@@ -37,7 +37,6 @@ class PickupMDViewEngine extends runtime.MDViewEngine {
|
|
|
37
37
|
this.load();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
41
40
|
async call(key, args) {
|
|
42
41
|
if (key === "GetAllData") {
|
|
43
42
|
return this.mdctrl.state.items;
|
|
@@ -45,6 +45,10 @@ class MobPickupViewEngine extends runtime.ViewEngineBase {
|
|
|
45
45
|
this.view.slotProps.pickupviewpanel = {};
|
|
46
46
|
}
|
|
47
47
|
this.view.slotProps.pickupviewpanel.singleSelect = true;
|
|
48
|
+
if (this.view.params.selecteddata) {
|
|
49
|
+
this.selectedData = JSON.parse(this.view.params.selecteddata);
|
|
50
|
+
delete this.view.params.selecteddata;
|
|
51
|
+
}
|
|
48
52
|
}
|
|
49
53
|
/**
|
|
50
54
|
* 视图mounted生命周期执行逻辑
|
|
@@ -60,6 +64,17 @@ class MobPickupViewEngine extends runtime.ViewEngineBase {
|
|
|
60
64
|
this.pickupViewPanel.evt.on("onDataActive", (event) => {
|
|
61
65
|
this.pickupViewPanelDataActive(event.data);
|
|
62
66
|
});
|
|
67
|
+
this.setSelectedData(this.selectedData);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @description 设置选中数据
|
|
71
|
+
* @protected
|
|
72
|
+
* @param {IData[]} items
|
|
73
|
+
* @memberof PickupViewEngine
|
|
74
|
+
*/
|
|
75
|
+
setSelectedData(items) {
|
|
76
|
+
this.selectedData = items;
|
|
77
|
+
this.pickupViewPanel.setSelectedData(items);
|
|
63
78
|
}
|
|
64
79
|
/**
|
|
65
80
|
* 选则面板激活数据
|
|
@@ -73,7 +88,6 @@ class MobPickupViewEngine extends runtime.ViewEngineBase {
|
|
|
73
88
|
this.selectedData = data;
|
|
74
89
|
this.view.closeView({ ok: true, data: this.selectedData });
|
|
75
90
|
}
|
|
76
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
77
91
|
async call(key, args) {
|
|
78
92
|
if (key === runtime.SysUIActionTag.CANCEL) {
|
|
79
93
|
this.cancel();
|
|
@@ -118,7 +118,6 @@ class MobTabSearchViewEngine extends mobTabExpView_engine.MobTabExpViewEngine {
|
|
|
118
118
|
this.searchBar.placeHolder = caption || "";
|
|
119
119
|
this.searchBar.state.quickSearchPlaceHolder = caption || "";
|
|
120
120
|
}
|
|
121
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
122
121
|
async call(key, args) {
|
|
123
122
|
if (key === runtime.SysUIActionTag.SEARCH) {
|
|
124
123
|
await this.searchForm.search();
|
|
@@ -20,7 +20,6 @@ class MobWFDynaActionViewEngine extends mobWfDynaEditView_engine.MobWFDynaEditVi
|
|
|
20
20
|
const processForm = this.view.context.processForm ? `wfform_${this.view.context.processForm}` : "form";
|
|
21
21
|
return processForm;
|
|
22
22
|
}
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
24
23
|
async call(key, args) {
|
|
25
24
|
if (key === runtime.SysUIActionTag.OK) {
|
|
26
25
|
this.onOkButtonClick();
|
|
@@ -247,7 +247,6 @@ class MobWFDynaEditViewEngine extends mobEditView_engine.MobEditViewEngine {
|
|
|
247
247
|
await this.view.closeView();
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
251
250
|
async call(key, args) {
|
|
252
251
|
if (key === "WFAction") {
|
|
253
252
|
this.onLinkClick(args.id);
|
|
@@ -20,7 +20,6 @@ class MobWFDynaStartViewEngine extends mobWfDynaEditView_engine.MobWFDynaEditVie
|
|
|
20
20
|
const processForm = this.view.context.processForm ? `wfform_${this.view.context.processForm}` : "form";
|
|
21
21
|
return processForm;
|
|
22
22
|
}
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
24
23
|
async call(key, args) {
|
|
25
24
|
if (key === runtime.SysUIActionTag.OK) {
|
|
26
25
|
this.onOkButtonClick();
|