agilebuilder-ui 1.1.65-tmp12 → 1.1.65-tmp14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/favicon.svg +29 -0
- package/dist/index.full.min.js +16440 -0
- package/dist/style.css +3078 -0
- package/es/IntervalSelection/index.js +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.js +49 -0
- package/es/IntervalSelection/src/sectionDate.vue2.js +4 -0
- package/es/_virtual/__vite-browser-external.js +4 -0
- package/es/_virtual/_plugin-vue_export-helper.js +9 -0
- package/es/breadcrumb/index.js +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.js +28 -0
- package/es/breadcrumb/src/breadcrumb.vue2.js +4 -0
- package/es/chat-embed/index.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.js +14 -0
- package/es/chat-embed/src/chat-addition-data.vue3.js +4 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +29 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.js +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +33 -0
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +4 -0
- package/es/chat-embed/src/chat-embed-message.js +22 -0
- package/es/chat-embed/src/chat-sender.vue.js +7 -0
- package/es/chat-embed/src/chat-sender.vue2.js +160 -0
- package/es/chat-embed/src/chat-sender.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +59 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +6 -0
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +118 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +4 -0
- package/es/chat-embed/src/components/history-detail.vue.js +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.js +55 -0
- package/es/chat-embed/src/components/history-detail.vue3.js +4 -0
- package/es/chat-embed/src/header.vue.js +7 -0
- package/es/chat-embed/src/header.vue2.js +46 -0
- package/es/chat-embed/src/header.vue3.js +4 -0
- package/es/chat-embed/src/index.vue.js +7 -0
- package/es/chat-embed/src/index.vue2.js +307 -0
- package/es/chat-embed/src/index.vue3.js +4 -0
- package/es/chat-embed/src/recommendation-message.vue.js +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.js +8 -0
- package/es/chat-embed/src/recommendation-message.vue3.js +4 -0
- package/es/chat-embed/src/sidebar-item.vue.js +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.js +118 -0
- package/es/chat-embed/src/sidebar-item.vue3.js +4 -0
- package/es/chat-embed/src/type.js +5 -0
- package/es/chat-embed/src/util/chat-embed-util.js +57 -0
- package/es/chat-embed/src/util/history-message-util.js +96 -0
- package/es/chat-embed/src/util/mcp-utils.js +53 -0
- package/es/chat-embed/src/util/text-file-util.js +12 -0
- package/es/chat-embed/src/voice/index.js +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.js +1013 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.js +178 -0
- package/es/chat-embed/src/voice/js/timer.js +11 -0
- package/es/chat-embed/src/voice/voice.vue.js +104 -0
- package/es/date-picker-range/index.js +7 -0
- package/es/date-picker-range/index.vue.js +7 -0
- package/es/date-picker-range/index.vue2.js +93 -0
- package/es/date-picker-range/index.vue3.js +4 -0
- package/es/department-tree/index.js +7 -0
- package/es/department-tree/src/department-tree.vue.js +23 -0
- package/es/department-tree-inline/index.js +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +91 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +64 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.js +17 -0
- package/es/department-tree-inline/src/department-tree-service.js +108 -0
- package/es/department-tree-inline/src/search-result.vue.js +40 -0
- package/es/department-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-tree-mobile/index.js +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.js +15 -0
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-service.js +55 -0
- package/es/department-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/department-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/department-user-tree/index.js +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +20 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.js +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.js +27 -0
- package/es/department-user-tree-inline/index.js +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +165 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +69 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +54 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +34 -0
- package/es/department-user-tree-inline/src/group-user-tree-service.js +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.js +41 -0
- package/es/department-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-user-tree-mobile/index.js +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +15 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +38 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/directives/prevent-reclick.js +15 -0
- package/es/dynamic-source-select/index.js +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +276 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -0
- package/es/dynamic-source-select/src/events.js +29 -0
- package/es/empty-state/index.vue.js +9 -0
- package/es/empty-state/index.vue2.js +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.js +7 -0
- package/es/fs-preview/src/fs-preview.vue.js +120 -0
- package/es/fs-preview/src/fs-preview.vue2.js +4 -0
- package/es/fs-upload/index.js +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.js +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.js +73 -0
- package/es/fs-upload/src/fs-upload.vue.js +24 -0
- package/es/fs-upload/src/see-big-picture.vue.js +12 -0
- package/es/fs-upload-list/index.js +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.js +98 -0
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +4 -0
- package/es/fs-upload-new/index.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +61 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +62 -0
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +63 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.js +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +93 -0
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +4 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.js +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +4 -0
- package/es/hamburger/index.js +7 -0
- package/es/hamburger/src/hamburger.vue.js +15 -0
- package/es/hamburger/src/hamburger.vue2.js +4 -0
- package/es/index.js +383 -0
- package/es/json-view/json-view-dialog.vue.js +19 -0
- package/es/json-view/json-view-dialog.vue2.js +4 -0
- package/es/json-view/json-view.vue.js +4 -0
- package/es/json-view/json-view.vue2.js +36 -0
- package/es/multipart-upload/index.js +7 -0
- package/es/multipart-upload/src/index.vue.js +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.js +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.js +104 -0
- package/es/organization-input/index.js +7 -0
- package/es/organization-input/src/organization-input.vue.js +224 -0
- package/es/organization-input/src/organization-input.vue2.js +4 -0
- package/es/plugins/export-data-new.js +237 -0
- package/es/plugins/export-data.js +179 -0
- package/es/plugins/index.js +9 -0
- package/es/plugins/public-method.js +14 -0
- package/es/remove-department/index.js +7 -0
- package/es/remove-department/src/remove-department.vue.js +33 -0
- package/es/remove-department/src/remove-dept-service.js +13 -0
- package/es/remove-user/index.js +7 -0
- package/es/remove-user/src/remove-user-service.js +13 -0
- package/es/remove-user/src/remove-user.vue.js +35 -0
- package/es/remove-workgroup/index.js +7 -0
- package/es/remove-workgroup/src/remove-workgroup-service.js +13 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.js +31 -0
- package/es/rich-editor/index.js +7 -0
- package/es/rich-editor/index.vue.js +115 -0
- package/es/rich-editor/tinymce/zh_CN.js +2 -0
- package/es/rich-editor/viewer.vue.js +27 -0
- package/es/row-form/index.js +7 -0
- package/es/row-form/index.vue.js +7 -0
- package/es/row-form/index.vue2.js +62 -0
- package/es/row-form/index.vue3.js +4 -0
- package/es/row-form/operation.vue.js +32 -0
- package/es/row-form/operation.vue2.js +4 -0
- package/es/scan-code-input/index.js +7 -0
- package/es/scan-code-input/src/events.js +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.js +32 -0
- package/es/scan-code-input-browser/index.js +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +39 -0
- package/es/secret-info/index.js +7 -0
- package/es/secret-info/index.vue.js +16 -0
- package/es/src/api/sso-service.js +57 -0
- package/es/src/api/tab.js +15 -0
- package/es/src/assets/401/401.gif.js +4 -0
- package/es/src/assets/404/404-cloud.png.js +4 -0
- package/es/src/assets/404/404.png.js +4 -0
- package/es/src/assets/chat-embed/robot.gif.js +4 -0
- package/es/src/assets/chat-embed/robot.svg.js +4 -0
- package/es/src/assets/nonemessage.png.js +4 -0
- package/es/src/components/Affix/index.vue.js +7 -0
- package/es/src/components/Affix/index.vue2.js +83 -0
- package/es/src/components/Affix/index.vue3.js +4 -0
- package/es/src/components/Card/index.js +48 -0
- package/es/src/components/Scrollbar/index.vue.js +52 -0
- package/es/src/components/Scrollbar/index.vue2.js +4 -0
- package/es/src/directives/permission/index.js +7 -0
- package/es/src/directives/permission/permission.js +11 -0
- package/es/src/i18n/i18n.js +7 -0
- package/es/src/i18n/langs/cn.js +4 -0
- package/es/src/i18n/langs/en.js +4 -0
- package/es/src/mixins/resizeMixin.js +21 -0
- package/es/src/permission.js +79 -0
- package/es/src/router/index.js +9 -0
- package/es/src/store/getters.js +4 -0
- package/es/src/store/index.js +13 -0
- package/es/src/store/modules/app.js +41 -0
- package/es/src/store/modules/chat-ai-store.js +36 -0
- package/es/src/store/modules/permission.js +31 -0
- package/es/src/store/modules/system.js +12 -0
- package/es/src/store/modules/tab-content.js +20 -0
- package/es/src/store/modules/table.js +18 -0
- package/es/src/store/modules/user.js +139 -0
- package/es/src/utils/auth-api.js +134 -0
- package/es/src/utils/auth.js +156 -0
- package/es/src/utils/calculator/calculator-factory-wf.js +167 -0
- package/es/src/utils/calculator/calculator-factory.js +93 -0
- package/es/src/utils/calculator/calculator-util.js +56 -0
- package/es/src/utils/chat-ai-util.js +34 -0
- package/es/src/utils/common-util.js +440 -0
- package/es/src/utils/eventBus.js +6 -0
- package/es/src/utils/file-util.js +23 -0
- package/es/src/utils/global-prop.js +38 -0
- package/es/src/utils/guid.js +10 -0
- package/es/src/utils/i18n-util.js +70 -0
- package/es/src/utils/iconUtils.js +26 -0
- package/es/src/utils/index.js +46 -0
- package/es/src/utils/insert_css.js +17 -0
- package/es/src/utils/json-util.js +47 -0
- package/es/src/utils/jump-page-utils.js +264 -0
- package/es/src/utils/local-storage.js +19 -0
- package/es/src/utils/menu.js +14 -0
- package/es/src/utils/permission.js +45 -0
- package/es/src/utils/permissionAuth.js +154 -0
- package/es/src/utils/range-selector.js +105 -0
- package/es/src/utils/request.js +140 -0
- package/es/src/utils/resize.js +11 -0
- package/es/src/utils/restful-interface-utils.js +18 -0
- package/es/src/utils/util.js +361 -0
- package/es/src/utils/validate.js +22 -0
- package/es/src/utils/voice-setting-cache.js +212 -0
- package/es/src/utils/watermark-cache.js +15 -0
- package/es/src/utils/watermark.js +40 -0
- package/es/src/utils/workflow-util.js +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +12 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +4 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +53 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.js +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +66 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/error-page/401.vue.js +15 -0
- package/es/src/views/error-page/401.vue2.js +4 -0
- package/es/src/views/error-page/404.vue.js +12 -0
- package/es/src/views/error-page/404.vue2.js +4 -0
- package/es/src/views/layout/EmptyLayout.vue.js +9 -0
- package/es/src/views/layout/Layout.vue.js +28 -0
- package/es/src/views/layout/Layout.vue2.js +4 -0
- package/es/src/views/layout/NewLayout.vue.js +11 -0
- package/es/src/views/layout/components/AppMain.vue.js +13 -0
- package/es/src/views/layout/components/AppMain.vue2.js +4 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +49 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/Item.vue.js +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.js +15 -0
- package/es/src/views/layout/components/Menubar/Item.vue3.js +4 -0
- package/es/src/views/layout/components/Menubar/Link.vue.js +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +56 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/index.vue.js +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue.js +9 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.js +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +22 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/index.vue.js +58 -0
- package/es/src/views/layout/components/iframe-page.vue.js +14 -0
- package/es/src/views/layout/components/iframe-page.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.js +64 -0
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/layout/mixin/ResizeHandler.js +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.js +14 -0
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +4 -0
- package/es/src/views/layout/tab-content-index.vue.js +28 -0
- package/es/src/views/layout/tab-content-index.vue2.js +4 -0
- package/es/src/views/login/authredirect.vue.js +7 -0
- package/es/src/views/redirect/index.vue.js +8 -0
- package/es/src/views/svg-icon/src/svg-icon.vue.js +4 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +4 -0
- package/es/style.css +3077 -0
- package/es/super-grid/index.js +7 -0
- package/es/super-grid/src/apis.js +458 -0
- package/es/super-grid/src/columns-config.vue.js +82 -0
- package/es/super-grid/src/components/grid-icon.vue.js +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.js +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.js +4 -0
- package/es/super-grid/src/components/mobile-table-card.js +109 -0
- package/es/super-grid/src/components/select-input.vue.js +149 -0
- package/es/super-grid/src/components/select-input.vue2.js +4 -0
- package/es/super-grid/src/custom-formatter.js +168 -0
- package/es/super-grid/src/dynamic-input.vue.js +482 -0
- package/es/super-grid/src/eventBus.js +6 -0
- package/es/super-grid/src/events.js +37 -0
- package/es/super-grid/src/formValidatorUtil.js +109 -0
- package/es/super-grid/src/formatter.js +74 -0
- package/es/super-grid/src/group-column.vue.js +24 -0
- package/es/super-grid/src/header-context-menu.vue.js +15 -0
- package/es/super-grid/src/header-context-menu.vue2.js +4 -0
- package/es/super-grid/src/index-column.vue.js +22 -0
- package/es/super-grid/src/normal-column-content.vue.js +319 -0
- package/es/super-grid/src/normal-column-content.vue2.js +4 -0
- package/es/super-grid/src/normal-column.vue.js +106 -0
- package/es/super-grid/src/normal-column.vue2.js +4 -0
- package/es/super-grid/src/public-methods.js +22 -0
- package/es/super-grid/src/row-detail.vue.js +14 -0
- package/es/super-grid/src/row-operation.vue.js +89 -0
- package/es/super-grid/src/row-operation.vue2.js +4 -0
- package/es/super-grid/src/scan-util.js +100 -0
- package/es/super-grid/src/search-button.vue.js +23 -0
- package/es/super-grid/src/search-condition-input.vue.js +17 -0
- package/es/super-grid/src/search-condition-list.vue.js +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.js +116 -0
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +4 -0
- package/es/super-grid/src/search-form-dialog.vue.js +16 -0
- package/es/super-grid/src/search-form-item.vue.js +128 -0
- package/es/super-grid/src/search-form-item.vue2.js +4 -0
- package/es/super-grid/src/search-form-mobile.vue.js +41 -0
- package/es/super-grid/src/search-form-mobile.vue2.js +4 -0
- package/es/super-grid/src/search-form-number.vue.js +26 -0
- package/es/super-grid/src/search-form-open.vue.js +50 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +39 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +4 -0
- package/es/super-grid/src/search-form.vue.js +201 -0
- package/es/super-grid/src/search-form.vue2.js +4 -0
- package/es/super-grid/src/search-methods.js +164 -0
- package/es/super-grid/src/selection-column.vue.js +11 -0
- package/es/super-grid/src/store.js +4 -0
- package/es/super-grid/src/super-grid-service.js +260 -0
- package/es/super-grid/src/super-grid.vue.js +1052 -0
- package/es/super-grid/src/super-grid.vue2.js +4 -0
- package/es/super-grid/src/utils.js +355 -0
- package/es/super-grid/src/view-image-dialog.vue.js +67 -0
- package/es/super-icon/index.js +7 -0
- package/es/super-icon/src/index.vue.js +7 -0
- package/es/super-icon/src/index.vue2.js +13 -0
- package/es/super-icon/src/index.vue3.js +4 -0
- package/es/super-nine-grid/index.js +7 -0
- package/es/super-nine-grid/src/apis.js +36 -0
- package/es/super-nine-grid/src/custom-formatter.js +35 -0
- package/es/super-nine-grid/src/formatter.js +37 -0
- package/es/super-nine-grid/src/search-form-number.vue.js +13 -0
- package/es/super-nine-grid/src/search-form.vue.js +91 -0
- package/es/super-nine-grid/src/search-form.vue2.js +4 -0
- package/es/super-nine-grid/src/search-methods.js +48 -0
- package/es/super-nine-grid/src/store.js +4 -0
- package/es/super-nine-grid/src/super-grid-service.js +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.js +225 -0
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +4 -0
- package/es/super-nine-grid/src/utils.js +32 -0
- package/es/svg-icon/index.js +7 -0
- package/es/svg-icon/src/svg-icon.vue.js +14 -0
- package/es/svg-icon/src/svg-icon.vue2.js +4 -0
- package/es/utils/gogocodeTransfer.js +33 -0
- package/es/utils/memory-cache-utils.js +30 -0
- package/es/utils/organization.js +57 -0
- package/es/utils/utils.js +87 -0
- package/es/utils/value-set.js +94 -0
- package/es/valid-code/index.js +7 -0
- package/es/valid-code/src/valid-code.vue.js +23 -0
- package/es/valid-code/src/valid-code.vue2.js +4 -0
- package/es/workflow-button/index.js +7 -0
- package/es/workflow-button/src/workflow-button.vue.js +85 -0
- package/es/workflow-history-list/index.js +7 -0
- package/es/workflow-history-list/src/api.js +6 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.js +89 -0
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +4 -0
- package/es/workgroup-tree/index.js +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.js +23 -0
- package/es/workgroup-tree-inline/index.js +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +35 -0
- package/es/workgroup-tree-mobile/index.js +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +15 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +33 -0
- package/es/workgroup-user-tree/index.js +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +23 -0
- package/es/workgroup-user-tree-inline/index.js +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +172 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +15 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +29 -0
- package/es/year-range-picker/index.js +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.js +14 -0
- package/lib/IntervalSelection/index.js +5 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
- package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
- package/lib/_virtual/__vite-browser-external.js +2 -4
- package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
- package/lib/breadcrumb/index.js +3 -5
- package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
- package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
- package/lib/chat-embed/index.js +3 -5
- package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
- package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
- package/lib/chat-embed/src/chat-embed-message.js +14 -20
- package/lib/chat-embed/src/chat-sender.vue.js +5 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
- package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
- package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
- package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
- package/lib/chat-embed/src/header.vue.js +5 -7
- package/lib/chat-embed/src/header.vue2.js +25 -32
- package/lib/chat-embed/src/header.vue3.js +2 -4
- package/lib/chat-embed/src/index.vue.js +5 -7
- package/lib/chat-embed/src/index.vue2.js +185 -211
- package/lib/chat-embed/src/index.vue3.js +2 -4
- package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
- package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
- package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
- package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
- package/lib/chat-embed/src/type.js +3 -5
- package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
- package/lib/chat-embed/src/util/history-message-util.js +63 -85
- package/lib/chat-embed/src/util/mcp-utils.js +5 -8
- package/lib/chat-embed/src/util/text-file-util.js +7 -11
- package/lib/chat-embed/src/voice/index.js +5 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
- package/lib/chat-embed/src/voice/js/timer.js +7 -10
- package/lib/chat-embed/src/voice/voice.vue.js +61 -70
- package/lib/date-picker-range/index.js +5 -7
- package/lib/date-picker-range/index.vue.js +5 -7
- package/lib/date-picker-range/index.vue2.js +59 -63
- package/lib/date-picker-range/index.vue3.js +2 -4
- package/lib/department-tree/index.js +3 -5
- package/lib/department-tree/src/department-tree.vue.js +11 -17
- package/lib/department-tree-inline/index.js +3 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
- package/lib/department-tree-inline/src/department-tree-service.js +8 -10
- package/lib/department-tree-inline/src/search-result.vue.js +19 -23
- package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-tree-mobile/index.js +4 -7
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
- package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/department-user-tree/index.js +3 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
- package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/index.js +3 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
- package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
- package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-user-tree-mobile/index.js +4 -7
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/directives/prevent-reclick.js +2 -3
- package/lib/dynamic-source-select/index.js +5 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
- package/lib/dynamic-source-select/src/events.js +2 -3
- package/lib/empty-state/index.vue.js +5 -8
- package/lib/empty-state/index.vue2.js +3 -4
- package/lib/fs-preview/index.js +5 -7
- package/lib/fs-preview/src/fs-preview.vue.js +63 -72
- package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
- package/lib/fs-upload/index.js +5 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
- package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
- package/lib/fs-upload/src/fs-upload.vue.js +10 -16
- package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
- package/lib/fs-upload-list/index.js +5 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
- package/lib/fs-upload-new/index.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
- package/lib/hamburger/index.js +3 -5
- package/lib/hamburger/src/hamburger.vue.js +10 -14
- package/lib/hamburger/src/hamburger.vue2.js +2 -4
- package/lib/index.js +40 -380
- package/lib/json-view/json-view-dialog.vue.js +12 -15
- package/lib/json-view/json-view-dialog.vue2.js +3 -4
- package/lib/json-view/json-view.vue.js +3 -4
- package/lib/json-view/json-view.vue2.js +27 -31
- package/lib/multipart-upload/index.js +5 -7
- package/lib/multipart-upload/src/index.vue.js +7 -11
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
- package/lib/organization-input/index.js +5 -7
- package/lib/organization-input/src/organization-input.vue.js +31 -37
- package/lib/organization-input/src/organization-input.vue2.js +2 -4
- package/lib/plugins/export-data-new.js +96 -104
- package/lib/plugins/export-data.js +45 -51
- package/lib/plugins/index.js +4 -8
- package/lib/plugins/public-method.js +2 -3
- package/lib/remove-department/index.js +3 -5
- package/lib/remove-department/src/remove-department.vue.js +13 -19
- package/lib/remove-department/src/remove-dept-service.js +9 -10
- package/lib/remove-user/index.js +5 -7
- package/lib/remove-user/src/remove-user-service.js +3 -4
- package/lib/remove-user/src/remove-user.vue.js +16 -22
- package/lib/remove-workgroup/index.js +5 -7
- package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
- package/lib/rich-editor/index.js +5 -7
- package/lib/rich-editor/index.vue.js +28 -76
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +7 -10
- package/lib/row-form/index.js +5 -7
- package/lib/row-form/index.vue.js +5 -7
- package/lib/row-form/index.vue2.js +41 -47
- package/lib/row-form/index.vue3.js +2 -4
- package/lib/row-form/operation.vue.js +22 -26
- package/lib/row-form/operation.vue2.js +3 -4
- package/lib/scan-code-input/index.js +5 -7
- package/lib/scan-code-input/src/events.js +11 -13
- package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
- package/lib/scan-code-input-browser/index.js +5 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
- package/lib/secret-info/index.js +5 -7
- package/lib/secret-info/index.vue.js +6 -9
- package/lib/src/api/sso-service.js +34 -36
- package/lib/src/api/tab.js +8 -9
- package/lib/src/assets/401/401.gif.js +2 -4
- package/lib/src/assets/404/404-cloud.png.js +2 -4
- package/lib/src/assets/404/404.png.js +2 -4
- package/lib/src/assets/chat-embed/robot.gif.js +2 -4
- package/lib/src/assets/chat-embed/robot.svg.js +2 -4
- package/lib/src/assets/nonemessage.png.js +2 -4
- package/lib/src/components/Affix/index.vue.js +5 -7
- package/lib/src/components/Affix/index.vue2.js +56 -58
- package/lib/src/components/Affix/index.vue3.js +2 -4
- package/lib/src/components/Card/index.js +33 -38
- package/lib/src/components/Scrollbar/index.vue.js +33 -37
- package/lib/src/components/Scrollbar/index.vue2.js +2 -4
- package/lib/src/directives/permission/index.js +3 -5
- package/lib/src/directives/permission/permission.js +7 -9
- package/lib/src/i18n/i18n.js +3 -7
- package/lib/src/i18n/langs/cn.js +2 -4
- package/lib/src/i18n/langs/en.js +2 -4
- package/lib/src/mixins/resizeMixin.js +2 -3
- package/lib/src/permission.js +43 -46
- package/lib/src/router/index.js +16 -9
- package/lib/src/store/getters.js +2 -4
- package/lib/src/store/index.js +16 -13
- package/lib/src/store/modules/app.js +3 -4
- package/lib/src/store/modules/chat-ai-store.js +19 -22
- package/lib/src/store/modules/permission.js +10 -11
- package/lib/src/store/modules/system.js +7 -9
- package/lib/src/store/modules/tab-content.js +13 -15
- package/lib/src/store/modules/table.js +2 -3
- package/lib/src/store/modules/user.js +89 -95
- package/lib/src/utils/auth-api.js +3 -5
- package/lib/src/utils/auth.js +69 -139
- package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
- package/lib/src/utils/calculator/calculator-factory.js +57 -58
- package/lib/src/utils/calculator/calculator-util.js +29 -32
- package/lib/src/utils/chat-ai-util.js +17 -25
- package/lib/src/utils/common-util.js +271 -356
- package/lib/src/utils/eventBus.js +3 -6
- package/lib/src/utils/file-util.js +15 -16
- package/lib/src/utils/global-prop.js +21 -37
- package/lib/src/utils/guid.js +5 -8
- package/lib/src/utils/i18n-util.js +16 -24
- package/lib/src/utils/iconUtils.js +16 -23
- package/lib/src/utils/index.js +26 -40
- package/lib/src/utils/insert_css.js +8 -7
- package/lib/src/utils/json-util.js +25 -27
- package/lib/src/utils/jump-page-utils.js +172 -180
- package/lib/src/utils/local-storage.js +2 -3
- package/lib/src/utils/menu.js +10 -11
- package/lib/src/utils/permission.js +22 -26
- package/lib/src/utils/permissionAuth.js +102 -136
- package/lib/src/utils/range-selector.js +41 -45
- package/lib/src/utils/request.js +77 -86
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +12 -15
- package/lib/src/utils/util.js +6 -26
- package/lib/src/utils/validate.js +10 -20
- package/lib/src/utils/voice-setting-cache.js +140 -153
- package/lib/src/utils/watermark-cache.js +9 -14
- package/lib/src/utils/watermark.js +23 -30
- package/lib/src/utils/workflow-util.js +25 -26
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +13 -22
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/error-page/401.vue.js +9 -13
- package/lib/src/views/error-page/401.vue2.js +2 -4
- package/lib/src/views/error-page/404.vue.js +7 -11
- package/lib/src/views/error-page/404.vue2.js +2 -4
- package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
- package/lib/src/views/layout/Layout.vue.js +12 -19
- package/lib/src/views/layout/Layout.vue2.js +2 -4
- package/lib/src/views/layout/NewLayout.vue.js +6 -10
- package/lib/src/views/layout/components/AppMain.vue.js +9 -11
- package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
- package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
- package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
- package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
- package/lib/src/views/layout/tab-content-index.vue.js +12 -18
- package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
- package/lib/src/views/login/authredirect.vue.js +2 -3
- package/lib/src/views/redirect/index.vue.js +17 -8
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
- package/lib/style.css +868 -868
- package/lib/super-grid/index.js +5 -7
- package/lib/super-grid/src/apis.js +221 -231
- package/lib/super-grid/src/columns-config.vue.js +16 -22
- package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
- package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
- package/lib/super-grid/src/components/mobile-table-card.js +73 -83
- package/lib/super-grid/src/components/select-input.vue.js +98 -106
- package/lib/super-grid/src/components/select-input.vue2.js +3 -4
- package/lib/super-grid/src/custom-formatter.js +69 -73
- package/lib/super-grid/src/dynamic-input.vue.js +142 -159
- package/lib/super-grid/src/eventBus.js +3 -6
- package/lib/super-grid/src/events.js +34 -36
- package/lib/super-grid/src/formValidatorUtil.js +62 -65
- package/lib/super-grid/src/formatter.js +36 -41
- package/lib/super-grid/src/group-column.vue.js +8 -13
- package/lib/super-grid/src/header-context-menu.vue.js +10 -13
- package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
- package/lib/super-grid/src/index-column.vue.js +7 -10
- package/lib/super-grid/src/normal-column-content.vue.js +187 -206
- package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
- package/lib/super-grid/src/normal-column.vue.js +40 -55
- package/lib/super-grid/src/normal-column.vue2.js +2 -4
- package/lib/super-grid/src/public-methods.js +12 -14
- package/lib/super-grid/src/row-detail.vue.js +7 -10
- package/lib/super-grid/src/row-operation.vue.js +19 -26
- package/lib/super-grid/src/row-operation.vue2.js +2 -4
- package/lib/super-grid/src/scan-util.js +24 -26
- package/lib/super-grid/src/search-button.vue.js +12 -17
- package/lib/super-grid/src/search-condition-input.vue.js +8 -12
- package/lib/super-grid/src/search-condition-list.vue.js +10 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
- package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
- package/lib/super-grid/src/search-form-item.vue.js +16 -24
- package/lib/super-grid/src/search-form-item.vue2.js +2 -4
- package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
- package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
- package/lib/super-grid/src/search-form-number.vue.js +9 -14
- package/lib/super-grid/src/search-form-open.vue.js +7 -13
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
- package/lib/super-grid/src/search-form.vue.js +65 -77
- package/lib/super-grid/src/search-form.vue2.js +2 -4
- package/lib/super-grid/src/search-methods.js +2 -3
- package/lib/super-grid/src/selection-column.vue.js +7 -9
- package/lib/super-grid/src/store.js +3 -4
- package/lib/super-grid/src/super-grid-service.js +121 -128
- package/lib/super-grid/src/super-grid.vue.js +186 -217
- package/lib/super-grid/src/super-grid.vue2.js +2 -4
- package/lib/super-grid/src/utils.js +265 -322
- package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
- package/lib/super-icon/index.js +5 -7
- package/lib/super-icon/src/index.vue.js +5 -7
- package/lib/super-icon/src/index.vue2.js +8 -11
- package/lib/super-icon/src/index.vue3.js +2 -4
- package/lib/super-nine-grid/index.js +5 -7
- package/lib/super-nine-grid/src/apis.js +5 -8
- package/lib/super-nine-grid/src/custom-formatter.js +5 -7
- package/lib/super-nine-grid/src/formatter.js +28 -29
- package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
- package/lib/super-nine-grid/src/search-form.vue.js +33 -40
- package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
- package/lib/super-nine-grid/src/search-methods.js +2 -3
- package/lib/super-nine-grid/src/store.js +3 -4
- package/lib/super-nine-grid/src/super-grid-service.js +5 -9
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
- package/lib/super-nine-grid/src/utils.js +31 -27
- package/lib/svg-icon/index.js +5 -7
- package/lib/svg-icon/src/svg-icon.vue.js +8 -10
- package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
- package/lib/utils/gogocodeTransfer.js +23 -28
- package/lib/utils/memory-cache-utils.js +3 -5
- package/lib/utils/organization.js +40 -53
- package/lib/utils/utils.js +27 -29
- package/lib/utils/value-set.js +68 -70
- package/lib/valid-code/index.js +5 -7
- package/lib/valid-code/src/valid-code.vue.js +10 -13
- package/lib/valid-code/src/valid-code.vue2.js +2 -4
- package/lib/workflow-button/index.js +3 -5
- package/lib/workflow-button/src/workflow-button.vue.js +34 -39
- package/lib/workflow-history-list/index.js +5 -7
- package/lib/workflow-history-list/src/api.js +2 -3
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
- package/lib/workgroup-tree/index.js +5 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
- package/lib/workgroup-tree-inline/index.js +3 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
- package/lib/workgroup-tree-mobile/index.js +5 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
- package/lib/workgroup-user-tree/index.js +5 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
- package/lib/workgroup-user-tree-inline/index.js +3 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
- package/lib/year-range-picker/index.js +3 -5
- package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
- package/package.json +5 -2
- package/vite.config.js +35 -33
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}), l(() => d2.modelValue && d2.modelValue[1], (e3) => {
|
|
9
|
-
h.value = e3;
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), a = require("dayjs"), t = require("vue-i18n"), l = { class: "ab-date-range" }, r = ((a2) => (e.pushScopeId("data-v-2aeaa81d"), a2 = a2(), e.popScopeId(), a2))(() => e.createElementVNode("span", { class: "sep" }, "-", -1)), n = e.defineComponent({ __name: "index", props: { modelValue: { type: Array, default: () => [] }, type: { type: String, default: "daterange" }, format: { type: String, default: void 0 }, valueFormat: { type: String, default: void 0 }, disabled: { type: Boolean, default: false }, clearable: { type: Boolean, default: true }, readonly: { type: Boolean, default: false }, shortcuts: { type: Array, default: void 0 }, startPlaceholder: { type: String, default: void 0 }, endPlaceholder: { type: String, default: void 0 }, size: { type: String, default: "medium" } }, emits: ["update:modelValue", "change", "blur", "focus", "visible-change", "panel-change", "clear"], setup(n2, { emit: o }) {
|
|
3
|
+
const u = n2, { t: d } = t.useI18n(), i = e.ref(u.startPlaceholder ?? d("imatrixUIMessage.startDate")), s = e.ref(u.endPlaceholder ?? d("imatrixUIMessage.endDate")), c = e.ref(u.modelValue && u.modelValue[0]), m = e.ref(u.modelValue && u.modelValue[1]);
|
|
4
|
+
e.watch(() => u.modelValue && u.modelValue[0], (e2) => {
|
|
5
|
+
c.value = e2;
|
|
6
|
+
}), e.watch(() => u.modelValue && u.modelValue[1], (e2) => {
|
|
7
|
+
m.value = e2;
|
|
10
8
|
});
|
|
11
|
-
const
|
|
12
|
-
switch (
|
|
9
|
+
const f = e.computed(() => {
|
|
10
|
+
switch (u.type) {
|
|
13
11
|
case "daterange":
|
|
14
12
|
default:
|
|
15
13
|
return "date";
|
|
@@ -21,73 +19,71 @@ const f = { class: "ab-date-range" }, v = ((e2) => (i("data-v-2aeaa81d"), e2 = e
|
|
|
21
19
|
return "year";
|
|
22
20
|
}
|
|
23
21
|
});
|
|
24
|
-
function
|
|
25
|
-
|
|
22
|
+
function v(e2, a2) {
|
|
23
|
+
o(e2, a2);
|
|
26
24
|
}
|
|
27
|
-
function
|
|
28
|
-
if (
|
|
29
|
-
const
|
|
30
|
-
return
|
|
25
|
+
function p(e2) {
|
|
26
|
+
if (u.valueFormat) {
|
|
27
|
+
const t2 = a(e2);
|
|
28
|
+
return t2.isValid() ? t2.format(u.valueFormat) : e2;
|
|
31
29
|
}
|
|
32
|
-
if (
|
|
33
|
-
return
|
|
34
|
-
if ("number" == typeof
|
|
35
|
-
return new Date(
|
|
36
|
-
if ("string" == typeof
|
|
37
|
-
const
|
|
38
|
-
return
|
|
30
|
+
if (e2 instanceof Date)
|
|
31
|
+
return e2;
|
|
32
|
+
if ("number" == typeof e2)
|
|
33
|
+
return new Date(e2);
|
|
34
|
+
if ("string" == typeof e2) {
|
|
35
|
+
const t2 = a(e2);
|
|
36
|
+
return t2.isValid() ? t2.toDate() : e2;
|
|
39
37
|
}
|
|
40
|
-
return
|
|
38
|
+
return e2;
|
|
41
39
|
}
|
|
42
|
-
const
|
|
43
|
-
if (
|
|
44
|
-
return
|
|
45
|
-
!function(
|
|
40
|
+
const g = e.computed(() => {
|
|
41
|
+
if (u.shortcuts && Array.isArray(u.shortcuts))
|
|
42
|
+
return u.shortcuts.map((e2) => e2 && e2.value ? { text: e2.text, onClick() {
|
|
43
|
+
!function(e3) {
|
|
46
44
|
let a2 = null;
|
|
47
|
-
if (Array.isArray(
|
|
45
|
+
if (Array.isArray(e3)) {
|
|
48
46
|
a2 = [];
|
|
49
|
-
for (const
|
|
50
|
-
a2.push(
|
|
47
|
+
for (const t2 of e3)
|
|
48
|
+
a2.push(p(t2));
|
|
51
49
|
} else
|
|
52
|
-
a2 =
|
|
53
|
-
Array.isArray(a2) && a2.length >= 2 ? (
|
|
54
|
-
}("function" == typeof
|
|
55
|
-
} } :
|
|
50
|
+
a2 = p(e3);
|
|
51
|
+
Array.isArray(a2) && a2.length >= 2 ? (c.value = a2[0], m.value = a2[1]) : (c.value = a2, m.value = a2), S();
|
|
52
|
+
}("function" == typeof e2.value ? e2.value() : e2.value);
|
|
53
|
+
} } : e2);
|
|
56
54
|
});
|
|
57
|
-
function
|
|
58
|
-
if (null ==
|
|
55
|
+
function y(e2) {
|
|
56
|
+
if (null == e2)
|
|
59
57
|
return null;
|
|
60
|
-
if (
|
|
61
|
-
return
|
|
62
|
-
const a2 = "number" == typeof
|
|
58
|
+
if (e2 instanceof Date)
|
|
59
|
+
return e2;
|
|
60
|
+
const a2 = "number" == typeof e2 ? e2 : Date.parse(String(e2));
|
|
63
61
|
return isNaN(a2) ? null : new Date(a2);
|
|
64
62
|
}
|
|
65
|
-
function
|
|
66
|
-
const a2 =
|
|
67
|
-
return !!a2 &&
|
|
63
|
+
function h(e2) {
|
|
64
|
+
const a2 = y(m.value);
|
|
65
|
+
return !!a2 && e2.getTime() > a2.getTime();
|
|
68
66
|
}
|
|
69
|
-
function
|
|
70
|
-
const a2 =
|
|
71
|
-
return !!a2 &&
|
|
67
|
+
function b(e2) {
|
|
68
|
+
const a2 = y(c.value);
|
|
69
|
+
return !!a2 && e2.getTime() < a2.getTime();
|
|
72
70
|
}
|
|
73
|
-
function
|
|
74
|
-
|
|
75
|
-
const a2 =
|
|
76
|
-
a2 &&
|
|
71
|
+
function V(e2) {
|
|
72
|
+
c.value = e2;
|
|
73
|
+
const a2 = y(e2), t2 = y(m.value);
|
|
74
|
+
a2 && t2 && a2.getTime() > t2.getTime() && (m.value = e2), S();
|
|
77
75
|
}
|
|
78
|
-
function
|
|
79
|
-
|
|
80
|
-
const a2 =
|
|
81
|
-
a2 &&
|
|
76
|
+
function C(e2) {
|
|
77
|
+
m.value = e2;
|
|
78
|
+
const a2 = y(c.value), t2 = y(e2);
|
|
79
|
+
a2 && t2 && t2.getTime() < a2.getTime() && (c.value = e2), S();
|
|
82
80
|
}
|
|
83
|
-
function
|
|
84
|
-
|
|
81
|
+
function S() {
|
|
82
|
+
o("update:modelValue", [c.value, m.value]), o("change", [c.value, m.value]);
|
|
85
83
|
}
|
|
86
|
-
return (a2,
|
|
87
|
-
const
|
|
88
|
-
return
|
|
84
|
+
return (a2, t2) => {
|
|
85
|
+
const o2 = e.resolveComponent("el-date-picker");
|
|
86
|
+
return e.openBlock(), e.createElementBlock("div", l, [e.createVNode(o2, { modelValue: c.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e2) => c.value = e2), type: f.value, format: n2.format, "value-format": n2.valueFormat, disabled: n2.disabled, clearable: n2.clearable, readonly: n2.readonly, shortcuts: g.value, placeholder: i.value, size: n2.size, "disabled-date": h, onChange: V, onBlur: t2[1] || (t2[1] = (e2) => v("blur", e2)), onFocus: t2[2] || (t2[2] = (e2) => v("focus", e2)), onVisibleChange: t2[3] || (t2[3] = (e2) => v("visible-change", e2)), onPanelChange: t2[4] || (t2[4] = (e2) => v("panel-change", e2)), onClear: t2[5] || (t2[5] = (e2) => v("clear", e2)) }, null, 8, ["modelValue", "type", "format", "value-format", "disabled", "clearable", "readonly", "shortcuts", "placeholder", "size"]), r, e.createVNode(o2, { modelValue: m.value, "onUpdate:modelValue": t2[6] || (t2[6] = (e2) => m.value = e2), type: f.value, format: n2.format, "value-format": n2.valueFormat, disabled: n2.disabled, clearable: n2.clearable, readonly: n2.readonly, shortcuts: g.value, placeholder: s.value, size: n2.size, "disabled-date": b, onChange: C, onBlur: t2[7] || (t2[7] = (e2) => v("blur", e2)), onFocus: t2[8] || (t2[8] = (e2) => v("focus", e2)), onVisibleChange: t2[9] || (t2[9] = (e2) => v("visible-change", e2)), onPanelChange: t2[10] || (t2[10] = (e2) => v("panel-change", e2)), onClear: t2[11] || (t2[11] = (e2) => v("clear", e2)) }, null, 8, ["modelValue", "type", "format", "value-format", "disabled", "clearable", "readonly", "shortcuts", "placeholder", "size"])]);
|
|
89
87
|
};
|
|
90
88
|
} });
|
|
91
|
-
|
|
92
|
-
p as default
|
|
93
|
-
};
|
|
89
|
+
module.exports = n;
|
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { resolveComponent as r, openBlock as n, createElementBlock as o, createBlock as a, withCtx as p, createElementVNode as s, createVNode as m, createTextVNode as c, toDisplayString as d } from "vue";
|
|
7
|
-
import u from "../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
-
const f = { name: "DepartmentTree", components: { InlineDepartmentTree: t, DepartmentMobileTree: l }, props: { multiple: { type: Boolean, default: true }, checkStrictly: { type: Boolean, default: false }, departmentInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "30%" }, height: { type: String, default: "300px" }, selectDepartmentInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "id" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data() {
|
|
9
|
-
const e2 = i();
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.js"), t = require("../../department-tree-inline/src/department-tree-inline.vue.js"), l = require("../../department-tree-mobile/src/department-tree-app.vue.js");
|
|
3
|
+
require("../../department-tree-mobile/src/department-tree-app.vue2.js");
|
|
4
|
+
const r = require("../../src/utils/common-util.js"), i = require("vue"), n = require("../../_virtual/_plugin-vue_export-helper.js"), o = { name: "DepartmentTree", components: { InlineDepartmentTree: t, DepartmentMobileTree: l }, props: { multiple: { type: Boolean, default: true }, checkStrictly: { type: Boolean, default: false }, departmentInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "30%" }, height: { type: String, default: "300px" }, selectDepartmentInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "id" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data() {
|
|
5
|
+
const e2 = r.isMobileBrowser();
|
|
10
6
|
let t2 = this.$t("imatrixUIMessage.pleaseSelectDepartment");
|
|
11
7
|
return this.title && (t2 = this.title), { myTitle: t2, isMobile: e2 };
|
|
12
8
|
}, methods: { result(t2) {
|
|
13
|
-
e(this, "close", t2);
|
|
9
|
+
e.$emit(this, "close", t2);
|
|
14
10
|
}, selectDepartment() {
|
|
15
11
|
this.$refs.inlineDeparmentTree.selectDepartment();
|
|
16
|
-
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] },
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
return
|
|
12
|
+
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, a = { class: "dialog-footer" };
|
|
13
|
+
const s = n(o, [["render", function(e2, t2, l2, r2, n2, o2) {
|
|
14
|
+
const s2 = i.resolveComponent("DepartmentMobileTree"), p = i.resolveComponent("inline-department-tree"), c = i.resolveComponent("el-button"), m = i.resolveComponent("el-dialog");
|
|
15
|
+
return i.openBlock(), i.createElementBlock("div", null, [n2.isMobile ? (i.openBlock(), i.createBlock(s2, { key: 0, ref: "inlineDeparmentTree", "close-on-click-modal": false, "close-on-press-escape": false, "department-info": l2.departmentInfo, multiple: l2.multiple, "search-field": l2.searchField, "select-department-info": l2.selectDepartmentInfo, separator: l2.separator, "limit-filter-column": l2.limitFilterColumn, onClose: o2.result }, null, 8, ["department-info", "multiple", "search-field", "select-department-info", "separator", "limit-filter-column", "onClose"])) : (i.openBlock(), i.createBlock(m, { key: 1, "close-on-click-modal": false, title: n2.myTitle, width: l2.multiple ? "920px" : "509px", "append-to-body": "", class: "user-tree", "model-value": "", onClose: t2[1] || (t2[1] = (t3) => e2.$emit("close")), onClosed: t2[2] || (t2[2] = (t3) => e2.$emit("closed")), onOpen: t2[3] || (t2[3] = (t3) => e2.$emit("open")), onOpend: t2[4] || (t2[4] = (t3) => e2.$emit("opend")) }, { footer: i.withCtx(() => [i.createElementVNode("div", a, [i.createVNode(c, { class: "button--default", size: "default", onClick: t2[0] || (t2[0] = (t3) => e2.$emit("close")) }, { default: i.withCtx(() => [i.createTextVNode(i.toDisplayString(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), i.createVNode(c, { size: "default", type: "primary", onClick: o2.selectDepartment }, { default: i.withCtx(() => [i.createTextVNode(i.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: i.withCtx(() => [i.createVNode(p, { ref: "inlineDeparmentTree", "check-strictly": l2.checkStrictly, "department-info": l2.departmentInfo, height: l2.height, multiple: l2.multiple, "search-field": l2.searchField, "select-department-info": l2.selectDepartmentInfo, separator: l2.separator, "limit-filter-column": l2.limitFilterColumn, onResult: o2.result }, null, 8, ["check-strictly", "department-info", "height", "multiple", "search-field", "select-department-info", "separator", "limit-filter-column", "onResult"])]), _: 1 }, 8, ["title", "width"]))]);
|
|
20
16
|
}]]);
|
|
21
|
-
|
|
22
|
-
y as default
|
|
23
|
-
};
|
|
17
|
+
module.exports = s;
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import n from "./department-tree-service.js";
|
|
6
|
-
import a from "./search-result.vue.js";
|
|
7
|
-
import i from "../../utils/memory-cache-utils.js";
|
|
8
|
-
import r from "../../empty-state/index.vue.js";
|
|
9
|
-
import { resolveComponent as d, resolveDirective as h, openBlock as o, createElementBlock as c, createVNode as p, withCtx as m, withKeys as u, Fragment as f, createElementVNode as g, createBlock as y, toDisplayString as N, createCommentVNode as k, withDirectives as T } from "vue";
|
|
10
|
-
import "./department-multi-tree-inline.vue2.js";
|
|
11
|
-
import C from "../../_virtual/_plugin-vue_export-helper.js";
|
|
12
|
-
const x = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "childDepartments", isLeaf: "leaf" }, searchParam: { searchValue: null, treeType: "DEPARTMENT_TREE", departmentInfo: null }, count: 0, containBranch: false, tenantNodeId: -1, allSearchNodeIds: [], allExpandNodeIds: [], isClickNode: false, restaurants: [], searchValue: null, searchStoreKey: "searchDepartment", selectNodeInfo: null, tenantInfo: {}, searchResult: [], selectResult: [], isloading: false, multiple: true, memoryCacheKey: "DEPARTMENT_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e, canShowOrgTree: false, initTreeFlag: false }), name: "InlineDepartmentMultiTree", components: { UserResult: a, EmptyState: r }, props: { checkStrictly: { type: Boolean, default: false }, departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, selectDepartmentInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "id" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.js"), s = require("../../src/utils/local-storage.js"), n = require("../../utils/utils.js"), l = require("./department-tree-service.js"), r = require("./search-result.vue.js"), a = require("../../utils/memory-cache-utils.js"), i = require("../../empty-state/index.vue.js"), o = require("vue");
|
|
3
|
+
require("./department-multi-tree-inline.vue2.js");
|
|
4
|
+
const d = require("../../_virtual/_plugin-vue_export-helper.js"), h = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "childDepartments", isLeaf: "leaf" }, searchParam: { searchValue: null, treeType: "DEPARTMENT_TREE", departmentInfo: null }, count: 0, containBranch: false, tenantNodeId: -1, allSearchNodeIds: [], allExpandNodeIds: [], isClickNode: false, restaurants: [], searchValue: null, searchStoreKey: "searchDepartment", selectNodeInfo: null, tenantInfo: {}, searchResult: [], selectResult: [], isloading: false, multiple: true, memoryCacheKey: "DEPARTMENT_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e.Search, canShowOrgTree: false, initTreeFlag: false }), name: "InlineDepartmentMultiTree", components: { UserResult: r, EmptyState: i }, props: { checkStrictly: { type: Boolean, default: false }, departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, selectDepartmentInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "id" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
|
|
13
5
|
e2 || (this.searchValue = e2, this.departmentInfo && this.departmentInfo.length > 0 ? this.loadPointDepartments() : this.loadDepartment(this.tenantNodeId));
|
|
14
6
|
} }, created() {
|
|
15
|
-
|
|
7
|
+
n.canShowOrgTree().then((e2) => {
|
|
16
8
|
this.canShowOrgTree = e2;
|
|
17
9
|
}), this.initSelectDepts(this.searchField, this.selectDepartmentInfo, this.separator).then((e2) => {
|
|
18
10
|
e2 && (this.selectResult = e2);
|
|
@@ -20,7 +12,7 @@ const x = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "sho
|
|
|
20
12
|
}, mounted() {
|
|
21
13
|
var e2 = s.getObject(this.searchStoreKey);
|
|
22
14
|
this.restaurants = e2 || [], this.getMemoryCacheData("department");
|
|
23
|
-
}, methods: { ...
|
|
15
|
+
}, methods: { ...n, ...l, ...a, filterNode: (e2, t2, s2) => !e2 || -1 !== t2.name.indexOf(e2), checkedNodeAndChildren(e2) {
|
|
24
16
|
let t2 = e2;
|
|
25
17
|
e2.data && (t2 = JSON.parse(e2.data)), this.selectUser(null, t2), this.$refs.deparmentTree.setChecked(e2.id, true);
|
|
26
18
|
const s2 = e2.childDepartments;
|
|
@@ -58,13 +50,13 @@ const x = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "sho
|
|
|
58
50
|
if (0 === this.selectResult.length)
|
|
59
51
|
e2 = true;
|
|
60
52
|
else
|
|
61
|
-
for (var
|
|
62
|
-
var
|
|
63
|
-
s2.ids.push(
|
|
64
|
-
const e3 =
|
|
65
|
-
s2.names.push(e3), s2.zhNames.push(
|
|
53
|
+
for (var n2 = 0; n2 < this.selectResult.length; n2++) {
|
|
54
|
+
var l2 = this.selectResult[n2];
|
|
55
|
+
s2.ids.push(l2.id), s2.codes.push(l2.code), l2.enName ? s2.enNames.push(l2.enName) : s2.enNames.push(""), l2.department ? s2.departments.push(l2.department) : s2.departments.push(l2);
|
|
56
|
+
const e3 = l2.showName;
|
|
57
|
+
s2.names.push(e3), s2.zhNames.push(l2.name);
|
|
66
58
|
}
|
|
67
|
-
s2.ids.length > 0 ? (s2.containBranch = this.containBranch, t(this, "result", s2)) : e2 = true, e2 && this.$alert(this.$t("imatrixUIMessage.pleaseSelectDepartment"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
|
|
59
|
+
s2.ids.length > 0 ? (s2.containBranch = this.containBranch, t.$emit(this, "result", s2)) : e2 = true, e2 && this.$alert(this.$t("imatrixUIMessage.pleaseSelectDepartment"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
|
|
68
60
|
}, isSelectTenantNode(e2) {
|
|
69
61
|
return e2 === this.tenantNodeId && (!this.departmentInfo || 0 === this.departmentInfo.length);
|
|
70
62
|
}, selectUser(e2, t2) {
|
|
@@ -81,11 +73,9 @@ const x = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "sho
|
|
|
81
73
|
});
|
|
82
74
|
}
|
|
83
75
|
this.selectResult = this.removeRow(this.selectResult, t2), this.selectResult && 0 !== this.selectResult.length || this.$refs.deparmentTree && this.$refs.deparmentTree.setCheckedKeys([]);
|
|
84
|
-
} }, emits: ["result"] },
|
|
85
|
-
const
|
|
86
|
-
const
|
|
87
|
-
return o(),
|
|
76
|
+
} }, emits: ["result"] }, c = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "100%", display: "inline-block !important" } }, p = ["title"], u = { key: 1, style: { height: "100%", overflow: "hidden" } }, m = { style: { "text-align": "left", "font-size": "16px" } }, f = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
|
|
77
|
+
const N = d(h, [["render", function(e2, t2, s2, n2, l2, r2) {
|
|
78
|
+
const a2 = o.resolveComponent("el-button"), i2 = o.resolveComponent("el-autocomplete"), d2 = o.resolveComponent("el-header"), h2 = o.resolveComponent("Menu"), N2 = o.resolveComponent("Tickets"), C = o.resolveComponent("Calendar"), g = o.resolveComponent("el-icon"), k = o.resolveComponent("el-tree"), y = o.resolveComponent("EmptyState"), T = o.resolveComponent("user-result"), v = o.resolveComponent("el-main"), x = o.resolveComponent("el-container"), S = o.resolveComponent("el-aside"), E = o.resolveDirective("loading");
|
|
79
|
+
return o.openBlock(), o.createElementBlock("div", null, [o.createVNode(x, { style: { height: "395px" } }, { default: o.withCtx(() => [o.createVNode(S, { width: "350px" }, { default: o.withCtx(() => [o.createVNode(x, { style: { height: "390px" } }, { default: o.withCtx(() => [o.createVNode(d2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: o.withCtx(() => [o.createVNode(i2, { modelValue: l2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentTreeInline.pleaseEnterDepartmentName"), class: "inline-input inline-input-custom", size: "default", onSelect: e2.handleSelect, onKeyup: o.withKeys(e2.clickSearch, ["enter"]) }, { append: o.withCtx(() => [o.createVNode(a2, { icon: l2.ElIconSearch, size: "default", onClick: e2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), o.createVNode(v, { style: { padding: "10px" } }, { default: o.withCtx(() => [l2.searchValue ? o.createCommentVNode("", true) : (o.openBlock(), o.createElementBlock(o.Fragment, { key: 0 }, [l2.canShowOrgTree ? (o.openBlock(), o.createElementBlock("div", c, [o.createVNode(k, { ref: "deparmentTree", "filter-node-method": r2.filterNode, load: e2.loadNode, props: l2.defaultProps, "show-checkbox": true, "check-strictly": "", lazy: "", "node-key": "id", onCheck: e2.handleCheckNode, onCheckChange: r2.handleCheckChange, onNodeExpand: r2.handleNodeExpand, onNodeClick: r2.handleNodeClick }, { default: o.withCtx(({ node: e3, data: t3 }) => [o.createElementVNode("span", null, [o.createVNode(g, null, { default: o.withCtx(() => [-1 === e3.data.id || e3.data.branch ? (o.openBlock(), o.createBlock(h2, { key: 0 })) : -2 === e3.data.id || -3 === e3.data.id ? (o.openBlock(), o.createBlock(N2, { key: 1 })) : (o.openBlock(), o.createBlock(C, { key: 2 }))]), _: 2 }, 1024), o.createElementVNode("span", { title: e3.label }, o.toDisplayString(e3.label), 9, p)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "onCheck", "onCheckChange", "onNodeExpand", "onNodeClick"])])) : (o.openBlock(), o.createBlock(y, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (o.openBlock(), o.createElementBlock("div", u, [o.createVNode(T, { "grid-data": l2.searchResult, height: s2.height, "is-search-result": true, multiple: true, "select-result": l2.selectResult, onAddUser: r2.selectUser }, null, 8, ["grid-data", "height", "select-result", "onAddUser"])])) : o.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 }), o.createVNode(x, null, { default: o.withCtx(() => [o.createVNode(v, { style: { padding: "10px" } }, { default: o.withCtx(() => [o.createElementVNode("div", m, o.toDisplayString(e2.$t("departmentTreeInline.selectedDept")) + ":", 1), o.createElementVNode("div", f, [o.withDirectives(o.createVNode(T, { "grid-data": l2.selectResult, height: s2.height, "is-search-result": false, multiple: true, onRemoveUser: r2.removeUser }, null, 8, ["grid-data", "height", "onRemoveUser"]), [[E, l2.isloading]])])]), _: 1 })]), _: 1 })]), _: 1 })]);
|
|
88
80
|
}]]);
|
|
89
|
-
|
|
90
|
-
E as default
|
|
91
|
-
};
|
|
81
|
+
module.exports = N;
|
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import l from "./department-tree-service.js";
|
|
6
|
-
import r from "../../utils/memory-cache-utils.js";
|
|
7
|
-
import s from "./search-result.vue.js";
|
|
8
|
-
import i from "../../empty-state/index.vue.js";
|
|
9
|
-
import { resolveComponent as o, openBlock as d, createElementBlock as c, createVNode as h, withCtx as p, withKeys as m, Fragment as u, createElementVNode as f, createBlock as g, normalizeClass as N, toDisplayString as y, createCommentVNode as k } from "vue";
|
|
10
|
-
import "./department-single-tree-inline.vue2.js";
|
|
11
|
-
import S from "../../_virtual/_plugin-vue_export-helper.js";
|
|
12
|
-
const T = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "childDepartments", isLeaf: "leaf" }, searchParam: { searchValue: null, treeType: "DEPARTMENT_TREE", departmentInfo: null }, count: 0, containBranch: false, tenantNodeId: -1, allSearchNodeIds: [], allExpandNodeIds: [], isClickNode: false, restaurants: [], searchValue: null, searchStoreKey: "searchDepartment", selectNodeInfo: null, tenantInfo: {}, searchResult: [], memoryCacheKey: "DEPARTMENT_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e, canShowOrgTree: false, initTreeFlag: false }), name: "InlineDepartmentSingleTree", components: { UserResult: s, EmptyState: i }, props: { departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, selectDepartmentInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "id" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.js"), n = require("../../src/utils/local-storage.js"), a = require("../../utils/utils.js"), l = require("./department-tree-service.js"), o = require("../../utils/memory-cache-utils.js"), r = require("./search-result.vue.js"), s = require("../../empty-state/index.vue.js"), i = require("vue");
|
|
3
|
+
require("./department-single-tree-inline.vue2.js");
|
|
4
|
+
const c = require("../../_virtual/_plugin-vue_export-helper.js"), d = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "childDepartments", isLeaf: "leaf" }, searchParam: { searchValue: null, treeType: "DEPARTMENT_TREE", departmentInfo: null }, count: 0, containBranch: false, tenantNodeId: -1, allSearchNodeIds: [], allExpandNodeIds: [], isClickNode: false, restaurants: [], searchValue: null, searchStoreKey: "searchDepartment", selectNodeInfo: null, tenantInfo: {}, searchResult: [], memoryCacheKey: "DEPARTMENT_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e.Search, canShowOrgTree: false, initTreeFlag: false }), name: "InlineDepartmentSingleTree", components: { UserResult: r, EmptyState: s }, props: { departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, selectDepartmentInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "id" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
|
|
13
5
|
e2 || (this.searchValue = e2, this.departmentInfo && this.departmentInfo.length > 0 ? this.loadPointDepartments() : this.loadDepartment(this.tenantNodeId));
|
|
14
6
|
} }, created() {
|
|
15
|
-
|
|
7
|
+
a.canShowOrgTree().then((e2) => {
|
|
16
8
|
this.canShowOrgTree = e2;
|
|
17
9
|
});
|
|
18
10
|
}, mounted() {
|
|
19
|
-
var e2 =
|
|
11
|
+
var e2 = n.getObject(this.searchStoreKey);
|
|
20
12
|
this.restaurants = e2 || [], this.getMemoryCacheData("department");
|
|
21
|
-
}, methods: { ...
|
|
13
|
+
}, methods: { ...a, ...l, ...o, filterNode: (e2, t2, n2) => !e2 || -1 !== t2.name.indexOf(e2), checkedNodeAndChildren(e2) {
|
|
22
14
|
this.$refs.deparmentTree.setChecked(e2.id, true);
|
|
23
15
|
const t2 = e2.childDepartments;
|
|
24
16
|
t2 && t2.forEach((e3) => {
|
|
@@ -30,9 +22,9 @@ const T = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "sho
|
|
|
30
22
|
t2 && t2.forEach((e3) => {
|
|
31
23
|
this.$refs.deparmentTree.setChecked(e3.id, false), this.cancelChildCheckedNodes(e3);
|
|
32
24
|
});
|
|
33
|
-
}, handleCheckChange(e2, t2,
|
|
34
|
-
}, handleNodeExpand(e2, t2,
|
|
35
|
-
}, handleNodeClick(e2, t2,
|
|
25
|
+
}, handleCheckChange(e2, t2, n2) {
|
|
26
|
+
}, handleNodeExpand(e2, t2, n2) {
|
|
27
|
+
}, handleNodeClick(e2, t2, n2) {
|
|
36
28
|
this.selectSingleNode(e2, false);
|
|
37
29
|
}, selectSingleNode(e2, t2) {
|
|
38
30
|
if (this.isDepartmentNode(e2)) {
|
|
@@ -47,18 +39,16 @@ const T = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "sho
|
|
|
47
39
|
return e2.id !== this.tenantNodeId && e2.nodeType && "DEPARTMENT" === e2.nodeType && !e2.branch;
|
|
48
40
|
}, selectDepartment() {
|
|
49
41
|
var e2 = false;
|
|
50
|
-
this.selectNodeInfo ? t(this, "result", this.selectNodeInfo) : e2 = true, e2 && this.$alert(this.$t("imatrixUIMessage.pleaseSelectDepartment"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
|
|
42
|
+
this.selectNodeInfo ? t.$emit(this, "result", this.selectNodeInfo) : e2 = true, e2 && this.$alert(this.$t("imatrixUIMessage.pleaseSelectDepartment"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
|
|
51
43
|
}, isSelectTenantNode(e2) {
|
|
52
44
|
return e2 === this.tenantNodeId && (!this.departmentInfo || 0 === this.departmentInfo.length);
|
|
53
45
|
}, getSelectUser(e2) {
|
|
54
46
|
this.packageSelectResult(e2), this.setMemoryCacheData(e2, "department");
|
|
55
47
|
}, resultRowDblclick(e2) {
|
|
56
|
-
this.packageSelectResult(e2), t(this, "result", this.selectNodeInfo);
|
|
57
|
-
} }, emits: ["result"] },
|
|
58
|
-
const
|
|
59
|
-
const
|
|
60
|
-
return
|
|
48
|
+
this.packageSelectResult(e2), t.$emit(this, "result", this.selectNodeInfo);
|
|
49
|
+
} }, emits: ["result"] }, h = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "100%", display: "inline-block !important" } }, p = ["title"], u = { key: 1, style: { height: "100%", overflow: "hidden" } };
|
|
50
|
+
const m = c(d, [["render", function(e2, t2, n2, a2, l2, o2) {
|
|
51
|
+
const r2 = i.resolveComponent("el-button"), s2 = i.resolveComponent("el-autocomplete"), c2 = i.resolveComponent("el-header"), d2 = i.resolveComponent("Menu"), m2 = i.resolveComponent("Tickets"), N = i.resolveComponent("Calendar"), f = i.resolveComponent("el-icon"), k = i.resolveComponent("el-tree"), g = i.resolveComponent("EmptyState"), C = i.resolveComponent("user-result"), y = i.resolveComponent("el-main"), S = i.resolveComponent("el-container");
|
|
52
|
+
return i.openBlock(), i.createElementBlock("div", null, [i.createVNode(S, { style: { height: "395px" } }, { default: i.withCtx(() => [i.createVNode(c2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: i.withCtx(() => [i.createVNode(s2, { modelValue: l2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentTreeInline.pleaseEnterDepartmentName"), class: "inline-input inline-input-custom", size: "default", onSelect: e2.handleSelect, onKeyup: i.withKeys(e2.clickSearch, ["enter"]) }, { append: i.withCtx(() => [i.createVNode(r2, { icon: l2.ElIconSearch, onClick: e2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), i.createVNode(y, { style: { padding: "10px" } }, { default: i.withCtx(() => [l2.searchValue ? i.createCommentVNode("", true) : (i.openBlock(), i.createElementBlock(i.Fragment, { key: 0 }, [l2.canShowOrgTree ? (i.openBlock(), i.createElementBlock("div", h, [i.createVNode(k, { ref: "deparmentTree", "filter-node-method": o2.filterNode, load: e2.loadNode, props: l2.defaultProps, "show-checkbox": false, "check-strictly": "", lazy: "", "node-key": "id", onCheckChange: o2.handleCheckChange, onNodeExpand: o2.handleNodeExpand, onNodeClick: o2.handleNodeClick }, { default: i.withCtx(({ node: e3, data: t3 }) => [i.createElementVNode("span", null, [i.createVNode(f, null, { default: i.withCtx(() => [-1 === e3.data.id || e3.data.branch ? (i.openBlock(), i.createBlock(d2, { key: 0 })) : -2 === e3.data.id || -3 === e3.data.id ? (i.openBlock(), i.createBlock(m2, { key: 1 })) : (i.openBlock(), i.createBlock(N, { key: 2 }))]), _: 2 }, 1024), i.createElementVNode("span", { class: i.normalizeClass(t3.nodeType && "DEPARTMENT" === t3.nodeType && l2.searchValue && t3.name.indexOf(l2.searchValue) > -1 ? "searchResult" : ""), title: e3.label }, i.toDisplayString(e3.label), 11, p)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "onCheckChange", "onNodeExpand", "onNodeClick"])])) : (i.openBlock(), i.createBlock(g, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (i.openBlock(), i.createElementBlock("div", u, [i.createVNode(C, { "grid-data": l2.searchResult, height: n2.height, "is-search-result": true, multiple: false, onResultRowDblclick: o2.resultRowDblclick, onSelectResult: o2.getSelectUser }, null, 8, ["grid-data", "height", "onResultRowDblclick", "onSelectResult"])])) : i.createCommentVNode("", true)]), _: 1 })]), _: 1 })]);
|
|
61
53
|
}]]);
|
|
62
|
-
|
|
63
|
-
D as default
|
|
64
|
-
};
|
|
54
|
+
module.exports = m;
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { resolveComponent as n, openBlock as r, createElementBlock as i, createBlock as m, createCommentVNode as o } from "vue";
|
|
5
|
-
import a from "../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
-
const p = a({ name: "InlineDepartmentTree", components: { InlineDepartmentMultiTree: t, InlineDepartmentSingleTree: l }, props: { multiple: { type: Boolean, default: true }, checkStrictly: { type: Boolean, default: false }, departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, selectDepartmentInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "id" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data: () => ({ selectNodeInfo: null }), mounted() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.js"), t = require("./department-multi-tree-inline.vue.js"), n = require("./department-single-tree-inline.vue.js"), l = require("vue");
|
|
3
|
+
const r = require("../../_virtual/_plugin-vue_export-helper.js")({ name: "InlineDepartmentTree", components: { InlineDepartmentMultiTree: t, InlineDepartmentSingleTree: n }, props: { multiple: { type: Boolean, default: true }, checkStrictly: { type: Boolean, default: false }, departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, selectDepartmentInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "id" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data: () => ({ selectNodeInfo: null }), mounted() {
|
|
7
4
|
}, methods: { result(t2) {
|
|
8
|
-
this.selectNodeInfo = t2, e(this, "result", t2);
|
|
5
|
+
this.selectNodeInfo = t2, e.$emit(this, "result", t2);
|
|
9
6
|
}, selectDepartment() {
|
|
10
7
|
this.$refs.inlineDeparmentTree.selectDepartment();
|
|
11
|
-
} }, emits: ["result"] }, [["render", function(e2, t2,
|
|
12
|
-
const
|
|
13
|
-
return
|
|
8
|
+
} }, emits: ["result"] }, [["render", function(e2, t2, n2, r2, i, o) {
|
|
9
|
+
const m = l.resolveComponent("inline-department-multi-tree"), a = l.resolveComponent("inline-department-single-tree");
|
|
10
|
+
return l.openBlock(), l.createElementBlock("div", null, [n2.multiple ? (l.openBlock(), l.createBlock(m, { key: 0, ref: "inlineDeparmentTree", height: n2.height, "check-strictly": n2.checkStrictly, "department-info": n2.departmentInfo, "limit-filter-column": n2.limitFilterColumn, "select-department-info": n2.selectDepartmentInfo, "search-field": n2.searchField, separator: n2.separator, onResult: o.result }, null, 8, ["height", "check-strictly", "department-info", "limit-filter-column", "select-department-info", "search-field", "separator", "onResult"])) : l.createCommentVNode("", true), n2.multiple ? l.createCommentVNode("", true) : (l.openBlock(), l.createBlock(a, { key: 1, ref: "inlineDeparmentTree", "department-info": n2.departmentInfo, "limit-filter-column": n2.limitFilterColumn, onResult: o.result }, null, 8, ["department-info", "limit-filter-column", "onResult"]))]);
|
|
14
11
|
}]]);
|
|
15
|
-
|
|
16
|
-
p as default
|
|
17
|
-
};
|
|
12
|
+
module.exports = r;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const s = { filterAppendNodes(e2) {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.js");
|
|
3
|
+
require("vue");
|
|
4
|
+
const t = require("../../src/utils/util.js"), s = { filterAppendNodes(e2) {
|
|
5
5
|
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-pc-depts", this.searchParam).then((e3) => {
|
|
6
6
|
if (e3) {
|
|
7
7
|
if (0 === e3.length)
|
|
8
|
-
return this.searchResult = [], void this.$message({ showClose: true, type: "error", message: t().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
8
|
+
return this.searchResult = [], void this.$message({ showClose: true, type: "error", message: t.getI18n().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
9
9
|
this.searchResult = e3;
|
|
10
10
|
} else
|
|
11
|
-
this.$message({ showClose: true, type: "error", message: t().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
11
|
+
this.$message({ showClose: true, type: "error", message: t.getI18n().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
12
12
|
});
|
|
13
13
|
}, search(e2) {
|
|
14
14
|
this.searchValue = e2;
|
|
@@ -22,7 +22,7 @@ const s = { filterAppendNodes(e2) {
|
|
|
22
22
|
if (this.filterText = "", this.searchValue = "", this.setMemoryCacheData(t2, "department"), this.multiple) {
|
|
23
23
|
this.selectResult.findIndex((e2) => e2.code === t2.code) < 0 && this.selectResult.push(t2);
|
|
24
24
|
} else
|
|
25
|
-
this.packageSelectResult(t2), e(this, "result", this.selectNodeInfo);
|
|
25
|
+
this.packageSelectResult(t2), e.$emit(this, "result", this.selectNodeInfo);
|
|
26
26
|
});
|
|
27
27
|
}, querySearch(e2, t2) {
|
|
28
28
|
this.filterText || 0 !== this.filterText.length ? (this.search(this.filterText), t2([])) : this.memorySearch(e2, t2);
|
|
@@ -103,6 +103,4 @@ const s = { filterAppendNodes(e2) {
|
|
|
103
103
|
}) : e2(s2);
|
|
104
104
|
});
|
|
105
105
|
} };
|
|
106
|
-
|
|
107
|
-
s as default
|
|
108
|
-
};
|
|
106
|
+
module.exports = s;
|