vant 4.0.0-alpha.0 → 4.0.0-alpha.3

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 (581) hide show
  1. package/README.md +141 -0
  2. package/changelog.generated.md +198 -0
  3. package/es/address-edit/AddressEdit.d.ts +0 -17
  4. package/es/address-edit/AddressEdit.js +3 -24
  5. package/es/address-edit/index.d.ts +0 -12
  6. package/es/address-edit/types.d.ts +0 -1
  7. package/es/address-list/AddressListItem.d.ts +3 -2
  8. package/es/address-list/AddressListItem.js +1 -1
  9. package/es/badge/Badge.d.ts +4 -3
  10. package/es/badge/index.d.ts +2 -2
  11. package/es/calendar/Calendar.d.ts +4 -0
  12. package/es/calendar/Calendar.js +3 -1
  13. package/es/calendar/CalendarDay.js +4 -0
  14. package/es/calendar/index.css +1 -1
  15. package/es/calendar/index.d.ts +3 -0
  16. package/es/calendar/index.less +3 -0
  17. package/es/calendar/types.d.ts +2 -1
  18. package/es/cascader/types.d.ts +2 -1
  19. package/es/checkbox/Checker.d.ts +2 -1
  20. package/es/collapse/Collapse.d.ts +7 -6
  21. package/es/collapse/index.d.ts +3 -3
  22. package/es/composables/use-touch.js +1 -1
  23. package/es/config-provider/ConfigProvider.d.ts +4 -3
  24. package/es/config-provider/ConfigProvider.js +2 -0
  25. package/es/config-provider/index.d.ts +2 -2
  26. package/es/contact-list/ContactList.d.ts +3 -2
  27. package/es/coupon/Coupon.d.ts +2 -1
  28. package/es/coupon-list/CouponList.d.ts +3 -13
  29. package/es/coupon-list/CouponList.js +9 -7
  30. package/es/coupon-list/index.css +1 -1
  31. package/es/coupon-list/index.d.ts +2 -9
  32. package/es/coupon-list/index.less +4 -16
  33. package/es/coupon-list/style/index.js +1 -0
  34. package/es/coupon-list/style/less.js +1 -0
  35. package/es/date-picker/DatePicker.js +1 -1
  36. package/es/dialog/index.css +1 -1
  37. package/es/dialog/index.less +2 -0
  38. package/es/dialog/types.d.ts +2 -2
  39. package/es/dropdown-item/types.d.ts +2 -1
  40. package/es/empty/Empty.d.ts +8 -7
  41. package/es/empty/Empty.js +12 -15
  42. package/es/empty/Images.d.ts +4 -0
  43. package/es/empty/Images.js +271 -0
  44. package/es/empty/index.d.ts +2 -2
  45. package/es/field/Field.d.ts +4 -0
  46. package/es/field/Field.js +8 -3
  47. package/es/field/index.d.ts +2 -0
  48. package/es/field/types.d.ts +1 -1
  49. package/es/form/Form.d.ts +13 -13
  50. package/es/form/Form.js +7 -3
  51. package/es/form/index.d.ts +9 -9
  52. package/es/form/types.d.ts +1 -0
  53. package/es/icon/index.css +1 -1
  54. package/es/index-bar/IndexBar.d.ts +5 -4
  55. package/es/index-bar/IndexBar.js +25 -4
  56. package/es/index-bar/index.d.ts +3 -3
  57. package/es/index-bar/types.d.ts +2 -1
  58. package/es/index.d.ts +1 -1
  59. package/es/index.js +1 -1
  60. package/es/loading/Loading.js +3 -1
  61. package/es/locale/lang/bn-BD.d.ts +0 -2
  62. package/es/locale/lang/bn-BD.js +0 -2
  63. package/es/locale/lang/da-DK.d.ts +64 -0
  64. package/es/locale/lang/da-DK.js +66 -0
  65. package/es/locale/lang/de-DE-formal.d.ts +0 -2
  66. package/es/locale/lang/de-DE-formal.js +0 -2
  67. package/es/locale/lang/de-DE.d.ts +0 -2
  68. package/es/locale/lang/de-DE.js +0 -2
  69. package/es/locale/lang/en-US.d.ts +0 -2
  70. package/es/locale/lang/en-US.js +0 -2
  71. package/es/locale/lang/es-ES.d.ts +0 -2
  72. package/es/locale/lang/es-ES.js +0 -2
  73. package/es/locale/lang/fr-FR.d.ts +0 -2
  74. package/es/locale/lang/fr-FR.js +0 -2
  75. package/es/locale/lang/hi-IN.d.ts +0 -2
  76. package/es/locale/lang/hi-IN.js +0 -2
  77. package/es/locale/lang/id-ID.d.ts +0 -2
  78. package/es/locale/lang/id-ID.js +0 -2
  79. package/es/locale/lang/is-IS.d.ts +62 -0
  80. package/es/locale/lang/is-IS.js +72 -0
  81. package/es/locale/lang/it-IT.d.ts +0 -2
  82. package/es/locale/lang/it-IT.js +0 -2
  83. package/es/locale/lang/ja-JP.d.ts +0 -2
  84. package/es/locale/lang/ja-JP.js +0 -2
  85. package/es/locale/lang/ko-KR.d.ts +0 -2
  86. package/es/locale/lang/ko-KR.js +0 -2
  87. package/es/locale/lang/la-LA.d.ts +62 -0
  88. package/es/locale/lang/la-LA.js +64 -0
  89. package/es/locale/lang/nb-NO.d.ts +0 -2
  90. package/es/locale/lang/nb-NO.js +0 -2
  91. package/es/locale/lang/pt-BR.d.ts +0 -2
  92. package/es/locale/lang/pt-BR.js +0 -2
  93. package/es/locale/lang/ro-RO.d.ts +0 -2
  94. package/es/locale/lang/ro-RO.js +0 -2
  95. package/es/locale/lang/ru-RU.d.ts +0 -2
  96. package/es/locale/lang/ru-RU.js +0 -2
  97. package/es/locale/lang/sv-SE.d.ts +62 -0
  98. package/es/locale/lang/sv-SE.js +64 -0
  99. package/es/locale/lang/th-TH.d.ts +0 -2
  100. package/es/locale/lang/th-TH.js +0 -2
  101. package/es/locale/lang/tr-TR.d.ts +0 -2
  102. package/es/locale/lang/tr-TR.js +0 -2
  103. package/es/locale/lang/uk-UA.d.ts +0 -2
  104. package/es/locale/lang/uk-UA.js +0 -2
  105. package/es/locale/lang/vi-VN.d.ts +0 -2
  106. package/es/locale/lang/vi-VN.js +0 -2
  107. package/es/locale/lang/zh-CN.d.ts +0 -2
  108. package/es/locale/lang/zh-CN.js +0 -2
  109. package/es/locale/lang/zh-HK.d.ts +0 -2
  110. package/es/locale/lang/zh-HK.js +0 -2
  111. package/es/locale/lang/zh-TW.d.ts +0 -2
  112. package/es/locale/lang/zh-TW.js +0 -2
  113. package/es/nav-bar/NavBar.d.ts +1 -1
  114. package/es/nav-bar/NavBar.js +3 -3
  115. package/es/nav-bar/index.d.ts +1 -1
  116. package/es/notify/types.d.ts +2 -1
  117. package/es/number-keyboard/NumberKeyboard.js +10 -1
  118. package/es/picker/Picker.d.ts +5 -4
  119. package/es/picker/index.css +1 -1
  120. package/es/picker/index.d.ts +3 -3
  121. package/es/picker/index.less +1 -0
  122. package/es/picker/types.d.ts +4 -3
  123. package/es/picker/utils.d.ts +4 -3
  124. package/es/popup/Popup.d.ts +4 -0
  125. package/es/popup/Popup.js +3 -0
  126. package/es/popup/index.css +1 -1
  127. package/es/popup/index.d.ts +3 -0
  128. package/es/progress/Progress.d.ts +4 -3
  129. package/es/progress/index.d.ts +2 -2
  130. package/es/rate/Rate.js +32 -10
  131. package/es/search/Search.d.ts +3 -0
  132. package/es/search/index.css +1 -1
  133. package/es/search/index.d.ts +2 -0
  134. package/es/search/index.less +1 -1
  135. package/es/share-sheet/ShareSheet.js +25 -11
  136. package/es/share-sheet/index.css +1 -1
  137. package/es/share-sheet/index.less +45 -1
  138. package/es/skeleton/Skeleton.d.ts +5 -4
  139. package/es/skeleton/Skeleton.js +6 -4
  140. package/es/skeleton/index.d.ts +3 -3
  141. package/es/slider/index.css +1 -1
  142. package/es/style/animation.css +1 -1
  143. package/es/style/base.css +1 -1
  144. package/es/style/base.less +5 -0
  145. package/es/swipe-cell/SwipeCell.js +1 -1
  146. package/es/swipe-cell/index.css +1 -1
  147. package/es/tabbar/Tabbar.d.ts +2 -2
  148. package/es/tabs/Tabs.d.ts +1 -1
  149. package/es/tabs/Tabs.js +1 -0
  150. package/es/tabs/types.d.ts +5 -4
  151. package/es/toast/Toast.js +1 -0
  152. package/es/toast/types.d.ts +3 -2
  153. package/es/tree-select/TreeSelect.d.ts +7 -6
  154. package/es/tree-select/index.d.ts +3 -3
  155. package/es/uploader/Uploader.d.ts +4 -4
  156. package/es/uploader/Uploader.js +3 -3
  157. package/es/uploader/UploaderPreviewItem.d.ts +3 -3
  158. package/es/uploader/UploaderPreviewItem.js +9 -6
  159. package/es/uploader/index.d.ts +2 -2
  160. package/es/uploader/types.d.ts +5 -5
  161. package/es/uploader/utils.d.ts +0 -1
  162. package/es/uploader/utils.js +2 -4
  163. package/es/utils/basic.d.ts +2 -0
  164. package/es/utils/basic.js +3 -1
  165. package/es/utils/format.d.ts +7 -6
  166. package/es/utils/format.js +6 -0
  167. package/es/utils/validate.d.ts +2 -1
  168. package/lib/action-bar/ActionBar.js +8 -13
  169. package/lib/action-bar/index.js +9 -16
  170. package/lib/action-bar-button/ActionBarButton.js +8 -13
  171. package/lib/action-bar-button/index.js +9 -16
  172. package/lib/action-bar-icon/ActionBarIcon.js +8 -13
  173. package/lib/action-bar-icon/index.js +9 -16
  174. package/lib/action-sheet/ActionSheet.js +8 -13
  175. package/lib/action-sheet/index.js +9 -16
  176. package/lib/address-edit/AddressEdit.d.ts +0 -17
  177. package/lib/address-edit/AddressEdit.js +12 -40
  178. package/lib/address-edit/AddressEditDetail.js +8 -13
  179. package/lib/address-edit/index.d.ts +0 -12
  180. package/lib/address-edit/index.js +9 -16
  181. package/lib/address-edit/types.d.ts +0 -1
  182. package/lib/address-edit/types.js +7 -12
  183. package/lib/address-list/AddressList.js +9 -16
  184. package/lib/address-list/AddressListItem.d.ts +3 -2
  185. package/lib/address-list/AddressListItem.js +8 -13
  186. package/lib/address-list/index.js +9 -16
  187. package/lib/area/Area.js +8 -13
  188. package/lib/area/index.js +9 -16
  189. package/lib/area/types.js +7 -12
  190. package/lib/area/utils.js +8 -13
  191. package/lib/badge/Badge.d.ts +4 -3
  192. package/lib/badge/Badge.js +8 -13
  193. package/lib/badge/index.d.ts +2 -2
  194. package/lib/badge/index.js +9 -16
  195. package/lib/button/Button.js +8 -13
  196. package/lib/button/index.js +9 -16
  197. package/lib/button/types.js +7 -12
  198. package/lib/calendar/Calendar.d.ts +4 -0
  199. package/lib/calendar/Calendar.js +12 -17
  200. package/lib/calendar/CalendarDay.js +12 -13
  201. package/lib/calendar/CalendarHeader.js +8 -13
  202. package/lib/calendar/CalendarMonth.js +9 -16
  203. package/lib/calendar/index.css +1 -1
  204. package/lib/calendar/index.d.ts +3 -0
  205. package/lib/calendar/index.js +9 -16
  206. package/lib/calendar/index.less +3 -0
  207. package/lib/calendar/types.d.ts +2 -1
  208. package/lib/calendar/types.js +7 -12
  209. package/lib/calendar/utils.js +8 -13
  210. package/lib/card/Card.js +8 -13
  211. package/lib/card/index.js +9 -16
  212. package/lib/cascader/Cascader.js +8 -13
  213. package/lib/cascader/index.js +9 -16
  214. package/lib/cascader/types.d.ts +2 -1
  215. package/lib/cascader/types.js +7 -12
  216. package/lib/cell/Cell.js +8 -13
  217. package/lib/cell/index.js +9 -16
  218. package/lib/cell-group/CellGroup.js +8 -13
  219. package/lib/cell-group/index.js +9 -16
  220. package/lib/checkbox/Checkbox.js +9 -16
  221. package/lib/checkbox/Checker.d.ts +2 -1
  222. package/lib/checkbox/Checker.js +8 -13
  223. package/lib/checkbox/index.js +9 -16
  224. package/lib/checkbox/types.js +7 -12
  225. package/lib/checkbox-group/CheckboxGroup.js +8 -13
  226. package/lib/checkbox-group/index.js +9 -16
  227. package/lib/checkbox-group/types.js +7 -12
  228. package/lib/circle/Circle.js +8 -13
  229. package/lib/circle/index.js +9 -16
  230. package/lib/col/Col.js +8 -13
  231. package/lib/col/index.js +9 -16
  232. package/lib/collapse/Collapse.d.ts +7 -6
  233. package/lib/collapse/Collapse.js +8 -13
  234. package/lib/collapse/index.d.ts +3 -3
  235. package/lib/collapse/index.js +9 -16
  236. package/lib/collapse-item/CollapseItem.js +8 -13
  237. package/lib/collapse-item/index.js +9 -16
  238. package/lib/collapse-item/types.js +7 -12
  239. package/lib/composables/on-popup-reopen.js +8 -13
  240. package/lib/composables/use-expose.js +8 -13
  241. package/lib/composables/use-height.js +8 -13
  242. package/lib/composables/use-id.js +8 -13
  243. package/lib/composables/use-lazy-render.js +8 -13
  244. package/lib/composables/use-lock-scroll.js +8 -13
  245. package/lib/composables/use-placeholder.js +8 -13
  246. package/lib/composables/use-refs.js +8 -13
  247. package/lib/composables/use-route.js +8 -13
  248. package/lib/composables/use-tab-status.js +8 -13
  249. package/lib/composables/use-touch.js +9 -14
  250. package/lib/composables/use-visibility-change.js +8 -13
  251. package/lib/config-provider/ConfigProvider.d.ts +4 -3
  252. package/lib/config-provider/ConfigProvider.js +10 -13
  253. package/lib/config-provider/index.d.ts +2 -2
  254. package/lib/config-provider/index.js +9 -16
  255. package/lib/contact-card/ContactCard.js +8 -13
  256. package/lib/contact-card/index.js +9 -16
  257. package/lib/contact-edit/ContactEdit.js +8 -13
  258. package/lib/contact-edit/index.js +9 -16
  259. package/lib/contact-list/ContactList.d.ts +3 -2
  260. package/lib/contact-list/ContactList.js +8 -13
  261. package/lib/contact-list/index.js +9 -16
  262. package/lib/count-down/CountDown.js +8 -13
  263. package/lib/count-down/index.js +9 -16
  264. package/lib/count-down/types.js +7 -12
  265. package/lib/count-down/utils.js +8 -13
  266. package/lib/coupon/Coupon.d.ts +2 -1
  267. package/lib/coupon/Coupon.js +8 -13
  268. package/lib/coupon/index.js +9 -16
  269. package/lib/coupon/utils.js +8 -13
  270. package/lib/coupon-cell/CouponCell.js +8 -13
  271. package/lib/coupon-cell/index.js +9 -16
  272. package/lib/coupon-list/CouponList.d.ts +3 -13
  273. package/lib/coupon-list/CouponList.js +17 -20
  274. package/lib/coupon-list/index.css +1 -1
  275. package/lib/coupon-list/index.d.ts +2 -9
  276. package/lib/coupon-list/index.js +9 -16
  277. package/lib/coupon-list/index.less +4 -16
  278. package/lib/coupon-list/style/index.js +1 -0
  279. package/lib/coupon-list/style/less.js +1 -0
  280. package/lib/date-picker/DatePicker.js +9 -14
  281. package/lib/date-picker/index.js +9 -16
  282. package/lib/date-picker/utils.js +8 -13
  283. package/lib/dialog/Dialog.js +8 -13
  284. package/lib/dialog/function-call.js +9 -16
  285. package/lib/dialog/index.css +1 -1
  286. package/lib/dialog/index.js +8 -13
  287. package/lib/dialog/index.less +2 -0
  288. package/lib/dialog/types.d.ts +2 -2
  289. package/lib/dialog/types.js +7 -12
  290. package/lib/divider/Divider.js +8 -13
  291. package/lib/divider/index.js +9 -16
  292. package/lib/dropdown-item/DropdownItem.js +8 -13
  293. package/lib/dropdown-item/index.js +9 -16
  294. package/lib/dropdown-item/types.d.ts +2 -1
  295. package/lib/dropdown-item/types.js +7 -12
  296. package/lib/dropdown-menu/DropdownMenu.js +8 -13
  297. package/lib/dropdown-menu/index.js +9 -16
  298. package/lib/dropdown-menu/types.js +7 -12
  299. package/lib/empty/Empty.d.ts +8 -7
  300. package/lib/empty/Empty.js +19 -27
  301. package/lib/empty/Images.d.ts +4 -0
  302. package/lib/empty/Images.js +290 -0
  303. package/lib/empty/index.d.ts +2 -2
  304. package/lib/empty/index.js +9 -16
  305. package/lib/field/Field.d.ts +4 -0
  306. package/lib/field/Field.js +15 -15
  307. package/lib/field/index.d.ts +2 -0
  308. package/lib/field/index.js +9 -16
  309. package/lib/field/types.d.ts +1 -1
  310. package/lib/field/types.js +7 -12
  311. package/lib/field/utils.js +8 -13
  312. package/lib/form/Form.d.ts +13 -13
  313. package/lib/form/Form.js +14 -15
  314. package/lib/form/index.d.ts +9 -9
  315. package/lib/form/index.js +9 -16
  316. package/lib/form/types.d.ts +1 -0
  317. package/lib/form/types.js +7 -12
  318. package/lib/grid/Grid.js +8 -13
  319. package/lib/grid/index.js +9 -16
  320. package/lib/grid-item/GridItem.js +8 -13
  321. package/lib/grid-item/index.js +9 -16
  322. package/lib/icon/Icon.js +8 -13
  323. package/lib/icon/index.css +1 -1
  324. package/lib/icon/index.js +9 -16
  325. package/lib/image/Image.js +8 -13
  326. package/lib/image/index.js +9 -16
  327. package/lib/image-preview/ImagePreview.js +9 -16
  328. package/lib/image-preview/ImagePreviewItem.js +8 -13
  329. package/lib/image-preview/function-call.js +9 -16
  330. package/lib/image-preview/index.js +8 -13
  331. package/lib/image-preview/types.js +7 -12
  332. package/lib/index-anchor/IndexAnchor.js +8 -13
  333. package/lib/index-anchor/index.js +9 -16
  334. package/lib/index-bar/IndexBar.d.ts +5 -4
  335. package/lib/index-bar/IndexBar.js +33 -17
  336. package/lib/index-bar/index.d.ts +3 -3
  337. package/lib/index-bar/index.js +9 -16
  338. package/lib/index-bar/types.d.ts +2 -1
  339. package/lib/index-bar/types.js +7 -12
  340. package/lib/index.css +1 -1
  341. package/lib/index.d.ts +1 -1
  342. package/lib/index.js +97 -101
  343. package/lib/index.less +2 -2
  344. package/lib/lazyload/index.js +8 -13
  345. package/lib/lazyload/vue-lazyload/index.js +9 -16
  346. package/lib/lazyload/vue-lazyload/lazy-component.js +8 -13
  347. package/lib/lazyload/vue-lazyload/lazy-container.js +8 -13
  348. package/lib/lazyload/vue-lazyload/lazy-image.js +8 -13
  349. package/lib/lazyload/vue-lazyload/lazy.js +9 -16
  350. package/lib/lazyload/vue-lazyload/listener.js +8 -13
  351. package/lib/lazyload/vue-lazyload/util.js +8 -13
  352. package/lib/list/List.js +8 -13
  353. package/lib/list/index.js +9 -16
  354. package/lib/list/types.js +7 -12
  355. package/lib/loading/Loading.js +11 -14
  356. package/lib/loading/index.js +9 -16
  357. package/lib/locale/index.js +9 -16
  358. package/lib/locale/lang/bn-BD.d.ts +0 -2
  359. package/lib/locale/lang/bn-BD.js +8 -15
  360. package/lib/locale/lang/da-DK.d.ts +64 -0
  361. package/lib/locale/lang/da-DK.js +85 -0
  362. package/lib/locale/lang/de-DE-formal.d.ts +0 -2
  363. package/lib/locale/lang/de-DE-formal.js +8 -15
  364. package/lib/locale/lang/de-DE.d.ts +0 -2
  365. package/lib/locale/lang/de-DE.js +8 -15
  366. package/lib/locale/lang/en-US.d.ts +0 -2
  367. package/lib/locale/lang/en-US.js +8 -15
  368. package/lib/locale/lang/es-ES.d.ts +0 -2
  369. package/lib/locale/lang/es-ES.js +8 -15
  370. package/lib/locale/lang/fr-FR.d.ts +0 -2
  371. package/lib/locale/lang/fr-FR.js +8 -15
  372. package/lib/locale/lang/hi-IN.d.ts +0 -2
  373. package/lib/locale/lang/hi-IN.js +8 -15
  374. package/lib/locale/lang/id-ID.d.ts +0 -2
  375. package/lib/locale/lang/id-ID.js +8 -15
  376. package/lib/locale/lang/is-IS.d.ts +62 -0
  377. package/lib/locale/lang/is-IS.js +91 -0
  378. package/lib/locale/lang/it-IT.d.ts +0 -2
  379. package/lib/locale/lang/it-IT.js +8 -15
  380. package/lib/locale/lang/ja-JP.d.ts +0 -2
  381. package/lib/locale/lang/ja-JP.js +8 -15
  382. package/lib/locale/lang/ko-KR.d.ts +0 -2
  383. package/lib/locale/lang/ko-KR.js +8 -15
  384. package/lib/locale/lang/la-LA.d.ts +62 -0
  385. package/lib/locale/lang/la-LA.js +83 -0
  386. package/lib/locale/lang/nb-NO.d.ts +0 -2
  387. package/lib/locale/lang/nb-NO.js +8 -15
  388. package/lib/locale/lang/pt-BR.d.ts +0 -2
  389. package/lib/locale/lang/pt-BR.js +8 -15
  390. package/lib/locale/lang/ro-RO.d.ts +0 -2
  391. package/lib/locale/lang/ro-RO.js +8 -15
  392. package/lib/locale/lang/ru-RU.d.ts +0 -2
  393. package/lib/locale/lang/ru-RU.js +8 -15
  394. package/lib/locale/lang/sv-SE.d.ts +62 -0
  395. package/lib/locale/lang/sv-SE.js +83 -0
  396. package/lib/locale/lang/th-TH.d.ts +0 -2
  397. package/lib/locale/lang/th-TH.js +8 -15
  398. package/lib/locale/lang/tr-TR.d.ts +0 -2
  399. package/lib/locale/lang/tr-TR.js +8 -15
  400. package/lib/locale/lang/uk-UA.d.ts +0 -2
  401. package/lib/locale/lang/uk-UA.js +8 -15
  402. package/lib/locale/lang/vi-VN.d.ts +0 -2
  403. package/lib/locale/lang/vi-VN.js +8 -15
  404. package/lib/locale/lang/zh-CN.d.ts +0 -2
  405. package/lib/locale/lang/zh-CN.js +8 -15
  406. package/lib/locale/lang/zh-HK.d.ts +0 -2
  407. package/lib/locale/lang/zh-HK.js +8 -15
  408. package/lib/locale/lang/zh-TW.d.ts +0 -2
  409. package/lib/locale/lang/zh-TW.js +8 -15
  410. package/lib/nav-bar/NavBar.d.ts +1 -1
  411. package/lib/nav-bar/NavBar.js +11 -16
  412. package/lib/nav-bar/index.d.ts +1 -1
  413. package/lib/nav-bar/index.js +9 -16
  414. package/lib/notice-bar/NoticeBar.js +8 -13
  415. package/lib/notice-bar/index.js +9 -16
  416. package/lib/notice-bar/types.js +7 -12
  417. package/lib/notify/Notify.js +8 -13
  418. package/lib/notify/function-call.js +9 -16
  419. package/lib/notify/index.js +8 -13
  420. package/lib/notify/types.d.ts +2 -1
  421. package/lib/notify/types.js +7 -12
  422. package/lib/number-keyboard/NumberKeyboard.js +19 -17
  423. package/lib/number-keyboard/NumberKeyboardKey.js +8 -13
  424. package/lib/number-keyboard/index.js +9 -16
  425. package/lib/overlay/Overlay.js +8 -13
  426. package/lib/overlay/index.js +9 -16
  427. package/lib/pagination/Pagination.js +8 -13
  428. package/lib/pagination/index.js +9 -16
  429. package/lib/password-input/PasswordInput.js +8 -13
  430. package/lib/password-input/index.js +9 -16
  431. package/lib/picker/Picker.d.ts +5 -4
  432. package/lib/picker/Picker.js +9 -16
  433. package/lib/picker/PickerColumn.js +8 -13
  434. package/lib/picker/index.css +1 -1
  435. package/lib/picker/index.d.ts +3 -3
  436. package/lib/picker/index.js +9 -16
  437. package/lib/picker/index.less +1 -0
  438. package/lib/picker/types.d.ts +4 -3
  439. package/lib/picker/types.js +7 -12
  440. package/lib/picker/utils.d.ts +4 -3
  441. package/lib/picker/utils.js +8 -13
  442. package/lib/popover/Popover.js +8 -13
  443. package/lib/popover/index.js +9 -16
  444. package/lib/popover/types.js +7 -12
  445. package/lib/popup/Popup.d.ts +4 -0
  446. package/lib/popup/Popup.js +11 -13
  447. package/lib/popup/index.css +1 -1
  448. package/lib/popup/index.d.ts +3 -0
  449. package/lib/popup/index.js +9 -16
  450. package/lib/popup/shared.js +8 -13
  451. package/lib/popup/types.js +7 -12
  452. package/lib/progress/Progress.d.ts +4 -3
  453. package/lib/progress/Progress.js +8 -13
  454. package/lib/progress/index.d.ts +2 -2
  455. package/lib/progress/index.js +9 -16
  456. package/lib/progress/types.js +7 -12
  457. package/lib/pull-refresh/PullRefresh.js +8 -13
  458. package/lib/pull-refresh/index.js +9 -16
  459. package/lib/radio/Radio.js +9 -16
  460. package/lib/radio/index.js +9 -16
  461. package/lib/radio-group/RadioGroup.js +8 -13
  462. package/lib/radio-group/index.js +9 -16
  463. package/lib/rate/Rate.js +39 -22
  464. package/lib/rate/index.js +9 -16
  465. package/lib/row/Row.js +8 -13
  466. package/lib/row/index.js +9 -16
  467. package/lib/search/Search.d.ts +3 -0
  468. package/lib/search/Search.js +8 -13
  469. package/lib/search/index.css +1 -1
  470. package/lib/search/index.d.ts +2 -0
  471. package/lib/search/index.js +9 -16
  472. package/lib/search/index.less +1 -1
  473. package/lib/search/types.js +7 -12
  474. package/lib/share-sheet/ShareSheet.js +33 -24
  475. package/lib/share-sheet/index.css +1 -1
  476. package/lib/share-sheet/index.js +9 -16
  477. package/lib/share-sheet/index.less +45 -1
  478. package/lib/sidebar/Sidebar.js +8 -13
  479. package/lib/sidebar/index.js +9 -16
  480. package/lib/sidebar-item/SidebarItem.js +8 -13
  481. package/lib/sidebar-item/index.js +9 -16
  482. package/lib/skeleton/Skeleton.d.ts +5 -4
  483. package/lib/skeleton/Skeleton.js +13 -16
  484. package/lib/skeleton/index.d.ts +3 -3
  485. package/lib/skeleton/index.js +9 -16
  486. package/lib/slider/Slider.js +8 -13
  487. package/lib/slider/index.css +1 -1
  488. package/lib/slider/index.js +9 -16
  489. package/lib/step/Step.js +8 -13
  490. package/lib/step/index.js +9 -16
  491. package/lib/stepper/Stepper.js +8 -13
  492. package/lib/stepper/index.js +9 -16
  493. package/lib/steps/Steps.js +8 -13
  494. package/lib/steps/index.js +9 -16
  495. package/lib/sticky/Sticky.js +8 -13
  496. package/lib/sticky/index.js +9 -16
  497. package/lib/style/animation.css +1 -1
  498. package/lib/style/base.css +1 -1
  499. package/lib/style/base.less +5 -0
  500. package/lib/submit-bar/SubmitBar.js +8 -13
  501. package/lib/submit-bar/index.js +9 -16
  502. package/lib/swipe/Swipe.js +8 -13
  503. package/lib/swipe/index.js +9 -16
  504. package/lib/swipe/types.js +7 -12
  505. package/lib/swipe-cell/SwipeCell.js +9 -14
  506. package/lib/swipe-cell/index.css +1 -1
  507. package/lib/swipe-cell/index.js +9 -16
  508. package/lib/swipe-cell/types.js +7 -12
  509. package/lib/swipe-item/SwipeItem.js +8 -13
  510. package/lib/swipe-item/index.js +9 -16
  511. package/lib/switch/Switch.js +8 -13
  512. package/lib/switch/index.js +9 -16
  513. package/lib/tab/Tab.js +8 -13
  514. package/lib/tab/index.js +9 -16
  515. package/lib/tabbar/Tabbar.d.ts +2 -2
  516. package/lib/tabbar/Tabbar.js +8 -13
  517. package/lib/tabbar/index.js +9 -16
  518. package/lib/tabbar-item/TabbarItem.js +8 -13
  519. package/lib/tabbar-item/index.js +9 -16
  520. package/lib/tabs/Tabs.d.ts +1 -1
  521. package/lib/tabs/Tabs.js +10 -16
  522. package/lib/tabs/TabsContent.js +8 -13
  523. package/lib/tabs/TabsTitle.js +8 -13
  524. package/lib/tabs/index.js +9 -16
  525. package/lib/tabs/types.d.ts +5 -4
  526. package/lib/tabs/types.js +7 -12
  527. package/lib/tabs/utils.js +8 -13
  528. package/lib/tag/Tag.js +8 -13
  529. package/lib/tag/index.js +9 -16
  530. package/lib/time-picker/TimePicker.js +8 -13
  531. package/lib/time-picker/index.js +9 -16
  532. package/lib/toast/Toast.js +9 -13
  533. package/lib/toast/function-call.js +9 -16
  534. package/lib/toast/index.js +8 -13
  535. package/lib/toast/lock-click.js +8 -13
  536. package/lib/toast/types.d.ts +3 -2
  537. package/lib/toast/types.js +7 -12
  538. package/lib/tree-select/TreeSelect.d.ts +7 -6
  539. package/lib/tree-select/TreeSelect.js +8 -13
  540. package/lib/tree-select/index.d.ts +3 -3
  541. package/lib/tree-select/index.js +9 -16
  542. package/lib/uploader/Uploader.d.ts +4 -4
  543. package/lib/uploader/Uploader.js +11 -18
  544. package/lib/uploader/UploaderPreviewItem.d.ts +3 -3
  545. package/lib/uploader/UploaderPreviewItem.js +17 -19
  546. package/lib/uploader/index.d.ts +2 -2
  547. package/lib/uploader/index.js +9 -16
  548. package/lib/uploader/types.d.ts +5 -5
  549. package/lib/uploader/types.js +7 -12
  550. package/lib/uploader/utils.d.ts +0 -1
  551. package/lib/uploader/utils.js +10 -17
  552. package/lib/utils/basic.d.ts +2 -0
  553. package/lib/utils/basic.js +11 -14
  554. package/lib/utils/constant.js +8 -13
  555. package/lib/utils/create.js +9 -16
  556. package/lib/utils/deep-assign.js +8 -13
  557. package/lib/utils/deep-clone.js +8 -13
  558. package/lib/utils/dom.js +8 -13
  559. package/lib/utils/format.d.ts +7 -6
  560. package/lib/utils/format.js +14 -13
  561. package/lib/utils/index.js +17 -21
  562. package/lib/utils/interceptor.js +8 -13
  563. package/lib/utils/mount-component.js +8 -13
  564. package/lib/utils/props.js +8 -13
  565. package/lib/utils/validate.d.ts +2 -1
  566. package/lib/utils/validate.js +8 -13
  567. package/lib/utils/with-install.js +8 -13
  568. package/lib/vant.cjs.js +538 -284
  569. package/lib/vant.cjs.min.js +1 -1
  570. package/lib/vant.es.js +538 -284
  571. package/lib/vant.es.min.js +538 -284
  572. package/lib/vant.js +538 -284
  573. package/lib/vant.min.js +1 -1
  574. package/package.json +4 -4
  575. package/vetur/attributes.json +388 -452
  576. package/vetur/tags.json +108 -106
  577. package/vetur/web-types.json +2027 -1172
  578. package/es/empty/Network.d.ts +0 -1
  579. package/es/empty/Network.js +0 -89
  580. package/lib/empty/Network.d.ts +0 -1
  581. package/lib/empty/Network.js +0 -113
