agilebuilder-ui 1.1.65-tmp17 → 1.1.65-tmp18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/IntervalSelection/index.mjs +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.mjs +49 -0
- package/es/IntervalSelection/src/sectionDate.vue2.mjs +4 -0
- package/es/_virtual/__vite-browser-external.mjs +4 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/breadcrumb/index.mjs +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.mjs +28 -0
- package/es/breadcrumb/src/breadcrumb.vue2.mjs +4 -0
- package/es/chat-embed/index.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.mjs +14 -0
- package/es/chat-embed/src/chat-addition-data.vue3.mjs +4 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.mjs +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +29 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.mjs +4 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.mjs +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +33 -0
- package/es/chat-embed/src/chat-bubble-footer.vue3.mjs +4 -0
- package/es/chat-embed/src/chat-embed-message.mjs +22 -0
- package/es/chat-embed/src/chat-sender.vue.mjs +7 -0
- package/es/chat-embed/src/chat-sender.vue2.mjs +160 -0
- package/es/chat-embed/src/chat-sender.vue3.mjs +4 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +59 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue3.mjs +4 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-home-chart.vue2.mjs +6 -0
- package/es/chat-embed/src/components/answer-home-chart.vue3.mjs +4 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +118 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue3.mjs +4 -0
- package/es/chat-embed/src/components/history-detail.vue.mjs +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.mjs +55 -0
- package/es/chat-embed/src/components/history-detail.vue3.mjs +4 -0
- package/es/chat-embed/src/header.vue.mjs +7 -0
- package/es/chat-embed/src/header.vue2.mjs +46 -0
- package/es/chat-embed/src/header.vue3.mjs +4 -0
- package/es/chat-embed/src/index.vue.mjs +7 -0
- package/es/chat-embed/src/index.vue2.mjs +307 -0
- package/es/chat-embed/src/index.vue3.mjs +4 -0
- package/es/chat-embed/src/recommendation-message.vue.mjs +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.mjs +8 -0
- package/es/chat-embed/src/recommendation-message.vue3.mjs +4 -0
- package/es/chat-embed/src/sidebar-item.vue.mjs +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.mjs +118 -0
- package/es/chat-embed/src/sidebar-item.vue3.mjs +4 -0
- package/es/chat-embed/src/type.mjs +5 -0
- package/es/chat-embed/src/util/chat-embed-util.mjs +57 -0
- package/es/chat-embed/src/util/history-message-util.mjs +96 -0
- package/es/chat-embed/src/util/mcp-utils.mjs +53 -0
- package/es/chat-embed/src/util/text-file-util.mjs +12 -0
- package/es/chat-embed/src/voice/index.mjs +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.mjs +1004 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.mjs +169 -0
- package/es/chat-embed/src/voice/js/timer.mjs +11 -0
- package/es/chat-embed/src/voice/voice.vue.mjs +104 -0
- package/es/date-picker-range/index.mjs +7 -0
- package/es/date-picker-range/index.vue.mjs +7 -0
- package/es/date-picker-range/index.vue2.mjs +93 -0
- package/es/date-picker-range/index.vue3.mjs +4 -0
- package/es/department-tree/index.mjs +7 -0
- package/es/department-tree/src/department-tree.vue.mjs +23 -0
- package/es/department-tree-inline/index.mjs +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.mjs +91 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.mjs +4 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.mjs +64 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.mjs +4 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.mjs +17 -0
- package/es/department-tree-inline/src/department-tree-service.mjs +108 -0
- package/es/department-tree-inline/src/search-result.vue.mjs +40 -0
- package/es/department-tree-inline/src/search-result.vue2.mjs +4 -0
- package/es/department-tree-mobile/index.mjs +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.mjs +15 -0
- package/es/department-tree-mobile/src/department-tree-app.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.mjs +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/department-tree-service.mjs +55 -0
- package/es/department-tree-mobile/src/dept-path.vue.mjs +14 -0
- package/es/department-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.mjs +16 -0
- package/es/department-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/department-user-tree/index.mjs +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.mjs +20 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.mjs +4 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.mjs +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.mjs +27 -0
- package/es/department-user-tree-inline/index.mjs +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +165 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.mjs +4 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +69 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.mjs +4 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +54 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.mjs +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.mjs +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.mjs +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.mjs +34 -0
- package/es/department-user-tree-inline/src/group-user-tree-service.mjs +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.mjs +41 -0
- package/es/department-user-tree-inline/src/search-result.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/index.mjs +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +15 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.mjs +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-service.mjs +38 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.mjs +14 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +17 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/directives/prevent-reclick.mjs +15 -0
- package/es/dynamic-source-select/index.mjs +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.mjs +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +276 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.mjs +4 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.mjs +4 -0
- package/es/dynamic-source-select/src/events.mjs +29 -0
- package/es/empty-state/index.vue.mjs +9 -0
- package/es/empty-state/index.vue2.mjs +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.mjs +7 -0
- package/es/fs-preview/src/fs-preview.vue.mjs +120 -0
- package/es/fs-preview/src/fs-preview.vue2.mjs +4 -0
- package/es/fs-upload/index.mjs +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.mjs +73 -0
- package/es/fs-upload/src/fs-upload.vue.mjs +24 -0
- package/es/fs-upload/src/see-big-picture.vue.mjs +12 -0
- package/es/fs-upload-list/index.mjs +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +98 -0
- package/es/fs-upload-list/src/fs-upload-list.vue2.mjs +4 -0
- package/es/fs-upload-new/index.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +61 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.mjs +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.mjs +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +62 -0
- package/es/fs-upload-new/src/fs-button-upload.vue3.mjs +4 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +63 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue3.mjs +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.mjs +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +93 -0
- package/es/fs-upload-new/src/fs-preview-new.vue3.mjs +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue4.mjs +4 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.mjs +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.mjs +4 -0
- package/es/hamburger/index.mjs +7 -0
- package/es/hamburger/src/hamburger.vue.mjs +15 -0
- package/es/hamburger/src/hamburger.vue2.mjs +4 -0
- package/es/index.mjs +384 -0
- package/es/json-view/json-view-dialog.vue.mjs +19 -0
- package/es/json-view/json-view-dialog.vue2.mjs +4 -0
- package/es/json-view/json-view.vue.mjs +4 -0
- package/es/json-view/json-view.vue2.mjs +36 -0
- package/es/multipart-upload/index.mjs +7 -0
- package/es/multipart-upload/src/index.vue.mjs +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +104 -0
- package/es/organization-input/index.mjs +7 -0
- package/es/organization-input/src/organization-input.vue.mjs +224 -0
- package/es/organization-input/src/organization-input.vue2.mjs +4 -0
- package/es/plugins/export-data-new.mjs +237 -0
- package/es/plugins/export-data.mjs +179 -0
- package/es/plugins/index.mjs +9 -0
- package/es/plugins/public-method.mjs +14 -0
- package/es/remove-department/index.mjs +7 -0
- package/es/remove-department/src/remove-department.vue.mjs +33 -0
- package/es/remove-department/src/remove-dept-service.mjs +13 -0
- package/es/remove-user/index.mjs +7 -0
- package/es/remove-user/src/remove-user-service.mjs +13 -0
- package/es/remove-user/src/remove-user.vue.mjs +35 -0
- package/es/remove-workgroup/index.mjs +7 -0
- package/es/remove-workgroup/src/remove-workgroup-service.mjs +13 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.mjs +31 -0
- package/es/rich-editor/index.mjs +7 -0
- package/es/rich-editor/index.vue.mjs +115 -0
- package/es/rich-editor/tinymce/zh_CN.mjs +2 -0
- package/es/rich-editor/viewer.vue.mjs +27 -0
- package/es/row-form/index.mjs +7 -0
- package/es/row-form/index.vue.mjs +7 -0
- package/es/row-form/index.vue2.mjs +62 -0
- package/es/row-form/index.vue3.mjs +4 -0
- package/es/row-form/operation.vue.mjs +32 -0
- package/es/row-form/operation.vue2.mjs +4 -0
- package/es/scan-code-input/index.mjs +7 -0
- package/es/scan-code-input/src/events.mjs +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.mjs +32 -0
- package/es/scan-code-input-browser/index.mjs +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +39 -0
- package/es/secret-info/index.mjs +7 -0
- package/es/secret-info/index.vue.mjs +16 -0
- package/es/src/api/sso-service.mjs +57 -0
- package/es/src/api/tab.mjs +15 -0
- package/es/src/assets/401/401.gif.mjs +4 -0
- package/es/src/assets/404/404-cloud.png.mjs +4 -0
- package/es/src/assets/404/404.png.mjs +4 -0
- package/es/src/assets/chat-embed/robot.gif.mjs +4 -0
- package/es/src/assets/chat-embed/robot.svg.mjs +4 -0
- package/es/src/assets/nonemessage.png.mjs +4 -0
- package/es/src/components/Affix/index.vue.mjs +7 -0
- package/es/src/components/Affix/index.vue2.mjs +83 -0
- package/es/src/components/Affix/index.vue3.mjs +4 -0
- package/es/src/components/Card/index.mjs +48 -0
- package/es/src/components/Scrollbar/index.vue.mjs +52 -0
- package/es/src/components/Scrollbar/index.vue2.mjs +4 -0
- package/es/src/directives/permission/index.mjs +7 -0
- package/es/src/directives/permission/permission.mjs +11 -0
- package/es/src/i18n/i18n.mjs +7 -0
- package/es/src/i18n/langs/cn.mjs +4 -0
- package/es/src/i18n/langs/en.mjs +4 -0
- package/es/src/mixins/resizeMixin.mjs +21 -0
- package/es/src/permission.mjs +79 -0
- package/es/src/router/index.mjs +10 -0
- package/es/src/store/getters.mjs +4 -0
- package/es/src/store/index.mjs +13 -0
- package/es/src/store/modules/app.mjs +41 -0
- package/es/src/store/modules/chat-ai-store.mjs +36 -0
- package/es/src/store/modules/permission.mjs +31 -0
- package/es/src/store/modules/system.mjs +12 -0
- package/es/src/store/modules/tab-content.mjs +20 -0
- package/es/src/store/modules/table.mjs +18 -0
- package/es/src/store/modules/user.mjs +139 -0
- package/es/src/utils/auth-api.mjs +134 -0
- package/es/src/utils/auth.mjs +156 -0
- package/es/src/utils/calculator/calculator-factory-wf.mjs +167 -0
- package/es/src/utils/calculator/calculator-factory.mjs +93 -0
- package/es/src/utils/calculator/calculator-util.mjs +56 -0
- package/es/src/utils/chat-ai-util.mjs +34 -0
- package/es/src/utils/common-util.mjs +440 -0
- package/es/src/utils/eventBus.mjs +6 -0
- package/es/src/utils/file-util.mjs +23 -0
- package/es/src/utils/global-prop.mjs +38 -0
- package/es/src/utils/guid.mjs +10 -0
- package/es/src/utils/i18n-util.mjs +70 -0
- package/es/src/utils/iconUtils.mjs +26 -0
- package/es/src/utils/index.mjs +46 -0
- package/es/src/utils/insert_css.mjs +17 -0
- package/es/src/utils/json-util.mjs +47 -0
- package/es/src/utils/jump-page-utils.mjs +264 -0
- package/es/src/utils/local-storage.mjs +19 -0
- package/es/src/utils/menu.mjs +14 -0
- package/es/src/utils/permission.mjs +45 -0
- package/es/src/utils/permissionAuth.mjs +154 -0
- package/es/src/utils/range-selector.mjs +105 -0
- package/es/src/utils/request.mjs +140 -0
- package/es/src/utils/resize.mjs +11 -0
- package/es/src/utils/restful-interface-utils.mjs +18 -0
- package/es/src/utils/util.mjs +361 -0
- package/es/src/utils/validate.mjs +22 -0
- package/es/src/utils/voice-setting-cache.mjs +212 -0
- package/es/src/utils/watermark-cache.mjs +15 -0
- package/es/src/utils/watermark.mjs +40 -0
- package/es/src/utils/workflow-util.mjs +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +12 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue3.mjs +4 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.mjs +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.mjs +53 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.mjs +4 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.mjs +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.mjs +66 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue2.mjs +4 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue3.mjs +4 -0
- package/es/src/views/error-page/401.vue.mjs +15 -0
- package/es/src/views/error-page/401.vue2.mjs +4 -0
- package/es/src/views/error-page/404.vue.mjs +12 -0
- package/es/src/views/error-page/404.vue2.mjs +4 -0
- package/es/src/views/layout/EmptyLayout.vue.mjs +9 -0
- package/es/src/views/layout/Layout.vue.mjs +28 -0
- package/es/src/views/layout/Layout.vue2.mjs +4 -0
- package/es/src/views/layout/NewLayout.vue.mjs +11 -0
- package/es/src/views/layout/components/AppMain.vue.mjs +13 -0
- package/es/src/views/layout/components/AppMain.vue2.mjs +4 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.mjs +49 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue2.mjs +4 -0
- package/es/src/views/layout/components/Menubar/Item.vue.mjs +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.mjs +15 -0
- package/es/src/views/layout/components/Menubar/Item.vue3.mjs +4 -0
- package/es/src/views/layout/components/Menubar/Link.vue.mjs +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +56 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.mjs +4 -0
- package/es/src/views/layout/components/Menubar/index.vue.mjs +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue.mjs +9 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.mjs +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.mjs +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.mjs +22 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.mjs +4 -0
- package/es/src/views/layout/components/Sidebar/index.vue.mjs +58 -0
- package/es/src/views/layout/components/iframe-page.vue.mjs +14 -0
- package/es/src/views/layout/components/iframe-page.vue2.mjs +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.mjs +64 -0
- package/es/src/views/layout/components/tabs/tab-content.vue2.mjs +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue3.mjs +4 -0
- package/es/src/views/layout/mixin/ResizeHandler.mjs +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.mjs +14 -0
- package/es/src/views/layout/tab-content-iframe-index.vue2.mjs +4 -0
- package/es/src/views/layout/tab-content-index.vue.mjs +28 -0
- package/es/src/views/layout/tab-content-index.vue2.mjs +4 -0
- package/es/src/views/login/authredirect.vue.mjs +7 -0
- package/es/src/views/redirect/index.vue.mjs +8 -0
- package/es/src/views/svg-icon/src/svg-icon.vue.mjs +4 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.mjs +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue2.mjs +4 -0
- package/es/style.css +3077 -0
- package/es/super-grid/index.mjs +7 -0
- package/es/super-grid/src/apis.mjs +458 -0
- package/es/super-grid/src/columns-config.vue.mjs +82 -0
- package/es/super-grid/src/components/grid-icon.vue.mjs +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.mjs +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.mjs +4 -0
- package/es/super-grid/src/components/mobile-table-card.mjs +109 -0
- package/es/super-grid/src/components/select-input.vue.mjs +149 -0
- package/es/super-grid/src/components/select-input.vue2.mjs +4 -0
- package/es/super-grid/src/custom-formatter.mjs +168 -0
- package/es/super-grid/src/dynamic-input.vue.mjs +482 -0
- package/es/super-grid/src/eventBus.mjs +6 -0
- package/es/super-grid/src/events.mjs +37 -0
- package/es/super-grid/src/formValidatorUtil.mjs +109 -0
- package/es/super-grid/src/formatter.mjs +74 -0
- package/es/super-grid/src/group-column.vue.mjs +24 -0
- package/es/super-grid/src/header-context-menu.vue.mjs +15 -0
- package/es/super-grid/src/header-context-menu.vue2.mjs +4 -0
- package/es/super-grid/src/index-column.vue.mjs +22 -0
- package/es/super-grid/src/normal-column-content.vue.mjs +319 -0
- package/es/super-grid/src/normal-column-content.vue2.mjs +4 -0
- package/es/super-grid/src/normal-column.vue.mjs +106 -0
- package/es/super-grid/src/normal-column.vue2.mjs +4 -0
- package/es/super-grid/src/public-methods.mjs +22 -0
- package/es/super-grid/src/row-detail.vue.mjs +14 -0
- package/es/super-grid/src/row-operation.vue.mjs +89 -0
- package/es/super-grid/src/row-operation.vue2.mjs +4 -0
- package/es/super-grid/src/scan-util.mjs +100 -0
- package/es/super-grid/src/search-button.vue.mjs +23 -0
- package/es/super-grid/src/search-condition-input.vue.mjs +17 -0
- package/es/super-grid/src/search-condition-list.vue.mjs +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.mjs +116 -0
- package/es/super-grid/src/search-form-advancedQuery.vue2.mjs +4 -0
- package/es/super-grid/src/search-form-dialog.vue.mjs +16 -0
- package/es/super-grid/src/search-form-item.vue.mjs +128 -0
- package/es/super-grid/src/search-form-item.vue2.mjs +4 -0
- package/es/super-grid/src/search-form-mobile.vue.mjs +41 -0
- package/es/super-grid/src/search-form-mobile.vue2.mjs +4 -0
- package/es/super-grid/src/search-form-number.vue.mjs +26 -0
- package/es/super-grid/src/search-form-open.vue.mjs +50 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +39 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue2.mjs +4 -0
- package/es/super-grid/src/search-form.vue.mjs +201 -0
- package/es/super-grid/src/search-form.vue2.mjs +4 -0
- package/es/super-grid/src/search-methods.mjs +164 -0
- package/es/super-grid/src/selection-column.vue.mjs +11 -0
- package/es/super-grid/src/store.mjs +4 -0
- package/es/super-grid/src/super-grid-service.mjs +260 -0
- package/es/super-grid/src/super-grid.vue.mjs +1052 -0
- package/es/super-grid/src/super-grid.vue2.mjs +4 -0
- package/es/super-grid/src/utils.mjs +355 -0
- package/es/super-grid/src/view-image-dialog.vue.mjs +67 -0
- package/es/super-icon/index.mjs +7 -0
- package/es/super-icon/src/index.vue.mjs +7 -0
- package/es/super-icon/src/index.vue2.mjs +13 -0
- package/es/super-icon/src/index.vue3.mjs +4 -0
- package/es/super-nine-grid/index.mjs +7 -0
- package/es/super-nine-grid/src/apis.mjs +36 -0
- package/es/super-nine-grid/src/custom-formatter.mjs +35 -0
- package/es/super-nine-grid/src/formatter.mjs +37 -0
- package/es/super-nine-grid/src/search-form-number.vue.mjs +13 -0
- package/es/super-nine-grid/src/search-form.vue.mjs +91 -0
- package/es/super-nine-grid/src/search-form.vue2.mjs +4 -0
- package/es/super-nine-grid/src/search-methods.mjs +48 -0
- package/es/super-nine-grid/src/store.mjs +4 -0
- package/es/super-nine-grid/src/super-grid-service.mjs +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +225 -0
- package/es/super-nine-grid/src/super-nine-grid.vue2.mjs +4 -0
- package/es/super-nine-grid/src/utils.mjs +32 -0
- package/es/svg-icon/index.mjs +7 -0
- package/es/svg-icon/src/svg-icon.vue.mjs +14 -0
- package/es/svg-icon/src/svg-icon.vue2.mjs +4 -0
- package/es/utils/gogocodeTransfer.mjs +33 -0
- package/es/utils/memory-cache-utils.mjs +30 -0
- package/es/utils/organization.mjs +57 -0
- package/es/utils/utils.mjs +87 -0
- package/es/utils/value-set.mjs +94 -0
- package/es/valid-code/index.mjs +7 -0
- package/es/valid-code/src/valid-code.vue.mjs +23 -0
- package/es/valid-code/src/valid-code.vue2.mjs +4 -0
- package/es/workflow-button/index.mjs +7 -0
- package/es/workflow-button/src/workflow-button.vue.mjs +85 -0
- package/es/workflow-history-list/index.mjs +7 -0
- package/es/workflow-history-list/src/api.mjs +6 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.mjs +89 -0
- package/es/workflow-history-list/src/workflow-history-list.vue2.mjs +4 -0
- package/es/workgroup-tree/index.mjs +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.mjs +23 -0
- package/es/workgroup-tree-inline/index.mjs +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-tree-inline/src/search-result.vue2.mjs +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.mjs +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +35 -0
- package/es/workgroup-tree-mobile/index.mjs +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +16 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +15 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.mjs +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.mjs +33 -0
- package/es/workgroup-user-tree/index.mjs +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.mjs +23 -0
- package/es/workgroup-user-tree-inline/index.mjs +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue2.mjs +4 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +172 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +14 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +17 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +15 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.mjs +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.mjs +29 -0
- package/es/year-range-picker/index.mjs +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.mjs +14 -0
- package/lib/IntervalSelection/index.cjs +5 -0
- package/lib/IntervalSelection/src/sectionDate.vue.cjs +45 -0
- package/lib/breadcrumb/index.cjs +5 -0
- package/lib/breadcrumb/src/breadcrumb.vue.cjs +37 -0
- package/lib/chat-embed/index.cjs +5 -0
- package/lib/chat-embed/src/chat-addition-data.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-embed-message.cjs +16 -0
- package/lib/chat-embed/src/chat-sender.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-sender.vue2.cjs +147 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +108 -0
- package/lib/chat-embed/src/components/history-detail.vue.cjs +5 -0
- package/lib/chat-embed/src/components/history-detail.vue2.cjs +50 -0
- package/lib/chat-embed/src/header.vue.cjs +5 -0
- package/lib/chat-embed/src/header.vue2.cjs +39 -0
- package/lib/chat-embed/src/index.vue.cjs +5 -0
- package/lib/chat-embed/src/index.vue2.cjs +281 -0
- package/lib/chat-embed/src/recommendation-message.vue.cjs +5 -0
- package/lib/chat-embed/src/sidebar-item.vue.cjs +5 -0
- package/lib/chat-embed/src/sidebar-item.vue2.cjs +109 -0
- package/lib/chat-embed/src/util/history-message-util.cjs +74 -0
- package/lib/chat-embed/src/util/mcp-utils.cjs +50 -0
- package/lib/chat-embed/src/voice/index.cjs +5 -0
- package/lib/chat-embed/src/voice/voice.vue.cjs +95 -0
- package/lib/date-picker-range/index.cjs +5 -0
- package/lib/date-picker-range/index.vue.cjs +5 -0
- package/lib/department-tree/index.cjs +5 -0
- package/lib/department-tree/src/department-tree.vue.cjs +17 -0
- package/lib/department-tree-inline/index.cjs +5 -0
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.cjs +81 -0
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.cjs +54 -0
- package/lib/department-tree-inline/src/department-tree-inline.vue.cjs +12 -0
- package/lib/department-tree-inline/src/department-tree-service.cjs +106 -0
- package/lib/department-tree-inline/src/search-result.vue.cjs +36 -0
- package/lib/department-tree-mobile/index.cjs +5 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +12 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue3.cjs +3 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +110 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/department-user-tree/index.cjs +5 -0
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.cjs +16 -0
- package/lib/department-user-tree/src/department-user-single-tree.vue.cjs +14 -0
- package/lib/department-user-tree/src/department-user-tree.vue.cjs +21 -0
- package/lib/department-user-tree-inline/index.cjs +5 -0
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +154 -0
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +57 -0
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +11 -0
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.cjs +78 -0
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +51 -0
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.cjs +34 -0
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.cjs +22 -0
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.cjs +10 -0
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.cjs +72 -0
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.cjs +28 -0
- package/lib/department-user-tree-inline/src/search-result.vue.cjs +38 -0
- package/lib/department-user-tree-mobile/index.cjs +5 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +12 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.cjs +3 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +124 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +13 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/dynamic-source-select/index.cjs +5 -0
- package/lib/dynamic-source-select/src/dynamic-source-select-service.cjs +30 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.cjs +266 -0
- package/lib/empty-state/index.vue2.cjs +3 -0
- package/lib/fs-preview/index.cjs +5 -0
- package/lib/fs-preview/src/fs-preview.vue.cjs +111 -0
- package/lib/fs-upload/index.cjs +5 -0
- package/lib/fs-upload/src/fs-upload-multi.vue.cjs +63 -0
- package/lib/fs-upload/src/fs-upload-single.vue.cjs +64 -0
- package/lib/fs-upload/src/fs-upload.vue.cjs +18 -0
- package/lib/fs-upload/src/see-big-picture.vue.cjs +9 -0
- package/lib/fs-upload-list/index.cjs +5 -0
- package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +91 -0
- package/lib/fs-upload-new/index.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +57 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +170 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +32 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +41 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +29 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +84 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +54 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue2.cjs +3 -0
- package/lib/hamburger/index.cjs +5 -0
- package/lib/hamburger/src/hamburger.vue.cjs +11 -0
- package/lib/index.cjs +41 -0
- package/lib/json-view/json-view-dialog.vue.cjs +16 -0
- package/lib/json-view/json-view-dialog.vue2.cjs +3 -0
- package/lib/json-view/json-view.vue.cjs +3 -0
- package/lib/multipart-upload/index.cjs +5 -0
- package/lib/multipart-upload/src/index.vue.cjs +10 -0
- package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +73 -0
- package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +96 -0
- package/lib/organization-input/index.cjs +5 -0
- package/lib/organization-input/src/organization-input.vue.cjs +218 -0
- package/lib/plugins/export-data-new.cjs +229 -0
- package/lib/plugins/export-data.cjs +173 -0
- package/lib/plugins/index.cjs +5 -0
- package/lib/remove-department/index.cjs +5 -0
- package/lib/remove-department/src/remove-department.vue.cjs +27 -0
- package/lib/remove-user/index.cjs +5 -0
- package/lib/remove-user/src/remove-user.vue.cjs +29 -0
- package/lib/remove-workgroup/index.cjs +5 -0
- package/lib/remove-workgroup/src/remove-workgroup.vue.cjs +25 -0
- package/lib/rich-editor/index.cjs +5 -0
- package/lib/rich-editor/index.vue.cjs +67 -0
- package/lib/rich-editor/viewer.vue.cjs +24 -0
- package/lib/row-form/index.cjs +5 -0
- package/lib/row-form/index.vue.cjs +5 -0
- package/lib/row-form/index.vue2.cjs +56 -0
- package/lib/row-form/operation.vue.cjs +28 -0
- package/lib/row-form/operation.vue2.cjs +3 -0
- package/lib/scan-code-input/index.cjs +5 -0
- package/lib/scan-code-input/src/events.cjs +13 -0
- package/lib/scan-code-input/src/scan-code-input.vue.cjs +26 -0
- package/lib/scan-code-input-browser/index.cjs +5 -0
- package/lib/scan-code-input-browser/src/scan-code-input.vue.cjs +34 -0
- package/lib/secret-info/index.cjs +5 -0
- package/lib/secret-info/index.vue.cjs +13 -0
- package/lib/src/api/sso-service.cjs +55 -0
- package/lib/src/components/Affix/index.vue.cjs +5 -0
- package/lib/src/components/Card/index.cjs +43 -0
- package/lib/src/components/Scrollbar/index.vue.cjs +48 -0
- package/lib/src/directives/permission/index.cjs +5 -0
- package/lib/src/directives/permission/permission.cjs +9 -0
- package/lib/src/i18n/i18n.cjs +3 -0
- package/lib/src/permission.cjs +76 -0
- package/lib/src/router/index.cjs +16 -0
- package/lib/src/store/index.cjs +16 -0
- package/lib/src/store/modules/permission.cjs +30 -0
- package/lib/src/store/modules/system.cjs +10 -0
- package/lib/src/store/modules/tab-content.cjs +18 -0
- package/lib/src/store/modules/user.cjs +133 -0
- package/lib/src/utils/auth.cjs +86 -0
- package/lib/src/utils/calculator/calculator-util.cjs +53 -0
- package/lib/src/utils/common-util.cjs +355 -0
- package/lib/src/utils/jump-page-utils.cjs +256 -0
- package/lib/src/utils/menu.cjs +13 -0
- package/lib/src/utils/permission.cjs +41 -0
- package/lib/src/utils/permissionAuth.cjs +120 -0
- package/lib/src/utils/range-selector.cjs +101 -0
- package/lib/src/utils/request.cjs +131 -0
- package/lib/src/utils/util.cjs +341 -0
- package/lib/src/utils/voice-setting-cache.cjs +199 -0
- package/lib/src/utils/watermark.cjs +33 -0
- package/lib/src/utils/workflow-util.cjs +41 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue.cjs +5 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.cjs +9 -0
- package/lib/src/views/dsc-component/Sidebar/Link.vue.cjs +11 -0
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.cjs +46 -0
- package/lib/src/views/dsc-component/Sidebar/index.vue.cjs +103 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue.cjs +61 -0
- package/lib/src/views/error-page/401.vue.cjs +11 -0
- package/lib/src/views/error-page/404.vue.cjs +8 -0
- package/lib/src/views/layout/EmptyLayout.vue.cjs +7 -0
- package/lib/src/views/layout/Layout.vue.cjs +21 -0
- package/lib/src/views/layout/NewLayout.vue.cjs +7 -0
- package/lib/src/views/layout/components/AppMain.vue.cjs +11 -0
- package/lib/src/views/layout/components/Breadcrumb/index.vue.cjs +56 -0
- package/lib/src/views/layout/components/Menubar/Item.vue.cjs +5 -0
- package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +13 -0
- package/lib/src/views/layout/components/Menubar/Link.vue.cjs +11 -0
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.cjs +47 -0
- package/lib/src/views/layout/components/Menubar/index.vue.cjs +79 -0
- package/lib/src/views/layout/components/Sidebar/Item.vue2.cjs +3 -0
- package/lib/src/views/layout/components/Sidebar/Link.vue.cjs +9 -0
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.cjs +16 -0
- package/lib/src/views/layout/components/Sidebar/index.vue.cjs +51 -0
- package/lib/src/views/layout/components/iframe-page.vue.cjs +12 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue.cjs +60 -0
- package/lib/src/views/layout/mixin/ResizeHandler.cjs +14 -0
- package/lib/src/views/layout/tab-content-iframe-index.vue.cjs +12 -0
- package/lib/src/views/layout/tab-content-index.vue.cjs +22 -0
- package/lib/src/views/wf-history/tache-subprocess-history.vue.cjs +12 -0
- package/lib/style.css +1004 -1004
- package/lib/super-grid/index.cjs +5 -0
- package/lib/super-grid/src/apis.cjs +448 -0
- package/lib/super-grid/src/columns-config.vue.cjs +76 -0
- package/lib/super-grid/src/components/grid-icon.vue.cjs +39 -0
- package/lib/super-grid/src/components/grid-radio-input.vue.cjs +22 -0
- package/lib/super-grid/src/components/grid-radio-input.vue2.cjs +3 -0
- package/lib/super-grid/src/components/mobile-table-card.cjs +99 -0
- package/lib/super-grid/src/components/select-input.vue.cjs +141 -0
- package/lib/super-grid/src/components/select-input.vue2.cjs +3 -0
- package/lib/super-grid/src/custom-formatter.cjs +163 -0
- package/lib/super-grid/src/dynamic-input.vue.cjs +465 -0
- package/lib/super-grid/src/events.cjs +35 -0
- package/lib/super-grid/src/formValidatorUtil.cjs +106 -0
- package/lib/super-grid/src/group-column.vue.cjs +19 -0
- package/lib/super-grid/src/header-context-menu.vue.cjs +12 -0
- package/lib/super-grid/src/index-column.vue.cjs +19 -0
- package/lib/super-grid/src/normal-column-content.vue.cjs +300 -0
- package/lib/super-grid/src/normal-column.vue.cjs +91 -0
- package/lib/super-grid/src/row-detail.vue.cjs +11 -0
- package/lib/super-grid/src/row-operation.vue.cjs +82 -0
- package/lib/super-grid/src/scan-util.cjs +98 -0
- package/lib/super-grid/src/search-button.vue.cjs +18 -0
- package/lib/super-grid/src/search-condition-input.vue.cjs +13 -0
- package/lib/super-grid/src/search-condition-list.vue.cjs +17 -0
- package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +106 -0
- package/lib/super-grid/src/search-form-dialog.vue.cjs +12 -0
- package/lib/super-grid/src/search-form-item.vue.cjs +120 -0
- package/lib/super-grid/src/search-form-mobile.vue.cjs +32 -0
- package/lib/super-grid/src/search-form-number.vue.cjs +21 -0
- package/lib/super-grid/src/search-form-open.vue.cjs +44 -0
- package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +31 -0
- package/lib/super-grid/src/search-form.vue.cjs +189 -0
- package/lib/super-grid/src/selection-column.vue.cjs +9 -0
- package/lib/super-grid/src/super-grid-service.cjs +253 -0
- package/lib/super-grid/src/super-grid.vue.cjs +1021 -0
- package/lib/super-grid/src/utils.cjs +298 -0
- package/lib/super-grid/src/view-image-dialog.vue.cjs +60 -0
- package/lib/super-icon/index.cjs +5 -0
- package/lib/super-icon/src/index.vue.cjs +5 -0
- package/lib/super-icon/src/index.vue2.cjs +10 -0
- package/lib/super-nine-grid/index.cjs +5 -0
- package/lib/super-nine-grid/src/apis.cjs +33 -0
- package/lib/super-nine-grid/src/custom-formatter.cjs +33 -0
- package/lib/super-nine-grid/src/search-form-number.vue.cjs +9 -0
- package/lib/super-nine-grid/src/search-form.vue.cjs +84 -0
- package/lib/super-nine-grid/src/super-grid-service.cjs +35 -0
- package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +215 -0
- package/lib/super-nine-grid/src/utils.cjs +36 -0
- package/lib/svg-icon/index.cjs +5 -0
- package/lib/svg-icon/src/svg-icon.vue.cjs +12 -0
- package/lib/utils/memory-cache-utils.cjs +28 -0
- package/lib/utils/utils.cjs +85 -0
- package/lib/utils/value-set.cjs +92 -0
- package/lib/valid-code/index.cjs +5 -0
- package/lib/valid-code/src/valid-code.vue.cjs +20 -0
- package/lib/workflow-button/index.cjs +5 -0
- package/lib/workflow-button/src/workflow-button.vue.cjs +80 -0
- package/lib/workflow-history-list/index.cjs +5 -0
- package/lib/workflow-history-list/src/workflow-history-list.vue.cjs +83 -0
- package/lib/workgroup-tree/index.cjs +5 -0
- package/lib/workgroup-tree/src/workgroup-tree.vue.cjs +17 -0
- package/lib/workgroup-tree-inline/index.cjs +5 -0
- package/lib/workgroup-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +119 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.cjs +33 -0
- package/lib/workgroup-tree-mobile/index.cjs +5 -0
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +12 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +99 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.cjs +3 -0
- package/lib/workgroup-user-tree/index.cjs +5 -0
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.cjs +17 -0
- package/lib/workgroup-user-tree-inline/index.cjs +5 -0
- package/lib/workgroup-user-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.cjs +71 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +163 -0
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +13 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +12 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +124 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/year-range-picker/index.cjs +5 -0
- package/lib/year-range-picker/src/year-range-picker.vue.cjs +11 -0
- package/package.json +3 -2
- package/vite.config.js +11 -11
- package/lib/IntervalSelection/index.js +0 -5
- package/lib/IntervalSelection/src/sectionDate.vue.js +0 -45
- package/lib/breadcrumb/index.js +0 -5
- package/lib/breadcrumb/src/breadcrumb.vue.js +0 -37
- package/lib/chat-embed/index.js +0 -5
- package/lib/chat-embed/src/chat-addition-data.vue.js +0 -5
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -5
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -5
- package/lib/chat-embed/src/chat-embed-message.js +0 -16
- package/lib/chat-embed/src/chat-sender.vue.js +0 -5
- package/lib/chat-embed/src/chat-sender.vue2.js +0 -147
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -5
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -108
- package/lib/chat-embed/src/components/history-detail.vue.js +0 -5
- package/lib/chat-embed/src/components/history-detail.vue2.js +0 -50
- package/lib/chat-embed/src/header.vue.js +0 -5
- package/lib/chat-embed/src/header.vue2.js +0 -39
- package/lib/chat-embed/src/index.vue.js +0 -5
- package/lib/chat-embed/src/index.vue2.js +0 -281
- package/lib/chat-embed/src/recommendation-message.vue.js +0 -5
- package/lib/chat-embed/src/sidebar-item.vue.js +0 -5
- package/lib/chat-embed/src/sidebar-item.vue2.js +0 -109
- package/lib/chat-embed/src/util/history-message-util.js +0 -74
- package/lib/chat-embed/src/util/mcp-utils.js +0 -50
- package/lib/chat-embed/src/voice/index.js +0 -5
- package/lib/chat-embed/src/voice/voice.vue.js +0 -95
- package/lib/date-picker-range/index.js +0 -5
- package/lib/date-picker-range/index.vue.js +0 -5
- package/lib/department-tree/index.js +0 -5
- package/lib/department-tree/src/department-tree.vue.js +0 -17
- package/lib/department-tree-inline/index.js +0 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -81
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -54
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -12
- package/lib/department-tree-inline/src/department-tree-service.js +0 -106
- package/lib/department-tree-inline/src/search-result.vue.js +0 -36
- package/lib/department-tree-mobile/index.js +0 -5
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -12
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -3
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -110
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -3
- package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -3
- package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -3
- package/lib/department-user-tree/index.js +0 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -16
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -14
- package/lib/department-user-tree/src/department-user-tree.vue.js +0 -21
- package/lib/department-user-tree-inline/index.js +0 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -154
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -57
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -11
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -78
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -51
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -34
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -22
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -10
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -72
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -28
- package/lib/department-user-tree-inline/src/search-result.vue.js +0 -38
- package/lib/department-user-tree-mobile/index.js +0 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -12
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -124
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -3
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -3
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -13
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -3
- package/lib/dynamic-source-select/index.js +0 -5
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -30
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -266
- package/lib/empty-state/index.vue2.js +0 -3
- package/lib/fs-preview/index.js +0 -5
- package/lib/fs-preview/src/fs-preview.vue.js +0 -111
- package/lib/fs-upload/index.js +0 -5
- package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -63
- package/lib/fs-upload/src/fs-upload-single.vue.js +0 -64
- package/lib/fs-upload/src/fs-upload.vue.js +0 -18
- package/lib/fs-upload/src/see-big-picture.vue.js +0 -9
- package/lib/fs-upload-list/index.js +0 -5
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -91
- package/lib/fs-upload-new/index.js +0 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -57
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -170
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -32
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -41
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -29
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -3
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -5
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -55
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -5
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -55
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -5
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -84
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -54
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -3
- package/lib/hamburger/index.js +0 -5
- package/lib/hamburger/src/hamburger.vue.js +0 -11
- package/lib/index.js +0 -41
- package/lib/json-view/json-view-dialog.vue.js +0 -16
- package/lib/json-view/json-view-dialog.vue2.js +0 -3
- package/lib/json-view/json-view.vue.js +0 -3
- package/lib/multipart-upload/index.js +0 -5
- package/lib/multipart-upload/src/index.vue.js +0 -10
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -73
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -96
- package/lib/organization-input/index.js +0 -5
- package/lib/organization-input/src/organization-input.vue.js +0 -218
- package/lib/plugins/export-data-new.js +0 -229
- package/lib/plugins/export-data.js +0 -173
- package/lib/plugins/index.js +0 -5
- package/lib/remove-department/index.js +0 -5
- package/lib/remove-department/src/remove-department.vue.js +0 -27
- package/lib/remove-user/index.js +0 -5
- package/lib/remove-user/src/remove-user.vue.js +0 -29
- package/lib/remove-workgroup/index.js +0 -5
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -25
- package/lib/rich-editor/index.js +0 -5
- package/lib/rich-editor/index.vue.js +0 -67
- package/lib/rich-editor/viewer.vue.js +0 -24
- package/lib/row-form/index.js +0 -5
- package/lib/row-form/index.vue.js +0 -5
- package/lib/row-form/index.vue2.js +0 -56
- package/lib/row-form/operation.vue.js +0 -28
- package/lib/row-form/operation.vue2.js +0 -3
- package/lib/scan-code-input/index.js +0 -5
- package/lib/scan-code-input/src/events.js +0 -13
- package/lib/scan-code-input/src/scan-code-input.vue.js +0 -26
- package/lib/scan-code-input-browser/index.js +0 -5
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -34
- package/lib/secret-info/index.js +0 -5
- package/lib/secret-info/index.vue.js +0 -13
- package/lib/src/api/sso-service.js +0 -55
- package/lib/src/components/Affix/index.vue.js +0 -5
- package/lib/src/components/Card/index.js +0 -43
- package/lib/src/components/Scrollbar/index.vue.js +0 -48
- package/lib/src/directives/permission/index.js +0 -5
- package/lib/src/directives/permission/permission.js +0 -9
- package/lib/src/i18n/i18n.js +0 -3
- package/lib/src/permission.js +0 -76
- package/lib/src/router/index.js +0 -16
- package/lib/src/store/index.js +0 -16
- package/lib/src/store/modules/permission.js +0 -30
- package/lib/src/store/modules/system.js +0 -10
- package/lib/src/store/modules/tab-content.js +0 -18
- package/lib/src/store/modules/user.js +0 -133
- package/lib/src/utils/auth.js +0 -86
- package/lib/src/utils/calculator/calculator-util.js +0 -53
- package/lib/src/utils/common-util.js +0 -355
- package/lib/src/utils/jump-page-utils.js +0 -256
- package/lib/src/utils/menu.js +0 -13
- package/lib/src/utils/permission.js +0 -41
- package/lib/src/utils/permissionAuth.js +0 -120
- package/lib/src/utils/range-selector.js +0 -101
- package/lib/src/utils/request.js +0 -131
- package/lib/src/utils/util.js +0 -341
- package/lib/src/utils/voice-setting-cache.js +0 -199
- package/lib/src/utils/watermark.js +0 -33
- package/lib/src/utils/workflow-util.js +0 -41
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -5
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -9
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -11
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -46
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -103
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -61
- package/lib/src/views/error-page/401.vue.js +0 -11
- package/lib/src/views/error-page/404.vue.js +0 -8
- package/lib/src/views/layout/EmptyLayout.vue.js +0 -7
- package/lib/src/views/layout/Layout.vue.js +0 -21
- package/lib/src/views/layout/NewLayout.vue.js +0 -7
- package/lib/src/views/layout/components/AppMain.vue.js +0 -11
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -56
- package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -5
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -13
- package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -11
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -47
- package/lib/src/views/layout/components/Menubar/index.vue.js +0 -79
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -3
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -9
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -16
- package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -51
- package/lib/src/views/layout/components/iframe-page.vue.js +0 -12
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -60
- package/lib/src/views/layout/mixin/ResizeHandler.js +0 -14
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -12
- package/lib/src/views/layout/tab-content-index.vue.js +0 -22
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -12
- package/lib/super-grid/index.js +0 -5
- package/lib/super-grid/src/apis.js +0 -448
- package/lib/super-grid/src/columns-config.vue.js +0 -76
- package/lib/super-grid/src/components/grid-icon.vue.js +0 -39
- package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -22
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -3
- package/lib/super-grid/src/components/mobile-table-card.js +0 -99
- package/lib/super-grid/src/components/select-input.vue.js +0 -141
- package/lib/super-grid/src/components/select-input.vue2.js +0 -3
- package/lib/super-grid/src/custom-formatter.js +0 -163
- package/lib/super-grid/src/dynamic-input.vue.js +0 -465
- package/lib/super-grid/src/events.js +0 -35
- package/lib/super-grid/src/formValidatorUtil.js +0 -106
- package/lib/super-grid/src/group-column.vue.js +0 -19
- package/lib/super-grid/src/header-context-menu.vue.js +0 -12
- package/lib/super-grid/src/index-column.vue.js +0 -19
- package/lib/super-grid/src/normal-column-content.vue.js +0 -300
- package/lib/super-grid/src/normal-column.vue.js +0 -91
- package/lib/super-grid/src/row-detail.vue.js +0 -11
- package/lib/super-grid/src/row-operation.vue.js +0 -82
- package/lib/super-grid/src/scan-util.js +0 -98
- package/lib/super-grid/src/search-button.vue.js +0 -18
- package/lib/super-grid/src/search-condition-input.vue.js +0 -13
- package/lib/super-grid/src/search-condition-list.vue.js +0 -17
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -106
- package/lib/super-grid/src/search-form-dialog.vue.js +0 -12
- package/lib/super-grid/src/search-form-item.vue.js +0 -120
- package/lib/super-grid/src/search-form-mobile.vue.js +0 -32
- package/lib/super-grid/src/search-form-number.vue.js +0 -21
- package/lib/super-grid/src/search-form-open.vue.js +0 -44
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -31
- package/lib/super-grid/src/search-form.vue.js +0 -189
- package/lib/super-grid/src/selection-column.vue.js +0 -9
- package/lib/super-grid/src/super-grid-service.js +0 -253
- package/lib/super-grid/src/super-grid.vue.js +0 -1021
- package/lib/super-grid/src/utils.js +0 -298
- package/lib/super-grid/src/view-image-dialog.vue.js +0 -60
- package/lib/super-icon/index.js +0 -5
- package/lib/super-icon/src/index.vue.js +0 -5
- package/lib/super-icon/src/index.vue2.js +0 -10
- package/lib/super-nine-grid/index.js +0 -5
- package/lib/super-nine-grid/src/apis.js +0 -33
- package/lib/super-nine-grid/src/custom-formatter.js +0 -33
- package/lib/super-nine-grid/src/search-form-number.vue.js +0 -9
- package/lib/super-nine-grid/src/search-form.vue.js +0 -84
- package/lib/super-nine-grid/src/super-grid-service.js +0 -35
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -215
- package/lib/super-nine-grid/src/utils.js +0 -36
- package/lib/svg-icon/index.js +0 -5
- package/lib/svg-icon/src/svg-icon.vue.js +0 -12
- package/lib/utils/memory-cache-utils.js +0 -28
- package/lib/utils/utils.js +0 -85
- package/lib/utils/value-set.js +0 -92
- package/lib/valid-code/index.js +0 -5
- package/lib/valid-code/src/valid-code.vue.js +0 -20
- package/lib/workflow-button/index.js +0 -5
- package/lib/workflow-button/src/workflow-button.vue.js +0 -80
- package/lib/workflow-history-list/index.js +0 -5
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -83
- package/lib/workgroup-tree/index.js +0 -5
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -17
- package/lib/workgroup-tree-inline/index.js +0 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -35
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -119
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -33
- package/lib/workgroup-tree-mobile/index.js +0 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -12
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -99
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -3
- package/lib/workgroup-user-tree/index.js +0 -5
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -17
- package/lib/workgroup-user-tree-inline/index.js +0 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -35
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -71
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -163
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -3
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -13
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -12
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -124
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -3
- package/lib/year-range-picker/index.js +0 -5
- package/lib/year-range-picker/src/year-range-picker.vue.js +0 -11
- /package/lib/IntervalSelection/src/{sectionDate.vue2.js → sectionDate.vue2.cjs} +0 -0
- /package/lib/_virtual/{__vite-browser-external.js → __vite-browser-external.cjs} +0 -0
- /package/lib/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.cjs} +0 -0
- /package/lib/breadcrumb/src/{breadcrumb.vue2.js → breadcrumb.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-addition-data.vue2.js → chat-addition-data.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-addition-data.vue3.js → chat-addition-data.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-ai-answer-tip.vue2.js → chat-ai-answer-tip.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-ai-answer-tip.vue3.js → chat-ai-answer-tip.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-bubble-footer.vue2.js → chat-bubble-footer.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-bubble-footer.vue3.js → chat-bubble-footer.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-sender.vue3.js → chat-sender.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-auto-chart.vue2.js → answer-auto-chart.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-auto-chart.vue3.js → answer-auto-chart.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-home-chart.vue2.js → answer-home-chart.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-home-chart.vue3.js → answer-home-chart.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-interaction-data.vue3.js → answer-interaction-data.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/components/{history-detail.vue3.js → history-detail.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{header.vue3.js → header.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{recommendation-message.vue2.js → recommendation-message.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{recommendation-message.vue3.js → recommendation-message.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{sidebar-item.vue3.js → sidebar-item.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{type.js → type.cjs} +0 -0
- /package/lib/chat-embed/src/util/{chat-embed-util.js → chat-embed-util.cjs} +0 -0
- /package/lib/chat-embed/src/util/{text-file-util.js → text-file-util.cjs} +0 -0
- /package/lib/chat-embed/src/voice/js/{crypto-js.js → crypto-js.cjs} +0 -0
- /package/lib/chat-embed/src/voice/js/processor/{index.umd.js → index.umd.cjs} +0 -0
- /package/lib/chat-embed/src/voice/js/{timer.js → timer.cjs} +0 -0
- /package/lib/date-picker-range/{index.vue2.js → index.vue2.cjs} +0 -0
- /package/lib/date-picker-range/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/department-tree-inline/src/{department-multi-tree-inline.vue2.js → department-multi-tree-inline.vue2.cjs} +0 -0
- /package/lib/department-tree-inline/src/{department-single-tree-inline.vue2.js → department-single-tree-inline.vue2.cjs} +0 -0
- /package/lib/department-tree-inline/src/{search-result.vue2.js → search-result.vue2.cjs} +0 -0
- /package/lib/department-tree-mobile/src/{department-tree-app.vue2.js → department-tree-app.vue2.cjs} +0 -0
- /package/lib/department-tree-mobile/src/{department-tree-service.js → department-tree-service.cjs} +0 -0
- /package/lib/department-tree-mobile/src/{dept-path.vue.js → dept-path.vue.cjs} +0 -0
- /package/lib/department-tree-mobile/src/{dept-result.vue.js → dept-result.vue.cjs} +0 -0
- /package/lib/department-user-tree/src/{department-user-multiple-tree.vue2.js → department-user-multiple-tree.vue2.cjs} +0 -0
- /package/lib/department-user-tree-inline/src/{department-user-multiple-tree-inline.vue2.js → department-user-multiple-tree-inline.vue2.cjs} +0 -0
- /package/lib/department-user-tree-inline/src/{department-user-single-tree-inline.vue2.js → department-user-single-tree-inline.vue2.cjs} +0 -0
- /package/lib/department-user-tree-inline/src/{group-user-tree-service.js → group-user-tree-service.cjs} +0 -0
- /package/lib/department-user-tree-inline/src/{search-result.vue2.js → search-result.vue2.cjs} +0 -0
- /package/lib/department-user-tree-mobile/src/{department-user-tree-app.vue2.js → department-user-tree-app.vue2.cjs} +0 -0
- /package/lib/department-user-tree-mobile/src/{department-user-tree-service.js → department-user-tree-service.cjs} +0 -0
- /package/lib/department-user-tree-mobile/src/{dept-path.vue.js → dept-path.vue.cjs} +0 -0
- /package/lib/directives/{prevent-reclick.js → prevent-reclick.cjs} +0 -0
- /package/lib/dynamic-source-select/src/{dynamic-source-select.vue2.js → dynamic-source-select.vue2.cjs} +0 -0
- /package/lib/dynamic-source-select/src/{dynamic-source-select.vue3.js → dynamic-source-select.vue3.cjs} +0 -0
- /package/lib/dynamic-source-select/src/{events.js → events.cjs} +0 -0
- /package/lib/empty-state/{index.vue.js → index.vue.cjs} +0 -0
- /package/lib/fs-preview/src/{fs-preview.vue2.js → fs-preview.vue2.cjs} +0 -0
- /package/lib/fs-upload-list/src/{fs-upload-list.vue2.js → fs-upload-list.vue2.cjs} +0 -0
- /package/lib/fs-upload-new/src/file-upload-mobile/{file-upload-component.vue3.js → file-upload-component.vue3.cjs} +0 -0
- /package/lib/fs-upload-new/src/{fs-button-upload.vue3.js → fs-button-upload.vue3.cjs} +0 -0
- /package/lib/fs-upload-new/src/{fs-drag-upload.vue3.js → fs-drag-upload.vue3.cjs} +0 -0
- /package/lib/fs-upload-new/src/{fs-preview-new.vue3.js → fs-preview-new.vue3.cjs} +0 -0
- /package/lib/fs-upload-new/src/{fs-preview-new.vue4.js → fs-preview-new.vue4.cjs} +0 -0
- /package/lib/hamburger/src/{hamburger.vue2.js → hamburger.vue2.cjs} +0 -0
- /package/lib/json-view/{json-view.vue2.js → json-view.vue2.cjs} +0 -0
- /package/lib/organization-input/src/{organization-input.vue2.js → organization-input.vue2.cjs} +0 -0
- /package/lib/plugins/{public-method.js → public-method.cjs} +0 -0
- /package/lib/remove-department/src/{remove-dept-service.js → remove-dept-service.cjs} +0 -0
- /package/lib/remove-user/src/{remove-user-service.js → remove-user-service.cjs} +0 -0
- /package/lib/remove-workgroup/src/{remove-workgroup-service.js → remove-workgroup-service.cjs} +0 -0
- /package/lib/rich-editor/tinymce/{zh_CN.js → zh_CN.cjs} +0 -0
- /package/lib/row-form/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/src/api/{tab.js → tab.cjs} +0 -0
- /package/lib/src/assets/401/{401.gif.js → 401.gif.cjs} +0 -0
- /package/lib/src/assets/404/{404-cloud.png.js → 404-cloud.png.cjs} +0 -0
- /package/lib/src/assets/404/{404.png.js → 404.png.cjs} +0 -0
- /package/lib/src/assets/chat-embed/{robot.gif.js → robot.gif.cjs} +0 -0
- /package/lib/src/assets/chat-embed/{robot.svg.js → robot.svg.cjs} +0 -0
- /package/lib/src/assets/{nonemessage.png.js → nonemessage.png.cjs} +0 -0
- /package/lib/src/components/Affix/{index.vue2.js → index.vue2.cjs} +0 -0
- /package/lib/src/components/Affix/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/src/components/Scrollbar/{index.vue2.js → index.vue2.cjs} +0 -0
- /package/lib/src/i18n/langs/{cn.js → cn.cjs} +0 -0
- /package/lib/src/i18n/langs/{en.js → en.cjs} +0 -0
- /package/lib/src/mixins/{resizeMixin.js → resizeMixin.cjs} +0 -0
- /package/lib/src/store/{getters.js → getters.cjs} +0 -0
- /package/lib/src/store/modules/{app.js → app.cjs} +0 -0
- /package/lib/src/store/modules/{chat-ai-store.js → chat-ai-store.cjs} +0 -0
- /package/lib/src/store/modules/{table.js → table.cjs} +0 -0
- /package/lib/src/utils/{auth-api.js → auth-api.cjs} +0 -0
- /package/lib/src/utils/calculator/{calculator-factory-wf.js → calculator-factory-wf.cjs} +0 -0
- /package/lib/src/utils/calculator/{calculator-factory.js → calculator-factory.cjs} +0 -0
- /package/lib/src/utils/{chat-ai-util.js → chat-ai-util.cjs} +0 -0
- /package/lib/src/utils/{eventBus.js → eventBus.cjs} +0 -0
- /package/lib/src/utils/{file-util.js → file-util.cjs} +0 -0
- /package/lib/src/utils/{global-prop.js → global-prop.cjs} +0 -0
- /package/lib/src/utils/{guid.js → guid.cjs} +0 -0
- /package/lib/src/utils/{i18n-util.js → i18n-util.cjs} +0 -0
- /package/lib/src/utils/{iconUtils.js → iconUtils.cjs} +0 -0
- /package/lib/src/utils/{index.js → index.cjs} +0 -0
- /package/lib/src/utils/{insert_css.js → insert_css.cjs} +0 -0
- /package/lib/src/utils/{json-util.js → json-util.cjs} +0 -0
- /package/lib/src/utils/{local-storage.js → local-storage.cjs} +0 -0
- /package/lib/src/utils/{resize.js → resize.cjs} +0 -0
- /package/lib/src/utils/{restful-interface-utils.js → restful-interface-utils.cjs} +0 -0
- /package/lib/src/utils/{validate.js → validate.cjs} +0 -0
- /package/lib/src/utils/{watermark-cache.js → watermark-cache.cjs} +0 -0
- /package/lib/src/views/dsc-component/Sidebar/{Item.vue3.js → Item.vue3.cjs} +0 -0
- /package/lib/src/views/dsc-component/Sidebar/{SidebarItem.vue2.js → SidebarItem.vue2.cjs} +0 -0
- /package/lib/src/views/dsc-component/tabs/{tab-content.vue2.js → tab-content.vue2.cjs} +0 -0
- /package/lib/src/views/dsc-component/tabs/{tab-content.vue3.js → tab-content.vue3.cjs} +0 -0
- /package/lib/src/views/error-page/{401.vue2.js → 401.vue2.cjs} +0 -0
- /package/lib/src/views/error-page/{404.vue2.js → 404.vue2.cjs} +0 -0
- /package/lib/src/views/layout/{Layout.vue2.js → Layout.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/{AppMain.vue2.js → AppMain.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/Breadcrumb/{index.vue2.js → index.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/Menubar/{Item.vue3.js → Item.vue3.cjs} +0 -0
- /package/lib/src/views/layout/components/Menubar/{SidebarItem.vue2.js → SidebarItem.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/Sidebar/{Item.vue.js → Item.vue.cjs} +0 -0
- /package/lib/src/views/layout/components/Sidebar/{SidebarItem.vue2.js → SidebarItem.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/{iframe-page.vue2.js → iframe-page.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/tabs/{tab-content.vue2.js → tab-content.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/tabs/{tab-content.vue3.js → tab-content.vue3.cjs} +0 -0
- /package/lib/src/views/layout/{tab-content-iframe-index.vue2.js → tab-content-iframe-index.vue2.cjs} +0 -0
- /package/lib/src/views/layout/{tab-content-index.vue2.js → tab-content-index.vue2.cjs} +0 -0
- /package/lib/src/views/login/{authredirect.vue.js → authredirect.vue.cjs} +0 -0
- /package/lib/src/views/redirect/{index.vue.js → index.vue.cjs} +0 -0
- /package/lib/src/views/svg-icon/src/{svg-icon.vue.js → svg-icon.vue.cjs} +0 -0
- /package/lib/src/views/wf-history/{tache-subprocess-history.vue2.js → tache-subprocess-history.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{eventBus.js → eventBus.cjs} +0 -0
- /package/lib/super-grid/src/{formatter.js → formatter.cjs} +0 -0
- /package/lib/super-grid/src/{header-context-menu.vue2.js → header-context-menu.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{normal-column-content.vue2.js → normal-column-content.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{normal-column.vue2.js → normal-column.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{public-methods.js → public-methods.cjs} +0 -0
- /package/lib/super-grid/src/{row-operation.vue2.js → row-operation.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form-advancedQuery.vue2.js → search-form-advancedQuery.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form-item.vue2.js → search-form-item.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form-mobile.vue2.js → search-form-mobile.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form-ordinarySearch.vue2.js → search-form-ordinarySearch.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form.vue2.js → search-form.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-methods.js → search-methods.cjs} +0 -0
- /package/lib/super-grid/src/{store.js → store.cjs} +0 -0
- /package/lib/super-grid/src/{super-grid.vue2.js → super-grid.vue2.cjs} +0 -0
- /package/lib/super-icon/src/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/super-nine-grid/src/{formatter.js → formatter.cjs} +0 -0
- /package/lib/super-nine-grid/src/{search-form.vue2.js → search-form.vue2.cjs} +0 -0
- /package/lib/super-nine-grid/src/{search-methods.js → search-methods.cjs} +0 -0
- /package/lib/super-nine-grid/src/{store.js → store.cjs} +0 -0
- /package/lib/super-nine-grid/src/{super-nine-grid.vue2.js → super-nine-grid.vue2.cjs} +0 -0
- /package/lib/svg-icon/src/{svg-icon.vue2.js → svg-icon.vue2.cjs} +0 -0
- /package/lib/utils/{gogocodeTransfer.js → gogocodeTransfer.cjs} +0 -0
- /package/lib/utils/{organization.js → organization.cjs} +0 -0
- /package/lib/valid-code/src/{valid-code.vue2.js → valid-code.vue2.cjs} +0 -0
- /package/lib/workflow-history-list/src/{api.js → api.cjs} +0 -0
- /package/lib/workflow-history-list/src/{workflow-history-list.vue2.js → workflow-history-list.vue2.cjs} +0 -0
- /package/lib/workgroup-tree-inline/src/{search-result.vue2.js → search-result.vue2.cjs} +0 -0
- /package/lib/workgroup-tree-inline/src/{workgroup-tree-inline.vue2.js → workgroup-tree-inline.vue2.cjs} +0 -0
- /package/lib/workgroup-tree-mobile/src/{dept-result.vue.js → dept-result.vue.cjs} +0 -0
- /package/lib/workgroup-tree-mobile/src/{workgroup-tree-app.vue2.js → workgroup-tree-app.vue2.cjs} +0 -0
- /package/lib/workgroup-tree-mobile/src/{workgroup-tree-service.js → workgroup-tree-service.cjs} +0 -0
- /package/lib/workgroup-user-tree-inline/src/{search-result.vue2.js → search-result.vue2.cjs} +0 -0
- /package/lib/workgroup-user-tree-inline/src/{workgroup-user-tree-inline.vue2.js → workgroup-user-tree-inline.vue2.cjs} +0 -0
- /package/lib/workgroup-user-tree-mobile/src/{dept-path.vue.js → dept-path.vue.cjs} +0 -0
- /package/lib/workgroup-user-tree-mobile/src/{workgroup-user-tree-app.vue2.js → workgroup-user-tree-app.vue2.cjs} +0 -0
- /package/lib/workgroup-user-tree-mobile/src/{workgroup-user-tree-service.js → workgroup-user-tree-service.cjs} +0 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vuex"), t = require("./custom-formatter.cjs"), i = require("../../super-icon/src/index.vue.cjs"), n = require("../../src/utils/util.cjs"), o = require("./store.cjs"), l = require("vue");
|
|
3
|
+
require("./row-operation.vue2.cjs");
|
|
4
|
+
const s = require("../../_virtual/_plugin-vue_export-helper.cjs")({ name: "RowOperation", components: { superIcon: i }, props: { editing: { type: Boolean, default: false }, isTableBtnLink: { type: [Boolean], default: false }, isShow: { type: [Boolean, Function], default: true }, onClick: { type: Function, default: function() {
|
|
5
|
+
} }, entity: { type: Object, default: null }, column: { type: Object, default: null }, rowIndex: { type: Number, default: null }, label: { type: String, default: null }, operationSetting: { type: Object, default: null }, operationIndex: { type: Number, default: null }, listCode: { type: String, default: null }, parentFormData: { type: Object, default: null }, eventName: { type: String, default: null } }, data: () => ({ elementType: "el-button", myStyle: null }), computed: { ...e.mapGetters(["preventReclick"]), isSaveRow() {
|
|
6
|
+
return ["lineEditSave", "saveRow"].includes(this.eventName);
|
|
7
|
+
}, isDeleteRow() {
|
|
8
|
+
return ["lineEditDelete", "deleteRow"].includes(this.eventName);
|
|
9
|
+
}, isEditRow() {
|
|
10
|
+
return ["lineEditUpdate", "editRow"].includes(this.eventName);
|
|
11
|
+
}, isRestoreRow() {
|
|
12
|
+
return ["restoreEdit", "restoreRow"].includes(this.eventName);
|
|
13
|
+
}, prefixIcon() {
|
|
14
|
+
if (!this.suffixIcon) {
|
|
15
|
+
if (["left", true, ""].includes(this.operationSettingData.iconPosition) || this.operationSetting.iconValue) {
|
|
16
|
+
if (this.operationSetting.iconValue) {
|
|
17
|
+
if (this.isSaveRow && "amb-icon-save" === this.operationSetting.iconValue)
|
|
18
|
+
return "amb-color-icon-save";
|
|
19
|
+
if (this.isDeleteRow && "amb-icon-del" === this.operationSetting.iconValue)
|
|
20
|
+
return "amb-color-icon-del";
|
|
21
|
+
if (this.isEditRow && "amb-icon-edit" === this.operationSetting.iconValue)
|
|
22
|
+
return "amb-color-icon-edit";
|
|
23
|
+
if (this.isRestoreRow && "amb-icon-no-edit" === this.operationSetting.iconValue)
|
|
24
|
+
return "amb-color-icon-no-edit";
|
|
25
|
+
}
|
|
26
|
+
return this.operationSetting.iconValue;
|
|
27
|
+
}
|
|
28
|
+
if (this.isTextIcon) {
|
|
29
|
+
if (this.isSaveRow)
|
|
30
|
+
return "amb-color-icon-save";
|
|
31
|
+
if (this.isDeleteRow)
|
|
32
|
+
return "amb-color-icon-del";
|
|
33
|
+
if (this.isEditRow)
|
|
34
|
+
return "amb-color-icon-edit";
|
|
35
|
+
if (this.isRestoreRow)
|
|
36
|
+
return "amb-color-icon-no-edit";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}, suffixIcon() {
|
|
40
|
+
if (["right"].includes(this.operationSettingData.iconPosition))
|
|
41
|
+
return this.operationSetting.iconValue;
|
|
42
|
+
}, isTextIcon() {
|
|
43
|
+
return !!this.isTableBtnLinkShow && (void 0 === this.operationSettingData.isTextIcon ? this.isSaveRow || this.isDeleteRow || this.isEditRow || this.isRestoreRow : this.operationSettingData.isTextIcon);
|
|
44
|
+
}, labelText() {
|
|
45
|
+
if (!this.isTextIcon)
|
|
46
|
+
return this.label || void 0;
|
|
47
|
+
}, tooltipDisabled() {
|
|
48
|
+
return !this.isTextIcon || !this.label;
|
|
49
|
+
}, isTableBtnLinkShow() {
|
|
50
|
+
return !!this.operationSetting.text || !(!this.isTableBtnLink || "el-button" !== this.elementType) && [this.operationSetting.text, this.operationSetting.plain, this.operationSetting.round].every((e2) => void 0 === e2);
|
|
51
|
+
}, operationSettingData() {
|
|
52
|
+
const e2 = { ...this.operationSetting };
|
|
53
|
+
return this.isTableBtnLinkShow && (e2.underline = false, delete e2.text), this.tooltipDisabled || delete e2.title, e2;
|
|
54
|
+
}, isElementType() {
|
|
55
|
+
return this.isTableBtnLinkShow ? "el-link" : this.elementType;
|
|
56
|
+
} }, created() {
|
|
57
|
+
this.operationSetting.elementType && "el-link" === this.operationSetting.elementType && (this.operationSetting.type = "primary"), this.operationSetting.elementType && "el-button" !== this.operationSetting.elementType || (this.operationSetting.size = "small"), this.operationSetting.style ? this.myStyle = this.operationSetting.style : 0 !== this.operationIndex && (void 0 === this.operationSetting.elementType || this.operationSetting.elementType), this.operationSetting.elementType && (this.elementType = this.operationSetting.elementType);
|
|
58
|
+
}, methods: { onClickFun(e2) {
|
|
59
|
+
t.onClickFun(this.entity, this.column, this.onClick, this.rowIndex, e2), this.$emit("afterClick", { row: this.entity, column: this.column, rowIndex: this.rowIndex });
|
|
60
|
+
}, isShowButton() {
|
|
61
|
+
const e2 = o.get(this.listCode), i2 = t.isShowButtonFun(this.entity, this.column, this.isShow, this.rowIndex);
|
|
62
|
+
if (this.operationSetting.buttonDisplayConditionsList) {
|
|
63
|
+
const t2 = JSON.stringify(this.operationSetting.buttonDisplayConditionsList);
|
|
64
|
+
if (e2) {
|
|
65
|
+
let i3 = null;
|
|
66
|
+
return e2.basicInfo.tableName && (i3 = e2.basicInfo.tableName), n.analysisCondition(t2, this.entity, e2.additionalParamMap, e2.contextParameter, true, i3, this.parentFormData);
|
|
67
|
+
}
|
|
68
|
+
return n.analysisCondition(t2, this.entity, {}, {}, true, null, null);
|
|
69
|
+
}
|
|
70
|
+
if (i2) {
|
|
71
|
+
if (this.editing) {
|
|
72
|
+
if ("lineEditUpdate" === this.operationSetting.code)
|
|
73
|
+
return false;
|
|
74
|
+
} else if ("restoreEdit" === this.operationSetting.code)
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return i2;
|
|
78
|
+
} } }, [["render", function(e2, t2, i2, n2, o2, s2) {
|
|
79
|
+
const a = l.resolveComponent("superIcon"), r = l.resolveComponent("el-tooltip"), c = l.resolveDirective("permission");
|
|
80
|
+
return l.openBlock(), l.createElementBlock("span", { style: l.normalizeStyle(o2.myStyle) }, [s2.isShowButton() ? (l.openBlock(), l.createBlock(r, { key: 0, disabled: s2.tooltipDisabled, content: i2.label, placement: "top" }, { default: l.withCtx(() => [s2.operationSettingData.permission ? l.withDirectives((l.openBlock(), l.createBlock(l.resolveDynamicComponent(s2.isElementType), l.mergeProps({ key: 0 }, s2.operationSettingData, { class: "row-operation-icon", disabled: e2.preventReclick, onMousedown: t2[0] || (t2[0] = (e3) => s2.onClickFun(s2.operationSettingData)) }), { default: l.withCtx(() => [s2.prefixIcon ? (l.openBlock(), l.createBlock(a, { key: 0, iconValue: s2.prefixIcon, class: l.normalizeClass([{ "is-text-labl": !!s2.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : l.createCommentVNode("", true), l.createTextVNode(" " + l.toDisplayString(s2.labelText) + " ", 1), s2.suffixIcon ? (l.openBlock(), l.createBlock(a, { key: 1, iconValue: s2.suffixIcon, class: l.normalizeClass([{ "is-text-labl": !!s2.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : l.createCommentVNode("", true)]), _: 1 }, 16, ["disabled"])), [[c, s2.operationSettingData.permission]]) : (l.openBlock(), l.createBlock(l.resolveDynamicComponent(s2.isElementType), l.mergeProps({ key: 1 }, s2.operationSettingData, { class: "row-operation-icon", disabled: e2.preventReclick, onMousedown: t2[1] || (t2[1] = (e3) => s2.onClickFun(s2.operationSettingData)) }), { default: l.withCtx(() => [s2.prefixIcon ? (l.openBlock(), l.createBlock(a, { key: 0, iconValue: s2.prefixIcon, class: l.normalizeClass([{ "is-text-labl": !!s2.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : l.createCommentVNode("", true), l.createTextVNode(" " + l.toDisplayString(s2.labelText) + " ", 1), s2.suffixIcon ? (l.openBlock(), l.createBlock(a, { key: 1, iconValue: s2.suffixIcon, class: l.normalizeClass([{ "is-text-labl": !!s2.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : l.createCommentVNode("", true)]), _: 1 }, 16, ["disabled"]))]), _: 1 }, 8, ["disabled", "content"])) : l.createCommentVNode("", true)], 4);
|
|
81
|
+
}], ["__scopeId", "data-v-e34a61f7"]]);
|
|
82
|
+
module.exports = s;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const util = require("../../src/utils/util.cjs");
|
|
4
|
+
function formatScanRuleSets(e) {
|
|
5
|
+
const t = {};
|
|
6
|
+
return e.forEach((e2) => {
|
|
7
|
+
"group" === e2.type ? e2.outs.forEach((e3) => {
|
|
8
|
+
t[e3.ruleCode] || (t[e3.ruleCode] = { outs: [], adaptations: [] }), t[e3.ruleCode].outs.push(e3);
|
|
9
|
+
}) : t[e2.code] = { outs: e2.outs, adaptations: [] };
|
|
10
|
+
}), packageScanRuleSets(t);
|
|
11
|
+
}
|
|
12
|
+
function packageScanRuleSets(e) {
|
|
13
|
+
return new Promise((t, a) => {
|
|
14
|
+
Object.keys(e).length > 0 ? window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-analysis/by-codes", Object.keys(e)).then((a2) => {
|
|
15
|
+
a2.forEach((a3) => {
|
|
16
|
+
const s = JSON.parse(a3.barcodeAnalysisOuts), n = /* @__PURE__ */ new Set(), l = {};
|
|
17
|
+
e[a3.code].outs.forEach((e2) => {
|
|
18
|
+
n.add(e2.returnedValue), l[e2.returnedValue] = e2.pageVariable;
|
|
19
|
+
});
|
|
20
|
+
const i2 = [];
|
|
21
|
+
s.forEach((e2) => {
|
|
22
|
+
n.has(e2.code) && (e2.pageVariable = l[e2.code], i2.push(e2));
|
|
23
|
+
}), e[a3.code].outs = i2, e[a3.code].adaptations = JSON.parse(a3.barcodeAnalysisAdaptations), t(e);
|
|
24
|
+
});
|
|
25
|
+
}) : t(null);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function analysisScanValue(scanValue, scanRuleSets) {
|
|
29
|
+
if (!scanValue || !scanRuleSets)
|
|
30
|
+
return null;
|
|
31
|
+
const scanSets = Object.values(scanRuleSets);
|
|
32
|
+
for (let i = 0; i < scanSets.length; i++) {
|
|
33
|
+
const scanSet = scanSets[i], adaptations = scanSet.adaptations;
|
|
34
|
+
let validStr = "";
|
|
35
|
+
for (let e = 0; e < adaptations.length; e++) {
|
|
36
|
+
const t = adaptations[e], a = _getScanIndexs(scanValue, t.startIndex, t.endIndex), s = a[0], n = a[1];
|
|
37
|
+
let l = scanValue.substring(s, n), i2 = t.value, r = t.operate;
|
|
38
|
+
if ("times" == r) {
|
|
39
|
+
const e2 = l.split(null == i2 ? "" : i2).length - 1;
|
|
40
|
+
i2 = e2, l = t.times, r = "=";
|
|
41
|
+
}
|
|
42
|
+
if ((isNaN(l) || isNaN(i2)) && (l = "'" + l + "'", i2 = "'" + i2 + "'"), t.leftBracket && (validStr += t.leftBracket), "<>" == r ? r = "!=" : "=" == r && (r = "=="), "include" == r || "notinclude" == r ? (validStr += l + ".indexOf(" + i2 + ")", validStr += "include" == r ? ">-1" : "<0") : validStr += l + r + i2, t.rightBracket && (validStr += t.rightBracket), t.joinStr && e + 1 < adaptations.length) {
|
|
43
|
+
const e2 = "and" == t.joinStr ? "&&" : "||";
|
|
44
|
+
validStr += e2;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
let res = false;
|
|
48
|
+
if (validStr)
|
|
49
|
+
try {
|
|
50
|
+
res = eval("(" + validStr + ")");
|
|
51
|
+
} catch (e) {
|
|
52
|
+
}
|
|
53
|
+
else
|
|
54
|
+
res = true;
|
|
55
|
+
if (res)
|
|
56
|
+
return executeAnalysisForScan(scanValue, scanSet);
|
|
57
|
+
}
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
function executeAnalysisForScan(e, t) {
|
|
61
|
+
if (!t || !e)
|
|
62
|
+
return;
|
|
63
|
+
const a = t.outs, s = {};
|
|
64
|
+
return a.forEach((t2) => {
|
|
65
|
+
const a2 = t2.fieldName;
|
|
66
|
+
if (null != t2.fixedValue)
|
|
67
|
+
s[a2] = t2.fixedValue;
|
|
68
|
+
else {
|
|
69
|
+
let n = e;
|
|
70
|
+
if (t2.splitChar && t2.splitNum) {
|
|
71
|
+
const a3 = (t2.splitChar, t2.splitChar), s2 = e.split(a3), l = t2.splitNum < 1 ? 1 : t2.splitNum;
|
|
72
|
+
n = l <= s2.length ? s2[l - 1] : "";
|
|
73
|
+
}
|
|
74
|
+
if (t2.splitChar2 && t2.splitNum2) {
|
|
75
|
+
const e2 = (t2.splitChar2, t2.splitChar2), a3 = n.split(e2), s2 = t2.splitNum2 < 1 ? 1 : t2.splitNum2;
|
|
76
|
+
n = s2 <= a3.length ? a3[s2 - 1] : "";
|
|
77
|
+
}
|
|
78
|
+
if (n.length > 0) {
|
|
79
|
+
const e2 = _getScanIndexs(n, t2.startIndex, t2.endIndex), a3 = e2[0], s2 = e2[1];
|
|
80
|
+
n = n.substring(a3, s2);
|
|
81
|
+
}
|
|
82
|
+
s[a2] = n;
|
|
83
|
+
}
|
|
84
|
+
}), { value: e, params: s, scanSet: t };
|
|
85
|
+
}
|
|
86
|
+
function _getScanIndexs(e, t, a) {
|
|
87
|
+
return t = (t = (t = null == t ? 0 : t - 1) < 0 ? 0 : t) > e.length - 1 ? e.length - 1 : t, (a = (a = (a = null == a ? e.length : a) > e.length ? e.length : a) < 1 ? 1 : a) < t && (a = t), [t, a];
|
|
88
|
+
}
|
|
89
|
+
function setScanAnalysisValue(e, t, a) {
|
|
90
|
+
if (!t)
|
|
91
|
+
return;
|
|
92
|
+
t.outs.forEach((t2) => {
|
|
93
|
+
const s = t2.fieldName, n = a[s];
|
|
94
|
+
let l = t2.pageVariable;
|
|
95
|
+
l && l.indexOf("${") >= 0 && (l = l.substring(2, l.length - 1)), util.setEntityFieldValue(e, l, n);
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
exports.analysisScanValue = analysisScanValue, exports.formatScanRuleSets = formatScanRuleSets, exports.setScanAnalysisValue = setScanAnalysisValue;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), t = require("@element-plus/icons-vue"), o = require("vue"), i = require("../../src/utils/common-util.cjs");
|
|
3
|
+
const s = require("../../_virtual/_plugin-vue_export-helper.cjs")({ name: "SearchButton", props: { isOpen: { type: Boolean, default: false }, isShowOpen: { type: Boolean, default: void 0 } }, data() {
|
|
4
|
+
const e2 = i.isMobileBrowser();
|
|
5
|
+
return { isMyOpen: this.isOpen, loading: false, CaretTop: o.shallowRef(t.CaretTop), CaretBottom: o.shallowRef(t.CaretBottom), isMobile: e2 };
|
|
6
|
+
}, methods: { openFold() {
|
|
7
|
+
this.isMyOpen = !this.isMyOpen, e.$emit(this, "open-fold", this.isMyOpen);
|
|
8
|
+
}, submitForm() {
|
|
9
|
+
this.loading = true, e.$emit(this, "submit-form");
|
|
10
|
+
}, resetForm() {
|
|
11
|
+
this.loading = true, e.$emit(this, "reset-form");
|
|
12
|
+
}, searchComplete() {
|
|
13
|
+
this.loading = false;
|
|
14
|
+
} }, emits: ["save-condition", "open-fold", "submit-form", "reset-form"] }, [["render", function(e2, t2, i2, s2, l, n) {
|
|
15
|
+
const r = o.resolveComponent("el-button");
|
|
16
|
+
return o.openBlock(), o.createElementBlock("div", { class: "search-button", style: o.normalizeStyle({ textAlign: l.isMobile ? "center" : "right" }) }, [o.createVNode(r, { loading: l.loading, size: "default", class: "button--default", onClick: n.submitForm }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["loading", "onClick"]), o.createVNode(r, { loading: l.loading, class: "button--default", size: "default", onClick: n.resetForm }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("imatrixUIPublicModel.reset")), 1)]), _: 1 }, 8, ["loading", "onClick"]), o.createVNode(r, { class: "button--default", size: "default", onClick: t2[0] || (t2[0] = (t3) => e2.$emit("save-condition")) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("superGrid.saveCondition")), 1)]), _: 1 }), i2.isShowOpen ?? !l.isMobile ? (o.openBlock(), o.createBlock(r, { key: 0, icon: l.isMyOpen ? l.CaretTop : l.CaretBottom, link: "", size: "default", onClick: n.openFold }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(l.isMyOpen ? e2.$t("superGrid.fold") : e2.$t("superGrid.open")), 1)]), _: 1 }, 8, ["icon", "onClick"])) : o.createCommentVNode("", true)], 4);
|
|
17
|
+
}]]);
|
|
18
|
+
module.exports = s;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), o = require("vue"), t = require("../../_virtual/_plugin-vue_export-helper.cjs"), i = { class: "dialog-footer", style: { "padding-bottom": "10px" } };
|
|
3
|
+
const n = t({ name: "SearchConditionInput", data: () => ({ searchCondition: { conditionName: null } }), methods: { saveCondition() {
|
|
4
|
+
this.$refs.conditionForm.validate((o2) => {
|
|
5
|
+
if (!o2)
|
|
6
|
+
return false;
|
|
7
|
+
e.$emit(this, "close", this.searchCondition.conditionName);
|
|
8
|
+
});
|
|
9
|
+
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, [["render", function(e2, t2, n2, l, d, r) {
|
|
10
|
+
const a = o.resolveComponent("el-input"), s = o.resolveComponent("el-form-item"), c = o.resolveComponent("el-form"), u = o.resolveComponent("el-button"), m = o.resolveComponent("el-dialog");
|
|
11
|
+
return o.openBlock(), o.createElementBlock("div", null, [o.createVNode(m, { "close-on-click-modal": false, title: e2.$t("superGrid.saveConditionTitle"), "append-to-body": "", "model-value": "", onClose: t2[2] || (t2[2] = (o2) => e2.$emit("close")), onClosed: t2[3] || (t2[3] = (o2) => e2.$emit("closed")), onOpen: t2[4] || (t2[4] = (o2) => e2.$emit("open")), onOpend: t2[5] || (t2[5] = (o2) => e2.$emit("opend")) }, { footer: o.withCtx(() => [o.createElementVNode("div", i, [o.createVNode(u, { size: "default", onClick: t2[1] || (t2[1] = (o2) => e2.$emit("close")) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), o.createVNode(u, { size: "default", type: "primary", onClick: r.saveCondition }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: o.withCtx(() => [o.createVNode(c, { ref: "conditionForm", model: d.searchCondition, "label-position": "left", "label-width": "120px", size: "default" }, { default: o.withCtx(() => [o.createVNode(s, { label: e2.$t("superGrid.searchConditionName"), rules: [{ required: true, message: this.$t("superGrid.pleaseInputSearchConditionName"), trigger: "blur" }], prop: "conditionName" }, { default: o.withCtx(() => [o.createVNode(a, { modelValue: d.searchCondition.conditionName, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => d.searchCondition.conditionName = e3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"])]);
|
|
12
|
+
}]]);
|
|
13
|
+
module.exports = n;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), o = require("vue");
|
|
3
|
+
const n = require("../../_virtual/_plugin-vue_export-helper.cjs")({ name: "SearchConditionList", components: {}, props: { searchConditions: { type: Array, default: null }, searchType: { type: String, default: null } }, data() {
|
|
4
|
+
let e2 = "FIXED";
|
|
5
|
+
return this.searchType && "advanced" === this.searchType && (e2 = "CUSTOM"), { pageQueryType: e2, editConditionId: null };
|
|
6
|
+
}, watch: { searchType: { deep: true, handler(e2, o2) {
|
|
7
|
+
this.searchType = e2, this.pageQueryType = "FIXED", e2 && "advanced" === e2 && (this.pageQueryType = "CUSTOM");
|
|
8
|
+
} } }, methods: { removeCondition(o2) {
|
|
9
|
+
e.$emit(this, "remove-condition", o2);
|
|
10
|
+
}, selectCondition(o2, n2) {
|
|
11
|
+
const t = o2.props.name;
|
|
12
|
+
e.$emit(this, "select-condition", t);
|
|
13
|
+
} }, emits: ["remove-condition", "select-condition"] }, [["render", function(e2, n2, t, i, a, l) {
|
|
14
|
+
const r = o.resolveComponent("el-tab-pane"), d = o.resolveComponent("el-tabs");
|
|
15
|
+
return o.openBlock(), o.createBlock(d, { modelValue: a.editConditionId, "onUpdate:modelValue": n2[0] || (n2[0] = (e3) => a.editConditionId = e3), type: "card", onTabRemove: l.removeCondition, onTabClick: l.selectCondition }, { default: o.withCtx(() => [(o.openBlock(true), o.createElementBlock(o.Fragment, null, o.renderList(t.searchConditions, (e3) => (o.openBlock(), o.createBlock(r, { key: e3.id, closable: e3.queryType === a.pageQueryType, disabled: e3.queryType !== a.pageQueryType, label: e3.name, name: e3.id + "" }, null, 8, ["closable", "disabled", "label", "name"]))), 128))]), _: 1 }, 8, ["modelValue", "onTabRemove", "onTabClick"]);
|
|
16
|
+
}]]);
|
|
17
|
+
module.exports = n;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), o = require("./search-methods.cjs"), l = require("./search-form-number.vue.cjs"), t = require("./store.cjs"), a = require("./search-condition-input.vue.cjs"), r = require("./search-condition-list.vue.cjs"), n = require("./utils.cjs"), i = require("@element-plus/icons-vue"), s = require("vue");
|
|
3
|
+
require("./search-form-advancedQuery.vue2.cjs");
|
|
4
|
+
const u = require("../../_virtual/_plugin-vue_export-helper.cjs"), c = { components: { searchFormNumber: l, SearchConditionInput: a, SearchConditionList: r, CirclePlus: i.CirclePlus, Remove: i.Remove }, 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
|
+
const e2 = t.get(this.code);
|
|
6
|
+
let o2, l2;
|
|
7
|
+
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.getControlConfig(this.column) };
|
|
9
|
+
}, computed: {}, watch: { searchableColumns: { deep: true, handler(e2, o2) {
|
|
10
|
+
this.searchableColumns = e2, this.refreshOperators(), this.formFlag = false, this.$nextTick(() => {
|
|
11
|
+
this.formFlag = true;
|
|
12
|
+
});
|
|
13
|
+
} } }, created() {
|
|
14
|
+
this.refreshOperators(), (!this.searchFormList || this.searchFormList.length < 1) && this.add();
|
|
15
|
+
}, methods: { ...o, getDynamicDataSourceOptions(e2) {
|
|
16
|
+
const o2 = t.get(this.code);
|
|
17
|
+
let l2 = o2.options.backendUrl;
|
|
18
|
+
return l2 || (l2 = window.$vueApp.config.globalProperties.baseURL), n.getDynamicDataSourceOptions(e2, this.isSql, o2.additionalParamMap, l2);
|
|
19
|
+
}, isDynamicDataSourceSource: (e2) => n.isDynamicDataSourceSource(e2), refreshOperators() {
|
|
20
|
+
if (this.searchableColumns && this.searchableColumns.length > 0)
|
|
21
|
+
for (var e2 = 0; e2 < this.searchableColumns.length; e2++) {
|
|
22
|
+
const o2 = this.searchableColumns[e2].prop, l2 = this.propMap[o2];
|
|
23
|
+
this.operationArr[e2] = this.getOperators(l2);
|
|
24
|
+
}
|
|
25
|
+
}, handleCurrentChange(e2) {
|
|
26
|
+
this.currentRow = e2;
|
|
27
|
+
}, tableRowClassName({ row: e2, rowIndex: o2 }) {
|
|
28
|
+
e2.index = o2;
|
|
29
|
+
}, selectRow(e2) {
|
|
30
|
+
this.$refs.table.setCurrentRow(e2);
|
|
31
|
+
}, changeFieldName(e2) {
|
|
32
|
+
const o2 = this.currentRow.prop, l2 = this.propMap[o2];
|
|
33
|
+
this.searchFormList[e2].dataType = l2.dataType, this.searchFormList[e2].orgProp = l2.orgProp, this.searchFormList[e2].componentType = l2.componentType, this.searchFormList[e2].componentName = l2.componentName, this.searchFormList[e2].queryMatching = l2.queryMatching, this.searchFormList[e2].searchControlWidth = l2.searchControlWidth, this.searchFormList[e2].fuzzy = l2.fuzzy, this.searchFormList[e2].valueSet = l2.valueSet, this.operationArr[e2] = this.getOperators(l2);
|
|
34
|
+
}, setValueToModelProp(e2, o2, l2) {
|
|
35
|
+
null != e2 && (this.searchFormList[e2].value = o2);
|
|
36
|
+
}, componentTypeTypeIsTree(e2) {
|
|
37
|
+
if (e2) {
|
|
38
|
+
if (e2.indexOf("DeptManTree") > 0)
|
|
39
|
+
return true;
|
|
40
|
+
if (e2.indexOf("DeptTree") > 0)
|
|
41
|
+
return true;
|
|
42
|
+
if (e2.indexOf("WgManTree") > 0)
|
|
43
|
+
return true;
|
|
44
|
+
if (e2.indexOf("WgManTree") > 0)
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
return false;
|
|
48
|
+
}, getTreeFields(e2) {
|
|
49
|
+
if (e2 && "" !== e2)
|
|
50
|
+
return JSON.parse(e2);
|
|
51
|
+
}, getTreeIsMultiTree: (e2) => !(e2 && e2.indexOf("single") >= 0 && e2.indexOf("Tree") > 0), getTreeType(e2) {
|
|
52
|
+
if (e2) {
|
|
53
|
+
if (e2.indexOf("DeptManTree") > 0)
|
|
54
|
+
return "DeptUserTree";
|
|
55
|
+
if (e2.indexOf("DeptTree") > 0)
|
|
56
|
+
return "DeptTree";
|
|
57
|
+
if (e2.indexOf("WgTree") > 0)
|
|
58
|
+
return "WgTree";
|
|
59
|
+
if (e2.indexOf("WgManTree") > 0)
|
|
60
|
+
return "WgUserTree";
|
|
61
|
+
}
|
|
62
|
+
}, organizationInputEvent(e2, o2) {
|
|
63
|
+
this.currentRow && (this.currentRow.value = o2);
|
|
64
|
+
}, clearOrganizationInputEvent(e2) {
|
|
65
|
+
this.currentRow && (this.currentRow.value = null);
|
|
66
|
+
}, customComponent(e2) {
|
|
67
|
+
const o2 = this.propMap[e2], l2 = t.get(this.code);
|
|
68
|
+
if (o2.componentName && "" !== o2.componentName)
|
|
69
|
+
return this.customComponentNames.add(o2.componentName), true;
|
|
70
|
+
if ((!o2.componentName || "" === o2.componentName) && l2.options && l2.options.search && l2.options.search.customSearchElements) {
|
|
71
|
+
const e3 = l2.options.search.customSearchElements[o2.prop];
|
|
72
|
+
if (e3) {
|
|
73
|
+
o2.componentName = "custom-" + o2.prop;
|
|
74
|
+
const l3 = e3.call(this, o2);
|
|
75
|
+
if (l3)
|
|
76
|
+
return this.customComponentNames.add(o2.componentName), window.$vueApp.component(o2.componentName, l3), true;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return false;
|
|
80
|
+
}, validateForm: () => new Promise((e2, o2) => {
|
|
81
|
+
e2(true);
|
|
82
|
+
}), resetForm() {
|
|
83
|
+
if (this.customComponentNames && this.customComponentNames.length > 0)
|
|
84
|
+
for (const e2 of this.customComponentNames)
|
|
85
|
+
this.$refs[e2][0].resetField();
|
|
86
|
+
e.$emit(this, "resetForm"), this.add();
|
|
87
|
+
}, setNumberValue(e2, o2, l2) {
|
|
88
|
+
this.currentRow && (this.currentRow.value = e2);
|
|
89
|
+
}, add() {
|
|
90
|
+
this.searchFormList || (this.searchFormList = []), this.searchFormList.push({ leftBracket: "", prop: "", operator: "", value: "", rightBracket: "", joinSign: "or", dataType: "", propDbName: "" }), this.operationArr.push([]);
|
|
91
|
+
}, remove(e2) {
|
|
92
|
+
if (null != e2 && -1 !== e2)
|
|
93
|
+
this.searchFormList.splice(e2, 1);
|
|
94
|
+
else {
|
|
95
|
+
if (null === this.currentRow)
|
|
96
|
+
return void this.$alert(this.$t("message.pleaseSelectARow"));
|
|
97
|
+
this.currentRow && this.currentRow.index && null !== this.currentRow.index && void 0 !== this.currentRow.index && this.searchFormList.splice(this.currentRow.index, 1);
|
|
98
|
+
}
|
|
99
|
+
}, getOperators(e2) {
|
|
100
|
+
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"] }, d = { key: 0 }, m = { key: 12, style: { width: "100%" } };
|
|
102
|
+
const p = u(c, [["render", function(e2, o2, l2, t2, a2, r2) {
|
|
103
|
+
const n2 = s.resolveComponent("CirclePlus"), i2 = s.resolveComponent("el-icon"), u2 = s.resolveComponent("Remove"), c2 = s.resolveComponent("el-table-column"), p2 = s.resolveComponent("el-option"), h = s.resolveComponent("el-select"), w = s.resolveComponent("el-date-picker"), b = s.resolveComponent("el-time-picker"), T = s.resolveComponent("organization-input"), y = s.resolveComponent("dynamic-source-select"), v = s.resolveComponent("search-form-number"), f = s.resolveComponent("el-switch"), V = s.resolveComponent("el-slider"), I = s.resolveComponent("el-rate"), N = s.resolveComponent("el-input"), x = s.resolveComponent("el-table");
|
|
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);
|
|
105
|
+
}], ["__scopeId", "data-v-0b145154"]]);
|
|
106
|
+
module.exports = p;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), r = require("./search-form.vue.cjs"), t = require("vue"), o = require("../../_virtual/_plugin-vue_export-helper.cjs"), a = { 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
|
+
}, methods: { doSearch(r2) {
|
|
4
|
+
e.$emit(this, "search", r2);
|
|
5
|
+
}, resetSearch() {
|
|
6
|
+
e.$emit(this, "reset");
|
|
7
|
+
} }, emits: ["close", "search", "reset"] };
|
|
8
|
+
const l = o(a, [["render", function(e2, r2, o2, a2, l2, c) {
|
|
9
|
+
const n = t.resolveComponent("search-form"), s = t.resolveComponent("el-dialog");
|
|
10
|
+
return t.openBlock(), t.createBlock(s, { "show-close": true, "append-to-body": true, title: "查询条件", "model-value": "", onClose: r2[0] || (r2[0] = (r3) => e2.$emit("close")) }, { default: t.withCtx(() => [t.createVNode(n, { 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: c.doSearch, onReset: c.resetSearch }, null, 8, ["columns", "code", "url", "pagination", "query", "search-param", "init-search-props", "onSearch", "onReset"])]), _: 1 });
|
|
11
|
+
}]]);
|
|
12
|
+
module.exports = l;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), o = require("./search-methods.cjs"), t = require("./search-form-number.vue.cjs"), l = require("./store.cjs"), n = require("./utils.cjs"), a = require("../../src/utils/util.cjs"), r = require("vue");
|
|
3
|
+
require("./search-form-item.vue2.cjs");
|
|
4
|
+
const c = require("../../_virtual/_plugin-vue_export-helper.cjs"), m = { name: "SearchFormItem", components: { searchFormNumber: t }, inject: ["getListToolbarFormData"], props: { column: { type: Object, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: false }, tableName: { type: String, default: null }, isJoinTable: { type: Boolean, default: false }, searchForm: { type: Object, default: null }, index: { type: Number, default: 0 }, length: { type: Number, default: 0 }, loadCompleteQuery: { type: Boolean, default: false }, labelWidth: { type: [String, Number, void 0], default: void 0 } }, data() {
|
|
5
|
+
return { customComponentNames: /* @__PURE__ */ new Set(), dateOne: null, dataTwo: null, moduleConfig: {}, dateVal: this.getFormItemValue(this.column.prop), controlConfig: n.getControlConfig(this.column), isShowEmtptyFlag: false, dataSourceOptions: {}, departmentInfo: null, checkEmptyValue: false };
|
|
6
|
+
}, computed: { listToolbarFormData() {
|
|
7
|
+
const e2 = this.getListToolbarFormData();
|
|
8
|
+
return e2 && e2.listToolbarFormData ? e2.listToolbarFormData : null;
|
|
9
|
+
}, isShowEmtpty() {
|
|
10
|
+
return this.isShowEmtptyFlag;
|
|
11
|
+
}, checkedEmpty() {
|
|
12
|
+
return !(!this.column._emptyValue || "#blank#" !== this.column._emptyValue) || (!this.column._resetValue && void 0 !== this.column._resetValue || (this.column._resetValue && (this.column._resetValue = void 0, this.isShowEmtptyFlag = false), false));
|
|
13
|
+
} }, watch: { "column._resetValue": { deep: true, handler(e2) {
|
|
14
|
+
e2 && (this.checkEmptyValue = false, this.$refs.selectRef && this.$refs.selectRef.clearEmptyValue(), this.column._resetValue = void 0);
|
|
15
|
+
} } }, created() {
|
|
16
|
+
this.column.valueSetOptions && (this.moduleConfig = JSON.parse(this.column.valueSetOptions));
|
|
17
|
+
const e2 = this.column.componentType;
|
|
18
|
+
e2 && ("multiselect" === e2 || "select" === e2) && this.isDynamicDataSourceSource(this.column) && (this.dataSourceOptions = this.getDynamicDataSourceOptions(this.column)), this.deptScopeLimit();
|
|
19
|
+
}, mounted() {
|
|
20
|
+
this.index + 1 === this.length && this.loadCompleteQuery && e.$emit(this, "submit-form");
|
|
21
|
+
}, methods: { ...o, getDynamicDataSourceOptions(e2) {
|
|
22
|
+
const o2 = l.get(this.code);
|
|
23
|
+
let t2 = o2.options.backendUrl;
|
|
24
|
+
return t2 || (t2 = window.$vueApp.config.globalProperties.baseURL), n.getDynamicDataSourceOptions(e2, this.isSql, o2.additionalParamMap, t2);
|
|
25
|
+
}, isDynamicDataSourceSource: (e2) => n.isDynamicDataSourceSource(e2), setValueToModelProp(e2, o2, t2, l2) {
|
|
26
|
+
if (e2 && e2.indexOf(".") > 0) {
|
|
27
|
+
const t3 = this.getParentObject(e2);
|
|
28
|
+
null != l2 && void 0 !== l2 ? t3[e2.substring(e2.lastIndexOf(".") + 1)][l2] = o2 : t3[e2.substring(e2.lastIndexOf(".") + 1)] = o2;
|
|
29
|
+
} else
|
|
30
|
+
null != l2 && void 0 !== l2 ? this.searchForm[e2][l2] = o2 : this.searchForm[e2] = o2;
|
|
31
|
+
}, getLabelWidth(e2) {
|
|
32
|
+
const o2 = JSON.parse(e2);
|
|
33
|
+
return "" !== o2.labelWidth && null !== o2.labelWidth && void 0 !== o2.labelWidth ? o2.labelWidth + "px" : "110px";
|
|
34
|
+
}, componentTypeTypeIsTree(e2) {
|
|
35
|
+
if (e2) {
|
|
36
|
+
if (e2.indexOf("DeptManTree") > 0)
|
|
37
|
+
return true;
|
|
38
|
+
if (e2.indexOf("DeptTree") > 0)
|
|
39
|
+
return true;
|
|
40
|
+
if (e2.indexOf("WgManTree") > 0)
|
|
41
|
+
return true;
|
|
42
|
+
if (e2.indexOf("WgManTree") > 0)
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
return false;
|
|
46
|
+
}, getTreeFields(e2) {
|
|
47
|
+
if (e2 && "" !== e2) {
|
|
48
|
+
const o2 = JSON.parse(e2);
|
|
49
|
+
if (o2.length)
|
|
50
|
+
return o2;
|
|
51
|
+
if (o2.orgTreeSetArr)
|
|
52
|
+
return o2.orgTreeSetArr;
|
|
53
|
+
}
|
|
54
|
+
}, getTreeIsMultiTree: (e2) => !(e2 && e2.indexOf("single") >= 0 && e2.indexOf("Tree") > 0), getTreeType(e2) {
|
|
55
|
+
if (e2) {
|
|
56
|
+
if (e2.indexOf("DeptManTree") > 0)
|
|
57
|
+
return "DeptUserTree";
|
|
58
|
+
if (e2.indexOf("DeptTree") > 0)
|
|
59
|
+
return "DeptTree";
|
|
60
|
+
if (e2.indexOf("WgTree") > 0)
|
|
61
|
+
return "WgTree";
|
|
62
|
+
if (e2.indexOf("WgManTree") > 0)
|
|
63
|
+
return "WgUserTree";
|
|
64
|
+
}
|
|
65
|
+
}, organizationInputEvent(e2, o2) {
|
|
66
|
+
e2 && (this.searchForm[e2] = o2);
|
|
67
|
+
}, clearOrganizationInputEvent(e2) {
|
|
68
|
+
e2 && (this.searchForm[e2] = null);
|
|
69
|
+
}, customComponent(e2) {
|
|
70
|
+
const o2 = l.get(this.code);
|
|
71
|
+
if (e2.componentName && "" !== e2.componentName)
|
|
72
|
+
return this.customComponentNames.add(e2.componentName), true;
|
|
73
|
+
if ((!e2.componentName || "" === e2.componentName) && o2.options && o2.options.search && o2.options.search.customSearchElements) {
|
|
74
|
+
const t2 = o2.options.search.customSearchElements[e2.prop];
|
|
75
|
+
if (t2) {
|
|
76
|
+
e2.componentName = "custom-" + e2.prop;
|
|
77
|
+
const o3 = t2.call(this, e2);
|
|
78
|
+
if (o3)
|
|
79
|
+
return this.customComponentNames.add(e2.componentName), window.$vueApp.component(e2.componentName, o3), true;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return false;
|
|
83
|
+
}, setNumberValue(e2, o2, t2) {
|
|
84
|
+
let l2 = this.getFormItemValue(this.column.prop);
|
|
85
|
+
l2 = e2, this.setValueToModelProp(this.column.prop, l2);
|
|
86
|
+
}, setYearRangeValue(e2, o2) {
|
|
87
|
+
this.searchForm[e2][0] = o2[0], this.searchForm[e2][1] = o2[1];
|
|
88
|
+
}, getDefaultTime(e2) {
|
|
89
|
+
if (e2.valueSetOptions) {
|
|
90
|
+
const o2 = JSON.parse(e2.valueSetOptions);
|
|
91
|
+
return o2.defaultTime ? [o2.defaultTime, o2.defaultTime] : ["00:00:00"];
|
|
92
|
+
}
|
|
93
|
+
{
|
|
94
|
+
const e3 = /* @__PURE__ */ new Date(), o2 = e3.getFullYear(), t2 = e3.getMonth() + 1, l2 = e3.getDate();
|
|
95
|
+
return [`${o2}-${t2}-${l2} 00:00:00`, `${o2}-${t2}-${l2} 23:59:59`];
|
|
96
|
+
}
|
|
97
|
+
}, multiselectChange(e2, o2) {
|
|
98
|
+
e2 && -1 !== e2.indexOf("saveAll") ? this.searchForm[this.column.prop] && "string" == typeof this.searchForm[this.column.prop] && (this.searchForm[this.column.prop] = this.searchForm[this.column.prop].split(",")) : this.searchForm[this.column.prop] = e2;
|
|
99
|
+
}, showEmpty() {
|
|
100
|
+
this.isShowEmtptyFlag = true;
|
|
101
|
+
}, hiddenEmpty() {
|
|
102
|
+
this.checkedEmpty || (this.isShowEmtptyFlag = false);
|
|
103
|
+
}, checkEmptyChange(e2) {
|
|
104
|
+
this.column._emptyValue = e2 ? "#blank#" : void 0;
|
|
105
|
+
}, 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.") && a.watchPageContextDynamicVariable(this, this.pageContext, this.controlConfig.deptScopeField, (e2, o2) => {
|
|
107
|
+
this.setLimitDepartmentInfo();
|
|
108
|
+
})));
|
|
109
|
+
}, setLimitDepartmentInfo() {
|
|
110
|
+
const e2 = a.getPropValueNew(this.controlConfig.deptScopeField, this.pageContext, this.row);
|
|
111
|
+
this.departmentInfo = e2 ? e2.split(",") : [];
|
|
112
|
+
} }, emits: ["submit-form"] }, p = ["title", "innerHTML"], i = { key: 0, style: { width: "100%" } }, u = { key: 1 };
|
|
113
|
+
const s = c(m, [["render", function(e2, o2, t2, l2, n2, a2) {
|
|
114
|
+
const c2 = r.resolveComponent("el-date-picker"), m2 = r.resolveComponent("year-range-picker"), s2 = r.resolveComponent("el-time-picker"), d = r.resolveComponent("organization-input"), h = r.resolveComponent("el-checkbox"), y = r.resolveComponent("el-option"), g = r.resolveComponent("el-select"), f = r.resolveComponent("dynamic-source-select"), C = r.resolveComponent("search-form-number"), T = r.resolveComponent("el-switch"), k = r.resolveComponent("el-slider"), V = r.resolveComponent("el-rate"), v = r.resolveComponent("el-tooltip"), S = r.resolveComponent("el-input"), b = r.resolveComponent("el-form-item");
|
|
115
|
+
return r.openBlock(), r.createBlock(b, { "label-width": t2.labelWidth ?? (t2.column.querySetting ? a2.getLabelWidth(t2.column.querySetting) : "110px"), prop: t2.column.prop }, { label: r.withCtx(() => [r.createElementVNode("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, p)]), default: r.withCtx(() => {
|
|
116
|
+
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"]))];
|
|
118
|
+
}), _: 1 }, 8, ["label-width", "prop"]);
|
|
119
|
+
}], ["__scopeId", "data-v-90635647"]]);
|
|
120
|
+
module.exports = s;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), t = require("./search-methods.cjs"), o = require("./store.cjs"), r = require("./utils.cjs"), s = require("../../src/utils/eventBus.cjs"), a = require("./search-form-item.vue.cjs"), n = require("./search-button.vue.cjs"), l = require("vue");
|
|
3
|
+
require("./search-form-mobile.vue2.cjs");
|
|
4
|
+
const i = require("../../_virtual/_plugin-vue_export-helper.cjs"), c = { name: "SearchFormMobile", components: { SearchFormItem: a, SearchButton: n }, 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
|
+
const e2 = o.get(this.code);
|
|
6
|
+
let t2, r2;
|
|
7
|
+
e2 && e2.basicInfo && e2.basicInfo.tableName && (t2 = e2.basicInfo.tableName), e2 && e2.basicInfo && e2.basicInfo.hasJoinTable && (r2 = e2.basicInfo.hasJoinTable);
|
|
8
|
+
return { customComponentNames: /* @__PURE__ */ new Set(), dateOne: null, dataTwo: null, tableName: t2, isJoinTable: r2, isOpen: false };
|
|
9
|
+
}, computed: {}, watch: {}, created() {
|
|
10
|
+
}, methods: { ...t, validateForm() {
|
|
11
|
+
return new Promise((e2, t2) => {
|
|
12
|
+
this.$refs.searchForm.validate((t3) => {
|
|
13
|
+
e2(t3);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
}, resetForm() {
|
|
17
|
+
if (e.$emit(s, "remoteMethod"), this.customComponentNames && this.customComponentNames.length > 0)
|
|
18
|
+
for (const e2 of this.customComponentNames)
|
|
19
|
+
this.$refs[e2][0].resetField();
|
|
20
|
+
this.$refs.searchForm.resetFields(), this.searchableColumns.forEach((e2) => {
|
|
21
|
+
e2.prop && e2.prop.indexOf(".") > 0 ? "dateSection" === e2.componentType ? r.addDynamicPropDateSection(this.searchForm, e2.prop) : r.addDynamicProp(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);
|
|
22
|
+
}), e.$emit(this, "submit-form");
|
|
23
|
+
}, openFold(t2) {
|
|
24
|
+
this.isOpen = t2, e.$emit(this, "open-fold", t2);
|
|
25
|
+
}, searchComplete() {
|
|
26
|
+
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"] }, m = { style: { "padding-bottom": "40px", "padding-top": "35px" } }, p = { class: "search-btn-mobile" };
|
|
28
|
+
const h = i(c, [["render", function(e2, t2, o2, r2, s2, a2) {
|
|
29
|
+
const n2 = l.resolveComponent("search-form-item"), i2 = l.resolveComponent("search-button"), c2 = l.resolveComponent("el-form");
|
|
30
|
+
return l.openBlock(), l.createElementBlock("div", null, [o2.searchableColumns.length > 0 ? (l.openBlock(), l.createBlock(c2, { key: 0, ref: "searchForm", model: o2.searchForm, rules: o2.rules, class: "grid-search-form-mobile", "label-position": "top", size: "default" }, { default: l.withCtx(() => [l.createElementVNode("div", m, [(l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(o2.searchableColumns, (e3, t3) => (l.openBlock(), l.createBlock(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))]), l.createElementVNode("div", p, [l.createVNode(i2, { 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"])) : l.createCommentVNode("", true)]);
|
|
31
|
+
}], ["__scopeId", "data-v-832e8a9d"]]);
|
|
32
|
+
module.exports = h;
|