vant 3.4.6 → 3.4.9

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 (475) hide show
  1. package/README.md +141 -0
  2. package/changelog.generated.md +44 -65
  3. package/es/address-list/AddressListItem.d.ts +3 -2
  4. package/es/address-list/AddressListItem.js +1 -1
  5. package/es/badge/Badge.d.ts +4 -3
  6. package/es/badge/index.d.ts +2 -2
  7. package/es/calendar/Calendar.js +1 -1
  8. package/es/calendar/CalendarDay.js +4 -0
  9. package/es/calendar/index.css +1 -1
  10. package/es/calendar/index.less +2 -0
  11. package/es/calendar/types.d.ts +2 -1
  12. package/es/calendar/var.less +1 -0
  13. package/es/cascader/types.d.ts +2 -1
  14. package/es/checkbox/Checker.d.ts +2 -1
  15. package/es/collapse/Collapse.d.ts +7 -6
  16. package/es/collapse/index.d.ts +3 -3
  17. package/es/composables/use-touch.js +1 -1
  18. package/es/config-provider/ConfigProvider.d.ts +4 -3
  19. package/es/config-provider/index.d.ts +2 -2
  20. package/es/contact-list/ContactList.d.ts +3 -2
  21. package/es/coupon/Coupon.d.ts +2 -1
  22. package/es/coupon-list/CouponList.d.ts +3 -13
  23. package/es/coupon-list/CouponList.js +9 -7
  24. package/es/coupon-list/index.css +1 -1
  25. package/es/coupon-list/index.d.ts +2 -9
  26. package/es/coupon-list/index.less +4 -16
  27. package/es/coupon-list/style/index.js +1 -0
  28. package/es/coupon-list/style/less.js +1 -0
  29. package/es/coupon-list/var.less +0 -1
  30. package/es/datetime-picker/DatePicker.js +2 -2
  31. package/es/dialog/index.css +1 -1
  32. package/es/dialog/types.d.ts +2 -2
  33. package/es/dropdown-item/types.d.ts +2 -1
  34. package/es/empty/Empty.d.ts +8 -7
  35. package/es/empty/Empty.js +12 -15
  36. package/es/empty/Images.d.ts +4 -0
  37. package/es/empty/Images.js +271 -0
  38. package/es/empty/index.d.ts +2 -2
  39. package/es/field/Field.d.ts +4 -0
  40. package/es/field/Field.js +8 -3
  41. package/es/field/index.d.ts +2 -0
  42. package/es/field/types.d.ts +1 -1
  43. package/es/form/Form.d.ts +13 -13
  44. package/es/form/Form.js +7 -3
  45. package/es/form/index.d.ts +9 -9
  46. package/es/form/types.d.ts +1 -0
  47. package/es/icon/index.css +1 -1
  48. package/es/index-bar/IndexBar.d.ts +5 -4
  49. package/es/index-bar/IndexBar.js +25 -4
  50. package/es/index-bar/index.d.ts +3 -3
  51. package/es/index-bar/types.d.ts +2 -1
  52. package/es/index.d.ts +1 -1
  53. package/es/index.js +1 -1
  54. package/es/loading/Loading.js +3 -1
  55. package/es/locale/lang/da-DK.d.ts +64 -0
  56. package/es/locale/lang/da-DK.js +66 -0
  57. package/es/locale/lang/is-IS.d.ts +64 -0
  58. package/es/locale/lang/is-IS.js +74 -0
  59. package/es/locale/lang/la-LA.d.ts +64 -0
  60. package/es/locale/lang/la-LA.js +66 -0
  61. package/es/locale/lang/sv-SE.d.ts +64 -0
  62. package/es/locale/lang/sv-SE.js +66 -0
  63. package/es/notify/types.d.ts +2 -1
  64. package/es/number-keyboard/NumberKeyboard.js +10 -1
  65. package/es/picker/types.d.ts +3 -2
  66. package/es/popup/index.css +1 -1
  67. package/es/progress/Progress.d.ts +4 -3
  68. package/es/progress/index.d.ts +2 -2
  69. package/es/rate/Rate.js +32 -10
  70. package/es/search/Search.d.ts +3 -0
  71. package/es/search/index.d.ts +2 -0
  72. package/es/share-sheet/ShareSheet.js +25 -11
  73. package/es/share-sheet/index.css +1 -1
  74. package/es/share-sheet/index.less +45 -1
  75. package/es/skeleton/Skeleton.d.ts +5 -4
  76. package/es/skeleton/index.d.ts +3 -3
  77. package/es/slider/index.css +1 -1
  78. package/es/style/animation.css +1 -1
  79. package/es/style/base.css +1 -1
  80. package/es/swipe-cell/index.css +1 -1
  81. package/es/tabbar/Tabbar.d.ts +2 -2
  82. package/es/tabs/Tabs.d.ts +1 -1
  83. package/es/tabs/Tabs.js +1 -0
  84. package/es/tabs/types.d.ts +5 -4
  85. package/es/toast/types.d.ts +3 -2
  86. package/es/tree-select/TreeSelect.d.ts +7 -6
  87. package/es/tree-select/index.d.ts +3 -3
  88. package/es/uploader/Uploader.d.ts +4 -4
  89. package/es/uploader/Uploader.js +3 -3
  90. package/es/uploader/UploaderPreviewItem.d.ts +3 -3
  91. package/es/uploader/UploaderPreviewItem.js +9 -6
  92. package/es/uploader/index.d.ts +2 -2
  93. package/es/uploader/types.d.ts +5 -5
  94. package/es/uploader/utils.d.ts +0 -1
  95. package/es/uploader/utils.js +2 -4
  96. package/es/utils/basic.d.ts +2 -0
  97. package/es/utils/basic.js +3 -1
  98. package/es/utils/format.d.ts +7 -6
  99. package/es/utils/format.js +6 -0
  100. package/es/utils/validate.d.ts +2 -1
  101. package/lib/action-bar/ActionBar.js +8 -13
  102. package/lib/action-bar/index.js +9 -16
  103. package/lib/action-bar-button/ActionBarButton.js +8 -13
  104. package/lib/action-bar-button/index.js +9 -16
  105. package/lib/action-bar-icon/ActionBarIcon.js +8 -13
  106. package/lib/action-bar-icon/index.js +9 -16
  107. package/lib/action-sheet/ActionSheet.js +8 -13
  108. package/lib/action-sheet/index.js +9 -16
  109. package/lib/address-edit/AddressEdit.js +9 -16
  110. package/lib/address-edit/AddressEditDetail.js +8 -13
  111. package/lib/address-edit/index.js +9 -16
  112. package/lib/address-edit/types.js +7 -12
  113. package/lib/address-list/AddressList.js +9 -16
  114. package/lib/address-list/AddressListItem.d.ts +3 -2
  115. package/lib/address-list/AddressListItem.js +8 -13
  116. package/lib/address-list/index.js +9 -16
  117. package/lib/area/Area.js +8 -13
  118. package/lib/area/index.js +9 -16
  119. package/lib/area/types.js +7 -12
  120. package/lib/badge/Badge.d.ts +4 -3
  121. package/lib/badge/Badge.js +8 -13
  122. package/lib/badge/index.d.ts +2 -2
  123. package/lib/badge/index.js +9 -16
  124. package/lib/button/Button.js +8 -13
  125. package/lib/button/index.js +9 -16
  126. package/lib/button/types.js +7 -12
  127. package/lib/calendar/Calendar.js +10 -17
  128. package/lib/calendar/CalendarDay.js +12 -13
  129. package/lib/calendar/CalendarHeader.js +8 -13
  130. package/lib/calendar/CalendarMonth.js +9 -16
  131. package/lib/calendar/index.css +1 -1
  132. package/lib/calendar/index.js +9 -16
  133. package/lib/calendar/index.less +2 -0
  134. package/lib/calendar/types.d.ts +2 -1
  135. package/lib/calendar/types.js +7 -12
  136. package/lib/calendar/utils.js +8 -13
  137. package/lib/calendar/var.less +1 -0
  138. package/lib/card/Card.js +8 -13
  139. package/lib/card/index.js +9 -16
  140. package/lib/cascader/Cascader.js +8 -13
  141. package/lib/cascader/index.js +9 -16
  142. package/lib/cascader/types.d.ts +2 -1
  143. package/lib/cascader/types.js +7 -12
  144. package/lib/cell/Cell.js +8 -13
  145. package/lib/cell/index.js +9 -16
  146. package/lib/cell-group/CellGroup.js +8 -13
  147. package/lib/cell-group/index.js +9 -16
  148. package/lib/checkbox/Checkbox.js +9 -16
  149. package/lib/checkbox/Checker.d.ts +2 -1
  150. package/lib/checkbox/Checker.js +8 -13
  151. package/lib/checkbox/index.js +9 -16
  152. package/lib/checkbox/types.js +7 -12
  153. package/lib/checkbox-group/CheckboxGroup.js +8 -13
  154. package/lib/checkbox-group/index.js +9 -16
  155. package/lib/checkbox-group/types.js +7 -12
  156. package/lib/circle/Circle.js +8 -13
  157. package/lib/circle/index.js +9 -16
  158. package/lib/col/Col.js +8 -13
  159. package/lib/col/index.js +9 -16
  160. package/lib/collapse/Collapse.d.ts +7 -6
  161. package/lib/collapse/Collapse.js +8 -13
  162. package/lib/collapse/index.d.ts +3 -3
  163. package/lib/collapse/index.js +9 -16
  164. package/lib/collapse-item/CollapseItem.js +8 -13
  165. package/lib/collapse-item/index.js +9 -16
  166. package/lib/collapse-item/types.js +7 -12
  167. package/lib/composables/on-popup-reopen.js +8 -13
  168. package/lib/composables/use-expose.js +8 -13
  169. package/lib/composables/use-height.js +8 -13
  170. package/lib/composables/use-id.js +8 -13
  171. package/lib/composables/use-lazy-render.js +8 -13
  172. package/lib/composables/use-lock-scroll.js +8 -13
  173. package/lib/composables/use-placeholder.js +8 -13
  174. package/lib/composables/use-refs.js +8 -13
  175. package/lib/composables/use-route.js +8 -13
  176. package/lib/composables/use-tab-status.js +8 -13
  177. package/lib/composables/use-touch.js +9 -14
  178. package/lib/composables/use-visibility-change.js +8 -13
  179. package/lib/config-provider/ConfigProvider.d.ts +4 -3
  180. package/lib/config-provider/ConfigProvider.js +8 -13
  181. package/lib/config-provider/index.d.ts +2 -2
  182. package/lib/config-provider/index.js +9 -16
  183. package/lib/contact-card/ContactCard.js +8 -13
  184. package/lib/contact-card/index.js +9 -16
  185. package/lib/contact-edit/ContactEdit.js +8 -13
  186. package/lib/contact-edit/index.js +9 -16
  187. package/lib/contact-list/ContactList.d.ts +3 -2
  188. package/lib/contact-list/ContactList.js +8 -13
  189. package/lib/contact-list/index.js +9 -16
  190. package/lib/count-down/CountDown.js +8 -13
  191. package/lib/count-down/index.js +9 -16
  192. package/lib/count-down/types.js +7 -12
  193. package/lib/count-down/utils.js +8 -13
  194. package/lib/coupon/Coupon.d.ts +2 -1
  195. package/lib/coupon/Coupon.js +8 -13
  196. package/lib/coupon/index.js +9 -16
  197. package/lib/coupon/utils.js +8 -13
  198. package/lib/coupon-cell/CouponCell.js +8 -13
  199. package/lib/coupon-cell/index.js +9 -16
  200. package/lib/coupon-list/CouponList.d.ts +3 -13
  201. package/lib/coupon-list/CouponList.js +17 -20
  202. package/lib/coupon-list/index.css +1 -1
  203. package/lib/coupon-list/index.d.ts +2 -9
  204. package/lib/coupon-list/index.js +9 -16
  205. package/lib/coupon-list/index.less +4 -16
  206. package/lib/coupon-list/style/index.js +1 -0
  207. package/lib/coupon-list/style/less.js +1 -0
  208. package/lib/coupon-list/var.less +0 -1
  209. package/lib/datetime-picker/DatePicker.js +10 -15
  210. package/lib/datetime-picker/DatetimePicker.js +9 -16
  211. package/lib/datetime-picker/TimePicker.js +8 -13
  212. package/lib/datetime-picker/index.js +9 -16
  213. package/lib/datetime-picker/types.js +7 -12
  214. package/lib/datetime-picker/utils.js +8 -13
  215. package/lib/dialog/Dialog.js +8 -13
  216. package/lib/dialog/function-call.js +9 -16
  217. package/lib/dialog/index.css +1 -1
  218. package/lib/dialog/index.js +8 -13
  219. package/lib/dialog/types.d.ts +2 -2
  220. package/lib/dialog/types.js +7 -12
  221. package/lib/divider/Divider.js +8 -13
  222. package/lib/divider/index.js +9 -16
  223. package/lib/dropdown-item/DropdownItem.js +8 -13
  224. package/lib/dropdown-item/index.js +9 -16
  225. package/lib/dropdown-item/types.d.ts +2 -1
  226. package/lib/dropdown-item/types.js +7 -12
  227. package/lib/dropdown-menu/DropdownMenu.js +8 -13
  228. package/lib/dropdown-menu/index.js +9 -16
  229. package/lib/dropdown-menu/types.js +7 -12
  230. package/lib/empty/Empty.d.ts +8 -7
  231. package/lib/empty/Empty.js +19 -27
  232. package/lib/empty/Images.d.ts +4 -0
  233. package/lib/empty/Images.js +290 -0
  234. package/lib/empty/index.d.ts +2 -2
  235. package/lib/empty/index.js +9 -16
  236. package/lib/field/Field.d.ts +4 -0
  237. package/lib/field/Field.js +15 -15
  238. package/lib/field/index.d.ts +2 -0
  239. package/lib/field/index.js +9 -16
  240. package/lib/field/types.d.ts +1 -1
  241. package/lib/field/types.js +7 -12
  242. package/lib/field/utils.js +8 -13
  243. package/lib/form/Form.d.ts +13 -13
  244. package/lib/form/Form.js +14 -15
  245. package/lib/form/index.d.ts +9 -9
  246. package/lib/form/index.js +9 -16
  247. package/lib/form/types.d.ts +1 -0
  248. package/lib/form/types.js +7 -12
  249. package/lib/grid/Grid.js +8 -13
  250. package/lib/grid/index.js +9 -16
  251. package/lib/grid-item/GridItem.js +8 -13
  252. package/lib/grid-item/index.js +9 -16
  253. package/lib/icon/Icon.js +8 -13
  254. package/lib/icon/index.css +1 -1
  255. package/lib/icon/index.js +9 -16
  256. package/lib/image/Image.js +8 -13
  257. package/lib/image/index.js +9 -16
  258. package/lib/image-preview/ImagePreview.js +9 -16
  259. package/lib/image-preview/ImagePreviewItem.js +8 -13
  260. package/lib/image-preview/function-call.js +9 -16
  261. package/lib/image-preview/index.js +8 -13
  262. package/lib/image-preview/types.js +7 -12
  263. package/lib/index-anchor/IndexAnchor.js +8 -13
  264. package/lib/index-anchor/index.js +9 -16
  265. package/lib/index-bar/IndexBar.d.ts +5 -4
  266. package/lib/index-bar/IndexBar.js +33 -17
  267. package/lib/index-bar/index.d.ts +3 -3
  268. package/lib/index-bar/index.js +9 -16
  269. package/lib/index-bar/types.d.ts +2 -1
  270. package/lib/index-bar/types.js +7 -12
  271. package/lib/index.css +1 -1
  272. package/lib/index.d.ts +1 -1
  273. package/lib/index.js +96 -100
  274. package/lib/index.less +2 -2
  275. package/lib/lazyload/index.js +8 -13
  276. package/lib/lazyload/vue-lazyload/index.js +9 -16
  277. package/lib/lazyload/vue-lazyload/lazy-component.js +8 -13
  278. package/lib/lazyload/vue-lazyload/lazy-container.js +8 -13
  279. package/lib/lazyload/vue-lazyload/lazy-image.js +8 -13
  280. package/lib/lazyload/vue-lazyload/lazy.js +9 -16
  281. package/lib/lazyload/vue-lazyload/listener.js +8 -13
  282. package/lib/lazyload/vue-lazyload/util.js +8 -13
  283. package/lib/list/List.js +8 -13
  284. package/lib/list/index.js +9 -16
  285. package/lib/list/types.js +7 -12
  286. package/lib/loading/Loading.js +11 -14
  287. package/lib/loading/index.js +9 -16
  288. package/lib/locale/index.js +9 -16
  289. package/lib/locale/lang/bn-BD.js +8 -13
  290. package/lib/locale/lang/da-DK.d.ts +64 -0
  291. package/lib/locale/lang/da-DK.js +85 -0
  292. package/lib/locale/lang/de-DE-formal.js +8 -13
  293. package/lib/locale/lang/de-DE.js +8 -13
  294. package/lib/locale/lang/en-US.js +8 -13
  295. package/lib/locale/lang/es-ES.js +8 -13
  296. package/lib/locale/lang/fr-FR.js +8 -13
  297. package/lib/locale/lang/hi-IN.js +8 -13
  298. package/lib/locale/lang/id-ID.js +8 -13
  299. package/lib/locale/lang/is-IS.d.ts +64 -0
  300. package/lib/locale/lang/is-IS.js +93 -0
  301. package/lib/locale/lang/it-IT.js +8 -13
  302. package/lib/locale/lang/ja-JP.js +8 -13
  303. package/lib/locale/lang/ko-KR.js +8 -13
  304. package/lib/locale/lang/la-LA.d.ts +64 -0
  305. package/lib/locale/lang/la-LA.js +85 -0
  306. package/lib/locale/lang/nb-NO.js +8 -13
  307. package/lib/locale/lang/pt-BR.js +8 -13
  308. package/lib/locale/lang/ro-RO.js +8 -13
  309. package/lib/locale/lang/ru-RU.js +8 -13
  310. package/lib/locale/lang/sv-SE.d.ts +64 -0
  311. package/lib/locale/lang/sv-SE.js +85 -0
  312. package/lib/locale/lang/th-TH.js +8 -13
  313. package/lib/locale/lang/tr-TR.js +8 -13
  314. package/lib/locale/lang/uk-UA.js +8 -13
  315. package/lib/locale/lang/vi-VN.js +8 -13
  316. package/lib/locale/lang/zh-CN.js +8 -13
  317. package/lib/locale/lang/zh-HK.js +8 -13
  318. package/lib/locale/lang/zh-TW.js +8 -13
  319. package/lib/nav-bar/NavBar.js +8 -13
  320. package/lib/nav-bar/index.js +9 -16
  321. package/lib/notice-bar/NoticeBar.js +8 -13
  322. package/lib/notice-bar/index.js +9 -16
  323. package/lib/notice-bar/types.js +7 -12
  324. package/lib/notify/Notify.js +8 -13
  325. package/lib/notify/function-call.js +9 -16
  326. package/lib/notify/index.js +8 -13
  327. package/lib/notify/types.d.ts +2 -1
  328. package/lib/notify/types.js +7 -12
  329. package/lib/number-keyboard/NumberKeyboard.js +19 -17
  330. package/lib/number-keyboard/NumberKeyboardKey.js +8 -13
  331. package/lib/number-keyboard/index.js +9 -16
  332. package/lib/overlay/Overlay.js +8 -13
  333. package/lib/overlay/index.js +9 -16
  334. package/lib/pagination/Pagination.js +8 -13
  335. package/lib/pagination/index.js +9 -16
  336. package/lib/password-input/PasswordInput.js +8 -13
  337. package/lib/password-input/index.js +9 -16
  338. package/lib/picker/Picker.js +9 -16
  339. package/lib/picker/PickerColumn.js +8 -13
  340. package/lib/picker/index.js +9 -16
  341. package/lib/picker/types.d.ts +3 -2
  342. package/lib/picker/types.js +7 -12
  343. package/lib/popover/Popover.js +8 -13
  344. package/lib/popover/index.js +9 -16
  345. package/lib/popover/types.js +7 -12
  346. package/lib/popup/Popup.js +8 -13
  347. package/lib/popup/index.css +1 -1
  348. package/lib/popup/index.js +9 -16
  349. package/lib/popup/shared.js +8 -13
  350. package/lib/popup/types.js +7 -12
  351. package/lib/progress/Progress.d.ts +4 -3
  352. package/lib/progress/Progress.js +8 -13
  353. package/lib/progress/index.d.ts +2 -2
  354. package/lib/progress/index.js +9 -16
  355. package/lib/progress/types.js +7 -12
  356. package/lib/pull-refresh/PullRefresh.js +8 -13
  357. package/lib/pull-refresh/index.js +9 -16
  358. package/lib/radio/Radio.js +9 -16
  359. package/lib/radio/index.js +9 -16
  360. package/lib/radio-group/RadioGroup.js +8 -13
  361. package/lib/radio-group/index.js +9 -16
  362. package/lib/rate/Rate.js +39 -22
  363. package/lib/rate/index.js +9 -16
  364. package/lib/row/Row.js +8 -13
  365. package/lib/row/index.js +9 -16
  366. package/lib/search/Search.d.ts +3 -0
  367. package/lib/search/Search.js +8 -13
  368. package/lib/search/index.d.ts +2 -0
  369. package/lib/search/index.js +9 -16
  370. package/lib/search/types.js +7 -12
  371. package/lib/share-sheet/ShareSheet.js +33 -24
  372. package/lib/share-sheet/index.css +1 -1
  373. package/lib/share-sheet/index.js +9 -16
  374. package/lib/share-sheet/index.less +45 -1
  375. package/lib/sidebar/Sidebar.js +8 -13
  376. package/lib/sidebar/index.js +9 -16
  377. package/lib/sidebar-item/SidebarItem.js +8 -13
  378. package/lib/sidebar-item/index.js +9 -16
  379. package/lib/skeleton/Skeleton.d.ts +5 -4
  380. package/lib/skeleton/Skeleton.js +8 -13
  381. package/lib/skeleton/index.d.ts +3 -3
  382. package/lib/skeleton/index.js +9 -16
  383. package/lib/slider/Slider.js +8 -13
  384. package/lib/slider/index.css +1 -1
  385. package/lib/slider/index.js +9 -16
  386. package/lib/step/Step.js +8 -13
  387. package/lib/step/index.js +9 -16
  388. package/lib/stepper/Stepper.js +8 -13
  389. package/lib/stepper/index.js +9 -16
  390. package/lib/steps/Steps.js +8 -13
  391. package/lib/steps/index.js +9 -16
  392. package/lib/sticky/Sticky.js +8 -13
  393. package/lib/sticky/index.js +9 -16
  394. package/lib/style/animation.css +1 -1
  395. package/lib/style/base.css +1 -1
  396. package/lib/submit-bar/SubmitBar.js +8 -13
  397. package/lib/submit-bar/index.js +9 -16
  398. package/lib/swipe/Swipe.js +8 -13
  399. package/lib/swipe/index.js +9 -16
  400. package/lib/swipe/types.js +7 -12
  401. package/lib/swipe-cell/SwipeCell.js +8 -13
  402. package/lib/swipe-cell/index.css +1 -1
  403. package/lib/swipe-cell/index.js +9 -16
  404. package/lib/swipe-cell/types.js +7 -12
  405. package/lib/swipe-item/SwipeItem.js +8 -13
  406. package/lib/swipe-item/index.js +9 -16
  407. package/lib/switch/Switch.js +8 -13
  408. package/lib/switch/index.js +9 -16
  409. package/lib/tab/Tab.js +8 -13
  410. package/lib/tab/index.js +9 -16
  411. package/lib/tabbar/Tabbar.d.ts +2 -2
  412. package/lib/tabbar/Tabbar.js +8 -13
  413. package/lib/tabbar/index.js +9 -16
  414. package/lib/tabbar-item/TabbarItem.js +8 -13
  415. package/lib/tabbar-item/index.js +9 -16
  416. package/lib/tabs/Tabs.d.ts +1 -1
  417. package/lib/tabs/Tabs.js +10 -16
  418. package/lib/tabs/TabsContent.js +8 -13
  419. package/lib/tabs/TabsTitle.js +8 -13
  420. package/lib/tabs/index.js +9 -16
  421. package/lib/tabs/types.d.ts +5 -4
  422. package/lib/tabs/types.js +7 -12
  423. package/lib/tabs/utils.js +8 -13
  424. package/lib/tag/Tag.js +8 -13
  425. package/lib/tag/index.js +9 -16
  426. package/lib/toast/Toast.js +8 -13
  427. package/lib/toast/function-call.js +9 -16
  428. package/lib/toast/index.js +8 -13
  429. package/lib/toast/lock-click.js +8 -13
  430. package/lib/toast/types.d.ts +3 -2
  431. package/lib/toast/types.js +7 -12
  432. package/lib/tree-select/TreeSelect.d.ts +7 -6
  433. package/lib/tree-select/TreeSelect.js +8 -13
  434. package/lib/tree-select/index.d.ts +3 -3
  435. package/lib/tree-select/index.js +9 -16
  436. package/lib/uploader/Uploader.d.ts +4 -4
  437. package/lib/uploader/Uploader.js +11 -18
  438. package/lib/uploader/UploaderPreviewItem.d.ts +3 -3
  439. package/lib/uploader/UploaderPreviewItem.js +17 -19
  440. package/lib/uploader/index.d.ts +2 -2
  441. package/lib/uploader/index.js +9 -16
  442. package/lib/uploader/types.d.ts +5 -5
  443. package/lib/uploader/types.js +7 -12
  444. package/lib/uploader/utils.d.ts +0 -1
  445. package/lib/uploader/utils.js +10 -17
  446. package/lib/utils/basic.d.ts +2 -0
  447. package/lib/utils/basic.js +11 -14
  448. package/lib/utils/constant.js +8 -13
  449. package/lib/utils/create.js +9 -16
  450. package/lib/utils/deep-assign.js +8 -13
  451. package/lib/utils/deep-clone.js +8 -13
  452. package/lib/utils/dom.js +8 -13
  453. package/lib/utils/format.d.ts +7 -6
  454. package/lib/utils/format.js +14 -13
  455. package/lib/utils/index.js +17 -21
  456. package/lib/utils/interceptor.js +8 -13
  457. package/lib/utils/mount-component.js +8 -13
  458. package/lib/utils/props.js +8 -13
  459. package/lib/utils/validate.d.ts +2 -1
  460. package/lib/utils/validate.js +8 -13
  461. package/lib/utils/with-install.js +8 -13
  462. package/lib/vant.cjs.js +530 -263
  463. package/lib/vant.cjs.min.js +1 -1
  464. package/lib/vant.es.js +530 -263
  465. package/lib/vant.es.min.js +530 -263
  466. package/lib/vant.js +530 -263
  467. package/lib/vant.min.js +1 -1
  468. package/package.json +3 -3
  469. package/vetur/attributes.json +423 -487
  470. package/vetur/tags.json +112 -110
  471. package/vetur/web-types.json +2200 -1345
  472. package/es/empty/Network.d.ts +0 -1
  473. package/es/empty/Network.js +0 -89
  474. package/lib/empty/Network.d.ts +0 -1
  475. package/lib/empty/Network.js +0 -113
