vant 3.4.1 → 3.4.2

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 (555) hide show
  1. package/es/action-bar/ActionBar.d.ts +6 -5
  2. package/es/action-bar/index.css +1 -1
  3. package/es/action-bar/index.d.ts +6 -5
  4. package/es/action-bar-button/ActionBarButton.d.ts +11 -21
  5. package/es/action-bar-button/index.css +1 -1
  6. package/es/action-bar-button/index.d.ts +11 -21
  7. package/es/action-bar-icon/ActionBarIcon.d.ts +16 -84
  8. package/es/action-bar-icon/index.css +1 -1
  9. package/es/action-bar-icon/index.d.ts +14 -64
  10. package/es/action-sheet/ActionSheet.d.ts +54 -47
  11. package/es/action-sheet/index.css +1 -1
  12. package/es/action-sheet/index.d.ts +54 -47
  13. package/es/address-edit/AddressEdit.d.ts +48 -48
  14. package/es/address-edit/AddressEditDetail.d.ts +10 -20
  15. package/es/address-edit/index.css +1 -1
  16. package/es/address-edit/index.d.ts +48 -48
  17. package/es/address-list/AddressList.d.ts +18 -18
  18. package/es/address-list/AddressListItem.d.ts +9 -12
  19. package/es/address-list/index.css +1 -1
  20. package/es/address-list/index.d.ts +18 -18
  21. package/es/address-list/index.less +1 -1
  22. package/es/area/Area.d.ts +41 -33
  23. package/es/area/index.d.ts +41 -33
  24. package/es/badge/Badge.d.ts +19 -20
  25. package/es/badge/index.css +1 -1
  26. package/es/badge/index.d.ts +19 -20
  27. package/es/button/Button.d.ts +39 -47
  28. package/es/button/index.css +1 -1
  29. package/es/button/index.d.ts +39 -47
  30. package/es/calendar/Calendar.d.ts +85 -62
  31. package/es/calendar/Calendar.js +6 -1
  32. package/es/calendar/CalendarDay.d.ts +13 -14
  33. package/es/calendar/CalendarHeader.d.ts +7 -14
  34. package/es/calendar/CalendarMonth.d.ts +25 -32
  35. package/es/calendar/index.css +1 -1
  36. package/es/calendar/index.d.ts +85 -62
  37. package/es/card/Card.d.ts +16 -26
  38. package/es/card/index.css +1 -1
  39. package/es/card/index.d.ts +16 -26
  40. package/es/cascader/Cascader.d.ts +36 -22
  41. package/es/cascader/Cascader.js +3 -2
  42. package/es/cascader/index.css +1 -1
  43. package/es/cascader/index.d.ts +32 -22
  44. package/es/cell/Cell.d.ts +27 -41
  45. package/es/cell/index.css +1 -1
  46. package/es/cell/index.d.ts +27 -41
  47. package/es/cell-group/CellGroup.d.ts +8 -10
  48. package/es/cell-group/index.css +1 -1
  49. package/es/cell-group/index.d.ts +8 -10
  50. package/es/checkbox/Checkbox.d.ts +17 -21
  51. package/es/checkbox/Checker.d.ts +24 -29
  52. package/es/checkbox/index.css +1 -1
  53. package/es/checkbox/index.d.ts +17 -21
  54. package/es/checkbox-group/CheckboxGroup.d.ts +11 -16
  55. package/es/checkbox-group/index.css +1 -1
  56. package/es/checkbox-group/index.d.ts +11 -16
  57. package/es/circle/Circle.d.ts +35 -28
  58. package/es/circle/index.css +1 -1
  59. package/es/circle/index.d.ts +35 -28
  60. package/es/col/Col.d.ts +11 -10
  61. package/es/col/index.css +1 -1
  62. package/es/col/index.d.ts +11 -10
  63. package/es/collapse/Collapse.d.ts +11 -9
  64. package/es/collapse/index.d.ts +11 -9
  65. package/es/collapse-item/CollapseItem.d.ts +31 -41
  66. package/es/collapse-item/index.css +1 -1
  67. package/es/collapse-item/index.d.ts +31 -41
  68. package/es/composables/use-height.js +6 -2
  69. package/es/config-provider/ConfigProvider.d.ts +8 -10
  70. package/es/config-provider/index.d.ts +8 -10
  71. package/es/contact-card/ContactCard.d.ts +13 -14
  72. package/es/contact-card/index.css +1 -1
  73. package/es/contact-card/index.d.ts +13 -14
  74. package/es/contact-edit/ContactEdit.d.ts +15 -18
  75. package/es/contact-edit/index.css +1 -1
  76. package/es/contact-edit/index.d.ts +15 -18
  77. package/es/contact-list/ContactList.d.ts +6 -11
  78. package/es/contact-list/index.css +1 -1
  79. package/es/contact-list/index.d.ts +6 -11
  80. package/es/count-down/CountDown.d.ts +15 -11
  81. package/es/count-down/index.css +1 -1
  82. package/es/count-down/index.d.ts +15 -11
  83. package/es/coupon/Coupon.d.ts +12 -11
  84. package/es/coupon/index.css +1 -1
  85. package/es/coupon/index.d.ts +12 -11
  86. package/es/coupon-cell/CouponCell.d.ts +23 -16
  87. package/es/coupon-cell/index.css +1 -1
  88. package/es/coupon-cell/index.d.ts +23 -16
  89. package/es/coupon-list/CouponList.d.ts +53 -40
  90. package/es/coupon-list/index.css +1 -1
  91. package/es/coupon-list/index.d.ts +53 -40
  92. package/es/datetime-picker/DatePicker.d.ts +45 -36
  93. package/es/datetime-picker/TimePicker.d.ts +47 -38
  94. package/es/dialog/Dialog.d.ts +52 -59
  95. package/es/dialog/function-call.d.ts +52 -59
  96. package/es/dialog/index.css +1 -1
  97. package/es/divider/Divider.d.ts +11 -9
  98. package/es/divider/index.css +1 -1
  99. package/es/divider/index.d.ts +11 -9
  100. package/es/dropdown-item/DropdownItem.d.ts +15 -18
  101. package/es/dropdown-item/index.css +1 -1
  102. package/es/dropdown-item/index.d.ts +15 -18
  103. package/es/dropdown-menu/DropdownMenu.d.ts +24 -18
  104. package/es/dropdown-menu/index.css +1 -1
  105. package/es/dropdown-menu/index.d.ts +24 -18
  106. package/es/empty/Empty.d.ts +8 -10
  107. package/es/empty/index.css +1 -1
  108. package/es/empty/index.d.ts +8 -10
  109. package/es/field/Field.d.ts +80 -90
  110. package/es/field/index.css +1 -1
  111. package/es/field/index.d.ts +80 -90
  112. package/es/form/Form.d.ts +24 -30
  113. package/es/form/index.d.ts +24 -30
  114. package/es/grid/Grid.d.ts +20 -22
  115. package/es/grid/index.css +1 -1
  116. package/es/grid/index.d.ts +20 -22
  117. package/es/grid-item/GridItem.d.ts +15 -82
  118. package/es/grid-item/index.css +1 -1
  119. package/es/grid-item/index.d.ts +13 -62
  120. package/es/icon/Icon.d.ts +16 -79
  121. package/es/icon/index.css +1 -1
  122. package/es/icon/index.d.ts +14 -59
  123. package/es/image/Image.d.ts +32 -32
  124. package/es/image/Image.js +13 -4
  125. package/es/image/index.css +1 -1
  126. package/es/image/index.d.ts +30 -32
  127. package/es/image-preview/ImagePreview.d.ts +54 -42
  128. package/es/image-preview/ImagePreviewItem.d.ts +21 -18
  129. package/es/image-preview/ImagePreviewItem.js +12 -4
  130. package/es/image-preview/function-call.d.ts +54 -42
  131. package/es/image-preview/index.css +1 -1
  132. package/es/index-anchor/IndexAnchor.d.ts +3 -5
  133. package/es/index-anchor/index.css +1 -1
  134. package/es/index-anchor/index.d.ts +3 -5
  135. package/es/index-bar/IndexBar.d.ts +17 -16
  136. package/es/index-bar/index.css +1 -1
  137. package/es/index-bar/index.d.ts +17 -16
  138. package/es/index.d.ts +1 -1
  139. package/es/index.js +1 -1
  140. package/es/list/List.d.ts +20 -22
  141. package/es/list/index.css +1 -1
  142. package/es/list/index.d.ts +20 -22
  143. package/es/loading/Loading.d.ts +11 -16
  144. package/es/loading/index.css +1 -1
  145. package/es/loading/index.d.ts +11 -16
  146. package/es/nav-bar/NavBar.d.ts +14 -22
  147. package/es/nav-bar/index.css +1 -1
  148. package/es/nav-bar/index.d.ts +14 -22
  149. package/es/notice-bar/NoticeBar.d.ts +20 -22
  150. package/es/notice-bar/index.css +1 -1
  151. package/es/notice-bar/index.d.ts +20 -22
  152. package/es/notify/Notify.d.ts +39 -39
  153. package/es/notify/function-call.d.ts +39 -39
  154. package/es/notify/index.css +1 -1
  155. package/es/number-keyboard/NumberKeyboard.d.ts +46 -38
  156. package/es/number-keyboard/NumberKeyboardKey.d.ts +8 -16
  157. package/es/number-keyboard/index.css +1 -1
  158. package/es/number-keyboard/index.d.ts +46 -38
  159. package/es/overlay/Overlay.d.ts +24 -16
  160. package/es/overlay/Overlay.js +2 -1
  161. package/es/overlay/index.css +1 -1
  162. package/es/overlay/index.d.ts +20 -16
  163. package/es/pagination/Pagination.d.ts +29 -22
  164. package/es/pagination/index.css +1 -1
  165. package/es/pagination/index.d.ts +29 -22
  166. package/es/password-input/PasswordInput.d.ts +18 -18
  167. package/es/password-input/index.css +1 -1
  168. package/es/password-input/index.d.ts +18 -18
  169. package/es/picker/Picker.d.ts +38 -33
  170. package/es/picker/PickerColumn.d.ts +29 -22
  171. package/es/picker/index.css +1 -1
  172. package/es/picker/index.d.ts +38 -33
  173. package/es/popover/Popover.d.ts +48 -36
  174. package/es/popover/index.css +1 -1
  175. package/es/popover/index.d.ts +48 -36
  176. package/es/popup/Popup.d.ts +44 -45
  177. package/es/popup/index.css +1 -1
  178. package/es/popup/index.d.ts +44 -45
  179. package/es/progress/Progress.d.ts +18 -22
  180. package/es/progress/index.css +1 -1
  181. package/es/progress/index.d.ts +18 -22
  182. package/es/pull-refresh/PullRefresh.d.ts +21 -24
  183. package/es/pull-refresh/index.css +1 -1
  184. package/es/pull-refresh/index.d.ts +21 -24
  185. package/es/radio/Radio.d.ts +13 -20
  186. package/es/radio/index.css +1 -1
  187. package/es/radio/index.d.ts +13 -20
  188. package/es/radio-group/RadioGroup.d.ts +7 -14
  189. package/es/radio-group/index.css +1 -1
  190. package/es/radio-group/index.d.ts +7 -14
  191. package/es/rate/Rate.d.ts +31 -32
  192. package/es/rate/index.css +1 -1
  193. package/es/rate/index.d.ts +31 -32
  194. package/es/row/Row.d.ts +16 -14
  195. package/es/row/index.css +1 -1
  196. package/es/row/index.d.ts +16 -14
  197. package/es/search/Search.d.ts +58 -51
  198. package/es/search/index.css +1 -1
  199. package/es/search/index.d.ts +58 -51
  200. package/es/share-sheet/ShareSheet.d.ts +45 -41
  201. package/es/share-sheet/index.css +1 -1
  202. package/es/share-sheet/index.d.ts +45 -41
  203. package/es/sidebar/Sidebar.d.ts +6 -5
  204. package/es/sidebar/index.css +1 -1
  205. package/es/sidebar/index.d.ts +6 -5
  206. package/es/sidebar-item/SidebarItem.d.ts +13 -78
  207. package/es/sidebar-item/index.css +1 -1
  208. package/es/sidebar-item/index.d.ts +11 -58
  209. package/es/skeleton/Skeleton.d.ts +27 -24
  210. package/es/skeleton/Skeleton.js +1 -1
  211. package/es/skeleton/index.css +1 -1
  212. package/es/skeleton/index.d.ts +27 -24
  213. package/es/slider/Slider.d.ts +27 -30
  214. package/es/slider/index.css +1 -1
  215. package/es/slider/index.d.ts +27 -30
  216. package/es/step/Step.d.ts +1 -1
  217. package/es/step/index.css +1 -1
  218. package/es/step/index.d.ts +1 -1
  219. package/es/stepper/Stepper.d.ts +51 -48
  220. package/es/stepper/index.css +1 -1
  221. package/es/stepper/index.d.ts +51 -48
  222. package/es/steps/Steps.d.ts +19 -20
  223. package/es/steps/index.css +1 -1
  224. package/es/steps/index.d.ts +19 -20
  225. package/es/sticky/Sticky.d.ts +16 -14
  226. package/es/sticky/index.css +1 -1
  227. package/es/sticky/index.d.ts +16 -14
  228. package/es/style/animation.css +1 -1
  229. package/es/style/base.css +1 -1
  230. package/es/style/css-variables.css +1 -1
  231. package/es/style/normalize.css +1 -1
  232. package/es/submit-bar/SubmitBar.d.ts +28 -32
  233. package/es/submit-bar/index.css +1 -1
  234. package/es/submit-bar/index.d.ts +28 -32
  235. package/es/swipe/Swipe.d.ts +35 -28
  236. package/es/swipe/index.css +1 -1
  237. package/es/swipe/index.d.ts +35 -28
  238. package/es/swipe-cell/SwipeCell.d.ts +11 -16
  239. package/es/swipe-cell/index.css +1 -1
  240. package/es/swipe-cell/index.d.ts +11 -16
  241. package/es/swipe-item/SwipeItem.d.ts +1 -1
  242. package/es/swipe-item/index.css +1 -1
  243. package/es/swipe-item/index.d.ts +1 -1
  244. package/es/switch/Switch.d.ts +16 -20
  245. package/es/switch/index.css +1 -1
  246. package/es/switch/index.d.ts +16 -20
  247. package/es/tab/Tab.d.ts +16 -25
  248. package/es/tab/index.css +1 -1
  249. package/es/tab/index.d.ts +16 -25
  250. package/es/tabbar/Tabbar.d.ts +24 -24
  251. package/es/tabbar/index.css +1 -1
  252. package/es/tabbar/index.d.ts +24 -24
  253. package/es/tabbar-item/TabbarItem.d.ts +14 -80
  254. package/es/tabbar-item/index.css +1 -1
  255. package/es/tabbar-item/index.d.ts +12 -60
  256. package/es/tabs/Tabs.d.ts +43 -44
  257. package/es/tabs/TabsContent.d.ts +18 -17
  258. package/es/tabs/TabsTitle.d.ts +19 -32
  259. package/es/tabs/index.css +1 -1
  260. package/es/tabs/index.d.ts +43 -44
  261. package/es/tag/Tag.d.ts +17 -22
  262. package/es/tag/index.css +1 -1
  263. package/es/tag/index.d.ts +17 -22
  264. package/es/toast/Toast.d.ts +31 -38
  265. package/es/toast/index.css +1 -1
  266. package/es/tree-select/TreeSelect.d.ts +26 -15
  267. package/es/tree-select/index.css +1 -1
  268. package/es/tree-select/index.d.ts +26 -15
  269. package/es/uploader/Uploader.d.ts +61 -50
  270. package/es/uploader/UploaderPreviewItem.d.ts +13 -20
  271. package/es/uploader/index.css +1 -1
  272. package/es/uploader/index.d.ts +61 -50
  273. package/lib/action-bar/ActionBar.d.ts +6 -5
  274. package/lib/action-bar/index.css +1 -1
  275. package/lib/action-bar/index.d.ts +6 -5
  276. package/lib/action-bar-button/ActionBarButton.d.ts +11 -21
  277. package/lib/action-bar-button/index.css +1 -1
  278. package/lib/action-bar-button/index.d.ts +11 -21
  279. package/lib/action-bar-icon/ActionBarIcon.d.ts +16 -84
  280. package/lib/action-bar-icon/index.css +1 -1
  281. package/lib/action-bar-icon/index.d.ts +14 -64
  282. package/lib/action-sheet/ActionSheet.d.ts +54 -47
  283. package/lib/action-sheet/index.css +1 -1
  284. package/lib/action-sheet/index.d.ts +54 -47
  285. package/lib/address-edit/AddressEdit.d.ts +48 -48
  286. package/lib/address-edit/AddressEditDetail.d.ts +10 -20
  287. package/lib/address-edit/index.css +1 -1
  288. package/lib/address-edit/index.d.ts +48 -48
  289. package/lib/address-list/AddressList.d.ts +18 -18
  290. package/lib/address-list/AddressListItem.d.ts +9 -12
  291. package/lib/address-list/index.css +1 -1
  292. package/lib/address-list/index.d.ts +18 -18
  293. package/lib/address-list/index.less +1 -1
  294. package/lib/area/Area.d.ts +41 -33
  295. package/lib/area/index.d.ts +41 -33
  296. package/lib/badge/Badge.d.ts +19 -20
  297. package/lib/badge/index.css +1 -1
  298. package/lib/badge/index.d.ts +19 -20
  299. package/lib/button/Button.d.ts +39 -47
  300. package/lib/button/index.css +1 -1
  301. package/lib/button/index.d.ts +39 -47
  302. package/lib/calendar/Calendar.d.ts +85 -62
  303. package/lib/calendar/Calendar.js +6 -1
  304. package/lib/calendar/CalendarDay.d.ts +13 -14
  305. package/lib/calendar/CalendarHeader.d.ts +7 -14
  306. package/lib/calendar/CalendarMonth.d.ts +25 -32
  307. package/lib/calendar/index.css +1 -1
  308. package/lib/calendar/index.d.ts +85 -62
  309. package/lib/card/Card.d.ts +16 -26
  310. package/lib/card/index.css +1 -1
  311. package/lib/card/index.d.ts +16 -26
  312. package/lib/cascader/Cascader.d.ts +36 -22
  313. package/lib/cascader/Cascader.js +3 -2
  314. package/lib/cascader/index.css +1 -1
  315. package/lib/cascader/index.d.ts +32 -22
  316. package/lib/cell/Cell.d.ts +27 -41
  317. package/lib/cell/index.css +1 -1
  318. package/lib/cell/index.d.ts +27 -41
  319. package/lib/cell-group/CellGroup.d.ts +8 -10
  320. package/lib/cell-group/index.css +1 -1
  321. package/lib/cell-group/index.d.ts +8 -10
  322. package/lib/checkbox/Checkbox.d.ts +17 -21
  323. package/lib/checkbox/Checker.d.ts +24 -29
  324. package/lib/checkbox/index.css +1 -1
  325. package/lib/checkbox/index.d.ts +17 -21
  326. package/lib/checkbox-group/CheckboxGroup.d.ts +11 -16
  327. package/lib/checkbox-group/index.css +1 -1
  328. package/lib/checkbox-group/index.d.ts +11 -16
  329. package/lib/circle/Circle.d.ts +35 -28
  330. package/lib/circle/index.css +1 -1
  331. package/lib/circle/index.d.ts +35 -28
  332. package/lib/col/Col.d.ts +11 -10
  333. package/lib/col/index.css +1 -1
  334. package/lib/col/index.d.ts +11 -10
  335. package/lib/collapse/Collapse.d.ts +11 -9
  336. package/lib/collapse/index.d.ts +11 -9
  337. package/lib/collapse-item/CollapseItem.d.ts +31 -41
  338. package/lib/collapse-item/index.css +1 -1
  339. package/lib/collapse-item/index.d.ts +31 -41
  340. package/lib/composables/use-height.js +6 -2
  341. package/lib/config-provider/ConfigProvider.d.ts +8 -10
  342. package/lib/config-provider/index.d.ts +8 -10
  343. package/lib/contact-card/ContactCard.d.ts +13 -14
  344. package/lib/contact-card/index.css +1 -1
  345. package/lib/contact-card/index.d.ts +13 -14
  346. package/lib/contact-edit/ContactEdit.d.ts +15 -18
  347. package/lib/contact-edit/index.css +1 -1
  348. package/lib/contact-edit/index.d.ts +15 -18
  349. package/lib/contact-list/ContactList.d.ts +6 -11
  350. package/lib/contact-list/index.css +1 -1
  351. package/lib/contact-list/index.d.ts +6 -11
  352. package/lib/count-down/CountDown.d.ts +15 -11
  353. package/lib/count-down/index.css +1 -1
  354. package/lib/count-down/index.d.ts +15 -11
  355. package/lib/coupon/Coupon.d.ts +12 -11
  356. package/lib/coupon/index.css +1 -1
  357. package/lib/coupon/index.d.ts +12 -11
  358. package/lib/coupon-cell/CouponCell.d.ts +23 -16
  359. package/lib/coupon-cell/index.css +1 -1
  360. package/lib/coupon-cell/index.d.ts +23 -16
  361. package/lib/coupon-list/CouponList.d.ts +53 -40
  362. package/lib/coupon-list/index.css +1 -1
  363. package/lib/coupon-list/index.d.ts +53 -40
  364. package/lib/datetime-picker/DatePicker.d.ts +45 -36
  365. package/lib/datetime-picker/TimePicker.d.ts +47 -38
  366. package/lib/dialog/Dialog.d.ts +52 -59
  367. package/lib/dialog/function-call.d.ts +52 -59
  368. package/lib/dialog/index.css +1 -1
  369. package/lib/divider/Divider.d.ts +11 -9
  370. package/lib/divider/index.css +1 -1
  371. package/lib/divider/index.d.ts +11 -9
  372. package/lib/dropdown-item/DropdownItem.d.ts +15 -18
  373. package/lib/dropdown-item/index.css +1 -1
  374. package/lib/dropdown-item/index.d.ts +15 -18
  375. package/lib/dropdown-menu/DropdownMenu.d.ts +24 -18
  376. package/lib/dropdown-menu/index.css +1 -1
  377. package/lib/dropdown-menu/index.d.ts +24 -18
  378. package/lib/empty/Empty.d.ts +8 -10
  379. package/lib/empty/index.css +1 -1
  380. package/lib/empty/index.d.ts +8 -10
  381. package/lib/field/Field.d.ts +80 -90
  382. package/lib/field/index.css +1 -1
  383. package/lib/field/index.d.ts +80 -90
  384. package/lib/form/Form.d.ts +24 -30
  385. package/lib/form/index.d.ts +24 -30
  386. package/lib/grid/Grid.d.ts +20 -22
  387. package/lib/grid/index.css +1 -1
  388. package/lib/grid/index.d.ts +20 -22
  389. package/lib/grid-item/GridItem.d.ts +15 -82
  390. package/lib/grid-item/index.css +1 -1
  391. package/lib/grid-item/index.d.ts +13 -62
  392. package/lib/icon/Icon.d.ts +16 -79
  393. package/lib/icon/index.css +1 -1
  394. package/lib/icon/index.d.ts +14 -59
  395. package/lib/image/Image.d.ts +32 -32
  396. package/lib/image/Image.js +12 -3
  397. package/lib/image/index.css +1 -1
  398. package/lib/image/index.d.ts +30 -32
  399. package/lib/image-preview/ImagePreview.d.ts +54 -42
  400. package/lib/image-preview/ImagePreviewItem.d.ts +21 -18
  401. package/lib/image-preview/ImagePreviewItem.js +12 -4
  402. package/lib/image-preview/function-call.d.ts +54 -42
  403. package/lib/image-preview/index.css +1 -1
  404. package/lib/index-anchor/IndexAnchor.d.ts +3 -5
  405. package/lib/index-anchor/index.css +1 -1
  406. package/lib/index-anchor/index.d.ts +3 -5
  407. package/lib/index-bar/IndexBar.d.ts +17 -16
  408. package/lib/index-bar/index.css +1 -1
  409. package/lib/index-bar/index.d.ts +17 -16
  410. package/lib/index.css +1 -1
  411. package/lib/index.d.ts +1 -1
  412. package/lib/index.js +1 -1
  413. package/lib/list/List.d.ts +20 -22
  414. package/lib/list/index.css +1 -1
  415. package/lib/list/index.d.ts +20 -22
  416. package/lib/loading/Loading.d.ts +11 -16
  417. package/lib/loading/index.css +1 -1
  418. package/lib/loading/index.d.ts +11 -16
  419. package/lib/nav-bar/NavBar.d.ts +14 -22
  420. package/lib/nav-bar/index.css +1 -1
  421. package/lib/nav-bar/index.d.ts +14 -22
  422. package/lib/notice-bar/NoticeBar.d.ts +20 -22
  423. package/lib/notice-bar/index.css +1 -1
  424. package/lib/notice-bar/index.d.ts +20 -22
  425. package/lib/notify/Notify.d.ts +39 -39
  426. package/lib/notify/function-call.d.ts +39 -39
  427. package/lib/notify/index.css +1 -1
  428. package/lib/number-keyboard/NumberKeyboard.d.ts +46 -38
  429. package/lib/number-keyboard/NumberKeyboardKey.d.ts +8 -16
  430. package/lib/number-keyboard/index.css +1 -1
  431. package/lib/number-keyboard/index.d.ts +46 -38
  432. package/lib/overlay/Overlay.d.ts +24 -16
  433. package/lib/overlay/Overlay.js +2 -1
  434. package/lib/overlay/index.css +1 -1
  435. package/lib/overlay/index.d.ts +20 -16
  436. package/lib/pagination/Pagination.d.ts +29 -22
  437. package/lib/pagination/index.css +1 -1
  438. package/lib/pagination/index.d.ts +29 -22
  439. package/lib/password-input/PasswordInput.d.ts +18 -18
  440. package/lib/password-input/index.css +1 -1
  441. package/lib/password-input/index.d.ts +18 -18
  442. package/lib/picker/Picker.d.ts +38 -33
  443. package/lib/picker/PickerColumn.d.ts +29 -22
  444. package/lib/picker/index.css +1 -1
  445. package/lib/picker/index.d.ts +38 -33
  446. package/lib/popover/Popover.d.ts +48 -36
  447. package/lib/popover/index.css +1 -1
  448. package/lib/popover/index.d.ts +48 -36
  449. package/lib/popup/Popup.d.ts +44 -45
  450. package/lib/popup/index.css +1 -1
  451. package/lib/popup/index.d.ts +44 -45
  452. package/lib/progress/Progress.d.ts +18 -22
  453. package/lib/progress/index.css +1 -1
  454. package/lib/progress/index.d.ts +18 -22
  455. package/lib/pull-refresh/PullRefresh.d.ts +21 -24
  456. package/lib/pull-refresh/index.css +1 -1
  457. package/lib/pull-refresh/index.d.ts +21 -24
  458. package/lib/radio/Radio.d.ts +13 -20
  459. package/lib/radio/index.css +1 -1
  460. package/lib/radio/index.d.ts +13 -20
  461. package/lib/radio-group/RadioGroup.d.ts +7 -14
  462. package/lib/radio-group/index.css +1 -1
  463. package/lib/radio-group/index.d.ts +7 -14
  464. package/lib/rate/Rate.d.ts +31 -32
  465. package/lib/rate/index.css +1 -1
  466. package/lib/rate/index.d.ts +31 -32
  467. package/lib/row/Row.d.ts +16 -14
  468. package/lib/row/index.css +1 -1
  469. package/lib/row/index.d.ts +16 -14
  470. package/lib/search/Search.d.ts +58 -51
  471. package/lib/search/index.css +1 -1
  472. package/lib/search/index.d.ts +58 -51
  473. package/lib/share-sheet/ShareSheet.d.ts +45 -41
  474. package/lib/share-sheet/index.css +1 -1
  475. package/lib/share-sheet/index.d.ts +45 -41
  476. package/lib/sidebar/Sidebar.d.ts +6 -5
  477. package/lib/sidebar/index.css +1 -1
  478. package/lib/sidebar/index.d.ts +6 -5
  479. package/lib/sidebar-item/SidebarItem.d.ts +13 -78
  480. package/lib/sidebar-item/index.css +1 -1
  481. package/lib/sidebar-item/index.d.ts +11 -58
  482. package/lib/skeleton/Skeleton.d.ts +27 -24
  483. package/lib/skeleton/Skeleton.js +1 -1
  484. package/lib/skeleton/index.css +1 -1
  485. package/lib/skeleton/index.d.ts +27 -24
  486. package/lib/slider/Slider.d.ts +27 -30
  487. package/lib/slider/index.css +1 -1
  488. package/lib/slider/index.d.ts +27 -30
  489. package/lib/step/Step.d.ts +1 -1
  490. package/lib/step/index.css +1 -1
  491. package/lib/step/index.d.ts +1 -1
  492. package/lib/stepper/Stepper.d.ts +51 -48
  493. package/lib/stepper/index.css +1 -1
  494. package/lib/stepper/index.d.ts +51 -48
  495. package/lib/steps/Steps.d.ts +19 -20
  496. package/lib/steps/index.css +1 -1
  497. package/lib/steps/index.d.ts +19 -20
  498. package/lib/sticky/Sticky.d.ts +16 -14
  499. package/lib/sticky/index.css +1 -1
  500. package/lib/sticky/index.d.ts +16 -14
  501. package/lib/style/animation.css +1 -1
  502. package/lib/style/base.css +1 -1
  503. package/lib/style/css-variables.css +1 -1
  504. package/lib/style/normalize.css +1 -1
  505. package/lib/submit-bar/SubmitBar.d.ts +28 -32
  506. package/lib/submit-bar/index.css +1 -1
  507. package/lib/submit-bar/index.d.ts +28 -32
  508. package/lib/swipe/Swipe.d.ts +35 -28
  509. package/lib/swipe/index.css +1 -1
  510. package/lib/swipe/index.d.ts +35 -28
  511. package/lib/swipe-cell/SwipeCell.d.ts +11 -16
  512. package/lib/swipe-cell/index.css +1 -1
  513. package/lib/swipe-cell/index.d.ts +11 -16
  514. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  515. package/lib/swipe-item/index.css +1 -1
  516. package/lib/swipe-item/index.d.ts +1 -1
  517. package/lib/switch/Switch.d.ts +16 -20
  518. package/lib/switch/index.css +1 -1
  519. package/lib/switch/index.d.ts +16 -20
  520. package/lib/tab/Tab.d.ts +16 -25
  521. package/lib/tab/index.css +1 -1
  522. package/lib/tab/index.d.ts +16 -25
  523. package/lib/tabbar/Tabbar.d.ts +24 -24
  524. package/lib/tabbar/index.css +1 -1
  525. package/lib/tabbar/index.d.ts +24 -24
  526. package/lib/tabbar-item/TabbarItem.d.ts +14 -80
  527. package/lib/tabbar-item/index.css +1 -1
  528. package/lib/tabbar-item/index.d.ts +12 -60
  529. package/lib/tabs/Tabs.d.ts +43 -44
  530. package/lib/tabs/TabsContent.d.ts +18 -17
  531. package/lib/tabs/TabsTitle.d.ts +19 -32
  532. package/lib/tabs/index.css +1 -1
  533. package/lib/tabs/index.d.ts +43 -44
  534. package/lib/tag/Tag.d.ts +17 -22
  535. package/lib/tag/index.css +1 -1
  536. package/lib/tag/index.d.ts +17 -22
  537. package/lib/toast/Toast.d.ts +31 -38
  538. package/lib/toast/index.css +1 -1
  539. package/lib/tree-select/TreeSelect.d.ts +26 -15
  540. package/lib/tree-select/index.css +1 -1
  541. package/lib/tree-select/index.d.ts +26 -15
  542. package/lib/uploader/Uploader.d.ts +61 -50
  543. package/lib/uploader/UploaderPreviewItem.d.ts +13 -20
  544. package/lib/uploader/index.css +1 -1
  545. package/lib/uploader/index.d.ts +61 -50
  546. package/lib/vant.cjs.js +43 -15
  547. package/lib/vant.cjs.min.js +1 -1
  548. package/lib/vant.es.js +43 -15
  549. package/lib/vant.es.min.js +43 -15
  550. package/lib/vant.js +43 -15
  551. package/lib/vant.min.js +1 -1
  552. package/package.json +3 -3
  553. package/vetur/attributes.json +939 -939
  554. package/vetur/tags.json +31 -31
  555. package/vetur/web-types.json +1511 -1511
