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,67 +1,67 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, resolveComponent as t, openBlock as l, createElementBlock as a, Fragment as
|
|
1
|
+
import { defineComponent as e, ref as o, resolveComponent as t, openBlock as l, createElementBlock as a, Fragment as n, renderList as r, createVNode as i, withCtx as s, createElementVNode as d, unref as c, toDisplayString as m, createCommentVNode as p, createBlock as u } from "vue";
|
|
2
2
|
import { Download as f } from "@element-plus/icons-vue";
|
|
3
|
-
import { getRelativeBaseUrl as w, isMobileBrowser as v,
|
|
4
|
-
import { getToken as
|
|
3
|
+
import { getRelativeBaseUrl as w, isMobileBrowser as v, getSystemFrontendUrlWith as h, getKkFilePreviewUrl as k, getReplaceUrlDomain as b, isPlateSys as y } from "../../src/utils/common-util.mjs";
|
|
4
|
+
import { getToken as g } from "../../src/utils/auth.mjs";
|
|
5
5
|
import { isImage as P } from "../../src/utils/util.mjs";
|
|
6
6
|
import { getFileIconByName as N } from "../../src/utils/file-util.mjs";
|
|
7
7
|
import { useI18n as R } from "vue-i18n";
|
|
8
8
|
import { getWatermarkSetting as U } from "../../src/utils/watermark.mjs";
|
|
9
|
-
const
|
|
9
|
+
const x = { key: 0 }, C = { style: { display: "flex", "align-items": "center" } }, j = { key: 0, style: { cursor: "no-drop" } }, _ = { style: { "margin-left": "6.5px" } }, I = ["onClick"], L = { style: { "margin-left": "6.5px" } }, S = { key: 1, class: "el-upload-list__item-actions mobile-item-action" }, $ = e({ __name: "fs-preview-new", props: { systemCode: { type: String, default: "" }, disabled: { type: Boolean, default: false }, downloadable: { type: Boolean, default: true }, fileList: { type: Array, default: () => [] }, pageContext: { type: Object, default: () => ({}) }, configure: { type: Object, default: () => ({}) }, beforeRemove: { type: Function, default: () => {
|
|
10
10
|
} }, onRemove: { type: Function, default: () => {
|
|
11
11
|
} }, beforeDownload: { type: Function, default: () => {
|
|
12
12
|
} }, file: { type: Object, default: null }, baseURL: { type: String, default: null }, disabledNoPreview: { type: Boolean, default: false }, disabledNoDownload: { type: Boolean, default: false }, watermark: { type: Object, default: () => ({}) } }, emits: ["remove"], setup(e2, { emit: $2 }) {
|
|
13
13
|
var _a, _b, _c, _d, _e;
|
|
14
|
-
const { t: A } = R(),
|
|
15
|
-
let
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
let
|
|
14
|
+
const { t: A } = R(), W = e2;
|
|
15
|
+
let D = W.baseURL ? W.baseURL : window.$vueApp.config.globalProperties.baseURL, O = window.$vueApp.config.globalProperties.baseAPI;
|
|
16
|
+
D = w(D), O = w(O), W.watermark.content || (W.watermark.isShowWatermark = void 0 === ((_b = (_a = W.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = W.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", W.watermark.content = (_e = (_d = W.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content);
|
|
17
|
+
const V = o(false), B = o({}), F = o([]), z = o(v()), E = $2, q = o(0);
|
|
18
|
+
let G = null;
|
|
19
19
|
U().then((e3) => {
|
|
20
|
-
|
|
20
|
+
G = e3;
|
|
21
21
|
});
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
false === o2 ||
|
|
25
|
-
}) : false ===
|
|
26
|
-
},
|
|
22
|
+
const H = (e3) => {
|
|
23
|
+
M(W.beforeDownload) ? W.beforeDownload(W.pageContext, W.configure, e3).then((o2) => {
|
|
24
|
+
false === o2 || J(e3);
|
|
25
|
+
}) : false === W.beforeDownload(W.pageContext, W.configure, e3) || J(e3);
|
|
26
|
+
}, J = (e3) => {
|
|
27
27
|
var _a2, _b2;
|
|
28
|
-
const o2 =
|
|
28
|
+
const o2 = g(), t2 = (e3.showName ? e3.showName : e3.name).replace("#", "~~").replace("?", "~$").replace("&", "$");
|
|
29
29
|
let l2 = false;
|
|
30
|
-
|
|
31
|
-
let a2 = (_b2 =
|
|
30
|
+
G && G.useRange && G.useRange.indexOf("annex") >= 0 && (l2 = (_a2 = W.watermark) == null ? void 0 : _a2.isShowWatermark);
|
|
31
|
+
let a2 = (_b2 = W.watermark) == null ? void 0 : _b2.content;
|
|
32
32
|
a2 || (a2 = "");
|
|
33
|
-
let
|
|
34
|
-
|
|
35
|
-
},
|
|
33
|
+
let n2 = D + "/common/super-form/downloads?showName=" + encodeURI(t2) + "&serverPath=" + e3.serverPath + "&jwt=" + o2 + "&isShowWatermark=" + l2 + "&watermark=" + encodeURI(a2);
|
|
34
|
+
y(W.systemCode) && (n2 = O + "/component/super-form/downloads?showName=" + encodeURI(t2) + "&serverPath=" + e3.serverPath + "&jwt=" + o2), window.location.href = n2;
|
|
35
|
+
}, K = (e3) => {
|
|
36
36
|
let o2 = true;
|
|
37
|
-
if (
|
|
37
|
+
if (W.beforeRemove && "function" == typeof W.beforeRemove) {
|
|
38
38
|
const t3 = true;
|
|
39
|
-
o2 =
|
|
39
|
+
o2 = W.beforeRemove(W.pageContext, W.configure, e3, t3);
|
|
40
40
|
}
|
|
41
41
|
if (void 0 !== o2 && !o2)
|
|
42
42
|
return;
|
|
43
|
-
const t2 =
|
|
44
|
-
|
|
45
|
-
},
|
|
46
|
-
if (
|
|
43
|
+
const t2 = W.fileList.findIndex((o3) => o3.serverPath === e3.uuid || o3.serverPath === e3.serverPath);
|
|
44
|
+
W.fileList, W.fileList.splice(t2, 1), E("remove", { file: e3, index: t2 }), W.onRemove(e3);
|
|
45
|
+
}, M = (e3) => e3 && "[object Promise]" === Object.prototype.toString.call(e3), Q = (e3, o2) => {
|
|
46
|
+
if (W.fileList, W.disabled && W.disabledNoPreview)
|
|
47
47
|
return;
|
|
48
48
|
let t2 = false;
|
|
49
49
|
if (e3 && P(e3) && (t2 = true), t2) {
|
|
50
|
-
B.value.src =
|
|
51
|
-
const t3 = [];
|
|
52
|
-
|
|
50
|
+
B.value.src = X(e3, o2);
|
|
51
|
+
const t3 = [], l2 = W.fileList.findIndex((e4) => e4.serverPath === o2);
|
|
52
|
+
W.fileList.forEach((e4) => {
|
|
53
53
|
const o3 = e4.showName ? e4.showName : e4.name;
|
|
54
|
-
t3.push(
|
|
55
|
-
}), F.value = t3,
|
|
54
|
+
P(o3) && t3.push(X(o3, e4.serverPath));
|
|
55
|
+
}), q.value = l2 >= 0 ? l2 : 0, F.value = t3, V.value = true;
|
|
56
56
|
} else
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
const t2 =
|
|
60
|
-
if (e3 = e3 =
|
|
61
|
-
window.open(
|
|
57
|
+
T(e3, o2);
|
|
58
|
+
}, T = (e3, o2) => {
|
|
59
|
+
const t2 = g();
|
|
60
|
+
if (e3 = e3 = Y(e3), window.$vueApp.config.globalProperties.customPreviewUrl)
|
|
61
|
+
window.open(h(window.$vueApp.config.globalProperties.portalUrl) + "/#/file-service/preview?serverPath=" + o2 + "&showName=" + encodeURI(e3), e3);
|
|
62
62
|
else {
|
|
63
|
-
let l2, a2 =
|
|
64
|
-
if (
|
|
63
|
+
let l2, a2 = D;
|
|
64
|
+
if (y(window.$vueApp.config.globalProperties.systemCode) && (a2 = O), window.$vueApp.config.globalProperties.kkFileViewUrl) {
|
|
65
65
|
const l3 = a2 + "/common/super-form/downloads?jwt=" + t2 + "&showName=" + encodeURI(e3) + "&serverPath=" + o2 + "&fullfilename=" + e3;
|
|
66
66
|
k(l3).then((o3) => {
|
|
67
67
|
window.open(o3, e3);
|
|
@@ -70,22 +70,22 @@ const _ = { key: 0 }, j = { style: { display: "flex", "align-items": "center" }
|
|
|
70
70
|
l2 = a2 + "/common/fs-upload/preview?jwt=" + t2, l2 = l2 + "&showName=" + encodeURI(e3) + "&serverPath=" + o2, l2 = w(l2), window.open(l2, e3);
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
|
-
function
|
|
73
|
+
function X(e3, o2) {
|
|
74
74
|
var _a2, _b2;
|
|
75
|
-
e3 =
|
|
76
|
-
const t2 =
|
|
75
|
+
e3 = Y(e3);
|
|
76
|
+
const t2 = g();
|
|
77
77
|
let l2 = false;
|
|
78
|
-
|
|
79
|
-
let a2 = (_b2 =
|
|
78
|
+
G && G.useRange && G.useRange.indexOf("annex") >= 0 && (l2 = (_a2 = W.watermark) == null ? void 0 : _a2.isShowWatermark);
|
|
79
|
+
let a2 = (_b2 = W.watermark) == null ? void 0 : _b2.content;
|
|
80
80
|
a2 || (a2 = "");
|
|
81
|
-
let
|
|
82
|
-
return
|
|
81
|
+
let n2 = D + "/common/super-form/downloads?jwt=" + t2 + "&isShowWatermark=" + l2 + "&watermark=" + encodeURI(a2);
|
|
82
|
+
return y(W.systemCode) && (n2 = O + "/component/super-form/downloads?jwt=" + t2 + "&isShowWatermark=" + l2 + "&watermark=" + encodeURI(a2)), n2 = b(n2), n2 + "&showName=" + encodeURI(e3) + "&serverPath=" + o2;
|
|
83
83
|
}
|
|
84
|
-
const
|
|
84
|
+
const Y = (e3) => (e3 && (e3 = e3.replace("#", "~~").replace("?", "~$").replace("&", "$")), e3);
|
|
85
85
|
return (o2, w2) => {
|
|
86
|
-
const v2 = t("super-icon"), h2 = t("el-tooltip"),
|
|
87
|
-
return l(), a("div", null, [z.value ? (l(), a("span", S, [(
|
|
88
|
-
var
|
|
86
|
+
const v2 = t("super-icon"), h2 = t("el-tooltip"), k2 = t("el-tag"), b2 = t("zoom-in"), y2 = t("el-icon"), g2 = t("Delete"), R2 = t("el-image-viewer");
|
|
87
|
+
return l(), a("div", null, [z.value ? (l(), a("span", S, [(U2 = e2.file.showName ? e2.file.showName : e2.file.name, !z.value || U2 && P(U2) ? (l(), a("span", { key: 0, class: "el-upload-list__item-preview", onClick: w2[0] || (w2[0] = (o3) => Q(e2.file.showName ? e2.file.showName : e2.file.name, e2.file.serverPath)) }, [i(y2, null, { default: s(() => [i(b2)]), _: 1 })])) : p("", true)), e2.disabled ? p("", true) : (l(), a("span", { key: 1, class: "el-upload-list__item-delete", onClick: w2[1] || (w2[1] = (o3) => H(e2.file)) }, [i(y2, null, { default: s(() => [i(c(f))]), _: 1 })])), e2.disabled ? p("", true) : (l(), a("span", { key: 2, class: "el-upload-list__item-delete", onClick: w2[2] || (w2[2] = (o3) => K(e2.file)) }, [i(y2, null, { default: s(() => [i(g2)]), _: 1 })]))])) : (l(), a("div", x, [(l(true), a(n, null, r(e2.fileList, (o3, t2) => (l(), a("div", { key: t2, style: { width: "100%" } }, [i(k2, { color: "white", size: "large", class: "amb-fs-preview-tag" }, { default: s(() => [d("div", C, [i(v2, { iconValue: c(N)(o3.showName) }, null, 8, ["iconValue"]), e2.disabled && e2.disabledNoPreview ? (l(), a("span", j, [d("span", _, m(o3.showName), 1)])) : p("", true), e2.disabled && e2.disabledNoPreview ? p("", true) : (l(), u(h2, { key: 1, content: c(A)("fsUpload.preview"), placement: "top" }, { default: s(() => [d("span", { style: { cursor: "pointer" }, onClick: (e3) => Q(o3.showName, o3.serverPath) }, [d("span", L, m(o3.showName), 1)], 8, I)]), _: 2 }, 1032, ["content"])), e2.disabled && e2.disabledNoDownload ? p("", true) : (l(), u(h2, { key: 2, content: c(A)("fsUpload.download"), placement: "top" }, { default: s(() => [i(v2, { class: "fs-preview-icon", onClick: (e3) => H(o3), iconValue: "amb-color-icon-xiazai" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])), e2.disabled ? p("", true) : (l(), u(h2, { key: 3, content: c(A)("fsUpload.delete"), placement: "top" }, { default: s(() => [i(v2, { class: "fs-preview-icon", onClick: (e3) => K(o3), iconValue: "amb-color-icon-shanchu" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"]))])]), _: 2 }, 1024)]))), 128))])), V.value ? (l(), u(R2, { key: 2, teleported: "", "url-list": F.value, "initial-index": q.value, onClose: w2[3] || (w2[3] = (e3) => V.value = false) }, null, 8, ["url-list", "initial-index"])) : p("", true)]);
|
|
88
|
+
var U2;
|
|
89
89
|
};
|
|
90
90
|
} });
|
|
91
91
|
export {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.mjs";
|
|
2
|
+
import { resolveComponent as l, openBlock as t, createBlock as a, withCtx as i, createElementVNode as o, createVNode as s, createTextVNode as n, toDisplayString as u, createElementBlock as d, Fragment as p, renderList as r } from "vue";
|
|
3
|
+
import c from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const m = { class: "dialog-footer", style: { "padding-bottom": "10px" } }, g = { style: { "padding-right": "10px" } }, v = { style: { "padding-right": "10px" } };
|
|
5
|
+
const f = c({ name: "I18nSettingDialog", props: { i18nkey: { type: String, default: null }, languages: { type: Array, default: null }, values: { type: Object, default: null } }, data: () => ({ languageKey: "", valueList: {} }), created() {
|
|
6
|
+
this.valueList = this.values, this.initValues();
|
|
7
|
+
}, methods: { getKey(e2) {
|
|
8
|
+
this.languageKey = e2;
|
|
9
|
+
}, setValue(e2) {
|
|
10
|
+
this.valueList[this.languageKey] = e2, this.$forceUpdate();
|
|
11
|
+
}, initValues() {
|
|
12
|
+
this.valueList || (this.valueList = {}), this.languages.forEach((e2) => {
|
|
13
|
+
this.valueList[e2.value] || (this.valueList[e2.value] = null);
|
|
14
|
+
});
|
|
15
|
+
}, saveI18n() {
|
|
16
|
+
e(this, "close", this.valueList);
|
|
17
|
+
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, [["render", function(e2, c2, f2, h, y, b) {
|
|
18
|
+
const L = l("el-button"), $ = l("el-form-item"), _ = l("el-input"), x = l("el-form"), V = l("el-dialog");
|
|
19
|
+
return t(), a(V, { "close-on-click-modal": false, title: e2.$t("i18nSetting.title"), "append-to-body": "", "model-value": "", top: "5vh", width: "30%", onClose: c2[1] || (c2[1] = (l2) => e2.$emit("close")), onClosed: c2[2] || (c2[2] = (l2) => e2.$emit("closed")), onOpen: c2[3] || (c2[3] = (l2) => e2.$emit("open")), onOpend: c2[4] || (c2[4] = (l2) => e2.$emit("opend")) }, { default: i(() => [o("div", m, [o("span", g, [s(L, { size: "default", type: "primary", onClick: b.saveI18n }, { default: i(() => [n(u(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])]), o("span", v, [s(L, { class: "button--default", size: "default", onClick: c2[0] || (c2[0] = (l2) => e2.$emit("close")) }, { default: i(() => [n(u(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 })])]), s(x, { "label-width": "100px" }, { default: i(() => [s($, { label: e2.$t("i18nSetting.i18nKey") }, { default: i(() => [n(u(f2.i18nkey), 1)]), _: 1 }, 8, ["label"]), (t(true), d(p, null, r(f2.languages, (e3) => (t(), a($, { key: e3.value, label: e3.name }, { default: i(() => [s(_, { modelValue: y.valueList[e3.value], "onUpdate:modelValue": (l2) => y.valueList[e3.value] = l2, onFocus: (l2) => b.getKey(e3.value), onInput: b.setValue }, null, 8, ["modelValue", "onUpdate:modelValue", "onFocus", "onInput"])]), _: 2 }, 1032, ["label"]))), 128))]), _: 1 })]), _: 1 }, 8, ["title"]);
|
|
20
|
+
}]]);
|
|
21
|
+
export {
|
|
22
|
+
f as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const e = { getAllLanguages() {
|
|
2
|
+
return this.$http.get(this.baseAPI + "/component/all-languages");
|
|
3
|
+
}, getEnableLanguages() {
|
|
4
|
+
return this.$http.get(this.baseAPI + "/component/enable-languages");
|
|
5
|
+
}, getValuesByKey(e2, t) {
|
|
6
|
+
return e2.indexOf("${") >= 0 ? ((e2 = e2.substring(e2.indexOf("${") + 2, e2.lastIndexOf("}"))).indexOf("[") > 0 && (e2 = e2.replace("[", "~~").replace("]", "")), this.$http.get(this.baseAPI + "/component/i18n-values?i18nKey=" + e2)) : this.$http.get(this.baseAPI + "/component/language-package-values?code=" + e2 + "&systemCode=" + t);
|
|
7
|
+
}, saveI18nSetting(e2) {
|
|
8
|
+
return this.$http.post(this.baseAPI + "/component/i18n-values", e2);
|
|
9
|
+
}, saveLanguagePackageValues(e2) {
|
|
10
|
+
return this.$http.post(this.baseAPI + "/component/language-package-values", e2);
|
|
11
|
+
}, isLanguagePackageCode: (e2) => -1 === e2.indexOf("${") };
|
|
12
|
+
export {
|
|
13
|
+
e as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Setting as e } from "@element-plus/icons-vue";
|
|
2
|
+
import s from "./i18n-setting.mjs";
|
|
3
|
+
import t from "./i18n-setting-dialog.vue.mjs";
|
|
4
|
+
import { $emit as i } from "../../utils/gogocodeTransfer.mjs";
|
|
5
|
+
import { resolveComponent as n, openBlock as a, createElementBlock as g, createVNode as o, withCtx as l, createBlock as u, createCommentVNode as h } from "vue";
|
|
6
|
+
import m from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
+
const r = m({ components: { i18nSettingDialog: t, Setting: e }, name: "I18nSetting", props: { i18nkey: { type: String, default: null }, systemCode: { type: String, default: "common" } }, data: () => ({ languages: [], values: null, isShowDialog: false }), created() {
|
|
8
|
+
}, methods: { ...s, getLanguages() {
|
|
9
|
+
const e2 = this;
|
|
10
|
+
return new Promise((s2) => {
|
|
11
|
+
e2.i18nkey && (e2.isLanguagePackageCode(e2.i18nkey) ? e2.getEnableLanguages().then((t2) => {
|
|
12
|
+
e2.languages = t2, s2(true);
|
|
13
|
+
}) : e2.getAllLanguages().then((t2) => {
|
|
14
|
+
e2.languages = t2, s2(true);
|
|
15
|
+
})), s2(true);
|
|
16
|
+
});
|
|
17
|
+
}, getValues() {
|
|
18
|
+
if (this.i18nkey && "" !== this.i18nkey)
|
|
19
|
+
return this.getValuesByKey(this.i18nkey, this.systemCode).then((e2) => {
|
|
20
|
+
this.values = e2, this.isShowDialog = true;
|
|
21
|
+
});
|
|
22
|
+
this.$message({ message: this.$t("i18nSetting.i18nKeyEmpty"), type: "warning", showClose: "true" });
|
|
23
|
+
}, showSetting() {
|
|
24
|
+
this.i18nkey && "" !== this.i18nkey.trim() ? this.getLanguages().then(() => {
|
|
25
|
+
this.getValues();
|
|
26
|
+
}) : this.$message({ message: this.$t("i18nSetting.i18nKeyEmpty"), type: "warning", showClose: "true" });
|
|
27
|
+
}, closeSetting(e2) {
|
|
28
|
+
if (e2)
|
|
29
|
+
if (this.isLanguagePackageCode(this.i18nkey)) {
|
|
30
|
+
const s2 = { systemCode: this.systemCode, code: this.i18nkey, values: e2 };
|
|
31
|
+
this.saveLanguagePackageValues(s2).then(() => {
|
|
32
|
+
this.$message({ message: this.$t("imatrixUIMessage.saveSuccessfully"), showClose: true, type: "success" }), i(this, "close", s2);
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
const s2 = { systemCode: this.systemCode, i18nKey: this.i18nkey, values: e2 };
|
|
36
|
+
this.saveI18nSetting(s2).then(() => {
|
|
37
|
+
this.saveI18nSetting(s2), this.$message({ message: this.$t("imatrixUIMessage.saveSuccessfully"), showClose: true, type: "success" });
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
this.isShowDialog = false;
|
|
41
|
+
} }, emits: ["close"] }, [["render", function(e2, s2, t2, i2, m2, r2) {
|
|
42
|
+
const y = n("Setting"), c = n("el-icon"), p = n("i18n-setting-dialog");
|
|
43
|
+
return a(), g("span", null, [o(c, { onClick: r2.showSetting }, { default: l(() => [o(y)]), _: 1 }, 8, ["onClick"]), m2.isShowDialog ? (a(), u(p, { key: 0, i18nkey: t2.i18nkey, languages: m2.languages, values: m2.values, onClose: r2.closeSetting }, null, 8, ["i18nkey", "languages", "values", "onClose"])) : h("", true)]);
|
|
44
|
+
}]]);
|
|
45
|
+
export {
|
|
46
|
+
r as default
|
|
47
|
+
};
|
package/es/index.mjs
CHANGED
|
@@ -45,34 +45,36 @@ import i from "./src/components/Affix/index.vue.mjs";
|
|
|
45
45
|
import "./chat-embed/index.mjs";
|
|
46
46
|
import "./chat-embed/src/voice/index.mjs";
|
|
47
47
|
import "./date-picker-range/index.mjs";
|
|
48
|
+
import "./i18n-setting/index.mjs";
|
|
48
49
|
import m from "./src/components/Card/index.mjs";
|
|
49
50
|
import n from "./src/components/Scrollbar/index.vue.mjs";
|
|
50
51
|
import { default as default2 } from "./src/api/sso-service.mjs";
|
|
51
52
|
import { default as default3 } from "./src/i18n/langs/cn.mjs";
|
|
52
53
|
import { default as default4 } from "./src/i18n/langs/en.mjs";
|
|
53
54
|
import { default as default5 } from "./src/mixins/resizeMixin.mjs";
|
|
54
|
-
import {
|
|
55
|
+
import { default as default6 } from "./src/views/layout/mixin/ResizeHandler.mjs";
|
|
56
|
+
import { errorRouterMap, protectedRouterMap, default as default7 } from "./src/router/index.mjs";
|
|
55
57
|
import { executeExpression, parseSubTablePermissionCondition } from "./src/utils/calculator/calculator-util.mjs";
|
|
56
|
-
import { default as
|
|
58
|
+
import { default as default8 } from "./src/utils/auth-api.mjs";
|
|
57
59
|
import { clearPermission, clearVoiceCache, getAllLanguages, getAllThemes, getCookieCache, getCurrentUser, getLanguage, getRunCurrentRole, getRunInfoKey, getSessionCache, getTenantUsername, getTheme, getToken, getUsername, isDevpSystem, removeAllThemes, removeCookieCache, removeCurrentUser, removeDevpPermissions, removeProjectCode, removeProjectSettings, removeSessionCache, removeSystemCacheUrl, removeTenantUsername, removeTheme, removeToken, removeUsername, setAllLanguages, setAllThemes, setCookieCache, setCurrentUser, setLanguage, setSessionCache, setTenantUsername, setTheme, setToken, setUsername } from "./src/utils/auth.mjs";
|
|
58
60
|
import { addListRefToStore, setActiveMenuToChatAiStore, setPageDataToChatAiStore, setPageInfoToChatStore } from "./src/utils/chat-ai-util.mjs";
|
|
59
61
|
import { cacheAllEnableGlobalPropUtil, cacheAllLanguagesUtil, cacheCurrentLanguageUtil, cacheLangs, cachePermissionsWhenLoginWithToken, cacheProjectSetting, cacheSystemUrl, formatDate, formatFileName, getAuthSource, getCacheSystemUrlWithSystemCode, getCurrentSystemCode, getKkFilePreviewUrl, getLangByShort, getLangs, getLocaleByLang, getLoginTimeoutUrlInfo, getLoginUrl, getOrignUrl, getRelativeBaseUrl, getReplaceUrlDomain, getServerConfigUtil, getSystemBackendUrl, getSystemFrontendUrl, getSystemFrontendUrlWith, getTimeZone, getURLSearchParamObj, getUuidv4, insertFontIconCss, insertThirdLoginJs, isDingTalkEnv, isLogoutTimeout, isMobileBrowser, isPlateSys, isPromise, isShowMenuRoute, isShowSystemMenu, isValidDate, loadCSS, pushCustomControlValidatorRef, removeCustomControlValidatorRef, replacePlaceholders, replacePrefix, setCustomSystemBackendUrl, windowOpenUrl } from "./src/utils/common-util.mjs";
|
|
60
|
-
import { default as
|
|
62
|
+
import { default as default9 } from "./src/utils/eventBus.mjs";
|
|
61
63
|
import { getFileIconByName } from "./src/utils/file-util.mjs";
|
|
62
64
|
import { GLOBAL_PROP, cacheAllGlobalPropCache, cacheCanShowOrgTree, cacheGlobalProp, getCanShowOrgTree, getGlobalProp, removeAllGlobalPropCache, removeCanShowOrgTree, removeGlobalProp } from "./src/utils/global-prop.mjs";
|
|
63
65
|
import { getGuId, getS4 } from "./src/utils/guid.mjs";
|
|
64
|
-
import { default as
|
|
66
|
+
import { default as default10 } from "./src/utils/i18n-util.mjs";
|
|
65
67
|
import { findRedisButtonGeneralIcon, getRedisButtonGeneralIcon, isFaIcon } from "./src/utils/iconUtils.mjs";
|
|
66
68
|
import { b64ToUtf8, formatTime, getLoginName, getRouter, getStore, isExternal, parseTime, utf8ToB64 } from "./src/utils/index.mjs";
|
|
67
69
|
import { parseLooseJSON } from "./src/utils/json-util.mjs";
|
|
68
70
|
import { openPage as a } from "./src/utils/jump-page-utils.mjs";
|
|
69
71
|
import { initialization, jumpToPage, updateWithPageValue } from "./src/utils/jump-page-utils.mjs";
|
|
70
|
-
import { default as
|
|
72
|
+
import { default as default11 } from "./src/utils/local-storage.mjs";
|
|
71
73
|
import { getI18nName } from "./src/utils/menu.mjs";
|
|
72
|
-
import { default as
|
|
74
|
+
import { default as default12, default as default13 } from "./src/utils/permission.mjs";
|
|
73
75
|
import { getCustomMenus, getDefaultMenuCode, getMenus, getPermissions, getSystemCode, getTotalPermissions, isDevpAccess, removeAllSystemPermissions, removeCustomMenus, removeDefaultMenuCode, removeMenus, setCustomMenus, setDefaultMenuCode, setMenus, setPermissions } from "./src/utils/permissionAuth.mjs";
|
|
74
76
|
import { formatTimefn, getDateRangeSelectorDefaultValue, getFirstDayOfSeason, getWeekOfSeason } from "./src/utils/range-selector.mjs";
|
|
75
|
-
import { apiUrlMappings, default as
|
|
77
|
+
import { apiUrlMappings, default as default14, request } from "./src/utils/request.mjs";
|
|
76
78
|
import { restfulInterfaceTo } from "./src/utils/restful-interface-utils.mjs";
|
|
77
79
|
import { analysisCondition, analysisValue, findDynamicDataSourceByCode, findOptionsByDynamicDataSource, findSystemInfoByCode, formatCustomParams, getEntityFieldValue, getEntityFieldValueWithOutCase, getI18n, getLanguageWithLocale, getLastNDate, getParentObjectUtil, getPropNameWhenJoinTable, getPropValue, getPropValueNew, getValueByField, isImage, setEntityFieldValue, watchPageContextDynamicVariable } from "./src/utils/util.mjs";
|
|
78
80
|
import { validUsername, validateAlphabets, validateLowerCase, validateURL, validateUpperCase } from "./src/utils/validate.mjs";
|
|
@@ -108,23 +110,23 @@ import D from "./remove-user/src/remove-user.vue.mjs";
|
|
|
108
110
|
import V from "./remove-department/src/remove-department.vue.mjs";
|
|
109
111
|
import I from "./remove-workgroup/src/remove-workgroup.vue.mjs";
|
|
110
112
|
import A from "./organization-input/src/organization-input.vue.mjs";
|
|
111
|
-
import
|
|
112
|
-
import
|
|
113
|
+
import R from "./super-nine-grid/src/super-nine-grid.vue.mjs";
|
|
114
|
+
import B from "./dynamic-source-select/src/dynamic-source-select.vue.mjs";
|
|
113
115
|
import O from "./fs-upload/src/fs-upload.vue.mjs";
|
|
114
116
|
import W from "./scan-code-input/src/scan-code-input.vue.mjs";
|
|
115
117
|
import F from "./fs-preview/src/fs-preview.vue.mjs";
|
|
116
118
|
import N from "./fs-upload-list/src/fs-upload-list.vue.mjs";
|
|
117
|
-
import
|
|
118
|
-
import
|
|
119
|
-
import
|
|
120
|
-
import
|
|
121
|
-
import
|
|
122
|
-
import
|
|
119
|
+
import z from "./year-range-picker/src/year-range-picker.vue.mjs";
|
|
120
|
+
import E from "./multipart-upload/src/index.vue.mjs";
|
|
121
|
+
import G from "./rich-editor/index.vue.mjs";
|
|
122
|
+
import H from "./secret-info/index.vue.mjs";
|
|
123
|
+
import J from "./IntervalSelection/src/sectionDate.vue.mjs";
|
|
124
|
+
import $ from "./department-tree-mobile/src/department-tree-app.vue.mjs";
|
|
123
125
|
import "./department-tree-mobile/src/department-tree-app.vue2.mjs";
|
|
124
|
-
import
|
|
126
|
+
import _ from "./department-user-tree-mobile/src/department-user-tree-app.vue.mjs";
|
|
125
127
|
import "./department-user-tree-mobile/src/department-user-tree-app.vue2.mjs";
|
|
126
|
-
import
|
|
127
|
-
import
|
|
128
|
+
import q from "./super-icon/src/index.vue.mjs";
|
|
129
|
+
import K from "./fs-upload-new/src/fs-upload-new.vue.mjs";
|
|
128
130
|
import Z from "./scan-code-input-browser/src/scan-code-input.vue.mjs";
|
|
129
131
|
import Q from "./workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs";
|
|
130
132
|
import "./workgroup-tree-mobile/src/workgroup-tree-app.vue2.mjs";
|
|
@@ -132,9 +134,10 @@ import X from "./row-form/index.vue.mjs";
|
|
|
132
134
|
import Y from "./chat-embed/src/index.vue.mjs";
|
|
133
135
|
import ee from "./chat-embed/src/voice/voice.vue.mjs";
|
|
134
136
|
import re from "./date-picker-range/index.vue.mjs";
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
import te from "./i18n-setting/src/index.vue.mjs";
|
|
138
|
+
const oe = [i, j, v, x, h, w, b, S, C, k, y, U, P, T, L, M, D, V, I, A, R, B, O, W, F, N, z, E, G, H, J, $, _, q, K, Z, Q, X, Y, ee, re, m, n, p, u, c, l, d, g, te], se = function(i2) {
|
|
139
|
+
if (i2.directive("prevent-reclick", t), i2.use(o), f.install(i2), !se.installed) {
|
|
140
|
+
i2.directive("resize", e), oe.forEach((e2) => {
|
|
138
141
|
i2.component(e2.name, e2);
|
|
139
142
|
}), window.$plateform_openPage = a;
|
|
140
143
|
for (const [e2, r2] of Object.entries(s))
|
|
@@ -148,40 +151,42 @@ export {
|
|
|
148
151
|
Y as ChatEmbed,
|
|
149
152
|
re as DatePickerRange,
|
|
150
153
|
v as DepartmentTree,
|
|
151
|
-
|
|
154
|
+
$ as DepartmentTreeMobile,
|
|
152
155
|
b as DepartmentUserTree,
|
|
153
|
-
|
|
154
|
-
|
|
156
|
+
_ as DepartmentUserTreeMobile,
|
|
157
|
+
B as DynamicSourceSelect,
|
|
155
158
|
c as EmptyLayout,
|
|
156
159
|
F as FsPreview,
|
|
157
160
|
O as FsUpload,
|
|
158
161
|
N as FsUploadList,
|
|
159
|
-
|
|
162
|
+
K as FsUploadNew,
|
|
160
163
|
GLOBAL_PROP,
|
|
161
164
|
x as Hamburger,
|
|
165
|
+
te as I18nSetting,
|
|
162
166
|
k as InlineDepartmentTree,
|
|
163
167
|
y as InlineDepartmentUserTree,
|
|
164
168
|
U as InlineWorkgroupTree,
|
|
165
169
|
P as InlineWorkgroupUserTree,
|
|
166
|
-
|
|
170
|
+
J as IntervalSelection,
|
|
167
171
|
l as Layout,
|
|
168
172
|
g as Menubar,
|
|
169
|
-
|
|
173
|
+
E as MultipartUpload,
|
|
170
174
|
d as NewLayout,
|
|
171
175
|
A as OrganizationInput,
|
|
172
176
|
V as RemoveDepartment,
|
|
173
177
|
D as RemoveUser,
|
|
174
178
|
I as RemoveWorkgroup,
|
|
175
|
-
|
|
179
|
+
default6 as ResizeHandler,
|
|
180
|
+
G as RichEditor,
|
|
176
181
|
X as RowForm,
|
|
177
182
|
W as ScanCodeInput,
|
|
178
183
|
Z as ScanCodeInputBrowser,
|
|
179
184
|
n as Scrollbar,
|
|
180
|
-
|
|
185
|
+
H as SecretInfo,
|
|
181
186
|
p as Sidebar,
|
|
182
187
|
w as SuperGrid,
|
|
183
|
-
|
|
184
|
-
|
|
188
|
+
q as SuperIcon,
|
|
189
|
+
R as SuperNineGrid,
|
|
185
190
|
h as SvgIcon,
|
|
186
191
|
u as TabContent,
|
|
187
192
|
M as ValidCode,
|
|
@@ -191,16 +196,16 @@ export {
|
|
|
191
196
|
S as WorkgroupTree,
|
|
192
197
|
Q as WorkgroupTreeMobile,
|
|
193
198
|
C as WorkgroupUserTree,
|
|
194
|
-
|
|
199
|
+
z as YearRangePicker,
|
|
195
200
|
i as YxAffix,
|
|
196
201
|
default4 as abUIEn,
|
|
197
202
|
default3 as abUIcn,
|
|
198
|
-
|
|
203
|
+
se as abUiInstall,
|
|
199
204
|
addListRefToStore,
|
|
200
205
|
analysisCondition,
|
|
201
206
|
analysisValue,
|
|
202
207
|
apiUrlMappings,
|
|
203
|
-
|
|
208
|
+
default8 as authApi,
|
|
204
209
|
b64ToUtf8,
|
|
205
210
|
cacheAllEnableGlobalPropUtil,
|
|
206
211
|
cacheAllGlobalPropCache,
|
|
@@ -215,11 +220,11 @@ export {
|
|
|
215
220
|
cacheVoiceLeafMenu,
|
|
216
221
|
cacheVoiceSetting,
|
|
217
222
|
cacheWatermark,
|
|
218
|
-
|
|
223
|
+
default12 as checkPermission,
|
|
219
224
|
clearPermission,
|
|
220
225
|
clearVoiceCache,
|
|
221
226
|
errorRouterMap,
|
|
222
|
-
|
|
227
|
+
default9 as eventBus,
|
|
223
228
|
executeExpression,
|
|
224
229
|
findDynamicDataSourceByCode,
|
|
225
230
|
findOptionsByDynamicDataSource,
|
|
@@ -294,9 +299,9 @@ export {
|
|
|
294
299
|
getWatermark,
|
|
295
300
|
getWatermarkSetting,
|
|
296
301
|
getWeekOfSeason,
|
|
297
|
-
|
|
302
|
+
default14 as http,
|
|
298
303
|
i18nOperation,
|
|
299
|
-
|
|
304
|
+
default10 as i18nUtil,
|
|
300
305
|
initialization,
|
|
301
306
|
insertFontIconCss,
|
|
302
307
|
insertThirdLoginJs,
|
|
@@ -315,13 +320,13 @@ export {
|
|
|
315
320
|
isValidDate,
|
|
316
321
|
jumpToPage,
|
|
317
322
|
loadCSS,
|
|
318
|
-
|
|
323
|
+
default11 as localStorage,
|
|
319
324
|
a as openPage,
|
|
320
325
|
parseLooseJSON,
|
|
321
326
|
parseSubTablePermissionCondition,
|
|
322
327
|
parseTime,
|
|
323
328
|
parseVoiceMsg,
|
|
324
|
-
|
|
329
|
+
default13 as permissionUtil,
|
|
325
330
|
protectedRouterMap,
|
|
326
331
|
pushCustomControlValidatorRef,
|
|
327
332
|
removeAllGlobalPropCache,
|
|
@@ -353,7 +358,7 @@ export {
|
|
|
353
358
|
request,
|
|
354
359
|
default5 as resizeMixin,
|
|
355
360
|
restfulInterfaceTo,
|
|
356
|
-
|
|
361
|
+
default7 as router,
|
|
357
362
|
setActiveMenuToChatAiStore,
|
|
358
363
|
setAllLanguages,
|
|
359
364
|
setAllThemes,
|
|
@@ -2,14 +2,14 @@ import { Upload as e, ZoomIn as l, View as i, Delete as t } from "@element-plus/
|
|
|
2
2
|
import { $emit as o } from "../../utils/gogocodeTransfer.mjs";
|
|
3
3
|
import { getToken as s } from "../../src/utils/auth.mjs";
|
|
4
4
|
import { isImage as a } from "../../src/utils/util.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { getSystemFrontendUrlWith as n, getKkFilePreviewUrl as r, isPlateSys as p } from "../../src/utils/common-util.mjs";
|
|
6
6
|
import { resolveComponent as d, openBlock as u, createElementBlock as c, Fragment as h, createVNode as m, withCtx as f, createElementVNode as w, createBlock as v, createCommentVNode as g, createTextVNode as I, toDisplayString as b } from "vue";
|
|
7
7
|
import P from "../../fs-preview/src/fs-preview.vue.mjs";
|
|
8
8
|
import U from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
9
9
|
const F = { data() {
|
|
10
10
|
const i2 = { Authorization: s() };
|
|
11
11
|
let t2 = window.$vueApp.config.globalProperties.baseURL + "/common/fs-upload";
|
|
12
|
-
return
|
|
12
|
+
return p(window.$vueApp.config.globalProperties.systemCode) && (t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads"), { deleteUuids: [], headers: i2, defaultAction: t2, annexUploadFlag: false, showPreviewSingleImage: false, showPreviewMulti: false, lastFileName: null, previewImageInfo: {}, showFileList: this.fileList, ElIconUpload2: e, ElIconZoomIn: l };
|
|
13
13
|
}, components: { FsPreview: P, ElIconView: i, ElIconDelete: t }, name: "MultipartUploadForm", props: { value: { type: String, default: null }, fileInfo: { type: Object, default: () => ({ name: null, serverPath: null }) }, fileSetObj: { type: Object, default: () => ({ limitFileSize: 30, multiple: false, accept: null }) }, customViewUrl: { type: Boolean, default: false }, disabled: { type: Boolean, default: false }, uploadAble: { type: Boolean, default: true }, deletaAble: { type: Boolean, default: true }, fileList: { type: Array, default: () => [] } }, created() {
|
|
14
14
|
}, mounted() {
|
|
15
15
|
this.getFileList();
|
|
@@ -54,14 +54,14 @@ const F = { data() {
|
|
|
54
54
|
}, previewDoc(e2) {
|
|
55
55
|
const l2 = s();
|
|
56
56
|
if (window.$vueApp.config.globalProperties.customPreviewUrl)
|
|
57
|
-
window.open(
|
|
57
|
+
window.open(n(window.$vueApp.config.globalProperties.portalUrl) + "/#/file-service/preview?serverPath=" + e2.serverPath + "&showName=" + encodeURI(e2.showName), e2.showName);
|
|
58
58
|
else {
|
|
59
59
|
let i2;
|
|
60
60
|
const t2 = e2.showName, o2 = e2.serverPath;
|
|
61
61
|
let s2 = window.$vueApp.config.globalProperties.baseURL;
|
|
62
|
-
if (
|
|
62
|
+
if (p(window.$vueApp.config.globalProperties.systemCode) && (s2 = window.$vueApp.config.globalProperties.baseAPI), window.$vueApp.config.globalProperties.kkFileViewUrl) {
|
|
63
63
|
const e3 = s2 + "/common/super-form/downloads?jwt=" + l2 + "&showName=" + encodeURI(t2) + "&serverPath=" + o2;
|
|
64
|
-
|
|
64
|
+
r(e3 + "&fullfilename=" + t2).then((e4) => {
|
|
65
65
|
window.open(e4, t2);
|
|
66
66
|
});
|
|
67
67
|
} else
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Upload as e, Paperclip as l, Close as i, View as t, Delete as o } from "@element-plus/icons-vue";
|
|
2
2
|
import { getToken as a } from "../../src/utils/auth.mjs";
|
|
3
3
|
import { isImage as n } from "../../src/utils/util.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { getSystemFrontendUrlWith as s, getKkFilePreviewUrl as p, isPlateSys as r } from "../../src/utils/common-util.mjs";
|
|
5
5
|
import { resolveComponent as d, openBlock as u, createElementBlock as c, Fragment as m, createVNode as h, withCtx as f, createBlock as w, createCommentVNode as g, createElementVNode as v, createTextVNode as b, toDisplayString as y, renderList as P } from "vue";
|
|
6
6
|
import U from "../../fs-preview/src/fs-preview.vue.mjs";
|
|
7
7
|
import N from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
8
8
|
const F = { data() {
|
|
9
9
|
const l2 = { Authorization: a() };
|
|
10
10
|
let i2 = window.$vueApp.config.globalProperties.baseURL + "/common/fs-upload";
|
|
11
|
-
return
|
|
11
|
+
return r(window.$vueApp.config.globalProperties.systemCode) && (i2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads"), { deleteUuids: [], headers: l2, defaultAction: i2, annexUploadFlag: false, showPreviewSingleImage: false, showPreviewMulti: false, lastFileName: null, previewImageInfo: {}, showFileList: [], uploadingFile: [], cancelUploadFile: [], fileContent: [], chunkSize: 5242880, ElIconUpload2: e };
|
|
12
12
|
}, components: { FsPreview: U, ElIconPaperclip: l, ElIconClose: i, ElIconView: t, ElIconDelete: o }, name: "MultipartUploadList", props: { value: { type: String, default: null }, entity: { type: Object, default: null }, fileSetObj: { type: Object, default: () => ({ limitFileSize: 10, multiple: false, accept: null }) }, disabled: { type: Boolean, default: false } }, created() {
|
|
13
13
|
}, mounted() {
|
|
14
14
|
this.fileSetObj.limitFileSize || (this.fileSetObj.limitFileSize = 10);
|
|
@@ -19,7 +19,7 @@ const F = { data() {
|
|
|
19
19
|
this.fileContent.push({ name: e3, serverName: t2[l3] });
|
|
20
20
|
const i3 = a();
|
|
21
21
|
let o2 = window.$vueApp.config.globalProperties.baseURL + "/common/super-form/downloads?jwt=" + i3;
|
|
22
|
-
|
|
22
|
+
r(window.$vueApp.config.globalProperties.systemCode) && (o2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/downloads?jwt=" + i3);
|
|
23
23
|
const n2 = o2 + "&showName=" + encodeURI(e3) + "&serverPath=" + t2[l3];
|
|
24
24
|
this.showFileList.push({ showName: e3, serverPath: t2[l3], src: n2 });
|
|
25
25
|
});
|
|
@@ -73,14 +73,14 @@ const F = { data() {
|
|
|
73
73
|
}, previewDoc(e2, l2) {
|
|
74
74
|
const i2 = a();
|
|
75
75
|
if (window.$vueApp.config.globalProperties.customPreviewUrl)
|
|
76
|
-
window.open(
|
|
76
|
+
window.open(s(window.$vueApp.config.globalProperties.portalUrl) + "/#/file-service/preview?serverPath=" + l2 + "&showName=" + encodeURI(e2), e2);
|
|
77
77
|
else {
|
|
78
78
|
let t2;
|
|
79
79
|
const o2 = e2, a2 = l2;
|
|
80
80
|
let n2 = window.$vueApp.config.globalProperties.baseURL;
|
|
81
|
-
if (
|
|
81
|
+
if (r(window.$vueApp.config.globalProperties.systemCode) && (n2 = window.$vueApp.config.globalProperties.baseAPI), window.$vueApp.config.globalProperties.kkFileViewUrl) {
|
|
82
82
|
const e3 = n2 + "/common/super-form/downloads?jwt=" + i2 + "&showName=" + encodeURI(o2) + "&serverPath=" + a2;
|
|
83
|
-
|
|
83
|
+
p(e3 + "&fullfilename=" + o2).then((e4) => {
|
|
84
84
|
window.open(e4, o2);
|
|
85
85
|
});
|
|
86
86
|
} else
|