@yh-ui/components 1.0.30 → 1.0.36

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 (410) hide show
  1. package/dist/affix/index.d.ts +1 -202
  2. package/dist/affix/src/affix.d.vue.ts +66 -0
  3. package/dist/affix/src/affix.vue.d.ts +4 -53
  4. package/dist/ai-action-group/index.d.ts +1 -108
  5. package/dist/ai-action-group/src/ai-action-group.d.vue.ts +40 -0
  6. package/dist/ai-action-group/src/ai-action-group.vue.d.ts +5 -30
  7. package/dist/ai-agent-card/index.d.ts +1 -174
  8. package/dist/ai-agent-card/src/ai-agent-card.d.vue.ts +62 -0
  9. package/dist/ai-agent-card/src/ai-agent-card.vue.d.ts +7 -50
  10. package/dist/ai-artifacts/index.d.ts +1 -274
  11. package/dist/ai-artifacts/src/ai-artifacts.d.vue.ts +91 -0
  12. package/dist/ai-artifacts/src/ai-artifacts.vue.d.ts +8 -80
  13. package/dist/ai-attachments/index.d.ts +1 -357
  14. package/dist/ai-attachments/src/ai-attachments.d.vue.ts +107 -0
  15. package/dist/ai-attachments/src/ai-attachments.vue.d.ts +13 -124
  16. package/dist/ai-bubble/index.d.ts +54 -54
  17. package/dist/ai-bubble/src/ai-bubble.d.vue.ts +273 -0
  18. package/dist/ai-bubble/src/ai-bubble.vue.d.ts +11 -11
  19. package/dist/ai-bubble-list/index.d.ts +1 -150
  20. package/dist/ai-bubble-list/src/ai-bubble-list.d.vue.ts +93 -0
  21. package/dist/ai-bubble-list/src/ai-bubble-list.vue.d.ts +7 -7
  22. package/dist/ai-chat/index.d.ts +1 -162
  23. package/dist/ai-chat/src/ai-chat.d.vue.ts +63 -0
  24. package/dist/ai-chat/src/ai-chat.vue.d.ts +7 -44
  25. package/dist/ai-code-block/index.d.ts +1 -218
  26. package/dist/ai-code-block/src/ai-code-block.d.vue.ts +73 -0
  27. package/dist/ai-code-block/src/ai-code-block.vue.d.ts +3 -59
  28. package/dist/ai-code-editor/index.d.ts +7 -68
  29. package/dist/ai-code-editor/src/ai-code-editor.d.vue.ts +71 -0
  30. package/dist/ai-code-editor/src/ai-code-editor.vue.d.ts +7 -68
  31. package/dist/ai-code-runner/index.d.ts +1 -66
  32. package/dist/ai-code-runner/src/ai-code-runner.d.vue.ts +34 -0
  33. package/dist/ai-code-runner/src/ai-code-runner.vue.d.ts +3 -36
  34. package/dist/ai-conversations/index.d.ts +1 -214
  35. package/dist/ai-conversations/src/ai-conversations.d.vue.ts +75 -0
  36. package/dist/ai-conversations/src/ai-conversations.vue.d.ts +3 -55
  37. package/dist/ai-editor-sender/index.d.ts +1 -415
  38. package/dist/ai-editor-sender/src/ai-editor-sender.d.vue.ts +134 -0
  39. package/dist/ai-editor-sender/src/ai-editor-sender.vue.d.ts +6 -113
  40. package/dist/ai-file-card/index.d.ts +7 -209
  41. package/dist/ai-file-card/src/ai-file-card.d.vue.ts +78 -0
  42. package/dist/ai-file-card/src/ai-file-card.vue.d.ts +5 -62
  43. package/dist/ai-mention/index.d.ts +12 -352
  44. package/dist/ai-mention/src/ai-mention.d.vue.ts +115 -0
  45. package/dist/ai-mention/src/ai-mention.vue.d.ts +11 -107
  46. package/dist/ai-mermaid/index.d.ts +1 -222
  47. package/dist/ai-mermaid/src/ai-mermaid.d.vue.ts +76 -0
  48. package/dist/ai-mermaid/src/ai-mermaid.vue.d.ts +4 -61
  49. package/dist/ai-prompts/index.d.ts +1 -102
  50. package/dist/ai-prompts/src/ai-prompts.d.vue.ts +44 -0
  51. package/dist/ai-prompts/src/ai-prompts.vue.d.ts +7 -28
  52. package/dist/ai-provider/index.d.ts +1 -263
  53. package/dist/ai-provider/src/ai-provider.d.vue.ts +85 -0
  54. package/dist/ai-provider/src/ai-provider.vue.d.ts +5 -56
  55. package/dist/ai-sender/index.d.ts +1 -234
  56. package/dist/ai-sender/src/ai-sender.d.vue.ts +74 -0
  57. package/dist/ai-sender/src/ai-sender.vue.d.ts +8 -70
  58. package/dist/ai-sources/index.d.ts +1 -134
  59. package/dist/ai-sources/src/ai-sources.d.vue.ts +47 -0
  60. package/dist/ai-sources/src/ai-sources.vue.d.ts +3 -34
  61. package/dist/ai-thinking/index.d.ts +1 -150
  62. package/dist/ai-thinking/src/ai-thinking.d.vue.ts +53 -0
  63. package/dist/ai-thinking/src/ai-thinking.vue.d.ts +4 -40
  64. package/dist/ai-thought-chain/index.d.ts +10 -268
  65. package/dist/ai-thought-chain/src/ai-thought-chain.d.vue.ts +92 -0
  66. package/dist/ai-thought-chain/src/ai-thought-chain.vue.d.ts +9 -84
  67. package/dist/ai-voice-trigger/index.d.ts +1 -153
  68. package/dist/ai-voice-trigger/src/ai-voice-trigger.d.vue.ts +49 -0
  69. package/dist/ai-voice-trigger/src/ai-voice-trigger.vue.d.ts +4 -43
  70. package/dist/ai-welcome/index.d.ts +1 -129
  71. package/dist/ai-welcome/src/ai-welcome.d.vue.ts +51 -0
  72. package/dist/ai-welcome/src/ai-welcome.vue.d.ts +3 -32
  73. package/dist/alert/index.d.ts +1 -289
  74. package/dist/alert/src/alert.d.vue.ts +106 -0
  75. package/dist/alert/src/alert.vue.d.ts +10 -81
  76. package/dist/autocomplete/index.d.ts +1 -365
  77. package/dist/autocomplete/src/autocomplete.d.vue.ts +63 -0
  78. package/dist/autocomplete/src/autocomplete.vue.d.ts +20 -68
  79. package/dist/avatar/index.d.ts +17 -140
  80. package/dist/avatar/src/avatar.d.vue.ts +22 -0
  81. package/dist/avatar/src/avatar.vue.d.ts +5 -32
  82. package/dist/back-top/index.d.ts +1 -153
  83. package/dist/back-top/src/back-top.d.vue.ts +54 -0
  84. package/dist/back-top/src/back-top.vue.d.ts +5 -42
  85. package/dist/badge/index.d.ts +1 -151
  86. package/dist/badge/src/badge.d.vue.ts +22 -0
  87. package/dist/badge/src/badge.vue.d.ts +3 -34
  88. package/dist/breadcrumb/index.d.ts +2 -177
  89. package/dist/breadcrumb/src/breadcrumb-item.d.vue.ts +42 -0
  90. package/dist/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
  91. package/dist/breadcrumb/src/breadcrumb.d.vue.ts +41 -0
  92. package/dist/button/index.d.ts +38 -242
  93. package/dist/button/src/button.d.vue.ts +44 -0
  94. package/dist/button/src/button.vue.d.ts +11 -56
  95. package/dist/calendar/index.d.ts +1 -429
  96. package/dist/calendar/src/calendar.d.vue.ts +137 -0
  97. package/dist/calendar/src/calendar.vue.d.ts +10 -130
  98. package/dist/card/index.d.ts +1 -155
  99. package/dist/card/src/card.d.vue.ts +26 -0
  100. package/dist/card/src/card.vue.d.ts +4 -35
  101. package/dist/carousel/index.d.ts +2 -443
  102. package/dist/carousel/src/carousel-item.d.vue.ts +18 -0
  103. package/dist/carousel/src/carousel.d.vue.ts +144 -0
  104. package/dist/carousel/src/carousel.vue.d.ts +17 -108
  105. package/dist/cascader/index.d.ts +105 -456
  106. package/dist/cascader/src/cascader-panel.d.vue.ts +39 -0
  107. package/dist/cascader/src/cascader-panel.vue.d.ts +8 -37
  108. package/dist/cascader/src/cascader.d.vue.ts +63 -0
  109. package/dist/cascader/src/cascader.vue.d.ts +21 -76
  110. package/dist/category-nav/index.d.ts +1 -219
  111. package/dist/category-nav/src/category-nav.d.vue.ts +86 -0
  112. package/dist/category-nav/src/category-nav.vue.d.ts +10 -61
  113. package/dist/checkbox/index.d.ts +50 -323
  114. package/dist/checkbox/src/checkbox-group.d.vue.ts +24 -0
  115. package/dist/checkbox/src/checkbox-group.vue.d.ts +6 -33
  116. package/dist/checkbox/src/checkbox.d.vue.ts +32 -0
  117. package/dist/checkbox/src/checkbox.vue +28 -12
  118. package/dist/checkbox/src/checkbox.vue.d.ts +8 -41
  119. package/dist/col/index.d.ts +1 -188
  120. package/dist/col/src/col.d.vue.ts +114 -0
  121. package/dist/col/src/col.vue.d.ts +4 -4
  122. package/dist/color-picker/index.d.ts +1 -89
  123. package/dist/color-picker/src/alpha-slider.d.vue.ts +10 -0
  124. package/dist/color-picker/src/alpha-slider.vue.d.ts +4 -13
  125. package/dist/color-picker/src/color-picker.d.vue.ts +60 -0
  126. package/dist/color-picker/src/color-picker.vue.d.ts +4 -45
  127. package/dist/color-picker/src/hue-slider.d.vue.ts +9 -0
  128. package/dist/color-picker/src/hue-slider.vue.d.ts +4 -13
  129. package/dist/color-picker/src/sv-panel.d.vue.ts +11 -0
  130. package/dist/color-picker/src/sv-panel.vue.d.ts +4 -13
  131. package/dist/config-provider/index.d.ts +2 -2
  132. package/dist/config-provider/src/config-provider.d.ts +2 -2
  133. package/dist/container/index.d.ts +5 -208
  134. package/dist/container/src/aside.d.vue.ts +15 -0
  135. package/dist/container/src/aside.vue +4 -1
  136. package/dist/container/src/aside.vue.d.ts +2 -23
  137. package/dist/container/src/container.d.vue.ts +13 -0
  138. package/dist/container/src/container.vue +4 -1
  139. package/dist/container/src/container.vue.d.ts +1 -10
  140. package/dist/container/src/footer.d.vue.ts +15 -0
  141. package/dist/container/src/footer.vue +4 -1
  142. package/dist/container/src/footer.vue.d.ts +2 -23
  143. package/dist/container/src/header.d.vue.ts +15 -0
  144. package/dist/container/src/header.vue +4 -1
  145. package/dist/container/src/header.vue.d.ts +2 -23
  146. package/dist/container/src/main.d.vue.ts +13 -0
  147. package/dist/container/src/main.vue +4 -1
  148. package/dist/container/src/main.vue.d.ts +1 -10
  149. package/dist/countdown/index.d.ts +1 -419
  150. package/dist/countdown/src/countdown.d.vue.ts +146 -0
  151. package/dist/countdown/src/countdown.vue.d.ts +17 -122
  152. package/dist/coupon-card/index.d.ts +1 -340
  153. package/dist/coupon-card/src/coupon-card.d.vue.ts +121 -0
  154. package/dist/coupon-card/src/coupon-card.vue.d.ts +13 -98
  155. package/dist/date-picker/index.d.ts +1 -604
  156. package/dist/date-picker/src/date-picker.d.vue.ts +372 -0
  157. package/dist/date-picker/src/date-picker.vue.d.ts +28 -28
  158. package/dist/date-picker/src/date-table.d.vue.ts +37 -0
  159. package/dist/date-picker/src/date-table.vue.d.ts +7 -17
  160. package/dist/date-picker/src/month-table.d.vue.ts +19 -0
  161. package/dist/date-picker/src/month-table.vue.d.ts +6 -15
  162. package/dist/date-picker/src/quarter-table.d.vue.ts +19 -0
  163. package/dist/date-picker/src/quarter-table.vue.d.ts +6 -15
  164. package/dist/date-picker/src/year-table.d.vue.ts +19 -0
  165. package/dist/date-picker/src/year-table.vue.d.ts +6 -15
  166. package/dist/descriptions/index.d.ts +2 -492
  167. package/dist/descriptions/src/description-item.d.vue.ts +99 -0
  168. package/dist/descriptions/src/description-item.vue.d.ts +4 -4
  169. package/dist/descriptions/src/descriptions.d.vue.ts +106 -0
  170. package/dist/descriptions/src/descriptions.vue +29 -12
  171. package/dist/descriptions/src/descriptions.vue.d.ts +3 -3
  172. package/dist/dialog/index.d.ts +2 -665
  173. package/dist/dialog/src/dialog.d.vue.ts +217 -0
  174. package/dist/dialog/src/dialog.vue.d.ts +22 -200
  175. package/dist/divider/index.d.ts +1 -113
  176. package/dist/divider/src/divider.d.vue.ts +69 -0
  177. package/dist/divider/src/divider.vue +8 -2
  178. package/dist/divider/src/divider.vue.d.ts +3 -3
  179. package/dist/drawer/index.d.ts +13 -391
  180. package/dist/drawer/src/drawer.d.vue.ts +141 -0
  181. package/dist/drawer/src/drawer.vue.d.ts +10 -120
  182. package/dist/dropdown/index.d.ts +3 -627
  183. package/dist/dropdown/src/dropdown-item.d.vue.ts +78 -0
  184. package/dist/dropdown/src/dropdown-item.vue +9 -2
  185. package/dist/dropdown/src/dropdown-item.vue.d.ts +3 -3
  186. package/dist/dropdown/src/dropdown-menu.d.vue.ts +24 -0
  187. package/dist/dropdown/src/dropdown-menu.vue +4 -1
  188. package/dist/dropdown/src/dropdown.d.vue.ts +158 -0
  189. package/dist/dropdown/src/dropdown.vue.d.ts +16 -133
  190. package/dist/empty/index.d.ts +1 -78
  191. package/dist/empty/src/empty.d.vue.ts +19 -0
  192. package/dist/empty/src/empty.vue +26 -9
  193. package/dist/empty/src/empty.vue.d.ts +2 -23
  194. package/dist/filter-bar/index.d.ts +1 -281
  195. package/dist/filter-bar/src/filter-bar.d.vue.ts +87 -0
  196. package/dist/filter-bar/src/filter-bar.vue.d.ts +9 -92
  197. package/dist/form/index.d.ts +3 -690
  198. package/dist/form/src/form-item.d.vue.ts +144 -0
  199. package/dist/form/src/form-item.vue.d.ts +7 -7
  200. package/dist/form/src/form-schema.d.vue.ts +116 -0
  201. package/dist/form/src/form-schema.vue.d.ts +30 -36
  202. package/dist/form/src/form.d.vue.ts +158 -0
  203. package/dist/form/src/form.vue.d.ts +5 -5
  204. package/dist/gantt-chart/index.d.ts +1 -305
  205. package/dist/gantt-chart/src/gantt-chart.d.vue.ts +51 -0
  206. package/dist/gantt-chart/src/gantt-chart.vue.d.ts +17 -62
  207. package/dist/grid/index.d.ts +2 -226
  208. package/dist/grid/src/grid-item.d.vue.ts +17 -0
  209. package/dist/grid/src/grid-item.vue +13 -10
  210. package/dist/grid/src/grid-item.vue.d.ts +2 -27
  211. package/dist/grid/src/grid.d.vue.ts +20 -0
  212. package/dist/grid/src/grid.vue +12 -6
  213. package/dist/grid/src/grid.vue.d.ts +3 -34
  214. package/dist/icon/index.d.ts +9 -9
  215. package/dist/icon/src/icon.d.vue.ts +87 -0
  216. package/dist/icon/src/icon.vue.d.ts +3 -3
  217. package/dist/image/index.d.ts +34 -85
  218. package/dist/image/src/image-viewer.d.vue.ts +68 -0
  219. package/dist/image/src/image-viewer.vue.d.ts +4 -55
  220. package/dist/image/src/image.d.vue.ts +178 -0
  221. package/dist/image/src/image.vue.d.ts +11 -11
  222. package/dist/image-magnifier/index.d.ts +1 -462
  223. package/dist/image-magnifier/src/image-magnifier.d.vue.ts +154 -0
  224. package/dist/image-magnifier/src/image-magnifier.vue.d.ts +9 -126
  225. package/dist/infinite-scroll/index.d.ts +1 -270
  226. package/dist/infinite-scroll/src/infinite-scroll.d.vue.ts +93 -0
  227. package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +7 -72
  228. package/dist/input/index.d.ts +67 -508
  229. package/dist/input/src/input.d.vue.ts +76 -0
  230. package/dist/input/src/input.vue.d.ts +26 -85
  231. package/dist/input-number/index.d.ts +42 -297
  232. package/dist/input-number/src/input-number.d.vue.ts +50 -0
  233. package/dist/input-number/src/input-number.vue.d.ts +16 -59
  234. package/dist/input-tag/index.d.ts +1 -433
  235. package/dist/input-tag/src/input-tag.d.vue.ts +71 -0
  236. package/dist/input-tag/src/input-tag.vue.d.ts +28 -83
  237. package/dist/loading/index.d.ts +1 -1
  238. package/dist/lucky-draw/index.d.ts +1 -203
  239. package/dist/lucky-draw/src/lucky-draw.d.vue.ts +74 -0
  240. package/dist/lucky-draw/src/lucky-draw.vue.d.ts +5 -54
  241. package/dist/marquee/index.d.ts +1 -305
  242. package/dist/marquee/src/marquee.d.vue.ts +106 -0
  243. package/dist/marquee/src/marquee.vue.d.ts +6 -80
  244. package/dist/mention/index.d.ts +90 -432
  245. package/dist/mention/src/mention.d.vue.ts +84 -0
  246. package/dist/mention/src/mention.vue.d.ts +35 -100
  247. package/dist/menu/index.d.ts +4 -890
  248. package/dist/menu/src/menu-item-group.d.vue.ts +26 -0
  249. package/dist/menu/src/menu-item.d.vue.ts +52 -0
  250. package/dist/menu/src/menu-item.vue +20 -7
  251. package/dist/menu/src/menu-recursive-item.d.vue.ts +6 -0
  252. package/dist/menu/src/menu-recursive-item.vue.d.ts +1 -10
  253. package/dist/menu/src/menu.d.vue.ts +209 -0
  254. package/dist/menu/src/menu.vue.d.ts +15 -178
  255. package/dist/menu/src/sub-menu.d.vue.ts +87 -0
  256. package/dist/message/index.d.ts +1 -1
  257. package/dist/message/src/message.d.vue.ts +32 -0
  258. package/dist/message/src/message.vue.d.ts +8 -45
  259. package/dist/message-box/index.d.ts +1 -1
  260. package/dist/message-box/src/message-box.d.vue.ts +17 -0
  261. package/dist/message-box/src/message-box.vue.d.ts +2 -11
  262. package/dist/notification/index.d.ts +1 -1
  263. package/dist/notification/src/notification.d.vue.ts +30 -0
  264. package/dist/notification/src/notification.vue.d.ts +8 -37
  265. package/dist/pagination/index.d.ts +26 -26
  266. package/dist/pagination/src/pagination.d.vue.ts +149 -0
  267. package/dist/pagination/src/pagination.vue.d.ts +11 -11
  268. package/dist/popconfirm/index.d.ts +1 -433
  269. package/dist/popconfirm/src/popconfirm.d.vue.ts +148 -0
  270. package/dist/popconfirm/src/popconfirm.vue.d.ts +12 -121
  271. package/dist/popover/index.d.ts +1 -392
  272. package/dist/popover/src/popover.d.vue.ts +139 -0
  273. package/dist/popover/src/popover.vue.d.ts +13 -111
  274. package/dist/price/index.d.ts +1 -363
  275. package/dist/price/src/price.d.vue.ts +223 -0
  276. package/dist/price/src/price.vue.d.ts +5 -5
  277. package/dist/product-card/index.d.ts +1 -557
  278. package/dist/product-card/src/product-card.d.vue.ts +188 -0
  279. package/dist/product-card/src/product-card.vue.d.ts +12 -157
  280. package/dist/progress/index.d.ts +1 -321
  281. package/dist/progress/src/progress.d.vue.ts +199 -0
  282. package/dist/progress/src/progress.vue.d.ts +9 -9
  283. package/dist/radio/index.d.ts +51 -339
  284. package/dist/radio/src/radio-button.d.vue.ts +25 -0
  285. package/dist/radio/src/radio-button.vue.d.ts +6 -27
  286. package/dist/radio/src/radio-group.d.vue.ts +23 -0
  287. package/dist/radio/src/radio-group.vue.d.ts +6 -31
  288. package/dist/radio/src/radio.d.vue.ts +26 -0
  289. package/dist/radio/src/radio.vue +24 -5
  290. package/dist/radio/src/radio.vue.d.ts +6 -29
  291. package/dist/rate/index.d.ts +1 -313
  292. package/dist/rate/src/rate.d.vue.ts +109 -0
  293. package/dist/rate/src/rate.vue.d.ts +11 -90
  294. package/dist/result/index.d.ts +1 -73
  295. package/dist/result/src/result.d.vue.ts +23 -0
  296. package/dist/result/src/result.vue +11 -2
  297. package/dist/result/src/result.vue.d.ts +2 -23
  298. package/dist/row/index.d.ts +1 -98
  299. package/dist/row/src/row.d.ts +1 -1
  300. package/dist/row/src/row.d.vue.ts +60 -0
  301. package/dist/row/src/row.vue.d.ts +1 -1
  302. package/dist/sanitize.cjs +33 -23
  303. package/dist/sanitize.mjs +28 -20
  304. package/dist/scrollbar/index.d.ts +1 -192
  305. package/dist/scrollbar/src/scrollbar.d.vue.ts +67 -0
  306. package/dist/scrollbar/src/scrollbar.vue.d.ts +3 -45
  307. package/dist/scrollbar/src/thumb.d.vue.ts +16 -0
  308. package/dist/scrollbar/src/thumb.vue.d.ts +3 -30
  309. package/dist/select/index.d.ts +71 -461
  310. package/dist/select/src/option.d.vue.ts +15 -0
  311. package/dist/select/src/option.vue.d.ts +2 -23
  312. package/dist/select/src/select.d.vue.ts +68 -0
  313. package/dist/select/src/select.vue.d.ts +26 -93
  314. package/dist/skeleton/index.d.ts +2 -278
  315. package/dist/skeleton/src/skeleton-item.d.vue.ts +83 -0
  316. package/dist/skeleton/src/skeleton-item.vue.d.ts +2 -2
  317. package/dist/skeleton/src/skeleton.d.vue.ts +89 -0
  318. package/dist/skeleton/src/skeleton.vue.d.ts +3 -3
  319. package/dist/sku-selector/index.d.ts +1 -222
  320. package/dist/sku-selector/src/sku-selector.d.vue.ts +84 -0
  321. package/dist/sku-selector/src/sku-selector.vue.d.ts +9 -62
  322. package/dist/slider/index.d.ts +1 -471
  323. package/dist/slider/src/slider-button.d.vue.ts +43 -0
  324. package/dist/slider/src/slider-button.vue.d.ts +10 -41
  325. package/dist/slider/src/slider.d.vue.ts +164 -0
  326. package/dist/slider/src/slider.vue.d.ts +13 -129
  327. package/dist/smart-address/index.d.ts +1 -324
  328. package/dist/smart-address/src/smart-address.d.vue.ts +110 -0
  329. package/dist/smart-address/src/smart-address.vue.d.ts +8 -102
  330. package/dist/space/index.d.ts +1 -142
  331. package/dist/space/src/space.d.vue.ts +22 -0
  332. package/dist/space/src/space.vue +28 -15
  333. package/dist/space/src/space.vue.d.ts +3 -34
  334. package/dist/spin/index.d.ts +6 -161
  335. package/dist/spin/src/spin.d.vue.ts +66 -0
  336. package/dist/spin/src/spin.vue.d.ts +4 -47
  337. package/dist/steps/index.d.ts +2 -606
  338. package/dist/steps/src/step.d.vue.ts +105 -0
  339. package/dist/steps/src/step.vue.d.ts +5 -5
  340. package/dist/steps/src/steps.d.vue.ts +94 -0
  341. package/dist/steps/src/steps.vue +4 -1
  342. package/dist/steps/src/steps.vue.d.ts +9 -78
  343. package/dist/submit-bar/index.d.ts +1 -291
  344. package/dist/submit-bar/src/submit-bar.d.vue.ts +102 -0
  345. package/dist/submit-bar/src/submit-bar.vue.d.ts +6 -79
  346. package/dist/switch/index.d.ts +1 -372
  347. package/dist/switch/src/switch.d.vue.ts +133 -0
  348. package/dist/switch/src/switch.vue.d.ts +7 -98
  349. package/dist/table/index.d.ts +2 -1488
  350. package/dist/table/src/table-column.d.vue.ts +71 -0
  351. package/dist/table/src/table-column.vue.d.ts +11 -70
  352. package/dist/table/src/table.d.vue.ts +493 -0
  353. package/dist/table/src/table.vue.d.ts +25 -337
  354. package/dist/table/src/use-virtual-scroll.mjs +3 -1
  355. package/dist/tabs/index.d.ts +2 -583
  356. package/dist/tabs/src/tab-pane.d.vue.ts +77 -0
  357. package/dist/tabs/src/tab-pane.vue +11 -3
  358. package/dist/tabs/src/tab-pane.vue.d.ts +2 -2
  359. package/dist/tabs/src/tabs.d.vue.ts +110 -0
  360. package/dist/tabs/src/tabs.vue.d.ts +8 -98
  361. package/dist/tag/index.d.ts +1 -245
  362. package/dist/tag/src/tag.d.vue.ts +42 -0
  363. package/dist/tag/src/tag.vue.d.ts +12 -51
  364. package/dist/time-picker/index.d.ts +1 -619
  365. package/dist/time-picker/src/time-picker.d.vue.ts +67 -0
  366. package/dist/time-picker/src/time-picker.vue.d.ts +29 -102
  367. package/dist/time-picker/src/time-spinner.d.vue.ts +46 -0
  368. package/dist/time-picker/src/time-spinner.vue.d.ts +6 -45
  369. package/dist/time-select/index.d.ts +1 -379
  370. package/dist/time-select/src/time-select.d.vue.ts +51 -0
  371. package/dist/time-select/src/time-select.vue.d.ts +21 -66
  372. package/dist/tooltip/index.d.ts +17 -465
  373. package/dist/tooltip/src/tooltip.d.vue.ts +167 -0
  374. package/dist/tooltip/src/tooltip.vue.d.ts +15 -140
  375. package/dist/transfer/src/transfer-panel.d.vue.ts +45 -0
  376. package/dist/transfer/src/transfer-panel.vue.d.ts +12 -51
  377. package/dist/transfer/src/transfer.d.vue.ts +68 -0
  378. package/dist/transfer/src/transfer.vue.d.ts +15 -62
  379. package/dist/tree/index.d.ts +2 -632
  380. package/dist/tree/src/tree-node.d.vue.ts +18 -0
  381. package/dist/tree/src/tree-node.vue.d.ts +1 -10
  382. package/dist/tree/src/tree.d.vue.ts +228 -0
  383. package/dist/tree/src/tree.vue.d.ts +13 -161
  384. package/dist/tree-select/index.d.ts +1 -435
  385. package/dist/tree-select/src/tree-select.d.vue.ts +141 -0
  386. package/dist/tree-select/src/tree-select.vue.d.ts +19 -129
  387. package/dist/typography/index.d.ts +4 -612
  388. package/dist/typography/src/link.d.vue.ts +21 -0
  389. package/dist/typography/src/link.vue +13 -3
  390. package/dist/typography/src/link.vue.d.ts +4 -29
  391. package/dist/typography/src/paragraph.d.vue.ts +22 -0
  392. package/dist/typography/src/paragraph.vue.d.ts +3 -34
  393. package/dist/typography/src/text.d.vue.ts +29 -0
  394. package/dist/typography/src/text.vue +4 -1
  395. package/dist/typography/src/text.vue.d.ts +4 -41
  396. package/dist/typography/src/title.d.vue.ts +26 -0
  397. package/dist/typography/src/title.vue +4 -1
  398. package/dist/typography/src/title.vue.d.ts +3 -38
  399. package/dist/upload/index.d.ts +1 -391
  400. package/dist/upload/src/upload.d.vue.ts +134 -0
  401. package/dist/upload/src/upload.vue.d.ts +13 -109
  402. package/dist/waterfall/index.d.ts +1 -57
  403. package/dist/waterfall/src/waterfall.d.vue.ts +56 -0
  404. package/dist/waterfall/src/waterfall.vue.d.ts +4 -4
  405. package/dist/watermark/index.d.ts +1 -236
  406. package/dist/watermark/src/watermark.d.vue.ts +143 -0
  407. package/dist/watermark/src/watermark.vue.d.ts +6 -6
  408. package/package.json +8 -9
  409. package/dist/component.d.ts +0 -284
  410. package/dist/env.d.ts +0 -11
