agilebuilder-ui 1.1.65-tmp12 → 1.1.65-tmp13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/IntervalSelection/index.js +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.js +49 -0
- package/es/IntervalSelection/src/sectionDate.vue2.js +4 -0
- package/es/_virtual/__vite-browser-external.js +4 -0
- package/es/_virtual/_plugin-vue_export-helper.js +9 -0
- package/es/breadcrumb/index.js +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.js +28 -0
- package/es/breadcrumb/src/breadcrumb.vue2.js +4 -0
- package/es/chat-embed/index.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.js +14 -0
- package/es/chat-embed/src/chat-addition-data.vue3.js +4 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +29 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.js +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +33 -0
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +4 -0
- package/es/chat-embed/src/chat-embed-message.js +22 -0
- package/es/chat-embed/src/chat-sender.vue.js +7 -0
- package/es/chat-embed/src/chat-sender.vue2.js +160 -0
- package/es/chat-embed/src/chat-sender.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +59 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +6 -0
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +118 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +4 -0
- package/es/chat-embed/src/components/history-detail.vue.js +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.js +55 -0
- package/es/chat-embed/src/components/history-detail.vue3.js +4 -0
- package/es/chat-embed/src/header.vue.js +7 -0
- package/es/chat-embed/src/header.vue2.js +46 -0
- package/es/chat-embed/src/header.vue3.js +4 -0
- package/es/chat-embed/src/index.vue.js +7 -0
- package/es/chat-embed/src/index.vue2.js +307 -0
- package/es/chat-embed/src/index.vue3.js +4 -0
- package/es/chat-embed/src/recommendation-message.vue.js +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.js +8 -0
- package/es/chat-embed/src/recommendation-message.vue3.js +4 -0
- package/es/chat-embed/src/sidebar-item.vue.js +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.js +118 -0
- package/es/chat-embed/src/sidebar-item.vue3.js +4 -0
- package/es/chat-embed/src/type.js +5 -0
- package/es/chat-embed/src/util/chat-embed-util.js +57 -0
- package/es/chat-embed/src/util/history-message-util.js +96 -0
- package/es/chat-embed/src/util/mcp-utils.js +53 -0
- package/es/chat-embed/src/util/text-file-util.js +12 -0
- package/es/chat-embed/src/voice/index.js +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.js +1013 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.js +178 -0
- package/es/chat-embed/src/voice/js/timer.js +11 -0
- package/es/chat-embed/src/voice/voice.vue.js +104 -0
- package/es/date-picker-range/index.js +7 -0
- package/es/date-picker-range/index.vue.js +7 -0
- package/es/date-picker-range/index.vue2.js +93 -0
- package/es/date-picker-range/index.vue3.js +4 -0
- package/es/department-tree/index.js +7 -0
- package/es/department-tree/src/department-tree.vue.js +23 -0
- package/es/department-tree-inline/index.js +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +91 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +64 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.js +17 -0
- package/es/department-tree-inline/src/department-tree-service.js +108 -0
- package/es/department-tree-inline/src/search-result.vue.js +40 -0
- package/es/department-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-tree-mobile/index.js +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.js +15 -0
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-service.js +55 -0
- package/es/department-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/department-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/department-user-tree/index.js +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +20 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.js +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.js +27 -0
- package/es/department-user-tree-inline/index.js +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +165 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +69 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +54 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +34 -0
- package/es/department-user-tree-inline/src/group-user-tree-service.js +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.js +41 -0
- package/es/department-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-user-tree-mobile/index.js +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +15 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +38 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/directives/prevent-reclick.js +15 -0
- package/es/dynamic-source-select/index.js +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +276 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -0
- package/es/dynamic-source-select/src/events.js +29 -0
- package/es/empty-state/index.vue.js +9 -0
- package/es/empty-state/index.vue2.js +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.js +7 -0
- package/es/fs-preview/src/fs-preview.vue.js +120 -0
- package/es/fs-preview/src/fs-preview.vue2.js +4 -0
- package/es/fs-upload/index.js +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.js +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.js +73 -0
- package/es/fs-upload/src/fs-upload.vue.js +24 -0
- package/es/fs-upload/src/see-big-picture.vue.js +12 -0
- package/es/fs-upload-list/index.js +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.js +98 -0
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +4 -0
- package/es/fs-upload-new/index.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +61 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +62 -0
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +63 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.js +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +93 -0
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +4 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.js +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +4 -0
- package/es/hamburger/index.js +7 -0
- package/es/hamburger/src/hamburger.vue.js +15 -0
- package/es/hamburger/src/hamburger.vue2.js +4 -0
- package/es/index.js +383 -0
- package/es/json-view/json-view-dialog.vue.js +19 -0
- package/es/json-view/json-view-dialog.vue2.js +4 -0
- package/es/json-view/json-view.vue.js +4 -0
- package/es/json-view/json-view.vue2.js +36 -0
- package/es/multipart-upload/index.js +7 -0
- package/es/multipart-upload/src/index.vue.js +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.js +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.js +104 -0
- package/es/organization-input/index.js +7 -0
- package/es/organization-input/src/organization-input.vue.js +224 -0
- package/es/organization-input/src/organization-input.vue2.js +4 -0
- package/es/plugins/export-data-new.js +237 -0
- package/es/plugins/export-data.js +179 -0
- package/es/plugins/index.js +9 -0
- package/es/plugins/public-method.js +14 -0
- package/es/remove-department/index.js +7 -0
- package/es/remove-department/src/remove-department.vue.js +33 -0
- package/es/remove-department/src/remove-dept-service.js +13 -0
- package/es/remove-user/index.js +7 -0
- package/es/remove-user/src/remove-user-service.js +13 -0
- package/es/remove-user/src/remove-user.vue.js +35 -0
- package/es/remove-workgroup/index.js +7 -0
- package/es/remove-workgroup/src/remove-workgroup-service.js +13 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.js +31 -0
- package/es/rich-editor/index.js +7 -0
- package/es/rich-editor/index.vue.js +115 -0
- package/es/rich-editor/tinymce/zh_CN.js +2 -0
- package/es/rich-editor/viewer.vue.js +27 -0
- package/es/row-form/index.js +7 -0
- package/es/row-form/index.vue.js +7 -0
- package/es/row-form/index.vue2.js +62 -0
- package/es/row-form/index.vue3.js +4 -0
- package/es/row-form/operation.vue.js +32 -0
- package/es/row-form/operation.vue2.js +4 -0
- package/es/scan-code-input/index.js +7 -0
- package/es/scan-code-input/src/events.js +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.js +32 -0
- package/es/scan-code-input-browser/index.js +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +39 -0
- package/es/secret-info/index.js +7 -0
- package/es/secret-info/index.vue.js +16 -0
- package/es/src/api/sso-service.js +57 -0
- package/es/src/api/tab.js +15 -0
- package/es/src/assets/401/401.gif.js +4 -0
- package/es/src/assets/404/404-cloud.png.js +4 -0
- package/es/src/assets/404/404.png.js +4 -0
- package/es/src/assets/chat-embed/robot.gif.js +4 -0
- package/es/src/assets/chat-embed/robot.svg.js +4 -0
- package/es/src/assets/nonemessage.png.js +4 -0
- package/es/src/components/Affix/index.vue.js +7 -0
- package/es/src/components/Affix/index.vue2.js +83 -0
- package/es/src/components/Affix/index.vue3.js +4 -0
- package/es/src/components/Card/index.js +48 -0
- package/es/src/components/Scrollbar/index.vue.js +52 -0
- package/es/src/components/Scrollbar/index.vue2.js +4 -0
- package/es/src/directives/permission/index.js +7 -0
- package/es/src/directives/permission/permission.js +11 -0
- package/es/src/i18n/i18n.js +7 -0
- package/es/src/i18n/langs/cn.js +4 -0
- package/es/src/i18n/langs/en.js +4 -0
- package/es/src/mixins/resizeMixin.js +21 -0
- package/es/src/permission.js +79 -0
- package/es/src/router/index.js +9 -0
- package/es/src/store/getters.js +4 -0
- package/es/src/store/index.js +13 -0
- package/es/src/store/modules/app.js +41 -0
- package/es/src/store/modules/chat-ai-store.js +36 -0
- package/es/src/store/modules/permission.js +31 -0
- package/es/src/store/modules/system.js +12 -0
- package/es/src/store/modules/tab-content.js +20 -0
- package/es/src/store/modules/table.js +18 -0
- package/es/src/store/modules/user.js +139 -0
- package/es/src/utils/auth-api.js +134 -0
- package/es/src/utils/auth.js +156 -0
- package/es/src/utils/calculator/calculator-factory-wf.js +167 -0
- package/es/src/utils/calculator/calculator-factory.js +93 -0
- package/es/src/utils/calculator/calculator-util.js +56 -0
- package/es/src/utils/chat-ai-util.js +34 -0
- package/es/src/utils/common-util.js +440 -0
- package/es/src/utils/eventBus.js +6 -0
- package/es/src/utils/file-util.js +23 -0
- package/es/src/utils/global-prop.js +38 -0
- package/es/src/utils/guid.js +10 -0
- package/es/src/utils/i18n-util.js +70 -0
- package/es/src/utils/iconUtils.js +26 -0
- package/es/src/utils/index.js +46 -0
- package/es/src/utils/insert_css.js +17 -0
- package/es/src/utils/json-util.js +47 -0
- package/es/src/utils/jump-page-utils.js +264 -0
- package/es/src/utils/local-storage.js +19 -0
- package/es/src/utils/menu.js +14 -0
- package/es/src/utils/permission.js +45 -0
- package/es/src/utils/permissionAuth.js +154 -0
- package/es/src/utils/range-selector.js +105 -0
- package/es/src/utils/request.js +140 -0
- package/es/src/utils/resize.js +11 -0
- package/es/src/utils/restful-interface-utils.js +18 -0
- package/es/src/utils/util.js +361 -0
- package/es/src/utils/validate.js +22 -0
- package/es/src/utils/voice-setting-cache.js +212 -0
- package/es/src/utils/watermark-cache.js +15 -0
- package/es/src/utils/watermark.js +40 -0
- package/es/src/utils/workflow-util.js +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +12 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +4 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +53 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.js +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +66 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/error-page/401.vue.js +15 -0
- package/es/src/views/error-page/401.vue2.js +4 -0
- package/es/src/views/error-page/404.vue.js +12 -0
- package/es/src/views/error-page/404.vue2.js +4 -0
- package/es/src/views/layout/EmptyLayout.vue.js +9 -0
- package/es/src/views/layout/Layout.vue.js +28 -0
- package/es/src/views/layout/Layout.vue2.js +4 -0
- package/es/src/views/layout/NewLayout.vue.js +11 -0
- package/es/src/views/layout/components/AppMain.vue.js +13 -0
- package/es/src/views/layout/components/AppMain.vue2.js +4 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +49 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/Item.vue.js +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.js +15 -0
- package/es/src/views/layout/components/Menubar/Item.vue3.js +4 -0
- package/es/src/views/layout/components/Menubar/Link.vue.js +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +56 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/index.vue.js +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue.js +9 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.js +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +22 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/index.vue.js +58 -0
- package/es/src/views/layout/components/iframe-page.vue.js +14 -0
- package/es/src/views/layout/components/iframe-page.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.js +64 -0
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/layout/mixin/ResizeHandler.js +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.js +14 -0
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +4 -0
- package/es/src/views/layout/tab-content-index.vue.js +28 -0
- package/es/src/views/layout/tab-content-index.vue2.js +4 -0
- package/es/src/views/login/authredirect.vue.js +7 -0
- package/es/src/views/redirect/index.vue.js +8 -0
- package/es/src/views/svg-icon/src/svg-icon.vue.js +4 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +4 -0
- package/es/style.css +3077 -0
- package/es/super-grid/index.js +7 -0
- package/es/super-grid/src/apis.js +458 -0
- package/es/super-grid/src/columns-config.vue.js +82 -0
- package/es/super-grid/src/components/grid-icon.vue.js +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.js +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.js +4 -0
- package/es/super-grid/src/components/mobile-table-card.js +109 -0
- package/es/super-grid/src/components/select-input.vue.js +149 -0
- package/es/super-grid/src/components/select-input.vue2.js +4 -0
- package/es/super-grid/src/custom-formatter.js +168 -0
- package/es/super-grid/src/dynamic-input.vue.js +482 -0
- package/es/super-grid/src/eventBus.js +6 -0
- package/es/super-grid/src/events.js +37 -0
- package/es/super-grid/src/formValidatorUtil.js +109 -0
- package/es/super-grid/src/formatter.js +74 -0
- package/es/super-grid/src/group-column.vue.js +24 -0
- package/es/super-grid/src/header-context-menu.vue.js +15 -0
- package/es/super-grid/src/header-context-menu.vue2.js +4 -0
- package/es/super-grid/src/index-column.vue.js +22 -0
- package/es/super-grid/src/normal-column-content.vue.js +319 -0
- package/es/super-grid/src/normal-column-content.vue2.js +4 -0
- package/es/super-grid/src/normal-column.vue.js +106 -0
- package/es/super-grid/src/normal-column.vue2.js +4 -0
- package/es/super-grid/src/public-methods.js +22 -0
- package/es/super-grid/src/row-detail.vue.js +14 -0
- package/es/super-grid/src/row-operation.vue.js +89 -0
- package/es/super-grid/src/row-operation.vue2.js +4 -0
- package/es/super-grid/src/scan-util.js +100 -0
- package/es/super-grid/src/search-button.vue.js +23 -0
- package/es/super-grid/src/search-condition-input.vue.js +17 -0
- package/es/super-grid/src/search-condition-list.vue.js +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.js +116 -0
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +4 -0
- package/es/super-grid/src/search-form-dialog.vue.js +16 -0
- package/es/super-grid/src/search-form-item.vue.js +128 -0
- package/es/super-grid/src/search-form-item.vue2.js +4 -0
- package/es/super-grid/src/search-form-mobile.vue.js +41 -0
- package/es/super-grid/src/search-form-mobile.vue2.js +4 -0
- package/es/super-grid/src/search-form-number.vue.js +26 -0
- package/es/super-grid/src/search-form-open.vue.js +50 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +39 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +4 -0
- package/es/super-grid/src/search-form.vue.js +201 -0
- package/es/super-grid/src/search-form.vue2.js +4 -0
- package/es/super-grid/src/search-methods.js +164 -0
- package/es/super-grid/src/selection-column.vue.js +11 -0
- package/es/super-grid/src/store.js +4 -0
- package/es/super-grid/src/super-grid-service.js +260 -0
- package/es/super-grid/src/super-grid.vue.js +1052 -0
- package/es/super-grid/src/super-grid.vue2.js +4 -0
- package/es/super-grid/src/utils.js +355 -0
- package/es/super-grid/src/view-image-dialog.vue.js +67 -0
- package/es/super-icon/index.js +7 -0
- package/es/super-icon/src/index.vue.js +7 -0
- package/es/super-icon/src/index.vue2.js +13 -0
- package/es/super-icon/src/index.vue3.js +4 -0
- package/es/super-nine-grid/index.js +7 -0
- package/es/super-nine-grid/src/apis.js +36 -0
- package/es/super-nine-grid/src/custom-formatter.js +35 -0
- package/es/super-nine-grid/src/formatter.js +37 -0
- package/es/super-nine-grid/src/search-form-number.vue.js +13 -0
- package/es/super-nine-grid/src/search-form.vue.js +91 -0
- package/es/super-nine-grid/src/search-form.vue2.js +4 -0
- package/es/super-nine-grid/src/search-methods.js +48 -0
- package/es/super-nine-grid/src/store.js +4 -0
- package/es/super-nine-grid/src/super-grid-service.js +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.js +225 -0
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +4 -0
- package/es/super-nine-grid/src/utils.js +32 -0
- package/es/svg-icon/index.js +7 -0
- package/es/svg-icon/src/svg-icon.vue.js +14 -0
- package/es/svg-icon/src/svg-icon.vue2.js +4 -0
- package/es/utils/gogocodeTransfer.js +33 -0
- package/es/utils/memory-cache-utils.js +30 -0
- package/es/utils/organization.js +57 -0
- package/es/utils/utils.js +87 -0
- package/es/utils/value-set.js +94 -0
- package/es/valid-code/index.js +7 -0
- package/es/valid-code/src/valid-code.vue.js +23 -0
- package/es/valid-code/src/valid-code.vue2.js +4 -0
- package/es/workflow-button/index.js +7 -0
- package/es/workflow-button/src/workflow-button.vue.js +85 -0
- package/es/workflow-history-list/index.js +7 -0
- package/es/workflow-history-list/src/api.js +6 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.js +89 -0
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +4 -0
- package/es/workgroup-tree/index.js +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.js +23 -0
- package/es/workgroup-tree-inline/index.js +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +35 -0
- package/es/workgroup-tree-mobile/index.js +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +15 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +33 -0
- package/es/workgroup-user-tree/index.js +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +23 -0
- package/es/workgroup-user-tree-inline/index.js +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +172 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +15 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +29 -0
- package/es/year-range-picker/index.js +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.js +14 -0
- package/lib/IntervalSelection/index.js +5 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
- package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
- package/lib/_virtual/__vite-browser-external.js +2 -4
- package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
- package/lib/breadcrumb/index.js +3 -5
- package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
- package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
- package/lib/chat-embed/index.js +3 -5
- package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
- package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
- package/lib/chat-embed/src/chat-embed-message.js +14 -20
- package/lib/chat-embed/src/chat-sender.vue.js +5 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
- package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
- package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
- package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
- package/lib/chat-embed/src/header.vue.js +5 -7
- package/lib/chat-embed/src/header.vue2.js +25 -32
- package/lib/chat-embed/src/header.vue3.js +2 -4
- package/lib/chat-embed/src/index.vue.js +5 -7
- package/lib/chat-embed/src/index.vue2.js +185 -211
- package/lib/chat-embed/src/index.vue3.js +2 -4
- package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
- package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
- package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
- package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
- package/lib/chat-embed/src/type.js +3 -5
- package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
- package/lib/chat-embed/src/util/history-message-util.js +63 -85
- package/lib/chat-embed/src/util/mcp-utils.js +5 -8
- package/lib/chat-embed/src/util/text-file-util.js +7 -11
- package/lib/chat-embed/src/voice/index.js +5 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
- package/lib/chat-embed/src/voice/js/timer.js +7 -10
- package/lib/chat-embed/src/voice/voice.vue.js +61 -70
- package/lib/date-picker-range/index.js +5 -7
- package/lib/date-picker-range/index.vue.js +5 -7
- package/lib/date-picker-range/index.vue2.js +59 -63
- package/lib/date-picker-range/index.vue3.js +2 -4
- package/lib/department-tree/index.js +3 -5
- package/lib/department-tree/src/department-tree.vue.js +11 -17
- package/lib/department-tree-inline/index.js +3 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
- package/lib/department-tree-inline/src/department-tree-service.js +8 -10
- package/lib/department-tree-inline/src/search-result.vue.js +19 -23
- package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-tree-mobile/index.js +4 -7
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
- package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/department-user-tree/index.js +3 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
- package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/index.js +3 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
- package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
- package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-user-tree-mobile/index.js +4 -7
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/directives/prevent-reclick.js +2 -3
- package/lib/dynamic-source-select/index.js +5 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
- package/lib/dynamic-source-select/src/events.js +2 -3
- package/lib/empty-state/index.vue.js +5 -8
- package/lib/empty-state/index.vue2.js +3 -4
- package/lib/fs-preview/index.js +5 -7
- package/lib/fs-preview/src/fs-preview.vue.js +63 -72
- package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
- package/lib/fs-upload/index.js +5 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
- package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
- package/lib/fs-upload/src/fs-upload.vue.js +10 -16
- package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
- package/lib/fs-upload-list/index.js +5 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
- package/lib/fs-upload-new/index.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
- package/lib/hamburger/index.js +3 -5
- package/lib/hamburger/src/hamburger.vue.js +10 -14
- package/lib/hamburger/src/hamburger.vue2.js +2 -4
- package/lib/index.js +40 -380
- package/lib/json-view/json-view-dialog.vue.js +12 -15
- package/lib/json-view/json-view-dialog.vue2.js +3 -4
- package/lib/json-view/json-view.vue.js +3 -4
- package/lib/json-view/json-view.vue2.js +27 -31
- package/lib/multipart-upload/index.js +5 -7
- package/lib/multipart-upload/src/index.vue.js +7 -11
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
- package/lib/organization-input/index.js +5 -7
- package/lib/organization-input/src/organization-input.vue.js +31 -37
- package/lib/organization-input/src/organization-input.vue2.js +2 -4
- package/lib/plugins/export-data-new.js +96 -104
- package/lib/plugins/export-data.js +45 -51
- package/lib/plugins/index.js +4 -8
- package/lib/plugins/public-method.js +2 -3
- package/lib/remove-department/index.js +3 -5
- package/lib/remove-department/src/remove-department.vue.js +13 -19
- package/lib/remove-department/src/remove-dept-service.js +9 -10
- package/lib/remove-user/index.js +5 -7
- package/lib/remove-user/src/remove-user-service.js +3 -4
- package/lib/remove-user/src/remove-user.vue.js +16 -22
- package/lib/remove-workgroup/index.js +5 -7
- package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
- package/lib/rich-editor/index.js +5 -7
- package/lib/rich-editor/index.vue.js +28 -76
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +7 -10
- package/lib/row-form/index.js +5 -7
- package/lib/row-form/index.vue.js +5 -7
- package/lib/row-form/index.vue2.js +41 -47
- package/lib/row-form/index.vue3.js +2 -4
- package/lib/row-form/operation.vue.js +22 -26
- package/lib/row-form/operation.vue2.js +3 -4
- package/lib/scan-code-input/index.js +5 -7
- package/lib/scan-code-input/src/events.js +11 -13
- package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
- package/lib/scan-code-input-browser/index.js +5 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
- package/lib/secret-info/index.js +5 -7
- package/lib/secret-info/index.vue.js +6 -9
- package/lib/src/api/sso-service.js +34 -36
- package/lib/src/api/tab.js +8 -9
- package/lib/src/assets/401/401.gif.js +2 -4
- package/lib/src/assets/404/404-cloud.png.js +2 -4
- package/lib/src/assets/404/404.png.js +2 -4
- package/lib/src/assets/chat-embed/robot.gif.js +2 -4
- package/lib/src/assets/chat-embed/robot.svg.js +2 -4
- package/lib/src/assets/nonemessage.png.js +2 -4
- package/lib/src/components/Affix/index.vue.js +5 -7
- package/lib/src/components/Affix/index.vue2.js +56 -58
- package/lib/src/components/Affix/index.vue3.js +2 -4
- package/lib/src/components/Card/index.js +33 -38
- package/lib/src/components/Scrollbar/index.vue.js +33 -37
- package/lib/src/components/Scrollbar/index.vue2.js +2 -4
- package/lib/src/directives/permission/index.js +3 -5
- package/lib/src/directives/permission/permission.js +7 -9
- package/lib/src/i18n/i18n.js +3 -7
- package/lib/src/i18n/langs/cn.js +2 -4
- package/lib/src/i18n/langs/en.js +2 -4
- package/lib/src/mixins/resizeMixin.js +2 -3
- package/lib/src/permission.js +43 -46
- package/lib/src/router/index.js +16 -9
- package/lib/src/store/getters.js +2 -4
- package/lib/src/store/index.js +16 -13
- package/lib/src/store/modules/app.js +3 -4
- package/lib/src/store/modules/chat-ai-store.js +19 -22
- package/lib/src/store/modules/permission.js +10 -11
- package/lib/src/store/modules/system.js +7 -9
- package/lib/src/store/modules/tab-content.js +13 -15
- package/lib/src/store/modules/table.js +2 -3
- package/lib/src/store/modules/user.js +89 -95
- package/lib/src/utils/auth-api.js +3 -5
- package/lib/src/utils/auth.js +69 -139
- package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
- package/lib/src/utils/calculator/calculator-factory.js +57 -58
- package/lib/src/utils/calculator/calculator-util.js +29 -32
- package/lib/src/utils/chat-ai-util.js +17 -25
- package/lib/src/utils/common-util.js +271 -356
- package/lib/src/utils/eventBus.js +3 -6
- package/lib/src/utils/file-util.js +15 -16
- package/lib/src/utils/global-prop.js +21 -37
- package/lib/src/utils/guid.js +5 -8
- package/lib/src/utils/i18n-util.js +16 -24
- package/lib/src/utils/iconUtils.js +16 -23
- package/lib/src/utils/index.js +26 -40
- package/lib/src/utils/insert_css.js +8 -7
- package/lib/src/utils/json-util.js +25 -27
- package/lib/src/utils/jump-page-utils.js +172 -180
- package/lib/src/utils/local-storage.js +2 -3
- package/lib/src/utils/menu.js +10 -11
- package/lib/src/utils/permission.js +22 -26
- package/lib/src/utils/permissionAuth.js +102 -136
- package/lib/src/utils/range-selector.js +41 -45
- package/lib/src/utils/request.js +77 -86
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +12 -15
- package/lib/src/utils/util.js +6 -26
- package/lib/src/utils/validate.js +10 -20
- package/lib/src/utils/voice-setting-cache.js +140 -153
- package/lib/src/utils/watermark-cache.js +9 -14
- package/lib/src/utils/watermark.js +23 -30
- package/lib/src/utils/workflow-util.js +25 -26
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +13 -22
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/error-page/401.vue.js +9 -13
- package/lib/src/views/error-page/401.vue2.js +2 -4
- package/lib/src/views/error-page/404.vue.js +7 -11
- package/lib/src/views/error-page/404.vue2.js +2 -4
- package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
- package/lib/src/views/layout/Layout.vue.js +12 -19
- package/lib/src/views/layout/Layout.vue2.js +2 -4
- package/lib/src/views/layout/NewLayout.vue.js +6 -10
- package/lib/src/views/layout/components/AppMain.vue.js +9 -11
- package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
- package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
- package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
- package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
- package/lib/src/views/layout/tab-content-index.vue.js +12 -18
- package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
- package/lib/src/views/login/authredirect.vue.js +2 -3
- package/lib/src/views/redirect/index.vue.js +17 -8
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
- package/lib/style.css +868 -868
- package/lib/super-grid/index.js +5 -7
- package/lib/super-grid/src/apis.js +221 -231
- package/lib/super-grid/src/columns-config.vue.js +16 -22
- package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
- package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
- package/lib/super-grid/src/components/mobile-table-card.js +73 -83
- package/lib/super-grid/src/components/select-input.vue.js +98 -106
- package/lib/super-grid/src/components/select-input.vue2.js +3 -4
- package/lib/super-grid/src/custom-formatter.js +69 -73
- package/lib/super-grid/src/dynamic-input.vue.js +142 -159
- package/lib/super-grid/src/eventBus.js +3 -6
- package/lib/super-grid/src/events.js +34 -36
- package/lib/super-grid/src/formValidatorUtil.js +62 -65
- package/lib/super-grid/src/formatter.js +36 -41
- package/lib/super-grid/src/group-column.vue.js +8 -13
- package/lib/super-grid/src/header-context-menu.vue.js +10 -13
- package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
- package/lib/super-grid/src/index-column.vue.js +7 -10
- package/lib/super-grid/src/normal-column-content.vue.js +187 -206
- package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
- package/lib/super-grid/src/normal-column.vue.js +40 -55
- package/lib/super-grid/src/normal-column.vue2.js +2 -4
- package/lib/super-grid/src/public-methods.js +12 -14
- package/lib/super-grid/src/row-detail.vue.js +7 -10
- package/lib/super-grid/src/row-operation.vue.js +19 -26
- package/lib/super-grid/src/row-operation.vue2.js +2 -4
- package/lib/super-grid/src/scan-util.js +24 -26
- package/lib/super-grid/src/search-button.vue.js +12 -17
- package/lib/super-grid/src/search-condition-input.vue.js +8 -12
- package/lib/super-grid/src/search-condition-list.vue.js +10 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
- package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
- package/lib/super-grid/src/search-form-item.vue.js +16 -24
- package/lib/super-grid/src/search-form-item.vue2.js +2 -4
- package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
- package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
- package/lib/super-grid/src/search-form-number.vue.js +9 -14
- package/lib/super-grid/src/search-form-open.vue.js +7 -13
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
- package/lib/super-grid/src/search-form.vue.js +65 -77
- package/lib/super-grid/src/search-form.vue2.js +2 -4
- package/lib/super-grid/src/search-methods.js +2 -3
- package/lib/super-grid/src/selection-column.vue.js +7 -9
- package/lib/super-grid/src/store.js +3 -4
- package/lib/super-grid/src/super-grid-service.js +121 -128
- package/lib/super-grid/src/super-grid.vue.js +186 -217
- package/lib/super-grid/src/super-grid.vue2.js +2 -4
- package/lib/super-grid/src/utils.js +265 -322
- package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
- package/lib/super-icon/index.js +5 -7
- package/lib/super-icon/src/index.vue.js +5 -7
- package/lib/super-icon/src/index.vue2.js +8 -11
- package/lib/super-icon/src/index.vue3.js +2 -4
- package/lib/super-nine-grid/index.js +5 -7
- package/lib/super-nine-grid/src/apis.js +5 -8
- package/lib/super-nine-grid/src/custom-formatter.js +5 -7
- package/lib/super-nine-grid/src/formatter.js +28 -29
- package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
- package/lib/super-nine-grid/src/search-form.vue.js +33 -40
- package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
- package/lib/super-nine-grid/src/search-methods.js +2 -3
- package/lib/super-nine-grid/src/store.js +3 -4
- package/lib/super-nine-grid/src/super-grid-service.js +5 -9
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
- package/lib/super-nine-grid/src/utils.js +31 -27
- package/lib/svg-icon/index.js +5 -7
- package/lib/svg-icon/src/svg-icon.vue.js +8 -10
- package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
- package/lib/utils/gogocodeTransfer.js +23 -28
- package/lib/utils/memory-cache-utils.js +3 -5
- package/lib/utils/organization.js +40 -53
- package/lib/utils/utils.js +27 -29
- package/lib/utils/value-set.js +68 -70
- package/lib/valid-code/index.js +5 -7
- package/lib/valid-code/src/valid-code.vue.js +10 -13
- package/lib/valid-code/src/valid-code.vue2.js +2 -4
- package/lib/workflow-button/index.js +3 -5
- package/lib/workflow-button/src/workflow-button.vue.js +34 -39
- package/lib/workflow-history-list/index.js +5 -7
- package/lib/workflow-history-list/src/api.js +2 -3
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
- package/lib/workgroup-tree/index.js +5 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
- package/lib/workgroup-tree-inline/index.js +3 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
- package/lib/workgroup-tree-mobile/index.js +5 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
- package/lib/workgroup-user-tree/index.js +5 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
- package/lib/workgroup-user-tree-inline/index.js +3 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
- package/lib/year-range-picker/index.js +3 -5
- package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
- package/package.json +5 -2
- package/vite.config.js +35 -33
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue");
|
|
3
|
+
require("./AppMain.vue2.js");
|
|
4
|
+
const t = require("../../../../_virtual/_plugin-vue_export-helper.js"), n = { class: "app-main agilebuilder-page-main" };
|
|
5
|
+
const o = t({ name: "AppMain", computed: { key() {
|
|
6
6
|
return void 0 !== this.$route.name ? this.$route.name + +/* @__PURE__ */ new Date() : this.$route + +/* @__PURE__ */ new Date();
|
|
7
|
-
} } }, [["render", function(
|
|
8
|
-
const
|
|
9
|
-
return
|
|
7
|
+
} } }, [["render", function(t2, o2, r, a, i, u) {
|
|
8
|
+
const s = e.resolveComponent("router-view");
|
|
9
|
+
return e.openBlock(), e.createElementBlock("section", n, [e.createVNode(s, null, { default: e.withCtx(({ Component: t3 }) => [e.createVNode(e.Transition, { name: "fade-transform", mode: "out-in" }, { default: e.withCtx(() => [(e.openBlock(), e.createBlock(e.resolveDynamicComponent(t3)))]), _: 2 }, 1024)]), _: 1 })]);
|
|
10
10
|
}], ["__scopeId", "data-v-2d98e845"]]);
|
|
11
|
-
|
|
12
|
-
s as default
|
|
13
|
-
};
|
|
11
|
+
module.exports = o;
|
|
@@ -1,49 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../../../utils/util.js"), t = require("path-to-regexp"), r = require("js-cookie"), i = require("vue");
|
|
3
|
+
require("./index.vue2.js");
|
|
4
|
+
const a = require("../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
5
|
+
function l(e2) {
|
|
6
|
+
const t2 = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e2) {
|
|
8
|
+
for (const r2 in e2)
|
|
9
|
+
if ("default" !== r2) {
|
|
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);
|
|
10
19
|
} }, watch: { $route() {
|
|
11
20
|
this.getBreadcrumb();
|
|
12
21
|
} }, created() {
|
|
13
22
|
this.getBreadcrumb();
|
|
14
23
|
}, methods: { getBreadcrumb() {
|
|
15
|
-
const { params:
|
|
24
|
+
const { params: t2 } = this.$route;
|
|
16
25
|
this.$route.matched;
|
|
17
|
-
let
|
|
18
|
-
if (
|
|
19
|
-
var
|
|
20
|
-
return
|
|
26
|
+
let i2 = this.$route.matched.filter((e2) => {
|
|
27
|
+
if (e2.name) {
|
|
28
|
+
var r2 = o.compile(e2.path);
|
|
29
|
+
return e2.path = r2(t2), true;
|
|
21
30
|
}
|
|
22
31
|
});
|
|
23
|
-
if (
|
|
24
|
-
let
|
|
25
|
-
const
|
|
26
|
-
l2 && (
|
|
27
|
-
const
|
|
28
|
-
let
|
|
29
|
-
if (
|
|
30
|
-
const
|
|
31
|
-
if (
|
|
32
|
-
const
|
|
33
|
-
this.isShouldConcatLastMenu(
|
|
32
|
+
if (i2) {
|
|
33
|
+
let t3;
|
|
34
|
+
const a2 = e.getLanguageWithLocale(), l2 = window.$vueApp.config.globalProperties.systemNameObj;
|
|
35
|
+
l2 && (t3 = l2[a2]), i2 = [{ path: "/", redirect: "noredirect", meta: { title: t3 } }].concat(i2);
|
|
36
|
+
const o2 = r.get("selectMenu"), n2 = window.$vueApp.config.globalProperties._selectMenu;
|
|
37
|
+
let s2;
|
|
38
|
+
if (n2 ? s2 = n2 : o2 && (s2 = o2), s2) {
|
|
39
|
+
const e2 = s2.substring(0, s2.indexOf("~~")), t4 = s2.substring(s2.indexOf("~~") + 2);
|
|
40
|
+
if (i2 && i2.length > 0) {
|
|
41
|
+
const r2 = i2[i2.length - 1];
|
|
42
|
+
this.isShouldConcatLastMenu(t4, e2, r2) && i2.push({ path: e2, meta: { title: t4 } });
|
|
34
43
|
} else
|
|
35
|
-
|
|
44
|
+
i2.push({ path: e2, meta: { title: t4 } });
|
|
36
45
|
}
|
|
37
46
|
}
|
|
38
|
-
this.levelList =
|
|
39
|
-
}, isShouldConcatLastMenu(
|
|
40
|
-
return !(!this.isTitleNotEqual(
|
|
41
|
-
}, isTitleNotEqual(
|
|
42
|
-
return !(!
|
|
43
|
-
}, isPathNotEqual: (
|
|
44
|
-
const
|
|
45
|
-
return
|
|
47
|
+
this.levelList = i2;
|
|
48
|
+
}, isShouldConcatLastMenu(e2, t2, r2) {
|
|
49
|
+
return !(!this.isTitleNotEqual(e2, r2) || !this.isPathNotEqual(t2, r2));
|
|
50
|
+
}, isTitleNotEqual(e2, t2) {
|
|
51
|
+
return !(!e2 || !t2.meta || e2 === t2.meta.title || e2 === this.$t(t2.meta.title));
|
|
52
|
+
}, isPathNotEqual: (e2, t2) => !(!e2 || !t2.path || e2 === t2.path) } }, [["render", function(e2, t2, r2, a2, l2, o2) {
|
|
53
|
+
const s2 = i.resolveComponent("el-breadcrumb-item"), u = i.resolveComponent("el-breadcrumb");
|
|
54
|
+
return i.openBlock(), i.createBlock(u, { class: "app-breadcrumb", separator: ">" }, { default: i.withCtx(() => [i.createVNode(i.TransitionGroup, { name: "breadcrumb", tag: "span" }, { default: i.withCtx(() => [(i.openBlock(true), i.createElementBlock(i.Fragment, null, i.renderList(o2.levelListWithTitle, (t3, r3) => (i.openBlock(), i.createBlock(s2, { key: t3.path + "-" + r3 }, { default: i.withCtx(() => [i.createElementVNode("span", n, i.toDisplayString(e2.$t(t3.meta.title)), 1)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 });
|
|
46
55
|
}], ["__scopeId", "data-v-768a430c"]]);
|
|
47
|
-
|
|
48
|
-
b as default
|
|
49
|
-
};
|
|
56
|
+
module.exports = s;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
o as default
|
|
7
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("./Item.vue2.js");
|
|
3
|
+
require("./Item.vue3.js");
|
|
4
|
+
const r = require("../../../../../_virtual/_plugin-vue_export-helper.js")(e, [["__scopeId", "data-v-0fb85d6e"]]);
|
|
5
|
+
module.exports = r;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
const { title:
|
|
8
|
-
let
|
|
9
|
-
|
|
10
|
-
let
|
|
11
|
-
return !d || d <= 2 ? r.push(
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue");
|
|
3
|
+
require("../../../svg-icon/src/svg-icon.vue.js");
|
|
4
|
+
const s = require("element-plus");
|
|
5
|
+
require("../../../../../super-icon/index.js");
|
|
6
|
+
const t = require("../../../../../super-icon/src/index.vue.js"), i = e.defineComponent({ 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(i2) {
|
|
7
|
+
const { title: n, hasChildren: u, isRoot: l, code: a } = i2, o = i2.icon, d = i2.menuLayer, r = [];
|
|
8
|
+
let c = [e.h("i", { class: "amb-iconfont amb-icon-meun_post" })];
|
|
9
|
+
o && (c = [e.h(t, { iconValue: o })]);
|
|
10
|
+
let h = ["smb-sidebar-menu-item-title"];
|
|
11
|
+
return !d || d <= 2 ? r.push(e.h("div", { class: ["smb-sidebar-menu-item-icon"] }, c)) : (r.push(e.h("div", { class: ["smb-sidebar-menu-item-no-icon"] })), h.push("smb-sidebar-menu-item-no-icon-title")), n && (l ? r.push(e.h("div", { class: h }, [e.h("div", { title: n }, n)])) : "undoneTask" === a ? r.push(e.h("div", { class: h }, [e.h("div", { title: n }, [e.h(s.ElBadge, { value: this.undoneTaskCount, style: { display: "inline" } }, n)])])) : "unreadTask" === a ? r.push(e.h("div", { class: h }, [e.h("div", { title: n }, [e.h(s.ElBadge, { value: this.unreadTaskCount, style: { display: "inline" } }, n)])])) : r.push(e.h("div", { class: h }, [e.h("div", { title: n }, n)]))), r;
|
|
12
12
|
} });
|
|
13
|
-
|
|
14
|
-
n as default
|
|
15
|
-
};
|
|
13
|
+
module.exports = i;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const t2 = this.to.isExternal, e2 = this.to.openWay;
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../../../../../_virtual/_plugin-vue_export-helper.js"), o = { key: 1 };
|
|
3
|
+
const r = t({ props: { to: { type: Object, required: true } }, data() {
|
|
4
|
+
const e2 = this.to.isExternal, t2 = this.to.openWay;
|
|
6
5
|
let o2 = false;
|
|
7
|
-
return
|
|
8
|
-
} }, [["render", function(
|
|
9
|
-
const
|
|
10
|
-
return e(),
|
|
6
|
+
return t2 && "NEW_PAGE_OPEN" === t2 && (o2 = true), { isExter: e2, isOpenNewTab: o2 };
|
|
7
|
+
} }, [["render", function(t2, r2, l, n, s, i) {
|
|
8
|
+
const u = e.resolveComponent("router-link");
|
|
9
|
+
return e.openBlock(), e.createElementBlock("div", null, [s.isOpenNewTab ? (e.openBlock(), e.createElementBlock("div", o, [e.renderSlot(t2.$slots, "default")])) : (e.openBlock(), e.createBlock(u, { key: 0, to: l.to }, { default: e.withCtx(() => [e.renderSlot(t2.$slots, "default")]), _: 3 }, 8, ["to"]))]);
|
|
11
10
|
}]]);
|
|
12
|
-
|
|
13
|
-
u as default
|
|
14
|
-
};
|
|
11
|
+
module.exports = r;
|
|
@@ -1,37 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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 };
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("./Item.vue.js"), t = require("./Link.vue.js"), n = require("vue"), o = require("../../../../utils/menu.js"), i = require("../../../../api/tab.js"), a = require("../../../../utils/permissionAuth.js"), s = require("../../../../utils/auth-api.js"), r = require("../../../../utils/common-util.js");
|
|
3
|
+
require("./SidebarItem.vue2.js");
|
|
4
|
+
const l = require("../../../../../_virtual/_plugin-vue_export-helper.js"), u = { name: "SidebarItem", components: { Item: e, AppLink: t }, props: { item: { type: Object, required: true }, isNest: { type: Boolean, default: false }, basePath: { type: String, default: "" } }, data() {
|
|
5
|
+
let e2, t2, n2, o2 = "_PLAT_FORM_FRONTEND_URL", i2 = "_devpJWT", a2 = "_CURRENT_ROLE", r2 = s.isDevpSystem();
|
|
6
|
+
return r2 && (e2 = s.getSessionCache(o2), t2 = s.getSessionCache(i2), n2 = s.getSessionCache(a2)), { onlyOneChild: null, platFrontUrl: e2, devpJWT: t2, currentRole: n2, devpJWTKey: i2, currentRoleKey: a2, frontendUrlKey: o2, isDevp: r2, hasLoad: false, undoneTaskCount: 0, unreadTaskCount: 0 };
|
|
14
7
|
}, created() {
|
|
15
8
|
"myTask" === this.item.code ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/task/tasks/to-do-task-nums").then((e2) => {
|
|
16
9
|
this.undoneTaskCount = e2.undoneTaskCount, this.unreadTaskCount = e2.unreadCount, this.hasLoad = true;
|
|
17
10
|
}).finally(() => {
|
|
18
11
|
this.hasLoad = true;
|
|
19
12
|
}) : this.hasLoad = true;
|
|
20
|
-
}, methods: { ...
|
|
13
|
+
}, methods: { ...i, hasOneShowingChild(e2, t2) {
|
|
21
14
|
return e2 && e2.length > 0 && (this.onlyOneChild = e2[0]), 1 === e2.length || (!e2 || 0 === e2.length) && (this.onlyOneChild = { ...t2, path: "", noShowingChildren: true }, true);
|
|
22
15
|
}, toPath(e2) {
|
|
23
16
|
const t2 = {};
|
|
24
17
|
let n2;
|
|
25
18
|
if (t2.openWay = e2.openWay, this.isExternalLink(e2.pageType))
|
|
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 =
|
|
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 = a.getSystemCode(), t2.query._menuCode = e2.code, t2.query._menuName = o.getI18nName(e2);
|
|
27
20
|
else if (e2.openWay && "NEW_PAGE_OPEN" === e2.openWay) {
|
|
28
21
|
if (n2 = e2.fullPath, n2.indexOf("http:") < 0 && n2.indexOf("https:") < 0) {
|
|
29
|
-
let e3 =
|
|
22
|
+
let e3 = r.getSystemFrontendUrl(window.$vueApp.config.globalProperties.frontUrl);
|
|
30
23
|
e3.lastIndexOf("/") < e3.length - 1 && (e3 += "/"), n2 = e3 + "#" + n2;
|
|
31
24
|
}
|
|
32
25
|
t2.query = {}, t2.query._menuCode = e2.code, t2.path = n2;
|
|
33
26
|
} else
|
|
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 =
|
|
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 = a.getSystemCode(), t2.query._menuCode = e2.code, t2.query._menuName = o.getI18nName(e2);
|
|
35
28
|
return t2;
|
|
36
29
|
}, getRoutePath(e2) {
|
|
37
30
|
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;
|
|
@@ -46,11 +39,9 @@ const g = { name: "SidebarItem", components: { Item: e, AppLink: t }, props: { i
|
|
|
46
39
|
}
|
|
47
40
|
else
|
|
48
41
|
this.addTabs(e2.query, this.$store.state.tabContent.openTab, e2.tabPath);
|
|
49
|
-
}, getI18nName: (e2) =>
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
return
|
|
42
|
+
}, getI18nName: (e2) => o.getI18nName(e2) } }, d = { class: "menu-wrapper" };
|
|
43
|
+
const m = l(u, [["render", function(e2, t2, o2, i2, a2, s2) {
|
|
44
|
+
const r2 = n.resolveComponent("item"), l2 = n.resolveComponent("el-menu-item"), u2 = n.resolveComponent("app-link"), m2 = n.resolveComponent("sidebar-item", true), c = n.resolveComponent("el-sub-menu");
|
|
45
|
+
return n.openBlock(), n.createElementBlock("div", d, [o2.item.children && 0 !== o2.item.children.length ? (n.openBlock(), n.createBlock(c, { key: 1, index: o2.item.code + "~~" + o2.item.i18nValue, class: "smb-sidebar-menu-item" }, { title: n.withCtx(() => [n.createVNode(r2, { "menu-layer": o2.item.layer, icon: o2.item.iconName, title: s2.getI18nName(o2.item), "has-children": o2.item.children.length > 0 }, null, 8, ["menu-layer", "icon", "title", "has-children"])]), default: n.withCtx(() => [(n.openBlock(true), n.createElementBlock(n.Fragment, null, n.renderList(o2.item.children, (e3) => (n.openBlock(), n.createElementBlock(n.Fragment, null, [e3.children && e3.children.length > 0 ? (n.openBlock(), n.createBlock(m2, { key: e3.code, "is-nest": true, item: e3, class: "nest-menu smb-sidebar-menu-item" }, null, 8, ["item"])) : a2.hasLoad ? (n.openBlock(), n.createBlock(u2, { key: e3.code, to: s2.toPath(e3), onClick: (t3) => s2.clickMenu(s2.toPath(e3)) }, { default: n.withCtx(() => [n.createVNode(l2, { index: e3.code + "~~" + e3.i18nValue, class: "smb-sidebar-menu-item" }, { default: n.withCtx(() => [n.createVNode(r2, { "menu-layer": e3.layer, "undone-task-count": a2.undoneTaskCount, "unread-task-count": a2.unreadTaskCount, code: e3.code, icon: e3.iconName, title: s2.getI18nName(e3) }, null, 8, ["menu-layer", "undone-task-count", "unread-task-count", "code", "icon", "title"])]), _: 2 }, 1032, ["index"])]), _: 2 }, 1032, ["to", "onClick"])) : n.createCommentVNode("", true)], 64))), 256))]), _: 1 }, 8, ["index"])) : (n.openBlock(), n.createBlock(u2, { key: 0, to: s2.toPath(o2.item), onClick: t2[0] || (t2[0] = (e3) => s2.clickMenu(s2.toPath(o2.item))) }, { default: n.withCtx(() => [n.createVNode(l2, { index: o2.item.code + "~~" + o2.item.i18nValue, class: n.normalizeClass(["smb-sidebar-menu-item", { "submenu-title-noDropdown": !o2.isNest }]) }, { default: n.withCtx(() => [n.createVNode(r2, { "menu-layer": o2.item.layer, icon: o2.item.iconName, title: s2.getI18nName(o2.item), "is-root": true }, null, 8, ["menu-layer", "icon", "title"])]), _: 1 }, 8, ["index", "class"])]), _: 1 }, 8, ["to"]))]);
|
|
53
46
|
}], ["__scopeId", "data-v-da857302"]]);
|
|
54
|
-
|
|
55
|
-
C as default
|
|
56
|
-
};
|
|
47
|
+
module.exports = m;
|
|
@@ -1,41 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vuex"), t = require("./SidebarItem.vue.js"), i = require("../../../../utils/util.js"), s = require("../../../../utils/common-util.js"), n = require("../../../../api/tab.js"), o = require("../../../../utils/menu.js"), r = require("js-cookie"), l = require("../../../../utils/permissionAuth.js"), u = require("../../../../utils/auth-api.js"), a = require("vue");
|
|
3
|
+
const c = require("../../../../../_virtual/_plugin-vue_export-helper.js")({ name: "Menubar", components: { SidebarItem: t }, props: { systemCode: { type: String, default: null }, collapse: { type: Boolean, default: false } }, data() {
|
|
13
4
|
let e2;
|
|
14
|
-
if (true === s()) {
|
|
15
|
-
const t3 = i(), s2 = window.$vueApp.config.globalProperties.systemNameObj;
|
|
5
|
+
if (true === s.isShowSystemMenu()) {
|
|
6
|
+
const t3 = i.getLanguageWithLocale(), s2 = window.$vueApp.config.globalProperties.systemNameObj;
|
|
16
7
|
s2 && (e2 = s2[t3]);
|
|
17
8
|
}
|
|
18
9
|
const t2 = void 0 === window.$vueApp.config.globalProperties.showFirstMenu || null === window.$vueApp.config.globalProperties.showFirstMenu || window.$vueApp.config.globalProperties.showFirstMenu;
|
|
19
|
-
let
|
|
20
|
-
return { firstLeafMenu: null, systemName: e2, defaultActive: "", menus: l(), isSelectFirst: t2, isDevp:
|
|
21
|
-
}, computed: { ...e(["sidebar"]), isCollapse() {
|
|
10
|
+
let n2 = u.isDevpSystem();
|
|
11
|
+
return { firstLeafMenu: null, systemName: e2, defaultActive: "", menus: l.getMenus(), isSelectFirst: t2, isDevp: n2 };
|
|
12
|
+
}, computed: { ...e.mapGetters(["sidebar"]), isCollapse() {
|
|
22
13
|
return false !== this.collapse || !this.sidebar.opened;
|
|
23
14
|
} }, watch: { $route() {
|
|
24
15
|
this.firstLeafMenu = this.getFirstMenu(this.menus), this.firstLeafMenu && (this.defaultActive = this.firstLeafMenu.code + "~~" + this.firstLeafMenu.i18nValue, window.$vueApp.config.globalProperties._selectMenu = this.defaultActive);
|
|
25
16
|
} }, created() {
|
|
26
17
|
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)
|
|
27
18
|
if (this.firstLeafMenu.pageType && "iframe" === this.firstLeafMenu.pageType) {
|
|
28
|
-
const e2 = { src: this.firstLeafMenu.fullPath, customSystem: this.systemCode, _menuCode: this.firstLeafMenu.code, _menuName:
|
|
19
|
+
const e2 = { src: this.firstLeafMenu.fullPath, customSystem: this.systemCode, _menuCode: this.firstLeafMenu.code, _menuName: o.getI18nName(this.firstLeafMenu) };
|
|
29
20
|
this.addTabs(e2, this.$store.state.tabContent.openTab, "/iframe-page/page", "/iframe-page/page");
|
|
30
21
|
let t2 = "/tab-content-iframe-index";
|
|
31
22
|
this.isDevp && (t2 = "/devp-project/setting"), this.$router.push({ path: t2, query: e2 });
|
|
32
23
|
} else {
|
|
33
|
-
const e2 = { customSystem: this.systemCode, _menuCode: this.firstLeafMenu.code, _menuName:
|
|
24
|
+
const e2 = { customSystem: this.systemCode, _menuCode: this.firstLeafMenu.code, _menuName: o.getI18nName(this.firstLeafMenu) }, t2 = this.firstLeafMenu.fullPath;
|
|
34
25
|
this.addTabs(e2, this.$store.state.tabContent.openTab, t2, t2);
|
|
35
26
|
let i2 = "/tab-content-index";
|
|
36
27
|
this.isDevp && (i2 = "/devp-project/setting"), this.$router.push({ path: i2, query: e2 });
|
|
37
28
|
}
|
|
38
|
-
}, methods: { ...
|
|
29
|
+
}, methods: { ...n, toggleSideBar() {
|
|
39
30
|
this.$store.dispatch("toggleSidebar");
|
|
40
31
|
}, selectMenu(e2, t2) {
|
|
41
32
|
window.$vueApp.config.globalProperties._selectMenu = e2, r.set("selectMenu", e2);
|
|
@@ -44,8 +35,8 @@ const S = y({ name: "Menubar", components: { SidebarItem: t }, props: { systemCo
|
|
|
44
35
|
let i2;
|
|
45
36
|
if (t2 ? this.isSelectFirst = true : this.isDevp || (i2 = this.getFirstMenuWithCookie(e2)), this.isSelectFirst && !i2 && e2 && e2.length > 0)
|
|
46
37
|
for (let s2 = 0; s2 < e2.length; s2++) {
|
|
47
|
-
const
|
|
48
|
-
if (i2 = this.getShouldSelectMenu(
|
|
38
|
+
const n2 = e2[s2];
|
|
39
|
+
if (i2 = this.getShouldSelectMenu(n2, t2), i2)
|
|
49
40
|
break;
|
|
50
41
|
}
|
|
51
42
|
return i2;
|
|
@@ -68,8 +59,8 @@ const S = y({ name: "Menubar", components: { SidebarItem: t }, props: { systemCo
|
|
|
68
59
|
const i2 = t2.split("~~")[0];
|
|
69
60
|
let s2;
|
|
70
61
|
for (let t3 = 0; t3 < e2.length; t3++) {
|
|
71
|
-
const
|
|
72
|
-
if (s2 = this.getShouldSelectMenuWithCookie(
|
|
62
|
+
const n2 = e2[t3];
|
|
63
|
+
if (s2 = this.getShouldSelectMenuWithCookie(n2, i2), s2)
|
|
73
64
|
break;
|
|
74
65
|
}
|
|
75
66
|
return s2;
|
|
@@ -81,10 +72,8 @@ const S = y({ name: "Menubar", components: { SidebarItem: t }, props: { systemCo
|
|
|
81
72
|
const s2 = e2.children;
|
|
82
73
|
return s2 && s2.length > 0 ? i2 = this.getFirstMenuWithCookie(s2) : e2.code && e2.code === t2 && (i2 = e2), i2;
|
|
83
74
|
}
|
|
84
|
-
} } }, [["render", function(e2, t2, i2, s2,
|
|
85
|
-
const r2 = a("el-menu-item"), l2 = a("sidebar-item"), u2 = a("el-menu"),
|
|
86
|
-
return
|
|
75
|
+
} } }, [["render", function(e2, t2, i2, s2, n2, o2) {
|
|
76
|
+
const r2 = a.resolveComponent("el-menu-item"), l2 = a.resolveComponent("sidebar-item"), u2 = a.resolveComponent("el-menu"), c2 = a.resolveComponent("el-scrollbar"), h = a.resolveComponent("hamburger");
|
|
77
|
+
return a.openBlock(), a.createElementBlock("div", null, [a.createVNode(c2, { "wrap-class": "scrollbar-wrapper" }, { default: a.withCtx(() => [a.createVNode(u2, { collapse: o2.isCollapse, "default-active": n2.defaultActive ? n2.defaultActive : "", "show-timeout": 200, mode: "vertical", onSelect: o2.selectMenu }, { default: a.withCtx(() => [n2.systemName ? (a.openBlock(), a.createBlock(r2, { key: 0, title: n2.systemName, class: "system-item smb-sidebar-menu-item", disabled: "", index: "1", style: { "padding-left": "10px" } }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(n2.systemName), 1)]), _: 1 }, 8, ["title"])) : a.createCommentVNode("", true), (a.openBlock(true), a.createElementBlock(a.Fragment, null, a.renderList(n2.menus, (e3) => (a.openBlock(), a.createBlock(l2, { key: e3.code, item: e3 }, null, 8, ["item"]))), 128))]), _: 1 }, 8, ["collapse", "default-active", "onSelect"])]), _: 1 }), a.createVNode(h, { "is-active": e2.sidebar.opened, class: "hamburger-container", onToggleClick: o2.toggleSideBar }, null, 8, ["is-active", "onToggleClick"])]);
|
|
87
78
|
}]]);
|
|
88
|
-
|
|
89
|
-
S as default
|
|
90
|
-
};
|
|
79
|
+
module.exports = c;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export {
|
|
8
|
-
e as default
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue");
|
|
3
|
+
module.exports = function(t, s) {
|
|
4
|
+
const i = { ...s, props: t, data: s.attr, children: s.slots }, { icon: o, title: c, hasChildren: n } = i.props, r = [];
|
|
5
|
+
let a = [h("i", { class: "amb-iconfont amb-icon-meun_post" })];
|
|
6
|
+
return o && (a = [h(SuperIcon, { iconValue: o })]), r.push(e.createVNode("div", { class: "smb-sidebar-menu-item-icon" }, [a])), c && r.push(e.createVNode("template", { slot: "title" }, [e.createVNode("div", { title: c, class: "smb-sidebar-menu-item-title" }, [c])])), r;
|
|
9
7
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("./Item.vue.js");
|
|
3
|
+
module.exports = e;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return e(), o(d, n(i(m.linkProps(u2.to))), { default: s(() => [l(r2.$slots, "default")]), _: 3 }, 16);
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../../../utils/index.js"), r = require("vue");
|
|
3
|
+
const t = require("../../../../../_virtual/_plugin-vue_export-helper.js")({ props: { to: { type: String, required: true } }, methods: { isExternalLink: (r2) => e.isExternal(r2), linkProps(e2) {
|
|
4
|
+
return this.isExternalLink(e2) ? { is: "a", href: e2, target: "_blank", rel: "noopener" } : { is: "router-link", to: e2 };
|
|
5
|
+
} } }, [["render", function(e2, t2, o, n, i, s) {
|
|
6
|
+
const l = r.resolveComponent("component");
|
|
7
|
+
return r.openBlock(), r.createBlock(l, r.normalizeProps(r.guardReactiveProps(s.linkProps(o.to))), { default: r.withCtx(() => [r.renderSlot(e2.$slots, "default")]), _: 3 }, 16);
|
|
9
8
|
}]]);
|
|
10
|
-
|
|
11
|
-
u as default
|
|
12
|
-
};
|
|
9
|
+
module.exports = t;
|
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../../../../_virtual/__vite-browser-external.js"), t = require("../../../../utils/index.js"), n = require("./Item.vue.js"), i = require("./Link.vue.js"), l = require("vue");
|
|
3
|
+
require("./SidebarItem.vue2.js");
|
|
4
|
+
const o = require("../../../../../_virtual/_plugin-vue_export-helper.js"), r = { name: "SidebarItem", components: { Item: n, AppLink: i }, props: { item: { type: Object, required: true }, isNest: { type: Boolean, default: false }, basePath: { type: String, default: "" } }, data: () => ({ onlyOneChild: null }), computed: { visibleChildren() {
|
|
9
5
|
return this.item.children.filter((e2) => !e2.hidden);
|
|
10
6
|
} }, methods: { hasOneShowingChild(e2, t2) {
|
|
11
|
-
const
|
|
12
|
-
return 1 ===
|
|
7
|
+
const n2 = e2.filter((e3) => !e3.hidden && (this.onlyOneChild = e3, true));
|
|
8
|
+
return 1 === n2.length || 0 === n2.length && (this.onlyOneChild = { ...t2, path: "", noShowingChildren: true }, true);
|
|
13
9
|
}, resolvePath(t2) {
|
|
14
10
|
return this.isExternalLink(t2) ? t2 : e.resolve(this.basePath, t2);
|
|
15
|
-
}, isExternalLink: (e2) => t(e2) } },
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
return !
|
|
11
|
+
}, isExternalLink: (e2) => t.isExternal(e2) } }, a = { key: 0, class: "menu-wrapper" };
|
|
12
|
+
const s = o(r, [["render", function(e2, t2, n2, i2, o2, r2) {
|
|
13
|
+
const s2 = l.resolveComponent("item"), m = l.resolveComponent("el-menu-item"), h = l.resolveComponent("app-link"), c = l.resolveComponent("sidebar-item", true), d = l.resolveComponent("el-sub-menu");
|
|
14
|
+
return !n2.item.hidden && n2.item.children ? (l.openBlock(), l.createElementBlock("div", a, [!r2.hasOneShowingChild(n2.item.children, n2.item) || o2.onlyOneChild.children && !o2.onlyOneChild.noShowingChildren || n2.item.alwaysShow ? (l.openBlock(), l.createBlock(d, { key: 1, index: r2.resolvePath(n2.item.path) + "~~" + n2.item.meta.title, class: "smb-sidebar-menu-item" }, { title: l.withCtx(() => [n2.item.meta ? (l.openBlock(), l.createBlock(s2, { key: 0, icon: n2.item.meta.icon, title: e2.$t(n2.item.meta.title), "has-children": n2.item.children.length > 0 }, null, 8, ["icon", "title", "has-children"])) : l.createCommentVNode("", true)]), default: l.withCtx(() => [(l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(r2.visibleChildren, (t3) => (l.openBlock(), l.createElementBlock(l.Fragment, null, [t3.children && t3.children.length > 0 ? (l.openBlock(), l.createBlock(c, { key: 0, "is-nest": true, item: t3, "base-path": r2.resolvePath(t3.path), class: "nest-menu smb-sidebar-menu-item" }, null, 8, ["item", "base-path"])) : (l.openBlock(), l.createBlock(h, { key: 1, to: r2.resolvePath(t3.path) }, { default: l.withCtx(() => [l.createVNode(m, { index: r2.resolvePath(t3.path) + "~~" + t3.meta.title, class: "smb-sidebar-menu-item" }, { default: l.withCtx(() => [t3.meta ? (l.openBlock(), l.createBlock(s2, { key: 0, icon: t3.meta.icon, title: e2.$t(t3.meta.title) }, null, 8, ["icon", "title"])) : l.createCommentVNode("", true)]), _: 2 }, 1032, ["index"])]), _: 2 }, 1032, ["to"]))], 64))), 256))]), _: 1 }, 8, ["index"])) : (l.openBlock(), l.createBlock(h, { key: 0, to: r2.resolvePath(o2.onlyOneChild.path) }, { default: l.withCtx(() => [l.createVNode(m, { index: r2.resolvePath(o2.onlyOneChild.path) + "~~" + o2.onlyOneChild.meta.title, class: l.normalizeClass(["smb-sidebar-menu-item", { "submenu-title-noDropdown": !n2.isNest }]) }, { default: l.withCtx(() => [o2.onlyOneChild.meta ? (l.openBlock(), l.createBlock(s2, { key: 0, icon: o2.onlyOneChild.meta.icon || n2.item.meta.icon, title: e2.$t(o2.onlyOneChild.meta.title) }, null, 8, ["icon", "title"])) : l.createCommentVNode("", true)]), _: 1 }, 8, ["index", "class"])]), _: 1 }, 8, ["to"]))])) : l.createCommentVNode("", true);
|
|
19
15
|
}], ["__scopeId", "data-v-74b8f009"]]);
|
|
20
|
-
|
|
21
|
-
v as default
|
|
22
|
-
};
|
|
16
|
+
module.exports = s;
|