@@ -16,11 +16,8 @@
16
16
  "description": "Icon color, Default: `#323233`"
17
17
  },
18
18
  "van-action-bar-icon/icon-class": {
19
- "type": "string | Array \\",
20
- "description": "Icon class name, Default: object_",
21
- "options": [
22
- "''"
23
- ]
19
+ "type": "string | Array | object",
20
+ "description": "Icon class name, Default: `''`"
24
21
  },
25
22
  "van-action-bar-icon/icon-prefix": {
26
23
  "type": "string",
@@ -36,7 +33,7 @@
36
33
  },
37
34
  "van-action-bar-icon/badge-props": {
38
35
  "type": "BadgeProps",
39
- "description": "Props of Badgesee [Badge - props](#/en-US/badge#props), Default: -"
36
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
40
37
  },
41
38
  "van-action-bar-icon/url": {
42
39
  "type": "string",
@@ -127,11 +124,8 @@
127
124
  "description": "Whether to show overlay, Default: `true`"
128
125
  },
129
126
  "van-action-sheet/overlay-class": {
130
- "type": "string | Array \\",
131
- "description": "Custom overlay class, Default: object_",
132
- "options": [
133
- "-"
134
- ]
127
+ "type": "string | Array | object",
128
+ "description": "Custom overlay class, Default: -"
135
129
  },