@@ -1,31 +1,9 @@
1
1
  import { type AttachmentItem, type PlaceholderType } from './ai-attachments';
2
- import type { PresetFileIcons } from '../../ai-file-card';
3
2
  declare var __VLS_1: {
4
- item: {
5
- status?: "uploading" | "done" | "error" | "removed" | undefined;
6
- percent?: number | undefined;
7
- response?: unknown;
8
- error?: string | undefined;
9
- uid?: string | number | undefined;
10
- url?: string | undefined;
11
- thumbUrl?: string | undefined;
12
- name: string;
13
- byte?: number | undefined;
14
- size?: import("../..").FileCardSize | undefined;
15
- description?: string | undefined;
16
- loading?: boolean | undefined;
17
- type?: import("../..").FileCardType | undefined;
18
- src?: string | undefined;
19
- mask?: string | undefined;
20
- icon?: PresetFileIcons | undefined;
21
- imageProps?: Record<string, unknown> | undefined;
22
- videoProps?: Record<string, unknown> | undefined;
23
- audioProps?: Record<string, unknown> | undefined;
24
- onClick?: (() => void) | undefined;
25
- };
26
- index: number;
3
+ item: any;
4
+ index: any;
27
5
  }, __VLS_11: {
28
- canUpload: boolean;
6
+ canUpload: any;
29
7
  }, __VLS_17: {};
