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