@touchvue/chat 1.0.0-beta.4 → 1.0.0-beta.40

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 (899) hide show
  1. package/README.md +70 -70
  2. package/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
  3. package/es/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
  4. package/es/index.mjs.map +1 -1
  5. package/es/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs +1380 -0
  6. package/es/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs.map +1 -0
  7. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +469 -0
  8. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +1 -0
  9. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +63 -0
  10. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +1 -0
  11. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +9 -0
  12. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +1 -0
  13. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +9 -0
  14. package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +1 -0
  15. package/es/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs +7824 -0
  16. package/es/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs.map +1 -0
  17. package/es/node_modules/.pnpm/{linkify-it@3.0.3 → linkify-it@5.0.0}/node_modules/linkify-it/index.mjs +162 -157
  18. package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +1 -0
  19. package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +195 -0
  20. package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +1 -0
  21. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/common/html_blocks.mjs +6 -3
  22. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
  23. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.mjs +26 -0
  24. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
  25. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.mjs +291 -0
  26. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
  27. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.mjs +6 -0
  28. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
  29. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +81 -0
  30. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
  31. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +18 -10
  32. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
  33. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +70 -0
  34. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
  35. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/index.mjs +81 -107
  36. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.mjs.map +1 -0
  37. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.mjs +135 -0
  38. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
  39. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.mjs +63 -0
  40. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
  41. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.mjs +197 -0
  42. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
  43. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/commonmark.mjs +24 -11
  44. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
  45. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/default.mjs +21 -10
  46. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
  47. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/zero.mjs +25 -11
  48. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
  49. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/renderer.mjs +72 -95
  50. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
  51. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/ruler.mjs +37 -50
  52. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
  53. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/blockquote.mjs +48 -121
  54. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
  55. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/code.mjs +13 -12
  56. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
  57. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/fence.mjs +30 -29
  58. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
  59. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.mjs +55 -0
  60. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
  61. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.mjs +44 -0
  62. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
  63. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.mjs +73 -0
  64. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
  65. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/lheading.mjs +33 -29
  66. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
  67. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/list.mjs +92 -123
  68. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
  69. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.mjs +49 -0
  70. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
  71. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.mjs +211 -0
  72. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
  73. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/state_block.mjs +49 -61
  74. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
  75. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.mjs +232 -0
  76. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
  77. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/block.mjs +5 -5
  78. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
  79. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/inline.mjs +6 -6
  80. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
  81. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.mjs +138 -0
  82. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
  83. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/normalize.mjs +8 -7
  84. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
  85. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/replacements.mjs +32 -25
  86. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
  87. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +50 -55
  88. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
  89. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/state_core.mjs +5 -7
  90. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
  91. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.mjs +46 -0
  92. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +1 -0
  93. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.mjs +75 -0
  94. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
  95. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/backticks.mjs +20 -18
  96. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
  97. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +33 -34
  98. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
  99. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +48 -52
  100. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
  101. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.mjs +55 -0
  102. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
  103. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.mjs +73 -0
  104. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
  105. package/es/node_modules/.pnpm/{markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs → markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs} +17 -9
  106. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +1 -0
  107. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +54 -0
  108. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
  109. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/image.mjs +31 -43
  110. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
  111. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/link.mjs +34 -41
  112. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
  113. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.mjs +59 -0
  114. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +1 -0
  115. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/newline.mjs +11 -13
  116. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
  117. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +31 -62
  118. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
  119. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +42 -42
  120. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
  121. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.mjs +89 -0
  122. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
  123. package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/token.mjs +22 -29
  124. package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.mjs.map +1 -0
  125. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +5 -0
  126. package/es/{_virtual → node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl}/index.mjs.map +1 -1
  127. package/es/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/decode.mjs +32 -40
  128. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +1 -0
  129. package/es/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/encode.mjs +22 -29
  130. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +1 -0
  131. package/es/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/format.mjs +5 -5
  132. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +1 -0
  133. package/es/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/parse.mjs +101 -84
  134. package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +1 -0
  135. package/es/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.mjs +443 -0
  136. package/es/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.mjs.map +1 -0
  137. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +4 -0
  138. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
  139. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +4 -0
  140. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
  141. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +4 -0
  142. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
  143. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +4 -0
  144. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +1 -0
  145. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +4 -0
  146. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
  147. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +7 -0
  148. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +1 -0
  149. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +4 -0
  150. package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
  151. package/es/package.json.css +1 -1
  152. package/es/package.json.mjs +1 -1
  153. package/es/packages/components/index.mjs +1 -1
  154. package/es/packages/components/resolver.mjs.map +1 -1
  155. package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue.mjs +3 -2
  156. package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue.mjs.map +1 -1
  157. package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue2.mjs +219 -159
  158. package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue2.mjs.map +1 -1
  159. package/es/packages/components/touchchat/component/AiRobot/face.vue.mjs +3 -2
  160. package/es/packages/components/touchchat/component/AiRobot/face.vue.mjs.map +1 -1
  161. package/es/packages/components/touchchat/component/AiRobot/face.vue2.mjs +27 -13
  162. package/es/packages/components/touchchat/component/AiRobot/face.vue2.mjs.map +1 -1
  163. package/es/packages/components/touchchat/component/AiRobot/letter.vue.mjs +3 -2
  164. package/es/packages/components/touchchat/component/AiRobot/letter.vue.mjs.map +1 -1
  165. package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs +169 -40
  166. package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs.map +1 -1
  167. package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.mjs +3 -2
  168. package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.mjs.map +1 -1
  169. package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.mjs +15 -10
  170. package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.mjs.map +1 -1
  171. package/es/packages/components/touchchat/component/AiRobot/start.vue.mjs +3 -2
  172. package/es/packages/components/touchchat/component/AiRobot/start.vue.mjs.map +1 -1
  173. package/es/packages/components/touchchat/component/AiRobot/start.vue2.mjs +18 -11
  174. package/es/packages/components/touchchat/component/AiRobot/start.vue2.mjs.map +1 -1
  175. package/es/packages/components/touchchat/component/CardView.vue.mjs +3 -2
  176. package/es/packages/components/touchchat/component/CardView.vue.mjs.map +1 -1
  177. package/es/packages/components/touchchat/component/CardView.vue2.mjs +66 -42
  178. package/es/packages/components/touchchat/component/CardView.vue2.mjs.map +1 -1
  179. package/es/packages/components/touchchat/component/FileContent.vue.mjs +7 -0
  180. package/es/packages/components/touchchat/component/FileContent.vue.mjs.map +1 -0
  181. package/es/packages/components/touchchat/component/FileContent.vue2.mjs +201 -0
  182. package/es/packages/components/touchchat/component/FileContent.vue2.mjs.map +1 -0
  183. package/es/packages/components/touchchat/component/FileView.vue.mjs +3 -2
  184. package/es/packages/components/touchchat/component/FileView.vue.mjs.map +1 -1
  185. package/es/packages/components/touchchat/component/FileView.vue2.mjs +17 -4
  186. package/es/packages/components/touchchat/component/FileView.vue2.mjs.map +1 -1
  187. package/es/packages/components/touchchat/component/HelloChat.vue.mjs +3 -2
  188. package/es/packages/components/touchchat/component/HelloChat.vue.mjs.map +1 -1
  189. package/es/packages/components/touchchat/component/HelloChat.vue2.mjs +26 -14
  190. package/es/packages/components/touchchat/component/HelloChat.vue2.mjs.map +1 -1
  191. package/es/packages/components/touchchat/component/ImageFile.vue.mjs +7 -0
  192. package/es/packages/components/touchchat/component/ImageFile.vue.mjs.map +1 -0
  193. package/es/packages/components/touchchat/component/ImageFile.vue2.mjs +162 -0
  194. package/es/packages/components/touchchat/component/ImageFile.vue2.mjs.map +1 -0
  195. package/es/packages/components/touchchat/component/ImageView.vue.mjs +3 -2
  196. package/es/packages/components/touchchat/component/ImageView.vue.mjs.map +1 -1
  197. package/es/packages/components/touchchat/component/ImageView.vue2.mjs +1 -1
  198. package/es/packages/components/touchchat/component/ImageView.vue2.mjs.map +1 -1
  199. package/es/packages/components/touchchat/component/LinkView.vue.mjs +3 -2
  200. package/es/packages/components/touchchat/component/LinkView.vue.mjs.map +1 -1
  201. package/es/packages/components/touchchat/component/LinkView.vue2.mjs +19 -5
  202. package/es/packages/components/touchchat/component/LinkView.vue2.mjs.map +1 -1
  203. package/es/packages/components/touchchat/component/MarkLayer.vue.mjs +7 -0
  204. package/es/packages/components/touchchat/component/MarkLayer.vue.mjs.map +1 -0
  205. package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs +56 -0
  206. package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs.map +1 -0
  207. package/es/packages/components/touchchat/component/ModuleSelect.vue.mjs +7 -0
  208. package/es/packages/components/touchchat/component/ModuleSelect.vue.mjs.map +1 -0
  209. package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs +121 -0
  210. package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs.map +1 -0
  211. package/es/packages/components/touchchat/component/PDFFile.vue.mjs +7 -0
  212. package/es/packages/components/touchchat/component/PDFFile.vue.mjs.map +1 -0
  213. package/es/packages/components/touchchat/component/PDFFile.vue2.mjs +205 -0
  214. package/es/packages/components/touchchat/component/PDFFile.vue2.mjs.map +1 -0
  215. package/es/packages/components/touchchat/component/RealtimeVoice.vue.mjs +7 -0
  216. package/es/packages/components/touchchat/component/RealtimeVoice.vue.mjs.map +1 -0
  217. package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs +160 -0
  218. package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs.map +1 -0
  219. package/es/packages/components/touchchat/component/Screenshot.vue.mjs +7 -0
  220. package/es/packages/components/touchchat/component/Screenshot.vue.mjs.map +1 -0
  221. package/es/packages/components/touchchat/component/Screenshot.vue2.mjs +199 -0
  222. package/es/packages/components/touchchat/component/Screenshot.vue2.mjs.map +1 -0
  223. package/es/packages/components/touchchat/component/ThoughtChain.vue.mjs +7 -0
  224. package/es/packages/components/touchchat/component/ThoughtChain.vue.mjs.map +1 -0
  225. package/es/packages/components/touchchat/component/ThoughtChain.vue2.mjs +69 -0
  226. package/es/packages/components/touchchat/component/ThoughtChain.vue2.mjs.map +1 -0
  227. package/es/packages/components/touchchat/component/UploadView.vue.mjs +7 -0
  228. package/es/packages/components/touchchat/component/UploadView.vue.mjs.map +1 -0
  229. package/es/packages/components/touchchat/component/UploadView.vue2.mjs +146 -0
  230. package/es/packages/components/touchchat/component/UploadView.vue2.mjs.map +1 -0
  231. package/es/packages/components/touchchat/component/UploadView_api.vue.mjs +7 -0
  232. package/es/packages/components/touchchat/component/UploadView_api.vue.mjs.map +1 -0
  233. package/es/packages/components/touchchat/component/UploadView_api.vue2.mjs +166 -0
  234. package/es/packages/components/touchchat/component/UploadView_api.vue2.mjs.map +1 -0
  235. package/es/packages/components/touchchat/component/VoiceView.vue.mjs +7 -0
  236. package/es/packages/components/touchchat/component/VoiceView.vue.mjs.map +1 -0
  237. package/es/packages/components/touchchat/component/VoiceView.vue2.mjs +165 -0
  238. package/es/packages/components/touchchat/component/VoiceView.vue2.mjs.map +1 -0
  239. package/es/packages/components/touchchat/img/file/doc.png.mjs +4 -0
  240. package/es/packages/components/touchchat/img/file/doc.png.mjs.map +1 -0
  241. package/es/packages/components/touchchat/img/file/docx.png.mjs +4 -0
  242. package/es/packages/components/touchchat/img/file/docx.png.mjs.map +1 -0
  243. package/es/packages/components/touchchat/img/file/gif.png.mjs +4 -0
  244. package/es/packages/components/touchchat/img/file/gif.png.mjs.map +1 -0
  245. package/es/packages/components/touchchat/img/file/html.png.mjs +4 -0
  246. package/es/packages/components/touchchat/img/file/html.png.mjs.map +1 -0
  247. package/es/packages/components/touchchat/img/file/jpg.png.mjs +4 -0
  248. package/es/packages/components/touchchat/img/file/jpg.png.mjs.map +1 -0
  249. package/es/packages/components/touchchat/img/file/mp3.png.mjs +4 -0
  250. package/es/packages/components/touchchat/img/file/mp3.png.mjs.map +1 -0
  251. package/es/packages/components/touchchat/img/file/mp4.png.mjs +4 -0
  252. package/es/packages/components/touchchat/img/file/mp4.png.mjs.map +1 -0
  253. package/es/packages/components/touchchat/img/file/music.png.mjs +4 -0
  254. package/es/packages/components/touchchat/img/file/music.png.mjs.map +1 -0
  255. package/es/packages/components/touchchat/img/file/pdf.png.mjs +4 -0
  256. package/es/packages/components/touchchat/img/file/pdf.png.mjs.map +1 -0
  257. package/es/packages/components/touchchat/img/file/png.png.mjs +4 -0
  258. package/es/packages/components/touchchat/img/file/png.png.mjs.map +1 -0
  259. package/es/packages/components/touchchat/img/file/ppt.png.mjs +4 -0
  260. package/es/packages/components/touchchat/img/file/ppt.png.mjs.map +1 -0
  261. package/es/packages/components/touchchat/img/file/pptx.png.mjs +4 -0
  262. package/es/packages/components/touchchat/img/file/pptx.png.mjs.map +1 -0
  263. package/es/packages/components/touchchat/img/file/txt.png.mjs +4 -0
  264. package/es/packages/components/touchchat/img/file/txt.png.mjs.map +1 -0
  265. package/es/packages/components/touchchat/img/file/xls.png.mjs +4 -0
  266. package/es/packages/components/touchchat/img/file/xls.png.mjs.map +1 -0
  267. package/es/packages/components/touchchat/img/file/xlsx.png.mjs +4 -0
  268. package/es/packages/components/touchchat/img/file/xlsx.png.mjs.map +1 -0
  269. package/es/packages/components/touchchat/img/svg/reset.svg.mjs +4 -0
  270. package/es/packages/components/touchchat/img/svg/reset.svg.mjs.map +1 -0
  271. package/es/packages/components/touchchat/index.mjs +5 -5
  272. package/es/packages/components/touchchat/index.mjs.map +1 -1
  273. package/es/packages/components/touchchat/src/AiChat/AgentsView.vue.mjs +7 -0
  274. package/es/packages/components/touchchat/src/AiChat/AgentsView.vue.mjs.map +1 -0
  275. package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs +59 -0
  276. package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs.map +1 -0
  277. package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs +3 -2
  278. package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs.map +1 -1
  279. package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs +218 -131
  280. package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs.map +1 -1
  281. package/es/packages/components/touchchat/src/AiChat/Chat/TouchChat.mjs +18 -0
  282. package/es/packages/components/touchchat/src/AiChat/Chat/TouchChat.mjs.map +1 -0
  283. package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs +3 -2
  284. package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs.map +1 -1
  285. package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs +444 -44
  286. package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs.map +1 -1
  287. package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs +3 -2
  288. package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs.map +1 -1
  289. package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs +180 -98
  290. package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs.map +1 -1
  291. package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs +3 -2
  292. package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs.map +1 -1
  293. package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs +29 -12
  294. package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs.map +1 -1
  295. package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs +3 -2
  296. package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs.map +1 -1
  297. package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs +134 -61
  298. package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs.map +1 -1
  299. package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue.mjs +3 -2
  300. package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue.mjs.map +1 -1
  301. package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs +14 -8
  302. package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs.map +1 -1
  303. package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue.mjs +7 -0
  304. package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue.mjs.map +1 -0
  305. package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs +995 -0
  306. package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs.map +1 -0
  307. package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs +3 -2
  308. package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs.map +1 -1
  309. package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs +753 -384
  310. package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs.map +1 -1
  311. package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs +3 -2
  312. package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs.map +1 -1
  313. package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs +327 -123
  314. package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs.map +1 -1
  315. package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs +3 -2
  316. package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs.map +1 -1
  317. package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs +128 -61
  318. package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs.map +1 -1
  319. package/es/packages/components/touchchat/src/index.vue.mjs +3 -2
  320. package/es/packages/components/touchchat/src/index.vue.mjs.map +1 -1
  321. package/es/packages/components/touchchat/src/index.vue2.mjs +221 -128
  322. package/es/packages/components/touchchat/src/index.vue2.mjs.map +1 -1
  323. package/es/packages/components/touchchat/src/types/a2a.mjs +11 -0
  324. package/es/packages/components/touchchat/src/types/a2a.mjs.map +1 -0
  325. package/es/packages/components/touchchat/utils/a2aService.mjs +309 -0
  326. package/es/packages/components/touchchat/utils/a2aService.mjs.map +1 -0
  327. package/es/packages/components/touchchat/utils/fetchStream.mjs +6 -1
  328. package/es/packages/components/touchchat/utils/fetchStream.mjs.map +1 -1
  329. package/es/packages/components/touchchat/utils/markdown.mjs +3 -3
  330. package/es/packages/components/touchchat/utils/markdown.mjs.map +1 -1
  331. package/es/packages/utils/config.mjs.map +1 -1
  332. package/es/packages/utils/types.mjs.map +1 -1
  333. package/global.d.ts +2 -2
  334. package/lib/_virtual/_plugin-vue_export-helper.js +14 -0
  335. package/lib/_virtual/_plugin-vue_export-helper.js.map +1 -0
  336. package/lib/index.js.map +1 -1
  337. package/lib/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js +1384 -0
  338. package/lib/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js.map +1 -0
  339. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +477 -0
  340. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js.map +1 -0
  341. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +66 -0
  342. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  343. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +13 -0
  344. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  345. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +13 -0
  346. package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  347. package/lib/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.js +7828 -0
  348. package/lib/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.js.map +1 -0
  349. package/lib/node_modules/.pnpm/{linkify-it@3.0.3 → linkify-it@5.0.0}/node_modules/linkify-it/index.js +163 -156
  350. package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js.map +1 -0
  351. package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +199 -0
  352. package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js.map +1 -0
  353. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/common/html_blocks.js +8 -3
  354. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js.map +1 -0
  355. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +29 -0
  356. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js.map +1 -0
  357. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +308 -0
  358. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js.map +1 -0
  359. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +12 -0
  360. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js.map +1 -0
  361. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +85 -0
  362. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js.map +1 -0
  363. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/helpers/parse_link_label.js +20 -10
  364. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js.map +1 -0
  365. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +74 -0
  366. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js.map +1 -0
  367. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/index.js +81 -106
  368. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js.map +1 -0
  369. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/parser_block.js +42 -43
  370. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js.map +1 -0
  371. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/parser_core.js +21 -25
  372. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js.map +1 -0
  373. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/parser_inline.js +69 -67
  374. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js.map +1 -0
  375. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/commonmark.js +26 -11
  376. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js.map +1 -0
  377. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/default.js +23 -10
  378. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js.map +1 -0
  379. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/zero.js +27 -11
  380. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js.map +1 -0
  381. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/renderer.js +79 -100
  382. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js.map +1 -0
  383. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/ruler.js +39 -50
  384. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js.map +1 -0
  385. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/blockquote.js +50 -121
  386. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js.map +1 -0
  387. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/code.js +15 -12
  388. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js.map +1 -0
  389. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/fence.js +32 -29
  390. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js.map +1 -0
  391. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +59 -0
  392. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js.map +1 -0
  393. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +48 -0
  394. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js.map +1 -0
  395. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +77 -0
  396. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js.map +1 -0
  397. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/lheading.js +35 -29
  398. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js.map +1 -0
  399. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/list.js +96 -125
  400. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js.map +1 -0
  401. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +53 -0
  402. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js.map +1 -0
  403. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +215 -0
  404. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js.map +1 -0
  405. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/state_block.js +56 -66
  406. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js.map +1 -0
  407. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +236 -0
  408. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js.map +1 -0
  409. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/block.js +7 -5
  410. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js.map +1 -0
  411. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +18 -0
  412. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js.map +1 -0
  413. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +142 -0
  414. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js.map +1 -0
  415. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/normalize.js +10 -7
  416. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js.map +1 -0
  417. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/replacements.js +34 -25
  418. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js.map +1 -0
  419. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/smartquotes.js +52 -55
  420. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js.map +1 -0
  421. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/state_core.js +7 -7
  422. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js.map +1 -0
  423. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +50 -0
  424. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js.map +1 -0
  425. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +79 -0
  426. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js.map +1 -0
  427. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/backticks.js +22 -18
  428. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js.map +1 -0
  429. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +35 -34
  430. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js.map +1 -0
  431. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/emphasis.js +48 -52
  432. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js.map +1 -0
  433. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +59 -0
  434. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js.map +1 -0
  435. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +77 -0
  436. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js.map +1 -0
  437. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +45 -0
  438. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js.map +1 -0
  439. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +58 -0
  440. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js.map +1 -0
  441. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/image.js +34 -44
  442. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js.map +1 -0
  443. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/link.js +37 -42
  444. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js.map +1 -0
  445. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +63 -0
  446. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js.map +1 -0
  447. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/newline.js +14 -14
  448. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js.map +1 -0
  449. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +129 -0
  450. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js.map +1 -0
  451. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/strikethrough.js +42 -42
  452. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js.map +1 -0
  453. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +93 -0
  454. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js.map +1 -0
  455. package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/token.js +24 -29
  456. package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js.map +1 -0
  457. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +14 -0
  458. package/lib/{_virtual → node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl}/index.js.map +1 -1
  459. package/lib/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/decode.js +34 -40
  460. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js.map +1 -0
  461. package/lib/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/encode.js +23 -28
  462. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js.map +1 -0
  463. package/lib/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/format.js +7 -5
  464. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js.map +1 -0
  465. package/lib/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/parse.js +103 -84
  466. package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js.map +1 -0
  467. package/lib/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +453 -0
  468. package/lib/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js.map +1 -0
  469. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +8 -0
  470. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js.map +1 -0
  471. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +8 -0
  472. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js.map +1 -0
  473. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +8 -0
  474. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js.map +1 -0
  475. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +8 -0
  476. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js.map +1 -0
  477. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +8 -0
  478. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js.map +1 -0
  479. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +18 -0
  480. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js.map +1 -0
  481. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +8 -0
  482. package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js.map +1 -0
  483. package/lib/package.json.css +1 -1
  484. package/lib/package.json.js +1 -1
  485. package/lib/packages/components/index.js +2 -2
  486. package/lib/packages/components/resolver.js.map +1 -1
  487. package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue.js +3 -2
  488. package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue.js.map +1 -1
  489. package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue2.js +219 -159
  490. package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue2.js.map +1 -1
  491. package/lib/packages/components/touchchat/component/AiRobot/face.vue.js +3 -2
  492. package/lib/packages/components/touchchat/component/AiRobot/face.vue.js.map +1 -1
  493. package/lib/packages/components/touchchat/component/AiRobot/face.vue2.js +26 -12
  494. package/lib/packages/components/touchchat/component/AiRobot/face.vue2.js.map +1 -1
  495. package/lib/packages/components/touchchat/component/AiRobot/letter.vue.js +3 -2
  496. package/lib/packages/components/touchchat/component/AiRobot/letter.vue.js.map +1 -1
  497. package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js +168 -39
  498. package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js.map +1 -1
  499. package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.js +3 -2
  500. package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.js.map +1 -1
  501. package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.js +15 -10
  502. package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.js.map +1 -1
  503. package/lib/packages/components/touchchat/component/AiRobot/start.vue.js +3 -2
  504. package/lib/packages/components/touchchat/component/AiRobot/start.vue.js.map +1 -1
  505. package/lib/packages/components/touchchat/component/AiRobot/start.vue2.js +17 -10
  506. package/lib/packages/components/touchchat/component/AiRobot/start.vue2.js.map +1 -1
  507. package/lib/packages/components/touchchat/component/CardView.vue.js +3 -2
  508. package/lib/packages/components/touchchat/component/CardView.vue.js.map +1 -1
  509. package/lib/packages/components/touchchat/component/CardView.vue2.js +66 -42
  510. package/lib/packages/components/touchchat/component/CardView.vue2.js.map +1 -1
  511. package/lib/packages/components/touchchat/component/FileContent.vue.js +11 -0
  512. package/lib/packages/components/touchchat/component/FileContent.vue.js.map +1 -0
  513. package/lib/packages/components/touchchat/component/FileContent.vue2.js +205 -0
  514. package/lib/packages/components/touchchat/component/FileContent.vue2.js.map +1 -0
  515. package/lib/packages/components/touchchat/component/FileView.vue.js +3 -2
  516. package/lib/packages/components/touchchat/component/FileView.vue.js.map +1 -1
  517. package/lib/packages/components/touchchat/component/FileView.vue2.js +16 -3
  518. package/lib/packages/components/touchchat/component/FileView.vue2.js.map +1 -1
  519. package/lib/packages/components/touchchat/component/HelloChat.vue.js +3 -2
  520. package/lib/packages/components/touchchat/component/HelloChat.vue.js.map +1 -1
  521. package/lib/packages/components/touchchat/component/HelloChat.vue2.js +26 -14
  522. package/lib/packages/components/touchchat/component/HelloChat.vue2.js.map +1 -1
  523. package/lib/packages/components/touchchat/component/ImageFile.vue.js +11 -0
  524. package/lib/packages/components/touchchat/component/ImageFile.vue.js.map +1 -0
  525. package/lib/packages/components/touchchat/component/ImageFile.vue2.js +166 -0
  526. package/lib/packages/components/touchchat/component/ImageFile.vue2.js.map +1 -0
  527. package/lib/packages/components/touchchat/component/ImageView.vue.js +3 -2
  528. package/lib/packages/components/touchchat/component/ImageView.vue.js.map +1 -1
  529. package/lib/packages/components/touchchat/component/ImageView.vue2.js +1 -1
  530. package/lib/packages/components/touchchat/component/ImageView.vue2.js.map +1 -1
  531. package/lib/packages/components/touchchat/component/LinkView.vue.js +3 -2
  532. package/lib/packages/components/touchchat/component/LinkView.vue.js.map +1 -1
  533. package/lib/packages/components/touchchat/component/LinkView.vue2.js +18 -4
  534. package/lib/packages/components/touchchat/component/LinkView.vue2.js.map +1 -1
  535. package/lib/packages/components/touchchat/component/MarkLayer.vue.js +11 -0
  536. package/lib/packages/components/touchchat/component/MarkLayer.vue.js.map +1 -0
  537. package/lib/packages/components/touchchat/component/MarkLayer.vue2.js +60 -0
  538. package/lib/packages/components/touchchat/component/MarkLayer.vue2.js.map +1 -0
  539. package/lib/packages/components/touchchat/component/ModuleSelect.vue.js +11 -0
  540. package/lib/packages/components/touchchat/component/ModuleSelect.vue.js.map +1 -0
  541. package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js +125 -0
  542. package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js.map +1 -0
  543. package/lib/packages/components/touchchat/component/PDFFile.vue.js +11 -0
  544. package/lib/packages/components/touchchat/component/PDFFile.vue.js.map +1 -0
  545. package/lib/packages/components/touchchat/component/PDFFile.vue2.js +209 -0
  546. package/lib/packages/components/touchchat/component/PDFFile.vue2.js.map +1 -0
  547. package/lib/packages/components/touchchat/component/RealtimeVoice.vue.js +11 -0
  548. package/lib/packages/components/touchchat/component/RealtimeVoice.vue.js.map +1 -0
  549. package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js +164 -0
  550. package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js.map +1 -0
  551. package/lib/packages/components/touchchat/component/Screenshot.vue.js +11 -0
  552. package/lib/packages/components/touchchat/component/Screenshot.vue.js.map +1 -0
  553. package/lib/packages/components/touchchat/component/Screenshot.vue2.js +203 -0
  554. package/lib/packages/components/touchchat/component/Screenshot.vue2.js.map +1 -0
  555. package/lib/packages/components/touchchat/component/ThoughtChain.vue.js +11 -0
  556. package/lib/packages/components/touchchat/component/ThoughtChain.vue.js.map +1 -0
  557. package/lib/packages/components/touchchat/component/ThoughtChain.vue2.js +73 -0
  558. package/lib/packages/components/touchchat/component/ThoughtChain.vue2.js.map +1 -0
  559. package/lib/packages/components/touchchat/component/UploadView.vue.js +11 -0
  560. package/lib/packages/components/touchchat/component/UploadView.vue.js.map +1 -0
  561. package/lib/packages/components/touchchat/component/UploadView.vue2.js +150 -0
  562. package/lib/packages/components/touchchat/component/UploadView.vue2.js.map +1 -0
  563. package/lib/packages/components/touchchat/component/UploadView_api.vue.js +11 -0
  564. package/lib/packages/components/touchchat/component/UploadView_api.vue.js.map +1 -0
  565. package/lib/packages/components/touchchat/component/UploadView_api.vue2.js +170 -0
  566. package/lib/packages/components/touchchat/component/UploadView_api.vue2.js.map +1 -0
  567. package/lib/packages/components/touchchat/component/VoiceView.vue.js +11 -0
  568. package/lib/packages/components/touchchat/component/VoiceView.vue.js.map +1 -0
  569. package/lib/packages/components/touchchat/component/VoiceView.vue2.js +169 -0
  570. package/lib/packages/components/touchchat/component/VoiceView.vue2.js.map +1 -0
  571. package/lib/packages/components/touchchat/img/file/doc.png.js +8 -0
  572. package/lib/packages/components/touchchat/img/file/doc.png.js.map +1 -0
  573. package/lib/packages/components/touchchat/img/file/docx.png.js +8 -0
  574. package/lib/packages/components/touchchat/img/file/docx.png.js.map +1 -0
  575. package/lib/packages/components/touchchat/img/file/gif.png.js +8 -0
  576. package/lib/packages/components/touchchat/img/file/gif.png.js.map +1 -0
  577. package/lib/packages/components/touchchat/img/file/html.png.js +8 -0
  578. package/lib/packages/components/touchchat/img/file/html.png.js.map +1 -0
  579. package/lib/packages/components/touchchat/img/file/jpg.png.js +8 -0
  580. package/lib/packages/components/touchchat/img/file/jpg.png.js.map +1 -0
  581. package/lib/packages/components/touchchat/img/file/mp3.png.js +8 -0
  582. package/lib/packages/components/touchchat/img/file/mp3.png.js.map +1 -0
  583. package/lib/packages/components/touchchat/img/file/mp4.png.js +8 -0
  584. package/lib/packages/components/touchchat/img/file/mp4.png.js.map +1 -0
  585. package/lib/packages/components/touchchat/img/file/music.png.js +8 -0
  586. package/lib/packages/components/touchchat/img/file/music.png.js.map +1 -0
  587. package/lib/packages/components/touchchat/img/file/pdf.png.js +8 -0
  588. package/lib/packages/components/touchchat/img/file/pdf.png.js.map +1 -0
  589. package/lib/packages/components/touchchat/img/file/png.png.js +8 -0
  590. package/lib/packages/components/touchchat/img/file/png.png.js.map +1 -0
  591. package/lib/packages/components/touchchat/img/file/ppt.png.js +8 -0
  592. package/lib/packages/components/touchchat/img/file/ppt.png.js.map +1 -0
  593. package/lib/packages/components/touchchat/img/file/pptx.png.js +8 -0
  594. package/lib/packages/components/touchchat/img/file/pptx.png.js.map +1 -0
  595. package/lib/packages/components/touchchat/img/file/txt.png.js +8 -0
  596. package/lib/packages/components/touchchat/img/file/txt.png.js.map +1 -0
  597. package/lib/packages/components/touchchat/img/file/xls.png.js +8 -0
  598. package/lib/packages/components/touchchat/img/file/xls.png.js.map +1 -0
  599. package/lib/packages/components/touchchat/img/file/xlsx.png.js +8 -0
  600. package/lib/packages/components/touchchat/img/file/xlsx.png.js.map +1 -0
  601. package/lib/packages/components/touchchat/img/svg/reset.svg.js +8 -0
  602. package/lib/packages/components/touchchat/img/svg/reset.svg.js.map +1 -0
  603. package/lib/packages/components/touchchat/index.js +6 -6
  604. package/lib/packages/components/touchchat/index.js.map +1 -1
  605. package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue.js +11 -0
  606. package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue.js.map +1 -0
  607. package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js +63 -0
  608. package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js.map +1 -0
  609. package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js +3 -2
  610. package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js.map +1 -1
  611. package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js +217 -130
  612. package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js.map +1 -1
  613. package/lib/packages/components/touchchat/src/AiChat/Chat/TouchChat.js +21 -0
  614. package/lib/packages/components/touchchat/src/AiChat/Chat/TouchChat.js.map +1 -0
  615. package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js +3 -2
  616. package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js.map +1 -1
  617. package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js +443 -43
  618. package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js.map +1 -1
  619. package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js +3 -2
  620. package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js.map +1 -1
  621. package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js +179 -97
  622. package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js.map +1 -1
  623. package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js +3 -2
  624. package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js.map +1 -1
  625. package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js +28 -11
  626. package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js.map +1 -1
  627. package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js +3 -2
  628. package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js.map +1 -1
  629. package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js +133 -60
  630. package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js.map +1 -1
  631. package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue.js +3 -2
  632. package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue.js.map +1 -1
  633. package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js +14 -8
  634. package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js.map +1 -1
  635. package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue.js +11 -0
  636. package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue.js.map +1 -0
  637. package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js +999 -0
  638. package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js.map +1 -0
  639. package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js +3 -2
  640. package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js.map +1 -1
  641. package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js +752 -383
  642. package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js.map +1 -1
  643. package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js +3 -2
  644. package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js.map +1 -1
  645. package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js +326 -122
  646. package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js.map +1 -1
  647. package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js +3 -2
  648. package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js.map +1 -1
  649. package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js +127 -60
  650. package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js.map +1 -1
  651. package/lib/packages/components/touchchat/src/index.vue.js +3 -2
  652. package/lib/packages/components/touchchat/src/index.vue.js.map +1 -1
  653. package/lib/packages/components/touchchat/src/index.vue2.js +220 -127
  654. package/lib/packages/components/touchchat/src/index.vue2.js.map +1 -1
  655. package/lib/packages/components/touchchat/src/types/a2a.js +13 -0
  656. package/lib/packages/components/touchchat/src/types/a2a.js.map +1 -0
  657. package/lib/packages/components/touchchat/utils/a2aService.js +312 -0
  658. package/lib/packages/components/touchchat/utils/a2aService.js.map +1 -0
  659. package/lib/packages/components/touchchat/utils/fetchStream.js +6 -1
  660. package/lib/packages/components/touchchat/utils/fetchStream.js.map +1 -1
  661. package/lib/packages/components/touchchat/utils/markdown.js +2 -2
  662. package/lib/packages/components/touchchat/utils/markdown.js.map +1 -1
  663. package/lib/packages/utils/config.js.map +1 -1
  664. package/lib/packages/utils/types.js.map +1 -1
  665. package/package.json +1 -1
  666. package/theme/components/index.css +867 -50
  667. package/theme/font/iconfont.woff +0 -0
  668. package/theme/font/iconfont.woff2 +0 -0
  669. package/theme/index.css +867 -50
  670. package/theme/skin/default.css +867 -50
  671. package/types/global.d.ts +2 -2
  672. package/es/_virtual/emphasis.mjs +0 -4
  673. package/es/_virtual/emphasis.mjs.map +0 -1
  674. package/es/_virtual/html_re.mjs +0 -4
  675. package/es/_virtual/html_re.mjs.map +0 -1
  676. package/es/_virtual/index.mjs +0 -4
  677. package/es/_virtual/index2.mjs +0 -4
  678. package/es/_virtual/index2.mjs.map +0 -1
  679. package/es/_virtual/index3.mjs +0 -4
  680. package/es/_virtual/index3.mjs.map +0 -1
  681. package/es/_virtual/strikethrough.mjs +0 -4
  682. package/es/_virtual/strikethrough.mjs.map +0 -1
  683. package/es/_virtual/utils.mjs +0 -4
  684. package/es/_virtual/utils.mjs.map +0 -1
  685. package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs +0 -4253
  686. package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs.map +0 -1
  687. package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs.map +0 -1
  688. package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs +0 -196
  689. package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs.map +0 -1
  690. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs +0 -9
  691. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs.map +0 -1
  692. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs +0 -7
  693. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs.map +0 -1
  694. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
  695. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs +0 -29
  696. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
  697. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs +0 -324
  698. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
  699. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
  700. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
  701. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -83
  702. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
  703. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
  704. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -56
  705. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
  706. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs.map +0 -1
  707. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs +0 -138
  708. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
  709. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs +0 -69
  710. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
  711. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
  712. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
  713. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
  714. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
  715. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
  716. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
  717. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
  718. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
  719. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
  720. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
  721. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -57
  722. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
  723. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -47
  724. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
  725. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -76
  726. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
  727. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
  728. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
  729. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -50
  730. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
  731. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -197
  732. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
  733. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
  734. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs +0 -223
  735. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
  736. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
  737. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
  738. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -132
  739. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
  740. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
  741. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
  742. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
  743. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
  744. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -74
  745. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
  746. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
  747. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
  748. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
  749. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
  750. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
  751. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -54
  752. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
  753. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -48
  754. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
  755. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
  756. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
  757. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
  758. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
  759. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
  760. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -56
  761. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
  762. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs.map +0 -1
  763. package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs.map +0 -1
  764. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs.map +0 -1
  765. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs.map +0 -1
  766. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs.map +0 -1
  767. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs +0 -13
  768. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs.map +0 -1
  769. package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs.map +0 -1
  770. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs +0 -12
  771. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
  772. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs +0 -12
  773. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
  774. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs +0 -4
  775. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
  776. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs +0 -12
  777. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
  778. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs +0 -23
  779. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs.map +0 -1
  780. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs +0 -12
  781. package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
  782. package/es/packages/components/touchchat/src/AiChat/Scene.vue.mjs +0 -6
  783. package/es/packages/components/touchchat/src/AiChat/Scene.vue.mjs.map +0 -1
  784. package/es/packages/components/touchchat/src/AiChat/Scene.vue2.mjs +0 -42
  785. package/es/packages/components/touchchat/src/AiChat/Scene.vue2.mjs.map +0 -1
  786. package/lib/_virtual/emphasis.js +0 -6
  787. package/lib/_virtual/emphasis.js.map +0 -1
  788. package/lib/_virtual/html_re.js +0 -6
  789. package/lib/_virtual/html_re.js.map +0 -1
  790. package/lib/_virtual/index.js +0 -6
  791. package/lib/_virtual/index2.js +0 -6
  792. package/lib/_virtual/index2.js.map +0 -1
  793. package/lib/_virtual/index3.js +0 -6
  794. package/lib/_virtual/index3.js.map +0 -1
  795. package/lib/_virtual/strikethrough.js +0 -6
  796. package/lib/_virtual/strikethrough.js.map +0 -1
  797. package/lib/_virtual/utils.js +0 -6
  798. package/lib/_virtual/utils.js.map +0 -1
  799. package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js +0 -6380
  800. package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js.map +0 -1
  801. package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js.map +0 -1
  802. package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js +0 -198
  803. package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js.map +0 -1
  804. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js +0 -13
  805. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js.map +0 -1
  806. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js +0 -9
  807. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js.map +0 -1
  808. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js.map +0 -1
  809. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js +0 -33
  810. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js.map +0 -1
  811. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js +0 -326
  812. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js.map +0 -1
  813. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js +0 -15
  814. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js.map +0 -1
  815. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -85
  816. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js.map +0 -1
  817. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js.map +0 -1
  818. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -58
  819. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js.map +0 -1
  820. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js.map +0 -1
  821. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js.map +0 -1
  822. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js.map +0 -1
  823. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js.map +0 -1
  824. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js.map +0 -1
  825. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js.map +0 -1
  826. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js.map +0 -1
  827. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js.map +0 -1
  828. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js.map +0 -1
  829. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js.map +0 -1
  830. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js.map +0 -1
  831. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js.map +0 -1
  832. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js +0 -59
  833. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js.map +0 -1
  834. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js +0 -49
  835. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js.map +0 -1
  836. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js +0 -78
  837. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js.map +0 -1
  838. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js.map +0 -1
  839. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js.map +0 -1
  840. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -52
  841. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js.map +0 -1
  842. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js +0 -199
  843. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js.map +0 -1
  844. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js.map +0 -1
  845. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js +0 -225
  846. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js.map +0 -1
  847. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js.map +0 -1
  848. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js +0 -16
  849. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js.map +0 -1
  850. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js +0 -134
  851. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js.map +0 -1
  852. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js.map +0 -1
  853. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js.map +0 -1
  854. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js.map +0 -1
  855. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js.map +0 -1
  856. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -76
  857. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js.map +0 -1
  858. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js.map +0 -1
  859. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js.map +0 -1
  860. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js.map +0 -1
  861. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js +0 -53
  862. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js.map +0 -1
  863. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js +0 -56
  864. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js.map +0 -1
  865. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -50
  866. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js.map +0 -1
  867. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js.map +0 -1
  868. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js.map +0 -1
  869. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js.map +0 -1
  870. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -158
  871. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js.map +0 -1
  872. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js.map +0 -1
  873. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js +0 -58
  874. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js.map +0 -1
  875. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js +0 -35
  876. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js.map +0 -1
  877. package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js.map +0 -1
  878. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js.map +0 -1
  879. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js.map +0 -1
  880. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js.map +0 -1
  881. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +0 -17
  882. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js.map +0 -1
  883. package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js.map +0 -1
  884. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +0 -14
  885. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js.map +0 -1
  886. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +0 -14
  887. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js.map +0 -1
  888. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +0 -6
  889. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js.map +0 -1
  890. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +0 -14
  891. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js.map +0 -1
  892. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +0 -25
  893. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js.map +0 -1
  894. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +0 -14
  895. package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js.map +0 -1
  896. package/lib/packages/components/touchchat/src/AiChat/Scene.vue.js +0 -10
  897. package/lib/packages/components/touchchat/src/AiChat/Scene.vue.js.map +0 -1
  898. package/lib/packages/components/touchchat/src/AiChat/Scene.vue2.js +0 -46
  899. package/lib/packages/components/touchchat/src/AiChat/Scene.vue2.js.map +0 -1
