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,56 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const i2 = Object.getOwnPropertyDescriptor(e2, r2);
|
|
11
|
-
Object.defineProperty(t2, r2, i2.get ? i2 : { enumerable: true, get: () => e2[r2] });
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
return t2.default = e2, Object.freeze(t2);
|
|
15
|
-
}
|
|
16
|
-
const o = l(t), n = { class: "no-redirect" };
|
|
17
|
-
const s = a({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
|
|
18
|
-
return this.levelList.filter((e2) => void 0 !== e2.meta.title && null !== e2.meta.title);
|
|
1
|
+
import { getLanguageWithLocale as t } from "../../../../utils/util.js";
|
|
2
|
+
import * as e from "path-to-regexp";
|
|
3
|
+
import i from "js-cookie";
|
|
4
|
+
import { resolveComponent as a, openBlock as r, createBlock as l, withCtx as s, createVNode as o, TransitionGroup as u, createElementBlock as n, Fragment as m, renderList as c, createElementVNode as p, toDisplayString as h } from "vue";
|
|
5
|
+
import "./index.vue2.js";
|
|
6
|
+
import d from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
const f = { class: "no-redirect" };
|
|
8
|
+
const b = d({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
|
|
9
|
+
return this.levelList.filter((t2) => void 0 !== t2.meta.title && null !== t2.meta.title);
|
|
19
10
|
} }, watch: { $route() {
|
|
20
11
|
this.getBreadcrumb();
|
|
21
12
|
} }, created() {
|
|
22
13
|
this.getBreadcrumb();
|
|
23
14
|
}, methods: { getBreadcrumb() {
|
|
24
|
-
const { params:
|
|
15
|
+
const { params: a2 } = this.$route;
|
|
25
16
|
this.$route.matched;
|
|
26
|
-
let
|
|
27
|
-
if (
|
|
28
|
-
var
|
|
29
|
-
return
|
|
17
|
+
let r2 = this.$route.matched.filter((t2) => {
|
|
18
|
+
if (t2.name) {
|
|
19
|
+
var i2 = e.compile(t2.path);
|
|
20
|
+
return t2.path = i2(a2), true;
|
|
30
21
|
}
|
|
31
22
|
});
|
|
32
|
-
if (
|
|
33
|
-
let
|
|
34
|
-
const
|
|
35
|
-
l2 && (
|
|
36
|
-
const
|
|
37
|
-
let
|
|
38
|
-
if (
|
|
39
|
-
const
|
|
40
|
-
if (
|
|
41
|
-
const
|
|
42
|
-
this.isShouldConcatLastMenu(
|
|
23
|
+
if (r2) {
|
|
24
|
+
let e2;
|
|
25
|
+
const a3 = t(), l2 = window.$vueApp.config.globalProperties.systemNameObj;
|
|
26
|
+
l2 && (e2 = l2[a3]), r2 = [{ path: "/", redirect: "noredirect", meta: { title: e2 } }].concat(r2);
|
|
27
|
+
const s2 = i.get("selectMenu"), o2 = window.$vueApp.config.globalProperties._selectMenu;
|
|
28
|
+
let u2;
|
|
29
|
+
if (o2 ? u2 = o2 : s2 && (u2 = s2), u2) {
|
|
30
|
+
const t2 = u2.substring(0, u2.indexOf("~~")), e3 = u2.substring(u2.indexOf("~~") + 2);
|
|
31
|
+
if (r2 && r2.length > 0) {
|
|
32
|
+
const i2 = r2[r2.length - 1];
|
|
33
|
+
this.isShouldConcatLastMenu(e3, t2, i2) && r2.push({ path: t2, meta: { title: e3 } });
|
|
43
34
|
} else
|
|
44
|
-
|
|
35
|
+
r2.push({ path: t2, meta: { title: e3 } });
|
|
45
36
|
}
|
|
46
37
|
}
|
|
47
|
-
this.levelList =
|
|
48
|
-
}, isShouldConcatLastMenu(
|
|
49
|
-
return !(!this.isTitleNotEqual(
|
|
50
|
-
}, isTitleNotEqual(
|
|
51
|
-
return !(!
|
|
52
|
-
}, isPathNotEqual: (
|
|
53
|
-
const
|
|
54
|
-
return
|
|
38
|
+
this.levelList = r2;
|
|
39
|
+
}, isShouldConcatLastMenu(t2, e2, i2) {
|
|
40
|
+
return !(!this.isTitleNotEqual(t2, i2) || !this.isPathNotEqual(e2, i2));
|
|
41
|
+
}, isTitleNotEqual(t2, e2) {
|
|
42
|
+
return !(!t2 || !e2.meta || t2 === e2.meta.title || t2 === this.$t(e2.meta.title));
|
|
43
|
+
}, isPathNotEqual: (t2, e2) => !(!t2 || !e2.path || t2 === e2.path) } }, [["render", function(t2, e2, i2, d2, b2, g) {
|
|
44
|
+
const v = a("el-breadcrumb-item"), _ = a("el-breadcrumb");
|
|
45
|
+
return r(), l(_, { class: "app-breadcrumb", separator: ">" }, { default: s(() => [o(u, { name: "breadcrumb", tag: "span" }, { default: s(() => [(r(true), n(m, null, c(g.levelListWithTitle, (e3, i3) => (r(), l(v, { key: e3.path + "-" + i3 }, { default: s(() => [p("span", f, h(t2.$t(e3.meta.title)), 1)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 });
|
|
55
46
|
}], ["__scopeId", "data-v-768a430c"]]);
|
|
56
|
-
|
|
47
|
+
export {
|
|
48
|
+
b as default
|
|
49
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
1
|
+
import e from "./Item.vue2.js";
|
|
2
|
+
import "./Item.vue3.js";
|
|
3
|
+
import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const o = t(e, [["__scopeId", "data-v-0fb85d6e"]]);
|
|
5
|
+
export {
|
|
6
|
+
o as default
|
|
7
|
+
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
const { title:
|
|
8
|
-
let
|
|
9
|
-
|
|
10
|
-
let
|
|
11
|
-
return !d || d <= 2 ? r.push(
|
|
1
|
+
import { defineComponent as e, h as t } from "vue";
|
|
2
|
+
import "../../../svg-icon/src/svg-icon.vue.js";
|
|
3
|
+
import { ElBadge as i } from "element-plus";
|
|
4
|
+
import "../../../../../super-icon/index.js";
|
|
5
|
+
import s from "../../../../../super-icon/src/index.vue.js";
|
|
6
|
+
const n = e({ name: "MenuItem", functional: true, props: { icon: { type: String, default: "" }, title: { type: String, default: "" }, hasChildren: { type: Boolean, default: false }, isRoot: { type: Boolean, default: false }, code: { type: Boolean, default: false }, undoneTaskCount: { type: Number, default: 0 }, unreadTaskCount: { type: Number, default: 0 }, menuLayer: { type: Number, default: null } }, render(e2) {
|
|
7
|
+
const { title: n2, hasChildren: u, isRoot: o, code: a } = e2, l = e2.icon, d = e2.menuLayer, r = [];
|
|
8
|
+
let m = [t("i", { class: "amb-iconfont amb-icon-meun_post" })];
|
|
9
|
+
l && (m = [t(s, { iconValue: l })]);
|
|
10
|
+
let p = ["smb-sidebar-menu-item-title"];
|
|
11
|
+
return !d || d <= 2 ? r.push(t("div", { class: ["smb-sidebar-menu-item-icon"] }, m)) : (r.push(t("div", { class: ["smb-sidebar-menu-item-no-icon"] })), p.push("smb-sidebar-menu-item-no-icon-title")), n2 && (o ? r.push(t("div", { class: p }, [t("div", { title: n2 }, n2)])) : "undoneTask" === a ? r.push(t("div", { class: p }, [t("div", { title: n2 }, [t(i, { value: this.undoneTaskCount, style: { display: "inline" } }, n2)])])) : "unreadTask" === a ? r.push(t("div", { class: p }, [t("div", { title: n2 }, [t(i, { value: this.unreadTaskCount, style: { display: "inline" } }, n2)])])) : r.push(t("div", { class: p }, [t("div", { title: n2 }, n2)]))), r;
|
|
12
12
|
} });
|
|
13
|
-
|
|
13
|
+
export {
|
|
14
|
+
n as default
|
|
15
|
+
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
import { resolveComponent as t, openBlock as e, createElementBlock as o, createBlock as r, withCtx as s, renderSlot as n } from "vue";
|
|
2
|
+
import i from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const l = { key: 1 };
|
|
4
|
+
const u = i({ props: { to: { type: Object, required: true } }, data() {
|
|
5
|
+
const t2 = this.to.isExternal, e2 = this.to.openWay;
|
|
5
6
|
let o2 = false;
|
|
6
|
-
return
|
|
7
|
-
} }, [["render", function(
|
|
8
|
-
const
|
|
9
|
-
return e
|
|
7
|
+
return e2 && "NEW_PAGE_OPEN" === e2 && (o2 = true), { isExter: t2, isOpenNewTab: o2 };
|
|
8
|
+
} }, [["render", function(i2, u2, a, p, d, f) {
|
|
9
|
+
const c = t("router-link");
|
|
10
|
+
return e(), o("div", null, [d.isOpenNewTab ? (e(), o("div", l, [n(i2.$slots, "default")])) : (e(), r(c, { key: 0, to: a.to }, { default: s(() => [n(i2.$slots, "default")]), _: 3 }, 8, ["to"]))]);
|
|
10
11
|
}]]);
|
|
11
|
-
|
|
12
|
+
export {
|
|
13
|
+
u as default
|
|
14
|
+
};
|
|
@@ -1,30 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import e from "./Item.vue.js";
|
|
2
|
+
import t from "./Link.vue.js";
|
|
3
|
+
import { resolveComponent as n, openBlock as i, createElementBlock as o, createBlock as a, withCtx as s, createVNode as r, normalizeClass as l, Fragment as u, renderList as d, createCommentVNode as m } from "vue";
|
|
4
|
+
import { getI18nName as h } from "../../../../utils/menu.js";
|
|
5
|
+
import p from "../../../../api/tab.js";
|
|
6
|
+
import { getSystemCode as c } from "../../../../utils/permissionAuth.js";
|
|
7
|
+
import y from "../../../../utils/auth-api.js";
|
|
8
|
+
import { getSystemFrontendUrl as f } from "../../../../utils/common-util.js";
|
|
9
|
+
import "./SidebarItem.vue2.js";
|
|
10
|
+
import _ from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
11
|
+
const g = { name: "SidebarItem", components: { Item: e, AppLink: t }, props: { item: { type: Object, required: true }, isNest: { type: Boolean, default: false }, basePath: { type: String, default: "" } }, data() {
|
|
12
|
+
let e2, t2, n2, i2 = "_PLAT_FORM_FRONTEND_URL", o2 = "_devpJWT", a2 = "_CURRENT_ROLE", s2 = y.isDevpSystem();
|
|
13
|
+
return s2 && (e2 = y.getSessionCache(i2), t2 = y.getSessionCache(o2), n2 = y.getSessionCache(a2)), { onlyOneChild: null, platFrontUrl: e2, devpJWT: t2, currentRole: n2, devpJWTKey: o2, currentRoleKey: a2, frontendUrlKey: i2, isDevp: s2, hasLoad: false, undoneTaskCount: 0, unreadTaskCount: 0 };
|
|
7
14
|
}, created() {
|
|
8
15
|
"myTask" === this.item.code ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/task/tasks/to-do-task-nums").then((e2) => {
|
|
9
16
|
this.undoneTaskCount = e2.undoneTaskCount, this.unreadTaskCount = e2.unreadCount, this.hasLoad = true;
|
|
10
17
|
}).finally(() => {
|
|
11
18
|
this.hasLoad = true;
|
|
12
19
|
}) : this.hasLoad = true;
|
|
13
|
-
}, methods: { ...
|
|
20
|
+
}, methods: { ...p, hasOneShowingChild(e2, t2) {
|
|
14
21
|
return e2 && e2.length > 0 && (this.onlyOneChild = e2[0]), 1 === e2.length || (!e2 || 0 === e2.length) && (this.onlyOneChild = { ...t2, path: "", noShowingChildren: true }, true);
|
|
15
22
|
}, toPath(e2) {
|
|
16
23
|
const t2 = {};
|
|
17
24
|
let n2;
|
|
18
25
|
if (t2.openWay = e2.openWay, this.isExternalLink(e2.pageType))
|
|
19
|
-
n2 = e2.path, n2 || (n2 = ""), n2.indexOf("http:") < 0 && n2.indexOf("https:") < 0 && this.platFrontUrl ? (this.platFrontUrl.lastIndexOf("/") === this.platFrontUrl.length - 1 && (this.platFrontUrl = this.platFrontUrl.substring(0, this.platFrontUrl.length - 1)), n2 = this.platFrontUrl + n2) : (n2 = e2.fullPath, n2 || (n2 = "")), n2 = this.getRoutePath(n2), t2.path = "/tab-content-index", this.isDevp && (t2.path = "/devp-project/setting"), t2.tabPath = n2, t2.query = {}, t2.isExternal = true, t2.query.customSystem =
|
|
26
|
+
n2 = e2.path, n2 || (n2 = ""), n2.indexOf("http:") < 0 && n2.indexOf("https:") < 0 && this.platFrontUrl ? (this.platFrontUrl.lastIndexOf("/") === this.platFrontUrl.length - 1 && (this.platFrontUrl = this.platFrontUrl.substring(0, this.platFrontUrl.length - 1)), n2 = this.platFrontUrl + n2) : (n2 = e2.fullPath, n2 || (n2 = "")), n2 = this.getRoutePath(n2), t2.path = "/tab-content-index", this.isDevp && (t2.path = "/devp-project/setting"), t2.tabPath = n2, t2.query = {}, t2.isExternal = true, t2.query.customSystem = c(), t2.query._menuCode = e2.code, t2.query._menuName = h(e2);
|
|
20
27
|
else if (e2.openWay && "NEW_PAGE_OPEN" === e2.openWay) {
|
|
21
28
|
if (n2 = e2.fullPath, n2.indexOf("http:") < 0 && n2.indexOf("https:") < 0) {
|
|
22
|
-
let e3 =
|
|
29
|
+
let e3 = f(window.$vueApp.config.globalProperties.frontUrl);
|
|
23
30
|
e3.lastIndexOf("/") < e3.length - 1 && (e3 += "/"), n2 = e3 + "#" + n2;
|
|
24
31
|
}
|
|
25
32
|
t2.query = {}, t2.query._menuCode = e2.code, t2.path = n2;
|
|
26
33
|
} else
|
|
27
|
-
n2 = e2.fullPath, n2 || (n2 = ""), n2.indexOf("?") > 0 ? n2 += "&" : n2 += "?", n2 += "_isNeedMenu_=false", t2.path = "/tab-content-index", this.isDevp && (t2.path = "/devp-project/setting"), t2.tabPath = n2, t2.query = {}, t2.query.customSystem =
|
|
34
|
+
n2 = e2.fullPath, n2 || (n2 = ""), n2.indexOf("?") > 0 ? n2 += "&" : n2 += "?", n2 += "_isNeedMenu_=false", t2.path = "/tab-content-index", this.isDevp && (t2.path = "/devp-project/setting"), t2.tabPath = n2, t2.query = {}, t2.query.customSystem = c(), t2.query._menuCode = e2.code, t2.query._menuName = h(e2);
|
|
28
35
|
return t2;
|
|
29
36
|
}, getRoutePath(e2) {
|
|
30
37
|
return e2.indexOf("?") > 0 ? e2 += "&" : e2 += "?", e2 += "_isNeedMenu_=false", this.devpJWT && (e2.indexOf("?") > 0 ? e2 += "&" : e2 += "?", e2 = e2 + this.devpJWTKey + "=" + this.devpJWT), this.currentRole && (e2.indexOf("?") > 0 ? e2 += "&" : e2 += "?", e2 = e2 + this.currentRoleKey + "=" + this.currentRole), e2;
|
|
@@ -39,9 +46,11 @@ const l = require("../../../../../_virtual/_plugin-vue_export-helper.js"), u = {
|
|
|
39
46
|
}
|
|
40
47
|
else
|
|
41
48
|
this.addTabs(e2.query, this.$store.state.tabContent.openTab, e2.tabPath);
|
|
42
|
-
}, getI18nName: (e2) =>
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
return
|
|
49
|
+
}, getI18nName: (e2) => h(e2) } }, k = { class: "menu-wrapper" };
|
|
50
|
+
const C = _(g, [["render", function(e2, t2, h2, p2, c2, y2) {
|
|
51
|
+
const f2 = n("item"), _2 = n("el-menu-item"), g2 = n("app-link"), C2 = n("sidebar-item", true), b = n("el-sub-menu");
|
|
52
|
+
return i(), o("div", k, [h2.item.children && 0 !== h2.item.children.length ? (i(), a(b, { key: 1, index: h2.item.code + "~~" + h2.item.i18nValue, class: "smb-sidebar-menu-item" }, { title: s(() => [r(f2, { "menu-layer": h2.item.layer, icon: h2.item.iconName, title: y2.getI18nName(h2.item), "has-children": h2.item.children.length > 0 }, null, 8, ["menu-layer", "icon", "title", "has-children"])]), default: s(() => [(i(true), o(u, null, d(h2.item.children, (e3) => (i(), o(u, null, [e3.children && e3.children.length > 0 ? (i(), a(C2, { key: e3.code, "is-nest": true, item: e3, class: "nest-menu smb-sidebar-menu-item" }, null, 8, ["item"])) : c2.hasLoad ? (i(), a(g2, { key: e3.code, to: y2.toPath(e3), onClick: (t3) => y2.clickMenu(y2.toPath(e3)) }, { default: s(() => [r(_2, { index: e3.code + "~~" + e3.i18nValue, class: "smb-sidebar-menu-item" }, { default: s(() => [r(f2, { "menu-layer": e3.layer, "undone-task-count": c2.undoneTaskCount, "unread-task-count": c2.unreadTaskCount, code: e3.code, icon: e3.iconName, title: y2.getI18nName(e3) }, null, 8, ["menu-layer", "undone-task-count", "unread-task-count", "code", "icon", "title"])]), _: 2 }, 1032, ["index"])]), _: 2 }, 1032, ["to", "onClick"])) : m("", true)], 64))), 256))]), _: 1 }, 8, ["index"])) : (i(), a(g2, { key: 0, to: y2.toPath(h2.item), onClick: t2[0] || (t2[0] = (e3) => y2.clickMenu(y2.toPath(h2.item))) }, { default: s(() => [r(_2, { index: h2.item.code + "~~" + h2.item.i18nValue, class: l(["smb-sidebar-menu-item", { "submenu-title-noDropdown": !h2.isNest }]) }, { default: s(() => [r(f2, { "menu-layer": h2.item.layer, icon: h2.item.iconName, title: y2.getI18nName(h2.item), "is-root": true }, null, 8, ["menu-layer", "icon", "title"])]), _: 1 }, 8, ["index", "class"])]), _: 1 }, 8, ["to"]))]);
|
|
46
53
|
}], ["__scopeId", "data-v-da857302"]]);
|
|
47
|
-
|
|
54
|
+
export {
|
|
55
|
+
C as default
|
|
56
|
+
};
|
|
@@ -1,32 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { mapGetters as e } from "vuex";
|
|
2
|
+
import t from "./SidebarItem.vue.js";
|
|
3
|
+
import { getLanguageWithLocale as i } from "../../../../utils/util.js";
|
|
4
|
+
import { isShowSystemMenu as s } from "../../../../utils/common-util.js";
|
|
5
|
+
import o from "../../../../api/tab.js";
|
|
6
|
+
import { getI18nName as n } from "../../../../utils/menu.js";
|
|
7
|
+
import r from "js-cookie";
|
|
8
|
+
import { getMenus as l } from "../../../../utils/permissionAuth.js";
|
|
9
|
+
import u from "../../../../utils/auth-api.js";
|
|
10
|
+
import { resolveComponent as a, openBlock as f, createElementBlock as h, createVNode as c, withCtx as p, createBlock as m, createTextVNode as d, toDisplayString as g, createCommentVNode as M, Fragment as b, renderList as v } from "vue";
|
|
11
|
+
import y from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
12
|
+
const S = y({ name: "Menubar", components: { SidebarItem: t }, props: { systemCode: { type: String, default: null }, collapse: { type: Boolean, default: false } }, data() {
|
|
4
13
|
let e2;
|
|
5
|
-
if (true === s
|
|
6
|
-
const t3 = i
|
|
14
|
+
if (true === s()) {
|
|
15
|
+
const t3 = i(), s2 = window.$vueApp.config.globalProperties.systemNameObj;
|
|
7
16
|
s2 && (e2 = s2[t3]);
|
|
8
17
|
}
|
|
9
18
|
const t2 = void 0 === window.$vueApp.config.globalProperties.showFirstMenu || null === window.$vueApp.config.globalProperties.showFirstMenu || window.$vueApp.config.globalProperties.showFirstMenu;
|
|
10
|
-
let
|
|
11
|
-
return { firstLeafMenu: null, systemName: e2, defaultActive: "", menus: l
|
|
12
|
-
}, computed: { ...e
|
|
19
|
+
let o2 = u.isDevpSystem();
|
|
20
|
+
return { firstLeafMenu: null, systemName: e2, defaultActive: "", menus: l(), isSelectFirst: t2, isDevp: o2 };
|
|
21
|
+
}, computed: { ...e(["sidebar"]), isCollapse() {
|
|
13
22
|
return false !== this.collapse || !this.sidebar.opened;
|
|
14
23
|
} }, watch: { $route() {
|
|
15
24
|
this.firstLeafMenu = this.getFirstMenu(this.menus), this.firstLeafMenu && (this.defaultActive = this.firstLeafMenu.code + "~~" + this.firstLeafMenu.i18nValue, window.$vueApp.config.globalProperties._selectMenu = this.defaultActive);
|
|
16
25
|
} }, created() {
|
|
17
26
|
if (this.firstLeafMenu = this.getFirstMenu(this.menus), this.firstLeafMenu, this.firstLeafMenu && (this.defaultActive = this.firstLeafMenu.code + "~~" + this.firstLeafMenu.i18nValue, window.$vueApp.config.globalProperties._selectMenu = this.defaultActive), this.firstLeafMenu, this.firstLeafMenu && this.firstLeafMenu.fullPath)
|
|
18
27
|
if (this.firstLeafMenu.pageType && "iframe" === this.firstLeafMenu.pageType) {
|
|
19
|
-
const e2 = { src: this.firstLeafMenu.fullPath, customSystem: this.systemCode, _menuCode: this.firstLeafMenu.code, _menuName:
|
|
28
|
+
const e2 = { src: this.firstLeafMenu.fullPath, customSystem: this.systemCode, _menuCode: this.firstLeafMenu.code, _menuName: n(this.firstLeafMenu) };
|
|
20
29
|
this.addTabs(e2, this.$store.state.tabContent.openTab, "/iframe-page/page", "/iframe-page/page");
|
|
21
30
|
let t2 = "/tab-content-iframe-index";
|
|
22
31
|
this.isDevp && (t2 = "/devp-project/setting"), this.$router.push({ path: t2, query: e2 });
|
|
23
32
|
} else {
|
|
24
|
-
const e2 = { customSystem: this.systemCode, _menuCode: this.firstLeafMenu.code, _menuName:
|
|
33
|
+
const e2 = { customSystem: this.systemCode, _menuCode: this.firstLeafMenu.code, _menuName: n(this.firstLeafMenu) }, t2 = this.firstLeafMenu.fullPath;
|
|
25
34
|
this.addTabs(e2, this.$store.state.tabContent.openTab, t2, t2);
|
|
26
35
|
let i2 = "/tab-content-index";
|
|
27
36
|
this.isDevp && (i2 = "/devp-project/setting"), this.$router.push({ path: i2, query: e2 });
|
|
28
37
|
}
|
|
29
|
-
}, methods: { ...
|
|
38
|
+
}, methods: { ...o, toggleSideBar() {
|
|
30
39
|
this.$store.dispatch("toggleSidebar");
|
|
31
40
|
}, selectMenu(e2, t2) {
|
|
32
41
|
window.$vueApp.config.globalProperties._selectMenu = e2, r.set("selectMenu", e2);
|
|
@@ -35,8 +44,8 @@ const c = require("../../../../../_virtual/_plugin-vue_export-helper.js")({ name
|
|
|
35
44
|
let i2;
|
|
36
45
|
if (t2 ? this.isSelectFirst = true : this.isDevp || (i2 = this.getFirstMenuWithCookie(e2)), this.isSelectFirst && !i2 && e2 && e2.length > 0)
|
|
37
46
|
for (let s2 = 0; s2 < e2.length; s2++) {
|
|
38
|
-
const
|
|
39
|
-
if (i2 = this.getShouldSelectMenu(
|
|
47
|
+
const o2 = e2[s2];
|
|
48
|
+
if (i2 = this.getShouldSelectMenu(o2, t2), i2)
|
|
40
49
|
break;
|
|
41
50
|
}
|
|
42
51
|
return i2;
|
|
@@ -59,8 +68,8 @@ const c = require("../../../../../_virtual/_plugin-vue_export-helper.js")({ name
|
|
|
59
68
|
const i2 = t2.split("~~")[0];
|
|
60
69
|
let s2;
|
|
61
70
|
for (let t3 = 0; t3 < e2.length; t3++) {
|
|
62
|
-
const
|
|
63
|
-
if (s2 = this.getShouldSelectMenuWithCookie(
|
|
71
|
+
const o2 = e2[t3];
|
|
72
|
+
if (s2 = this.getShouldSelectMenuWithCookie(o2, i2), s2)
|
|
64
73
|
break;
|
|
65
74
|
}
|
|
66
75
|
return s2;
|
|
@@ -72,8 +81,10 @@ const c = require("../../../../../_virtual/_plugin-vue_export-helper.js")({ name
|
|
|
72
81
|
const s2 = e2.children;
|
|
73
82
|
return s2 && s2.length > 0 ? i2 = this.getFirstMenuWithCookie(s2) : e2.code && e2.code === t2 && (i2 = e2), i2;
|
|
74
83
|
}
|
|
75
|
-
} } }, [["render", function(e2, t2, i2, s2,
|
|
76
|
-
const r2 = a
|
|
77
|
-
return
|
|
84
|
+
} } }, [["render", function(e2, t2, i2, s2, o2, n2) {
|
|
85
|
+
const r2 = a("el-menu-item"), l2 = a("sidebar-item"), u2 = a("el-menu"), y2 = a("el-scrollbar"), S2 = a("hamburger");
|
|
86
|
+
return f(), h("div", null, [c(y2, { "wrap-class": "scrollbar-wrapper" }, { default: p(() => [c(u2, { collapse: n2.isCollapse, "default-active": o2.defaultActive ? o2.defaultActive : "", "show-timeout": 200, mode: "vertical", onSelect: n2.selectMenu }, { default: p(() => [o2.systemName ? (f(), m(r2, { key: 0, title: o2.systemName, class: "system-item smb-sidebar-menu-item", disabled: "", index: "1", style: { "padding-left": "10px" } }, { default: p(() => [d(g(o2.systemName), 1)]), _: 1 }, 8, ["title"])) : M("", true), (f(true), h(b, null, v(o2.menus, (e3) => (f(), m(l2, { key: e3.code, item: e3 }, null, 8, ["item"]))), 128))]), _: 1 }, 8, ["collapse", "default-active", "onSelect"])]), _: 1 }), c(S2, { "is-active": e2.sidebar.opened, class: "hamburger-container", onToggleClick: n2.toggleSideBar }, null, 8, ["is-active", "onToggleClick"])]);
|
|
78
87
|
}]]);
|
|
79
|
-
|
|
88
|
+
export {
|
|
89
|
+
S as default
|
|
90
|
+
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { createVNode as t } from "vue";
|
|
2
|
+
function e(e2, s) {
|
|
3
|
+
const i = { ...s, props: e2, data: s.attr, children: s.slots }, { icon: o, title: n, hasChildren: a } = i.props, l = [];
|
|
4
|
+
let r = [h("i", { class: "amb-iconfont amb-icon-meun_post" })];
|
|
5
|
+
return o && (r = [h(SuperIcon, { iconValue: o })]), l.push(t("div", { class: "smb-sidebar-menu-item-icon" }, [r])), n && l.push(t("template", { slot: "title" }, [t("div", { title: n, class: "smb-sidebar-menu-item-title" }, [n])])), l;
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
e as default
|
|
7
9
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import e from "./Item.vue.js";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { isExternal as r } from "../../../../utils/index.js";
|
|
2
|
+
import { resolveComponent as t, openBlock as e, createBlock as o, normalizeProps as n, guardReactiveProps as i, withCtx as s, renderSlot as l } from "vue";
|
|
3
|
+
import p from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const u = p({ props: { to: { type: String, required: true } }, methods: { isExternalLink: (t2) => r(t2), linkProps(r2) {
|
|
5
|
+
return this.isExternalLink(r2) ? { is: "a", href: r2, target: "_blank", rel: "noopener" } : { is: "router-link", to: r2 };
|
|
6
|
+
} } }, [["render", function(r2, p2, u2, a, f, m) {
|
|
7
|
+
const d = t("component");
|
|
8
|
+
return e(), o(d, n(i(m.linkProps(u2.to))), { default: s(() => [l(r2.$slots, "default")]), _: 3 }, 16);
|
|
8
9
|
}]]);
|
|
9
|
-
|
|
10
|
+
export {
|
|
11
|
+
u as default
|
|
12
|
+
};
|
|
@@ -1,16 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "../../../../../_virtual/__vite-browser-external.js";
|
|
2
|
+
import { isExternal as t } from "../../../../utils/index.js";
|
|
3
|
+
import i from "./Item.vue.js";
|
|
4
|
+
import n from "./Link.vue.js";
|
|
5
|
+
import { resolveComponent as l, openBlock as a, createElementBlock as s, createBlock as o, withCtx as m, createVNode as r, normalizeClass as h, createCommentVNode as d, Fragment as u, renderList as p } from "vue";
|
|
6
|
+
import "./SidebarItem.vue2.js";
|
|
7
|
+
import c from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const y = { name: "SidebarItem", components: { Item: i, AppLink: n }, props: { item: { type: Object, required: true }, isNest: { type: Boolean, default: false }, basePath: { type: String, default: "" } }, data: () => ({ onlyOneChild: null }), computed: { visibleChildren() {
|
|
5
9
|
return this.item.children.filter((e2) => !e2.hidden);
|
|
6
10
|
} }, methods: { hasOneShowingChild(e2, t2) {
|
|
7
|
-
const
|
|
8
|
-
return 1 ===
|
|
11
|
+
const i2 = e2.filter((e3) => !e3.hidden && (this.onlyOneChild = e3, true));
|
|
12
|
+
return 1 === i2.length || 0 === i2.length && (this.onlyOneChild = { ...t2, path: "", noShowingChildren: true }, true);
|
|
9
13
|
}, resolvePath(t2) {
|
|
10
14
|
return this.isExternalLink(t2) ? t2 : e.resolve(this.basePath, t2);
|
|
11
|
-
}, isExternalLink: (e2) => t
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
return !
|
|
15
|
+
}, isExternalLink: (e2) => t(e2) } }, b = { key: 0, class: "menu-wrapper" };
|
|
16
|
+
const v = c(y, [["render", function(e2, t2, i2, n2, c2, y2) {
|
|
17
|
+
const v2 = l("item"), f = l("el-menu-item"), C = l("app-link"), O = l("sidebar-item", true), k = l("el-sub-menu");
|
|
18
|
+
return !i2.item.hidden && i2.item.children ? (a(), s("div", b, [!y2.hasOneShowingChild(i2.item.children, i2.item) || c2.onlyOneChild.children && !c2.onlyOneChild.noShowingChildren || i2.item.alwaysShow ? (a(), o(k, { key: 1, index: y2.resolvePath(i2.item.path) + "~~" + i2.item.meta.title, class: "smb-sidebar-menu-item" }, { title: m(() => [i2.item.meta ? (a(), o(v2, { key: 0, icon: i2.item.meta.icon, title: e2.$t(i2.item.meta.title), "has-children": i2.item.children.length > 0 }, null, 8, ["icon", "title", "has-children"])) : d("", true)]), default: m(() => [(a(true), s(u, null, p(y2.visibleChildren, (t3) => (a(), s(u, null, [t3.children && t3.children.length > 0 ? (a(), o(O, { key: 0, "is-nest": true, item: t3, "base-path": y2.resolvePath(t3.path), class: "nest-menu smb-sidebar-menu-item" }, null, 8, ["item", "base-path"])) : (a(), o(C, { key: 1, to: y2.resolvePath(t3.path) }, { default: m(() => [r(f, { index: y2.resolvePath(t3.path) + "~~" + t3.meta.title, class: "smb-sidebar-menu-item" }, { default: m(() => [t3.meta ? (a(), o(v2, { key: 0, icon: t3.meta.icon, title: e2.$t(t3.meta.title) }, null, 8, ["icon", "title"])) : d("", true)]), _: 2 }, 1032, ["index"])]), _: 2 }, 1032, ["to"]))], 64))), 256))]), _: 1 }, 8, ["index"])) : (a(), o(C, { key: 0, to: y2.resolvePath(c2.onlyOneChild.path) }, { default: m(() => [r(f, { index: y2.resolvePath(c2.onlyOneChild.path) + "~~" + c2.onlyOneChild.meta.title, class: h(["smb-sidebar-menu-item", { "submenu-title-noDropdown": !i2.isNest }]) }, { default: m(() => [c2.onlyOneChild.meta ? (a(), o(v2, { key: 0, icon: c2.onlyOneChild.meta.icon || i2.item.meta.icon, title: e2.$t(c2.onlyOneChild.meta.title) }, null, 8, ["icon", "title"])) : d("", true)]), _: 1 }, 8, ["index", "class"])]), _: 1 }, 8, ["to"]))])) : d("", true);
|
|
15
19
|
}], ["__scopeId", "data-v-74b8f009"]]);
|
|
16
|
-
|
|
20
|
+
export {
|
|
21
|
+
v as default
|
|
22
|
+
};
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { mapGetters as e } from "vuex";
|
|
2
|
+
import t from "./SidebarItem.vue.js";
|
|
3
|
+
import { getLanguageWithLocale as i } from "../../../../utils/util.js";
|
|
4
|
+
import { isShowSystemMenu as l } from "../../../../utils/common-util.js";
|
|
5
|
+
import s from "js-cookie";
|
|
6
|
+
import { resolveComponent as o, openBlock as a, createElementBlock as r, createVNode as n, withCtx as u, createBlock as c, createTextVNode as d, toDisplayString as p, createCommentVNode as m, Fragment as h, renderList as f } from "vue";
|
|
7
|
+
import g from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const v = g({ components: { SidebarItem: t }, data() {
|
|
4
9
|
let e2;
|
|
5
|
-
if (true === l
|
|
6
|
-
const t2 = i
|
|
10
|
+
if (true === l()) {
|
|
11
|
+
const t2 = i(), l2 = window.$vueApp.config.globalProperties.systemNameObj;
|
|
7
12
|
l2 && (e2 = l2[t2]);
|
|
8
13
|
}
|
|
9
14
|
return { systemName: e2, defaultActive: "" };
|
|
10
|
-
}, computed: { ...e
|
|
15
|
+
}, computed: { ...e(["sidebar", "protectedRouters"]), isCollapse() {
|
|
11
16
|
return !this.sidebar.opened;
|
|
12
17
|
} }, watch: { $route() {
|
|
13
18
|
this.getDefaultActiveMenu();
|
|
@@ -16,9 +21,9 @@ const r = require("../../../../../_virtual/_plugin-vue_export-helper.js")({ comp
|
|
|
16
21
|
}, methods: { toggleSideBar() {
|
|
17
22
|
this.$store.dispatch("toggleSidebar");
|
|
18
23
|
}, selectMenu(e2, t2) {
|
|
19
|
-
window.$vueApp.config.globalProperties._selectMenu = e2,
|
|
24
|
+
window.$vueApp.config.globalProperties._selectMenu = e2, s.set("selectMenu", e2);
|
|
20
25
|
}, getDefaultActiveMenu() {
|
|
21
|
-
const e2 =
|
|
26
|
+
const e2 = s.get("selectMenu"), t2 = window.$vueApp.config.globalProperties._selectMenu;
|
|
22
27
|
if (t2)
|
|
23
28
|
this.defaultActive = t2;
|
|
24
29
|
else if (e2)
|
|
@@ -30,22 +35,24 @@ const r = require("../../../../../_virtual/_plugin-vue_export-helper.js")({ comp
|
|
|
30
35
|
}, getDefaultActiveRouteInChildren(e2, t2) {
|
|
31
36
|
let i2;
|
|
32
37
|
for (let l2 = 0; l2 < e2.length; l2++) {
|
|
33
|
-
const
|
|
34
|
-
if ((void 0 ===
|
|
35
|
-
if (void 0 ===
|
|
36
|
-
let e3 =
|
|
38
|
+
const s2 = e2[l2];
|
|
39
|
+
if ((void 0 === s2.hidden || false === s2.hidden) && s2.path && "" !== s2.path && "/redirect/:path*" !== s2.path) {
|
|
40
|
+
if (void 0 === s2.children || 0 === s2.children.length) {
|
|
41
|
+
let e3 = s2.path;
|
|
37
42
|
if (e3 && 0 !== e3.indexOf("/") && (e3 = t2.join("/") + "/" + e3), this.$route.path === e3) {
|
|
38
|
-
i2 = e3 + "~~" + (
|
|
43
|
+
i2 = e3 + "~~" + (s2.meta ? s2.meta.title : "");
|
|
39
44
|
break;
|
|
40
45
|
}
|
|
41
|
-
} else if (t2.push(
|
|
46
|
+
} else if (t2.push(s2.path), i2 = this.getDefaultActiveRouteInChildren(s2.children, t2), i2)
|
|
42
47
|
break;
|
|
43
48
|
}
|
|
44
49
|
t2 = [];
|
|
45
50
|
}
|
|
46
51
|
return i2;
|
|
47
|
-
} } }, [["render", function(e2, t2, i2, l2,
|
|
48
|
-
const
|
|
49
|
-
return
|
|
52
|
+
} } }, [["render", function(e2, t2, i2, l2, s2, g2) {
|
|
53
|
+
const v2 = o("el-menu-item"), b = o("sidebar-item"), A = o("el-menu"), w = o("el-scrollbar"), M = o("hamburger");
|
|
54
|
+
return a(), r("div", null, [n(w, { "wrap-class": "scrollbar-wrapper" }, { default: u(() => [n(A, { collapse: g2.isCollapse, "default-active": s2.defaultActive, "show-timeout": 200, mode: "vertical", onSelect: g2.selectMenu }, { default: u(() => [s2.systemName ? (a(), c(v2, { key: 0, title: s2.systemName, class: "system-item smb-sidebar-menu-item", disabled: "", index: "1", style: { "padding-left": "10px" } }, { default: u(() => [d(p(s2.systemName), 1)]), _: 1 }, 8, ["title"])) : m("", true), (a(true), r(h, null, f(e2.protectedRouters, (e3) => (a(), c(b, { key: e3.path, "base-path": e3.path, item: e3 }, null, 8, ["base-path", "item"]))), 128))]), _: 1 }, 8, ["collapse", "default-active", "onSelect"])]), _: 1 }), n(M, { "is-active": e2.sidebar.opened, class: "hamburger-container", onToggleClick: g2.toggleSideBar }, null, 8, ["is-active", "onToggleClick"])]);
|
|
50
55
|
}]]);
|
|
51
|
-
|
|
56
|
+
export {
|
|
57
|
+
v as default
|
|
58
|
+
};
|