@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
@@ -3,8 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var letter_vue_vue_type_script_setup_true_lang = require('./letter.vue2.js');
6
+ var _pluginVue_exportHelper = require('../../../../../_virtual/_plugin-vue_export-helper.js');
6
7
 
8
+ var Letter = /* @__PURE__ */ _pluginVue_exportHelper.default(letter_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-1f1e1730"], ["__file", "letter.vue"]]);
7
9
 
8
-
9
- exports.default = letter_vue_vue_type_script_setup_true_lang.default;
10
+ exports.default = Letter;
10
11
  //# sourceMappingURL=letter.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"letter.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"letter.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -3,59 +3,188 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
+ var purify_es = require('../../../../../node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js');
6
7
 
7
- const __default__ = vue.defineComponent({ name: "ToTouchLetter" });
8
+ const __default__ = vue.defineComponent({ name: "Touchletter" });
8
9
  var _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
10
  ...__default__,
10
11
  props: {
11
- data: {}
12
+ data: {},
13
+ speed: {},
14
+ contentType: {},
15
+ sanitizeHtml: { type: Boolean },
16
+ loadingText: {}
12
17
  },
13
- emits: ["complete"],
14
- setup(__props, { emit: __emit }) {
18
+ emits: ["complete", "start"],
19
+ setup(__props, { expose: __expose, emit: __emit }) {
15
20
  const props = __props;
16
- const emit = __emit;
17
- const displayedText = vue.ref("");
18
- const showCursor = vue.ref(false);
19
- const isSwitchingHistory = vue.inject("isSwitchingHistory", vue.ref(false));
20
- let typingInterval = null;
21
- const startStreaming = () => {
22
- if (typingInterval)
23
- return;
24
- if (isSwitchingHistory.value) {
25
- displayedText.value = props.data;
26
- showCursor.value = false;
27
- emit("complete");
21
+ const emits = __emit;
22
+ const injectSpeed = vue.inject("speed", 10);
23
+ const speed = vue.computed(() => Math.max(1, props.speed || injectSpeed || 10));
24
+ const sanitizeHtml = vue.computed(() => props.sanitizeHtml !== false);
25
+ const currentIndex = vue.ref(0);
26
+ const validContent = vue.ref("");
27
+ const isTyping = vue.ref(false);
28
+ const timer = vue.ref(null);
29
+ const tagStack = vue.ref([]);
30
+ const detectContentType = (content) => {
31
+ if (/<\/?[a-z][\s\S]*>/i.test(content)) {
32
+ return "html";
33
+ }
34
+ if (/^#{1,6}\s+/.test(content) || /\*\*.*\*\*/.test(content) || /```/.test(content)) {
35
+ return "markdown";
36
+ }
37
+ return "text";
38
+ };
39
+ const currentType = vue.computed(() => {
40
+ if (props.contentType && props.contentType !== "auto") {
41
+ return props.contentType;
42
+ }
43
+ return detectContentType(props.data);
44
+ });
45
+ const displayContent = vue.computed(() => {
46
+ let content = validContent.value;
47
+ switch (currentType.value) {
48
+ case "html":
49
+ return sanitizeHtml.value ? purify_es.default.sanitize(content) : content;
50
+ case "text":
51
+ return content.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\n/g, "<br>").replace(/ {2}/g, "&nbsp;&nbsp;");
52
+ default:
53
+ return content;
54
+ }
55
+ });
56
+ const getInterval = (isTag) => {
57
+ const baseInterval = 1e3 / speed.value;
58
+ return baseInterval * (isTag ? 1.2 : 0.8 + Math.random() * 0.4);
59
+ };
60
+ const isSelfClosingTag = (tag) => {
61
+ const selfClosingTags = ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "param", "source", "track", "wbr"];
62
+ const tagNameMatch = tag.match(/<\/?([a-z0-9]+)/i);
63
+ if (tagNameMatch && tagNameMatch[1]) {
64
+ const tagName = tagNameMatch[1].toLowerCase();
65
+ return selfClosingTags.includes(tagName) || tag.endsWith("/>");
66
+ }
67
+ return false;
68
+ };
69
+ const processTag = (tag) => {
70
+ var _a, _b, _c, _d;
71
+ if (tag.startsWith("</")) {
72
+ const tagName = (_b = (_a = tag.match(/<\/([a-z0-9]+)/i)) == null ? void 0 : _a[1]) == null ? void 0 : _b.toLowerCase();
73
+ if (tagName && tagStack.value.at(-1) === tagName) {
74
+ tagStack.value.pop();
75
+ }
76
+ } else if (tag.startsWith("<") && !isSelfClosingTag(tag)) {
77
+ const tagName = (_d = (_c = tag.match(/<([a-z0-9]+)/i)) == null ? void 0 : _c[1]) == null ? void 0 : _d.toLowerCase();
78
+ if (tagName) {
79
+ tagStack.value.push(tagName);
80
+ }
81
+ }
82
+ };
83
+ const typeNext = () => {
84
+ if (currentIndex.value >= props.data.length) {
85
+ while (tagStack.value.length > 0) {
86
+ const tag = tagStack.value.pop();
87
+ validContent.value += `</${tag}>`;
88
+ }
89
+ completeTyping();
28
90
  return;
29
91
  }
30
- showCursor.value = true;
31
- displayedText.value = "";
32
- let currentIndex = 0;
33
- const fullText = props.data;
34
- typingInterval = window.setInterval(() => {
35
- if (currentIndex < fullText.length) {
36
- displayedText.value += fullText[currentIndex];
37
- currentIndex++;
92
+ const currentChar = props.data[currentIndex.value];
93
+ let nextIndex = currentIndex.value;
94
+ let newContent = "";
95
+ let isTag = false;
96
+ if (currentChar === "<") {
97
+ isTag = true;
98
+ const endIndex = props.data.indexOf(">", currentIndex.value);
99
+ if (endIndex === -1) {
100
+ nextIndex = currentIndex.value + 1;
101
+ newContent = currentChar;
38
102
  } else {
39
- window.clearInterval(typingInterval);
40
- typingInterval = null;
41
- showCursor.value = false;
42
- emit("complete");
103
+ nextIndex = endIndex + 1;
104
+ newContent = props.data.substring(currentIndex.value, nextIndex);
105
+ processTag(newContent);
43
106
  }
44
- }, 50);
107
+ } else {
108
+ nextIndex = currentIndex.value + 1;
109
+ newContent = currentChar;
110
+ }
111
+ currentIndex.value = nextIndex;
112
+ validContent.value += newContent;
113
+ timer.value = window.setTimeout(typeNext, getInterval(isTag));
114
+ };
115
+ const startTyping = () => {
116
+ if (isTyping.value || currentIndex.value >= props.data.length)
117
+ return;
118
+ isTyping.value = true;
119
+ emits("start");
120
+ typeNext();
45
121
  };
122
+ const stopTyping = () => {
123
+ if (timer.value) {
124
+ clearTimeout(timer.value);
125
+ timer.value = null;
126
+ isTyping.value = false;
127
+ }
128
+ };
129
+ const resetTyping = () => {
130
+ stopTyping();
131
+ currentIndex.value = 0;
132
+ validContent.value = "";
133
+ tagStack.value = [];
134
+ };
135
+ const completeTyping = () => {
136
+ stopTyping();
137
+ emits("complete");
138
+ };
139
+ vue.watch(
140
+ () => props.data,
141
+ () => {
142
+ resetTyping();
143
+ startTyping();
144
+ },
145
+ { immediate: true }
146
+ );
147
+ vue.watch(
148
+ () => props.contentType,
149
+ () => {
150
+ validContent.value = props.data.substring(0, currentIndex.value);
151
+ }
152
+ );
46
153
  vue.onMounted(() => {
47
- startStreaming();
154
+ if (currentIndex.value === 0) {
155
+ startTyping();
156
+ }
48
157
  });
158
+ vue.onUnmounted(() => stopTyping());
159
+ __expose({ startTyping, stopTyping, resetTyping, currentIndex, isTyping });
49
160
  return (_ctx, _cache) => {
50
- return vue.openBlock(), vue.createElementBlock("div", { class: "letter-container" }, [
51
- vue.createElementVNode("div", { class: "data-content" }, [
52
- vue.createTextVNode(vue.toDisplayString(displayedText.value) + " ", 1),
53
- showCursor.value ? (vue.openBlock(), vue.createElementBlock("span", {
54
- key: 0,
55
- class: "cursor"
56
- }, "|")) : vue.createCommentVNode("", true)
57
- ])
58
- ]);
161
+ return vue.openBlock(), vue.createElementBlock(
162
+ "div",
163
+ {
164
+ class: vue.normalizeClass(["typewriter-container", isTyping.value ? "loading-container" : ""])
165
+ },
166
+ [
167
+ vue.createElementVNode("div", {
168
+ class: vue.normalizeClass(["typewriter-content", {
169
+ "markdown-content": currentType.value === "markdown",
170
+ "html-content": currentType.value === "html"
171
+ }]),
172
+ innerHTML: displayContent.value
173
+ }, null, 10, ["innerHTML"]),
174
+ vue.createCommentVNode(" \u6761\u4EF6\u663E\u793Aloading\uFF0C\u4EC5\u5728HTML\u6A21\u5F0F\u4E14\u6B63\u5728\u6253\u5B57\u65F6\u663E\u793A "),
175
+ vue.createCommentVNode(` <div v-if="isTyping" class="typewriter-loading">
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
+ <span class="loading-text">{{ loadingText ?? '\u6B63\u5728\u6E32\u67D3\u5185\u5BB9' }}</span>
180
+ <span class="loading-dot" :style="{ animationDelay: '0ms' }"></span>
181
+ <span class="loading-dot" :style="{ animationDelay: '200ms' }"></span>
182
+ <span class="loading-dot" :style="{ animationDelay: '400ms' }"></span>
183
+ </div> `)
184
+ ],
185
+ 2
186
+ /* CLASS */
187
+ );
59
188
  };
60
189
  }
61
190
  });
@@ -1 +1 @@
1
- {"version":3,"file":"letter.vue2.js","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","ref","inject","onMounted","_createElementBlock","_createElementVNode","_createTextVNode","_toDisplayString"],"mappings":";;;;;;AAEA,MAA6B,WAAA,GAAAA,mBAAA,CAAmB,EAAE,IAAA,EAAM,iBAAiB,CAAA,CAAA;;;;;;;;AAiBzE,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAId,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAKb,IAAM,MAAA,aAAA,GAAgBC,QAAI,EAAE,CAAA,CAAA;AAC5B,IAAM,MAAA,UAAA,GAAaA,QAAI,KAAK,CAAA,CAAA;AAE5B,IAAA,MAAM,kBAAqB,GAAAC,UAAA,CAAqB,oBAAsB,EAAAD,OAAA,CAAI,KAAK,CAAC,CAAA,CAAA;AAChF,IAAA,IAAI,cAAgC,GAAA,IAAA,CAAA;AAGpC,IAAA,MAAM,iBAAiB,MAAM;AAC5B,MAAI,IAAA,cAAA;AAAgB,QAAA,OAAA;AAGpB,MAAA,IAAI,mBAAmB,KAAO,EAAA;AAC7B,QAAA,aAAA,CAAc,QAAQ,KAAM,CAAA,IAAA,CAAA;AAC5B,QAAA,UAAA,CAAW,KAAQ,GAAA,KAAA,CAAA;AACnB,QAAA,IAAA,CAAK,UAAU,CAAA,CAAA;AACf,QAAA,OAAA;AAAA,OACD;AAGA,MAAA,UAAA,CAAW,KAAQ,GAAA,IAAA,CAAA;AACnB,MAAA,aAAA,CAAc,KAAQ,GAAA,EAAA,CAAA;AACtB,MAAA,IAAI,YAAe,GAAA,CAAA,CAAA;AACnB,MAAA,MAAM,WAAW,KAAM,CAAA,IAAA,CAAA;AAEvB,MAAiB,cAAA,GAAA,MAAA,CAAO,YAAY,MAAM;AACzC,QAAI,IAAA,YAAA,GAAe,SAAS,MAAQ,EAAA;AACnC,UAAc,aAAA,CAAA,KAAA,IAAS,SAAS,YAAY,CAAA,CAAA;AAC5C,UAAA,YAAA,EAAA,CAAA;AAAA,SACM,MAAA;AACN,UAAA,MAAA,CAAO,cAAc,cAAe,CAAA,CAAA;AACpC,UAAiB,cAAA,GAAA,IAAA,CAAA;AACjB,UAAA,UAAA,CAAW,KAAQ,GAAA,KAAA,CAAA;AACnB,UAAA,IAAA,CAAK,UAAU,CAAA,CAAA;AAAA,SAChB;AAAA,SACE,EAAE,CAAA,CAAA;AAAA,KACN,CAAA;AAGA,IAAAE,aAAA,CAAU,MAAM;AACf,MAAe,cAAA,EAAA,CAAA;AAAA,KACf,CAAA,CAAA;;4BA/DA,EAAAC,sBAAA,CAKM,OAAA,EALD,KAAA,EAAM,oBAAkB,EAAA;AAAA,QAC5BC,sBAGM,CAAA,KAAA,EAAA,EAHD,KAAA,EAAM,gBAAc,EAAA;AAAA,UACrBC,oBAAAC,mBAAA,CAAA,aAAA,CAAA,KAAa,CAAA,GAAG,KACnB,CAAA,CAAA;AAAA,UAAY,UAAU,CAAA,KAAA,qBAAtBH,uBAA+C,MAAA,EAAA;AAAA;YAAvB,KAAM,EAAA,QAAA;AAAA,WAAS,EAAA,GAAC;;;;;;;;;"}
1
+ {"version":3,"file":"letter.vue2.js","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","inject","computed","ref","DOMPurify","watch","onMounted","onUnmounted","_createElementBlock","_normalizeClass","_createElementVNode","_createCommentVNode"],"mappings":"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"}
@@ -3,8 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var meterialPrepare_vue_vue_type_script_setup_true_lang = require('./meterialPrepare.vue2.js');
6
+ var _pluginVue_exportHelper = require('../../../../../_virtual/_plugin-vue_export-helper.js');
6
7
 