136
130
  "van-action-sheet/overlay-style": {
137
131
  "type": "object",
@@ -189,10 +183,6 @@
189
183
  "type": "AddressEditSearchItem[]",
190
184
  "description": "Address search result, Default: `[]`"
191
185
  },
192
- "van-address-edit/show-postal": {
193
- "type": "boolean",
194
- "description": "Whether to show postal field, Default: `false`"
195
- },
196
186
  "van-address-edit/show-delete": {
197
187
  "type": "boolean",
198
188
  "description": "Whether to show delete button, Default: `false`"
@@ -249,10 +239,6 @@
249
239
  "type": "number | string",
250
240
  "description": "Tel maxlength, Default: -"
251
241
  },
252
- "van-address-edit/postal-validator": {
253
- "type": "(tel: string) => boolean",
254
- "description": "The method to validate postal, Default: -"
255
- },
256
242
  "van-address-edit/validator": {
257
243
  "type": "(key, val) => string",
258
244
  "description": "Custom validator, Default: -"
@@ -285,6 +271,34 @@
285
271
  "type": "string",
286
272
  "description": "Default tag text, Default: -"
287
273
  },
274
+ "van-badge/content": {
275
+ "type": "number | string",
276
+ "description": "Badge content, Default: -"
277
+ },
278
+ "van-badge/color": {
279
+ "type": "string",
280
+ "description": "Background color, Default: `#ee0a24`"
281
+ },
282
+ "van-badge/dot": {
283
+ "type": "boolean",
284
+ "description": "Whether to show dot, Default: `false`"
285
+ },
286
+ "van-badge/max": {
287
+ "type": "number | string",
288
+ "description": "Max value, show `{max}+` when exceed, only works when content is number, Default: -"
289
+ },
290
+ "van-badge/offset": {
291
+ "type": "[number | string, number | string]",
292
+ "description": "Offset of badge dot, Default: -"
293
+ },
294
+ "van-badge/show-zero": {
295
+ "type": "boolean",
296
+ "description": "Whether to show badge when content is zero, Default: `true`"
297
+ },
298
+ "van-badge/position": {
299
+ "type": "string",
300
+ "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
301
+ },
288
302
  "van-area/v-model": {
289
303
  "type": "string",
290
304
  "description": "the `code` of selected area, Default: -"
@@ -331,38 +345,7 @@
331
345
  },