30
8
  type __VLS_Slots = {} & {
31
9
  'file-item'?: (props: typeof __VLS_1) => any;
@@ -101,112 +79,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
101
79
  readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
102
80
  readonly default: undefined;
103
81
  };
104
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
105
- exceed: (_options: {
106
- files: File[];
107
- maxCount: number;
108
- }) => void;
109
- "update:items": (_items: AttachmentItem[]) => void;
110
- "upload-change": (_file: File, _fileList: AttachmentItem[]) => void;
111
- "upload-success": (_response: unknown, _file: File, _fileList: AttachmentItem[]) => void;
112
- "upload-error": (_error: unknown, _file: File, _fileList: AttachmentItem[]) => void;
113
- "upload-drop": (_files: File[]) => void;
114
- "delete-card": (_item: AttachmentItem, _index: number) => void;
115
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
116
- readonly items: {
117
- readonly type: import("vue").PropType<AttachmentItem[]>;
118
- readonly default: () => never[];
119
- };
120
- readonly overflow: {
121
- readonly type: import("vue").PropType<import("./ai-attachments").OverflowMode>;
122
- readonly default: "scrollX";
123
- };
124
- readonly listStyle: {
125
- readonly type: import("vue").PropType<Record<string, string>>;
126
- readonly default: () => {};
127
- };
128
- readonly scrollMaxHeight: {
129
- readonly type: StringConstructor;
130
- readonly default: undefined;
131
- };
132
- readonly uploadIconSize: {
133
- readonly type: StringConstructor;
134
- readonly default: "24px";
135
- };
136
- readonly dragTarget: {
137
- readonly type: import("vue").PropType<string | HTMLElement>;
138
- readonly default: null;
139
- };
140
- readonly hideUpload: {
141
- readonly type: BooleanConstructor;
142
- readonly default: false;
143
- };
144
- readonly limit: {
145
- readonly type: NumberConstructor;
146
- readonly default: undefined;
147
- };
148
- readonly beforeUpload: {
149
- readonly type: import("vue").PropType<(file: File) => boolean | Promise<boolean>>;
150
- readonly default: undefined;
151
- };
152
- readonly httpRequest: {
153
- readonly type: import("vue").PropType<(options: {
154
- file: File;
155
- }) => Promise<void>>;
156
- readonly default: undefined;
157
- };
158
- readonly disabled: {
159
- readonly type: BooleanConstructor;
160
- readonly default: false;
161
- };
162
- readonly maxCount: {
163
- readonly type: NumberConstructor;
164
- readonly default: undefined;
165
- };
166
- readonly getDropContainer: {
167
- readonly type: import("vue").PropType<() => HTMLElement>;
168
- readonly default: undefined;
169
- };
170
- readonly placeholder: {
171
- readonly type: import("vue").PropType<PlaceholderType | ((type: "inline" | "drop") => PlaceholderType) | string>;
172
- readonly default: () => {
173
- icon: string;
174
- title: string;
175
- description: string;
176
- };
177
- };
178
- readonly themeOverrides: {
179
- readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
180
- readonly default: undefined;
181
- };
182
- }>> & Readonly<{
183
- onExceed?: ((_options: {
184
- files: File[];
185
- maxCount: number;
186
- }) => any) | undefined;
187
- "onUpdate:items"?: ((_items: AttachmentItem[]) => any) | undefined;
188
- "onUpload-change"?: ((_file: File, _fileList: AttachmentItem[]) => any) | undefined;
189
- "onUpload-success"?: ((_response: unknown, _file: File, _fileList: AttachmentItem[]) => any) | undefined;
190
- "onUpload-error"?: ((_error: unknown, _file: File, _fileList: AttachmentItem[]) => any) | undefined;
191
- "onUpload-drop"?: ((_files: File[]) => any) | undefined;
192
- "onDelete-card"?: ((_item: AttachmentItem, _index: number) => any) | undefined;
193
- }>, {
194
- readonly overflow: import("./ai-attachments").OverflowMode;
195
- readonly placeholder: string | PlaceholderType | ((type: "inline" | "drop") => PlaceholderType);
196
- readonly limit: number;
82
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
197
83
  readonly disabled: boolean;
84
+ readonly items: AttachmentItem[];
198
85
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
199
86
  readonly listStyle: Record<string, string>;
200
- readonly items: AttachmentItem[];
201
- readonly httpRequest: (options: {
202
- file: File;
203
- }) => Promise<void>;
204
- readonly beforeUpload: (file: File) => boolean | Promise<boolean>;
205
- readonly maxCount: number;
87
+ readonly overflow: import("./ai-attachments").OverflowMode;
88
+ readonly placeholder: string | PlaceholderType | ((type: "inline" | "drop") => PlaceholderType);
206
89
  readonly scrollMaxHeight: string;
207
90
  readonly uploadIconSize: string;
208
91
  readonly dragTarget: string | HTMLElement;
209
92
  readonly hideUpload: boolean;
93
+ readonly limit: number;
94
+ readonly beforeUpload: (file: File) => boolean | Promise<boolean>;
95
+ readonly httpRequest: (options: {
96
+ file: File;
97
+ }) => Promise<void>;
98
+ readonly maxCount: number;
210
99
  readonly getDropContainer: () => HTMLElement;
211
100
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
212
101
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -48,19 +48,19 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
48
48
  type: import("vue").PropType<() => void>;
49
49
  };
