@yh-ui/components 1.0.30 → 1.0.37

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 (425) 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 +6 -55
  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 +4 -29
  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.ts +1 -1
  12. package/dist/ai-artifacts/src/ai-artifacts.d.vue.ts +91 -0
  13. package/dist/ai-artifacts/src/ai-artifacts.vue.d.ts +8 -80
  14. package/dist/ai-attachments/index.d.ts +1 -357
  15. package/dist/ai-attachments/src/ai-attachments.d.vue.ts +107 -0
  16. package/dist/ai-attachments/src/ai-attachments.vue.d.ts +12 -123
  17. package/dist/ai-bubble/index.d.ts +54 -54
  18. package/dist/ai-bubble/src/ai-bubble.d.vue.ts +273 -0
  19. package/dist/ai-bubble/src/ai-bubble.vue.d.ts +11 -11
  20. package/dist/ai-bubble-list/index.d.ts +1 -150
  21. package/dist/ai-bubble-list/src/ai-bubble-list.d.vue.ts +93 -0
  22. package/dist/ai-bubble-list/src/ai-bubble-list.vue.d.ts +7 -7
  23. package/dist/ai-chat/index.d.ts +1 -162
  24. package/dist/ai-chat/src/ai-chat.d.vue.ts +63 -0
  25. package/dist/ai-chat/src/ai-chat.vue.d.ts +7 -44
  26. package/dist/ai-code-block/index.d.ts +1 -218
  27. package/dist/ai-code-block/src/ai-code-block.d.vue.ts +73 -0
  28. package/dist/ai-code-block/src/ai-code-block.vue.d.ts +3 -59
  29. package/dist/ai-code-editor/index.d.ts +8 -69
  30. package/dist/ai-code-editor/src/ai-code-editor.d.vue.ts +71 -0
  31. package/dist/ai-code-editor/src/ai-code-editor.vue.d.ts +8 -69
  32. package/dist/ai-code-runner/index.d.ts +1 -66
  33. package/dist/ai-code-runner/src/ai-code-runner.d.vue.ts +34 -0
  34. package/dist/ai-code-runner/src/ai-code-runner.vue.d.ts +3 -36
  35. package/dist/ai-conversations/index.d.ts +1 -214
  36. package/dist/ai-conversations/src/ai-conversations.d.vue.ts +75 -0
  37. package/dist/ai-conversations/src/ai-conversations.vue.d.ts +3 -55
  38. package/dist/ai-editor-sender/index.d.ts +1 -415
  39. package/dist/ai-editor-sender/src/ai-editor-sender.d.ts +1 -1
  40. package/dist/ai-editor-sender/src/ai-editor-sender.d.vue.ts +134 -0
  41. package/dist/ai-editor-sender/src/ai-editor-sender.vue.d.ts +7 -114
  42. package/dist/ai-file-card/index.d.ts +7 -209
  43. package/dist/ai-file-card/src/ai-file-card.d.vue.ts +78 -0
  44. package/dist/ai-file-card/src/ai-file-card.vue.d.ts +5 -62
  45. package/dist/ai-mention/index.d.ts +12 -352
  46. package/dist/ai-mention/src/ai-mention.d.vue.ts +115 -0
  47. package/dist/ai-mention/src/ai-mention.vue.d.ts +11 -107
  48. package/dist/ai-mermaid/index.d.ts +1 -222
  49. package/dist/ai-mermaid/src/ai-mermaid.d.vue.ts +76 -0
  50. package/dist/ai-mermaid/src/ai-mermaid.vue.d.ts +4 -61
  51. package/dist/ai-prompts/index.d.ts +1 -102
  52. package/dist/ai-prompts/src/ai-prompts.d.vue.ts +44 -0
  53. package/dist/ai-prompts/src/ai-prompts.vue.d.ts +6 -27
  54. package/dist/ai-provider/index.d.ts +1 -263
  55. package/dist/ai-provider/src/ai-provider.d.vue.ts +85 -0
  56. package/dist/ai-provider/src/ai-provider.vue.d.ts +5 -56
  57. package/dist/ai-sender/index.d.ts +1 -234
  58. package/dist/ai-sender/src/ai-sender.d.vue.ts +74 -0
  59. package/dist/ai-sender/src/ai-sender.vue.d.ts +8 -70
  60. package/dist/ai-sources/index.d.ts +1 -134
  61. package/dist/ai-sources/src/ai-sources.d.vue.ts +47 -0
  62. package/dist/ai-sources/src/ai-sources.vue.d.ts +3 -34
  63. package/dist/ai-thinking/index.d.ts +1 -150
  64. package/dist/ai-thinking/src/ai-thinking.d.vue.ts +53 -0
  65. package/dist/ai-thinking/src/ai-thinking.vue.d.ts +4 -40
  66. package/dist/ai-thought-chain/index.d.ts +10 -268
  67. package/dist/ai-thought-chain/src/ai-thought-chain.d.vue.ts +92 -0
  68. package/dist/ai-thought-chain/src/ai-thought-chain.vue.d.ts +9 -84
  69. package/dist/ai-voice-trigger/index.d.ts +1 -153
  70. package/dist/ai-voice-trigger/src/ai-voice-trigger.d.vue.ts +49 -0
  71. package/dist/ai-voice-trigger/src/ai-voice-trigger.vue.d.ts +4 -43
  72. package/dist/ai-welcome/index.d.ts +1 -129
  73. package/dist/ai-welcome/src/ai-welcome.d.vue.ts +51 -0
  74. package/dist/ai-welcome/src/ai-welcome.vue.d.ts +3 -32
  75. package/dist/alert/index.d.ts +1 -289
  76. package/dist/alert/src/alert.d.vue.ts +106 -0
  77. package/dist/alert/src/alert.vue.d.ts +10 -81
  78. package/dist/autocomplete/index.d.ts +1 -365
  79. package/dist/autocomplete/src/autocomplete.d.vue.ts +63 -0
  80. package/dist/autocomplete/src/autocomplete.vue.d.ts +20 -68
  81. package/dist/avatar/index.d.ts +17 -140
  82. package/dist/avatar/src/avatar.d.vue.ts +22 -0
  83. package/dist/avatar/src/avatar.vue.d.ts +5 -32
  84. package/dist/back-top/index.d.ts +1 -153
  85. package/dist/back-top/src/back-top.d.vue.ts +54 -0
  86. package/dist/back-top/src/back-top.vue.d.ts +5 -42
  87. package/dist/badge/index.d.ts +1 -151
  88. package/dist/badge/src/badge.d.vue.ts +22 -0
  89. package/dist/badge/src/badge.vue.d.ts +3 -34
  90. package/dist/breadcrumb/index.d.ts +2 -177
  91. package/dist/breadcrumb/src/breadcrumb-item.d.vue.ts +42 -0
  92. package/dist/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
  93. package/dist/breadcrumb/src/breadcrumb.d.vue.ts +41 -0
  94. package/dist/button/index.d.ts +38 -242
  95. package/dist/button/src/button.d.vue.ts +44 -0
  96. package/dist/button/src/button.vue.d.ts +11 -56
  97. package/dist/calendar/index.d.ts +1 -429
  98. package/dist/calendar/src/calendar.d.vue.ts +137 -0
  99. package/dist/calendar/src/calendar.vue.d.ts +10 -130
  100. package/dist/card/index.d.ts +1 -155
  101. package/dist/card/src/card.d.vue.ts +26 -0
  102. package/dist/card/src/card.vue.d.ts +4 -35
  103. package/dist/carousel/index.d.ts +2 -443
  104. package/dist/carousel/src/carousel-item.d.vue.ts +18 -0
  105. package/dist/carousel/src/carousel.d.vue.ts +144 -0
  106. package/dist/carousel/src/carousel.vue.d.ts +16 -107
  107. package/dist/cascader/index.d.ts +108 -459
  108. package/dist/cascader/src/cascader-panel.d.vue.ts +39 -0
  109. package/dist/cascader/src/cascader-panel.vue.d.ts +8 -37
  110. package/dist/cascader/src/cascader.d.vue.ts +63 -0
  111. package/dist/cascader/src/cascader.vue.d.ts +22 -77
  112. package/dist/category-nav/index.d.ts +1 -219
  113. package/dist/category-nav/src/category-nav.d.vue.ts +86 -0
  114. package/dist/category-nav/src/category-nav.vue.d.ts +10 -61
  115. package/dist/checkbox/index.d.ts +50 -323
  116. package/dist/checkbox/src/checkbox-group.d.vue.ts +24 -0
  117. package/dist/checkbox/src/checkbox-group.vue.d.ts +6 -33
  118. package/dist/checkbox/src/checkbox.d.vue.ts +32 -0
  119. package/dist/checkbox/src/checkbox.vue +28 -12
  120. package/dist/checkbox/src/checkbox.vue.d.ts +8 -41
  121. package/dist/col/index.d.ts +1 -188
  122. package/dist/col/src/col.d.vue.ts +114 -0
  123. package/dist/col/src/col.vue.d.ts +4 -4
  124. package/dist/color-picker/index.d.ts +1 -89
  125. package/dist/color-picker/src/alpha-slider.d.vue.ts +10 -0
  126. package/dist/color-picker/src/alpha-slider.vue.d.ts +4 -13
  127. package/dist/color-picker/src/color-picker.d.vue.ts +60 -0
  128. package/dist/color-picker/src/color-picker.vue.d.ts +4 -45
  129. package/dist/color-picker/src/hue-slider.d.vue.ts +9 -0
  130. package/dist/color-picker/src/hue-slider.vue.d.ts +4 -13
  131. package/dist/color-picker/src/sv-panel.d.vue.ts +11 -0
  132. package/dist/color-picker/src/sv-panel.vue.d.ts +4 -13
  133. package/dist/config-provider/index.d.ts +2 -2
  134. package/dist/config-provider/src/config-provider.d.ts +2 -2
  135. package/dist/container/index.d.ts +5 -208
  136. package/dist/container/src/aside.d.vue.ts +15 -0
  137. package/dist/container/src/aside.vue +4 -1
  138. package/dist/container/src/aside.vue.d.ts +2 -23
  139. package/dist/container/src/container.d.vue.ts +13 -0
  140. package/dist/container/src/container.vue +4 -1
  141. package/dist/container/src/container.vue.d.ts +1 -10
  142. package/dist/container/src/footer.d.vue.ts +15 -0
  143. package/dist/container/src/footer.vue +4 -1
  144. package/dist/container/src/footer.vue.d.ts +2 -23
  145. package/dist/container/src/header.d.vue.ts +15 -0
  146. package/dist/container/src/header.vue +4 -1
  147. package/dist/container/src/header.vue.d.ts +2 -23
  148. package/dist/container/src/main.d.vue.ts +13 -0
  149. package/dist/container/src/main.vue +4 -1
  150. package/dist/container/src/main.vue.d.ts +1 -10
  151. package/dist/countdown/index.d.ts +1 -419
  152. package/dist/countdown/src/countdown.d.vue.ts +146 -0
  153. package/dist/countdown/src/countdown.vue.d.ts +16 -121
  154. package/dist/coupon-card/index.d.ts +1 -340
  155. package/dist/coupon-card/src/coupon-card.d.ts +2 -2
  156. package/dist/coupon-card/src/coupon-card.d.vue.ts +121 -0
  157. package/dist/coupon-card/src/coupon-card.vue.d.ts +15 -100
  158. package/dist/date-picker/index.d.ts +1 -604
  159. package/dist/date-picker/src/date-picker.d.vue.ts +372 -0
  160. package/dist/date-picker/src/date-picker.vue.d.ts +31 -31
  161. package/dist/date-picker/src/date-table.d.vue.ts +37 -0
  162. package/dist/date-picker/src/date-table.vue.d.ts +6 -16
  163. package/dist/date-picker/src/month-table.d.vue.ts +19 -0
  164. package/dist/date-picker/src/month-table.vue.d.ts +5 -14
  165. package/dist/date-picker/src/quarter-table.d.vue.ts +19 -0
  166. package/dist/date-picker/src/quarter-table.vue.d.ts +5 -14
  167. package/dist/date-picker/src/year-table.d.vue.ts +19 -0
  168. package/dist/date-picker/src/year-table.vue.d.ts +5 -14
  169. package/dist/dayjs-plugins.cjs +43 -18
  170. package/dist/dayjs-plugins.d.ts +7 -7
  171. package/dist/dayjs-plugins.mjs +14 -15
  172. package/dist/dayjs.cjs +3 -5
  173. package/dist/dayjs.d.ts +1 -2
  174. package/dist/dayjs.mjs +1 -2
  175. package/dist/descriptions/index.d.ts +2 -492
  176. package/dist/descriptions/src/description-item.d.vue.ts +99 -0
  177. package/dist/descriptions/src/description-item.vue.d.ts +5 -5
  178. package/dist/descriptions/src/descriptions.d.vue.ts +106 -0
  179. package/dist/descriptions/src/descriptions.vue +29 -12
  180. package/dist/descriptions/src/descriptions.vue.d.ts +4 -4
  181. package/dist/dialog/index.d.ts +2 -665
  182. package/dist/dialog/src/dialog.d.vue.ts +217 -0
  183. package/dist/dialog/src/dialog.vue.d.ts +22 -200
  184. package/dist/divider/index.d.ts +1 -113
  185. package/dist/divider/src/divider.d.vue.ts +69 -0
  186. package/dist/divider/src/divider.vue +8 -2
  187. package/dist/divider/src/divider.vue.d.ts +3 -3
  188. package/dist/drawer/index.d.ts +13 -391
  189. package/dist/drawer/src/drawer.d.vue.ts +141 -0
  190. package/dist/drawer/src/drawer.vue.d.ts +10 -120
  191. package/dist/dropdown/index.d.ts +3 -627
  192. package/dist/dropdown/src/dropdown-item.d.vue.ts +78 -0
  193. package/dist/dropdown/src/dropdown-item.vue +9 -2
  194. package/dist/dropdown/src/dropdown-item.vue.d.ts +2 -2
  195. package/dist/dropdown/src/dropdown-menu.d.vue.ts +24 -0
  196. package/dist/dropdown/src/dropdown-menu.vue +4 -1
  197. package/dist/dropdown/src/dropdown.d.vue.ts +158 -0
  198. package/dist/dropdown/src/dropdown.vue.d.ts +15 -132
  199. package/dist/empty/index.d.ts +1 -78
  200. package/dist/empty/src/empty.d.vue.ts +19 -0
  201. package/dist/empty/src/empty.vue +26 -9
  202. package/dist/empty/src/empty.vue.d.ts +2 -23
  203. package/dist/filter-bar/index.d.ts +1 -281
  204. package/dist/filter-bar/src/filter-bar.d.vue.ts +87 -0
  205. package/dist/filter-bar/src/filter-bar.vue.d.ts +9 -92
  206. package/dist/form/index.d.ts +3 -690
  207. package/dist/form/src/form-item.d.vue.ts +144 -0
  208. package/dist/form/src/form-item.vue.d.ts +7 -7
  209. package/dist/form/src/form-schema.d.vue.ts +116 -0
  210. package/dist/form/src/form-schema.vue.d.ts +30 -36
  211. package/dist/form/src/form.d.vue.ts +158 -0
  212. package/dist/form/src/form.vue.d.ts +5 -5
  213. package/dist/gantt-chart/index.d.ts +1 -305
  214. package/dist/gantt-chart/src/gantt-chart.d.vue.ts +51 -0
  215. package/dist/gantt-chart/src/gantt-chart.vue.d.ts +18 -63
  216. package/dist/grid/index.d.ts +2 -226
  217. package/dist/grid/src/grid-item.d.vue.ts +17 -0
  218. package/dist/grid/src/grid-item.vue +13 -10
  219. package/dist/grid/src/grid-item.vue.d.ts +2 -27
  220. package/dist/grid/src/grid.d.vue.ts +20 -0
  221. package/dist/grid/src/grid.vue +12 -6
  222. package/dist/grid/src/grid.vue.d.ts +3 -34
  223. package/dist/icon/index.d.ts +15 -15
  224. package/dist/icon/src/icon.d.vue.ts +87 -0
  225. package/dist/icon/src/icon.vue.d.ts +5 -5
  226. package/dist/image/index.d.ts +31 -82
  227. package/dist/image/src/image-viewer.d.vue.ts +68 -0
  228. package/dist/image/src/image-viewer.vue.d.ts +4 -55
  229. package/dist/image/src/image.d.vue.ts +178 -0
  230. package/dist/image/src/image.vue.d.ts +10 -10
  231. package/dist/image-magnifier/index.d.ts +1 -462
  232. package/dist/image-magnifier/src/image-magnifier.d.ts +2 -2
  233. package/dist/image-magnifier/src/image-magnifier.d.vue.ts +154 -0
  234. package/dist/image-magnifier/src/image-magnifier.vue.d.ts +13 -130
  235. package/dist/infinite-scroll/index.d.ts +1 -270
  236. package/dist/infinite-scroll/src/infinite-scroll.d.vue.ts +93 -0
  237. package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +6 -71
  238. package/dist/input/index.d.ts +70 -511
  239. package/dist/input/src/input.d.vue.ts +76 -0
  240. package/dist/input/src/input.vue.d.ts +28 -87
  241. package/dist/input-number/index.d.ts +45 -300
  242. package/dist/input-number/src/input-number.d.vue.ts +50 -0
  243. package/dist/input-number/src/input-number.vue.d.ts +17 -60
  244. package/dist/input-tag/index.d.ts +1 -433
  245. package/dist/input-tag/src/input-tag.d.vue.ts +71 -0
  246. package/dist/input-tag/src/input-tag.vue.d.ts +31 -86
  247. package/dist/loading/index.d.ts +1 -1
  248. package/dist/lucky-draw/index.d.ts +1 -203
  249. package/dist/lucky-draw/src/lucky-draw.d.ts +1 -1
  250. package/dist/lucky-draw/src/lucky-draw.d.vue.ts +74 -0
  251. package/dist/lucky-draw/src/lucky-draw.vue.d.ts +6 -55
  252. package/dist/marquee/index.d.ts +1 -305
  253. package/dist/marquee/src/marquee.d.vue.ts +106 -0
  254. package/dist/marquee/src/marquee.vue.d.ts +6 -80
  255. package/dist/mention/index.d.ts +90 -432
  256. package/dist/mention/src/mention.d.vue.ts +84 -0
  257. package/dist/mention/src/mention.vue.d.ts +36 -101
  258. package/dist/menu/index.d.ts +4 -890
  259. package/dist/menu/src/menu-item-group.d.vue.ts +26 -0
  260. package/dist/menu/src/menu-item.d.vue.ts +52 -0
  261. package/dist/menu/src/menu-item.vue +20 -7
  262. package/dist/menu/src/menu-item.vue.d.ts +1 -1
  263. package/dist/menu/src/menu-recursive-item.d.vue.ts +6 -0
  264. package/dist/menu/src/menu-recursive-item.vue.d.ts +1 -10
  265. package/dist/menu/src/menu.d.vue.ts +209 -0
  266. package/dist/menu/src/menu.vue.d.ts +14 -177
  267. package/dist/menu/src/sub-menu.d.vue.ts +87 -0
  268. package/dist/menu/src/sub-menu.vue.d.ts +1 -1
  269. package/dist/message/index.d.ts +1 -1
  270. package/dist/message/src/message.d.vue.ts +32 -0
  271. package/dist/message/src/message.vue.d.ts +7 -44
  272. package/dist/message-box/index.d.ts +1 -1
  273. package/dist/message-box/src/message-box.d.vue.ts +17 -0
  274. package/dist/message-box/src/message-box.vue.d.ts +2 -11
  275. package/dist/notification/index.d.ts +1 -1
  276. package/dist/notification/src/notification.d.vue.ts +30 -0
  277. package/dist/notification/src/notification.vue.d.ts +8 -37
  278. package/dist/pagination/index.d.ts +29 -29
  279. package/dist/pagination/src/pagination.d.vue.ts +149 -0
  280. package/dist/pagination/src/pagination.vue.d.ts +12 -12
  281. package/dist/popconfirm/index.d.ts +1 -433
  282. package/dist/popconfirm/src/popconfirm.d.vue.ts +148 -0
  283. package/dist/popconfirm/src/popconfirm.vue.d.ts +13 -122
  284. package/dist/popover/index.d.ts +1 -392
  285. package/dist/popover/src/popover.d.vue.ts +139 -0
  286. package/dist/popover/src/popover.vue.d.ts +11 -109
  287. package/dist/price/index.d.ts +1 -363
  288. package/dist/price/src/price.d.ts +3 -3
  289. package/dist/price/src/price.d.vue.ts +223 -0
  290. package/dist/price/src/price.vue.d.ts +12 -12
  291. package/dist/product-card/index.d.ts +1 -557
  292. package/dist/product-card/src/product-card.d.ts +3 -3
  293. package/dist/product-card/src/product-card.d.vue.ts +188 -0
  294. package/dist/product-card/src/product-card.vue.d.ts +15 -160
  295. package/dist/progress/index.d.ts +1 -321
  296. package/dist/progress/src/progress.d.vue.ts +199 -0
  297. package/dist/progress/src/progress.vue.d.ts +8 -8
  298. package/dist/radio/index.d.ts +51 -339
  299. package/dist/radio/src/radio-button.d.vue.ts +25 -0
  300. package/dist/radio/src/radio-button.vue.d.ts +6 -27
  301. package/dist/radio/src/radio-group.d.vue.ts +23 -0
  302. package/dist/radio/src/radio-group.vue.d.ts +6 -31
  303. package/dist/radio/src/radio.d.vue.ts +26 -0
  304. package/dist/radio/src/radio.vue +24 -5
  305. package/dist/radio/src/radio.vue.d.ts +6 -29
  306. package/dist/rate/index.d.ts +1 -313
  307. package/dist/rate/src/rate.d.vue.ts +109 -0
  308. package/dist/rate/src/rate.vue.d.ts +10 -89
  309. package/dist/result/index.d.ts +1 -73
  310. package/dist/result/src/result.d.vue.ts +23 -0
  311. package/dist/result/src/result.vue +11 -2
  312. package/dist/result/src/result.vue.d.ts +2 -23
  313. package/dist/row/index.d.ts +1 -98
  314. package/dist/row/src/row.d.ts +1 -1
  315. package/dist/row/src/row.d.vue.ts +60 -0
  316. package/dist/row/src/row.vue.d.ts +1 -1
  317. package/dist/sanitize.cjs +33 -23
  318. package/dist/sanitize.mjs +28 -20
  319. package/dist/scrollbar/index.d.ts +1 -192
  320. package/dist/scrollbar/src/scrollbar.d.vue.ts +67 -0
  321. package/dist/scrollbar/src/scrollbar.vue.d.ts +4 -46
  322. package/dist/scrollbar/src/thumb.d.vue.ts +16 -0
  323. package/dist/scrollbar/src/thumb.vue.d.ts +4 -31
  324. package/dist/select/index.d.ts +74 -464
  325. package/dist/select/src/option.d.vue.ts +15 -0
  326. package/dist/select/src/option.vue.d.ts +2 -23
  327. package/dist/select/src/select.d.vue.ts +68 -0
  328. package/dist/select/src/select.vue.d.ts +28 -95
  329. package/dist/skeleton/index.d.ts +2 -278
  330. package/dist/skeleton/src/skeleton-item.d.vue.ts +83 -0
  331. package/dist/skeleton/src/skeleton-item.vue.d.ts +2 -2
  332. package/dist/skeleton/src/skeleton.d.vue.ts +89 -0
  333. package/dist/skeleton/src/skeleton.vue.d.ts +2 -2
  334. package/dist/sku-selector/index.d.ts +1 -222
  335. package/dist/sku-selector/src/sku-selector.d.vue.ts +84 -0
  336. package/dist/sku-selector/src/sku-selector.vue.d.ts +9 -62
  337. package/dist/slider/index.d.ts +1 -471
  338. package/dist/slider/src/slider-button.d.vue.ts +43 -0
  339. package/dist/slider/src/slider-button.vue.d.ts +10 -41
  340. package/dist/slider/src/slider.d.vue.ts +164 -0
  341. package/dist/slider/src/slider.vue.d.ts +13 -129
  342. package/dist/smart-address/index.d.ts +1 -324
  343. package/dist/smart-address/src/smart-address.d.vue.ts +110 -0
  344. package/dist/smart-address/src/smart-address.vue.d.ts +8 -102
  345. package/dist/space/index.d.ts +1 -142
  346. package/dist/space/src/space.d.vue.ts +22 -0
  347. package/dist/space/src/space.vue +28 -15
  348. package/dist/space/src/space.vue.d.ts +3 -34
  349. package/dist/spin/index.d.ts +6 -161
  350. package/dist/spin/src/spin.d.vue.ts +66 -0
  351. package/dist/spin/src/spin.vue.d.ts +4 -47
  352. package/dist/steps/index.d.ts +2 -606
  353. package/dist/steps/src/step.d.vue.ts +105 -0
  354. package/dist/steps/src/step.vue.d.ts +4 -4
  355. package/dist/steps/src/steps.d.vue.ts +94 -0
  356. package/dist/steps/src/steps.vue +4 -1
  357. package/dist/steps/src/steps.vue.d.ts +9 -78
  358. package/dist/submit-bar/index.d.ts +1 -291
  359. package/dist/submit-bar/src/submit-bar.d.vue.ts +102 -0
  360. package/dist/submit-bar/src/submit-bar.vue.d.ts +6 -79
  361. package/dist/switch/index.d.ts +1 -372
  362. package/dist/switch/src/switch.d.vue.ts +133 -0
  363. package/dist/switch/src/switch.vue.d.ts +7 -98
  364. package/dist/table/index.d.ts +2 -1488
  365. package/dist/table/src/table-column.d.vue.ts +71 -0
  366. package/dist/table/src/table-column.vue.d.ts +12 -71
  367. package/dist/table/src/table.d.vue.ts +493 -0
  368. package/dist/table/src/table.vue.d.ts +25 -337
  369. package/dist/table/src/use-virtual-scroll.mjs +3 -1
  370. package/dist/tabs/index.d.ts +2 -583
  371. package/dist/tabs/src/tab-pane.d.vue.ts +77 -0
  372. package/dist/tabs/src/tab-pane.vue +11 -3
  373. package/dist/tabs/src/tab-pane.vue.d.ts +2 -2
  374. package/dist/tabs/src/tabs.d.vue.ts +110 -0
  375. package/dist/tabs/src/tabs.vue.d.ts +8 -98
  376. package/dist/tag/index.d.ts +1 -245
  377. package/dist/tag/src/tag.d.vue.ts +42 -0
  378. package/dist/tag/src/tag.vue.d.ts +14 -53
  379. package/dist/time-picker/index.d.ts +1 -619
  380. package/dist/time-picker/src/time-picker.d.vue.ts +67 -0
  381. package/dist/time-picker/src/time-picker.vue.d.ts +29 -102
  382. package/dist/time-picker/src/time-spinner.d.vue.ts +46 -0
  383. package/dist/time-picker/src/time-spinner.vue.d.ts +6 -45
  384. package/dist/time-select/index.d.ts +1 -379
  385. package/dist/time-select/src/time-select.d.vue.ts +51 -0
  386. package/dist/time-select/src/time-select.vue.d.ts +22 -67
  387. package/dist/tooltip/index.d.ts +15 -463
  388. package/dist/tooltip/src/tooltip.d.vue.ts +167 -0
  389. package/dist/tooltip/src/tooltip.vue.d.ts +13 -138
  390. package/dist/transfer/src/transfer-panel.d.vue.ts +45 -0
  391. package/dist/transfer/src/transfer-panel.vue.d.ts +12 -51
  392. package/dist/transfer/src/transfer.d.vue.ts +68 -0
  393. package/dist/transfer/src/transfer.vue.d.ts +15 -62
  394. package/dist/tree/index.d.ts +2 -632
  395. package/dist/tree/src/tree-node.d.vue.ts +18 -0
  396. package/dist/tree/src/tree-node.vue.d.ts +1 -10
  397. package/dist/tree/src/tree.d.vue.ts +228 -0
  398. package/dist/tree/src/tree.vue.d.ts +13 -161
  399. package/dist/tree-select/index.d.ts +1 -435
  400. package/dist/tree-select/src/tree-select.d.vue.ts +141 -0
  401. package/dist/tree-select/src/tree-select.vue.d.ts +19 -129
  402. package/dist/typography/index.d.ts +4 -612
  403. package/dist/typography/src/link.d.vue.ts +21 -0
  404. package/dist/typography/src/link.vue +13 -3
  405. package/dist/typography/src/link.vue.d.ts +5 -30
  406. package/dist/typography/src/paragraph.d.vue.ts +22 -0
  407. package/dist/typography/src/paragraph.vue.d.ts +3 -34
  408. package/dist/typography/src/text.d.vue.ts +29 -0
  409. package/dist/typography/src/text.vue +4 -1
  410. package/dist/typography/src/text.vue.d.ts +2 -39
  411. package/dist/typography/src/title.d.vue.ts +26 -0
  412. package/dist/typography/src/title.vue +4 -1
  413. package/dist/typography/src/title.vue.d.ts +2 -37
  414. package/dist/upload/index.d.ts +1 -391
  415. package/dist/upload/src/upload.d.vue.ts +134 -0
  416. package/dist/upload/src/upload.vue.d.ts +13 -109
  417. package/dist/waterfall/index.d.ts +1 -57
  418. package/dist/waterfall/src/waterfall.d.vue.ts +56 -0
  419. package/dist/waterfall/src/waterfall.vue.d.ts +4 -4
  420. package/dist/watermark/index.d.ts +1 -236
  421. package/dist/watermark/src/watermark.d.vue.ts +143 -0
  422. package/dist/watermark/src/watermark.vue.d.ts +6 -6
  423. package/package.json +8 -9
  424. package/dist/component.d.ts +0 -284
  425. package/dist/env.d.ts +0 -11
