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