@touchvue/chat 1.0.0-beta.3 → 1.0.0-beta.30

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 (1012) hide show
  1. package/README.md +70 -70
  2. package/es/index.mjs.map +1 -1
  3. package/es/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs +1380 -0
  4. package/es/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs.map +1 -0
  5. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +469 -0
  6. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +1 -0
  7. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +63 -0
  8. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +1 -0
  9. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +9 -0
  10. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +1 -0
  11. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +9 -0
  12. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +1 -0
  13. package/es/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs +7824 -0
  14. package/es/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs.map +1 -0
  15. package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +643 -0
  16. package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +1 -0
  17. package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +195 -0
  18. package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +1 -0
  19. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.mjs +70 -0
  20. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
  21. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.mjs +26 -0
  22. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
  23. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.mjs +291 -0
  24. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
  25. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.mjs +6 -0
  26. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
  27. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +81 -0
  28. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
  29. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +52 -0
  30. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
  31. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +70 -0
  32. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
  33. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.mjs +570 -0
  34. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.mjs.map +1 -0
  35. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.mjs +135 -0
  36. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
  37. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.mjs +63 -0
  38. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
  39. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.mjs +197 -0
  40. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
  41. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.mjs +91 -0
  42. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
  43. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.mjs +50 -0
  44. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
  45. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.mjs +73 -0
  46. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
  47. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.mjs +323 -0
  48. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
  49. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.mjs +341 -0
  50. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
  51. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.mjs +213 -0
  52. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
  53. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.mjs +33 -0
  54. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
  55. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.mjs +97 -0
  56. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
  57. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.mjs +55 -0
  58. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
  59. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.mjs +44 -0
  60. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
  61. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.mjs +73 -0
  62. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
  63. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.mjs +85 -0
  64. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
  65. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.mjs +335 -0
  66. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
  67. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.mjs +49 -0
  68. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
  69. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.mjs +211 -0
  70. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
  71. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.mjs +222 -0
  72. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
  73. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.mjs +232 -0
  74. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
  75. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.mjs +16 -0
  76. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
  77. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.mjs +14 -0
  78. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
  79. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.mjs +138 -0
  80. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
  81. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.mjs +20 -0
  82. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
  83. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.mjs +104 -0
  84. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
  85. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +197 -0
  86. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
  87. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.mjs +19 -0
  88. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
  89. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.mjs +46 -0
  90. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +1 -0
  91. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.mjs +75 -0
  92. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
  93. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.mjs +63 -0
  94. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
  95. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +127 -0
  96. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
  97. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +126 -0
  98. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
  99. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.mjs +55 -0
  100. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
  101. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.mjs +73 -0
  102. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
  103. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +41 -0
  104. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +1 -0
  105. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +54 -0
  106. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
  107. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.mjs +142 -0
  108. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
  109. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.mjs +143 -0
  110. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
  111. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.mjs +59 -0
  112. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +1 -0
  113. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.mjs +46 -0
  114. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
  115. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +125 -0
  116. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
  117. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +130 -0
  118. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
  119. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.mjs +89 -0
  120. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
  121. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.mjs +192 -0
  122. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.mjs.map +1 -0
  123. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +5 -0
  124. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +1 -0
  125. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +113 -0
  126. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +1 -0
  127. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +90 -0
  128. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +1 -0
  129. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +24 -0
  130. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +1 -0
  131. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +309 -0
  132. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +1 -0
  133. package/es/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.mjs +443 -0
  134. package/es/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.mjs.map +1 -0
  135. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +4 -0
  136. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
  137. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +4 -0
  138. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
  139. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +4 -0
  140. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
  141. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +4 -0
  142. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +1 -0
  143. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +4 -0
  144. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
  145. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +7 -0
  146. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +1 -0
  147. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +4 -0
  148. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
  149. package/es/package.json.css +1 -1
  150. package/es/package.json.mjs +1 -1
  151. package/es/packages/components/index.mjs +1 -1
  152. package/es/packages/components/resolver.mjs.map +1 -1
  153. package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue.mjs +7 -0
  154. package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue2.mjs +270 -0
  155. package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue2.mjs.map +1 -0
  156. package/es/packages/components/touchchat/component/AiRobot/face.vue.mjs +7 -0
  157. package/es/packages/components/touchchat/component/AiRobot/face.vue2.mjs +92 -0
  158. package/es/packages/components/touchchat/component/AiRobot/face.vue2.mjs.map +1 -0
  159. package/es/packages/components/touchchat/component/AiRobot/letter.vue.mjs +7 -0
  160. package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs +189 -0
  161. package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs.map +1 -0
  162. package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.mjs +7 -0
  163. package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.mjs +44 -0
  164. package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.mjs.map +1 -0
  165. package/es/packages/components/touchchat/component/AiRobot/start.vue.mjs +7 -0
  166. package/es/packages/components/touchchat/component/AiRobot/start.vue2.mjs +43 -0
  167. package/es/packages/components/touchchat/component/AiRobot/start.vue2.mjs.map +1 -0
  168. package/es/packages/components/touchchat/component/CardView.vue2.mjs.map +1 -1
  169. package/es/packages/components/touchchat/component/FileContent.vue.mjs +7 -0
  170. package/es/packages/components/touchchat/component/FileContent.vue.mjs.map +1 -0
  171. package/es/packages/components/touchchat/component/FileContent.vue2.mjs +201 -0
  172. package/es/packages/components/touchchat/component/FileContent.vue2.mjs.map +1 -0
  173. package/es/packages/components/touchchat/component/FileView.vue2.mjs +2 -2
  174. package/es/packages/components/touchchat/component/FileView.vue2.mjs.map +1 -1
  175. package/es/packages/components/touchchat/component/HelloChat.vue2.mjs +2 -2
  176. package/es/packages/components/touchchat/component/HelloChat.vue2.mjs.map +1 -1
  177. package/es/packages/components/touchchat/component/ImageFile.vue.mjs +7 -0
  178. package/es/packages/components/touchchat/component/ImageFile.vue.mjs.map +1 -0
  179. package/es/packages/components/touchchat/component/ImageFile.vue2.mjs +162 -0
  180. package/es/packages/components/touchchat/component/ImageFile.vue2.mjs.map +1 -0
  181. package/es/packages/components/touchchat/component/ImageView.vue2.mjs +1 -1
  182. package/es/packages/components/touchchat/component/ImageView.vue2.mjs.map +1 -1
  183. package/es/packages/components/touchchat/component/LinkView.vue2.mjs +4 -4
  184. package/es/packages/components/touchchat/component/LinkView.vue2.mjs.map +1 -1
  185. package/es/packages/components/touchchat/component/MarkLayer.vue.mjs +7 -0
  186. package/es/packages/components/touchchat/component/MarkLayer.vue.mjs.map +1 -0
  187. package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs +56 -0
  188. package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs.map +1 -0
  189. package/es/packages/components/touchchat/component/ModuleSelect.vue.mjs +7 -0
  190. package/es/packages/components/touchchat/component/ModuleSelect.vue.mjs.map +1 -0
  191. package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs +121 -0
  192. package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs.map +1 -0
  193. package/es/packages/components/touchchat/component/PDFFile.vue.mjs +7 -0
  194. package/es/packages/components/touchchat/component/PDFFile.vue.mjs.map +1 -0
  195. package/es/packages/components/touchchat/component/PDFFile.vue2.mjs +205 -0
  196. package/es/packages/components/touchchat/component/PDFFile.vue2.mjs.map +1 -0
  197. package/es/packages/components/touchchat/component/RealtimeVoice.vue.mjs +7 -0
  198. package/es/packages/components/touchchat/component/RealtimeVoice.vue.mjs.map +1 -0
  199. package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs +162 -0
  200. package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs.map +1 -0
  201. package/es/packages/components/touchchat/component/Screenshot.vue.mjs +7 -0
  202. package/es/packages/components/touchchat/component/Screenshot.vue.mjs.map +1 -0
  203. package/es/packages/components/touchchat/component/Screenshot.vue2.mjs +201 -0
  204. package/es/packages/components/touchchat/component/Screenshot.vue2.mjs.map +1 -0
  205. package/es/packages/components/touchchat/component/ThoughtChain.vue.mjs +7 -0
  206. package/es/packages/components/touchchat/component/ThoughtChain.vue.mjs.map +1 -0
  207. package/es/packages/components/touchchat/component/ThoughtChain.vue2.mjs +69 -0
  208. package/es/packages/components/touchchat/component/ThoughtChain.vue2.mjs.map +1 -0
  209. package/es/packages/components/touchchat/component/UploadView.vue.mjs +7 -0
  210. package/es/packages/components/touchchat/component/UploadView.vue.mjs.map +1 -0
  211. package/es/packages/components/touchchat/component/UploadView.vue2.mjs +146 -0
  212. package/es/packages/components/touchchat/component/UploadView.vue2.mjs.map +1 -0
  213. package/es/packages/components/touchchat/component/UploadView_api.vue.mjs +7 -0
  214. package/es/packages/components/touchchat/component/UploadView_api.vue.mjs.map +1 -0
  215. package/es/packages/components/touchchat/component/UploadView_api.vue2.mjs +166 -0
  216. package/es/packages/components/touchchat/component/UploadView_api.vue2.mjs.map +1 -0
  217. package/es/packages/components/touchchat/component/VoiceView.vue.mjs +7 -0
  218. package/es/packages/components/touchchat/component/VoiceView.vue.mjs.map +1 -0
  219. package/es/packages/components/touchchat/component/VoiceView.vue2.mjs +167 -0
  220. package/es/packages/components/touchchat/component/VoiceView.vue2.mjs.map +1 -0
  221. package/es/packages/components/touchchat/img/aiAvatar.png.mjs +4 -0
  222. package/es/packages/components/touchchat/img/aiAvatar.png.mjs.map +1 -0
  223. package/es/packages/components/touchchat/img/file/doc.png.mjs +4 -0
  224. package/es/packages/components/touchchat/img/file/doc.png.mjs.map +1 -0
  225. package/es/packages/components/touchchat/img/file/docx.png.mjs +4 -0
  226. package/es/packages/components/touchchat/img/file/docx.png.mjs.map +1 -0
  227. package/es/packages/components/touchchat/img/file/gif.png.mjs +4 -0
  228. package/es/packages/components/touchchat/img/file/gif.png.mjs.map +1 -0
  229. package/es/packages/components/touchchat/img/file/html.png.mjs +4 -0
  230. package/es/packages/components/touchchat/img/file/html.png.mjs.map +1 -0
  231. package/es/packages/components/touchchat/img/file/jpg.png.mjs +4 -0
  232. package/es/packages/components/touchchat/img/file/jpg.png.mjs.map +1 -0
  233. package/es/packages/components/touchchat/img/file/mp3.png.mjs +4 -0
  234. package/es/packages/components/touchchat/img/file/mp3.png.mjs.map +1 -0
  235. package/es/packages/components/touchchat/img/file/mp4.png.mjs +4 -0
  236. package/es/packages/components/touchchat/img/file/mp4.png.mjs.map +1 -0
  237. package/es/packages/components/touchchat/img/file/music.png.mjs +4 -0
  238. package/es/packages/components/touchchat/img/file/music.png.mjs.map +1 -0
  239. package/es/packages/components/touchchat/img/file/pdf.png.mjs +4 -0
  240. package/es/packages/components/touchchat/img/file/pdf.png.mjs.map +1 -0
  241. package/es/packages/components/touchchat/img/file/png.png.mjs +4 -0
  242. package/es/packages/components/touchchat/img/file/png.png.mjs.map +1 -0
  243. package/es/packages/components/touchchat/img/file/ppt.png.mjs +4 -0
  244. package/es/packages/components/touchchat/img/file/ppt.png.mjs.map +1 -0
  245. package/es/packages/components/touchchat/img/file/pptx.png.mjs +4 -0
  246. package/es/packages/components/touchchat/img/file/pptx.png.mjs.map +1 -0
  247. package/es/packages/components/touchchat/img/file/txt.png.mjs +4 -0
  248. package/es/packages/components/touchchat/img/file/txt.png.mjs.map +1 -0
  249. package/es/packages/components/touchchat/img/file/xls.png.mjs +4 -0
  250. package/es/packages/components/touchchat/img/file/xls.png.mjs.map +1 -0
  251. package/es/packages/components/touchchat/img/file/xlsx.png.mjs +4 -0
  252. package/es/packages/components/touchchat/img/file/xlsx.png.mjs.map +1 -0
  253. package/es/packages/components/touchchat/img/icon.png.mjs.map +1 -0
  254. package/es/packages/components/touchchat/img/svg/reset.svg.mjs +4 -0
  255. package/es/packages/components/touchchat/img/svg/reset.svg.mjs.map +1 -0
  256. package/es/packages/components/touchchat/img/userAvatar.png.mjs +4 -0
  257. package/es/packages/components/touchchat/img/userAvatar.png.mjs.map +1 -0
  258. package/es/packages/components/touchchat/index.mjs +5 -5
  259. package/es/packages/components/touchchat/index.mjs.map +1 -1
  260. package/es/packages/components/touchchat/src/AiChat/AgentsView.vue.mjs +7 -0
  261. package/es/packages/components/touchchat/src/AiChat/AgentsView.vue.mjs.map +1 -0
  262. package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs +59 -0
  263. package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs.map +1 -0
  264. package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs +223 -281
  265. package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs.map +1 -1
  266. package/es/packages/components/touchchat/src/AiChat/Chat/TouchChat.mjs +18 -0
  267. package/es/packages/components/touchchat/src/AiChat/Chat/TouchChat.mjs.map +1 -0
  268. package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs +439 -158
  269. package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs.map +1 -1
  270. package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs +118 -149
  271. package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs.map +1 -1
  272. package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs +51 -64
  273. package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs.map +1 -1
  274. package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs +127 -227
  275. package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs.map +1 -1
  276. package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue.mjs +7 -0
  277. package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue.mjs.map +1 -0
  278. package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs +31 -0
  279. package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs.map +1 -0
  280. package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue.mjs +7 -0
  281. package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue.mjs.map +1 -0
  282. package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs +929 -0
  283. package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs.map +1 -0
  284. package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs +1068 -521
  285. package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs.map +1 -1
  286. package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs +365 -136
  287. package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs.map +1 -1
  288. package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs +129 -66
  289. package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs.map +1 -1
  290. package/es/packages/components/touchchat/src/index.vue.mjs +2 -2
  291. package/es/packages/components/touchchat/src/index.vue2.mjs +180 -117
  292. package/es/packages/components/touchchat/src/index.vue2.mjs.map +1 -1
  293. package/es/packages/components/touchchat/src/types/a2a.mjs +11 -0
  294. package/es/packages/components/touchchat/src/types/a2a.mjs.map +1 -0
  295. package/es/packages/components/touchchat/utils/a2aService.mjs +292 -0
  296. package/es/packages/components/touchchat/utils/a2aService.mjs.map +1 -0
  297. package/es/packages/components/touchchat/utils/fetchStream.mjs +6 -1
  298. package/es/packages/components/touchchat/utils/fetchStream.mjs.map +1 -1
  299. package/es/packages/components/touchchat/utils/markdown.mjs +3 -3
  300. package/es/packages/components/touchchat/utils/markdown.mjs.map +1 -1
  301. package/es/packages/utils/config.mjs.map +1 -1
  302. package/es/packages/utils/types.mjs.map +1 -1
  303. package/global.d.ts +2 -2
  304. package/lib/index.js.map +1 -1
  305. package/lib/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js +1384 -0
  306. package/lib/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js.map +1 -0
  307. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +477 -0
  308. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js.map +1 -0
  309. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +66 -0
  310. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  311. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +13 -0
  312. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  313. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +13 -0
  314. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  315. package/lib/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.js +7828 -0
  316. package/lib/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.js.map +1 -0
  317. package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js +647 -0
  318. package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js.map +1 -0
  319. package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +199 -0
  320. package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js.map +1 -0
  321. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js +74 -0
  322. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js.map +1 -0
  323. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +29 -0
  324. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js.map +1 -0
  325. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +308 -0
  326. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js.map +1 -0
  327. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +12 -0
  328. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js.map +1 -0
  329. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +85 -0
  330. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js.map +1 -0
  331. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js +56 -0
  332. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js.map +1 -0
  333. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +74 -0
  334. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js.map +1 -0
  335. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js +573 -0
  336. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js.map +1 -0
  337. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js +139 -0
  338. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js.map +1 -0
  339. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js +67 -0
  340. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js.map +1 -0
  341. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js +201 -0
  342. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js.map +1 -0
  343. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js +95 -0
  344. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js.map +1 -0
  345. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js +54 -0
  346. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js.map +1 -0
  347. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js +77 -0
  348. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js.map +1 -0
  349. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js +327 -0
  350. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js.map +1 -0
  351. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js +345 -0
  352. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js.map +1 -0
  353. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js +217 -0
  354. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js.map +1 -0
  355. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js +37 -0
  356. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js.map +1 -0
  357. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js +101 -0
  358. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js.map +1 -0
  359. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +59 -0
  360. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js.map +1 -0
  361. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +48 -0
  362. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js.map +1 -0
  363. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +77 -0
  364. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js.map +1 -0
  365. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js +89 -0
  366. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js.map +1 -0
  367. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js +339 -0
  368. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js.map +1 -0
  369. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +53 -0
  370. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js.map +1 -0
  371. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +215 -0
  372. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js.map +1 -0
  373. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js +226 -0
  374. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js.map +1 -0
  375. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +236 -0
  376. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js.map +1 -0
  377. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js +20 -0
  378. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js.map +1 -0
  379. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +18 -0
  380. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js.map +1 -0
  381. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +142 -0
  382. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js.map +1 -0
  383. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js +24 -0
  384. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js.map +1 -0
  385. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js +108 -0
  386. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js.map +1 -0
  387. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js +201 -0
  388. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js.map +1 -0
  389. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js +23 -0
  390. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js.map +1 -0
  391. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +50 -0
  392. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js.map +1 -0
  393. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +79 -0
  394. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js.map +1 -0
  395. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js +67 -0
  396. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js.map +1 -0
  397. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +131 -0
  398. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js.map +1 -0
  399. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js +130 -0
  400. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js.map +1 -0
  401. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +59 -0
  402. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js.map +1 -0
  403. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +77 -0
  404. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js.map +1 -0
  405. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +45 -0
  406. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js.map +1 -0
  407. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +58 -0
  408. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js.map +1 -0
  409. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js +146 -0
  410. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js.map +1 -0
  411. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js +147 -0
  412. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js.map +1 -0
  413. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +63 -0
  414. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js.map +1 -0
  415. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js +50 -0
  416. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js.map +1 -0
  417. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +129 -0
  418. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js.map +1 -0
  419. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js +134 -0
  420. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js.map +1 -0
  421. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +93 -0
  422. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js.map +1 -0
  423. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js +196 -0
  424. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js.map +1 -0
  425. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +14 -0
  426. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js.map +1 -0
  427. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js +117 -0
  428. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js.map +1 -0
  429. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js +94 -0
  430. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js.map +1 -0
  431. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js +28 -0
  432. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js.map +1 -0
  433. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js +313 -0
  434. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js.map +1 -0
  435. package/lib/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +453 -0
  436. package/lib/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js.map +1 -0
  437. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +8 -0
  438. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js.map +1 -0
  439. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +8 -0
  440. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js.map +1 -0
  441. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +8 -0
  442. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js.map +1 -0
  443. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +8 -0
  444. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js.map +1 -0
  445. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +8 -0
  446. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js.map +1 -0
  447. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +18 -0
  448. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js.map +1 -0
  449. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +8 -0
  450. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js.map +1 -0
  451. package/lib/package.json.css +1 -1
  452. package/lib/package.json.js +1 -1
  453. package/lib/packages/components/index.js +2 -2
  454. package/lib/packages/components/resolver.js.map +1 -1
  455. package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue.js +11 -0
  456. package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue2.js +274 -0
  457. package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue2.js.map +1 -0
  458. package/lib/packages/components/touchchat/component/AiRobot/face.vue.js +11 -0
  459. package/lib/packages/components/touchchat/component/AiRobot/face.vue2.js +96 -0
  460. package/lib/packages/components/touchchat/component/AiRobot/face.vue2.js.map +1 -0
  461. package/lib/packages/components/touchchat/component/AiRobot/letter.vue.js +11 -0
  462. package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js +193 -0
  463. package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js.map +1 -0
  464. package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.js +11 -0
  465. package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.js +48 -0
  466. package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.js.map +1 -0
  467. package/lib/packages/components/touchchat/component/AiRobot/start.vue.js +11 -0
  468. package/lib/packages/components/touchchat/component/AiRobot/start.vue2.js +47 -0
  469. package/lib/packages/components/touchchat/component/AiRobot/start.vue2.js.map +1 -0
  470. package/lib/packages/components/touchchat/component/CardView.vue2.js.map +1 -1
  471. package/lib/packages/components/touchchat/component/FileContent.vue.js +11 -0
  472. package/lib/packages/components/touchchat/component/FileContent.vue.js.map +1 -0
  473. package/lib/packages/components/touchchat/component/FileContent.vue2.js +205 -0
  474. package/lib/packages/components/touchchat/component/FileContent.vue2.js.map +1 -0
  475. package/lib/packages/components/touchchat/component/FileView.vue2.js +2 -2
  476. package/lib/packages/components/touchchat/component/FileView.vue2.js.map +1 -1
  477. package/lib/packages/components/touchchat/component/HelloChat.vue2.js +2 -2
  478. package/lib/packages/components/touchchat/component/HelloChat.vue2.js.map +1 -1
  479. package/lib/packages/components/touchchat/component/ImageFile.vue.js +11 -0
  480. package/lib/packages/components/touchchat/component/ImageFile.vue.js.map +1 -0
  481. package/lib/packages/components/touchchat/component/ImageFile.vue2.js +166 -0
  482. package/lib/packages/components/touchchat/component/ImageFile.vue2.js.map +1 -0
  483. package/lib/packages/components/touchchat/component/ImageView.vue2.js +1 -1
  484. package/lib/packages/components/touchchat/component/ImageView.vue2.js.map +1 -1
  485. package/lib/packages/components/touchchat/component/LinkView.vue2.js +4 -4
  486. package/lib/packages/components/touchchat/component/LinkView.vue2.js.map +1 -1
  487. package/lib/packages/components/touchchat/component/MarkLayer.vue.js +11 -0
  488. package/lib/packages/components/touchchat/component/MarkLayer.vue.js.map +1 -0
  489. package/lib/packages/components/touchchat/component/MarkLayer.vue2.js +60 -0
  490. package/lib/packages/components/touchchat/component/MarkLayer.vue2.js.map +1 -0
  491. package/lib/packages/components/touchchat/component/ModuleSelect.vue.js +11 -0
  492. package/lib/packages/components/touchchat/component/ModuleSelect.vue.js.map +1 -0
  493. package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js +125 -0
  494. package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js.map +1 -0
  495. package/lib/packages/components/touchchat/component/PDFFile.vue.js +11 -0
  496. package/lib/packages/components/touchchat/component/PDFFile.vue.js.map +1 -0
  497. package/lib/packages/components/touchchat/component/PDFFile.vue2.js +209 -0
  498. package/lib/packages/components/touchchat/component/PDFFile.vue2.js.map +1 -0
  499. package/lib/packages/components/touchchat/component/RealtimeVoice.vue.js +11 -0
  500. package/lib/packages/components/touchchat/component/RealtimeVoice.vue.js.map +1 -0
  501. package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js +166 -0
  502. package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js.map +1 -0
  503. package/lib/packages/components/touchchat/component/Screenshot.vue.js +11 -0
  504. package/lib/packages/components/touchchat/component/Screenshot.vue.js.map +1 -0
  505. package/lib/packages/components/touchchat/component/Screenshot.vue2.js +205 -0
  506. package/lib/packages/components/touchchat/component/Screenshot.vue2.js.map +1 -0
  507. package/lib/packages/components/touchchat/component/ThoughtChain.vue.js +11 -0
  508. package/lib/packages/components/touchchat/component/ThoughtChain.vue.js.map +1 -0
  509. package/lib/packages/components/touchchat/component/ThoughtChain.vue2.js +73 -0
  510. package/lib/packages/components/touchchat/component/ThoughtChain.vue2.js.map +1 -0
  511. package/lib/packages/components/touchchat/component/UploadView.vue.js +11 -0
  512. package/lib/packages/components/touchchat/component/UploadView.vue.js.map +1 -0
  513. package/lib/packages/components/touchchat/component/UploadView.vue2.js +150 -0
  514. package/lib/packages/components/touchchat/component/UploadView.vue2.js.map +1 -0
  515. package/lib/packages/components/touchchat/component/UploadView_api.vue.js +11 -0
  516. package/lib/packages/components/touchchat/component/UploadView_api.vue.js.map +1 -0
  517. package/lib/packages/components/touchchat/component/UploadView_api.vue2.js +170 -0
  518. package/lib/packages/components/touchchat/component/UploadView_api.vue2.js.map +1 -0
  519. package/lib/packages/components/touchchat/component/VoiceView.vue.js +11 -0
  520. package/lib/packages/components/touchchat/component/VoiceView.vue.js.map +1 -0
  521. package/lib/packages/components/touchchat/component/VoiceView.vue2.js +171 -0
  522. package/lib/packages/components/touchchat/component/VoiceView.vue2.js.map +1 -0
  523. package/lib/packages/components/touchchat/img/aiAvatar.png.js +8 -0
  524. package/lib/packages/components/touchchat/img/aiAvatar.png.js.map +1 -0
  525. package/lib/packages/components/touchchat/img/file/doc.png.js +8 -0
  526. package/lib/packages/components/touchchat/img/file/doc.png.js.map +1 -0
  527. package/lib/packages/components/touchchat/img/file/docx.png.js +8 -0
  528. package/lib/packages/components/touchchat/img/file/docx.png.js.map +1 -0
  529. package/lib/packages/components/touchchat/img/file/gif.png.js +8 -0
  530. package/lib/packages/components/touchchat/img/file/gif.png.js.map +1 -0
  531. package/lib/packages/components/touchchat/img/file/html.png.js +8 -0
  532. package/lib/packages/components/touchchat/img/file/html.png.js.map +1 -0
  533. package/lib/packages/components/touchchat/img/file/jpg.png.js +8 -0
  534. package/lib/packages/components/touchchat/img/file/jpg.png.js.map +1 -0
  535. package/lib/packages/components/touchchat/img/file/mp3.png.js +8 -0
  536. package/lib/packages/components/touchchat/img/file/mp3.png.js.map +1 -0
  537. package/lib/packages/components/touchchat/img/file/mp4.png.js +8 -0
  538. package/lib/packages/components/touchchat/img/file/mp4.png.js.map +1 -0
  539. package/lib/packages/components/touchchat/img/file/music.png.js +8 -0
  540. package/lib/packages/components/touchchat/img/file/music.png.js.map +1 -0
  541. package/lib/packages/components/touchchat/img/file/pdf.png.js +8 -0
  542. package/lib/packages/components/touchchat/img/file/pdf.png.js.map +1 -0
  543. package/lib/packages/components/touchchat/img/file/png.png.js +8 -0
  544. package/lib/packages/components/touchchat/img/file/png.png.js.map +1 -0
  545. package/lib/packages/components/touchchat/img/file/ppt.png.js +8 -0
  546. package/lib/packages/components/touchchat/img/file/ppt.png.js.map +1 -0
  547. package/lib/packages/components/touchchat/img/file/pptx.png.js +8 -0
  548. package/lib/packages/components/touchchat/img/file/pptx.png.js.map +1 -0
  549. package/lib/packages/components/touchchat/img/file/txt.png.js +8 -0
  550. package/lib/packages/components/touchchat/img/file/txt.png.js.map +1 -0
  551. package/lib/packages/components/touchchat/img/file/xls.png.js +8 -0
  552. package/lib/packages/components/touchchat/img/file/xls.png.js.map +1 -0
  553. package/lib/packages/components/touchchat/img/file/xlsx.png.js +8 -0
  554. package/lib/packages/components/touchchat/img/file/xlsx.png.js.map +1 -0
  555. package/lib/packages/components/touchchat/img/icon.png.js.map +1 -0
  556. package/lib/packages/components/touchchat/img/svg/reset.svg.js +8 -0
  557. package/lib/packages/components/touchchat/img/svg/reset.svg.js.map +1 -0
  558. package/lib/packages/components/touchchat/img/userAvatar.png.js +8 -0
  559. package/lib/packages/components/touchchat/img/userAvatar.png.js.map +1 -0
  560. package/lib/packages/components/touchchat/index.js +5 -5
  561. package/lib/packages/components/touchchat/index.js.map +1 -1
  562. package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue.js +11 -0
  563. package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue.js.map +1 -0
  564. package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js +63 -0
  565. package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js.map +1 -0
  566. package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js +223 -281
  567. package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js.map +1 -1
  568. package/lib/packages/components/touchchat/src/AiChat/Chat/TouchChat.js +21 -0
  569. package/lib/packages/components/touchchat/src/AiChat/Chat/TouchChat.js.map +1 -0
  570. package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js +438 -157
  571. package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js.map +1 -1
  572. package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js +117 -148
  573. package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js.map +1 -1
  574. package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js +50 -63
  575. package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js.map +1 -1
  576. package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js +126 -226
  577. package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js.map +1 -1
  578. package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue.js +11 -0
  579. package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue.js.map +1 -0
  580. package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js +35 -0
  581. package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js.map +1 -0
  582. package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue.js +11 -0
  583. package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue.js.map +1 -0
  584. package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js +933 -0
  585. package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js.map +1 -0
  586. package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js +1067 -520
  587. package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js.map +1 -1
  588. package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js +364 -135
  589. package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js.map +1 -1
  590. package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js +128 -65
  591. package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js.map +1 -1
  592. package/lib/packages/components/touchchat/src/index.vue.js +2 -2
  593. package/lib/packages/components/touchchat/src/index.vue2.js +179 -116
  594. package/lib/packages/components/touchchat/src/index.vue2.js.map +1 -1
  595. package/lib/packages/components/touchchat/src/types/a2a.js +13 -0
  596. package/lib/packages/components/touchchat/src/types/a2a.js.map +1 -0
  597. package/lib/packages/components/touchchat/utils/a2aService.js +295 -0
  598. package/lib/packages/components/touchchat/utils/a2aService.js.map +1 -0
  599. package/lib/packages/components/touchchat/utils/fetchStream.js +6 -1
  600. package/lib/packages/components/touchchat/utils/fetchStream.js.map +1 -1
  601. package/lib/packages/components/touchchat/utils/markdown.js +2 -2
  602. package/lib/packages/components/touchchat/utils/markdown.js.map +1 -1
  603. package/lib/packages/utils/config.js.map +1 -1
  604. package/lib/packages/utils/types.js.map +1 -1
  605. package/package.json +81 -81
  606. package/theme/components/index.css +1980 -1684
  607. package/theme/font/iconfont.woff +0 -0
  608. package/theme/font/iconfont.woff2 +0 -0
  609. package/theme/img/aiArrow.png +0 -0
  610. package/theme/img/loading.png +0 -0
  611. package/theme/img/logo.png +0 -0
  612. package/theme/img/userArrow.png +0 -0
  613. package/theme/index.css +1980 -1684
  614. package/theme/skin/default.css +1980 -1684
  615. package/types/global.d.ts +2 -2
  616. package/es/_virtual/emphasis.mjs +0 -4
  617. package/es/_virtual/emphasis.mjs.map +0 -1
  618. package/es/_virtual/html_re.mjs +0 -4
  619. package/es/_virtual/html_re.mjs.map +0 -1
  620. package/es/_virtual/index.mjs +0 -4
  621. package/es/_virtual/index.mjs.map +0 -1
  622. package/es/_virtual/index2.mjs +0 -4
  623. package/es/_virtual/index2.mjs.map +0 -1
  624. package/es/_virtual/index3.mjs +0 -4
  625. package/es/_virtual/index3.mjs.map +0 -1
  626. package/es/_virtual/strikethrough.mjs +0 -4
  627. package/es/_virtual/strikethrough.mjs.map +0 -1
  628. package/es/_virtual/utils.mjs +0 -4
  629. package/es/_virtual/utils.mjs.map +0 -1
  630. package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs +0 -4253
  631. package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs.map +0 -1
  632. package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs +0 -638
  633. package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs.map +0 -1
  634. package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs +0 -196
  635. package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs.map +0 -1
  636. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs +0 -9
  637. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs.map +0 -1
  638. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs +0 -7
  639. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs.map +0 -1
  640. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -67
  641. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
  642. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs +0 -29
  643. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
  644. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs +0 -324
  645. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
  646. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
  647. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
  648. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -83
  649. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
  650. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -44
  651. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
  652. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -56
  653. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
  654. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs +0 -596
  655. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs.map +0 -1
  656. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs +0 -138
  657. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
  658. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs +0 -69
  659. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
  660. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
  661. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
  662. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -78
  663. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
  664. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs +0 -39
  665. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
  666. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs +0 -59
  667. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
  668. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs +0 -346
  669. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
  670. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs +0 -354
  671. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
  672. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -286
  673. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
  674. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs +0 -32
  675. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
  676. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -96
  677. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
  678. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -57
  679. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
  680. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -47
  681. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
  682. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -76
  683. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
  684. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -81
  685. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
  686. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs +0 -366
  687. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
  688. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -50
  689. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
  690. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -197
  691. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
  692. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -234
  693. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
  694. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs +0 -223
  695. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
  696. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs +0 -16
  697. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
  698. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -14
  699. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
  700. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -132
  701. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
  702. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -19
  703. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
  704. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -97
  705. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
  706. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -202
  707. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
  708. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -21
  709. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
  710. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -74
  711. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
  712. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -61
  713. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
  714. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -128
  715. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
  716. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -130
  717. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
  718. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
  719. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
  720. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -54
  721. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
  722. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -48
  723. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
  724. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -154
  725. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
  726. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -150
  727. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
  728. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -48
  729. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
  730. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -156
  731. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
  732. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -130
  733. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
  734. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -56
  735. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
  736. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs +0 -33
  737. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs.map +0 -1
  738. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs +0 -199
  739. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs.map +0 -1
  740. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs +0 -121
  741. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs.map +0 -1
  742. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs +0 -97
  743. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs.map +0 -1
  744. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs +0 -24
  745. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs.map +0 -1
  746. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs +0 -13
  747. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs.map +0 -1
  748. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs +0 -292
  749. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs.map +0 -1
  750. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs +0 -12
  751. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
  752. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs +0 -12
  753. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
  754. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs +0 -4
  755. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
  756. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs +0 -12
  757. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
  758. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs +0 -23
  759. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs.map +0 -1
  760. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs +0 -12
  761. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
  762. package/es/packages/components/touchchat/img/AI.png.mjs +0 -4
  763. package/es/packages/components/touchchat/img/AI.png.mjs.map +0 -1
  764. package/es/packages/components/touchchat/img/asir.png.mjs +0 -4
  765. package/es/packages/components/touchchat/img/asir.png.mjs.map +0 -1
  766. package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue.mjs +0 -7
  767. package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue.mjs.map +0 -1
  768. package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.mjs +0 -632
  769. package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.mjs.map +0 -1
  770. package/es/packages/components/touchchat/src/AiRobot/Content.vue.mjs +0 -7
  771. package/es/packages/components/touchchat/src/AiRobot/Content.vue.mjs.map +0 -1
  772. package/es/packages/components/touchchat/src/AiRobot/Content.vue2.mjs +0 -263
  773. package/es/packages/components/touchchat/src/AiRobot/Content.vue2.mjs.map +0 -1
  774. package/es/packages/components/touchchat/src/AiRobot/Header.vue.mjs +0 -7
  775. package/es/packages/components/touchchat/src/AiRobot/Header.vue.mjs.map +0 -1
  776. package/es/packages/components/touchchat/src/AiRobot/Header.vue2.mjs +0 -197
  777. package/es/packages/components/touchchat/src/AiRobot/Header.vue2.mjs.map +0 -1
  778. package/es/packages/components/touchchat/src/AiRobot/Input.vue.mjs +0 -7
  779. package/es/packages/components/touchchat/src/AiRobot/Input.vue.mjs.map +0 -1
  780. package/es/packages/components/touchchat/src/AiRobot/Input.vue2.mjs +0 -69
  781. package/es/packages/components/touchchat/src/AiRobot/Input.vue2.mjs.map +0 -1
  782. package/es/packages/components/touchchat/src/AiRobot/Scene.vue.mjs +0 -7
  783. package/es/packages/components/touchchat/src/AiRobot/Scene.vue.mjs.map +0 -1
  784. package/es/packages/components/touchchat/src/AiRobot/Scene.vue2.mjs +0 -48
  785. package/es/packages/components/touchchat/src/AiRobot/Scene.vue2.mjs.map +0 -1
  786. package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.mjs +0 -7
  787. package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.mjs +0 -270
  788. package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.mjs.map +0 -1
  789. package/es/packages/components/touchchat/src/AiRobot/component/face.vue.mjs +0 -7
  790. package/es/packages/components/touchchat/src/AiRobot/component/face.vue2.mjs +0 -89
  791. package/es/packages/components/touchchat/src/AiRobot/component/face.vue2.mjs.map +0 -1
  792. package/es/packages/components/touchchat/src/AiRobot/component/letter.vue.mjs +0 -7
  793. package/es/packages/components/touchchat/src/AiRobot/component/letter.vue2.mjs +0 -64
  794. package/es/packages/components/touchchat/src/AiRobot/component/letter.vue2.mjs.map +0 -1
  795. package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.mjs +0 -7
  796. package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.mjs +0 -36
  797. package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.mjs.map +0 -1
  798. package/es/packages/components/touchchat/src/AiRobot/component/start.vue.mjs +0 -7
  799. package/es/packages/components/touchchat/src/AiRobot/component/start.vue2.mjs +0 -36
  800. package/es/packages/components/touchchat/src/AiRobot/component/start.vue2.mjs.map +0 -1
  801. package/es/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.mjs +0 -4
  802. package/es/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.mjs.map +0 -1
  803. package/es/packages/components/touchchat/src/AiRobot/img/icon.png.mjs.map +0 -1
  804. package/es/packages/components/touchchat/src/AiRobot/index.vue.mjs +0 -7
  805. package/es/packages/components/touchchat/src/AiRobot/index.vue.mjs.map +0 -1
  806. package/es/packages/components/touchchat/src/AiRobot/index.vue2.mjs +0 -135
  807. package/es/packages/components/touchchat/src/AiRobot/index.vue2.mjs.map +0 -1
  808. package/lib/_virtual/emphasis.js +0 -6
  809. package/lib/_virtual/emphasis.js.map +0 -1
  810. package/lib/_virtual/html_re.js +0 -6
  811. package/lib/_virtual/html_re.js.map +0 -1
  812. package/lib/_virtual/index.js +0 -6
  813. package/lib/_virtual/index.js.map +0 -1
  814. package/lib/_virtual/index2.js +0 -6
  815. package/lib/_virtual/index2.js.map +0 -1
  816. package/lib/_virtual/index3.js +0 -6
  817. package/lib/_virtual/index3.js.map +0 -1
  818. package/lib/_virtual/strikethrough.js +0 -6
  819. package/lib/_virtual/strikethrough.js.map +0 -1
  820. package/lib/_virtual/utils.js +0 -6
  821. package/lib/_virtual/utils.js.map +0 -1
  822. package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js +0 -6380
  823. package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js.map +0 -1
  824. package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js +0 -640
  825. package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js.map +0 -1
  826. package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js +0 -198
  827. package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js.map +0 -1
  828. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js +0 -13
  829. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js.map +0 -1
  830. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js +0 -9
  831. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js.map +0 -1
  832. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js +0 -69
  833. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js.map +0 -1
  834. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js +0 -33
  835. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js.map +0 -1
  836. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js +0 -326
  837. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js.map +0 -1
  838. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js +0 -15
  839. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js.map +0 -1
  840. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -85
  841. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js.map +0 -1
  842. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js +0 -46
  843. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js.map +0 -1
  844. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -58
  845. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js.map +0 -1
  846. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js +0 -598
  847. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js.map +0 -1
  848. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js +0 -140
  849. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js.map +0 -1
  850. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js +0 -71
  851. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js.map +0 -1
  852. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js +0 -199
  853. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js.map +0 -1
  854. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js +0 -80
  855. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js.map +0 -1
  856. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js +0 -41
  857. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js.map +0 -1
  858. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js +0 -61
  859. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js.map +0 -1
  860. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js +0 -348
  861. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js.map +0 -1
  862. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js +0 -356
  863. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js.map +0 -1
  864. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js +0 -288
  865. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js.map +0 -1
  866. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js +0 -34
  867. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js.map +0 -1
  868. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js +0 -98
  869. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js.map +0 -1
  870. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js +0 -59
  871. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js.map +0 -1
  872. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js +0 -49
  873. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js.map +0 -1
  874. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js +0 -78
  875. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js.map +0 -1
  876. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js +0 -83
  877. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js.map +0 -1
  878. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js +0 -368
  879. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js.map +0 -1
  880. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -52
  881. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js.map +0 -1
  882. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js +0 -199
  883. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js.map +0 -1
  884. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js +0 -236
  885. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js.map +0 -1
  886. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js +0 -225
  887. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js.map +0 -1
  888. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js +0 -18
  889. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js.map +0 -1
  890. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js +0 -16
  891. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js.map +0 -1
  892. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js +0 -134
  893. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js.map +0 -1
  894. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js +0 -21
  895. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js.map +0 -1
  896. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js +0 -99
  897. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js.map +0 -1
  898. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js +0 -204
  899. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js.map +0 -1
  900. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js +0 -23
  901. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js.map +0 -1
  902. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -76
  903. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js.map +0 -1
  904. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js +0 -63
  905. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js.map +0 -1
  906. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +0 -130
  907. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js.map +0 -1
  908. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js +0 -134
  909. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js.map +0 -1
  910. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js +0 -53
  911. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js.map +0 -1
  912. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js +0 -56
  913. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js.map +0 -1
  914. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -50
  915. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js.map +0 -1
  916. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js +0 -156
  917. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js.map +0 -1
  918. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js +0 -152
  919. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js.map +0 -1
  920. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js +0 -50
  921. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js.map +0 -1
  922. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -158
  923. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js.map +0 -1
  924. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js +0 -134
  925. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js.map +0 -1
  926. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js +0 -58
  927. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js.map +0 -1
  928. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js +0 -35
  929. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js.map +0 -1
  930. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js +0 -201
  931. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js.map +0 -1
  932. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +0 -123
  933. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js.map +0 -1
  934. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +0 -99
  935. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js.map +0 -1
  936. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +0 -26
  937. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js.map +0 -1
  938. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +0 -17
  939. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js.map +0 -1
  940. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +0 -294
  941. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js.map +0 -1
  942. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +0 -14
  943. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js.map +0 -1
  944. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +0 -14
  945. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js.map +0 -1
  946. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +0 -6
  947. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js.map +0 -1
  948. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +0 -14
  949. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js.map +0 -1
  950. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +0 -25
  951. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js.map +0 -1
  952. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +0 -14
  953. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js.map +0 -1
  954. package/lib/packages/components/touchchat/img/AI.png.js +0 -8
  955. package/lib/packages/components/touchchat/img/AI.png.js.map +0 -1
  956. package/lib/packages/components/touchchat/img/asir.png.js +0 -8
  957. package/lib/packages/components/touchchat/img/asir.png.js.map +0 -1
  958. package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue.js +0 -11
  959. package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue.js.map +0 -1
  960. package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.js +0 -636
  961. package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.js.map +0 -1
  962. package/lib/packages/components/touchchat/src/AiRobot/Content.vue.js +0 -11
  963. package/lib/packages/components/touchchat/src/AiRobot/Content.vue.js.map +0 -1
  964. package/lib/packages/components/touchchat/src/AiRobot/Content.vue2.js +0 -267
  965. package/lib/packages/components/touchchat/src/AiRobot/Content.vue2.js.map +0 -1
  966. package/lib/packages/components/touchchat/src/AiRobot/Header.vue.js +0 -11
  967. package/lib/packages/components/touchchat/src/AiRobot/Header.vue.js.map +0 -1
  968. package/lib/packages/components/touchchat/src/AiRobot/Header.vue2.js +0 -201
  969. package/lib/packages/components/touchchat/src/AiRobot/Header.vue2.js.map +0 -1
  970. package/lib/packages/components/touchchat/src/AiRobot/Input.vue.js +0 -11
  971. package/lib/packages/components/touchchat/src/AiRobot/Input.vue.js.map +0 -1
  972. package/lib/packages/components/touchchat/src/AiRobot/Input.vue2.js +0 -73
  973. package/lib/packages/components/touchchat/src/AiRobot/Input.vue2.js.map +0 -1
  974. package/lib/packages/components/touchchat/src/AiRobot/Scene.vue.js +0 -11
  975. package/lib/packages/components/touchchat/src/AiRobot/Scene.vue.js.map +0 -1
  976. package/lib/packages/components/touchchat/src/AiRobot/Scene.vue2.js +0 -52
  977. package/lib/packages/components/touchchat/src/AiRobot/Scene.vue2.js.map +0 -1
  978. package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.js +0 -11
  979. package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.js +0 -274
  980. package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.js.map +0 -1
  981. package/lib/packages/components/touchchat/src/AiRobot/component/face.vue.js +0 -11
  982. package/lib/packages/components/touchchat/src/AiRobot/component/face.vue2.js +0 -93
  983. package/lib/packages/components/touchchat/src/AiRobot/component/face.vue2.js.map +0 -1
  984. package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue.js +0 -11
  985. package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue2.js +0 -68
  986. package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue2.js.map +0 -1
  987. package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.js +0 -11
  988. package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.js +0 -40
  989. package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.js.map +0 -1
  990. package/lib/packages/components/touchchat/src/AiRobot/component/start.vue.js +0 -11
  991. package/lib/packages/components/touchchat/src/AiRobot/component/start.vue2.js +0 -40
  992. package/lib/packages/components/touchchat/src/AiRobot/component/start.vue2.js.map +0 -1
  993. package/lib/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.js +0 -8
  994. package/lib/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.js.map +0 -1
  995. package/lib/packages/components/touchchat/src/AiRobot/img/icon.png.js.map +0 -1
  996. package/lib/packages/components/touchchat/src/AiRobot/index.vue.js +0 -11
  997. package/lib/packages/components/touchchat/src/AiRobot/index.vue.js.map +0 -1
  998. package/lib/packages/components/touchchat/src/AiRobot/index.vue2.js +0 -139
  999. package/lib/packages/components/touchchat/src/AiRobot/index.vue2.js.map +0 -1
  1000. package/theme/img/default.png +0 -0
  1001. /package/es/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/HelloChat.vue.mjs.map +0 -0
  1002. /package/es/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/face.vue.mjs.map +0 -0
  1003. /package/es/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/letter.vue.mjs.map +0 -0
  1004. /package/es/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/meterialPrepare.vue.mjs.map +0 -0
  1005. /package/es/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/start.vue.mjs.map +0 -0
  1006. /package/es/packages/components/touchchat/{src/AiRobot/img → img}/icon.png.mjs +0 -0
  1007. /package/lib/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/HelloChat.vue.js.map +0 -0
  1008. /package/lib/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/face.vue.js.map +0 -0
  1009. /package/lib/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/letter.vue.js.map +0 -0
  1010. /package/lib/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/meterialPrepare.vue.js.map +0 -0
  1011. /package/lib/packages/components/touchchat/{src/AiRobot/component → component/AiRobot}/start.vue.js.map +0 -0
  1012. /package/lib/packages/components/touchchat/{src/AiRobot/img → img}/icon.png.js +0 -0
