@yh-ui/components 1.0.26 → 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 (660) hide show
  1. package/dist/affix/index.d.ts +1 -202
  2. package/dist/affix/src/affix.css +2 -448
  3. package/dist/affix/src/affix.d.vue.ts +66 -0
  4. package/dist/affix/src/affix.vue +2 -448
  5. package/dist/affix/src/affix.vue.d.ts +5 -54
  6. package/dist/ai-action-group/index.d.ts +1 -108
  7. package/dist/ai-action-group/src/ai-action-group.css +2 -448
  8. package/dist/ai-action-group/src/ai-action-group.d.vue.ts +40 -0
  9. package/dist/ai-action-group/src/ai-action-group.vue +2 -448
  10. package/dist/ai-action-group/src/ai-action-group.vue.d.ts +5 -30
  11. package/dist/ai-agent-card/index.d.ts +1 -174
  12. package/dist/ai-agent-card/src/ai-agent-card.css +2 -448
  13. package/dist/ai-agent-card/src/ai-agent-card.d.vue.ts +62 -0
  14. package/dist/ai-agent-card/src/ai-agent-card.vue +2 -448
  15. package/dist/ai-agent-card/src/ai-agent-card.vue.d.ts +7 -50
  16. package/dist/ai-artifacts/index.d.ts +1 -274
  17. package/dist/ai-artifacts/src/ai-artifacts.css +2 -448
  18. package/dist/ai-artifacts/src/ai-artifacts.d.vue.ts +91 -0
  19. package/dist/ai-artifacts/src/ai-artifacts.vue +2 -448
  20. package/dist/ai-artifacts/src/ai-artifacts.vue.d.ts +8 -80
  21. package/dist/ai-attachments/index.d.ts +1 -357
  22. package/dist/ai-attachments/src/ai-attachments.css +2 -448
  23. package/dist/ai-attachments/src/ai-attachments.d.vue.ts +107 -0
  24. package/dist/ai-attachments/src/ai-attachments.vue +2 -448
  25. package/dist/ai-attachments/src/ai-attachments.vue.d.ts +13 -124
  26. package/dist/ai-bubble/index.d.ts +54 -54
  27. package/dist/ai-bubble/src/ai-bubble.css +2 -448
  28. package/dist/ai-bubble/src/ai-bubble.d.vue.ts +273 -0
  29. package/dist/ai-bubble/src/ai-bubble.vue +33 -455
  30. package/dist/ai-bubble/src/ai-bubble.vue.d.ts +11 -11
  31. package/dist/ai-bubble-list/index.d.ts +1 -150
  32. package/dist/ai-bubble-list/src/ai-bubble-list.css +2 -448
  33. package/dist/ai-bubble-list/src/ai-bubble-list.d.vue.ts +93 -0
  34. package/dist/ai-bubble-list/src/ai-bubble-list.vue +2 -448
  35. package/dist/ai-bubble-list/src/ai-bubble-list.vue.d.ts +7 -7
  36. package/dist/ai-chat/index.d.ts +1 -162
  37. package/dist/ai-chat/src/ai-chat.css +2 -448
  38. package/dist/ai-chat/src/ai-chat.d.vue.ts +63 -0
  39. package/dist/ai-chat/src/ai-chat.vue +2 -448
  40. package/dist/ai-chat/src/ai-chat.vue.d.ts +7 -44
  41. package/dist/ai-code-block/index.d.ts +1 -218
  42. package/dist/ai-code-block/src/ai-code-block.css +2 -448
  43. package/dist/ai-code-block/src/ai-code-block.d.vue.ts +73 -0
  44. package/dist/ai-code-block/src/ai-code-block.vue +2 -448
  45. package/dist/ai-code-block/src/ai-code-block.vue.d.ts +3 -59
  46. package/dist/ai-code-editor/index.d.ts +7 -68
  47. package/dist/ai-code-editor/src/ai-code-editor.css +2 -448
  48. package/dist/ai-code-editor/src/ai-code-editor.d.vue.ts +71 -0
  49. package/dist/ai-code-editor/src/ai-code-editor.vue +36 -474
  50. package/dist/ai-code-editor/src/ai-code-editor.vue.d.ts +7 -68
  51. package/dist/ai-code-runner/index.d.ts +1 -66
  52. package/dist/ai-code-runner/src/ai-code-runner.css +2 -448
  53. package/dist/ai-code-runner/src/ai-code-runner.d.vue.ts +34 -0
  54. package/dist/ai-code-runner/src/ai-code-runner.vue +2 -449
  55. package/dist/ai-code-runner/src/ai-code-runner.vue.d.ts +3 -36
  56. package/dist/ai-code-runner/src/webcontainer.cjs +3 -0
  57. package/dist/ai-code-runner/src/webcontainer.mjs +3 -0
  58. package/dist/ai-conversations/index.d.ts +1 -214
  59. package/dist/ai-conversations/src/ai-conversations.css +2 -448
  60. package/dist/ai-conversations/src/ai-conversations.d.vue.ts +75 -0
  61. package/dist/ai-conversations/src/ai-conversations.vue +2 -448
  62. package/dist/ai-conversations/src/ai-conversations.vue.d.ts +3 -55
  63. package/dist/ai-editor-sender/index.d.ts +1 -415
  64. package/dist/ai-editor-sender/src/ai-editor-sender.css +2 -448
  65. package/dist/ai-editor-sender/src/ai-editor-sender.d.vue.ts +134 -0
  66. package/dist/ai-editor-sender/src/ai-editor-sender.vue +2 -448
  67. package/dist/ai-editor-sender/src/ai-editor-sender.vue.d.ts +6 -113
  68. package/dist/ai-file-card/index.d.ts +7 -209
  69. package/dist/ai-file-card/src/ai-file-card.css +2 -448
  70. package/dist/ai-file-card/src/ai-file-card.d.vue.ts +78 -0
  71. package/dist/ai-file-card/src/ai-file-card.vue +2 -448
  72. package/dist/ai-file-card/src/ai-file-card.vue.d.ts +5 -62
  73. package/dist/ai-mention/index.d.ts +12 -352
  74. package/dist/ai-mention/src/ai-mention.css +2 -448
  75. package/dist/ai-mention/src/ai-mention.d.vue.ts +115 -0
  76. package/dist/ai-mention/src/ai-mention.vue +2 -448
  77. package/dist/ai-mention/src/ai-mention.vue.d.ts +11 -107
  78. package/dist/ai-mermaid/index.d.ts +1 -222
  79. package/dist/ai-mermaid/src/ai-mermaid.css +84 -448
  80. package/dist/ai-mermaid/src/ai-mermaid.d.ts +6 -2
  81. package/dist/ai-mermaid/src/ai-mermaid.d.vue.ts +76 -0
  82. package/dist/ai-mermaid/src/ai-mermaid.vue +277 -457
  83. package/dist/ai-mermaid/src/ai-mermaid.vue.d.ts +4 -61
  84. package/dist/ai-prompts/index.d.ts +1 -102
  85. package/dist/ai-prompts/src/ai-prompts.css +2 -448
  86. package/dist/ai-prompts/src/ai-prompts.d.vue.ts +44 -0
  87. package/dist/ai-prompts/src/ai-prompts.vue +2 -448
  88. package/dist/ai-prompts/src/ai-prompts.vue.d.ts +7 -28
  89. package/dist/ai-provider/index.d.ts +1 -137
  90. package/dist/ai-provider/src/ai-provider.d.vue.ts +85 -0
  91. package/dist/ai-provider/src/ai-provider.vue.d.ts +6 -6
  92. package/dist/ai-sender/index.d.ts +1 -234
  93. package/dist/ai-sender/src/ai-sender.css +2 -448
  94. package/dist/ai-sender/src/ai-sender.d.vue.ts +74 -0
  95. package/dist/ai-sender/src/ai-sender.vue +2 -448
  96. package/dist/ai-sender/src/ai-sender.vue.d.ts +8 -70
  97. package/dist/ai-sources/index.d.ts +1 -134
  98. package/dist/ai-sources/src/ai-sources.css +2 -448
  99. package/dist/ai-sources/src/ai-sources.d.vue.ts +47 -0
  100. package/dist/ai-sources/src/ai-sources.vue +2 -448
  101. package/dist/ai-sources/src/ai-sources.vue.d.ts +3 -34
  102. package/dist/ai-thinking/index.d.ts +1 -150
  103. package/dist/ai-thinking/src/ai-thinking.css +2 -448
  104. package/dist/ai-thinking/src/ai-thinking.d.vue.ts +53 -0
  105. package/dist/ai-thinking/src/ai-thinking.vue +2 -448
  106. package/dist/ai-thinking/src/ai-thinking.vue.d.ts +4 -40
  107. package/dist/ai-thought-chain/index.d.ts +10 -268
  108. package/dist/ai-thought-chain/src/ai-thought-chain.css +2 -448
  109. package/dist/ai-thought-chain/src/ai-thought-chain.d.vue.ts +92 -0
  110. package/dist/ai-thought-chain/src/ai-thought-chain.vue +34 -455
  111. package/dist/ai-thought-chain/src/ai-thought-chain.vue.d.ts +9 -84
  112. package/dist/ai-voice-trigger/index.d.ts +1 -153
  113. package/dist/ai-voice-trigger/src/ai-voice-trigger.css +3 -449
  114. package/dist/ai-voice-trigger/src/ai-voice-trigger.d.vue.ts +49 -0
  115. package/dist/ai-voice-trigger/src/ai-voice-trigger.vue +3 -449
  116. package/dist/ai-voice-trigger/src/ai-voice-trigger.vue.d.ts +4 -43
  117. package/dist/ai-welcome/index.d.ts +1 -129
  118. package/dist/ai-welcome/src/ai-welcome.css +2 -448
  119. package/dist/ai-welcome/src/ai-welcome.d.vue.ts +51 -0
  120. package/dist/ai-welcome/src/ai-welcome.vue +2 -448
  121. package/dist/ai-welcome/src/ai-welcome.vue.d.ts +3 -32
  122. package/dist/alert/index.d.ts +1 -289
  123. package/dist/alert/src/alert.css +2 -448
  124. package/dist/alert/src/alert.d.vue.ts +106 -0
  125. package/dist/alert/src/alert.vue +2 -448
  126. package/dist/alert/src/alert.vue.d.ts +10 -81
  127. package/dist/autocomplete/index.d.ts +1 -134
  128. package/dist/autocomplete/src/autocomplete.css +2 -448
  129. package/dist/autocomplete/src/autocomplete.d.vue.ts +63 -0
  130. package/dist/autocomplete/src/autocomplete.vue +2 -448
  131. package/dist/autocomplete/src/autocomplete.vue.d.ts +12 -15
  132. package/dist/avatar/index.d.ts +12 -12
  133. package/dist/avatar/src/avatar.css +2 -448
  134. package/dist/avatar/src/avatar.d.vue.ts +22 -0
  135. package/dist/avatar/src/avatar.vue +2 -448
  136. package/dist/avatar/src/avatar.vue.d.ts +1 -1
  137. package/dist/back-top/index.d.ts +1 -153
  138. package/dist/back-top/src/back-top.css +2 -448
  139. package/dist/back-top/src/back-top.d.vue.ts +54 -0
  140. package/dist/back-top/src/back-top.vue +2 -448
  141. package/dist/back-top/src/back-top.vue.d.ts +5 -42
  142. package/dist/badge/index.d.ts +1 -40
  143. package/dist/badge/src/badge.css +2 -448
  144. package/dist/badge/src/badge.d.vue.ts +22 -0
  145. package/dist/badge/src/badge.vue +2 -448
  146. package/dist/badge/src/badge.vue.d.ts +1 -1
  147. package/dist/breadcrumb/index.d.ts +2 -177
  148. package/dist/breadcrumb/src/breadcrumb-item.d.vue.ts +42 -0
  149. package/dist/breadcrumb/src/breadcrumb-item.vue +2 -448
  150. package/dist/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
  151. package/dist/breadcrumb/src/breadcrumb.css +2 -448
  152. package/dist/breadcrumb/src/breadcrumb.d.vue.ts +41 -0
  153. package/dist/breadcrumb/src/breadcrumb.vue +2 -448
  154. package/dist/button/index.d.ts +33 -33
  155. package/dist/button/src/button.css +2 -448
  156. package/dist/button/src/button.d.vue.ts +44 -0
  157. package/dist/button/src/button.vue +2 -448
  158. package/dist/button/src/button.vue.d.ts +6 -6
  159. package/dist/calendar/index.d.ts +1 -429
  160. package/dist/calendar/src/calendar.css +89 -451
  161. package/dist/calendar/src/calendar.d.vue.ts +137 -0
  162. package/dist/calendar/src/calendar.vue +90 -452
  163. package/dist/calendar/src/calendar.vue.d.ts +10 -130
  164. package/dist/card/index.d.ts +1 -44
  165. package/dist/card/src/card.css +2 -448
  166. package/dist/card/src/card.d.vue.ts +26 -0
  167. package/dist/card/src/card.vue +2 -448
  168. package/dist/card/src/card.vue.d.ts +2 -2
  169. package/dist/carousel/index.d.ts +2 -443
  170. package/dist/carousel/src/carousel-item.d.vue.ts +18 -0
  171. package/dist/carousel/src/carousel.css +2 -448
  172. package/dist/carousel/src/carousel.d.vue.ts +144 -0
  173. package/dist/carousel/src/carousel.vue +2 -448
  174. package/dist/carousel/src/carousel.vue.d.ts +17 -108
  175. package/dist/cascader/index.d.ts +70 -70
  176. package/dist/cascader/src/cascader-panel.d.vue.ts +39 -0
  177. package/dist/cascader/src/cascader-panel.vue +3 -449
  178. package/dist/cascader/src/cascader-panel.vue.d.ts +4 -4
  179. package/dist/cascader/src/cascader.css +3 -449
  180. package/dist/cascader/src/cascader.d.vue.ts +63 -0
  181. package/dist/cascader/src/cascader.vue +3 -449
  182. package/dist/cascader/src/cascader.vue.d.ts +12 -12
  183. package/dist/category-nav/index.d.ts +1 -219
  184. package/dist/category-nav/src/category-nav.css +2 -448
  185. package/dist/category-nav/src/category-nav.d.vue.ts +86 -0
  186. package/dist/category-nav/src/category-nav.vue +2 -448
  187. package/dist/category-nav/src/category-nav.vue.d.ts +10 -61
  188. package/dist/checkbox/index.d.ts +44 -44
  189. package/dist/checkbox/src/checkbox-group.css +2 -448
  190. package/dist/checkbox/src/checkbox-group.d.vue.ts +24 -0
  191. package/dist/checkbox/src/checkbox-group.vue +2 -448
  192. package/dist/checkbox/src/checkbox-group.vue.d.ts +1 -1
  193. package/dist/checkbox/src/checkbox.css +2 -448
  194. package/dist/checkbox/src/checkbox.d.vue.ts +32 -0
  195. package/dist/checkbox/src/checkbox.vue +30 -460
  196. package/dist/checkbox/src/checkbox.vue.d.ts +2 -2
  197. package/dist/col/index.d.ts +1 -188
  198. package/dist/col/src/col.css +2 -448
  199. package/dist/col/src/col.d.vue.ts +114 -0
  200. package/dist/col/src/col.vue +2 -448
  201. package/dist/col/src/col.vue.d.ts +4 -4
  202. package/dist/color-picker/index.d.ts +1 -89
  203. package/dist/color-picker/src/alpha-slider.d.vue.ts +10 -0
  204. package/dist/color-picker/src/color-picker.css +5 -451
  205. package/dist/color-picker/src/color-picker.d.vue.ts +60 -0
  206. package/dist/color-picker/src/color-picker.vue +5 -451
  207. package/dist/color-picker/src/color-picker.vue.d.ts +4 -45
  208. package/dist/color-picker/src/hue-slider.d.vue.ts +9 -0
  209. package/dist/color-picker/src/sv-panel.d.vue.ts +11 -0
  210. package/dist/config-provider/index.d.ts +2 -2
  211. package/dist/config-provider/src/config-provider.d.ts +2 -2
  212. package/dist/container/index.d.ts +5 -103
  213. package/dist/container/src/aside.d.vue.ts +15 -0
  214. package/dist/container/src/aside.vue +6 -449
  215. package/dist/container/src/container.css +2 -448
  216. package/dist/container/src/container.d.vue.ts +13 -0
  217. package/dist/container/src/container.vue +6 -449
  218. package/dist/container/src/footer.d.vue.ts +15 -0
  219. package/dist/container/src/footer.vue +6 -449
  220. package/dist/container/src/header.d.vue.ts +15 -0
  221. package/dist/container/src/header.vue +6 -449
  222. package/dist/container/src/main.d.vue.ts +13 -0
  223. package/dist/container/src/main.vue +6 -449
  224. package/dist/countdown/index.d.ts +1 -419
  225. package/dist/countdown/src/countdown.css +2 -448
  226. package/dist/countdown/src/countdown.d.vue.ts +146 -0
  227. package/dist/countdown/src/countdown.vue +2 -448
  228. package/dist/countdown/src/countdown.vue.d.ts +17 -122
  229. package/dist/coupon-card/index.d.ts +1 -340
  230. package/dist/coupon-card/src/coupon-card.css +2 -448
  231. package/dist/coupon-card/src/coupon-card.d.vue.ts +121 -0
  232. package/dist/coupon-card/src/coupon-card.vue +2 -448
  233. package/dist/coupon-card/src/coupon-card.vue.d.ts +13 -98
  234. package/dist/date-picker/index.d.ts +1 -606
  235. package/dist/date-picker/src/date-picker.css +23 -451
  236. package/dist/date-picker/src/date-picker.d.vue.ts +372 -0
  237. package/dist/date-picker/src/date-picker.vue +115 -467
  238. package/dist/date-picker/src/date-picker.vue.d.ts +23 -25
  239. package/dist/date-picker/src/date-table.d.vue.ts +37 -0
  240. package/dist/date-picker/src/date-table.vue.d.ts +3 -4
  241. package/dist/date-picker/src/month-table.d.vue.ts +19 -0
  242. package/dist/date-picker/src/month-table.vue.d.ts +2 -2
  243. package/dist/date-picker/src/quarter-table.d.vue.ts +19 -0
  244. package/dist/date-picker/src/quarter-table.vue.d.ts +2 -2
  245. package/dist/date-picker/src/year-table.d.vue.ts +19 -0
  246. package/dist/date-picker/src/year-table.vue.d.ts +2 -2
  247. package/dist/descriptions/index.d.ts +2 -492
  248. package/dist/descriptions/src/description-item.d.vue.ts +99 -0
  249. package/dist/descriptions/src/description-item.vue +3 -449
  250. package/dist/descriptions/src/description-item.vue.d.ts +4 -4
  251. package/dist/descriptions/src/descriptions.css +3 -449
  252. package/dist/descriptions/src/descriptions.d.vue.ts +106 -0
  253. package/dist/descriptions/src/descriptions.vue +32 -461
  254. package/dist/descriptions/src/descriptions.vue.d.ts +3 -3
  255. package/dist/dialog/index.cjs +7 -1
  256. package/dist/dialog/index.d.ts +2 -665
  257. package/dist/dialog/index.mjs +5 -1
  258. package/dist/dialog/src/dialog.css +2 -448
  259. package/dist/dialog/src/dialog.d.vue.ts +217 -0
  260. package/dist/dialog/src/dialog.vue +2 -448
  261. package/dist/dialog/src/dialog.vue.d.ts +22 -200
  262. package/dist/dialog/src/method.cjs +14 -4
  263. package/dist/dialog/src/method.d.ts +2 -0
  264. package/dist/dialog/src/method.mjs +12 -3
  265. package/dist/dialog/src/use-dialog.cjs +5 -1
  266. package/dist/dialog/src/use-dialog.mjs +5 -1
  267. package/dist/divider/index.d.ts +1 -113
  268. package/dist/divider/src/divider.css +2 -448
  269. package/dist/divider/src/divider.d.vue.ts +69 -0
  270. package/dist/divider/src/divider.vue +10 -450
  271. package/dist/divider/src/divider.vue.d.ts +3 -3
  272. package/dist/drawer/index.d.ts +13 -391
  273. package/dist/drawer/src/drawer.cjs +1 -1
  274. package/dist/drawer/src/drawer.css +2 -448
  275. package/dist/drawer/src/drawer.d.ts +1 -1
  276. package/dist/drawer/src/drawer.d.vue.ts +141 -0
  277. package/dist/drawer/src/drawer.mjs +1 -1
  278. package/dist/drawer/src/drawer.vue +15 -449
  279. package/dist/drawer/src/drawer.vue.d.ts +11 -121
  280. package/dist/dropdown/index.d.ts +3 -627
  281. package/dist/dropdown/src/dropdown-item.d.vue.ts +78 -0
  282. package/dist/dropdown/src/dropdown-item.vue +11 -450
  283. package/dist/dropdown/src/dropdown-item.vue.d.ts +3 -3
  284. package/dist/dropdown/src/dropdown-menu.d.vue.ts +24 -0
  285. package/dist/dropdown/src/dropdown-menu.vue +6 -449
  286. package/dist/dropdown/src/dropdown.css +2 -448
  287. package/dist/dropdown/src/dropdown.d.vue.ts +158 -0
  288. package/dist/dropdown/src/dropdown.vue +2 -448
  289. package/dist/dropdown/src/dropdown.vue.d.ts +16 -133
  290. package/dist/empty/index.d.ts +1 -27
  291. package/dist/empty/src/empty.css +2 -448
  292. package/dist/empty/src/empty.d.vue.ts +19 -0
  293. package/dist/empty/src/empty.vue +28 -457
  294. package/dist/filter-bar/index.d.ts +1 -281
  295. package/dist/filter-bar/src/filter-bar.css +2 -448
  296. package/dist/filter-bar/src/filter-bar.d.vue.ts +87 -0
  297. package/dist/filter-bar/src/filter-bar.vue +2 -448
  298. package/dist/filter-bar/src/filter-bar.vue.d.ts +9 -92
  299. package/dist/form/index.d.ts +3 -690
  300. package/dist/form/src/form-item.d.vue.ts +144 -0
  301. package/dist/form/src/form-item.vue +8 -449
  302. package/dist/form/src/form-item.vue.d.ts +7 -7
  303. package/dist/form/src/form-schema.d.vue.ts +116 -0
  304. package/dist/form/src/form-schema.vue.d.ts +26 -32
  305. package/dist/form/src/form.css +8 -449
  306. package/dist/form/src/form.d.vue.ts +158 -0
  307. package/dist/form/src/form.vue +8 -449
  308. package/dist/form/src/form.vue.d.ts +3 -3
  309. package/dist/gantt-chart/index.d.ts +1 -107
  310. package/dist/gantt-chart/src/gantt-chart.css +14 -460
  311. package/dist/gantt-chart/src/gantt-chart.d.vue.ts +51 -0
  312. package/dist/gantt-chart/src/gantt-chart.vue +14 -460
  313. package/dist/gantt-chart/src/gantt-chart.vue.d.ts +7 -7
  314. package/dist/grid/index.d.ts +2 -67
  315. package/dist/grid/src/grid-item.d.vue.ts +17 -0
  316. package/dist/grid/src/grid-item.vue +13 -10
  317. package/dist/grid/src/grid-item.vue.d.ts +1 -1
  318. package/dist/grid/src/grid.css +2 -448
  319. package/dist/grid/src/grid.d.vue.ts +20 -0
  320. package/dist/grid/src/grid.vue +14 -454
  321. package/dist/grid/src/grid.vue.d.ts +1 -1
  322. package/dist/icon/index.d.ts +9 -9
  323. package/dist/icon/src/icon.css +2 -448
  324. package/dist/icon/src/icon.d.vue.ts +87 -0
  325. package/dist/icon/src/icon.vue +2 -448
  326. package/dist/icon/src/icon.vue.d.ts +3 -3
  327. package/dist/icon/src/icons/index.cjs +12 -2
  328. package/dist/icon/src/icons/index.d.ts +2 -0
  329. package/dist/icon/src/icons/index.mjs +12 -0
  330. package/dist/image/index.d.ts +26 -77
  331. package/dist/image/src/image-viewer.d.vue.ts +68 -0
  332. package/dist/image/src/image-viewer.vue +13 -453
  333. package/dist/image/src/image-viewer.vue.d.ts +4 -55
  334. package/dist/image/src/image.css +2 -448
  335. package/dist/image/src/image.d.vue.ts +178 -0
  336. package/dist/image/src/image.vue +14 -454
  337. package/dist/image/src/image.vue.d.ts +7 -7
  338. package/dist/image-magnifier/index.d.ts +1 -462
  339. package/dist/image-magnifier/src/image-magnifier.css +2 -448
  340. package/dist/image-magnifier/src/image-magnifier.d.vue.ts +154 -0
  341. package/dist/image-magnifier/src/image-magnifier.vue +2 -448
  342. package/dist/image-magnifier/src/image-magnifier.vue.d.ts +9 -126
  343. package/dist/index.cjs +1 -1
  344. package/dist/index.d.ts +2 -2
  345. package/dist/index.mjs +2 -0
  346. package/dist/infinite-scroll/index.d.ts +1 -270
  347. package/dist/infinite-scroll/src/infinite-scroll.css +2 -448
  348. package/dist/infinite-scroll/src/infinite-scroll.d.vue.ts +93 -0
  349. package/dist/infinite-scroll/src/infinite-scroll.vue +36 -457
  350. package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +6 -71
  351. package/dist/input/index.d.ts +46 -46
  352. package/dist/input/src/input.css +6 -448
  353. package/dist/input/src/input.d.vue.ts +76 -0
  354. package/dist/input/src/input.vue +6 -448
  355. package/dist/input/src/input.vue.d.ts +13 -13
  356. package/dist/input-number/index.d.ts +31 -31
  357. package/dist/input-number/src/input-number.css +2 -448
  358. package/dist/input-number/src/input-number.d.vue.ts +50 -0
  359. package/dist/input-number/src/input-number.vue +2 -448
  360. package/dist/input-number/src/input-number.vue.d.ts +8 -8
  361. package/dist/input-tag/index.d.ts +1 -151
  362. package/dist/input-tag/src/input-tag.css +46 -448
  363. package/dist/input-tag/src/input-tag.d.ts +1 -1
  364. package/dist/input-tag/src/input-tag.d.vue.ts +71 -0
  365. package/dist/input-tag/src/input-tag.vue +47 -449
  366. package/dist/input-tag/src/input-tag.vue.d.ts +18 -18
  367. package/dist/loading/index.cjs +1 -0
  368. package/dist/loading/index.d.ts +1 -1
  369. package/dist/loading/index.mjs +2 -1
  370. package/dist/loading/src/loading.css +2 -448
  371. package/dist/loading/src/service.cjs +56 -16
  372. package/dist/loading/src/service.d.ts +1 -0
  373. package/dist/loading/src/service.mjs +60 -16
  374. package/dist/lucky-draw/index.d.ts +1 -203
  375. package/dist/lucky-draw/src/lucky-draw.css +2 -448
  376. package/dist/lucky-draw/src/lucky-draw.d.vue.ts +74 -0
  377. package/dist/lucky-draw/src/lucky-draw.vue +2 -448
  378. package/dist/lucky-draw/src/lucky-draw.vue.d.ts +5 -54
  379. package/dist/markdown-it.cjs +10 -6
  380. package/dist/markdown-it.d.ts +2 -2
  381. package/dist/markdown-it.mjs +12 -3
  382. package/dist/marquee/index.d.ts +1 -305
  383. package/dist/marquee/src/marquee.css +2 -448
  384. package/dist/marquee/src/marquee.d.vue.ts +106 -0
  385. package/dist/marquee/src/marquee.vue +7 -451
  386. package/dist/marquee/src/marquee.vue.d.ts +6 -80
  387. package/dist/mention/index.d.ts +75 -75
  388. package/dist/mention/src/mention.css +2 -448
  389. package/dist/mention/src/mention.d.vue.ts +84 -0
  390. package/dist/mention/src/mention.vue +2 -448
  391. package/dist/mention/src/mention.vue.d.ts +25 -25
  392. package/dist/menu/index.d.ts +4 -890
  393. package/dist/menu/src/menu-item-group.d.vue.ts +26 -0
  394. package/dist/menu/src/menu-item-group.vue +2 -449
  395. package/dist/menu/src/menu-item.d.vue.ts +52 -0
  396. package/dist/menu/src/menu-item.vue +22 -456
  397. package/dist/menu/src/menu-recursive-item.d.vue.ts +6 -0
  398. package/dist/menu/src/menu-recursive-item.vue +2 -449
  399. package/dist/menu/src/menu.css +2 -449
  400. package/dist/menu/src/menu.d.vue.ts +209 -0
  401. package/dist/menu/src/menu.vue +2 -449
  402. package/dist/menu/src/menu.vue.d.ts +15 -178
  403. package/dist/menu/src/sub-menu.d.vue.ts +87 -0
  404. package/dist/menu/src/sub-menu.vue +2 -449
  405. package/dist/message/index.cjs +9 -3
  406. package/dist/message/index.d.ts +1 -1
  407. package/dist/message/index.mjs +7 -2
  408. package/dist/message/src/message.css +2 -448
  409. package/dist/message/src/message.d.ts +16 -7
  410. package/dist/message/src/message.d.vue.ts +32 -0
  411. package/dist/message/src/message.vue +2 -448
  412. package/dist/message/src/message.vue.d.ts +3 -3
  413. package/dist/message/src/method.cjs +40 -16
  414. package/dist/message/src/method.d.ts +2 -0
  415. package/dist/message/src/method.mjs +34 -15
  416. package/dist/message-box/index.cjs +4 -2
  417. package/dist/message-box/index.d.ts +1 -1
  418. package/dist/message-box/index.mjs +2 -1
  419. package/dist/message-box/src/message-box.css +2 -448
  420. package/dist/message-box/src/message-box.d.ts +6 -1
  421. package/dist/message-box/src/message-box.d.vue.ts +17 -0
  422. package/dist/message-box/src/message-box.vue +17 -453
  423. package/dist/message-box/src/method.cjs +9 -3
  424. package/dist/message-box/src/method.d.ts +2 -0
  425. package/dist/message-box/src/method.mjs +28 -5
  426. package/dist/notification/index.cjs +9 -3
  427. package/dist/notification/index.d.ts +1 -1
  428. package/dist/notification/index.mjs +7 -2
  429. package/dist/notification/src/method.cjs +40 -16
  430. package/dist/notification/src/method.d.ts +2 -0
  431. package/dist/notification/src/method.mjs +34 -15
  432. package/dist/notification/src/notification.css +2 -448
  433. package/dist/notification/src/notification.d.ts +16 -7
  434. package/dist/notification/src/notification.d.vue.ts +30 -0
  435. package/dist/notification/src/notification.vue +2 -448
  436. package/dist/notification/src/notification.vue.d.ts +2 -2
  437. package/dist/pagination/index.d.ts +12 -12
  438. package/dist/pagination/src/pagination.css +19 -452
  439. package/dist/pagination/src/pagination.d.vue.ts +149 -0
  440. package/dist/pagination/src/pagination.vue +98 -481
  441. package/dist/pagination/src/pagination.vue.d.ts +4 -4
  442. package/dist/popconfirm/index.d.ts +1 -433
  443. package/dist/popconfirm/src/popconfirm.css +2 -448
  444. package/dist/popconfirm/src/popconfirm.d.vue.ts +148 -0
  445. package/dist/popconfirm/src/popconfirm.vue +2 -448
  446. package/dist/popconfirm/src/popconfirm.vue.d.ts +12 -121
  447. package/dist/popover/index.d.ts +1 -392
  448. package/dist/popover/src/popover.css +2 -448
  449. package/dist/popover/src/popover.d.vue.ts +139 -0
  450. package/dist/popover/src/popover.vue +2 -448
  451. package/dist/popover/src/popover.vue.d.ts +13 -111
  452. package/dist/price/index.d.ts +1 -363
  453. package/dist/price/src/price.css +2 -448
  454. package/dist/price/src/price.d.vue.ts +223 -0
  455. package/dist/price/src/price.vue +2 -448
  456. package/dist/price/src/price.vue.d.ts +5 -5
  457. package/dist/product-card/index.d.ts +1 -557
  458. package/dist/product-card/src/product-card.css +2 -448
  459. package/dist/product-card/src/product-card.d.vue.ts +188 -0
  460. package/dist/product-card/src/product-card.vue +2 -448
  461. package/dist/product-card/src/product-card.vue.d.ts +12 -157
  462. package/dist/progress/index.d.ts +1 -321
  463. package/dist/progress/src/progress.css +3 -449
  464. package/dist/progress/src/progress.d.vue.ts +199 -0
  465. package/dist/progress/src/progress.vue +3 -449
  466. package/dist/progress/src/progress.vue.d.ts +9 -9
  467. package/dist/radio/index.d.ts +42 -42
  468. package/dist/radio/src/radio-button.css +2 -448
  469. package/dist/radio/src/radio-button.d.vue.ts +25 -0
  470. package/dist/radio/src/radio-button.vue +2 -448
  471. package/dist/radio/src/radio-group.css +2 -448
  472. package/dist/radio/src/radio-group.d.vue.ts +23 -0
  473. package/dist/radio/src/radio-group.vue +2 -448
  474. package/dist/radio/src/radio-group.vue.d.ts +1 -1
  475. package/dist/radio/src/radio.css +2 -448
  476. package/dist/radio/src/radio.d.vue.ts +26 -0
  477. package/dist/radio/src/radio.vue +26 -453
  478. package/dist/rate/index.d.ts +1 -313
  479. package/dist/rate/src/rate.css +2 -448
  480. package/dist/rate/src/rate.d.vue.ts +109 -0
  481. package/dist/rate/src/rate.vue +2 -448
  482. package/dist/rate/src/rate.vue.d.ts +11 -90
  483. package/dist/result/index.d.ts +1 -31
  484. package/dist/result/src/result.css +2 -448
  485. package/dist/result/src/result.d.vue.ts +23 -0
  486. package/dist/result/src/result.vue +13 -450
  487. package/dist/row/index.d.ts +1 -98
  488. package/dist/row/src/row.css +2 -448
  489. package/dist/row/src/row.d.ts +1 -1
  490. package/dist/row/src/row.d.vue.ts +60 -0
  491. package/dist/row/src/row.vue +2 -448
  492. package/dist/row/src/row.vue.d.ts +1 -1
  493. package/dist/sanitize.cjs +45 -22
  494. package/dist/sanitize.mjs +41 -20
  495. package/dist/scrollbar/index.d.ts +1 -192
  496. package/dist/scrollbar/src/scrollbar.css +2 -448
  497. package/dist/scrollbar/src/scrollbar.d.vue.ts +67 -0
  498. package/dist/scrollbar/src/scrollbar.vue +2 -448
  499. package/dist/scrollbar/src/scrollbar.vue.d.ts +3 -45
  500. package/dist/scrollbar/src/thumb.d.vue.ts +16 -0
  501. package/dist/scrollbar/src/thumb.vue.d.ts +1 -1
  502. package/dist/select/index.d.ts +59 -59
  503. package/dist/select/src/option.d.vue.ts +15 -0
  504. package/dist/select/src/option.vue +2 -448
  505. package/dist/select/src/select.css +2 -448
  506. package/dist/select/src/select.d.vue.ts +68 -0
  507. package/dist/select/src/select.vue +2 -448
  508. package/dist/select/src/select.vue.d.ts +16 -16
  509. package/dist/skeleton/index.d.ts +2 -278
  510. package/dist/skeleton/src/skeleton-item.d.vue.ts +83 -0
  511. package/dist/skeleton/src/skeleton-item.vue +2 -448
  512. package/dist/skeleton/src/skeleton-item.vue.d.ts +2 -2
  513. package/dist/skeleton/src/skeleton.css +2 -448
  514. package/dist/skeleton/src/skeleton.d.vue.ts +89 -0
  515. package/dist/skeleton/src/skeleton.vue +2 -448
  516. package/dist/skeleton/src/skeleton.vue.d.ts +3 -3
  517. package/dist/sku-selector/index.d.ts +1 -222
  518. package/dist/sku-selector/src/sku-selector.css +2 -448
  519. package/dist/sku-selector/src/sku-selector.d.vue.ts +84 -0
  520. package/dist/sku-selector/src/sku-selector.vue +2 -448
  521. package/dist/sku-selector/src/sku-selector.vue.d.ts +9 -62
  522. package/dist/slider/index.d.ts +1 -475
  523. package/dist/slider/src/slider-button.d.vue.ts +43 -0
  524. package/dist/slider/src/slider-button.vue +2 -448
  525. package/dist/slider/src/slider-button.vue.d.ts +4 -4
  526. package/dist/slider/src/slider.css +2 -448
  527. package/dist/slider/src/slider.d.vue.ts +164 -0
  528. package/dist/slider/src/slider.vue +2 -448
  529. package/dist/slider/src/slider.vue.d.ts +14 -134
  530. package/dist/smart-address/index.d.ts +1 -324
  531. package/dist/smart-address/src/smart-address.css +26 -448
  532. package/dist/smart-address/src/smart-address.d.vue.ts +110 -0
  533. package/dist/smart-address/src/smart-address.vue +26 -448
  534. package/dist/smart-address/src/smart-address.vue.d.ts +8 -102
  535. package/dist/space/index.d.ts +1 -40
  536. package/dist/space/src/space.css +2 -448
  537. package/dist/space/src/space.d.vue.ts +22 -0
  538. package/dist/space/src/space.vue +30 -463
  539. package/dist/space/src/space.vue.d.ts +1 -1
  540. package/dist/spin/index.d.ts +6 -161
  541. package/dist/spin/src/spin.css +2 -448
  542. package/dist/spin/src/spin.d.vue.ts +66 -0
  543. package/dist/spin/src/spin.vue +2 -448
  544. package/dist/spin/src/spin.vue.d.ts +4 -47
  545. package/dist/steps/index.d.ts +2 -606
  546. package/dist/steps/src/step.d.vue.ts +105 -0
  547. package/dist/steps/src/step.vue +2 -448
  548. package/dist/steps/src/step.vue.d.ts +5 -5
  549. package/dist/steps/src/steps.css +2 -448
  550. package/dist/steps/src/steps.d.vue.ts +94 -0
  551. package/dist/steps/src/steps.vue +6 -449
  552. package/dist/steps/src/steps.vue.d.ts +9 -78
  553. package/dist/style.css +6 -0
  554. package/dist/submit-bar/index.d.ts +1 -291
  555. package/dist/submit-bar/src/submit-bar.css +2 -448
  556. package/dist/submit-bar/src/submit-bar.d.vue.ts +102 -0
  557. package/dist/submit-bar/src/submit-bar.vue +2 -448
  558. package/dist/submit-bar/src/submit-bar.vue.d.ts +6 -79
  559. package/dist/switch/index.d.ts +1 -372
  560. package/dist/switch/src/switch.css +4 -449
  561. package/dist/switch/src/switch.d.vue.ts +133 -0
  562. package/dist/switch/src/switch.vue +4 -449
  563. package/dist/switch/src/switch.vue.d.ts +7 -98
  564. package/dist/table/index.d.ts +2 -1248
  565. package/dist/table/src/table-column.d.vue.ts +71 -0
  566. package/dist/table/src/table-column.vue +2 -448
  567. package/dist/table/src/table-column.vue.d.ts +8 -8
  568. package/dist/table/src/table.css +2 -448
  569. package/dist/table/src/table.d.vue.ts +493 -0
  570. package/dist/table/src/table.vue +2 -448
  571. package/dist/table/src/table.vue.d.ts +25 -337
  572. package/dist/table/src/use-table-export.cjs +9 -5
  573. package/dist/table/src/use-table-export.d.ts +1 -1
  574. package/dist/table/src/use-table-export.mjs +12 -3
  575. package/dist/table/src/use-table-import.cjs +9 -5
  576. package/dist/table/src/use-table-import.d.ts +1 -1
  577. package/dist/table/src/use-table-import.mjs +12 -3
  578. package/dist/table/src/use-virtual-scroll.mjs +3 -1
  579. package/dist/tabs/index.d.ts +2 -583
  580. package/dist/tabs/src/tab-pane.d.vue.ts +77 -0
  581. package/dist/tabs/src/tab-pane.vue +11 -454
  582. package/dist/tabs/src/tab-pane.vue.d.ts +2 -2
  583. package/dist/tabs/src/tabs.css +2 -448
  584. package/dist/tabs/src/tabs.d.vue.ts +110 -0
  585. package/dist/tabs/src/tabs.vue +2 -448
  586. package/dist/tabs/src/tabs.vue.d.ts +8 -98
  587. package/dist/tag/index.d.ts +1 -86
  588. package/dist/tag/src/tag.css +2 -448
  589. package/dist/tag/src/tag.d.vue.ts +42 -0
  590. package/dist/tag/src/tag.vue +2 -448
  591. package/dist/tag/src/tag.vue.d.ts +5 -5
  592. package/dist/time-picker/index.d.ts +1 -166
  593. package/dist/time-picker/src/time-picker.css +2 -448
  594. package/dist/time-picker/src/time-picker.d.vue.ts +67 -0
  595. package/dist/time-picker/src/time-picker.vue +2 -448
  596. package/dist/time-picker/src/time-picker.vue.d.ts +20 -20
  597. package/dist/time-picker/src/time-spinner.d.vue.ts +46 -0
  598. package/dist/time-select/index.d.ts +1 -112
  599. package/dist/time-select/src/time-select.css +3 -449
  600. package/dist/time-select/src/time-select.d.vue.ts +51 -0
  601. package/dist/time-select/src/time-select.vue +3 -449
  602. package/dist/time-select/src/time-select.vue.d.ts +12 -12
  603. package/dist/tooltip/index.d.ts +17 -465
  604. package/dist/tooltip/src/tooltip.css +2 -448
  605. package/dist/tooltip/src/tooltip.d.vue.ts +167 -0
  606. package/dist/tooltip/src/tooltip.vue +2 -448
  607. package/dist/tooltip/src/tooltip.vue.d.ts +15 -140
  608. package/dist/transfer/src/transfer-panel.d.vue.ts +45 -0
  609. package/dist/transfer/src/transfer-panel.vue +2 -448
  610. package/dist/transfer/src/transfer-panel.vue.d.ts +6 -6
  611. package/dist/transfer/src/transfer.css +2 -448
  612. package/dist/transfer/src/transfer.d.vue.ts +68 -0
  613. package/dist/transfer/src/transfer.vue +2 -448
  614. package/dist/transfer/src/transfer.vue.d.ts +9 -9
  615. package/dist/tree/index.d.ts +2 -623
  616. package/dist/tree/src/tree-node.d.vue.ts +18 -0
  617. package/dist/tree/src/tree-node.vue +12 -449
  618. package/dist/tree/src/tree.css +12 -449
  619. package/dist/tree/src/tree.d.vue.ts +228 -0
  620. package/dist/tree/src/tree.vue +12 -449
  621. package/dist/tree/src/tree.vue.d.ts +29 -177
  622. package/dist/tree-select/index.d.ts +1 -435
  623. package/dist/tree-select/src/tree-select.css +2 -448
  624. package/dist/tree-select/src/tree-select.d.vue.ts +141 -0
  625. package/dist/tree-select/src/tree-select.vue +2 -448
  626. package/dist/tree-select/src/tree-select.vue.d.ts +19 -129
  627. package/dist/typography/index.d.ts +4 -180
  628. package/dist/typography/src/link.d.vue.ts +21 -0
  629. package/dist/typography/src/link.vue +15 -451
  630. package/dist/typography/src/paragraph.d.vue.ts +22 -0
  631. package/dist/typography/src/paragraph.vue +2 -448
  632. package/dist/typography/src/paragraph.vue.d.ts +1 -1
  633. package/dist/typography/src/text.d.vue.ts +29 -0
  634. package/dist/typography/src/text.vue +6 -449
  635. package/dist/typography/src/text.vue.d.ts +3 -3
  636. package/dist/typography/src/title.d.vue.ts +26 -0
  637. package/dist/typography/src/title.vue +6 -449
  638. package/dist/typography/src/title.vue.d.ts +2 -2
  639. package/dist/typography/src/typography.css +2 -448
  640. package/dist/upload/index.d.ts +1 -391
  641. package/dist/upload/src/upload.css +2 -448
  642. package/dist/upload/src/upload.d.vue.ts +134 -0
  643. package/dist/upload/src/upload.vue +11 -451
  644. package/dist/upload/src/upload.vue.d.ts +14 -110
  645. package/dist/viewerjs.cjs +10 -6
  646. package/dist/viewerjs.d.ts +2 -2
  647. package/dist/viewerjs.mjs +12 -3
  648. package/dist/waterfall/index.d.ts +1 -57
  649. package/dist/waterfall/src/waterfall.css +8 -449
  650. package/dist/waterfall/src/waterfall.d.vue.ts +56 -0
  651. package/dist/waterfall/src/waterfall.vue +8 -449
  652. package/dist/waterfall/src/waterfall.vue.d.ts +3 -3
  653. package/dist/watermark/index.d.ts +1 -236
  654. package/dist/watermark/src/watermark.css +2 -448
  655. package/dist/watermark/src/watermark.d.vue.ts +143 -0
  656. package/dist/watermark/src/watermark.vue +38 -450
  657. package/dist/watermark/src/watermark.vue.d.ts +5 -5
  658. package/package.json +30 -13
  659. package/dist/component.d.ts +0 -284
  660. package/dist/env.d.ts +0 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yh-ui/components",