50
50
  citations: {
51
- type: import("vue").PropType<import("./index.js").AiCitation[]>;
51
+ type: import("vue").PropType<import("./src/ai-bubble").AiCitation[]>;
52
52
  default: () => never[];
53
53
  };
54
54
  multimodal: {
55
- type: import("vue").PropType<import("./index.js").AiMultimodal[]>;
55
+ type: import("vue").PropType<import("./src/ai-bubble").AiMultimodal[]>;
56
56
  default: () => never[];
57
57
  };
58
58
  markdownOptions: {
59
- type: import("vue").PropType<import("./index.js").AiMarkdownOptions>;
59
+ type: import("vue").PropType<import("./src/ai-bubble").AiMarkdownOptions>;
60
60
  default: () => {};
61
61
  };
62
62
  structuredData: {
63
- type: import("vue").PropType<import("./index.js").AiStructuredData>;
63
+ type: import("vue").PropType<import("./src/ai-bubble").AiStructuredData>;
64
64
  };
65
65
  onExplainCode: {
66
66
  type: import("vue").PropType<(code: string, language: string) => Promise<string>>;
@@ -72,7 +72,7 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
72
72
  }>>;
73
73
  };
74
74
  onCitationClick: {
75
- type: import("vue").PropType<(citation: import("./index.js").AiCitation) => void>;
75
+ type: import("vue").PropType<(citation: import("./src/ai-bubble").AiCitation) => void>;
76
76
  };
