agilebuilder-ui 1.1.65-tmp3 → 1.1.65-tmp30
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 +16659 -0
- package/dist/style.css +3104 -0
- package/es/IntervalSelection/index.mjs +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.mjs +49 -0
- package/es/breadcrumb/index.mjs +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.mjs +28 -0
- package/es/chat-embed/index.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.mjs +17 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.mjs +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +29 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.mjs +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +33 -0
- package/es/chat-embed/src/chat-embed-message.mjs +22 -0
- package/es/chat-embed/src/chat-sender.vue.mjs +7 -0
- package/es/chat-embed/src/chat-sender.vue2.mjs +158 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +58 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +117 -0
- package/es/chat-embed/src/components/history-detail.vue.mjs +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.mjs +55 -0
- package/es/chat-embed/src/header.vue.mjs +7 -0
- package/es/chat-embed/src/header.vue2.mjs +46 -0
- package/es/chat-embed/src/index.vue.mjs +7 -0
- package/es/chat-embed/src/index.vue2.mjs +307 -0
- package/es/chat-embed/src/recommendation-message.vue.mjs +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.mjs +11 -0
- package/es/chat-embed/src/sidebar-item.vue.mjs +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.mjs +118 -0
- package/es/chat-embed/src/util/history-message-util.mjs +96 -0
- package/es/chat-embed/src/util/mcp-utils.mjs +53 -0
- package/es/chat-embed/src/voice/index.mjs +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.mjs +1004 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.mjs +169 -0
- package/es/chat-embed/src/voice/voice.vue.mjs +105 -0
- package/es/date-picker-range/index.mjs +7 -0
- package/es/date-picker-range/index.vue.mjs +7 -0
- package/es/date-picker-range/index.vue2.mjs +93 -0
- package/es/department-tree/index.mjs +7 -0
- package/es/department-tree/src/department-tree.vue.mjs +23 -0
- package/es/department-tree-inline/index.mjs +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.mjs +91 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.mjs +64 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.mjs +17 -0
- package/es/department-tree-inline/src/department-tree-service.mjs +108 -0
- package/es/department-tree-inline/src/search-result.vue.mjs +40 -0
- package/es/department-tree-mobile/index.mjs +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.mjs +16 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.mjs +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/department-tree-service.mjs +57 -0
- package/es/department-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/department-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/department-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/department-user-tree/index.mjs +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.mjs +20 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.mjs +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.mjs +27 -0
- package/es/department-user-tree-inline/index.mjs +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +165 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +69 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +54 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.mjs +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.mjs +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.mjs +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.mjs +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.mjs +41 -0
- package/es/department-user-tree-mobile/index.mjs +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +16 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.mjs +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/directives/prevent-reclick.mjs +15 -0
- package/es/dynamic-source-select/index.mjs +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.mjs +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +276 -0
- package/es/empty-state/index.vue.mjs +9 -0
- package/es/empty-state/index.vue2.mjs +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.mjs +7 -0
- package/es/fs-preview/src/fs-preview.vue.mjs +128 -0
- package/es/fs-upload/index.mjs +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.mjs +73 -0
- package/es/fs-upload/src/fs-upload.vue.mjs +24 -0
- package/es/fs-upload/src/see-big-picture.vue.mjs +12 -0
- package/es/fs-upload-list/index.mjs +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +98 -0
- package/es/fs-upload-new/index.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +61 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.mjs +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.mjs +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +62 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +63 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.mjs +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +93 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.mjs +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.mjs +4 -0
- package/es/hamburger/index.mjs +7 -0
- package/es/hamburger/src/hamburger.vue.mjs +15 -0
- package/es/index.mjs +388 -0
- package/es/json-view/json-view-dialog.vue.mjs +19 -0
- package/es/json-view/json-view-dialog.vue2.mjs +4 -0
- package/es/json-view/json-view.vue.mjs +4 -0
- package/es/json-view/json-view.vue2.mjs +36 -0
- package/es/multipart-upload/index.mjs +7 -0
- package/es/multipart-upload/src/index.vue.mjs +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +104 -0
- package/es/organization-input/index.mjs +7 -0
- package/es/organization-input/src/organization-input.vue.mjs +224 -0
- package/es/plugins/export-data-new.mjs +237 -0
- package/es/plugins/export-data.mjs +179 -0
- package/es/plugins/index.mjs +9 -0
- package/es/remove-department/index.mjs +7 -0
- package/es/remove-department/src/remove-department.vue.mjs +33 -0
- package/es/remove-user/index.mjs +7 -0
- package/es/remove-user/src/remove-user.vue.mjs +35 -0
- package/es/remove-workgroup/index.mjs +7 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.mjs +31 -0
- package/es/rich-editor/index.mjs +7 -0
- package/es/rich-editor/index.vue.mjs +115 -0
- package/es/rich-editor/viewer.vue.mjs +27 -0
- package/es/row-form/index.mjs +7 -0
- package/es/row-form/index.vue.mjs +7 -0
- package/es/row-form/index.vue2.mjs +62 -0
- package/es/row-form/operation.vue.mjs +32 -0
- package/es/row-form/operation.vue2.mjs +4 -0
- package/es/scan-code-input/index.mjs +7 -0
- package/es/scan-code-input/src/events.mjs +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.mjs +32 -0
- package/es/scan-code-input-browser/index.mjs +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +39 -0
- package/es/secret-info/index.mjs +7 -0
- package/es/secret-info/index.vue.mjs +16 -0
- package/es/src/api/sso-service.mjs +57 -0
- package/es/src/api/tab.mjs +15 -0
- package/es/src/components/Affix/index.vue.mjs +7 -0
- package/es/src/components/Affix/index.vue2.mjs +83 -0
- package/es/src/components/Card/index.mjs +51 -0
- package/es/src/components/Scrollbar/index.vue.mjs +52 -0
- package/es/src/directives/permission/index.mjs +7 -0
- package/es/src/directives/permission/permission.mjs +11 -0
- package/es/src/i18n/i18n.mjs +7 -0
- package/es/src/i18n/langs/cn.mjs +4 -0
- package/es/src/i18n/langs/en.mjs +4 -0
- package/es/src/permission.mjs +79 -0
- package/es/src/router/index.mjs +10 -0
- package/es/src/store/index.mjs +13 -0
- package/es/src/store/modules/permission.mjs +31 -0
- package/es/src/store/modules/system.mjs +12 -0
- package/es/src/store/modules/tab-content.mjs +20 -0
- package/es/src/store/modules/user.mjs +139 -0
- package/es/src/utils/auth.mjs +156 -0
- package/es/src/utils/calculator/calculator-util.mjs +56 -0
- package/es/src/utils/chat-ai-util.mjs +34 -0
- package/es/src/utils/common-util.mjs +448 -0
- package/es/src/utils/insert_css.mjs +17 -0
- package/es/src/utils/jump-page-utils.mjs +264 -0
- package/es/src/utils/menu.mjs +14 -0
- package/es/src/utils/permission.mjs +45 -0
- package/es/src/utils/permissionAuth.mjs +154 -0
- package/es/src/utils/range-selector.mjs +105 -0
- package/es/src/utils/request.mjs +140 -0
- package/es/src/utils/util.mjs +361 -0
- package/es/src/utils/voice-setting-cache.mjs +212 -0
- package/es/src/utils/watermark.mjs +40 -0
- package/es/src/utils/workflow-util.mjs +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +12 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.mjs +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.mjs +53 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.mjs +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.mjs +66 -0
- package/es/src/views/error-page/401.vue.mjs +15 -0
- package/es/src/views/error-page/404.vue.mjs +12 -0
- package/es/src/views/layout/EmptyLayout.vue.mjs +9 -0
- package/es/src/views/layout/Layout.vue.mjs +28 -0
- package/es/src/views/layout/NewLayout.vue.mjs +11 -0
- package/es/src/views/layout/components/AppMain.vue.mjs +13 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.mjs +49 -0
- package/es/src/views/layout/components/Menubar/Item.vue.mjs +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.mjs +15 -0
- package/es/src/views/layout/components/Menubar/Link.vue.mjs +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +56 -0
- package/es/src/views/layout/components/Menubar/index.vue.mjs +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.mjs +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.mjs +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.mjs +22 -0
- package/es/src/views/layout/components/Sidebar/index.vue.mjs +58 -0
- package/es/src/views/layout/components/iframe-page.vue.mjs +14 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.mjs +64 -0
- package/es/src/views/layout/mixin/ResizeHandler.mjs +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.mjs +14 -0
- package/es/src/views/layout/tab-content-index.vue.mjs +28 -0
- package/es/src/views/super-icon/index.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue2.mjs +13 -0
- package/es/src/views/svg-icon/src/svg-icon.vue2.mjs +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.mjs +14 -0
- package/es/style.css +3103 -0
- package/es/super-grid/index.mjs +7 -0
- package/es/super-grid/src/apis.mjs +487 -0
- package/es/super-grid/src/columns-config.vue.mjs +82 -0
- package/es/super-grid/src/components/grid-icon.vue.mjs +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.mjs +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.mjs +4 -0
- package/es/super-grid/src/components/mobile-table-card.mjs +109 -0
- package/es/super-grid/src/components/select-input.vue.mjs +149 -0
- package/es/super-grid/src/components/select-input.vue2.mjs +4 -0
- package/es/super-grid/src/custom-formatter.mjs +168 -0
- package/es/super-grid/src/dynamic-input.vue.mjs +482 -0
- package/es/super-grid/src/events.mjs +37 -0
- package/es/super-grid/src/formValidatorUtil.mjs +109 -0
- package/es/super-grid/src/group-column.vue.mjs +24 -0
- package/es/super-grid/src/header-context-menu.vue.mjs +15 -0
- package/es/super-grid/src/index-column.vue.mjs +22 -0
- package/es/super-grid/src/normal-column-content.vue.mjs +322 -0
- package/es/super-grid/src/normal-column.vue.mjs +105 -0
- package/es/super-grid/src/row-detail.vue.mjs +14 -0
- package/es/super-grid/src/row-operation.vue.mjs +89 -0
- package/es/super-grid/src/scan-util.mjs +100 -0
- package/es/super-grid/src/search-button.vue.mjs +25 -0
- package/es/super-grid/src/search-condition-input.vue.mjs +17 -0
- package/es/super-grid/src/search-condition-list.vue.mjs +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.mjs +116 -0
- package/es/super-grid/src/search-form-dialog.vue.mjs +27 -0
- package/es/super-grid/src/search-form-item.vue.mjs +128 -0
- package/es/super-grid/src/search-form-mobile.vue.mjs +41 -0
- package/es/super-grid/src/search-form-number.vue.mjs +25 -0
- package/es/super-grid/src/search-form-open.vue.mjs +52 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +41 -0
- package/es/super-grid/src/search-form.vue.mjs +207 -0
- package/es/super-grid/src/selection-column.vue.mjs +11 -0
- package/es/super-grid/src/super-grid-service.mjs +260 -0
- package/es/super-grid/src/super-grid.vue.mjs +1114 -0
- package/es/super-grid/src/utils.mjs +401 -0
- package/es/super-grid/src/view-image-dialog.vue.mjs +67 -0
- package/es/super-icon/index.mjs +7 -0
- package/es/super-icon/src/index.vue.mjs +7 -0
- package/es/super-icon/src/index.vue2.mjs +13 -0
- package/es/super-nine-grid/index.mjs +7 -0
- package/es/super-nine-grid/src/apis.mjs +36 -0
- package/es/super-nine-grid/src/custom-formatter.mjs +35 -0
- package/es/super-nine-grid/src/search-form-number.vue.mjs +12 -0
- package/es/super-nine-grid/src/search-form.vue.mjs +91 -0
- package/es/super-nine-grid/src/super-grid-service.mjs +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +225 -0
- package/es/super-nine-grid/src/utils.mjs +32 -0
- package/es/svg-icon/index.mjs +7 -0
- package/es/svg-icon/src/svg-icon.vue.mjs +14 -0
- package/es/utils/memory-cache-utils.mjs +30 -0
- package/es/utils/organization.mjs +70 -0
- package/es/utils/utils.mjs +87 -0
- package/es/utils/value-set.mjs +94 -0
- package/es/valid-code/index.mjs +7 -0
- package/es/valid-code/src/valid-code.vue.mjs +23 -0
- package/es/workflow-button/index.mjs +7 -0
- package/es/workflow-button/src/workflow-button.vue.mjs +85 -0
- package/es/workflow-history-list/index.mjs +7 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.mjs +89 -0
- package/es/workgroup-tree/index.mjs +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.mjs +23 -0
- package/es/workgroup-tree-inline/index.mjs +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +35 -0
- package/es/workgroup-tree-mobile/index.mjs +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +17 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +16 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.mjs +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree/index.mjs +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.mjs +23 -0
- package/es/workgroup-user-tree-inline/index.mjs +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +172 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +16 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.mjs +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.mjs +4 -0
- package/es/year-range-picker/index.mjs +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.mjs +14 -0
- package/lib/IntervalSelection/index.cjs +5 -0
- package/lib/IntervalSelection/src/sectionDate.vue.cjs +45 -0
- package/lib/IntervalSelection/src/sectionDate.vue2.cjs +2 -0
- package/lib/_virtual/__vite-browser-external.cjs +2 -0
- package/lib/_virtual/_plugin-vue_export-helper.cjs +7 -0
- package/lib/breadcrumb/index.cjs +5 -0
- package/lib/breadcrumb/src/breadcrumb.vue.cjs +37 -0
- package/lib/breadcrumb/src/breadcrumb.vue2.cjs +2 -0
- package/lib/chat-embed/index.cjs +5 -0
- package/lib/chat-embed/src/chat-addition-data.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-addition-data.vue2.cjs +15 -0
- package/lib/chat-embed/src/chat-addition-data.vue3.cjs +2 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +26 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.cjs +2 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +28 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue3.cjs +2 -0
- package/lib/chat-embed/src/chat-embed-message.cjs +16 -0
- package/lib/chat-embed/src/chat-sender.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-sender.vue2.cjs +145 -0
- package/lib/chat-embed/src/chat-sender.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +50 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue2.cjs +3 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +107 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/history-detail.vue.cjs +5 -0
- package/lib/chat-embed/src/components/history-detail.vue2.cjs +50 -0
- package/lib/chat-embed/src/components/history-detail.vue3.cjs +2 -0
- package/lib/chat-embed/src/header.vue.cjs +5 -0
- package/lib/chat-embed/src/header.vue2.cjs +39 -0
- package/lib/chat-embed/src/header.vue3.cjs +2 -0
- package/lib/chat-embed/src/index.vue.cjs +5 -0
- package/lib/chat-embed/src/index.vue2.cjs +281 -0
- package/lib/chat-embed/src/index.vue3.cjs +2 -0
- package/lib/chat-embed/src/recommendation-message.vue.cjs +5 -0
- package/lib/chat-embed/src/recommendation-message.vue2.cjs +8 -0
- package/lib/chat-embed/src/recommendation-message.vue3.cjs +2 -0
- package/lib/chat-embed/src/sidebar-item.vue.cjs +5 -0
- package/lib/chat-embed/src/sidebar-item.vue2.cjs +109 -0
- package/lib/chat-embed/src/sidebar-item.vue3.cjs +2 -0
- package/lib/chat-embed/src/type.cjs +3 -0
- package/lib/chat-embed/src/util/chat-embed-util.cjs +51 -0
- package/lib/chat-embed/src/util/history-message-util.cjs +74 -0
- package/lib/chat-embed/src/util/mcp-utils.cjs +50 -0
- package/lib/chat-embed/src/util/text-file-util.cjs +8 -0
- package/lib/chat-embed/src/voice/index.cjs +5 -0
- package/lib/chat-embed/src/voice/js/crypto-js.cjs +1005 -0
- package/lib/chat-embed/src/voice/js/processor/index.umd.cjs +170 -0
- package/lib/chat-embed/src/voice/js/timer.cjs +8 -0
- package/lib/chat-embed/src/voice/voice.vue.cjs +96 -0
- package/lib/date-picker-range/index.cjs +5 -0
- package/lib/date-picker-range/index.vue.cjs +5 -0
- package/lib/date-picker-range/index.vue2.cjs +89 -0
- package/lib/date-picker-range/index.vue3.cjs +2 -0
- package/lib/department-tree/index.cjs +5 -0
- package/lib/department-tree/src/department-tree.vue.cjs +17 -0
- package/lib/department-tree-inline/index.cjs +5 -0
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.cjs +81 -0
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.cjs +2 -0
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.cjs +54 -0
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.cjs +2 -0
- package/lib/department-tree-inline/src/department-tree-inline.vue.cjs +12 -0
- package/lib/department-tree-inline/src/department-tree-service.cjs +106 -0
- package/lib/department-tree-inline/src/search-result.vue.cjs +36 -0
- package/lib/department-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/department-tree-mobile/index.cjs +5 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +13 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue2.cjs +2 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue3.cjs +3 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +110 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/department-tree-service.cjs +47 -0
- package/lib/department-tree-mobile/src/dept-path.vue.cjs +13 -0
- package/lib/department-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/dept-result.vue.cjs +14 -0
- package/lib/department-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/department-user-tree/index.cjs +5 -0
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.cjs +16 -0
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.cjs +2 -0
- package/lib/department-user-tree/src/department-user-single-tree.vue.cjs +14 -0
- package/lib/department-user-tree/src/department-user-tree.vue.cjs +21 -0
- package/lib/department-user-tree-inline/index.cjs +5 -0
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +154 -0
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.cjs +2 -0
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +57 -0
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.cjs +2 -0
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +11 -0
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.cjs +78 -0
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +51 -0
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.cjs +34 -0
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.cjs +22 -0
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.cjs +10 -0
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.cjs +72 -0
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.cjs +28 -0
- package/lib/department-user-tree-inline/src/group-user-tree-service.cjs +33 -0
- package/lib/department-user-tree-inline/src/search-result.vue.cjs +38 -0
- package/lib/department-user-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/department-user-tree-mobile/index.cjs +5 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +13 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.cjs +2 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.cjs +3 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +124 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-service.cjs +28 -0
- package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +13 -0
- package/lib/department-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +14 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/directives/prevent-reclick.cjs +14 -0
- package/lib/dynamic-source-select/index.cjs +5 -0
- package/lib/dynamic-source-select/src/dynamic-source-select-service.cjs +30 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.cjs +266 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.cjs +2 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.cjs +2 -0
- package/lib/dynamic-source-select/src/events.cjs +28 -0
- package/lib/empty-state/index.vue.cjs +6 -0
- package/lib/empty-state/index.vue2.cjs +3 -0
- package/lib/fs-preview/index.cjs +5 -0
- package/lib/fs-preview/src/fs-preview.vue.cjs +119 -0
- package/lib/fs-preview/src/fs-preview.vue2.cjs +2 -0
- package/lib/fs-upload/index.cjs +5 -0
- package/lib/fs-upload/src/fs-upload-multi.vue.cjs +63 -0
- package/lib/fs-upload/src/fs-upload-single.vue.cjs +64 -0
- package/lib/fs-upload/src/fs-upload.vue.cjs +18 -0
- package/lib/fs-upload/src/see-big-picture.vue.cjs +9 -0
- package/lib/fs-upload-list/index.cjs +5 -0
- package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +91 -0
- package/lib/fs-upload-list/src/fs-upload-list.vue2.cjs +2 -0
- package/lib/fs-upload-new/index.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +57 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +170 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +32 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +41 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +29 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +84 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue4.cjs +2 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +54 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue2.cjs +3 -0
- package/lib/hamburger/index.cjs +5 -0
- package/lib/hamburger/src/hamburger.vue.cjs +11 -0
- package/lib/hamburger/src/hamburger.vue2.cjs +2 -0
- package/lib/index.cjs +41 -0
- package/lib/json-view/json-view-dialog.vue.cjs +16 -0
- package/lib/json-view/json-view-dialog.vue2.cjs +3 -0
- package/lib/json-view/json-view.vue.cjs +3 -0
- package/lib/json-view/json-view.vue2.cjs +32 -0
- package/lib/multipart-upload/index.cjs +5 -0
- package/lib/multipart-upload/src/index.vue.cjs +10 -0
- package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +73 -0
- package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +96 -0
- package/lib/organization-input/index.cjs +5 -0
- package/lib/organization-input/src/organization-input.vue.cjs +218 -0
- package/lib/organization-input/src/organization-input.vue2.cjs +2 -0
- package/lib/plugins/export-data-new.cjs +229 -0
- package/lib/plugins/export-data.cjs +173 -0
- package/lib/plugins/index.cjs +5 -0
- package/lib/plugins/public-method.cjs +13 -0
- package/lib/remove-department/index.cjs +5 -0
- package/lib/remove-department/src/remove-department.vue.cjs +27 -0
- package/lib/remove-department/src/remove-dept-service.cjs +12 -0
- package/lib/remove-user/index.cjs +5 -0
- package/lib/remove-user/src/remove-user-service.cjs +12 -0
- package/lib/remove-user/src/remove-user.vue.cjs +29 -0
- package/lib/remove-workgroup/index.cjs +5 -0
- package/lib/remove-workgroup/src/remove-workgroup-service.cjs +12 -0
- package/lib/remove-workgroup/src/remove-workgroup.vue.cjs +25 -0
- package/lib/rich-editor/index.cjs +5 -0
- package/lib/rich-editor/index.vue.cjs +67 -0
- package/lib/rich-editor/tinymce/zh_CN.cjs +2 -0
- package/lib/rich-editor/viewer.vue.cjs +24 -0
- package/lib/row-form/index.cjs +5 -0
- package/lib/row-form/index.vue.cjs +5 -0
- package/lib/row-form/index.vue2.cjs +56 -0
- package/lib/row-form/index.vue3.cjs +2 -0
- package/lib/row-form/operation.vue.cjs +28 -0
- package/lib/row-form/operation.vue2.cjs +3 -0
- package/lib/scan-code-input/index.cjs +5 -0
- package/lib/scan-code-input/src/events.cjs +13 -0
- package/lib/scan-code-input/src/scan-code-input.vue.cjs +26 -0
- package/lib/scan-code-input-browser/index.cjs +5 -0
- package/lib/scan-code-input-browser/src/scan-code-input.vue.cjs +34 -0
- package/lib/secret-info/index.cjs +5 -0
- package/lib/secret-info/index.vue.cjs +13 -0
- package/lib/src/api/sso-service.cjs +55 -0
- package/lib/src/api/tab.cjs +14 -0
- package/lib/src/assets/401/401.gif.cjs +2 -0
- package/lib/src/assets/404/404-cloud.png.cjs +2 -0
- package/lib/src/assets/404/404.png.cjs +2 -0
- package/lib/src/assets/chat-embed/robot.gif.cjs +2 -0
- package/lib/src/assets/chat-embed/robot.svg.cjs +2 -0
- package/lib/src/assets/nonemessage.png.cjs +2 -0
- package/lib/src/components/Affix/index.vue.cjs +5 -0
- package/lib/src/components/Affix/index.vue2.cjs +81 -0
- package/lib/src/components/Affix/index.vue3.cjs +2 -0
- package/lib/src/components/Card/index.cjs +46 -0
- package/lib/src/components/Scrollbar/index.vue.cjs +48 -0
- package/lib/src/components/Scrollbar/index.vue2.cjs +2 -0
- package/lib/src/directives/permission/index.cjs +5 -0
- package/lib/src/directives/permission/permission.cjs +9 -0
- package/lib/src/i18n/i18n.cjs +3 -0
- package/lib/src/i18n/langs/cn.cjs +2 -0
- package/lib/src/i18n/langs/en.cjs +2 -0
- package/lib/src/mixins/resizeMixin.cjs +20 -0
- package/lib/src/permission.cjs +76 -0
- package/lib/src/router/index.cjs +16 -0
- package/lib/src/store/getters.cjs +2 -0
- package/lib/src/store/index.cjs +16 -0
- package/lib/src/store/modules/app.cjs +40 -0
- package/lib/src/store/modules/chat-ai-store.cjs +33 -0
- package/lib/src/store/modules/permission.cjs +30 -0
- package/lib/src/store/modules/system.cjs +10 -0
- package/lib/src/store/modules/tab-content.cjs +18 -0
- package/lib/src/store/modules/table.cjs +17 -0
- package/lib/src/store/modules/user.cjs +133 -0
- package/lib/src/utils/auth-api.cjs +132 -0
- package/lib/src/utils/auth.cjs +86 -0
- package/lib/src/utils/calculator/calculator-factory-wf.cjs +166 -0
- package/lib/src/utils/calculator/calculator-factory.cjs +92 -0
- package/lib/src/utils/calculator/calculator-util.cjs +53 -0
- package/lib/src/utils/chat-ai-util.cjs +26 -0
- package/lib/src/utils/common-util.cjs +362 -0
- package/lib/src/utils/eventBus.cjs +3 -0
- package/lib/src/utils/file-util.cjs +22 -0
- package/lib/src/utils/global-prop.cjs +22 -0
- package/lib/src/utils/guid.cjs +7 -0
- package/lib/src/utils/i18n-util.cjs +62 -0
- package/lib/src/utils/iconUtils.cjs +19 -0
- package/lib/src/utils/index.cjs +32 -0
- package/lib/src/utils/insert_css.cjs +18 -0
- package/lib/src/utils/json-util.cjs +45 -0
- package/lib/src/utils/jump-page-utils.cjs +256 -0
- package/lib/src/utils/local-storage.cjs +18 -0
- package/lib/src/utils/menu.cjs +13 -0
- package/lib/src/utils/permission.cjs +41 -0
- package/lib/src/utils/permissionAuth.cjs +120 -0
- package/lib/src/utils/range-selector.cjs +101 -0
- package/lib/src/utils/request.cjs +131 -0
- package/lib/src/utils/resize.cjs +11 -0
- package/lib/src/utils/restful-interface-utils.cjs +15 -0
- package/lib/src/utils/util.cjs +341 -0
- package/lib/src/utils/validate.cjs +12 -0
- package/lib/src/utils/voice-setting-cache.cjs +199 -0
- package/lib/src/utils/watermark-cache.cjs +10 -0
- package/lib/src/utils/watermark.cjs +33 -0
- package/lib/src/utils/workflow-util.cjs +41 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue.cjs +5 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.cjs +9 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.cjs +2 -0
- package/lib/src/views/dsc-component/Sidebar/Link.vue.cjs +11 -0
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.cjs +46 -0
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.cjs +2 -0
- package/lib/src/views/dsc-component/Sidebar/index.vue.cjs +103 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue.cjs +61 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.cjs +2 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.cjs +2 -0
- package/lib/src/views/error-page/401.vue.cjs +11 -0
- package/lib/src/views/error-page/401.vue2.cjs +2 -0
- package/lib/src/views/error-page/404.vue.cjs +8 -0
- package/lib/src/views/error-page/404.vue2.cjs +2 -0
- package/lib/src/views/layout/EmptyLayout.vue.cjs +7 -0
- package/lib/src/views/layout/Layout.vue.cjs +21 -0
- package/lib/src/views/layout/Layout.vue2.cjs +2 -0
- package/lib/src/views/layout/NewLayout.vue.cjs +7 -0
- package/lib/src/views/layout/components/AppMain.vue.cjs +11 -0
- package/lib/src/views/layout/components/AppMain.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Breadcrumb/index.vue.cjs +56 -0
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Menubar/Item.vue.cjs +5 -0
- package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +13 -0
- package/lib/src/views/layout/components/Menubar/Item.vue3.cjs +2 -0
- package/lib/src/views/layout/components/Menubar/Link.vue.cjs +11 -0
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.cjs +47 -0
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Menubar/index.vue.cjs +79 -0
- package/lib/src/views/layout/components/Sidebar/Item.vue.cjs +7 -0
- package/lib/src/views/layout/components/Sidebar/Item.vue2.cjs +3 -0
- package/lib/src/views/layout/components/Sidebar/Link.vue.cjs +9 -0
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.cjs +16 -0
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Sidebar/index.vue.cjs +51 -0
- package/lib/src/views/layout/components/iframe-page.vue.cjs +12 -0
- package/lib/src/views/layout/components/iframe-page.vue2.cjs +2 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue.cjs +60 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue2.cjs +2 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue3.cjs +2 -0
- package/lib/src/views/layout/mixin/ResizeHandler.cjs +14 -0
- package/lib/src/views/layout/tab-content-iframe-index.vue.cjs +12 -0
- package/lib/src/views/layout/tab-content-iframe-index.vue2.cjs +2 -0
- package/lib/src/views/layout/tab-content-index.vue.cjs +22 -0
- package/lib/src/views/layout/tab-content-index.vue2.cjs +2 -0
- package/lib/src/views/login/authredirect.vue.cjs +6 -0
- package/lib/src/views/redirect/index.vue.cjs +17 -0
- package/lib/src/views/super-icon/index.cjs +5 -0
- package/lib/src/views/super-icon/src/index.vue.cjs +5 -0
- package/lib/src/views/super-icon/src/index.vue2.cjs +10 -0
- package/lib/src/views/super-icon/src/index.vue3.cjs +2 -0
- package/lib/src/views/svg-icon/src/svg-icon.vue.cjs +2 -0
- package/lib/src/views/svg-icon/src/svg-icon.vue2.cjs +12 -0
- package/lib/src/views/wf-history/tache-subprocess-history.vue.cjs +12 -0
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.cjs +2 -0
- package/lib/style.css +1234 -1208
- package/lib/super-grid/index.cjs +5 -0
- package/lib/super-grid/src/apis.cjs +477 -0
- package/lib/super-grid/src/columns-config.vue.cjs +76 -0
- package/lib/super-grid/src/components/grid-icon.vue.cjs +39 -0
- package/lib/super-grid/src/components/grid-radio-input.vue.cjs +22 -0
- package/lib/super-grid/src/components/grid-radio-input.vue2.cjs +3 -0
- package/lib/super-grid/src/components/mobile-table-card.cjs +99 -0
- package/lib/super-grid/src/components/select-input.vue.cjs +141 -0
- package/lib/super-grid/src/components/select-input.vue2.cjs +3 -0
- package/lib/super-grid/src/custom-formatter.cjs +163 -0
- package/lib/super-grid/src/dynamic-input.vue.cjs +465 -0
- package/lib/super-grid/src/eventBus.cjs +3 -0
- package/lib/super-grid/src/events.cjs +35 -0
- package/lib/super-grid/src/formValidatorUtil.cjs +106 -0
- package/lib/super-grid/src/formatter.cjs +69 -0
- package/lib/super-grid/src/group-column.vue.cjs +19 -0
- package/lib/super-grid/src/header-context-menu.vue.cjs +12 -0
- package/lib/super-grid/src/header-context-menu.vue2.cjs +2 -0
- package/lib/super-grid/src/index-column.vue.cjs +19 -0
- package/lib/super-grid/src/normal-column-content.vue.cjs +303 -0
- package/lib/super-grid/src/normal-column-content.vue2.cjs +2 -0
- package/lib/super-grid/src/normal-column.vue.cjs +90 -0
- package/lib/super-grid/src/normal-column.vue2.cjs +2 -0
- package/lib/super-grid/src/public-methods.cjs +20 -0
- package/lib/super-grid/src/row-detail.vue.cjs +11 -0
- package/lib/super-grid/src/row-operation.vue.cjs +82 -0
- package/lib/super-grid/src/row-operation.vue2.cjs +2 -0
- package/lib/super-grid/src/scan-util.cjs +98 -0
- package/lib/super-grid/src/search-button.vue.cjs +20 -0
- package/lib/super-grid/src/search-condition-input.vue.cjs +13 -0
- package/lib/super-grid/src/search-condition-list.vue.cjs +17 -0
- package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +106 -0
- package/lib/super-grid/src/search-form-advancedQuery.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form-dialog.vue.cjs +23 -0
- package/lib/super-grid/src/search-form-item.vue.cjs +120 -0
- package/lib/super-grid/src/search-form-item.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form-mobile.vue.cjs +32 -0
- package/lib/super-grid/src/search-form-mobile.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form-number.vue.cjs +21 -0
- package/lib/super-grid/src/search-form-open.vue.cjs +46 -0
- package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +33 -0
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form.vue.cjs +194 -0
- package/lib/super-grid/src/search-form.vue2.cjs +2 -0
- package/lib/super-grid/src/search-methods.cjs +163 -0
- package/lib/super-grid/src/selection-column.vue.cjs +9 -0
- package/lib/super-grid/src/store.cjs +3 -0
- package/lib/super-grid/src/super-grid-service.cjs +253 -0
- package/lib/super-grid/src/super-grid.vue.cjs +1083 -0
- package/lib/super-grid/src/super-grid.vue2.cjs +2 -0
- package/lib/super-grid/src/utils.cjs +373 -0
- package/lib/super-grid/src/view-image-dialog.vue.cjs +60 -0
- package/lib/super-icon/index.cjs +5 -0
- package/lib/super-icon/src/index.vue.cjs +5 -0
- package/lib/super-icon/src/index.vue2.cjs +10 -0
- package/lib/super-icon/src/index.vue3.cjs +2 -0
- package/lib/super-nine-grid/index.cjs +5 -0
- package/lib/super-nine-grid/src/apis.cjs +33 -0
- package/lib/super-nine-grid/src/custom-formatter.cjs +33 -0
- package/lib/super-nine-grid/src/formatter.cjs +36 -0
- package/lib/super-nine-grid/src/search-form-number.vue.cjs +9 -0
- package/lib/super-nine-grid/src/search-form.vue.cjs +84 -0
- package/lib/super-nine-grid/src/search-form.vue2.cjs +2 -0
- package/lib/super-nine-grid/src/search-methods.cjs +47 -0
- package/lib/super-nine-grid/src/store.cjs +3 -0
- package/lib/super-nine-grid/src/super-grid-service.cjs +35 -0
- package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +215 -0
- package/lib/super-nine-grid/src/super-nine-grid.vue2.cjs +2 -0
- package/lib/super-nine-grid/src/utils.cjs +36 -0
- package/lib/svg-icon/index.cjs +5 -0
- package/lib/svg-icon/src/svg-icon.vue.cjs +12 -0
- package/lib/svg-icon/src/svg-icon.vue2.cjs +2 -0
- package/lib/utils/gogocodeTransfer.cjs +28 -0
- package/lib/utils/memory-cache-utils.cjs +28 -0
- package/lib/utils/organization.cjs +55 -0
- package/lib/utils/utils.cjs +85 -0
- package/lib/utils/value-set.cjs +92 -0
- package/lib/valid-code/index.cjs +5 -0
- package/lib/valid-code/src/valid-code.vue.cjs +20 -0
- package/lib/valid-code/src/valid-code.vue2.cjs +2 -0
- package/lib/workflow-button/index.cjs +5 -0
- package/lib/workflow-button/src/workflow-button.vue.cjs +80 -0
- package/lib/workflow-history-list/index.cjs +5 -0
- package/lib/workflow-history-list/src/api.cjs +5 -0
- package/lib/workflow-history-list/src/workflow-history-list.vue.cjs +83 -0
- package/lib/workflow-history-list/src/workflow-history-list.vue2.cjs +2 -0
- package/lib/workgroup-tree/index.cjs +5 -0
- package/lib/workgroup-tree/src/workgroup-tree.vue.cjs +17 -0
- package/lib/workgroup-tree-inline/index.cjs +5 -0
- package/lib/workgroup-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +119 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.cjs +2 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.cjs +33 -0
- package/lib/workgroup-tree-mobile/index.cjs +5 -0
- package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +14 -0
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +13 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.cjs +2 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +99 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.cjs +25 -0
- package/lib/workgroup-user-tree/index.cjs +5 -0
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.cjs +17 -0
- package/lib/workgroup-user-tree-inline/index.cjs +5 -0
- package/lib/workgroup-user-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.cjs +71 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +163 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.cjs +2 -0
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +13 -0
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +14 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +13 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.cjs +2 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +124 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.cjs +20 -0
- package/lib/year-range-picker/index.cjs +5 -0
- package/lib/year-range-picker/src/year-range-picker.vue.cjs +11 -0
- package/package.json +9 -7
- package/src/components/Card/index.jsx +12 -2
- package/src/components/Scrollbar/index.vue +165 -154
- package/src/i18n/langs/cn.js +10 -2
- package/src/i18n/langs/en.js +10 -2
- package/src/styles/index.scss +9 -2
- package/src/styles/theme/default.scss +18 -13
- package/src/styles/theme/tiffany-blue-mobile/home.scss +44 -1
- package/src/utils/auth-api.js +1 -0
- package/src/utils/common-util.js +13 -0
- package/src/utils/watermark.js +1 -1
- package/src/views/layout/components/Menubar/Item.vue +1 -1
- package/src/views/svg-icon/src/svg-icon.vue +5 -8
- package/vite.config.js +31 -71
- package/lib/IntervalSelection/index.js +0 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/lib/breadcrumb/index.js +0 -7
- package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/lib/chat-embed/index.js +0 -7
- package/lib/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/lib/chat-embed/src/chat-embed-message.js +0 -22
- package/lib/chat-embed/src/chat-sender.vue.js +0 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +0 -157
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/lib/chat-embed/src/components/history-detail.vue.js +0 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/lib/chat-embed/src/header.vue.js +0 -7
- package/lib/chat-embed/src/header.vue2.js +0 -46
- package/lib/chat-embed/src/index.vue.js +0 -7
- package/lib/chat-embed/src/index.vue2.js +0 -303
- package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/lib/chat-embed/src/sidebar-item.vue.js +0 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/lib/chat-embed/src/util/history-message-util.js +0 -96
- package/lib/chat-embed/src/util/mcp-utils.js +0 -53
- package/lib/chat-embed/src/voice/index.js +0 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/lib/chat-embed/src/voice/voice.vue.js +0 -103
- package/lib/date-picker-range/index.js +0 -7
- package/lib/date-picker-range/index.vue.js +0 -7
- package/lib/date-picker-range/index.vue2.js +0 -93
- package/lib/department-tree/index.js +0 -7
- package/lib/department-tree/src/department-tree.vue.js +0 -23
- package/lib/department-tree-inline/index.js +0 -7
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/lib/department-tree-inline/src/department-tree-service.js +0 -108
- package/lib/department-tree-inline/src/search-result.vue.js +0 -39
- package/lib/department-tree-mobile/index.js +0 -8
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +0 -55
- package/lib/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/department-user-tree/index.js +0 -7
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/lib/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/lib/department-user-tree-inline/index.js +0 -7
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/lib/department-user-tree-mobile/index.js +0 -8
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/directives/prevent-reclick.js +0 -15
- package/lib/dynamic-source-select/index.js +0 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -275
- package/lib/empty-state/index.vue.js +0 -9
- package/lib/empty-state/index.vue2.js +0 -4
- package/lib/fs-preview/index.js +0 -7
- package/lib/fs-preview/src/fs-preview.vue.js +0 -120
- package/lib/fs-upload/index.js +0 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/lib/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/lib/fs-upload/src/fs-upload.vue.js +0 -24
- package/lib/fs-upload/src/see-big-picture.vue.js +0 -12
- package/lib/fs-upload-list/index.js +0 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -97
- package/lib/fs-upload-new/index.js +0 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -65
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/lib/hamburger/index.js +0 -7
- package/lib/hamburger/src/hamburger.vue.js +0 -15
- package/lib/index.js +0 -380
- package/lib/json-view/json-view-dialog.vue.js +0 -19
- package/lib/json-view/json-view-dialog.vue2.js +0 -4
- package/lib/json-view/json-view.vue.js +0 -4
- package/lib/json-view/json-view.vue2.js +0 -36
- package/lib/multipart-upload/index.js +0 -7
- package/lib/multipart-upload/src/index.vue.js +0 -13
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -101
- package/lib/organization-input/index.js +0 -7
- package/lib/organization-input/src/organization-input.vue.js +0 -224
- package/lib/plugins/export-data-new.js +0 -237
- package/lib/plugins/export-data.js +0 -179
- package/lib/plugins/index.js +0 -9
- package/lib/remove-department/index.js +0 -7
- package/lib/remove-department/src/remove-department.vue.js +0 -33
- package/lib/remove-user/index.js +0 -7
- package/lib/remove-user/src/remove-user.vue.js +0 -35
- package/lib/remove-workgroup/index.js +0 -7
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/lib/rich-editor/index.js +0 -7
- package/lib/rich-editor/index.vue.js +0 -115
- package/lib/rich-editor/viewer.vue.js +0 -27
- package/lib/row-form/index.js +0 -7
- package/lib/row-form/index.vue.js +0 -7
- package/lib/row-form/index.vue2.js +0 -62
- package/lib/row-form/operation.vue.js +0 -32
- package/lib/row-form/operation.vue2.js +0 -4
- package/lib/scan-code-input/index.js +0 -7
- package/lib/scan-code-input/src/events.js +0 -15
- package/lib/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/lib/scan-code-input-browser/index.js +0 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/lib/secret-info/index.js +0 -7
- package/lib/secret-info/index.vue.js +0 -16
- package/lib/src/api/sso-service.js +0 -57
- package/lib/src/api/tab.js +0 -15
- package/lib/src/components/Affix/index.vue.js +0 -7
- package/lib/src/components/Affix/index.vue2.js +0 -81
- package/lib/src/components/Card/index.js +0 -48
- package/lib/src/components/Scrollbar/index.vue.js +0 -51
- package/lib/src/directives/permission/index.js +0 -7
- package/lib/src/directives/permission/permission.js +0 -11
- package/lib/src/i18n/i18n.js +0 -7
- package/lib/src/i18n/langs/cn.js +0 -4
- package/lib/src/i18n/langs/en.js +0 -4
- package/lib/src/permission.js +0 -78
- package/lib/src/router/index.js +0 -9
- package/lib/src/store/index.js +0 -13
- package/lib/src/store/modules/permission.js +0 -31
- package/lib/src/store/modules/system.js +0 -12
- package/lib/src/store/modules/tab-content.js +0 -20
- package/lib/src/store/modules/user.js +0 -139
- package/lib/src/utils/auth.js +0 -156
- package/lib/src/utils/calculator/calculator-util.js +0 -54
- package/lib/src/utils/chat-ai-util.js +0 -30
- package/lib/src/utils/common-util.js +0 -438
- package/lib/src/utils/insert_css.js +0 -16
- package/lib/src/utils/jump-page-utils.js +0 -264
- package/lib/src/utils/menu.js +0 -14
- package/lib/src/utils/permission.js +0 -45
- package/lib/src/utils/permissionAuth.js +0 -153
- package/lib/src/utils/range-selector.js +0 -105
- package/lib/src/utils/request.js +0 -140
- package/lib/src/utils/util.js +0 -361
- package/lib/src/utils/voice-setting-cache.js +0 -211
- package/lib/src/utils/watermark.js +0 -40
- package/lib/src/utils/workflow-util.js +0 -42
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -63
- package/lib/src/views/error-page/401.vue.js +0 -15
- package/lib/src/views/error-page/404.vue.js +0 -12
- package/lib/src/views/layout/EmptyLayout.vue.js +0 -9
- package/lib/src/views/layout/Layout.vue.js +0 -28
- package/lib/src/views/layout/NewLayout.vue.js +0 -11
- package/lib/src/views/layout/components/AppMain.vue.js +0 -13
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
- package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/lib/src/views/layout/components/iframe-page.vue.js +0 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
- package/lib/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/lib/src/views/layout/tab-content-index.vue.js +0 -28
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/lib/super-grid/index.js +0 -7
- package/lib/super-grid/src/apis.js +0 -458
- package/lib/super-grid/src/columns-config.vue.js +0 -81
- package/lib/super-grid/src/components/grid-icon.vue.js +0 -47
- package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/lib/super-grid/src/components/mobile-table-card.js +0 -109
- package/lib/super-grid/src/components/select-input.vue.js +0 -148
- package/lib/super-grid/src/components/select-input.vue2.js +0 -4
- package/lib/super-grid/src/custom-formatter.js +0 -167
- package/lib/super-grid/src/dynamic-input.vue.js +0 -481
- package/lib/super-grid/src/events.js +0 -37
- package/lib/super-grid/src/formValidatorUtil.js +0 -109
- package/lib/super-grid/src/group-column.vue.js +0 -24
- package/lib/super-grid/src/header-context-menu.vue.js +0 -14
- package/lib/super-grid/src/index-column.vue.js +0 -22
- package/lib/super-grid/src/normal-column-content.vue.js +0 -318
- package/lib/super-grid/src/normal-column.vue.js +0 -106
- package/lib/super-grid/src/row-detail.vue.js +0 -14
- package/lib/super-grid/src/row-operation.vue.js +0 -89
- package/lib/super-grid/src/scan-util.js +0 -100
- package/lib/super-grid/src/search-button.vue.js +0 -23
- package/lib/super-grid/src/search-condition-input.vue.js +0 -17
- package/lib/super-grid/src/search-condition-list.vue.js +0 -20
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/lib/super-grid/src/search-form-dialog.vue.js +0 -16
- package/lib/super-grid/src/search-form-item.vue.js +0 -128
- package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
- package/lib/super-grid/src/search-form-number.vue.js +0 -26
- package/lib/super-grid/src/search-form-open.vue.js +0 -50
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/lib/super-grid/src/search-form.vue.js +0 -201
- package/lib/super-grid/src/selection-column.vue.js +0 -11
- package/lib/super-grid/src/super-grid-service.js +0 -259
- package/lib/super-grid/src/super-grid.vue.js +0 -1052
- package/lib/super-grid/src/utils.js +0 -355
- package/lib/super-grid/src/view-image-dialog.vue.js +0 -67
- package/lib/super-icon/index.js +0 -7
- package/lib/super-icon/src/index.vue.js +0 -7
- package/lib/super-icon/src/index.vue2.js +0 -13
- package/lib/super-nine-grid/index.js +0 -7
- package/lib/super-nine-grid/src/apis.js +0 -36
- package/lib/super-nine-grid/src/custom-formatter.js +0 -35
- package/lib/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/lib/super-nine-grid/src/search-form.vue.js +0 -91
- package/lib/super-nine-grid/src/super-grid-service.js +0 -39
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/lib/super-nine-grid/src/utils.js +0 -32
- package/lib/svg-icon/index.js +0 -7
- package/lib/svg-icon/src/svg-icon.vue.js +0 -14
- package/lib/utils/memory-cache-utils.js +0 -30
- package/lib/utils/organization.js +0 -57
- package/lib/utils/utils.js +0 -87
- package/lib/utils/value-set.js +0 -94
- package/lib/valid-code/index.js +0 -7
- package/lib/valid-code/src/valid-code.vue.js +0 -23
- package/lib/workflow-button/index.js +0 -7
- package/lib/workflow-button/src/workflow-button.vue.js +0 -85
- package/lib/workflow-history-list/index.js +0 -7
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/lib/workgroup-tree/index.js +0 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/lib/workgroup-tree-inline/index.js +0 -7
- package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/lib/workgroup-tree-mobile/index.js +0 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/lib/workgroup-user-tree/index.js +0 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/lib/workgroup-user-tree-inline/index.js +0 -7
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/lib/year-range-picker/index.js +0 -7
- package/lib/year-range-picker/src/year-range-picker.vue.js +0 -14
- package/packages/IntervalSelection/index.js +0 -6
- package/packages/IntervalSelection/src/quarterScope.vue +0 -405
- package/packages/IntervalSelection/src/sectionDate.vue +0 -475
- package/packages/breadcrumb/index.js +0 -6
- package/packages/breadcrumb/src/breadcrumb.vue +0 -81
- package/packages/chat-embed/index.ts +0 -6
- package/packages/chat-embed/src/chat-addition-data.vue +0 -64
- package/packages/chat-embed/src/chat-ai-answer-tip.vue +0 -81
- package/packages/chat-embed/src/chat-bubble-footer.vue +0 -81
- package/packages/chat-embed/src/chat-embed-message.ts +0 -76
- package/packages/chat-embed/src/chat-embed.css +0 -207
- package/packages/chat-embed/src/chat-sender.vue +0 -620
- package/packages/chat-embed/src/components/answer-auto-chart.vue +0 -365
- package/packages/chat-embed/src/components/answer-home-chart.vue +0 -42
- package/packages/chat-embed/src/components/answer-interaction-data.vue +0 -569
- package/packages/chat-embed/src/components/history-detail.vue +0 -150
- package/packages/chat-embed/src/header.vue +0 -147
- package/packages/chat-embed/src/index.vue +0 -926
- package/packages/chat-embed/src/recommendation-message.vue +0 -37
- package/packages/chat-embed/src/sender-attachments.vue +0 -1
- package/packages/chat-embed/src/sidebar-item.vue +0 -521
- package/packages/chat-embed/src/type.ts +0 -74
- package/packages/chat-embed/src/util/chat-embed-util.ts +0 -67
- package/packages/chat-embed/src/util/history-message-util.ts +0 -161
- package/packages/chat-embed/src/util/mcp-utils.ts +0 -131
- package/packages/chat-embed/src/util/text-file-util.ts +0 -33
- package/packages/chat-embed/src/voice/index.ts +0 -6
- package/packages/chat-embed/src/voice/js/ai.js +0 -4
- package/packages/chat-embed/src/voice/js/crypto-js.js +0 -5736
- package/packages/chat-embed/src/voice/js/processor/index.umd.js +0 -1
- package/packages/chat-embed/src/voice/js/timer.js +0 -18
- package/packages/chat-embed/src/voice/voice.vue +0 -320
- package/packages/date-picker-range/index.ts +0 -6
- package/packages/date-picker-range/index.vue +0 -240
- package/packages/department-tree/index.js +0 -6
- package/packages/department-tree/src/department-tree.vue +0 -140
- package/packages/department-tree-inline/index.js +0 -6
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -472
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -374
- package/packages/department-tree-inline/src/department-tree-inline.vue +0 -93
- package/packages/department-tree-inline/src/department-tree-service.js +0 -333
- package/packages/department-tree-inline/src/search-result.vue +0 -206
- package/packages/department-tree-mobile/index.js +0 -6
- package/packages/department-tree-mobile/src/department-tree-app.vue +0 -148
- package/packages/department-tree-mobile/src/department-tree-inline-app.vue +0 -418
- package/packages/department-tree-mobile/src/department-tree-service.ts +0 -124
- package/packages/department-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-tree-mobile/src/dept-result.vue +0 -51
- package/packages/department-user-tree/index.js +0 -6
- package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -131
- package/packages/department-user-tree/src/department-user-single-tree.vue +0 -93
- package/packages/department-user-tree/src/department-user-tree.vue +0 -138
- package/packages/department-user-tree-inline/index.js +0 -9
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -779
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -394
- package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -94
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -293
- package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -158
- package/packages/department-user-tree-inline/src/group-user/group-input.vue +0 -162
- package/packages/department-user-tree-inline/src/group-user/group-list.vue +0 -106
- package/packages/department-user-tree-inline/src/group-user/group-user.vue +0 -38
- package/packages/department-user-tree-inline/src/group-user-multiple-tree.vue +0 -304
- package/packages/department-user-tree-inline/src/group-user-single-tree.vue +0 -155
- package/packages/department-user-tree-inline/src/group-user-tree-service.js +0 -80
- package/packages/department-user-tree-inline/src/search-result.vue +0 -274
- package/packages/department-user-tree-mobile/index.js +0 -6
- package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +0 -147
- package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +0 -466
- package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +0 -71
- package/packages/department-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/directives/prevent-reclick.js +0 -22
- package/packages/dynamic-source-select/index.js +0 -6
- package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -134
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -946
- package/packages/dynamic-source-select/src/events.js +0 -72
- package/packages/empty-state/index.vue +0 -28
- package/packages/fs-preview/index.js +0 -6
- package/packages/fs-preview/src/fs-preview.vue +0 -535
- package/packages/fs-upload/index.js +0 -6
- package/packages/fs-upload/src/fs-upload-multi.vue +0 -464
- package/packages/fs-upload/src/fs-upload-single.vue +0 -369
- package/packages/fs-upload/src/fs-upload.vue +0 -193
- package/packages/fs-upload/src/see-big-picture.vue +0 -70
- package/packages/fs-upload-list/index.js +0 -6
- package/packages/fs-upload-list/src/fs-upload-list.vue +0 -436
- package/packages/fs-upload-new/index.ts +0 -6
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +0 -276
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +0 -573
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +0 -152
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-input.vue +0 -265
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload.vue +0 -262
- package/packages/fs-upload-new/src/fs-button-upload.vue +0 -312
- package/packages/fs-upload-new/src/fs-drag-upload.vue +0 -307
- package/packages/fs-upload-new/src/fs-preview-new.vue +0 -380
- package/packages/fs-upload-new/src/fs-upload-new.vue +0 -413
- package/packages/hamburger/index.js +0 -6
- package/packages/hamburger/src/hamburger.vue +0 -52
- package/packages/index.js +0 -274
- package/packages/json-view/index.ts +0 -3
- package/packages/json-view/json-view-dialog.vue +0 -53
- package/packages/json-view/json-view.vue +0 -126
- package/packages/multipart-upload/index.js +0 -6
- package/packages/multipart-upload/src/index.vue +0 -66
- package/packages/multipart-upload/src/multipart-upload-form.vue +0 -404
- package/packages/multipart-upload/src/multipart-upload-list.vue +0 -543
- package/packages/organization-input/index.js +0 -6
- package/packages/organization-input/src/organization-input.vue +0 -619
- package/packages/plugins/export-data-new.js +0 -667
- package/packages/plugins/export-data.js +0 -431
- package/packages/plugins/index.js +0 -15
- package/packages/plugins/public-method.js +0 -47
- package/packages/remove-department/index.js +0 -6
- package/packages/remove-department/src/remove-department.vue +0 -201
- package/packages/remove-department/src/remove-dept-service.js +0 -31
- package/packages/remove-user/index.js +0 -6
- package/packages/remove-user/src/remove-user-service.js +0 -31
- package/packages/remove-user/src/remove-user.vue +0 -227
- package/packages/remove-workgroup/index.js +0 -6
- package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -31
- package/packages/remove-workgroup/src/remove-workgroup.vue +0 -184
- package/packages/rich-editor/index.js +0 -7
- package/packages/rich-editor/index.vue +0 -331
- package/packages/rich-editor/tinymce/icons/default/icons.min.js +0 -1
- package/packages/rich-editor/tinymce/langs/README.md +0 -3
- package/packages/rich-editor/tinymce/langs/zh-Hans.js +0 -1
- package/packages/rich-editor/tinymce/license.txt +0 -21
- package/packages/rich-editor/tinymce/models/dom/model.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -3
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +0 -2
- package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/skins/content/dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/default/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/default/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/document/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/document/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/writer/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/themes/silver/theme.min.js +0 -4
- package/packages/rich-editor/tinymce/tinymce.d.ts +0 -3238
- package/packages/rich-editor/tinymce/tinymce.min.js +0 -4
- package/packages/rich-editor/tinymce/zh_CN.js +0 -418
- package/packages/rich-editor/viewer.vue +0 -105
- package/packages/row-form/index.js +0 -7
- package/packages/row-form/index.vue +0 -284
- package/packages/row-form/operation.vue +0 -151
- package/packages/scan-code-input/index.js +0 -6
- package/packages/scan-code-input/src/events.js +0 -34
- package/packages/scan-code-input/src/scan-code-input.vue +0 -164
- package/packages/scan-code-input-browser/index.js +0 -6
- package/packages/scan-code-input-browser/src/scan-code-input.vue +0 -113
- package/packages/secret-info/index.js +0 -7
- package/packages/secret-info/index.vue +0 -100
- package/packages/super-grid/index.js +0 -7
- package/packages/super-grid/src/apis.js +0 -1713
- package/packages/super-grid/src/columns-config.vue +0 -329
- package/packages/super-grid/src/components/grid-icon.vue +0 -157
- package/packages/super-grid/src/components/grid-radio-input.vue +0 -84
- package/packages/super-grid/src/components/hyperlinks.vue +0 -130
- package/packages/super-grid/src/components/mobile-table-card.jsx +0 -589
- package/packages/super-grid/src/components/select-input.vue +0 -520
- package/packages/super-grid/src/custom-formatter.js +0 -419
- package/packages/super-grid/src/dynamic-input.vue +0 -2158
- package/packages/super-grid/src/eventBus.js +0 -10
- package/packages/super-grid/src/events.js +0 -56
- package/packages/super-grid/src/formValidatorUtil.js +0 -362
- package/packages/super-grid/src/formatter.js +0 -200
- package/packages/super-grid/src/group-column.vue +0 -119
- package/packages/super-grid/src/header-context-menu.vue +0 -82
- package/packages/super-grid/src/index-column.vue +0 -78
- package/packages/super-grid/src/normal-column-content.vue +0 -1310
- package/packages/super-grid/src/normal-column.vue +0 -423
- package/packages/super-grid/src/public-methods.js +0 -30
- package/packages/super-grid/src/row-detail.vue +0 -50
- package/packages/super-grid/src/row-operation.vue +0 -315
- package/packages/super-grid/src/scan-util.ts +0 -243
- package/packages/super-grid/src/search-button.vue +0 -88
- package/packages/super-grid/src/search-condition-input.vue +0 -74
- package/packages/super-grid/src/search-condition-list.vue +0 -70
- package/packages/super-grid/src/search-form-advancedQuery.vue +0 -836
- package/packages/super-grid/src/search-form-dialog.vue +0 -77
- package/packages/super-grid/src/search-form-item.vue +0 -616
- package/packages/super-grid/src/search-form-mobile.vue +0 -255
- package/packages/super-grid/src/search-form-number.vue +0 -122
- package/packages/super-grid/src/search-form-open.vue +0 -175
- package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -243
- package/packages/super-grid/src/search-form.vue +0 -795
- package/packages/super-grid/src/search-methods.js +0 -539
- package/packages/super-grid/src/selection-column.vue +0 -36
- package/packages/super-grid/src/store.js +0 -3
- package/packages/super-grid/src/super-grid-service.js +0 -800
- package/packages/super-grid/src/super-grid.vue +0 -3814
- package/packages/super-grid/src/utils.js +0 -946
- package/packages/super-grid/src/view-image-dialog.vue +0 -194
- package/packages/super-nine-grid/index.js +0 -7
- package/packages/super-nine-grid/src/apis.js +0 -108
- package/packages/super-nine-grid/src/custom-formatter.js +0 -73
- package/packages/super-nine-grid/src/formatter.js +0 -134
- package/packages/super-nine-grid/src/search-form-number.vue +0 -35
- package/packages/super-nine-grid/src/search-form.vue +0 -514
- package/packages/super-nine-grid/src/search-methods.js +0 -151
- package/packages/super-nine-grid/src/store.js +0 -3
- package/packages/super-nine-grid/src/super-grid-service.js +0 -110
- package/packages/super-nine-grid/src/super-nine-grid.vue +0 -1112
- package/packages/super-nine-grid/src/utils.js +0 -264
- package/packages/svg-icon/index.js +0 -6
- package/packages/svg-icon/src/svg-icon.vue +0 -43
- package/packages/utils/date-util.js +0 -292
- package/packages/utils/dom.js +0 -227
- package/packages/utils/gogocodeTransfer.js +0 -59
- package/packages/utils/memory-cache-utils.js +0 -117
- package/packages/utils/organization.ts +0 -173
- package/packages/utils/utils.js +0 -198
- package/packages/utils/value-set.js +0 -282
- package/packages/valid-code/index.js +0 -7
- package/packages/valid-code/src/valid-code.vue +0 -104
- package/packages/workflow-button/index.js +0 -6
- package/packages/workflow-button/src/workflow-button.vue +0 -574
- package/packages/workflow-history-list/index.js +0 -6
- package/packages/workflow-history-list/src/api.js +0 -7
- package/packages/workflow-history-list/src/workflow-history-list.vue +0 -394
- package/packages/workgroup-tree/index.js +0 -6
- package/packages/workgroup-tree/src/workgroup-tree.vue +0 -127
- package/packages/workgroup-tree-inline/index.js +0 -6
- package/packages/workgroup-tree-inline/src/search-result.vue +0 -227
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -557
- package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -119
- package/packages/workgroup-tree-mobile/index.js +0 -6
- package/packages/workgroup-tree-mobile/src/dept-result.vue +0 -52
- package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +0 -148
- package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +0 -407
- package/packages/workgroup-tree-mobile/src/workgroup-tree-service.ts +0 -62
- package/packages/workgroup-user-tree/index.js +0 -6
- package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -121
- package/packages/workgroup-user-tree-inline/index.js +0 -9
- package/packages/workgroup-user-tree-inline/src/search-result.vue +0 -271
- package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -252
- package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -665
- package/packages/workgroup-user-tree-mobile/index.js +0 -6
- package/packages/workgroup-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/workgroup-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue +0 -119
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +0 -453
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-service.ts +0 -41
- package/packages/year-range-picker/index.js +0 -6
- package/packages/year-range-picker/src/year-range-picker.vue +0 -53
- /package/{public → dist}/favicon.svg +0 -0
- /package/{lib/IntervalSelection/src/sectionDate.vue2.js → es/IntervalSelection/src/sectionDate.vue2.mjs} +0 -0
- /package/{lib/_virtual/__vite-browser-external.js → es/_virtual/__vite-browser-external.mjs} +0 -0
- /package/{lib/_virtual/_plugin-vue_export-helper.js → es/_virtual/_plugin-vue_export-helper.mjs} +0 -0
- /package/{lib/breadcrumb/src/breadcrumb.vue2.js → es/breadcrumb/src/breadcrumb.vue2.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-addition-data.vue3.js → es/chat-embed/src/chat-addition-data.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-ai-answer-tip.vue3.js → es/chat-embed/src/chat-ai-answer-tip.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-bubble-footer.vue3.js → es/chat-embed/src/chat-bubble-footer.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-sender.vue3.js → es/chat-embed/src/chat-sender.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-auto-chart.vue3.js → es/chat-embed/src/components/answer-auto-chart.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-home-chart.vue2.js → es/chat-embed/src/components/answer-home-chart.vue2.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-home-chart.vue3.js → es/chat-embed/src/components/answer-home-chart.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-interaction-data.vue3.js → es/chat-embed/src/components/answer-interaction-data.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/history-detail.vue3.js → es/chat-embed/src/components/history-detail.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/header.vue3.js → es/chat-embed/src/header.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/index.vue3.js → es/chat-embed/src/index.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/recommendation-message.vue3.js → es/chat-embed/src/recommendation-message.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/sidebar-item.vue3.js → es/chat-embed/src/sidebar-item.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/type.js → es/chat-embed/src/type.mjs} +0 -0
- /package/{lib/chat-embed/src/util/chat-embed-util.js → es/chat-embed/src/util/chat-embed-util.mjs} +0 -0
- /package/{lib/chat-embed/src/util/text-file-util.js → es/chat-embed/src/util/text-file-util.mjs} +0 -0
- /package/{lib/chat-embed/src/voice/js/timer.js → es/chat-embed/src/voice/js/timer.mjs} +0 -0
- /package/{lib/date-picker-range/index.vue3.js → es/date-picker-range/index.vue3.mjs} +0 -0
- /package/{lib/department-tree-inline/src/department-multi-tree-inline.vue2.js → es/department-tree-inline/src/department-multi-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-tree-inline/src/department-single-tree-inline.vue2.js → es/department-tree-inline/src/department-single-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-tree-inline/src/search-result.vue2.js → es/department-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/department-tree-mobile/src/department-tree-app.vue2.js → es/department-tree-mobile/src/department-tree-app.vue2.mjs} +0 -0
- /package/{lib/department-user-tree/src/department-user-multiple-tree.vue2.js → es/department-user-tree/src/department-user-multiple-tree.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js → es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js → es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/group-user-tree-service.js → es/department-user-tree-inline/src/group-user-tree-service.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/search-result.vue2.js → es/department-user-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js → es/department-user-tree-mobile/src/department-user-tree-app.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-mobile/src/department-user-tree-service.js → es/department-user-tree-mobile/src/department-user-tree-service.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/dynamic-source-select.vue2.js → es/dynamic-source-select/src/dynamic-source-select.vue2.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/dynamic-source-select.vue3.js → es/dynamic-source-select/src/dynamic-source-select.vue3.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/events.js → es/dynamic-source-select/src/events.mjs} +0 -0
- /package/{lib/fs-preview/src/fs-preview.vue2.js → es/fs-preview/src/fs-preview.vue2.mjs} +0 -0
- /package/{lib/fs-upload-list/src/fs-upload-list.vue2.js → es/fs-upload-list/src/fs-upload-list.vue2.mjs} +0 -0
- /package/{lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js → es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-button-upload.vue3.js → es/fs-upload-new/src/fs-button-upload.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-drag-upload.vue3.js → es/fs-upload-new/src/fs-drag-upload.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-preview-new.vue3.js → es/fs-upload-new/src/fs-preview-new.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-preview-new.vue4.js → es/fs-upload-new/src/fs-preview-new.vue4.mjs} +0 -0
- /package/{lib/hamburger/src/hamburger.vue2.js → es/hamburger/src/hamburger.vue2.mjs} +0 -0
- /package/{lib/organization-input/src/organization-input.vue2.js → es/organization-input/src/organization-input.vue2.mjs} +0 -0
- /package/{lib/plugins/public-method.js → es/plugins/public-method.mjs} +0 -0
- /package/{lib/remove-department/src/remove-dept-service.js → es/remove-department/src/remove-dept-service.mjs} +0 -0
- /package/{lib/remove-user/src/remove-user-service.js → es/remove-user/src/remove-user-service.mjs} +0 -0
- /package/{lib/remove-workgroup/src/remove-workgroup-service.js → es/remove-workgroup/src/remove-workgroup-service.mjs} +0 -0
- /package/{lib/rich-editor/tinymce/zh_CN.js → es/rich-editor/tinymce/zh_CN.mjs} +0 -0
- /package/{lib/row-form/index.vue3.js → es/row-form/index.vue3.mjs} +0 -0
- /package/{lib/src/assets/401/401.gif.js → es/src/assets/401/401.gif.mjs} +0 -0
- /package/{lib/src/assets/404/404-cloud.png.js → es/src/assets/404/404-cloud.png.mjs} +0 -0
- /package/{lib/src/assets/404/404.png.js → es/src/assets/404/404.png.mjs} +0 -0
- /package/{lib/src/assets/chat-embed/robot.gif.js → es/src/assets/chat-embed/robot.gif.mjs} +0 -0
- /package/{lib/src/assets/chat-embed/robot.svg.js → es/src/assets/chat-embed/robot.svg.mjs} +0 -0
- /package/{lib/src/assets/nonemessage.png.js → es/src/assets/nonemessage.png.mjs} +0 -0
- /package/{lib/src/components/Affix/index.vue3.js → es/src/components/Affix/index.vue3.mjs} +0 -0
- /package/{lib/src/components/Scrollbar/index.vue2.js → es/src/components/Scrollbar/index.vue2.mjs} +0 -0
- /package/{lib/src/mixins/resizeMixin.js → es/src/mixins/resizeMixin.mjs} +0 -0
- /package/{lib/src/store/getters.js → es/src/store/getters.mjs} +0 -0
- /package/{lib/src/store/modules/app.js → es/src/store/modules/app.mjs} +0 -0
- /package/{lib/src/store/modules/chat-ai-store.js → es/src/store/modules/chat-ai-store.mjs} +0 -0
- /package/{lib/src/store/modules/table.js → es/src/store/modules/table.mjs} +0 -0
- /package/{lib/src/utils/auth-api.js → es/src/utils/auth-api.mjs} +0 -0
- /package/{lib/src/utils/calculator/calculator-factory-wf.js → es/src/utils/calculator/calculator-factory-wf.mjs} +0 -0
- /package/{lib/src/utils/calculator/calculator-factory.js → es/src/utils/calculator/calculator-factory.mjs} +0 -0
- /package/{lib/src/utils/eventBus.js → es/src/utils/eventBus.mjs} +0 -0
- /package/{lib/src/utils/file-util.js → es/src/utils/file-util.mjs} +0 -0
- /package/{lib/src/utils/global-prop.js → es/src/utils/global-prop.mjs} +0 -0
- /package/{lib/src/utils/guid.js → es/src/utils/guid.mjs} +0 -0
- /package/{lib/src/utils/i18n-util.js → es/src/utils/i18n-util.mjs} +0 -0
- /package/{lib/src/utils/iconUtils.js → es/src/utils/iconUtils.mjs} +0 -0
- /package/{lib/src/utils/index.js → es/src/utils/index.mjs} +0 -0
- /package/{lib/src/utils/json-util.js → es/src/utils/json-util.mjs} +0 -0
- /package/{lib/src/utils/local-storage.js → es/src/utils/local-storage.mjs} +0 -0
- /package/{lib/src/utils/resize.js → es/src/utils/resize.mjs} +0 -0
- /package/{lib/src/utils/restful-interface-utils.js → es/src/utils/restful-interface-utils.mjs} +0 -0
- /package/{lib/src/utils/validate.js → es/src/utils/validate.mjs} +0 -0
- /package/{lib/src/utils/watermark-cache.js → es/src/utils/watermark-cache.mjs} +0 -0
- /package/{lib/src/views/dsc-component/Sidebar/Item.vue3.js → es/src/views/dsc-component/Sidebar/Item.vue3.mjs} +0 -0
- /package/{lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js → es/src/views/dsc-component/Sidebar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/dsc-component/tabs/tab-content.vue2.js → es/src/views/dsc-component/tabs/tab-content.vue2.mjs} +0 -0
- /package/{lib/src/views/dsc-component/tabs/tab-content.vue3.js → es/src/views/dsc-component/tabs/tab-content.vue3.mjs} +0 -0
- /package/{lib/src/views/error-page/401.vue2.js → es/src/views/error-page/401.vue2.mjs} +0 -0
- /package/{lib/src/views/error-page/404.vue2.js → es/src/views/error-page/404.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/Layout.vue2.js → es/src/views/layout/Layout.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/AppMain.vue2.js → es/src/views/layout/components/AppMain.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Breadcrumb/index.vue2.js → es/src/views/layout/components/Breadcrumb/index.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Menubar/Item.vue3.js → es/src/views/layout/components/Menubar/Item.vue3.mjs} +0 -0
- /package/{lib/src/views/layout/components/Menubar/SidebarItem.vue2.js → es/src/views/layout/components/Menubar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Sidebar/Item.vue.js → es/src/views/layout/components/Sidebar/Item.vue.mjs} +0 -0
- /package/{lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js → es/src/views/layout/components/Sidebar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/iframe-page.vue2.js → es/src/views/layout/components/iframe-page.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/tabs/tab-content.vue2.js → es/src/views/layout/components/tabs/tab-content.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/tabs/tab-content.vue3.js → es/src/views/layout/components/tabs/tab-content.vue3.mjs} +0 -0
- /package/{lib/src/views/layout/tab-content-iframe-index.vue2.js → es/src/views/layout/tab-content-iframe-index.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/tab-content-index.vue2.js → es/src/views/layout/tab-content-index.vue2.mjs} +0 -0
- /package/{lib/src/views/login/authredirect.vue.js → es/src/views/login/authredirect.vue.mjs} +0 -0
- /package/{lib/src/views/redirect/index.vue.js → es/src/views/redirect/index.vue.mjs} +0 -0
- /package/{lib/src/views/svg-icon/src/svg-icon.vue.js → es/src/views/super-icon/src/index.vue3.mjs} +0 -0
- /package/{lib/src/views/wf-history/tache-subprocess-history.vue2.js → es/src/views/svg-icon/src/svg-icon.vue.mjs} +0 -0
- /package/{lib/super-grid/src/header-context-menu.vue2.js → es/src/views/wf-history/tache-subprocess-history.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/eventBus.js → es/super-grid/src/eventBus.mjs} +0 -0
- /package/{lib/super-grid/src/formatter.js → es/super-grid/src/formatter.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column-content.vue2.js → es/super-grid/src/header-context-menu.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column.vue2.js → es/super-grid/src/normal-column-content.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/row-operation.vue2.js → es/super-grid/src/normal-column.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/public-methods.js → es/super-grid/src/public-methods.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-advancedQuery.vue2.js → es/super-grid/src/row-operation.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-item.vue2.js → es/super-grid/src/search-form-advancedQuery.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-mobile.vue2.js → es/super-grid/src/search-form-item.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-ordinarySearch.vue2.js → es/super-grid/src/search-form-mobile.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form.vue2.js → es/super-grid/src/search-form-ordinarySearch.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/super-grid.vue2.js → es/super-grid/src/search-form.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-methods.js → es/super-grid/src/search-methods.mjs} +0 -0
- /package/{lib/super-grid/src/store.js → es/super-grid/src/store.mjs} +0 -0
- /package/{lib/super-icon/src/index.vue3.js → es/super-grid/src/super-grid.vue2.mjs} +0 -0
- /package/{lib/super-nine-grid/src/search-form.vue2.js → es/super-icon/src/index.vue3.mjs} +0 -0
- /package/{lib/super-nine-grid/src/formatter.js → es/super-nine-grid/src/formatter.mjs} +0 -0
- /package/{lib/super-nine-grid/src/super-nine-grid.vue2.js → es/super-nine-grid/src/search-form.vue2.mjs} +0 -0
- /package/{lib/super-nine-grid/src/search-methods.js → es/super-nine-grid/src/search-methods.mjs} +0 -0
- /package/{lib/super-nine-grid/src/store.js → es/super-nine-grid/src/store.mjs} +0 -0
- /package/{lib/svg-icon/src/svg-icon.vue2.js → es/super-nine-grid/src/super-nine-grid.vue2.mjs} +0 -0
- /package/{lib/valid-code/src/valid-code.vue2.js → es/svg-icon/src/svg-icon.vue2.mjs} +0 -0
- /package/{lib/utils/gogocodeTransfer.js → es/utils/gogocodeTransfer.mjs} +0 -0
- /package/{lib/workflow-history-list/src/workflow-history-list.vue2.js → es/valid-code/src/valid-code.vue2.mjs} +0 -0
- /package/{lib/workflow-history-list/src/api.js → es/workflow-history-list/src/api.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/search-result.vue2.js → es/workflow-history-list/src/workflow-history-list.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js → es/workgroup-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js → es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-inline/src/search-result.vue2.js → es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/workgroup-tree-service.js → es/workgroup-tree-mobile/src/workgroup-tree-service.mjs} +0 -0
- /package/{lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js → es/workgroup-user-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js → es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js → es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.mjs} +0 -0
- /package/{packages → src/views}/super-icon/index.js +0 -0
- /package/{packages → src/views}/super-icon/src/index.vue +0 -0
|
@@ -1,926 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- <div v-permission="'mc.ragFlow.converseWithChat'"> -->
|
|
3
|
-
<div v-if="enableAiChat">
|
|
4
|
-
<div ref="chatIcon" :style="style" style="position: fixed; cursor: pointer; z-index: 100">
|
|
5
|
-
<img :src="avatarUrl" alt="AI Avatar" @click="showChatDialog" style="width: 50px; height: 50px" />
|
|
6
|
-
</div>
|
|
7
|
-
<transition name="slide-up">
|
|
8
|
-
<div
|
|
9
|
-
v-show="showChatVisable"
|
|
10
|
-
ref="chatContainerRef"
|
|
11
|
-
class="chat-container"
|
|
12
|
-
:class="dialogFullScreen ? 'full-screen' : 'small-window'"
|
|
13
|
-
:style="{
|
|
14
|
-
display: 'flex', // 设置为横向布局
|
|
15
|
-
flexDirection: 'row' // 横向排列
|
|
16
|
-
}"
|
|
17
|
-
>
|
|
18
|
-
<SidebarItem
|
|
19
|
-
ref="sidebarItemRef"
|
|
20
|
-
:style="{ width: comonFuntionWidth + 'px' }"
|
|
21
|
-
@select-history-item="handleSelectHistoryItem"
|
|
22
|
-
@new-chat-session="newChatSession"
|
|
23
|
-
@update-ai-history="
|
|
24
|
-
(aiHistory:any) => {
|
|
25
|
-
currentAiHistory.value = aiHistory
|
|
26
|
-
}
|
|
27
|
-
"
|
|
28
|
-
:dialogFullScreen="dialogFullScreen"
|
|
29
|
-
:aiModel="currentAiModel"
|
|
30
|
-
/>
|
|
31
|
-
<!-- 聊天内容 -->
|
|
32
|
-
<div class="chat-content">
|
|
33
|
-
<!-- 头部 -->
|
|
34
|
-
<Header
|
|
35
|
-
:aiAvatar="aiAvatar"
|
|
36
|
-
:aiModel="currentAiModel"
|
|
37
|
-
:chatSessionId="chatSessionId"
|
|
38
|
-
:dialogFullScreen="dialogFullScreen"
|
|
39
|
-
:aiHistory="currentAiHistory"
|
|
40
|
-
@expandDialog="expandDialog"
|
|
41
|
-
@showChatDialog="showChatDialog"
|
|
42
|
-
@new-chat-session="newChatSession"
|
|
43
|
-
/>
|
|
44
|
-
<!-- 主体 -->
|
|
45
|
-
<div style="display: flex; flex-direction: row">
|
|
46
|
-
<!-- 侧边栏 -->
|
|
47
|
-
<!-- <SidebarItem
|
|
48
|
-
ref="sidebarItemRef"
|
|
49
|
-
:style="{ width: comonFuntionWidth + 'px' }"
|
|
50
|
-
@select-history-item="handleSelectHistoryItem"
|
|
51
|
-
@new-chat-session="newChatSession"
|
|
52
|
-
@update-ai-history="
|
|
53
|
-
(aiHistory:any) => {
|
|
54
|
-
currentAiHistory.value = aiHistory
|
|
55
|
-
}
|
|
56
|
-
"
|
|
57
|
-
:aiModel="currentAiModel"
|
|
58
|
-
/> -->
|
|
59
|
-
<!-- 聊天内容展示 -->
|
|
60
|
-
<div ref="talkMainRef" class="chat-embed__main" :key="talkMainRefKey">
|
|
61
|
-
<div class="chat-embed__main_content">
|
|
62
|
-
<BubbleList ref="bubbleListRef" :list="messageList" :max-height="bubbleMaxHeight" :is-fog="true">
|
|
63
|
-
<template #avatar="{ item }"> </template>
|
|
64
|
-
<template #content="{ item }">
|
|
65
|
-
<template v-if="!item.isRecommend && item.thinkingContent !== null">
|
|
66
|
-
<!-- ai消息正在回复中 -->
|
|
67
|
-
<Thinking
|
|
68
|
-
v-if="item.messageStatus !== 'failed'"
|
|
69
|
-
button-width="180px"
|
|
70
|
-
style="margin-bottom: 5px"
|
|
71
|
-
v-model="item.showThinkingContent"
|
|
72
|
-
:status="item.thinkingStatus"
|
|
73
|
-
auto-collapse
|
|
74
|
-
:content="item.thinkingContent"
|
|
75
|
-
:typing="{ interval: 20 }"
|
|
76
|
-
duration=".3s"
|
|
77
|
-
>
|
|
78
|
-
</Thinking>
|
|
79
|
-
</template>
|
|
80
|
-
<template v-if="item.link">
|
|
81
|
-
<a :href="item.link" :title="item.linkTitle" target="blank">{{ item.content }}</a>
|
|
82
|
-
</template>
|
|
83
|
-
<template v-else-if="item.content">
|
|
84
|
-
<!-- ai消息和用户消息 -->
|
|
85
|
-
<div
|
|
86
|
-
:class="item.role === 'ai' ? 'content-container' : 'content-borderless-container'"
|
|
87
|
-
class="chat-content-font"
|
|
88
|
-
>
|
|
89
|
-
<template v-if="item.role === 'ai' && !item.isRecommend">
|
|
90
|
-
<!-- 历史消息直接加载 -->
|
|
91
|
-
<XMarkdown
|
|
92
|
-
v-if="!item.messageType || item.messageType === 'history'"
|
|
93
|
-
:markdown="item.content"
|
|
94
|
-
:allowHtml="true"
|
|
95
|
-
allowHtml
|
|
96
|
-
:content="item.content"
|
|
97
|
-
:typing="{ interval: 10 }"
|
|
98
|
-
:is-markdown="true"
|
|
99
|
-
>
|
|
100
|
-
<template #amb-ai-tip="{ ...props }">
|
|
101
|
-
<!-- 文本中特殊提示标签处理 -->
|
|
102
|
-
<chatAiAnswerTip :item="item" :itemProps="props" @click-doc-agg="clickDocAgg" />
|
|
103
|
-
</template>
|
|
104
|
-
<template #amb-alink="{ ...props }">
|
|
105
|
-
<a :href="props.href" :target="props.target"> {{ props.text }}</a>
|
|
106
|
-
</template>
|
|
107
|
-
<template #amb-home-chart="{ ...props }">
|
|
108
|
-
<AnswerHomeChart :chartProps="props" class="chat-chart-container" />
|
|
109
|
-
</template>
|
|
110
|
-
<template #amb-interaction-data="{ ...props }">
|
|
111
|
-
<AnswerInteractionData :chartProps="props" class="chat-chart-container" />
|
|
112
|
-
</template>
|
|
113
|
-
<template #amb-auto-chart="{ ...props }">
|
|
114
|
-
<AnswerAutoChart :chartProps="props" class="chat-chart-container" />
|
|
115
|
-
</template>
|
|
116
|
-
</XMarkdown>
|
|
117
|
-
<!-- 流式加载 -->
|
|
118
|
-
<Typewriter
|
|
119
|
-
v-else
|
|
120
|
-
allowHtml
|
|
121
|
-
:content="item.content"
|
|
122
|
-
:typing="true"
|
|
123
|
-
:is-markdown="true"
|
|
124
|
-
is-fog
|
|
125
|
-
/>
|
|
126
|
-
</template>
|
|
127
|
-
<template v-else-if="item.role === 'user'">
|
|
128
|
-
{{ item.content }}
|
|
129
|
-
<template v-if="item.additionalData?.length > 0">
|
|
130
|
-
<!-- 附加数据 -->
|
|
131
|
-
<ChatAdditionData :item="item" @view-json="viewJson" @download-json="downloadJsonData" />
|
|
132
|
-
</template>
|
|
133
|
-
</template>
|
|
134
|
-
<template v-else> {{ item.content }} </template>
|
|
135
|
-
<div style="font-size: 10px; color: #999; text-align: right">
|
|
136
|
-
<span>{{ item.sendTime }}</span>
|
|
137
|
-
</div>
|
|
138
|
-
</div>
|
|
139
|
-
<template v-if="item.recommendations && item.recommendations.length > 0">
|
|
140
|
-
<!-- 推荐内容的消息 -->
|
|
141
|
-
<RecommendationMessage :item="item" @clickRecommendation="clickRecommendation" />
|
|
142
|
-
</template>
|
|
143
|
-
<div v-if="item.docAggs && item.docAggs.length > 0" style="margin-top: 5px; width: 100%">
|
|
144
|
-
<div class="content-container-header">引用文件</div>
|
|
145
|
-
<!-- 引用文件 -->
|
|
146
|
-
<div v-for="(docAgg, index) in item.docAggs" @click="clickDocAgg(docAgg)" class="doc-agg-item">
|
|
147
|
-
{{ docAgg.doc_name }}
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
</template>
|
|
151
|
-
</template>
|
|
152
|
-
<template #footer="{ item }">
|
|
153
|
-
<!-- 聊天气泡底部工具栏 -->
|
|
154
|
-
<ChatBubbleFooter :item="item" @regenerate="regenerateQuestion" />
|
|
155
|
-
</template>
|
|
156
|
-
</BubbleList>
|
|
157
|
-
<div style="display: none">{{ content }}</div>
|
|
158
|
-
</div>
|
|
159
|
-
<!-- 对话输入框 -->
|
|
160
|
-
<div ref="talkInputRef" class="chat-embed__input_container">
|
|
161
|
-
<ChatSender
|
|
162
|
-
:loading="loading"
|
|
163
|
-
ref="chatSenderRef"
|
|
164
|
-
@submit-question="submitQuestion"
|
|
165
|
-
@command-answer="commandAnswer"
|
|
166
|
-
@handle-cancel="handleCancel"
|
|
167
|
-
@view-json="viewJson"
|
|
168
|
-
@change-ai-model="changeAiModel"
|
|
169
|
-
/>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
</div>
|
|
173
|
-
</div>
|
|
174
|
-
</div>
|
|
175
|
-
</transition>
|
|
176
|
-
<json-view-dialog v-model="jsonDialogVisible" :json-object="jsonObject" :append-to-body="true" title="预览数据" />
|
|
177
|
-
</div>
|
|
178
|
-
</template>
|
|
179
|
-
<script setup lang="ts">
|
|
180
|
-
import { ref, onMounted, onUnmounted, nextTick, computed, watch, onBeforeUnmount } from 'vue'
|
|
181
|
-
import { useI18n } from 'vue-i18n'
|
|
182
|
-
import { BubbleList, Thinking, useXStream, Typewriter, XMarkdown } from 'vue-element-plus-x'
|
|
183
|
-
import { BubbleProps } from 'vue-element-plus-x/types/Bubble'
|
|
184
|
-
import { useDraggable } from '@vueuse/core'
|
|
185
|
-
import { getToken } from '../../../src/utils/auth'
|
|
186
|
-
import { getMessageTemplate, defaultMessage, createUserMessage, createAiMessage } from './chat-embed-message'
|
|
187
|
-
import { MessageItem, SubmitData, MESSAGE_STATUS, AI_MODELS } from './type'
|
|
188
|
-
import RecommendationMessage from './recommendation-message.vue'
|
|
189
|
-
import ChatAdditionData from './chat-addition-data.vue'
|
|
190
|
-
import ChatBubbleFooter from './chat-bubble-footer.vue'
|
|
191
|
-
import ChatAiAnswerTip from './chat-ai-answer-tip.vue'
|
|
192
|
-
import Header from './header.vue'
|
|
193
|
-
import ChatSender from './chat-sender.vue'
|
|
194
|
-
import { JsonViewDialog } from '../../json-view'
|
|
195
|
-
import AnswerHomeChart from './components/answer-home-chart.vue'
|
|
196
|
-
import AnswerInteractionData from './components/answer-interaction-data.vue'
|
|
197
|
-
import AnswerAutoChart from './components/answer-auto-chart.vue'
|
|
198
|
-
import avatarUrl from '../../../src/assets/chat-embed/robot.gif?url'
|
|
199
|
-
import SidebarItem from './sidebar-item.vue'
|
|
200
|
-
import { v4 as uuid } from 'uuid'
|
|
201
|
-
import { generateFileName, downloadJsonFile } from './util/text-file-util.ts'
|
|
202
|
-
import { replaceAiTipTags, parseAnswerContent, extractFilenameFromUrl } from './util/chat-embed-util.ts'
|
|
203
|
-
import mcpUtils from './util/mcp-utils.ts'
|
|
204
|
-
import { useRoute } from 'vue-router'
|
|
205
|
-
|
|
206
|
-
const customSystemCode: string | null = getCustomSystemParam()
|
|
207
|
-
function getCustomSystemParam() {
|
|
208
|
-
try {
|
|
209
|
-
// 获取router内的customSystem参数
|
|
210
|
-
const route = useRoute()
|
|
211
|
-
if (route.query.customSystem) {
|
|
212
|
-
return String(route.query.customSystem)
|
|
213
|
-
}
|
|
214
|
-
return null
|
|
215
|
-
} catch (error) {
|
|
216
|
-
console.error('获取customSystem参数失败')
|
|
217
|
-
return null
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
// 初始化
|
|
222
|
-
const enableAiChat = ref(window.$vueApp?.config?.globalProperties?.enableAiChat || false)
|
|
223
|
-
const { startStream, cancel, data, error, isLoading } = useXStream()
|
|
224
|
-
const { t } = useI18n()
|
|
225
|
-
const chatIcon = ref()
|
|
226
|
-
const isActualClick = ref(true)
|
|
227
|
-
|
|
228
|
-
// 聊天内容状态
|
|
229
|
-
// 消息列表
|
|
230
|
-
const messageList = ref<MessageItem[]>([])
|
|
231
|
-
// 正在回答的内容
|
|
232
|
-
const answerContent = ref<MessageItem>({} as MessageItem)
|
|
233
|
-
const loading = ref(false)
|
|
234
|
-
// 当前AI模型
|
|
235
|
-
const currentAiModel = ref<string>(AI_MODELS.RAGFLOW)
|
|
236
|
-
// 模型对应的会话ID
|
|
237
|
-
const chatSessionId = ref<any>({})
|
|
238
|
-
// 各模型对应的历史回答内容
|
|
239
|
-
const aiModelAnswerHistory: Record<string, MessageItem[]> = {}
|
|
240
|
-
// 是否是新会话, 只要ai回答过了,就不算是新会话了
|
|
241
|
-
const isNewChatSession = ref(true)
|
|
242
|
-
const currentAiHistory = ref<any>(null)
|
|
243
|
-
|
|
244
|
-
// UI状态
|
|
245
|
-
const showChatVisable = ref(false)
|
|
246
|
-
const dialogFullScreen = ref(false)
|
|
247
|
-
const talkMainRefKey = ref(0)
|
|
248
|
-
const bubbleMaxWidth = ref('')
|
|
249
|
-
const bubbleMaxHeight = ref('500px')
|
|
250
|
-
const comonFuntionWidth = ref(250)
|
|
251
|
-
const aiAvatar = ref('https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png')
|
|
252
|
-
|
|
253
|
-
// json预览弹窗状态
|
|
254
|
-
const jsonDialogVisible = ref(false)
|
|
255
|
-
const jsonObject = ref({})
|
|
256
|
-
|
|
257
|
-
// DOM引用
|
|
258
|
-
const bubbleListRef = ref()
|
|
259
|
-
const talkInputRef = ref()
|
|
260
|
-
const chatContainerRef = ref()
|
|
261
|
-
const talkMainRef = ref()
|
|
262
|
-
const sidebarItemRef = ref()
|
|
263
|
-
|
|
264
|
-
// 流式处理状态
|
|
265
|
-
const isStreamActive = ref(false)
|
|
266
|
-
let abortController: AbortController | null = null
|
|
267
|
-
|
|
268
|
-
const chatSenderRef = ref<any>(null)
|
|
269
|
-
|
|
270
|
-
// 拖拽功能设置
|
|
271
|
-
const initialX = document.documentElement.clientWidth - 100
|
|
272
|
-
const initialY = document.documentElement.clientHeight - 100
|
|
273
|
-
const { x, y, style } = useDraggable(chatIcon, {
|
|
274
|
-
initialValue: { x: initialX, y: initialY },
|
|
275
|
-
preventDefault: true,
|
|
276
|
-
onStart() {
|
|
277
|
-
isActualClick.value = true
|
|
278
|
-
},
|
|
279
|
-
onMove(position) {
|
|
280
|
-
isActualClick.value = false
|
|
281
|
-
constrainPosition(position)
|
|
282
|
-
},
|
|
283
|
-
onEnd() {
|
|
284
|
-
adjustChatIconPosition()
|
|
285
|
-
setTimeout(() => (isActualClick.value = true), 50)
|
|
286
|
-
}
|
|
287
|
-
})
|
|
288
|
-
|
|
289
|
-
function constrainPosition(position: { x: number; y: number }) {
|
|
290
|
-
const maxX = window.innerWidth - (chatIcon.value?.offsetWidth || 0)
|
|
291
|
-
const maxY = window.innerHeight - (chatIcon.value?.offsetHeight || 0)
|
|
292
|
-
position.x = Math.max(0, Math.min(position.x, maxX))
|
|
293
|
-
position.y = Math.max(0, Math.min(position.y, maxY))
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
function adjustChatIconPosition() {
|
|
297
|
-
if (!chatIcon.value) return
|
|
298
|
-
const maxX = window.innerWidth - chatIcon.value.offsetWidth
|
|
299
|
-
const maxY = window.innerHeight - chatIcon.value.offsetHeight
|
|
300
|
-
if (x.value > maxX) x.value = maxX
|
|
301
|
-
if (y.value > maxY) y.value = maxY
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
function resetChat(aiModel: string) {
|
|
305
|
-
isNewChatSession.value = true
|
|
306
|
-
currentAiModel.value = aiModel
|
|
307
|
-
messageList.value = []
|
|
308
|
-
if (!aiModelAnswerHistory[aiModel] || aiModelAnswerHistory[aiModel].length === 0) {
|
|
309
|
-
messageList.value.push(defaultMessage)
|
|
310
|
-
} else {
|
|
311
|
-
// 把最后一个插入到messageList
|
|
312
|
-
messageList.value = aiModelAnswerHistory[aiModel]
|
|
313
|
-
bubbleListRef.value?.scrollToBottom()
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
function showError(message: string = t('chatEmbed.requestFailed')) {
|
|
318
|
-
messageList.value.push(getMessageTemplate('ai', message, false, false))
|
|
319
|
-
loading.value = false
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
// 初始化聊天
|
|
323
|
-
resetChat(currentAiModel.value)
|
|
324
|
-
|
|
325
|
-
watch(bubbleMaxHeight, (val) => {
|
|
326
|
-
document.documentElement.style.setProperty('--el-bubble-list-max-height', val)
|
|
327
|
-
})
|
|
328
|
-
|
|
329
|
-
onMounted(() => {
|
|
330
|
-
window.addEventListener('resize', adjustChatIconPosition)
|
|
331
|
-
if (talkInputRef.value) {
|
|
332
|
-
// 动态计算内容框的高度
|
|
333
|
-
const resizeObserver = new ResizeObserver(() => {
|
|
334
|
-
setHeightAndWidth()
|
|
335
|
-
})
|
|
336
|
-
resizeObserver.observe(talkInputRef.value.$el || talkInputRef.value)
|
|
337
|
-
// 保存observer以便后续销毁
|
|
338
|
-
talkInputRef.value._resizeObserver = resizeObserver
|
|
339
|
-
}
|
|
340
|
-
})
|
|
341
|
-
onBeforeUnmount(() => {
|
|
342
|
-
// 销毁监听动态计算内容框的高度
|
|
343
|
-
if (talkInputRef.value?._resizeObserver) {
|
|
344
|
-
talkInputRef.value._resizeObserver.disconnect()
|
|
345
|
-
}
|
|
346
|
-
})
|
|
347
|
-
onUnmounted(() => {
|
|
348
|
-
window.removeEventListener('resize', adjustChatIconPosition)
|
|
349
|
-
cleanup()
|
|
350
|
-
})
|
|
351
|
-
|
|
352
|
-
function cleanup() {
|
|
353
|
-
if (abortController) {
|
|
354
|
-
abortController.abort()
|
|
355
|
-
abortController = null
|
|
356
|
-
}
|
|
357
|
-
cancel()
|
|
358
|
-
isStreamActive.value = false
|
|
359
|
-
loading.value = false
|
|
360
|
-
}
|
|
361
|
-
// 聊天相关方法
|
|
362
|
-
function showChatDialog() {
|
|
363
|
-
if (isActualClick.value) {
|
|
364
|
-
showChatVisable.value = !showChatVisable.value
|
|
365
|
-
setHeightAndWidth()
|
|
366
|
-
sidebarItemRef.value.getHistory()
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
function getSessionId(aiModel: string): string {
|
|
371
|
-
// 初始化百炼的会话ID
|
|
372
|
-
if (!chatSessionId.value[aiModel]) {
|
|
373
|
-
chatSessionId.value[aiModel] = uuid().replace(/-/g, '')
|
|
374
|
-
}
|
|
375
|
-
return chatSessionId.value[aiModel]
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
// 优化的计算属性 - 减少不必要的重新计算
|
|
379
|
-
const content = computed(() => {
|
|
380
|
-
if (!isStreamActive.value || !data.value.length) {
|
|
381
|
-
return ''
|
|
382
|
-
}
|
|
383
|
-
let text = ''
|
|
384
|
-
// 获取data.value的最后一条
|
|
385
|
-
const item = data.value[data.value.length - 1]
|
|
386
|
-
try {
|
|
387
|
-
const responseMessage = JSON.parse(item.data)
|
|
388
|
-
if (responseMessage.isChunk) {
|
|
389
|
-
// 主要是百练ai后端处理的数据
|
|
390
|
-
if (responseMessage.data === true && answerContent.value.content) {
|
|
391
|
-
answerContent.value.thinkingStatus = MESSAGE_STATUS.END
|
|
392
|
-
answerContent.value.showThinkingContent = true
|
|
393
|
-
answerContent.value = {} as MessageItem
|
|
394
|
-
loading.value = false
|
|
395
|
-
} else {
|
|
396
|
-
updateStreamContent(responseMessage)
|
|
397
|
-
}
|
|
398
|
-
} else {
|
|
399
|
-
if (!responseMessage.data?.id && responseMessage.data !== true) {
|
|
400
|
-
// 处理某种特殊情况, 后续看要不要去掉
|
|
401
|
-
loading.value = false
|
|
402
|
-
if (answerContent.value) {
|
|
403
|
-
answerContent.value.thinkingStatus = MESSAGE_STATUS.END
|
|
404
|
-
}
|
|
405
|
-
return text
|
|
406
|
-
}
|
|
407
|
-
if (responseMessage.data.reference) {
|
|
408
|
-
if (responseMessage.data.reference.doc_aggs?.length) {
|
|
409
|
-
answerContent.value.docAggs = responseMessage.data.reference.doc_aggs
|
|
410
|
-
}
|
|
411
|
-
if (responseMessage.data.reference.chunks?.length) {
|
|
412
|
-
answerContent.value.referenceChunks = responseMessage.data.reference.chunks
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
if (responseMessage.data === true) {
|
|
416
|
-
finishStreamWithAnswer(responseMessage.data.answer)
|
|
417
|
-
return text
|
|
418
|
-
} else {
|
|
419
|
-
updateStreamContent(responseMessage)
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
} catch (error) {
|
|
423
|
-
console.error('解析数据时出错:', error)
|
|
424
|
-
loading.value = false
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
return text
|
|
428
|
-
})
|
|
429
|
-
// 处理流式数据结束
|
|
430
|
-
function finishStreamWithAnswer(answer: string) {
|
|
431
|
-
loading.value = false
|
|
432
|
-
if (!answerContent.value) return
|
|
433
|
-
answerContent.value.content = replaceAiTipTags(answerContent.value.content)
|
|
434
|
-
// if (answerContent.value.thinkingContent) {
|
|
435
|
-
// answerContent.value.thinkingContent = replaceAiTipTags(answerContent.value.thinkingContent)
|
|
436
|
-
// }
|
|
437
|
-
finishAnswerStatus()
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
// 更新流式内容
|
|
441
|
-
function updateStreamContent(responseMessage: any) {
|
|
442
|
-
const answer = responseMessage.data.answer
|
|
443
|
-
if (!answer || !answerContent.value) return
|
|
444
|
-
|
|
445
|
-
const { thinkingContent, mainContent } = parseAnswerContent(answer)
|
|
446
|
-
if (thinkingContent) {
|
|
447
|
-
answerContent.value.thinkingContent = thinkingContent
|
|
448
|
-
}
|
|
449
|
-
if (mainContent) {
|
|
450
|
-
if (responseMessage.isChunk) {
|
|
451
|
-
answerContent.value.content += mainContent
|
|
452
|
-
} else {
|
|
453
|
-
answerContent.value.content = mainContent
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
// 取消操作的统一处理
|
|
458
|
-
function handleCancel() {
|
|
459
|
-
loading.value = false
|
|
460
|
-
// 取消网络请求
|
|
461
|
-
if (abortController) {
|
|
462
|
-
abortController.abort()
|
|
463
|
-
abortController = null
|
|
464
|
-
}
|
|
465
|
-
// 取消流式处理
|
|
466
|
-
if (isStreamActive.value) {
|
|
467
|
-
cancel() // 调用 useXStream 的 cancel 方法
|
|
468
|
-
isStreamActive.value = false
|
|
469
|
-
// 更新最后一条 AI 消息的状态
|
|
470
|
-
if (messageList.value.length > 0) {
|
|
471
|
-
const lastMessage = messageList.value[messageList.value.length - 1]
|
|
472
|
-
if (lastMessage && lastMessage.role === 'ai') {
|
|
473
|
-
lastMessage.thinkingStatus = MESSAGE_STATUS.END
|
|
474
|
-
// 如果消息内容为空,可以添加一个取消的提示
|
|
475
|
-
if (!lastMessage.content) {
|
|
476
|
-
lastMessage.content = '回答已取消'
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
// 重置答案内容
|
|
483
|
-
if (answerContent.value && Object.keys(answerContent.value).length > 0) {
|
|
484
|
-
answerContent.value.thinkingStatus = MESSAGE_STATUS.END
|
|
485
|
-
answerContent.value = {} as MessageItem
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
// 处理聊天窗口的全屏和缩小
|
|
490
|
-
function expandDialog() {
|
|
491
|
-
dialogFullScreen.value = !dialogFullScreen.value
|
|
492
|
-
setHeightAndWidth()
|
|
493
|
-
}
|
|
494
|
-
// 动态计算内容区域的高度
|
|
495
|
-
function setHeightAndWidth() {
|
|
496
|
-
let heightVh = 100
|
|
497
|
-
let widthVw = 100
|
|
498
|
-
if (dialogFullScreen.value) {
|
|
499
|
-
heightVh = 100
|
|
500
|
-
}
|
|
501
|
-
nextTick(() => {
|
|
502
|
-
if (dialogFullScreen.value) {
|
|
503
|
-
// chatContainerRef.value.style.height = `calc(${heightVh}vh - var(--chat-padding) * 2)`
|
|
504
|
-
// chatContainerRef.value.style.width = `calc(${widthVw}vw - var(--chat-padding) * 2)`
|
|
505
|
-
chatContainerRef.value.style.height = `calc(${heightVh}vh)`
|
|
506
|
-
chatContainerRef.value.style.width = `calc(${widthVw}vw)`
|
|
507
|
-
bubbleMaxWidth.value = `calc(${widthVw}vw - var(--chat-padding) * 2) * 0.8`
|
|
508
|
-
} else {
|
|
509
|
-
chatContainerRef.value.style.height = `calc(${heightVh}vh - var(--chat-padding) * 2)`
|
|
510
|
-
chatContainerRef.value.style.width = 460 + comonFuntionWidth.value + 'px'
|
|
511
|
-
bubbleMaxWidth.value = (460 + comonFuntionWidth.value) * 0.8 + 'px'
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
const talkHeight = talkInputRef.value?.offsetHeight || 80
|
|
515
|
-
// 定义具体的像素值
|
|
516
|
-
const headerHeight = 56
|
|
517
|
-
const chatPadding = 12
|
|
518
|
-
// 获取窗口高度
|
|
519
|
-
const windowHeight = window.innerHeight
|
|
520
|
-
// 计算 bubbleMaxHeight 的像素值
|
|
521
|
-
const bubbleMaxHeightPx = (windowHeight * heightVh) / 100 - headerHeight - talkHeight - chatPadding * 6
|
|
522
|
-
bubbleMaxHeight.value = bubbleMaxHeightPx + 'px'
|
|
523
|
-
})
|
|
524
|
-
}
|
|
525
|
-
// 提交问题
|
|
526
|
-
function submitQuestion(submitData: SubmitData) {
|
|
527
|
-
// 先取消之前的请求
|
|
528
|
-
if (loading.value) {
|
|
529
|
-
handleCancel()
|
|
530
|
-
}
|
|
531
|
-
submitData.systemCode = customSystemCode
|
|
532
|
-
isStreamActive.value = false
|
|
533
|
-
switch (submitData.aiModel) {
|
|
534
|
-
case AI_MODELS.RAGFLOW:
|
|
535
|
-
// 流程体系类
|
|
536
|
-
sendRagflowQuestion(submitData.question)
|
|
537
|
-
break
|
|
538
|
-
case AI_MODELS.DATABASE:
|
|
539
|
-
// QMS数据库类
|
|
540
|
-
sendMcpMessage(submitData)
|
|
541
|
-
break
|
|
542
|
-
case AI_MODELS.DEEPSEEK:
|
|
543
|
-
// DeepSeek问答
|
|
544
|
-
sendDeepSeekQuestion(submitData)
|
|
545
|
-
break
|
|
546
|
-
case AI_MODELS.INTERACTION:
|
|
547
|
-
// 系统交互
|
|
548
|
-
sendSystemInteractionQuestion(submitData)
|
|
549
|
-
break
|
|
550
|
-
case AI_MODELS.PPT_GENERATION:
|
|
551
|
-
// 生成PPT
|
|
552
|
-
sendCreatePPTQuestion(submitData)
|
|
553
|
-
break
|
|
554
|
-
default:
|
|
555
|
-
console.warn('Unknown AI model:', submitData.aiModel)
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
// 重新生成问题
|
|
559
|
-
function regenerateQuestion(answerData: any) {
|
|
560
|
-
const submitData: SubmitData = {
|
|
561
|
-
question: answerData.question,
|
|
562
|
-
additionalData: answerData.additionalData,
|
|
563
|
-
additionalDataLabel: answerData.additionalDataLabel,
|
|
564
|
-
menuName: answerData.menuName,
|
|
565
|
-
menuCode: answerData.menuCode,
|
|
566
|
-
aiModel: currentAiModel.value
|
|
567
|
-
}
|
|
568
|
-
sendDeepSeekQuestion(submitData)
|
|
569
|
-
}
|
|
570
|
-
// 推荐内容点击
|
|
571
|
-
function clickRecommendation(item: BubbleProps) {
|
|
572
|
-
console.log('clickRecommendation', item)
|
|
573
|
-
if (item.content) {
|
|
574
|
-
const submitData: SubmitData = {
|
|
575
|
-
question: item.content,
|
|
576
|
-
aiModel: currentAiModel.value
|
|
577
|
-
}
|
|
578
|
-
sendDeepSeekQuestion(submitData)
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
// 新建会话
|
|
582
|
-
function newChatSession() {
|
|
583
|
-
chatSenderRef.value?.newChatSession()
|
|
584
|
-
messageList.value = []
|
|
585
|
-
// 清理会话(仅对DeepSeek模型)
|
|
586
|
-
if (currentAiModel.value === AI_MODELS.DEEPSEEK) {
|
|
587
|
-
clearDeepSeekSession()
|
|
588
|
-
}
|
|
589
|
-
currentAiHistory.value = null
|
|
590
|
-
// 重置状态
|
|
591
|
-
chatSessionId.value[currentAiModel.value] = null
|
|
592
|
-
loading.value = false
|
|
593
|
-
aiModelAnswerHistory[currentAiModel.value] = []
|
|
594
|
-
resetChat(currentAiModel.value)
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
// 清理百炼会话
|
|
598
|
-
async function clearDeepSeekSession() {
|
|
599
|
-
if (chatSessionId.value[currentAiModel.value]) {
|
|
600
|
-
try {
|
|
601
|
-
await (window as any).$vueApp.config.globalProperties.$http.post(
|
|
602
|
-
(window as any).$vueApp.config.globalProperties.baseAPI +
|
|
603
|
-
'/component/ai/multiple-fuck/clear/' +
|
|
604
|
-
chatSessionId.value[currentAiModel.value]
|
|
605
|
-
)
|
|
606
|
-
} catch (err) {
|
|
607
|
-
console.error('Failed to clear session:', err)
|
|
608
|
-
showError()
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
// 切换AI模型
|
|
613
|
-
function changeAiModel(newModel: string) {
|
|
614
|
-
aiModelAnswerHistory[currentAiModel.value] = JSON.parse(JSON.stringify(messageList.value))
|
|
615
|
-
resetChat(newModel)
|
|
616
|
-
}
|
|
617
|
-
// JSON预览
|
|
618
|
-
function viewJson(viewData: any) {
|
|
619
|
-
jsonObject.value = viewData
|
|
620
|
-
jsonDialogVisible.value = true
|
|
621
|
-
}
|
|
622
|
-
// 下载JSON数据
|
|
623
|
-
function downloadJsonData(data: any, fileName: string) {
|
|
624
|
-
try {
|
|
625
|
-
downloadJsonFile(data, generateFileName(fileName || 'data'))
|
|
626
|
-
} catch (error) {
|
|
627
|
-
console.error('下载失败:', error)
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
async function sendDeepSeekQuestion(submitData: SubmitData) {
|
|
632
|
-
if (!submitData.question) return
|
|
633
|
-
try {
|
|
634
|
-
// 添加用户消息
|
|
635
|
-
const userMessage = createUserMessage(submitData)
|
|
636
|
-
messageList.value.push(userMessage)
|
|
637
|
-
isStreamActive.value = true
|
|
638
|
-
// 初始化状态
|
|
639
|
-
loading.value = true
|
|
640
|
-
const sessionId = getSessionId(currentAiModel.value)
|
|
641
|
-
// 创建AI响应消息
|
|
642
|
-
answerContent.value = createAiMessage(submitData, true)
|
|
643
|
-
messageList.value.push(answerContent.value)
|
|
644
|
-
|
|
645
|
-
abortController = new AbortController()
|
|
646
|
-
|
|
647
|
-
const token = getToken()
|
|
648
|
-
const response = await fetch(window.$vueApp.config.globalProperties.baseAPI + '/component/ai/multiple-fuck', {
|
|
649
|
-
method: 'POST',
|
|
650
|
-
headers: { 'Content-Type': 'application/json', authorization: token ? token : '' },
|
|
651
|
-
body: JSON.stringify({
|
|
652
|
-
question: submitData.question,
|
|
653
|
-
messageId: sessionId,
|
|
654
|
-
data: JSON.stringify(submitData.additionalData),
|
|
655
|
-
fileId: submitData.fileId,
|
|
656
|
-
systemCode: customSystemCode
|
|
657
|
-
}),
|
|
658
|
-
signal: abortController.signal // 绑定 abort 信号
|
|
659
|
-
})
|
|
660
|
-
if (!response.body) {
|
|
661
|
-
throw new Error('No response body')
|
|
662
|
-
}
|
|
663
|
-
await startStream({ readableStream: response.body })
|
|
664
|
-
} catch (err) {
|
|
665
|
-
console.error('DeepSeek error:', err)
|
|
666
|
-
showError()
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
function sendRagflowQuestion(question: string | undefined) {
|
|
671
|
-
if (!question) return
|
|
672
|
-
data.value = []
|
|
673
|
-
messageList.value.push(getMessageTemplate('user', question, true, false))
|
|
674
|
-
loading.value = true
|
|
675
|
-
if (!chatSessionId.value[currentAiModel.value]) {
|
|
676
|
-
createRagflowSession(question)
|
|
677
|
-
} else {
|
|
678
|
-
startSSE(question)
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
async function createRagflowSession(question: string) {
|
|
683
|
-
try {
|
|
684
|
-
const response = await window.$vueApp.config.globalProperties.$http.post(
|
|
685
|
-
window.$vueApp.config.globalProperties.baseAPI + '/mc/rag-flow/converse-with-chat',
|
|
686
|
-
{ question }
|
|
687
|
-
)
|
|
688
|
-
chatSessionId.value[currentAiModel.value] = response.session_id
|
|
689
|
-
startSSE(question)
|
|
690
|
-
} catch (err) {
|
|
691
|
-
console.error('Failed to create session:', err)
|
|
692
|
-
showError()
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
async function startSSE(question: string) {
|
|
697
|
-
try {
|
|
698
|
-
isStreamActive.value = true
|
|
699
|
-
answerContent.value = createAiMessage({ question } as SubmitData, true)
|
|
700
|
-
answerContent.value.messageType = 'realtime'
|
|
701
|
-
messageList.value.push(answerContent.value)
|
|
702
|
-
// 创建新的 AbortController 用于 SSE 请求
|
|
703
|
-
abortController = new AbortController()
|
|
704
|
-
const token = getToken()
|
|
705
|
-
const response = await fetch(
|
|
706
|
-
window.$vueApp.config.globalProperties.baseAPI + '/mc/rag-flow/converse-with-chat-stream',
|
|
707
|
-
{
|
|
708
|
-
method: 'POST',
|
|
709
|
-
headers: { 'Content-Type': 'text/event-stream', authorization: token },
|
|
710
|
-
body: JSON.stringify({
|
|
711
|
-
question,
|
|
712
|
-
stream: true,
|
|
713
|
-
systemCode: customSystemCode,
|
|
714
|
-
session_id: chatSessionId.value[currentAiModel.value]
|
|
715
|
-
}),
|
|
716
|
-
signal: abortController.signal // 绑定 abort 信号
|
|
717
|
-
}
|
|
718
|
-
)
|
|
719
|
-
if (!response.body) {
|
|
720
|
-
throw new Error('No response body')
|
|
721
|
-
}
|
|
722
|
-
await startStream({ readableStream: response.body })
|
|
723
|
-
} catch (err: any) {
|
|
724
|
-
if (err?.name === 'AbortError') {
|
|
725
|
-
console.log('SSE request was cancelled')
|
|
726
|
-
return
|
|
727
|
-
}
|
|
728
|
-
console.error('SSE error:', err)
|
|
729
|
-
loading.value = false
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
// 处理系统交互问题
|
|
734
|
-
function sendSystemInteractionQuestion(submitData: SubmitData) {
|
|
735
|
-
if (!submitData.question) return
|
|
736
|
-
|
|
737
|
-
try {
|
|
738
|
-
// 添加用户消息
|
|
739
|
-
const userMessage = createUserMessage(submitData)
|
|
740
|
-
messageList.value.push(userMessage)
|
|
741
|
-
// 系统交互时,解析命令和参数功能
|
|
742
|
-
chatSenderRef.value.parseCommand()
|
|
743
|
-
} catch (err) {
|
|
744
|
-
console.error('systemInteraction error:', err)
|
|
745
|
-
showError()
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
// 点击引用文件
|
|
750
|
-
function clickDocAgg(docAgg: any) {
|
|
751
|
-
// docAgg.doc_name 获取doc_name文件后缀
|
|
752
|
-
const fileExtension = docAgg.doc_name.split('.').pop()
|
|
753
|
-
// TODO 需要动态获取ragflow地址
|
|
754
|
-
// /document/19c4bad4c41d11f088360242ac120006?ext=xlsx&prefix=document
|
|
755
|
-
window.open(`http://101.43.172.105/document/${docAgg.doc_id}?ext=${fileExtension}&prefix=document`)
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
// 系统交互时,解析命令和参数的结果
|
|
759
|
-
function commandAnswer(param: any) {
|
|
760
|
-
console.log('commandAnswer---param=', param)
|
|
761
|
-
// 初始化状态
|
|
762
|
-
loading.value = true
|
|
763
|
-
getSessionId(currentAiModel.value)
|
|
764
|
-
const submitData: SubmitData = {
|
|
765
|
-
question: param.content,
|
|
766
|
-
aiModel: currentAiModel.value
|
|
767
|
-
}
|
|
768
|
-
// 创建AI响应消息
|
|
769
|
-
answerContent.value = createAiMessage(submitData, false)
|
|
770
|
-
messageList.value.push(answerContent.value)
|
|
771
|
-
answerContent.value.thinkingStatus = MESSAGE_STATUS.NONE
|
|
772
|
-
if (param.url) {
|
|
773
|
-
const title = param.command ? param.command : param.content
|
|
774
|
-
answerContent.value.link = param.url
|
|
775
|
-
answerContent.value.linkTitle = title
|
|
776
|
-
answerContent.value.content = param.content
|
|
777
|
-
// answerContent.value.content = '[' + param.content + '](' + param.url + ' "' + title + '")'
|
|
778
|
-
} else {
|
|
779
|
-
answerContent.value.content = param.content
|
|
780
|
-
}
|
|
781
|
-
answerContent.value = {} as MessageItem
|
|
782
|
-
loading.value = false
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
function sendCreatePPTQuestion(submitData: SubmitData) {
|
|
786
|
-
if (!submitData.question) return
|
|
787
|
-
// 添加用户消息
|
|
788
|
-
const userMessage = createUserMessage(submitData)
|
|
789
|
-
messageList.value.push(userMessage)
|
|
790
|
-
isStreamActive.value = true
|
|
791
|
-
// 初始化状态
|
|
792
|
-
loading.value = true
|
|
793
|
-
// 创建AI响应消息
|
|
794
|
-
answerContent.value = createAiMessage(submitData, true)
|
|
795
|
-
messageList.value.push(answerContent.value)
|
|
796
|
-
const sessionId = getSessionId(currentAiModel.value)
|
|
797
|
-
window.$vueApp.config.globalProperties.$http
|
|
798
|
-
.post(window.$vueApp.config.globalProperties.baseAPI + '/component/aippt/createPpt', {
|
|
799
|
-
menuName: submitData.menuName,
|
|
800
|
-
menuCode: submitData.menuCode,
|
|
801
|
-
question: submitData.question,
|
|
802
|
-
additionalDataLabel: submitData.additionalDataLabel,
|
|
803
|
-
additionalData: JSON.stringify(submitData.additionalData),
|
|
804
|
-
fileId: submitData.fileId,
|
|
805
|
-
fileInfos: submitData.fileInfos,
|
|
806
|
-
systemCode: customSystemCode,
|
|
807
|
-
messageId: sessionId
|
|
808
|
-
})
|
|
809
|
-
.then((res) => {
|
|
810
|
-
if (res.fileUrl) {
|
|
811
|
-
const fileName = extractFilenameFromUrl(res.fileUrl) || '点击下载'
|
|
812
|
-
answerContent.value.content = `PPT已生成:[${fileName}](${res.fileUrl})`
|
|
813
|
-
} else {
|
|
814
|
-
answerContent.value.content = 'PPT生成失败,请稍后重试'
|
|
815
|
-
}
|
|
816
|
-
finishAnswerStatus()
|
|
817
|
-
loading.value = false
|
|
818
|
-
window.open(res.fileUrl, '_blank')
|
|
819
|
-
})
|
|
820
|
-
.finally(() => {
|
|
821
|
-
loading.value = false
|
|
822
|
-
})
|
|
823
|
-
}
|
|
824
|
-
function sendMcpMessage(submitData: SubmitData) {
|
|
825
|
-
loading.value = true
|
|
826
|
-
if (!submitData.question) {
|
|
827
|
-
return
|
|
828
|
-
}
|
|
829
|
-
// 添加用户消息
|
|
830
|
-
const userMessage = createUserMessage(submitData)
|
|
831
|
-
messageList.value.push(userMessage)
|
|
832
|
-
// 创建AI响应消息
|
|
833
|
-
answerContent.value = createAiMessage(submitData, true)
|
|
834
|
-
messageList.value.push(answerContent.value)
|
|
835
|
-
try {
|
|
836
|
-
mcpUtils
|
|
837
|
-
.sendMessageToMcp(submitData, getSessionId(currentAiModel.value))
|
|
838
|
-
.then(({ answerMessage, errorMessage }) => {
|
|
839
|
-
loading.value = false
|
|
840
|
-
if (errorMessage) {
|
|
841
|
-
packegNoramlAnswerMessage(errorMessage, true)
|
|
842
|
-
} else if (answerMessage) {
|
|
843
|
-
packegNoramlAnswerMessage(answerMessage)
|
|
844
|
-
}
|
|
845
|
-
})
|
|
846
|
-
.catch((err) => {
|
|
847
|
-
loading.value = false
|
|
848
|
-
console.error('MCP error:', err)
|
|
849
|
-
packegNoramlAnswerMessage('未能返回有效信息', true)
|
|
850
|
-
})
|
|
851
|
-
} catch (err) {
|
|
852
|
-
loading.value = false
|
|
853
|
-
console.error('MCP error:', err)
|
|
854
|
-
packegNoramlAnswerMessage('未能返回有效信息', true)
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
function finishAnswerStatus(isError = false) {
|
|
859
|
-
answerContent.value.thinkingStatus = MESSAGE_STATUS.END
|
|
860
|
-
answerContent.value.showThinkingContent = true
|
|
861
|
-
answerContent.value.messageType = 'history'
|
|
862
|
-
answerContent.value = {} as MessageItem
|
|
863
|
-
if (isNewChatSession.value) {
|
|
864
|
-
sidebarItemRef.value.addCurrentToSessionHistory(chatSessionId.value[currentAiModel.value], messageList.value)
|
|
865
|
-
}
|
|
866
|
-
if (!isError) {
|
|
867
|
-
isNewChatSession.value = false
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
function packegNoramlAnswerMessage(answerMessage: string, isError = false) {
|
|
872
|
-
answerContent.value.content = answerMessage
|
|
873
|
-
if (isError) {
|
|
874
|
-
answerContent.value.thinkingStatus = MESSAGE_STATUS.ERROR
|
|
875
|
-
}
|
|
876
|
-
finishAnswerStatus(isError)
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
function handleSelectHistoryItem(aiHistory: any, itemList: MessageItem[]) {
|
|
880
|
-
isNewChatSession.value = false
|
|
881
|
-
currentAiHistory.value = aiHistory
|
|
882
|
-
chatSessionId.value[currentAiModel.value] = aiHistory.sessionId
|
|
883
|
-
if (itemList.length > 0) {
|
|
884
|
-
messageList.value = []
|
|
885
|
-
}
|
|
886
|
-
nextTick(() => {
|
|
887
|
-
messageList.value = itemList
|
|
888
|
-
nextTick(() => {
|
|
889
|
-
bubbleListRef.value?.scrollToBottom()
|
|
890
|
-
})
|
|
891
|
-
})
|
|
892
|
-
}
|
|
893
|
-
</script>
|
|
894
|
-
<style lang="css" scoped>
|
|
895
|
-
@import url('./chat-embed.css');
|
|
896
|
-
:root {
|
|
897
|
-
--header-height: 56px;
|
|
898
|
-
--chat-padding: 12px;
|
|
899
|
-
--el-thinking-button-width: 180px;
|
|
900
|
-
}
|
|
901
|
-
.chat-container :deep(p) {
|
|
902
|
-
margin: 0 !important;
|
|
903
|
-
}
|
|
904
|
-
.chat-container :deep(h4) {
|
|
905
|
-
font-size: 16px;
|
|
906
|
-
margin-top: 0px;
|
|
907
|
-
margin-bottom: 0px;
|
|
908
|
-
}
|
|
909
|
-
.chat-content {
|
|
910
|
-
flex: 1;
|
|
911
|
-
min-width: 0; /* 避免被内容撑爆 */
|
|
912
|
-
overflow: hidden; /* 可选:防止出现水平滚动 */
|
|
913
|
-
display: flex;
|
|
914
|
-
flex-direction: column;
|
|
915
|
-
}
|
|
916
|
-
:deep(.el-bubble-content-wrapper .el-bubble-content) {
|
|
917
|
-
padding: 0 !important;
|
|
918
|
-
/* width: 80%; */
|
|
919
|
-
}
|
|
920
|
-
:deep(.el-bubble-content:has(.chat-chart-container)) {
|
|
921
|
-
width: 80%;
|
|
922
|
-
}
|
|
923
|
-
:deep(.el-divider--horizontal) {
|
|
924
|
-
margin: 5px 0;
|
|
925
|
-
}
|
|
926
|
-
</style>
|