vant 3.3.6 → 3.4.2

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