8
+ var MeterialPrepare = /* @__PURE__ */ _pluginVue_exportHelper.default(meterialPrepare_vue_vue_type_script_setup_true_lang.default, [["__file", "meterialPrepare.vue"]]);
7
9
 
8
-
9
- exports.default = meterialPrepare_vue_vue_type_script_setup_true_lang.default;
10
+ exports.default = MeterialPrepare;
10
11
  //# sourceMappingURL=meterialPrepare.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meterialPrepare.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"meterialPrepare.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
- var letter_vue_vue_type_script_setup_true_lang = require('./letter.vue2.js');
6
+ var letter = require('./letter.vue.js');
7
7
 
8
8
  var _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
9
  __name: "meterialPrepare",
@@ -15,23 +15,28 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
15
15
  showBtn.value = true;
16
16
  emits("complete");
17
17
  };
18
- const parentContext = vue.inject("parentContext");
18
+ const touchchat = vue.inject("touchchat", { send: () => {
19
+ } });
19
20
  const handleClick = () => {
20
21
  console.log("handleClick === meterialPrepare");
21
- parentContext == null ? void 0 : parentContext.methods.sendMessage({
22
- name: "[\u786E\u5B9A]"
23
- });
22
+ touchchat && touchchat.send("[\u786E\u5B9A]");
24
23
  };
