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,362 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), require("vue");
|
|
3
|
-
const e = require("./auth.cjs"), t = require("uuid"), o = require("./i18n-util.cjs"), n = require("js-base64"), i = require("./watermark.cjs"), r = require("./global-prop.cjs"), s = require("./permissionAuth.cjs"), l = require("../api/sso-service.cjs");
|
|
4
|
-
function a(e2) {
|
|
5
|
-
if (!e2)
|
|
6
|
-
return e2;
|
|
7
|
-
if (void 0 === window.$vueApp.config.globalProperties.projectModel || "developing.model" !== window.$vueApp.config.globalProperties.projectModel) {
|
|
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);
|
|
15
|
-
}
|
|
16
|
-
return t2.lastIndexOf("/") === t2.length - 1 && (t2 = t2.substring(0, t2.lastIndexOf("/"))), o2 ? t2 + o2 : t2;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return e2;
|
|
20
|
-
}
|
|
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;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function g(e2) {
|
|
31
|
-
if (void 0 === window.$vueApp.config.globalProperties.projectModel || "developing.model" !== window.$vueApp.config.globalProperties.projectModel) {
|
|
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;
|
|
39
|
-
}
|
|
40
|
-
return o2;
|
|
41
|
-
}
|
|
42
|
-
return e2;
|
|
43
|
-
}
|
|
44
|
-
function u(e2) {
|
|
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);
|
|
46
|
-
}
|
|
47
|
-
function p(e2) {
|
|
48
|
-
if (!window.insertCssFile)
|
|
49
|
-
return;
|
|
50
|
-
e2 || (e2 = window.$vueApp.config.globalProperties);
|
|
51
|
-
let t2 = "1";
|
|
52
|
-
try {
|
|
53
|
-
__BUILD_TIME__ && (t2 = __BUILD_TIME__);
|
|
54
|
-
} catch (e3) {
|
|
55
|
-
}
|
|
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}`);
|
|
57
|
-
}
|
|
58
|
-
function d(e2) {
|
|
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")));
|
|
60
|
-
}
|
|
61
|
-
function f(t2) {
|
|
62
|
-
let o2;
|
|
63
|
-
return t2 && (o2 = JSON.stringify(t2)), e.setAllLanguages(o2);
|
|
64
|
-
}
|
|
65
|
-
function w() {
|
|
66
|
-
return e.getAllLanguages();
|
|
67
|
-
}
|
|
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__);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
function h() {
|
|
79
|
-
return window.$vueApp.config.globalProperties.currentSystem ? window.$vueApp.config.globalProperties.currentSystem : window.$vueApp.config.globalProperties.systemCode;
|
|
80
|
-
}
|
|
81
|
-
function b() {
|
|
82
|
-
return new Promise((e2, t2) => {
|
|
83
|
-
window.$authApi.getSystemCacheUrl() ? e2() : window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/business-systems/without-plate").then((t3) => {
|
|
84
|
-
t3 && window.$authApi.setSystemCacheUrl(t3), e2();
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
function P() {
|
|
89
|
-
return window.localStorage.getItem("auth_source");
|
|
90
|
-
}
|
|
91
|
-
function x(e2) {
|
|
92
|
-
try {
|
|
93
|
-
const t2 = e2.includes("#") ? e2.split("#")[1] : e2, o2 = t2.includes("?") ? t2.split("?")[1] : t2, n2 = new URLSearchParams(o2);
|
|
94
|
-
return Object.fromEntries(n2);
|
|
95
|
-
} catch (e3) {
|
|
96
|
-
console.error("error===", e3);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
function A(e2) {
|
|
100
|
-
return ("00" + e2).substr(e2.length);
|
|
101
|
-
}
|
|
102
|
-
exports.cacheAllEnableGlobalPropUtil = function() {
|
|
103
|
-
const e2 = localStorage.getItem(r.GLOBAL_PROP.loadState);
|
|
104
|
-
e2 && "true" === e2 || window.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/common/prop-setting").then((e3) => {
|
|
105
|
-
e3 && r.cacheAllGlobalPropCache(e3);
|
|
106
|
-
});
|
|
107
|
-
}, exports.cacheAllLanguagesUtil = function(t2) {
|
|
108
|
-
return new Promise((o2, n2) => {
|
|
109
|
-
if (e.getToken()) {
|
|
110
|
-
const n3 = w();
|
|
111
|
-
n3 ? (e.setAllLanguages(n3), o2()) : t2.get(window.$vueApp.config.globalProperties.baseAPI + "/component/all-languages").then((e2) => {
|
|
112
|
-
const t3 = {};
|
|
113
|
-
e2 && e2.forEach((e3) => {
|
|
114
|
-
const o3 = e3.value;
|
|
115
|
-
let n4;
|
|
116
|
-
o3.indexOf("_") > 0 && (n4 = o3.substring(0, o3.indexOf("_"))), n4 && "zh" === n4 && (n4 = "cn"), n4 && (t3[n4] = o3);
|
|
117
|
-
}), f(t3), o2();
|
|
118
|
-
});
|
|
119
|
-
} else
|
|
120
|
-
o2();
|
|
121
|
-
});
|
|
122
|
-
}, exports.cacheCurrentLanguageUtil = function(t2) {
|
|
123
|
-
return new Promise((n2, i2) => {
|
|
124
|
-
e.getToken() || n2("zh_CN");
|
|
125
|
-
const r2 = e.getLanguage(), s2 = h();
|
|
126
|
-
if (u(s2))
|
|
127
|
-
if (r2 && "undefined" !== r2)
|
|
128
|
-
n2(r2);
|
|
129
|
-
else {
|
|
130
|
-
const e2 = { systemCode: s2 };
|
|
131
|
-
t2.post(window.$vueApp.config.globalProperties.baseAPI + "/acs/user/i18n-languages", e2).then((e3) => {
|
|
132
|
-
n2(e3.language ? e3.language : "zh_CN");
|
|
133
|
-
}).catch(() => {
|
|
134
|
-
n2("zh_CN");
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
const e2 = o.default.getEnableI18nState(s2);
|
|
139
|
-
if (false === e2 && r2 && "undefined" !== r2)
|
|
140
|
-
n2(r2);
|
|
141
|
-
else {
|
|
142
|
-
let i3 = o.default.getLangFileUrl(s2, r2);
|
|
143
|
-
const l2 = { systemCode: s2 };
|
|
144
|
-
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) => {
|
|
145
|
-
const t3 = o.default.getI18nFileVersion();
|
|
146
|
-
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)
|
|
147
|
-
o.default.loadLangFile(s2, i3, r2).then(() => {
|
|
148
|
-
n2(r2);
|
|
149
|
-
}).catch(() => {
|
|
150
|
-
n2(r2);
|
|
151
|
-
});
|
|
152
|
-
else if (o.default.setEnableI18nState(s2, !!e3.enableI18n), e3.enableI18n && e3.i18nFileUrls[e3.language]) {
|
|
153
|
-
const t4 = e3.i18nFileUrls[e3.language] + "?_t_=" + (/* @__PURE__ */ new Date()).getTime();
|
|
154
|
-
o.default.setLangFileUrl(s2, e3.language, t4), o.default.loadLangFile(s2, t4, e3.language).then(() => {
|
|
155
|
-
n2(e3.language);
|
|
156
|
-
}).catch(() => {
|
|
157
|
-
n2(e3.language ? e3.language : "zh_CN");
|
|
158
|
-
});
|
|
159
|
-
} else
|
|
160
|
-
n2(e3.language);
|
|
161
|
-
}).catch(() => {
|
|
162
|
-
n2("zh_CN");
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
}, exports.cacheLangs = f, exports.cachePermissionsWhenLoginWithToken = function(e2, t2) {
|
|
168
|
-
return new Promise((o2, n2) => {
|
|
169
|
-
s.removeAllSystemPermissions(), l.getCurrentUserPermissionsBySystem(e2, t2).then((e3) => {
|
|
170
|
-
let t3 = ["index"];
|
|
171
|
-
t3 = t3.concat(e3), s.setPermissions(t3), o2();
|
|
172
|
-
}).catch((e3) => {
|
|
173
|
-
n2(e3);
|
|
174
|
-
});
|
|
175
|
-
});
|
|
176
|
-
}, exports.cacheProjectSetting = function() {
|
|
177
|
-
return new Promise((e2, t2) => {
|
|
178
|
-
const o2 = localStorage.getItem("PROJECT_SETTINGS");
|
|
179
|
-
let n2 = null;
|
|
180
|
-
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) => {
|
|
181
|
-
t3 ? (localStorage.setItem("PROJECT_SETTINGS", JSON.stringify(t3)), n2 = t3, m(n2)) : localStorage.setItem("PROJECT_SETTINGS", "_EMPTY_VALUE"), e2(n2);
|
|
182
|
-
}).catch((e3) => {
|
|
183
|
-
t2(e3);
|
|
184
|
-
});
|
|
185
|
-
});
|
|
186
|
-
}, exports.cacheSystemUrl = b, exports.formatDate = function(e2, t2) {
|
|
187
|
-
/(y+)/.test(t2) && (t2 = t2.replace(RegExp.$1, (e2.getFullYear() + "").substr(4 - RegExp.$1.length)));
|
|
188
|
-
const o2 = { "M+": e2.getMonth() + 1, "d+": e2.getDate(), "H+": e2.getHours(), "m+": e2.getMinutes(), "s+": e2.getSeconds() };
|
|
189
|
-
for (const e3 in o2)
|
|
190
|
-
if (new RegExp(`(${e3})`).test(t2)) {
|
|
191
|
-
const n2 = o2[e3] + "";
|
|
192
|
-
t2 = t2.replace(RegExp.$1, 1 === RegExp.$1.length ? n2 : A(n2));
|
|
193
|
-
}
|
|
194
|
-
return t2;
|
|
195
|
-
}, exports.formatFileName = function(e2) {
|
|
196
|
-
return e2 && (e2 = e2.replace("#", "~~").replace("?", "~$").replace("&", "$")), e2;
|
|
197
|
-
}, exports.getAuthSource = P, exports.getCacheSystemUrlWithSystemCode = function(e2) {
|
|
198
|
-
return new Promise((t2, o2) => {
|
|
199
|
-
window.$authApi.getSystemCacheUrl() ? t2(window.$authApi.getSystemCacheFrontendUrlByCode(e2)) : b().then(() => {
|
|
200
|
-
t2(window.$authApi.getSystemCacheFrontendUrlByCode(e2));
|
|
201
|
-
});
|
|
202
|
-
});
|
|
203
|
-
}, exports.getCurrentSystemCode = h, exports.getKkFilePreviewUrl = function(e2) {
|
|
204
|
-
e2 += "&isShowWatermark=false";
|
|
205
|
-
let t2 = function() {
|
|
206
|
-
let e3 = window.$vueApp.config.globalProperties.kkFileViewUrl, t3 = e3, o2 = window.$vueApp.config.globalProperties.baseURL;
|
|
207
|
-
if (e3 && o2) {
|
|
208
|
-
let n2 = o2.split("/"), i2 = n2[0] + "//" + n2[2], r2 = e3.split("/");
|
|
209
|
-
i2 === r2[0] + "//" + r2[2] && (t3 = a(e3));
|
|
210
|
-
}
|
|
211
|
-
return t3;
|
|
212
|
-
}() + "?url=" + encodeURIComponent(n.Base64.encode(e2));
|
|
213
|
-
return new Promise((e3, o2) => {
|
|
214
|
-
i.getWatermarkSetting().then((o3) => {
|
|
215
|
-
o3 && o3.useRange && o3.useRange.indexOf("annex") >= 0 && (t2 = t2 + "&watermarkTxt=" + o3.content + "&watermarkXSpace=60&watermarkYSpace=100&watermarkWidth=500&watermarkHeight=100"), e3(t2);
|
|
216
|
-
}).catch((o3) => {
|
|
217
|
-
console.error("获得水印失败", o3), e3(t2);
|
|
218
|
-
});
|
|
219
|
-
});
|
|
220
|
-
}, exports.getLangByShort = function(e2) {
|
|
221
|
-
let t2;
|
|
222
|
-
const o2 = w();
|
|
223
|
-
if (o2) {
|
|
224
|
-
t2 = JSON.parse(o2)[e2];
|
|
225
|
-
}
|
|
226
|
-
return t2 || (t2 = "zh_CN"), t2;
|
|
227
|
-
}, exports.getLangs = w, exports.getLocaleByLang = function(e2) {
|
|
228
|
-
return o.default.getLocaleByLang(e2);
|
|
229
|
-
}, exports.getLoginTimeoutUrlInfo = function() {
|
|
230
|
-
const e2 = window.location.href, t2 = x(e2);
|
|
231
|
-
let o2;
|
|
232
|
-
t2 && t2.customSystem && (o2 = t2.customSystem);
|
|
233
|
-
let n2 = { loginTimeout: e2 };
|
|
234
|
-
return o2 && (n2.customSystem = o2), n2;
|
|
235
|
-
}, exports.getLoginUrl = function() {
|
|
236
|
-
return new Promise((e2, t2) => {
|
|
237
|
-
const o2 = window.location.href;
|
|
238
|
-
let n2 = o2, i2 = "", r2 = "";
|
|
239
|
-
if (o2.indexOf("#/") > 0 && o2.indexOf("#/login") < 0) {
|
|
240
|
-
n2 = o2.substring(0, o2.indexOf("#"));
|
|
241
|
-
const e3 = o2.substring(o2.indexOf("#") + 1);
|
|
242
|
-
i2 = e3, e3.indexOf("?") > 0 && (i2 = e3.substring(0, e3.indexOf("?")), r2 = e3.substring(e3.indexOf("?") + 1));
|
|
243
|
-
} else
|
|
244
|
-
n2 = null;
|
|
245
|
-
window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/api/portal-frontend-url").then((t3) => e2(((e3 = "") => {
|
|
246
|
-
let t4 = e3 + "#/login";
|
|
247
|
-
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);
|
|
248
|
-
})(t3))).catch((e3) => {
|
|
249
|
-
t2(e3);
|
|
250
|
-
});
|
|
251
|
-
});
|
|
252
|
-
}, exports.getOrignUrl = function() {
|
|
253
|
-
const e2 = window.location.href;
|
|
254
|
-
let t2;
|
|
255
|
-
if (e2 && e2.indexOf("/") > 0) {
|
|
256
|
-
const o2 = e2.split("/");
|
|
257
|
-
t2 = o2[0] + "//" + o2[2];
|
|
258
|
-
}
|
|
259
|
-
return t2;
|
|
260
|
-
}, exports.getRelativeBaseUrl = a, exports.getReplaceUrlDomain = function(t2) {
|
|
261
|
-
const o2 = function() {
|
|
262
|
-
let t3 = e.getCookieCache("IS_OPEN_MOBILE_GATEWAY");
|
|
263
|
-
return null == t3 && (t3 = "true"), t3;
|
|
264
|
-
}();
|
|
265
|
-
if ("true" === o2 && void 0 !== t2 && window.$vueApp.config.globalProperties.replaceUrl) {
|
|
266
|
-
const e2 = uswindow.$vueApp.config.globalProperties.baseAPI;
|
|
267
|
-
if ((t2 + "").indexOf(uswindow.$vueApp.config.globalProperties.replaceUrl + "/") < 0 && (t2 + "").indexOf("://") > 0) {
|
|
268
|
-
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("://"));
|
|
269
|
-
let s2 = t2.substring(t2.indexOf("://") + 3);
|
|
270
|
-
r2 + "://" + s2.substring(0, s2.indexOf("/")) === i2 && (s2 = s2.substring(s2.indexOf("/")), t2 = uswindow.$vueApp.config.globalProperties.replaceUrl + s2);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
return t2;
|
|
274
|
-
}, exports.getServerConfigUtil = function(e2) {
|
|
275
|
-
return new Promise((t2, o2) => {
|
|
276
|
-
let n2 = "1";
|
|
277
|
-
try {
|
|
278
|
-
__BUILD_TIME__ && (n2 = __BUILD_TIME__);
|
|
279
|
-
} catch (e3) {
|
|
280
|
-
}
|
|
281
|
-
e2.get("./server-config.json?t=" + n2).then((e3) => {
|
|
282
|
-
const o3 = e3;
|
|
283
|
-
for (const e4 in o3)
|
|
284
|
-
window.$vueApp.config.globalProperties[e4] = o3[e4];
|
|
285
|
-
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();
|
|
286
|
-
});
|
|
287
|
-
});
|
|
288
|
-
}, exports.getSystemBackendUrl = function(e2) {
|
|
289
|
-
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);
|
|
290
|
-
}, exports.getSystemFrontendUrl = function(e2) {
|
|
291
|
-
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);
|
|
292
|
-
}, exports.getSystemFrontendUrlWith = function(e2) {
|
|
293
|
-
return window.$vueApp.config.globalProperties.projectModel && "developing.model" === window.$vueApp.config.globalProperties.projectModel ? e2 || window.$vueApp.config.globalProperties.frontUrl : a(e2);
|
|
294
|
-
}, exports.getTimeZone = function() {
|
|
295
|
-
const e2 = /* @__PURE__ */ new Date() + "";
|
|
296
|
-
let t2 = "";
|
|
297
|
-
if (e2.indexOf("GMT") > 0) {
|
|
298
|
-
const o2 = e2.substring(e2.indexOf("GMT") + 3, e2.indexOf("(")).trim();
|
|
299
|
-
t2 = "UTC" + o2.substring(0, o2.length - 2) + ":" + o2.substring(o2.length - 2);
|
|
300
|
-
} else
|
|
301
|
-
e2.indexOf("UTC") > 0 && (t2 = "UTC" + e2.substring(e2.indexOf("UTC") + 3, e2.indexOf("(")).trim());
|
|
302
|
-
return t2;
|
|
303
|
-
}, exports.getURLSearchParamObj = x, exports.getUuidv4 = function() {
|
|
304
|
-
return t.v4().replace(/-/g, "");
|
|
305
|
-
}, exports.insertFontIconCss = p, exports.insertThirdLoginJs = d, exports.isDingTalkEnv = function() {
|
|
306
|
-
const e2 = P();
|
|
307
|
-
return !!(e2 && "dingtalk" === e2 && window.top && window.top.$dd);
|
|
308
|
-
}, exports.isLogoutTimeout = function(e2) {
|
|
309
|
-
let t2 = false;
|
|
310
|
-
return e2 && "string" == typeof e2.data && e2.data.indexOf("loginTimeout") >= 0 && e2 && "string" == typeof e2.data && e2.data.indexOf("loginTimeout") >= 0 && (t2 = true), t2;
|
|
311
|
-
}, exports.isMobileBrowser = function() {
|
|
312
|
-
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);
|
|
313
|
-
}, exports.isPlateSys = u, exports.isPromise = function(e2) {
|
|
314
|
-
return e2 && "[object Promise]" === Object.prototype.toString.call(e2);
|
|
315
|
-
}, exports.isShowMenuRoute = function() {
|
|
316
|
-
let e2 = window.$vueApp.config.globalProperties.showMenuRoute;
|
|
317
|
-
return void 0 === e2 && (e2 = "false"), "true" === e2;
|
|
318
|
-
}, exports.isShowSystemMenu = function() {
|
|
319
|
-
let e2 = window.$vueApp.config.globalProperties.showSystemMenu;
|
|
320
|
-
return void 0 === e2 && (e2 = "false"), "true" === e2;
|
|
321
|
-
}, exports.isValidDate = function(e2) {
|
|
322
|
-
const t2 = new Date(e2);
|
|
323
|
-
return !isNaN(t2.getTime());
|
|
324
|
-
}, exports.loadCSS = function() {
|
|
325
|
-
var e2;
|
|
326
|
-
if (e2 || (e2 = localStorage.getItem("CURRENT_THEME")), !e2)
|
|
327
|
-
return void console.error("皮肤主题为空!");
|
|
328
|
-
const t2 = localStorage.getItem("_baseAPI_");
|
|
329
|
-
if (t2) {
|
|
330
|
-
const o3 = g(t2) + "/component/theme/load-theme?theme=" + e2 + "&_t_=" + (/* @__PURE__ */ new Date()).getTime();
|
|
331
|
-
let n2 = true, i2 = document.getElementById("_loadTheme_");
|
|
332
|
-
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);
|
|
333
|
-
}
|
|
334
|
-
const o2 = document.querySelector("body");
|
|
335
|
-
o2 && o2.setAttribute("class", e2);
|
|
336
|
-
}, exports.pushCustomControlValidatorRef = function(e2, t2, o2) {
|
|
337
|
-
window.customValidatorRef || (window.customValidatorRef = /* @__PURE__ */ new Map());
|
|
338
|
-
let n2 = window.customValidatorRef.get(e2);
|
|
339
|
-
n2 || (n2 = /* @__PURE__ */ new Map(), window.customValidatorRef.set(e2, n2)), n2.set(t2, o2);
|
|
340
|
-
}, exports.removeCustomControlValidatorRef = function(e2, t2) {
|
|
341
|
-
if (window.customValidatorRef) {
|
|
342
|
-
const o2 = window.customValidatorRef.get(e2);
|
|
343
|
-
o2 && o2.delete(t2);
|
|
344
|
-
}
|
|
345
|
-
}, exports.replacePlaceholders = function(e2, ...t2) {
|
|
346
|
-
return e2.replace(/{(\d+)}/g, (e3, o2) => void 0 !== t2[o2] ? t2[o2] : e3);
|
|
347
|
-
}, exports.replacePrefix = g, exports.setCustomSystemBackendUrl = function(e2) {
|
|
348
|
-
if (!window.$vueApp.config.globalProperties.projectModel || "developing.model" !== window.$vueApp.config.globalProperties.projectModel) {
|
|
349
|
-
const t2 = window.$authApi.getSystemCacheUrlByCode(e2);
|
|
350
|
-
t2 && (window.$vueApp.config.globalProperties.baseURL = a(t2));
|
|
351
|
-
}
|
|
352
|
-
}, exports.windowOpenUrl = function(e2, t2) {
|
|
353
|
-
let o2 = g(e2);
|
|
354
|
-
t2 || (t2 = window.$vueApp.config.globalProperties.projectModel);
|
|
355
|
-
let n2 = "QMS质量管理系统";
|
|
356
|
-
if (window.$locale && "cn" !== window.$locale && (n2 = "QMS Quality Management System"), null == t2 || "developing.model" !== t2) {
|
|
357
|
-
const e3 = o2.substring(0, o2.indexOf("#")), t3 = o2.substring(o2.indexOf("#") + 1, o2.indexOf("?")), i2 = o2.substring(o2.indexOf("?") + 1);
|
|
358
|
-
let r2 = "/jumpPage/jump-page.html?systemFrontUrl=" + e3 + "&routeUrl=" + t3;
|
|
359
|
-
i2 && (r2 += "&" + i2), -1 === r2.indexOf("_systemName_=") && (r2 += "&_systemName_=" + n2), window.open(r2);
|
|
360
|
-
} else
|
|
361
|
-
-1 === o2.indexOf("_systemName_=") && (o2.indexOf("?") > 0 ? o2 += "&_systemName_=" + n2 : o2 += "?_systemName_=" + n2), window.open(o2);
|
|
362
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const o = ["amb-color-icon-XLS", "amb-color-icon-XLSX", "amb-color-icon-DOC", "amb-color-icon-DOCX", "amb-color-icon-PPT", "amb-color-icon-PDF", "amb-color-icon-TXT", "amb-color-icon-JPG", "amb-color-icon-PNG", "amb-color-icon-ZIP", "amb-color-icon-AVI", "amb-color-icon-MP4", "amb-color-icon-qita"];
|
|
4
|
-
exports.getFileIconByName = function(c) {
|
|
5
|
-
const r = "amb-color-icon-qita";
|
|
6
|
-
if (!c)
|
|
7
|
-
return r;
|
|
8
|
-
let n = c.substring(c.lastIndexOf(".") + 1);
|
|
9
|
-
if (!n)
|
|
10
|
-
return r;
|
|
11
|
-
switch (n) {
|
|
12
|
-
case "xlsx":
|
|
13
|
-
n = "XLS";
|
|
14
|
-
break;
|
|
15
|
-
case "docx":
|
|
16
|
-
n = "DOC";
|
|
17
|
-
case "pptx":
|
|
18
|
-
n = "PPT";
|
|
19
|
-
}
|
|
20
|
-
const i = "amb-color-icon-" + n.toUpperCase();
|
|
21
|
-
return o.includes(i) ? i : r;
|
|
22
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = { loadState: "GLOBAL_PROP_LOAD_STATE", CAN_SHOW_ORG_TREE: "global-show-org-tree", PORTAL_CHART_LAYOUT_COL: "portal-chart-layout-col" };
|
|
4
|
-
exports.GLOBAL_PROP = e, exports.cacheAllGlobalPropCache = function(o) {
|
|
5
|
-
for (const e2 in o)
|
|
6
|
-
localStorage.setItem(e2, o[e2]);
|
|
7
|
-
localStorage.setItem(e.loadState, "true");
|
|
8
|
-
}, exports.cacheCanShowOrgTree = function(o) {
|
|
9
|
-
localStorage.setItem(e.CAN_SHOW_ORG_TREE, o);
|
|
10
|
-
}, exports.cacheGlobalProp = function(e2, o) {
|
|
11
|
-
localStorage.setItem(e2, o);
|
|
12
|
-
}, exports.getCanShowOrgTree = function() {
|
|
13
|
-
return localStorage.getItem(e.CAN_SHOW_ORG_TREE);
|
|
14
|
-
}, exports.getGlobalProp = function(e2) {
|
|
15
|
-
return localStorage.getItem(e2);
|
|
16
|
-
}, exports.removeAllGlobalPropCache = function() {
|
|
17
|
-
localStorage.removeItem(e.loadState), localStorage.removeItem(e.CAN_SHOW_ORG_TREE), localStorage.removeItem(e.PORTAL_CHART_LAYOUT_COL);
|
|
18
|
-
}, exports.removeCanShowOrgTree = function() {
|
|
19
|
-
localStorage.removeItem(e.CAN_SHOW_ORG_TREE);
|
|
20
|
-
}, exports.removeGlobalProp = function(e2) {
|
|
21
|
-
localStorage.removeItem(e2);
|
|
22
|
-
};
|
package/lib/src/utils/guid.cjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
function t(t2, e, s, r) {
|
|
3
|
-
return (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
|
|
4
|
-
}
|
|
5
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), exports.getGuId = function(e = "{s}{s}-{s}-{s}-{s}-{s}{s}{s}") {
|
|
6
|
-
return e.replace(/{(y|m|d|h|i|s|a)+}/g, t);
|
|
7
|
-
}, exports.getS4 = t;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const e = require("axios");
|
|
4
|
-
function n(e2, n2, t2) {
|
|
5
|
-
let o2 = s("i18nFileUrls");
|
|
6
|
-
o2 || (o2 = {}), o2[e2 + "_" + n2] = t2, window.localStorage.setItem("i18nFileUrls", JSON.stringify(o2));
|
|
7
|
-
}
|
|
8
|
-
function t(e2, n2) {
|
|
9
|
-
const t2 = s("i18nFileUrls");
|
|
10
|
-
return t2 ? t2[e2 + "_" + n2] : null;
|
|
11
|
-
}
|
|
12
|
-
function o(e2, n2) {
|
|
13
|
-
const t2 = s("i18nFileUrls");
|
|
14
|
-
t2 && (delete t2[e2 + "_" + n2], window.localStorage.setItem("i18nFileUrls", JSON.stringify(t2)));
|
|
15
|
-
}
|
|
16
|
-
function l(e2, n2) {
|
|
17
|
-
let t2 = {};
|
|
18
|
-
const o2 = s("enableI18nSystem");
|
|
19
|
-
o2 && (t2 = o2), t2[e2] = !!n2, window.localStorage.setItem("enableI18nSystem", JSON.stringify(t2));
|
|
20
|
-
}
|
|
21
|
-
function i(e2) {
|
|
22
|
-
const n2 = s("enableI18nSystem");
|
|
23
|
-
return n2 ? n2[e2] : null;
|
|
24
|
-
}
|
|
25
|
-
function a() {
|
|
26
|
-
window.localStorage.removeItem("enableI18nSystem");
|
|
27
|
-
}
|
|
28
|
-
function r() {
|
|
29
|
-
const e2 = s("enableI18nSystem");
|
|
30
|
-
e2 && (delete e2[getCurrentSystemCode()], window.localStorage.setItem("enableI18nSystem", JSON.stringify(e2)));
|
|
31
|
-
}
|
|
32
|
-
function s(e2) {
|
|
33
|
-
const n2 = window.localStorage.getItem(e2);
|
|
34
|
-
return n2 ? JSON.parse(n2) : null;
|
|
35
|
-
}
|
|
36
|
-
function g(e2) {
|
|
37
|
-
let n2 = "cn";
|
|
38
|
-
if (e2 && e2.indexOf("_") > 0) {
|
|
39
|
-
n2 = e2.substring(0, e2.indexOf("_"));
|
|
40
|
-
}
|
|
41
|
-
return "zh" === n2 && (n2 = "cn"), n2;
|
|
42
|
-
}
|
|
43
|
-
const c = { setLangFileUrl: n, getLangFileUrl: t, removeLangFileUrl: o, setEnableI18nState: l, getEnableI18nState: i, removeEnableI18nState: a, removeEnableI18nWidthSystemCode: r, getLocalStorageJson: s, loadLangFile: function(n2, t2, o2) {
|
|
44
|
-
return t2 ? new Promise((l2, i2) => {
|
|
45
|
-
window.$i18n && e.get(t2, { withCredential: false }).then((e2) => {
|
|
46
|
-
const t3 = g(o2);
|
|
47
|
-
if (e2 && e2.data) {
|
|
48
|
-
const o3 = window.$i18n.global.getLocaleMessage(t3);
|
|
49
|
-
o3[n2] ? Object.assign(o3[n2], e2.data) : o3[n2] = e2.data, window.$i18n.global.setLocaleMessage(t3, o3);
|
|
50
|
-
}
|
|
51
|
-
l2();
|
|
52
|
-
}).catch((e2) => {
|
|
53
|
-
i2(e2);
|
|
54
|
-
}), l2();
|
|
55
|
-
}) : Promise.resolve();
|
|
56
|
-
}, getLocaleByLang: g, setI18nFileVersion: function(e2) {
|
|
57
|
-
window.localStorage.setItem("i18nFileVersion", e2);
|
|
58
|
-
}, getI18nFileVersion: function() {
|
|
59
|
-
const e2 = window.localStorage.getItem("i18nFileVersion");
|
|
60
|
-
return "undefined" === e2 || "null" === e2 ? null : window.localStorage.getItem("i18nFileVersion");
|
|
61
|
-
} };
|
|
62
|
-
exports.default = c, exports.getEnableI18nState = i, exports.getLangFileUrl = t, exports.getLocaleByLang = g, exports.removeEnableI18nState = a, exports.removeEnableI18nWidthSystemCode = r, exports.removeLangFileUrl = o, exports.setEnableI18nState = l, exports.setLangFileUrl = n;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), require("vue"), exports.findRedisButtonGeneralIcon = function() {
|
|
3
|
-
return new Promise((e, n) => {
|
|
4
|
-
window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/find-redis-button-icon").then((n2) => {
|
|
5
|
-
window.sessionStorage.setItem("button-icon", JSON.stringify(n2)), e(n2);
|
|
6
|
-
}).catch((e2) => {
|
|
7
|
-
n(e2);
|
|
8
|
-
});
|
|
9
|
-
});
|
|
10
|
-
}, exports.getRedisButtonGeneralIcon = function(e) {
|
|
11
|
-
let n = "";
|
|
12
|
-
const t = window.sessionStorage.getItem("button-icon");
|
|
13
|
-
if (t && void 0 !== t && "undefined" !== t) {
|
|
14
|
-
n = JSON.parse(t)[e];
|
|
15
|
-
}
|
|
16
|
-
return n;
|
|
17
|
-
}, exports.isFaIcon = function(e) {
|
|
18
|
-
return !(!e || 0 !== e.indexOf("fa")) && (e = "fa fa-custom " + e, true);
|
|
19
|
-
};
|
package/lib/src/utils/index.cjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
function e(e2, t2) {
|
|
3
|
-
if (0 === arguments.length)
|
|
4
|
-
return null;
|
|
5
|
-
const n = t2 || "{y}-{m}-{d} {h}:{i}:{s}";
|
|
6
|
-
let o;
|
|
7
|
-
"object" == typeof e2 ? o = e2 : (10 === ("" + e2).length && (e2 = 1e3 * parseInt(e2)), o = new Date(e2));
|
|
8
|
-
const r = { y: o.getFullYear(), m: o.getMonth() + 1, d: o.getDate(), h: o.getHours(), i: o.getMinutes(), s: o.getSeconds(), a: o.getDay() };
|
|
9
|
-
return n.replace(/{(y|m|d|h|i|s|a)+}/g, (e3, t3) => {
|
|
10
|
-
let n2 = r[t3];
|
|
11
|
-
return "a" === t3 ? ["日", "一", "二", "三", "四", "五", "六"][n2] : (e3.length > 0 && n2 < 10 && (n2 = "0" + n2), n2 || 0);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function t(e2) {
|
|
15
|
-
return decodeURIComponent(escape(window.atob(e2)));
|
|
16
|
-
}
|
|
17
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), exports.b64ToUtf8 = t, exports.formatTime = function(t2, n) {
|
|
18
|
-
t2 = 10 === ("" + t2).length ? 1e3 * parseInt(t2) : +t2;
|
|
19
|
-
const o = new Date(t2), r = (Date.now() - o) / 1e3;
|
|
20
|
-
return r < 30 ? "刚刚" : r < 3600 ? Math.ceil(r / 60) + "分钟前" : r < 86400 ? Math.ceil(r / 3600) + "小时前" : r < 172800 ? "1天前" : n ? e(t2, n) : o.getMonth() + 1 + "月" + o.getDate() + "日" + o.getHours() + "时" + o.getMinutes() + "分";
|
|
21
|
-
}, exports.getLoginName = function(e2) {
|
|
22
|
-
const n = t(e2.split(".")[1]);
|
|
23
|
-
return JSON.parse(n).sub;
|
|
24
|
-
}, exports.getRouter = function() {
|
|
25
|
-
return window.Vue.$router;
|
|
26
|
-
}, exports.getStore = function() {
|
|
27
|
-
return window.Vue.$store;
|
|
28
|
-
}, exports.isExternal = function(e2) {
|
|
29
|
-
return /^(https?:|mailto:|tel:)/.test(e2);
|
|
30
|
-
}, exports.parseTime = e, exports.utf8ToB64 = function(e2) {
|
|
31
|
-
return window.btoa(unescape(encodeURIComponent(e2)));
|
|
32
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
window.insertedCssFiles || (window.insertedCssFiles = /* @__PURE__ */ new Set()), window.insertCssFile || (window.insertCssFile = (e) => {
|
|
3
|
-
if (!e || window.insertedCssFiles.has(e))
|
|
4
|
-
return;
|
|
5
|
-
const s = document.createElement("link");
|
|
6
|
-
s.rel = "stylesheet", s.href = e, s.onload = function() {
|
|
7
|
-
window.insertedCssFiles.add(e);
|
|
8
|
-
}, s.onerror = function() {
|
|
9
|
-
console.error(`无法加载公共 CSS 文件: ${e}`);
|
|
10
|
-
}, document.head.appendChild(s);
|
|
11
|
-
}), window.insertJsFile || (window.insertJsFile = (e) => {
|
|
12
|
-
if (!e || window.insertedCssFiles.has(e))
|
|
13
|
-
return;
|
|
14
|
-
const s = document.createElement("script");
|
|
15
|
-
s.src = e, s.onload = function() {
|
|
16
|
-
window.insertedCssFiles.add(e);
|
|
17
|
-
}, document.head.appendChild(s);
|
|
18
|
-
});
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), exports.parseLooseJSON = function(e) {
|
|
3
|
-
let r = (e || "").trim();
|
|
4
|
-
if (!r)
|
|
5
|
-
return null;
|
|
6
|
-
try {
|
|
7
|
-
return JSON.parse(r);
|
|
8
|
-
} catch (e2) {
|
|
9
|
-
}
|
|
10
|
-
const t = Math.min(...["{", "["].map((e2) => {
|
|
11
|
-
const t2 = r.indexOf(e2);
|
|
12
|
-
return -1 === t2 ? 1 / 0 : t2;
|
|
13
|
-
}).filter((e2) => void 0 !== e2));
|
|
14
|
-
if (t !== 1 / 0) {
|
|
15
|
-
let e2 = 0, l = false, s = "", n = false;
|
|
16
|
-
for (let i = t; i < r.length; i++) {
|
|
17
|
-
const a = r[i];
|
|
18
|
-
if (n)
|
|
19
|
-
n = false;
|
|
20
|
-
else if ("\\" !== a)
|
|
21
|
-
if (l)
|
|
22
|
-
a === s && (l = false);
|
|
23
|
-
else if ('"' !== a && "'" !== a) {
|
|
24
|
-
if ("{" === a || "[" === a)
|
|
25
|
-
e2++;
|
|
26
|
-
else if (("}" === a || "]" === a) && (e2--, 0 === e2)) {
|
|
27
|
-
r = r.substring(t, i + 1);
|
|
28
|
-
break;
|
|
29
|
-
}
|
|
30
|
-
} else
|
|
31
|
-
l = true, s = a;
|
|
32
|
-
else
|
|
33
|
-
n = true;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
r = r.replace(/\/\*[\s\S]*?\*\//g, "").replace(/\/\/.*$/gm, ""), r = function(e2) {
|
|
37
|
-
let r2 = e2;
|
|
38
|
-
return r2 = r2.replace(/,(\s*[}\]])/g, "$1"), r2 = r2.replace(/([\{\s,])([A-Za-z0-9_$@\-]+)\s*:/g, '$1"$2":'), r2 = r2.replace(/'([^'\\]*(\\.[^'\\]*)*)'/g, (e3, r3) => '"' + r3.replace(/"/g, '\\"') + '"'), r2;
|
|
39
|
-
}(r);
|
|
40
|
-
try {
|
|
41
|
-
return JSON.parse(r);
|
|
42
|
-
} catch (e2) {
|
|
43
|
-
return {};
|
|
44
|
-
}
|
|
45
|
-
};
|