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,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), o = require("./eventBus.cjs"), n = require("vue"), i = require("../../_virtual/_plugin-vue_export-helper.cjs"), m = { props: { r: { type: Number, default: null }, n: { type: Number, default: null }, itemValue: { type: Array, default: () => [0, 0] }, moduleConfig: { type: Object } }, data() {
|
|
3
|
+
return { number1: 0 === this.moduleConfig.min ? 0 : this.moduleConfig.min ? this.moduleConfig.min : 0, number2: 0 === this.moduleConfig.max ? 0 : this.moduleConfig.max ? this.moduleConfig.max : 100 };
|
|
4
|
+
}, mounted() {
|
|
5
|
+
o.$on("reset", () => {
|
|
6
|
+
this.number1 = null, this.number2 = null;
|
|
7
|
+
});
|
|
8
|
+
}, destroyed() {
|
|
9
|
+
o.$off("reset");
|
|
10
|
+
}, watch: { itemValue: { deep: true, handler(e2) {
|
|
11
|
+
e2 && (this.number1 = e2[0] ? e2[0] : 0, this.number2 = e2[1] ? e2[1] : 0);
|
|
12
|
+
} } }, created() {
|
|
13
|
+
e.$emit(this, "setValue", [this.number1, this.number2], this.r, this.n);
|
|
14
|
+
}, methods: { setValue() {
|
|
15
|
+
e.$emit(this, "setValue", [this.number1, this.number2], this.r, this.n);
|
|
16
|
+
} }, emits: ["setValue"] }, t = n.createElementVNode("span", null, "---", -1);
|
|
17
|
+
const u = i(m, [["render", function(e2, o2, i2, m2, u2, l) {
|
|
18
|
+
const s = n.resolveComponent("el-input-number");
|
|
19
|
+
return n.openBlock(), n.createElementBlock("div", null, [n.createVNode(s, { modelValue: u2.number1, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => u2.number1 = e3), min: 0 == i2.moduleConfig.min ? 0 : i2.moduleConfig.min ? i2.moduleConfig.min : -1 / 0, max: 0 == i2.moduleConfig.max ? 0 : i2.moduleConfig.max ? i2.moduleConfig.max : 1 / 0, step: i2.moduleConfig.step ? i2.moduleConfig.step : 1, precision: i2.moduleConfig.precision ? i2.moduleConfig.precision : 0, "controls-position": i2.moduleConfig.position ? i2.moduleConfig.position : "", onChange: o2[1] || (o2[1] = (e3) => l.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"]), t, n.createVNode(s, { modelValue: u2.number2, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => u2.number2 = e3), min: 0 == i2.moduleConfig.min ? 0 : i2.moduleConfig.min ? i2.moduleConfig.min : -1 / 0, max: 0 == i2.moduleConfig.max ? 0 : i2.moduleConfig.max ? i2.moduleConfig.max : 1 / 0, step: i2.moduleConfig.step ? i2.moduleConfig.step : 1, precision: i2.moduleConfig.precision ? i2.moduleConfig.precision : 0, "controls-position": i2.moduleConfig.position ? i2.moduleConfig.position : "", onChange: o2[3] || (o2[3] = (e3) => l.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"])]);
|
|
20
|
+
}]]);
|
|
21
|
+
module.exports = u;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("./search-methods.cjs"), t = require("./search-form-item.vue.cjs"), n = require("./search-button.vue.cjs"), s = require("vue"), o = require("../../_virtual/_plugin-vue_export-helper.cjs"), r = { name: "SearchFormOpen", components: { SearchFormItem: t, SearchButton: n }, props: { searchableColumns: { type: Array, default: null }, searchForm: { type: Object, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: false }, tableName: { type: String, default: null }, isJoinTable: { type: Boolean, default: false }, spanNum: { type: Number, default: 8 }, fieldNum: { type: Number, default: null }, rowNum: { type: Number, default: null }, isOpen: { type: Boolean, default: false } }, data() {
|
|
3
|
+
return { rowWidth: void 0, maxLength: void 0, minLength: void 0, myOpen: this.isOpen ?? false };
|
|
4
|
+
}, computed: { isShowOpen() {
|
|
5
|
+
return this.showColumn < this.searchableColumns.length + 1;
|
|
6
|
+
}, isSearchButtonAuto() {
|
|
7
|
+
return this.showColumn - this.searchableColumns.length > 1;
|
|
8
|
+
}, filterSearchableColumns() {
|
|
9
|
+
return this.searchableColumns.filter((e2, t2) => !(!this.myOpen && this.isShowOpen && t2 > this.showColumn - 2));
|
|
10
|
+
}, labelWidth() {
|
|
11
|
+
try {
|
|
12
|
+
return this.maxLength && this.minLength ? this.maxLength >= 10 ? 82 : this.maxLength === this.minLength && this.minLength <= 4 ? 45 : 72 : "";
|
|
13
|
+
} catch (e2) {
|
|
14
|
+
return "";
|
|
15
|
+
}
|
|
16
|
+
}, span() {
|
|
17
|
+
return 24 / this.showColumn;
|
|
18
|
+
}, showColumn() {
|
|
19
|
+
if (this.rowWidth) {
|
|
20
|
+
if (this.rowWidth >= 1500)
|
|
21
|
+
return 4;
|
|
22
|
+
if (this.rowWidth <= 768)
|
|
23
|
+
return 2;
|
|
24
|
+
}
|
|
25
|
+
return 3;
|
|
26
|
+
} }, watch: { filterSearchableColumns() {
|
|
27
|
+
const e2 = this.filterSearchableColumns.map(({ label: e3, searchLabel: t2 }) => {
|
|
28
|
+
var _a;
|
|
29
|
+
return (((_a = t2 ?? e3) == null ? void 0 : _a.replace(/[\u4e00-\u9fa5]/g, "**")) ?? "").length;
|
|
30
|
+
});
|
|
31
|
+
this.maxLength = Math.max(...e2), this.minLength = Math.max(...e2);
|
|
32
|
+
}, myOpen() {
|
|
33
|
+
} }, methods: { ...e, onResize(e2) {
|
|
34
|
+
this.rowWidth = e2.contentRect.width;
|
|
35
|
+
}, openFold(e2) {
|
|
36
|
+
this.myOpen = e2, this.$emit("open-fold", e2);
|
|
37
|
+
}, searchComplete() {
|
|
38
|
+
this.$refs.searchBtnOpen && (Array.isArray(this.$refs.searchBtnOpen) ? this.$refs.searchBtnOpen.length > 0 && this.$refs.searchBtnOpen[0].searchComplete() : this.$refs.searchBtnOpen.searchComplete());
|
|
39
|
+
} } }, l = { class: "grid-search-row" };
|
|
40
|
+
const a = o(r, [["render", function(e2, t2, n2, o2, r2, a2) {
|
|
41
|
+
const i = s.resolveComponent("search-form-item"), h = s.resolveComponent("el-col"), u = s.resolveComponent("search-button"), m = s.resolveComponent("el-row"), c = s.resolveDirective("resize");
|
|
42
|
+
return s.withDirectives((s.openBlock(), s.createElementBlock("div", l, [s.createVNode(m, null, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(a2.filterSearchableColumns, (e3, t3) => (s.openBlock(), s.createBlock(h, { key: t3, span: a2.span }, { default: s.withCtx(() => [s.createVNode(i, { "label-width": a2.labelWidth, "search-form": n2.searchForm, column: e3, code: n2.code, "is-sql": n2.isSql, "table-name": n2.tableName, "is-join-table": n2.isJoinTable }, null, 8, ["label-width", "search-form", "column", "code", "is-sql", "table-name", "is-join-table"])]), _: 2 }, 1032, ["span"]))), 128)), s.createVNode(h, { span: a2.span, class: s.normalizeClass(["search-btns-view", { "no-show-open": !a2.isShowOpen, "no-search-button-auto": a2.isSearchButtonAuto }]) }, { default: s.withCtx(() => [s.createVNode(u, { ref: "searchBtnOpen", "is-open": r2.myOpen, "is-show-open": a2.isShowOpen, onSubmitForm: t2[0] || (t2[0] = (t3) => e2.$emit("submit-form")), onResetForm: t2[1] || (t2[1] = (t3) => e2.$emit("reset-form")), onSaveCondition: t2[2] || (t2[2] = (t3) => e2.$emit("save-condition")), onOpenFold: a2.openFold }, null, 8, ["is-open", "is-show-open", "onOpenFold"])]), _: 1 }, 8, ["span", "class"])]), _: 1 })])), [[c, a2.onResize]]);
|
|
43
|
+
}]]);
|
|
44
|
+
module.exports = a;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), o = require("./search-methods.cjs"), r = require("./store.cjs"), t = require("./utils.cjs"), s = require("./search-form-open.vue.cjs"), a = require("../../src/utils/eventBus.cjs"), n = require("vue");
|
|
3
|
+
require("./search-form-ordinarySearch.vue2.cjs");
|
|
4
|
+
const l = require("../../_virtual/_plugin-vue_export-helper.cjs")({ name: "SearchForm", components: { SearchFormOpen: s }, props: { searchableColumns: { type: Array, default: null }, searchForm: { type: Object, default: null }, fieldNum: { type: Number, default: null }, rules: { type: Object, default: null }, labelWidth: { type: String, default: null }, query: { type: Object, default: null }, rowNum: { type: Number, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: false }, spanNum: { type: Number, default: 8 }, loadCompleteQuery: { type: Boolean, default: false } }, data() {
|
|
5
|
+
const e2 = r.get(this.code);
|
|
6
|
+
let o2, t2;
|
|
7
|
+
e2 && e2.basicInfo && e2.basicInfo.tableName && (o2 = e2.basicInfo.tableName), e2 && e2.basicInfo && e2.basicInfo.hasJoinTable && (t2 = e2.basicInfo.hasJoinTable);
|
|
8
|
+
return { customComponentNames: /* @__PURE__ */ new Set(), dateOne: null, dataTwo: null, tableName: o2, isJoinTable: t2, isOpen: false };
|
|
9
|
+
}, computed: {}, watch: {}, created() {
|
|
10
|
+
}, methods: { ...o, validateForm() {
|
|
11
|
+
return new Promise((e2, o2) => {
|
|
12
|
+
this.$refs.searchForm.validate((o3) => {
|
|
13
|
+
e2(o3);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
}, resetForm() {
|
|
17
|
+
if (e.$emit(a, "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 ? t.addDynamicPropDateSection(this.searchForm, e2.prop) : t.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(o2) {
|
|
24
|
+
this.isOpen = o2, e.$emit(this, "open-fold", o2);
|
|
25
|
+
}, searchComplete() {
|
|
26
|
+
this.$refs.searchFormContent && this.$refs.searchFormContent.searchComplete();
|
|
27
|
+
} }, emits: ["submit-form", "reset-form", "save-condition", "open-fold", "remoteMethod"] }, [["render", function(e2, o2, r2, t2, s2, a2) {
|
|
28
|
+
const l2 = n.resolveComponent("search-form-open"), m = n.resolveComponent("el-form");
|
|
29
|
+
return r2.searchableColumns.length > 0 ? (n.openBlock(), n.createBlock(m, { key: 0, ref: "searchForm", model: r2.searchForm, rules: r2.rules, class: "grid-search-form", "label-position": "right", size: "default" }, { default: n.withCtx(() => [n.createVNode(l2, { ref: "searchFormContent", code: r2.code, "field-num": r2.fieldNum, "is-join-table": s2.isJoinTable, "is-open": s2.isOpen, "is-sql": r2.isSql, "load-complete-query": r2.loadCompleteQuery, "row-num": r2.rowNum, "search-form": r2.searchForm, "searchable-columns": r2.searchableColumns, "span-num": r2.spanNum, "table-name": s2.tableName, onSubmitForm: o2[0] || (o2[0] = (o3) => e2.$emit("submit-form")), onResetForm: o2[1] || (o2[1] = (o3) => e2.$emit("reset-form")), onSaveCondition: o2[2] || (o2[2] = (o3) => e2.$emit("save-condition")), onOpenFold: a2.openFold }, null, 8, ["code", "field-num", "is-join-table", "is-open", "is-sql", "load-complete-query", "row-num", "search-form", "searchable-columns", "span-num", "table-name", "onOpenFold"])]), _: 1 }, 8, ["model", "rules"])) : n.createCommentVNode("", true);
|
|
30
|
+
}], ["__scopeId", "data-v-3e0adbf6"]]);
|
|
31
|
+
module.exports = l;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), o = require("./search-methods.cjs"), t = require("./search-form-ordinarySearch.vue.cjs"), r = require("./search-form-advancedQuery.vue.cjs"), s = require("./store.cjs"), i = require("./utils.cjs"), a = require("vue"), n = require("./search-condition-input.vue.cjs"), c = require("./search-condition-list.vue.cjs"), l = require("./search-form-mobile.vue.cjs"), h = require("../../src/utils/common-util.cjs");
|
|
3
|
+
require("./search-form.vue2.cjs");
|
|
4
|
+
const m = require("../../_virtual/_plugin-vue_export-helper.cjs"), d = { name: "SearchForm", components: { SearchConditionInput: n, SearchConditionList: c, searchFormOrdinarySearch: t, searchFormAdvancedQuery: r, SearchFormMobile: l }, provide() {
|
|
5
|
+
return { getListToolbarFormData: () => ({ listToolbarFormData: this.listToolbarFormData }) };
|
|
6
|
+
}, 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 }, isSql: { type: Boolean, default: false }, searchFormInfo: { type: Object, default: () => ({}) }, loadCompleteQuery: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null } }, data() {
|
|
7
|
+
const e2 = /* @__PURE__ */ new Set(), o2 = s.get(this.code), t2 = {};
|
|
8
|
+
let r2 = {};
|
|
9
|
+
null !== this.searchParam && (r2 = JSON.parse(JSON.stringify(this.searchParam)));
|
|
10
|
+
const a2 = this.getSearchableColumns(null, null, t2);
|
|
11
|
+
void 0 !== this.initSearchProps && null !== this.initSearchProps || (this.initSearchProps = []), a2.forEach((e3) => {
|
|
12
|
+
this.initSearchProps.indexOf(e3.prop) < 0 && (e3.prop && e3.prop.indexOf(".") > 0 ? "dateSection" === e3.componentType ? i.addDynamicPropDateSection(r2, e3.prop) : i.addDynamicProp(r2, e3.prop) : ("dateSection" === e3.componentType ? r2[e3.prop] = [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()] : "yearRange" === e3.componentType && (r2[e3.prop] = ["", ""]), this.setDefaultQueryValue(e3, r2)));
|
|
13
|
+
});
|
|
14
|
+
const n2 = h.isMobileBrowser();
|
|
15
|
+
let c2 = false;
|
|
16
|
+
n2 && a2 && a2.length > 0 && (c2 = true);
|
|
17
|
+
const l2 = this.getSpanNum(a2), m2 = this.getFieldNumPerRow(a2), d2 = Math.ceil(a2.length / m2), p2 = this.query.advancedQuery, u2 = this.query.normalQuery;
|
|
18
|
+
return { searchForm: r2, rules: {}, searchParams: [], labelWidth: o2.options.search && o2.options.search.labelWidth ? o2.options.search.labelWidth : "80px", customComponentNames: e2, componentName: "", spanNum: l2, fieldNum: m2, rowNum: d2, loading: false, isShowSearchCondition: false, searchConditions: [], propMap: t2, advancedQuery: p2, normalQuery: u2, searchFormList: [], searchType: null, isMobile: n2, isShowMobileForm: true, canShowMobileSearch: c2 };
|
|
19
|
+
}, computed: { searchableColumns() {
|
|
20
|
+
return this.getSearchableColumns();
|
|
21
|
+
}, advancedQueryColumns() {
|
|
22
|
+
return this.getAdvancedQueryColumns();
|
|
23
|
+
} }, watch: { searchForm: { deep: true, handler(e2) {
|
|
24
|
+
this.searchFormInfo.data = e2;
|
|
25
|
+
} } }, created() {
|
|
26
|
+
this.listSearchConditions(), this.normalQuery ? this.searchType = "normal" : this.advancedQuery && (this.searchType = "advanced"), this.canShowMobileSearch, this.canShowMobileSearch && this.$emit("can-show-mobile-search");
|
|
27
|
+
}, methods: { ...o, getFieldNumPerRow(e2) {
|
|
28
|
+
let o2;
|
|
29
|
+
if (e2 && 1 === e2.length)
|
|
30
|
+
o2 = 2;
|
|
31
|
+
else {
|
|
32
|
+
const e3 = s.get(this.code);
|
|
33
|
+
o2 = e3.options.search && e3.options.search.fieldNum ? e3.options.search.fieldNum : 3;
|
|
34
|
+
}
|
|
35
|
+
return o2;
|
|
36
|
+
}, getSpanNum(e2) {
|
|
37
|
+
const o2 = this.getFieldNumPerRow(e2);
|
|
38
|
+
return 1 === o2 ? 22 : 2 === o2 ? 12 : 3 === o2 ? 8 : 4 === o2 ? 6 : 4;
|
|
39
|
+
}, setValueToModelProp(e2, o2, t2, r2) {
|
|
40
|
+
if (e2 && e2.indexOf(".") > 0) {
|
|
41
|
+
const t3 = this.getParentObject(e2);
|
|
42
|
+
null != r2 && void 0 !== r2 ? t3[e2.substring(e2.lastIndexOf(".") + 1)][r2] = o2 : t3[e2.substring(e2.lastIndexOf(".") + 1)] = o2;
|
|
43
|
+
} else
|
|
44
|
+
null != r2 && void 0 !== r2 ? this.searchForm[e2][r2] = o2 : this.searchForm[e2] = o2;
|
|
45
|
+
}, getAdvancedQueryColumns(e2, o2, t2) {
|
|
46
|
+
this.customComponentNames || (this.customComponentNames = /* @__PURE__ */ new Set()), o2 || (o2 = []), e2 || (e2 = this.columns);
|
|
47
|
+
for (let r2 = 0; r2 < e2.length; r2++) {
|
|
48
|
+
const s2 = e2[r2];
|
|
49
|
+
if (t2 && (t2[s2.prop] = s2), "$index" !== s2.prop && "$selection" !== s2.prop && !s2.dynamic) {
|
|
50
|
+
if (s2.groupHeader)
|
|
51
|
+
this.getSearchableColumns(s2.children, o2, t2);
|
|
52
|
+
else if ("advanced" === s2.queryType && !s2.custom && "" !== s2.prop) {
|
|
53
|
+
if (void 0 !== s2.componentType && "" !== s2.componentType || (s2.componentType = "input"), s2.querySetting && "" !== s2.querySetting) {
|
|
54
|
+
const e3 = JSON.parse(s2.querySetting);
|
|
55
|
+
e3.width && (s2.searchControlWidth = "width:" + e3.width + "px"), e3.labelWidth && (s2.searchLabelWidth = e3.labelWidth + "px"), e3.label && (s2.searchLabel = e3.label);
|
|
56
|
+
}
|
|
57
|
+
s2.componentType && s2.componentType.indexOf("custom:") >= 0 ? (s2.componentName = s2.componentType.substring(s2.componentType.indexOf(":") + 1), this.customComponentNames.add(s2.componentName)) : s2.componentName = "", o2.push(s2);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return o2;
|
|
62
|
+
}, getSearchableColumns(e2, o2, t2) {
|
|
63
|
+
this.customComponentNames || (this.customComponentNames = /* @__PURE__ */ new Set()), o2 || (o2 = []), e2 || (e2 = this.columns);
|
|
64
|
+
for (let r2 = 0; r2 < e2.length; r2++) {
|
|
65
|
+
const s2 = e2[r2];
|
|
66
|
+
if (t2 && (t2[s2.prop] = s2), "$index" !== s2.prop && "$selection" !== s2.prop && !s2.dynamic) {
|
|
67
|
+
if (s2.groupHeader)
|
|
68
|
+
this.getSearchableColumns(s2.children, o2, t2);
|
|
69
|
+
else if ("normal" === s2.queryType && !s2.custom && "" !== s2.prop) {
|
|
70
|
+
if (void 0 !== s2.componentType && "" !== s2.componentType || (s2.componentType = "input"), s2.querySetting && "" !== s2.querySetting) {
|
|
71
|
+
const e3 = JSON.parse(s2.querySetting);
|
|
72
|
+
e3.width && (s2.searchControlWidth = "width:" + e3.width + "px"), e3.labelWidth && (s2.searchLabelWidth = e3.labelWidth + "px"), e3.label && (s2.searchLabel = e3.label);
|
|
73
|
+
}
|
|
74
|
+
s2.componentType && s2.componentType.indexOf("custom:") >= 0 ? (s2.componentName = s2.componentType.substring(s2.componentType.indexOf(":") + 1), this.customComponentNames.add(s2.componentName)) : s2.componentName = "", o2.push(s2);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return o2.sort((e3, o3) => {
|
|
79
|
+
const t3 = e3.searchDisplayOrder, r2 = o3.searchDisplayOrder;
|
|
80
|
+
return null == t3 || "default" === t3 ? 1 : null == r2 || "default" === r2 ? -1 : t3 - r2;
|
|
81
|
+
}), o2;
|
|
82
|
+
}, customComponent(e2) {
|
|
83
|
+
const o2 = s.get(this.code);
|
|
84
|
+
if (e2.componentName && "" !== e2.componentName)
|
|
85
|
+
return this.customComponentNames.add(e2.componentName), true;
|
|
86
|
+
if ((!e2.componentName || "" === e2.componentName) && o2.options && o2.options.search && o2.options.search.customSearchElements) {
|
|
87
|
+
const t2 = o2.options.search.customSearchElements[e2.prop];
|
|
88
|
+
if (t2) {
|
|
89
|
+
e2.componentName = "custom-" + e2.prop;
|
|
90
|
+
const o3 = t2.call(this, e2);
|
|
91
|
+
if (o3)
|
|
92
|
+
return this.customComponentNames.add(e2.componentName), window.$vueApp.component(e2.componentName, o3), true;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return false;
|
|
96
|
+
}, submitForm() {
|
|
97
|
+
this.isMobile ? this.$refs.searchFormMobile.validateForm().then((o2) => {
|
|
98
|
+
if (!o2)
|
|
99
|
+
return false;
|
|
100
|
+
this.searchParams = this.packageSearchParam(), e.$emit(this, "search", this.searchParams);
|
|
101
|
+
}) : "normal" === this.searchType ? this.$refs.searchFormOrdinarySearch.validateForm().then((o2) => {
|
|
102
|
+
if (!o2)
|
|
103
|
+
return false;
|
|
104
|
+
this.searchParams = this.packageSearchParam(), e.$emit(this, "search", this.searchParams);
|
|
105
|
+
}) : "advanced" === this.searchType && this.$refs.searchFormAdvancedQuery.validateForm().then((o2) => {
|
|
106
|
+
if (!o2)
|
|
107
|
+
return false;
|
|
108
|
+
this.loading = true, this.searchParams = this.packageSearchParam(), e.$emit(this, "search", this.searchParams);
|
|
109
|
+
});
|
|
110
|
+
}, resetForm() {
|
|
111
|
+
this.$refs.searchConditionList && (this.$refs.searchConditionList.editConditionId = null), this.isMobile ? this.$refs.searchFormMobile.resetForm() : "normal" === this.searchType ? this.$refs.searchFormOrdinarySearch.resetForm() : "advanced" === this.searchType && (this.$refs.searchFormAdvancedQuery.resetForm(), e.$emit(this, "reset")), eventBus.$emit("reset");
|
|
112
|
+
}, setNumberValue(e2, o2, t2) {
|
|
113
|
+
let r2 = this.getFormItemValue(this.searchableColumns[this.fieldNum * (o2 - 1) + (t2 - 1)].prop);
|
|
114
|
+
r2 = e2, this.setValueToModelProp(this.searchableColumns[this.fieldNum * (o2 - 1) + (t2 - 1)].prop, r2);
|
|
115
|
+
}, listSearchConditions() {
|
|
116
|
+
return new Promise((e2, o2) => {
|
|
117
|
+
this.listSearchCondition(this.code).then((o3) => {
|
|
118
|
+
this.searchConditions = o3, e2(o3);
|
|
119
|
+
}).catch((e3) => {
|
|
120
|
+
o2(e3);
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
}, saveCondition() {
|
|
124
|
+
const e2 = this.packageSearchParam();
|
|
125
|
+
e2 && 0 !== e2.length ? this.isShowSearchCondition = true : this.$message({ type: "warning", message: this.$t("imatrixUIMessage.pleaseInputSearchCondition"), showClose: true });
|
|
126
|
+
}, saveConditionValue(e2) {
|
|
127
|
+
if (e2) {
|
|
128
|
+
let o2;
|
|
129
|
+
o2 = "normal" === this.searchType || "" === this.searchType || null === this.searchType || void 0 === this.searchType ? this.packageSearchParam() : this.searchFormList;
|
|
130
|
+
const t2 = { listCode: this.code, queryType: "normal" === this.searchType || "" === this.searchType || null === this.searchType || void 0 === this.searchType ? "FIXED" : "CUSTOM", name: e2, queryCondition: JSON.stringify(o2) };
|
|
131
|
+
this.saveSearchCondition(t2).then((e3) => {
|
|
132
|
+
this.$message({ type: "success", message: this.$t("imatrixUIMessage.saveSuccessfully"), showClose: true }), this.isShowSearchCondition = false, this.listSearchConditions().then(() => {
|
|
133
|
+
this.$refs.searchConditionList && (this.$refs.searchConditionList.editConditionId = e3.id + ""), this.selectCondition(e3.id);
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
this.isShowSearchCondition = false;
|
|
138
|
+
}, removeCondition(e2) {
|
|
139
|
+
e2 && this.$confirm(this.$t("imatrixUIMessage.whetherToConfirmDeletion"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure"), cancelButtonText: this.$t("imatrixUIPublicModel.cancel"), type: "warning" }).then(() => {
|
|
140
|
+
this.removeSearchCondition(e2).then(() => {
|
|
141
|
+
this.$message({ type: "success", message: this.$t("superGrid.deleteSuccessful"), showClose: true }), this.listSearchConditions();
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
}, selectCondition(o2) {
|
|
145
|
+
o2 && this.getSearchCondition(o2).then((o3) => {
|
|
146
|
+
if (o3) {
|
|
147
|
+
const t2 = o3.queryCondition;
|
|
148
|
+
if (t2)
|
|
149
|
+
if ("normal" === this.searchType || "" === this.searchType || null === this.searchType || void 0 === this.searchType) {
|
|
150
|
+
const o4 = JSON.parse(t2), r2 = this.packageSearchForm(o4);
|
|
151
|
+
r2 && (this.searchForm = r2), this.loading = true, e.$emit(this, "search", o4);
|
|
152
|
+
} else
|
|
153
|
+
this.searchFormList = JSON.parse(t2), this.loading = true, e.$emit(this, "search", this.packageSearchParam());
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
}, packageSearchForm(e2) {
|
|
157
|
+
if (e2 && e2.length > 0) {
|
|
158
|
+
const o2 = {}, t2 = [];
|
|
159
|
+
return e2.forEach((e3) => {
|
|
160
|
+
let r2 = e3.propName;
|
|
161
|
+
const s2 = e3.columnProp, a2 = e3.dataType;
|
|
162
|
+
a2 && "BOOLEAN" === a2 && s2 && (r2 = s2), -1 === t2.indexOf(r2) && t2.push(r2);
|
|
163
|
+
const n2 = e3.propValue;
|
|
164
|
+
if (r2 && r2.indexOf(".") > 0)
|
|
165
|
+
i.addDynamicProp(o2, r2, n2);
|
|
166
|
+
else {
|
|
167
|
+
let t3 = false;
|
|
168
|
+
!a2 || "DATE" !== a2 && "TIME" !== a2 || e3.startValue && e3.endValue && (t3 = true), t3 ? o2[r2] = [new Date(e3.startValue), new Date(e3.endValue)] : o2[r2] ? o2[r2] instanceof Array ? o2[r2].push(n2) : o2[r2] = [o2[r2], n2] : o2[r2] = n2;
|
|
169
|
+
}
|
|
170
|
+
}), this.searchableColumns.forEach((e3) => {
|
|
171
|
+
t2 && (t2.indexOf(e3.prop) < 0 ? e3.prop && e3.prop.indexOf(".") > 0 ? "dateSection" === e3.componentType ? i.addDynamicPropDateSection(o2, e3.prop) : i.addDynamicProp(o2, e3.prop) : "dateSection" === e3.componentType ? o2[e3.prop] = [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()] : o2[e3.prop] = null : "multiselect" === e3.componentType && o2[e3.prop] && (o2[e3.prop] instanceof Array || (o2[e3.prop] = [o2[e3.prop]])));
|
|
172
|
+
}), o2;
|
|
173
|
+
}
|
|
174
|
+
}, resetSearchFormList() {
|
|
175
|
+
this.searchFormList = null;
|
|
176
|
+
}, openFold(o2) {
|
|
177
|
+
e.$emit(this, "open-fold", o2);
|
|
178
|
+
}, searchComplete() {
|
|
179
|
+
this.isMobile && this.$refs.searchFormMobile ? this.$refs.searchFormMobile.searchComplete() : this.$refs.searchFormOrdinarySearch && this.$refs.searchFormOrdinarySearch.searchComplete();
|
|
180
|
+
}, closeMobileSearch() {
|
|
181
|
+
this.isShowMobileForm = false, e.$emit(this, "close-mobile-search");
|
|
182
|
+
}, showMobileSearch() {
|
|
183
|
+
this.isShowMobileForm = true;
|
|
184
|
+
} }, emits: ["search", "open-fold", "reset", "show-mobile-search", "close-mobile-search"] }, p = { class: "amb-agilebuilder-search-form-view" }, u = { class: "search-condition-mobile" }, y = { key: 3, style: { "padding-top": "10px", "padding-bottom": "10px", "text-align": "center" } }, C = { key: 0, style: { "margin-left": "10px" } };
|
|
185
|
+
const f = m(d, [["render", function(e2, o2, t2, r2, s2, i2) {
|
|
186
|
+
const n2 = a.resolveComponent("search-condition-list"), c2 = a.resolveComponent("search-form-mobile"), l2 = a.resolveComponent("el-drawer"), h2 = a.resolveComponent("search-form-ordinary-search"), m2 = a.resolveComponent("search-form-advanced-query"), d2 = a.resolveComponent("el-button"), f2 = a.resolveComponent("search-condition-input");
|
|
187
|
+
return a.openBlock(), a.createElementBlock("div", p, [s2.isMobile ? (a.openBlock(), a.createBlock(l2, { key: 0, modelValue: s2.isShowMobileForm, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => s2.isShowMobileForm = e3), "close-on-click-modal": false, "close-on-press-escape": false, direction: "rtl", size: "50%", onClose: o2[4] || (o2[4] = (e3) => i2.closeMobileSearch()) }, { default: a.withCtx(() => [a.createElementVNode("div", u, [s2.searchConditions.length > 0 ? (a.openBlock(), a.createBlock(n2, { key: 0, ref: "searchConditionList", "search-conditions": s2.searchConditions, "search-type": s2.searchType, onRemoveCondition: i2.removeCondition, onSelectCondition: i2.selectCondition }, null, 8, ["search-conditions", "search-type", "onRemoveCondition", "onSelectCondition"])) : a.createCommentVNode("", true)]), s2.isMobile && "normal" === s2.searchType ? (a.openBlock(), a.createBlock(c2, { key: 0, ref: "searchFormMobile", code: t2.code, "is-sql": t2.isSql, "load-complete-query": t2.loadCompleteQuery, query: t2.query, rules: s2.rules, "search-form": s2.searchForm, "searchable-columns": i2.searchableColumns, onSubmitForm: o2[0] || (o2[0] = (e3) => i2.submitForm("searchForm")), onResetForm: o2[1] || (o2[1] = (e3) => i2.resetForm("searchForm")), onSaveCondition: o2[2] || (o2[2] = (e3) => i2.saveCondition()) }, null, 8, ["code", "is-sql", "load-complete-query", "query", "rules", "search-form", "searchable-columns"])) : a.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue"])) : (a.openBlock(), a.createElementBlock(a.Fragment, { key: 1 }, [s2.searchConditions.length > 0 ? (a.openBlock(), a.createBlock(n2, { key: 0, ref: "searchConditionList", "search-conditions": s2.searchConditions, "search-type": s2.searchType, onRemoveCondition: i2.removeCondition, onSelectCondition: i2.selectCondition }, null, 8, ["search-conditions", "search-type", "onRemoveCondition", "onSelectCondition"])) : a.createCommentVNode("", true), "normal" === s2.searchType ? (a.openBlock(), a.createBlock(h2, { key: 1, ref: "searchFormOrdinarySearch", code: t2.code, "field-num": s2.fieldNum, "is-sql": t2.isSql, "label-width": s2.labelWidth, "load-complete-query": t2.loadCompleteQuery, query: t2.query, "row-num": s2.rowNum, rules: s2.rules, "search-form": s2.searchForm, "searchable-columns": i2.searchableColumns, "span-num": s2.spanNum, onSubmitForm: o2[5] || (o2[5] = (e3) => i2.submitForm("searchForm")), onResetForm: o2[6] || (o2[6] = (e3) => i2.resetForm("searchForm")), onSaveCondition: o2[7] || (o2[7] = (e3) => i2.saveCondition()), onOpenFold: i2.openFold }, null, 8, ["code", "field-num", "is-sql", "label-width", "load-complete-query", "query", "row-num", "rules", "search-form", "searchable-columns", "span-num", "onOpenFold"])) : a.createCommentVNode("", true), "advanced" === s2.searchType ? (a.openBlock(), a.createBlock(m2, { key: 2, ref: "searchFormAdvancedQuery", code: t2.code, "is-sql": t2.isSql, "prop-map": s2.propMap, "search-form-list": s2.searchFormList, "searchable-columns": i2.advancedQueryColumns, style: { "padding-bottom": "10px" }, onResetForm: i2.resetSearchFormList }, null, 8, ["code", "is-sql", "prop-map", "search-form-list", "searchable-columns", "onResetForm"])) : a.createCommentVNode("", true), "advanced" === s2.searchType ? (a.openBlock(), a.createElementBlock("div", y, [a.createVNode(d2, { loading: s2.loading, size: "default", type: "primary", onClick: o2[8] || (o2[8] = (e3) => i2.submitForm("searchForm")) }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["loading"]), a.createVNode(d2, { loading: s2.loading, size: "default", onClick: o2[9] || (o2[9] = (e3) => i2.resetForm("searchForm")) }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("imatrixUIPublicModel.reset")), 1)]), _: 1 }, 8, ["loading"]), a.createVNode(d2, { size: "default", onClick: i2.saveCondition }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("superGrid.saveCondition")), 1)]), _: 1 }, 8, ["onClick"]), null !== s2.advancedQuery && void 0 !== s2.advancedQuery && true === s2.advancedQuery && null !== s2.normalQuery && void 0 !== s2.normalQuery && true === s2.normalQuery ? (a.openBlock(), a.createElementBlock("span", C, ["advanced" === s2.searchType ? (a.openBlock(), a.createBlock(d2, { key: 0, size: "default", onClick: o2[10] || (o2[10] = (e3) => s2.searchType = "normal") }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("imatrixUIPublicModel.switchToNormalQuery")), 1)]), _: 1 })) : a.createCommentVNode("", true), "normal" === s2.searchType ? (a.openBlock(), a.createBlock(d2, { key: 1, size: "default", onClick: o2[11] || (o2[11] = (e3) => s2.searchType = "advanced") }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("imatrixUIPublicModel.switchToAdvancedQuery")), 1)]), _: 1 })) : a.createCommentVNode("", true)])) : a.createCommentVNode("", true)])) : a.createCommentVNode("", true)], 64)), s2.isShowSearchCondition ? (a.openBlock(), a.createBlock(f2, { key: 2, onClose: i2.saveConditionValue }, null, 8, ["onClose"])) : a.createCommentVNode("", true)]);
|
|
188
|
+
}], ["__scopeId", "data-v-8ae4e3f5"]]);
|
|
189
|
+
module.exports = f;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue");
|
|
3
|
+
const l = require("../../_virtual/_plugin-vue_export-helper.cjs")({ name: "SelectionColumn", components: {}, props: { column: { type: Object, default: null }, isLineEdit: { type: Boolean, default: false } }, computed: { fixed() {
|
|
4
|
+
return !!this.column.fixed && (!["null", "false", "undefined"].includes(this.column.fixed) && this.column.fixed);
|
|
5
|
+
} } }, [["render", function(l2, n, t, o, u, i) {
|
|
6
|
+
const c = e.resolveComponent("el-table-column");
|
|
7
|
+
return e.openBlock(), e.createBlock(c, { align: "center", type: "selection", label: t.column.label, fixed: i.fixed, width: 60 }, null, 8, ["label", "fixed"]);
|
|
8
|
+
}]]);
|
|
9
|
+
module.exports = l;
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const t = require("../../utils/gogocodeTransfer.cjs"), e = require("sortablejs"), i = require("../../utils/value-set.cjs"), s = require("./store.cjs"), n = require("../../src/utils/permission.cjs"), o = require("./utils.cjs"), a = { initialize() {
|
|
3
|
+
(/* @__PURE__ */ new Date()).getTime();
|
|
4
|
+
return new Promise((t2, e2) => {
|
|
5
|
+
const n2 = s.get(this.code);
|
|
6
|
+
if (this.options.isAdministerListView)
|
|
7
|
+
this.getShowColumns(this.options.SuperGrid), Object.assign(this, this.options.SuperGrid), n2.isSql = this.isSql, n2.columns = this.columns, n2.query = this.query, n2.pagination = this.pagination, this.createBackgroundColorMap(), this.hasLoadedColumns = true, this.fetchData(null, null, null, null), t2();
|
|
8
|
+
else {
|
|
9
|
+
let a2;
|
|
10
|
+
const l = window.sessionStorage.getItem("additionalParamMap");
|
|
11
|
+
if (l && (l && "object" == typeof l ? a2 = JSON.stringify(l) : l && "" !== l && (a2 = l)), this.options.additionalParamMap && "object" == typeof this.options.additionalParamMap) {
|
|
12
|
+
const t3 = JSON.stringify(this.options.additionalParamMap);
|
|
13
|
+
a2 ? Object.assign(a2, t3) : a2 = t3;
|
|
14
|
+
} else if (this.options.additionalParamMap && "" !== this.options.additionalParamMap) {
|
|
15
|
+
const t3 = this.options.additionalParamMap;
|
|
16
|
+
a2 ? Object.assign(a2, t3) : a2 = t3;
|
|
17
|
+
}
|
|
18
|
+
this.options.extraParam && this.options.extraParam.entityMap && (this.parentFormData = this.options.extraParam.entityMap), this.getListViewSetting(a2).then((l2) => {
|
|
19
|
+
var _a;
|
|
20
|
+
(/* @__PURE__ */ new Date()).getTime(), this.isLoadCompleteQuery(l2.columns);
|
|
21
|
+
let r = [];
|
|
22
|
+
if (r.concat(JSON.parse(JSON.stringify(l2.columns))), l2.branchFieldsMap && Object.keys(l2.branchFieldsMap).length > 0 && l2.branchFieldsMap.allAuthFields && l2.branchFieldsMap.allAuthFields.length > 0 && (n2.branchFieldsMap = l2.branchFieldsMap), l2.columns = this.filterHasAuthColumns(l2.columns, n2, (_a = l2.basicInfo) == null ? void 0 : _a.systemCode), this.getShowColumns(l2), l2.basicInfo && s.set(this.code + "basicInfo", l2.basicInfo), this.options.pageSizes && l2.pagination) {
|
|
23
|
+
let t3 = null;
|
|
24
|
+
const e3 = this.options.pageSizes.split(",");
|
|
25
|
+
if (e3 && e3.length > 0) {
|
|
26
|
+
t3 = [];
|
|
27
|
+
for (var h = 0; h < e3.length; h++)
|
|
28
|
+
t3.push(1 * e3[h]);
|
|
29
|
+
l2.pagination.pageSize = t3[0];
|
|
30
|
+
}
|
|
31
|
+
l2.pagination.layout = "total, sizes,prev, pager, next, jumper", l2.pagination.pageSizes = t3;
|
|
32
|
+
}
|
|
33
|
+
void 0 !== this.options.initSortInfo && (Array.isArray(this.options.initSortInfo) ? l2.sortInfo = this.options.initSortInfo : (l2.sortInfo = [], l2.sortInfo.push(this.options.initSortInfo))), i.packageEnumAndBeanColumnValueSets(l2.columns, this.code, n2.additionalParamMap, this.parentFormData).then(() => this.getDynamicColumnByBean(a2, l2.dynamicColumnInfo, l2.columns, n2)).then((e3) => {
|
|
34
|
+
(/* @__PURE__ */ new Date()).getTime();
|
|
35
|
+
let i2 = [];
|
|
36
|
+
void 0 !== this.options.showColumns && (i2 = this.options.showColumns.split(","));
|
|
37
|
+
let s2 = e3;
|
|
38
|
+
if (s2 && 0 !== s2.length || this.options.dynamicColumns && this.options.dynamicColumns.length > 0 && (s2 = this.options.dynamicColumns), s2 && s2.length > 0) {
|
|
39
|
+
if (r = r.concat(JSON.parse(JSON.stringify(s2))), i2 && i2.length > 0)
|
|
40
|
+
for (let t3 = 0; t3 < s2.length; t3++) {
|
|
41
|
+
const e4 = s2[t3].prop;
|
|
42
|
+
s2[t3].dynamic = true, i2.indexOf(e4) >= 0 ? s2[t3].show = true : s2[t3].show = false;
|
|
43
|
+
}
|
|
44
|
+
l2.columns = l2.columns.concat(s2), l2.columns = l2.columns.sort((t3, e4) => t3.displayOrder - e4.displayOrder);
|
|
45
|
+
}
|
|
46
|
+
Object.assign(this, l2), this.options && "undefined" == typeof isSqlSetting && (this.isSql = this.basicInfo.sql), n2.isSql = this.isSql, n2.allColumns = r, n2.columns = this.columns, this.packageColumnOptionMap(n2), this.judgeIsFormSubTable(), n2.colSetting = this.colSetting, n2.lineEdit = this.lineEdit, n2.basicInfo = this.basicInfo, n2.pagination = this.pagination, n2.pageContext = this.pageContext, n2.configureObj = this.configureObj, this.tableName = this.basicInfo.tableName, n2.hiddenColumns = this.options.hiddenColumns ? JSON.parse(JSON.stringify(this.options.hiddenColumns)) : [], this.pagination && (this.pageSize = this.pagination.pageSize), n2.query = this.query, n2.dynamicColumnInfo = this.dynamicColumnInfo, n2.mainDefaultValueColumns = this.mainDefaultValueColumns, n2.contextParameter = this.contextParameter, this.isShowPage = this.isShowPageArea(), this.isSubTableShowPage = !!this.isFormSubTable && this.isShowPage, n2.isSubTableShowPage = this.isSubTableShowPage, this.getDetailColumn(), this.hasLoadedColumns = true;
|
|
47
|
+
let a3 = true;
|
|
48
|
+
o.isHasOptionFunction("loadBeforeSend", this.code) && (a3 = n2.options.loadBeforeSend.call(this, { columns: this.columns, gridParams: n2, additionalParamMap: n2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj })), void 0 !== a3 && true !== a3 || this.options.isPageInfo || (void 0 === this.options.initSearch ? (void 0 === n2.basicInfo.initializationQuery || n2.basicInfo.initializationQuery) && (this.loadCompleteQuery ? this.isLoading = false : this.fetchData()) : this.options.initSearch && (this.loadCompleteQuery ? this.isLoading = false : this.fetchData())), this.createBackgroundColorMap(), t2();
|
|
49
|
+
}).catch((t3) => {
|
|
50
|
+
e2(t3);
|
|
51
|
+
});
|
|
52
|
+
}).catch((t3) => {
|
|
53
|
+
e2(t3);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
(/* @__PURE__ */ new Date()).getTime();
|
|
57
|
+
});
|
|
58
|
+
}, getDetailColumn() {
|
|
59
|
+
if (this.isFormSubTable && this.options.showRowForm) {
|
|
60
|
+
const t2 = { prop: "$detail", orgProp: "$detail", label: "详情", dataType: "TEXT", width: 80, show: true, exportable: false, sortable: "false", filterable: false, fixed: "left", span: false, queryType: "no", querySetting: "{}", editable: false, componentType: "input", titleAlign: "center", contAlign: "center", showType: "default", exportType: "default", displayOrderType: "default", displayOrder: 5, widthType: "default", ifMultiData: true, dynamic: false, total: false, custom: true, remoteEnum: false, fuzzy: true, groupHeader: false };
|
|
61
|
+
t2.label = this.$t("superGrid.detail"), this.detailColumn = t2, this.detailColumn;
|
|
62
|
+
}
|
|
63
|
+
}, getListViewSetting(t2) {
|
|
64
|
+
return new Promise((e2, i2) => {
|
|
65
|
+
if (this.settings, this.settings)
|
|
66
|
+
e2(this.settings);
|
|
67
|
+
else {
|
|
68
|
+
let s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-grids/" + this.code;
|
|
69
|
+
const n2 = this.options.isSql;
|
|
70
|
+
if (this.options && void 0 !== n2 && (this.isSql = n2), s2 = s2 + "?_isSql=" + n2, s2 = s2 + "&_publishVersion=" + this.publishVersion, this.options && void 0 !== this.options.isAdministerListView && this.options.isAdministerListView && (s2 = s2 + "&_isAdminister=" + this.options.isAdministerListView), t2)
|
|
71
|
+
try {
|
|
72
|
+
const e3 = JSON.parse(t2);
|
|
73
|
+
for (let t3 in e3) {
|
|
74
|
+
const i3 = e3[t3];
|
|
75
|
+
null != i3 && (Array.isArray(i3) || "object" == typeof i3 || i3 + "" == "[object Object]" || (s2 = s2 + "&" + t3 + "=" + i3));
|
|
76
|
+
}
|
|
77
|
+
} catch (t3) {
|
|
78
|
+
console.error("获得列表配置时附加参数string转换为object错误");
|
|
79
|
+
}
|
|
80
|
+
this.isLoading = true, this.$http.get(s2).then((t3) => {
|
|
81
|
+
e2(t3);
|
|
82
|
+
}).catch((t3) => {
|
|
83
|
+
i2(t3);
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}, isLoadCompleteQuery(t2) {
|
|
88
|
+
if (null !== t2) {
|
|
89
|
+
let e2 = 0;
|
|
90
|
+
t2.forEach((t3) => {
|
|
91
|
+
t3.hasOwnProperty("queryType") && t3.hasOwnProperty("prop") && "$index" !== t3.prop && "$selection" !== t3.prop && t3.queryType && "no" !== t3.queryType && t3.componentType && ("date" === t3.componentType || "dateSection" === t3.componentType || "timePicker" === t3.componentType || "dateTimePicker" === t3.componentType) && t3.controlConfig && t3.controlConfig.timeDefaultQueryRange && e2++;
|
|
92
|
+
}), e2 > 0 && (this.loadCompleteQuery = true);
|
|
93
|
+
}
|
|
94
|
+
}, packageColumnOptionMap(t2) {
|
|
95
|
+
const e2 = {};
|
|
96
|
+
t2.columns && t2.columns.length > 0 && this.packageColumnOptionMapItems(t2.columns, e2), t2.columnOptionMap = e2;
|
|
97
|
+
}, packageColumnOptionMapItems(t2, e2) {
|
|
98
|
+
t2.forEach((t3) => {
|
|
99
|
+
t3.children && t3.children.length > 0 && this.packageColumnOptionMapItems(t3.children, e2), t3 && t3.prop && (e2[t3.prop] = t3);
|
|
100
|
+
});
|
|
101
|
+
}, getDynamicColumnByBean(t2, e2, i2, s2) {
|
|
102
|
+
return new Promise((n2, o2) => {
|
|
103
|
+
if (s2.options.extraParam && s2.options.extraParam.entityMap && (this.parentFormData = s2.options.extraParam.entityMap), !this.options.isPageInfo && e2 && e2.length > 0) {
|
|
104
|
+
const a2 = [];
|
|
105
|
+
this.getDynamicColumnByBeanWithOneSet(t2, e2[0], i2, 0, e2, a2, s2).then((t3) => {
|
|
106
|
+
n2(t3);
|
|
107
|
+
}).catch((t3) => {
|
|
108
|
+
o2(t3);
|
|
109
|
+
});
|
|
110
|
+
} else
|
|
111
|
+
n2([]);
|
|
112
|
+
});
|
|
113
|
+
}, getDynamicColumnByBeanWithOneSet(e2, i2, s2, n2, o2, a2, l) {
|
|
114
|
+
return new Promise((r, h) => {
|
|
115
|
+
if (i2 && i2.beanName) {
|
|
116
|
+
const h2 = window.$vueApp.config.globalProperties.baseURL + "/common/dynamic-columns", p = { additionalParams: e2, listCode: this.code, columns: s2, beanName: i2.beanName };
|
|
117
|
+
if (this.parentFormData && (l.dynamicTemp ? (p.parent = l.dynamicTemp.parent, p.watchParentAttrValues = l.dynamicTemp.watchParentAttrValues) : p.parent = this.parentFormData, i2.watchParentAttr)) {
|
|
118
|
+
i2.watchParentAttr.split(",").forEach((e3) => {
|
|
119
|
+
if (e3) {
|
|
120
|
+
p.watchParentAttrValues || (p.watchParentAttrValues = {}), p.watchParentAttrValues[e3] = this.parentFormData[e3];
|
|
121
|
+
const i3 = this.$watch("parentFormData." + e3, function(s3, n3) {
|
|
122
|
+
l.dynamicTemp || (l.dynamicTemp = {}), l.dynamicTemp.parent = this.parentFormData, l.dynamicTemp.watchParentAttrValues || (l.dynamicTemp.watchParentAttrValues = {}), l.dynamicTemp.watchParentAttrValues[e3] = s3, this.$refs && this.$refs.superGrid && (i3(), t.$emit(this, "reload-grid"));
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
this.$http.post(h2, p).then((t2) => {
|
|
128
|
+
i2.dynamicColumns = t2, a2 = a2.concat(t2), n2 + 1 < o2.length ? this.getDynamicColumnByBeanWithOneSet(e2, o2[n2 + 1], s2, n2 + 1, o2, a2) : r(a2);
|
|
129
|
+
}).catch(() => {
|
|
130
|
+
r([]);
|
|
131
|
+
});
|
|
132
|
+
} else
|
|
133
|
+
r([]);
|
|
134
|
+
});
|
|
135
|
+
}, columnDrop() {
|
|
136
|
+
const i2 = this;
|
|
137
|
+
let s2 = false;
|
|
138
|
+
if (void 0 !== this.options.isDragColumnFlag && null != this.options.isDragColumn && true === this.options.isDragColumn) {
|
|
139
|
+
s2 = true;
|
|
140
|
+
const t2 = document.querySelector(".el-table__header-wrapper tr");
|
|
141
|
+
null != t2 && (this.sortable = e.create(t2, { animation: 180, delay: 0, onEnd: (t3) => {
|
|
142
|
+
let e2 = t3.oldIndex, s3 = t3.newIndex;
|
|
143
|
+
const n2 = [];
|
|
144
|
+
for (var o2 = 0; o2 < i2.columns.length; o2++)
|
|
145
|
+
"left" !== i2.columns[o2].fixed && "right" !== i2.columns[o2].fixed || n2.push(o2);
|
|
146
|
+
if (n2 && n2.length > 0)
|
|
147
|
+
for (var a2 = 0; a2 < n2.length; a2++)
|
|
148
|
+
n2[a2] >= s3 && s3--, n2[a2] >= e2 && e2--;
|
|
149
|
+
if (null != e2 && -1 !== e2 && null != s3 && -1 !== s3) {
|
|
150
|
+
if (e2 > s3) {
|
|
151
|
+
if (i2.columns && i2.columns.length > 0) {
|
|
152
|
+
const t4 = i2.columns[e2];
|
|
153
|
+
for (var l = e2 - 1; l >= s3; l--) {
|
|
154
|
+
const t5 = i2.columns[l];
|
|
155
|
+
t5.displayOrderType = "custom", i2.columns[l + 1] = t5;
|
|
156
|
+
}
|
|
157
|
+
i2.columns[s3] = t4;
|
|
158
|
+
}
|
|
159
|
+
} else if (i2.columns && i2.columns.length > 0) {
|
|
160
|
+
const t4 = i2.columns[e2];
|
|
161
|
+
for (var r = e2 + 1; r <= s3; r++) {
|
|
162
|
+
const t5 = i2.columns[r];
|
|
163
|
+
t5.displayOrderType = "custom", i2.columns[r - 1] = t5;
|
|
164
|
+
}
|
|
165
|
+
i2.columns[s3] = t4;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
i2.indexAfterTheChangeUpdateDisplayOrder(i2.columns, e2, s3, "displayOrder");
|
|
169
|
+
let h = [];
|
|
170
|
+
h = e2 > s3 ? i2.columns.slice(s3, e2 + 1) : i2.columns.slice(e2, s3 + 1);
|
|
171
|
+
const p = { listCode: i2.code, columns: h };
|
|
172
|
+
i2.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-grids/drag-columns", p).then((t4) => {
|
|
173
|
+
});
|
|
174
|
+
} }));
|
|
175
|
+
}
|
|
176
|
+
if (void 0 !== this.options.isAdministerListView && null != this.options.isAdministerListView && true === this.options.isAdministerListView && !s2) {
|
|
177
|
+
const i3 = document.querySelector(".el-table__header-wrapper tr");
|
|
178
|
+
null != i3 && (this.sortable = e.create(i3, { animation: 180, delay: 0, onEnd: (e2) => {
|
|
179
|
+
const i4 = e2.oldIndex, s3 = e2.newIndex, n2 = this.columns[e2.oldIndex];
|
|
180
|
+
this.columns.splice(i4, 1), this.columns.splice(s3, 0, n2), t.$emit(this, "columnDrop", i4, s3);
|
|
181
|
+
} }));
|
|
182
|
+
}
|
|
183
|
+
}, indexAfterTheChangeUpdateDisplayOrder(t2, e2, i2, s2) {
|
|
184
|
+
if (t2 && t2.length > 0 && null != e2 && void 0 !== e2 && -1 !== e2 && null != i2 && -1 !== i2 && s2 && "" !== s2) {
|
|
185
|
+
const n2 = t2[i2];
|
|
186
|
+
if (i2 > e2) {
|
|
187
|
+
const o2 = t2[i2 - 1][s2], a2 = t2.slice(e2, i2);
|
|
188
|
+
if (a2 && a2.length > 0)
|
|
189
|
+
for (let t3 = a2.length - 1; t3 > -1; t3--) {
|
|
190
|
+
const e3 = a2[t3];
|
|
191
|
+
e3[s2] = 0 === t3 ? n2[s2] : a2[t3 - 1][s2];
|
|
192
|
+
}
|
|
193
|
+
n2[s2] = o2;
|
|
194
|
+
} else {
|
|
195
|
+
const o2 = t2[i2 + 1][s2], a2 = t2.slice(i2 + 1, e2 + 1);
|
|
196
|
+
if (a2 && a2.length > 0)
|
|
197
|
+
for (let t3 = 0; t3 < a2.length; t3++) {
|
|
198
|
+
const e3 = a2[t3];
|
|
199
|
+
t3 === a2.length - 1 ? e3[s2] = n2[s2] : e3[s2] = a2[t3 + 1][s2];
|
|
200
|
+
}
|
|
201
|
+
n2[s2] = o2;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}, getDisplayOrder: (t2, e2) => t2 && void 0 !== t2.displayOrder && null !== t2.displayOrder ? t2.displayOrder : e2 + 1, getShowColumns(t2) {
|
|
205
|
+
let e2 = [];
|
|
206
|
+
if (void 0 !== this.options.showColumns && (e2 = this.options.showColumns.split(",")), e2.length > 0) {
|
|
207
|
+
const i2 = [];
|
|
208
|
+
for (let s2 = 0; s2 < t2.columns.length; s2++) {
|
|
209
|
+
const n2 = t2.columns[s2], o2 = n2.prop;
|
|
210
|
+
if ("$index" !== o2 && "$selection" !== o2)
|
|
211
|
+
if (n2.hasOwnProperty("children")) {
|
|
212
|
+
const t3 = this.getChildrenColumns(n2.children, e2);
|
|
213
|
+
n2.children = t3, t3.length > 0 && i2.push(n2);
|
|
214
|
+
} else
|
|
215
|
+
e2.indexOf(o2) >= 0 && i2.push(n2);
|
|
216
|
+
else
|
|
217
|
+
i2.push(n2);
|
|
218
|
+
}
|
|
219
|
+
t2.columns = i2;
|
|
220
|
+
}
|
|
221
|
+
}, getChildrenColumns(t2, e2) {
|
|
222
|
+
const i2 = [];
|
|
223
|
+
for (let s2 = 0; s2 < t2.length; s2++) {
|
|
224
|
+
const n2 = t2[s2], o2 = n2.prop;
|
|
225
|
+
if (n2.hasOwnProperty("children")) {
|
|
226
|
+
const t3 = this.getChildrenColumns(n2.children, e2);
|
|
227
|
+
n2.children = t3, t3.length > 0 && i2.push(n2);
|
|
228
|
+
} else
|
|
229
|
+
e2.indexOf(o2) >= 0 && i2.push(n2);
|
|
230
|
+
}
|
|
231
|
+
return i2;
|
|
232
|
+
}, saveColumnWidth(t2, e2) {
|
|
233
|
+
return new Promise((i2, s2) => {
|
|
234
|
+
if (void 0 !== e2) {
|
|
235
|
+
const n2 = { prop: t2, width: e2 + "" };
|
|
236
|
+
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-grids/setting-column-widths/" + this.code, n2).then((t3) => {
|
|
237
|
+
i2(e2);
|
|
238
|
+
}).catch((t3) => {
|
|
239
|
+
s2(t3);
|
|
240
|
+
});
|
|
241
|
+
} else
|
|
242
|
+
i2();
|
|
243
|
+
});
|
|
244
|
+
}, filterHasAuthColumns(t2, e2, i2) {
|
|
245
|
+
if (!this.pageContext || !this.configureObj)
|
|
246
|
+
return t2;
|
|
247
|
+
const s2 = this.configureObj.code ? this.configureObj.code : this.code;
|
|
248
|
+
return this.pageContext.subTablePageInfo || (this.pageContext.subTablePageInfo = {}), this.pageContext.subTablePageInfo[s2] || (this.pageContext.subTablePageInfo[s2] = {}), this.pageContext.subTablePageInfo[s2].fields = [], t2.filter((t3) => {
|
|
249
|
+
let o2 = true;
|
|
250
|
+
return e2.branchFieldsMap && (o2 = n.isFieldHasBranchAuth(e2.branchFieldsMap, t3.prop)), t3.functionCode && (o2 = n.default(t3.functionCode, i2)), !!o2 && ("$index" !== t3.prop && "$selection" !== t3.prop && this.pageContext.subTablePageInfo[s2].fields.push(t3.prop), true);
|
|
251
|
+
});
|
|
252
|
+
} };
|
|
253
|
+
module.exports = a;
|