@yh-ui/components 0.1.10 → 0.1.12

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 (386) hide show
  1. package/dist/ai-action-group/__tests__/ai-action-group.ssr.test.cjs +55 -0
  2. package/dist/ai-action-group/__tests__/ai-action-group.ssr.test.d.ts +1 -0
  3. package/dist/ai-action-group/__tests__/ai-action-group.ssr.test.mjs +39 -0
  4. package/dist/ai-action-group/__tests__/ai-action-group.test.cjs +149 -0
  5. package/dist/ai-action-group/__tests__/ai-action-group.test.d.ts +1 -0
  6. package/dist/ai-action-group/__tests__/ai-action-group.test.mjs +104 -0
  7. package/dist/ai-action-group/index.cjs +26 -0
  8. package/dist/ai-action-group/index.d.ts +3 -0
  9. package/dist/ai-action-group/index.mjs +5 -0
  10. package/dist/ai-action-group/src/ai-action-group.cjs +50 -0
  11. package/dist/ai-action-group/src/ai-action-group.css +517 -0
  12. package/dist/ai-action-group/src/ai-action-group.d.ts +55 -0
  13. package/dist/ai-action-group/src/ai-action-group.d.vue.ts +40 -0
  14. package/dist/ai-action-group/src/ai-action-group.mjs +44 -0
  15. package/dist/ai-action-group/src/ai-action-group.vue +602 -0
  16. package/dist/ai-action-group/src/ai-action-group.vue.d.ts +40 -0
  17. package/dist/ai-agent-card/__tests__/ai-agent-card.ssr.test.cjs +61 -0
  18. package/dist/ai-agent-card/__tests__/ai-agent-card.ssr.test.d.ts +1 -0
  19. package/dist/ai-agent-card/__tests__/ai-agent-card.ssr.test.mjs +65 -0
  20. package/dist/ai-agent-card/__tests__/ai-agent-card.test.cjs +70 -0
  21. package/dist/ai-agent-card/__tests__/ai-agent-card.test.d.ts +1 -0
  22. package/dist/ai-agent-card/__tests__/ai-agent-card.test.mjs +64 -0
  23. package/dist/ai-agent-card/index.cjs +26 -0
  24. package/dist/ai-agent-card/index.d.ts +3 -0
  25. package/dist/ai-agent-card/index.mjs +5 -0
  26. package/dist/ai-agent-card/src/ai-agent-card.cjs +74 -0
  27. package/dist/ai-agent-card/src/ai-agent-card.css +859 -0
  28. package/dist/ai-agent-card/src/ai-agent-card.d.ts +122 -0
  29. package/dist/ai-agent-card/src/ai-agent-card.d.vue.ts +62 -0
  30. package/dist/ai-agent-card/src/ai-agent-card.mjs +68 -0
  31. package/dist/ai-agent-card/src/ai-agent-card.vue +1029 -0
  32. package/dist/ai-agent-card/src/ai-agent-card.vue.d.ts +62 -0
  33. package/dist/ai-artifacts/__tests__/ai-artifacts.ssr.test.cjs +73 -0
  34. package/dist/ai-artifacts/__tests__/ai-artifacts.ssr.test.d.ts +1 -0
  35. package/dist/ai-artifacts/__tests__/ai-artifacts.ssr.test.mjs +68 -0
  36. package/dist/ai-artifacts/__tests__/ai-artifacts.test.cjs +128 -0
  37. package/dist/ai-artifacts/__tests__/ai-artifacts.test.d.ts +1 -0
  38. package/dist/ai-artifacts/__tests__/ai-artifacts.test.mjs +109 -0
  39. package/dist/ai-artifacts/index.cjs +26 -0
  40. package/dist/ai-artifacts/index.d.ts +3 -0
  41. package/dist/ai-artifacts/index.mjs +5 -0
  42. package/dist/ai-artifacts/src/ai-artifacts.cjs +55 -0
  43. package/dist/ai-artifacts/src/ai-artifacts.css +633 -0
  44. package/dist/ai-artifacts/src/ai-artifacts.d.ts +93 -0
  45. package/dist/ai-artifacts/src/ai-artifacts.d.vue.ts +33 -0
  46. package/dist/ai-artifacts/src/ai-artifacts.mjs +49 -0
  47. package/dist/ai-artifacts/src/ai-artifacts.vue +803 -0
  48. package/dist/ai-artifacts/src/ai-artifacts.vue.d.ts +33 -0
  49. package/dist/ai-bubble/__tests__/ai-bubble.ssr.test.cjs +87 -0
  50. package/dist/ai-bubble/__tests__/ai-bubble.ssr.test.d.ts +1 -0
  51. package/dist/ai-bubble/__tests__/ai-bubble.ssr.test.mjs +58 -0
  52. package/dist/ai-bubble/__tests__/ai-bubble.test.cjs +227 -0
  53. package/dist/ai-bubble/__tests__/ai-bubble.test.d.ts +1 -0
  54. package/dist/ai-bubble/__tests__/ai-bubble.test.mjs +123 -0
  55. package/dist/ai-bubble/index.cjs +26 -0
  56. package/dist/ai-bubble/index.d.ts +3 -0
  57. package/dist/ai-bubble/index.mjs +5 -0
  58. package/dist/ai-bubble/src/ai-bubble.cjs +86 -0
  59. package/dist/ai-bubble/src/ai-bubble.css +932 -0
  60. package/dist/ai-bubble/src/ai-bubble.d.ts +126 -0
  61. package/dist/ai-bubble/src/ai-bubble.d.vue.ts +110 -0
  62. package/dist/ai-bubble/src/ai-bubble.mjs +80 -0
  63. package/dist/ai-bubble/src/ai-bubble.vue +1300 -0
  64. package/dist/ai-bubble/src/ai-bubble.vue.d.ts +110 -0
  65. package/dist/ai-chat/__tests__/ai-chat.ssr.test.cjs +82 -0
  66. package/dist/ai-chat/__tests__/ai-chat.ssr.test.d.ts +1 -0
  67. package/dist/ai-chat/__tests__/ai-chat.ssr.test.mjs +69 -0
  68. package/dist/ai-chat/__tests__/ai-chat.test.cjs +169 -0
  69. package/dist/ai-chat/__tests__/ai-chat.test.d.ts +1 -0
  70. package/dist/ai-chat/__tests__/ai-chat.test.mjs +121 -0
  71. package/dist/ai-chat/index.cjs +26 -0
  72. package/dist/ai-chat/index.d.ts +3 -0
  73. package/dist/ai-chat/index.mjs +5 -0
  74. package/dist/ai-chat/src/ai-chat.cjs +41 -0
  75. package/dist/ai-chat/src/ai-chat.css +503 -0
  76. package/dist/ai-chat/src/ai-chat.d.ts +57 -0
  77. package/dist/ai-chat/src/ai-chat.d.vue.ts +43 -0
  78. package/dist/ai-chat/src/ai-chat.mjs +35 -0
  79. package/dist/ai-chat/src/ai-chat.vue +606 -0
  80. package/dist/ai-chat/src/ai-chat.vue.d.ts +43 -0
  81. package/dist/ai-code-block/__tests__/ai-code-block.ssr.test.cjs +66 -0
  82. package/dist/ai-code-block/__tests__/ai-code-block.ssr.test.d.ts +1 -0
  83. package/dist/ai-code-block/__tests__/ai-code-block.ssr.test.mjs +48 -0
  84. package/dist/ai-code-block/__tests__/ai-code-block.test.cjs +174 -0
  85. package/dist/ai-code-block/__tests__/ai-code-block.test.d.ts +1 -0
  86. package/dist/ai-code-block/__tests__/ai-code-block.test.mjs +108 -0
  87. package/dist/ai-code-block/index.cjs +26 -0
  88. package/dist/ai-code-block/index.d.ts +3 -0
  89. package/dist/ai-code-block/index.mjs +5 -0
  90. package/dist/ai-code-block/src/ai-code-block.cjs +79 -0
  91. package/dist/ai-code-block/src/ai-code-block.css +589 -0
  92. package/dist/ai-code-block/src/ai-code-block.d.ts +76 -0
  93. package/dist/ai-code-block/src/ai-code-block.d.vue.ts +63 -0
  94. package/dist/ai-code-block/src/ai-code-block.mjs +73 -0
  95. package/dist/ai-code-block/src/ai-code-block.vue +706 -0
  96. package/dist/ai-code-block/src/ai-code-block.vue.d.ts +63 -0
  97. package/dist/ai-conversations/__tests__/ai-conversations.ssr.test.cjs +50 -0
  98. package/dist/ai-conversations/__tests__/ai-conversations.ssr.test.d.ts +1 -0
  99. package/dist/ai-conversations/__tests__/ai-conversations.ssr.test.mjs +42 -0
  100. package/dist/ai-conversations/__tests__/ai-conversations.test.cjs +67 -0
  101. package/dist/ai-conversations/__tests__/ai-conversations.test.d.ts +1 -0
  102. package/dist/ai-conversations/__tests__/ai-conversations.test.mjs +51 -0
  103. package/dist/ai-conversations/index.cjs +26 -0
  104. package/dist/ai-conversations/index.d.ts +3 -0
  105. package/dist/ai-conversations/index.mjs +5 -0
  106. package/dist/ai-conversations/src/ai-conversations.cjs +69 -0
  107. package/dist/ai-conversations/src/ai-conversations.css +679 -0
  108. package/dist/ai-conversations/src/ai-conversations.d.ts +67 -0
  109. package/dist/ai-conversations/src/ai-conversations.d.vue.ts +52 -0
  110. package/dist/ai-conversations/src/ai-conversations.mjs +63 -0
  111. package/dist/ai-conversations/src/ai-conversations.vue +949 -0
  112. package/dist/ai-conversations/src/ai-conversations.vue.d.ts +52 -0
  113. package/dist/ai-editor-sender/__tests__/ai-editor-sender.ssr.test.cjs +62 -0
  114. package/dist/ai-editor-sender/__tests__/ai-editor-sender.ssr.test.d.ts +1 -0
  115. package/dist/ai-editor-sender/__tests__/ai-editor-sender.ssr.test.mjs +50 -0
  116. package/dist/ai-editor-sender/__tests__/ai-editor-sender.test.cjs +315 -0
  117. package/dist/ai-editor-sender/__tests__/ai-editor-sender.test.d.ts +1 -0
  118. package/dist/ai-editor-sender/__tests__/ai-editor-sender.test.mjs +226 -0
  119. package/dist/ai-editor-sender/index.cjs +26 -0
  120. package/dist/ai-editor-sender/index.d.ts +3 -0
  121. package/dist/ai-editor-sender/index.mjs +5 -0
  122. package/dist/ai-editor-sender/src/ai-editor-sender.cjs +66 -0
  123. package/dist/ai-editor-sender/src/ai-editor-sender.css +566 -0
  124. package/dist/ai-editor-sender/src/ai-editor-sender.d.ts +70 -0
  125. package/dist/ai-editor-sender/src/ai-editor-sender.d.vue.ts +70 -0
  126. package/dist/ai-editor-sender/src/ai-editor-sender.mjs +60 -0
  127. package/dist/ai-editor-sender/src/ai-editor-sender.vue +713 -0
  128. package/dist/ai-editor-sender/src/ai-editor-sender.vue.d.ts +70 -0
  129. package/dist/ai-prompts/__tests__/ai-prompts.ssr.test.cjs +49 -0
  130. package/dist/ai-prompts/__tests__/ai-prompts.ssr.test.d.ts +1 -0
  131. package/dist/ai-prompts/__tests__/ai-prompts.ssr.test.mjs +41 -0
  132. package/dist/ai-prompts/__tests__/ai-prompts.test.cjs +54 -0
  133. package/dist/ai-prompts/__tests__/ai-prompts.test.d.ts +1 -0
  134. package/dist/ai-prompts/__tests__/ai-prompts.test.mjs +38 -0
  135. package/dist/ai-prompts/index.cjs +26 -0
  136. package/dist/ai-prompts/index.d.ts +3 -0
  137. package/dist/ai-prompts/index.mjs +5 -0
  138. package/dist/ai-prompts/src/ai-prompts.cjs +42 -0
  139. package/dist/ai-prompts/src/ai-prompts.css +572 -0
  140. package/dist/ai-prompts/src/ai-prompts.d.ts +45 -0
  141. package/dist/ai-prompts/src/ai-prompts.d.vue.ts +44 -0
  142. package/dist/ai-prompts/src/ai-prompts.mjs +36 -0
  143. package/dist/ai-prompts/src/ai-prompts.vue +646 -0
  144. package/dist/ai-prompts/src/ai-prompts.vue.d.ts +44 -0
  145. package/dist/ai-provider/__tests__/ai-provider.ssr.test.cjs +33 -0
  146. package/dist/ai-provider/__tests__/ai-provider.ssr.test.d.ts +1 -0
  147. package/dist/ai-provider/__tests__/ai-provider.ssr.test.mjs +34 -0
  148. package/dist/ai-provider/__tests__/ai-provider.test.cjs +38 -0
  149. package/dist/ai-provider/__tests__/ai-provider.test.d.ts +1 -0
  150. package/dist/ai-provider/__tests__/ai-provider.test.mjs +33 -0
  151. package/dist/ai-provider/index.cjs +38 -0
  152. package/dist/ai-provider/index.d.ts +4 -0
  153. package/dist/ai-provider/index.mjs +6 -0
  154. package/dist/ai-provider/src/ai-provider.cjs +7 -0
  155. package/dist/ai-provider/src/ai-provider.d.ts +88 -0
  156. package/dist/ai-provider/src/ai-provider.d.vue.ts +48 -0
  157. package/dist/ai-provider/src/ai-provider.mjs +1 -0
  158. package/dist/ai-provider/src/ai-provider.vue +24 -0
  159. package/dist/ai-provider/src/ai-provider.vue.d.ts +48 -0
  160. package/dist/ai-provider/src/use-ai-provider.cjs +11 -0
  161. package/dist/ai-provider/src/use-ai-provider.d.ts +10 -0
  162. package/dist/ai-provider/src/use-ai-provider.mjs +5 -0
  163. package/dist/ai-sender/__tests__/ai-sender.ssr.test.cjs +46 -0
  164. package/dist/ai-sender/__tests__/ai-sender.ssr.test.d.ts +1 -0
  165. package/dist/ai-sender/__tests__/ai-sender.ssr.test.mjs +37 -0
  166. package/dist/ai-sender/__tests__/ai-sender.test.cjs +388 -0
  167. package/dist/ai-sender/__tests__/ai-sender.test.d.ts +1 -0
  168. package/dist/ai-sender/__tests__/ai-sender.test.mjs +248 -0
  169. package/dist/ai-sender/index.cjs +26 -0
  170. package/dist/ai-sender/index.d.ts +3 -0
  171. package/dist/ai-sender/index.mjs +5 -0
  172. package/dist/ai-sender/src/ai-sender.cjs +91 -0
  173. package/dist/ai-sender/src/ai-sender.css +754 -0
  174. package/dist/ai-sender/src/ai-sender.d.ts +140 -0
  175. package/dist/ai-sender/src/ai-sender.d.vue.ts +69 -0
  176. package/dist/ai-sender/src/ai-sender.mjs +85 -0
  177. package/dist/ai-sender/src/ai-sender.vue +1032 -0
  178. package/dist/ai-sender/src/ai-sender.vue.d.ts +69 -0
  179. package/dist/ai-sources/__tests__/ai-sources.ssr.test.cjs +72 -0
  180. package/dist/ai-sources/__tests__/ai-sources.ssr.test.d.ts +1 -0
  181. package/dist/ai-sources/__tests__/ai-sources.ssr.test.mjs +82 -0
  182. package/dist/ai-sources/__tests__/ai-sources.test.cjs +93 -0
  183. package/dist/ai-sources/__tests__/ai-sources.test.d.ts +1 -0
  184. package/dist/ai-sources/__tests__/ai-sources.test.mjs +89 -0
  185. package/dist/ai-sources/index.cjs +26 -0
  186. package/dist/ai-sources/index.d.ts +3 -0
  187. package/dist/ai-sources/index.mjs +5 -0
  188. package/dist/ai-sources/src/ai-sources.cjs +59 -0
  189. package/dist/ai-sources/src/ai-sources.css +830 -0
  190. package/dist/ai-sources/src/ai-sources.d.ts +79 -0
  191. package/dist/ai-sources/src/ai-sources.d.vue.ts +45 -0
  192. package/dist/ai-sources/src/ai-sources.mjs +53 -0
  193. package/dist/ai-sources/src/ai-sources.vue +1109 -0
  194. package/dist/ai-sources/src/ai-sources.vue.d.ts +45 -0
  195. package/dist/ai-thinking/__tests__/ai-thinking.ssr.test.cjs +56 -0
  196. package/dist/ai-thinking/__tests__/ai-thinking.ssr.test.d.ts +1 -0
  197. package/dist/ai-thinking/__tests__/ai-thinking.ssr.test.mjs +42 -0
  198. package/dist/ai-thinking/__tests__/ai-thinking.test.cjs +151 -0
  199. package/dist/ai-thinking/__tests__/ai-thinking.test.d.ts +1 -0
  200. package/dist/ai-thinking/__tests__/ai-thinking.test.mjs +96 -0
  201. package/dist/ai-thinking/index.cjs +26 -0
  202. package/dist/ai-thinking/index.d.ts +3 -0
  203. package/dist/ai-thinking/index.mjs +5 -0
  204. package/dist/ai-thinking/src/ai-thinking.cjs +44 -0
  205. package/dist/ai-thinking/src/ai-thinking.css +543 -0
  206. package/dist/ai-thinking/src/ai-thinking.d.ts +42 -0
  207. package/dist/ai-thinking/src/ai-thinking.d.vue.ts +33 -0
  208. package/dist/ai-thinking/src/ai-thinking.mjs +38 -0
  209. package/dist/ai-thinking/src/ai-thinking.vue +631 -0
  210. package/dist/ai-thinking/src/ai-thinking.vue.d.ts +33 -0
  211. package/dist/ai-thought-chain/__tests__/ai-thought-chain.ssr.test.cjs +83 -0
  212. package/dist/ai-thought-chain/__tests__/ai-thought-chain.ssr.test.d.ts +1 -0
  213. package/dist/ai-thought-chain/__tests__/ai-thought-chain.ssr.test.mjs +52 -0
  214. package/dist/ai-thought-chain/__tests__/ai-thought-chain.test.cjs +204 -0
  215. package/dist/ai-thought-chain/__tests__/ai-thought-chain.test.d.ts +1 -0
  216. package/dist/ai-thought-chain/__tests__/ai-thought-chain.test.mjs +134 -0
  217. package/dist/ai-thought-chain/index.cjs +26 -0
  218. package/dist/ai-thought-chain/index.d.ts +3 -0
  219. package/dist/ai-thought-chain/index.mjs +5 -0
  220. package/dist/ai-thought-chain/src/ai-thought-chain.cjs +68 -0
  221. package/dist/ai-thought-chain/src/ai-thought-chain.css +668 -0
  222. package/dist/ai-thought-chain/src/ai-thought-chain.d.ts +82 -0
  223. package/dist/ai-thought-chain/src/ai-thought-chain.d.vue.ts +83 -0
  224. package/dist/ai-thought-chain/src/ai-thought-chain.mjs +62 -0
  225. package/dist/ai-thought-chain/src/ai-thought-chain.vue +813 -0
  226. package/dist/ai-thought-chain/src/ai-thought-chain.vue.d.ts +83 -0
  227. package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.ssr.test.cjs +32 -0
  228. package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.ssr.test.d.ts +1 -0
  229. package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.ssr.test.mjs +25 -0
  230. package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.test.cjs +113 -0
  231. package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.test.d.ts +1 -0
  232. package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.test.mjs +93 -0
  233. package/dist/ai-voice-trigger/index.cjs +26 -0
  234. package/dist/ai-voice-trigger/index.d.ts +3 -0
  235. package/dist/ai-voice-trigger/index.mjs +5 -0
  236. package/dist/ai-voice-trigger/src/ai-voice-trigger.cjs +35 -0
  237. package/dist/ai-voice-trigger/src/ai-voice-trigger.css +603 -0
  238. package/dist/ai-voice-trigger/src/ai-voice-trigger.d.ts +37 -0
  239. package/dist/ai-voice-trigger/src/ai-voice-trigger.d.vue.ts +29 -0
  240. package/dist/ai-voice-trigger/src/ai-voice-trigger.mjs +29 -0
  241. package/dist/ai-voice-trigger/src/ai-voice-trigger.vue +708 -0
  242. package/dist/ai-voice-trigger/src/ai-voice-trigger.vue.d.ts +29 -0
  243. package/dist/ai-welcome/__tests__/ai-welcome.ssr.test.cjs +57 -0
  244. package/dist/ai-welcome/__tests__/ai-welcome.ssr.test.d.ts +1 -0
  245. package/dist/ai-welcome/__tests__/ai-welcome.ssr.test.mjs +39 -0
  246. package/dist/ai-welcome/__tests__/ai-welcome.test.cjs +169 -0
  247. package/dist/ai-welcome/__tests__/ai-welcome.test.d.ts +1 -0
  248. package/dist/ai-welcome/__tests__/ai-welcome.test.mjs +113 -0
  249. package/dist/ai-welcome/index.cjs +26 -0
  250. package/dist/ai-welcome/index.d.ts +3 -0
  251. package/dist/ai-welcome/index.mjs +5 -0
  252. package/dist/ai-welcome/src/ai-welcome.cjs +56 -0
  253. package/dist/ai-welcome/src/ai-welcome.css +591 -0
  254. package/dist/ai-welcome/src/ai-welcome.d.ts +59 -0
  255. package/dist/ai-welcome/src/ai-welcome.d.vue.ts +51 -0
  256. package/dist/ai-welcome/src/ai-welcome.mjs +50 -0
  257. package/dist/ai-welcome/src/ai-welcome.vue +655 -0
  258. package/dist/ai-welcome/src/ai-welcome.vue.d.ts +51 -0
  259. package/dist/alert/src/alert.d.vue.ts +5 -5
  260. package/dist/alert/src/alert.vue.d.ts +5 -5
  261. package/dist/autocomplete/src/autocomplete.d.vue.ts +2 -2
  262. package/dist/autocomplete/src/autocomplete.vue.d.ts +2 -2
  263. package/dist/avatar/index.d.ts +39 -1
  264. package/dist/back-top/src/back-top.d.vue.ts +1 -1
  265. package/dist/back-top/src/back-top.vue.d.ts +1 -1
  266. package/dist/button/index.d.ts +3 -3
  267. package/dist/button/src/button.css +3 -3
  268. package/dist/button/src/button.d.vue.ts +1 -1
  269. package/dist/button/src/button.vue +3 -3
  270. package/dist/button/src/button.vue.d.ts +1 -1
  271. package/dist/calendar/src/calendar.d.vue.ts +2 -2
  272. package/dist/calendar/src/calendar.vue.d.ts +2 -2
  273. package/dist/cascader/src/cascader-panel.d.vue.ts +2 -2
  274. package/dist/cascader/src/cascader-panel.vue.d.ts +2 -2
  275. package/dist/checkbox/index.d.ts +3 -3
  276. package/dist/checkbox/src/checkbox-group.d.vue.ts +1 -1
  277. package/dist/checkbox/src/checkbox-group.vue +13 -1
  278. package/dist/checkbox/src/checkbox-group.vue.d.ts +1 -1
  279. package/dist/checkbox/src/checkbox.d.ts +12 -0
  280. package/dist/col/src/col.d.vue.ts +4 -4
  281. package/dist/col/src/col.vue.d.ts +4 -4
  282. package/dist/color-picker/src/color-picker.d.vue.ts +1 -1
  283. package/dist/color-picker/src/color-picker.vue.d.ts +1 -1
  284. package/dist/component.d.ts +63 -0
  285. package/dist/date-picker/src/date-picker.d.vue.ts +4 -4
  286. package/dist/date-picker/src/date-picker.vue.d.ts +4 -4
  287. package/dist/descriptions/src/description-item.d.vue.ts +1 -1
  288. package/dist/descriptions/src/description-item.vue.d.ts +1 -1
  289. package/dist/dialog/src/dialog.d.vue.ts +6 -6
  290. package/dist/dialog/src/dialog.vue.d.ts +6 -6
  291. package/dist/drawer/src/drawer.d.vue.ts +3 -3
  292. package/dist/drawer/src/drawer.vue.d.ts +3 -3
  293. package/dist/dropdown/src/dropdown-item.d.vue.ts +1 -1
  294. package/dist/dropdown/src/dropdown-item.vue.d.ts +1 -1
  295. package/dist/dropdown/src/dropdown.d.vue.ts +8 -8
  296. package/dist/dropdown/src/dropdown.vue.d.ts +8 -8
  297. package/dist/form/__tests__/form-schema.test.cjs +477 -24
  298. package/dist/form/__tests__/form-schema.test.mjs +277 -57
  299. package/dist/form/index.cjs +12 -0
  300. package/dist/form/index.d.ts +1 -2
  301. package/dist/form/index.mjs +1 -0
  302. package/dist/form/src/form-item.d.vue.ts +2 -1
  303. package/dist/form/src/form-item.vue +3 -1
  304. package/dist/form/src/form-item.vue.d.ts +2 -1
  305. package/dist/form/src/form-schema.cjs +2 -1
  306. package/dist/form/src/form-schema.d.ts +124 -19
  307. package/dist/form/src/form-schema.d.vue.ts +69 -19
  308. package/dist/form/src/form-schema.mjs +2 -1
  309. package/dist/form/src/form-schema.vue +522 -160
  310. package/dist/form/src/form-schema.vue.d.ts +69 -19
  311. package/dist/form/src/form.cjs +7 -0
  312. package/dist/form/src/form.d.ts +20 -0
  313. package/dist/form/src/form.d.vue.ts +10 -1
  314. package/dist/form/src/form.mjs +7 -0
  315. package/dist/form/src/form.vue +22 -10
  316. package/dist/form/src/form.vue.d.ts +10 -1
  317. package/dist/grid/src/grid.d.vue.ts +1 -1
  318. package/dist/grid/src/grid.vue.d.ts +1 -1
  319. package/dist/icon/src/icons/index.cjs +122 -2
  320. package/dist/icon/src/icons/index.d.ts +24 -0
  321. package/dist/icon/src/icons/index.mjs +145 -1
  322. package/dist/image/index.d.ts +356 -2
  323. package/dist/image/src/image-viewer.d.vue.ts +3 -3
  324. package/dist/image/src/image-viewer.vue.d.ts +3 -3
  325. package/dist/image/src/image.d.vue.ts +4 -4
  326. package/dist/image/src/image.vue.d.ts +4 -4
  327. package/dist/index.cjs +193 -1
  328. package/dist/index.d.ts +16 -0
  329. package/dist/index.mjs +49 -1
  330. package/dist/input/index.d.ts +18 -18
  331. package/dist/input/src/input.d.vue.ts +6 -6
  332. package/dist/input/src/input.vue.d.ts +6 -6
  333. package/dist/input-tag/src/input-tag.d.vue.ts +2 -2
  334. package/dist/input-tag/src/input-tag.vue.d.ts +2 -2
  335. package/dist/mention/src/mention.d.vue.ts +8 -8
  336. package/dist/mention/src/mention.vue.d.ts +8 -8
  337. package/dist/menu/src/menu.d.vue.ts +4 -4
  338. package/dist/menu/src/menu.vue.d.ts +4 -4
  339. package/dist/message/src/message.d.vue.ts +1 -1
  340. package/dist/message/src/message.vue.d.ts +1 -1
  341. package/dist/popconfirm/src/popconfirm.d.vue.ts +5 -5
  342. package/dist/popconfirm/src/popconfirm.vue.d.ts +5 -5
  343. package/dist/popover/src/popover.d.vue.ts +4 -4
  344. package/dist/popover/src/popover.vue.d.ts +4 -4
  345. package/dist/progress/src/progress.d.vue.ts +1 -1
  346. package/dist/progress/src/progress.vue.d.ts +1 -1
  347. package/dist/radio/src/radio-group.d.vue.ts +1 -1
  348. package/dist/radio/src/radio-group.vue +25 -4
  349. package/dist/radio/src/radio-group.vue.d.ts +1 -1
  350. package/dist/radio/src/radio.d.ts +12 -0
  351. package/dist/rate/src/rate.d.vue.ts +1 -1
  352. package/dist/rate/src/rate.vue.d.ts +1 -1
  353. package/dist/select/src/select.d.vue.ts +1 -1
  354. package/dist/select/src/select.vue.d.ts +1 -1
  355. package/dist/skeleton/src/skeleton.d.vue.ts +1 -1
  356. package/dist/skeleton/src/skeleton.vue.d.ts +1 -1
  357. package/dist/slider/src/slider.d.vue.ts +1 -1
  358. package/dist/slider/src/slider.vue.d.ts +1 -1
  359. package/dist/steps/src/step.d.vue.ts +1 -1
  360. package/dist/steps/src/step.vue.d.ts +1 -1
  361. package/dist/switch/src/switch.d.vue.ts +2 -2
  362. package/dist/switch/src/switch.vue.d.ts +2 -2
  363. package/dist/table/__tests__/table.perf.test.cjs +2 -2
  364. package/dist/table/__tests__/table.perf.test.mjs +2 -2
  365. package/dist/table/__tests__/table.test.cjs +18 -0
  366. package/dist/table/__tests__/table.test.mjs +18 -0
  367. package/dist/table/__tests__/use-table-import.test.cjs +6 -0
  368. package/dist/table/__tests__/use-table-import.test.mjs +8 -1
  369. package/dist/table/src/table-column.d.vue.ts +1 -1
  370. package/dist/table/src/table-column.vue.d.ts +1 -1
  371. package/dist/table/src/table.d.vue.ts +1 -1
  372. package/dist/table/src/table.vue.d.ts +1 -1
  373. package/dist/tabs/src/tab-pane.d.vue.ts +1 -1
  374. package/dist/tabs/src/tab-pane.vue.d.ts +1 -1
  375. package/dist/tabs/src/tabs.d.vue.ts +2 -2
  376. package/dist/tabs/src/tabs.vue.d.ts +2 -2
  377. package/dist/tooltip/index.d.ts +7 -7
  378. package/dist/tooltip/src/tooltip.d.vue.ts +7 -7
  379. package/dist/tooltip/src/tooltip.vue.d.ts +7 -7
  380. package/dist/tree/src/tree.d.vue.ts +1 -1
  381. package/dist/tree/src/tree.vue.d.ts +1 -1
  382. package/dist/tree-select/src/tree-select.d.vue.ts +3 -3
  383. package/dist/tree-select/src/tree-select.vue.d.ts +3 -3
  384. package/dist/upload/src/upload.d.vue.ts +1 -1
  385. package/dist/upload/src/upload.vue.d.ts +1 -1
  386. package/package.json +8 -5