77
77
  themeOverrides: {
78
78
  type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
@@ -115,30 +115,30 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
115
115
  default: () => string[];
116
116
  };
117
117
  }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
118
+ variant: "outlined" | "filled" | "borderless" | "shadow";
119
+ themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
118
120
  loading: boolean;
119
- citations: import("./index.js").AiCitation[];
120
- role: "user" | "assistant" | "system";
121
121
  content: string;
122
- themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
123
- variant: "filled" | "borderless" | "shadow" | "outlined";
124
- shape: "round" | "corner";
125
122
  markdown: boolean;
123
+ role: "user" | "assistant" | "system";
124
+ allowedTags: string[];
125
+ allowedAttributes: string[];
126
+ allowedSchemes: string[];
127
+ sanitizer: (html: string) => string;
128
+ shape: "round" | "corner";
126
129
  typing: boolean;
127
130
  streaming: boolean;
128
- streamMode: "paragraph" | "word" | "sentence";
131
+ streamMode: "word" | "sentence" | "paragraph";
129
132
  streamSpeed: number;
130
133
  streamInterval: number;
131
- multimodal: import("./index.js").AiMultimodal[];
132
- markdownOptions: import("./index.js").AiMarkdownOptions;
134
+ citations: import("./src/ai-bubble").AiCitation[];
135
+ multimodal: import("./src/ai-bubble").AiMultimodal[];
136
+ markdownOptions: import("./src/ai-bubble").AiMarkdownOptions;
133
137
  enablePythonRuntime: boolean;
