@opentiny/tiny-robot 0.2.0-alpha.2 → 0.2.0-alpha.4

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 (414) hide show
  1. package/dist/_plugin-vue_export-helper.js +9 -0
  2. package/dist/action-group/index.js +142 -0
  3. package/dist/bubble/index.js +3211 -0
  4. package/dist/{node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/close.js → close.js} +9 -9
  5. package/dist/container/index.js +60 -0
  6. package/dist/conversations/index.js +14 -0
  7. package/dist/feedback/index.js +192 -0
  8. package/dist/history/index.js +228 -0
  9. package/dist/icon-button/index.js +31 -0
  10. package/dist/index.d.ts +2200 -26
  11. package/dist/index.js +35 -43
  12. package/dist/index2.js +376 -0
  13. package/dist/index3.js +3895 -0
  14. package/dist/index4.js +637 -0
  15. package/dist/index5.js +3237 -0
  16. package/dist/index6.js +4623 -0
  17. package/dist/prompts/index.js +83 -0
  18. package/dist/question/index.js +429 -0
  19. package/dist/sender/index.js +772 -0
  20. package/dist/style.css +1 -1
  21. package/dist/suggestion/index.js +497 -0
  22. package/dist/{packages/svgs/dist/tiny-robot-svgs.js → tiny-robot-svgs.js} +107 -107
  23. package/dist/welcome/index.js +38 -0
  24. package/package.json +7 -3
  25. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  26. package/dist/action-group/ActionGroup.vue.d.ts +0 -26
  27. package/dist/action-group/ActionGroupItem.vue.d.ts +0 -18
  28. package/dist/action-group/index.d.ts +0 -12
  29. package/dist/action-group/index.type.d.ts +0 -17
  30. package/dist/bubble/BubbleList.vue.d.ts +0 -5
  31. package/dist/bubble/index.d.ts +0 -12
  32. package/dist/bubble/index.type.d.ts +0 -51
  33. package/dist/container/index.d.ts +0 -7
  34. package/dist/container/index.type.d.ts +0 -16
  35. package/dist/container/index.vue.d.ts +0 -26
  36. package/dist/conversations/index.d.ts +0 -7
  37. package/dist/conversations/index.vue.d.ts +0 -2
  38. package/dist/feedback/components/SourceList.vue.d.ts +0 -11
  39. package/dist/feedback/components/index.d.ts +0 -1
  40. package/dist/feedback/index.d.ts +0 -7
  41. package/dist/feedback/index.type.d.ts +0 -25
  42. package/dist/feedback/index.vue.d.ts +0 -13
  43. package/dist/history/components/index.d.ts +0 -2
  44. package/dist/history/components/item-tag.vue.d.ts +0 -5
  45. package/dist/history/components/search-empty.vue.d.ts +0 -7
  46. package/dist/history/composables/index.d.ts +0 -1
  47. package/dist/history/composables/useEditItemTitle.d.ts +0 -12
  48. package/dist/history/index.d.ts +0 -6
  49. package/dist/history/index.type.d.ts +0 -43
  50. package/dist/history/index.vue.d.ts +0 -2
  51. package/dist/icon-button/index.d.ts +0 -7
  52. package/dist/icon-button/index.type.d.ts +0 -6
  53. package/dist/icon-button/index.vue.d.ts +0 -6
  54. package/dist/node_modules/.pnpm/@opentiny_utils@1.0.0/node_modules/@opentiny/utils/dist/opentiny-utils.es.js +0 -832
  55. package/dist/node_modules/.pnpm/@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js +0 -2116
  56. package/dist/node_modules/.pnpm/@opentiny_vue-button@3.21.0/node_modules/@opentiny/vue-button/lib/index.js +0 -113
  57. package/dist/node_modules/.pnpm/@opentiny_vue-button@3.21.0/node_modules/@opentiny/vue-button/lib/pc.js +0 -93
  58. package/dist/node_modules/.pnpm/@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js +0 -727
  59. package/dist/node_modules/.pnpm/@opentiny_vue-common@3.22.0/node_modules/@opentiny/vue-common/lib/index.js +0 -710
  60. package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.21.0/node_modules/@opentiny/vue-dialog-box/lib/index.js +0 -198
  61. package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.21.0/node_modules/@opentiny/vue-dialog-box/lib/pc.js +0 -204
  62. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useEventListener.js +0 -10
  63. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useInstanceSlots.js +0 -14
  64. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useRelation.js +0 -54
  65. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/vue-popper.js +0 -85
  66. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/close.js +0 -29
  67. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeclose.js +0 -42
  68. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeopen.js +0 -43
  69. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/finish.js +0 -34
  70. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/fullscreen.js +0 -30
  71. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/loading-shadow.js +0 -77
  72. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/minscreen.js +0 -30
  73. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-after.js +0 -24
  74. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-before.js +0 -24
  75. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-after.js +0 -24
  76. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-before.js +0 -24
  77. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-center.js +0 -24
  78. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-left.js +0 -24
  79. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-right.js +0 -24
  80. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-bold.js +0 -24
  81. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-block.js +0 -24
  82. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-view.js +0 -24
  83. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-color.js +0 -24
  84. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-column.js +0 -24
  85. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-row.js +0 -24
  86. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-table.js +0 -24
  87. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-font-size.js +0 -24
  88. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-format-clear.js +0 -24
  89. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h1.js +0 -24
  90. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h2.js +0 -24
  91. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h3.js +0 -24
  92. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h4.js +0 -24
  93. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h5.js +0 -24
  94. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h6.js +0 -24
  95. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-heading.js +0 -24
  96. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-high-light.js +0 -24
  97. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-image.js +0 -24
  98. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-italic.js +0 -24
  99. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-line-height.js +0 -24
  100. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-link-unlink.js +0 -24
  101. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-link.js +0 -24
  102. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-ordered.js +0 -24
  103. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-unordered.js +0 -24
  104. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells-vertical.js +0 -24
  105. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells.js +0 -24
  106. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-node-delete.js +0 -24
  107. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-paragraph.js +0 -24
  108. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-quote-text.js +0 -24
  109. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-redo.js +0 -24
  110. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-horizontal.js +0 -24
  111. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-vertical.js +0 -24
  112. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-strike-through.js +0 -24
  113. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-subscript.js +0 -24
  114. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-superscript.js +0 -24
  115. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-table.js +0 -24
  116. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-task-list.js +0 -24
  117. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-underline.js +0 -24
  118. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-undo.js +0 -24
  119. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/sub-script.js +0 -29
  120. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/warn.js +0 -26
  121. package/dist/node_modules/.pnpm/@opentiny_vue-input@3.21.0/node_modules/@opentiny/vue-input/lib/index.js +0 -196
  122. package/dist/node_modules/.pnpm/@opentiny_vue-input@3.21.0/node_modules/@opentiny/vue-input/lib/pc.js +0 -568
  123. package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.21.0/node_modules/@opentiny/vue-locale/lib/index.js +0 -1783
  124. package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.22.0/node_modules/@opentiny/vue-locale/lib/index.js +0 -1783
  125. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/button/index.js +0 -13
  126. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/button/vue.js +0 -34
  127. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/chunk-G2ADBYYC.js +0 -12
  128. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/browser.js +0 -36
  129. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/clickoutside.js +0 -47
  130. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/debounce.js +0 -7
  131. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/dom.js +0 -45
  132. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popper.js +0 -320
  133. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popup-manager.js +0 -118
  134. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/throttle.js +0 -23
  135. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useEventListener.js +0 -9
  136. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useInstanceSlots.js +0 -14
  137. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useRelation.js +0 -54
  138. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popper.js +0 -84
  139. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popup.js +0 -73
  140. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/event.js +0 -13
  141. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/function.js +0 -5
  142. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/index.js +0 -11
  143. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/object.js +0 -84
  144. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/string.js +0 -28
  145. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/type.js +0 -28
  146. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/index.js +0 -136
  147. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/vue.js +0 -148
  148. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/input/index.js +0 -228
  149. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/input/vue.js +0 -263
  150. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/index.js +0 -63
  151. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/vue-storage-box.js +0 -16
  152. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/vue.js +0 -23
  153. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tooltip/index.js +0 -78
  154. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tooltip/vue.js +0 -90
  155. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/index.js +0 -77
  156. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/vue.js +0 -90
  157. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.21.0/node_modules/@opentiny/vue-tooltip/lib/index.js +0 -173
  158. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.21.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +0 -248
  159. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/index.js +0 -176
  160. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +0 -248
  161. package/dist/node_modules/.pnpm/@vueuse_core@13.1.0_vue@3.5.13/node_modules/@vueuse/core/index.js +0 -310
  162. package/dist/node_modules/.pnpm/@vueuse_shared@13.1.0_vue@3.5.13/node_modules/@vueuse/shared/index.js +0 -110
  163. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +0 -277
  164. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +0 -46
  165. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
  166. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
  167. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js +0 -187
  168. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +0 -19
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js +0 -67
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +0 -5
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +0 -164
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +0 -8
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -44
  174. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js +0 -21
  175. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -37
  176. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js +0 -112
  177. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js +0 -63
  178. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js +0 -34
  179. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js +0 -96
  180. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js +0 -78
  181. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js +0 -40
  182. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js +0 -59
  183. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js +0 -127
  184. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js +0 -95
  185. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js +0 -59
  186. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js +0 -23
  187. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js +0 -30
  188. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +0 -28
  189. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +0 -27
  190. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +0 -37
  191. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js +0 -43
  192. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js +0 -110
  193. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -25
  194. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +0 -95
  195. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js +0 -84
  196. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +0 -99
  197. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js +0 -7
  198. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +0 -10
  199. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +0 -57
  200. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js +0 -9
  201. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js +0 -31
  202. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js +0 -80
  203. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js +0 -8
  204. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +0 -16
  205. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -46
  206. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js +0 -31
  207. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +0 -34
  208. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js +0 -57
  209. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +0 -33
  210. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +0 -32
  211. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +0 -10
  212. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -32
  213. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js +0 -48
  214. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js +0 -40
  215. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +0 -28
  216. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js +0 -23
  217. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -27
  218. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js +0 -54
  219. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +0 -39
  220. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js +0 -31
  221. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +0 -10
  222. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js +0 -61
  223. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js +0 -48
  224. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js +0 -7
  225. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js +0 -74
  226. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +0 -139
  227. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +0 -4
  228. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +0 -4
  229. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +0 -4
  230. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +0 -4
  231. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +0 -4
  232. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +0 -14
  233. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +0 -4
  234. package/dist/packages/components/src/action-group/ActionGroup.vue.js +0 -7
  235. package/dist/packages/components/src/action-group/ActionGroup.vue2.js +0 -121
  236. package/dist/packages/components/src/action-group/ActionGroupItem.vue.js +0 -14
  237. package/dist/packages/components/src/action-group/ActionGroupItem.vue2.js +0 -4
  238. package/dist/packages/components/src/action-group/index.js +0 -17
  239. package/dist/packages/components/src/assets/icons/accessory.svg.js +0 -4
  240. package/dist/packages/components/src/assets/icons/loading-speech.svg.js +0 -4
  241. package/dist/packages/components/src/assets/icons/loading.svg.js +0 -4
  242. package/dist/packages/components/src/assets/icons/send.svg.js +0 -4
  243. package/dist/packages/components/src/assets/icons/voice.svg.js +0 -4
  244. package/dist/packages/components/src/bubble/Bubble.vue.js +0 -7
  245. package/dist/packages/components/src/bubble/Bubble.vue2.js +0 -76
  246. package/dist/packages/components/src/bubble/BubbleList.vue.js +0 -7
  247. package/dist/packages/components/src/bubble/BubbleList.vue2.js +0 -50
  248. package/dist/packages/components/src/bubble/index.js +0 -18
  249. package/dist/packages/components/src/container/index.js +0 -9
  250. package/dist/packages/components/src/container/index.vue.js +0 -7
  251. package/dist/packages/components/src/container/index.vue2.js +0 -55
  252. package/dist/packages/components/src/conversations/index.js +0 -9
  253. package/dist/packages/components/src/conversations/index.vue.js +0 -9
  254. package/dist/packages/components/src/feedback/components/SourceList.vue.js +0 -7
  255. package/dist/packages/components/src/feedback/components/SourceList.vue2.js +0 -52
  256. package/dist/packages/components/src/feedback/index.js +0 -9
  257. package/dist/packages/components/src/feedback/index.vue.js +0 -7
  258. package/dist/packages/components/src/feedback/index.vue2.js +0 -143
  259. package/dist/packages/components/src/history/components/item-tag.vue.js +0 -7
  260. package/dist/packages/components/src/history/components/item-tag.vue2.js +0 -21
  261. package/dist/packages/components/src/history/components/search-empty.vue.js +0 -7
  262. package/dist/packages/components/src/history/components/search-empty.vue2.js +0 -20
  263. package/dist/packages/components/src/history/composables/useEditItemTitle.js +0 -43
  264. package/dist/packages/components/src/history/index.js +0 -11
  265. package/dist/packages/components/src/history/index.vue.js +0 -7
  266. package/dist/packages/components/src/history/index.vue2.js +0 -130
  267. package/dist/packages/components/src/icon-button/index.js +0 -9
  268. package/dist/packages/components/src/icon-button/index.vue.js +0 -7
  269. package/dist/packages/components/src/icon-button/index.vue2.js +0 -22
  270. package/dist/packages/components/src/prompts/index.js +0 -18
  271. package/dist/packages/components/src/prompts/prompt.vue.js +0 -7
  272. package/dist/packages/components/src/prompts/prompt.vue2.js +0 -39
  273. package/dist/packages/components/src/prompts/prompts.vue.js +0 -7
  274. package/dist/packages/components/src/prompts/prompts.vue2.js +0 -36
  275. package/dist/packages/components/src/question/components/CommonQuestions.vue.js +0 -89
  276. package/dist/packages/components/src/question/components/CommonQuestions.vue2.js +0 -4
  277. package/dist/packages/components/src/question/components/HotQuestions.vue.js +0 -140
  278. package/dist/packages/components/src/question/components/HotQuestions.vue2.js +0 -4
  279. package/dist/packages/components/src/question/composables/useQuestions.js +0 -48
  280. package/dist/packages/components/src/question/index.js +0 -9
  281. package/dist/packages/components/src/question/index.vue.js +0 -113
  282. package/dist/packages/components/src/question/index.vue2.js +0 -4
  283. package/dist/packages/components/src/sender/components/ActionButtons.vue.js +0 -143
  284. package/dist/packages/components/src/sender/components/ActionButtons.vue2.js +0 -4
  285. package/dist/packages/components/src/sender/components/TemplateEditor.vue.js +0 -7
  286. package/dist/packages/components/src/sender/components/TemplateEditor.vue2.js +0 -175
  287. package/dist/packages/components/src/sender/composables/useInputHandler.js +0 -38
  288. package/dist/packages/components/src/sender/composables/useKeyboardHandler.js +0 -31
  289. package/dist/packages/components/src/sender/composables/useSpeechHandler.js +0 -67
  290. package/dist/packages/components/src/sender/index.js +0 -9
  291. package/dist/packages/components/src/sender/index.vue.js +0 -255
  292. package/dist/packages/components/src/sender/index.vue2.js +0 -4
  293. package/dist/packages/components/src/suggestion/components/CategoryNav.vue.js +0 -38
  294. package/dist/packages/components/src/suggestion/components/CategoryNav.vue2.js +0 -4
  295. package/dist/packages/components/src/suggestion/components/SuggestionCapsule.vue.js +0 -107
  296. package/dist/packages/components/src/suggestion/components/SuggestionCapsule.vue2.js +0 -4
  297. package/dist/packages/components/src/suggestion/components/SuggestionPanel.vue.js +0 -123
  298. package/dist/packages/components/src/suggestion/components/SuggestionPanel.vue2.js +0 -4
  299. package/dist/packages/components/src/suggestion/composables/useKeyboardNavigation.js +0 -45
  300. package/dist/packages/components/src/suggestion/composables/useTriggerDetection.js +0 -17
  301. package/dist/packages/components/src/suggestion/index.js +0 -9
  302. package/dist/packages/components/src/suggestion/index.vue.js +0 -179
  303. package/dist/packages/components/src/suggestion/index.vue2.js +0 -4
  304. package/dist/packages/components/src/suggestion/utils/dom.js +0 -18
  305. package/dist/packages/components/src/welcome/index.js +0 -9
  306. package/dist/packages/components/src/welcome/index.vue.js +0 -7
  307. package/dist/packages/components/src/welcome/index.vue2.js +0 -32
  308. package/dist/prompts/index.d.ts +0 -12
  309. package/dist/prompts/index.type.d.ts +0 -55
  310. package/dist/prompts/prompt.vue.d.ts +0 -3
  311. package/dist/prompts/prompts.vue.d.ts +0 -20
  312. package/dist/question/components/CommonQuestions.vue.d.ts +0 -32
  313. package/dist/question/components/HotQuestions.vue.d.ts +0 -89
  314. package/dist/question/composables/useQuestions.d.ts +0 -17
  315. package/dist/question/index.d.ts +0 -7
  316. package/dist/question/index.type.d.ts +0 -74
  317. package/dist/question/index.vue.d.ts +0 -46
  318. package/dist/sender/components/ActionButtons.vue.d.ts +0 -25
  319. package/dist/sender/components/TemplateEditor.vue.d.ts +0 -18
  320. package/dist/sender/composables/useInputHandler.d.ts +0 -17
  321. package/dist/sender/composables/useKeyboardHandler.d.ts +0 -18
  322. package/dist/sender/composables/useSpeechHandler.d.ts +0 -8
  323. package/dist/sender/index.d.ts +0 -7
  324. package/dist/sender/index.type.d.ts +0 -137
  325. package/dist/sender/index.vue.d.ts +0 -1012
  326. package/dist/suggestion/components/CategoryNav.vue.d.ts +0 -45
  327. package/dist/suggestion/components/SuggestionCapsule.vue.d.ts +0 -32
  328. package/dist/suggestion/components/SuggestionPanel.vue.d.ts +0 -84
  329. package/dist/suggestion/composables/useKeyboardNavigation.d.ts +0 -18
  330. package/dist/suggestion/composables/useSuggestionFilter.d.ts +0 -10
  331. package/dist/suggestion/composables/useTriggerDetection.d.ts +0 -11
  332. package/dist/suggestion/index.d.ts +0 -7
  333. package/dist/suggestion/index.type.d.ts +0 -94
  334. package/dist/suggestion/index.vue.d.ts +0 -343
  335. package/dist/suggestion/utils/dom.d.ts +0 -20
  336. package/dist/welcome/index.d.ts +0 -7
  337. package/dist/welcome/index.type.d.ts +0 -10
  338. package/dist/welcome/index.vue.d.ts +0 -18
  339. package/src/action-group/ActionGroup.vue +0 -247
  340. package/src/action-group/ActionGroupItem.vue +0 -9
  341. package/src/action-group/index.ts +0 -25
  342. package/src/action-group/index.type.ts +0 -21
  343. package/src/assets/icons/accessory.svg +0 -12
  344. package/src/assets/icons/loading-speech.svg +0 -16
  345. package/src/assets/icons/loading.svg +0 -17
  346. package/src/assets/icons/send.svg +0 -21
  347. package/src/assets/icons/voice.svg +0 -22
  348. package/src/bubble/Bubble.vue +0 -153
  349. package/src/bubble/BubbleList.vue +0 -55
  350. package/src/bubble/index.ts +0 -23
  351. package/src/bubble/index.type.ts +0 -49
  352. package/src/container/index.ts +0 -12
  353. package/src/container/index.type.ts +0 -17
  354. package/src/container/index.vue +0 -109
  355. package/src/conversations/index.ts +0 -12
  356. package/src/conversations/index.vue +0 -3
  357. package/src/feedback/components/SourceList.vue +0 -112
  358. package/src/feedback/components/index.ts +0 -1
  359. package/src/feedback/index.ts +0 -12
  360. package/src/feedback/index.type.ts +0 -27
  361. package/src/feedback/index.vue +0 -166
  362. package/src/history/components/index.ts +0 -2
  363. package/src/history/components/item-tag.vue +0 -49
  364. package/src/history/components/search-empty.vue +0 -38
  365. package/src/history/composables/index.ts +0 -1
  366. package/src/history/composables/useEditItemTitle.ts +0 -75
  367. package/src/history/index.ts +0 -12
  368. package/src/history/index.type.ts +0 -50
  369. package/src/history/index.vue +0 -292
  370. package/src/icon-button/index.ts +0 -12
  371. package/src/icon-button/index.type.ts +0 -7
  372. package/src/icon-button/index.vue +0 -58
  373. package/src/index.ts +0 -76
  374. package/src/prompts/index.ts +0 -25
  375. package/src/prompts/index.type.ts +0 -59
  376. package/src/prompts/prompt.vue +0 -101
  377. package/src/prompts/prompts.vue +0 -50
  378. package/src/question/components/CommonQuestions.vue +0 -146
  379. package/src/question/components/HotQuestions.vue +0 -148
  380. package/src/question/composables/useQuestions.ts +0 -106
  381. package/src/question/index.less +0 -447
  382. package/src/question/index.ts +0 -12
  383. package/src/question/index.type.ts +0 -86
  384. package/src/question/index.vue +0 -140
  385. package/src/question/vars.less +0 -135
  386. package/src/sender/components/ActionButtons.vue +0 -168
  387. package/src/sender/components/TemplateEditor.vue +0 -465
  388. package/src/sender/composables/useInputHandler.ts +0 -74
  389. package/src/sender/composables/useKeyboardHandler.ts +0 -101
  390. package/src/sender/composables/useSpeechHandler.ts +0 -122
  391. package/src/sender/index.less +0 -352
  392. package/src/sender/index.ts +0 -12
  393. package/src/sender/index.type.ts +0 -162
  394. package/src/sender/index.vue +0 -338
  395. package/src/sender/vars.less +0 -84
  396. package/src/suggestion/components/CategoryNav.vue +0 -38
  397. package/src/suggestion/components/SuggestionCapsule.vue +0 -183
  398. package/src/suggestion/components/SuggestionPanel.vue +0 -147
  399. package/src/suggestion/composables/useKeyboardNavigation.ts +0 -101
  400. package/src/suggestion/composables/useSuggestionFilter.ts +0 -34
  401. package/src/suggestion/composables/useTriggerDetection.ts +0 -46
  402. package/src/suggestion/index.less +0 -497
  403. package/src/suggestion/index.ts +0 -12
  404. package/src/suggestion/index.type.ts +0 -101
  405. package/src/suggestion/index.vue +0 -338
  406. package/src/suggestion/utils/dom.ts +0 -66
  407. package/src/suggestion/vars.less +0 -141
  408. package/src/vite-env.d.ts +0 -1
  409. package/src/welcome/index.ts +0 -12
  410. package/src/welcome/index.type.ts +0 -12
  411. package/src/welcome/index.vue +0 -69
  412. package/tsconfig.json +0 -37
  413. package/tsconfig.node.json +0 -10
  414. package/vite.config.ts +0 -53
