vant 3.3.7 → 3.4.0

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 (464) hide show
  1. package/es/action-bar/ActionBar.d.ts +2 -2
  2. package/es/action-bar/index.d.ts +6 -1
  3. package/es/action-bar-button/ActionBarButton.d.ts +4 -4
  4. package/es/action-bar-button/index.d.ts +8 -3
  5. package/es/action-bar-icon/ActionBarIcon.d.ts +69 -8
  6. package/es/action-bar-icon/ActionBarIcon.js +8 -5
  7. package/es/action-bar-icon/index.d.ts +49 -3
  8. package/es/action-sheet/ActionSheet.d.ts +2 -2
  9. package/es/action-sheet/ActionSheet.js +27 -15
  10. package/es/action-sheet/index.d.ts +6 -1
  11. package/es/address-edit/AddressEdit.d.ts +2 -2
  12. package/es/address-edit/AddressEditDetail.d.ts +2 -2
  13. package/es/address-edit/index.d.ts +6 -1
  14. package/es/address-list/AddressList.d.ts +2 -2
  15. package/es/address-list/AddressListItem.d.ts +2 -2
  16. package/es/address-list/index.d.ts +6 -1
  17. package/es/area/Area.d.ts +2 -2
  18. package/es/area/index.d.ts +6 -1
  19. package/es/badge/Badge.d.ts +3 -3
  20. package/es/badge/index.d.ts +7 -2
  21. package/es/button/Button.d.ts +4 -4
  22. package/es/button/index.d.ts +8 -3
  23. package/es/calendar/Calendar.d.ts +3 -3
  24. package/es/calendar/CalendarDay.d.ts +2 -2
  25. package/es/calendar/CalendarHeader.d.ts +1 -1
  26. package/es/calendar/CalendarMonth.d.ts +4 -4
  27. package/es/calendar/index.d.ts +7 -2
  28. package/es/card/Card.d.ts +2 -2
  29. package/es/card/index.d.ts +6 -1
  30. package/es/cascader/Cascader.d.ts +2 -2
  31. package/es/cascader/Cascader.js +1 -1
  32. package/es/cascader/index.css +1 -1
  33. package/es/cascader/index.d.ts +6 -1
  34. package/es/cascader/index.less +0 -10
  35. package/es/cell/Cell.d.ts +2 -2
  36. package/es/cell/index.d.ts +6 -1
  37. package/es/cell-group/CellGroup.d.ts +2 -2
  38. package/es/cell-group/index.d.ts +6 -1
  39. package/es/checkbox/Checkbox.d.ts +2 -2
  40. package/es/checkbox/Checker.d.ts +2 -2
  41. package/es/checkbox/index.d.ts +6 -1
  42. package/es/checkbox-group/CheckboxGroup.d.ts +2 -2
  43. package/es/checkbox-group/index.d.ts +6 -1
  44. package/es/circle/Circle.d.ts +2 -2
  45. package/es/circle/index.d.ts +6 -1
  46. package/es/col/Col.d.ts +2 -2
  47. package/es/col/index.d.ts +6 -1
  48. package/es/collapse/Collapse.d.ts +2 -2
  49. package/es/collapse/index.d.ts +6 -1
  50. package/es/collapse-item/CollapseItem.d.ts +2 -2
  51. package/es/collapse-item/index.d.ts +6 -1
  52. package/es/composables/use-refs.js +9 -2
  53. package/es/composables/use-route.d.ts +1 -1
  54. package/es/composables/use-touch.js +7 -6
  55. package/es/config-provider/ConfigProvider.d.ts +2 -2
  56. package/es/config-provider/index.d.ts +6 -1
  57. package/es/contact-card/ContactCard.d.ts +2 -2
  58. package/es/contact-card/index.d.ts +6 -1
  59. package/es/contact-edit/ContactEdit.d.ts +2 -2
  60. package/es/contact-edit/index.d.ts +6 -1
  61. package/es/contact-list/ContactList.d.ts +2 -2
  62. package/es/contact-list/index.d.ts +6 -1
  63. package/es/count-down/CountDown.d.ts +2 -2
  64. package/es/count-down/index.d.ts +6 -1
  65. package/es/coupon/Coupon.d.ts +2 -2
  66. package/es/coupon/index.d.ts +6 -1
  67. package/es/coupon-cell/CouponCell.d.ts +2 -2
  68. package/es/coupon-cell/index.d.ts +6 -1
  69. package/es/coupon-list/CouponList.d.ts +2 -2
  70. package/es/coupon-list/index.d.ts +6 -1
  71. package/es/datetime-picker/DatePicker.d.ts +1 -1
  72. package/es/datetime-picker/DatetimePicker.d.ts +2 -2
  73. package/es/datetime-picker/TimePicker.d.ts +1 -1
  74. package/es/datetime-picker/index.d.ts +6 -1
  75. package/es/datetime-picker/utils.d.ts +1 -1
  76. package/es/dialog/Dialog.d.ts +2 -2
  77. package/es/dialog/function-call.d.ts +1 -1
  78. package/es/dialog/index.d.ts +5 -0
  79. package/es/divider/Divider.d.ts +2 -2
  80. package/es/divider/index.d.ts +6 -1
  81. package/es/dropdown-item/DropdownItem.d.ts +2 -2
  82. package/es/dropdown-item/index.d.ts +6 -1
  83. package/es/dropdown-menu/DropdownMenu.d.ts +2 -2
  84. package/es/dropdown-menu/index.d.ts +6 -1
  85. package/es/empty/Empty.d.ts +2 -2
  86. package/es/empty/index.d.ts +6 -1
  87. package/es/field/Field.d.ts +2 -2
  88. package/es/field/index.d.ts +6 -1
  89. package/es/field/types.d.ts +1 -1
  90. package/es/form/Form.d.ts +2 -2
  91. package/es/form/index.d.ts +6 -1
  92. package/es/grid/Grid.d.ts +2 -2
  93. package/es/grid/index.d.ts +6 -1
  94. package/es/grid-item/GridItem.d.ts +66 -5
  95. package/es/grid-item/GridItem.js +8 -6
  96. package/es/grid-item/index.d.ts +48 -2
  97. package/es/icon/Icon.d.ts +66 -5
  98. package/es/icon/Icon.js +7 -6
  99. package/es/icon/index.css +1 -1
  100. package/es/icon/index.d.ts +48 -2
  101. package/es/image/Image.d.ts +2 -2
  102. package/es/image/index.d.ts +6 -1
  103. package/es/image-preview/ImagePreview.d.ts +6 -2
  104. package/es/image-preview/ImagePreview.js +2 -1
  105. package/es/image-preview/ImagePreviewItem.d.ts +1 -1
  106. package/es/image-preview/function-call.d.ts +4 -1
  107. package/es/image-preview/function-call.js +1 -0
  108. package/es/image-preview/index.d.ts +5 -0
  109. package/es/image-preview/types.d.ts +1 -0
  110. package/es/index-anchor/IndexAnchor.d.ts +2 -2
  111. package/es/index-anchor/index.d.ts +6 -1
  112. package/es/index-bar/IndexBar.d.ts +2 -2
  113. package/es/index-bar/index.d.ts +6 -1
  114. package/es/index.d.ts +1 -1
  115. package/es/index.js +1 -1
  116. package/es/list/List.d.ts +2 -2
  117. package/es/list/index.d.ts +6 -1
  118. package/es/loading/Loading.d.ts +2 -2
  119. package/es/loading/index.d.ts +6 -1
  120. package/es/nav-bar/NavBar.d.ts +2 -2
  121. package/es/nav-bar/index.d.ts +6 -1
  122. package/es/notice-bar/NoticeBar.d.ts +2 -2
  123. package/es/notice-bar/index.d.ts +6 -1
  124. package/es/notify/Notify.d.ts +14 -3
  125. package/es/notify/Notify.js +2 -1
  126. package/es/notify/function-call.d.ts +9 -2
  127. package/es/notify/function-call.js +1 -0
  128. package/es/notify/index.d.ts +5 -0
  129. package/es/notify/types.d.ts +2 -0
  130. package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
  131. package/es/number-keyboard/NumberKeyboardKey.d.ts +3 -3
  132. package/es/number-keyboard/index.d.ts +6 -1
  133. package/es/overlay/Overlay.d.ts +2 -2
  134. package/es/overlay/index.d.ts +6 -1
  135. package/es/pagination/Pagination.d.ts +2 -2
  136. package/es/pagination/index.d.ts +6 -1
  137. package/es/password-input/PasswordInput.d.ts +2 -2
  138. package/es/password-input/index.d.ts +6 -1
  139. package/es/picker/Picker.d.ts +2 -2
  140. package/es/picker/Picker.js +21 -13
  141. package/es/picker/PickerColumn.d.ts +1 -1
  142. package/es/picker/index.d.ts +6 -1
  143. package/es/popover/Popover.d.ts +2 -2
  144. package/es/popover/Popover.js +19 -9
  145. package/es/popover/index.d.ts +6 -1
  146. package/es/popup/Popup.d.ts +3 -4
  147. package/es/popup/Popup.js +7 -4
  148. package/es/popup/index.d.ts +16 -10
  149. package/es/popup/shared.d.ts +1 -1
  150. package/es/popup/types.d.ts +5 -0
  151. package/es/popup/types.js +1 -0
  152. package/es/progress/Progress.d.ts +2 -2
  153. package/es/progress/index.d.ts +6 -1
  154. package/es/pull-refresh/PullRefresh.d.ts +2 -2
  155. package/es/pull-refresh/index.css +1 -1
  156. package/es/pull-refresh/index.d.ts +6 -1
  157. package/es/pull-refresh/index.less +0 -1
  158. package/es/radio/Radio.d.ts +2 -2
  159. package/es/radio/index.d.ts +6 -1
  160. package/es/radio-group/RadioGroup.d.ts +2 -2
  161. package/es/radio-group/index.d.ts +6 -1
  162. package/es/rate/Rate.d.ts +2 -2
  163. package/es/rate/index.d.ts +6 -1
  164. package/es/row/Row.d.ts +2 -2
  165. package/es/row/index.d.ts +6 -1
  166. package/es/search/Search.d.ts +8 -2
  167. package/es/search/Search.js +19 -1
  168. package/es/search/index.d.ts +12 -1
  169. package/es/share-sheet/ShareSheet.d.ts +2 -2
  170. package/es/share-sheet/index.d.ts +6 -1
  171. package/es/sidebar/Sidebar.d.ts +2 -2
  172. package/es/sidebar/index.d.ts +6 -1
  173. package/es/sidebar-item/SidebarItem.d.ts +65 -4
  174. package/es/sidebar-item/SidebarItem.js +7 -6
  175. package/es/sidebar-item/index.d.ts +47 -1
  176. package/es/skeleton/Skeleton.d.ts +2 -2
  177. package/es/skeleton/index.d.ts +6 -1
  178. package/es/slider/Slider.d.ts +4 -4
  179. package/es/slider/index.d.ts +8 -3
  180. package/es/step/Step.d.ts +1 -1
  181. package/es/step/Step.js +1 -1
  182. package/es/step/index.d.ts +6 -1
  183. package/es/stepper/Stepper.d.ts +2 -2
  184. package/es/stepper/index.d.ts +6 -1
  185. package/es/steps/Steps.d.ts +2 -2
  186. package/es/steps/index.d.ts +6 -1
  187. package/es/sticky/Sticky.d.ts +2 -2
  188. package/es/sticky/index.d.ts +6 -1
  189. package/es/submit-bar/SubmitBar.d.ts +2 -2
  190. package/es/submit-bar/index.d.ts +6 -1
  191. package/es/swipe/Swipe.d.ts +2 -2
  192. package/es/swipe/Swipe.js +34 -30
  193. package/es/swipe/index.d.ts +6 -1
  194. package/es/swipe-cell/SwipeCell.d.ts +2 -2
  195. package/es/swipe-cell/SwipeCell.js +8 -5
  196. package/es/swipe-cell/index.d.ts +6 -1
  197. package/es/swipe-item/SwipeItem.d.ts +1 -1
  198. package/es/swipe-item/index.d.ts +6 -1
  199. package/es/switch/Switch.d.ts +2 -2
  200. package/es/switch/index.d.ts +6 -1
  201. package/es/tab/Tab.d.ts +2 -2
  202. package/es/tab/index.d.ts +6 -1
  203. package/es/tabbar/Tabbar.d.ts +2 -2
  204. package/es/tabbar/index.d.ts +6 -1
  205. package/es/tabbar-item/TabbarItem.d.ts +65 -4
  206. package/es/tabbar-item/TabbarItem.js +6 -5
  207. package/es/tabbar-item/index.d.ts +47 -1
  208. package/es/tabs/Tabs.d.ts +7 -2
  209. package/es/tabs/Tabs.js +19 -11
  210. package/es/tabs/TabsContent.d.ts +1 -1
  211. package/es/tabs/TabsTitle.d.ts +6 -5
  212. package/es/tabs/TabsTitle.js +10 -5
  213. package/es/tabs/index.css +1 -1
  214. package/es/tabs/index.d.ts +10 -1
  215. package/es/tabs/index.less +43 -35
  216. package/es/tag/Tag.d.ts +2 -2
  217. package/es/tag/index.d.ts +6 -1
  218. package/es/toast/Toast.d.ts +2 -2
  219. package/es/toast/function-call.d.ts +2 -2
  220. package/es/toast/function-call.js +1 -1
  221. package/es/tree-select/TreeSelect.d.ts +2 -2
  222. package/es/tree-select/index.css +1 -1
  223. package/es/tree-select/index.d.ts +6 -1
  224. package/es/tree-select/index.less +1 -1
  225. package/es/uploader/Uploader.d.ts +3 -3
  226. package/es/uploader/UploaderPreviewItem.d.ts +2 -2
  227. package/es/uploader/index.d.ts +6 -1
  228. package/lib/action-bar/ActionBar.d.ts +2 -2
  229. package/lib/action-bar/index.d.ts +6 -1
  230. package/lib/action-bar-button/ActionBarButton.d.ts +4 -4
  231. package/lib/action-bar-button/index.d.ts +8 -3
  232. package/lib/action-bar-icon/ActionBarIcon.d.ts +69 -8
  233. package/lib/action-bar-icon/ActionBarIcon.js +7 -4
  234. package/lib/action-bar-icon/index.d.ts +49 -3
  235. package/lib/action-sheet/ActionSheet.d.ts +2 -2
  236. package/lib/action-sheet/ActionSheet.js +27 -15
  237. package/lib/action-sheet/index.d.ts +6 -1
  238. package/lib/address-edit/AddressEdit.d.ts +2 -2
  239. package/lib/address-edit/AddressEditDetail.d.ts +2 -2
  240. package/lib/address-edit/index.d.ts +6 -1
  241. package/lib/address-list/AddressList.d.ts +2 -2
  242. package/lib/address-list/AddressListItem.d.ts +2 -2
  243. package/lib/address-list/index.d.ts +6 -1
  244. package/lib/area/Area.d.ts +2 -2
  245. package/lib/area/index.d.ts +6 -1
  246. package/lib/badge/Badge.d.ts +3 -3
  247. package/lib/badge/index.d.ts +7 -2
  248. package/lib/button/Button.d.ts +4 -4
  249. package/lib/button/index.d.ts +8 -3
  250. package/lib/calendar/Calendar.d.ts +3 -3
  251. package/lib/calendar/CalendarDay.d.ts +2 -2
  252. package/lib/calendar/CalendarHeader.d.ts +1 -1
  253. package/lib/calendar/CalendarMonth.d.ts +4 -4
  254. package/lib/calendar/index.d.ts +7 -2
  255. package/lib/card/Card.d.ts +2 -2
  256. package/lib/card/index.d.ts +6 -1
  257. package/lib/cascader/Cascader.d.ts +2 -2
  258. package/lib/cascader/Cascader.js +1 -1
  259. package/lib/cascader/index.css +1 -1
  260. package/lib/cascader/index.d.ts +6 -1
  261. package/lib/cascader/index.less +0 -10
  262. package/lib/cell/Cell.d.ts +2 -2
  263. package/lib/cell/index.d.ts +6 -1
  264. package/lib/cell-group/CellGroup.d.ts +2 -2
  265. package/lib/cell-group/index.d.ts +6 -1
  266. package/lib/checkbox/Checkbox.d.ts +2 -2
  267. package/lib/checkbox/Checker.d.ts +2 -2
  268. package/lib/checkbox/index.d.ts +6 -1
  269. package/lib/checkbox-group/CheckboxGroup.d.ts +2 -2
  270. package/lib/checkbox-group/index.d.ts +6 -1
  271. package/lib/circle/Circle.d.ts +2 -2
  272. package/lib/circle/index.d.ts +6 -1
  273. package/lib/col/Col.d.ts +2 -2
  274. package/lib/col/index.d.ts +6 -1
  275. package/lib/collapse/Collapse.d.ts +2 -2
  276. package/lib/collapse/index.d.ts +6 -1
  277. package/lib/collapse-item/CollapseItem.d.ts +2 -2
  278. package/lib/collapse-item/index.d.ts +6 -1
  279. package/lib/composables/use-refs.js +9 -2
  280. package/lib/composables/use-route.d.ts +1 -1
  281. package/lib/composables/use-touch.js +7 -7
  282. package/lib/config-provider/ConfigProvider.d.ts +2 -2
  283. package/lib/config-provider/index.d.ts +6 -1
  284. package/lib/contact-card/ContactCard.d.ts +2 -2
  285. package/lib/contact-card/index.d.ts +6 -1
  286. package/lib/contact-edit/ContactEdit.d.ts +2 -2
  287. package/lib/contact-edit/index.d.ts +6 -1
  288. package/lib/contact-list/ContactList.d.ts +2 -2
  289. package/lib/contact-list/index.d.ts +6 -1
  290. package/lib/count-down/CountDown.d.ts +2 -2
  291. package/lib/count-down/index.d.ts +6 -1
  292. package/lib/coupon/Coupon.d.ts +2 -2
  293. package/lib/coupon/index.d.ts +6 -1
  294. package/lib/coupon-cell/CouponCell.d.ts +2 -2
  295. package/lib/coupon-cell/index.d.ts +6 -1
  296. package/lib/coupon-list/CouponList.d.ts +2 -2
  297. package/lib/coupon-list/index.d.ts +6 -1
  298. package/lib/datetime-picker/DatePicker.d.ts +1 -1
  299. package/lib/datetime-picker/DatetimePicker.d.ts +2 -2
  300. package/lib/datetime-picker/TimePicker.d.ts +1 -1
  301. package/lib/datetime-picker/index.d.ts +6 -1
  302. package/lib/datetime-picker/utils.d.ts +1 -1
  303. package/lib/dialog/Dialog.d.ts +2 -2
  304. package/lib/dialog/function-call.d.ts +1 -1
  305. package/lib/dialog/index.d.ts +5 -0
  306. package/lib/divider/Divider.d.ts +2 -2
  307. package/lib/divider/index.d.ts +6 -1
  308. package/lib/dropdown-item/DropdownItem.d.ts +2 -2
  309. package/lib/dropdown-item/index.d.ts +6 -1
  310. package/lib/dropdown-menu/DropdownMenu.d.ts +2 -2
  311. package/lib/dropdown-menu/index.d.ts +6 -1
  312. package/lib/empty/Empty.d.ts +2 -2
  313. package/lib/empty/index.d.ts +6 -1
  314. package/lib/field/Field.d.ts +2 -2
  315. package/lib/field/index.d.ts +6 -1
  316. package/lib/field/types.d.ts +1 -1
  317. package/lib/form/Form.d.ts +2 -2
  318. package/lib/form/index.d.ts +6 -1
  319. package/lib/grid/Grid.d.ts +2 -2
  320. package/lib/grid/index.d.ts +6 -1
  321. package/lib/grid-item/GridItem.d.ts +66 -5
  322. package/lib/grid-item/GridItem.js +7 -5
  323. package/lib/grid-item/index.d.ts +48 -2
  324. package/lib/icon/Icon.d.ts +66 -5
  325. package/lib/icon/Icon.js +5 -4
  326. package/lib/icon/index.css +1 -1
  327. package/lib/icon/index.d.ts +48 -2
  328. package/lib/image/Image.d.ts +2 -2
  329. package/lib/image/index.d.ts +6 -1
  330. package/lib/image-preview/ImagePreview.d.ts +6 -2
  331. package/lib/image-preview/ImagePreview.js +2 -1
  332. package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
  333. package/lib/image-preview/function-call.d.ts +4 -1
  334. package/lib/image-preview/function-call.js +1 -0
  335. package/lib/image-preview/index.d.ts +5 -0
  336. package/lib/image-preview/types.d.ts +1 -0
  337. package/lib/index-anchor/IndexAnchor.d.ts +2 -2
  338. package/lib/index-anchor/index.d.ts +6 -1
  339. package/lib/index-bar/IndexBar.d.ts +2 -2
  340. package/lib/index-bar/index.d.ts +6 -1
  341. package/lib/index.css +1 -1
  342. package/lib/index.d.ts +1 -1
  343. package/lib/index.js +1 -1
  344. package/lib/list/List.d.ts +2 -2
  345. package/lib/list/index.d.ts +6 -1
  346. package/lib/loading/Loading.d.ts +2 -2
  347. package/lib/loading/index.d.ts +6 -1
  348. package/lib/nav-bar/NavBar.d.ts +2 -2
  349. package/lib/nav-bar/index.d.ts +6 -1
  350. package/lib/notice-bar/NoticeBar.d.ts +2 -2
  351. package/lib/notice-bar/index.d.ts +6 -1
  352. package/lib/notify/Notify.d.ts +14 -3
  353. package/lib/notify/Notify.js +2 -1
  354. package/lib/notify/function-call.d.ts +9 -2
  355. package/lib/notify/function-call.js +1 -0
  356. package/lib/notify/index.d.ts +5 -0
  357. package/lib/notify/types.d.ts +2 -0
  358. package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
  359. package/lib/number-keyboard/NumberKeyboardKey.d.ts +3 -3
  360. package/lib/number-keyboard/index.d.ts +6 -1
  361. package/lib/overlay/Overlay.d.ts +2 -2
  362. package/lib/overlay/index.d.ts +6 -1
  363. package/lib/pagination/Pagination.d.ts +2 -2
  364. package/lib/pagination/index.d.ts +6 -1
  365. package/lib/password-input/PasswordInput.d.ts +2 -2
  366. package/lib/password-input/index.d.ts +6 -1
  367. package/lib/picker/Picker.d.ts +2 -2
  368. package/lib/picker/Picker.js +21 -13
  369. package/lib/picker/PickerColumn.d.ts +1 -1
  370. package/lib/picker/index.d.ts +6 -1
  371. package/lib/popover/Popover.d.ts +2 -2
  372. package/lib/popover/Popover.js +18 -8
  373. package/lib/popover/index.d.ts +6 -1
  374. package/lib/popup/Popup.d.ts +3 -4
  375. package/lib/popup/Popup.js +5 -3
  376. package/lib/popup/index.d.ts +16 -10
  377. package/lib/popup/shared.d.ts +1 -1
  378. package/lib/popup/types.d.ts +5 -0
  379. package/lib/popup/types.js +3 -0
  380. package/lib/progress/Progress.d.ts +2 -2
  381. package/lib/progress/index.d.ts +6 -1
  382. package/lib/pull-refresh/PullRefresh.d.ts +2 -2
  383. package/lib/pull-refresh/index.css +1 -1
  384. package/lib/pull-refresh/index.d.ts +6 -1
  385. package/lib/pull-refresh/index.less +0 -1
  386. package/lib/radio/Radio.d.ts +2 -2
  387. package/lib/radio/index.d.ts +6 -1
  388. package/lib/radio-group/RadioGroup.d.ts +2 -2
  389. package/lib/radio-group/index.d.ts +6 -1
  390. package/lib/rate/Rate.d.ts +2 -2
  391. package/lib/rate/index.d.ts +6 -1
  392. package/lib/row/Row.d.ts +2 -2
  393. package/lib/row/index.d.ts +6 -1
  394. package/lib/search/Search.d.ts +8 -2
  395. package/lib/search/Search.js +19 -1
  396. package/lib/search/index.d.ts +12 -1
  397. package/lib/share-sheet/ShareSheet.d.ts +2 -2
  398. package/lib/share-sheet/index.d.ts +6 -1
  399. package/lib/sidebar/Sidebar.d.ts +2 -2
  400. package/lib/sidebar/index.d.ts +6 -1
  401. package/lib/sidebar-item/SidebarItem.d.ts +65 -4
  402. package/lib/sidebar-item/SidebarItem.js +6 -5
  403. package/lib/sidebar-item/index.d.ts +47 -1
  404. package/lib/skeleton/Skeleton.d.ts +2 -2
  405. package/lib/skeleton/index.d.ts +6 -1
  406. package/lib/slider/Slider.d.ts +4 -4
  407. package/lib/slider/index.d.ts +8 -3
  408. package/lib/step/Step.d.ts +1 -1
  409. package/lib/step/Step.js +1 -1
  410. package/lib/step/index.d.ts +6 -1
  411. package/lib/stepper/Stepper.d.ts +2 -2
  412. package/lib/stepper/index.d.ts +6 -1
  413. package/lib/steps/Steps.d.ts +2 -2
  414. package/lib/steps/index.d.ts +6 -1
  415. package/lib/sticky/Sticky.d.ts +2 -2
  416. package/lib/sticky/index.d.ts +6 -1
  417. package/lib/submit-bar/SubmitBar.d.ts +2 -2
  418. package/lib/submit-bar/index.d.ts +6 -1
  419. package/lib/swipe/Swipe.d.ts +2 -2
  420. package/lib/swipe/Swipe.js +34 -30
  421. package/lib/swipe/index.d.ts +6 -1
  422. package/lib/swipe-cell/SwipeCell.d.ts +2 -2
  423. package/lib/swipe-cell/SwipeCell.js +8 -5
  424. package/lib/swipe-cell/index.d.ts +6 -1
  425. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  426. package/lib/swipe-item/index.d.ts +6 -1
  427. package/lib/switch/Switch.d.ts +2 -2
  428. package/lib/switch/index.d.ts +6 -1
  429. package/lib/tab/Tab.d.ts +2 -2
  430. package/lib/tab/index.d.ts +6 -1
  431. package/lib/tabbar/Tabbar.d.ts +2 -2
  432. package/lib/tabbar/index.d.ts +6 -1
  433. package/lib/tabbar-item/TabbarItem.d.ts +65 -4
  434. package/lib/tabbar-item/TabbarItem.js +5 -4
  435. package/lib/tabbar-item/index.d.ts +47 -1
  436. package/lib/tabs/Tabs.d.ts +7 -2
  437. package/lib/tabs/Tabs.js +18 -10
  438. package/lib/tabs/TabsContent.d.ts +1 -1
  439. package/lib/tabs/TabsTitle.d.ts +6 -5
  440. package/lib/tabs/TabsTitle.js +10 -5
  441. package/lib/tabs/index.css +1 -1
  442. package/lib/tabs/index.d.ts +10 -1
  443. package/lib/tabs/index.less +43 -35
  444. package/lib/tag/Tag.d.ts +2 -2
  445. package/lib/tag/index.d.ts +6 -1
  446. package/lib/toast/Toast.d.ts +2 -2
  447. package/lib/toast/function-call.d.ts +2 -2
  448. package/lib/tree-select/TreeSelect.d.ts +2 -2
  449. package/lib/tree-select/index.css +1 -1
  450. package/lib/tree-select/index.d.ts +6 -1
  451. package/lib/tree-select/index.less +1 -1
  452. package/lib/uploader/Uploader.d.ts +3 -3
  453. package/lib/uploader/UploaderPreviewItem.d.ts +2 -2
  454. package/lib/uploader/index.d.ts +6 -1
  455. package/lib/vant.cjs.js +190 -117
  456. package/lib/vant.cjs.min.js +1 -1
  457. package/lib/vant.es.js +191 -118
  458. package/lib/vant.es.min.js +191 -118
  459. package/lib/vant.js +190 -117
  460. package/lib/vant.min.js +1 -1
  461. package/package.json +1 -1
  462. package/vetur/attributes.json +178 -147
  463. package/vetur/tags.json +48 -41
  464. package/vetur/web-types.json +491 -403
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "vant",
5
- "version": "3.3.7",
5
+ "version": "3.4.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -109,6 +109,16 @@
109
109
  "kind": "expression"
