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,4 +1,3 @@
|
|
|
1
|
-
import "vue";
|
|
2
1
|
import e from "../../src/utils/local-storage.mjs";
|
|
3
2
|
import { getI18n as t } from "../../src/utils/util.mjs";
|
|
4
3
|
const s = { filterAppendNodes(e2) {
|
|
@@ -30,23 +29,23 @@ const s = { filterAppendNodes(e2) {
|
|
|
30
29
|
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/department-users", t2).then((t3) => {
|
|
31
30
|
this.$refs.deparmentUserTree && (this.$refs.deparmentUserTree.updateKeyChildren(e2.nodeId, t3), this.$refs.deparmentUserTree.store.nodesMap[e2.nodeId].expanded = true, this.staticCheckedUserNodes(e2));
|
|
32
31
|
});
|
|
33
|
-
}, initLoadDepartment(e2, t2, s2, r,
|
|
34
|
-
var
|
|
35
|
-
if (t2.data && t2.data.children && (
|
|
36
|
-
s2(
|
|
32
|
+
}, initLoadDepartment(e2, t2, s2, r, a) {
|
|
33
|
+
var i = [];
|
|
34
|
+
if (t2.data && t2.data.children && (i = t2.data.children), i && i.length > 0)
|
|
35
|
+
s2(i), r && r.indexOf(a) > -1 && this.checkedChildrenUserNodes(t2.data, t2.data.children);
|
|
37
36
|
else {
|
|
38
|
-
const
|
|
39
|
-
t2.data && (
|
|
40
|
-
if (s2(
|
|
41
|
-
const e3 =
|
|
42
|
-
this.tenantInfo = JSON.parse(e3), this.containBranch =
|
|
37
|
+
const i2 = { parentId: e2, needVirtualUser: this.isNeedVirtualUser };
|
|
38
|
+
t2.data && (i2.branchId = t2.data.branchId), this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/department-users", i2).then((i3) => {
|
|
39
|
+
if (s2(i3), this.$refs.deparmentUserTree && this.$refs.deparmentUserTree.updateKeyChildren(a, i3), 0 === e2) {
|
|
40
|
+
const e3 = i3[0].data;
|
|
41
|
+
this.tenantInfo = JSON.parse(e3), this.containBranch = i3[0].containBranch, this.departmentInfo && this.departmentInfo.length > 0 ? this.loadPointDepartments() : this.loadDepartment(this.tenantNodeId, this.tenantNodeId + "");
|
|
43
42
|
}
|
|
44
|
-
this.isClickNode ? (this.isClickNode = false, this.staticCheckedUserNodes(t2.data)) : r && r.indexOf(
|
|
43
|
+
this.isClickNode ? (this.isClickNode = false, this.staticCheckedUserNodes(t2.data)) : r && r.indexOf(a) > -1 && this.checkedChildrenUserNodes(t2.data, t2.data.children);
|
|
45
44
|
});
|
|
46
45
|
}
|
|
47
46
|
}, loadDepartment(e2, t2, s2, r) {
|
|
48
|
-
const
|
|
49
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/department-users",
|
|
47
|
+
const a = { parentId: e2, needVirtualUser: this.isNeedVirtualUser };
|
|
48
|
+
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/department-users", a).then((e3) => {
|
|
50
49
|
this.$refs.deparmentUserTree && (this.$refs.deparmentUserTree.updateKeyChildren(t2, e3), this.$refs.deparmentUserTree.store.nodesMap[t2] && (this.$refs.deparmentUserTree.store.nodesMap[t2].expanded = true)), s2 && (-1 === this.allExpandNodeIds.indexOf(t2) && this.allExpandNodeIds.push(t2), this.allExpandNodeIds.length === this.allSearchNodeIds.length && (this.$refs.deparmentUserTree && this.$refs.deparmentUserTree.filter(r), this.allExpandNodeIds = [], this.allSearchNodeIds = []));
|
|
51
50
|
});
|
|
52
51
|
}, loadPointDepartments() {
|
|
@@ -60,20 +59,20 @@ const s = { filterAppendNodes(e2) {
|
|
|
60
59
|
t2(e3);
|
|
61
60
|
});
|
|
62
61
|
});
|
|
63
|
-
}, getSelectUsers: (e2, t2, s2) => new Promise((r,
|
|
62
|
+
}, getSelectUsers: (e2, t2, s2) => new Promise((r, a) => {
|
|
64
63
|
e2 && t2 ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-users?searchField=" + e2 + "&selectUserInfo=" + t2 + "&separator=" + s2).then((e3) => {
|
|
65
64
|
r(e3);
|
|
66
65
|
}).catch((e3) => {
|
|
67
|
-
|
|
66
|
+
a(e3);
|
|
68
67
|
}) : r([]);
|
|
69
68
|
}), packageAllUser: () => ({ id: -1, name: "所有用户" }), packageAllWgUser: () => ({ id: -1, name: "所有工作组人员" }), initSelectUsers(e2, t2, s2) {
|
|
70
|
-
return new Promise((r,
|
|
71
|
-
const
|
|
72
|
-
t2 ? "所有用户" === t2 ? (
|
|
69
|
+
return new Promise((r, a) => {
|
|
70
|
+
const i = [];
|
|
71
|
+
t2 ? "所有用户" === t2 ? (i.push(this.packageAllUser()), r(i)) : "所有工作组人员" === t2 ? (i.push(this.packageAllWgUser()), r(i)) : this.getSelectUsers(e2, t2, s2).then((e3) => {
|
|
73
72
|
r(e3);
|
|
74
73
|
}).catch((e3) => {
|
|
75
|
-
|
|
76
|
-
}) : r(
|
|
74
|
+
a(e3);
|
|
75
|
+
}) : r(i);
|
|
77
76
|
});
|
|
78
77
|
} };
|
|
79
78
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Plus as e, Delete as t } from "@element-plus/icons-vue";
|
|
2
|
-
import { resolveComponent as l, openBlock as i, createElementBlock as a, createVNode as r, withCtx as n, createElementVNode as s, toDisplayString as o, createBlock as d, createTextVNode as m, createCommentVNode as
|
|
2
|
+
import { resolveComponent as l, openBlock as i, createElementBlock as a, createVNode as r, withCtx as n, createElementVNode as s, toDisplayString as o, createBlock as d, createTextVNode as m, createCommentVNode as u } from "vue";
|
|
3
3
|
import "./search-result.vue2.mjs";
|
|
4
|
-
import
|
|
4
|
+
import c from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
5
|
const p = { data() {
|
|
6
6
|
let l2 = this.height;
|
|
7
7
|
l2 = l2.substring(0, l2.indexOf("px"));
|
|
@@ -32,9 +32,9 @@ const p = { data() {
|
|
|
32
32
|
let t2 = e2.superiorDeptNameFullPath;
|
|
33
33
|
return t2 || (this.language && "cn" !== this.language && (t2 = e2.mainDepartmentEnName), t2 || e2.mainDepartmentName);
|
|
34
34
|
} }, emits: ["removeUser", "addUser", "selectResult", "resultRowDblclick"] }, h = { style: { height: "100%" } }, w = { class: "empty_center_area", style: { height: "395px" } }, g = { class: "empty_notAvailable", style: { width: "120px", height: "120px" } }, f = { class: "empty_notAvailable_text" }, x = { key: 0 }, b = ["title"], y = ["title"], D = { key: 1 }, v = ["title"], U = ["title"];
|
|
35
|
-
const N =
|
|
35
|
+
const N = c(p, [["render", function(e2, t2, c2, p2, N2, k) {
|
|
36
36
|
const R = l("el-radio"), $ = l("el-table-column"), _ = l("el-button"), I = l("el-table");
|
|
37
|
-
return i(), a("div", h, [r(I, { ref: "superGrid", data:
|
|
37
|
+
return i(), a("div", h, [r(I, { ref: "superGrid", data: c2.gridData, "max-height": N2.myHeight, "row-class-name": k.tableRowClassName, border: "", fit: "", "row-key": "id", stripe: "", onRowClick: k.rowClick, onRowDblclick: k.rowDblclick }, { empty: n(() => [s("div", w, [s("div", g, [s("span", f, o(e2.$t("imatrixUIPromptMessage.NoContent")), 1)])])]), default: n(() => [false === c2.multiple ? (i(), d($, { key: 0, fixed: "", width: "60" }, { default: n((e3) => [r(R, { modelValue: N2.singleUserIndex, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => N2.singleUserIndex = e4), label: e3.$index, onChange: k.selectUser }, { default: n(() => [m(o(e3.$index + 1), 1)]), _: 2 }, 1032, ["modelValue", "label", "onChange"])]), _: 1 })) : u("", true), c2.multiple && c2.isSearchResult ? (i(), d($, { key: 1, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: n((e3) => [s("div", null, [r(_, { disabled: k.isDisable(e3.row), icon: N2.ElIconPlus, circle: "", size: "default", type: "primary", onClick: (t3) => k.addUser(e3.$index, e3.row) }, null, 8, ["disabled", "icon", "onClick"])])]), _: 1 }, 8, ["label"])) : u("", true), c2.multiple && !c2.isSearchResult ? (i(), d($, { key: 2, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "right", width: "60px" }, { default: n((e3) => [s("div", null, [r(_, { icon: N2.ElIconDelete, circle: "", size: "default", type: "danger", onClick: (t3) => k.removeUser(e3.$index, e3.row) }, null, 8, ["icon", "onClick"])])]), _: 1 }, 8, ["label"])) : u("", true), r($, { label: e2.$t("departmentUserTreeInline.name"), prop: "name" }, { default: n((e3) => [e3.row.enName && "" !== e3.row.enName.trim() ? (i(), a("div", x, [s("div", { title: e3.row.name + "(" + e3.row.enName + ")[" + e3.row.loginName + "]" }, [s("span", null, o(e3.row.name + "(" + e3.row.enName + ")") + "[" + o(e3.row.loginName) + "]", 1)], 8, b), s("div", { class: "dept-name-wrap", title: k.getDeptName(e3.row) }, o(k.getDeptName(e3.row)), 9, y)])) : (i(), a("div", D, [s("div", { title: e3.row.name + "[" + e3.row.loginName + "]" }, [s("span", null, o(e3.row.name) + "[" + o(e3.row.loginName) + "]", 1)], 8, v), s("div", { class: "dept-name-wrap", title: k.getDeptName(e3.row) }, o(k.getDeptName(e3.row)), 9, U)]))]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "max-height", "row-class-name", "onRowClick", "onRowDblclick"])]);
|
|
38
38
|
}]]);
|
|
39
39
|
export {
|
|
40
40
|
N as default
|
|
@@ -94,10 +94,10 @@ const P = { style: { display: "flex" } }, J = { style: { flex: "0 0 20%", "text-
|
|
|
94
94
|
l2.push(e4.id);
|
|
95
95
|
}), ue.value.forEach((l3) => {
|
|
96
96
|
const t2 = JSON.parse(l3.data);
|
|
97
|
-
E(e3, t2
|
|
97
|
+
E(e3, t2);
|
|
98
98
|
}), ve.value = true, l2.length > 0 ? N(l2).then((l3) => {
|
|
99
99
|
l3 && l3.forEach((l4) => {
|
|
100
|
-
E(e3, l4
|
|
100
|
+
E(e3, l4);
|
|
101
101
|
}), ve.value = false, e3.userIds.length > 0 ? te("close", e3) : $({ message: ge("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" });
|
|
102
102
|
}).catch(() => {
|
|
103
103
|
ve.value = false;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { $on as t } from "../../utils/gogocodeTransfer.mjs";
|
|
2
2
|
import e from "./dynamic-source-select-service.mjs";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import i from "./events.mjs";
|
|
4
|
+
import l from "../../src/utils/eventBus.mjs";
|
|
5
5
|
import { getPropNameWhenJoinTable as s, setEntityFieldValue as a, getEntityFieldValue as o } from "../../src/utils/util.mjs";
|
|
6
6
|
import { CopyDocument as n } from "@element-plus/icons-vue";
|
|
7
7
|
import u from "clipboard";
|
|
8
|
-
import { resolveComponent as r, openBlock as h, createElementBlock as p, createVNode as
|
|
8
|
+
import { resolveComponent as r, openBlock as h, createElementBlock as p, createVNode as c, withCtx as m, createElementVNode as d, withKeys as v, withModifiers as b, mergeProps as f, createSlots as y, Fragment as g, normalizeStyle as A, renderList as _, createBlock as C, normalizeClass as S, toDisplayString as V, createTextVNode as I } from "vue";
|
|
9
9
|
import "./dynamic-source-select.vue2.mjs";
|
|
10
10
|
import "./dynamic-source-select.vue3.mjs";
|
|
11
|
-
import
|
|
12
|
-
const
|
|
11
|
+
import w from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
12
|
+
const N = { name: "DynamicSourceSelect", components: {}, model: { prop: "value", event: "input" }, props: { column: { type: Object, default: null }, value: { type: [String, Boolean, Number, Array], default: null }, baseProps: { type: Object, default: null }, entity: { type: Object, default: null }, options: { type: Object, default: null }, tableName: { type: String, default: null }, isJoinTable: { type: Boolean, default: false }, parent: { type: Object, default: null }, listCode: { type: String, default: null }, formCode: { type: String, default: null }, listToolbarFormData: { type: Object, default: () => ({}) }, fullWidth: { type: Boolean, default: true }, clearable: { type: Boolean, default: true }, size: { type: String, default: "default" }, allowCreate: { type: Boolean, default: false }, analysisArea: { type: Number, default: null }, placeholder: { type: String, default: null }, optionWidth: { default: 0 }, isSearch: { type: Boolean, default: false } }, inject: { isPageInfo: { value: "isPageInfo", default: false } }, data() {
|
|
13
13
|
const t2 = Object.assign({}, this.baseProps);
|
|
14
14
|
let e2;
|
|
15
15
|
this.entity && (e2 = JSON.stringify(this.entity));
|
|
16
|
-
let
|
|
17
|
-
void 0 !== this.baseProps.multiple && true === this.baseProps.multiple && void 0 !== this.value && null !== this.value && Array.isArray(this.value) && (
|
|
18
|
-
const
|
|
19
|
-
|
|
16
|
+
let i2 = [];
|
|
17
|
+
void 0 !== this.baseProps.multiple && true === this.baseProps.multiple && void 0 !== this.value && null !== this.value && Array.isArray(this.value) && (i2 = JSON.parse(JSON.stringify(this.value)));
|
|
18
|
+
const l2 = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime();
|
|
19
|
+
let s2 = t2.optionDescriptionPosition && "default" !== t2.optionDescriptionPosition;
|
|
20
|
+
return { markValue: e2, optionItems: [], myProps: t2, valueSetOptions: [], dynamicDataSourceCode: "", loading: false, valueAttribute: null, remote: false, additionalParameterStr: this.options.additionalParameter, isLoaded: false, watchAttr: null, backendUrl: null, descriptionAttribute: null, queryParam: {}, lastValues: i2, optionItemList: [], checkEmptyValue: false, CopyDocument: n, copyBtnId: l2, isNewLineMode: s2 };
|
|
20
21
|
}, watch: { baseProps: { deep: true, handler(t2) {
|
|
21
22
|
this.myProps = Object.assign({}, t2);
|
|
22
23
|
} } }, created() {
|
|
@@ -35,7 +36,7 @@ const O = { name: "DynamicSourceSelect", components: {}, model: { prop: "value",
|
|
|
35
36
|
}
|
|
36
37
|
if (this.isLoaded = true, !e3.defaultSelect || void 0 !== this.value && null !== this.value && "" !== this.value || this.setValues(this.optionItems[0][this.valueAttribute]), 1 !== this.analysisArea && this.remote) {
|
|
37
38
|
const e4 = this;
|
|
38
|
-
t(
|
|
39
|
+
t(l, "remoteMethod", () => {
|
|
39
40
|
e4.remoteMethod("");
|
|
40
41
|
});
|
|
41
42
|
}
|
|
@@ -54,24 +55,24 @@ const O = { name: "DynamicSourceSelect", components: {}, model: { prop: "value",
|
|
|
54
55
|
}), e2.on("error", (t3) => {
|
|
55
56
|
console.error("复制失败", t3);
|
|
56
57
|
});
|
|
57
|
-
}, methods: { ...e, ...
|
|
58
|
+
}, methods: { ...e, ...i, blurEvent(t2) {
|
|
58
59
|
this.$emit("blur", t2);
|
|
59
60
|
}, changeEvent(t2) {
|
|
60
61
|
this.inputValue(t2), this.change(t2);
|
|
61
62
|
}, getClassOptionTitle(t2) {
|
|
62
63
|
if (null != t2 && "" !== t2 && t2.length > 0) {
|
|
63
64
|
let e2 = "";
|
|
64
|
-
return "string" == typeof t2 ? this.descriptionAttribute ? this.optionItems.forEach((
|
|
65
|
-
|
|
66
|
-
}) : this.optionItems.forEach((
|
|
67
|
-
|
|
68
|
-
}) : this.descriptionAttribute ? (this.optionItems.forEach((
|
|
65
|
+
return "string" == typeof t2 ? this.descriptionAttribute ? this.optionItems.forEach((i2) => {
|
|
66
|
+
i2[this.valueAttribute] === t2 && (e2 = i2._label_ + i2._description_);
|
|
67
|
+
}) : this.optionItems.forEach((i2) => {
|
|
68
|
+
i2[this.valueAttribute] === t2 && (e2 = i2._label_);
|
|
69
|
+
}) : this.descriptionAttribute ? (this.optionItems.forEach((i2) => {
|
|
69
70
|
t2.forEach((t3) => {
|
|
70
|
-
|
|
71
|
+
i2[this.valueAttribute] === t3 && (e2 = e2 + i2._label_ + ",");
|
|
71
72
|
});
|
|
72
|
-
}), e2 = e2.slice(0, e2.length - 1)) : (this.optionItems.forEach((
|
|
73
|
+
}), e2 = e2.slice(0, e2.length - 1)) : (this.optionItems.forEach((i2) => {
|
|
73
74
|
t2.forEach((t3) => {
|
|
74
|
-
|
|
75
|
+
i2[this.valueAttribute] === t3 && (e2 = e2 + i2._label_ + ",");
|
|
75
76
|
});
|
|
76
77
|
}), e2 = e2.slice(0, e2.length - 1)), e2;
|
|
77
78
|
}
|
|
@@ -83,14 +84,14 @@ const O = { name: "DynamicSourceSelect", components: {}, model: { prop: "value",
|
|
|
83
84
|
else {
|
|
84
85
|
const e3 = [];
|
|
85
86
|
for (let t3 = 0; t3 < this.optionItems.length; t3++) {
|
|
86
|
-
const
|
|
87
|
-
e3.push(
|
|
87
|
+
const i2 = this.optionItems[t3];
|
|
88
|
+
e3.push(i2[this.valueAttribute]);
|
|
88
89
|
}
|
|
89
90
|
t2 = e3;
|
|
90
91
|
}
|
|
91
92
|
this.$emit("update:value", t2), !this.remote || null != t2 && "" !== t2 || this.remoteQueryMethod(t2), this.setValues(t2, e2);
|
|
92
93
|
}, packageDynamicDataSourceInfo(t2, e2) {
|
|
93
|
-
return new Promise((
|
|
94
|
+
return new Promise((i2, l2) => {
|
|
94
95
|
this.findDynamicDataSourceByCode(t2, this.entity, e2, this.additionalParameterStr, this.backendUrl).then((t3) => {
|
|
95
96
|
if (t3) {
|
|
96
97
|
if (t3.options) {
|
|
@@ -109,23 +110,23 @@ const O = { name: "DynamicSourceSelect", components: {}, model: { prop: "value",
|
|
|
109
110
|
}
|
|
110
111
|
} else
|
|
111
112
|
this.optionItems = [];
|
|
112
|
-
t3.valueAttribute && (this.valueAttribute = t3.valueAttribute), t3.descriptionAttribute && (this.descriptionAttribute = t3.descriptionAttribute), this.valueAttribute = this.getValueAttribute(), this.watchAttr = t3.watchAttr, this.$emit("load-completed", t3),
|
|
113
|
+
t3.valueAttribute && (this.valueAttribute = t3.valueAttribute), t3.descriptionAttribute && (this.descriptionAttribute = t3.descriptionAttribute), this.valueAttribute = this.getValueAttribute(), this.watchAttr = t3.watchAttr, this.$emit("load-completed", t3), i2(t3);
|
|
113
114
|
} else
|
|
114
|
-
|
|
115
|
+
i2();
|
|
115
116
|
}).catch((t3) => {
|
|
116
|
-
|
|
117
|
+
l2(t3);
|
|
117
118
|
});
|
|
118
119
|
});
|
|
119
120
|
}, remoteQuery(t2, e2) {
|
|
120
121
|
if (null != t2 || null != e2) {
|
|
121
|
-
const
|
|
122
|
-
if (null != t2 && (
|
|
123
|
-
"[object Array]" === Object.prototype.toString.apply(e2) ?
|
|
122
|
+
const i2 = { _listCode: this.listCode, _formCode: this.formCode, _tableName: this.tableName };
|
|
123
|
+
if (null != t2 && (i2.searchText = t2), null != e2)
|
|
124
|
+
"[object Array]" === Object.prototype.toString.apply(e2) ? i2.watchAttrValue = e2.join(",") : i2.watchAttrValue = e2 + "";
|
|
124
125
|
else if (this.entity) {
|
|
125
126
|
const t3 = this.entity[this.watchAttr];
|
|
126
|
-
null != t3 && ("[object Array]" === Object.prototype.toString.apply(t3) ?
|
|
127
|
+
null != t3 && ("[object Array]" === Object.prototype.toString.apply(t3) ? i2.watchAttrValue = t3.join(",") : i2.watchAttrValue = t3 + "");
|
|
127
128
|
}
|
|
128
|
-
this.parent && (
|
|
129
|
+
this.parent && (i2.parent = this.parent), this.loading = true, this.packageDynamicDataSourceInfo(this.dynamicDataSourceCode, i2).then((t3) => {
|
|
129
130
|
this.loading = false;
|
|
130
131
|
}).catch((t3) => {
|
|
131
132
|
this.loading = false;
|
|
@@ -141,86 +142,86 @@ const O = { name: "DynamicSourceSelect", components: {}, model: { prop: "value",
|
|
|
141
142
|
return this.valueAttribute && "[label]" !== this.valueAttribute ? this.valueAttribute : "_label_";
|
|
142
143
|
}, setValues(t2, e2) {
|
|
143
144
|
this.valueSetOptions && this.valueSetOptions.length > 0 && (void 0 !== this.baseProps.multiple && true === this.baseProps.multiple ? this.setColumnValueWhenMulti(t2, e2) : this.valueSetOptions.forEach((e3) => {
|
|
144
|
-
const
|
|
145
|
-
let
|
|
146
|
-
this.optionItems &&
|
|
145
|
+
const i2 = e3.columnName;
|
|
146
|
+
let l2;
|
|
147
|
+
this.optionItems && i2 && (l2 = this.getTargetColumnValue(t2, i2));
|
|
147
148
|
let o2 = null;
|
|
148
149
|
const n2 = e3.valueColumn;
|
|
149
|
-
n2 && (o2 = n2.name, true === this.isSql && (o2 = n2.dbColumnName, o2 = s(o2, this.isJoinTable, this.tableName))), this.entity && o2 && null !== o2 && "" !== o2 && a(this.entity, o2,
|
|
150
|
+
n2 && (o2 = n2.name, true === this.isSql && (o2 = n2.dbColumnName, o2 = s(o2, this.isJoinTable, this.tableName))), this.entity && o2 && null !== o2 && "" !== o2 && a(this.entity, o2, l2);
|
|
150
151
|
const u2 = this.getSelectedOptionItem(t2);
|
|
151
|
-
this.$emit("set-value", { value:
|
|
152
|
+
this.$emit("set-value", { value: l2, sourceColumnName: i2, targetColumnName: o2, options: this.optionItems, valueAttribute: this.valueAttribute, selectedItem: u2 });
|
|
152
153
|
}));
|
|
153
|
-
}, setColumnValue(t2, e2,
|
|
154
|
-
let
|
|
155
|
-
const o2 =
|
|
156
|
-
o2 && (
|
|
154
|
+
}, setColumnValue(t2, e2, i2) {
|
|
155
|
+
let l2 = null;
|
|
156
|
+
const o2 = i2.valueColumn;
|
|
157
|
+
o2 && (l2 = o2.name, true === this.isSql && (l2 = o2.dbColumnName, l2 = s(l2, this.isJoinTable, this.tableName))), this.entity && l2 && null !== l2 && "" !== l2 && a(this.entity, l2, e2), this.$emit("set-value", { value: e2, sourceColumnName: t2, targetColumnName: l2, options: this.optionItems, valueAttribute: this.valueAttribute });
|
|
157
158
|
}, setColumnValueWhenMulti(t2, e2) {
|
|
158
|
-
let
|
|
159
|
+
let i2, l2 = false;
|
|
159
160
|
if (this.valueSetOptions.forEach((e3) => {
|
|
160
161
|
const s2 = e3.columnName;
|
|
161
162
|
if (s2 === this.valueAttribute) {
|
|
162
163
|
let a2;
|
|
163
164
|
if (this.optionItems && s2 && (a2 = this.getTargetColumnValue(t2, s2)), this.setColumnValue(s2, a2, e3), this.lastValues.length < t2.length)
|
|
164
|
-
|
|
165
|
+
l2 = true;
|
|
165
166
|
else if (this.lastValues.length > t2.length) {
|
|
166
|
-
|
|
167
|
+
l2 = false;
|
|
167
168
|
const e4 = [...this.lastValues, ...t2], s3 = new Set(e4), a3 = Array.from(s3), o2 = [...a3.filter((t3) => !this.lastValues.includes(t3)), ...a3.filter((e5) => !t2.includes(e5))];
|
|
168
|
-
o2 && o2.length > 0 && (
|
|
169
|
+
o2 && o2.length > 0 && (i2 = o2[0]);
|
|
169
170
|
}
|
|
170
171
|
this.lastValues = JSON.parse(JSON.stringify(t2));
|
|
171
172
|
}
|
|
172
|
-
}),
|
|
173
|
-
const
|
|
173
|
+
}), l2) {
|
|
174
|
+
const i3 = false;
|
|
174
175
|
if (e2)
|
|
175
|
-
this.setAllTagValue(
|
|
176
|
+
this.setAllTagValue(i3);
|
|
176
177
|
else {
|
|
177
|
-
const e3 = t2[t2.length - 1],
|
|
178
|
-
|
|
178
|
+
const e3 = t2[t2.length - 1], l3 = this.optionItems.filter((t3) => t3[this.valueAttribute] === e3);
|
|
179
|
+
l3 && l3.length > 0 && this.setTagValue(null, i3, l3[0]);
|
|
179
180
|
}
|
|
180
181
|
} else {
|
|
181
182
|
const t3 = true;
|
|
182
|
-
e2 ? this.setAllTagValue(t3) : this.setTagValue(
|
|
183
|
+
e2 ? this.setAllTagValue(t3) : this.setTagValue(i2, t3);
|
|
183
184
|
}
|
|
184
185
|
}, setAllTagValue(t2) {
|
|
185
186
|
this.valueSetOptions && this.valueSetOptions.length > 0 && this.valueSetOptions.forEach((e2) => {
|
|
186
|
-
const
|
|
187
|
-
if (
|
|
188
|
-
let
|
|
187
|
+
const i2 = e2.columnName;
|
|
188
|
+
if (i2 !== this.valueAttribute) {
|
|
189
|
+
let l2 = null;
|
|
189
190
|
const a2 = e2.valueColumn;
|
|
190
191
|
let o2;
|
|
191
|
-
if (a2 && (
|
|
192
|
+
if (a2 && (l2 = a2.name, true === this.isSql && (l2 = a2.dbColumnName, l2 = s(l2, this.isJoinTable, this.tableName))), l2)
|
|
192
193
|
if (t2)
|
|
193
194
|
o2 = null;
|
|
194
195
|
else {
|
|
195
196
|
let t3 = "";
|
|
196
197
|
this.optionItems && this.optionItems.length > 0 && (this.optionItems.forEach((e3) => {
|
|
197
|
-
const
|
|
198
|
-
t3 = null != t3 && "" !== t3 ? t3 + "," +
|
|
198
|
+
const l3 = e3[i2];
|
|
199
|
+
t3 = null != t3 && "" !== t3 ? t3 + "," + l3 : l3;
|
|
199
200
|
}), o2 = t3);
|
|
200
201
|
}
|
|
201
|
-
this.setTargetColumnValue(
|
|
202
|
+
this.setTargetColumnValue(i2, l2, o2);
|
|
202
203
|
}
|
|
203
204
|
});
|
|
204
|
-
}, setTargetColumnValue(t2, e2,
|
|
205
|
-
this.entity && e2 && null !== e2 && "" !== e2 && a(this.entity, e2,
|
|
206
|
-
}, setTagValue(t2, e2,
|
|
207
|
-
this.valueSetOptions && this.valueSetOptions.length > 0 && this.valueSetOptions.forEach((
|
|
208
|
-
const a2 =
|
|
205
|
+
}, setTargetColumnValue(t2, e2, i2) {
|
|
206
|
+
this.entity && e2 && null !== e2 && "" !== e2 && a(this.entity, e2, i2), this.$emit("set-value", { value: i2, sourceColumnName: t2, targetColumnName: e2, options: this.optionItems, valueAttribute: this.valueAttribute });
|
|
207
|
+
}, setTagValue(t2, e2, i2) {
|
|
208
|
+
this.valueSetOptions && this.valueSetOptions.length > 0 && this.valueSetOptions.forEach((l2) => {
|
|
209
|
+
const a2 = l2.columnName;
|
|
209
210
|
if (a2 !== this.valueAttribute) {
|
|
210
211
|
let n2 = null;
|
|
211
|
-
const u2 =
|
|
212
|
+
const u2 = l2.valueColumn;
|
|
212
213
|
let r2;
|
|
213
214
|
if (u2 && (n2 = u2.name, true === this.isSql && (n2 = u2.dbColumnName, n2 = s(n2, this.isJoinTable, this.tableName))), n2) {
|
|
214
|
-
const
|
|
215
|
+
const l3 = o(this.entity, n2);
|
|
215
216
|
if (e2) {
|
|
216
217
|
const e3 = this.value.indexOf(t2);
|
|
217
|
-
if (null !=
|
|
218
|
-
let t3 =
|
|
219
|
-
"string" == typeof
|
|
218
|
+
if (null != l3 && "" !== l3) {
|
|
219
|
+
let t3 = l3;
|
|
220
|
+
"string" == typeof l3 && (t3 = l3.split(",")), t3.splice(e3, 1), r2 = t3.join(",");
|
|
220
221
|
}
|
|
221
222
|
} else {
|
|
222
223
|
let t3;
|
|
223
|
-
|
|
224
|
+
i2 && (t3 = i2[a2]), r2 = null != l3 && "" !== l3 ? l3 + "," + t3 : t3;
|
|
224
225
|
}
|
|
225
226
|
}
|
|
226
227
|
this.setTargetColumnValue(a2, n2, r2);
|
|
@@ -228,18 +229,18 @@ const O = { name: "DynamicSourceSelect", components: {}, model: { prop: "value",
|
|
|
228
229
|
});
|
|
229
230
|
}, getTargetColumnValue(t2, e2) {
|
|
230
231
|
if (t2) {
|
|
231
|
-
let
|
|
232
|
+
let i2 = "";
|
|
232
233
|
if (void 0 !== this.baseProps.multiple && true === this.baseProps.multiple && Array.isArray(t2)) {
|
|
233
|
-
let
|
|
234
|
+
let l2 = 0;
|
|
234
235
|
t2.forEach((s2) => {
|
|
235
236
|
const a2 = this.optionItems.filter((t3) => t3[this.valueAttribute] === s2);
|
|
236
|
-
a2 && a2.length > 0 && (
|
|
237
|
+
a2 && a2.length > 0 && (i2 += a2[0][e2], l2 < t2.length - 1 && (i2 += ","), l2++);
|
|
237
238
|
});
|
|
238
239
|
} else {
|
|
239
|
-
const
|
|
240
|
-
|
|
240
|
+
const l2 = this.optionItems.filter((e3) => e3[this.valueAttribute] === t2);
|
|
241
|
+
l2 && l2.length > 0 && (i2 = l2[0][e2]);
|
|
241
242
|
}
|
|
242
|
-
return
|
|
243
|
+
return i2;
|
|
243
244
|
}
|
|
244
245
|
}, clearMarkValue() {
|
|
245
246
|
if (this.markValue && this.entity) {
|
|
@@ -256,21 +257,21 @@ const O = { name: "DynamicSourceSelect", components: {}, model: { prop: "value",
|
|
|
256
257
|
}, getSelectItemsTitle(t2) {
|
|
257
258
|
if (null != t2 && "" !== t2 && t2.length > 0) {
|
|
258
259
|
let e2 = "";
|
|
259
|
-
return "string" == typeof t2 ? this.optionItems.length > 0 ? this.optionItems.forEach((
|
|
260
|
-
|
|
261
|
-
}) : e2 = t2 : this.optionItems.length > 0 ? (this.optionItems.forEach((
|
|
260
|
+
return "string" == typeof t2 ? this.optionItems.length > 0 ? this.optionItems.forEach((i2) => {
|
|
261
|
+
i2[this.valueAttribute] === t2 && (e2 = i2._label_);
|
|
262
|
+
}) : e2 = t2 : this.optionItems.length > 0 ? (this.optionItems.forEach((i2) => {
|
|
262
263
|
t2.forEach((t3) => {
|
|
263
|
-
|
|
264
|
+
i2[this.valueAttribute] === t3 && (e2 = e2 + i2._label_ + ",");
|
|
264
265
|
});
|
|
265
266
|
}), e2 = e2.slice(0, e2.length - 1)) : e2 = t2.join(","), e2;
|
|
266
267
|
}
|
|
267
|
-
} }, emits: ["set-default-value", "load-completed", "set-value", "update:value", "focus", "blur", "visible-change", "change", "chnageEmptyValue"] },
|
|
268
|
-
const
|
|
269
|
-
const o2 = r("CopyDocument"), n2 = r("el-icon"), u2 = r("el-checkbox"),
|
|
270
|
-
return h(), p("span",
|
|
271
|
-
}, ["stop"]), ["space"])) }, [
|
|
272
|
-
}, ["stop"]), ["space"])), onBlur: e2[2] || (e2[2] = (t3) => a2.blurEvent(t3)), onChange: a2.changeEvent, onClear: t2.clear, onFocus: t2.focus, onVisibleChange: t2.visibleChange, onRemoveTag: e2[3] || (e2[3] = (e3) => t2.removeTag(s2.remote, e3)) }), y({ default:
|
|
273
|
-
}], ["__scopeId", "data-v-
|
|
268
|
+
} }, emits: ["set-default-value", "load-completed", "set-value", "update:value", "focus", "blur", "visible-change", "change", "chnageEmptyValue"] }, O = { class: "select-top-span" }, k = { style: { "padding-left": "5px" } }, P = { style: { color: "#8492a6", fontSize: "13px" } }, E = { style: { color: "#8492a6", fontSize: "13px" } };
|
|
269
|
+
const T = w(N, [["render", function(t2, e2, i2, l2, s2, a2) {
|
|
270
|
+
const o2 = r("CopyDocument"), n2 = r("el-icon"), u2 = r("el-checkbox"), w2 = r("el-option"), N2 = r("el-select"), T2 = r("el-popover");
|
|
271
|
+
return h(), p("span", O, [c(T2, { placement: "top", trigger: "hover" }, { reference: m(() => [d("div", { onKeydown: e2[4] || (e2[4] = v(b(() => {
|
|
272
|
+
}, ["stop"]), ["space"])) }, [c(N2, f({ ref: "dynamicDataSourceRef", "allow-create": i2.allowCreate, clearable: i2.clearable, filterable: s2.remote, loading: s2.loading, "model-value": i2.value, placeholder: i2.placeholder, remote: s2.remote, "remote-method": a2.remoteMethod, "reserve-keyword": true, size: i2.size, style: i2.fullWidth ? { width: "100%", height: "100%" } : {}, title: a2.getClassOptionTitle(i2.value), "value-key": s2.valueAttribute, "default-first-option": "" }, s2.myProps, { "remote-show-suffix": "", onKeydown: e2[1] || (e2[1] = v(b(() => {
|
|
273
|
+
}, ["stop"]), ["space"])), onBlur: e2[2] || (e2[2] = (t3) => a2.blurEvent(t3)), onChange: a2.changeEvent, onClear: t2.clear, onFocus: t2.focus, onVisibleChange: t2.visibleChange, onRemoveTag: e2[3] || (e2[3] = (e3) => t2.removeTag(s2.remote, e3)) }), y({ default: m(() => [s2.descriptionAttribute ? (h(), p(g, { key: 0 }, [i2.optionWidth > 0 ? (h(), p("div", { key: 0, style: A({ width: i2.optionWidth + "px" }) }, [(h(true), p(g, null, _(s2.optionItemList, (t3) => (h(), C(w2, { key: t3.value, label: t3._label_, title: t3._description_ ? t3._description_ : t3._label_, value: i2.baseProps.multiple && "saveAll" === t3.value ? t3.value : t3[s2.valueAttribute], class: S({ "option-description-newLine": s2.isNewLineMode }) }, { default: m(() => [d("div", { style: A({ display: "flex", flexDirection: s2.isNewLineMode ? "column" : "row" }) }, [d("span", null, V(t3._label_), 1), d("span", P, V(t3._description_ ? t3._description_ : t3._label_), 1)], 4)]), _: 2 }, 1032, ["label", "title", "value", "class"]))), 128))], 4)) : (h(true), p(g, { key: 1 }, _(s2.optionItemList, (t3) => (h(), C(w2, { key: t3.value, label: t3._label_, title: t3._description_ ? t3._description_ : t3._label_, value: i2.baseProps.multiple && "saveAll" === t3.value ? t3.value : t3[s2.valueAttribute], class: S({ "option-description-newLine": s2.isNewLineMode }) }, { default: m(() => [d("div", { style: A({ display: "flex", flexDirection: s2.isNewLineMode ? "column" : "row", justifyContent: s2.isNewLineMode ? "flex-start" : "space-between" }) }, [d("span", null, V(t3._label_), 1), d("span", E, V(t3._description_ ? t3._description_ : t3._label_), 1)], 4)]), _: 2 }, 1032, ["label", "title", "value", "class"]))), 128))], 64)) : (h(), p(g, { key: 1 }, [i2.optionWidth > 0 ? (h(), p("div", { key: 0, style: A({ width: i2.optionWidth + "px", position: "relative" }) }, [(h(true), p(g, null, _(s2.optionItemList, (t3) => (h(), C(w2, { key: t3.value, label: t3._label_, value: i2.baseProps.multiple && "saveAll" === t3.value ? t3.value : t3[s2.valueAttribute] }, null, 8, ["label", "value"]))), 128))], 4)) : (h(true), p(g, { key: 1 }, _(s2.optionItemList, (t3) => (h(), C(w2, { key: t3.value, label: t3._label_, value: i2.baseProps.multiple && "saveAll" === t3.value ? t3.value : t3[s2.valueAttribute] }, null, 8, ["label", "value"]))), 128))], 64))]), _: 2 }, [i2.isSearch ? { name: "header", fn: m(() => [c(u2, { modelValue: s2.checkEmptyValue, "onUpdate:modelValue": e2[0] || (e2[0] = (t3) => s2.checkEmptyValue = t3), onChange: a2.changeEmptyValue }, { default: m(() => [I(V(t2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), key: "0" } : void 0]), 1040, ["allow-create", "clearable", "filterable", "loading", "model-value", "placeholder", "remote", "remote-method", "size", "style", "title", "value-key", "onChange", "onClear", "onFocus", "onVisibleChange"])], 32)]), default: m(() => [d("span", k, [c(n2, { id: s2.copyBtnId }, { default: m(() => [c(o2)]), _: 1 }, 8, ["id"])])]), _: 1 })]);
|
|
274
|
+
}], ["__scopeId", "data-v-2004b338"]]);
|
|
274
275
|
export {
|
|
275
|
-
|
|
276
|
+
T as default
|
|
276
277
|
};
|