agilebuilder-ui 1.1.65-tmp30 → 1.1.65-tmp31
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 +5 -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,465 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("./store.cjs"), t = require("./utils.cjs"), i = require("../../dynamic-source-select/src/dynamic-source-select.vue.cjs"), l = require("../../src/utils/util.cjs"), o = require("../../src/utils/auth.cjs"), a = require("./apis.cjs"), n = require("./view-image-dialog.vue.cjs"), s = require("../../utils/gogocodeTransfer.cjs"), r = require("./eventBus.cjs"), u = require("../../src/utils/common-util.cjs"), p = require("./scan-util.cjs"), c = require("./custom-formatter.cjs"), m = require("./components/grid-radio-input.vue.cjs"), d = require("./components/select-input.vue.cjs"), h = require("vue"), f = require("../../_virtual/_plugin-vue_export-helper.cjs"), g = { name: "DynamicInput", components: { dynamicSourceSelect: i, ViewImageDialog: n, GridRadioInput: m, SelectInput: d }, 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() {
|
|
3
|
-
let i2 = this.value;
|
|
4
|
-
this.type && "select" === this.type && "TEXT" !== this.column.dataType && (i2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, s.$emit(this, "update:value", i2));
|
|
5
|
-
const l2 = this.getDefaultValue(i2);
|
|
6
|
-
null != l2 && (i2 = l2);
|
|
7
|
-
const a2 = t.isDisableEdit(this.column.prop, this.listCode, this.row, this.rowIndex);
|
|
8
|
-
this.$emit("change-disabled", a2);
|
|
9
|
-
const n2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads";
|
|
10
|
-
this.listCode || (this.listCode = e.get("_list_code"));
|
|
11
|
-
const r2 = e.get(this.listCode);
|
|
12
|
-
let p2, c2;
|
|
13
|
-
r2 && r2.basicInfo && r2.basicInfo.tableName && (p2 = r2.basicInfo.tableName), r2.options.extraParam && r2.options.extraParam.entityMap && (c2 = r2.options.extraParam.entityMap);
|
|
14
|
-
const m2 = { Authorization: o.getToken() };
|
|
15
|
-
let d2 = "mysql";
|
|
16
|
-
window.$vueApp.config.globalProperties.dataSourceType && (d2 = window.$vueApp.config.globalProperties.dataSourceType.toLowerCase());
|
|
17
|
-
const h2 = r2.gridData, f2 = r2.subTableData, g2 = r2.isSubTableShowPage, y2 = t.getAdditionalParamMap(r2), v2 = r2.options.pageContext, b2 = u.isMobileBrowser(), C2 = this.listCode + "_" + this.column.prop;
|
|
18
|
-
let S2, w = false, V = {};
|
|
19
|
-
this.column.controlConfig && (V = JSON.parse(this.column.controlConfig)), V.scanEnable && (w = true);
|
|
20
|
-
S2 = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
|
|
21
|
-
const T = !!u.isDingTalkEnv(), N = !(!b2 || !S2 || "app" !== S2), D = N || T || !(!b2 || !w || "https:" !== window.location.protocol), k = r2.colConfigureMap ? r2.colConfigureMap[this.column.prop] : null, E = k && k.runtime ? k.runtime : {}, x = E.props ? E.props : {};
|
|
22
|
-
let P;
|
|
23
|
-
r2 && r2.basicInfo && r2.basicInfo.systemCode && (P = r2.basicInfo.systemCode);
|
|
24
|
-
const F = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime();
|
|
25
|
-
return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction: n2, fileMultiple: false, fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: false, singleImgSrc: "", fields: null, innerValue: i2, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: p2, departmentInfo: null, parentFormData: c2, headers: m2, dataSourceType: d2, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: g2 ? f2 : h2, pageGridData: g2 ? h2 : null, additionalParamMap: y2, controlConfig: t.getControlConfig(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: b2, componentId: C2, scanEnable: w, userAgent: S2, isApk: N, isDingTalk: T, isShowBrowserScan: false, isShowScanIcon: D, colConfigure: k, designProperty: x, myCustomParams: {}, systemCode: P, isFormSubTable: false, copyBtnId: F };
|
|
26
|
-
}, computed: {}, watch: { value: { handler(t2, i2) {
|
|
27
|
-
if (this.type && "multiselect" === this.type) {
|
|
28
|
-
const e2 = this.value && null !== this.value && "string" == typeof this.value ? this.value.split(",") : this.value;
|
|
29
|
-
this.innerValue = e2;
|
|
30
|
-
} else
|
|
31
|
-
"yearRange" === this.type ? this.innerValue = "" + t2 : this.innerValue = t2;
|
|
32
|
-
e.get(this.listCode).editProp === this.column.prop && this.$nextTick(() => {
|
|
33
|
-
this.$refs.customItem && this.$refs.customItem.focus();
|
|
34
|
-
});
|
|
35
|
-
}, deep: true, immediate: true } }, created() {
|
|
36
|
-
var _a;
|
|
37
|
-
const i2 = e.get(this.listCode);
|
|
38
|
-
if (i2 && i2.options && i2.options.isFormSubTable && (this.isFormSubTable = i2.options.isFormSubTable), ((_a = this.controlConfig) == null ? void 0 : _a.customParams) && (this.pageContext || (this.pageContext = i2.options.pageContext), this.myCustomParams = l.formatCustomParams(this.controlConfig.customParams, this.pageContext, this.row)), this.gridParams = i2, this.isCreateRow = i2.isCreateRow, this.setTreeType(), this.type && this.type.indexOf("custom:") >= 0 && (this.componentName = this.type.substring(this.type.indexOf(":") + 1)), this.column.fileSet && "" !== this.column.fileSet && ("annex" === this.column.componentType || "multipartUpload" === this.column.componentType)) {
|
|
39
|
-
const e2 = JSON.parse(this.column.fileSet);
|
|
40
|
-
this.fileInfo.showName = this.row[e2.showNameData.dbName], this.fileInfo.serverPath = this.row[e2.serverNameData.dbName], this.fileSetObj = e2, e2 && e2.multiple && (this.fileMultiple = true), this.fileList = t.getFileList(this.row, this.column, this.isSql);
|
|
41
|
-
}
|
|
42
|
-
if ("inputNumber" === this.column.componentType && this.setInputNumberConfig(), this.column.valueSetOptions) {
|
|
43
|
-
if ("switch" === this.column.componentType) {
|
|
44
|
-
let e2 = JSON.parse(this.column.valueSetOptions);
|
|
45
|
-
"string" == typeof e2 && (e2 = JSON.parse(e2)), e2 && (this.valueSetOptions = e2);
|
|
46
|
-
} else if ("inputNumber" !== this.column.componentType) {
|
|
47
|
-
let e2 = JSON.parse(this.column.valueSetOptions);
|
|
48
|
-
"string" == typeof e2 && (e2 = JSON.parse(e2)), e2 && e2.valueSetOptions && (this.valueSetOptions = e2.valueSetOptions), e2.dynamicDataSourceCode && "" !== e2.dynamicDataSourceCode && (this.dynamicDataSourceCode = e2.dynamicDataSourceCode);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
if (this.column.orgTreeSet) {
|
|
52
|
-
const e2 = JSON.parse(this.column.orgTreeSet);
|
|
53
|
-
this.type.indexOf("DeptTree") > 0 && e2.checkStrictly && (this.isCheckStrictly = e2.checkStrictly), e2.length ? this.fields = e2 : e2.orgTreeSetArr && (this.fields = e2.orgTreeSetArr);
|
|
54
|
-
}
|
|
55
|
-
this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch("gridOptions.customRules." + this.column.prop, (e2, t2) => {
|
|
56
|
-
this.packageCustomRules(e2);
|
|
57
|
-
}, { immediate: true, deep: true }), this.$watch("gridOptions.customRules._all_fields", (e2, t2) => {
|
|
58
|
-
this.packageCustomRules(e2);
|
|
59
|
-
}, { immediate: true, deep: true });
|
|
60
|
-
}, mounted() {
|
|
61
|
-
const e2 = this;
|
|
62
|
-
r.$on(this.componentId + "-pickFileDone", (t2) => {
|
|
63
|
-
e2.$refs.fileUploadRef && e2.$refs.fileUploadRef.pickFileDone(t2);
|
|
64
|
-
}), r.$on(this.componentId + "-uploadFileDone", (t2) => {
|
|
65
|
-
e2.$refs.fileUploadRef && e2.$refs.fileUploadRef.uploadFileDone(t2);
|
|
66
|
-
}), r.$on(this.componentId + "-scanDone", (t2) => {
|
|
67
|
-
e2.innerValue = t2.result, e2.blurEvent(), this.callCustomEvent("afterScanDone");
|
|
68
|
-
});
|
|
69
|
-
}, destroyed() {
|
|
70
|
-
r.$off(this.componentId + "-pickFileDone"), r.$off(this.componentId + "-uploadFileDone"), r.$off(this.componentId + "-scanDone");
|
|
71
|
-
}, methods: { ...c, getDateAllowTime() {
|
|
72
|
-
if (this.column.valueSetOptions) {
|
|
73
|
-
let e2 = JSON.parse(this.column.valueSetOptions);
|
|
74
|
-
"string" == typeof e2 && (e2 = JSON.parse(e2));
|
|
75
|
-
const t2 = Date.now();
|
|
76
|
-
if (e2.stateForbiddenTime) {
|
|
77
|
-
const i2 = e2.stateForbiddenTime;
|
|
78
|
-
this.stateForbiddenTime = t2 - 24 * i2 * 60 * 60 * 1e3;
|
|
79
|
-
} else
|
|
80
|
-
this.stateForbiddenTime = null;
|
|
81
|
-
if (e2.endForbiddenTime) {
|
|
82
|
-
const i2 = e2.endForbiddenTime;
|
|
83
|
-
this.endForbiddenTime = t2 + 24 * i2 * 60 * 60 * 1e3 - 864e5;
|
|
84
|
-
} else
|
|
85
|
-
this.endForbiddenTime = null;
|
|
86
|
-
}
|
|
87
|
-
}, focus() {
|
|
88
|
-
"slider" !== this.type && "rate" !== this.type && this.lineEdit.editingCell && this.position && this.position.row === this.lineEdit.editingCell.row && this.position.prop === this.lineEdit.editingCell.prop && this.$refs.item && this.$refs.item.focus();
|
|
89
|
-
}, handleBeforeUpload(e2) {
|
|
90
|
-
let t2 = this.fileSetObj.limitFileSize;
|
|
91
|
-
if (void 0 === t2 && (t2 = 30), e2.size > 1024 * t2 * 1024)
|
|
92
|
-
return this.$message({ type: "warning", message: this.$t("imatrixUIMessage.exceedFileSize", { fileSize: t2 }), showClose: true }), false;
|
|
93
|
-
}, setTreeType() {
|
|
94
|
-
this.type && (this.type.indexOf("single") >= 0 && this.type.indexOf("Tree") > 0 ? this.isMultiTree = false : this.isMultiTree = true, this.type.indexOf("DeptManTree") > 0 && (this.deptManTree = true), this.type.indexOf("DeptTree") > 0 && (this.deptTree = true), this.type.indexOf("WgManTree") > 0 && (this.wgManTree = true), this.type.indexOf("WgTree") > 0 && (this.wgTree = true), this.deptScopeLimit());
|
|
95
|
-
}, orgTreeSetSort() {
|
|
96
|
-
const e2 = this.fields.findIndex((e3) => e3.model === this.column.prop);
|
|
97
|
-
if (e2 > -1) {
|
|
98
|
-
const t2 = this.fields[e2];
|
|
99
|
-
this.fields.splice(e2, 1), this.fields.push(t2);
|
|
100
|
-
}
|
|
101
|
-
}, showOrganizationTree() {
|
|
102
|
-
if (this.column.orgTreeSet) {
|
|
103
|
-
const e2 = JSON.parse(this.column.orgTreeSet);
|
|
104
|
-
if (e2.length)
|
|
105
|
-
this.fields = e2, this.orgTreeSetSort();
|
|
106
|
-
else if (e2.orgTreeSetArr && (this.fields = e2.orgTreeSetArr, this.orgTreeSetSort()), e2.specifyType)
|
|
107
|
-
if ("dataTable" === e2.specifyType) {
|
|
108
|
-
if (e2.dataTableField) {
|
|
109
|
-
const t2 = l.getEntityFieldValue(this.row, e2.dataTableField);
|
|
110
|
-
t2 && "" !== t2 && (this.departmentInfo = t2.split(","));
|
|
111
|
-
}
|
|
112
|
-
} else
|
|
113
|
-
"dept" !== e2.specifyType && "workGroup" !== e2.specifyType || e2.specifyDept && "" !== e2.specifyDept && ("object" == typeof e2.specifyDept ? this.departmentInfo = e2.specifyDept : this.departmentInfo = e2.specifyDept.split(","));
|
|
114
|
-
}
|
|
115
|
-
}, cellEvent(i2, l2, o2) {
|
|
116
|
-
this.innerValue;
|
|
117
|
-
let a2 = false;
|
|
118
|
-
if ("focus" === i2 && s.$emit(this, "focus", l2), "input" === i2 && this.isDateControll()) {
|
|
119
|
-
let e2 = l2;
|
|
120
|
-
"" === e2 && (e2 = null), s.$emit(this, "update:value", e2), this.clearValidateErrorField(), a2 = true, this.innerValue = e2;
|
|
121
|
-
} else if ("input" === i2 && this.isSelectControll()) {
|
|
122
|
-
if ("multiselect" === this.type && this.innerValue && "[object Array]" === Object.prototype.toString.apply(this.innerValue)) {
|
|
123
|
-
const e2 = "saveAll";
|
|
124
|
-
this.innerValue.indexOf(e2) < 0 && (s.$emit(this, "update:value", this.innerValue.join(",")), this.clearValidateErrorField());
|
|
125
|
-
} else
|
|
126
|
-
s.$emit(this, "update:value", this.innerValue), this.clearValidateErrorField();
|
|
127
|
-
a2 = true;
|
|
128
|
-
} else
|
|
129
|
-
"input" === i2 && void 0 !== o2 && true === o2 ? (this.innerValue = l2, s.$emit(this, "update:value", l2), this.clearValidateErrorField(), a2 = true) : "blur" !== i2 || this.isSelectControll() || (this.blurEvent(), a2 = true, this.innerValue && this.isInputControl() && "TEXT" === this.column.dataType && (this.innerValue = this.innerValue.trim()));
|
|
130
|
-
if (a2 || "change" !== i2 || this.blurEvent(), "clear" === i2) {
|
|
131
|
-
if (("multiselect" === this.type || "select" === this.type) && t.isDynamicDataSourceSource(this.column))
|
|
132
|
-
for (let e2 = 0; e2 < this.valueSetOptions.length; e2++)
|
|
133
|
-
this.column.prop !== this.valueSetOptions[e2].valueColumn.dbColumnName && this.setCellValue(this.valueSetOptions[e2].valueColumn.dbColumnName, null, "input");
|
|
134
|
-
s.$emit(this, "update:value", null);
|
|
135
|
-
}
|
|
136
|
-
const n2 = e.get(this.listCode);
|
|
137
|
-
n2.editProp = this.column.prop, this.column.events && this.column.events[i2] ? this.callCustomEvent(i2) : t.isEditOptionFunction(i2, this.listCode) && n2.options.lineEditOptions[i2].call(this, l2, this.row, this.column, n2.additionalParamMap), s.$emit(this, "findIndex");
|
|
138
|
-
}, blurEvent() {
|
|
139
|
-
null !== this.innerValue && void 0 !== this.innerValue || (this.innerValue = null, this.val = null), s.$emit(this, "update:value", this.innerValue), this.clearValidateErrorField(), this.watchScanValueChange(this.innerValue);
|
|
140
|
-
}, clearValidateErrorField() {
|
|
141
|
-
this.row.validateErrorField && (this.row.validateErrorField = void 0);
|
|
142
|
-
}, isInputControl() {
|
|
143
|
-
return "input" === this.type || "textarea" === this.type;
|
|
144
|
-
}, isDateControll() {
|
|
145
|
-
return "date" === this.type || "DATE" === this.column.dataType || "time" === this.type || "TIME" === this.column.dataType;
|
|
146
|
-
}, isSelectControll() {
|
|
147
|
-
return "select" === this.type || "multiselect" === this.type;
|
|
148
|
-
}, isDynamicDataSourceSource() {
|
|
149
|
-
return t.isDynamicDataSourceSource(this.column);
|
|
150
|
-
}, isDecimalDateType() {
|
|
151
|
-
return this.column.dataType && "DOUBLE" === this.column.dataType || "FLOAT" === this.column.dataType;
|
|
152
|
-
}, callCustomEvent(e2) {
|
|
153
|
-
this.callCustomEventWithParam(e2, { value: this.innerValue, row: this.row, column: this.column, extendParams: this.extendParams });
|
|
154
|
-
}, callCustomEventWithParam(t2, i2) {
|
|
155
|
-
if (this.column && this.column.events && this.column.events[t2]) {
|
|
156
|
-
const l2 = this.column.events[t2];
|
|
157
|
-
this.listCode || (this.listCode = e.get("_list_code"));
|
|
158
|
-
const o2 = e.get(this.listCode);
|
|
159
|
-
if (o2.options && o2.options.eventCallBack && o2.options.eventCallBack[l2] && "function" == typeof o2.options.eventCallBack[l2])
|
|
160
|
-
if (i2 || (i2 = {}), i2.formData = o2.options && o2.options.formData ? o2.options.formData : null, i2.parent = this.parentFormData, i2.rowIndex = this.rowIndex, i2.additionalParamMap = o2.additionalParamMap, o2.options.pageContext) {
|
|
161
|
-
i2.pageContext = o2.options.pageContext, i2.configure = o2.options.configureObj;
|
|
162
|
-
const e2 = o2.options.eventCallBack[l2];
|
|
163
|
-
e2.apply(e2, [i2]);
|
|
164
|
-
} else
|
|
165
|
-
o2.options.eventCallBack[l2].call(this, i2);
|
|
166
|
-
}
|
|
167
|
-
}, checkDecimal() {
|
|
168
|
-
if (this.isDecimalDateType() && this.innerValue && null !== this.innerValue) {
|
|
169
|
-
/^(-?\d+)(\.\d+)?$/.test(this.innerValue + "") || (this.$message({ type: "warning", message: this.$t("imatrixUIMessage.invalideDoubleValue", { num: this.innerValue }), showClose: true }), this.focus());
|
|
170
|
-
}
|
|
171
|
-
}, customFocus() {
|
|
172
|
-
a.default.focus(this.position ? this.position.row : null);
|
|
173
|
-
}, openAnnexUpload() {
|
|
174
|
-
this.annexUploadFlag = true;
|
|
175
|
-
}, previewImg() {
|
|
176
|
-
this.fileList = t.getFileList(this.row, this.column, this.isSql), this.showSingleImgFlag = true;
|
|
177
|
-
}, uploadOnSuccess(e2) {
|
|
178
|
-
if (e2) {
|
|
179
|
-
if (this.isMobile) {
|
|
180
|
-
if (this.column.fileSet && "" !== this.column.fileSet) {
|
|
181
|
-
const i2 = JSON.parse(this.column.fileSet);
|
|
182
|
-
if (i2) {
|
|
183
|
-
if (this.fileMultiple)
|
|
184
|
-
this.multiStorageMobile(i2, e2);
|
|
185
|
-
else {
|
|
186
|
-
const t2 = e2[0], l2 = { name: t2.showName, serverPath: t2.serverPath };
|
|
187
|
-
this.radioStorageFile(i2, l2);
|
|
188
|
-
}
|
|
189
|
-
this.fileList = t.getFileList(this.row, this.column, this.isSql);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
} else {
|
|
193
|
-
const i2 = { name: e2.showName, serverPath: e2.serverPath };
|
|
194
|
-
if (this.column.fileSet && "" !== this.column.fileSet) {
|
|
195
|
-
const e3 = JSON.parse(this.column.fileSet);
|
|
196
|
-
e3 && (this.fileMultiple ? this.multiStorage(e3, i2) : this.radioStorageFile(e3, i2), this.fileList = t.getFileList(this.row, this.column, this.isSql), this.fileList);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
this.callCustomEventWithParam("uploaded", { value: e2, row: this.row, column: this.column, extendParams: this.extendParams });
|
|
200
|
-
}
|
|
201
|
-
this.annexUploadFlag = false;
|
|
202
|
-
}, setCellValue(e2, t2, i2) {
|
|
203
|
-
this.setCellValueWithProp(e2, t2), i2 && i2.split(",").forEach((i3) => {
|
|
204
|
-
this.callCustomEventWithParam(i3, { value: t2, row: this.row, column: this.column, prop: e2 });
|
|
205
|
-
});
|
|
206
|
-
}, setCellValueWithProp(e2, t2) {
|
|
207
|
-
this.row[e2] = t2;
|
|
208
|
-
}, radioStorageFile(e2, t2) {
|
|
209
|
-
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));
|
|
210
|
-
}, multiStorage(e2, i2) {
|
|
211
|
-
const l2 = t.analysisFileSetObj(e2, this.isSql);
|
|
212
|
-
if (e2.childAnnexDataTableCode) {
|
|
213
|
-
let o2 = this.row[this.column.prop];
|
|
214
|
-
o2 || (o2 = []);
|
|
215
|
-
const a2 = this.responseFileToFileObj(e2, i2);
|
|
216
|
-
o2.push(a2), this.fileList = t.otherFilesToStandard(e2, l2, o2, null), this.setCellValue(this.column.prop, o2, "input");
|
|
217
|
-
} else {
|
|
218
|
-
let o2 = "", a2 = "";
|
|
219
|
-
if (e2.showNameData) {
|
|
220
|
-
if (this.isSql) {
|
|
221
|
-
if (e2.showNameData.dbName && this.row) {
|
|
222
|
-
if (this.row[e2.showNameData.dbName]) {
|
|
223
|
-
let t2 = this.row[e2.showNameData.dbName];
|
|
224
|
-
t2 += "," + i2.name, this.setCellValue(e2.showNameData.dbName, t2, "input");
|
|
225
|
-
} else
|
|
226
|
-
this.setCellValue(e2.showNameData.dbName, i2.name, "input");
|
|
227
|
-
o2 = this.row[e2.showNameData.dbName];
|
|
228
|
-
}
|
|
229
|
-
} else if (e2.showNameData.name && this.row) {
|
|
230
|
-
if (this.row[e2.showNameData.name]) {
|
|
231
|
-
let t2 = this.row[e2.showNameData.name];
|
|
232
|
-
t2 += "," + i2.name, this.setCellValue(e2.showNameData.name, t2, "input");
|
|
233
|
-
} else
|
|
234
|
-
this.setCellValue(e2.showNameData.name, i2.name, "input");
|
|
235
|
-
o2 = this.row[e2.showNameData.name];
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
if (e2.serverNameData) {
|
|
239
|
-
if (this.isSql) {
|
|
240
|
-
if (e2.serverNameData.dbName && this.row) {
|
|
241
|
-
if (this.row[e2.serverNameData.dbName]) {
|
|
242
|
-
let t2 = this.row[e2.serverNameData.dbName];
|
|
243
|
-
t2 += "," + i2.serverPath, this.setCellValue(e2.serverNameData.dbName, t2);
|
|
244
|
-
} else
|
|
245
|
-
this.setCellValue(e2.serverNameData.dbName, i2.serverPath);
|
|
246
|
-
a2 = this.row[e2.serverNameData.dbName];
|
|
247
|
-
}
|
|
248
|
-
} else if (e2.serverNameData.name && this.row) {
|
|
249
|
-
if (this.row[e2.serverNameData.name]) {
|
|
250
|
-
let t2 = this.row[e2.serverNameData.name];
|
|
251
|
-
t2 += "," + i2.serverPath, this.setCellValue(e2.serverNameData.name, t2);
|
|
252
|
-
} else
|
|
253
|
-
this.setCellValue(e2.serverNameData.name, i2.serverPath);
|
|
254
|
-
a2 = this.row[e2.serverNameData.name];
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
this.fileList = t.otherFilesToStandard(e2, l2, null, { showName: o2, serverPath: a2 });
|
|
258
|
-
}
|
|
259
|
-
}, multiStorageMobile(e2, i2) {
|
|
260
|
-
const l2 = t.analysisFileSetObj(e2, this.isSql);
|
|
261
|
-
if (e2.childAnnexDataTableCode) {
|
|
262
|
-
let o2 = this.row[this.column.prop];
|
|
263
|
-
o2 || (o2 = []), i2.forEach((t2) => {
|
|
264
|
-
const i3 = this.responseFileToFileObj(e2, t2);
|
|
265
|
-
o2.push(i3);
|
|
266
|
-
}), this.fileList = t.otherFilesToStandard(e2, l2, o2, null), this.setCellValue(this.column.prop, o2, "input");
|
|
267
|
-
} else {
|
|
268
|
-
let o2 = "", a2 = "";
|
|
269
|
-
if (e2.showNameData) {
|
|
270
|
-
if (this.isSql) {
|
|
271
|
-
if (e2.showNameData.dbName && this.row) {
|
|
272
|
-
let t2 = "";
|
|
273
|
-
i2.forEach((e3) => {
|
|
274
|
-
t2 = t2 + e3.name + ",";
|
|
275
|
-
}), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.showNameData.dbName, t2, "input"), o2 = this.row[e2.showNameData.dbName];
|
|
276
|
-
}
|
|
277
|
-
} else if (e2.showNameData.name && this.row) {
|
|
278
|
-
let t2 = "";
|
|
279
|
-
i2.forEach((e3) => {
|
|
280
|
-
t2 = t2 + e3.name + ",";
|
|
281
|
-
}), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.showNameData.name, t2, "input"), o2 = this.row[e2.showNameData.name];
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
if (e2.serverNameData) {
|
|
285
|
-
if (this.isSql) {
|
|
286
|
-
if (e2.serverNameData.dbName && this.row) {
|
|
287
|
-
let t2 = "";
|
|
288
|
-
i2.forEach((e3) => {
|
|
289
|
-
t2 = t2 + e3.serverPath + ",";
|
|
290
|
-
}), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.serverNameData.dbName, t2, "input"), a2 = this.row[e2.serverNameData.dbName];
|
|
291
|
-
}
|
|
292
|
-
} else if (e2.serverNameData.name && this.row) {
|
|
293
|
-
let t2 = "";
|
|
294
|
-
i2.forEach((e3) => {
|
|
295
|
-
t2 = t2 + e3.serverPath + ",";
|
|
296
|
-
}), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.serverNameData.name, t2, "input"), a2 = this.row[e2.serverNameData.name];
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
this.fileList = t.otherFilesToStandard(e2, l2, null, { showName: o2, serverPath: a2 });
|
|
300
|
-
}
|
|
301
|
-
}, responseFileToFileObj(e2, t2) {
|
|
302
|
-
const i2 = {};
|
|
303
|
-
return e2.showNameData && (this.isSql ? e2.showNameData.dbName && (i2.fileSetObj.showNameData.dbName = t2.name) : e2.showNameData.name && (i2.fileSetObj.showNameData.name = t2.name)), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && (i2.fileSetObj.serverNameData.dbName = t2.serverPath) : e2.serverNameData.name && (i2.fileSetObj.serverNameData.name = t2.serverPath)), i2;
|
|
304
|
-
}, deleteAnnexFile(e2) {
|
|
305
|
-
e2 && (e2.showNameData && (this.isSql ? e2.showNameData.dbName && this.setCellValue(e2.showNameData.dbName, null, "input,clear") : e2.showNameData.name && this.setCellValue(e2.showNameData.name, null, "input,clear")), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && this.setCellValue(e2.serverNameData.dbName, null) : e2.serverNameData.name && this.setCellValue(e2.serverNameData.name, null)));
|
|
306
|
-
}, deleteFile(e2, i2) {
|
|
307
|
-
if (JSON.stringify(e2), this.fileList = e2, void 0 !== i2 && -1 !== i2 && this.fileList.splice(i2, 1), JSON.stringify(this.fileList), this.column.fileSet && "" !== this.column.fileSet) {
|
|
308
|
-
const e3 = JSON.parse(this.column.fileSet);
|
|
309
|
-
if (e3)
|
|
310
|
-
if (this.fileMultiple) {
|
|
311
|
-
const i3 = t.analysisFileSetObj(e3, this.isSql);
|
|
312
|
-
this.standardToOtherFiles(e3, i3);
|
|
313
|
-
} else
|
|
314
|
-
this.deleteAnnexFile(e3);
|
|
315
|
-
}
|
|
316
|
-
}, standardToOtherFiles(e2, t2) {
|
|
317
|
-
if (e2.childAnnexDataTableCode) {
|
|
318
|
-
let e3 = null;
|
|
319
|
-
if (this.fileList && this.fileList.length > 0) {
|
|
320
|
-
e3 = [];
|
|
321
|
-
for (var i2 = 0; i2 < this.fileList.length; i2++) {
|
|
322
|
-
const t3 = this.fileList[i2], l3 = {};
|
|
323
|
-
l3.keyValueParam.showName = t3.showName, l3.keyValueParam.serverPath = t3.serverPath, e3.push(l3);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
this.setCellValue(this.column.prop, e3, "input");
|
|
327
|
-
} else {
|
|
328
|
-
let e3 = null, i3 = null;
|
|
329
|
-
if (this.fileList && this.fileList.length > 0) {
|
|
330
|
-
e3 = "", i3 = "";
|
|
331
|
-
for (var l2 = 0; l2 < this.fileList.length; l2++) {
|
|
332
|
-
const t3 = this.fileList[l2];
|
|
333
|
-
"" !== e3 && (e3 += ","), "" !== i3 && (i3 += ","), e3 += t3.showName, i3 += t3.serverPath;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
this.setCellValue(t2.showName, e3, "input"), this.setCellValue(t2.serverPath, i3);
|
|
337
|
-
}
|
|
338
|
-
}, organizationInputEvent(e2, t2) {
|
|
339
|
-
if (this.isSql && e2 && e2.indexOf(".") < 0 && e2 !== this.column.prop && this.tableName) {
|
|
340
|
-
const t3 = "__";
|
|
341
|
-
e2 = this.tableName + t3 + e2;
|
|
342
|
-
}
|
|
343
|
-
l.setEntityFieldValue(this.row, e2, t2), e2 && e2 === this.column.prop && this.column && this.column.events && Object.keys(this.column.events).forEach((i2) => {
|
|
344
|
-
this.callCustomEventWithParam(i2, { value: t2, row: this.row, column: this.column, prop: e2 });
|
|
345
|
-
});
|
|
346
|
-
}, clearOrganizationInputEvent(e2) {
|
|
347
|
-
this.isSql ? l.setEntityFieldValue(this.row, e2, "") : l.setEntityFieldValue(this.row, e2, null), e2 && e2 === this.column.prop && this.callCustomEventWithParam("clear", { row: this.row, column: this.column, prop: e2 });
|
|
348
|
-
}, appendOrganizationInputEvent(e2, t2, i2, o2, a2) {
|
|
349
|
-
l.setEntityFieldValue(this.row, e2, a2), e2 && e2 === this.column.prop && this.callCustomEventWithParam("append", { originalValue: t2, appendValue: i2, separator: o2, finallyValue: a2, row: this.row, column: this.column, prop: e2 });
|
|
350
|
-
}, replaceOrganizationInputEvent(e2, t2, i2) {
|
|
351
|
-
l.setEntityFieldValue(this.row, e2, i2), e2 && e2 === this.column.prop && this.callCustomEventWithParam("replace", { originalValue: t2, newValue: i2, row: this.row, column: this.column, prop: e2 });
|
|
352
|
-
}, getDefaultValue(e2) {
|
|
353
|
-
if (this.isInvalidValue(e2)) {
|
|
354
|
-
if ("select" === this.column.componentType && !t.isDynamicDataSourceSource(this.column) && this.column.valueSet) {
|
|
355
|
-
const e3 = this.column.valueSet.find((e4) => true === e4.selected);
|
|
356
|
-
if (e3)
|
|
357
|
-
return l.setEntityFieldValue(this.row, this.column.prop, e3.value), e3.value;
|
|
358
|
-
} else if ("inputNumber" === this.column.componentType) {
|
|
359
|
-
let e3 = 0;
|
|
360
|
-
if (this.column.valueSetOptions && "" !== this.column.valueSetOptions && "inputNumber" === this.column.componentType) {
|
|
361
|
-
let t2 = JSON.parse(this.column.valueSetOptions);
|
|
362
|
-
"string" == typeof t2 && (t2 = JSON.parse(t2)), t2.min && (e3 = t2.min);
|
|
363
|
-
}
|
|
364
|
-
return l.setEntityFieldValue(this.row, this.column.prop, e3), e3;
|
|
365
|
-
}
|
|
366
|
-
} else if ("inputNumber" === this.column.componentType) {
|
|
367
|
-
const t2 = Number(e2);
|
|
368
|
-
return l.setEntityFieldValue(this.row, this.column.prop, t2), t2;
|
|
369
|
-
}
|
|
370
|
-
return e2;
|
|
371
|
-
}, refresData(e2) {
|
|
372
|
-
s.$emit(this, "refresData", e2);
|
|
373
|
-
}, refresPortData(e2, t2) {
|
|
374
|
-
s.$emit(this, "refresPortData", e2, t2);
|
|
375
|
-
}, refresPortsData(e2) {
|
|
376
|
-
s.$emit(this, "refresPortsData", e2);
|
|
377
|
-
}, refresMainTableFields(e2) {
|
|
378
|
-
s.$emit(this, "refresMainTableFields", e2);
|
|
379
|
-
}, deleteSuccess(e2) {
|
|
380
|
-
this.callCustomEventWithParam("deleted", { value: e2, row: this.row, column: this.column, extendParams: this.extendParams }), this.fileInfo;
|
|
381
|
-
}, isValueFormat() {
|
|
382
|
-
return "TEXT" === this.column.dataType || "text" === this.column.dataType ? this.isFormat() : "week" === this.type && this.controlConfig && this.controlConfig.valueFormat ? this.controlConfig.valueFormat : "x";
|
|
383
|
-
}, isFormat() {
|
|
384
|
-
return "dateTimePicker" === this.type ? "YYYY-MM-DD HH:mm:ss" : "timePicker" === this.type ? this.column.originalFormat ? this.column.originalFormat : "HH:mm:ss" : "year" === this.type ? "YYYY" : "month" === this.type ? "MM" : "date" === this.type ? "YYYY-MM-DD" : "week" === this.type ? this.controlConfig && this.controlConfig.format ? this.controlConfig.format : "ww" : "time" === this.type || "TIME" === this.column.dataType ? "HH:mm:ss" : (this.column.dataType, "YYYY-MM-DD");
|
|
385
|
-
}, fnProhibitToEdit(e2) {
|
|
386
|
-
r.$emit("prohibitToEdit", e2), s.$emit(this, "prohibitToEdit", e2);
|
|
387
|
-
}, setInputNumberConfig() {
|
|
388
|
-
if ("inputNumber" === this.column.componentType)
|
|
389
|
-
if (this.column.valueSetOptions && "" !== this.column.valueSetOptions && "inputNumber" === this.column.componentType) {
|
|
390
|
-
let e2 = JSON.parse(this.column.valueSetOptions);
|
|
391
|
-
"string" == typeof e2 && (e2 = JSON.parse(e2)), this.inputNumberSet = e2;
|
|
392
|
-
} else
|
|
393
|
-
this.inputNumberSet = { min: null, max: null, step: 1, precision: 0, position: "" };
|
|
394
|
-
}, isValidValue: (e2) => null != e2 && "" !== e2, isInvalidValue: (e2) => null == e2 || "" === e2, refreshList() {
|
|
395
|
-
this.$emit("refresh-list");
|
|
396
|
-
}, getSwitchConfig(e2) {
|
|
397
|
-
if (this.valueSetOptions && this.valueSetOptions[e2]) {
|
|
398
|
-
const t2 = this.valueSetOptions[e2];
|
|
399
|
-
return "true" === t2 || "false" === t2 ? "true" === t2 : this.valueSetOptions[e2];
|
|
400
|
-
}
|
|
401
|
-
return "activeValue" === e2 ? "mysql" === this.dataSourceType || 1 : "inactiveValue" === e2 ? "mysql" !== this.dataSourceType && 0 : void 0;
|
|
402
|
-
}, scanClick() {
|
|
403
|
-
if (this.userAgent, this.isApk || this.isDingTalk) {
|
|
404
|
-
const e2 = { type: "scan", componentId: this.componentId, systemCode: this.systemCode, listCode: this.listCode };
|
|
405
|
-
this.isDingTalk && (e2.type = "dingTalkScan"), window.parent.postMessage(JSON.stringify(e2), "*");
|
|
406
|
-
} else
|
|
407
|
-
this.isShowBrowserScan = true;
|
|
408
|
-
}, watchScanValueChange(e2) {
|
|
409
|
-
if (this.scanEnable && "input" === this.type) {
|
|
410
|
-
const t2 = p.analysisScanValue(e2, this.column._scanRuleSets);
|
|
411
|
-
t2 && p.setScanAnalysisValue(this.row, t2.scanSet, t2.params);
|
|
412
|
-
}
|
|
413
|
-
}, closeBrowserScan(e2) {
|
|
414
|
-
this.isShowBrowserScan = false, this.innerValue = e2, this.blurEvent();
|
|
415
|
-
}, packageCustomRules(i2) {
|
|
416
|
-
if (!i2)
|
|
417
|
-
return;
|
|
418
|
-
let l2 = true;
|
|
419
|
-
if (i2.beforeValidate) {
|
|
420
|
-
const o2 = e.get(this.listCode);
|
|
421
|
-
if (l2 = t.rowBeforeValidate(i2, o2, this.row, this.rowIndex), false === l2)
|
|
422
|
-
return;
|
|
423
|
-
}
|
|
424
|
-
void 0 !== i2.disabled && this.$emit("change-disabled", i2.disabled), void 0 !== i2.required && this.$emit("change-required", i2.required);
|
|
425
|
-
}, doClickwithJumpPage(e2) {
|
|
426
|
-
let t2 = this.colConfigure.props.linkPage;
|
|
427
|
-
if (e2 && ("click" === e2 || "prefixClick" === e2 || "suffixClick" === e2) && t2 && t2.jumpPageUrl) {
|
|
428
|
-
const e3 = JSON.parse(JSON.stringify(t2));
|
|
429
|
-
e3 && Array.isArray(e3) ? (format.multPage = true, e3.forEach((e4) => {
|
|
430
|
-
e4.jumpPageSetting.displayTextJudge && e4.jumpPageSetting.dynamicTags && e4.jumpPageSetting.dynamicTags.length > 0 && (e4.jumpPageSetting.displayText = e4.jumpPageSetting.dynamicTags.join("-#-#"));
|
|
431
|
-
})) : e3.displayTextJudge && e3.dynamicTags && e3.dynamicTags.length > 0 && (e3.displayText = e3.dynamicTags.join("-#-#")), this.jumpPageLink(this.column, this.row, this.listCode, this.rowIndex, e3);
|
|
432
|
-
} else
|
|
433
|
-
this.callCustomEvent(e2);
|
|
434
|
-
}, deptScopeLimit() {
|
|
435
|
-
if (this.controlConfig && this.controlConfig.deptScope)
|
|
436
|
-
if ("field" == this.controlConfig.deptScope && this.controlConfig.deptScopeField)
|
|
437
|
-
if (0 === this.controlConfig.deptScopeField.indexOf("${row.")) {
|
|
438
|
-
const e2 = this.controlConfig.deptScopeField.replace("${row.", "").replace("}", "");
|
|
439
|
-
this.row[e2] ? this.departmentInfo = this.row[e2].split(",") : this.departmentInfo = [], this.$watch("row." + e2, (e3, t2) => {
|
|
440
|
-
this.departmentInfo = e3 ? e3.split(",") : [];
|
|
441
|
-
});
|
|
442
|
-
} else
|
|
443
|
-
this.setLimitDepartmentInfo(), 0 === !this.controlConfig.deptScopeField.indexOf("${fixed.") && l.watchPageContextDynamicVariable(this, this.pageContext, this.controlConfig.deptScopeField, (e2, t2) => {
|
|
444
|
-
this.setLimitDepartmentInfo();
|
|
445
|
-
});
|
|
446
|
-
else
|
|
447
|
-
"depts" == this.controlConfig.deptScope && this.controlConfig.deptScopeCodes && (this.departmentInfo = this.controlConfig.deptScopeCodes.split(","));
|
|
448
|
-
}, setLimitDepartmentInfo() {
|
|
449
|
-
const e2 = l.getPropValueNew(this.controlConfig.deptScopeField, this.pageContext, this.row);
|
|
450
|
-
this.departmentInfo = e2 ? e2.split(",") : [];
|
|
451
|
-
}, onError(e2) {
|
|
452
|
-
if (console.error("Upload error:", e2), e2.message) {
|
|
453
|
-
let t2 = JSON.parse(e2.message);
|
|
454
|
-
t2 && t2.message && (t2 = JSON.parse(t2.message)), this.$message({ type: "error", message: t2, showClose: true });
|
|
455
|
-
} else
|
|
456
|
-
this.$message({ type: "error", message: this.$t("fsUpload.uploadFailed"), showClose: true });
|
|
457
|
-
}, setExtendParams(e2) {
|
|
458
|
-
this.extendParams = e2;
|
|
459
|
-
} } }, y = { key: 1 }, v = { key: 1 }, b = { key: 1 }, C = { key: 2 };
|
|
460
|
-
const S = f(g, [["render", function(e2, t2, i2, l2, o2, a2) {
|
|
461
|
-
var _a;
|
|
462
|
-
const n2 = h.resolveComponent("el-date-picker"), s2 = h.resolveComponent("el-time-picker"), r2 = h.resolveComponent("el-input"), u2 = h.resolveComponent("SuperIcon"), p2 = h.resolveComponent("fs-upload-list"), c2 = h.resolveComponent("multipart-upload"), m2 = h.resolveComponent("GridRadioInput"), d2 = h.resolveComponent("SelectInput"), f2 = h.resolveComponent("el-input-number"), g2 = h.resolveComponent("el-switch"), S2 = h.resolveComponent("el-slider"), w = h.resolveComponent("el-rate"), V = h.resolveComponent("organization-input"), T = h.resolveComponent("el-button"), N = h.resolveComponent("el-upload"), D = h.resolveComponent("el-dialog"), k = h.resolveComponent("view-image-dialog"), E = h.resolveComponent("scan-code-input-browser");
|
|
463
|
-
return i2.type && i2.type.indexOf("custom:") >= 0 && "" != o2.componentName ? (h.openBlock(), h.createElementBlock("div", { key: 0, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(h.openBlock(), h.createBlock(h.resolveDynamicComponent(o2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "additional-settings": o2.controlConfig, parent: o2.parentFormData, prop: i2.column.prop, "custom-params": o2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: o2.innerValue, "additional-param-map": o2.additionalParamMap, listCode: i2.listCode, "component-id": o2.componentId, "page-context": o2.pageContext, onChange: t2[0] || (t2[0] = (e3) => a2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => a2.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)) : (h.openBlock(), h.createElementBlock("div", { key: 1, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 0, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 1, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.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) => a2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 2, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 3, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (h.openBlock(), h.createBlock(s2, { key: 4, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => o2.innerValue = e3), disabled: i2.disabled, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 5, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (h.openBlock(), h.createBlock(n2, { key: 6, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => a2.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 ? (h.openBlock(), h.createBlock(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, clearable: "", modelValue: o2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => o2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => a2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => a2.cellEvent("input", e3, true)) }, h.createSlots({ _: 2 }, ["outer" != o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prefix", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", y, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "0" } : void 0, "outer" == o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prepend", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", v, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "1" } : void 0, "outer" != o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "suffix", fn: h.withCtx(() => [o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", b, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "2" } : void 0, o2.isShowScanIcon || "outer" == o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "append", fn: h.withCtx(() => [o2.isShowScanIcon ? (h.openBlock(), h.createBlock(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => a2.scanClick()) })) : h.createCommentVNode("", true), o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 1, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", C, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (h.openBlock(), h.createBlock(r2, { key: 9, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => o2.innerValue = e3), disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: o2.designProperty.rows ? o2.designProperty.rows : 2, title: o2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => a2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (h.openBlock(), h.createBlock(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: o2.innerValue, "page-context": o2.pageContext, "list-code": i2.listCode, componentId: o2.componentId, onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess, onOnError: a2.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 ? (h.openBlock(), h.createBlock(c2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, value: o2.innerValue, type: "list", onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (h.openBlock(), h.createBlock(m2, { key: 12, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => o2.innerValue = e3), t2[61] || (t2[61] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: a2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (h.openBlock(), h.createBlock(d2, { key: 13, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => o2.innerValue = e3), t2[63] || (t2[63] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: o2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: o2.dynamicDataSourceCode, additionalParamMap: o2.additionalParamMap, isSql: i2.isSql, parentFormData: o2.parentFormData, tableName: o2.tableName, onCellEvent: a2.cellEvent, onExtendParams: a2.setExtendParams, onSetCellValue: a2.setCellValue, onSetCellValueWithProp: a2.setCellValueWithProp, onCallCustomEventWithParam: a2.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 ? (h.openBlock(), h.createBlock(f2, { key: 14, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => o2.innerValue = e3), "controls-position": o2.inputNumberSet.position, disabled: i2.disabled, max: 0 == o2.inputNumberSet.max ? 0 : o2.inputNumberSet.max ? o2.inputNumberSet.max : 1 / 0, min: 0 == o2.inputNumberSet.min ? 0 : o2.inputNumberSet.min ? o2.inputNumberSet.min : -1 / 0, precision: o2.inputNumberSet.precision, step: o2.inputNumberSet.step ? o2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (h.openBlock(), h.createBlock(g2, { key: 15, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => o2.innerValue = e3), "active-text": a2.getSwitchConfig("activeText"), "active-value": a2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": a2.getSwitchConfig("inactiveText"), "inactive-value": a2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => a2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (h.openBlock(), h.createBlock(S2, { key: 16, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => a2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (h.openBlock(), h.createBlock(w, { key: 17, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => a2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : o2.deptManTree || o2.deptTree || o2.wgManTree || o2.wgTree ? (h.openBlock(), h.createBlock(V, { key: 18, "check-strictly": o2.isCheckStrictly, "department-info": o2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = o2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: o2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: o2.isMultiTree, "table-name": o2.tableName, "tree-type": o2.deptManTree ? "DeptUserTree" : o2.deptTree ? "DeptTree" : o2.wgManTree ? "WgUserTree" : o2.wgTree ? "WgTree" : null, value: o2.innerValue, onAppend: a2.appendOrganizationInputEvent, onClear: a2.clearOrganizationInputEvent, onFocus: a2.showOrganizationTree, onReplace: a2.replaceOrganizationInputEvent, onSetValue: a2.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"])) : h.createCommentVNode("", true) : (h.openBlock(), h.createBlock(r2, { key: 7, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => o2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => a2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), h.createVNode(D, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: o2.annexUploadFlag, width: "30%" }, { default: h.withCtx(() => ["annex" === i2.type && o2.annexUploadFlag ? (h.openBlock(), h.createBlock(N, { key: 0, accept: o2.fileSetObj && o2.fileSetObj.accept ? o2.fileSetObj.accept : null, action: o2.defaultAction, "before-upload": a2.handleBeforeUpload, headers: o2.headers, "on-success": a2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: h.withCtx(() => [h.createVNode(T, null, { default: h.withCtx(() => [h.createTextVNode(h.toDisplayString(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : h.createCommentVNode("", true)]), _: 1 }, 8, ["title", "visible"]), o2.showSingleImgFlag ? (h.openBlock(), h.createBlock(k, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": o2.fileList, onClose: t2[78] || (t2[78] = (e3) => o2.showSingleImgFlag = false), onDelete: a2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : h.createCommentVNode("", true), o2.isShowBrowserScan ? (h.openBlock(), h.createBlock(E, { key: 20, onClose: a2.closeBrowserScan }, null, 8, ["onClose"])) : h.createCommentVNode("", true)], 2));
|
|
464
|
-
}]]);
|
|
465
|
-
module.exports = S;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../../utils/gogocodeTransfer.cjs"), t = { select: function(t2, i) {
|
|
3
|
-
e.$emit(this, "select", t2, i);
|
|
4
|
-
}, selectAll: function(t2) {
|
|
5
|
-
e.$emit(this, "select-all", t2);
|
|
6
|
-
}, selectionChange: function(t2) {
|
|
7
|
-
e.$emit(this, "selection-change", t2);
|
|
8
|
-
}, cellMouseEnter: function(t2, i, n, c) {
|
|
9
|
-
e.$emit(this, "cell-mouse-enter", t2, i, n, c);
|
|
10
|
-
}, cellMouseLeave: function(t2, i, n, c) {
|
|
11
|
-
e.$emit(this, "cell-mouse-leave", t2, i, n, c);
|
|
12
|
-
}, cellClick: function(t2, i, n, c) {
|
|
13
|
-
e.$emit(this, "cell-click", t2, i, n, c);
|
|
14
|
-
}, cellDblClick: function(t2, i, n, c) {
|
|
15
|
-
e.$emit(this, "cell-dblclick", t2, i, n, c);
|
|
16
|
-
}, rowClick: function(t2, i, n) {
|
|
17
|
-
e.$emit(this, "row-click", t2, i, n);
|
|
18
|
-
}, rowContextMenu: function(t2, i, n) {
|
|
19
|
-
e.$emit(this, "row-contextmenu", t2, i, n);
|
|
20
|
-
}, rowDblClick: function(t2, i, n) {
|
|
21
|
-
e.$emit(this, "row-dblclick", t2, i, n);
|
|
22
|
-
}, headerClick: function(t2, i) {
|
|
23
|
-
e.$emit(this, "header-click", t2, i);
|
|
24
|
-
}, headerContextMenu: function(t2, i) {
|
|
25
|
-
e.$emit(this, "header-contextmenu", t2, i);
|
|
26
|
-
}, filterChange: function(t2) {
|
|
27
|
-
e.$emit(this, "filter-change", t2);
|
|
28
|
-
}, currentChange: function(t2, i) {
|
|
29
|
-
e.$emit(this, "current-change", t2, i);
|
|
30
|
-
}, headerDragEnd: function(t2, i, n, c) {
|
|
31
|
-
e.$emit(this, "header-dragend", t2, i, n, c);
|
|
32
|
-
}, expandChange: function(t2, i) {
|
|
33
|
-
e.$emit(this, "expand-change", t2, i);
|
|
34
|
-
} };
|
|
35
|
-
module.exports = t;
|