110
110
  }
111
111
  },
112
+ {
113
+ "name": "badge-props",
114
+ "default": "-",
115
+ "description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props)",
116
+ "options": [],
117
+ "value": {
118
+ "type": "BadgeProps",
119
+ "kind": "expression"
120
+ }
121
+ },
112
122
  {
113
123
  "name": "url",
114
124
  "default": "-",
@@ -184,7 +194,7 @@
184
194
  {
185
195
  "name": "icon",
186
196
  "default": "-",
187
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
197
+ "description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
188
198
  "options": [],
189
199
  "value": {
190
200
  "type": "string",
@@ -243,6 +253,125 @@
243
253
  }
244
254
  ]
245
255
  },
256
+ {
257
+ "name": "van-address-list",
258
+ "slots": [
259
+ {
260
+ "name": "default",
261
+ "description": "在列表下方插入内容"
262
+ },
263
+ {
264
+ "name": "top",
265
+ "description": "在顶部插入内容"
266
+ },
267
+ {
268
+ "name": "item-bottom",
269
+ "description": "在列表项底部插入内容"
270
+ },
271
+ {
272
+ "name": "tag",
273
+ "description": "自定义列表项标签内容"
274
+ }
275
+ ],
276
+ "events": [
277
+ {
278
+ "name": "add",
279
+ "description": "点击新增按钮时触发"
280
+ },
281
+ {
282
+ "name": "edit",
283
+ "description": "点击编辑按钮时触发"
284
+ },
285
+ {
286
+ "name": "select",
287
+ "description": "切换选中的地址时触发"
288
+ },
289
+ {
290
+ "name": "edit-disabled",
291
+ "description": "编辑不可配送的地址时触发"
292
+ },
293
+ {
294
+ "name": "select-disabled",
295
+ "description": "选中不可配送的地址时触发"
296
+ },
297
+ {
298
+ "name": "click-item",
299
+ "description": "点击任意地址时触发"
300
+ }
301
+ ],
302
+ "attributes": [
303
+ {
304
+ "name": "v-model",
305
+ "default": "-",
306
+ "description": "当前选中地址的 id",
307
+ "options": [],
308
+ "value": {
309
+ "type": "string",
310
+ "kind": "expression"
311
+ }
312
+ },
313
+ {
314
+ "name": "list",
315
+ "default": "`[]`",
316
+ "description": "地址列表",
317
+ "options": [],
318
+ "value": {
319
+ "type": "AddressListAddress[]",
320
+ "kind": "expression"
321
+ }
322
+ },
323
+ {
324
+ "name": "disabled-list",
325
+ "default": "`[]`",
326
+ "description": "不可配送地址列表",
327
+ "options": [],
328
+ "value": {
329
+ "type": "AddressListAddress[]",
330
+ "kind": "expression"
331
+ }
332
+ },
333
+ {
334
+ "name": "disabled-text",
335
+ "default": "-",
336
+ "description": "不可配送提示文案",
337
+ "options": [],
338
+ "value": {
339
+ "type": "string",
340
+ "kind": "expression"
341
+ }
342
+ },
343
+ {
344
+ "name": "switchable",
345
+ "default": "`true`",
346
+ "description": "是否允许切换地址",
347
+ "options": [],
348
+ "value": {
349
+ "type": "boolean",
350
+ "kind": "expression"
351
+ }
352
+ },
353
+ {
354
+ "name": "add-button-text",
355
+ "default": "`新增地址`",
356
+ "description": "底部按钮文字",
357
+ "options": [],
358
+ "value": {
359
+ "type": "string",
360
+ "kind": "expression"
361
+ }
362
+ },
363
+ {
364
+ "name": "default-tag-text",
365
+ "default": "-",
366
+ "description": "默认地址标签文字",
367
+ "options": [],
368
+ "value": {
369
+ "type": "string",
370
+ "kind": "expression"
371
+ }
372
+ }
373
+ ]
374
+ },
246
375
  {
247
376
  "name": "van-address-edit",
248
377
  "slots": [
@@ -509,76 +638,52 @@
509
638
  ]
510
639
  },
