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,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("vue"), l = require("../utils.cjs"), t = e.defineComponent({ __name: "grid-radio-input", props: { options: { type: Array, default: () => [] }, valueSetOptions: { type: Object, default: false }, disabled: { type: Boolean, default: false }, modelValue: { type: [String, Number, Boolean], default: "" }, prop: { type: String, default: "" }, entity: { type: Object, default: () => ({}) } }, emits: ["update:modelValue", "cellEvent"], setup(t2, { emit: o }) {
|
|
3
|
-
const n = t2, a = o, u = e.ref(n.modelValue), i = (e2) => {
|
|
4
|
-
if (u.value = e2, n.valueSetOptions && n.valueSetOptions.length > 0) {
|
|
5
|
-
const l2 = function(e3, l3) {
|
|
6
|
-
if (!l3)
|
|
7
|
-
return [];
|
|
8
|
-
return l3.find((l4) => l4.value === e3);
|
|
9
|
-
}(e2, n.options);
|
|
10
|
-
l2 && n.valueSetOptions.forEach((e3) => {
|
|
11
|
-
e3.valueField !== n.prop && (n.entity[e3.valueField] = l2[e3.columnName]);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
a("update:modelValue", e2), a("cellEvent", "change", e2);
|
|
15
|
-
};
|
|
16
|
-
return (o2, r) => {
|
|
17
|
-
const d = e.resolveComponent("el-radio"), p = e.resolveComponent("el-radio-group");
|
|
18
|
-
return e.openBlock(), e.createBlock(p, { ref: "item", modelValue: u.value, "onUpdate:modelValue": r[0] || (r[0] = (e2) => u.value = e2), disabled: t2.disabled, title: (s = u.value, l.getClassOptionTitleCommon(s, n.options)), onBlur: r[1] || (r[1] = (e2) => a("cellEvent", "blur", e2)), onChange: i, onClear: r[2] || (r[2] = (e2) => a("cellEvent", "clear", e2)), onFocus: r[3] || (r[3] = (e2) => a("cellEvent", "focus", e2)), onInput: r[4] || (r[4] = (e2) => a("cellEvent", "input", e2)), onVisibleChange: r[5] || (r[5] = (e2) => a("cellEvent", "visible-change", e2)) }, { default: e.withCtx(() => [(e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(t2.options, (l2) => (e.openBlock(), e.createBlock(d, { key: l2.value, value: l2.value }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(l2.label), 1)]), _: 2 }, 1032, ["value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "title"]);
|
|
19
|
-
var s;
|
|
20
|
-
};
|
|
21
|
-
} });
|
|
22
|
-
module.exports = t;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("vue"), t = require("element-plus"), a = require("../normal-column-content.vue.cjs"), l = require("../../../src/components/Card/index.cjs"), o = require("../../../src/components/Scrollbar/index.vue.cjs"), r = require("../store.cjs"), n = require("../apis.cjs"), u = require("../eventBus.cjs"), i = require("vue-i18n"), d = require("@element-plus/icons-vue");
|
|
3
|
-
function c(t2) {
|
|
4
|
-
return "function" == typeof t2 || "[object Object]" === Object.prototype.toString.call(t2) && !e.isVNode(t2);
|
|
5
|
-
}
|
|
6
|
-
const s = e.defineComponent({ name: "MobileTableCard", components: { NormalColumnContent: a, CardView: l, Scrollbar: o }, mixins: [n.apisMixin], props: { showFieldCount: { type: [Number, void 0], default: () => 5 }, columns: { type: Array, default: () => [] }, data: { type: Array, default: () => [] }, getColumnComponentData: { type: [Function, void 0], default: void 0 }, currentPage: { type: [Number], default: 1 }, pageSize: { type: [Number], default: 20 }, pageTotal: { type: [Number], default: 0 }, isStackingPaginatedData: { type: Boolean, default: () => false }, listCode: { type: String, default: null }, isEnableEdit: { type: Boolean, default: () => false } }, setup(n2, s2) {
|
|
7
|
-
e.defineEmits(["currentChange", "update:current-page", "select", "selectionChange", "rowDblclick", "rowClick"]);
|
|
8
|
-
const { t: p } = i.useI18n(), { attrs: v, emit: g, expose: m } = s2, h = e.ref(false), f = e.ref([]), b = e.ref([]), w = e.ref(void 0), y = e.ref(void 0), C = e.ref(false), x = e.ref([]), N = e.ref(false), D = e.ref(void 0), V = (e2) => {
|
|
9
|
-
n2.isStackingPaginatedData ? f.value[(n2.currentPage ?? 1) - 1] = e2 : f.value[0] = e2, h.value = false;
|
|
10
|
-
};
|
|
11
|
-
V(n2.data);
|
|
12
|
-
const S = e.computed(() => {
|
|
13
|
-
var _a, _b, _c, _d;
|
|
14
|
-
const e2 = r.get(n2.listCode), t2 = ((_a = e2 == null ? void 0 : e2.options) == null ? void 0 : _a.showOperationButton) ?? false, a2 = ((_b = e2 == null ? void 0 : e2.options) == null ? void 0 : _b.isFormSubTable) ?? false, l2 = ((_c = e2 == null ? void 0 : e2.options) == null ? void 0 : _c.subTableCanAdd) ?? false, o2 = (_d = P.value) == null ? void 0 : _d.some(({ prop: e3 }) => ["operation"].includes(e3));
|
|
15
|
-
return D ?? (t2 && a2 && l2 && o2);
|
|
16
|
-
});
|
|
17
|
-
u.$on("change-add-state", (e2) => D.value = e2);
|
|
18
|
-
const k = e.computed(() => n2.isStackingPaginatedData ? f.value.flatMap((e2, t2) => t2 + 1 <= n2.currentPage ? e2 : []) : f.value[0] ?? []), E = e.computed(() => {
|
|
19
|
-
const e2 = (t2) => (t2 == null ? void 0 : t2.flatMap((t3) => {
|
|
20
|
-
var _a;
|
|
21
|
-
return ((_a = t3 == null ? void 0 : t3.children) == null ? void 0 : _a.length) ? [t3, ...e2(t3.children)] : [t3];
|
|
22
|
-
})) ?? [];
|
|
23
|
-
return e2(k.value);
|
|
24
|
-
}), $ = e.computed(() => {
|
|
25
|
-
var _a;
|
|
26
|
-
return n2.isStackingPaginatedData ? (((_a = f.value[n2.currentPage - 1]) == null ? void 0 : _a.length) ?? 0) > 0 : k.value.length < n2.pageSize * n2.currentPage && I.value >= n2.currentPage;
|
|
27
|
-
}), M = e.computed(() => {
|
|
28
|
-
var _a;
|
|
29
|
-
return ((_a = x.value[x.value.length - 1]) == null ? void 0 : _a.children) ?? [];
|
|
30
|
-
}), P = e.computed(() => {
|
|
31
|
-
const e2 = (t2) => (t2 == null ? void 0 : t2.flatMap((t3) => {
|
|
32
|
-
var _a;
|
|
33
|
-
return ((_a = t3 == null ? void 0 : t3.children) == null ? void 0 : _a.length) ? e2(t3.children) : [t3];
|
|
34
|
-
})) ?? [];
|
|
35
|
-
return e2(n2.columns.filter((e3) => !!e3 && !["$selection", "$index"].includes(e3 == null ? void 0 : e3.prop)));
|
|
36
|
-
}), T = e.computed(() => {
|
|
37
|
-
const e2 = P.value.map((e3, t3) => (e3.operations ? e3.layoutModelType = "footer" : e3.layoutModelType = "content", e3)), t2 = e2.filter(({ layoutModelType: e3 }) => ["content"].includes(e3));
|
|
38
|
-
return { header: t2[0] ? [t2[0]] : [], content: t2, footer: e2.filter(({ layoutModelType: e3 }) => ["footer"].includes(e3)) };
|
|
39
|
-
}), I = e.computed(() => n2.pageTotal ? Math.ceil(n2.pageTotal / n2.pageSize) : 0), j = e.computed(() => !!(n2.showFieldCount && T.value.content.length > n2.showFieldCount)), q = e.computed(() => T.value.footer.length > 0), A = e.computed(() => 7 * T.value.content.map((e2) => (e2 == null ? void 0 : e2.label) ?? 0).reduce((e2, t2) => Math.max(e2, [...t2].reduce((e3, t3) => /[\u4e00-\u9fff]/.test(t3) ? e3 + 2 : e3 + 1, 0)), 0) + 15), B = e.computed(() => n2.columns.some((e2) => ["$selection"].includes(e2 == null ? void 0 : e2.prop))), z = e.computed(() => n2.columns.some((e2) => ["$index"].includes(e2 == null ? void 0 : e2.prop))), G = e.computed(() => k.value[y.value]), F = (e2) => {
|
|
40
|
-
B.value && (b.value.includes(e2) ? b.value = b.value.filter((t2) => t2 !== e2) : b.value = [.../* @__PURE__ */ new Set([...b.value, e2])], w.value = e2);
|
|
41
|
-
}, U = (t2, l2, o2, u2 = false) => {
|
|
42
|
-
var _a;
|
|
43
|
-
const { $bind: i2 = {}, $on: d2 = {} } = ((_a = n2.getColumnComponentData) == null ? void 0 : _a.call(n2, t2)) ?? {}, c2 = r.get(i2["list-code"]), s3 = c2 == null ? void 0 : c2.options, p2 = c2.lineEdit ?? false, v2 = { ...i2, "page-grid-data": n2.data, "is-data-children": N.value, options: s3, row: l2, rowIndex: o2, "right-click-menu-arr": s3 == null ? void 0 : s3.rightClickMenuArr, "line-edit": p2 }, g2 = { ...Object.fromEntries(Object.keys(d2).map((e2) => [`on${e2.charAt(0).toUpperCase()}${e2.slice(1).replace(/-([a-z])/g, (e3, t3) => t3.toUpperCase())}`, d2[e2]])) };
|
|
44
|
-
return e.createVNode(a, e.mergeProps({ isContentViewText: u2 }, v2, g2), null);
|
|
45
|
-
}, R = (a2, l2 = G.value, o2 = y.value, r2 = void 0) => e.createVNode(t.ElDescriptions, { column: 1, "label-width": A.value, align: "right", direction: "horizontal", layout: "form" }, { default: () => {
|
|
46
|
-
var _a, _b;
|
|
47
|
-
return [(_b = r2 ? (_a = a2 == null ? void 0 : a2.slice) == null ? void 0 : _a.call(a2, 0, r2) : a2) == null ? void 0 : _b.map((a3, r3) => e.createVNode(t.ElDescriptionsItem, { key: a3.label + r3 }, { default: () => [U(a3, l2, o2) || "-"], label: () => e.createVNode("div", { innerHTML: a3.label ? `${a3.label}:` : "" }, null) }))];
|
|
48
|
-
} });
|
|
49
|
-
e.watch(() => v.selection, (e2) => {
|
|
50
|
-
b.value = e2.map(({ $rowDataGuId: e3 }) => e3);
|
|
51
|
-
}, { deep: true }), e.watch(b, (e2, t2) => {
|
|
52
|
-
if (v.selection.length === e2.length && v.selection.every(({ $rowDataGuId: t3 }) => e2.includes(t3)))
|
|
53
|
-
return;
|
|
54
|
-
const a2 = E.value.filter(({ $rowDataGuId: t3 }) => e2 == null ? void 0 : e2.includes(t3)), l2 = w.value ? E.value.find(({ $rowDataGuId: e3 }) => w.value === e3) : void 0;
|
|
55
|
-
e2.length > (t2 == null ? void 0 : t2.length) && l2 && g("select", a2, l2), e2.length < (t2 == null ? void 0 : t2.length) && l2 && g("select", a2, l2), g("selectionChange", a2), w.value = void 0;
|
|
56
|
-
}, { deep: true }), e.watch(() => n2.data, (e2) => {
|
|
57
|
-
N.value = e2.some((e3) => Array.isArray(e3 == null ? void 0 : e3.children)), V(e2);
|
|
58
|
-
}, { deep: true });
|
|
59
|
-
const O = () => {
|
|
60
|
-
if (I.value, n2.currentPage, I.value > 1 && I.value > n2.currentPage && (k.value.length, n2.pageSize, n2.currentPage, k.value.length === n2.pageSize * n2.currentPage)) {
|
|
61
|
-
h.value = true;
|
|
62
|
-
const e2 = n2.currentPage + 1;
|
|
63
|
-
I.value, g("update:current-page", e2), g("currentChange", e2);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
e.onUnmounted(() => {
|
|
67
|
-
u.$off("change-add-state");
|
|
68
|
-
});
|
|
69
|
-
return { getAddBtn: (a2) => {
|
|
70
|
-
let l2;
|
|
71
|
-
return S.value && e.createVNode(t.ElButton, { type: "primary", plain: true, icon: e.createVNode(d.CirclePlus, null, null), onClick: () => a2 == null ? void 0 : a2(n2.listCode) }, c(l2 = p("imatrixUIPublicModel.add")) ? l2 : { default: () => [l2] });
|
|
72
|
-
}, renderDom: (a2) => e.createVNode(o, { onScrollToBottom: O, "flex-auto": true, "set-max-height": (e2) => {
|
|
73
|
-
if (e2 == null ? void 0 : e2.windowHeight) {
|
|
74
|
-
const t2 = (e2 == null ? void 0 : e2.windowHeight) - 70;
|
|
75
|
-
return t2 > 400 ? t2 : 400;
|
|
76
|
-
}
|
|
77
|
-
} }, { default: () => [e.createVNode(t.ElDrawer, { modelValue: C.value, "onUpdate:modelValue": (e2) => C.value = e2, "modal-class": "yx-drawer yx-scrollbar-body", "with-header": true, direction: "btt", "append-to-body": true, size: "90vh", onClosed: () => x.value = [] }, { default: () => [e.createVNode(o, { "scrollable-main": true, "max-height": "100%", style: { flex: "1 1 auto" } }, { default: () => [e.createVNode("div", { class: "yx-flex-wrap", vertical: true, style: { gap: "15px" } }, [M.value.map((t2, a3) => {
|
|
78
|
-
var _a, _b, _c, _d;
|
|
79
|
-
const o2 = b.value.includes(t2.$rowDataGuId), r2 = !!((((_a = t2 == null ? void 0 : t2.children) == null ? void 0 : _a.length) ?? 0) > 0), u2 = ((_b = T.value.content) == null ? void 0 : _b.find(({ property: e2 }) => e2)) ?? T.value.content[0], i2 = n2.isEnableEdit;
|
|
80
|
-
return e.createVNode(l, { form: t2, no: z ? a3 + 1 : void 0, isChecked: o2, isSubTable: r2, isCheck: B.value, isMore: !t2.$editing, isShowDetailsMore: j.value, isEnableEdit: i2, onChecked: () => !t2.$editing && F(t2.$rowDataGuId), onShowSubTable: () => {
|
|
81
|
-
x.value = [...x.value, t2];
|
|
82
|
-
}, onRowClick: (e2) => g("rowClick", t2, u2, e2), onRowDblclick: (e2) => g("rowDblclick", t2, u2, e2) }, { titleSlot: T.value.header && ((_c = T.value.header) == null ? void 0 : _c.map((e2) => U(e2, t2, a3, true))), children: ({ isMore: e2 }) => R(T.value.content, t2, a3, e2 ? n2.showFieldCount : void 0), footerSlot: q.value && e.createVNode("div", { class: "yx-flex-wrap", wrap: true, style: { gap: "15px" } }, [(_d = T.value.footer) == null ? void 0 : _d.map((e2) => U(e2, t2, a3))]) });
|
|
83
|
-
})])] })], header: () => {
|
|
84
|
-
let a3;
|
|
85
|
-
return e.createVNode("div", { class: "yx-flex-wrap", style: { gap: "10px" } }, [T.value.header[0] && `${T.value.header[0].label}: `, e.createVNode(t.ElBreadcrumb, { "separator-icon": e.createVNode(e.resolveComponent("ArrowRight"), null, null) }, c(a3 = x.value.map((a4, l2) => {
|
|
86
|
-
const o2 = U(T.value.header[0], a4, void 0, true);
|
|
87
|
-
return e.createVNode(e.resolveComponent("ElBreadcrumbItem"), null, { default: () => [x.value.length - 1 === l2 ? o2 : e.createVNode(t.ElLink, { onClick: () => x.value = x.value.slice(0, l2 + 1) }, c(o2) ? o2 : { default: () => [o2] })] });
|
|
88
|
-
})) ? a3 : { default: () => [a3] })]);
|
|
89
|
-
} }), e.createVNode("div", { class: "yx-flex-wrap", vertical: true, style: "gap: 15px;" }, [0 === k.value.length && e.createVNode(t.ElEmpty, { description: p("imatrixUIPublicModel.noData") }, c(a2) ? a2 : { default: () => [a2] }), k.value.map((t2, a3) => {
|
|
90
|
-
var _a, _b, _c, _d;
|
|
91
|
-
const o2 = b.value.includes(t2.$rowDataGuId), r2 = !!((_a = t2 == null ? void 0 : t2.children) == null ? void 0 : _a.length), u2 = ((_b = T.value.content) == null ? void 0 : _b.find(({ property: e2 }) => e2)) ?? T.value.content[0], i2 = n2.isEnableEdit;
|
|
92
|
-
return e.createVNode(l, { form: t2, no: z ? a3 + 1 : void 0, isChecked: o2, isSubTable: r2, isCheck: B.value, isMore: !t2.$editing, isShowDetailsMore: j.value, isEnableEdit: i2, onChecked: () => !t2.$editing && F(t2.$rowDataGuId), onShowSubTable: () => {
|
|
93
|
-
x.value = [t2], C.value = true;
|
|
94
|
-
}, onRowClick: (e2) => g("rowClick", t2, u2, e2), onRowDblclick: (e2) => g("rowDblclick", t2, u2, e2) }, { titleSlot: T.value.header && ((_c = T.value.header) == null ? void 0 : _c.map((e2) => U(e2, t2, a3, true))), children: ({ isMore: e2 }) => R(T.value.content, t2, a3, e2 ? n2.showFieldCount : void 0), footerSlot: q.value && e.createVNode("div", { class: "yx-flex-wrap", wrap: true, style: { gap: "15px" } }, [(_d = T.value.footer) == null ? void 0 : _d.map((e2) => U(e2, t2, a3))]) });
|
|
95
|
-
}), k.value.length > 0 && a2, k.value.length > 0 && I.value > 1 && e.createVNode(t.ElDivider, null, { default: () => [I.value > n2.currentPage || h.value ? e.createVNode(t.ElIcon, { "loading-rotate": true, size: 25, color: "#409eff", style: { margin: "15px auto" } }, { default: () => [e.createVNode(d.Loading, null, null)] }) : I.value <= n2.currentPage && $.value && p("imatrixUIPublicModel.noMoreData")] })])] }) };
|
|
96
|
-
}, render() {
|
|
97
|
-
return this.renderDom(this.getAddBtn(this.createRow));
|
|
98
|
-
} });
|
|
99
|
-
module.exports = s;
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("vue"), l = require("vue-i18n"), t = require("../utils.cjs"), a = require("clipboard"), o = require("element-plus"), n = require("../store.cjs"), u = require("../../../src/utils/common-util.cjs"), i = { style: { "padding-left": "5px" } }, r = e.defineComponent({ __name: "select-input", props: { column: { type: Object, default: null }, type: { type: String, default: "input" }, controlConfig: { type: Object, default: false }, listCode: { type: String, default: "" }, listToolbarFormData: { type: Object, default: null }, dynamicDataSourceCode: { type: String, default: "" }, additionalParamMap: { type: [String, Object], default: null }, isSql: { type: Boolean, default: false }, parentFormData: { type: Object, default: () => ({}) }, tableName: { type: String, default: "" }, options: { type: Array, default: () => [] }, valueSetOptions: { type: Object, default: false }, disabled: { type: Boolean, default: false }, modelValue: { type: [String, Number, Boolean], default: "" }, prop: { type: String, default: "" }, entity: { type: Object, default: () => ({}) } }, emits: ["update:modelValue", "cellEvent", "extendParams", "setCellValue", "callCustomEventWithParam", "setCellValueWithProp"], setup(r2, { emit: s }) {
|
|
3
|
-
const c = r2, { t: p } = l.useI18n(), d = s, v = e.ref(c.modelValue), m = e.ref(false);
|
|
4
|
-
e.watch(() => c.modelValue, (e2, l2) => {
|
|
5
|
-
v.value = e2;
|
|
6
|
-
}, { immediate: true });
|
|
7
|
-
const f = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime(), b = n.get(c.listCode);
|
|
8
|
-
b && b.basicInfo && b.basicInfo.hasJoinTable && (m.value = b.basicInfo.hasJoinTable);
|
|
9
|
-
let g = b.options.backendUrl;
|
|
10
|
-
g || (g = window.$vueApp.config.globalProperties.baseURL);
|
|
11
|
-
const y = e.ref(false);
|
|
12
|
-
y.value = t.isDynamicDataSourceSource(c.column);
|
|
13
|
-
let C = c.column.valueSetOptions ? JSON.parse(c.column.valueSetOptions) : null;
|
|
14
|
-
const h = e.ref(false);
|
|
15
|
-
let S;
|
|
16
|
-
h.value = !y.value && C && "remote" === C.filterType && C.type && "dataTable" === C.type, c.valueSetOptions, h.value, c.controlConfig;
|
|
17
|
-
let V = e.ref(c.options);
|
|
18
|
-
y.value || w(null, true);
|
|
19
|
-
const O = e.ref(false);
|
|
20
|
-
e.onMounted(() => {
|
|
21
|
-
const e2 = new a("#" + f, { text: function() {
|
|
22
|
-
return function(e3) {
|
|
23
|
-
if (null != e3 && "" !== e3 && e3.length > 0) {
|
|
24
|
-
let l2 = "";
|
|
25
|
-
return "string" == typeof e3 ? V.value.length > 0 ? V.value.forEach((t2) => {
|
|
26
|
-
t2.value === e3 && (l2 = t2.label);
|
|
27
|
-
}) : l2 = e3 : V.value.length > 0 ? (V.value.forEach((t2) => {
|
|
28
|
-
e3.forEach((e4) => {
|
|
29
|
-
t2.value === e4 && (l2 = l2 + t2.label + ",");
|
|
30
|
-
});
|
|
31
|
-
}), l2 = l2.slice(0, l2.length - 1)) : l2 = e3.join(","), l2;
|
|
32
|
-
}
|
|
33
|
-
}(v.value);
|
|
34
|
-
} });
|
|
35
|
-
e2.on("success", () => {
|
|
36
|
-
o.ElMessage({ type: "success", message: p("chatEmbed.copySuccess"), showClose: true });
|
|
37
|
-
}), e2.on("error", (e3) => {
|
|
38
|
-
console.error("复制失败", e3);
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
function E(e2, l2) {
|
|
42
|
-
return l2 ? l2.find((l3) => l3.value === e2) : [];
|
|
43
|
-
}
|
|
44
|
-
function B(e2, l2) {
|
|
45
|
-
var _a;
|
|
46
|
-
if ("select" === c.type && !y.value)
|
|
47
|
-
return void ((e3) => {
|
|
48
|
-
if (v.value = e3, (C == null ? void 0 : C.type) && "dataTable" === C.type && c.valueSetOptions && c.valueSetOptions.length > 0)
|
|
49
|
-
if (null == e3 || "" === e3)
|
|
50
|
-
P();
|
|
51
|
-
else {
|
|
52
|
-
const l3 = E(e3, V.value);
|
|
53
|
-
l3 && c.valueSetOptions.forEach((e4) => {
|
|
54
|
-
if (e4.valueField !== c.prop) {
|
|
55
|
-
const t3 = l3[e4.columnName];
|
|
56
|
-
d("setCellValueWithProp", e4.valueField, t3);
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
d("update:modelValue", e3), d("setCellValue", c.prop, e3, "change");
|
|
61
|
-
})(e2);
|
|
62
|
-
d("extendParams", l2);
|
|
63
|
-
let t2 = false;
|
|
64
|
-
if (e2 && e2.length > 0 && "multiselect" === c.type && !y.value) {
|
|
65
|
-
const l3 = "saveAll";
|
|
66
|
-
if (-1 !== e2.indexOf(l3)) {
|
|
67
|
-
e2.length - 1 >= V.value.length ? v.value = null : ((!v.value || v.value.indexOf(l3) >= 0) && (v.value = []), (_a = V.value) == null ? void 0 : _a.forEach((e3) => {
|
|
68
|
-
-1 === v.value.indexOf(e3.value) && v.value.push(e3.value);
|
|
69
|
-
})), t2 = true;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
if ("multiselect" === c.type) {
|
|
73
|
-
v.value && "number" != typeof v.value && -1 !== v.value.indexOf("saveAll") && v.value.splice(v.value.indexOf("saveAll"), 1), function() {
|
|
74
|
-
if (v.value, (C == null ? void 0 : C.type) && "dataTable" === C.type && c.valueSetOptions && c.valueSetOptions.length > 0 && !y.value)
|
|
75
|
-
if (v.value && 0 !== v.value.length) {
|
|
76
|
-
let e4 = {};
|
|
77
|
-
v.value.forEach((l3) => {
|
|
78
|
-
const t3 = E(l3, V.value);
|
|
79
|
-
t3 && c.valueSetOptions.forEach((l4) => {
|
|
80
|
-
if (l4.valueField !== c.prop) {
|
|
81
|
-
let a2 = e4[l4.valueField];
|
|
82
|
-
a2 || (a2 = []);
|
|
83
|
-
const o2 = t3[l4.columnName];
|
|
84
|
-
a2.push(o2), e4[l4.valueField] = a2;
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
for (let l3 in e4) {
|
|
89
|
-
const t3 = e4[l3];
|
|
90
|
-
if (t3) {
|
|
91
|
-
const e5 = t3.join(",");
|
|
92
|
-
d("setCellValueWithProp", l3, e5);
|
|
93
|
-
} else
|
|
94
|
-
d("setCellValueWithProp", l3, null);
|
|
95
|
-
}
|
|
96
|
-
} else
|
|
97
|
-
P();
|
|
98
|
-
}();
|
|
99
|
-
const e3 = v.value && v.value.length > 0 ? v.value.join(",") : null;
|
|
100
|
-
t2 && d("cellEvent", "input", e3), d("update:modelValue", e3), d("setCellValue", c.prop, e3, "change");
|
|
101
|
-
} else
|
|
102
|
-
d("update:modelValue", e2), d("setCellValue", c.prop, e2, "change");
|
|
103
|
-
}
|
|
104
|
-
function k({ value: e2, sourceColumnName: l2, targetColumnName: t2, options: a2, selectedItem: o2 }) {
|
|
105
|
-
t2 && (t2 === c.prop ? d("setCellValue", t2, e2, "input") : d("setCellValueWithProp", t2, e2));
|
|
106
|
-
}
|
|
107
|
-
function w(e2, l2) {
|
|
108
|
-
var _a;
|
|
109
|
-
if (!(C == null ? void 0 : C.type) || "dataTable" !== (C == null ? void 0 : C.type))
|
|
110
|
-
return;
|
|
111
|
-
let t2 = false;
|
|
112
|
-
if (l2 || null != S && S === e2 || (S = e2, t2 = true), t2 || l2) {
|
|
113
|
-
let l3 = {};
|
|
114
|
-
Object.assign(l3, C), l3.uuid = c.prop, l3.props || (l3.props = {}), l3.props.tableName = (_a = C == null ? void 0 : C.props) == null ? void 0 : _a.tableName, l3.props.prop = c.prop;
|
|
115
|
-
const t3 = { listCode: c.listCode, entityMap: c.entity, additionalParamMap: c.additionalParamMap, dataSourceList: [l3] };
|
|
116
|
-
null != e2 && (t3.query = e2), c.parentFormData && (t3.parent = c.parentFormData);
|
|
117
|
-
const a2 = u.getRelativeBaseUrl(window.$vueApp.config.globalProperties.baseURL + "/common/common-data/find-grid-datas");
|
|
118
|
-
window.$vueApp.config.globalProperties.$http.post(a2, t3).then((e3) => {
|
|
119
|
-
if (e3 && e3.columnValueSet) {
|
|
120
|
-
const l4 = e3.columnValueSet;
|
|
121
|
-
V.value = l4[c.prop];
|
|
122
|
-
} else
|
|
123
|
-
V.value = [];
|
|
124
|
-
}).catch((e3) => {
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
function P() {
|
|
129
|
-
c.valueSetOptions && c.valueSetOptions.forEach((e2) => {
|
|
130
|
-
e2.valueField !== c.prop && d("setCellValueWithProp", e2.valueField, null);
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
return (l2, a2) => {
|
|
134
|
-
const o2 = e.resolveComponent("CopyDocument"), n2 = e.resolveComponent("el-icon"), u2 = e.resolveComponent("el-option"), s2 = e.resolveComponent("el-select"), c2 = e.resolveComponent("el-popover"), b2 = e.resolveComponent("dynamic-source-select");
|
|
135
|
-
return e.openBlock(), e.createElementBlock("span", null, [y.value ? "multiselect" !== r2.type && "select" !== r2.type || !y.value ? e.createCommentVNode("", true) : (e.openBlock(), e.createBlock(b2, { key: 1, value: v.value, "onUpdate:value": a2[7] || (a2[7] = (e2) => v.value = e2), "base-props": { multiple: "multiselect" === r2.type, disabled: r2.disabled }, column: r2.column, entity: r2.entity, "is-join-table": m.value, "list-code": r2.listCode, "list-toolbar-form-data": r2.listToolbarFormData, options: { dynamicDataSourceCode: r2.dynamicDataSourceCode, valueSetOptions: r2.valueSetOptions, isSql: r2.isSql, backendUrl: e.unref(g), additionalParameter: r2.additionalParamMap ? JSON.stringify(r2.additionalParamMap) : null }, parent: r2.parentFormData, "table-name": r2.tableName, onBlur: a2[8] || (a2[8] = (e2) => d("cellEvent", "blur", e2)), onChange: B, onClear: a2[9] || (a2[9] = (e2) => d("cellEvent", "clear", e2)), onFocus: a2[10] || (a2[10] = (e2) => d("cellEvent", "focus", "focus1111")), onInput: a2[11] || (a2[11] = (e2) => d("cellEvent", "input", e2)), onVisibleChange: a2[12] || (a2[12] = (e2) => d("cellEvent", "visible-change", e2)), onRemoveTag: a2[13] || (a2[13] = (e2) => d("cellEvent", "remove-tag", e2)), onSetValue: k }, null, 8, ["value", "base-props", "column", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "parent", "table-name"])) : (e.openBlock(), e.createBlock(c2, { key: 0, placement: "top", trigger: "hover" }, { reference: e.withCtx(() => {
|
|
136
|
-
return [e.createVNode(s2, { ref: "item", modelValue: v.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e2) => v.value = e2), loading: O.value, "allow-create": !!r2.controlConfig.allowCreate, disabled: r2.disabled, "default-first-option": !!r2.controlConfig.allowCreate, filterable: !(void 0 !== r2.controlConfig.filterable && !r2.controlConfig.filterable) || !!h.value, placeholder: l2.$t("imatrixUIMessage.pleaseSelect"), title: (o3 = v.value, t.getClassOptionTitleCommon(o3, V.value)), clearable: !(void 0 !== r2.controlConfig.clearable && !r2.controlConfig.clearable), "collapse-tags": "", multiple: "multiselect" === r2.type, remote: h.value, "remote-method": w, onBlur: a2[1] || (a2[1] = (e2) => d("cellEvent", "blur", e2)), onChange: B, onClear: a2[2] || (a2[2] = (e2) => d("cellEvent", "clear", e2)), onFocus: a2[3] || (a2[3] = (e2) => d("cellEvent", "focus", e2)), onInput: a2[4] || (a2[4] = (e2) => d("cellEvent", "input", e2)), onVisibleChange: a2[5] || (a2[5] = (e2) => d("cellEvent", "visible-change", e2)), onRemoveTag: a2[6] || (a2[6] = (e2) => d("cellEvent", "remove-tag", e2)) }, { default: e.withCtx(() => ["multiselect" === r2.type ? (e.openBlock(), e.createBlock(u2, { key: 0, label: e.unref(p)("superGrid.selectAll"), value: "saveAll" }, null, 8, ["label"])) : e.createCommentVNode("", true), (e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(e.unref(V), (l3) => (e.openBlock(), e.createBlock(u2, { key: l3.value, label: l3.label, value: l3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading", "allow-create", "disabled", "default-first-option", "filterable", "placeholder", "title", "clearable", "multiple", "remote"])];
|
|
137
|
-
var o3;
|
|
138
|
-
}), default: e.withCtx(() => [e.createElementVNode("span", i, [e.createVNode(n2, { id: f }, { default: e.withCtx(() => [e.createVNode(o2)]), _: 1 })])]), _: 1 }))]);
|
|
139
|
-
};
|
|
140
|
-
} });
|
|
141
|
-
module.exports = r;
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const t = require("./formatter.cjs"), e = require("./store.cjs"), o = require("../../src/utils/jump-page-utils.cjs"), a = require("./utils.cjs"), i = require("../../src/utils/common-util.cjs");
|
|
3
|
-
require("vue");
|
|
4
|
-
const r = { customFormatValue(e2, o2, a2, i2) {
|
|
5
|
-
if (this.customFormat) {
|
|
6
|
-
let r2 = e2[o2];
|
|
7
|
-
this.isObjectProp(o2) && (r2 = this.objectPropOriginalValue(e2, o2));
|
|
8
|
-
const n = t.doFormat(this.column, r2), l = a2.call(this, r2, n, e2, this.column, i2);
|
|
9
|
-
return void 0 !== l && l;
|
|
10
|
-
}
|
|
11
|
-
return false;
|
|
12
|
-
}, isObjectProp: (t2) => !!(t2 && t2.indexOf(".") > 0), objectPropOriginalValue(t2, e2) {
|
|
13
|
-
try {
|
|
14
|
-
let o2 = t2;
|
|
15
|
-
if (e2 && e2.indexOf(".") > 0) {
|
|
16
|
-
return e2.split(".").forEach((t3) => {
|
|
17
|
-
if (!o2)
|
|
18
|
-
throw o2 = "", o2;
|
|
19
|
-
o2 = o2[t3];
|
|
20
|
-
}), o2;
|
|
21
|
-
}
|
|
22
|
-
return t2[e2];
|
|
23
|
-
} catch (t3) {
|
|
24
|
-
return "";
|
|
25
|
-
}
|
|
26
|
-
}, objectPropValue(t2, e2) {
|
|
27
|
-
return this.formatter(t2, e2, this.column);
|
|
28
|
-
}, objectPropValueTwo(t2, e2) {
|
|
29
|
-
if ("annex" !== e2.componentType && "multipartUpload" !== e2.componentType || !e2.fileSet) {
|
|
30
|
-
if (!e2.formatter || "files" !== e2.formatter.type)
|
|
31
|
-
return this.objectPropValue(t2, e2.prop);
|
|
32
|
-
{
|
|
33
|
-
const o2 = JSON.parse(e2.formatter.options.fileSet);
|
|
34
|
-
if (!o2.childAnnexDataTableCode)
|
|
35
|
-
return this.objectPropValue(t2, e2.prop);
|
|
36
|
-
{
|
|
37
|
-
const i2 = a.analysisFileSetObj(o2, this.isSql), r2 = this.objectPropValue(t2, e2.prop);
|
|
38
|
-
if (r2 && r2.length > 0) {
|
|
39
|
-
const t3 = a.otherFilesToStandard(o2, i2, r2, null);
|
|
40
|
-
return t3[t3.length - 1].showName;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
} else {
|
|
45
|
-
const o2 = JSON.parse(e2.fileSet);
|
|
46
|
-
if (!o2.childAnnexDataTableCode)
|
|
47
|
-
return this.objectPropValue(t2, e2.prop);
|
|
48
|
-
{
|
|
49
|
-
const i2 = a.analysisFileSetObj(o2, this.isSql), r2 = this.objectPropValue(t2, e2.prop);
|
|
50
|
-
if (r2 && r2.length > 0) {
|
|
51
|
-
const t3 = a.otherFilesToStandard(o2, i2, r2, null);
|
|
52
|
-
return t3[t3.length - 1].showName;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}, formatter(o2, a2, i2) {
|
|
57
|
-
const r2 = this.objectPropOriginalValue(o2, a2);
|
|
58
|
-
if (void 0 !== this.columnFormatter && "custom" === this.columnFormatter.type) {
|
|
59
|
-
let n;
|
|
60
|
-
if (this.columnFormatter.options && this.columnFormatter.options.format && (n = this.columnFormatter.options.format), n && null !== n && "" !== n) {
|
|
61
|
-
const l = e.get(this.listCode);
|
|
62
|
-
if (l.options && l.options.eventCallBack && l.options.eventCallBack[n] && "function" == typeof l.options.eventCallBack[n]) {
|
|
63
|
-
const t2 = { value: r2, row: o2, column: this.column, prop: a2, additionalParamMap: l.additionalParamMap };
|
|
64
|
-
return l.options.eventCallBack[n].call(this, t2);
|
|
65
|
-
}
|
|
66
|
-
return t.doFormat(i2, r2);
|
|
67
|
-
}
|
|
68
|
-
return t.doFormat(i2, r2);
|
|
69
|
-
}
|
|
70
|
-
return t.doFormat(i2, r2);
|
|
71
|
-
}, getColumnValue(e2, o2) {
|
|
72
|
-
const a2 = o2.prop;
|
|
73
|
-
let i2 = e2[a2];
|
|
74
|
-
this.isObjectProp(a2) && (i2 = this.objectPropOriginalValue(e2, a2));
|
|
75
|
-
return { originalValue: i2, formatValue: t.doFormat(o2, i2) };
|
|
76
|
-
}, onClickFun(t2, e2, o2, a2, i2) {
|
|
77
|
-
const r2 = this.getColumnValue(t2, e2);
|
|
78
|
-
o2.call(this, r2.originalValue, r2.formatValue, t2, e2, a2, i2);
|
|
79
|
-
}, isShowButtonFun(t2, e2, o2, a2) {
|
|
80
|
-
if (void 0 === o2)
|
|
81
|
-
return true;
|
|
82
|
-
if ("function" == typeof o2) {
|
|
83
|
-
const i2 = this.getColumnValue(t2, e2);
|
|
84
|
-
let r2 = o2.call(this, i2.originalValue, i2.formatValue, t2, e2, a2);
|
|
85
|
-
return void 0 === r2 && (r2 = true), r2;
|
|
86
|
-
}
|
|
87
|
-
return o2;
|
|
88
|
-
}, getHyperLinkSetting(a2, i2, r2, n, l, s, p) {
|
|
89
|
-
const c = e.get(p);
|
|
90
|
-
let m = null;
|
|
91
|
-
c.options.extraParam && c.options.extraParam.entityMap && (m = c.options.extraParam.entityMap);
|
|
92
|
-
let u, f = {};
|
|
93
|
-
if (a2 && a2.formatter && a2.formatter.options && a2.formatter.options.format && (u = a2.formatter.options.format), u && "" !== u) {
|
|
94
|
-
const t2 = JSON.parse(u), e2 = o.initialization(t2, i2, r2, n, l, s, m, c);
|
|
95
|
-
e2 && e2.label && "" !== e2.label || e2 && (void 0 === e2.displayTextJudge || e2.displayTextJudge) && (e2.label = this.objectPropValueTwo(i2, a2)), e2 && e2.title && "" !== e2.title || (e2.title = e2.label), f = e2;
|
|
96
|
-
} else
|
|
97
|
-
f.visible = true, f.label = this.objectPropValueTwo(i2, a2), f.title = f.label;
|
|
98
|
-
if (f.jumpPageItem) {
|
|
99
|
-
const e2 = f.jumpPageItem.jumpPageSetting;
|
|
100
|
-
if (e2 && e2.displayTextFormatType && e2.displayTextFormat) {
|
|
101
|
-
const o2 = t.formatDateTime(e2.displayTextFormatType, f.label, e2.displayTextFormat);
|
|
102
|
-
f.label = o2, f.title = o2;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
return f;
|
|
106
|
-
}, getMyHyperLinkSetting(t2, o2, a2) {
|
|
107
|
-
this.transferColumnDataToUpperCase(t2);
|
|
108
|
-
const i2 = e.get(a2);
|
|
109
|
-
let r2;
|
|
110
|
-
i2 && i2.basicInfo && i2.basicInfo.tableName && (r2 = i2.basicInfo.tableName);
|
|
111
|
-
const n = this.getHyperLinkSetting(this.column, t2, this.isSql, this.additionalParamMap, i2.contextParameter, r2, a2);
|
|
112
|
-
return n.icon = this.getHyperIconClass(n), n;
|
|
113
|
-
}, clickHyperLink(t2, e2, o2, a2) {
|
|
114
|
-
let i2;
|
|
115
|
-
t2 && t2.formatter && t2.formatter.options && t2.formatter.options.format && (i2 = t2.formatter.options.format);
|
|
116
|
-
const r2 = this.getMyHyperLinkSetting(e2, a2, o2);
|
|
117
|
-
if (r2.jumpPageSetting && void 0 !== a2 && (i2 = r2.jumpPageSetting), i2 && "" !== i2) {
|
|
118
|
-
const r3 = JSON.parse(i2);
|
|
119
|
-
this.jumpPageLink(t2, e2, o2, a2, r3);
|
|
120
|
-
}
|
|
121
|
-
}, jumpPageLink(t2, o2, a2, r2, n) {
|
|
122
|
-
if (n) {
|
|
123
|
-
let l = true;
|
|
124
|
-
const s = e.get(a2);
|
|
125
|
-
if (n.beforeClick) {
|
|
126
|
-
const e2 = n.beforeClick;
|
|
127
|
-
if (s.options && s.options.eventCallBack && s.options.eventCallBack[e2] && "function" == typeof s.options.eventCallBack[e2]) {
|
|
128
|
-
const i2 = { row: o2, column: t2, rowIndex: r2, listCode: a2, additionalParamMap: s.additionalParamMap };
|
|
129
|
-
l = s.options.eventCallBack[e2].call(this, i2);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
i.isPromise(l) ? l.then((e2) => {
|
|
133
|
-
this.doClickHyperLink(o2, a2, r2, n, s, t2);
|
|
134
|
-
}) : this.doClickHyperLink(o2, a2, r2, n, s, t2);
|
|
135
|
-
}
|
|
136
|
-
}, doClickHyperLink(t2, e2, a2, i2, r2, n) {
|
|
137
|
-
var _a;
|
|
138
|
-
let l = null;
|
|
139
|
-
r2.options.extraParam && r2.options.extraParam.entityMap && (l = r2.options.extraParam.entityMap), r2.options.isFormSubTable && ((_a = i2.jumpPageAdditional) == null ? void 0 : _a.length) > 0 && i2.jumpPageAdditional.forEach((t3, e3) => {
|
|
140
|
-
t3 && t3.paramValue && t3.paramValue.startsWith("${data.") && (t3.paramValue = t3.paramValue.replace("${data.", "${parent."));
|
|
141
|
-
});
|
|
142
|
-
const s = JSON.parse(JSON.stringify(r2.pageContext && r2.pageContext.entity && r2.pageContext.entity.page ? r2.pageContext.entity.page : {}));
|
|
143
|
-
i2._pageData = s, o.jumpToPage(i2, r2.system, t2.id ? t2.id : t2.ID, t2, r2.additionalParamMap, null, null, l).then((o2) => {
|
|
144
|
-
if (o2) {
|
|
145
|
-
let r3 = {};
|
|
146
|
-
i2 && "string" == typeof i2 && "" !== i2 && (i2 = JSON.parse(i2)), Object.assign(r3, i2), Object.assign(r3, o2), r3._position = "list", r3._listCode = e2, r3._rowIndex = a2, r3.row = t2, r3._columnProp = n.prop, this.$emit("open-page", r3);
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
}, getIconSetting(t2, e2, a2, i2, r2) {
|
|
150
|
-
let n;
|
|
151
|
-
const l = i2.additionalParamMap, s = i2.contextParameter;
|
|
152
|
-
i2 && i2.basicInfo && i2.basicInfo.tableName && (n = i2.basicInfo.tableName);
|
|
153
|
-
let p = null;
|
|
154
|
-
i2.options.extraParam && i2.options.extraParam.entityMap && (p = i2.options.extraParam.entityMap);
|
|
155
|
-
let c, m = {};
|
|
156
|
-
if (t2 && t2.formatter && t2.formatter.options && t2.formatter.options.format && (c = t2.formatter.options.format), c && "" !== c) {
|
|
157
|
-
const r3 = o.initialization(JSON.parse(c), e2, a2, l, s, n, p, i2);
|
|
158
|
-
r3 && r3.label && "" !== r3.label || (r3.label = this.objectPropValueTwo(e2, t2)), r3 && r3.title && "" !== r3.title || (r3.title = r3.label), m = r3;
|
|
159
|
-
} else
|
|
160
|
-
m.visible = true, m.label = this.objectPropValueTwo(e2, t2), m.title = m.label;
|
|
161
|
-
return m;
|
|
162
|
-
} };
|
|
163
|
-
module.exports = r;
|