@@ -33,34 +33,41 @@ export declare const Swipe: import("../utils").WithInstall<import("vue").DefineC
33
33
  type: BooleanConstructor;
34
34
  default: true;
35
35
  };
36
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
37
- loop?: unknown;
38
- width?: unknown;
39
- height?: unknown;
40
- vertical?: unknown;
41
- autoplay?: unknown;
42
- duration?: unknown;
43
- touchable?: unknown;
44
- lazyRender?: unknown;
45
- initialSwipe?: unknown;
46
- indicatorColor?: unknown;
47
- showIndicators?: unknown;
48
- stopPropagation?: unknown;
49
- } & {
50
- autoplay: string | number;
51
- loop: boolean;
52
- vertical: boolean;
53
- duration: string | number;
54
- lazyRender: boolean;
55
- touchable: boolean;
56
- initialSwipe: string | number;
57
- showIndicators: boolean;
58
- stopPropagation: boolean;
59
- } & {
60
- width?: string | number | undefined;
61
- height?: string | number | undefined;
62
- indicatorColor?: string | undefined;
63
- }> & {
36
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ loop: {
38
+ type: BooleanConstructor;
39
+ default: true;
40
+ };
41
+ width: (NumberConstructor | StringConstructor)[];
42
+ height: (NumberConstructor | StringConstructor)[];
43
+ vertical: BooleanConstructor;
44
+ autoplay: {
45
+ type: (NumberConstructor | StringConstructor)[];
46
+ default: number;
47
+ };
48
+ duration: {
49
+ type: (NumberConstructor | StringConstructor)[];
50
+ default: number;
51
+ };
52
+ touchable: {
53
+ type: BooleanConstructor;
54
+ default: true;
55
+ };
56
+ lazyRender: BooleanConstructor;
57
+ initialSwipe: {
58
+ type: (NumberConstructor | StringConstructor)[];
59
+ default: number;
60
+ };
61
+ indicatorColor: StringConstructor;
62
+ showIndicators: {
63
+ type: BooleanConstructor;
64
+ default: true;
65
+ };
66
+ stopPropagation: {
67
+ type: BooleanConstructor;
68
+ default: true;
69
+ };
70
+ }>> & {
64
71
  onChange?: ((...args: any[]) => any) | undefined;
65
72
  }, {
66
73
  autoplay: string | number;
@@ -22,22 +22,17 @@ declare const _default: import("vue").DefineComponent<{
22
22
  rightWidth: (NumberConstructor | StringConstructor)[];
23
23
  beforeClose: PropType<Interceptor>;
24
24
  stopPropagation: BooleanConstructor;
25
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
26
- name?: unknown;
27
- disabled?: unknown;
28
- leftWidth?: unknown;
29
- rightWidth?: unknown;
30
- beforeClose?: unknown;
31
- stopPropagation?: unknown;
32
- } & {
33
- name: string | number;
34
- disabled: boolean;
35
- stopPropagation: boolean;
36
- } & {
37
- beforeClose?: Interceptor | undefined;
38
- leftWidth?: string | number | undefined;
39
- rightWidth?: string | number | undefined;
40
- }> & {
25
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
26
+ name: {
27
+ type: (NumberConstructor | StringConstructor)[];
28
+ default: string;
29
+ };
30
+ disabled: BooleanConstructor;
31
+ leftWidth: (NumberConstructor | StringConstructor)[];
32
+ rightWidth: (NumberConstructor | StringConstructor)[];
33
+ beforeClose: PropType<Interceptor>;
34
+ stopPropagation: BooleanConstructor;
35
+ }>> & {
41
36
  onClick?: ((...args: any[]) => any) | undefined;
42
37
  onOpen?: ((...args: any[]) => any) | undefined;
43
38
  onClose?: ((...args: any[]) => any) | undefined;
@@ -1 +1 @@
1
- .van-swipe-cell{position:relative;overflow:hidden;cursor:-webkit-grab;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(0.18,0.89,0.32,1);transition-property:transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)}
1
+ .van-swipe-cell{position:relative;overflow:hidden;cursor:-webkit-grab;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-property:transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;transform:translate(-100%)}.van-swipe-cell__right{right:0;transform:translate(100%)}
@@ -9,22 +9,17 @@ export declare const SwipeCell: import("../utils").WithInstall<import("vue").Def
9
9
  rightWidth: (NumberConstructor | StringConstructor)[];
10
10
  beforeClose: import("vue").PropType<import("../utils").Interceptor>;
11
11
  stopPropagation: BooleanConstructor;
12
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
13
- name?: unknown;
14
- disabled?: unknown;
15
- leftWidth?: unknown;
16
- rightWidth?: unknown;
17
- beforeClose?: unknown;
18
- stopPropagation?: unknown;
19
- } & {
20
- name: string | number;
21
- disabled: boolean;
22
- stopPropagation: boolean;
23
- } & {
24
- beforeClose?: import("../utils").Interceptor | undefined;
25
- leftWidth?: string | number | undefined;
26
- rightWidth?: string | number | undefined;
27
- }> & {
12
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ name: {
14
+ type: (NumberConstructor | StringConstructor)[];
15
+ default: string;
16
+ };
17
+ disabled: BooleanConstructor;
18
+ leftWidth: (NumberConstructor | StringConstructor)[];
19
+ rightWidth: (NumberConstructor | StringConstructor)[];
20
+ beforeClose: import("vue").PropType<import("../utils").Interceptor>;
21
+ stopPropagation: BooleanConstructor;
22
+ }>> & {
28
23
  onClick?: ((...args: any[]) => any) | undefined;
29
24
  onOpen?: ((...args: any[]) => any) | undefined;
30
25
  onClose?: ((...args: any[]) => any) | undefined;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
2
  export default _default;
@@ -1 +1 @@
1
- .van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}
1
+ .van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}
@@ -1,4 +1,4 @@
1
- export declare const SwipeItem: import("../utils").WithInstall<import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>>;
1
+ export declare const SwipeItem: import("../utils").WithInstall<import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
2
2
  export default SwipeItem;