511
640
  {
512
- "name": "van-action-sheet",
641
+ "name": "van-area",
513
642
  "slots": [
514
643
  {
515
- "name": "default",
516
- "description": "自定义面板的展示内容"
644
+ "name": "toolbar",
645
+ "description": "自定义整个顶部栏的内容"
517
646
  },
518
647
  {
519
- "name": "description",
520
- "description": "自定义描述文案"
648
+ "name": "title",
649
+ "description": "自定义标题内容"
521
650
  },
522
651
  {
523
- "name": "cancel",
524
- "description": "自定义取消按钮内容"
525
- }
526
- ],
527
- "events": [
528
- {
529
- "name": "select",
530
- "description": "点击选项时触发,禁用或加载状态下不会触发"
652
+ "name": "confirm",
653
+ "description": "自定义确认按钮内容"
531
654
  },
532
655
  {
533
656
  "name": "cancel",
534
- "description": "点击取消按钮时触发"
657
+ "description": "自定义取消按钮内容"
535
658
  },
536
659
  {
537
- "name": "open",
538
- "description": "打开面板时触发"
660
+ "name": "columns-top",
661
+ "description": "自定义选项上方内容"
539
662
  },
540
663
  {
541
- "name": "close",
542
- "description": "关闭面板时触发"
543
- },
664
+ "name": "columns-bottom",
665
+ "description": "自定义选项下方内容"
666
+ }
667
+ ],
668
+ "events": [
544
669
  {
545
- "name": "opened",
546
- "description": "打开面板且动画结束后触发"
670
+ "name": "confirm",
671
+ "description": "点击完成按钮时触发"
547
672
  },
548
673
  {
549
- "name": "closed",
550
- "description": "关闭面板且动画结束后触发"
674
+ "name": "cancel",
675
+ "description": "点击取消按钮时触发"
551
676
  },
552
677
  {
553
- "name": "click-overlay",
554
- "description": "点击遮罩层时触发"
678
+ "name": "change",
679
+ "description": "选项改变时触发"
555
680
  }
556
681
  ],
