agilebuilder-ui 1.1.65-tmp14 → 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/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/favicon.svg +0 -29
- 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/style.css +0 -3077
- 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
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import o from "./search-methods.js";
|
|
3
|
+
import l from "./search-form-number.vue.js";
|
|
4
|
+
import t from "./store.js";
|
|
5
|
+
import a from "./search-condition-input.vue.js";
|
|
6
|
+
import r from "./search-condition-list.vue.js";
|
|
7
|
+
import { getControlConfig as n, getDynamicDataSourceOptions as i, isDynamicDataSourceSource as s } from "./utils.js";
|
|
8
|
+
import { CirclePlus as u, Remove as d } from "@element-plus/icons-vue";
|
|
9
|
+
import { resolveComponent as c, openBlock as m, createElementBlock as p, createVNode as h, withCtx as b, Fragment as w, renderList as T, createBlock as f, createSlots as y, normalizeStyle as I, resolveDynamicComponent as v, withKeys as U, createCommentVNode as g } from "vue";
|
|
10
|
+
import "./search-form-advancedQuery.vue2.js";
|
|
11
|
+
import x from "../../_virtual/_plugin-vue_export-helper.js";
|
|
12
|
+
const M = { components: { searchFormNumber: l, SearchConditionInput: a, SearchConditionList: r, CirclePlus: u, Remove: d }, name: "SearchForm", props: { searchableColumns: { type: Array, default: null }, searchFormList: { type: Array, default: null }, propMap: { type: Object, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: false } }, data() {
|
|
5
13
|
const e2 = t.get(this.code);
|
|
6
14
|
let o2, l2;
|
|
7
15
|
e2 && e2.basicInfo && e2.basicInfo.tableName && (o2 = e2.basicInfo.tableName), e2 && e2.basicInfo && e2.basicInfo.hasJoinTable && (l2 = e2.basicInfo.hasJoinTable);
|
|
8
|
-
return { customComponentNames: /* @__PURE__ */ new Set(), currentRow: null, formFlag: true, operationArr: [], tableName: o2, isJoinTable: l2, controlConfig: n
|
|
16
|
+
return { customComponentNames: /* @__PURE__ */ new Set(), currentRow: null, formFlag: true, operationArr: [], tableName: o2, isJoinTable: l2, controlConfig: n(this.column) };
|
|
9
17
|
}, computed: {}, watch: { searchableColumns: { deep: true, handler(e2, o2) {
|
|
10
18
|
this.searchableColumns = e2, this.refreshOperators(), this.formFlag = false, this.$nextTick(() => {
|
|
11
19
|
this.formFlag = true;
|
|
@@ -15,8 +23,8 @@ const u = require("../../_virtual/_plugin-vue_export-helper.js"), c = { componen
|
|
|
15
23
|
}, methods: { ...o, getDynamicDataSourceOptions(e2) {
|
|
16
24
|
const o2 = t.get(this.code);
|
|
17
25
|
let l2 = o2.options.backendUrl;
|
|
18
|
-
return l2 || (l2 = window.$vueApp.config.globalProperties.baseURL),
|
|
19
|
-
}, isDynamicDataSourceSource: (e2) =>
|
|
26
|
+
return l2 || (l2 = window.$vueApp.config.globalProperties.baseURL), i(e2, this.isSql, o2.additionalParamMap, l2);
|
|
27
|
+
}, isDynamicDataSourceSource: (e2) => s(e2), refreshOperators() {
|
|
20
28
|
if (this.searchableColumns && this.searchableColumns.length > 0)
|
|
21
29
|
for (var e2 = 0; e2 < this.searchableColumns.length; e2++) {
|
|
22
30
|
const o2 = this.searchableColumns[e2].prop, l2 = this.propMap[o2];
|
|
@@ -83,7 +91,7 @@ const u = require("../../_virtual/_plugin-vue_export-helper.js"), c = { componen
|
|
|
83
91
|
if (this.customComponentNames && this.customComponentNames.length > 0)
|
|
84
92
|
for (const e2 of this.customComponentNames)
|
|
85
93
|
this.$refs[e2][0].resetField();
|
|
86
|
-
e
|
|
94
|
+
e(this, "resetForm"), this.add();
|
|
87
95
|
}, setNumberValue(e2, o2, l2) {
|
|
88
96
|
this.currentRow && (this.currentRow.value = e2);
|
|
89
97
|
}, add() {
|
|
@@ -98,9 +106,11 @@ const u = require("../../_virtual/_plugin-vue_export-helper.js"), c = { componen
|
|
|
98
106
|
}
|
|
99
107
|
}, getOperators(e2) {
|
|
100
108
|
return e2 ? "INTEGER" === e2.dataType || "LONG" === e2.dataType || "DOUBLE" === e2.dataType || "FLOAT" === e2.dataType ? [{ name: "GT", label: this.$t("imatrixUIPublicModel.greaterThan") }, { name: "LT", label: this.$t("imatrixUIPublicModel.lessThan") }, { name: "EQ", label: this.$t("imatrixUIPublicModel.beEqualTo") }, { name: "LET", label: this.$t("imatrixUIPublicModel.notGreaterThan") }, { name: "GET", label: this.$t("imatrixUIPublicModel.notLessThan") }, { name: "NET", label: this.$t("imatrixUIPublicModel.notEqualTo") }, { name: "IS_NULL", label: this.$t("imatrixUIPublicModel.isNull") }, { name: "IS_NOT_NULL", label: this.$t("imatrixUIPublicModel.isNotNull") }] : "DATE" === e2.dataType || "TIME" === e2.dataType ? [{ name: "GT", label: this.$t("imatrixUIPublicModel.laterThan") }, { name: "LT", label: this.$t("imatrixUIPublicModel.earlierThan") }, { name: "EQ", label: this.$t("imatrixUIPublicModel.beEqualTo") }, { name: "LET", label: this.$t("imatrixUIPublicModel.noLaterThan") }, { name: "GET", label: this.$t("imatrixUIPublicModel.noEarlierThan") }, { name: "IS_NULL", label: this.$t("imatrixUIPublicModel.isNull") }, { name: "IS_NOT_NULL", label: this.$t("imatrixUIPublicModel.isNotNull") }] : "TEXT" === e2.dataType ? [{ name: "EQ", label: this.$t("imatrixUIPublicModel.beEqualTo") }, { name: "NET", label: this.$t("imatrixUIPublicModel.notEqualTo") }, { name: "CONTAIN", label: this.$t("imatrixUIPublicModel.contain") }, { name: "NOT_CONTAIN", label: this.$t("imatrixUIPublicModel.notIncluded") }, { name: "IS_NULL", label: this.$t("imatrixUIPublicModel.isNull") }, { name: "IS_NOT_NULL", label: this.$t("imatrixUIPublicModel.isNotNull") }] : [{ name: "EQ", label: this.$t("imatrixUIPublicModel.beEqualTo") }, { name: "NET", label: this.$t("imatrixUIPublicModel.notEqualTo") }, { name: "IS_NULL", label: this.$t("imatrixUIPublicModel.isNull") }, { name: "IS_NOT_NULL", label: this.$t("imatrixUIPublicModel.isNotNull") }] : [{ name: "EQ", label: this.$t("imatrixUIPublicModel.beEqualTo") }, { name: "NET", label: this.$t("imatrixUIPublicModel.notEqualTo") }, { name: "IS_NULL", label: this.$t("imatrixUIPublicModel.isNull") }, { name: "IS_NOT_NULL", label: this.$t("imatrixUIPublicModel.isNotNull") }];
|
|
101
|
-
} }, emits: ["resetForm"] },
|
|
102
|
-
const
|
|
103
|
-
const n2 =
|
|
104
|
-
return a2.formFlag ? (s.openBlock(), s.createElementBlock("div", d, [s.createVNode(x, { ref: "table", data: l2.searchFormList, "row-class-name": r2.tableRowClassName, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: r2.handleCurrentChange }, { default: s.withCtx(() => [s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "left", width: "80" }, { default: s.withCtx((e3) => [s.createVNode(i2, { onClick: r2.add }, { default: s.withCtx(() => [s.createVNode(n2)]), _: 1 }, 8, ["onClick"]), s.createVNode(i2, { onClick: (o3) => r2.remove(e3.$index) }, { default: s.withCtx(() => [s.createVNode(u2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: "(", prop: "leftBracket", width: "90" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (o3) => e3.row.leftBracket = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: "", value: "" }), s.createVNode(p2, { label: "(", value: "(" }), s.createVNode(p2, { label: "((", value: "((" }), s.createVNode(p2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.fieldName"), width: "200" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.prop, "onUpdate:modelValue": (o3) => e3.row.prop = o3, clearable: "", filterable: "", size: "default", onChange: (o3) => r2.changeFieldName(e3.$index), onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(l2.searchableColumns, (e4) => (s.openBlock(), s.createBlock(p2, { key: e4.prop, label: e4.label, value: e4.prop }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "onFocus"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.operator"), width: "110" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.operator, "onUpdate:modelValue": (o3) => e3.row.operator = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(a2.operationArr[e3.$index], (e4) => (s.openBlock(), s.createBlock(p2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.value") }, s.createSlots({ _: 2 }, [e2.scope.row.prop ? { name: "default", fn: s.withCtx((t3) => ["DATE" === t3.row.dataType || "date" === t3.row.componentType ? (s.openBlock(), s.createBlock(w, { key: 0, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", type: "daterange", "unlink-panels": "", "value-format": "YYYY-MM-DD", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "dateTimePicker" === t3.row.componentType ? (s.openBlock(), s.createBlock(w, { key: 1, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", type: "datetimerange", "unlink-panels": "", "value-format": "YYYY-MM-DD HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "TIME" === t3.row.dataType && "timepicker" === t3.row.componentType ? (s.openBlock(), s.createBlock(w, { key: 2, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", type: "datetimerange", "unlink-panels": "", "value-format": "HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "timepicker" === t3.row.componentType && "TIME" !== t3.row.dataType && "DATE" !== t3.row.dataType ? (s.openBlock(), s.createBlock(b, { key: 3, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.selectTime"), size: "default", style: { width: "100%" }, type: "fixed-time", "value-format": "HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus", "onInput"])) : r2.componentTypeTypeIsTree(t3.row.componentType) ? (s.openBlock(), s.createBlock(T, { key: 4, value: t3.row.value, "onUpdate:value": (e3) => t3.row.value = e3, fields: r2.getTreeFields(t3.row.orgTreeSet), models: e2.searchForm, multiple: r2.getTreeIsMultiTree(t3.row.componentType), size: e2.default, "tree-type": r2.getTreeType(t3.row.componentType), onClear: r2.clearOrganizationInputEvent, onFocus: (e3) => r2.selectRow(t3.row), onSetValue: r2.organizationInputEvent }, null, 8, ["value", "onUpdate:value", "fields", "models", "multiple", "size", "tree-type", "onClear", "onFocus", "onSetValue"])) : (t3.row.componentType && "select" === t3.row.componentType || "BOOLEAN" === t3.row.dataType) && !r2.isDynamicDataSourceSource(t3.row) ? (s.openBlock(), s.createBlock(h, { key: 5, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: s.normalizeStyle(t3.row.searchControlWidth), clearable: "", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(t3.row.valueSet, (e3) => (s.openBlock(), s.createBlock(p2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "style", "onFocus", "onInput"])) : t3.row.componentType && "multiselect" === t3.row.componentType && !r2.isDynamicDataSourceSource(t3.row) ? (s.openBlock(), s.createBlock(h, { key: 6, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: s.normalizeStyle(t3.row.searchControlWidth), clearable: "", "collapse-tags": "", multiple: "", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(t3.row.valueSet, (e3) => (s.openBlock(), s.createBlock(p2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "style", "onFocus", "onInput"])) : t3.row.componentType && ("multiselect" === t3.row.componentType || "select" === t3.row.componentType) && r2.isDynamicDataSourceSource(t3.row) ? (s.openBlock(), s.createBlock(y, { key: 7, "base-props": { multiple: "multiselect" === t3.row.componentType }, entity: t3.row, "is-join-table": a2.isJoinTable, "list-code": l2.code, options: r2.getDynamicDataSourceOptions(t3.row), "table-name": a2.tableName, value: t3.row.value, onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["base-props", "entity", "is-join-table", "list-code", "options", "table-name", "value", "onInput"])) : t3.row.componentType && "inputNumber" === t3.row.componentType ? (s.openBlock(), s.createBlock(v, { key: 8, n: e2.n, r: e2.r, size: "default", onFocus: (e3) => r2.selectRow(t3.row), onSetValue: r2.setNumberValue }, null, 8, ["n", "r", "onFocus", "onSetValue"])) : t3.row.componentType && "switch" === t3.row.componentType ? (s.openBlock(), s.createBlock(f, { key: 9, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : t3.row.componentType && "slider" === t3.row.componentType ? (s.openBlock(), s.createBlock(V, { key: 10, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : t3.row.componentType && "rate" === t3.row.componentType ? (s.openBlock(), s.createBlock(I, { key: 11, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : true === r2.customComponent(t3.row.prop) ? (s.openBlock(), s.createElementBlock("span", m, [(s.openBlock(), s.createBlock(s.resolveDynamicComponent(t3.row.componentName), { ref: t3.row.componentName, value: t3.row.value, "onUpdate:value": (e3) => t3.row.value = e3, prop: t3.row.prop, row: t3.row, "additional-settings": a2.controlConfig, class: "customComponent", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3, t3.row.componentName) }, null, 40, ["value", "onUpdate:value", "prop", "row", "additional-settings", "onFocus", "onInput"]))])) : (s.openBlock(), s.createBlock(N, { key: 13, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3), onKeyup: o2[0] || (o2[0] = s.withKeys((o3) => e2.submitForm("searchForm"), ["enter"])) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"]))]), key: "0" } : void 0]), 1032, ["label"]), s.createVNode(c2, { label: ")", prop: "rightBracket", width: "90" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (o3) => e3.row.rightBracket = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: "", value: "" }), s.createVNode(p2, { label: ")", value: ")" }), s.createVNode(p2, { label: "))", value: "))" }), s.createVNode(p2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: s.withCtx((o3) => [s.createVNode(h, { modelValue: o3.row.joinSign, "onUpdate:modelValue": (e3) => o3.row.joinSign = e3, clearable: "", size: "default", onFocus: (e3) => r2.selectRow(o3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.perhaps"), value: "or" }, null, 8, ["label"]), s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.also"), value: "and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.whenTheVariableIsEmpty"), width: "110" }, { default: s.withCtx((o3) => [s.createVNode(h, { modelValue: o3.row.variableIsNull, "onUpdate:modelValue": (e3) => o3.row.variableIsNull = e3, clearable: "", size: "default", onFocus: (e3) => r2.selectRow(o3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: "Null", value: "null" }), s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.ignore11"), value: "1=1" }, null, 8, ["label"]), s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.nonConformity"), value: "1<>1" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "row-class-name", "onCurrentChange"])])) : s.createCommentVNode("", true);
|
|
109
|
+
} }, emits: ["resetForm"] }, V = { key: 0 }, N = { key: 12, style: { width: "100%" } };
|
|
110
|
+
const F = x(M, [["render", function(e2, o2, l2, t2, a2, r2) {
|
|
111
|
+
const n2 = c("CirclePlus"), i2 = c("el-icon"), s2 = c("Remove"), u2 = c("el-table-column"), d2 = c("el-option"), x2 = c("el-select"), M2 = c("el-date-picker"), F2 = c("el-time-picker"), $ = c("organization-input"), P = c("dynamic-source-select"), C = c("search-form-number"), L = c("el-switch"), S = c("el-slider"), R = c("el-rate"), k = c("el-input"), E = c("el-table");
|
|
112
|
+
return a2.formFlag ? (m(), p("div", V, [h(E, { ref: "table", data: l2.searchFormList, "row-class-name": r2.tableRowClassName, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: r2.handleCurrentChange }, { default: b(() => [h(u2, { label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "left", width: "80" }, { default: b((e3) => [h(i2, { onClick: r2.add }, { default: b(() => [h(n2)]), _: 1 }, 8, ["onClick"]), h(i2, { onClick: (o3) => r2.remove(e3.$index) }, { default: b(() => [h(s2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"]), h(u2, { label: "(", prop: "leftBracket", width: "90" }, { default: b((e3) => [h(x2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (o3) => e3.row.leftBracket = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: b(() => [h(d2, { label: "", value: "" }), h(d2, { label: "(", value: "(" }), h(d2, { label: "((", value: "((" }), h(d2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), h(u2, { label: e2.$t("imatrixUIPublicModel.fieldName"), width: "200" }, { default: b((e3) => [h(x2, { modelValue: e3.row.prop, "onUpdate:modelValue": (o3) => e3.row.prop = o3, clearable: "", filterable: "", size: "default", onChange: (o3) => r2.changeFieldName(e3.$index), onFocus: (o3) => r2.selectRow(e3.row) }, { default: b(() => [(m(true), p(w, null, T(l2.searchableColumns, (e4) => (m(), f(d2, { key: e4.prop, label: e4.label, value: e4.prop }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "onFocus"])]), _: 1 }, 8, ["label"]), h(u2, { label: e2.$t("imatrixUIPublicModel.operator"), width: "110" }, { default: b((e3) => [h(x2, { modelValue: e3.row.operator, "onUpdate:modelValue": (o3) => e3.row.operator = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: b(() => [(m(true), p(w, null, T(a2.operationArr[e3.$index], (e4) => (m(), f(d2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), h(u2, { label: e2.$t("imatrixUIPublicModel.value") }, y({ _: 2 }, [e2.scope.row.prop ? { name: "default", fn: b((t3) => ["DATE" === t3.row.dataType || "date" === t3.row.componentType ? (m(), f(M2, { key: 0, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: I(t3.row.searchControlWidth), size: "default", type: "daterange", "unlink-panels": "", "value-format": "YYYY-MM-DD", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "dateTimePicker" === t3.row.componentType ? (m(), f(M2, { key: 1, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: I(t3.row.searchControlWidth), size: "default", type: "datetimerange", "unlink-panels": "", "value-format": "YYYY-MM-DD HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "TIME" === t3.row.dataType && "timepicker" === t3.row.componentType ? (m(), f(M2, { key: 2, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: I(t3.row.searchControlWidth), size: "default", type: "datetimerange", "unlink-panels": "", "value-format": "HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "timepicker" === t3.row.componentType && "TIME" !== t3.row.dataType && "DATE" !== t3.row.dataType ? (m(), f(F2, { key: 3, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.selectTime"), size: "default", style: { width: "100%" }, type: "fixed-time", "value-format": "HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus", "onInput"])) : r2.componentTypeTypeIsTree(t3.row.componentType) ? (m(), f($, { key: 4, value: t3.row.value, "onUpdate:value": (e3) => t3.row.value = e3, fields: r2.getTreeFields(t3.row.orgTreeSet), models: e2.searchForm, multiple: r2.getTreeIsMultiTree(t3.row.componentType), size: e2.default, "tree-type": r2.getTreeType(t3.row.componentType), onClear: r2.clearOrganizationInputEvent, onFocus: (e3) => r2.selectRow(t3.row), onSetValue: r2.organizationInputEvent }, null, 8, ["value", "onUpdate:value", "fields", "models", "multiple", "size", "tree-type", "onClear", "onFocus", "onSetValue"])) : (t3.row.componentType && "select" === t3.row.componentType || "BOOLEAN" === t3.row.dataType) && !r2.isDynamicDataSourceSource(t3.row) ? (m(), f(x2, { key: 5, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: I(t3.row.searchControlWidth), clearable: "", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, { default: b(() => [(m(true), p(w, null, T(t3.row.valueSet, (e3) => (m(), f(d2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "style", "onFocus", "onInput"])) : t3.row.componentType && "multiselect" === t3.row.componentType && !r2.isDynamicDataSourceSource(t3.row) ? (m(), f(x2, { key: 6, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: I(t3.row.searchControlWidth), clearable: "", "collapse-tags": "", multiple: "", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, { default: b(() => [(m(true), p(w, null, T(t3.row.valueSet, (e3) => (m(), f(d2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "style", "onFocus", "onInput"])) : t3.row.componentType && ("multiselect" === t3.row.componentType || "select" === t3.row.componentType) && r2.isDynamicDataSourceSource(t3.row) ? (m(), f(P, { key: 7, "base-props": { multiple: "multiselect" === t3.row.componentType }, entity: t3.row, "is-join-table": a2.isJoinTable, "list-code": l2.code, options: r2.getDynamicDataSourceOptions(t3.row), "table-name": a2.tableName, value: t3.row.value, onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["base-props", "entity", "is-join-table", "list-code", "options", "table-name", "value", "onInput"])) : t3.row.componentType && "inputNumber" === t3.row.componentType ? (m(), f(C, { key: 8, n: e2.n, r: e2.r, size: "default", onFocus: (e3) => r2.selectRow(t3.row), onSetValue: r2.setNumberValue }, null, 8, ["n", "r", "onFocus", "onSetValue"])) : t3.row.componentType && "switch" === t3.row.componentType ? (m(), f(L, { key: 9, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: I(t3.row.searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : t3.row.componentType && "slider" === t3.row.componentType ? (m(), f(S, { key: 10, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: I(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : t3.row.componentType && "rate" === t3.row.componentType ? (m(), f(R, { key: 11, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: I(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : true === r2.customComponent(t3.row.prop) ? (m(), p("span", N, [(m(), f(v(t3.row.componentName), { ref: t3.row.componentName, value: t3.row.value, "onUpdate:value": (e3) => t3.row.value = e3, prop: t3.row.prop, row: t3.row, "additional-settings": a2.controlConfig, class: "customComponent", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3, t3.row.componentName) }, null, 40, ["value", "onUpdate:value", "prop", "row", "additional-settings", "onFocus", "onInput"]))])) : (m(), f(k, { key: 13, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: I(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3), onKeyup: o2[0] || (o2[0] = U((o3) => e2.submitForm("searchForm"), ["enter"])) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"]))]), key: "0" } : void 0]), 1032, ["label"]), h(u2, { label: ")", prop: "rightBracket", width: "90" }, { default: b((e3) => [h(x2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (o3) => e3.row.rightBracket = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: b(() => [h(d2, { label: "", value: "" }), h(d2, { label: ")", value: ")" }), h(d2, { label: "))", value: "))" }), h(d2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), h(u2, { label: e2.$t("imatrixUIPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: b((o3) => [h(x2, { modelValue: o3.row.joinSign, "onUpdate:modelValue": (e3) => o3.row.joinSign = e3, clearable: "", size: "default", onFocus: (e3) => r2.selectRow(o3.row) }, { default: b(() => [h(d2, { label: e2.$t("imatrixUIPublicModel.perhaps"), value: "or" }, null, 8, ["label"]), h(d2, { label: e2.$t("imatrixUIPublicModel.also"), value: "and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), h(u2, { label: e2.$t("imatrixUIPublicModel.whenTheVariableIsEmpty"), width: "110" }, { default: b((o3) => [h(x2, { modelValue: o3.row.variableIsNull, "onUpdate:modelValue": (e3) => o3.row.variableIsNull = e3, clearable: "", size: "default", onFocus: (e3) => r2.selectRow(o3.row) }, { default: b(() => [h(d2, { label: "Null", value: "null" }), h(d2, { label: e2.$t("imatrixUIPublicModel.ignore11"), value: "1=1" }, null, 8, ["label"]), h(d2, { label: e2.$t("imatrixUIPublicModel.nonConformity"), value: "1<>1" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "row-class-name", "onCurrentChange"])])) : g("", true);
|
|
105
113
|
}], ["__scopeId", "data-v-0b145154"]]);
|
|
106
|
-
|
|
114
|
+
export {
|
|
115
|
+
F as default
|
|
116
|
+
};
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import r from "./search-form.vue.js";
|
|
3
|
+
import { resolveComponent as t, openBlock as a, createBlock as o, withCtx as l, createVNode as s } from "vue";
|
|
4
|
+
import n from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const c = n({ name: "SearchFormDialog", components: { SearchForm: r }, props: { columns: { type: Array, default: null }, code: { type: String, default: null }, url: { type: String, default: null }, pagination: { type: Object, default: null }, query: { type: Object, default: null }, searchParam: { type: Object, default: null }, initSearchProps: { type: Array, default: null } }, data: () => ({}), computed: {}, created() {
|
|
3
6
|
}, methods: { doSearch(r2) {
|
|
4
|
-
e
|
|
7
|
+
e(this, "search", r2);
|
|
5
8
|
}, resetSearch() {
|
|
6
|
-
e
|
|
7
|
-
} }, emits: ["close", "search", "reset"] }
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
return t.openBlock(), t.createBlock(c, { "show-close": true, "append-to-body": true, title: "查询条件", "model-value": "", onClose: r2[0] || (r2[0] = (r3) => e2.$emit("close")) }, { default: t.withCtx(() => [t.createVNode(s, { ref: "sf", columns: o2.columns, code: o2.code, url: o2.url, pagination: o2.pagination, query: o2.query, "search-param": o2.searchParam, "init-search-props": o2.initSearchProps, onSearch: n.doSearch, onReset: n.resetSearch }, null, 8, ["columns", "code", "url", "pagination", "query", "search-param", "init-search-props", "onSearch", "onReset"])]), _: 1 });
|
|
9
|
+
e(this, "reset");
|
|
10
|
+
} }, emits: ["close", "search", "reset"] }, [["render", function(e2, r2, n2, c2, u, i) {
|
|
11
|
+
const p = t("search-form"), m = t("el-dialog");
|
|
12
|
+
return a(), o(m, { "show-close": true, "append-to-body": true, title: "查询条件", "model-value": "", onClose: r2[0] || (r2[0] = (r3) => e2.$emit("close")) }, { default: l(() => [s(p, { ref: "sf", columns: n2.columns, code: n2.code, url: n2.url, pagination: n2.pagination, query: n2.query, "search-param": n2.searchParam, "init-search-props": n2.initSearchProps, onSearch: i.doSearch, onReset: i.resetSearch }, null, 8, ["columns", "code", "url", "pagination", "query", "search-param", "init-search-props", "onSearch", "onReset"])]), _: 1 });
|
|
11
13
|
}]]);
|
|
12
|
-
|
|
14
|
+
export {
|
|
15
|
+
c as default
|
|
16
|
+
};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import o from "./search-methods.js";
|
|
3
|
+
import t from "./search-form-number.vue.js";
|
|
4
|
+
import l from "./store.js";
|
|
5
|
+
import { getControlConfig as a, getDynamicDataSourceOptions as n, isDynamicDataSourceSource as r } from "./utils.js";
|
|
6
|
+
import { watchPageContextDynamicVariable as m, getPropValueNew as u } from "../../src/utils/util.js";
|
|
7
|
+
import { resolveComponent as p, openBlock as c, createBlock as i, withCtx as s, createElementVNode as d, createElementBlock as h, resolveDynamicComponent as y, createVNode as g, normalizeStyle as f, createSlots as T, Fragment as V, renderList as b, createTextVNode as C, toDisplayString as v, withKeys as S, createCommentVNode as F } from "vue";
|
|
8
|
+
import "./search-form-item.vue2.js";
|
|
9
|
+
import M from "../../_virtual/_plugin-vue_export-helper.js";
|
|
10
|
+
const k = { name: "SearchFormItem", components: { searchFormNumber: t }, inject: ["getListToolbarFormData"], props: { column: { type: Object, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: false }, tableName: { type: String, default: null }, isJoinTable: { type: Boolean, default: false }, searchForm: { type: Object, default: null }, index: { type: Number, default: 0 }, length: { type: Number, default: 0 }, loadCompleteQuery: { type: Boolean, default: false }, labelWidth: { type: [String, Number, void 0], default: void 0 } }, data() {
|
|
11
|
+
return { customComponentNames: /* @__PURE__ */ new Set(), dateOne: null, dataTwo: null, moduleConfig: {}, dateVal: this.getFormItemValue(this.column.prop), controlConfig: a(this.column), isShowEmtptyFlag: false, dataSourceOptions: {}, departmentInfo: null, checkEmptyValue: false };
|
|
6
12
|
}, computed: { listToolbarFormData() {
|
|
7
13
|
const e2 = this.getListToolbarFormData();
|
|
8
14
|
return e2 && e2.listToolbarFormData ? e2.listToolbarFormData : null;
|
|
@@ -17,12 +23,12 @@ const c = require("../../_virtual/_plugin-vue_export-helper.js"), m = { name: "S
|
|
|
17
23
|
const e2 = this.column.componentType;
|
|
18
24
|
e2 && ("multiselect" === e2 || "select" === e2) && this.isDynamicDataSourceSource(this.column) && (this.dataSourceOptions = this.getDynamicDataSourceOptions(this.column)), this.deptScopeLimit();
|
|
19
25
|
}, mounted() {
|
|
20
|
-
this.index + 1 === this.length && this.loadCompleteQuery && e
|
|
26
|
+
this.index + 1 === this.length && this.loadCompleteQuery && e(this, "submit-form");
|
|
21
27
|
}, methods: { ...o, getDynamicDataSourceOptions(e2) {
|
|
22
28
|
const o2 = l.get(this.code);
|
|
23
29
|
let t2 = o2.options.backendUrl;
|
|
24
|
-
return t2 || (t2 = window.$vueApp.config.globalProperties.baseURL), n
|
|
25
|
-
}, isDynamicDataSourceSource: (e2) =>
|
|
30
|
+
return t2 || (t2 = window.$vueApp.config.globalProperties.baseURL), n(e2, this.isSql, o2.additionalParamMap, t2);
|
|
31
|
+
}, isDynamicDataSourceSource: (e2) => r(e2), setValueToModelProp(e2, o2, t2, l2) {
|
|
26
32
|
if (e2 && e2.indexOf(".") > 0) {
|
|
27
33
|
const t3 = this.getParentObject(e2);
|
|
28
34
|
null != l2 && void 0 !== l2 ? t3[e2.substring(e2.lastIndexOf(".") + 1)][l2] = o2 : t3[e2.substring(e2.lastIndexOf(".") + 1)] = o2;
|
|
@@ -103,18 +109,20 @@ const c = require("../../_virtual/_plugin-vue_export-helper.js"), m = { name: "S
|
|
|
103
109
|
}, checkEmptyChange(e2) {
|
|
104
110
|
this.column._emptyValue = e2 ? "#blank#" : void 0;
|
|
105
111
|
}, deptScopeLimit() {
|
|
106
|
-
this.controlConfig && this.controlConfig.deptScope && ("depts" === this.controlConfig.deptScope && this.controlConfig.deptScopeCodes ? this.departmentInfo = this.controlConfig.deptScopeCodes.split(",") : "field" === this.controlConfig.deptScope && this.controlConfig.deptScopeField && 0 !== this.controlConfig.deptScopeField.indexOf("${row.") && (this.setLimitDepartmentInfo(), 0 === !this.controlConfig.deptScopeField.indexOf("${fixed.") &&
|
|
112
|
+
this.controlConfig && this.controlConfig.deptScope && ("depts" === this.controlConfig.deptScope && this.controlConfig.deptScopeCodes ? this.departmentInfo = this.controlConfig.deptScopeCodes.split(",") : "field" === this.controlConfig.deptScope && this.controlConfig.deptScopeField && 0 !== this.controlConfig.deptScopeField.indexOf("${row.") && (this.setLimitDepartmentInfo(), 0 === !this.controlConfig.deptScopeField.indexOf("${fixed.") && m(this, this.pageContext, this.controlConfig.deptScopeField, (e2, o2) => {
|
|
107
113
|
this.setLimitDepartmentInfo();
|
|
108
114
|
})));
|
|
109
115
|
}, setLimitDepartmentInfo() {
|
|
110
|
-
const e2 =
|
|
116
|
+
const e2 = u(this.controlConfig.deptScopeField, this.pageContext, this.row);
|
|
111
117
|
this.departmentInfo = e2 ? e2.split(",") : [];
|
|
112
|
-
} }, emits: ["submit-form"] },
|
|
113
|
-
const
|
|
114
|
-
const
|
|
115
|
-
return
|
|
118
|
+
} }, emits: ["submit-form"] }, I = ["title", "innerHTML"], D = { key: 0, style: { width: "100%" } }, x = { key: 1 };
|
|
119
|
+
const E = M(k, [["render", function(e2, o2, t2, l2, a2, n2) {
|
|
120
|
+
const r2 = p("el-date-picker"), m2 = p("year-range-picker"), u2 = p("el-time-picker"), M2 = p("organization-input"), k2 = p("el-checkbox"), E2 = p("el-option"), O = p("el-select"), U = p("dynamic-source-select"), $ = p("search-form-number"), w = p("el-switch"), N = p("el-slider"), P = p("el-rate"), W = p("el-tooltip"), _ = p("el-input"), Y = p("el-form-item");
|
|
121
|
+
return c(), i(Y, { "label-width": t2.labelWidth ?? (t2.column.querySetting ? n2.getLabelWidth(t2.column.querySetting) : "110px"), prop: t2.column.prop }, { label: s(() => [d("span", { title: (t2.column.searchLabel ?? t2.column.label).replace(/\\n/g, "</br>"), innerHTML: (t2.column.searchLabel ?? t2.column.label).replace(/\\n/g, "</br>") }, null, 8, I)]), default: s(() => {
|
|
116
122
|
var _a, _b, _c, _d;
|
|
117
|
-
return [true === a2.customComponent(t2.column) ? (r.openBlock(), r.createElementBlock("span", i, [(r.openBlock(), r.createBlock(r.resolveDynamicComponent(t2.column.componentName), { ref: t2.column.componentName, entity: t2.searchForm, "additional-settings": n2.controlConfig, "model-value": e2.getFormItemValue(t2.column.prop), prop: t2.column.prop, row: t2.searchForm, "select-options": t2.column.valueSet, class: "customComponent", onChange: o2[0] || (o2[0] = (e3) => a2.setValueToModelProp(t2.column.prop, e3, t2.column.componentName)) }, null, 40, ["entity", "additional-settings", "model-value", "prop", "row", "select-options"]))])) : "dateSection" === t2.column.componentType ? (r.openBlock(), r.createElementBlock("span", u, [r.createVNode(c2, { modelValue: t2.searchForm[t2.column.prop][0], "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => t2.searchForm[t2.column.prop][0] = e3), placeholder: e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(t2.column.searchControlWidth), type: "date", onChange: o2[2] || (o2[2] = (e3) => a2.setValueToModelProp(t2.column.prop, e3, null, 0)) }, null, 8, ["modelValue", "placeholder", "style"]), r.createVNode(c2, { modelValue: t2.searchForm[t2.column.prop][1], "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => t2.searchForm[t2.column.prop][1] = e3), placeholder: e2.$t("imatrixUIMessage.endDate"), style: r.normalizeStyle(t2.column.searchControlWidth), type: "date", onChange: o2[4] || (o2[4] = (e3) => a2.setValueToModelProp(t2.column.prop, e3, null, 1)) }, null, 8, ["modelValue", "placeholder", "style"])])) : "yearRange" === t2.column.componentType ? (r.openBlock(), r.createBlock(m2, { key: 2, value: e2.getFormItemValue(t2.column.prop), type: "yearRange", onChange: o2[5] || (o2[5] = (e3) => a2.setYearRangeValue(t2.column.prop, e3)) }, null, 8, ["value"])) : "dateTimePicker" === t2.column.componentType ? (r.openBlock(), r.createBlock(c2, { key: 3, "default-time": a2.getDefaultTime(t2.column), "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(t2.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "YYYY-MM-DD HH:mm:ss", "value-format": "YYYY-MM-DD HH:mm:ss", onChange: o2[7] || (o2[7] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["default-time", "end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "DATE" === t2.column.dataType || "date" === t2.column.componentType ? (r.openBlock(), r.createBlock(c2, { key: 4, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[8] || (o2[8] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(t2.column.searchControlWidth), type: "daterange", "unlink-panels": "", format: "YYYY-MM-DD", "value-format": "YYYY-MM-DD", onChange: o2[9] || (o2[9] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "TIME" === t2.column.dataType && "timepicker" === t2.column.componentType ? (r.openBlock(), r.createBlock(c2, { key: 5, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[10] || (o2[10] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(t2.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o2[11] || (o2[11] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "timepicker" === t2.column.componentType && "TIME" !== t2.column.dataType && "DATE" !== t2.column.dataType ? (r.openBlock(), r.createBlock(s2, { key: 6, modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[12] || (o2[12] = (e3) => t2.searchForm[t2.column.prop] = e3), placeholder: e2.$t("imatrixUIMessage.selectTime"), style: { width: "100%" }, type: "fixed-time", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o2[13] || (o2[13] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["modelValue", "placeholder"])) : a2.componentTypeTypeIsTree(t2.column.componentType) ? (r.openBlock(), r.createBlock(d, { key: 7, fields: a2.getTreeFields(t2.column.orgTreeSet), "department-info": n2.departmentInfo, "limit-filter-column": (_a = n2.controlConfig) == null ? void 0 : _a.limitFilterColumn, models: t2.searchForm, multiple: a2.getTreeIsMultiTree(t2.column.componentType), "tree-type": a2.getTreeType(t2.column.componentType), value: e2.getFormItemValue(t2.column.prop), onClear: a2.clearOrganizationInputEvent, onSetValue: a2.organizationInputEvent }, null, 8, ["fields", "department-info", "limit-filter-column", "models", "multiple", "tree-type", "value", "onClear", "onSetValue"])) : "radio" === ((_b = t2.column) == null ? void 0 : _b.componentType) ? (r.openBlock(), r.createBlock(g, { key: 8, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: r.normalizeStyle(t2.column.searchControlWidth), clearable: "", filterable: "", onChange: o2[15] || (o2[15] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, r.createSlots({ default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(t2.column.valueSet, (e3) => (r.openBlock(), r.createBlock(y, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, ["BOOLEAN" !== t2.column.dataType ? { name: "header", fn: r.withCtx(() => [r.createVNode(h, { modelValue: n2.checkEmptyValue, "onUpdate:modelValue": o2[14] || (o2[14] = (e3) => n2.checkEmptyValue = e3), onChange: a2.checkEmptyChange }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), key: "0" } : void 0]), 1032, ["model-value", "placeholder", "style"])) : (t2.column.componentType && "select" === t2.column.componentType || "BOOLEAN" === t2.column.dataType) && !a2.isDynamicDataSourceSource(t2.column) ? (r.openBlock(), r.createBlock(g, { key: 9, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: r.normalizeStyle(t2.column.searchControlWidth), clearable: "", filterable: "", onChange: o2[17] || (o2[17] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, r.createSlots({ default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(t2.column.valueSet, (e3) => (r.openBlock(), r.createBlock(y, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, ["BOOLEAN" !== t2.column.dataType ? { name: "header", fn: r.withCtx(() => [r.createVNode(h, { modelValue: n2.checkEmptyValue, "onUpdate:modelValue": o2[16] || (o2[16] = (e3) => n2.checkEmptyValue = e3), onChange: a2.checkEmptyChange }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), key: "0" } : void 0]), 1032, ["model-value", "placeholder", "style"])) : t2.column.componentType && "multiselect" === t2.column.componentType && !a2.isDynamicDataSourceSource(t2.column) ? (r.openBlock(), r.createBlock(g, { key: 10, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: r.normalizeStyle(t2.column.searchControlWidth), clearable: "", "collapse-tags": "", filterable: "", multiple: "", onChange: o2[19] || (o2[19] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, { header: r.withCtx(() => [r.createVNode(h, { modelValue: n2.checkEmptyValue, "onUpdate:modelValue": o2[18] || (o2[18] = (e3) => n2.checkEmptyValue = e3), onChange: a2.checkEmptyChange }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(t2.column.valueSet, (e3) => (r.openBlock(), r.createBlock(y, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["model-value", "placeholder", "style"])) : t2.column.componentType && ("multiselect" === t2.column.componentType || "select" === t2.column.componentType) && a2.isDynamicDataSourceSource(t2.column) ? (r.openBlock(), r.createBlock(f, { key: 11, ref: "selectRef", value: t2.searchForm[t2.column.prop], "onUpdate:value": o2[20] || (o2[20] = (e3) => t2.searchForm[t2.column.prop] = e3), "allow-create": (_d = (_c = n2.dataSourceOptions) == null ? void 0 : _c.controlConfig) == null ? void 0 : _d.allowCreate, "base-props": { multiple: "multiselect" === t2.column.componentType }, entity: t2.searchForm, filterable: true, "is-join-table": t2.isJoinTable, "list-code": t2.code, "list-toolbar-form-data": a2.listToolbarFormData, options: n2.dataSourceOptions, "table-name": t2.tableName, "is-search": true, onChange: a2.multiselectChange, onChangeEmptyValue: a2.checkEmptyChange }, null, 8, ["value", "allow-create", "base-props", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "table-name", "onChange", "onChangeEmptyValue"])) : t2.column.componentType && "inputNumber" === t2.column.componentType ? (r.openBlock(), r.createBlock(C, { key: 12, "item-value": t2.searchForm[t2.column.prop], "module-config": n2.moduleConfig, onSetValue: a2.setNumberValue }, null, 8, ["item-value", "module-config", "onSetValue"])) : t2.column.componentType && "switch" === t2.column.componentType ? (r.openBlock(), r.createBlock(T, { key: 13, "model-value": e2.getFormItemValue(t2.column.prop), style: r.normalizeStyle(t2.column.searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", onChange: o2[21] || (o2[21] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : t2.column.componentType && "slider" === t2.column.componentType ? (r.openBlock(), r.createBlock(k, { key: 14, "model-value": e2.getFormItemValue(t2.column.prop), style: r.normalizeStyle(t2.column.searchControlWidth), onChange: o2[22] || (o2[22] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : t2.column.componentType && "rate" === t2.column.componentType ? (r.openBlock(), r.createBlock(V, { key: 15, "model-value": e2.getFormItemValue(t2.column.prop), style: r.normalizeStyle(t2.column.searchControlWidth), onChange: o2[23] || (o2[23] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : (r.openBlock(), r.createBlock(S, { key: 16, "model-value": e2.getFormItemValue(t2.column.prop), style: r.normalizeStyle(t2.column.searchControlWidth), onKeyup: o2[25] || (o2[25] = r.withKeys((o3) => e2.submitForm("searchForm"), ["enter"])), onInput: o2[26] || (o2[26] = (e3) => a2.setValueToModelProp(t2.column.prop, e3)), onFocus: o2[27] || (o2[27] = (e3) => a2.showEmpty()), onBlur: o2[28] || (o2[28] = (e3) => a2.hiddenEmpty()) }, { suffix: r.withCtx(() => [r.createVNode(v, { content: e2.$t("superGrid.searchEmpty"), placement: "bottom" }, { default: r.withCtx(() => [a2.isShowEmtpty ? (r.openBlock(), r.createBlock(h, { key: 0, modelValue: a2.checkedEmpty, "onUpdate:modelValue": o2[24] || (o2[24] = (e3) => a2.checkedEmpty = e3), onChange: a2.checkEmptyChange }, null, 8, ["modelValue", "onChange"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["content"])]), _: 1 }, 8, ["model-value", "style"]))];
|
|
123
|
+
return [true === n2.customComponent(t2.column) ? (c(), h("span", D, [(c(), i(y(t2.column.componentName), { ref: t2.column.componentName, entity: t2.searchForm, "additional-settings": a2.controlConfig, "model-value": e2.getFormItemValue(t2.column.prop), prop: t2.column.prop, row: t2.searchForm, "select-options": t2.column.valueSet, class: "customComponent", onChange: o2[0] || (o2[0] = (e3) => n2.setValueToModelProp(t2.column.prop, e3, t2.column.componentName)) }, null, 40, ["entity", "additional-settings", "model-value", "prop", "row", "select-options"]))])) : "dateSection" === t2.column.componentType ? (c(), h("span", x, [g(r2, { modelValue: t2.searchForm[t2.column.prop][0], "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => t2.searchForm[t2.column.prop][0] = e3), placeholder: e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "date", onChange: o2[2] || (o2[2] = (e3) => n2.setValueToModelProp(t2.column.prop, e3, null, 0)) }, null, 8, ["modelValue", "placeholder", "style"]), g(r2, { modelValue: t2.searchForm[t2.column.prop][1], "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => t2.searchForm[t2.column.prop][1] = e3), placeholder: e2.$t("imatrixUIMessage.endDate"), style: f(t2.column.searchControlWidth), type: "date", onChange: o2[4] || (o2[4] = (e3) => n2.setValueToModelProp(t2.column.prop, e3, null, 1)) }, null, 8, ["modelValue", "placeholder", "style"])])) : "yearRange" === t2.column.componentType ? (c(), i(m2, { key: 2, value: e2.getFormItemValue(t2.column.prop), type: "yearRange", onChange: o2[5] || (o2[5] = (e3) => n2.setYearRangeValue(t2.column.prop, e3)) }, null, 8, ["value"])) : "dateTimePicker" === t2.column.componentType ? (c(), i(r2, { key: 3, "default-time": n2.getDefaultTime(t2.column), "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "YYYY-MM-DD HH:mm:ss", "value-format": "YYYY-MM-DD HH:mm:ss", onChange: o2[7] || (o2[7] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["default-time", "end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "DATE" === t2.column.dataType || "date" === t2.column.componentType ? (c(), i(r2, { key: 4, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[8] || (o2[8] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "daterange", "unlink-panels": "", format: "YYYY-MM-DD", "value-format": "YYYY-MM-DD", onChange: o2[9] || (o2[9] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "TIME" === t2.column.dataType && "timepicker" === t2.column.componentType ? (c(), i(r2, { key: 5, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[10] || (o2[10] = (e3) => t2.searchForm[t2.column.prop] = e3), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: f(t2.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o2[11] || (o2[11] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : "timepicker" === t2.column.componentType && "TIME" !== t2.column.dataType && "DATE" !== t2.column.dataType ? (c(), i(u2, { key: 6, modelValue: t2.searchForm[t2.column.prop], "onUpdate:modelValue": o2[12] || (o2[12] = (e3) => t2.searchForm[t2.column.prop] = e3), placeholder: e2.$t("imatrixUIMessage.selectTime"), style: { width: "100%" }, type: "fixed-time", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o2[13] || (o2[13] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["modelValue", "placeholder"])) : n2.componentTypeTypeIsTree(t2.column.componentType) ? (c(), i(M2, { key: 7, fields: n2.getTreeFields(t2.column.orgTreeSet), "department-info": a2.departmentInfo, "limit-filter-column": (_a = a2.controlConfig) == null ? void 0 : _a.limitFilterColumn, models: t2.searchForm, multiple: n2.getTreeIsMultiTree(t2.column.componentType), "tree-type": n2.getTreeType(t2.column.componentType), value: e2.getFormItemValue(t2.column.prop), onClear: n2.clearOrganizationInputEvent, onSetValue: n2.organizationInputEvent }, null, 8, ["fields", "department-info", "limit-filter-column", "models", "multiple", "tree-type", "value", "onClear", "onSetValue"])) : "radio" === ((_b = t2.column) == null ? void 0 : _b.componentType) ? (c(), i(O, { key: 8, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: f(t2.column.searchControlWidth), clearable: "", filterable: "", onChange: o2[15] || (o2[15] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, T({ default: s(() => [(c(true), h(V, null, b(t2.column.valueSet, (e3) => (c(), i(E2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, ["BOOLEAN" !== t2.column.dataType ? { name: "header", fn: s(() => [g(k2, { modelValue: a2.checkEmptyValue, "onUpdate:modelValue": o2[14] || (o2[14] = (e3) => a2.checkEmptyValue = e3), onChange: n2.checkEmptyChange }, { default: s(() => [C(v(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), key: "0" } : void 0]), 1032, ["model-value", "placeholder", "style"])) : (t2.column.componentType && "select" === t2.column.componentType || "BOOLEAN" === t2.column.dataType) && !n2.isDynamicDataSourceSource(t2.column) ? (c(), i(O, { key: 9, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: f(t2.column.searchControlWidth), clearable: "", filterable: "", onChange: o2[17] || (o2[17] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, T({ default: s(() => [(c(true), h(V, null, b(t2.column.valueSet, (e3) => (c(), i(E2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, ["BOOLEAN" !== t2.column.dataType ? { name: "header", fn: s(() => [g(k2, { modelValue: a2.checkEmptyValue, "onUpdate:modelValue": o2[16] || (o2[16] = (e3) => a2.checkEmptyValue = e3), onChange: n2.checkEmptyChange }, { default: s(() => [C(v(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), key: "0" } : void 0]), 1032, ["model-value", "placeholder", "style"])) : t2.column.componentType && "multiselect" === t2.column.componentType && !n2.isDynamicDataSourceSource(t2.column) ? (c(), i(O, { key: 10, "model-value": e2.getFormItemValue(t2.column.prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: f(t2.column.searchControlWidth), clearable: "", "collapse-tags": "", filterable: "", multiple: "", onChange: o2[19] || (o2[19] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, { header: s(() => [g(k2, { modelValue: a2.checkEmptyValue, "onUpdate:modelValue": o2[18] || (o2[18] = (e3) => a2.checkEmptyValue = e3), onChange: n2.checkEmptyChange }, { default: s(() => [C(v(e2.$t("imatrixUIPublicModel.emptyValue")), 1)]), _: 1 }, 8, ["modelValue", "onChange"])]), default: s(() => [(c(true), h(V, null, b(t2.column.valueSet, (e3) => (c(), i(E2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["model-value", "placeholder", "style"])) : t2.column.componentType && ("multiselect" === t2.column.componentType || "select" === t2.column.componentType) && n2.isDynamicDataSourceSource(t2.column) ? (c(), i(U, { key: 11, ref: "selectRef", value: t2.searchForm[t2.column.prop], "onUpdate:value": o2[20] || (o2[20] = (e3) => t2.searchForm[t2.column.prop] = e3), "allow-create": (_d = (_c = a2.dataSourceOptions) == null ? void 0 : _c.controlConfig) == null ? void 0 : _d.allowCreate, "base-props": { multiple: "multiselect" === t2.column.componentType }, entity: t2.searchForm, filterable: true, "is-join-table": t2.isJoinTable, "list-code": t2.code, "list-toolbar-form-data": n2.listToolbarFormData, options: a2.dataSourceOptions, "table-name": t2.tableName, "is-search": true, onChange: n2.multiselectChange, onChangeEmptyValue: n2.checkEmptyChange }, null, 8, ["value", "allow-create", "base-props", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "table-name", "onChange", "onChangeEmptyValue"])) : t2.column.componentType && "inputNumber" === t2.column.componentType ? (c(), i($, { key: 12, "item-value": t2.searchForm[t2.column.prop], "module-config": a2.moduleConfig, onSetValue: n2.setNumberValue }, null, 8, ["item-value", "module-config", "onSetValue"])) : t2.column.componentType && "switch" === t2.column.componentType ? (c(), i(w, { key: 13, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", onChange: o2[21] || (o2[21] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : t2.column.componentType && "slider" === t2.column.componentType ? (c(), i(N, { key: 14, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), onChange: o2[22] || (o2[22] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : t2.column.componentType && "rate" === t2.column.componentType ? (c(), i(P, { key: 15, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), onChange: o2[23] || (o2[23] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)) }, null, 8, ["model-value", "style"])) : (c(), i(_, { key: 16, "model-value": e2.getFormItemValue(t2.column.prop), style: f(t2.column.searchControlWidth), onKeyup: o2[25] || (o2[25] = S((o3) => e2.submitForm("searchForm"), ["enter"])), onInput: o2[26] || (o2[26] = (e3) => n2.setValueToModelProp(t2.column.prop, e3)), onFocus: o2[27] || (o2[27] = (e3) => n2.showEmpty()), onBlur: o2[28] || (o2[28] = (e3) => n2.hiddenEmpty()) }, { suffix: s(() => [g(W, { content: e2.$t("superGrid.searchEmpty"), placement: "bottom" }, { default: s(() => [n2.isShowEmtpty ? (c(), i(k2, { key: 0, modelValue: n2.checkedEmpty, "onUpdate:modelValue": o2[24] || (o2[24] = (e3) => n2.checkedEmpty = e3), onChange: n2.checkEmptyChange }, null, 8, ["modelValue", "onChange"])) : F("", true)]), _: 1 }, 8, ["content"])]), _: 1 }, 8, ["model-value", "style"]))];
|
|
118
124
|
}), _: 1 }, 8, ["label-width", "prop"]);
|
|
119
125
|
}], ["__scopeId", "data-v-90635647"]]);
|
|
120
|
-
|
|
126
|
+
export {
|
|
127
|
+
E as default
|
|
128
|
+
};
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import t from "./search-methods.js";
|
|
3
|
+
import o from "./store.js";
|
|
4
|
+
import { addDynamicPropDateSection as r, addDynamicProp as s } from "./utils.js";
|
|
5
|
+
import a from "../../src/utils/eventBus.js";
|
|
6
|
+
import n from "./search-form-item.vue.js";
|
|
7
|
+
import m from "./search-button.vue.js";
|
|
8
|
+
import { resolveComponent as i, openBlock as l, createElementBlock as c, createBlock as p, withCtx as h, createElementVNode as u, Fragment as f, renderList as d, createVNode as b, createCommentVNode as F } from "vue";
|
|
9
|
+
import "./search-form-mobile.vue2.js";
|
|
10
|
+
import y from "../../_virtual/_plugin-vue_export-helper.js";
|
|
11
|
+
const v = { name: "SearchFormMobile", components: { SearchFormItem: n, SearchButton: m }, props: { searchableColumns: { type: Array, default: null }, searchForm: { type: Object, default: null }, rules: { type: Object, default: null }, labelWidth: { type: String, default: null }, query: { type: Object, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: false }, loadCompleteQuery: { type: Boolean, default: false } }, data() {
|
|
5
12
|
const e2 = o.get(this.code);
|
|
6
13
|
let t2, r2;
|
|
7
14
|
e2 && e2.basicInfo && e2.basicInfo.tableName && (t2 = e2.basicInfo.tableName), e2 && e2.basicInfo && e2.basicInfo.hasJoinTable && (r2 = e2.basicInfo.hasJoinTable);
|
|
@@ -14,19 +21,21 @@ const i = require("../../_virtual/_plugin-vue_export-helper.js"), m = { name: "S
|
|
|
14
21
|
});
|
|
15
22
|
});
|
|
16
23
|
}, resetForm() {
|
|
17
|
-
if (e
|
|
24
|
+
if (e(a, "remoteMethod"), this.customComponentNames && this.customComponentNames.length > 0)
|
|
18
25
|
for (const e2 of this.customComponentNames)
|
|
19
26
|
this.$refs[e2][0].resetField();
|
|
20
27
|
this.$refs.searchForm.resetFields(), this.searchableColumns.forEach((e2) => {
|
|
21
|
-
e2.prop && e2.prop.indexOf(".") > 0 ? "dateSection" === e2.componentType ? r
|
|
22
|
-
}), e
|
|
28
|
+
e2.prop && e2.prop.indexOf(".") > 0 ? "dateSection" === e2.componentType ? r(this.searchForm, e2.prop) : s(this.searchForm, e2.prop) : ("dateSection" === e2.componentType ? this.searchForm[e2.prop] = [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()] : "yearRange" === e2.componentType ? (this.searchForm[e2.prop][0] = "", this.searchForm[e2.prop][1] = "") : "inputNumber" === e2.componentType && this.searchForm[e2.prop] ? (this.searchForm[e2.prop][0] = 0, this.searchForm[e2.prop][1] = 0) : this.searchForm[e2.prop] = null, this.setDefaultQueryValue(e2, this.searchForm)), e2._emptyValue && (e2._emptyValue = void 0, e2._resetValue = true);
|
|
29
|
+
}), e(this, "submit-form");
|
|
23
30
|
}, openFold(t2) {
|
|
24
|
-
this.isOpen = t2, e
|
|
31
|
+
this.isOpen = t2, e(this, "open-fold", t2);
|
|
25
32
|
}, searchComplete() {
|
|
26
33
|
this.$refs.searchBtnOpen && (Array.isArray(this.$refs.searchBtnOpen) ? this.$refs.searchBtnOpen.length > 0 && this.$refs.searchBtnOpen[0].searchComplete() : this.$refs.searchBtnOpen.searchComplete());
|
|
27
|
-
} }, emits: ["submit-form", "reset-form", "save-condition", "remoteMethod"] },
|
|
28
|
-
const
|
|
29
|
-
const n2 =
|
|
30
|
-
return l
|
|
34
|
+
} }, emits: ["submit-form", "reset-form", "save-condition", "remoteMethod"] }, j = { style: { "padding-bottom": "40px", "padding-top": "35px" } }, g = { class: "search-btn-mobile" };
|
|
35
|
+
const C = y(v, [["render", function(e2, t2, o2, r2, s2, a2) {
|
|
36
|
+
const n2 = i("search-form-item"), m2 = i("search-button"), y2 = i("el-form");
|
|
37
|
+
return l(), c("div", null, [o2.searchableColumns.length > 0 ? (l(), p(y2, { key: 0, ref: "searchForm", model: o2.searchForm, rules: o2.rules, class: "grid-search-form-mobile", "label-position": "top", size: "default" }, { default: h(() => [u("div", j, [(l(true), c(f, null, d(o2.searchableColumns, (e3, t3) => (l(), p(n2, { key: t3, "search-form": o2.searchForm, column: e3, code: o2.code, "is-sql": o2.isSql, "table-name": s2.tableName, "is-join-table": s2.isJoinTable }, null, 8, ["search-form", "column", "code", "is-sql", "table-name", "is-join-table"]))), 128))]), u("div", g, [b(m2, { ref: "searchBtnOpen", onSubmitForm: t2[0] || (t2[0] = (t3) => e2.$emit("submit-form")), onResetForm: t2[1] || (t2[1] = (t3) => e2.$emit("reset-form")), onSaveCondition: t2[2] || (t2[2] = (t3) => e2.$emit("save-condition")) }, null, 512)])]), _: 1 }, 8, ["model", "rules"])) : F("", true)]);
|
|
31
38
|
}], ["__scopeId", "data-v-832e8a9d"]]);
|
|
32
|
-
|
|
39
|
+
export {
|
|
40
|
+
C as default
|
|
41
|
+
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import o from "./eventBus.js";
|
|
3
|
+
import { resolveComponent as n, openBlock as i, createElementBlock as m, createVNode as u, createElementVNode as t } from "vue";
|
|
4
|
+
import l from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const s = { props: { r: { type: Number, default: null }, n: { type: Number, default: null }, itemValue: { type: Array, default: () => [0, 0] }, moduleConfig: { type: Object } }, data() {
|
|
3
6
|
return { number1: 0 === this.moduleConfig.min ? 0 : this.moduleConfig.min ? this.moduleConfig.min : 0, number2: 0 === this.moduleConfig.max ? 0 : this.moduleConfig.max ? this.moduleConfig.max : 100 };
|
|
4
7
|
}, mounted() {
|
|
5
8
|
o.$on("reset", () => {
|
|
@@ -10,12 +13,14 @@ const e = require("../../utils/gogocodeTransfer.js"), o = require("./eventBus.js
|
|
|
10
13
|
}, watch: { itemValue: { deep: true, handler(e2) {
|
|
11
14
|
e2 && (this.number1 = e2[0] ? e2[0] : 0, this.number2 = e2[1] ? e2[1] : 0);
|
|
12
15
|
} } }, created() {
|
|
13
|
-
e
|
|
16
|
+
e(this, "setValue", [this.number1, this.number2], this.r, this.n);
|
|
14
17
|
}, methods: { setValue() {
|
|
15
|
-
e
|
|
16
|
-
} }, emits: ["setValue"] },
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
return
|
|
18
|
+
e(this, "setValue", [this.number1, this.number2], this.r, this.n);
|
|
19
|
+
} }, emits: ["setValue"] }, r = t("span", null, "---", -1);
|
|
20
|
+
const d = l(s, [["render", function(e2, o2, t2, l2, s2, d2) {
|
|
21
|
+
const a = n("el-input-number");
|
|
22
|
+
return i(), m("div", null, [u(a, { modelValue: s2.number1, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => s2.number1 = e3), min: 0 == t2.moduleConfig.min ? 0 : t2.moduleConfig.min ? t2.moduleConfig.min : -1 / 0, max: 0 == t2.moduleConfig.max ? 0 : t2.moduleConfig.max ? t2.moduleConfig.max : 1 / 0, step: t2.moduleConfig.step ? t2.moduleConfig.step : 1, precision: t2.moduleConfig.precision ? t2.moduleConfig.precision : 0, "controls-position": t2.moduleConfig.position ? t2.moduleConfig.position : "", onChange: o2[1] || (o2[1] = (e3) => d2.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"]), r, u(a, { modelValue: s2.number2, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => s2.number2 = e3), min: 0 == t2.moduleConfig.min ? 0 : t2.moduleConfig.min ? t2.moduleConfig.min : -1 / 0, max: 0 == t2.moduleConfig.max ? 0 : t2.moduleConfig.max ? t2.moduleConfig.max : 1 / 0, step: t2.moduleConfig.step ? t2.moduleConfig.step : 1, precision: t2.moduleConfig.precision ? t2.moduleConfig.precision : 0, "controls-position": t2.moduleConfig.position ? t2.moduleConfig.position : "", onChange: o2[3] || (o2[3] = (e3) => d2.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"])]);
|
|
20
23
|
}]]);
|
|
21
|
-
|
|
24
|
+
export {
|
|
25
|
+
d as default
|
|
26
|
+
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import e from "./search-methods.js";
|
|
2
|
+
import t from "./search-form-item.vue.js";
|
|
3
|
+
import n from "./search-button.vue.js";
|
|
4
|
+
import { resolveComponent as s, resolveDirective as o, withDirectives as r, openBlock as a, createElementBlock as l, createVNode as i, withCtx as h, Fragment as m, renderList as u, createBlock as p, normalizeClass as c } from "vue";
|
|
5
|
+
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const f = { name: "SearchFormOpen", components: { SearchFormItem: t, SearchButton: n }, props: { searchableColumns: { type: Array, default: null }, searchForm: { type: Object, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: false }, tableName: { type: String, default: null }, isJoinTable: { type: Boolean, default: false }, spanNum: { type: Number, default: 8 }, fieldNum: { type: Number, default: null }, rowNum: { type: Number, default: null }, isOpen: { type: Boolean, default: false } }, data() {
|
|
3
7
|
return { rowWidth: void 0, maxLength: void 0, minLength: void 0, myOpen: this.isOpen ?? false };
|
|
4
8
|
}, computed: { isShowOpen() {
|
|
5
9
|
return this.showColumn < this.searchableColumns.length + 1;
|
|
@@ -36,9 +40,11 @@ const e = require("./search-methods.js"), t = require("./search-form-item.vue.js
|
|
|
36
40
|
this.myOpen = e2, this.$emit("open-fold", e2);
|
|
37
41
|
}, searchComplete() {
|
|
38
42
|
this.$refs.searchBtnOpen && (Array.isArray(this.$refs.searchBtnOpen) ? this.$refs.searchBtnOpen.length > 0 && this.$refs.searchBtnOpen[0].searchComplete() : this.$refs.searchBtnOpen.searchComplete());
|
|
39
|
-
} } },
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
return
|
|
43
|
+
} } }, b = { class: "grid-search-row" };
|
|
44
|
+
const w = d(f, [["render", function(e2, t2, n2, d2, f2, w2) {
|
|
45
|
+
const O = s("search-form-item"), y = s("el-col"), g = s("search-button"), S = s("el-row"), C = o("resize");
|
|
46
|
+
return r((a(), l("div", b, [i(S, null, { default: h(() => [(a(true), l(m, null, u(w2.filterSearchableColumns, (e3, t3) => (a(), p(y, { key: t3, span: w2.span }, { default: h(() => [i(O, { "label-width": w2.labelWidth, "search-form": n2.searchForm, column: e3, code: n2.code, "is-sql": n2.isSql, "table-name": n2.tableName, "is-join-table": n2.isJoinTable }, null, 8, ["label-width", "search-form", "column", "code", "is-sql", "table-name", "is-join-table"])]), _: 2 }, 1032, ["span"]))), 128)), i(y, { span: w2.span, class: c(["search-btns-view", { "no-show-open": !w2.isShowOpen, "no-search-button-auto": w2.isSearchButtonAuto }]) }, { default: h(() => [i(g, { ref: "searchBtnOpen", "is-open": f2.myOpen, "is-show-open": w2.isShowOpen, onSubmitForm: t2[0] || (t2[0] = (t3) => e2.$emit("submit-form")), onResetForm: t2[1] || (t2[1] = (t3) => e2.$emit("reset-form")), onSaveCondition: t2[2] || (t2[2] = (t3) => e2.$emit("save-condition")), onOpenFold: w2.openFold }, null, 8, ["is-open", "is-show-open", "onOpenFold"])]), _: 1 }, 8, ["span", "class"])]), _: 1 })])), [[C, w2.onResize]]);
|
|
43
47
|
}]]);
|
|
44
|
-
|
|
48
|
+
export {
|
|
49
|
+
w as default
|
|
50
|
+
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import o from "./search-methods.js";
|
|
3
|
+
import r from "./store.js";
|
|
4
|
+
import { addDynamicPropDateSection as t, addDynamicProp as s } from "./utils.js";
|
|
5
|
+
import a from "./search-form-open.vue.js";
|
|
6
|
+
import m from "../../src/utils/eventBus.js";
|
|
7
|
+
import { resolveComponent as n, openBlock as l, createBlock as i, withCtx as p, createVNode as u, createCommentVNode as c } from "vue";
|
|
8
|
+
import "./search-form-ordinarySearch.vue2.js";
|
|
9
|
+
import h from "../../_virtual/_plugin-vue_export-helper.js";
|
|
10
|
+
const d = h({ name: "SearchForm", components: { SearchFormOpen: a }, props: { searchableColumns: { type: Array, default: null }, searchForm: { type: Object, default: null }, fieldNum: { type: Number, default: null }, rules: { type: Object, default: null }, labelWidth: { type: String, default: null }, query: { type: Object, default: null }, rowNum: { type: Number, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: false }, spanNum: { type: Number, default: 8 }, loadCompleteQuery: { type: Boolean, default: false } }, data() {
|
|
5
11
|
const e2 = r.get(this.code);
|
|
6
12
|
let o2, t2;
|
|
7
13
|
e2 && e2.basicInfo && e2.basicInfo.tableName && (o2 = e2.basicInfo.tableName), e2 && e2.basicInfo && e2.basicInfo.hasJoinTable && (t2 = e2.basicInfo.hasJoinTable);
|
|
@@ -14,18 +20,20 @@ const l = require("../../_virtual/_plugin-vue_export-helper.js")({ name: "Search
|
|
|
14
20
|
});
|
|
15
21
|
});
|
|
16
22
|
}, resetForm() {
|
|
17
|
-
if (e
|
|
23
|
+
if (e(m, "remoteMethod"), this.customComponentNames && this.customComponentNames.length > 0)
|
|
18
24
|
for (const e2 of this.customComponentNames)
|
|
19
25
|
this.$refs[e2][0].resetField();
|
|
20
26
|
this.$refs.searchForm.resetFields(), this.searchableColumns.forEach((e2) => {
|
|
21
|
-
e2.prop && e2.prop.indexOf(".") > 0 ? "dateSection" === e2.componentType ? t
|
|
22
|
-
}), e
|
|
27
|
+
e2.prop && e2.prop.indexOf(".") > 0 ? "dateSection" === e2.componentType ? t(this.searchForm, e2.prop) : s(this.searchForm, e2.prop) : ("dateSection" === e2.componentType ? this.searchForm[e2.prop] = [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()] : "yearRange" === e2.componentType ? (this.searchForm[e2.prop][0] = "", this.searchForm[e2.prop][1] = "") : "inputNumber" === e2.componentType && this.searchForm[e2.prop] ? (this.searchForm[e2.prop][0] = 0, this.searchForm[e2.prop][1] = 0) : this.searchForm[e2.prop] = null, this.setDefaultQueryValue(e2, this.searchForm)), e2._emptyValue && (e2._emptyValue = void 0, e2._resetValue = true);
|
|
28
|
+
}), e(this, "submit-form");
|
|
23
29
|
}, openFold(o2) {
|
|
24
|
-
this.isOpen = o2, e
|
|
30
|
+
this.isOpen = o2, e(this, "open-fold", o2);
|
|
25
31
|
}, searchComplete() {
|
|
26
32
|
this.$refs.searchFormContent && this.$refs.searchFormContent.searchComplete();
|
|
27
33
|
} }, emits: ["submit-form", "reset-form", "save-condition", "open-fold", "remoteMethod"] }, [["render", function(e2, o2, r2, t2, s2, a2) {
|
|
28
|
-
const
|
|
29
|
-
return r2.searchableColumns.length > 0 ? (
|
|
34
|
+
const m2 = n("search-form-open"), h2 = n("el-form");
|
|
35
|
+
return r2.searchableColumns.length > 0 ? (l(), i(h2, { key: 0, ref: "searchForm", model: r2.searchForm, rules: r2.rules, class: "grid-search-form", "label-position": "right", size: "default" }, { default: p(() => [u(m2, { ref: "searchFormContent", code: r2.code, "field-num": r2.fieldNum, "is-join-table": s2.isJoinTable, "is-open": s2.isOpen, "is-sql": r2.isSql, "load-complete-query": r2.loadCompleteQuery, "row-num": r2.rowNum, "search-form": r2.searchForm, "searchable-columns": r2.searchableColumns, "span-num": r2.spanNum, "table-name": s2.tableName, onSubmitForm: o2[0] || (o2[0] = (o3) => e2.$emit("submit-form")), onResetForm: o2[1] || (o2[1] = (o3) => e2.$emit("reset-form")), onSaveCondition: o2[2] || (o2[2] = (o3) => e2.$emit("save-condition")), onOpenFold: a2.openFold }, null, 8, ["code", "field-num", "is-join-table", "is-open", "is-sql", "load-complete-query", "row-num", "search-form", "searchable-columns", "span-num", "table-name", "onOpenFold"])]), _: 1 }, 8, ["model", "rules"])) : c("", true);
|
|
30
36
|
}], ["__scopeId", "data-v-3e0adbf6"]]);
|
|
31
|
-
|
|
37
|
+
export {
|
|
38
|
+
d as default
|
|
39
|
+
};
|