vant 4.0.0-beta.0 → 4.0.0-rc.1

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 (823) hide show
  1. package/README.md +13 -9
  2. package/changelog.generated.md +207 -163
  3. package/es/action-bar/ActionBar.d.ts +2 -2
  4. package/es/action-bar/ActionBar.mjs +1 -0
  5. package/es/action-bar/index.d.ts +2 -1
  6. package/es/action-bar/index.mjs +2 -0
  7. package/es/action-bar-button/ActionBarButton.d.ts +2 -2
  8. package/es/action-bar-button/ActionBarButton.mjs +1 -0
  9. package/es/action-bar-button/index.d.ts +2 -1
  10. package/es/action-bar-button/index.mjs +2 -0
  11. package/es/action-bar-icon/ActionBarIcon.d.ts +2 -2
  12. package/es/action-bar-icon/ActionBarIcon.mjs +1 -0
  13. package/es/action-bar-icon/index.d.ts +2 -1
  14. package/es/action-bar-icon/index.mjs +2 -0
  15. package/es/action-sheet/ActionSheet.d.ts +1 -1
  16. package/es/action-sheet/ActionSheet.mjs +1 -0
  17. package/es/action-sheet/index.d.ts +1 -0
  18. package/es/action-sheet/index.mjs +2 -0
  19. package/es/address-edit/AddressEdit.d.ts +1 -1
  20. package/es/address-edit/AddressEdit.mjs +1 -0
  21. package/es/address-edit/index.d.ts +1 -0
  22. package/es/address-edit/index.mjs +2 -0
  23. package/es/address-edit/style/index.mjs +7 -1
  24. package/es/address-list/AddressList.d.ts +1 -1
  25. package/es/address-list/AddressList.mjs +1 -0
  26. package/es/address-list/index.d.ts +1 -0
  27. package/es/address-list/index.mjs +2 -0
  28. package/es/area/Area.d.ts +7 -4
  29. package/es/area/Area.mjs +1 -0
  30. package/es/area/index.d.ts +5 -2
  31. package/es/area/index.mjs +2 -0
  32. package/es/area/style/index.mjs +7 -0
  33. package/es/area/utils.mjs +9 -2
  34. package/es/badge/Badge.d.ts +2 -2
  35. package/es/badge/Badge.mjs +2 -1
  36. package/es/badge/index.d.ts +2 -1
  37. package/es/badge/index.mjs +2 -0
  38. package/es/button/Button.d.ts +1 -1
  39. package/es/button/Button.mjs +1 -0
  40. package/es/button/index.d.ts +1 -0
  41. package/es/button/index.mjs +2 -0
  42. package/es/calendar/Calendar.d.ts +1 -1
  43. package/es/calendar/Calendar.mjs +8 -7
  44. package/es/calendar/index.d.ts +1 -0
  45. package/es/calendar/index.mjs +2 -0
  46. package/es/calendar/style/index.mjs +7 -1
  47. package/es/card/Card.d.ts +1 -1
  48. package/es/card/Card.mjs +1 -0
  49. package/es/card/index.d.ts +1 -0
  50. package/es/card/index.mjs +2 -0
  51. package/es/cascader/Cascader.d.ts +1 -1
  52. package/es/cascader/Cascader.mjs +1 -0
  53. package/es/cascader/index.d.ts +1 -0
  54. package/es/cascader/index.mjs +2 -0
  55. package/es/cell/Cell.d.ts +2 -2
  56. package/es/cell/Cell.mjs +1 -0
  57. package/es/cell/index.d.ts +2 -1
  58. package/es/cell/index.mjs +2 -0
  59. package/es/cell-group/CellGroup.d.ts +2 -2
  60. package/es/cell-group/CellGroup.mjs +1 -0
  61. package/es/cell-group/index.d.ts +2 -1
  62. package/es/cell-group/index.mjs +2 -0
  63. package/es/checkbox/Checkbox.d.ts +1 -1
  64. package/es/checkbox/Checkbox.mjs +1 -0
  65. package/es/checkbox/index.d.ts +1 -0
  66. package/es/checkbox/index.mjs +2 -0
  67. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  68. package/es/checkbox-group/CheckboxGroup.mjs +1 -0
  69. package/es/checkbox-group/index.d.ts +1 -0
  70. package/es/checkbox-group/index.mjs +2 -0
  71. package/es/circle/Circle.d.ts +1 -1
  72. package/es/circle/Circle.mjs +1 -0
  73. package/es/circle/index.d.ts +1 -0
  74. package/es/circle/index.mjs +2 -0
  75. package/es/col/Col.d.ts +2 -2
  76. package/es/col/Col.mjs +1 -0
  77. package/es/col/index.d.ts +2 -1
  78. package/es/col/index.mjs +2 -0
  79. package/es/collapse/Collapse.d.ts +9 -2
  80. package/es/collapse/Collapse.mjs +29 -1
  81. package/es/collapse/index.d.ts +2 -1
  82. package/es/collapse/index.mjs +2 -0
  83. package/es/collapse-item/CollapseItem.d.ts +2 -2
  84. package/es/collapse-item/CollapseItem.mjs +4 -1
  85. package/es/collapse-item/index.d.ts +2 -1
  86. package/es/collapse-item/index.mjs +2 -0
  87. package/es/composables/use-global-z-index.d.ts +4 -0
  88. package/es/composables/use-global-z-index.mjs +9 -0
  89. package/es/composables/use-height.d.ts +1 -1
  90. package/es/composables/use-height.mjs +8 -2
  91. package/es/composables/use-lazy-render.mjs +9 -5
  92. package/es/composables/use-lock-scroll.mjs +7 -2
  93. package/es/composables/use-placeholder.mjs +1 -1
  94. package/es/composables/use-visibility-change.mjs +6 -3
  95. package/es/config-provider/ConfigProvider.d.ts +15 -5
  96. package/es/config-provider/ConfigProvider.mjs +26 -9
  97. package/es/config-provider/index.d.ts +10 -3
  98. package/es/config-provider/index.mjs +2 -0
  99. package/es/contact-card/ContactCard.d.ts +1 -1
  100. package/es/contact-card/ContactCard.mjs +1 -0
  101. package/es/contact-card/index.d.ts +1 -0
  102. package/es/contact-card/index.mjs +2 -0
  103. package/es/contact-edit/ContactEdit.d.ts +1 -1
  104. package/es/contact-edit/ContactEdit.mjs +1 -0
  105. package/es/contact-edit/index.d.ts +1 -0
  106. package/es/contact-edit/index.mjs +2 -0
  107. package/es/contact-list/ContactList.d.ts +1 -1
  108. package/es/contact-list/ContactList.mjs +1 -0
  109. package/es/contact-list/index.d.ts +1 -0
  110. package/es/contact-list/index.mjs +2 -0
  111. package/es/count-down/CountDown.d.ts +1 -1
  112. package/es/count-down/CountDown.mjs +1 -0
  113. package/es/count-down/index.d.ts +1 -0
  114. package/es/count-down/index.mjs +2 -0
  115. package/es/coupon/Coupon.d.ts +1 -1
  116. package/es/coupon/index.d.ts +1 -1
  117. package/es/coupon/utils.mjs +3 -1
  118. package/es/coupon-cell/CouponCell.d.ts +2 -2
  119. package/es/coupon-cell/CouponCell.mjs +1 -0
  120. package/es/coupon-cell/index.d.ts +2 -1
  121. package/es/coupon-cell/index.mjs +2 -0
  122. package/es/coupon-list/CouponList.d.ts +1 -1
  123. package/es/coupon-list/CouponList.mjs +1 -0
  124. package/es/coupon-list/index.d.ts +1 -0
  125. package/es/coupon-list/index.mjs +2 -0
  126. package/es/coupon-list/style/index.mjs +3 -3
  127. package/es/date-picker/DatePicker.d.ts +7 -4
  128. package/es/date-picker/DatePicker.mjs +11 -10
  129. package/es/date-picker/index.d.ts +5 -2
  130. package/es/date-picker/index.mjs +2 -0
  131. package/es/date-picker/style/index.mjs +7 -0
  132. package/es/date-picker/utils.d.ts +2 -1
  133. package/es/dialog/Dialog.d.ts +1 -1
  134. package/es/dialog/Dialog.mjs +2 -1
  135. package/es/dialog/index.css +1 -1
  136. package/es/dialog/index.d.ts +1 -0
  137. package/es/dialog/index.mjs +2 -0
  138. package/es/dialog/types.d.ts +1 -1
  139. package/es/divider/Divider.d.ts +2 -2
  140. package/es/divider/Divider.mjs +2 -1
  141. package/es/divider/index.d.ts +2 -1
  142. package/es/divider/index.mjs +3 -1
  143. package/es/dropdown-item/DropdownItem.d.ts +3 -3
  144. package/es/dropdown-item/DropdownItem.mjs +2 -1
  145. package/es/dropdown-item/index.d.ts +3 -2
  146. package/es/dropdown-item/index.mjs +3 -1
  147. package/es/dropdown-menu/DropdownMenu.d.ts +2 -2
  148. package/es/dropdown-menu/DropdownMenu.mjs +4 -2
  149. package/es/dropdown-menu/index.d.ts +2 -1
  150. package/es/dropdown-menu/index.mjs +3 -1
  151. package/es/empty/Empty.d.ts +3 -3
  152. package/es/empty/Empty.mjs +283 -17
  153. package/es/empty/index.d.ts +2 -1
  154. package/es/empty/index.mjs +3 -1
  155. package/es/field/Field.d.ts +1 -1
  156. package/es/field/Field.mjs +15 -4
  157. package/es/field/index.d.ts +1 -0
  158. package/es/field/index.mjs +3 -1
  159. package/es/field/types.d.ts +1 -0
  160. package/es/field/utils.d.ts +1 -0
  161. package/es/field/utils.mjs +8 -2
  162. package/es/form/Form.d.ts +1 -1
  163. package/es/form/Form.mjs +2 -1
  164. package/es/form/index.d.ts +1 -0
  165. package/es/form/index.mjs +3 -1
  166. package/es/grid/Grid.d.ts +2 -2
  167. package/es/grid/Grid.mjs +2 -1
  168. package/es/grid/index.d.ts +2 -1
  169. package/es/grid/index.mjs +3 -1
  170. package/es/grid-item/GridItem.d.ts +2 -2
  171. package/es/grid-item/GridItem.mjs +2 -1
  172. package/es/grid-item/index.d.ts +2 -1
  173. package/es/grid-item/index.mjs +3 -1
  174. package/es/icon/Icon.d.ts +2 -2
  175. package/es/icon/Icon.mjs +2 -1
  176. package/es/icon/index.d.ts +2 -1
  177. package/es/icon/index.mjs +3 -1
  178. package/es/image/Image.d.ts +5 -1
  179. package/es/image/Image.mjs +5 -2
  180. package/es/image/index.css +1 -1
  181. package/es/image/index.d.ts +4 -0
  182. package/es/image/index.mjs +3 -1
  183. package/es/image-preview/ImagePreview.d.ts +1 -1
  184. package/es/image-preview/ImagePreview.mjs +2 -1
  185. package/es/image-preview/ImagePreviewItem.mjs +11 -3
  186. package/es/image-preview/index.css +1 -1
  187. package/es/image-preview/index.d.ts +1 -0
  188. package/es/image-preview/index.mjs +2 -0
  189. package/es/index-anchor/IndexAnchor.d.ts +2 -2
  190. package/es/index-anchor/IndexAnchor.mjs +2 -1
  191. package/es/index-anchor/index.d.ts +2 -1
  192. package/es/index-anchor/index.mjs +3 -1
  193. package/es/index-bar/IndexBar.d.ts +1 -1
  194. package/es/index-bar/IndexBar.mjs +11 -5
  195. package/es/index-bar/index.d.ts +1 -0
  196. package/es/index-bar/index.mjs +3 -1
  197. package/es/index.d.ts +3 -1
  198. package/es/index.mjs +7 -1
  199. package/es/lazyload/vue-lazyload/lazy-component.mjs +4 -1
  200. package/es/lazyload/vue-lazyload/lazy-container.mjs +11 -7
  201. package/es/lazyload/vue-lazyload/lazy-image.mjs +24 -14
  202. package/es/lazyload/vue-lazyload/lazy.mjs +11 -3
  203. package/es/lazyload/vue-lazyload/listener.mjs +45 -33
  204. package/es/lazyload/vue-lazyload/util.mjs +4 -1
  205. package/es/list/List.d.ts +1 -1
  206. package/es/list/List.mjs +4 -2
  207. package/es/list/index.d.ts +1 -0
  208. package/es/list/index.mjs +3 -1
  209. package/es/loading/Loading.d.ts +2 -2
  210. package/es/loading/Loading.mjs +2 -1
  211. package/es/loading/index.d.ts +2 -1
  212. package/es/loading/index.mjs +3 -1
  213. package/es/nav-bar/NavBar.d.ts +1 -1
  214. package/es/nav-bar/NavBar.mjs +2 -1
  215. package/es/nav-bar/index.d.ts +1 -0
  216. package/es/nav-bar/index.mjs +3 -1
  217. package/es/notice-bar/NoticeBar.d.ts +1 -1
  218. package/es/notice-bar/NoticeBar.mjs +2 -1
  219. package/es/notice-bar/index.d.ts +1 -0
  220. package/es/notice-bar/index.mjs +3 -1
  221. package/es/notify/Notify.d.ts +1 -1
  222. package/es/notify/Notify.mjs +2 -1
  223. package/es/notify/index.d.ts +1 -0
  224. package/es/notify/index.mjs +2 -0
  225. package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
  226. package/es/number-keyboard/NumberKeyboard.mjs +3 -3
  227. package/es/number-keyboard/NumberKeyboardKey.mjs +2 -2
  228. package/es/number-keyboard/index.d.ts +2 -1
  229. package/es/number-keyboard/index.mjs +3 -1
  230. package/es/overlay/Overlay.d.ts +2 -2
  231. package/es/overlay/Overlay.mjs +15 -7
  232. package/es/overlay/index.d.ts +2 -1
  233. package/es/overlay/index.mjs +3 -1
  234. package/es/pagination/Pagination.d.ts +1 -1
  235. package/es/pagination/Pagination.mjs +2 -1
  236. package/es/pagination/index.d.ts +1 -0
  237. package/es/pagination/index.mjs +3 -1
  238. package/es/password-input/PasswordInput.d.ts +1 -1
  239. package/es/password-input/PasswordInput.mjs +3 -2
  240. package/es/password-input/index.d.ts +1 -0
  241. package/es/password-input/index.mjs +3 -1
  242. package/es/picker/Picker.d.ts +11 -6
  243. package/es/picker/Picker.mjs +51 -65
  244. package/es/picker/PickerColumn.d.ts +2 -1
  245. package/es/picker/PickerColumn.mjs +11 -6
  246. package/es/picker/PickerToolbar.d.ts +21 -0
  247. package/es/picker/PickerToolbar.mjs +59 -0
  248. package/es/picker/index.d.ts +7 -3
  249. package/es/picker/index.mjs +3 -1
  250. package/es/picker/style/index.mjs +7 -0
  251. package/es/picker/utils.d.ts +2 -0
  252. package/es/picker/utils.mjs +14 -7
  253. package/es/picker-group/PickerGroup.d.ts +39 -0
  254. package/es/picker-group/PickerGroup.mjs +57 -0
  255. package/es/picker-group/index.css +1 -0
  256. package/es/picker-group/index.d.ts +33 -0
  257. package/es/picker-group/index.mjs +10 -0
  258. package/es/picker-group/style/index.d.ts +1 -0
  259. package/es/picker-group/style/index.mjs +9 -0
  260. package/es/popover/Popover.d.ts +1 -1
  261. package/es/popover/Popover.mjs +30 -28
  262. package/es/popover/index.d.ts +1 -0
  263. package/es/popover/index.mjs +3 -1
  264. package/es/popup/Popup.d.ts +3 -3
  265. package/es/popup/Popup.mjs +8 -6
  266. package/es/popup/index.css +1 -1
  267. package/es/popup/index.d.ts +3 -2
  268. package/es/popup/index.mjs +3 -1
  269. package/es/popup/shared.mjs +3 -1
  270. package/es/progress/Progress.d.ts +2 -2
  271. package/es/progress/Progress.mjs +2 -1
  272. package/es/progress/index.d.ts +2 -1
  273. package/es/progress/index.mjs +3 -1
  274. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  275. package/es/pull-refresh/PullRefresh.mjs +9 -4
  276. package/es/pull-refresh/index.d.ts +1 -0
  277. package/es/pull-refresh/index.mjs +3 -1
  278. package/es/radio/Radio.d.ts +15 -2
  279. package/es/radio/Radio.mjs +3 -1
  280. package/es/radio/index.d.ts +1 -0
  281. package/es/radio/index.mjs +3 -1
  282. package/es/radio-group/RadioGroup.d.ts +1 -1
  283. package/es/radio-group/RadioGroup.mjs +2 -1
  284. package/es/radio-group/index.d.ts +1 -0
  285. package/es/radio-group/index.mjs +3 -1
  286. package/es/rate/Rate.d.ts +1 -1
  287. package/es/rate/Rate.mjs +7 -4
  288. package/es/rate/index.d.ts +1 -0
  289. package/es/rate/index.mjs +3 -1
  290. package/es/row/Row.d.ts +2 -2
  291. package/es/row/Row.mjs +2 -1
  292. package/es/row/index.d.ts +2 -1
  293. package/es/row/index.mjs +3 -1
  294. package/es/search/Search.d.ts +1 -1
  295. package/es/search/Search.mjs +2 -1
  296. package/es/search/index.css +1 -1
  297. package/es/search/index.d.ts +1 -0
  298. package/es/search/index.mjs +3 -1
  299. package/es/share-sheet/ShareSheet.d.ts +1 -1
  300. package/es/share-sheet/ShareSheet.mjs +2 -1
  301. package/es/share-sheet/index.d.ts +1 -0
  302. package/es/share-sheet/index.mjs +3 -1
  303. package/es/sidebar/Sidebar.d.ts +1 -1
  304. package/es/sidebar/Sidebar.mjs +2 -1
  305. package/es/sidebar/index.d.ts +1 -0
  306. package/es/sidebar/index.mjs +3 -1
  307. package/es/sidebar-item/SidebarItem.d.ts +1 -1
  308. package/es/sidebar-item/SidebarItem.mjs +2 -1
  309. package/es/sidebar-item/index.d.ts +1 -0
  310. package/es/sidebar-item/index.mjs +3 -1
  311. package/es/skeleton/Skeleton.d.ts +2 -2
  312. package/es/skeleton/Skeleton.mjs +2 -1
  313. package/es/skeleton/index.d.ts +2 -1
  314. package/es/skeleton/index.mjs +3 -1
  315. package/es/slider/Slider.d.ts +1 -1
  316. package/es/slider/Slider.mjs +9 -4
  317. package/es/slider/index.d.ts +1 -0
  318. package/es/slider/index.mjs +3 -1
  319. package/es/space/Space.d.ts +48 -0
  320. package/es/space/Space.mjs +88 -0
  321. package/es/space/index.css +1 -0
  322. package/es/space/index.d.ts +38 -0
  323. package/es/space/index.mjs +10 -0
  324. package/es/space/style/index.d.ts +1 -0
  325. package/es/space/style/index.mjs +2 -0
  326. package/es/step/Step.d.ts +1 -1
  327. package/es/step/index.d.ts +1 -1
  328. package/es/stepper/Stepper.d.ts +1 -1
  329. package/es/stepper/Stepper.mjs +3 -2
  330. package/es/stepper/index.d.ts +1 -0
  331. package/es/stepper/index.mjs +3 -1
  332. package/es/steps/Steps.d.ts +1 -1
  333. package/es/steps/Steps.mjs +2 -1
  334. package/es/steps/index.d.ts +1 -0
  335. package/es/steps/index.mjs +3 -1
  336. package/es/sticky/Sticky.d.ts +1 -1
  337. package/es/sticky/Sticky.mjs +4 -2
  338. package/es/sticky/index.d.ts +1 -0
  339. package/es/sticky/index.mjs +3 -1
  340. package/es/submit-bar/SubmitBar.d.ts +1 -1
  341. package/es/submit-bar/SubmitBar.mjs +2 -1
  342. package/es/submit-bar/index.d.ts +1 -0
  343. package/es/submit-bar/index.mjs +3 -1
  344. package/es/swipe/Swipe.d.ts +1 -1
  345. package/es/swipe/Swipe.mjs +16 -8
  346. package/es/swipe/index.d.ts +1 -0
  347. package/es/swipe/index.mjs +3 -1
  348. package/es/swipe-cell/SwipeCell.d.ts +3 -3
  349. package/es/swipe-cell/SwipeCell.mjs +7 -4
  350. package/es/swipe-cell/index.d.ts +3 -2
  351. package/es/swipe-cell/index.mjs +3 -1
  352. package/es/swipe-item/SwipeItem.d.ts +1 -1
  353. package/es/swipe-item/index.d.ts +1 -1
  354. package/es/switch/Switch.d.ts +1 -1
  355. package/es/switch/Switch.mjs +2 -1
  356. package/es/switch/index.d.ts +1 -0
  357. package/es/switch/index.mjs +3 -1
  358. package/es/tab/Tab.d.ts +2 -2
  359. package/es/tab/Tab.mjs +2 -1
  360. package/es/tab/index.d.ts +2 -1
  361. package/es/tab/index.mjs +3 -1
  362. package/es/tabbar/Tabbar.d.ts +1 -1
  363. package/es/tabbar/Tabbar.mjs +2 -1
  364. package/es/tabbar/index.d.ts +1 -0
  365. package/es/tabbar/index.mjs +3 -1
  366. package/es/tabbar-item/TabbarItem.d.ts +1 -1
  367. package/es/tabbar-item/TabbarItem.mjs +2 -1
  368. package/es/tabbar-item/index.d.ts +1 -0
  369. package/es/tabbar-item/index.mjs +3 -1
  370. package/es/tabs/Tabs.d.ts +1 -1
  371. package/es/tabs/Tabs.mjs +14 -3
  372. package/es/tabs/TabsContent.mjs +4 -0
  373. package/es/tabs/TabsTitle.d.ts +1 -1
  374. package/es/tabs/index.d.ts +1 -0
  375. package/es/tabs/index.mjs +3 -1
  376. package/es/tag/Tag.d.ts +1 -1
  377. package/es/tag/Tag.mjs +2 -1
  378. package/es/tag/index.d.ts +1 -0
  379. package/es/tag/index.mjs +3 -1
  380. package/es/time-picker/TimePicker.d.ts +7 -4
  381. package/es/time-picker/TimePicker.mjs +2 -1
  382. package/es/time-picker/index.d.ts +5 -2
  383. package/es/time-picker/index.mjs +3 -1
  384. package/es/time-picker/style/index.mjs +7 -0
  385. package/es/toast/Toast.d.ts +1 -1
  386. package/es/toast/Toast.mjs +9 -2
  387. package/es/toast/index.d.ts +1 -0
  388. package/es/toast/index.mjs +3 -1
  389. package/es/tree-select/TreeSelect.d.ts +1 -1
  390. package/es/tree-select/TreeSelect.mjs +2 -1
  391. package/es/tree-select/index.d.ts +1 -0
  392. package/es/tree-select/index.mjs +3 -1
  393. package/es/uploader/Uploader.d.ts +1 -1
  394. package/es/uploader/Uploader.mjs +2 -1
  395. package/es/uploader/index.d.ts +1 -0
  396. package/es/uploader/index.mjs +3 -1
  397. package/es/utils/basic.mjs +2 -1
  398. package/es/utils/create.mjs +8 -2
  399. package/es/utils/with-install.d.ts +2 -2
  400. package/es/utils/with-install.mjs +4 -2
  401. package/es/vue-tsx-shim.d.ts +7 -0
  402. package/lib/action-bar/ActionBar.d.ts +2 -2
  403. package/lib/action-bar/ActionBar.js +1 -0
  404. package/lib/action-bar/index.d.ts +2 -1
  405. package/lib/action-bar/index.js +6 -1
  406. package/lib/action-bar-button/ActionBarButton.d.ts +2 -2
  407. package/lib/action-bar-button/ActionBarButton.js +1 -0
  408. package/lib/action-bar-button/index.d.ts +2 -1
  409. package/lib/action-bar-button/index.js +6 -1
  410. package/lib/action-bar-icon/ActionBarIcon.d.ts +2 -2
  411. package/lib/action-bar-icon/ActionBarIcon.js +1 -0
  412. package/lib/action-bar-icon/index.d.ts +2 -1
  413. package/lib/action-bar-icon/index.js +6 -1
  414. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  415. package/lib/action-sheet/ActionSheet.js +1 -0
  416. package/lib/action-sheet/index.d.ts +1 -0
  417. package/lib/action-sheet/index.js +6 -1
  418. package/lib/address-edit/AddressEdit.d.ts +1 -1
  419. package/lib/address-edit/AddressEdit.js +5 -1
  420. package/lib/address-edit/index.d.ts +1 -0
  421. package/lib/address-edit/index.js +6 -1
  422. package/lib/address-edit/style/index.js +7 -1
  423. package/lib/address-list/AddressList.d.ts +1 -1
  424. package/lib/address-list/AddressList.js +5 -1
  425. package/lib/address-list/index.d.ts +1 -0
  426. package/lib/address-list/index.js +6 -1
  427. package/lib/area/Area.d.ts +7 -4
  428. package/lib/area/Area.js +1 -0
  429. package/lib/area/index.d.ts +5 -2
  430. package/lib/area/index.js +6 -1
  431. package/lib/area/style/index.js +7 -0
  432. package/lib/area/utils.js +9 -2
  433. package/lib/badge/Badge.d.ts +2 -2
  434. package/lib/badge/Badge.js +2 -1
  435. package/lib/badge/index.d.ts +2 -1
  436. package/lib/badge/index.js +6 -1
  437. package/lib/button/Button.d.ts +1 -1
  438. package/lib/button/Button.js +1 -0
  439. package/lib/button/index.d.ts +1 -0
  440. package/lib/button/index.js +6 -1
  441. package/lib/calendar/Calendar.d.ts +1 -1
  442. package/lib/calendar/Calendar.js +12 -8
  443. package/lib/calendar/CalendarMonth.js +4 -1
  444. package/lib/calendar/index.d.ts +1 -0
  445. package/lib/calendar/index.js +6 -1
  446. package/lib/calendar/style/index.js +7 -1
  447. package/lib/card/Card.d.ts +1 -1
  448. package/lib/card/Card.js +1 -0
  449. package/lib/card/index.d.ts +1 -0
  450. package/lib/card/index.js +6 -1
  451. package/lib/cascader/Cascader.d.ts +1 -1
  452. package/lib/cascader/Cascader.js +1 -0
  453. package/lib/cascader/index.d.ts +1 -0
  454. package/lib/cascader/index.js +6 -1
  455. package/lib/cell/Cell.d.ts +2 -2
  456. package/lib/cell/Cell.js +1 -0
  457. package/lib/cell/index.d.ts +2 -1
  458. package/lib/cell/index.js +6 -1
  459. package/lib/cell-group/CellGroup.d.ts +2 -2
  460. package/lib/cell-group/CellGroup.js +1 -0
  461. package/lib/cell-group/index.d.ts +2 -1
  462. package/lib/cell-group/index.js +6 -1
  463. package/lib/checkbox/Checkbox.d.ts +1 -1
  464. package/lib/checkbox/Checkbox.js +5 -1
  465. package/lib/checkbox/index.d.ts +1 -0
  466. package/lib/checkbox/index.js +6 -1
  467. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  468. package/lib/checkbox-group/CheckboxGroup.js +1 -0
  469. package/lib/checkbox-group/index.d.ts +1 -0
  470. package/lib/checkbox-group/index.js +6 -1
  471. package/lib/circle/Circle.d.ts +1 -1
  472. package/lib/circle/Circle.js +1 -0
  473. package/lib/circle/index.d.ts +1 -0
  474. package/lib/circle/index.js +6 -1
  475. package/lib/col/Col.d.ts +2 -2
  476. package/lib/col/Col.js +1 -0
  477. package/lib/col/index.d.ts +2 -1
  478. package/lib/col/index.js +6 -1
  479. package/lib/collapse/Collapse.d.ts +9 -2
  480. package/lib/collapse/Collapse.js +29 -1
  481. package/lib/collapse/index.d.ts +2 -1
  482. package/lib/collapse/index.js +6 -1
  483. package/lib/collapse-item/CollapseItem.d.ts +2 -2
  484. package/lib/collapse-item/CollapseItem.js +4 -1
  485. package/lib/collapse-item/index.d.ts +2 -1
  486. package/lib/collapse-item/index.js +6 -1
  487. package/lib/composables/use-global-z-index.d.ts +4 -0
  488. package/lib/composables/use-global-z-index.js +28 -0
  489. package/lib/composables/use-height.d.ts +1 -1
  490. package/lib/composables/use-height.js +8 -2
  491. package/lib/composables/use-lazy-render.js +9 -5
  492. package/lib/composables/use-lock-scroll.js +7 -2
  493. package/lib/composables/use-placeholder.js +1 -1
  494. package/lib/composables/use-visibility-change.js +6 -3
  495. package/lib/config-provider/ConfigProvider.d.ts +15 -5
  496. package/lib/config-provider/ConfigProvider.js +24 -7
  497. package/lib/config-provider/index.d.ts +10 -3
  498. package/lib/config-provider/index.js +6 -1
  499. package/lib/contact-card/ContactCard.d.ts +1 -1
  500. package/lib/contact-card/ContactCard.js +1 -0
  501. package/lib/contact-card/index.d.ts +1 -0
  502. package/lib/contact-card/index.js +6 -1
  503. package/lib/contact-edit/ContactEdit.d.ts +1 -1
  504. package/lib/contact-edit/ContactEdit.js +1 -0
  505. package/lib/contact-edit/index.d.ts +1 -0
  506. package/lib/contact-edit/index.js +6 -1
  507. package/lib/contact-list/ContactList.d.ts +1 -1
  508. package/lib/contact-list/ContactList.js +1 -0
  509. package/lib/contact-list/index.d.ts +1 -0
  510. package/lib/contact-list/index.js +6 -1
  511. package/lib/count-down/CountDown.d.ts +1 -1
  512. package/lib/count-down/CountDown.js +1 -0
  513. package/lib/count-down/index.d.ts +1 -0
  514. package/lib/count-down/index.js +6 -1
  515. package/lib/coupon/Coupon.d.ts +1 -1
  516. package/lib/coupon/index.d.ts +1 -1
  517. package/lib/coupon/index.js +4 -1
  518. package/lib/coupon/utils.js +3 -1
  519. package/lib/coupon-cell/CouponCell.d.ts +2 -2
  520. package/lib/coupon-cell/CouponCell.js +1 -0
  521. package/lib/coupon-cell/index.d.ts +2 -1
  522. package/lib/coupon-cell/index.js +6 -1
  523. package/lib/coupon-list/CouponList.d.ts +1 -1
  524. package/lib/coupon-list/CouponList.js +1 -0
  525. package/lib/coupon-list/index.d.ts +1 -0
  526. package/lib/coupon-list/index.js +6 -1
  527. package/lib/coupon-list/style/index.js +3 -3
  528. package/lib/date-picker/DatePicker.d.ts +7 -4
  529. package/lib/date-picker/DatePicker.js +11 -10
  530. package/lib/date-picker/index.d.ts +5 -2
  531. package/lib/date-picker/index.js +6 -1
  532. package/lib/date-picker/style/index.js +7 -0
  533. package/lib/date-picker/utils.d.ts +2 -1
  534. package/lib/dialog/Dialog.d.ts +1 -1
  535. package/lib/dialog/Dialog.js +2 -1
  536. package/lib/dialog/function-call.js +4 -1
  537. package/lib/dialog/index.css +1 -1
  538. package/lib/dialog/index.d.ts +1 -0
  539. package/lib/dialog/index.js +6 -1
  540. package/lib/dialog/types.d.ts +1 -1
  541. package/lib/divider/Divider.d.ts +2 -2
  542. package/lib/divider/Divider.js +2 -1
  543. package/lib/divider/index.d.ts +2 -1
  544. package/lib/divider/index.js +7 -2
  545. package/lib/dropdown-item/DropdownItem.d.ts +3 -3
  546. package/lib/dropdown-item/DropdownItem.js +2 -1
  547. package/lib/dropdown-item/index.d.ts +3 -2
  548. package/lib/dropdown-item/index.js +7 -2
  549. package/lib/dropdown-menu/DropdownMenu.d.ts +2 -2
  550. package/lib/dropdown-menu/DropdownMenu.js +4 -2
  551. package/lib/dropdown-menu/index.d.ts +2 -1
  552. package/lib/dropdown-menu/index.js +7 -2
  553. package/lib/empty/Empty.d.ts +3 -3
  554. package/lib/empty/Empty.js +283 -17
  555. package/lib/empty/index.d.ts +2 -1
  556. package/lib/empty/index.js +7 -2
  557. package/lib/field/Field.d.ts +1 -1
  558. package/lib/field/Field.js +13 -2
  559. package/lib/field/index.d.ts +1 -0
  560. package/lib/field/index.js +7 -2
  561. package/lib/field/types.d.ts +1 -0
  562. package/lib/field/utils.d.ts +1 -0
  563. package/lib/field/utils.js +8 -2
  564. package/lib/form/Form.d.ts +1 -1
  565. package/lib/form/Form.js +2 -1
  566. package/lib/form/index.d.ts +1 -0
  567. package/lib/form/index.js +7 -2
  568. package/lib/grid/Grid.d.ts +2 -2
  569. package/lib/grid/Grid.js +2 -1
  570. package/lib/grid/index.d.ts +2 -1
  571. package/lib/grid/index.js +7 -2
  572. package/lib/grid-item/GridItem.d.ts +2 -2
  573. package/lib/grid-item/GridItem.js +2 -1
  574. package/lib/grid-item/index.d.ts +2 -1
  575. package/lib/grid-item/index.js +7 -2
  576. package/lib/icon/Icon.d.ts +2 -2
  577. package/lib/icon/Icon.js +2 -1
  578. package/lib/icon/index.d.ts +2 -1
  579. package/lib/icon/index.js +7 -2
  580. package/lib/image/Image.d.ts +5 -1
  581. package/lib/image/Image.js +5 -2
  582. package/lib/image/index.css +1 -1
  583. package/lib/image/index.d.ts +4 -0
  584. package/lib/image/index.js +7 -2
  585. package/lib/image-preview/ImagePreview.d.ts +1 -1
  586. package/lib/image-preview/ImagePreview.js +6 -2
  587. package/lib/image-preview/ImagePreviewItem.js +10 -2
  588. package/lib/image-preview/function-call.js +4 -1
  589. package/lib/image-preview/index.css +1 -1
  590. package/lib/image-preview/index.d.ts +1 -0
  591. package/lib/image-preview/index.js +6 -1
  592. package/lib/index-anchor/IndexAnchor.d.ts +2 -2
  593. package/lib/index-anchor/IndexAnchor.js +2 -1
  594. package/lib/index-anchor/index.d.ts +2 -1
  595. package/lib/index-anchor/index.js +7 -2
  596. package/lib/index-bar/IndexBar.d.ts +1 -1
  597. package/lib/index-bar/IndexBar.js +11 -5
  598. package/lib/index-bar/index.d.ts +1 -0
  599. package/lib/index-bar/index.js +7 -2
  600. package/lib/index.css +1 -1
  601. package/lib/index.d.ts +3 -1
  602. package/lib/index.js +7 -1
  603. package/lib/lazyload/vue-lazyload/index.js +4 -1
  604. package/lib/lazyload/vue-lazyload/lazy-component.js +4 -1
  605. package/lib/lazyload/vue-lazyload/lazy-container.js +11 -7
  606. package/lib/lazyload/vue-lazyload/lazy-image.js +24 -14
  607. package/lib/lazyload/vue-lazyload/lazy.js +15 -4
  608. package/lib/lazyload/vue-lazyload/listener.js +45 -33
  609. package/lib/lazyload/vue-lazyload/util.js +4 -1
  610. package/lib/list/List.d.ts +1 -1
  611. package/lib/list/List.js +4 -2
  612. package/lib/list/index.d.ts +1 -0
  613. package/lib/list/index.js +7 -2
  614. package/lib/loading/Loading.d.ts +2 -2
  615. package/lib/loading/Loading.js +2 -1
  616. package/lib/loading/index.d.ts +2 -1
  617. package/lib/loading/index.js +7 -2
  618. package/lib/locale/index.js +4 -1
  619. package/lib/nav-bar/NavBar.d.ts +1 -1
  620. package/lib/nav-bar/NavBar.js +2 -1
  621. package/lib/nav-bar/index.d.ts +1 -0
  622. package/lib/nav-bar/index.js +7 -2
  623. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  624. package/lib/notice-bar/NoticeBar.js +2 -1
  625. package/lib/notice-bar/index.d.ts +1 -0
  626. package/lib/notice-bar/index.js +7 -2
  627. package/lib/notify/Notify.d.ts +1 -1
  628. package/lib/notify/Notify.js +2 -1
  629. package/lib/notify/function-call.js +4 -1
  630. package/lib/notify/index.d.ts +1 -0
  631. package/lib/notify/index.js +6 -1
  632. package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
  633. package/lib/number-keyboard/NumberKeyboard.js +7 -4
  634. package/lib/number-keyboard/NumberKeyboardKey.js +2 -2
  635. package/lib/number-keyboard/index.d.ts +2 -1
  636. package/lib/number-keyboard/index.js +7 -2
  637. package/lib/overlay/Overlay.d.ts +2 -2
  638. package/lib/overlay/Overlay.js +13 -5
  639. package/lib/overlay/index.d.ts +2 -1
  640. package/lib/overlay/index.js +7 -2
  641. package/lib/pagination/Pagination.d.ts +1 -1
  642. package/lib/pagination/Pagination.js +2 -1
  643. package/lib/pagination/index.d.ts +1 -0
  644. package/lib/pagination/index.js +7 -2
  645. package/lib/password-input/PasswordInput.d.ts +1 -1
  646. package/lib/password-input/PasswordInput.js +3 -2
  647. package/lib/password-input/index.d.ts +1 -0
  648. package/lib/password-input/index.js +7 -2
  649. package/lib/picker/Picker.d.ts +11 -6
  650. package/lib/picker/Picker.js +57 -68
  651. package/lib/picker/PickerColumn.d.ts +2 -1
  652. package/lib/picker/PickerColumn.js +10 -5
  653. package/lib/picker/PickerToolbar.d.ts +21 -0
  654. package/lib/picker/PickerToolbar.js +78 -0
  655. package/lib/picker/index.d.ts +7 -3
  656. package/lib/picker/index.js +7 -2
  657. package/lib/picker/style/index.js +7 -0
  658. package/lib/picker/utils.d.ts +2 -0
  659. package/lib/picker/utils.js +15 -8
  660. package/lib/picker-group/PickerGroup.d.ts +39 -0
  661. package/lib/picker-group/PickerGroup.js +82 -0
  662. package/lib/picker-group/index.css +1 -0
  663. package/lib/picker-group/index.d.ts +33 -0
  664. package/lib/picker-group/index.js +35 -0
  665. package/lib/picker-group/style/index.d.ts +1 -0
  666. package/lib/picker-group/style/index.js +9 -0
  667. package/lib/popover/Popover.d.ts +1 -1
  668. package/lib/popover/Popover.js +29 -27
  669. package/lib/popover/index.d.ts +1 -0
  670. package/lib/popover/index.js +7 -2
  671. package/lib/popup/Popup.d.ts +3 -3
  672. package/lib/popup/Popup.js +8 -6
  673. package/lib/popup/index.css +1 -1
  674. package/lib/popup/index.d.ts +3 -2
  675. package/lib/popup/index.js +7 -2
  676. package/lib/popup/shared.js +3 -1
  677. package/lib/progress/Progress.d.ts +2 -2
  678. package/lib/progress/Progress.js +2 -1
  679. package/lib/progress/index.d.ts +2 -1
  680. package/lib/progress/index.js +7 -2
  681. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  682. package/lib/pull-refresh/PullRefresh.js +8 -3
  683. package/lib/pull-refresh/index.d.ts +1 -0
  684. package/lib/pull-refresh/index.js +7 -2
  685. package/lib/radio/Radio.d.ts +15 -2
  686. package/lib/radio/Radio.js +7 -2
  687. package/lib/radio/index.d.ts +1 -0
  688. package/lib/radio/index.js +7 -2
  689. package/lib/radio-group/RadioGroup.d.ts +1 -1
  690. package/lib/radio-group/RadioGroup.js +2 -1
  691. package/lib/radio-group/index.d.ts +1 -0
  692. package/lib/radio-group/index.js +7 -2
  693. package/lib/rate/Rate.d.ts +1 -1
  694. package/lib/rate/Rate.js +6 -3
  695. package/lib/rate/index.d.ts +1 -0
  696. package/lib/rate/index.js +7 -2
  697. package/lib/row/Row.d.ts +2 -2
  698. package/lib/row/Row.js +2 -1
  699. package/lib/row/index.d.ts +2 -1
  700. package/lib/row/index.js +7 -2
  701. package/lib/search/Search.d.ts +1 -1
  702. package/lib/search/Search.js +2 -1
  703. package/lib/search/index.css +1 -1
  704. package/lib/search/index.d.ts +1 -0
  705. package/lib/search/index.js +7 -2
  706. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  707. package/lib/share-sheet/ShareSheet.js +2 -1
  708. package/lib/share-sheet/index.d.ts +1 -0
  709. package/lib/share-sheet/index.js +7 -2
  710. package/lib/sidebar/Sidebar.d.ts +1 -1
  711. package/lib/sidebar/Sidebar.js +2 -1
  712. package/lib/sidebar/index.d.ts +1 -0
  713. package/lib/sidebar/index.js +7 -2
  714. package/lib/sidebar-item/SidebarItem.d.ts +1 -1
  715. package/lib/sidebar-item/SidebarItem.js +2 -1
  716. package/lib/sidebar-item/index.d.ts +1 -0
  717. package/lib/sidebar-item/index.js +7 -2
  718. package/lib/skeleton/Skeleton.d.ts +2 -2
  719. package/lib/skeleton/Skeleton.js +2 -1
  720. package/lib/skeleton/index.d.ts +2 -1
  721. package/lib/skeleton/index.js +7 -2
  722. package/lib/slider/Slider.d.ts +1 -1
  723. package/lib/slider/Slider.js +8 -3
  724. package/lib/slider/index.d.ts +1 -0
  725. package/lib/slider/index.js +7 -2
  726. package/lib/space/Space.d.ts +48 -0
  727. package/lib/space/Space.js +107 -0
  728. package/lib/space/index.css +1 -0
  729. package/lib/space/index.d.ts +38 -0
  730. package/lib/space/index.js +35 -0
  731. package/lib/space/style/index.d.ts +1 -0
  732. package/lib/space/style/index.js +2 -0
  733. package/lib/step/Step.d.ts +1 -1
  734. package/lib/step/index.d.ts +1 -1
  735. package/lib/step/index.js +4 -1
  736. package/lib/stepper/Stepper.d.ts +1 -1
  737. package/lib/stepper/Stepper.js +3 -2
  738. package/lib/stepper/index.d.ts +1 -0
  739. package/lib/stepper/index.js +7 -2
  740. package/lib/steps/Steps.d.ts +1 -1
  741. package/lib/steps/Steps.js +2 -1
  742. package/lib/steps/index.d.ts +1 -0
  743. package/lib/steps/index.js +7 -2
  744. package/lib/sticky/Sticky.d.ts +1 -1
  745. package/lib/sticky/Sticky.js +4 -2
  746. package/lib/sticky/index.d.ts +1 -0
  747. package/lib/sticky/index.js +7 -2
  748. package/lib/submit-bar/SubmitBar.d.ts +1 -1
  749. package/lib/submit-bar/SubmitBar.js +2 -1
  750. package/lib/submit-bar/index.d.ts +1 -0
  751. package/lib/submit-bar/index.js +7 -2
  752. package/lib/swipe/Swipe.d.ts +1 -1
  753. package/lib/swipe/Swipe.js +15 -7
  754. package/lib/swipe/index.d.ts +1 -0
  755. package/lib/swipe/index.js +7 -2
  756. package/lib/swipe-cell/SwipeCell.d.ts +3 -3
  757. package/lib/swipe-cell/SwipeCell.js +6 -3
  758. package/lib/swipe-cell/index.d.ts +3 -2
  759. package/lib/swipe-cell/index.js +7 -2
  760. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  761. package/lib/swipe-item/index.d.ts +1 -1
  762. package/lib/swipe-item/index.js +4 -1
  763. package/lib/switch/Switch.d.ts +1 -1
  764. package/lib/switch/Switch.js +2 -1
  765. package/lib/switch/index.d.ts +1 -0
  766. package/lib/switch/index.js +7 -2
  767. package/lib/tab/Tab.d.ts +2 -2
  768. package/lib/tab/Tab.js +2 -1
  769. package/lib/tab/index.d.ts +2 -1
  770. package/lib/tab/index.js +7 -2
  771. package/lib/tabbar/Tabbar.d.ts +1 -1
  772. package/lib/tabbar/Tabbar.js +2 -1
  773. package/lib/tabbar/index.d.ts +1 -0
  774. package/lib/tabbar/index.js +7 -2
  775. package/lib/tabbar-item/TabbarItem.d.ts +1 -1
  776. package/lib/tabbar-item/TabbarItem.js +2 -1
  777. package/lib/tabbar-item/index.d.ts +1 -0
  778. package/lib/tabbar-item/index.js +7 -2
  779. package/lib/tabs/Tabs.d.ts +1 -1
  780. package/lib/tabs/Tabs.js +18 -4
  781. package/lib/tabs/TabsContent.js +4 -0
  782. package/lib/tabs/TabsTitle.d.ts +1 -1
  783. package/lib/tabs/index.d.ts +1 -0
  784. package/lib/tabs/index.js +7 -2
  785. package/lib/tag/Tag.d.ts +1 -1
  786. package/lib/tag/Tag.js +2 -1
  787. package/lib/tag/index.d.ts +1 -0
  788. package/lib/tag/index.js +7 -2
  789. package/lib/time-picker/TimePicker.d.ts +7 -4
  790. package/lib/time-picker/TimePicker.js +2 -1
  791. package/lib/time-picker/index.d.ts +5 -2
  792. package/lib/time-picker/index.js +7 -2
  793. package/lib/time-picker/style/index.js +7 -0
  794. package/lib/toast/Toast.d.ts +1 -1
  795. package/lib/toast/Toast.js +9 -2
  796. package/lib/toast/function-call.js +4 -1
  797. package/lib/toast/index.d.ts +1 -0
  798. package/lib/toast/index.js +7 -2
  799. package/lib/tree-select/TreeSelect.d.ts +1 -1
  800. package/lib/tree-select/TreeSelect.js +2 -1
  801. package/lib/tree-select/index.d.ts +1 -0
  802. package/lib/tree-select/index.js +7 -2
  803. package/lib/uploader/Uploader.d.ts +1 -1
  804. package/lib/uploader/Uploader.js +6 -2
  805. package/lib/uploader/index.d.ts +1 -0
  806. package/lib/uploader/index.js +7 -2
  807. package/lib/utils/basic.js +2 -1
  808. package/lib/utils/create.js +12 -3
  809. package/lib/utils/with-install.d.ts +2 -2
  810. package/lib/utils/with-install.js +4 -2
  811. package/lib/vant.cjs.js +5416 -4902
  812. package/lib/vant.es.js +5547 -4924
  813. package/lib/vant.js +5431 -4948
  814. package/lib/vant.min.js +1 -1
  815. package/lib/vue-tsx-shim.d.ts +7 -0
  816. package/{vetur → lib}/web-types.json +1237 -1061
  817. package/package.json +14 -19
  818. package/es/empty/Images.d.ts +0 -4
  819. package/es/empty/Images.mjs +0 -271
  820. package/lib/empty/Images.d.ts +0 -4
  821. package/lib/empty/Images.js +0 -290
  822. package/vetur/attributes.json +0 -3530
  823. package/vetur/tags.json +0 -1212
