@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,17 +11,30 @@ require('./search-bar.css');
|
|
|
11
11
|
const SearchBarControl = /* @__PURE__ */ vue.defineComponent({
|
|
12
12
|
name: "IBizSearchBarControl",
|
|
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
|
provider: {
|
|
19
25
|
type: Object
|
|
20
26
|
},
|
|
27
|
+
/**
|
|
28
|
+
* @description 应用上下文对象
|
|
29
|
+
*/
|
|
21
30
|
context: {
|
|
22
31
|
type: Object,
|
|
23
32
|
required: true
|
|
24
33
|
},
|
|
34
|
+
/**
|
|
35
|
+
* @description 视图参数对象
|
|
36
|
+
* @default {}
|
|
37
|
+
*/
|
|
25
38
|
params: {
|
|
26
39
|
type: Object,
|
|
27
40
|
default: () => ({})
|
|
@@ -11,21 +11,37 @@ function _isSlot(s) {
|
|
|
11
11
|
const TabExpPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
12
12
|
name: "IBizTabExpPanelControl",
|
|
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
|
context: {
|
|
19
25
|
type: Object,
|
|
20
26
|
required: true
|
|
21
27
|
},
|
|
28
|
+
/**
|
|
29
|
+
* @description 视图参数对象
|
|
30
|
+
* @default {}
|
|
31
|
+
*/
|
|
22
32
|
params: {
|
|
23
33
|
type: Object,
|
|
24
34
|
default: () => ({})
|
|
25
35
|
},
|
|
36
|
+
/**
|
|
37
|
+
* @description 部件适配器
|
|
38
|
+
*/
|
|
26
39
|
provider: {
|
|
27
40
|
type: Object
|
|
28
41
|
},
|
|
42
|
+
/**
|
|
43
|
+
* @description 默认激活的标签
|
|
44
|
+
*/
|
|
29
45
|
defaultTabName: {
|
|
30
46
|
type: String,
|
|
31
47
|
required: false
|
|
@@ -41,17 +41,30 @@ const btnContent = (item, state) => {
|
|
|
41
41
|
const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
|
|
42
42
|
name: "IBizToolbarControl",
|
|
43
43
|
props: {
|
|
44
|
+
/**
|
|
45
|
+
* @description 工具栏模型数据
|
|
46
|
+
*/
|
|
44
47
|
modelData: {
|
|
45
48
|
type: Object,
|
|
46
49
|
required: true
|
|
47
50
|
},
|
|
51
|
+
/**
|
|
52
|
+
* @description 部件适配器
|
|
53
|
+
*/
|
|
48
54
|
provider: {
|
|
49
55
|
type: Object
|
|
50
56
|
},
|
|
57
|
+
/**
|
|
58
|
+
* @description 应用上下文对象
|
|
59
|
+
*/
|
|
51
60
|
context: {
|
|
52
61
|
type: Object,
|
|
53
62
|
required: true
|
|
54
63
|
},
|
|
64
|
+
/**
|
|
65
|
+
* @description 视图参数对象
|
|
66
|
+
* @default {}
|
|
67
|
+
*/
|
|
55
68
|
params: {
|
|
56
69
|
type: Object,
|
|
57
70
|
default: () => ({})
|
|
@@ -20,25 +20,46 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
20
20
|
"vs-tree": vsTreeEx.VsTreeComponent
|
|
21
21
|
},
|
|
22
22
|
props: {
|
|
23
|
+
/**
|
|
24
|
+
* @description 树控件模型数据
|
|
25
|
+
*/
|
|
23
26
|
modelData: {
|
|
24
27
|
type: Object,
|
|
25
28
|
required: true
|
|
26
29
|
},
|
|
30
|
+
/**
|
|
31
|
+
* @description 应用上下文对象
|
|
32
|
+
*/
|
|
27
33
|
context: {
|
|
28
34
|
type: Object,
|
|
29
35
|
required: true
|
|
30
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* @description 视图参数对象
|
|
39
|
+
* @default {}
|
|
40
|
+
*/
|
|
31
41
|
params: {
|
|
32
42
|
type: Object,
|
|
33
43
|
default: () => ({})
|
|
34
44
|
},
|
|
45
|
+
/**
|
|
46
|
+
* @description 部件适配器
|
|
47
|
+
*/
|
|
35
48
|
provider: {
|
|
36
49
|
type: Object
|
|
37
50
|
},
|
|
51
|
+
/**
|
|
52
|
+
* @description 部件激活模式,值为0:无激活,值为1:单击激活,值为2:双击激活
|
|
53
|
+
* @default 2
|
|
54
|
+
*/
|
|
38
55
|
mdctrlActiveMode: {
|
|
39
56
|
type: Number,
|
|
40
57
|
default: 2
|
|
41
58
|
},
|
|
59
|
+
/**
|
|
60
|
+
* @description 是否单选
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
42
63
|
singleSelect: {
|
|
43
64
|
type: Boolean,
|
|
44
65
|
default: true
|
|
@@ -13,29 +13,51 @@ function _isSlot(s) {
|
|
|
13
13
|
const TreeExpBarControl = /* @__PURE__ */ vue.defineComponent({
|
|
14
14
|
name: "IBizTreeExpBarControl",
|
|
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
|
context: {
|
|
21
27
|
type: Object,
|
|
22
28
|
required: true
|
|
23
29
|
},
|
|
30
|
+
/**
|
|
31
|
+
* @description 视图参数对象
|
|
32
|
+
*/
|
|
24
33
|
params: {
|
|
25
34
|
type: Object,
|
|
26
35
|
default: () => ({})
|
|
27
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* @description 部件适配器
|
|
39
|
+
*/
|
|
28
40
|
provider: {
|
|
29
41
|
type: Object
|
|
30
42
|
},
|
|
43
|
+
/**
|
|
44
|
+
* @description 导航数据
|
|
45
|
+
*/
|
|
31
46
|
srfnav: {
|
|
32
47
|
type: String,
|
|
33
48
|
required: false
|
|
34
49
|
},
|
|
50
|
+
/**
|
|
51
|
+
* @description 是否不需要导航视图
|
|
52
|
+
*/
|
|
35
53
|
noNeedNavView: {
|
|
36
54
|
type: Boolean,
|
|
37
55
|
required: false
|
|
38
56
|
},
|
|
57
|
+
/**
|
|
58
|
+
* @description 是否默认加载数据
|
|
59
|
+
* @default true
|
|
60
|
+
*/
|
|
39
61
|
loadDefault: {
|
|
40
62
|
type: Boolean,
|
|
41
63
|
default: true
|
|
@@ -12,18 +12,31 @@ function _isSlot(s) {
|
|
|
12
12
|
const WizardPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
13
13
|
name: "IBizWizardPanelControl",
|
|
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
|
context: {
|
|
20
26
|
type: Object,
|
|
21
27
|
required: true
|
|
22
28
|
},
|
|
29
|
+
/**
|
|
30
|
+
* @description 视图参数对象
|
|
31
|
+
* @default {}
|
|
32
|
+
*/
|
|
23
33
|
params: {
|
|
24
34
|
type: Object,
|
|
25
35
|
default: () => ({})
|
|
26
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* @description 部件适配器
|
|
39
|
+
*/
|
|
27
40
|
provider: {
|
|
28
41
|
type: Object
|
|
29
42
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
var lodashEs = require('lodash-es');
|
|
5
6
|
require('./ibiz-mpicker.css');
|
|
6
7
|
var ibizDataMpicker = require('../../common/data-mpicker/ibiz-data-mpicker.cjs');
|
|
7
8
|
var rightIcon = require('../../common/right-icon/right-icon.cjs');
|
|
@@ -26,39 +27,119 @@ const IBizMPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
27
|
value: item[c.keyName] || item.srfkey,
|
|
27
28
|
srfmajortext: item[c.textName] || item.srfmajortext,
|
|
28
29
|
text: item[c.textName] || item.srfmajortext,
|
|
30
|
+
[c.keyName]: item[c.keyName] || item.srfkey,
|
|
31
|
+
[c.textName]: item[c.textName] || item.srfmajortext,
|
|
29
32
|
...item
|
|
30
33
|
};
|
|
31
34
|
};
|
|
32
|
-
|
|
35
|
+
const resetCurValue = () => {
|
|
33
36
|
curValue.value = [];
|
|
34
37
|
selectItems.value = [];
|
|
35
|
-
if (
|
|
36
|
-
|
|
38
|
+
if (props.value) {
|
|
39
|
+
if (c.model.valueType === "OBJECTS") {
|
|
40
|
+
props.value.forEach((item) => {
|
|
41
|
+
const _item = lodashEs.clone(item);
|
|
42
|
+
Object.assign(_item, {
|
|
43
|
+
[c.keyName]: item[c.objectIdField],
|
|
44
|
+
[c.textName]: item[c.objectNameField]
|
|
45
|
+
});
|
|
46
|
+
if (c.objectValueField) {
|
|
47
|
+
Object.assign(_item, {
|
|
48
|
+
...item[c.objectValueField]
|
|
49
|
+
});
|
|
50
|
+
delete _item[c.objectValueField];
|
|
51
|
+
}
|
|
52
|
+
if (_item[c.keyName]) {
|
|
53
|
+
selectItems.value.push(formatter(_item));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
} else if (c.objectIdField && c.model.valueSeparator) {
|
|
57
|
+
const values = props.value.split(c.model.valueSeparator);
|
|
58
|
+
values.forEach((value) => {
|
|
59
|
+
selectItems.value.push(formatter({
|
|
60
|
+
[c.keyName]: value
|
|
61
|
+
}));
|
|
62
|
+
});
|
|
63
|
+
} else {
|
|
64
|
+
try {
|
|
65
|
+
selectItems.value = JSON.parse(props.value).map(formatter);
|
|
66
|
+
} catch (error) {
|
|
67
|
+
ibiz.log.error(ibiz.i18n.t("editor.mpicker.simpleErr", {
|
|
68
|
+
value: props.value
|
|
69
|
+
}));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
37
72
|
selectItems.value.forEach((item) => {
|
|
38
|
-
curValue.value.push(item.
|
|
39
|
-
const index = items.value.findIndex(
|
|
73
|
+
curValue.value.push(item[c.keyName]);
|
|
74
|
+
const index = items.value.findIndex(
|
|
75
|
+
(i) => Object.is(i[c.keyName], item[c.keyName]) || Object.is(i.srfkey, item.srfkey)
|
|
76
|
+
// 兼容写法,适配移动端老逻辑
|
|
77
|
+
);
|
|
40
78
|
if (index < 0) {
|
|
41
79
|
items.value.push(formatter(item));
|
|
42
80
|
}
|
|
43
81
|
});
|
|
44
82
|
}
|
|
83
|
+
};
|
|
84
|
+
vue.watch(() => props.value, () => {
|
|
85
|
+
resetCurValue();
|
|
45
86
|
}, {
|
|
46
87
|
immediate: true,
|
|
47
88
|
deep: true
|
|
48
89
|
});
|
|
49
|
-
const handleOpenViewClose = (result) => {
|
|
50
|
-
const
|
|
90
|
+
const handleOpenViewClose = async (result) => {
|
|
91
|
+
const selects = [];
|
|
51
92
|
if (result && Array.isArray(result)) {
|
|
52
|
-
result.
|
|
53
|
-
const
|
|
54
|
-
|
|
93
|
+
const calcPromises = result.map(async (select) => {
|
|
94
|
+
const item = formatter(select);
|
|
95
|
+
if (select.srfnodeid) {
|
|
96
|
+
Object.assign(item, select._deData);
|
|
97
|
+
}
|
|
98
|
+
const dataItems = await c.calcFillDataItems(item);
|
|
99
|
+
const res = {};
|
|
100
|
+
dataItems.forEach((dataItem) => {
|
|
101
|
+
Object.assign(res, {
|
|
102
|
+
[dataItem.id]: dataItem.value
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
return res;
|
|
106
|
+
});
|
|
107
|
+
const dataItemsList = await Promise.all(calcPromises);
|
|
108
|
+
result.forEach((select, _index) => {
|
|
109
|
+
Object.assign(select, {
|
|
110
|
+
...formatter(select),
|
|
111
|
+
[c.keyName]: select[c.keyName] ? select[c.keyName] : select.srfkey,
|
|
112
|
+
[c.textName]: select[c.textName] ? select[c.textName] : select.srfmajortext
|
|
113
|
+
});
|
|
114
|
+
const data = dataItemsList[_index];
|
|
115
|
+
if (c.model.valueType === "OBJECTS") {
|
|
116
|
+
selects.push({
|
|
117
|
+
...c.handleObjectParams(select),
|
|
118
|
+
...data
|
|
119
|
+
});
|
|
120
|
+
} else if (c.objectIdField && c.model.valueSeparator) {
|
|
121
|
+
selects.push(select[c.keyName]);
|
|
122
|
+
} else {
|
|
123
|
+
selects.push({
|
|
124
|
+
[c.keyName]: select[c.keyName],
|
|
125
|
+
[c.textName]: select[c.textName],
|
|
126
|
+
...data
|
|
127
|
+
});
|
|
128
|
+
}
|
|
55
129
|
const index = items.value.findIndex((item) => Object.is(item[c.keyName], select[c.keyName]));
|
|
56
130
|
if (index < 0) {
|
|
57
|
-
items.value.push(
|
|
131
|
+
items.value.push(select);
|
|
58
132
|
}
|
|
59
133
|
});
|
|
60
134
|
}
|
|
61
|
-
|
|
135
|
+
let value = null;
|
|
136
|
+
if (selects.length > 0) {
|
|
137
|
+
if (c.model.valueType === "OBJECTS") {
|
|
138
|
+
value = selects;
|
|
139
|
+
} else {
|
|
140
|
+
value = c.objectIdField && c.model.valueSeparator ? selects.join(c.model.valueSeparator) : JSON.stringify(selects);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
62
143
|
emit("change", value);
|
|
63
144
|
};
|
|
64
145
|
const openPickUpView = async (event) => {
|
|
@@ -76,21 +157,58 @@ const IBizMPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
76
157
|
handleOpenViewClose(res);
|
|
77
158
|
}
|
|
78
159
|
};
|
|
79
|
-
const onSelect = (selects) => {
|
|
80
|
-
const
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
160
|
+
const onSelect = async (selects) => {
|
|
161
|
+
const val = [];
|
|
162
|
+
let value = null;
|
|
163
|
+
const selections = selects.map((select) => {
|
|
164
|
+
let index = items.value.findIndex((item2) => Object.is(item2[c.keyName], select));
|
|
165
|
+
let item = {};
|
|
166
|
+
if (index >= 0) {
|
|
167
|
+
item = items.value[index];
|
|
168
|
+
} else {
|
|
169
|
+
index = selectItems.value.findIndex((selectItem) => Object.is(selectItem[c.keyName], select));
|
|
170
|
+
if (index >= 0) {
|
|
171
|
+
item = selectItems.value[index];
|
|
86
172
|
}
|
|
173
|
+
}
|
|
174
|
+
return item;
|
|
175
|
+
});
|
|
176
|
+
const calcPromises = selections.map(async (select) => {
|
|
177
|
+
const dataItems = await c.calcFillDataItems(select);
|
|
178
|
+
const res = {};
|
|
179
|
+
dataItems.forEach((dataItem) => {
|
|
180
|
+
Object.assign(res, {
|
|
181
|
+
[dataItem.id]: dataItem.value
|
|
182
|
+
});
|
|
87
183
|
});
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
184
|
+
return res;
|
|
185
|
+
});
|
|
186
|
+
const dataItemsList = await Promise.all(calcPromises);
|
|
187
|
+
selections.forEach((item, index) => {
|
|
188
|
+
const data = dataItemsList[index];
|
|
189
|
+
if (c.model.valueType === "OBJECTS") {
|
|
190
|
+
val.push({
|
|
191
|
+
...c.handleObjectParams(item),
|
|
192
|
+
...data
|
|
193
|
+
});
|
|
194
|
+
} else if (c.objectIdField && c.model.valueSeparator) {
|
|
195
|
+
val.push(item[c.keyName]);
|
|
196
|
+
} else {
|
|
197
|
+
val.push({
|
|
198
|
+
[c.keyName]: item[c.keyName],
|
|
199
|
+
[c.textName]: item[c.textName],
|
|
200
|
+
...data
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
if (val.length > 0) {
|
|
205
|
+
if (c.model.valueType === "OBJECTS") {
|
|
206
|
+
value = val;
|
|
207
|
+
} else {
|
|
208
|
+
value = c.objectIdField && c.model.valueSeparator ? val.join(c.model.valueSeparator) : JSON.stringify(val);
|
|
209
|
+
}
|
|
93
210
|
}
|
|
211
|
+
emit("change", value);
|
|
94
212
|
};
|
|
95
213
|
const onSearch = async (query = "") => {
|
|
96
214
|
if (c.model.appDataEntityId) {
|
|
@@ -113,7 +231,7 @@ const IBizMPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
113
231
|
selectItems.value.forEach((select) => {
|
|
114
232
|
if (c.model.valueType === "OBJECTS") {
|
|
115
233
|
val.push(c.handleObjectParams(select));
|
|
116
|
-
} else if (c.objectIdField) {
|
|
234
|
+
} else if (c.objectIdField && c.model.valueSeparator) {
|
|
117
235
|
val.push(select[c.keyName]);
|
|
118
236
|
} else {
|
|
119
237
|
val.push({
|
|
@@ -126,7 +244,7 @@ const IBizMPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
126
244
|
if (c.model.valueType === "OBJECTS") {
|
|
127
245
|
value = val;
|
|
128
246
|
} else {
|
|
129
|
-
value = c.objectIdField ? val.join(c.model.valueSeparator) : JSON.stringify(val);
|
|
247
|
+
value = c.objectIdField && c.model.valueSeparator ? val.join(c.model.valueSeparator) : JSON.stringify(val);
|
|
130
248
|
}
|
|
131
249
|
}
|
|
132
250
|
emit("change", value);
|
package/lib/editor/index.cjs
CHANGED
|
@@ -30,6 +30,7 @@ require('./check-box/index.cjs');
|
|
|
30
30
|
require('./common/index.cjs');
|
|
31
31
|
var input = require('./text-box/input/input.cjs');
|
|
32
32
|
var ibizInputNumber = require('./text-box/ibiz-input-number/ibiz-input-number.cjs');
|
|
33
|
+
var signature = require('./text-box/signature/signature.cjs');
|
|
33
34
|
var span = require('./span/span/span.cjs');
|
|
34
35
|
var ibizSwitch = require('./switch/ibiz-switch/ibiz-switch.cjs');
|
|
35
36
|
var ibizRadio = require('./radio-button-list/ibiz-radio/ibiz-radio.cjs');
|
|
@@ -105,6 +106,7 @@ const IBizEditor = {
|
|
|
105
106
|
v.component(notSupportedEditor.NotSupportedEditor.name, notSupportedEditor.NotSupportedEditor);
|
|
106
107
|
v.component(input.IBizInput.name, input.IBizInput);
|
|
107
108
|
v.component(ibizInputNumber.IBizInputNumber.name, ibizInputNumber.IBizInputNumber);
|
|
109
|
+
v.component(signature.IBizSignature.name, signature.IBizSignature);
|
|
108
110
|
v.component(span.IBizSpan.name, span.IBizSpan);
|
|
109
111
|
v.component(ibizSwitch.IBizSwitch.name, ibizSwitch.IBizSwitch);
|
|
110
112
|
v.component(ibizRadio.IBizRadio.name, ibizRadio.IBizRadio);
|
|
@@ -163,6 +165,10 @@ const IBizEditor = {
|
|
|
163
165
|
runtime.registerEditorProvider("PASSWORD", () => textBoxEditorProvider);
|
|
164
166
|
runtime.registerEditorProvider("TEXTAREA", () => textBoxEditorProvider);
|
|
165
167
|
runtime.registerEditorProvider("NUMBER", () => new textBoxEditor_provider.TextBoxEditorProvider("NUMBER"));
|
|
168
|
+
runtime.registerEditorProvider(
|
|
169
|
+
"MOBTEXT_SIGNATURE",
|
|
170
|
+
() => new textBoxEditor_provider.TextBoxEditorProvider("SIGNATURE")
|
|
171
|
+
);
|
|
166
172
|
runtime.registerEditorProvider(
|
|
167
173
|
"MOBDROPDOWNLIST",
|
|
168
174
|
() => new dropdownListEditor_provider.DropDownListEditorProvider()
|
|
@@ -384,6 +390,7 @@ const IBizEditor = {
|
|
|
384
390
|
|
|
385
391
|
exports.IBizInput = input.IBizInput;
|
|
386
392
|
exports.IBizInputNumber = ibizInputNumber.IBizInputNumber;
|
|
393
|
+
exports.IBizSignature = signature.IBizSignature;
|
|
387
394
|
exports.IBizSpan = span.IBizSpan;
|
|
388
395
|
exports.IBizSwitch = ibizSwitch.IBizSwitch;
|
|
389
396
|
exports.IBizRadio = ibizRadio.IBizRadio;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var input = require('./input/input.cjs');
|
|
4
4
|
var ibizInputNumber = require('./ibiz-input-number/ibiz-input-number.cjs');
|
|
5
|
+
var signature = require('./signature/signature.cjs');
|
|
5
6
|
var textBoxEditor_controller = require('./text-box-editor.controller.cjs');
|
|
6
7
|
var textBoxEditor_provider = require('./text-box-editor.provider.cjs');
|
|
7
8
|
|
|
@@ -9,5 +10,6 @@ var textBoxEditor_provider = require('./text-box-editor.provider.cjs');
|
|
|
9
10
|
|
|
10
11
|
exports.IBizInput = input.IBizInput;
|
|
11
12
|
exports.IBizInputNumber = ibizInputNumber.IBizInputNumber;
|
|
13
|
+
exports.IBizSignature = signature.IBizSignature;
|
|
12
14
|
exports.TextBoxEditorController = textBoxEditor_controller.TextBoxEditorController;
|
|
13
15
|
exports.TextBoxEditorProvider = textBoxEditor_provider.TextBoxEditorProvider;
|
|
@@ -21,10 +21,15 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
|
|
|
21
21
|
const c = props.controller;
|
|
22
22
|
const editorModel = c.model;
|
|
23
23
|
const inputRef = vue.ref();
|
|
24
|
+
const showPassword = vue.ref(false);
|
|
25
|
+
let showSwitchIcon = false;
|
|
24
26
|
const rows = vue.ref(2);
|
|
25
27
|
if (editorModel.editorType === "TEXTAREA_10") {
|
|
26
28
|
rows.value = 10;
|
|
27
29
|
}
|
|
30
|
+
if (c.editorParams.showswitchicon) {
|
|
31
|
+
showSwitchIcon = c.editorParams.showswitchicon === "true";
|
|
32
|
+
}
|
|
28
33
|
const type = vue.computed(() => {
|
|
29
34
|
switch (editorModel.editorType) {
|
|
30
35
|
case "MOBTEXT":
|
|
@@ -103,6 +108,9 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
|
|
|
103
108
|
const onClear = () => {
|
|
104
109
|
emit("change", "");
|
|
105
110
|
};
|
|
111
|
+
const switchPwd = () => {
|
|
112
|
+
showPassword.value = !showPassword.value && showSwitchIcon;
|
|
113
|
+
};
|
|
106
114
|
return {
|
|
107
115
|
c,
|
|
108
116
|
ns,
|
|
@@ -114,7 +122,9 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
|
|
|
114
122
|
onBlur,
|
|
115
123
|
onFocus,
|
|
116
124
|
onClear,
|
|
117
|
-
inputRef
|
|
125
|
+
inputRef,
|
|
126
|
+
showPassword,
|
|
127
|
+
switchPwd
|
|
118
128
|
};
|
|
119
129
|
},
|
|
120
130
|
render() {
|
|
@@ -136,11 +146,22 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
|
|
|
136
146
|
}, [unitName]);
|
|
137
147
|
};
|
|
138
148
|
}
|
|
149
|
+
if (this.type === "password") {
|
|
150
|
+
slots["right-icon"] = () => {
|
|
151
|
+
return this.showPassword ? vue.createVNode("ion-icon", {
|
|
152
|
+
"name": "eye-off-outline",
|
|
153
|
+
"onClick": this.switchPwd
|
|
154
|
+
}, null) : vue.createVNode("ion-icon", {
|
|
155
|
+
"name": "eye-outline",
|
|
156
|
+
"onClick": this.switchPwd
|
|
157
|
+
}, null);
|
|
158
|
+
};
|
|
159
|
+
}
|
|
139
160
|
content = vue.createVNode(vue.resolveComponent("van-field"), vue.mergeProps({
|
|
140
161
|
"ref": "inputRef",
|
|
141
162
|
"modelValue": this.currentVal,
|
|
142
163
|
"placeholder": this.controller.placeHolder,
|
|
143
|
-
"type": this.type,
|
|
164
|
+
"type": this.type === "password" && this.showPassword ? "text" : this.type,
|
|
144
165
|
"rows": this.rows,
|
|
145
166
|
"onInput": this.handleChange,
|
|
146
167
|
"onKeyup": this.handleKeyUp,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-input{height:100%;text-align:var(--ibiz-form-item-container-editor-align)}.ibiz-input .ibiz-input{font-size:var(--ibiz-form-item-font-size)}.ibiz-input input{font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-form-item-line-height);color:var(--ibiz-form-item-text-color);border-color:var(--ibiz-form-item-border-color);-webkit-text-fill-color:var(--ibiz-form-item-text-color)}.ibiz-input input::-moz-placeholder{color:var(--ibiz-form-item-placeholder-color);-webkit-text-fill-color:var(--ibiz-form-item-placeholder-color)}.ibiz-input input::placeholder{color:var(--ibiz-form-item-placeholder-color);-webkit-text-fill-color:var(--ibiz-form-item-placeholder-color)}.ibiz-input input:disabled{color:var(--ibiz-form-item-disabled-color);background-color:var(--ibiz-form-item-disabled-bg-color);border-color:var(--ibiz-form-item-disabled-border-color);-webkit-text-fill-color:var(--ibiz-form-item-disabled-color)}.ibiz-input--readonly{color:var(--ibiz-form-item-readonly-color);-webkit-text-fill-color:var(--ibiz-form-item-readonly-color)}.ibiz-input .ibiz-input__unit{font-size:var(--ibiz-form-item-font-size);font-style:normal}.ibiz-input .van-field__clear{display:var(--ibiz-form-item-container-required-style)}
|
|
1
|
+
.ibiz-input{height:100%;text-align:var(--ibiz-form-item-container-editor-align)}.ibiz-input .ibiz-input{font-size:var(--ibiz-form-item-font-size)}.ibiz-input input{font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-form-item-line-height);color:var(--ibiz-form-item-text-color);border-color:var(--ibiz-form-item-border-color);-webkit-text-fill-color:var(--ibiz-form-item-text-color)}.ibiz-input input::-moz-placeholder{color:var(--ibiz-form-item-placeholder-color);-webkit-text-fill-color:var(--ibiz-form-item-placeholder-color)}.ibiz-input input::placeholder{color:var(--ibiz-form-item-placeholder-color);-webkit-text-fill-color:var(--ibiz-form-item-placeholder-color)}.ibiz-input input:disabled{color:var(--ibiz-form-item-disabled-color);background-color:var(--ibiz-form-item-disabled-bg-color);border-color:var(--ibiz-form-item-disabled-border-color);-webkit-text-fill-color:var(--ibiz-form-item-disabled-color)}.ibiz-input--readonly{color:var(--ibiz-form-item-readonly-color);-webkit-text-fill-color:var(--ibiz-form-item-readonly-color)}.ibiz-input .ibiz-input__unit{font-size:var(--ibiz-form-item-font-size);font-style:normal}.ibiz-input .van-field__clear{display:var(--ibiz-form-item-container-required-style)}.ibiz-input .van-field__right-icon{font-size:var(--ibiz-form-size-header-4)}
|