@@ -1,222 +1,5 @@
1
1
  import AiCodeBlock from './src/ai-code-block.vue';
2
- export declare const YhAiCodeBlock: import("@yh-ui/utils").SFCWithInstall<{
3
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
- readonly language: {
5
- readonly type: StringConstructor;
6
- readonly default: "text";
7
- };
8
- readonly code: {
9
- readonly type: StringConstructor;
10
- readonly default: "";
11
- };
12
- readonly filename: StringConstructor;
13
- readonly showLineNumbers: {
14
- readonly type: BooleanConstructor;
15
- readonly default: false;
16
- };
17
- readonly highlightLines: {
18
- readonly type: import("vue").PropType<number[]>;
19
- readonly default: () => never[];
20
- };
21
- readonly collapsible: {
22
- readonly type: BooleanConstructor;
23
- readonly default: false;
24
- };
25
- readonly defaultCollapsed: {
26
- readonly type: BooleanConstructor;
27
- readonly default: false;
28
- };
29
- readonly showRun: {
30
- readonly type: BooleanConstructor;
31
- readonly default: false;
32
- };
33
- readonly showEdit: {
34
- readonly type: BooleanConstructor;
35
- readonly default: false;
36
- };
37
- readonly highlight: {
38
- readonly type: BooleanConstructor;
39
- readonly default: true;
40
- };
41
- readonly editable: {
42
- readonly type: BooleanConstructor;
43
- readonly default: false;
44
- };
45
- readonly themeOverrides: {
46
- readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
47
- readonly default: undefined;
48
- };
49
- }>> & Readonly<{
50
- onEdit?: ((code: string) => any) | undefined;
51
- onCopy?: ((code: string) => any) | undefined;
52
- onRun?: ((code: string) => any) | undefined;
53
- onUpdate?: ((code: string) => any) | undefined;
54
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
- edit: (code: string) => void;
56
- copy: (code: string) => void;
57
- run: (code: string) => void;
58
- update: (code: string) => void;
59
- }, import("vue").PublicProps, {
60
- readonly code: string;
61
- readonly language: string;
62
- readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
63
- readonly editable: boolean;
64
- readonly highlight: boolean;
65
- readonly collapsible: boolean;
66
- readonly showLineNumbers: boolean;
67
- readonly highlightLines: number[];
68
- readonly defaultCollapsed: boolean;
69
- readonly showRun: boolean;
70
- readonly showEdit: boolean;
71
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
72
- P: {};
73
- B: {};
74
- D: {};
75
- C: {};
76
- M: {};
77
- Defaults: {};
78
- }, Readonly<import("vue").ExtractPropTypes<{
79
- readonly language: {
80
- readonly type: StringConstructor;
81
- readonly default: "text";
82
- };
83
- readonly code: {
84
- readonly type: StringConstructor;
85
- readonly default: "";
86
- };
87
- readonly filename: StringConstructor;
88
- readonly showLineNumbers: {
89
- readonly type: BooleanConstructor;
90
- readonly default: false;
91
- };
92
- readonly highlightLines: {
93
- readonly type: import("vue").PropType<number[]>;
94
- readonly default: () => never[];
95
- };
96
- readonly collapsible: {
97
- readonly type: BooleanConstructor;
98
- readonly default: false;
99
- };
100
- readonly defaultCollapsed: {
101
- readonly type: BooleanConstructor;
102
- readonly default: false;
103
- };
104
- readonly showRun: {
105
- readonly type: BooleanConstructor;
106
- readonly default: false;
107
- };
108
- readonly showEdit: {
109
- readonly type: BooleanConstructor;
110
- readonly default: false;
111
- };
112
- readonly highlight: {
113
- readonly type: BooleanConstructor;
114
- readonly default: true;
115
- };
116
- readonly editable: {
117
- readonly type: BooleanConstructor;
118
- readonly default: false;
119
- };
120
- readonly themeOverrides: {
121
- readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
122
- readonly default: undefined;
123
- };
124
- }>> & Readonly<{
125
- onEdit?: ((code: string) => any) | undefined;
126
- onCopy?: ((code: string) => any) | undefined;
127
- onRun?: ((code: string) => any) | undefined;
128
- onUpdate?: ((code: string) => any) | undefined;
129
- }>, {}, {}, {}, {}, {
130
- readonly code: string;
131
- readonly language: string;
132
- readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
133
- readonly editable: boolean;
134
- readonly highlight: boolean;
135
- readonly collapsible: boolean;
136
- readonly showLineNumbers: boolean;
137
- readonly highlightLines: number[];
138
- readonly defaultCollapsed: boolean;
139
- readonly showRun: boolean;
140
- readonly showEdit: boolean;
141
- }>;
142
- __isFragment?: never;
143
- __isTeleport?: never;
144
- __isSuspense?: never;
145
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
146
- readonly language: {
147
- readonly type: StringConstructor;
148
- readonly default: "text";
149
- };
150
- readonly code: {
151
- readonly type: StringConstructor;
152
- readonly default: "";
153
- };
154
- readonly filename: StringConstructor;
155
- readonly showLineNumbers: {
156
- readonly type: BooleanConstructor;
157
- readonly default: false;
158
- };
159
- readonly highlightLines: {
160
- readonly type: import("vue").PropType<number[]>;
161
- readonly default: () => never[];
162
- };
163
- readonly collapsible: {
164
- readonly type: BooleanConstructor;
165
- readonly default: false;
166
- };
167
- readonly defaultCollapsed: {
168
- readonly type: BooleanConstructor;
169
- readonly default: false;
170
- };
171
- readonly showRun: {
172
- readonly type: BooleanConstructor;
173
- readonly default: false;
174
- };
175
- readonly showEdit: {
176
- readonly type: BooleanConstructor;
177
- readonly default: false;
178
- };
179
- readonly highlight: {
180
- readonly type: BooleanConstructor;
181
- readonly default: true;
182
- };
183
- readonly editable: {
184
- readonly type: BooleanConstructor;
185
- readonly default: false;
186
- };
187
- readonly themeOverrides: {
188
- readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
189
- readonly default: undefined;
190
- };
191
- }>> & Readonly<{
192
- onEdit?: ((code: string) => any) | undefined;
193
- onCopy?: ((code: string) => any) | undefined;
194
- onRun?: ((code: string) => any) | undefined;
195
- onUpdate?: ((code: string) => any) | undefined;
196
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
197
- edit: (code: string) => void;
198
- copy: (code: string) => void;
199
- run: (code: string) => void;
200
- update: (code: string) => void;
201
- }, string, {
202
- readonly code: string;
203
- readonly language: string;
204
- readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
205
- readonly editable: boolean;
206
- readonly highlight: boolean;
207
- readonly collapsible: boolean;
208
- readonly showLineNumbers: boolean;
209
- readonly highlightLines: number[];
210
- readonly defaultCollapsed: boolean;
211
- readonly showRun: boolean;
212
- readonly showEdit: boolean;
213
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
214
- $slots: {
215
- actions?: (props: {}) => any;
216
- } & {
217
- default?: (props: {}) => any;
218
- };
219
- })> & Record<string, unknown>;
2
+ export declare const YhAiCodeBlock: any;
220
3
  export default YhAiCodeBlock;