557
682
  "attributes": [
558
683
  {
559
- "name": "v-model:show",
560
- "default": "`false`",
561
- "description": "是否显示动作面板",
562
- "options": [],
563
- "value": {
564
- "type": "boolean",
565
- "kind": "expression"
566
- }
567
- },
568
- {
569
- "name": "actions",
570
- "default": "`[]`",
571
- "description": "面板选项列表",
572
- "options": [],
573
- "value": {
574
- "type": "ActionSheetAction[]",
575
- "kind": "expression"
576
- }
577
- },
578
- {
579
- "name": "title",
684
+ "name": "value",
580
685
  "default": "-",
581
- "description": "顶部标题",
686
+ "description": "当前选中项对应的地区码",
582
687
  "options": [],
583
688
  "value": {
584
689
  "type": "string",
@@ -586,9 +691,9 @@
586
691
  }
587
692
  },
588
693
  {
589
- "name": "cancel-text",
694
+ "name": "title",
590
695
  "default": "-",
591
- "description": "取消按钮文字",
696
+ "description": "顶部栏标题",
592
697
  "options": [],
593
698
  "value": {
594
699
  "type": "string",
@@ -596,9 +701,9 @@
596
701
  }
597
702
  },
598
703
  {
599
- "name": "description",
600
- "default": "-",
601
- "description": "选项上方的描述信息",
704
+ "name": "confirm-button-text",
705
+ "default": "`确认`",
706
+ "description": "确认按钮文字",
602
707
  "options": [],
603
708
  "value": {
604
709
  "type": "string",
@@ -606,19 +711,9 @@
606
711
  }
607
712
  },
608
713
  {
609
- "name": "closeable",
610
- "default": "`true`",
611
- "description": "是否显示关闭图标",
612
- "options": [],
613
- "value": {
614
- "type": "boolean",
615
- "kind": "expression"
616
- }
617
- },
618
- {
619
- "name": "close-icon",
620
- "default": "`cross`",
621
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
714
+ "name": "cancel-button-text",
715
+ "default": "`取消`",
716
+ "description": "取消按钮文字",
622
717
  "options": [],
623
718
  "value": {
624
719
  "type": "string",
@@ -626,51 +721,9 @@
626
721
  }
627
722
  },
628
723
  {
629
- "name": "duration",
630
- "default": "`0.3`",
631
- "description": "动画时长,单位秒,设置为 0 可以禁用动画",
632
- "options": [],
633
- "value": {
634
- "type": "number | string",
635
- "kind": "expression"
636
- }
637
- },
638
- {
639
- "name": "round",
640
- "default": "`true`",
641
- "description": "是否显示圆角",
642
- "options": [],
643
- "value": {
644
- "type": "boolean",
645
- "kind": "expression"
646
- }
647
- },
648
- {
649
- "name": "overlay",
650
- "default": "`true`",
651
- "description": "是否显示遮罩层",
652
- "options": [],
653
- "value": {
654
- "type": "boolean",
655
- "kind": "expression"
656
- }
657
- },
658
- {
659
- "name": "overlay-class",
660
- "default": "object_",
661
- "description": "自定义遮罩层类名",
662
- "options": [
663
- "-"
664
- ],
665
- "value": {
666
- "type": "string | Array \\",
667
- "kind": "expression"
668
- }
669
- },
670
- {
671
- "name": "overlay-style",
724
+ "name": "area-list",
672
725
  "default": "-",
673
- "description": "自定义遮罩层样式",
726
+ "description": "省市区数据,格式见下方",
674
727
  "options": [],
675
728
  "value": {
676
729
  "type": "object",
@@ -678,19 +731,19 @@
678
731
  }
679
732
  },
680
733
  {
681
- "name": "lock-scroll",
682
- "default": "`true`",
683
- "description": "是否锁定背景滚动",
734
+ "name": "columns-placeholder",
735
+ "default": "`[]`",
736
+ "description": "列占位提示文字",
684
737
  "options": [],
685
738
  "value": {
686
- "type": "boolean",
739
+ "type": "string[]",
687
740
  "kind": "expression"
688
741
  }
689
742
  },
690
743
  {
691
- "name": "lazy-render",
692
- "default": "`true`",
693
- "description": "是否在显示弹层时才渲染节点",
744
+ "name": "loading",
745
+ "default": "`false`",
746
+ "description": "是否显示加载状态",
694
747
  "options": [],
695
748
  "value": {
696
749
  "type": "boolean",
@@ -698,9 +751,9 @@
698
751
  }
699
752
  },
700
753
  {
701
- "name": "close-on-popstate",
702
- "default": "`true`",
703
- "description": "是否在页面回退时自动关闭",
754
+ "name": "readonly",
755
+ "default": "`false`",
756
+ "description": "是否为只读状态,只读状态下无法切换选项",
704
757
  "options": [],
705
758
  "value": {
706
759
  "type": "boolean",
@@ -708,138 +761,142 @@
708
761
  }
709
762
  },
710
763
  {
711
- "name": "close-on-click-action",
712
- "default": "`false`",
713
- "description": "是否在点击选项后关闭",
764
+ "name": "item-height",
765
+ "default": "`44`",
766
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
714
767
  "options": [],
715
768
  "value": {
716
- "type": "boolean",
769
+ "type": "number | string",
717
770
  "kind": "expression"
718
771
  }
719
772
  },
720
773
  {
721
- "name": "close-on-click-overlay",
722
- "default": "`true`",
723
- "description": "是否在点击遮罩层后关闭",
774
+ "name": "columns-num",
775
+ "default": "`3`",
776
+ "description": "显示列数,3-省市区,2-省市,1-省",
724
777
  "options": [],
725
778
  "value": {
726
- "type": "boolean",
779
+ "type": "number | string",
727
780
  "kind": "expression"
728
781
  }
729
782
  },
730
783
  {
731
- "name": "safe-area-inset-bottom",
732
- "default": "`true`",
733
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
784
+ "name": "visible-item-count",
785
+ "default": "`6`",
786
+ "description": "可见的选项个数",
734
787
  "options": [],
735
788
  "value": {
736
- "type": "boolean",
789
+ "type": "number | string",
737
790
  "kind": "expression"
738
791
  }
739
792
  },
740
793
  {
741
- "name": "teleport",
742
- "default": "-",
743
- "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
794
+ "name": "swipe-duration",
795
+ "default": "`1000`",
796
+ "description": "快速滑动时惯性滚动的时长,单位 `ms`",
744
797
  "options": [],
745
798
  "value": {
746
- "type": "string | Element",
799
+ "type": "number | string",
747
800
  "kind": "expression"
748
801
  }
749
802
  },
750
803
  {
751
- "name": "before-close",
804
+ "name": "is-oversea-code",
752
805
  "default": "-",
753
- "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
806
+ "description": "根据地区码校验海外地址,海外地址会划分至单独的分类",
754
807
  "options": [],
755
808
  "value": {
756
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
809
+ "type": "() => boolean",
757
810
  "kind": "expression"
758
811
  }
759
812
  }
760
813
  ]