3
3
  declare module 'vue' {
4
4
  interface GlobalComponents {
@@ -31,26 +31,22 @@ declare const _default: import("vue").DefineComponent<{
31
31
  type: import("vue").PropType<unknown>;
32
32
  default: unknown;
33
33
  };
34
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
35
- size?: unknown;
36
- loading?: unknown;
37
- disabled?: unknown;
38
- modelValue?: unknown;
39
- activeColor?: unknown;
40
- inactiveColor?: unknown;
41
- activeValue?: unknown;
42
- inactiveValue?: unknown;
43
- } & {
44
- disabled: boolean;
45
- loading: boolean;
46
- activeValue: unknown;
47
- inactiveValue: unknown;
48
- } & {
49
- size?: string | number | undefined;
50
- modelValue?: unknown;
51
- activeColor?: string | undefined;
52
- inactiveColor?: string | undefined;
53
- }> & {
34
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
35
+ size: (NumberConstructor | StringConstructor)[];
36
+ loading: BooleanConstructor;
37
+ disabled: BooleanConstructor;
38
+ modelValue: import("vue").PropType<unknown>;
39
+ activeColor: StringConstructor;
40
+ inactiveColor: StringConstructor;
41
+ activeValue: {
42
+ type: import("vue").PropType<unknown>;
43
+ default: unknown;
44
+ };
45
+ inactiveValue: {
46
+ type: import("vue").PropType<unknown>;
47
+ default: unknown;
48
+ };
49
+ }>> & {
54
50
  onChange?: ((...args: any[]) => any) | undefined;
55
51
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
52
  }, {
@@ -1 +1 @@
1
- :root{--van-switch-size:30px;--van-switch-width:2em;--van-switch-height:1em;--van-switch-node-size:1em;--van-switch-node-background-color:var(--van-white);--van-switch-node-box-shadow:0 3px 1px 0 rgba(0, 0, 0, 0.05),0 2px 2px 0 rgba(0, 0, 0, 0.1),0 3px 3px 0 rgba(0, 0, 0, 0.05);--van-switch-background-color:var(--van-background-color-light);--van-switch-on-background-color:var(--van-primary-color);--van-switch-transition-duration:var(--van-animation-duration-base);--van-switch-disabled-opacity:var(--van-disabled-opacity);--van-switch-border:var(--van-border-width-base) solid rgba(0, 0, 0, 0.1)}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:var(--van-switch-width);height:var(--van-switch-height);font-size:var(--van-switch-size);background:var(--van-switch-background-color);border:var(--van-switch-border);border-radius:var(--van-switch-node-size);cursor:pointer;transition:background-color var(--van-switch-transition-duration)}.van-switch__node{position:absolute;top:0;left:0;width:var(--van-switch-node-size);height:var(--van-switch-node-size);font-size:inherit;background:var(--van-switch-node-background-color);border-radius:100%;box-shadow:var(--van-switch-node-box-shadow);transition:transform var(--van-switch-transition-duration) cubic-bezier(.3, 1.05, .4, 1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background:var(--van-switch-on-background-color)}.van-switch--on .van-switch__node{transform:translateX(calc(var(--van-switch-width) - var(--van-switch-node-size)))}.van-switch--on .van-switch__loading{color:var(--van-switch-on-background-color)}.van-switch--disabled{cursor:not-allowed;opacity:var(--van-switch-disabled-opacity)}.van-switch--loading{cursor:default}
1
+ :root{--van-switch-size: 30px;--van-switch-width: 2em;--van-switch-height: 1em;--van-switch-node-size: 1em;--van-switch-node-background-color: var(--van-white);--van-switch-node-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, .05), 0 2px 2px 0 rgba(0, 0, 0, .1), 0 3px 3px 0 rgba(0, 0, 0, .05);--van-switch-background-color: var(--van-background-color-light);--van-switch-on-background-color: var(--van-primary-color);--van-switch-transition-duration: var(--van-animation-duration-base);--van-switch-disabled-opacity: var(--van-disabled-opacity);--van-switch-border: var(--van-border-width-base) solid rgba(0, 0, 0, .1)}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:var(--van-switch-width);height:var(--van-switch-height);font-size:var(--van-switch-size);background:var(--van-switch-background-color);border:var(--van-switch-border);border-radius:var(--van-switch-node-size);cursor:pointer;transition:background-color var(--van-switch-transition-duration)}.van-switch__node{position:absolute;top:0;left:0;width:var(--van-switch-node-size);height:var(--van-switch-node-size);font-size:inherit;background:var(--van-switch-node-background-color);border-radius:100%;box-shadow:var(--van-switch-node-box-shadow);transition:transform var(--van-switch-transition-duration) cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background:var(--van-switch-on-background-color)}.van-switch--on .van-switch__node{transform:translate(calc(var(--van-switch-width) - var(--van-switch-node-size)))}.van-switch--on .van-switch__loading{color:var(--van-switch-on-background-color)}.van-switch--disabled{cursor:not-allowed;opacity:var(--van-switch-disabled-opacity)}.van-switch--loading{cursor:default}
@@ -13,26 +13,22 @@ export declare const Switch: import("../utils").WithInstall<import("vue").Define
13
13
  type: import("vue").PropType<unknown>;
