vant 3.4.0 → 3.4.4

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