agilebuilder-ui 1.1.65-tmp8 → 1.1.65-tmp9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/directives/prevent-reclick.js +1 -1
- package/lib/json-view/json-view.vue2.js +8 -8
- package/lib/plugins/export-data-new.js +1 -1
- package/lib/rich-editor/index.vue.js +3 -3
- package/lib/style.css +592 -592
- package/package.json +1 -1
- package/vite.config.js +54 -3
- package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/lib/IntervalSelection/src/sectionDate.vue2.js +0 -4
- package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/lib/breadcrumb/src/breadcrumb.vue2.js +0 -4
- 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-addition-data.vue3.js +0 -4
- 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-ai-answer-tip.vue3.js +0 -4
- 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-bubble-footer.vue3.js +0 -4
- 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/chat-sender.vue3.js +0 -4
- 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-auto-chart.vue3.js +0 -4
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
- 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/answer-interaction-data.vue3.js +0 -4
- 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/components/history-detail.vue3.js +0 -4
- 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/header.vue3.js +0 -4
- 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/index.vue3.js +0 -4
- 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/recommendation-message.vue3.js +0 -4
- 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/sidebar-item.vue3.js +0 -4
- package/lib/chat-embed/src/type.js +0 -5
- package/lib/chat-embed/src/util/chat-embed-util.js +0 -57
- 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/util/text-file-util.js +0 -12
- 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/js/timer.js +0 -11
- package/lib/chat-embed/src/voice/voice.vue.js +0 -103
- package/lib/department-tree/src/department-tree.vue.js +0 -23
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
- 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-inline/src/search-result.vue2.js +0 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
- 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/src/department-user-multiple-tree.vue.js +0 -20
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
- 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/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
- 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-single-tree-inline.vue2.js +0 -4
- 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/group-user-tree-service.js +0 -34
- package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/lib/department-user-tree-inline/src/search-result.vue2.js +0 -4
- 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.vue2.js +0 -4
- 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/department-user-tree-service.js +0 -38
- 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/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/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
- package/lib/dynamic-source-select/src/events.js +0 -29
- package/lib/fs-preview/src/fs-preview.vue.js +0 -120
- package/lib/fs-preview/src/fs-preview.vue2.js +0 -4
- 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/src/fs-upload-list.vue.js +0 -97
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
- 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-component.vue3.js +0 -4
- 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-button-upload.vue3.js +0 -4
- 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-drag-upload.vue3.js +0 -4
- 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-preview-new.vue3.js +0 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
- 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/src/hamburger.vue.js +0 -15
- package/lib/hamburger/src/hamburger.vue2.js +0 -4
- 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/src/organization-input.vue.js +0 -224
- package/lib/organization-input/src/organization-input.vue2.js +0 -4
- package/lib/remove-department/src/remove-department.vue.js +0 -33
- package/lib/remove-department/src/remove-dept-service.js +0 -13
- package/lib/remove-user/src/remove-user-service.js +0 -13
- package/lib/remove-user/src/remove-user.vue.js +0 -35
- package/lib/remove-workgroup/src/remove-workgroup-service.js +0 -13
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- 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/src/scan-code-input.vue.js +0 -39
- package/lib/src/api/sso-service.js +0 -57
- package/lib/src/api/tab.js +0 -15
- package/lib/src/assets/401/401.gif.js +0 -4
- package/lib/src/assets/404/404-cloud.png.js +0 -4
- package/lib/src/assets/404/404.png.js +0 -4
- package/lib/src/assets/chat-embed/robot.gif.js +0 -4
- package/lib/src/assets/chat-embed/robot.svg.js +0 -4
- package/lib/src/assets/nonemessage.png.js +0 -4
- package/lib/src/components/Affix/index.vue.js +0 -7
- package/lib/src/components/Affix/index.vue2.js +0 -81
- package/lib/src/components/Affix/index.vue3.js +0 -4
- package/lib/src/components/Card/index.js +0 -48
- package/lib/src/components/Scrollbar/index.vue.js +0 -51
- package/lib/src/components/Scrollbar/index.vue2.js +0 -4
- 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/mixins/resizeMixin.js +0 -21
- package/lib/src/permission.js +0 -78
- package/lib/src/router/index.js +0 -9
- package/lib/src/store/getters.js +0 -4
- package/lib/src/store/index.js +0 -13
- package/lib/src/store/modules/app.js +0 -41
- package/lib/src/store/modules/chat-ai-store.js +0 -36
- 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/table.js +0 -18
- package/lib/src/store/modules/user.js +0 -139
- package/lib/src/utils/auth-api.js +0 -134
- package/lib/src/utils/auth.js +0 -156
- package/lib/src/utils/calculator/calculator-factory-wf.js +0 -167
- package/lib/src/utils/calculator/calculator-factory.js +0 -93
- 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/eventBus.js +0 -6
- package/lib/src/utils/file-util.js +0 -23
- package/lib/src/utils/global-prop.js +0 -38
- package/lib/src/utils/guid.js +0 -10
- package/lib/src/utils/i18n-util.js +0 -70
- package/lib/src/utils/iconUtils.js +0 -26
- package/lib/src/utils/index.js +0 -46
- package/lib/src/utils/insert_css.js +0 -16
- package/lib/src/utils/json-util.js +0 -47
- package/lib/src/utils/jump-page-utils.js +0 -264
- package/lib/src/utils/local-storage.js +0 -19
- 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/resize.js +0 -11
- package/lib/src/utils/restful-interface-utils.js +0 -18
- package/lib/src/utils/util.js +0 -361
- package/lib/src/utils/validate.js +0 -22
- package/lib/src/utils/voice-setting-cache.js +0 -211
- package/lib/src/utils/watermark-cache.js +0 -15
- 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/Item.vue3.js +0 -4
- 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/SidebarItem.vue2.js +0 -4
- 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/dsc-component/tabs/tab-content.vue2.js +0 -4
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
- package/lib/src/views/error-page/401.vue.js +0 -15
- package/lib/src/views/error-page/401.vue2.js +0 -4
- package/lib/src/views/error-page/404.vue.js +0 -12
- package/lib/src/views/error-page/404.vue2.js +0 -4
- 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/Layout.vue2.js +0 -4
- 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/AppMain.vue2.js +0 -4
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
- 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/Item.vue3.js +0 -4
- 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/SidebarItem.vue2.js +0 -4
- package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +0 -9
- 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/SidebarItem.vue2.js +0 -4
- 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/iframe-page.vue2.js +0 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
- 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-iframe-index.vue2.js +0 -4
- package/lib/src/views/layout/tab-content-index.vue.js +0 -28
- package/lib/src/views/layout/tab-content-index.vue2.js +0 -4
- package/lib/src/views/login/authredirect.vue.js +0 -7
- package/lib/src/views/redirect/index.vue.js +0 -8
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +0 -4
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
- 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/eventBus.js +0 -6
- package/lib/super-grid/src/events.js +0 -37
- package/lib/super-grid/src/formValidatorUtil.js +0 -109
- package/lib/super-grid/src/formatter.js +0 -74
- 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/header-context-menu.vue2.js +0 -4
- 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-content.vue2.js +0 -4
- package/lib/super-grid/src/normal-column.vue.js +0 -106
- package/lib/super-grid/src/normal-column.vue2.js +0 -4
- package/lib/super-grid/src/public-methods.js +0 -22
- 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/row-operation.vue2.js +0 -4
- 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-advancedQuery.vue2.js +0 -4
- 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-item.vue2.js +0 -4
- package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
- package/lib/super-grid/src/search-form-mobile.vue2.js +0 -4
- 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-ordinarySearch.vue2.js +0 -4
- package/lib/super-grid/src/search-form.vue.js +0 -201
- package/lib/super-grid/src/search-form.vue2.js +0 -4
- package/lib/super-grid/src/search-methods.js +0 -164
- package/lib/super-grid/src/selection-column.vue.js +0 -11
- package/lib/super-grid/src/store.js +0 -4
- 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/super-grid.vue2.js +0 -4
- 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/src/index.vue.js +0 -7
- package/lib/super-icon/src/index.vue2.js +0 -13
- package/lib/super-icon/src/index.vue3.js +0 -4
- 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/formatter.js +0 -37
- 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/search-form.vue2.js +0 -4
- package/lib/super-nine-grid/src/search-methods.js +0 -48
- package/lib/super-nine-grid/src/store.js +0 -4
- 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/super-nine-grid.vue2.js +0 -4
- package/lib/super-nine-grid/src/utils.js +0 -32
- package/lib/svg-icon/src/svg-icon.vue.js +0 -14
- package/lib/svg-icon/src/svg-icon.vue2.js +0 -4
- package/lib/valid-code/src/valid-code.vue.js +0 -23
- package/lib/valid-code/src/valid-code.vue2.js +0 -4
- package/lib/workflow-button/src/workflow-button.vue.js +0 -85
- package/lib/workflow-history-list/src/api.js +0 -6
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +0 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- 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.vue2.js +0 -4
- 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-tree-mobile/src/workgroup-tree-service.js +0 -33
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
- 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-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
- 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.vue2.js +0 -4
- 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/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
- 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-icon/index.js +0 -6
- package/packages/super-icon/src/index.vue +0 -52
- 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/src/api/sso-service.js +0 -222
- package/src/api/tab.js +0 -36
- package/src/assets/401/401.gif +0 -0
- package/src/assets/404/404-cloud.png +0 -0
- package/src/assets/404/404.png +0 -0
- package/src/assets/chat-embed/background.png +0 -0
- package/src/assets/chat-embed/robot.gif +0 -0
- package/src/assets/chat-embed/robot.svg +0 -32
- package/src/assets/cloud.png +0 -0
- package/src/assets/nonemessage.png +0 -0
- package/src/assets/tab-selectWhite.png +0 -0
- package/src/components/Affix/index.vue +0 -272
- package/src/components/Card/index.jsx +0 -217
- package/src/components/Scrollbar/index.vue +0 -213
- package/src/directives/permission/index.js +0 -14
- package/src/directives/permission/permission.js +0 -27
- package/src/i18n/i18n.js +0 -16
- package/src/i18n/langs/cn.js +0 -336
- package/src/i18n/langs/en.js +0 -336
- package/src/index.js +0 -22
- package/src/mixins/resizeMixin.js +0 -49
- package/src/permission.js +0 -252
- package/src/plugins.js +0 -18
- package/src/router/index.js +0 -92
- package/src/store/getters.js +0 -26
- package/src/store/index.js +0 -23
- package/src/store/modules/app.js +0 -96
- package/src/store/modules/chat-ai-store.ts +0 -85
- package/src/store/modules/permission.js +0 -143
- package/src/store/modules/system.js +0 -35
- package/src/store/modules/tab-content.js +0 -42
- package/src/store/modules/table.js +0 -76
- package/src/store/modules/user.js +0 -448
- package/src/utils/auth-api.js +0 -369
- package/src/utils/auth.js +0 -194
- package/src/utils/calculator/calculator-factory-wf.js +0 -465
- package/src/utils/calculator/calculator-factory.js +0 -133
- package/src/utils/calculator/calculator-util.js +0 -184
- package/src/utils/chat-ai-util.ts +0 -41
- package/src/utils/common-util.js +0 -1006
- package/src/utils/dingtalk-util.ts +0 -43
- package/src/utils/eventBus.js +0 -10
- package/src/utils/file-util.ts +0 -42
- package/src/utils/global-prop.ts +0 -44
- package/src/utils/guid.js +0 -13
- package/src/utils/i18n-util.js +0 -145
- package/src/utils/iconUtils.js +0 -37
- package/src/utils/iframe-communicator.js +0 -234
- package/src/utils/index.js +0 -102
- package/src/utils/insert_css.js +0 -47
- package/src/utils/json-util.ts +0 -85
- package/src/utils/jump-page-utils.js +0 -829
- package/src/utils/local-storage.js +0 -33
- package/src/utils/menu.js +0 -19
- package/src/utils/permission.js +0 -126
- package/src/utils/permissionAuth.js +0 -311
- package/src/utils/range-selector.js +0 -204
- package/src/utils/request.js +0 -407
- package/src/utils/resize.js +0 -19
- package/src/utils/restful-interface-utils.js +0 -57
- package/src/utils/util.js +0 -1000
- package/src/utils/validate.js +0 -34
- package/src/utils/voice-setting-cache.js +0 -497
- package/src/utils/watermark-cache.js +0 -13
- package/src/utils/watermark.js +0 -119
- package/src/utils/workflow-util.js +0 -107
- package/src/views/404.vue +0 -248
- package/src/views/dsc-component/Sidebar/Item.vue +0 -95
- package/src/views/dsc-component/Sidebar/Link.vue +0 -38
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
- package/src/views/dsc-component/Sidebar/index.vue +0 -258
- package/src/views/dsc-component/tabs/tab-content.vue +0 -230
- package/src/views/error-page/401.vue +0 -106
- package/src/views/error-page/404.vue +0 -248
- package/src/views/layout/EmptyLayout.vue +0 -3
- package/src/views/layout/Layout.vue +0 -85
- package/src/views/layout/NewLayout.vue +0 -18
- package/src/views/layout/components/AppMain.vue +0 -46
- package/src/views/layout/components/Breadcrumb/index.vue +0 -158
- package/src/views/layout/components/Menubar/Item.vue +0 -125
- package/src/views/layout/components/Menubar/Link.vue +0 -38
- package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
- package/src/views/layout/components/Menubar/index.vue +0 -250
- package/src/views/layout/components/Sidebar/Item.vue +0 -33
- package/src/views/layout/components/Sidebar/Link.vue +0 -38
- package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
- package/src/views/layout/components/Sidebar/index.vue +0 -141
- package/src/views/layout/components/iframe-page.vue +0 -38
- package/src/views/layout/components/index.js +0 -4
- package/src/views/layout/components/tabs/tab-content.vue +0 -273
- package/src/views/layout/mixin/ResizeHandler.js +0 -41
- package/src/views/layout/tab-content-iframe-index.vue +0 -38
- package/src/views/layout/tab-content-index.vue +0 -92
- package/src/views/login/authredirect.vue +0 -10
- package/src/views/login/index.vue +0 -296
- package/src/views/login/update-password.vue +0 -246
- package/src/views/redirect/index.vue +0 -14
- package/src/views/svg-icon/index.js +0 -6
- package/src/views/svg-icon/src/svg-icon.vue +0 -46
- package/src/views/wf-history/tache-subprocess-history.vue +0 -45
- /package/{src/styles → styles}/_layout-custom-properties.scss +0 -0
- /package/{src/styles → styles}/display-layout.scss +0 -0
- /package/{src/styles → styles}/element-ui.scss +0 -0
- /package/{src/styles → styles}/index.scss +0 -0
- /package/{src/styles → styles}/mixin.scss +0 -0
- /package/{src/styles → styles}/page-list.scss +0 -0
- /package/{src/styles → styles}/table.scss +0 -0
- /package/{src/styles → styles}/theme/black/font-style.scss +0 -0
- /package/{src/styles → styles}/theme/black/index.scss +0 -0
- /package/{src/styles → styles}/theme/black/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/blue/font-style.scss +0 -0
- /package/{src/styles → styles}/theme/blue/index.scss +0 -0
- /package/{src/styles → styles}/theme/blue/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/blue2/font-style.scss +0 -0
- /package/{src/styles → styles}/theme/blue2/index.scss +0 -0
- /package/{src/styles → styles}/theme/blue2/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/button.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/card.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/dark-blue-var.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/font.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/form.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/index.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/input.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/message.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/radio.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/select.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/tab.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/table.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/tree.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/var.scss +0 -0
- /package/{src/styles → styles}/theme/default.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/button.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/card.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/date-picker.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/font.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/forest-green.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/form.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/index.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/input.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/message.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/radio.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/select.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/tab.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/table.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/tree.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/var.scss +0 -0
- /package/{src/styles → styles}/theme/gray/card-style.scss +0 -0
- /package/{src/styles → styles}/theme/gray/font-style.scss +0 -0
- /package/{src/styles → styles}/theme/gray/index.scss +0 -0
- /package/{src/styles → styles}/theme/gray/input-style.scss +0 -0
- /package/{src/styles → styles}/theme/gray/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/gray/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/gray/tab-style.scss +0 -0
- /package/{src/styles → styles}/theme/green/button.scss +0 -0
- /package/{src/styles → styles}/theme/green/card.scss +0 -0
- /package/{src/styles → styles}/theme/green/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/green/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/green/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/green/font.scss +0 -0
- /package/{src/styles → styles}/theme/green/form.scss +0 -0
- /package/{src/styles → styles}/theme/green/green.scss +0 -0
- /package/{src/styles → styles}/theme/green/index.scss +0 -0
- /package/{src/styles → styles}/theme/green/input.scss +0 -0
- /package/{src/styles → styles}/theme/green/message.scss +0 -0
- /package/{src/styles → styles}/theme/green/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/green/radio.scss +0 -0
- /package/{src/styles → styles}/theme/green/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/green/select.scss +0 -0
- /package/{src/styles → styles}/theme/green/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/green/tab.scss +0 -0
- /package/{src/styles → styles}/theme/green/table.scss +0 -0
- /package/{src/styles → styles}/theme/green/tree.scss +0 -0
- /package/{src/styles → styles}/theme/green/var.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/button.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/card.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/font.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/form.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/index.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/input.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/message.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/ocean-blue.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/radio.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/select.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/tab.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/table.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/tree.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/var.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/button.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/card.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/drawer.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/font.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/form.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/general.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/home.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/index.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/input.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/message.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/mobile.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/radio.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/select.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/tab.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/table.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/tree.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/var.scss +0 -0
- /package/{src/styles → styles}/transition.scss +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, openBlock as t, createElementBlock as h, createCommentVNode as e } from "vue";
|
|
2
|
-
import { useI18n as a } from "vue-i18n";
|
|
3
|
-
const c = { style: { height: "300px", width: "100%" } }, s = ["src"], o = ["src"], i = r({ __name: "answer-home-chart", props: { chartProps: { type: Object, default: {} } }, setup: (r2) => (a(), (a2, i2) => (t(), h("div", c, [r2.chartProps.chartuuid ? (t(), h("iframe", { key: 0, height: "100%", width: "100%", class: "home-chart-iframe", src: "http://localhost:9601/dsc/#/dsc-home-chart/page?chartUuid=" + r2.chartProps.chartuuid + "&homeChartSettingUserId=" + r2.chartProps.id }, null, 8, s)) : r2.chartProps.customurl ? (t(), h("iframe", { key: 1, height: "100%", width: "100%", class: "home-chart-iframe", src: r2.chartProps.customurl }, null, 8, o)) : e("", true)]))) });
|
|
4
|
-
export {
|
|
5
|
-
i as default
|
|
6
|
-
};
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, resolveComponent as l, resolveDirective as t, openBlock as r, createElementBlock as u, createVNode as o, withCtx as i, createBlock as s, createCommentVNode as n, Fragment as d, renderList as c, createTextVNode as p, withDirectives as v, createElementVNode as h, toDisplayString as m, unref as f, vShow as b } from "vue";
|
|
2
|
-
import { ElMessage as y } from "element-plus";
|
|
3
|
-
import { use as x } from "echarts/core";
|
|
4
|
-
import g from "vue-echarts";
|
|
5
|
-
import { CanvasRenderer as k } from "echarts/renderers";
|
|
6
|
-
import { LineChart as _, BarChart as w, PieChart as V, RadarChart as A } from "echarts/charts";
|
|
7
|
-
import { InfoFilled as N } from "@element-plus/icons-vue";
|
|
8
|
-
import { GridComponent as O, LegendComponent as P, TitleComponent as I, TooltipComponent as C, ToolboxComponent as D, DataZoomComponent as E } from "echarts/components";
|
|
9
|
-
import T from "../util/mcp-utils.js";
|
|
10
|
-
const U = { style: { "max-height": "700px" } }, z = { style: { "align-items": "center" } }, S = { class: "dialog-footer" }, j = e({ __name: "answer-interaction-data", props: { chartProps: { type: Object, default: {} } }, setup(e2) {
|
|
11
|
-
const j2 = e2;
|
|
12
|
-
x([k, _, w, V, A, O, P, I, C, D, E]);
|
|
13
|
-
const J = a(null), L = a("table"), M = a(false), B = a({ chartType: "barLine", series: [{ type: "bar", yAxis: "", calculation: "count" }] }), F = a([]), R = {}, X = {}, Z = a(false), $ = a(""), q = a(), G = a([]), H = a(false), K = a([]), Q = a({}), W = a({}), Y = a();
|
|
14
|
-
if (j2.chartProps) {
|
|
15
|
-
let e3 = null;
|
|
16
|
-
if (j2.chartProps.datalist ? e3 = JSON.parse(j2.chartProps.datalist) : j2.chartProps["data-list"] && (e3 = JSON.parse(j2.chartProps["data-list"])), e3 && (F.value = e3, F.value.length > 0)) {
|
|
17
|
-
const e4 = F.value[0];
|
|
18
|
-
K.value = [...Object.keys(e4)].filter((e5) => "id" !== e5 && "ID" !== e5);
|
|
19
|
-
}
|
|
20
|
-
j2.chartProps.datatables ? W.value = JSON.parse(j2.chartProps.datatables) : j2.chartProps["data-tables"] && (W.value = JSON.parse(j2.chartProps["data-tables"])), j2.chartProps.childtables && (Y.value = JSON.parse(j2.chartProps.childtables));
|
|
21
|
-
}
|
|
22
|
-
function ee(e3) {
|
|
23
|
-
"pie" === e3 && B.value.series.length > 1 && (B.value.series = [B.value.series[0]]);
|
|
24
|
-
}
|
|
25
|
-
function ae() {
|
|
26
|
-
!function() {
|
|
27
|
-
if (!B.value.xAxis)
|
|
28
|
-
return;
|
|
29
|
-
const e3 = B.value.series, a2 = [], l2 = [], t2 = {};
|
|
30
|
-
e3.forEach((e4) => {
|
|
31
|
-
l2.push({ name: e4.yAxis, type: e4.type, data: [] });
|
|
32
|
-
}), F.value.forEach((l3) => {
|
|
33
|
-
const r2 = l3[B.value.xAxis];
|
|
34
|
-
a2.includes(r2) || a2.push(r2);
|
|
35
|
-
let u2 = {};
|
|
36
|
-
t2[r2] && Object.keys(t2[r2]).length > 0 && (u2 = t2[r2]), e3.forEach((e4) => {
|
|
37
|
-
const a3 = l3[e4.yAxis];
|
|
38
|
-
u2[e4.yAxis] || (u2[e4.yAxis] = []), u2[e4.yAxis].push(a3);
|
|
39
|
-
}), t2[r2] = u2;
|
|
40
|
-
}), a2.forEach((a3) => {
|
|
41
|
-
e3.forEach((e4, r2) => {
|
|
42
|
-
let u2 = 0;
|
|
43
|
-
const o2 = t2[a3][e4.yAxis];
|
|
44
|
-
switch (o2.forEach((e5, a4) => {
|
|
45
|
-
isNaN(Number(e5)) && (o2[a4] = 0);
|
|
46
|
-
}), e4.calculation) {
|
|
47
|
-
case "count":
|
|
48
|
-
u2 = o2.length;
|
|
49
|
-
break;
|
|
50
|
-
case "sum":
|
|
51
|
-
u2 = o2.reduce((e5, a4) => e5 + Number(a4), 0);
|
|
52
|
-
break;
|
|
53
|
-
case "average":
|
|
54
|
-
u2 = o2.length > 0 ? Number((o2.reduce((e5, a4) => e5 + Number(a4), 0) / o2.length).toFixed(2)) : 0;
|
|
55
|
-
break;
|
|
56
|
-
case "max":
|
|
57
|
-
u2 = Math.max(...o2.map((e5) => Number(e5)));
|
|
58
|
-
break;
|
|
59
|
-
case "min":
|
|
60
|
-
u2 = Math.min(...o2.map((e5) => Number(e5)));
|
|
61
|
-
break;
|
|
62
|
-
default:
|
|
63
|
-
u2 = 0;
|
|
64
|
-
}
|
|
65
|
-
l2[r2].data.push(u2);
|
|
66
|
-
});
|
|
67
|
-
}), M.value = true, Q.value = function(e4, a3) {
|
|
68
|
-
if ("pie" === B.value.chartType)
|
|
69
|
-
return { tooltip: { trigger: "item" }, legend: { type: "scroll", orient: "vertical", right: 10, top: "center" }, toolbox: { show: true, feature: { saveAsImage: { title: "保存为图片" } } }, series: [{ name: B.value.xAxis, type: "pie", radius: "90%", data: e4.map((e5, l3) => ({ name: e5, value: a3[0].data[l3] })), emphasis: { itemStyle: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: "rgba(0, 0, 0, 0.5)" } } }] };
|
|
70
|
-
if ("radar" === B.value.chartType) {
|
|
71
|
-
const l3 = [];
|
|
72
|
-
return a3.forEach((e5, a4) => {
|
|
73
|
-
l3.push({ value: e5.data, name: e5.name });
|
|
74
|
-
}), { tooltip: { trigger: "item" }, legend: { type: "scroll", orient: "vertical", right: 10, top: "center" }, toolbox: { show: true, feature: { saveAsImage: { title: "保存为图片" } } }, radar: { indicator: e4.map((e5, l4) => ({ name: e5, max: 1.2 * Math.max(...a3[0].data) })) }, series: [{ name: B.value.xAxis, type: "radar", data: l3 }] };
|
|
75
|
-
}
|
|
76
|
-
return { tooltip: { trigger: "axis" }, toolbox: { show: true, feature: { dataZoom: { title: { zoom: "区域缩放", back: "缩放还原" }, yAxisIndex: "none" }, dataView: { readOnly: false, title: "数据视图", lang: ["数据视图", "关闭", "刷新"] }, magicType: { title: { line: "切换为折线图", bar: "切换为柱状图" }, type: ["line", "bar"] }, restore: { title: "还原" }, saveAsImage: { title: "保存为图片" } } }, legend: { type: "scroll", orient: "vertical", right: 10, top: "center" }, xAxis: { type: "category", data: e4 }, yAxis: { type: "value" }, series: a3 };
|
|
77
|
-
}(a2, l2), J.value && J.value.setOption(Q, true);
|
|
78
|
-
}();
|
|
79
|
-
}
|
|
80
|
-
function le(e3) {
|
|
81
|
-
q.value = [], G.value = [], $.value = "", e3();
|
|
82
|
-
}
|
|
83
|
-
return (e3, a2) => {
|
|
84
|
-
const x2 = l("el-radio-button"), k2 = l("el-radio-group"), _2 = l("el-form-item"), w2 = l("el-option"), V2 = l("el-select"), A2 = l("el-button"), O2 = l("el-col"), P2 = l("Plus"), I2 = l("el-icon"), C2 = l("Delete"), D2 = l("el-form"), E2 = l("el-table-column"), j3 = l("el-link"), te = l("el-table"), re = l("el-dialog"), ue = t("loading");
|
|
85
|
-
return r(), u("div", U, [o(D2, { style: { "max-height": "200px", "overflow-y": "auto" }, size: "small", inline: true, model: B.value, "label-width": "60" }, { default: i(() => [o(O2, null, { default: i(() => [o(_2, { label: "展示方式" }, { default: i(() => [o(k2, { modelValue: L.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => L.value = e4), size: "small" }, { default: i(() => [o(x2, { label: "表格", value: "table" }), o(x2, { label: "图表", value: "chart" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "chart" === L.value ? (r(), s(_2, { key: 0, label: "图表类型" }, { default: i(() => [o(V2, { style: { width: "100px" }, modelValue: B.value.chartType, "onUpdate:modelValue": a2[1] || (a2[1] = (e4) => B.value.chartType = e4), placeholder: "选择图标类型", onChange: ee, clearable: "" }, { default: i(() => [o(w2, { label: "柱折图", value: "barLine" }), o(w2, { label: "饼状图", value: "pie" }), o(w2, { label: "雷达图", value: "radar" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : n("", true), "chart" === L.value ? (r(), s(_2, { key: 1, label: "维度" }, { default: i(() => [o(V2, { style: { width: "150px" }, modelValue: B.value.xAxis, "onUpdate:modelValue": a2[2] || (a2[2] = (e4) => B.value.xAxis = e4), placeholder: "选择图标类型", clearable: "" }, { default: i(() => [(r(true), u(d, null, c(K.value, (e4) => (r(), s(w2, { key: e4, label: e4, value: e4 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : n("", true), "chart" === L.value ? (r(), s(_2, { key: 2 }, { default: i(() => [o(A2, { type: "primary", onClick: ae }, { default: i(() => [p("生成图表")]), _: 1 })]), _: 1 })) : n("", true)]), _: 1 }), "chart" === L.value ? (r(true), u(d, { key: 0 }, c(B.value.series, (e4, a3) => (r(), u("div", { key: a3 }, ["barLine" === B.value.chartType ? (r(), s(_2, { key: 0, label: "类型" }, { default: i(() => [o(V2, { style: { width: "100px" }, modelValue: e4.type, "onUpdate:modelValue": (a4) => e4.type = a4, placeholder: "选择显示类型", clearable: "" }, { default: i(() => [o(w2, { label: "柱形", value: "bar" }), o(w2, { label: "折线", value: "line" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : n("", true), o(_2, { label: "数据项" }, { default: i(() => [o(V2, { style: { width: "150px" }, modelValue: e4.yAxis, "onUpdate:modelValue": (a4) => e4.yAxis = a4, placeholder: "选择数据项", clearable: "" }, { default: i(() => [(r(true), u(d, null, c(K.value, (e5) => (r(), s(w2, { key: e5, label: e5, value: e5 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), o(_2, { label: "计算方式" }, { default: i(() => [o(V2, { style: { width: "100px" }, modelValue: e4.calculation, "onUpdate:modelValue": (a4) => e4.calculation = a4, placeholder: "选择计算方式", clearable: "" }, { default: i(() => [o(w2, { label: "计数", value: "count" }), o(w2, { label: "求和", value: "sum" }), o(w2, { label: "平均值", value: "average" }), o(w2, { label: "最大值", value: "max" }), o(w2, { label: "最小值", value: "min" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "pie" !== B.value.chartType ? (r(), s(_2, { key: 1 }, { default: i(() => [o(I2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (e5) => {
|
|
86
|
-
B.value.series.push({ type: "bar", yAxis: "", calculation: "count" });
|
|
87
|
-
} }, { default: i(() => [o(P2)]), _: 2 }, 1032, ["onClick"]), o(I2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (e5) => function(e6) {
|
|
88
|
-
B.value.series.length > 1 ? B.value.series.splice(e6, 1) : y.warning("至少保留一个系列");
|
|
89
|
-
}(a3) }, { default: i(() => [o(C2)]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1024)) : n("", true)]))), 128)) : n("", true)]), _: 1 }, 8, ["model"]), "table" === L.value ? (r(), s(te, { key: 0, size: "small", data: F.value, fit: "", border: true, resizable: true, style: { width: "100%" }, "max-height": "500px" }, { default: i(() => [Y.value && Y.value.length > 0 ? (r(), u(d, { key: 0 }, [o(E2, { type: "index", width: "50", label: "序号" }), v(o(E2, { align: "center", fit: "", label: "关联数据", width: "180" }, { default: i((e4) => [(r(true), u(d, null, c(Y.value, (a3) => (r(), u("div", null, [h("div", z, [o(j3, { onClick: (l2) => function(e5, a4, l3) {
|
|
90
|
-
var _a;
|
|
91
|
-
if (H.value = true, q.value = [], G.value = [], (_a = R[a4.ID]) == null ? void 0 : _a[l3.id]) {
|
|
92
|
-
const e6 = /* @__PURE__ */ new Set();
|
|
93
|
-
return R[a4.ID][l3.id].forEach((a5) => {
|
|
94
|
-
Object.keys(a5).forEach((a6) => {
|
|
95
|
-
e6.add(a6);
|
|
96
|
-
});
|
|
97
|
-
}), G.value = X[l3.id], $.value = l3.alias, H.value = false, q.value = R[a4.ID][l3.id], void (Z.value = true);
|
|
98
|
-
}
|
|
99
|
-
T.getChildTableData({ parentData: a4, childTables: [l3], dataTable: W.value[0] }).then((e6) => {
|
|
100
|
-
if (R[a4.ID] || (R[a4.ID] = {}), e6[l3.alias]) {
|
|
101
|
-
const t2 = /* @__PURE__ */ new Set();
|
|
102
|
-
e6[l3.alias].forEach((e7) => {
|
|
103
|
-
Object.keys(e7).forEach((e8) => {
|
|
104
|
-
t2.add(e8);
|
|
105
|
-
});
|
|
106
|
-
}), G.value = Array.from(t2).map((e7) => ({ prop: e7, label: e7 })).filter((e7) => "id" !== e7.prop && "ID" !== e7.prop), X[l3.id] = G.value;
|
|
107
|
-
const r2 = e6[l3.alias];
|
|
108
|
-
R[a4.ID][l3.id] = r2, H.value = false, q.value = r2, $.value = l3.alias, Z.value = true;
|
|
109
|
-
}
|
|
110
|
-
}).catch(() => {
|
|
111
|
-
Z.value = true, H.value = false;
|
|
112
|
-
});
|
|
113
|
-
}(e4.$index, e4.row, a3), type: "primary" }, { default: i(() => [p(m(a3.alias), 1)]), _: 2 }, 1032, ["onClick"]), p(" "), o(I2, { style: { color: "#409eff" } }, { default: i(() => [o(f(N))]), _: 1 })])]))), 256))]), _: 1 }, 512), [[b, Y.value && Y.value.length > 0]])], 64)) : n("", true), (r(true), u(d, null, c(K.value, (e4) => (r(), s(E2, { key: e4, prop: e4, label: e4 }, null, 8, ["prop", "label"]))), 128))]), _: 1 }, 8, ["data"])) : "chart" === L.value && M.value ? (r(), s(f(g), { key: 1, ref_key: "chartRef", ref: J, style: { height: "400px" }, option: Q.value, autoresize: "" }, null, 8, ["option"])) : n("", true), o(re, { modelValue: Z.value, "onUpdate:modelValue": a2[4] || (a2[4] = (e4) => Z.value = e4), "destroy-on-close": true, title: $.value, "before-close": le }, { footer: i(() => [h("div", S, [o(A2, { onClick: a2[3] || (a2[3] = (e4) => Z.value = false) }, { default: i(() => [p("关闭")]), _: 1 })])]), default: i(() => [v((r(), s(te, { data: q.value, size: "small", style: { width: "100%" } }, { default: i(() => [o(E2, { type: "index", width: "50", label: "序号" }), (r(true), u(d, null, c(G.value, (e4) => (r(), s(E2, { key: e4.prop, prop: e4.prop, label: e4.label }, null, 8, ["prop", "label"]))), 128))]), _: 1 }, 8, ["data"])), [[ue, H.value]])]), _: 1 }, 8, ["modelValue", "title"])]);
|
|
114
|
-
};
|
|
115
|
-
} });
|
|
116
|
-
export {
|
|
117
|
-
j as default
|
|
118
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, resolveComponent as o, openBlock as n, createBlock as i, withCtx as l, createElementVNode as s, createVNode as r, createTextVNode as a, unref as u } from "vue";
|
|
2
|
-
import { ElMessage as c, ElMessageBox as d } from "element-plus";
|
|
3
|
-
import { useI18n as m } from "vue-i18n";
|
|
4
|
-
import { deleteByIds as p } from "../util/history-message-util.js";
|
|
5
|
-
const f = { style: { overflow: "hidden" } }, h = { class: "operation-area", style: { display: "flex" } }, v = { class: "dialog-footer" }, g = e({ __name: "history-detail", emits: ["new-chat-session"], setup(e2, { expose: g2, emit: w }) {
|
|
6
|
-
const { t: y } = m(), b = t(false), x = window.$vueApp.config.globalProperties.baseAPI, C = t([]), I = t();
|
|
7
|
-
function M() {
|
|
8
|
-
b.value = false, w("new-chat-session");
|
|
9
|
-
}
|
|
10
|
-
function _(e3, t2) {
|
|
11
|
-
C.value = e3;
|
|
12
|
-
}
|
|
13
|
-
function T() {
|
|
14
|
-
return 0.55 * window.innerHeight;
|
|
15
|
-
}
|
|
16
|
-
function D() {
|
|
17
|
-
C.value && 0 !== C.value.length ? d.confirm(y("imatrixUIMessage.whetherToConfirmDeletion"), y("imatrixUIMessage.tips"), { confirmButtonText: y("publicModel.sure"), cancelButtonText: y("publicModel.cancel"), type: "warning" }).then(() => {
|
|
18
|
-
var _a;
|
|
19
|
-
const e3 = C.value.map((e4) => e4.id || e4.ID);
|
|
20
|
-
(_a = p(e3)) == null ? void 0 : _a.then((e4) => {
|
|
21
|
-
c({ showClose: true, type: "success", message: y("superGrid.deleteSuccessful") }), I.value.refresh(), C.value = [];
|
|
22
|
-
});
|
|
23
|
-
}) : c({ showClose: true, type: "warning", message: "请选择记录" });
|
|
24
|
-
}
|
|
25
|
-
function H(e3, t2, o2, n2, i2) {
|
|
26
|
-
return { template: '<div style="text-align:center;"><span>' + o2.iconFileName + "</span></div>", data: function() {
|
|
27
|
-
return { val: "test" };
|
|
28
|
-
}, methods: {} };
|
|
29
|
-
}
|
|
30
|
-
function R(e3, t2, o2, n2, i2) {
|
|
31
|
-
return { template: '<el-button v-if="' + !o2.$editing + `" v-permission="'bs.aiVoiceCommand.delete'" text @click.stop="deleteHistory">` + y("publicModel.delete") + "</el-button>", data: function() {
|
|
32
|
-
return {};
|
|
33
|
-
}, methods: { selectIconFile() {
|
|
34
|
-
}, saveRow: function() {
|
|
35
|
-
}, restoreRow: function() {
|
|
36
|
-
I.value.restoreRow(i2);
|
|
37
|
-
}, editCommand: function() {
|
|
38
|
-
}, deleteHistory: function() {
|
|
39
|
-
d.confirm(y("message.whetherToConfirmDeletion"), y("message.tips"), { confirmButtonText: y("publicModel.sure"), cancelButtonText: y("publicModel.cancel"), type: "warning" }).then(() => {
|
|
40
|
-
p([o2.id || o2.ID]).then(() => {
|
|
41
|
-
c.success("已删除该会话"), I.value.refresh();
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
} } };
|
|
45
|
-
}
|
|
46
|
-
return g2({ showHistoryDetail: function() {
|
|
47
|
-
b.value = true;
|
|
48
|
-
} }), (e3, t2) => {
|
|
49
|
-
const c2 = o("el-button"), d2 = o("super-grid"), m2 = o("el-dialog");
|
|
50
|
-
return n(), i(m2, { modelValue: b.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => b.value = e4), "destroy-on-close": "", title: "历史记录", width: "80%", top: "3vh", "close-on-click-modal": false, onClose: M }, { footer: l(() => [s("div", v, [r(c2, { type: "primary", onClick: t2[0] || (t2[0] = (e4) => b.value = false) }, { default: l(() => [a(" 关闭 ")]), _: 1 })])]), default: l(() => [s("div", f, [s("div", h, [r(c2, { type: "danger", onClick: D }, { default: l(() => [a("删除")]), _: 1 })]), r(d2, { ref_key: "gridRef", ref: I, "custom-formatter": { operation: R, preview: H }, options: { resizeHeight: T, lineEditOptions: {}, statementDto: {}, renderRow: {}, search: { labelWidth: "100px", fieldNum: 2 } }, url: u(x) + "/mc/ai-history/list-all", code: "MC_AI_HISTORY", onSelect: _, onSelectAll: _ }, null, 8, ["custom-formatter", "options", "url"])])]), _: 1 }, 8, ["modelValue"]);
|
|
51
|
-
};
|
|
52
|
-
} });
|
|
53
|
-
export {
|
|
54
|
-
g as default
|
|
55
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, resolveComponent as t, openBlock as s, createElementBlock as a, toDisplayString as i, createCommentVNode as n, createElementVNode as c, createVNode as l, withCtx as u, createBlock as d, unref as r } from "vue";
|
|
2
|
-
import { useI18n as f } from "vue-i18n";
|
|
3
|
-
import h from "./components/history-detail.vue.js";
|
|
4
|
-
import { collectBySessionId as m, usefuleBySessionId as y } from "./util/history-message-util.js";
|
|
5
|
-
import { ElMessage as p } from "element-plus";
|
|
6
|
-
import { FolderRemove as b, StarFilled as k } from "@element-plus/icons-vue";
|
|
7
|
-
const _ = { ref: "chatHeaderRef", class: "chat-embed__header_container" }, S = { key: 0, class: "session-subject" }, g = { class: "chat-embed__header_tool_icon" }, H = { class: "header-icon" }, I = { class: "header-icon" }, x = e({ __name: "header", props: { dialogFullScreen: { type: Boolean, default: false }, aiModel: { type: String, default: null }, chatSessionId: { type: Object, default: null }, aiHistory: { type: Object, default: null } }, emits: ["showChatDialog", "expandDialog", "new-chat-session", "collected-session"], setup(e2, { emit: x2 }) {
|
|
8
|
-
const M = e2, { t: C } = f(), v = o(null);
|
|
9
|
-
function j() {
|
|
10
|
-
x2("expandDialog");
|
|
11
|
-
}
|
|
12
|
-
function w() {
|
|
13
|
-
x2("showChatDialog");
|
|
14
|
-
}
|
|
15
|
-
function D() {
|
|
16
|
-
x2("new-chat-session");
|
|
17
|
-
}
|
|
18
|
-
function V() {
|
|
19
|
-
M.chatSessionId && M.aiModel && M.chatSessionId[M.aiModel] && m(M.chatSessionId[M.aiModel]).then(() => {
|
|
20
|
-
M.aiHistory.collected = !M.aiHistory.collected, M.aiHistory.collected ? p.success("已收藏该会话") : p.success("已取消收藏该会话"), x2("collected-session");
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function F() {
|
|
24
|
-
M.chatSessionId && M.aiModel && M.chatSessionId[M.aiModel] && y(M.chatSessionId[M.aiModel]).then(() => {
|
|
25
|
-
M.aiHistory.useful = !M.aiHistory.useful, M.aiHistory.useful ? p.success("已标记该会话有用") : p.success("已取消标记该会话有用");
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
function E() {
|
|
29
|
-
var _a;
|
|
30
|
-
(_a = v.value) == null ? void 0 : _a.showHistoryDetail();
|
|
31
|
-
}
|
|
32
|
-
return (o2, f2) => {
|
|
33
|
-
var _a, _b, _c;
|
|
34
|
-
const m2 = t("SuperIcon"), y2 = t("el-tooltip"), p2 = t("el-icon");
|
|
35
|
-
return s(), a("div", _, [e2.dialogFullScreen ? (s(), a("span", S, i((_a = e2.aiHistory) == null ? void 0 : _a.subject), 1)) : n("", true), c("div", g, [l(y2, { class: "box-item", effect: "dark", content: "查看所有历史会话" }, { default: u(() => [c("span", { class: "header-icon", onClick: E }, [l(m2, { iconValue: "amb-icon-yulan" })])]), _: 1 }), e2.chatSessionId[e2.aiModel] ? (s(), d(y2, { key: 0, class: "box-item", effect: "dark", content: ((_b = e2.aiHistory) == null ? void 0 : _b.useful) ? "取消标记为有用" : "标记为有用" }, { default: u(() => {
|
|
36
|
-
var _a2;
|
|
37
|
-
return [c("span", { class: "header-icon", onClick: F }, [((_a2 = e2.aiHistory) == null ? void 0 : _a2.useful) ? (s(), d(p2, { key: 0 }, { default: u(() => [l(r(b))]), _: 1 })) : (s(), d(m2, { key: 1, iconValue: "amb-icon-youyong" }))])];
|
|
38
|
-
}), _: 1 }, 8, ["content"])) : n("", true), e2.chatSessionId[e2.aiModel] ? (s(), d(y2, { key: 1, class: "box-item", effect: "dark", content: ((_c = e2.aiHistory) == null ? void 0 : _c.collected) ? "取消收藏" : "收藏会话" }, { default: u(() => {
|
|
39
|
-
var _a2;
|
|
40
|
-
return [c("span", { class: "header-icon", onClick: V }, [((_a2 = e2.aiHistory) == null ? void 0 : _a2.collected) ? (s(), d(p2, { key: 0 }, { default: u(() => [l(r(k))]), _: 1 })) : (s(), d(m2, { key: 1, iconValue: "amb-icon-shoucang" }))])];
|
|
41
|
-
}), _: 1 }, 8, ["content"])) : n("", true), l(y2, { class: "box-item", effect: "dark", content: e2.dialogFullScreen ? r(C)("chatEmbed.minimize") : r(C)("chatEmbed.fullscreen") }, { default: u(() => [c("span", H, [l(m2, { iconValue: e2.dialogFullScreen ? "amb-icon-fangda" : "amb-icon-suoxiao", onClick: j }, null, 8, ["iconValue"])])]), _: 1 }, 8, ["content"]), l(y2, { class: "box-item", effect: "dark", content: r(C)("chatEmbed.close") }, { default: u(() => [c("span", I, [l(m2, { onClick: w, iconValue: "amb-icon-guanbi" })])]), _: 1 }, 8, ["content"])]), l(h, { ref_key: "historyDetailRef", ref: v, onNewChatSession: D }, null, 512)], 512);
|
|
42
|
-
};
|
|
43
|
-
} });
|
|
44
|
-
export {
|
|
45
|
-
x as default
|
|
46
|
-
};
|
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as a, onMounted as n, onBeforeUnmount as o, onUnmounted as l, computed as i, nextTick as u, openBlock as s, createElementBlock as r, createElementVNode as c, normalizeStyle as v, unref as d, createVNode as m, Transition as h, withCtx as f, withDirectives as p, normalizeClass as g, Fragment as y, createBlock as w, createCommentVNode as b, toDisplayString as k, createTextVNode as S, renderList as C, vShow as A, pushScopeId as x, popScopeId as P } from "vue";
|
|
2
|
-
import { useI18n as _ } from "vue-i18n";
|
|
3
|
-
import { useXStream as E, BubbleList as j, Thinking as T, XMarkdown as N, Typewriter as D } from "vue-element-plus-x";
|
|
4
|
-
import { useDraggable as I } from "@vueuse/core";
|
|
5
|
-
import { getToken as O } from "../../src/utils/auth.js";
|
|
6
|
-
import { defaultMessage as q, createUserMessage as M, createAiMessage as $, getMessageTemplate as R } from "./chat-embed-message.js";
|
|
7
|
-
import { AI_MODELS as H, MESSAGE_STATUS as z } from "./type.js";
|
|
8
|
-
import J from "./recommendation-message.vue.js";
|
|
9
|
-
import L from "./chat-addition-data.vue.js";
|
|
10
|
-
import V from "./chat-bubble-footer.vue.js";
|
|
11
|
-
import U from "./chat-ai-answer-tip.vue.js";
|
|
12
|
-
import F from "./header.vue.js";
|
|
13
|
-
import W from "./chat-sender.vue.js";
|
|
14
|
-
import "codemirror";
|
|
15
|
-
import "@codemirror/lang-json";
|
|
16
|
-
import "@codemirror/state";
|
|
17
|
-
import B from "../../json-view/json-view-dialog.vue.js";
|
|
18
|
-
import G from "./components/answer-home-chart.vue.js";
|
|
19
|
-
import K from "./components/answer-interaction-data.vue.js";
|
|
20
|
-
import Q from "./components/answer-auto-chart.vue.js";
|
|
21
|
-
import X from "../../src/assets/chat-embed/robot.gif.js";
|
|
22
|
-
import Y from "./sidebar-item.vue.js";
|
|
23
|
-
import { v4 as Z } from "uuid";
|
|
24
|
-
import { downloadJsonFile as ee, generateFileName as te } from "./util/text-file-util.js";
|
|
25
|
-
import { replaceAiTipTags as ae, parseAnswerContent as ne, extractFilenameFromUrl as oe } from "./util/chat-embed-util.js";
|
|
26
|
-
import le from "./util/mcp-utils.js";
|
|
27
|
-
import { useRoute as ie } from "vue-router";
|
|
28
|
-
const ue = { key: 0 }, se = ["src"], re = { class: "chat-content" }, ce = { style: { display: "flex", "flex-direction": "row" } }, ve = { class: "chat-embed__main_content" }, de = ["href", "title"], me = ["href", "target"], he = { style: { "font-size": "10px", color: "#999", "text-align": "right" } }, fe = { key: 1, style: { "margin-top": "5px", width: "100%" } }, pe = ((e2) => (x("data-v-e25b360d"), e2 = e2(), P(), e2))(() => c("div", { class: "content-container-header" }, "引用文件", -1)), ge = ["onClick"], ye = { style: { display: "none" } }, we = e({ __name: "index", setup(e2) {
|
|
29
|
-
var _a, _b, _c;
|
|
30
|
-
const x2 = function() {
|
|
31
|
-
try {
|
|
32
|
-
const e3 = ie();
|
|
33
|
-
return e3.query.customSystem ? String(e3.query.customSystem) : null;
|
|
34
|
-
} catch (e3) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
}();
|
|
38
|
-
const P2 = t(((_c = (_b = (_a = window.$vueApp) == null ? void 0 : _a.config) == null ? void 0 : _b.globalProperties) == null ? void 0 : _c.enableAiChat) || false), { startStream: we2, cancel: be, data: ke, error: Se, isLoading: Ce } = E(), { t: Ae } = _(), xe = t(), Pe = t(true), _e = t([]), Ee = t({}), je = t(false), Te = t(H.RAGFLOW), Ne = t({}), De = {}, Ie = t(true), Oe = t(null), qe = t(false), Me = t(false), $e = t(0), Re = t(""), He = t("500px"), ze = t(250), Je = t("https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"), Le = t(false), Ve = t({}), Ue = t(), Fe = t(), We = t(), Be = t(), Ge = t(), Ke = t(false);
|
|
39
|
-
let Qe = null;
|
|
40
|
-
const Xe = t(null), Ye = document.documentElement.clientWidth - 100, Ze = document.documentElement.clientHeight - 100, { x: et, y: tt, style: at } = I(xe, { initialValue: { x: Ye, y: Ze }, preventDefault: true, onStart() {
|
|
41
|
-
Pe.value = true;
|
|
42
|
-
}, onMove(e3) {
|
|
43
|
-
Pe.value = false, function(e4) {
|
|
44
|
-
var _a2, _b2;
|
|
45
|
-
const t2 = window.innerWidth - (((_a2 = xe.value) == null ? void 0 : _a2.offsetWidth) || 0), a2 = window.innerHeight - (((_b2 = xe.value) == null ? void 0 : _b2.offsetHeight) || 0);
|
|
46
|
-
e4.x = Math.max(0, Math.min(e4.x, t2)), e4.y = Math.max(0, Math.min(e4.y, a2));
|
|
47
|
-
}(e3);
|
|
48
|
-
}, onEnd() {
|
|
49
|
-
nt(), setTimeout(() => Pe.value = true, 50);
|
|
50
|
-
} });
|
|
51
|
-
function nt() {
|
|
52
|
-
if (!xe.value)
|
|
53
|
-
return;
|
|
54
|
-
const e3 = window.innerWidth - xe.value.offsetWidth, t2 = window.innerHeight - xe.value.offsetHeight;
|
|
55
|
-
et.value > e3 && (et.value = e3), tt.value > t2 && (tt.value = t2);
|
|
56
|
-
}
|
|
57
|
-
function ot(e3) {
|
|
58
|
-
var _a2;
|
|
59
|
-
Ie.value = true, Te.value = e3, _e.value = [], De[e3] && 0 !== De[e3].length ? (_e.value = De[e3], (_a2 = Ue.value) == null ? void 0 : _a2.scrollToBottom()) : _e.value.push(q);
|
|
60
|
-
}
|
|
61
|
-
function lt(e3 = Ae("chatEmbed.requestFailed")) {
|
|
62
|
-
_e.value.push(R("ai", e3, false, false)), je.value = false;
|
|
63
|
-
}
|
|
64
|
-
function it() {
|
|
65
|
-
Pe.value && (qe.value = !qe.value, dt(), Ge.value.getHistory());
|
|
66
|
-
}
|
|
67
|
-
function ut(e3) {
|
|
68
|
-
return Ne.value[e3] || (Ne.value[e3] = Z().replace(/-/g, "")), Ne.value[e3];
|
|
69
|
-
}
|
|
70
|
-
ot(Te.value), a(He, (e3) => {
|
|
71
|
-
document.documentElement.style.setProperty("--el-bubble-list-max-height", e3);
|
|
72
|
-
}), n(() => {
|
|
73
|
-
if (window.addEventListener("resize", nt), Fe.value) {
|
|
74
|
-
const e3 = new ResizeObserver(() => {
|
|
75
|
-
dt();
|
|
76
|
-
});
|
|
77
|
-
e3.observe(Fe.value.$el || Fe.value), Fe.value._resizeObserver = e3;
|
|
78
|
-
}
|
|
79
|
-
}), o(() => {
|
|
80
|
-
var _a2;
|
|
81
|
-
((_a2 = Fe.value) == null ? void 0 : _a2._resizeObserver) && Fe.value._resizeObserver.disconnect();
|
|
82
|
-
}), l(() => {
|
|
83
|
-
window.removeEventListener("resize", nt), function() {
|
|
84
|
-
Qe && (Qe.abort(), Qe = null);
|
|
85
|
-
be(), Ke.value = false, je.value = false;
|
|
86
|
-
}();
|
|
87
|
-
});
|
|
88
|
-
const st = i(() => {
|
|
89
|
-
var _a2, _b2, _c2;
|
|
90
|
-
if (!Ke.value || !ke.value.length)
|
|
91
|
-
return "";
|
|
92
|
-
const e3 = ke.value[ke.value.length - 1];
|
|
93
|
-
try {
|
|
94
|
-
const t2 = JSON.parse(e3.data);
|
|
95
|
-
if (t2.isChunk)
|
|
96
|
-
true === t2.data && Ee.value.content ? (Ee.value.thinkingStatus = z.END, Ee.value.showThinkingContent = true, Ee.value = {}, je.value = false) : rt(t2);
|
|
97
|
-
else {
|
|
98
|
-
if (!((_a2 = t2.data) == null ? void 0 : _a2.id) && true !== t2.data)
|
|
99
|
-
return je.value = false, Ee.value && (Ee.value.thinkingStatus = z.END), "";
|
|
100
|
-
if (t2.data.reference && (((_b2 = t2.data.reference.doc_aggs) == null ? void 0 : _b2.length) && (Ee.value.docAggs = t2.data.reference.doc_aggs), ((_c2 = t2.data.reference.chunks) == null ? void 0 : _c2.length) && (Ee.value.referenceChunks = t2.data.reference.chunks)), true === t2.data)
|
|
101
|
-
return function() {
|
|
102
|
-
if (je.value = false, !Ee.value)
|
|
103
|
-
return;
|
|
104
|
-
Ee.value.content = ae(Ee.value.content), At();
|
|
105
|
-
}(t2.data.answer), "";
|
|
106
|
-
rt(t2);
|
|
107
|
-
}
|
|
108
|
-
} catch (e4) {
|
|
109
|
-
je.value = false;
|
|
110
|
-
}
|
|
111
|
-
return "";
|
|
112
|
-
});
|
|
113
|
-
function rt(e3) {
|
|
114
|
-
const t2 = e3.data.answer;
|
|
115
|
-
if (!t2 || !Ee.value)
|
|
116
|
-
return;
|
|
117
|
-
const { thinkingContent: a2, mainContent: n2 } = ne(t2);
|
|
118
|
-
a2 && (Ee.value.thinkingContent = a2), n2 && (e3.isChunk ? Ee.value.content += n2 : Ee.value.content = n2);
|
|
119
|
-
}
|
|
120
|
-
function ct() {
|
|
121
|
-
if (je.value = false, Qe && (Qe.abort(), Qe = null), Ke.value && (be(), Ke.value = false, _e.value.length > 0)) {
|
|
122
|
-
const e3 = _e.value[_e.value.length - 1];
|
|
123
|
-
e3 && "ai" === e3.role && (e3.thinkingStatus = z.END, e3.content || (e3.content = "回答已取消"));
|
|
124
|
-
}
|
|
125
|
-
Ee.value && Object.keys(Ee.value).length > 0 && (Ee.value.thinkingStatus = z.END, Ee.value = {});
|
|
126
|
-
}
|
|
127
|
-
function vt() {
|
|
128
|
-
Me.value = !Me.value, dt();
|
|
129
|
-
}
|
|
130
|
-
function dt() {
|
|
131
|
-
let e3 = 100;
|
|
132
|
-
Me.value && (e3 = 100), u(() => {
|
|
133
|
-
var _a2;
|
|
134
|
-
Me.value ? (We.value.style.height = `calc(${e3}vh)`, We.value.style.width = "calc(100vw)", Re.value = "calc(100vw - var(--chat-padding) * 2) * 0.8") : (We.value.style.height = `calc(${e3}vh - var(--chat-padding) * 2)`, We.value.style.width = 460 + ze.value + "px", Re.value = 0.8 * (460 + ze.value) + "px");
|
|
135
|
-
const t2 = ((_a2 = Fe.value) == null ? void 0 : _a2.offsetHeight) || 80, a2 = window.innerHeight * e3 / 100 - 56 - t2 - 72;
|
|
136
|
-
He.value = a2 + "px";
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
function mt(e3) {
|
|
140
|
-
switch (je.value && ct(), e3.systemCode = x2, Ke.value = false, e3.aiModel) {
|
|
141
|
-
case H.RAGFLOW:
|
|
142
|
-
!function(e4) {
|
|
143
|
-
if (!e4)
|
|
144
|
-
return;
|
|
145
|
-
ke.value = [], _e.value.push(R("user", e4, true, false)), je.value = true, Ne.value[Te.value] ? kt(e4) : async function(e5) {
|
|
146
|
-
try {
|
|
147
|
-
const t2 = await window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/mc/rag-flow/converse-with-chat", { question: e5 });
|
|
148
|
-
Ne.value[Te.value] = t2.session_id, kt(e5);
|
|
149
|
-
} catch (e6) {
|
|
150
|
-
lt();
|
|
151
|
-
}
|
|
152
|
-
}(e4);
|
|
153
|
-
}(e3.question);
|
|
154
|
-
break;
|
|
155
|
-
case H.DATABASE:
|
|
156
|
-
!function(e4) {
|
|
157
|
-
if (je.value = true, !e4.question)
|
|
158
|
-
return;
|
|
159
|
-
const t2 = M(e4);
|
|
160
|
-
_e.value.push(t2), Ee.value = $(e4, true), _e.value.push(Ee.value);
|
|
161
|
-
try {
|
|
162
|
-
le.sendMessageToMcp(e4, ut(Te.value)).then(({ answerMessage: e5, errorMessage: t3 }) => {
|
|
163
|
-
je.value = false, t3 ? xt(t3, true) : e5 && xt(e5);
|
|
164
|
-
}).catch((e5) => {
|
|
165
|
-
je.value = false, xt("未能返回有效信息", true);
|
|
166
|
-
});
|
|
167
|
-
} catch (e5) {
|
|
168
|
-
je.value = false, xt("未能返回有效信息", true);
|
|
169
|
-
}
|
|
170
|
-
}(e3);
|
|
171
|
-
break;
|
|
172
|
-
case H.DEEPSEEK:
|
|
173
|
-
bt(e3);
|
|
174
|
-
break;
|
|
175
|
-
case H.INTERACTION:
|
|
176
|
-
!function(e4) {
|
|
177
|
-
if (!e4.question)
|
|
178
|
-
return;
|
|
179
|
-
try {
|
|
180
|
-
const t2 = M(e4);
|
|
181
|
-
_e.value.push(t2), Xe.value.parseCommand();
|
|
182
|
-
} catch (e5) {
|
|
183
|
-
lt();
|
|
184
|
-
}
|
|
185
|
-
}(e3);
|
|
186
|
-
break;
|
|
187
|
-
case H.PPT_GENERATION:
|
|
188
|
-
!function(e4) {
|
|
189
|
-
if (!e4.question)
|
|
190
|
-
return;
|
|
191
|
-
const t2 = M(e4);
|
|
192
|
-
_e.value.push(t2), Ke.value = true, je.value = true, Ee.value = $(e4, true), _e.value.push(Ee.value);
|
|
193
|
-
const a2 = ut(Te.value);
|
|
194
|
-
window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/aippt/createPpt", { menuName: e4.menuName, menuCode: e4.menuCode, question: e4.question, additionalDataLabel: e4.additionalDataLabel, additionalData: JSON.stringify(e4.additionalData), fileId: e4.fileId, fileInfos: e4.fileInfos, systemCode: x2, messageId: a2 }).then((e5) => {
|
|
195
|
-
if (e5.fileUrl) {
|
|
196
|
-
const t3 = oe(e5.fileUrl) || "点击下载";
|
|
197
|
-
Ee.value.content = `PPT已生成:[${t3}](${e5.fileUrl})`;
|
|
198
|
-
} else
|
|
199
|
-
Ee.value.content = "PPT生成失败,请稍后重试";
|
|
200
|
-
At(), je.value = false, window.open(e5.fileUrl, "_blank");
|
|
201
|
-
}).finally(() => {
|
|
202
|
-
je.value = false;
|
|
203
|
-
});
|
|
204
|
-
}(e3);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
function ht(e3) {
|
|
208
|
-
bt({ question: e3.question, additionalData: e3.additionalData, additionalDataLabel: e3.additionalDataLabel, menuName: e3.menuName, menuCode: e3.menuCode, aiModel: Te.value });
|
|
209
|
-
}
|
|
210
|
-
function ft(e3) {
|
|
211
|
-
if (e3.content) {
|
|
212
|
-
bt({ question: e3.content, aiModel: Te.value });
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
function pt() {
|
|
216
|
-
var _a2;
|
|
217
|
-
(_a2 = Xe.value) == null ? void 0 : _a2.newChatSession(), _e.value = [], Te.value === H.DEEPSEEK && async function() {
|
|
218
|
-
if (Ne.value[Te.value])
|
|
219
|
-
try {
|
|
220
|
-
await window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/ai/multiple-fuck/clear/" + Ne.value[Te.value]);
|
|
221
|
-
} catch (e3) {
|
|
222
|
-
lt();
|
|
223
|
-
}
|
|
224
|
-
}(), Oe.value = null, Ne.value[Te.value] = null, je.value = false, De[Te.value] = [], ot(Te.value);
|
|
225
|
-
}
|
|
226
|
-
function gt(e3) {
|
|
227
|
-
De[Te.value] = JSON.parse(JSON.stringify(_e.value)), ot(e3);
|
|
228
|
-
}
|
|
229
|
-
function yt(e3) {
|
|
230
|
-
Ve.value = e3, Le.value = true;
|
|
231
|
-
}
|
|
232
|
-
function wt(e3, t2) {
|
|
233
|
-
try {
|
|
234
|
-
ee(e3, te(t2 || "data"));
|
|
235
|
-
} catch (e4) {
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
async function bt(e3) {
|
|
239
|
-
if (e3.question)
|
|
240
|
-
try {
|
|
241
|
-
const t2 = M(e3);
|
|
242
|
-
_e.value.push(t2), Ke.value = true, je.value = true;
|
|
243
|
-
const a2 = ut(Te.value);
|
|
244
|
-
Ee.value = $(e3, true), _e.value.push(Ee.value), Qe = new AbortController();
|
|
245
|
-
const n2 = O(), o2 = await fetch(window.$vueApp.config.globalProperties.baseAPI + "/component/ai/multiple-fuck", { method: "POST", headers: { "Content-Type": "application/json", authorization: n2 || "" }, body: JSON.stringify({ question: e3.question, messageId: a2, data: JSON.stringify(e3.additionalData), fileId: e3.fileId, systemCode: x2 }), signal: Qe.signal });
|
|
246
|
-
if (!o2.body)
|
|
247
|
-
throw new Error("No response body");
|
|
248
|
-
await we2({ readableStream: o2.body });
|
|
249
|
-
} catch (e4) {
|
|
250
|
-
lt();
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
async function kt(e3) {
|
|
254
|
-
try {
|
|
255
|
-
Ke.value = true, Ee.value = $({ question: e3 }, true), Ee.value.messageType = "realtime", _e.value.push(Ee.value), Qe = new AbortController();
|
|
256
|
-
const t2 = O(), a2 = await fetch(window.$vueApp.config.globalProperties.baseAPI + "/mc/rag-flow/converse-with-chat-stream", { method: "POST", headers: { "Content-Type": "text/event-stream", authorization: t2 }, body: JSON.stringify({ question: e3, stream: true, systemCode: x2, session_id: Ne.value[Te.value] }), signal: Qe.signal });
|
|
257
|
-
if (!a2.body)
|
|
258
|
-
throw new Error("No response body");
|
|
259
|
-
await we2({ readableStream: a2.body });
|
|
260
|
-
} catch (e4) {
|
|
261
|
-
if ("AbortError" === (e4 == null ? void 0 : e4.name))
|
|
262
|
-
return;
|
|
263
|
-
je.value = false;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
function St(e3) {
|
|
267
|
-
const t2 = e3.doc_name.split(".").pop();
|
|
268
|
-
window.open(`http://101.43.172.105/document/${e3.doc_id}?ext=${t2}&prefix=document`);
|
|
269
|
-
}
|
|
270
|
-
function Ct(e3) {
|
|
271
|
-
je.value = true, ut(Te.value);
|
|
272
|
-
const t2 = { question: e3.content, aiModel: Te.value };
|
|
273
|
-
if (Ee.value = $(t2, false), _e.value.push(Ee.value), Ee.value.thinkingStatus = z.NONE, e3.url) {
|
|
274
|
-
const t3 = e3.command ? e3.command : e3.content;
|
|
275
|
-
Ee.value.link = e3.url, Ee.value.linkTitle = t3, Ee.value.content = e3.content;
|
|
276
|
-
} else
|
|
277
|
-
Ee.value.content = e3.content;
|
|
278
|
-
Ee.value = {}, je.value = false;
|
|
279
|
-
}
|
|
280
|
-
function At(e3 = false) {
|
|
281
|
-
Ee.value.thinkingStatus = z.END, Ee.value.showThinkingContent = true, Ee.value.messageType = "history", Ee.value = {}, Ie.value && Ge.value.addCurrentToSessionHistory(Ne.value[Te.value], _e.value), e3 || (Ie.value = false);
|
|
282
|
-
}
|
|
283
|
-
function xt(e3, t2 = false) {
|
|
284
|
-
Ee.value.content = e3, t2 && (Ee.value.thinkingStatus = z.ERROR), At(t2);
|
|
285
|
-
}
|
|
286
|
-
function Pt(e3, t2) {
|
|
287
|
-
Ie.value = false, Oe.value = e3, Ne.value[Te.value] = e3.sessionId, t2.length > 0 && (_e.value = []), u(() => {
|
|
288
|
-
_e.value = t2, u(() => {
|
|
289
|
-
var _a2;
|
|
290
|
-
(_a2 = Ue.value) == null ? void 0 : _a2.scrollToBottom();
|
|
291
|
-
});
|
|
292
|
-
});
|
|
293
|
-
}
|
|
294
|
-
return (e3, t2) => P2.value ? (s(), r("div", ue, [c("div", { ref_key: "chatIcon", ref: xe, style: v([d(at), { position: "fixed", cursor: "pointer", "z-index": "100" }]) }, [c("img", { src: d(X), alt: "AI Avatar", onClick: it, style: { width: "50px", height: "50px" } }, null, 8, se)], 4), m(h, { name: "slide-up" }, { default: f(() => [p(c("div", { ref_key: "chatContainerRef", ref: We, class: g(["chat-container", Me.value ? "full-screen" : "small-window"]), style: { display: "flex", flexDirection: "row" } }, [m(Y, { ref_key: "sidebarItemRef", ref: Ge, style: v({ width: ze.value + "px" }), onSelectHistoryItem: Pt, onNewChatSession: pt, onUpdateAiHistory: t2[0] || (t2[0] = (e4) => {
|
|
295
|
-
Oe.value.value = e4;
|
|
296
|
-
}), dialogFullScreen: Me.value, aiModel: Te.value }, null, 8, ["style", "dialogFullScreen", "aiModel"]), c("div", re, [m(F, { aiAvatar: Je.value, aiModel: Te.value, chatSessionId: Ne.value, dialogFullScreen: Me.value, aiHistory: Oe.value, onExpandDialog: vt, onShowChatDialog: it, onNewChatSession: pt }, null, 8, ["aiAvatar", "aiModel", "chatSessionId", "dialogFullScreen", "aiHistory"]), c("div", ce, [(s(), r("div", { ref_key: "talkMainRef", ref: Be, class: "chat-embed__main", key: $e.value }, [c("div", ve, [m(d(j), { ref_key: "bubbleListRef", ref: Ue, list: _e.value, "max-height": He.value, "is-fog": true }, { avatar: f(({ item: e4 }) => []), content: f(({ item: e4 }) => {
|
|
297
|
-
var _a2;
|
|
298
|
-
return [e4.isRecommend || null === e4.thinkingContent ? b("", true) : (s(), r(y, { key: 0 }, ["failed" !== e4.messageStatus ? (s(), w(d(T), { key: 0, "button-width": "180px", style: { "margin-bottom": "5px" }, modelValue: e4.showThinkingContent, "onUpdate:modelValue": (t3) => e4.showThinkingContent = t3, status: e4.thinkingStatus, "auto-collapse": "", content: e4.thinkingContent, typing: { interval: 20 }, duration: ".3s" }, null, 8, ["modelValue", "onUpdate:modelValue", "status", "content"])) : b("", true)], 64)), e4.link ? (s(), r("a", { key: 1, href: e4.link, title: e4.linkTitle, target: "blank" }, k(e4.content), 9, de)) : e4.content ? (s(), r(y, { key: 2 }, [c("div", { class: g(["ai" === e4.role ? "content-container" : "content-borderless-container", "chat-content-font"]) }, ["ai" !== e4.role || e4.isRecommend ? "user" === e4.role ? (s(), r(y, { key: 1 }, [S(k(e4.content) + " ", 1), ((_a2 = e4.additionalData) == null ? void 0 : _a2.length) > 0 ? (s(), w(L, { key: 0, item: e4, onViewJson: yt, onDownloadJson: wt }, null, 8, ["item"])) : b("", true)], 64)) : (s(), r(y, { key: 2 }, [S(k(e4.content), 1)], 64)) : (s(), r(y, { key: 0 }, [e4.messageType && "history" !== e4.messageType ? (s(), w(d(D), { key: 1, allowHtml: "", content: e4.content, typing: true, "is-markdown": true, "is-fog": "" }, null, 8, ["content"])) : (s(), w(d(N), { key: 0, markdown: e4.content, allowHtml: true, content: e4.content, typing: { interval: 10 }, "is-markdown": true }, { "amb-ai-tip": f(({ ...t3 }) => [m(U, { item: e4, itemProps: t3, onClickDocAgg: St }, null, 8, ["item", "itemProps"])]), "amb-alink": f(({ ...e5 }) => [c("a", { href: e5.href, target: e5.target }, k(e5.text), 9, me)]), "amb-home-chart": f(({ ...e5 }) => [m(G, { chartProps: e5, class: "chat-chart-container" }, null, 8, ["chartProps"])]), "amb-interaction-data": f(({ ...e5 }) => [m(K, { chartProps: e5, class: "chat-chart-container" }, null, 8, ["chartProps"])]), "amb-auto-chart": f(({ ...e5 }) => [m(Q, { chartProps: e5, class: "chat-chart-container" }, null, 8, ["chartProps"])]), _: 2 }, 1032, ["markdown", "content"]))], 64)), c("div", he, [c("span", null, k(e4.sendTime), 1)])], 2), e4.recommendations && e4.recommendations.length > 0 ? (s(), w(J, { key: 0, item: e4, onClickRecommendation: ft }, null, 8, ["item"])) : b("", true), e4.docAggs && e4.docAggs.length > 0 ? (s(), r("div", fe, [pe, (s(true), r(y, null, C(e4.docAggs, (e5, t3) => (s(), r("div", { onClick: (t4) => St(e5), class: "doc-agg-item" }, k(e5.doc_name), 9, ge))), 256))])) : b("", true)], 64)) : b("", true)];
|
|
299
|
-
}), footer: f(({ item: e4 }) => [m(V, { item: e4, onRegenerate: ht }, null, 8, ["item"])]), _: 1 }, 8, ["list", "max-height"]), c("div", ye, k(st.value), 1)]), c("div", { ref_key: "talkInputRef", ref: Fe, class: "chat-embed__input_container" }, [m(W, { loading: je.value, ref_key: "chatSenderRef", ref: Xe, onSubmitQuestion: mt, onCommandAnswer: Ct, onHandleCancel: ct, onViewJson: yt, onChangeAiModel: gt }, null, 8, ["loading"])], 512)]))])])], 2), [[A, qe.value]])]), _: 1 }), m(d(B), { modelValue: Le.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => Le.value = e4), "json-object": Ve.value, "append-to-body": true, title: "预览数据" }, null, 8, ["modelValue", "json-object"])])) : b("", true);
|
|
300
|
-
} });
|
|
301
|
-
export {
|
|
302
|
-
we as default
|
|
303
|
-
};
|