vant 3.2.4 → 3.2.5

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 (537) hide show
  1. package/changelog.generated.md +59 -63
  2. package/es/action-bar-icon/ActionBarIcon.js +2 -2
  3. package/es/action-sheet/ActionSheet.d.ts +7 -7
  4. package/es/action-sheet/ActionSheet.js +3 -6
  5. package/es/action-sheet/index.d.ts +7 -7
  6. package/es/address-edit/AddressEdit.d.ts +13 -14
  7. package/es/address-edit/AddressEdit.js +6 -17
  8. package/es/address-edit/AddressEditDetail.js +3 -3
  9. package/es/address-edit/index.d.ts +7 -7
  10. package/es/address-list/AddressList.d.ts +9 -10
  11. package/es/address-list/AddressList.js +5 -11
  12. package/es/address-list/AddressListItem.d.ts +4 -4
  13. package/es/address-list/AddressListItem.js +3 -6
  14. package/es/address-list/index.d.ts +8 -8
  15. package/es/area/Area.d.ts +43 -44
  16. package/es/area/Area.js +4 -12
  17. package/es/area/index.d.ts +27 -27
  18. package/es/badge/Badge.d.ts +7 -7
  19. package/es/badge/Badge.js +5 -8
  20. package/es/badge/index.d.ts +7 -7
  21. package/es/button/Button.d.ts +29 -27
  22. package/es/button/Button.js +7 -22
  23. package/es/button/index.d.ts +27 -27
  24. package/es/calendar/Calendar.d.ts +46 -47
  25. package/es/calendar/Calendar.js +10 -27
  26. package/es/calendar/CalendarDay.d.ts +7 -7
  27. package/es/calendar/CalendarDay.js +4 -10
  28. package/es/calendar/CalendarMonth.d.ts +19 -19
  29. package/es/calendar/CalendarMonth.js +8 -17
  30. package/es/calendar/index.d.ts +28 -28
  31. package/es/calendar/utils.d.ts +2 -2
  32. package/es/calendar/utils.js +1 -3
  33. package/es/card/Card.d.ts +4 -4
  34. package/es/card/Card.js +5 -8
  35. package/es/card/index.d.ts +4 -4
  36. package/es/cascader/Cascader.d.ts +14 -14
  37. package/es/cascader/Cascader.js +17 -23
  38. package/es/cascader/index.d.ts +13 -13
  39. package/es/cell/Cell.js +4 -4
  40. package/es/checkbox/Checkbox.d.ts +9 -9
  41. package/es/checkbox/Checker.d.ts +14 -14
  42. package/es/checkbox/Checker.js +6 -12
  43. package/es/checkbox/index.d.ts +5 -5
  44. package/es/checkbox-group/CheckboxGroup.d.ts +6 -6
  45. package/es/checkbox-group/CheckboxGroup.js +5 -8
  46. package/es/checkbox-group/index.d.ts +4 -4
  47. package/es/circle/Circle.d.ts +22 -22
  48. package/es/circle/Circle.js +9 -29
  49. package/es/circle/index.d.ts +22 -22
  50. package/es/col/Col.d.ts +4 -5
  51. package/es/col/Col.js +4 -10
  52. package/es/col/index.d.ts +3 -3
  53. package/es/collapse-item/CollapseItem.js +2 -2
  54. package/es/composables/use-lock-scroll.js +3 -3
  55. package/es/composables/use-placeholder.d.ts +1 -1
  56. package/es/config-provider/ConfigProvider.d.ts +4 -4
  57. package/es/config-provider/ConfigProvider.js +3 -6
  58. package/es/config-provider/index.d.ts +4 -4
  59. package/es/contact-card/ContactCard.d.ts +5 -6
  60. package/es/contact-card/ContactCard.js +3 -6
  61. package/es/contact-card/index.d.ts +5 -5
  62. package/es/count-down/CountDown.d.ts +14 -14
  63. package/es/count-down/CountDown.js +4 -10
  64. package/es/count-down/index.d.ts +10 -10
  65. package/es/coupon/Coupon.d.ts +3 -3
  66. package/es/coupon/Coupon.js +5 -15
  67. package/es/coupon/index.d.ts +3 -3
  68. package/es/coupon-cell/CouponCell.d.ts +2 -3
  69. package/es/coupon-cell/CouponCell.js +4 -13
  70. package/es/coupon-cell/index.d.ts +1 -1
  71. package/es/coupon-list/CouponList.d.ts +43 -44
  72. package/es/coupon-list/CouponList.js +10 -34
  73. package/es/coupon-list/index.d.ts +43 -43
  74. package/es/datetime-picker/DatePicker.d.ts +23 -25
  75. package/es/datetime-picker/DatePicker.js +2 -5
  76. package/es/datetime-picker/DatetimePicker.d.ts +1 -10
  77. package/es/datetime-picker/TimePicker.d.ts +16 -16
  78. package/es/datetime-picker/TimePicker.js +6 -18
  79. package/es/datetime-picker/index.d.ts +1 -10
  80. package/es/datetime-picker/utils.d.ts +9 -9
  81. package/es/datetime-picker/utils.js +1 -3
  82. package/es/dialog/Dialog.d.ts +6 -6
  83. package/es/dialog/Dialog.js +4 -7
  84. package/es/dialog/function-call.d.ts +6 -6
  85. package/es/divider/Divider.d.ts +2 -3
  86. package/es/divider/Divider.js +2 -5
  87. package/es/divider/index.d.ts +1 -1
  88. package/es/dropdown-item/DropdownItem.d.ts +9 -9
  89. package/es/dropdown-item/DropdownItem.js +3 -6
  90. package/es/dropdown-item/index.d.ts +5 -5
  91. package/es/dropdown-menu/DropdownMenu.d.ts +19 -19
  92. package/es/dropdown-menu/DropdownMenu.js +5 -11
  93. package/es/dropdown-menu/index.d.ts +10 -10
  94. package/es/empty/Empty.d.ts +4 -4
  95. package/es/empty/Empty.js +4 -7
  96. package/es/empty/index.d.ts +4 -4
  97. package/es/field/Field.d.ts +70 -70
  98. package/es/field/Field.js +14 -26
  99. package/es/field/index.d.ts +32 -32
  100. package/es/form/Form.d.ts +11 -11
  101. package/es/form/Form.js +4 -7
  102. package/es/form/index.d.ts +7 -7
  103. package/es/grid/Grid.js +4 -7
  104. package/es/grid-item/GridItem.d.ts +2 -2
  105. package/es/grid-item/GridItem.js +4 -4
  106. package/es/grid-item/index.d.ts +2 -2
  107. package/es/icon/Icon.d.ts +5 -6
  108. package/es/icon/Icon.js +6 -11
  109. package/es/icon/index.d.ts +5 -5
  110. package/es/image/Image.d.ts +10 -10
  111. package/es/image/Image.js +7 -13
  112. package/es/image/index.d.ts +10 -10
  113. package/es/image-preview/ImagePreview.d.ts +52 -52
  114. package/es/image-preview/ImagePreview.js +10 -31
  115. package/es/image-preview/ImagePreviewItem.js +6 -20
  116. package/es/image-preview/function-call.d.ts +31 -31
  117. package/es/index-anchor/IndexAnchor.js +3 -3
  118. package/es/index-bar/IndexBar.js +3 -6
  119. package/es/index.d.ts +1 -1
  120. package/es/index.js +1 -1
  121. package/es/list/List.d.ts +19 -19
  122. package/es/list/List.js +4 -10
  123. package/es/list/index.d.ts +10 -10
  124. package/es/loading/Loading.d.ts +5 -6
  125. package/es/loading/Loading.js +5 -8
  126. package/es/loading/index.d.ts +5 -5
  127. package/es/nav-bar/NavBar.js +2 -2
  128. package/es/notice-bar/NoticeBar.d.ts +17 -17
  129. package/es/notice-bar/NoticeBar.js +3 -9
  130. package/es/notice-bar/index.d.ts +11 -11
  131. package/es/notify/Notify.d.ts +10 -11
  132. package/es/notify/Notify.js +4 -7
  133. package/es/notify/function-call.d.ts +5 -5
  134. package/es/notify/function-call.js +17 -21
  135. package/es/number-keyboard/NumberKeyboard.d.ts +15 -15
  136. package/es/number-keyboard/NumberKeyboard.js +5 -14
  137. package/es/number-keyboard/NumberKeyboardKey.js +2 -2
  138. package/es/number-keyboard/index.d.ts +15 -15
  139. package/es/overlay/Overlay.js +5 -4
  140. package/es/pagination/Pagination.d.ts +18 -19
  141. package/es/pagination/Pagination.js +13 -33
  142. package/es/pagination/index.d.ts +18 -18
  143. package/es/password-input/PasswordInput.d.ts +6 -6
  144. package/es/password-input/PasswordInput.js +5 -11
  145. package/es/password-input/index.d.ts +6 -6
  146. package/es/picker/Picker.d.ts +29 -29
  147. package/es/picker/Picker.js +9 -27
  148. package/es/picker/PickerColumn.d.ts +15 -16
  149. package/es/picker/PickerColumn.js +25 -49
  150. package/es/picker/index.d.ts +22 -22
  151. package/es/picker/types.d.ts +2 -2
  152. package/es/popover/Popover.d.ts +27 -27
  153. package/es/popover/Popover.js +7 -22
  154. package/es/popover/index.d.ts +27 -27
  155. package/es/popup/Popup.d.ts +22 -22
  156. package/es/popup/Popup.js +5 -14
  157. package/es/popup/index.d.ts +15 -15
  158. package/es/popup/shared.js +3 -3
  159. package/es/progress/Progress.js +3 -3
  160. package/es/pull-refresh/PullRefresh.d.ts +9 -12
  161. package/es/pull-refresh/PullRefresh.js +6 -18
  162. package/es/pull-refresh/index.d.ts +9 -12
  163. package/es/radio/Radio.d.ts +5 -5
  164. package/es/radio/index.d.ts +5 -5
  165. package/es/radio-group/RadioGroup.js +2 -2
  166. package/es/rate/Rate.d.ts +21 -21
  167. package/es/rate/Rate.js +10 -22
  168. package/es/rate/index.d.ts +21 -21
  169. package/es/row/Row.d.ts +7 -7
  170. package/es/row/Row.js +4 -10
  171. package/es/row/index.d.ts +7 -7
  172. package/es/search/Search.d.ts +62 -62
  173. package/es/search/Search.js +4 -10
  174. package/es/search/index.d.ts +35 -35
  175. package/es/share-sheet/ShareSheet.d.ts +11 -12
  176. package/es/share-sheet/ShareSheet.js +3 -6
  177. package/es/share-sheet/index.d.ts +7 -7
  178. package/es/sidebar/Sidebar.js +2 -5
  179. package/es/sidebar-item/SidebarItem.js +2 -2
  180. package/es/skeleton/Skeleton.d.ts +10 -9
  181. package/es/skeleton/Skeleton.js +5 -11
  182. package/es/skeleton/index.d.ts +11 -9
  183. package/es/slider/Slider.d.ts +14 -14
  184. package/es/slider/Slider.js +18 -27
  185. package/es/slider/index.d.ts +14 -14
  186. package/es/stepper/Stepper.d.ts +23 -23
  187. package/es/stepper/Stepper.js +15 -32
  188. package/es/stepper/index.d.ts +23 -23
  189. package/es/steps/Steps.d.ts +20 -20
  190. package/es/steps/Steps.js +5 -14
  191. package/es/steps/index.d.ts +10 -10
  192. package/es/sticky/Sticky.d.ts +5 -5
  193. package/es/sticky/Sticky.js +5 -14
  194. package/es/sticky/index.d.ts +5 -5
  195. package/es/submit-bar/SubmitBar.d.ts +14 -14
  196. package/es/submit-bar/SubmitBar.js +5 -14
  197. package/es/submit-bar/index.d.ts +14 -14
  198. package/es/swipe/Swipe.d.ts +30 -30
  199. package/es/swipe/Swipe.js +7 -16
  200. package/es/swipe/index.d.ts +18 -18
  201. package/es/swipe-cell/SwipeCell.d.ts +8 -8
  202. package/es/swipe-cell/SwipeCell.js +5 -8
  203. package/es/swipe-cell/index.d.ts +5 -5
  204. package/es/switch/Switch.js +2 -2
  205. package/es/tab/Tab.js +3 -3
  206. package/es/tabbar/Tabbar.d.ts +2 -2
  207. package/es/tabbar/Tabbar.js +3 -6
  208. package/es/tabbar/index.d.ts +2 -2
  209. package/es/tabbar-item/TabbarItem.js +3 -3
  210. package/es/tabs/Tabs.d.ts +39 -39
  211. package/es/tabs/Tabs.js +18 -27
  212. package/es/tabs/TabsContent.d.ts +7 -7
  213. package/es/tabs/TabsContent.js +4 -13
  214. package/es/tabs/TabsTitle.js +2 -2
  215. package/es/tabs/index.d.ts +23 -23
  216. package/es/tag/Tag.d.ts +5 -6
  217. package/es/tag/Tag.js +3 -6
  218. package/es/tag/index.d.ts +5 -5
  219. package/es/toast/Toast.d.ts +20 -20
  220. package/es/toast/Toast.js +8 -20
  221. package/es/tree-select/TreeSelect.d.ts +10 -10
  222. package/es/tree-select/TreeSelect.js +6 -21
  223. package/es/tree-select/index.d.ts +10 -10
  224. package/es/uploader/Uploader.d.ts +65 -65
  225. package/es/uploader/Uploader.js +10 -31
  226. package/es/uploader/UploaderPreviewItem.d.ts +6 -6
  227. package/es/uploader/UploaderPreviewItem.js +5 -8
  228. package/es/uploader/index.d.ts +45 -45
  229. package/es/uploader/utils.d.ts +3 -3
  230. package/es/uploader/utils.js +2 -10
  231. package/es/utils/{base.d.ts → basic.d.ts} +1 -6
  232. package/es/utils/{base.js → basic.js} +1 -7
  233. package/{lib/utils/create/bem.d.ts → es/utils/create.d.ts} +7 -4
  234. package/es/utils/create.js +53 -0
  235. package/{lib/utils/dom/scroll.d.ts → es/utils/dom.d.ts} +5 -2
  236. package/es/utils/dom.js +70 -0
  237. package/es/utils/format.d.ts +12 -0
  238. package/es/utils/format.js +127 -0
  239. package/es/utils/index.d.ts +4 -7
  240. package/es/utils/index.js +5 -8
  241. package/es/utils/interceptor.js +2 -1
  242. package/es/utils/mount-component.js +5 -3
  243. package/es/utils/props.d.ts +31 -0
  244. package/es/utils/props.js +30 -0
  245. package/es/utils/validate.d.ts +7 -7
  246. package/es/utils/validate.js +8 -22
  247. package/es/utils/with-install.js +1 -1
  248. package/lib/action-bar-icon/ActionBarIcon.js +1 -1
  249. package/lib/action-sheet/ActionSheet.d.ts +7 -7
  250. package/lib/action-sheet/ActionSheet.js +2 -5
  251. package/lib/action-sheet/index.d.ts +7 -7
  252. package/lib/address-edit/AddressEdit.d.ts +13 -14
  253. package/lib/address-edit/AddressEdit.js +5 -16
  254. package/lib/address-edit/AddressEditDetail.js +2 -2
  255. package/lib/address-edit/index.d.ts +7 -7
  256. package/lib/address-list/AddressList.d.ts +9 -10
  257. package/lib/address-list/AddressList.js +4 -10
  258. package/lib/address-list/AddressListItem.d.ts +4 -4
  259. package/lib/address-list/AddressListItem.js +2 -5
  260. package/lib/address-list/index.d.ts +8 -8
  261. package/lib/area/Area.d.ts +43 -44
  262. package/lib/area/Area.js +3 -11
  263. package/lib/area/index.d.ts +27 -27
  264. package/lib/badge/Badge.d.ts +7 -7
  265. package/lib/badge/Badge.js +4 -7
  266. package/lib/badge/index.d.ts +7 -7
  267. package/lib/button/Button.d.ts +29 -27
  268. package/lib/button/Button.js +6 -21
  269. package/lib/button/index.d.ts +27 -27
  270. package/lib/calendar/Calendar.d.ts +46 -47
  271. package/lib/calendar/Calendar.js +9 -26
  272. package/lib/calendar/CalendarDay.d.ts +7 -7
  273. package/lib/calendar/CalendarDay.js +3 -9
  274. package/lib/calendar/CalendarMonth.d.ts +19 -19
  275. package/lib/calendar/CalendarMonth.js +6 -15
  276. package/lib/calendar/index.d.ts +28 -28
  277. package/lib/calendar/utils.d.ts +2 -2
  278. package/lib/calendar/utils.js +9 -7
  279. package/lib/card/Card.d.ts +4 -4
  280. package/lib/card/Card.js +4 -7
  281. package/lib/card/index.d.ts +4 -4
  282. package/lib/cascader/Cascader.d.ts +14 -14
  283. package/lib/cascader/Cascader.js +16 -22
  284. package/lib/cascader/index.d.ts +13 -13
  285. package/lib/cell/Cell.js +3 -3
  286. package/lib/checkbox/Checkbox.d.ts +9 -9
  287. package/lib/checkbox/Checker.d.ts +14 -14
  288. package/lib/checkbox/Checker.js +5 -11
  289. package/lib/checkbox/index.d.ts +5 -5
  290. package/lib/checkbox-group/CheckboxGroup.d.ts +6 -6
  291. package/lib/checkbox-group/CheckboxGroup.js +4 -7
  292. package/lib/checkbox-group/index.d.ts +4 -4
  293. package/lib/circle/Circle.d.ts +22 -22
  294. package/lib/circle/Circle.js +8 -28
  295. package/lib/circle/index.d.ts +22 -22
  296. package/lib/col/Col.d.ts +4 -5
  297. package/lib/col/Col.js +3 -9
  298. package/lib/col/index.d.ts +3 -3
  299. package/lib/collapse-item/CollapseItem.js +1 -1
  300. package/lib/composables/on-popup-reopen.js +1 -1
  301. package/lib/composables/use-lock-scroll.js +2 -2
  302. package/lib/composables/use-placeholder.d.ts +1 -1
  303. package/lib/composables/use-route.js +1 -1
  304. package/lib/config-provider/ConfigProvider.d.ts +4 -4
  305. package/lib/config-provider/ConfigProvider.js +2 -5
  306. package/lib/config-provider/index.d.ts +4 -4
  307. package/lib/contact-card/ContactCard.d.ts +5 -6
  308. package/lib/contact-card/ContactCard.js +2 -5
  309. package/lib/contact-card/index.d.ts +5 -5
  310. package/lib/count-down/CountDown.d.ts +14 -14
  311. package/lib/count-down/CountDown.js +3 -9
  312. package/lib/count-down/index.d.ts +10 -10
  313. package/lib/coupon/Coupon.d.ts +3 -3
  314. package/lib/coupon/Coupon.js +4 -14
  315. package/lib/coupon/index.d.ts +3 -3
  316. package/lib/coupon-cell/CouponCell.d.ts +2 -3
  317. package/lib/coupon-cell/CouponCell.js +3 -12
  318. package/lib/coupon-cell/index.d.ts +1 -1
  319. package/lib/coupon-list/CouponList.d.ts +43 -44
  320. package/lib/coupon-list/CouponList.js +9 -33
  321. package/lib/coupon-list/index.d.ts +43 -43
  322. package/lib/datetime-picker/DatePicker.d.ts +23 -25
  323. package/lib/datetime-picker/DatePicker.js +1 -4
  324. package/lib/datetime-picker/DatetimePicker.d.ts +1 -10
  325. package/lib/datetime-picker/TimePicker.d.ts +16 -16
  326. package/lib/datetime-picker/TimePicker.js +5 -17
  327. package/lib/datetime-picker/index.d.ts +1 -10
  328. package/lib/datetime-picker/utils.d.ts +9 -9
  329. package/lib/datetime-picker/utils.js +6 -6
  330. package/lib/dialog/Dialog.d.ts +6 -6
  331. package/lib/dialog/Dialog.js +3 -6
  332. package/lib/dialog/function-call.d.ts +6 -6
  333. package/lib/divider/Divider.d.ts +2 -3
  334. package/lib/divider/Divider.js +1 -4
  335. package/lib/divider/index.d.ts +1 -1
  336. package/lib/dropdown-item/DropdownItem.d.ts +9 -9
  337. package/lib/dropdown-item/DropdownItem.js +2 -5
  338. package/lib/dropdown-item/index.d.ts +5 -5
  339. package/lib/dropdown-menu/DropdownMenu.d.ts +19 -19
  340. package/lib/dropdown-menu/DropdownMenu.js +4 -10
  341. package/lib/dropdown-menu/index.d.ts +10 -10
  342. package/lib/empty/Empty.d.ts +4 -4
  343. package/lib/empty/Empty.js +3 -6
  344. package/lib/empty/index.d.ts +4 -4
  345. package/lib/field/Field.d.ts +70 -70
  346. package/lib/field/Field.js +14 -26
  347. package/lib/field/index.d.ts +32 -32
  348. package/lib/field/utils.js +5 -5
  349. package/lib/form/Form.d.ts +11 -11
  350. package/lib/form/Form.js +3 -6
  351. package/lib/form/index.d.ts +7 -7
  352. package/lib/grid/Grid.js +3 -6
  353. package/lib/grid-item/GridItem.d.ts +2 -2
  354. package/lib/grid-item/GridItem.js +3 -3
  355. package/lib/grid-item/index.d.ts +2 -2
  356. package/lib/icon/Icon.d.ts +5 -6
  357. package/lib/icon/Icon.js +5 -10
  358. package/lib/icon/index.d.ts +5 -5
  359. package/lib/image/Image.d.ts +10 -10
  360. package/lib/image/Image.js +6 -12
  361. package/lib/image/index.d.ts +10 -10
  362. package/lib/image-preview/ImagePreview.d.ts +52 -52
  363. package/lib/image-preview/ImagePreview.js +8 -29
  364. package/lib/image-preview/ImagePreviewItem.js +5 -19
  365. package/lib/image-preview/function-call.d.ts +31 -31
  366. package/lib/index-anchor/IndexAnchor.js +4 -4
  367. package/lib/index-bar/IndexBar.js +2 -5
  368. package/lib/index.d.ts +1 -1
  369. package/lib/index.js +3 -2
  370. package/lib/list/List.d.ts +19 -19
  371. package/lib/list/List.js +3 -9
  372. package/lib/list/index.d.ts +10 -10
  373. package/lib/loading/Loading.d.ts +5 -6
  374. package/lib/loading/Loading.js +4 -7
  375. package/lib/loading/index.d.ts +5 -5
  376. package/lib/nav-bar/NavBar.js +1 -1
  377. package/lib/notice-bar/NoticeBar.d.ts +17 -17
  378. package/lib/notice-bar/NoticeBar.js +2 -8
  379. package/lib/notice-bar/index.d.ts +11 -11
  380. package/lib/notify/Notify.d.ts +10 -11
  381. package/lib/notify/Notify.js +3 -6
  382. package/lib/notify/function-call.d.ts +5 -5
  383. package/lib/notify/function-call.js +17 -21
  384. package/lib/number-keyboard/NumberKeyboard.d.ts +15 -15
  385. package/lib/number-keyboard/NumberKeyboard.js +4 -13
  386. package/lib/number-keyboard/NumberKeyboardKey.js +1 -1
  387. package/lib/number-keyboard/index.d.ts +15 -15
  388. package/lib/overlay/Overlay.js +4 -3
  389. package/lib/pagination/Pagination.d.ts +18 -19
  390. package/lib/pagination/Pagination.js +12 -32
  391. package/lib/pagination/index.d.ts +18 -18
  392. package/lib/password-input/PasswordInput.d.ts +6 -6
  393. package/lib/password-input/PasswordInput.js +4 -10
  394. package/lib/password-input/index.d.ts +6 -6
  395. package/lib/picker/Picker.d.ts +29 -29
  396. package/lib/picker/Picker.js +9 -27
  397. package/lib/picker/PickerColumn.d.ts +15 -16
  398. package/lib/picker/PickerColumn.js +24 -48
  399. package/lib/picker/index.d.ts +22 -22
  400. package/lib/picker/types.d.ts +2 -2
  401. package/lib/popover/Popover.d.ts +27 -27
  402. package/lib/popover/Popover.js +6 -21
  403. package/lib/popover/index.d.ts +27 -27
  404. package/lib/popup/Popup.d.ts +22 -22
  405. package/lib/popup/Popup.js +4 -13
  406. package/lib/popup/index.d.ts +15 -15
  407. package/lib/popup/shared.js +3 -3
  408. package/lib/progress/Progress.js +2 -2
  409. package/lib/pull-refresh/PullRefresh.d.ts +9 -12
  410. package/lib/pull-refresh/PullRefresh.js +5 -17
  411. package/lib/pull-refresh/index.d.ts +9 -12
  412. package/lib/radio/Radio.d.ts +5 -5
  413. package/lib/radio/index.d.ts +5 -5
  414. package/lib/radio-group/RadioGroup.js +1 -1
  415. package/lib/rate/Rate.d.ts +21 -21
  416. package/lib/rate/Rate.js +8 -20
  417. package/lib/rate/index.d.ts +21 -21
  418. package/lib/row/Row.d.ts +7 -7
  419. package/lib/row/Row.js +3 -9
  420. package/lib/row/index.d.ts +7 -7
  421. package/lib/search/Search.d.ts +62 -62
  422. package/lib/search/Search.js +3 -9
  423. package/lib/search/index.d.ts +35 -35
  424. package/lib/share-sheet/ShareSheet.d.ts +11 -12
  425. package/lib/share-sheet/ShareSheet.js +2 -5
  426. package/lib/share-sheet/index.d.ts +7 -7
  427. package/lib/sidebar/Sidebar.js +1 -4
  428. package/lib/sidebar-item/SidebarItem.js +1 -1
  429. package/lib/skeleton/Skeleton.d.ts +10 -9
  430. package/lib/skeleton/Skeleton.js +4 -10
  431. package/lib/skeleton/index.d.ts +11 -9
  432. package/lib/slider/Slider.d.ts +14 -14
  433. package/lib/slider/Slider.js +17 -26
  434. package/lib/slider/index.d.ts +14 -14
  435. package/lib/stepper/Stepper.d.ts +23 -23
  436. package/lib/stepper/Stepper.js +14 -31
  437. package/lib/stepper/index.d.ts +23 -23
  438. package/lib/steps/Steps.d.ts +20 -20
  439. package/lib/steps/Steps.js +4 -13
  440. package/lib/steps/index.d.ts +10 -10
  441. package/lib/sticky/Sticky.d.ts +5 -5
  442. package/lib/sticky/Sticky.js +4 -13
  443. package/lib/sticky/index.d.ts +5 -5
  444. package/lib/submit-bar/SubmitBar.d.ts +14 -14
  445. package/lib/submit-bar/SubmitBar.js +4 -13
  446. package/lib/submit-bar/index.d.ts +14 -14
  447. package/lib/swipe/Swipe.d.ts +30 -30
  448. package/lib/swipe/Swipe.js +6 -15
  449. package/lib/swipe/index.d.ts +18 -18
  450. package/lib/swipe-cell/SwipeCell.d.ts +8 -8
  451. package/lib/swipe-cell/SwipeCell.js +4 -7
  452. package/lib/swipe-cell/index.d.ts +5 -5
  453. package/lib/switch/Switch.js +1 -1
  454. package/lib/tab/Tab.js +2 -2
  455. package/lib/tabbar/Tabbar.d.ts +2 -2
  456. package/lib/tabbar/Tabbar.js +2 -5
  457. package/lib/tabbar/index.d.ts +2 -2
  458. package/lib/tabbar-item/TabbarItem.js +2 -2
  459. package/lib/tabs/Tabs.d.ts +39 -39
  460. package/lib/tabs/Tabs.js +16 -25
  461. package/lib/tabs/TabsContent.d.ts +7 -7
  462. package/lib/tabs/TabsContent.js +3 -12
  463. package/lib/tabs/TabsTitle.js +1 -1
  464. package/lib/tabs/index.d.ts +23 -23
  465. package/lib/tag/Tag.d.ts +5 -6
  466. package/lib/tag/Tag.js +2 -5
  467. package/lib/tag/index.d.ts +5 -5
  468. package/lib/toast/Toast.d.ts +20 -20
  469. package/lib/toast/Toast.js +7 -19
  470. package/lib/tree-select/TreeSelect.d.ts +10 -10
  471. package/lib/tree-select/TreeSelect.js +5 -20
  472. package/lib/tree-select/index.d.ts +10 -10
  473. package/lib/uploader/Uploader.d.ts +65 -65
  474. package/lib/uploader/Uploader.js +9 -30
  475. package/lib/uploader/UploaderPreviewItem.d.ts +6 -6
  476. package/lib/uploader/UploaderPreviewItem.js +4 -7
  477. package/lib/uploader/index.d.ts +45 -45
  478. package/lib/uploader/utils.d.ts +3 -3
  479. package/lib/uploader/utils.js +11 -14
  480. package/lib/utils/{base.d.ts → basic.d.ts} +1 -6
  481. package/lib/utils/{base.js → basic.js} +4 -11
  482. package/lib/utils/constant.js +1 -1
  483. package/{es/utils/create/bem.d.ts → lib/utils/create.d.ts} +7 -4
  484. package/lib/utils/create.js +68 -0
  485. package/{es/utils/dom/scroll.d.ts → lib/utils/dom.d.ts} +5 -2
  486. package/lib/utils/dom.js +98 -0
  487. package/lib/utils/format.d.ts +12 -0
  488. package/lib/utils/format.js +157 -0
  489. package/lib/utils/index.d.ts +4 -7
  490. package/lib/utils/index.js +28 -52
  491. package/lib/utils/interceptor.js +5 -3
  492. package/lib/utils/mount-component.js +5 -3
  493. package/lib/utils/props.d.ts +31 -0
  494. package/lib/utils/props.js +53 -0
  495. package/lib/utils/validate.d.ts +7 -7
  496. package/lib/utils/validate.js +24 -29
  497. package/lib/utils/with-install.js +2 -2
  498. package/lib/vant.es.js +1079 -1788
  499. package/lib/vant.es.min.js +15117 -1
  500. package/lib/vant.js +1078 -1787
  501. package/lib/vant.min.js +1 -1
  502. package/package.json +7 -7
  503. package/vetur/attributes.json +836 -836
  504. package/vetur/tags.json +275 -275
  505. package/vetur/web-types.json +2255 -2251
  506. package/es/utils/create/bem.js +0 -35
  507. package/es/utils/create/index.d.ts +0 -1
  508. package/es/utils/create/index.js +0 -6
  509. package/es/utils/create/translate.d.ts +0 -2
  510. package/es/utils/create/translate.js +0 -12
  511. package/es/utils/dom/event.d.ts +0 -3
  512. package/es/utils/dom/event.js +0 -18
  513. package/es/utils/dom/scroll.js +0 -56
  514. package/es/utils/dom/style.d.ts +0 -2
  515. package/es/utils/dom/style.js +0 -16
  516. package/es/utils/format/number.d.ts +0 -4
  517. package/es/utils/format/number.js +0 -40
  518. package/es/utils/format/string.d.ts +0 -3
  519. package/es/utils/format/string.js +0 -16
  520. package/es/utils/format/unit.d.ts +0 -5
  521. package/es/utils/format/unit.js +0 -76
  522. package/lib/utils/create/bem.js +0 -40
  523. package/lib/utils/create/index.d.ts +0 -1
  524. package/lib/utils/create/index.js +0 -13
  525. package/lib/utils/create/translate.d.ts +0 -2
  526. package/lib/utils/create/translate.js +0 -24
  527. package/lib/utils/dom/event.d.ts +0 -3
  528. package/lib/utils/dom/event.js +0 -27
  529. package/lib/utils/dom/scroll.js +0 -75
  530. package/lib/utils/dom/style.d.ts +0 -2
  531. package/lib/utils/dom/style.js +0 -22
  532. package/lib/utils/format/number.d.ts +0 -4
  533. package/lib/utils/format/number.js +0 -48
  534. package/lib/utils/format/string.d.ts +0 -3
  535. package/lib/utils/format/string.js +0 -25
  536. package/lib/utils/format/unit.d.ts +0 -5
  537. package/lib/utils/format/unit.js +0 -89