@@ -1,92 +1,4 @@
1
1
  {
2
- "van-address-edit/area-list": {
3
- "type": "object",
4
- "description": "Area List, Default: -"
5
- },
6
- "van-address-edit/area-columns-placeholder": {
7
- "type": "string[]",
8
- "description": "placeholder of area columns, Default: `[]`"
9
- },
10
- "van-address-edit/area-placeholder": {
11
- "type": "string",
12
- "description": "placeholder of area input field, Default: `Area`"
13
- },
14
- "van-address-edit/address-info": {
15
- "type": "AddressEditInfo",
16
- "description": "Address Info, Default: `{}`"
17
- },
18
- "van-address-edit/search-result": {
19
- "type": "AddressEditSearchItem[]",
20
- "description": "Address search result, Default: `[]`"
21
- },
22
- "van-address-edit/show-postal": {
23
- "type": "boolean",
24
- "description": "Whether to show postal field, Default: `false`"
25
- },
26
- "van-address-edit/show-delete": {
27
- "type": "boolean",
28
- "description": "Whether to show delete button, Default: `false`"
29
- },
30
- "van-address-edit/show-set-default": {
31
- "type": "boolean",
32
- "description": "Whether to show default address switch, Default: `false`"
33
- },
34
- "van-address-edit/show-search-result": {
35
- "type": "boolean",
36
- "description": "Whether to show address search result, Default: `false`"
37
- },
38
- "van-address-edit/show-area": {
39
- "type": "boolean",
40
- "description": "Whether to show area cell, Default: `true`"
41
- },
42
- "van-address-edit/show-detail": {
43
- "type": "boolean",
44
- "description": "Whether to show detail field, Default: `true`"
45
- },
46
- "van-address-edit/disable-area": {
47
- "type": "boolean",
48
- "description": "Whether to disable area select, Default: `false`"
49
- },
50
- "van-address-edit/save-button-text": {
51
- "type": "string",
52
- "description": "Save button text, Default: `Save`"
53
- },
54
- "van-address-edit/delete-button-text": {
55
- "type": "string",
56
- "description": "Delete button text, Default: `Delete`"
57
- },
58
- "van-address-edit/detail-rows": {
59
- "type": "number | string",
60
- "description": "Detail input rows, Default: `1`"
61
- },
62
- "van-address-edit/detail-maxlength": {
63
- "type": "number | string",
64
- "description": "Detail maxlength, Default: `200`"
65
- },
66
- "van-address-edit/is-saving": {
67
- "type": "boolean",
68
- "description": "Whether to show save button loading status, Default: `false`"
69
- },
70
- "van-address-edit/is-deleting": {
71
- "type": "boolean",
72
- "description": "Whether to show delete button loading status, Default: `false`"
73
- },
74
- "van-address-edit/tel-validator": {
75
- "type": "(tel: string) => boolean",
76
- "description": "The method to validate tel, Default: -"
77
- },
78
- "van-address-edit/tel-maxlength": {
79
- "type": "number | string",
80
- "description": "Tel maxlength, Default: -"
81
- },
82
- "van-address-edit/postal-validator": {
83
- "type": "(tel: string) => boolean",
84
- "description": "The method to validate postal, Default: -"
85
- },
86
- "van-address-edit/validator": {
87
- "type": "(key, val) => string",
88
- "description": "Custom validator, Default: -"
89
- },
90
2
  "van-action-bar/safe-area-inset-bottom": {
91
3
  "type": "boolean",
92
4
  "description": "Whether to enable bottom safe area adaptation, Default: `true`"
@@ -104,11 +16,8 @@
104
16
  "description": "Icon color, Default: `#323233`"
105
17
  },
106
18
  "van-action-bar-icon/icon-class": {
107
- "type": "string | Array \\",
108
- "description": "Icon class name, Default: object_",
109
- "options": [
110
- "''"
111
- ]
19
+ "type": "string | Array | object",
20
+ "description": "Icon class name, Default: `''`"
112
21
  },
113
22
  "van-action-bar-icon/icon-prefix": {
114
23
  "type": "string",
@@ -124,7 +33,7 @@
124
33
  },
125
34
  "van-action-bar-icon/badge-props": {
126
35
  "type": "BadgeProps",
127
- "description": "Props of Badgesee [Badge - props](#/en-US/badge#props), Default: -"
36
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
128
37
  },
129
38
  "van-action-bar-icon/url": {
130
39
  "type": "string",
@@ -174,57 +83,93 @@
174
83
  "type": "boolean",
175
84
  "description": "If true, the navigation will not leave a history record, Default: `false`"
176
85
  },
177
- "van-area/value": {
178
- "type": "string",
179
- "description": "the `code` of selected area, Default: -"
86
+ "van-address-edit/area-list": {
87
+ "type": "object",
88
+ "description": "Area List, Default: -"
180
89
  },
181
- "van-area/title": {
182
- "type": "string",
183
- "description": "Toolbar title, Default: -"
90
+ "van-address-edit/area-columns-placeholder": {
91
+ "type": "string[]",
92
+ "description": "placeholder of area columns, Default: `[]`"
184
93
  },
185
- "van-area/confirm-button-text": {
94
+ "van-address-edit/area-placeholder": {
186
95
  "type": "string",
187
- "description": "Text of confirm button, Default: `Confirm`"
96
+ "description": "placeholder of area input field, Default: `Area`"
188
97
  },
189
- "van-area/cancel-button-text": {
190
- "type": "string",
191
- "description": "Text of cancel button, Default: `Cancel`"
98
+ "van-address-edit/address-info": {
99
+ "type": "AddressEditInfo",
100
+ "description": "Address Info, Default: `{}`"
192
101
  },
193
- "van-area/area-list": {
194
- "type": "object",
195
- "description": "Area list data, Default: -"
102
+ "van-address-edit/search-result": {
103
+ "type": "AddressEditSearchItem[]",
104
+ "description": "Address search result, Default: `[]`"
196
105
  },
197
- "van-area/columns-placeholder": {
198
- "type": "string[]",
199
- "description": "Placeholder of columns, Default: `[]`"
106
+ "van-address-edit/show-postal": {
107
+ "type": "boolean",
108
+ "description": "Whether to show postal field, Default: `false`"
200
109
  },
201
- "van-area/loading": {
110
+ "van-address-edit/show-delete": {
202
111
  "type": "boolean",
203
- "description": "Whether to show loading prompt, Default: `false`"
112
+ "description": "Whether to show delete button, Default: `false`"
204
113
  },
205
- "van-area/readonly": {
114
+ "van-address-edit/show-set-default": {
206
115
  "type": "boolean",
207
- "description": "Whether to be readonly, Default: `false`"
116
+ "description": "Whether to show default address switch, Default: `false`"
208
117
  },
209
- "van-area/item-height": {
210
- "type": "number | string",
211
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
118
+ "van-address-edit/show-search-result": {
119
+ "type": "boolean",
120
+ "description": "Whether to show address search result, Default: `false`"
212
121
  },
213
- "van-area/columns-num": {
122
+ "van-address-edit/show-area": {
123
+ "type": "boolean",
124
+ "description": "Whether to show area cell, Default: `true`"
125
+ },
126
+ "van-address-edit/show-detail": {
127
+ "type": "boolean",
128
+ "description": "Whether to show detail field, Default: `true`"
129
+ },
130
+ "van-address-edit/disable-area": {
131
+ "type": "boolean",
132
+ "description": "Whether to disable area select, Default: `false`"
133
+ },
134
+ "van-address-edit/save-button-text": {
135
+ "type": "string",
136
+ "description": "Save button text, Default: `Save`"
137
+ },
138
+ "van-address-edit/delete-button-text": {
139
+ "type": "string",
140
+ "description": "Delete button text, Default: `Delete`"
141
+ },
142
+ "van-address-edit/detail-rows": {
214
143
  "type": "number | string",
215
- "description": "Level of picker, Default: `3`"
144
+ "description": "Detail input rows, Default: `1`"
216
145
  },
217
- "van-area/visible-item-count": {
146
+ "van-address-edit/detail-maxlength": {
218
147
  "type": "number | string",
219
- "description": "Count of visible columns, Default: `6`"
148
+ "description": "Detail maxlength, Default: `200`"
220
149
  },
221
- "van-area/swipe-duration": {
150
+ "van-address-edit/is-saving": {
151
+ "type": "boolean",
152
+ "description": "Whether to show save button loading status, Default: `false`"
153
+ },
154
+ "van-address-edit/is-deleting": {
155
+ "type": "boolean",
156
+ "description": "Whether to show delete button loading status, Default: `false`"
157
+ },
158
+ "van-address-edit/tel-validator": {
159
+ "type": "(tel: string) => boolean",
160
+ "description": "The method to validate tel, Default: -"
161
+ },
162
+ "van-address-edit/tel-maxlength": {
222
163
  "type": "number | string",
223
- "description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
164
+ "description": "Tel maxlength, Default: -"
224
165
  },
225
- "van-area/is-oversea-code": {
226
- "type": "() => boolean",
227
- "description": "The method to validate oversea code, Default: -"
166
+ "van-address-edit/postal-validator": {
167
+ "type": "(tel: string) => boolean",
168
+ "description": "The method to validate postal, Default: -"
169
+ },
170
+ "van-address-edit/validator": {
171
+ "type": "(key, val) => string",
172
+ "description": "Custom validator, Default: -"
228
173
  },
229
174
  "van-action-sheet/v-model:show": {
230
175
  "type": "boolean",
@@ -267,11 +212,8 @@
267
212
  "description": "Whether to show overlay, Default: `true`"
268
213
  },
269
214
  "van-action-sheet/overlay-class": {
270
- "type": "string | Array \\",
271
- "description": "Custom overlay class, Default: object_",
272
- "options": [
273
- "-"
274
- ]
215
+ "type": "string | Array | object",
216
+ "description": "Custom overlay class, Default: -"
275
217
  },
276
218
  "van-action-sheet/overlay-style": {
277
219
  "type": "object",
@@ -309,6 +251,86 @@
309
251
  "type": "(action: string) => boolean | Promise\\<boolean\\>",
310
252
  "description": "Callback function before close, Default: -"
311
253
  },
254
+ "van-address-list/v-model": {
255
+ "type": "string",
256
+ "description": "Id of chosen address, Default: -"
257
+ },
258
+ "van-address-list/list": {
259
+ "type": "Address[]",
260
+ "description": "Address list, Default: `[]`"
261
+ },
262
+ "van-address-list/disabled-list": {
263
+ "type": "Address[]",
264
+ "description": "Disabled address list, Default: `[]`"
265
+ },
266
+ "van-address-list/disabled-text": {
267
+ "type": "string",
268
+ "description": "Disabled text, Default: -"
269
+ },
270
+ "van-address-list/switchable": {
271
+ "type": "boolean",
272
+ "description": "Whether to allow switch address, Default: `true`"
273
+ },
274
+ "van-address-list/add-button-text": {
275
+ "type": "string",
276
+ "description": "Add button text, Default: `Add new address`"
277
+ },
278
+ "van-address-list/default-tag-text": {
279
+ "type": "string",
280
+ "description": "Default tag text, Default: -"
281
+ },
282
+ "van-area/value": {
283
+ "type": "string",
284
+ "description": "the `code` of selected area, Default: -"
285
+ },
286
+ "van-area/title": {
287
+ "type": "string",
288
+ "description": "Toolbar title, Default: -"
289
+ },
290
+ "van-area/confirm-button-text": {
291
+ "type": "string",
292
+ "description": "Text of confirm button, Default: `Confirm`"
293
+ },
294
+ "van-area/cancel-button-text": {
295
+ "type": "string",
296
+ "description": "Text of cancel button, Default: `Cancel`"
297
+ },
298
+ "van-area/area-list": {
299
+ "type": "object",
300
+ "description": "Area list data, Default: -"
301
+ },
302
+ "van-area/columns-placeholder": {
303
+ "type": "string[]",
304
+ "description": "Placeholder of columns, Default: `[]`"
305
+ },
306
+ "van-area/loading": {
307
+ "type": "boolean",
308
+ "description": "Whether to show loading prompt, Default: `false`"
309
+ },
310
+ "van-area/readonly": {
311
+ "type": "boolean",
312
+ "description": "Whether to be readonly, Default: `false`"
313
+ },
314
+ "van-area/item-height": {
315
+ "type": "number | string",
316
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
317
+ },
318
+ "van-area/columns-num": {
319
+ "type": "number | string",
320
+ "description": "Level of picker, Default: `3`"
321
+ },
322
+ "van-area/visible-item-count": {
323
+ "type": "number | string",
324
+ "description": "Count of visible columns, Default: `6`"
325
+ },
326
+ "van-area/swipe-duration": {
327
+ "type": "number | string",
328
+ "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
329
+ },
330
+ "van-area/is-oversea-code": {
331
+ "type": "() => boolean",
332
+ "description": "The method to validate oversea code, Default: -"
333
+ },
312
334
  "van-badge/content": {
313
335
  "type": "number | string",
314
336
  "description": "Badge content, Default: -"
@@ -323,14 +345,11 @@
323
345
  },
324
346
  "van-badge/max": {
325
347
  "type": "number | string",
326
- "description": "Max valueshow `{max}+` when exceedonly works when content is number, Default: -"
348
+ "description": "Max value, show `{max}+` when exceed, only works when content is number, Default: -"
327
349
  },
328
350
  "van-badge/offset": {
329
- "type": "[number | string, number \\",
330
- "description": "Offset of badge dot, Default: string]_",
331
- "options": [
332
- "-"
333
- ]
351
+ "type": "[number | string, number | string]",
352
+ "description": "Offset of badge dot, Default: -"
334
353
  },
335
354
  "van-badge/show-zero": {
336
355
  "type": "boolean",
@@ -424,37 +443,9 @@
424
443
  "type": "boolean",
425
444
  "description": "If true, the navigation will not leave a history record, Default: `false`"
426
445
  },
427
- "van-address-list/v-model": {
428
- "type": "string",
429
- "description": "Id of chosen address, Default: -"
430
- },
431
- "van-address-list/list": {
432
- "type": "Address[]",
433
- "description": "Address list, Default: `[]`"
434
- },
435
- "van-address-list/disabled-list": {
436
- "type": "Address[]",
437
- "description": "Disabled address list, Default: `[]`"
438
- },
439
- "van-address-list/disabled-text": {
440
- "type": "string",
441
- "description": "Disabled text, Default: -"
442
- },
443
- "van-address-list/switchable": {
444
- "type": "boolean",
445
- "description": "Whether to allow switch address, Default: `true`"
446
- },
447
- "van-address-list/add-button-text": {
448
- "type": "string",
449
- "description": "Add button text, Default: `Add new address`"
450
- },
451
- "van-address-list/default-tag-text": {
452
- "type": "string",
453
- "description": "Default tag text, Default: -"
454
- },
455
446
  "van-calendar/type": {
456
447
  "type": "string",
457
- "description": "Typecan be set to `range` `multiple`, Default: `single`"
448
+ "description": "Type, can be set to `range` `multiple`, Default: `single`"
458
449
  },
459
450
  "van-calendar/title": {
460
451
  "type": "string",
@@ -473,11 +464,8 @@
473
464
  "description": "Max date, Default: Six months after the today"
474
465
  },
475
466
  "van-calendar/default-date": {
476
- "type": "Date | Date[] \\",
477
- "description": "Default selected date, Default: null_",
478
- "options": [
479
- "Today"
480
- ]
467
+ "type": "Date | Date[] | null",
468
+ "description": "Default selected date, Default: Today"
481
469
  },
482
470
  "van-calendar/row-height": {
483
471
  "type": "number | string",
@@ -617,7 +605,7 @@
617
605
  },
618
606
  "van-card/lazy-load": {
619
607
  "type": "boolean",
620
- "description": "Whether to enable thumb lazy loadshould register [Lazyload](#/en-US/lazyload) component, Default: `false`"
608
+ "description": "Whether to enable thumb lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
621
609
  },
622
610
  "van-cascader/title": {
623
611
  "type": "string",
@@ -685,7 +673,7 @@
685
673
  },
686
674
  "van-cell/size": {
687
675
  "type": "string",
688
- "description": "Sizecan be set to `large`, Default: -"
676
+ "description": "Size, can be set to `large`, Default: -"
689
677
  },
690
678
  "van-cell/icon": {
691
679
  "type": "string",
@@ -732,32 +720,20 @@
732
720
  "description": "Can be set to `left` `up` `down`, Default: `right`"
733
721
  },
734
722
  "van-cell/title-style": {
735
- "type": "string | Array \\",
736
- "description": "Title style, Default: object_",
737
- "options": [
738
- "-"
739
- ]
723
+ "type": "string | Array | object",
724
+ "description": "Title style, Default: -"
740
725
  },
741
726
  "van-cell/title-class": {
742
- "type": "string | Array \\",
743
- "description": "Title className, Default: object_",
744
- "options": [
745
- "-"
746
- ]
727
+ "type": "string | Array | object",
728
+ "description": "Title className, Default: -"
747
729
  },
748
730
  "van-cell/value-class": {
749
- "type": "string | Array \\",
750
- "description": "Value className, Default: object_",
751
- "options": [
752
- "-"
753
- ]
731
+ "type": "string | Array | object",
732
+ "description": "Value className, Default: -"
754
733
  },
755
734
  "van-cell/label-class": {
756
- "type": "string | Array \\",
757
- "description": "Label className, Default: object_",
758
- "options": [
759
- "-"
760
- ]
735
+ "type": "string | Array | object",
736
+ "description": "Label className, Default: -"
761
737
  },
762
738
  "van-checkbox/v-model": {
763
739
  "type": "boolean",
@@ -857,7 +833,7 @@
857
833
  },
858
834
  "van-circle/stroke-linecap": {
859
835
  "type": "string",
860
- "description": "Stroke linecapcan be set to `square` `butt`, Default: `round`"
836
+ "description": "Stroke linecap, can be set to `square` `butt`, Default: `round`"
861
837
  },
862
838
  "van-circle/clockwise": {
863
839
  "type": "boolean",
@@ -865,7 +841,7 @@
865
841
  },
866
842
  "van-circle/start-position": {
867
843
  "type": "CircleStartPosition",
868
- "description": "Progress start positioncan be set to `left`、`right`、`bottom`, Default: `top`"
844
+ "description": "Progress start position, can be set to `left`、`right`、`bottom`, Default: `top`"
869
845
  },
870
846
  "van-row/gutter": {
871
847
  "type": "number | string",
@@ -877,7 +853,7 @@
877
853
  },
878
854
  "van-row/justify": {
879
855
  "type": "string",
880
- "description": "Flex main axiscan be set to end/center/space-around/space-between, Default: `start`"
856
+ "description": "Flex main axis, can be set to end/center/space-around/space-between, Default: `start`"
881
857
  },
882
858
  "van-row/align": {
883
859
  "type": "string",
@@ -900,11 +876,8 @@
900
876
  "description": "Custom element tag, Default: `div`"
901
877
  },
902
878
  "van-collapse/v-model": {
903
- "type": "accordion mode _number | string_<br>non-accordion mode_(number \\",
904
- "description": "Names of current active panels, Default: string)[]_",
905
- "options": [
906
- "-"
907
- ]
879
+ "type": "accordion mode: _number | string_<br>non-accordion mode: _(number | string)[]",
880
+ "description": "Names of current active panels, Default: -"
908
881
  },
909
882
  "van-collapse/accordion": {
910
883
  "type": "boolean",
@@ -924,7 +897,7 @@
924
897
  },
925
898
  "van-collapse-item/size": {
926
899
  "type": "string",
927
- "description": "Title sizecan be set to `large`, Default: -"
900
+ "description": "Title size, can be set to `large`, Default: -"
928
901
  },
929
902
  "van-collapse-item/title": {
930
903
  "type": "number | string",
@@ -998,6 +971,10 @@
998
971
  "type": "string",
999
972
  "description": "Add card text, Default: `Add contact info`"
1000
973
  },
974
+ "van-contact-card/editable": {
975
+ "type": "boolean",
976
+ "description": "Whether to allow editing of contacts, Default: `true`"
977
+ },
1001
978
  "van-contact-edit/contact-info": {
1002
979
  "type": "Contact",
1003
980
  "description": "Contact Info, Default: `[]`"
@@ -1140,7 +1117,7 @@
1140
1117
  },
1141
1118
  "van-coupon-list/empty-image": {
1142
1119
  "type": "string",
1143
- "description": "Placeholder image when list is empty, Default: `https://img.yzcdn.cn/vant/coupon-empty.png`"
1120
+ "description": "Placeholder image when list is empty, Default: -"
1144
1121
  },
1145
1122
  "van-coupon-list/show-count": {
1146
1123
  "type": "boolean",
@@ -1196,7 +1173,7 @@
1196
1173
  },
1197
1174
  "van-datetime-picker/swipe-duration": {
1198
1175
  "type": "number | string",
1199
- "description": "Duration of the momentum animationunit `ms`, Default: `1000`"
1176
+ "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
1200
1177
  },
1201
1178
  "van-date-picker/min-date": {
1202
1179
  "type": "Date",
@@ -1240,11 +1217,11 @@
1240
1217
  },
1241
1218
  "van-dialog/message-align": {
1242
1219
  "type": "string",
1243
- "description": "Message aligncan be set to `left` `right`, Default: `center`"
1220
+ "description": "Message align, can be set to `left` `right`, Default: `center`"
1244
1221
  },
1245
1222
  "van-dialog/theme": {
1246
1223
  "type": "string",
1247
- "description": "Theme stylecan be set to `round-button`, Default: `default`"
1224
+ "description": "Theme style, can be set to `round-button`, Default: `default`"
1248
1225
  },
1249
1226
  "van-dialog/show-confirm-button": {
1250
1227
  "type": "boolean",
@@ -1314,18 +1291,6 @@
1314
1291
  "type": "string | Element",
1315
1292
  "description": "Specifies a target element where Dialog will be mounted, Default: -"
1316
1293
  },
1317
- "van-divider/dashed": {
1318
- "type": "boolean",
1319
- "description": "Whether to use dashed border, Default: `false`"
1320
- },
1321
- "van-divider/hairline": {
1322
- "type": "boolean",
1323
- "description": "Whether to use hairline, Default: `true`"
1324
- },
1325
- "van-divider/content-position": {
1326
- "type": "string",
1327
- "description": "Content position,can be set to `left` `right`, Default: `center`"
1328
- },
1329
1294
  "van-dropdown-menu/active-color": {
1330
1295
  "type": "string",
1331
1296
  "description": "Active color of title and option, Default: `#ee0a24`"
@@ -1375,22 +1340,31 @@
1375
1340
  "description": "Whether to lazy render util opened, Default: `true`"
1376
1341
  },
1377
1342
  "van-dropdown-item/title-class": {
1378
- "type": "string | Array \\",
1379
- "description": "Title class, Default: object_",
1380
- "options": [
1381
- "-"
1382
- ]
1343
+ "type": "string | Array | object",
1344
+ "description": "Title class, Default: -"
1383
1345
  },
1384
1346
  "van-dropdown-item/teleport": {
1385
1347
  "type": "string | Element",
1386
1348
  "description": "Specifies a target element where DropdownItem will be mounted, Default: -"
1387
1349
  },
1350
+ "van-divider/dashed": {
1351
+ "type": "boolean",
1352
+ "description": "Whether to use dashed border, Default: `false`"
1353
+ },
1354
+ "van-divider/hairline": {
1355
+ "type": "boolean",
1356
+ "description": "Whether to use hairline, Default: `true`"
1357
+ },
1358
+ "van-divider/content-position": {
1359
+ "type": "string",
1360
+ "description": "Content position, can be set to `left` `right`, Default: `center`"
1361
+ },
1388
1362
  "van-empty/image": {
1389
1363
  "type": "string",
1390
- "description": "Image typecan be set to `error` `network` `search` or image URL, Default: `default`"
1364
+ "description": "Image type, can be set to `error` `network` `search` or image URL, Default: `default`"
1391
1365
  },
1392
1366
  "van-empty/image-size": {
1393
- "type": "number | string",
1367
+ "type": "number | string | Array",
1394
1368
  "description": "Image size, Default: -"
1395
1369
  },
1396
1370
  "van-empty/description": {
@@ -1419,7 +1393,7 @@
1419
1393
  },
1420
1394
  "van-field/size": {
1421
1395
  "type": "string",
1422
- "description": "Sizecan be set to `large`, Default: -"
1396
+ "description": "Size, can be set to `large`, Default: -"
1423
1397
  },
1424
1398
  "van-field/maxlength": {
1425
1399
  "type": "number | string",
@@ -1499,18 +1473,15 @@
1499
1473
  },
1500
1474
  "van-field/format-trigger": {
1501
1475
  "type": "FieldFormatTrigger",
1502
- "description": "When to format valuecan be set to `onBlur`, Default: `onChange`"
1476
+ "description": "When to format value, can be set to `onBlur`, Default: `onChange`"
1503
1477
  },
1504
1478
  "van-field/arrow-direction": {
1505
1479
  "type": "string",
1506
1480
  "description": "Can be set to `left` `up` `down`, Default: `right`"
1507
1481
  },
1508
1482
  "van-field/label-class": {
1509
- "type": "string | Array \\",
1510
- "description": "Label className, Default: object_",
1511
- "options": [
1512
- "-"
1513
- ]
1483
+ "type": "string | Array | object",
1484
+ "description": "Label className, Default: -"
1514
1485
  },
1515
1486
  "van-field/label-width": {
1516
1487
  "type": "number | string",
@@ -1526,7 +1497,7 @@
1526
1497
  },
1527
1498
  "van-field/autosize": {
1528
1499
  "type": "boolean | FieldAutosizeConfig",
1529
- "description": "Textarea auto resizecan accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
1500
+ "description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
1530
1501
  },
1531
1502
  "van-field/left-icon": {
1532
1503
  "type": "string",
@@ -1546,7 +1517,11 @@
1546
1517
  },
1547
1518
  "van-field/autocomplete": {
1548
1519
  "type": "string",
1549
- "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
1520
+ "description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), Default: -"
1521
+ },
1522
+ "van-field/enterkeyhint": {
1523
+ "type": "string",
1524
+ "description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>, Default: -"
1550
1525
  },
1551
1526
  "van-form/label-width": {
1552
1527
  "type": "number | string",
@@ -1565,8 +1540,8 @@
1565
1540
  "description": "Error message align, can be set to `center` `right`, Default: `left`"
1566
1541
  },
1567
1542
  "van-form/validate-trigger": {
1568
- "type": "string",
1569
- "description": "When to validate the formcan be set to `onChange`、`onSubmit`, Default: `onBlur`"
1543
+ "type": "string | string[]",
1544
+ "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values, Default: `onBlur`"
1570
1545
  },
1571
1546
  "van-form/colon": {
1572
1547
  "type": "boolean",
@@ -1632,6 +1607,10 @@
1632
1607
  "type": "string",
1633
1608
  "description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
1634
1609
  },
1610
+ "van-grid/reverse": {
1611
+ "type": "boolean",
1612
+ "description": "Whether to reverse the position of icon and text, Default: `false`"
1613
+ },
1635
1614
  "van-grid-item/text": {
1636
1615
  "type": "string",
1637
1616
  "description": "Text, Default: -"
@@ -1648,10 +1627,6 @@
1648
1627
  "type": "string",
1649
1628
  "description": "Icon color, Default: -"
1650
1629
  },
1651
- "van-grid-item/reverse": {
1652
- "type": "boolean",
1653
- "description": "Whether to reverse the position of icon and text, Default: `false`"
1654
- },
1655
1630
  "van-grid-item/dot": {
1656
1631
  "type": "boolean",
1657
1632
  "description": "Whether to show red dot, Default: `false`"
@@ -1662,7 +1637,7 @@
1662
1637
  },
1663
1638
  "van-grid-item/badge-props": {
1664
1639
  "type": "BadgeProps",
1665
- "description": "Props of Badgesee [Badge - props](#/en-US/badge#props), Default: -"
1640
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
1666
1641
  },
1667
1642
  "van-grid-item/url": {
1668
1643
  "type": "string",
@@ -1684,89 +1659,29 @@
1684
1659
  "type": "boolean",
1685
1660
  "description": "Whether to show red dot, Default: `false`"
1686
1661
  },
1687
- "van-icon/badge": {
1688
- "type": "number | string",
1689
- "description": "Content of the badge, Default: `''`"
1690
- },
1691
- "van-icon/badge-props": {
1692
- "type": "BadgeProps",
1693
- "description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
1694
- },
1695
- "van-icon/color": {
1696
- "type": "string",
1697
- "description": "Icon color, Default: `inherit`"
1698
- },
1699
- "van-icon/size": {
1700
- "type": "number | string",
1701
- "description": "Icon size, Default: `inherit`"
1702
- },
1703
- "van-icon/class-prefix": {
1704
- "type": "string",
1705
- "description": "ClassName prefix, Default: `van-icon`"
1706
- },
1707
- "van-icon/tag": {
1708
- "type": "string",
1709
- "description": "HTML Tag of root element, Default: `i`"
1710
- },
1711
- "van-image/src": {
1712
- "type": "string",
1713
- "description": "Src, Default: -"
1714
- },
1715
- "van-image/fit": {
1716
- "type": "string",
1717
- "description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit), Default: `fill`"
1718
- },
1719
- "van-image/position": {
1720
- "type": "string",
1721
- "description": "Position, same as [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position), can be set to `top` `right` `bottom` `left` or `string`, Default: `center`"
1722
- },
1723
- "van-image/alt": {
1724
- "type": "string",
1725
- "description": "Alt, Default: -"
1726
- },
1727
- "van-image/width": {
1728
- "type": "number | string",
1729
- "description": "Width, Default: -"
1730
- },
1731
- "van-image/height": {
1732
- "type": "number | string",
1733
- "description": "Height, Default: -"
1734
- },
1735
- "van-image/radius": {
1736
- "type": "number | string",
1737
- "description": "Border Radius, Default: `0`"
1738
- },
1739
- "van-image/round": {
1740
- "type": "boolean",
1741
- "description": "Whether to be round, Default: `false`"
1742
- },
1743
- "van-image/lazy-load": {
1744
- "type": "boolean",
1745
- "description": "Whether to enable lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
1746
- },
1747
- "van-image/show-error": {
1748
- "type": "boolean",
1749
- "description": "Whether to show error placeholder, Default: `true`"
1750
- },
1751
- "van-image/show-loading": {
1752
- "type": "boolean",
1753
- "description": "Whether to show loading placeholder, Default: `true`"
1662
+ "van-icon/badge": {
1663
+ "type": "number | string",
1664
+ "description": "Content of the badge, Default: `''`"
1754
1665
  },
1755
- "van-image/error-icon": {
1756
- "type": "string",
1757
- "description": "Error icon, Default: `photo-fail`"
1666
+ "van-icon/badge-props": {
1667
+ "type": "BadgeProps",
1668
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
1758
1669
  },
1759
- "van-image/loading-icon": {
1670
+ "van-icon/color": {
1760
1671
  "type": "string",
1761
- "description": "Loading icon, Default: `photo`"
1672
+ "description": "Icon color, Default: `inherit`"
1762
1673
  },
1763
- "van-image/icon-size": {
1674
+ "van-icon/size": {
1764
1675
  "type": "number | string",
1765
- "description": "Icon size, Default: `32px`"
1676
+ "description": "Icon size, Default: `inherit`"
1766
1677
  },
1767
- "van-image/icon-prefix": {
1678
+ "van-icon/class-prefix": {
1768
1679
  "type": "string",
1769
- "description": "Icon className prefix, Default: `van-icon`"
1680
+ "description": "ClassName prefix, Default: `van-icon`"
1681
+ },
1682
+ "van-icon/tag": {
1683
+ "type": "string",
1684
+ "description": "HTML Tag of root element, Default: `i`"
1770
1685
  },
1771
1686
  "van-image-preview/v-model:show": {
1772
1687
  "type": "boolean",
@@ -1805,11 +1720,8 @@
1805
1720
  "description": "Whether to close when popstate, Default: `true`"
1806
1721
  },
1807
1722
  "van-image-preview/class-name": {
1808
- "type": "string | Array \\",
1809
- "description": "Custom className, Default: object_",
1810
- "options": [
1811
- "-"
1812
- ]
1723
+ "type": "string | Array | object",
1724
+ "description": "Custom className, Default: -"
1813
1725
  },
1814
1726
  "van-image-preview/max-zoom": {
1815
1727
  "type": "number | string",
@@ -1829,18 +1741,15 @@
1829
1741
  },
1830
1742
  "van-image-preview/close-icon-position": {
1831
1743
  "type": "string",
1832
- "description": "Close icon positioncan be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
1744
+ "description": "Close icon position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
1833
1745
  },
1834
1746
  "van-image-preview/transition": {
1835
1747
  "type": "string",
1836
1748
  "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: `van-fade`"
1837
1749
  },
1838
1750
  "van-image-preview/overlay-class": {
1839
- "type": "string | Array \\",
1840
- "description": "Custom overlay class, Default: object_",
1841
- "options": [
1842
- "-"
1843
- ]
1751
+ "type": "string | Array | object",
1752
+ "description": "Custom overlay class, Default: -"
1844
1753
  },
1845
1754
  "van-image-preview/overlay-style": {
1846
1755
  "type": "object",
@@ -1850,6 +1759,66 @@
1850
1759
  "type": "string | Element",
1851
1760
  "description": "Specifies a target element where ImagePreview will be mounted, Default: -"
1852
1761
  },
1762
+ "van-image/src": {
1763
+ "type": "string",
1764
+ "description": "Src, Default: -"
1765
+ },
1766
+ "van-image/fit": {
1767
+ "type": "string",
1768
+ "description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit), Default: `fill`"
1769
+ },
1770
+ "van-image/position": {
1771
+ "type": "string",
1772
+ "description": "Position, same as [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position), can be set to `top` `right` `bottom` `left` or `string`, Default: `center`"
1773
+ },
1774
+ "van-image/alt": {
1775
+ "type": "string",
1776
+ "description": "Alt, Default: -"
1777
+ },
1778
+ "van-image/width": {
1779
+ "type": "number | string",
1780
+ "description": "Width, Default: -"
1781
+ },
1782
+ "van-image/height": {
1783
+ "type": "number | string",
1784
+ "description": "Height, Default: -"
1785
+ },
1786
+ "van-image/radius": {
1787
+ "type": "number | string",
1788
+ "description": "Border Radius, Default: `0`"
1789
+ },
1790
+ "van-image/round": {
1791
+ "type": "boolean",
1792
+ "description": "Whether to be round, Default: `false`"
1793
+ },
1794
+ "van-image/lazy-load": {
1795
+ "type": "boolean",
1796
+ "description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
1797
+ },
1798
+ "van-image/show-error": {
1799
+ "type": "boolean",
1800
+ "description": "Whether to show error placeholder, Default: `true`"
1801
+ },
1802
+ "van-image/show-loading": {
1803
+ "type": "boolean",
1804
+ "description": "Whether to show loading placeholder, Default: `true`"
1805
+ },
1806
+ "van-image/error-icon": {
1807
+ "type": "string",
1808
+ "description": "Error icon, Default: `photo-fail`"
1809
+ },
1810
+ "van-image/loading-icon": {
1811
+ "type": "string",
1812
+ "description": "Loading icon, Default: `photo`"
1813
+ },
1814
+ "van-image/icon-size": {
1815
+ "type": "number | string",
1816
+ "description": "Icon size, Default: `32px`"
1817
+ },
1818
+ "van-image/icon-prefix": {
1819
+ "type": "string",
1820
+ "description": "Icon className prefix, Default: `van-icon`"
1821
+ },
1853
1822
  "van-index-bar/index-list": {
1854
1823
  "type": "string[] | number[]",
1855
1824
  "description": "Index List, Default: `A-Z`"
@@ -1880,15 +1849,15 @@
1880
1849
  },
1881
1850
  "van-list/v-model:loading": {
1882
1851
  "type": "boolean",
1883
- "description": "Whether to show loading infothe `load` event will not be Emitted when loading, Default: `false`"
1852
+ "description": "Whether to show loading info, the `load` event will not be Emitted when loading, Default: `false`"
1884
1853
  },
1885
1854
  "van-list/v-model:error": {
1886
1855
  "type": "boolean",
1887
- "description": "Whether loading is errorthe `load` event will be Emitted only when error text clicked, Default: `false`"
1856
+ "description": "Whether loading is error, the `load` event will be Emitted only when error text clicked, Default: `false`"
1888
1857
  },
1889
1858
  "van-list/finished": {
1890
1859
  "type": "boolean",
1891
- "description": "Whether loading is finishedthe `load` event will not be Emitted when finished, Default: `false`"
1860
+ "description": "Whether loading is finished, the `load` event will not be Emitted when finished, Default: `false`"
1892
1861
  },
1893
1862
  "van-list/offset": {
1894
1863
  "type": "number | string",
@@ -1912,7 +1881,7 @@
1912
1881
  },
1913
1882
  "van-list/direction": {
1914
1883
  "type": "string",
1915
- "description": "Scroll directioncan be set to `up`, Default: `down`"
1884
+ "description": "Scroll direction, can be set to `up`, Default: `down`"
1916
1885
  },
1917
1886
  "van-loading/color": {
1918
1887
  "type": "string",
@@ -2024,7 +1993,7 @@
2024
1993
  },
2025
1994
  "van-number-keyboard/theme": {
2026
1995
  "type": "string",
2027
- "description": "Keyboard themecan be set to `custom`, Default: `default`"
1996
+ "description": "Keyboard theme, can be set to `custom`, Default: `default`"
2028
1997
  },
2029
1998
  "van-number-keyboard/maxlength": {
2030
1999
  "type": "number | string",
@@ -2220,74 +2189,7 @@
2220
2189
  },
2221
2190
  "van-picker/swipe-duration": {
2222
2191
  "type": "number | string",
2223
- "description": "Duration of the momentum animationunit `ms`, Default: `1000`"
2224
- },
2225
- "van-popover/v-model:show": {
2226
- "type": "boolean",
2227
- "description": "Whether to show Popover, Default: `false`"
2228
- },
2229
- "van-popover/actions": {
2230
- "type": "PopoverAction[]",
2231
- "description": "Actions, Default: `[]`"
2232
- },
2233
- "van-popover/placement": {
2234
- "type": "PopoverPlacement",
2235
- "description": "Placement, Default: `bottom`"
2236
- },
2237
- "van-popover/theme": {
2238
- "type": "PopoverTheme",
2239
- "description": "Theme,can be set to `dark`, Default: `light`"
2240
- },
2241
- "van-popover/trigger": {
2242
- "type": "PopoverTrigger",
2243
- "description": "Trigger mode,can be set to `manual`, Default: `click`"
2244
- },
2245
- "van-popover/duration": {
2246
- "type": "number | string",
2247
- "description": "Transition duration, unit second, Default: `0.3`"
2248
- },
2249
- "van-popover/offset": {
2250
- "type": "[number, number]",
2251
- "description": "Distance to reference, Default: `[0, 8]`"
2252
- },
2253
- "van-popover/overlay": {
2254
- "type": "boolean",
2255
- "description": "Whether to show overlay, Default: `false`"
2256
- },
2257
- "van-popover/overlay-class": {
2258
- "type": "string | Array \\",
2259
- "description": "Custom overlay class, Default: object_",
2260
- "options": [
2261
- "-"
2262
- ]
2263
- },
2264
- "van-popover/overlay-style": {
2265
- "type": "object",
2266
- "description": "Custom overlay style, Default: -"
2267
- },
2268
- "van-popover/show-arrow": {
2269
- "type": "boolean",
2270
- "description": "Whether to show arrow, Default: `true`"
2271
- },
2272
- "van-popover/close-on-click-action": {
2273
- "type": "boolean",
2274
- "description": "Whether to close when clicking action, Default: `true`"
2275
- },
2276
- "van-popover/close-on-click-outside": {
2277
- "type": "boolean",
2278
- "description": "Whether to close when clicking outside, Default: `true`"
2279
- },
2280
- "van-popover/close-on-click-overlay": {
2281
- "type": "boolean",
2282
- "description": "Whether to close when clicking overlay, Default: `true`"
2283
- },
2284
- "van-popover/teleport": {
2285
- "type": "string | Element",
2286
- "description": "Specifies a target element where Popover will be mounted, Default: `body`"
2287
- },
2288
- "van-popover/icon-prefix": {
2289
- "type": "string",
2290
- "description": "Icon className prefix, Default: `van-icon`"
2192
+ "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
2291
2193
  },
2292
2194
  "van-popup/v-model:show": {
2293
2195
  "type": "boolean",
@@ -2302,11 +2204,8 @@
2302
2204
  "description": "Can be set to `top` `bottom` `right` `left`, Default: `center`"
2303
2205
  },
2304
2206
  "van-popup/overlay-class": {
2305
- "type": "string | Array \\",
2306
- "description": "Custom overlay class, Default: object_",
2307
- "options": [
2308
- "-"
2309
- ]
2207
+ "type": "string | Array | object",
2208
+ "description": "Custom overlay class, Default: -"
2310
2209
  },
2311
2210
  "van-popup/overlay-style": {
2312
2211
  "type": "object",
@@ -2346,7 +2245,7 @@
2346
2245
  },
2347
2246
  "van-popup/close-icon-position": {
2348
2247
  "type": "string",
2349
- "description": "Close Icon Positioncan be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
2248
+ "description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
2350
2249
  },
2351
2250
  "van-popup/before-close": {
2352
2251
  "type": "(action: string) => boolean | Promise\\<boolean\\>",
@@ -2376,41 +2275,69 @@
2376
2275
  "type": "boolean",
2377
2276
  "description": "Whether to enable bottom safe area adaptation, Default: `false`"
2378
2277
  },
2379
- "van-progress/percentage": {
2380
- "type": "number | string",
2381
- "description": "Percentage, Default: `0`"
2278
+ "van-popover/v-model:show": {
2279
+ "type": "boolean",
2280
+ "description": "Whether to show Popover, Default: `false`"
2382
2281
  },
2383
- "van-progress/stroke-width": {
2282
+ "van-popover/actions": {
2283
+ "type": "PopoverAction[]",
2284
+ "description": "Actions, Default: `[]`"
2285
+ },
2286
+ "van-popover/placement": {
2287
+ "type": "PopoverPlacement",
2288
+ "description": "Placement, Default: `bottom`"
2289
+ },
2290
+ "van-popover/theme": {
2291
+ "type": "PopoverTheme",
2292
+ "description": "Theme, can be set to `dark`, Default: `light`"
2293
+ },
2294
+ "van-popover/trigger": {
2295
+ "type": "PopoverTrigger",
2296
+ "description": "Trigger mode, can be set to `manual`, Default: `click`"
2297
+ },
2298
+ "van-popover/duration": {
2384
2299
  "type": "number | string",
2385
- "description": "Stroke width, Default: `4px`"
2300
+ "description": "Transition duration, unit second, Default: `0.3`"
2386
2301
  },
2387
- "van-progress/color": {
2388
- "type": "string",
2389
- "description": "Color, Default: `#1989fa`"
2302
+ "van-popover/offset": {
2303
+ "type": "[number, number]",
2304
+ "description": "Distance to reference, Default: `[0, 8]`"
2390
2305
  },
2391
- "van-progress/track-color": {
2392
- "type": "string",
2393
- "description": "Track color, Default: `#e5e5e5`"
2306
+ "van-popover/overlay": {
2307
+ "type": "boolean",
2308
+ "description": "Whether to show overlay, Default: `false`"
2394
2309
  },
2395
- "van-progress/pivot-text": {
2396
- "type": "string",
2397
- "description": "Pivot text, Default: percentage"
2310
+ "van-popover/overlay-class": {
2311
+ "type": "string | Array | object",
2312
+ "description": "Custom overlay class, Default: -"
2398
2313
  },
2399
- "van-progress/pivot-color": {
2400
- "type": "string",
2401
- "description": "Pivot text background color, Default: inherit progress color"
2314
+ "van-popover/overlay-style": {
2315
+ "type": "object",
2316
+ "description": "Custom overlay style, Default: -"
2402
2317
  },
2403
- "van-progress/text-color": {
2404
- "type": "string",
2405
- "description": "Pivot text color, Default: `white`"
2318
+ "van-popover/show-arrow": {
2319
+ "type": "boolean",
2320
+ "description": "Whether to show arrow, Default: `true`"
2406
2321
  },
2407
- "van-progress/inactive": {
2322
+ "van-popover/close-on-click-action": {
2408
2323
  "type": "boolean",
2409
- "description": "Whether to be gray, Default: `false`"
2324
+ "description": "Whether to close when clicking action, Default: `true`"
2410
2325
  },
2411
- "van-progress/show-pivot": {
2326
+ "van-popover/close-on-click-outside": {
2412
2327
  "type": "boolean",
2413
- "description": "Whether to show text, Default: `true`"
2328
+ "description": "Whether to close when clicking outside, Default: `true`"
2329
+ },
2330
+ "van-popover/close-on-click-overlay": {
2331
+ "type": "boolean",
2332
+ "description": "Whether to close when clicking overlay, Default: `true`"
2333
+ },
2334
+ "van-popover/teleport": {
2335
+ "type": "string | Element",
2336
+ "description": "Specifies a target element where Popover will be mounted, Default: `body`"
2337
+ },
2338
+ "van-popover/icon-prefix": {
2339
+ "type": "string",
2340
+ "description": "Icon className prefix, Default: `van-icon`"
2414
2341
  },
2415
2342
  "van-pull-refresh/v-model": {
2416
2343
  "type": "boolean",
@@ -2452,6 +2379,42 @@
2452
2379
  "type": "boolean",
2453
2380
  "description": "Whether to disable pull refresh, Default: `false`"
2454
2381
  },
2382
+ "van-progress/percentage": {
2383
+ "type": "number | string",
2384
+ "description": "Percentage, Default: `0`"
2385
+ },
2386
+ "van-progress/stroke-width": {
2387
+ "type": "number | string",
2388
+ "description": "Stroke width, Default: `4px`"
2389
+ },
2390
+ "van-progress/color": {
2391
+ "type": "string",
2392
+ "description": "Color, Default: `#1989fa`"
2393
+ },
2394
+ "van-progress/track-color": {
2395
+ "type": "string",
2396
+ "description": "Track color, Default: `#e5e5e5`"
2397
+ },
2398
+ "van-progress/pivot-text": {
2399
+ "type": "string",
2400
+ "description": "Pivot text, Default: percentage"
2401
+ },
2402
+ "van-progress/pivot-color": {
2403
+ "type": "string",
2404
+ "description": "Pivot text background color, Default: inherit progress color"
2405
+ },
2406
+ "van-progress/text-color": {
2407
+ "type": "string",
2408
+ "description": "Pivot text color, Default: `white`"
2409
+ },
2410
+ "van-progress/inactive": {
2411
+ "type": "boolean",
2412
+ "description": "Whether to be gray, Default: `false`"
2413
+ },
2414
+ "van-progress/show-pivot": {
2415
+ "type": "boolean",
2416
+ "description": "Whether to show text, Default: `true`"
2417
+ },
2455
2418
  "van-radio/name": {
2456
2419
  "type": "any",
2457
2420
  "description": "Radio name, Default: -"
@@ -2634,7 +2597,7 @@
2634
2597
  },
2635
2598
  "van-search/format-trigger": {
2636
2599
  "type": "string",
2637
- "description": "When to format valuecan be set to `onBlur`, Default: `onChange`"
2600
+ "description": "When to format value, can be set to `onBlur`, Default: `onChange`"
2638
2601
  },
2639
2602
  "van-search/input-align": {
2640
2603
  "type": "string",
@@ -2685,11 +2648,8 @@
2685
2648
  "description": "Whether to show overlay, Default: `true`"
2686
2649
  },
2687
2650
  "van-share-sheet/overlay-class": {
2688
- "type": "string | Array \\",
2689
- "description": "Custom overlay class, Default: object_",
2690
- "options": [
2691
- "-"
2692
- ]
2651
+ "type": "string | Array | object",
2652
+ "description": "Custom overlay class, Default: -"
2693
2653
  },
2694
2654
  "van-share-sheet/overlay-style": {
2695
2655
  "type": "object",
@@ -2741,7 +2701,7 @@
2741
2701
  },
2742
2702
  "van-sidebar-item/badge-props": {
2743
2703
  "type": "BadgeProps",
2744
- "description": "Props of Badgesee [Badge - props](#/en-US/badge#props), Default: -"
2704
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
2745
2705
  },
2746
2706
  "van-sidebar-item/disabled": {
2747
2707
  "type": "boolean",
@@ -2764,11 +2724,8 @@
2764
2724
  "description": "Row count, Default: `0`"
2765
2725
  },
2766
2726
  "van-skeleton/row-width": {
2767
- "type": "number | string \\",
2768
- "description": "Row width, can be array, Default: <br>(number \\",
2769
- "options": [
2770
- "string)[]_"
2771
- ]
2727
+ "type": "number | string |<br>(number | string)[]",
2728
+ "description": "Row width, can be array, Default: `100%`"
2772
2729
  },
2773
2730
  "van-skeleton/title": {
2774
2731
  "type": "boolean",
@@ -2780,7 +2737,7 @@
2780
2737
  },
2781
2738
  "van-skeleton/loading": {
2782
2739
  "type": "boolean",
2783
- "description": "Whether to show skeletonpass `false` to show child component, Default: `true`"
2740
+ "description": "Whether to show skeleton, pass `false` to show child component, Default: `true`"
2784
2741
  },
2785
2742
  "van-skeleton/animate": {
2786
2743
  "type": "boolean",
@@ -2800,7 +2757,7 @@
2800
2757
  },
2801
2758
  "van-skeleton/avatar-shape": {
2802
2759
  "type": "string",
2803
- "description": "Shape of avatar placeholdercan be set to `square`, Default: `round`"
2760
+ "description": "Shape of avatar placeholder, can be set to `square`, Default: `round`"
2804
2761
  },
2805
2762
  "van-slider/v-model": {
2806
2763
  "type": "number | [number, number]",
@@ -2919,11 +2876,8 @@
2919
2876
  "description": "Whether to disable input, Default: `false`"
2920
2877
  },
2921
2878
  "van-stepper/before-change": {
2922
- "type": "(value: number | string) => boolean \\",
2923
- "description": "Callback function before changingreturn `false` to prevent changesupport return Promise, Default: Promise\\<boolean\\>_",
2924
- "options": [
2925
- "false"
2926
- ]
2879
+ "type": "(value: number | string) => boolean | Promise\\<boolean\\>",
2880
+ "description": "Callback function before changing, return `false` to prevent change, support return Promise, Default: `false`"
2927
2881
  },
2928
2882
  "van-stepper/show-plus": {
2929
2883
  "type": "boolean",
@@ -3007,7 +2961,7 @@
3007
2961
  },
3008
2962
  "van-submit-bar/label": {
3009
2963
  "type": "string",
3010
- "description": "Price left label, Default: `Total:`"
2964
+ "description": "Price left label, Default: `Total: `"
3011
2965
  },
3012
2966
  "van-submit-bar/suffix-label": {
3013
2967
  "type": "string",
@@ -3234,11 +3188,8 @@
3234
3188
  "description": "Title inactive color, Default: -"
3235
3189
  },
3236
3190
  "van-tabs/before-change": {
3237
- "type": "(name: number | string) => boolean \\",
3238
- "description": "Callback function before changing tabsreturn `false` to prevent changesupport return Promise, Default: Promise\\<boolean\\>_",
3239
- "options": [
3240
- "-"
3241
- ]
3191
+ "type": "(name: number | string) => boolean | Promise\\<boolean\\>",
3192
+ "description": "Callback function before changing tabs, return `false` to prevent change, support return Promise, Default: -"
3242
3193
  },
3243
3194
  "van-tab/title": {
3244
3195
  "type": "string",
@@ -3273,18 +3224,12 @@
3273
3224
  "description": "If true, the navigation will not leave a history record, Default: `false`"
3274
3225
  },
3275
3226
  "van-tab/title-style": {
3276
- "type": "string | Array \\",
3277
- "description": "Custom title style, Default: object_",
3278
- "options": [
3279
- "-"
3280
- ]
3227
+ "type": "string | Array | object",
3228
+ "description": "Custom title style, Default: -"
3281
3229
  },
3282
3230
  "van-tab/title-class": {
3283
- "type": "string | Array \\",
3284
- "description": "Custom title class name, Default: object_",
3285
- "options": [
3286
- "-"
3287
- ]
3231
+ "type": "string | Array | object",
3232
+ "description": "Custom title class name, Default: -"
3288
3233
  },
3289
3234
  "van-tab/show-zero-badge": {
3290
3235
  "type": "boolean",
@@ -3327,11 +3272,8 @@
3327
3272
  "description": "Whether to enable bottom safe area adaptation, Default: `false`"
3328
3273
  },
3329
3274
  "van-tabbar/before-change": {
3330
- "type": "(name: number | string) => boolean \\",
3331
- "description": "Callback function before changing tabreturn `false` to prevent changesupport return Promise, Default: Promise\\<boolean\\>_",
3332
- "options": [
3333
- "-"
3334
- ]
3275
+ "type": "(name: number | string) => boolean | Promise\\<boolean\\>",
3276
+ "description": "Callback function before changing tab, return `false` to prevent change, support return Promise, Default: -"
3335
3277
  },
3336
3278
  "van-tabbar-item/name": {
3337
3279
  "type": "number | string",
@@ -3355,7 +3297,7 @@
3355
3297
  },
3356
3298
  "van-tabbar-item/badge-props": {
3357
3299
  "type": "BadgeProps",
3358
- "description": "Props of Badgesee [Badge - props](#/en-US/badge#props), Default: -"
3300
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
3359
3301
  },
3360
3302
  "van-tabbar-item/url": {
3361
3303
  "type": "string",
@@ -3418,11 +3360,8 @@
3418
3360
  "description": "The index of selected parent node, Default: `0`"
3419
3361
  },
3420
3362
  "van-tree-select/active-id": {
3421
- "type": "number | string \\",
3422
- "description": "Id of selected item, Default: <br>(number \\",
3423
- "options": [
3424
- "string)[]_"
3425
- ]
3363
+ "type": "number | string |<br>(number | string)[]",
3364
+ "description": "Id of selected item, Default: `0`"
3426
3365
  },
3427
3366
  "van-tree-select/max": {
3428
3367
  "type": "number | string",
@@ -3445,7 +3384,7 @@
3445
3384
  "description": "Input name, Default: -"
3446
3385
  },
3447
3386
  "van-uploader/preview-size": {
3448
- "type": "number | string",
3387
+ "type": "number | string | Array",
3449
3388
  "description": "Size of preview image, Default: `80px`"
3450
3389
  },
3451
3390
  "van-uploader/preview-image": {
@@ -3458,7 +3397,7 @@
3458
3397
  },
3459
3398
  "van-uploader/preview-options": {
3460
3399
  "type": "object",
3461
- "description": "Options of full screen image previewsee [ImagePreview](#/en-US/image-preview), Default: -"
3400
+ "description": "Options of full screen image preview, see [ImagePreview](#/en-US/image-preview), Default: -"
3462
3401
  },
3463
3402
  "van-uploader/multiple": {
3464
3403
  "type": "boolean",
@@ -3482,11 +3421,11 @@
3482
3421
  },
3483
3422
  "van-uploader/lazy-load": {
3484
3423
  "type": "boolean",
3485
- "description": "Whether to enable lazy loadshould register [Lazyload](#/en-US/lazyload) component, Default: `false`"
3424
+ "description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
3486
3425
  },
3487
3426
  "van-uploader/capture": {
3488
3427
  "type": "string",
3489
- "description": "Capturecan be set to `camera`, Default: -"
3428
+ "description": "Capture, can be set to `camera`, Default: -"
3490
3429
  },
3491
3430
  "van-uploader/after-read": {
3492
3431
  "type": "Function",
@@ -3501,11 +3440,8 @@
3501
3440
  "description": "Hook before delete the file, return false to stop reading the file, can return Promise, Default: -"
3502
3441
  },
3503
3442
  "van-uploader/max-size": {
3504
- "type": "number | string \\",
3505
- "description": "Max size of file, Default: (file: File) => boolean_",
3506
- "options": [
3507
- "Infinity"
3508
- ]
3443
+ "type": "number | string | (file: File) => boolean",
3444
+ "description": "Max size of file, Default: `Infinity`"
3509
3445
  },
3510
3446
  "van-uploader/max-count": {
3511
3447
  "type": "number | string",