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,5 +1,5 @@
|
|
|
1
1
|
import e from "./store.mjs";
|
|
2
|
-
import { isDisableEdit as t, getAdditionalParamMap as i, getControlConfig as l, getFileList as a, isDynamicDataSourceSource as o, isEditOptionFunction as
|
|
2
|
+
import { isDisableEdit as t, getAdditionalParamMap as i, getControlConfig as l, getFileList as a, isDynamicDataSourceSource as o, isEditOptionFunction as n, otherFilesToStandard as s, rowBeforeValidate as r, analysisFileSetObj as u } from "./utils.mjs";
|
|
3
3
|
import p from "../../dynamic-source-select/src/dynamic-source-select.vue.mjs";
|
|
4
4
|
import { formatCustomParams as m, getEntityFieldValue as d, setEntityFieldValue as c, watchPageContextDynamicVariable as h, getPropValueNew as f } from "../../src/utils/util.mjs";
|
|
5
5
|
import { getToken as g } from "../../src/utils/auth.mjs";
|
|
@@ -11,17 +11,17 @@ import { isMobileBrowser as w, isDingTalkEnv as C } from "../../src/utils/common
|
|
|
11
11
|
import { analysisScanValue as T, setScanAnalysisValue as V } from "./scan-util.mjs";
|
|
12
12
|
import N from "./custom-formatter.mjs";
|
|
13
13
|
import D from "./components/grid-radio-input.vue.mjs";
|
|
14
|
-
import
|
|
15
|
-
import { resolveComponent as
|
|
14
|
+
import P from "./components/select-input.vue.mjs";
|
|
15
|
+
import { resolveComponent as E, openBlock as x, createElementBlock as I, normalizeClass as F, createBlock as O, resolveDynamicComponent as k, createSlots as M, withCtx as j, createCommentVNode as U, toDisplayString as $, createVNode as A, createTextVNode as L } from "vue";
|
|
16
16
|
import q from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
17
|
-
const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImageDialog: v, GridRadioInput: D, SelectInput:
|
|
17
|
+
const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImageDialog: v, GridRadioInput: D, SelectInput: P }, props: { value: { type: [String, Boolean, Number, Date, Array], default: null }, type: { type: String, default: "input" }, position: { type: Object, default: null }, lineEdit: { type: Object, default: null }, options: { type: Array, default: null }, column: { type: Object, default: null }, row: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null }, rowIndex: { type: Number, default: -1 }, disabled: { type: Boolean, default: false }, gridOptions: { type: Object, default: null } }, data() {
|
|
18
18
|
let a2 = this.value;
|
|
19
19
|
this.type && "select" === this.type && "TEXT" !== this.column.dataType && (a2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, b(this, "update:value", a2));
|
|
20
20
|
const o2 = this.getDefaultValue(a2);
|
|
21
21
|
null != o2 && (a2 = o2);
|
|
22
|
-
const
|
|
23
|
-
this.$emit("change-disabled",
|
|
24
|
-
const
|
|
22
|
+
const n2 = t(this.column.prop, this.listCode, this.row);
|
|
23
|
+
this.$emit("change-disabled", n2);
|
|
24
|
+
const s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads";
|
|
25
25
|
this.listCode || (this.listCode = e.get("_list_code"));
|
|
26
26
|
const r2 = e.get(this.listCode);
|
|
27
27
|
let u2, p2;
|
|
@@ -33,11 +33,11 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
33
33
|
let V2, N2 = false, D2 = {};
|
|
34
34
|
this.column.controlConfig && (D2 = JSON.parse(this.column.controlConfig)), D2.scanEnable && (N2 = true);
|
|
35
35
|
V2 = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
|
|
36
|
-
const
|
|
36
|
+
const P2 = !!C(), E2 = !(!S2 || !V2 || "app" !== V2), x2 = E2 || P2 || !(!S2 || !N2 || "https:" !== window.location.protocol), I2 = r2.colConfigureMap ? r2.colConfigureMap[this.column.prop] : null, F2 = I2 && I2.runtime ? I2.runtime : {}, O2 = F2.props ? F2.props : {};
|
|
37
37
|
let k2;
|
|
38
38
|
r2 && r2.basicInfo && r2.basicInfo.systemCode && (k2 = r2.basicInfo.systemCode);
|
|
39
39
|
const M2 = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime();
|
|
40
|
-
return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction:
|
|
40
|
+
return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction: s2, fileMultiple: false, fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: false, singleImgSrc: "", fields: null, innerValue: a2, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: u2, departmentInfo: null, parentFormData: p2, headers: m2, dataSourceType: d2, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: f2 ? h2 : c2, pageGridData: f2 ? c2 : null, additionalParamMap: y2, controlConfig: l(this.column), pickerOptions: { disabledDate: (e2) => this.stateForbiddenTime && this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime || e2.getTime() > this.endForbiddenTime : this.stateForbiddenTime && !this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime : !(this.stateForbiddenTime || !this.endForbiddenTime) && e2.getTime() > this.endForbiddenTime }, stateForbiddenTime: null, endForbiddenTime: null, pageContext: v2, isMobile: S2, componentId: T2, scanEnable: N2, userAgent: V2, isApk: E2, isDingTalk: P2, isShowBrowserScan: false, isShowScanIcon: x2, colConfigure: I2, designProperty: O2, myCustomParams: {}, systemCode: k2, isFormSubTable: false, copyBtnId: M2 };
|
|
41
41
|
}, computed: {}, watch: { value: { handler(t2, i2) {
|
|
42
42
|
if (this.type && "multiselect" === this.type) {
|
|
43
43
|
const e2 = this.value && null !== this.value && "string" == typeof this.value ? this.value.split(",") : this.value;
|
|
@@ -148,8 +148,8 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
148
148
|
this.column.prop !== this.valueSetOptions[e2].valueColumn.dbColumnName && this.setCellValue(this.valueSetOptions[e2].valueColumn.dbColumnName, null, "input");
|
|
149
149
|
b(this, "update:value", null);
|
|
150
150
|
}
|
|
151
|
-
const
|
|
152
|
-
|
|
151
|
+
const s2 = e.get(this.listCode);
|
|
152
|
+
s2.editProp = this.column.prop, this.column.events && this.column.events[t2] ? this.callCustomEvent(t2) : n(t2, this.listCode) && s2.options.lineEditOptions[t2].call(this, i2, this.row, this.column, s2.additionalParamMap), b(this, "findIndex");
|
|
153
153
|
}, blurEvent() {
|
|
154
154
|
null !== this.innerValue && void 0 !== this.innerValue || (this.innerValue = null, this.val = null), b(this, "update:value", this.innerValue), this.clearValidateErrorField(), this.watchScanValueChange(this.innerValue);
|
|
155
155
|
}, clearValidateErrorField() {
|
|
@@ -223,12 +223,12 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
223
223
|
}, radioStorageFile(e2, t2) {
|
|
224
224
|
e2.showNameData && (this.isSql ? e2.showNameData.dbName && this.setCellValue(e2.showNameData.dbName, t2.name, "input") : e2.showNameData.name && this.setCellValue(e2.showNameData.name, t2.name, "input")), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && this.setCellValue(e2.serverNameData.dbName, t2.serverPath) : e2.serverNameData.name && this.setCellValue(e2.serverNameData.name, t2.serverPath));
|
|
225
225
|
}, multiStorage(e2, t2) {
|
|
226
|
-
const i2 =
|
|
226
|
+
const i2 = u(e2, this.isSql);
|
|
227
227
|
if (e2.childAnnexDataTableCode) {
|
|
228
228
|
let l2 = this.row[this.column.prop];
|
|
229
229
|
l2 || (l2 = []);
|
|
230
230
|
const a2 = this.responseFileToFileObj(e2, t2);
|
|
231
|
-
l2.push(a2), this.fileList =
|
|
231
|
+
l2.push(a2), this.fileList = s(e2, i2, l2, null), this.setCellValue(this.column.prop, l2, "input");
|
|
232
232
|
} else {
|
|
233
233
|
let l2 = "", a2 = "";
|
|
234
234
|
if (e2.showNameData) {
|
|
@@ -269,49 +269,41 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
269
269
|
a2 = this.row[e2.serverNameData.name];
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
|
-
this.fileList =
|
|
272
|
+
this.fileList = s(e2, i2, null, { showName: l2, serverPath: a2 });
|
|
273
273
|
}
|
|
274
274
|
}, multiStorageMobile(e2, t2) {
|
|
275
|
-
const i2 =
|
|
275
|
+
const i2 = u(e2, this.isSql);
|
|
276
276
|
if (e2.childAnnexDataTableCode) {
|
|
277
277
|
let l2 = this.row[this.column.prop];
|
|
278
278
|
l2 || (l2 = []), t2.forEach((t3) => {
|
|
279
279
|
const i3 = this.responseFileToFileObj(e2, t3);
|
|
280
280
|
l2.push(i3);
|
|
281
|
-
}), this.fileList =
|
|
281
|
+
}), this.fileList = s(e2, i2, l2, null), this.setCellValue(this.column.prop, l2, "input");
|
|
282
282
|
} else {
|
|
283
283
|
let l2 = "", a2 = "";
|
|
284
284
|
if (e2.showNameData) {
|
|
285
285
|
if (this.isSql) {
|
|
286
286
|
if (e2.showNameData.dbName && this.row) {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
i3 = i3 + e3.name + ",";
|
|
290
|
-
}), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.showNameData.dbName, i3, "input"), l2 = this.row[e2.showNameData.dbName];
|
|
287
|
+
const i3 = t2.map((e3) => e3.name || e3.showName || "").join(",");
|
|
288
|
+
this.setCellValue(e2.showNameData.dbName, i3, "input"), l2 = this.row[e2.showNameData.dbName];
|
|
291
289
|
}
|
|
292
290
|
} else if (e2.showNameData.name && this.row) {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
i3 = i3 + e3.name + ",";
|
|
296
|
-
}), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.showNameData.name, i3, "input"), l2 = this.row[e2.showNameData.name];
|
|
291
|
+
const i3 = t2.map((e3) => e3.name || e3.showName || "").join(",");
|
|
292
|
+
this.setCellValue(e2.showNameData.name, i3, "input"), l2 = this.row[e2.showNameData.name];
|
|
297
293
|
}
|
|
298
294
|
}
|
|
299
295
|
if (e2.serverNameData) {
|
|
300
296
|
if (this.isSql) {
|
|
301
297
|
if (e2.serverNameData.dbName && this.row) {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
i3 = i3 + e3.serverPath + ",";
|
|
305
|
-
}), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.serverNameData.dbName, i3, "input"), a2 = this.row[e2.serverNameData.dbName];
|
|
298
|
+
const i3 = t2.map((e3) => e3.serverPath).join(",");
|
|
299
|
+
this.setCellValue(e2.serverNameData.dbName, i3, "input"), a2 = this.row[e2.serverNameData.dbName];
|
|
306
300
|
}
|
|
307
301
|
} else if (e2.serverNameData.name && this.row) {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
i3 = i3 + e3.serverPath + ",";
|
|
311
|
-
}), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.serverNameData.name, i3, "input"), a2 = this.row[e2.serverNameData.name];
|
|
302
|
+
const i3 = t2.map((e3) => e3.serverPath).join(",");
|
|
303
|
+
this.setCellValue(e2.serverNameData.name, i3, "input"), a2 = this.row[e2.serverNameData.name];
|
|
312
304
|
}
|
|
313
305
|
}
|
|
314
|
-
this.fileList =
|
|
306
|
+
this.fileList = s(e2, i2, null, { showName: l2, serverPath: a2 });
|
|
315
307
|
}
|
|
316
308
|
}, responseFileToFileObj(e2, t2) {
|
|
317
309
|
const i2 = {};
|
|
@@ -323,7 +315,7 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
323
315
|
const e3 = JSON.parse(this.column.fileSet);
|
|
324
316
|
if (e3)
|
|
325
317
|
if (this.fileMultiple) {
|
|
326
|
-
const t3 =
|
|
318
|
+
const t3 = u(e3, this.isSql);
|
|
327
319
|
this.standardToOtherFiles(e3, t3);
|
|
328
320
|
} else
|
|
329
321
|
this.deleteAnnexFile(e3);
|
|
@@ -433,7 +425,7 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
433
425
|
let i2 = true;
|
|
434
426
|
if (t2.beforeValidate) {
|
|
435
427
|
const l2 = e.get(this.listCode);
|
|
436
|
-
if (i2 =
|
|
428
|
+
if (i2 = r(t2, l2, this.row, this.rowIndex), false === i2)
|
|
437
429
|
return;
|
|
438
430
|
}
|
|
439
431
|
void 0 !== t2.disabled && this.$emit("change-disabled", t2.disabled), void 0 !== t2.required && this.$emit("change-required", t2.required);
|
|
@@ -471,11 +463,11 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
471
463
|
this.$message({ type: "error", message: this.$t("fsUpload.uploadFailed"), showClose: true });
|
|
472
464
|
}, setExtendParams(e2) {
|
|
473
465
|
this.extendParams = e2;
|
|
474
|
-
} } }, J = { key: 1 },
|
|
466
|
+
} } }, J = { key: 1 }, W = { key: 1 }, R = { key: 1 }, Y = { key: 2 };
|
|
475
467
|
const _ = q(B, [["render", function(e2, t2, i2, l2, a2, o2) {
|
|
476
|
-
var _a;
|
|
477
|
-
const
|
|
478
|
-
return i2.type && i2.type.indexOf("custom:") >= 0 && "" != a2.componentName ? (P(), I("div", { key: 0, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(P(), O(k(a2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": a2.gridData, "page-grid-data": a2.pageGridData, "additional-settings": a2.controlConfig, parent: a2.parentFormData, prop: i2.column.prop, "custom-params": a2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: a2.innerValue, "additional-param-map": a2.additionalParamMap, listCode: i2.listCode, "component-id": a2.componentId, "page-context": a2.pageContext, onChange: t2[0] || (t2[0] = (e3) => o2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => o2.cellEvent("input", e3)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 2)) : (P(), I("div", { key: 1, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (P(), O(s2, { key: 0, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (P(), O(s2, { key: 1, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (P(), O(s2, { key: 2, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (P(), O(s2, { key: 3, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (P(), O(n2, { key: 4, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => a2.innerValue = e3), disabled: i2.disabled, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (P(), O(s2, { key: 5, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (P(), O(s2, { key: 6, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== i2.type || "INTEGER" !== i2.column.dataType && "LONG" !== i2.column.dataType ? "input" === i2.type ? (P(), O(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, clearable: "", modelValue: a2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => a2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => o2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => o2.cellEvent("input", e3, true)) }, M({ _: 2 }, ["outer" != a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prefix", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", J, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "0" } : void 0, "outer" == a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prepend", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", R, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "1" } : void 0, "outer" != a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "suffix", fn: j(() => [a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", W, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "2" } : void 0, a2.isShowScanIcon || "outer" == a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "append", fn: j(() => [a2.isShowScanIcon ? (P(), O(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => o2.scanClick()) })) : U("", true), a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 1, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", Y, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (P(), O(r2, { key: 9, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => a2.innerValue = e3), disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: a2.designProperty.rows ? a2.designProperty.rows : 2, title: a2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => o2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (P(), O(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: a2.innerValue, "page-context": a2.pageContext, "list-code": i2.listCode, componentId: a2.componentId, onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess, onOnError: o2.onError }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess", "onOnError"])) : "multipartUpload" === i2.type ? (P(), O(m2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, value: a2.innerValue, type: "list", onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (P(), O(d2, { key: 12, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => a2.innerValue = e3), t2[61] || (t2[61] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: o2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (P(), O(c2, { key: 13, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => a2.innerValue = e3), t2[63] || (t2[63] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: a2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: a2.dynamicDataSourceCode, additionalParamMap: a2.additionalParamMap, isSql: i2.isSql, parentFormData: a2.parentFormData, tableName: a2.tableName, onCellEvent: o2.cellEvent, onExtendParams: o2.setExtendParams, onSetCellValue: o2.setCellValue, onSetCellValueWithProp: o2.setCellValueWithProp, onCallCustomEventWithParam: o2.callCustomEventWithParam }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "column", "type", "controlConfig", "listCode", "listToolbarFormData", "dynamicDataSourceCode", "additionalParamMap", "isSql", "parentFormData", "tableName", "onCellEvent", "onExtendParams", "onSetCellValue", "onSetCellValueWithProp", "onCallCustomEventWithParam"])) : "inputNumber" === i2.type ? (P(), O(h2, { key: 14, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => a2.innerValue = e3), "controls-position": a2.inputNumberSet.position, disabled: i2.disabled, max: 0 == a2.inputNumberSet.max ? 0 : a2.inputNumberSet.max ? a2.inputNumberSet.max : 1 / 0, min: 0 == a2.inputNumberSet.min ? 0 : a2.inputNumberSet.min ? a2.inputNumberSet.min : -1 / 0, precision: a2.inputNumberSet.precision, step: a2.inputNumberSet.step ? a2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (P(), O(f2, { key: 15, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => a2.innerValue = e3), "active-text": o2.getSwitchConfig("activeText"), "active-value": o2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": o2.getSwitchConfig("inactiveText"), "inactive-value": o2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => o2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (P(), O(g2, { key: 16, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => o2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (P(), O(y2, { key: 17, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => o2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : a2.deptManTree || a2.deptTree || a2.wgManTree || a2.wgTree ? (P(), O(v2, { key: 18, "check-strictly": a2.isCheckStrictly, "department-info": a2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = a2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: a2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: a2.isMultiTree, "table-name": a2.tableName, "tree-type": a2.deptManTree ? "DeptUserTree" : a2.deptTree ? "DeptTree" : a2.wgManTree ? "WgUserTree" : a2.wgTree ? "WgTree" : null, value: a2.innerValue, onAppend: o2.appendOrganizationInputEvent, onClear: o2.clearOrganizationInputEvent, onFocus: o2.showOrganizationTree, onReplace: o2.replaceOrganizationInputEvent, onSetValue: o2.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : U("", true) : (P(), O(r2, { key: 7, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => a2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => o2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), A(w2, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: a2.annexUploadFlag, width: "30%" }, { default: j(() => ["annex" === i2.type && a2.annexUploadFlag ? (P(), O(S2, { key: 0, accept: a2.fileSetObj && a2.fileSetObj.accept ? a2.fileSetObj.accept : null, action: a2.defaultAction, "before-upload": o2.handleBeforeUpload, headers: a2.headers, "on-success": o2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: j(() => [A(b2, null, { default: j(() => [L($(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : U("", true)]), _: 1 }, 8, ["title", "visible"]), a2.showSingleImgFlag ? (P(), O(C2, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": a2.fileList, onClose: t2[78] || (t2[78] = (e3) => a2.showSingleImgFlag = false), onDelete: o2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : U("", true), a2.isShowBrowserScan ? (P(), O(T2, { key: 20, onClose: o2.closeBrowserScan }, null, 8, ["onClose"])) : U("", true)], 2));
|
|
468
|
+
var _a, _b, _c;
|
|
469
|
+
const n2 = E("el-date-picker"), s2 = E("el-time-picker"), r2 = E("el-input"), u2 = E("SuperIcon"), p2 = E("fs-upload-list"), m2 = E("multipart-upload"), d2 = E("GridRadioInput"), c2 = E("SelectInput"), h2 = E("el-input-number"), f2 = E("el-switch"), g2 = E("el-slider"), y2 = E("el-rate"), v2 = E("organization-input"), b2 = E("el-button"), S2 = E("el-upload"), w2 = E("el-dialog"), C2 = E("view-image-dialog"), T2 = E("scan-code-input-browser");
|
|
470
|
+
return i2.type && i2.type.indexOf("custom:") >= 0 && "" != a2.componentName ? (x(), I("div", { key: 0, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(x(), O(k(a2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": a2.gridData, "page-grid-data": a2.pageGridData, "additional-settings": a2.controlConfig, parent: a2.parentFormData, prop: i2.column.prop, "custom-params": a2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: a2.innerValue, "additional-param-map": a2.additionalParamMap, listCode: i2.listCode, "component-id": a2.componentId, "page-context": a2.pageContext, onChange: t2[0] || (t2[0] = (e3) => o2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => o2.cellEvent("input", e3)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 2)) : (x(), I("div", { key: 1, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (x(), O(n2, { key: 0, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (x(), O(n2, { key: 1, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (x(), O(n2, { key: 2, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (x(), O(n2, { key: 3, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (x(), O(s2, { key: 4, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => a2.innerValue = e3), disabled: i2.disabled, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (x(), O(n2, { key: 5, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (x(), O(n2, { key: 6, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== i2.type || "INTEGER" !== i2.column.dataType && "LONG" !== i2.column.dataType ? "input" === i2.type ? (x(), O(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, clearable: "", modelValue: a2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => a2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => o2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => o2.cellEvent("input", e3, true)) }, M({ _: 2 }, ["outer" != a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prefix", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (x(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (x(), I("span", J, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "0" } : void 0, "outer" == a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prepend", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (x(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (x(), I("span", W, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "1" } : void 0, "outer" != a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "suffix", fn: j(() => [a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (x(), O(u2, { key: 0, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (x(), I("span", R, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "2" } : void 0, a2.isShowScanIcon || "outer" == a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "append", fn: j(() => [a2.isShowScanIcon ? (x(), O(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => o2.scanClick()) })) : U("", true), a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (x(), O(u2, { key: 1, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (x(), I("span", Y, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (x(), O(r2, { key: 9, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => a2.innerValue = e3), disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: a2.designProperty.rows ? a2.designProperty.rows : 2, title: a2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => o2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (x(), O(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: a2.innerValue, "page-context": a2.pageContext, "list-code": i2.listCode, componentId: a2.componentId, onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess, onOnError: o2.onError }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess", "onOnError"])) : "multipartUpload" === i2.type ? (x(), O(m2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, value: a2.innerValue, type: "list", onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (x(), O(d2, { key: 12, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => a2.innerValue = e3), t2[61] || (t2[61] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: o2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (x(), O(c2, { key: 13, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => a2.innerValue = e3), t2[63] || (t2[63] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: a2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: a2.dynamicDataSourceCode, additionalParamMap: a2.additionalParamMap, isSql: i2.isSql, parentFormData: a2.parentFormData, tableName: a2.tableName, onCellEvent: o2.cellEvent, onExtendParams: o2.setExtendParams, onSetCellValue: o2.setCellValue, onSetCellValueWithProp: o2.setCellValueWithProp, onCallCustomEventWithParam: o2.callCustomEventWithParam }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "column", "type", "controlConfig", "listCode", "listToolbarFormData", "dynamicDataSourceCode", "additionalParamMap", "isSql", "parentFormData", "tableName", "onCellEvent", "onExtendParams", "onSetCellValue", "onSetCellValueWithProp", "onCallCustomEventWithParam"])) : "inputNumber" === i2.type ? (x(), O(h2, { key: 14, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => a2.innerValue = e3), "controls-position": a2.inputNumberSet.position, disabled: i2.disabled, max: 0 == a2.inputNumberSet.max ? 0 : a2.inputNumberSet.max ? a2.inputNumberSet.max : 1 / 0, min: 0 == a2.inputNumberSet.min ? 0 : a2.inputNumberSet.min ? a2.inputNumberSet.min : -1 / 0, precision: a2.inputNumberSet.precision, step: a2.inputNumberSet.step ? a2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (x(), O(f2, { key: 15, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => a2.innerValue = e3), "active-text": o2.getSwitchConfig("activeText"), "active-value": o2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": o2.getSwitchConfig("inactiveText"), "inactive-value": o2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => o2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (x(), O(g2, { key: 16, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => o2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (x(), O(y2, { key: 17, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => o2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : a2.deptManTree || a2.deptTree || a2.wgManTree || a2.wgTree ? (x(), O(v2, { key: 18, "check-strictly": a2.isCheckStrictly, "department-info": a2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = a2.controlConfig) == null ? void 0 : _a.limitFilterColumn, inputShowWay: (_b = a2.controlConfig) == null ? void 0 : _b.inputShowWay, autosize: (_c = a2.controlConfig) == null ? void 0 : _c.autosize, fields: a2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: a2.isMultiTree, "table-name": a2.tableName, "tree-type": a2.deptManTree ? "DeptUserTree" : a2.deptTree ? "DeptTree" : a2.wgManTree ? "WgUserTree" : a2.wgTree ? "WgTree" : null, value: a2.innerValue, onAppend: o2.appendOrganizationInputEvent, onClear: o2.clearOrganizationInputEvent, onFocus: o2.showOrganizationTree, onReplace: o2.replaceOrganizationInputEvent, onSetValue: o2.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "inputShowWay", "autosize", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : U("", true) : (x(), O(r2, { key: 7, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => a2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => o2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), A(w2, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: a2.annexUploadFlag, width: "30%" }, { default: j(() => ["annex" === i2.type && a2.annexUploadFlag ? (x(), O(S2, { key: 0, accept: a2.fileSetObj && a2.fileSetObj.accept ? a2.fileSetObj.accept : null, action: a2.defaultAction, "before-upload": o2.handleBeforeUpload, headers: a2.headers, "on-success": o2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: j(() => [A(b2, null, { default: j(() => [L($(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : U("", true)]), _: 1 }, 8, ["title", "visible"]), a2.showSingleImgFlag ? (x(), O(C2, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": a2.fileList, onClose: t2[78] || (t2[78] = (e3) => a2.showSingleImgFlag = false), onDelete: o2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : U("", true), a2.isShowBrowserScan ? (x(), O(T2, { key: 20, onClose: o2.closeBrowserScan }, null, 8, ["onClose"])) : U("", true)], 2));
|
|
479
471
|
}]]);
|
|
480
472
|
export {
|
|
481
473
|
_ as default
|
|
@@ -17,7 +17,6 @@ import I from "./components/grid-icon.vue.mjs";
|
|
|
17
17
|
import { formatScanRuleSets as k } from "./scan-util.mjs";
|
|
18
18
|
import T from "../../src/store/index.mjs";
|
|
19
19
|
import { isPromise as F } from "../../src/utils/common-util.mjs";
|
|
20
|
-
import "element-plus";
|
|
21
20
|
import { resolveComponent as O, resolveDirective as j, openBlock as P, createElementBlock as R, createBlock as $, normalizeClass as L, withKeys as q, createVNode as H, withCtx as A, toDisplayString as G, createCommentVNode as V, Fragment as _, renderList as M, withDirectives as N, createTextVNode as B, resolveDynamicComponent as W, createElementVNode as U, normalizeStyle as J } from "vue";
|
|
22
21
|
import "./normal-column-content.vue2.mjs";
|
|
23
22
|
import z from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -67,7 +66,7 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
|
|
|
67
66
|
var _a;
|
|
68
67
|
this.column.width && (this.cellWidth = this.column.width - 10);
|
|
69
68
|
const t2 = h.get(this.listCode);
|
|
70
|
-
if (t2 && t2.options && t2.options.isFormSubTable && (this.isFormSubTable = t2.options.isFormSubTable), this.disabled = s(this.column.prop, this.listCode, this.row), t2 && t2.options && void 0 !== t2.options.subTableCanAdd && null !== t2.options.subTableCanAdd && (this.subTableCanAdd = t2.options.subTableCanAdd), this.column.prop && "operation" === this.column.prop || void 0 !== t2.options.showOverflowTooltip && false === t2.options.showOverflowTooltip ? this.isShowOverflowTooltip = false : this.isShowOverflowTooltip = true, void 0 === t2.isHasDynamic && void 0 !== this.column.dynamic && true === this.column.dynamic && (t2.isHasDynamic = true), this.label = this.getHeader(), this.
|
|
69
|
+
if (t2 && t2.options && t2.options.isFormSubTable && (this.isFormSubTable = t2.options.isFormSubTable), this.disabled = s(this.column.prop, this.listCode, this.row), t2 && t2.options && void 0 !== t2.options.subTableCanAdd && null !== t2.options.subTableCanAdd && (this.subTableCanAdd = t2.options.subTableCanAdd), this.column.prop && "operation" === this.column.prop || void 0 !== t2.options.showOverflowTooltip && false === t2.options.showOverflowTooltip ? this.isShowOverflowTooltip = false : this.isShowOverflowTooltip = true, void 0 === t2.isHasDynamic && void 0 !== this.column.dynamic && true === this.column.dynamic && (t2.isHasDynamic = true), this.label = this.getHeader(), this.isShowAdd = this.isFormSubTable && "operation" === this.column.prop && this.subTableCanAdd && t2.options && t2.options.showOperationButton, this.column.fileSet && "" !== this.column.fileSet && "annex" === this.column.componentType) {
|
|
71
70
|
const t3 = JSON.parse(this.column.fileSet);
|
|
72
71
|
t3 && t3.multiple && (this.fileMultiple = true);
|
|
73
72
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CirclePlus as e, ZoomIn as t } from "@element-plus/icons-vue";
|
|
2
2
|
import { $emit as o } from "../../utils/gogocodeTransfer.mjs";
|
|
3
|
-
import { getColumnValues as r,
|
|
3
|
+
import { getColumnValues as r, getHeaderLable as i, isRequiredEdit as l, getContentAlign as a, getHeaderAlign as n } from "./utils.mjs";
|
|
4
4
|
import s from "./dynamic-input.vue.mjs";
|
|
5
5
|
import u from "./store.mjs";
|
|
6
6
|
import d from "./custom-formatter.mjs";
|
|
@@ -12,7 +12,7 @@ import h from "../../rich-editor/viewer.vue.mjs";
|
|
|
12
12
|
import f from "./components/grid-icon.vue.mjs";
|
|
13
13
|
import b from "./normal-column-content.vue.mjs";
|
|
14
14
|
import g from "./eventBus.mjs";
|
|
15
|
-
import { resolveComponent as w, openBlock as
|
|
15
|
+
import { resolveComponent as w, openBlock as T, createBlock as C, withCtx as D, createElementBlock as S, normalizeClass as P, createElementVNode as F, resolveDynamicComponent as v, createVNode as y, createCommentVNode as R, normalizeStyle as E } from "vue";
|
|
16
16
|
import "./normal-column.vue2.mjs";
|
|
17
17
|
import x from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
18
18
|
import j from "../../fs-preview/src/fs-preview.vue.mjs";
|
|
@@ -54,10 +54,10 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
|
|
|
54
54
|
this.column.width && (this.cellWidth = this.column.width - 10);
|
|
55
55
|
const e2 = u.get(this.listCode);
|
|
56
56
|
e2 && e2.options && e2.options.isFormSubTable && (this.isFormSubTable = e2.options.isFormSubTable), e2 && e2.options && (void 0 !== e2.options.subTableCanAdd && null !== e2.options.subTableCanAdd && (this.subTableCanAdd = e2.options.subTableCanAdd), void 0 !== e2.options.subTableCanDelete && null !== e2.options.subTableCanDelete && (this.subTableCanDelete = e2.options.subTableCanDelete));
|
|
57
|
-
const t2 =
|
|
57
|
+
const t2 = a(this.column, e2);
|
|
58
58
|
t2 && (this.align = t2);
|
|
59
|
-
const o2 =
|
|
60
|
-
o2 && (this.headerAlign = o2), this.label = this.getHeader(), this.
|
|
59
|
+
const o2 = n(this.column, e2);
|
|
60
|
+
o2 && (this.headerAlign = o2), this.label = this.getHeader(), this.isShowAdd = this.isFormSubTable && "operation" === this.column.prop && this.subTableCanAdd && e2.options && e2.options.showOperationButton, this.isShowDelete = this.isFormSubTable && "operation" === this.column.prop && this.subTableCanDelete && e2.options && e2.options.showOperationButton && e2.isMulitiSelect;
|
|
61
61
|
}, mounted() {
|
|
62
62
|
if ("operation" === this.column.prop) {
|
|
63
63
|
const e2 = this;
|
|
@@ -68,7 +68,7 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
|
|
|
68
68
|
}, unmounted() {
|
|
69
69
|
g.$off("change-add-state");
|
|
70
70
|
}, methods: { ...d, ...m, getHeader() {
|
|
71
|
-
return
|
|
71
|
+
return i(this.column);
|
|
72
72
|
}, filterHandler: (e2, t2, o2) => t2[o2.property] === e2, refresData(e2) {
|
|
73
73
|
o(this, "refresData", e2);
|
|
74
74
|
}, refresPortData(e2, t2, r2) {
|
|
@@ -78,7 +78,9 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
|
|
|
78
78
|
}, refresMainTableFields(e2) {
|
|
79
79
|
o(this, "refresMainTableFields", e2);
|
|
80
80
|
}, createFormSubTableRow() {
|
|
81
|
-
this.createRow(this.listCode)
|
|
81
|
+
this.createRow(this.listCode).then(() => {
|
|
82
|
+
o(this, "scrollToBottom");
|
|
83
|
+
});
|
|
82
84
|
}, deleteFormSubTableRow() {
|
|
83
85
|
o(this, "batchDeleteSubTableRow");
|
|
84
86
|
}, getColumnWidth() {
|
|
@@ -88,7 +90,7 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
|
|
|
88
90
|
}, prohibitToEdit(e2) {
|
|
89
91
|
o(this, "prohibitToEdit", e2);
|
|
90
92
|
}, isFieldRequired() {
|
|
91
|
-
return
|
|
93
|
+
return l(this.column, this.listCode);
|
|
92
94
|
}, refreshList() {
|
|
93
95
|
this.$emit("refresh-list");
|
|
94
96
|
}, openPageEvent(e2) {
|
|
@@ -98,8 +100,8 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
|
|
|
98
100
|
} }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, k = ["title", "innerHTML"], M = { style: { "margin-left": "5px" } };
|
|
99
101
|
const q = x(A, [["render", function(e2, t2, o2, r2, i2, l2) {
|
|
100
102
|
const a2 = w("CirclePlus"), n2 = w("el-icon"), s2 = w("Remove"), u2 = w("NormalColumnContent"), d2 = w("el-table-column");
|
|
101
|
-
return
|
|
102
|
-
}], ["__scopeId", "data-v-
|
|
103
|
+
return T(), C(d2, { key: o2.column.prop, align: i2.align, "class-name": o2.column.prop, "filter-method": l2.filterMethod, filters: l2.filters, fixed: l2.fixed, "header-align": i2.headerAlign, prop: o2.column.prop, sortable: l2.sortable, "min-width": l2.getColumnWidth() }, { header: D(() => [o2.column.customHeader ? (T(), C(v(o2.column.customHeader), { key: 1, prop: o2.column.prop, parent: i2.parentFormData, "grid-data": o2.gridData, "current-page": o2.currentPage, label: e2.$escapeHtml(e2.label), column: o2.column }, null, 8, ["prop", "parent", "grid-data", "current-page", "label", "column"])) : (T(), S("span", { key: 0, class: P([{ is_req: l2.isFieldRequired() }, "normal-column-header"]) }, [F("span", { title: e2.$escapeHtml(e2.label), class: "cell--span required__label", innerHTML: e2.$escapeHtml(e2.label) }, null, 8, k)], 2)), F("span", M, [i2.isShowAdd ? (T(), C(n2, { key: 0, class: "normal-column-header normal-column-header-icon", onClick: l2.createFormSubTableRow }, { default: D(() => [y(a2)]), _: 1 }, 8, ["onClick"])) : R("", true), i2.isShowDelete ? (T(), C(n2, { key: 1, class: "normal-column-header normal-column-header-icon", onClick: l2.deleteFormSubTableRow }, { default: D(() => [y(s2)]), _: 1 }, 8, ["onClick"])) : R("", true)])]), default: D((e3) => [y(u2, { ref: o2.column.prop, "is-sql": o2.isSql, column: o2.column, "list-code": o2.listCode, "new-width": o2.newWidth, "drag-column-prop": o2.dragColumnProp, "right-click-menu-arr": i2.options.rightClickMenuArr, "table-name": o2.tableName, "page-code": o2.pageCode, "list-toolbar-form-data": o2.listToolbarFormData, "list-name": o2.listName, options: i2.options, "current-page": o2.currentPage, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, row: e3.row, "row-index": e3.$index, "line-edit": l2.lineEdit, "custom-format": o2.customFormat, class: P(l2.isValidateError(e3.row, e3.$index) ? "required_bg required-corner" : ""), style: E(l2.isValidateError(e3.row, e3.$index) ? "display:block;" : ""), "get-super-grid-ref": o2.getSuperGridRef, onOpenPage: l2.openPageEvent, onRefresData: l2.refresData, onRefreshList: l2.refreshList, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onRefresMainTableFields: l2.refresMainTableFields, onProhibitToEdit: l2.prohibitToEdit }, null, 8, ["is-sql", "column", "list-code", "new-width", "drag-column-prop", "right-click-menu-arr", "table-name", "page-code", "list-toolbar-form-data", "list-name", "options", "current-page", "grid-data", "page-grid-data", "row", "row-index", "line-edit", "custom-format", "class", "style", "get-super-grid-ref", "onOpenPage", "onRefresData", "onRefreshList", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit"])]), _: 1 }, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "min-width"]);
|
|
104
|
+
}], ["__scopeId", "data-v-2b497f79"]]);
|
|
103
105
|
export {
|
|
104
106
|
q as default
|
|
105
107
|
};
|
|
@@ -3,7 +3,7 @@ import e from "./custom-formatter.mjs";
|
|
|
3
3
|
import i from "../../super-icon/src/index.vue.mjs";
|
|
4
4
|
import { analysisCondition as n } from "../../src/utils/util.mjs";
|
|
5
5
|
import o from "./store.mjs";
|
|
6
|
-
import { resolveComponent as s, resolveDirective as l, openBlock as a, createElementBlock as r, normalizeStyle as u, createBlock as c, withCtx as p, withDirectives as d, resolveDynamicComponent as h, mergeProps as m, normalizeClass as f, createCommentVNode as
|
|
6
|
+
import { resolveComponent as s, resolveDirective as l, openBlock as a, createElementBlock as r, normalizeStyle as u, createBlock as c, withCtx as p, withDirectives as d, resolveDynamicComponent as h, mergeProps as m, normalizeClass as f, createCommentVNode as b, createTextVNode as S, toDisplayString as y } from "vue";
|
|
7
7
|
import "./row-operation.vue2.mjs";
|
|
8
8
|
import g from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
9
9
|
const x = g({ name: "RowOperation", components: { superIcon: i }, props: { editing: { type: Boolean, default: false }, isTableBtnLink: { type: [Boolean], default: false }, isShow: { type: [Boolean, Function], default: true }, onClick: { type: Function, default: function() {
|
|
@@ -59,7 +59,7 @@ const x = g({ name: "RowOperation", components: { superIcon: i }, props: { editi
|
|
|
59
59
|
}, isElementType() {
|
|
60
60
|
return this.isTableBtnLinkShow ? "el-link" : this.elementType;
|
|
61
61
|
} }, created() {
|
|
62
|
-
this.operationSetting.elementType && "el-link" === this.operationSetting.elementType && (this.operationSetting.type = "primary"), this.operationSetting.elementType && "el-button" !== this.operationSetting.elementType || (this.operationSetting.size = "small"), this.operationSetting.style
|
|
62
|
+
this.operationSetting.elementType && "el-link" === this.operationSetting.elementType && (this.operationSetting.type = "primary"), this.operationSetting.elementType && "el-button" !== this.operationSetting.elementType || (this.operationSetting.size = "small"), this.operationSetting.style && (this.myStyle = this.operationSetting.style), this.operationSetting.elementType && (this.elementType = this.operationSetting.elementType);
|
|
63
63
|
}, methods: { onClickFun(t2) {
|
|
64
64
|
e.onClickFun(this.entity, this.column, this.onClick, this.rowIndex, t2), this.$emit("afterClick", { row: this.entity, column: this.column, rowIndex: this.rowIndex });
|
|
65
65
|
}, isShowButton() {
|
|
@@ -82,7 +82,7 @@ const x = g({ name: "RowOperation", components: { superIcon: i }, props: { editi
|
|
|
82
82
|
return i2;
|
|
83
83
|
} } }, [["render", function(t2, e2, i2, n2, o2, g2) {
|
|
84
84
|
const x2 = s("superIcon"), w = s("el-tooltip"), T = l("permission");
|
|
85
|
-
return a(), r("span", { style: u(o2.myStyle) }, [g2.isShowButton() ? (a(), c(w, { key: 0, disabled: g2.tooltipDisabled, content: i2.label, placement: "top" }, { default: p(() => [g2.operationSettingData.permission ? d((a(), c(h(g2.isElementType), m({ key: 0 }, g2.operationSettingData, { class: "row-operation-icon", disabled: t2.preventReclick, onMousedown: e2[0] || (e2[0] = (t3) => g2.onClickFun(g2.operationSettingData)) }), { default: p(() => [g2.prefixIcon ? (a(), c(x2, { key: 0, iconValue: g2.prefixIcon, class: f([{ "is-text-labl": !!g2.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) :
|
|
85
|
+
return a(), r("span", { style: u(o2.myStyle) }, [g2.isShowButton() ? (a(), c(w, { key: 0, disabled: g2.tooltipDisabled, content: i2.label, placement: "top" }, { default: p(() => [g2.operationSettingData.permission ? d((a(), c(h(g2.isElementType), m({ key: 0 }, g2.operationSettingData, { class: "row-operation-icon", disabled: t2.preventReclick, onMousedown: e2[0] || (e2[0] = (t3) => g2.onClickFun(g2.operationSettingData)) }), { default: p(() => [g2.prefixIcon ? (a(), c(x2, { key: 0, iconValue: g2.prefixIcon, class: f([{ "is-text-labl": !!g2.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : b("", true), S(" " + y(g2.labelText) + " ", 1), g2.suffixIcon ? (a(), c(x2, { key: 1, iconValue: g2.suffixIcon, class: f([{ "is-text-labl": !!g2.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : b("", true)]), _: 1 }, 16, ["disabled"])), [[T, g2.operationSettingData.permission]]) : (a(), c(h(g2.isElementType), m({ key: 1 }, g2.operationSettingData, { class: "row-operation-icon", disabled: t2.preventReclick, onMousedown: e2[1] || (e2[1] = (t3) => g2.onClickFun(g2.operationSettingData)) }), { default: p(() => [g2.prefixIcon ? (a(), c(x2, { key: 0, iconValue: g2.prefixIcon, class: f([{ "is-text-labl": !!g2.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : b("", true), S(" " + y(g2.labelText) + " ", 1), g2.suffixIcon ? (a(), c(x2, { key: 1, iconValue: g2.suffixIcon, class: f([{ "is-text-labl": !!g2.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : b("", true)]), _: 1 }, 16, ["disabled"]))]), _: 1 }, 8, ["disabled", "content"])) : b("", true)], 4);
|
|
86
86
|
}], ["__scopeId", "data-v-e34a61f7"]]);
|
|
87
87
|
export {
|
|
88
88
|
x as default
|
|
@@ -2,13 +2,15 @@ import { $emit as e } from "../../utils/gogocodeTransfer.mjs";
|
|
|
2
2
|
import o from "./search-methods.mjs";
|
|
3
3
|
import t from "./search-form-number.vue.mjs";
|
|
4
4
|
import l from "./store.mjs";
|
|
5
|
-
import { getControlConfig as
|
|
6
|
-
import { watchPageContextDynamicVariable as m, getPropValueNew as
|
|
7
|
-
import { resolveComponent as
|
|
5
|
+
import { getControlConfig as n, getDynamicDataSourceOptions as a, isDynamicDataSourceSource as r } from "./utils.mjs";
|
|
6
|
+
import { watchPageContextDynamicVariable as m, getPropValueNew as c } from "../../src/utils/util.mjs";
|
|
7
|
+
import { resolveComponent as u, openBlock as p, createBlock as i, withCtx as s, createElementVNode as d, createElementBlock as h, resolveDynamicComponent as y, createVNode as g, normalizeStyle as f, createSlots as T, Fragment as V, renderList as C, createTextVNode as b, toDisplayString as S, withKeys as v, createCommentVNode as F } from "vue";
|
|
8
8
|
import "./search-form-item.vue2.mjs";
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
|
|
9
|
+
import k from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
10
|
+
const M = { name: "SearchFormItem", components: { searchFormNumber: t }, inject: ["getListToolbarFormData"], props: { column: { type: Object, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: false }, tableName: { type: String, default: null }, isJoinTable: { type: Boolean, default: false }, searchForm: { type: Object, default: null }, index: { type: Number, default: 0 }, length: { type: Number, default: 0 }, loadCompleteQuery: { type: Boolean, default: false }, labelWidth: { type: [String, Number, void 0], default: void 0 } }, data() {
|
|
11
|
+
const e2 = /* @__PURE__ */ new Set();
|
|
12
|
+
let o2 = n(this.column), t2 = {};
|
|
13
|
+
return o2.querySettings && Object.keys(o2.querySettings).length > 0 && (t2 = o2.querySettings), { customComponentNames: e2, dateOne: null, dataTwo: null, moduleConfig: {}, dateVal: this.getFormItemValue(this.column.prop), controlConfig: o2, controlConfigQuerySetting: t2, isShowEmtptyFlag: false, dataSourceOptions: {}, departmentInfo: null, checkEmptyValue: false };
|
|
12
14
|
}, computed: { listToolbarFormData() {
|
|
13
15
|
const e2 = this.getListToolbarFormData();
|
|
14
16
|
return e2 && e2.listToolbarFormData ? e2.listToolbarFormData : null;
|
|
@@ -27,7 +29,7 @@ const k = { name: "SearchFormItem", components: { searchFormNumber: t }, inject:
|
|
|
27
29
|
}, methods: { ...o, getDynamicDataSourceOptions(e2) {
|
|
28
30
|
const o2 = l.get(this.code);
|
|
29
31
|
let t2 = o2.options.backendUrl;
|
|
30
|
-
return t2 || (t2 = window.$vueApp.config.globalProperties.baseURL),
|
|
32
|
+
return t2 || (t2 = window.$vueApp.config.globalProperties.baseURL), a(e2, this.isSql, o2.additionalParamMap, t2);
|
|
31
33
|
}, isDynamicDataSourceSource: (e2) => r(e2), setValueToModelProp(e2, o2, t2, l2) {
|
|
32
34
|
if (e2 && e2.indexOf(".") > 0) {
|
|
33
35
|
const t3 = this.getParentObject(e2);
|
|
@@ -73,6 +75,8 @@ const k = { name: "SearchFormItem", components: { searchFormNumber: t }, inject:
|
|
|
73
75
|
}, clearOrganizationInputEvent(e2) {
|
|
74
76
|
e2 && (this.searchForm[e2] = null);
|
|
75
77
|
}, customComponent(e2) {
|
|
78
|
+
if (this.controlConfig && !this.controlConfig.customComponent)
|
|
79
|
+
return false;
|
|
76
80
|
const o2 = l.get(this.code);
|
|
77
81
|
if (e2.componentName && "" !== e2.componentName)
|
|
78
82
|
return this.customComponentNames.add(e2.componentName), true;
|
|
@@ -113,16 +117,16 @@ const k = { name: "SearchFormItem", components: { searchFormNumber: t }, inject:
|
|
|
113
117
|
this.setLimitDepartmentInfo();
|
|
114
118
|
})));
|
|
115
119
|
}, setLimitDepartmentInfo() {
|
|
116
|
-
const e2 =
|
|
120
|
+
const e2 = c(this.controlConfig.deptScopeField, this.pageContext, this.row);
|
|
117
121
|
this.departmentInfo = e2 ? e2.split(",") : [];
|
|
118
122
|
} }, emits: ["submit-form"] }, I = ["title", "innerHTML"], D = { key: 0, style: { width: "100%" } }, x = { key: 1 };
|
|
119
|
-
const E = M
|
|
120
|
-
const r2 =
|
|
121
|
-
return p(), i(Y, { "label-width": t2.labelWidth ?? (t2.column.querySetting ?
|
|
122
|
-
var _a, _b, _c, _d;
|
|
123
|
-
return [true === n2.customComponent(t2.column) ? (p(), h("span", D, [(p(), i(y(t2.column.componentName), { ref: t2.column.componentName, entity: t2.searchForm, "additional-settings": a2.controlConfig, "model-value": e2.getFormItemValue(t2.column.prop), prop: t2.column.prop, row: t2.searchForm, "select-options": t2.column.valueSet, isSearch: true, class: "customComponent", onChange: o2[0] || (o2[0] = (e3) => n2.setValueToModelProp(t2.column.prop, e3, t2.column.componentName)) }, null, 40, ["entity", "additional-settings", "model-value", "prop", "row", "select-options"]))])) : "dateSection" === t2.column.componentType ? (p(), h("span", x, [g(r2, { modelValue: t2.searchForm[t2.column.prop][0], "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => t2.searchForm[t2.column.prop][0] = e3), placeholder: e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "date", onChange: o2[2] || (o2[2] = (e3) => n2.setValueToModelProp(t2.column.prop, e3, null, 0)) }, null, 8, ["modelValue", "placeholder", "style"]), g(r2, { modelValue: t2.searchForm[t2.column.prop][1], "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => t2.searchForm[t2.column.prop][1] = e3), placeholder: e2.$t("imatrixUIMessage.endDate"), style: f(t2.column.searchControlWidth), type: "date", onChange: o2[4] || (o2[4] = (e3) => n2.setValueToModelProp(t2.column.prop, e3, null, 1)) }, null, 8, ["modelValue", "placeholder", "style"])])) : "yearRange" === t2.column.componentType ? (p(), i(m2, { key: 2, value: e2.getFormItemValue(t2.column.prop), type: "yearRange", onChange: o2[5] || (o2[5] = (e3) => n2.setYearRangeValue(t2.column.prop, e3)) }, null, 8, ["value"])) : "dateTimePicker" === t2.column.componentType ? (p(), i(r2, { key: 3, "default-time": n2.getDefaultTime(t2.column), "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "YYYY-MM-DD HH:mm:ss", "value-format": "YYYY-MM-DD HH:mm:ss", onChange: o2[7] || (o2[7] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["default-time", "end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "DATE" === t2.column.dataType || "date" === t2.column.componentType ? (p(), i(r2, { key: 4, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[8] || (o2[8] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "daterange", "unlink-panels": "", format: "YYYY-MM-DD", "value-format": "YYYY-MM-DD", onChange: o2[9] || (o2[9] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "TIME" === t2.column.dataType && "timepicker" === t2.column.componentType ? (p(), i(r2, { key: 5, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[10] || (o2[10] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o2[11] || (o2[11] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "timepicker" === t2.column.componentType && "TIME" !== t2.column.dataType && "DATE" !== t2.column.dataType ? (p(), i(u2, { key: 6, modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[12] || (o2[12] = (e3) => t2.searchForm[t2.column.prop] = e3), placeholder: e2.$t("imatrixUIMessage.selectTime"), style: { width: "100%" }, type: "fixed-time", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o2[13] || (o2[13] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["modelValue", "placeholder"])) : n2.componentTypeTypeIsTree(t2.column.componentType) ? (p(), i(M2, { key: 7, fields: n2.getTreeFields(t2.column.orgTreeSet), "department-info": a2.departmentInfo, "limit-filter-column": (_a = a2.controlConfig) == null ? void 0 : _a.limitFilterColumn, models: t2.searchForm, multiple: n2.getTreeIsMultiTree(t2.column.componentType), "tree-type": n2.getTreeType(t2.column.componentType), value: e2.getFormItemValue(t2.column.prop), onClear: n2.clearOrganizationInputEvent, onSetValue: n2.organizationInputEvent }, null, 8, ["fields", "department-info", "limit-filter-column", "models", "multiple", "tree-type", "value", "onClear", "onSetValue"])) : "radio" === ((_b = t2.column) == null ? void 0 : _b.componentType) ? (p(), i(O, { key: 8, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: f(t2.column.searchControlWidth), clearable: "", filterable: "", onChange: o2[15] || (o2[15] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, T({ default: s(() => [(p(true), h(V, null, b(t2.column.valueSet, (e3) => (p(), i(E2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, ["BOOLEAN" !== t2.column.dataType ? { name: "header", fn: s(() => [g(k2, { modelValue: a2.checkEmptyValue, "onUpdate:modelValue": o2[14] || (o2[14] = (e3) => a2.checkEmptyValue = e3), onChange: n2.checkEmptyChange }, { default: s(() => [C(v(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), key: "0" } : void 0]), 1032, ["model-value", "placeholder", "style"])) : (t2.column.componentType && "select" === t2.column.componentType || "BOOLEAN" === t2.column.dataType) && !n2.isDynamicDataSourceSource(t2.column) ? (p(), i(O, { key: 9, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: f(t2.column.searchControlWidth), clearable: "", filterable: "", onChange: o2[17] || (o2[17] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, T({ default: s(() => [(p(true), h(V, null, b(t2.column.valueSet, (e3) => (p(), i(E2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, ["BOOLEAN" !== t2.column.dataType ? { name: "header", fn: s(() => [g(k2, { modelValue: a2.checkEmptyValue, "onUpdate:modelValue": o2[16] || (o2[16] = (e3) => a2.checkEmptyValue = e3), onChange: n2.checkEmptyChange }, { default: s(() => [C(v(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), key: "0" } : void 0]), 1032, ["model-value", "placeholder", "style"])) : t2.column.componentType && "multiselect" === t2.column.componentType && !n2.isDynamicDataSourceSource(t2.column) ? (p(), i(O, { key: 10, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: f(t2.column.searchControlWidth), clearable: "", "collapse-tags": "", filterable: "", multiple: "", onChange: o2[19] || (o2[19] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, { header: s(() => [g(k2, { modelValue: a2.checkEmptyValue, "onUpdate:modelValue": o2[18] || (o2[18] = (e3) => a2.checkEmptyValue = e3), onChange: n2.checkEmptyChange }, { default: s(() => [C(v(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), default: s(() => [(p(true), h(V, null, b(t2.column.valueSet, (e3) => (p(), i(E2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["model-value", "placeholder", "style"])) : t2.column.componentType && ("multiselect" === t2.column.componentType || "select" === t2.column.componentType) && n2.isDynamicDataSourceSource(t2.column) ? (p(), i(U, { key: 11, ref: "selectRef", value: t2.searchForm[t2.column.prop], "onUpdate:value": o2[20] || (o2[20] = (e3) => t2.searchForm[t2.column.prop] = e3), "allow-create": (_d = (_c = a2.dataSourceOptions) == null ? void 0 : _c.controlConfig) == null ? void 0 : _d.allowCreate, "base-props": { multiple: "multiselect" === t2.column.componentType }, entity: t2.searchForm, filterable: true, "is-join-table": t2.isJoinTable, "list-code": t2.code, "list-toolbar-form-data": n2.listToolbarFormData, options: a2.dataSourceOptions, "table-name": t2.tableName, "is-search": true, onChange: n2.multiselectChange, onChangeEmptyValue: n2.checkEmptyChange }, null, 8, ["value", "allow-create", "base-props", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "table-name", "onChange", "onChangeEmptyValue"])) : t2.column.componentType && "inputNumber" === t2.column.componentType ? (p(), i($, { key: 12, "item-value": t2.searchForm[t2.column.prop], "module-config": a2.moduleConfig, onSetValue: n2.setNumberValue }, null, 8, ["item-value", "module-config", "onSetValue"])) : t2.column.componentType && "switch" === t2.column.componentType ? (p(), i(w, { key: 13, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", onChange: o2[21] || (o2[21] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : t2.column.componentType && "slider" === t2.column.componentType ? (p(), i(N, { key: 14, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), onChange: o2[22] || (o2[22] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : t2.column.componentType && "rate" === t2.column.componentType ? (p(), i(P, { key: 15, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), onChange: o2[23] || (o2[23] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : (p(), i(_, { key: 16, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), onKeyup: o2[25] || (o2[25] = S((o3) => e2.submitForm("searchForm"), ["enter"])), onInput: o2[26] || (o2[26] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)), onFocus: o2[27] || (o2[27] = (e3) => n2.showEmpty()), onBlur: o2[28] || (o2[28] = (e3) => n2.hiddenEmpty()) }, { suffix: s(() => [g(W, { content: e2.$t("superGrid.searchEmpty"), placement: "bottom" }, { default: s(() => [n2.isShowEmtpty ? (p(), i(k2, { key: 0, modelValue: n2.checkedEmpty, "onUpdate:modelValue": o2[24] || (o2[24] = (e3) => n2.checkedEmpty = e3), onChange: n2.checkEmptyChange }, null, 8, ["modelValue", "onChange"])) : F("", true)]), _: 1 }, 8, ["content"])]), _: 1 }, 8, ["model-value", "style"]))];
|
|
123
|
+
const E = k(M, [["render", function(e2, o2, t2, l2, n2, a2) {
|
|
124
|
+
const r2 = u("el-date-picker"), m2 = u("year-range-picker"), c2 = u("el-time-picker"), k2 = u("organization-input"), M2 = u("el-checkbox"), E2 = u("el-option"), O = u("el-select"), U = u("dynamic-source-select"), $ = u("search-form-number"), w = u("el-switch"), N = u("el-slider"), P = u("el-rate"), W = u("el-tooltip"), _ = u("el-input"), Y = u("el-form-item");
|
|
125
|
+
return p(), i(Y, { "label-width": t2.labelWidth ?? (t2.column.querySetting ? a2.getLabelWidth(t2.column.querySetting) : "110px"), prop: t2.column.prop }, { label: s(() => [d("span", { title: (t2.column.searchLabel ?? t2.column.label).replace(/\\n/g, "</br>"), innerHTML: (t2.column.searchLabel ?? t2.column.label).replace(/\\n/g, "</br>") }, null, 8, I)]), default: s(() => {
|
|
126
|
+
var _a, _b, _c, _d, _e, _f;
|
|
127
|
+
return [true === a2.customComponent(t2.column) ? (p(), h("span", D, [(p(), i(y(t2.column.componentName), { ref: t2.column.componentName, entity: t2.searchForm, "additional-settings": n2.controlConfig, "model-value": e2.getFormItemValue(t2.column.prop), prop: t2.column.prop, row: t2.searchForm, "select-options": t2.column.valueSet, isSearch: true, class: "customComponent", onChange: o2[0] || (o2[0] = (e3) => a2.setValueToModelProp(t2.column.prop, e3, t2.column.componentName)) }, null, 40, ["entity", "additional-settings", "model-value", "prop", "row", "select-options"]))])) : "dateSection" === t2.column.componentType || "dateSection" === ((_a = n2.controlConfigQuerySetting) == null ? void 0 : _a.componentType) ? (p(), h("span", x, [g(r2, { modelValue: t2.searchForm[t2.column.prop][0], "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => t2.searchForm[t2.column.prop][0] = e3), placeholder: e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "date", onChange: o2[2] || (o2[2] = (e3) => a2.setValueToModelProp(t2.column.prop, e3, null, 0)) }, null, 8, ["modelValue", "placeholder", "style"]), g(r2, { modelValue: t2.searchForm[t2.column.prop][1], "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => t2.searchForm[t2.column.prop][1] = e3), placeholder: e2.$t("imatrixUIMessage.endDate"), style: f(t2.column.searchControlWidth), type: "date", onChange: o2[4] || (o2[4] = (e3) => a2.setValueToModelProp(t2.column.prop, e3, null, 1)) }, null, 8, ["modelValue", "placeholder", "style"])])) : "yearRange" === t2.column.componentType ? (p(), i(m2, { key: 2, value: e2.getFormItemValue(t2.column.prop), type: "yearRange", onChange: o2[5] || (o2[5] = (e3) => a2.setYearRangeValue(t2.column.prop, e3)) }, null, 8, ["value"])) : "dateTimePicker" === t2.column.componentType ? (p(), i(r2, { key: 3, "default-time": a2.getDefaultTime(t2.column), "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "YYYY-MM-DD HH:mm:ss", "value-format": "YYYY-MM-DD HH:mm:ss", onChange: o2[7] || (o2[7] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["default-time", "end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "DATE" === t2.column.dataType || "date" === t2.column.componentType ? (p(), i(r2, { key: 4, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[8] || (o2[8] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "daterange", "unlink-panels": "", format: "YYYY-MM-DD", "value-format": "YYYY-MM-DD", onChange: o2[9] || (o2[9] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "TIME" === t2.column.dataType && "timepicker" === t2.column.componentType ? (p(), i(r2, { key: 5, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[10] || (o2[10] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o2[11] || (o2[11] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "timepicker" === t2.column.componentType && "TIME" !== t2.column.dataType && "DATE" !== t2.column.dataType ? (p(), i(c2, { key: 6, modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[12] || (o2[12] = (e3) => t2.searchForm[t2.column.prop] = e3), placeholder: e2.$t("imatrixUIMessage.selectTime"), style: { width: "100%" }, type: "fixed-time", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o2[13] || (o2[13] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["modelValue", "placeholder"])) : a2.componentTypeTypeIsTree(t2.column.componentType) ? (p(), i(k2, { key: 7, fields: a2.getTreeFields(t2.column.orgTreeSet), "department-info": n2.departmentInfo, "limit-filter-column": (_b = n2.controlConfig) == null ? void 0 : _b.limitFilterColumn, models: t2.searchForm, multiple: a2.getTreeIsMultiTree(t2.column.componentType), "tree-type": a2.getTreeType(t2.column.componentType), value: e2.getFormItemValue(t2.column.prop), onClear: a2.clearOrganizationInputEvent, onSetValue: a2.organizationInputEvent }, null, 8, ["fields", "department-info", "limit-filter-column", "models", "multiple", "tree-type", "value", "onClear", "onSetValue"])) : "radio" === ((_c = t2.column) == null ? void 0 : _c.componentType) ? (p(), i(O, { key: 8, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: f(t2.column.searchControlWidth), clearable: "", filterable: "", onChange: o2[15] || (o2[15] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, T({ default: s(() => [(p(true), h(V, null, C(t2.column.valueSet, (e3) => (p(), i(E2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, ["BOOLEAN" !== t2.column.dataType ? { name: "header", fn: s(() => [g(M2, { modelValue: n2.checkEmptyValue, "onUpdate:modelValue": o2[14] || (o2[14] = (e3) => n2.checkEmptyValue = e3), onChange: a2.checkEmptyChange }, { default: s(() => [b(S(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), key: "0" } : void 0]), 1032, ["model-value", "placeholder", "style"])) : (t2.column.componentType && "select" === t2.column.componentType || "BOOLEAN" === t2.column.dataType) && !a2.isDynamicDataSourceSource(t2.column) ? (p(), i(O, { key: 9, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: f(t2.column.searchControlWidth), clearable: "", filterable: "", onChange: o2[17] || (o2[17] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, T({ default: s(() => [(p(true), h(V, null, C(t2.column.valueSet, (e3) => (p(), i(E2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, ["BOOLEAN" !== t2.column.dataType ? { name: "header", fn: s(() => [g(M2, { modelValue: n2.checkEmptyValue, "onUpdate:modelValue": o2[16] || (o2[16] = (e3) => n2.checkEmptyValue = e3), onChange: a2.checkEmptyChange }, { default: s(() => [b(S(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), key: "0" } : void 0]), 1032, ["model-value", "placeholder", "style"])) : t2.column.componentType && "multiselect" === t2.column.componentType && !a2.isDynamicDataSourceSource(t2.column) ? (p(), i(O, { key: 10, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: f(t2.column.searchControlWidth), clearable: "", "collapse-tags": "", filterable: "", multiple: "", onChange: o2[19] || (o2[19] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, { header: s(() => [g(M2, { modelValue: n2.checkEmptyValue, "onUpdate:modelValue": o2[18] || (o2[18] = (e3) => n2.checkEmptyValue = e3), onChange: a2.checkEmptyChange }, { default: s(() => [b(S(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), default: s(() => [(p(true), h(V, null, C(t2.column.valueSet, (e3) => (p(), i(E2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["model-value", "placeholder", "style"])) : t2.column.componentType && ("multiselect" === t2.column.componentType || "select" === t2.column.componentType) && a2.isDynamicDataSourceSource(t2.column) ? (p(), i(U, { key: 11, ref: "selectRef", value: t2.searchForm[t2.column.prop], "onUpdate:value": o2[20] || (o2[20] = (e3) => t2.searchForm[t2.column.prop] = e3), "allow-create": (_e = (_d = n2.dataSourceOptions) == null ? void 0 : _d.controlConfig) == null ? void 0 : _e.allowCreate, "base-props": { multiple: "multiselect" === t2.column.componentType }, entity: t2.searchForm, filterable: true, "is-join-table": t2.isJoinTable, "list-code": t2.code, "list-toolbar-form-data": a2.listToolbarFormData, options: n2.dataSourceOptions, "table-name": t2.tableName, "is-search": true, onChange: a2.multiselectChange, onChangeEmptyValue: a2.checkEmptyChange }, null, 8, ["value", "allow-create", "base-props", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "table-name", "onChange", "onChangeEmptyValue"])) : t2.column.componentType && "inputNumber" === t2.column.componentType ? (p(), i($, { key: 12, "item-value": t2.searchForm[t2.column.prop], "module-config": n2.moduleConfig, onSetValue: a2.setNumberValue }, null, 8, ["item-value", "module-config", "onSetValue"])) : t2.column.componentType && "switch" === t2.column.componentType ? (p(), i(w, { key: 13, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", onChange: o2[21] || (o2[21] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : t2.column.componentType && "slider" === t2.column.componentType ? (p(), i(N, { key: 14, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), onChange: o2[22] || (o2[22] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : t2.column.componentType && "rate" === t2.column.componentType ? (p(), i(P, { key: 15, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), onChange: o2[23] || (o2[23] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : (p(), i(_, { key: 16, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), type: ((_f = n2.controlConfigQuerySetting) == null ? void 0 : _f.componentType) ? n2.controlConfigQuerySetting.componentType : "text", onKeyup: o2[25] || (o2[25] = v((o3) => e2.submitForm("searchForm"), ["enter"])), onInput: o2[26] || (o2[26] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)), onFocus: o2[27] || (o2[27] = (e3) => a2.showEmpty()), onBlur: o2[28] || (o2[28] = (e3) => a2.hiddenEmpty()) }, { suffix: s(() => [g(W, { content: e2.$t("superGrid.searchEmpty"), placement: "bottom" }, { default: s(() => [a2.isShowEmtpty ? (p(), i(M2, { key: 0, modelValue: a2.checkedEmpty, "onUpdate:modelValue": o2[24] || (o2[24] = (e3) => a2.checkedEmpty = e3), onChange: a2.checkEmptyChange }, null, 8, ["modelValue", "onChange"])) : F("", true)]), _: 1 }, 8, ["content"])]), _: 1 }, 8, ["model-value", "style", "type"]))];
|
|
124
128
|
}), _: 1 }, 8, ["label-width", "prop"]);
|
|
125
|
-
}], ["__scopeId", "data-v-
|
|
129
|
+
}], ["__scopeId", "data-v-c0e02c39"]]);
|
|
126
130
|
export {
|
|
127
131
|
E as default
|
|
128
132
|
};
|