@@ -1,3530 +0,0 @@
1
- {
2
- "van-action-bar/safe-area-inset-bottom": {
3
- "type": "boolean",
4
- "description": "Whether to enable bottom safe area adaptation, Default: `true`"
5
- },
6
- "van-action-bar/placeholder": {
7
- "type": "boolean",
8
- "description": "Whether to generate a placeholder element, Default: `false`"
9
- },
10
- "van-action-bar-icon/text": {
11
- "type": "string",
12
- "description": "Button text, Default: -"
13
- },
14
- "van-action-bar-icon/icon": {
15
- "type": "string",
16
- "description": "Icon, Default: -"
17
- },
18
- "van-action-bar-icon/color": {
19
- "type": "string",
20
- "description": "Icon color, Default: `#323233`"
21
- },
22
- "van-action-bar-icon/icon-class": {
23
- "type": "string | Array | object",
24
- "description": "Icon class name, Default: `''`"
25
- },
26
- "van-action-bar-icon/icon-prefix": {
27
- "type": "string",
28
- "description": "Icon className prefix, Default: `van-icon`"
29
- },
30
- "van-action-bar-icon/dot": {
31
- "type": "boolean",
32
- "description": "Whether to show red dot, Default: -"
33
- },
34
- "van-action-bar-icon/badge": {
35
- "type": "number | string",
36
- "description": "Content of the badge, Default: -"
37
- },
38
- "van-action-bar-icon/badge-props": {
39
- "type": "BadgeProps",
40
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
41
- },
42
- "van-action-bar-icon/url": {
43
- "type": "string",
44
- "description": "Link URL, Default: -"
45
- },
46
- "van-action-bar-icon/to": {
47
- "type": "string | object",
48
- "description": "Target route of the link, same as to of vue-router, Default: -"
49
- },
50
- "van-action-bar-icon/replace": {
51
- "type": "boolean",
52
- "description": "If true, the navigation will not leave a history record, Default: `false`"
53
- },
54
- "van-action-bar-button/text": {
55
- "type": "string",
56
- "description": "Button text, Default: -"
57
- },
58
- "van-action-bar-button/type": {
59
- "type": "string",
60
- "description": "Button type, Can be set to `primary` `info` `warning` `danger`, Default: `default`"
61
- },
62
- "van-action-bar-button/color": {
63
- "type": "string",
64
- "description": "Button color, support linear-gradient, Default: -"
65
- },
66
- "van-action-bar-button/icon": {
67
- "type": "string",
68
- "description": "Left Icon, Default: -"
69
- },
70
- "van-action-bar-button/disabled": {
71
- "type": "boolean",
72
- "description": "Whether to disable button, Default: `false`"
73
- },
74
- "van-action-bar-button/loading": {
75
- "type": "boolean",
76
- "description": "Whether to show loading status, Default: `false`"
77
- },
78
- "van-action-bar-button/url": {
79
- "type": "string",
80
- "description": "Link, Default: -"
81
- },
82
- "van-action-bar-button/to": {
83
- "type": "string | object",
84
- "description": "Target route of the link, same as to of vue-router, Default: -"
85
- },
86
- "van-action-bar-button/replace": {
87
- "type": "boolean",
88
- "description": "If true, the navigation will not leave a history record, Default: `false`"
89
- },
90
- "van-address-list/v-model": {
91
- "type": "string",
92
- "description": "Id of chosen address, Default: -"
93
- },
94
- "van-address-list/list": {
95
- "type": "Address[]",
96
- "description": "Address list, Default: `[]`"
97
- },
98
- "van-address-list/disabled-list": {
99
- "type": "Address[]",
100
- "description": "Disabled address list, Default: `[]`"
101
- },
102
- "van-address-list/disabled-text": {
103
- "type": "string",
104
- "description": "Disabled text, Default: -"
105
- },
106
- "van-address-list/switchable": {
107
- "type": "boolean",
108
- "description": "Whether to allow switch address, Default: `true`"
109
- },
110
- "van-address-list/add-button-text": {
111
- "type": "string",
112
- "description": "Add button text, Default: `Add new address`"
113
- },
114
- "van-address-list/default-tag-text": {
115
- "type": "string",
116
- "description": "Default tag text, Default: -"
117
- },
118
- "van-area/v-model": {
119
- "type": "string",
120
- "description": "the `code` of selected area, Default: -"
121
- },
122
- "van-area/title": {
123
- "type": "string",
124
- "description": "Toolbar title, Default: -"
125
- },
126
- "van-area/confirm-button-text": {
127
- "type": "string",
128
- "description": "Text of confirm button, Default: `Confirm`"
129
- },
130
- "van-area/cancel-button-text": {
131
- "type": "string",
132
- "description": "Text of cancel button, Default: `Cancel`"
133
- },
134
- "van-area/area-list": {
135
- "type": "object",
136
- "description": "Area list data, Default: -"
137
- },
138
- "van-area/columns-placeholder": {
139
- "type": "string[]",
140
- "description": "Placeholder of columns, Default: `[]`"
141
- },
142
- "van-area/loading": {
143
- "type": "boolean",
144
- "description": "Whether to show loading prompt, Default: `false`"
145
- },
146
- "van-area/readonly": {
147
- "type": "boolean",
148
- "description": "Whether to be readonly, Default: `false`"
149
- },
150
- "van-area/option-height": {
151
- "type": "number | string",
152
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
153
- },
154
- "van-area/columns-num": {
155
- "type": "number | string",
156
- "description": "Level of picker, Default: `3`"
157
- },
158
- "van-area/visible-option-num": {
159
- "type": "number | string",
160
- "description": "Count of visible columns, Default: `6`"
161
- },
162
- "van-area/swipe-duration": {
163
- "type": "number | string",
164
- "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
165
- },
166
- "van-address-edit/area-list": {
167
- "type": "object",
168
- "description": "Area List, Default: -"
169
- },
170
- "van-address-edit/area-columns-placeholder": {
171
- "type": "string[]",
172
- "description": "placeholder of area columns, Default: `[]`"
173
- },
174
- "van-address-edit/area-placeholder": {
175
- "type": "string",
176
- "description": "placeholder of area input field, Default: `Area`"
177
- },
178
- "van-address-edit/address-info": {
179
- "type": "AddressEditInfo",
180
- "description": "Address Info, Default: `{}`"
181
- },
182
- "van-address-edit/search-result": {
183
- "type": "AddressEditSearchItem[]",
184
- "description": "Address search result, Default: `[]`"
185
- },
186
- "van-address-edit/show-delete": {
187
- "type": "boolean",
188
- "description": "Whether to show delete button, Default: `false`"
189
- },
190
- "van-address-edit/show-set-default": {
191
- "type": "boolean",
192
- "description": "Whether to show default address switch, Default: `false`"
193
- },
194
- "van-address-edit/show-search-result": {
195
- "type": "boolean",
196
- "description": "Whether to show address search result, Default: `false`"
197
- },
198
- "van-address-edit/show-area": {
199
- "type": "boolean",
200
- "description": "Whether to show area cell, Default: `true`"
201
- },
202
- "van-address-edit/show-detail": {
203
- "type": "boolean",
204
- "description": "Whether to show detail field, Default: `true`"
205
- },
206
- "van-address-edit/disable-area": {
207
- "type": "boolean",
208
- "description": "Whether to disable area select, Default: `false`"
209
- },
210
- "van-address-edit/save-button-text": {
211
- "type": "string",
212
- "description": "Save button text, Default: `Save`"
213
- },
214
- "van-address-edit/delete-button-text": {
215
- "type": "string",
216
- "description": "Delete button text, Default: `Delete`"
217
- },
218
- "van-address-edit/detail-rows": {
219
- "type": "number | string",
220
- "description": "Detail input rows, Default: `1`"
221
- },
222
- "van-address-edit/detail-maxlength": {
223
- "type": "number | string",
224
- "description": "Detail maxlength, Default: `200`"
225
- },
226
- "van-address-edit/is-saving": {
227
- "type": "boolean",
228
- "description": "Whether to show save button loading status, Default: `false`"
229
- },
230
- "van-address-edit/is-deleting": {
231
- "type": "boolean",
232
- "description": "Whether to show delete button loading status, Default: `false`"
233
- },
234
- "van-address-edit/tel-validator": {
235
- "type": "(tel: string) => boolean",
236
- "description": "The method to validate tel, Default: -"
237
- },
238
- "van-address-edit/tel-maxlength": {
239
- "type": "number | string",
240
- "description": "Tel maxlength, Default: -"
241
- },
242
- "van-address-edit/validator": {
243
- "type": "(key, val) => string",
244
- "description": "Custom validator, Default: -"
245
- },
246
- "van-badge/content": {
247
- "type": "number | string",
248
- "description": "Badge content, Default: -"
249
- },
250
- "van-badge/color": {
251
- "type": "string",
252
- "description": "Background color, Default: `#ee0a24`"
253
- },
254
- "van-badge/dot": {
255
- "type": "boolean",
256
- "description": "Whether to show dot, Default: `false`"
257
- },
258
- "van-badge/max": {
259
- "type": "number | string",
260
- "description": "Max value, show `{max}+` when exceed, only works when content is number, Default: -"
261
- },
262
- "van-badge/offset": {
263
- "type": "[number | string, number | string]",
264
- "description": "Offset of badge dot, Default: -"
265
- },
266
- "van-badge/show-zero": {
267
- "type": "boolean",
268
- "description": "Whether to show badge when content is zero, Default: `true`"
269
- },
270
- "van-badge/position": {
271
- "type": "string",
272
- "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
273
- },
274
- "van-button/type": {
275
- "type": "string",
276
- "description": "Can be set to `primary` `success` `warning` `danger`, Default: `default`"
277
- },
278
- "van-button/size": {
279
- "type": "string",
280
- "description": "Can be set to `large` `small` `mini`, Default: `normal`"
281
- },
282
- "van-button/text": {
283
- "type": "string",
284
- "description": "Text, Default: -"
285
- },
286
- "van-button/color": {
287
- "type": "string",
288
- "description": "Color, support linear-gradient, Default: -"
289
- },
290
- "van-button/icon": {
291
- "type": "string",
292
- "description": "Left Icon, Default: -"
293
- },
294
- "van-button/icon-prefix": {
295
- "type": "string",
296
- "description": "Icon className prefix, Default: `van-icon`"
297
- },
298
- "van-button/icon-position": {
299
- "type": "string",
300
- "description": "Icon position, can be set to `right`, Default: `left`"
301
- },
302
- "van-button/tag": {
303
- "type": "string",
304
- "description": "HTML Tag, Default: `button`"
305
- },
306
- "van-button/native-type": {
307
- "type": "string",
308
- "description": "Native Type Attribute, Default: `button`"
309
- },
310
- "van-button/plain": {
311
- "type": "boolean",
312
- "description": "Whether to be plain button, Default: `false`"
313
- },
314
- "van-button/block": {
315
- "type": "boolean",
316
- "description": "Whether to set display block, Default: `false`"
317
- },
318
- "van-button/round": {
319
- "type": "boolean",
320
- "description": "Whether to be round button, Default: `false`"
321
- },
322
- "van-button/square": {
323
- "type": "boolean",
324
- "description": "Whether to be square button, Default: `false`"
325
- },
326
- "van-button/disabled": {
327
- "type": "boolean",
328
- "description": "Whether to disable button, Default: `false`"
329
- },
330
- "van-button/loading": {
331
- "type": "boolean",
332
- "description": "Whether to show loading status, Default: `false`"
333
- },
334
- "van-button/loading-text": {
335
- "type": "string",
336
- "description": "Loading text, Default: -"
337
- },
338
- "van-button/loading-type": {
339
- "type": "string",
340
- "description": "Loading type, can be set to `spinner`, Default: `circular`"
341
- },
342
- "van-button/loading-size": {
343
- "type": "number | string",
344
- "description": "Loading icon size, Default: `20px`"
345
- },
346
- "van-button/url": {
347
- "type": "string",
348
- "description": "Link URL, Default: -"
349
- },
350
- "van-button/to": {
351
- "type": "string | object",
352
- "description": "Target route of the link, same as using vue-router, Default: -"
353
- },
354
- "van-button/replace": {
355
- "type": "boolean",
356
- "description": "If true, the navigation will not leave a history record, Default: `false`"
357
- },
358
- "van-action-sheet/v-model:show": {
359
- "type": "boolean",
360
- "description": "Whether to show ActionSheet, Default: `false`"
361
- },
362
- "van-action-sheet/actions": {
363
- "type": "ActionSheetAction[]",
364
- "description": "Options, Default: `[]`"
365
- },
366
- "van-action-sheet/title": {
367
- "type": "string",
368
- "description": "Title, Default: -"
369
- },
370
- "van-action-sheet/cancel-text": {
371
- "type": "string",
372
- "description": "Text of cancel button, Default: -"
373
- },
374
- "van-action-sheet/description": {
375
- "type": "string",
376
- "description": "Description above the options, Default: -"
377
- },
378
- "van-action-sheet/closeable": {
379
- "type": "boolean",
380
- "description": "Whether to show close icon, Default: `true`"
381
- },
382
- "van-action-sheet/close-icon": {
383
- "type": "string",
384
- "description": "Close icon name, Default: `cross`"
385
- },
386
- "van-action-sheet/duration": {
387
- "type": "number | string",
388
- "description": "Transition duration, unit second, Default: `0.3`"
389
- },
390
- "van-action-sheet/round": {
391
- "type": "boolean",
392
- "description": "Whether to show round corner, Default: `true`"
393
- },
394
- "van-action-sheet/overlay": {
395
- "type": "boolean",
396
- "description": "Whether to show overlay, Default: `true`"
397
- },
398
- "van-action-sheet/overlay-class": {
399
- "type": "string | Array | object",
400
- "description": "Custom overlay class, Default: -"
401
- },
402
- "van-action-sheet/overlay-style": {
403
- "type": "object",
404
- "description": "Custom overlay style, Default: -"
405
- },
406
- "van-action-sheet/lock-scroll": {
407
- "type": "boolean",
408
- "description": "Whether to lock background scroll, Default: `true`"
409
- },
410
- "van-action-sheet/lazy-render": {
411
- "type": "boolean",
412
- "description": "Whether to lazy render util appeared, Default: `true`"
413
- },
414
- "van-action-sheet/close-on-popstate": {
415
- "type": "boolean",
416
- "description": "Whether to close when popstate, Default: `true`"
417
- },
418
- "van-action-sheet/close-on-click-action": {
419
- "type": "boolean",
420
- "description": "Whether to close when an action is clicked, Default: `false`"
421
- },
422
- "van-action-sheet/close-on-click-overlay": {
423
- "type": "boolean",
424
- "description": "Whether to close when overlay is clicked, Default: `true`"
425
- },
426
- "van-action-sheet/safe-area-inset-bottom": {
427
- "type": "boolean",
428
- "description": "Whether to enable bottom safe area adaptation, Default: `true`"
429
- },
430
- "van-action-sheet/teleport": {
431
- "type": "string | Element",
432
- "description": "Specifies a target element where ActionSheet will be mounted, Default: -"
433
- },
434
- "van-action-sheet/before-close": {
435
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
436
- "description": "Callback function before close, Default: -"
437
- },
438
- "van-calendar/type": {
439
- "type": "string",
440
- "description": "Type, can be set to `range` `multiple`, Default: `single`"
441
- },
442
- "van-calendar/title": {
443
- "type": "string",
444
- "description": "Title of calendar, Default: `Calendar`"
445
- },
446
- "van-calendar/color": {
447
- "type": "string",
448
- "description": "Color for the bottom button and selected date, Default: `#1989fa`"
449
- },
450
- "van-calendar/min-date": {
451
- "type": "Date",
452
- "description": "Min date, Default: Today"
453
- },
454
- "van-calendar/max-date": {
455
- "type": "Date",
456
- "description": "Max date, Default: Six months after the today"
457
- },
458
- "van-calendar/default-date": {
459
- "type": "Date | Date[] | null",
460
- "description": "Default selected date, Default: Today"
461
- },
462
- "van-calendar/row-height": {
463
- "type": "number | string",
464
- "description": "Row height, Default: `64`"
465
- },
466
- "van-calendar/formatter": {
467
- "type": "(day: Day) => Day",
468
- "description": "Day formatter, Default: -"
469
- },
470
- "van-calendar/poppable": {
471
- "type": "boolean",
472
- "description": "Whether to show the calendar inside a popup, Default: `true`"
473
- },
474
- "van-calendar/lazy-render": {
475
- "type": "boolean",
476
- "description": "Whether to enable lazy render, Default: `true`"
477
- },
478
- "van-calendar/show-mark": {
479
- "type": "boolean",
480
- "description": "Whether to show background month mark, Default: `true`"
481
- },
482
- "van-calendar/show-title": {
483
- "type": "boolean",
484
- "description": "Whether to show title, Default: `true`"
485
- },
486
- "van-calendar/show-subtitle": {
487
- "type": "boolean",
488
- "description": "Whether to show subtitle, Default: `true`"
489
- },
490
- "van-calendar/show-confirm": {
491
- "type": "boolean",
492
- "description": "Whether to show confirm button, Default: `true`"
493
- },
494
- "van-calendar/readonly": {
495
- "type": "boolean",
496
- "description": "Whether to be readonly, Default: `false`"
497
- },
498
- "van-calendar/confirm-text": {
499
- "type": "string",
500
- "description": "Confirm button text, Default: `Confirm`"
501
- },
502
- "van-calendar/confirm-disabled-text": {
503
- "type": "string",
504
- "description": "Confirm button text when disabled, Default: `Confirm`"
505
- },
506
- "van-calendar/first-day-of-week": {
507
- "type": "0-6",
508
- "description": "Set the start day of week, Default: `0`"
509
- },
510
- "van-calendar/v-model:show": {
511
- "type": "boolean",
512
- "description": "Whether to show calendar, Default: `false`"
513
- },
514
- "van-calendar/position": {
515
- "type": "string",
516
- "description": "Popup position, can be set to `top` `right` `left`, Default: `bottom`"
517
- },
518
- "van-calendar/round": {
519
- "type": "boolean",
520
- "description": "Whether to show round corner, Default: `true`"
521
- },
522
- "van-calendar/close-on-popstate": {
523
- "type": "boolean",
524
- "description": "Whether to close when popstate, Default: `true`"
525
- },
526
- "van-calendar/close-on-click-overlay": {
527
- "type": "boolean",
528
- "description": "Whether to close when overlay is clicked, Default: `true`"
529
- },
530
- "van-calendar/safe-area-inset-top": {
531
- "type": "boolean",
532
- "description": "Whether to enable top safe area adaptation, Default: `false`"
533
- },
534
- "van-calendar/safe-area-inset-bottom": {
535
- "type": "boolean",
536
- "description": "Whether to enable bottom safe area adaptation, Default: `true`"
537
- },
538
- "van-calendar/teleport": {
539
- "type": "string | Element",
540
- "description": "Specifies a target element where Calendar will be mounted, Default: -"
541
- },
542
- "van-calendar/max-range": {
543
- "type": "number | string",
544
- "description": "Max count of selectable days, Default: Unlimited"
545
- },
546
- "van-calendar/range-prompt": {
547
- "type": "string",
548
- "description": "Error message when exceeded max count, Default: `Choose no more than xx days`"
549
- },
550
- "van-calendar/show-range-prompt": {
551
- "type": "boolean",
552
- "description": "Whether prompt error message when exceeded max range, Default: `true`"
553
- },
554
- "van-calendar/allow-same-day": {
555
- "type": "boolean",
556
- "description": "Whether the start and end time of the range is allowed on the same day, Default: `false`"
557
- },
558
- "van-card/thumb": {
559
- "type": "string",
560
- "description": "Left thumb image URL, Default: -"
561
- },
562
- "van-card/title": {
563
- "type": "string",
564
- "description": "Title, Default: -"
565
- },
566
- "van-card/desc": {
567
- "type": "string",
568
- "description": "Description, Default: -"
569
- },
570
- "van-card/tag": {
571
- "type": "string",
572
- "description": "Tag, Default: -"
573
- },
574
- "van-card/num": {
575
- "type": "number | string",
576
- "description": "number, Default: -"
577
- },
578
- "van-card/price": {
579
- "type": "number | string",
580
- "description": "Price, Default: -"
581
- },
582
- "van-card/origin-price": {
583
- "type": "number | string",
584
- "description": "Origin price, Default: -"
585
- },
586
- "van-card/centered": {
587
- "type": "boolean",
588
- "description": "Whether content vertical centered, Default: `false`"
589
- },
590
- "van-card/currency": {
591
- "type": "string",
592
- "description": "Currency symbol, Default: `¥`"
593
- },
594
- "van-card/thumb-link": {
595
- "type": "string",
596
- "description": "Thumb link URL, Default: -"
597
- },
598
- "van-card/lazy-load": {
599
- "type": "boolean",
600
- "description": "Whether to enable thumb lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
601
- },
602
- "van-cascader/title": {
603
- "type": "string",
604
- "description": "Title, Default: -"
605
- },
606
- "van-cascader/value": {
607
- "type": "string | number",
608
- "description": "Value of selected option, Default: -"
609
- },
610
- "van-cascader/options": {
611
- "type": "CascaderOption[]",
612
- "description": "Options, Default: `[]`"
613
- },
614
- "van-cascader/placeholder": {
615
- "type": "string",
616
- "description": "Placeholder of unselected tab, Default: `Select`"
617
- },
618
- "van-cascader/active-color": {
619
- "type": "string",
620
- "description": "Active color, Default: `#1989fa`"
621
- },
622
- "van-cascader/swipeable": {
623
- "type": "boolean",
624
- "description": "Whether to enable gestures to slide left and right, Default: `false`"
625
- },
626
- "van-cascader/closeable": {
627
- "type": "boolean",
628
- "description": "Whether to show close icon, Default: `true`"
629
- },
630
- "van-cascader/show-header": {
631
- "type": "boolean",
632
- "description": "Whether to show header, Default: `true`"
633
- },
634
- "van-cascader/close-icon": {
635
- "type": "string",
636
- "description": "Close icon name, Default: `cross`"
637
- },
638
- "van-cascader/field-names": {
639
- "type": "object",
640
- "description": "Custom the fields of options, Default: `{ text: 'text', value: 'value', children: 'children' }`"
641
- },
642
- "van-cell-group/title": {
643
- "type": "string",
644
- "description": "Group title, Default: -"
645
- },
646
- "van-cell-group/inset": {
647
- "type": "boolean",
648
- "description": "Whether to be inset grouped, Default: `false`"
649
- },
650
- "van-cell-group/border": {
651
- "type": "boolean",
652
- "description": "Whether to show outer border, Default: `true`"
653
- },
654
- "van-cell/title": {
655
- "type": "number | string",
656
- "description": "Title, Default: -"
657
- },
658
- "van-cell/value": {
659
- "type": "number | string",
660
- "description": "Right text, Default: -"
661
- },
662
- "van-cell/label": {
663
- "type": "string",
664
- "description": "Description below the title, Default: -"
665
- },
666
- "van-cell/size": {
667
- "type": "string",
668
- "description": "Size, can be set to `large`, Default: -"
669
- },
670
- "van-cell/icon": {
671
- "type": "string",
672
- "description": "Left Icon, Default: -"
673
- },
674
- "van-cell/icon-prefix": {
675
- "type": "string",
676
- "description": "Icon className prefix, Default: `van-icon`"
677
- },
678
- "van-cell/border": {
679
- "type": "boolean",
680
- "description": "Whether to show inner border, Default: `true`"
681
- },
682
- "van-cell/center": {
683
- "type": "boolean",
684
- "description": "Whether to center content vertically, Default: `false`"
685
- },
686
- "van-cell/url": {
687
- "type": "string",
688
- "description": "Link URL, Default: -"
689
- },
690
- "van-cell/to": {
691
- "type": "string | object",
692
- "description": "Target route of the link, same as to of vue-router, Default: -"
693
- },
694
- "van-cell/replace": {
695
- "type": "boolean",
696
- "description": "If true, the navigation will not leave a history record, Default: `false`"
697
- },
698
- "van-cell/clickable": {
699
- "type": "boolean",
700
- "description": "Whether to show click feedback when clicked, Default: `null`"
701
- },
702
- "van-cell/is-link": {
703
- "type": "boolean",
704
- "description": "Whether to show link icon, Default: `false`"
705
- },
706
- "van-cell/required": {
707
- "type": "boolean",
708
- "description": "Whether to show required mark, Default: `false`"
709
- },
710
- "van-cell/arrow-direction": {
711
- "type": "string",
712
- "description": "Can be set to `left` `up` `down`, Default: `right`"
713
- },
714
- "van-cell/title-style": {
715
- "type": "string | Array | object",
716
- "description": "Title style, Default: -"
717
- },
718
- "van-cell/title-class": {
719
- "type": "string | Array | object",
720
- "description": "Title className, Default: -"
721
- },
722
- "van-cell/value-class": {
723
- "type": "string | Array | object",
724
- "description": "Value className, Default: -"
725
- },
726
- "van-cell/label-class": {
727
- "type": "string | Array | object",
728
- "description": "Label className, Default: -"
729
- },
730
- "van-checkbox/v-model": {
731
- "type": "boolean",
732
- "description": "Check status, Default: `false`"
733
- },
734
- "van-checkbox/name": {
735
- "type": "any",
736
- "description": "Checkbox name, Default: -"
737
- },
738
- "van-checkbox/shape": {
739
- "type": "string",
740
- "description": "Can be set to `square`, Default: `round`"
741
- },
742
- "van-checkbox/disabled": {
743
- "type": "boolean",
744
- "description": "Disable checkbox, Default: `false`"
745
- },
746
- "van-checkbox/label-disabled": {
747
- "type": "boolean",
748
- "description": "Whether to disable label click, Default: `false`"
749
- },
750
- "van-checkbox/label-position": {
751
- "type": "string",
752
- "description": "Can be set to `left`, Default: `right`"
753
- },
754
- "van-checkbox/icon-size": {
755
- "type": "number | string",
756
- "description": "Icon size, Default: `20px`"
757
- },
758
- "van-checkbox/checked-color": {
759
- "type": "string",
760
- "description": "Checked color, Default: `#1989fa`"
761
- },
762
- "van-checkbox/bind-group": {
763
- "type": "boolean",
764
- "description": "Whether to bind with CheckboxGroup, Default: `true`"
765
- },
766
- "van-checkbox-group/v-model": {
767
- "type": "any[]",
768
- "description": "Names of all checked checkboxes, Default: -"
769
- },
770
- "van-checkbox-group/disabled": {
771
- "type": "boolean",
772
- "description": "Whether to disable all checkboxes, Default: `false`"
773
- },
774
- "van-checkbox-group/max": {
775
- "type": "number | string",
776
- "description": "Maximum amount of checked options, Default: `0`(Unlimited)"
777
- },
778
- "van-checkbox-group/direction": {
779
- "type": "string",
780
- "description": "Direction, can be set to `horizontal`, Default: `vertical`"
781
- },
782
- "van-checkbox-group/icon-size": {
783
- "type": "number | string",
784
- "description": "Icon size of all checkboxes, Default: `20px`"
785
- },
786
- "van-checkbox-group/checked-color": {
787
- "type": "string",
788
- "description": "Checked color of all checkboxes, Default: `#1989fa`"
789
- },
790
- "van-circle/v-model:current-rate": {
791
- "type": "number",
792
- "description": "Current rate, Default: -"
793
- },
794
- "van-circle/rate": {
795
- "type": "number | string",
796
- "description": "Target rate, Default: `100`"
797
- },
798
- "van-circle/size": {
799
- "type": "number | string",
800
- "description": "Circle size, Default: `100px`"
801
- },
802
- "van-circle/color": {
803
- "type": "string | object",
804
- "description": "Progress color, passing object to render gradient, Default: `#1989fa`"
805
- },
806
- "van-circle/layer-color": {
807
- "type": "string",
808
- "description": "Layer color, Default: `white`"
809
- },
810
- "van-circle/fill": {
811
- "type": "string",
812
- "description": "Fill color, Default: `none`"
813
- },
814
- "van-circle/speed": {
815
- "type": "number | string",
816
- "description": "Animate speed(rate/s), Default: `0`"
817
- },
818
- "van-circle/text": {
819
- "type": "string",
820
- "description": "Text, Default: -"
821
- },
822
- "van-circle/stroke-width": {
823
- "type": "number | string",
824
- "description": "Stroke width, Default: `40`"
825
- },
826
- "van-circle/stroke-linecap": {
827
- "type": "string",
828
- "description": "Stroke linecap, can be set to `square` `butt`, Default: `round`"
829
- },
830
- "van-circle/clockwise": {
831
- "type": "boolean",
832
- "description": "Whether to be clockwise, Default: `true`"
833
- },
834
- "van-circle/start-position": {
835
- "type": "CircleStartPosition",
836
- "description": "Progress start position, can be set to `left`、`right`、`bottom`, Default: `top`"
837
- },
838
- "van-row/gutter": {
839
- "type": "number | string",
840
- "description": "Grid spacing(px), Default: -"
841
- },
842
- "van-row/tag": {
843
- "type": "string",
844
- "description": "Custom element tag, Default: `div`"
845
- },
846
- "van-row/justify": {
847
- "type": "string",
848
- "description": "Flex main axis, can be set to end/center/space-around/space-between, Default: `start`"
849
- },
850
- "van-row/align": {
851
- "type": "string",
852
- "description": "Flex cross axis, be set to center/bottom, Default: `top`"
853
- },
854
- "van-row/wrap": {
855
- "type": "boolean",
856
- "description": "Whether to wrap, Default: `true`"
857
- },
858
- "van-col/span": {
859
- "type": "number | string",
860
- "description": "number of column the grid spans, Default: -"
861
- },
862
- "van-col/offset": {
863
- "type": "number | string",
864
- "description": "number of spacing on the left side of the grid, Default: -"
865
- },
866
- "van-col/tag": {
867
- "type": "string",
868
- "description": "Custom element tag, Default: `div`"
869
- },
870
- "van-collapse/v-model": {
871
- "type": "accordion mode: _number | string_<br>non-accordion mode: _(number | string)[]",
872
- "description": "Names of current active panels, Default: -"
873
- },
874
- "van-collapse/accordion": {
875
- "type": "boolean",
876
- "description": "Whether to be accordion mode, Default: `false`"
877
- },
878
- "van-collapse/border": {
879
- "type": "boolean",
880
- "description": "Whether to show outer border, Default: `true`"
881
- },
882
- "van-collapse-item/name": {
883
- "type": "number | string",
884
- "description": "Name, Default: `index`"
885
- },
886
- "van-collapse-item/icon": {
887
- "type": "string",
888
- "description": "Left Icon, Default: -"
889
- },
890
- "van-collapse-item/size": {
891
- "type": "string",
892
- "description": "Title size, can be set to `large`, Default: -"
893
- },
894
- "van-collapse-item/title": {
895
- "type": "number | string",
896
- "description": "Title, Default: -"
897
- },
898
- "van-collapse-item/value": {
899
- "type": "number | string",
900
- "description": "Right text, Default: -"
901
- },
902
- "van-collapse-item/label": {
903
- "type": "string",
904
- "description": "Description below the title, Default: -"
905
- },
906
- "van-collapse-item/border": {
907
- "type": "boolean",
908
- "description": "Whether to show inner border, Default: `true`"
909
- },
910
- "van-collapse-item/disabled": {
911
- "type": "boolean",
912
- "description": "Whether to disabled collapse, Default: `false`"
913
- },
914
- "van-collapse-item/readonly": {
915
- "type": "boolean",
916
- "description": "Whether to be readonly, Default: `false`"
917
- },
918
- "van-collapse-item/is-link": {
919
- "type": "boolean",
920
- "description": "Whether to show link icon, Default: `true`"
921
- },
922
- "van-collapse-item/lazy-render": {
923
- "type": "boolean",
924
- "description": "Whether to lazy render util opened, Default: `true`"
925
- },
926
- "van-collapse-item/title-class": {
927
- "type": "string",
928
- "description": "Title className, Default: -"
929
- },
930
- "van-collapse-item/value-class": {
931
- "type": "string",
932
- "description": "Value className, Default: -"
933
- },
934
- "van-collapse-item/label-class": {
935
- "type": "string",
936
- "description": "Label className, Default: -"
937
- },
938
- "van-config-provider/theme": {
939
- "type": "ConfigProviderTheme",
940
- "description": "Theme mode, can be set to `dark`, Default: `light`"
941
- },
942
- "van-config-provider/theme-vars": {
943
- "type": "object",
944
- "description": "Theme variables, Default: -"
945
- },
946
- "van-config-provider/tag": {
947
- "type": "string",
948
- "description": "HTML Tag of root element, Default: `div`"
949
- },
950
- "van-config-provider/icon-prefix": {
951
- "type": "string",
952
- "description": "Icon className prefix, Default: `van-icon`"
953
- },
954
- "van-contact-card/type": {
955
- "type": "string",
956
- "description": "Can be set to `edit`, Default: `add`"
957
- },
958
- "van-contact-card/name": {
959
- "type": "string",
960
- "description": "Name, Default: -"
961
- },
962
- "van-contact-card/tel": {
963
- "type": "string",
964
- "description": "Phone, Default: -"
965
- },
966
- "van-contact-card/add-text": {
967
- "type": "string",
968
- "description": "Add card text, Default: `Add contact info`"
969
- },
970
- "van-contact-card/editable": {
971
- "type": "boolean",
972
- "description": "Whether to allow editing of contacts, Default: `true`"
973
- },
974
- "van-contact-edit/contact-info": {
975
- "type": "Contact",
976
- "description": "Contact Info, Default: `[]`"
977
- },
978
- "van-contact-edit/is-edit": {
979
- "type": "boolean",
980
- "description": "Whether is editing, Default: `false`"
981
- },
982
- "van-contact-edit/is-saving": {
983
- "type": "boolean",
984
- "description": "Whether to show save button loading status, Default: `false`"
985
- },
986
- "van-contact-edit/is-deleting": {
987
- "type": "boolean",
988
- "description": "Whether to show delete button loading status, Default: `false`"
989
- },
990
- "van-contact-edit/tel-validator": {
991
- "type": "(tel: string) => boolean",
992
- "description": "The method to validate tel, Default: -"
993
- },
994
- "van-contact-edit/show-set-default": {
995
- "type": "boolean",
996
- "description": "Whether to show default contact switch, Default: `false`"
997
- },
998
- "van-contact-edit/set-default-label": {
999
- "type": "string",
1000
- "description": "default contact switch label, Default: -"
1001
- },
1002
- "van-contact-list/v-model": {
1003
- "type": "number | string",
1004
- "description": "Id of chosen contact, Default: -"
1005
- },
1006
- "van-contact-list/list": {
1007
- "type": "Contact[]",
1008
- "description": "Contact list, Default: `[]`"
1009
- },
1010
- "van-contact-list/add-text": {
1011
- "type": "string",
1012
- "description": "Add button text, Default: `Add new contact`"
1013
- },
1014
- "van-contact-list/default-tag-text": {
1015
- "type": "string",
1016
- "description": "Default tag text, Default: -"
1017
- },
1018
- "van-count-down/time": {
1019
- "type": "number | string",
1020
- "description": "Total time, unit milliseconds, Default: `0`"
1021
- },
1022
- "van-count-down/format": {
1023
- "type": "string",
1024
- "description": "Time format, Default: `HH:mm:ss`"
1025
- },
1026
- "van-count-down/auto-start": {
1027
- "type": "boolean",
1028
- "description": "Whether to auto start count down, Default: `true`"
1029
- },
1030
- "van-count-down/millisecond": {
1031
- "type": "boolean",
1032
- "description": "Whether to enable millisecond render, Default: `false`"
1033
- },
1034
- "van-coupon-cell/title": {
1035
- "type": "string",
1036
- "description": "Cell title, Default: `Coupon`"
1037
- },
1038
- "van-coupon-cell/chosen-coupon": {
1039
- "type": "number | string",
1040
- "description": "Index of chosen coupon, Default: `-1`"
1041
- },
1042
- "van-coupon-cell/coupons": {
1043
- "type": "Coupon[]",
1044
- "description": "Coupon list, Default: `[]`"
1045
- },
1046
- "van-coupon-cell/editable": {
1047
- "type": "boolean",
1048
- "description": "Cell editable, Default: `true`"
1049
- },
1050
- "van-coupon-cell/border": {
1051
- "type": "boolean",
1052
- "description": "Whether to show inner border, Default: `true`"
1053
- },
1054
- "van-coupon-cell/currency": {
1055
- "type": "string",
1056
- "description": "Currency symbol, Default: `¥`"
1057
- },
1058
- "van-coupon-list/v-model": {
1059
- "type": "string",
1060
- "description": "Current exchange code, Default: -"
1061
- },
1062
- "van-coupon-list/chosen-coupon": {
1063
- "type": "number",
1064
- "description": "Index of chosen coupon, Default: `-1`"
1065
- },
1066
- "van-coupon-list/coupons": {
1067
- "type": "Coupon[]",
1068
- "description": "Coupon list, Default: `[]`"
1069
- },
1070
- "van-coupon-list/disabled-coupons": {
1071
- "type": "Coupon[]",
1072
- "description": "Disabled coupon list, Default: `[]`"
1073
- },
1074
- "van-coupon-list/enabled-title": {
1075
- "type": "string",
1076
- "description": "Title of coupon list, Default: `Available`"
1077
- },
1078
- "van-coupon-list/disabled-title": {
1079
- "type": "string",
1080
- "description": "Title of disabled coupon list, Default: `Unavailable`"
1081
- },
1082
- "van-coupon-list/exchange-button-text": {
1083
- "type": "string",
1084
- "description": "Exchange button text, Default: `Exchange`"
1085
- },
1086
- "van-coupon-list/exchange-button-loading": {
1087
- "type": "boolean",
1088
- "description": "Whether to show loading in exchange button, Default: `false`"
1089
- },
1090
- "van-coupon-list/exchange-button-disabled": {
1091
- "type": "boolean",
1092
- "description": "Whether to disable exchange button, Default: `false`"
1093
- },
1094
- "van-coupon-list/exchange-min-length": {
1095
- "type": "number",
1096
- "description": "Min length to enable exchange button, Default: `1`"
1097
- },
1098
- "van-coupon-list/displayed-coupon-index": {
1099
- "type": "number",
1100
- "description": "Index of displayed coupon, Default: -"
1101
- },
1102
- "van-coupon-list/close-button-text": {
1103
- "type": "string",
1104
- "description": "Close button text, Default: `Close`"
1105
- },
1106
- "van-coupon-list/input-placeholder": {
1107
- "type": "string",
1108
- "description": "Input placeholder, Default: `Coupon code`"
1109
- },
1110
- "van-coupon-list/currency": {
1111
- "type": "string",
1112
- "description": "Currency symbol, Default: `¥`"
1113
- },
1114
- "van-coupon-list/empty-image": {
1115
- "type": "string",
1116
- "description": "Placeholder image when list is empty, Default: -"
1117
- },
1118
- "van-coupon-list/show-count": {
1119
- "type": "boolean",
1120
- "description": "Whether to show coupon count in tab title, Default: `true`"
1121
- },
1122
- "van-date-picker/v-model": {
1123
- "type": "string[]",
1124
- "description": "Current date, Default: `[]`"
1125
- },
1126
- "van-date-picker/columns-type": {
1127
- "type": "string[]",
1128
- "description": "Columns type, Default: `['year', 'month', 'day']`"
1129
- },
1130
- "van-date-picker/min-date": {
1131
- "type": "Date",
1132
- "description": "Min date, Default: Ten years ago on January 1"
1133
- },
1134
- "van-date-picker/max-date": {
1135
- "type": "Date",
1136
- "description": "Max date, Default: Ten years later on December 31"
1137
- },
1138
- "van-date-picker/title": {
1139
- "type": "string",
1140
- "description": "Toolbar title, Default: `''`"
1141
- },
1142
- "van-date-picker/confirm-button-text": {
1143
- "type": "string",
1144
- "description": "Text of confirm button, Default: `Confirm`"
1145
- },
1146
- "van-date-picker/cancel-button-text": {
1147
- "type": "string",
1148
- "description": "Text of cancel button, Default: `Cancel`"
1149
- },
1150
- "van-date-picker/show-toolbar": {
1151
- "type": "boolean",
1152
- "description": "Whether to show toolbar, Default: `true`"
1153
- },
1154
- "van-date-picker/loading": {
1155
- "type": "boolean",
1156
- "description": "Whether to show loading prompt, Default: `false`"
1157
- },
1158
- "van-date-picker/readonly": {
1159
- "type": "boolean",
1160
- "description": "Whether to be readonly, Default: `false`"
1161
- },
1162
- "van-date-picker/filter": {
1163
- "type": "(type: string, options: PickerOption[]) => PickerOption[]",
1164
- "description": "Option filter, Default: -"
1165
- },
1166
- "van-date-picker/formatter": {
1167
- "type": "(type: string, option: PickerOption) => PickerOption",
1168
- "description": "Option formatter, Default: -"
1169
- },
1170
- "van-date-picker/option-height": {
1171
- "type": "number | string",
1172
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
1173
- },
1174
- "van-date-picker/visible-option-num": {
1175
- "type": "number | string",
1176
- "description": "Count of visible columns, Default: `6`"
1177
- },
1178
- "van-date-picker/swipe-duration": {
1179
- "type": "number | string",
1180
- "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
1181
- },
1182
- "van-dialog/v-model:show": {
1183
- "type": "boolean",
1184
- "description": "Whether to show dialog, Default: -"
1185
- },
1186
- "van-dialog/title": {
1187
- "type": "string",
1188
- "description": "Title, Default: -"
1189
- },
1190
- "van-dialog/width": {
1191
- "type": "number | string",
1192
- "description": "Width, Default: `320px`"
1193
- },
1194
- "van-dialog/message": {
1195
- "type": "string | () => JSX.ELement",
1196
- "description": "Message, Default: -"
1197
- },
1198
- "van-dialog/message-align": {
1199
- "type": "string",
1200
- "description": "Message align, can be set to `left` `right`, Default: `center`"
1201
- },
1202
- "van-dialog/theme": {
1203
- "type": "string",
1204
- "description": "Theme style, can be set to `round-button`, Default: `default`"
1205
- },
1206
- "van-dialog/show-confirm-button": {
1207
- "type": "boolean",
1208
- "description": "Whether to show confirm button, Default: `true`"
1209
- },
1210
- "van-dialog/show-cancel-button": {
1211
- "type": "boolean",
1212
- "description": "Whether to show cancel button, Default: `false`"
1213
- },
1214
- "van-dialog/cancel-button-text": {
1215
- "type": "string",
1216
- "description": "Cancel button text, Default: `Cancel`"
1217
- },
1218
- "van-dialog/cancel-button-color": {
1219
- "type": "string",
1220
- "description": "Cancel button color, Default: `black`"
1221
- },
1222
- "van-dialog/cancel-button-disabled": {
1223
- "type": "boolean",
1224
- "description": "Whether to disable cancel button, Default: `false`"
1225
- },
1226
- "van-dialog/confirm-button-text": {
1227
- "type": "string",
1228
- "description": "Confirm button text, Default: `Confirm`"
1229
- },
1230
- "van-dialog/confirm-button-color": {
1231
- "type": "string",
1232
- "description": "Confirm button color, Default: `#ee0a24`"
1233
- },
1234
- "van-dialog/confirm-button-disabled": {
1235
- "type": "boolean",
1236
- "description": "Whether to disable confirm button, Default: `false`"
1237
- },
1238
- "van-dialog/overlay": {
1239
- "type": "boolean",
1240
- "description": "Whether to show overlay, Default: `true`"
1241
- },
1242
- "van-dialog/overlay-class": {
1243
- "type": "string",
1244
- "description": "Custom overlay class, Default: -"
1245
- },
1246
- "van-dialog/overlay-style": {
1247
- "type": "object",
1248
- "description": "Custom overlay style, Default: -"
1249
- },
1250
- "van-dialog/close-on-popstate": {
1251
- "type": "boolean",
1252
- "description": "Whether to close when popstate, Default: `true`"
1253
- },
1254
- "van-dialog/close-on-click-overlay": {
1255
- "type": "boolean",
1256
- "description": "Whether to close when overlay is clicked, Default: `false`"
1257
- },
1258
- "van-dialog/lazy-render": {
1259
- "type": "boolean",
1260
- "description": "Whether to lazy render util appeared, Default: `true`"
1261
- },
1262
- "van-dialog/lock-scroll": {
1263
- "type": "boolean",
1264
- "description": "Whether to lock background scroll, Default: `true`"
1265
- },
1266
- "van-dialog/allow-html": {
1267
- "type": "boolean",
1268
- "description": "Whether to allow HTML rendering in message, Default: `false`"
1269
- },
1270
- "van-dialog/before-close": {
1271
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
1272
- "description": "Callback function before close, Default: -"
1273
- },
1274
- "van-dialog/transition": {
1275
- "type": "string",
1276
- "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: -"
1277
- },
1278
- "van-dialog/teleport": {
1279
- "type": "string | Element",
1280
- "description": "Specifies a target element where Dialog will be mounted, Default: -"
1281
- },
1282
- "van-divider/dashed": {
1283
- "type": "boolean",
1284
- "description": "Whether to use dashed border, Default: `false`"
1285
- },
1286
- "van-divider/hairline": {
1287
- "type": "boolean",
1288
- "description": "Whether to use hairline, Default: `true`"
1289
- },
1290
- "van-divider/content-position": {
1291
- "type": "string",
1292
- "description": "Content position, can be set to `left` `right`, Default: `center`"
1293
- },
1294
- "van-dropdown-menu/active-color": {
1295
- "type": "string",
1296
- "description": "Active color of title and option, Default: `#1989fa`"
1297
- },
1298
- "van-dropdown-menu/direction": {
1299
- "type": "string",
1300
- "description": "Expand direction, can be set to `up`, Default: `down`"
1301
- },
1302
- "van-dropdown-menu/z-index": {
1303
- "type": "number | string",
1304
- "description": "z-index of menu item, Default: `10`"
1305
- },
1306
- "van-dropdown-menu/duration": {
1307
- "type": "number | string",
1308
- "description": "Transition duration, unit second, Default: `0.2`"
1309
- },
1310
- "van-dropdown-menu/overlay": {
1311
- "type": "boolean",
1312
- "description": "Whether to show overlay, Default: `true`"
1313
- },
1314
- "van-dropdown-menu/close-on-click-overlay": {
1315
- "type": "boolean",
1316
- "description": "Whether to close when overlay is clicked, Default: `true`"
1317
- },
1318
- "van-dropdown-menu/close-on-click-outside": {
1319
- "type": "boolean",
1320
- "description": "Whether to close when outside is clicked, Default: `true`"
1321
- },
1322
- "van-dropdown-item/v-model": {
1323
- "type": "number | string",
1324
- "description": "Value of current option, Default: -"
1325
- },
1326
- "van-dropdown-item/title": {
1327
- "type": "string",
1328
- "description": "Item title, Default: Text of selected option"
1329
- },
1330
- "van-dropdown-item/options": {
1331
- "type": "Option[]",
1332
- "description": "Options, Default: `[]`"
1333
- },
1334
- "van-dropdown-item/disabled": {
1335
- "type": "boolean",
1336
- "description": "Whether to disable dropdown item, Default: `false`"
1337
- },
1338
- "van-dropdown-item/lazy-render": {
1339
- "type": "boolean",
1340
- "description": "Whether to lazy render util opened, Default: `true`"
1341
- },
1342
- "van-dropdown-item/title-class": {
1343
- "type": "string | Array | object",
1344
- "description": "Title class, Default: -"
1345
- },
1346
- "van-dropdown-item/teleport": {
1347
- "type": "string | Element",
1348
- "description": "Specifies a target element where DropdownItem will be mounted, Default: -"
1349
- },
1350
- "van-empty/image": {
1351
- "type": "string",
1352
- "description": "Image type, can be set to `error` `network` `search` or image URL, Default: `default`"
1353
- },
1354
- "van-empty/image-size": {
1355
- "type": "number | string | Array",
1356
- "description": "Image size, Default: -"
1357
- },
1358
- "van-empty/description": {
1359
- "type": "string",
1360
- "description": "Description, Default: -"
1361
- },
1362
- "van-field/v-model": {
1363
- "type": "number | string",
1364
- "description": "Input value, Default: -"
1365
- },
1366
- "van-field/label": {
1367
- "type": "string",
1368
- "description": "Left side label, Default: -"
1369
- },
1370
- "van-field/name": {
1371
- "type": "string",
1372
- "description": "As the identifier when submitting the form, Default: -"
1373
- },
1374
- "van-field/id": {
1375
- "type": "string",
1376
- "description": "Input id, the for attribute of the label also will be set, Default: `van-field-n-input`"
1377
- },
1378
- "van-field/type": {
1379
- "type": "FieldType",
1380
- "description": "Input type, support all [native types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types) and `digit` type, Default: `text`"
1381
- },
1382
- "van-field/size": {
1383
- "type": "string",
1384
- "description": "Size, can be set to `large`, Default: -"
1385
- },
1386
- "van-field/maxlength": {
1387
- "type": "number | string",
1388
- "description": "Max length of value, Default: -"
1389
- },
1390
- "van-field/placeholder": {
1391
- "type": "string",
1392
- "description": "Input placeholder, Default: -"
1393
- },
1394
- "van-field/border": {
1395
- "type": "boolean",
1396
- "description": "Whether to show inner border, Default: `true`"
1397
- },
1398
- "van-field/disabled": {
1399
- "type": "boolean",
1400
- "description": "Whether to disable field, Default: `false`"
1401
- },
1402
- "van-field/readonly": {
1403
- "type": "boolean",
1404
- "description": "Whether to be readonly, Default: `false`"
1405
- },
1406
- "van-field/colon": {
1407
- "type": "boolean",
1408
- "description": "Whether to display colon after label, Default: `false`"
1409
- },
1410
- "van-field/required": {
1411
- "type": "boolean",
1412
- "description": "Whether to show required mark, Default: `false`"
1413
- },
1414
- "van-field/center": {
1415
- "type": "boolean",
1416
- "description": "Whether to center content vertically, Default: `true`"
1417
- },
1418
- "van-field/clearable": {
1419
- "type": "boolean",
1420
- "description": "Whether to be clearable, Default: `false`"
1421
- },
1422
- "van-field/clear-icon": {
1423
- "type": "string",
1424
- "description": "Clear icon name, Default: `clear`"
1425
- },
1426
- "van-field/clear-trigger": {
1427
- "type": "FieldClearTrigger",
1428
- "description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused, Default: `focus`"
1429
- },
1430
- "van-field/clickable": {
1431
- "type": "boolean",
1432
- "description": "Whether to show click feedback when clicked, Default: `false`"
1433
- },
1434
- "van-field/is-link": {
1435
- "type": "boolean",
1436
- "description": "Whether to show link icon, Default: `false`"
1437
- },
1438
- "van-field/autofocus": {
1439
- "type": "boolean",
1440
- "description": "Whether to auto focus, unsupported in iOS, Default: `false`"
1441
- },
1442
- "van-field/show-word-limit": {
1443
- "type": "boolean",
1444
- "description": "Whether to show word limit, need to set the `maxlength` prop, Default: `false`"
1445
- },
1446
- "van-field/error": {
1447
- "type": "boolean",
1448
- "description": "Whether to mark the input content in red, Default: `false`"
1449
- },
1450
- "van-field/error-message": {
1451
- "type": "string",
1452
- "description": "Error message, Default: -"
1453
- },
1454
- "van-field/error-message-align": {
1455
- "type": "FieldTextAlign",
1456
- "description": "Error message align, can be set to `center` `right`, Default: `left`"
1457
- },
1458
- "van-field/formatter": {
1459
- "type": "(val: string) => string",
1460
- "description": "Input value formatter, Default: -"
1461
- },
1462
- "van-field/format-trigger": {
1463
- "type": "FieldFormatTrigger",
1464
- "description": "When to format value, can be set to `onBlur`, Default: `onChange`"
1465
- },
1466
- "van-field/arrow-direction": {
1467
- "type": "string",
1468
- "description": "Can be set to `left` `up` `down`, Default: `right`"
1469
- },
1470
- "van-field/label-class": {
1471
- "type": "string | Array | object",
1472
- "description": "Label className, Default: -"
1473
- },
1474
- "van-field/label-width": {
1475
- "type": "number | string",
1476
- "description": "Label width, Default: `6.2em`"
1477
- },
1478
- "van-field/label-align": {
1479
- "type": "FieldTextAlign",
1480
- "description": "Label align, can be set to `center` `right`, Default: `left`"
1481
- },
1482
- "van-field/input-align": {
1483
- "type": "FieldTextAlign",
1484
- "description": "Input align, can be set to `center` `right`, Default: `left`"
1485
- },
1486
- "van-field/autosize": {
1487
- "type": "boolean | FieldAutosizeConfig",
1488
- "description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
1489
- },
1490
- "van-field/left-icon": {
1491
- "type": "string",
1492
- "description": "Left side icon name, Default: -"
1493
- },
1494
- "van-field/right-icon": {
1495
- "type": "string",
1496
- "description": "Right side icon name, Default: -"
1497
- },
1498
- "van-field/icon-prefix": {
1499
- "type": "string",
1500
- "description": "Icon className prefix, Default: `van-icon`"
1501
- },
1502
- "van-field/rules": {
1503
- "type": "FieldRule[]",
1504
- "description": "Form validation rules, Default: -"
1505
- },
1506
- "van-field/autocomplete": {
1507
- "type": "string",
1508
- "description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), Default: -"
1509
- },
1510
- "van-field/enterkeyhint": {
1511
- "type": "string",
1512
- "description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>, Default: -"
1513
- },
1514
- "van-form/label-width": {
1515
- "type": "number | string",
1516
- "description": "Field label width, Default: `6.2em`"
1517
- },
1518
- "van-form/label-align": {
1519
- "type": "string",
1520
- "description": "Field label align, can be set to `center` `right`, Default: `left`"
1521
- },
1522
- "van-form/input-align": {
1523
- "type": "string",
1524
- "description": "Field input align, can be set to `center` `right`, Default: `left`"
1525
- },
1526
- "van-form/error-message-align": {
1527
- "type": "string",
1528
- "description": "Error message align, can be set to `center` `right`, Default: `left`"
1529
- },
1530
- "van-form/validate-trigger": {
1531
- "type": "string | string[]",
1532
- "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values, Default: `onBlur`"
1533
- },
1534
- "van-form/colon": {
1535
- "type": "boolean",
1536
- "description": "Whether to display colon after label, Default: `false`"
1537
- },
1538
- "van-form/disabled": {
1539
- "type": "boolean",
1540
- "description": "Whether to disable form, Default: `false`"
1541
- },
1542
- "van-form/readonly": {
1543
- "type": "boolean",
1544
- "description": "Whether to be readonly, Default: `false`"
1545
- },
1546
- "van-form/validate-first": {
1547
- "type": "boolean",
1548
- "description": "Whether to stop the validation when a rule fails, Default: `false`"
1549
- },
1550
- "van-form/scroll-to-error": {
1551
- "type": "boolean",
1552
- "description": "Whether to scroll to the error field when validation failed, Default: `false`"
1553
- },
1554
- "van-form/show-error": {
1555
- "type": "boolean",
1556
- "description": "Whether to highlight input when validation failed, Default: `false`"
1557
- },
1558
- "van-form/show-error-message": {
1559
- "type": "boolean",
1560
- "description": "Whether to show error message when validation failed, Default: `true`"
1561
- },
1562
- "van-form/submit-on-enter": {
1563
- "type": "boolean",
1564
- "description": "Whether to submit form on enter, Default: `true`"
1565
- },
1566
- "van-grid/column-num": {
1567
- "type": "number | string",
1568
- "description": "Column Num, Default: `4`"
1569
- },
1570
- "van-grid/icon-size": {
1571
- "type": "number | string",
1572
- "description": "Icon size, Default: `28px`"
1573
- },
1574
- "van-grid/gutter": {
1575
- "type": "number | string",
1576
- "description": "Gutter, Default: `0`"
1577
- },
1578
- "van-grid/border": {
1579
- "type": "boolean",
1580
- "description": "Whether to show border, Default: `true`"
1581
- },
1582
- "van-grid/center": {
1583
- "type": "boolean",
1584
- "description": "Whether to center content, Default: `true`"
1585
- },
1586
- "van-grid/square": {
1587
- "type": "boolean",
1588
- "description": "Whether to be square shape, Default: `false`"
1589
- },
1590
- "van-grid/clickable": {
1591
- "type": "boolean",
1592
- "description": "Whether to show click feedback when clicked, Default: `false`"
1593
- },
1594
- "van-grid/direction": {
1595
- "type": "string",
1596
- "description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
1597
- },
1598
- "van-grid/reverse": {
1599
- "type": "boolean",
1600
- "description": "Whether to reverse the position of icon and text, Default: `false`"
1601
- },
1602
- "van-grid-item/text": {
1603
- "type": "string",
1604
- "description": "Text, Default: -"
1605
- },
1606
- "van-grid-item/icon": {
1607
- "type": "string",
1608
- "description": "Icon name or URL, Default: -"
1609
- },
1610
- "van-grid-item/icon-prefix": {
1611
- "type": "string",
1612
- "description": "Icon className prefix, Default: `van-icon`"
1613
- },
1614
- "van-grid-item/icon-color": {
1615
- "type": "string",
1616
- "description": "Icon color, Default: -"
1617
- },
1618
- "van-grid-item/dot": {
1619
- "type": "boolean",
1620
- "description": "Whether to show red dot, Default: `false`"
1621
- },
1622
- "van-grid-item/badge": {
1623
- "type": "number | string",
1624
- "description": "Content of the badge, Default: -"
1625
- },
1626
- "van-grid-item/badge-props": {
1627
- "type": "BadgeProps",
1628
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
1629
- },
1630
- "van-grid-item/url": {
1631
- "type": "string",
1632
- "description": "Link URL, Default: -"
1633
- },
1634
- "van-grid-item/to": {
1635
- "type": "string | object",
1636
- "description": "Target route of the link, same as to of vue-router, Default: -"
1637
- },
1638
- "van-grid-item/replace": {
1639
- "type": "boolean",
1640
- "description": "If true, the navigation will not leave a history record, Default: `false`"
1641
- },
1642
- "van-icon/name": {
1643
- "type": "string",
1644
- "description": "Icon name or URL, Default: `''`"
1645
- },
1646
- "van-icon/dot": {
1647
- "type": "boolean",
1648
- "description": "Whether to show red dot, Default: `false`"
1649
- },
1650
- "van-icon/badge": {
1651
- "type": "number | string",
1652
- "description": "Content of the badge, Default: `''`"
1653
- },
1654
- "van-icon/badge-props": {
1655
- "type": "BadgeProps",
1656
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
1657
- },
1658
- "van-icon/color": {
1659
- "type": "string",
1660
- "description": "Icon color, Default: `inherit`"
1661
- },
1662
- "van-icon/size": {
1663
- "type": "number | string",
1664
- "description": "Icon size, Default: `inherit`"
1665
- },
1666
- "van-icon/class-prefix": {
1667
- "type": "string",
1668
- "description": "ClassName prefix, Default: `van-icon`"
1669
- },
1670
- "van-icon/tag": {
1671
- "type": "string",
1672
- "description": "HTML Tag of root element, Default: `i`"
1673
- },
1674
- "van-image/src": {
1675
- "type": "string",
1676
- "description": "Src, Default: -"
1677
- },
1678
- "van-image/fit": {
1679
- "type": "string",
1680
- "description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit), Default: `fill`"
1681
- },
1682
- "van-image/position": {
1683
- "type": "string",
1684
- "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`"
1685
- },
1686
- "van-image/alt": {
1687
- "type": "string",
1688
- "description": "Alt, Default: -"
1689
- },
1690
- "van-image/width": {
1691
- "type": "number | string",
1692
- "description": "Width, Default: -"
1693
- },
1694
- "van-image/height": {
1695
- "type": "number | string",
1696
- "description": "Height, Default: -"
1697
- },
1698
- "van-image/radius": {
1699
- "type": "number | string",
1700
- "description": "Border Radius, Default: `0`"
1701
- },
1702
- "van-image/round": {
1703
- "type": "boolean",
1704
- "description": "Whether to be round, Default: `false`"
1705
- },
1706
- "van-image/lazy-load": {
1707
- "type": "boolean",
1708
- "description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
1709
- },
1710
- "van-image/show-error": {
1711
- "type": "boolean",
1712
- "description": "Whether to show error placeholder, Default: `true`"
1713
- },
1714
- "van-image/show-loading": {
1715
- "type": "boolean",
1716
- "description": "Whether to show loading placeholder, Default: `true`"
1717
- },
1718
- "van-image/error-icon": {
1719
- "type": "string",
1720
- "description": "Error icon, Default: `photo-fail`"
1721
- },
1722
- "van-image/loading-icon": {
1723
- "type": "string",
1724
- "description": "Loading icon, Default: `photo`"
1725
- },
1726
- "van-image/icon-size": {
1727
- "type": "number | string",
1728
- "description": "Icon size, Default: `32px`"
1729
- },
1730
- "van-image/icon-prefix": {
1731
- "type": "string",
1732
- "description": "Icon className prefix, Default: `van-icon`"
1733
- },
1734
- "van-image-preview/v-model:show": {
1735
- "type": "boolean",
1736
- "description": "Whether to show ImagePreview, Default: `false`"
1737
- },
1738
- "van-image-preview/images": {
1739
- "type": "string[]",
1740
- "description": "Images URL list, Default: `[]`"
1741
- },
1742
- "van-image-preview/start-position": {
1743
- "type": "number | string",
1744
- "description": "Start position, Default: `0`"
1745
- },
1746
- "van-image-preview/swipe-duration": {
1747
- "type": "number | string",
1748
- "description": "Animation duration (ms), Default: `300`"
1749
- },
1750
- "van-image-preview/show-index": {
1751
- "type": "boolean",
1752
- "description": "Whether to show index, Default: `true`"
1753
- },
1754
- "van-image-preview/show-indicators": {
1755
- "type": "boolean",
1756
- "description": "Whether to show indicators, Default: `false`"
1757
- },
1758
- "van-image-preview/loop": {
1759
- "type": "boolean",
1760
- "description": "Whether to enable loop, Default: `true`"
1761
- },
1762
- "van-image-preview/before-close": {
1763
- "type": "(action: number) => boolean | Promise\\<boolean\\>",
1764
- "description": "Callback function before close, Default: -"
1765
- },
1766
- "van-image-preview/close-on-popstate": {
1767
- "type": "boolean",
1768
- "description": "Whether to close when popstate, Default: `true`"
1769
- },
1770
- "van-image-preview/class-name": {
1771
- "type": "string | Array | object",
1772
- "description": "Custom className, Default: -"
1773
- },
1774
- "van-image-preview/max-zoom": {
1775
- "type": "number | string",
1776
- "description": "Max zoom, Default: `3`"
1777
- },
1778
- "van-image-preview/min-zoom": {
1779
- "type": "number | string",
1780
- "description": "Min zoom, Default: `1/3`"
1781
- },
1782
- "van-image-preview/closeable": {
1783
- "type": "boolean",
1784
- "description": "Whether to show close icon, Default: `false`"
1785
- },
1786
- "van-image-preview/close-icon": {
1787
- "type": "string",
1788
- "description": "Close icon name, Default: `clear`"
1789
- },
1790
- "van-image-preview/close-icon-position": {
1791
- "type": "string",
1792
- "description": "Close icon position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
1793
- },
1794
- "van-image-preview/transition": {
1795
- "type": "string",
1796
- "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: `van-fade`"
1797
- },
1798
- "van-image-preview/overlay-class": {
1799
- "type": "string | Array | object",
1800
- "description": "Custom overlay class, Default: -"
1801
- },
1802
- "van-image-preview/overlay-style": {
1803
- "type": "object",
1804
- "description": "Custom overlay style, Default: -"
1805
- },
1806
- "van-image-preview/teleport": {
1807
- "type": "string | Element",
1808
- "description": "Specifies a target element where ImagePreview will be mounted, Default: -"
1809
- },
1810
- "van-index-bar/index-list": {
1811
- "type": "string[] | number[]",
1812
- "description": "Index List, Default: `A-Z`"
1813
- },
1814
- "van-index-bar/z-index": {
1815
- "type": "number | string",
1816
- "description": "z-index, Default: `1`"
1817
- },
1818
- "van-index-bar/sticky": {
1819
- "type": "boolean",
1820
- "description": "Whether to enable anchor sticky top, Default: `true`"
1821
- },
1822
- "van-index-bar/sticky-offset-top": {
1823
- "type": "number",
1824
- "description": "Anchor offset top when sticky, Default: `0`"
1825
- },
1826
- "van-index-bar/highlight-color": {
1827
- "type": "string",
1828
- "description": "Index character highlight color, Default: `#1989fa`"
1829
- },
1830
- "van-index-bar/teleport": {
1831
- "type": "string | Element",
1832
- "description": "Specifies a target element where IndexBar will be mounted, Default: -"
1833
- },
1834
- "van-index-anchor/index": {
1835
- "type": "number | string",
1836
- "description": "Index, Default: -"
1837
- },
1838
- "van-list/v-model:loading": {
1839
- "type": "boolean",
1840
- "description": "Whether to show loading info, the `load` event will not be Emitted when loading, Default: `false`"
1841
- },
1842
- "van-list/v-model:error": {
1843
- "type": "boolean",
1844
- "description": "Whether loading is error, the `load` event will be Emitted only when error text clicked, Default: `false`"
1845
- },
1846
- "van-list/finished": {
1847
- "type": "boolean",
1848
- "description": "Whether loading is finished, the `load` event will not be Emitted when finished, Default: `false`"
1849
- },
1850
- "van-list/offset": {
1851
- "type": "number | string",
1852
- "description": "The load event will be Emitted when the distance between the scrollbar and the bottom is less than offset, Default: `300`"
1853
- },
1854
- "van-list/loading-text": {
1855
- "type": "string",
1856
- "description": "Loading text, Default: `Loading...`"
1857
- },
1858
- "van-list/finished-text": {
1859
- "type": "string",
1860
- "description": "Finished text, Default: -"
1861
- },
1862
- "van-list/error-text": {
1863
- "type": "string",
1864
- "description": "Error loaded text, Default: -"
1865
- },
1866
- "van-list/immediate-check": {
1867
- "type": "boolean",
1868
- "description": "Whether to check loading position immediately after mounted, Default: `true`"
1869
- },
1870
- "van-list/direction": {
1871
- "type": "string",
1872
- "description": "Scroll direction, can be set to `up`, Default: `down`"
1873
- },
1874
- "van-loading/color": {
1875
- "type": "string",
1876
- "description": "Loading color, Default: `#c9c9c9`"
1877
- },
1878
- "van-loading/type": {
1879
- "type": "string",
1880
- "description": "Can be set to `spinner`, Default: `circular`"
1881
- },
1882
- "van-loading/size": {
1883
- "type": "number | string",
1884
- "description": "Icon size, Default: `30px`"
1885
- },
1886
- "van-loading/text-size": {
1887
- "type": "number | string",
1888
- "description": "Text font size, Default: `14px`"
1889
- },
1890
- "van-loading/text-color": {
1891
- "type": "string",
1892
- "description": "Text color, Default: `#c9c9c9`"
1893
- },
1894
- "van-loading/vertical": {
1895
- "type": "boolean",
1896
- "description": "Whether to arrange icons and text content vertically, Default: `false`"
1897
- },
1898
- "van-nav-bar/title": {
1899
- "type": "string",
1900
- "description": "Title, Default: `''`"
1901
- },
1902
- "van-nav-bar/left-text": {
1903
- "type": "string",
1904
- "description": "Left Text, Default: `''`"
1905
- },
1906
- "van-nav-bar/right-text": {
1907
- "type": "string",
1908
- "description": "Right Text, Default: `''`"
1909
- },
1910
- "van-nav-bar/left-arrow": {
1911
- "type": "boolean",
1912
- "description": "Whether to show left arrow, Default: `false`"
1913
- },
1914
- "van-nav-bar/border": {
1915
- "type": "boolean",
1916
- "description": "Whether to show bottom border, Default: `true`"
1917
- },
1918
- "van-nav-bar/fixed": {
1919
- "type": "boolean",
1920
- "description": "Whether to fixed top, Default: `false`"
1921
- },
1922
- "van-nav-bar/placeholder": {
1923
- "type": "boolean",
1924
- "description": "Whether to generate a placeholder element when fixed, Default: `false`"
1925
- },
1926
- "van-nav-bar/z-index": {
1927
- "type": "number | string",
1928
- "description": "Z-index, Default: `1`"
1929
- },
1930
- "van-nav-bar/safe-area-inset-top": {
1931
- "type": "boolean",
1932
- "description": "Whether to enable top safe area adaptation, Default: `false`"
1933
- },
1934
- "van-notice-bar/mode": {
1935
- "type": "string",
1936
- "description": "Mode, can be set to `closeable` `link`, Default: `''`"
1937
- },
1938
- "van-notice-bar/text": {
1939
- "type": "string",
1940
- "description": "Notice text content, Default: `''`"
1941
- },
1942
- "van-notice-bar/color": {
1943
- "type": "string",
1944
- "description": "Text color, Default: `#ed6a0c`"
1945
- },
1946
- "van-notice-bar/background": {
1947
- "type": "string",
1948
- "description": "Background color, Default: `#fffbe8`"
1949
- },
1950
- "van-notice-bar/left-icon": {
1951
- "type": "string",
1952
- "description": "Left Icon, Default: -"
1953
- },
1954
- "van-notice-bar/delay": {
1955
- "type": "number | string",
1956
- "description": "Animation delay (s), Default: `1`"
1957
- },
1958
- "van-notice-bar/speed": {
1959
- "type": "number | string",
1960
- "description": "Scroll speed (px/s), Default: `60`"
1961
- },
1962
- "van-notice-bar/scrollable": {
1963
- "type": "boolean",
1964
- "description": "Whether to scroll content, Default: -"
1965
- },
1966
- "van-notice-bar/wrapable": {
1967
- "type": "boolean",
1968
- "description": "Whether to enable text wrap, Default: `false`"
1969
- },
1970
- "van-number-keyboard/v-model": {
1971
- "type": "string",
1972
- "description": "Current value, Default: -"
1973
- },
1974
- "van-number-keyboard/show": {
1975
- "type": "boolean",
1976
- "description": "Whether to show keyboard, Default: -"
1977
- },
1978
- "van-number-keyboard/title": {
1979
- "type": "string",
1980
- "description": "Keyboard title, Default: -"
1981
- },
1982
- "van-number-keyboard/theme": {
1983
- "type": "string",
1984
- "description": "Keyboard theme, can be set to `custom`, Default: `default`"
1985
- },
1986
- "van-number-keyboard/maxlength": {
1987
- "type": "number | string",
1988
- "description": "Value maxlength, Default: `Infinity`"
1989
- },
1990
- "van-number-keyboard/transition": {
1991
- "type": "boolean",
1992
- "description": "Whether to show transition animation, Default: `true`"
1993
- },
1994
- "van-number-keyboard/z-index": {
1995
- "type": "number | string",
1996
- "description": "Keyboard z-index, Default: `100`"
1997
- },
1998
- "van-number-keyboard/extra-key": {
1999
- "type": "string | string[]",
2000
- "description": "Content of bottom left key, Default: `''`"
2001
- },
2002
- "van-number-keyboard/close-button-text": {
2003
- "type": "string",
2004
- "description": "Close button text, Default: -"
2005
- },
2006
- "van-number-keyboard/delete-button-text": {
2007
- "type": "string",
2008
- "description": "Delete button text, Default: Delete Icon"
2009
- },
2010
- "van-number-keyboard/close-button-loading": {
2011
- "type": "boolean",
2012
- "description": "Whether to show loading close button in custom theme, Default: `false`"
2013
- },
2014
- "van-number-keyboard/show-delete-key": {
2015
- "type": "boolean",
2016
- "description": "Whether to show delete button, Default: `true`"
2017
- },
2018
- "van-number-keyboard/blur-on-close": {
2019
- "type": "boolean",
2020
- "description": "Whether to emit blur event when clicking close button, Default: `true`"
2021
- },
2022
- "van-number-keyboard/hide-on-click-outside": {
2023
- "type": "boolean",
2024
- "description": "Whether to hide keyboard when outside is clicked, Default: `true`"
2025
- },
2026
- "van-number-keyboard/teleport": {
2027
- "type": "string | Element",
2028
- "description": "Specifies a target element where NumberKeyboard will be mounted, Default: -"
2029
- },
2030
- "van-number-keyboard/safe-area-inset-bottom": {
2031
- "type": "boolean",
2032
- "description": "Whether to enable bottom safe area adaptation, Default: `true`"
2033
- },
2034
- "van-number-keyboard/random-key-order": {
2035
- "type": "boolean",
2036
- "description": "Whether to shuffle the order of keys, Default: `false`"
2037
- },
2038
- "van-overlay/show": {
2039
- "type": "boolean",
2040
- "description": "Whether to show overlay, Default: `false`"
2041
- },
2042
- "van-overlay/z-index": {
2043
- "type": "number | string",
2044
- "description": "z-index, Default: `1`"
2045
- },
2046
- "van-overlay/duration": {
2047
- "type": "number | string",
2048
- "description": "Animation duration, Default: `0.3`"
2049
- },
2050
- "van-overlay/class-name": {
2051
- "type": "string",
2052
- "description": "ClassName, Default: -"
2053
- },
2054
- "van-overlay/custom-class": {
2055
- "type": "object",
2056
- "description": "Custom style, Default: -"
2057
- },
2058
- "van-overlay/lock-scroll": {
2059
- "type": "boolean",
2060
- "description": "Whether to lock background scroll, Default: `true`"
2061
- },
2062
- "van-overlay/lazy-render": {
2063
- "type": "boolean",
2064
- "description": "Whether to lazy render util appeared, Default: `true`"
2065
- },
2066
- "van-pagination/v-model": {
2067
- "type": "number",
2068
- "description": "Current page number, Default: -"
2069
- },
2070
- "van-pagination/mode": {
2071
- "type": "string",
2072
- "description": "Mode, can be set to `simple` `multi`, Default: `multi`"
2073
- },
2074
- "van-pagination/prev-text": {
2075
- "type": "string",
2076
- "description": "Previous text, Default: `Previous`"
2077
- },
2078
- "van-pagination/next-text": {
2079
- "type": "string",
2080
- "description": "Next text, Default: `Next`"
2081
- },
2082
- "van-pagination/total-items": {
2083
- "type": "number | string",
2084
- "description": "Total items, Default: `0`"
2085
- },
2086
- "van-pagination/items-per-page": {
2087
- "type": "number | string",
2088
- "description": "Item number per page, Default: `10`"
2089
- },
2090
- "van-pagination/page-count": {
2091
- "type": "number | string",
2092
- "description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
2093
- },
2094
- "van-pagination/show-page-size": {
2095
- "type": "number | string",
2096
- "description": "Count of page size to show, Default: `5`"
2097
- },
2098
- "van-pagination/force-ellipses": {
2099
- "type": "boolean",
2100
- "description": "Whether to show ellipses, Default: `false`"
2101
- },
2102
- "van-password-input/value": {
2103
- "type": "string",
2104
- "description": "Password value, Default: `''`"
2105
- },
2106
- "van-password-input/info": {
2107
- "type": "string",
2108
- "description": "Bottom info, Default: -"
2109
- },
2110
- "van-password-input/error-info": {
2111
- "type": "string",
2112
- "description": "Bottom error info, Default: -"
2113
- },
2114
- "van-password-input/length": {
2115
- "type": "number | string",
2116
- "description": "Maxlength of password, Default: `6`"
2117
- },
2118
- "van-password-input/gutter": {
2119
- "type": "number | string",
2120
- "description": "Gutter of input, Default: `0`"
2121
- },
2122
- "van-password-input/mask": {
2123
- "type": "boolean",
2124
- "description": "Whether to mask value, Default: `true`"
2125
- },
2126
- "van-password-input/focused": {
2127
- "type": "boolean",
2128
- "description": "Whether to show focused cursor, Default: `false`"
2129
- },
2130
- "van-picker/columns": {
2131
- "type": "PickerOption[] | PickerOption[][]",
2132
- "description": "Columns data, Default: `[]`"
2133
- },
2134
- "van-picker/columns-field-names": {
2135
- "type": "object",
2136
- "description": "custom columns field, Default: `{ text: 'text', value: 'value', children: 'children' }`"
2137
- },
2138
- "van-picker/title": {
2139
- "type": "string",
2140
- "description": "Toolbar title, Default: -"
2141
- },
2142
- "van-picker/confirm-button-text": {
2143
- "type": "string",
2144
- "description": "Text of confirm button, Default: `Confirm`"
2145
- },
2146
- "van-picker/cancel-button-text": {
2147
- "type": "string",
2148
- "description": "Text of cancel button, Default: `Cancel`"
2149
- },
2150
- "van-picker/toolbar-position": {
2151
- "type": "string",
2152
- "description": "Toolbar position, cat be set to `bottom`, Default: `top`"
2153
- },
2154
- "van-picker/loading": {
2155
- "type": "boolean",
2156
- "description": "Whether to show loading prompt, Default: `false`"
2157
- },
2158
- "van-picker/show-toolbar": {
2159
- "type": "boolean",
2160
- "description": "Whether to show toolbar, Default: `true`"
2161
- },
2162
- "van-picker/allow-html": {
2163
- "type": "boolean",
2164
- "description": "Whether to allow HTML in option text, Default: `false`"
2165
- },
2166
- "van-picker/option-height": {
2167
- "type": "number | string",
2168
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
2169
- },
2170
- "van-picker/visible-option-num": {
2171
- "type": "number | string",
2172
- "description": "Count of visible columns, Default: `6`"
2173
- },
2174
- "van-picker/swipe-duration": {
2175
- "type": "number | string",
2176
- "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
2177
- },
2178
- "van-popover/v-model:show": {
2179
- "type": "boolean",
2180
- "description": "Whether to show Popover, Default: `false`"
2181
- },
2182
- "van-popover/actions": {
2183
- "type": "PopoverAction[]",
2184
- "description": "Actions, Default: `[]`"
2185
- },
2186
- "van-popover/placement": {
2187
- "type": "PopoverPlacement",
2188
- "description": "Placement, Default: `bottom`"
2189
- },
2190
- "van-popover/theme": {
2191
- "type": "PopoverTheme",
2192
- "description": "Theme, can be set to `dark`, Default: `light`"
2193
- },
2194
- "van-popover/trigger": {
2195
- "type": "PopoverTrigger",
2196
- "description": "Trigger mode, can be set to `manual`, Default: `click`"
2197
- },
2198
- "van-popover/duration": {
2199
- "type": "number | string",
2200
- "description": "Transition duration, unit second, Default: `0.3`"
2201
- },
2202
- "van-popover/offset": {
2203
- "type": "[number, number]",
2204
- "description": "Distance to reference, Default: `[0, 8]`"
2205
- },
2206
- "van-popover/overlay": {
2207
- "type": "boolean",
2208
- "description": "Whether to show overlay, Default: `false`"
2209
- },
2210
- "van-popover/overlay-class": {
2211
- "type": "string | Array | object",
2212
- "description": "Custom overlay class, Default: -"
2213
- },
2214
- "van-popover/overlay-style": {
2215
- "type": "object",
2216
- "description": "Custom overlay style, Default: -"
2217
- },
2218
- "van-popover/show-arrow": {
2219
- "type": "boolean",
2220
- "description": "Whether to show arrow, Default: `true`"
2221
- },
2222
- "van-popover/close-on-click-action": {
2223
- "type": "boolean",
2224
- "description": "Whether to close when clicking action, Default: `true`"
2225
- },
2226
- "van-popover/close-on-click-outside": {
2227
- "type": "boolean",
2228
- "description": "Whether to close when clicking outside, Default: `true`"
2229
- },
2230
- "van-popover/close-on-click-overlay": {
2231
- "type": "boolean",
2232
- "description": "Whether to close when clicking overlay, Default: `true`"
2233
- },
2234
- "van-popover/teleport": {
2235
- "type": "string | Element",
2236
- "description": "Specifies a target element where Popover will be mounted, Default: `body`"
2237
- },
2238
- "van-popover/icon-prefix": {
2239
- "type": "string",
2240
- "description": "Icon className prefix, Default: `van-icon`"
2241
- },
2242
- "van-popup/v-model:show": {
2243
- "type": "boolean",
2244
- "description": "Whether to show popup, Default: `false`"
2245
- },
2246
- "van-popup/overlay": {
2247
- "type": "boolean",
2248
- "description": "Whether to show overlay, Default: `true`"
2249
- },
2250
- "van-popup/position": {
2251
- "type": "string",
2252
- "description": "Can be set to `top` `bottom` `right` `left`, Default: `center`"
2253
- },
2254
- "van-popup/overlay-class": {
2255
- "type": "string | Array | object",
2256
- "description": "Custom overlay class, Default: -"
2257
- },
2258
- "van-popup/overlay-style": {
2259
- "type": "object",
2260
- "description": "Custom overlay style, Default: -"
2261
- },
2262
- "van-popup/duration": {
2263
- "type": "number | string",
2264
- "description": "Transition duration, unit second, Default: `0.3`"
2265
- },
2266
- "van-popup/round": {
2267
- "type": "boolean",
2268
- "description": "Whether to show round corner, Default: `false`"
2269
- },
2270
- "van-popup/lock-scroll": {
2271
- "type": "boolean",
2272
- "description": "Whether to lock background scroll, Default: `true`"
2273
- },
2274
- "van-popup/lazy-render": {
2275
- "type": "boolean",
2276
- "description": "Whether to lazy render util appeared, Default: `true`"
2277
- },
2278
- "van-popup/close-on-popstate": {
2279
- "type": "boolean",
2280
- "description": "Whether to close when popstate, Default: `false`"
2281
- },
2282
- "van-popup/close-on-click-overlay": {
2283
- "type": "boolean",
2284
- "description": "Whether to close when overlay is clicked, Default: `true`"
2285
- },
2286
- "van-popup/closeable": {
2287
- "type": "boolean",
2288
- "description": "Whether to show close icon, Default: `false`"
2289
- },
2290
- "van-popup/close-icon": {
2291
- "type": "string",
2292
- "description": "Close icon name, Default: `cross`"
2293
- },
2294
- "van-popup/close-icon-position": {
2295
- "type": "string",
2296
- "description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
2297
- },
2298
- "van-popup/before-close": {
2299
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
2300
- "description": "Callback function before close, Default: -"
2301
- },
2302
- "van-popup/icon-prefix": {
2303
- "type": "string",
2304
- "description": "Icon className prefix, Default: `van-icon`"
2305
- },
2306
- "van-popup/transition": {
2307
- "type": "string",
2308
- "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: -"
2309
- },
2310
- "van-popup/transition-appear": {
2311
- "type": "boolean",
2312
- "description": "Whether to apply transition on initial render, Default: `false`"
2313
- },
2314
- "van-popup/teleport": {
2315
- "type": "string | Element",
2316
- "description": "Specifies a target element where Popup will be mounted, Default: -"
2317
- },
2318
- "van-popup/safe-area-inset-top": {
2319
- "type": "boolean",
2320
- "description": "Whether to enable top safe area adaptation, Default: `false`"
2321
- },
2322
- "van-popup/safe-area-inset-bottom": {
2323
- "type": "boolean",
2324
- "description": "Whether to enable bottom safe area adaptation, Default: `false`"
2325
- },
2326
- "van-progress/percentage": {
2327
- "type": "number | string",
2328
- "description": "Percentage, Default: `0`"
2329
- },
2330
- "van-progress/stroke-width": {
2331
- "type": "number | string",
2332
- "description": "Stroke width, Default: `4px`"
2333
- },
2334
- "van-progress/color": {
2335
- "type": "string",
2336
- "description": "Color, Default: `#1989fa`"
2337
- },
2338
- "van-progress/track-color": {
2339
- "type": "string",
2340
- "description": "Track color, Default: `#e5e5e5`"
2341
- },
2342
- "van-progress/pivot-text": {
2343
- "type": "string",
2344
- "description": "Pivot text, Default: percentage"
2345
- },
2346
- "van-progress/pivot-color": {
2347
- "type": "string",
2348
- "description": "Pivot text background color, Default: inherit progress color"
2349
- },
2350
- "van-progress/text-color": {
2351
- "type": "string",
2352
- "description": "Pivot text color, Default: `white`"
2353
- },
2354
- "van-progress/inactive": {
2355
- "type": "boolean",
2356
- "description": "Whether to be gray, Default: `false`"
2357
- },
2358
- "van-progress/show-pivot": {
2359
- "type": "boolean",
2360
- "description": "Whether to show text, Default: `true`"
2361
- },
2362
- "van-pull-refresh/v-model": {
2363
- "type": "boolean",
2364
- "description": "Loading status, Default: -"
2365
- },
2366
- "van-pull-refresh/pulling-text": {
2367
- "type": "string",
2368
- "description": "Text to show when pulling, Default: `Pull to refresh...`"
2369
- },
2370
- "van-pull-refresh/loosing-text": {
2371
- "type": "string",
2372
- "description": "Text to show when loosing, Default: `Loose to refresh...`"
2373
- },
2374
- "van-pull-refresh/loading-text": {
2375
- "type": "string",
2376
- "description": "Text to show when loading, Default: `Loading...`"
2377
- },
2378
- "van-pull-refresh/success-text": {
2379
- "type": "string",
2380
- "description": "Text to show when loading success, Default: -"
2381
- },
2382
- "van-pull-refresh/success-duration": {
2383
- "type": "number | string",
2384
- "description": "Success text display duration(ms), Default: `500`"
2385
- },
2386
- "van-pull-refresh/animation-duration": {
2387
- "type": "number | string",
2388
- "description": "Animation duration, Default: `300`"
2389
- },
2390
- "van-pull-refresh/head-height": {
2391
- "type": "number | string",
2392
- "description": "Height of head, Default: `50`"
2393
- },
2394
- "van-pull-refresh/pull-distance": {
2395
- "type": "number | string",
2396
- "description": "The distance to trigger the pull refresh, Default: same as `head-height`"
2397
- },
2398
- "van-pull-refresh/disabled": {
2399
- "type": "boolean",
2400
- "description": "Whether to disable pull refresh, Default: `false`"
2401
- },
2402
- "van-radio/name": {
2403
- "type": "any",
2404
- "description": "Radio name, Default: -"
2405
- },
2406
- "van-radio/shape": {
2407
- "type": "string",
2408
- "description": "Can be set to `square`, Default: `round`"
2409
- },
2410
- "van-radio/disabled": {
2411
- "type": "boolean",
2412
- "description": "Whether to disable radio, Default: `false`"
2413
- },
2414
- "van-radio/label-disabled": {
2415
- "type": "boolean",
2416
- "description": "Whether to disable label click, Default: `false`"
2417
- },
2418
- "van-radio/label-position": {
2419
- "type": "string",
2420
- "description": "Can be set to `left`, Default: `right`"
2421
- },
2422
- "van-radio/icon-size": {
2423
- "type": "number | string",
2424
- "description": "Icon size, Default: `20px`"
2425
- },
2426
- "van-radio/checked-color": {
2427
- "type": "string",
2428
- "description": "Checked color, Default: `#1989fa`"
2429
- },
2430
- "van-radio-group/v-model": {
2431
- "type": "any",
2432
- "description": "Name of checked radio, Default: -"
2433
- },
2434
- "van-radio-group/disabled": {
2435
- "type": "boolean",
2436
- "description": "Disable all radios, Default: `false`"
2437
- },
2438
- "van-radio-group/direction": {
2439
- "type": "string",
2440
- "description": "Direction, can be set to `horizontal`, Default: `vertical`"
2441
- },
2442
- "van-radio-group/icon-size": {
2443
- "type": "number | string",
2444
- "description": "Icon size of all radios, Default: `20px`"
2445
- },
2446
- "van-radio-group/checked-color": {
2447
- "type": "string",
2448
- "description": "Checked color of all radios, Default: `#1989fa`"
2449
- },
2450
- "van-rate/v-model": {
2451
- "type": "number",
2452
- "description": "Current rate, Default: -"
2453
- },
2454
- "van-rate/count": {
2455
- "type": "number | string",
2456
- "description": "Count, Default: `5`"
2457
- },
2458
- "van-rate/size": {
2459
- "type": "number | string",
2460
- "description": "Icon size, Default: `20px`"
2461
- },
2462
- "van-rate/gutter": {
2463
- "type": "number | string",
2464
- "description": "Icon gutter, Default: `4px`"
2465
- },
2466
- "van-rate/color": {
2467
- "type": "string",
2468
- "description": "Selected color, Default: `#ee0a24`"
2469
- },
2470
- "van-rate/void-color": {
2471
- "type": "string",
2472
- "description": "Void color, Default: `#c8c9cc`"
2473
- },
2474
- "van-rate/disabled-color": {
2475
- "type": "string",
2476
- "description": "Disabled color, Default: `#c8c9cc`"
2477
- },
2478
- "van-rate/icon": {
2479
- "type": "string",
2480
- "description": "Selected icon, Default: `star`"
2481
- },
2482
- "van-rate/void-icon": {
2483
- "type": "string",
2484
- "description": "Void icon, Default: `star-o`"
2485
- },
2486
- "van-rate/icon-prefix": {
2487
- "type": "string",
2488
- "description": "Icon className prefix, Default: `van-icon`"
2489
- },
2490
- "van-rate/allow-half": {
2491
- "type": "boolean",
2492
- "description": "Whether to allow half star, Default: `false`"
2493
- },
2494
- "van-rate/readonly": {
2495
- "type": "boolean",
2496
- "description": "Whether to be readonly, Default: `false`"
2497
- },
2498
- "van-rate/disabled": {
2499
- "type": "boolean",
2500
- "description": "Whether to disable rate, Default: `false`"
2501
- },
2502
- "van-rate/touchable": {
2503
- "type": "boolean",
2504
- "description": "Whether to allow select rate by touch gesture, Default: `true`"
2505
- },
2506
- "van-search/v-model": {
2507
- "type": "number | string",
2508
- "description": "Input value, Default: -"
2509
- },
2510
- "van-search/label": {
2511
- "type": "string",
2512
- "description": "Left side label, Default: -"
2513
- },
2514
- "van-search/name": {
2515
- "type": "string",
2516
- "description": "As the identifier when submitting the form, Default: -"
2517
- },
2518
- "van-search/shape": {
2519
- "type": "string",
2520
- "description": "Shape of field, can be set to `round`, Default: `square`"
2521
- },
2522
- "van-search/id": {
2523
- "type": "string",
2524
- "description": "Input id, the for attribute of the label also will be set, Default: `van-search-n-input`"
2525
- },
2526
- "van-search/background": {
2527
- "type": "string",
2528
- "description": "Background color of field, Default: `#f2f2f2`"
2529
- },
2530
- "van-search/maxlength": {
2531
- "type": "number | string",
2532
- "description": "Max length of value, Default: -"
2533
- },
2534
- "van-search/placeholder": {
2535
- "type": "string",
2536
- "description": "Placeholder, Default: -"
2537
- },
2538
- "van-search/clearable": {
2539
- "type": "boolean",
2540
- "description": "Whether to be clearable, Default: `true`"
2541
- },
2542
- "van-search/clear-icon": {
2543
- "type": "string",
2544
- "description": "Clear icon name, Default: `clear`"
2545
- },
2546
- "van-search/clear-trigger": {
2547
- "type": "string",
2548
- "description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused, Default: `focus`"
2549
- },
2550
- "van-search/autofocus": {
2551
- "type": "boolean",
2552
- "description": "Whether to auto focus, unsupported in iOS, Default: `false`"
2553
- },
2554
- "van-search/show-action": {
2555
- "type": "boolean",
2556
- "description": "Whether to show right action button, Default: `false`"
2557
- },
2558
- "van-search/action-text": {
2559
- "type": "boolean",
2560
- "description": "Text of action button, Default: `Cancel`"
2561
- },
2562
- "van-search/disabled": {
2563
- "type": "boolean",
2564
- "description": "Whether to disable field, Default: `false`"
2565
- },
2566
- "van-search/readonly": {
2567
- "type": "boolean",
2568
- "description": "Whether to be readonly, Default: `false`"
2569
- },
2570
- "van-search/error": {
2571
- "type": "boolean",
2572
- "description": "Whether to mark the input content in red, Default: `false`"
2573
- },
2574
- "van-search/error-message": {
2575
- "type": "string",
2576
- "description": "Error message, Default: -"
2577
- },
2578
- "van-search/formatter": {
2579
- "type": "(val: string) => string",
2580
- "description": "Input value formatter, Default: -"
2581
- },
2582
- "van-search/format-trigger": {
2583
- "type": "string",
2584
- "description": "When to format value, can be set to `onBlur`, Default: `onChange`"
2585
- },
2586
- "van-search/input-align": {
2587
- "type": "string",
2588
- "description": "Text align of field, can be set to `center` `right`, Default: `left`"
2589
- },
2590
- "van-search/left-icon": {
2591
- "type": "string",
2592
- "description": "Left icon name, Default: `search`"
2593
- },
2594
- "van-search/right-icon": {
2595
- "type": "string",
2596
- "description": "Right icon name, Default: -"
2597
- },
2598
- "van-search/autocomplete": {
2599
- "type": "string",
2600
- "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
2601
- },
2602
- "van-share-sheet/v-model:show": {
2603
- "type": "boolean",
2604
- "description": "Whether to show ShareSheet, Default: `false`"
2605
- },
2606
- "van-share-sheet/options": {
2607
- "type": "Option[]",
2608
- "description": "Share options, Default: `[]`"
2609
- },
2610
- "van-share-sheet/title": {
2611
- "type": "string",
2612
- "description": "Title, Default: -"
2613
- },
2614
- "van-share-sheet/cancel-text": {
2615
- "type": "string",
2616
- "description": "Cancel button text, Default: `'Cancel'`"
2617
- },
2618
- "van-share-sheet/description": {
2619
- "type": "string",
2620
- "description": "Description, Default: -"
2621
- },
2622
- "van-share-sheet/duration": {
2623
- "type": "number | string",
2624
- "description": "Transition duration, unit second, Default: `0.3`"
2625
- },
2626
- "van-share-sheet/round": {
2627
- "type": "boolean",
2628
- "description": "Whether to show round corner, Default: `true`"
2629
- },
2630
- "van-share-sheet/overlay": {
2631
- "type": "boolean",
2632
- "description": "Whether to show overlay, Default: `true`"
2633
- },
2634
- "van-share-sheet/overlay-class": {
2635
- "type": "string | Array | object",
2636
- "description": "Custom overlay class, Default: -"
2637
- },
2638
- "van-share-sheet/overlay-style": {
2639
- "type": "object",
2640
- "description": "Custom overlay style, Default: -"
2641
- },
2642
- "van-share-sheet/lock-scroll": {
2643
- "type": "boolean",
2644
- "description": "Whether to lock background scroll, Default: `true`"
2645
- },
2646
- "van-share-sheet/lazy-render": {
2647
- "type": "boolean",
2648
- "description": "Whether to lazy render util appeared, Default: `true`"
2649
- },
2650
- "van-share-sheet/close-on-popstate": {
2651
- "type": "boolean",
2652
- "description": "Whether to close when popstate, Default: `true`"
2653
- },
2654
- "van-share-sheet/close-on-click-overlay": {
2655
- "type": "boolean",
2656
- "description": "Whether to close when overlay is clicked, Default: `true`"
2657
- },
2658
- "van-share-sheet/safe-area-inset-bottom": {
2659
- "type": "boolean",
2660
- "description": "Whether to enable bottom safe area adaptation, Default: `true`"
2661
- },
2662
- "van-share-sheet/teleport": {
2663
- "type": "string | Element",
2664
- "description": "Specifies a target element where ShareSheet will be mounted, Default: -"
2665
- },
2666
- "van-share-sheet/before-close": {
2667
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
2668
- "description": "Callback function before close, Default: -"
2669
- },
2670
- "van-sidebar/v-model": {
2671
- "type": "number | string",
2672
- "description": "Index of chosen item, Default: `0`"
2673
- },
2674
- "van-sidebar-item/title": {
2675
- "type": "string",
2676
- "description": "Content, Default: `''`"
2677
- },
2678
- "van-sidebar-item/dot": {
2679
- "type": "boolean",
2680
- "description": "Whether to show red dot, Default: `false`"
2681
- },
2682
- "van-sidebar-item/badge": {
2683
- "type": "number | string",
2684
- "description": "Content of the badge, Default: `''`"
2685
- },
2686
- "van-sidebar-item/badge-props": {
2687
- "type": "BadgeProps",
2688
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
2689
- },
2690
- "van-sidebar-item/disabled": {
2691
- "type": "boolean",
2692
- "description": "Whether to be disabled, Default: `false`"
2693
- },
2694
- "van-sidebar-item/url": {
2695
- "type": "string",
2696
- "description": "Link, Default: -"
2697
- },
2698
- "van-sidebar-item/to": {
2699
- "type": "string | object",
2700
- "description": "Target route of the link, same as to of vue-router, Default: -"
2701
- },
2702
- "van-sidebar-item/replace": {
2703
- "type": "boolean",
2704
- "description": "If true, the navigation will not leave a history record, Default: `false`"
2705
- },
2706
- "van-skeleton/row": {
2707
- "type": "number | string",
2708
- "description": "Row count, Default: `0`"
2709
- },
2710
- "van-skeleton/row-width": {
2711
- "type": "number | string |<br>(number | string)[]",
2712
- "description": "Row width, can be array, Default: `100%`"
2713
- },
2714
- "van-skeleton/title": {
2715
- "type": "boolean",
2716
- "description": "Whether to show title placeholder, Default: `false`"
2717
- },
2718
- "van-skeleton/avatar": {
2719
- "type": "boolean",
2720
- "description": "Whether to show avatar placeholder, Default: `false`"
2721
- },
2722
- "van-skeleton/loading": {
2723
- "type": "boolean",
2724
- "description": "Whether to show skeleton, pass `false` to show child component, Default: `true`"
2725
- },
2726
- "van-skeleton/animate": {
2727
- "type": "boolean",
2728
- "description": "Whether to enable animation, Default: `true`"
2729
- },
2730
- "van-skeleton/round": {
2731
- "type": "boolean",
2732
- "description": "Whether to show round title and row, Default: `false`"
2733
- },
2734
- "van-skeleton/title-width": {
2735
- "type": "number | string",
2736
- "description": "Title width, Default: `40%`"
2737
- },
2738
- "van-skeleton/avatar-size": {
2739
- "type": "number | string",
2740
- "description": "Size of avatar placeholder, Default: `32px`"
2741
- },
2742
- "van-skeleton/avatar-shape": {
2743
- "type": "string",
2744
- "description": "Shape of avatar placeholder, can be set to `square`, Default: `round`"
2745
- },
2746
- "van-slider/v-model": {
2747
- "type": "number | [number, number]",
2748
- "description": "Current value, Default: `0`"
2749
- },
2750
- "van-slider/max": {
2751
- "type": "number | string",
2752
- "description": "Max value, Default: `100`"
2753
- },
2754
- "van-slider/min": {
2755
- "type": "number | string",
2756
- "description": "Min value, Default: `0`"
2757
- },
2758
- "van-slider/step": {
2759
- "type": "number | string",
2760
- "description": "Step size, Default: `1`"
2761
- },
2762
- "van-slider/bar-height": {
2763
- "type": "number | string",
2764
- "description": "Height of bar, Default: `2px`"
2765
- },
2766
- "van-slider/button-size": {
2767
- "type": "number | string",
2768
- "description": "Button size, Default: `24px`"
2769
- },
2770
- "van-slider/active-color": {
2771
- "type": "string",
2772
- "description": "Active color of bar, Default: `#1989fa`"
2773
- },
2774
- "van-slider/inactive-color": {
2775
- "type": "string",
2776
- "description": "Inactive color of bar, Default: `#e5e5e5`"
2777
- },
2778
- "van-slider/range": {
2779
- "type": "boolean",
2780
- "description": "Whether to enable dual thumb mode, Default: `false`"
2781
- },
2782
- "van-slider/reverse": {
2783
- "type": "`false`",
2784
- "description": "Whether to reverse slider, Default: undefined"
2785
- },
2786
- "van-slider/disabled": {
2787
- "type": "boolean",
2788
- "description": "Whether to disable slider, Default: `false`"
2789
- },
2790
- "van-slider/readonly": {
2791
- "type": "boolean",
2792
- "description": "Whether to be readonly, Default: `false`"
2793
- },
2794
- "van-slider/vertical": {
2795
- "type": "boolean",
2796
- "description": "Whether to display slider vertically, Default: `false`"
2797
- },
2798
- "van-stepper/v-model": {
2799
- "type": "number | string",
2800
- "description": "Current value, Default: -"
2801
- },
2802
- "van-stepper/min": {
2803
- "type": "number | string",
2804
- "description": "Min value, Default: `1`"
2805
- },
2806
- "van-stepper/max": {
2807
- "type": "number | string",
2808
- "description": "Max value, Default: -"
2809
- },
2810
- "van-stepper/default-value": {
2811
- "type": "number | string",
2812
- "description": "Default value, valid when v-model is empty, Default: `1`"
2813
- },
2814
- "van-stepper/step": {
2815
- "type": "number | string",
2816
- "description": "Value change step, Default: `1`"
2817
- },
2818
- "van-stepper/name": {
2819
- "type": "number | string",
2820
- "description": "Stepper name, Default: -"
2821
- },
2822
- "van-stepper/input-width": {
2823
- "type": "number | string",
2824
- "description": "Input width, Default: `32px`"
2825
- },
2826
- "van-stepper/button-size": {
2827
- "type": "number | string",
2828
- "description": "Button size, Default: `28px`"
2829
- },
2830
- "van-stepper/decimal-length": {
2831
- "type": "number | string",
2832
- "description": "Decimal length, Default: -"
2833
- },
2834
- "van-stepper/theme": {
2835
- "type": "string",
2836
- "description": "Theme, can be set to `round`, Default: -"
2837
- },
2838
- "van-stepper/placeholder": {
2839
- "type": "string",
2840
- "description": "Input placeholder, Default: -"
2841
- },
2842
- "van-stepper/integer": {
2843
- "type": "boolean",
2844
- "description": "Whether to allow only integers, Default: `false`"
2845
- },
2846
- "van-stepper/disabled": {
2847
- "type": "boolean",
2848
- "description": "Whether to disable value change, Default: `false`"
2849
- },
2850
- "van-stepper/disable-plus": {
2851
- "type": "boolean",
2852
- "description": "Whether to disable plus button, Default: `false`"
2853
- },
2854
- "van-stepper/disable-minus": {
2855
- "type": "boolean",
2856
- "description": "Whether to disable minus button, Default: `false`"
2857
- },
2858
- "van-stepper/disable-input": {
2859
- "type": "boolean",
2860
- "description": "Whether to disable input, Default: `false`"
2861
- },
2862
- "van-stepper/before-change": {
2863
- "type": "(value: number | string) => boolean | Promise\\<boolean\\>",
2864
- "description": "Callback function before changing, return `false` to prevent change, support return Promise, Default: `false`"
2865
- },
2866
- "van-stepper/show-plus": {
2867
- "type": "boolean",
2868
- "description": "Whether to show plus button, Default: `true`"
2869
- },
2870
- "van-stepper/show-minus": {
2871
- "type": "boolean",
2872
- "description": "Whether to show minus button, Default: `true`"
2873
- },
2874
- "van-stepper/show-input": {
2875
- "type": "boolean",
2876
- "description": "Whether to show input, Default: `true`"
2877
- },
2878
- "van-stepper/long-press": {
2879
- "type": "boolean",
2880
- "description": "Whether to enable the long press gesture, when enabled you can long press the increase and decrease buttons, Default: `true`"
2881
- },
2882
- "van-stepper/allow-empty": {
2883
- "type": "boolean",
2884
- "description": "Whether to allow the input value to be empty, set to `true` to allow an empty string to be passed in, Default: `false`"
2885
- },
2886
- "van-steps/active": {
2887
- "type": "number | string",
2888
- "description": "Active step, Default: `0`"
2889
- },
2890
- "van-steps/direction": {
2891
- "type": "string",
2892
- "description": "Can be set to `vertical`, Default: `horizontal`"
2893
- },
2894
- "van-steps/active-color": {
2895
- "type": "string",
2896
- "description": "Active step color, Default: `#07c160`"
2897
- },
2898
- "van-steps/inactive-color": {
2899
- "type": "string",
2900
- "description": "Inactive step color, Default: `#969799`"
2901
- },
2902
- "van-steps/active-icon": {
2903
- "type": "string",
2904
- "description": "Active icon name, Default: `checked`"
2905
- },
2906
- "van-steps/inactive-icon": {
2907
- "type": "string",
2908
- "description": "Inactive icon name, Default: -"
2909
- },
2910
- "van-steps/finish-icon": {
2911
- "type": "string",
2912
- "description": "Finish icon name, Default: -"
2913
- },
2914
- "van-steps/icon-prefix": {
2915
- "type": "string",
2916
- "description": "Icon className prefix, Default: `van-icon`"
2917
- },
2918
- "van-sticky/position": {
2919
- "type": "string",
2920
- "description": "Offset position, can be set to `bottom`, Default: `top`"
2921
- },
2922
- "van-sticky/offset-top": {
2923
- "type": "number | string",
2924
- "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
2925
- },
2926
- "van-sticky/offset-bottom": {
2927
- "type": "number | string",
2928
- "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
2929
- },
2930
- "van-sticky/z-index": {
2931
- "type": "number | string",
2932
- "description": "z-index when sticky, Default: `99`"
2933
- },
2934
- "van-sticky/container": {
2935
- "type": "Element",
2936
- "description": "Container DOM, Default: -"
2937
- },
2938
- "van-submit-bar/price": {
2939
- "type": "number",
2940
- "description": "Price, Default: -"
2941
- },
2942
- "van-submit-bar/decimal-length": {
2943
- "type": "number | string",
2944
- "description": "Price decimal length, Default: `2`"
2945
- },
2946
- "van-submit-bar/label": {
2947
- "type": "string",
2948
- "description": "Price left label, Default: `Total: `"
2949
- },
2950
- "van-submit-bar/suffix-label": {
2951
- "type": "string",
2952
- "description": "Price right label, Default: -"
2953
- },
2954
- "van-submit-bar/text-align": {
2955
- "type": "string",
2956
- "description": "Price label text align can be set to `left`, Default: `right`"
2957
- },
2958
- "van-submit-bar/button-text": {
2959
- "type": "string",
2960
- "description": "Button text, Default: -"
2961
- },
2962
- "van-submit-bar/button-type": {
2963
- "type": "string",
2964
- "description": "Button type, Default: `danger`"
2965
- },
2966
- "van-submit-bar/button-color": {
2967
- "type": "string",
2968
- "description": "Button color, Default: -"
2969
- },
2970
- "van-submit-bar/tip": {
2971
- "type": "string",
2972
- "description": "Tip, Default: -"
2973
- },
2974
- "van-submit-bar/tip-icon": {
2975
- "type": "string",
2976
- "description": "Tip left icon, Default: -"
2977
- },
2978
- "van-submit-bar/currency": {
2979
- "type": "string",
2980
- "description": "Currency symbol, Default: `¥`"
2981
- },
2982
- "van-submit-bar/disabled": {
2983
- "type": "boolean",
2984
- "description": "Whether to disable button, Default: `false`"
2985
- },
2986
- "van-submit-bar/loading": {
2987
- "type": "boolean",
2988
- "description": "Whether to show loading icon, Default: `false`"
2989
- },
2990
- "van-submit-bar/safe-area-inset-bottom": {
2991
- "type": "boolean",
2992
- "description": "Whether to enable bottom safe area adaptation, Default: `true`"
2993
- },
2994
- "van-submit-bar/placeholder": {
2995
- "type": "boolean",
2996
- "description": "Whether to generate a placeholder element, Default: `false`"
2997
- },
2998
- "van-swipe/autoplay": {
2999
- "type": "number | string",
3000
- "description": "Autoplay interval (ms), Default: -"
3001
- },
3002
- "van-swipe/duration": {
3003
- "type": "number | string",
3004
- "description": "Animation duration (ms), Default: `500`"
3005
- },
3006
- "van-swipe/initial-swipe": {
3007
- "type": "number | string",
3008
- "description": "Index of initial swipe, start from 0, Default: `0`"
3009
- },
3010
- "van-swipe/width": {
3011
- "type": "number | string",
3012
- "description": "Width of swipe item, Default: `0`"
3013
- },
3014
- "van-swipe/height": {
3015
- "type": "number | string",
3016
- "description": "Height of swipe item, Default: `0`"
3017
- },
3018
- "van-swipe/loop": {
3019
- "type": "boolean",
3020
- "description": "Whether to enable loop, Default: `true`"
3021
- },
3022
- "van-swipe/show-indicators": {
3023
- "type": "boolean",
3024
- "description": "Whether to show indicators, Default: `true`"
3025
- },
3026
- "van-swipe/vertical": {
3027
- "type": "boolean",
3028
- "description": "Whether to be vertical Scrolling, Default: `false`"
3029
- },
3030
- "van-swipe/touchable": {
3031
- "type": "boolean",
3032
- "description": "Whether to allow swipe by touch gesture, Default: `true`"
3033
- },
3034
- "van-swipe/stop-propagation": {
3035
- "type": "boolean",
3036
- "description": "Whether to stop touchmove event propagation, Default: `false`"
3037
- },
3038
- "van-swipe/lazy-render": {
3039
- "type": "boolean",
3040
- "description": "Whether to enable lazy render, Default: `false`"
3041
- },
3042
- "van-swipe/indicator-color": {
3043
- "type": "string",
3044
- "description": "Indicator color, Default: `#1989fa`"
3045
- },
3046
- "van-swipe-cell/name": {
3047
- "type": "number | string",
3048
- "description": "Identifier of SwipeCell, Default: -"
3049
- },
3050
- "van-swipe-cell/left-width": {
3051
- "type": "number | string",
3052
- "description": "Width of the left swipe area, Default: `auto`"
3053
- },
3054
- "van-swipe-cell/right-width": {
3055
- "type": "number | string",
3056
- "description": "Width of the right swipe area, Default: `auto`"
3057
- },
3058
- "van-swipe-cell/before-close": {
3059
- "type": "(args) => boolean | Promise\\<boolean\\>",
3060
- "description": "Callback function before close, Default: -"
3061
- },
3062
- "van-swipe-cell/disabled": {
3063
- "type": "boolean",
3064
- "description": "Whether to disabled swipe, Default: `false`"
3065
- },
3066
- "van-swipe-cell/stop-propagation": {
3067
- "type": "boolean",
3068
- "description": "Whether to stop touchmove event propagation, Default: `false`"
3069
- },
3070
- "van-switch/v-model": {
3071
- "type": "ActiveValue | InactiveValue",
3072
- "description": "Check status of Switch, Default: `false`"
3073
- },
3074
- "van-switch/loading": {
3075
- "type": "boolean",
3076
- "description": "Whether to show loading icon, Default: `false`"
3077
- },
3078
- "van-switch/disabled": {
3079
- "type": "boolean",
3080
- "description": "Whether to disable switch, Default: `false`"
3081
- },
3082
- "van-switch/size": {
3083
- "type": "number | string",
3084
- "description": "Size of switch button, Default: `26px`"
3085
- },
3086
- "van-switch/active-color": {
3087
- "type": "string",
3088
- "description": "Background color when active, Default: `#1989fa`"
3089
- },
3090
- "van-switch/inactive-color": {
3091
- "type": "string",
3092
- "description": "Background color when inactive, Default: `rgba(120, 120, 128, 0.16)`"
3093
- },
3094
- "van-switch/active-value": {
3095
- "type": "any",
3096
- "description": "Value when active, Default: `true`"
3097
- },
3098
- "van-switch/inactive-value": {
3099
- "type": "any",
3100
- "description": "Value when inactive, Default: `false`"
3101
- },
3102
- "van-tabs/v-model:active": {
3103
- "type": "number | string",
3104
- "description": "Index of active tab, Default: `0`"
3105
- },
3106
- "van-tabs/type": {
3107
- "type": "string",
3108
- "description": "Can be set to `line` `card`, Default: `line`"
3109
- },
3110
- "van-tabs/color": {
3111
- "type": "string",
3112
- "description": "Tab color, Default: `#1989fa`"
3113
- },
3114
- "van-tabs/background": {
3115
- "type": "string",
3116
- "description": "Background color, Default: `white`"
3117
- },
3118
- "van-tabs/duration": {
3119
- "type": "number | string",
3120
- "description": "Toggle tab's animation time, Default: `0.3`"
3121
- },
3122
- "van-tabs/line-width": {
3123
- "type": "number | string",
3124
- "description": "Width of tab line, Default: `40px`"
3125
- },
3126
- "van-tabs/line-height": {
3127
- "type": "number | string",
3128
- "description": "Height of tab line, Default: `3px`"
3129
- },
3130
- "van-tabs/animated": {
3131
- "type": "boolean",
3132
- "description": "Whether to change tabs with animation, Default: `false`"
3133
- },
3134
- "van-tabs/border": {
3135
- "type": "boolean",
3136
- "description": "Whether to show border when `type=\"line\"`, Default: `false`"
3137
- },
3138
- "van-tabs/ellipsis": {
3139
- "type": "boolean",
3140
- "description": "Whether to ellipsis too long title, Default: `true`"
3141
- },
3142
- "van-tabs/sticky": {
3143
- "type": "boolean",
3144
- "description": "Whether to use sticky mode, Default: `false`"
3145
- },
3146
- "van-tabs/shrink": {
3147
- "type": "boolean",
3148
- "description": "Whether to shrink the the tabs to the left, Default: `false`"
3149
- },
3150
- "van-tabs/swipeable": {
3151
- "type": "boolean",
3152
- "description": "Whether to enable gestures to slide left and right, Default: `false`"
3153
- },
3154
- "van-tabs/lazy-render": {
3155
- "type": "boolean",
3156
- "description": "Whether to enable tab content lazy render, Default: `true`"
3157
- },
3158
- "van-tabs/scrollspy": {
3159
- "type": "boolean",
3160
- "description": "Whether to use scrollspy mode, Default: `false`"
3161
- },
3162
- "van-tabs/offset-top": {
3163
- "type": "number | string",
3164
- "description": "Sticky offset top , supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
3165
- },
3166
- "van-tabs/swipe-threshold": {
3167
- "type": "number | string",
3168
- "description": "Set swipe tabs threshold, Default: `5`"
3169
- },
3170
- "van-tabs/title-active-color": {
3171
- "type": "string",
3172
- "description": "Title active color, Default: -"
3173
- },
3174
- "van-tabs/title-inactive-color": {
3175
- "type": "string",
3176
- "description": "Title inactive color, Default: -"
3177
- },
3178
- "van-tabs/before-change": {
3179
- "type": "(name: number | string) => boolean | Promise\\<boolean\\>",
3180
- "description": "Callback function before changing tabs, return `false` to prevent change, support return Promise, Default: -"
3181
- },
3182
- "van-tab/title": {
3183
- "type": "string",
3184
- "description": "Title, Default: -"
3185
- },
3186
- "van-tab/disabled": {
3187
- "type": "boolean",
3188
- "description": "Whether to disable tab, Default: `false`"
3189
- },
3190
- "van-tab/dot": {
3191
- "type": "boolean",
3192
- "description": "Whether to show red dot on the title, Default: `false`"
3193
- },
3194
- "van-tab/badge": {
3195
- "type": "number | string",
3196
- "description": "Content of the badge on the title, Default: -"
3197
- },
3198
- "van-tab/name": {
3199
- "type": "number | string",
3200
- "description": "Identifier, Default: Index of tab"
3201
- },
3202
- "van-tab/url": {
3203
- "type": "string",
3204
- "description": "Link, Default: -"
3205
- },
3206
- "van-tab/to": {
3207
- "type": "string | object",
3208
- "description": "Target route of the link, same as to of vue-router, Default: -"
3209
- },
3210
- "van-tab/replace": {
3211
- "type": "boolean",
3212
- "description": "If true, the navigation will not leave a history record, Default: `false`"
3213
- },
3214
- "van-tab/title-style": {
3215
- "type": "string | Array | object",
3216
- "description": "Custom title style, Default: -"
3217
- },
3218
- "van-tab/title-class": {
3219
- "type": "string | Array | object",
3220
- "description": "Custom title class name, Default: -"
3221
- },
3222
- "van-tab/show-zero-badge": {
3223
- "type": "boolean",
3224
- "description": "Whether to show badge when the value is zero, Default: `true`"
3225
- },
3226
- "van-tabbar/v-model": {
3227
- "type": "number | string",
3228
- "description": "Identifier of current tab, Default: `0`"
3229
- },
3230
- "van-tabbar/fixed": {
3231
- "type": "boolean",
3232
- "description": "Whether to fixed bottom, Default: `true`"
3233
- },
3234
- "van-tabbar/border": {
3235
- "type": "boolean",
3236
- "description": "Whether to show border, Default: `true`"
3237
- },
3238
- "van-tabbar/z-index": {
3239
- "type": "number | string",
3240
- "description": "Z-index, Default: `1`"
3241
- },
3242
- "van-tabbar/active-color": {
3243
- "type": "string",
3244
- "description": "Color of active tab item, Default: `#1989fa`"
3245
- },
3246
- "van-tabbar/inactive-color": {
3247
- "type": "string",
3248
- "description": "Color of inactive tab item, Default: `#7d7e80`"
3249
- },
3250
- "van-tabbar/route": {
3251
- "type": "boolean",
3252
- "description": "Whether to enable route mode, Default: `false`"
3253
- },
3254
- "van-tabbar/placeholder": {
3255
- "type": "boolean",
3256
- "description": "Whether to generate a placeholder element when fixed, Default: `false`"
3257
- },
3258
- "van-tabbar/safe-area-inset-bottom": {
3259
- "type": "boolean",
3260
- "description": "Whether to enable bottom safe area adaptation, Default: `false`"
3261
- },
3262
- "van-tabbar/before-change": {
3263
- "type": "(name: number | string) => boolean | Promise\\<boolean\\>",
3264
- "description": "Callback function before changing tab, return `false` to prevent change, support return Promise, Default: -"
3265
- },
3266
- "van-tabbar-item/name": {
3267
- "type": "number | string",
3268
- "description": "Identifier, Default: Item index"
3269
- },
3270
- "van-tabbar-item/icon": {
3271
- "type": "string",
3272
- "description": "Icon name, Default: -"
3273
- },
3274
- "van-tabbar-item/icon-prefix": {
3275
- "type": "string",
3276
- "description": "Icon className prefix, Default: `van-icon`"
3277
- },
3278
- "van-tabbar-item/dot": {
3279
- "type": "boolean",
3280
- "description": "Whether to show red dot, Default: -"
3281
- },
3282
- "van-tabbar-item/badge": {
3283
- "type": "number | string",
3284
- "description": "Content of the badge, Default: `''`"
3285
- },
3286
- "van-tabbar-item/badge-props": {
3287
- "type": "BadgeProps",
3288
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
3289
- },
3290
- "van-tabbar-item/url": {
3291
- "type": "string",
3292
- "description": "Link, Default: -"
3293
- },
3294
- "van-tabbar-item/to": {
3295
- "type": "string | object",
3296
- "description": "Target route of the link, same as to of vue-router, Default: -"
3297
- },
3298
- "van-tabbar-item/replace": {
3299
- "type": "boolean",
3300
- "description": "If true, the navigation will not leave a history record, Default: `false`"
3301
- },
3302
- "van-tag/type": {
3303
- "type": "string",
3304
- "description": "Type, can be set to `primary` `success` `danger` `warning`, Default: `default`"
3305
- },
3306
- "van-tag/size": {
3307
- "type": "string",
3308
- "description": "Size, can be set to `large` `medium`, Default: -"
3309
- },
3310
- "van-tag/color": {
3311
- "type": "string",
3312
- "description": "Custom color, Default: -"
3313
- },
3314
- "van-tag/show": {
3315
- "type": "boolean",
3316
- "description": "Whether to show tag, Default: `true`"
3317
- },
3318
- "van-tag/plain": {
3319
- "type": "boolean",
3320
- "description": "Whether to be plain style, Default: `false`"
3321
- },
3322
- "van-tag/round": {
3323
- "type": "boolean",
3324
- "description": "Whether to be round style, Default: `false`"
3325
- },
3326
- "van-tag/mark": {
3327
- "type": "boolean",
3328
- "description": "Whether to be mark style, Default: `false`"
3329
- },
3330
- "van-tag/text-color": {
3331
- "type": "string",
3332
- "description": "Text color, Default: `white`"
3333
- },
3334
- "van-tag/closeable": {
3335
- "type": "boolean",
3336
- "description": "Whether to be closeable, Default: `false`"
3337
- },
3338
- "van-time-picker/v-model": {
3339
- "type": "string[]",
3340
- "description": "Current time, Default: -"
3341
- },
3342
- "van-time-picker/columns-type": {
3343
- "type": "string[]",
3344
- "description": "Columns type, Default: `['hour', 'minute']`"
3345
- },
3346
- "van-time-picker/min-hour": {
3347
- "type": "number | string",
3348
- "description": "Min hour, Default: `0`"
3349
- },
3350
- "van-time-picker/max-hour": {
3351
- "type": "number | string",
3352
- "description": "Max hour, Default: `23`"
3353
- },
3354
- "van-time-picker/min-minute": {
3355
- "type": "number | string",
3356
- "description": "Min minute, Default: `0`"
3357
- },
3358
- "van-time-picker/max-minute": {
3359
- "type": "number | string",
3360
- "description": "Max minute, Default: `59`"
3361
- },
3362
- "van-time-picker/min-second": {
3363
- "type": "number | string",
3364
- "description": "Min second, Default: `0`"
3365
- },
3366
- "van-time-picker/max-second": {
3367
- "type": "number | string",
3368
- "description": "Max second, Default: `59`"
3369
- },
3370
- "van-time-picker/title": {
3371
- "type": "string",
3372
- "description": "Toolbar title, Default: `''`"
3373
- },
3374
- "van-time-picker/confirm-button-text": {
3375
- "type": "string",
3376
- "description": "Text of confirm button, Default: `Confirm`"
3377
- },
3378
- "van-time-picker/cancel-button-text": {
3379
- "type": "string",
3380
- "description": "Text of cancel button, Default: `Cancel`"
3381
- },
3382
- "van-time-picker/show-toolbar": {
3383
- "type": "boolean",
3384
- "description": "Whether to show toolbar, Default: `true`"
3385
- },
3386
- "van-time-picker/loading": {
3387
- "type": "boolean",
3388
- "description": "Whether to show loading prompt, Default: `false`"
3389
- },
3390
- "van-time-picker/readonly": {
3391
- "type": "boolean",
3392
- "description": "Whether to be readonly, Default: `false`"
3393
- },
3394
- "van-time-picker/filter": {
3395
- "type": "(type: string, options: PickerOption[]) => PickerOption[]",
3396
- "description": "Option filter, Default: -"
3397
- },
3398
- "van-time-picker/formatter": {
3399
- "type": "(type: string, option: PickerOption) => PickerOption",
3400
- "description": "Option text formatter, Default: -"
3401
- },
3402
- "van-time-picker/option-height": {
3403
- "type": "number | string",
3404
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
3405
- },
3406
- "van-time-picker/visible-option-num": {
3407
- "type": "number | string",
3408
- "description": "Count of visible columns, Default: `6`"
3409
- },
3410
- "van-time-picker/swipe-duration": {
3411
- "type": "number | string",
3412
- "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
3413
- },
3414
- "van-tree-select/items": {
3415
- "type": "TreeSelectItem[]",
3416
- "description": "Required datasets for the component, Default: `[]`"
3417
- },
3418
- "van-tree-select/height": {
3419
- "type": "number | string",
3420
- "description": "Height, Default: `300`"
3421
- },
3422
- "van-tree-select/main-active-index": {
3423
- "type": "number | string",
3424
- "description": "The index of selected parent node, Default: `0`"
3425
- },
3426
- "van-tree-select/active-id": {
3427
- "type": "number | string |<br>(number | string)[]",
3428
- "description": "Id of selected item, Default: `0`"
3429
- },
3430
- "van-tree-select/max": {
3431
- "type": "number | string",
3432
- "description": "Maximum number of selected items, Default: `Infinity`"
3433
- },
3434
- "van-tree-select/selected-icon": {
3435
- "type": "string",
3436
- "description": "Selected icon, Default: `success`"
3437
- },
3438
- "van-uploader/v-model": {
3439
- "type": "FileListItem[]",
3440
- "description": "List of uploaded files, Default: -"
3441
- },
3442
- "van-uploader/accept": {
3443
- "type": "string",
3444
- "description": "Accepted [file type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Unique_file_type_specifiers), Default: `image/*`"
3445
- },
3446
- "van-uploader/name": {
3447
- "type": "number | string",
3448
- "description": "Input name, Default: -"
3449
- },
3450
- "van-uploader/preview-size": {
3451
- "type": "number | string | Array",
3452
- "description": "Size of preview image, Default: `80px`"
3453
- },
3454
- "van-uploader/preview-image": {
3455
- "type": "boolean",
3456
- "description": "Whether to show image preview, Default: `true`"
3457
- },
3458
- "van-uploader/preview-full-image": {
3459
- "type": "boolean",
3460
- "description": "Whether to show full screen image preview when image is clicked, Default: `true`"
3461
- },
3462
- "van-uploader/preview-options": {
3463
- "type": "object",
3464
- "description": "Options of full screen image preview, see [ImagePreview](#/en-US/image-preview), Default: -"
3465
- },
3466
- "van-uploader/multiple": {
3467
- "type": "boolean",
3468
- "description": "Whether to enable multiple selection pictures, Default: `false`"
3469
- },
3470
- "van-uploader/disabled": {
3471
- "type": "boolean",
3472
- "description": "Whether to disabled the upload, Default: `false`"
3473
- },
3474
- "van-uploader/readonly": {
3475
- "type": "boolean",
3476
- "description": "Whether to make upload area readonly, Default: `false`"
3477
- },
3478
- "van-uploader/deletable": {
3479
- "type": "boolean",
3480
- "description": "Whether to show delete icon, Default: `true`"
3481
- },
3482
- "van-uploader/show-upload": {
3483
- "type": "boolean",
3484
- "description": "Whether to show upload area, Default: `true`"
3485
- },
3486
- "van-uploader/lazy-load": {
3487
- "type": "boolean",
3488
- "description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
3489
- },
3490
- "van-uploader/capture": {
3491
- "type": "string",
3492
- "description": "Capture, can be set to `camera`, Default: -"
3493
- },
3494
- "van-uploader/after-read": {
3495
- "type": "Function",
3496
- "description": "Hook after reading the file, Default: -"
3497
- },
3498
- "van-uploader/before-read": {
3499
- "type": "Function",
3500
- "description": "Hook before reading the file, return false to stop reading the file, can return Promise, Default: -"
3501
- },
3502
- "van-uploader/before-delete": {
3503
- "type": "Function",
3504
- "description": "Hook before delete the file, return false to stop reading the file, can return Promise, Default: -"
3505
- },
3506
- "van-uploader/max-size": {
3507
- "type": "number | string | (file: File) => boolean",
3508
- "description": "Max size of file, Default: `Infinity`"
3509
- },
3510
- "van-uploader/max-count": {
3511
- "type": "number | string",
3512
- "description": "Max count of image, Default: `Infinity`"
3513
- },
3514
- "van-uploader/result-type": {
3515
- "type": "string",
3516
- "description": "Type of file read result, can be set to `file` `text`, Default: `dataUrl`"
3517
- },
3518
- "van-uploader/upload-text": {
3519
- "type": "string",
3520
- "description": "Upload text, Default: -"
3521
- },
3522
- "van-uploader/image-fit": {
3523
- "type": "string",
3524
- "description": "Preview image fit mode, Default: `cover`"
3525
- },
3526
- "van-uploader/upload-icon": {
3527
- "type": "string",
3528
- "description": "Upload icon, Default: `photograph`"
3529
- }
3530
- }