134
- pythonRuntime: "remote" | "browser";
138
+ pythonRuntime: "browser" | "remote";
135
139
  pythonApiUrl: string;
136
140
  pyodideUrl: string;
137
141
  enableSanitizer: boolean;
138
- sanitizer: (html: string) => string;
139
- allowedTags: string[];
140
- allowedAttributes: string[];
141
- allowedSchemes: string[];
142
142
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
143
143
  P: {};
144
144
  B: {};
@@ -194,19 +194,19 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
194
194
  type: import("vue").PropType<() => void>;
195
195
  };
196
196
  citations: {
197
- type: import("vue").PropType<import("./index.js").AiCitation[]>;
197
+ type: import("vue").PropType<import("./src/ai-bubble").AiCitation[]>;
198
198
  default: () => never[];
199
199
  };
200
200
  multimodal: {
201
- type: import("vue").PropType<import("./index.js").AiMultimodal[]>;
201
+ type: import("vue").PropType<import("./src/ai-bubble").AiMultimodal[]>;
202
202
  default: () => never[];
203
203
  };
204
204
  markdownOptions: {
205
- type: import("vue").PropType<import("./index.js").AiMarkdownOptions>;
205
+ type: import("vue").PropType<import("./src/ai-bubble").AiMarkdownOptions>;
206
206
  default: () => {};
207
207
  };
208
208
  structuredData: {
209
- type: import("vue").PropType<import("./index.js").AiStructuredData>;
209
+ type: import("vue").PropType<import("./src/ai-bubble").AiStructuredData>;
210
210
  };
211
211
  onExplainCode: {
212
212
  type: import("vue").PropType<(code: string, language: string) => Promise<string>>;
@@ -218,7 +218,7 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
218
218
  }>>;
219
219
  };
220
220
  onCitationClick: {
221
- type: import("vue").PropType<(citation: import("./index.js").AiCitation) => void>;
221
+ type: import("vue").PropType<(citation: import("./src/ai-bubble").AiCitation) => void>;
222
222
  };