package/dist/index.d.ts CHANGED
@@ -1,26 +1,2200 @@
1
- import { App } from 'vue';
2
- import { Bubble, BubbleList } from './bubble';
3
- import { default as Container } from './container';
4
- import { default as Conversations } from './conversations';
5
- import { default as Feedback } from './feedback';
6
- import { default as History } from './history';
7
- import { default as IconButton } from './icon-button';
8
- import { Prompt, Prompts } from './prompts';
9
- import { default as Question } from './question';
10
- import { default as Sender } from './sender';
11
- import { default as Welcome } from './welcome';
12
- import { default as Suggestion } from './suggestion';
13
- export * from './bubble/index.type';
14
- export * from './container/index.type';
15
- export * from './feedback/index.type';
16
- export * from './history/index.type';
17
- export * from './icon-button/index.type';
18
- export * from './prompts/index.type';
19
- export * from './sender/index.type';
20
- export * from './welcome/index.type';
21
- export * from './suggestion/index.type';
22
- declare const _default: {
23
- install<T>(app: App<T>): void;
24
- };
25
- export default _default;
26
- export { Bubble, Bubble as TrBubble, BubbleList, BubbleList as TrBubbleList, Container, Container as TrContainer, Conversations, Conversations as TrConversations, Feedback, Feedback as TrFeedback, History, History as TrHistory, IconButton, IconButton as TrIconButton, Prompt, Prompt as TrPrompt, Prompts, Prompts as TrPrompts, Sender, Sender as TrSender, Welcome, Welcome as TrWelcome, Suggestion, Suggestion as TrSuggestion, Question, Question as TrQuestion, };
1
+ import { AllowedComponentProps } from 'vue';
2
+ import { App } from 'vue';
3
+ import { AutoSize as AutoSize_2 } from './index.type';
4
+ import { Component } from 'vue';
5
+ import { ComponentCustomProperties } from 'vue';
6
+ import { ComponentCustomProps } from 'vue';
7
+ import { ComponentInternalInstance } from 'vue';
8
+ import { ComponentOptionsBase } from 'vue';
9
+ import { ComponentOptionsMixin } from 'vue';
10
+ import { ComponentProvideOptions } from 'vue';
11
+ import { ComponentPublicInstance } from 'vue';
12
+ import { CreateComponentPublicInstanceWithMixins } from 'vue';
13
+ import { CSSProperties } from 'vue';
14
+ import { DebuggerEvent } from 'vue';
15
+ import { default as default_2 } from './Bubble.vue';
16
+ import { DefineComponent } from 'vue';
17
+ import { ExtractPropTypes } from 'vue';
18
+ import { GlobalComponents } from 'vue';
19
+ import { GlobalDirectives } from 'vue';
20
+ import { InputMode as InputMode_2 } from './index.type';
21
+ import { nextTick } from 'vue';
22
+ import { OnCleanup } from '@vue/reactivity';
23
+ import { Options } from 'markdown-it';
24
+ import { PropType } from 'vue';
25
+ import { PublicProps } from 'vue';
26
+ import { Ref } from 'vue';
27
+ import { RendererElement } from 'vue';
28
+ import { RendererNode } from 'vue';
29
+ import { ShallowUnwrapRef } from 'vue';
30
+ import { Slot } from 'vue';
31
+ import { SubmitTrigger as SubmitTrigger_2 } from './index.type';
32
+ import { TemplateEditorProps as TemplateEditorProps_2 } from './index.type';
33
+ import { ThemeType as ThemeType_2 } from './index.type';
34
+ import { VNode } from 'vue';
35
+ import { VNodeProps } from 'vue';
36
+ import { WatchOptions } from 'vue';
37
+ import { WatchStopHandle } from 'vue';
38
+
39
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
40
+ "update:show": (value: boolean) => any;
41
+ "update:fullscreen": (value: boolean | undefined) => any;
42
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
43
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
44
+ "onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
45
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
46
+
47
+ declare const __VLS_component_2: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
48
+ "item-click": (ev: MouseEvent, item: PromptProps) => any;
49
+ }, string, PublicProps, Readonly<PromptsProps> & Readonly<{
50
+ "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
51
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
52
+
53
+ declare const __VLS_component_3: DefineComponent<SenderProps, {
54
+ focus: () => void;
55
+ blur: () => void;
56
+ clear: () => void;
57
+ submit: () => void;
58
+ startSpeech: () => void;
59
+ stopSpeech: () => void;
60
+ activateTemplateFirstField: () => void;
61
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
62
+ [x: string]: any;
63
+ } & {
64
+ [x: string]: any;
65
+ }, string, PublicProps, Readonly<SenderProps> & Readonly<{
66
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
67
+ }>, {
68
+ loading: boolean;
69
+ template: string;
70
+ disabled: boolean;
71
+ modelValue: string;
72
+ mode: InputMode_2;
73
+ autofocus: boolean;
74
+ clearable: boolean;
75
+ showWordLimit: boolean;
76
+ theme: ThemeType_2;
77
+ hasContent: boolean;
78
+ allowSpeech: boolean;
79
+ allowFiles: boolean;
80
+ submitType: SubmitTrigger_2;
81
+ placeholder: string;
82
+ autoSize: AutoSize_2;
83
+ maxLength: number;
84
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
85
+ inputWrapperRef: HTMLDivElement;
86
+ templateEditorRef: CreateComponentPublicInstanceWithMixins<Readonly<TemplateEditorProps_2> & Readonly<{
87
+ onInput?: ((value: string) => any) | undefined;
88
+ "onUpdate:value"?: ((value: string) => any) | undefined;
89
+ "onContent-status"?: ((hasContent: boolean) => any) | undefined;
90
+ "onField-active"?: ((isActive: boolean, index: number) => any) | undefined;
91
+ }>, {
92
+ activateFirstField: () => void;
93
+ resetFields: () => void;
94
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
95
+ input: (value: string) => any;
96
+ "update:value": (value: string) => any;
97
+ "content-status": (hasContent: boolean) => any;
98
+ "field-active": (isActive: boolean, index: number) => any;
99
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
100
+ editorRef: HTMLDivElement;
101
+ }, HTMLDivElement, ComponentProvideOptions, {
102
+ P: {};
103
+ B: {};
104
+ D: {};
105
+ C: {};
106
+ M: {};
107
+ Defaults: {};
108
+ }, Readonly<TemplateEditorProps_2> & Readonly<{
109
+ onInput?: ((value: string) => any) | undefined;
110
+ "onUpdate:value"?: ((value: string) => any) | undefined;
111
+ "onContent-status"?: ((hasContent: boolean) => any) | undefined;
112
+ "onField-active"?: ((isActive: boolean, index: number) => any) | undefined;
113
+ }>, {
114
+ activateFirstField: () => void;
115
+ resetFields: () => void;
116
+ }, {}, {}, {}, {}> | null;
117
+ inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
118
+ _constants: {
119
+ type: ObjectConstructor;
120
+ default: () => {
121
+ INPUT_PC: string;
122
+ INPUTGROUP_PC: string;
123
+ INPUT_MOBILE: string;
124
+ INPUTGROUP_MOBILE: string;
125
+ Mode: string;
126
+ inputMode(mode: any): string;
127
+ inputGroupMode(mode: any): string;
128
+ VALIDATE_ICON: {
129
+ Validating: string;
130
+ Success: string;
131
+ Error: string;
132
+ };
133
+ COMPONENT_NAME: {
134
+ FormItem: string;
135
+ };
136
+ MASKSYMBOL: string;
137
+ TEXTAREA_HEIGHT_MOBILE: number;
138
+ };
139
+ };
140
+ name: StringConstructor;
141
+ size: StringConstructor;
142
+ form: StringConstructor;
143
+ label: StringConstructor;
144
+ height: NumberConstructor;
145
+ resize: StringConstructor;
146
+ tabindex: {
147
+ type: StringConstructor;
148
+ default: string;
149
+ };
150
+ disabled: BooleanConstructor;
151
+ readonly: BooleanConstructor;
152
+ hoverExpand: BooleanConstructor;
153
+ mask: BooleanConstructor;
154
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
155
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
156
+ modelValue: PropType<string | number | null>;
157
+ type: {
158
+ type: StringConstructor;
159
+ default: string;
160
+ };
161
+ memorySpace: {
162
+ type: NumberConstructor;
163
+ default: number;
164
+ };
165
+ vertical: {
166
+ type: BooleanConstructor;
167
+ default: boolean;
168
+ };
169
+ selectMenu: {
170
+ type: {
171
+ (arrayLength: number): {
172
+ id: string;
173
+ label: string;
174
+ }[];
175
+ (...items: {
176
+ id: string;
177
+ label: string;
178
+ }[]): {
179
+ id: string;
180
+ label: string;
181
+ }[];
182
+ new (arrayLength: number): {
183
+ id: string;
184
+ label: string;
185
+ }[];
186
+ new (...items: {
187
+ id: string;
188
+ label: string;
189
+ }[]): {
190
+ id: string;
191
+ label: string;
192
+ }[];
193
+ isArray(arg: any): arg is any[];
194
+ readonly prototype: any[];
195
+ from<T>(arrayLike: ArrayLike<T>): T[];
196
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
197
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
198
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
199
+ of<T_4>(...items: T_4[]): T_4[];
200
+ readonly [Symbol.species]: ArrayConstructor;
201
+ };
202
+ default: () => never[];
203
+ };
204
+ ellipsis: {
205
+ type: BooleanConstructor;
206
+ default: boolean;
207
+ };
208
+ contentStyle: {
209
+ type: ObjectConstructor;
210
+ default: () => {};
211
+ };
212
+ isSelect: {
213
+ type: BooleanConstructor;
214
+ default: boolean;
215
+ };
216
+ tips: StringConstructor;
217
+ counter: {
218
+ type: BooleanConstructor;
219
+ default: boolean;
220
+ };
221
+ autosize: {
222
+ type: (BooleanConstructor | ObjectConstructor)[];
223
+ default: boolean;
224
+ };
225
+ clearable: {
226
+ type: BooleanConstructor;
227
+ default: boolean;
228
+ };
229
+ autocomplete: {
230
+ type: StringConstructor;
231
+ default: string;
232
+ };
233
+ showPassword: {
234
+ type: BooleanConstructor;
235
+ default: boolean;
236
+ };
237
+ showWordLimit: {
238
+ type: BooleanConstructor;
239
+ default: boolean;
240
+ };
241
+ showTitle: {
242
+ type: BooleanConstructor;
243
+ default: boolean;
244
+ };
245
+ validateEvent: {
246
+ type: BooleanConstructor;
247
+ default: boolean;
248
+ };
249
+ popupMore: {
250
+ type: BooleanConstructor;
251
+ default: boolean;
252
+ };
253
+ textareaTitle: {
254
+ type: StringConstructor;
255
+ default: string;
256
+ };
257
+ displayOnly: {
258
+ type: BooleanConstructor;
259
+ default: boolean;
260
+ };
261
+ displayOnlyContent: {
262
+ type: StringConstructor;
263
+ default: string;
264
+ };
265
+ customClass: {
266
+ type: StringConstructor;
267
+ default: string;
268
+ };
269
+ frontClearIcon: {
270
+ type: BooleanConstructor;
271
+ default: boolean;
272
+ };
273
+ showEmptyValue: {
274
+ type: BooleanConstructor;
275
+ default: undefined;
276
+ };
277
+ textAlign: {
278
+ type: StringConstructor;
279
+ default: string;
280
+ };
281
+ width: {
282
+ type: PropType<string | number | null>;
283
+ };
284
+ showTooltip: {
285
+ type: BooleanConstructor;
286
+ default: boolean;
287
+ };
288
+ inputBoxType: {
289
+ type: StringConstructor;
290
+ default: string;
291
+ validator: (value: string) => boolean;
292
+ };
293
+ tiny_mode: StringConstructor;
294
+ tiny_mode_root: BooleanConstructor;
295
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
296
+ tiny_renderless: FunctionConstructor;
297
+ tiny_theme: StringConstructor;
298
+ tiny_chart_theme: ObjectConstructor;
299
+ }>>, () => VNode<RendererNode, RendererElement, {
300
+ [key: string]: any;
301
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
302
+ disabled: boolean;
303
+ type: string;
304
+ ellipsis: boolean;
305
+ mask: boolean;
306
+ tiny_mode_root: boolean;
307
+ _constants: Record<string, any>;
308
+ tabindex: string;
309
+ contentStyle: Record<string, any>;
310
+ customClass: string;
311
+ showTitle: boolean;
312
+ readonly: boolean;
313
+ hoverExpand: boolean;
314
+ memorySpace: number;
315
+ vertical: boolean;
316
+ selectMenu: {
317
+ id: string;
318
+ label: string;
319
+ }[];
320
+ isSelect: boolean;
321
+ counter: boolean;
322
+ autosize: boolean | Record<string, any>;
323
+ clearable: boolean;
324
+ autocomplete: string;
325
+ showPassword: boolean;
326
+ showWordLimit: boolean;
327
+ validateEvent: boolean;
328
+ popupMore: boolean;
329
+ textareaTitle: string;
330
+ displayOnly: boolean;
331
+ displayOnlyContent: string;
332
+ frontClearIcon: boolean;
333
+ showEmptyValue: boolean;
334
+ textAlign: string;
335
+ showTooltip: boolean;
336
+ inputBoxType: string;
337
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
338
+ P: {};
339
+ B: {};
340
+ D: {};
341
+ C: {};
342
+ M: {};
343
+ Defaults: {};
344
+ }, Readonly<ExtractPropTypes< {
345
+ _constants: {
346
+ type: ObjectConstructor;
347
+ default: () => {
348
+ INPUT_PC: string;
349
+ INPUTGROUP_PC: string;
350
+ INPUT_MOBILE: string;
351
+ INPUTGROUP_MOBILE: string;
352
+ Mode: string;
353
+ inputMode(mode: any): string;
354
+ inputGroupMode(mode: any): string;
355
+ VALIDATE_ICON: {
356
+ Validating: string;
357
+ Success: string;
358
+ Error: string;
359
+ };
360
+ COMPONENT_NAME: {
361
+ FormItem: string;
362
+ };
363
+ MASKSYMBOL: string;
364
+ TEXTAREA_HEIGHT_MOBILE: number;
365
+ };
366
+ };
367
+ name: StringConstructor;
368
+ size: StringConstructor;
369
+ form: StringConstructor;
370
+ label: StringConstructor;
371
+ height: NumberConstructor;
372
+ resize: StringConstructor;
373
+ tabindex: {
374
+ type: StringConstructor;
375
+ default: string;
376
+ };
377
+ disabled: BooleanConstructor;
378
+ readonly: BooleanConstructor;
379
+ hoverExpand: BooleanConstructor;
380
+ mask: BooleanConstructor;
381
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
382
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
383
+ modelValue: PropType<string | number | null>;
384
+ type: {
385
+ type: StringConstructor;
386
+ default: string;
387
+ };
388
+ memorySpace: {
389
+ type: NumberConstructor;
390
+ default: number;
391
+ };
392
+ vertical: {
393
+ type: BooleanConstructor;
394
+ default: boolean;
395
+ };
396
+ selectMenu: {
397
+ type: {
398
+ (arrayLength: number): {
399
+ id: string;
400
+ label: string;
401
+ }[];
402
+ (...items: {
403
+ id: string;
404
+ label: string;
405
+ }[]): {
406
+ id: string;
407
+ label: string;
408
+ }[];
409
+ new (arrayLength: number): {
410
+ id: string;
411
+ label: string;
412
+ }[];
413
+ new (...items: {
414
+ id: string;
415
+ label: string;
416
+ }[]): {
417
+ id: string;
418
+ label: string;
419
+ }[];
420
+ isArray(arg: any): arg is any[];
421
+ readonly prototype: any[];
422
+ from<T>(arrayLike: ArrayLike<T>): T[];
423
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
424
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
425
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
426
+ of<T_4>(...items: T_4[]): T_4[];
427
+ readonly [Symbol.species]: ArrayConstructor;
428
+ };
429
+ default: () => never[];
430
+ };
431
+ ellipsis: {
432
+ type: BooleanConstructor;
433
+ default: boolean;
434
+ };
435
+ contentStyle: {
436
+ type: ObjectConstructor;
437
+ default: () => {};
438
+ };
439
+ isSelect: {
440
+ type: BooleanConstructor;
441
+ default: boolean;
442
+ };
443
+ tips: StringConstructor;
444
+ counter: {
445
+ type: BooleanConstructor;
446
+ default: boolean;
447
+ };
448
+ autosize: {
449
+ type: (BooleanConstructor | ObjectConstructor)[];
450
+ default: boolean;
451
+ };
452
+ clearable: {
453
+ type: BooleanConstructor;
454
+ default: boolean;
455
+ };
456
+ autocomplete: {
457
+ type: StringConstructor;
458
+ default: string;
459
+ };
460
+ showPassword: {
461
+ type: BooleanConstructor;
462
+ default: boolean;
463
+ };
464
+ showWordLimit: {
465
+ type: BooleanConstructor;
466
+ default: boolean;
467
+ };
468
+ showTitle: {
469
+ type: BooleanConstructor;
470
+ default: boolean;
471
+ };
472
+ validateEvent: {
473
+ type: BooleanConstructor;
474
+ default: boolean;
475
+ };
476
+ popupMore: {
477
+ type: BooleanConstructor;
478
+ default: boolean;
479
+ };
480
+ textareaTitle: {
481
+ type: StringConstructor;
482
+ default: string;
483
+ };
484
+ displayOnly: {
485
+ type: BooleanConstructor;
486
+ default: boolean;
487
+ };
488
+ displayOnlyContent: {
489
+ type: StringConstructor;
490
+ default: string;
491
+ };
492
+ customClass: {
493
+ type: StringConstructor;
494
+ default: string;
495
+ };
496
+ frontClearIcon: {
497
+ type: BooleanConstructor;
498
+ default: boolean;
499
+ };
500
+ showEmptyValue: {
501
+ type: BooleanConstructor;
502
+ default: undefined;
503
+ };
504
+ textAlign: {
505
+ type: StringConstructor;
506
+ default: string;
507
+ };
508
+ width: {
509
+ type: PropType<string | number | null>;
510
+ };
511
+ showTooltip: {
512
+ type: BooleanConstructor;
513
+ default: boolean;
514
+ };
515
+ inputBoxType: {
516
+ type: StringConstructor;
517
+ default: string;
518
+ validator: (value: string) => boolean;
519
+ };
520
+ tiny_mode: StringConstructor;
521
+ tiny_mode_root: BooleanConstructor;
522
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
523
+ tiny_renderless: FunctionConstructor;
524
+ tiny_theme: StringConstructor;
525
+ tiny_chart_theme: ObjectConstructor;
526
+ }>>, () => VNode<RendererNode, RendererElement, {
527
+ [key: string]: any;
528
+ }>, {}, {}, {}, {
529
+ disabled: boolean;
530
+ type: string;
531
+ ellipsis: boolean;
532
+ mask: boolean;
533
+ tiny_mode_root: boolean;
534
+ _constants: Record<string, any>;
535
+ tabindex: string;
536
+ contentStyle: Record<string, any>;
537
+ customClass: string;
538
+ showTitle: boolean;
539
+ readonly: boolean;
540
+ hoverExpand: boolean;
541
+ memorySpace: number;
542
+ vertical: boolean;
543
+ selectMenu: {
544
+ id: string;
545
+ label: string;
546
+ }[];
547
+ isSelect: boolean;
548
+ counter: boolean;
549
+ autosize: boolean | Record<string, any>;
550
+ clearable: boolean;
551
+ autocomplete: string;
552
+ showPassword: boolean;
553
+ showWordLimit: boolean;
554
+ validateEvent: boolean;
555
+ popupMore: boolean;
556
+ textareaTitle: string;
557
+ displayOnly: boolean;
558
+ displayOnlyContent: string;
559
+ frontClearIcon: boolean;
560
+ showEmptyValue: boolean;
561
+ textAlign: string;
562
+ showTooltip: boolean;
563
+ inputBoxType: string;
564
+ }> | null;
565
+ buttonsContainerRef: HTMLDivElement;
566
+ }, HTMLDivElement>;
567
+
568
+ declare const __VLS_component_4: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
569
+ align: "left" | "center" | "right" | string;
570
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
571
+
572
+ declare const __VLS_component_5: DefineComponent<SuggestionProps, {
573
+ trigger: TriggerHandler;
574
+ keyDown: (e: KeyboardEvent) => void;
575
+ input: (event: Event, text: string) => boolean;
576
+ toggleExpand: () => void;
577
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
578
+ select: (value: string, context?: TriggerContext | undefined) => any;
579
+ close: () => any;
580
+ "suggestion-select": (item: SuggestionItem) => any;
581
+ "update:open": (value: boolean) => any;
582
+ trigger: (handler: TriggerHandler) => any;
583
+ "category-select": (category: Category) => any;
584
+ "update:expanded": (expanded: boolean) => any;
585
+ "fill-template": (template: string) => any;
586
+ }, string, PublicProps, Readonly<SuggestionProps> & Readonly<{
587
+ onSelect?: ((value: string, context?: TriggerContext | undefined) => any) | undefined;
588
+ onClose?: (() => any) | undefined;
589
+ "onSuggestion-select"?: ((item: SuggestionItem) => any) | undefined;
590
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
591
+ onTrigger?: ((handler: TriggerHandler) => any) | undefined;
592
+ "onCategory-select"?: ((category: Category) => any) | undefined;
593
+ "onUpdate:expanded"?: ((expanded: boolean) => any) | undefined;
594
+ "onFill-template"?: ((template: string) => any) | undefined;
595
+ }>, {
596
+ loading: boolean;
597
+ title: string;
598
+ items: SuggestionItem[];
599
+ categories: Category[];
600
+ theme: "light" | "dark";
601
+ maxVisibleItems: number;
602
+ triggerKeys: string[];
603
+ open: boolean;
604
+ closeOnOutsideClick: boolean;
605
+ defaultExpanded: boolean;
606
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
607
+ rootRef: HTMLDivElement;
608
+ panelRef: ({
609
+ $: ComponentInternalInstance;
610
+ $data: {};
611
+ $props: Partial<{
612
+ loading: boolean;
613
+ title: string;
614
+ categories: Category[];
615
+ maxVisibleItems: number;
616
+ }> & Omit<{
617
+ readonly loading: boolean;
618
+ readonly title: string;
619
+ readonly items: SuggestionItem[];
620
+ readonly categories: Category[];
621
+ readonly maxVisibleItems: number;
622
+ readonly onSelect?: ((...args: any[]) => any) | undefined;
623
+ readonly onClose?: ((...args: any[]) => any) | undefined;
624
+ readonly "onCategory-select"?: ((...args: any[]) => any) | undefined;
625
+ readonly "onItem-hover"?: ((...args: any[]) => any) | undefined;
626
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "loading" | "title" | "categories" | "maxVisibleItems">;
627
+ $attrs: {
628
+ [x: string]: unknown;
629
+ };
630
+ $refs: {
631
+ [x: string]: unknown;
632
+ };
633
+ $slots: Readonly<{
634
+ [name: string]: Slot<any> | undefined;
635
+ }>;
636
+ $root: ComponentPublicInstance | null;
637
+ $parent: ComponentPublicInstance | null;
638
+ $host: Element | null;
639
+ $emit: ((event: "select", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "category-select", ...args: any[]) => void) & ((event: "item-hover", ...args: any[]) => void);
640
+ $el: HTMLDivElement;
641
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
642
+ items: {
643
+ type: PropType<SuggestionItem[]>;
644
+ required: true;
645
+ };
646
+ categories: {
647
+ type: PropType<Category[]>;
648
+ default: () => never[];
649
+ };
650
+ loading: {
651
+ type: BooleanConstructor;
652
+ default: boolean;
653
+ };
654
+ title: {
655
+ type: StringConstructor;
656
+ default: string;
657
+ };
658
+ maxVisibleItems: {
659
+ type: NumberConstructor;
660
+ default: number;
661
+ };
662
+ }>> & Readonly<{
663
+ onSelect?: ((...args: any[]) => any) | undefined;
664
+ onClose?: ((...args: any[]) => any) | undefined;
665
+ "onCategory-select"?: ((...args: any[]) => any) | undefined;
666
+ "onItem-hover"?: ((...args: any[]) => any) | undefined;
667
+ }>, {
668
+ handleKeyDown: (e: KeyboardEvent) => void;
669
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
670
+ select: (...args: any[]) => void;
671
+ close: (...args: any[]) => void;
672
+ "category-select": (...args: any[]) => void;
673
+ "item-hover": (...args: any[]) => void;
674
+ }, string, {
675
+ loading: boolean;
676
+ title: string;
677
+ categories: Category[];
678
+ maxVisibleItems: number;
679
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
680
+ beforeCreate?: (() => void) | (() => void)[];
681
+ created?: (() => void) | (() => void)[];
682
+ beforeMount?: (() => void) | (() => void)[];
683
+ mounted?: (() => void) | (() => void)[];
684
+ beforeUpdate?: (() => void) | (() => void)[];
685
+ updated?: (() => void) | (() => void)[];
686
+ activated?: (() => void) | (() => void)[];
687
+ deactivated?: (() => void) | (() => void)[];
688
+ beforeDestroy?: (() => void) | (() => void)[];
689
+ beforeUnmount?: (() => void) | (() => void)[];
690
+ destroyed?: (() => void) | (() => void)[];
691
+ unmounted?: (() => void) | (() => void)[];
692
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
693
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
694
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
695
+ };
696
+ $forceUpdate: () => void;
697
+ $nextTick: nextTick;
698
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
699
+ } & Readonly<{
700
+ loading: boolean;
701
+ title: string;
702
+ categories: Category[];
703
+ maxVisibleItems: number;
704
+ }> & Omit<Readonly<ExtractPropTypes< {
705
+ items: {
706
+ type: PropType<SuggestionItem[]>;
707
+ required: true;
708
+ };
709
+ categories: {
710
+ type: PropType<Category[]>;
711
+ default: () => never[];
712
+ };
713
+ loading: {
714
+ type: BooleanConstructor;
715
+ default: boolean;
716
+ };
717
+ title: {
718
+ type: StringConstructor;
719
+ default: string;
720
+ };
721
+ maxVisibleItems: {
722
+ type: NumberConstructor;
723
+ default: number;
724
+ };
725
+ }>> & Readonly<{
726
+ onSelect?: ((...args: any[]) => any) | undefined;
727
+ onClose?: ((...args: any[]) => any) | undefined;
728
+ "onCategory-select"?: ((...args: any[]) => any) | undefined;
729
+ "onItem-hover"?: ((...args: any[]) => any) | undefined;
730
+ }>, "handleKeyDown" | ("loading" | "title" | "categories" | "maxVisibleItems")> & ShallowUnwrapRef< {
731
+ handleKeyDown: (e: KeyboardEvent) => void;
732
+ }> & {} & ComponentCustomProperties & {} & {
733
+ $slots: {
734
+ 'title-icon'?(_: {}): any;
735
+ 'loading-indicator'?(_: {}): any;
736
+ item?(_: {
737
+ item: SuggestionItem;
738
+ active: boolean;
739
+ }): any;
740
+ empty?(_: {}): any;
741
+ };
742
+ }) | null;
743
+ }, HTMLDivElement>;
744
+
745
+ declare const __VLS_component_6: DefineComponent<QuestionProps, {
746
+ openModal: () => void;
747
+ closeModal: () => void;
748
+ toggleFloating: () => void;
749
+ setActiveCategory: (categoryId: string) => void;
750
+ refreshData: () => Promise<void>;
751
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
752
+ "question-click": (question: Question_2) => any;
753
+ "select-category": (category: Category_2) => any;
754
+ }, string, PublicProps, Readonly<QuestionProps> & Readonly<{
755
+ "onQuestion-click"?: ((question: Question_2) => any) | undefined;
756
+ "onSelect-category"?: ((category: Category_2) => any) | undefined;
757
+ }>, {
758
+ loading: boolean;
759
+ categories: Category_2[];
760
+ modalWidth: string;
761
+ closeOnClickOutside: boolean;
762
+ commonQuestions: Question_2[];
763
+ initialExpanded: boolean;
764
+ theme: ThemeType_2;
765
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
766
+
767
+ declare type __VLS_PublicProps = {
768
+ 'show': ContainerProps['show'];
769
+ 'fullscreen'?: ContainerProps['fullscreen'];
770
+ };
771
+
772
+ declare function __VLS_template(): {
773
+ attrs: Partial<{}>;
774
+ slots: Readonly<ContainerSlots> & ContainerSlots;
775
+ refs: {};
776
+ rootEl: HTMLDivElement;
777
+ };
778
+
779
+ declare function __VLS_template_2(): {
780
+ attrs: Partial<{}>;
781
+ slots: Readonly<PromptsSlots> & PromptsSlots;
782
+ refs: {};
783
+ rootEl: HTMLDivElement;
784
+ };
785
+
786
+ declare function __VLS_template_3(): {
787
+ attrs: Partial<{}>;
788
+ slots: {
789
+ header?(_: {}): any;
790
+ prefix?(_: {}): any;
791
+ decorativeContent?(_: {}): any;
792
+ actions?(_: {}): any;
793
+ 'footer-left'?(_: {}): any;
794
+ 'footer-right'?(_: {}): any;
795
+ footer?(_: {}): any;
796
+ };
797
+ refs: {
798
+ inputWrapperRef: HTMLDivElement;
799
+ templateEditorRef: CreateComponentPublicInstanceWithMixins<Readonly<TemplateEditorProps_2> & Readonly<{
800
+ onInput?: ((value: string) => any) | undefined;
801
+ "onUpdate:value"?: ((value: string) => any) | undefined;
802
+ "onContent-status"?: ((hasContent: boolean) => any) | undefined;
803
+ "onField-active"?: ((isActive: boolean, index: number) => any) | undefined;
804
+ }>, {
805
+ activateFirstField: () => void;
806
+ resetFields: () => void;
807
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
808
+ input: (value: string) => any;
809
+ "update:value": (value: string) => any;
810
+ "content-status": (hasContent: boolean) => any;
811
+ "field-active": (isActive: boolean, index: number) => any;
812
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
813
+ editorRef: HTMLDivElement;
814
+ }, HTMLDivElement, ComponentProvideOptions, {
815
+ P: {};
816
+ B: {};
817
+ D: {};
818
+ C: {};
819
+ M: {};
820
+ Defaults: {};
821
+ }, Readonly<TemplateEditorProps_2> & Readonly<{
822
+ onInput?: ((value: string) => any) | undefined;
823
+ "onUpdate:value"?: ((value: string) => any) | undefined;
824
+ "onContent-status"?: ((hasContent: boolean) => any) | undefined;
825
+ "onField-active"?: ((isActive: boolean, index: number) => any) | undefined;
826
+ }>, {
827
+ activateFirstField: () => void;
828
+ resetFields: () => void;
829
+ }, {}, {}, {}, {}> | null;
830
+ inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
831
+ _constants: {
832
+ type: ObjectConstructor;
833
+ default: () => {
834
+ INPUT_PC: string;
835
+ INPUTGROUP_PC: string;
836
+ INPUT_MOBILE: string;
837
+ INPUTGROUP_MOBILE: string;
838
+ Mode: string;
839
+ inputMode(mode: any): string;
840
+ inputGroupMode(mode: any): string;
841
+ VALIDATE_ICON: {
842
+ Validating: string;
843
+ Success: string;
844
+ Error: string;
845
+ };
846
+ COMPONENT_NAME: {
847
+ FormItem: string;
848
+ };
849
+ MASKSYMBOL: string;
850
+ TEXTAREA_HEIGHT_MOBILE: number;
851
+ };
852
+ };
853
+ name: StringConstructor;
854
+ size: StringConstructor;
855
+ form: StringConstructor;
856
+ label: StringConstructor;
857
+ height: NumberConstructor;
858
+ resize: StringConstructor;
859
+ tabindex: {
860
+ type: StringConstructor;
861
+ default: string;
862
+ };
863
+ disabled: BooleanConstructor;
864
+ readonly: BooleanConstructor;
865
+ hoverExpand: BooleanConstructor;
866
+ mask: BooleanConstructor;
867
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
868
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
869
+ modelValue: PropType<string | number | null>;
870
+ type: {
871
+ type: StringConstructor;
872
+ default: string;
873
+ };
874
+ memorySpace: {
875
+ type: NumberConstructor;
876
+ default: number;
877
+ };
878
+ vertical: {
879
+ type: BooleanConstructor;
880
+ default: boolean;
881
+ };
882
+ selectMenu: {
883
+ type: {
884
+ (arrayLength: number): {
885
+ id: string;
886
+ label: string;
887
+ }[];
888
+ (...items: {
889
+ id: string;
890
+ label: string;
891
+ }[]): {
892
+ id: string;
893
+ label: string;
894
+ }[];
895
+ new (arrayLength: number): {
896
+ id: string;
897
+ label: string;
898
+ }[];
899
+ new (...items: {
900
+ id: string;
901
+ label: string;
902
+ }[]): {
903
+ id: string;
904
+ label: string;
905
+ }[];
906
+ isArray(arg: any): arg is any[];
907
+ readonly prototype: any[];
908
+ from<T>(arrayLike: ArrayLike<T>): T[];
909
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
910
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
911
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
912
+ of<T_4>(...items: T_4[]): T_4[];
913
+ readonly [Symbol.species]: ArrayConstructor;
914
+ };
915
+ default: () => never[];
916
+ };
917
+ ellipsis: {
918
+ type: BooleanConstructor;
919
+ default: boolean;
920
+ };
921
+ contentStyle: {
922
+ type: ObjectConstructor;
923
+ default: () => {};
924
+ };
925
+ isSelect: {
926
+ type: BooleanConstructor;
927
+ default: boolean;
928
+ };
929
+ tips: StringConstructor;
930
+ counter: {
931
+ type: BooleanConstructor;
932
+ default: boolean;
933
+ };
934
+ autosize: {
935
+ type: (BooleanConstructor | ObjectConstructor)[];
936
+ default: boolean;
937
+ };
938
+ clearable: {
939
+ type: BooleanConstructor;
940
+ default: boolean;
941
+ };
942
+ autocomplete: {
943
+ type: StringConstructor;
944
+ default: string;
945
+ };
946
+ showPassword: {
947
+ type: BooleanConstructor;
948
+ default: boolean;
949
+ };
950
+ showWordLimit: {
951
+ type: BooleanConstructor;
952
+ default: boolean;
953
+ };
954
+ showTitle: {
955
+ type: BooleanConstructor;
956
+ default: boolean;
957
+ };
958
+ validateEvent: {
959
+ type: BooleanConstructor;
960
+ default: boolean;
961
+ };
962
+ popupMore: {
963
+ type: BooleanConstructor;
964
+ default: boolean;
965
+ };
966
+ textareaTitle: {
967
+ type: StringConstructor;
968
+ default: string;
969
+ };
970
+ displayOnly: {
971
+ type: BooleanConstructor;
972
+ default: boolean;
973
+ };
974
+ displayOnlyContent: {
975
+ type: StringConstructor;
976
+ default: string;
977
+ };
978
+ customClass: {
979
+ type: StringConstructor;
980
+ default: string;
981
+ };
982
+ frontClearIcon: {
983
+ type: BooleanConstructor;
984
+ default: boolean;
985
+ };
986
+ showEmptyValue: {
987
+ type: BooleanConstructor;
988
+ default: undefined;
989
+ };
990
+ textAlign: {
991
+ type: StringConstructor;
992
+ default: string;
993
+ };
994
+ width: {
995
+ type: PropType<string | number | null>;
996
+ };
997
+ showTooltip: {
998
+ type: BooleanConstructor;
999
+ default: boolean;
1000
+ };
1001
+ inputBoxType: {
1002
+ type: StringConstructor;
1003
+ default: string;
1004
+ validator: (value: string) => boolean;
1005
+ };
1006
+ tiny_mode: StringConstructor;
1007
+ tiny_mode_root: BooleanConstructor;
1008
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
1009
+ tiny_renderless: FunctionConstructor;
1010
+ tiny_theme: StringConstructor;
1011
+ tiny_chart_theme: ObjectConstructor;
1012
+ }>>, () => VNode<RendererNode, RendererElement, {
1013
+ [key: string]: any;
1014
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
1015
+ disabled: boolean;
1016
+ type: string;
1017
+ ellipsis: boolean;
1018
+ mask: boolean;
1019
+ tiny_mode_root: boolean;
1020
+ _constants: Record<string, any>;
1021
+ tabindex: string;
1022
+ contentStyle: Record<string, any>;
1023
+ customClass: string;
1024
+ showTitle: boolean;
1025
+ readonly: boolean;
1026
+ hoverExpand: boolean;
1027
+ memorySpace: number;
1028
+ vertical: boolean;
1029
+ selectMenu: {
1030
+ id: string;
1031
+ label: string;
1032
+ }[];
1033
+ isSelect: boolean;
1034
+ counter: boolean;
1035
+ autosize: boolean | Record<string, any>;
1036
+ clearable: boolean;
1037
+ autocomplete: string;
1038
+ showPassword: boolean;
1039
+ showWordLimit: boolean;
1040
+ validateEvent: boolean;
1041
+ popupMore: boolean;
1042
+ textareaTitle: string;
1043
+ displayOnly: boolean;
1044
+ displayOnlyContent: string;
1045
+ frontClearIcon: boolean;
1046
+ showEmptyValue: boolean;
1047
+ textAlign: string;
1048
+ showTooltip: boolean;
1049
+ inputBoxType: string;
1050
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1051
+ P: {};
1052
+ B: {};
1053
+ D: {};
1054
+ C: {};
1055
+ M: {};
1056
+ Defaults: {};
1057
+ }, Readonly<ExtractPropTypes< {
1058
+ _constants: {
1059
+ type: ObjectConstructor;
1060
+ default: () => {
1061
+ INPUT_PC: string;
1062
+ INPUTGROUP_PC: string;
1063
+ INPUT_MOBILE: string;
1064
+ INPUTGROUP_MOBILE: string;
1065
+ Mode: string;
1066
+ inputMode(mode: any): string;
1067
+ inputGroupMode(mode: any): string;
1068
+ VALIDATE_ICON: {
1069
+ Validating: string;
1070
+ Success: string;
1071
+ Error: string;
1072
+ };
1073
+ COMPONENT_NAME: {
1074
+ FormItem: string;
1075
+ };
1076
+ MASKSYMBOL: string;
1077
+ TEXTAREA_HEIGHT_MOBILE: number;
1078
+ };
1079
+ };
1080
+ name: StringConstructor;
1081
+ size: StringConstructor;
1082
+ form: StringConstructor;
1083
+ label: StringConstructor;
1084
+ height: NumberConstructor;
1085
+ resize: StringConstructor;
1086
+ tabindex: {
1087
+ type: StringConstructor;
1088
+ default: string;
1089
+ };
1090
+ disabled: BooleanConstructor;
1091
+ readonly: BooleanConstructor;
1092
+ hoverExpand: BooleanConstructor;
1093
+ mask: BooleanConstructor;
1094
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
1095
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
1096
+ modelValue: PropType<string | number | null>;
1097
+ type: {
1098
+ type: StringConstructor;
1099
+ default: string;
1100
+ };
1101
+ memorySpace: {
1102
+ type: NumberConstructor;
1103
+ default: number;
1104
+ };
1105
+ vertical: {
1106
+ type: BooleanConstructor;
1107
+ default: boolean;
1108
+ };
1109
+ selectMenu: {
1110
+ type: {
1111
+ (arrayLength: number): {
1112
+ id: string;
1113
+ label: string;
1114
+ }[];
1115
+ (...items: {
1116
+ id: string;
1117
+ label: string;
1118
+ }[]): {
1119
+ id: string;
1120
+ label: string;
1121
+ }[];
1122
+ new (arrayLength: number): {
1123
+ id: string;
1124
+ label: string;
1125
+ }[];
1126
+ new (...items: {
1127
+ id: string;
1128
+ label: string;
1129
+ }[]): {
1130
+ id: string;
1131
+ label: string;
1132
+ }[];
1133
+ isArray(arg: any): arg is any[];
1134
+ readonly prototype: any[];
1135
+ from<T>(arrayLike: ArrayLike<T>): T[];
1136
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
1137
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
1138
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
1139
+ of<T_4>(...items: T_4[]): T_4[];
1140
+ readonly [Symbol.species]: ArrayConstructor;
1141
+ };
1142
+ default: () => never[];
1143
+ };
1144
+ ellipsis: {
1145
+ type: BooleanConstructor;
1146
+ default: boolean;
1147
+ };
1148
+ contentStyle: {
1149
+ type: ObjectConstructor;
1150
+ default: () => {};
1151
+ };
1152
+ isSelect: {
1153
+ type: BooleanConstructor;
1154
+ default: boolean;
1155
+ };
1156
+ tips: StringConstructor;
1157
+ counter: {
1158
+ type: BooleanConstructor;
1159
+ default: boolean;
1160
+ };
1161
+ autosize: {
1162
+ type: (BooleanConstructor | ObjectConstructor)[];
1163
+ default: boolean;
1164
+ };
1165
+ clearable: {
1166
+ type: BooleanConstructor;
1167
+ default: boolean;
1168
+ };
1169
+ autocomplete: {
1170
+ type: StringConstructor;
1171
+ default: string;
1172
+ };
1173
+ showPassword: {
1174
+ type: BooleanConstructor;
1175
+ default: boolean;
1176
+ };
1177
+ showWordLimit: {
1178
+ type: BooleanConstructor;
1179
+ default: boolean;
1180
+ };
1181
+ showTitle: {
1182
+ type: BooleanConstructor;
1183
+ default: boolean;
1184
+ };
1185
+ validateEvent: {
1186
+ type: BooleanConstructor;
1187
+ default: boolean;
1188
+ };
1189
+ popupMore: {
1190
+ type: BooleanConstructor;
1191
+ default: boolean;
1192
+ };
1193
+ textareaTitle: {
1194
+ type: StringConstructor;
1195
+ default: string;
1196
+ };
1197
+ displayOnly: {
1198
+ type: BooleanConstructor;
1199
+ default: boolean;
1200
+ };
1201
+ displayOnlyContent: {
1202
+ type: StringConstructor;
1203
+ default: string;
1204
+ };
1205
+ customClass: {
1206
+ type: StringConstructor;
1207
+ default: string;
1208
+ };
1209
+ frontClearIcon: {
1210
+ type: BooleanConstructor;
1211
+ default: boolean;
1212
+ };
1213
+ showEmptyValue: {
1214
+ type: BooleanConstructor;
1215
+ default: undefined;
1216
+ };
1217
+ textAlign: {
1218
+ type: StringConstructor;
1219
+ default: string;
1220
+ };
1221
+ width: {
1222
+ type: PropType<string | number | null>;
1223
+ };
1224
+ showTooltip: {
1225
+ type: BooleanConstructor;
1226
+ default: boolean;
1227
+ };
1228
+ inputBoxType: {
1229
+ type: StringConstructor;
1230
+ default: string;
1231
+ validator: (value: string) => boolean;
1232
+ };
1233
+ tiny_mode: StringConstructor;
1234
+ tiny_mode_root: BooleanConstructor;
1235
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
1236
+ tiny_renderless: FunctionConstructor;
1237
+ tiny_theme: StringConstructor;
1238
+ tiny_chart_theme: ObjectConstructor;
1239
+ }>>, () => VNode<RendererNode, RendererElement, {
1240
+ [key: string]: any;
1241
+ }>, {}, {}, {}, {
1242
+ disabled: boolean;
1243
+ type: string;
1244
+ ellipsis: boolean;
1245
+ mask: boolean;
1246
+ tiny_mode_root: boolean;
1247
+ _constants: Record<string, any>;
1248
+ tabindex: string;
1249
+ contentStyle: Record<string, any>;
1250
+ customClass: string;
1251
+ showTitle: boolean;
1252
+ readonly: boolean;
1253
+ hoverExpand: boolean;
1254
+ memorySpace: number;
1255
+ vertical: boolean;
1256
+ selectMenu: {
1257
+ id: string;
1258
+ label: string;
1259
+ }[];
1260
+ isSelect: boolean;
1261
+ counter: boolean;
1262
+ autosize: boolean | Record<string, any>;
1263
+ clearable: boolean;
1264
+ autocomplete: string;
1265
+ showPassword: boolean;
1266
+ showWordLimit: boolean;
1267
+ validateEvent: boolean;
1268
+ popupMore: boolean;
1269
+ textareaTitle: string;
1270
+ displayOnly: boolean;
1271
+ displayOnlyContent: string;
1272
+ frontClearIcon: boolean;
1273
+ showEmptyValue: boolean;
1274
+ textAlign: string;
1275
+ showTooltip: boolean;
1276
+ inputBoxType: string;
1277
+ }> | null;
1278
+ buttonsContainerRef: HTMLDivElement;
1279
+ };
1280
+ rootEl: HTMLDivElement;
1281
+ };
1282
+
1283
+ declare function __VLS_template_4(): {
1284
+ attrs: Partial<{}>;
1285
+ slots: Readonly<WelcomeSlots> & WelcomeSlots;
1286
+ refs: {};
1287
+ rootEl: HTMLDivElement;
1288
+ };
1289
+
1290
+ declare function __VLS_template_5(): {
1291
+ attrs: Partial<{}>;
1292
+ slots: {
1293
+ 'capsule-icon'?(_: {
1294
+ suggestion: any;
1295
+ }): any;
1296
+ trigger?(_: {
1297
+ onTrigger: TriggerHandler;
1298
+ onKeyDown: (e: KeyboardEvent) => void;
1299
+ onInput: (event: Event, text: string) => boolean;
1300
+ }): any;
1301
+ 'title-icon'?(_: {}): any;
1302
+ 'category-label'?(_: {
1303
+ category: any;
1304
+ }): any;
1305
+ item?(_: {
1306
+ item: SuggestionItem;
1307
+ active: boolean;
1308
+ }): any;
1309
+ 'loading-indicator'?(_: {}): any;
1310
+ empty?(_: {}): any;
1311
+ };
1312
+ refs: {
1313
+ rootRef: HTMLDivElement;
1314
+ panelRef: ({
1315
+ $: ComponentInternalInstance;
1316
+ $data: {};
1317
+ $props: Partial<{
1318
+ loading: boolean;
1319
+ title: string;
1320
+ categories: Category[];
1321
+ maxVisibleItems: number;
1322
+ }> & Omit<{
1323
+ readonly loading: boolean;
1324
+ readonly title: string;
1325
+ readonly items: SuggestionItem[];
1326
+ readonly categories: Category[];
1327
+ readonly maxVisibleItems: number;
1328
+ readonly onSelect?: ((...args: any[]) => any) | undefined;
1329
+ readonly onClose?: ((...args: any[]) => any) | undefined;
1330
+ readonly "onCategory-select"?: ((...args: any[]) => any) | undefined;
1331
+ readonly "onItem-hover"?: ((...args: any[]) => any) | undefined;
1332
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "loading" | "title" | "categories" | "maxVisibleItems">;
1333
+ $attrs: {
1334
+ [x: string]: unknown;
1335
+ };
1336
+ $refs: {
1337
+ [x: string]: unknown;
1338
+ };
1339
+ $slots: Readonly<{
1340
+ [name: string]: Slot<any> | undefined;
1341
+ }>;
1342
+ $root: ComponentPublicInstance | null;
1343
+ $parent: ComponentPublicInstance | null;
1344
+ $host: Element | null;
1345
+ $emit: ((event: "select", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "category-select", ...args: any[]) => void) & ((event: "item-hover", ...args: any[]) => void);
1346
+ $el: HTMLDivElement;
1347
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
1348
+ items: {
1349
+ type: PropType<SuggestionItem[]>;
1350
+ required: true;
1351
+ };
1352
+ categories: {
1353
+ type: PropType<Category[]>;
1354
+ default: () => never[];
1355
+ };
1356
+ loading: {
1357
+ type: BooleanConstructor;
1358
+ default: boolean;
1359
+ };
1360
+ title: {
1361
+ type: StringConstructor;
1362
+ default: string;
1363
+ };
1364
+ maxVisibleItems: {
1365
+ type: NumberConstructor;
1366
+ default: number;
1367
+ };
1368
+ }>> & Readonly<{
1369
+ onSelect?: ((...args: any[]) => any) | undefined;
1370
+ onClose?: ((...args: any[]) => any) | undefined;
1371
+ "onCategory-select"?: ((...args: any[]) => any) | undefined;
1372
+ "onItem-hover"?: ((...args: any[]) => any) | undefined;
1373
+ }>, {
1374
+ handleKeyDown: (e: KeyboardEvent) => void;
1375
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1376
+ select: (...args: any[]) => void;
1377
+ close: (...args: any[]) => void;
1378
+ "category-select": (...args: any[]) => void;
1379
+ "item-hover": (...args: any[]) => void;
1380
+ }, string, {
1381
+ loading: boolean;
1382
+ title: string;
1383
+ categories: Category[];
1384
+ maxVisibleItems: number;
1385
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1386
+ beforeCreate?: (() => void) | (() => void)[];
1387
+ created?: (() => void) | (() => void)[];
1388
+ beforeMount?: (() => void) | (() => void)[];
1389
+ mounted?: (() => void) | (() => void)[];
1390
+ beforeUpdate?: (() => void) | (() => void)[];
1391
+ updated?: (() => void) | (() => void)[];
1392
+ activated?: (() => void) | (() => void)[];
1393
+ deactivated?: (() => void) | (() => void)[];
1394
+ beforeDestroy?: (() => void) | (() => void)[];
1395
+ beforeUnmount?: (() => void) | (() => void)[];
1396
+ destroyed?: (() => void) | (() => void)[];
1397
+ unmounted?: (() => void) | (() => void)[];
1398
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1399
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1400
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1401
+ };
1402
+ $forceUpdate: () => void;
1403
+ $nextTick: nextTick;
1404
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1405
+ } & Readonly<{
1406
+ loading: boolean;
1407
+ title: string;
1408
+ categories: Category[];
1409
+ maxVisibleItems: number;
1410
+ }> & Omit<Readonly<ExtractPropTypes< {
1411
+ items: {
1412
+ type: PropType<SuggestionItem[]>;
1413
+ required: true;
1414
+ };
1415
+ categories: {
1416
+ type: PropType<Category[]>;
1417
+ default: () => never[];
1418
+ };
1419
+ loading: {
1420
+ type: BooleanConstructor;
1421
+ default: boolean;
1422
+ };
1423
+ title: {
1424
+ type: StringConstructor;
1425
+ default: string;
1426
+ };
1427
+ maxVisibleItems: {
1428
+ type: NumberConstructor;
1429
+ default: number;
1430
+ };
1431
+ }>> & Readonly<{
1432
+ onSelect?: ((...args: any[]) => any) | undefined;
1433
+ onClose?: ((...args: any[]) => any) | undefined;
1434
+ "onCategory-select"?: ((...args: any[]) => any) | undefined;
1435
+ "onItem-hover"?: ((...args: any[]) => any) | undefined;
1436
+ }>, "handleKeyDown" | ("loading" | "title" | "categories" | "maxVisibleItems")> & ShallowUnwrapRef< {
1437
+ handleKeyDown: (e: KeyboardEvent) => void;
1438
+ }> & {} & ComponentCustomProperties & {} & {
1439
+ $slots: {
1440
+ 'title-icon'?(_: {}): any;
1441
+ 'loading-indicator'?(_: {}): any;
1442
+ item?(_: {
1443
+ item: SuggestionItem;
1444
+ active: boolean;
1445
+ }): any;
1446
+ empty?(_: {}): any;
1447
+ };
1448
+ }) | null;
1449
+ };
1450
+ rootEl: HTMLDivElement;
1451
+ };
1452
+
1453
+ declare function __VLS_template_6(): {
1454
+ attrs: Partial<{}>;
1455
+ slots: {
1456
+ 'category-label'?(_: {
1457
+ category: Category_2;
1458
+ }): any;
1459
+ 'question-item'?(_: {
1460
+ question: Question_2;
1461
+ index: number;
1462
+ }): any;
1463
+ 'loading-indicator'?(_: {}): any;
1464
+ 'empty-state'?(_: {}): any;
1465
+ };
1466
+ refs: {};
1467
+ rootEl: HTMLDivElement;
1468
+ };
1469
+
1470
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1471
+
1472
+ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1473
+
1474
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
1475
+
1476
+ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
1477
+
1478
+ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
1479
+
1480
+ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
1481
+
1482
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
1483
+ new (): {
1484
+ $slots: S;
1485
+ };
1486
+ };
1487
+
1488
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1489
+ new (): {
1490
+ $slots: S;
1491
+ };
1492
+ };
1493
+
1494
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
1495
+ new (): {
1496
+ $slots: S;
1497
+ };
1498
+ };
1499
+
1500
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
1501
+ new (): {
1502
+ $slots: S;
1503
+ };
1504
+ };
1505
+
1506
+ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
1507
+ new (): {
1508
+ $slots: S;
1509
+ };
1510
+ };
1511
+
1512
+ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
1513
+ new (): {
1514
+ $slots: S;
1515
+ };
1516
+ };
1517
+
1518
+ export declare interface ActionButtonsProps {
1519
+ loading?: boolean;
1520
+ disabled?: boolean;
1521
+ showClear?: boolean;
1522
+ hasContent?: boolean;
1523
+ allowSpeech?: boolean;
1524
+ speechStatus?: {
1525
+ isRecording: boolean;
1526
+ isSupported: boolean;
1527
+ };
1528
+ allowFiles?: boolean;
1529
+ submitType?: SubmitTrigger;
1530
+ showShortcuts?: boolean;
1531
+ isOverLimit?: boolean;
1532
+ }
1533
+
1534
+ export declare type AutoSize = boolean | {
1535
+ minRows: number;
1536
+ maxRows: number;
1537
+ };
1538
+
1539
+ declare interface BaseHistoryProps {
1540
+ activeTab?: string;
1541
+ searchBar?: boolean;
1542
+ searchQuery?: string;
1543
+ searchPlaceholder?: string;
1544
+ searchFn?: (query: string, item: HistoryItem) => boolean;
1545
+ selected?: string;
1546
+ }
1547
+
1548
+ declare const Bubble: typeof default_2 & {
1549
+ install: typeof bubbleInstall;
1550
+ };
1551
+ export { Bubble }
1552
+ export { Bubble as TrBubble }
1553
+
1554
+ declare const bubbleInstall: (app: App) => void;
1555
+
1556
+ declare const BubbleList: typeof _default_11 & {
1557
+ install: typeof bubbleListInstall;
1558
+ };
1559
+ export { BubbleList }
1560
+ export { BubbleList as TrBubbleList }
1561
+
1562
+ declare const bubbleListInstall: (app: App) => void;
1563
+
1564
+ export declare interface BubbleListProps {
1565
+ items: (BubbleProps & {
1566
+ slots?: BubbleSlots;
1567
+ })[];
1568
+ /**
1569
+ * 每个角色的默认配置项
1570
+ */
1571
+ roles?: Record<string, BubbleRoleConfig>;
1572
+ autoScroll?: boolean;
1573
+ }
1574
+
1575
+ export declare type BubblePalcement = 'start' | 'end';
1576
+
1577
+ export declare interface BubbleProps {
1578
+ /**
1579
+ * 气泡内容
1580
+ */
1581
+ content?: string;
1582
+ id?: string | number | symbol;
1583
+ /**
1584
+ * 气泡位置
1585
+ */
1586
+ placement?: BubblePalcement;
1587
+ avatar?: VNode;
1588
+ role?: string;
1589
+ /**
1590
+ * 内容类型
1591
+ */
1592
+ type?: 'text' | 'markdown';
1593
+ loading?: boolean;
1594
+ aborted?: boolean;
1595
+ /**
1596
+ * type 为 'markdown' 时,markdown 的配置项
1597
+ */
1598
+ mdConfig?: Options;
1599
+ maxWidth?: CSSProperties['maxWidth'];
1600
+ }
1601
+
1602
+ export declare type BubbleRoleConfig = Pick<BubbleProps, 'placement' | 'avatar' | 'type' | 'mdConfig' | 'maxWidth'> & {
1603
+ slots?: BubbleSlots;
1604
+ };
1605
+
1606
+ export declare interface BubbleSlots {
1607
+ default?: (slotProps: {
1608
+ bubbleProps: BubbleProps;
1609
+ }) => unknown;
1610
+ footer?: (slotProps: {
1611
+ bubbleProps: BubbleProps;
1612
+ }) => unknown;
1613
+ loading?: (slotProps: {
1614
+ bubbleProps: BubbleProps;
1615
+ }) => unknown;
1616
+ }
1617
+
1618
+ /**
1619
+ * 分类定义
1620
+ */
1621
+ export declare interface Category {
1622
+ /** 唯一标识 */
1623
+ id: string;
1624
+ /** 显示名称 */
1625
+ label: string;
1626
+ /** 可选图标 */
1627
+ icon?: VNode;
1628
+ /** 该分类下的指令项 */
1629
+ items: SuggestionItem[];
1630
+ }
1631
+
1632
+ declare interface Category_2 {
1633
+ id: string;
1634
+ label: string;
1635
+ icon?: string;
1636
+ questions: Question_2[];
1637
+ }
1638
+
1639
+ export declare interface ContainerProps {
1640
+ /**
1641
+ * model:show
1642
+ */
1643
+ show: boolean;
1644
+ /**
1645
+ * model:fullscreen
1646
+ */
1647
+ fullscreen?: boolean;
1648
+ }
1649
+
1650
+ export declare interface ContainerSlots {
1651
+ default: () => unknown;
1652
+ title: () => unknown;
1653
+ operations: () => unknown;
1654
+ footer: () => unknown;
1655
+ }
1656
+
1657
+ declare const _default: {
1658
+ install<T>(app: App<T>): void;
1659
+ };
1660
+ export default _default;
1661
+
1662
+ declare const _default_10: typeof _default_21 & {
1663
+ install: typeof install_8;
1664
+ };
1665
+ export { _default_10 as Question }
1666
+ export { _default_10 as TrQuestion }
1667
+
1668
+ declare const _default_11: DefineComponent<BubbleListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1669
+ scrollContainer: HTMLDivElement;
1670
+ }, HTMLDivElement>;
1671
+
1672
+ declare const _default_12: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1673
+
1674
+ declare const _default_13: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1675
+
1676
+ declare const _default_14: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1677
+ operation: (name: string) => any;
1678
+ action: (name: string) => any;
1679
+ }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
1680
+ onOperation?: ((name: string) => any) | undefined;
1681
+ onAction?: ((name: string) => any) | undefined;
1682
+ }>, {
1683
+ operationsLimit: number;
1684
+ actionsLimit: number;
1685
+ sourcesLinesLimit: number;
1686
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1687
+
1688
+ declare const _default_15: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
1689
+ size: string | number;
1690
+ svgSize: string | number;
1691
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
1692
+
1693
+ declare const _default_16: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1694
+
1695
+ declare const _default_17: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1696
+
1697
+ declare const _default_18: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
1698
+
1699
+ declare const _default_19: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
1700
+
1701
+ declare const _default_2: typeof _default_12 & {
1702
+ install: typeof install;
1703
+ };
1704
+ export { _default_2 as Container }
1705
+ export { _default_2 as TrContainer }
1706
+
1707
+ declare const _default_20: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
1708
+
1709
+ declare const _default_21: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
1710
+
1711
+ declare const _default_3: typeof _default_13 & {
1712
+ install: typeof install_2;
1713
+ };
1714
+ export { _default_3 as Conversations }
1715
+ export { _default_3 as TrConversations }
1716
+
1717
+ declare const _default_4: typeof _default_14 & {
1718
+ install: typeof install_3;
1719
+ };
1720
+ export { _default_4 as Feedback }
1721
+ export { _default_4 as TrFeedback }
1722
+
1723
+ declare const _default_5: {
1724
+ install: <T>(app: App<T>) => void;
1725
+ name: string;
1726
+ };
1727
+ export { _default_5 as History }
1728
+ export { _default_5 as TrHistory }
1729
+
1730
+ declare const _default_6: typeof _default_15 & {
1731
+ install: typeof install_4;
1732
+ };
1733
+ export { _default_6 as IconButton }
1734
+ export { _default_6 as TrIconButton }
1735
+
1736
+ declare const _default_7: typeof _default_18 & {
1737
+ install: typeof install_5;
1738
+ };
1739
+ export { _default_7 as Sender }
1740
+ export { _default_7 as TrSender }
1741
+
1742
+ declare const _default_8: typeof _default_19 & {
1743
+ install: typeof install_6;
1744
+ };
1745
+ export { _default_8 as TrWelcome }
1746
+ export { _default_8 as Welcome }
1747
+
1748
+ declare const _default_9: typeof _default_20 & {
1749
+ install: typeof install_7;
1750
+ };
1751
+ export { _default_9 as Suggestion }
1752
+ export { _default_9 as TrSuggestion }
1753
+
1754
+ export declare interface FeedbackEvents {
1755
+ (e: 'operation', name: string): void;
1756
+ (e: 'action', name: string): void;
1757
+ }
1758
+
1759
+ export declare interface FeedbackProps {
1760
+ operations?: {
1761
+ name: string;
1762
+ label: string;
1763
+ onClick?: () => void;
1764
+ }[];
1765
+ operationsLimit?: number;
1766
+ actions?: {
1767
+ name: string;
1768
+ label: string;
1769
+ icon?: 'copy' | 'refresh' | 'like' | 'dislike' | VNode | Component;
1770
+ onClick?: () => void;
1771
+ }[];
1772
+ actionsLimit?: number;
1773
+ sources?: {
1774
+ label: string;
1775
+ link: string;
1776
+ }[];
1777
+ sourcesLinesLimit?: number;
1778
+ }
1779
+
1780
+ export declare type HistoryData = HistoryItem[] | HistoryGroup[];
1781
+
1782
+ export declare interface HistoryEvents {
1783
+ (e: 'close'): void;
1784
+ (e: 'item-click', item: HistoryItem): void;
1785
+ (e: 'item-title-change', newTitle: string, rawData: HistoryItem): void;
1786
+ (e: 'item-delete', item: HistoryItem): void;
1787
+ }
1788
+
1789
+ export declare interface HistoryGroup<T = Record<string, unknown>> {
1790
+ group: string | symbol;
1791
+ items: HistoryItem<T>[];
1792
+ }
1793
+
1794
+ export declare interface HistoryItem<T = Record<string, unknown>> {
1795
+ id: string;
1796
+ title: string;
1797
+ tag?: HistoryItemTagProps;
1798
+ data?: T;
1799
+ }
1800
+
1801
+ export declare interface HistoryItemTagProps {
1802
+ text: string;
1803
+ type?: 'success' | 'warning' | 'error' | 'info' | 'default';
1804
+ style?: CSSProperties;
1805
+ }
1806
+
1807
+ export declare type HistoryProps = SingleTabHistoryProps | MultiTabHistoryProps;
1808
+
1809
+ export declare interface IconButtonProps {
1810
+ icon: VNode | Component;
1811
+ size?: string | number;
1812
+ svgSize?: string | number;
1813
+ rounded?: boolean;
1814
+ }
1815
+
1816
+ export declare interface InputHandler {
1817
+ inputValue: Ref<string>;
1818
+ isComposing: Ref<boolean>;
1819
+ clearInput: () => void;
1820
+ }
1821
+
1822
+ export declare type InputMode = 'single' | 'multiple';
1823
+
1824
+ declare const install: <T>(app: App<T>) => void;
1825
+
1826
+ declare const install_2: <T>(app: App<T>) => void;
1827
+
1828
+ declare const install_3: <T>(app: App<T>) => void;
1829
+
1830
+ declare const install_4: <T>(app: App<T>) => void;
1831
+
1832
+ declare const install_5: <T>(app: App<T>) => void;
1833
+
1834
+ declare const install_6: <T>(app: App<T>) => void;
1835
+
1836
+ declare const install_7: <T>(app: App<T>) => void;
1837
+
1838
+ declare const install_8: <T>(app: App<T>) => void;
1839
+
1840
+ declare const installPrompt: <T>(app: App<T>) => void;
1841
+
1842
+ declare const installPrompts: <T>(app: App<T>) => void;
1843
+
1844
+ export declare interface KeyboardHandler {
1845
+ handleKeyPress: (e: KeyboardEvent) => void;
1846
+ triggerSubmit: () => void;
1847
+ }
1848
+
1849
+ export declare type MultiTabHistoryProps = {
1850
+ tabs: {
1851
+ title: string;
1852
+ id: string;
1853
+ }[];
1854
+ data: Record<string, HistoryData>;
1855
+ } & BaseHistoryProps;
1856
+
1857
+ declare const Prompt: typeof _default_16 & {
1858
+ install: typeof installPrompt;
1859
+ };
1860
+ export { Prompt }
1861
+ export { Prompt as TrPrompt }
1862
+
1863
+ export declare interface PromptProps {
1864
+ /**
1865
+ * 提示标签,显示提示的主要内容
1866
+ */
1867
+ label: string;
1868
+ /**
1869
+ * 唯一标识用于区分每个提示项,用于 Prompts 列表。如果不传此参数,则使用 index 作为 key
1870
+ */
1871
+ id?: string;
1872
+ /**
1873
+ * 提示描述,提供额外的信息
1874
+ */
1875
+ description?: string;
1876
+ /**
1877
+ * 提示图标,显示在提示项的左侧
1878
+ */
1879
+ icon?: VNode;
1880
+ /**
1881
+ * 是否禁用。默认 false
1882
+ */
1883
+ disabled?: boolean;
1884
+ /**
1885
+ * 提示徽章,显示在提示项的右上角
1886
+ */
1887
+ badge?: string | VNode;
1888
+ }
1889
+
1890
+ declare const Prompts: typeof _default_17 & {
1891
+ install: typeof installPrompts;
1892
+ };
1893
+ export { Prompts }
1894
+ export { Prompts as TrPrompts }
1895
+
1896
+ export declare interface PromptsEvents {
1897
+ (e: 'item-click', ev: MouseEvent, item: PromptProps): void;
1898
+ }
1899
+
1900
+ export declare interface PromptsProps {
1901
+ /**
1902
+ * 包含多个提示项的列表
1903
+ */
1904
+ items: PromptProps[];
1905
+ /**
1906
+ * 自定义样式,用于各个提示项的不同部分
1907
+ */
1908
+ itemStyle?: string | CSSProperties;
1909
+ /**
1910
+ * 自定义类名,用于各个提示项的不同部分
1911
+ */
1912
+ itemClass?: string | string[];
1913
+ /**
1914
+ * 提示列表是否垂直排列。默认 false
1915
+ */
1916
+ vertical?: boolean;
1917
+ /**
1918
+ * 提示列表是否折行。默认 false
1919
+ */
1920
+ wrap?: boolean;
1921
+ }
1922
+
1923
+ export declare interface PromptsSlots {
1924
+ footer?: () => unknown;
1925
+ }
1926
+
1927
+ declare interface Question_2 {
1928
+ id: string;
1929
+ text: string;
1930
+ keywords?: string[];
1931
+ }
1932
+
1933
+ /**
1934
+ * Question组件属性定义
1935
+ */
1936
+ declare interface QuestionProps {
1937
+ /**
1938
+ * 问题分类列表
1939
+ * 包含多个分类,每个分类下有多个问题
1940
+ */
1941
+ categories: Category_2[];
1942
+ /**
1943
+ * 浮动显示的问题列表
1944
+ * 显示在组件底部的常见问题胶囊
1945
+ */
1946
+ commonQuestions: Question_2[];
1947
+ /**
1948
+ * 是否初始展开常见问题
1949
+ * @default false
1950
+ */
1951
+ initialExpanded?: boolean;
1952
+ /**
1953
+ * 弹窗宽度
1954
+ * @default '640px'
1955
+ */
1956
+ modalWidth?: string;
1957
+ /**
1958
+ * 主题类型
1959
+ * @default 'light'
1960
+ */
1961
+ theme?: ThemeType_3;
1962
+ /**
1963
+ * 是否点击外部关闭弹窗
1964
+ * @default true
1965
+ */
1966
+ closeOnClickOutside?: boolean;
1967
+ /**
1968
+ * 是否显示加载中状态
1969
+ * @default false
1970
+ */
1971
+ loading?: boolean;
1972
+ }
1973
+
1974
+ export declare type SenderEmits = {
1975
+ (e: 'update:modelValue', value: string): void;
1976
+ (e: 'submit', value: string): void;
1977
+ (e: 'clear'): void;
1978
+ (e: 'speech-start'): void;
1979
+ (e: 'speech-end', transcript?: string): void;
1980
+ (e: 'speech-interim', transcript: string): void;
1981
+ (e: 'speech-error', error: Error): void;
1982
+ (e: 'suggestion-select', value: string): void;
1983
+ (e: 'focus', event: FocusEvent): void;
1984
+ (e: 'blur', event: FocusEvent): void;
1985
+ (e: 'escape-press'): void;
1986
+ (e: 'cancel'): void;
1987
+ (e: 'reset-template'): void;
1988
+ (e: 'fixed-link-click'): void;
1989
+ };
1990
+
1991
+ export declare interface SenderProps {
1992
+ autofocus?: boolean;
1993
+ autoSize?: AutoSize;
1994
+ allowSpeech?: boolean;
1995
+ allowFiles?: boolean;
1996
+ clearable?: boolean;
1997
+ disabled?: boolean;
1998
+ defaultValue?: string | null;
1999
+ loading?: boolean;
2000
+ modelValue?: string;
2001
+ mode?: InputMode;
2002
+ maxLength?: number;
2003
+ submitType?: SubmitTrigger;
2004
+ speech?: boolean | SpeechConfig;
2005
+ placeholder?: string;
2006
+ showWordLimit?: boolean;
2007
+ suggestions?: string[];
2008
+ theme?: ThemeType;
2009
+ template?: string;
2010
+ hasContent?: boolean;
2011
+ tipsMessage?: string;
2012
+ }
2013
+
2014
+ export declare type SingleTabHistoryProps = {
2015
+ tabTitle: string;
2016
+ data: HistoryData;
2017
+ } & BaseHistoryProps;
2018
+
2019
+ export declare interface SpeechConfig {
2020
+ lang?: string;
2021
+ continuous?: boolean;
2022
+ interimResults?: boolean;
2023
+ autoReplace?: boolean;
2024
+ }
2025
+
2026
+ export declare interface SpeechHandler {
2027
+ speechState: SpeechState;
2028
+ start: () => void;
2029
+ stop: () => void;
2030
+ }
2031
+
2032
+ export declare interface SpeechHookOptions extends SpeechConfig {
2033
+ onStart?: () => void;
2034
+ onEnd?: (transcript?: string) => void;
2035
+ onInterim?: (transcript: string) => void;
2036
+ onFinal?: (transcript: string) => void;
2037
+ onError?: (error: Error) => void;
2038
+ }
2039
+
2040
+ export declare interface SpeechState {
2041
+ isRecording: boolean;
2042
+ isSupported: boolean;
2043
+ error?: Error;
2044
+ }
2045
+
2046
+ export declare type SubmitTrigger = 'enter' | 'ctrlEnter' | 'shiftEnter';
2047
+
2048
+ /**
2049
+ * 组件事件
2050
+ */
2051
+ export declare interface SuggestionEmits {
2052
+ /** 双向绑定打开状态 (v-model) */
2053
+ (e: 'update:open', value: boolean): void;
2054
+ /** 选中指令项 */
2055
+ (e: 'select', value: string, context?: TriggerContext): void;
2056
+ /** 关闭面板 */
2057
+ (e: 'close'): void;
2058
+ /** 触发回调 */
2059
+ (e: 'trigger', handler: TriggerHandler): void;
2060
+ /** 选择分类 */
2061
+ (e: 'category-select', category: Category): void;
2062
+ /** 点击胶囊指令 */
2063
+ (e: 'suggestion-select', item: SuggestionItem): void;
2064
+ /** 展开/收起状态变化 */
2065
+ (e: 'update:expanded', expanded: boolean): void;
2066
+ /** 填充模板到输入框 */
2067
+ (e: 'fill-template', template: string): void;
2068
+ }
2069
+
2070
+ /**
2071
+ * 指令项定义
2072
+ */
2073
+ export declare interface SuggestionItem {
2074
+ /** 唯一标识 */
2075
+ id: string;
2076
+ /** 显示文本 */
2077
+ text: string;
2078
+ /** 指令值 */
2079
+ value: string;
2080
+ /** 图标 */
2081
+ icon?: VNode;
2082
+ /** 关键词,用于搜索和过滤 */
2083
+ keywords?: string[];
2084
+ /** 描述文本 */
2085
+ description?: string;
2086
+ /** 指令模板,用于在输入框中显示可编辑的模板 */
2087
+ template?: string;
2088
+ }
2089
+
2090
+ /**
2091
+ * 组件属性
2092
+ */
2093
+ export declare interface SuggestionProps {
2094
+ /** 触发快捷键列表 */
2095
+ triggerKeys?: string[];
2096
+ /** 指令项列表 */
2097
+ items: SuggestionItem[];
2098
+ /** 分类列表 */
2099
+ categories?: Category[];
2100
+ /** 是否显示面板 (支持v-model) */
2101
+ open?: boolean;
2102
+ /** 自定义类名 */
2103
+ className?: string;
2104
+ /** 主题,light或dark */
2105
+ theme?: 'light' | 'dark';
2106
+ /** 是否显示加载状态 */
2107
+ loading?: boolean;
2108
+ /** 是否点击外部关闭面板 */
2109
+ closeOnOutsideClick?: boolean;
2110
+ /** 面板标题 */
2111
+ title?: string;
2112
+ /** 最大显示条目数 */
2113
+ maxVisibleItems?: number;
2114
+ /** 默认是否展开完整指令列表 */
2115
+ defaultExpanded?: boolean;
2116
+ }
2117
+
2118
+ /**
2119
+ * 模板编辑器事件
2120
+ */
2121
+ export declare interface TemplateEditorEmits {
2122
+ /** 更新值 */
2123
+ (e: 'update:value', value: string): void;
2124
+ /** 输入事件 */
2125
+ (e: 'input', value: string): void;
2126
+ /** 内容变更状态 - 通知父组件是否有内容 */
2127
+ (e: 'content-status', hasContent: boolean): void;
2128
+ /** 字段激活状态变更 */
2129
+ (e: 'field-active', isActive: boolean, index: number): void;
2130
+ }
2131
+
2132
+ /**
2133
+ * 模板编辑器暴露的方法
2134
+ */
2135
+ export declare interface TemplateEditorExpose {
2136
+ /** 激活第一个可编辑字段 */
2137
+ activateFirstField: () => void;
2138
+ /** 重置所有字段 */
2139
+ resetFields: () => void;
2140
+ }
2141
+
2142
+ /**
2143
+ * 模板编辑器属性
2144
+ */
2145
+ export declare interface TemplateEditorProps {
2146
+ /** 模板字符串,格式为普通文本与 [占位符] 的组合 */
2147
+ template: string;
2148
+ /** 当前值 */
2149
+ value?: string;
2150
+ }
2151
+
2152
+ /**
2153
+ * 模板部分定义
2154
+ */
2155
+ export declare interface TemplatePart {
2156
+ /** 内容文本 */
2157
+ content: string;
2158
+ /** 是否为可编辑字段 */
2159
+ isField: boolean;
2160
+ /** 占位符文本 (当字段为空时显示) */
2161
+ placeholder?: string;
2162
+ /** 字段索引 (用于标识可编辑字段) */
2163
+ fieldIndex?: number;
2164
+ }
2165
+
2166
+ /**
2167
+ * 组件核心类型定义
2168
+ */
2169
+ export declare type ThemeType = 'light' | 'dark';
2170
+
2171
+ declare type ThemeType_3 = 'light' | 'dark';
2172
+
2173
+ /**
2174
+ * 触发位置信息
2175
+ */
2176
+ export declare interface TriggerContext {
2177
+ /** 触发的文本 */
2178
+ text: string;
2179
+ /** 触发的位置 */
2180
+ position: number;
2181
+ }
2182
+
2183
+ /** 触发处理函数类型 */
2184
+ export declare type TriggerHandler = (info: TriggerInfo) => void;
2185
+
2186
+ /** 触发信息类型 */
2187
+ export declare type TriggerInfo = TriggerContext | false;
2188
+
2189
+ export declare interface WelcomeProps {
2190
+ title: string;
2191
+ description: string;
2192
+ align?: 'left' | 'center' | 'right' | string;
2193
+ icon?: VNode;
2194
+ }
2195
+
2196
+ export declare interface WelcomeSlots {
2197
+ footer: () => unknown;
2198
+ }
2199
+
2200
+ export { }