agilebuilder-ui 1.1.65-tmp13 → 1.1.65-tmp15

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 (882) hide show
  1. package/dist/index.full.min.js +16440 -0
  2. package/{es → dist}/style.css +2121 -2120
  3. package/lib/IntervalSelection/index.js +7 -5
  4. package/lib/IntervalSelection/src/sectionDate.vue.js +21 -17
  5. package/lib/IntervalSelection/src/sectionDate.vue2.js +4 -2
  6. package/lib/_virtual/__vite-browser-external.js +4 -2
  7. package/lib/_virtual/_plugin-vue_export-helper.js +8 -6
  8. package/lib/breadcrumb/index.js +5 -3
  9. package/lib/breadcrumb/src/breadcrumb.vue.js +19 -28
  10. package/lib/breadcrumb/src/breadcrumb.vue2.js +4 -2
  11. package/lib/chat-embed/index.js +5 -3
  12. package/lib/chat-embed/src/chat-addition-data.vue.js +7 -5
  13. package/lib/chat-embed/src/chat-addition-data.vue2.js +13 -11
  14. package/lib/chat-embed/src/chat-addition-data.vue3.js +4 -2
  15. package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +7 -5
  16. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +20 -17
  17. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -2
  18. package/lib/chat-embed/src/chat-bubble-footer.vue.js +7 -5
  19. package/lib/chat-embed/src/chat-bubble-footer.vue2.js +22 -17
  20. package/lib/chat-embed/src/chat-bubble-footer.vue3.js +4 -2
  21. package/lib/chat-embed/src/chat-embed-message.js +20 -14
  22. package/lib/chat-embed/src/chat-sender.vue.js +7 -5
  23. package/lib/chat-embed/src/chat-sender.vue2.js +123 -110
  24. package/lib/chat-embed/src/chat-sender.vue3.js +4 -2
  25. package/lib/chat-embed/src/components/answer-auto-chart.vue.js +7 -5
  26. package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +50 -42
  27. package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +4 -2
  28. package/lib/chat-embed/src/components/answer-home-chart.vue.js +7 -5
  29. package/lib/chat-embed/src/components/answer-home-chart.vue2.js +6 -3
  30. package/lib/chat-embed/src/components/answer-home-chart.vue3.js +4 -2
  31. package/lib/chat-embed/src/components/answer-interaction-data.vue.js +7 -5
  32. package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +84 -74
  33. package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +4 -2
  34. package/lib/chat-embed/src/components/history-detail.vue.js +7 -5
  35. package/lib/chat-embed/src/components/history-detail.vue2.js +32 -27
  36. package/lib/chat-embed/src/components/history-detail.vue3.js +4 -2
  37. package/lib/chat-embed/src/header.vue.js +7 -5
  38. package/lib/chat-embed/src/header.vue2.js +32 -25
  39. package/lib/chat-embed/src/header.vue3.js +4 -2
  40. package/lib/chat-embed/src/index.vue.js +7 -5
  41. package/lib/chat-embed/src/index.vue2.js +211 -185
  42. package/lib/chat-embed/src/index.vue3.js +4 -2
  43. package/lib/chat-embed/src/recommendation-message.vue.js +7 -5
  44. package/lib/chat-embed/src/recommendation-message.vue2.js +8 -5
  45. package/lib/chat-embed/src/recommendation-message.vue3.js +4 -2
  46. package/lib/chat-embed/src/sidebar-item.vue.js +7 -5
  47. package/lib/chat-embed/src/sidebar-item.vue2.js +93 -84
  48. package/lib/chat-embed/src/sidebar-item.vue3.js +4 -2
  49. package/lib/chat-embed/src/type.js +5 -3
  50. package/lib/chat-embed/src/util/chat-embed-util.js +41 -35
  51. package/lib/chat-embed/src/util/history-message-util.js +85 -63
  52. package/lib/chat-embed/src/util/mcp-utils.js +8 -5
  53. package/lib/chat-embed/src/util/text-file-util.js +11 -7
  54. package/lib/chat-embed/src/voice/index.js +7 -5
  55. package/lib/chat-embed/src/voice/js/crypto-js.js +995 -987
  56. package/lib/chat-embed/src/voice/js/processor/index.umd.js +169 -161
  57. package/lib/chat-embed/src/voice/js/timer.js +10 -7
  58. package/lib/chat-embed/src/voice/voice.vue.js +70 -61
  59. package/lib/date-picker-range/index.js +7 -5
  60. package/lib/date-picker-range/index.vue.js +7 -5
  61. package/lib/date-picker-range/index.vue2.js +63 -59
  62. package/lib/date-picker-range/index.vue3.js +4 -2
  63. package/lib/department-tree/index.js +5 -3
  64. package/lib/department-tree/src/department-tree.vue.js +17 -11
  65. package/lib/department-tree-inline/index.js +5 -3
  66. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +27 -17
  67. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -2
  68. package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +27 -17
  69. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -2
  70. package/lib/department-tree-inline/src/department-tree-inline.vue.js +13 -8
  71. package/lib/department-tree-inline/src/department-tree-service.js +10 -8
  72. package/lib/department-tree-inline/src/search-result.vue.js +23 -19
  73. package/lib/department-tree-inline/src/search-result.vue2.js +4 -2
  74. package/lib/department-tree-mobile/index.js +7 -4
  75. package/lib/department-tree-mobile/src/department-tree-app.vue.js +12 -9
  76. package/lib/department-tree-mobile/src/department-tree-app.vue2.js +4 -2
  77. package/lib/department-tree-mobile/src/department-tree-app.vue3.js +5 -3
  78. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +91 -80
  79. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -3
  80. package/lib/department-tree-mobile/src/department-tree-service.js +42 -32
  81. package/lib/department-tree-mobile/src/dept-path.vue.js +11 -10
  82. package/lib/department-tree-mobile/src/dept-path.vue2.js +4 -3
  83. package/lib/department-tree-mobile/src/dept-result.vue.js +14 -11
  84. package/lib/department-tree-mobile/src/dept-result.vue2.js +4 -3
  85. package/lib/department-user-tree/index.js +5 -3
  86. package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +14 -10
  87. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -2
  88. package/lib/department-user-tree/src/department-user-single-tree.vue.js +14 -9
  89. package/lib/department-user-tree/src/department-user-tree.vue.js +20 -14
  90. package/lib/department-user-tree-inline/index.js +5 -3
  91. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +28 -17
  92. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -2
  93. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +33 -21
  94. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -2
  95. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +13 -8
  96. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +9 -6
  97. package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +11 -8
  98. package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +12 -7
  99. package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +12 -7
  100. package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +14 -8
  101. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +20 -14
  102. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +23 -17
  103. package/lib/department-user-tree-inline/src/group-user-tree-service.js +3 -2
  104. package/lib/department-user-tree-inline/src/search-result.vue.js +15 -12
  105. package/lib/department-user-tree-inline/src/search-result.vue2.js +4 -2
  106. package/lib/department-user-tree-mobile/index.js +7 -4
  107. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +12 -9
  108. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -2
  109. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -3
  110. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +104 -93
  111. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -3
  112. package/lib/department-user-tree-mobile/src/department-user-tree-service.js +30 -20
  113. package/lib/department-user-tree-mobile/src/dept-path.vue.js +11 -10
  114. package/lib/department-user-tree-mobile/src/dept-path.vue2.js +4 -3
  115. package/lib/department-user-tree-mobile/src/dept-result.vue.js +15 -11
  116. package/lib/department-user-tree-mobile/src/dept-result.vue2.js +4 -3
  117. package/lib/directives/prevent-reclick.js +3 -2
  118. package/lib/dynamic-source-select/index.js +7 -5
  119. package/lib/dynamic-source-select/src/dynamic-source-select-service.js +15 -13
  120. package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +183 -173
  121. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -2
  122. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -2
  123. package/lib/dynamic-source-select/src/events.js +3 -2
  124. package/lib/empty-state/index.vue.js +8 -5
  125. package/lib/empty-state/index.vue2.js +4 -3
  126. package/lib/fs-preview/index.js +7 -5
  127. package/lib/fs-preview/src/fs-preview.vue.js +72 -63
  128. package/lib/fs-preview/src/fs-preview.vue2.js +4 -2
  129. package/lib/fs-upload/index.js +7 -5
  130. package/lib/fs-upload/src/fs-upload-multi.vue.js +32 -24
  131. package/lib/fs-upload/src/fs-upload-single.vue.js +39 -30
  132. package/lib/fs-upload/src/fs-upload.vue.js +16 -10
  133. package/lib/fs-upload/src/see-big-picture.vue.js +11 -8
  134. package/lib/fs-upload-list/index.js +7 -5
  135. package/lib/fs-upload-list/src/fs-upload-list.vue.js +40 -33
  136. package/lib/fs-upload-list/src/fs-upload-list.vue2.js +4 -2
  137. package/lib/fs-upload-new/index.js +7 -5
  138. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +38 -34
  139. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -3
  140. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +109 -101
  141. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -3
  142. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -5
  143. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +33 -26
  144. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -2
  145. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +31 -27
  146. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -3
  147. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +24 -18
  148. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -3
  149. package/lib/fs-upload-new/src/fs-button-upload.vue.js +7 -5
  150. package/lib/fs-upload-new/src/fs-button-upload.vue2.js +43 -36
  151. package/lib/fs-upload-new/src/fs-button-upload.vue3.js +4 -2
  152. package/lib/fs-upload-new/src/fs-drag-upload.vue.js +7 -5
  153. package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +45 -37
  154. package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +4 -2
  155. package/lib/fs-upload-new/src/fs-preview-new.vue.js +8 -5
  156. package/lib/fs-upload-new/src/fs-preview-new.vue2.js +70 -61
  157. package/lib/fs-upload-new/src/fs-preview-new.vue3.js +4 -2
  158. package/lib/fs-upload-new/src/fs-preview-new.vue4.js +4 -2
  159. package/lib/fs-upload-new/src/fs-upload-new.vue.js +47 -37
  160. package/lib/fs-upload-new/src/fs-upload-new.vue2.js +4 -3
  161. package/lib/hamburger/index.js +5 -3
  162. package/lib/hamburger/src/hamburger.vue.js +14 -10
  163. package/lib/hamburger/src/hamburger.vue2.js +4 -2
  164. package/lib/index.js +382 -40
  165. package/lib/json-view/json-view-dialog.vue.js +15 -12
  166. package/lib/json-view/json-view-dialog.vue2.js +4 -3
  167. package/lib/json-view/json-view.vue.js +4 -3
  168. package/lib/json-view/json-view.vue2.js +31 -27
  169. package/lib/multipart-upload/index.js +7 -5
  170. package/lib/multipart-upload/src/index.vue.js +11 -7
  171. package/lib/multipart-upload/src/multipart-upload-form.vue.js +49 -40
  172. package/lib/multipart-upload/src/multipart-upload-list.vue.js +67 -59
  173. package/lib/organization-input/index.js +7 -5
  174. package/lib/organization-input/src/organization-input.vue.js +37 -31
  175. package/lib/organization-input/src/organization-input.vue2.js +4 -2
  176. package/lib/plugins/export-data-new.js +104 -96
  177. package/lib/plugins/export-data.js +51 -45
  178. package/lib/plugins/index.js +8 -4
  179. package/lib/plugins/public-method.js +3 -2
  180. package/lib/remove-department/index.js +5 -3
  181. package/lib/remove-department/src/remove-department.vue.js +19 -13
  182. package/lib/remove-department/src/remove-dept-service.js +10 -9
  183. package/lib/remove-user/index.js +7 -5
  184. package/lib/remove-user/src/remove-user-service.js +4 -3
  185. package/lib/remove-user/src/remove-user.vue.js +22 -16
  186. package/lib/remove-workgroup/index.js +7 -5
  187. package/lib/remove-workgroup/src/remove-workgroup-service.js +4 -3
  188. package/lib/remove-workgroup/src/remove-workgroup.vue.js +18 -12
  189. package/lib/rich-editor/index.js +7 -5
  190. package/lib/rich-editor/index.vue.js +76 -28
  191. package/lib/rich-editor/tinymce/zh_CN.js +2 -2
  192. package/lib/rich-editor/viewer.vue.js +10 -7
  193. package/lib/row-form/index.js +7 -5
  194. package/lib/row-form/index.vue.js +7 -5
  195. package/lib/row-form/index.vue2.js +47 -41
  196. package/lib/row-form/index.vue3.js +4 -2
  197. package/lib/row-form/operation.vue.js +26 -22
  198. package/lib/row-form/operation.vue2.js +4 -3
  199. package/lib/scan-code-input/index.js +7 -5
  200. package/lib/scan-code-input/src/events.js +13 -11
  201. package/lib/scan-code-input/src/scan-code-input.vue.js +15 -9
  202. package/lib/scan-code-input-browser/index.js +7 -5
  203. package/lib/scan-code-input-browser/src/scan-code-input.vue.js +21 -16
  204. package/lib/secret-info/index.js +7 -5
  205. package/lib/secret-info/index.vue.js +9 -6
  206. package/lib/src/api/sso-service.js +36 -34
  207. package/lib/src/api/tab.js +9 -8
  208. package/lib/src/assets/401/401.gif.js +4 -2
  209. package/lib/src/assets/404/404-cloud.png.js +4 -2
  210. package/lib/src/assets/404/404.png.js +4 -2
  211. package/lib/src/assets/chat-embed/robot.gif.js +4 -2
  212. package/lib/src/assets/chat-embed/robot.svg.js +4 -2
  213. package/lib/src/assets/nonemessage.png.js +4 -2
  214. package/lib/src/components/Affix/index.vue.js +7 -5
  215. package/lib/src/components/Affix/index.vue2.js +58 -56
  216. package/lib/src/components/Affix/index.vue3.js +4 -2
  217. package/lib/src/components/Card/index.js +38 -33
  218. package/lib/src/components/Scrollbar/index.vue.js +37 -33
  219. package/lib/src/components/Scrollbar/index.vue2.js +4 -2
  220. package/lib/src/directives/permission/index.js +5 -3
  221. package/lib/src/directives/permission/permission.js +9 -7
  222. package/lib/src/i18n/i18n.js +7 -3
  223. package/lib/src/i18n/langs/cn.js +4 -2
  224. package/lib/src/i18n/langs/en.js +4 -2
  225. package/lib/src/mixins/resizeMixin.js +3 -2
  226. package/lib/src/permission.js +46 -43
  227. package/lib/src/router/index.js +9 -16
  228. package/lib/src/store/getters.js +4 -2
  229. package/lib/src/store/index.js +13 -16
  230. package/lib/src/store/modules/app.js +4 -3
  231. package/lib/src/store/modules/chat-ai-store.js +22 -19
  232. package/lib/src/store/modules/permission.js +11 -10
  233. package/lib/src/store/modules/system.js +9 -7
  234. package/lib/src/store/modules/tab-content.js +15 -13
  235. package/lib/src/store/modules/table.js +3 -2
  236. package/lib/src/store/modules/user.js +95 -89
  237. package/lib/src/utils/auth-api.js +5 -3
  238. package/lib/src/utils/auth.js +139 -69
  239. package/lib/src/utils/calculator/calculator-factory-wf.js +49 -48
  240. package/lib/src/utils/calculator/calculator-factory.js +58 -57
  241. package/lib/src/utils/calculator/calculator-util.js +32 -29
  242. package/lib/src/utils/chat-ai-util.js +25 -17
  243. package/lib/src/utils/common-util.js +356 -271
  244. package/lib/src/utils/eventBus.js +6 -3
  245. package/lib/src/utils/file-util.js +16 -15
  246. package/lib/src/utils/global-prop.js +37 -21
  247. package/lib/src/utils/guid.js +8 -5
  248. package/lib/src/utils/i18n-util.js +24 -16
  249. package/lib/src/utils/iconUtils.js +23 -16
  250. package/lib/src/utils/index.js +40 -26
  251. package/lib/src/utils/insert_css.js +7 -8
  252. package/lib/src/utils/json-util.js +27 -25
  253. package/lib/src/utils/jump-page-utils.js +180 -172
  254. package/lib/src/utils/local-storage.js +3 -2
  255. package/lib/src/utils/menu.js +11 -10
  256. package/lib/src/utils/permission.js +26 -22
  257. package/lib/src/utils/permissionAuth.js +136 -102
  258. package/lib/src/utils/range-selector.js +45 -41
  259. package/lib/src/utils/request.js +86 -77
  260. package/lib/src/utils/resize.js +5 -5
  261. package/lib/src/utils/restful-interface-utils.js +15 -12
  262. package/lib/src/utils/util.js +26 -6
  263. package/lib/src/utils/validate.js +20 -10
  264. package/lib/src/utils/voice-setting-cache.js +153 -140
  265. package/lib/src/utils/watermark-cache.js +14 -9
  266. package/lib/src/utils/watermark.js +30 -23
  267. package/lib/src/utils/workflow-util.js +26 -25
  268. package/lib/src/views/dsc-component/Sidebar/Item.vue.js +7 -5
  269. package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +11 -8
  270. package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +4 -2
  271. package/lib/src/views/dsc-component/Sidebar/Link.vue.js +12 -9
  272. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +26 -19
  273. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -2
  274. package/lib/src/views/dsc-component/Sidebar/index.vue.js +20 -12
  275. package/lib/src/views/dsc-component/tabs/tab-content.vue.js +26 -21
  276. package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +4 -2
  277. package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +4 -2
  278. package/lib/src/views/error-page/401.vue.js +13 -9
  279. package/lib/src/views/error-page/401.vue2.js +4 -2
  280. package/lib/src/views/error-page/404.vue.js +11 -7
  281. package/lib/src/views/error-page/404.vue2.js +4 -2
  282. package/lib/src/views/layout/EmptyLayout.vue.js +8 -6
  283. package/lib/src/views/layout/Layout.vue.js +19 -12
  284. package/lib/src/views/layout/Layout.vue2.js +4 -2
  285. package/lib/src/views/layout/NewLayout.vue.js +10 -6
  286. package/lib/src/views/layout/components/AppMain.vue.js +11 -9
  287. package/lib/src/views/layout/components/AppMain.vue2.js +4 -2
  288. package/lib/src/views/layout/components/Breadcrumb/index.vue.js +37 -44
  289. package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +4 -2
  290. package/lib/src/views/layout/components/Menubar/Item.vue.js +7 -5
  291. package/lib/src/views/layout/components/Menubar/Item.vue2.js +14 -12
  292. package/lib/src/views/layout/components/Menubar/Item.vue3.js +4 -2
  293. package/lib/src/views/layout/components/Menubar/Link.vue.js +12 -9
  294. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +24 -15
  295. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -2
  296. package/lib/src/views/layout/components/Menubar/index.vue.js +30 -19
  297. package/lib/src/views/layout/components/Sidebar/Item.vue.js +8 -6
  298. package/lib/src/views/layout/components/Sidebar/Item.vue2.js +4 -3
  299. package/lib/src/views/layout/components/Sidebar/Link.vue.js +11 -8
  300. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +17 -11
  301. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -2
  302. package/lib/src/views/layout/components/Sidebar/index.vue.js +25 -18
  303. package/lib/src/views/layout/components/iframe-page.vue.js +10 -8
  304. package/lib/src/views/layout/components/iframe-page.vue2.js +4 -2
  305. package/lib/src/views/layout/components/tabs/tab-content.vue.js +14 -10
  306. package/lib/src/views/layout/components/tabs/tab-content.vue2.js +4 -2
  307. package/lib/src/views/layout/components/tabs/tab-content.vue3.js +4 -2
  308. package/lib/src/views/layout/mixin/ResizeHandler.js +5 -3
  309. package/lib/src/views/layout/tab-content-iframe-index.vue.js +10 -8
  310. package/lib/src/views/layout/tab-content-iframe-index.vue2.js +4 -2
  311. package/lib/src/views/layout/tab-content-index.vue.js +18 -12
  312. package/lib/src/views/layout/tab-content-index.vue2.js +4 -2
  313. package/lib/src/views/login/authredirect.vue.js +3 -2
  314. package/lib/src/views/redirect/index.vue.js +8 -17
  315. package/lib/src/views/svg-icon/src/svg-icon.vue.js +4 -2
  316. package/lib/src/views/wf-history/tache-subprocess-history.vue.js +13 -11
  317. package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +4 -2
  318. package/lib/style.css +769 -769
  319. package/lib/super-grid/index.js +7 -5
  320. package/lib/super-grid/src/apis.js +231 -221
  321. package/lib/super-grid/src/columns-config.vue.js +22 -16
  322. package/lib/super-grid/src/components/grid-icon.vue.js +34 -26
  323. package/lib/super-grid/src/components/grid-radio-input.vue.js +18 -15
  324. package/lib/super-grid/src/components/grid-radio-input.vue2.js +4 -3
  325. package/lib/super-grid/src/components/mobile-table-card.js +83 -73
  326. package/lib/super-grid/src/components/select-input.vue.js +106 -98
  327. package/lib/super-grid/src/components/select-input.vue2.js +4 -3
  328. package/lib/super-grid/src/custom-formatter.js +74 -69
  329. package/lib/super-grid/src/dynamic-input.vue.js +159 -142
  330. package/lib/super-grid/src/eventBus.js +6 -3
  331. package/lib/super-grid/src/events.js +36 -34
  332. package/lib/super-grid/src/formValidatorUtil.js +65 -62
  333. package/lib/super-grid/src/formatter.js +41 -36
  334. package/lib/super-grid/src/group-column.vue.js +13 -8
  335. package/lib/super-grid/src/header-context-menu.vue.js +13 -10
  336. package/lib/super-grid/src/header-context-menu.vue2.js +4 -2
  337. package/lib/super-grid/src/index-column.vue.js +10 -7
  338. package/lib/super-grid/src/normal-column-content.vue.js +205 -186
  339. package/lib/super-grid/src/normal-column-content.vue2.js +4 -2
  340. package/lib/super-grid/src/normal-column.vue.js +55 -40
  341. package/lib/super-grid/src/normal-column.vue2.js +4 -2
  342. package/lib/super-grid/src/public-methods.js +14 -12
  343. package/lib/super-grid/src/row-detail.vue.js +10 -7
  344. package/lib/super-grid/src/row-operation.vue.js +26 -19
  345. package/lib/super-grid/src/row-operation.vue2.js +4 -2
  346. package/lib/super-grid/src/scan-util.js +26 -24
  347. package/lib/super-grid/src/search-button.vue.js +17 -12
  348. package/lib/super-grid/src/search-condition-input.vue.js +12 -8
  349. package/lib/super-grid/src/search-condition-list.vue.js +13 -10
  350. package/lib/super-grid/src/search-form-advancedQuery.vue.js +23 -13
  351. package/lib/super-grid/src/search-form-advancedQuery.vue2.js +4 -2
  352. package/lib/super-grid/src/search-form-dialog.vue.js +13 -9
  353. package/lib/super-grid/src/search-form-item.vue.js +24 -16
  354. package/lib/super-grid/src/search-form-item.vue2.js +4 -2
  355. package/lib/super-grid/src/search-form-mobile.vue.js +22 -13
  356. package/lib/super-grid/src/search-form-mobile.vue2.js +4 -2
  357. package/lib/super-grid/src/search-form-number.vue.js +14 -9
  358. package/lib/super-grid/src/search-form-open.vue.js +13 -7
  359. package/lib/super-grid/src/search-form-ordinarySearch.vue.js +19 -11
  360. package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +4 -2
  361. package/lib/super-grid/src/search-form.vue.js +77 -65
  362. package/lib/super-grid/src/search-form.vue2.js +4 -2
  363. package/lib/super-grid/src/search-methods.js +3 -2
  364. package/lib/super-grid/src/selection-column.vue.js +9 -7
  365. package/lib/super-grid/src/store.js +4 -3
  366. package/lib/super-grid/src/super-grid-service.js +128 -121
  367. package/lib/super-grid/src/super-grid.vue.js +217 -186
  368. package/lib/super-grid/src/super-grid.vue2.js +4 -2
  369. package/lib/super-grid/src/utils.js +322 -265
  370. package/lib/super-grid/src/view-image-dialog.vue.js +33 -26
  371. package/lib/super-icon/index.js +7 -5
  372. package/lib/super-icon/src/index.vue.js +7 -5
  373. package/lib/super-icon/src/index.vue2.js +11 -8
  374. package/lib/super-icon/src/index.vue3.js +4 -2
  375. package/lib/super-nine-grid/index.js +7 -5
  376. package/lib/super-nine-grid/src/apis.js +8 -5
  377. package/lib/super-nine-grid/src/custom-formatter.js +7 -5
  378. package/lib/super-nine-grid/src/formatter.js +29 -28
  379. package/lib/super-nine-grid/src/search-form-number.vue.js +12 -8
  380. package/lib/super-nine-grid/src/search-form.vue.js +40 -33
  381. package/lib/super-nine-grid/src/search-form.vue2.js +4 -2
  382. package/lib/super-nine-grid/src/search-methods.js +3 -2
  383. package/lib/super-nine-grid/src/store.js +4 -3
  384. package/lib/super-nine-grid/src/super-grid-service.js +9 -5
  385. package/lib/super-nine-grid/src/super-nine-grid.vue.js +105 -95
  386. package/lib/super-nine-grid/src/super-nine-grid.vue2.js +4 -2
  387. package/lib/super-nine-grid/src/utils.js +27 -31
  388. package/lib/svg-icon/index.js +7 -5
  389. package/lib/svg-icon/src/svg-icon.vue.js +10 -8
  390. package/lib/svg-icon/src/svg-icon.vue2.js +4 -2
  391. package/lib/utils/gogocodeTransfer.js +28 -23
  392. package/lib/utils/memory-cache-utils.js +5 -3
  393. package/lib/utils/organization.js +53 -40
  394. package/lib/utils/utils.js +29 -27
  395. package/lib/utils/value-set.js +70 -68
  396. package/lib/valid-code/index.js +7 -5
  397. package/lib/valid-code/src/valid-code.vue.js +13 -10
  398. package/lib/valid-code/src/valid-code.vue2.js +4 -2
  399. package/lib/workflow-button/index.js +5 -3
  400. package/lib/workflow-button/src/workflow-button.vue.js +39 -34
  401. package/lib/workflow-history-list/index.js +7 -5
  402. package/lib/workflow-history-list/src/api.js +3 -2
  403. package/lib/workflow-history-list/src/workflow-history-list.vue.js +65 -59
  404. package/lib/workflow-history-list/src/workflow-history-list.vue2.js +4 -2
  405. package/lib/workgroup-tree/index.js +7 -5
  406. package/lib/workgroup-tree/src/workgroup-tree.vue.js +17 -11
  407. package/lib/workgroup-tree-inline/index.js +5 -3
  408. package/lib/workgroup-tree-inline/src/search-result.vue.js +25 -21
  409. package/lib/workgroup-tree-inline/src/search-result.vue2.js +4 -2
  410. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +52 -43
  411. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -2
  412. package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +7 -5
  413. package/lib/workgroup-tree-mobile/index.js +8 -5
  414. package/lib/workgroup-tree-mobile/src/dept-result.vue.js +14 -11
  415. package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +4 -3
  416. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +12 -9
  417. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -2
  418. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -3
  419. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +86 -76
  420. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -3
  421. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +28 -20
  422. package/lib/workgroup-user-tree/index.js +7 -5
  423. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +17 -11
  424. package/lib/workgroup-user-tree-inline/index.js +5 -3
  425. package/lib/workgroup-user-tree-inline/src/search-result.vue.js +25 -21
  426. package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +4 -2
  427. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +11 -9
  428. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +43 -34
  429. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -2
  430. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +11 -10
  431. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -3
  432. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +15 -11
  433. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -3
  434. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +12 -9
  435. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -2
  436. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -3
  437. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +104 -93
  438. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -3
  439. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +25 -16
  440. package/lib/year-range-picker/index.js +5 -3
  441. package/lib/year-range-picker/src/year-range-picker.vue.js +12 -9
  442. package/package.json +4 -5
  443. package/vite.config.js +10 -10
  444. package/es/IntervalSelection/index.js +0 -7
  445. package/es/IntervalSelection/src/sectionDate.vue.js +0 -49
  446. package/es/IntervalSelection/src/sectionDate.vue2.js +0 -4
  447. package/es/_virtual/__vite-browser-external.js +0 -4
  448. package/es/_virtual/_plugin-vue_export-helper.js +0 -9
  449. package/es/breadcrumb/index.js +0 -7
  450. package/es/breadcrumb/src/breadcrumb.vue.js +0 -28
  451. package/es/breadcrumb/src/breadcrumb.vue2.js +0 -4
  452. package/es/chat-embed/index.js +0 -7
  453. package/es/chat-embed/src/chat-addition-data.vue.js +0 -7
  454. package/es/chat-embed/src/chat-addition-data.vue2.js +0 -14
  455. package/es/chat-embed/src/chat-addition-data.vue3.js +0 -4
  456. package/es/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
  457. package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
  458. package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
  459. package/es/chat-embed/src/chat-bubble-footer.vue.js +0 -7
  460. package/es/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
  461. package/es/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
  462. package/es/chat-embed/src/chat-embed-message.js +0 -22
  463. package/es/chat-embed/src/chat-sender.vue.js +0 -7
  464. package/es/chat-embed/src/chat-sender.vue2.js +0 -160
  465. package/es/chat-embed/src/chat-sender.vue3.js +0 -4
  466. package/es/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
  467. package/es/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
  468. package/es/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
  469. package/es/chat-embed/src/components/answer-home-chart.vue.js +0 -7
  470. package/es/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
  471. package/es/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
  472. package/es/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
  473. package/es/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
  474. package/es/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
  475. package/es/chat-embed/src/components/history-detail.vue.js +0 -7
  476. package/es/chat-embed/src/components/history-detail.vue2.js +0 -55
  477. package/es/chat-embed/src/components/history-detail.vue3.js +0 -4
  478. package/es/chat-embed/src/header.vue.js +0 -7
  479. package/es/chat-embed/src/header.vue2.js +0 -46
  480. package/es/chat-embed/src/header.vue3.js +0 -4
  481. package/es/chat-embed/src/index.vue.js +0 -7
  482. package/es/chat-embed/src/index.vue2.js +0 -307
  483. package/es/chat-embed/src/index.vue3.js +0 -4
  484. package/es/chat-embed/src/recommendation-message.vue.js +0 -7
  485. package/es/chat-embed/src/recommendation-message.vue2.js +0 -8
  486. package/es/chat-embed/src/recommendation-message.vue3.js +0 -4
  487. package/es/chat-embed/src/sidebar-item.vue.js +0 -7
  488. package/es/chat-embed/src/sidebar-item.vue2.js +0 -118
  489. package/es/chat-embed/src/sidebar-item.vue3.js +0 -4
  490. package/es/chat-embed/src/type.js +0 -5
  491. package/es/chat-embed/src/util/chat-embed-util.js +0 -57
  492. package/es/chat-embed/src/util/history-message-util.js +0 -96
  493. package/es/chat-embed/src/util/mcp-utils.js +0 -53
  494. package/es/chat-embed/src/util/text-file-util.js +0 -12
  495. package/es/chat-embed/src/voice/index.js +0 -7
  496. package/es/chat-embed/src/voice/js/crypto-js.js +0 -1013
  497. package/es/chat-embed/src/voice/js/processor/index.umd.js +0 -178
  498. package/es/chat-embed/src/voice/js/timer.js +0 -11
  499. package/es/chat-embed/src/voice/voice.vue.js +0 -104
  500. package/es/date-picker-range/index.js +0 -7
  501. package/es/date-picker-range/index.vue.js +0 -7
  502. package/es/date-picker-range/index.vue2.js +0 -93
  503. package/es/date-picker-range/index.vue3.js +0 -4
  504. package/es/department-tree/index.js +0 -7
  505. package/es/department-tree/src/department-tree.vue.js +0 -23
  506. package/es/department-tree-inline/index.js +0 -7
  507. package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
  508. package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
  509. package/es/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
  510. package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
  511. package/es/department-tree-inline/src/department-tree-inline.vue.js +0 -17
  512. package/es/department-tree-inline/src/department-tree-service.js +0 -108
  513. package/es/department-tree-inline/src/search-result.vue.js +0 -40
  514. package/es/department-tree-inline/src/search-result.vue2.js +0 -4
  515. package/es/department-tree-mobile/index.js +0 -8
  516. package/es/department-tree-mobile/src/department-tree-app.vue.js +0 -15
  517. package/es/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
  518. package/es/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
  519. package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
  520. package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
  521. package/es/department-tree-mobile/src/department-tree-service.js +0 -55
  522. package/es/department-tree-mobile/src/dept-path.vue.js +0 -14
  523. package/es/department-tree-mobile/src/dept-path.vue2.js +0 -4
  524. package/es/department-tree-mobile/src/dept-result.vue.js +0 -16
  525. package/es/department-tree-mobile/src/dept-result.vue2.js +0 -4
  526. package/es/department-user-tree/index.js +0 -7
  527. package/es/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
  528. package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
  529. package/es/department-user-tree/src/department-user-single-tree.vue.js +0 -19
  530. package/es/department-user-tree/src/department-user-tree.vue.js +0 -27
  531. package/es/department-user-tree-inline/index.js +0 -7
  532. package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
  533. package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
  534. package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
  535. package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
  536. package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
  537. package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
  538. package/es/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
  539. package/es/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
  540. package/es/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
  541. package/es/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
  542. package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
  543. package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
  544. package/es/department-user-tree-inline/src/group-user-tree-service.js +0 -34
  545. package/es/department-user-tree-inline/src/search-result.vue.js +0 -41
  546. package/es/department-user-tree-inline/src/search-result.vue2.js +0 -4
  547. package/es/department-user-tree-mobile/index.js +0 -8
  548. package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
  549. package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
  550. package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
  551. package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
  552. package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
  553. package/es/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
  554. package/es/department-user-tree-mobile/src/dept-path.vue.js +0 -14
  555. package/es/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
  556. package/es/department-user-tree-mobile/src/dept-result.vue.js +0 -17
  557. package/es/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
  558. package/es/directives/prevent-reclick.js +0 -15
  559. package/es/dynamic-source-select/index.js +0 -7
  560. package/es/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
  561. package/es/dynamic-source-select/src/dynamic-source-select.vue.js +0 -276
  562. package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
  563. package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
  564. package/es/dynamic-source-select/src/events.js +0 -29
  565. package/es/empty-state/index.vue.js +0 -9
  566. package/es/empty-state/index.vue2.js +0 -4
  567. package/es/fs-preview/index.js +0 -7
  568. package/es/fs-preview/src/fs-preview.vue.js +0 -120
  569. package/es/fs-preview/src/fs-preview.vue2.js +0 -4
  570. package/es/fs-upload/index.js +0 -7
  571. package/es/fs-upload/src/fs-upload-multi.vue.js +0 -71
  572. package/es/fs-upload/src/fs-upload-single.vue.js +0 -73
  573. package/es/fs-upload/src/fs-upload.vue.js +0 -24
  574. package/es/fs-upload/src/see-big-picture.vue.js +0 -12
  575. package/es/fs-upload-list/index.js +0 -7
  576. package/es/fs-upload-list/src/fs-upload-list.vue.js +0 -98
  577. package/es/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
  578. package/es/fs-upload-new/index.js +0 -7
  579. package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
  580. package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
  581. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
  582. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
  583. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
  584. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -39
  585. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
  586. package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
  587. package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
  588. package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
  589. package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
  590. package/es/fs-upload-new/src/fs-button-upload.vue.js +0 -7
  591. package/es/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
  592. package/es/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
  593. package/es/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
  594. package/es/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
  595. package/es/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
  596. package/es/fs-upload-new/src/fs-preview-new.vue.js +0 -8
  597. package/es/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
  598. package/es/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
  599. package/es/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
  600. package/es/fs-upload-new/src/fs-upload-new.vue.js +0 -64
  601. package/es/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
  602. package/es/hamburger/index.js +0 -7
  603. package/es/hamburger/src/hamburger.vue.js +0 -15
  604. package/es/hamburger/src/hamburger.vue2.js +0 -4
  605. package/es/index.js +0 -383
  606. package/es/json-view/json-view-dialog.vue.js +0 -19
  607. package/es/json-view/json-view-dialog.vue2.js +0 -4
  608. package/es/json-view/json-view.vue.js +0 -4
  609. package/es/json-view/json-view.vue2.js +0 -36
  610. package/es/multipart-upload/index.js +0 -7
  611. package/es/multipart-upload/src/index.vue.js +0 -14
  612. package/es/multipart-upload/src/multipart-upload-form.vue.js +0 -82
  613. package/es/multipart-upload/src/multipart-upload-list.vue.js +0 -104
  614. package/es/organization-input/index.js +0 -7
  615. package/es/organization-input/src/organization-input.vue.js +0 -224
  616. package/es/organization-input/src/organization-input.vue2.js +0 -4
  617. package/es/plugins/export-data-new.js +0 -237
  618. package/es/plugins/export-data.js +0 -179
  619. package/es/plugins/index.js +0 -9
  620. package/es/plugins/public-method.js +0 -14
  621. package/es/remove-department/index.js +0 -7
  622. package/es/remove-department/src/remove-department.vue.js +0 -33
  623. package/es/remove-department/src/remove-dept-service.js +0 -13
  624. package/es/remove-user/index.js +0 -7
  625. package/es/remove-user/src/remove-user-service.js +0 -13
  626. package/es/remove-user/src/remove-user.vue.js +0 -35
  627. package/es/remove-workgroup/index.js +0 -7
  628. package/es/remove-workgroup/src/remove-workgroup-service.js +0 -13
  629. package/es/remove-workgroup/src/remove-workgroup.vue.js +0 -31
  630. package/es/rich-editor/index.js +0 -7
  631. package/es/rich-editor/index.vue.js +0 -115
  632. package/es/rich-editor/tinymce/zh_CN.js +0 -2
  633. package/es/rich-editor/viewer.vue.js +0 -27
  634. package/es/row-form/index.js +0 -7
  635. package/es/row-form/index.vue.js +0 -7
  636. package/es/row-form/index.vue2.js +0 -62
  637. package/es/row-form/index.vue3.js +0 -4
  638. package/es/row-form/operation.vue.js +0 -32
  639. package/es/row-form/operation.vue2.js +0 -4
  640. package/es/scan-code-input/index.js +0 -7
  641. package/es/scan-code-input/src/events.js +0 -15
  642. package/es/scan-code-input/src/scan-code-input.vue.js +0 -32
  643. package/es/scan-code-input-browser/index.js +0 -7
  644. package/es/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
  645. package/es/secret-info/index.js +0 -7
  646. package/es/secret-info/index.vue.js +0 -16
  647. package/es/src/api/sso-service.js +0 -57
  648. package/es/src/api/tab.js +0 -15
  649. package/es/src/assets/401/401.gif.js +0 -4
  650. package/es/src/assets/404/404-cloud.png.js +0 -4
  651. package/es/src/assets/404/404.png.js +0 -4
  652. package/es/src/assets/chat-embed/robot.gif.js +0 -4
  653. package/es/src/assets/chat-embed/robot.svg.js +0 -4
  654. package/es/src/assets/nonemessage.png.js +0 -4
  655. package/es/src/components/Affix/index.vue.js +0 -7
  656. package/es/src/components/Affix/index.vue2.js +0 -83
  657. package/es/src/components/Affix/index.vue3.js +0 -4
  658. package/es/src/components/Card/index.js +0 -48
  659. package/es/src/components/Scrollbar/index.vue.js +0 -52
  660. package/es/src/components/Scrollbar/index.vue2.js +0 -4
  661. package/es/src/directives/permission/index.js +0 -7
  662. package/es/src/directives/permission/permission.js +0 -11
  663. package/es/src/i18n/i18n.js +0 -7
  664. package/es/src/i18n/langs/cn.js +0 -4
  665. package/es/src/i18n/langs/en.js +0 -4
  666. package/es/src/mixins/resizeMixin.js +0 -21
  667. package/es/src/permission.js +0 -79
  668. package/es/src/router/index.js +0 -9
  669. package/es/src/store/getters.js +0 -4
  670. package/es/src/store/index.js +0 -13
  671. package/es/src/store/modules/app.js +0 -41
  672. package/es/src/store/modules/chat-ai-store.js +0 -36
  673. package/es/src/store/modules/permission.js +0 -31
  674. package/es/src/store/modules/system.js +0 -12
  675. package/es/src/store/modules/tab-content.js +0 -20
  676. package/es/src/store/modules/table.js +0 -18
  677. package/es/src/store/modules/user.js +0 -139
  678. package/es/src/utils/auth-api.js +0 -134
  679. package/es/src/utils/auth.js +0 -156
  680. package/es/src/utils/calculator/calculator-factory-wf.js +0 -167
  681. package/es/src/utils/calculator/calculator-factory.js +0 -93
  682. package/es/src/utils/calculator/calculator-util.js +0 -56
  683. package/es/src/utils/chat-ai-util.js +0 -34
  684. package/es/src/utils/common-util.js +0 -440
  685. package/es/src/utils/eventBus.js +0 -6
  686. package/es/src/utils/file-util.js +0 -23
  687. package/es/src/utils/global-prop.js +0 -38
  688. package/es/src/utils/guid.js +0 -10
  689. package/es/src/utils/i18n-util.js +0 -70
  690. package/es/src/utils/iconUtils.js +0 -26
  691. package/es/src/utils/index.js +0 -46
  692. package/es/src/utils/insert_css.js +0 -17
  693. package/es/src/utils/json-util.js +0 -47
  694. package/es/src/utils/jump-page-utils.js +0 -264
  695. package/es/src/utils/local-storage.js +0 -19
  696. package/es/src/utils/menu.js +0 -14
  697. package/es/src/utils/permission.js +0 -45
  698. package/es/src/utils/permissionAuth.js +0 -154
  699. package/es/src/utils/range-selector.js +0 -105
  700. package/es/src/utils/request.js +0 -140
  701. package/es/src/utils/resize.js +0 -11
  702. package/es/src/utils/restful-interface-utils.js +0 -18
  703. package/es/src/utils/util.js +0 -361
  704. package/es/src/utils/validate.js +0 -22
  705. package/es/src/utils/voice-setting-cache.js +0 -212
  706. package/es/src/utils/watermark-cache.js +0 -15
  707. package/es/src/utils/watermark.js +0 -40
  708. package/es/src/utils/workflow-util.js +0 -42
  709. package/es/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
  710. package/es/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
  711. package/es/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
  712. package/es/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
  713. package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
  714. package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
  715. package/es/src/views/dsc-component/Sidebar/index.vue.js +0 -111
  716. package/es/src/views/dsc-component/tabs/tab-content.vue.js +0 -66
  717. package/es/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
  718. package/es/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
  719. package/es/src/views/error-page/401.vue.js +0 -15
  720. package/es/src/views/error-page/401.vue2.js +0 -4
  721. package/es/src/views/error-page/404.vue.js +0 -12
  722. package/es/src/views/error-page/404.vue2.js +0 -4
  723. package/es/src/views/layout/EmptyLayout.vue.js +0 -9
  724. package/es/src/views/layout/Layout.vue.js +0 -28
  725. package/es/src/views/layout/Layout.vue2.js +0 -4
  726. package/es/src/views/layout/NewLayout.vue.js +0 -11
  727. package/es/src/views/layout/components/AppMain.vue.js +0 -13
  728. package/es/src/views/layout/components/AppMain.vue2.js +0 -4
  729. package/es/src/views/layout/components/Breadcrumb/index.vue.js +0 -49
  730. package/es/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
  731. package/es/src/views/layout/components/Menubar/Item.vue.js +0 -7
  732. package/es/src/views/layout/components/Menubar/Item.vue2.js +0 -15
  733. package/es/src/views/layout/components/Menubar/Item.vue3.js +0 -4
  734. package/es/src/views/layout/components/Menubar/Link.vue.js +0 -14
  735. package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
  736. package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
  737. package/es/src/views/layout/components/Menubar/index.vue.js +0 -90
  738. package/es/src/views/layout/components/Sidebar/Item.vue.js +0 -9
  739. package/es/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
  740. package/es/src/views/layout/components/Sidebar/Link.vue.js +0 -12
  741. package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
  742. package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
  743. package/es/src/views/layout/components/Sidebar/index.vue.js +0 -58
  744. package/es/src/views/layout/components/iframe-page.vue.js +0 -14
  745. package/es/src/views/layout/components/iframe-page.vue2.js +0 -4
  746. package/es/src/views/layout/components/tabs/tab-content.vue.js +0 -64
  747. package/es/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
  748. package/es/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
  749. package/es/src/views/layout/mixin/ResizeHandler.js +0 -16
  750. package/es/src/views/layout/tab-content-iframe-index.vue.js +0 -14
  751. package/es/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
  752. package/es/src/views/layout/tab-content-index.vue.js +0 -28
  753. package/es/src/views/layout/tab-content-index.vue2.js +0 -4
  754. package/es/src/views/login/authredirect.vue.js +0 -7
  755. package/es/src/views/redirect/index.vue.js +0 -8
  756. package/es/src/views/svg-icon/src/svg-icon.vue.js +0 -4
  757. package/es/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
  758. package/es/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
  759. package/es/super-grid/index.js +0 -7
  760. package/es/super-grid/src/apis.js +0 -458
  761. package/es/super-grid/src/columns-config.vue.js +0 -82
  762. package/es/super-grid/src/components/grid-icon.vue.js +0 -47
  763. package/es/super-grid/src/components/grid-radio-input.vue.js +0 -25
  764. package/es/super-grid/src/components/grid-radio-input.vue2.js +0 -4
  765. package/es/super-grid/src/components/mobile-table-card.js +0 -109
  766. package/es/super-grid/src/components/select-input.vue.js +0 -149
  767. package/es/super-grid/src/components/select-input.vue2.js +0 -4
  768. package/es/super-grid/src/custom-formatter.js +0 -168
  769. package/es/super-grid/src/dynamic-input.vue.js +0 -482
  770. package/es/super-grid/src/eventBus.js +0 -6
  771. package/es/super-grid/src/events.js +0 -37
  772. package/es/super-grid/src/formValidatorUtil.js +0 -109
  773. package/es/super-grid/src/formatter.js +0 -74
  774. package/es/super-grid/src/group-column.vue.js +0 -24
  775. package/es/super-grid/src/header-context-menu.vue.js +0 -15
  776. package/es/super-grid/src/header-context-menu.vue2.js +0 -4
  777. package/es/super-grid/src/index-column.vue.js +0 -22
  778. package/es/super-grid/src/normal-column-content.vue.js +0 -319
  779. package/es/super-grid/src/normal-column-content.vue2.js +0 -4
  780. package/es/super-grid/src/normal-column.vue.js +0 -106
  781. package/es/super-grid/src/normal-column.vue2.js +0 -4
  782. package/es/super-grid/src/public-methods.js +0 -22
  783. package/es/super-grid/src/row-detail.vue.js +0 -14
  784. package/es/super-grid/src/row-operation.vue.js +0 -89
  785. package/es/super-grid/src/row-operation.vue2.js +0 -4
  786. package/es/super-grid/src/scan-util.js +0 -100
  787. package/es/super-grid/src/search-button.vue.js +0 -23
  788. package/es/super-grid/src/search-condition-input.vue.js +0 -17
  789. package/es/super-grid/src/search-condition-list.vue.js +0 -20
  790. package/es/super-grid/src/search-form-advancedQuery.vue.js +0 -116
  791. package/es/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
  792. package/es/super-grid/src/search-form-dialog.vue.js +0 -16
  793. package/es/super-grid/src/search-form-item.vue.js +0 -128
  794. package/es/super-grid/src/search-form-item.vue2.js +0 -4
  795. package/es/super-grid/src/search-form-mobile.vue.js +0 -41
  796. package/es/super-grid/src/search-form-mobile.vue2.js +0 -4
  797. package/es/super-grid/src/search-form-number.vue.js +0 -26
  798. package/es/super-grid/src/search-form-open.vue.js +0 -50
  799. package/es/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
  800. package/es/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
  801. package/es/super-grid/src/search-form.vue.js +0 -201
  802. package/es/super-grid/src/search-form.vue2.js +0 -4
  803. package/es/super-grid/src/search-methods.js +0 -164
  804. package/es/super-grid/src/selection-column.vue.js +0 -11
  805. package/es/super-grid/src/store.js +0 -4
  806. package/es/super-grid/src/super-grid-service.js +0 -260
  807. package/es/super-grid/src/super-grid.vue.js +0 -1052
  808. package/es/super-grid/src/super-grid.vue2.js +0 -4
  809. package/es/super-grid/src/utils.js +0 -355
  810. package/es/super-grid/src/view-image-dialog.vue.js +0 -67
  811. package/es/super-icon/index.js +0 -7
  812. package/es/super-icon/src/index.vue.js +0 -7
  813. package/es/super-icon/src/index.vue2.js +0 -13
  814. package/es/super-icon/src/index.vue3.js +0 -4
  815. package/es/super-nine-grid/index.js +0 -7
  816. package/es/super-nine-grid/src/apis.js +0 -36
  817. package/es/super-nine-grid/src/custom-formatter.js +0 -35
  818. package/es/super-nine-grid/src/formatter.js +0 -37
  819. package/es/super-nine-grid/src/search-form-number.vue.js +0 -13
  820. package/es/super-nine-grid/src/search-form.vue.js +0 -91
  821. package/es/super-nine-grid/src/search-form.vue2.js +0 -4
  822. package/es/super-nine-grid/src/search-methods.js +0 -48
  823. package/es/super-nine-grid/src/store.js +0 -4
  824. package/es/super-nine-grid/src/super-grid-service.js +0 -39
  825. package/es/super-nine-grid/src/super-nine-grid.vue.js +0 -225
  826. package/es/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
  827. package/es/super-nine-grid/src/utils.js +0 -32
  828. package/es/svg-icon/index.js +0 -7
  829. package/es/svg-icon/src/svg-icon.vue.js +0 -14
  830. package/es/svg-icon/src/svg-icon.vue2.js +0 -4
  831. package/es/utils/gogocodeTransfer.js +0 -33
  832. package/es/utils/memory-cache-utils.js +0 -30
  833. package/es/utils/organization.js +0 -57
  834. package/es/utils/utils.js +0 -87
  835. package/es/utils/value-set.js +0 -94
  836. package/es/valid-code/index.js +0 -7
  837. package/es/valid-code/src/valid-code.vue.js +0 -23
  838. package/es/valid-code/src/valid-code.vue2.js +0 -4
  839. package/es/workflow-button/index.js +0 -7
  840. package/es/workflow-button/src/workflow-button.vue.js +0 -85
  841. package/es/workflow-history-list/index.js +0 -7
  842. package/es/workflow-history-list/src/api.js +0 -6
  843. package/es/workflow-history-list/src/workflow-history-list.vue.js +0 -89
  844. package/es/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
  845. package/es/workgroup-tree/index.js +0 -7
  846. package/es/workgroup-tree/src/workgroup-tree.vue.js +0 -23
  847. package/es/workgroup-tree-inline/index.js +0 -7
  848. package/es/workgroup-tree-inline/src/search-result.vue.js +0 -39
  849. package/es/workgroup-tree-inline/src/search-result.vue2.js +0 -4
  850. package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
  851. package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
  852. package/es/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
  853. package/es/workgroup-tree-mobile/index.js +0 -8
  854. package/es/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
  855. package/es/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
  856. package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
  857. package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
  858. package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
  859. package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
  860. package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
  861. package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
  862. package/es/workgroup-user-tree/index.js +0 -7
  863. package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
  864. package/es/workgroup-user-tree-inline/index.js +0 -7
  865. package/es/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
  866. package/es/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
  867. package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
  868. package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
  869. package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
  870. package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
  871. package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
  872. package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
  873. package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
  874. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
  875. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
  876. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
  877. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
  878. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
  879. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
  880. package/es/year-range-picker/index.js +0 -7
  881. package/es/year-range-picker/src/year-range-picker.vue.js +0 -14
  882. /package/{es → dist}/favicon.svg +0 -0