223
223
  themeOverrides: {
224
224
  type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
@@ -261,30 +261,30 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
261
261
  default: () => string[];
262
262
  };
263
263
  }>> & Readonly<{}>, {}, {}, {}, {}, {
264
+ variant: "outlined" | "filled" | "borderless" | "shadow";
265
+ themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
264
266
  loading: boolean;
265
- citations: import("./index.js").AiCitation[];
266
- role: "user" | "assistant" | "system";
267
267
  content: string;
268
- themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
269
- variant: "filled" | "borderless" | "shadow" | "outlined";
270
- shape: "round" | "corner";
271
268
  markdown: boolean;
269
+ role: "user" | "assistant" | "system";
270
+ allowedTags: string[];
271
+ allowedAttributes: string[];
272
+ allowedSchemes: string[];
273
+ sanitizer: (html: string) => string;
274
+ shape: "round" | "corner";
272
275
  typing: boolean;
273
276
  streaming: boolean;
274
- streamMode: "paragraph" | "word" | "sentence";
277
+ streamMode: "word" | "sentence" | "paragraph";
275
278
  streamSpeed: number;
276
279
  streamInterval: number;
277
- multimodal: import("./index.js").AiMultimodal[];
278
- markdownOptions: import("./index.js").AiMarkdownOptions;
280
+ citations: import("./src/ai-bubble").AiCitation[];
281
+ multimodal: import("./src/ai-bubble").AiMultimodal[];
282
+ markdownOptions: import("./src/ai-bubble").AiMarkdownOptions;
279
283
  enablePythonRuntime: boolean;
280
- pythonRuntime: "remote" | "browser";
284
+ pythonRuntime: "browser" | "remote";
281
285
  pythonApiUrl: string;
282
286
  pyodideUrl: string;
283
287
  enableSanitizer: boolean;
284
- sanitizer: (html: string) => string;
285
- allowedTags: string[];
286
- allowedAttributes: string[];
287
- allowedSchemes: string[];
288
288
  }>;
289
289
  __isFragment?: never;
290
290
  __isTeleport?: never;
@@ -337,19 +337,19 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
337
337
  type: import("vue").PropType<() => void>;
338
338
  };
339
339
  citations: {
340
- type: import("vue").PropType<import("./index.js").AiCitation[]>;
340
+ type: import("vue").PropType<import("./src/ai-bubble").AiCitation[]>;
341
341
  default: () => never[];
342
342
  };
343
343
  multimodal: {
344
- type: import("vue").PropType<import("./index.js").AiMultimodal[]>;
344
+ type: import("vue").PropType<import("./src/ai-bubble").AiMultimodal[]>;
345
345
  default: () => never[];
346
346
  };
347
347
  markdownOptions: {
348
- type: import("vue").PropType<import("./index.js").AiMarkdownOptions>;
348
+ type: import("vue").PropType<import("./src/ai-bubble").AiMarkdownOptions>;
349
349
  default: () => {};
350
350
  };
351
351
  structuredData: {
352
- type: import("vue").PropType<import("./index.js").AiStructuredData>;
352
+ type: import("vue").PropType<import("./src/ai-bubble").AiStructuredData>;
353
353
  };
354
354
  onExplainCode: {
355
355
  type: import("vue").PropType<(code: string, language: string) => Promise<string>>;
@@ -361,7 +361,7 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
361
361
  }>>;
362
362
  };
363
363
  onCitationClick: {
364
- type: import("vue").PropType<(citation: import("./index.js").AiCitation) => void>;
364
+ type: import("vue").PropType<(citation: import("./src/ai-bubble").AiCitation) => void>;
365
365
  };
366
366
  themeOverrides: {
367
367
  type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
@@ -404,30 +404,30 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
404
404
  default: () => string[];
405
405
  };
406
406
  }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
407
+ variant: "outlined" | "filled" | "borderless" | "shadow";
408
+ themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
407
409
  loading: boolean;
408
- citations: import("./index.js").AiCitation[];
409
- role: "user" | "assistant" | "system";
410
410
  content: string;
411
- themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
412
- variant: "filled" | "borderless" | "shadow" | "outlined";
413
- shape: "round" | "corner";
414
411
  markdown: boolean;
412
+ role: "user" | "assistant" | "system";
413
+ allowedTags: string[];
414
+ allowedAttributes: string[];
415
+ allowedSchemes: string[];
416
+ sanitizer: (html: string) => string;
417
+ shape: "round" | "corner";
415
418
  typing: boolean;
416
419
  streaming: boolean;
417
- streamMode: "paragraph" | "word" | "sentence";
420
+ streamMode: "word" | "sentence" | "paragraph";
418
421
  streamSpeed: number;
419
422
  streamInterval: number;
420
- multimodal: import("./index.js").AiMultimodal[];
421
- markdownOptions: import("./index.js").AiMarkdownOptions;
423
+ citations: import("./src/ai-bubble").AiCitation[];
424
+ multimodal: import("./src/ai-bubble").AiMultimodal[];
425
+ markdownOptions: import("./src/ai-bubble").AiMarkdownOptions;
422
426
  enablePythonRuntime: boolean;
423
- pythonRuntime: "remote" | "browser";
427
+ pythonRuntime: "browser" | "remote";
424
428
  pythonApiUrl: string;
425
429
  pyodideUrl: string;
426
430
  enableSanitizer: boolean;