221
4
  export * from './src/ai-code-block';
222
5
  export type AiCodeBlockInstance = InstanceType<typeof AiCodeBlock>;
@@ -0,0 +1,73 @@
1
+ import 'highlight.js/styles/atom-one-dark.css';
2
+ declare var __VLS_5: {}, __VLS_63: {};
3
+ type __VLS_Slots = {} & {
4
+ actions?: (props: typeof __VLS_5) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_63) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ readonly language: {
10
+ readonly type: StringConstructor;
11
+ readonly default: "text";
12
+ };
13
+ readonly code: {
14
+ readonly type: StringConstructor;
15
+ readonly default: "";
16
+ };
17
+ readonly filename: StringConstructor;
18
+ readonly showLineNumbers: {
19
+ readonly type: BooleanConstructor;
20
+ readonly default: false;
21
+ };
22
+ readonly highlightLines: {
23
+ readonly type: import("vue").PropType<number[]>;
24
+ readonly default: () => never[];
25
+ };
26
+ readonly collapsible: {
27
+ readonly type: BooleanConstructor;
28
+ readonly default: false;
29
+ };
30
+ readonly defaultCollapsed: {
31
+ readonly type: BooleanConstructor;
32
+ readonly default: false;
33
+ };
34
+ readonly showRun: {
35
+ readonly type: BooleanConstructor;
36
+ readonly default: false;
37
+ };
38
+ readonly showEdit: {
39
+ readonly type: BooleanConstructor;
40
+ readonly default: false;
41
+ };
42
+ readonly highlight: {
43
+ readonly type: BooleanConstructor;
44
+ readonly default: true;
45
+ };
46
+ readonly editable: {
47
+ readonly type: BooleanConstructor;
48
+ readonly default: false;
49
+ };
50
+ readonly themeOverrides: {
51
+ readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
52
+ readonly default: undefined;
53
+ };
54
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
55
+ readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
56
+ readonly code: string;
57
+ readonly language: string;
58
+ readonly editable: boolean;
59
+ readonly collapsible: boolean;
60
+ readonly showLineNumbers: boolean;
61
+ readonly highlightLines: number[];
62
+ readonly defaultCollapsed: boolean;
63
+ readonly showRun: boolean;
64
+ readonly showEdit: boolean;
65
+ readonly highlight: boolean;
66
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
67
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
68
+ export default _default;
69
+ type __VLS_WithSlots<T, S> = T & {
70
+ new (): {
71
+ $slots: S;
72
+ };
73
+ };
@@ -51,74 +51,18 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
51
51
  readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
