@ibiz-template/mob-vue3-components 0.7.41-alpha.22 → 0.7.41-alpha.23
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-CVnUjHjl.js +2 -0
- package/dist/{chart-j1WkpBhc.js.map → chart-CVnUjHjl.js.map} +1 -1
- package/dist/ibiz-markdown-editor-MwEhH1r_.js +2 -0
- package/dist/ibiz-markdown-editor-MwEhH1r_.js.map +1 -0
- package/dist/index-CopTozpr.js +2 -0
- package/dist/{index-ChdHGLJI.js.map → index-CopTozpr.js.map} +1 -1
- package/dist/index-Cxv8dJIk.js +2 -0
- package/dist/index-Cxv8dJIk.js.map +1 -0
- package/dist/index-DV0pS0zU.js +2 -0
- package/dist/{index-Dd7yiMzY.js.map → index-DV0pS0zU.js.map} +1 -1
- package/dist/index.min.css +8 -8
- package/dist/index.system.min.js +1 -1
- package/dist/quill-CeDXLpcJ.js +2 -0
- package/dist/{quill-BOA7ZLOz.js.map → quill-CeDXLpcJ.js.map} +1 -1
- package/dist/quill-editor-C5mEMG93.js +2 -0
- package/dist/quill-editor-C5mEMG93.js.map +1 -0
- package/dist/quill-editor-preview-BPS9uMa7.js +2 -0
- package/dist/{quill-editor-preview-DghpeKpg.js.map → quill-editor-preview-BPS9uMa7.js.map} +1 -1
- package/dist/tree-SAqvldtV.js +2 -0
- package/dist/{tree-BTa0bMPr.js.map → tree-SAqvldtV.js.map} +1 -1
- package/dist/xlsx-util-b5CesqYd.js +3 -0
- package/dist/xlsx-util-b5CesqYd.js.map +1 -0
- package/es/_virtual/index12.mjs +2 -2
- package/es/_virtual/index13.mjs +2 -2
- package/es/common/action-group/action-group.css +1 -1
- package/es/common/action-group/action-group.mjs +44 -43
- package/es/common/button-list/button-list.css +1 -1
- package/es/common/button-list/button-list.mjs +16 -25
- package/es/common/col/col.mjs +1 -1
- package/es/common/cropping/cropping.mjs +5 -5
- package/es/common/date-range-picker/components/range-picker/range-picker.mjs +2 -4
- package/es/common/date-range-picker/components/single-picker/single-picker.mjs +2 -4
- package/es/common/date-range-picker/date-range-picker.mjs +2 -2
- package/es/common/emoji-select/components/emoji-item/emoji-item.mjs +4 -4
- package/es/common/emoji-select/components/emoji-list/emoji-list.mjs +1 -1
- package/es/common/emoji-select/icons/categories.mjs +9 -57
- package/es/common/float-button/float-button.css +1 -1
- package/es/common/float-button/float-button.mjs +12 -7
- package/es/common/keep-alive/keep-alive.mjs +2 -2
- package/es/common/keep-alive/scheduler.mjs +1 -1
- package/es/common/preview-image/preview-image.mjs +4 -4
- package/es/common/rawitem/rawitem.mjs +2 -2
- package/es/common/row/row.mjs +1 -1
- package/es/common/split/split.mjs +9 -9
- package/es/common/split-trigger/split-trigger.mjs +1 -1
- package/es/common/tab-layout/tab-dropdown/tab-dropdown.mjs +1 -1
- package/es/control/app-menu/app-menu.mjs +1 -1
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +1 -1
- package/es/control/app-menu/menu-render-util.mjs +2 -0
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +1 -1
- package/es/control/app-menu-icon-view/index.mjs +1 -1
- package/es/control/app-menu-list-view/app-menu-list-view.mjs +1 -1
- package/es/control/app-menu-list-view/index.mjs +1 -1
- package/es/control/calendar/calendar.mjs +6 -6
- package/es/control/caption-bar/caption-bar.mjs +1 -1
- package/es/control/chart/chart.mjs +1 -1
- package/es/control/dashboard/dashboard.mjs +3 -1
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/container-portlet/container-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/html-portlet/html-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/list-portlet/list-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +4 -4
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/view-portlet/view-portlet.mjs +1 -1
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +7 -7
- package/es/control/drbar/drbar.mjs +1 -1
- package/es/control/drtab/drtab.controller.mjs +1 -1
- package/es/control/drtab/drtab.mjs +1 -1
- package/es/control/form/edit-form/edit-form.mjs +1 -1
- package/es/control/form/form/form.mjs +2 -2
- package/es/control/form/form-detail/form-button/form-button.css +1 -1
- package/es/control/form/form-detail/form-button/form-button.mjs +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +6 -6
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.provider.mjs +2 -2
- package/es/control/form/search-form/search-form.mjs +1 -1
- package/es/control/list/list/list.mjs +1 -1
- package/es/control/list/md-ctrl/md-ctrl.css +1 -1
- package/es/control/list/md-ctrl/md-ctrl.mjs +2 -2
- package/es/control/pickup-view-panel/pickup-view-panel.mjs +1 -1
- package/es/control/search-bar/filter-field-select/filter-field-select.mjs +1 -1
- package/es/control/search-bar/filter-mode-select/filter-mode-select.mjs +1 -1
- package/es/control/search-bar/filter-tree/filter-tree.css +1 -1
- package/es/control/search-bar/filter-tree/filter-tree.mjs +1 -1
- package/es/control/search-bar/search-bar.mjs +10 -6
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +1 -1
- package/es/control/toolbar/float-toolbar/float-toolbar.css +1 -1
- package/es/control/toolbar/float-toolbar/float-toolbar.mjs +13 -7
- package/es/control/toolbar/toolbar-render-util.mjs +55 -32
- package/es/control/toolbar/toolbar.mjs +1 -1
- package/es/control/tree/tree.mjs +9 -9
- package/es/control/tree-exp-bar/tree-exp-bar.mjs +1 -1
- package/es/control/wizard-panel/wizard-panel.mjs +6 -6
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +2 -2
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +2 -2
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +2 -2
- package/es/editor/data-picker/picker-editor.controller.mjs +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +7 -7
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.mjs +1 -1
- package/es/editor/html/html-editor.controller.mjs +26 -9
- package/es/editor/html/quill-editor/quill-editor.mjs +12 -3
- package/es/editor/html/quill-editor-preview/quill-editor-preview.mjs +4 -4
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +12 -3
- package/es/editor/markdown/markdown-editor.controller.mjs +23 -3
- package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.mjs +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +2 -2
- package/es/editor/span/span/span.mjs +7 -7
- package/es/editor/span/span-link/span-link.mjs +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +1 -1
- package/es/editor/text-box/input/input.mjs +4 -4
- package/es/editor/text-box/signature/signature.mjs +59 -19
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +1 -1
- package/es/editor/upload/upload-editor.controller.mjs +18 -1
- package/es/editor/upload/use/use-van-upload.mjs +6 -2
- package/es/index.mjs +2 -1
- package/es/locale/en/index.mjs +26 -23
- package/es/locale/zh-CN/index.mjs +3 -0
- package/es/mob-app/App.mjs +10 -1
- package/es/mob-app/components/modal-router-shell/modal-router-shell.mjs +6 -4
- package/es/mob-app/components/router-shell/router-shell.mjs +1 -1
- package/es/mob-app/guard/auth-guard/auth-guard.mjs +2 -2
- package/es/mob-app/guard/auth-guard/dyna-auth-guard.mjs +2 -2
- package/es/mob-app/main.mjs +3 -1
- package/es/mob-app/router/index.mjs +131 -76
- package/es/mob-app/util/unauthorized-handler/unauthorized-handler.mjs +5 -5
- package/es/node_modules/.pnpm/dingtalk-jsapi@3.2.0/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.mjs +1 -1
- package/es/node_modules/.pnpm/dingtalk-jsapi@3.2.0/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.mjs +1 -1
- package/es/panel-component/async-action/async-action/async-action.mjs +2 -2
- package/es/panel-component/async-action/async-action-preview/async-action-preview.mjs +3 -3
- package/es/panel-component/async-action/async-action-result/async-action-result.mjs +1 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +2 -2
- package/es/panel-component/panel-app-title/panel-app-title.mjs +2 -2
- package/es/panel-component/panel-button/panel-button.css +1 -1
- package/es/panel-component/panel-carousel/panel-carousel.controller.mjs +1 -1
- package/es/panel-component/panel-video-player/panel-video-player.controller.mjs +2 -2
- package/es/panel-component/split-container/split-container.controller.mjs +1 -1
- package/es/panel-component/user-message/common/internal-message-default/internal-message-default.provider.mjs +1 -1
- package/es/panel-component/user-message/user-message.mjs +1 -1
- package/es/panel-component/user-message/user-message.util.mjs +1 -1
- package/es/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
- package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +12 -12
- package/es/platform/ios-platform-provider.mjs +2 -2
- package/es/platform/wechat-official-platform-provider.mjs +1 -1
- package/es/util/ai-chat-util/ai-chat-util.mjs +204 -41
- package/es/util/app-drawer/app-drawer-component.mjs +20 -6
- package/es/util/app-modal/app-modal-component.mjs +7 -4
- package/es/util/app-popover/app-popover-component.mjs +4 -4
- package/es/util/app-util/app-util.mjs +38 -3
- package/es/util/button-util/button-util.mjs +33 -1
- package/es/util/confirm-util/confirm-util.mjs +4 -4
- package/es/util/directive/loading.mjs +1 -1
- package/es/util/fullscreen/fullscreen-util.mjs +1 -1
- package/es/util/index.mjs +2 -1
- package/es/util/list-util/list-render-util.mjs +24 -5
- package/es/util/loading-util/loading-util.mjs +1 -1
- package/es/util/open-view-util/open-view-util.mjs +1 -1
- package/es/util/print-preview-util/print-preview-markdown/icon/icon.mjs +46 -0
- package/es/util/print-preview-util/print-preview-markdown/print-preview-markdown.css +1 -0
- package/es/util/print-preview-util/print-preview-markdown/print-preview-markdown.mjs +62 -0
- package/es/util/print-preview-util/print-preview-util.mjs +57 -0
- package/es/util/scan-qrcode/scan-qrcode.mjs +1 -1
- package/es/util/user-route-util/user-route-util.mjs +4 -4
- package/es/util/xlsx-util/xlsx-util.mjs +1 -1
- package/es/view-engine/index-view.engine.mjs +4 -0
- package/es/view-engine/index.mjs +31 -31
- package/es/view-engine/login-view.engine.mjs +1 -1
- package/es/view-engine/mob-calendar-view.engine.mjs +8 -1
- package/es/view-engine/mob-edit-view.engine.mjs +1 -1
- package/es/view-engine/mob-wf-dyna-action-view.engine.mjs +1 -1
- package/es/view-engine/mob-wf-dyna-edit-view.engine.mjs +1 -1
- package/es/view-engine/mob-wf-dyna-start-view.engine.mjs +1 -1
- package/lib/_virtual/index12.cjs +2 -2
- package/lib/_virtual/index13.cjs +2 -2
- package/lib/common/action-group/action-group.cjs +42 -41
- package/lib/common/action-group/action-group.css +1 -1
- package/lib/common/button-list/button-list.cjs +14 -23
- package/lib/common/button-list/button-list.css +1 -1
- package/lib/common/col/col.cjs +1 -1
- package/lib/common/cropping/cropping.cjs +5 -5
- package/lib/common/date-range-picker/components/range-picker/range-picker.cjs +2 -4
- package/lib/common/date-range-picker/components/single-picker/single-picker.cjs +2 -4
- package/lib/common/date-range-picker/date-range-picker.cjs +2 -2
- package/lib/common/emoji-select/components/emoji-item/emoji-item.cjs +4 -4
- package/lib/common/emoji-select/components/emoji-list/emoji-list.cjs +1 -1
- package/lib/common/emoji-select/icons/categories.cjs +9 -57
- package/lib/common/float-button/float-button.cjs +11 -6
- package/lib/common/float-button/float-button.css +1 -1
- package/lib/common/keep-alive/keep-alive.cjs +2 -2
- package/lib/common/keep-alive/scheduler.cjs +1 -1
- package/lib/common/preview-image/preview-image.cjs +4 -4
- package/lib/common/rawitem/rawitem.cjs +2 -2
- package/lib/common/row/row.cjs +1 -1
- package/lib/common/split/split.cjs +9 -9
- package/lib/common/split-trigger/split-trigger.cjs +1 -1
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown.cjs +1 -1
- package/lib/control/app-menu/app-menu.cjs +1 -1
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +1 -1
- package/lib/control/app-menu/menu-render-util.cjs +2 -0
- package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +1 -1
- package/lib/control/app-menu-icon-view/index.cjs +1 -1
- package/lib/control/app-menu-list-view/app-menu-list-view.cjs +1 -1
- package/lib/control/app-menu-list-view/index.cjs +1 -1
- package/lib/control/calendar/calendar.cjs +6 -6
- package/lib/control/caption-bar/caption-bar.cjs +1 -1
- package/lib/control/chart/chart.cjs +1 -1
- package/lib/control/dashboard/dashboard.cjs +3 -1
- package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/container-portlet/container-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/list-portlet/list-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/menu-portlet/menu-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +4 -4
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/view-portlet/view-portlet.cjs +1 -1
- package/lib/control/data-view/data-view.cjs +7 -7
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.cjs +1 -1
- package/lib/control/drtab/drtab.cjs +1 -1
- package/lib/control/drtab/drtab.controller.cjs +1 -1
- package/lib/control/form/edit-form/edit-form.cjs +1 -1
- package/lib/control/form/form/form.cjs +2 -2
- package/lib/control/form/form-detail/form-button/form-button.cjs +1 -1
- package/lib/control/form/form-detail/form-button/form-button.css +1 -1
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +1 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +6 -6
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.provider.cjs +2 -2
- package/lib/control/form/search-form/search-form.cjs +1 -1
- package/lib/control/list/list/list.cjs +1 -1
- package/lib/control/list/md-ctrl/md-ctrl.cjs +2 -2
- package/lib/control/list/md-ctrl/md-ctrl.css +1 -1
- package/lib/control/pickup-view-panel/pickup-view-panel.cjs +1 -1
- package/lib/control/search-bar/filter-field-select/filter-field-select.cjs +1 -1
- package/lib/control/search-bar/filter-mode-select/filter-mode-select.cjs +1 -1
- package/lib/control/search-bar/filter-tree/filter-tree.cjs +1 -1
- package/lib/control/search-bar/filter-tree/filter-tree.css +1 -1
- package/lib/control/search-bar/search-bar.cjs +10 -6
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +1 -1
- package/lib/control/toolbar/float-toolbar/float-toolbar.cjs +13 -7
- package/lib/control/toolbar/float-toolbar/float-toolbar.css +1 -1
- package/lib/control/toolbar/toolbar-render-util.cjs +55 -32
- package/lib/control/toolbar/toolbar.cjs +1 -1
- package/lib/control/tree/tree.cjs +9 -9
- package/lib/control/tree-exp-bar/tree-exp-bar.cjs +1 -1
- package/lib/control/wizard-panel/wizard-panel.cjs +6 -6
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +2 -2
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +2 -2
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +2 -2
- package/lib/editor/data-picker/picker-editor.controller.cjs +1 -1
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +7 -7
- package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.cjs +1 -1
- package/lib/editor/html/html-editor.controller.cjs +26 -9
- package/lib/editor/html/quill-editor/quill-editor.cjs +12 -3
- package/lib/editor/html/quill-editor-preview/quill-editor-preview.cjs +4 -4
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +12 -3
- package/lib/editor/markdown/markdown-editor.controller.cjs +23 -3
- package/lib/editor/qrcode/ibiz-qrcode/ibiz-qrcode.cjs +1 -1
- package/lib/editor/slider/ibiz-slider/ibiz-slider.cjs +2 -2
- package/lib/editor/span/span/span.cjs +7 -7
- package/lib/editor/span/span-link/span-link.cjs +1 -1
- package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
- package/lib/editor/text-box/input/input.cjs +4 -4
- package/lib/editor/text-box/signature/signature.cjs +59 -19
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +1 -1
- package/lib/editor/upload/upload-editor.controller.cjs +18 -1
- package/lib/editor/upload/use/use-van-upload.cjs +6 -2
- package/lib/index.cjs +3 -0
- package/lib/locale/en/index.cjs +26 -23
- package/lib/locale/zh-CN/index.cjs +3 -0
- package/lib/mob-app/App.cjs +9 -0
- package/lib/mob-app/components/modal-router-shell/modal-router-shell.cjs +6 -4
- package/lib/mob-app/components/router-shell/router-shell.cjs +1 -1
- package/lib/mob-app/guard/auth-guard/auth-guard.cjs +2 -2
- package/lib/mob-app/guard/auth-guard/dyna-auth-guard.cjs +2 -2
- package/lib/mob-app/main.cjs +3 -1
- package/lib/mob-app/router/index.cjs +131 -76
- package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +5 -5
- package/lib/node_modules/.pnpm/dingtalk-jsapi@3.2.0/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.cjs +1 -1
- package/lib/node_modules/.pnpm/dingtalk-jsapi@3.2.0/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.cjs +1 -1
- package/lib/panel-component/async-action/async-action/async-action.cjs +2 -2
- package/lib/panel-component/async-action/async-action-preview/async-action-preview.cjs +3 -3
- package/lib/panel-component/async-action/async-action-result/async-action-result.cjs +1 -1
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +2 -2
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +2 -2
- package/lib/panel-component/panel-button/panel-button.css +1 -1
- package/lib/panel-component/panel-carousel/panel-carousel.controller.cjs +1 -1
- package/lib/panel-component/panel-video-player/panel-video-player.controller.cjs +2 -2
- package/lib/panel-component/split-container/split-container.controller.cjs +1 -1
- package/lib/panel-component/user-message/common/internal-message-default/internal-message-default.provider.cjs +1 -1
- package/lib/panel-component/user-message/user-message.cjs +1 -1
- package/lib/panel-component/user-message/user-message.util.cjs +1 -1
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +12 -12
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
- package/lib/platform/ios-platform-provider.cjs +2 -2
- package/lib/platform/wechat-official-platform-provider.cjs +1 -1
- package/lib/util/ai-chat-util/ai-chat-util.cjs +204 -41
- package/lib/util/app-drawer/app-drawer-component.cjs +20 -6
- package/lib/util/app-modal/app-modal-component.cjs +7 -4
- package/lib/util/app-popover/app-popover-component.cjs +4 -4
- package/lib/util/app-util/app-util.cjs +38 -3
- package/lib/util/button-util/button-util.cjs +34 -0
- package/lib/util/confirm-util/confirm-util.cjs +4 -4
- package/lib/util/directive/loading.cjs +1 -1
- package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
- package/lib/util/index.cjs +3 -0
- package/lib/util/list-util/list-render-util.cjs +24 -5
- package/lib/util/loading-util/loading-util.cjs +1 -1
- package/lib/util/open-view-util/open-view-util.cjs +1 -1
- package/lib/util/print-preview-util/print-preview-markdown/icon/icon.cjs +52 -0
- package/lib/util/print-preview-util/print-preview-markdown/print-preview-markdown.cjs +64 -0
- package/lib/util/print-preview-util/print-preview-markdown/print-preview-markdown.css +1 -0
- package/lib/util/print-preview-util/print-preview-util.cjs +59 -0
- package/lib/util/scan-qrcode/scan-qrcode.cjs +1 -1
- package/lib/util/user-route-util/user-route-util.cjs +4 -4
- package/lib/util/xlsx-util/xlsx-util.cjs +1 -1
- package/lib/view-engine/index-view.engine.cjs +4 -0
- package/lib/view-engine/index.cjs +31 -31
- package/lib/view-engine/login-view.engine.cjs +1 -1
- package/lib/view-engine/mob-calendar-view.engine.cjs +7 -0
- package/lib/view-engine/mob-edit-view.engine.cjs +1 -1
- package/lib/view-engine/mob-wf-dyna-action-view.engine.cjs +1 -1
- package/lib/view-engine/mob-wf-dyna-edit-view.engine.cjs +1 -1
- package/lib/view-engine/mob-wf-dyna-start-view.engine.cjs +1 -1
- package/package.json +9 -9
- package/dist/chart-j1WkpBhc.js +0 -2
- package/dist/ibiz-markdown-editor-COU_MxNu.js +0 -2
- package/dist/ibiz-markdown-editor-COU_MxNu.js.map +0 -1
- package/dist/index-Bn7VkqJp.js +0 -76
- package/dist/index-Bn7VkqJp.js.map +0 -1
- package/dist/index-ChdHGLJI.js +0 -2
- package/dist/index-Dd7yiMzY.js +0 -2
- package/dist/index.es-D0mZvSDS.js +0 -14
- package/dist/index.es-D0mZvSDS.js.map +0 -1
- package/dist/quill-BOA7ZLOz.js +0 -50
- package/dist/quill-editor-DcZd_lqh.js +0 -2
- package/dist/quill-editor-DcZd_lqh.js.map +0 -1
- package/dist/quill-editor-preview-DghpeKpg.js +0 -2
- package/dist/tree-BTa0bMPr.js +0 -2
- package/dist/xlsx-util-CQaOn5OK.js +0 -105
- package/dist/xlsx-util-CQaOn5OK.js.map +0 -1
- package/es/node_modules/.pnpm/@ibiz-template-plugin_ibiz-mob-ai-chat@0.0.1_cherry-markdown@0.8.58_interactjs@1.10.27_qx-uti_xgmgjpxet4ghyc7txs4jkjxilq/node_modules/@ibiz-template-plugin/ibiz-mob-ai-chat/dist/index.es.mjs +0 -4425
- package/lib/node_modules/.pnpm/@ibiz-template-plugin_ibiz-mob-ai-chat@0.0.1_cherry-markdown@0.8.58_interactjs@1.10.27_qx-uti_xgmgjpxet4ghyc7txs4jkjxilq/node_modules/@ibiz-template-plugin/ibiz-mob-ai-chat/dist/index.es.cjs +0 -4427
|
@@ -107,12 +107,12 @@ const IBizSlider = /* @__PURE__ */ vue.defineComponent({
|
|
|
107
107
|
if (textItem) {
|
|
108
108
|
const data = props.data || {};
|
|
109
109
|
if (data[textItem]) {
|
|
110
|
-
return ibiz.util.text.format(
|
|
110
|
+
return ibiz.util.text.format("".concat(data[textItem]), format);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
const tempCurVal = Number(currentVal.value);
|
|
114
114
|
const value = Number(tempCurVal / max);
|
|
115
|
-
const formatValue = ibiz.util.text.format(
|
|
115
|
+
const formatValue = ibiz.util.text.format("".concat(value), format);
|
|
116
116
|
return formatValue;
|
|
117
117
|
});
|
|
118
118
|
const handleChange = (currentValue) => {
|
|
@@ -58,7 +58,7 @@ const IBizSpan = /* @__PURE__ */ vue.defineComponent({
|
|
|
58
58
|
});
|
|
59
59
|
text.value = tempValue.join(textSeparator);
|
|
60
60
|
} catch (error) {
|
|
61
|
-
ibiz.log.error(
|
|
61
|
+
ibiz.log.error("\u6807\u7B7E\u5730\u5740\u9009\u62E9\u5668\u7684\u503C\u4E0D\u7B26\u5408JSON\u683C\u5F0F".concat(newVal));
|
|
62
62
|
}
|
|
63
63
|
} else if (valueFormat) {
|
|
64
64
|
try {
|
|
@@ -69,17 +69,17 @@ const IBizSpan = /* @__PURE__ */ vue.defineComponent({
|
|
|
69
69
|
if (isValidDateFormat(tempVal, valueFormat)) {
|
|
70
70
|
text.value = tempVal;
|
|
71
71
|
} else {
|
|
72
|
-
text.value = ibiz.util.text.format(
|
|
72
|
+
text.value = ibiz.util.text.format("".concat(newVal), valueFormat);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
} catch (error) {
|
|
76
|
-
text.value =
|
|
77
|
-
ibiz.log.error(
|
|
76
|
+
text.value = "".concat(newVal);
|
|
77
|
+
ibiz.log.error("".concat(newVal, " \u503C\u683C\u5F0F\u5316\u9519\u8BEF"));
|
|
78
78
|
}
|
|
79
|
-
} else if (core.isEmoji(
|
|
80
|
-
text.value = core.base64ToStr(
|
|
79
|
+
} else if (core.isEmoji("".concat(newVal))) {
|
|
80
|
+
text.value = core.base64ToStr("".concat(newVal));
|
|
81
81
|
} else {
|
|
82
|
-
text.value =
|
|
82
|
+
text.value = "".concat(newVal);
|
|
83
83
|
}
|
|
84
84
|
if (unitName) {
|
|
85
85
|
text.value += unitName;
|
|
@@ -17,7 +17,7 @@ const IBizSpanLink = /* @__PURE__ */ vue.defineComponent({
|
|
|
17
17
|
const curValue = vue.ref("");
|
|
18
18
|
vue.watch(() => props.value, (newVal, oldVal) => {
|
|
19
19
|
if (newVal && newVal !== oldVal) {
|
|
20
|
-
curValue.value =
|
|
20
|
+
curValue.value = "".concat(newVal);
|
|
21
21
|
}
|
|
22
22
|
}, {
|
|
23
23
|
immediate: true
|
|
@@ -76,7 +76,7 @@ const IBizStepper = /* @__PURE__ */ vue.defineComponent({
|
|
|
76
76
|
render() {
|
|
77
77
|
let content = null;
|
|
78
78
|
if (this.readonly) {
|
|
79
|
-
content =
|
|
79
|
+
content = "".concat(this.currentVal || "");
|
|
80
80
|
} else {
|
|
81
81
|
content = [vue.createVNode(vue.resolveComponent("van-stepper"), vue.mergeProps({
|
|
82
82
|
"ref": "inputRef",
|
|
@@ -71,7 +71,7 @@ const IBizInputNumber = /* @__PURE__ */ vue.defineComponent({
|
|
|
71
71
|
} = this.c.parent;
|
|
72
72
|
let content = null;
|
|
73
73
|
if (this.readonly) {
|
|
74
|
-
content =
|
|
74
|
+
content = "".concat(this.currentVal || "");
|
|
75
75
|
if (content && unitName) {
|
|
76
76
|
content += unitName;
|
|
77
77
|
}
|
|
@@ -60,8 +60,8 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
|
|
|
60
60
|
if (newVal !== oldVal) {
|
|
61
61
|
if (!newVal) {
|
|
62
62
|
currentVal.value = "";
|
|
63
|
-
} else if (core.isEmoji(
|
|
64
|
-
currentVal.value = core.base64ToStr(
|
|
63
|
+
} else if (core.isEmoji("".concat(newVal))) {
|
|
64
|
+
currentVal.value = core.base64ToStr("".concat(newVal));
|
|
65
65
|
} else {
|
|
66
66
|
currentVal.value = newVal;
|
|
67
67
|
}
|
|
@@ -93,7 +93,7 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
|
|
|
93
93
|
if (type.value === "textarea" && platformType === runtime.PlatformType.IOS && textAlign.value === "right") {
|
|
94
94
|
const textarea = inputRef.value.$el.querySelector("textarea");
|
|
95
95
|
if (textarea) {
|
|
96
|
-
const val =
|
|
96
|
+
const val = "".concat(currentVal.value, " ");
|
|
97
97
|
emit("change", val);
|
|
98
98
|
vue.nextTick(() => {
|
|
99
99
|
textarea.setSelectionRange(val.length + 1, val.length + 1);
|
|
@@ -165,7 +165,7 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
|
|
|
165
165
|
} = this.c.parent;
|
|
166
166
|
let content = null;
|
|
167
167
|
if (this.readonly) {
|
|
168
|
-
content =
|
|
168
|
+
content = "".concat(this.currentVal || "");
|
|
169
169
|
if (content && unitName) {
|
|
170
170
|
content += unitName;
|
|
171
171
|
}
|
|
@@ -14,11 +14,12 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
14
14
|
setup(props, {
|
|
15
15
|
emit
|
|
16
16
|
}) {
|
|
17
|
+
var _a;
|
|
17
18
|
const ns = vue3Util.useNamespace("signature");
|
|
18
19
|
const c = props.controller;
|
|
19
20
|
const editorModel = c.model;
|
|
20
21
|
const headers = vue.ref({
|
|
21
|
-
[
|
|
22
|
+
["".concat(ibiz.env.tokenHeader, "Authorization")]: "".concat(ibiz.env.tokenPrefix, "Bearer ").concat(core.getAppCookie(core.CoreConst.TOKEN))
|
|
22
23
|
});
|
|
23
24
|
const uploadUrl = vue.ref("");
|
|
24
25
|
const downloadUrl = vue.ref("");
|
|
@@ -26,6 +27,13 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
27
|
const fullScreen = vue.ref(false);
|
|
27
28
|
const currentDataURL = vue.ref("");
|
|
28
29
|
const currentVal = vue.ref("");
|
|
30
|
+
const enableNoAccess = ((_a = c.editorParams) == null ? void 0 : _a.enablenoaccess) === "true";
|
|
31
|
+
let globalDownloadPrifix = false;
|
|
32
|
+
if (c.editorParams.globaldownloadprifix) {
|
|
33
|
+
globalDownloadPrifix = c.editorParams.globaldownloadprifix === "true";
|
|
34
|
+
} else {
|
|
35
|
+
globalDownloadPrifix = ibiz.config.common.globalDownloadPrifix;
|
|
36
|
+
}
|
|
29
37
|
let saveMode = "img";
|
|
30
38
|
let buttons = [{
|
|
31
39
|
label: ibiz.i18n.t("editor.signature.undo"),
|
|
@@ -61,12 +69,12 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
61
69
|
}
|
|
62
70
|
};
|
|
63
71
|
const restCavans = () => {
|
|
64
|
-
var
|
|
65
|
-
(
|
|
72
|
+
var _a2;
|
|
73
|
+
(_a2 = signatureRef.value) == null ? void 0 : _a2.updateSignaturePad(() => {
|
|
66
74
|
vue.nextTick(() => {
|
|
67
|
-
var
|
|
75
|
+
var _a3, _b;
|
|
68
76
|
if (currentDataURL.value) {
|
|
69
|
-
(
|
|
77
|
+
(_a3 = signatureRef.value) == null ? void 0 : _a3.signaturePad.fromDataURL(currentDataURL.value, {
|
|
70
78
|
// 旋转适配横屏
|
|
71
79
|
rotation: 90
|
|
72
80
|
});
|
|
@@ -77,17 +85,41 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
77
85
|
});
|
|
78
86
|
};
|
|
79
87
|
const handleCurrentVal = async () => {
|
|
80
|
-
var
|
|
88
|
+
var _a2, _b;
|
|
81
89
|
if (currentVal.value) {
|
|
82
90
|
ibiz.loading.showRedirect();
|
|
83
91
|
if (saveMode === "img") {
|
|
84
92
|
currentDataURL.value = currentVal.value;
|
|
85
93
|
} else if (downloadUrl.value) {
|
|
86
94
|
const fileData = JSON.parse(currentVal.value)[0];
|
|
87
|
-
|
|
95
|
+
let url = downloadUrl.value.replace("%fileId%", fileData.id);
|
|
88
96
|
try {
|
|
89
|
-
|
|
90
|
-
|
|
97
|
+
if (ibiz.config.common.enableDownloadTicket && !enableNoAccess) {
|
|
98
|
+
const downloadTicket = await ibiz.util.file.getDownloadTicket(c.context, c.params, props.data || {}, {
|
|
99
|
+
fileId: fileData.id
|
|
100
|
+
}, c.downloadTicketParams);
|
|
101
|
+
if (downloadTicket && downloadTicket.ticket)
|
|
102
|
+
url = downloadUrl.value.replace("%fileId%", downloadTicket.ticket);
|
|
103
|
+
}
|
|
104
|
+
const editorParams = {
|
|
105
|
+
...c.editorParams,
|
|
106
|
+
enableNoAccess,
|
|
107
|
+
globalDownloadPrifix
|
|
108
|
+
};
|
|
109
|
+
if (editorParams.exportparams) {
|
|
110
|
+
editorParams.exportParams = JSON.parse(editorParams.exportparams);
|
|
111
|
+
}
|
|
112
|
+
const fileBlob = await ibiz.util.file.requestFile(url, void 0, {
|
|
113
|
+
context: c.context,
|
|
114
|
+
params: c.params,
|
|
115
|
+
data: props.data,
|
|
116
|
+
file: {
|
|
117
|
+
fileId: fileData.id
|
|
118
|
+
},
|
|
119
|
+
extraParams: editorParams,
|
|
120
|
+
downloadTicketParams: c.downloadTicketParams
|
|
121
|
+
});
|
|
122
|
+
const dataUrl = await ((_a2 = signatureRef.value) == null ? void 0 : _a2.signaturePad.blobToDataURL(fileBlob));
|
|
91
123
|
currentDataURL.value = dataUrl;
|
|
92
124
|
} catch (error) {
|
|
93
125
|
ibiz.log.error(error);
|
|
@@ -100,7 +132,15 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
100
132
|
};
|
|
101
133
|
vue.watch(() => props.data, (newVal) => {
|
|
102
134
|
if (newVal) {
|
|
103
|
-
const
|
|
135
|
+
const editorParams = {
|
|
136
|
+
...c.editorParams,
|
|
137
|
+
enableNoAccess,
|
|
138
|
+
globalDownloadPrifix
|
|
139
|
+
};
|
|
140
|
+
if (editorParams.uploadparams) {
|
|
141
|
+
editorParams.uploadParams = JSON.parse(editorParams.uploadparams);
|
|
142
|
+
}
|
|
143
|
+
const urls = ibiz.util.file.calcFileUpDownUrl(c.context, c.params, newVal, editorParams);
|
|
104
144
|
uploadUrl.value = urls.uploadUrl;
|
|
105
145
|
downloadUrl.value = urls.downloadUrl;
|
|
106
146
|
}
|
|
@@ -113,7 +153,7 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
113
153
|
if (!newVal) {
|
|
114
154
|
currentVal.value = "";
|
|
115
155
|
} else {
|
|
116
|
-
currentVal.value =
|
|
156
|
+
currentVal.value = "".concat(newVal || "");
|
|
117
157
|
}
|
|
118
158
|
await handleCurrentVal();
|
|
119
159
|
}
|
|
@@ -135,7 +175,7 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
135
175
|
type
|
|
136
176
|
} = getFileType(dataURL);
|
|
137
177
|
const blob = core.base64ToBlob(dataURL);
|
|
138
|
-
const fileName =
|
|
178
|
+
const fileName = "signature_".concat(Date.now(), ".png");
|
|
139
179
|
const file = new File([blob], fileName, {
|
|
140
180
|
type
|
|
141
181
|
});
|
|
@@ -149,9 +189,9 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
149
189
|
restCavans();
|
|
150
190
|
};
|
|
151
191
|
const handleRemove = (_evt) => {
|
|
152
|
-
var
|
|
192
|
+
var _a2;
|
|
153
193
|
_evt.stopPropagation();
|
|
154
|
-
(
|
|
194
|
+
(_a2 = signatureRef.value) == null ? void 0 : _a2.signaturePad.clear();
|
|
155
195
|
currentDataURL.value = "";
|
|
156
196
|
handleEmit(null);
|
|
157
197
|
};
|
|
@@ -167,9 +207,9 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
167
207
|
}]));
|
|
168
208
|
};
|
|
169
209
|
const handleConfirm = () => {
|
|
170
|
-
var
|
|
210
|
+
var _a2, _b, _c;
|
|
171
211
|
fullScreen.value = false;
|
|
172
|
-
if (((
|
|
212
|
+
if (((_a2 = signatureRef.value) == null ? void 0 : _a2.signaturePad.isEmpty()) || !((_b = signatureRef.value) == null ? void 0 : _b.signaturePad.isRedrawn()))
|
|
173
213
|
return;
|
|
174
214
|
const dataURL = (_c = signatureRef.value) == null ? void 0 : _c.signaturePad.toDataURL(void 0, {
|
|
175
215
|
// 旋转为述评适配预览
|
|
@@ -187,10 +227,10 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
187
227
|
}
|
|
188
228
|
};
|
|
189
229
|
const handleButtonClick = (_type) => {
|
|
190
|
-
var
|
|
230
|
+
var _a2, _b;
|
|
191
231
|
switch (_type) {
|
|
192
232
|
case "undo":
|
|
193
|
-
(
|
|
233
|
+
(_a2 = signatureRef.value) == null ? void 0 : _a2.signaturePad.undoLastStep();
|
|
194
234
|
break;
|
|
195
235
|
case "rewrite":
|
|
196
236
|
(_b = signatureRef.value) == null ? void 0 : _b.signaturePad.clear();
|
|
@@ -238,7 +278,7 @@ const IBizSignature = /* @__PURE__ */ vue.defineComponent({
|
|
|
238
278
|
}, [ibiz.i18n.t("editor.signature.addSignature")])]), vue.createVNode("div", {
|
|
239
279
|
"class": this.ns.e("content"),
|
|
240
280
|
"style": {
|
|
241
|
-
backgroundImage:
|
|
281
|
+
backgroundImage: "url(".concat(this.currentDataURL, ")")
|
|
242
282
|
}
|
|
243
283
|
}, null), vue.createVNode("div", {
|
|
244
284
|
"class": [this.ns.b("overlay"), this.ns.is("full-screen", this.fullScreen), this.ns.is("disabled", this.disabled), this.ns.is("readonly", this.readonly)],
|
|
@@ -47,7 +47,7 @@ const IBizFileUpload = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
47
|
const getPreviewImg = (name) => {
|
|
48
48
|
const suffix = getFileSuffix(name);
|
|
49
49
|
const type = c.fileTypeMap.get(suffix) || "unknown";
|
|
50
|
-
return
|
|
50
|
+
return "./assets/img/file/".concat(type, ".svg");
|
|
51
51
|
};
|
|
52
52
|
return {
|
|
53
53
|
ns,
|
|
@@ -33,6 +33,17 @@ class UploadEditorController extends runtime.EditorController {
|
|
|
33
33
|
* 下载参数
|
|
34
34
|
*/
|
|
35
35
|
__publicField(this, "exportParams");
|
|
36
|
+
/**
|
|
37
|
+
* @description 是否启用无权限
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof UploadEditorController
|
|
40
|
+
*/
|
|
41
|
+
__publicField(this, "enableNoAccess", false);
|
|
42
|
+
/**
|
|
43
|
+
* @description 是否使用全局文件下载前缀
|
|
44
|
+
* @memberof UploadEditorController
|
|
45
|
+
*/
|
|
46
|
+
__publicField(this, "globalDownloadPrifix", false);
|
|
36
47
|
/**
|
|
37
48
|
* 文件类型
|
|
38
49
|
*
|
|
@@ -153,7 +164,9 @@ class UploadEditorController extends runtime.EditorController {
|
|
|
153
164
|
uploadParams,
|
|
154
165
|
exportParams,
|
|
155
166
|
uploadparams,
|
|
156
|
-
exportparams
|
|
167
|
+
exportparams,
|
|
168
|
+
enablenoaccess,
|
|
169
|
+
globaldownloadprifix
|
|
157
170
|
} = this.editorParams;
|
|
158
171
|
if (isDrag) {
|
|
159
172
|
this.isDrag = Boolean(isDrag);
|
|
@@ -204,6 +217,10 @@ class UploadEditorController extends runtime.EditorController {
|
|
|
204
217
|
);
|
|
205
218
|
}
|
|
206
219
|
}
|
|
220
|
+
if (enablenoaccess) {
|
|
221
|
+
this.enableNoAccess = enablenoaccess === "true";
|
|
222
|
+
}
|
|
223
|
+
this.globalDownloadPrifix = globaldownloadprifix === "true" || ibiz.config.common.globalDownloadPrifix;
|
|
207
224
|
}
|
|
208
225
|
}
|
|
209
226
|
/**
|
|
@@ -7,7 +7,7 @@ var vue = require('vue');
|
|
|
7
7
|
function useVanUpload(props, valueChange, c) {
|
|
8
8
|
const files = vue.ref([]);
|
|
9
9
|
const headers = vue.ref({
|
|
10
|
-
[
|
|
10
|
+
["".concat(ibiz.env.tokenHeader, "Authorization")]: "".concat(ibiz.env.tokenPrefix, "Bearer ").concat(core.getAppCookie(core.CoreConst.TOKEN))
|
|
11
11
|
});
|
|
12
12
|
const uploadUrl = vue.ref("");
|
|
13
13
|
const downloadUrl = vue.ref("");
|
|
@@ -23,7 +23,11 @@ function useVanUpload(props, valueChange, c) {
|
|
|
23
23
|
() => props.data,
|
|
24
24
|
(newVal) => {
|
|
25
25
|
if (newVal) {
|
|
26
|
-
const editorParams = {
|
|
26
|
+
const editorParams = {
|
|
27
|
+
...c.editorParams,
|
|
28
|
+
enableNoAccess: c.enableNoAccess,
|
|
29
|
+
globalDownloadPrifix: c.globalDownloadPrifix
|
|
30
|
+
};
|
|
27
31
|
if (editorParams.uploadparams) {
|
|
28
32
|
editorParams.uploadParams = JSON.parse(editorParams.uploadparams);
|
|
29
33
|
}
|
package/lib/index.cjs
CHANGED
|
@@ -187,6 +187,7 @@ var buttonUtil = require('./util/button-util/button-util.cjs');
|
|
|
187
187
|
var listRenderUtil = require('./util/list-util/list-render-util.cjs');
|
|
188
188
|
var userRouteUtil = require('./util/user-route-util/user-route-util.cjs');
|
|
189
189
|
var aiChatUtil = require('./util/ai-chat-util/ai-chat-util.cjs');
|
|
190
|
+
var printPreviewUtil = require('./util/print-preview-util/print-preview-util.cjs');
|
|
190
191
|
var viewStack = require('./util/store/view-stack/view-stack.cjs');
|
|
191
192
|
var main = require('./mob-app/main.cjs');
|
|
192
193
|
var authGuardHooks = require('./mob-app/guard/auth-guard-hooks.cjs');
|
|
@@ -382,11 +383,13 @@ exports.usePagination = usePagination.usePagination;
|
|
|
382
383
|
exports.FullscreenUtil = fullscreenUtil.FullscreenUtil;
|
|
383
384
|
exports.usePopstateListener = usePopstateUtil.usePopstateListener;
|
|
384
385
|
exports.QrcodeUtil = qrcodeUtil.QrcodeUtil;
|
|
386
|
+
exports.calcPopoverPlacement = buttonUtil.calcPopoverPlacement;
|
|
385
387
|
exports.convertBtnType = buttonUtil.convertBtnType;
|
|
386
388
|
exports.useListRender = listRenderUtil.useListRender;
|
|
387
389
|
exports.splitPathToSegments = userRouteUtil.splitPathToSegments;
|
|
388
390
|
exports.validateRouteSegments = userRouteUtil.validateRouteSegments;
|
|
389
391
|
exports.AIChatUtil = aiChatUtil.AIChatUtil;
|
|
392
|
+
exports.PrintPreviewUtil = printPreviewUtil.PrintPreviewUtil;
|
|
390
393
|
exports.calcUniqueKey = viewStack.calcUniqueKey;
|
|
391
394
|
exports.useViewStack = viewStack.useViewStack;
|
|
392
395
|
exports.runApp = main.runApp;
|
package/lib/locale/en/index.cjs
CHANGED
|
@@ -332,6 +332,32 @@ var index = {
|
|
|
332
332
|
overconstrainedError: "Installed cameras are not suitable",
|
|
333
333
|
streamApiNotSupportedError: "Stream API is not supported in this browser",
|
|
334
334
|
insecureContextError: "Camera access is only permitted in secure context. use HTTPS or localhost rather than HTTP."
|
|
335
|
+
},
|
|
336
|
+
aiChartUtil: {
|
|
337
|
+
feedback: "Feedback",
|
|
338
|
+
description: "Description",
|
|
339
|
+
regardingIssue: "Regarding the problem",
|
|
340
|
+
understandProblem: "Not understanding the problem",
|
|
341
|
+
forgotContext: "Forgot the previous text",
|
|
342
|
+
notFollowingRequire: "Not Following Requirements",
|
|
343
|
+
regardingResponse: "Regarding the effectiveness of the answer",
|
|
344
|
+
incorrectAswer: "Incorrect answer",
|
|
345
|
+
logicalConfusion: "Logical confusion",
|
|
346
|
+
poorTimeliness: "Poor timeliness",
|
|
347
|
+
poorReadability: "Poor readability",
|
|
348
|
+
incompleteAnswer: "Incomplete answer",
|
|
349
|
+
unprofessional: "The answer is vague and unprofessional",
|
|
350
|
+
report: "Report",
|
|
351
|
+
pornographicVulgar: "Pornographic Vulgar",
|
|
352
|
+
politicallySensitive: "Politically sensitive",
|
|
353
|
+
illegalCriminal: "Illegal crime",
|
|
354
|
+
discriminationPrejudice: "Discrimination or Prejudice Answer",
|
|
355
|
+
violationPrivacy: "Violation of Privacy",
|
|
356
|
+
contentInfringement: "Content infringement",
|
|
357
|
+
placeholder: "Please enter"
|
|
358
|
+
},
|
|
359
|
+
printPreviewUtil: {
|
|
360
|
+
title: "Print Preview"
|
|
335
361
|
}
|
|
336
362
|
},
|
|
337
363
|
// 视图
|
|
@@ -361,29 +387,6 @@ var index = {
|
|
|
361
387
|
missingToolbarModel: "Missing toolbar component model",
|
|
362
388
|
notReceivedPrompt: "No appDataElementId received"
|
|
363
389
|
},
|
|
364
|
-
aiChartUtil: {
|
|
365
|
-
feedback: "Feedback",
|
|
366
|
-
description: "Description",
|
|
367
|
-
regardingIssue: "Regarding the problem",
|
|
368
|
-
understandProblem: "Not understanding the problem",
|
|
369
|
-
forgotContext: "Forgot the previous text",
|
|
370
|
-
notFollowingRequire: "Not Following Requirements",
|
|
371
|
-
regardingResponse: "Regarding the effectiveness of the answer",
|
|
372
|
-
incorrectAswer: "Incorrect answer",
|
|
373
|
-
logicalConfusion: "Logical confusion",
|
|
374
|
-
poorTimeliness: "Poor timeliness",
|
|
375
|
-
poorReadability: "Poor readability",
|
|
376
|
-
incompleteAnswer: "Incomplete answer",
|
|
377
|
-
unprofessional: "The answer is vague and unprofessional",
|
|
378
|
-
report: "Report",
|
|
379
|
-
pornographicVulgar: "Pornographic Vulgar",
|
|
380
|
-
politicallySensitive: "Politically sensitive",
|
|
381
|
-
illegalCriminal: "Illegal crime",
|
|
382
|
-
discriminationPrejudice: "Discrimination or Prejudice Answer",
|
|
383
|
-
violationPrivacy: "Violation of Privacy",
|
|
384
|
-
contentInfringement: "Content infringement",
|
|
385
|
-
placeholder: "Please enter"
|
|
386
|
-
},
|
|
387
390
|
// runTime
|
|
388
391
|
...runtime.en,
|
|
389
392
|
// vue3Util
|
package/lib/mob-app/App.cjs
CHANGED
|
@@ -56,6 +56,15 @@ var App = /* @__PURE__ */ vue.defineComponent({
|
|
|
56
56
|
...(_a = ibiz.appData) == null ? void 0 : _a.context
|
|
57
57
|
});
|
|
58
58
|
});
|
|
59
|
+
const parentWindow = window.parent;
|
|
60
|
+
if (parentWindow && parentWindow.postMessage) {
|
|
61
|
+
vue3Util.onRouteChange(() => {
|
|
62
|
+
parentWindow.postMessage({
|
|
63
|
+
type: "onRouteChange",
|
|
64
|
+
url: window.location.href
|
|
65
|
+
}, "*");
|
|
66
|
+
}, 1);
|
|
67
|
+
}
|
|
59
68
|
});
|
|
60
69
|
vue.onBeforeUnmount(() => {
|
|
61
70
|
watermarkDestroy == null ? void 0 : watermarkDestroy();
|
|
@@ -96,10 +96,12 @@ const ModalRouterShell = /* @__PURE__ */ vue.defineComponent({
|
|
|
96
96
|
component = _404View.View404;
|
|
97
97
|
}
|
|
98
98
|
const opts = {
|
|
99
|
-
width: (appView == null ? void 0 : appView.width) || "
|
|
100
|
-
height: (appView == null ? void 0 : appView.height) || "
|
|
99
|
+
width: (appView == null ? void 0 : appView.width) || "100%",
|
|
100
|
+
height: (appView == null ? void 0 : appView.height) || "100%",
|
|
101
101
|
footerHide: true,
|
|
102
|
-
isRouteModal: true
|
|
102
|
+
isRouteModal: true,
|
|
103
|
+
// 是否显示弹框关闭按钮,显示返回按钮时不显示关闭按钮
|
|
104
|
+
showClose: !ibiz.config.view.mobShowPresetBack
|
|
103
105
|
};
|
|
104
106
|
overlay = ibiz.overlay.createModal(component, void 0, opts);
|
|
105
107
|
overlay.present();
|
|
@@ -111,7 +113,7 @@ const ModalRouterShell = /* @__PURE__ */ vue.defineComponent({
|
|
|
111
113
|
router.back();
|
|
112
114
|
} else {
|
|
113
115
|
const path = route.path;
|
|
114
|
-
const index = path.indexOf(
|
|
116
|
+
const index = path.indexOf("/".concat(runtime.RouteConst.ROUTE_MODAL_TAG, "/"));
|
|
115
117
|
router.replace(path.substring(0, index));
|
|
116
118
|
}
|
|
117
119
|
vue3Util.routerCallback.close(router.currentRoute.value.fullPath, result || {
|
|
@@ -71,7 +71,7 @@ class AuthGuard {
|
|
|
71
71
|
* @memberof AuthGuard
|
|
72
72
|
*/
|
|
73
73
|
async loadOrgData() {
|
|
74
|
-
const res = await ibiz.net.get(
|
|
74
|
+
const res = await ibiz.net.get("/uaa/getbydcsystem/".concat(ibiz.env.dcSystem));
|
|
75
75
|
if (res.ok) {
|
|
76
76
|
const orgDataItems = res.data;
|
|
77
77
|
if (orgDataItems) {
|
|
@@ -242,7 +242,7 @@ class AuthGuard {
|
|
|
242
242
|
}
|
|
243
243
|
if (!viewModel) {
|
|
244
244
|
ibiz.log.error(
|
|
245
|
-
|
|
245
|
+
"\u627E\u4E0D\u5230\u89C6\u56FE\u6A21\u578B".concat(viewName, ",\u8BF7\u786E\u4FDD\u8BE5\u89C6\u56FE\u914D\u7F6E\u4E86\u533F\u540D\u8BBF\u95EE\u548C\u7528\u6237\u5F15\u7528")
|
|
246
246
|
);
|
|
247
247
|
this.throw401();
|
|
248
248
|
return;
|
|
@@ -23,11 +23,11 @@ class DynaAuthGuard extends authGuard.AuthGuard {
|
|
|
23
23
|
const helper = new modelHelper.ModelHelper(
|
|
24
24
|
async (url) => {
|
|
25
25
|
if (ibiz.env.isLocalModel) {
|
|
26
|
-
const res2 = await ibiz.net.getModel(
|
|
26
|
+
const res2 = await ibiz.net.getModel("./model".concat(url));
|
|
27
27
|
return res2.data;
|
|
28
28
|
}
|
|
29
29
|
const res = await ibiz.net.get(
|
|
30
|
-
|
|
30
|
+
"".concat(ibiz.env.remoteModelUrl).concat(url),
|
|
31
31
|
void 0,
|
|
32
32
|
permission ? {} : { srfdcsystem: ibiz.env.dcSystem }
|
|
33
33
|
);
|
package/lib/mob-app/main.cjs
CHANGED
|
@@ -22,6 +22,7 @@ var notificationUtil = require('../util/notification-util/notification-util.cjs'
|
|
|
22
22
|
var loadingUtil = require('../util/loading-util/loading-util.cjs');
|
|
23
23
|
var overlayController = require('../util/overlay-controller/overlay-controller.cjs');
|
|
24
24
|
var fullscreenUtil = require('../util/fullscreen/fullscreen-util.cjs');
|
|
25
|
+
var printPreviewUtil = require('../util/print-preview-util/print-preview-util.cjs');
|
|
25
26
|
var qrcodeUtil = require('../util/qrcode-util/qrcode-util.cjs');
|
|
26
27
|
var aiChatUtil = require('../util/ai-chat-util/ai-chat-util.cjs');
|
|
27
28
|
|
|
@@ -73,7 +74,7 @@ async function runApp(plugins, opts) {
|
|
|
73
74
|
index.AppRouter.setAuthGuard(
|
|
74
75
|
(context, notLogin) => authGuard.verify(context, notLogin)
|
|
75
76
|
);
|
|
76
|
-
const router = index.AppRouter.getRouter();
|
|
77
|
+
const router = index.AppRouter.getRouter(opts == null ? void 0 : opts.userRoutes);
|
|
77
78
|
app.use(router);
|
|
78
79
|
devtool.listenOpenDevTool(router);
|
|
79
80
|
ibiz.appUtil = new appUtil.AppUtil(router);
|
|
@@ -86,6 +87,7 @@ async function runApp(plugins, opts) {
|
|
|
86
87
|
ibiz.overlay = new overlayController.OverlayController();
|
|
87
88
|
ibiz.platform = runtime.getPlatformProvider();
|
|
88
89
|
ibiz.fullscreenUtil = new fullscreenUtil.FullscreenUtil();
|
|
90
|
+
ibiz.printPreview = new printPreviewUtil.PrintPreviewUtil();
|
|
89
91
|
ibiz.util.text.format = (value, code) => {
|
|
90
92
|
return app.config.globalProperties.$textFormat(value, code);
|
|
91
93
|
};
|