761
814
  },
762
815
  {
763
- "name": "van-address-list",
816
+ "name": "van-action-sheet",
764
817
  "slots": [
765
818
  {
766
819
  "name": "default",
767
- "description": "在列表下方插入内容"
820
+ "description": "自定义面板的展示内容"
768
821
  },
769
822
  {
770
- "name": "top",
771
- "description": "在顶部插入内容"
823
+ "name": "description",
824
+ "description": "自定义描述文案"
772
825
  },
773
826
  {
774
- "name": "item-bottom",
775
- "description": "在列表项底部插入内容"
827
+ "name": "cancel",
828
+ "description": "自定义取消按钮内容"
776
829
  },
777
830
  {
778
- "name": "tag",
779
- "description": "自定义列表项标签内容"
831
+ "name": "action",
832
+ "description": "自定义选项内容"
780
833
  }
781
834
  ],
782
835
  "events": [
783
836
  {
784
- "name": "add",
785
- "description": "点击新增按钮时触发"
837
+ "name": "select",
838
+ "description": "点击选项时触发,禁用或加载状态下不会触发"
786
839
  },
787
840
  {
788
- "name": "edit",
789
- "description": "点击编辑按钮时触发"
841
+ "name": "cancel",
842
+ "description": "点击取消按钮时触发"
790
843
  },
791
844
  {
792
- "name": "select",
793
- "description": "切换选中的地址时触发"
845
+ "name": "open",
846
+ "description": "打开面板时触发"
794
847
  },
795
848
  {
796
- "name": "edit-disabled",
797
- "description": "编辑不可配送的地址时触发"
849
+ "name": "close",
850
+ "description": "关闭面板时触发"
798
851
  },
799
852
  {
800
- "name": "select-disabled",
801
- "description": "选中不可配送的地址时触发"
853
+ "name": "opened",
854
+ "description": "打开面板且动画结束后触发"
802
855
  },
803
856
  {
804
- "name": "click-item",
805
- "description": "点击任意地址时触发"
857
+ "name": "closed",
858
+ "description": "关闭面板且动画结束后触发"
859
+ },
860
+ {
861
+ "name": "click-overlay",
862
+ "description": "点击遮罩层时触发"
806
863
  }
807
864
  ],
808
865
  "attributes": [
809
866
  {
810
- "name": "v-model",
811
- "default": "-",
812
- "description": "当前选中地址的 id",
867
+ "name": "v-model:show",
868
+ "default": "`false`",
869
+ "description": "是否显示动作面板",
813
870
  "options": [],
814
871
  "value": {
815
- "type": "string",
872
+ "type": "boolean",
816
873
  "kind": "expression"
817
874
  }
818
875
  },
819
876
  {
820
- "name": "list",
877
+ "name": "actions",
821
878
  "default": "`[]`",
822
- "description": "地址列表",
879
+ "description": "面板选项列表",
823
880
  "options": [],
824
881
  "value": {
825
- "type": "AddressListAddress[]",
882
+ "type": "ActionSheetAction[]",
826
883
  "kind": "expression"
827
884
  }
828
885
  },
829
886
  {
830
- "name": "disabled-list",
831
- "default": "`[]`",
832
- "description": "不可配送地址列表",
887
+ "name": "title",
888
+ "default": "-",
889
+ "description": "顶部标题",
833
890
  "options": [],
834
891
  "value": {
835
- "type": "AddressListAddress[]",
892
+ "type": "string",
836
893
  "kind": "expression"
837
894
  }
838
895
  },
839
896
  {
840
- "name": "disabled-text",
897
+ "name": "cancel-text",
841
898
  "default": "-",
842
- "description": "不可配送提示文案",
899
+ "description": "取消按钮文字",
843
900
  "options": [],
844
901
  "value": {
845
902
  "type": "string",
@@ -847,124 +904,81 @@
847
904
  }
848
905
  },
849
906
  {
850
- "name": "switchable",
851
- "default": "`true`",
852
- "description": "是否允许切换地址",
907
+ "name": "description",
908
+ "default": "-",
909
+ "description": "选项上方的描述信息",
853
910
  "options": [],
854
911
  "value": {
855
- "type": "boolean",
912
+ "type": "string",
856
913
  "kind": "expression"
857
914
  }
858
915
  },
859
916
  {
860
- "name": "add-button-text",
861
- "default": "`新增地址`",
862
- "description": "底部按钮文字",
917
+ "name": "closeable",
918
+ "default": "`true`",
919
+ "description": "是否显示关闭图标",
863
920
  "options": [],
864
921
  "value": {
865
- "type": "string",
922
+ "type": "boolean",
866
923
  "kind": "expression"
867
924
  }
868
925
  },
869
926
  {
870
- "name": "default-tag-text",
871
- "default": "-",
872
- "description": "默认地址标签文字",
927
+ "name": "close-icon",
928
+ "default": "`cross`",
929
+ "description": "关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
873
930
  "options": [],
874
931
  "value": {
875
932
  "type": "string",
876
933
  "kind": "expression"
877
934
  }
878
- }
879
- ]
880
- },
881
- {
882
- "name": "van-area",
883
- "slots": [
884
- {
885
- "name": "toolbar",
886
- "description": "自定义整个顶部栏的内容"
887
- },
888
- {
889
- "name": "title",
890
- "description": "自定义标题内容"
891
- },
892
- {
893
- "name": "confirm",
894
- "description": "自定义确认按钮内容"
895
- },
896
- {
897
- "name": "cancel",
898
- "description": "自定义取消按钮内容"
899
- },
900
- {
901
- "name": "columns-top",
902
- "description": "自定义选项上方内容"
903
- },
904
- {
905
- "name": "columns-bottom",
906
- "description": "自定义选项下方内容"
907
- }
908
- ],
909
- "events": [
910
- {
911
- "name": "confirm",
912
- "description": "点击完成按钮时触发"
913
935
  },
914
936
  {
915
- "name": "cancel",
916
- "description": "点击取消按钮时触发"
917
- },
918
- {
919
- "name": "change",
920
- "description": "选项改变时触发"
921
- }
922
- ],
923
- "attributes": [
924
- {
925
- "name": "value",
926
- "default": "-",
927
- "description": "当前选中项对应的地区码",
937
+ "name": "duration",
938
+ "default": "`0.3`",
939
+ "description": "动画时长,单位秒,设置为 0 可以禁用动画",
928
940
  "options": [],
929
941
  "value": {
930
- "type": "string",
942
+ "type": "number | string",
931
943
  "kind": "expression"
932
944
  }
933
945
  },
934
946
  {
935
- "name": "title",
936
- "default": "-",
937
- "description": "顶部栏标题",
947
+ "name": "round",
948
+ "default": "`true`",
949
+ "description": "是否显示圆角",
938
950
  "options": [],
939
951
  "value": {
940
- "type": "string",
952
+ "type": "boolean",
941
953
  "kind": "expression"
942
954
  }
943
955
  },
944
956
  {
945
- "name": "confirm-button-text",
946
- "default": "`确认`",
947
- "description": "确认按钮文字",
957
+ "name": "overlay",
958
+ "default": "`true`",
959
+ "description": "是否显示遮罩层",
948
960
  "options": [],
949
961
  "value": {
950
- "type": "string",
962
+ "type": "boolean",
951
963
  "kind": "expression"
952
964
  }
953
965
  },
954
966
  {
955
- "name": "cancel-button-text",
956
- "default": "`取消`",
957
- "description": "取消按钮文字",
958
- "options": [],
967
+ "name": "overlay-class",
968
+ "default": "object_",
969
+ "description": "自定义遮罩层类名",
970
+ "options": [
971
+ "-"
972
+ ],
959
973
  "value": {
960
- "type": "string",
974
+ "type": "string | Array \\",
961
975
  "kind": "expression"
962
976
  }
963
977
  },
964
978
  {
965
- "name": "area-list",
979
+ "name": "overlay-style",
966
980
  "default": "-",
967
- "description": "省市区数据,格式见下方",
981
+ "description": "自定义遮罩层样式",
968
982
  "options": [],
969
983
  "value": {
970
984
  "type": "object",
@@ -972,19 +986,19 @@
972
986
  }
973
987
  },
974
988
  {
975
- "name": "columns-placeholder",
976
- "default": "`[]`",
977
- "description": "列占位提示文字",
989
+ "name": "lock-scroll",
990
+ "default": "`true`",
991
+ "description": "是否锁定背景滚动",
978
992
  "options": [],
979
993
  "value": {
980
- "type": "string[]",
994
+ "type": "boolean",
981
995
  "kind": "expression"
982
996
  }
983
997
  },
984
998
  {
985
- "name": "loading",
986
- "default": "`false`",
987
- "description": "是否显示加载状态",
999
+ "name": "lazy-render",
1000
+ "default": "`true`",
1001
+ "description": "是否在显示弹层时才渲染节点",
988
1002
  "options": [],
989
1003
  "value": {
990
1004
  "type": "boolean",
@@ -992,9 +1006,9 @@
992
1006
  }
993
1007
  },
994
1008
  {
995
- "name": "readonly",
996
- "default": "`false`",
997
- "description": "是否为只读状态,只读状态下无法切换选项",
1009
+ "name": "close-on-popstate",
1010
+ "default": "`true`",
1011
+ "description": "是否在页面回退时自动关闭",
998
1012
  "options": [],
999
1013
  "value": {
1000
1014
  "type": "boolean",
@@ -1002,52 +1016,52 @@
1002
1016
  }
1003
1017
  },
1004
1018
  {
1005
- "name": "item-height",
1006
- "default": "`44`",
1007
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
1019
+ "name": "close-on-click-action",
1020
+ "default": "`false`",
1021
+ "description": "是否在点击选项后关闭",
1008
1022
  "options": [],
1009
1023
  "value": {
1010
- "type": "number | string",
1024
+ "type": "boolean",
1011
1025
  "kind": "expression"
1012
1026
  }
1013
1027
  },
1014
1028
  {
1015
- "name": "columns-num",
1016
- "default": "`3`",
1017
- "description": "显示列数,3-省市区,2-省市,1-省",
1029
+ "name": "close-on-click-overlay",
1030
+ "default": "`true`",
1031
+ "description": "是否在点击遮罩层后关闭",
1018
1032
  "options": [],
1019
1033
  "value": {
1020
- "type": "number | string",
1034
+ "type": "boolean",
1021
1035
  "kind": "expression"
1022
1036
  }
1023
1037
  },
1024
1038
  {
1025
- "name": "visible-item-count",
1026
- "default": "`6`",
1027
- "description": "可见的选项个数",
1039
+ "name": "safe-area-inset-bottom",
1040
+ "default": "`true`",
1041
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
1028
1042
  "options": [],
1029
1043
  "value": {
1030
- "type": "number | string",
1044
+ "type": "boolean",
1031
1045
  "kind": "expression"
1032
1046
  }
1033
1047
  },
1034
1048
  {
1035
- "name": "swipe-duration",
1036
- "default": "`1000`",
1037
- "description": "快速滑动时惯性滚动的时长,单位 `ms`",
1049
+ "name": "teleport",
1050
+ "default": "-",
1051
+ "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
1038
1052
  "options": [],
1039
1053
  "value": {
1040
- "type": "number | string",
1054
+ "type": "string | Element",
1041
1055
  "kind": "expression"
1042
1056
  }
1043
1057
  },
1044
1058
  {
1045
- "name": "is-oversea-code",
1059
+ "name": "before-close",
1046
1060
  "default": "-",
1047
- "description": "根据地区码校验海外地址,海外地址会划分至单独的分类",
1061
+ "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
1048
1062
  "options": [],
1049
1063
  "value": {
1050
- "type": "() => boolean",
1064
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
1051
1065
  "kind": "expression"
1052
1066
  }
1053
1067
  }
@@ -1211,7 +1225,7 @@
1211
1225
  {
1212
1226
  "name": "icon",
1213
1227
  "default": "-",
1214
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
1228
+ "description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
1215
1229
  "options": [],
1216
1230
  "value": {
1217
1231
  "type": "string",
@@ -2058,7 +2072,7 @@
2058
2072
  {
2059
2073
  "name": "close-icon",
2060
2074
  "default": "`cross`",
2061
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
2075
+ "description": "关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
2062
2076
  "options": [],
2063
2077
  "value": {
2064
2078
  "type": "string",
@@ -2201,7 +2215,7 @@
2201
2215
  {
2202
2216
  "name": "icon",
2203
2217
  "default": "-",
2204
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
2218
+ "description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
2205
2219
  "options": [],
2206
2220
  "value": {
2207
2221
  "type": "string",
@@ -2868,7 +2882,7 @@
2868
2882
  {
2869
2883
  "name": "icon",
2870
2884
  "default": "-",
2871
- "description": "标题栏左侧[图标名称](#/zh-CN/icon)或图片链接",
2885
+ "description": "标题栏左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
2872
2886
  "options": [],
2873
2887
  "value": {
2874
2888
  "type": "string",
@@ -4471,10 +4485,10 @@
4471
4485
  {
4472
4486
  "name": "type",
4473
4487
  "default": "`text`",
4474
- "description": "输入框类型, 可选值为 `tel` `digit`<br>`number` `textarea` `password` ",
4488
+ "description": "输入框类型, 支持原生 input 标签的所有 [type 属性](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/input#%3Cinput%3E_types),额外支持了 `digit` 类型",
4475
4489
  "options": [],
4476
4490
  "value": {
4477
- "type": "string",
4491
+ "type": "FieldType",
4478
4492
  "kind": "expression"
4479
4493
  }
4480
4494
  },
@@ -4581,7 +4595,7 @@
4581
4595
  {
4582
4596
  "name": "clear-icon",
4583
4597
  "default": "`clear`",
4584
- "description": "清除[图标名称](#/zh-CN/icon)或图片链接",
4598
+ "description": "清除图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
4585
4599
  "options": [],
4586
4600
  "value": {
4587
4601
  "type": "string",
@@ -4594,7 +4608,7 @@
4594
4608
  "description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示",
4595
4609
  "options": [],
4596
4610
  "value": {
4597
- "type": "string",
4611
+ "type": "FieldClearTrigger",
4598
4612
  "kind": "expression"
4599
4613
  }
4600
4614
  },
@@ -4664,7 +4678,7 @@
4664
4678
  "description": "错误提示文案对齐方式,可选值为 `center` `right`",
4665
4679
  "options": [],
4666
4680
  "value": {
4667
- "type": "string",
4681
+ "type": "FieldTextAlign",
4668
4682
  "kind": "expression"
4669
4683
  }
4670
4684
  },
@@ -4684,7 +4698,7 @@
4684
4698
  "description": "格式化函数触发的时机,可选值为 `onBlur`",
4685
4699
  "options": [],
4686
4700
  "value": {
4687
- "type": "string",
4701
+ "type": "FieldFormatTrigger",
4688
4702
  "kind": "expression"
4689
4703
  }
4690
4704
  },
@@ -4726,7 +4740,7 @@
4726
4740
  "description": "左侧文本对齐方式,可选值为 `center` `right`",
4727
4741
  "options": [],
4728
4742
  "value": {
4729
- "type": "string",
4743
+ "type": "FieldTextAlign",
4730
4744
  "kind": "expression"
4731
4745
  }
4732
4746
  },
@@ -4736,7 +4750,7 @@
4736
4750
  "description": "输入框对齐方式,可选值为 `center` `right`",
4737
4751
  "options": [],
4738
4752
  "value": {
4739
- "type": "string",
4753
+ "type": "FieldTextAlign",
4740
4754
  "kind": "expression"
4741
4755
  }
4742
4756
  },
@@ -4746,14 +4760,14 @@
4746
4760
  "description": "是否自适应内容高度,只对 textarea 有效,<br>可传入对象,如 { maxHeight: 100, minHeight: 50 },<br>单位为`px`",
4747
4761
  "options": [],
4748
4762
  "value": {
4749
- "type": "boolean | object",
4763
+ "type": "boolean | FieldAutosizeConfig",
4750
4764
  "kind": "expression"
4751
4765
  }
4752
4766
  },
4753
4767
  {
4754
4768
  "name": "left-icon",
4755
4769
  "default": "-",
4756
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
4770
+ "description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
4757
4771
  "options": [],
4758
4772
  "value": {
4759
4773
  "type": "string",
@@ -4763,7 +4777,7 @@
4763
4777
  {
4764
4778
  "name": "right-icon",
4765
4779
  "default": "-",
4766
- "description": "右侧[图标名称](#/zh-CN/icon)或图片链接",
4780
+ "description": "右侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
4767
4781
  "options": [],
4768
4782
  "value": {
4769
4783
  "type": "string",
@@ -4786,7 +4800,7 @@
4786
4800
  "description": "表单校验规则,详见 [Form 组件](#/zh-CN/form#rule-shu-ju-jie-gou)",
4787
4801
  "options": [],
4788
4802
  "value": {
4789
- "type": "Rule[]",
4803
+ "type": "FieldRule[]",
4790
4804
  "kind": "expression"
4791
4805
  }
4792
4806
  },
@@ -5076,7 +5090,7 @@
5076
5090
  {
5077
5091
  "name": "icon",
5078
5092
  "default": "-",
5079
- "description": "[图标名称](#/zh-CN/icon)或图片链接",
5093
+ "description": "图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
5080
5094
  "options": [],
5081
5095
  "value": {
5082
5096
  "type": "string",
@@ -5133,6 +5147,16 @@
5133
5147
  "kind": "expression"
5134
5148
  }
5135
5149
  },
5150
+ {
5151
+ "name": "badge-props",
5152
+ "default": "-",
5153
+ "description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props)",
5154
+ "options": [],
5155
+ "value": {
5156
+ "type": "BadgeProps",
5157
+ "kind": "expression"
5158
+ }
5159
+ },
5136
5160
  {
5137
5161
  "name": "url",
5138
5162
  "default": "-",
@@ -5205,6 +5229,16 @@
5205
5229
  "kind": "expression"
5206
5230
  }
5207
5231
  },
5232
+ {
5233
+ "name": "badge-props",
5234
+ "default": "-",
5235
+ "description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props)",
5236
+ "options": [],
5237
+ "value": {
5238
+ "type": "BadgeProps",
5239
+ "kind": "expression"
5240
+ }
5241
+ },
5208
5242
  {
5209
5243
  "name": "color",
5210
5244
  "default": "`inherit`",
@@ -5381,7 +5415,7 @@
5381
5415
  {
5382
5416
  "name": "error-icon",
5383
5417
  "default": "`photo-fail`",
5384
- "description": "失败时提示的[图标名称](#/zh-CN/icon)或图片链接",
5418
+ "description": "失败时提示的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
5385
5419
  "options": [],
5386
5420
  "value": {
5387
5421
  "type": "string",
@@ -5391,7 +5425,7 @@
5391
5425
  {
5392
5426
  "name": "loading-icon",
5393
5427
  "default": "`photo`",
5394
- "description": "加载时提示的[图标名称](#/zh-CN/icon)或图片链接",
5428
+ "description": "加载时提示的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
5395
5429
  "options": [],
5396
5430
  "value": {
5397
5431
  "type": "string",
@@ -5613,6 +5647,18 @@
5613
5647
  "kind": "expression"
5614
5648
  }
5615
5649
  },
5650
+ {
5651
+ "name": "overlay-class",
5652
+ "default": "object_",
5653
+ "description": "自定义遮罩层类名",
5654
+ "options": [
5655
+ "-"
5656
+ ],
5657
+ "value": {
5658
+ "type": "string | Array \\",
5659
+ "kind": "expression"
5660
+ }
5661
+ },
5616
5662
  {
5617
5663
  "name": "overlay-style",
5618
5664
  "default": "-",
@@ -6117,7 +6163,7 @@
6117
6163
  {
6118
6164
  "name": "left-icon",
6119
6165
  "default": "-",
6120
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
6166
+ "description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
6121
6167
  "options": [],
6122
6168
  "value": {
6123
6169
  "type": "string",
@@ -6844,6 +6890,10 @@
6844
6890
  {
6845
6891
  "name": "reference",
6846
6892
  "description": "触发 Popover 显示的元素内容"
6893
+ },
6894
+ {
6895
+ "name": "action",
6896
+ "description": "自定义选项内容"
6847
6897
  }
6848
6898
  ],
6849
6899
  "events": [
@@ -7205,7 +7255,7 @@
7205
7255
  {
7206
7256
  "name": "close-icon",
7207
7257
  "default": "`cross`",
7208
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
7258
+ "description": "关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
7209
7259
  "options": [],
7210
7260
  "value": {
7211
7261
  "type": "string",
@@ -7284,103 +7334,6 @@
7284
7334
  }
7285
7335
  ]
7286
7336
  },
7287
- {
7288
- "name": "van-progress",
7289
- "slots": [],
7290
- "events": [],
7291
- "attributes": [
7292
- {
7293
- "name": "percentage",
7294
- "default": "`0`",
7295
- "description": "进度百分比",
7296
- "options": [],
7297
- "value": {
7298
- "type": "number | string",
7299
- "kind": "expression"
7300
- }
7301
- },
7302
- {
7303
- "name": "stroke-width",
7304
- "default": "`4px`",
7305
- "description": "进度条粗细,默认单位为`px`",
7306
- "options": [],
7307
- "value": {
7308
- "type": "number | string",
7309
- "kind": "expression"
7310
- }
7311
- },
7312
- {
7313
- "name": "color",
7314
- "default": "`#1989fa`",
7315
- "description": "进度条颜色",
7316
- "options": [],
7317
- "value": {
7318
- "type": "string",
7319
- "kind": "expression"
7320
- }
7321
- },
7322
- {
7323
- "name": "track-color",
7324
- "default": "`#e5e5e5`",
7325
- "description": "轨道颜色",
7326
- "options": [],
7327
- "value": {
7328
- "type": "string",
7329
- "kind": "expression"
7330
- }
7331
- },
7332
- {
7333
- "name": "pivot-text",
7334
- "default": "百分比",
7335
- "description": "进度文字内容",
7336
- "options": [],
7337
- "value": {
7338
- "type": "string",
7339
- "kind": "expression"
7340
- }
7341
- },
7342
- {
7343
- "name": "pivot-color",
7344
- "default": "同进度条颜色",
7345
- "description": "进度文字背景色",
7346
- "options": [],
7347
- "value": {
7348
- "type": "string",
7349
- "kind": "expression"
7350
- }
7351
- },
7352
- {
7353
- "name": "text-color",
7354
- "default": "`white`",
7355
- "description": "进度文字颜色",
7356
- "options": [],
7357
- "value": {
7358
- "type": "string",
7359
- "kind": "expression"
7360
- }
7361
- },
7362
- {
7363
- "name": "inactive",
7364
- "default": "`false`",
7365
- "description": "是否置灰",
7366
- "options": [],
7367
- "value": {
7368
- "type": "boolean",
7369
- "kind": "expression"
7370
- }
7371
- },
7372
- {
7373
- "name": "show-pivot",
7374
- "default": "`true`",
7375
- "description": "是否显示进度文字",
7376
- "options": [],
7377
- "value": {
7378
- "type": "boolean",
7379
- "kind": "expression"
7380
- }
7381
- }
7382
- ]
7383
- },
7384
7337
  {
7385
7338
  "name": "van-pull-refresh",
7386
7339
  "slots": [
@@ -7518,6 +7471,103 @@
7518
7471
  }
7519
7472
  ]
7520
7473
  },
7474
+ {
7475
+ "name": "van-progress",
7476
+ "slots": [],
7477
+ "events": [],
7478
+ "attributes": [
7479
+ {
7480
+ "name": "percentage",
7481
+ "default": "`0`",
7482
+ "description": "进度百分比",
7483
+ "options": [],
7484
+ "value": {
7485
+ "type": "number | string",
7486
+ "kind": "expression"
7487
+ }
7488
+ },
7489
+ {
7490
+ "name": "stroke-width",
7491
+ "default": "`4px`",
7492
+ "description": "进度条粗细,默认单位为`px`",
7493
+ "options": [],
7494
+ "value": {
7495
+ "type": "number | string",
7496
+ "kind": "expression"
7497
+ }
7498
+ },
7499
+ {
7500
+ "name": "color",
7501
+ "default": "`#1989fa`",
7502
+ "description": "进度条颜色",
7503
+ "options": [],
7504
+ "value": {
7505
+ "type": "string",
7506
+ "kind": "expression"
7507
+ }
7508
+ },
7509
+ {
7510
+ "name": "track-color",
7511
+ "default": "`#e5e5e5`",
7512
+ "description": "轨道颜色",
7513
+ "options": [],
7514
+ "value": {
7515
+ "type": "string",
7516
+ "kind": "expression"
7517
+ }
7518
+ },
7519
+ {
7520
+ "name": "pivot-text",
7521
+ "default": "百分比",
7522
+ "description": "进度文字内容",
7523
+ "options": [],
7524
+ "value": {
7525
+ "type": "string",
7526
+ "kind": "expression"
7527
+ }
7528
+ },
7529
+ {
7530
+ "name": "pivot-color",
7531
+ "default": "同进度条颜色",
7532
+ "description": "进度文字背景色",
7533
+ "options": [],
7534
+ "value": {
7535
+ "type": "string",
7536
+ "kind": "expression"
7537
+ }
7538
+ },
7539
+ {
7540
+ "name": "text-color",
7541
+ "default": "`white`",
7542
+ "description": "进度文字颜色",
7543
+ "options": [],
7544
+ "value": {
7545
+ "type": "string",
7546
+ "kind": "expression"
7547
+ }
7548
+ },
7549
+ {
7550
+ "name": "inactive",
7551
+ "default": "`false`",
7552
+ "description": "是否置灰",
7553
+ "options": [],
7554
+ "value": {
7555
+ "type": "boolean",
7556
+ "kind": "expression"
7557
+ }
7558
+ },
7559
+ {
7560
+ "name": "show-pivot",
7561
+ "default": "`true`",
7562
+ "description": "是否显示进度文字",
7563
+ "options": [],
7564
+ "value": {
7565
+ "type": "boolean",
7566
+ "kind": "expression"
7567
+ }
7568
+ }
7569
+ ]
7570
+ },
7521
7571
  {
7522
7572
  "name": "van-radio",
7523
7573
  "slots": [
@@ -7754,7 +7804,7 @@
7754
7804
  {
7755
7805
  "name": "icon",
7756
7806
  "default": "`star`",
7757
- "description": "选中时的[图标名称](#/zh-CN/icon)或图片链接",
7807
+ "description": "选中时的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
7758
7808
  "options": [],
7759
7809
  "value": {
7760
7810
  "type": "string",
@@ -7764,7 +7814,7 @@
7764
7814
  {
7765
7815
  "name": "void-icon",
7766
7816
  "default": "`star-o`",
7767
- "description": "未选中时的[图标名称](#/zh-CN/icon)或图片链接",
7817
+ "description": "未选中时的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
7768
7818
  "options": [],
7769
7819
  "value": {
7770
7820
  "type": "string",
@@ -7868,6 +7918,14 @@
7868
7918
  "name": "click-input",
7869
7919
  "description": "点击输入区域时触发"
7870
7920
  },
7921
+ {
7922
+ "name": "click-left-icon",
7923
+ "description": "点击左侧图标时触发"
7924
+ },
7925
+ {
7926
+ "name": "click-right-icon",
7927
+ "description": "点击右侧图标时触发"
7928
+ },
7871
7929
  {
7872
7930
  "name": "clear",
7873
7931
  "description": "点击清除按钮后触发"
@@ -7971,7 +8029,7 @@
7971
8029
  {
7972
8030
  "name": "clear-icon",
7973
8031
  "default": "`clear`",
7974
- "description": "清除[图标名称](#/zh-CN/icon)或图片链接",
8032
+ "description": "清除图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
7975
8033
  "options": [],
7976
8034
  "value": {
7977
8035
  "type": "string",
@@ -8091,7 +8149,7 @@
8091
8149
  {
8092
8150
  "name": "left-icon",
8093
8151
  "default": "`search`",
8094
- "description": "输入框左侧[图标名称](#/zh-CN/icon)或图片链接",
8152
+ "description": "输入框左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
8095
8153
  "options": [],
8096
8154
  "value": {
8097
8155
  "type": "string",
@@ -8101,7 +8159,7 @@
8101
8159
  {
8102
8160
  "name": "right-icon",
8103
8161
  "default": "-",
8104
- "description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接",
8162
+ "description": "输入框右侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
8105
8163
  "options": [],
8106
8164
  "value": {
8107
8165
  "type": "string",
@@ -8408,6 +8466,16 @@
8408
8466
  "kind": "expression"
8409
8467
  }
8410
8468
  },
8469
+ {
8470
+ "name": "badge-props",
8471
+ "default": "-",
8472
+ "description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props)",
8473
+ "options": [],
8474
+ "value": {
8475
+ "type": "BadgeProps",
8476
+ "kind": "expression"
8477
+ }
8478
+ },
8411
8479
  {
8412
8480
  "name": "disabled",
8413
8481
  "default": "`false`",
@@ -9280,7 +9348,7 @@
9280
9348
  {
9281
9349
  "name": "tip-icon",
9282
9350
  "default": "-",
9283
- "description": "提示文案左侧的[图标名称](#/zh-CN/icon)或图片链接",
9351
+ "description": "提示文案左侧的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
9284
9352
  "options": [],
9285
9353
  "value": {
9286
9354
  "type": "string",
@@ -9815,6 +9883,16 @@
9815
9883
  "kind": "expression"
9816
9884
  }
9817
9885
  },
9886
+ {
9887
+ "name": "shrink",
9888
+ "default": "`false`",
9889
+ "description": "是否开启左侧收缩布局",
9890
+ "options": [],
9891
+ "value": {
9892
+ "type": "boolean",
9893
+ "kind": "expression"
9894
+ }
9895
+ },
9818
9896
  {
9819
9897
  "name": "swipeable",
9820
9898
  "default": "`false`",
@@ -10166,7 +10244,7 @@
10166
10244
  {
10167
10245
  "name": "icon",
10168
10246
  "default": "-",
10169
- "description": "[图标名称](#/zh-CN/icon)或图片链接",
10247
+ "description": "图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
10170
10248
  "options": [],
10171
10249
  "value": {
10172
10250
  "type": "string",
@@ -10203,6 +10281,16 @@
10203
10281
  "kind": "expression"
10204
10282
  }
10205
10283
  },
10284
+ {
10285
+ "name": "badge-props",
10286
+ "default": "-",
10287
+ "description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props)",
10288
+ "options": [],
10289
+ "value": {
10290
+ "type": "BadgeProps",
10291
+ "kind": "expression"
10292
+ }
10293
+ },
10206
10294
  {
10207
10295
  "name": "url",
10208
10296
  "default": "-",
@@ -10689,7 +10777,7 @@
10689
10777
  {
10690
10778
  "name": "upload-icon",
10691
10779
  "default": "`photograph`",
10692
- "description": "上传区域[图标名称](#/zh-CN/icon)或图片链接",
10780
+ "description": "上传区域图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
10693
10781
  "options": [],
10694
10782
  "value": {
10695
10783
  "type": "string",