@@ -1,57 +1,186 @@
1
- import { defineComponent, ref, inject, onMounted, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
1
+ import { defineComponent, inject, computed, ref, watch, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, createCommentVNode } from 'vue';
2
+ import purify from '../../../../../node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs';
2
3
 
3
- const __default__ = defineComponent({ name: "ToTouchLetter" });
4
+ const __default__ = defineComponent({ name: "Touchletter" });
4
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
6
  ...__default__,
6
7
  props: {
7
- data: {}
8
+ data: {},
9
+ speed: {},
10
+ contentType: {},
11
+ sanitizeHtml: { type: Boolean },
12
+ loadingText: {}
8
13
  },
9
- emits: ["complete"],
10
- setup(__props, { emit: __emit }) {
14
+ emits: ["complete", "start"],
15
+ setup(__props, { expose: __expose, emit: __emit }) {
11
16
  const props = __props;
12
- const emit = __emit;
13
- const displayedText = ref("");
14
- const showCursor = ref(false);
15
- const isSwitchingHistory = inject("isSwitchingHistory", ref(false));
16
- let typingInterval = null;
17
- const startStreaming = () => {
18
- if (typingInterval)
19
- return;
20
- if (isSwitchingHistory.value) {
21
- displayedText.value = props.data;
22
- showCursor.value = false;
23
- emit("complete");
17
+ const emits = __emit;
18
+ const injectSpeed = inject("speed", 10);
19
+ const speed = computed(() => Math.max(1, props.speed || injectSpeed || 10));
20
+ const sanitizeHtml = computed(() => props.sanitizeHtml !== false);
21
+ const currentIndex = ref(0);
22
+ const validContent = ref("");
23
+ const isTyping = ref(false);
24
+ const timer = ref(null);
25
+ const tagStack = ref([]);
26
+ const detectContentType = (content) => {
27
+ if (/<\/?[a-z][\s\S]*>/i.test(content)) {
28
+ return "html";
29
+ }
30
+ if (/^#{1,6}\s+/.test(content) || /\*\*.*\*\*/.test(content) || /```/.test(content)) {
31
+ return "markdown";
32
+ }
33
+ return "text";
34
+ };
35
+ const currentType = computed(() => {
36
+ if (props.contentType && props.contentType !== "auto") {
37
+ return props.contentType;
38
+ }
39
+ return detectContentType(props.data);
40
+ });
41
+ const displayContent = computed(() => {
42
+ let content = validContent.value;
43
+ switch (currentType.value) {
44
+ case "html":
45
+ return sanitizeHtml.value ? purify.sanitize(content) : content;
46
+ case "text":
47
+ return content.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\n/g, "<br>").replace(/ {2}/g, "&nbsp;&nbsp;");
48
+ default:
49
+ return content;
50
+ }
51
+ });
52
+ const getInterval = (isTag) => {
53
+ const baseInterval = 1e3 / speed.value;
54
+ return baseInterval * (isTag ? 1.2 : 0.8 + Math.random() * 0.4);
55
+ };
56
+ const isSelfClosingTag = (tag) => {
57
+ const selfClosingTags = ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "param", "source", "track", "wbr"];
58
+ const tagNameMatch = tag.match(/<\/?([a-z0-9]+)/i);
59
+ if (tagNameMatch && tagNameMatch[1]) {
60
+ const tagName = tagNameMatch[1].toLowerCase();
61
+ return selfClosingTags.includes(tagName) || tag.endsWith("/>");
62
+ }
63
+ return false;
64
+ };
65
+ const processTag = (tag) => {
66
+ var _a, _b, _c, _d;
67
+ if (tag.startsWith("</")) {
68
+ const tagName = (_b = (_a = tag.match(/<\/([a-z0-9]+)/i)) == null ? void 0 : _a[1]) == null ? void 0 : _b.toLowerCase();
69
+ if (tagName && tagStack.value.at(-1) === tagName) {
70
+ tagStack.value.pop();
71
+ }
72
+ } else if (tag.startsWith("<") && !isSelfClosingTag(tag)) {
73
+ const tagName = (_d = (_c = tag.match(/<([a-z0-9]+)/i)) == null ? void 0 : _c[1]) == null ? void 0 : _d.toLowerCase();
74
+ if (tagName) {
75
+ tagStack.value.push(tagName);
76
+ }
77
+ }
78
+ };
79
+ const typeNext = () => {
80
+ if (currentIndex.value >= props.data.length) {
81
+ while (tagStack.value.length > 0) {
82
+ const tag = tagStack.value.pop();
83
+ validContent.value += `</${tag}>`;
84
+ }
85
+ completeTyping();
24
86
  return;
25
87
  }
26
- showCursor.value = true;
27
- displayedText.value = "";
28
- let currentIndex = 0;
29
- const fullText = props.data;
30
- typingInterval = window.setInterval(() => {
31
- if (currentIndex < fullText.length) {
32
- displayedText.value += fullText[currentIndex];
33
- currentIndex++;
88
+ const currentChar = props.data[currentIndex.value];
89
+ let nextIndex = currentIndex.value;
90
+ let newContent = "";
91
+ let isTag = false;
92
+ if (currentChar === "<") {
93
+ isTag = true;
94
+ const endIndex = props.data.indexOf(">", currentIndex.value);
95
+ if (endIndex === -1) {
96
+ nextIndex = currentIndex.value + 1;
97
+ newContent = currentChar;
34
98
  } else {
35
- window.clearInterval(typingInterval);
36
- typingInterval = null;
37
- showCursor.value = false;
38
- emit("complete");
99
+ nextIndex = endIndex + 1;
100
+ newContent = props.data.substring(currentIndex.value, nextIndex);
101
+ processTag(newContent);
39
102
  }
40
- }, 50);
103
+ } else {
104
+ nextIndex = currentIndex.value + 1;
105
+ newContent = currentChar;
106
+ }
107
+ currentIndex.value = nextIndex;
108
+ validContent.value += newContent;
109
+ timer.value = window.setTimeout(typeNext, getInterval(isTag));
110
+ };
111
+ const startTyping = () => {
112
+ if (isTyping.value || currentIndex.value >= props.data.length)
113
+ return;
114
+ isTyping.value = true;
115
+ emits("start");
116
+ typeNext();
41
117
  };
118
+ const stopTyping = () => {
119
+ if (timer.value) {
120
+ clearTimeout(timer.value);
121
+ timer.value = null;
122
+ isTyping.value = false;
123
+ }
124
+ };
125
+ const resetTyping = () => {
126
+ stopTyping();
127
+ currentIndex.value = 0;
128
+ validContent.value = "";
129
+ tagStack.value = [];
130
+ };
131
+ const completeTyping = () => {
132
+ stopTyping();
133
+ emits("complete");
134
+ };
135
+ watch(
136
+ () => props.data,
137
+ () => {
138
+ resetTyping();
139
+ startTyping();
140
+ },
141
+ { immediate: true }
142
+ );
143
+ watch(
144
+ () => props.contentType,
145
+ () => {
146
+ validContent.value = props.data.substring(0, currentIndex.value);
147
+ }
148
+ );
42
149
  onMounted(() => {
43
- startStreaming();
150
+ if (currentIndex.value === 0) {
151
+ startTyping();
152
+ }
44
153
  });
154
+ onUnmounted(() => stopTyping());
155
+ __expose({ startTyping, stopTyping, resetTyping, currentIndex, isTyping });
45
156
  return (_ctx, _cache) => {
46
- return openBlock(), createElementBlock("div", { class: "letter-container" }, [
47
- createElementVNode("div", { class: "data-content" }, [
48
- createTextVNode(toDisplayString(displayedText.value) + " ", 1),
49
- showCursor.value ? (openBlock(), createElementBlock("span", {
50
- key: 0,
51
- class: "cursor"
52
- }, "|")) : createCommentVNode("", true)
53
- ])
54
- ]);
157
+ return openBlock(), createElementBlock(
158
+ "div",
159
+ {
160
+ class: normalizeClass(["typewriter-container", isTyping.value ? "loading-container" : ""])
161
+ },
162
+ [
163
+ createElementVNode("div", {
164
+ class: normalizeClass(["typewriter-content", {
165
+ "markdown-content": currentType.value === "markdown",
166
+ "html-content": currentType.value === "html"
167
+ }]),
168
+ innerHTML: displayContent.value
169
+ }, null, 10, ["innerHTML"]),
170
+ createCommentVNode(" \u6761\u4EF6\u663E\u793Aloading\uFF0C\u4EC5\u5728HTML\u6A21\u5F0F\u4E14\u6B63\u5728\u6253\u5B57\u65F6\u663E\u793A "),
171
+ createCommentVNode(` <div v-if="isTyping" class="typewriter-loading">
172
+ <span class="loading-dot" :style="{ animationDelay: '0ms' }"></span>
173
+ <span class="loading-dot" :style="{ animationDelay: '200ms' }"></span>
174
+ <span class="loading-dot" :style="{ animationDelay: '400ms' }"></span>
175
+ <span class="loading-text">{{ loadingText ?? '\u6B63\u5728\u6E32\u67D3\u5185\u5BB9' }}</span>
176
+ <span class="loading-dot" :style="{ animationDelay: '0ms' }"></span>
177
+ <span class="loading-dot" :style="{ animationDelay: '200ms' }"></span>
178
+ <span class="loading-dot" :style="{ animationDelay: '400ms' }"></span>
179
+ </div> `)
180
+ ],
181
+ 2
182
+ /* CLASS */
183
+ );
55
184
  };
56
185
  }
57
186
  });
@@ -1 +1 @@
1
- {"version":3,"file":"letter.vue2.mjs","sources":["../../../../../../../packages/components/touchchat/component/AiRobot/letter.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as DO_defineComponent } from 'vue';\nexport default /*#__PURE__*/ DO_defineComponent({ name: 'ToTouchLetter' });\n</script>\n<template>\n\t<div class=\"letter-container\">\n\t\t<div class=\"data-content\">\n\t\t\t{{ displayedText }}\n\t\t\t<span v-if=\"showCursor\" class=\"cursor\">|</span>\n\t\t</div>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, onMounted, defineProps, defineEmits, inject, Ref } from 'vue'\n\n\n\n// 定义props和emits\nconst props = defineProps<{\n\tdata: string\n}>()\n\nconst emit = defineEmits<{\n\t(e: 'complete'): void\n}>()\n\n// 状态管理\nconst displayedText = ref('')\nconst showCursor = ref(false)\n// 正确注入Ref<boolean>类型\nconst isSwitchingHistory = inject<Ref<boolean>>('isSwitchingHistory', ref(false))\nlet typingInterval: number | null = null\n\n// 文字流实现\nconst startStreaming = () => {\n\tif (typingInterval) return\n\n\t// 访问.value以获取布尔值\n\tif (isSwitchingHistory.value) {\n\t\tdisplayedText.value = props.data\n\t\tshowCursor.value = false\n\t\temit('complete')\n\t\treturn\n\t}\n\n\t// 新增消息的文字流逻辑\n\tshowCursor.value = true\n\tdisplayedText.value = ''\n\tlet currentIndex = 0\n\tconst fullText = props.data\n\n\ttypingInterval = window.setInterval(() => {\n\t\tif (currentIndex < fullText.length) {\n\t\t\tdisplayedText.value += fullText[currentIndex]\n\t\t\tcurrentIndex++\n\t\t} else {\n\t\t\twindow.clearInterval(typingInterval!)\n\t\t\ttypingInterval = null\n\t\t\tshowCursor.value = false\n\t\t\temit('complete')\n\t\t}\n\t}, 50)\n}\n\n// 组件挂载时开始显示\nonMounted(() => {\n\tstartStreaming()\n})\n</script>\n\n<!-- <style lang=\"less\" scoped>\n@import '../style/Letter.less';\n</style> -->\n"],"names":["DO_defineComponent","_createElementBlock","_createElementVNode","_createTextVNode","_toDisplayString"],"mappings":";;AAEA,MAA6B,WAAA,GAAAA,eAAA,CAAmB,EA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UAAU,CAAA,CAAA;AAAA,SAChB;AAAA,SACE,EAAE,CAAA,CAAA;AAAA,KACN,CAAA;AAGA,IAAA,SAAA,CAAU,MAAM;AACf,MAAe,cAAA,EAAA,CAAA;AAAA,KACf,CAAA,CAAA;;wBA/DA,EAAAC,kBAAA,CAKM,OAAA,EALD,KAAA,EAAM,oBAAkB,EAAA;AAAA,QAC5BC,kBAGM,CAAA,KAAA,EAAA,EAHD,KAAA,EAAM,gBAAc,EAAA;AAAA,UACrBC,gBAAAC,eAAA,CAAA,aAAA,CAAA,KAAa,CAAA,GAAG,KACnB,CAAA,CAAA;AAAA,UAAY,UAAU,CAAA,KAAA,iBAAtBH,mBAA+C,MAAA,EAAA;AAAA;YAAvB,KAAM,EAAA,QAAA;AAAA,WAAS,EAAA,GAAC;;;;;;;;;"}
1
+ {"version":3,"file":"letter.vue2.mjs","sources":["../../../../../../../packages/components/touchchat/component/AiRobot/letter.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as DO_defineComponent } from 'vue';\nexport default /*#__PURE__*/ DO_defineComponent({ name: 'Touchletter' });\n</script>\n<template>\n\t<div class=\"typewriter-container\" :class=\"isTyping ? 'loading-container' : ''\">\n\t\t<div\n\t\t\tclass=\"typewriter-content\"\n\t\t\t:class=\"{\n\t\t\t\t'markdown-content': currentType === 'markdown',\n\t\t\t\t'html-content': currentType === 'html'\n\t\t\t}\"\n\t\t\tv-html=\"displayContent\"\n\t\t/>\n\t\t<!-- 条件显示loading,仅在HTML模式且正在打字时显示 -->\n\t\t<!-- <div v-if=\"isTyping\" class=\"typewriter-loading\">\n\t\t\t<span class=\"loading-dot\" :style=\"{ animationDelay: '0ms' }\"></span>\n\t\t\t<span class=\"loading-dot\" :style=\"{ animationDelay: '200ms' }\"></span>\n\t\t\t<span class=\"loading-dot\" :style=\"{ animationDelay: '400ms' }\"></span>\n\t\t\t<span class=\"loading-text\">{{ loadingText ?? '正在渲染内容' }}</span>\n\t\t\t<span class=\"loading-dot\" :style=\"{ animationDelay: '0ms' }\"></span>\n\t\t\t<span class=\"loading-dot\" :style=\"{ animationDelay: '200ms' }\"></span>\n\t\t\t<span class=\"loading-dot\" :style=\"{ animationDelay: '400ms' }\"></span>\n\t\t</div> -->\n\t</div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, onMounted, watch, Ref, onUnmounted, inject } from 'vue'\n// import { marked } from 'marked';\nimport DOMPurify from 'dompurify'\n\n\n\ntype ContentType = 'text' | 'markdown' | 'html'\n\nconst props = defineProps<{\n\tdata: string\n\tspeed?: number\n\tcontentType?: ContentType | 'auto'\n\t// onComplete?: () => void\n\tsanitizeHtml?: boolean\n\tloadingText?: string\n}>()\n\nconst emits = defineEmits<{\n\t(e: 'complete'): void\n\t(e: 'start'): void\n}>()\n\nconst injectSpeed = inject<number>('speed', 10)\n\n// 默认值处理\nconst speed = computed(() => Math.max(1, props.speed || injectSpeed || 10))\nconst sanitizeHtml = computed(() => props.sanitizeHtml !== false)\n// const loadingText = computed(() => props.loadingText || '正在渲染内容...')\n\n// 内部状态\nconst currentIndex = ref(0)\nconst validContent = ref('')\nconst isTyping = ref(false)\nconst timer: Ref<number | null> = ref(null)\nconst tagStack = ref<string[]>([])\n\n// 内容类型检测与处理\nconst detectContentType = (content: string): ContentType => {\n\tif (/<\\/?[a-z][\\s\\S]*>/i.test(content)) {\n\t\treturn 'html'\n\t}\n\tif (/^#{1,6}\\s+/.test(content) || /\\*\\*.*\\*\\*/.test(content) || /```/.test(content)) {\n\t\treturn 'markdown'\n\t}\n\treturn 'text'\n}\n\nconst currentType = computed<ContentType>(() => {\n\tif (props.contentType && props.contentType !== 'auto') {\n\t\treturn props.contentType\n\t}\n\treturn detectContentType(props.data)\n})\n\n// 显示内容处理\nconst displayContent = computed(() => {\n\tlet content = validContent.value\n\tswitch (currentType.value) {\n\t\tcase 'html':\n\t\t\treturn sanitizeHtml.value ? DOMPurify.sanitize(content) : content\n\t\t// case 'markdown':\n\t\t// \treturn marked.parse(content);\n\t\tcase 'text':\n\t\t\treturn content.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\\n/g, '<br>').replace(/ {2}/g, '&nbsp;&nbsp;')\n\t\tdefault:\n\t\t\treturn content\n\t}\n})\n\n// 打字间隔计算\nconst getInterval = (isTag: boolean) => {\n\tconst baseInterval = 1000 / speed.value\n\treturn baseInterval * (isTag ? 1.2 : 0.8 + Math.random() * 0.4)\n}\n\n// 标签处理工具函数\nconst isSelfClosingTag = (tag: string) => {\n\tconst selfClosingTags = ['area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source', 'track', 'wbr']\n\tconst tagNameMatch = tag.match(/<\\/?([a-z0-9]+)/i)\n\tif (tagNameMatch && tagNameMatch[1]) {\n\t\tconst tagName = tagNameMatch[1].toLowerCase()\n\t\treturn selfClosingTags.includes(tagName) || tag.endsWith('/>')\n\t}\n\treturn false\n}\n\nconst processTag = (tag: string) => {\n\tif (tag.startsWith('</')) {\n\t\tconst tagName = tag.match(/<\\/([a-z0-9]+)/i)?.[1]?.toLowerCase()\n\t\tif (tagName && tagStack.value.at(-1) === tagName) {\n\t\t\ttagStack.value.pop()\n\t\t}\n\t} else if (tag.startsWith('<') && !isSelfClosingTag(tag)) {\n\t\tconst tagName = tag.match(/<([a-z0-9]+)/i)?.[1]?.toLowerCase()\n\t\tif (tagName) {\n\t\t\ttagStack.value.push(tagName)\n\t\t}\n\t}\n}\n\n// 核心打字逻辑\nconst typeNext = () => {\n\tif (currentIndex.value >= props.data.length) {\n\t\twhile (tagStack.value.length > 0) {\n\t\t\tconst tag = tagStack.value.pop()\n\t\t\tvalidContent.value += `</${tag}>`\n\t\t}\n\t\tcompleteTyping()\n\t\treturn\n\t}\n\n\tconst currentChar = props.data[currentIndex.value]\n\tlet nextIndex = currentIndex.value\n\tlet newContent = ''\n\tlet isTag = false\n\n\tif (currentChar === '<') {\n\t\tisTag = true\n\t\tconst endIndex = props.data.indexOf('>', currentIndex.value)\n\t\tif (endIndex === -1) {\n\t\t\tnextIndex = currentIndex.value + 1\n\t\t\tnewContent = currentChar\n\t\t} else {\n\t\t\tnextIndex = endIndex + 1\n\t\t\tnewContent = props.data.substring(currentIndex.value, nextIndex)\n\t\t\tprocessTag(newContent)\n\t\t}\n\t} else {\n\t\tnextIndex = currentIndex.value + 1\n\t\tnewContent = currentChar\n\t}\n\n\tcurrentIndex.value = nextIndex\n\tvalidContent.value += newContent\n\ttimer.value = window.setTimeout(typeNext, getInterval(isTag))\n}\n\n// 控制方法\nconst startTyping = () => {\n\tif (isTyping.value || currentIndex.value >= props.data.length) return\n\tisTyping.value = true\n\temits('start')\n\ttypeNext()\n}\n\nconst stopTyping = () => {\n\tif (timer.value) {\n\t\tclearTimeout(timer.value)\n\t\ttimer.value = null\n\t\tisTyping.value = false\n\t}\n}\n\nconst resetTyping = () => {\n\tstopTyping()\n\tcurrentIndex.value = 0\n\tvalidContent.value = ''\n\ttagStack.value = []\n}\n\nconst completeTyping = () => {\n\tstopTyping()\n\t// props.onComplete?.()\n\t// complete\n\temits('complete')\n}\n\n// 监听内容变化\nwatch(\n\t() => props.data,\n\t() => {\n\t\tresetTyping()\n\t\tstartTyping()\n\t},\n\t{ immediate: true }\n)\n\nwatch(\n\t() => props.contentType,\n\t() => {\n\t\tvalidContent.value = props.data.substring(0, currentIndex.value)\n\t}\n)\n\nonMounted(() => {\n\tif (currentIndex.value === 0) {\n\t\tstartTyping()\n\t}\n})\n\nonUnmounted(() => stopTyping())\n\ndefineExpose({ startTyping, stopTyping, resetTyping, currentIndex, isTyping })\n</script>\n\n<style scoped>\n.typewriter-container {\n\tposition: relative;\n}\n.loading-container {\n\tmin-height: 40px;\n}\n\n.typewriter-content {\n\t/* white-space: pre-wrap;\n\tword-break: break-word;\n\tline-height: 1.6;\n\tfont-family: 'Courier New', Courier, monospace; */\n}\n\n/* loading样式 */\n.typewriter-loading {\n\tmargin-top: 12px;\n\tdisplay: flex;\n\talign-items: center;\n\tgap: 8px;\n\tcolor: #666;\n\tfont-size: 14px;\n\tline-height: 1;\n\tpadding: 8px 0;\n}\n\n.loading-dot {\n\tdisplay: inline-block;\n\twidth: 8px;\n\theight: 8px;\n\tborder-radius: 50%;\n\tbackground-color: #666;\n\tanimation: bounce 1.4s infinite ease-in-out both;\n}\n\n.loading-text {\n\tuser-select: none;\n}\n\n@keyframes bounce {\n\t0%,\n\t80%,\n\t100% {\n\t\ttransform: scale(0);\n\t}\n\n\t40% {\n\t\ttransform: scale(1);\n\t}\n}\n\n/* 内容样式 */\n.markdown-content {\n\tcolor: #333;\n}\n\n.markdown-content h1,\n.markdown-content h2 {\n\tmargin: 1em 0 0.5em;\n}\n\n.markdown-content p {\n\tmargin: 0.5em 0;\n}\n\n.markdown-content code {\n\tbackground: #f0f0f0;\n\tpadding: 0.2em 0.4em;\n\tborder-radius: 4px;\n}\n\n.html-content {\n\t/* HTML内容基础样式 */\n}\n</style>\n"],"names":["DO_defineComponent","DOMPurify","_createElementBlock","_normalizeClass","_createElementVNode","_createCommentVNode"],"mappings":";;;AAEA,MAAA,WAA6B,GAAAA,eAAA,CAAmB,EAAE,IAAA,EAAM,eAAe,CAAA,CAAA;;;;;;;;;;;;AAkCvE,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AASd,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAKd,IAAM,MAAA,WAAA,GAAc,MAAe,CAAA,OAAA,EAAS,EAAE,CAAA,CAAA;AAG9C,IAAM,MAAA,KAAA,GAAQ,QAAS,CAAA,MAAM,IAAK,CAAA,GAAA,CAAI,GAAG,KAAM,CAAA,KAAA,IAAS,WAAe,IAAA,EAAE,CAAC,CAAA,CAAA;AAC1E,IAAA,MAAM,YAAe,GAAA,QAAA,CAAS,MAAM,KAAA,CAAM,iBAAiB,KAAK,CAAA,CAAA;AAIhE,IAAM,MAAA,YAAA,GAAe,IAAI,CAAC,CAAA,CAAA;AAC1B,IAAM,MAAA,YAAA,GAAe,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,EAAc,UAAU,CAAA,CAAA;;wBAvN5E,EAAAC,kBAAA;AAAA,QAmBM,KAAA;AAAA,QAAA;AAAA,UAnBD,KAAA,EAAKC,eAAA,CAAC,sBAAA,EAA+B,SAAQ,KAAA,GAAA,mBAAA,GAAA,EAAA,CAAA,CAAA;AAAA;;UACjDC,mBAOE,KAAA,EAAA;AAAA,YAND,KAAA,kBAAM,oBAAoB,EAAA;AAAA,kCACQ,YAAW,KAAA,KAAA,UAAA;AAAA,8BAAqC,YAAW,KAAA,KAAA,MAAA;AAAA;YAI7F,WAAQ,cAAc,CAAA,KAAA;AAAA;UAEvBC,mBAAqC,qHAAA,CAAA;AAAA,UACrCA,kBAQU,CAAA,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAA,CAAA,CAAA;AAAA;;;;;;;;;;"}
@@ -1,6 +1,7 @@
1
1
  import _sfc_main from './meterialPrepare.vue2.mjs';
2
+ import _export_sfc from '../../../../../_virtual/_plugin-vue_export-helper.mjs';
2
3
 
4
+ var MeterialPrepare = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "meterialPrepare.vue"]]);
3
5
 