25
24
  return (_ctx, _cache) => {
26
25
  return vue.openBlock(), vue.createElementBlock("div", null, [
27
- vue.createVNode(letter_vue_vue_type_script_setup_true_lang.default, {
26
+ vue.createVNode(letter.default, {
28
27
  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",
29
28
  onComplete: complete
30
29
  }),
31
- vue.withDirectives(vue.createElementVNode("button", {
32
- class: "apply-btn",
33
- onClick: handleClick
34
- }, "\u786E\u5B9A", 512), [
30
+ vue.withDirectives(vue.createElementVNode(
31
+ "button",
32
+ {
33
+ class: "apply-btn",
34
+ onClick: handleClick
35
+ },
36
+ "\u786E\u5B9A",
37
+ 512
38
+ /* NEED_PATCH */
39
+ ), [
35
40
  [vue.vShow, showBtn.value]
36
41
  ])
37
42
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"meterialPrepare.vue2.js","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":["ref","inject","_createElementBlock","_createVNode","Letter","_createElementVNode"],"mappings":";;;;;;;;;;;AAUA,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,OAAA,GAAUA,QAAI,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,GAAgBC,WAAsB,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;;8BA5BCC,sBAGM,CAAA,KAAA,EAAA,IAAA,EAAA;AAAA,QAFLC,gBAAkLC,kDAAA,EAAA;AAAA,UAA1K,IAAK,EAAA,0xBAAA;AAAA,UAAwI,UAAU,EAAA,QAAA;AAAA;2BAC/JC,uBAA2E,QAAA,EAAA;AAAA,UAAlD,KAAM,EAAA,WAAA;AAAA,UAAa,OAAO,EAAA,WAAA;AAAA,WAAa,cAAE,EAAA,GAAA,CAAA,EAAA;AAAA,oBAAlD,EAAA,OAAA,CAAO,KAAA,CAAA;AAAA;;;;;;;;"}
1
+ {"version":3,"file":"meterialPrepare.vue2.js","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":["ref","inject","_createElementBlock","_createVNode","Letter","_createElementVNode"],"mappings":";;;;;;;;;;;AAUA,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,OAAA,GAAUA,QAAI,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,GAAAC,UAAA,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;;8BAxBCC,sBAGM,CAAA,KAAA,EAAA,IAAA,EAAA;AAAA,QAFLC,gBAAkLC,cAAA,EAAA;AAAA,UAA1K,IAAK,EAAA,0xBAAA;AAAA,UAAwI,UAAU,EAAA,QAAA;AAAA;0BAC/J,CAAAC,sBAAA;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,oBAAlD,EAAA,OAAA,CAAO,KAAA,CAAA;AAAA;;;;;;;;"}
@@ -3,8 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var start_vue_vue_type_script_setup_true_lang = require('./start.vue2.js');
6
+ var _pluginVue_exportHelper = require('../../../../../_virtual/_plugin-vue_export-helper.js');
6
7
 
8
+ var start = /* @__PURE__ */ _pluginVue_exportHelper.default(start_vue_vue_type_script_setup_true_lang.default, [["__file", "start.vue"]]);
7
9
 
8
-
9
- exports.default = start_vue_vue_type_script_setup_true_lang.default;
10
+ exports.default = start;
10
11
  //# sourceMappingURL=start.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"start.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"start.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
- var letter_vue_vue_type_script_setup_true_lang = require('./letter.vue2.js');
6
+ var letter = require('./letter.vue.js');
7
7
 
8
8
  var _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
9
  __name: "start",
@@ -15,20 +15,27 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
15
15
  showBtn.value = true;
16
16
  emits("complete");
17
17
  };
18
- const parentContext = vue.inject("parentContext");
18
+ const touchchat = vue.inject("touchchat", { send: () => {
19
+ } });
20
+ const handleClick = () => {
21
+ touchchat && touchchat.send("\u6211\u8981\u7533\u8BF7\u7528\u6C14");
22
+ };
19
23
  return (_ctx, _cache) => {
20
24
  return vue.openBlock(), vue.createElementBlock("div", null, [
21
- vue.createVNode(letter_vue_vue_type_script_setup_true_lang.default, {
25
+ vue.createVNode(letter.default, {
22
26
  data: "\u6B22\u8FCE\u4F7F\u7528 touchvue\uFF0C\u6211\u662F\u60A8\u7684\u79C1\u4EBA\u52A9\u7406\u5C0F\u542F\u3002",
23
27
  onComplete: complete
24
28
  }),
25
- vue.withDirectives(vue.createElementVNode("button", {
26
- class: "apply-btn",
27
- onClick: ($event) => {
28
- var _a;
29
- return (_a = vue.unref(parentContext)) == null ? void 0 : _a.methods.sendMessage("\u6211\u8981\u7533\u8BF7\u7528\u6C14");
30
- }
31
- }, "\u7533\u8BF7\u901A\u6C14", 8, ["onClick"]), [
29
+ vue.withDirectives(vue.createElementVNode(
30
+ "button",
31
+ {
32
+ class: "apply-btn",
33
+ onClick: handleClick
34
+ },
35
+ "\u7533\u8BF7\u901A\u6C14",
36
+ 512
37
+ /* NEED_PATCH */
38
+ ), [
32
39
  [vue.vShow, showBtn.value]
33
40
  ])
34
41
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"start.vue2.js","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":["ref","inject","_createElementBlock","_createVNode","Letter","_createElementVNode","_unref"],"mappings":";;;;;;;;;;;AAUA,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,OAAA,GAAUA,QAAI,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,GAAgBC,WAAsB,eAAe,CAAA,CAAA;;8BAtB1DC,sBAGM,CAAA,KAAA,EAAA,IAAA,EAAA;AAAA,QAFLC,gBAAuEC,kDAAA,EAAA;AAAA,UAA/D,IAAK,EAAA,2GAAA;AAAA,UAA6B,UAAU,EAAA,QAAA;AAAA;2BACpDC,uBAA8G,QAAA,EAAA;AAAA,UAArF,KAAM,EAAA,WAAA;AAAA,UAAa,OAAA,EAAO,CAAA,MAAA,KAAA;;AAAA,YAAA,OAAA,CAAA,EAAA,GAAAC,SAAA,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,oBAArF,EAAA,OAAA,CAAO,KAAA,CAAA;AAAA;;;;;;;;"}
1
+ {"version":3,"file":"start.vue2.js","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":["ref","inject","_createElementBlock","_createVNode","Letter","_createElementVNode"],"mappings":";;;;;;;;;;;AAUA,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,OAAA,GAAUA,QAAI,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,GAAAC,UAAA,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;;8BAxBCC,sBAGM,CAAA,KAAA,EAAA,IAAA,EAAA;AAAA,QAFLC,gBAAuEC,cAAA,EAAA;AAAA,UAA/D,IAAK,EAAA,2GAAA;AAAA,UAA6B,UAAU,EAAA,QAAA;AAAA;0BACpD,CAAAC,sBAAA;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,oBAApD,EAAA,OAAA,CAAO,KAAA,CAAA;AAAA;;;;;;;;"}
@@ -3,8 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var CardView_vue_vue_type_script_setup_true_lang = require('./CardView.vue2.js');
6
+ var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
6
7
 
8
+ var CardView = /* @__PURE__ */ _pluginVue_exportHelper.default(CardView_vue_vue_type_script_setup_true_lang.default, [["__file", "CardView.vue"]]);
7
9
 
8
-
9
- exports.default = CardView_vue_vue_type_script_setup_true_lang.default;
10
+ exports.default = CardView;
10
11
  //# sourceMappingURL=CardView.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardView.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"CardView.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -35,7 +35,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
35
35
  return (_ctx, _cache) => {
36
36
  return vue.openBlock(), vue.createElementBlock("div", { class: "card-container" }, [
37
37
  vue.createElementVNode("div", { class: "card-header" }, [
38
- vue.createElementVNode("span", { class: "header-text" }, vue.toDisplayString(headerText.value), 1),
38
+ vue.createElementVNode(
39
+ "span",
40
+ { class: "header-text" },
41
+ vue.toDisplayString(headerText.value),
42
+ 1
43
+ /* TEXT */
44
+ ),
39
45
  vue.createElementVNode("button", {
40
46
  class: "switch-btn",
41
47
  onClick: handleSwitchClick
@@ -60,51 +66,69 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
60
66
  ])
61
67
  ]),
62
68
  vue.createElementVNode("div", { class: "cards-wrapper" }, [
63
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(cards.value, (card) => {
64
- return vue.openBlock(), vue.createElementBlock("div", {
65
- key: card.id,
66
- class: vue.normalizeClass(["card-item", { selected: card.id === selectedId.value }]),
67
- onClick: ($event) => handleCardClick(card.id)
68
- }, [
69
- vue.createElementVNode("div", { class: "card-content" }, [
70
- vue.createElementVNode("h3", { class: "card-title" }, vue.toDisplayString(card.title), 1),
71
- vue.createElementVNode("div", { class: "card-desc" }, vue.toDisplayString(card.desc), 1)
72
- ]),
73
- card.id === selectedId.value ? (vue.openBlock(), vue.createElementBlock("div", {
74
- key: 0,
75
- class: "check-mark"
69
+ (vue.openBlock(true), vue.createElementBlock(
70
+ vue.Fragment,
71
+ null,
72
+ vue.renderList(cards.value, (card) => {
73
+ return vue.openBlock(), vue.createElementBlock("div", {
74
+ key: card.id,
75
+ class: vue.normalizeClass(["card-item", { selected: card.id === selectedId.value }]),
76
+ onClick: ($event) => handleCardClick(card.id)
76
77
  }, [
77
- (vue.openBlock(), vue.createElementBlock("svg", {
78
- xmlns: "http://www.w3.org/2000/svg",
79
- width: "44",
80
- height: "45",
81
- viewBox: "0 0 44 45",
82
- fill: "none"
78
+ vue.createElementVNode("div", { class: "card-content" }, [
79
+ vue.createElementVNode(
80
+ "h3",
81
+ { class: "card-title" },
82
+ vue.toDisplayString(card.title),
83
+ 1
84
+ /* TEXT */
85
+ ),
86
+ vue.createElementVNode(
87
+ "div",
88
+ { class: "card-desc" },
89
+ vue.toDisplayString(card.desc),
90
+ 1
91
+ /* TEXT */
92
+ )
93
+ ]),
94
+ card.id === selectedId.value ? (vue.openBlock(), vue.createElementBlock("div", {
95
+ key: 0,
96
+ class: "check-mark"
83
97
  }, [
84
- vue.createElementVNode("g", { "clip-path": "url(#clip0_2281_1059)" }, [
85
- vue.createElementVNode("path", {
86
- d: "M6.62451 0.15625H36.6245C41.0428 0.15625 44.6245 3.73797 44.6245 8.15625V38.1562L6.62451 0.15625Z",
87
- fill: "#1D77FF"
88
- }),
89
- vue.createElementVNode("path", {
90
- 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",
91
- fill: "white"
92
- })
93
- ]),
94
- vue.createElementVNode("defs", null, [
95
- vue.createElementVNode("clipPath", { id: "clip0_2281_1059" }, [
96
- vue.createElementVNode("rect", {
97
- width: "44",
98
- height: "44",
99
- fill: "white",
100
- transform: "translate(0.624512 0.15625)"
98
+ (vue.openBlock(), vue.createElementBlock("svg", {
99
+ xmlns: "http://www.w3.org/2000/svg",
100
+ width: "44",
101
+ height: "45",
102
+ viewBox: "0 0 44 45",
103
+ fill: "none"
104
+ }, [
105
+ vue.createElementVNode("g", { "clip-path": "url(#clip0_2281_1059)" }, [
106
+ vue.createElementVNode("path", {
107
+ d: "M6.62451 0.15625H36.6245C41.0428 0.15625 44.6245 3.73797 44.6245 8.15625V38.1562L6.62451 0.15625Z",
108
+ fill: "#1D77FF"
109
+ }),
110
+ vue.createElementVNode("path", {
111
+ 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",
112
+ fill: "white"
101
113
  })
114
+ ]),
115
+ vue.createElementVNode("defs", null, [
116
+ vue.createElementVNode("clipPath", { id: "clip0_2281_1059" }, [
117
+ vue.createElementVNode("rect", {
118
+ width: "44",
119
+ height: "44",
120
+ fill: "white",
121
+ transform: "translate(0.624512 0.15625)"
122
+ })
123
+ ])
102
124
  ])
103
- ])
104
- ]))
105
- ])) : vue.createCommentVNode("", true)
106
- ], 10, ["onClick"]);
107
- }), 128))
125
+ ]))
126
+ ])) : vue.createCommentVNode("v-if", true)
127
+ ], 10, ["onClick"]);
128
+ }),
129
+ 128
130
+ /* KEYED_FRAGMENT */
131
+ ))
108
132
  ])
109
133
  ]);
110
134
  };