agilebuilder-ui 1.1.65-tmp30 → 1.1.65-tmp31

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 (643) hide show
  1. package/es/chat-embed/src/index.vue.mjs +1 -1
  2. package/es/chat-embed/src/index.vue2.mjs +104 -100
  3. package/es/chat-embed/src/voice/js/crypto-js.mjs +46 -50
  4. package/es/chat-embed/src/voice/voice.vue.mjs +8 -11
  5. package/es/date-picker-range/index.vue.mjs +1 -1
  6. package/es/date-picker-range/index.vue2.mjs +41 -33
  7. package/es/department-tree-inline/src/department-tree-service.mjs +0 -1
  8. package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +14 -11
  9. package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +6 -6
  10. package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +19 -20
  11. package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +0 -1
  12. package/es/department-user-tree-inline/src/search-result.vue.mjs +4 -4
  13. package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +2 -2
  14. package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +86 -85
  15. package/es/fs-preview/src/fs-preview.vue.mjs +73 -59
  16. package/es/fs-upload/src/fs-upload-multi.vue.mjs +3 -3
  17. package/es/fs-upload-list/src/fs-upload-list.vue.mjs +5 -6
  18. package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +15 -17
  19. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +19 -19
  20. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +2 -2
  21. package/es/fs-upload-new/src/fs-preview-new.vue.mjs +1 -1
  22. package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +50 -50
  23. package/es/i18n-setting/index.mjs +7 -0
  24. package/es/i18n-setting/src/i18n-setting-dialog.vue.mjs +23 -0
  25. package/es/i18n-setting/src/i18n-setting.mjs +14 -0
  26. package/es/i18n-setting/src/index.vue.mjs +47 -0
  27. package/es/index.mjs +46 -41
  28. package/es/multipart-upload/src/multipart-upload-form.vue.mjs +5 -5
  29. package/es/multipart-upload/src/multipart-upload-list.vue.mjs +6 -6
  30. package/es/organization-input/src/organization-input.vue.mjs +58 -58
  31. package/es/remove-department/src/remove-dept-service.mjs +4 -5
  32. package/es/remove-user/src/remove-user-service.mjs +0 -1
  33. package/es/remove-workgroup/src/remove-workgroup-service.mjs +0 -1
  34. package/es/rich-editor/index.vue.mjs +43 -84
  35. package/es/scan-code-input/src/scan-code-input.vue.mjs +1 -1
  36. package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +20 -9
  37. package/es/src/api/sso-service.mjs +0 -1
  38. package/es/src/i18n/langs/cn.mjs +1 -1
  39. package/es/src/i18n/langs/en.mjs +1 -1
  40. package/es/src/permission.mjs +7 -10
  41. package/es/src/router/index.mjs +0 -1
  42. package/es/src/store/index.mjs +0 -1
  43. package/es/src/store/modules/app.mjs +0 -1
  44. package/es/src/utils/common-util.mjs +143 -143
  45. package/es/src/utils/i18n-util.mjs +32 -30
  46. package/es/src/utils/iconUtils.mjs +0 -1
  47. package/es/src/utils/jump-page-utils.mjs +1 -1
  48. package/es/src/utils/permission.mjs +25 -26
  49. package/es/src/utils/permissionAuth.mjs +0 -1
  50. package/es/src/utils/restful-interface-utils.mjs +5 -6
  51. package/es/src/utils/watermark.mjs +2 -7
  52. package/es/src/utils/workflow-util.mjs +6 -6
  53. package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +1 -1
  54. package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +1 -1
  55. package/es/src/views/layout/components/Menubar/Item.vue.mjs +1 -1
  56. package/es/src/views/layout/components/Menubar/Item.vue2.mjs +8 -8
  57. package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +11 -11
  58. package/es/style.css +1 -3103
  59. package/es/super-grid/src/apis.mjs +155 -151
  60. package/es/super-grid/src/components/mobile-table-card.mjs +14 -10
  61. package/es/super-grid/src/components/select-input.vue.mjs +66 -66
  62. package/es/super-grid/src/custom-formatter.mjs +5 -6
  63. package/es/super-grid/src/dynamic-input.vue.mjs +31 -39
  64. package/es/super-grid/src/formValidatorUtil.mjs +0 -1
  65. package/es/super-grid/src/normal-column-content.vue.mjs +1 -2
  66. package/es/super-grid/src/normal-column.vue.mjs +12 -10
  67. package/es/super-grid/src/row-operation.vue.mjs +3 -3
  68. package/es/super-grid/src/search-form-item.vue.mjs +18 -14
  69. package/es/super-grid/src/search-form-number.vue.mjs +7 -6
  70. package/es/super-grid/src/search-form-open.vue.mjs +3 -2
  71. package/es/super-grid/src/search-form-open.vue2.mjs +4 -0
  72. package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +1 -1
  73. package/es/super-grid/src/super-grid.vue.mjs +254 -242
  74. package/es/super-grid/src/utils.mjs +6 -6
  75. package/es/super-grid/src/view-image-dialog.vue.mjs +5 -5
  76. package/es/super-nine-grid/src/super-nine-grid.vue.mjs +89 -83
  77. package/es/utils/utils.mjs +0 -1
  78. package/es/utils/value-set.mjs +0 -1
  79. package/es/workflow-history-list/src/workflow-history-list.vue.mjs +11 -10
  80. package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +0 -1
  81. package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +0 -1
  82. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +2 -2
  83. package/package.json +5 -2
  84. package/src/styles/index.scss +4 -0
  85. package/src/styles/theme/dark-blue/select.scss +27 -1
  86. package/src/styles/theme/forest-green/select.scss +27 -1
  87. package/src/styles/theme/green/select.scss +27 -1
  88. package/src/styles/theme/ocean-blue/select.scss +27 -1
  89. package/src/styles/theme/tiffany-blue-mobile/select.scss +29 -2
  90. package/.eslintrc.cjs +0 -28
  91. package/.prettierrc.json +0 -12
  92. package/dist/favicon.svg +0 -29
  93. package/dist/index.full.min.js +0 -16659
  94. package/dist/style.css +0 -3104
  95. package/index.html +0 -19
  96. package/lib/IntervalSelection/index.cjs +0 -5
  97. package/lib/IntervalSelection/src/sectionDate.vue.cjs +0 -45
  98. package/lib/IntervalSelection/src/sectionDate.vue2.cjs +0 -2
  99. package/lib/_virtual/__vite-browser-external.cjs +0 -2
  100. package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -7
  101. package/lib/breadcrumb/index.cjs +0 -5
  102. package/lib/breadcrumb/src/breadcrumb.vue.cjs +0 -37
  103. package/lib/breadcrumb/src/breadcrumb.vue2.cjs +0 -2
  104. package/lib/chat-embed/index.cjs +0 -5
  105. package/lib/chat-embed/src/chat-addition-data.vue.cjs +0 -5
  106. package/lib/chat-embed/src/chat-addition-data.vue2.cjs +0 -15
  107. package/lib/chat-embed/src/chat-addition-data.vue3.cjs +0 -2
  108. package/lib/chat-embed/src/chat-ai-answer-tip.vue.cjs +0 -5
  109. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +0 -26
  110. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.cjs +0 -2
  111. package/lib/chat-embed/src/chat-bubble-footer.vue.cjs +0 -5
  112. package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +0 -28
  113. package/lib/chat-embed/src/chat-bubble-footer.vue3.cjs +0 -2
  114. package/lib/chat-embed/src/chat-embed-message.cjs +0 -16
  115. package/lib/chat-embed/src/chat-sender.vue.cjs +0 -5
  116. package/lib/chat-embed/src/chat-sender.vue2.cjs +0 -145
  117. package/lib/chat-embed/src/chat-sender.vue3.cjs +0 -2
  118. package/lib/chat-embed/src/components/answer-auto-chart.vue.cjs +0 -5
  119. package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +0 -50
  120. package/lib/chat-embed/src/components/answer-auto-chart.vue3.cjs +0 -2
  121. package/lib/chat-embed/src/components/answer-home-chart.vue.cjs +0 -5
  122. package/lib/chat-embed/src/components/answer-home-chart.vue2.cjs +0 -3
  123. package/lib/chat-embed/src/components/answer-home-chart.vue3.cjs +0 -2
  124. package/lib/chat-embed/src/components/answer-interaction-data.vue.cjs +0 -5
  125. package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +0 -107
  126. package/lib/chat-embed/src/components/answer-interaction-data.vue3.cjs +0 -2
  127. package/lib/chat-embed/src/components/history-detail.vue.cjs +0 -5
  128. package/lib/chat-embed/src/components/history-detail.vue2.cjs +0 -50
  129. package/lib/chat-embed/src/components/history-detail.vue3.cjs +0 -2
  130. package/lib/chat-embed/src/header.vue.cjs +0 -5
  131. package/lib/chat-embed/src/header.vue2.cjs +0 -39
  132. package/lib/chat-embed/src/header.vue3.cjs +0 -2
  133. package/lib/chat-embed/src/index.vue.cjs +0 -5
  134. package/lib/chat-embed/src/index.vue2.cjs +0 -281
  135. package/lib/chat-embed/src/index.vue3.cjs +0 -2
  136. package/lib/chat-embed/src/recommendation-message.vue.cjs +0 -5
  137. package/lib/chat-embed/src/recommendation-message.vue2.cjs +0 -8
  138. package/lib/chat-embed/src/recommendation-message.vue3.cjs +0 -2
  139. package/lib/chat-embed/src/sidebar-item.vue.cjs +0 -5
  140. package/lib/chat-embed/src/sidebar-item.vue2.cjs +0 -109
  141. package/lib/chat-embed/src/sidebar-item.vue3.cjs +0 -2
  142. package/lib/chat-embed/src/type.cjs +0 -3
  143. package/lib/chat-embed/src/util/chat-embed-util.cjs +0 -51
  144. package/lib/chat-embed/src/util/history-message-util.cjs +0 -74
  145. package/lib/chat-embed/src/util/mcp-utils.cjs +0 -50
  146. package/lib/chat-embed/src/util/text-file-util.cjs +0 -8
  147. package/lib/chat-embed/src/voice/index.cjs +0 -5
  148. package/lib/chat-embed/src/voice/js/crypto-js.cjs +0 -1005
  149. package/lib/chat-embed/src/voice/js/processor/index.umd.cjs +0 -170
  150. package/lib/chat-embed/src/voice/js/timer.cjs +0 -8
  151. package/lib/chat-embed/src/voice/voice.vue.cjs +0 -96
  152. package/lib/date-picker-range/index.cjs +0 -5
  153. package/lib/date-picker-range/index.vue.cjs +0 -5
  154. package/lib/date-picker-range/index.vue2.cjs +0 -89
  155. package/lib/date-picker-range/index.vue3.cjs +0 -2
  156. package/lib/department-tree/index.cjs +0 -5
  157. package/lib/department-tree/src/department-tree.vue.cjs +0 -17
  158. package/lib/department-tree-inline/index.cjs +0 -5
  159. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.cjs +0 -81
  160. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.cjs +0 -2
  161. package/lib/department-tree-inline/src/department-single-tree-inline.vue.cjs +0 -54
  162. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.cjs +0 -2
  163. package/lib/department-tree-inline/src/department-tree-inline.vue.cjs +0 -12
  164. package/lib/department-tree-inline/src/department-tree-service.cjs +0 -106
  165. package/lib/department-tree-inline/src/search-result.vue.cjs +0 -36
  166. package/lib/department-tree-inline/src/search-result.vue2.cjs +0 -2
  167. package/lib/department-tree-mobile/index.cjs +0 -5
  168. package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +0 -13
  169. package/lib/department-tree-mobile/src/department-tree-app.vue2.cjs +0 -2
  170. package/lib/department-tree-mobile/src/department-tree-app.vue3.cjs +0 -3
  171. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +0 -110
  172. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.cjs +0 -3
  173. package/lib/department-tree-mobile/src/department-tree-service.cjs +0 -47
  174. package/lib/department-tree-mobile/src/dept-path.vue.cjs +0 -13
  175. package/lib/department-tree-mobile/src/dept-path.vue2.cjs +0 -3
  176. package/lib/department-tree-mobile/src/dept-result.vue.cjs +0 -14
  177. package/lib/department-tree-mobile/src/dept-result.vue2.cjs +0 -3
  178. package/lib/department-user-tree/index.cjs +0 -5
  179. package/lib/department-user-tree/src/department-user-multiple-tree.vue.cjs +0 -16
  180. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.cjs +0 -2
  181. package/lib/department-user-tree/src/department-user-single-tree.vue.cjs +0 -14
  182. package/lib/department-user-tree/src/department-user-tree.vue.cjs +0 -21
  183. package/lib/department-user-tree-inline/index.cjs +0 -5
  184. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +0 -154
  185. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.cjs +0 -2
  186. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +0 -57
  187. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.cjs +0 -2
  188. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +0 -11
  189. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.cjs +0 -78
  190. package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +0 -51
  191. package/lib/department-user-tree-inline/src/group-user/group-input.vue.cjs +0 -34
  192. package/lib/department-user-tree-inline/src/group-user/group-list.vue.cjs +0 -22
  193. package/lib/department-user-tree-inline/src/group-user/group-user.vue.cjs +0 -10
  194. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.cjs +0 -72
  195. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.cjs +0 -28
  196. package/lib/department-user-tree-inline/src/group-user-tree-service.cjs +0 -33
  197. package/lib/department-user-tree-inline/src/search-result.vue.cjs +0 -38
  198. package/lib/department-user-tree-inline/src/search-result.vue2.cjs +0 -2
  199. package/lib/department-user-tree-mobile/index.cjs +0 -5
  200. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +0 -13
  201. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.cjs +0 -2
  202. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.cjs +0 -3
  203. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +0 -124
  204. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.cjs +0 -3
  205. package/lib/department-user-tree-mobile/src/department-user-tree-service.cjs +0 -28
  206. package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +0 -13
  207. package/lib/department-user-tree-mobile/src/dept-path.vue2.cjs +0 -3
  208. package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +0 -14
  209. package/lib/department-user-tree-mobile/src/dept-result.vue2.cjs +0 -3
  210. package/lib/directives/prevent-reclick.cjs +0 -14
  211. package/lib/dynamic-source-select/index.cjs +0 -5
  212. package/lib/dynamic-source-select/src/dynamic-source-select-service.cjs +0 -30
  213. package/lib/dynamic-source-select/src/dynamic-source-select.vue.cjs +0 -266
  214. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.cjs +0 -2
  215. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.cjs +0 -2
  216. package/lib/dynamic-source-select/src/events.cjs +0 -28
  217. package/lib/empty-state/index.vue.cjs +0 -6
  218. package/lib/empty-state/index.vue2.cjs +0 -3
  219. package/lib/favicon.svg +0 -29
  220. package/lib/fs-preview/index.cjs +0 -5
  221. package/lib/fs-preview/src/fs-preview.vue.cjs +0 -119
  222. package/lib/fs-preview/src/fs-preview.vue2.cjs +0 -2
  223. package/lib/fs-upload/index.cjs +0 -5
  224. package/lib/fs-upload/src/fs-upload-multi.vue.cjs +0 -63
  225. package/lib/fs-upload/src/fs-upload-single.vue.cjs +0 -64
  226. package/lib/fs-upload/src/fs-upload.vue.cjs +0 -18
  227. package/lib/fs-upload/src/see-big-picture.vue.cjs +0 -9
  228. package/lib/fs-upload-list/index.cjs +0 -5
  229. package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +0 -91
  230. package/lib/fs-upload-list/src/fs-upload-list.vue2.cjs +0 -2
  231. package/lib/fs-upload-new/index.cjs +0 -5
  232. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +0 -57
  233. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.cjs +0 -3
  234. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +0 -170
  235. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.cjs +0 -3
  236. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.cjs +0 -5
  237. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +0 -32
  238. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.cjs +0 -2
  239. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +0 -41
  240. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.cjs +0 -3
  241. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +0 -29
  242. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.cjs +0 -3
  243. package/lib/fs-upload-new/src/fs-button-upload.vue.cjs +0 -5
  244. package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +0 -55
  245. package/lib/fs-upload-new/src/fs-button-upload.vue3.cjs +0 -2
  246. package/lib/fs-upload-new/src/fs-drag-upload.vue.cjs +0 -5
  247. package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +0 -55
  248. package/lib/fs-upload-new/src/fs-drag-upload.vue3.cjs +0 -2
  249. package/lib/fs-upload-new/src/fs-preview-new.vue.cjs +0 -5
  250. package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +0 -84
  251. package/lib/fs-upload-new/src/fs-preview-new.vue3.cjs +0 -2
  252. package/lib/fs-upload-new/src/fs-preview-new.vue4.cjs +0 -2
  253. package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +0 -54
  254. package/lib/fs-upload-new/src/fs-upload-new.vue2.cjs +0 -3
  255. package/lib/hamburger/index.cjs +0 -5
  256. package/lib/hamburger/src/hamburger.vue.cjs +0 -11
  257. package/lib/hamburger/src/hamburger.vue2.cjs +0 -2
  258. package/lib/index.cjs +0 -41
  259. package/lib/json-view/json-view-dialog.vue.cjs +0 -16
  260. package/lib/json-view/json-view-dialog.vue2.cjs +0 -3
  261. package/lib/json-view/json-view.vue.cjs +0 -3
  262. package/lib/json-view/json-view.vue2.cjs +0 -32
  263. package/lib/multipart-upload/index.cjs +0 -5
  264. package/lib/multipart-upload/src/index.vue.cjs +0 -10
  265. package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +0 -73
  266. package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +0 -96
  267. package/lib/organization-input/index.cjs +0 -5
  268. package/lib/organization-input/src/organization-input.vue.cjs +0 -218
  269. package/lib/organization-input/src/organization-input.vue2.cjs +0 -2
  270. package/lib/plugins/export-data-new.cjs +0 -229
  271. package/lib/plugins/export-data.cjs +0 -173
  272. package/lib/plugins/index.cjs +0 -5
  273. package/lib/plugins/public-method.cjs +0 -13
  274. package/lib/remove-department/index.cjs +0 -5
  275. package/lib/remove-department/src/remove-department.vue.cjs +0 -27
  276. package/lib/remove-department/src/remove-dept-service.cjs +0 -12
  277. package/lib/remove-user/index.cjs +0 -5
  278. package/lib/remove-user/src/remove-user-service.cjs +0 -12
  279. package/lib/remove-user/src/remove-user.vue.cjs +0 -29
  280. package/lib/remove-workgroup/index.cjs +0 -5
  281. package/lib/remove-workgroup/src/remove-workgroup-service.cjs +0 -12
  282. package/lib/remove-workgroup/src/remove-workgroup.vue.cjs +0 -25
  283. package/lib/rich-editor/index.cjs +0 -5
  284. package/lib/rich-editor/index.vue.cjs +0 -67
  285. package/lib/rich-editor/tinymce/zh_CN.cjs +0 -2
  286. package/lib/rich-editor/viewer.vue.cjs +0 -24
  287. package/lib/row-form/index.cjs +0 -5
  288. package/lib/row-form/index.vue.cjs +0 -5
  289. package/lib/row-form/index.vue2.cjs +0 -56
  290. package/lib/row-form/index.vue3.cjs +0 -2
  291. package/lib/row-form/operation.vue.cjs +0 -28
  292. package/lib/row-form/operation.vue2.cjs +0 -3
  293. package/lib/scan-code-input/index.cjs +0 -5
  294. package/lib/scan-code-input/src/events.cjs +0 -13
  295. package/lib/scan-code-input/src/scan-code-input.vue.cjs +0 -26
  296. package/lib/scan-code-input-browser/index.cjs +0 -5
  297. package/lib/scan-code-input-browser/src/scan-code-input.vue.cjs +0 -34
  298. package/lib/secret-info/index.cjs +0 -5
  299. package/lib/secret-info/index.vue.cjs +0 -13
  300. package/lib/src/api/sso-service.cjs +0 -55
  301. package/lib/src/api/tab.cjs +0 -14
  302. package/lib/src/assets/401/401.gif.cjs +0 -2
  303. package/lib/src/assets/404/404-cloud.png.cjs +0 -2
  304. package/lib/src/assets/404/404.png.cjs +0 -2
  305. package/lib/src/assets/chat-embed/robot.gif.cjs +0 -2
  306. package/lib/src/assets/chat-embed/robot.svg.cjs +0 -2
  307. package/lib/src/assets/nonemessage.png.cjs +0 -2
  308. package/lib/src/components/Affix/index.vue.cjs +0 -5
  309. package/lib/src/components/Affix/index.vue2.cjs +0 -81
  310. package/lib/src/components/Affix/index.vue3.cjs +0 -2
  311. package/lib/src/components/Card/index.cjs +0 -46
  312. package/lib/src/components/Scrollbar/index.vue.cjs +0 -48
  313. package/lib/src/components/Scrollbar/index.vue2.cjs +0 -2
  314. package/lib/src/directives/permission/index.cjs +0 -5
  315. package/lib/src/directives/permission/permission.cjs +0 -9
  316. package/lib/src/i18n/i18n.cjs +0 -3
  317. package/lib/src/i18n/langs/cn.cjs +0 -2
  318. package/lib/src/i18n/langs/en.cjs +0 -2
  319. package/lib/src/mixins/resizeMixin.cjs +0 -20
  320. package/lib/src/permission.cjs +0 -76
  321. package/lib/src/router/index.cjs +0 -16
  322. package/lib/src/store/getters.cjs +0 -2
  323. package/lib/src/store/index.cjs +0 -16
  324. package/lib/src/store/modules/app.cjs +0 -40
  325. package/lib/src/store/modules/chat-ai-store.cjs +0 -33
  326. package/lib/src/store/modules/permission.cjs +0 -30
  327. package/lib/src/store/modules/system.cjs +0 -10
  328. package/lib/src/store/modules/tab-content.cjs +0 -18
  329. package/lib/src/store/modules/table.cjs +0 -17
  330. package/lib/src/store/modules/user.cjs +0 -133
  331. package/lib/src/utils/auth-api.cjs +0 -132
  332. package/lib/src/utils/auth.cjs +0 -86
  333. package/lib/src/utils/calculator/calculator-factory-wf.cjs +0 -166
  334. package/lib/src/utils/calculator/calculator-factory.cjs +0 -92
  335. package/lib/src/utils/calculator/calculator-util.cjs +0 -53
  336. package/lib/src/utils/chat-ai-util.cjs +0 -26
  337. package/lib/src/utils/common-util.cjs +0 -362
  338. package/lib/src/utils/eventBus.cjs +0 -3
  339. package/lib/src/utils/file-util.cjs +0 -22
  340. package/lib/src/utils/global-prop.cjs +0 -22
  341. package/lib/src/utils/guid.cjs +0 -7
  342. package/lib/src/utils/i18n-util.cjs +0 -62
  343. package/lib/src/utils/iconUtils.cjs +0 -19
  344. package/lib/src/utils/index.cjs +0 -32
  345. package/lib/src/utils/insert_css.cjs +0 -18
  346. package/lib/src/utils/json-util.cjs +0 -45
  347. package/lib/src/utils/jump-page-utils.cjs +0 -256
  348. package/lib/src/utils/local-storage.cjs +0 -18
  349. package/lib/src/utils/menu.cjs +0 -13
  350. package/lib/src/utils/permission.cjs +0 -41
  351. package/lib/src/utils/permissionAuth.cjs +0 -120
  352. package/lib/src/utils/range-selector.cjs +0 -101
  353. package/lib/src/utils/request.cjs +0 -131
  354. package/lib/src/utils/resize.cjs +0 -11
  355. package/lib/src/utils/restful-interface-utils.cjs +0 -15
  356. package/lib/src/utils/util.cjs +0 -341
  357. package/lib/src/utils/validate.cjs +0 -12
  358. package/lib/src/utils/voice-setting-cache.cjs +0 -199
  359. package/lib/src/utils/watermark-cache.cjs +0 -10
  360. package/lib/src/utils/watermark.cjs +0 -33
  361. package/lib/src/utils/workflow-util.cjs +0 -41
  362. package/lib/src/views/dsc-component/Sidebar/Item.vue.cjs +0 -5
  363. package/lib/src/views/dsc-component/Sidebar/Item.vue2.cjs +0 -9
  364. package/lib/src/views/dsc-component/Sidebar/Item.vue3.cjs +0 -2
  365. package/lib/src/views/dsc-component/Sidebar/Link.vue.cjs +0 -11
  366. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.cjs +0 -46
  367. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.cjs +0 -2
  368. package/lib/src/views/dsc-component/Sidebar/index.vue.cjs +0 -103
  369. package/lib/src/views/dsc-component/tabs/tab-content.vue.cjs +0 -61
  370. package/lib/src/views/dsc-component/tabs/tab-content.vue2.cjs +0 -2
  371. package/lib/src/views/dsc-component/tabs/tab-content.vue3.cjs +0 -2
  372. package/lib/src/views/error-page/401.vue.cjs +0 -11
  373. package/lib/src/views/error-page/401.vue2.cjs +0 -2
  374. package/lib/src/views/error-page/404.vue.cjs +0 -8
  375. package/lib/src/views/error-page/404.vue2.cjs +0 -2
  376. package/lib/src/views/layout/EmptyLayout.vue.cjs +0 -7
  377. package/lib/src/views/layout/Layout.vue.cjs +0 -21
  378. package/lib/src/views/layout/Layout.vue2.cjs +0 -2
  379. package/lib/src/views/layout/NewLayout.vue.cjs +0 -7
  380. package/lib/src/views/layout/components/AppMain.vue.cjs +0 -11
  381. package/lib/src/views/layout/components/AppMain.vue2.cjs +0 -2
  382. package/lib/src/views/layout/components/Breadcrumb/index.vue.cjs +0 -56
  383. package/lib/src/views/layout/components/Breadcrumb/index.vue2.cjs +0 -2
  384. package/lib/src/views/layout/components/Menubar/Item.vue.cjs +0 -5
  385. package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +0 -13
  386. package/lib/src/views/layout/components/Menubar/Item.vue3.cjs +0 -2
  387. package/lib/src/views/layout/components/Menubar/Link.vue.cjs +0 -11
  388. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.cjs +0 -47
  389. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.cjs +0 -2
  390. package/lib/src/views/layout/components/Menubar/index.vue.cjs +0 -79
  391. package/lib/src/views/layout/components/Sidebar/Item.vue.cjs +0 -7
  392. package/lib/src/views/layout/components/Sidebar/Item.vue2.cjs +0 -3
  393. package/lib/src/views/layout/components/Sidebar/Link.vue.cjs +0 -9
  394. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.cjs +0 -16
  395. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.cjs +0 -2
  396. package/lib/src/views/layout/components/Sidebar/index.vue.cjs +0 -51
  397. package/lib/src/views/layout/components/iframe-page.vue.cjs +0 -12
  398. package/lib/src/views/layout/components/iframe-page.vue2.cjs +0 -2
  399. package/lib/src/views/layout/components/tabs/tab-content.vue.cjs +0 -60
  400. package/lib/src/views/layout/components/tabs/tab-content.vue2.cjs +0 -2
  401. package/lib/src/views/layout/components/tabs/tab-content.vue3.cjs +0 -2
  402. package/lib/src/views/layout/mixin/ResizeHandler.cjs +0 -14
  403. package/lib/src/views/layout/tab-content-iframe-index.vue.cjs +0 -12
  404. package/lib/src/views/layout/tab-content-iframe-index.vue2.cjs +0 -2
  405. package/lib/src/views/layout/tab-content-index.vue.cjs +0 -22
  406. package/lib/src/views/layout/tab-content-index.vue2.cjs +0 -2
  407. package/lib/src/views/login/authredirect.vue.cjs +0 -6
  408. package/lib/src/views/redirect/index.vue.cjs +0 -17
  409. package/lib/src/views/super-icon/index.cjs +0 -5
  410. package/lib/src/views/super-icon/src/index.vue.cjs +0 -5
  411. package/lib/src/views/super-icon/src/index.vue2.cjs +0 -10
  412. package/lib/src/views/super-icon/src/index.vue3.cjs +0 -2
  413. package/lib/src/views/svg-icon/src/svg-icon.vue.cjs +0 -2
  414. package/lib/src/views/svg-icon/src/svg-icon.vue2.cjs +0 -12
  415. package/lib/src/views/wf-history/tache-subprocess-history.vue.cjs +0 -12
  416. package/lib/src/views/wf-history/tache-subprocess-history.vue2.cjs +0 -2
  417. package/lib/style.css +0 -3103
  418. package/lib/super-grid/index.cjs +0 -5
  419. package/lib/super-grid/src/apis.cjs +0 -477
  420. package/lib/super-grid/src/columns-config.vue.cjs +0 -76
  421. package/lib/super-grid/src/components/grid-icon.vue.cjs +0 -39
  422. package/lib/super-grid/src/components/grid-radio-input.vue.cjs +0 -22
  423. package/lib/super-grid/src/components/grid-radio-input.vue2.cjs +0 -3
  424. package/lib/super-grid/src/components/mobile-table-card.cjs +0 -99
  425. package/lib/super-grid/src/components/select-input.vue.cjs +0 -141
  426. package/lib/super-grid/src/components/select-input.vue2.cjs +0 -3
  427. package/lib/super-grid/src/custom-formatter.cjs +0 -163
  428. package/lib/super-grid/src/dynamic-input.vue.cjs +0 -465
  429. package/lib/super-grid/src/eventBus.cjs +0 -3
  430. package/lib/super-grid/src/events.cjs +0 -35
  431. package/lib/super-grid/src/formValidatorUtil.cjs +0 -106
  432. package/lib/super-grid/src/formatter.cjs +0 -69
  433. package/lib/super-grid/src/group-column.vue.cjs +0 -19
  434. package/lib/super-grid/src/header-context-menu.vue.cjs +0 -12
  435. package/lib/super-grid/src/header-context-menu.vue2.cjs +0 -2
  436. package/lib/super-grid/src/index-column.vue.cjs +0 -19
  437. package/lib/super-grid/src/normal-column-content.vue.cjs +0 -303
  438. package/lib/super-grid/src/normal-column-content.vue2.cjs +0 -2
  439. package/lib/super-grid/src/normal-column.vue.cjs +0 -90
  440. package/lib/super-grid/src/normal-column.vue2.cjs +0 -2
  441. package/lib/super-grid/src/public-methods.cjs +0 -20
  442. package/lib/super-grid/src/row-detail.vue.cjs +0 -11
  443. package/lib/super-grid/src/row-operation.vue.cjs +0 -82
  444. package/lib/super-grid/src/row-operation.vue2.cjs +0 -2
  445. package/lib/super-grid/src/scan-util.cjs +0 -98
  446. package/lib/super-grid/src/search-button.vue.cjs +0 -20
  447. package/lib/super-grid/src/search-condition-input.vue.cjs +0 -13
  448. package/lib/super-grid/src/search-condition-list.vue.cjs +0 -17
  449. package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +0 -106
  450. package/lib/super-grid/src/search-form-advancedQuery.vue2.cjs +0 -2
  451. package/lib/super-grid/src/search-form-dialog.vue.cjs +0 -23
  452. package/lib/super-grid/src/search-form-item.vue.cjs +0 -120
  453. package/lib/super-grid/src/search-form-item.vue2.cjs +0 -2
  454. package/lib/super-grid/src/search-form-mobile.vue.cjs +0 -32
  455. package/lib/super-grid/src/search-form-mobile.vue2.cjs +0 -2
  456. package/lib/super-grid/src/search-form-number.vue.cjs +0 -21
  457. package/lib/super-grid/src/search-form-open.vue.cjs +0 -46
  458. package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +0 -33
  459. package/lib/super-grid/src/search-form-ordinarySearch.vue2.cjs +0 -2
  460. package/lib/super-grid/src/search-form.vue.cjs +0 -194
  461. package/lib/super-grid/src/search-form.vue2.cjs +0 -2
  462. package/lib/super-grid/src/search-methods.cjs +0 -163
  463. package/lib/super-grid/src/selection-column.vue.cjs +0 -9
  464. package/lib/super-grid/src/store.cjs +0 -3
  465. package/lib/super-grid/src/super-grid-service.cjs +0 -253
  466. package/lib/super-grid/src/super-grid.vue.cjs +0 -1083
  467. package/lib/super-grid/src/super-grid.vue2.cjs +0 -2
  468. package/lib/super-grid/src/utils.cjs +0 -373
  469. package/lib/super-grid/src/view-image-dialog.vue.cjs +0 -60
  470. package/lib/super-icon/index.cjs +0 -5
  471. package/lib/super-icon/src/index.vue.cjs +0 -5
  472. package/lib/super-icon/src/index.vue2.cjs +0 -10
  473. package/lib/super-icon/src/index.vue3.cjs +0 -2
  474. package/lib/super-nine-grid/index.cjs +0 -5
  475. package/lib/super-nine-grid/src/apis.cjs +0 -33
  476. package/lib/super-nine-grid/src/custom-formatter.cjs +0 -33
  477. package/lib/super-nine-grid/src/formatter.cjs +0 -36
  478. package/lib/super-nine-grid/src/search-form-number.vue.cjs +0 -9
  479. package/lib/super-nine-grid/src/search-form.vue.cjs +0 -84
  480. package/lib/super-nine-grid/src/search-form.vue2.cjs +0 -2
  481. package/lib/super-nine-grid/src/search-methods.cjs +0 -47
  482. package/lib/super-nine-grid/src/store.cjs +0 -3
  483. package/lib/super-nine-grid/src/super-grid-service.cjs +0 -35
  484. package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +0 -215
  485. package/lib/super-nine-grid/src/super-nine-grid.vue2.cjs +0 -2
  486. package/lib/super-nine-grid/src/utils.cjs +0 -36
  487. package/lib/svg-icon/index.cjs +0 -5
  488. package/lib/svg-icon/src/svg-icon.vue.cjs +0 -12
  489. package/lib/svg-icon/src/svg-icon.vue2.cjs +0 -2
  490. package/lib/utils/gogocodeTransfer.cjs +0 -28
  491. package/lib/utils/memory-cache-utils.cjs +0 -28
  492. package/lib/utils/organization.cjs +0 -55
  493. package/lib/utils/utils.cjs +0 -85
  494. package/lib/utils/value-set.cjs +0 -92
  495. package/lib/valid-code/index.cjs +0 -5
  496. package/lib/valid-code/src/valid-code.vue.cjs +0 -20
  497. package/lib/valid-code/src/valid-code.vue2.cjs +0 -2
  498. package/lib/workflow-button/index.cjs +0 -5
  499. package/lib/workflow-button/src/workflow-button.vue.cjs +0 -80
  500. package/lib/workflow-history-list/index.cjs +0 -5
  501. package/lib/workflow-history-list/src/api.cjs +0 -5
  502. package/lib/workflow-history-list/src/workflow-history-list.vue.cjs +0 -83
  503. package/lib/workflow-history-list/src/workflow-history-list.vue2.cjs +0 -2
  504. package/lib/workgroup-tree/index.cjs +0 -5
  505. package/lib/workgroup-tree/src/workgroup-tree.vue.cjs +0 -17
  506. package/lib/workgroup-tree-inline/index.cjs +0 -5
  507. package/lib/workgroup-tree-inline/src/search-result.vue.cjs +0 -35
  508. package/lib/workgroup-tree-inline/src/search-result.vue2.cjs +0 -2
  509. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +0 -119
  510. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.cjs +0 -2
  511. package/lib/workgroup-tree-inline/src/workgroup-tree-service.cjs +0 -33
  512. package/lib/workgroup-tree-mobile/index.cjs +0 -5
  513. package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +0 -14
  514. package/lib/workgroup-tree-mobile/src/dept-result.vue2.cjs +0 -3
  515. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +0 -13
  516. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.cjs +0 -2
  517. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.cjs +0 -3
  518. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +0 -99
  519. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.cjs +0 -3
  520. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.cjs +0 -25
  521. package/lib/workgroup-user-tree/index.cjs +0 -5
  522. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.cjs +0 -17
  523. package/lib/workgroup-user-tree-inline/index.cjs +0 -5
  524. package/lib/workgroup-user-tree-inline/src/search-result.vue.cjs +0 -35
  525. package/lib/workgroup-user-tree-inline/src/search-result.vue2.cjs +0 -2
  526. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.cjs +0 -71
  527. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +0 -163
  528. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.cjs +0 -2
  529. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +0 -13
  530. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.cjs +0 -3
  531. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +0 -14
  532. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.cjs +0 -3
  533. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +0 -13
  534. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.cjs +0 -2
  535. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.cjs +0 -3
  536. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +0 -124
  537. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.cjs +0 -3
  538. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.cjs +0 -20
  539. package/lib/year-range-picker/index.cjs +0 -5
  540. package/lib/year-range-picker/src/year-range-picker.vue.cjs +0 -11
  541. package/src/api/sso-service.js +0 -222
  542. package/src/api/tab.js +0 -36
  543. package/src/assets/401/401.gif +0 -0
  544. package/src/assets/404/404-cloud.png +0 -0
  545. package/src/assets/404/404.png +0 -0
  546. package/src/assets/chat-embed/background.png +0 -0
  547. package/src/assets/chat-embed/robot.gif +0 -0
  548. package/src/assets/chat-embed/robot.svg +0 -32
  549. package/src/assets/cloud.png +0 -0
  550. package/src/assets/nonemessage.png +0 -0
  551. package/src/assets/tab-selectWhite.png +0 -0
  552. package/src/components/Affix/index.vue +0 -272
  553. package/src/components/Card/index.jsx +0 -227
  554. package/src/components/Scrollbar/index.vue +0 -224
  555. package/src/directives/permission/index.js +0 -14
  556. package/src/directives/permission/permission.js +0 -27
  557. package/src/i18n/i18n.js +0 -16
  558. package/src/i18n/langs/cn.js +0 -344
  559. package/src/i18n/langs/en.js +0 -344
  560. package/src/index.js +0 -22
  561. package/src/mixins/resizeMixin.js +0 -49
  562. package/src/permission.js +0 -252
  563. package/src/plugins.js +0 -18
  564. package/src/router/index.js +0 -92
  565. package/src/store/getters.js +0 -26
  566. package/src/store/index.js +0 -23
  567. package/src/store/modules/app.js +0 -96
  568. package/src/store/modules/chat-ai-store.ts +0 -85
  569. package/src/store/modules/permission.js +0 -143
  570. package/src/store/modules/system.js +0 -35
  571. package/src/store/modules/tab-content.js +0 -42
  572. package/src/store/modules/table.js +0 -76
  573. package/src/store/modules/user.js +0 -448
  574. package/src/utils/auth-api.js +0 -370
  575. package/src/utils/auth.js +0 -194
  576. package/src/utils/calculator/calculator-factory-wf.js +0 -465
  577. package/src/utils/calculator/calculator-factory.js +0 -133
  578. package/src/utils/calculator/calculator-util.js +0 -184
  579. package/src/utils/chat-ai-util.ts +0 -41
  580. package/src/utils/common-util.js +0 -1019
  581. package/src/utils/dingtalk-util.ts +0 -43
  582. package/src/utils/eventBus.js +0 -10
  583. package/src/utils/file-util.ts +0 -42
  584. package/src/utils/global-prop.ts +0 -44
  585. package/src/utils/guid.js +0 -13
  586. package/src/utils/i18n-util.js +0 -145
  587. package/src/utils/iconUtils.js +0 -37
  588. package/src/utils/iframe-communicator.js +0 -234
  589. package/src/utils/index.js +0 -102
  590. package/src/utils/insert_css.js +0 -47
  591. package/src/utils/json-util.ts +0 -85
  592. package/src/utils/jump-page-utils.js +0 -829
  593. package/src/utils/local-storage.js +0 -33
  594. package/src/utils/menu.js +0 -19
  595. package/src/utils/permission.js +0 -126
  596. package/src/utils/permissionAuth.js +0 -311
  597. package/src/utils/range-selector.js +0 -204
  598. package/src/utils/request.js +0 -407
  599. package/src/utils/resize.js +0 -19
  600. package/src/utils/restful-interface-utils.js +0 -57
  601. package/src/utils/util.js +0 -1000
  602. package/src/utils/validate.js +0 -34
  603. package/src/utils/voice-setting-cache.js +0 -497
  604. package/src/utils/watermark-cache.js +0 -13
  605. package/src/utils/watermark.js +0 -119
  606. package/src/utils/workflow-util.js +0 -107
  607. package/src/views/404.vue +0 -248
  608. package/src/views/dsc-component/Sidebar/Item.vue +0 -95
  609. package/src/views/dsc-component/Sidebar/Link.vue +0 -38
  610. package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
  611. package/src/views/dsc-component/Sidebar/index.vue +0 -258
  612. package/src/views/dsc-component/tabs/tab-content.vue +0 -230
  613. package/src/views/error-page/401.vue +0 -106
  614. package/src/views/error-page/404.vue +0 -248
  615. package/src/views/layout/EmptyLayout.vue +0 -3
  616. package/src/views/layout/Layout.vue +0 -85
  617. package/src/views/layout/NewLayout.vue +0 -18
  618. package/src/views/layout/components/AppMain.vue +0 -46
  619. package/src/views/layout/components/Breadcrumb/index.vue +0 -158
  620. package/src/views/layout/components/Menubar/Item.vue +0 -125
  621. package/src/views/layout/components/Menubar/Link.vue +0 -38
  622. package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
  623. package/src/views/layout/components/Menubar/index.vue +0 -250
  624. package/src/views/layout/components/Sidebar/Item.vue +0 -33
  625. package/src/views/layout/components/Sidebar/Link.vue +0 -38
  626. package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
  627. package/src/views/layout/components/Sidebar/index.vue +0 -141
  628. package/src/views/layout/components/iframe-page.vue +0 -38
  629. package/src/views/layout/components/index.js +0 -4
  630. package/src/views/layout/components/tabs/tab-content.vue +0 -273
  631. package/src/views/layout/mixin/ResizeHandler.js +0 -41
  632. package/src/views/layout/tab-content-iframe-index.vue +0 -38
  633. package/src/views/layout/tab-content-index.vue +0 -92
  634. package/src/views/login/authredirect.vue +0 -10
  635. package/src/views/login/index.vue +0 -296
  636. package/src/views/login/update-password.vue +0 -246
  637. package/src/views/redirect/index.vue +0 -14
  638. package/src/views/super-icon/index.js +0 -6
  639. package/src/views/super-icon/src/index.vue +0 -52
  640. package/src/views/svg-icon/index.js +0 -6
  641. package/src/views/svg-icon/src/svg-icon.vue +0 -43
  642. package/src/views/wf-history/tache-subprocess-history.vue +0 -45
  643. package/vite.config.js +0 -103
