yc-design-vue 2.0.5 → 2.0.6

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 (383) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/style.css +1 -1
  3. package/es/Alert/index.d.ts +3 -3
  4. package/es/Alert/index.vue.d.ts +1 -1
  5. package/es/Alert/type.d.ts +2 -2
  6. package/es/Anchor/Anchor.vue.d.ts +1 -1
  7. package/es/Anchor/hooks/useContext.d.ts +1 -1
  8. package/es/Anchor/index.d.ts +3 -3
  9. package/es/Anchor/type.d.ts +3 -2
  10. package/es/AutoComplete/index.d.ts +18 -9
  11. package/es/AutoComplete/index.vue.d.ts +36 -18
  12. package/es/Avatar/Avatar.vue.d.ts +1 -1
  13. package/es/Avatar/index.d.ts +3 -3
  14. package/es/Avatar/type.d.ts +3 -2
  15. package/es/Badge/index.d.ts +3 -3
  16. package/es/Badge/index.vue.d.ts +1 -1
  17. package/es/Badge/type.d.ts +2 -2
  18. package/es/Button/Button.vue.d.ts +2 -2
  19. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  20. package/es/Button/hooks/useContext.d.ts +3 -3
  21. package/es/Button/index.d.ts +9 -9
  22. package/es/Button/type.d.ts +6 -6
  23. package/es/Card/Card.vue.d.ts +1 -1
  24. package/es/Card/index.d.ts +3 -3
  25. package/es/Card/type.d.ts +1 -2
  26. package/es/Carousel/Carousel.vue.d.ts +2 -2
  27. package/es/Carousel/hooks/useContext.d.ts +3 -3
  28. package/es/Carousel/index.d.ts +6 -6
  29. package/es/Carousel/type.d.ts +6 -6
  30. package/es/Cascader/Cascader.vue.d.ts +7 -7
  31. package/es/Cascader/index.d.ts +6 -6
  32. package/es/Collapse/hooks/useContext.d.ts +2 -13
  33. package/es/Collapse/hooks/useContext.js +0 -1
  34. package/es/Collapse/type.d.ts +2 -1
  35. package/es/Descriptions/Descriptions.vue.d.ts +3 -3
  36. package/es/Descriptions/hooks/useContext.d.ts +1 -1
  37. package/es/Descriptions/index.d.ts +9 -9
  38. package/es/Descriptions/type.d.ts +7 -6
  39. package/es/Divider/index.d.ts +6 -6
  40. package/es/Divider/index.vue.d.ts +2 -2
  41. package/es/Divider/type.d.ts +4 -3
  42. package/es/Drawer/Drawer.vue.d.ts +1 -1
  43. package/es/Drawer/DrawerService.vue.d.ts +1 -1
  44. package/es/Drawer/index.d.ts +5 -9
  45. package/es/Drawer/type.d.ts +8 -4
  46. package/es/Dropdown/Dropdown.vue.d.ts +1 -1
  47. package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
  48. package/es/Dropdown/Dsubmenu.vue.d.ts +1 -1
  49. package/es/Dropdown/index.d.ts +9 -9
  50. package/es/Dropdown/type.d.ts +4 -6
  51. package/es/Grid/hooks/useContext.d.ts +0 -11
  52. package/es/Grid/hooks/useContext.js +0 -1
  53. package/es/Image/Image.vue.d.ts +2 -2
  54. package/es/Image/ImagePreview.vue.js +1 -1
  55. package/es/Image/index.d.ts +6 -6
  56. package/es/Image/type.d.ts +3 -2
  57. package/es/Input/Input.vue.d.ts +1 -1
  58. package/es/Input/InputSuffix.vue.js +1 -1
  59. package/es/Input/index.d.ts +3 -3
  60. package/es/InputNumber/InputNumber.vue.d.ts +8 -8
  61. package/es/InputNumber/InputOperaBtn.vue.d.ts +2 -2
  62. package/es/InputNumber/index.d.ts +9 -9
  63. package/es/InputNumber/type.d.ts +5 -4
  64. package/es/InputTag/index.d.ts +15 -6
  65. package/es/InputTag/index.vue.d.ts +5 -2
  66. package/es/InputTag/type.d.ts +2 -1
  67. package/es/Layout/LayoutSider.vue.d.ts +3 -3
  68. package/es/Layout/index.d.ts +8 -8
  69. package/es/Layout/type.d.ts +3 -4
  70. package/es/Link/index.d.ts +3 -3
  71. package/es/Link/index.vue.d.ts +1 -1
  72. package/es/Link/type.d.ts +2 -2
  73. package/es/List/List.vue.d.ts +7 -7
  74. package/es/List/index.d.ts +6 -6
  75. package/es/List/type.d.ts +2 -3
  76. package/es/Mention/index.d.ts +21 -12
  77. package/es/Mention/index.vue.d.ts +37 -19
  78. package/es/Mention/type.d.ts +3 -2
  79. package/es/Menu/Menu.vue.d.ts +2 -2
  80. package/es/Menu/index.d.ts +5 -5
  81. package/es/Menu/type.d.ts +2 -2
  82. package/es/Message/type.d.ts +3 -3
  83. package/es/Modal/Modal.vue.d.ts +1 -1
  84. package/es/Modal/ModalService.vue.d.ts +1 -1
  85. package/es/Modal/index.d.ts +13 -13
  86. package/es/Modal/index.js +1 -4
  87. package/es/Modal/type.d.ts +6 -9
  88. package/es/Notification/Notification.vue.d.ts +1 -1
  89. package/es/Notification/index.d.ts +4 -4
  90. package/es/Notification/type.d.ts +3 -4
  91. package/es/OverflowList/index.d.ts +3 -3
  92. package/es/OverflowList/index.vue.d.ts +1 -1
  93. package/es/OverflowList/type.d.ts +3 -2
  94. package/es/Popconfirm/index.d.ts +3 -3
  95. package/es/Popconfirm/index.vue.d.ts +1 -1
  96. package/es/Popconfirm/type.d.ts +2 -3
  97. package/es/Progress/Progress.vue.d.ts +1 -1
  98. package/es/Progress/ProgressCircle.vue.d.ts +3 -3
  99. package/es/Progress/ProgressLine.vue.d.ts +3 -3
  100. package/es/Progress/index.d.ts +3 -3
  101. package/es/Progress/type.d.ts +2 -3
  102. package/es/Radio/type.d.ts +1 -1
  103. package/es/ResizeBox/index.d.ts +3 -3
  104. package/es/ResizeBox/index.vue.d.ts +2 -2
  105. package/es/ResizeBox/type.d.ts +4 -4
  106. package/es/Result/index.d.ts +3 -3
  107. package/es/Result/index.vue.d.ts +1 -1
  108. package/es/Result/type.d.ts +3 -2
  109. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  110. package/es/Scrollbar/index.d.ts +3 -3
  111. package/es/Scrollbar/type.d.ts +2 -1
  112. package/es/Select/Select.vue.d.ts +31 -13
  113. package/es/Select/hooks/useContext.d.ts +2 -2
  114. package/es/Select/hooks/useSelectOptions.d.ts +2 -2
  115. package/es/Select/index.d.ts +18 -9
  116. package/es/Skeleton/SkeletonShape.vue.d.ts +2 -2
  117. package/es/Skeleton/index.d.ts +2 -2
  118. package/es/Skeleton/type.d.ts +2 -4
  119. package/es/Space/index.d.ts +6 -6
  120. package/es/Space/index.vue.d.ts +2 -2
  121. package/es/Space/type.d.ts +5 -4
  122. package/es/Switch/index.d.ts +9 -9
  123. package/es/Switch/index.vue.d.ts +3 -3
  124. package/es/Switch/type.d.ts +4 -4
  125. package/es/Tabs/Tabs.vue.d.ts +1 -1
  126. package/es/Tabs/hooks/useContext.d.ts +4 -4
  127. package/es/Tabs/index.d.ts +3 -3
  128. package/es/Tabs/type.d.ts +2 -3
  129. package/es/Tag/index.d.ts +3 -3
  130. package/es/Tag/index.vue.d.ts +1 -1
  131. package/es/Tag/type.d.ts +1 -2
  132. package/es/Textarea/type.d.ts +2 -2
  133. package/es/TimePicker/TimePicker.vue.d.ts +1 -1
  134. package/es/TimePicker/index.d.ts +3 -3
  135. package/es/Timeline/TimelineItem.vue.d.ts +1 -1
  136. package/es/Timeline/index.d.ts +3 -3
  137. package/es/Timeline/type.d.ts +3 -4
  138. package/es/Transfer/TransferPanel.vue.js +1 -1
  139. package/es/Typography/TypographyBase.vue.d.ts +7 -7
  140. package/es/Typography/TypographyBase.vue.js +2 -2
  141. package/es/Typography/TypographyParagraph.vue.d.ts +1 -1
  142. package/es/Typography/TypographyTitle.vue.d.ts +1 -1
  143. package/es/Typography/type.d.ts +5 -4
  144. package/es/Upload/Upload.vue.d.ts +53 -0
  145. package/es/Upload/Upload.vue.js +110 -0
  146. package/es/Upload/Upload.vue3.js +5 -0
  147. package/es/Upload/UploadButton.vue.d.ts +2 -0
  148. package/es/Upload/UploadButton.vue.js +39 -0
  149. package/es/Upload/UploadButton.vue3.js +5 -0
  150. package/es/Upload/UploadDrag.vue.d.ts +2 -0
  151. package/es/Upload/UploadDrag.vue.js +37 -0
  152. package/es/Upload/UploadDrag.vue3.js +5 -0
  153. package/es/Upload/UploadFileList.vue.d.ts +24 -0
  154. package/es/Upload/UploadFileList.vue.js +7 -0
  155. package/es/Upload/UploadFileList.vue2.js +126 -0
  156. package/es/Upload/UploadPictureCard.vue.d.ts +4 -0
  157. package/es/Upload/UploadPictureCard.vue.js +7 -0
  158. package/es/Upload/UploadPictureCard.vue2.js +132 -0
  159. package/es/Upload/hooks/useContext.d.ts +49 -0
  160. package/es/Upload/hooks/useContext.js +92 -0
  161. package/es/Upload/hooks/useUpload.d.ts +47 -0
  162. package/es/Upload/hooks/useUpload.js +80 -0
  163. package/es/Upload/index.css +1 -0
  164. package/es/Upload/index.d.ts +123 -0
  165. package/es/Upload/index.js +10 -0
  166. package/es/Upload/type.d.ts +72 -0
  167. package/es/VerificationCode/index.d.ts +3 -3
  168. package/es/VerificationCode/index.vue.d.ts +1 -1
  169. package/es/VerificationCode/type.d.ts +5 -4
  170. package/es/_shared/icons/IconCopy.vue.js +1 -19
  171. package/es/_shared/icons/IconCopy.vue2.js +19 -1
  172. package/es/_shared/icons/IconDelete.vue.js +19 -1
  173. package/es/_shared/icons/IconDelete.vue2.js +1 -19
  174. package/es/_shared/icons/IconEdit.vue.js +1 -19
  175. package/es/_shared/icons/IconEdit.vue2.js +19 -1
  176. package/es/_shared/icons/IconEyeClose.vue.js +23 -1
  177. package/es/_shared/icons/IconEyeClose.vue2.js +1 -23
  178. package/es/_shared/icons/IconFile.vue.d.ts +2 -0
  179. package/es/_shared/icons/IconFile.vue.js +22 -0
  180. package/es/_shared/icons/IconFile.vue2.js +4 -0
  181. package/es/_shared/icons/IconUpload.vue.d.ts +2 -0
  182. package/es/_shared/icons/IconUpload.vue.js +22 -0
  183. package/es/_shared/icons/IconUpload.vue2.js +4 -0
  184. package/es/_shared/icons/index.d.ts +2 -0
  185. package/es/_shared/type/index.d.ts +3 -1
  186. package/es/_shared/utils/vue-utils.d.ts +1 -1
  187. package/es/_virtual/_plugin-vue_export-helper.js +10 -0
  188. package/es/index.d.ts +31 -30
  189. package/es/index.js +5 -3
  190. package/es/node_modules/@vueuse/core/index.js +171 -9
  191. package/es/node_modules/@vueuse/shared/index.js +29 -0
  192. package/es/style.css +1 -1
  193. package/lib/Alert/index.d.ts +3 -3
  194. package/lib/Alert/index.vue.d.ts +1 -1
  195. package/lib/Alert/type.d.ts +2 -2
  196. package/lib/Anchor/Anchor.vue.d.ts +1 -1
  197. package/lib/Anchor/hooks/useContext.d.ts +1 -1
  198. package/lib/Anchor/index.d.ts +3 -3
  199. package/lib/Anchor/type.d.ts +3 -2
  200. package/lib/AutoComplete/index.d.ts +18 -9
  201. package/lib/AutoComplete/index.vue.d.ts +36 -18
  202. package/lib/Avatar/Avatar.vue.d.ts +1 -1
  203. package/lib/Avatar/index.d.ts +3 -3
  204. package/lib/Avatar/type.d.ts +3 -2
  205. package/lib/Badge/index.d.ts +3 -3
  206. package/lib/Badge/index.vue.d.ts +1 -1
  207. package/lib/Badge/type.d.ts +2 -2
  208. package/lib/Button/Button.vue.d.ts +2 -2
  209. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  210. package/lib/Button/hooks/useContext.d.ts +3 -3
  211. package/lib/Button/index.d.ts +9 -9
  212. package/lib/Button/type.d.ts +6 -6
  213. package/lib/Card/Card.vue.d.ts +1 -1
  214. package/lib/Card/index.d.ts +3 -3
  215. package/lib/Card/type.d.ts +1 -2
  216. package/lib/Carousel/Carousel.vue.d.ts +2 -2
  217. package/lib/Carousel/hooks/useContext.d.ts +3 -3
  218. package/lib/Carousel/index.d.ts +6 -6
  219. package/lib/Carousel/type.d.ts +6 -6
  220. package/lib/Cascader/Cascader.vue.d.ts +7 -7
  221. package/lib/Cascader/index.d.ts +6 -6
  222. package/lib/Collapse/hooks/useContext.d.ts +2 -13
  223. package/lib/Collapse/hooks/useContext.js +1 -1
  224. package/lib/Collapse/type.d.ts +2 -1
  225. package/lib/Descriptions/Descriptions.vue.d.ts +3 -3
  226. package/lib/Descriptions/hooks/useContext.d.ts +1 -1
  227. package/lib/Descriptions/index.d.ts +9 -9
  228. package/lib/Descriptions/type.d.ts +7 -6
  229. package/lib/Divider/index.d.ts +6 -6
  230. package/lib/Divider/index.vue.d.ts +2 -2
  231. package/lib/Divider/type.d.ts +4 -3
  232. package/lib/Drawer/Drawer.vue.d.ts +1 -1
  233. package/lib/Drawer/DrawerService.vue.d.ts +1 -1
  234. package/lib/Drawer/index.d.ts +5 -9
  235. package/lib/Drawer/type.d.ts +8 -4
  236. package/lib/Dropdown/Dropdown.vue.d.ts +1 -1
  237. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  238. package/lib/Dropdown/Dsubmenu.vue.d.ts +1 -1
  239. package/lib/Dropdown/index.d.ts +9 -9
  240. package/lib/Dropdown/type.d.ts +4 -6
  241. package/lib/Grid/hooks/useContext.d.ts +0 -11
  242. package/lib/Grid/hooks/useContext.js +1 -1
  243. package/lib/Image/Image.vue.d.ts +2 -2
  244. package/lib/Image/ImagePreview.vue.js +1 -1
  245. package/lib/Image/index.d.ts +6 -6
  246. package/lib/Image/type.d.ts +3 -2
  247. package/lib/Input/Input.vue.d.ts +1 -1
  248. package/lib/Input/InputSuffix.vue.js +1 -1
  249. package/lib/Input/index.d.ts +3 -3
  250. package/lib/InputNumber/InputNumber.vue.d.ts +8 -8
  251. package/lib/InputNumber/InputOperaBtn.vue.d.ts +2 -2
  252. package/lib/InputNumber/index.d.ts +9 -9
  253. package/lib/InputNumber/type.d.ts +5 -4
  254. package/lib/InputTag/index.d.ts +15 -6
  255. package/lib/InputTag/index.vue.d.ts +5 -2
  256. package/lib/InputTag/type.d.ts +2 -1
  257. package/lib/Layout/LayoutSider.vue.d.ts +3 -3
  258. package/lib/Layout/index.d.ts +8 -8
  259. package/lib/Layout/type.d.ts +3 -4
  260. package/lib/Link/index.d.ts +3 -3
  261. package/lib/Link/index.vue.d.ts +1 -1
  262. package/lib/Link/type.d.ts +2 -2
  263. package/lib/List/List.vue.d.ts +7 -7
  264. package/lib/List/index.d.ts +6 -6
  265. package/lib/List/type.d.ts +2 -3
  266. package/lib/Mention/index.d.ts +21 -12
  267. package/lib/Mention/index.vue.d.ts +37 -19
  268. package/lib/Mention/type.d.ts +3 -2
  269. package/lib/Menu/Menu.vue.d.ts +2 -2
  270. package/lib/Menu/index.d.ts +5 -5
  271. package/lib/Menu/type.d.ts +2 -2
  272. package/lib/Message/type.d.ts +3 -3
  273. package/lib/Modal/Modal.vue.d.ts +1 -1
  274. package/lib/Modal/ModalService.vue.d.ts +1 -1
  275. package/lib/Modal/index.d.ts +13 -13
  276. package/lib/Modal/index.js +1 -1
  277. package/lib/Modal/type.d.ts +6 -9
  278. package/lib/Notification/Notification.vue.d.ts +1 -1
  279. package/lib/Notification/index.d.ts +4 -4
  280. package/lib/Notification/type.d.ts +3 -4
  281. package/lib/OverflowList/index.d.ts +3 -3
  282. package/lib/OverflowList/index.vue.d.ts +1 -1
  283. package/lib/OverflowList/type.d.ts +3 -2
  284. package/lib/Popconfirm/index.d.ts +3 -3
  285. package/lib/Popconfirm/index.vue.d.ts +1 -1
  286. package/lib/Popconfirm/type.d.ts +2 -3
  287. package/lib/Progress/Progress.vue.d.ts +1 -1
  288. package/lib/Progress/ProgressCircle.vue.d.ts +3 -3
  289. package/lib/Progress/ProgressLine.vue.d.ts +3 -3
  290. package/lib/Progress/index.d.ts +3 -3
  291. package/lib/Progress/type.d.ts +2 -3
  292. package/lib/Radio/type.d.ts +1 -1
  293. package/lib/ResizeBox/index.d.ts +3 -3
  294. package/lib/ResizeBox/index.vue.d.ts +2 -2
  295. package/lib/ResizeBox/type.d.ts +4 -4
  296. package/lib/Result/index.d.ts +3 -3
  297. package/lib/Result/index.vue.d.ts +1 -1
  298. package/lib/Result/type.d.ts +3 -2
  299. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  300. package/lib/Scrollbar/index.d.ts +3 -3
  301. package/lib/Scrollbar/type.d.ts +2 -1
  302. package/lib/Select/Select.vue.d.ts +31 -13
  303. package/lib/Select/hooks/useContext.d.ts +2 -2
  304. package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
  305. package/lib/Select/index.d.ts +18 -9
  306. package/lib/Skeleton/SkeletonShape.vue.d.ts +2 -2
  307. package/lib/Skeleton/index.d.ts +2 -2
  308. package/lib/Skeleton/type.d.ts +2 -4
  309. package/lib/Space/index.d.ts +6 -6
  310. package/lib/Space/index.vue.d.ts +2 -2
  311. package/lib/Space/type.d.ts +5 -4
  312. package/lib/Switch/index.d.ts +9 -9
  313. package/lib/Switch/index.vue.d.ts +3 -3
  314. package/lib/Switch/type.d.ts +4 -4
  315. package/lib/Tabs/Tabs.vue.d.ts +1 -1
  316. package/lib/Tabs/hooks/useContext.d.ts +4 -4
  317. package/lib/Tabs/index.d.ts +3 -3
  318. package/lib/Tabs/type.d.ts +2 -3
  319. package/lib/Tag/index.d.ts +3 -3
  320. package/lib/Tag/index.vue.d.ts +1 -1
  321. package/lib/Tag/type.d.ts +1 -2
  322. package/lib/Textarea/type.d.ts +2 -2
  323. package/lib/TimePicker/TimePicker.vue.d.ts +1 -1
  324. package/lib/TimePicker/index.d.ts +3 -3
  325. package/lib/Timeline/TimelineItem.vue.d.ts +1 -1
  326. package/lib/Timeline/index.d.ts +3 -3
  327. package/lib/Timeline/type.d.ts +3 -4
  328. package/lib/Transfer/TransferPanel.vue.js +1 -1
  329. package/lib/Typography/TypographyBase.vue.d.ts +7 -7
  330. package/lib/Typography/TypographyBase.vue.js +1 -1
  331. package/lib/Typography/TypographyParagraph.vue.d.ts +1 -1
  332. package/lib/Typography/TypographyTitle.vue.d.ts +1 -1
  333. package/lib/Typography/type.d.ts +5 -4
  334. package/lib/Upload/Upload.vue.d.ts +53 -0
  335. package/lib/Upload/Upload.vue.js +1 -0
  336. package/lib/Upload/Upload.vue3.js +1 -0
  337. package/lib/Upload/UploadButton.vue.d.ts +2 -0
  338. package/lib/Upload/UploadButton.vue.js +1 -0
  339. package/lib/Upload/UploadButton.vue3.js +1 -0
  340. package/lib/Upload/UploadDrag.vue.d.ts +2 -0
  341. package/lib/Upload/UploadDrag.vue.js +1 -0
  342. package/lib/Upload/UploadDrag.vue3.js +1 -0
  343. package/lib/Upload/UploadFileList.vue.d.ts +24 -0
  344. package/lib/Upload/UploadFileList.vue.js +1 -0
  345. package/lib/Upload/UploadFileList.vue2.js +1 -0
  346. package/lib/Upload/UploadPictureCard.vue.d.ts +4 -0
  347. package/lib/Upload/UploadPictureCard.vue.js +1 -0
  348. package/lib/Upload/UploadPictureCard.vue2.js +1 -0
  349. package/lib/Upload/hooks/useContext.d.ts +49 -0
  350. package/lib/Upload/hooks/useContext.js +1 -0
  351. package/lib/Upload/hooks/useUpload.d.ts +47 -0
  352. package/lib/Upload/hooks/useUpload.js +1 -0
  353. package/lib/Upload/index.css +1 -0
  354. package/lib/Upload/index.d.ts +123 -0
  355. package/lib/Upload/index.js +1 -0
  356. package/lib/Upload/type.d.ts +72 -0
  357. package/lib/VerificationCode/index.d.ts +3 -3
  358. package/lib/VerificationCode/index.vue.d.ts +1 -1
  359. package/lib/VerificationCode/type.d.ts +5 -4
  360. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  361. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  362. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  363. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  364. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  365. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  366. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  367. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  368. package/lib/_shared/icons/IconFile.vue.d.ts +2 -0
  369. package/lib/_shared/icons/IconFile.vue.js +1 -0
  370. package/lib/_shared/icons/IconFile.vue2.js +1 -0
  371. package/lib/_shared/icons/IconUpload.vue.d.ts +2 -0
  372. package/lib/_shared/icons/IconUpload.vue.js +1 -0
  373. package/lib/_shared/icons/IconUpload.vue2.js +1 -0
  374. package/lib/_shared/icons/index.d.ts +2 -0
  375. package/lib/_shared/type/index.d.ts +3 -1
  376. package/lib/_shared/utils/vue-utils.d.ts +1 -1
  377. package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
  378. package/lib/index.d.ts +31 -30
  379. package/lib/index.js +1 -1
  380. package/lib/node_modules/@vueuse/core/index.js +1 -1
  381. package/lib/node_modules/@vueuse/shared/index.js +1 -1
  382. package/lib/style.css +1 -1
  383. package/package.json +1 -1