3
- "version": "1.0.26",
3
+ "version": "1.0.36",
4
4
  "description": "YH-UI Vue 3 Components",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -35,8 +35,7 @@
35
35
  "dist"
36
36
  ],
37
37
  "scripts": {
38
- "build": "unbuild && node ../../scripts/post-build-styles.mjs components && pnpm run build:dts && node ../../scripts/post-build-styles.mjs components",
39
- "build:dts": "vue-tsc --emitDeclarationOnly --outDir dist --project tsconfig.json --rootDir ../../ && node ../../scripts/post-build-dts.mjs",
38
+ "build": "unbuild && node ../../scripts/post-build-styles.mjs components",
40
39
  "dev": "unbuild --stub",
41
40
  "prepack": "node ../../scripts/prepare-package-manifest.mjs prepare",
42
41
  "postpack": "node ../../scripts/prepare-package-manifest.mjs restore",
@@ -46,20 +45,34 @@
46
45
  "dependencies": {
47
46
  "@webcontainer/api": "^1.6.1",
48
47
  "@floating-ui/dom": "^1.7.4",
49
- "@yh-ui/hooks": "^1.0.26",
50
- "@yh-ui/locale": "^1.0.26",
51
- "@yh-ui/theme": "^1.0.26",
52
- "@yh-ui/utils": "^1.0.26",
48
+ "@yh-ui/hooks": "^1.0.36",
49
+ "@yh-ui/locale": "^1.0.36",
50
+ "@yh-ui/theme": "^1.0.36",
51
+ "@yh-ui/utils": "^1.0.36",
53
52
  "async-validator": "^4.2.5",
54
53
  "dayjs": "^1.11.19",
55
- "dompurify": "^3.3.3",
56
- "markdown-it": "^14.1.1",
54
+ "dompurify": "^3.3.3"
55
+ },
56
+ "peerDependencies": {
57
+ "vue": "^3.5.35",
57
58
  "monaco-editor": "^0.55.1",
58
59
  "xlsx": "^0.18.5",
59
- "viewerjs": "^1.11.7"
60
+ "viewerjs": "^1.11.7",
61
+ "markdown-it": "^14.1.1"
60
62
  },
61
- "peerDependencies": {
62
- "vue": "^3.5.27"
63
+ "peerDependenciesMeta": {
64
+ "monaco-editor": {
65
+ "optional": true
66
+ },
67
+ "xlsx": {
68
+ "optional": true
69
+ },
70
+ "viewerjs": {
71
+ "optional": true
72
+ },
73
+ "markdown-it": {
74
+ "optional": true
75
+ }
63
76
  },
64
77
  "optionalDependencies": {
65
78
  "echarts": ">=5.0.0",
@@ -69,10 +82,14 @@
69
82
  "devDependencies": {
70
83
  "@types/markdown-it": "^14.1.2",
71
84
  "@vitejs/plugin-vue": "^6.0.0",
85
+ "monaco-editor": "^0.55.1",
86
+ "xlsx": "^0.18.5",
87
+ "viewerjs": "^1.11.7",
88
+ "markdown-it": "^14.1.1",
72
89
  "sass": "^1.83.1",
73
90
  "typescript": "^5.7.3",
74
91
  "unbuild": "^3.3.1",
75
- "vue": "^3.5.27",
92
+ "vue": "^3.5.35",
76
93
  "vue-sfc-transformer": "^0.1.17",
77
94
  "vue-tsc": "^2.2.0"
78
95
  },
@@ -1,284 +0,0 @@
1
- /**
2
- * @yh-ui/components - 全局组件类型声明
3
- * @description 统一声明所有 YH-UI 组件的 GlobalComponents 类型
4
- * 使用者只要引入 yh-ui 即可自动获得模板内组件的类型提示
5
- */
6
-
7
- import type { YhButton } from './button'
8
- import type { YhInput } from './input'
9
- import type { YhInputNumber } from './input-number'
10
- import type { YhInputTag } from './input-tag'
11
- import type { YhCheckbox, YhCheckboxGroup } from './checkbox'
12
- import type { YhRadio, YhRadioGroup, YhRadioButton } from './radio'
13
- import type { YhTag } from './tag'
14
- import type { YhIcon } from './icon'
15
- import type { YhForm, YhFormItem, YhFormSchema } from './form'
16
- import type { YhRow } from './row'
17
- import type { YhCol } from './col'
18
- import type { YhDivider } from './divider'
19
- import type { YhRate } from './rate'
20
- import type { YhSwitch } from './switch'
21
- import type { YhAutocomplete } from './autocomplete'
22
- import type { YhSelect, YhOption } from './select'
23
- import type { YhCascader, YhCascaderPanel } from './cascader'
24
- import type { YhSlider } from './slider'
25
- import type { YhTimeSelect } from './time-select'
26
- import type { YhTimePicker } from './time-picker'
27
- import type { YhDatePicker } from './date-picker'
28
- import type { YhTransfer, YhTransferPanel } from './transfer'
29
- import type { YhTreeSelect } from './tree-select'
30
- import type { YhBadge } from './badge'
31
- import type { YhCard } from './card'
32
- import type { YhColorPicker } from './color-picker'
33
- import type { YhSpin } from './spin'
34
- import type { YhBreadcrumb, YhBreadcrumbItem } from './breadcrumb'
35
- import type { YhBackTop } from './back-top'
36
- import type { YhAlert } from './alert'
37
- import type { YhSkeleton, YhSkeletonItem } from './skeleton'
38
- import type { YhProgress } from './progress'
39
- import type { YhTooltip } from './tooltip'
40
- import type { YhPopconfirm } from './popconfirm'
41
- import type { YhPopover } from './popover'
42
- import type { YhDialog, YhDialogMethod } from './dialog'
43
- import type { YhDrawer } from './drawer'
44
- import type { YhWatermark } from './watermark'
45
- import type { YhUpload } from './upload'
46
- import type { YhMarquee } from './marquee'
47
- import type { YhPagination } from './pagination'
48
- import type { YhImage, YhImageViewer } from './image'
49
- import type { YhDescriptions, YhDescriptionsItem } from './descriptions'
50
- import type { YhTabs, YhTabPane } from './tabs'
51
- import type { YhSteps, YhStep } from './steps'
52
- import type { YhConfigProvider } from './config-provider'
53
- import type { YhAffix } from './affix'
54
- import type { YhInfiniteScroll } from './infinite-scroll'
55
- import type { YhDropdown, YhDropdownItem, YhDropdownMenu } from './dropdown'
56
- import type { YhMenu, YhMenuItem, YhMenuItemGroup, YhSubMenu } from './menu'
57
- import type { YhCalendar } from './calendar'
58
- import type { YhWaterfall } from './waterfall'
59
- import type { YhTree, YhTreeNode } from './tree'
60
- import type { YhCountdown } from './countdown'
61
- import type { YhTable, YhTableColumn } from './table'
62
- import type { YhLoading } from './loading'
63
- import type { YhMessageBox } from './message-box'
64
- import type { YhMessage } from './message'
65
- import type { YhSpace } from './space'
66
- import type { YhAvatar } from './avatar'
67
- import type { YhEmpty } from './empty'
68
- import type {
69
- YhTypographyTitle,
70
- YhTypographyText,
71
- YhTypographyParagraph,
72
- YhTypographyLink
73
- } from './typography'
74
- import type { YhContainer, YhHeader, YhAside, YhMain, YhFooter } from './container'
75
- import type { YhResult } from './result'
76
- import type { YhGrid, YhGridItem } from './grid'
77
- import type { YhMention } from './mention'
78
- import type { YhAiChat } from './ai-chat'
79
- import type { YhAiBubble } from './ai-bubble'
80
- import type { YhAiSender } from './ai-sender'
81
- import type { YhAiThoughtChain } from './ai-thought-chain'
82
- import type { YhAiCodeBlock } from './ai-code-block'
83
- import type { YhAiThinking } from './ai-thinking'
84
- import type { YhAiWelcome } from './ai-welcome'
85
- import type { YhAiActionGroup } from './ai-action-group'
86
- import type { YhAiEditorSender } from './ai-editor-sender'
87
- import type { YhAiArtifacts } from './ai-artifacts'
88
- import type { YhAiVoiceTrigger } from './ai-voice-trigger'
89
- import type { YhAiConversations } from './ai-conversations'
90
- import type { YhAiPrompts } from './ai-prompts'
91
- import type { YhAiCodeEditor } from './ai-code-editor'
92
- import type { YhAiCodeRunner } from './ai-code-runner'
93
- import type { YhAiAgentCard } from './ai-agent-card'
94
- import type { YhAiSources } from './ai-sources'
95
- import type { YhAiProvider } from './ai-provider'
96
- import type { YhAiMention } from './ai-mention'
97
- import type { YhAiBubbleList } from './ai-bubble-list'
98
- import type { YhAiFileCard } from './ai-file-card'
99
- import type { YhAiAttachments } from './ai-attachments'
100
- import type { YhAiMermaid } from './ai-mermaid'
101
- import type { YhScrollbar } from './scrollbar'
102
- import type { YhGanttChart } from './gantt-chart'
103
- import type { YhCarousel, YhCarouselItem } from './carousel'
104
- import type { YhSkuSelector } from './sku-selector'
105
- import type { YhPrice } from './price'
106
- import type { YhProductCard } from './product-card'
107
- import type { YhImageMagnifier } from './image-magnifier'
108
- import type { YhCouponCard } from './coupon-card'
109
- import type { YhLuckyDraw } from './lucky-draw'
110
- import type { YhFilterBar } from './filter-bar'
111
- import type { YhSubmitBar } from './submit-bar'
112
- import type { YhCategoryNav } from './category-nav'
113
- import type { YhSmartAddress } from './smart-address'
114
-
115
- declare module 'vue' {
116
- export interface GlobalComponents {
117
- // =================== 基础组件 ===================
118
- YhButton: typeof YhButton
119
- YhIcon: typeof YhIcon
120
- YhDivider: typeof YhDivider
121
- YhSpace: typeof YhSpace
122
- YhAvatar: typeof YhAvatar
123
- YhEmpty: typeof YhEmpty
124
- YhTypographyTitle: typeof YhTypographyTitle
125
- YhTypographyText: typeof YhTypographyText
126
- YhTypographyParagraph: typeof YhTypographyParagraph
127
- YhTypographyLink: typeof YhTypographyLink
128
-
129
- // =================== 布局组件 ===================
130
- YhRow: typeof YhRow
131
- YhCol: typeof YhCol
132
- YhContainer: typeof YhContainer
133
- YhHeader: typeof YhHeader
134
- YhAside: typeof YhAside
135
- YhMain: typeof YhMain
136
- YhFooter: typeof YhFooter
137
- YhGrid: typeof YhGrid
138
- YhGridItem: typeof YhGridItem
139
-
140
- // =================== 表单组件 ===================
141
- YhInput: typeof YhInput
142
- YhInputNumber: typeof YhInputNumber
143
- YhInputTag: typeof YhInputTag
144
- YhCheckbox: typeof YhCheckbox
145
- YhCheckboxGroup: typeof YhCheckboxGroup
146
- YhRadio: typeof YhRadio
147
- YhRadioGroup: typeof YhRadioGroup
148
- YhRadioButton: typeof YhRadioButton
149
- YhSelect: typeof YhSelect
150
- YhOption: typeof YhOption
151
- YhCascader: typeof YhCascader
152
- YhCascaderPanel: typeof YhCascaderPanel
153
- YhSwitch: typeof YhSwitch
154
- YhSlider: typeof YhSlider
155
- YhRate: typeof YhRate
156
- YhColorPicker: typeof YhColorPicker
157
- YhAutocomplete: typeof YhAutocomplete
158
- YhTimePicker: typeof YhTimePicker
159
- YhTimeSelect: typeof YhTimeSelect
160
- YhDatePicker: typeof YhDatePicker
161
- YhTransfer: typeof YhTransfer
162
- YhTransferPanel: typeof YhTransferPanel
163
- YhTreeSelect: typeof YhTreeSelect
164
- YhUpload: typeof YhUpload
165
- YhForm: typeof YhForm
166
- YhFormItem: typeof YhFormItem
167
- YhFormSchema: typeof YhFormSchema
168
- YhMention: typeof YhMention
169
-
170
- // =================== 数据展示 ===================
171
- YhTag: typeof YhTag
172
- YhBadge: typeof YhBadge
173
- YhCard: typeof YhCard
174
- YhTable: typeof YhTable
175
- YhTableColumn: typeof YhTableColumn
176
- YhTree: typeof YhTree
177
- YhTreeNode: typeof YhTreeNode
178
- YhPagination: typeof YhPagination
179
- YhProgress: typeof YhProgress
180
- YhSkeleton: typeof YhSkeleton
181
- YhSkeletonItem: typeof YhSkeletonItem
182
- YhImage: typeof YhImage
183
- YhImageViewer: typeof YhImageViewer
184
- YhCalendar: typeof YhCalendar
185
- YhDescriptions: typeof YhDescriptions
186
- YhDescriptionsItem: typeof YhDescriptionsItem
187
- YhCountdown: typeof YhCountdown
188
- YhWaterfall: typeof YhWaterfall
189
- YhWatermark: typeof YhWatermark
190
- YhGanttChart: typeof YhGanttChart
191
- YhCarousel: typeof YhCarousel
192
- YhCarouselItem: typeof YhCarouselItem
193
-
194
- // =================== 反馈组件 ===================
195
- YhAlert: typeof YhAlert
196
- YhDialog: typeof YhDialog
197
- YhDrawer: typeof YhDrawer
198
- YhTooltip: typeof YhTooltip
199
- YhPopover: typeof YhPopover
200
- YhPopconfirm: typeof YhPopconfirm
201
- YhSpin: typeof YhSpin
202
- YhLoading: typeof YhLoading
203
- YhResult: typeof YhResult
204
-
205
- // =================== 导航组件 ===================
206
- YhBreadcrumb: typeof YhBreadcrumb
207
- YhBreadcrumbItem: typeof YhBreadcrumbItem
208
- YhTabs: typeof YhTabs
209
- YhTabPane: typeof YhTabPane
210
- YhSteps: typeof YhSteps
211
- YhStep: typeof YhStep
212
- YhDropdown: typeof YhDropdown
213
- YhDropdownItem: typeof YhDropdownItem
214
- YhDropdownMenu: typeof YhDropdownMenu
215
- YhMenu: typeof YhMenu
216
- YhMenuItem: typeof YhMenuItem
217
- YhMenuItemGroup: typeof YhMenuItemGroup
218
- YhSubMenu: typeof YhSubMenu
219
- YhBackTop: typeof YhBackTop
220
- YhAffix: typeof YhAffix
221
-
222
- // =================== 高级组件 ===================
223
- YhInfiniteScroll: typeof YhInfiniteScroll
224
- YhMarquee: typeof YhMarquee
225
- YhConfigProvider: typeof YhConfigProvider
226
- YhScrollbar: typeof YhScrollbar
227
-
228
- // =================== AI 组件 ===================
229
- YhAiChat: typeof YhAiChat
230
- YhAiBubble: typeof YhAiBubble
231
- YhAiSender: typeof YhAiSender
232
- YhAiThoughtChain: typeof YhAiThoughtChain
233
- YhAiCodeBlock: typeof YhAiCodeBlock
234
- YhAiCodeEditor: typeof YhAiCodeEditor
235
- YhAiCodeRunner: typeof YhAiCodeRunner
236
- YhAiThinking: typeof YhAiThinking
237
- YhAiWelcome: typeof YhAiWelcome
238
- YhAiActionGroup: typeof YhAiActionGroup
239
- YhAiEditorSender: typeof YhAiEditorSender
240
- YhAiArtifacts: typeof YhAiArtifacts
241
- YhAiVoiceTrigger: typeof YhAiVoiceTrigger
242
- YhAiConversations: typeof YhAiConversations
243
- YhAiPrompts: typeof YhAiPrompts
244
- YhAiAgentCard: typeof YhAiAgentCard
245
- YhAiSources: typeof YhAiSources
246
- YhAiProvider: typeof YhAiProvider
247
- YhAiMention: typeof YhAiMention
248
- YhAiBubbleList: typeof YhAiBubbleList
249
- YhAiFileCard: typeof YhAiFileCard
250
- YhAiAttachments: typeof YhAiAttachments
251
- YhAiMermaid: typeof YhAiMermaid
252
-
253
- // =================== 电商组件 ===================
254
- YhSkuSelector: typeof YhSkuSelector
255
- YhPrice: typeof YhPrice
256
- YhProductCard: typeof YhProductCard
257
- YhImageMagnifier: typeof YhImageMagnifier
258
- YhCouponCard: typeof YhCouponCard
259
- YhLuckyDraw: typeof YhLuckyDraw
260
- YhFilterBar: typeof YhFilterBar
261
- YhSubmitBar: typeof YhSubmitBar
262
- YhCategoryNav: typeof YhCategoryNav
263
- YhSmartAddress: typeof YhSmartAddress
264
- }
265
-
266
- export interface ComponentCustomProperties {
267
- $message: typeof import('./message').YhMessage
268
- $notify: typeof import('./notification').YhNotification
269
- $msgbox: typeof import('./message-box').YhMessageBox
270
- $alert: typeof import('./message-box').YhMessageBox.alert
271
- $confirm: typeof import('./message-box').YhMessageBox.confirm
272
- $prompt: typeof import('./message-box').YhMessageBox.prompt
273
- $dialog: typeof import('./dialog').YhDialogMethod
274
- }
275
-
276
- export interface GlobalDirectives {
277
- /** Loading 加载指令 */
278
- YhLoading: typeof import('./loading').vLoading
279
- /** 无限滚动指令 */
280
- YhInfiniteScroll: typeof import('./infinite-scroll').vInfiniteScroll
281
- }
282
- }
283
-
284
- export {}
package/dist/env.d.ts DELETED
@@ -1,11 +0,0 @@
1
- declare module '*.vue' {
2
- import type { DefineComponent } from 'vue'
3
- const component: DefineComponent<Record<string, never>, Record<string, never>, unknown>
4
- export default component
5
- }
6
-
7
- // Vite 的 ?worker 导入(Monaco Editor 在文档/playground 中需要,避免 Worker 请求到 text/html)
8
- declare module '*?worker' {
9
- const WorkerFactory: new () => Worker
10
- export default WorkerFactory
11
- }