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