14
14
  default: unknown;
15
15
  };
16
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
17
- size?: unknown;
18
- loading?: unknown;
19
- disabled?: unknown;
20
- modelValue?: unknown;
21
- activeColor?: unknown;
22
- inactiveColor?: unknown;
23
- activeValue?: unknown;
24
- inactiveValue?: unknown;
25
- } & {
26
- disabled: boolean;
27
- loading: boolean;
28
- activeValue: unknown;
29
- inactiveValue: unknown;
30
- } & {
31
- size?: string | number | undefined;
32
- modelValue?: unknown;
33
- activeColor?: string | undefined;
34
- inactiveColor?: string | undefined;
35
- }> & {
16
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ size: (NumberConstructor | StringConstructor)[];
18
+ loading: BooleanConstructor;
19
+ disabled: BooleanConstructor;
20
+ modelValue: import("vue").PropType<unknown>;
21
+ activeColor: StringConstructor;
22
+ inactiveColor: StringConstructor;
23
+ activeValue: {
24
+ type: import("vue").PropType<unknown>;
25
+ default: unknown;
26
+ };
27
+ inactiveValue: {
28
+ type: import("vue").PropType<unknown>;
29
+ default: unknown;
30
+ };
31
+ }>> & {
36
32
  onChange?: ((...args: any[]) => any) | undefined;
37
33
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
34
  }, {
package/lib/tab/Tab.d.ts CHANGED
@@ -33,32 +33,23 @@ declare const _default: import("vue").DefineComponent<{
33
33
  type: BooleanConstructor;
34
34
  default: true;
35
35
  };
36
- }, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
37
- to?: unknown;
38
- url?: unknown;
39
- replace?: unknown;
40
- dot?: unknown;
41
- name?: unknown;
42
- badge?: unknown;
43
- title?: unknown;
44
- disabled?: unknown;
45
- titleClass?: unknown;
46
- titleStyle?: unknown;
47
- showZeroBadge?: unknown;
48
- } & {
49
- replace: boolean;
50
- dot: boolean;
51
- disabled: boolean;
52
- showZeroBadge: boolean;
36
+ }, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
37
+ to: PropType<import("vue-router").RouteLocationRaw>;
38
+ url: StringConstructor;
39
+ replace: BooleanConstructor;
53
40
  } & {
54
- url?: string | undefined;
55
- to?: import("vue-router").RouteLocationRaw | undefined;
56
- name?: string | number | undefined;
57
- badge?: string | number | undefined;
58
- title?: string | undefined;
59
- titleClass?: unknown;
60
- titleStyle?: string | CSSProperties | undefined;
61
- }>, {
41
+ dot: BooleanConstructor;
42
+ name: (NumberConstructor | StringConstructor)[];
43
+ badge: (NumberConstructor | StringConstructor)[];
44
+ title: StringConstructor;
45
+ disabled: BooleanConstructor;
46
+ titleClass: PropType<unknown>;
47
+ titleStyle: PropType<string | CSSProperties>;
48
+ showZeroBadge: {
49
+ type: BooleanConstructor;
50
+ default: true;
51
+ };
52
+ }>>, {
62
53
  replace: boolean;
63
54
  dot: boolean;
64
55
  disabled: boolean;
package/lib/tab/index.css CHANGED
@@ -1 +1 @@
1
- .van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}
1
+ .van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}
@@ -14,32 +14,23 @@ export declare const Tab: import("../utils").WithInstall<import("vue").DefineCom
14
14
  type: BooleanConstructor;