427
- sanitizer: (html: string) => string;
428
- allowedTags: string[];
429
- allowedAttributes: string[];
430
- allowedSchemes: string[];
431
431
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
432
432
  $slots: {
433
433
  avatar?: (props: {}) => any;
@@ -0,0 +1,273 @@
1
+ import { type AiMarkdownOptions } from './ai-bubble';
2
+ import 'highlight.js/styles/atom-one-dark.css';
3
+ declare var __VLS_1: {}, __VLS_15: {}, __VLS_17: {}, __VLS_59: {};
4
+ type __VLS_Slots = {} & {
5
+ avatar?: (props: typeof __VLS_1) => any;
6
+ } & {
7
+ header?: (props: typeof __VLS_15) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_17) => any;
10
+ } & {
11
+ footer?: (props: typeof __VLS_59) => any;
12
+ };
13
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
+ content: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ markdown: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ role: {
23
+ type: import("vue").PropType<"user" | "assistant" | "system">;
24
+ default: string;
25
+ };
26
+ placement: {
27
+ type: import("vue").PropType<"start" | "end">;
28
+ };
29
+ shape: {
30
+ type: import("vue").PropType<"round" | "corner">;
31
+ default: string;
32
+ };
33
+ variant: {
34
+ type: import("vue").PropType<"filled" | "outlined" | "borderless" | "shadow">;
35
+ default: string;
36
+ };
37
+ time: StringConstructor;
38
+ avatar: StringConstructor;
39
+ loading: BooleanConstructor;
40
+ typing: BooleanConstructor;
41
+ streaming: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ streamMode: {
46
+ type: import("vue").PropType<"word" | "sentence" | "paragraph">;
47
+ default: string;
48
+ };
49
+ streamSpeed: {
50
+ type: NumberConstructor;
51
+ default: number;
52
+ };
53
+ streamInterval: {
54
+ type: NumberConstructor;
55
+ default: number;
56
+ };
57
+ onStreamComplete: {
58
+ type: import("vue").PropType<() => void>;
59
+ };
60
+ citations: {
61
+ type: import("vue").PropType<import("./ai-bubble").AiCitation[]>;
62
+ default: () => never[];
63
+ };
64
+ multimodal: {
65
+ type: import("vue").PropType<import("./ai-bubble").AiMultimodal[]>;
66
+ default: () => never[];
67
+ };
68
+ markdownOptions: {
69
+ type: import("vue").PropType<AiMarkdownOptions>;
70
+ default: () => {};
71
+ };
72
+ structuredData: {
73
+ type: import("vue").PropType<import("./ai-bubble").AiStructuredData>;
74
+ };
75
+ onExplainCode: {
76
+ type: import("vue").PropType<(code: string, language: string) => Promise<string>>;
77
+ };
78
+ onRunCode: {
79
+ type: import("vue").PropType<(code: string, language: string) => Promise<{
80
+ output: string;
81
+ error?: string;
82
+ }>>;
83
+ };
84
+ onCitationClick: {
85
+ type: import("vue").PropType<(citation: import("./ai-bubble").AiCitation) => void>;
86
+ };
87
+ themeOverrides: {
88
+ type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
89
+ default: undefined;
90
+ };
91
+ enablePythonRuntime: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ pythonRuntime: {
96
+ type: import("vue").PropType<"browser" | "remote">;
97
+ default: string;
98
+ };
99
+ pythonApiUrl: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ pyodideUrl: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ enableSanitizer: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ sanitizer: {
112
+ type: import("vue").PropType<(html: string) => string>;
113
+ default: undefined;
114
+ };
115
+ allowedTags: {
116
+ type: import("vue").PropType<string[]>;
117
+ default: () => string[];
118
+ };
119
+ allowedAttributes: {
120
+ type: import("vue").PropType<string[]>;
121
+ default: () => string[];
122
+ };
123
+ allowedSchemes: {
124
+ type: import("vue").PropType<string[]>;
125
+ default: () => string[];
126
+ };
127
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
128
+ content: {
129
+ type: StringConstructor;
130
+ default: string;
131
+ };
132
+ markdown: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ role: {
137
+ type: import("vue").PropType<"user" | "assistant" | "system">;
138
+ default: string;
139
+ };
140
+ placement: {
141
+ type: import("vue").PropType<"start" | "end">;
142
+ };
143
+ shape: {
144
+ type: import("vue").PropType<"round" | "corner">;
145
+ default: string;
146
+ };
147
+ variant: {
148
+ type: import("vue").PropType<"filled" | "outlined" | "borderless" | "shadow">;
149
+ default: string;
150
+ };
151
+ time: StringConstructor;
152
+ avatar: StringConstructor;
153
+ loading: BooleanConstructor;
154
+ typing: BooleanConstructor;
155
+ streaming: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ streamMode: {
160
+ type: import("vue").PropType<"word" | "sentence" | "paragraph">;
161
+ default: string;
162
+ };
163
+ streamSpeed: {
164
+ type: NumberConstructor;
165
+ default: number;
166
+ };
167
+ streamInterval: {
168
+ type: NumberConstructor;
169
+ default: number;
170
+ };
171
+ onStreamComplete: {
172
+ type: import("vue").PropType<() => void>;
173
+ };
174
+ citations: {
175
+ type: import("vue").PropType<import("./ai-bubble").AiCitation[]>;
176
+ default: () => never[];
177
+ };
178
+ multimodal: {
179
+ type: import("vue").PropType<import("./ai-bubble").AiMultimodal[]>;
180
+ default: () => never[];
181
+ };
182
+ markdownOptions: {
183
+ type: import("vue").PropType<AiMarkdownOptions>;
184
+ default: () => {};
185
+ };
186
+ structuredData: {
187
+ type: import("vue").PropType<import("./ai-bubble").AiStructuredData>;
188
+ };
189
+ onExplainCode: {
190
+ type: import("vue").PropType<(code: string, language: string) => Promise<string>>;
191
+ };
192
+ onRunCode: {
193
+ type: import("vue").PropType<(code: string, language: string) => Promise<{
194
+ output: string;
195
+ error?: string;
196
+ }>>;
197
+ };
198
+ onCitationClick: {
199
+ type: import("vue").PropType<(citation: import("./ai-bubble").AiCitation) => void>;
200
+ };
201
+ themeOverrides: {
202
+ type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
203
+ default: undefined;
204
+ };
205
+ enablePythonRuntime: {
206
+ type: BooleanConstructor;
207
+ default: boolean;
208
+ };
209
+ pythonRuntime: {
210
+ type: import("vue").PropType<"browser" | "remote">;
211
+ default: string;
212
+ };
213
+ pythonApiUrl: {
214
+ type: StringConstructor;
215
+ default: string;
216
+ };
217
+ pyodideUrl: {
218
+ type: StringConstructor;
219
+ default: string;
220
+ };
221
+ enableSanitizer: {
222
+ type: BooleanConstructor;
223
+ default: boolean;
224
+ };
225
+ sanitizer: {
226
+ type: import("vue").PropType<(html: string) => string>;
227
+ default: undefined;
228
+ };
229
+ allowedTags: {
230
+ type: import("vue").PropType<string[]>;
231
+ default: () => string[];
232
+ };
233
+ allowedAttributes: {
234
+ type: import("vue").PropType<string[]>;
235
+ default: () => string[];
236
+ };
237
+ allowedSchemes: {
238
+ type: import("vue").PropType<string[]>;
239
+ default: () => string[];
240
+ };
241
+ }>> & Readonly<{}>, {
242
+ variant: "outlined" | "filled" | "borderless" | "shadow";
243
+ themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
244
+ loading: boolean;
245
+ content: string;
246
+ markdown: boolean;
247
+ role: "user" | "assistant" | "system";
248
+ allowedTags: string[];
249
+ allowedAttributes: string[];
250
+ allowedSchemes: string[];
251
+ sanitizer: (html: string) => string;
252
+ shape: "round" | "corner";
253
+ typing: boolean;
254
+ streaming: boolean;
255
+ streamMode: "word" | "sentence" | "paragraph";
256
+ streamSpeed: number;
257
+ streamInterval: number;
258
+ citations: import("./ai-bubble").AiCitation[];
259
+ multimodal: import("./ai-bubble").AiMultimodal[];
260
+ markdownOptions: AiMarkdownOptions;
261
+ enablePythonRuntime: boolean;
262
+ pythonRuntime: "browser" | "remote";
263
+ pythonApiUrl: string;
264
+ pyodideUrl: string;
265
+ enableSanitizer: boolean;
266
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
267
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
268
+ export default _default;
269
+ type __VLS_WithSlots<T, S> = T & {
270
+ new (): {
271
+ $slots: S;
272
+ };
273
+ };