@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
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { RuntimeError } from '@ibiz-template/core';
|
|
2
|
+
import { route2routePath, routePath2string } from '@ibiz-template/vue3-util';
|
|
2
3
|
|
|
3
4
|
"use strict";
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
+
var __publicField = (obj, key, value) => {
|
|
8
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
9
|
+
return value;
|
|
10
|
+
};
|
|
4
11
|
class AppUtil {
|
|
5
12
|
/**
|
|
6
13
|
* Creates an instance of AppUtil.
|
|
@@ -10,6 +17,30 @@ class AppUtil {
|
|
|
10
17
|
*/
|
|
11
18
|
constructor(router) {
|
|
12
19
|
this.router = router;
|
|
20
|
+
/**
|
|
21
|
+
* @description 视图缓存中心
|
|
22
|
+
* @type {Map<string, IApiViewController>}
|
|
23
|
+
* @memberof AppUtil
|
|
24
|
+
*/
|
|
25
|
+
__publicField(this, "viewCacheCenter", /* @__PURE__ */ new Map());
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @description 路由是否初始化构建完成
|
|
29
|
+
* @returns {*} {Promise<void>}
|
|
30
|
+
* @memberof AppUtil
|
|
31
|
+
*/
|
|
32
|
+
async onRouteIsReady() {
|
|
33
|
+
return this.router.isReady();
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 获取应用上下文
|
|
37
|
+
*
|
|
38
|
+
* @return {*} {(IParams | undefined)}
|
|
39
|
+
* @memberof AppUtil
|
|
40
|
+
*/
|
|
41
|
+
getAppContext() {
|
|
42
|
+
const routePath = route2routePath(this.router.currentRoute.value);
|
|
43
|
+
return routePath.appContext;
|
|
13
44
|
}
|
|
14
45
|
/**
|
|
15
46
|
* 登录
|
|
@@ -160,6 +191,41 @@ class AppUtil {
|
|
|
160
191
|
async openAiChat(params) {
|
|
161
192
|
throw new RuntimeError(ibiz.i18n.t("app.noSupport"));
|
|
162
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* @description 当前路由转换成路由路径对象
|
|
196
|
+
* @param {boolean} [isRouteModal]
|
|
197
|
+
* @returns {*} {{
|
|
198
|
+
* appContext?: IParams;
|
|
199
|
+
* pathNodes: {
|
|
200
|
+
* viewName: string;
|
|
201
|
+
* context?: IParams;
|
|
202
|
+
* params?: IParams;
|
|
203
|
+
* srfnav?: string;
|
|
204
|
+
* }[];
|
|
205
|
+
* }}
|
|
206
|
+
* @memberof AppUtil
|
|
207
|
+
*/
|
|
208
|
+
route2routeObject(isRouteModal) {
|
|
209
|
+
const routePath = route2routePath(this.router.currentRoute.value);
|
|
210
|
+
return routePath;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* @description 路由路径对象转化为路由路径
|
|
214
|
+
* @param {{
|
|
215
|
+
* appContext?: IParams;
|
|
216
|
+
* pathNodes: {
|
|
217
|
+
* viewName: string;
|
|
218
|
+
* context?: IParams;
|
|
219
|
+
* params?: IParams;
|
|
220
|
+
* srfnav?: string;
|
|
221
|
+
* }[];
|
|
222
|
+
* }} routePath
|
|
223
|
+
* @returns {*} {string}
|
|
224
|
+
* @memberof AppUtil
|
|
225
|
+
*/
|
|
226
|
+
routeObject2String(routePath) {
|
|
227
|
+
return routePath2string(routePath);
|
|
228
|
+
}
|
|
163
229
|
}
|
|
164
230
|
|
|
165
231
|
export { AppUtil };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UrlHelper } from '@ibiz-template/core';
|
|
2
2
|
import { generateRoutePathByModal, routerCallback, generateRoutePath, openViewModal, openViewPopover, getDrawerPlacement, openViewDrawer } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { isNil } from 'ramda';
|
|
3
4
|
|
|
4
5
|
"use strict";
|
|
5
6
|
class OpenViewUtil {
|
|
@@ -22,12 +23,11 @@ class OpenViewUtil {
|
|
|
22
23
|
}
|
|
23
24
|
async root(appViewId, context, params, opts = {}) {
|
|
24
25
|
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
);
|
|
26
|
+
const route = this.router.currentRoute.value;
|
|
27
|
+
const { path } = await generateRoutePath(appView, route, context, params);
|
|
28
|
+
if (route.meta.home && isNil(opts.replace) && ibiz.config.mob.mobHomeRouteMode === "replace") {
|
|
29
|
+
opts.replace = true;
|
|
30
|
+
}
|
|
31
31
|
return routerCallback.open(this.router, path, opts);
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
@@ -3,7 +3,7 @@ import { IModalOptions, IOverlayContainer } from '@ibiz-template/runtime';
|
|
|
3
3
|
import './scan-qrcode.scss';
|
|
4
4
|
export declare const ScanQrcodeComponent: import("vue").DefineComponent<{
|
|
5
5
|
opts: {
|
|
6
|
-
type: PropType<
|
|
6
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
7
7
|
default: () => {};
|
|
8
8
|
};
|
|
9
9
|
}, {
|
|
@@ -17,11 +17,11 @@ export declare const ScanQrcodeComponent: import("vue").DefineComponent<{
|
|
|
17
17
|
onClose: () => void;
|
|
18
18
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
opts: {
|
|
20
|
-
type: PropType<
|
|
20
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
21
21
|
default: () => {};
|
|
22
22
|
};
|
|
23
23
|
}>>, {
|
|
24
|
-
opts:
|
|
24
|
+
opts: import("@ibiz-template/core").IApiParams;
|
|
25
25
|
}, {}>;
|
|
26
26
|
/**
|
|
27
27
|
* 创建模态框
|
|
@@ -9,7 +9,7 @@ export declare const LoginView: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
login: () => Promise<void>;
|
|
10
10
|
title: Ref<string | undefined>;
|
|
11
11
|
loading: Ref<boolean>;
|
|
12
|
-
formRef: Ref<
|
|
12
|
+
formRef: Ref<import("@ibiz-template/core").IApiData | null>;
|
|
13
13
|
isMounted: Ref<boolean>;
|
|
14
14
|
hasLoginView: Ref<boolean>;
|
|
15
15
|
isAnonymous: Ref<boolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const IBizPortalView: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
context: import("vue").PropType<
|
|
2
|
+
context: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
3
3
|
params: {
|
|
4
|
-
type: import("vue").PropType<
|
|
4
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
5
5
|
default: () => {};
|
|
6
6
|
};
|
|
7
7
|
modelData: {
|
|
@@ -12,7 +12,7 @@ export declare const IBizPortalView: import("@ibiz-template/vue3-util").TypeWith
|
|
|
12
12
|
type: import("vue").PropType<import("@ibiz-template/runtime").IModal>;
|
|
13
13
|
};
|
|
14
14
|
state: {
|
|
15
|
-
type: import("vue").PropType<
|
|
15
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiData>;
|
|
16
16
|
};
|
|
17
17
|
}, {
|
|
18
18
|
c: import("@ibiz-template/runtime").ViewController<import("@ibiz/model-core").IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
|
|
@@ -20,9 +20,9 @@ export declare const IBizPortalView: import("@ibiz-template/vue3-util").TypeWith
|
|
|
20
20
|
controls: import("@ibiz/model-core").IControl[] | undefined;
|
|
21
21
|
viewClassNames: (string | undefined)[];
|
|
22
22
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
-
context: import("vue").PropType<
|
|
23
|
+
context: import("vue").PropType<import("@ibiz-template/core").IApiContext>;
|
|
24
24
|
params: {
|
|
25
|
-
type: import("vue").PropType<
|
|
25
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiParams>;
|
|
26
26
|
default: () => {};
|
|
27
27
|
};
|
|
28
28
|
modelData: {
|
|
@@ -33,8 +33,8 @@ export declare const IBizPortalView: import("@ibiz-template/vue3-util").TypeWith
|
|
|
33
33
|
type: import("vue").PropType<import("@ibiz-template/runtime").IModal>;
|
|
34
34
|
};
|
|
35
35
|
state: {
|
|
36
|
-
type: import("vue").PropType<
|
|
36
|
+
type: import("vue").PropType<import("@ibiz-template/core").IApiData>;
|
|
37
37
|
};
|
|
38
38
|
}>>, {
|
|
39
|
-
params:
|
|
39
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
40
40
|
}, {}>>;
|
|
@@ -3,9 +3,9 @@ import { IAppPortalView } from '@ibiz/model-core';
|
|
|
3
3
|
import { PropType } from 'vue';
|
|
4
4
|
import './portal-view.scss';
|
|
5
5
|
export declare const PortalView: import("vue").DefineComponent<{
|
|
6
|
-
context: PropType<
|
|
6
|
+
context: PropType<import("@ibiz-template/core").IApiContext>;
|
|
7
7
|
params: {
|
|
8
|
-
type: PropType<
|
|
8
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
9
9
|
default: () => {};
|
|
10
10
|
};
|
|
11
11
|
modelData: {
|
|
@@ -16,7 +16,7 @@ export declare const PortalView: import("vue").DefineComponent<{
|
|
|
16
16
|
type: PropType<IModal>;
|
|
17
17
|
};
|
|
18
18
|
state: {
|
|
19
|
-
type: PropType<
|
|
19
|
+
type: PropType<import("@ibiz-template/core").IApiData>;
|
|
20
20
|
};
|
|
21
21
|
}, {
|
|
22
22
|
c: ViewController<import("@ibiz/model-core").IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
|
|
@@ -24,9 +24,9 @@ export declare const PortalView: import("vue").DefineComponent<{
|
|
|
24
24
|
controls: import("@ibiz/model-core").IControl[] | undefined;
|
|
25
25
|
viewClassNames: (string | undefined)[];
|
|
26
26
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
context: PropType<
|
|
27
|
+
context: PropType<import("@ibiz-template/core").IApiContext>;
|
|
28
28
|
params: {
|
|
29
|
-
type: PropType<
|
|
29
|
+
type: PropType<import("@ibiz-template/core").IApiParams>;
|
|
30
30
|
default: () => {};
|
|
31
31
|
};
|
|
32
32
|
modelData: {
|
|
@@ -37,8 +37,8 @@ export declare const PortalView: import("vue").DefineComponent<{
|
|
|
37
37
|
type: PropType<IModal>;
|
|
38
38
|
};
|
|
39
39
|
state: {
|
|
40
|
-
type: PropType<
|
|
40
|
+
type: PropType<import("@ibiz-template/core").IApiData>;
|
|
41
41
|
};
|
|
42
42
|
}>>, {
|
|
43
|
-
params:
|
|
43
|
+
params: import("@ibiz-template/core").IApiParams;
|
|
44
44
|
}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewController, ViewEngineBase, IAppLoginViewState, IAppLoginViewEvent } from '@ibiz-template/runtime';
|
|
1
|
+
import { ViewController, ViewEngineBase, IAppLoginViewState, IAppLoginViewEvent, IApiLoginViewCall } from '@ibiz-template/runtime';
|
|
2
2
|
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
3
3
|
import { IAppView } from '@ibiz/model-core';
|
|
4
4
|
export declare class LoginViewEngine extends ViewEngineBase {
|
|
@@ -35,7 +35,7 @@ export declare class LoginViewEngine extends ViewEngineBase {
|
|
|
35
35
|
* @memberof LoginViewEngine
|
|
36
36
|
*/
|
|
37
37
|
onDestroyed(): Promise<void>;
|
|
38
|
-
call(key:
|
|
38
|
+
call(key: keyof IApiLoginViewCall, args?: IData): Promise<IData | null | undefined>;
|
|
39
39
|
login(args: IData): Promise<void>;
|
|
40
40
|
cancelChanges(): Promise<void>;
|
|
41
41
|
}
|
|
@@ -41,9 +41,11 @@ class LoginViewEngine extends ViewEngineBase {
|
|
|
41
41
|
async call(key, args = {}) {
|
|
42
42
|
if (key === SysUIActionTag.LOGIN) {
|
|
43
43
|
await this.login(args);
|
|
44
|
+
return null;
|
|
44
45
|
}
|
|
45
46
|
if (key === SysUIActionTag.CANCEL_CHANGES) {
|
|
46
47
|
await this.cancelChanges();
|
|
48
|
+
return null;
|
|
47
49
|
}
|
|
48
50
|
return super.call(key, args);
|
|
49
51
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MDViewEngine, ViewController, IDataViewState, IDataViewEvent, IMobMDCtrlController } from '@ibiz-template/runtime';
|
|
1
|
+
import { MDViewEngine, ViewController, IDataViewState, IDataViewEvent, IMobMDCtrlController, IApiMobDataViewCall } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEMobMDView } from '@ibiz/model-core';
|
|
3
3
|
/**
|
|
4
4
|
* 移动端卡片视图驱动引擎
|
|
@@ -20,7 +20,7 @@ export declare class MobDataViewEngine extends MDViewEngine {
|
|
|
20
20
|
* @memberof MobDataViewEngine
|
|
21
21
|
*/
|
|
22
22
|
get dataview(): IMobMDCtrlController;
|
|
23
|
-
call(key:
|
|
23
|
+
call(key: keyof IApiMobDataViewCall, args: any): Promise<IData | null | undefined>;
|
|
24
24
|
/**
|
|
25
25
|
* 加载更多数据
|
|
26
26
|
*
|
|
@@ -13,7 +13,6 @@ class MobDataViewEngine extends MDViewEngine {
|
|
|
13
13
|
get dataview() {
|
|
14
14
|
return this.view.getController("dataview");
|
|
15
15
|
}
|
|
16
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
17
16
|
async call(key, args) {
|
|
18
17
|
if (key === SysUIActionTag.LOAD_MORE) {
|
|
19
18
|
await this.loadMore();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewController, IEditFormController, IEditViewState, IEditViewEvent, ViewEngineBase, IToolbarController, FormSaveParams } from '@ibiz-template/runtime';
|
|
1
|
+
import { ViewController, IEditFormController, IEditViewState, IEditViewEvent, ViewEngineBase, IToolbarController, FormSaveParams, IApiMobEditViewCall } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEEditView } from '@ibiz/model-core';
|
|
3
3
|
export declare class MobEditViewEngine extends ViewEngineBase {
|
|
4
4
|
/**
|
|
@@ -29,7 +29,7 @@ export declare class MobEditViewEngine extends ViewEngineBase {
|
|
|
29
29
|
load(): Promise<IData>;
|
|
30
30
|
save(args?: FormSaveParams): Promise<IData>;
|
|
31
31
|
refresh(): Promise<void>;
|
|
32
|
-
call(key:
|
|
32
|
+
call(key: keyof IApiMobEditViewCall, args: any): Promise<IData | null | undefined>;
|
|
33
33
|
/**
|
|
34
34
|
* 保存并新建
|
|
35
35
|
*
|
|
@@ -116,7 +116,6 @@ class MobEditViewEngine extends ViewEngineBase {
|
|
|
116
116
|
async refresh() {
|
|
117
117
|
await this.load();
|
|
118
118
|
}
|
|
119
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
120
119
|
async call(key, args) {
|
|
121
120
|
if (key === SysUIActionTag.SAVE) {
|
|
122
121
|
await this.form.save();
|
|
@@ -132,18 +131,23 @@ class MobEditViewEngine extends ViewEngineBase {
|
|
|
132
131
|
}
|
|
133
132
|
if (key === SysUIActionTag.SAVE_AND_NEW) {
|
|
134
133
|
this.saveAndNew();
|
|
134
|
+
return null;
|
|
135
135
|
}
|
|
136
136
|
if (key === SysUIActionTag.REFRESH) {
|
|
137
137
|
await this.refresh();
|
|
138
|
+
return null;
|
|
138
139
|
}
|
|
139
140
|
if (key === SysUIActionTag.SAVE_AND_START) {
|
|
140
141
|
await this.wfStart();
|
|
142
|
+
return null;
|
|
141
143
|
}
|
|
142
144
|
if (key === SysUIActionTag.VIEW_WF_STEP) {
|
|
143
145
|
await this.wfSubmit();
|
|
146
|
+
return null;
|
|
144
147
|
}
|
|
145
148
|
if (key === ViewCallTag.WF_WITHDRAW) {
|
|
146
149
|
await this.wfWithdraw();
|
|
150
|
+
return null;
|
|
147
151
|
}
|
|
148
152
|
return super.call(key, args);
|
|
149
153
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MDViewEngine, ViewController, IListViewState, IListViewEvent, IMobMDCtrlController, EventBase } from '@ibiz-template/runtime';
|
|
1
|
+
import { MDViewEngine, ViewController, IListViewState, IListViewEvent, IMobMDCtrlController, EventBase, IApiMobMDViewCall } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEMobMDView } from '@ibiz/model-core';
|
|
3
3
|
/**
|
|
4
4
|
* 移动端多数据视图驱动引擎
|
|
@@ -12,7 +12,7 @@ import { IAppDEMobMDView } from '@ibiz/model-core';
|
|
|
12
12
|
export declare class MobMDViewEngine extends MDViewEngine {
|
|
13
13
|
protected view: ViewController<IAppDEMobMDView, IListViewState, IListViewEvent>;
|
|
14
14
|
get mdctrl(): IMobMDCtrlController;
|
|
15
|
-
call(key:
|
|
15
|
+
call(key: keyof IApiMobMDViewCall, args: any): Promise<IData | null | undefined>;
|
|
16
16
|
/**
|
|
17
17
|
* 多数据部件激活事件处理
|
|
18
18
|
* @author lxm
|
|
@@ -5,7 +5,6 @@ class MobMDViewEngine extends MDViewEngine {
|
|
|
5
5
|
get mdctrl() {
|
|
6
6
|
return this.view.getController("mdctrl");
|
|
7
7
|
}
|
|
8
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
9
8
|
async call(key, args) {
|
|
10
9
|
if (key === SysUIActionTag.LOAD_MORE) {
|
|
11
10
|
await this.loadMore();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewController, IMPickupViewState, IMPickupViewEvent, IListController, IPanelItemController } from '@ibiz-template/runtime';
|
|
1
|
+
import { ViewController, IMPickupViewState, IMPickupViewEvent, IListController, IPanelItemController, IApiMobMPickupViewCall } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEMobPickupView } from '@ibiz/model-core';
|
|
3
3
|
import { MobPickupViewEngine } from './mob-pickup-view.engine';
|
|
4
4
|
/**
|
|
@@ -49,23 +49,13 @@ export declare class MobMPickupViewEngine extends MobPickupViewEngine {
|
|
|
49
49
|
* @memberof MobMPickupViewEngine
|
|
50
50
|
*/
|
|
51
51
|
onMounted(): Promise<void>;
|
|
52
|
-
call(key:
|
|
52
|
+
call(key: keyof IApiMobMPickupViewCall, args: any): Promise<IData | null | undefined>;
|
|
53
53
|
/**
|
|
54
54
|
* 选择面板激活数据
|
|
55
55
|
*
|
|
56
|
-
* @param {IData[]} data
|
|
57
|
-
* @memberof MobMPickupViewEngine
|
|
58
|
-
*/
|
|
59
|
-
pickupViewPanelDataActive(data: IData[]): void;
|
|
60
|
-
/**
|
|
61
|
-
* 去重数组
|
|
62
|
-
*
|
|
63
|
-
* @protected
|
|
64
|
-
* @param {IData[]} arr
|
|
65
|
-
* @return {*} {IData[]}
|
|
66
56
|
* @memberof MobMPickupViewEngine
|
|
67
57
|
*/
|
|
68
|
-
|
|
58
|
+
pickupViewPanelDataActive(): Promise<void>;
|
|
69
59
|
/**
|
|
70
60
|
* 选则面板激活数据
|
|
71
61
|
*
|
|
@@ -93,7 +83,16 @@ export declare class MobMPickupViewEngine extends MobPickupViewEngine {
|
|
|
93
83
|
* @param {IData[]} data
|
|
94
84
|
* @memberof MobMPickupViewEngine
|
|
95
85
|
*/
|
|
96
|
-
handlePushSimpleListItems(data: IData[]): void
|
|
86
|
+
handlePushSimpleListItems(data: IData[]): Promise<void>;
|
|
87
|
+
/**
|
|
88
|
+
* 去重数组
|
|
89
|
+
*
|
|
90
|
+
* @protected
|
|
91
|
+
* @param {IData[]} arr
|
|
92
|
+
* @return {*} {IData[]}
|
|
93
|
+
* @memberof MobMPickupViewEngine
|
|
94
|
+
*/
|
|
95
|
+
protected handleUniqueItems(arr: IData[]): IData[];
|
|
97
96
|
/**
|
|
98
97
|
* 添加所有
|
|
99
98
|
*
|
|
@@ -126,6 +125,13 @@ export declare class MobMPickupViewEngine extends MobPickupViewEngine {
|
|
|
126
125
|
* @memberof MobMPickupViewEngine
|
|
127
126
|
*/
|
|
128
127
|
removeSelection(selectedData: IData[]): void;
|
|
128
|
+
/**
|
|
129
|
+
* @description 设置选中数据
|
|
130
|
+
* @protected
|
|
131
|
+
* @param {IData[]} items
|
|
132
|
+
* @memberof MPickupViewEngine
|
|
133
|
+
*/
|
|
134
|
+
protected setSelectedData(items: IData[]): void;
|
|
129
135
|
/**
|
|
130
136
|
* 提交
|
|
131
137
|
*
|
|
@@ -75,7 +75,6 @@ class MobMPickupViewEngine extends MobPickupViewEngine {
|
|
|
75
75
|
this.view.layoutPanel.panelItems.simplelist.state.visible = false;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
79
78
|
async call(key, args) {
|
|
80
79
|
if (key === SysUIActionTag.CANCEL) {
|
|
81
80
|
this.cancel();
|
|
@@ -102,28 +101,11 @@ class MobMPickupViewEngine extends MobPickupViewEngine {
|
|
|
102
101
|
/**
|
|
103
102
|
* 选择面板激活数据
|
|
104
103
|
*
|
|
105
|
-
* @param {IData[]} data
|
|
106
|
-
* @memberof MobMPickupViewEngine
|
|
107
|
-
*/
|
|
108
|
-
pickupViewPanelDataActive(data) {
|
|
109
|
-
const allData = this.simpleList.getAllData();
|
|
110
|
-
const items = [...allData, ...data];
|
|
111
|
-
const uniqueItems = this.handleUniqueItems(items);
|
|
112
|
-
this.simpleList.setData(uniqueItems);
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* 去重数组
|
|
116
|
-
*
|
|
117
|
-
* @protected
|
|
118
|
-
* @param {IData[]} arr
|
|
119
|
-
* @return {*} {IData[]}
|
|
120
104
|
* @memberof MobMPickupViewEngine
|
|
121
105
|
*/
|
|
122
|
-
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
(item) => !res.has(item.srfkey) && res.set(item.srfkey, 1)
|
|
126
|
-
);
|
|
106
|
+
async pickupViewPanelDataActive() {
|
|
107
|
+
const selectedData = await this.pickupViewPanel.getSelectedData();
|
|
108
|
+
await this.handlePushSimpleListItems(selectedData);
|
|
127
109
|
}
|
|
128
110
|
/**
|
|
129
111
|
* 选则面板激活数据
|
|
@@ -167,10 +149,26 @@ class MobMPickupViewEngine extends MobPickupViewEngine {
|
|
|
167
149
|
* @param {IData[]} data
|
|
168
150
|
* @memberof MobMPickupViewEngine
|
|
169
151
|
*/
|
|
170
|
-
handlePushSimpleListItems(data) {
|
|
171
|
-
const
|
|
172
|
-
const
|
|
173
|
-
|
|
152
|
+
async handlePushSimpleListItems(data) {
|
|
153
|
+
const items = await this.pickupViewPanel.getAllData();
|
|
154
|
+
const selectItems = this.simpleList.getAllData().filter((selected) => !items.some((item) => item.srfkey === selected.srfkey));
|
|
155
|
+
selectItems.push(...data);
|
|
156
|
+
const uniqueItems = this.handleUniqueItems(selectItems);
|
|
157
|
+
this.setSelectedData(uniqueItems);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* 去重数组
|
|
161
|
+
*
|
|
162
|
+
* @protected
|
|
163
|
+
* @param {IData[]} arr
|
|
164
|
+
* @return {*} {IData[]}
|
|
165
|
+
* @memberof MobMPickupViewEngine
|
|
166
|
+
*/
|
|
167
|
+
handleUniqueItems(arr) {
|
|
168
|
+
const res = /* @__PURE__ */ new Map();
|
|
169
|
+
return arr.filter(
|
|
170
|
+
(item) => !res.has(item.srfkey) && res.set(item.srfkey, 1)
|
|
171
|
+
);
|
|
174
172
|
}
|
|
175
173
|
/**
|
|
176
174
|
* 添加所有
|
|
@@ -191,7 +189,7 @@ class MobMPickupViewEngine extends MobPickupViewEngine {
|
|
|
191
189
|
* @memberof MobMPickupViewEngine
|
|
192
190
|
*/
|
|
193
191
|
removeAll() {
|
|
194
|
-
this.
|
|
192
|
+
this.setSelectedData([]);
|
|
195
193
|
}
|
|
196
194
|
/**
|
|
197
195
|
* 添加选中
|
|
@@ -221,6 +219,16 @@ class MobMPickupViewEngine extends MobPickupViewEngine {
|
|
|
221
219
|
items.splice(index, 1);
|
|
222
220
|
}
|
|
223
221
|
});
|
|
222
|
+
this.setSelectedData(items);
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* @description 设置选中数据
|
|
226
|
+
* @protected
|
|
227
|
+
* @param {IData[]} items
|
|
228
|
+
* @memberof MPickupViewEngine
|
|
229
|
+
*/
|
|
230
|
+
setSelectedData(items) {
|
|
231
|
+
super.setSelectedData(items);
|
|
224
232
|
this.simpleList.setData(items);
|
|
225
233
|
}
|
|
226
234
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewController, IOptViewState, IOptViewEvent } from '@ibiz-template/runtime';
|
|
1
|
+
import { ViewController, IOptViewState, IOptViewEvent, IApiMobOptViewCall } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEEditView } from '@ibiz/model-core';
|
|
3
3
|
import { MobEditViewEngine } from './mob-edit-view.engine';
|
|
4
4
|
export declare class MobOptViewEngine extends MobEditViewEngine {
|
|
@@ -10,7 +10,7 @@ export declare class MobOptViewEngine extends MobEditViewEngine {
|
|
|
10
10
|
* @memberof MobOptViewEngine
|
|
11
11
|
*/
|
|
12
12
|
protected view: ViewController<IAppDEEditView, IOptViewState, IOptViewEvent>;
|
|
13
|
-
call(key:
|
|
13
|
+
call(key: keyof IApiMobOptViewCall, args: any): Promise<any>;
|
|
14
14
|
/**
|
|
15
15
|
* 确认
|
|
16
16
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewController, IPickupMDViewEvent, IPickupMDViewState, IMobMDCtrlController, MDViewEngine } from '@ibiz-template/runtime';
|
|
1
|
+
import { ViewController, IPickupMDViewEvent, IPickupMDViewState, IMobMDCtrlController, MDViewEngine, IApiMobPickupMDViewCall } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEDataView } from '@ibiz/model-core';
|
|
3
3
|
export declare class PickupMDViewEngine extends MDViewEngine {
|
|
4
4
|
protected view: ViewController<IAppDEDataView, IPickupMDViewState, IPickupMDViewEvent>;
|
|
@@ -13,5 +13,5 @@ export declare class PickupMDViewEngine extends MDViewEngine {
|
|
|
13
13
|
get mdctrl(): IMobMDCtrlController;
|
|
14
14
|
onCreated(): Promise<void>;
|
|
15
15
|
onMounted(): Promise<void>;
|
|
16
|
-
call(key:
|
|
16
|
+
call(key: keyof IApiMobPickupMDViewCall, args: any): Promise<IData | null | undefined>;
|
|
17
17
|
}
|
|
@@ -35,7 +35,6 @@ class PickupMDViewEngine extends MDViewEngine {
|
|
|
35
35
|
this.load();
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
39
38
|
async call(key, args) {
|
|
40
39
|
if (key === "GetAllData") {
|
|
41
40
|
return this.mdctrl.state.items;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewController, IPickupViewPanelController, IPickupViewState, IPickupViewEvent, ViewEngineBase } from '@ibiz-template/runtime';
|
|
1
|
+
import { ViewController, IPickupViewPanelController, IPickupViewState, IPickupViewEvent, ViewEngineBase, IApiMobPickupViewCall } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEMobPickupView } from '@ibiz/model-core';
|
|
3
3
|
export declare class MobPickupViewEngine extends ViewEngineBase {
|
|
4
4
|
/**
|
|
@@ -37,6 +37,13 @@ export declare class MobPickupViewEngine extends ViewEngineBase {
|
|
|
37
37
|
* @memberof MobPickupViewEngine
|
|
38
38
|
*/
|
|
39
39
|
onMounted(): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* @description 设置选中数据
|
|
42
|
+
* @protected
|
|
43
|
+
* @param {IData[]} items
|
|
44
|
+
* @memberof PickupViewEngine
|
|
45
|
+
*/
|
|
46
|
+
protected setSelectedData(items: IData[]): void;
|
|
40
47
|
/**
|
|
41
48
|
* 选则面板激活数据
|
|
42
49
|
*
|
|
@@ -46,7 +53,7 @@ export declare class MobPickupViewEngine extends ViewEngineBase {
|
|
|
46
53
|
* @memberof MobPickupViewEngine
|
|
47
54
|
*/
|
|
48
55
|
pickupViewPanelDataActive(data: IData[]): void;
|
|
49
|
-
call(key:
|
|
56
|
+
call(key: keyof IApiMobPickupViewCall, args: any): Promise<IData | null | undefined>;
|
|
50
57
|
/**
|
|
51
58
|
* 确认
|
|
52
59
|
*
|
|
@@ -43,6 +43,10 @@ class MobPickupViewEngine extends ViewEngineBase {
|
|
|
43
43
|
this.view.slotProps.pickupviewpanel = {};
|
|
44
44
|
}
|
|
45
45
|
this.view.slotProps.pickupviewpanel.singleSelect = true;
|
|
46
|
+
if (this.view.params.selecteddata) {
|
|
47
|
+
this.selectedData = JSON.parse(this.view.params.selecteddata);
|
|
48
|
+
delete this.view.params.selecteddata;
|
|
49
|
+
}
|
|
46
50
|
}
|
|
47
51
|
/**
|
|
48
52
|
* 视图mounted生命周期执行逻辑
|
|
@@ -58,6 +62,17 @@ class MobPickupViewEngine extends ViewEngineBase {
|
|
|
58
62
|
this.pickupViewPanel.evt.on("onDataActive", (event) => {
|
|
59
63
|
this.pickupViewPanelDataActive(event.data);
|
|
60
64
|
});
|
|
65
|
+
this.setSelectedData(this.selectedData);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @description 设置选中数据
|
|
69
|
+
* @protected
|
|
70
|
+
* @param {IData[]} items
|
|
71
|
+
* @memberof PickupViewEngine
|
|
72
|
+
*/
|
|
73
|
+
setSelectedData(items) {
|
|
74
|
+
this.selectedData = items;
|
|
75
|
+
this.pickupViewPanel.setSelectedData(items);
|
|
61
76
|
}
|
|
62
77
|
/**
|
|
63
78
|
* 选则面板激活数据
|
|
@@ -71,7 +86,6 @@ class MobPickupViewEngine extends ViewEngineBase {
|
|
|
71
86
|
this.selectedData = data;
|
|
72
87
|
this.view.closeView({ ok: true, data: this.selectedData });
|
|
73
88
|
}
|
|
74
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
75
89
|
async call(key, args) {
|
|
76
90
|
if (key === SysUIActionTag.CANCEL) {
|
|
77
91
|
this.cancel();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISearchBarController, ISearchFormController, ITabExpPanelController, ITabSearchViewEvent, ITabSearchViewState, ViewController } from '@ibiz-template/runtime';
|
|
1
|
+
import { IApiMobTabSearchViewCall, ISearchBarController, ISearchFormController, ITabExpPanelController, ITabSearchViewEvent, ITabSearchViewState, ViewController } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDETabSearchView, IDETabViewPanel } from '@ibiz/model-core';
|
|
3
3
|
import { MobTabExpViewEngine } from './mob-tab-exp-view.engine';
|
|
4
4
|
/**
|
|
@@ -53,7 +53,7 @@ export declare class MobTabSearchViewEngine extends MobTabExpViewEngine {
|
|
|
53
53
|
* @memberof MobTabSearchViewEngine
|
|
54
54
|
*/
|
|
55
55
|
onQuickSearchPlaceHolder(tab: IDETabViewPanel): Promise<void>;
|
|
56
|
-
call(key:
|
|
56
|
+
call(key: keyof IApiMobTabSearchViewCall, args: any): Promise<IData | null | undefined>;
|
|
57
57
|
/**
|
|
58
58
|
* 获取搜索相关的查询参数
|
|
59
59
|
* @author lxm
|
|
@@ -116,7 +116,6 @@ class MobTabSearchViewEngine extends MobTabExpViewEngine {
|
|
|
116
116
|
this.searchBar.placeHolder = caption || "";
|
|
117
117
|
this.searchBar.state.quickSearchPlaceHolder = caption || "";
|
|
118
118
|
}
|
|
119
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
120
119
|
async call(key, args) {
|
|
121
120
|
if (key === SysUIActionTag.SEARCH) {
|
|
122
121
|
await this.searchForm.search();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewController, IWFDynaActionViewState, IWFDynaActionViewEvent } from '@ibiz-template/runtime';
|
|
1
|
+
import { ViewController, IWFDynaActionViewState, IWFDynaActionViewEvent, IApiMobWFDynaActionViewCall } from '@ibiz-template/runtime';
|
|
2
2
|
import { IAppDEMobWFDynaActionView } from '@ibiz/model-core';
|
|
3
3
|
import { MobWFDynaEditViewEngine } from './mob-wf-dyna-edit-view.engine';
|
|
4
4
|
export declare class MobWFDynaActionViewEngine extends MobWFDynaEditViewEngine {
|
|
@@ -12,7 +12,7 @@ export declare class MobWFDynaActionViewEngine extends MobWFDynaEditViewEngine {
|
|
|
12
12
|
protected view: ViewController<IAppDEMobWFDynaActionView, IWFDynaActionViewState, IWFDynaActionViewEvent>;
|
|
13
13
|
isCalcWFToolbar: boolean;
|
|
14
14
|
calcProcessFormName(): Promise<string>;
|
|
15
|
-
call(key:
|
|
15
|
+
call(key: keyof IApiMobWFDynaActionViewCall, args: any): Promise<IData | null | undefined>;
|
|
16
16
|
/**
|
|
17
17
|
* 确认按钮回调
|
|
18
18
|
*
|