15
15
  default: true;
16
16
  };
17
- }, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
18
- to?: unknown;
19
- url?: unknown;
20
- replace?: unknown;
21
- dot?: unknown;
22
- name?: unknown;
23
- badge?: unknown;
24
- title?: unknown;
25
- disabled?: unknown;
26
- titleClass?: unknown;
27
- titleStyle?: unknown;
28
- showZeroBadge?: unknown;
29
- } & {
30
- replace: boolean;
31
- dot: boolean;
32
- disabled: boolean;
33
- showZeroBadge: boolean;
17
+ }, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
19
+ url: StringConstructor;
20
+ replace: BooleanConstructor;
34
21
  } & {
35
- url?: string | undefined;
36
- to?: import("vue-router").RouteLocationRaw | undefined;
37
- name?: string | number | undefined;
38
- badge?: string | number | undefined;
39
- title?: string | undefined;
40
- titleClass?: unknown;
41
- titleStyle?: string | import("vue").CSSProperties | undefined;
42
- }>, {
22
+ dot: BooleanConstructor;
23
+ name: (NumberConstructor | StringConstructor)[];
24
+ badge: (NumberConstructor | StringConstructor)[];
25
+ title: StringConstructor;
26
+ disabled: BooleanConstructor;
27
+ titleClass: import("vue").PropType<unknown>;
28
+ titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
29
+ showZeroBadge: {
30
+ type: BooleanConstructor;
31
+ default: true;
32
+ };
33
+ }>>, {
43
34
  replace: boolean;
44
35
  dot: boolean;
45
36
  disabled: boolean;
@@ -53,30 +53,30 @@ declare const _default: import("vue").DefineComponent<{
53
53
  type: PropType<boolean | null>;
54
54
  default: null;
55
55
  };
56
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
57
- route?: unknown;
58
- fixed?: unknown;
59
- border?: unknown;
60
- zIndex?: unknown;
61
- placeholder?: unknown;
62
- activeColor?: unknown;
63
- beforeChange?: unknown;
64
- inactiveColor?: unknown;
65
- modelValue?: unknown;
66
- safeAreaInsetBottom?: unknown;
67
- } & {
68
- fixed: boolean;
69
- border: boolean;
70
- modelValue: string | number;
71
- placeholder: boolean;
72
- safeAreaInsetBottom: boolean | null;
73
- route: boolean;
74
- } & {
75
- zIndex?: string | number | undefined;
76
- activeColor?: string | undefined;
77
- inactiveColor?: string | undefined;
78
- beforeChange?: Interceptor | undefined;
79
- }> & {
56
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
57
+ route: BooleanConstructor;
58
+ fixed: {
59
+ type: BooleanConstructor;
60
+ default: true;
61
+ };
62
+ border: {
63
+ type: BooleanConstructor;
64
+ default: true;
65
+ };
66
+ zIndex: (NumberConstructor | StringConstructor)[];
67
+ placeholder: BooleanConstructor;
68
+ activeColor: StringConstructor;
69
+ beforeChange: PropType<Interceptor>;
70
+ inactiveColor: StringConstructor;
71
+ modelValue: {
72
+ type: (NumberConstructor | StringConstructor)[];
73
+ default: number;
74
+ };
75
+ safeAreaInsetBottom: {
76
+ type: PropType<boolean | null>;
77
+ default: null;
78
+ };
79
+ }>> & {
80
80
  onChange?: ((...args: any[]) => any) | undefined;
81
81
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
82
82
  }, {
@@ -1 +1 @@
1
- :root{--van-tabbar-height:50px;--van-tabbar-z-index:1;--van-tabbar-background-color:var(--van-background-color-light)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background-color)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}
1
+ :root{--van-tabbar-height: 50px;--van-tabbar-z-index: 1;--van-tabbar-background-color: var(--van-background-color-light)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background-color)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}
@@ -21,30 +21,30 @@ export declare const Tabbar: import("../utils").WithInstall<import("vue").Define
21
21
  type: import("vue").PropType<boolean | null>;
