vant 3.3.7 → 3.4.3

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