@@ -1,4 +1,87 @@
1
1
  {
2
+ "van-action-bar/safe-area-inset-bottom": {
3
+ "type": "boolean",
4
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
5
+ },
6
+ "van-action-bar-icon/text": {
7
+ "type": "string",
8
+ "description": "按钮文字, 默认值: -"
9
+ },
10
+ "van-action-bar-icon/icon": {
11
+ "type": "string",
12
+ "description": "图标, 默认值: -"
13
+ },
14
+ "van-action-bar-icon/color": {
15
+ "type": "string",
16
+ "description": "图标颜色, 默认值: `#323233`"
17
+ },
18
+ "van-action-bar-icon/icon-class": {
19
+ "type": "string | Array \\",
20
+ "description": "图标额外类名, 默认值: object_",
21
+ "options": [
22
+ "-"
23
+ ]
24
+ },
25
+ "van-action-bar-icon/icon-prefix": {
26
+ "type": "string",
27
+ "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
28
+ },
29
+ "van-action-bar-icon/dot": {
30
+ "type": "boolean",
31
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
32
+ },
33
+ "van-action-bar-icon/badge": {
34
+ "type": "number | string",
35
+ "description": "图标右上角徽标的内容, 默认值: -"
36
+ },
37
+ "van-action-bar-icon/url": {
38
+ "type": "string",
39
+ "description": "点击后跳转的链接地址, 默认值: -"
40
+ },
41
+ "van-action-bar-icon/to": {
42
+ "type": "string | object",
43
+ "description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
44
+ },
45
+ "van-action-bar-icon/replace": {
46
+ "type": "boolean",
47
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
48
+ },
49
+ "van-action-bar-button/text": {
50
+ "type": "string",
51
+ "description": "按钮文字, 默认值: -"
52
+ },
53
+ "van-action-bar-button/type": {
54
+ "type": "string",
55
+ "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
56
+ },
57
+ "van-action-bar-button/color": {
58
+ "type": "string",
59
+ "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
60
+ },
61
+ "van-action-bar-button/icon": {
62
+ "type": "string",
63
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
64
+ },
65
+ "van-action-bar-button/disabled": {
66
+ "type": "boolean",
67
+ "description": "是否禁用按钮, 默认值: `false`"
68
+ },
69
+ "van-action-bar-button/loading": {
70
+ "type": "boolean",
71
+ "description": "是否显示为加载状态, 默认值: `false`"
72
+ },
73
+ "van-action-bar-button/url": {
74
+ "type": "string",
75
+ "description": "点击后跳转的链接地址, 默认值: -"
76
+ },
77
+ "van-action-bar-button/to": {
78
+ "type": "string | object",
79
+ "description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
80
+ },
81
+ "van-action-bar-button/replace": {
82
+ "type": "boolean",
83
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
84
+ },
2
85
  "van-action-sheet/v-model:show": {
3
86
  "type": "boolean",
4
87
  "description": "是否显示动作面板, 默认值: `false`"
@@ -82,88 +165,33 @@
82
165
  "type": "(action: string) => boolean | Promise\\<boolean\\>",
83
166
  "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
84
167
  },
85
- "van-action-bar/safe-area-inset-bottom": {
86
- "type": "boolean",
87
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
88
- },
89
- "van-action-bar-icon/text": {
90
- "type": "string",
91
- "description": "按钮文字, 默认值: -"
92
- },
93
- "van-action-bar-icon/icon": {
94
- "type": "string",
95
- "description": "图标, 默认值: -"
96
- },
97
- "van-action-bar-icon/color": {
98
- "type": "string",
99
- "description": "图标颜色, 默认值: `#323233`"
100
- },
101
- "van-action-bar-icon/icon-class": {
102
- "type": "string | Array \\",
103
- "description": "图标额外类名, 默认值: object_",
104
- "options": [
105
- "-"
106
- ]
107
- },
108
- "van-action-bar-icon/icon-prefix": {
168
+ "van-address-list/v-model": {
109
169
  "type": "string",
110
- "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
170
+ "description": "当前选中地址的 id, 默认值: -"
111
171
  },
112
- "van-action-bar-icon/dot": {
113
- "type": "boolean",
114
- "description": "是否显示图标右上角小红点, 默认值: `false`"
172
+ "van-address-list/list": {
173
+ "type": "AddressListAddress[]",
174
+ "description": "地址列表, 默认值: `[]`"
115
175
  },
116
- "van-action-bar-icon/badge": {
117
- "type": "number | string",
118
- "description": "图标右上角徽标的内容, 默认值: -"
176
+ "van-address-list/disabled-list": {
177
+ "type": "AddressListAddress[]",
178
+ "description": "不可配送地址列表, 默认值: `[]`"
119
179
  },
120
- "van-action-bar-icon/url": {
180
+ "van-address-list/disabled-text": {
121
181
  "type": "string",
122
- "description": "点击后跳转的链接地址, 默认值: -"
123
- },
124
- "van-action-bar-icon/to": {
125
- "type": "string | object",
126
- "description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
182
+ "description": "不可配送提示文案, 默认值: -"
127
183
  },
128
- "van-action-bar-icon/replace": {
184
+ "van-address-list/switchable": {
129
185
  "type": "boolean",
130
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
131
- },
132
- "van-action-bar-button/text": {
133
- "type": "string",
134
- "description": "按钮文字, 默认值: -"
135
- },
136
- "van-action-bar-button/type": {
137
- "type": "string",
138
- "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
139
- },
140
- "van-action-bar-button/color": {
141
- "type": "string",
142
- "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
186
+ "description": "是否允许切换地址, 默认值: `true`"
143
187
  },
144
- "van-action-bar-button/icon": {
188
+ "van-address-list/add-button-text": {
145
189
  "type": "string",
146
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
147
- },
148
- "van-action-bar-button/disabled": {
149
- "type": "boolean",
150
- "description": "是否禁用按钮, 默认值: `false`"
151
- },
152
- "van-action-bar-button/loading": {
153
- "type": "boolean",
154
- "description": "是否显示为加载状态, 默认值: `false`"
190
+ "description": "底部按钮文字, 默认值: `新增地址`"
155
191
  },
156
- "van-action-bar-button/url": {
192
+ "van-address-list/default-tag-text": {
157
193
  "type": "string",
158
- "description": "点击后跳转的链接地址, 默认值: -"
159
- },
160
- "van-action-bar-button/to": {
161
- "type": "string | object",
162
- "description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
163
- },
164
- "van-action-bar-button/replace": {
165
- "type": "boolean",
166
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
194
+ "description": "默认地址标签文字, 默认值: -"
167
195
  },
168
196
  "van-address-edit/area-list": {
169
197
  "type": "object",
@@ -253,34 +281,6 @@
253
281
  "type": "(key, val) => string",
254
282
  "description": "自定义校验函数, 默认值: -"
255
283
  },
256
- "van-address-list/v-model": {
257
- "type": "string",
258
- "description": "当前选中地址的 id, 默认值: -"
259
- },
260
- "van-address-list/list": {
261
- "type": "AddressListAddress[]",
262
- "description": "地址列表, 默认值: `[]`"
263
- },
264
- "van-address-list/disabled-list": {
265
- "type": "AddressListAddress[]",
266
- "description": "不可配送地址列表, 默认值: `[]`"
267
- },
268
- "van-address-list/disabled-text": {
269
- "type": "string",
270
- "description": "不可配送提示文案, 默认值: -"
271
- },
272
- "van-address-list/switchable": {
273
- "type": "boolean",
274
- "description": "是否允许切换地址, 默认值: `true`"
275
- },
276
- "van-address-list/add-button-text": {
277
- "type": "string",
278
- "description": "底部按钮文字, 默认值: `新增地址`"
279
- },
280
- "van-address-list/default-tag-text": {
281
- "type": "string",
282
- "description": "默认地址标签文字, 默认值: -"
283
- },
284
284
  "van-area/value": {
285
285
  "type": "string",
286
286
  "description": "当前选中项对应的地区码, 默认值: -"
@@ -333,239 +333,239 @@
333
333
  "type": "() => boolean",
334
334
  "description": "根据地区码校验海外地址,海外地址会划分至单独的分类, 默认值: -"
335
335
  },
336
- "van-calendar/type": {
337
- "type": "string",
338
- "description": "选择类型:<br>`single` 表示选择单个日期,<br>`multiple` 表示选择多个日期,<br>`range` 表示选择日期区间, 默认值: `single`"
339
- },
340
- "van-calendar/title": {
341
- "type": "string",
342
- "description": "日历标题, 默认值: `日期选择`"
336
+ "van-badge/content": {
337
+ "type": "number | string",
338
+ "description": "徽标内容, 默认值: -"
343
339
  },
344
- "van-calendar/color": {
340
+ "van-badge/color": {
345
341
  "type": "string",
346
- "description": "主题色,对底部按钮和选中日期生效, 默认值: `#ee0a24`"
342
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
347
343
  },
348
- "van-calendar/min-date": {
349
- "type": "Date",
350
- "description": "可选择的最小日期, 默认值: 当前日期"
344
+ "van-badge/dot": {
345
+ "type": "boolean",
346
+ "description": "是否展示为小红点, 默认值: `false`"
351
347
  },
352
- "van-calendar/max-date": {
353
- "type": "Date",
354
- "description": "可选择的最大日期, 默认值: 当前日期的六个月后"
348
+ "van-badge/max": {
349
+ "type": "number | string",
350
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
355
351
  },
356
- "van-calendar/default-date": {
357
- "type": "Date | Date[] \\",
358
- "description": "默认选中的日期,`type` `multiple` 或 `range` 时为数组,传入 `null` 表示默认不选择, 默认值: null_",
352
+ "van-badge/offset": {
353
+ "type": "[number | string, number \\",
354
+ "description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
359
355
  "options": [
360
- "今天"
356
+ "-"
361
357
  ]
362
358
  },
363
- "van-calendar/row-height": {
364
- "type": "number | string",
365
- "description": "日期行高, 默认值: `64`"
366
- },
367
- "van-calendar/formatter": {
368
- "type": "(day: Day) => Day",
369
- "description": "日期格式化函数, 默认值: -"
370
- },
371
- "van-calendar/poppable": {
359
+ "van-badge/show-zero": {
372
360
  "type": "boolean",
373
- "description": "是否以弹层的形式展示日历, 默认值: `true`"
361
+ "description": " content 为数字 0 时,是否展示徽标, 默认值: `true`"
374
362
  },
375
- "van-calendar/lazy-render": {
376
- "type": "boolean",
377
- "description": "是否只渲染可视区域的内容, 默认值: `true`"
363
+ "van-button/type": {
364
+ "type": "string",
365
+ "description": "类型,可选值为 `primary` `success` `warning` `danger`, 默认值: `default`"
378
366
  },
379
- "van-calendar/show-mark": {
380
- "type": "boolean",
381
- "description": "是否显示月份背景水印, 默认值: `true`"
367
+ "van-button/size": {
368
+ "type": "string",
369
+ "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
382
370
  },
383
- "van-calendar/show-title": {
384
- "type": "boolean",
385
- "description": "是否展示日历标题, 默认值: `true`"
371
+ "van-button/text": {
372
+ "type": "string",
373
+ "description": "按钮文字, 默认值: -"
386
374
  },
387
- "van-calendar/show-subtitle": {
388
- "type": "boolean",
389
- "description": "是否展示日历副标题(年月), 默认值: `true`"
375
+ "van-button/color": {
376
+ "type": "string",
377
+ "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
390
378
  },
391
- "van-calendar/show-confirm": {
392
- "type": "boolean",
393
- "description": "是否展示确认按钮, 默认值: `true`"
379
+ "van-button/icon": {
380
+ "type": "string",
381
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
394
382
  },
395
- "van-calendar/readonly": {
396
- "type": "boolean",
397
- "description": "是否为只读状态,只读状态下不能选择日期, 默认值: `false`"
383
+ "van-button/icon-prefix": {
384
+ "type": "string",
385
+ "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
398
386
  },
399
- "van-calendar/confirm-text": {
387
+ "van-button/icon-position": {
400
388
  "type": "string",
401
- "description": "确认按钮的文字, 默认值: `确定`"
389
+ "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
402
390
  },
403
- "van-calendar/confirm-disabled-text": {
391
+ "van-button/tag": {
404
392
  "type": "string",
405
- "description": "确认按钮处于禁用状态时的文字, 默认值: `确定`"
393
+ "description": "按钮根节点的 HTML 标签, 默认值: `button`"
406
394
  },
407
- "van-calendar/first-day-of-week": {
408
- "type": "0-6",
409
- "description": "设置周起始日, 默认值: `0`"
395
+ "van-button/native-type": {
396
+ "type": "string",
397
+ "description": "原生 button 标签的 type 属性, 默认值: `button`"
410
398
  },
411
- "van-calendar/v-model:show": {
399
+ "van-button/block": {
412
400
  "type": "boolean",
413
- "description": "是否显示日历弹窗, 默认值: `false`"
401
+ "description": "是否为块级元素, 默认值: `false`"
414
402
  },
415
- "van-calendar/position": {
416
- "type": "string",
417
- "description": "弹出位置,可选值为 `top` `right` `left`, 默认值: `bottom`"
403
+ "van-button/plain": {
404
+ "type": "boolean",
405
+ "description": "是否为朴素按钮, 默认值: `false`"
418
406
  },
419
- "van-calendar/round": {
407
+ "van-button/square": {
420
408
  "type": "boolean",
421
- "description": "是否显示圆角弹窗, 默认值: `true`"
409
+ "description": "是否为方形按钮, 默认值: `false`"
422
410
  },
423
- "van-calendar/close-on-popstate": {
411
+ "van-button/round": {
424
412
  "type": "boolean",
425
- "description": "是否在页面回退时自动关闭, 默认值: `true`"
413
+ "description": "是否为圆形按钮, 默认值: `false`"
426
414
  },
427
- "van-calendar/close-on-click-overlay": {
415
+ "van-button/disabled": {
428
416
  "type": "boolean",
429
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
417
+ "description": "是否禁用按钮, 默认值: `false`"
430
418
  },
431
- "van-calendar/safe-area-inset-bottom": {
419
+ "van-button/hairline": {
432
420
  "type": "boolean",
433
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
421
+ "description": "是否使用 0.5px 边框, 默认值: `false`"
434
422
  },
435
- "van-calendar/teleport": {
436
- "type": "string | Element",
437
- "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
423
+ "van-button/loading": {
424
+ "type": "boolean",
425
+ "description": "是否显示为加载状态, 默认值: `false`"
438
426
  },
439
- "van-calendar/max-range": {
427
+ "van-button/loading-text": {
428
+ "type": "string",
429
+ "description": "加载状态提示文字, 默认值: -"
430
+ },
431
+ "van-button/loading-type": {
432
+ "type": "string",
433
+ "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
434
+ },
435
+ "van-button/loading-size": {
440
436
  "type": "number | string",
441
- "description": "日期最多可选天数, 默认值: 无限制"
437
+ "description": "加载图标大小,默认单位为 `px`, 默认值: `20px`"
442
438
  },
443
- "van-calendar/range-prompt": {
439
+ "van-button/url": {
444
440
  "type": "string",
445
- "description": "选择超过最多可选天数时的提示文案, 默认值: `最多选择 xx 天`"
441
+ "description": "点击后跳转的链接地址, 默认值: -"
446
442
  },
447
- "van-calendar/show-range-prompt": {
448
- "type": "boolean",
449
- "description": "范围选择超过最多可选天数时,是否展示提示文案, 默认值: `true`"
443
+ "van-button/to": {
444
+ "type": "string | object",
445
+ "description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
450
446
  },
451
- "van-calendar/allow-same-day": {
447
+ "van-button/replace": {
452
448
  "type": "boolean",
453
- "description": "是否允许日期范围的起止时间为同一天, 默认值: `false`"
454
- },
455
- "van-button/type": {
456
- "type": "string",
457
- "description": "类型,可选值为 `primary` `success` `warning` `danger`, 默认值: `default`"
449
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
458
450
  },
459
- "van-button/size": {
451
+ "van-calendar/type": {
460
452
  "type": "string",
461
- "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
453
+ "description": "选择类型:<br>`single` 表示选择单个日期,<br>`multiple` 表示选择多个日期,<br>`range` 表示选择日期区间, 默认值: `single`"
462
454
  },
463
- "van-button/text": {
455
+ "van-calendar/title": {
464
456
  "type": "string",
465
- "description": "按钮文字, 默认值: -"
457
+ "description": "日历标题, 默认值: `日期选择`"
466
458
  },
467
- "van-button/color": {
459
+ "van-calendar/color": {
468
460
  "type": "string",
469
- "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
461
+ "description": "主题色,对底部按钮和选中日期生效, 默认值: `#ee0a24`"
470
462
  },
471
- "van-button/icon": {
472
- "type": "string",
473
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
463
+ "van-calendar/min-date": {
464
+ "type": "Date",
465
+ "description": "可选择的最小日期, 默认值: 当前日期"
474
466
  },
475
- "van-button/icon-prefix": {
476
- "type": "string",
477
- "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
467
+ "van-calendar/max-date": {
468
+ "type": "Date",
469
+ "description": "可选择的最大日期, 默认值: 当前日期的六个月后"
478
470
  },
479
- "van-button/icon-position": {
480
- "type": "string",
481
- "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
471
+ "van-calendar/default-date": {
472
+ "type": "Date | Date[] \\",
473
+ "description": "默认选中的日期,`type` `multiple` `range` 时为数组,传入 `null` 表示默认不选择, 默认值: null_",
474
+ "options": [
475
+ "今天"
476
+ ]
482
477
  },
483
- "van-button/tag": {
484
- "type": "string",
485
- "description": "按钮根节点的 HTML 标签, 默认值: `button`"
478
+ "van-calendar/row-height": {
479
+ "type": "number | string",
480
+ "description": "日期行高, 默认值: `64`"
486
481
  },
487
- "van-button/native-type": {
488
- "type": "string",
489
- "description": "原生 button 标签的 type 属性, 默认值: `button`"
482
+ "van-calendar/formatter": {
483
+ "type": "(day: Day) => Day",
484
+ "description": "日期格式化函数, 默认值: -"
490
485
  },
491
- "van-button/block": {
486
+ "van-calendar/poppable": {
492
487
  "type": "boolean",
493
- "description": "是否为块级元素, 默认值: `false`"
488
+ "description": "是否以弹层的形式展示日历, 默认值: `true`"
494
489
  },
495
- "van-button/plain": {
490
+ "van-calendar/lazy-render": {
496
491
  "type": "boolean",
497
- "description": "是否为朴素按钮, 默认值: `false`"
492
+ "description": "是否只渲染可视区域的内容, 默认值: `true`"
498
493
  },
499
- "van-button/square": {
494
+ "van-calendar/show-mark": {
500
495
  "type": "boolean",
501
- "description": "是否为方形按钮, 默认值: `false`"
496
+ "description": "是否显示月份背景水印, 默认值: `true`"
502
497
  },
503
- "van-button/round": {
498
+ "van-calendar/show-title": {
504
499
  "type": "boolean",
505
- "description": "是否为圆形按钮, 默认值: `false`"
500
+ "description": "是否展示日历标题, 默认值: `true`"
506
501
  },
507
- "van-button/disabled": {
502
+ "van-calendar/show-subtitle": {
508
503
  "type": "boolean",
509
- "description": "是否禁用按钮, 默认值: `false`"
504
+ "description": "是否展示日历副标题(年月), 默认值: `true`"
510
505
  },
511
- "van-button/hairline": {
506
+ "van-calendar/show-confirm": {
512
507
  "type": "boolean",
513
- "description": "是否使用 0.5px 边框, 默认值: `false`"
508
+ "description": "是否展示确认按钮, 默认值: `true`"
514
509
  },
515
- "van-button/loading": {
510
+ "van-calendar/readonly": {
516
511
  "type": "boolean",
517
- "description": "是否显示为加载状态, 默认值: `false`"
512
+ "description": "是否为只读状态,只读状态下不能选择日期, 默认值: `false`"
518
513
  },
519
- "van-button/loading-text": {
514
+ "van-calendar/confirm-text": {
520
515
  "type": "string",
521
- "description": "加载状态提示文字, 默认值: -"
516
+ "description": "确认按钮的文字, 默认值: `确定`"
522
517
  },
523
- "van-button/loading-type": {
518
+ "van-calendar/confirm-disabled-text": {
524
519
  "type": "string",
525
- "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
520
+ "description": "确认按钮处于禁用状态时的文字, 默认值: `确定`"
526
521
  },
527
- "van-button/loading-size": {
528
- "type": "number | string",
529
- "description": "加载图标大小,默认单位为 `px`, 默认值: `20px`"
522
+ "van-calendar/first-day-of-week": {
523
+ "type": "0-6",
524
+ "description": "设置周起始日, 默认值: `0`"
530
525
  },
531
- "van-button/url": {
532
- "type": "string",
533
- "description": "点击后跳转的链接地址, 默认值: -"
526
+ "van-calendar/v-model:show": {
527
+ "type": "boolean",
528
+ "description": "是否显示日历弹窗, 默认值: `false`"
534
529
  },
535
- "van-button/to": {
536
- "type": "string | object",
537
- "description": "点击后跳转的目标路由对象,等同于 vue-router [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
530
+ "van-calendar/position": {
531
+ "type": "string",
532
+ "description": "弹出位置,可选值为 `top` `right` `left`, 默认值: `bottom`"
538
533
  },
539
- "van-button/replace": {
534
+ "van-calendar/round": {
540
535
  "type": "boolean",
541
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
536
+ "description": "是否显示圆角弹窗, 默认值: `true`"
542
537
  },
543
- "van-badge/content": {
544
- "type": "number | string",
545
- "description": "徽标内容, 默认值: -"
538
+ "van-calendar/close-on-popstate": {
539
+ "type": "boolean",
540
+ "description": "是否在页面回退时自动关闭, 默认值: `true`"
546
541
  },
547
- "van-badge/color": {
548
- "type": "string",
549
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
542
+ "van-calendar/close-on-click-overlay": {
543
+ "type": "boolean",
544
+ "description": "是否在点击遮罩层后关闭, 默认值: `true`"
550
545
  },
551
- "van-badge/dot": {
546
+ "van-calendar/safe-area-inset-bottom": {
552
547
  "type": "boolean",
553
- "description": "是否展示为小红点, 默认值: `false`"
548
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
554
549
  },
555
- "van-badge/max": {
550
+ "van-calendar/teleport": {
551
+ "type": "string | Element",
552
+ "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
553
+ },
554
+ "van-calendar/max-range": {
556
555
  "type": "number | string",
557
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
556
+ "description": "日期最多可选天数, 默认值: 无限制"
558
557
  },
559
- "van-badge/offset": {
560
- "type": "[number | string, number \\",
561
- "description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
562
- "options": [
563
- "-"
564
- ]
558
+ "van-calendar/range-prompt": {
559
+ "type": "string",
560
+ "description": "选择超过最多可选天数时的提示文案, 默认值: `最多选择 xx 天`"
565
561
  },
566
- "van-badge/show-zero": {
562
+ "van-calendar/show-range-prompt": {
567
563
  "type": "boolean",
568
- "description": " content 为数字 0 时,是否展示徽标, 默认值: `true`"
564
+ "description": "范围选择超过最多可选天数时,是否展示提示文案, 默认值: `true`"
565
+ },
566
+ "van-calendar/allow-same-day": {
567
+ "type": "boolean",
568
+ "description": "是否允许日期范围的起止时间为同一天, 默认值: `false`"
569
569
  },
570
570
  "van-card/thumb": {
571
571
  "type": "string",
@@ -807,38 +807,6 @@
807
807
  "type": "string",
808
808
  "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
809
809
  },
810
- "van-row/gutter": {
811
- "type": "number | string",
812
- "description": "列元素之间的间距(单位为 px), 默认值: -"
813
- },
814
- "van-row/tag": {
815
- "type": "string",
816
- "description": "自定义元素标签, 默认值: `div`"
817
- },
818
- "van-row/justify": {
819
- "type": "string",
820
- "description": "主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`, 默认值: `start`"
821
- },
822
- "van-row/align": {
823
- "type": "string",
824
- "description": "交叉轴对齐方式,可选值为 `center` `bottom`, 默认值: `top`"
825
- },
826
- "van-row/wrap": {
827
- "type": "boolean",
828
- "description": "是否自动换行, 默认值: `true`"
829
- },
830
- "van-col/span": {
831
- "type": "number | string",
832
- "description": "列元素宽度, 默认值: -"
833
- },
834
- "van-col/offset": {
835
- "type": "number | string",
836
- "description": "列元素偏移距离, 默认值: -"
837
- },
838
- "van-col/tag": {
839
- "type": "string",
840
- "description": "自定义元素标签, 默认值: `div`"
841
- },
842
810
  "van-circle/v-model:current-rate": {
843
811
  "type": "number",
844
812
  "description": "当前进度, 默认值: -"
@@ -887,6 +855,38 @@
887
855
  "type": "CircleStartPosition",
888
856
  "description": "进度起始位置,可选值为 `left`、`right`、`bottom`, 默认值: `top`"
889
857
  },
858
+ "van-row/gutter": {
859
+ "type": "number | string",
860
+ "description": "列元素之间的间距(单位为 px), 默认值: -"
861
+ },
862
+ "van-row/tag": {
863
+ "type": "string",
864
+ "description": "自定义元素标签, 默认值: `div`"
865
+ },
866
+ "van-row/justify": {
867
+ "type": "string",
868
+ "description": "主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`, 默认值: `start`"
869
+ },
870
+ "van-row/align": {
871
+ "type": "string",
872
+ "description": "交叉轴对齐方式,可选值为 `center` `bottom`, 默认值: `top`"
873
+ },
874
+ "van-row/wrap": {
875
+ "type": "boolean",
876
+ "description": "是否自动换行, 默认值: `true`"
877
+ },
878
+ "van-col/span": {
879
+ "type": "number | string",
880
+ "description": "列元素宽度, 默认值: -"
881
+ },
882
+ "van-col/offset": {
883
+ "type": "number | string",
884
+ "description": "列元素偏移距离, 默认值: -"
885
+ },
886
+ "van-col/tag": {
887
+ "type": "string",
888
+ "description": "自定义元素标签, 默认值: `div`"
889
+ },
890
890
  "van-collapse/v-model": {
891
891
  "type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
892
892
  "description": "当前展开面板的 name, 默认值: string)[]_",
@@ -998,125 +998,49 @@
998
998
  "type": "boolean",
999
999
  "description": "是否显示删除按钮加载动画, 默认值: `false`"
1000
1000
  },
1001
- "van-contact-edit/tel-validator": {
1002
- "type": "(tel: string) => boolean",
1003
- "description": "手机号格式校验函数, 默认值: -"
1004
- },
1005
- "van-contact-edit/show-set-default": {
1006
- "type": "boolean",
1007
- "description": "是否显示默认联系人栏, 默认值: `false`"
1008
- },
1009
- "van-contact-edit/set-default-label": {
1010
- "type": "string",
1011
- "description": "默认联系人栏文案, 默认值: -"
1012
- },
1013
- "van-contact-list/v-model": {
1014
- "type": "number | string",
1015
- "description": "当前选中联系人的 id, 默认值: -"
1016
- },
1017
- "van-contact-list/list": {
1018
- "type": "Contact[]",
1019
- "description": "联系人列表, 默认值: `[]`"
1020
- },
1021
- "van-contact-list/add-text": {
1022
- "type": "string",
1023
- "description": "新建按钮文案, 默认值: `新建联系人`"
1024
- },
1025
- "van-contact-list/default-tag-text": {
1026
- "type": "string",
1027
- "description": "默认联系人标签文案, 默认值: -"
1028
- },
1029
- "van-count-down/time": {
1030
- "type": "number | string",
1031
- "description": "倒计时时长,单位毫秒, 默认值: `0`"
1032
- },
1033
- "van-count-down/format": {
1034
- "type": "string",
1035
- "description": "时间格式, 默认值: `HH:mm:ss`"
1036
- },
1037
- "van-count-down/auto-start": {
1038
- "type": "boolean",
1039
- "description": "是否自动开始倒计时, 默认值: `true`"
1040
- },
1041
- "van-count-down/millisecond": {
1042
- "type": "boolean",
1043
- "description": "是否开启毫秒级渲染, 默认值: `false`"
1044
- },
1045
- "van-datetime-picker/type": {
1046
- "type": "string",
1047
- "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
1048
- },
1049
- "van-datetime-picker/title": {
1050
- "type": "string",
1051
- "description": "顶部栏标题, 默认值: `''`"
1052
- },
1053
- "van-datetime-picker/confirm-button-text": {
1054
- "type": "string",
1055
- "description": "确认按钮文字, 默认值: `确认`"
1056
- },
1057
- "van-datetime-picker/cancel-button-text": {
1058
- "type": "string",
1059
- "description": "取消按钮文字, 默认值: `取消`"
1060
- },
1061
- "van-datetime-picker/show-toolbar": {
1062
- "type": "boolean",
1063
- "description": "是否显示顶部栏, 默认值: `true`"
1064
- },
1065
- "van-datetime-picker/loading": {
1066
- "type": "boolean",
1067
- "description": "是否显示加载状态, 默认值: `false`"
1068
- },
1069
- "van-datetime-picker/readonly": {
1070
- "type": "boolean",
1071
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
1072
- },
1073
- "van-datetime-picker/filter": {
1074
- "type": "(type: string, values: string[]) => string[]",
1075
- "description": "选项过滤函数, 默认值: -"
1076
- },
1077
- "van-datetime-picker/formatter": {
1078
- "type": "(type: string, value: string) => string",
1079
- "description": "选项格式化函数, 默认值: -"
1001
+ "van-contact-edit/tel-validator": {
1002
+ "type": "(tel: string) => boolean",
1003
+ "description": "手机号格式校验函数, 默认值: -"
1080
1004
  },
1081
- "van-datetime-picker/columns-order": {
1082
- "type": "string[]",
1083
- "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
1005
+ "van-contact-edit/show-set-default": {
1006
+ "type": "boolean",
1007
+ "description": "是否显示默认联系人栏, 默认值: `false`"
1084
1008
  },
1085
- "van-datetime-picker/item-height": {
1086
- "type": "number | string",
1087
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
1009
+ "van-contact-edit/set-default-label": {
1010
+ "type": "string",
1011
+ "description": "默认联系人栏文案, 默认值: -"
1088
1012
  },
1089
- "van-datetime-picker/visible-item-count": {
1013
+ "van-contact-list/v-model": {
1090
1014
  "type": "number | string",
1091
- "description": "可见的选项个数, 默认值: `6`"
1015
+ "description": "当前选中联系人的 id, 默认值: -"
1092
1016
  },
1093
- "van-datetime-picker/swipe-duration": {
1094
- "type": "number | string",
1095
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1017
+ "van-contact-list/list": {
1018
+ "type": "Contact[]",
1019
+ "description": "联系人列表, 默认值: `[]`"
1096
1020
  },
1097
- "van-date-picker/min-date": {
1098
- "type": "Date",
1099
- "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1021
+ "van-contact-list/add-text": {
1022
+ "type": "string",
1023
+ "description": "新建按钮文案, 默认值: `新建联系人`"
1100
1024
  },
1101
- "van-date-picker/max-date": {
1102
- "type": "Date",
1103
- "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1025
+ "van-contact-list/default-tag-text": {
1026
+ "type": "string",
1027
+ "description": "默认联系人标签文案, 默认值: -"
1104
1028
  },
1105
- "van-time-picker/min-hour": {
1029
+ "van-count-down/time": {
1106
1030
  "type": "number | string",
1107
- "description": "可选的最小小时, 默认值: `0`"
1031
+ "description": "倒计时时长,单位毫秒, 默认值: `0`"
1108
1032
  },
1109
- "van-time-picker/max-hour": {
1110
- "type": "number | string",
1111
- "description": "可选的最大小时, 默认值: `23`"
1033
+ "van-count-down/format": {
1034
+ "type": "string",
1035
+ "description": "时间格式, 默认值: `HH:mm:ss`"
1112
1036
  },
1113
- "van-time-picker/min-minute": {
1114
- "type": "number | string",
1115
- "description": "可选的最小分钟, 默认值: `0`"
1037
+ "van-count-down/auto-start": {
1038
+ "type": "boolean",
1039
+ "description": "是否自动开始倒计时, 默认值: `true`"
1116
1040
  },
1117
- "van-time-picker/max-minute": {
1118
- "type": "number | string",
1119
- "description": "可选的最大分钟, 默认值: `59`"
1041
+ "van-count-down/millisecond": {
1042
+ "type": "boolean",
1043
+ "description": "是否开启毫秒级渲染, 默认值: `false`"
1120
1044
  },
1121
1045
  "van-coupon-cell/title": {
1122
1046
  "type": "string",
@@ -1214,6 +1138,82 @@
1214
1138
  "type": "boolean",
1215
1139
  "description": "是否展示可用 / 不可用数量, 默认值: `true`"
1216
1140
  },
1141
+ "van-datetime-picker/type": {
1142
+ "type": "string",
1143
+ "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
1144
+ },
1145
+ "van-datetime-picker/title": {
1146
+ "type": "string",
1147
+ "description": "顶部栏标题, 默认值: `''`"
1148
+ },
1149
+ "van-datetime-picker/confirm-button-text": {
1150
+ "type": "string",
1151
+ "description": "确认按钮文字, 默认值: `确认`"
1152
+ },
1153
+ "van-datetime-picker/cancel-button-text": {
1154
+ "type": "string",
1155
+ "description": "取消按钮文字, 默认值: `取消`"
1156
+ },
1157
+ "van-datetime-picker/show-toolbar": {
1158
+ "type": "boolean",
1159
+ "description": "是否显示顶部栏, 默认值: `true`"
1160
+ },
1161
+ "van-datetime-picker/loading": {
1162
+ "type": "boolean",
1163
+ "description": "是否显示加载状态, 默认值: `false`"
1164
+ },
1165
+ "van-datetime-picker/readonly": {
1166
+ "type": "boolean",
1167
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
1168
+ },
1169
+ "van-datetime-picker/filter": {
1170
+ "type": "(type: string, values: string[]) => string[]",
1171
+ "description": "选项过滤函数, 默认值: -"
1172
+ },
1173
+ "van-datetime-picker/formatter": {
1174
+ "type": "(type: string, value: string) => string",
1175
+ "description": "选项格式化函数, 默认值: -"
1176
+ },
1177
+ "van-datetime-picker/columns-order": {
1178
+ "type": "string[]",
1179
+ "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
1180
+ },
1181
+ "van-datetime-picker/item-height": {
1182
+ "type": "number | string",
1183
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
1184
+ },
1185
+ "van-datetime-picker/visible-item-count": {
1186
+ "type": "number | string",
1187
+ "description": "可见的选项个数, 默认值: `6`"
1188
+ },
1189
+ "van-datetime-picker/swipe-duration": {
1190
+ "type": "number | string",
1191
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1192
+ },
1193
+ "van-date-picker/min-date": {
1194
+ "type": "Date",
1195
+ "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1196
+ },
1197
+ "van-date-picker/max-date": {
1198
+ "type": "Date",
1199
+ "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1200
+ },
1201
+ "van-time-picker/min-hour": {
1202
+ "type": "number | string",
1203
+ "description": "可选的最小小时, 默认值: `0`"
1204
+ },
1205
+ "van-time-picker/max-hour": {
1206
+ "type": "number | string",
1207
+ "description": "可选的最大小时, 默认值: `23`"
1208
+ },
1209
+ "van-time-picker/min-minute": {
1210
+ "type": "number | string",
1211
+ "description": "可选的最小分钟, 默认值: `0`"
1212
+ },
1213
+ "van-time-picker/max-minute": {
1214
+ "type": "number | string",
1215
+ "description": "可选的最大分钟, 默认值: `59`"
1216
+ },
1217
1217
  "van-dialog/v-model:show": {
1218
1218
  "type": "boolean",
1219
1219
  "description": "是否显示弹窗, 默认值: -"
@@ -1540,85 +1540,157 @@
1540
1540
  "type": "string",
1541
1541
  "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
1542
1542
  },
1543
- "van-icon/name": {
1543
+ "van-form/label-width": {
1544
+ "type": "number | string",
1545
+ "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1546
+ },
1547
+ "van-form/label-align": {
1544
1548
  "type": "string",
1545
- "description": "图标名称或图片链接, 默认值: -"
1549
+ "description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1546
1550
  },
1547
- "van-icon/dot": {
1551
+ "van-form/input-align": {
1552
+ "type": "string",
1553
+ "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1554
+ },
1555
+ "van-form/error-message-align": {
1556
+ "type": "string",
1557
+ "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1558
+ },
1559
+ "van-form/validate-trigger": {
1560
+ "type": "string",
1561
+ "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1562
+ },
1563
+ "van-form/colon": {
1548
1564
  "type": "boolean",
1549
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1565
+ "description": "是否在 label 后面添加冒号, 默认值: `false`"
1550
1566
  },
1551
- "van-icon/badge": {
1567
+ "van-form/disabled": {
1568
+ "type": "boolean",
1569
+ "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1570
+ },
1571
+ "van-form/readonly": {
1572
+ "type": "boolean",
1573
+ "description": "是否将表单中的所有输入框设置为只读状态, 默认值: `false`"
1574
+ },
1575
+ "van-form/validate-first": {
1576
+ "type": "boolean",
1577
+ "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1578
+ },
1579
+ "van-form/scroll-to-error": {
1580
+ "type": "boolean",
1581
+ "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1582
+ },
1583
+ "van-form/show-error": {
1584
+ "type": "boolean",
1585
+ "description": "是否在校验不通过时标红输入框, 默认值: `false`"
1586
+ },
1587
+ "van-form/show-error-message": {
1588
+ "type": "boolean",
1589
+ "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1590
+ },
1591
+ "van-form/submit-on-enter": {
1592
+ "type": "boolean",
1593
+ "description": "是否在按下回车键时提交表单, 默认值: `true`"
1594
+ },
1595
+ "van-grid/column-num": {
1552
1596
  "type": "number | string",
1553
- "description": "图标右上角徽标的内容, 默认值: -"
1597
+ "description": "列数, 默认值: `4`"
1554
1598
  },
1555
- "van-icon/color": {
1556
- "type": "string",
1557
- "description": "图标颜色, 默认值: `inherit`"
1599
+ "van-grid/icon-size": {
1600
+ "type": "number | string",
1601
+ "description": "图标大小,默认单位为`px`, 默认值: `28px`"
1558
1602
  },
1559
- "van-icon/size": {
1603
+ "van-grid/gutter": {
1560
1604
  "type": "number | string",
1561
- "description": "图标大小,如 `20px` `2em`,默认单位为 `px`, 默认值: `inherit`"
1605
+ "description": "格子之间的间距,默认单位为`px`, 默认值: `0`"
1562
1606
  },
1563
- "van-icon/class-prefix": {
1564
- "type": "string",
1565
- "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1607
+ "van-grid/border": {
1608
+ "type": "boolean",
1609
+ "description": "是否显示边框, 默认值: `true`"
1566
1610
  },
1567
- "van-icon/tag": {
1611
+ "van-grid/center": {
1612
+ "type": "boolean",
1613
+ "description": "是否将格子内容居中显示, 默认值: `true`"
1614
+ },
1615
+ "van-grid/square": {
1616
+ "type": "boolean",
1617
+ "description": "是否将格子固定为正方形, 默认值: `false`"
1618
+ },
1619
+ "van-grid/clickable": {
1620
+ "type": "boolean",
1621
+ "description": "是否开启格子点击反馈, 默认值: `false`"
1622
+ },
1623
+ "van-grid/direction": {
1568
1624
  "type": "string",
1569
- "description": "根节点对应的 HTML 标签名, 默认值: `i`"
1625
+ "description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
1570
1626
  },
1571
- "van-form/label-width": {
1572
- "type": "number | string",
1573
- "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1627
+ "van-grid-item/text": {
1628
+ "type": "string",
1629
+ "description": "文字, 默认值: -"
1574
1630
  },
1575
- "van-form/label-align": {
1631
+ "van-grid-item/icon": {
1576
1632
  "type": "string",
1577
- "description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1633
+ "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1578
1634
  },
1579
- "van-form/input-align": {
1635
+ "van-grid-item/icon-prefix": {
1580
1636
  "type": "string",
1581
- "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1637
+ "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1582
1638
  },
1583
- "van-form/error-message-align": {
1639
+ "van-grid-item/icon-color": {
1584
1640
  "type": "string",
1585
- "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1641
+ "description": "图标颜色,等同于 Icon 组件的 [color 属性](#/zh-CN/icon#props), 默认值: -"
1586
1642
  },
1587
- "van-form/validate-trigger": {
1643
+ "van-grid-item/reverse": {
1644
+ "type": "boolean",
1645
+ "description": "是否调换图标和文本的位置, 默认值: `false`"
1646
+ },
1647
+ "van-grid-item/dot": {
1648
+ "type": "boolean",
1649
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1650
+ },
1651
+ "van-grid-item/badge": {
1652
+ "type": "number | string",
1653
+ "description": "图标右上角徽标的内容, 默认值: -"
1654
+ },
1655
+ "van-grid-item/url": {
1588
1656
  "type": "string",
1589
- "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1657
+ "description": "点击后跳转的链接地址, 默认值: -"
1590
1658
  },
1591
- "van-form/colon": {
1592
- "type": "boolean",
1593
- "description": "是否在 label 后面添加冒号, 默认值: `false`"
1659
+ "van-grid-item/to": {
1660
+ "type": "string | object",
1661
+ "description": "点击后跳转的目标路由对象,等同于 vue-router [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1594
1662
  },
1595
- "van-form/disabled": {
1663
+ "van-grid-item/replace": {
1596
1664
  "type": "boolean",
1597
- "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1665
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1598
1666
  },
1599
- "van-form/readonly": {
1600
- "type": "boolean",
1601
- "description": "是否将表单中的所有输入框设置为只读状态, 默认值: `false`"
1667
+ "van-icon/name": {
1668
+ "type": "string",
1669
+ "description": "图标名称或图片链接, 默认值: -"
1602
1670
  },
1603
- "van-form/validate-first": {
1671
+ "van-icon/dot": {
1604
1672
  "type": "boolean",
1605
- "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1673
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1606
1674
  },
1607
- "van-form/scroll-to-error": {
1608
- "type": "boolean",
1609
- "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1675
+ "van-icon/badge": {
1676
+ "type": "number | string",
1677
+ "description": "图标右上角徽标的内容, 默认值: -"
1610
1678
  },
1611
- "van-form/show-error": {
1612
- "type": "boolean",
1613
- "description": "是否在校验不通过时标红输入框, 默认值: `false`"
1679
+ "van-icon/color": {
1680
+ "type": "string",
1681
+ "description": "图标颜色, 默认值: `inherit`"
1614
1682
  },
1615
- "van-form/show-error-message": {
1616
- "type": "boolean",
1617
- "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1683
+ "van-icon/size": {
1684
+ "type": "number | string",
1685
+ "description": "图标大小,如 `20px` `2em`,默认单位为 `px`, 默认值: `inherit`"
1618
1686
  },
1619
- "van-form/submit-on-enter": {
1620
- "type": "boolean",
1621
- "description": "是否在按下回车键时提交表单, 默认值: `true`"
1687
+ "van-icon/class-prefix": {
1688
+ "type": "string",
1689
+ "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1690
+ },
1691
+ "van-icon/tag": {
1692
+ "type": "string",
1693
+ "description": "根节点对应的 HTML 标签名, 默认值: `i`"
1622
1694
  },
1623
1695
  "van-image/src": {
1624
1696
  "type": "string",
@@ -1751,78 +1823,6 @@
1751
1823
  "type": "string | Element",
1752
1824
  "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
1753
1825
  },
1754
- "van-grid/column-num": {
1755
- "type": "number | string",
1756
- "description": "列数, 默认值: `4`"
1757
- },
1758
- "van-grid/icon-size": {
1759
- "type": "number | string",
1760
- "description": "图标大小,默认单位为`px`, 默认值: `28px`"
1761
- },
1762
- "van-grid/gutter": {
1763
- "type": "number | string",
1764
- "description": "格子之间的间距,默认单位为`px`, 默认值: `0`"
1765
- },
1766
- "van-grid/border": {
1767
- "type": "boolean",
1768
- "description": "是否显示边框, 默认值: `true`"
1769
- },
1770
- "van-grid/center": {
1771
- "type": "boolean",
1772
- "description": "是否将格子内容居中显示, 默认值: `true`"
1773
- },
1774
- "van-grid/square": {
1775
- "type": "boolean",
1776
- "description": "是否将格子固定为正方形, 默认值: `false`"
1777
- },
1778
- "van-grid/clickable": {
1779
- "type": "boolean",
1780
- "description": "是否开启格子点击反馈, 默认值: `false`"
1781
- },
1782
- "van-grid/direction": {
1783
- "type": "string",
1784
- "description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
1785
- },
1786
- "van-grid-item/text": {
1787
- "type": "string",
1788
- "description": "文字, 默认值: -"
1789
- },
1790
- "van-grid-item/icon": {
1791
- "type": "string",
1792
- "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1793
- },
1794
- "van-grid-item/icon-prefix": {
1795
- "type": "string",
1796
- "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1797
- },
1798
- "van-grid-item/icon-color": {
1799
- "type": "string",
1800
- "description": "图标颜色,等同于 Icon 组件的 [color 属性](#/zh-CN/icon#props), 默认值: -"
1801
- },
1802
- "van-grid-item/reverse": {
1803
- "type": "boolean",
1804
- "description": "是否调换图标和文本的位置, 默认值: `false`"
1805
- },
1806
- "van-grid-item/dot": {
1807
- "type": "boolean",
1808
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1809
- },
1810
- "van-grid-item/badge": {
1811
- "type": "number | string",
1812
- "description": "图标右上角徽标的内容, 默认值: -"
1813
- },
1814
- "van-grid-item/url": {
1815
- "type": "string",
1816
- "description": "点击后跳转的链接地址, 默认值: -"
1817
- },
1818
- "van-grid-item/to": {
1819
- "type": "string | object",
1820
- "description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1821
- },
1822
- "van-grid-item/replace": {
1823
- "type": "boolean",
1824
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1825
- },
1826
1826
  "van-index-bar/index-list": {
1827
1827
  "type": "string[] | number[]",
1828
1828
  "description": "索引字符列表, 默认值: `A-Z`"
@@ -1887,42 +1887,6 @@
1887
1887
  "type": "string",
1888
1888
  "description": "滚动触发加载的方向,可选值为 `up`, 默认值: `down`"
1889
1889
  },
1890
- "van-notice-bar/mode": {
1891
- "type": "string",
1892
- "description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
1893
- },
1894
- "van-notice-bar/text": {
1895
- "type": "string",
1896
- "description": "通知文本内容, 默认值: `''`"
1897
- },
1898
- "van-notice-bar/color": {
1899
- "type": "string",
1900
- "description": "通知文本颜色, 默认值: `#f60`"
1901
- },
1902
- "van-notice-bar/background": {
1903
- "type": "string",
1904
- "description": "滚动条背景, 默认值: `#fff7cc`"
1905
- },
1906
- "van-notice-bar/left-icon": {
1907
- "type": "string",
1908
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1909
- },
1910
- "van-notice-bar/delay": {
1911
- "type": "number | string",
1912
- "description": "动画延迟时间 (s), 默认值: `1`"
1913
- },
1914
- "van-notice-bar/speed": {
1915
- "type": "number | string",
1916
- "description": "滚动速率 (px/s), 默认值: `60`"
1917
- },
1918
- "van-notice-bar/scrollable": {
1919
- "type": "boolean",
1920
- "description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
1921
- },
1922
- "van-notice-bar/wrapable": {
1923
- "type": "boolean",
1924
- "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1925
- },
1926
1890
  "van-loading/color": {
1927
1891
  "type": "string",
1928
1892
  "description": "颜色, 默认值: `#c9c9c9`"
@@ -1983,6 +1947,42 @@
1983
1947
  "type": "boolean",
1984
1948
  "description": "是否开启[顶部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
1985
1949
  },
1950
+ "van-notice-bar/mode": {
1951
+ "type": "string",
1952
+ "description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
1953
+ },
1954
+ "van-notice-bar/text": {
1955
+ "type": "string",
1956
+ "description": "通知文本内容, 默认值: `''`"
1957
+ },
1958
+ "van-notice-bar/color": {
1959
+ "type": "string",
1960
+ "description": "通知文本颜色, 默认值: `#f60`"
1961
+ },
1962
+ "van-notice-bar/background": {
1963
+ "type": "string",
1964
+ "description": "滚动条背景, 默认值: `#fff7cc`"
1965
+ },
1966
+ "van-notice-bar/left-icon": {
1967
+ "type": "string",
1968
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1969
+ },
1970
+ "van-notice-bar/delay": {
1971
+ "type": "number | string",
1972
+ "description": "动画延迟时间 (s), 默认值: `1`"
1973
+ },
1974
+ "van-notice-bar/speed": {
1975
+ "type": "number | string",
1976
+ "description": "滚动速率 (px/s), 默认值: `60`"
1977
+ },
1978
+ "van-notice-bar/scrollable": {
1979
+ "type": "boolean",
1980
+ "description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
1981
+ },
1982
+ "van-notice-bar/wrapable": {
1983
+ "type": "boolean",
1984
+ "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1985
+ },
1986
1986
  "van-number-keyboard/v-model": {
1987
1987
  "type": "string",
1988
1988
  "description": "当前输入值, 默认值: -"
@@ -2001,7 +2001,7 @@
2001
2001
  },
2002
2002
  "van-number-keyboard/maxlength": {
2003
2003
  "type": "number | string",
2004
- "description": "输入值最大长度, 默认值: -"
2004
+ "description": "输入值最大长度, 默认值: `Infinity`"
2005
2005
  },
2006
2006
  "van-number-keyboard/transition": {
2007
2007
  "type": "boolean",
@@ -2071,9 +2071,73 @@
2071
2071
  "type": "object",
2072
2072
  "description": "自定义样式, 默认值: -"
2073
2073
  },
2074
- "van-overlay/lock-scroll": {
2074
+ "van-overlay/lock-scroll": {
2075
+ "type": "boolean",
2076
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
2077
+ },
2078
+ "van-pagination/v-model": {
2079
+ "type": "number",
2080
+ "description": "当前页码, 默认值: -"
2081
+ },
2082
+ "van-pagination/mode": {
2083
+ "type": "string",
2084
+ "description": "显示模式,可选值为 `simple`, 默认值: `multi`"
2085
+ },
2086
+ "van-pagination/prev-text": {
2087
+ "type": "string",
2088
+ "description": "上一页按钮文字, 默认值: `上一页`"
2089
+ },
2090
+ "van-pagination/next-text": {
2091
+ "type": "string",
2092
+ "description": "下一页按钮文字, 默认值: `下一页`"
2093
+ },
2094
+ "van-pagination/page-count": {
2095
+ "type": "number | string",
2096
+ "description": "总页数, 默认值: 根据页数计算"
2097
+ },
2098
+ "van-pagination/total-items": {
2099
+ "type": "number | string",
2100
+ "description": "总记录数, 默认值: `0`"
2101
+ },
2102
+ "van-pagination/items-per-page": {
2103
+ "type": "number | string",
2104
+ "description": "每页记录数, 默认值: `10`"
2105
+ },
2106
+ "van-pagination/show-page-size": {
2107
+ "type": "number | string",
2108
+ "description": "显示的页码个数, 默认值: `5`"
2109
+ },
2110
+ "van-pagination/force-ellipses": {
2111
+ "type": "boolean",
2112
+ "description": "是否显示省略号, 默认值: `false`"
2113
+ },
2114
+ "van-password-input/value": {
2115
+ "type": "string",
2116
+ "description": "密码值, 默认值: `''`"
2117
+ },
2118
+ "van-password-input/info": {
2119
+ "type": "string",
2120
+ "description": "输入框下方文字提示, 默认值: -"
2121
+ },
2122
+ "van-password-input/error-info": {
2123
+ "type": "string",
2124
+ "description": "输入框下方错误提示, 默认值: -"
2125
+ },
2126
+ "van-password-input/length": {
2127
+ "type": "number | string",
2128
+ "description": "密码最大长度, 默认值: `6`"
2129
+ },
2130
+ "van-password-input/gutter": {
2131
+ "type": "number | string",
2132
+ "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
2133
+ },
2134
+ "van-password-input/mask": {
2135
+ "type": "boolean",
2136
+ "description": "是否隐藏密码内容, 默认值: `true`"
2137
+ },
2138
+ "van-password-input/focused": {
2075
2139
  "type": "boolean",
2076
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
2140
+ "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2077
2141
  },
2078
2142
  "van-picker/columns": {
2079
2143
  "type": "Column[]",
@@ -2127,70 +2191,6 @@
2127
2191
  "type": "number | string",
2128
2192
  "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2129
2193
  },
2130
- "van-password-input/value": {
2131
- "type": "string",
2132
- "description": "密码值, 默认值: `''`"
2133
- },
2134
- "van-password-input/info": {
2135
- "type": "string",
2136
- "description": "输入框下方文字提示, 默认值: -"
2137
- },
2138
- "van-password-input/error-info": {
2139
- "type": "string",
2140
- "description": "输入框下方错误提示, 默认值: -"
2141
- },
2142
- "van-password-input/length": {
2143
- "type": "number | string",
2144
- "description": "密码最大长度, 默认值: `6`"
2145
- },
2146
- "van-password-input/gutter": {
2147
- "type": "number | string",
2148
- "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
2149
- },
2150
- "van-password-input/mask": {
2151
- "type": "boolean",
2152
- "description": "是否隐藏密码内容, 默认值: `true`"
2153
- },
2154
- "van-password-input/focused": {
2155
- "type": "boolean",
2156
- "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2157
- },
2158
- "van-pagination/v-model": {
2159
- "type": "number",
2160
- "description": "当前页码, 默认值: -"
2161
- },
2162
- "van-pagination/mode": {
2163
- "type": "string",
2164
- "description": "显示模式,可选值为 `simple`, 默认值: `multi`"
2165
- },
2166
- "van-pagination/prev-text": {
2167
- "type": "string",
2168
- "description": "上一页按钮文字, 默认值: `上一页`"
2169
- },
2170
- "van-pagination/next-text": {
2171
- "type": "string",
2172
- "description": "下一页按钮文字, 默认值: `下一页`"
2173
- },
2174
- "van-pagination/page-count": {
2175
- "type": "number | string",
2176
- "description": "总页数, 默认值: 根据页数计算"
2177
- },
2178
- "van-pagination/total-items": {
2179
- "type": "number | string",
2180
- "description": "总记录数, 默认值: `0`"
2181
- },
2182
- "van-pagination/items-per-page": {
2183
- "type": "number | string",
2184
- "description": "每页记录数, 默认值: `10`"
2185
- },
2186
- "van-pagination/show-page-size": {
2187
- "type": "number | string",
2188
- "description": "显示的页码个数, 默认值: `5`"
2189
- },
2190
- "van-pagination/force-ellipses": {
2191
- "type": "boolean",
2192
- "description": "是否显示省略号, 默认值: `false`"
2193
- },
2194
2194
  "van-popover/v-model:show": {
2195
2195
  "type": "boolean",
2196
2196
  "description": "是否展示气泡弹出层, 默认值: `false`"
@@ -2417,102 +2417,6 @@
2417
2417
  "type": "boolean",
2418
2418
  "description": "是否禁用下拉刷新, 默认值: `false`"
2419
2419
  },
2420
- "van-search/v-model": {
2421
- "type": "number | string",
2422
- "description": "当前输入的值, 默认值: -"
2423
- },
2424
- "van-search/label": {
2425
- "type": "string",
2426
- "description": "搜索框左侧文本, 默认值: -"
2427
- },
2428
- "van-search/name": {
2429
- "type": "string",
2430
- "description": "名称,作为提交表单时的标识符, 默认值: -"
2431
- },
2432
- "van-search/shape": {
2433
- "type": "string",
2434
- "description": "搜索框形状,可选值为 `round`, 默认值: `square`"
2435
- },
2436
- "van-search/id": {
2437
- "type": "string",
2438
- "description": "搜索框 id,同时会设置 label 的 for 属性, 默认值: -"
2439
- },
2440
- "van-search/background": {
2441
- "type": "string",
2442
- "description": "搜索框外部背景色, 默认值: `#f2f2f2`"
2443
- },
2444
- "van-search/maxlength": {
2445
- "type": "number | string",
2446
- "description": "输入的最大字符数, 默认值: -"
2447
- },
2448
- "van-search/placeholder": {
2449
- "type": "string",
2450
- "description": "占位提示文字, 默认值: -"
2451
- },
2452
- "van-search/clearable": {
2453
- "type": "boolean",
2454
- "description": "是否启用清除图标,点击清除图标后会清空输入框, 默认值: `true`"
2455
- },
2456
- "van-search/clear-icon": {
2457
- "type": "string",
2458
- "description": "清除[图标名称](#/zh-CN/icon)或图片链接, 默认值: `clear`"
2459
- },
2460
- "van-search/clear-trigger": {
2461
- "type": "string",
2462
- "description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示, 默认值: `focus`"
2463
- },
2464
- "van-search/autofocus": {
2465
- "type": "boolean",
2466
- "description": "是否自动聚焦,iOS 系统不支持该属性, 默认值: `false`"
2467
- },
2468
- "van-search/show-action": {
2469
- "type": "boolean",
2470
- "description": "是否在搜索框右侧显示取消按钮, 默认值: `false`"
2471
- },
2472
- "van-search/action-text": {
2473
- "type": "boolean",
2474
- "description": "取消按钮文字, 默认值: `取消`"
2475
- },
2476
- "van-search/disabled": {
2477
- "type": "boolean",
2478
- "description": "是否禁用输入框, 默认值: `false`"
2479
- },
2480
- "van-search/readonly": {
2481
- "type": "boolean",
2482
- "description": "是否将输入框设为只读状态,只读状态下无法输入内容, 默认值: `false`"
2483
- },
2484
- "van-search/error": {
2485
- "type": "boolean",
2486
- "description": "是否将输入内容标红, 默认值: `false`"
2487
- },
2488
- "van-search/error-message": {
2489
- "type": "string",
2490
- "description": "底部错误提示文案,为空时不展示, 默认值: -"
2491
- },
2492
- "van-search/formatter": {
2493
- "type": "(val: string) => string",
2494
- "description": "输入内容格式化函数, 默认值: -"
2495
- },
2496
- "van-search/format-trigger": {
2497
- "type": "string",
2498
- "description": "格式化函数触发的时机,可选值为 `onBlur`, 默认值: `onChange`"
2499
- },
2500
- "van-search/input-align": {
2501
- "type": "string",
2502
- "description": "输入框内容对齐方式,可选值为 `center` `right`, 默认值: `left`"
2503
- },
2504
- "van-search/left-icon": {
2505
- "type": "string",
2506
- "description": "输入框左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: `search`"
2507
- },
2508
- "van-search/right-icon": {
2509
- "type": "string",
2510
- "description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2511
- },
2512
- "van-search/autocomplete": {
2513
- "type": "string",
2514
- "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
2515
- },
2516
2420
  "van-radio/name": {
2517
2421
  "type": "any",
2518
2422
  "description": "标识符, 默认值: -"
@@ -2605,17 +2509,113 @@
2605
2509
  "type": "boolean",
2606
2510
  "description": "是否允许半选, 默认值: `false`"
2607
2511
  },
2608
- "van-rate/readonly": {
2609
- "type": "boolean",
2610
- "description": "是否为只读状态,只读状态下无法修改评分, 默认值: `false`"
2512
+ "van-rate/readonly": {
2513
+ "type": "boolean",
2514
+ "description": "是否为只读状态,只读状态下无法修改评分, 默认值: `false`"
2515
+ },
2516
+ "van-rate/disabled": {
2517
+ "type": "boolean",
2518
+ "description": "是否禁用评分, 默认值: `false`"
2519
+ },
2520
+ "van-rate/touchable": {
2521
+ "type": "boolean",
2522
+ "description": "是否可以通过滑动手势选择评分, 默认值: `true`"
2523
+ },
2524
+ "van-search/v-model": {
2525
+ "type": "number | string",
2526
+ "description": "当前输入的值, 默认值: -"
2527
+ },
2528
+ "van-search/label": {
2529
+ "type": "string",
2530
+ "description": "搜索框左侧文本, 默认值: -"
2531
+ },
2532
+ "van-search/name": {
2533
+ "type": "string",
2534
+ "description": "名称,作为提交表单时的标识符, 默认值: -"
2535
+ },
2536
+ "van-search/shape": {
2537
+ "type": "string",
2538
+ "description": "搜索框形状,可选值为 `round`, 默认值: `square`"
2539
+ },
2540
+ "van-search/id": {
2541
+ "type": "string",
2542
+ "description": "搜索框 id,同时会设置 label 的 for 属性, 默认值: -"
2543
+ },
2544
+ "van-search/background": {
2545
+ "type": "string",
2546
+ "description": "搜索框外部背景色, 默认值: `#f2f2f2`"
2547
+ },
2548
+ "van-search/maxlength": {
2549
+ "type": "number | string",
2550
+ "description": "输入的最大字符数, 默认值: -"
2551
+ },
2552
+ "van-search/placeholder": {
2553
+ "type": "string",
2554
+ "description": "占位提示文字, 默认值: -"
2555
+ },
2556
+ "van-search/clearable": {
2557
+ "type": "boolean",
2558
+ "description": "是否启用清除图标,点击清除图标后会清空输入框, 默认值: `true`"
2559
+ },
2560
+ "van-search/clear-icon": {
2561
+ "type": "string",
2562
+ "description": "清除[图标名称](#/zh-CN/icon)或图片链接, 默认值: `clear`"
2563
+ },
2564
+ "van-search/clear-trigger": {
2565
+ "type": "string",
2566
+ "description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示, 默认值: `focus`"
2567
+ },
2568
+ "van-search/autofocus": {
2569
+ "type": "boolean",
2570
+ "description": "是否自动聚焦,iOS 系统不支持该属性, 默认值: `false`"
2571
+ },
2572
+ "van-search/show-action": {
2573
+ "type": "boolean",
2574
+ "description": "是否在搜索框右侧显示取消按钮, 默认值: `false`"
2575
+ },
2576
+ "van-search/action-text": {
2577
+ "type": "boolean",
2578
+ "description": "取消按钮文字, 默认值: `取消`"
2579
+ },
2580
+ "van-search/disabled": {
2581
+ "type": "boolean",
2582
+ "description": "是否禁用输入框, 默认值: `false`"
2583
+ },
2584
+ "van-search/readonly": {
2585
+ "type": "boolean",
2586
+ "description": "是否将输入框设为只读状态,只读状态下无法输入内容, 默认值: `false`"
2587
+ },
2588
+ "van-search/error": {
2589
+ "type": "boolean",
2590
+ "description": "是否将输入内容标红, 默认值: `false`"
2591
+ },
2592
+ "van-search/error-message": {
2593
+ "type": "string",
2594
+ "description": "底部错误提示文案,为空时不展示, 默认值: -"
2595
+ },
2596
+ "van-search/formatter": {
2597
+ "type": "(val: string) => string",
2598
+ "description": "输入内容格式化函数, 默认值: -"
2599
+ },
2600
+ "van-search/format-trigger": {
2601
+ "type": "string",
2602
+ "description": "格式化函数触发的时机,可选值为 `onBlur`, 默认值: `onChange`"
2603
+ },
2604
+ "van-search/input-align": {
2605
+ "type": "string",
2606
+ "description": "输入框内容对齐方式,可选值为 `center` `right`, 默认值: `left`"
2611
2607
  },
2612
- "van-rate/disabled": {
2613
- "type": "boolean",
2614
- "description": "是否禁用评分, 默认值: `false`"
2608
+ "van-search/left-icon": {
2609
+ "type": "string",
2610
+ "description": "输入框左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: `search`"
2615
2611
  },
2616
- "van-rate/touchable": {
2617
- "type": "boolean",
2618
- "description": "是否可以通过滑动手势选择评分, 默认值: `true`"
2612
+ "van-search/right-icon": {
2613
+ "type": "string",
2614
+ "description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2615
+ },
2616
+ "van-search/autocomplete": {
2617
+ "type": "string",
2618
+ "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
2619
2619
  },
2620
2620
  "van-share-sheet/v-model:show": {
2621
2621
  "type": "boolean",
@@ -2716,6 +2716,49 @@
2716
2716
  "type": "boolean",
2717
2717
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
2718
2718
  },
2719
+ "van-skeleton/row": {
2720
+ "type": "number | string",
2721
+ "description": "段落占位图行数, 默认值: `0`"
2722
+ },
2723
+ "van-skeleton/row-width": {
2724
+ "type": "number | string \\",
2725
+ "description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\",
2726
+ "options": [
2727
+ "string)[]_"
2728
+ ]
2729
+ },
2730
+ "van-skeleton/title": {
2731
+ "type": "boolean",
2732
+ "description": "是否显示标题占位图, 默认值: `false`"
2733
+ },
2734
+ "van-skeleton/avatar": {
2735
+ "type": "boolean",
2736
+ "description": "是否显示头像占位图, 默认值: `false`"
2737
+ },
2738
+ "van-skeleton/loading": {
2739
+ "type": "boolean",
2740
+ "description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
2741
+ },
2742
+ "van-skeleton/animate": {
2743
+ "type": "boolean",
2744
+ "description": "是否开启动画, 默认值: `true`"
2745
+ },
2746
+ "van-skeleton/round": {
2747
+ "type": "boolean",
2748
+ "description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
2749
+ },
2750
+ "van-skeleton/title-width": {
2751
+ "type": "number | string",
2752
+ "description": "标题占位图宽度, 默认值: `40%`"
2753
+ },
2754
+ "van-skeleton/avatar-size": {
2755
+ "type": "number | string",
2756
+ "description": "头像占位图大小, 默认值: `32px`"
2757
+ },
2758
+ "van-skeleton/avatar-shape": {
2759
+ "type": "string",
2760
+ "description": "头像占位图形状,可选值为 `square`, 默认值: `round`"
2761
+ },
2719
2762
  "van-slider/v-model": {
2720
2763
  "type": "number | [number, number]",
2721
2764
  "description": "当前进度百分比,在双滑块模式下为数组格式, 默认值: `0`"
@@ -2768,49 +2811,6 @@
2768
2811
  "type": "boolean",
2769
2812
  "description": "是否垂直展示, 默认值: `false`"
2770
2813
  },
2771
- "van-skeleton/row": {
2772
- "type": "number | string",
2773
- "description": "段落占位图行数, 默认值: `0`"
2774
- },
2775
- "van-skeleton/row-width": {
2776
- "type": "number | string \\",
2777
- "description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\",
2778
- "options": [
2779
- "string)[]_"
2780
- ]
2781
- },
2782
- "van-skeleton/title": {
2783
- "type": "boolean",
2784
- "description": "是否显示标题占位图, 默认值: `false`"
2785
- },
2786
- "van-skeleton/avatar": {
2787
- "type": "boolean",
2788
- "description": "是否显示头像占位图, 默认值: `false`"
2789
- },
2790
- "van-skeleton/loading": {
2791
- "type": "boolean",
2792
- "description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
2793
- },
2794
- "van-skeleton/animate": {
2795
- "type": "boolean",
2796
- "description": "是否开启动画, 默认值: `true`"
2797
- },
2798
- "van-skeleton/round": {
2799
- "type": "boolean",
2800
- "description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
2801
- },
2802
- "van-skeleton/title-width": {
2803
- "type": "number | string",
2804
- "description": "标题占位图宽度, 默认值: `40%`"
2805
- },
2806
- "van-skeleton/avatar-size": {
2807
- "type": "number | string",
2808
- "description": "头像占位图大小, 默认值: `32px`"
2809
- },
2810
- "van-skeleton/avatar-shape": {
2811
- "type": "string",
2812
- "description": "头像占位图形状,可选值为 `square`, 默认值: `round`"
2813
- },
2814
2814
  "van-stepper/v-model": {
2815
2815
  "type": "number | string",
2816
2816
  "description": "当前输入的值, 默认值: -"
@@ -2902,61 +2902,37 @@
2902
2902
  "type": "boolean",
2903
2903
  "description": "是否允许输入的值为空, 默认值: `false`"
2904
2904
  },
2905
- "van-submit-bar/price": {
2906
- "type": "number",
2907
- "description": "金额(单位分), 默认值: -"
2908
- },
2909
- "van-submit-bar/decimal-length": {
2905
+ "van-steps/active": {
2910
2906
  "type": "number | string",
2911
- "description": "金额小数点位数, 默认值: `2`"
2912
- },
2913
- "van-submit-bar/label": {
2914
- "type": "string",
2915
- "description": "金额左侧文案, 默认值: `合计:`"
2916
- },
2917
- "van-submit-bar/suffix-label": {
2918
- "type": "string",
2919
- "description": "金额右侧文案, 默认值: -"
2907
+ "description": "当前步骤对应的索引值, 默认值: `0`"
2920
2908
  },
2921
- "van-submit-bar/text-align": {
2909
+ "van-steps/direction": {
2922
2910
  "type": "string",
2923
- "description": "金额文案对齐方向,可选值为 `left`, 默认值: `right`"
2911
+ "description": "步骤条方向,可选值为 `vertical`, 默认值: `horizontal`"
2924
2912
  },
2925
- "van-submit-bar/button-text": {
2913
+ "van-steps/active-icon": {
2926
2914
  "type": "string",
2927
- "description": "按钮文字, 默认值: -"
2915
+ "description": "当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: `checked`"
2928
2916
  },
2929
- "van-submit-bar/button-type": {
2917
+ "van-steps/inactive-icon": {
2930
2918
  "type": "string",
2931
- "description": "按钮类型, 默认值: `danger`"
2919
+ "description": "非当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: -"
2932
2920
  },
2933
- "van-submit-bar/button-color": {
2921
+ "van-steps/finish-icon": {
2934
2922
  "type": "string",
2935
- "description": "自定义按钮颜色, 默认值: -"
2923
+ "description": "已完成步骤对应的底部图标,优先级高于 `inactive-icon`,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: -"
2936
2924
  },
2937
- "van-submit-bar/tip": {
2925
+ "van-steps/active-color": {
2938
2926
  "type": "string",
2939
- "description": "在订单栏上方的提示文案, 默认值: -"
2927
+ "description": "当前步骤和已完成步骤的颜色, 默认值: `#07c160`"
2940
2928
  },
2941
- "van-submit-bar/tip-icon": {
2929
+ "van-steps/inactive-color": {
2942
2930
  "type": "string",
2943
- "description": "提示文案左侧的[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2931
+ "description": "未激活步骤的颜色, 默认值: `#969799`"
2944
2932
  },
2945
- "van-submit-bar/currency": {
2933
+ "van-steps/icon-prefix": {
2946
2934
  "type": "string",
2947
- "description": "货币符号, 默认值: `¥`"
2948
- },
2949
- "van-submit-bar/disabled": {
2950
- "type": "boolean",
2951
- "description": "是否禁用按钮, 默认值: `false`"
2952
- },
2953
- "van-submit-bar/loading": {
2954
- "type": "boolean",
2955
- "description": "是否显示将按钮显示为加载中状态, 默认值: `false`"
2956
- },
2957
- "van-submit-bar/safe-area-inset-bottom": {
2958
- "type": "boolean",
2959
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
2935
+ "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
2960
2936
  },
2961
2937
  "van-sticky/position": {
2962
2938
  "type": "string",
@@ -2978,61 +2954,61 @@
2978
2954
  "type": "Element",
2979
2955
  "description": "容器对应的 HTML 节点, 默认值: -"
2980
2956
  },
2981
- "van-steps/active": {
2957
+ "van-submit-bar/price": {
2958
+ "type": "number",
2959
+ "description": "金额(单位分), 默认值: -"
2960
+ },
2961
+ "van-submit-bar/decimal-length": {
2982
2962
  "type": "number | string",
2983
- "description": "当前步骤对应的索引值, 默认值: `0`"
2963
+ "description": "金额小数点位数, 默认值: `2`"
2984
2964
  },
2985
- "van-steps/direction": {
2965
+ "van-submit-bar/label": {
2986
2966
  "type": "string",
2987
- "description": "步骤条方向,可选值为 `vertical`, 默认值: `horizontal`"
2967
+ "description": "金额左侧文案, 默认值: `合计:`"
2988
2968
  },
2989
- "van-steps/active-icon": {
2969
+ "van-submit-bar/suffix-label": {
2990
2970
  "type": "string",
2991
- "description": "当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: `checked`"
2971
+ "description": "金额右侧文案, 默认值: -"
2992
2972
  },
2993
- "van-steps/inactive-icon": {
2973
+ "van-submit-bar/text-align": {
2994
2974
  "type": "string",
2995
- "description": "非当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: -"
2975
+ "description": "金额文案对齐方向,可选值为 `left`, 默认值: `right`"
2996
2976
  },
2997
- "van-steps/finish-icon": {
2977
+ "van-submit-bar/button-text": {
2998
2978
  "type": "string",
2999
- "description": "已完成步骤对应的底部图标,优先级高于 `inactive-icon`,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: -"
2979
+ "description": "按钮文字, 默认值: -"
3000
2980
  },
3001
- "van-steps/active-color": {
2981
+ "van-submit-bar/button-type": {
3002
2982
  "type": "string",
3003
- "description": "当前步骤和已完成步骤的颜色, 默认值: `#07c160`"
2983
+ "description": "按钮类型, 默认值: `danger`"
3004
2984
  },
3005
- "van-steps/inactive-color": {
2985
+ "van-submit-bar/button-color": {
3006
2986
  "type": "string",
3007
- "description": "未激活步骤的颜色, 默认值: `#969799`"
2987
+ "description": "自定义按钮颜色, 默认值: -"
3008
2988
  },
3009
- "van-steps/icon-prefix": {
2989
+ "van-submit-bar/tip": {
3010
2990
  "type": "string",
3011
- "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
3012
- },
3013
- "van-swipe-cell/name": {
3014
- "type": "number | string",
3015
- "description": "标识符,可以在事件参数中获取到, 默认值: `''`"
2991
+ "description": "在订单栏上方的提示文案, 默认值: -"
3016
2992
  },
3017
- "van-swipe-cell/left-width": {
3018
- "type": "number | string",
3019
- "description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
2993
+ "van-submit-bar/tip-icon": {
2994
+ "type": "string",
2995
+ "description": "提示文案左侧的[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
3020
2996
  },
3021
- "van-swipe-cell/right-width": {
3022
- "type": "number | string",
3023
- "description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
2997
+ "van-submit-bar/currency": {
2998
+ "type": "string",
2999
+ "description": "货币符号, 默认值: `¥`"
3024
3000
  },
3025
- "van-swipe-cell/before-close": {
3026
- "type": "(args) => boolean | Promise\\<boolean\\>",
3027
- "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
3001
+ "van-submit-bar/disabled": {
3002
+ "type": "boolean",
3003
+ "description": "是否禁用按钮, 默认值: `false`"
3028
3004
  },
3029
- "van-swipe-cell/disabled": {
3005
+ "van-submit-bar/loading": {
3030
3006
  "type": "boolean",
3031
- "description": "是否禁用滑动, 默认值: `false`"
3007
+ "description": "是否显示将按钮显示为加载中状态, 默认值: `false`"
3032
3008
  },
3033
- "van-swipe-cell/stop-propagation": {
3009
+ "van-submit-bar/safe-area-inset-bottom": {
3034
3010
  "type": "boolean",
3035
- "description": "是否阻止滑动事件冒泡, 默认值: `false`"
3011
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
3036
3012
  },
3037
3013
  "van-swipe/autoplay": {
3038
3014
  "type": "number | string",
@@ -3082,6 +3058,30 @@
3082
3058
  "type": "string",
3083
3059
  "description": "指示器颜色, 默认值: `#1989fa`"
3084
3060
  },
3061
+ "van-swipe-cell/name": {
3062
+ "type": "number | string",
3063
+ "description": "标识符,可以在事件参数中获取到, 默认值: `''`"
3064
+ },
3065
+ "van-swipe-cell/left-width": {
3066
+ "type": "number | string",
3067
+ "description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3068
+ },
3069
+ "van-swipe-cell/right-width": {
3070
+ "type": "number | string",
3071
+ "description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3072
+ },
3073
+ "van-swipe-cell/before-close": {
3074
+ "type": "(args) => boolean | Promise\\<boolean\\>",
3075
+ "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
3076
+ },
3077
+ "van-swipe-cell/disabled": {
3078
+ "type": "boolean",
3079
+ "description": "是否禁用滑动, 默认值: `false`"
3080
+ },
3081
+ "van-swipe-cell/stop-propagation": {
3082
+ "type": "boolean",
3083
+ "description": "是否阻止滑动事件冒泡, 默认值: `false`"
3084
+ },
3085
3085
  "van-switch/v-model": {
3086
3086
  "type": "any",
3087
3087
  "description": "开关选中状态, 默认值: `false`"
@@ -3453,12 +3453,12 @@
3453
3453
  "type": "number | string \\",
3454
3454
  "description": "文件大小限制,单位为 `byte`, 默认值: (file: File) => boolean_",
3455
3455
  "options": [
3456
- "-"
3456
+ "Infinity"
3457
3457
  ]
3458
3458
  },
3459
3459
  "van-uploader/max-count": {
3460
3460
  "type": "number | string",
3461
- "description": "文件上传数量限制, 默认值: -"
3461
+ "description": "文件上传数量限制, 默认值: `Infinity`"
3462
3462
  },
3463
3463
  "van-uploader/result-type": {
3464
3464
  "type": "string",