@@ -1,7 +1,7 @@
1
1
  import e from "./index.vue2.mjs";
2
2
  import "./index.vue3.mjs";
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const r = o(e, [["__scopeId", "data-v-e84e6e12"]]);
4
+ const r = o(e, [["__scopeId", "data-v-7b1e02b3"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as e, ref as t, watch as a, onMounted as n, onBeforeUnmount as o, onUnmounted as l, computed as i, nextTick as u, openBlock as r, createElementBlock as s, createElementVNode as c, normalizeStyle as v, unref as d, createVNode as m, Transition as h, withCtx as f, withDirectives as p, normalizeClass as g, Fragment as y, createBlock as w, createCommentVNode as b, toDisplayString as k, createTextVNode as S, renderList as C, vShow as A } from "vue";
1
+ import { defineComponent as e, ref as t, watch as a, nextTick as n, onMounted as o, onBeforeUnmount as l, onUnmounted as i, computed as u, openBlock as r, createElementBlock as s, createElementVNode as c, normalizeStyle as v, unref as d, createVNode as m, Transition as f, withCtx as h, withDirectives as p, normalizeClass as g, Fragment as y, createBlock as w, createCommentVNode as b, toDisplayString as k, createTextVNode as S, renderList as C, vShow as A } from "vue";
2
2
  import { useI18n as x } from "vue-i18n";
3
- import { useXStream as P, BubbleList as _, Thinking as E, XMarkdown as j, Typewriter as T } from "vue-element-plus-x";
4
- import { useDraggable as D } from "@vueuse/core";
3
+ import { useXStream as P, BubbleList as _, Thinking as E, XMarkdown as D, Typewriter as T } from "vue-element-plus-x";
4
+ import { useDraggable as j } from "@vueuse/core";
5
5
  import { getToken as N } from "../../src/utils/auth.mjs";
6
6
  import { defaultMessage as I, createUserMessage as M, createAiMessage as O, getMessageTemplate as q } from "./chat-embed-message.mjs";
7
7
  import { AI_MODELS as $, MESSAGE_STATUS as R } from "./type.mjs";
@@ -11,9 +11,6 @@ import z from "./chat-bubble-footer.vue.mjs";
11
11
  import J from "./chat-ai-answer-tip.vue.mjs";
12
12
  import V from "./header.vue.mjs";
13
13
  import F from "./chat-sender.vue.mjs";
14
- import "codemirror";
15
- import "@codemirror/lang-json";
16
- import "@codemirror/state";
17
14
  import U from "../../json-view/json-view-dialog.vue.mjs";
18
15
  import W from "./components/answer-home-chart.vue.mjs";
19
16
  import B from "./components/answer-interaction-data.vue.mjs";
@@ -25,7 +22,7 @@ import { downloadJsonFile as Y, generateFileName as Z } from "./util/text-file-u
25
22
  import { replaceAiTipTags as ee, parseAnswerContent as te, extractFilenameFromUrl as ae } from "./util/chat-embed-util.mjs";
26
23
  import ne from "./util/mcp-utils.mjs";
27
24
  import { useRoute as oe } from "vue-router";
28
- const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { style: { display: "flex", "flex-direction": "row" } }, se = { class: "chat-embed__main_content" }, ce = ["href", "title"], ve = ["href", "target"], de = { style: { "font-size": "10px", color: "#999", "text-align": "right" } }, me = { key: 1, style: { "margin-top": "5px", width: "100%" } }, he = ["onClick"], fe = { style: { display: "none" } }, pe = e({ __name: "index", setup(e2) {
25
+ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { style: { display: "flex", "flex-direction": "row" } }, se = { class: "chat-embed__main_content" }, ce = ["href", "title"], ve = ["href", "target"], de = { style: { "font-size": "10px", color: "#999", "text-align": "right" } }, me = { key: 1, style: { "margin-top": "5px", width: "100%" } }, fe = ["onClick"], he = { style: { display: "none" } }, pe = e({ __name: "index", setup(e2) {
29
26
  var _a, _b, _c;
30
27
  const pe2 = function() {
31
28
  try {
@@ -35,9 +32,9 @@ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { styl
35
32
  return console.error("获取customSystem参数失败"), null;
36
33
  }
37
34
  }();
38
- const ge = t(((_c = (_b = (_a = window.$vueApp) == null ? void 0 : _a.config) == null ? void 0 : _b.globalProperties) == null ? void 0 : _c.enableAiChat) || false), { startStream: ye, cancel: we, data: be, error: ke, isLoading: Se } = P(), { t: Ce } = x(), Ae = t(), xe = t(true), Pe = t([]), _e = t({}), Ee = t(false), je = t($.RAGFLOW), Te = t({}), De = {}, Ne = t(true), Ie = t(null), Me = t(false), Oe = t(false), qe = t(0), $e = t(""), Re = t("500px"), He = t(250), Le = t("https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"), ze = t(false), Je = t({}), Ve = t(), Fe = t(), Ue = t(), We = t(), Be = t(), Ge = t(false);
39
- let Ke = null;
40
- const Qe = t(null), Xe = document.documentElement.clientWidth - 100, Ye = document.documentElement.clientHeight - 100, { x: Ze, y: et, style: tt } = D(Ae, { initialValue: { x: Xe, y: Ye }, preventDefault: true, onStart() {
35
+ const ge = t(((_c = (_b = (_a = window.$vueApp) == null ? void 0 : _a.config) == null ? void 0 : _b.globalProperties) == null ? void 0 : _c.enableAiChat) || false), { startStream: ye, cancel: we, data: be, error: ke, isLoading: Se } = P(), { t: Ce } = x(), Ae = t(), xe = t(true), Pe = t([]), _e = t({}), Ee = t(false), De = t($.RAGFLOW), Te = t({}), je = {}, Ne = t(true), Ie = t(null), Me = t(false), Oe = t(false), qe = t(0), $e = t(false), Re = t(0), He = t(""), Le = t("500px"), ze = t(250), Je = t("https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"), Ve = t(false), Fe = t({}), Ue = t(), We = t(), Be = t(), Ge = t(), Ke = t(), Qe = t(false);
36
+ let Xe = null;
37
+ const Ye = t(null), Ze = document.documentElement.clientWidth - 100, et = document.documentElement.clientHeight - 100, { x: tt, y: at, style: nt } = j(Ae, { initialValue: { x: Ze, y: et }, preventDefault: true, onStart() {
41
38
  xe.value = true;
42
39
  }, onMove(e3) {
43
40
  xe.value = false, function(e4) {
@@ -46,54 +43,61 @@ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { styl
46
43
  e4.x = Math.max(0, Math.min(e4.x, t2)), e4.y = Math.max(0, Math.min(e4.y, a2));
47
44
  }(e3);
48
45
  }, onEnd() {
49
- at(), setTimeout(() => xe.value = true, 50);
46
+ ot(), setTimeout(() => xe.value = true, 50);
50
47
  } });
51
- function at() {
48
+ function ot() {
52
49
  if (!Ae.value)
53
50
  return;
54
51
  const e3 = window.innerWidth - Ae.value.offsetWidth, t2 = window.innerHeight - Ae.value.offsetHeight;
55
- Ze.value > e3 && (Ze.value = e3), et.value > t2 && (et.value = t2);
52
+ tt.value > e3 && (tt.value = e3), at.value > t2 && (at.value = t2);
56
53
  }
57
- function nt(e3) {
54
+ function lt(e3) {
58
55
  var _a2;
59
- Ne.value = true, je.value = e3, Pe.value = [], De[e3] && 0 !== De[e3].length ? (Pe.value = De[e3], (_a2 = Ve.value) == null ? void 0 : _a2.scrollToBottom()) : Pe.value.push(I);
56
+ Ne.value = true, De.value = e3, Pe.value = [], je[e3] && 0 !== je[e3].length ? (Pe.value = je[e3], (_a2 = Ue.value) == null ? void 0 : _a2.scrollToBottom()) : Pe.value.push(I);
60
57
  }
61
- function ot(e3 = Ce("chatEmbed.requestFailed")) {
58
+ function it(e3 = Ce("chatEmbed.requestFailed")) {
62
59
  Pe.value.push(q("ai", e3, false, false)), Ee.value = false;
63
60
  }
64
- function lt() {
65
- xe.value && (Me.value = !Me.value, vt(), Be.value.getHistory());
61
+ function ut() {
62
+ if (!xe.value)
63
+ return;
64
+ const e3 = Date.now();
65
+ e3 - qe.value < 300 || (qe.value = e3, Me.value = !Me.value);
66
66
  }
67
- function it(e3) {
67
+ function rt(e3) {
68
68
  return Te.value[e3] || (Te.value[e3] = X().replace(/-/g, "")), Te.value[e3];
69
69
  }
70
- nt(je.value), a(Re, (e3) => {
70
+ lt(De.value), a(Le, (e3) => {
71
71
  document.documentElement.style.setProperty("--el-bubble-list-max-height", e3);
72
- }), n(() => {
73
- if (window.addEventListener("resize", at), Fe.value) {
72
+ }), a(Me, (e3) => {
73
+ e3 && (Oe.value || (Oe.value = true), n(() => {
74
+ mt();
75
+ }));
76
+ }), o(() => {
77
+ if (window.addEventListener("resize", ot), We.value) {
74
78
  const e3 = new ResizeObserver(() => {
75
- vt();
79
+ mt();
76
80
  });
77
- e3.observe(Fe.value.$el || Fe.value), Fe.value._resizeObserver = e3;
81
+ e3.observe(We.value.$el || We.value), We.value._resizeObserver = e3;
78
82
  }
79
- }), o(() => {
80
- var _a2;
81
- ((_a2 = Fe.value) == null ? void 0 : _a2._resizeObserver) && Fe.value._resizeObserver.disconnect();
82
83
  }), l(() => {
83
- window.removeEventListener("resize", at), function() {
84
- Ke && (Ke.abort(), Ke = null);
85
- we(), Ge.value = false, Ee.value = false;
84
+ var _a2;
85
+ ((_a2 = We.value) == null ? void 0 : _a2._resizeObserver) && We.value._resizeObserver.disconnect();
86
+ }), i(() => {
87
+ window.removeEventListener("resize", ot), function() {
88
+ Xe && (Xe.abort(), Xe = null);
89
+ we(), Qe.value = false, Ee.value = false;
86
90
  }();
87
91
  });
88
- const ut = i(() => {
92
+ const st = u(() => {
89
93
  var _a2, _b2, _c2;
90
- if (!Ge.value || !be.value.length)
94
+ if (!Qe.value || !be.value.length)
91
95
  return "";
92
96
  const e3 = be.value[be.value.length - 1];
93
97
  try {
94
98
  const t2 = JSON.parse(e3.data);
95
99
  if (t2.isChunk)
96
- true === t2.data && _e.value.content ? (_e.value.thinkingStatus = R.END, _e.value.showThinkingContent = true, _e.value = {}, Ee.value = false) : rt(t2);
100
+ true === t2.data && _e.value.content ? (_e.value.thinkingStatus = R.END, _e.value.showThinkingContent = true, _e.value = {}, Ee.value = false) : ct(t2);
97
101
  else {
98
102
  if (!((_a2 = t2.data) == null ? void 0 : _a2.id) && true !== t2.data)
99
103
  return Ee.value = false, _e.value && (_e.value.thinkingStatus = R.END), "";
@@ -101,53 +105,53 @@ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { styl
101
105
  return function() {
102
106
  if (Ee.value = false, !_e.value)
103
107
  return;
104
- _e.value.content = ee(_e.value.content), Ct();
108
+ _e.value.content = ee(_e.value.content), xt();
105
109
  }(t2.data.answer), "";
106
- rt(t2);
110
+ ct(t2);
107
111
  }
108
112
  } catch (e4) {
109
113
  console.error("解析数据时出错:", e4), Ee.value = false;
110
114
  }
111
115
  return "";
112
116
  });
113
- function rt(e3) {
117
+ function ct(e3) {
114
118
  const t2 = e3.data.answer;
115
119
  if (!t2 || !_e.value)
116
120
  return;
117
121
  const { thinkingContent: a2, mainContent: n2 } = te(t2);
118
122
  a2 && (_e.value.thinkingContent = a2), n2 && (e3.isChunk ? _e.value.content += n2 : _e.value.content = n2);
119
123
  }
120
- function st() {
121
- if (Ee.value = false, Ke && (Ke.abort(), Ke = null), Ge.value && (we(), Ge.value = false, Pe.value.length > 0)) {
124
+ function vt() {
125
+ if (Ee.value = false, Xe && (Xe.abort(), Xe = null), Qe.value && (we(), Qe.value = false, Pe.value.length > 0)) {
122
126
  const e3 = Pe.value[Pe.value.length - 1];
123
127
  e3 && "ai" === e3.role && (e3.thinkingStatus = R.END, e3.content || (e3.content = "回答已取消"));
124
128
  }
125
129
  _e.value && Object.keys(_e.value).length > 0 && (_e.value.thinkingStatus = R.END, _e.value = {});
126
130
  }
127
- function ct() {
128
- Oe.value = !Oe.value, vt();
131
+ function dt() {
132
+ $e.value = !$e.value, mt();
129
133
  }
130
- function vt() {
134
+ function mt() {
131
135
  let e3 = 100;
132
- Oe.value && (e3 = 100), u(() => {
136
+ $e.value && (e3 = 100), n(() => {
133
137
  var _a2;
134
- Oe.value ? (Ue.value.style.height = `calc(${e3}vh)`, Ue.value.style.width = "calc(100vw)", $e.value = "calc(100vw - var(--chat-padding) * 2) * 0.8") : (Ue.value.style.height = `calc(${e3}vh - var(--chat-padding) * 2)`, Ue.value.style.width = 460 + He.value + "px", $e.value = 0.8 * (460 + He.value) + "px");
135
- const t2 = ((_a2 = Fe.value) == null ? void 0 : _a2.offsetHeight) || 80, a2 = window.innerHeight * e3 / 100 - 56 - t2 - 72;
136
- Re.value = a2 + "px";
138
+ $e.value ? (Be.value.style.height = `calc(${e3}vh)`, Be.value.style.width = "calc(100vw)", He.value = "calc(100vw - var(--chat-padding) * 2) * 0.8") : (Be.value.style.height = `calc(${e3}vh - var(--chat-padding) * 2)`, Be.value.style.width = 460 + ze.value + "px", He.value = 0.8 * (460 + ze.value) + "px");
139
+ const t2 = ((_a2 = We.value) == null ? void 0 : _a2.offsetHeight) || 80, a2 = window.innerHeight * e3 / 100 - 56 - t2 - 72;
140
+ Le.value = a2 + "px";
137
141
  });
138
142
  }
139
- function dt(e3) {
140
- switch (Ee.value && st(), e3.systemCode = pe2, Ge.value = false, e3.aiModel) {
143
+ function ft(e3) {
144
+ switch (Ee.value && vt(), e3.systemCode = pe2, Qe.value = false, e3.aiModel) {
141
145
  case $.RAGFLOW:
142
146
  !function(e4) {
143
147
  if (!e4)
144
148
  return;
145
- be.value = [], Pe.value.push(q("user", e4, true, false)), Ee.value = true, Te.value[je.value] ? bt(e4) : async function(e5) {
149
+ be.value = [], Pe.value.push(q("user", e4, true, false)), Ee.value = true, Te.value[De.value] ? St(e4) : async function(e5) {
146
150
  try {
147
151
  const t2 = await window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/mc/rag-flow/converse-with-chat", { question: e5 });
148
- Te.value[je.value] = t2.session_id, bt(e5);
152
+ Te.value[De.value] = t2.session_id, St(e5);
149
153
  } catch (e6) {
150
- console.error("Failed to create session:", e6), ot();
154
+ console.error("Failed to create session:", e6), it();
151
155
  }
152
156
  }(e4);
153
157
  }(e3.question);
@@ -159,18 +163,18 @@ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { styl
159
163
  const t2 = M(e4);
160
164
  Pe.value.push(t2), _e.value = O(e4, true), Pe.value.push(_e.value);
161
165
  try {
162
- ne.sendMessageToMcp(e4, it(je.value)).then(({ answerMessage: e5, errorMessage: t3 }) => {
163
- Ee.value = false, t3 ? At(t3, true) : e5 && At(e5);
166
+ ne.sendMessageToMcp(e4, rt(De.value)).then(({ answerMessage: e5, errorMessage: t3 }) => {
167
+ Ee.value = false, t3 ? Pt(t3, true) : e5 && Pt(e5);
164
168
  }).catch((e5) => {
165
- Ee.value = false, console.error("MCP error:", e5), At("未能返回有效信息", true);
169
+ Ee.value = false, console.error("MCP error:", e5), Pt("未能返回有效信息", true);
166
170
  });
167
171
  } catch (e5) {
168
- Ee.value = false, console.error("MCP error:", e5), At("未能返回有效信息", true);
172
+ Ee.value = false, console.error("MCP error:", e5), Pt("未能返回有效信息", true);
169
173
  }
170
174
  }(e3);
171
175
  break;
172
176
  case $.DEEPSEEK:
173
- wt(e3);
177
+ kt(e3);
174
178
  break;
175
179
  case $.INTERACTION:
176
180
  !function(e4) {
@@ -178,9 +182,9 @@ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { styl
178
182
  return;
179
183
  try {
180
184
  const t2 = M(e4);
181
- Pe.value.push(t2), Qe.value.parseCommand();
185
+ Pe.value.push(t2), Ye.value.parseCommand();
182
186
  } catch (e5) {
183
- console.error("systemInteraction error:", e5), ot();
187
+ console.error("systemInteraction error:", e5), it();
184
188
  }
185
189
  }(e3);
186
190
  break;
@@ -189,15 +193,15 @@ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { styl
189
193
  if (!e4.question)
190
194
  return;
191
195
  const t2 = M(e4);
192
- Pe.value.push(t2), Ge.value = true, Ee.value = true, _e.value = O(e4, true), Pe.value.push(_e.value);
193
- const a2 = it(je.value);
196
+ Pe.value.push(t2), Qe.value = true, Ee.value = true, _e.value = O(e4, true), Pe.value.push(_e.value);
197
+ const a2 = rt(De.value);
194
198
  window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/aippt/createPpt", { menuName: e4.menuName, menuCode: e4.menuCode, question: e4.question, additionalDataLabel: e4.additionalDataLabel, additionalData: JSON.stringify(e4.additionalData), fileId: e4.fileId, fileInfos: e4.fileInfos, systemCode: pe2, messageId: a2 }).then((e5) => {
195
199
  if (e5.fileUrl) {
196
200
  const t3 = ae(e5.fileUrl) || "点击下载";
197
201
  _e.value.content = `PPT已生成:[${t3}](${e5.fileUrl})`;
198
202
  } else
199
203
  _e.value.content = "PPT生成失败,请稍后重试";
200
- Ct(), Ee.value = false, window.open(e5.fileUrl, "_blank");
204
+ xt(), Ee.value = false, window.open(e5.fileUrl, "_blank");
201
205
  }).finally(() => {
202
206
  Ee.value = false;
203
207
  });
@@ -207,57 +211,57 @@ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { styl
207
211
  e3.aiModel;
208
212
  }
209
213
  }
210
- function mt(e3) {
211
- wt({ question: e3.question, additionalData: e3.additionalData, additionalDataLabel: e3.additionalDataLabel, menuName: e3.menuName, menuCode: e3.menuCode, aiModel: je.value });
212
- }
213
214
  function ht(e3) {
215
+ kt({ question: e3.question, additionalData: e3.additionalData, additionalDataLabel: e3.additionalDataLabel, menuName: e3.menuName, menuCode: e3.menuCode, aiModel: De.value });
216
+ }
217
+ function pt(e3) {
214
218
  if (e3.content) {
215
- wt({ question: e3.content, aiModel: je.value });
219
+ kt({ question: e3.content, aiModel: De.value });
216
220
  }
217
221
  }
218
- function ft() {
222
+ function gt() {
219
223
  var _a2;
220
- (_a2 = Qe.value) == null ? void 0 : _a2.newChatSession(), Pe.value = [], je.value === $.DEEPSEEK && async function() {
221
- if (Te.value[je.value])
224
+ (_a2 = Ye.value) == null ? void 0 : _a2.newChatSession(), Pe.value = [], De.value === $.DEEPSEEK && async function() {
225
+ if (Te.value[De.value])
222
226
  try {
223
- await window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/ai/multiple-fuck/clear/" + Te.value[je.value]);
227
+ await window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/ai/multiple-fuck/clear/" + Te.value[De.value]);
224
228
  } catch (e3) {
225
- console.error("Failed to clear session:", e3), ot();
229
+ console.error("Failed to clear session:", e3), it();
226
230
  }
227
- }(), Ie.value = null, Te.value[je.value] = null, Ee.value = false, De[je.value] = [], nt(je.value);
231
+ }(), Ie.value = null, Te.value[De.value] = null, Ee.value = false, je[De.value] = [], lt(De.value);
228
232
  }
229
- function pt(e3) {
230
- De[je.value] = JSON.parse(JSON.stringify(Pe.value)), nt(e3);
233
+ function yt(e3) {
234
+ je[De.value] = JSON.parse(JSON.stringify(Pe.value)), lt(e3);
231
235
  }
232
- function gt(e3) {
233
- Je.value = e3, ze.value = true;
236
+ function wt(e3) {
237
+ Fe.value = e3, Ve.value = true;
234
238
  }
235
- function yt(e3, t2) {
239
+ function bt(e3, t2) {
236
240
  try {
237
241
  Y(e3, Z(t2 || "data"));
238
242
  } catch (e4) {
239
243
  console.error("下载失败:", e4);
240
244
  }
241
245
  }
242
- async function wt(e3) {
246
+ async function kt(e3) {
243
247
  if (e3.question)
244
248
  try {
245
249
  const t2 = M(e3);
246
- Pe.value.push(t2), Ge.value = true, Ee.value = true;
247
- const a2 = it(je.value);
248
- _e.value = O(e3, true), Pe.value.push(_e.value), Ke = new AbortController();
249
- const n2 = N(), o2 = await fetch(window.$vueApp.config.globalProperties.baseAPI + "/component/ai/multiple-fuck", { method: "POST", headers: { "Content-Type": "application/json", authorization: n2 || "" }, body: JSON.stringify({ question: e3.question, messageId: a2, data: JSON.stringify(e3.additionalData), fileId: e3.fileId, systemCode: pe2 }), signal: Ke.signal });
250
+ Pe.value.push(t2), Qe.value = true, Ee.value = true;
251
+ const a2 = rt(De.value);
252
+ _e.value = O(e3, true), Pe.value.push(_e.value), Xe = new AbortController();
253
+ const n2 = N(), o2 = await fetch(window.$vueApp.config.globalProperties.baseAPI + "/component/ai/multiple-fuck", { method: "POST", headers: { "Content-Type": "application/json", authorization: n2 || "" }, body: JSON.stringify({ question: e3.question, messageId: a2, data: JSON.stringify(e3.additionalData), fileId: e3.fileId, systemCode: pe2 }), signal: Xe.signal });
250
254
  if (!o2.body)
251
255
  throw new Error("No response body");
252
256
  await ye({ readableStream: o2.body });
253
257
  } catch (e4) {
254
- console.error("DeepSeek error:", e4), ot();
258
+ console.error("DeepSeek error:", e4), it();
255
259
  }
256
260
  }
257
- async function bt(e3) {
261
+ async function St(e3) {
258
262
  try {
259
- Ge.value = true, _e.value = O({ question: e3 }, true), _e.value.messageType = "realtime", Pe.value.push(_e.value), Ke = new AbortController();
260
- const t2 = N(), a2 = await fetch(window.$vueApp.config.globalProperties.baseAPI + "/mc/rag-flow/converse-with-chat-stream", { method: "POST", headers: { "Content-Type": "text/event-stream", authorization: t2 }, body: JSON.stringify({ question: e3, stream: true, systemCode: pe2, session_id: Te.value[je.value] }), signal: Ke.signal });
263
+ Qe.value = true, _e.value = O({ question: e3 }, true), _e.value.messageType = "realtime", Pe.value.push(_e.value), Xe = new AbortController();
264
+ const t2 = N(), a2 = await fetch(window.$vueApp.config.globalProperties.baseAPI + "/mc/rag-flow/converse-with-chat-stream", { method: "POST", headers: { "Content-Type": "text/event-stream", authorization: t2 }, body: JSON.stringify({ question: e3, stream: true, systemCode: pe2, session_id: Te.value[De.value] }), signal: Xe.signal });
261
265
  if (!a2.body)
262
266
  throw new Error("No response body");
263
267
  await ye({ readableStream: a2.body });
@@ -267,13 +271,13 @@ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { styl
267
271
  console.error("SSE error:", e4), Ee.value = false;
268
272
  }
269
273
  }
270
- function kt(e3) {
274
+ function Ct(e3) {
271
275
  const t2 = e3.doc_name.split(".").pop();
272
276
  window.open(`http://101.43.172.105/document/${e3.doc_id}?ext=${t2}&prefix=document`);
273
277
  }
274
- function St(e3) {
275
- Ee.value = true, it(je.value);
276
- const t2 = { question: e3.content, aiModel: je.value };
278
+ function At(e3) {
279
+ Ee.value = true, rt(De.value);
280
+ const t2 = { question: e3.content, aiModel: De.value };
277
281
  if (_e.value = O(t2, false), Pe.value.push(_e.value), _e.value.thinkingStatus = R.NONE, e3.url) {
278
282
  const t3 = e3.command ? e3.command : e3.content;
279
283
  _e.value.link = e3.url, _e.value.linkTitle = t3, _e.value.content = e3.content;
@@ -281,26 +285,26 @@ const le = { key: 0 }, ie = ["src"], ue = { class: "chat-content" }, re = { styl
281
285
  _e.value.content = e3.content;
282
286
  _e.value = {}, Ee.value = false;
283
287
  }
284
- function Ct(e3 = false) {
285
- _e.value.thinkingStatus = R.END, _e.value.showThinkingContent = true, _e.value.messageType = "history", _e.value = {}, Ne.value && Be.value.addCurrentToSessionHistory(Te.value[je.value], Pe.value), e3 || (Ne.value = false);
288
+ function xt(e3 = false) {
289
+ _e.value.thinkingStatus = R.END, _e.value.showThinkingContent = true, _e.value.messageType = "history", _e.value = {}, Ne.value && Ke.value.addCurrentToSessionHistory(Te.value[De.value], Pe.value), e3 || (Ne.value = false);
286
290
  }
287
- function At(e3, t2 = false) {
288
- _e.value.content = e3, t2 && (_e.value.thinkingStatus = R.ERROR), Ct(t2);
291
+ function Pt(e3, t2 = false) {
292
+ _e.value.content = e3, t2 && (_e.value.thinkingStatus = R.ERROR), xt(t2);
289
293
  }
290
- function xt(e3, t2) {
291
- Ne.value = false, Ie.value = e3, Te.value[je.value] = e3.sessionId, t2.length > 0 && (Pe.value = []), u(() => {
292
- Pe.value = t2, u(() => {
294
+ function _t(e3, t2) {
295
+ Ne.value = false, Ie.value = e3, Te.value[De.value] = e3.sessionId, t2.length > 0 && (Pe.value = []), n(() => {
296
+ Pe.value = t2, n(() => {
293
297
  var _a2;
294
- (_a2 = Ve.value) == null ? void 0 : _a2.scrollToBottom();
298
+ (_a2 = Ue.value) == null ? void 0 : _a2.scrollToBottom();
295
299
  });
296
300
  });
297
301
  }
298
- return (e3, t2) => ge.value ? (r(), s("div", le, [c("div", { ref_key: "chatIcon", ref: Ae, style: v([d(tt), { position: "fixed", cursor: "pointer", "z-index": "100" }]) }, [c("img", { src: d(K), alt: "AI Avatar", onClick: lt, style: { width: "50px", height: "50px" } }, null, 8, ie)], 4), m(h, { name: "slide-up" }, { default: f(() => [p(c("div", { ref_key: "chatContainerRef", ref: Ue, class: g(["chat-container", Oe.value ? "full-screen" : "small-window"]), style: { display: "flex", flexDirection: "row" } }, [m(Q, { ref_key: "sidebarItemRef", ref: Be, style: v({ width: He.value + "px" }), onSelectHistoryItem: xt, onNewChatSession: ft, onUpdateAiHistory: t2[0] || (t2[0] = (e4) => {
302
+ return (e3, t2) => ge.value ? (r(), s("div", le, [c("div", { ref_key: "chatIcon", ref: Ae, style: v([d(nt), { position: "fixed", cursor: "pointer", "z-index": "100" }]) }, [c("img", { src: d(K), alt: "AI Avatar", onClick: ut, style: { width: "50px", height: "50px" } }, null, 8, ie)], 4), m(f, { name: "slide-up" }, { default: h(() => [Oe.value ? p((r(), s("div", { key: 0, ref_key: "chatContainerRef", ref: Be, class: g(["chat-container", $e.value ? "full-screen" : "small-window"]), style: { display: "flex", flexDirection: "row" } }, [m(Q, { ref_key: "sidebarItemRef", ref: Ke, style: v({ width: ze.value + "px" }), onSelectHistoryItem: _t, onNewChatSession: gt, onUpdateAiHistory: t2[0] || (t2[0] = (e4) => {
299
303
  Ie.value.value = e4;
300
- }), dialogFullScreen: Oe.value, aiModel: je.value }, null, 8, ["style", "dialogFullScreen", "aiModel"]), c("div", ue, [m(V, { aiAvatar: Le.value, aiModel: je.value, chatSessionId: Te.value, dialogFullScreen: Oe.value, aiHistory: Ie.value, onExpandDialog: ct, onShowChatDialog: lt, onNewChatSession: ft }, null, 8, ["aiAvatar", "aiModel", "chatSessionId", "dialogFullScreen", "aiHistory"]), c("div", re, [(r(), s("div", { ref_key: "talkMainRef", ref: We, class: "chat-embed__main", key: qe.value }, [c("div", se, [m(d(_), { ref_key: "bubbleListRef", ref: Ve, list: Pe.value, "max-height": Re.value, "is-fog": true }, { avatar: f(({ item: e4 }) => [...t2[2] || (t2[2] = [])]), content: f(({ item: e4 }) => {
304
+ }), dialogFullScreen: $e.value, aiModel: De.value }, null, 8, ["style", "dialogFullScreen", "aiModel"]), c("div", ue, [m(V, { aiAvatar: Je.value, aiModel: De.value, chatSessionId: Te.value, dialogFullScreen: $e.value, aiHistory: Ie.value, onExpandDialog: dt, onShowChatDialog: ut, onNewChatSession: gt }, null, 8, ["aiAvatar", "aiModel", "chatSessionId", "dialogFullScreen", "aiHistory"]), c("div", re, [(r(), s("div", { ref_key: "talkMainRef", ref: Ge, class: "chat-embed__main", key: Re.value }, [c("div", se, [m(d(_), { ref_key: "bubbleListRef", ref: Ue, list: Pe.value, "max-height": Le.value, "is-fog": true }, { avatar: h(({ item: e4 }) => [...t2[2] || (t2[2] = [])]), content: h(({ item: e4 }) => {
301
305
  var _a2;
302
- return [e4.isRecommend || null === e4.thinkingContent ? b("", true) : (r(), s(y, { key: 0 }, ["failed" !== e4.messageStatus ? (r(), w(d(E), { key: 0, "button-width": "180px", style: { "margin-bottom": "5px" }, modelValue: e4.showThinkingContent, "onUpdate:modelValue": (t3) => e4.showThinkingContent = t3, status: e4.thinkingStatus, "auto-collapse": "", content: e4.thinkingContent, typing: { interval: 20 }, duration: ".3s" }, null, 8, ["modelValue", "onUpdate:modelValue", "status", "content"])) : b("", true)], 64)), e4.link ? (r(), s("a", { key: 1, href: e4.link, title: e4.linkTitle, target: "blank" }, k(e4.content), 9, ce)) : e4.content ? (r(), s(y, { key: 2 }, [c("div", { class: g(["ai" === e4.role ? "content-container" : "content-borderless-container", "chat-content-font"]) }, ["ai" !== e4.role || e4.isRecommend ? "user" === e4.role ? (r(), s(y, { key: 1 }, [S(k(e4.content) + " ", 1), ((_a2 = e4.additionalData) == null ? void 0 : _a2.length) > 0 && e4.additionalDataLabel ? (r(), w(L, { key: 0, item: e4, onViewJson: gt, onDownloadJson: yt }, null, 8, ["item"])) : b("", true)], 64)) : (r(), s(y, { key: 2 }, [S(k(e4.content), 1)], 64)) : (r(), s(y, { key: 0 }, [e4.messageType && "history" !== e4.messageType ? (r(), w(d(T), { key: 1, allowHtml: "", content: e4.content, typing: true, "is-markdown": true, "is-fog": "" }, null, 8, ["content"])) : (r(), w(d(j), { key: 0, markdown: e4.content, allowHtml: true, content: e4.content, typing: { interval: 10 }, "is-markdown": true }, { "amb-ai-tip": f(({ ...t3 }) => [m(J, { item: e4, itemProps: t3, onClickDocAgg: kt }, null, 8, ["item", "itemProps"])]), "amb-alink": f(({ ...e5 }) => [c("a", { href: e5.href, target: e5.target }, k(e5.text), 9, ve)]), "amb-home-chart": f(({ ...e5 }) => [m(W, { chartProps: e5, class: "chat-chart-container" }, null, 8, ["chartProps"])]), "amb-interaction-data": f(({ ...e5 }) => [m(B, { chartProps: e5, class: "chat-chart-container" }, null, 8, ["chartProps"])]), "amb-auto-chart": f(({ ...e5 }) => [m(G, { chartProps: e5, class: "chat-chart-container" }, null, 8, ["chartProps"])]), _: 2 }, 1032, ["markdown", "content"]))], 64)), c("div", de, [c("span", null, k(e4.sendTime), 1)])], 2), e4.recommendations && e4.recommendations.length > 0 ? (r(), w(H, { key: 0, item: e4, onClickRecommendation: ht }, null, 8, ["item"])) : b("", true), e4.docAggs && e4.docAggs.length > 0 ? (r(), s("div", me, [t2[3] || (t2[3] = c("div", { class: "content-container-header" }, "引用文件", -1)), (r(true), s(y, null, C(e4.docAggs, (e5, t3) => (r(), s("div", { onClick: (t4) => kt(e5), class: "doc-agg-item" }, k(e5.doc_name), 9, he))), 256))])) : b("", true)], 64)) : b("", true)];
303
- }), footer: f(({ item: e4 }) => [m(z, { item: e4, onRegenerate: mt }, null, 8, ["item"])]), _: 1 }, 8, ["list", "max-height"]), c("div", fe, k(ut.value), 1)]), c("div", { ref_key: "talkInputRef", ref: Fe, class: "chat-embed__input_container" }, [m(F, { loading: Ee.value, ref_key: "chatSenderRef", ref: Qe, onSubmitQuestion: dt, onCommandAnswer: St, onHandleCancel: st, onViewJson: gt, onChangeAiModel: pt }, null, 8, ["loading"])], 512)]))])])], 2), [[A, Me.value]])]), _: 1 }), m(d(U), { modelValue: ze.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ze.value = e4), "json-object": Je.value, "append-to-body": true, title: "预览数据" }, null, 8, ["modelValue", "json-object"])])) : b("", true);
306
+ return [e4.isRecommend || null === e4.thinkingContent ? b("", true) : (r(), s(y, { key: 0 }, ["failed" !== e4.messageStatus ? (r(), w(d(E), { key: 0, "button-width": "180px", style: { "margin-bottom": "5px" }, modelValue: e4.showThinkingContent, "onUpdate:modelValue": (t3) => e4.showThinkingContent = t3, status: e4.thinkingStatus, "auto-collapse": "", content: e4.thinkingContent, typing: { interval: 20 }, duration: ".3s" }, null, 8, ["modelValue", "onUpdate:modelValue", "status", "content"])) : b("", true)], 64)), e4.link ? (r(), s("a", { key: 1, href: e4.link, title: e4.linkTitle, target: "blank" }, k(e4.content), 9, ce)) : e4.content ? (r(), s(y, { key: 2 }, [c("div", { class: g(["ai" === e4.role ? "content-container" : "content-borderless-container", "chat-content-font"]) }, ["ai" !== e4.role || e4.isRecommend ? "user" === e4.role ? (r(), s(y, { key: 1 }, [S(k(e4.content) + " ", 1), ((_a2 = e4.additionalData) == null ? void 0 : _a2.length) > 0 && e4.additionalDataLabel ? (r(), w(L, { key: 0, item: e4, onViewJson: wt, onDownloadJson: bt }, null, 8, ["item"])) : b("", true)], 64)) : (r(), s(y, { key: 2 }, [S(k(e4.content), 1)], 64)) : (r(), s(y, { key: 0 }, [e4.messageType && "history" !== e4.messageType ? (r(), w(d(T), { key: 1, allowHtml: "", content: e4.content, typing: true, "is-markdown": true, "is-fog": "" }, null, 8, ["content"])) : (r(), w(d(D), { key: 0, markdown: e4.content, allowHtml: true, content: e4.content, typing: { interval: 10 }, "is-markdown": true }, { "amb-ai-tip": h(({ ...t3 }) => [m(J, { item: e4, itemProps: t3, onClickDocAgg: Ct }, null, 8, ["item", "itemProps"])]), "amb-alink": h(({ ...e5 }) => [c("a", { href: e5.href, target: e5.target }, k(e5.text), 9, ve)]), "amb-home-chart": h(({ ...e5 }) => [m(W, { chartProps: e5, class: "chat-chart-container" }, null, 8, ["chartProps"])]), "amb-interaction-data": h(({ ...e5 }) => [m(B, { chartProps: e5, class: "chat-chart-container" }, null, 8, ["chartProps"])]), "amb-auto-chart": h(({ ...e5 }) => [m(G, { chartProps: e5, class: "chat-chart-container" }, null, 8, ["chartProps"])]), _: 2 }, 1032, ["markdown", "content"]))], 64)), c("div", de, [c("span", null, k(e4.sendTime), 1)])], 2), e4.recommendations && e4.recommendations.length > 0 ? (r(), w(H, { key: 0, item: e4, onClickRecommendation: pt }, null, 8, ["item"])) : b("", true), e4.docAggs && e4.docAggs.length > 0 ? (r(), s("div", me, [t2[3] || (t2[3] = c("div", { class: "content-container-header" }, "引用文件", -1)), (r(true), s(y, null, C(e4.docAggs, (e5, t3) => (r(), s("div", { onClick: (t4) => Ct(e5), class: "doc-agg-item" }, k(e5.doc_name), 9, fe))), 256))])) : b("", true)], 64)) : b("", true)];
307
+ }), footer: h(({ item: e4 }) => [m(z, { item: e4, onRegenerate: ht }, null, 8, ["item"])]), _: 1 }, 8, ["list", "max-height"]), c("div", he, k(st.value), 1)]), c("div", { ref_key: "talkInputRef", ref: We, class: "chat-embed__input_container" }, [m(F, { loading: Ee.value, ref_key: "chatSenderRef", ref: Ye, onSubmitQuestion: ft, onCommandAnswer: At, onHandleCancel: vt, onViewJson: wt, onChangeAiModel: yt }, null, 8, ["loading"])], 512)]))])])], 2)), [[A, Me.value]]) : b("", true)]), _: 1 }), m(d(U), { modelValue: Ve.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => Ve.value = e4), "json-object": Fe.value, "append-to-body": true, title: "预览数据" }, null, 8, ["modelValue", "json-object"])])) : b("", true);
304
308
  } });
305
309
  export {
306
310
  pe as default