@@ -1,7 +0,0 @@
1
- import a from "./chat-ai-answer-tip.vue2.js";
2
- import "./chat-ai-answer-tip.vue3.js";
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = t(a, [["__scopeId", "data-v-e9aa835d"]]);
5
- export {
6
- e as default
7
- };
@@ -1,29 +0,0 @@
1
- import { defineComponent as e, ref as n, resolveComponent as t, openBlock as r, createBlock as c, withCtx as i, createVNode as o, createElementBlock as u, unref as s, createCommentVNode as l, Fragment as a, renderList as m, toDisplayString as p } from "vue";
2
- import { XMarkdown as f } from "vue-element-plus-x";
3
- const d = { key: 0, style: { "max-height": "80vh", overflow: "auto" } }, h = ["onClick"], k = e({ __name: "chat-ai-answer-tip", props: { item: { type: Object, required: true }, itemProps: { type: Object, required: true } }, emits: ["click-doc-agg"], setup(e2, { emit: k2 }) {
4
- const g = n(false);
5
- function C() {
6
- g.value = true;
7
- }
8
- function v(e3, n2) {
9
- if (!e3.referenceChunks || 0 === e3.referenceChunks.length)
10
- return "无相关提示信息";
11
- const t2 = parseInt(n2);
12
- return isNaN(t2) || t2 < 0 || t2 >= e3.referenceChunks.length ? "提示信息索引无效" : e3.referenceChunks[t2].content || "无相关提示信息";
13
- }
14
- function _(e3, n2) {
15
- if (!e3.referenceChunks || 0 === e3.referenceChunks.length)
16
- return "无相关提示信息";
17
- const t2 = parseInt(n2);
18
- return isNaN(t2) || t2 < 0 || t2 >= e3.referenceChunks.length ? "提示信息索引无效" : e3.referenceChunks[t2] ? [{ doc_name: e3.referenceChunks[t2].document_name, doc_id: e3.referenceChunks[t2].document_id }] : [];
19
- }
20
- return (n2, y) => {
21
- const x = t("Opportunity"), w = t("el-icon"), N = t("el-popover");
22
- return r(), c(N, { placement: "right", trigger: "click", width: "100vh" }, { reference: i(() => [o(w, { onClick: C }, { default: i(() => [o(x)]), _: 1 })]), default: i(() => [g.value ? (r(), u("div", d, [o(s(f), { allowHtml: true, markdown: v(e2.item, e2.itemProps["tip-index"]) }, null, 8, ["markdown"])])) : l("", true), g.value ? (r(true), u(a, { key: 1 }, m(_(e2.item, e2.itemProps["tip-index"]), (e3, n3) => (r(), u("div", { style: { margin: "5px 10px" }, key: n3, onClick: (n4) => function(e4) {
23
- k2("click-doc-agg", e4);
24
- }(e3), class: "doc-agg-item" }, p(e3.doc_name), 9, h))), 128)) : l("", true)]), _: 1 });
25
- };
26
- } });
27
- export {
28
- k as default
29
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,7 +0,0 @@
1
- import e from "./chat-bubble-footer.vue2.js";
2
- import "./chat-bubble-footer.vue3.js";
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const t = o(e, [["__scopeId", "data-v-ffbde6f9"]]);
5
- export {
6
- t as default
7
- };
@@ -1,33 +0,0 @@
1
- import { defineComponent as e, resolveComponent as t, openBlock as o, createElementBlock as c, createElementVNode as n, createVNode as i, withCtx as r, unref as a, createCommentVNode as s } from "vue";
2
- import { Refresh as m, DocumentCopy as l } from "@element-plus/icons-vue";
3
- import { ElMessage as p } from "element-plus";
4
- import { useI18n as u } from "vue-i18n";
5
- const d = { key: 0, class: "footer-wrapper" }, f = { class: "footer-container" }, b = e({ __name: "chat-bubble-footer", props: { item: { type: Object, required: true } }, emits: ["regenerate"], setup(e2, { emit: b2 }) {
6
- const { t: y } = u();
7
- return (u2, v) => {
8
- const g = t("el-button"), h = t("el-tooltip");
9
- return "ai" !== e2.item.role || e2.item.isRecommend || "thinking" === e2.item.thinkingStatus ? s("", true) : (o(), c("div", d, [n("div", f, [i(h, { class: "box-item", effect: "dark", content: u2.$t("chatEmbed.regenerate") }, { default: r(() => [i(g, { type: "info", icon: a(m), size: "small", circle: "", onClick: v[0] || (v[0] = (t2) => {
10
- return o2 = e2.item, void b2("regenerate", o2);
11
- var o2;
12
- }) }, null, 8, ["icon"])]), _: 1 }, 8, ["content"]), i(h, { class: "box-item", effect: "dark", content: u2.$t("chatEmbed.copy") }, { default: r(() => [i(g, { type: "info", color: "#626aef", icon: a(l), size: "small", circle: "", onClick: v[1] || (v[1] = (t2) => function(e3) {
13
- if (e3.content)
14
- if (navigator.clipboard && "function" == typeof navigator.clipboard.writeText)
15
- navigator.clipboard.writeText(e3.content).then(() => {
16
- p({ message: y("chatEmbed.copySuccess"), type: "success" });
17
- });
18
- else {
19
- const t3 = document.createElement("textarea");
20
- t3.value = e3.content, document.body.appendChild(t3), t3.select();
21
- try {
22
- document.execCommand("copy"), p({ message: y("chatEmbed.copySuccess"), type: "success" });
23
- } catch (e4) {
24
- p({ message: "复制失败", type: "error" });
25
- }
26
- document.body.removeChild(t3);
27
- }
28
- }(e2.item)) }, null, 8, ["icon"])]), _: 1 }, 8, ["content"])])]));
29
- };
30
- } });
31
- export {
32
- b as default
33
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,22 +0,0 @@
1
- import n from "dayjs";
2
- import { MESSAGE_STATUS as a } from "./type.js";
3
- function t(t2, e2, i2, o2) {
4
- const s = "ai" === t2 ? "ai" : "user", d = "ai" === s ? "start" : "end", m = { isRecommend: i2, key: (/* @__PURE__ */ new Date()).getTime(), role: s, placement: d, content: e2, showThinkingContent: false, loading: false, shape: "corner", variant: "ai" === s ? "filled" : "outlined", isMarkdown: false, typing: "ai" === s, avatar: "ai" === s ? "https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" : "../../src/assets/chat-embed/avatar.png", noStyle: "ai" === s, statusValue: "end", recommendations: [], avatarSize: "24px", sendTime: n(/* @__PURE__ */ new Date()).format("YYYY-MM-DD HH:mm:ss") };
5
- return "ai" === s && (m.maxWidth = "calc(100% - 60px)", o2 ? (m.thinkingContent = "", m.thinkingStatus = a.THINKING, m.showThinkingContent = true) : (m.thinkingContent = null, m.thinkingStatus = a.NONE, m.showThinkingContent = false)), m;
6
- }
7
- const e = t("ai", "😊 您好,我是平台小助手,您可以向我提出关于平台使用问题", true, false);
8
- function i(n2) {
9
- var _a;
10
- const a2 = t("user", n2.question, true, false);
11
- return ((_a = n2.additionalData) == null ? void 0 : _a.length) && Object.assign(a2, { additionalData: n2.additionalData, additionalDataLabel: n2.additionalDataLabel, menuName: n2.menuName, menuCode: n2.menuCode }), a2;
12
- }
13
- function o(n2, a2) {
14
- const e2 = t("ai", "", false, a2);
15
- return Object.assign(e2, { question: n2.question, menuName: n2.menuName, menuCode: n2.menuCode, askAdditionalData: n2.additionalData });
16
- }
17
- export {
18
- o as createAiMessage,
19
- i as createUserMessage,
20
- e as defaultMessage,
21
- t as getMessageTemplate
22
- };
@@ -1,7 +0,0 @@
1
- import e from "./chat-sender.vue2.js";
2
- import "./chat-sender.vue3.js";
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(e, [["__scopeId", "data-v-0b0c189e"]]);
5
- export {
6
- t as default
7
- };
@@ -1,160 +0,0 @@
1
- import { defineComponent as e, ref as a, onMounted as l, watch as t, resolveComponent as n, resolveDirective as o, openBlock as i, createElementBlock as u, Fragment as s, createBlock as r, withCtx as c, createElementVNode as d, createVNode as m, createTextVNode as p, toDisplayString as f, createCommentVNode as v, unref as g, renderList as h, withDirectives as w, pushScopeId as b, popScopeId as y } from "vue";
2
- import x from "../../src/store/modules/chat-ai-store.js";
3
- import { Sender as E, Attachments as A, FilesCard as _ } from "vue-element-plus-x";
4
- import { generateFileName as R, downloadJsonFile as I } from "./util/text-file-util.js";
5
- import { getActivePinia as k, createPinia as P, setActivePinia as j } from "pinia";
6
- import { useI18n as S } from "vue-i18n";
7
- import { ElMessage as T } from "element-plus";
8
- import C from "./voice/voice.vue.js";
9
- import { AI_MODELS as D } from "./type.js";
10
- import { getVoiceSetting as N, parseVoiceMsg as V } from "../../src/utils/voice-setting-cache.js";
11
- import { getRelativeBaseUrl as O, isValidDate as M } from "../../src/utils/common-util.js";
12
- import { getToken as F } from "../../src/utils/auth.js";
13
- const $ = { class: "sender-additional-data-tag" }, q = { style: { display: "flex", "align-items": "center", "flex-wrap": "wrap" } }, z = { style: { display: "flex", "align-items": "center", gap: "16px" } }, G = ((e2) => (b("data-v-0b0c189e"), e2 = e2(), y(), e2))(() => d("div", { class: "ai-generate-tip" }, "内容由AI生成,仅供参考", -1)), K = e({ __name: "chat-sender", props: { loading: { type: Boolean, default: false } }, emits: ["submit-question", "handle-cancel", "view-json", "change-ai-model", "voice-answer", "command-answer"], setup(e2, { expose: b2, emit: y2 }) {
14
- S();
15
- const K2 = [{ label: "流程体系类", value: D.RAGFLOW }, { label: "QMS数据库类", value: D.DATABASE }, { label: "DeepSeek问答", value: D.DEEPSEEK }, { label: "系统交互", value: D.INTERACTION }, { label: "生成PPT", value: D.PPT_GENERATION }];
16
- let L = null;
17
- const H = a(false), W = a(""), B = a([]), U = a(""), Q = a("ragflow"), X = a(), J = a(), Y = a(window.$vueApp.config.globalProperties.baseAPI + "/component/ai/upload-file/bailian"), Z = a([]), ee = a(false), ae = a(false);
18
- function le() {
19
- try {
20
- window.parent && window.parent !== window && (window.parent.ChatAiStore = L), window.top && window.top !== window && (window.top.ChatAiStore = L), window.ChatAiStore = L;
21
- } catch (e3) {
22
- console.error("Failed to initialize ChatAiStore:", e3);
23
- }
24
- }
25
- let te, ne;
26
- l(() => {
27
- !function() {
28
- try {
29
- let e3 = k();
30
- e3 || (e3 = P(), j(e3), window.$vueApp && window.$vueApp.use(e3)), L = x();
31
- } catch (e3) {
32
- console.error("Failed to initialize Pinia or ChatAiStore:", e3);
33
- }
34
- }(), le();
35
- }), t(() => Z.value.length, (e3) => {
36
- e3 > 0 ? X.value.openHeader() : X.value.closeHeader();
37
- }), l(() => {
38
- le();
39
- });
40
- let oe = {}, ie = {};
41
- function ue(e3) {
42
- let a2 = e3;
43
- null == e3 ? (U.value, a2 = U.value.trim()) : a2 = e3.trim(), te = a2;
44
- let l2 = { aiModel: Q.value, question: a2 };
45
- if (Q.value === D.DEEPSEEK || Q.value === D.PPT_GENERATION) {
46
- const e4 = L.getActiveMenu();
47
- let t2 = "";
48
- Z.value.length > 0 && (t2 = Z.value.map((e5) => e5.id).join(","));
49
- let n2 = [];
50
- Z.value.length > 0 && (n2 = Z.value.map((e5) => ({ fileId: e5.id, name: e5.name }))), Z.value = [], l2 = { aiModel: Q.value, question: a2, fileId: t2, fileInfos: n2, additionalData: B.value, additionalDataLabel: W.value, menuName: (e4 == null ? void 0 : e4.menuName) || "" };
51
- }
52
- y2("submit-question", l2), U.value = "", ce();
53
- }
54
- function se() {
55
- y2("handle-cancel");
56
- }
57
- function re() {
58
- var _a;
59
- const e3 = L.getActiveMenu(), a2 = L.getActiveMenuPageInfo();
60
- if ("list" === a2.pageType) {
61
- const l2 = a2.listRefs[0].ref.getAiChatListData();
62
- l2 && l2.length > 0 && (B.value = l2), ((_a = B.value) == null ? void 0 : _a.length) > 0 && (W.value = `已附加【${e3.menuName}】表格数据 (${B.value.length} 条记录)`, H.value = true);
63
- } else if ("form" === a2.pageType) {
64
- const l2 = a2.exposeProxy.getFormFormatData();
65
- a2.subTableRefs && Object.keys(a2.subTableRefs).length > 0 && Object.keys(a2.subTableRefs).forEach((e4) => {
66
- const t2 = a2.subTableRefs[e4].ref, n2 = t2.getAiChatListData();
67
- let o2 = e4;
68
- t2.options.title && (o2 = t2.options.title), l2[o2] = n2;
69
- }), l2 && (B.value = [l2], W.value = `已附加【${e3.menuName}】表单数据`, H.value = true);
70
- }
71
- }
72
- function ce() {
73
- B.value = [], W.value = "", H.value = false;
74
- }
75
- function de() {
76
- y2("view-json", B.value);
77
- }
78
- function me() {
79
- try {
80
- const e3 = L.getActiveMenu(), a2 = R((e3 == null ? void 0 : e3.menuName) || "data");
81
- I(B.value, a2);
82
- } catch (e3) {
83
- console.error("下载失败:", e3);
84
- }
85
- }
86
- function pe(e3) {
87
- if (e3 === D.DATABASE)
88
- return T({ message: "QMS数据库类模型正在开发中,敬请期待!", type: "warning" }), void (Q.value = D.RAGFLOW);
89
- e3 === D.DEEPSEEK && Z.value.length > 0 ? X.value.openHeader() : X.value.closeHeader(), e3 === D.DEEPSEEK || e3 === D.PPT_GENERATION ? (ee.value = true, ae.value = true) : (ee.value = false, ae.value = false, ce()), y2("change-ai-model", e3);
90
- }
91
- function fe(e3) {
92
- Z.value.push({ id: e3.uid, uid: e3.uid, name: e3.name, percent: 0, status: "uploading", showDelIcon: true, maxWidth: "150px" });
93
- }
94
- function ve(e3, a2, l2) {
95
- const t2 = Z.value.findIndex((e4) => e4.id === a2.uid);
96
- -1 !== t2 && (Z.value[t2].percent = e3.percent);
97
- }
98
- function ge(e3, a2, l2) {
99
- if (e3) {
100
- const l3 = Z.value.findIndex((e4) => e4.id === a2.uid);
101
- -1 !== l3 && (Z.value[l3].status = "done", e3.forEach((e4) => {
102
- e4.name === Z.value[l3].name && (Z.value[l3].id = e4.fileId, Z.value[l3].uid = e4.fileId);
103
- }));
104
- } else
105
- T({ message: (e3 == null ? void 0 : e3.message) || "文件上传失败", type: "error" });
106
- }
107
- function he(e3) {
108
- const a2 = Z.value.findIndex((a3) => a3.id === e3.uid);
109
- -1 !== a2 && Z.value.splice(a2, 1);
110
- }
111
- function we(e3, a2, l2) {
112
- let t2 = false;
113
- if (a2 && a2.indexOf("~") >= 0) {
114
- const e4 = a2.split("~");
115
- let n2;
116
- if (t2 = M(e4[0]), t2 && (t2 = M(e4[1])), 3 === e4.length && (n2 = e4[2]), e4.length, t2 && n2 && n2.indexOf(",") > 0) {
117
- const a3 = n2.split(","), t3 = a3[0], o2 = a3[1];
118
- l2 = be(t3, e4[0], l2), l2 = be(o2, e4[1], l2);
119
- }
120
- }
121
- return t2 || (l2 = be(e3, a2, l2)), l2;
122
- }
123
- function be(e3, a2, l2) {
124
- if (null == e3 || e3 + "" == "")
125
- return l2;
126
- if (null == a2 || a2 + "" == "")
127
- return l2;
128
- const t2 = "ai__" + e3;
129
- return l2 = l2.indexOf("?") > 0 ? l2 + "&" + t2 + "=" + a2 : l2 + "?" + t2 + "=" + a2;
130
- }
131
- return b2({ parseCommand: function() {
132
- N().then((e3) => {
133
- V(te, e3, ne, oe, ie).then((e4) => {
134
- if ("ok" === e4.status) {
135
- ne || (ne = e4.settingItem), oe = e4.paramInfo;
136
- let a2 = e4.url;
137
- if (a2) {
138
- if (ie)
139
- for (let e5 in ie) {
140
- const l3 = ie[e5];
141
- "_jump_param" !== l3 && (a2 = we(e5, l3, a2));
142
- }
143
- const l2 = ne ? ne.command : "";
144
- ne = void 0, ie = {}, oe = {}, y2("command-answer", { content: e4.commandResult ? e4.commandResult : e4.paramResult, url: a2, paramsValue: ie, command: l2 }), window.open(O(a2));
145
- } else
146
- y2("command-answer", { content: e4.commandResult ? e4.commandResult : e4.paramResult });
147
- } else
148
- y2("command-answer", { content: e4.commandResult ? e4.commandResult : e4.paramResult });
149
- });
150
- });
151
- }, newChatSession: function() {
152
- Q.value === D.DEEPSEEK && (Z.value = []), U.value = "";
153
- } }), (a2, l2) => {
154
- const t2 = n("Paperclip"), b3 = n("el-icon"), y3 = n("super-icon"), x2 = n("el-tooltip"), R2 = n("el-tag"), I2 = n("el-option"), k2 = n("el-select"), P2 = n("SuperIcon"), j2 = n("el-upload"), S2 = n("el-divider"), T2 = n("el-button"), D2 = o("loading");
155
- return i(), u(s, null, [H.value ? (i(), r(R2, { key: 0, type: "primary" }, { default: c(() => [d("div", $, [m(b3, null, { default: c(() => [m(t2)]), _: 1 }), p(" " + f(W.value) + " ", 1), m(x2, { content: "预览" }, { default: c(() => [m(y3, { iconValue: "amb-color-icon-yulan", style: { cursor: "pointer" }, onClick: de })]), _: 1 }), m(x2, { content: "下载" }, { default: c(() => [m(y3, { iconValue: "amb-color-icon-xiazai", style: { cursor: "pointer" }, onClick: me })]), _: 1 }), m(x2, { content: "移除" }, { default: c(() => [m(y3, { iconValue: "amb-color-icon-shanchu", style: { cursor: "pointer" }, onClick: ce })]), _: 1 })])]), _: 1 })) : v("", true), m(g(E), { modelValue: U.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => U.value = e3), variant: "updown", "auto-size": { minRows: 2, maxRows: 5 }, clearable: "", ref_key: "senderRef", ref: X, submitType: "enter", loading: e2.loading, "allow-speech": "", onSubmit: l2[3] || (l2[3] = (e3) => ue()), placeholder: "请您描述问题" }, { header: c(() => [m(g(A), { items: Z.value, drag: "", overflow: "scrollX", "hide-upload": true }, { "file-list": c((e3) => [(i(true), u(s, null, h(e3.items, (e4) => (i(), r(g(_), { key: e4.id, maxWidth: "150px", style: { margin: "10px 5px" }, name: e4.name, percent: e4.percent, uid: e4.id, status: e4.status, "show-del-icon": "", "img-variant": "square", onDelete: he }, null, 8, ["name", "percent", "uid", "status"]))), 128))]), _: 1 }, 8, ["items"])]), prefix: c(() => [d("div", q, [m(k2, { style: { width: "146px", height: "32px" }, plain: "", modelValue: Q.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => Q.value = e3), onChange: pe }, { default: c(() => [(i(), u(s, null, h(K2, (e3) => m(I2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])])]), "action-list": c(() => [d("div", z, [ee.value ? (i(), r(x2, { key: 0, content: "上传附件" }, { default: c(() => [m(j2, { ref_key: "uploadRef", ref: J, action: Y.value, multiple: true, headers: { Authorization: g(F)() }, accept: ".txt,.docx,.pdf,.xlsx,.epub,.mobi,.md,.csv,.json,.bmp,.png,.jpg,.jpeg,.gif,.pdf", "show-file-list": false, "on-progress": ve, "on-success": ge, "before-upload": fe }, { default: c(() => [m(P2, { iconValue: "amb-icon-fujianshangchuan" })]), _: 1 }, 8, ["action", "headers"])]), _: 1 })) : v("", true), ae.value ? (i(), r(x2, { key: 1, content: "附加页面数据" }, { default: c(() => [m(P2, { onClick: re, iconValue: "amb-icon-fujiabiaogeshu", class: "send-icon" })]), _: 1 })) : v("", true), m(x2, { content: "语音" }, { default: c(() => [m(C, { onUserMessage: ue, class: "send-icon" })]), _: 1 }), m(S2, { direction: "vertical" }), e2.loading ? (i(), r(x2, { key: 2, content: "取消" }, { default: c(() => [w((i(), r(T2, { type: "primary", style: { "border-radius": "10px" }, plain: "", round: "", onClick: se }, { default: c(() => [p(" 取消 ")]), _: 1 })), [[D2, e2.loading]])]), _: 1 })) : (i(), r(T2, { key: 3, style: { "border-radius": "10px" }, disabled: !U.value || !U.value.trim(), plain: "", circle: "", round: "", onClick: l2[1] || (l2[1] = (e3) => ue()) }, { default: c(() => [m(P2, { iconValue: "amb-icon-fasong2" })]), _: 1 }, 8, ["disabled"]))])]), _: 1 }, 8, ["modelValue", "loading"]), G], 64);
156
- };
157
- } });
158
- export {
159
- K as default
160
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,7 +0,0 @@
1
- import r from "./answer-auto-chart.vue2.js";
2
- import "./answer-auto-chart.vue3.js";
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = t(r, [["__scopeId", "data-v-73352a50"]]);
5
- export {
6
- a as default
7
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as e, ref as t, openBlock as r, createElementBlock as a, toDisplayString as o, createBlock as s, unref as i } from "vue";
2
- import { ElMessage as n } from "element-plus";
3
- import { use as l } from "echarts/core";
4
- import p from "vue-echarts";
5
- import { CanvasRenderer as c } from "echarts/renderers";
6
- import { LineChart as u, BarChart as m, PieChart as h, RadarChart as x } from "echarts/charts";
7
- import { GridComponent as y, LegendComponent as f, TitleComponent as d, TooltipComponent as v, ToolboxComponent as A, DataZoomComponent as g } from "echarts/components";
8
- const O = { style: { "max-height": "700px" } }, w = { key: 0, style: { "text-align": "center", color: "#999", "margin-top": "20px" } }, b = e({ __name: "answer-auto-chart", props: { chartProps: { type: Object, default: {} } }, setup(e2) {
9
- const b2 = e2;
10
- l([c, u, m, h, x, y, f, d, v, A, g]);
11
- const I = t(null), L = t({}), N = t(false), P = t("");
12
- let S = {};
13
- b2.chartProps.params && (S = JSON.parse(b2.chartProps.params));
14
- let k = [], _ = {};
15
- var F;
16
- return b2.chartProps.answer && (_ = JSON.parse(b2.chartProps.answer), _.dataList && (k = _.dataList)), (k == null ? void 0 : k.length) > 0 && S ? (L.value = function(e3, t2) {
17
- const r2 = e3.chartType || "bar";
18
- return -1 !== r2.indexOf("bar") || -1 !== r2.indexOf("line") ? function(e4, t3) {
19
- var _a, _b;
20
- const r3 = e4.xAxis;
21
- let a2 = e4.series || [], o2 = e4.yAxis || [];
22
- e4.chartOption && (e4.chartOption.yAxis && (o2 = e4.chartOption.yAxis), e4.chartOption.series && (a2 = e4.chartOption.series));
23
- const s2 = t3.map((e5) => {
24
- const t4 = e5[r3];
25
- return null != t4 ? t4 : "未知";
26
- });
27
- let i2 = "bar";
28
- -1 !== ((_a = e4.chartType) == null ? void 0 : _a.indexOf("line")) && (i2 = "line");
29
- const n2 = a2.map((r4) => {
30
- var _a2;
31
- const a3 = r4.name, o3 = r4.type || i2, s3 = t3.map((e5) => e5[a3] || 0), n3 = { name: a3, type: o3, data: s3 };
32
- return r4.format ? n3.tooltip = { valueFormatter: function(e5) {
33
- return r4.format.replace("{value}", e5);
34
- } } : ((_a2 = r4.tooltip) == null ? void 0 : _a2.formatter) && (n3.tooltip = { valueFormatter: function(e5) {
35
- return r4.tooltip.formatter.replace("{value}", e5);
36
- } }), "yAxisIndex" in r4 && (e4.yAxis && Array.isArray(e4.yAxis) && r4.yAxisIndex > e4.yAxis.length - 1 ? r4.yAxisIndex = 0 : n3.yAxisIndex = r4.yAxisIndex), n3;
37
- }), l2 = [];
38
- o2 && Array.isArray(o2) ? o2.forEach((e5) => {
39
- const t4 = { type: e5.type || "value" };
40
- e5.axisLabel && (t4.axisLabel = e5.axisLabel), e5.name && (t4.name = e5.name), l2.push(t4);
41
- }) : l2.push({ type: "value" });
42
- let p2 = e4.chartName || "图表";
43
- e4.chartOption && (p2 = ((_b = e4.chartOption.title) == null ? void 0 : _b.text) || p2);
44
- const c2 = { title: { text: p2, left: "center" }, toolbox: { show: true, feature: { saveAsImage: { title: "保存为图片" } } }, tooltip: { trigger: "axis" }, legend: { data: a2.map((e5) => e5.name), left: "right", textStyle: { width: 180, overflow: "truncate" }, type: "scroll", orient: "vertical", top: "center", tooltip: { show: true } }, xAxis: { type: "category", data: s2 }, yAxis: l2, series: n2 };
45
- s2.length > 10 && (c2.dataZoom = [{ type: "slider", start: 0, end: 100 }, { type: "inside", start: 0, end: 100 }]);
46
- return c2;
47
- }(e3, t2) : "pie" === r2 ? function(e4, t3) {
48
- var _a;
49
- const r3 = e4.xAxis, a2 = ((_a = e4.series[0]) == null ? void 0 : _a.name) || "";
50
- if (!a2)
51
- return n.error("饼图必须指定数值轴"), P.value = "饼图必须指定数值轴", null;
52
- const o2 = t3.map((e5) => ({ name: e5[r3] || "未知", value: e5[a2] || 0 })), s2 = { title: { text: e4.chartName || "饼图", left: "center" }, toolbox: { trigger: "item", show: true, feature: { saveAsImage: { title: "保存为图片" } } }, legend: { left: "right", textStyle: { width: 180, overflow: "truncate" }, type: "scroll", orient: "vertical", top: "10%", tooltip: { show: true } }, series: [{ name: e4.chartName || "饼图", type: "pie", radius: "70%", data: o2, emphasis: { itemStyle: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: "rgba(0, 0, 0, 0.5)" } } }] };
53
- return s2;
54
- }(e3, t2) : (n.error("不支持的图表类型"), P.value = "不支持的图表类型", null);
55
- }(S, k), L.value ? (F = L.value, I.value && I.value.setOption(F, true)) : N.value = true) : k && 0 !== k.length || (n.error("未能获取到可用数据展示图表"), P.value = "未能获取到可用数据展示图表", N.value = true), (e3, t2) => (r(), a("div", O, [N.value ? (r(), a("div", w, o(P.value), 1)) : (r(), s(i(p), { key: 1, ref_key: "chartRef", ref: I, style: { height: "400px" }, option: L.value, autoresize: "" }, null, 8, ["option"]))]));
56
- } });
57
- export {
58
- b as default
59
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,7 +0,0 @@
1
- import e from "./answer-home-chart.vue2.js";
2
- import "./answer-home-chart.vue3.js";
3
- import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const o = r(e, [["__scopeId", "data-v-873e1ba1"]]);
5
- export {
6
- o as default
7
- };
@@ -1,6 +0,0 @@
1
- import { defineComponent as r, openBlock as t, createElementBlock as h, createCommentVNode as e } from "vue";
2
- import { useI18n as a } from "vue-i18n";
3
- const c = { style: { height: "300px", width: "100%" } }, s = ["src"], o = ["src"], i = r({ __name: "answer-home-chart", props: { chartProps: { type: Object, default: {} } }, setup: (r2) => (a(), (a2, i2) => (t(), h("div", c, [r2.chartProps.chartuuid ? (t(), h("iframe", { key: 0, height: "100%", width: "100%", class: "home-chart-iframe", src: "http://localhost:9601/dsc/#/dsc-home-chart/page?chartUuid=" + r2.chartProps.chartuuid + "&homeChartSettingUserId=" + r2.chartProps.id }, null, 8, s)) : r2.chartProps.customurl ? (t(), h("iframe", { key: 1, height: "100%", width: "100%", class: "home-chart-iframe", src: r2.chartProps.customurl }, null, 8, o)) : e("", true)]))) });
4
- export {
5
- i as default
6
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,7 +0,0 @@
1
- import t from "./answer-interaction-data.vue2.js";
2
- import "./answer-interaction-data.vue3.js";
3
- import a from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = a(t, [["__scopeId", "data-v-b9f40acf"]]);
5
- export {
6
- e as default
7
- };
@@ -1,118 +0,0 @@
1
- import { defineComponent as e, ref as a, resolveComponent as l, resolveDirective as t, openBlock as r, createElementBlock as u, createVNode as o, withCtx as i, createBlock as s, createCommentVNode as n, Fragment as d, renderList as c, createTextVNode as p, withDirectives as v, createElementVNode as h, toDisplayString as m, unref as f, vShow as b } from "vue";
2
- import { ElMessage as y } from "element-plus";
3
- import { use as x } from "echarts/core";
4
- import g from "vue-echarts";
5
- import { CanvasRenderer as k } from "echarts/renderers";
6
- import { LineChart as _, BarChart as w, PieChart as V, RadarChart as A } from "echarts/charts";
7
- import { InfoFilled as N } from "@element-plus/icons-vue";
8
- import { GridComponent as O, LegendComponent as P, TitleComponent as I, TooltipComponent as C, ToolboxComponent as D, DataZoomComponent as E } from "echarts/components";
9
- import T from "../util/mcp-utils.js";
10
- const U = { style: { "max-height": "700px" } }, z = { style: { "align-items": "center" } }, S = { class: "dialog-footer" }, j = e({ __name: "answer-interaction-data", props: { chartProps: { type: Object, default: {} } }, setup(e2) {
11
- const j2 = e2;
12
- x([k, _, w, V, A, O, P, I, C, D, E]);
13
- const J = a(null), L = a("table"), M = a(false), B = a({ chartType: "barLine", series: [{ type: "bar", yAxis: "", calculation: "count" }] }), F = a([]), R = {}, X = {}, Z = a(false), $ = a(""), q = a(), G = a([]), H = a(false), K = a([]), Q = a({}), W = a({}), Y = a();
14
- if (j2.chartProps) {
15
- let e3 = null;
16
- if (j2.chartProps.datalist ? e3 = JSON.parse(j2.chartProps.datalist) : j2.chartProps["data-list"] && (e3 = JSON.parse(j2.chartProps["data-list"])), e3 && (F.value = e3, F.value.length > 0)) {
17
- const e4 = F.value[0];
18
- K.value = [...Object.keys(e4)].filter((e5) => "id" !== e5 && "ID" !== e5);
19
- }
20
- j2.chartProps.datatables ? W.value = JSON.parse(j2.chartProps.datatables) : j2.chartProps["data-tables"] && (W.value = JSON.parse(j2.chartProps["data-tables"])), j2.chartProps.childtables && (Y.value = JSON.parse(j2.chartProps.childtables));
21
- }
22
- function ee(e3) {
23
- "pie" === e3 && B.value.series.length > 1 && (B.value.series = [B.value.series[0]]);
24
- }
25
- function ae() {
26
- !function() {
27
- if (!B.value.xAxis)
28
- return;
29
- const e3 = B.value.series, a2 = [], l2 = [], t2 = {};
30
- e3.forEach((e4) => {
31
- l2.push({ name: e4.yAxis, type: e4.type, data: [] });
32
- }), F.value.forEach((l3) => {
33
- const r2 = l3[B.value.xAxis];
34
- a2.includes(r2) || a2.push(r2);
35
- let u2 = {};
36
- t2[r2] && Object.keys(t2[r2]).length > 0 && (u2 = t2[r2]), e3.forEach((e4) => {
37
- const a3 = l3[e4.yAxis];
38
- u2[e4.yAxis] || (u2[e4.yAxis] = []), u2[e4.yAxis].push(a3);
39
- }), t2[r2] = u2;
40
- }), a2.forEach((a3) => {
41
- e3.forEach((e4, r2) => {
42
- let u2 = 0;
43
- const o2 = t2[a3][e4.yAxis];
44
- switch (o2.forEach((e5, a4) => {
45
- isNaN(Number(e5)) && (o2[a4] = 0);
46
- }), e4.calculation) {
47
- case "count":
48
- u2 = o2.length;
49
- break;
50
- case "sum":
51
- u2 = o2.reduce((e5, a4) => e5 + Number(a4), 0);
52
- break;
53
- case "average":
54
- u2 = o2.length > 0 ? Number((o2.reduce((e5, a4) => e5 + Number(a4), 0) / o2.length).toFixed(2)) : 0;
55
- break;
56
- case "max":
57
- u2 = Math.max(...o2.map((e5) => Number(e5)));
58
- break;
59
- case "min":
60
- u2 = Math.min(...o2.map((e5) => Number(e5)));
61
- break;
62
- default:
63
- u2 = 0;
64
- }
65
- l2[r2].data.push(u2);
66
- });
67
- }), M.value = true, Q.value = function(e4, a3) {
68
- if ("pie" === B.value.chartType)
69
- return { tooltip: { trigger: "item" }, legend: { type: "scroll", orient: "vertical", right: 10, top: "center" }, toolbox: { show: true, feature: { saveAsImage: { title: "保存为图片" } } }, series: [{ name: B.value.xAxis, type: "pie", radius: "90%", data: e4.map((e5, l3) => ({ name: e5, value: a3[0].data[l3] })), emphasis: { itemStyle: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: "rgba(0, 0, 0, 0.5)" } } }] };
70
- if ("radar" === B.value.chartType) {
71
- const l3 = [];
72
- return a3.forEach((e5, a4) => {
73
- l3.push({ value: e5.data, name: e5.name });
74
- }), { tooltip: { trigger: "item" }, legend: { type: "scroll", orient: "vertical", right: 10, top: "center" }, toolbox: { show: true, feature: { saveAsImage: { title: "保存为图片" } } }, radar: { indicator: e4.map((e5, l4) => ({ name: e5, max: 1.2 * Math.max(...a3[0].data) })) }, series: [{ name: B.value.xAxis, type: "radar", data: l3 }] };
75
- }
76
- return { tooltip: { trigger: "axis" }, toolbox: { show: true, feature: { dataZoom: { title: { zoom: "区域缩放", back: "缩放还原" }, yAxisIndex: "none" }, dataView: { readOnly: false, title: "数据视图", lang: ["数据视图", "关闭", "刷新"] }, magicType: { title: { line: "切换为折线图", bar: "切换为柱状图" }, type: ["line", "bar"] }, restore: { title: "还原" }, saveAsImage: { title: "保存为图片" } } }, legend: { type: "scroll", orient: "vertical", right: 10, top: "center" }, xAxis: { type: "category", data: e4 }, yAxis: { type: "value" }, series: a3 };
77
- }(a2, l2), Q.value, J.value && J.value.setOption(Q, true);
78
- }();
79
- }
80
- function le(e3) {
81
- q.value = [], G.value = [], $.value = "", e3();
82
- }
83
- return (e3, a2) => {
84
- const x2 = l("el-radio-button"), k2 = l("el-radio-group"), _2 = l("el-form-item"), w2 = l("el-option"), V2 = l("el-select"), A2 = l("el-button"), O2 = l("el-col"), P2 = l("Plus"), I2 = l("el-icon"), C2 = l("Delete"), D2 = l("el-form"), E2 = l("el-table-column"), j3 = l("el-link"), te = l("el-table"), re = l("el-dialog"), ue = t("loading");
85
- return r(), u("div", U, [o(D2, { style: { "max-height": "200px", "overflow-y": "auto" }, size: "small", inline: true, model: B.value, "label-width": "60" }, { default: i(() => [o(O2, null, { default: i(() => [o(_2, { label: "展示方式" }, { default: i(() => [o(k2, { modelValue: L.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => L.value = e4), size: "small" }, { default: i(() => [o(x2, { label: "表格", value: "table" }), o(x2, { label: "图表", value: "chart" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "chart" === L.value ? (r(), s(_2, { key: 0, label: "图表类型" }, { default: i(() => [o(V2, { style: { width: "100px" }, modelValue: B.value.chartType, "onUpdate:modelValue": a2[1] || (a2[1] = (e4) => B.value.chartType = e4), placeholder: "选择图标类型", onChange: ee, clearable: "" }, { default: i(() => [o(w2, { label: "柱折图", value: "barLine" }), o(w2, { label: "饼状图", value: "pie" }), o(w2, { label: "雷达图", value: "radar" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : n("", true), "chart" === L.value ? (r(), s(_2, { key: 1, label: "维度" }, { default: i(() => [o(V2, { style: { width: "150px" }, modelValue: B.value.xAxis, "onUpdate:modelValue": a2[2] || (a2[2] = (e4) => B.value.xAxis = e4), placeholder: "选择图标类型", clearable: "" }, { default: i(() => [(r(true), u(d, null, c(K.value, (e4) => (r(), s(w2, { key: e4, label: e4, value: e4 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : n("", true), "chart" === L.value ? (r(), s(_2, { key: 2 }, { default: i(() => [o(A2, { type: "primary", onClick: ae }, { default: i(() => [p("生成图表")]), _: 1 })]), _: 1 })) : n("", true)]), _: 1 }), "chart" === L.value ? (r(true), u(d, { key: 0 }, c(B.value.series, (e4, a3) => (r(), u("div", { key: a3 }, ["barLine" === B.value.chartType ? (r(), s(_2, { key: 0, label: "类型" }, { default: i(() => [o(V2, { style: { width: "100px" }, modelValue: e4.type, "onUpdate:modelValue": (a4) => e4.type = a4, placeholder: "选择显示类型", clearable: "" }, { default: i(() => [o(w2, { label: "柱形", value: "bar" }), o(w2, { label: "折线", value: "line" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : n("", true), o(_2, { label: "数据项" }, { default: i(() => [o(V2, { style: { width: "150px" }, modelValue: e4.yAxis, "onUpdate:modelValue": (a4) => e4.yAxis = a4, placeholder: "选择数据项", clearable: "" }, { default: i(() => [(r(true), u(d, null, c(K.value, (e5) => (r(), s(w2, { key: e5, label: e5, value: e5 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), o(_2, { label: "计算方式" }, { default: i(() => [o(V2, { style: { width: "100px" }, modelValue: e4.calculation, "onUpdate:modelValue": (a4) => e4.calculation = a4, placeholder: "选择计算方式", clearable: "" }, { default: i(() => [o(w2, { label: "计数", value: "count" }), o(w2, { label: "求和", value: "sum" }), o(w2, { label: "平均值", value: "average" }), o(w2, { label: "最大值", value: "max" }), o(w2, { label: "最小值", value: "min" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "pie" !== B.value.chartType ? (r(), s(_2, { key: 1 }, { default: i(() => [o(I2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (e5) => {
86
- B.value.series.push({ type: "bar", yAxis: "", calculation: "count" });
87
- } }, { default: i(() => [o(P2)]), _: 2 }, 1032, ["onClick"]), o(I2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (e5) => function(e6) {
88
- B.value.series.length > 1 ? B.value.series.splice(e6, 1) : y.warning("至少保留一个系列");
89
- }(a3) }, { default: i(() => [o(C2)]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1024)) : n("", true)]))), 128)) : n("", true)]), _: 1 }, 8, ["model"]), "table" === L.value ? (r(), s(te, { key: 0, size: "small", data: F.value, fit: "", border: true, resizable: true, style: { width: "100%" }, "max-height": "500px" }, { default: i(() => [Y.value && Y.value.length > 0 ? (r(), u(d, { key: 0 }, [o(E2, { type: "index", width: "50", label: "序号" }), v(o(E2, { align: "center", fit: "", label: "关联数据", width: "180" }, { default: i((e4) => [(r(true), u(d, null, c(Y.value, (a3) => (r(), u("div", null, [h("div", z, [o(j3, { onClick: (l2) => function(e5, a4, l3) {
90
- var _a;
91
- if (H.value = true, q.value = [], G.value = [], (_a = R[a4.ID]) == null ? void 0 : _a[l3.id]) {
92
- const e6 = /* @__PURE__ */ new Set();
93
- return R[a4.ID][l3.id].forEach((a5) => {
94
- Object.keys(a5).forEach((a6) => {
95
- e6.add(a6);
96
- });
97
- }), G.value = X[l3.id], $.value = l3.alias, H.value = false, q.value = R[a4.ID][l3.id], void (Z.value = true);
98
- }
99
- T.getChildTableData({ parentData: a4, childTables: [l3], dataTable: W.value[0] }).then((e6) => {
100
- if (R[a4.ID] || (R[a4.ID] = {}), e6[l3.alias]) {
101
- const t2 = /* @__PURE__ */ new Set();
102
- e6[l3.alias].forEach((e7) => {
103
- Object.keys(e7).forEach((e8) => {
104
- t2.add(e8);
105
- });
106
- }), G.value = Array.from(t2).map((e7) => ({ prop: e7, label: e7 })).filter((e7) => "id" !== e7.prop && "ID" !== e7.prop), X[l3.id] = G.value;
107
- const r2 = e6[l3.alias];
108
- R[a4.ID][l3.id] = r2, H.value = false, q.value = r2, $.value = l3.alias, Z.value = true;
109
- }
110
- }).catch(() => {
111
- Z.value = true, H.value = false;
112
- });
113
- }(e4.$index, e4.row, a3), type: "primary" }, { default: i(() => [p(m(a3.alias), 1)]), _: 2 }, 1032, ["onClick"]), p("  "), o(I2, { style: { color: "#409eff" } }, { default: i(() => [o(f(N))]), _: 1 })])]))), 256))]), _: 1 }, 512), [[b, Y.value && Y.value.length > 0]])], 64)) : n("", true), (r(true), u(d, null, c(K.value, (e4) => (r(), s(E2, { key: e4, prop: e4, label: e4 }, null, 8, ["prop", "label"]))), 128))]), _: 1 }, 8, ["data"])) : "chart" === L.value && M.value ? (r(), s(f(g), { key: 1, ref_key: "chartRef", ref: J, style: { height: "400px" }, option: Q.value, autoresize: "" }, null, 8, ["option"])) : n("", true), o(re, { modelValue: Z.value, "onUpdate:modelValue": a2[4] || (a2[4] = (e4) => Z.value = e4), "destroy-on-close": true, title: $.value, "before-close": le }, { footer: i(() => [h("div", S, [o(A2, { onClick: a2[3] || (a2[3] = (e4) => Z.value = false) }, { default: i(() => [p("关闭")]), _: 1 })])]), default: i(() => [v((r(), s(te, { data: q.value, size: "small", style: { width: "100%" } }, { default: i(() => [o(E2, { type: "index", width: "50", label: "序号" }), (r(true), u(d, null, c(G.value, (e4) => (r(), s(E2, { key: e4.prop, prop: e4.prop, label: e4.label }, null, 8, ["prop", "label"]))), 128))]), _: 1 }, 8, ["data"])), [[ue, H.value]])]), _: 1 }, 8, ["modelValue", "title"])]);
114
- };
115
- } });
116
- export {
117
- j as default
118
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,7 +0,0 @@
1
- import t from "./history-detail.vue2.js";
2
- import "./history-detail.vue3.js";
3
- import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const o = e(t, [["__scopeId", "data-v-44f1d9d6"]]);
5
- export {
6
- o as default
7
- };
@@ -1,55 +0,0 @@
1
- import { defineComponent as e, ref as t, resolveComponent as o, openBlock as n, createBlock as i, withCtx as l, createElementVNode as s, createVNode as r, createTextVNode as a, unref as u } from "vue";
2
- import { ElMessage as c, ElMessageBox as d } from "element-plus";
3
- import { useI18n as m } from "vue-i18n";
4
- import { deleteByIds as p } from "../util/history-message-util.js";
5
- const f = { style: { overflow: "hidden" } }, h = { class: "operation-area", style: { display: "flex" } }, v = { class: "dialog-footer" }, g = e({ __name: "history-detail", emits: ["new-chat-session"], setup(e2, { expose: g2, emit: w }) {
6
- const { t: y } = m(), b = t(false), x = window.$vueApp.config.globalProperties.baseAPI, C = t([]), I = t();
7
- function M() {
8
- b.value = false, w("new-chat-session");
9
- }
10
- function _(e3, t2) {
11
- C.value = e3;
12
- }
13
- function T() {
14
- return 0.55 * window.innerHeight;
15
- }
16
- function D() {
17
- C.value && 0 !== C.value.length ? d.confirm(y("imatrixUIMessage.whetherToConfirmDeletion"), y("imatrixUIMessage.tips"), { confirmButtonText: y("publicModel.sure"), cancelButtonText: y("publicModel.cancel"), type: "warning" }).then(() => {
18
- var _a;
19
- const e3 = C.value.map((e4) => e4.id || e4.ID);
20
- (_a = p(e3)) == null ? void 0 : _a.then((e4) => {
21
- c({ showClose: true, type: "success", message: y("superGrid.deleteSuccessful") }), I.value.refresh(), C.value = [];
22
- });
23
- }) : c({ showClose: true, type: "warning", message: "请选择记录" });
24
- }
25
- function H(e3, t2, o2, n2, i2) {
26
- return { template: '<div style="text-align:center;"><span>' + o2.iconFileName + "</span></div>", data: function() {
27
- return { val: "test" };
28
- }, methods: {} };
29
- }
30
- function R(e3, t2, o2, n2, i2) {
31
- return { template: '<el-button v-if="' + !o2.$editing + `" v-permission="'bs.aiVoiceCommand.delete'" text @click.stop="deleteHistory">` + y("publicModel.delete") + "</el-button>", data: function() {
32
- return {};
33
- }, methods: { selectIconFile() {
34
- }, saveRow: function() {
35
- }, restoreRow: function() {
36
- I.value.restoreRow(i2);
37
- }, editCommand: function() {
38
- }, deleteHistory: function() {
39
- d.confirm(y("message.whetherToConfirmDeletion"), y("message.tips"), { confirmButtonText: y("publicModel.sure"), cancelButtonText: y("publicModel.cancel"), type: "warning" }).then(() => {
40
- p([o2.id || o2.ID]).then(() => {
41
- c.success("已删除该会话"), I.value.refresh();
42
- });
43
- });
44
- } } };
45
- }
46
- return g2({ showHistoryDetail: function() {
47
- b.value = true;
48
- } }), (e3, t2) => {
49
- const c2 = o("el-button"), d2 = o("super-grid"), m2 = o("el-dialog");
50
- return n(), i(m2, { modelValue: b.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => b.value = e4), "destroy-on-close": "", title: "历史记录", width: "80%", top: "3vh", "close-on-click-modal": false, onClose: M }, { footer: l(() => [s("div", v, [r(c2, { type: "primary", onClick: t2[0] || (t2[0] = (e4) => b.value = false) }, { default: l(() => [a(" 关闭 ")]), _: 1 })])]), default: l(() => [s("div", f, [s("div", h, [r(c2, { type: "danger", onClick: D }, { default: l(() => [a("删除")]), _: 1 })]), r(d2, { ref_key: "gridRef", ref: I, "custom-formatter": { operation: R, preview: H }, options: { resizeHeight: T, lineEditOptions: {}, statementDto: {}, renderRow: {}, search: { labelWidth: "100px", fieldNum: 2 } }, url: u(x) + "/mc/ai-history/list-all", code: "MC_AI_HISTORY", onSelect: _, onSelectAll: _ }, null, 8, ["custom-formatter", "options", "url"])])]), _: 1 }, 8, ["modelValue"]);
51
- };
52
- } });
53
- export {
54
- g as default
55
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,7 +0,0 @@
1
- import e from "./header.vue2.js";
2
- import "./header.vue3.js";
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const o = r(e, [["__scopeId", "data-v-45fbaf17"]]);
5
- export {
6
- o as default
7
- };