332
346
  "van-area/swipe-duration": {
333
347
  "type": "number | string",
334
- "description": "Duration of the momentum animationunit `ms`, Default: `1000`"
335
- },
336
- "van-badge/content": {
337
- "type": "number | string",
338
- "description": "Badge content, Default: -"
339
- },
340
- "van-badge/color": {
341
- "type": "string",
342
- "description": "Background color, Default: `#ee0a24`"
343
- },
344
- "van-badge/dot": {
345
- "type": "boolean",
346
- "description": "Whether to show dot, Default: `false`"
347
- },
348
- "van-badge/max": {
349
- "type": "number | string",
350
- "description": "Max value,show `{max}+` when exceed,only works when content is number, Default: -"
351
- },
352
- "van-badge/offset": {
353
- "type": "[number | string, number \\",
354
- "description": "Offset of badge dot, Default: string]_",
355
- "options": [
356
- "-"
357
- ]
358
- },
359
- "van-badge/show-zero": {
360
- "type": "boolean",
361
- "description": "Whether to show badge when content is zero, Default: `true`"
362
- },
363
- "van-badge/position": {
364
- "type": "string",
365
- "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
348
+ "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
366
349
  },
367
350
  "van-button/type": {
368
351
  "type": "string",
@@ -450,7 +433,7 @@
450
433
  },
451
434
  "van-calendar/type": {
452
435
  "type": "string",
453
- "description": "Typecan be set to `range` `multiple`, Default: `single`"
436
+ "description": "Type, can be set to `range` `multiple`, Default: `single`"
454
437
  },
455
438
  "van-calendar/title": {
456
439
  "type": "string",
@@ -469,11 +452,8 @@
469
452
  "description": "Max date, Default: Six months after the today"
470
453
  },
471
454
  "van-calendar/default-date": {
472
- "type": "Date | Date[] \\",
473
- "description": "Default selected date, Default: null_",
474
- "options": [
475
- "Today"
476
- ]
455
+ "type": "Date | Date[] | null",
456
+ "description": "Default selected date, Default: Today"
477
457
  },
478
458
  "van-calendar/row-height": {
479
459
  "type": "number | string",
@@ -543,6 +523,10 @@
543
523
  "type": "boolean",
544
524
  "description": "Whether to close when overlay is clicked, Default: `true`"
545
525
  },
526
+ "van-calendar/safe-area-inset-top": {
527
+ "type": "boolean",
528
+ "description": "Whether to enable top safe area adaptation, Default: `false`"
529
+ },
546
530
  "van-calendar/safe-area-inset-bottom": {
547
531
  "type": "boolean",
548
532
  "description": "Whether to enable bottom safe area adaptation, Default: `true`"
@@ -609,7 +593,7 @@
609
593
  },
610
594
  "van-card/lazy-load": {
611
595
  "type": "boolean",
612
- "description": "Whether to enable thumb lazy loadshould register [Lazyload](#/en-US/lazyload) component, Default: `false`"
596
+ "description": "Whether to enable thumb lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
613
597
  },
614
598
  "van-cascader/title": {
615
599
  "type": "string",
@@ -677,7 +661,7 @@
677
661
  },
678
662
  "van-cell/size": {
679
663
  "type": "string",
680
- "description": "Sizecan be set to `large`, Default: -"
664
+ "description": "Size, can be set to `large`, Default: -"
681
665
  },
682
666
  "van-cell/icon": {
683
667
  "type": "string",
@@ -724,32 +708,20 @@
724
708
  "description": "Can be set to `left` `up` `down`, Default: `right`"
725
709
  },
726
710
  "van-cell/title-style": {
727
- "type": "string | Array \\",
728
- "description": "Title style, Default: object_",
729
- "options": [
730
- "-"
731
- ]
711
+ "type": "string | Array | object",
712
+ "description": "Title style, Default: -"
732
713
  },
733
714
  "van-cell/title-class": {
734
- "type": "string | Array \\",
735
- "description": "Title className, Default: object_",
736
- "options": [
737
- "-"
738
- ]
715
+ "type": "string | Array | object",
716
+ "description": "Title className, Default: -"
739
717
  },
740
718
  "van-cell/value-class": {
741
- "type": "string | Array \\",
742
- "description": "Value className, Default: object_",
743
- "options": [
744
- "-"
745
- ]
719
+ "type": "string | Array | object",
720
+ "description": "Value className, Default: -"
746
721
  },
747
722
  "van-cell/label-class": {
748
- "type": "string | Array \\",
749
- "description": "Label className, Default: object_",
750
- "options": [
751
- "-"
752
- ]
723
+ "type": "string | Array | object",
724
+ "description": "Label className, Default: -"
753
725
  },
754
726
  "van-checkbox/v-model": {
755
727
  "type": "boolean",
@@ -849,7 +821,7 @@
849
821
  },
850
822
  "van-circle/stroke-linecap": {
851
823
  "type": "string",
852
- "description": "Stroke linecapcan be set to `square` `butt`, Default: `round`"
824
+ "description": "Stroke linecap, can be set to `square` `butt`, Default: `round`"
853
825
  },
854
826
  "van-circle/clockwise": {
855
827
  "type": "boolean",
@@ -857,7 +829,7 @@
857
829
  },
858
830
  "van-circle/start-position": {
859
831
  "type": "CircleStartPosition",
860
- "description": "Progress start positioncan be set to `left`、`right`、`bottom`, Default: `top`"
832
+ "description": "Progress start position, can be set to `left`、`right`、`bottom`, Default: `top`"
861
833
  },
862
834
  "van-row/gutter": {
863
835
  "type": "number | string",
@@ -869,7 +841,7 @@
869
841
  },
870
842
  "van-row/justify": {
871
843
  "type": "string",
872
- "description": "Flex main axiscan be set to end/center/space-around/space-between, Default: `start`"
844
+ "description": "Flex main axis, can be set to end/center/space-around/space-between, Default: `start`"
873
845
  },
874
846
  "van-row/align": {
875
847
  "type": "string",
@@ -892,11 +864,8 @@
892
864
  "description": "Custom element tag, Default: `div`"
893
865
  },
894
866
  "van-collapse/v-model": {
895
- "type": "accordion mode _number | string_<br>non-accordion mode_(number \\",
896
- "description": "Names of current active panels, Default: string)[]_",
897
- "options": [
898
- "-"
899
- ]
867
+ "type": "accordion mode: _number | string_<br>non-accordion mode: _(number | string)[]",
868
+ "description": "Names of current active panels, Default: -"
900
869
  },
901
870
  "van-collapse/accordion": {
902
871
  "type": "boolean",
@@ -916,7 +885,7 @@
916
885
  },
917
886
  "van-collapse-item/size": {
918
887
  "type": "string",
919
- "description": "Title sizecan be set to `large`, Default: -"
888
+ "description": "Title size, can be set to `large`, Default: -"
920
889
  },