4
-
5
- export { _sfc_main as default };
6
+ export { MeterialPrepare as default };
6
7
  //# sourceMappingURL=meterialPrepare.vue.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"meterialPrepare.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"meterialPrepare.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, inject, openBlock, createElementBlock, createVNode, withDirectives, createElementVNode, vShow } from 'vue';
2
- import _sfc_main$1 from './letter.vue2.mjs';
2
+ import Letter from './letter.vue.mjs';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "meterialPrepare",
@@ -11,23 +11,28 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  showBtn.value = true;
12
12
  emits("complete");
13
13
  };
14
- const parentContext = inject("parentContext");
14
+ const touchchat = inject("touchchat", { send: () => {
15
+ } });
15
16
  const handleClick = () => {
16
17
  console.log("handleClick === meterialPrepare");
17
- parentContext == null ? void 0 : parentContext.methods.sendMessage({
18
- name: "[\u786E\u5B9A]"
19
- });
18
+ touchchat && touchchat.send("[\u786E\u5B9A]");
20
19
  };
21
20
  return (_ctx, _cache) => {
22
21
  return openBlock(), createElementBlock("div", null, [
23
- createVNode(_sfc_main$1, {
22
+ createVNode(Letter, {
24
23
  data: "\u5373\u5C06\u8FDB\u5165\u7533\u8BF7\u9875\u9762\uFF0C\u8BF7\u60A8\u5148\u786E\u8BA4\u662F\u5426\u5DF2\u5907\u9F50\u4EE5\u4E0B\u5173\u952E\u6750\u6599\uFF1A\u8054\u7CFB\u4EBA\u7684\u5168\u540D\u9700\u51C6\u786E\u65E0\u8BEF\uFF0C\u670D\u52A1\u5730\u5740\u9700\u8BE6\u7EC6\u6E05\u6670\uFF0C\u6709\u6548\u7535\u8BDD\u53F7\u7801\u4FBF\u4E8E\u6211\u4EEC\u968F\u65F6\u4E0E\u60A8\u53D6\u5F97\u8054\u7CFB\u3002\u6B64\u5916\uFF0C\u5982\u6709\u4EFB\u4F55\u7279\u6B8A\u9700\u6C42\u6216\u60C5\u51B5\uFF0C\u8BF7\u5728\u5907\u6CE8\u4E2D\u8BE6\u7EC6\u8BF4\u660E\u3002\u4E3A\u786E\u4FDD\u7533\u8BF7\u987A\u5229\u60A8\u8FD8\u53EF\u70B9\u51FB\u201C\u67E5\u770B\u8BE6\u60C5\u201D\u6309\u94AE\uFF0C\u83B7\u53D6\u8BE6\u5C3D\u7684\u4E1A\u52A1\u529E\u7406\u6307\u5357\u53CA\u5B8C\u6574\u6750\u6599\u6E05\u5355\u3002",
25
24
  onComplete: complete
26
25
  }),
27
- withDirectives(createElementVNode("button", {
28
- class: "apply-btn",
29
- onClick: handleClick
30
- }, "\u786E\u5B9A", 512), [
26
+ withDirectives(createElementVNode(
27
+ "button",
28
+ {
29
+ class: "apply-btn",
30
+ onClick: handleClick
31
+ },
32
+ "\u786E\u5B9A",
33
+ 512
34
+ /* NEED_PATCH */
35
+ ), [
31
36
  [vShow, showBtn.value]
32
37
  ])
33
38
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"meterialPrepare.vue2.mjs","sources":["../../../../../../../packages/components/touchchat/component/AiRobot/meterialPrepare.vue"],"sourcesContent":["<template>\n\t<div>\n\t\t<letter data=\"即将进入申请页面,请您先确认是否已备齐以下关键材料:联系人的全名需准确无误,服务地址需详细清晰,有效电话号码便于我们随时与您取得联系。此外,如有任何特殊需求或情况,请在备注中详细说明。为确保申请顺利您还可点击“查看详情”按钮,获取详尽的业务办理指南及完整材料清单。\" @complete=\"complete\"></letter>\n\t\t<button v-show=\"showBtn\" class=\"apply-btn\" @click=\"handleClick\">确定</button>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, inject } from 'vue'\nimport Letter from './letter.vue'\nconst emits = defineEmits<{\n\t(e: 'complete'): void\n}>()\nconst showBtn = ref(false)\nconst complete = () => {\n\tshowBtn.value = true\n\temits('complete')\n}\ninterface ParentContext {\n\tmethods: {\n\t\tsendMessage: (message: { name: string }) => void\n\t}\n}\nconst parentContext = inject<ParentContext>('parentContext')\nconst handleClick = () => {\n\tconsole.log('handleClick === meterialPrepare')\n\tparentContext?.methods.sendMessage({\n\t\tname: '[确定]'\n\t})\n}\n</script>\n\n<!-- <style lang=\"less\" scoped>\n@import '../style/MeterialPrepare.less';\n</style> -->\n"],"names":["_createElementBlock","_createVNode","Letter","_createElementVNode"],"mappings":";;;;;;;AAUA,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,OAAA,GAAU,IAAI,KAAK,CAAA,CAAA;AACzB,IAAA,MAAM,WAAW,MAAM;AACtB,MAAA,OAAA,CAAQ,KAAQ,GAAA,IAAA,CAAA;AAChB,MAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AAAA,KACjB,CAAA;AAMA,IAAM,MAAA,aAAA,GAAgB,OAAsB,eAAe,CAAA,CAAA;AAC3D,IAAA,MAAM,cAAc,MAAM;AACzB,MAAA,OAAA,CAAQ,IAAI,iCAAiC,CAAA,CAAA;AAC7C,MAAA,aAAA,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,aAAA,CAAe,QAAQ,WAAY,CAAA;AAAA,QAClC,IAAM,EAAA,gBAAA;AAAA,OACP,CAAA,CAAA;AAAA,KACD,CAAA;;0BA5BCA,kBAGM,CAAA,KAAA,EAAA,IAAA,EAAA;AAAA,QAFLC,YAAkLC,WAAA,EAAA;AAAA,UAA1K,IAAK,EAAA,0xBAAA;AAAA,UAAwI,UAAU,EAAA,QAAA;AAAA;uBAC/JC,mBAA2E,QAAA,EAAA;AAAA,UAAlD,KAAM,EAAA,WAAA;AAAA,UAAa,OAAO,EAAA,WAAA;AAAA,WAAa,cAAE,EAAA,GAAA,CAAA,EAAA;AAAA,gBAAlD,EAAA,OAAA,CAAO,KAAA,CAAA;AAAA;;;;;;;;"}
1
+ {"version":3,"file":"meterialPrepare.vue2.mjs","sources":["../../../../../../../packages/components/touchchat/component/AiRobot/meterialPrepare.vue"],"sourcesContent":["<template>\n\t<div>\n\t\t<letter data=\"即将进入申请页面,请您先确认是否已备齐以下关键材料:联系人的全名需准确无误,服务地址需详细清晰,有效电话号码便于我们随时与您取得联系。此外,如有任何特殊需求或情况,请在备注中详细说明。为确保申请顺利您还可点击“查看详情”按钮,获取详尽的业务办理指南及完整材料清单。\" @complete=\"complete\"></letter>\n\t\t<button v-show=\"showBtn\" class=\"apply-btn\" @click=\"handleClick\">确定</button>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, inject } from 'vue'\nimport Letter from './letter.vue'\nconst emits = defineEmits<{\n\t(e: 'complete'): void\n}>()\nconst showBtn = ref(false)\nconst complete = () => {\n\tshowBtn.value = true\n\temits('complete')\n}\ninterface Touchchat {\n\tsend: (content?: string, fileList?: any[], auto?: boolean, type?: string) => void\n}\nconst touchchat = inject<Touchchat>('touchchat', { send: () => {} })\nconst handleClick = () => {\n\tconsole.log('handleClick === meterialPrepare')\n\ttouchchat && touchchat.send('[确定]')\n}\n</script>\n\n<!-- <style lang=\"less\" scoped>\n@import '../style/MeterialPrepare.less';\n</style> -->\n"],"names":["_createElementBlock","_createVNode","_createElementVNode"],"mappings":";;;;;;;AAUA,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,OAAA,GAAU,IAAI,KAAK,CAAA,CAAA;AACzB,IAAA,MAAM,WAAW,MAAM;AACtB,MAAA,OAAA,CAAQ,KAAQ,GAAA,IAAA,CAAA;AAChB,MAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AAAA,KACjB,CAAA;AAIA,IAAA,MAAM,SAAY,GAAA,MAAA,CAAkB,WAAa,EAAA,EAAE,MAAM,MAAM;AAAA,OAAI,CAAA,CAAA;AACnE,IAAA,MAAM,cAAc,MAAM;AACzB,MAAA,OAAA,CAAQ,IAAI,iCAAiC,CAAA,CAAA;AAC7C,MAAa,SAAA,IAAA,SAAA,CAAU,KAAK,gBAAM,CAAA,CAAA;AAAA,KACnC,CAAA;;0BAxBCA,kBAGM,CAAA,KAAA,EAAA,IAAA,EAAA;AAAA,QAFLC,YAAkL,MAAA,EAAA;AAAA,UAA1K,IAAK,EAAA,0xBAAA;AAAA,UAAwI,UAAU,EAAA,QAAA;AAAA;sBAC/J,CAAAC,kBAAA;AAAA,UAA2E,QAAA;AAAA,UAAA;AAAA,YAAlD,KAAM,EAAA,WAAA;AAAA,YAAa,OAAO,EAAA,WAAA;AAAA;UAAa,cAAA;AAAA,UAAE,GAAA;AAAA;AAAA,SAAA,EAAA;AAAA,gBAAlD,EAAA,OAAA,CAAO,KAAA,CAAA;AAAA;;;;;;;;"}
@@ -1,6 +1,7 @@
1
1
  import _sfc_main from './start.vue2.mjs';
2
+ import _export_sfc from '../../../../../_virtual/_plugin-vue_export-helper.mjs';
2
3
 
4
+ var start = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "start.vue"]]);
3
5
 
4
-
5
- export { _sfc_main as default };
6
+ export { start as default };
6
7
  //# sourceMappingURL=start.vue.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"start.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"start.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,5 +1,5 @@
1
- import { defineComponent, ref, inject, openBlock, createElementBlock, createVNode, withDirectives, createElementVNode, unref, vShow } from 'vue';
2
- import _sfc_main$1 from './letter.vue2.mjs';
1
+ import { defineComponent, ref, inject, openBlock, createElementBlock, createVNode, withDirectives, createElementVNode, vShow } from 'vue';
2
+ import Letter from './letter.vue.mjs';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "start",
@@ -11,20 +11,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  showBtn.value = true;
12
12
  emits("complete");
13
13
  };
14
- const parentContext = inject("parentContext");
14
+ const touchchat = inject("touchchat", { send: () => {
15
+ } });
16
+ const handleClick = () => {
17
+ touchchat && touchchat.send("\u6211\u8981\u7533\u8BF7\u7528\u6C14");
18
+ };
15
19
  return (_ctx, _cache) => {
16
20
  return openBlock(), createElementBlock("div", null, [
17
- createVNode(_sfc_main$1, {
21
+ createVNode(Letter, {
18
22
  data: "\u6B22\u8FCE\u4F7F\u7528 touchvue\uFF0C\u6211\u662F\u60A8\u7684\u79C1\u4EBA\u52A9\u7406\u5C0F\u542F\u3002",
19
23
  onComplete: complete
20
24
  }),
21
- withDirectives(createElementVNode("button", {
22
- class: "apply-btn",
23
- onClick: ($event) => {
24
- var _a;
25
- return (_a = unref(parentContext)) == null ? void 0 : _a.methods.sendMessage("\u6211\u8981\u7533\u8BF7\u7528\u6C14");
26
- }
27
- }, "\u7533\u8BF7\u901A\u6C14", 8, ["onClick"]), [
25
+ withDirectives(createElementVNode(
26
+ "button",
27
+ {
28
+ class: "apply-btn",
29
+ onClick: handleClick
30
+ },
31
+ "\u7533\u8BF7\u901A\u6C14",
32
+ 512
33
+ /* NEED_PATCH */
34
+ ), [
28
35
  [vShow, showBtn.value]
29
36
  ])
30
37
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"start.vue2.mjs","sources":["../../../../../../../packages/components/touchchat/component/AiRobot/start.vue"],"sourcesContent":["<template>\n\t<div>\n\t\t<letter data=\"欢迎使用 touchvue,我是您的私人助理小启。\" @complete=\"complete\"></letter>\n\t\t<button v-show=\"showBtn\" class=\"apply-btn\" @click=\"parentContext?.methods.sendMessage('我要申请用气')\">申请通气</button>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, inject } from 'vue'\nimport Letter from './letter.vue'\nconst emits = defineEmits<{\n\t(e: 'complete'): void\n}>()\nconst showBtn = ref(false)\nconst complete = () => {\n\tshowBtn.value = true\n\temits('complete')\n}\ninterface ParentContext {\n\tmethods: {\n\t\tsendMessage: (message: string) => void\n\t}\n}\nconst parentContext = inject<ParentContext>('parentContext')\n</script>\n\n<!-- <style lang=\"less\" scoped>\n@import '../style/Start.less';\n</style> -->\n"],"names":["_createElementBlock","_createVNode","Letter","_createElementVNode","_unref"],"mappings":";;;;;;;AAUA,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,OAAA,GAAU,IAAI,KAAK,CAAA,CAAA;AACzB,IAAA,MAAM,WAAW,MAAM;AACtB,MAAA,OAAA,CAAQ,KAAQ,GAAA,IAAA,CAAA;AAChB,MAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AAAA,KACjB,CAAA;AAMA,IAAM,MAAA,aAAA,GAAgB,OAAsB,eAAe,CAAA,CAAA;;0BAtB1DA,kBAGM,CAAA,KAAA,EAAA,IAAA,EAAA;AAAA,QAFLC,YAAuEC,WAAA,EAAA;AAAA,UAA/D,IAAK,EAAA,2GAAA;AAAA,UAA6B,UAAU,EAAA,QAAA;AAAA;uBACpDC,mBAA8G,QAAA,EAAA;AAAA,UAArF,KAAM,EAAA,WAAA;AAAA,UAAa,OAAA,EAAO,CAAA,MAAA,KAAA;;AAAA,YAAA,OAAA,CAAA,EAAA,GAAAC,KAAA,CAAA,aAAA,CAAA,KAAA,IAAe,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,OAAA,CAAQ,WAAW,CAAA,sCAAA,CAAA,CAAA;AAAA,WAAA;AAAA,WAAY,0BAAI,EAAA,CAAA,EAAA,CAAA,SAAA,CAAA,CAAA,EAAA;AAAA,gBAArF,EAAA,OAAA,CAAO,KAAA,CAAA;AAAA;;;;;;;;"}
1
+ {"version":3,"file":"start.vue2.mjs","sources":["../../../../../../../packages/components/touchchat/component/AiRobot/start.vue"],"sourcesContent":["<template>\n\t<div>\n\t\t<letter data=\"欢迎使用 touchvue,我是您的私人助理小启。\" @complete=\"complete\"></letter>\n\t\t<button v-show=\"showBtn\" class=\"apply-btn\" @click=\"handleClick\">申请通气</button>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, inject } from 'vue'\nimport Letter from './letter.vue'\nconst emits = defineEmits<{\n\t(e: 'complete'): void\n}>()\nconst showBtn = ref(false)\nconst complete = () => {\n\tshowBtn.value = true\n\temits('complete')\n}\n\ninterface Touchchat {\n\tsend: (content?: string, fileList?: any[], auto?: boolean, type?: string) => void\n}\nconst touchchat = inject<Touchchat>('touchchat', { send: () => {} })\nconst handleClick = () => {\n\ttouchchat && touchchat.send('我要申请用气')\n}\n</script>\n\n<!-- <style lang=\"less\" scoped>\n@import '../style/Start.less';\n</style> -->\n"],"names":["_createElementBlock","_createVNode","_createElementVNode"],"mappings":";;;;;;;AAUA,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,OAAA,GAAU,IAAI,KAAK,CAAA,CAAA;AACzB,IAAA,MAAM,WAAW,MAAM;AACtB,MAAA,OAAA,CAAQ,KAAQ,GAAA,IAAA,CAAA;AAChB,MAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AAAA,KACjB,CAAA;AAKA,IAAA,MAAM,SAAY,GAAA,MAAA,CAAkB,WAAa,EAAA,EAAE,MAAM,MAAM;AAAA,OAAI,CAAA,CAAA;AACnE,IAAA,MAAM,cAAc,MAAM;AACzB,MAAa,SAAA,IAAA,SAAA,CAAU,KAAK,sCAAQ,CAAA,CAAA;AAAA,KACrC,CAAA;;0BAxBCA,kBAGM,CAAA,KAAA,EAAA,IAAA,EAAA;AAAA,QAFLC,YAAuE,MAAA,EAAA;AAAA,UAA/D,IAAK,EAAA,2GAAA;AAAA,UAA6B,UAAU,EAAA,QAAA;AAAA;sBACpD,CAAAC,kBAAA;AAAA,UAA6E,QAAA;AAAA,UAAA;AAAA,YAApD,KAAM,EAAA,WAAA;AAAA,YAAa,OAAO,EAAA,WAAA;AAAA;UAAa,0BAAA;AAAA,UAAI,GAAA;AAAA;AAAA,SAAA,EAAA;AAAA,gBAApD,EAAA,OAAA,CAAO,KAAA,CAAA;AAAA;;;;;;;;"}
@@ -1,6 +1,7 @@
1
1
  import _sfc_main from './CardView.vue2.mjs';
2
+ import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.mjs';
2
3
 
4
+ var CardView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "CardView.vue"]]);
3
5
 
4
-
5
- export { _sfc_main as default };
6
+ export { CardView as default };
6
7
  //# sourceMappingURL=CardView.vue.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardView.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"CardView.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -31,7 +31,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
31
31
  return (_ctx, _cache) => {
32
32
  return openBlock(), createElementBlock("div", { class: "card-container" }, [
33
33
  createElementVNode("div", { class: "card-header" }, [
34
- createElementVNode("span", { class: "header-text" }, toDisplayString(headerText.value), 1),
34
+ createElementVNode(
35
+ "span",
36
+ { class: "header-text" },
37
+ toDisplayString(headerText.value),
38
+ 1
39
+ /* TEXT */
40
+ ),
35
41
  createElementVNode("button", {
36
42
  class: "switch-btn",
37
43
  onClick: handleSwitchClick
@@ -56,51 +62,69 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
56
62
  ])
57
63
  ]),
58
64
  createElementVNode("div", { class: "cards-wrapper" }, [
59
- (openBlock(true), createElementBlock(Fragment, null, renderList(cards.value, (card) => {
60
- return openBlock(), createElementBlock("div", {
61
- key: card.id,
62
- class: normalizeClass(["card-item", { selected: card.id === selectedId.value }]),
63
- onClick: ($event) => handleCardClick(card.id)
64
- }, [
65
- createElementVNode("div", { class: "card-content" }, [
66
- createElementVNode("h3", { class: "card-title" }, toDisplayString(card.title), 1),
67
- createElementVNode("div", { class: "card-desc" }, toDisplayString(card.desc), 1)
68
- ]),
69
- card.id === selectedId.value ? (openBlock(), createElementBlock("div", {
70
- key: 0,
71
- class: "check-mark"
65
+ (openBlock(true), createElementBlock(
66
+ Fragment,
67
+ null,
68
+ renderList(cards.value, (card) => {
69
+ return openBlock(), createElementBlock("div", {
70
+ key: card.id,
71
+ class: normalizeClass(["card-item", { selected: card.id === selectedId.value }]),
72
+ onClick: ($event) => handleCardClick(card.id)
72
73
  }, [
73
- (openBlock(), createElementBlock("svg", {
74
- xmlns: "http://www.w3.org/2000/svg",
75
- width: "44",
76
- height: "45",
77
- viewBox: "0 0 44 45",
78
- fill: "none"
74
+ createElementVNode("div", { class: "card-content" }, [
75
+ createElementVNode(
76
+ "h3",
77
+ { class: "card-title" },
78
+ toDisplayString(card.title),
79
+ 1
80
+ /* TEXT */
81
+ ),
82
+ createElementVNode(
83
+ "div",
84
+ { class: "card-desc" },
85
+ toDisplayString(card.desc),
86
+ 1
87
+ /* TEXT */
88
+ )
89
+ ]),
90
+ card.id === selectedId.value ? (openBlock(), createElementBlock("div", {
91
+ key: 0,
92
+ class: "check-mark"
79
93
  }, [
80
- createElementVNode("g", { "clip-path": "url(#clip0_2281_1059)" }, [
81
- createElementVNode("path", {
82
- d: "M6.62451 0.15625H36.6245C41.0428 0.15625 44.6245 3.73797 44.6245 8.15625V38.1562L6.62451 0.15625Z",
83
- fill: "#1D77FF"
84
- }),
85
- createElementVNode("path", {
86
- d: "M39.6245 8.7657L38.1025 7.15625L31.6905 14.4087L28.1465 10.6612L26.6245 12.2707L30.9295 16.8229C31.3498 17.2674 32.0312 17.2674 32.4515 16.8229L39.6245 8.7657Z",
87
- fill: "white"
88
- })
89
- ]),
90
- createElementVNode("defs", null, [
91
- createElementVNode("clipPath", { id: "clip0_2281_1059" }, [
92
- createElementVNode("rect", {
93
- width: "44",
94
- height: "44",
95
- fill: "white",
96
- transform: "translate(0.624512 0.15625)"
94
+ (openBlock(), createElementBlock("svg", {
95
+ xmlns: "http://www.w3.org/2000/svg",
96
+ width: "44",
97
+ height: "45",
98
+ viewBox: "0 0 44 45",
99
+ fill: "none"
100
+ }, [
101
+ createElementVNode("g", { "clip-path": "url(#clip0_2281_1059)" }, [
102
+ createElementVNode("path", {
103
+ d: "M6.62451 0.15625H36.6245C41.0428 0.15625 44.6245 3.73797 44.6245 8.15625V38.1562L6.62451 0.15625Z",
104
+ fill: "#1D77FF"
105
+ }),
106
+ createElementVNode("path", {
107
+ d: "M39.6245 8.7657L38.1025 7.15625L31.6905 14.4087L28.1465 10.6612L26.6245 12.2707L30.9295 16.8229C31.3498 17.2674 32.0312 17.2674 32.4515 16.8229L39.6245 8.7657Z",
108
+ fill: "white"
97
109
  })
110
+ ]),
111
+ createElementVNode("defs", null, [
112
+ createElementVNode("clipPath", { id: "clip0_2281_1059" }, [
113
+ createElementVNode("rect", {
114
+ width: "44",
115
+ height: "44",
116
+ fill: "white",
117
+ transform: "translate(0.624512 0.15625)"
118
+ })
119
+ ])
98
120
  ])
99
- ])
100
- ]))
101
- ])) : createCommentVNode("", true)
102
- ], 10, ["onClick"]);
103
- }), 128))
121
+ ]))
122
+ ])) : createCommentVNode("v-if", true)
123
+ ], 10, ["onClick"]);
124
+ }),
125
+ 128
126
+ /* KEYED_FRAGMENT */
127
+ ))
104
128
  ])
105
129
  ]);
106
130
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CardView.vue2.mjs","sources":["../../../../../../packages/components/touchchat/component/CardView.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as DO_defineComponent } from 'vue';\nexport default /*#__PURE__*/ DO_defineComponent({ name: 'CardView' });\n</script>\n<template>\r\n\t<div class=\"card-container\">\r\n\t\t<div class=\"card-header\">\r\n\t\t\t<span class=\"header-text\">{{ headerText }}</span>\r\n\t\t\t<button class=\"switch-btn\" @click=\"handleSwitchClick\">\r\n\t\t\t\t<span>换一换</span>\r\n\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\">\r\n\t\t\t\t\t<path d=\"M9.91781 2.23649C9.12515 1.44124 8.10769 0.90645 7.00219 0.704346L6.79238 1.85199C7.66419 2.01137 8.46656 2.43311 9.09221 3.06081C10.8017 4.77007 10.8017 7.53989 9.09292 9.24845L9.0527 9.28869L8.09804 8.3337V11.1508H10.9141L9.87752 10.1138L9.91799 10.0733C12.0823 7.90928 12.0823 4.40068 9.91781 2.23649Z\" fill=\"#0077FA\" />\r\n\t\t\t\t\t<path d=\"M2.94725 3.02361L3.9019 3.9786V1.1615H1.0858L2.12244 2.19851L2.08197 2.239C-0.0823662 4.40301 -0.0823662 7.91162 2.08215 10.0758C2.87481 10.8711 3.89227 11.4058 4.99778 11.6079L5.20758 10.4603C4.33578 10.3009 3.5334 9.87919 2.90775 9.25149C1.19822 7.54222 1.19822 4.77241 2.90704 3.06385L2.94725 3.02361Z\" fill=\"#0077FA\" />\r\n\t\t\t\t</svg>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t\t<div class=\"cards-wrapper\">\r\n\t\t\t<div v-for=\"card in cards\" :key=\"card.id\" class=\"card-item\" :class=\"{ selected: card.id === selectedId }\" @click=\"handleCardClick(card.id)\">\r\n\t\t\t\t<div class=\"card-content\">\r\n\t\t\t\t\t<h3 class=\"card-title\">{{ card.title }}</h3>\r\n\t\t\t\t\t<div class=\"card-desc\">{{ card.desc }}</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div v-if=\"card.id === selectedId\" class=\"check-mark\">\r\n\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"44\" height=\"45\" viewBox=\"0 0 44 45\" fill=\"none\">\r\n\t\t\t\t\t\t<g clip-path=\"url(#clip0_2281_1059)\">\r\n\t\t\t\t\t\t\t<path d=\"M6.62451 0.15625H36.6245C41.0428 0.15625 44.6245 3.73797 44.6245 8.15625V38.1562L6.62451 0.15625Z\" fill=\"#1D77FF\" />\r\n\t\t\t\t\t\t\t<path d=\"M39.6245 8.7657L38.1025 7.15625L31.6905 14.4087L28.1465 10.6612L26.6245 12.2707L30.9295 16.8229C31.3498 17.2674 32.0312 17.2674 32.4515 16.8229L39.6245 8.7657Z\" fill=\"white\" />\r\n\t\t\t\t\t\t</g>\r\n\t\t\t\t\t\t<defs>\r\n\t\t\t\t\t\t\t<clipPath id=\"clip0_2281_1059\">\r\n\t\t\t\t\t\t\t\t<rect width=\"44\" height=\"44\" fill=\"white\" transform=\"translate(0.624512 0.15625)\" />\r\n\t\t\t\t\t\t\t</clipPath>\r\n\t\t\t\t\t\t</defs>\r\n\t\t\t\t\t</svg>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { ref } from 'vue'\r\n// import type { ChatMessage } from '../src/AiChat/TouchChat.vue';\r\n\r\n// 直接在组件内部定义ChatMessage接口\r\ninterface ChatMessage {\r\n\tchatId?: string\r\n\tuser: string\r\n\ttype: string\r\n\tcontent: string\r\n\tisChating?: boolean\r\n\tthinkContent?: string\r\n\treasoningContent?: string\r\n\tisLiked?: boolean\r\n\tisDisliked?: boolean\r\n\tisEditing?: boolean\r\n\teditContent?: string\r\n\tcomponentName?: string\r\n\tthinkStatus?: 'thinking' | 'completed' | 'stopped'\r\n\tthinkStartTime?: number\r\n\tthinkTime?: number\r\n\t[key: string]: unknown\r\n}\r\n\r\n\r\n\r\nconst props = defineProps<{\r\n\titem: ChatMessage & {\r\n\t\theaderText?: string\r\n\t\tcards?: Array<{\r\n\t\t\ttitle: string\r\n\t\t\tdesc: string\r\n\t\t\tid: number\r\n\t\t}>\r\n\t\tinitialSelectedIndex?: number\r\n\t}\r\n\tindex: number\r\n}>()\r\n\r\nconst emit = defineEmits<{\r\n\t(e: 'cardSelected', id: number): void\r\n\t(e: 'switchCards'): void\r\n}>()\r\n\r\n// 默认数据\r\nconst defaultCards = [\r\n\t{ title: '卡片标题1', desc: '内容区域占位文本', id: 1 },\r\n\t{ title: '卡片标题2', desc: '内容区域占位文本', id: 2 },\r\n\t{ title: '卡片标题3', desc: '内容区域占位文本', id: 3 }\r\n]\r\n\r\n// 状态管理\r\nconst selectedId = ref(props.item?.initialSelectedId || 1)\r\nconst headerText = ref(props.item?.headerText || '对话内容')\r\nconst cards = ref(props.item?.cards || defaultCards)\r\n\r\n// 方法定义\r\nconst handleCardClick = (id: number) => {\r\n\tselectedId.value = id\r\n\tconsole.log(selectedId.value, 'selectedId.value')\r\n\temit('cardSelected', id)\r\n}\r\n\r\nconst handleSwitchClick = () => {\r\n\temit('switchCards')\r\n\t// 此处可添加卡片切换动画或数据更新逻辑\r\n}\r\n</script>\r\n\r\n<!-- <style scoped lang=\"less\">\r\n@import './style/CardView.less';\r\n</style> -->\r\n"],"names":["DO_defineComponent","_createElementBlock","_createElementVNode","_Fragment","_renderList","_toDisplayString"],"mappings":";;AAEA,MAAA,WAA6B,GAAAA,eAAA,CAAmB,EAAE,IAAA,EAAM,YAAY,CAAA,CA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["../../../../../../packages/components/touchchat/component/CardView.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as DO_defineComponent } from 'vue';\nexport default /*#__PURE__*/ DO_defineComponent({ name: 'CardView' });\n</script>\n<template>\n\t<div class=\"card-container\">\n\t\t<div class=\"card-header\">\n\t\t\t<span class=\"header-text\">{{ headerText }}</span>\n\t\t\t<button class=\"switch-btn\" @click=\"handleSwitchClick\">\n\t\t\t\t<span>换一换</span>\n\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\">\n\t\t\t\t\t<path d=\"M9.91781 2.23649C9.12515 1.44124 8.10769 0.90645 7.00219 0.704346L6.79238 1.85199C7.66419 2.01137 8.46656 2.43311 9.09221 3.06081C10.8017 4.77007 10.8017 7.53989 9.09292 9.24845L9.0527 9.28869L8.09804 8.3337V11.1508H10.9141L9.87752 10.1138L9.91799 10.0733C12.0823 7.90928 12.0823 4.40068 9.91781 2.23649Z\" fill=\"#0077FA\" />\n\t\t\t\t\t<path d=\"M2.94725 3.02361L3.9019 3.9786V1.1615H1.0858L2.12244 2.19851L2.08197 2.239C-0.0823662 4.40301 -0.0823662 7.91162 2.08215 10.0758C2.87481 10.8711 3.89227 11.4058 4.99778 11.6079L5.20758 10.4603C4.33578 10.3009 3.5334 9.87919 2.90775 9.25149C1.19822 7.54222 1.19822 4.77241 2.90704 3.06385L2.94725 3.02361Z\" fill=\"#0077FA\" />\n\t\t\t\t</svg>\n\t\t\t</button>\n\t\t</div>\n\t\t<div class=\"cards-wrapper\">\n\t\t\t<div v-for=\"card in cards\" :key=\"card.id\" class=\"card-item\" :class=\"{ selected: card.id === selectedId }\" @click=\"handleCardClick(card.id)\">\n\t\t\t\t<div class=\"card-content\">\n\t\t\t\t\t<h3 class=\"card-title\">{{ card.title }}</h3>\n\t\t\t\t\t<div class=\"card-desc\">{{ card.desc }}</div>\n\t\t\t\t</div>\n\t\t\t\t<div v-if=\"card.id === selectedId\" class=\"check-mark\">\n\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"44\" height=\"45\" viewBox=\"0 0 44 45\" fill=\"none\">\n\t\t\t\t\t\t<g clip-path=\"url(#clip0_2281_1059)\">\n\t\t\t\t\t\t\t<path d=\"M6.62451 0.15625H36.6245C41.0428 0.15625 44.6245 3.73797 44.6245 8.15625V38.1562L6.62451 0.15625Z\" fill=\"#1D77FF\" />\n\t\t\t\t\t\t\t<path d=\"M39.6245 8.7657L38.1025 7.15625L31.6905 14.4087L28.1465 10.6612L26.6245 12.2707L30.9295 16.8229C31.3498 17.2674 32.0312 17.2674 32.4515 16.8229L39.6245 8.7657Z\" fill=\"white\" />\n\t\t\t\t\t\t</g>\n\t\t\t\t\t\t<defs>\n\t\t\t\t\t\t\t<clipPath id=\"clip0_2281_1059\">\n\t\t\t\t\t\t\t\t<rect width=\"44\" height=\"44\" fill=\"white\" transform=\"translate(0.624512 0.15625)\" />\n\t\t\t\t\t\t\t</clipPath>\n\t\t\t\t\t\t</defs>\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref } from 'vue'\n// import type { ChatMessage } from '../src/AiChat/TouchChat.vue';\n\n// 直接在组件内部定义ChatMessage接口\ninterface ChatMessage {\n\tchatId?: string\n\tuser: string\n\ttype: string\n\tcontent: string\n\tisChating?: boolean\n\tthinkContent?: string\n\treasoningContent?: string\n\tisLiked?: boolean\n\tisDisliked?: boolean\n\tisEditing?: boolean\n\teditContent?: string\n\tcomponentName?: string\n\tthinkStatus?: 'thinking' | 'completed' | 'stopped'\n\tthinkStartTime?: number\n\tthinkTime?: number\n\t[key: string]: unknown\n}\n\n\n\nconst props = defineProps<{\n\titem: ChatMessage & {\n\t\theaderText?: string\n\t\tcards?: Array<{\n\t\t\ttitle: string\n\t\t\tdesc: string\n\t\t\tid: number\n\t\t}>\n\t\tinitialSelectedIndex?: number\n\t}\n\tindex: number\n}>()\n\nconst emit = defineEmits<{\n\t(e: 'cardSelected', id: number): void\n\t(e: 'switchCards'): void\n}>()\n\n// 默认数据\nconst defaultCards = [\n\t{ title: '卡片标题1', desc: '内容区域占位文本', id: 1 },\n\t{ title: '卡片标题2', desc: '内容区域占位文本', id: 2 },\n\t{ title: '卡片标题3', desc: '内容区域占位文本', id: 3 }\n]\n\n// 状态管理\nconst selectedId = ref(props.item?.initialSelectedId || 1)\nconst headerText = ref(props.item?.headerText || '对话内容')\nconst cards = ref(props.item?.cards || defaultCards)\n\n// 方法定义\nconst handleCardClick = (id: number) => {\n\tselectedId.value = id\n\tconsole.log(selectedId.value, 'selectedId.value')\n\temit('cardSelected', id)\n}\n\nconst handleSwitchClick = () => {\n\temit('switchCards')\n\t// 此处可添加卡片切换动画或数据更新逻辑\n}\n</script>\n\n<!-- <style scoped lang=\"less\">\n@import './style/CardView.less';\n</style> -->\n"],"names":["DO_defineComponent","_createElementBlock","_createElementVNode","_Fragment","_renderList","_toDisplayString"],"mappings":";;AAEA,MAAA,WAA6B,GAAAA,eAAA,CAAmB,EAAE,IAAA,EAAM,YAAY,CAAA,CAAA;;;;;;;;;;AAgEpE,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAad,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAMb,IAAA,MAAM,YAAe,GAAA;AAAA,MACpB,EAAE,KAAO,EAAA,2BAAA,EAAS,IAAM,EAAA,kDAAA,EAAY,IAAI,CAAE,EAAA;AAAA,MAC1C,EAAE,KAAO,EAAA,2BAAA,EAAS,IAAM,EAAA,kDAAA,EAAY,IAAI,CAAE,EAAA;AAAA,MAC1C,EAAE,KAAO,EAAA,2BAAA,EAAS,IAAM,EAAA,kDAAA,EAAY,IAAI,CAAE,EAAA;AAAA,KAC3C,CAAA;AAGA,IAAA,MAAM,aAAa,GAAI,CAAA,CAAA,CAAA,EAAA,GAAA,KAAA,CAAM,IAAN,KAAA,IAAA,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