@@ -1,32 +1,43 @@
1
- import type { FormSchema } from './form-schema';
2
- declare var __VLS_10: any, __VLS_11: {
1
+ import type { FormInstance } from './form';
2
+ declare var __VLS_17: any, __VLS_18: {
3
3
  model: any;
4
4
  item: any;
5
- }, __VLS_18: any, __VLS_19: {
5
+ }, __VLS_25: any, __VLS_26: {
6
6
  model: any;
7
7
  item: any;
8
8
  handleUpdate: any;
9
- }, __VLS_41: any, __VLS_42: {
9
+ }, __VLS_62: any, __VLS_63: {
10
+ row: any;
11
+ index: any;
12
+ item: any;
13
+ }, __VLS_80: any, __VLS_81: {
14
+ model: any;
15
+ item: any;
16
+ }, __VLS_87: any, __VLS_88: {
10
17
  model: any;
11
18
  item: any;
12
- }, __VLS_49: any, __VLS_50: {
19
+ }, __VLS_95: any, __VLS_96: {
13
20
  model: any;
14
21
  item: any;
15
22
  handleUpdate: any;
16
- }, __VLS_68: {
23
+ }, __VLS_114: {
17
24
  model: any;
18
25
  formRef: any;
19
26
  };
20
27
  type __VLS_Slots = {} & {
21
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
28
+ [K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
22
29
  } & {
23
- [K in NonNullable<typeof __VLS_18>]?: (props: typeof __VLS_19) => any;
30
+ [K in NonNullable<typeof __VLS_25>]?: (props: typeof __VLS_26) => any;
24
31
  } & {
25
- [K in NonNullable<typeof __VLS_41>]?: (props: typeof __VLS_42) => any;
32
+ [K in NonNullable<typeof __VLS_62>]?: (props: typeof __VLS_63) => any;
26
33
  } & {
27
- [K in NonNullable<typeof __VLS_49>]?: (props: typeof __VLS_50) => any;
34
+ [K in NonNullable<typeof __VLS_80>]?: (props: typeof __VLS_81) => any;
28
35
  } & {
29
- footer?: (props: typeof __VLS_68) => any;
36
+ [K in NonNullable<typeof __VLS_87>]?: (props: typeof __VLS_88) => any;
37
+ } & {
38
+ [K in NonNullable<typeof __VLS_95>]?: (props: typeof __VLS_96) => any;
39
+ } & {
40
+ footer?: (props: typeof __VLS_114) => any;
30
41
  };
31
42
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
32
43
  readonly modelValue: {
@@ -34,7 +45,47 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
34
45
  readonly required: true;
35
46
  };
36
47
  readonly schema: {
37
- readonly type: import("vue").PropType<FormSchema>;
48
+ readonly type: import("vue").PropType<import("./form-schema").FormSchema>;
49
+ readonly required: true;
50
+ readonly default: () => never[];
51
+ };
52
+ readonly formProps: {
53
+ readonly type: import("vue").PropType<Partial<import("./form").FormProps>>;
54
+ readonly default: () => {};
55
+ };
56
+ readonly gutter: {
57
+ readonly type: NumberConstructor;
58
+ readonly default: 20;
59
+ };
60
+ }>, {
61
+ /** 触发校验,支持指定字段 */
62
+ validate: (fields?: string | string[], callback?: (isValid: boolean) => void) => Promise<boolean> | undefined;
63
+ /** 重置字段(恢复初始值并清除校验),支持指定字段 */
64
+ resetFields: (fields?: string | string[]) => void | undefined;
65
+ /** 清除指定字段校验结果 */
66
+ clearValidate: (fields?: string | string[]) => void | undefined;
67
+ /** 滚动到指定字段 */
68
+ scrollToField: (field: string) => void | undefined;
69
+ /** 获取当前表单数据快照 */
70
+ getModel: () => {
71
+ [x: string]: unknown;
72
+ };
73
+ /** 动态更新单个字段值 */
74
+ setFieldValue: (field: string, val: unknown) => void;
75
+ /** 底层 form 实例 */
76
+ formRef: import("vue").Ref<FormInstance | undefined, FormInstance | undefined>;
77
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
78
+ change: (field: string, val: unknown, model: Record<string, unknown>) => any;
79
+ submit: (val: Record<string, unknown>) => any;
80
+ "update:modelValue": (val: Record<string, unknown>) => any;
81
+ validate: (isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any;
82
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
+ readonly modelValue: {
84
+ readonly type: import("vue").PropType<Record<string, unknown>>;
85
+ readonly required: true;
86
+ };
87
+ readonly schema: {
88
+ readonly type: import("vue").PropType<import("./form-schema").FormSchema>;
38
89
  readonly required: true;
39
90
  readonly default: () => never[];
40
91
  };
@@ -46,15 +97,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
46
97
  readonly type: NumberConstructor;
47
98
  readonly default: 20;
48
99
  };
100
+ }>> & Readonly<{
101
+ onChange?: ((field: string, val: unknown, model: Record<string, unknown>) => any) | undefined;
102
+ onSubmit?: ((val: Record<string, unknown>) => any) | undefined;
103
+ "onUpdate:modelValue"?: ((val: Record<string, unknown>) => any) | undefined;
104
+ onValidate?: ((isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any) | undefined;
49
105
  }>, {
50
- validate: (props?: string | string[], callback?: (isValid: boolean) => void) => any;
51
- resetFields: (props?: string | string[]) => any;
52
- clearValidate: (props?: string | string[]) => any;
53
- scrollToField: (prop: string) => any;
54
- formRef: import("vue").Ref<any, any>;
55
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
56
106
  readonly gutter: number;
57
- readonly schema: FormSchema;
107
+ readonly schema: import("./form-schema").FormSchema;
58
108
  readonly formProps: Partial<import("./form").FormProps>;
59
109
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
60
110
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -68,6 +68,13 @@ const formProps = exports.formProps = {
68
68
  type: [Object, Boolean],
69
69
  default: false
70
70
  },
71
+ /**
72
+ * 滚动到错误表单项时的偏移量 (仅当 scrollToError 为 true 时有效)
73
+ */
74
+ scrollToErrorOffset: {
75
+ type: Number,
76
+ default: 0
77
+ },
71
78
  /**
72
79
  * 是否禁用该表单内所有组件
73
80
  */
@@ -93,6 +93,13 @@ export declare const formProps: {
93
93
  readonly type: PropType<boolean | ScrollIntoViewOptions>;
94
94
  readonly default: false;
95
95
  };
96
+ /**
97
+ * 滚动到错误表单项时的偏移量 (仅当 scrollToError 为 true 时有效)
98
+ */
99
+ readonly scrollToErrorOffset: {
100
+ readonly type: NumberConstructor;
101
+ readonly default: 0;
102
+ };
96
103
  /**
97
104
  * 是否禁用该表单内所有组件
98
105
  */
@@ -135,3 +142,16 @@ export declare const formProps: {
135
142
  };
136
143
  };
137
144
  export type FormProps = ExtractPropTypes<typeof formProps>;
145
+ /**
146
+ * YhForm 组件实例暴露的 API 类型
147
+ */
148
+ export interface FormInstance {
149
+ /** 触发校验 */
150
+ validate: (props?: string | string[] | ((isValid: boolean, invalidFields?: Record<string, unknown>) => void), callback?: (isValid: boolean, invalidFields?: Record<string, unknown>) => void) => Promise<boolean>;
151
+ /** 重置字段 */
152
+ resetFields: (props?: string | string[]) => void;
153
+ /** 清除校验结果 */
154
+ clearValidate: (props?: string | string[]) => void;
155
+ /** 滚动到指定字段 */
156
+ scrollToField: (prop: string) => void;
157
+ }
@@ -35,6 +35,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
35
35
  readonly type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
36
36
  readonly default: false;
37
37
  };
38
+ readonly scrollToErrorOffset: {
39
+ readonly type: NumberConstructor;
40
+ readonly default: 0;
41
+ };
38
42
  readonly disabled: {
39
43
  readonly type: BooleanConstructor;
40
44
  readonly default: false;
@@ -99,6 +103,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
99
103
  readonly type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
100
104
  readonly default: false;
101
105
  };
106
+ readonly scrollToErrorOffset: {
107
+ readonly type: NumberConstructor;
108
+ readonly default: 0;
109
+ };
102
110
  readonly disabled: {
103
111
  readonly type: BooleanConstructor;
104
112
  readonly default: false;
@@ -130,6 +138,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
130
138
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
131
139
  readonly layout: import("./form").FormLayout;
132
140
  readonly size: import("./form").ComponentSize;
141
+ readonly statusIcon: boolean;
133
142
  readonly rules: import("./form").FormRules;
134
143
  readonly labelWidth: string | number;
135
144
  readonly labelPosition: import("./form").LabelPosition;
@@ -137,8 +146,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
137
146
  readonly showMessage: boolean;
138
147
  readonly scrollToError: boolean;
139
148
  readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
149
+ readonly scrollToErrorOffset: number;
140
150
  readonly hideRequiredAsterisk: boolean;
141
- readonly statusIcon: boolean;
142
151
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
143
152
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
144
153
  export default _default;
@@ -57,6 +57,13 @@ export const formProps = {
57
57
  type: [Object, Boolean],
58
58
  default: false
59
59
  },
60
+ /**
61
+ * 滚动到错误表单项时的偏移量 (仅当 scrollToError 为 true 时有效)
62
+ */
63
+ scrollToErrorOffset: {
64
+ type: Number,
65
+ default: 0
66
+ },
60
67
  /**
61
68
  * 是否禁用该表单内所有组件
62
69
  */
@@ -9,7 +9,10 @@ defineOptions({
9
9
  const props = defineProps(formProps);
10
10
  const emit = defineEmits(["validate"]);
11
11
  const ns = useNamespace("form");
12
- const { themeStyle } = useComponentTheme("form", computed(() => props.themeOverrides));
12
+ const { themeStyle } = useComponentTheme(
13
+ "form",
14
+ computed(() => props.themeOverrides)
15
+ );
13
16
  const fields = [];
14
17
  const addField = (field) => {
15
18
  if (field.prop) {
@@ -70,7 +73,9 @@ const resetFields = (props2 = []) => {
70
73
  };
71
74
  const clearValidate = (props2 = []) => {
72
75
  const propsArray = Array.isArray(props2) ? props2 : props2 ? [props2] : [];
73
- const fieldsToClear = propsArray.length > 0 ? fields.filter((field) => field.prop && (typeof propsArray === "string" ? propsArray === field.prop : propsArray.includes(field.prop))) : fields;
76
+ const fieldsToClear = propsArray.length > 0 ? fields.filter(
77
+ (field) => field.prop && (typeof propsArray === "string" ? propsArray === field.prop : propsArray.includes(field.prop))
78
+ ) : fields;
74
79
  fieldsToClear.forEach((field) => field.clearValidate());
75
80
  };
76
81
  const scrollToField = (prop) => {
@@ -78,8 +83,16 @@ const scrollToField = (prop) => {
78
83
  if (field) {
79
84
  const el = document.querySelector(`[data-prop="${prop}"]`);
80
85
  if (el) {
81
- const options = typeof context.scrollIntoViewOptions === "object" ? context.scrollIntoViewOptions : { behavior: "smooth", block: "center" };
82
- el.scrollIntoView(options);
86
+ if (props.scrollToErrorOffset) {
87
+ const top = el.getBoundingClientRect().top + window.pageYOffset - props.scrollToErrorOffset;
88
+ window.scrollTo({
89
+ top,
90
+ behavior: typeof context.scrollIntoViewOptions === "object" ? context.scrollIntoViewOptions.behavior : "smooth"
91
+ });
92
+ } else {
93
+ const options = typeof context.scrollIntoViewOptions === "object" ? context.scrollIntoViewOptions : { behavior: "smooth", block: "center" };
94
+ el.scrollIntoView(options);
95
+ }
83
96
  }
84
97
  }
85
98
  };
@@ -98,12 +111,11 @@ defineExpose({
98
111
  </script>
99
112
 
100
113
  <template>
101
- <form :class="[
102
- ns.b(),
103
- ns.m(layout),
104
- ns.m(size),
105
- ns.m(`label-${labelPosition}`)
106
- ]" :style="themeStyle" @submit.prevent>
114
+ <form
115
+ :class="[ns.b(), ns.m(layout), ns.m(size), ns.m(`label-${labelPosition}`)]"
116
+ :style="themeStyle"
117
+ @submit.prevent
118
+ >
107
119
  <slot />
108
120
  </form>
109
121
  </template>
@@ -35,6 +35,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
35
35
  readonly type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
36
36
  readonly default: false;
37
37
  };
38
+ readonly scrollToErrorOffset: {
39
+ readonly type: NumberConstructor;
40
+ readonly default: 0;
41
+ };
38
42
  readonly disabled: {
39
43
  readonly type: BooleanConstructor;
40
44
  readonly default: false;
@@ -99,6 +103,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
99
103
  readonly type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
100
104
  readonly default: false;
101
105
  };
106
+ readonly scrollToErrorOffset: {
107
+ readonly type: NumberConstructor;
108
+ readonly default: 0;
109
+ };
102
110
  readonly disabled: {
103
111
  readonly type: BooleanConstructor;
104
112
  readonly default: false;
@@ -130,6 +138,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
130
138
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
131
139
  readonly layout: import("./form").FormLayout;
132
140
  readonly size: import("./form").ComponentSize;
141
+ readonly statusIcon: boolean;
133
142
  readonly rules: import("./form").FormRules;
134
143
  readonly labelWidth: string | number;
135
144
  readonly labelPosition: import("./form").LabelPosition;
@@ -137,8 +146,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
137
146
  readonly showMessage: boolean;
138
147
  readonly scrollToError: boolean;
139
148
  readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
149
+ readonly scrollToErrorOffset: number;
140
150
  readonly hideRequiredAsterisk: boolean;
141
- readonly statusIcon: boolean;
142
151
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
143
152
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
144
153
  export default _default;
@@ -6,9 +6,9 @@ type __VLS_Slots = {} & {
6
6
  declare const __VLS_component: import("vue").DefineComponent<GridProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<GridProps> & Readonly<{}>, {
7
7
  rowGap: number | string;
8
8
  gap: number | string | [number | string, number | string];
9
+ collapsed: boolean;
9
10
  cols: number | string;
10
11
  colGap: number | string;
11
- collapsed: boolean;
12
12
  collapsedRows: number;
13
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
14
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -6,9 +6,9 @@ type __VLS_Slots = {} & {
6
6
  declare const __VLS_component: import("vue").DefineComponent<GridProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<GridProps> & Readonly<{}>, {
7
7
  rowGap: number | string;
8
8
  gap: number | string | [number | string, number | string];
9
+ collapsed: boolean;
9
10
  cols: number | string;
10
11
  colGap: number | string;
11
- collapsed: boolean;
12
12
  collapsedRows: number;
13
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
14
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- module.exports = exports.builtInIcons = exports.IconWarning = exports.IconUser = exports.IconUpload = exports.IconTime = exports.IconSuccess = exports.IconStar = exports.IconSettings = exports.IconSetting = exports.IconSearch = exports.IconRefresh = exports.IconPlus = exports.IconMinus = exports.IconLoading = exports.IconInfo = exports.IconImage = exports.IconHome = exports.IconFolderOpened = exports.IconFolder = exports.IconFileWord = exports.IconFileVideo = exports.IconFileTxt = exports.IconFilePdf = exports.IconFileExcel = exports.IconFileAudio = exports.IconEyeOff = exports.IconEye = exports.IconError = exports.IconEdit = exports.IconDownload = exports.IconDocument = exports.IconDelete = exports.IconCopy = exports.IconClose = exports.IconCheck = exports.IconCalendar = exports.IconAttachment = exports.IconArrowUp = exports.IconArrowRight = exports.IconArrowLeft = exports.IconArrowDown = void 0;
6
+ module.exports = exports.builtInIcons = exports.IconWarning = exports.IconVideoPlay = exports.IconVideoPause = exports.IconUser = exports.IconUpload = exports.IconTime = exports.IconThumbUp = exports.IconThumbDown = exports.IconTable = exports.IconSuccess = exports.IconStarFilled = exports.IconStar = exports.IconSparkles = exports.IconShare = exports.IconSettings = exports.IconSetting = exports.IconSendArrow = exports.IconSend = exports.IconSearch = exports.IconRobot = exports.IconRefresh = exports.IconPresentation = exports.IconPlus = exports.IconPaperclip = exports.IconMinus = exports.IconMicrophone = exports.IconLoading = exports.IconLaunch = exports.IconInfo = exports.IconImage = exports.IconHome = exports.IconGlobe = exports.IconFolderOpened = exports.IconFolder = exports.IconFileWord = exports.IconFileVideo = exports.IconFileTxt = exports.IconFilePdf = exports.IconFileExcel = exports.IconFileAudio = exports.IconEyeOff = exports.IconEye = exports.IconError = exports.IconEdit = exports.IconDownload = exports.IconDocumentText = exports.IconDocument = exports.IconDelete = exports.IconCopy = exports.IconCode = exports.IconCloseCircle = exports.IconClose = exports.IconClean = exports.IconCheckmarkCircle = exports.IconCheckCircle = exports.IconCheck = exports.IconChat = exports.IconChartBar = exports.IconCalendar = exports.IconAttachment = exports.IconArrowUp = exports.IconArrowRight = exports.IconArrowLeft = exports.IconArrowDown = void 0;
7
7
  var _icon = require("../icon.cjs");
8
8
  const IconClose = exports.IconClose = {
9
9
  name: "close",
@@ -205,6 +205,126 @@ const IconFolderOpened = exports.IconFolderOpened = {
205
205
  viewBox: "0 0 24 24",
206
206
  svg: '<path fill="currentColor" d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"/>'
207
207
  };
208
- const builtInIcons = exports.builtInIcons = [IconClose, IconCheck, IconArrowUp, IconArrowDown, IconArrowLeft, IconArrowRight, IconLoading, IconSearch, IconPlus, IconMinus, IconInfo, IconWarning, IconError, IconSuccess, IconEye, IconEyeOff, IconCalendar, IconTime, IconUser, IconSettings, IconSetting, IconHome, IconImage, IconDocument, IconRefresh, IconDelete, IconUpload, IconDownload, IconFilePdf, IconFileExcel, IconFileWord, IconFileVideo, IconFileAudio, IconFileTxt, IconAttachment, IconEdit, IconCopy, IconStar, IconFolder, IconFolderOpened];
208
+ const IconRobot = exports.IconRobot = {
209
+ name: "robot",
210
+ viewBox: "0 0 24 24",
211
+ svg: '<path fill="currentColor" d="M22,10h-2V7c0-1.66-1.34-3-3-3H7C5.34,4,4,5.34,4,7v3H2C1.45,10,1,10.45,1,11v4c0,0.55,0.45,1,1,1h2v3c0,1.66,1.34,3,3,3h10c1.66,0,3-1.34,3-3v-3h2c0.55,0,1-0.45,1-1v-4C23,10.45,22.55,10,22,10z M8,11c0.55,0,1,0.45,1,1c0,0.55-0.45,1-1,1S7,12.55,7,12C7,11.45,7.45,11,8,11z M16,11c0.55,0,1,0.45,1,1c0,0.55-0.45,1-1,1s-1-0.45-1-1C15,11.45,15.45,11,16,11z M16,18H8v-2h8V18z"/>'
212
+ };
213
+ const IconCloseCircle = exports.IconCloseCircle = {
214
+ name: "close-circle",
215
+ viewBox: "0 0 24 24",
216
+ svg: '<path fill="currentColor" d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/>'
217
+ };
218
+ const IconCheckCircle = exports.IconCheckCircle = {
219
+ name: "check-circle",
220
+ viewBox: "0 0 24 24",
221
+ svg: IconSuccess.svg
222
+ };
223
+ const IconSend = exports.IconSend = {
224
+ name: "send",
225
+ viewBox: "0 0 24 24",
226
+ svg: '<path fill="currentColor" d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/>'
227
+ };
228
+ const IconSendArrow = exports.IconSendArrow = {
229
+ name: "send-arrow",
230
+ viewBox: "0 0 24 24",
231
+ svg: '<path fill="currentColor" d="M11 4.586V20h2V4.586l6.29 6.294 1.414-1.414L12 0.758 3.293 9.466l1.414 1.414z"/>'
232
+ };
233
+ const IconClean = exports.IconClean = {
234
+ name: "clean",
235
+ viewBox: "0 0 1024 1024",
236
+ svg: '<path fill="currentColor" d="M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V342c0-14.4-11.6-26-26-26H611.8l-4.8-27.4c-9.6-55.6-58.4-96.6-114.7-96.6s-105.1 41-114.7 96.6l-4.8 27.4H160c-14.4 0-26 11.6-26 26v196c0 14.4 11.6 26 26 26h17.9l-53 305.6c-.3 1.5-.4 3-.4 4.4 0 14.4 11.6 26 26 26h723c1.5 0 3-.1 4.4-.4 14.2-2.4 23.7-15.9 21.2-30.4zM492.2 263.3c3.2-18.4 19.2-31.3 37.8-31.3s34.6 12.9 37.8 31.3l2.8 52.7h-81.2l2.8-52.7zm321 563.3H210.7l41.5-238h519.5l41.5 238zM206 518v-84h612v84H206z"></path>'
237
+ };
238
+ const IconPaperclip = exports.IconPaperclip = {
239
+ name: "paperclip",
240
+ viewBox: "0 0 24 24",
241
+ svg: IconAttachment.svg
242
+ };
243
+ const IconMicrophone = exports.IconMicrophone = {
244
+ name: "microphone",
245
+ viewBox: "0 0 24 24",
246
+ svg: '<path fill="currentColor" d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.91-3c-.49 0-.9.36-.98.85C16.52 14.2 14.47 16 12 16s-4.52-1.8-4.93-4.15c-.08-.49-.49-.85-.98-.85-.61 0-1.09.54-1 1.14.49 3 2.89 5.35 5.91 5.78V20c0 .55.45 1 1 1s1-.45 1-1v-2.08c3.02-.43 5.42-2.78 5.91-5.78.1-.6-.39-1.14-1-1.14z"/>'
247
+ };
248
+ const IconThumbUp = exports.IconThumbUp = {
249
+ name: "thumb-up",
250
+ viewBox: "0 0 24 24",
251
+ svg: '<path fill="currentColor" d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"/>'
252
+ };
253
+ const IconThumbDown = exports.IconThumbDown = {
254
+ name: "thumb-down",
255
+ viewBox: "0 0 24 24",
256
+ svg: '<path fill="currentColor" d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.37-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"/>'
257
+ };
258
+ const IconSparkles = exports.IconSparkles = {
259
+ name: "sparkles",
260
+ viewBox: "0 0 24 24",
261
+ svg: '<path fill="currentColor" d="M11,1L12.5,4L15.5,5.5L12.5,7L11,10L9.5,7L6.5,5.5L9.5,4L11,1M5,10L6.5,13L9.5,14.5L6.5,16L5,19L3.5,16L0.5,14.5L3.5,13L5,10M17.5,12L19,15L22,16.5L19,18L17.5,21L16,18L13,16.5L16,15L17.5,12Z"/>'
262
+ };
263
+ const IconShare = exports.IconShare = {
264
+ name: "share",
265
+ viewBox: "0 0 24 24",
266
+ svg: '<path fill="currentColor" d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92z"/>'
267
+ };
268
+ const IconChat = exports.IconChat = {
269
+ name: "chat",
270
+ viewBox: "0 0 24 24",
271
+ svg: '<path fill="currentColor" d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z"/>'
272
+ };
273
+ const IconVideoPlay = exports.IconVideoPlay = {
274
+ name: "video-play",
275
+ viewBox: "0 0 24 24",
276
+ svg: '<path fill="currentColor" d="M8 5v14l11-7L8 5z"/>'
277
+ };
278
+ const IconGlobe = exports.IconGlobe = {
279
+ name: "globe",
280
+ viewBox: "0 0 24 24",
281
+ svg: '<path fill="currentColor" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/>'
282
+ };
283
+ const IconTable = exports.IconTable = {
284
+ name: "table",
285
+ viewBox: "0 0 24 24",
286
+ svg: '<path fill="currentColor" d="M10 10.02h5V21h-5V10.02zM17 21h3c1.1 0 2-.9 2-2v-9h-5v11zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2zM3 19c0 1.1.9 2 2 2h3V10H3v9zm12-11H9V3h6v5zm2 0h5V3h-5v5zM7 3H4c-1.1 0-2 .9-2 2v3h5V3z"/>'
287
+ };
288
+ const IconChartBar = exports.IconChartBar = {
289
+ name: "chart-bar",
290
+ viewBox: "0 0 24 24",
291
+ svg: '<path fill="currentColor" d="M5 9.2h3V19H5V9.2zM10.6 5h2.8v14h-2.8V5zm5.6 8h2.8v6h-2.8v-6z"/>'
292
+ };
293
+ const IconLaunch = exports.IconLaunch = {
294
+ name: "launch",
295
+ viewBox: "0 0 24 24",
296
+ svg: '<path fill="currentColor" d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/>'
297
+ };
298
+ const IconCode = exports.IconCode = {
299
+ name: "code",
300
+ viewBox: "0 0 24 24",
301
+ svg: '<path fill="currentColor" d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/>'
302
+ };
303
+ const IconStarFilled = exports.IconStarFilled = {
304
+ name: "star-filled",
305
+ viewBox: "0 0 24 24",
306
+ svg: IconStar.svg
307
+ };
308
+ const IconCheckmarkCircle = exports.IconCheckmarkCircle = {
309
+ name: "checkmark-circle",
310
+ viewBox: "0 0 24 24",
311
+ svg: IconCheckCircle.svg
312
+ };
313
+ const IconPresentation = exports.IconPresentation = {
314
+ name: "presentation",
315
+ viewBox: "0 0 24 24",
316
+ svg: '<path fill="currentColor" d="M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM21 17H3V5h18v12zM10 7l6 4-6 4V7z"/>'
317
+ };
318
+ const IconDocumentText = exports.IconDocumentText = {
319
+ name: "document-text",
320
+ viewBox: "0 0 24 24",
321
+ svg: '<path fill="currentColor" d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/>'
322
+ };
323
+ const IconVideoPause = exports.IconVideoPause = {
324
+ name: "video-pause",
325
+ viewBox: "0 0 24 24",
326
+ svg: '<path fill="currentColor" d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/>'
327
+ };
328
+ const builtInIcons = exports.builtInIcons = [IconClose, IconCheck, IconArrowUp, IconArrowDown, IconArrowLeft, IconArrowRight, IconLoading, IconSearch, IconPlus, IconMinus, IconInfo, IconWarning, IconError, IconSuccess, IconEye, IconEyeOff, IconCalendar, IconTime, IconUser, IconSettings, IconSetting, IconHome, IconImage, IconDocument, IconRefresh, IconDelete, IconUpload, IconDownload, IconFilePdf, IconFileExcel, IconFileWord, IconFileVideo, IconFileAudio, IconFileTxt, IconAttachment, IconEdit, IconCopy, IconStar, IconFolder, IconFolderOpened, IconRobot, IconCloseCircle, IconCheckCircle, IconSend, IconSendArrow, IconClean, IconPaperclip, IconMicrophone, IconThumbUp, IconThumbDown, IconSparkles, IconShare, IconChat, IconVideoPlay, IconVideoPause, IconGlobe, IconTable, IconChartBar, IconLaunch, IconCode, IconStarFilled, IconCheckmarkCircle, IconPresentation, IconDocumentText];
209
329
  (0, _icon.registerIcons)(builtInIcons);
210
330
  module.exports = builtInIcons;
@@ -43,5 +43,29 @@ export declare const IconCopy: IconData;
43
43
  export declare const IconStar: IconData;
44
44
  export declare const IconFolder: IconData;
45
45
  export declare const IconFolderOpened: IconData;
46
+ export declare const IconRobot: IconData;
47
+ export declare const IconCloseCircle: IconData;
48
+ export declare const IconCheckCircle: IconData;
49
+ export declare const IconSend: IconData;
50
+ export declare const IconSendArrow: IconData;
51
+ export declare const IconClean: IconData;
52
+ export declare const IconPaperclip: IconData;
53
+ export declare const IconMicrophone: IconData;
54
+ export declare const IconThumbUp: IconData;
55
+ export declare const IconThumbDown: IconData;
56
+ export declare const IconSparkles: IconData;
57
+ export declare const IconShare: IconData;
58
+ export declare const IconChat: IconData;
59
+ export declare const IconVideoPlay: IconData;
60
+ export declare const IconGlobe: IconData;
61
+ export declare const IconTable: IconData;
62
+ export declare const IconChartBar: IconData;
63
+ export declare const IconLaunch: IconData;
64
+ export declare const IconCode: IconData;
65
+ export declare const IconStarFilled: IconData;
66
+ export declare const IconCheckmarkCircle: IconData;
67
+ export declare const IconPresentation: IconData;
68
+ export declare const IconDocumentText: IconData;
69
+ export declare const IconVideoPause: IconData;
46
70
  export declare const builtInIcons: IconData[];
47
71
  export default builtInIcons;