@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
|
@@ -5,17 +5,16 @@ var runtime = require('@ibiz-template/runtime');
|
|
|
5
5
|
var qxUtil = require('qx-util');
|
|
6
6
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
7
7
|
var qs = require('qs');
|
|
8
|
-
require('../guard/index.cjs');
|
|
9
8
|
require('../components/index.cjs');
|
|
10
9
|
require('../../view/index.cjs');
|
|
11
10
|
require('../../util/index.cjs');
|
|
12
|
-
var authGuard = require('../guard/auth-guard/auth-guard.cjs');
|
|
13
11
|
var _404View = require('../../view/404-view/404-view.cjs');
|
|
14
12
|
var modalRouterShell = require('../components/modal-router-shell/modal-router-shell.cjs');
|
|
15
13
|
var routerShell = require('../components/router-shell/router-shell.cjs');
|
|
16
14
|
var loginView = require('../../view/login-view/login-view.cjs');
|
|
17
15
|
var downloadView = require('../../view/download-view/download-view.cjs');
|
|
18
16
|
var homeView = require('../components/home-view/home-view.cjs');
|
|
17
|
+
var userRouteUtil = require('../../util/user-route-util/user-route-util.cjs');
|
|
19
18
|
var viewStack = require('../../util/store/view-stack/view-stack.cjs');
|
|
20
19
|
|
|
21
20
|
"use strict";
|
|
@@ -38,6 +37,9 @@ const getPropsCallback = (depth) => {
|
|
|
38
37
|
});
|
|
39
38
|
};
|
|
40
39
|
class AppRouter {
|
|
40
|
+
static setAuthGuard(authGuard) {
|
|
41
|
+
this.authGuard = authGuard;
|
|
42
|
+
}
|
|
41
43
|
static getAppContext(route) {
|
|
42
44
|
let appContext = {};
|
|
43
45
|
if (route.params.appContext && route.params.appContext !== ibiz.env.routePlaceholder) {
|
|
@@ -48,20 +50,12 @@ class AppRouter {
|
|
|
48
50
|
}
|
|
49
51
|
return appContext;
|
|
50
52
|
}
|
|
51
|
-
|
|
52
|
-
* 创建vue路由对象
|
|
53
|
-
* @author lxm
|
|
54
|
-
* @date 2023-06-29 07:56:11
|
|
55
|
-
* @protected
|
|
56
|
-
* @static
|
|
57
|
-
* @return {*}
|
|
58
|
-
*/
|
|
59
|
-
static createRouter() {
|
|
53
|
+
static getRoutes() {
|
|
60
54
|
const beforeEnter = async (_to, _from, next) => {
|
|
61
55
|
if (!qxUtil.isNilOrEmpty(ibiz.appData)) {
|
|
62
56
|
next();
|
|
63
57
|
} else {
|
|
64
|
-
const authority = await authGuard
|
|
58
|
+
const authority = await this.authGuard(this.getAppContext(_to));
|
|
65
59
|
if (authority) {
|
|
66
60
|
next();
|
|
67
61
|
} else {
|
|
@@ -70,8 +64,8 @@ class AppRouter {
|
|
|
70
64
|
}
|
|
71
65
|
};
|
|
72
66
|
const placeholder = ibiz.env.routePlaceholder;
|
|
73
|
-
const paramReg =
|
|
74
|
-
const viewReg =
|
|
67
|
+
const paramReg = "[^/]+=[^/]+|".concat(placeholder);
|
|
68
|
+
const viewReg = "[^=/]+";
|
|
75
69
|
const children = [
|
|
76
70
|
{
|
|
77
71
|
path: "404",
|
|
@@ -80,14 +74,17 @@ class AppRouter {
|
|
|
80
74
|
component: _404View.View404
|
|
81
75
|
},
|
|
82
76
|
{
|
|
83
|
-
path:
|
|
77
|
+
path: "".concat(runtime.RouteConst.ROUTE_MODAL_TAG, "/:modalView(").concat(viewReg, ")/:modalParams(").concat(paramReg, ")"),
|
|
84
78
|
components: {
|
|
85
79
|
[runtime.RouteConst.ROUTE_MODAL_TAG]: modalRouterShell.ModalRouterShell
|
|
86
80
|
}
|
|
87
81
|
},
|
|
88
82
|
{
|
|
89
|
-
path:
|
|
83
|
+
path: ":view2(".concat(viewReg, ")/:params2(").concat(paramReg, ")"),
|
|
90
84
|
component: routerShell.RouterShell,
|
|
85
|
+
meta: {
|
|
86
|
+
depth: 2
|
|
87
|
+
},
|
|
91
88
|
props: getPropsCallback(2),
|
|
92
89
|
children: [
|
|
93
90
|
{
|
|
@@ -97,14 +94,17 @@ class AppRouter {
|
|
|
97
94
|
component: _404View.View404
|
|
98
95
|
},
|
|
99
96
|
{
|
|
100
|
-
path:
|
|
97
|
+
path: "".concat(runtime.RouteConst.ROUTE_MODAL_TAG, "/:modalView(").concat(viewReg, ")/:modalParams(").concat(paramReg, ")"),
|
|
101
98
|
components: {
|
|
102
99
|
[runtime.RouteConst.ROUTE_MODAL_TAG]: modalRouterShell.ModalRouterShell
|
|
103
100
|
}
|
|
104
101
|
},
|
|
105
102
|
{
|
|
106
|
-
path:
|
|
103
|
+
path: ":view3(".concat(viewReg, ")/:params3(").concat(paramReg, ")"),
|
|
107
104
|
component: routerShell.RouterShell,
|
|
105
|
+
meta: {
|
|
106
|
+
depth: 3
|
|
107
|
+
},
|
|
108
108
|
props: getPropsCallback(3),
|
|
109
109
|
children: [
|
|
110
110
|
{
|
|
@@ -114,14 +114,17 @@ class AppRouter {
|
|
|
114
114
|
component: _404View.View404
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
path:
|
|
117
|
+
path: "".concat(runtime.RouteConst.ROUTE_MODAL_TAG, "/:modalView(").concat(viewReg, ")/:modalParams(").concat(paramReg, ")"),
|
|
118
118
|
components: {
|
|
119
119
|
[runtime.RouteConst.ROUTE_MODAL_TAG]: modalRouterShell.ModalRouterShell
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
|
-
path:
|
|
123
|
+
path: ":view4(".concat(viewReg, ")/:params4(").concat(paramReg, ")"),
|
|
124
124
|
component: routerShell.RouterShell,
|
|
125
|
+
meta: {
|
|
126
|
+
depth: 4
|
|
127
|
+
},
|
|
125
128
|
props: getPropsCallback(4)
|
|
126
129
|
},
|
|
127
130
|
{
|
|
@@ -141,65 +144,93 @@ class AppRouter {
|
|
|
141
144
|
redirect: { name: "404View2" }
|
|
142
145
|
}
|
|
143
146
|
];
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
path: "/",
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
{
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
beforeEnter: async (_to, _from, next) => {
|
|
160
|
-
await authGuard.AuthGuard(this.getAppContext(_to), false);
|
|
161
|
-
next();
|
|
162
|
-
},
|
|
163
|
-
component: loginView.LoginView
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
path: "/download",
|
|
167
|
-
name: "downloadView",
|
|
168
|
-
meta: { preset: true },
|
|
169
|
-
component: downloadView.DownloadView
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
path: "/404",
|
|
173
|
-
name: "404View1",
|
|
174
|
-
meta: { preset: true },
|
|
175
|
-
component: _404View.View404
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
path: "/appredirectview",
|
|
179
|
-
name: "appRedirectView",
|
|
180
|
-
meta: { preset: true },
|
|
181
|
-
beforeEnter,
|
|
182
|
-
component: vue3Util.AppRedirectView
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
path: `/:appContext(${paramReg})/home/:params1(${paramReg})`,
|
|
186
|
-
meta: { home: true },
|
|
187
|
-
beforeEnter,
|
|
188
|
-
component: homeView.HomeView,
|
|
189
|
-
children
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
path: `/:appContext(${paramReg})/:view1(${viewReg})/:params1(${paramReg})`,
|
|
193
|
-
beforeEnter,
|
|
194
|
-
component: routerShell.RouterShell,
|
|
195
|
-
children
|
|
147
|
+
const routes = [
|
|
148
|
+
{
|
|
149
|
+
path: "/",
|
|
150
|
+
redirect: {
|
|
151
|
+
replace: true,
|
|
152
|
+
path: "/".concat(placeholder, "/index/").concat(placeholder)
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
path: "/login",
|
|
157
|
+
name: "loginView",
|
|
158
|
+
meta: { preset: true },
|
|
159
|
+
beforeEnter: async (_to, from, next) => {
|
|
160
|
+
await this.authGuard(this.getAppContext(_to), false);
|
|
161
|
+
next();
|
|
196
162
|
},
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
163
|
+
component: loginView.LoginView
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
path: "/download",
|
|
167
|
+
name: "downloadView",
|
|
168
|
+
meta: { preset: true },
|
|
169
|
+
component: downloadView.DownloadView
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
path: "/404",
|
|
173
|
+
name: "404View1",
|
|
174
|
+
meta: { preset: true },
|
|
175
|
+
component: _404View.View404
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
path: "/appredirectview",
|
|
179
|
+
name: "appRedirectView",
|
|
180
|
+
meta: { preset: true },
|
|
181
|
+
beforeEnter,
|
|
182
|
+
component: vue3Util.AppRedirectView
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
path: "/:appContext(".concat(paramReg, ")/home/:params1(").concat(paramReg, ")"),
|
|
186
|
+
meta: { home: true, depth: 1 },
|
|
187
|
+
beforeEnter,
|
|
188
|
+
component: homeView.HomeView,
|
|
189
|
+
children
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
path: "/:appContext(".concat(paramReg, ")/:view1(").concat(viewReg, ")/:params1(").concat(paramReg, ")"),
|
|
193
|
+
beforeEnter,
|
|
194
|
+
meta: { depth: 1 },
|
|
195
|
+
component: routerShell.RouterShell,
|
|
196
|
+
children
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
path: "/:pathMatch(.*)*",
|
|
200
|
+
redirect: { name: "404View1" }
|
|
201
|
+
}
|
|
202
|
+
];
|
|
203
|
+
return routes;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* 添加路由
|
|
207
|
+
* @param parentDepth 父路由层级
|
|
208
|
+
* @param userRoute
|
|
209
|
+
* @param routes
|
|
210
|
+
* @returns
|
|
211
|
+
*/
|
|
212
|
+
static addRoute(parentDepth, userRoute, routes) {
|
|
213
|
+
if (!parentDepth)
|
|
214
|
+
return;
|
|
215
|
+
const findAndAdd = (routeList) => {
|
|
216
|
+
for (const route of routeList) {
|
|
217
|
+
if (route && route.meta && route.meta.depth === parentDepth) {
|
|
218
|
+
if (route.children && route.children.length > 0) {
|
|
219
|
+
route.children.push(userRoute);
|
|
220
|
+
} else {
|
|
221
|
+
route.children = [userRoute];
|
|
222
|
+
}
|
|
223
|
+
return true;
|
|
200
224
|
}
|
|
201
|
-
|
|
202
|
-
|
|
225
|
+
if (route.children && route.children.length > 0) {
|
|
226
|
+
if (findAndAdd(route.children)) {
|
|
227
|
+
return true;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
return false;
|
|
232
|
+
};
|
|
233
|
+
findAndAdd(routes);
|
|
203
234
|
}
|
|
204
235
|
/**
|
|
205
236
|
* 获取路由对象
|
|
@@ -208,9 +239,34 @@ class AppRouter {
|
|
|
208
239
|
* @static
|
|
209
240
|
* @return {*}
|
|
210
241
|
*/
|
|
211
|
-
static getRouter() {
|
|
242
|
+
static getRouter(userRoutes = []) {
|
|
212
243
|
if (!this.router) {
|
|
213
|
-
|
|
244
|
+
const routes = this.getRoutes();
|
|
245
|
+
if (userRoutes && userRoutes.length > 0) {
|
|
246
|
+
for (let i = 0; i < userRoutes.length; i++) {
|
|
247
|
+
const route = userRoutes[i];
|
|
248
|
+
const paginationathSegments = userRouteUtil.splitPathToSegments(route.path);
|
|
249
|
+
const validateResult = userRouteUtil.validateRouteSegments(paginationathSegments);
|
|
250
|
+
if (!validateResult) {
|
|
251
|
+
ibiz.log.warn(
|
|
252
|
+
"\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"
|
|
253
|
+
);
|
|
254
|
+
continue;
|
|
255
|
+
}
|
|
256
|
+
const pathDeepth = (paginationathSegments.length - 1) / 2;
|
|
257
|
+
if (pathDeepth > 1) {
|
|
258
|
+
const segmentLength = paginationathSegments.length;
|
|
259
|
+
route.path = "".concat(paginationathSegments[segmentLength - 2], "/").concat(paginationathSegments[segmentLength - 1]);
|
|
260
|
+
this.addRoute(pathDeepth - 1, route, routes);
|
|
261
|
+
} else {
|
|
262
|
+
routes.push(route);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
this.router = vueRouter.createRouter({
|
|
267
|
+
history: vueRouter.createWebHashHistory(),
|
|
268
|
+
routes
|
|
269
|
+
});
|
|
214
270
|
const { init } = viewStack.useViewStack();
|
|
215
271
|
init(this.router);
|
|
216
272
|
}
|
|
@@ -218,5 +274,6 @@ class AppRouter {
|
|
|
218
274
|
}
|
|
219
275
|
}
|
|
220
276
|
__publicField(AppRouter, "router");
|
|
277
|
+
__publicField(AppRouter, "authGuard");
|
|
221
278
|
|
|
222
279
|
exports.AppRouter = AppRouter;
|
|
@@ -38,14 +38,14 @@ class UnauthorizedHandler {
|
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
40
|
const { origin } = window.location;
|
|
41
|
-
const baseUrl =
|
|
42
|
-
const backUrl =
|
|
41
|
+
const baseUrl = "".concat(origin).concat(ibiz.env.baseUrl);
|
|
42
|
+
const backUrl = "".concat(baseUrl, "/cas/v7/login").concat(qs.stringify(
|
|
43
43
|
{
|
|
44
44
|
RU: core.UrlHelper.fullPath,
|
|
45
45
|
base: baseUrl
|
|
46
46
|
},
|
|
47
47
|
{ addQueryPrefix: true }
|
|
48
|
-
)
|
|
48
|
+
));
|
|
49
49
|
const hasQueryPrefix = ibiz.env.casLoginUrl.indexOf("?") !== -1;
|
|
50
50
|
const targetUrl = ibiz.env.casLoginUrl + (hasQueryPrefix ? "&" : "?") + qs.stringify(
|
|
51
51
|
{
|
|
@@ -87,9 +87,9 @@ class UnauthorizedHandler {
|
|
|
87
87
|
if (ru.startsWith("/login")) {
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
const targetUrl =
|
|
90
|
+
const targetUrl = "".concat(core.UrlHelper.routeBase, "/login?ru=").concat(encodeURIComponent(
|
|
91
91
|
ru
|
|
92
|
-
)
|
|
92
|
+
));
|
|
93
93
|
document.body.style.display = "none";
|
|
94
94
|
window.location.href = targetUrl;
|
|
95
95
|
window.location.reload();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _commonjsHelpers = require('../../../../../../../_virtual/_commonjsHelpers.cjs');
|
|
6
|
-
var index = require('../../../../../../../_virtual/
|
|
6
|
+
var index = require('../../../../../../../_virtual/index14.cjs');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
*****************************************************************************
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('../../../../../../../../_virtual/_commonjsHelpers.cjs');
|
|
4
|
-
var index = require('../../../../../../../../_virtual/
|
|
4
|
+
var index = require('../../../../../../../../_virtual/index13.cjs');
|
|
5
5
|
|
|
6
6
|
var frameTalkClientPc = index.__module.exports;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('../../../../../../../../_virtual/_commonjsHelpers.cjs');
|
|
4
|
-
var index = require('../../../../../../../../_virtual/
|
|
4
|
+
var index = require('../../../../../../../../_virtual/index12.cjs');
|
|
5
5
|
require('../../../../../../../../_virtual/bridge.cjs');
|
|
6
6
|
var retry = require('./retry.cjs');
|
|
7
7
|
require('../../../../../../../../_virtual/dealParamsAndResult.cjs');
|
package/lib/node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.cjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var _commonjsHelpers = require('../../../../../../_virtual/_commonjsHelpers.cjs');
|
|
6
|
+
var FileSaver_min$2 = require('../../../../../../_virtual/FileSaver.min.cjs');
|
|
7
|
+
|
|
8
|
+
var FileSaver_min = FileSaver_min$2.__module.exports;
|
|
9
|
+
|
|
10
|
+
(function (module, exports) {
|
|
11
|
+
(function(a,b){if("function"==typeof undefined&&undefined.amd)undefined([],b);else if("undefined"!='object')b();else {b(),a.FileSaver={exports:{}}.exports;}})(_commonjsHelpers.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 _commonjsHelpers.commonjsGlobal&&_commonjsHelpers.commonjsGlobal.global===_commonjsHelpers.commonjsGlobal?_commonjsHelpers.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);});
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
} (FileSaver_min$2.__module, FileSaver_min$2.__module.exports));
|
|
15
|
+
|
|
16
|
+
var FileSaver_minExports = FileSaver_min$2.__module.exports;
|
|
17
|
+
var FileSaver_min$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(FileSaver_minExports);
|
|
18
|
+
|
|
19
|
+
exports.FileSaver_minExports = FileSaver_minExports;
|
|
20
|
+
exports.default = FileSaver_min$1;
|
package/lib/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _commonjsHelpers = require('../../../../../_virtual/_commonjsHelpers.cjs');
|
|
6
|
-
var index$1 = require('../../../../../_virtual/
|
|
6
|
+
var index$1 = require('../../../../../_virtual/index18.cjs');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _commonjsHelpers = require('../../../../../_virtual/_commonjsHelpers.cjs');
|
|
6
|
-
var index$1 = require('../../../../../_virtual/
|
|
6
|
+
var index$1 = require('../../../../../_virtual/index19.cjs');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Lodash (Custom Build) <https://lodash.com/>
|