@@ -0,0 +1,929 @@
1
+ import { defineComponent, inject, ref, watch, onMounted, onBeforeUnmount, provide, openBlock, createElementBlock, withModifiers, createElementVNode, renderSlot, createVNode, createCommentVNode, Fragment, renderList, createBlock, unref, withCtx, nextTick } from 'vue';
2
+ import UserMessage from './UserMessage.vue.mjs';
3
+ import AiMessage from './AiMessage.vue.mjs';
4
+ import ChatInput from './ChatInput.vue.mjs';
5
+ import HelloChat from '../../component/HelloChat.vue.mjs';
6
+ import { throttle } from '../../../../../node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.mjs';
7
+ import markdown from '../../utils/markdown.mjs';
8
+ import { showToast } from '../../utils/tools.mjs';
9
+ import { MessageAction, ThinkStatus } from './Chat/TouchChat.mjs';
10
+ import { a2aService } from '../../utils/a2aService.mjs';
11
+
12
+ const MULTI_AGENT_HOST = "/mas/host_agent";
13
+ var _sfc_main = /* @__PURE__ */ defineComponent({
14
+ __name: "TouchAgent",
15
+ props: {
16
+ value: {
17
+ type: Array,
18
+ default: () => []
19
+ }
20
+ },
21
+ emits: ["sendMessage", "toggleSidebar", "beforeSendMessage"],
22
+ setup(__props, { expose: __expose, emit: __emit }) {
23
+ const DEFAULT_AGENT = {
24
+ id: "agent-1",
25
+ name: "A2A Agent",
26
+ version: "1.0",
27
+ endpoint: "http://10.19.93.128:30015/engine/api/v1/a2a/7b8f4d0eeee643859a812a166c606b13/1.0",
28
+ authToken: "c09f1251-e979-4a1a-ac67-6a11a8ab49f7",
29
+ // endpoint: '/agent-api/Njd8NnwxfDUy',
30
+ // authToken: 'a7ef44a7-9e85-4989-a2eb-34ae4dc76b7a',
31
+ description: "Default A2A agent"
32
+ };
33
+ const agentConfigListRef = inject("agentConfigList", ref([]));
34
+ const iAgentConfigList = ref(agentConfigListRef.value);
35
+ const selectedAgents = ref(["agent-1"]);
36
+ const availableAgents = ref(iAgentConfigList.value || [DEFAULT_AGENT]);
37
+ watch(
38
+ agentConfigListRef,
39
+ (newVal) => {
40
+ iAgentConfigList.value = newVal;
41
+ availableAgents.value = newVal || [DEFAULT_AGENT];
42
+ availableAgents.value.forEach((agent) => {
43
+ a2aService.registerAgent(agent);
44
+ });
45
+ if (availableAgents.value.length > 0) {
46
+ selectedAgents.value = [availableAgents.value[0].id];
47
+ }
48
+ console.log("availableAgents === TouchAgent.vue === 119", availableAgents.value);
49
+ },
50
+ { immediate: true, deep: true }
51
+ );
52
+ const emit = __emit;
53
+ const afterSend = inject("afterSend", () => {
54
+ console.warn("\u672A\u63D0\u4F9BafterSend\u51FD\u6570");
55
+ });
56
+ const sendMessageInject = inject("send", () => {
57
+ console.warn("\u672A\u63D0\u4F9BhandleSend\u51FD\u6570");
58
+ });
59
+ const beforeSend = inject("beforeSend", () => ({
60
+ result: true,
61
+ componentName: ""
62
+ }));
63
+ const bottom = inject("bottom", () => {
64
+ console.warn("\u672A\u63D0\u4F9Bbottom\u51FD\u6570");
65
+ });
66
+ const props = __props;
67
+ const chatContainer = ref(null);
68
+ const htmlContentRef = ref([]);
69
+ const thinkingContentRef = ref([]);
70
+ const reasoningContentRef = ref([]);
71
+ const isMounted = ref(false);
72
+ const isChating = ref(false);
73
+ const inputValue = ref("");
74
+ const chatList = ref([]);
75
+ const currIndex = ref(0);
76
+ const isUnmounting = ref(false);
77
+ const currentComponentName = ref("");
78
+ const fileData = ref([]);
79
+ const ChatInputRef = ref(null);
80
+ const isDragging = ref(false);
81
+ const typeFlag = ref("");
82
+ const renderQueue = ref([]);
83
+ const isRendering = ref(false);
84
+ const currentMessageProcessor = ref(null);
85
+ const messageUtils = {
86
+ updateMessage: (index, updates) => {
87
+ if (index < 0 || index >= chatList.value.length)
88
+ return;
89
+ chatList.value.splice(index, 1, { ...chatList.value[index], ...updates });
90
+ nextTick(() => {
91
+ const message = chatList.value[index];
92
+ if (message) {
93
+ renderContent(message.content, "main", index);
94
+ if (message.thinkContent) {
95
+ renderContent(message.thinkContent, "thinking", index);
96
+ }
97
+ if (message.reasoningContent) {
98
+ renderContent(message.reasoningContent, "reasoning", index);
99
+ }
100
+ }
101
+ });
102
+ },
103
+ deleteMessageChain: (index) => {
104
+ if (index < 0 || index >= chatList.value.length)
105
+ return;
106
+ if (chatList.value[index].user === "u") {
107
+ let deleteCount = 1;
108
+ for (let i = index + 1; i < chatList.value.length; i++) {
109
+ if (chatList.value[i].user === "ai") {
110
+ deleteCount++;
111
+ } else {
112
+ break;
113
+ }
114
+ }
115
+ chatList.value.splice(index, deleteCount);
116
+ } else {
117
+ chatList.value.splice(index, 1);
118
+ }
119
+ },
120
+ createStandardMessage: (data) => {
121
+ var _a, _b, _c, _d, _e;
122
+ return {
123
+ // chatId: data.chatId || 'ai_' + crypto.randomUUID().replace(/-/gi, ''),
124
+ chatId: data.chatId || "ai_" + Math.random().toString(36).slice(2).padEnd(10, "0").slice(0, 10),
125
+ user: data.user || "ai",
126
+ type: data.type || "text",
127
+ content: data.content || "",
128
+ isChating: (_a = data.isChating) != null ? _a : false,
129
+ thinkContent: data.thinkContent || "",
130
+ reasoningContent: data.reasoningContent || "",
131
+ isLiked: (_b = data.isLiked) != null ? _b : false,
132
+ isDisliked: (_c = data.isDisliked) != null ? _c : false,
133
+ isEditing: (_d = data.isEditing) != null ? _d : false,
134
+ editContent: (_e = data.editContent) != null ? _e : ""
135
+ };
136
+ }
137
+ };
138
+ const update = (index, message) => {
139
+ chatList.value[index] = { ...chatList.value[index], ...message };
140
+ console.log("update", chatList.value[index]);
141
+ };
142
+ const completeRendered = (chatId) => {
143
+ console.log("completeRendered", "\u6E32\u67D3\u5B8C\u6210", chatId);
144
+ if (currentMessageProcessor.value) {
145
+ currentMessageProcessor.value.handleMessageComplete(chatId);
146
+ }
147
+ };
148
+ const toggleSidebarClick = (item, index) => {
149
+ emit("toggleSidebar", item, index);
150
+ };
151
+ const init = () => {
152
+ try {
153
+ if (Array.isArray(props.value) && props.value.length) {
154
+ chatList.value = props.value.map((item) => ({
155
+ ...item,
156
+ content: item.thinkContent ? item.content || "" : item.content || "",
157
+ thinkContent: item.thinkContent || ""
158
+ }));
159
+ nextTick(() => {
160
+ requestAnimationFrame(() => {
161
+ chatList.value.forEach((item) => {
162
+ if (item.thinkContent) {
163
+ renderContent(item.thinkContent, "thinking");
164
+ }
165
+ if (item.reasoningContent) {
166
+ renderContent(item.reasoningContent, "reasoning");
167
+ }
168
+ if (item.content) {
169
+ renderContent(item.content, "main");
170
+ }
171
+ });
172
+ nextTick(() => {
173
+ scrollToBottom();
174
+ });
175
+ });
176
+ });
177
+ }
178
+ } catch (error) {
179
+ console.error("\u521D\u59CB\u5316\u5931\u8D25:", error);
180
+ }
181
+ };
182
+ const onScrollToBottom = () => {
183
+ bottom();
184
+ };
185
+ const throttledScrollToBottom = throttle(300, onScrollToBottom);
186
+ const handleScroll = () => {
187
+ if (!chatContainer.value)
188
+ return;
189
+ const { scrollTop, scrollHeight, clientHeight } = chatContainer.value;
190
+ if (scrollTop + clientHeight >= scrollHeight) {
191
+ throttledScrollToBottom();
192
+ }
193
+ };
194
+ const enqueueRender = (data) => {
195
+ if (isUnmounting.value || !isMounted.value)
196
+ return;
197
+ if (currIndex.value < 0 || currIndex.value >= chatList.value.length)
198
+ return;
199
+ renderQueue.value.push(data);
200
+ if (!isRendering.value) {
201
+ isRendering.value = true;
202
+ processRenderQueue();
203
+ }
204
+ };
205
+ const processRenderQueue = () => {
206
+ if (isUnmounting.value || !isMounted.value) {
207
+ renderQueue.value = [];
208
+ isRendering.value = false;
209
+ return;
210
+ }
211
+ if (renderQueue.value.length === 0) {
212
+ isRendering.value = false;
213
+ return;
214
+ }
215
+ requestAnimationFrame(() => {
216
+ const data = renderQueue.value.shift();
217
+ if (data) {
218
+ formatMarkdown(data);
219
+ }
220
+ processRenderQueue();
221
+ });
222
+ };
223
+ const formatMarkdown = (data) => {
224
+ if (!isMounted.value)
225
+ return;
226
+ if (currIndex.value < 0 || currIndex.value >= chatList.value.length)
227
+ return;
228
+ const currentItem = chatList.value[currIndex.value];
229
+ currentItem.thinkContent = data.thinkContent;
230
+ currentItem.content = data.mainContent;
231
+ currentItem.reasoningContent = data.reasoningContent;
232
+ nextTick(() => {
233
+ const thinkingContainer = thinkingContentRef.value[currIndex.value];
234
+ if (thinkingContainer) {
235
+ if (data.thinkContent) {
236
+ renderContent(data.thinkContent, "thinking");
237
+ thinkingContainer.style.display = "block";
238
+ thinkingContainer.style.visibility = "visible";
239
+ } else {
240
+ thinkingContainer.style.display = "none";
241
+ thinkingContainer.style.visibility = "hidden";
242
+ }
243
+ }
244
+ const reasoningContainer = reasoningContentRef.value[currIndex.value];
245
+ if (reasoningContainer) {
246
+ if (data.reasoningContent) {
247
+ renderContent(data.reasoningContent, "reasoning");
248
+ reasoningContainer.style.display = "block";
249
+ reasoningContainer.style.visibility = "visible";
250
+ } else {
251
+ reasoningContainer.style.display = "none";
252
+ reasoningContainer.style.visibility = "hidden";
253
+ }
254
+ }
255
+ renderContent(data.mainContent, "main");
256
+ });
257
+ };
258
+ const generateMessageId = () => {
259
+ return `msg-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
260
+ };
261
+ const createTextMessage = (text, role) => ({
262
+ messageId: generateMessageId(),
263
+ role,
264
+ parts: [{ type: "text", text }],
265
+ timestamp: (/* @__PURE__ */ new Date()).toISOString()
266
+ });
267
+ const randerAngentMessage = (fullResponseText, chatId) => {
268
+ if (chatList.value.some((ele) => ele.chatId === chatId)) {
269
+ enqueueRender({
270
+ mainContent: fullResponseText,
271
+ thinkContent: "",
272
+ reasoningContent: ""
273
+ });
274
+ }
275
+ };
276
+ const sendSingleAgentMessage = async (userContent, chatId) => {
277
+ var _a, _b, _c, _d, _e;
278
+ const agentMessage = createTextMessage(userContent, "user");
279
+ const agentId = selectedAgents.value[0];
280
+ const stream = await a2aService.streamMessage(agentId, agentMessage);
281
+ let fullResponseText = "";
282
+ const reader = stream.getReader();
283
+ try {
284
+ let isDone = false;
285
+ while (!isDone) {
286
+ const { done, value: chunk } = await reader.read();
287
+ if (done) {
288
+ isDone = true;
289
+ break;
290
+ }
291
+ if (chunk.result) {
292
+ if ("artifact" in chunk.result) {
293
+ const artifact = chunk.result.artifact;
294
+ if (artifact && artifact.parts) {
295
+ const textParts = artifact.parts.filter((p) => p.kind === "text");
296
+ const newText = textParts.map((p) => p.text).join("");
297
+ fullResponseText += newText;
298
+ randerAngentMessage(fullResponseText, chatId);
299
+ }
300
+ }
301
+ if ("status" in chunk.result) {
302
+ const status = chunk.result.status;
303
+ if ((_a = status == null ? void 0 : status.message) == null ? void 0 : _a.parts) {
304
+ const textParts = status.message.parts.filter((p) => p.kind === "text");
305
+ const newText = textParts.map((p) => p.text).join("");
306
+ fullResponseText += newText;
307
+ randerAngentMessage(fullResponseText, chatId);
308
+ }
309
+ }
310
+ }
311
+ if ((_c = (_b = chunk.params) == null ? void 0 : _b.message) == null ? void 0 : _c.parts) {
312
+ const allParts = chunk.params.message.parts;
313
+ const textParts = allParts.filter((p) => p.type === "text" || p.kind === "text");
314
+ const newText = textParts.map((p) => p.text).join("");
315
+ fullResponseText += newText;
316
+ randerAngentMessage(fullResponseText, chatId);
317
+ }
318
+ if ((_d = chunk.params) == null ? void 0 : _d.status) {
319
+ console.log("Task status:", chunk.params.status);
320
+ }
321
+ if ((_e = chunk.params) == null ? void 0 : _e.artifact) {
322
+ console.log("Artifact received:", chunk.params.artifact);
323
+ }
324
+ }
325
+ } finally {
326
+ reader.releaseLock();
327
+ }
328
+ nextTick(() => {
329
+ emit("sendMessage", [...chatList.value]);
330
+ });
331
+ isChating.value = false;
332
+ chatList.value[currIndex.value].isChating = false;
333
+ if (fullResponseText) {
334
+ afterSend({ allAiContent: fullResponseText });
335
+ }
336
+ };
337
+ const getSubAgents = () => {
338
+ return availableAgents.value.map((agent) => ({
339
+ agent_name: agent.agent_name,
340
+ agent_url: agent.agent_url,
341
+ headers: agent.headers
342
+ }));
343
+ };
344
+ const sendMultiAgentMessage = async (text, chatId) => {
345
+ var _a;
346
+ let fullResponseText = "";
347
+ try {
348
+ const userMessage = createTextMessage(text, "user");
349
+ const subAgents = getSubAgents();
350
+ const stream = a2aService.streamMultiAgentMessage(MULTI_AGENT_HOST, subAgents, userMessage);
351
+ for await (const chunk of stream) {
352
+ if (chunk.result) {
353
+ if ("artifact" in chunk.result) {
354
+ const artifact = chunk.result.artifact;
355
+ if (artifact && artifact.parts) {
356
+ const textParts = artifact.parts.filter((p) => p.kind === "text");
357
+ const newText = textParts.map((p) => p.text).join("");
358
+ fullResponseText += newText;
359
+ randerAngentMessage(fullResponseText, chatId);
360
+ console.log("Multi-agent newText artifact", newText);
361
+ }
362
+ }
363
+ if ("status" in chunk.result) {
364
+ const status = chunk.result.status;
365
+ if ((_a = status == null ? void 0 : status.message) == null ? void 0 : _a.parts) {
366
+ const textParts = status.message.parts.filter((p) => p.kind === "text");
367
+ const newText = textParts.map((p) => p.text).join("");
368
+ console.log("Multi-agent newText status", newText);
369
+ fullResponseText += newText;
370
+ randerAngentMessage(fullResponseText, chatId);
371
+ }
372
+ }
373
+ }
374
+ }
375
+ const lastMessage = chatList.value[chatList.value.length - 1];
376
+ if (lastMessage && lastMessage.role === "agent") {
377
+ lastMessage.timestamp = (/* @__PURE__ */ new Date()).toISOString();
378
+ }
379
+ } catch (err) {
380
+ console.error("Error in multi-agent mode:", err);
381
+ const lastMessage = chatList.value[chatList.value.length - 1];
382
+ if (lastMessage && lastMessage.role === "agent") {
383
+ chatList.value.pop();
384
+ }
385
+ } finally {
386
+ }
387
+ nextTick(() => {
388
+ emit("sendMessage", [...chatList.value]);
389
+ });
390
+ isChating.value = false;
391
+ chatList.value[currIndex.value].isChating = false;
392
+ if (fullResponseText) {
393
+ afterSend({ allAiContent: fullResponseText });
394
+ }
395
+ };
396
+ const openSSE = async (userContent, insertIndex) => {
397
+ try {
398
+ if (isUnmounting.value)
399
+ return;
400
+ isChating.value = true;
401
+ const currentAiMessage = chatList.value.find((item) => item.isChating);
402
+ if (currentAiMessage) {
403
+ currentAiMessage.isShowLike = true;
404
+ currentAiMessage.isShowCopy = true;
405
+ currentAiMessage.componentName = currentComponentName.value;
406
+ }
407
+ const chatId = (currentAiMessage == null ? void 0 : currentAiMessage.chatId) || "ai_" + Math.random().toString(36).slice(2).padEnd(10, "0").slice(0, 10);
408
+ if (!currentAiMessage) {
409
+ const chatItem = {
410
+ chatId,
411
+ user: "ai",
412
+ type: "text",
413
+ isChating: true,
414
+ content: "",
415
+ thinkContent: "",
416
+ reasoningContent: "",
417
+ thinkStatus: ThinkStatus.THINKING,
418
+ thinkStartTime: Date.now(),
419
+ isShowLike: true,
420
+ isShowCopy: true,
421
+ componentName: currentComponentName.value,
422
+ typeFlag: typeFlag.value
423
+ };
424
+ if (insertIndex !== void 0 && insertIndex <= chatList.value.length) {
425
+ chatList.value.splice(insertIndex, 0, chatItem);
426
+ } else {
427
+ chatList.value.push(chatItem);
428
+ }
429
+ }
430
+ currIndex.value = insertIndex != null ? insertIndex : chatList.value.length - 1;
431
+ if (availableAgents.value.length === 1) {
432
+ sendSingleAgentMessage(userContent, chatId);
433
+ } else {
434
+ sendMultiAgentMessage(userContent, chatId);
435
+ }
436
+ } catch (error) {
437
+ console.error("OpenSSE\u9519\u8BEF:", error);
438
+ isChating.value = false;
439
+ chatList.value[currIndex.value].content = `<div style="color: red; display: flex; align-items: center;"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="16" viewBox="0 0 15 16" fill="none">
440
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 15.5C11.6421 15.5 15 12.1421 15 8C15 3.85786 11.6421 0.5 7.5 0.5C3.35786 0.5 0 3.85786 0 8C0 12.1421 3.35786 15.5 7.5 15.5ZM9.7539 4.9506L10.5494 5.7461L8.2951 8.0001L10.5494 10.2539L9.7539 11.0494L7.5001 8.7951L5.2461 11.0494L4.4506 10.2539L6.7051 8.0001L4.4506 5.7461L5.2461 4.9506L7.5001 7.2051L9.7539 4.9506Z" fill="#F93920"/>
441
+ </svg>${"\u8BF7\u6C42\u5931\u8D25"}</div>`;
442
+ chatList.value[currIndex.value].isChating = false;
443
+ chatList.value[currIndex.value].isShowCopy = false;
444
+ chatList.value[currIndex.value].isShowLike = false;
445
+ showToast("\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5", "error", 3e3);
446
+ }
447
+ };
448
+ const attachCopyButtons = (container) => {
449
+ const codeBlocks = container.querySelectorAll("pre code");
450
+ codeBlocks.forEach((codeBlock) => {
451
+ const pre = codeBlock.parentElement;
452
+ if (pre) {
453
+ const copyBtn = document.createElement("button");
454
+ copyBtn.className = "touchchat-code-copy";
455
+ copyBtn.addEventListener("click", () => {
456
+ const code = codeBlock.textContent || "";
457
+ navigator.clipboard.writeText(code).then(() => {
458
+ showToast("\u590D\u5236\u6210\u529F", "info", 2e3);
459
+ copyBtn.textContent = "\u5DF2\u590D\u5236";
460
+ setTimeout(() => {
461
+ copyBtn.textContent = "";
462
+ }, 2e3);
463
+ }).catch((err) => {
464
+ console.error("\u590D\u5236\u5931\u8D25:", err);
465
+ showToast("\u590D\u5236\u5931\u8D25", "error", 2e3);
466
+ });
467
+ });
468
+ pre.style.position = "relative";
469
+ pre.appendChild(copyBtn);
470
+ }
471
+ });
472
+ };
473
+ const renderContent = (content, type, index) => {
474
+ const renderIndex = index != null ? index : currIndex.value;
475
+ if (renderIndex < 0 || renderIndex >= chatList.value.length)
476
+ return;
477
+ const refArrays = {
478
+ main: htmlContentRef,
479
+ thinking: thinkingContentRef,
480
+ reasoning: reasoningContentRef
481
+ };
482
+ const processors = {
483
+ main: (content2) => {
484
+ var _a;
485
+ return ((_a = markdown) == null ? void 0 : _a.render(content2, { isReasoning: false })) || "";
486
+ },
487
+ thinking: (content2) => {
488
+ var _a;
489
+ return ((_a = markdown) == null ? void 0 : _a.render(content2, { isReasoning: false })) || "";
490
+ },
491
+ reasoning: (content2) => {
492
+ var _a;
493
+ return ((_a = markdown) == null ? void 0 : _a.render(content2, { isReasoning: false })) || "";
494
+ }
495
+ };
496
+ const container = refArrays[type].value[renderIndex];
497
+ if (!container)
498
+ return;
499
+ container.innerHTML = processors[type](content || "");
500
+ attachCopyButtons(container);
501
+ };
502
+ const sendMessage = (content, fileList, auto, type) => {
503
+ inputValue.value = content || "";
504
+ handleBeforeSend(content, fileList, auto, type);
505
+ };
506
+ const handleBeforeSend = (content, fileList, auto, type) => {
507
+ fileData.value = fileList || [];
508
+ if (beforeSend) {
509
+ const fn = beforeSend();
510
+ if (fn && typeof fn.then === "function") {
511
+ Promise.resolve(fn).then((res) => {
512
+ if (res.result) {
513
+ currentComponentName.value = res.componentName || "";
514
+ handleSend(content, fileList, auto, type);
515
+ }
516
+ }).catch((error) => {
517
+ console.log(error);
518
+ });
519
+ } else {
520
+ if (fn.result) {
521
+ currentComponentName.value = fn.componentName || "";
522
+ handleSend(content, fileList, auto, type);
523
+ }
524
+ }
525
+ }
526
+ };
527
+ const handleSend = (content, fileList, auto, type) => {
528
+ emit("beforeSendMessage");
529
+ sendMessageInject(inputValue.value, fileData.value);
530
+ typeFlag.value = type || "";
531
+ if (content) {
532
+ inputValue.value = content;
533
+ }
534
+ if ((isChating.value || !inputValue.value.trim() && !(fileList == null ? void 0 : fileList.length)) && !auto)
535
+ return;
536
+ const userChatId = "user_" + Math.random().toString(36).slice(2).padEnd(10, "0").slice(0, 10);
537
+ const userMessage = {
538
+ chatId: userChatId,
539
+ user: "u",
540
+ type: "text",
541
+ content: inputValue.value,
542
+ files: fileList || []
543
+ };
544
+ chatList.value.push(userMessage);
545
+ const index = chatList.value.length - 1;
546
+ nextTick(() => {
547
+ renderContent(userMessage.content, "main", index);
548
+ scrollToBottom();
549
+ });
550
+ openSSE(inputValue.value, index + 1);
551
+ inputValue.value = "";
552
+ };
553
+ const scrollObserver = ref(null);
554
+ const scrollToBottom = () => {
555
+ if (!isMounted.value || isUnmounting.value || !chatContainer.value)
556
+ return;
557
+ nextTick(() => {
558
+ requestAnimationFrame(() => {
559
+ const chatContainerEl = chatContainer.value;
560
+ const lastMessage = chatContainerEl.querySelector(".touchchat-dialog-content > *:last-child");
561
+ if (lastMessage) {
562
+ const { height: messageHeight } = lastMessage.getBoundingClientRect();
563
+ const containerHeight = chatContainerEl.clientHeight;
564
+ const messageBottom = lastMessage.offsetTop + lastMessage.offsetHeight;
565
+ if (messageHeight > containerHeight) {
566
+ chatContainerEl.scrollTop = lastMessage.offsetTop;
567
+ } else {
568
+ chatContainerEl.scrollTop = messageBottom - containerHeight;
569
+ }
570
+ if (scrollObserver.value) {
571
+ scrollObserver.value.disconnect();
572
+ }
573
+ scrollObserver.value = new MutationObserver(() => {
574
+ const updatedMessageBottom = lastMessage.offsetTop + lastMessage.offsetHeight;
575
+ chatContainerEl.scrollTop = Math.max(updatedMessageBottom - containerHeight, chatContainerEl.scrollTop);
576
+ });
577
+ scrollObserver.value.observe(lastMessage, {
578
+ childList: true,
579
+ subtree: true,
580
+ characterData: true,
581
+ attributes: true,
582
+ // 新增监听属性变化(如高度)
583
+ attributeFilter: ["style", "class"]
584
+ // 只监听样式相关属性
585
+ });
586
+ } else {
587
+ chatContainerEl.scrollTo({
588
+ top: chatContainerEl.scrollHeight,
589
+ behavior: "smooth"
590
+ });
591
+ }
592
+ });
593
+ });
594
+ };
595
+ const handleMessageAction = (action, index) => {
596
+ const message = chatList.value[index];
597
+ if (!message)
598
+ return;
599
+ switch (action) {
600
+ case MessageAction.COPY: {
601
+ const textContent = message.content;
602
+ navigator.clipboard.writeText(textContent).then(() => {
603
+ showToast("\u590D\u5236\u6210\u529F", "info");
604
+ }).catch((err) => {
605
+ console.error("\u590D\u5236\u5931\u8D25:", err);
606
+ showToast("\u590D\u5236\u5931\u8D25", "error");
607
+ });
608
+ break;
609
+ }
610
+ case MessageAction.EDIT:
611
+ message.isEditing = true;
612
+ message.editContent = message.content;
613
+ break;
614
+ case MessageAction.DELETE:
615
+ messageUtils.deleteMessageChain(index);
616
+ emit("sendMessage", chatList.value);
617
+ break;
618
+ case MessageAction.RETRY: {
619
+ const aiMessage = chatList.value[index];
620
+ const userMessageIndex = index - 1;
621
+ const userMessage = chatList.value[userMessageIndex];
622
+ if (userMessage && userMessage.user === "u") {
623
+ const updatedAiMessage = {
624
+ ...aiMessage,
625
+ content: "",
626
+ thinkContent: "",
627
+ reasoningContent: "",
628
+ isLiked: false,
629
+ isDisliked: false,
630
+ isChating: true,
631
+ chatId: aiMessage.chatId,
632
+ user: aiMessage.user,
633
+ type: aiMessage.type,
634
+ thinkStatus: ThinkStatus.COMPLETED,
635
+ thinkStartTime: 0,
636
+ thinkEndTime: 0
637
+ };
638
+ chatList.value.splice(index, 1, updatedAiMessage);
639
+ nextTick(() => {
640
+ if (htmlContentRef.value[index])
641
+ htmlContentRef.value[index].innerHTML = "";
642
+ if (thinkingContentRef.value[index])
643
+ thinkingContentRef.value[index].innerHTML = "";
644
+ if (reasoningContentRef.value[index])
645
+ reasoningContentRef.value[index].innerHTML = "";
646
+ setTimeout(() => {
647
+ openSSE(userMessage.content || "", index);
648
+ }, 50);
649
+ });
650
+ }
651
+ break;
652
+ }
653
+ case MessageAction.LIKE:
654
+ messageUtils.updateMessage(index, {
655
+ isLiked: true,
656
+ isDisliked: false
657
+ });
658
+ break;
659
+ case MessageAction.DISLIKE:
660
+ messageUtils.updateMessage(index, {
661
+ isLiked: false,
662
+ isDisliked: true
663
+ });
664
+ break;
665
+ }
666
+ };
667
+ const saveEdit = (index, newContent) => {
668
+ const message = chatList.value[index];
669
+ if (!message || !message.editContent)
670
+ return;
671
+ chatList.value[index] = {
672
+ ...message,
673
+ content: newContent,
674
+ isEditing: false,
675
+ editContent: void 0
676
+ };
677
+ nextTick(() => {
678
+ renderContent(message.content, "main", index);
679
+ });
680
+ if (index + 1 < chatList.value.length && chatList.value[index + 1].user === "ai") {
681
+ chatList.value.splice(index + 1, 1);
682
+ }
683
+ openSSE(newContent, index + 1);
684
+ emit("sendMessage", chatList.value);
685
+ };
686
+ const cancelEdit = (index) => {
687
+ const message = chatList.value[index];
688
+ if (!message)
689
+ return;
690
+ message.isEditing = false;
691
+ message.editContent = "";
692
+ nextTick(() => {
693
+ renderContent(message.content, "main", index);
694
+ });
695
+ };
696
+ onMounted(async () => {
697
+ if (isMounted.value) {
698
+ init();
699
+ }
700
+ isMounted.value = true;
701
+ availableAgents.value.forEach((agent) => {
702
+ a2aService.registerAgent(agent);
703
+ });
704
+ if (availableAgents.value.length > 0) {
705
+ selectedAgents.value = [availableAgents.value[0].id];
706
+ }
707
+ });
708
+ onBeforeUnmount(() => {
709
+ if (!isUnmounting.value) {
710
+ isUnmounting.value = true;
711
+ isMounted.value = false;
712
+ htmlContentRef.value = [];
713
+ thinkingContentRef.value = [];
714
+ reasoningContentRef.value = [];
715
+ }
716
+ if (scrollObserver.value) {
717
+ scrollObserver.value.disconnect();
718
+ scrollObserver.value = null;
719
+ }
720
+ });
721
+ const handleDragEnter = () => {
722
+ if (ChatInputRef.value) {
723
+ ChatInputRef.value.openMarkLayer();
724
+ }
725
+ isDragging.value = true;
726
+ };
727
+ const handleDragLeave = (e) => {
728
+ const rect = e.target.getBoundingClientRect();
729
+ if (e.clientX < rect.left || e.clientX > rect.right || e.clientY < rect.top || e.clientY > rect.bottom) {
730
+ isDragging.value = false;
731
+ }
732
+ };
733
+ const handleDrop = async (e) => {
734
+ var _a;
735
+ isDragging.value = false;
736
+ const files = (_a = e.dataTransfer) == null ? void 0 : _a.files;
737
+ if (files && files.length > 0) {
738
+ const fileList = await Promise.all(
739
+ Array.from(files).map(async (file) => {
740
+ let base64 = "";
741
+ if (file.type.startsWith("image/")) {
742
+ base64 = await new Promise((resolve) => {
743
+ const reader = new FileReader();
744
+ reader.onload = (e2) => {
745
+ var _a2;
746
+ resolve((_a2 = e2.target) == null ? void 0 : _a2.result);
747
+ };
748
+ reader.readAsDataURL(file);
749
+ });
750
+ }
751
+ return {
752
+ // id: crypto.randomUUID().replace(/-/gi, ''),
753
+ id: Math.random().toString(36).slice(2).padEnd(10, "0").slice(0, 10),
754
+ file,
755
+ name: file.name,
756
+ fileType: file.type,
757
+ fileSize: file.size,
758
+ lastModified: file.lastModified,
759
+ preview: URL.createObjectURL(file),
760
+ base64
761
+ };
762
+ })
763
+ );
764
+ if (ChatInputRef.value) {
765
+ ChatInputRef.value.handlePaste(fileList, "drop");
766
+ }
767
+ }
768
+ if (ChatInputRef.value) {
769
+ ChatInputRef.value.colseMarkLayer();
770
+ }
771
+ };
772
+ const itemUploadFile = (item, index) => {
773
+ console.log("itemUploadFile", item, index);
774
+ if (ChatInputRef.value) {
775
+ ChatInputRef.value.itemUploadFile(index, "drop");
776
+ }
777
+ };
778
+ provide("touchchat", {
779
+ send: sendMessage,
780
+ retry: handleMessageAction
781
+ });
782
+ __expose({
783
+ send: (value, fileList, auto, type) => {
784
+ handleSend(value, fileList, auto, type);
785
+ },
786
+ retry: (index) => {
787
+ handleMessageAction(MessageAction.RETRY, index);
788
+ },
789
+ update
790
+ });
791
+ return (_ctx, _cache) => {
792
+ return openBlock(), createElementBlock("div", {
793
+ class: "touchchat-main",
794
+ onDragover: withModifiers(() => {
795
+ }, ["prevent"]),
796
+ onDragenter: withModifiers(handleDragEnter, ["prevent"]),
797
+ onDragleave: handleDragLeave,
798
+ onDrop: withModifiers(handleDrop, ["prevent"])
799
+ }, [
800
+ createElementVNode(
801
+ "div",
802
+ {
803
+ ref_key: "chatContainer",
804
+ ref: chatContainer,
805
+ class: "touchchat-dialog",
806
+ onScroll: handleScroll
807
+ },
808
+ [
809
+ renderSlot(_ctx.$slots, "top"),
810
+ chatList.value.length === 0 ? (openBlock(), createElementBlock("div", {
811
+ key: 0,
812
+ class: "touchchat-welcome"
813
+ }, [
814
+ renderSlot(_ctx.$slots, "welcome", {}, () => [
815
+ createVNode(HelloChat, { onSendMessage: sendMessage })
816
+ ])
817
+ ])) : createCommentVNode("v-if", true),
818
+ createElementVNode("div", { class: "touchchat-dialog-content" }, [
819
+ (openBlock(true), createElementBlock(
820
+ Fragment,
821
+ null,
822
+ renderList(chatList.value, (item, index) => {
823
+ return openBlock(), createElementBlock(
824
+ Fragment,
825
+ {
826
+ key: item.chatId
827
+ },
828
+ [
829
+ item.user === "u" ? (openBlock(), createBlock(UserMessage, {
830
+ key: 0,
831
+ item,
832
+ index,
833
+ onUserMessageFileList: itemUploadFile,
834
+ onCopy: ($event) => handleMessageAction(unref(MessageAction).COPY, index),
835
+ onEdit: ($event) => handleMessageAction(unref(MessageAction).EDIT, index),
836
+ onDelete: ($event) => handleMessageAction(unref(MessageAction).DELETE, index),
837
+ onSaveEdit: saveEdit,
838
+ onCancelEdit: ($event) => cancelEdit(index)
839
+ }, {
840
+ userAvatar: withCtx(() => [
841
+ renderSlot(_ctx.$slots, "userAvatar")
842
+ ]),
843
+ fn: withCtx(() => [
844
+ renderSlot(_ctx.$slots, "fn", {
845
+ item,
846
+ index
847
+ })
848
+ ]),
849
+ _: 2
850
+ /* DYNAMIC */
851
+ }, 1032, ["item", "index", "onCopy", "onEdit", "onDelete", "onCancelEdit"])) : (openBlock(), createBlock(AiMessage, {
852
+ key: 1,
853
+ item,
854
+ index,
855
+ "has-retry": true,
856
+ onCopy: ($event) => handleMessageAction(unref(MessageAction).COPY, index),
857
+ onRetry: ($event) => handleMessageAction(unref(MessageAction).RETRY, index),
858
+ onLike: ($event) => handleMessageAction(unref(MessageAction).LIKE, index),
859
+ onDislike: ($event) => handleMessageAction(unref(MessageAction).DISLIKE, index),
860
+ onContentRendered: attachCopyButtons,
861
+ onCompleteRendered: (chatId) => completeRendered(chatId),
862
+ onToggleSidebar: toggleSidebarClick
863
+ }, {
864
+ aimsg: withCtx(() => [
865
+ renderSlot(_ctx.$slots, "aimsg", {
866
+ item,
867
+ index
868
+ })
869
+ ]),
870
+ msg: withCtx(() => [
871
+ renderSlot(_ctx.$slots, "msg", {
872
+ item,
873
+ index
874
+ })
875
+ ]),
876
+ aiAvatar: withCtx(() => [
877
+ renderSlot(_ctx.$slots, "aiAvatar")
878
+ ]),
879
+ fn: withCtx(() => [
880
+ renderSlot(_ctx.$slots, "fn", {
881
+ item,
882
+ index
883
+ })
884
+ ]),
885
+ extendsFn: withCtx(() => [
886
+ renderSlot(_ctx.$slots, "extendsFn", {
887
+ item,
888
+ index
889
+ })
890
+ ]),
891
+ _: 2
892
+ /* DYNAMIC */
893
+ }, 1032, ["item", "index", "onCopy", "onRetry", "onLike", "onDislike", "onCompleteRendered"]))
894
+ ],
895
+ 64
896
+ /* STABLE_FRAGMENT */
897
+ );
898
+ }),
899
+ 128
900
+ /* KEYED_FRAGMENT */
901
+ ))
902
+ ])
903
+ ],
904
+ 544
905
+ /* NEED_HYDRATION, NEED_PATCH */
906
+ ),
907
+ _ctx.$slots.shortcut ? (openBlock(), createElementBlock("div", {
908
+ key: 0,
909
+ class: "touchchat-edit-shortcut"
910
+ }, [
911
+ renderSlot(_ctx.$slots, "shortcut")
912
+ ])) : createCommentVNode("v-if", true),
913
+ renderSlot(_ctx.$slots, "edit", {}, () => [
914
+ createVNode(ChatInput, {
915
+ ref_key: "ChatInputRef",
916
+ ref: ChatInputRef,
917
+ "input-value": inputValue.value,
918
+ "onUpdate:inputValue": ($event) => inputValue.value = $event,
919
+ "is-chating": isChating.value,
920
+ onSend: handleBeforeSend
921
+ }, null, 8, ["input-value", "onUpdate:inputValue", "is-chating"])
922
+ ])
923
+ ], 40, ["onDragover"]);
924
+ };
925
+ }
926
+ });
927
+
928
+ export { _sfc_main as default };
929
+ //# sourceMappingURL=TouchAgent.vue2.mjs.map