vant 3.2.3 → 3.2.7

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 (1109) hide show
  1. package/es/action-bar/ActionBar.d.ts +8 -0
  2. package/es/action-bar/ActionBar.js +8 -6
  3. package/es/action-bar/index.css +1 -1
  4. package/es/action-bar/index.d.ts +1 -0
  5. package/es/action-bar/index.less +1 -1
  6. package/es/action-bar/var.less +1 -1
  7. package/es/action-bar-button/ActionBarButton.d.ts +14 -1
  8. package/es/action-bar-button/ActionBarButton.js +13 -11
  9. package/es/action-bar-button/index.d.ts +1 -0
  10. package/es/action-bar-icon/ActionBarIcon.d.ts +15 -0
  11. package/es/action-bar-icon/ActionBarIcon.js +17 -15
  12. package/es/action-bar-icon/index.css +1 -1
  13. package/es/action-bar-icon/index.d.ts +1 -0
  14. package/es/action-bar-icon/index.less +1 -1
  15. package/es/action-bar-icon/var.less +1 -1
  16. package/es/action-sheet/ActionSheet.d.ts +76 -13
  17. package/es/action-sheet/ActionSheet.js +25 -33
  18. package/es/action-sheet/index.css +1 -1
  19. package/es/action-sheet/index.d.ts +18 -11
  20. package/es/action-sheet/index.less +2 -7
  21. package/es/action-sheet/var.less +4 -5
  22. package/es/address-edit/AddressEdit.d.ts +16 -18
  23. package/es/address-edit/AddressEdit.js +17 -32
  24. package/es/address-edit/AddressEditDetail.js +12 -12
  25. package/es/address-edit/index.css +1 -1
  26. package/es/address-edit/index.d.ts +10 -9
  27. package/es/address-edit/index.less +2 -2
  28. package/es/address-edit/style/index.js +0 -3
  29. package/es/address-edit/style/less.js +0 -3
  30. package/es/address-list/AddressList.d.ts +25 -6
  31. package/es/address-list/AddressList.js +19 -26
  32. package/es/address-list/AddressListItem.d.ts +4 -4
  33. package/es/address-list/AddressListItem.js +9 -10
  34. package/es/address-list/index.css +1 -1
  35. package/es/address-list/index.d.ts +9 -8
  36. package/es/address-list/index.less +2 -2
  37. package/es/address-list/var.less +2 -2
  38. package/es/area/Area.d.ts +45 -46
  39. package/es/area/Area.js +24 -21
  40. package/es/area/index.d.ts +28 -27
  41. package/es/badge/Badge.d.ts +23 -7
  42. package/es/badge/Badge.js +18 -18
  43. package/es/badge/index.css +1 -1
  44. package/es/badge/index.d.ts +9 -8
  45. package/es/badge/index.less +5 -3
  46. package/es/button/Button.d.ts +59 -19
  47. package/es/button/Button.js +30 -42
  48. package/es/button/index.css +1 -1
  49. package/es/button/index.d.ts +32 -31
  50. package/es/button/types.d.ts +5 -0
  51. package/es/button/types.js +1 -0
  52. package/es/button/var.less +1 -1
  53. package/es/calendar/Calendar.d.ts +48 -49
  54. package/es/calendar/Calendar.js +53 -45
  55. package/es/calendar/CalendarDay.d.ts +7 -7
  56. package/es/calendar/CalendarDay.js +9 -14
  57. package/es/calendar/CalendarHeader.js +6 -4
  58. package/es/calendar/CalendarMonth.d.ts +20 -20
  59. package/es/calendar/CalendarMonth.js +15 -23
  60. package/es/calendar/index.css +1 -1
  61. package/es/calendar/index.d.ts +29 -28
  62. package/es/calendar/index.less +3 -3
  63. package/es/calendar/types.d.ts +1 -1
  64. package/es/calendar/utils.d.ts +2 -2
  65. package/es/calendar/utils.js +1 -3
  66. package/es/calendar/var.less +2 -2
  67. package/es/card/Card.d.ts +21 -3
  68. package/es/card/Card.js +21 -21
  69. package/es/card/index.css +1 -1
  70. package/es/card/index.d.ts +5 -4
  71. package/es/card/index.less +1 -1
  72. package/es/card/var.less +3 -3
  73. package/es/cascader/Cascader.d.ts +33 -22
  74. package/es/cascader/Cascader.js +75 -72
  75. package/es/cascader/index.css +1 -1
  76. package/es/cascader/index.d.ts +19 -18
  77. package/es/cascader/index.less +0 -5
  78. package/es/cascader/types.d.ts +18 -0
  79. package/es/cascader/types.js +1 -0
  80. package/es/cascader/var.less +2 -3
  81. package/es/cell/Cell.d.ts +35 -5
  82. package/es/cell/Cell.js +12 -17
  83. package/es/cell/index.css +1 -1
  84. package/es/cell/index.d.ts +3 -3
  85. package/es/cell/index.less +1 -1
  86. package/es/cell/var.less +3 -3
  87. package/es/cell-group/CellGroup.d.ts +10 -0
  88. package/es/cell-group/CellGroup.js +12 -9
  89. package/es/cell-group/index.css +1 -1
  90. package/es/cell-group/index.d.ts +1 -0
  91. package/es/cell-group/index.less +1 -1
  92. package/es/cell-group/var.less +2 -2
  93. package/es/checkbox/Checkbox.d.ts +11 -11
  94. package/es/checkbox/Checkbox.js +12 -7
  95. package/es/checkbox/Checker.d.ts +14 -14
  96. package/es/checkbox/Checker.js +13 -25
  97. package/es/checkbox/index.css +1 -1
  98. package/es/checkbox/index.d.ts +7 -6
  99. package/es/checkbox/types.d.ts +3 -0
  100. package/es/checkbox/var.less +1 -1
  101. package/es/checkbox-group/CheckboxGroup.d.ts +8 -8
  102. package/es/checkbox-group/CheckboxGroup.js +17 -15
  103. package/es/checkbox-group/index.d.ts +6 -5
  104. package/es/checkbox-group/types.d.ts +2 -1
  105. package/es/circle/Circle.d.ts +50 -14
  106. package/es/circle/Circle.js +22 -40
  107. package/es/circle/index.d.ts +23 -23
  108. package/es/col/Col.d.ts +17 -5
  109. package/es/col/Col.js +11 -15
  110. package/es/col/index.d.ts +4 -3
  111. package/es/collapse/Collapse.d.ts +13 -1
  112. package/es/collapse/Collapse.js +14 -12
  113. package/es/collapse/index.d.ts +1 -0
  114. package/es/collapse-item/CollapseItem.d.ts +5 -5
  115. package/es/collapse-item/CollapseItem.js +18 -11
  116. package/es/collapse-item/index.css +1 -1
  117. package/es/collapse-item/index.d.ts +3 -2
  118. package/es/collapse-item/index.less +1 -1
  119. package/es/collapse-item/var.less +3 -3
  120. package/es/composables/use-lock-scroll.js +3 -3
  121. package/es/composables/use-placeholder.d.ts +1 -1
  122. package/es/config-provider/ConfigProvider.d.ts +14 -5
  123. package/es/config-provider/ConfigProvider.js +11 -12
  124. package/es/config-provider/index.d.ts +6 -5
  125. package/es/contact-card/ContactCard.d.ts +19 -5
  126. package/es/contact-card/ContactCard.js +14 -14
  127. package/es/contact-card/index.css +1 -1
  128. package/es/contact-card/index.d.ts +6 -6
  129. package/es/contact-card/index.less +2 -2
  130. package/es/contact-edit/ContactEdit.d.ts +17 -1
  131. package/es/contact-edit/ContactEdit.js +21 -22
  132. package/es/contact-edit/index.d.ts +1 -1
  133. package/es/contact-edit/style/index.js +0 -5
  134. package/es/contact-edit/style/less.js +0 -5
  135. package/es/contact-list/ContactList.d.ts +8 -1
  136. package/es/contact-list/ContactList.js +12 -9
  137. package/es/contact-list/index.css +1 -1
  138. package/es/contact-list/index.d.ts +1 -1
  139. package/es/contact-list/index.less +1 -1
  140. package/es/count-down/CountDown.d.ts +16 -24
  141. package/es/count-down/CountDown.js +11 -16
  142. package/es/count-down/index.d.ts +12 -11
  143. package/es/count-down/types.d.ts +11 -0
  144. package/es/count-down/types.js +1 -0
  145. package/es/coupon/Coupon.d.ts +3 -3
  146. package/es/coupon/Coupon.js +4 -23
  147. package/es/coupon/index.css +1 -1
  148. package/es/coupon/index.d.ts +3 -3
  149. package/es/coupon/index.less +3 -2
  150. package/es/coupon/utils.d.ts +3 -0
  151. package/es/coupon/utils.js +7 -0
  152. package/es/coupon/var.less +3 -2
  153. package/es/coupon-cell/CouponCell.d.ts +27 -3
  154. package/es/coupon-cell/CouponCell.js +18 -22
  155. package/es/coupon-cell/index.d.ts +2 -1
  156. package/es/coupon-list/CouponList.d.ts +89 -35
  157. package/es/coupon-list/CouponList.js +32 -61
  158. package/es/coupon-list/index.css +1 -1
  159. package/es/coupon-list/index.d.ts +44 -43
  160. package/es/coupon-list/index.less +10 -5
  161. package/es/coupon-list/var.less +1 -1
  162. package/es/datetime-picker/DatePicker.d.ts +23 -25
  163. package/es/datetime-picker/DatePicker.js +15 -15
  164. package/es/datetime-picker/DatetimePicker.d.ts +3 -12
  165. package/es/datetime-picker/DatetimePicker.js +10 -9
  166. package/es/datetime-picker/TimePicker.d.ts +16 -16
  167. package/es/datetime-picker/TimePicker.js +19 -28
  168. package/es/datetime-picker/index.d.ts +3 -10
  169. package/es/datetime-picker/utils.d.ts +9 -9
  170. package/es/datetime-picker/utils.js +4 -6
  171. package/es/dialog/Dialog.d.ts +60 -9
  172. package/es/dialog/Dialog.js +34 -39
  173. package/es/dialog/function-call.d.ts +20 -45
  174. package/es/dialog/function-call.js +2 -2
  175. package/es/dialog/index.css +1 -1
  176. package/es/dialog/index.d.ts +3 -3
  177. package/es/dialog/index.less +1 -1
  178. package/es/dialog/types.d.ts +36 -0
  179. package/es/dialog/types.js +1 -0
  180. package/es/dialog/var.less +1 -1
  181. package/es/divider/Divider.d.ts +15 -3
  182. package/es/divider/Divider.js +11 -12
  183. package/es/divider/index.css +1 -1
  184. package/es/divider/index.d.ts +2 -2
  185. package/es/divider/var.less +1 -1
  186. package/es/dropdown-item/DropdownItem.d.ts +10 -10
  187. package/es/dropdown-item/DropdownItem.js +20 -14
  188. package/es/dropdown-item/index.d.ts +7 -5
  189. package/es/dropdown-menu/DropdownMenu.d.ts +21 -21
  190. package/es/dropdown-menu/DropdownMenu.js +15 -18
  191. package/es/dropdown-menu/index.css +1 -1
  192. package/es/dropdown-menu/index.d.ts +12 -10
  193. package/es/dropdown-menu/index.less +1 -9
  194. package/es/dropdown-menu/var.less +2 -2
  195. package/es/empty/Empty.d.ts +13 -3
  196. package/es/empty/Empty.js +12 -12
  197. package/es/empty/Network.js +8 -27
  198. package/es/empty/index.css +1 -1
  199. package/es/empty/index.d.ts +5 -4
  200. package/es/empty/var.less +1 -1
  201. package/es/field/Field.d.ts +83 -81
  202. package/es/field/Field.js +64 -63
  203. package/es/field/index.css +1 -1
  204. package/es/field/index.d.ts +40 -38
  205. package/es/field/utils.d.ts +2 -2
  206. package/es/field/utils.js +9 -6
  207. package/es/field/var.less +3 -3
  208. package/es/form/Form.d.ts +13 -13
  209. package/es/form/Form.js +11 -13
  210. package/es/form/index.d.ts +9 -7
  211. package/es/grid/Grid.d.ts +3 -2
  212. package/es/grid/Grid.js +10 -12
  213. package/es/grid/index.d.ts +1 -1
  214. package/es/grid-item/GridItem.d.ts +16 -2
  215. package/es/grid-item/GridItem.js +17 -15
  216. package/es/grid-item/index.css +1 -1
  217. package/es/grid-item/index.d.ts +3 -2
  218. package/es/grid-item/index.less +1 -1
  219. package/es/grid-item/var.less +1 -1
  220. package/es/icon/Icon.d.ts +18 -5
  221. package/es/icon/Icon.js +16 -19
  222. package/es/icon/index.css +1 -1
  223. package/es/icon/index.d.ts +6 -5
  224. package/es/image/Image.d.ts +39 -10
  225. package/es/image/Image.js +41 -55
  226. package/es/image/index.css +1 -1
  227. package/es/image/index.d.ts +12 -12
  228. package/es/image/index.less +1 -1
  229. package/es/image/var.less +1 -1
  230. package/es/image-preview/ImagePreview.d.ts +54 -54
  231. package/es/image-preview/ImagePreview.js +23 -44
  232. package/es/image-preview/ImagePreviewItem.js +10 -23
  233. package/es/image-preview/function-call.d.ts +31 -31
  234. package/es/image-preview/function-call.js +7 -3
  235. package/es/image-preview/index.css +1 -1
  236. package/es/image-preview/index.d.ts +2 -0
  237. package/es/image-preview/index.less +1 -6
  238. package/es/image-preview/var.less +0 -1
  239. package/es/index-anchor/IndexAnchor.d.ts +5 -0
  240. package/es/index-anchor/IndexAnchor.js +10 -8
  241. package/es/index-anchor/index.css +1 -1
  242. package/es/index-anchor/index.d.ts +1 -0
  243. package/es/index-anchor/index.less +2 -2
  244. package/es/index-anchor/var.less +1 -1
  245. package/es/index-bar/IndexBar.d.ts +2 -2
  246. package/es/index-bar/IndexBar.js +11 -24
  247. package/es/index-bar/index.d.ts +2 -0
  248. package/es/index.d.ts +1 -1
  249. package/es/index.js +1 -1
  250. package/es/list/List.d.ts +20 -20
  251. package/es/list/List.js +11 -16
  252. package/es/list/index.css +1 -1
  253. package/es/list/index.d.ts +12 -10
  254. package/es/list/var.less +1 -1
  255. package/es/loading/Loading.d.ts +17 -5
  256. package/es/loading/Loading.js +14 -15
  257. package/es/loading/index.css +1 -1
  258. package/es/loading/index.d.ts +6 -6
  259. package/es/loading/var.less +1 -1
  260. package/es/locale/index.js +5 -1
  261. package/es/locale/lang/de-DE-formal.d.ts +0 -1
  262. package/es/locale/lang/de-DE-formal.js +0 -1
  263. package/es/locale/lang/de-DE.d.ts +0 -1
  264. package/es/locale/lang/de-DE.js +0 -1
  265. package/es/locale/lang/en-US.d.ts +0 -1
  266. package/es/locale/lang/en-US.js +0 -1
  267. package/es/locale/lang/es-ES.d.ts +0 -1
  268. package/es/locale/lang/es-ES.js +0 -1
  269. package/es/locale/lang/fr-FR.d.ts +0 -1
  270. package/es/locale/lang/fr-FR.js +0 -1
  271. package/es/locale/lang/ja-JP.d.ts +0 -1
  272. package/es/locale/lang/ja-JP.js +0 -1
  273. package/es/locale/lang/nb-NO.d.ts +0 -1
  274. package/es/locale/lang/nb-NO.js +0 -1
  275. package/es/locale/lang/ro-RO.d.ts +0 -1
  276. package/es/locale/lang/ro-RO.js +0 -1
  277. package/es/locale/lang/ru-RU.d.ts +0 -1
  278. package/es/locale/lang/ru-RU.js +0 -1
  279. package/es/locale/lang/th-TH.d.ts +0 -1
  280. package/es/locale/lang/th-TH.js +0 -1
  281. package/es/locale/lang/tr-TR.d.ts +0 -1
  282. package/es/locale/lang/tr-TR.js +0 -1
  283. package/es/locale/lang/zh-CN.d.ts +0 -1
  284. package/es/locale/lang/zh-CN.js +0 -1
  285. package/es/locale/lang/zh-HK.d.ts +0 -1
  286. package/es/locale/lang/zh-HK.js +0 -1
  287. package/es/locale/lang/zh-TW.d.ts +0 -1
  288. package/es/locale/lang/zh-TW.js +0 -1
  289. package/es/nav-bar/NavBar.d.ts +16 -0
  290. package/es/nav-bar/NavBar.js +20 -18
  291. package/es/nav-bar/index.css +1 -1
  292. package/es/nav-bar/index.d.ts +1 -0
  293. package/es/nav-bar/index.less +1 -5
  294. package/es/nav-bar/var.less +1 -1
  295. package/es/notice-bar/NoticeBar.d.ts +19 -19
  296. package/es/notice-bar/NoticeBar.js +10 -15
  297. package/es/notice-bar/index.css +1 -1
  298. package/es/notice-bar/index.d.ts +14 -12
  299. package/es/notice-bar/index.less +1 -1
  300. package/es/notify/Notify.d.ts +52 -13
  301. package/es/notify/Notify.js +21 -16
  302. package/es/notify/function-call.d.ts +12 -23
  303. package/es/notify/function-call.js +18 -22
  304. package/es/notify/index.css +1 -1
  305. package/es/notify/index.d.ts +3 -3
  306. package/es/notify/index.less +4 -4
  307. package/es/notify/types.d.ts +20 -0
  308. package/es/notify/types.js +1 -0
  309. package/es/number-keyboard/NumberKeyboard.d.ts +58 -11
  310. package/es/number-keyboard/NumberKeyboard.js +30 -37
  311. package/es/number-keyboard/NumberKeyboardKey.js +7 -6
  312. package/es/number-keyboard/index.css +1 -1
  313. package/es/number-keyboard/index.d.ts +16 -16
  314. package/es/number-keyboard/index.less +3 -7
  315. package/es/number-keyboard/var.less +1 -1
  316. package/es/overlay/Overlay.d.ts +13 -1
  317. package/es/overlay/Overlay.js +18 -15
  318. package/es/overlay/index.css +1 -1
  319. package/es/overlay/index.d.ts +1 -0
  320. package/es/overlay/index.less +1 -1
  321. package/es/pagination/Pagination.d.ts +46 -16
  322. package/es/pagination/Pagination.js +24 -42
  323. package/es/pagination/index.css +1 -1
  324. package/es/pagination/index.d.ts +19 -19
  325. package/es/pagination/index.less +1 -1
  326. package/es/pagination/var.less +1 -1
  327. package/es/password-input/PasswordInput.d.ts +6 -6
  328. package/es/password-input/PasswordInput.js +10 -14
  329. package/es/password-input/index.css +1 -1
  330. package/es/password-input/index.d.ts +6 -6
  331. package/es/password-input/index.less +3 -3
  332. package/es/password-input/var.less +3 -3
  333. package/es/picker/Picker.d.ts +63 -24
  334. package/es/picker/Picker.js +24 -39
  335. package/es/picker/PickerColumn.d.ts +15 -16
  336. package/es/picker/PickerColumn.js +30 -53
  337. package/es/picker/index.css +1 -1
  338. package/es/picker/index.d.ts +24 -22
  339. package/es/picker/index.less +4 -12
  340. package/es/picker/types.d.ts +2 -2
  341. package/es/picker/var.less +9 -3
  342. package/es/popover/Popover.d.ts +69 -29
  343. package/es/popover/Popover.js +37 -50
  344. package/es/popover/index.css +1 -1
  345. package/es/popover/index.d.ts +35 -34
  346. package/es/popover/index.less +2 -2
  347. package/es/popover/types.d.ts +11 -0
  348. package/es/popover/types.js +1 -0
  349. package/es/popover/var.less +3 -3
  350. package/es/popup/Popup.d.ts +64 -18
  351. package/es/popup/Popup.js +22 -31
  352. package/es/popup/index.css +1 -1
  353. package/es/popup/index.d.ts +16 -16
  354. package/es/popup/index.less +1 -6
  355. package/es/popup/shared.js +3 -3
  356. package/es/popup/var.less +1 -2
  357. package/es/progress/Progress.d.ts +2 -2
  358. package/es/progress/Progress.js +12 -8
  359. package/es/progress/index.css +1 -1
  360. package/es/progress/index.d.ts +2 -0
  361. package/es/progress/index.less +10 -1
  362. package/es/progress/var.less +1 -0
  363. package/es/pull-refresh/PullRefresh.d.ts +29 -9
  364. package/es/pull-refresh/PullRefresh.js +21 -31
  365. package/es/pull-refresh/index.css +1 -1
  366. package/es/pull-refresh/index.d.ts +10 -12
  367. package/es/pull-refresh/var.less +1 -1
  368. package/es/radio/Radio.d.ts +14 -9
  369. package/es/radio/Radio.js +5 -4
  370. package/es/radio/index.css +1 -1
  371. package/es/radio/index.d.ts +6 -5
  372. package/es/radio/var.less +1 -1
  373. package/es/radio-group/RadioGroup.d.ts +4 -2
  374. package/es/radio-group/RadioGroup.js +9 -8
  375. package/es/radio-group/index.d.ts +1 -0
  376. package/es/rate/Rate.d.ts +47 -14
  377. package/es/rate/Rate.js +24 -34
  378. package/es/rate/index.d.ts +22 -21
  379. package/es/row/Row.d.ts +22 -5
  380. package/es/row/Row.js +13 -17
  381. package/es/row/index.d.ts +8 -8
  382. package/es/search/Search.d.ts +72 -64
  383. package/es/search/Search.js +15 -21
  384. package/es/search/index.css +1 -1
  385. package/es/search/index.d.ts +43 -35
  386. package/es/search/index.less +2 -2
  387. package/es/search/var.less +1 -1
  388. package/es/share-sheet/ShareSheet.d.ts +64 -10
  389. package/es/share-sheet/ShareSheet.js +22 -23
  390. package/es/share-sheet/index.css +1 -1
  391. package/es/share-sheet/index.d.ts +15 -8
  392. package/es/share-sheet/index.less +0 -4
  393. package/es/share-sheet/var.less +3 -3
  394. package/es/sidebar/Sidebar.d.ts +8 -1
  395. package/es/sidebar/Sidebar.js +10 -11
  396. package/es/sidebar/index.d.ts +1 -0
  397. package/es/sidebar-item/SidebarItem.d.ts +12 -0
  398. package/es/sidebar-item/SidebarItem.js +13 -11
  399. package/es/sidebar-item/index.css +1 -1
  400. package/es/sidebar-item/index.d.ts +1 -0
  401. package/es/sidebar-item/index.less +1 -1
  402. package/es/sidebar-item/var.less +2 -2
  403. package/es/skeleton/Skeleton.d.ts +36 -7
  404. package/es/skeleton/Skeleton.js +22 -25
  405. package/es/skeleton/index.css +1 -1
  406. package/es/skeleton/index.d.ts +10 -9
  407. package/es/skeleton/index.less +2 -2
  408. package/es/slider/Slider.d.ts +37 -9
  409. package/es/slider/Slider.js +37 -44
  410. package/es/slider/index.css +1 -1
  411. package/es/slider/index.d.ts +17 -16
  412. package/es/slider/index.less +3 -3
  413. package/es/step/Step.js +4 -3
  414. package/es/step/index.css +1 -1
  415. package/es/step/index.less +1 -1
  416. package/es/step/var.less +1 -1
  417. package/es/stepper/Stepper.d.ts +64 -12
  418. package/es/stepper/Stepper.js +47 -58
  419. package/es/stepper/index.css +1 -1
  420. package/es/stepper/index.d.ts +26 -27
  421. package/es/stepper/index.less +6 -21
  422. package/es/stepper/var.less +1 -2
  423. package/es/steps/Steps.d.ts +23 -22
  424. package/es/steps/Steps.js +12 -20
  425. package/es/steps/index.css +1 -1
  426. package/es/steps/index.d.ts +11 -10
  427. package/es/steps/var.less +1 -1
  428. package/es/sticky/Sticky.d.ts +21 -4
  429. package/es/sticky/Sticky.js +14 -21
  430. package/es/sticky/index.d.ts +6 -6
  431. package/es/style/base.css +1 -1
  432. package/es/style/base.less +4 -0
  433. package/es/style/css-variables.css +1 -1
  434. package/es/style/css-variables.less +3 -1
  435. package/es/style/mixins/hairline.less +3 -3
  436. package/es/style/var.less +5 -3
  437. package/es/submit-bar/SubmitBar.d.ts +40 -11
  438. package/es/submit-bar/SubmitBar.js +24 -30
  439. package/es/submit-bar/index.css +1 -1
  440. package/es/submit-bar/index.d.ts +14 -14
  441. package/es/submit-bar/index.less +3 -3
  442. package/es/submit-bar/var.less +3 -3
  443. package/es/swipe/Swipe.d.ts +32 -32
  444. package/es/swipe/Swipe.js +36 -30
  445. package/es/swipe/index.d.ts +20 -18
  446. package/es/swipe-cell/SwipeCell.d.ts +9 -9
  447. package/es/swipe-cell/SwipeCell.js +18 -17
  448. package/es/swipe-cell/index.d.ts +7 -5
  449. package/es/swipe-item/SwipeItem.js +4 -3
  450. package/es/switch/Switch.d.ts +18 -0
  451. package/es/switch/Switch.js +23 -20
  452. package/es/switch/index.css +1 -1
  453. package/es/switch/index.d.ts +1 -0
  454. package/es/switch/index.less +3 -3
  455. package/es/switch/var.less +1 -1
  456. package/es/tab/Tab.d.ts +19 -1
  457. package/es/tab/Tab.js +17 -15
  458. package/es/tab/index.d.ts +1 -0
  459. package/es/tabbar/Tabbar.d.ts +5 -4
  460. package/es/tabbar/Tabbar.js +11 -14
  461. package/es/tabbar/index.css +1 -1
  462. package/es/tabbar/index.d.ts +3 -2
  463. package/es/tabbar/index.less +1 -1
  464. package/es/tabbar/var.less +1 -1
  465. package/es/tabbar-item/TabbarItem.d.ts +13 -0
  466. package/es/tabbar-item/TabbarItem.js +17 -15
  467. package/es/tabbar-item/index.css +1 -1
  468. package/es/tabbar-item/index.d.ts +1 -0
  469. package/es/tabbar-item/var.less +1 -1
  470. package/es/tabs/Tabs.d.ts +40 -40
  471. package/es/tabs/Tabs.js +33 -39
  472. package/es/tabs/TabsContent.d.ts +7 -7
  473. package/es/tabs/TabsContent.js +9 -17
  474. package/es/tabs/TabsTitle.js +2 -2
  475. package/es/tabs/index.css +1 -1
  476. package/es/tabs/index.d.ts +25 -23
  477. package/es/tabs/index.less +2 -2
  478. package/es/tabs/utils.js +2 -4
  479. package/es/tabs/var.less +2 -2
  480. package/es/tag/Tag.d.ts +25 -6
  481. package/es/tag/Tag.js +19 -19
  482. package/es/tag/index.css +1 -1
  483. package/es/tag/index.d.ts +8 -7
  484. package/es/tag/index.less +6 -6
  485. package/es/tag/var.less +1 -1
  486. package/es/toast/Toast.d.ts +44 -13
  487. package/es/toast/Toast.js +31 -46
  488. package/es/toast/function-call.d.ts +2 -25
  489. package/es/toast/function-call.js +10 -2
  490. package/es/toast/index.css +1 -1
  491. package/es/toast/index.d.ts +3 -3
  492. package/es/toast/index.less +1 -1
  493. package/es/toast/types.d.ts +32 -0
  494. package/es/toast/types.js +1 -0
  495. package/es/tree-select/TreeSelect.d.ts +35 -8
  496. package/es/tree-select/TreeSelect.js +19 -31
  497. package/es/tree-select/index.css +1 -1
  498. package/es/tree-select/index.d.ts +11 -11
  499. package/es/tree-select/index.less +2 -2
  500. package/es/tree-select/var.less +1 -1
  501. package/es/uploader/Uploader.d.ts +66 -66
  502. package/es/uploader/Uploader.js +27 -41
  503. package/es/uploader/UploaderPreviewItem.d.ts +6 -6
  504. package/es/uploader/UploaderPreviewItem.js +14 -16
  505. package/es/uploader/index.css +1 -1
  506. package/es/uploader/index.d.ts +47 -45
  507. package/es/uploader/index.less +4 -5
  508. package/es/uploader/utils.d.ts +3 -3
  509. package/es/uploader/utils.js +2 -10
  510. package/es/uploader/var.less +1 -1
  511. package/{lib/utils/base.d.ts → es/utils/basic.d.ts} +1 -6
  512. package/es/utils/{base.js → basic.js} +1 -7
  513. package/es/utils/constant.d.ts +1 -0
  514. package/es/utils/constant.js +1 -0
  515. package/{lib/utils/create/bem.d.ts → es/utils/create.d.ts} +7 -4
  516. package/es/utils/create.js +58 -0
  517. package/es/utils/deep-assign.d.ts +1 -1
  518. package/es/utils/deep-assign.js +1 -1
  519. package/es/utils/deep-clone.js +2 -2
  520. package/{lib/utils/dom/scroll.d.ts → es/utils/dom.d.ts} +4 -2
  521. package/es/utils/{dom/scroll.js → dom.js} +31 -22
  522. package/es/utils/format.d.ts +12 -0
  523. package/es/utils/format.js +139 -0
  524. package/es/utils/index.d.ts +4 -7
  525. package/es/utils/index.js +5 -8
  526. package/es/utils/interceptor.d.ts +3 -4
  527. package/es/utils/interceptor.js +6 -6
  528. package/es/utils/mount-component.js +5 -3
  529. package/es/utils/props.d.ts +31 -0
  530. package/es/utils/props.js +30 -0
  531. package/es/utils/validate.d.ts +7 -7
  532. package/es/utils/validate.js +8 -22
  533. package/es/utils/with-install.js +1 -1
  534. package/lib/action-bar/ActionBar.d.ts +8 -0
  535. package/lib/action-bar/ActionBar.js +8 -6
  536. package/lib/action-bar/index.css +1 -1
  537. package/lib/action-bar/index.d.ts +1 -0
  538. package/lib/action-bar/index.less +1 -1
  539. package/lib/action-bar/var.less +1 -1
  540. package/lib/action-bar-button/ActionBarButton.d.ts +14 -1
  541. package/lib/action-bar-button/ActionBarButton.js +13 -11
  542. package/lib/action-bar-button/index.d.ts +1 -0
  543. package/lib/action-bar-icon/ActionBarIcon.d.ts +15 -0
  544. package/lib/action-bar-icon/ActionBarIcon.js +16 -14
  545. package/lib/action-bar-icon/index.css +1 -1
  546. package/lib/action-bar-icon/index.d.ts +1 -0
  547. package/lib/action-bar-icon/index.less +1 -1
  548. package/lib/action-bar-icon/var.less +1 -1
  549. package/lib/action-sheet/ActionSheet.d.ts +76 -13
  550. package/lib/action-sheet/ActionSheet.js +24 -32
  551. package/lib/action-sheet/index.css +1 -1
  552. package/lib/action-sheet/index.d.ts +18 -11
  553. package/lib/action-sheet/index.less +2 -7
  554. package/lib/action-sheet/var.less +4 -5
  555. package/lib/address-edit/AddressEdit.d.ts +16 -18
  556. package/lib/address-edit/AddressEdit.js +16 -32
  557. package/lib/address-edit/AddressEditDetail.js +10 -10
  558. package/lib/address-edit/index.css +1 -1
  559. package/lib/address-edit/index.d.ts +10 -9
  560. package/lib/address-edit/index.less +2 -2
  561. package/lib/address-edit/style/index.js +0 -6
  562. package/lib/address-edit/style/less.js +0 -6
  563. package/lib/address-list/AddressList.d.ts +25 -6
  564. package/lib/address-list/AddressList.js +18 -25
  565. package/lib/address-list/AddressListItem.d.ts +4 -4
  566. package/lib/address-list/AddressListItem.js +8 -9
  567. package/lib/address-list/index.css +1 -1
  568. package/lib/address-list/index.d.ts +9 -8
  569. package/lib/address-list/index.less +2 -2
  570. package/lib/address-list/var.less +2 -2
  571. package/lib/area/Area.d.ts +45 -46
  572. package/lib/area/Area.js +22 -19
  573. package/lib/area/index.d.ts +28 -27
  574. package/lib/badge/Badge.d.ts +23 -7
  575. package/lib/badge/Badge.js +16 -16
  576. package/lib/badge/index.css +1 -1
  577. package/lib/badge/index.d.ts +9 -8
  578. package/lib/badge/index.less +5 -3
  579. package/lib/button/Button.d.ts +59 -19
  580. package/lib/button/Button.js +27 -40
  581. package/lib/button/index.css +1 -1
  582. package/lib/button/index.d.ts +32 -31
  583. package/lib/button/types.d.ts +5 -0
  584. package/lib/button/types.js +3 -0
  585. package/lib/button/var.less +1 -1
  586. package/lib/calendar/Calendar.d.ts +48 -49
  587. package/lib/calendar/Calendar.js +52 -44
  588. package/lib/calendar/CalendarDay.d.ts +7 -7
  589. package/lib/calendar/CalendarDay.js +8 -13
  590. package/lib/calendar/CalendarHeader.js +6 -4
  591. package/lib/calendar/CalendarMonth.d.ts +20 -20
  592. package/lib/calendar/CalendarMonth.js +13 -21
  593. package/lib/calendar/index.css +1 -1
  594. package/lib/calendar/index.d.ts +29 -28
  595. package/lib/calendar/index.less +3 -3
  596. package/lib/calendar/types.d.ts +1 -1
  597. package/lib/calendar/utils.d.ts +2 -2
  598. package/lib/calendar/utils.js +9 -7
  599. package/lib/calendar/var.less +2 -2
  600. package/lib/card/Card.d.ts +21 -3
  601. package/lib/card/Card.js +20 -20
  602. package/lib/card/index.css +1 -1
  603. package/lib/card/index.d.ts +5 -4
  604. package/lib/card/index.less +1 -1
  605. package/lib/card/var.less +3 -3
  606. package/lib/cascader/Cascader.d.ts +33 -22
  607. package/lib/cascader/Cascader.js +73 -70
  608. package/lib/cascader/index.css +1 -1
  609. package/lib/cascader/index.d.ts +19 -18
  610. package/lib/cascader/index.less +0 -5
  611. package/lib/cascader/types.d.ts +18 -0
  612. package/lib/cascader/types.js +3 -0
  613. package/lib/cascader/var.less +2 -3
  614. package/lib/cell/Cell.d.ts +35 -5
  615. package/lib/cell/Cell.js +13 -18
  616. package/lib/cell/index.css +1 -1
  617. package/lib/cell/index.d.ts +3 -3
  618. package/lib/cell/index.less +1 -1
  619. package/lib/cell/var.less +3 -3
  620. package/lib/cell-group/CellGroup.d.ts +10 -0
  621. package/lib/cell-group/CellGroup.js +13 -10
  622. package/lib/cell-group/index.css +1 -1
  623. package/lib/cell-group/index.d.ts +1 -0
  624. package/lib/cell-group/index.less +1 -1
  625. package/lib/cell-group/var.less +2 -2
  626. package/lib/checkbox/Checkbox.d.ts +11 -11
  627. package/lib/checkbox/Checkbox.js +12 -7
  628. package/lib/checkbox/Checker.d.ts +14 -14
  629. package/lib/checkbox/Checker.js +12 -24
  630. package/lib/checkbox/index.css +1 -1
  631. package/lib/checkbox/index.d.ts +7 -6
  632. package/lib/checkbox/types.d.ts +3 -0
  633. package/lib/checkbox/var.less +1 -1
  634. package/lib/checkbox-group/CheckboxGroup.d.ts +8 -8
  635. package/lib/checkbox-group/CheckboxGroup.js +16 -14
  636. package/lib/checkbox-group/index.d.ts +6 -5
  637. package/lib/checkbox-group/types.d.ts +2 -1
  638. package/lib/circle/Circle.d.ts +50 -14
  639. package/lib/circle/Circle.js +22 -39
  640. package/lib/circle/index.d.ts +23 -23
  641. package/lib/col/Col.d.ts +17 -5
  642. package/lib/col/Col.js +10 -14
  643. package/lib/col/index.d.ts +4 -3
  644. package/lib/collapse/Collapse.d.ts +13 -1
  645. package/lib/collapse/Collapse.js +14 -12
  646. package/lib/collapse/index.d.ts +1 -0
  647. package/lib/collapse-item/CollapseItem.d.ts +5 -5
  648. package/lib/collapse-item/CollapseItem.js +16 -9
  649. package/lib/collapse-item/index.css +1 -1
  650. package/lib/collapse-item/index.d.ts +3 -2
  651. package/lib/collapse-item/index.less +1 -1
  652. package/lib/collapse-item/var.less +3 -3
  653. package/lib/composables/on-popup-reopen.js +1 -1
  654. package/lib/composables/use-lock-scroll.js +2 -2
  655. package/lib/composables/use-placeholder.d.ts +1 -1
  656. package/lib/composables/use-route.js +1 -1
  657. package/lib/config-provider/ConfigProvider.d.ts +14 -5
  658. package/lib/config-provider/ConfigProvider.js +11 -12
  659. package/lib/config-provider/index.d.ts +6 -5
  660. package/lib/contact-card/ContactCard.d.ts +19 -5
  661. package/lib/contact-card/ContactCard.js +13 -13
  662. package/lib/contact-card/index.css +1 -1
  663. package/lib/contact-card/index.d.ts +6 -6
  664. package/lib/contact-card/index.less +2 -2
  665. package/lib/contact-edit/ContactEdit.d.ts +17 -1
  666. package/lib/contact-edit/ContactEdit.js +21 -23
  667. package/lib/contact-edit/index.d.ts +1 -1
  668. package/lib/contact-edit/style/index.js +0 -10
  669. package/lib/contact-edit/style/less.js +0 -10
  670. package/lib/contact-list/ContactList.d.ts +8 -1
  671. package/lib/contact-list/ContactList.js +12 -9
  672. package/lib/contact-list/index.css +1 -1
  673. package/lib/contact-list/index.d.ts +1 -1
  674. package/lib/contact-list/index.less +1 -1
  675. package/lib/count-down/CountDown.d.ts +16 -24
  676. package/lib/count-down/CountDown.js +10 -15
  677. package/lib/count-down/index.d.ts +12 -11
  678. package/lib/count-down/types.d.ts +11 -0
  679. package/lib/count-down/types.js +3 -0
  680. package/lib/coupon/Coupon.d.ts +3 -3
  681. package/lib/coupon/Coupon.js +8 -25
  682. package/lib/coupon/index.css +1 -1
  683. package/lib/coupon/index.d.ts +3 -3
  684. package/lib/coupon/index.less +3 -2
  685. package/lib/coupon/utils.d.ts +3 -0
  686. package/lib/coupon/utils.js +20 -0
  687. package/lib/coupon/var.less +3 -2
  688. package/lib/coupon-cell/CouponCell.d.ts +27 -3
  689. package/lib/coupon-cell/CouponCell.js +16 -20
  690. package/lib/coupon-cell/index.d.ts +2 -1
  691. package/lib/coupon-list/CouponList.d.ts +89 -35
  692. package/lib/coupon-list/CouponList.js +31 -61
  693. package/lib/coupon-list/index.css +1 -1
  694. package/lib/coupon-list/index.d.ts +44 -43
  695. package/lib/coupon-list/index.less +10 -5
  696. package/lib/coupon-list/var.less +1 -1
  697. package/lib/datetime-picker/DatePicker.d.ts +23 -25
  698. package/lib/datetime-picker/DatePicker.js +13 -13
  699. package/lib/datetime-picker/DatetimePicker.d.ts +3 -12
  700. package/lib/datetime-picker/DatetimePicker.js +10 -9
  701. package/lib/datetime-picker/TimePicker.d.ts +16 -16
  702. package/lib/datetime-picker/TimePicker.js +17 -26
  703. package/lib/datetime-picker/index.d.ts +3 -10
  704. package/lib/datetime-picker/utils.d.ts +9 -9
  705. package/lib/datetime-picker/utils.js +9 -9
  706. package/lib/dialog/Dialog.d.ts +60 -9
  707. package/lib/dialog/Dialog.js +31 -37
  708. package/lib/dialog/function-call.d.ts +20 -45
  709. package/lib/dialog/function-call.js +2 -2
  710. package/lib/dialog/index.css +1 -1
  711. package/lib/dialog/index.d.ts +3 -3
  712. package/lib/dialog/index.less +1 -1
  713. package/lib/dialog/types.d.ts +36 -0
  714. package/lib/dialog/types.js +3 -0
  715. package/lib/dialog/var.less +1 -1
  716. package/lib/divider/Divider.d.ts +15 -3
  717. package/lib/divider/Divider.js +11 -12
  718. package/lib/divider/index.css +1 -1
  719. package/lib/divider/index.d.ts +2 -2
  720. package/lib/divider/var.less +1 -1
  721. package/lib/dropdown-item/DropdownItem.d.ts +10 -10
  722. package/lib/dropdown-item/DropdownItem.js +19 -13
  723. package/lib/dropdown-item/index.d.ts +7 -5
  724. package/lib/dropdown-menu/DropdownMenu.d.ts +21 -21
  725. package/lib/dropdown-menu/DropdownMenu.js +14 -17
  726. package/lib/dropdown-menu/index.css +1 -1
  727. package/lib/dropdown-menu/index.d.ts +12 -10
  728. package/lib/dropdown-menu/index.less +1 -9
  729. package/lib/dropdown-menu/var.less +2 -2
  730. package/lib/empty/Empty.d.ts +13 -3
  731. package/lib/empty/Empty.js +12 -12
  732. package/lib/empty/Network.js +8 -27
  733. package/lib/empty/index.css +1 -1
  734. package/lib/empty/index.d.ts +5 -4
  735. package/lib/empty/var.less +1 -1
  736. package/lib/field/Field.d.ts +83 -81
  737. package/lib/field/Field.js +63 -62
  738. package/lib/field/index.css +1 -1
  739. package/lib/field/index.d.ts +40 -38
  740. package/lib/field/utils.d.ts +2 -2
  741. package/lib/field/utils.js +13 -10
  742. package/lib/field/var.less +3 -3
  743. package/lib/form/Form.d.ts +13 -13
  744. package/lib/form/Form.js +10 -12
  745. package/lib/form/index.d.ts +9 -7
  746. package/lib/grid/Grid.d.ts +3 -2
  747. package/lib/grid/Grid.js +9 -11
  748. package/lib/grid/index.d.ts +1 -1
  749. package/lib/grid-item/GridItem.d.ts +16 -2
  750. package/lib/grid-item/GridItem.js +15 -13
  751. package/lib/grid-item/index.css +1 -1
  752. package/lib/grid-item/index.d.ts +3 -2
  753. package/lib/grid-item/index.less +1 -1
  754. package/lib/grid-item/var.less +1 -1
  755. package/lib/icon/Icon.d.ts +18 -5
  756. package/lib/icon/Icon.js +16 -18
  757. package/lib/icon/index.css +1 -1
  758. package/lib/icon/index.d.ts +6 -5
  759. package/lib/image/Image.d.ts +39 -10
  760. package/lib/image/Image.js +40 -54
  761. package/lib/image/index.css +1 -1
  762. package/lib/image/index.d.ts +12 -12
  763. package/lib/image/index.less +1 -1
  764. package/lib/image/var.less +1 -1
  765. package/lib/image-preview/ImagePreview.d.ts +54 -54
  766. package/lib/image-preview/ImagePreview.js +21 -42
  767. package/lib/image-preview/ImagePreviewItem.js +9 -22
  768. package/lib/image-preview/function-call.d.ts +31 -31
  769. package/lib/image-preview/function-call.js +7 -3
  770. package/lib/image-preview/index.css +1 -1
  771. package/lib/image-preview/index.d.ts +2 -0
  772. package/lib/image-preview/index.less +1 -6
  773. package/lib/image-preview/var.less +0 -1
  774. package/lib/index-anchor/IndexAnchor.d.ts +5 -0
  775. package/lib/index-anchor/IndexAnchor.js +11 -9
  776. package/lib/index-anchor/index.css +1 -1
  777. package/lib/index-anchor/index.d.ts +1 -0
  778. package/lib/index-anchor/index.less +2 -2
  779. package/lib/index-anchor/var.less +1 -1
  780. package/lib/index-bar/IndexBar.d.ts +2 -2
  781. package/lib/index-bar/IndexBar.js +10 -23
  782. package/lib/index-bar/index.d.ts +2 -0
  783. package/lib/index.css +1 -1
  784. package/lib/index.d.ts +1 -1
  785. package/lib/index.js +3 -2
  786. package/lib/index.less +1 -1
  787. package/lib/list/List.d.ts +20 -20
  788. package/lib/list/List.js +10 -15
  789. package/lib/list/index.css +1 -1
  790. package/lib/list/index.d.ts +12 -10
  791. package/lib/list/var.less +1 -1
  792. package/lib/loading/Loading.d.ts +17 -5
  793. package/lib/loading/Loading.js +13 -14
  794. package/lib/loading/index.css +1 -1
  795. package/lib/loading/index.d.ts +6 -6
  796. package/lib/loading/var.less +1 -1
  797. package/lib/locale/index.js +5 -1
  798. package/lib/locale/lang/de-DE-formal.d.ts +0 -1
  799. package/lib/locale/lang/de-DE-formal.js +0 -1
  800. package/lib/locale/lang/de-DE.d.ts +0 -1
  801. package/lib/locale/lang/de-DE.js +0 -1
  802. package/lib/locale/lang/en-US.d.ts +0 -1
  803. package/lib/locale/lang/en-US.js +0 -1
  804. package/lib/locale/lang/es-ES.d.ts +0 -1
  805. package/lib/locale/lang/es-ES.js +0 -1
  806. package/lib/locale/lang/fr-FR.d.ts +0 -1
  807. package/lib/locale/lang/fr-FR.js +0 -1
  808. package/lib/locale/lang/ja-JP.d.ts +0 -1
  809. package/lib/locale/lang/ja-JP.js +0 -1
  810. package/lib/locale/lang/nb-NO.d.ts +0 -1
  811. package/lib/locale/lang/nb-NO.js +0 -1
  812. package/lib/locale/lang/ro-RO.d.ts +0 -1
  813. package/lib/locale/lang/ro-RO.js +0 -1
  814. package/lib/locale/lang/ru-RU.d.ts +0 -1
  815. package/lib/locale/lang/ru-RU.js +0 -1
  816. package/lib/locale/lang/th-TH.d.ts +0 -1
  817. package/lib/locale/lang/th-TH.js +0 -1
  818. package/lib/locale/lang/tr-TR.d.ts +0 -1
  819. package/lib/locale/lang/tr-TR.js +0 -1
  820. package/lib/locale/lang/zh-CN.d.ts +0 -1
  821. package/lib/locale/lang/zh-CN.js +0 -1
  822. package/lib/locale/lang/zh-HK.d.ts +0 -1
  823. package/lib/locale/lang/zh-HK.js +0 -1
  824. package/lib/locale/lang/zh-TW.d.ts +0 -1
  825. package/lib/locale/lang/zh-TW.js +0 -1
  826. package/lib/nav-bar/NavBar.d.ts +16 -0
  827. package/lib/nav-bar/NavBar.js +19 -17
  828. package/lib/nav-bar/index.css +1 -1
  829. package/lib/nav-bar/index.d.ts +1 -0
  830. package/lib/nav-bar/index.less +1 -5
  831. package/lib/nav-bar/var.less +1 -1
  832. package/lib/notice-bar/NoticeBar.d.ts +19 -19
  833. package/lib/notice-bar/NoticeBar.js +9 -14
  834. package/lib/notice-bar/index.css +1 -1
  835. package/lib/notice-bar/index.d.ts +14 -12
  836. package/lib/notice-bar/index.less +1 -1
  837. package/lib/notify/Notify.d.ts +52 -13
  838. package/lib/notify/Notify.js +21 -16
  839. package/lib/notify/function-call.d.ts +12 -23
  840. package/lib/notify/function-call.js +18 -22
  841. package/lib/notify/index.css +1 -1
  842. package/lib/notify/index.d.ts +3 -3
  843. package/lib/notify/index.less +4 -4
  844. package/lib/notify/types.d.ts +20 -0
  845. package/lib/notify/types.js +3 -0
  846. package/lib/number-keyboard/NumberKeyboard.d.ts +58 -11
  847. package/lib/number-keyboard/NumberKeyboard.js +29 -36
  848. package/lib/number-keyboard/NumberKeyboardKey.js +6 -5
  849. package/lib/number-keyboard/index.css +1 -1
  850. package/lib/number-keyboard/index.d.ts +16 -16
  851. package/lib/number-keyboard/index.less +3 -7
  852. package/lib/number-keyboard/var.less +1 -1
  853. package/lib/overlay/Overlay.d.ts +13 -1
  854. package/lib/overlay/Overlay.js +17 -14
  855. package/lib/overlay/index.css +1 -1
  856. package/lib/overlay/index.d.ts +1 -0
  857. package/lib/overlay/index.less +1 -1
  858. package/lib/pagination/Pagination.d.ts +46 -16
  859. package/lib/pagination/Pagination.js +23 -40
  860. package/lib/pagination/index.css +1 -1
  861. package/lib/pagination/index.d.ts +19 -19
  862. package/lib/pagination/index.less +1 -1
  863. package/lib/pagination/var.less +1 -1
  864. package/lib/password-input/PasswordInput.d.ts +6 -6
  865. package/lib/password-input/PasswordInput.js +9 -13
  866. package/lib/password-input/index.css +1 -1
  867. package/lib/password-input/index.d.ts +6 -6
  868. package/lib/password-input/index.less +3 -3
  869. package/lib/password-input/var.less +3 -3
  870. package/lib/picker/Picker.d.ts +63 -24
  871. package/lib/picker/Picker.js +25 -40
  872. package/lib/picker/PickerColumn.d.ts +15 -16
  873. package/lib/picker/PickerColumn.js +29 -52
  874. package/lib/picker/index.css +1 -1
  875. package/lib/picker/index.d.ts +24 -22
  876. package/lib/picker/index.less +4 -12
  877. package/lib/picker/types.d.ts +2 -2
  878. package/lib/picker/var.less +9 -3
  879. package/lib/popover/Popover.d.ts +69 -29
  880. package/lib/popover/Popover.js +34 -48
  881. package/lib/popover/index.css +1 -1
  882. package/lib/popover/index.d.ts +35 -34
  883. package/lib/popover/index.less +2 -2
  884. package/lib/popover/types.d.ts +11 -0
  885. package/lib/popover/types.js +3 -0
  886. package/lib/popover/var.less +3 -3
  887. package/lib/popup/Popup.d.ts +64 -18
  888. package/lib/popup/Popup.js +21 -30
  889. package/lib/popup/index.css +1 -1
  890. package/lib/popup/index.d.ts +16 -16
  891. package/lib/popup/index.less +1 -6
  892. package/lib/popup/shared.js +3 -3
  893. package/lib/popup/var.less +1 -2
  894. package/lib/progress/Progress.d.ts +2 -2
  895. package/lib/progress/Progress.js +11 -7
  896. package/lib/progress/index.css +1 -1
  897. package/lib/progress/index.d.ts +2 -0
  898. package/lib/progress/index.less +10 -1
  899. package/lib/progress/var.less +1 -0
  900. package/lib/pull-refresh/PullRefresh.d.ts +29 -9
  901. package/lib/pull-refresh/PullRefresh.js +19 -29
  902. package/lib/pull-refresh/index.css +1 -1
  903. package/lib/pull-refresh/index.d.ts +10 -12
  904. package/lib/pull-refresh/var.less +1 -1
  905. package/lib/radio/Radio.d.ts +14 -9
  906. package/lib/radio/Radio.js +5 -4
  907. package/lib/radio/index.css +1 -1
  908. package/lib/radio/index.d.ts +6 -5
  909. package/lib/radio/var.less +1 -1
  910. package/lib/radio-group/RadioGroup.d.ts +4 -2
  911. package/lib/radio-group/RadioGroup.js +8 -7
  912. package/lib/radio-group/index.d.ts +1 -0
  913. package/lib/rate/Rate.d.ts +47 -14
  914. package/lib/rate/Rate.js +23 -32
  915. package/lib/rate/index.d.ts +22 -21
  916. package/lib/row/Row.d.ts +22 -5
  917. package/lib/row/Row.js +12 -16
  918. package/lib/row/index.d.ts +8 -8
  919. package/lib/search/Search.d.ts +72 -64
  920. package/lib/search/Search.js +14 -20
  921. package/lib/search/index.css +1 -1
  922. package/lib/search/index.d.ts +43 -35
  923. package/lib/search/index.less +2 -2
  924. package/lib/search/var.less +1 -1
  925. package/lib/share-sheet/ShareSheet.d.ts +64 -10
  926. package/lib/share-sheet/ShareSheet.js +21 -22
  927. package/lib/share-sheet/index.css +1 -1
  928. package/lib/share-sheet/index.d.ts +15 -8
  929. package/lib/share-sheet/index.less +0 -4
  930. package/lib/share-sheet/var.less +3 -3
  931. package/lib/sidebar/Sidebar.d.ts +8 -1
  932. package/lib/sidebar/Sidebar.js +9 -10
  933. package/lib/sidebar/index.d.ts +1 -0
  934. package/lib/sidebar-item/SidebarItem.d.ts +12 -0
  935. package/lib/sidebar-item/SidebarItem.js +12 -10
  936. package/lib/sidebar-item/index.css +1 -1
  937. package/lib/sidebar-item/index.d.ts +1 -0
  938. package/lib/sidebar-item/index.less +1 -1
  939. package/lib/sidebar-item/var.less +2 -2
  940. package/lib/skeleton/Skeleton.d.ts +36 -7
  941. package/lib/skeleton/Skeleton.js +22 -25
  942. package/lib/skeleton/index.css +1 -1
  943. package/lib/skeleton/index.d.ts +10 -9
  944. package/lib/skeleton/index.less +2 -2
  945. package/lib/slider/Slider.d.ts +37 -9
  946. package/lib/slider/Slider.js +36 -43
  947. package/lib/slider/index.css +1 -1
  948. package/lib/slider/index.d.ts +17 -16
  949. package/lib/slider/index.less +3 -3
  950. package/lib/step/Step.js +4 -3
  951. package/lib/step/index.css +1 -1
  952. package/lib/step/index.less +1 -1
  953. package/lib/step/var.less +1 -1
  954. package/lib/stepper/Stepper.d.ts +64 -12
  955. package/lib/stepper/Stepper.js +45 -55
  956. package/lib/stepper/index.css +1 -1
  957. package/lib/stepper/index.d.ts +26 -27
  958. package/lib/stepper/index.less +6 -21
  959. package/lib/stepper/var.less +1 -2
  960. package/lib/steps/Steps.d.ts +23 -22
  961. package/lib/steps/Steps.js +11 -19
  962. package/lib/steps/index.css +1 -1
  963. package/lib/steps/index.d.ts +11 -10
  964. package/lib/steps/var.less +1 -1
  965. package/lib/sticky/Sticky.d.ts +21 -4
  966. package/lib/sticky/Sticky.js +13 -20
  967. package/lib/sticky/index.d.ts +6 -6
  968. package/lib/style/base.css +1 -1
  969. package/lib/style/base.less +4 -0
  970. package/lib/style/css-variables.css +1 -1
  971. package/lib/style/css-variables.less +3 -1
  972. package/lib/style/mixins/hairline.less +3 -3
  973. package/lib/style/var.less +5 -3
  974. package/lib/submit-bar/SubmitBar.d.ts +40 -11
  975. package/lib/submit-bar/SubmitBar.js +23 -29
  976. package/lib/submit-bar/index.css +1 -1
  977. package/lib/submit-bar/index.d.ts +14 -14
  978. package/lib/submit-bar/index.less +3 -3
  979. package/lib/submit-bar/var.less +3 -3
  980. package/lib/swipe/Swipe.d.ts +32 -32
  981. package/lib/swipe/Swipe.js +35 -29
  982. package/lib/swipe/index.d.ts +20 -18
  983. package/lib/swipe-cell/SwipeCell.d.ts +9 -9
  984. package/lib/swipe-cell/SwipeCell.js +17 -16
  985. package/lib/swipe-cell/index.d.ts +7 -5
  986. package/lib/swipe-item/SwipeItem.js +4 -3
  987. package/lib/switch/Switch.d.ts +18 -0
  988. package/lib/switch/Switch.js +22 -19
  989. package/lib/switch/index.css +1 -1
  990. package/lib/switch/index.d.ts +1 -0
  991. package/lib/switch/index.less +3 -3
  992. package/lib/switch/var.less +1 -1
  993. package/lib/tab/Tab.d.ts +19 -1
  994. package/lib/tab/Tab.js +16 -14
  995. package/lib/tab/index.d.ts +1 -0
  996. package/lib/tabbar/Tabbar.d.ts +5 -4
  997. package/lib/tabbar/Tabbar.js +10 -13
  998. package/lib/tabbar/index.css +1 -1
  999. package/lib/tabbar/index.d.ts +3 -2
  1000. package/lib/tabbar/index.less +1 -1
  1001. package/lib/tabbar/var.less +1 -1
  1002. package/lib/tabbar-item/TabbarItem.d.ts +13 -0
  1003. package/lib/tabbar-item/TabbarItem.js +14 -12
  1004. package/lib/tabbar-item/index.css +1 -1
  1005. package/lib/tabbar-item/index.d.ts +1 -0
  1006. package/lib/tabbar-item/var.less +1 -1
  1007. package/lib/tabs/Tabs.d.ts +40 -40
  1008. package/lib/tabs/Tabs.js +31 -37
  1009. package/lib/tabs/TabsContent.d.ts +7 -7
  1010. package/lib/tabs/TabsContent.js +8 -16
  1011. package/lib/tabs/TabsTitle.js +1 -1
  1012. package/lib/tabs/index.css +1 -1
  1013. package/lib/tabs/index.d.ts +25 -23
  1014. package/lib/tabs/index.less +2 -2
  1015. package/lib/tabs/utils.js +1 -4
  1016. package/lib/tabs/var.less +2 -2
  1017. package/lib/tag/Tag.d.ts +25 -6
  1018. package/lib/tag/Tag.js +18 -18
  1019. package/lib/tag/index.css +1 -1
  1020. package/lib/tag/index.d.ts +8 -7
  1021. package/lib/tag/index.less +6 -6
  1022. package/lib/tag/var.less +1 -1
  1023. package/lib/toast/Toast.d.ts +44 -13
  1024. package/lib/toast/Toast.js +28 -44
  1025. package/lib/toast/function-call.d.ts +2 -25
  1026. package/lib/toast/function-call.js +10 -2
  1027. package/lib/toast/index.css +1 -1
  1028. package/lib/toast/index.d.ts +3 -3
  1029. package/lib/toast/index.less +1 -1
  1030. package/lib/toast/types.d.ts +32 -0
  1031. package/lib/toast/types.js +3 -0
  1032. package/lib/tree-select/TreeSelect.d.ts +35 -8
  1033. package/lib/tree-select/TreeSelect.js +18 -30
  1034. package/lib/tree-select/index.css +1 -1
  1035. package/lib/tree-select/index.d.ts +11 -11
  1036. package/lib/tree-select/index.less +2 -2
  1037. package/lib/tree-select/var.less +1 -1
  1038. package/lib/uploader/Uploader.d.ts +66 -66
  1039. package/lib/uploader/Uploader.js +26 -40
  1040. package/lib/uploader/UploaderPreviewItem.d.ts +6 -6
  1041. package/lib/uploader/UploaderPreviewItem.js +12 -14
  1042. package/lib/uploader/index.css +1 -1
  1043. package/lib/uploader/index.d.ts +47 -45
  1044. package/lib/uploader/index.less +4 -5
  1045. package/lib/uploader/utils.d.ts +3 -3
  1046. package/lib/uploader/utils.js +11 -14
  1047. package/lib/uploader/var.less +1 -1
  1048. package/{es/utils/base.d.ts → lib/utils/basic.d.ts} +1 -6
  1049. package/lib/utils/{base.js → basic.js} +4 -11
  1050. package/lib/utils/constant.d.ts +1 -0
  1051. package/lib/utils/constant.js +3 -1
  1052. package/{es/utils/create/bem.d.ts → lib/utils/create.d.ts} +7 -4
  1053. package/lib/utils/create.js +73 -0
  1054. package/lib/utils/deep-assign.d.ts +1 -1
  1055. package/lib/utils/deep-assign.js +1 -1
  1056. package/lib/utils/deep-clone.js +1 -1
  1057. package/{es/utils/dom/scroll.d.ts → lib/utils/dom.d.ts} +4 -2
  1058. package/lib/utils/{dom/scroll.js → dom.js} +42 -26
  1059. package/lib/utils/format.d.ts +12 -0
  1060. package/lib/utils/format.js +169 -0
  1061. package/lib/utils/index.d.ts +4 -7
  1062. package/lib/utils/index.js +28 -52
  1063. package/lib/utils/interceptor.d.ts +3 -4
  1064. package/lib/utils/interceptor.js +9 -8
  1065. package/lib/utils/mount-component.js +5 -3
  1066. package/lib/utils/props.d.ts +31 -0
  1067. package/lib/utils/props.js +53 -0
  1068. package/lib/utils/validate.d.ts +7 -7
  1069. package/lib/utils/validate.js +24 -29
  1070. package/lib/utils/with-install.js +2 -2
  1071. package/lib/vant.es.js +4123 -4691
  1072. package/lib/vant.es.min.js +15302 -1
  1073. package/lib/vant.js +4124 -4692
  1074. package/lib/vant.min.js +1 -1
  1075. package/package.json +7 -7
  1076. package/vetur/attributes.json +469 -453
  1077. package/vetur/tags.json +167 -163
  1078. package/vetur/web-types.json +1589 -1537
  1079. package/changelog.generated.md +0 -107
  1080. package/es/utils/create/bem.js +0 -35
  1081. package/es/utils/create/index.d.ts +0 -1
  1082. package/es/utils/create/index.js +0 -6
  1083. package/es/utils/create/translate.d.ts +0 -2
  1084. package/es/utils/create/translate.js +0 -12
  1085. package/es/utils/dom/event.d.ts +0 -3
  1086. package/es/utils/dom/event.js +0 -18
  1087. package/es/utils/dom/style.d.ts +0 -2
  1088. package/es/utils/dom/style.js +0 -16
  1089. package/es/utils/format/number.d.ts +0 -4
  1090. package/es/utils/format/number.js +0 -40
  1091. package/es/utils/format/string.d.ts +0 -3
  1092. package/es/utils/format/string.js +0 -16
  1093. package/es/utils/format/unit.d.ts +0 -5
  1094. package/es/utils/format/unit.js +0 -76
  1095. package/lib/utils/create/bem.js +0 -40
  1096. package/lib/utils/create/index.d.ts +0 -1
  1097. package/lib/utils/create/index.js +0 -13
  1098. package/lib/utils/create/translate.d.ts +0 -2
  1099. package/lib/utils/create/translate.js +0 -24
  1100. package/lib/utils/dom/event.d.ts +0 -3
  1101. package/lib/utils/dom/event.js +0 -27
  1102. package/lib/utils/dom/style.d.ts +0 -2
  1103. package/lib/utils/dom/style.js +0 -22
  1104. package/lib/utils/format/number.d.ts +0 -4
  1105. package/lib/utils/format/number.js +0 -48
  1106. package/lib/utils/format/string.d.ts +0 -3
  1107. package/lib/utils/format/string.js +0 -25
  1108. package/lib/utils/format/unit.d.ts +0 -5
  1109. package/lib/utils/format/unit.js +0 -89
