agilebuilder-ui 1.1.65-tmp12 → 1.1.65-tmp14
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/favicon.svg +29 -0
- package/dist/index.full.min.js +16440 -0
- package/dist/style.css +3078 -0
- package/es/IntervalSelection/index.js +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.js +49 -0
- package/es/IntervalSelection/src/sectionDate.vue2.js +4 -0
- package/es/_virtual/__vite-browser-external.js +4 -0
- package/es/_virtual/_plugin-vue_export-helper.js +9 -0
- package/es/breadcrumb/index.js +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.js +28 -0
- package/es/breadcrumb/src/breadcrumb.vue2.js +4 -0
- package/es/chat-embed/index.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.js +14 -0
- package/es/chat-embed/src/chat-addition-data.vue3.js +4 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +29 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.js +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +33 -0
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +4 -0
- package/es/chat-embed/src/chat-embed-message.js +22 -0
- package/es/chat-embed/src/chat-sender.vue.js +7 -0
- package/es/chat-embed/src/chat-sender.vue2.js +160 -0
- package/es/chat-embed/src/chat-sender.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +59 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +6 -0
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +118 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +4 -0
- package/es/chat-embed/src/components/history-detail.vue.js +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.js +55 -0
- package/es/chat-embed/src/components/history-detail.vue3.js +4 -0
- package/es/chat-embed/src/header.vue.js +7 -0
- package/es/chat-embed/src/header.vue2.js +46 -0
- package/es/chat-embed/src/header.vue3.js +4 -0
- package/es/chat-embed/src/index.vue.js +7 -0
- package/es/chat-embed/src/index.vue2.js +307 -0
- package/es/chat-embed/src/index.vue3.js +4 -0
- package/es/chat-embed/src/recommendation-message.vue.js +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.js +8 -0
- package/es/chat-embed/src/recommendation-message.vue3.js +4 -0
- package/es/chat-embed/src/sidebar-item.vue.js +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.js +118 -0
- package/es/chat-embed/src/sidebar-item.vue3.js +4 -0
- package/es/chat-embed/src/type.js +5 -0
- package/es/chat-embed/src/util/chat-embed-util.js +57 -0
- package/es/chat-embed/src/util/history-message-util.js +96 -0
- package/es/chat-embed/src/util/mcp-utils.js +53 -0
- package/es/chat-embed/src/util/text-file-util.js +12 -0
- package/es/chat-embed/src/voice/index.js +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.js +1013 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.js +178 -0
- package/es/chat-embed/src/voice/js/timer.js +11 -0
- package/es/chat-embed/src/voice/voice.vue.js +104 -0
- package/es/date-picker-range/index.js +7 -0
- package/es/date-picker-range/index.vue.js +7 -0
- package/es/date-picker-range/index.vue2.js +93 -0
- package/es/date-picker-range/index.vue3.js +4 -0
- package/es/department-tree/index.js +7 -0
- package/es/department-tree/src/department-tree.vue.js +23 -0
- package/es/department-tree-inline/index.js +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +91 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +64 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.js +17 -0
- package/es/department-tree-inline/src/department-tree-service.js +108 -0
- package/es/department-tree-inline/src/search-result.vue.js +40 -0
- package/es/department-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-tree-mobile/index.js +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.js +15 -0
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-service.js +55 -0
- package/es/department-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/department-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/department-user-tree/index.js +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +20 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.js +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.js +27 -0
- package/es/department-user-tree-inline/index.js +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +165 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +69 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +54 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +34 -0
- package/es/department-user-tree-inline/src/group-user-tree-service.js +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.js +41 -0
- package/es/department-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-user-tree-mobile/index.js +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +15 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +38 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/directives/prevent-reclick.js +15 -0
- package/es/dynamic-source-select/index.js +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +276 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -0
- package/es/dynamic-source-select/src/events.js +29 -0
- package/es/empty-state/index.vue.js +9 -0
- package/es/empty-state/index.vue2.js +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.js +7 -0
- package/es/fs-preview/src/fs-preview.vue.js +120 -0
- package/es/fs-preview/src/fs-preview.vue2.js +4 -0
- package/es/fs-upload/index.js +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.js +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.js +73 -0
- package/es/fs-upload/src/fs-upload.vue.js +24 -0
- package/es/fs-upload/src/see-big-picture.vue.js +12 -0
- package/es/fs-upload-list/index.js +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.js +98 -0
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +4 -0
- package/es/fs-upload-new/index.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +61 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +62 -0
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +63 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.js +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +93 -0
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +4 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.js +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +4 -0
- package/es/hamburger/index.js +7 -0
- package/es/hamburger/src/hamburger.vue.js +15 -0
- package/es/hamburger/src/hamburger.vue2.js +4 -0
- package/es/index.js +383 -0
- package/es/json-view/json-view-dialog.vue.js +19 -0
- package/es/json-view/json-view-dialog.vue2.js +4 -0
- package/es/json-view/json-view.vue.js +4 -0
- package/es/json-view/json-view.vue2.js +36 -0
- package/es/multipart-upload/index.js +7 -0
- package/es/multipart-upload/src/index.vue.js +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.js +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.js +104 -0
- package/es/organization-input/index.js +7 -0
- package/es/organization-input/src/organization-input.vue.js +224 -0
- package/es/organization-input/src/organization-input.vue2.js +4 -0
- package/es/plugins/export-data-new.js +237 -0
- package/es/plugins/export-data.js +179 -0
- package/es/plugins/index.js +9 -0
- package/es/plugins/public-method.js +14 -0
- package/es/remove-department/index.js +7 -0
- package/es/remove-department/src/remove-department.vue.js +33 -0
- package/es/remove-department/src/remove-dept-service.js +13 -0
- package/es/remove-user/index.js +7 -0
- package/es/remove-user/src/remove-user-service.js +13 -0
- package/es/remove-user/src/remove-user.vue.js +35 -0
- package/es/remove-workgroup/index.js +7 -0
- package/es/remove-workgroup/src/remove-workgroup-service.js +13 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.js +31 -0
- package/es/rich-editor/index.js +7 -0
- package/es/rich-editor/index.vue.js +115 -0
- package/es/rich-editor/tinymce/zh_CN.js +2 -0
- package/es/rich-editor/viewer.vue.js +27 -0
- package/es/row-form/index.js +7 -0
- package/es/row-form/index.vue.js +7 -0
- package/es/row-form/index.vue2.js +62 -0
- package/es/row-form/index.vue3.js +4 -0
- package/es/row-form/operation.vue.js +32 -0
- package/es/row-form/operation.vue2.js +4 -0
- package/es/scan-code-input/index.js +7 -0
- package/es/scan-code-input/src/events.js +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.js +32 -0
- package/es/scan-code-input-browser/index.js +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +39 -0
- package/es/secret-info/index.js +7 -0
- package/es/secret-info/index.vue.js +16 -0
- package/es/src/api/sso-service.js +57 -0
- package/es/src/api/tab.js +15 -0
- package/es/src/assets/401/401.gif.js +4 -0
- package/es/src/assets/404/404-cloud.png.js +4 -0
- package/es/src/assets/404/404.png.js +4 -0
- package/es/src/assets/chat-embed/robot.gif.js +4 -0
- package/es/src/assets/chat-embed/robot.svg.js +4 -0
- package/es/src/assets/nonemessage.png.js +4 -0
- package/es/src/components/Affix/index.vue.js +7 -0
- package/es/src/components/Affix/index.vue2.js +83 -0
- package/es/src/components/Affix/index.vue3.js +4 -0
- package/es/src/components/Card/index.js +48 -0
- package/es/src/components/Scrollbar/index.vue.js +52 -0
- package/es/src/components/Scrollbar/index.vue2.js +4 -0
- package/es/src/directives/permission/index.js +7 -0
- package/es/src/directives/permission/permission.js +11 -0
- package/es/src/i18n/i18n.js +7 -0
- package/es/src/i18n/langs/cn.js +4 -0
- package/es/src/i18n/langs/en.js +4 -0
- package/es/src/mixins/resizeMixin.js +21 -0
- package/es/src/permission.js +79 -0
- package/es/src/router/index.js +9 -0
- package/es/src/store/getters.js +4 -0
- package/es/src/store/index.js +13 -0
- package/es/src/store/modules/app.js +41 -0
- package/es/src/store/modules/chat-ai-store.js +36 -0
- package/es/src/store/modules/permission.js +31 -0
- package/es/src/store/modules/system.js +12 -0
- package/es/src/store/modules/tab-content.js +20 -0
- package/es/src/store/modules/table.js +18 -0
- package/es/src/store/modules/user.js +139 -0
- package/es/src/utils/auth-api.js +134 -0
- package/es/src/utils/auth.js +156 -0
- package/es/src/utils/calculator/calculator-factory-wf.js +167 -0
- package/es/src/utils/calculator/calculator-factory.js +93 -0
- package/es/src/utils/calculator/calculator-util.js +56 -0
- package/es/src/utils/chat-ai-util.js +34 -0
- package/es/src/utils/common-util.js +440 -0
- package/es/src/utils/eventBus.js +6 -0
- package/es/src/utils/file-util.js +23 -0
- package/es/src/utils/global-prop.js +38 -0
- package/es/src/utils/guid.js +10 -0
- package/es/src/utils/i18n-util.js +70 -0
- package/es/src/utils/iconUtils.js +26 -0
- package/es/src/utils/index.js +46 -0
- package/es/src/utils/insert_css.js +17 -0
- package/es/src/utils/json-util.js +47 -0
- package/es/src/utils/jump-page-utils.js +264 -0
- package/es/src/utils/local-storage.js +19 -0
- package/es/src/utils/menu.js +14 -0
- package/es/src/utils/permission.js +45 -0
- package/es/src/utils/permissionAuth.js +154 -0
- package/es/src/utils/range-selector.js +105 -0
- package/es/src/utils/request.js +140 -0
- package/es/src/utils/resize.js +11 -0
- package/es/src/utils/restful-interface-utils.js +18 -0
- package/es/src/utils/util.js +361 -0
- package/es/src/utils/validate.js +22 -0
- package/es/src/utils/voice-setting-cache.js +212 -0
- package/es/src/utils/watermark-cache.js +15 -0
- package/es/src/utils/watermark.js +40 -0
- package/es/src/utils/workflow-util.js +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +12 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +4 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +53 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.js +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +66 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/error-page/401.vue.js +15 -0
- package/es/src/views/error-page/401.vue2.js +4 -0
- package/es/src/views/error-page/404.vue.js +12 -0
- package/es/src/views/error-page/404.vue2.js +4 -0
- package/es/src/views/layout/EmptyLayout.vue.js +9 -0
- package/es/src/views/layout/Layout.vue.js +28 -0
- package/es/src/views/layout/Layout.vue2.js +4 -0
- package/es/src/views/layout/NewLayout.vue.js +11 -0
- package/es/src/views/layout/components/AppMain.vue.js +13 -0
- package/es/src/views/layout/components/AppMain.vue2.js +4 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +49 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/Item.vue.js +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.js +15 -0
- package/es/src/views/layout/components/Menubar/Item.vue3.js +4 -0
- package/es/src/views/layout/components/Menubar/Link.vue.js +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +56 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/index.vue.js +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue.js +9 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.js +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +22 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/index.vue.js +58 -0
- package/es/src/views/layout/components/iframe-page.vue.js +14 -0
- package/es/src/views/layout/components/iframe-page.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.js +64 -0
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/layout/mixin/ResizeHandler.js +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.js +14 -0
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +4 -0
- package/es/src/views/layout/tab-content-index.vue.js +28 -0
- package/es/src/views/layout/tab-content-index.vue2.js +4 -0
- package/es/src/views/login/authredirect.vue.js +7 -0
- package/es/src/views/redirect/index.vue.js +8 -0
- package/es/src/views/svg-icon/src/svg-icon.vue.js +4 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +4 -0
- package/es/style.css +3077 -0
- package/es/super-grid/index.js +7 -0
- package/es/super-grid/src/apis.js +458 -0
- package/es/super-grid/src/columns-config.vue.js +82 -0
- package/es/super-grid/src/components/grid-icon.vue.js +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.js +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.js +4 -0
- package/es/super-grid/src/components/mobile-table-card.js +109 -0
- package/es/super-grid/src/components/select-input.vue.js +149 -0
- package/es/super-grid/src/components/select-input.vue2.js +4 -0
- package/es/super-grid/src/custom-formatter.js +168 -0
- package/es/super-grid/src/dynamic-input.vue.js +482 -0
- package/es/super-grid/src/eventBus.js +6 -0
- package/es/super-grid/src/events.js +37 -0
- package/es/super-grid/src/formValidatorUtil.js +109 -0
- package/es/super-grid/src/formatter.js +74 -0
- package/es/super-grid/src/group-column.vue.js +24 -0
- package/es/super-grid/src/header-context-menu.vue.js +15 -0
- package/es/super-grid/src/header-context-menu.vue2.js +4 -0
- package/es/super-grid/src/index-column.vue.js +22 -0
- package/es/super-grid/src/normal-column-content.vue.js +319 -0
- package/es/super-grid/src/normal-column-content.vue2.js +4 -0
- package/es/super-grid/src/normal-column.vue.js +106 -0
- package/es/super-grid/src/normal-column.vue2.js +4 -0
- package/es/super-grid/src/public-methods.js +22 -0
- package/es/super-grid/src/row-detail.vue.js +14 -0
- package/es/super-grid/src/row-operation.vue.js +89 -0
- package/es/super-grid/src/row-operation.vue2.js +4 -0
- package/es/super-grid/src/scan-util.js +100 -0
- package/es/super-grid/src/search-button.vue.js +23 -0
- package/es/super-grid/src/search-condition-input.vue.js +17 -0
- package/es/super-grid/src/search-condition-list.vue.js +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.js +116 -0
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +4 -0
- package/es/super-grid/src/search-form-dialog.vue.js +16 -0
- package/es/super-grid/src/search-form-item.vue.js +128 -0
- package/es/super-grid/src/search-form-item.vue2.js +4 -0
- package/es/super-grid/src/search-form-mobile.vue.js +41 -0
- package/es/super-grid/src/search-form-mobile.vue2.js +4 -0
- package/es/super-grid/src/search-form-number.vue.js +26 -0
- package/es/super-grid/src/search-form-open.vue.js +50 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +39 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +4 -0
- package/es/super-grid/src/search-form.vue.js +201 -0
- package/es/super-grid/src/search-form.vue2.js +4 -0
- package/es/super-grid/src/search-methods.js +164 -0
- package/es/super-grid/src/selection-column.vue.js +11 -0
- package/es/super-grid/src/store.js +4 -0
- package/es/super-grid/src/super-grid-service.js +260 -0
- package/es/super-grid/src/super-grid.vue.js +1052 -0
- package/es/super-grid/src/super-grid.vue2.js +4 -0
- package/es/super-grid/src/utils.js +355 -0
- package/es/super-grid/src/view-image-dialog.vue.js +67 -0
- package/es/super-icon/index.js +7 -0
- package/es/super-icon/src/index.vue.js +7 -0
- package/es/super-icon/src/index.vue2.js +13 -0
- package/es/super-icon/src/index.vue3.js +4 -0
- package/es/super-nine-grid/index.js +7 -0
- package/es/super-nine-grid/src/apis.js +36 -0
- package/es/super-nine-grid/src/custom-formatter.js +35 -0
- package/es/super-nine-grid/src/formatter.js +37 -0
- package/es/super-nine-grid/src/search-form-number.vue.js +13 -0
- package/es/super-nine-grid/src/search-form.vue.js +91 -0
- package/es/super-nine-grid/src/search-form.vue2.js +4 -0
- package/es/super-nine-grid/src/search-methods.js +48 -0
- package/es/super-nine-grid/src/store.js +4 -0
- package/es/super-nine-grid/src/super-grid-service.js +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.js +225 -0
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +4 -0
- package/es/super-nine-grid/src/utils.js +32 -0
- package/es/svg-icon/index.js +7 -0
- package/es/svg-icon/src/svg-icon.vue.js +14 -0
- package/es/svg-icon/src/svg-icon.vue2.js +4 -0
- package/es/utils/gogocodeTransfer.js +33 -0
- package/es/utils/memory-cache-utils.js +30 -0
- package/es/utils/organization.js +57 -0
- package/es/utils/utils.js +87 -0
- package/es/utils/value-set.js +94 -0
- package/es/valid-code/index.js +7 -0
- package/es/valid-code/src/valid-code.vue.js +23 -0
- package/es/valid-code/src/valid-code.vue2.js +4 -0
- package/es/workflow-button/index.js +7 -0
- package/es/workflow-button/src/workflow-button.vue.js +85 -0
- package/es/workflow-history-list/index.js +7 -0
- package/es/workflow-history-list/src/api.js +6 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.js +89 -0
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +4 -0
- package/es/workgroup-tree/index.js +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.js +23 -0
- package/es/workgroup-tree-inline/index.js +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +35 -0
- package/es/workgroup-tree-mobile/index.js +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +15 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +33 -0
- package/es/workgroup-user-tree/index.js +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +23 -0
- package/es/workgroup-user-tree-inline/index.js +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +172 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +15 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +29 -0
- package/es/year-range-picker/index.js +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.js +14 -0
- package/lib/IntervalSelection/index.js +5 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
- package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
- package/lib/_virtual/__vite-browser-external.js +2 -4
- package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
- package/lib/breadcrumb/index.js +3 -5
- package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
- package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
- package/lib/chat-embed/index.js +3 -5
- package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
- package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
- package/lib/chat-embed/src/chat-embed-message.js +14 -20
- package/lib/chat-embed/src/chat-sender.vue.js +5 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
- package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
- package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
- package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
- package/lib/chat-embed/src/header.vue.js +5 -7
- package/lib/chat-embed/src/header.vue2.js +25 -32
- package/lib/chat-embed/src/header.vue3.js +2 -4
- package/lib/chat-embed/src/index.vue.js +5 -7
- package/lib/chat-embed/src/index.vue2.js +185 -211
- package/lib/chat-embed/src/index.vue3.js +2 -4
- package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
- package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
- package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
- package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
- package/lib/chat-embed/src/type.js +3 -5
- package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
- package/lib/chat-embed/src/util/history-message-util.js +63 -85
- package/lib/chat-embed/src/util/mcp-utils.js +5 -8
- package/lib/chat-embed/src/util/text-file-util.js +7 -11
- package/lib/chat-embed/src/voice/index.js +5 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
- package/lib/chat-embed/src/voice/js/timer.js +7 -10
- package/lib/chat-embed/src/voice/voice.vue.js +61 -70
- package/lib/date-picker-range/index.js +5 -7
- package/lib/date-picker-range/index.vue.js +5 -7
- package/lib/date-picker-range/index.vue2.js +59 -63
- package/lib/date-picker-range/index.vue3.js +2 -4
- package/lib/department-tree/index.js +3 -5
- package/lib/department-tree/src/department-tree.vue.js +11 -17
- package/lib/department-tree-inline/index.js +3 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
- package/lib/department-tree-inline/src/department-tree-service.js +8 -10
- package/lib/department-tree-inline/src/search-result.vue.js +19 -23
- package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-tree-mobile/index.js +4 -7
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
- package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/department-user-tree/index.js +3 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
- package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/index.js +3 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
- package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
- package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-user-tree-mobile/index.js +4 -7
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/directives/prevent-reclick.js +2 -3
- package/lib/dynamic-source-select/index.js +5 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
- package/lib/dynamic-source-select/src/events.js +2 -3
- package/lib/empty-state/index.vue.js +5 -8
- package/lib/empty-state/index.vue2.js +3 -4
- package/lib/fs-preview/index.js +5 -7
- package/lib/fs-preview/src/fs-preview.vue.js +63 -72
- package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
- package/lib/fs-upload/index.js +5 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
- package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
- package/lib/fs-upload/src/fs-upload.vue.js +10 -16
- package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
- package/lib/fs-upload-list/index.js +5 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
- package/lib/fs-upload-new/index.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
- package/lib/hamburger/index.js +3 -5
- package/lib/hamburger/src/hamburger.vue.js +10 -14
- package/lib/hamburger/src/hamburger.vue2.js +2 -4
- package/lib/index.js +40 -380
- package/lib/json-view/json-view-dialog.vue.js +12 -15
- package/lib/json-view/json-view-dialog.vue2.js +3 -4
- package/lib/json-view/json-view.vue.js +3 -4
- package/lib/json-view/json-view.vue2.js +27 -31
- package/lib/multipart-upload/index.js +5 -7
- package/lib/multipart-upload/src/index.vue.js +7 -11
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
- package/lib/organization-input/index.js +5 -7
- package/lib/organization-input/src/organization-input.vue.js +31 -37
- package/lib/organization-input/src/organization-input.vue2.js +2 -4
- package/lib/plugins/export-data-new.js +96 -104
- package/lib/plugins/export-data.js +45 -51
- package/lib/plugins/index.js +4 -8
- package/lib/plugins/public-method.js +2 -3
- package/lib/remove-department/index.js +3 -5
- package/lib/remove-department/src/remove-department.vue.js +13 -19
- package/lib/remove-department/src/remove-dept-service.js +9 -10
- package/lib/remove-user/index.js +5 -7
- package/lib/remove-user/src/remove-user-service.js +3 -4
- package/lib/remove-user/src/remove-user.vue.js +16 -22
- package/lib/remove-workgroup/index.js +5 -7
- package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
- package/lib/rich-editor/index.js +5 -7
- package/lib/rich-editor/index.vue.js +28 -76
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +7 -10
- package/lib/row-form/index.js +5 -7
- package/lib/row-form/index.vue.js +5 -7
- package/lib/row-form/index.vue2.js +41 -47
- package/lib/row-form/index.vue3.js +2 -4
- package/lib/row-form/operation.vue.js +22 -26
- package/lib/row-form/operation.vue2.js +3 -4
- package/lib/scan-code-input/index.js +5 -7
- package/lib/scan-code-input/src/events.js +11 -13
- package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
- package/lib/scan-code-input-browser/index.js +5 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
- package/lib/secret-info/index.js +5 -7
- package/lib/secret-info/index.vue.js +6 -9
- package/lib/src/api/sso-service.js +34 -36
- package/lib/src/api/tab.js +8 -9
- package/lib/src/assets/401/401.gif.js +2 -4
- package/lib/src/assets/404/404-cloud.png.js +2 -4
- package/lib/src/assets/404/404.png.js +2 -4
- package/lib/src/assets/chat-embed/robot.gif.js +2 -4
- package/lib/src/assets/chat-embed/robot.svg.js +2 -4
- package/lib/src/assets/nonemessage.png.js +2 -4
- package/lib/src/components/Affix/index.vue.js +5 -7
- package/lib/src/components/Affix/index.vue2.js +56 -58
- package/lib/src/components/Affix/index.vue3.js +2 -4
- package/lib/src/components/Card/index.js +33 -38
- package/lib/src/components/Scrollbar/index.vue.js +33 -37
- package/lib/src/components/Scrollbar/index.vue2.js +2 -4
- package/lib/src/directives/permission/index.js +3 -5
- package/lib/src/directives/permission/permission.js +7 -9
- package/lib/src/i18n/i18n.js +3 -7
- package/lib/src/i18n/langs/cn.js +2 -4
- package/lib/src/i18n/langs/en.js +2 -4
- package/lib/src/mixins/resizeMixin.js +2 -3
- package/lib/src/permission.js +43 -46
- package/lib/src/router/index.js +16 -9
- package/lib/src/store/getters.js +2 -4
- package/lib/src/store/index.js +16 -13
- package/lib/src/store/modules/app.js +3 -4
- package/lib/src/store/modules/chat-ai-store.js +19 -22
- package/lib/src/store/modules/permission.js +10 -11
- package/lib/src/store/modules/system.js +7 -9
- package/lib/src/store/modules/tab-content.js +13 -15
- package/lib/src/store/modules/table.js +2 -3
- package/lib/src/store/modules/user.js +89 -95
- package/lib/src/utils/auth-api.js +3 -5
- package/lib/src/utils/auth.js +69 -139
- package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
- package/lib/src/utils/calculator/calculator-factory.js +57 -58
- package/lib/src/utils/calculator/calculator-util.js +29 -32
- package/lib/src/utils/chat-ai-util.js +17 -25
- package/lib/src/utils/common-util.js +271 -356
- package/lib/src/utils/eventBus.js +3 -6
- package/lib/src/utils/file-util.js +15 -16
- package/lib/src/utils/global-prop.js +21 -37
- package/lib/src/utils/guid.js +5 -8
- package/lib/src/utils/i18n-util.js +16 -24
- package/lib/src/utils/iconUtils.js +16 -23
- package/lib/src/utils/index.js +26 -40
- package/lib/src/utils/insert_css.js +8 -7
- package/lib/src/utils/json-util.js +25 -27
- package/lib/src/utils/jump-page-utils.js +172 -180
- package/lib/src/utils/local-storage.js +2 -3
- package/lib/src/utils/menu.js +10 -11
- package/lib/src/utils/permission.js +22 -26
- package/lib/src/utils/permissionAuth.js +102 -136
- package/lib/src/utils/range-selector.js +41 -45
- package/lib/src/utils/request.js +77 -86
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +12 -15
- package/lib/src/utils/util.js +6 -26
- package/lib/src/utils/validate.js +10 -20
- package/lib/src/utils/voice-setting-cache.js +140 -153
- package/lib/src/utils/watermark-cache.js +9 -14
- package/lib/src/utils/watermark.js +23 -30
- package/lib/src/utils/workflow-util.js +25 -26
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +13 -22
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/error-page/401.vue.js +9 -13
- package/lib/src/views/error-page/401.vue2.js +2 -4
- package/lib/src/views/error-page/404.vue.js +7 -11
- package/lib/src/views/error-page/404.vue2.js +2 -4
- package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
- package/lib/src/views/layout/Layout.vue.js +12 -19
- package/lib/src/views/layout/Layout.vue2.js +2 -4
- package/lib/src/views/layout/NewLayout.vue.js +6 -10
- package/lib/src/views/layout/components/AppMain.vue.js +9 -11
- package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
- package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
- package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
- package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
- package/lib/src/views/layout/tab-content-index.vue.js +12 -18
- package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
- package/lib/src/views/login/authredirect.vue.js +2 -3
- package/lib/src/views/redirect/index.vue.js +17 -8
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
- package/lib/style.css +868 -868
- package/lib/super-grid/index.js +5 -7
- package/lib/super-grid/src/apis.js +221 -231
- package/lib/super-grid/src/columns-config.vue.js +16 -22
- package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
- package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
- package/lib/super-grid/src/components/mobile-table-card.js +73 -83
- package/lib/super-grid/src/components/select-input.vue.js +98 -106
- package/lib/super-grid/src/components/select-input.vue2.js +3 -4
- package/lib/super-grid/src/custom-formatter.js +69 -73
- package/lib/super-grid/src/dynamic-input.vue.js +142 -159
- package/lib/super-grid/src/eventBus.js +3 -6
- package/lib/super-grid/src/events.js +34 -36
- package/lib/super-grid/src/formValidatorUtil.js +62 -65
- package/lib/super-grid/src/formatter.js +36 -41
- package/lib/super-grid/src/group-column.vue.js +8 -13
- package/lib/super-grid/src/header-context-menu.vue.js +10 -13
- package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
- package/lib/super-grid/src/index-column.vue.js +7 -10
- package/lib/super-grid/src/normal-column-content.vue.js +187 -206
- package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
- package/lib/super-grid/src/normal-column.vue.js +40 -55
- package/lib/super-grid/src/normal-column.vue2.js +2 -4
- package/lib/super-grid/src/public-methods.js +12 -14
- package/lib/super-grid/src/row-detail.vue.js +7 -10
- package/lib/super-grid/src/row-operation.vue.js +19 -26
- package/lib/super-grid/src/row-operation.vue2.js +2 -4
- package/lib/super-grid/src/scan-util.js +24 -26
- package/lib/super-grid/src/search-button.vue.js +12 -17
- package/lib/super-grid/src/search-condition-input.vue.js +8 -12
- package/lib/super-grid/src/search-condition-list.vue.js +10 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
- package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
- package/lib/super-grid/src/search-form-item.vue.js +16 -24
- package/lib/super-grid/src/search-form-item.vue2.js +2 -4
- package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
- package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
- package/lib/super-grid/src/search-form-number.vue.js +9 -14
- package/lib/super-grid/src/search-form-open.vue.js +7 -13
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
- package/lib/super-grid/src/search-form.vue.js +65 -77
- package/lib/super-grid/src/search-form.vue2.js +2 -4
- package/lib/super-grid/src/search-methods.js +2 -3
- package/lib/super-grid/src/selection-column.vue.js +7 -9
- package/lib/super-grid/src/store.js +3 -4
- package/lib/super-grid/src/super-grid-service.js +121 -128
- package/lib/super-grid/src/super-grid.vue.js +186 -217
- package/lib/super-grid/src/super-grid.vue2.js +2 -4
- package/lib/super-grid/src/utils.js +265 -322
- package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
- package/lib/super-icon/index.js +5 -7
- package/lib/super-icon/src/index.vue.js +5 -7
- package/lib/super-icon/src/index.vue2.js +8 -11
- package/lib/super-icon/src/index.vue3.js +2 -4
- package/lib/super-nine-grid/index.js +5 -7
- package/lib/super-nine-grid/src/apis.js +5 -8
- package/lib/super-nine-grid/src/custom-formatter.js +5 -7
- package/lib/super-nine-grid/src/formatter.js +28 -29
- package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
- package/lib/super-nine-grid/src/search-form.vue.js +33 -40
- package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
- package/lib/super-nine-grid/src/search-methods.js +2 -3
- package/lib/super-nine-grid/src/store.js +3 -4
- package/lib/super-nine-grid/src/super-grid-service.js +5 -9
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
- package/lib/super-nine-grid/src/utils.js +31 -27
- package/lib/svg-icon/index.js +5 -7
- package/lib/svg-icon/src/svg-icon.vue.js +8 -10
- package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
- package/lib/utils/gogocodeTransfer.js +23 -28
- package/lib/utils/memory-cache-utils.js +3 -5
- package/lib/utils/organization.js +40 -53
- package/lib/utils/utils.js +27 -29
- package/lib/utils/value-set.js +68 -70
- package/lib/valid-code/index.js +5 -7
- package/lib/valid-code/src/valid-code.vue.js +10 -13
- package/lib/valid-code/src/valid-code.vue2.js +2 -4
- package/lib/workflow-button/index.js +3 -5
- package/lib/workflow-button/src/workflow-button.vue.js +34 -39
- package/lib/workflow-history-list/index.js +5 -7
- package/lib/workflow-history-list/src/api.js +2 -3
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
- package/lib/workgroup-tree/index.js +5 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
- package/lib/workgroup-tree-inline/index.js +3 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
- package/lib/workgroup-tree-mobile/index.js +5 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
- package/lib/workgroup-user-tree/index.js +5 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
- package/lib/workgroup-user-tree-inline/index.js +3 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
- package/lib/year-range-picker/index.js +3 -5
- package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
- package/package.json +5 -2
- package/vite.config.js +35 -33
|
@@ -1,239 +1,150 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { Base64 as l } from "js-base64";
|
|
6
|
-
import { getWatermarkSetting as a } from "./watermark.js";
|
|
7
|
-
import { GLOBAL_PROP as c, cacheAllGlobalPropCache as g } from "./global-prop.js";
|
|
8
|
-
import { removeAllSystemPermissions as u, setPermissions as p } from "./permissionAuth.js";
|
|
9
|
-
import d from "../api/sso-service.js";
|
|
10
|
-
function f(e2) {
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), require("vue");
|
|
3
|
+
const e = require("./auth.js"), t = require("uuid"), o = require("./i18n-util.js"), n = require("js-base64"), i = require("./watermark.js"), r = require("./global-prop.js"), s = require("./permissionAuth.js"), l = require("../api/sso-service.js");
|
|
4
|
+
function a(e2) {
|
|
11
5
|
if (!e2)
|
|
12
6
|
return e2;
|
|
13
7
|
if (void 0 === window.$vueApp.config.globalProperties.projectModel || "developing.model" !== window.$vueApp.config.globalProperties.projectModel) {
|
|
14
|
-
let
|
|
15
|
-
if (window.sessionStorage.setItem("relativeUrl",
|
|
16
|
-
let
|
|
17
|
-
const
|
|
18
|
-
if (
|
|
19
|
-
const
|
|
20
|
-
|
|
8
|
+
let t2 = c(location.href);
|
|
9
|
+
if (window.sessionStorage.setItem("relativeUrl", t2), t2 && e2) {
|
|
10
|
+
let o2 = "";
|
|
11
|
+
const n2 = e2.split("/");
|
|
12
|
+
if (n2.length >= 3) {
|
|
13
|
+
const t3 = n2[0] + "//" + n2[2];
|
|
14
|
+
o2 = e2.substring(e2.indexOf(t3) + t3.length);
|
|
21
15
|
}
|
|
22
|
-
return
|
|
16
|
+
return t2.lastIndexOf("/") === t2.length - 1 && (t2 = t2.substring(0, t2.lastIndexOf("/"))), o2 ? t2 + o2 : t2;
|
|
23
17
|
}
|
|
24
18
|
}
|
|
25
19
|
return e2;
|
|
26
20
|
}
|
|
27
|
-
function
|
|
28
|
-
const
|
|
29
|
-
if (
|
|
30
|
-
const e3 =
|
|
31
|
-
let
|
|
32
|
-
const
|
|
33
|
-
return
|
|
21
|
+
function c(e2) {
|
|
22
|
+
const t2 = e2.split("#");
|
|
23
|
+
if (t2.length > 0) {
|
|
24
|
+
const e3 = t2[0];
|
|
25
|
+
let o2 = e3;
|
|
26
|
+
const n2 = e3.split("/");
|
|
27
|
+
return n2.length >= 3 && (o2 = n2[0] + "//" + n2[2] + "/"), o2;
|
|
34
28
|
}
|
|
35
29
|
}
|
|
36
|
-
function
|
|
30
|
+
function g(e2) {
|
|
37
31
|
if (void 0 === window.$vueApp.config.globalProperties.projectModel || "developing.model" !== window.$vueApp.config.globalProperties.projectModel) {
|
|
38
|
-
const
|
|
39
|
-
let
|
|
40
|
-
const
|
|
41
|
-
let i2 =
|
|
42
|
-
if (
|
|
43
|
-
let
|
|
44
|
-
0 !==
|
|
32
|
+
const t2 = location.href;
|
|
33
|
+
let o2 = e2;
|
|
34
|
+
const n2 = c(e2);
|
|
35
|
+
let i2 = c(t2);
|
|
36
|
+
if (n2 !== i2) {
|
|
37
|
+
let t3 = e2.substring(e2.indexOf(n2) + n2.length);
|
|
38
|
+
0 !== t3.indexOf("/") && (t3 = "/" + t3), i2.lastIndexOf("/") === i2.length - 1 && (i2 = i2.substring(0, i2.lastIndexOf("/"))), o2 = i2 + t3;
|
|
45
39
|
}
|
|
46
|
-
return
|
|
40
|
+
return o2;
|
|
47
41
|
}
|
|
48
42
|
return e2;
|
|
49
43
|
}
|
|
50
|
-
function
|
|
51
|
-
return new Promise((e2, n2) => {
|
|
52
|
-
const t2 = window.location.href;
|
|
53
|
-
let o2 = t2, i2 = "", r2 = "";
|
|
54
|
-
if (t2.indexOf("#/") > 0 && t2.indexOf("#/login") < 0) {
|
|
55
|
-
o2 = t2.substring(0, t2.indexOf("#"));
|
|
56
|
-
const e3 = t2.substring(t2.indexOf("#") + 1);
|
|
57
|
-
i2 = e3, e3.indexOf("?") > 0 && (i2 = e3.substring(0, e3.indexOf("?")), r2 = e3.substring(e3.indexOf("?") + 1));
|
|
58
|
-
} else
|
|
59
|
-
o2 = null;
|
|
60
|
-
window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/api/portal-frontend-url").then((n3) => e2(((e3 = "") => {
|
|
61
|
-
let n4 = e3 + "#/login";
|
|
62
|
-
return o2 && (n4 = n4 + "?systemPath=" + o2), i2 && (n4 = n4.indexOf("?") > 0 ? n4 + "&routerPath=" + i2 : n4 + "?routerPath=" + i2), r2 && (n4 = n4.indexOf("?") > 0 ? n4 + "&" + r2 : n4 + "?" + r2), m(n4);
|
|
63
|
-
})(n3))).catch((e3) => {
|
|
64
|
-
n2(e3);
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
function h() {
|
|
69
|
-
let e2 = window.$vueApp.config.globalProperties.showMenuRoute;
|
|
70
|
-
return void 0 === e2 && (e2 = "false"), "true" === e2;
|
|
71
|
-
}
|
|
72
|
-
function P() {
|
|
73
|
-
let e2 = window.$vueApp.config.globalProperties.showSystemMenu;
|
|
74
|
-
return void 0 === e2 && (e2 = "false"), "true" === e2;
|
|
75
|
-
}
|
|
76
|
-
function A(e2) {
|
|
77
|
-
return window.$vueApp.config.globalProperties.projectModel && "developing.model" === window.$vueApp.config.globalProperties.projectModel && window.$vueApp.config.globalProperties.frontUrl ? window.$vueApp.config.globalProperties.frontUrl : f(e2);
|
|
78
|
-
}
|
|
79
|
-
function v(e2) {
|
|
80
|
-
return window.$vueApp.config.globalProperties.projectModel && "developing.model" === window.$vueApp.config.globalProperties.projectModel ? e2 || window.$vueApp.config.globalProperties.frontUrl : f(e2);
|
|
81
|
-
}
|
|
82
|
-
function _(e2) {
|
|
83
|
-
return window.$vueApp.config.globalProperties.projectModel && "developing.model" === window.$vueApp.config.globalProperties.projectModel && window.$vueApp.config.globalProperties.baseURL ? window.$vueApp.config.globalProperties.baseURL : f(e2);
|
|
84
|
-
}
|
|
85
|
-
function $(e2) {
|
|
44
|
+
function u(e2) {
|
|
86
45
|
return !(!e2 || "agilebuilder" !== e2 && "portal" !== e2 && "mms" !== e2 && "task" !== e2 && "wf" !== e2 && "dc" !== e2 && "mc" !== e2 && "mobile" !== e2 && "acs" !== e2 && "bs" !== e2 && "pcm" !== e2 && "hc" !== e2 && "devp" !== e2);
|
|
87
46
|
}
|
|
88
|
-
function
|
|
89
|
-
return new Promise((n2, t2) => {
|
|
90
|
-
let o2 = "1";
|
|
91
|
-
try {
|
|
92
|
-
__BUILD_TIME__ && (o2 = __BUILD_TIME__);
|
|
93
|
-
} catch (e3) {
|
|
94
|
-
}
|
|
95
|
-
e2.get("./server-config.json?t=" + o2).then((e3) => {
|
|
96
|
-
const t3 = e3;
|
|
97
|
-
for (const e4 in t3)
|
|
98
|
-
window.$vueApp.config.globalProperties[e4] = t3[e4];
|
|
99
|
-
window.$vueApp.config.globalProperties.baseURL = f(window.$vueApp.config.globalProperties.baseURL), window.$vueApp.config.globalProperties.baseAPI = f(window.$vueApp.config.globalProperties.baseAPI), localStorage.setItem("_baseAPI_", window.$vueApp.config.globalProperties.baseAPI), localStorage.setItem("_amb_projectModel_", window.$vueApp.config.globalProperties.projectModel), O(t3), x(t3), n2();
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
function O(e2) {
|
|
47
|
+
function p(e2) {
|
|
104
48
|
if (!window.insertCssFile)
|
|
105
49
|
return;
|
|
106
50
|
e2 || (e2 = window.$vueApp.config.globalProperties);
|
|
107
|
-
let
|
|
51
|
+
let t2 = "1";
|
|
108
52
|
try {
|
|
109
|
-
__BUILD_TIME__ && (
|
|
53
|
+
__BUILD_TIME__ && (t2 = __BUILD_TIME__);
|
|
110
54
|
} catch (e3) {
|
|
111
55
|
}
|
|
112
|
-
e2.fontIconAddress && window.insertCssFile && window.insertCssFile(`${e2.fontIconAddress}/iconfont.css?t=${
|
|
56
|
+
e2.fontIconAddress && window.insertCssFile && window.insertCssFile(`${e2.fontIconAddress}/iconfont.css?t=${t2}`), e2.fontIconAddress && window.insertCssFile && window.insertCssFile(`${e2.fontIconAddress}-color/iconfont.css?t=${t2}`);
|
|
113
57
|
}
|
|
114
|
-
function
|
|
58
|
+
function d(e2) {
|
|
115
59
|
window.insertJsFile && (e2 || (e2 = window.$vueApp.config.globalProperties), !e2 || "portal" !== e2.systemCode && "devp" !== e2.systemCode || ((!e2.loginMethod || e2.loginMethod.indexOf("dingtalk") >= 0) && window.insertJsFile("https://g.alicdn.com/dingding/h5-dingtalk-login/0.21.0/ddlogin.js"), (!e2.loginMethod || e2.loginMethod.indexOf("feishu") >= 0) && window.insertJsFile("https://lf-package-cn.feishucdn.com/obj/feishu-static/lark/passport/qrcode/LarkSSOSDKWebQRCode-1.0.3.js"), (!e2.loginMethod || e2.loginMethod.indexOf("qiwei") >= 0) && window.insertJsFile("https://wwcdn.weixin.qq.com/node/open/js/wecom-jssdk-2.3.1.js")));
|
|
116
60
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
if (e2 && e2.indexOf("/") > 0) {
|
|
121
|
-
const t2 = e2.split("/");
|
|
122
|
-
n2 = t2[0] + "//" + t2[2];
|
|
123
|
-
}
|
|
124
|
-
return n2;
|
|
125
|
-
}
|
|
126
|
-
function M(e2) {
|
|
127
|
-
return e2 && "[object Promise]" === Object.prototype.toString.call(e2);
|
|
128
|
-
}
|
|
129
|
-
function y() {
|
|
130
|
-
const e2 = /* @__PURE__ */ new Date() + "";
|
|
131
|
-
let n2 = "";
|
|
132
|
-
if (e2.indexOf("GMT") > 0) {
|
|
133
|
-
const t2 = e2.substring(e2.indexOf("GMT") + 3, e2.indexOf("(")).trim();
|
|
134
|
-
n2 = "UTC" + t2.substring(0, t2.length - 2) + ":" + t2.substring(t2.length - 2);
|
|
135
|
-
} else
|
|
136
|
-
e2.indexOf("UTC") > 0 && (n2 = "UTC" + e2.substring(e2.indexOf("UTC") + 3, e2.indexOf("(")).trim());
|
|
137
|
-
return n2;
|
|
138
|
-
}
|
|
139
|
-
function U(e2) {
|
|
140
|
-
if (!window.$vueApp.config.globalProperties.projectModel || "developing.model" !== window.$vueApp.config.globalProperties.projectModel) {
|
|
141
|
-
const n2 = window.$authApi.getSystemCacheUrlByCode(e2);
|
|
142
|
-
n2 && (window.$vueApp.config.globalProperties.baseURL = f(n2));
|
|
143
|
-
}
|
|
61
|
+
function f(t2) {
|
|
62
|
+
let o2;
|
|
63
|
+
return t2 && (o2 = JSON.stringify(t2)), e.setAllLanguages(o2);
|
|
144
64
|
}
|
|
145
|
-
function
|
|
146
|
-
|
|
147
|
-
let o2 = window.customValidatorRef.get(e2);
|
|
148
|
-
o2 || (o2 = /* @__PURE__ */ new Map(), window.customValidatorRef.set(e2, o2)), o2.set(n2, t2);
|
|
65
|
+
function w() {
|
|
66
|
+
return e.getAllLanguages();
|
|
149
67
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
68
|
+
function m(e2) {
|
|
69
|
+
const t2 = document.getElementById("ambBrowserIcon");
|
|
70
|
+
if (t2) {
|
|
71
|
+
if (e2) {
|
|
72
|
+
const o2 = window.$vueApp.config.globalProperties.baseAPI + "/cfg/project/icon/browserIcon?t=" + __BUILD_TIME__;
|
|
73
|
+
!e2.browserImageUuid || t2.href && t2.href === o2 || (t2.href = o2);
|
|
74
|
+
}
|
|
75
|
+
t2.href || (t2.href = "favicon.svg?t=" + __BUILD_TIME__);
|
|
154
76
|
}
|
|
155
77
|
}
|
|
156
|
-
function
|
|
157
|
-
return
|
|
158
|
-
}
|
|
159
|
-
function C(e2) {
|
|
160
|
-
return s.getLocaleByLang(e2);
|
|
161
|
-
}
|
|
162
|
-
function R(n2) {
|
|
163
|
-
let t2;
|
|
164
|
-
return n2 && (t2 = JSON.stringify(n2)), e(t2);
|
|
78
|
+
function b() {
|
|
79
|
+
return window.$vueApp.config.globalProperties.currentSystem ? window.$vueApp.config.globalProperties.currentSystem : window.$vueApp.config.globalProperties.systemCode;
|
|
165
80
|
}
|
|
166
|
-
function
|
|
167
|
-
return
|
|
81
|
+
function h() {
|
|
82
|
+
return window.localStorage.getItem("auth_source");
|
|
168
83
|
}
|
|
169
|
-
function
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
84
|
+
function P(e2) {
|
|
85
|
+
try {
|
|
86
|
+
const t2 = e2.includes("#") ? e2.split("#")[1] : e2, o2 = t2.includes("?") ? t2.split("?")[1] : t2, n2 = new URLSearchParams(o2);
|
|
87
|
+
return Object.fromEntries(n2);
|
|
88
|
+
} catch (e3) {
|
|
89
|
+
console.error("error===", e3);
|
|
174
90
|
}
|
|
175
|
-
return n2 || (n2 = "zh_CN"), n2;
|
|
176
91
|
}
|
|
177
|
-
function
|
|
178
|
-
return
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
92
|
+
function x(e2) {
|
|
93
|
+
return ("00" + e2).substr(e2.length);
|
|
94
|
+
}
|
|
95
|
+
exports.cacheAllEnableGlobalPropUtil = function() {
|
|
96
|
+
const e2 = localStorage.getItem(r.GLOBAL_PROP.loadState);
|
|
97
|
+
e2 && "true" === e2 || window.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/common/prop-setting").then((e3) => {
|
|
98
|
+
e3 && r.cacheAllGlobalPropCache(e3);
|
|
99
|
+
});
|
|
100
|
+
}, exports.cacheAllLanguagesUtil = function(t2) {
|
|
101
|
+
return new Promise((o2, n2) => {
|
|
102
|
+
if (e.getToken()) {
|
|
103
|
+
const n3 = w();
|
|
104
|
+
n3 ? (e.setAllLanguages(n3), o2()) : t2.get(window.$vueApp.config.globalProperties.baseAPI + "/component/all-languages").then((e2) => {
|
|
105
|
+
const t3 = {};
|
|
183
106
|
e2 && e2.forEach((e3) => {
|
|
184
|
-
const
|
|
185
|
-
let
|
|
186
|
-
|
|
187
|
-
}),
|
|
107
|
+
const o3 = e3.value;
|
|
108
|
+
let n4;
|
|
109
|
+
o3.indexOf("_") > 0 && (n4 = o3.substring(0, o3.indexOf("_"))), n4 && "zh" === n4 && (n4 = "cn"), n4 && (t3[n4] = o3);
|
|
110
|
+
}), f(t3), o2();
|
|
188
111
|
});
|
|
189
112
|
} else
|
|
190
113
|
o2();
|
|
191
114
|
});
|
|
192
|
-
}
|
|
193
|
-
function k(e2, n2) {
|
|
194
|
-
let t2 = m(e2);
|
|
195
|
-
n2 || (n2 = window.$vueApp.config.globalProperties.projectModel);
|
|
196
|
-
let o2 = "QMS质量管理系统";
|
|
197
|
-
if (window.$locale && "cn" !== window.$locale && (o2 = "QMS Quality Management System"), null == n2 || "developing.model" !== n2) {
|
|
198
|
-
const e3 = t2.substring(0, t2.indexOf("#")), n3 = t2.substring(t2.indexOf("#") + 1, t2.indexOf("?")), i2 = t2.substring(t2.indexOf("?") + 1);
|
|
199
|
-
let r2 = "/jumpPage/jump-page.html?systemFrontUrl=" + e3 + "&routeUrl=" + n3;
|
|
200
|
-
i2 && (r2 += "&" + i2), -1 === r2.indexOf("_systemName_=") && (r2 += "&_systemName_=" + o2), window.open(r2);
|
|
201
|
-
} else
|
|
202
|
-
-1 === t2.indexOf("_systemName_=") && (t2.indexOf("?") > 0 ? t2 += "&_systemName_=" + o2 : t2 += "?_systemName_=" + o2), window.open(t2);
|
|
203
|
-
}
|
|
204
|
-
function B(e2) {
|
|
115
|
+
}, exports.cacheCurrentLanguageUtil = function(t2) {
|
|
205
116
|
return new Promise((n2, i2) => {
|
|
206
|
-
|
|
207
|
-
const r2 =
|
|
208
|
-
if (
|
|
117
|
+
e.getToken() || n2("zh_CN");
|
|
118
|
+
const r2 = e.getLanguage(), s2 = b();
|
|
119
|
+
if (u(s2))
|
|
209
120
|
if (r2 && "undefined" !== r2)
|
|
210
121
|
n2(r2);
|
|
211
122
|
else {
|
|
212
|
-
const
|
|
213
|
-
|
|
123
|
+
const e2 = { systemCode: s2 };
|
|
124
|
+
t2.post(window.$vueApp.config.globalProperties.baseAPI + "/acs/user/i18n-languages", e2).then((e3) => {
|
|
214
125
|
n2(e3.language ? e3.language : "zh_CN");
|
|
215
126
|
}).catch(() => {
|
|
216
127
|
n2("zh_CN");
|
|
217
128
|
});
|
|
218
129
|
}
|
|
219
130
|
else {
|
|
220
|
-
const
|
|
221
|
-
if (false ===
|
|
131
|
+
const e2 = o.default.getEnableI18nState(s2);
|
|
132
|
+
if (false === e2 && r2 && "undefined" !== r2)
|
|
222
133
|
n2(r2);
|
|
223
134
|
else {
|
|
224
|
-
let
|
|
225
|
-
const
|
|
226
|
-
|
|
227
|
-
const t3 =
|
|
228
|
-
if (
|
|
229
|
-
|
|
135
|
+
let i3 = o.default.getLangFileUrl(s2, r2);
|
|
136
|
+
const l2 = { systemCode: s2 };
|
|
137
|
+
i3 && r2 && "undefined" !== r2 && e2 && (l2.checkLastestI18nFile = true, l2.i18nFileVersion = o.default.getI18nFileVersion()), t2.post(window.$vueApp.config.globalProperties.baseAPI + "/acs/user/i18n-languages", l2).then((e3) => {
|
|
138
|
+
const t3 = o.default.getI18nFileVersion();
|
|
139
|
+
if (o.default.setI18nFileVersion(e3.i18nFileVersion), !i3 && e3.i18nFileUrls[e3.language] && (i3 = e3.i18nFileUrls[e3.language] + "?_t_=" + (/* @__PURE__ */ new Date()).getTime(), o.default.setLangFileUrl(s2, e3.language, i3)), t3 && Number(t3) === e3.i18nFileVersion)
|
|
140
|
+
o.default.loadLangFile(s2, i3, r2).then(() => {
|
|
230
141
|
n2(r2);
|
|
231
142
|
}).catch(() => {
|
|
232
143
|
n2(r2);
|
|
233
144
|
});
|
|
234
|
-
else if (
|
|
145
|
+
else if (o.default.setEnableI18nState(s2, !!e3.enableI18n), e3.enableI18n && e3.i18nFileUrls[e3.language]) {
|
|
235
146
|
const t4 = e3.i18nFileUrls[e3.language] + "?_t_=" + (/* @__PURE__ */ new Date()).getTime();
|
|
236
|
-
|
|
147
|
+
o.default.setLangFileUrl(s2, e3.language, t4), o.default.loadLangFile(s2, t4, e3.language).then(() => {
|
|
237
148
|
n2(e3.language);
|
|
238
149
|
}).catch(() => {
|
|
239
150
|
n2(e3.language ? e3.language : "zh_CN");
|
|
@@ -246,195 +157,199 @@ function B(e2) {
|
|
|
246
157
|
}
|
|
247
158
|
}
|
|
248
159
|
});
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
t2 && "_EMPTY_VALUE" === t2 ? e2(o2) : t2 ? (o2 = JSON.parse(t2), D(o2), e2(o2)) : window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/cfg/project-settings").then((n3) => {
|
|
255
|
-
n3 ? (localStorage.setItem("PROJECT_SETTINGS", JSON.stringify(n3)), o2 = n3, D(o2)) : localStorage.setItem("PROJECT_SETTINGS", "_EMPTY_VALUE"), e2(o2);
|
|
160
|
+
}, exports.cacheLangs = f, exports.cachePermissionsWhenLoginWithToken = function(e2, t2) {
|
|
161
|
+
return new Promise((o2, n2) => {
|
|
162
|
+
s.removeAllSystemPermissions(), l.getCurrentUserPermissionsBySystem(e2, t2).then((e3) => {
|
|
163
|
+
let t3 = ["index"];
|
|
164
|
+
t3 = t3.concat(e3), s.setPermissions(t3), o2();
|
|
256
165
|
}).catch((e3) => {
|
|
257
166
|
n2(e3);
|
|
258
167
|
});
|
|
259
168
|
});
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
n2.href || (n2.href = "favicon.svg?t=" + __BUILD_TIME__);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
function J() {
|
|
272
|
-
var e2;
|
|
273
|
-
if (e2 || (e2 = localStorage.getItem("CURRENT_THEME")), !e2)
|
|
274
|
-
return void console.error("皮肤主题为空!");
|
|
275
|
-
const n2 = localStorage.getItem("_baseAPI_");
|
|
276
|
-
if (n2) {
|
|
277
|
-
const t3 = m(n2) + "/component/theme/load-theme?theme=" + e2 + "&_t_=" + (/* @__PURE__ */ new Date()).getTime();
|
|
278
|
-
let o2 = true, i2 = document.getElementById("_loadTheme_");
|
|
279
|
-
i2 || (i2 = document.createElement("link"), o2 = false), i2.rel = "stylesheet", i2.type = "text/css", i2.id = "_loadTheme_", i2.href = t3, o2 || document.getElementsByTagName("head")[0].appendChild(i2);
|
|
280
|
-
}
|
|
281
|
-
const t2 = document.querySelector("body");
|
|
282
|
-
t2 && t2.setAttribute("class", e2);
|
|
283
|
-
}
|
|
284
|
-
function G() {
|
|
285
|
-
return r().replace(/-/g, "");
|
|
286
|
-
}
|
|
287
|
-
function z(e2, ...n2) {
|
|
288
|
-
return e2.replace(/{(\d+)}/g, (e3, t2) => void 0 !== n2[t2] ? n2[t2] : e3);
|
|
289
|
-
}
|
|
290
|
-
function W(e2) {
|
|
291
|
-
const n2 = function() {
|
|
292
|
-
let e3 = i("IS_OPEN_MOBILE_GATEWAY");
|
|
293
|
-
return null == e3 && (e3 = "true"), e3;
|
|
294
|
-
}();
|
|
295
|
-
if ("true" === n2 && void 0 !== e2 && window.$vueApp.config.globalProperties.replaceUrl) {
|
|
296
|
-
const n3 = uswindow.$vueApp.config.globalProperties.baseAPI;
|
|
297
|
-
if ((e2 + "").indexOf(uswindow.$vueApp.config.globalProperties.replaceUrl + "/") < 0 && (e2 + "").indexOf("://") > 0) {
|
|
298
|
-
const t2 = n3.substring(0, n3.indexOf("://")), o2 = n3.substring(n3.indexOf("://") + 3), i2 = t2 + "://" + o2.substring(0, o2.indexOf("/")), r2 = n3.substring(0, n3.indexOf("://"));
|
|
299
|
-
let s2 = e2.substring(e2.indexOf("://") + 3);
|
|
300
|
-
r2 + "://" + s2.substring(0, s2.indexOf("/")) === i2 && (s2 = s2.substring(s2.indexOf("/")), e2 = uswindow.$vueApp.config.globalProperties.replaceUrl + s2);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
return e2;
|
|
304
|
-
}
|
|
305
|
-
function q(e2) {
|
|
306
|
-
return e2 && (e2 = e2.replace("#", "~~").replace("?", "~$").replace("&", "$")), e2;
|
|
307
|
-
}
|
|
308
|
-
function Y() {
|
|
309
|
-
return window.$vueApp.config.globalProperties.currentSystem ? window.$vueApp.config.globalProperties.currentSystem : window.$vueApp.config.globalProperties.systemCode;
|
|
310
|
-
}
|
|
311
|
-
function H(e2) {
|
|
312
|
-
let n2 = false;
|
|
313
|
-
return e2 && "string" == typeof e2.data && e2.data.indexOf("loginTimeout") >= 0 && e2 && "string" == typeof e2.data && e2.data.indexOf("loginTimeout") >= 0 && (n2 = true), n2;
|
|
314
|
-
}
|
|
315
|
-
function Q() {
|
|
316
|
-
return new Promise((e2, n2) => {
|
|
317
|
-
window.$authApi.getSystemCacheUrl() ? e2() : window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/business-systems/without-plate").then((n3) => {
|
|
318
|
-
n3 && window.$authApi.setSystemCacheUrl(n3), e2();
|
|
169
|
+
}, exports.cacheProjectSetting = function() {
|
|
170
|
+
return new Promise((e2, t2) => {
|
|
171
|
+
const o2 = localStorage.getItem("PROJECT_SETTINGS");
|
|
172
|
+
let n2 = null;
|
|
173
|
+
o2 && "_EMPTY_VALUE" === o2 ? e2(n2) : o2 ? (n2 = JSON.parse(o2), m(n2), e2(n2)) : window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/cfg/project-settings").then((t3) => {
|
|
174
|
+
t3 ? (localStorage.setItem("PROJECT_SETTINGS", JSON.stringify(t3)), n2 = t3, m(n2)) : localStorage.setItem("PROJECT_SETTINGS", "_EMPTY_VALUE"), e2(n2);
|
|
175
|
+
}).catch((e3) => {
|
|
176
|
+
t2(e3);
|
|
319
177
|
});
|
|
320
178
|
});
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
|
|
179
|
+
}, exports.cacheSystemUrl = function() {
|
|
180
|
+
return new Promise((e2, t2) => {
|
|
181
|
+
window.$authApi.getSystemCacheUrl() ? e2() : window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/business-systems/without-plate").then((t3) => {
|
|
182
|
+
t3 && window.$authApi.setSystemCacheUrl(t3), e2();
|
|
183
|
+
});
|
|
184
|
+
});
|
|
185
|
+
}, exports.formatDate = function(e2, t2) {
|
|
186
|
+
/(y+)/.test(t2) && (t2 = t2.replace(RegExp.$1, (e2.getFullYear() + "").substr(4 - RegExp.$1.length)));
|
|
187
|
+
const o2 = { "M+": e2.getMonth() + 1, "d+": e2.getDate(), "H+": e2.getHours(), "m+": e2.getMinutes(), "s+": e2.getSeconds() };
|
|
188
|
+
for (const e3 in o2)
|
|
189
|
+
if (new RegExp(`(${e3})`).test(t2)) {
|
|
190
|
+
const n2 = o2[e3] + "";
|
|
191
|
+
t2 = t2.replace(RegExp.$1, 1 === RegExp.$1.length ? n2 : x(n2));
|
|
192
|
+
}
|
|
193
|
+
return t2;
|
|
194
|
+
}, exports.formatFileName = function(e2) {
|
|
195
|
+
return e2 && (e2 = e2.replace("#", "~~").replace("?", "~$").replace("&", "$")), e2;
|
|
196
|
+
}, exports.getAuthSource = h, exports.getCurrentSystemCode = b, exports.getKkFilePreviewUrl = function(e2) {
|
|
338
197
|
e2 += "&isShowWatermark=false";
|
|
339
|
-
let
|
|
340
|
-
let e3 = window.$vueApp.config.globalProperties.kkFileViewUrl,
|
|
341
|
-
if (e3 &&
|
|
342
|
-
let
|
|
343
|
-
i2 === r2[0] + "//" + r2[2] && (
|
|
198
|
+
let t2 = function() {
|
|
199
|
+
let e3 = window.$vueApp.config.globalProperties.kkFileViewUrl, t3 = e3, o2 = window.$vueApp.config.globalProperties.baseURL;
|
|
200
|
+
if (e3 && o2) {
|
|
201
|
+
let n2 = o2.split("/"), i2 = n2[0] + "//" + n2[2], r2 = e3.split("/");
|
|
202
|
+
i2 === r2[0] + "//" + r2[2] && (t3 = a(e3));
|
|
344
203
|
}
|
|
345
|
-
return
|
|
346
|
-
}() + "?url=" + encodeURIComponent(
|
|
347
|
-
return new Promise((e3,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
}).catch((
|
|
351
|
-
console.error("获得水印失败",
|
|
204
|
+
return t3;
|
|
205
|
+
}() + "?url=" + encodeURIComponent(n.Base64.encode(e2));
|
|
206
|
+
return new Promise((e3, o2) => {
|
|
207
|
+
i.getWatermarkSetting().then((o3) => {
|
|
208
|
+
o3 && o3.useRange && o3.useRange.indexOf("annex") >= 0 && (t2 = t2 + "&watermarkTxt=" + o3.content + "&watermarkXSpace=60&watermarkYSpace=100&watermarkWidth=500&watermarkHeight=100"), e3(t2);
|
|
209
|
+
}).catch((o3) => {
|
|
210
|
+
console.error("获得水印失败", o3), e3(t2);
|
|
352
211
|
});
|
|
353
212
|
});
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
const
|
|
357
|
-
|
|
358
|
-
|
|
213
|
+
}, exports.getLangByShort = function(e2) {
|
|
214
|
+
let t2;
|
|
215
|
+
const o2 = w();
|
|
216
|
+
if (o2) {
|
|
217
|
+
t2 = JSON.parse(o2)[e2];
|
|
218
|
+
}
|
|
219
|
+
return t2 || (t2 = "zh_CN"), t2;
|
|
220
|
+
}, exports.getLangs = w, exports.getLocaleByLang = function(e2) {
|
|
221
|
+
return o.default.getLocaleByLang(e2);
|
|
222
|
+
}, exports.getLoginTimeoutUrlInfo = function() {
|
|
223
|
+
const e2 = window.location.href, t2 = P(e2);
|
|
224
|
+
let o2;
|
|
225
|
+
t2 && t2.customSystem && (o2 = t2.customSystem);
|
|
226
|
+
let n2 = { loginTimeout: e2 };
|
|
227
|
+
return o2 && (n2.customSystem = o2), n2;
|
|
228
|
+
}, exports.getLoginUrl = function() {
|
|
229
|
+
return new Promise((e2, t2) => {
|
|
230
|
+
const o2 = window.location.href;
|
|
231
|
+
let n2 = o2, i2 = "", r2 = "";
|
|
232
|
+
if (o2.indexOf("#/") > 0 && o2.indexOf("#/login") < 0) {
|
|
233
|
+
n2 = o2.substring(0, o2.indexOf("#"));
|
|
234
|
+
const e3 = o2.substring(o2.indexOf("#") + 1);
|
|
235
|
+
i2 = e3, e3.indexOf("?") > 0 && (i2 = e3.substring(0, e3.indexOf("?")), r2 = e3.substring(e3.indexOf("?") + 1));
|
|
236
|
+
} else
|
|
237
|
+
n2 = null;
|
|
238
|
+
window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/api/portal-frontend-url").then((t3) => e2(((e3 = "") => {
|
|
239
|
+
let t4 = e3 + "#/login";
|
|
240
|
+
return n2 && (t4 = t4 + "?systemPath=" + n2), i2 && (t4 = t4.indexOf("?") > 0 ? t4 + "&routerPath=" + i2 : t4 + "?routerPath=" + i2), r2 && (t4 = t4.indexOf("?") > 0 ? t4 + "&" + r2 : t4 + "?" + r2), g(t4);
|
|
241
|
+
})(t3))).catch((e3) => {
|
|
242
|
+
t2(e3);
|
|
243
|
+
});
|
|
359
244
|
});
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/(y+)/.test(n2) && (n2 = n2.replace(RegExp.$1, (e2.getFullYear() + "").substr(4 - RegExp.$1.length)));
|
|
363
|
-
const t2 = { "M+": e2.getMonth() + 1, "d+": e2.getDate(), "H+": e2.getHours(), "m+": e2.getMinutes(), "s+": e2.getSeconds() };
|
|
364
|
-
for (const e3 in t2)
|
|
365
|
-
if (new RegExp(`(${e3})`).test(n2)) {
|
|
366
|
-
const o2 = t2[e3] + "";
|
|
367
|
-
n2 = n2.replace(RegExp.$1, 1 === RegExp.$1.length ? o2 : oe(o2));
|
|
368
|
-
}
|
|
369
|
-
return n2;
|
|
370
|
-
}
|
|
371
|
-
function oe(e2) {
|
|
372
|
-
return ("00" + e2).substr(e2.length);
|
|
373
|
-
}
|
|
374
|
-
function ie(e2) {
|
|
375
|
-
const n2 = new Date(e2);
|
|
376
|
-
return !isNaN(n2.getTime());
|
|
377
|
-
}
|
|
378
|
-
function re() {
|
|
379
|
-
const e2 = window.location.href, n2 = Z(e2);
|
|
245
|
+
}, exports.getOrignUrl = function() {
|
|
246
|
+
const e2 = window.location.href;
|
|
380
247
|
let t2;
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}
|
|
385
|
-
|
|
248
|
+
if (e2 && e2.indexOf("/") > 0) {
|
|
249
|
+
const o2 = e2.split("/");
|
|
250
|
+
t2 = o2[0] + "//" + o2[2];
|
|
251
|
+
}
|
|
252
|
+
return t2;
|
|
253
|
+
}, exports.getRelativeBaseUrl = a, exports.getReplaceUrlDomain = function(t2) {
|
|
254
|
+
const o2 = function() {
|
|
255
|
+
let t3 = e.getCookieCache("IS_OPEN_MOBILE_GATEWAY");
|
|
256
|
+
return null == t3 && (t3 = "true"), t3;
|
|
257
|
+
}();
|
|
258
|
+
if ("true" === o2 && void 0 !== t2 && window.$vueApp.config.globalProperties.replaceUrl) {
|
|
259
|
+
const e2 = uswindow.$vueApp.config.globalProperties.baseAPI;
|
|
260
|
+
if ((t2 + "").indexOf(uswindow.$vueApp.config.globalProperties.replaceUrl + "/") < 0 && (t2 + "").indexOf("://") > 0) {
|
|
261
|
+
const o3 = e2.substring(0, e2.indexOf("://")), n2 = e2.substring(e2.indexOf("://") + 3), i2 = o3 + "://" + n2.substring(0, n2.indexOf("/")), r2 = e2.substring(0, e2.indexOf("://"));
|
|
262
|
+
let s2 = t2.substring(t2.indexOf("://") + 3);
|
|
263
|
+
r2 + "://" + s2.substring(0, s2.indexOf("/")) === i2 && (s2 = s2.substring(s2.indexOf("/")), t2 = uswindow.$vueApp.config.globalProperties.replaceUrl + s2);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
return t2;
|
|
267
|
+
}, exports.getServerConfigUtil = function(e2) {
|
|
386
268
|
return new Promise((t2, o2) => {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
}
|
|
391
|
-
|
|
269
|
+
let n2 = "1";
|
|
270
|
+
try {
|
|
271
|
+
__BUILD_TIME__ && (n2 = __BUILD_TIME__);
|
|
272
|
+
} catch (e3) {
|
|
273
|
+
}
|
|
274
|
+
e2.get("./server-config.json?t=" + n2).then((e3) => {
|
|
275
|
+
const o3 = e3;
|
|
276
|
+
for (const e4 in o3)
|
|
277
|
+
window.$vueApp.config.globalProperties[e4] = o3[e4];
|
|
278
|
+
window.$vueApp.config.globalProperties.baseURL = a(window.$vueApp.config.globalProperties.baseURL), window.$vueApp.config.globalProperties.baseAPI = a(window.$vueApp.config.globalProperties.baseAPI), localStorage.setItem("_baseAPI_", window.$vueApp.config.globalProperties.baseAPI), localStorage.setItem("_amb_projectModel_", window.$vueApp.config.globalProperties.projectModel), p(o3), d(o3), t2();
|
|
392
279
|
});
|
|
393
280
|
});
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
281
|
+
}, exports.getSystemBackendUrl = function(e2) {
|
|
282
|
+
return window.$vueApp.config.globalProperties.projectModel && "developing.model" === window.$vueApp.config.globalProperties.projectModel && window.$vueApp.config.globalProperties.baseURL ? window.$vueApp.config.globalProperties.baseURL : a(e2);
|
|
283
|
+
}, exports.getSystemFrontendUrl = function(e2) {
|
|
284
|
+
return window.$vueApp.config.globalProperties.projectModel && "developing.model" === window.$vueApp.config.globalProperties.projectModel && window.$vueApp.config.globalProperties.frontUrl ? window.$vueApp.config.globalProperties.frontUrl : a(e2);
|
|
285
|
+
}, exports.getSystemFrontendUrlWith = function(e2) {
|
|
286
|
+
return window.$vueApp.config.globalProperties.projectModel && "developing.model" === window.$vueApp.config.globalProperties.projectModel ? e2 || window.$vueApp.config.globalProperties.frontUrl : a(e2);
|
|
287
|
+
}, exports.getTimeZone = function() {
|
|
288
|
+
const e2 = /* @__PURE__ */ new Date() + "";
|
|
289
|
+
let t2 = "";
|
|
290
|
+
if (e2.indexOf("GMT") > 0) {
|
|
291
|
+
const o2 = e2.substring(e2.indexOf("GMT") + 3, e2.indexOf("(")).trim();
|
|
292
|
+
t2 = "UTC" + o2.substring(0, o2.length - 2) + ":" + o2.substring(o2.length - 2);
|
|
293
|
+
} else
|
|
294
|
+
e2.indexOf("UTC") > 0 && (t2 = "UTC" + e2.substring(e2.indexOf("UTC") + 3, e2.indexOf("(")).trim());
|
|
295
|
+
return t2;
|
|
296
|
+
}, exports.getURLSearchParamObj = P, exports.getUuidv4 = function() {
|
|
297
|
+
return t.v4().replace(/-/g, "");
|
|
298
|
+
}, exports.insertFontIconCss = p, exports.insertThirdLoginJs = d, exports.isDingTalkEnv = function() {
|
|
299
|
+
const e2 = h();
|
|
300
|
+
return !!(e2 && "dingtalk" === e2 && window.top && window.top.$dd);
|
|
301
|
+
}, exports.isLogoutTimeout = function(e2) {
|
|
302
|
+
let t2 = false;
|
|
303
|
+
return e2 && "string" == typeof e2.data && e2.data.indexOf("loginTimeout") >= 0 && e2 && "string" == typeof e2.data && e2.data.indexOf("loginTimeout") >= 0 && (t2 = true), t2;
|
|
304
|
+
}, exports.isMobileBrowser = function() {
|
|
305
|
+
return navigator.userAgent, navigator.maxTouchPoints, !!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Opera Mobi|Windows CE|Symbian|Windows Phone|POLARIS|lgtelecom|nokia|SonyEricsson|LG|SAMSUNG|Samsung|Mobile/i.test(navigator.userAgent) || !!(/Macintosh/i.test(navigator.userAgent) && void 0 !== navigator.maxTouchPoints && navigator.maxTouchPoints >= 1);
|
|
306
|
+
}, exports.isPlateSys = u, exports.isPromise = function(e2) {
|
|
307
|
+
return e2 && "[object Promise]" === Object.prototype.toString.call(e2);
|
|
308
|
+
}, exports.isShowMenuRoute = function() {
|
|
309
|
+
let e2 = window.$vueApp.config.globalProperties.showMenuRoute;
|
|
310
|
+
return void 0 === e2 && (e2 = "false"), "true" === e2;
|
|
311
|
+
}, exports.isShowSystemMenu = function() {
|
|
312
|
+
let e2 = window.$vueApp.config.globalProperties.showSystemMenu;
|
|
313
|
+
return void 0 === e2 && (e2 = "false"), "true" === e2;
|
|
314
|
+
}, exports.isValidDate = function(e2) {
|
|
315
|
+
const t2 = new Date(e2);
|
|
316
|
+
return !isNaN(t2.getTime());
|
|
317
|
+
}, exports.loadCSS = function() {
|
|
318
|
+
var e2;
|
|
319
|
+
if (e2 || (e2 = localStorage.getItem("CURRENT_THEME")), !e2)
|
|
320
|
+
return void console.error("皮肤主题为空!");
|
|
321
|
+
const t2 = localStorage.getItem("_baseAPI_");
|
|
322
|
+
if (t2) {
|
|
323
|
+
const o3 = g(t2) + "/component/theme/load-theme?theme=" + e2 + "&_t_=" + (/* @__PURE__ */ new Date()).getTime();
|
|
324
|
+
let n2 = true, i2 = document.getElementById("_loadTheme_");
|
|
325
|
+
i2 || (i2 = document.createElement("link"), n2 = false), i2.rel = "stylesheet", i2.type = "text/css", i2.id = "_loadTheme_", i2.href = o3, n2 || document.getElementsByTagName("head")[0].appendChild(i2);
|
|
326
|
+
}
|
|
327
|
+
const o2 = document.querySelector("body");
|
|
328
|
+
o2 && o2.setAttribute("class", e2);
|
|
329
|
+
}, exports.pushCustomControlValidatorRef = function(e2, t2, o2) {
|
|
330
|
+
window.customValidatorRef || (window.customValidatorRef = /* @__PURE__ */ new Map());
|
|
331
|
+
let n2 = window.customValidatorRef.get(e2);
|
|
332
|
+
n2 || (n2 = /* @__PURE__ */ new Map(), window.customValidatorRef.set(e2, n2)), n2.set(t2, o2);
|
|
333
|
+
}, exports.removeCustomControlValidatorRef = function(e2, t2) {
|
|
334
|
+
if (window.customValidatorRef) {
|
|
335
|
+
const o2 = window.customValidatorRef.get(e2);
|
|
336
|
+
o2 && o2.delete(t2);
|
|
337
|
+
}
|
|
338
|
+
}, exports.replacePlaceholders = function(e2, ...t2) {
|
|
339
|
+
return e2.replace(/{(\d+)}/g, (e3, o2) => void 0 !== t2[o2] ? t2[o2] : e3);
|
|
340
|
+
}, exports.replacePrefix = g, exports.setCustomSystemBackendUrl = function(e2) {
|
|
341
|
+
if (!window.$vueApp.config.globalProperties.projectModel || "developing.model" !== window.$vueApp.config.globalProperties.projectModel) {
|
|
342
|
+
const t2 = window.$authApi.getSystemCacheUrlByCode(e2);
|
|
343
|
+
t2 && (window.$vueApp.config.globalProperties.baseURL = a(t2));
|
|
344
|
+
}
|
|
345
|
+
}, exports.windowOpenUrl = function(e2, t2) {
|
|
346
|
+
let o2 = g(e2);
|
|
347
|
+
t2 || (t2 = window.$vueApp.config.globalProperties.projectModel);
|
|
348
|
+
let n2 = "QMS质量管理系统";
|
|
349
|
+
if (window.$locale && "cn" !== window.$locale && (n2 = "QMS Quality Management System"), null == t2 || "developing.model" !== t2) {
|
|
350
|
+
const e3 = o2.substring(0, o2.indexOf("#")), t3 = o2.substring(o2.indexOf("#") + 1, o2.indexOf("?")), i2 = o2.substring(o2.indexOf("?") + 1);
|
|
351
|
+
let r2 = "/jumpPage/jump-page.html?systemFrontUrl=" + e3 + "&routeUrl=" + t3;
|
|
352
|
+
i2 && (r2 += "&" + i2), -1 === r2.indexOf("_systemName_=") && (r2 += "&_systemName_=" + n2), window.open(r2);
|
|
353
|
+
} else
|
|
354
|
+
-1 === o2.indexOf("_systemName_=") && (o2.indexOf("?") > 0 ? o2 += "&_systemName_=" + n2 : o2 += "?_systemName_=" + n2), window.open(o2);
|
|
440
355
|
};
|