921
890
  "van-collapse-item/title": {
922
891
  "type": "number | string",
@@ -978,22 +947,6 @@
978
947
  "type": "string",
979
948
  "description": "Icon className prefix, Default: `van-icon`"
980
949
  },
981
- "van-contact-card/type": {
982
- "type": "string",
983
- "description": "Can be set to `edit`, Default: `add`"
984
- },
985
- "van-contact-card/name": {
986
- "type": "string",
987
- "description": "Name, Default: -"
988
- },
989
- "van-contact-card/tel": {
990
- "type": "string",
991
- "description": "Phone, Default: -"
992
- },
993
- "van-contact-card/add-text": {
994
- "type": "string",
995
- "description": "Add card text, Default: `Add contact info`"
996
- },
997
950
  "van-contact-edit/contact-info": {
998
951
  "type": "Contact",
999
952
  "description": "Contact Info, Default: `[]`"
@@ -1022,6 +975,26 @@
1022
975
  "type": "string",
1023
976
  "description": "default contact switch label, Default: -"
1024
977
  },
978
+ "van-contact-card/type": {
979
+ "type": "string",
980
+ "description": "Can be set to `edit`, Default: `add`"
981
+ },
982
+ "van-contact-card/name": {
983
+ "type": "string",
984
+ "description": "Name, Default: -"
985
+ },
986
+ "van-contact-card/tel": {
987
+ "type": "string",
988
+ "description": "Phone, Default: -"
989
+ },
990
+ "van-contact-card/add-text": {
991
+ "type": "string",
992
+ "description": "Add card text, Default: `Add contact info`"
993
+ },
994
+ "van-contact-card/editable": {
995
+ "type": "boolean",
996
+ "description": "Whether to allow editing of contacts, Default: `true`"
997
+ },
1025
998
  "van-contact-list/v-model": {
1026
999
  "type": "number | string",
1027
1000
  "description": "Id of chosen contact, Default: -"
@@ -1136,7 +1109,7 @@
1136
1109
  },
1137
1110
  "van-coupon-list/empty-image": {
1138
1111
  "type": "string",
1139
- "description": "Placeholder image when list is empty, Default: `https://img.yzcdn.cn/vant/coupon-empty.png`"
1112
+ "description": "Placeholder image when list is empty, Default: -"
1140
1113
  },
1141
1114
  "van-coupon-list/show-count": {
1142
1115
  "type": "boolean",
@@ -1200,7 +1173,19 @@
1200
1173
  },
1201
1174
  "van-date-picker/swipe-duration": {
1202
1175
  "type": "number | string",
1203
- "description": "Duration of the momentum animationunit `ms`, Default: `1000`"
1176
+ "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
1177
+ },
1178
+ "van-divider/dashed": {
1179
+ "type": "boolean",
1180
+ "description": "Whether to use dashed border, Default: `false`"
1181
+ },
1182
+ "van-divider/hairline": {
1183
+ "type": "boolean",
1184
+ "description": "Whether to use hairline, Default: `true`"
1185
+ },
1186
+ "van-divider/content-position": {
1187
+ "type": "string",
1188
+ "description": "Content position, can be set to `left` `right`, Default: `center`"
1204
1189
  },
1205
1190
  "van-dialog/v-model:show": {
1206
1191
  "type": "boolean",
@@ -1220,11 +1205,11 @@
1220
1205
  },
1221
1206
  "van-dialog/message-align": {
1222
1207
  "type": "string",
1223
- "description": "Message aligncan be set to `left` `right`, Default: `center`"
1208
+ "description": "Message align, can be set to `left` `right`, Default: `center`"
1224
1209
  },
1225
1210
  "van-dialog/theme": {
1226
1211
  "type": "string",
1227
- "description": "Theme stylecan be set to `round-button`, Default: `default`"
1212
+ "description": "Theme style, can be set to `round-button`, Default: `default`"
1228
1213
  },
1229
1214
  "van-dialog/show-confirm-button": {
1230
1215
  "type": "boolean",
@@ -1294,18 +1279,6 @@
1294
1279
  "type": "string | Element",
1295
1280
  "description": "Specifies a target element where Dialog will be mounted, Default: -"
1296
1281
  },
1297
- "van-divider/dashed": {
1298
- "type": "boolean",
1299
- "description": "Whether to use dashed border, Default: `false`"
1300
- },
1301
- "van-divider/hairline": {
1302
- "type": "boolean",
1303
- "description": "Whether to use hairline, Default: `true`"
1304
- },
1305
- "van-divider/content-position": {
1306
- "type": "string",
1307
- "description": "Content position,can be set to `left` `right`, Default: `center`"
1308
- },
1309
1282
  "van-dropdown-menu/active-color": {
1310
1283
  "type": "string",
1311
1284
  "description": "Active color of title and option, Default: `#1989fa`"
@@ -1355,28 +1328,13 @@
1355
1328
  "description": "Whether to lazy render util opened, Default: `true`"
1356
1329
  },
1357
1330
  "van-dropdown-item/title-class": {
1358
- "type": "string | Array \\",
1359
- "description": "Title class, Default: object_",
1360
- "options": [
1361
- "-"
1362
- ]
1331
+ "type": "string | Array | object",
1332
+ "description": "Title class, Default: -"
1363
1333
  },
1364
1334
  "van-dropdown-item/teleport": {
1365
1335
  "type": "string | Element",
1366
1336
  "description": "Specifies a target element where DropdownItem will be mounted, Default: -"
1367
1337
  },
1368
- "van-empty/image": {
1369
- "type": "string",
1370
- "description": "Image type,can be set to `error` `network` `search` or image URL, Default: `default`"
1371
- },
1372
- "van-empty/image-size": {
1373
- "type": "number | string",
1374
- "description": "Image size, Default: -"
1375
- },
1376
- "van-empty/description": {
1377
- "type": "string",
1378
- "description": "Description, Default: -"
1379
- },
1380
1338
  "van-field/v-model": {
1381
1339
  "type": "number | string",
1382
1340
  "description": "Input value, Default: -"
@@ -1399,7 +1357,7 @@
1399
1357
  },
1400
1358
  "van-field/size": {
1401
1359
  "type": "string",
1402
- "description": "Sizecan be set to `large`, Default: -"
1360
+ "description": "Size, can be set to `large`, Default: -"
1403
1361
  },
1404
1362
  "van-field/maxlength": {
1405
1363
  "type": "number | string",
@@ -1479,18 +1437,15 @@
1479
1437
  },
1480
1438
  "van-field/format-trigger": {
1481
1439
  "type": "FieldFormatTrigger",
1482
- "description": "When to format valuecan be set to `onBlur`, Default: `onChange`"
1440
+ "description": "When to format value, can be set to `onBlur`, Default: `onChange`"
1483
1441
  },
1484
1442
  "van-field/arrow-direction": {
1485
1443
  "type": "string",
1486
1444
  "description": "Can be set to `left` `up` `down`, Default: `right`"
1487
1445
  },
1488
1446
  "van-field/label-class": {
1489
- "type": "string | Array \\",
1490
- "description": "Label className, Default: object_",
1491
- "options": [
1492
- "-"
1493
- ]
1447
+ "type": "string | Array | object",
1448
+ "description": "Label className, Default: -"
1494
1449
  },
1495
1450
  "van-field/label-width": {
1496
1451
  "type": "number | string",
@@ -1506,7 +1461,7 @@
1506
1461
  },
1507
1462
  "van-field/autosize": {
1508
1463
  "type": "boolean | FieldAutosizeConfig",
1509
- "description": "Textarea auto resizecan accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
1464
+ "description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
1510
1465
  },
1511
1466
  "van-field/left-icon": {
1512
1467
  "type": "string",
@@ -1526,7 +1481,55 @@
1526
1481
  },
1527
1482
  "van-field/autocomplete": {
1528
1483
  "type": "string",
1529
- "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
1484
+ "description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), Default: -"
1485
+ },
1486
+ "van-field/enterkeyhint": {
1487
+ "type": "string",
1488
+ "description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>, Default: -"
1489
+ },
1490
+ "van-empty/image": {
1491
+ "type": "string",
1492
+ "description": "Image type, can be set to `error` `network` `search` or image URL, Default: `default`"
1493
+ },
1494
+ "van-empty/image-size": {
1495
+ "type": "number | string | Array",
1496
+ "description": "Image size, Default: -"
1497
+ },
1498
+ "van-empty/description": {
1499
+ "type": "string",
1500
+ "description": "Description, Default: -"
1501
+ },
1502
+ "van-icon/name": {
1503
+ "type": "string",
1504
+ "description": "Icon name or URL, Default: `''`"
1505
+ },
1506
+ "van-icon/dot": {
1507
+ "type": "boolean",
1508
+ "description": "Whether to show red dot, Default: `false`"
1509
+ },
1510
+ "van-icon/badge": {
1511
+ "type": "number | string",
1512
+ "description": "Content of the badge, Default: `''`"
1513
+ },
1514
+ "van-icon/badge-props": {
1515
+ "type": "BadgeProps",
1516
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
1517
+ },
1518
+ "van-icon/color": {
1519
+ "type": "string",
1520
+ "description": "Icon color, Default: `inherit`"
1521
+ },
1522
+ "van-icon/size": {
1523
+ "type": "number | string",
1524
+ "description": "Icon size, Default: `inherit`"
1525
+ },
1526
+ "van-icon/class-prefix": {
1527
+ "type": "string",
1528
+ "description": "ClassName prefix, Default: `van-icon`"
1529
+ },
1530
+ "van-icon/tag": {
1531
+ "type": "string",
1532
+ "description": "HTML Tag of root element, Default: `i`"
1530
1533
  },
1531
1534
  "van-form/label-width": {
1532
1535
  "type": "number | string",
@@ -1545,8 +1548,8 @@
1545
1548
  "description": "Error message align, can be set to `center` `right`, Default: `left`"
1546
1549
  },
1547
1550
  "van-form/validate-trigger": {
1548
- "type": "string",
1549
- "description": "When to validate the formcan be set to `onChange`、`onSubmit`, Default: `onBlur`"
1551
+ "type": "string | string[]",
1552
+ "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values, Default: `onBlur`"
1550
1553
  },
1551
1554
  "van-form/colon": {
1552
1555
  "type": "boolean",
@@ -1580,173 +1583,141 @@
1580
1583
  "type": "boolean",
1581
1584
  "description": "Whether to submit form on enter, Default: `true`"
1582
1585
  },