@@ -1,87 +1,4 @@
1
1
  {
2
- "van-action-sheet/v-model:show": {
3
- "type": "boolean",
4
- "description": "是否显示动作面板, 默认值: `false`"
5
- },
6
- "van-action-sheet/actions": {
7
- "type": "ActionSheetAction[]",
8
- "description": "面板选项列表, 默认值: `[]`"
9
- },
10
- "van-action-sheet/title": {
11
- "type": "string",
12
- "description": "顶部标题, 默认值: -"
13
- },
14
- "van-action-sheet/cancel-text": {
15
- "type": "string",
16
- "description": "取消按钮文字, 默认值: -"
17
- },
18
- "van-action-sheet/description": {
19
- "type": "string",
20
- "description": "选项上方的描述信息, 默认值: -"
21
- },
22
- "van-action-sheet/closeable": {
23
- "type": "boolean",
24
- "description": "是否显示关闭图标, 默认值: `true`"
25
- },
26
- "van-action-sheet/close-icon": {
27
- "type": "string",
28
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
29
- },
30
- "van-action-sheet/duration": {
31
- "type": "number | string",
32
- "description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
33
- },
34
- "van-action-sheet/round": {
35
- "type": "boolean",
36
- "description": "是否显示圆角, 默认值: `true`"
37
- },
38
- "van-action-sheet/overlay": {
39
- "type": "boolean",
40
- "description": "是否显示遮罩层, 默认值: `true`"
41
- },
42
- "van-action-sheet/overlay-class": {
43
- "type": "string | Array \\",
44
- "description": "自定义遮罩层类名, 默认值: object_",
45
- "options": [
46
- "-"
47
- ]
48
- },
49
- "van-action-sheet/overlay-style": {
50
- "type": "object",
51
- "description": "自定义遮罩层样式, 默认值: -"
52
- },
53
- "van-action-sheet/lock-scroll": {
54
- "type": "boolean",
55
- "description": "是否锁定背景滚动, 默认值: `true`"
56
- },
57
- "van-action-sheet/lazy-render": {
58
- "type": "boolean",
59
- "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
60
- },
61
- "van-action-sheet/close-on-popstate": {
62
- "type": "boolean",
63
- "description": "是否在页面回退时自动关闭, 默认值: `false`"
64
- },
65
- "van-action-sheet/close-on-click-action": {
66
- "type": "boolean",
67
- "description": "是否在点击选项后关闭, 默认值: `false`"
68
- },
69
- "van-action-sheet/close-on-click-overlay": {
70
- "type": "boolean",
71
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
72
- },
73
- "van-action-sheet/safe-area-inset-bottom": {
74
- "type": "boolean",
75
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
76
- },
77
- "van-action-sheet/teleport": {
78
- "type": "string | Element",
79
- "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
80
- },
81
- "van-action-sheet/before-close": {
82
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
83
- "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
84
- },
85
2
  "van-action-bar/safe-area-inset-bottom": {
86
3
  "type": "boolean",
87
4
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
@@ -165,57 +82,116 @@
165
82
  "type": "boolean",
166
83
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
167
84
  },
168
- "van-area/value": {
85
+ "van-action-sheet/v-model:show": {
86
+ "type": "boolean",
87
+ "description": "是否显示动作面板, 默认值: `false`"
88
+ },
89
+ "van-action-sheet/actions": {
90
+ "type": "ActionSheetAction[]",
91
+ "description": "面板选项列表, 默认值: `[]`"
92
+ },
93
+ "van-action-sheet/title": {
169
94
  "type": "string",
170
- "description": "当前选中项对应的地区码, 默认值: -"
95
+ "description": "顶部标题, 默认值: -"
171
96
  },
172
- "van-area/title": {
97
+ "van-action-sheet/cancel-text": {
173
98
  "type": "string",
174
- "description": "顶部栏标题, 默认值: -"
99
+ "description": "取消按钮文字, 默认值: -"
175
100
  },
176
- "van-area/confirm-button-text": {
101
+ "van-action-sheet/description": {
177
102
  "type": "string",
178
- "description": "确认按钮文字, 默认值: `确认`"
103
+ "description": "选项上方的描述信息, 默认值: -"
179
104
  },
180
- "van-area/cancel-button-text": {
105
+ "van-action-sheet/closeable": {
106
+ "type": "boolean",
107
+ "description": "是否显示关闭图标, 默认值: `true`"
108
+ },
109
+ "van-action-sheet/close-icon": {
181
110
  "type": "string",
182
- "description": "取消按钮文字, 默认值: `取消`"
111
+ "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
183
112
  },
184
- "van-area/area-list": {
113
+ "van-action-sheet/duration": {
114
+ "type": "number | string",
115
+ "description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
116
+ },
117
+ "van-action-sheet/round": {
118
+ "type": "boolean",
119
+ "description": "是否显示圆角, 默认值: `true`"
120
+ },
121
+ "van-action-sheet/overlay": {
122
+ "type": "boolean",
123
+ "description": "是否显示遮罩层, 默认值: `true`"
124
+ },
125
+ "van-action-sheet/overlay-class": {
126
+ "type": "string | Array \\",
127
+ "description": "自定义遮罩层类名, 默认值: object_",
128
+ "options": [
129
+ "-"
130
+ ]
131
+ },
132
+ "van-action-sheet/overlay-style": {
185
133
  "type": "object",
186
- "description": "省市区数据,格式见下方, 默认值: -"
134
+ "description": "自定义遮罩层样式, 默认值: -"
187
135
  },
188
- "van-area/columns-placeholder": {
189
- "type": "string[]",
190
- "description": "列占位提示文字, 默认值: `[]`"
136
+ "van-action-sheet/lock-scroll": {
137
+ "type": "boolean",
138
+ "description": "是否锁定背景滚动, 默认值: `true`"
191
139
  },
192
- "van-area/loading": {
140
+ "van-action-sheet/lazy-render": {
193
141
  "type": "boolean",
194
- "description": "是否显示加载状态, 默认值: `false`"
142
+ "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
195
143
  },
196
- "van-area/readonly": {
144
+ "van-action-sheet/close-on-popstate": {
197
145
  "type": "boolean",
198
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
146
+ "description": "是否在页面回退时自动关闭, 默认值: `true`"
199
147
  },
200
- "van-area/item-height": {
201
- "type": "number | string",
202
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
148
+ "van-action-sheet/close-on-click-action": {
149
+ "type": "boolean",
150
+ "description": "是否在点击选项后关闭, 默认值: `false`"
203
151
  },
204
- "van-area/columns-num": {
205
- "type": "number | string",
206
- "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
152
+ "van-action-sheet/close-on-click-overlay": {
153
+ "type": "boolean",
154
+ "description": "是否在点击遮罩层后关闭, 默认值: `true`"
207
155
  },
208
- "van-area/visible-item-count": {
209
- "type": "number | string",
210
- "description": "可见的选项个数, 默认值: `6`"
156
+ "van-action-sheet/safe-area-inset-bottom": {
157
+ "type": "boolean",
158
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
211
159
  },
212
- "van-area/swipe-duration": {
213
- "type": "number | string",
214
- "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
160
+ "van-action-sheet/teleport": {
161
+ "type": "string | Element",
162
+ "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
215
163
  },
216
- "van-area/is-oversea-code": {
217
- "type": "() => boolean",
218
- "description": "根据地区码校验海外地址,海外地址会划分至单独的分类, 默认值: -"
164
+ "van-action-sheet/before-close": {
165
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
166
+ "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
167
+ },
168
+ "van-address-list/v-model": {
169
+ "type": "string",
170
+ "description": "当前选中地址的 id, 默认值: -"
171
+ },
172
+ "van-address-list/list": {
173
+ "type": "AddressListAddress[]",
174
+ "description": "地址列表, 默认值: `[]`"
175
+ },
176
+ "van-address-list/disabled-list": {
177
+ "type": "AddressListAddress[]",
178
+ "description": "不可配送地址列表, 默认值: `[]`"
179
+ },
180
+ "van-address-list/disabled-text": {
181
+ "type": "string",
182
+ "description": "不可配送提示文案, 默认值: -"
183
+ },
184
+ "van-address-list/switchable": {
185
+ "type": "boolean",
186
+ "description": "是否允许切换地址, 默认值: `true`"
187
+ },
188
+ "van-address-list/add-button-text": {
189
+ "type": "string",
190
+ "description": "底部按钮文字, 默认值: `新增地址`"
191
+ },
192
+ "van-address-list/default-tag-text": {
193
+ "type": "string",
194
+ "description": "默认地址标签文字, 默认值: -"
219
195
  },
220
196
  "van-address-edit/area-list": {
221
197
  "type": "object",
@@ -305,33 +281,84 @@
305
281
  "type": "(key, val) => string",
306
282
  "description": "自定义校验函数, 默认值: -"
307
283
  },
308
- "van-address-list/v-model": {
284
+ "van-area/value": {
309
285
  "type": "string",
310
- "description": "当前选中地址的 id, 默认值: -"
286
+ "description": "当前选中项对应的地区码, 默认值: -"
311
287
  },
312
- "van-address-list/list": {
313
- "type": "AddressListAddress[]",
314
- "description": "地址列表, 默认值: `[]`"
288
+ "van-area/title": {
289
+ "type": "string",
290
+ "description": "顶部栏标题, 默认值: -"
315
291
  },
316
- "van-address-list/disabled-list": {
317
- "type": "AddressListAddress[]",
318
- "description": "不可配送地址列表, 默认值: `[]`"
292
+ "van-area/confirm-button-text": {
293
+ "type": "string",
294
+ "description": "确认按钮文字, 默认值: `确认`"
319
295
  },
320
- "van-address-list/disabled-text": {
296
+ "van-area/cancel-button-text": {
321
297
  "type": "string",
322
- "description": "不可配送提示文案, 默认值: -"
298
+ "description": "取消按钮文字, 默认值: `取消`"
323
299
  },
324
- "van-address-list/switchable": {
300
+ "van-area/area-list": {
301
+ "type": "object",
302
+ "description": "省市区数据,格式见下方, 默认值: -"
303
+ },
304
+ "van-area/columns-placeholder": {
305
+ "type": "string[]",
306
+ "description": "列占位提示文字, 默认值: `[]`"
307
+ },
308
+ "van-area/loading": {
325
309
  "type": "boolean",
326
- "description": "是否允许切换地址, 默认值: `true`"
310
+ "description": "是否显示加载状态, 默认值: `false`"
327
311
  },
328
- "van-address-list/add-button-text": {
329
- "type": "string",
330
- "description": "底部按钮文字, 默认值: `新增地址`"
312
+ "van-area/readonly": {
313
+ "type": "boolean",
314
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
331
315
  },
332
- "van-address-list/default-tag-text": {
316
+ "van-area/item-height": {
317
+ "type": "number | string",
318
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
319
+ },
320
+ "van-area/columns-num": {
321
+ "type": "number | string",
322
+ "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
323
+ },
324
+ "van-area/visible-item-count": {
325
+ "type": "number | string",
326
+ "description": "可见的选项个数, 默认值: `6`"
327
+ },
328
+ "van-area/swipe-duration": {
329
+ "type": "number | string",
330
+ "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
331
+ },
332
+ "van-area/is-oversea-code": {
333
+ "type": "() => boolean",
334
+ "description": "根据地区码校验海外地址,海外地址会划分至单独的分类, 默认值: -"
335
+ },
336
+ "van-badge/content": {
337
+ "type": "number | string",
338
+ "description": "徽标内容, 默认值: -"
339
+ },
340
+ "van-badge/color": {
333
341
  "type": "string",
334
- "description": "默认地址标签文字, 默认值: -"
342
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
343
+ },
344
+ "van-badge/dot": {
345
+ "type": "boolean",
346
+ "description": "是否展示为小红点, 默认值: `false`"
347
+ },
348
+ "van-badge/max": {
349
+ "type": "number | string",
350
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
351
+ },
352
+ "van-badge/offset": {
353
+ "type": "[number | string, number \\",
354
+ "description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
355
+ "options": [
356
+ "-"
357
+ ]
358
+ },
359
+ "van-badge/show-zero": {
360
+ "type": "boolean",
361
+ "description": "当 content 为数字 0 时,是否展示徽标, 默认值: `true`"
335
362
  },
336
363
  "van-button/type": {
337
364
  "type": "string",
@@ -421,33 +448,6 @@
421
448
  "type": "boolean",
422
449
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
423
450
  },
424
- "van-badge/content": {
425
- "type": "number | string",
426
- "description": "徽标内容, 默认值: -"
427
- },
428
- "van-badge/color": {
429
- "type": "string",
430
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
431
- },
432
- "van-badge/dot": {
433
- "type": "boolean",
434
- "description": "是否展示为小红点, 默认值: `false`"
435
- },
436
- "van-badge/max": {
437
- "type": "number | string",
438
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
439
- },
440
- "van-badge/offset": {
441
- "type": "[number | string, number \\",
442
- "description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
443
- "options": [
444
- "-"
445
- ]
446
- },
447
- "van-badge/show-zero": {
448
- "type": "boolean",
449
- "description": "当 content 为数字 0 时,是否展示徽标, 默认值: `true`"
450
- },
451
451
  "van-calendar/type": {
452
452
  "type": "string",
453
453
  "description": "选择类型:<br>`single` 表示选择单个日期,<br>`multiple` 表示选择多个日期,<br>`range` 表示选择日期区间, 默认值: `single`"
@@ -1038,85 +1038,9 @@
1038
1038
  "type": "boolean",
1039
1039
  "description": "是否自动开始倒计时, 默认值: `true`"
1040
1040
  },
1041
- "van-count-down/millisecond": {
1042
- "type": "boolean",
1043
- "description": "是否开启毫秒级渲染, 默认值: `false`"
1044
- },
1045
- "van-datetime-picker/type": {
1046
- "type": "string",
1047
- "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
1048
- },
1049
- "van-datetime-picker/title": {
1050
- "type": "string",
1051
- "description": "顶部栏标题, 默认值: `''`"
1052
- },
1053
- "van-datetime-picker/confirm-button-text": {
1054
- "type": "string",
1055
- "description": "确认按钮文字, 默认值: `确认`"
1056
- },
1057
- "van-datetime-picker/cancel-button-text": {
1058
- "type": "string",
1059
- "description": "取消按钮文字, 默认值: `取消`"
1060
- },
1061
- "van-datetime-picker/show-toolbar": {
1062
- "type": "boolean",
1063
- "description": "是否显示顶部栏, 默认值: `true`"
1064
- },
1065
- "van-datetime-picker/loading": {
1066
- "type": "boolean",
1067
- "description": "是否显示加载状态, 默认值: `false`"
1068
- },
1069
- "van-datetime-picker/readonly": {
1070
- "type": "boolean",
1071
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
1072
- },
1073
- "van-datetime-picker/filter": {
1074
- "type": "(type: string, values: string[]) => string[]",
1075
- "description": "选项过滤函数, 默认值: -"
1076
- },
1077
- "van-datetime-picker/formatter": {
1078
- "type": "(type: string, value: string) => string",
1079
- "description": "选项格式化函数, 默认值: -"
1080
- },
1081
- "van-datetime-picker/columns-order": {
1082
- "type": "string[]",
1083
- "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
1084
- },
1085
- "van-datetime-picker/item-height": {
1086
- "type": "number | string",
1087
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
1088
- },
1089
- "van-datetime-picker/visible-item-count": {
1090
- "type": "number | string",
1091
- "description": "可见的选项个数, 默认值: `6`"
1092
- },
1093
- "van-datetime-picker/swipe-duration": {
1094
- "type": "number | string",
1095
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1096
- },
1097
- "van-date-picker/min-date": {
1098
- "type": "Date",
1099
- "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1100
- },
1101
- "van-date-picker/max-date": {
1102
- "type": "Date",
1103
- "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1104
- },
1105
- "van-time-picker/min-hour": {
1106
- "type": "number | string",
1107
- "description": "可选的最小小时, 默认值: `0`"
1108
- },
1109
- "van-time-picker/max-hour": {
1110
- "type": "number | string",
1111
- "description": "可选的最大小时, 默认值: `23`"
1112
- },
1113
- "van-time-picker/min-minute": {
1114
- "type": "number | string",
1115
- "description": "可选的最小分钟, 默认值: `0`"
1116
- },
1117
- "van-time-picker/max-minute": {
1118
- "type": "number | string",
1119
- "description": "可选的最大分钟, 默认值: `59`"
1041
+ "van-count-down/millisecond": {
1042
+ "type": "boolean",
1043
+ "description": "是否开启毫秒级渲染, 默认值: `false`"
1120
1044
  },
1121
1045
  "van-coupon-cell/title": {
1122
1046
  "type": "string",
@@ -1214,6 +1138,82 @@
1214
1138
  "type": "boolean",
1215
1139
  "description": "是否展示可用 / 不可用数量, 默认值: `true`"
1216
1140
  },
1141
+ "van-datetime-picker/type": {
1142
+ "type": "string",
1143
+ "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
1144
+ },
1145
+ "van-datetime-picker/title": {
1146
+ "type": "string",
1147
+ "description": "顶部栏标题, 默认值: `''`"
1148
+ },
1149
+ "van-datetime-picker/confirm-button-text": {
1150
+ "type": "string",
1151
+ "description": "确认按钮文字, 默认值: `确认`"
1152
+ },
1153
+ "van-datetime-picker/cancel-button-text": {
1154
+ "type": "string",
1155
+ "description": "取消按钮文字, 默认值: `取消`"
1156
+ },
1157
+ "van-datetime-picker/show-toolbar": {
1158
+ "type": "boolean",
1159
+ "description": "是否显示顶部栏, 默认值: `true`"
1160
+ },
1161
+ "van-datetime-picker/loading": {
1162
+ "type": "boolean",
1163
+ "description": "是否显示加载状态, 默认值: `false`"
1164
+ },
1165
+ "van-datetime-picker/readonly": {
1166
+ "type": "boolean",
1167
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
1168
+ },
1169
+ "van-datetime-picker/filter": {
1170
+ "type": "(type: string, values: string[]) => string[]",
1171
+ "description": "选项过滤函数, 默认值: -"
1172
+ },
1173
+ "van-datetime-picker/formatter": {
1174
+ "type": "(type: string, value: string) => string",
1175
+ "description": "选项格式化函数, 默认值: -"
1176
+ },
1177
+ "van-datetime-picker/columns-order": {
1178
+ "type": "string[]",
1179
+ "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
1180
+ },
1181
+ "van-datetime-picker/item-height": {
1182
+ "type": "number | string",
1183
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
1184
+ },
1185
+ "van-datetime-picker/visible-item-count": {
1186
+ "type": "number | string",
1187
+ "description": "可见的选项个数, 默认值: `6`"
1188
+ },
1189
+ "van-datetime-picker/swipe-duration": {
1190
+ "type": "number | string",
1191
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1192
+ },
1193
+ "van-date-picker/min-date": {
1194
+ "type": "Date",
1195
+ "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1196
+ },
1197
+ "van-date-picker/max-date": {
1198
+ "type": "Date",
1199
+ "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1200
+ },
1201
+ "van-time-picker/min-hour": {
1202
+ "type": "number | string",
1203
+ "description": "可选的最小小时, 默认值: `0`"
1204
+ },
1205
+ "van-time-picker/max-hour": {
1206
+ "type": "number | string",
1207
+ "description": "可选的最大小时, 默认值: `23`"
1208
+ },
1209
+ "van-time-picker/min-minute": {
1210
+ "type": "number | string",
1211
+ "description": "可选的最小分钟, 默认值: `0`"
1212
+ },
1213
+ "van-time-picker/max-minute": {
1214
+ "type": "number | string",
1215
+ "description": "可选的最大分钟, 默认值: `59`"
1216
+ },
1217
1217
  "van-dialog/v-model:show": {
1218
1218
  "type": "boolean",
1219
1219
  "description": "是否显示弹窗, 默认值: -"
@@ -1592,34 +1592,6 @@
1592
1592
  "type": "boolean",
1593
1593
  "description": "是否在按下回车键时提交表单, 默认值: `true`"
1594
1594
  },
1595
- "van-icon/name": {
1596
- "type": "string",
1597
- "description": "图标名称或图片链接, 默认值: -"
1598
- },
1599
- "van-icon/dot": {
1600
- "type": "boolean",
1601
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1602
- },
1603
- "van-icon/badge": {
1604
- "type": "number | string",
1605
- "description": "图标右上角徽标的内容, 默认值: -"
1606
- },
1607
- "van-icon/color": {
1608
- "type": "string",
1609
- "description": "图标颜色, 默认值: `inherit`"
1610
- },
1611
- "van-icon/size": {
1612
- "type": "number | string",
1613
- "description": "图标大小,如 `20px` `2em`,默认单位为 `px`, 默认值: `inherit`"
1614
- },
1615
- "van-icon/class-prefix": {
1616
- "type": "string",
1617
- "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1618
- },
1619
- "van-icon/tag": {
1620
- "type": "string",
1621
- "description": "根节点对应的 HTML 标签名, 默认值: `i`"
1622
- },
1623
1595
  "van-grid/column-num": {
1624
1596
  "type": "number | string",
1625
1597
  "description": "列数, 默认值: `4`"
@@ -1692,6 +1664,34 @@
1692
1664
  "type": "boolean",
1693
1665
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1694
1666
  },
1667
+ "van-icon/name": {
1668
+ "type": "string",
1669
+ "description": "图标名称或图片链接, 默认值: -"
1670
+ },
1671
+ "van-icon/dot": {
1672
+ "type": "boolean",
1673
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1674
+ },
1675
+ "van-icon/badge": {
1676
+ "type": "number | string",
1677
+ "description": "图标右上角徽标的内容, 默认值: -"
1678
+ },
1679
+ "van-icon/color": {
1680
+ "type": "string",
1681
+ "description": "图标颜色, 默认值: `inherit`"
1682
+ },
1683
+ "van-icon/size": {
1684
+ "type": "number | string",
1685
+ "description": "图标大小,如 `20px` `2em`,默认单位为 `px`, 默认值: `inherit`"
1686
+ },
1687
+ "van-icon/class-prefix": {
1688
+ "type": "string",
1689
+ "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1690
+ },
1691
+ "van-icon/tag": {
1692
+ "type": "string",
1693
+ "description": "根节点对应的 HTML 标签名, 默认值: `i`"
1694
+ },
1695
1695
  "van-image/src": {
1696
1696
  "type": "string",
1697
1697
  "description": "图片链接, 默认值: -"
@@ -1823,6 +1823,34 @@
1823
1823
  "type": "string | Element",
1824
1824
  "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
1825
1825
  },
1826
+ "van-index-bar/index-list": {
1827
+ "type": "string[] | number[]",
1828
+ "description": "索引字符列表, 默认值: `A-Z`"
1829
+ },
1830
+ "van-index-bar/z-index": {
1831
+ "type": "number | string",
1832
+ "description": "z-index 层级, 默认值: `1`"
1833
+ },
1834
+ "van-index-bar/sticky": {
1835
+ "type": "boolean",
1836
+ "description": "是否开启锚点自动吸顶, 默认值: `true`"
1837
+ },
1838
+ "van-index-bar/sticky-offset-top": {
1839
+ "type": "number",
1840
+ "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1841
+ },
1842
+ "van-index-bar/highlight-color": {
1843
+ "type": "string",
1844
+ "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1845
+ },
1846
+ "van-index-bar/teleport": {
1847
+ "type": "string | Element",
1848
+ "description": "指定索引栏挂载的节点, 默认值: -"
1849
+ },
1850
+ "van-index-anchor/index": {
1851
+ "type": "number | string",
1852
+ "description": "索引字符, 默认值: -"
1853
+ },
1826
1854
  "van-list/v-model:loading": {
1827
1855
  "type": "boolean",
1828
1856
  "description": "是否处于加载状态,加载过程中不触发 `load` 事件, 默认值: `false`"
@@ -1859,34 +1887,6 @@
1859
1887
  "type": "string",
1860
1888
  "description": "滚动触发加载的方向,可选值为 `up`, 默认值: `down`"
1861
1889
  },
1862
- "van-index-bar/index-list": {
1863
- "type": "string[] | number[]",
1864
- "description": "索引字符列表, 默认值: `A-Z`"
1865
- },
1866
- "van-index-bar/z-index": {
1867
- "type": "number | string",
1868
- "description": "z-index 层级, 默认值: `1`"
1869
- },
1870
- "van-index-bar/sticky": {
1871
- "type": "boolean",
1872
- "description": "是否开启锚点自动吸顶, 默认值: `true`"
1873
- },
1874
- "van-index-bar/sticky-offset-top": {
1875
- "type": "number",
1876
- "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1877
- },
1878
- "van-index-bar/highlight-color": {
1879
- "type": "string",
1880
- "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1881
- },
1882
- "van-index-bar/teleport": {
1883
- "type": "string | Element",
1884
- "description": "指定索引栏挂载的节点, 默认值: -"
1885
- },
1886
- "van-index-anchor/index": {
1887
- "type": "number | string",
1888
- "description": "索引字符, 默认值: -"
1889
- },
1890
1890
  "van-loading/color": {
1891
1891
  "type": "string",
1892
1892
  "description": "颜色, 默认值: `#c9c9c9`"
@@ -1967,21 +1967,89 @@
1967
1967
  "type": "string",
1968
1968
  "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1969
1969
  },
1970
- "van-notice-bar/delay": {
1971
- "type": "number | string",
1972
- "description": "动画延迟时间 (s), 默认值: `1`"
1970
+ "van-notice-bar/delay": {
1971
+ "type": "number | string",
1972
+ "description": "动画延迟时间 (s), 默认值: `1`"
1973
+ },
1974
+ "van-notice-bar/speed": {
1975
+ "type": "number | string",
1976
+ "description": "滚动速率 (px/s), 默认值: `60`"
1977
+ },
1978
+ "van-notice-bar/scrollable": {
1979
+ "type": "boolean",
1980
+ "description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
1981
+ },
1982
+ "van-notice-bar/wrapable": {
1983
+ "type": "boolean",
1984
+ "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1985
+ },
1986
+ "van-number-keyboard/v-model": {
1987
+ "type": "string",
1988
+ "description": "当前输入值, 默认值: -"
1989
+ },
1990
+ "van-number-keyboard/show": {
1991
+ "type": "boolean",
1992
+ "description": "是否显示键盘, 默认值: -"
1993
+ },
1994
+ "van-number-keyboard/title": {
1995
+ "type": "string",
1996
+ "description": "键盘标题, 默认值: -"
1997
+ },
1998
+ "van-number-keyboard/theme": {
1999
+ "type": "string",
2000
+ "description": "样式风格,可选值为 `custom`, 默认值: `default`"
2001
+ },
2002
+ "van-number-keyboard/maxlength": {
2003
+ "type": "number | string",
2004
+ "description": "输入值最大长度, 默认值: `Infinity`"
2005
+ },
2006
+ "van-number-keyboard/transition": {
2007
+ "type": "boolean",
2008
+ "description": "是否开启过场动画, 默认值: `true`"
2009
+ },
2010
+ "van-number-keyboard/z-index": {
2011
+ "type": "number | string",
2012
+ "description": "键盘 z-index 层级, 默认值: `100`"
2013
+ },
2014
+ "van-number-keyboard/extra-key": {
2015
+ "type": "string | string[]",
2016
+ "description": "底部额外按键的内容, 默认值: `''`"
2017
+ },
2018
+ "van-number-keyboard/close-button-text": {
2019
+ "type": "string",
2020
+ "description": "关闭按钮文字,空则不展示, 默认值: -"
2021
+ },
2022
+ "van-number-keyboard/delete-button-text": {
2023
+ "type": "string",
2024
+ "description": "删除按钮文字,空则展示删除图标, 默认值: -"
2025
+ },
2026
+ "van-number-keyboard/close-button-loading": {
2027
+ "type": "boolean",
2028
+ "description": "是否将关闭按钮设置为加载中状态,仅在 `theme=\"custom\"` 时有效, 默认值: `false`"
2029
+ },
2030
+ "van-number-keyboard/show-delete-key": {
2031
+ "type": "boolean",
2032
+ "description": "是否展示删除图标, 默认值: `true`"
2033
+ },
2034
+ "van-number-keyboard/blur-on-close": {
2035
+ "type": "boolean",
2036
+ "description": "是否在点击关闭按钮时触发 blur 事件, 默认值: `true`"
1973
2037
  },
1974
- "van-notice-bar/speed": {
1975
- "type": "number | string",
1976
- "description": "滚动速率 (px/s), 默认值: `60`"
2038
+ "van-number-keyboard/hide-on-click-outside": {
2039
+ "type": "boolean",
2040
+ "description": "是否在点击外部时收起键盘, 默认值: `true`"
1977
2041
  },
1978
- "van-notice-bar/scrollable": {
2042
+ "van-number-keyboard/teleport": {
2043
+ "type": "string | Element",
2044
+ "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
2045
+ },
2046
+ "van-number-keyboard/safe-area-inset-bottom": {
1979
2047
  "type": "boolean",
1980
- "description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
2048
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1981
2049
  },
1982
- "van-notice-bar/wrapable": {
2050
+ "van-number-keyboard/random-key-order": {
1983
2051
  "type": "boolean",
1984
- "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
2052
+ "description": "是否将通过随机顺序展示按键, 默认值: `false`"
1985
2053
  },
1986
2054
  "van-overlay/show": {
1987
2055
  "type": "boolean",
@@ -2043,73 +2111,33 @@
2043
2111
  "type": "boolean",
2044
2112
  "description": "是否显示省略号, 默认值: `false`"
2045
2113
  },
2046
- "van-number-keyboard/v-model": {
2114
+ "van-password-input/value": {
2047
2115
  "type": "string",
2048
- "description": "当前输入值, 默认值: -"
2049
- },
2050
- "van-number-keyboard/show": {
2051
- "type": "boolean",
2052
- "description": "是否显示键盘, 默认值: -"
2116
+ "description": "密码值, 默认值: `''`"
2053
2117
  },
2054
- "van-number-keyboard/title": {
2118
+ "van-password-input/info": {
2055
2119
  "type": "string",
2056
- "description": "键盘标题, 默认值: -"
2120
+ "description": "输入框下方文字提示, 默认值: -"
2057
2121
  },
2058
- "van-number-keyboard/theme": {
2122
+ "van-password-input/error-info": {
2059
2123
  "type": "string",
2060
- "description": "样式风格,可选值为 `custom`, 默认值: `default`"
2124
+ "description": "输入框下方错误提示, 默认值: -"
2061
2125
  },
2062
- "van-number-keyboard/maxlength": {
2126
+ "van-password-input/length": {
2063
2127
  "type": "number | string",
2064
- "description": "输入值最大长度, 默认值: -"
2065
- },
2066
- "van-number-keyboard/transition": {
2067
- "type": "boolean",
2068
- "description": "是否开启过场动画, 默认值: `true`"
2128
+ "description": "密码最大长度, 默认值: `6`"
2069
2129
  },
2070
- "van-number-keyboard/z-index": {
2130
+ "van-password-input/gutter": {
2071
2131
  "type": "number | string",
2072
- "description": "键盘 z-index 层级, 默认值: `100`"
2073
- },
2074
- "van-number-keyboard/extra-key": {
2075
- "type": "string | string[]",
2076
- "description": "底部额外按键的内容, 默认值: `''`"
2077
- },
2078
- "van-number-keyboard/close-button-text": {
2079
- "type": "string",
2080
- "description": "关闭按钮文字,空则不展示, 默认值: -"
2081
- },
2082
- "van-number-keyboard/delete-button-text": {
2083
- "type": "string",
2084
- "description": "删除按钮文字,空则展示删除图标, 默认值: -"
2085
- },
2086
- "van-number-keyboard/close-button-loading": {
2087
- "type": "boolean",
2088
- "description": "是否将关闭按钮设置为加载中状态,仅在 `theme=\"custom\"` 时有效, 默认值: `false`"
2089
- },
2090
- "van-number-keyboard/show-delete-key": {
2091
- "type": "boolean",
2092
- "description": "是否展示删除图标, 默认值: `true`"
2093
- },
2094
- "van-number-keyboard/blur-on-close": {
2095
- "type": "boolean",
2096
- "description": "是否在点击关闭按钮时触发 blur 事件, 默认值: `true`"
2097
- },
2098
- "van-number-keyboard/hide-on-click-outside": {
2099
- "type": "boolean",
2100
- "description": "是否在点击外部时收起键盘, 默认值: `true`"
2101
- },
2102
- "van-number-keyboard/teleport": {
2103
- "type": "string | Element",
2104
- "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
2132
+ "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
2105
2133
  },
2106
- "van-number-keyboard/safe-area-inset-bottom": {
2134
+ "van-password-input/mask": {
2107
2135
  "type": "boolean",
2108
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
2136
+ "description": "是否隐藏密码内容, 默认值: `true`"
2109
2137
  },
2110
- "van-number-keyboard/random-key-order": {
2138
+ "van-password-input/focused": {
2111
2139
  "type": "boolean",
2112
- "description": "是否将通过随机顺序展示按键, 默认值: `false`"
2140
+ "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2113
2141
  },
2114
2142
  "van-picker/columns": {
2115
2143
  "type": "Column[]",
@@ -2230,34 +2258,6 @@
2230
2258
  "type": "string",
2231
2259
  "description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
2232
2260
  },
2233
- "van-password-input/value": {
2234
- "type": "string",
2235
- "description": "密码值, 默认值: `''`"
2236
- },
2237
- "van-password-input/info": {
2238
- "type": "string",
2239
- "description": "输入框下方文字提示, 默认值: -"
2240
- },
2241
- "van-password-input/error-info": {
2242
- "type": "string",
2243
- "description": "输入框下方错误提示, 默认值: -"
2244
- },
2245
- "van-password-input/length": {
2246
- "type": "number | string",
2247
- "description": "密码最大长度, 默认值: `6`"
2248
- },
2249
- "van-password-input/gutter": {
2250
- "type": "number | string",
2251
- "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
2252
- },
2253
- "van-password-input/mask": {
2254
- "type": "boolean",
2255
- "description": "是否隐藏密码内容, 默认值: `true`"
2256
- },
2257
- "van-password-input/focused": {
2258
- "type": "boolean",
2259
- "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2260
- },
2261
2261
  "van-popup/v-model:show": {
2262
2262
  "type": "boolean",
2263
2263
  "description": "是否显示弹出层, 默认值: `false`"
@@ -2341,6 +2341,42 @@
2341
2341
  "type": "boolean",
2342
2342
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
2343
2343
  },
2344
+ "van-progress/percentage": {
2345
+ "type": "number | string",
2346
+ "description": "进度百分比, 默认值: `0`"
2347
+ },
2348
+ "van-progress/stroke-width": {
2349
+ "type": "number | string",
2350
+ "description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
2351
+ },
2352
+ "van-progress/color": {
2353
+ "type": "string",
2354
+ "description": "进度条颜色, 默认值: `#1989fa`"
2355
+ },
2356
+ "van-progress/track-color": {
2357
+ "type": "string",
2358
+ "description": "轨道颜色, 默认值: `#e5e5e5`"
2359
+ },
2360
+ "van-progress/pivot-text": {
2361
+ "type": "string",
2362
+ "description": "进度文字内容, 默认值: 百分比"
2363
+ },
2364
+ "van-progress/pivot-color": {
2365
+ "type": "string",
2366
+ "description": "进度文字背景色, 默认值: 同进度条颜色"
2367
+ },
2368
+ "van-progress/text-color": {
2369
+ "type": "string",
2370
+ "description": "进度文字颜色, 默认值: `white`"
2371
+ },
2372
+ "van-progress/inactive": {
2373
+ "type": "boolean",
2374
+ "description": "是否置灰, 默认值: `false`"
2375
+ },
2376
+ "van-progress/show-pivot": {
2377
+ "type": "boolean",
2378
+ "description": "是否显示进度文字, 默认值: `true`"
2379
+ },
2344
2380
  "van-pull-refresh/v-model": {
2345
2381
  "type": "boolean",
2346
2382
  "description": "是否处于加载中状态, 默认值: -"
@@ -2381,42 +2417,6 @@
2381
2417
  "type": "boolean",
2382
2418
  "description": "是否禁用下拉刷新, 默认值: `false`"
2383
2419
  },
2384
- "van-progress/percentage": {
2385
- "type": "number | string",
2386
- "description": "进度百分比, 默认值: `0`"
2387
- },
2388
- "van-progress/stroke-width": {
2389
- "type": "number | string",
2390
- "description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
2391
- },
2392
- "van-progress/color": {
2393
- "type": "string",
2394
- "description": "进度条颜色, 默认值: `#1989fa`"
2395
- },
2396
- "van-progress/track-color": {
2397
- "type": "string",
2398
- "description": "轨道颜色, 默认值: `#e5e5e5`"
2399
- },
2400
- "van-progress/pivot-text": {
2401
- "type": "string",
2402
- "description": "进度文字内容, 默认值: 百分比"
2403
- },
2404
- "van-progress/pivot-color": {
2405
- "type": "string",
2406
- "description": "进度文字背景色, 默认值: 同进度条颜色"
2407
- },
2408
- "van-progress/text-color": {
2409
- "type": "string",
2410
- "description": "进度文字颜色, 默认值: `white`"
2411
- },
2412
- "van-progress/inactive": {
2413
- "type": "boolean",
2414
- "description": "是否置灰, 默认值: `false`"
2415
- },
2416
- "van-progress/show-pivot": {
2417
- "type": "boolean",
2418
- "description": "是否显示进度文字, 默认值: `true`"
2419
- },
2420
2420
  "van-radio/name": {
2421
2421
  "type": "any",
2422
2422
  "description": "标识符, 默认值: -"
@@ -2439,7 +2439,7 @@
2439
2439
  },
2440
2440
  "van-radio/icon-size": {
2441
2441
  "type": "number | string",
2442
- "description": "图标大小,默认单位为`px`, 默认值: `20px`"
2442
+ "description": "图标大小,默认单位为 `px`, 默认值: `20px`"
2443
2443
  },
2444
2444
  "van-radio/checked-color": {
2445
2445
  "type": "string",
@@ -2455,11 +2455,11 @@
2455
2455
  },
2456
2456
  "van-radio-group/direction": {
2457
2457
  "type": "string",
2458
- "description": "排列方向,可选值为`horizontal`, 默认值: `vertical`"
2458
+ "description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
2459
2459
  },
2460
2460
  "van-radio-group/icon-size": {
2461
2461
  "type": "number | string",
2462
- "description": "所有单选框的图标大小,默认单位为`px`, 默认值: `20px`"
2462
+ "description": "所有单选框的图标大小,默认单位为 `px`, 默认值: `20px`"
2463
2463
  },
2464
2464
  "van-radio-group/checked-color": {
2465
2465
  "type": "string",
@@ -2521,10 +2521,18 @@
2521
2521
  "type": "boolean",
2522
2522
  "description": "是否可以通过滑动手势选择评分, 默认值: `true`"
2523
2523
  },
2524
+ "van-search/v-model": {
2525
+ "type": "number | string",
2526
+ "description": "当前输入的值, 默认值: -"
2527
+ },
2524
2528
  "van-search/label": {
2525
2529
  "type": "string",
2526
2530
  "description": "搜索框左侧文本, 默认值: -"
2527
2531
  },
2532
+ "van-search/name": {
2533
+ "type": "string",
2534
+ "description": "名称,作为提交表单时的标识符, 默认值: -"
2535
+ },
2528
2536
  "van-search/shape": {
2529
2537
  "type": "string",
2530
2538
  "description": "搜索框形状,可选值为 `round`, 默认值: `square`"
@@ -2605,6 +2613,10 @@
2605
2613
  "type": "string",
2606
2614
  "description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2607
2615
  },
2616
+ "van-search/autocomplete": {
2617
+ "type": "string",
2618
+ "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
2619
+ },
2608
2620
  "van-share-sheet/v-model:show": {
2609
2621
  "type": "boolean",
2610
2622
  "description": "是否显示分享面板, 默认值: `false`"
@@ -2629,6 +2641,10 @@
2629
2641
  "type": "number | string",
2630
2642
  "description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
2631
2643
  },
2644
+ "van-share-sheet/round": {
2645
+ "type": "boolean",
2646
+ "description": "是否显示圆角, 默认值: `true`"
2647
+ },
2632
2648
  "van-share-sheet/overlay": {
2633
2649
  "type": "boolean",
2634
2650
  "description": "是否显示遮罩层, 默认值: `true`"
@@ -2998,30 +3014,6 @@
2998
3014
  "type": "boolean",
2999
3015
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
3000
3016
  },
3001
- "van-swipe-cell/name": {
3002
- "type": "number | string",
3003
- "description": "标识符,可以在事件参数中获取到, 默认值: `''`"
3004
- },
3005
- "van-swipe-cell/left-width": {
3006
- "type": "number | string",
3007
- "description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3008
- },
3009
- "van-swipe-cell/right-width": {
3010
- "type": "number | string",
3011
- "description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3012
- },
3013
- "van-swipe-cell/before-close": {
3014
- "type": "(args) => boolean | Promise\\<boolean\\>",
3015
- "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
3016
- },
3017
- "van-swipe-cell/disabled": {
3018
- "type": "boolean",
3019
- "description": "是否禁用滑动, 默认值: `false`"
3020
- },
3021
- "van-swipe-cell/stop-propagation": {
3022
- "type": "boolean",
3023
- "description": "是否阻止滑动事件冒泡, 默认值: `false`"
3024
- },
3025
3017
  "van-swipe/autoplay": {
3026
3018
  "type": "number | string",
3027
3019
  "description": "自动轮播间隔,单位为 ms, 默认值: -"
@@ -3070,6 +3062,30 @@
3070
3062
  "type": "string",
3071
3063
  "description": "指示器颜色, 默认值: `#1989fa`"
3072
3064
  },
3065
+ "van-swipe-cell/name": {
3066
+ "type": "number | string",
3067
+ "description": "标识符,可以在事件参数中获取到, 默认值: `''`"
3068
+ },
3069
+ "van-swipe-cell/left-width": {
3070
+ "type": "number | string",
3071
+ "description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3072
+ },
3073
+ "van-swipe-cell/right-width": {
3074
+ "type": "number | string",
3075
+ "description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3076
+ },
3077
+ "van-swipe-cell/before-close": {
3078
+ "type": "(args) => boolean | Promise\\<boolean\\>",
3079
+ "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
3080
+ },
3081
+ "van-swipe-cell/disabled": {
3082
+ "type": "boolean",
3083
+ "description": "是否禁用滑动, 默认值: `false`"
3084
+ },
3085
+ "van-swipe-cell/stop-propagation": {
3086
+ "type": "boolean",
3087
+ "description": "是否阻止滑动事件冒泡, 默认值: `false`"
3088
+ },
3073
3089
  "van-switch/v-model": {
3074
3090
  "type": "any",
3075
3091
  "description": "开关选中状态, 默认值: `false`"
@@ -3144,7 +3160,7 @@
3144
3160
  },
3145
3161
  "van-tabs/sticky": {
3146
3162
  "type": "boolean",
3147
- "description": "是否使用粘性定位布局, 默认值: `false`"
3163
+ "description": "是否使用粘性布局, 默认值: `false`"
3148
3164
  },
3149
3165
  "van-tabs/swipeable": {
3150
3166
  "type": "boolean",
@@ -3160,7 +3176,7 @@
3160
3176
  },
3161
3177
  "van-tabs/offset-top": {
3162
3178
  "type": "number | string",
3163
- "description": "粘性定位布局下与顶部的最小距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
3179
+ "description": "粘性布局下吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
3164
3180
  },
3165
3181
  "van-tabs/swipe-threshold": {
3166
3182
  "type": "number | string",
@@ -3441,12 +3457,12 @@
3441
3457
  "type": "number | string \\",
3442
3458
  "description": "文件大小限制,单位为 `byte`, 默认值: (file: File) => boolean_",
3443
3459
  "options": [
3444
- "-"
3460
+ "Infinity"
3445
3461
  ]
3446
3462
  },
3447
3463
  "van-uploader/max-count": {
3448
3464
  "type": "number | string",
3449
- "description": "文件上传数量限制, 默认值: -"
3465
+ "description": "文件上传数量限制, 默认值: `Infinity`"
3450
3466
  },
3451
3467
  "van-uploader/result-type": {
3452
3468
  "type": "string",