@@ -10,7 +10,7 @@ declare const Alert: {
10
10
  close: (ev: MouseEvent) => any;
11
11
  "after-close": () => any;
12
12
  }, import('vue').PublicProps, {
13
- type: import('./type').AlertType;
13
+ type: import('..').Type<"normal">;
14
14
  title: string;
15
15
  center: boolean;
16
16
  closable: boolean;
@@ -27,7 +27,7 @@ declare const Alert: {
27
27
  onClose?: ((ev: MouseEvent) => any) | undefined;
28
28
  "onAfter-close"?: (() => any) | undefined;
29
29
  }>, {}, {}, {}, {}, {
30
- type: import('./type').AlertType;
30
+ type: import('..').Type<"normal">;
31
31
  title: string;
32
32
  center: boolean;
33
33
  closable: boolean;
@@ -44,7 +44,7 @@ declare const Alert: {
44
44
  close: (ev: MouseEvent) => any;
45
45
  "after-close": () => any;
46
46
  }, string, {
47
- type: import('./type').AlertType;
47
+ type: import('..').Type<"normal">;
48
48
  title: string;
49
49
  center: boolean;
50
50
  closable: boolean;
@@ -13,7 +13,7 @@ declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {},
13
13
  onClose?: ((ev: MouseEvent) => any) | undefined;
14
14
  "onAfter-close"?: (() => any) | undefined;
15
15
  }>, {
16
- type: import('./type').AlertType;
16
+ type: import('..').Type<"normal">;
17
17
  title: string;
18
18
  center: boolean;
19
19
  closable: boolean;
@@ -1,6 +1,7 @@
1
1
  import { VNode } from 'vue';
2
+ import { Type } from '../_shared/type';
2
3
  export interface AlertProps {
3
- type?: AlertType;
4
+ type?: Type<'normal'>;
4
5
  showIcon?: boolean;
5
6
  closable?: boolean;
6
7
  title?: string;
@@ -18,4 +19,3 @@ export interface AlertSlots {
18
19
  action?: () => VNode[];
19
20
  'close-element'?: () => VNode[];
20
21
  }
21
- export type AlertType = 'success' | 'warning' | 'error' | 'info' | 'normal';
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
11
  declare const __VLS_component: import('vue').DefineComponent<AnchorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AnchorProps> & Readonly<{}>, {
12
12
  smooth: boolean;
13
- boundary: import('./type').AnchorBoundary;
13
+ boundary: number | "center" | "end" | "start" | "nearest";
14
14
  changeHash: boolean;
15
15
  lineLess: boolean;
16
16
  scrollContainer: import('..').TargetContainer;
@@ -14,7 +14,7 @@ export default function useAnchorContext(): {
14
14
  curHref: Ref<string, string>;
15
15
  changeHash: Ref<boolean, boolean>;
16
16
  smooth: Ref<boolean, boolean>;
17
- boundary: Ref<import('..').AnchorBoundary, import('..').AnchorBoundary>;
17
+ boundary: Ref<number | "center" | "end" | "start" | "nearest", number | "center" | "end" | "start" | "nearest">;
18
18
  lineLess: Ref<boolean, boolean>;
19
19
  scrollContainer: import('vue').ComputedRef<HTMLElement | undefined>;
20
20
  };
@@ -7,7 +7,7 @@ export * from './type';
7
7
  declare const Anchor: {
8
8
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').AnchorProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
9
9
  smooth: boolean;
10
- boundary: import('./type').AnchorBoundary;
10
+ boundary: number | "center" | "end" | "start" | "nearest";
11
11
  changeHash: boolean;
12
12
  lineLess: boolean;
13
13
  scrollContainer: import('..').TargetContainer;
@@ -22,7 +22,7 @@ declare const Anchor: {
22
22
  Defaults: {};
23
23
  }, Readonly<import('./type').AnchorProps> & Readonly<{}>, {}, {}, {}, {}, {
24
24
  smooth: boolean;
25
- boundary: import('./type').AnchorBoundary;
25
+ boundary: number | "center" | "end" | "start" | "nearest";
26
26
  changeHash: boolean;
27
27
  lineLess: boolean;
28
28
  scrollContainer: import('..').TargetContainer;
@@ -32,7 +32,7 @@ declare const Anchor: {
32
32
  __isSuspense?: never;
33
33
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').AnchorProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
34
34
  smooth: boolean;
35
- boundary: import('./type').AnchorBoundary;
35
+ boundary: number | "center" | "end" | "start" | "nearest";
36
36
  changeHash: boolean;
37
37
  lineLess: boolean;
38
38
  scrollContainer: import('..').TargetContainer;
@@ -1,7 +1,7 @@
1
1
  import { VNode } from 'vue';
2
2
  import { TargetContainer } from '../_shared/type';
3
3
  export interface AnchorProps {
4
- boundary?: AnchorBoundary;
4
+ boundary?: Boundary;
5
5
  lineLess?: boolean;
6
6
  scrollContainer?: TargetContainer;
7
7
  changeHash?: boolean;
@@ -18,4 +18,5 @@ export interface AnchorLinkSlots {
18
18
  default?: () => VNode[];
19
19
  sublist?: () => VNode[];
20
20
  }
21
- export type AnchorBoundary = 'start' | 'end' | 'center' | 'nearest' | number;
21
+ type Boundary = 'start' | 'end' | 'center' | 'nearest' | number;
22
+ export {};
@@ -360,7 +360,10 @@ declare const AutoComplete: {
360
360
  readonly allowClear?: boolean | undefined;
361
361
  readonly size?: import('..').Size | undefined;
362
362
  readonly maxTagCount?: number | undefined;
363
- readonly retainInputValue?: import('..').InputRetainValue | undefined;
363
+ readonly retainInputValue?: (boolean | {
364
+ create?: boolean;
365
+ blur?: boolean;
366
+ }) | undefined;
364
367
  readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
365
368
  readonly uniqueValue?: boolean | undefined;
366
369
  readonly tagNowrap?: boolean | undefined;
@@ -417,8 +420,8 @@ declare const AutoComplete: {
417
420
  "input-value-change": (value: string, ev: Event) => any;
418
421
  "press-enter": (ev: KeyboardEvent) => any;
419
422
  }, string, {
420
- size: import('..').Size;
421
423
  error: boolean;
424
+ size: import('..').Size;
422
425
  disabled: boolean;
423
426
  placeholder: string;
424
427
  modelValue: import('..').InputTagValue;
@@ -431,7 +434,10 @@ declare const AutoComplete: {
431
434
  allowCreate: boolean;
432
435
  maxTagCount: number;
433
436
  tagNowrap: boolean;
434
- retainInputValue: import('..').InputRetainValue;
437
+ retainInputValue: boolean | {
438
+ create?: boolean;
439
+ blur?: boolean;
440
+ };
435
441
  uniqueValue: boolean;
436
442
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
437
443
  beforeCreate?: (() => void) | (() => void)[];
@@ -454,8 +460,8 @@ declare const AutoComplete: {
454
460
  $nextTick: typeof import('vue').nextTick;
455
461
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
456
462
  } & Readonly<{
457
- size: import('..').Size;
458
463
  error: boolean;
464
+ size: import('..').Size;
459
465
  disabled: boolean;
460
466
  placeholder: string;
461
467
  modelValue: import('..').InputTagValue;
@@ -468,7 +474,10 @@ declare const AutoComplete: {
468
474
  allowCreate: boolean;
469
475
  maxTagCount: number;
470
476
  tagNowrap: boolean;
471
- retainInputValue: import('..').InputRetainValue;
477
+ retainInputValue: boolean | {
478
+ create?: boolean;
479
+ blur?: boolean;
480
+ };
472
481
  uniqueValue: boolean;
473
482
  }> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
474
483
  onClear?: ((ev: MouseEvent) => any) | undefined;
@@ -480,7 +489,7 @@ declare const AutoComplete: {
480
489
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
481
490
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
482
491
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
483
- }>, "blur" | "focus" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
492
+ }>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
484
493
  focus(): void;
485
494
  blur(): void;
486
495
  }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
@@ -528,8 +537,8 @@ declare const AutoComplete: {
528
537
  "dropdown-scroll": (ev: Event) => any;
529
538
  "dropdown-reach-bottom": (ev: Event) => any;
530
539
  }, string, {
531
- size: import('..').Size;
532
540
  error: boolean;
541
+ size: import('..').Size;
533
542
  popupContainer: import('..').PopupContainer;
534
543
  popupVisible: boolean;
535
544
  defaultPopupVisible: boolean;
@@ -581,8 +590,8 @@ declare const AutoComplete: {
581
590
  $nextTick: typeof import('vue').nextTick;
582
591
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
583
592
  } & Readonly<{
584
- size: import('..').Size;
585
593
  error: boolean;
594
+ size: import('..').Size;
586
595
  popupContainer: import('..').PopupContainer;
587
596
  popupVisible: boolean;
588
597
  defaultPopupVisible: boolean;
@@ -627,7 +636,7 @@ declare const AutoComplete: {
627
636
  onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
628
637
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
629
638
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
630
- }>, "blur" | "focus" | ("size" | "error" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
639
+ }>, "blur" | "focus" | ("error" | "size" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
631
640
  focus(): void;
632
641
  blur(): void;
633
642
  getPopupRef(): import('..').TriggerInstance;
@@ -318,7 +318,10 @@ declare function __VLS_template(): {
318
318
  readonly allowClear?: boolean | undefined;
319
319
  readonly size?: import('..').Size | undefined;
320
320
  readonly maxTagCount?: number | undefined;
321
- readonly retainInputValue?: import('..').InputRetainValue | undefined;
321
+ readonly retainInputValue?: (boolean | {
322
+ create?: boolean;
323
+ blur?: boolean;
324
+ }) | undefined;
322
325
  readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
323
326
  readonly uniqueValue?: boolean | undefined;
324
327
  readonly tagNowrap?: boolean | undefined;
@@ -375,8 +378,8 @@ declare function __VLS_template(): {
375
378
  "input-value-change": (value: string, ev: Event) => any;
376
379
  "press-enter": (ev: KeyboardEvent) => any;
377
380
  }, string, {
378
- size: import('..').Size;
379
381
  error: boolean;
382
+ size: import('..').Size;
380
383
  disabled: boolean;
381
384
  placeholder: string;
382
385
  modelValue: import('..').InputTagValue;
@@ -389,7 +392,10 @@ declare function __VLS_template(): {
389
392
  allowCreate: boolean;
390
393
  maxTagCount: number;
391
394
  tagNowrap: boolean;
392
- retainInputValue: import('..').InputRetainValue;
395
+ retainInputValue: boolean | {
396
+ create?: boolean;
397
+ blur?: boolean;
398
+ };
393
399
  uniqueValue: boolean;
394
400
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
395
401
  beforeCreate?: (() => void) | (() => void)[];
@@ -412,8 +418,8 @@ declare function __VLS_template(): {
412
418
  $nextTick: typeof nextTick;
413
419
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
414
420
  } & Readonly<{
415
- size: import('..').Size;
416
421
  error: boolean;
422
+ size: import('..').Size;
417
423
  disabled: boolean;
418
424
  placeholder: string;
419
425
  modelValue: import('..').InputTagValue;
@@ -426,7 +432,10 @@ declare function __VLS_template(): {
426
432
  allowCreate: boolean;
427
433
  maxTagCount: number;
428
434
  tagNowrap: boolean;
429
- retainInputValue: import('..').InputRetainValue;
435
+ retainInputValue: boolean | {
436
+ create?: boolean;
437
+ blur?: boolean;
438
+ };
430
439
  uniqueValue: boolean;
431
440
  }> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
432
441
  onClear?: ((ev: MouseEvent) => any) | undefined;
@@ -438,7 +447,7 @@ declare function __VLS_template(): {
438
447
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
439
448
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
440
449
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
441
- }>, "blur" | "focus" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
450
+ }>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
442
451
  focus(): void;
443
452
  blur(): void;
444
453
  }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
@@ -486,8 +495,8 @@ declare function __VLS_template(): {
486
495
  "dropdown-scroll": (ev: Event) => any;
487
496
  "dropdown-reach-bottom": (ev: Event) => any;
488
497
  }, string, {
489
- size: import('..').Size;
490
498
  error: boolean;
499
+ size: import('..').Size;
491
500
  popupContainer: import('..').PopupContainer;
492
501
  popupVisible: boolean;
493
502
  defaultPopupVisible: boolean;
@@ -539,8 +548,8 @@ declare function __VLS_template(): {
539
548
  $nextTick: typeof nextTick;
540
549
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
541
550
  } & Readonly<{
542
- size: import('..').Size;
543
551
  error: boolean;
552
+ size: import('..').Size;
544
553
  popupContainer: import('..').PopupContainer;
545
554
  popupVisible: boolean;
546
555
  defaultPopupVisible: boolean;
@@ -585,7 +594,7 @@ declare function __VLS_template(): {
585
594
  onExceedLimit?: ((value: import('../Select').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
586
595
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
587
596
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
588
- }>, "blur" | "focus" | ("size" | "error" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
597
+ }>, "blur" | "focus" | ("error" | "size" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
589
598
  focus(): void;
590
599
  blur(): void;
591
600
  getPopupRef(): import('..').TriggerInstance;
@@ -1028,7 +1037,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1028
1037
  readonly allowClear?: boolean | undefined;
1029
1038
  readonly size?: import('..').Size | undefined;
1030
1039
  readonly maxTagCount?: number | undefined;
1031
- readonly retainInputValue?: import('..').InputRetainValue | undefined;
1040
+ readonly retainInputValue?: (boolean | {
1041
+ create?: boolean;
1042
+ blur?: boolean;
1043
+ }) | undefined;
1032
1044
  readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
1033
1045
  readonly uniqueValue?: boolean | undefined;
1034
1046
  readonly tagNowrap?: boolean | undefined;
@@ -1085,8 +1097,8 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1085
1097
  "input-value-change": (value: string, ev: Event) => any;
1086
1098
  "press-enter": (ev: KeyboardEvent) => any;
1087
1099
  }, string, {
1088
- size: import('..').Size;
1089
1100
  error: boolean;
1101
+ size: import('..').Size;
1090
1102
  disabled: boolean;
1091
1103
  placeholder: string;
1092
1104
  modelValue: import('..').InputTagValue;
@@ -1099,7 +1111,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1099
1111
  allowCreate: boolean;
1100
1112
  maxTagCount: number;
1101
1113
  tagNowrap: boolean;
1102
- retainInputValue: import('..').InputRetainValue;
1114
+ retainInputValue: boolean | {
1115
+ create?: boolean;
1116
+ blur?: boolean;
1117
+ };
1103
1118
  uniqueValue: boolean;
1104
1119
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1105
1120
  beforeCreate?: (() => void) | (() => void)[];
@@ -1122,8 +1137,8 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1122
1137
  $nextTick: typeof nextTick;
1123
1138
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1124
1139
  } & Readonly<{
1125
- size: import('..').Size;
1126
1140
  error: boolean;
1141
+ size: import('..').Size;
1127
1142
  disabled: boolean;
1128
1143
  placeholder: string;
1129
1144
  modelValue: import('..').InputTagValue;
@@ -1136,7 +1151,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1136
1151
  allowCreate: boolean;
1137
1152
  maxTagCount: number;
1138
1153
  tagNowrap: boolean;
1139
- retainInputValue: import('..').InputRetainValue;
1154
+ retainInputValue: boolean | {
1155
+ create?: boolean;
1156
+ blur?: boolean;
1157
+ };
1140
1158
  uniqueValue: boolean;
1141
1159
  }> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
1142
1160
  onClear?: ((ev: MouseEvent) => any) | undefined;
@@ -1148,7 +1166,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1148
1166
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
1149
1167
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
1150
1168
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
1151
- }>, "blur" | "focus" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
1169
+ }>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
1152
1170
  focus(): void;
1153
1171
  blur(): void;
1154
1172
  }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
@@ -1196,8 +1214,8 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1196
1214
  "dropdown-scroll": (ev: Event) => any;
1197
1215
  "dropdown-reach-bottom": (ev: Event) => any;
1198
1216
  }, string, {
1199
- size: import('..').Size;
1200
1217
  error: boolean;
1218
+ size: import('..').Size;
1201
1219
  popupContainer: import('..').PopupContainer;
1202
1220
  popupVisible: boolean;
1203
1221
  defaultPopupVisible: boolean;
@@ -1249,8 +1267,8 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1249
1267
  $nextTick: typeof nextTick;
1250
1268
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1251
1269
  } & Readonly<{
1252
- size: import('..').Size;
1253
1270
  error: boolean;
1271
+ size: import('..').Size;
1254
1272
  popupContainer: import('..').PopupContainer;
1255
1273
  popupVisible: boolean;
1256
1274
  defaultPopupVisible: boolean;
@@ -1295,7 +1313,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1295
1313
  onExceedLimit?: ((value: import('../Select').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
1296
1314
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
1297
1315
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
1298
- }>, "blur" | "focus" | ("size" | "error" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
1316
+ }>, "blur" | "focus" | ("error" | "size" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
1299
1317
  focus(): void;
1300
1318
  blur(): void;
1301
1319
  getPopupRef(): import('..').TriggerInstance;
@@ -23,7 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<AvatarProps, {}, {}
23
23
  shape: import('./type').AvatarShape;
24
24
  autoFixFontSize: boolean;
25
25
  imageUrl: string;
26
- triggerType: import('./type').AvatarTriggerType;
26
+ triggerType: "button" | "mask";
27
27
  triggerIconStyle: import('vue').CSSProperties;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
29
29
  avatarRef: HTMLDivElement;
@@ -19,7 +19,7 @@ declare const Avatar: {
19
19
  shape: import('./type').AvatarShape;
20
20
  autoFixFontSize: boolean;
21
21
  imageUrl: string;
22
- triggerType: import('./type').AvatarTriggerType;
22
+ triggerType: "button" | "mask";
23
23
  triggerIconStyle: import('vue').CSSProperties;
24
24
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
25
25
  avatarRef: HTMLDivElement;
@@ -41,7 +41,7 @@ declare const Avatar: {
41
41
  shape: import('./type').AvatarShape;
42
42
  autoFixFontSize: boolean;
43
43
  imageUrl: string;
44
- triggerType: import('./type').AvatarTriggerType;
44
+ triggerType: "button" | "mask";
45
45
  triggerIconStyle: import('vue').CSSProperties;
46
46
  }>;
47
47
  __isFragment?: never;
@@ -61,7 +61,7 @@ declare const Avatar: {
61
61
  shape: import('./type').AvatarShape;
62
62
  autoFixFontSize: boolean;
63
63
  imageUrl: string;
64
- triggerType: import('./type').AvatarTriggerType;
64
+ triggerType: "button" | "mask";
65
65
  triggerIconStyle: import('vue').CSSProperties;
66
66
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
67
67
  $slots: any;
@@ -6,7 +6,7 @@ export interface AvatarProps {
6
6
  imageUrl?: string;
7
7
  size?: number;
8
8
  autoFixFontSize?: boolean;
9
- triggerType?: AvatarTriggerType;
9
+ triggerType?: TriggerType;
10
10
  triggerIconStyle?: CSSProperties;
11
11
  objectFit?: ObjectFit;
12
12
  }
@@ -32,4 +32,5 @@ export interface AvatarGroupSlots {
32
32
  default?: () => VNode[];
33
33
  }
34
34
  export type AvatarShape = Exclude<Shape, 'circle'>;
35
- export type AvatarTriggerType = 'mask' | 'button';
35
+ type TriggerType = 'mask' | 'button';
36
+ export {};
@@ -9,7 +9,7 @@ declare const Badge: {
9
9
  dot: boolean;
10
10
  offset: number[];
11
11
  maxCount: number;
12
- status: import('./type').BadgeStatus;
12
+ status: import('..').Status<"processing">;
13
13
  dotStyle: import('vue').CSSProperties;
14
14
  count: number;
15
15
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -25,7 +25,7 @@ declare const Badge: {
25
25
  dot: boolean;
26
26
  offset: number[];
27
27
  maxCount: number;
28
- status: import('./type').BadgeStatus;
28
+ status: import('..').Status<"processing">;
29
29
  dotStyle: import('vue').CSSProperties;
30
30
  count: number;
31
31
  }>;
@@ -38,7 +38,7 @@ declare const Badge: {
38
38
  dot: boolean;
39
39
  offset: number[];
40
40
  maxCount: number;
41
- status: import('./type').BadgeStatus;
41
+ status: import('..').Status<"processing">;
42
42
  dotStyle: import('vue').CSSProperties;
43
43
  count: number;
44
44
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -12,7 +12,7 @@ declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {},
12
12
  dot: boolean;
13
13
  offset: number[];
14
14
  maxCount: number;
15
- status: import('./type').BadgeStatus;
15
+ status: import('..').Status<"processing">;
16
16
  dotStyle: import('vue').CSSProperties;
17
17
  count: number;
18
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -1,4 +1,5 @@
1
1
  import { CSSProperties, VNode } from 'vue';
2
+ import { Status } from '../_shared/type';
2
3
  export interface BadgeProps {
3
4
  text?: string;
4
5
  dot?: boolean;
@@ -6,11 +7,10 @@ export interface BadgeProps {
6
7
  maxCount?: number;
7
8
  offset?: number[];
8
9
  color?: string;
9
- status?: BadgeStatus;
10
+ status?: Status<'processing'>;
10
11
  count?: number;
11
12
  }
12
13
  export interface BadgeSlots {
13
14
  default?: () => VNode[];
14
15
  content?: () => VNode[];
15
16
  }
16
- export type BadgeStatus = 'success' | 'warning' | 'danger' | 'normal' | 'processing';
@@ -25,9 +25,9 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
25
25
  loading: boolean;
26
26
  href: string;
27
27
  shape: import('..').Shape;
28
- status: import('./type').ButtonStatus;
28
+ status: import('..').Status;
29
29
  long: boolean;
30
- htmlType: import('./type').ButtonHtmlType;
30
+ htmlType: "button" | "reset" | "submit";
31
31
  autofocus: boolean;
32
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -11,7 +11,7 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonGroupProps, {
11
11
  type: import('./type').ButtonType;
12
12
  disabled: boolean;
13
13
  shape: import('..').Shape;
14
- status: import('./type').ButtonStatus;
14
+ status: import('..').Status;
15
15
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
17
  export default _default;
@@ -1,11 +1,11 @@
1
- import { ButtonType, ButtonStatus } from '../type';
2
- import { Size, Shape, RecordType } from '../../_shared/type';
1
+ import { ButtonType } from '../type';
2
+ import { Size, Shape, Status, RecordType } from '../../_shared/type';
3
3
  export default function useButtonContext(): {
4
4
  provide: (props: RecordType) => void;
5
5
  inject: (props: RecordType) => {
6
6
  disabled: import('vue').ComputedRef<boolean>;
7
7
  type: import('vue').ComputedRef<ButtonType>;
8
- status: import('vue').ComputedRef<ButtonStatus>;
8
+ status: import('vue').ComputedRef<Status>;
9
9
  shape: import('vue').ComputedRef<Shape>;
10
10
  size: import('vue').ComputedRef<Size>;
11
11
  };
@@ -24,9 +24,9 @@ declare const Button: {
24
24
  loading: boolean;
25
25
  href: string;
26
26
  shape: import('..').Shape;
27
- status: import('./type').ButtonStatus;
27
+ status: import('..').Status;
28
28
  long: boolean;
29
- htmlType: import('./type').ButtonHtmlType;
29
+ htmlType: "button" | "reset" | "submit";
30
30
  autofocus: boolean;
31
31
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
32
32
  P: {};
@@ -48,9 +48,9 @@ declare const Button: {
48
48
  loading: boolean;
49
49
  href: string;
50
50
  shape: import('..').Shape;
51
- status: import('./type').ButtonStatus;
51
+ status: import('..').Status;
52
52
  long: boolean;
53
- htmlType: import('./type').ButtonHtmlType;
53
+ htmlType: "button" | "reset" | "submit";
54
54
  autofocus: boolean;
55
55
  }>;
56
56
  __isFragment?: never;
@@ -75,9 +75,9 @@ declare const Button: {
75
75
  loading: boolean;
76
76
  href: string;
77
77
  shape: import('..').Shape;
78
- status: import('./type').ButtonStatus;
78
+ status: import('..').Status;
79
79
  long: boolean;
80
- htmlType: import('./type').ButtonHtmlType;
80
+ htmlType: "button" | "reset" | "submit";
81
81
  autofocus: boolean;
82
82
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
83
83
  $slots: any;
@@ -88,7 +88,7 @@ declare const Button: {
88
88
  type: import('./type').ButtonType;
89
89
  disabled: boolean;
90
90
  shape: import('..').Shape;
91
- status: import('./type').ButtonStatus;
91
+ status: import('..').Status;
92
92
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
93
93
  P: {};
94
94
  B: {};
@@ -101,7 +101,7 @@ declare const Button: {
101
101
  type: import('./type').ButtonType;
102
102
  disabled: boolean;
103
103
  shape: import('..').Shape;
104
- status: import('./type').ButtonStatus;
104
+ status: import('..').Status;
105
105
  }>;
106
106
  __isFragment?: never;
107
107
  __isTeleport?: never;
@@ -111,7 +111,7 @@ declare const Button: {
111
111
  type: import('./type').ButtonType;
112
112
  disabled: boolean;
113
113
  shape: import('..').Shape;
114
- status: import('./type').ButtonStatus;
114
+ status: import('..').Status;
115
115
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
116
116
  $slots: Readonly<import('./type').ButtonGroupSlots> & import('./type').ButtonGroupSlots;
117
117
  });