vant 3.4.1 → 3.4.5

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