1583
- "van-grid/column-num": {
1584
- "type": "number | string",
1585
- "description": "Column Num, Default: `4`"
1586
- },
1587
- "van-grid/icon-size": {
1588
- "type": "number | string",
1589
- "description": "Icon size, Default: `28px`"
1590
- },
1591
- "van-grid/gutter": {
1592
- "type": "number | string",
1593
- "description": "Gutter, Default: `0`"
1594
- },
1595
- "van-grid/border": {
1596
- "type": "boolean",
1597
- "description": "Whether to show border, Default: `true`"
1598
- },
1599
- "van-grid/center": {
1600
- "type": "boolean",
1601
- "description": "Whether to center content, Default: `true`"
1602
- },
1603
- "van-grid/square": {
1604
- "type": "boolean",
1605
- "description": "Whether to be square shape, Default: `false`"
1606
- },
1607
- "van-grid/clickable": {
1608
- "type": "boolean",
1609
- "description": "Whether to show click feedback when clicked, Default: `false`"
1610
- },
1611
- "van-grid/direction": {
1612
- "type": "string",
1613
- "description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
1614
- },
1615
- "van-grid-item/text": {
1586
+ "van-image/src": {
1616
1587
  "type": "string",
1617
- "description": "Text, Default: -"
1588
+ "description": "Src, Default: -"
1618
1589
  },
1619
- "van-grid-item/icon": {
1590
+ "van-image/fit": {
1620
1591
  "type": "string",
1621
- "description": "Icon name or URL, Default: -"
1592
+ "description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit), Default: `fill`"
1622
1593
  },
1623
- "van-grid-item/icon-prefix": {
1594
+ "van-image/position": {
1624
1595
  "type": "string",
1625
- "description": "Icon className prefix, Default: `van-icon`"
1596
+ "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`"
1626
1597
  },
1627
- "van-grid-item/icon-color": {
1598
+ "van-image/alt": {
1628
1599
  "type": "string",
1629
- "description": "Icon color, Default: -"
1630
- },
1631
- "van-grid-item/reverse": {
1632
- "type": "boolean",
1633
- "description": "Whether to reverse the position of icon and text, Default: `false`"
1634
- },
1635
- "van-grid-item/dot": {
1636
- "type": "boolean",
1637
- "description": "Whether to show red dot, Default: `false`"
1600
+ "description": "Alt, Default: -"
1638
1601
  },
1639
- "van-grid-item/badge": {
1602
+ "van-image/width": {
1640
1603
  "type": "number | string",
1641
- "description": "Content of the badge, Default: -"
1642
- },
1643
- "van-grid-item/badge-props": {
1644
- "type": "BadgeProps",
1645
- "description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
1604
+ "description": "Width, Default: -"
1646
1605
  },
1647
- "van-grid-item/url": {
1648
- "type": "string",
1649
- "description": "Link URL, Default: -"
1606
+ "van-image/height": {
1607
+ "type": "number | string",
1608
+ "description": "Height, Default: -"
1650
1609
  },
1651
- "van-grid-item/to": {
1652
- "type": "string | object",
1653
- "description": "Target route of the link, same as to of vue-router, Default: -"
1610
+ "van-image/radius": {
1611
+ "type": "number | string",
1612
+ "description": "Border Radius, Default: `0`"
1654
1613
  },
1655
- "van-grid-item/replace": {
1614
+ "van-image/round": {
1656
1615
  "type": "boolean",
1657
- "description": "If true, the navigation will not leave a history record, Default: `false`"
1658
- },
1659
- "van-icon/name": {
1660
- "type": "string",
1661
- "description": "Icon name or URL, Default: `''`"
1616
+ "description": "Whether to be round, Default: `false`"
1662
1617
  },
1663
- "van-icon/dot": {
1618
+ "van-image/lazy-load": {
1664
1619
  "type": "boolean",
1665
- "description": "Whether to show red dot, Default: `false`"
1666
- },
1667
- "van-icon/badge": {
1668
- "type": "number | string",
1669
- "description": "Content of the badge, Default: `''`"
1620
+ "description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
1670
1621
  },
1671
- "van-icon/badge-props": {
1672
- "type": "BadgeProps",
1673
- "description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
1674
- },
1675
- "van-icon/color": {
1676
- "type": "string",
1677
- "description": "Icon color, Default: `inherit`"
1678
- },
1679
- "van-icon/size": {
1680
- "type": "number | string",
1681
- "description": "Icon size, Default: `inherit`"
1682
- },
1683
- "van-icon/class-prefix": {
1684
- "type": "string",
1685
- "description": "ClassName prefix, Default: `van-icon`"
1622
+ "van-image/show-error": {
1623
+ "type": "boolean",
1624
+ "description": "Whether to show error placeholder, Default: `true`"
1686
1625
  },
1687
- "van-icon/tag": {
1688
- "type": "string",
1689
- "description": "HTML Tag of root element, Default: `i`"
1626
+ "van-image/show-loading": {
1627
+ "type": "boolean",
1628
+ "description": "Whether to show loading placeholder, Default: `true`"
1690
1629
  },
1691
- "van-image/src": {
1630
+ "van-image/error-icon": {
1692
1631
  "type": "string",
1693
- "description": "Src, Default: -"
1632
+ "description": "Error icon, Default: `photo-fail`"
1694
1633
  },
1695
- "van-image/fit": {
1634
+ "van-image/loading-icon": {
1696
1635
  "type": "string",
1697
- "description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit), Default: `fill`"
1636
+ "description": "Loading icon, Default: `photo`"
1698
1637
  },
1699
- "van-image/position": {
1700
- "type": "string",
1701
- "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`"
1638
+ "van-image/icon-size": {
1639
+ "type": "number | string",
1640
+ "description": "Icon size, Default: `32px`"
1702
1641
  },
1703
- "van-image/alt": {
1642
+ "van-image/icon-prefix": {
1704
1643
  "type": "string",
1705
- "description": "Alt, Default: -"
1644
+ "description": "Icon className prefix, Default: `van-icon`"
1706
1645
  },
1707
- "van-image/width": {
1646
+ "van-grid/column-num": {
1708
1647
  "type": "number | string",
1709
- "description": "Width, Default: -"
1648
+ "description": "Column Num, Default: `4`"
1710
1649
  },
1711
- "van-image/height": {
1650
+ "van-grid/icon-size": {
1712
1651
  "type": "number | string",
1713
- "description": "Height, Default: -"
1652
+ "description": "Icon size, Default: `28px`"
1714
1653
  },
1715
- "van-image/radius": {
1654
+ "van-grid/gutter": {
1716
1655
  "type": "number | string",
1717
- "description": "Border Radius, Default: `0`"
1656
+ "description": "Gutter, Default: `0`"
1718
1657
  },
1719
- "van-image/round": {
1658
+ "van-grid/border": {
1720
1659
  "type": "boolean",
1721
- "description": "Whether to be round, Default: `false`"
1660
+ "description": "Whether to show border, Default: `true`"
1661
+ },
1662
+ "van-grid/center": {
1663
+ "type": "boolean",
1664
+ "description": "Whether to center content, Default: `true`"
1722
1665
  },
1723
- "van-image/lazy-load": {
1666
+ "van-grid/square": {
1724
1667
  "type": "boolean",
1725
- "description": "Whether to enable lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
1668
+ "description": "Whether to be square shape, Default: `false`"
1726
1669
  },
1727
- "van-image/show-error": {
1670
+ "van-grid/clickable": {
1728
1671
  "type": "boolean",
1729
- "description": "Whether to show error placeholder, Default: `true`"
1672
+ "description": "Whether to show click feedback when clicked, Default: `false`"
1730
1673
  },
1731
- "van-image/show-loading": {
1674
+ "van-grid/direction": {
1675
+ "type": "string",
1676
+ "description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
1677
+ },
1678
+ "van-grid/reverse": {
1732
1679
  "type": "boolean",
1733
- "description": "Whether to show loading placeholder, Default: `true`"
1680
+ "description": "Whether to reverse the position of icon and text, Default: `false`"
1734
1681
  },
1735
- "van-image/error-icon": {
1682
+ "van-grid-item/text": {
1736
1683
  "type": "string",
1737
- "description": "Error icon, Default: `photo-fail`"
1684
+ "description": "Text, Default: -"
1738
1685
  },
1739
- "van-image/loading-icon": {
1686
+ "van-grid-item/icon": {
1740
1687
  "type": "string",
1741
- "description": "Loading icon, Default: `photo`"
1688
+ "description": "Icon name or URL, Default: -"
1742
1689
  },
1743
- "van-image/icon-size": {
1690
+ "van-grid-item/icon-prefix": {
1691
+ "type": "string",
1692
+ "description": "Icon className prefix, Default: `van-icon`"
1693
+ },
1694
+ "van-grid-item/icon-color": {
1695
+ "type": "string",
1696
+ "description": "Icon color, Default: -"
1697
+ },
1698
+ "van-grid-item/dot": {
1699
+ "type": "boolean",
1700
+ "description": "Whether to show red dot, Default: `false`"
1701
+ },
1702
+ "van-grid-item/badge": {
1744
1703
  "type": "number | string",
1745
- "description": "Icon size, Default: `32px`"
1704
+ "description": "Content of the badge, Default: -"
1746
1705
  },
1747
- "van-image/icon-prefix": {
1706
+ "van-grid-item/badge-props": {
1707
+ "type": "BadgeProps",
1708
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
1709
+ },
1710
+ "van-grid-item/url": {
1748
1711
  "type": "string",
1749
- "description": "Icon className prefix, Default: `van-icon`"
1712
+ "description": "Link URL, Default: -"
1713
+ },
1714
+ "van-grid-item/to": {
1715
+ "type": "string | object",
1716
+ "description": "Target route of the link, same as to of vue-router, Default: -"
1717
+ },
1718
+ "van-grid-item/replace": {
1719
+ "type": "boolean",
1720
+ "description": "If true, the navigation will not leave a history record, Default: `false`"
1750
1721
  },
1751
1722
  "van-image-preview/v-model:show": {
1752
1723
  "type": "boolean",
@@ -1785,11 +1756,8 @@
1785
1756
  "description": "Whether to close when popstate, Default: `true`"
1786
1757
  },
1787
1758
  "van-image-preview/class-name": {
1788
- "type": "string | Array \\",
1789
- "description": "Custom className, Default: object_",
1790
- "options": [
1791
- "-"
1792
- ]
1759
+ "type": "string | Array | object",
1760
+ "description": "Custom className, Default: -"
1793
1761
  },
1794
1762
  "van-image-preview/max-zoom": {
1795
1763
  "type": "number | string",
@@ -1809,18 +1777,15 @@
1809
1777
  },
1810
1778
  "van-image-preview/close-icon-position": {
1811
1779
  "type": "string",
1812
- "description": "Close icon positioncan be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
1780
+ "description": "Close icon position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
1813
1781
  },
1814
1782
  "van-image-preview/transition": {
1815
1783
  "type": "string",
1816
1784
  "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: `van-fade`"
1817
1785
  },
1818
1786
  "van-image-preview/overlay-class": {
1819
- "type": "string | Array \\",
1820
- "description": "Custom overlay class, Default: object_",
1821
- "options": [
1822
- "-"
1823
- ]
1787
+ "type": "string | Array | object",
1788
+ "description": "Custom overlay class, Default: -"
1824
1789
  },
1825
1790
  "van-image-preview/overlay-style": {
1826
1791
  "type": "object",
@@ -1860,15 +1825,15 @@
1860
1825
  },
1861
1826
  "van-list/v-model:loading": {
1862
1827
  "type": "boolean",
1863
- "description": "Whether to show loading infothe `load` event will not be Emitted when loading, Default: `false`"
1828
+ "description": "Whether to show loading info, the `load` event will not be Emitted when loading, Default: `false`"
1864
1829
  },
1865
1830
  "van-list/v-model:error": {
1866
1831
  "type": "boolean",
1867
- "description": "Whether loading is errorthe `load` event will be Emitted only when error text clicked, Default: `false`"
1832
+ "description": "Whether loading is error, the `load` event will be Emitted only when error text clicked, Default: `false`"
1868
1833
  },
1869
1834
  "van-list/finished": {
1870
1835
  "type": "boolean",
1871
- "description": "Whether loading is finishedthe `load` event will not be Emitted when finished, Default: `false`"
1836
+ "description": "Whether loading is finished, the `load` event will not be Emitted when finished, Default: `false`"
1872
1837
  },
1873
1838
  "van-list/offset": {
1874
1839
  "type": "number | string",
@@ -1892,31 +1857,7 @@
1892
1857
  },
1893
1858
  "van-list/direction": {
1894
1859
  "type": "string",
1895
- "description": "Scroll directioncan be set to `up`, Default: `down`"
1896
- },
1897
- "van-loading/color": {
1898
- "type": "string",
1899
- "description": "Loading color, Default: `#c9c9c9`"
1900
- },
1901
- "van-loading/type": {
1902
- "type": "string",
1903
- "description": "Can be set to `spinner`, Default: `circular`"
1904
- },
1905
- "van-loading/size": {
1906
- "type": "number | string",
1907
- "description": "Icon size, Default: `30px`"
1908
- },
1909
- "van-loading/text-size": {
1910
- "type": "number | string",
1911
- "description": "Text font size, Default: `14px`"
1912
- },
1913
- "van-loading/text-color": {
1914
- "type": "string",
1915
- "description": "Text color, Default: `#c9c9c9`"
1916
- },
1917
- "van-loading/vertical": {
1918
- "type": "boolean",
1919
- "description": "Whether to arrange icons and text content vertically, Default: `false`"
1860
+ "description": "Scroll direction, can be set to `up`, Default: `down`"
1920
1861
  },
1921
1862
  "van-nav-bar/title": {
1922
1863
  "type": "string",
@@ -1954,6 +1895,30 @@
1954
1895
  "type": "boolean",
1955
1896
  "description": "Whether to enable top safe area adaptation, Default: `false`"
1956
1897
  },
1898
+ "van-loading/color": {
1899
+ "type": "string",
1900
+ "description": "Loading color, Default: `#c9c9c9`"
1901
+ },
1902
+ "van-loading/type": {
1903
+ "type": "string",
1904
+ "description": "Can be set to `spinner`, Default: `circular`"
1905
+ },
1906
+ "van-loading/size": {
1907
+ "type": "number | string",
1908
+ "description": "Icon size, Default: `30px`"
1909
+ },
1910
+ "van-loading/text-size": {
1911
+ "type": "number | string",
1912
+ "description": "Text font size, Default: `14px`"
1913
+ },
1914
+ "van-loading/text-color": {
1915
+ "type": "string",
1916
+ "description": "Text color, Default: `#c9c9c9`"
1917
+ },
1918
+ "van-loading/vertical": {
1919
+ "type": "boolean",
1920
+ "description": "Whether to arrange icons and text content vertically, Default: `false`"
1921
+ },
1957
1922
  "van-notice-bar/mode": {
1958
1923
  "type": "string",
1959
1924
  "description": "Mode, can be set to `closeable` `link`, Default: `''`"
@@ -2004,7 +1969,7 @@
2004
1969
  },
2005
1970
  "van-number-keyboard/theme": {
2006
1971
  "type": "string",
2007
- "description": "Keyboard themecan be set to `custom`, Default: `default`"
1972
+ "description": "Keyboard theme, can be set to `custom`, Default: `default`"
2008
1973
  },
2009
1974
  "van-number-keyboard/maxlength": {
2010
1975
  "type": "number | string",
@@ -2196,7 +2161,7 @@
2196
2161
  },
2197
2162
  "van-picker/swipe-duration": {
2198
2163
  "type": "number | string",
2199
- "description": "Duration of the momentum animationunit `ms`, Default: `1000`"
2164
+ "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
2200
2165
  },
2201
2166
  "van-popover/v-model:show": {
2202
2167
  "type": "boolean",
@@ -2212,11 +2177,11 @@
2212
2177
  },
2213
2178
  "van-popover/theme": {
2214
2179
  "type": "PopoverTheme",
2215
- "description": "Themecan be set to `dark`, Default: `light`"
2180
+ "description": "Theme, can be set to `dark`, Default: `light`"
2216
2181
  },
2217
2182
  "van-popover/trigger": {
2218
2183
  "type": "PopoverTrigger",
2219
- "description": "Trigger modecan be set to `manual`, Default: `click`"
2184
+ "description": "Trigger mode, can be set to `manual`, Default: `click`"
2220
2185
  },
2221
2186
  "van-popover/duration": {
2222
2187
  "type": "number | string",
@@ -2231,11 +2196,8 @@
2231
2196
  "description": "Whether to show overlay, Default: `false`"
2232
2197
  },
2233
2198
  "van-popover/overlay-class": {
2234
- "type": "string | Array \\",
2235
- "description": "Custom overlay class, Default: object_",
2236
- "options": [
2237
- "-"
2238
- ]
2199
+ "type": "string | Array | object",
2200
+ "description": "Custom overlay class, Default: -"
2239
2201
  },
2240
2202
  "van-popover/overlay-style": {
2241
2203
  "type": "object",
@@ -2278,11 +2240,8 @@
2278
2240
  "description": "Can be set to `top` `bottom` `right` `left`, Default: `center`"
2279
2241
  },
2280
2242
  "van-popup/overlay-class": {
2281
- "type": "string | Array \\",
2282
- "description": "Custom overlay class, Default: object_",
2283
- "options": [
2284
- "-"
2285
- ]
2243
+ "type": "string | Array | object",
2244
+ "description": "Custom overlay class, Default: -"
2286
2245
  },
2287
2246
  "van-popup/overlay-style": {
2288
2247
  "type": "object",
@@ -2322,7 +2281,7 @@
2322
2281
  },
2323
2282
  "van-popup/close-icon-position": {
2324
2283
  "type": "string",
2325
- "description": "Close Icon Positioncan be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
2284
+ "description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
2326
2285
  },
2327
2286
  "van-popup/before-close": {
2328
2287
  "type": "(action: string) => boolean | Promise\\<boolean\\>",
@@ -2344,6 +2303,10 @@
2344
2303
  "type": "string | Element",
2345
2304
  "description": "Specifies a target element where Popup will be mounted, Default: -"
2346
2305
  },
2306
+ "van-popup/safe-area-inset-top": {
2307
+ "type": "boolean",
2308
+ "description": "Whether to enable top safe area adaptation, Default: `false`"
2309
+ },
2347
2310
  "van-popup/safe-area-inset-bottom": {
2348
2311
  "type": "boolean",
2349
2312
  "description": "Whether to enable bottom safe area adaptation, Default: `false`"
@@ -2606,7 +2569,7 @@
2606
2569
  },
2607
2570
  "van-search/format-trigger": {
2608
2571
  "type": "string",
2609
- "description": "When to format valuecan be set to `onBlur`, Default: `onChange`"
2572
+ "description": "When to format value, can be set to `onBlur`, Default: `onChange`"
2610
2573
  },
2611
2574
  "van-search/input-align": {
2612
2575
  "type": "string",
@@ -2657,11 +2620,8 @@
2657
2620
  "description": "Whether to show overlay, Default: `true`"
2658
2621
  },
2659
2622
  "van-share-sheet/overlay-class": {
2660
- "type": "string | Array \\",
2661
- "description": "Custom overlay class, Default: object_",
2662
- "options": [
2663
- "-"
2664
- ]
2623
+ "type": "string | Array | object",
2624
+ "description": "Custom overlay class, Default: -"
2665
2625
  },
2666
2626
  "van-share-sheet/overlay-style": {
2667
2627
  "type": "object",
@@ -2713,7 +2673,7 @@
2713
2673
  },
2714
2674
  "van-sidebar-item/badge-props": {
2715
2675
  "type": "BadgeProps",
2716
- "description": "Props of Badgesee [Badge - props](#/en-US/badge#props), Default: -"
2676
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
2717
2677
  },
2718
2678
  "van-sidebar-item/disabled": {
2719
2679
  "type": "boolean",
@@ -2736,11 +2696,8 @@
2736
2696
  "description": "Row count, Default: `0`"
2737
2697
  },
2738
2698
  "van-skeleton/row-width": {
2739
- "type": "number | string \\",
2740
- "description": "Row width, can be array, Default: <br>(number \\",
2741
- "options": [
2742
- "string)[]_"
2743
- ]
2699
+ "type": "number | string |<br>(number | string)[]",
2700
+ "description": "Row width, can be array, Default: `100%`"
2744
2701
  },
2745
2702
  "van-skeleton/title": {
2746
2703
  "type": "boolean",
@@ -2752,7 +2709,7 @@
2752
2709
  },
2753
2710
  "van-skeleton/loading": {
2754
2711
  "type": "boolean",
2755
- "description": "Whether to show skeletonpass `false` to show child component, Default: `true`"
2712
+ "description": "Whether to show skeleton, pass `false` to show child component, Default: `true`"
2756
2713
  },
2757
2714
  "van-skeleton/animate": {
2758
2715
  "type": "boolean",
@@ -2772,7 +2729,7 @@
2772
2729
  },
2773
2730
  "van-skeleton/avatar-shape": {
2774
2731
  "type": "string",
2775
- "description": "Shape of avatar placeholdercan be set to `square`, Default: `round`"
2732
+ "description": "Shape of avatar placeholder, can be set to `square`, Default: `round`"
2776
2733
  },
2777
2734
  "van-slider/v-model": {
2778
2735
  "type": "number | [number, number]",
@@ -2891,11 +2848,8 @@
2891
2848
  "description": "Whether to disable input, Default: `false`"
2892
2849
  },
2893
2850
  "van-stepper/before-change": {
2894
- "type": "(value: number | string) => boolean \\",
2895
- "description": "Callback function before changingreturn `false` to prevent changesupport return Promise, Default: Promise\\<boolean\\>_",
2896
- "options": [
2897
- "false"
2898
- ]
2851
+ "type": "(value: number | string) => boolean | Promise\\<boolean\\>",
2852
+ "description": "Callback function before changing, return `false` to prevent change, support return Promise, Default: `false`"
2899
2853
  },
2900
2854
  "van-stepper/show-plus": {
2901
2855
  "type": "boolean",
@@ -2979,7 +2933,7 @@
2979
2933
  },
2980
2934
  "van-submit-bar/label": {
2981
2935
  "type": "string",
2982
- "description": "Price left label, Default: `Total:`"
2936
+ "description": "Price left label, Default: `Total: `"
2983
2937
  },
2984
2938
  "van-submit-bar/suffix-label": {
2985
2939
  "type": "string",
@@ -3129,6 +3083,82 @@
3129
3083
  "type": "any",
3130
3084
  "description": "Value when inactive, Default: `false`"
3131
3085
  },
3086
+ "van-tabbar/v-model": {
3087
+ "type": "number | string",
3088
+ "description": "Identifier of current tab, Default: `0`"
3089
+ },
3090
+ "van-tabbar/fixed": {
3091
+ "type": "boolean",
3092
+ "description": "Whether to fixed bottom, Default: `true`"
3093
+ },
3094
+ "van-tabbar/border": {
3095
+ "type": "boolean",
3096
+ "description": "Whether to show border, Default: `true`"
3097
+ },
3098
+ "van-tabbar/z-index": {
3099
+ "type": "number | string",
3100
+ "description": "Z-index, Default: `1`"
3101
+ },
3102
+ "van-tabbar/active-color": {
3103
+ "type": "string",
3104
+ "description": "Color of active tab item, Default: `#1989fa`"
3105
+ },
3106
+ "van-tabbar/inactive-color": {
3107
+ "type": "string",
3108
+ "description": "Color of inactive tab item, Default: `#7d7e80`"
3109
+ },
3110
+ "van-tabbar/route": {
3111
+ "type": "boolean",
3112
+ "description": "Whether to enable route mode, Default: `false`"
3113
+ },
3114
+ "van-tabbar/placeholder": {
3115
+ "type": "boolean",
3116
+ "description": "Whether to generate a placeholder element when fixed, Default: `false`"
3117
+ },
3118
+ "van-tabbar/safe-area-inset-bottom": {
3119
+ "type": "boolean",
3120
+ "description": "Whether to enable bottom safe area adaptation, Default: `false`"
3121
+ },
3122
+ "van-tabbar/before-change": {
3123
+ "type": "(name: number | string) => boolean | Promise\\<boolean\\>",
3124
+ "description": "Callback function before changing tab, return `false` to prevent change, support return Promise, Default: -"
3125
+ },
3126
+ "van-tabbar-item/name": {
3127
+ "type": "number | string",
3128
+ "description": "Identifier, Default: Item index"
3129
+ },
3130
+ "van-tabbar-item/icon": {
3131
+ "type": "string",
3132
+ "description": "Icon name, Default: -"
3133
+ },
3134
+ "van-tabbar-item/icon-prefix": {
3135
+ "type": "string",
3136
+ "description": "Icon className prefix, Default: `van-icon`"
3137
+ },
3138
+ "van-tabbar-item/dot": {
3139
+ "type": "boolean",
3140
+ "description": "Whether to show red dot, Default: -"
3141
+ },
3142
+ "van-tabbar-item/badge": {
3143
+ "type": "number | string",
3144
+ "description": "Content of the badge, Default: `''`"
3145
+ },
3146
+ "van-tabbar-item/badge-props": {
3147
+ "type": "BadgeProps",
3148
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
3149
+ },
3150
+ "van-tabbar-item/url": {
3151
+ "type": "string",
3152
+ "description": "Link, Default: -"
3153
+ },
3154
+ "van-tabbar-item/to": {
3155
+ "type": "string | object",
3156
+ "description": "Target route of the link, same as to of vue-router, Default: -"
3157
+ },
3158
+ "van-tabbar-item/replace": {
3159
+ "type": "boolean",
3160
+ "description": "If true, the navigation will not leave a history record, Default: `false`"
3161
+ },
3132
3162
  "van-tabs/v-model:active": {
3133
3163
  "type": "number | string",
3134
3164
  "description": "Index of active tab, Default: `0`"
@@ -3206,11 +3236,8 @@
3206
3236
  "description": "Title inactive color, Default: -"
3207
3237
  },
3208
3238
  "van-tabs/before-change": {
3209
- "type": "(name: number | string) => boolean \\",
3210
- "description": "Callback function before changing tabsreturn `false` to prevent changesupport return Promise, Default: Promise\\<boolean\\>_",
3211
- "options": [
3212
- "-"
3213
- ]
3239
+ "type": "(name: number | string) => boolean | Promise\\<boolean\\>",
3240
+ "description": "Callback function before changing tabs, return `false` to prevent change, support return Promise, Default: -"
3214
3241
  },
3215
3242
  "van-tab/title": {
3216
3243
  "type": "string",
@@ -3245,102 +3272,17 @@
3245
3272
  "description": "If true, the navigation will not leave a history record, Default: `false`"
3246
3273
  },
3247
3274
  "van-tab/title-style": {
3248
- "type": "string | Array \\",
3249
- "description": "Custom title style, Default: object_",
3250
- "options": [
3251
- "-"
3252
- ]
3275
+ "type": "string | Array | object",
3276
+ "description": "Custom title style, Default: -"
3253
3277
  },
3254
3278
  "van-tab/title-class": {
3255
- "type": "string | Array \\",
3256
- "description": "Custom title class name, Default: object_",
3257
- "options": [
3258
- "-"
3259
- ]
3279
+ "type": "string | Array | object",
3280
+ "description": "Custom title class name, Default: -"
3260
3281
  },
3261
3282
  "van-tab/show-zero-badge": {
3262
3283
  "type": "boolean",
3263
3284
  "description": "Whether to show badge when the value is zero, Default: `true`"
3264
3285
  },
3265
- "van-tabbar/v-model": {
3266
- "type": "number | string",
3267
- "description": "Identifier of current tab, Default: `0`"
3268
- },
3269
- "van-tabbar/fixed": {
3270
- "type": "boolean",
3271
- "description": "Whether to fixed bottom, Default: `true`"
3272
- },
3273
- "van-tabbar/border": {
3274
- "type": "boolean",
3275
- "description": "Whether to show border, Default: `true`"
3276
- },
3277
- "van-tabbar/z-index": {
3278
- "type": "number | string",
3279
- "description": "Z-index, Default: `1`"
3280
- },
3281
- "van-tabbar/active-color": {
3282
- "type": "string",
3283
- "description": "Color of active tab item, Default: `#1989fa`"
3284
- },
3285
- "van-tabbar/inactive-color": {
3286
- "type": "string",
3287
- "description": "Color of inactive tab item, Default: `#7d7e80`"
3288
- },
3289
- "van-tabbar/route": {
3290
- "type": "boolean",
3291
- "description": "Whether to enable route mode, Default: `false`"
3292
- },
3293
- "van-tabbar/placeholder": {
3294
- "type": "boolean",
3295
- "description": "Whether to generate a placeholder element when fixed, Default: `false`"
3296
- },
3297
- "van-tabbar/safe-area-inset-bottom": {
3298
- "type": "boolean",
3299
- "description": "Whether to enable bottom safe area adaptation, Default: `false`"
3300
- },
3301
- "van-tabbar/before-change": {
3302
- "type": "(name: number | string) => boolean \\",
3303
- "description": "Callback function before changing tab,return `false` to prevent change,support return Promise, Default: Promise\\<boolean\\>_",
3304
- "options": [
3305
- "-"
3306
- ]
3307
- },
3308
- "van-tabbar-item/name": {
3309
- "type": "number | string",
3310
- "description": "Identifier, Default: Item index"
3311
- },
3312
- "van-tabbar-item/icon": {
3313
- "type": "string",
3314
- "description": "Icon name, Default: -"
3315
- },
3316
- "van-tabbar-item/icon-prefix": {
3317
- "type": "string",
3318
- "description": "Icon className prefix, Default: `van-icon`"
3319
- },
3320
- "van-tabbar-item/dot": {
3321
- "type": "boolean",
3322
- "description": "Whether to show red dot, Default: -"
3323
- },
3324
- "van-tabbar-item/badge": {
3325
- "type": "number | string",
3326
- "description": "Content of the badge, Default: `''`"
3327
- },
3328
- "van-tabbar-item/badge-props": {
3329
- "type": "BadgeProps",
3330
- "description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
3331
- },
3332
- "van-tabbar-item/url": {
3333
- "type": "string",
3334
- "description": "Link, Default: -"
3335
- },
3336
- "van-tabbar-item/to": {
3337
- "type": "string | object",
3338
- "description": "Target route of the link, same as to of vue-router, Default: -"
3339
- },
3340
- "van-tabbar-item/replace": {
3341
- "type": "boolean",
3342
- "description": "If true, the navigation will not leave a history record, Default: `false`"
3343
- },
3344
3286
  "van-tag/type": {
3345
3287
  "type": "string",
3346
3288
  "description": "Type, can be set to `primary` `success` `danger` `warning`, Default: `default`"
@@ -3451,7 +3393,7 @@
3451
3393
  },
3452
3394
  "van-time-picker/swipe-duration": {
3453
3395
  "type": "number | string",
3454
- "description": "Duration of the momentum animationunit `ms`, Default: `1000`"
3396
+ "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
3455
3397
  },
3456
3398
  "van-tree-select/items": {
3457
3399
  "type": "TreeSelectItem[]",
@@ -3466,11 +3408,8 @@
3466
3408
  "description": "The index of selected parent node, Default: `0`"
3467
3409
  },
3468
3410
  "van-tree-select/active-id": {
3469
- "type": "number | string \\",
3470
- "description": "Id of selected item, Default: <br>(number \\",
3471
- "options": [
3472
- "string)[]_"
3473
- ]
3411
+ "type": "number | string |<br>(number | string)[]",
3412
+ "description": "Id of selected item, Default: `0`"
3474
3413
  },
3475
3414
  "van-tree-select/max": {
3476
3415
  "type": "number | string",
@@ -3493,7 +3432,7 @@
3493
3432
  "description": "Input name, Default: -"
3494
3433
  },
3495
3434
  "van-uploader/preview-size": {
3496
- "type": "number | string",
3435
+ "type": "number | string | Array",
3497
3436
  "description": "Size of preview image, Default: `80px`"
3498
3437
  },
3499
3438
  "van-uploader/preview-image": {
@@ -3506,7 +3445,7 @@
3506
3445
  },
3507
3446
  "van-uploader/preview-options": {
3508
3447
  "type": "object",
3509
- "description": "Options of full screen image previewsee [ImagePreview](#/en-US/image-preview), Default: -"
3448
+ "description": "Options of full screen image preview, see [ImagePreview](#/en-US/image-preview), Default: -"
3510
3449
  },
3511
3450
  "van-uploader/multiple": {
3512
3451
  "type": "boolean",
@@ -3530,11 +3469,11 @@
3530
3469
  },
3531
3470
  "van-uploader/lazy-load": {
3532
3471
  "type": "boolean",
3533
- "description": "Whether to enable lazy loadshould register [Lazyload](#/en-US/lazyload) component, Default: `false`"
3472
+ "description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
3534
3473
  },
3535
3474
  "van-uploader/capture": {
3536
3475
  "type": "string",
3537
- "description": "Capturecan be set to `camera`, Default: -"
3476
+ "description": "Capture, can be set to `camera`, Default: -"
3538
3477
  },
3539
3478
  "van-uploader/after-read": {
3540
3479
  "type": "Function",
@@ -3549,11 +3488,8 @@
3549
3488
  "description": "Hook before delete the file, return false to stop reading the file, can return Promise, Default: -"
3550
3489
  },
3551
3490
  "van-uploader/max-size": {
3552
- "type": "number | string \\",
3553
- "description": "Max size of file, Default: (file: File) => boolean_",
3554
- "options": [
3555
- "Infinity"
3556
- ]
3491
+ "type": "number | string | (file: File) => boolean",
3492
+ "description": "Max size of file, Default: `Infinity`"
3557
3493
  },
3558
3494
  "van-uploader/max-count": {
3559
3495
  "type": "number | string",