@ibiz-template/mob-vue3-components 0.7.41-alpha.21 → 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-CopTozpr.js.map +1 -0
- 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-DV0pS0zU.js.map +1 -0
- package/dist/index.min.css +14 -14
- package/dist/index.system.min.js +1 -1
- package/dist/quill-CeDXLpcJ.js +2 -0
- package/dist/{quill-D-355-KZ.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-BPS9uMa7.js.map +1 -0
- package/dist/tree-SAqvldtV.js +2 -0
- package/dist/{tree-sdPuTW-7.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/FileSaver.min.mjs +3 -0
- package/es/_virtual/index12.mjs +2 -2
- package/es/_virtual/index13.mjs +2 -2
- package/es/_virtual/index14.mjs +2 -2
- package/es/_virtual/index18.mjs +2 -2
- package/es/_virtual/index19.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.css +1 -1
- package/es/common/split-trigger/split-trigger.mjs +1 -1
- package/es/common/tab-layout/tab-default-layout/tab-default-layout.mjs +1 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown.mjs +1 -1
- package/es/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -1
- package/es/common/view-message/view-message.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.css +1 -1
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +2 -2
- package/es/control/app-menu-icon-view/index.mjs +1 -1
- 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.mjs +1 -1
- package/es/control/app-menu-list-view/index.mjs +1 -1
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.mjs +7 -7
- package/es/control/caption-bar/caption-bar.css +1 -1
- package/es/control/caption-bar/caption-bar.mjs +1 -1
- package/es/control/chart/chart.mjs +1 -1
- package/es/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -1
- package/es/control/dashboard/dashboard.css +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.css +1 -1
- package/es/control/drbar/drbar.mjs +1 -1
- package/es/control/drtab/drtab.controller.mjs +2 -2
- package/es/control/drtab/drtab.css +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.css +1 -1
- package/es/control/search-bar/search-bar.mjs +10 -6
- package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
- 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 +59 -32
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.mjs +1 -1
- package/es/control/tree/tree.css +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.css +1 -1
- package/es/control/wizard-panel/wizard-panel.mjs +6 -6
- package/es/editor/array/ibiz-array/ibiz-array.css +1 -1
- 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 +2 -2
- 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.css +1 -1
- package/es/editor/html/quill-editor/quill-editor.mjs +12 -3
- package/es/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
- package/es/editor/html/quill-editor-preview/quill-editor-preview.mjs +5 -6
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +15 -4
- 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.css +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.css +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +1 -1
- package/es/editor/text-box/input/input.mjs +36 -5
- package/es/editor/text-box/signature/signature.mjs +59 -19
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +2 -2
- package/es/editor/upload/upload-editor.controller.mjs +18 -1
- package/es/editor/upload/use/use-van-upload.mjs +6 -2
- package/es/ibiz-vue3.mjs +1 -0
- package/es/index.mjs +5 -1
- package/es/locale/en/index.mjs +26 -0
- package/es/locale/zh-CN/index.mjs +29 -1
- 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 +206 -194
- package/es/mob-app/guard/auth-guard/dyna-auth-guard.mjs +65 -0
- package/es/mob-app/guard/index.mjs +1 -0
- package/es/mob-app/index.mjs +1 -0
- package/es/mob-app/main.mjs +17 -2
- package/es/mob-app/router/index.mjs +136 -79
- package/es/mob-app/util/unauthorized-handler/unauthorized-handler.mjs +5 -5
- package/es/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1_patch_hash_73bpcwbs2m5ip4qppmz6a7epsa/node_modules/@amap/amap-jsapi-loader/dist/index.mjs +1 -1
- 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/node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.mjs +15 -0
- 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/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.mjs +24580 -0
- 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 +29 -15
- 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 +1095 -0
- package/es/util/ai-chat-util/ai-feedback/ai-feedback.css +1 -0
- package/es/util/ai-chat-util/ai-feedback/ai-feedback.mjs +140 -0
- package/es/util/app-drawer/app-drawer-component.mjs +18 -14
- package/es/util/app-modal/app-modal-component.mjs +7 -2
- package/es/util/app-popover/app-popover-component.mjs +4 -4
- package/es/util/app-util/app-util.mjs +112 -7
- 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 +4 -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 +55 -0
- package/es/util/xlsx-util/xlsx-util.mjs +163 -0
- package/es/view/portal-view/portal-view.mjs +3 -2
- 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 +12 -1
- package/es/view-engine/mob-edit-view.engine.mjs +1 -1
- package/es/view-engine/mob-pickup-md-view.engine.mjs +1 -0
- 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/FileSaver.min.cjs +5 -0
- package/lib/_virtual/index12.cjs +2 -2
- package/lib/_virtual/index13.cjs +2 -2
- package/lib/_virtual/index14.cjs +2 -2
- package/lib/_virtual/index18.cjs +2 -2
- package/lib/_virtual/index19.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/split-trigger/split-trigger.css +1 -1
- package/lib/common/tab-layout/tab-default-layout/tab-default-layout.cjs +1 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown.cjs +1 -1
- package/lib/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -1
- package/lib/common/view-message/view-message.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 +2 -2
- package/lib/control/app-menu-icon-view/app-menu-icon-view.css +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/app-menu-list-view.css +1 -1
- package/lib/control/app-menu-list-view/index.cjs +1 -1
- package/lib/control/calendar/calendar.cjs +7 -7
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/caption-bar/caption-bar.cjs +1 -1
- package/lib/control/caption-bar/caption-bar.css +1 -1
- package/lib/control/chart/chart.cjs +1 -1
- package/lib/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -1
- package/lib/control/dashboard/dashboard.cjs +3 -1
- package/lib/control/dashboard/dashboard.css +1 -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/drbar/drbar.css +1 -1
- package/lib/control/drtab/drtab.cjs +1 -1
- package/lib/control/drtab/drtab.controller.cjs +2 -2
- package/lib/control/drtab/drtab.css +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/search-bar/search-bar.css +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.css +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 +59 -32
- package/lib/control/toolbar/toolbar.cjs +1 -1
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +9 -9
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-exp-bar/tree-exp-bar.cjs +1 -1
- package/lib/control/wizard-panel/wizard-panel.cjs +6 -6
- package/lib/control/wizard-panel/wizard-panel.css +1 -1
- package/lib/editor/array/ibiz-array/ibiz-array.css +1 -1
- 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 +2 -2
- 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/quill-editor.css +1 -1
- package/lib/editor/html/quill-editor-preview/quill-editor-preview.cjs +5 -6
- package/lib/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +15 -4
- 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/slider/ibiz-slider/ibiz-slider.css +1 -1
- 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/stepper/ibiz-stepper/ibiz-stepper.css +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/lib/editor/text-box/input/input.cjs +35 -4
- package/lib/editor/text-box/signature/signature.cjs +59 -19
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +2 -2
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.css +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/ibiz-vue3.cjs +1 -0
- package/lib/index.cjs +10 -0
- package/lib/locale/en/index.cjs +26 -0
- package/lib/locale/zh-CN/index.cjs +29 -1
- 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 +206 -194
- package/lib/mob-app/guard/auth-guard/dyna-auth-guard.cjs +67 -0
- package/lib/mob-app/guard/index.cjs +2 -0
- package/lib/mob-app/index.cjs +2 -0
- package/lib/mob-app/main.cjs +17 -2
- package/lib/mob-app/router/index.cjs +136 -79
- package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +5 -5
- package/lib/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1_patch_hash_73bpcwbs2m5ip4qppmz6a7epsa/node_modules/@amap/amap-jsapi-loader/dist/index.cjs +1 -1
- 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/node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.cjs +20 -0
- 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/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.cjs +24599 -0
- 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 +29 -15
- 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 +1097 -0
- package/lib/util/ai-chat-util/ai-feedback/ai-feedback.cjs +142 -0
- package/lib/util/ai-chat-util/ai-feedback/ai-feedback.css +1 -0
- package/lib/util/app-drawer/app-drawer-component.cjs +18 -14
- package/lib/util/app-modal/app-modal-component.cjs +7 -2
- package/lib/util/app-popover/app-popover-component.cjs +4 -4
- package/lib/util/app-util/app-util.cjs +111 -6
- 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 +8 -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 +58 -0
- package/lib/util/xlsx-util/xlsx-util.cjs +166 -0
- package/lib/view/portal-view/portal-view.cjs +3 -2
- 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 +11 -0
- package/lib/view-engine/mob-edit-view.engine.cjs +1 -1
- package/lib/view-engine/mob-pickup-md-view.engine.cjs +1 -0
- 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 +14 -11
- package/dist/chart-j1WkpBhc.js +0 -2
- package/dist/ibiz-markdown-editor-DMe7ZdYW.js +0 -2
- package/dist/ibiz-markdown-editor-DMe7ZdYW.js.map +0 -1
- package/dist/index-BkzKmBm3.js +0 -2
- package/dist/index-BkzKmBm3.js.map +0 -1
- package/dist/index-CADWRoaa.js +0 -76
- package/dist/index-CADWRoaa.js.map +0 -1
- package/dist/index-ugd4IDkI.js +0 -2
- package/dist/index-ugd4IDkI.js.map +0 -1
- package/dist/quill-D-355-KZ.js +0 -50
- package/dist/quill-editor-DyVF1l3P.js +0 -2
- package/dist/quill-editor-DyVF1l3P.js.map +0 -1
- package/dist/quill-editor-preview-3eAbHBYz.js +0 -2
- package/dist/quill-editor-preview-3eAbHBYz.js.map +0 -1
- package/dist/tree-sdPuTW-7.js +0 -2
|
@@ -3,17 +3,16 @@ import { Modal, ViewMode, RouteConst } from '@ibiz-template/runtime';
|
|
|
3
3
|
import { isNilOrEmpty } from 'qx-util';
|
|
4
4
|
import { AppRedirectView } from '@ibiz-template/vue3-util';
|
|
5
5
|
import qs from 'qs';
|
|
6
|
-
import '../guard/index.mjs';
|
|
7
6
|
import '../components/index.mjs';
|
|
8
7
|
import '../../view/index.mjs';
|
|
9
8
|
import '../../util/index.mjs';
|
|
10
|
-
import { AuthGuard } from '../guard/auth-guard/auth-guard.mjs';
|
|
11
9
|
import { View404 } from '../../view/404-view/404-view.mjs';
|
|
12
10
|
import { ModalRouterShell } from '../components/modal-router-shell/modal-router-shell.mjs';
|
|
13
11
|
import { RouterShell } from '../components/router-shell/router-shell.mjs';
|
|
14
12
|
import { LoginView } from '../../view/login-view/login-view.mjs';
|
|
15
13
|
import { DownloadView } from '../../view/download-view/download-view.mjs';
|
|
16
14
|
import { HomeView } from '../components/home-view/home-view.mjs';
|
|
15
|
+
import { splitPathToSegments, validateRouteSegments } from '../../util/user-route-util/user-route-util.mjs';
|
|
17
16
|
import { useViewStack } from '../../util/store/view-stack/view-stack.mjs';
|
|
18
17
|
|
|
19
18
|
"use strict";
|
|
@@ -36,6 +35,9 @@ const getPropsCallback = (depth) => {
|
|
|
36
35
|
});
|
|
37
36
|
};
|
|
38
37
|
class AppRouter {
|
|
38
|
+
static setAuthGuard(authGuard) {
|
|
39
|
+
this.authGuard = authGuard;
|
|
40
|
+
}
|
|
39
41
|
static getAppContext(route) {
|
|
40
42
|
let appContext = {};
|
|
41
43
|
if (route.params.appContext && route.params.appContext !== ibiz.env.routePlaceholder) {
|
|
@@ -46,20 +48,12 @@ class AppRouter {
|
|
|
46
48
|
}
|
|
47
49
|
return appContext;
|
|
48
50
|
}
|
|
49
|
-
|
|
50
|
-
* 创建vue路由对象
|
|
51
|
-
* @author lxm
|
|
52
|
-
* @date 2023-06-29 07:56:11
|
|
53
|
-
* @protected
|
|
54
|
-
* @static
|
|
55
|
-
* @return {*}
|
|
56
|
-
*/
|
|
57
|
-
static createRouter() {
|
|
51
|
+
static getRoutes() {
|
|
58
52
|
const beforeEnter = async (_to, _from, next) => {
|
|
59
53
|
if (!isNilOrEmpty(ibiz.appData)) {
|
|
60
54
|
next();
|
|
61
55
|
} else {
|
|
62
|
-
const authority = await
|
|
56
|
+
const authority = await this.authGuard(this.getAppContext(_to));
|
|
63
57
|
if (authority) {
|
|
64
58
|
next();
|
|
65
59
|
} else {
|
|
@@ -68,8 +62,8 @@ class AppRouter {
|
|
|
68
62
|
}
|
|
69
63
|
};
|
|
70
64
|
const placeholder = ibiz.env.routePlaceholder;
|
|
71
|
-
const paramReg =
|
|
72
|
-
const viewReg =
|
|
65
|
+
const paramReg = "[^/]+=[^/]+|".concat(placeholder);
|
|
66
|
+
const viewReg = "[^=/]+";
|
|
73
67
|
const children = [
|
|
74
68
|
{
|
|
75
69
|
path: "404",
|
|
@@ -78,14 +72,17 @@ class AppRouter {
|
|
|
78
72
|
component: View404
|
|
79
73
|
},
|
|
80
74
|
{
|
|
81
|
-
path:
|
|
75
|
+
path: "".concat(RouteConst.ROUTE_MODAL_TAG, "/:modalView(").concat(viewReg, ")/:modalParams(").concat(paramReg, ")"),
|
|
82
76
|
components: {
|
|
83
77
|
[RouteConst.ROUTE_MODAL_TAG]: ModalRouterShell
|
|
84
78
|
}
|
|
85
79
|
},
|
|
86
80
|
{
|
|
87
|
-
path:
|
|
81
|
+
path: ":view2(".concat(viewReg, ")/:params2(").concat(paramReg, ")"),
|
|
88
82
|
component: RouterShell,
|
|
83
|
+
meta: {
|
|
84
|
+
depth: 2
|
|
85
|
+
},
|
|
89
86
|
props: getPropsCallback(2),
|
|
90
87
|
children: [
|
|
91
88
|
{
|
|
@@ -95,14 +92,17 @@ class AppRouter {
|
|
|
95
92
|
component: View404
|
|
96
93
|
},
|
|
97
94
|
{
|
|
98
|
-
path:
|
|
95
|
+
path: "".concat(RouteConst.ROUTE_MODAL_TAG, "/:modalView(").concat(viewReg, ")/:modalParams(").concat(paramReg, ")"),
|
|
99
96
|
components: {
|
|
100
97
|
[RouteConst.ROUTE_MODAL_TAG]: ModalRouterShell
|
|
101
98
|
}
|
|
102
99
|
},
|
|
103
100
|
{
|
|
104
|
-
path:
|
|
101
|
+
path: ":view3(".concat(viewReg, ")/:params3(").concat(paramReg, ")"),
|
|
105
102
|
component: RouterShell,
|
|
103
|
+
meta: {
|
|
104
|
+
depth: 3
|
|
105
|
+
},
|
|
106
106
|
props: getPropsCallback(3),
|
|
107
107
|
children: [
|
|
108
108
|
{
|
|
@@ -112,14 +112,17 @@ class AppRouter {
|
|
|
112
112
|
component: View404
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
path:
|
|
115
|
+
path: "".concat(RouteConst.ROUTE_MODAL_TAG, "/:modalView(").concat(viewReg, ")/:modalParams(").concat(paramReg, ")"),
|
|
116
116
|
components: {
|
|
117
117
|
[RouteConst.ROUTE_MODAL_TAG]: ModalRouterShell
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
path:
|
|
121
|
+
path: ":view4(".concat(viewReg, ")/:params4(").concat(paramReg, ")"),
|
|
122
122
|
component: RouterShell,
|
|
123
|
+
meta: {
|
|
124
|
+
depth: 4
|
|
125
|
+
},
|
|
123
126
|
props: getPropsCallback(4)
|
|
124
127
|
},
|
|
125
128
|
{
|
|
@@ -139,65 +142,93 @@ class AppRouter {
|
|
|
139
142
|
redirect: { name: "404View2" }
|
|
140
143
|
}
|
|
141
144
|
];
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
path: "/",
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
{
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
beforeEnter: async (_to, _from, next) => {
|
|
158
|
-
await AuthGuard(this.getAppContext(_to), false);
|
|
159
|
-
next();
|
|
160
|
-
},
|
|
161
|
-
component: LoginView
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
path: "/download",
|
|
165
|
-
name: "downloadView",
|
|
166
|
-
meta: { preset: true },
|
|
167
|
-
component: DownloadView
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
path: "/404",
|
|
171
|
-
name: "404View1",
|
|
172
|
-
meta: { preset: true },
|
|
173
|
-
component: View404
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
path: "/appredirectview",
|
|
177
|
-
name: "appRedirectView",
|
|
178
|
-
meta: { preset: true },
|
|
179
|
-
beforeEnter,
|
|
180
|
-
component: AppRedirectView
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
path: `/:appContext(${paramReg})/home/:params1(${paramReg})`,
|
|
184
|
-
meta: { home: true },
|
|
185
|
-
beforeEnter,
|
|
186
|
-
component: HomeView,
|
|
187
|
-
children
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
path: `/:appContext(${paramReg})/:view1(${viewReg})/:params1(${paramReg})`,
|
|
191
|
-
beforeEnter,
|
|
192
|
-
component: RouterShell,
|
|
193
|
-
children
|
|
145
|
+
const routes = [
|
|
146
|
+
{
|
|
147
|
+
path: "/",
|
|
148
|
+
redirect: {
|
|
149
|
+
replace: true,
|
|
150
|
+
path: "/".concat(placeholder, "/index/").concat(placeholder)
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
path: "/login",
|
|
155
|
+
name: "loginView",
|
|
156
|
+
meta: { preset: true },
|
|
157
|
+
beforeEnter: async (_to, from, next) => {
|
|
158
|
+
await this.authGuard(this.getAppContext(_to), false);
|
|
159
|
+
next();
|
|
194
160
|
},
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
161
|
+
component: LoginView
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
path: "/download",
|
|
165
|
+
name: "downloadView",
|
|
166
|
+
meta: { preset: true },
|
|
167
|
+
component: DownloadView
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
path: "/404",
|
|
171
|
+
name: "404View1",
|
|
172
|
+
meta: { preset: true },
|
|
173
|
+
component: View404
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
path: "/appredirectview",
|
|
177
|
+
name: "appRedirectView",
|
|
178
|
+
meta: { preset: true },
|
|
179
|
+
beforeEnter,
|
|
180
|
+
component: AppRedirectView
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
path: "/:appContext(".concat(paramReg, ")/home/:params1(").concat(paramReg, ")"),
|
|
184
|
+
meta: { home: true, depth: 1 },
|
|
185
|
+
beforeEnter,
|
|
186
|
+
component: HomeView,
|
|
187
|
+
children
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
path: "/:appContext(".concat(paramReg, ")/:view1(").concat(viewReg, ")/:params1(").concat(paramReg, ")"),
|
|
191
|
+
beforeEnter,
|
|
192
|
+
meta: { depth: 1 },
|
|
193
|
+
component: RouterShell,
|
|
194
|
+
children
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
path: "/:pathMatch(.*)*",
|
|
198
|
+
redirect: { name: "404View1" }
|
|
199
|
+
}
|
|
200
|
+
];
|
|
201
|
+
return routes;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* 添加路由
|
|
205
|
+
* @param parentDepth 父路由层级
|
|
206
|
+
* @param userRoute
|
|
207
|
+
* @param routes
|
|
208
|
+
* @returns
|
|
209
|
+
*/
|
|
210
|
+
static addRoute(parentDepth, userRoute, routes) {
|
|
211
|
+
if (!parentDepth)
|
|
212
|
+
return;
|
|
213
|
+
const findAndAdd = (routeList) => {
|
|
214
|
+
for (const route of routeList) {
|
|
215
|
+
if (route && route.meta && route.meta.depth === parentDepth) {
|
|
216
|
+
if (route.children && route.children.length > 0) {
|
|
217
|
+
route.children.push(userRoute);
|
|
218
|
+
} else {
|
|
219
|
+
route.children = [userRoute];
|
|
220
|
+
}
|
|
221
|
+
return true;
|
|
198
222
|
}
|
|
199
|
-
|
|
200
|
-
|
|
223
|
+
if (route.children && route.children.length > 0) {
|
|
224
|
+
if (findAndAdd(route.children)) {
|
|
225
|
+
return true;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
return false;
|
|
230
|
+
};
|
|
231
|
+
findAndAdd(routes);
|
|
201
232
|
}
|
|
202
233
|
/**
|
|
203
234
|
* 获取路由对象
|
|
@@ -206,9 +237,34 @@ class AppRouter {
|
|
|
206
237
|
* @static
|
|
207
238
|
* @return {*}
|
|
208
239
|
*/
|
|
209
|
-
static getRouter() {
|
|
240
|
+
static getRouter(userRoutes = []) {
|
|
210
241
|
if (!this.router) {
|
|
211
|
-
|
|
242
|
+
const routes = this.getRoutes();
|
|
243
|
+
if (userRoutes && userRoutes.length > 0) {
|
|
244
|
+
for (let i = 0; i < userRoutes.length; i++) {
|
|
245
|
+
const route = userRoutes[i];
|
|
246
|
+
const paginationathSegments = splitPathToSegments(route.path);
|
|
247
|
+
const validateResult = validateRouteSegments(paginationathSegments);
|
|
248
|
+
if (!validateResult) {
|
|
249
|
+
ibiz.log.warn(
|
|
250
|
+
"\u8DEF\u7531\u914D\u7F6E\u9519\u8BEF\uFF1A\u8DEF\u7531\u8DEF\u5F84\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u8DEF\u7531\u914D\u7F6E\uFF0C\u8BE6\u60C5\u53C2\u89C1\uFF1Ahttps://open.ibizlab.cn/apphub/zh/guide/router.html"
|
|
251
|
+
);
|
|
252
|
+
continue;
|
|
253
|
+
}
|
|
254
|
+
const pathDeepth = (paginationathSegments.length - 1) / 2;
|
|
255
|
+
if (pathDeepth > 1) {
|
|
256
|
+
const segmentLength = paginationathSegments.length;
|
|
257
|
+
route.path = "".concat(paginationathSegments[segmentLength - 2], "/").concat(paginationathSegments[segmentLength - 1]);
|
|
258
|
+
this.addRoute(pathDeepth - 1, route, routes);
|
|
259
|
+
} else {
|
|
260
|
+
routes.push(route);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
this.router = createRouter({
|
|
265
|
+
history: createWebHashHistory(),
|
|
266
|
+
routes
|
|
267
|
+
});
|
|
212
268
|
const { init } = useViewStack();
|
|
213
269
|
init(this.router);
|
|
214
270
|
}
|
|
@@ -216,5 +272,6 @@ class AppRouter {
|
|
|
216
272
|
}
|
|
217
273
|
}
|
|
218
274
|
__publicField(AppRouter, "router");
|
|
275
|
+
__publicField(AppRouter, "authGuard");
|
|
219
276
|
|
|
220
277
|
export { AppRouter };
|
|
@@ -36,14 +36,14 @@ class UnauthorizedHandler {
|
|
|
36
36
|
);
|
|
37
37
|
}
|
|
38
38
|
const { origin } = window.location;
|
|
39
|
-
const baseUrl =
|
|
40
|
-
const backUrl =
|
|
39
|
+
const baseUrl = "".concat(origin).concat(ibiz.env.baseUrl);
|
|
40
|
+
const backUrl = "".concat(baseUrl, "/cas/v7/login").concat(qs.stringify(
|
|
41
41
|
{
|
|
42
42
|
RU: UrlHelper.fullPath,
|
|
43
43
|
base: baseUrl
|
|
44
44
|
},
|
|
45
45
|
{ addQueryPrefix: true }
|
|
46
|
-
)
|
|
46
|
+
));
|
|
47
47
|
const hasQueryPrefix = ibiz.env.casLoginUrl.indexOf("?") !== -1;
|
|
48
48
|
const targetUrl = ibiz.env.casLoginUrl + (hasQueryPrefix ? "&" : "?") + qs.stringify(
|
|
49
49
|
{
|
|
@@ -85,9 +85,9 @@ class UnauthorizedHandler {
|
|
|
85
85
|
if (ru.startsWith("/login")) {
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
|
-
const targetUrl =
|
|
88
|
+
const targetUrl = "".concat(UrlHelper.routeBase, "/login?ru=").concat(encodeURIComponent(
|
|
89
89
|
ru
|
|
90
|
-
)
|
|
90
|
+
));
|
|
91
91
|
document.body.style.display = "none";
|
|
92
92
|
window.location.href = targetUrl;
|
|
93
93
|
window.location.reload();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal, getDefaultExportFromCjs } from '../../../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
-
import { __module as dist$1 } from '../../../../../../../_virtual/
|
|
2
|
+
import { __module as dist$1 } from '../../../../../../../_virtual/index14.mjs';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
*****************************************************************************
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal } from '../../../../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
-
import { __module as frameTalkClientPc$1 } from '../../../../../../../../_virtual/
|
|
2
|
+
import { __module as frameTalkClientPc$1 } from '../../../../../../../../_virtual/index13.mjs';
|
|
3
3
|
|
|
4
4
|
var frameTalkClientPc = frameTalkClientPc$1.exports;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal } from '../../../../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
-
import { __exports as middlewares } from '../../../../../../../../_virtual/
|
|
2
|
+
import { __exports as middlewares } from '../../../../../../../../_virtual/index12.mjs';
|
|
3
3
|
import '../../../../../../../../_virtual/bridge.mjs';
|
|
4
4
|
import { __require as requireRetry } from './retry.mjs';
|
|
5
5
|
import '../../../../../../../../_virtual/dealParamsAndResult.mjs';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { commonjsGlobal, getDefaultExportFromCjs } from '../../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
+
import { __module as FileSaver_min$2 } from '../../../../../../_virtual/FileSaver.min.mjs';
|
|
3
|
+
|
|
4
|
+
var FileSaver_min = FileSaver_min$2.exports;
|
|
5
|
+
|
|
6
|
+
(function (module, exports) {
|
|
7
|
+
(function(a,b){if("function"==typeof undefined&&undefined.amd)undefined([],b);else if("undefined"!='object')b();else {b(),a.FileSaver={exports:{}}.exports;}})(commonjsGlobal,function(){"use strict";function b(a,b){return "undefined"==typeof b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open("GET",a),d.responseType="blob",d.onload=function(){g(d.response,b,c);},d.onerror=function(){console.error("could not download file");},d.send();}function d(a){var b=new XMLHttpRequest;b.open("HEAD",a,!1);try{b.send();}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent("click"));}catch(c){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b);}}var f="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof commonjsGlobal&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||("object"!=typeof window||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement("a");g=g||b.name||"download",j.download=g,j.rel="noopener","string"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target="_blank")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href);},4E4),setTimeout(function(){e(j);},0));}:"msSaveOrOpenBlob"in navigator?function(f,g,h){if(g=g||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else {var i=document.createElement("a");i.href=f,i.target="_blank",setTimeout(function(){e(i);});}}:function(b,d,e,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),"string"==typeof b)return c(b,d,e);var h="application/octet-stream"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\/[\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&"undefined"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=a:location=a,g=null;},k.readAsDataURL(b);}else {var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m);},4E4);}});f.saveAs=g.saveAs=g,"undefined"!='object'&&(module.exports=g);});
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
} (FileSaver_min$2, FileSaver_min$2.exports));
|
|
11
|
+
|
|
12
|
+
var FileSaver_minExports = FileSaver_min$2.exports;
|
|
13
|
+
var FileSaver_min$1 = /*@__PURE__*/getDefaultExportFromCjs(FileSaver_minExports);
|
|
14
|
+
|
|
15
|
+
export { FileSaver_minExports as F, FileSaver_min$1 as default };
|
package/es/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal, getDefaultExportFromCjs } from '../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
-
import { __module as lodash_clonedeep$1 } from '../../../../../_virtual/
|
|
2
|
+
import { __module as lodash_clonedeep$1 } from '../../../../../_virtual/index18.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal, getDefaultExportFromCjs } from '../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
-
import { __module as lodash_isequal$1 } from '../../../../../_virtual/
|
|
2
|
+
import { __module as lodash_isequal$1 } from '../../../../../_virtual/index19.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Lodash (Custom Build) <https://lodash.com/>
|