agilebuilder-ui 1.1.65-tmp13 → 1.1.65-tmp15
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/dist/index.full.min.js +16440 -0
- package/{es → dist}/style.css +2121 -2120
- package/lib/IntervalSelection/index.js +7 -5
- package/lib/IntervalSelection/src/sectionDate.vue.js +21 -17
- package/lib/IntervalSelection/src/sectionDate.vue2.js +4 -2
- package/lib/_virtual/__vite-browser-external.js +4 -2
- package/lib/_virtual/_plugin-vue_export-helper.js +8 -6
- package/lib/breadcrumb/index.js +5 -3
- package/lib/breadcrumb/src/breadcrumb.vue.js +19 -28
- package/lib/breadcrumb/src/breadcrumb.vue2.js +4 -2
- package/lib/chat-embed/index.js +5 -3
- package/lib/chat-embed/src/chat-addition-data.vue.js +7 -5
- package/lib/chat-embed/src/chat-addition-data.vue2.js +13 -11
- package/lib/chat-embed/src/chat-addition-data.vue3.js +4 -2
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +7 -5
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +20 -17
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -2
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +7 -5
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +22 -17
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +4 -2
- package/lib/chat-embed/src/chat-embed-message.js +20 -14
- package/lib/chat-embed/src/chat-sender.vue.js +7 -5
- package/lib/chat-embed/src/chat-sender.vue2.js +123 -110
- package/lib/chat-embed/src/chat-sender.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +50 -42
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +6 -3
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +84 -74
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +4 -2
- package/lib/chat-embed/src/components/history-detail.vue.js +7 -5
- package/lib/chat-embed/src/components/history-detail.vue2.js +32 -27
- package/lib/chat-embed/src/components/history-detail.vue3.js +4 -2
- package/lib/chat-embed/src/header.vue.js +7 -5
- package/lib/chat-embed/src/header.vue2.js +32 -25
- package/lib/chat-embed/src/header.vue3.js +4 -2
- package/lib/chat-embed/src/index.vue.js +7 -5
- package/lib/chat-embed/src/index.vue2.js +211 -185
- package/lib/chat-embed/src/index.vue3.js +4 -2
- package/lib/chat-embed/src/recommendation-message.vue.js +7 -5
- package/lib/chat-embed/src/recommendation-message.vue2.js +8 -5
- package/lib/chat-embed/src/recommendation-message.vue3.js +4 -2
- package/lib/chat-embed/src/sidebar-item.vue.js +7 -5
- package/lib/chat-embed/src/sidebar-item.vue2.js +93 -84
- package/lib/chat-embed/src/sidebar-item.vue3.js +4 -2
- package/lib/chat-embed/src/type.js +5 -3
- package/lib/chat-embed/src/util/chat-embed-util.js +41 -35
- package/lib/chat-embed/src/util/history-message-util.js +85 -63
- package/lib/chat-embed/src/util/mcp-utils.js +8 -5
- package/lib/chat-embed/src/util/text-file-util.js +11 -7
- package/lib/chat-embed/src/voice/index.js +7 -5
- package/lib/chat-embed/src/voice/js/crypto-js.js +995 -987
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +169 -161
- package/lib/chat-embed/src/voice/js/timer.js +10 -7
- package/lib/chat-embed/src/voice/voice.vue.js +70 -61
- package/lib/date-picker-range/index.js +7 -5
- package/lib/date-picker-range/index.vue.js +7 -5
- package/lib/date-picker-range/index.vue2.js +63 -59
- package/lib/date-picker-range/index.vue3.js +4 -2
- package/lib/department-tree/index.js +5 -3
- package/lib/department-tree/src/department-tree.vue.js +17 -11
- package/lib/department-tree-inline/index.js +5 -3
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +13 -8
- package/lib/department-tree-inline/src/department-tree-service.js +10 -8
- package/lib/department-tree-inline/src/search-result.vue.js +23 -19
- package/lib/department-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-tree-mobile/index.js +7 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +12 -9
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +4 -2
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +5 -3
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +91 -80
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -3
- package/lib/department-tree-mobile/src/department-tree-service.js +42 -32
- package/lib/department-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/department-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/department-user-tree/index.js +5 -3
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +14 -10
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -2
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +14 -9
- package/lib/department-user-tree/src/department-user-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/index.js +5 -3
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +28 -17
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +33 -21
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +13 -8
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +9 -6
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +11 -8
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +14 -8
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +23 -17
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +3 -2
- package/lib/department-user-tree-inline/src/search-result.vue.js +15 -12
- package/lib/department-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-user-tree-mobile/index.js +7 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +12 -9
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -2
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +104 -93
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +30 -20
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/directives/prevent-reclick.js +3 -2
- package/lib/dynamic-source-select/index.js +7 -5
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +15 -13
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +183 -173
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -2
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -2
- package/lib/dynamic-source-select/src/events.js +3 -2
- package/lib/empty-state/index.vue.js +8 -5
- package/lib/empty-state/index.vue2.js +4 -3
- package/lib/fs-preview/index.js +7 -5
- package/lib/fs-preview/src/fs-preview.vue.js +72 -63
- package/lib/fs-preview/src/fs-preview.vue2.js +4 -2
- package/lib/fs-upload/index.js +7 -5
- package/lib/fs-upload/src/fs-upload-multi.vue.js +32 -24
- package/lib/fs-upload/src/fs-upload-single.vue.js +39 -30
- package/lib/fs-upload/src/fs-upload.vue.js +16 -10
- package/lib/fs-upload/src/see-big-picture.vue.js +11 -8
- package/lib/fs-upload-list/index.js +7 -5
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +40 -33
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +4 -2
- package/lib/fs-upload-new/index.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +38 -34
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +109 -101
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +33 -26
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -2
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +31 -27
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +24 -18
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -3
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +43 -36
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +45 -37
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +8 -5
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +70 -61
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +4 -2
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +47 -37
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +4 -3
- package/lib/hamburger/index.js +5 -3
- package/lib/hamburger/src/hamburger.vue.js +14 -10
- package/lib/hamburger/src/hamburger.vue2.js +4 -2
- package/lib/index.js +382 -40
- package/lib/json-view/json-view-dialog.vue.js +15 -12
- package/lib/json-view/json-view-dialog.vue2.js +4 -3
- package/lib/json-view/json-view.vue.js +4 -3
- package/lib/json-view/json-view.vue2.js +31 -27
- package/lib/multipart-upload/index.js +7 -5
- package/lib/multipart-upload/src/index.vue.js +11 -7
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +49 -40
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +67 -59
- package/lib/organization-input/index.js +7 -5
- package/lib/organization-input/src/organization-input.vue.js +37 -31
- package/lib/organization-input/src/organization-input.vue2.js +4 -2
- package/lib/plugins/export-data-new.js +104 -96
- package/lib/plugins/export-data.js +51 -45
- package/lib/plugins/index.js +8 -4
- package/lib/plugins/public-method.js +3 -2
- package/lib/remove-department/index.js +5 -3
- package/lib/remove-department/src/remove-department.vue.js +19 -13
- package/lib/remove-department/src/remove-dept-service.js +10 -9
- package/lib/remove-user/index.js +7 -5
- package/lib/remove-user/src/remove-user-service.js +4 -3
- package/lib/remove-user/src/remove-user.vue.js +22 -16
- package/lib/remove-workgroup/index.js +7 -5
- package/lib/remove-workgroup/src/remove-workgroup-service.js +4 -3
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +18 -12
- package/lib/rich-editor/index.js +7 -5
- package/lib/rich-editor/index.vue.js +76 -28
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +10 -7
- package/lib/row-form/index.js +7 -5
- package/lib/row-form/index.vue.js +7 -5
- package/lib/row-form/index.vue2.js +47 -41
- package/lib/row-form/index.vue3.js +4 -2
- package/lib/row-form/operation.vue.js +26 -22
- package/lib/row-form/operation.vue2.js +4 -3
- package/lib/scan-code-input/index.js +7 -5
- package/lib/scan-code-input/src/events.js +13 -11
- package/lib/scan-code-input/src/scan-code-input.vue.js +15 -9
- package/lib/scan-code-input-browser/index.js +7 -5
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +21 -16
- package/lib/secret-info/index.js +7 -5
- package/lib/secret-info/index.vue.js +9 -6
- package/lib/src/api/sso-service.js +36 -34
- package/lib/src/api/tab.js +9 -8
- package/lib/src/assets/401/401.gif.js +4 -2
- package/lib/src/assets/404/404-cloud.png.js +4 -2
- package/lib/src/assets/404/404.png.js +4 -2
- package/lib/src/assets/chat-embed/robot.gif.js +4 -2
- package/lib/src/assets/chat-embed/robot.svg.js +4 -2
- package/lib/src/assets/nonemessage.png.js +4 -2
- package/lib/src/components/Affix/index.vue.js +7 -5
- package/lib/src/components/Affix/index.vue2.js +58 -56
- package/lib/src/components/Affix/index.vue3.js +4 -2
- package/lib/src/components/Card/index.js +38 -33
- package/lib/src/components/Scrollbar/index.vue.js +37 -33
- package/lib/src/components/Scrollbar/index.vue2.js +4 -2
- package/lib/src/directives/permission/index.js +5 -3
- package/lib/src/directives/permission/permission.js +9 -7
- package/lib/src/i18n/i18n.js +7 -3
- package/lib/src/i18n/langs/cn.js +4 -2
- package/lib/src/i18n/langs/en.js +4 -2
- package/lib/src/mixins/resizeMixin.js +3 -2
- package/lib/src/permission.js +46 -43
- package/lib/src/router/index.js +9 -16
- package/lib/src/store/getters.js +4 -2
- package/lib/src/store/index.js +13 -16
- package/lib/src/store/modules/app.js +4 -3
- package/lib/src/store/modules/chat-ai-store.js +22 -19
- package/lib/src/store/modules/permission.js +11 -10
- package/lib/src/store/modules/system.js +9 -7
- package/lib/src/store/modules/tab-content.js +15 -13
- package/lib/src/store/modules/table.js +3 -2
- package/lib/src/store/modules/user.js +95 -89
- package/lib/src/utils/auth-api.js +5 -3
- package/lib/src/utils/auth.js +139 -69
- package/lib/src/utils/calculator/calculator-factory-wf.js +49 -48
- package/lib/src/utils/calculator/calculator-factory.js +58 -57
- package/lib/src/utils/calculator/calculator-util.js +32 -29
- package/lib/src/utils/chat-ai-util.js +25 -17
- package/lib/src/utils/common-util.js +356 -271
- package/lib/src/utils/eventBus.js +6 -3
- package/lib/src/utils/file-util.js +16 -15
- package/lib/src/utils/global-prop.js +37 -21
- package/lib/src/utils/guid.js +8 -5
- package/lib/src/utils/i18n-util.js +24 -16
- package/lib/src/utils/iconUtils.js +23 -16
- package/lib/src/utils/index.js +40 -26
- package/lib/src/utils/insert_css.js +7 -8
- package/lib/src/utils/json-util.js +27 -25
- package/lib/src/utils/jump-page-utils.js +180 -172
- package/lib/src/utils/local-storage.js +3 -2
- package/lib/src/utils/menu.js +11 -10
- package/lib/src/utils/permission.js +26 -22
- package/lib/src/utils/permissionAuth.js +136 -102
- package/lib/src/utils/range-selector.js +45 -41
- package/lib/src/utils/request.js +86 -77
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +15 -12
- package/lib/src/utils/util.js +26 -6
- package/lib/src/utils/validate.js +20 -10
- package/lib/src/utils/voice-setting-cache.js +153 -140
- package/lib/src/utils/watermark-cache.js +14 -9
- package/lib/src/utils/watermark.js +30 -23
- package/lib/src/utils/workflow-util.js +26 -25
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +7 -5
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +11 -8
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +12 -9
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +26 -19
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +20 -12
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +26 -21
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/error-page/401.vue.js +13 -9
- package/lib/src/views/error-page/401.vue2.js +4 -2
- package/lib/src/views/error-page/404.vue.js +11 -7
- package/lib/src/views/error-page/404.vue2.js +4 -2
- package/lib/src/views/layout/EmptyLayout.vue.js +8 -6
- package/lib/src/views/layout/Layout.vue.js +19 -12
- package/lib/src/views/layout/Layout.vue2.js +4 -2
- package/lib/src/views/layout/NewLayout.vue.js +10 -6
- package/lib/src/views/layout/components/AppMain.vue.js +11 -9
- package/lib/src/views/layout/components/AppMain.vue2.js +4 -2
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +37 -44
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/Item.vue.js +7 -5
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +14 -12
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +4 -2
- package/lib/src/views/layout/components/Menubar/Link.vue.js +12 -9
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +24 -15
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/index.vue.js +30 -19
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +8 -6
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +4 -3
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +11 -8
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +17 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Sidebar/index.vue.js +25 -18
- package/lib/src/views/layout/components/iframe-page.vue.js +10 -8
- package/lib/src/views/layout/components/iframe-page.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +14 -10
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/layout/mixin/ResizeHandler.js +5 -3
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +10 -8
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +4 -2
- package/lib/src/views/layout/tab-content-index.vue.js +18 -12
- package/lib/src/views/layout/tab-content-index.vue2.js +4 -2
- package/lib/src/views/login/authredirect.vue.js +3 -2
- package/lib/src/views/redirect/index.vue.js +8 -17
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +4 -2
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +13 -11
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +4 -2
- package/lib/style.css +769 -769
- package/lib/super-grid/index.js +7 -5
- package/lib/super-grid/src/apis.js +231 -221
- package/lib/super-grid/src/columns-config.vue.js +22 -16
- package/lib/super-grid/src/components/grid-icon.vue.js +34 -26
- package/lib/super-grid/src/components/grid-radio-input.vue.js +18 -15
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +4 -3
- package/lib/super-grid/src/components/mobile-table-card.js +83 -73
- package/lib/super-grid/src/components/select-input.vue.js +106 -98
- package/lib/super-grid/src/components/select-input.vue2.js +4 -3
- package/lib/super-grid/src/custom-formatter.js +74 -69
- package/lib/super-grid/src/dynamic-input.vue.js +159 -142
- package/lib/super-grid/src/eventBus.js +6 -3
- package/lib/super-grid/src/events.js +36 -34
- package/lib/super-grid/src/formValidatorUtil.js +65 -62
- package/lib/super-grid/src/formatter.js +41 -36
- package/lib/super-grid/src/group-column.vue.js +13 -8
- package/lib/super-grid/src/header-context-menu.vue.js +13 -10
- package/lib/super-grid/src/header-context-menu.vue2.js +4 -2
- package/lib/super-grid/src/index-column.vue.js +10 -7
- package/lib/super-grid/src/normal-column-content.vue.js +205 -186
- package/lib/super-grid/src/normal-column-content.vue2.js +4 -2
- package/lib/super-grid/src/normal-column.vue.js +55 -40
- package/lib/super-grid/src/normal-column.vue2.js +4 -2
- package/lib/super-grid/src/public-methods.js +14 -12
- package/lib/super-grid/src/row-detail.vue.js +10 -7
- package/lib/super-grid/src/row-operation.vue.js +26 -19
- package/lib/super-grid/src/row-operation.vue2.js +4 -2
- package/lib/super-grid/src/scan-util.js +26 -24
- package/lib/super-grid/src/search-button.vue.js +17 -12
- package/lib/super-grid/src/search-condition-input.vue.js +12 -8
- package/lib/super-grid/src/search-condition-list.vue.js +13 -10
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +23 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +4 -2
- package/lib/super-grid/src/search-form-dialog.vue.js +13 -9
- package/lib/super-grid/src/search-form-item.vue.js +24 -16
- package/lib/super-grid/src/search-form-item.vue2.js +4 -2
- package/lib/super-grid/src/search-form-mobile.vue.js +22 -13
- package/lib/super-grid/src/search-form-mobile.vue2.js +4 -2
- package/lib/super-grid/src/search-form-number.vue.js +14 -9
- package/lib/super-grid/src/search-form-open.vue.js +13 -7
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +19 -11
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +4 -2
- package/lib/super-grid/src/search-form.vue.js +77 -65
- package/lib/super-grid/src/search-form.vue2.js +4 -2
- package/lib/super-grid/src/search-methods.js +3 -2
- package/lib/super-grid/src/selection-column.vue.js +9 -7
- package/lib/super-grid/src/store.js +4 -3
- package/lib/super-grid/src/super-grid-service.js +128 -121
- package/lib/super-grid/src/super-grid.vue.js +217 -186
- package/lib/super-grid/src/super-grid.vue2.js +4 -2
- package/lib/super-grid/src/utils.js +322 -265
- package/lib/super-grid/src/view-image-dialog.vue.js +33 -26
- package/lib/super-icon/index.js +7 -5
- package/lib/super-icon/src/index.vue.js +7 -5
- package/lib/super-icon/src/index.vue2.js +11 -8
- package/lib/super-icon/src/index.vue3.js +4 -2
- package/lib/super-nine-grid/index.js +7 -5
- package/lib/super-nine-grid/src/apis.js +8 -5
- package/lib/super-nine-grid/src/custom-formatter.js +7 -5
- package/lib/super-nine-grid/src/formatter.js +29 -28
- package/lib/super-nine-grid/src/search-form-number.vue.js +12 -8
- package/lib/super-nine-grid/src/search-form.vue.js +40 -33
- package/lib/super-nine-grid/src/search-form.vue2.js +4 -2
- package/lib/super-nine-grid/src/search-methods.js +3 -2
- package/lib/super-nine-grid/src/store.js +4 -3
- package/lib/super-nine-grid/src/super-grid-service.js +9 -5
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +105 -95
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +4 -2
- package/lib/super-nine-grid/src/utils.js +27 -31
- package/lib/svg-icon/index.js +7 -5
- package/lib/svg-icon/src/svg-icon.vue.js +10 -8
- package/lib/svg-icon/src/svg-icon.vue2.js +4 -2
- package/lib/utils/gogocodeTransfer.js +28 -23
- package/lib/utils/memory-cache-utils.js +5 -3
- package/lib/utils/organization.js +53 -40
- package/lib/utils/utils.js +29 -27
- package/lib/utils/value-set.js +70 -68
- package/lib/valid-code/index.js +7 -5
- package/lib/valid-code/src/valid-code.vue.js +13 -10
- package/lib/valid-code/src/valid-code.vue2.js +4 -2
- package/lib/workflow-button/index.js +5 -3
- package/lib/workflow-button/src/workflow-button.vue.js +39 -34
- package/lib/workflow-history-list/index.js +7 -5
- package/lib/workflow-history-list/src/api.js +3 -2
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +65 -59
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +4 -2
- package/lib/workgroup-tree/index.js +7 -5
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +17 -11
- package/lib/workgroup-tree-inline/index.js +5 -3
- package/lib/workgroup-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +52 -43
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +7 -5
- package/lib/workgroup-tree-mobile/index.js +8 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +12 -9
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -2
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +86 -76
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +28 -20
- package/lib/workgroup-user-tree/index.js +7 -5
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +17 -11
- package/lib/workgroup-user-tree-inline/index.js +5 -3
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +11 -9
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +43 -34
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +12 -9
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +104 -93
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +25 -16
- package/lib/year-range-picker/index.js +5 -3
- package/lib/year-range-picker/src/year-range-picker.vue.js +12 -9
- package/package.json +4 -5
- package/vite.config.js +10 -10
- package/es/IntervalSelection/index.js +0 -7
- package/es/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/es/IntervalSelection/src/sectionDate.vue2.js +0 -4
- package/es/_virtual/__vite-browser-external.js +0 -4
- package/es/_virtual/_plugin-vue_export-helper.js +0 -9
- package/es/breadcrumb/index.js +0 -7
- package/es/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/es/breadcrumb/src/breadcrumb.vue2.js +0 -4
- package/es/chat-embed/index.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/es/chat-embed/src/chat-addition-data.vue3.js +0 -4
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
- package/es/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
- package/es/chat-embed/src/chat-embed-message.js +0 -22
- package/es/chat-embed/src/chat-sender.vue.js +0 -7
- package/es/chat-embed/src/chat-sender.vue2.js +0 -160
- package/es/chat-embed/src/chat-sender.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
- package/es/chat-embed/src/components/history-detail.vue.js +0 -7
- package/es/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/es/chat-embed/src/components/history-detail.vue3.js +0 -4
- package/es/chat-embed/src/header.vue.js +0 -7
- package/es/chat-embed/src/header.vue2.js +0 -46
- package/es/chat-embed/src/header.vue3.js +0 -4
- package/es/chat-embed/src/index.vue.js +0 -7
- package/es/chat-embed/src/index.vue2.js +0 -307
- package/es/chat-embed/src/index.vue3.js +0 -4
- package/es/chat-embed/src/recommendation-message.vue.js +0 -7
- package/es/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/es/chat-embed/src/recommendation-message.vue3.js +0 -4
- package/es/chat-embed/src/sidebar-item.vue.js +0 -7
- package/es/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/es/chat-embed/src/sidebar-item.vue3.js +0 -4
- package/es/chat-embed/src/type.js +0 -5
- package/es/chat-embed/src/util/chat-embed-util.js +0 -57
- package/es/chat-embed/src/util/history-message-util.js +0 -96
- package/es/chat-embed/src/util/mcp-utils.js +0 -53
- package/es/chat-embed/src/util/text-file-util.js +0 -12
- package/es/chat-embed/src/voice/index.js +0 -7
- package/es/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/es/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/es/chat-embed/src/voice/js/timer.js +0 -11
- package/es/chat-embed/src/voice/voice.vue.js +0 -104
- package/es/date-picker-range/index.js +0 -7
- package/es/date-picker-range/index.vue.js +0 -7
- package/es/date-picker-range/index.vue2.js +0 -93
- package/es/date-picker-range/index.vue3.js +0 -4
- package/es/department-tree/index.js +0 -7
- package/es/department-tree/src/department-tree.vue.js +0 -23
- package/es/department-tree-inline/index.js +0 -7
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/es/department-tree-inline/src/department-tree-service.js +0 -108
- package/es/department-tree-inline/src/search-result.vue.js +0 -40
- package/es/department-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-tree-mobile/index.js +0 -8
- package/es/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-service.js +0 -55
- package/es/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/department-user-tree/index.js +0 -7
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
- package/es/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/es/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/es/department-user-tree-inline/index.js +0 -7
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/es/department-user-tree-inline/src/group-user-tree-service.js +0 -34
- package/es/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/es/department-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-user-tree-mobile/index.js +0 -8
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
- package/es/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/directives/prevent-reclick.js +0 -15
- package/es/dynamic-source-select/index.js +0 -7
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +0 -276
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
- package/es/dynamic-source-select/src/events.js +0 -29
- package/es/empty-state/index.vue.js +0 -9
- package/es/empty-state/index.vue2.js +0 -4
- package/es/fs-preview/index.js +0 -7
- package/es/fs-preview/src/fs-preview.vue.js +0 -120
- package/es/fs-preview/src/fs-preview.vue2.js +0 -4
- package/es/fs-upload/index.js +0 -7
- package/es/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/es/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/es/fs-upload/src/fs-upload.vue.js +0 -24
- package/es/fs-upload/src/see-big-picture.vue.js +0 -12
- package/es/fs-upload-list/index.js +0 -7
- package/es/fs-upload-list/src/fs-upload-list.vue.js +0 -98
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
- package/es/fs-upload-new/index.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -39
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/es/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
- package/es/fs-upload-new/src/fs-upload-new.vue.js +0 -64
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/es/hamburger/index.js +0 -7
- package/es/hamburger/src/hamburger.vue.js +0 -15
- package/es/hamburger/src/hamburger.vue2.js +0 -4
- package/es/index.js +0 -383
- package/es/json-view/json-view-dialog.vue.js +0 -19
- package/es/json-view/json-view-dialog.vue2.js +0 -4
- package/es/json-view/json-view.vue.js +0 -4
- package/es/json-view/json-view.vue2.js +0 -36
- package/es/multipart-upload/index.js +0 -7
- package/es/multipart-upload/src/index.vue.js +0 -14
- package/es/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/es/multipart-upload/src/multipart-upload-list.vue.js +0 -104
- package/es/organization-input/index.js +0 -7
- package/es/organization-input/src/organization-input.vue.js +0 -224
- package/es/organization-input/src/organization-input.vue2.js +0 -4
- package/es/plugins/export-data-new.js +0 -237
- package/es/plugins/export-data.js +0 -179
- package/es/plugins/index.js +0 -9
- package/es/plugins/public-method.js +0 -14
- package/es/remove-department/index.js +0 -7
- package/es/remove-department/src/remove-department.vue.js +0 -33
- package/es/remove-department/src/remove-dept-service.js +0 -13
- package/es/remove-user/index.js +0 -7
- package/es/remove-user/src/remove-user-service.js +0 -13
- package/es/remove-user/src/remove-user.vue.js +0 -35
- package/es/remove-workgroup/index.js +0 -7
- package/es/remove-workgroup/src/remove-workgroup-service.js +0 -13
- package/es/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/es/rich-editor/index.js +0 -7
- package/es/rich-editor/index.vue.js +0 -115
- package/es/rich-editor/tinymce/zh_CN.js +0 -2
- package/es/rich-editor/viewer.vue.js +0 -27
- package/es/row-form/index.js +0 -7
- package/es/row-form/index.vue.js +0 -7
- package/es/row-form/index.vue2.js +0 -62
- package/es/row-form/index.vue3.js +0 -4
- package/es/row-form/operation.vue.js +0 -32
- package/es/row-form/operation.vue2.js +0 -4
- package/es/scan-code-input/index.js +0 -7
- package/es/scan-code-input/src/events.js +0 -15
- package/es/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/es/scan-code-input-browser/index.js +0 -7
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/es/secret-info/index.js +0 -7
- package/es/secret-info/index.vue.js +0 -16
- package/es/src/api/sso-service.js +0 -57
- package/es/src/api/tab.js +0 -15
- package/es/src/assets/401/401.gif.js +0 -4
- package/es/src/assets/404/404-cloud.png.js +0 -4
- package/es/src/assets/404/404.png.js +0 -4
- package/es/src/assets/chat-embed/robot.gif.js +0 -4
- package/es/src/assets/chat-embed/robot.svg.js +0 -4
- package/es/src/assets/nonemessage.png.js +0 -4
- package/es/src/components/Affix/index.vue.js +0 -7
- package/es/src/components/Affix/index.vue2.js +0 -83
- package/es/src/components/Affix/index.vue3.js +0 -4
- package/es/src/components/Card/index.js +0 -48
- package/es/src/components/Scrollbar/index.vue.js +0 -52
- package/es/src/components/Scrollbar/index.vue2.js +0 -4
- package/es/src/directives/permission/index.js +0 -7
- package/es/src/directives/permission/permission.js +0 -11
- package/es/src/i18n/i18n.js +0 -7
- package/es/src/i18n/langs/cn.js +0 -4
- package/es/src/i18n/langs/en.js +0 -4
- package/es/src/mixins/resizeMixin.js +0 -21
- package/es/src/permission.js +0 -79
- package/es/src/router/index.js +0 -9
- package/es/src/store/getters.js +0 -4
- package/es/src/store/index.js +0 -13
- package/es/src/store/modules/app.js +0 -41
- package/es/src/store/modules/chat-ai-store.js +0 -36
- package/es/src/store/modules/permission.js +0 -31
- package/es/src/store/modules/system.js +0 -12
- package/es/src/store/modules/tab-content.js +0 -20
- package/es/src/store/modules/table.js +0 -18
- package/es/src/store/modules/user.js +0 -139
- package/es/src/utils/auth-api.js +0 -134
- package/es/src/utils/auth.js +0 -156
- package/es/src/utils/calculator/calculator-factory-wf.js +0 -167
- package/es/src/utils/calculator/calculator-factory.js +0 -93
- package/es/src/utils/calculator/calculator-util.js +0 -56
- package/es/src/utils/chat-ai-util.js +0 -34
- package/es/src/utils/common-util.js +0 -440
- package/es/src/utils/eventBus.js +0 -6
- package/es/src/utils/file-util.js +0 -23
- package/es/src/utils/global-prop.js +0 -38
- package/es/src/utils/guid.js +0 -10
- package/es/src/utils/i18n-util.js +0 -70
- package/es/src/utils/iconUtils.js +0 -26
- package/es/src/utils/index.js +0 -46
- package/es/src/utils/insert_css.js +0 -17
- package/es/src/utils/json-util.js +0 -47
- package/es/src/utils/jump-page-utils.js +0 -264
- package/es/src/utils/local-storage.js +0 -19
- package/es/src/utils/menu.js +0 -14
- package/es/src/utils/permission.js +0 -45
- package/es/src/utils/permissionAuth.js +0 -154
- package/es/src/utils/range-selector.js +0 -105
- package/es/src/utils/request.js +0 -140
- package/es/src/utils/resize.js +0 -11
- package/es/src/utils/restful-interface-utils.js +0 -18
- package/es/src/utils/util.js +0 -361
- package/es/src/utils/validate.js +0 -22
- package/es/src/utils/voice-setting-cache.js +0 -212
- package/es/src/utils/watermark-cache.js +0 -15
- package/es/src/utils/watermark.js +0 -40
- package/es/src/utils/workflow-util.js +0 -42
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +0 -66
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/error-page/401.vue.js +0 -15
- package/es/src/views/error-page/401.vue2.js +0 -4
- package/es/src/views/error-page/404.vue.js +0 -12
- package/es/src/views/error-page/404.vue2.js +0 -4
- package/es/src/views/layout/EmptyLayout.vue.js +0 -9
- package/es/src/views/layout/Layout.vue.js +0 -28
- package/es/src/views/layout/Layout.vue2.js +0 -4
- package/es/src/views/layout/NewLayout.vue.js +0 -11
- package/es/src/views/layout/components/AppMain.vue.js +0 -13
- package/es/src/views/layout/components/AppMain.vue2.js +0 -4
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +0 -49
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/es/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/es/src/views/layout/components/Menubar/Item.vue3.js +0 -4
- package/es/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/es/src/views/layout/components/Sidebar/Item.vue.js +0 -9
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/es/src/views/layout/components/iframe-page.vue.js +0 -14
- package/es/src/views/layout/components/iframe-page.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue.js +0 -64
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/es/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
- package/es/src/views/layout/tab-content-index.vue.js +0 -28
- package/es/src/views/layout/tab-content-index.vue2.js +0 -4
- package/es/src/views/login/authredirect.vue.js +0 -7
- package/es/src/views/redirect/index.vue.js +0 -8
- package/es/src/views/svg-icon/src/svg-icon.vue.js +0 -4
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
- package/es/super-grid/index.js +0 -7
- package/es/super-grid/src/apis.js +0 -458
- package/es/super-grid/src/columns-config.vue.js +0 -82
- package/es/super-grid/src/components/grid-icon.vue.js +0 -47
- package/es/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/es/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/es/super-grid/src/components/mobile-table-card.js +0 -109
- package/es/super-grid/src/components/select-input.vue.js +0 -149
- package/es/super-grid/src/components/select-input.vue2.js +0 -4
- package/es/super-grid/src/custom-formatter.js +0 -168
- package/es/super-grid/src/dynamic-input.vue.js +0 -482
- package/es/super-grid/src/eventBus.js +0 -6
- package/es/super-grid/src/events.js +0 -37
- package/es/super-grid/src/formValidatorUtil.js +0 -109
- package/es/super-grid/src/formatter.js +0 -74
- package/es/super-grid/src/group-column.vue.js +0 -24
- package/es/super-grid/src/header-context-menu.vue.js +0 -15
- package/es/super-grid/src/header-context-menu.vue2.js +0 -4
- package/es/super-grid/src/index-column.vue.js +0 -22
- package/es/super-grid/src/normal-column-content.vue.js +0 -319
- package/es/super-grid/src/normal-column-content.vue2.js +0 -4
- package/es/super-grid/src/normal-column.vue.js +0 -106
- package/es/super-grid/src/normal-column.vue2.js +0 -4
- package/es/super-grid/src/public-methods.js +0 -22
- package/es/super-grid/src/row-detail.vue.js +0 -14
- package/es/super-grid/src/row-operation.vue.js +0 -89
- package/es/super-grid/src/row-operation.vue2.js +0 -4
- package/es/super-grid/src/scan-util.js +0 -100
- package/es/super-grid/src/search-button.vue.js +0 -23
- package/es/super-grid/src/search-condition-input.vue.js +0 -17
- package/es/super-grid/src/search-condition-list.vue.js +0 -20
- package/es/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
- package/es/super-grid/src/search-form-dialog.vue.js +0 -16
- package/es/super-grid/src/search-form-item.vue.js +0 -128
- package/es/super-grid/src/search-form-item.vue2.js +0 -4
- package/es/super-grid/src/search-form-mobile.vue.js +0 -41
- package/es/super-grid/src/search-form-mobile.vue2.js +0 -4
- package/es/super-grid/src/search-form-number.vue.js +0 -26
- package/es/super-grid/src/search-form-open.vue.js +0 -50
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
- package/es/super-grid/src/search-form.vue.js +0 -201
- package/es/super-grid/src/search-form.vue2.js +0 -4
- package/es/super-grid/src/search-methods.js +0 -164
- package/es/super-grid/src/selection-column.vue.js +0 -11
- package/es/super-grid/src/store.js +0 -4
- package/es/super-grid/src/super-grid-service.js +0 -260
- package/es/super-grid/src/super-grid.vue.js +0 -1052
- package/es/super-grid/src/super-grid.vue2.js +0 -4
- package/es/super-grid/src/utils.js +0 -355
- package/es/super-grid/src/view-image-dialog.vue.js +0 -67
- package/es/super-icon/index.js +0 -7
- package/es/super-icon/src/index.vue.js +0 -7
- package/es/super-icon/src/index.vue2.js +0 -13
- package/es/super-icon/src/index.vue3.js +0 -4
- package/es/super-nine-grid/index.js +0 -7
- package/es/super-nine-grid/src/apis.js +0 -36
- package/es/super-nine-grid/src/custom-formatter.js +0 -35
- package/es/super-nine-grid/src/formatter.js +0 -37
- package/es/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/es/super-nine-grid/src/search-form.vue.js +0 -91
- package/es/super-nine-grid/src/search-form.vue2.js +0 -4
- package/es/super-nine-grid/src/search-methods.js +0 -48
- package/es/super-nine-grid/src/store.js +0 -4
- package/es/super-nine-grid/src/super-grid-service.js +0 -39
- package/es/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
- package/es/super-nine-grid/src/utils.js +0 -32
- package/es/svg-icon/index.js +0 -7
- package/es/svg-icon/src/svg-icon.vue.js +0 -14
- package/es/svg-icon/src/svg-icon.vue2.js +0 -4
- package/es/utils/gogocodeTransfer.js +0 -33
- package/es/utils/memory-cache-utils.js +0 -30
- package/es/utils/organization.js +0 -57
- package/es/utils/utils.js +0 -87
- package/es/utils/value-set.js +0 -94
- package/es/valid-code/index.js +0 -7
- package/es/valid-code/src/valid-code.vue.js +0 -23
- package/es/valid-code/src/valid-code.vue2.js +0 -4
- package/es/workflow-button/index.js +0 -7
- package/es/workflow-button/src/workflow-button.vue.js +0 -85
- package/es/workflow-history-list/index.js +0 -7
- package/es/workflow-history-list/src/api.js +0 -6
- package/es/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
- package/es/workgroup-tree/index.js +0 -7
- package/es/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/es/workgroup-tree-inline/index.js +0 -7
- package/es/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/es/workgroup-tree-mobile/index.js +0 -8
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
- package/es/workgroup-user-tree/index.js +0 -7
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/es/workgroup-user-tree-inline/index.js +0 -7
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
- package/es/year-range-picker/index.js +0 -7
- package/es/year-range-picker/src/year-range-picker.vue.js +0 -14
- /package/{es → dist}/favicon.svg +0 -0
|
@@ -1,28 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import e from "./store.js";
|
|
2
|
+
import { isDisableEdit as t, getAdditionalParamMap as i, getControlConfig as l, getFileList as a, isDynamicDataSourceSource as o, isEditOptionFunction as s, analysisFileSetObj as n, otherFilesToStandard as r, rowBeforeValidate as u } from "./utils.js";
|
|
3
|
+
import p from "../../dynamic-source-select/src/dynamic-source-select.vue.js";
|
|
4
|
+
import { formatCustomParams as m, getEntityFieldValue as d, setEntityFieldValue as c, watchPageContextDynamicVariable as h, getPropValueNew as f } from "../../src/utils/util.js";
|
|
5
|
+
import { getToken as g } from "../../src/utils/auth.js";
|
|
6
|
+
import y from "./apis.js";
|
|
7
|
+
import v from "./view-image-dialog.vue.js";
|
|
8
|
+
import { $emit as b } from "../../utils/gogocodeTransfer.js";
|
|
9
|
+
import S from "./eventBus.js";
|
|
10
|
+
import { isMobileBrowser as w, isDingTalkEnv as C } from "../../src/utils/common-util.js";
|
|
11
|
+
import { analysisScanValue as T, setScanAnalysisValue as V } from "./scan-util.js";
|
|
12
|
+
import N from "./custom-formatter.js";
|
|
13
|
+
import D from "./components/grid-radio-input.vue.js";
|
|
14
|
+
import E from "./components/select-input.vue.js";
|
|
15
|
+
import { resolveComponent as x, openBlock as P, createElementBlock as I, normalizeClass as F, createBlock as O, resolveDynamicComponent as k, createSlots as M, withCtx as j, createCommentVNode as U, toDisplayString as $, createVNode as A, createTextVNode as L } from "vue";
|
|
16
|
+
import q from "../../_virtual/_plugin-vue_export-helper.js";
|
|
17
|
+
const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImageDialog: v, GridRadioInput: D, SelectInput: E }, props: { value: { type: [String, Boolean, Number, Date, Array], default: null }, type: { type: String, default: "input" }, position: { type: Object, default: null }, lineEdit: { type: Object, default: null }, options: { type: Array, default: null }, column: { type: Object, default: null }, row: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null }, rowIndex: { type: Number, default: -1 }, disabled: { type: Boolean, default: false }, gridOptions: { type: Object, default: null } }, data() {
|
|
18
|
+
let a2 = this.value;
|
|
19
|
+
this.type && "select" === this.type && "TEXT" !== this.column.dataType && (a2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, b(this, "update:value", a2));
|
|
20
|
+
const o2 = this.getDefaultValue(a2);
|
|
21
|
+
null != o2 && (a2 = o2);
|
|
22
|
+
const s2 = t(this.column.prop, this.listCode, this.row, this.rowIndex);
|
|
23
|
+
this.$emit("change-disabled", s2);
|
|
9
24
|
const n2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads";
|
|
10
25
|
this.listCode || (this.listCode = e.get("_list_code"));
|
|
11
26
|
const r2 = e.get(this.listCode);
|
|
12
|
-
let
|
|
13
|
-
r2 && r2.basicInfo && r2.basicInfo.tableName && (
|
|
14
|
-
const m2 = { Authorization:
|
|
27
|
+
let u2, p2;
|
|
28
|
+
r2 && r2.basicInfo && r2.basicInfo.tableName && (u2 = r2.basicInfo.tableName), r2.options.extraParam && r2.options.extraParam.entityMap && (p2 = r2.options.extraParam.entityMap);
|
|
29
|
+
const m2 = { Authorization: g() };
|
|
15
30
|
let d2 = "mysql";
|
|
16
31
|
window.$vueApp.config.globalProperties.dataSourceType && (d2 = window.$vueApp.config.globalProperties.dataSourceType.toLowerCase());
|
|
17
|
-
const
|
|
18
|
-
let
|
|
19
|
-
this.column.controlConfig && (
|
|
20
|
-
|
|
21
|
-
const
|
|
22
|
-
let
|
|
23
|
-
r2 && r2.basicInfo && r2.basicInfo.systemCode && (
|
|
24
|
-
const
|
|
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:
|
|
32
|
+
const c2 = r2.gridData, h2 = r2.subTableData, f2 = r2.isSubTableShowPage, y2 = i(r2), v2 = r2.options.pageContext, S2 = w(), T2 = this.listCode + "_" + this.column.prop;
|
|
33
|
+
let V2, N2 = false, D2 = {};
|
|
34
|
+
this.column.controlConfig && (D2 = JSON.parse(this.column.controlConfig)), D2.scanEnable && (N2 = true);
|
|
35
|
+
V2 = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
|
|
36
|
+
const E2 = !!C(), x2 = !(!S2 || !V2 || "app" !== V2), P2 = x2 || E2 || !(!S2 || !N2 || "https:" !== window.location.protocol), I2 = r2.colConfigureMap ? r2.colConfigureMap[this.column.prop] : null, F2 = I2 && I2.runtime ? I2.runtime : {}, O2 = F2.props ? F2.props : {};
|
|
37
|
+
let k2;
|
|
38
|
+
r2 && r2.basicInfo && r2.basicInfo.systemCode && (k2 = r2.basicInfo.systemCode);
|
|
39
|
+
const M2 = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime();
|
|
40
|
+
return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction: n2, fileMultiple: false, fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: false, singleImgSrc: "", fields: null, innerValue: a2, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: u2, departmentInfo: null, parentFormData: p2, headers: m2, dataSourceType: d2, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: f2 ? h2 : c2, pageGridData: f2 ? c2 : null, additionalParamMap: y2, controlConfig: l(this.column), pickerOptions: { disabledDate: (e2) => this.stateForbiddenTime && this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime || e2.getTime() > this.endForbiddenTime : this.stateForbiddenTime && !this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime : !(this.stateForbiddenTime || !this.endForbiddenTime) && e2.getTime() > this.endForbiddenTime }, stateForbiddenTime: null, endForbiddenTime: null, pageContext: v2, isMobile: S2, componentId: T2, scanEnable: N2, userAgent: V2, isApk: x2, isDingTalk: E2, isShowBrowserScan: false, isShowScanIcon: P2, colConfigure: I2, designProperty: O2, myCustomParams: {}, systemCode: k2, isFormSubTable: false, copyBtnId: M2 };
|
|
26
41
|
}, computed: {}, watch: { value: { handler(t2, i2) {
|
|
27
42
|
if (this.type && "multiselect" === this.type) {
|
|
28
43
|
const e2 = this.value && null !== this.value && "string" == typeof this.value ? this.value.split(",") : this.value;
|
|
@@ -34,10 +49,10 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
34
49
|
});
|
|
35
50
|
}, deep: true, immediate: true } }, created() {
|
|
36
51
|
var _a;
|
|
37
|
-
const
|
|
38
|
-
if (
|
|
52
|
+
const t2 = e.get(this.listCode);
|
|
53
|
+
if (t2 && t2.options && t2.options.isFormSubTable && (this.isFormSubTable = t2.options.isFormSubTable), ((_a = this.controlConfig) == null ? void 0 : _a.customParams) && (this.pageContext || (this.pageContext = t2.options.pageContext), this.myCustomParams = m(this.controlConfig.customParams, this.pageContext, this.row)), this.gridParams = t2, this.isCreateRow = t2.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
54
|
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 =
|
|
55
|
+
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 = a(this.row, this.column, this.isSql);
|
|
41
56
|
}
|
|
42
57
|
if ("inputNumber" === this.column.componentType && this.setInputNumberConfig(), this.column.valueSetOptions) {
|
|
43
58
|
if ("switch" === this.column.componentType) {
|
|
@@ -52,23 +67,23 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
52
67
|
const e2 = JSON.parse(this.column.orgTreeSet);
|
|
53
68
|
this.type.indexOf("DeptTree") > 0 && e2.checkStrictly && (this.isCheckStrictly = e2.checkStrictly), e2.length ? this.fields = e2 : e2.orgTreeSetArr && (this.fields = e2.orgTreeSetArr);
|
|
54
69
|
}
|
|
55
|
-
this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch("gridOptions.customRules." + this.column.prop, (e2,
|
|
70
|
+
this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch("gridOptions.customRules." + this.column.prop, (e2, t3) => {
|
|
56
71
|
this.packageCustomRules(e2);
|
|
57
|
-
}, { immediate: true, deep: true }), this.$watch("gridOptions.customRules._all_fields", (e2,
|
|
72
|
+
}, { immediate: true, deep: true }), this.$watch("gridOptions.customRules._all_fields", (e2, t3) => {
|
|
58
73
|
this.packageCustomRules(e2);
|
|
59
74
|
}, { immediate: true, deep: true });
|
|
60
75
|
}, mounted() {
|
|
61
76
|
const e2 = this;
|
|
62
|
-
|
|
77
|
+
S.$on(this.componentId + "-pickFileDone", (t2) => {
|
|
63
78
|
e2.$refs.fileUploadRef && e2.$refs.fileUploadRef.pickFileDone(t2);
|
|
64
|
-
}),
|
|
79
|
+
}), S.$on(this.componentId + "-uploadFileDone", (t2) => {
|
|
65
80
|
e2.$refs.fileUploadRef && e2.$refs.fileUploadRef.uploadFileDone(t2);
|
|
66
|
-
}),
|
|
81
|
+
}), S.$on(this.componentId + "-scanDone", (t2) => {
|
|
67
82
|
e2.innerValue = t2.result, e2.blurEvent(), this.callCustomEvent("afterScanDone");
|
|
68
83
|
});
|
|
69
84
|
}, destroyed() {
|
|
70
|
-
|
|
71
|
-
}, methods: { ...
|
|
85
|
+
S.$off(this.componentId + "-pickFileDone"), S.$off(this.componentId + "-uploadFileDone"), S.$off(this.componentId + "-scanDone");
|
|
86
|
+
}, methods: { ...N, getDateAllowTime() {
|
|
72
87
|
if (this.column.valueSetOptions) {
|
|
73
88
|
let e2 = JSON.parse(this.column.valueSetOptions);
|
|
74
89
|
"string" == typeof e2 && (e2 = JSON.parse(e2));
|
|
@@ -106,37 +121,37 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
106
121
|
else if (e2.orgTreeSetArr && (this.fields = e2.orgTreeSetArr, this.orgTreeSetSort()), e2.specifyType)
|
|
107
122
|
if ("dataTable" === e2.specifyType) {
|
|
108
123
|
if (e2.dataTableField) {
|
|
109
|
-
const t2 =
|
|
124
|
+
const t2 = d(this.row, e2.dataTableField);
|
|
110
125
|
t2 && "" !== t2 && (this.departmentInfo = t2.split(","));
|
|
111
126
|
}
|
|
112
127
|
} else
|
|
113
128
|
"dept" !== e2.specifyType && "workGroup" !== e2.specifyType || e2.specifyDept && "" !== e2.specifyDept && ("object" == typeof e2.specifyDept ? this.departmentInfo = e2.specifyDept : this.departmentInfo = e2.specifyDept.split(","));
|
|
114
129
|
}
|
|
115
|
-
}, cellEvent(i2, l2
|
|
130
|
+
}, cellEvent(t2, i2, l2) {
|
|
116
131
|
this.innerValue;
|
|
117
132
|
let a2 = false;
|
|
118
|
-
if ("focus" ===
|
|
119
|
-
let e2 =
|
|
120
|
-
"" === e2 && (e2 = null),
|
|
121
|
-
} else if ("input" ===
|
|
133
|
+
if ("focus" === t2 && b(this, "focus", i2), "input" === t2 && this.isDateControll()) {
|
|
134
|
+
let e2 = i2;
|
|
135
|
+
"" === e2 && (e2 = null), b(this, "update:value", e2), this.clearValidateErrorField(), a2 = true, this.innerValue = e2;
|
|
136
|
+
} else if ("input" === t2 && this.isSelectControll()) {
|
|
122
137
|
if ("multiselect" === this.type && this.innerValue && "[object Array]" === Object.prototype.toString.apply(this.innerValue)) {
|
|
123
138
|
const e2 = "saveAll";
|
|
124
|
-
this.innerValue.indexOf(e2) < 0 && (
|
|
139
|
+
this.innerValue.indexOf(e2) < 0 && (b(this, "update:value", this.innerValue.join(",")), this.clearValidateErrorField());
|
|
125
140
|
} else
|
|
126
|
-
|
|
141
|
+
b(this, "update:value", this.innerValue), this.clearValidateErrorField();
|
|
127
142
|
a2 = true;
|
|
128
143
|
} else
|
|
129
|
-
"input" ===
|
|
130
|
-
if (a2 || "change" !==
|
|
131
|
-
if (("multiselect" === this.type || "select" === this.type) &&
|
|
144
|
+
"input" === t2 && void 0 !== l2 && true === l2 ? (this.innerValue = i2, b(this, "update:value", i2), this.clearValidateErrorField(), a2 = true) : "blur" !== t2 || this.isSelectControll() || (this.blurEvent(), a2 = true, this.innerValue && this.isInputControl() && "TEXT" === this.column.dataType && (this.innerValue = this.innerValue.trim()));
|
|
145
|
+
if (a2 || "change" !== t2 || this.blurEvent(), "clear" === t2) {
|
|
146
|
+
if (("multiselect" === this.type || "select" === this.type) && o(this.column))
|
|
132
147
|
for (let e2 = 0; e2 < this.valueSetOptions.length; e2++)
|
|
133
148
|
this.column.prop !== this.valueSetOptions[e2].valueColumn.dbColumnName && this.setCellValue(this.valueSetOptions[e2].valueColumn.dbColumnName, null, "input");
|
|
134
|
-
|
|
149
|
+
b(this, "update:value", null);
|
|
135
150
|
}
|
|
136
151
|
const n2 = e.get(this.listCode);
|
|
137
|
-
n2.editProp = this.column.prop, this.column.events && this.column.events[
|
|
152
|
+
n2.editProp = this.column.prop, this.column.events && this.column.events[t2] ? this.callCustomEvent(t2) : s(t2, this.listCode) && n2.options.lineEditOptions[t2].call(this, i2, this.row, this.column, n2.additionalParamMap), b(this, "findIndex");
|
|
138
153
|
}, blurEvent() {
|
|
139
|
-
null !== this.innerValue && void 0 !== this.innerValue || (this.innerValue = null, this.val = null),
|
|
154
|
+
null !== this.innerValue && void 0 !== this.innerValue || (this.innerValue = null, this.val = null), b(this, "update:value", this.innerValue), this.clearValidateErrorField(), this.watchScanValueChange(this.innerValue);
|
|
140
155
|
}, clearValidateErrorField() {
|
|
141
156
|
this.row.validateErrorField && (this.row.validateErrorField = void 0);
|
|
142
157
|
}, isInputControl() {
|
|
@@ -146,7 +161,7 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
146
161
|
}, isSelectControll() {
|
|
147
162
|
return "select" === this.type || "multiselect" === this.type;
|
|
148
163
|
}, isDynamicDataSourceSource() {
|
|
149
|
-
return
|
|
164
|
+
return o(this.column);
|
|
150
165
|
}, isDecimalDateType() {
|
|
151
166
|
return this.column.dataType && "DOUBLE" === this.column.dataType || "FLOAT" === this.column.dataType;
|
|
152
167
|
}, callCustomEvent(e2) {
|
|
@@ -155,45 +170,45 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
155
170
|
if (this.column && this.column.events && this.column.events[t2]) {
|
|
156
171
|
const l2 = this.column.events[t2];
|
|
157
172
|
this.listCode || (this.listCode = e.get("_list_code"));
|
|
158
|
-
const
|
|
159
|
-
if (
|
|
160
|
-
if (i2 || (i2 = {}), i2.formData =
|
|
161
|
-
i2.pageContext =
|
|
162
|
-
const e2 =
|
|
173
|
+
const a2 = e.get(this.listCode);
|
|
174
|
+
if (a2.options && a2.options.eventCallBack && a2.options.eventCallBack[l2] && "function" == typeof a2.options.eventCallBack[l2])
|
|
175
|
+
if (i2 || (i2 = {}), i2.formData = a2.options && a2.options.formData ? a2.options.formData : null, i2.parent = this.parentFormData, i2.rowIndex = this.rowIndex, i2.additionalParamMap = a2.additionalParamMap, a2.options.pageContext) {
|
|
176
|
+
i2.pageContext = a2.options.pageContext, i2.configure = a2.options.configureObj;
|
|
177
|
+
const e2 = a2.options.eventCallBack[l2];
|
|
163
178
|
e2.apply(e2, [i2]);
|
|
164
179
|
} else
|
|
165
|
-
|
|
180
|
+
a2.options.eventCallBack[l2].call(this, i2);
|
|
166
181
|
}
|
|
167
182
|
}, checkDecimal() {
|
|
168
183
|
if (this.isDecimalDateType() && this.innerValue && null !== this.innerValue) {
|
|
169
184
|
/^(-?\d+)(\.\d+)?$/.test(this.innerValue + "") || (this.$message({ type: "warning", message: this.$t("imatrixUIMessage.invalideDoubleValue", { num: this.innerValue }), showClose: true }), this.focus());
|
|
170
185
|
}
|
|
171
186
|
}, customFocus() {
|
|
172
|
-
|
|
187
|
+
y.focus(this.position ? this.position.row : null);
|
|
173
188
|
}, openAnnexUpload() {
|
|
174
189
|
this.annexUploadFlag = true;
|
|
175
190
|
}, previewImg() {
|
|
176
|
-
this.fileList =
|
|
191
|
+
this.fileList = a(this.row, this.column, this.isSql), this.showSingleImgFlag = true;
|
|
177
192
|
}, uploadOnSuccess(e2) {
|
|
178
193
|
if (e2) {
|
|
179
194
|
if (this.isMobile) {
|
|
180
195
|
if (this.column.fileSet && "" !== this.column.fileSet) {
|
|
181
|
-
const
|
|
182
|
-
if (
|
|
196
|
+
const t2 = JSON.parse(this.column.fileSet);
|
|
197
|
+
if (t2) {
|
|
183
198
|
if (this.fileMultiple)
|
|
184
|
-
this.multiStorageMobile(
|
|
199
|
+
this.multiStorageMobile(t2, e2);
|
|
185
200
|
else {
|
|
186
|
-
const
|
|
187
|
-
this.radioStorageFile(
|
|
201
|
+
const i2 = e2[0], l2 = { name: i2.showName, serverPath: i2.serverPath };
|
|
202
|
+
this.radioStorageFile(t2, l2);
|
|
188
203
|
}
|
|
189
|
-
this.fileList =
|
|
204
|
+
this.fileList = a(this.row, this.column, this.isSql);
|
|
190
205
|
}
|
|
191
206
|
}
|
|
192
207
|
} else {
|
|
193
|
-
const
|
|
208
|
+
const t2 = { name: e2.showName, serverPath: e2.serverPath };
|
|
194
209
|
if (this.column.fileSet && "" !== this.column.fileSet) {
|
|
195
210
|
const e3 = JSON.parse(this.column.fileSet);
|
|
196
|
-
e3 && (this.fileMultiple ? this.multiStorage(e3,
|
|
211
|
+
e3 && (this.fileMultiple ? this.multiStorage(e3, t2) : this.radioStorageFile(e3, t2), this.fileList = a(this.row, this.column, this.isSql), this.fileList);
|
|
197
212
|
}
|
|
198
213
|
}
|
|
199
214
|
this.callCustomEventWithParam("uploaded", { value: e2, row: this.row, column: this.column, extendParams: this.extendParams });
|
|
@@ -207,109 +222,109 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
207
222
|
this.row[e2] = t2;
|
|
208
223
|
}, radioStorageFile(e2, t2) {
|
|
209
224
|
e2.showNameData && (this.isSql ? e2.showNameData.dbName && this.setCellValue(e2.showNameData.dbName, t2.name, "input") : e2.showNameData.name && this.setCellValue(e2.showNameData.name, t2.name, "input")), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && this.setCellValue(e2.serverNameData.dbName, t2.serverPath) : e2.serverNameData.name && this.setCellValue(e2.serverNameData.name, t2.serverPath));
|
|
210
|
-
}, multiStorage(e2,
|
|
211
|
-
const
|
|
225
|
+
}, multiStorage(e2, t2) {
|
|
226
|
+
const i2 = n(e2, this.isSql);
|
|
212
227
|
if (e2.childAnnexDataTableCode) {
|
|
213
|
-
let
|
|
214
|
-
|
|
215
|
-
const a2 = this.responseFileToFileObj(e2,
|
|
216
|
-
|
|
228
|
+
let l2 = this.row[this.column.prop];
|
|
229
|
+
l2 || (l2 = []);
|
|
230
|
+
const a2 = this.responseFileToFileObj(e2, t2);
|
|
231
|
+
l2.push(a2), this.fileList = r(e2, i2, l2, null), this.setCellValue(this.column.prop, l2, "input");
|
|
217
232
|
} else {
|
|
218
|
-
let
|
|
233
|
+
let l2 = "", a2 = "";
|
|
219
234
|
if (e2.showNameData) {
|
|
220
235
|
if (this.isSql) {
|
|
221
236
|
if (e2.showNameData.dbName && this.row) {
|
|
222
237
|
if (this.row[e2.showNameData.dbName]) {
|
|
223
|
-
let
|
|
224
|
-
|
|
238
|
+
let i3 = this.row[e2.showNameData.dbName];
|
|
239
|
+
i3 += "," + t2.name, this.setCellValue(e2.showNameData.dbName, i3, "input");
|
|
225
240
|
} else
|
|
226
|
-
this.setCellValue(e2.showNameData.dbName,
|
|
227
|
-
|
|
241
|
+
this.setCellValue(e2.showNameData.dbName, t2.name, "input");
|
|
242
|
+
l2 = this.row[e2.showNameData.dbName];
|
|
228
243
|
}
|
|
229
244
|
} else if (e2.showNameData.name && this.row) {
|
|
230
245
|
if (this.row[e2.showNameData.name]) {
|
|
231
|
-
let
|
|
232
|
-
|
|
246
|
+
let i3 = this.row[e2.showNameData.name];
|
|
247
|
+
i3 += "," + t2.name, this.setCellValue(e2.showNameData.name, i3, "input");
|
|
233
248
|
} else
|
|
234
|
-
this.setCellValue(e2.showNameData.name,
|
|
235
|
-
|
|
249
|
+
this.setCellValue(e2.showNameData.name, t2.name, "input");
|
|
250
|
+
l2 = this.row[e2.showNameData.name];
|
|
236
251
|
}
|
|
237
252
|
}
|
|
238
253
|
if (e2.serverNameData) {
|
|
239
254
|
if (this.isSql) {
|
|
240
255
|
if (e2.serverNameData.dbName && this.row) {
|
|
241
256
|
if (this.row[e2.serverNameData.dbName]) {
|
|
242
|
-
let
|
|
243
|
-
|
|
257
|
+
let i3 = this.row[e2.serverNameData.dbName];
|
|
258
|
+
i3 += "," + t2.serverPath, this.setCellValue(e2.serverNameData.dbName, i3);
|
|
244
259
|
} else
|
|
245
|
-
this.setCellValue(e2.serverNameData.dbName,
|
|
260
|
+
this.setCellValue(e2.serverNameData.dbName, t2.serverPath);
|
|
246
261
|
a2 = this.row[e2.serverNameData.dbName];
|
|
247
262
|
}
|
|
248
263
|
} else if (e2.serverNameData.name && this.row) {
|
|
249
264
|
if (this.row[e2.serverNameData.name]) {
|
|
250
|
-
let
|
|
251
|
-
|
|
265
|
+
let i3 = this.row[e2.serverNameData.name];
|
|
266
|
+
i3 += "," + t2.serverPath, this.setCellValue(e2.serverNameData.name, i3);
|
|
252
267
|
} else
|
|
253
|
-
this.setCellValue(e2.serverNameData.name,
|
|
268
|
+
this.setCellValue(e2.serverNameData.name, t2.serverPath);
|
|
254
269
|
a2 = this.row[e2.serverNameData.name];
|
|
255
270
|
}
|
|
256
271
|
}
|
|
257
|
-
this.fileList =
|
|
272
|
+
this.fileList = r(e2, i2, null, { showName: l2, serverPath: a2 });
|
|
258
273
|
}
|
|
259
|
-
}, multiStorageMobile(e2,
|
|
260
|
-
const
|
|
274
|
+
}, multiStorageMobile(e2, t2) {
|
|
275
|
+
const i2 = n(e2, this.isSql);
|
|
261
276
|
if (e2.childAnnexDataTableCode) {
|
|
262
|
-
let
|
|
263
|
-
|
|
264
|
-
const i3 = this.responseFileToFileObj(e2,
|
|
265
|
-
|
|
266
|
-
}), this.fileList =
|
|
277
|
+
let l2 = this.row[this.column.prop];
|
|
278
|
+
l2 || (l2 = []), t2.forEach((t3) => {
|
|
279
|
+
const i3 = this.responseFileToFileObj(e2, t3);
|
|
280
|
+
l2.push(i3);
|
|
281
|
+
}), this.fileList = r(e2, i2, l2, null), this.setCellValue(this.column.prop, l2, "input");
|
|
267
282
|
} else {
|
|
268
|
-
let
|
|
283
|
+
let l2 = "", a2 = "";
|
|
269
284
|
if (e2.showNameData) {
|
|
270
285
|
if (this.isSql) {
|
|
271
286
|
if (e2.showNameData.dbName && this.row) {
|
|
272
|
-
let
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}),
|
|
287
|
+
let i3 = "";
|
|
288
|
+
t2.forEach((e3) => {
|
|
289
|
+
i3 = i3 + e3.name + ",";
|
|
290
|
+
}), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.showNameData.dbName, i3, "input"), l2 = this.row[e2.showNameData.dbName];
|
|
276
291
|
}
|
|
277
292
|
} else if (e2.showNameData.name && this.row) {
|
|
278
|
-
let
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
}),
|
|
293
|
+
let i3 = "";
|
|
294
|
+
t2.forEach((e3) => {
|
|
295
|
+
i3 = i3 + e3.name + ",";
|
|
296
|
+
}), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.showNameData.name, i3, "input"), l2 = this.row[e2.showNameData.name];
|
|
282
297
|
}
|
|
283
298
|
}
|
|
284
299
|
if (e2.serverNameData) {
|
|
285
300
|
if (this.isSql) {
|
|
286
301
|
if (e2.serverNameData.dbName && this.row) {
|
|
287
|
-
let
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}),
|
|
302
|
+
let i3 = "";
|
|
303
|
+
t2.forEach((e3) => {
|
|
304
|
+
i3 = i3 + e3.serverPath + ",";
|
|
305
|
+
}), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.serverNameData.dbName, i3, "input"), a2 = this.row[e2.serverNameData.dbName];
|
|
291
306
|
}
|
|
292
307
|
} else if (e2.serverNameData.name && this.row) {
|
|
293
|
-
let
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
}),
|
|
308
|
+
let i3 = "";
|
|
309
|
+
t2.forEach((e3) => {
|
|
310
|
+
i3 = i3 + e3.serverPath + ",";
|
|
311
|
+
}), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.serverNameData.name, i3, "input"), a2 = this.row[e2.serverNameData.name];
|
|
297
312
|
}
|
|
298
313
|
}
|
|
299
|
-
this.fileList =
|
|
314
|
+
this.fileList = r(e2, i2, null, { showName: l2, serverPath: a2 });
|
|
300
315
|
}
|
|
301
316
|
}, responseFileToFileObj(e2, t2) {
|
|
302
317
|
const i2 = {};
|
|
303
318
|
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
319
|
}, deleteAnnexFile(e2) {
|
|
305
320
|
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,
|
|
307
|
-
if (JSON.stringify(e2), this.fileList = e2, void 0 !==
|
|
321
|
+
}, deleteFile(e2, t2) {
|
|
322
|
+
if (JSON.stringify(e2), this.fileList = e2, void 0 !== t2 && -1 !== t2 && this.fileList.splice(t2, 1), JSON.stringify(this.fileList), this.column.fileSet && "" !== this.column.fileSet) {
|
|
308
323
|
const e3 = JSON.parse(this.column.fileSet);
|
|
309
324
|
if (e3)
|
|
310
325
|
if (this.fileMultiple) {
|
|
311
|
-
const
|
|
312
|
-
this.standardToOtherFiles(e3,
|
|
326
|
+
const t3 = n(e3, this.isSql);
|
|
327
|
+
this.standardToOtherFiles(e3, t3);
|
|
313
328
|
} else
|
|
314
329
|
this.deleteAnnexFile(e3);
|
|
315
330
|
}
|
|
@@ -340,42 +355,42 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
340
355
|
const t3 = "__";
|
|
341
356
|
e2 = this.tableName + t3 + e2;
|
|
342
357
|
}
|
|
343
|
-
|
|
358
|
+
c(this.row, e2, t2), e2 && e2 === this.column.prop && this.column && this.column.events && Object.keys(this.column.events).forEach((i2) => {
|
|
344
359
|
this.callCustomEventWithParam(i2, { value: t2, row: this.row, column: this.column, prop: e2 });
|
|
345
360
|
});
|
|
346
361
|
}, clearOrganizationInputEvent(e2) {
|
|
347
|
-
this.isSql ?
|
|
348
|
-
}, appendOrganizationInputEvent(e2, t2, i2,
|
|
349
|
-
|
|
362
|
+
this.isSql ? c(this.row, e2, "") : c(this.row, e2, null), e2 && e2 === this.column.prop && this.callCustomEventWithParam("clear", { row: this.row, column: this.column, prop: e2 });
|
|
363
|
+
}, appendOrganizationInputEvent(e2, t2, i2, l2, a2) {
|
|
364
|
+
c(this.row, e2, a2), e2 && e2 === this.column.prop && this.callCustomEventWithParam("append", { originalValue: t2, appendValue: i2, separator: l2, finallyValue: a2, row: this.row, column: this.column, prop: e2 });
|
|
350
365
|
}, replaceOrganizationInputEvent(e2, t2, i2) {
|
|
351
|
-
|
|
366
|
+
c(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
367
|
}, getDefaultValue(e2) {
|
|
353
368
|
if (this.isInvalidValue(e2)) {
|
|
354
|
-
if ("select" === this.column.componentType && !
|
|
369
|
+
if ("select" === this.column.componentType && !o(this.column) && this.column.valueSet) {
|
|
355
370
|
const e3 = this.column.valueSet.find((e4) => true === e4.selected);
|
|
356
371
|
if (e3)
|
|
357
|
-
return
|
|
372
|
+
return c(this.row, this.column.prop, e3.value), e3.value;
|
|
358
373
|
} else if ("inputNumber" === this.column.componentType) {
|
|
359
374
|
let e3 = 0;
|
|
360
375
|
if (this.column.valueSetOptions && "" !== this.column.valueSetOptions && "inputNumber" === this.column.componentType) {
|
|
361
376
|
let t2 = JSON.parse(this.column.valueSetOptions);
|
|
362
377
|
"string" == typeof t2 && (t2 = JSON.parse(t2)), t2.min && (e3 = t2.min);
|
|
363
378
|
}
|
|
364
|
-
return
|
|
379
|
+
return c(this.row, this.column.prop, e3), e3;
|
|
365
380
|
}
|
|
366
381
|
} else if ("inputNumber" === this.column.componentType) {
|
|
367
382
|
const t2 = Number(e2);
|
|
368
|
-
return
|
|
383
|
+
return c(this.row, this.column.prop, t2), t2;
|
|
369
384
|
}
|
|
370
385
|
return e2;
|
|
371
386
|
}, refresData(e2) {
|
|
372
|
-
|
|
387
|
+
b(this, "refresData", e2);
|
|
373
388
|
}, refresPortData(e2, t2) {
|
|
374
|
-
|
|
389
|
+
b(this, "refresPortData", e2, t2);
|
|
375
390
|
}, refresPortsData(e2) {
|
|
376
|
-
|
|
391
|
+
b(this, "refresPortsData", e2);
|
|
377
392
|
}, refresMainTableFields(e2) {
|
|
378
|
-
|
|
393
|
+
b(this, "refresMainTableFields", e2);
|
|
379
394
|
}, deleteSuccess(e2) {
|
|
380
395
|
this.callCustomEventWithParam("deleted", { value: e2, row: this.row, column: this.column, extendParams: this.extendParams }), this.fileInfo;
|
|
381
396
|
}, isValueFormat() {
|
|
@@ -383,7 +398,7 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
383
398
|
}, isFormat() {
|
|
384
399
|
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
400
|
}, fnProhibitToEdit(e2) {
|
|
386
|
-
|
|
401
|
+
S.$emit("prohibitToEdit", e2), b(this, "prohibitToEdit", e2);
|
|
387
402
|
}, setInputNumberConfig() {
|
|
388
403
|
if ("inputNumber" === this.column.componentType)
|
|
389
404
|
if (this.column.valueSetOptions && "" !== this.column.valueSetOptions && "inputNumber" === this.column.componentType) {
|
|
@@ -407,21 +422,21 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
407
422
|
this.isShowBrowserScan = true;
|
|
408
423
|
}, watchScanValueChange(e2) {
|
|
409
424
|
if (this.scanEnable && "input" === this.type) {
|
|
410
|
-
const t2 =
|
|
411
|
-
t2 &&
|
|
425
|
+
const t2 = T(e2, this.column._scanRuleSets);
|
|
426
|
+
t2 && V(this.row, t2.scanSet, t2.params);
|
|
412
427
|
}
|
|
413
428
|
}, closeBrowserScan(e2) {
|
|
414
429
|
this.isShowBrowserScan = false, this.innerValue = e2, this.blurEvent();
|
|
415
|
-
}, packageCustomRules(
|
|
416
|
-
if (!
|
|
430
|
+
}, packageCustomRules(t2) {
|
|
431
|
+
if (!t2)
|
|
417
432
|
return;
|
|
418
|
-
let
|
|
419
|
-
if (
|
|
420
|
-
const
|
|
421
|
-
if (
|
|
433
|
+
let i2 = true;
|
|
434
|
+
if (t2.beforeValidate) {
|
|
435
|
+
const l2 = e.get(this.listCode);
|
|
436
|
+
if (i2 = u(t2, l2, this.row, this.rowIndex), false === i2)
|
|
422
437
|
return;
|
|
423
438
|
}
|
|
424
|
-
void 0 !==
|
|
439
|
+
void 0 !== t2.disabled && this.$emit("change-disabled", t2.disabled), void 0 !== t2.required && this.$emit("change-required", t2.required);
|
|
425
440
|
}, doClickwithJumpPage(e2) {
|
|
426
441
|
let t2 = this.colConfigure.props.linkPage;
|
|
427
442
|
if (e2 && ("click" === e2 || "prefixClick" === e2 || "suffixClick" === e2) && t2 && t2.jumpPageUrl) {
|
|
@@ -440,13 +455,13 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
440
455
|
this.departmentInfo = e3 ? e3.split(",") : [];
|
|
441
456
|
});
|
|
442
457
|
} else
|
|
443
|
-
this.setLimitDepartmentInfo(), 0 === !this.controlConfig.deptScopeField.indexOf("${fixed.") &&
|
|
458
|
+
this.setLimitDepartmentInfo(), 0 === !this.controlConfig.deptScopeField.indexOf("${fixed.") && h(this, this.pageContext, this.controlConfig.deptScopeField, (e2, t2) => {
|
|
444
459
|
this.setLimitDepartmentInfo();
|
|
445
460
|
});
|
|
446
461
|
else
|
|
447
462
|
"depts" == this.controlConfig.deptScope && this.controlConfig.deptScopeCodes && (this.departmentInfo = this.controlConfig.deptScopeCodes.split(","));
|
|
448
463
|
}, setLimitDepartmentInfo() {
|
|
449
|
-
const e2 =
|
|
464
|
+
const e2 = f(this.controlConfig.deptScopeField, this.pageContext, this.row);
|
|
450
465
|
this.departmentInfo = e2 ? e2.split(",") : [];
|
|
451
466
|
}, onError(e2) {
|
|
452
467
|
if (console.error("Upload error:", e2), e2.message) {
|
|
@@ -456,10 +471,12 @@ const e = require("./store.js"), t = require("./utils.js"), i = require("../../d
|
|
|
456
471
|
this.$message({ type: "error", message: this.$t("fsUpload.uploadFailed"), showClose: true });
|
|
457
472
|
}, setExtendParams(e2) {
|
|
458
473
|
this.extendParams = e2;
|
|
459
|
-
} } },
|
|
460
|
-
const
|
|
474
|
+
} } }, J = { key: 1 }, R = { key: 1 }, W = { key: 1 }, Y = { key: 2 };
|
|
475
|
+
const _ = q(B, [["render", function(e2, t2, i2, l2, a2, o2) {
|
|
461
476
|
var _a;
|
|
462
|
-
const
|
|
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));
|
|
477
|
+
const s2 = x("el-date-picker"), n2 = x("el-time-picker"), r2 = x("el-input"), u2 = x("SuperIcon"), p2 = x("fs-upload-list"), m2 = x("multipart-upload"), d2 = x("GridRadioInput"), c2 = x("SelectInput"), h2 = x("el-input-number"), f2 = x("el-switch"), g2 = x("el-slider"), y2 = x("el-rate"), v2 = x("organization-input"), b2 = x("el-button"), S2 = x("el-upload"), w2 = x("el-dialog"), C2 = x("view-image-dialog"), T2 = x("scan-code-input-browser");
|
|
478
|
+
return i2.type && i2.type.indexOf("custom:") >= 0 && "" != a2.componentName ? (P(), I("div", { key: 0, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(P(), O(k(a2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": a2.gridData, "page-grid-data": a2.pageGridData, "additional-settings": a2.controlConfig, parent: a2.parentFormData, prop: i2.column.prop, "custom-params": a2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: a2.innerValue, "additional-param-map": a2.additionalParamMap, listCode: i2.listCode, "component-id": a2.componentId, "page-context": a2.pageContext, onChange: t2[0] || (t2[0] = (e3) => o2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => o2.cellEvent("input", e3)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 2)) : (P(), I("div", { key: 1, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (P(), O(s2, { key: 0, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (P(), O(s2, { key: 1, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (P(), O(s2, { key: 2, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (P(), O(s2, { key: 3, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (P(), O(n2, { key: 4, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => a2.innerValue = e3), disabled: i2.disabled, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (P(), O(s2, { key: 5, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (P(), O(s2, { key: 6, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== i2.type || "INTEGER" !== i2.column.dataType && "LONG" !== i2.column.dataType ? "input" === i2.type ? (P(), O(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, clearable: "", modelValue: a2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => a2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => o2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => o2.cellEvent("input", e3, true)) }, M({ _: 2 }, ["outer" != a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prefix", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", J, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "0" } : void 0, "outer" == a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prepend", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", R, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "1" } : void 0, "outer" != a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "suffix", fn: j(() => [a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", W, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "2" } : void 0, a2.isShowScanIcon || "outer" == a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "append", fn: j(() => [a2.isShowScanIcon ? (P(), O(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => o2.scanClick()) })) : U("", true), a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 1, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", Y, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (P(), O(r2, { key: 9, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => a2.innerValue = e3), disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: a2.designProperty.rows ? a2.designProperty.rows : 2, title: a2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => o2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (P(), O(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: a2.innerValue, "page-context": a2.pageContext, "list-code": i2.listCode, componentId: a2.componentId, onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess, onOnError: o2.onError }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess", "onOnError"])) : "multipartUpload" === i2.type ? (P(), O(m2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, value: a2.innerValue, type: "list", onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (P(), O(d2, { key: 12, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => a2.innerValue = e3), t2[61] || (t2[61] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: o2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (P(), O(c2, { key: 13, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => a2.innerValue = e3), t2[63] || (t2[63] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: a2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: a2.dynamicDataSourceCode, additionalParamMap: a2.additionalParamMap, isSql: i2.isSql, parentFormData: a2.parentFormData, tableName: a2.tableName, onCellEvent: o2.cellEvent, onExtendParams: o2.setExtendParams, onSetCellValue: o2.setCellValue, onSetCellValueWithProp: o2.setCellValueWithProp, onCallCustomEventWithParam: o2.callCustomEventWithParam }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "column", "type", "controlConfig", "listCode", "listToolbarFormData", "dynamicDataSourceCode", "additionalParamMap", "isSql", "parentFormData", "tableName", "onCellEvent", "onExtendParams", "onSetCellValue", "onSetCellValueWithProp", "onCallCustomEventWithParam"])) : "inputNumber" === i2.type ? (P(), O(h2, { key: 14, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => a2.innerValue = e3), "controls-position": a2.inputNumberSet.position, disabled: i2.disabled, max: 0 == a2.inputNumberSet.max ? 0 : a2.inputNumberSet.max ? a2.inputNumberSet.max : 1 / 0, min: 0 == a2.inputNumberSet.min ? 0 : a2.inputNumberSet.min ? a2.inputNumberSet.min : -1 / 0, precision: a2.inputNumberSet.precision, step: a2.inputNumberSet.step ? a2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (P(), O(f2, { key: 15, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => a2.innerValue = e3), "active-text": o2.getSwitchConfig("activeText"), "active-value": o2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": o2.getSwitchConfig("inactiveText"), "inactive-value": o2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => o2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (P(), O(g2, { key: 16, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => o2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (P(), O(y2, { key: 17, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => o2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : a2.deptManTree || a2.deptTree || a2.wgManTree || a2.wgTree ? (P(), O(v2, { key: 18, "check-strictly": a2.isCheckStrictly, "department-info": a2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = a2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: a2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: a2.isMultiTree, "table-name": a2.tableName, "tree-type": a2.deptManTree ? "DeptUserTree" : a2.deptTree ? "DeptTree" : a2.wgManTree ? "WgUserTree" : a2.wgTree ? "WgTree" : null, value: a2.innerValue, onAppend: o2.appendOrganizationInputEvent, onClear: o2.clearOrganizationInputEvent, onFocus: o2.showOrganizationTree, onReplace: o2.replaceOrganizationInputEvent, onSetValue: o2.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : U("", true) : (P(), O(r2, { key: 7, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => a2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => o2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), A(w2, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: a2.annexUploadFlag, width: "30%" }, { default: j(() => ["annex" === i2.type && a2.annexUploadFlag ? (P(), O(S2, { key: 0, accept: a2.fileSetObj && a2.fileSetObj.accept ? a2.fileSetObj.accept : null, action: a2.defaultAction, "before-upload": o2.handleBeforeUpload, headers: a2.headers, "on-success": o2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: j(() => [A(b2, null, { default: j(() => [L($(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : U("", true)]), _: 1 }, 8, ["title", "visible"]), a2.showSingleImgFlag ? (P(), O(C2, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": a2.fileList, onClose: t2[78] || (t2[78] = (e3) => a2.showSingleImgFlag = false), onDelete: o2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : U("", true), a2.isShowBrowserScan ? (P(), O(T2, { key: 20, onClose: o2.closeBrowserScan }, null, 8, ["onClose"])) : U("", true)], 2));
|
|
464
479
|
}]]);
|
|
465
|
-
|
|
480
|
+
export {
|
|
481
|
+
_ as default
|
|
482
|
+
};
|