22
22
  default: null;
23
23
  };
24
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
25
- route?: unknown;
26
- fixed?: unknown;
27
- border?: unknown;
28
- zIndex?: unknown;
29
- placeholder?: unknown;
30
- activeColor?: unknown;
31
- beforeChange?: unknown;
32
- inactiveColor?: unknown;
33
- modelValue?: unknown;
34
- safeAreaInsetBottom?: unknown;
35
- } & {
36
- fixed: boolean;
37
- border: boolean;
38
- modelValue: string | number;
39
- placeholder: boolean;
40
- safeAreaInsetBottom: boolean | null;
41
- route: boolean;
42
- } & {
43
- zIndex?: string | number | undefined;
44
- activeColor?: string | undefined;
45
- inactiveColor?: string | undefined;
46
- beforeChange?: import("../utils").Interceptor | undefined;
47
- }> & {
24
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ route: BooleanConstructor;
26
+ fixed: {
27
+ type: BooleanConstructor;
28
+ default: true;
29
+ };
30
+ border: {
31
+ type: BooleanConstructor;
32
+ default: true;
33
+ };
34
+ zIndex: (NumberConstructor | StringConstructor)[];
35
+ placeholder: BooleanConstructor;
36
+ activeColor: StringConstructor;
37
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
38
+ inactiveColor: StringConstructor;
39
+ modelValue: {
40
+ type: (NumberConstructor | StringConstructor)[];
41
+ default: number;
42
+ };
43
+ safeAreaInsetBottom: {
44
+ type: import("vue").PropType<boolean | null>;
45
+ default: null;
46
+ };
47
+ }>> & {
48
48
  onChange?: ((...args: any[]) => any) | undefined;
49
49
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
50
50
  }, {
@@ -1,4 +1,5 @@
1
1
  import { type PropType, type ExtractPropTypes } from 'vue';
2
+ import { type BadgeProps } from '../badge';
2
3
  declare const tabbarItemProps: {
3
4
  to: PropType<import("vue-router").RouteLocationRaw>;
4
5
  url: StringConstructor;
@@ -8,26 +9,7 @@ declare const tabbarItemProps: {
8
9
  icon: StringConstructor;
9
10
  name: (NumberConstructor | StringConstructor)[];
10
11
  badge: (NumberConstructor | StringConstructor)[];
11
- badgeProps: PropType<Partial<{
12
- dot?: unknown;
13
- max?: unknown;
14
- tag?: unknown;
15
- color?: unknown;
16
- offset?: unknown;
17
- content?: unknown;
18
- showZero?: unknown;
19
- position?: unknown;
20
- } & {
21
- dot: boolean;
22
- tag: keyof HTMLElementTagNameMap;
23
- showZero: boolean;
24
- position: import("../badge").BadgePosition;
25
- } & {
26
- color?: string | undefined;
27
- max?: string | number | undefined;
28
- offset?: [string | number, string | number] | undefined;
29
- content?: string | number | undefined;
30
- }>>;
12
+ badgeProps: PropType<Partial<BadgeProps>>;
31
13
  iconPrefix: StringConstructor;
32
14
  };
33
15
  export declare type TabbarItemProps = ExtractPropTypes<typeof tabbarItemProps>;
@@ -40,68 +22,20 @@ declare const _default: import("vue").DefineComponent<{
40
22
  icon: StringConstructor;
41
23
  name: (NumberConstructor | StringConstructor)[];
42
24
  badge: (NumberConstructor | StringConstructor)[];
43
- badgeProps: PropType<Partial<{
44
- dot?: unknown;
45
- max?: unknown;
46
- tag?: unknown;
47
- color?: unknown;
48
- offset?: unknown;
49
- content?: unknown;
50
- showZero?: unknown;
51
- position?: unknown;
52
- } & {
53
- dot: boolean;
54
- tag: keyof HTMLElementTagNameMap;
55
- showZero: boolean;
56
- position: import("../badge").BadgePosition;
57
- } & {
58
- color?: string | undefined;
59
- max?: string | number | undefined;
60
- offset?: [string | number, string | number] | undefined;
61
- content?: string | number | undefined;
62
- }>>;
25
+ badgeProps: PropType<Partial<BadgeProps>>;
63
26
  iconPrefix: StringConstructor;
64
- }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
65
- to?: unknown;
66
- url?: unknown;
67
- replace?: unknown;
68
- dot?: unknown;
69
- icon?: unknown;
70
- name?: unknown;
71
- badge?: unknown;
72
- badgeProps?: unknown;
73
- iconPrefix?: unknown;
74
- } & {
75
- replace: boolean;
76
- dot: boolean;
27
+ }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
28
+ to: PropType<import("vue-router").RouteLocationRaw>;
29
+ url: StringConstructor;
30
+ replace: BooleanConstructor;
77
31
  } & {
78
- url?: string | undefined;
79
- to?: import("vue-router").RouteLocationRaw | undefined;
80
- name?: string | number | undefined;
81
- badge?: string | number | undefined;
82
- iconPrefix?: string | undefined;
83
- icon?: string | undefined;
84
- badgeProps?: Partial<{
85
- dot?: unknown;
86
- max?: unknown;
87
- tag?: unknown;
88
- color?: unknown;
89
- offset?: unknown;
90
- content?: unknown;
91
- showZero?: unknown;
92
- position?: unknown;
93
- } & {
94
- dot: boolean;
95
- tag: keyof HTMLElementTagNameMap;
96
- showZero: boolean;
97
- position: import("../badge").BadgePosition;
98
- } & {
99
- color?: string | undefined;
100
- max?: string | number | undefined;
101
- offset?: [string | number, string | number] | undefined;
102
- content?: string | number | undefined;
103
- }> | undefined;
104
- }> & {
32
+ dot: BooleanConstructor;
33
+ icon: StringConstructor;
34
+ name: (NumberConstructor | StringConstructor)[];
35
+ badge: (NumberConstructor | StringConstructor)[];
36
+ badgeProps: PropType<Partial<BadgeProps>>;
37
+ iconPrefix: StringConstructor;
38
+ }>> & {
105
39
  onClick?: ((...args: any[]) => any) | undefined;
106
40
  }, {
107
41
  replace: boolean;
@@ -1 +1 @@
1
- :root{--van-tabbar-item-font-size:var(--van-font-size-sm);--van-tabbar-item-text-color:var(--van-gray-7);--van-tabbar-item-active-color:var(--van-primary-color);--van-tabbar-item-active-background-color:var(--van-background-color-light);--van-tabbar-item-line-height:1;--van-tabbar-item-icon-size:22px;--van-tabbar-item-icon-margin-bottom:var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background-color)}
1
+ :root{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-gray-7);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background-color: var(--van-background-color-light);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: 22px;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background-color)}