52
52
  readonly default: undefined;
53
53
  };
54
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
- edit: (code: string) => void;
56
- copy: (code: string) => void;
57
- run: (code: string) => void;
58
- update: (code: string) => void;
59
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
60
- readonly language: {
61
- readonly type: StringConstructor;
62
- readonly default: "text";
63
- };
64
- readonly code: {
65
- readonly type: StringConstructor;
66
- readonly default: "";
67
- };
68
- readonly filename: StringConstructor;
69
- readonly showLineNumbers: {
70
- readonly type: BooleanConstructor;
71
- readonly default: false;
72
- };
73
- readonly highlightLines: {
74
- readonly type: import("vue").PropType<number[]>;
75
- readonly default: () => never[];
76
- };
77
- readonly collapsible: {
78
- readonly type: BooleanConstructor;
79
- readonly default: false;
80
- };
81
- readonly defaultCollapsed: {
82
- readonly type: BooleanConstructor;
83
- readonly default: false;
84
- };
85
- readonly showRun: {
86
- readonly type: BooleanConstructor;
87
- readonly default: false;
88
- };
89
- readonly showEdit: {
90
- readonly type: BooleanConstructor;
91
- readonly default: false;
92
- };
93
- readonly highlight: {
94
- readonly type: BooleanConstructor;
95
- readonly default: true;
96
- };
97
- readonly editable: {
98
- readonly type: BooleanConstructor;
99
- readonly default: false;
100
- };
101
- readonly themeOverrides: {
102
- readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
103
- readonly default: undefined;
104
- };
105
- }>> & Readonly<{
106
- onEdit?: ((code: string) => any) | undefined;
107
- onCopy?: ((code: string) => any) | undefined;
108
- onRun?: ((code: string) => any) | undefined;
109
- onUpdate?: ((code: string) => any) | undefined;
110
- }>, {
54
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
55
+ readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
111
56
  readonly code: string;
112
57
  readonly language: string;
113
- readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
114
58
  readonly editable: boolean;
115
- readonly highlight: boolean;
116
59
  readonly collapsible: boolean;
117
60
  readonly showLineNumbers: boolean;
118
61
  readonly highlightLines: number[];
119
62
  readonly defaultCollapsed: boolean;
120
63
  readonly showRun: boolean;
121
64
  readonly showEdit: boolean;
65
+ readonly highlight: boolean;
122
66
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
123
67
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
124
68
  export default _default;
@@ -55,78 +55,17 @@ export declare const YhAiCodeEditor: import("@yh-ui/utils").SFCWithInstall<impor
55
55
  focus: () => void;
56
56
  setValue: (value: string) => void;
57
57
  getValue: () => string;
58
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
- change: (value: string) => void;
60
- "update:modelValue": (value: string) => void;
61
- mount: () => void;
62
- dispose: () => void;
63
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
- readonly language: {
65
- readonly type: StringConstructor;
66
- readonly default: "javascript";
67
- };
68
- readonly modelValue: {
69
- readonly type: StringConstructor;
70
- readonly default: "";
71
- };
72
- readonly initialValue: {
73
- readonly type: StringConstructor;
74
- readonly default: undefined;
75
- };
76
- readonly readonly: {
77
- readonly type: BooleanConstructor;
78
- readonly default: false;
79
- };
80
- readonly theme: {
81
- readonly type: StringConstructor;
82
- readonly default: "vs-dark";
83
- readonly validator: (value: string) => boolean;
84
- };
85
- readonly height: {
86
- readonly type: import("vue").PropType<string | number>;
87
- readonly default: 300;
88
- };
89
- readonly minimap: {
90
- readonly type: BooleanConstructor;
91
- readonly default: false;
92
- };
93
- readonly wordWrap: {
94
- readonly type: StringConstructor;
95
- readonly default: "on";
96
- readonly validator: (value: string) => boolean;
97
- };
98
- readonly fontSize: {
99
- readonly type: NumberConstructor;
100
- readonly default: 14;
101
- };
102
- readonly tabSize: {
103
- readonly type: NumberConstructor;
104
- readonly default: 2;
105
- };
106
- readonly autofocus: {
107
- readonly type: BooleanConstructor;
108
- readonly default: true;
109
- };
110
- readonly themeOverrides: {
111
- readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
112
- readonly default: undefined;
113
- };
114
- }>> & Readonly<{
115
- onChange?: ((value: string) => any) | undefined;
116
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
117
- onMount?: (() => any) | undefined;
118
- onDispose?: (() => any) | undefined;
119
- }>, {
120
- readonly readonly: boolean;
121
- readonly language: string;
122
- readonly theme: string;
123
- readonly fontSize: number;
124
- readonly height: string | number;
58
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
125
59
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
126
- readonly autofocus: boolean;
127
- readonly modelValue: string;
60
+ readonly height: string | number;
61
+ readonly fontSize: number;
128
62
  readonly tabSize: number;
129
63
  readonly wordWrap: string;
64
+ readonly autofocus: boolean;
65
+ readonly language: string;
66
+ readonly theme: string;
67
+ readonly modelValue: string;
68
+ readonly readonly: boolean;
130
69
  readonly initialValue: string;
131
70
  readonly minimap: boolean;
132
71
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, unknown>;
@@ -0,0 +1,71 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ readonly language: {
3
+ readonly type: StringConstructor;
4
+ readonly default: "javascript";
5
+ };
6
+ readonly modelValue: {
7
+ readonly type: StringConstructor;
8
+ readonly default: "";
9
+ };
10
+ readonly initialValue: {
11
+ readonly type: StringConstructor;
12
+ readonly default: undefined;
13
+ };
14
+ readonly readonly: {
15
+ readonly type: BooleanConstructor;
16
+ readonly default: false;
17
+ };
18
+ readonly theme: {
19
+ readonly type: StringConstructor;
20
+ readonly default: "vs-dark";
21
+ readonly validator: (value: string) => boolean;
22
+ };
23
+ readonly height: {
24
+ readonly type: import("vue").PropType<string | number>;
25
+ readonly default: 300;
26
+ };
27
+ readonly minimap: {
28
+ readonly type: BooleanConstructor;
29
+ readonly default: false;
30
+ };
31
+ readonly wordWrap: {
32
+ readonly type: StringConstructor;
33
+ readonly default: "on";
34
+ readonly validator: (value: string) => boolean;
35
+ };
36
+ readonly fontSize: {
37
+ readonly type: NumberConstructor;
38
+ readonly default: 14;
39
+ };
40
+ readonly tabSize: {
41
+ readonly type: NumberConstructor;
42
+ readonly default: 2;
43
+ };
44
+ readonly autofocus: {
45
+ readonly type: BooleanConstructor;
46
+ readonly default: true;
47
+ };
48
+ readonly themeOverrides: {
49
+ readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
50
+ readonly default: undefined;
51
+ };
52
+ }>, {
53
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
54
+ focus: () => void;
55
+ setValue: (value: string) => void;
56
+ getValue: () => string;
57
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
58
+ readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
59
+ readonly height: string | number;
60
+ readonly fontSize: number;
61
+ readonly tabSize: number;
62
+ readonly wordWrap: string;
63
+ readonly autofocus: boolean;
64
+ readonly language: string;
65
+ readonly theme: string;
66
+ readonly modelValue: string;
67
+ readonly readonly: boolean;
68
+ readonly initialValue: string;
69
+ readonly minimap: boolean;
70
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
71
+ export default _default;
@@ -54,78 +54,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
54
54
  focus: () => void;
55
55
  setValue: (value: string) => void;
56
56
  getValue: () => string;
57
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
- change: (value: string) => void;
59
- "update:modelValue": (value: string) => void;
60
- mount: () => void;
61
- dispose: () => void;
62
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
- readonly language: {
64
- readonly type: StringConstructor;
65
- readonly default: "javascript";
66
- };
67
- readonly modelValue: {
68
- readonly type: StringConstructor;
69
- readonly default: "";
70
- };
71
- readonly initialValue: {
72
- readonly type: StringConstructor;
73
- readonly default: undefined;
74
- };
75
- readonly readonly: {
76
- readonly type: BooleanConstructor;
77
- readonly default: false;
78
- };
79
- readonly theme: {
80
- readonly type: StringConstructor;
81
- readonly default: "vs-dark";
82
- readonly validator: (value: string) => boolean;
83
- };
84
- readonly height: {
85
- readonly type: import("vue").PropType<string | number>;
86
- readonly default: 300;
87
- };
88
- readonly minimap: {
89
- readonly type: BooleanConstructor;
90
- readonly default: false;
91
- };
92
- readonly wordWrap: {
93
- readonly type: StringConstructor;
94
- readonly default: "on";
95
- readonly validator: (value: string) => boolean;
96
- };
97
- readonly fontSize: {
98
- readonly type: NumberConstructor;
99
- readonly default: 14;
100
- };
101
- readonly tabSize: {
102
- readonly type: NumberConstructor;
103
- readonly default: 2;
104
- };
105
- readonly autofocus: {
106
- readonly type: BooleanConstructor;
107
- readonly default: true;
108
- };
109
- readonly themeOverrides: {
110
- readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
111
- readonly default: undefined;
112
- };
113
- }>> & Readonly<{
114
- onChange?: ((value: string) => any) | undefined;
115
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
116
- onMount?: (() => any) | undefined;
117
- onDispose?: (() => any) | undefined;
118
- }>, {
119
- readonly readonly: boolean;
120
- readonly language: string;
121
- readonly theme: string;
122
- readonly fontSize: number;
123
- readonly height: string | number;
57
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
124
58
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
125
- readonly autofocus: boolean;
126
- readonly modelValue: string;
59
+ readonly height: string | number;
60
+ readonly fontSize: number;
127
61
  readonly tabSize: number;
128
62
  readonly wordWrap: string;
63
+ readonly autofocus: boolean;
64
+ readonly language: string;
65
+ readonly theme: string;
66
+ readonly modelValue: string;
67
+ readonly readonly: boolean;
129
68
  readonly initialValue: string;
130
69
  readonly minimap: boolean;
131
70
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,70 +1,5 @@
1
1
  import AiCodeRunner from './src/ai-code-runner.vue';
2
- export declare const YhAiCodeRunner: import("@yh-ui/utils").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
- readonly language: {
4
- readonly type: StringConstructor;
5
- readonly default: "javascript";
6
- };
7
- readonly code: {
8
- readonly type: StringConstructor;
9
- readonly default: "";
10
- };
11
- readonly height: {
12
- readonly type: import("vue").PropType<string | number>;
13
- readonly default: 200;
14
- };
15
- readonly autorun: {
16
- readonly type: BooleanConstructor;
17
- readonly default: false;
18
- };
19
- readonly themeOverrides: {
20
- readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
21
- readonly default: undefined;
22
- };
23
- }>, {
24
- run: () => Promise<void>;
25
- stop: () => void;
26
- reset: () => Promise<void>;
27
- clear: () => void;
28
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
- output: (data: string) => void;
30
- error: (error: string) => void;
31
- run: (code: string) => void;
32
- stop: () => void;
33
- ready: (instance: import("@webcontainer/api").WebContainer) => void;
34
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
- readonly language: {
36
- readonly type: StringConstructor;
37
- readonly default: "javascript";
38
- };
39
- readonly code: {
40
- readonly type: StringConstructor;
41
- readonly default: "";
42
- };
43
- readonly height: {
44
- readonly type: import("vue").PropType<string | number>;
45
- readonly default: 200;
46
- };
47
- readonly autorun: {
48
- readonly type: BooleanConstructor;
49
- readonly default: false;
50
- };
51
- readonly themeOverrides: {
52
- readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
53
- readonly default: undefined;
54
- };
55
- }>> & Readonly<{
56
- onOutput?: ((data: string) => any) | undefined;
57
- onError?: ((error: string) => any) | undefined;
58
- onRun?: ((code: string) => any) | undefined;
59
- onStop?: (() => any) | undefined;
60
- onReady?: ((instance: import("@webcontainer/api").WebContainer) => any) | undefined;
61
- }>, {
62
- readonly code: string;
63
- readonly language: string;
64
- readonly height: string | number;
65
- readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
66
- readonly autorun: boolean;
67
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, unknown>;
2
+ export declare const YhAiCodeRunner: any;
68
3
  export default YhAiCodeRunner;
69
4
  export * from './src/ai-code-runner';
70
5
  export type AiCodeRunnerInstance = InstanceType<typeof AiCodeRunner>;