agilebuilder-ui 1.1.65-tmp14 → 1.1.65-tmp16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/IntervalSelection/index.js +7 -5
- package/lib/IntervalSelection/src/sectionDate.vue.js +21 -17
- package/lib/IntervalSelection/src/sectionDate.vue2.js +4 -2
- package/lib/_virtual/__vite-browser-external.js +4 -2
- package/lib/_virtual/_plugin-vue_export-helper.js +8 -6
- package/lib/breadcrumb/index.js +5 -3
- package/lib/breadcrumb/src/breadcrumb.vue.js +19 -28
- package/lib/breadcrumb/src/breadcrumb.vue2.js +4 -2
- package/lib/chat-embed/index.js +5 -3
- package/lib/chat-embed/src/chat-addition-data.vue.js +7 -5
- package/lib/chat-embed/src/chat-addition-data.vue2.js +13 -11
- package/lib/chat-embed/src/chat-addition-data.vue3.js +4 -2
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +7 -5
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +20 -17
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -2
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +7 -5
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +22 -17
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +4 -2
- package/lib/chat-embed/src/chat-embed-message.js +20 -14
- package/lib/chat-embed/src/chat-sender.vue.js +7 -5
- package/lib/chat-embed/src/chat-sender.vue2.js +123 -110
- package/lib/chat-embed/src/chat-sender.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +50 -42
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +6 -3
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +84 -74
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +4 -2
- package/lib/chat-embed/src/components/history-detail.vue.js +7 -5
- package/lib/chat-embed/src/components/history-detail.vue2.js +32 -27
- package/lib/chat-embed/src/components/history-detail.vue3.js +4 -2
- package/lib/chat-embed/src/header.vue.js +7 -5
- package/lib/chat-embed/src/header.vue2.js +32 -25
- package/lib/chat-embed/src/header.vue3.js +4 -2
- package/lib/chat-embed/src/index.vue.js +7 -5
- package/lib/chat-embed/src/index.vue2.js +211 -185
- package/lib/chat-embed/src/index.vue3.js +4 -2
- package/lib/chat-embed/src/recommendation-message.vue.js +7 -5
- package/lib/chat-embed/src/recommendation-message.vue2.js +8 -5
- package/lib/chat-embed/src/recommendation-message.vue3.js +4 -2
- package/lib/chat-embed/src/sidebar-item.vue.js +7 -5
- package/lib/chat-embed/src/sidebar-item.vue2.js +93 -84
- package/lib/chat-embed/src/sidebar-item.vue3.js +4 -2
- package/lib/chat-embed/src/type.js +5 -3
- package/lib/chat-embed/src/util/chat-embed-util.js +41 -35
- package/lib/chat-embed/src/util/history-message-util.js +85 -63
- package/lib/chat-embed/src/util/mcp-utils.js +8 -5
- package/lib/chat-embed/src/util/text-file-util.js +11 -7
- package/lib/chat-embed/src/voice/index.js +7 -5
- package/lib/chat-embed/src/voice/js/crypto-js.js +995 -987
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +169 -161
- package/lib/chat-embed/src/voice/js/timer.js +10 -7
- package/lib/chat-embed/src/voice/voice.vue.js +70 -61
- package/lib/date-picker-range/index.js +7 -5
- package/lib/date-picker-range/index.vue.js +7 -5
- package/lib/date-picker-range/index.vue2.js +63 -59
- package/lib/date-picker-range/index.vue3.js +4 -2
- package/lib/department-tree/index.js +5 -3
- package/lib/department-tree/src/department-tree.vue.js +17 -11
- package/lib/department-tree-inline/index.js +5 -3
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +13 -8
- package/lib/department-tree-inline/src/department-tree-service.js +10 -8
- package/lib/department-tree-inline/src/search-result.vue.js +23 -19
- package/lib/department-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-tree-mobile/index.js +7 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +12 -9
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +4 -2
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +5 -3
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +91 -80
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -3
- package/lib/department-tree-mobile/src/department-tree-service.js +42 -32
- package/lib/department-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/department-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/department-user-tree/index.js +5 -3
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +14 -10
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -2
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +14 -9
- package/lib/department-user-tree/src/department-user-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/index.js +5 -3
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +28 -17
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +33 -21
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +13 -8
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +9 -6
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +11 -8
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +14 -8
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +23 -17
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +3 -2
- package/lib/department-user-tree-inline/src/search-result.vue.js +15 -12
- package/lib/department-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-user-tree-mobile/index.js +7 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +12 -9
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -2
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +104 -93
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +30 -20
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/directives/prevent-reclick.js +3 -2
- package/lib/dynamic-source-select/index.js +7 -5
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +15 -13
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +183 -173
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -2
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -2
- package/lib/dynamic-source-select/src/events.js +3 -2
- package/lib/empty-state/index.vue.js +8 -5
- package/lib/empty-state/index.vue2.js +4 -3
- package/lib/fs-preview/index.js +7 -5
- package/lib/fs-preview/src/fs-preview.vue.js +72 -63
- package/lib/fs-preview/src/fs-preview.vue2.js +4 -2
- package/lib/fs-upload/index.js +7 -5
- package/lib/fs-upload/src/fs-upload-multi.vue.js +32 -24
- package/lib/fs-upload/src/fs-upload-single.vue.js +39 -30
- package/lib/fs-upload/src/fs-upload.vue.js +16 -10
- package/lib/fs-upload/src/see-big-picture.vue.js +11 -8
- package/lib/fs-upload-list/index.js +7 -5
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +40 -33
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +4 -2
- package/lib/fs-upload-new/index.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +38 -34
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +109 -101
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +33 -26
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -2
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +31 -27
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +24 -18
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -3
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +43 -36
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +45 -37
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +8 -5
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +70 -61
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +4 -2
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +47 -37
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +4 -3
- package/lib/hamburger/index.js +5 -3
- package/lib/hamburger/src/hamburger.vue.js +14 -10
- package/lib/hamburger/src/hamburger.vue2.js +4 -2
- package/lib/index.js +383 -40
- package/lib/json-view/json-view-dialog.vue.js +15 -12
- package/lib/json-view/json-view-dialog.vue2.js +4 -3
- package/lib/json-view/json-view.vue.js +4 -3
- package/lib/json-view/json-view.vue2.js +31 -27
- package/lib/multipart-upload/index.js +7 -5
- package/lib/multipart-upload/src/index.vue.js +11 -7
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +49 -40
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +67 -59
- package/lib/organization-input/index.js +7 -5
- package/lib/organization-input/src/organization-input.vue.js +37 -31
- package/lib/organization-input/src/organization-input.vue2.js +4 -2
- package/lib/plugins/export-data-new.js +104 -96
- package/lib/plugins/export-data.js +51 -45
- package/lib/plugins/index.js +8 -4
- package/lib/plugins/public-method.js +3 -2
- package/lib/remove-department/index.js +5 -3
- package/lib/remove-department/src/remove-department.vue.js +19 -13
- package/lib/remove-department/src/remove-dept-service.js +10 -9
- package/lib/remove-user/index.js +7 -5
- package/lib/remove-user/src/remove-user-service.js +4 -3
- package/lib/remove-user/src/remove-user.vue.js +22 -16
- package/lib/remove-workgroup/index.js +7 -5
- package/lib/remove-workgroup/src/remove-workgroup-service.js +4 -3
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +18 -12
- package/lib/rich-editor/index.js +7 -5
- package/lib/rich-editor/index.vue.js +76 -28
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +10 -7
- package/lib/row-form/index.js +7 -5
- package/lib/row-form/index.vue.js +7 -5
- package/lib/row-form/index.vue2.js +47 -41
- package/lib/row-form/index.vue3.js +4 -2
- package/lib/row-form/operation.vue.js +26 -22
- package/lib/row-form/operation.vue2.js +4 -3
- package/lib/scan-code-input/index.js +7 -5
- package/lib/scan-code-input/src/events.js +13 -11
- package/lib/scan-code-input/src/scan-code-input.vue.js +15 -9
- package/lib/scan-code-input-browser/index.js +7 -5
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +21 -16
- package/lib/secret-info/index.js +7 -5
- package/lib/secret-info/index.vue.js +9 -6
- package/lib/src/api/sso-service.js +36 -34
- package/lib/src/api/tab.js +9 -8
- package/lib/src/assets/401/401.gif.js +4 -2
- package/lib/src/assets/404/404-cloud.png.js +4 -2
- package/lib/src/assets/404/404.png.js +4 -2
- package/lib/src/assets/chat-embed/robot.gif.js +4 -2
- package/lib/src/assets/chat-embed/robot.svg.js +4 -2
- package/lib/src/assets/nonemessage.png.js +4 -2
- package/lib/src/components/Affix/index.vue.js +7 -5
- package/lib/src/components/Affix/index.vue2.js +58 -56
- package/lib/src/components/Affix/index.vue3.js +4 -2
- package/lib/src/components/Card/index.js +38 -33
- package/lib/src/components/Scrollbar/index.vue.js +37 -33
- package/lib/src/components/Scrollbar/index.vue2.js +4 -2
- package/lib/src/directives/permission/index.js +5 -3
- package/lib/src/directives/permission/permission.js +9 -7
- package/lib/src/i18n/i18n.js +7 -3
- package/lib/src/i18n/langs/cn.js +4 -2
- package/lib/src/i18n/langs/en.js +4 -2
- package/lib/src/mixins/resizeMixin.js +3 -2
- package/lib/src/permission.js +46 -43
- package/lib/src/router/index.js +10 -16
- package/lib/src/store/getters.js +4 -2
- package/lib/src/store/index.js +13 -16
- package/lib/src/store/modules/app.js +4 -3
- package/lib/src/store/modules/chat-ai-store.js +22 -19
- package/lib/src/store/modules/permission.js +11 -10
- package/lib/src/store/modules/system.js +9 -7
- package/lib/src/store/modules/tab-content.js +15 -13
- package/lib/src/store/modules/table.js +3 -2
- package/lib/src/store/modules/user.js +95 -89
- package/lib/src/utils/auth-api.js +5 -3
- package/lib/src/utils/auth.js +139 -69
- package/lib/src/utils/calculator/calculator-factory-wf.js +49 -48
- package/lib/src/utils/calculator/calculator-factory.js +58 -57
- package/lib/src/utils/calculator/calculator-util.js +32 -29
- package/lib/src/utils/chat-ai-util.js +25 -17
- package/lib/src/utils/common-util.js +356 -271
- package/lib/src/utils/eventBus.js +6 -3
- package/lib/src/utils/file-util.js +16 -15
- package/lib/src/utils/global-prop.js +37 -21
- package/lib/src/utils/guid.js +8 -5
- package/lib/src/utils/i18n-util.js +24 -16
- package/lib/src/utils/iconUtils.js +23 -16
- package/lib/src/utils/index.js +40 -26
- package/lib/src/utils/insert_css.js +7 -8
- package/lib/src/utils/json-util.js +27 -25
- package/lib/src/utils/jump-page-utils.js +180 -172
- package/lib/src/utils/local-storage.js +3 -2
- package/lib/src/utils/menu.js +11 -10
- package/lib/src/utils/permission.js +26 -22
- package/lib/src/utils/permissionAuth.js +136 -102
- package/lib/src/utils/range-selector.js +45 -41
- package/lib/src/utils/request.js +86 -77
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +15 -12
- package/lib/src/utils/util.js +26 -6
- package/lib/src/utils/validate.js +20 -10
- package/lib/src/utils/voice-setting-cache.js +153 -140
- package/lib/src/utils/watermark-cache.js +14 -9
- package/lib/src/utils/watermark.js +30 -23
- package/lib/src/utils/workflow-util.js +26 -25
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +7 -5
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +11 -8
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +12 -9
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +26 -19
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +20 -12
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +26 -21
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/error-page/401.vue.js +13 -9
- package/lib/src/views/error-page/401.vue2.js +4 -2
- package/lib/src/views/error-page/404.vue.js +11 -7
- package/lib/src/views/error-page/404.vue2.js +4 -2
- package/lib/src/views/layout/EmptyLayout.vue.js +8 -6
- package/lib/src/views/layout/Layout.vue.js +19 -12
- package/lib/src/views/layout/Layout.vue2.js +4 -2
- package/lib/src/views/layout/NewLayout.vue.js +10 -6
- package/lib/src/views/layout/components/AppMain.vue.js +11 -9
- package/lib/src/views/layout/components/AppMain.vue2.js +4 -2
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +37 -44
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/Item.vue.js +7 -5
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +14 -12
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +4 -2
- package/lib/src/views/layout/components/Menubar/Link.vue.js +12 -9
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +24 -15
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/index.vue.js +30 -19
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +8 -6
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +4 -3
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +11 -8
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +17 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Sidebar/index.vue.js +25 -18
- package/lib/src/views/layout/components/iframe-page.vue.js +10 -8
- package/lib/src/views/layout/components/iframe-page.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +14 -10
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/layout/mixin/ResizeHandler.js +5 -3
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +10 -8
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +4 -2
- package/lib/src/views/layout/tab-content-index.vue.js +18 -12
- package/lib/src/views/layout/tab-content-index.vue2.js +4 -2
- package/lib/src/views/login/authredirect.vue.js +3 -2
- package/lib/src/views/redirect/index.vue.js +8 -17
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +4 -2
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +13 -11
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +4 -2
- package/lib/style.css +547 -547
- package/lib/super-grid/index.js +7 -5
- package/lib/super-grid/src/apis.js +231 -221
- package/lib/super-grid/src/columns-config.vue.js +22 -16
- package/lib/super-grid/src/components/grid-icon.vue.js +34 -26
- package/lib/super-grid/src/components/grid-radio-input.vue.js +18 -15
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +4 -3
- package/lib/super-grid/src/components/mobile-table-card.js +83 -73
- package/lib/super-grid/src/components/select-input.vue.js +106 -98
- package/lib/super-grid/src/components/select-input.vue2.js +4 -3
- package/lib/super-grid/src/custom-formatter.js +74 -69
- package/lib/super-grid/src/dynamic-input.vue.js +159 -142
- package/lib/super-grid/src/eventBus.js +6 -3
- package/lib/super-grid/src/events.js +36 -34
- package/lib/super-grid/src/formValidatorUtil.js +65 -62
- package/lib/super-grid/src/formatter.js +41 -36
- package/lib/super-grid/src/group-column.vue.js +13 -8
- package/lib/super-grid/src/header-context-menu.vue.js +13 -10
- package/lib/super-grid/src/header-context-menu.vue2.js +4 -2
- package/lib/super-grid/src/index-column.vue.js +10 -7
- package/lib/super-grid/src/normal-column-content.vue.js +205 -186
- package/lib/super-grid/src/normal-column-content.vue2.js +4 -2
- package/lib/super-grid/src/normal-column.vue.js +55 -40
- package/lib/super-grid/src/normal-column.vue2.js +4 -2
- package/lib/super-grid/src/public-methods.js +14 -12
- package/lib/super-grid/src/row-detail.vue.js +10 -7
- package/lib/super-grid/src/row-operation.vue.js +26 -19
- package/lib/super-grid/src/row-operation.vue2.js +4 -2
- package/lib/super-grid/src/scan-util.js +26 -24
- package/lib/super-grid/src/search-button.vue.js +17 -12
- package/lib/super-grid/src/search-condition-input.vue.js +12 -8
- package/lib/super-grid/src/search-condition-list.vue.js +13 -10
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +23 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +4 -2
- package/lib/super-grid/src/search-form-dialog.vue.js +13 -9
- package/lib/super-grid/src/search-form-item.vue.js +24 -16
- package/lib/super-grid/src/search-form-item.vue2.js +4 -2
- package/lib/super-grid/src/search-form-mobile.vue.js +22 -13
- package/lib/super-grid/src/search-form-mobile.vue2.js +4 -2
- package/lib/super-grid/src/search-form-number.vue.js +14 -9
- package/lib/super-grid/src/search-form-open.vue.js +13 -7
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +19 -11
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +4 -2
- package/lib/super-grid/src/search-form.vue.js +77 -65
- package/lib/super-grid/src/search-form.vue2.js +4 -2
- package/lib/super-grid/src/search-methods.js +3 -2
- package/lib/super-grid/src/selection-column.vue.js +9 -7
- package/lib/super-grid/src/store.js +4 -3
- package/lib/super-grid/src/super-grid-service.js +128 -121
- package/lib/super-grid/src/super-grid.vue.js +217 -186
- package/lib/super-grid/src/super-grid.vue2.js +4 -2
- package/lib/super-grid/src/utils.js +322 -265
- package/lib/super-grid/src/view-image-dialog.vue.js +33 -26
- package/lib/super-icon/index.js +7 -5
- package/lib/super-icon/src/index.vue.js +7 -5
- package/lib/super-icon/src/index.vue2.js +11 -8
- package/lib/super-icon/src/index.vue3.js +4 -2
- package/lib/super-nine-grid/index.js +7 -5
- package/lib/super-nine-grid/src/apis.js +8 -5
- package/lib/super-nine-grid/src/custom-formatter.js +7 -5
- package/lib/super-nine-grid/src/formatter.js +29 -28
- package/lib/super-nine-grid/src/search-form-number.vue.js +12 -8
- package/lib/super-nine-grid/src/search-form.vue.js +40 -33
- package/lib/super-nine-grid/src/search-form.vue2.js +4 -2
- package/lib/super-nine-grid/src/search-methods.js +3 -2
- package/lib/super-nine-grid/src/store.js +4 -3
- package/lib/super-nine-grid/src/super-grid-service.js +9 -5
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +105 -95
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +4 -2
- package/lib/super-nine-grid/src/utils.js +27 -31
- package/lib/svg-icon/index.js +7 -5
- package/lib/svg-icon/src/svg-icon.vue.js +10 -8
- package/lib/svg-icon/src/svg-icon.vue2.js +4 -2
- package/lib/utils/gogocodeTransfer.js +28 -23
- package/lib/utils/memory-cache-utils.js +5 -3
- package/lib/utils/organization.js +53 -40
- package/lib/utils/utils.js +29 -27
- package/lib/utils/value-set.js +70 -68
- package/lib/valid-code/index.js +7 -5
- package/lib/valid-code/src/valid-code.vue.js +13 -10
- package/lib/valid-code/src/valid-code.vue2.js +4 -2
- package/lib/workflow-button/index.js +5 -3
- package/lib/workflow-button/src/workflow-button.vue.js +39 -34
- package/lib/workflow-history-list/index.js +7 -5
- package/lib/workflow-history-list/src/api.js +3 -2
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +65 -59
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +4 -2
- package/lib/workgroup-tree/index.js +7 -5
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +17 -11
- package/lib/workgroup-tree-inline/index.js +5 -3
- package/lib/workgroup-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +52 -43
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +7 -5
- package/lib/workgroup-tree-mobile/index.js +8 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +12 -9
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -2
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +86 -76
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +28 -20
- package/lib/workgroup-user-tree/index.js +7 -5
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +17 -11
- package/lib/workgroup-user-tree-inline/index.js +5 -3
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +11 -9
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +43 -34
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +12 -9
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +104 -93
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +25 -16
- package/lib/year-range-picker/index.js +5 -3
- package/lib/year-range-picker/src/year-range-picker.vue.js +12 -9
- package/package.json +2 -5
- package/vite.config.js +21 -21
- package/dist/favicon.svg +0 -29
- package/dist/index.full.min.js +0 -16440
- package/dist/style.css +0 -3078
- package/es/IntervalSelection/index.js +0 -7
- package/es/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/es/IntervalSelection/src/sectionDate.vue2.js +0 -4
- package/es/_virtual/__vite-browser-external.js +0 -4
- package/es/_virtual/_plugin-vue_export-helper.js +0 -9
- package/es/breadcrumb/index.js +0 -7
- package/es/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/es/breadcrumb/src/breadcrumb.vue2.js +0 -4
- package/es/chat-embed/index.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/es/chat-embed/src/chat-addition-data.vue3.js +0 -4
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
- package/es/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
- package/es/chat-embed/src/chat-embed-message.js +0 -22
- package/es/chat-embed/src/chat-sender.vue.js +0 -7
- package/es/chat-embed/src/chat-sender.vue2.js +0 -160
- package/es/chat-embed/src/chat-sender.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
- package/es/chat-embed/src/components/history-detail.vue.js +0 -7
- package/es/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/es/chat-embed/src/components/history-detail.vue3.js +0 -4
- package/es/chat-embed/src/header.vue.js +0 -7
- package/es/chat-embed/src/header.vue2.js +0 -46
- package/es/chat-embed/src/header.vue3.js +0 -4
- package/es/chat-embed/src/index.vue.js +0 -7
- package/es/chat-embed/src/index.vue2.js +0 -307
- package/es/chat-embed/src/index.vue3.js +0 -4
- package/es/chat-embed/src/recommendation-message.vue.js +0 -7
- package/es/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/es/chat-embed/src/recommendation-message.vue3.js +0 -4
- package/es/chat-embed/src/sidebar-item.vue.js +0 -7
- package/es/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/es/chat-embed/src/sidebar-item.vue3.js +0 -4
- package/es/chat-embed/src/type.js +0 -5
- package/es/chat-embed/src/util/chat-embed-util.js +0 -57
- package/es/chat-embed/src/util/history-message-util.js +0 -96
- package/es/chat-embed/src/util/mcp-utils.js +0 -53
- package/es/chat-embed/src/util/text-file-util.js +0 -12
- package/es/chat-embed/src/voice/index.js +0 -7
- package/es/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/es/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/es/chat-embed/src/voice/js/timer.js +0 -11
- package/es/chat-embed/src/voice/voice.vue.js +0 -104
- package/es/date-picker-range/index.js +0 -7
- package/es/date-picker-range/index.vue.js +0 -7
- package/es/date-picker-range/index.vue2.js +0 -93
- package/es/date-picker-range/index.vue3.js +0 -4
- package/es/department-tree/index.js +0 -7
- package/es/department-tree/src/department-tree.vue.js +0 -23
- package/es/department-tree-inline/index.js +0 -7
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/es/department-tree-inline/src/department-tree-service.js +0 -108
- package/es/department-tree-inline/src/search-result.vue.js +0 -40
- package/es/department-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-tree-mobile/index.js +0 -8
- package/es/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-service.js +0 -55
- package/es/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/department-user-tree/index.js +0 -7
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
- package/es/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/es/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/es/department-user-tree-inline/index.js +0 -7
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/es/department-user-tree-inline/src/group-user-tree-service.js +0 -34
- package/es/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/es/department-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-user-tree-mobile/index.js +0 -8
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
- package/es/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/directives/prevent-reclick.js +0 -15
- package/es/dynamic-source-select/index.js +0 -7
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +0 -276
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
- package/es/dynamic-source-select/src/events.js +0 -29
- package/es/empty-state/index.vue.js +0 -9
- package/es/empty-state/index.vue2.js +0 -4
- package/es/favicon.svg +0 -29
- package/es/fs-preview/index.js +0 -7
- package/es/fs-preview/src/fs-preview.vue.js +0 -120
- package/es/fs-preview/src/fs-preview.vue2.js +0 -4
- package/es/fs-upload/index.js +0 -7
- package/es/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/es/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/es/fs-upload/src/fs-upload.vue.js +0 -24
- package/es/fs-upload/src/see-big-picture.vue.js +0 -12
- package/es/fs-upload-list/index.js +0 -7
- package/es/fs-upload-list/src/fs-upload-list.vue.js +0 -98
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
- package/es/fs-upload-new/index.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -39
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/es/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
- package/es/fs-upload-new/src/fs-upload-new.vue.js +0 -64
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/es/hamburger/index.js +0 -7
- package/es/hamburger/src/hamburger.vue.js +0 -15
- package/es/hamburger/src/hamburger.vue2.js +0 -4
- package/es/index.js +0 -383
- package/es/json-view/json-view-dialog.vue.js +0 -19
- package/es/json-view/json-view-dialog.vue2.js +0 -4
- package/es/json-view/json-view.vue.js +0 -4
- package/es/json-view/json-view.vue2.js +0 -36
- package/es/multipart-upload/index.js +0 -7
- package/es/multipart-upload/src/index.vue.js +0 -14
- package/es/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/es/multipart-upload/src/multipart-upload-list.vue.js +0 -104
- package/es/organization-input/index.js +0 -7
- package/es/organization-input/src/organization-input.vue.js +0 -224
- package/es/organization-input/src/organization-input.vue2.js +0 -4
- package/es/plugins/export-data-new.js +0 -237
- package/es/plugins/export-data.js +0 -179
- package/es/plugins/index.js +0 -9
- package/es/plugins/public-method.js +0 -14
- package/es/remove-department/index.js +0 -7
- package/es/remove-department/src/remove-department.vue.js +0 -33
- package/es/remove-department/src/remove-dept-service.js +0 -13
- package/es/remove-user/index.js +0 -7
- package/es/remove-user/src/remove-user-service.js +0 -13
- package/es/remove-user/src/remove-user.vue.js +0 -35
- package/es/remove-workgroup/index.js +0 -7
- package/es/remove-workgroup/src/remove-workgroup-service.js +0 -13
- package/es/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/es/rich-editor/index.js +0 -7
- package/es/rich-editor/index.vue.js +0 -115
- package/es/rich-editor/tinymce/zh_CN.js +0 -2
- package/es/rich-editor/viewer.vue.js +0 -27
- package/es/row-form/index.js +0 -7
- package/es/row-form/index.vue.js +0 -7
- package/es/row-form/index.vue2.js +0 -62
- package/es/row-form/index.vue3.js +0 -4
- package/es/row-form/operation.vue.js +0 -32
- package/es/row-form/operation.vue2.js +0 -4
- package/es/scan-code-input/index.js +0 -7
- package/es/scan-code-input/src/events.js +0 -15
- package/es/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/es/scan-code-input-browser/index.js +0 -7
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/es/secret-info/index.js +0 -7
- package/es/secret-info/index.vue.js +0 -16
- package/es/src/api/sso-service.js +0 -57
- package/es/src/api/tab.js +0 -15
- package/es/src/assets/401/401.gif.js +0 -4
- package/es/src/assets/404/404-cloud.png.js +0 -4
- package/es/src/assets/404/404.png.js +0 -4
- package/es/src/assets/chat-embed/robot.gif.js +0 -4
- package/es/src/assets/chat-embed/robot.svg.js +0 -4
- package/es/src/assets/nonemessage.png.js +0 -4
- package/es/src/components/Affix/index.vue.js +0 -7
- package/es/src/components/Affix/index.vue2.js +0 -83
- package/es/src/components/Affix/index.vue3.js +0 -4
- package/es/src/components/Card/index.js +0 -48
- package/es/src/components/Scrollbar/index.vue.js +0 -52
- package/es/src/components/Scrollbar/index.vue2.js +0 -4
- package/es/src/directives/permission/index.js +0 -7
- package/es/src/directives/permission/permission.js +0 -11
- package/es/src/i18n/i18n.js +0 -7
- package/es/src/i18n/langs/cn.js +0 -4
- package/es/src/i18n/langs/en.js +0 -4
- package/es/src/mixins/resizeMixin.js +0 -21
- package/es/src/permission.js +0 -79
- package/es/src/router/index.js +0 -9
- package/es/src/store/getters.js +0 -4
- package/es/src/store/index.js +0 -13
- package/es/src/store/modules/app.js +0 -41
- package/es/src/store/modules/chat-ai-store.js +0 -36
- package/es/src/store/modules/permission.js +0 -31
- package/es/src/store/modules/system.js +0 -12
- package/es/src/store/modules/tab-content.js +0 -20
- package/es/src/store/modules/table.js +0 -18
- package/es/src/store/modules/user.js +0 -139
- package/es/src/utils/auth-api.js +0 -134
- package/es/src/utils/auth.js +0 -156
- package/es/src/utils/calculator/calculator-factory-wf.js +0 -167
- package/es/src/utils/calculator/calculator-factory.js +0 -93
- package/es/src/utils/calculator/calculator-util.js +0 -56
- package/es/src/utils/chat-ai-util.js +0 -34
- package/es/src/utils/common-util.js +0 -440
- package/es/src/utils/eventBus.js +0 -6
- package/es/src/utils/file-util.js +0 -23
- package/es/src/utils/global-prop.js +0 -38
- package/es/src/utils/guid.js +0 -10
- package/es/src/utils/i18n-util.js +0 -70
- package/es/src/utils/iconUtils.js +0 -26
- package/es/src/utils/index.js +0 -46
- package/es/src/utils/insert_css.js +0 -17
- package/es/src/utils/json-util.js +0 -47
- package/es/src/utils/jump-page-utils.js +0 -264
- package/es/src/utils/local-storage.js +0 -19
- package/es/src/utils/menu.js +0 -14
- package/es/src/utils/permission.js +0 -45
- package/es/src/utils/permissionAuth.js +0 -154
- package/es/src/utils/range-selector.js +0 -105
- package/es/src/utils/request.js +0 -140
- package/es/src/utils/resize.js +0 -11
- package/es/src/utils/restful-interface-utils.js +0 -18
- package/es/src/utils/util.js +0 -361
- package/es/src/utils/validate.js +0 -22
- package/es/src/utils/voice-setting-cache.js +0 -212
- package/es/src/utils/watermark-cache.js +0 -15
- package/es/src/utils/watermark.js +0 -40
- package/es/src/utils/workflow-util.js +0 -42
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +0 -66
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/error-page/401.vue.js +0 -15
- package/es/src/views/error-page/401.vue2.js +0 -4
- package/es/src/views/error-page/404.vue.js +0 -12
- package/es/src/views/error-page/404.vue2.js +0 -4
- package/es/src/views/layout/EmptyLayout.vue.js +0 -9
- package/es/src/views/layout/Layout.vue.js +0 -28
- package/es/src/views/layout/Layout.vue2.js +0 -4
- package/es/src/views/layout/NewLayout.vue.js +0 -11
- package/es/src/views/layout/components/AppMain.vue.js +0 -13
- package/es/src/views/layout/components/AppMain.vue2.js +0 -4
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +0 -49
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/es/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/es/src/views/layout/components/Menubar/Item.vue3.js +0 -4
- package/es/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/es/src/views/layout/components/Sidebar/Item.vue.js +0 -9
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/es/src/views/layout/components/iframe-page.vue.js +0 -14
- package/es/src/views/layout/components/iframe-page.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue.js +0 -64
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/es/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
- package/es/src/views/layout/tab-content-index.vue.js +0 -28
- package/es/src/views/layout/tab-content-index.vue2.js +0 -4
- package/es/src/views/login/authredirect.vue.js +0 -7
- package/es/src/views/redirect/index.vue.js +0 -8
- package/es/src/views/svg-icon/src/svg-icon.vue.js +0 -4
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
- package/es/style.css +0 -3077
- package/es/super-grid/index.js +0 -7
- package/es/super-grid/src/apis.js +0 -458
- package/es/super-grid/src/columns-config.vue.js +0 -82
- package/es/super-grid/src/components/grid-icon.vue.js +0 -47
- package/es/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/es/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/es/super-grid/src/components/mobile-table-card.js +0 -109
- package/es/super-grid/src/components/select-input.vue.js +0 -149
- package/es/super-grid/src/components/select-input.vue2.js +0 -4
- package/es/super-grid/src/custom-formatter.js +0 -168
- package/es/super-grid/src/dynamic-input.vue.js +0 -482
- package/es/super-grid/src/eventBus.js +0 -6
- package/es/super-grid/src/events.js +0 -37
- package/es/super-grid/src/formValidatorUtil.js +0 -109
- package/es/super-grid/src/formatter.js +0 -74
- package/es/super-grid/src/group-column.vue.js +0 -24
- package/es/super-grid/src/header-context-menu.vue.js +0 -15
- package/es/super-grid/src/header-context-menu.vue2.js +0 -4
- package/es/super-grid/src/index-column.vue.js +0 -22
- package/es/super-grid/src/normal-column-content.vue.js +0 -319
- package/es/super-grid/src/normal-column-content.vue2.js +0 -4
- package/es/super-grid/src/normal-column.vue.js +0 -106
- package/es/super-grid/src/normal-column.vue2.js +0 -4
- package/es/super-grid/src/public-methods.js +0 -22
- package/es/super-grid/src/row-detail.vue.js +0 -14
- package/es/super-grid/src/row-operation.vue.js +0 -89
- package/es/super-grid/src/row-operation.vue2.js +0 -4
- package/es/super-grid/src/scan-util.js +0 -100
- package/es/super-grid/src/search-button.vue.js +0 -23
- package/es/super-grid/src/search-condition-input.vue.js +0 -17
- package/es/super-grid/src/search-condition-list.vue.js +0 -20
- package/es/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
- package/es/super-grid/src/search-form-dialog.vue.js +0 -16
- package/es/super-grid/src/search-form-item.vue.js +0 -128
- package/es/super-grid/src/search-form-item.vue2.js +0 -4
- package/es/super-grid/src/search-form-mobile.vue.js +0 -41
- package/es/super-grid/src/search-form-mobile.vue2.js +0 -4
- package/es/super-grid/src/search-form-number.vue.js +0 -26
- package/es/super-grid/src/search-form-open.vue.js +0 -50
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
- package/es/super-grid/src/search-form.vue.js +0 -201
- package/es/super-grid/src/search-form.vue2.js +0 -4
- package/es/super-grid/src/search-methods.js +0 -164
- package/es/super-grid/src/selection-column.vue.js +0 -11
- package/es/super-grid/src/store.js +0 -4
- package/es/super-grid/src/super-grid-service.js +0 -260
- package/es/super-grid/src/super-grid.vue.js +0 -1052
- package/es/super-grid/src/super-grid.vue2.js +0 -4
- package/es/super-grid/src/utils.js +0 -355
- package/es/super-grid/src/view-image-dialog.vue.js +0 -67
- package/es/super-icon/index.js +0 -7
- package/es/super-icon/src/index.vue.js +0 -7
- package/es/super-icon/src/index.vue2.js +0 -13
- package/es/super-icon/src/index.vue3.js +0 -4
- package/es/super-nine-grid/index.js +0 -7
- package/es/super-nine-grid/src/apis.js +0 -36
- package/es/super-nine-grid/src/custom-formatter.js +0 -35
- package/es/super-nine-grid/src/formatter.js +0 -37
- package/es/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/es/super-nine-grid/src/search-form.vue.js +0 -91
- package/es/super-nine-grid/src/search-form.vue2.js +0 -4
- package/es/super-nine-grid/src/search-methods.js +0 -48
- package/es/super-nine-grid/src/store.js +0 -4
- package/es/super-nine-grid/src/super-grid-service.js +0 -39
- package/es/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
- package/es/super-nine-grid/src/utils.js +0 -32
- package/es/svg-icon/index.js +0 -7
- package/es/svg-icon/src/svg-icon.vue.js +0 -14
- package/es/svg-icon/src/svg-icon.vue2.js +0 -4
- package/es/utils/gogocodeTransfer.js +0 -33
- package/es/utils/memory-cache-utils.js +0 -30
- package/es/utils/organization.js +0 -57
- package/es/utils/utils.js +0 -87
- package/es/utils/value-set.js +0 -94
- package/es/valid-code/index.js +0 -7
- package/es/valid-code/src/valid-code.vue.js +0 -23
- package/es/valid-code/src/valid-code.vue2.js +0 -4
- package/es/workflow-button/index.js +0 -7
- package/es/workflow-button/src/workflow-button.vue.js +0 -85
- package/es/workflow-history-list/index.js +0 -7
- package/es/workflow-history-list/src/api.js +0 -6
- package/es/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
- package/es/workgroup-tree/index.js +0 -7
- package/es/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/es/workgroup-tree-inline/index.js +0 -7
- package/es/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/es/workgroup-tree-mobile/index.js +0 -8
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
- package/es/workgroup-user-tree/index.js +0 -7
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/es/workgroup-user-tree-inline/index.js +0 -7
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
- package/es/year-range-picker/index.js +0 -7
- package/es/year-range-picker/src/year-range-picker.vue.js +0 -14
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import t from "../../department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js";
|
|
3
|
+
import { resolveComponent as l, openBlock as i, createElementBlock as r, createVNode as o, withCtx as n, createElementVNode as s, createTextVNode as a, toDisplayString as u } from "vue";
|
|
4
|
+
import "./department-user-multiple-tree.vue2.js";
|
|
5
|
+
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const p = { name: "DepartmentUserMultiTree", components: { InlineDepartmentUserMultiTree: t }, props: { departmentInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "920px" }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, selectUserInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "loginName" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data() {
|
|
5
7
|
let e2 = this.$t("imatrixUIMessage.pleaseSelectPersonnel");
|
|
6
8
|
return this.title && (e2 = this.title), { myTitle: e2 };
|
|
7
9
|
}, methods: { result(t2) {
|
|
8
|
-
e
|
|
10
|
+
e(this, "closeDialog", t2);
|
|
9
11
|
}, confirmSelectUser() {
|
|
10
12
|
this.$refs.inlineDepartmentUser.confirmSelectUser();
|
|
11
|
-
} }, emits: ["openDialog", "opendDialog", "closeDialog", "closedDialog", "opendDialog", "closeDialog", "closedDialog"] },
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
return
|
|
13
|
+
} }, emits: ["openDialog", "opendDialog", "closeDialog", "closedDialog", "opendDialog", "closeDialog", "closedDialog"] }, m = { class: "dialog-footer" };
|
|
14
|
+
const c = d(p, [["render", function(e2, t2, d2, p2, c2, f) {
|
|
15
|
+
const g = l("inline-department-user-multi-tree"), h = l("el-button"), D = l("el-dialog");
|
|
16
|
+
return i(), r("div", null, [o(D, { ref: "userDialog", "close-on-click-modal": false, "close-on-press-escape": false, title: c2.myTitle, width: d2.width, "append-to-body": "", class: "user-tree", "model-value": "", onClose: t2[1] || (t2[1] = (t3) => e2.$emit("closeDialog")), onClosed: t2[2] || (t2[2] = (t3) => e2.$emit("closedDialog")), onOpen: t2[3] || (t2[3] = (t3) => e2.$emit("openDialog")), onOpend: t2[4] || (t2[4] = (t3) => e2.$emit("opendDialog")) }, { footer: n(() => [s("div", m, [o(h, { size: "default", onClick: t2[0] || (t2[0] = (t3) => e2.$emit("closeDialog")) }, { default: n(() => [a(u(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), o(h, { size: "default", type: "primary", onClick: f.confirmSelectUser }, { default: n(() => [a(u(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: n(() => [o(g, { ref: "inlineDepartmentUser", "department-info": d2.departmentInfo, height: d2.height, "is-need-virtual-user": d2.isNeedVirtualUser, "limit-filter-column": d2.limitFilterColumn, "search-field": d2.searchField, "select-user-info": d2.selectUserInfo, separator: d2.separator, onResult: f.result }, null, 8, ["department-info", "height", "is-need-virtual-user", "limit-filter-column", "search-field", "select-user-info", "separator", "onResult"])]), _: 1 }, 8, ["title", "width"])]);
|
|
15
17
|
}]]);
|
|
16
|
-
|
|
18
|
+
export {
|
|
19
|
+
c as default
|
|
20
|
+
};
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import t from "../../department-user-tree-inline/src/department-user-single-tree-inline.vue.js";
|
|
3
|
+
import { resolveComponent as l, openBlock as i, createElementBlock as o, createVNode as n, withCtx as r, createElementVNode as s, createTextVNode as a, toDisplayString as d } from "vue";
|
|
4
|
+
import u from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const m = { name: "DepartmentUserSingleTree", components: { InlineDepartmentUserSingleTree: t }, props: { departmentInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "30%" }, isNeedVirtualUser: { type: Boolean, default: false }, limitFilterColumn: { type: String, default: "code" } }, data() {
|
|
3
6
|
let e2 = this.$t("imatrixUIMessage.pleaseSelectPersonnel");
|
|
4
7
|
return this.title && (e2 = this.title), { myTitle: e2 };
|
|
5
8
|
}, methods: { result(t2) {
|
|
6
|
-
e
|
|
9
|
+
e(this, "closeDialog", t2);
|
|
7
10
|
}, confirmSelectUser() {
|
|
8
|
-
e
|
|
9
|
-
} }, emits: ["openDialog", "opendDialog", "closeDialog", "closedDialog", "opendDialog", "closeDialog", "closedDialog"] },
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
return
|
|
11
|
+
e(this, "closeDialog", this.$refs.inlineDepartmentUser.selectNodeInfo);
|
|
12
|
+
} }, emits: ["openDialog", "opendDialog", "closeDialog", "closedDialog", "opendDialog", "closeDialog", "closedDialog"] }, p = { class: "dialog-footer" };
|
|
13
|
+
const c = u(m, [["render", function(e2, t2, u2, m2, c2, f) {
|
|
14
|
+
const g = l("inline-department-user-single-tree"), D = l("el-button"), h = l("el-dialog");
|
|
15
|
+
return i(), o("div", null, [n(h, { "close-on-click-modal": false, title: c2.myTitle, width: u2.width, "append-to-body": "", class: "user-tree", "model-value": "", onClose: t2[1] || (t2[1] = (t3) => e2.$emit("closeDialog")), onClosed: t2[2] || (t2[2] = (t3) => e2.$emit("closedDialog")), onOpen: t2[3] || (t2[3] = (t3) => e2.$emit("openDialog")), onOpend: t2[4] || (t2[4] = (t3) => e2.$emit("opendDialog")) }, { footer: r(() => [s("div", p, [n(D, { size: "default", onClick: t2[0] || (t2[0] = (t3) => e2.$emit("closeDialog")) }, { default: r(() => [a(d(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), n(D, { size: "default", type: "primary", onClick: f.confirmSelectUser }, { default: r(() => [a(d(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: r(() => [n(g, { ref: "inlineDepartmentUser", "department-info": u2.departmentInfo, "is-need-virtual-user": u2.isNeedVirtualUser, "limit-filter-column": u2.limitFilterColumn, onResult: f.result }, null, 8, ["department-info", "is-need-virtual-user", "limit-filter-column", "onResult"])]), _: 1 }, 8, ["title", "width"])]);
|
|
13
16
|
}]]);
|
|
14
|
-
|
|
17
|
+
export {
|
|
18
|
+
c as default
|
|
19
|
+
};
|
|
@@ -1,21 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import t from "./department-user-single-tree.vue.js";
|
|
3
|
+
import l from "./department-user-multiple-tree.vue.js";
|
|
4
|
+
import i from "../../department-user-tree-mobile/src/department-user-tree-app.vue.js";
|
|
5
|
+
import "../../department-user-tree-mobile/src/department-user-tree-app.vue2.js";
|
|
6
|
+
import { isMobileBrowser as o } from "../../src/utils/common-util.js";
|
|
7
|
+
import { resolveComponent as r, openBlock as n, createElementBlock as s, createBlock as a, createCommentVNode as p } from "vue";
|
|
8
|
+
import m from "../../_virtual/_plugin-vue_export-helper.js";
|
|
9
|
+
const d = m({ name: "DepartmentUserTree", components: { DepartmentUserSingleTree: t, DepartmentUserMultiTree: l, DepartmentUserMobileTree: i }, props: { multiple: { type: Boolean, default: true }, departmentInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, selectUserInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "loginName" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data() {
|
|
10
|
+
const e2 = o();
|
|
7
11
|
let t2 = this.$t("imatrixUIMessage.pleaseSelectPersonnel");
|
|
8
12
|
return this.title && (t2 = this.title), { myTitle: t2, isMobile: e2 };
|
|
9
13
|
}, methods: { closeDialog(t2) {
|
|
10
|
-
e
|
|
14
|
+
e(this, "close", t2);
|
|
11
15
|
}, closedDialog() {
|
|
12
|
-
e
|
|
16
|
+
e(this, "closed");
|
|
13
17
|
}, openDialog() {
|
|
14
|
-
e
|
|
18
|
+
e(this, "open");
|
|
15
19
|
}, opendDialog() {
|
|
16
|
-
e
|
|
17
|
-
} }, emits: ["close", "closed", "open", "opend"] }, [["render", function(e2, t2, l2, i2, o2,
|
|
18
|
-
const
|
|
19
|
-
return
|
|
20
|
+
e(this, "opend");
|
|
21
|
+
} }, emits: ["close", "closed", "open", "opend"] }, [["render", function(e2, t2, l2, i2, o2, m2) {
|
|
22
|
+
const d2 = r("department-user-multi-tree"), u = r("department-user-single-tree"), g = r("DepartmentUserMobileTree");
|
|
23
|
+
return n(), s("div", null, [!o2.isMobile && l2.multiple ? (n(), a(d2, { key: 0, "department-info": l2.departmentInfo, "limit-filter-column": l2.limitFilterColumn, height: l2.height, "is-need-virtual-user": l2.isNeedVirtualUser, "search-field": l2.searchField, "select-user-info": l2.selectUserInfo, separator: l2.separator, title: l2.title, width: l2.width ? l2.width : "920px", onCloseDialog: m2.closeDialog, onClosedDialog: m2.closedDialog, onOpenDialog: m2.openDialog, onOpendDialog: m2.opendDialog }, null, 8, ["department-info", "limit-filter-column", "height", "is-need-virtual-user", "search-field", "select-user-info", "separator", "title", "width", "onCloseDialog", "onClosedDialog", "onOpenDialog", "onOpendDialog"])) : p("", true), o2.isMobile || l2.multiple ? p("", true) : (n(), a(u, { key: 1, "department-info": l2.departmentInfo, "limit-filter-column": l2.limitFilterColumn, "is-need-virtual-user": l2.isNeedVirtualUser, title: l2.title, width: l2.width ? l2.width : "509px", onCloseDialog: m2.closeDialog, onClosedDialog: m2.closedDialog, onOpenDialog: m2.openDialog, onOpendDialog: m2.opendDialog }, null, 8, ["department-info", "limit-filter-column", "is-need-virtual-user", "title", "width", "onCloseDialog", "onClosedDialog", "onOpenDialog", "onOpendDialog"])), o2.isMobile ? (n(), a(g, { key: 2, multiple: l2.multiple, "department-info": l2.departmentInfo, "limit-filter-column": l2.limitFilterColumn, "search-field": l2.searchField, "select-user-info": l2.selectUserInfo, separator: l2.separator, onClose: m2.closeDialog }, null, 8, ["multiple", "department-info", "limit-filter-column", "search-field", "select-user-info", "separator", "onClose"])) : p("", true)]);
|
|
20
24
|
}]]);
|
|
21
|
-
|
|
25
|
+
export {
|
|
26
|
+
d as default
|
|
27
|
+
};
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Search as e, Menu as t, Tickets as s, User as r, Calendar as a } from "@element-plus/icons-vue";
|
|
2
|
+
import n from "../../src/utils/local-storage.js";
|
|
3
|
+
import i from "./search-result.vue.js";
|
|
4
|
+
import l from "../../utils/utils.js";
|
|
5
|
+
import d from "./department-user-tree-multi-service.js";
|
|
6
|
+
import o from "../../utils/memory-cache-utils.js";
|
|
7
|
+
import h from "./group-user-multiple-tree.vue.js";
|
|
8
|
+
import c from "./group-user/group-user.vue.js";
|
|
9
|
+
import p from "../../empty-state/index.vue.js";
|
|
10
|
+
import { resolveComponent as u, openBlock as m, createElementBlock as f, createVNode as U, withCtx as g, withKeys as N, Fragment as C, createElementVNode as T, createBlock as y, toDisplayString as k, createCommentVNode as I } from "vue";
|
|
11
|
+
import "./department-user-multiple-tree-inline.vue2.js";
|
|
12
|
+
import v from "../../_virtual/_plugin-vue_export-helper.js";
|
|
13
|
+
const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "children", isLeaf: "leaf", disabled: "disabled" }, searchParam: { userField: null, searchValue: null, treeType: "MAN_DEPARTMENT_TREE", departmentInfo: null }, containBranch: false, tenantNodeId: -1, allSearchNodeIds: [], allExpandNodeIds: [], isClickNode: false, restaurants: [], searchValue: null, searchResult: [], selectResult: [], searchStoreKey: "searchDepartmentUser", tenantInfo: {}, activeTab: "orgTree", isShowGroupTree: true, memoryCacheKey: "DEPARTMENT_USER_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e, canShowOrgTree: false }), name: "InlineDepartmentUserMultiTree", components: { UserResult: i, Menu: t, Tickets: s, User: r, Calendar: a, GroupUserMultipleTree: h, GroupUser: c, EmptyState: p }, props: { departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, selectUserInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "loginName" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
|
|
5
14
|
e2 || (this.searchValue = e2, this.departmentInfo && this.departmentInfo.length > 0 ? this.loadPointDepartments() : this.loadDepartment(this.tenantNodeId, this.tenantNodeId + ""));
|
|
6
15
|
} }, created() {
|
|
7
|
-
|
|
16
|
+
l.canShowOrgTree().then((e2) => {
|
|
8
17
|
this.canShowOrgTree = e2;
|
|
9
18
|
}), this.initSelectUsers(this.searchField, this.selectUserInfo, this.separator).then((e2) => {
|
|
10
19
|
e2 && (this.selectResult = e2);
|
|
11
20
|
});
|
|
12
21
|
}, mounted() {
|
|
13
|
-
var e2 =
|
|
22
|
+
var e2 = n.getObject(this.searchStoreKey);
|
|
14
23
|
this.restaurants = e2 || [], this.getMemoryCacheData("departmentUser");
|
|
15
|
-
}, methods: { ...
|
|
24
|
+
}, methods: { ...l, ...d, ...o, selectUser(e2, t2) {
|
|
16
25
|
if (this.isContainAllUser())
|
|
17
26
|
this.alertByAllUser();
|
|
18
27
|
else {
|
|
@@ -35,7 +44,7 @@ const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: ()
|
|
|
35
44
|
let t2 = e2;
|
|
36
45
|
t2 && (t2 = t2.trim()), this.searchParam.searchValue = t2, this.searchParam.departmentInfo = this.departmentInfo, this.filterAppendNodes(e2);
|
|
37
46
|
}, clickSearch() {
|
|
38
|
-
this.storeSeachValue(
|
|
47
|
+
this.storeSeachValue(n, this.searchStoreKey, this.filterText), this.search(this.filterText);
|
|
39
48
|
}, handleCheckChange(e2, t2, s2) {
|
|
40
49
|
if (this.isUserNode(e2) && t2) {
|
|
41
50
|
const t3 = JSON.parse(e2.data), s3 = this.packageSelectUser(t3);
|
|
@@ -124,8 +133,8 @@ const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: ()
|
|
|
124
133
|
for (var s2 = 0; s2 < this.selectResult.length; s2++) {
|
|
125
134
|
var r2 = this.selectResult[s2];
|
|
126
135
|
e2.userIds.push(r2.id), e2.loginNames.push(r2.loginName), e2.subCompanyName.push(r2.subCompanyName), e2.subCompanyCode.push(r2.subCompanyCode), r2.divisionManager && "" !== r2.divisionManager ? e2.divisionManager.push(r2.divisionManager) : ((_a = r2.user) == null ? void 0 : _a.divisionManager) && e2.divisionManager.push(r2.user.divisionManager), r2.divisionManagerName && "" !== r2.divisionManagerName ? e2.divisionManagerName.push(r2.divisionManagerName) : ((_b = r2.user) == null ? void 0 : _b.divisionManagerName) && e2.divisionManagerName.push(r2.user.divisionManagerName), r2.email && "" !== r2.email && e2.emails.push(r2.email), r2.telephone && "" !== r2.telephone && e2.telephones.push(r2.telephone), r2.user ? e2.users.push(r2.user) : e2.users.push(r2);
|
|
127
|
-
var
|
|
128
|
-
e2.userZhNames.push(
|
|
136
|
+
var a2 = r2.name;
|
|
137
|
+
e2.userZhNames.push(a2), r2.enName && "" !== r2.enName.trim() ? (e2.userEnNames.push(r2.enName), a2 = a2 + "(" + r2.enName + ")") : e2.userEnNames.push(""), e2.userNames.push(a2);
|
|
129
138
|
}
|
|
130
139
|
e2.userIds.length > 0 ? (e2.containBranch = this.containBranch, this.$emit("result", e2)) : t2 = true, t2 && this.$alert(this.$t("imatrixUIMessage.pleaseSelectPersonnel"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
|
|
131
140
|
}, isSelectTenantNode(e2) {
|
|
@@ -133,8 +142,8 @@ const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: ()
|
|
|
133
142
|
}, loadNode(e2, t2) {
|
|
134
143
|
var s2 = 0, r2 = "0";
|
|
135
144
|
0 === e2.level ? r2 = (s2 = 0) + "" : (s2 = e2.data.id, r2 = e2.data.nodeId);
|
|
136
|
-
var
|
|
137
|
-
this.$refs.deparmentUserTree && (
|
|
145
|
+
var a2 = [];
|
|
146
|
+
this.$refs.deparmentUserTree && (a2 = this.$refs.deparmentUserTree.getCheckedKeys()), this.initLoadDepartment(s2, e2, t2, a2, r2);
|
|
138
147
|
}, getGroupUserResult(e2) {
|
|
139
148
|
if (e2) {
|
|
140
149
|
const t2 = this.selectResult.filter((t3) => t3.id === e2.id);
|
|
@@ -146,9 +155,11 @@ const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: ()
|
|
|
146
155
|
setTimeout(() => {
|
|
147
156
|
e2.isShowGroupTree = true;
|
|
148
157
|
}, 10);
|
|
149
|
-
} }, emits: ["result"] },
|
|
150
|
-
const
|
|
151
|
-
const i2 =
|
|
152
|
-
return
|
|
158
|
+
} }, emits: ["result"] }, S = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, b = ["title"], x = { key: 1, style: { height: "100%", overflow: "hidden" } }, M = T("table", { border: "1px", cellpadding: "0", cellspacing: "0", style: { height: "100%", "border-left-style": "solid", "border-bottom-style": "none", "border-right-style": "none", "border-top-style": "none", "border-left-color": "#cccccc" } }, null, -1), $ = { style: { "text-align": "left", "font-size": "16px" } }, E = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
|
|
159
|
+
const A = v(R, [["render", function(e2, t2, s2, r2, a2, n2) {
|
|
160
|
+
const i2 = u("el-button"), l2 = u("el-autocomplete"), d2 = u("el-header"), o2 = u("Menu"), h2 = u("Tickets"), c2 = u("User"), p2 = u("Calendar"), v2 = u("el-icon"), R2 = u("el-tree"), A2 = u("el-tab-pane"), D = u("GroupUser"), _ = u("GroupUserMultipleTree"), w = u("el-tabs"), P = u("EmptyState"), V = u("user-result"), B = u("el-main"), G = u("el-container"), K = u("el-aside");
|
|
161
|
+
return m(), f("div", null, [U(G, { style: { height: "395px" } }, { default: g(() => [U(K, { width: "430px" }, { default: g(() => [U(G, { style: { height: "390px" } }, { default: g(() => [U(d2, { style: { "font-size": "12px", height: "35px", padding: "0px 10px" } }, { default: g(() => [U(l2, { modelValue: a2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => a2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), class: "inline-input inline-input-custom searchDepartmentUser", size: "default", onSelect: e2.handleSelect, onKeyup: N(n2.clickSearch, ["enter"]) }, { append: g(() => [U(i2, { icon: a2.ElIconSearch, onClick: n2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), U(B, { style: { padding: "10px" } }, { default: g(() => [a2.searchValue ? I("", true) : (m(), f(C, { key: 0 }, [a2.canShowOrgTree ? (m(), f("div", S, [U(w, { modelValue: a2.activeTab, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => a2.activeTab = e3), class: "boe" }, { default: g(() => [U(A2, { label: e2.$t("departmentUserTreeInline.orgTree"), name: "orgTree" }, { default: g(() => [U(R2, { ref: "deparmentUserTree", props: a2.defaultProps, load: n2.loadNode, "check-on-click-node": true, lazy: "", "show-checkbox": "", "node-key": "nodeId", onCheck: n2.handleCheckNode, onCheckChange: n2.handleCheckChange }, { default: g(({ node: e3, data: t3 }) => [T("span", null, [U(v2, null, { default: g(() => [-1 === e3.data.id || e3.data.branch ? (m(), y(o2, { key: 0 })) : -2 === e3.data.id || -3 === e3.data.id ? (m(), y(h2, { key: 1 })) : "USER" === e3.data.nodeType ? (m(), y(c2, { key: 2 })) : (m(), y(p2, { key: 3 }))]), _: 2 }, 1024), T("span", { title: e3.label }, k(e3.label), 9, b)])]), _: 1 }, 8, ["props", "load", "onCheck", "onCheckChange"])]), _: 1 }, 8, ["label"]), U(A2, { name: "groupTree" }, { label: g(() => [T("span", null, k(e2.$t("departmentUserTreeInline.group")), 1), T("span", null, [U(D, { "active-tab": a2.activeTab, onUpdateGroupTree: n2.updateGroupTree }, null, 8, ["active-tab", "onUpdateGroupTree"])])]), default: g(() => [a2.isShowGroupTree ? (m(), y(_, { key: 0, onResult: n2.getGroupUserResult }, null, 8, ["onResult"])) : I("", true)]), _: 1 })]), _: 1 }, 8, ["modelValue"])])) : (m(), y(P, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), a2.searchValue && a2.searchValue.length > 0 ? (m(), f("div", x, [U(V, { "contain-branch": a2.containBranch, "grid-data": a2.searchResult, height: s2.height, "is-search-result": true, multiple: true, "select-result": a2.selectResult, onAddUser: n2.selectUser }, null, 8, ["contain-branch", "grid-data", "height", "select-result", "onAddUser"])])) : I("", true)]), _: 1 })]), _: 1 })]), _: 1 }), U(G, null, { default: g(() => [U(K, { width: "2px" }, { default: g(() => [M]), _: 1 }), U(B, { style: { padding: "10px" } }, { default: g(() => [T("div", $, k(e2.$t("departmentUserTree.selectedPeople")) + ":", 1), T("div", E, [U(V, { "contain-branch": a2.containBranch, "grid-data": a2.selectResult, height: s2.height, "is-search-result": false, multiple: true, onRemoveUser: n2.removeUser }, null, 8, ["contain-branch", "grid-data", "height", "onRemoveUser"])])]), _: 1 })]), _: 1 })]), _: 1 })]);
|
|
153
162
|
}]]);
|
|
154
|
-
|
|
163
|
+
export {
|
|
164
|
+
A as default
|
|
165
|
+
};
|
|
@@ -1,22 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Search as e } from "@element-plus/icons-vue";
|
|
2
|
+
import { $emit as t } from "../../utils/gogocodeTransfer.js";
|
|
3
|
+
import l from "../../src/utils/local-storage.js";
|
|
4
|
+
import a from "./search-result.vue.js";
|
|
5
|
+
import n from "../../utils/utils.js";
|
|
6
|
+
import r from "./department-user-tree-single-service.js";
|
|
7
|
+
import i from "../../utils/memory-cache-utils.js";
|
|
8
|
+
import s from "./group-user-single-tree.vue.js";
|
|
9
|
+
import o from "./group-user/group-user.vue.js";
|
|
10
|
+
import u from "../../empty-state/index.vue.js";
|
|
11
|
+
import { resolveComponent as d, openBlock as c, createElementBlock as h, createVNode as p, withCtx as m, withKeys as f, Fragment as g, createElementVNode as N, createBlock as y, toDisplayString as T, createCommentVNode as k } from "vue";
|
|
12
|
+
import "./department-user-single-tree-inline.vue2.js";
|
|
13
|
+
import S from "../../_virtual/_plugin-vue_export-helper.js";
|
|
14
|
+
const C = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "children", isLeaf: "leaf" }, searchParam: { userField: null, searchValue: null, treeType: "MAN_DEPARTMENT_TREE", departmentInfo: null }, count: 0, containBranch: false, tenantNodeId: -1, searchFields: [], searchField: "name", restaurants: [], searchValue: null, searchResult: [], searchStoreKey: "searchDepartmentUser", tenantInfo: {}, selectUser: null, selectNodeInfo: null, notMultipleClickNum: null, notMultipleClickNode: null, memoryCacheKey: "DEPARTMENT_USER_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e, activeTab: "orgTree", isShowGroupTree: true, canShowOrgTree: false }), name: "InlineDepartmentUserSingleTree", components: { UserResult: a, GroupUserSingleTree: s, GroupUser: o, EmptyState: u }, props: { departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
|
|
5
15
|
e2 || (this.searchValue = e2, this.departmentInfo && this.departmentInfo.length > 0 ? this.loadPointDepartments(this) : this.loadDepartment(this.tenantNodeId, this.tenantNodeId + ""));
|
|
6
16
|
} }, created() {
|
|
7
|
-
|
|
17
|
+
n.canShowOrgTree().then((e2) => {
|
|
8
18
|
this.canShowOrgTree = e2;
|
|
9
19
|
}), this.searchFields = this.getSearchUserFields();
|
|
10
20
|
}, mounted() {
|
|
11
21
|
var e2 = l.getObject(this.searchStoreKey);
|
|
12
22
|
this.restaurants = e2 || [], this.getMemoryCacheData("departmentUser");
|
|
13
|
-
}, methods: { ...
|
|
23
|
+
}, methods: { ...n, ...r, ...i, handleNodeClick(e2, l2, a2) {
|
|
14
24
|
if (this.isUserNode(e2)) {
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
const
|
|
25
|
+
const a3 = JSON.parse(e2.data);
|
|
26
|
+
a3.tenantName = this.tenantInfo.tenantName, a3.tenantCode = this.tenantInfo.code, this.setMemoryCacheData(a3, "departmentUser"), this.packageSelectResult(a3), this.notMultipleClickNode && this.notMultipleClickNode.id === l2.id ? (this.notMultipleClickNum++, 2 === this.notMultipleClickNum && (this.notMultipleClickNum = 0, this.notMultipleClickNode = null, t(this, "result", this.selectNodeInfo))) : (this.notMultipleClickNode = l2, this.notMultipleClickNum = 1);
|
|
27
|
+
const n2 = this;
|
|
18
28
|
setTimeout(function() {
|
|
19
|
-
|
|
29
|
+
n2.notMultipleClickNum = 0, n2.notMultipleClickNode = null;
|
|
20
30
|
}, 300);
|
|
21
31
|
}
|
|
22
32
|
}, packageSelectResult(e2) {
|
|
@@ -27,18 +37,18 @@ const u = require("../../_virtual/_plugin-vue_export-helper.js"), h = { data: ()
|
|
|
27
37
|
}, isUserNode(e2) {
|
|
28
38
|
return e2.id !== this.tenantNodeId && e2.nodeType && "USER" === e2.nodeType;
|
|
29
39
|
}, confirmSelectUser() {
|
|
30
|
-
this.selectNodeInfo ? t
|
|
40
|
+
this.selectNodeInfo ? t(this, "result", this.selectNodeInfo) : this.$alert(this.$t("imatrixUIMessage.pleaseSelectPersonnel"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
|
|
31
41
|
}, isSelectTenantNode(e2) {
|
|
32
42
|
return e2 === this.tenantNodeId && (!this.departmentInfo || 0 === this.departmentInfo.length);
|
|
33
43
|
}, loadNode(e2, t2) {
|
|
34
|
-
var l2 = 0,
|
|
35
|
-
0 === e2.level ?
|
|
36
|
-
var
|
|
37
|
-
this.$refs.deparmentUserTree && (
|
|
44
|
+
var l2 = 0, a2 = "0";
|
|
45
|
+
0 === e2.level ? a2 = (l2 = 0) + "" : (l2 = e2.data.id, a2 = e2.data.nodeId);
|
|
46
|
+
var n2 = [];
|
|
47
|
+
this.$refs.deparmentUserTree && (n2 = this.$refs.deparmentUserTree.getCheckedKeys()), this.initLoadDepartment(l2, e2, t2, n2, a2);
|
|
38
48
|
}, getSelectUser(e2) {
|
|
39
49
|
this.selectUser = e2, this.setMemoryCacheData(e2, "departmentUser"), this.packageSelectResult(e2);
|
|
40
50
|
}, resultRowDblclick(e2) {
|
|
41
|
-
this.packageSelectResult(e2), t
|
|
51
|
+
this.packageSelectResult(e2), t(this, "result", this.selectNodeInfo);
|
|
42
52
|
}, getGroupUserResult(e2) {
|
|
43
53
|
e2 && (this.selectNodeInfo = e2);
|
|
44
54
|
}, updateGroupTree() {
|
|
@@ -49,9 +59,11 @@ const u = require("../../_virtual/_plugin-vue_export-helper.js"), h = { data: ()
|
|
|
49
59
|
}, 10);
|
|
50
60
|
}, dblClickGroupUserResult(e2) {
|
|
51
61
|
e2 && (this.selectNodeInfo = e2, this.$emit("result", this.selectNodeInfo));
|
|
52
|
-
} }, emits: ["result"] },
|
|
53
|
-
const
|
|
54
|
-
const
|
|
55
|
-
return
|
|
62
|
+
} }, emits: ["result"] }, U = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, b = ["title"], I = { key: 1, style: { height: "100%", overflow: "hidden" } };
|
|
63
|
+
const v = S(C, [["render", function(e2, t2, l2, a2, n2, r2) {
|
|
64
|
+
const i2 = d("el-button"), s2 = d("el-autocomplete"), o2 = d("el-header"), u2 = d("Menu"), S2 = d("Tickets"), C2 = d("User"), v2 = d("Calendar"), R = d("el-icon"), M = d("el-tree"), D = d("el-tab-pane"), w = d("GroupUser"), x = d("GroupUserSingleTree"), _ = d("el-tabs"), E = d("EmptyState"), G = d("user-result"), V = d("el-main"), j = d("el-container");
|
|
65
|
+
return c(), h("div", null, [p(j, { style: { height: "395px" } }, { default: m(() => [p(o2, { style: { "font-size": "12px", height: "35px", padding: "0" } }, { default: m(() => [p(s2, { modelValue: n2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), class: "inline-input searchDepartmentUser", style: { width: "100%" }, size: "default", onSelect: e2.handleSelect, onKeyup: f(e2.clickSearch, ["enter"]) }, { append: m(() => [p(i2, { icon: n2.ElIconSearch, onClick: e2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), p(V, { style: { padding: "10px", width: "100%" } }, { default: m(() => [n2.searchValue && 0 !== n2.searchResult.length ? k("", true) : (c(), h(g, { key: 0 }, [n2.canShowOrgTree ? (c(), h("div", U, [p(_, { modelValue: n2.activeTab, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => n2.activeTab = e3), class: "boe" }, { default: m(() => [p(D, { label: e2.$t("departmentUserTreeInline.orgTree"), name: "orgTree" }, { default: m(() => [p(M, { ref: "deparmentUserTree", load: r2.loadNode, props: n2.defaultProps, lazy: "", "node-key": "nodeId", onNodeClick: r2.handleNodeClick }, { default: m(({ node: e3, data: t3 }) => [N("span", null, [p(R, null, { default: m(() => [-1 === e3.data.id || e3.data.branch ? (c(), y(u2, { key: 0 })) : -2 === e3.data.id || -3 === e3.data.id ? (c(), y(S2, { key: 1 })) : "USER" === e3.data.nodeType ? (c(), y(C2, { key: 2 })) : (c(), y(v2, { key: 3 }))]), _: 2 }, 1024), N("span", { title: e3.label }, T(e3.label), 9, b)])]), _: 1 }, 8, ["load", "props", "onNodeClick"])]), _: 1 }, 8, ["label"]), p(D, { name: "groupTree" }, { label: m(() => [N("span", null, T(e2.$t("departmentUserTreeInline.group")), 1), N("span", null, [p(w, { "active-tab": n2.activeTab, onUpdateGroupTree: r2.updateGroupTree }, null, 8, ["active-tab", "onUpdateGroupTree"])])]), default: m(() => [n2.isShowGroupTree ? (c(), y(x, { key: 0, onSingleClick: r2.getGroupUserResult, onDblClick: r2.dblClickGroupUserResult }, null, 8, ["onSingleClick", "onDblClick"])) : k("", true)]), _: 1 })]), _: 1 }, 8, ["modelValue"])])) : (c(), y(E, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), n2.searchValue && n2.searchValue.length > 0 && n2.searchResult.length > 0 ? (c(), h("div", I, [p(G, { ref: "userResult", "contain-branch": n2.containBranch, "grid-data": n2.searchResult, height: l2.height, multiple: false, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectUser }, null, 8, ["contain-branch", "grid-data", "height", "onResultRowDblclick", "onSelectResult"])])) : k("", true)]), _: 1 })]), _: 1 })]);
|
|
56
66
|
}]]);
|
|
57
|
-
|
|
67
|
+
export {
|
|
68
|
+
v as default
|
|
69
|
+
};
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import t from "./department-user-single-tree-inline.vue.js";
|
|
3
|
+
import r from "./department-user-multiple-tree-inline.vue.js";
|
|
4
|
+
import { resolveComponent as l, openBlock as i, createElementBlock as n, createBlock as o, createCommentVNode as s } from "vue";
|
|
5
|
+
import u from "../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const m = u({ name: "InlineDepartmentUserTree", components: { InlineDepartmentUserSingleTree: t, InlineDepartmentUserMultiTree: r }, props: { multiple: { type: Boolean, default: true }, departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, selectUserInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "loginName" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data: () => ({ selectNodeInfo: null }), methods: { result(t2) {
|
|
7
|
+
this.selectNodeInfo = t2, e(this, "result", t2);
|
|
5
8
|
}, confirmSelectUser() {
|
|
6
9
|
this.$refs.userTree.confirmSelectUser();
|
|
7
|
-
} }, emits: ["result"] }, [["render", function(e2, t2, r2,
|
|
8
|
-
const
|
|
9
|
-
return
|
|
10
|
+
} }, emits: ["result"] }, [["render", function(e2, t2, r2, u2, m2, a) {
|
|
11
|
+
const p = l("inline-department-user-multi-tree"), f = l("inline-department-user-single-tree");
|
|
12
|
+
return i(), n("div", null, [r2.multiple ? (i(), o(p, { key: 0, ref: "userTree", height: r2.height, "department-info": r2.departmentInfo, "limit-filter-column": r2.limitFilterColumn, "select-user-info": r2.selectUserInfo, "search-field": r2.searchField, separator: r2.separator, onResult: a.result }, null, 8, ["height", "department-info", "limit-filter-column", "select-user-info", "search-field", "separator", "onResult"])) : s("", true), r2.multiple ? s("", true) : (i(), o(f, { key: 1, ref: "userTree", height: r2.height, "limit-filter-column": r2.limitFilterColumn, "department-info": r2.departmentInfo, onResult: a.result }, null, 8, ["height", "limit-filter-column", "department-info", "onResult"]))]);
|
|
10
13
|
}]]);
|
|
11
|
-
|
|
14
|
+
export {
|
|
15
|
+
m as default
|
|
16
|
+
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import "vue";
|
|
2
|
+
import e from "../../src/utils/local-storage.js";
|
|
3
|
+
import { getI18n as t } from "../../src/utils/util.js";
|
|
4
|
+
const s = { filterAppendNodes(e2) {
|
|
4
5
|
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-users", this.searchParam).then((e3) => {
|
|
5
6
|
if (e3) {
|
|
6
7
|
if (0 === e3.length)
|
|
7
|
-
return this.searchResult = [], void this.$message({ showClose: true, type: "error", message: t
|
|
8
|
+
return this.searchResult = [], void this.$message({ showClose: true, type: "error", message: t().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
8
9
|
this.searchResult = e3;
|
|
9
10
|
} else if (0 === e3.length)
|
|
10
|
-
return void this.$message({ showClose: true, type: "error", message: t
|
|
11
|
+
return void this.$message({ showClose: true, type: "error", message: t().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
11
12
|
});
|
|
12
13
|
}, querySearch(e2, t2) {
|
|
13
14
|
this.filterText || 0 !== this.filterText.length ? (this.search(this.filterText), t2([])) : this.memorySearch(e2, t2);
|
|
@@ -75,4 +76,6 @@ const e = require("../../src/utils/local-storage.js"), t = require("../../src/ut
|
|
|
75
76
|
}) : r(a);
|
|
76
77
|
});
|
|
77
78
|
} };
|
|
78
|
-
|
|
79
|
+
export {
|
|
80
|
+
s as default
|
|
81
|
+
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import t from "../../src/utils/local-storage.js";
|
|
4
|
+
import { getI18n as s } from "../../src/utils/util.js";
|
|
5
|
+
const r = { filterAppendNodes(e2) {
|
|
5
6
|
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-users", this.searchParam).then((e3) => {
|
|
6
7
|
if (e3) {
|
|
7
8
|
if (this.searchResult = e3, 0 === e3.length)
|
|
8
|
-
return this.searchResult = [], void this.$message({ showClose: true, type: "error", message: s
|
|
9
|
+
return this.searchResult = [], void this.$message({ showClose: true, type: "error", message: s().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
9
10
|
} else if (this.searchResult = [], 0 === e3.length)
|
|
10
|
-
return void this.$message({ showClose: true, type: "error", message: s
|
|
11
|
+
return void this.$message({ showClose: true, type: "error", message: s().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
11
12
|
});
|
|
12
13
|
}, querySearch(e2, t2) {
|
|
13
14
|
this.filterText || 0 !== this.filterText.length ? (this.search(this.filterText), t2([])) : this.memorySearch(e2, t2);
|
|
@@ -16,7 +17,7 @@ const t = require("../../src/utils/local-storage.js"), s = require("../../src/ut
|
|
|
16
17
|
if (null !== s2)
|
|
17
18
|
for (const e2 in s2)
|
|
18
19
|
t2.hasOwnProperty(e2) && (t2[e2] = s2[e2]);
|
|
19
|
-
this.filterText = "", this.searchValue = "", this.packageSelectResult(t2), this.setMemoryCacheData(t2, "departmentUser"), e
|
|
20
|
+
this.filterText = "", this.searchValue = "", this.packageSelectResult(t2), this.setMemoryCacheData(t2, "departmentUser"), e(this, "result", this.selectNodeInfo);
|
|
20
21
|
});
|
|
21
22
|
}, search(e2) {
|
|
22
23
|
this.searchValue = e2;
|
|
@@ -48,4 +49,6 @@ const t = require("../../src/utils/local-storage.js"), s = require("../../src/ut
|
|
|
48
49
|
this.$refs.deparmentUserTree && (this.$refs.deparmentUserTree.updateKeyChildren(this.tenantNodeId, e3), this.$refs.deparmentUserTree.store.nodesMap[this.tenantNodeId] && (this.$refs.deparmentUserTree.store.nodesMap[this.tenantNodeId].expanded = true));
|
|
49
50
|
});
|
|
50
51
|
} };
|
|
51
|
-
|
|
52
|
+
export {
|
|
53
|
+
r as default
|
|
54
|
+
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { resolveComponent as e, openBlock as t, createBlock as l, withCtx as s, createElementVNode as o, createVNode as i, createElementBlock as r, createTextVNode as a, toDisplayString as u, unref as n, createCommentVNode as p } from "vue";
|
|
2
|
+
import { Delete as m } from "@element-plus/icons-vue";
|
|
3
|
+
import d from "../group-user-tree-service.js";
|
|
4
|
+
import h from "../../../utils/utils.js";
|
|
5
|
+
const c = { key: 0 }, g = { style: { "padding-bottom": "5px" } }, b = { slot: "footer", class: "dialog-footer" }, I = { name: "GroupInput", components: { Delete: m }, props: { groupId: { type: Number, default: null } }, data() {
|
|
3
6
|
return { group: {}, showDeptMultipleTree: false, loginNames: null, tableData: [], myGroupId: this.groupId };
|
|
4
7
|
}, created() {
|
|
5
8
|
this.myGroupId && this.getGroupById(this.myGroupId).then((e2) => {
|
|
6
9
|
this.group = e2, this.tableData = e2.users;
|
|
7
10
|
});
|
|
8
|
-
}, methods: { ...
|
|
11
|
+
}, methods: { ...h, ...d, saveGroup() {
|
|
9
12
|
this.$refs.ruleFormRef.validate((e2) => {
|
|
10
13
|
if (!e2)
|
|
11
14
|
return false;
|
|
@@ -27,8 +30,10 @@ const e = require("vue"), t = require("@element-plus/icons-vue"), l = require(".
|
|
|
27
30
|
}) : this.removeUser(this.tableData, t2);
|
|
28
31
|
}, closeInput() {
|
|
29
32
|
this.$emit("closeDialog");
|
|
30
|
-
} } },
|
|
31
|
-
const
|
|
32
|
-
return
|
|
33
|
+
} } }, f = Object.assign(I, { setup: (d2) => (d3, h2) => {
|
|
34
|
+
const I2 = e("el-input"), f2 = e("el-form-item"), y = e("el-form"), G = e("el-button"), D = e("el-table-column"), $ = e("el-table"), U = e("department-user-tree"), v = e("el-dialog");
|
|
35
|
+
return t(), l(v, { "model-value": "", title: d3.$t("departmentUserTreeInline.groupForm"), "close-on-click-modal": false, "append-to-body": "", width: "30%", onOpen: h2[2] || (h2[2] = (e2) => d3.$emit("openDialog")), onOpend: h2[3] || (h2[3] = (e2) => d3.$emit("opendDialog")), onClose: d3.closeInput, onClosed: h2[4] || (h2[4] = (e2) => d3.$emit("closedDialog")) }, { default: s(() => [o("div", null, [i(y, { ref: "ruleFormRef", model: d3.group, "label-width": "auto", "status-icon": "" }, { default: s(() => [i(f2, { label: d3.$t("departmentUserTreeInline.groupName"), prop: "name", rules: [{ required: true, message: d3.$t("departmentUserTreeInline.groupNameNotEmpty"), trigger: "blur" }] }, { default: s(() => [i(I2, { modelValue: d3.group.name, "onUpdate:modelValue": h2[0] || (h2[0] = (e2) => d3.group.name = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }, 8, ["model"]), d3.myGroupId ? (t(), r("div", c, [o("div", g, [i(G, { size: "small", onClick: h2[1] || (h2[1] = (e2) => d3.showDeptMultipleTree = true) }, { default: s(() => [a(u(d3.$t("imatrixUIPublicModel.add")), 1)]), _: 1 })]), i($, { data: d3.tableData, border: "", style: { width: "100%" }, "max-height": "350" }, { default: s(() => [i(D, { prop: "name", label: d3.$t("departmentUserTreeInline.name") }, null, 8, ["label"]), i(D, { prop: "loginName", label: d3.$t("departmentUserTreeInline.loginName") }, null, 8, ["label"]), i(D, { label: d3.$t("imatrixUIPublicModel.edit"), align: "center", width: "60px" }, { default: s((e2) => [o("div", null, [i(G, { type: "danger", size: "small", icon: n(m), circle: "", onClick: (t2) => d3.removeUser(e2.$index, e2.row) }, null, 8, ["icon", "onClick"])])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])])) : p("", true), d3.showDeptMultipleTree ? (t(), l(U, { key: 1, width: "60%", multiple: true, onClose: d3.closeDeptMultiple }, null, 8, ["onClose"])) : p("", true)]), o("div", b, [i(G, { size: "small", onClick: d3.closeInput }, { default: s(() => [a(u(d3.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }, 8, ["onClick"]), i(G, { size: "small", type: "primary", onClick: d3.saveGroup }, { default: s(() => [a(u(d3.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), _: 1 }, 8, ["title", "onClose"]);
|
|
33
36
|
} });
|
|
34
|
-
|
|
37
|
+
export {
|
|
38
|
+
f as default
|
|
39
|
+
};
|