vant 4.0.0-alpha.2 → 4.0.0-beta.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 (1256) hide show
  1. package/LICENSE +10 -0
  2. package/README.md +7 -7
  3. package/changelog.generated.md +85 -29
  4. package/es/action-bar/ActionBar.d.ts +4 -0
  5. package/es/action-bar/ActionBar.mjs +44 -0
  6. package/es/action-bar/index.d.ts +3 -0
  7. package/es/action-bar/index.mjs +8 -0
  8. package/es/action-bar/style/{index.js → index.mjs} +0 -0
  9. package/es/action-bar-button/ActionBarButton.mjs +73 -0
  10. package/es/action-bar-button/index.mjs +8 -0
  11. package/es/action-bar-button/style/{index.js → index.mjs} +0 -0
  12. package/es/action-bar-icon/ActionBarIcon.mjs +68 -0
  13. package/es/action-bar-icon/index.mjs +8 -0
  14. package/es/action-bar-icon/style/{index.js → index.mjs} +0 -0
  15. package/es/action-sheet/ActionSheet.mjs +131 -0
  16. package/es/action-sheet/index.mjs +8 -0
  17. package/es/action-sheet/style/{index.js → index.mjs} +0 -0
  18. package/es/address-edit/AddressEdit.mjs +288 -0
  19. package/es/address-edit/AddressEditDetail.mjs +76 -0
  20. package/es/address-edit/index.mjs +8 -0
  21. package/es/address-edit/style/{index.js → index.mjs} +0 -0
  22. package/es/address-edit/{types.js → types.mjs} +0 -0
  23. package/es/address-list/AddressList.mjs +82 -0
  24. package/es/address-list/AddressListItem.mjs +96 -0
  25. package/es/address-list/index.mjs +8 -0
  26. package/es/address-list/style/{index.js → index.mjs} +0 -0
  27. package/es/area/Area.mjs +76 -0
  28. package/es/area/index.mjs +8 -0
  29. package/es/area/style/{index.js → index.mjs} +0 -0
  30. package/es/area/{types.js → types.mjs} +0 -0
  31. package/es/area/{utils.js → utils.mjs} +0 -0
  32. package/es/badge/Badge.mjs +95 -0
  33. package/es/badge/index.mjs +8 -0
  34. package/es/badge/style/{index.js → index.mjs} +0 -0
  35. package/es/button/Button.mjs +148 -0
  36. package/es/button/index.mjs +8 -0
  37. package/es/button/style/{index.js → index.mjs} +0 -0
  38. package/es/button/{types.js → types.mjs} +0 -0
  39. package/es/calendar/Calendar.mjs +406 -0
  40. package/es/calendar/CalendarDay.mjs +129 -0
  41. package/es/calendar/CalendarHeader.mjs +58 -0
  42. package/es/calendar/CalendarMonth.mjs +208 -0
  43. package/es/calendar/index.mjs +8 -0
  44. package/es/calendar/style/{index.js → index.mjs} +0 -0
  45. package/es/calendar/types.d.ts +1 -0
  46. package/es/calendar/{types.js → types.mjs} +0 -0
  47. package/es/calendar/utils.mjs +56 -0
  48. package/es/card/Card.mjs +126 -0
  49. package/es/card/index.mjs +8 -0
  50. package/es/card/style/{index.js → index.mjs} +0 -0
  51. package/es/cascader/Cascader.mjs +227 -0
  52. package/es/cascader/index.mjs +8 -0
  53. package/es/cascader/style/{index.js → index.mjs} +0 -0
  54. package/es/cascader/{types.js → types.mjs} +0 -0
  55. package/es/cell/Cell.d.ts +1 -1
  56. package/es/cell/Cell.mjs +116 -0
  57. package/es/cell/index.d.ts +1 -1
  58. package/es/cell/index.mjs +8 -0
  59. package/es/cell/style/{index.js → index.mjs} +0 -0
  60. package/es/cell-group/CellGroup.mjs +43 -0
  61. package/es/cell-group/index.mjs +8 -0
  62. package/es/cell-group/style/{index.js → index.mjs} +0 -0
  63. package/es/checkbox/Checkbox.mjs +81 -0
  64. package/es/checkbox/Checker.mjs +107 -0
  65. package/es/checkbox/index.mjs +8 -0
  66. package/es/checkbox/style/{index.js → index.mjs} +0 -0
  67. package/es/checkbox/{types.js → types.mjs} +0 -0
  68. package/es/checkbox-group/CheckboxGroup.mjs +71 -0
  69. package/es/checkbox-group/index.mjs +8 -0
  70. package/es/checkbox-group/style/{index.js → index.mjs} +0 -0
  71. package/es/checkbox-group/{types.js → types.mjs} +0 -0
  72. package/es/circle/Circle.mjs +152 -0
  73. package/es/circle/index.mjs +8 -0
  74. package/es/circle/style/{index.js → index.mjs} +0 -0
  75. package/es/col/Col.mjs +63 -0
  76. package/es/col/index.mjs +8 -0
  77. package/es/col/style/{index.js → index.mjs} +0 -0
  78. package/es/collapse/Collapse.mjs +81 -0
  79. package/es/collapse/index.mjs +8 -0
  80. package/es/collapse/style/{index.js → index.mjs} +0 -0
  81. package/es/collapse-item/CollapseItem.d.ts +1 -1
  82. package/es/collapse-item/CollapseItem.mjs +134 -0
  83. package/es/collapse-item/index.d.ts +1 -1
  84. package/es/collapse-item/index.mjs +8 -0
  85. package/es/collapse-item/style/{index.js → index.mjs} +0 -0
  86. package/es/collapse-item/{types.js → types.mjs} +0 -0
  87. package/es/composables/{on-popup-reopen.js → on-popup-reopen.mjs} +0 -0
  88. package/es/composables/use-expose.mjs +11 -0
  89. package/es/composables/{use-height.js → use-height.mjs} +0 -0
  90. package/es/composables/{use-id.js → use-id.mjs} +0 -0
  91. package/es/composables/{use-lazy-render.js → use-lazy-render.mjs} +0 -0
  92. package/es/composables/use-lock-scroll.mjs +53 -0
  93. package/es/composables/use-placeholder.mjs +14 -0
  94. package/es/composables/{use-refs.js → use-refs.mjs} +0 -0
  95. package/es/composables/{use-route.js → use-route.mjs} +0 -0
  96. package/es/composables/{use-tab-status.js → use-tab-status.mjs} +0 -0
  97. package/es/composables/{use-touch.js → use-touch.mjs} +0 -0
  98. package/es/composables/use-visibility-change.mjs +27 -0
  99. package/es/config-provider/ConfigProvider.mjs +53 -0
  100. package/es/config-provider/index.mjs +8 -0
  101. package/es/config-provider/style/{index.js → index.mjs} +0 -0
  102. package/es/contact-card/ContactCard.mjs +46 -0
  103. package/es/contact-card/index.mjs +8 -0
  104. package/es/contact-card/style/{index.js → index.mjs} +0 -0
  105. package/es/contact-edit/ContactEdit.mjs +112 -0
  106. package/es/contact-edit/index.mjs +8 -0
  107. package/es/contact-edit/style/{index.js → index.mjs} +0 -0
  108. package/es/contact-list/ContactList.mjs +89 -0
  109. package/es/contact-list/index.mjs +8 -0
  110. package/es/contact-list/style/{index.js → index.mjs} +0 -0
  111. package/es/count-down/CountDown.mjs +56 -0
  112. package/es/count-down/index.mjs +8 -0
  113. package/es/count-down/style/{index.js → index.mjs} +0 -0
  114. package/es/count-down/{types.js → types.mjs} +0 -0
  115. package/es/count-down/utils.mjs +39 -0
  116. package/es/coupon/Coupon.mjs +80 -0
  117. package/es/coupon/index.mjs +8 -0
  118. package/es/coupon/style/{index.js → index.mjs} +0 -0
  119. package/es/coupon/utils.mjs +12 -0
  120. package/es/coupon-cell/CouponCell.mjs +54 -0
  121. package/es/coupon-cell/index.mjs +8 -0
  122. package/es/coupon-cell/style/{index.js → index.mjs} +0 -0
  123. package/es/coupon-list/CouponList.mjs +186 -0
  124. package/es/coupon-list/index.mjs +8 -0
  125. package/es/coupon-list/style/{index.js → index.mjs} +0 -0
  126. package/es/date-picker/DatePicker.mjs +111 -0
  127. package/es/date-picker/index.mjs +8 -0
  128. package/es/date-picker/style/{index.js → index.mjs} +0 -0
  129. package/es/date-picker/utils.d.ts +1 -1
  130. package/es/date-picker/utils.mjs +40 -0
  131. package/es/dialog/Dialog.d.ts +9 -1
  132. package/es/dialog/Dialog.mjs +217 -0
  133. package/es/dialog/function-call.d.ts +6 -184
  134. package/es/dialog/function-call.mjs +85 -0
  135. package/es/dialog/index.d.ts +130 -3
  136. package/es/dialog/index.mjs +20 -0
  137. package/es/dialog/style/{index.js → index.mjs} +0 -0
  138. package/es/dialog/types.d.ts +3 -7
  139. package/es/dialog/{types.js → types.mjs} +0 -0
  140. package/es/divider/Divider.mjs +31 -0
  141. package/es/divider/index.mjs +8 -0
  142. package/es/divider/style/{index.js → index.mjs} +0 -0
  143. package/es/dropdown-item/DropdownItem.mjs +180 -0
  144. package/es/dropdown-item/index.mjs +8 -0
  145. package/es/dropdown-item/style/{index.js → index.mjs} +0 -0
  146. package/es/dropdown-item/{types.js → types.mjs} +0 -0
  147. package/es/dropdown-menu/DropdownMenu.mjs +135 -0
  148. package/es/dropdown-menu/index.mjs +8 -0
  149. package/es/dropdown-menu/style/{index.js → index.mjs} +0 -0
  150. package/es/dropdown-menu/{types.js → types.mjs} +0 -0
  151. package/es/empty/Empty.mjs +57 -0
  152. package/es/empty/Images.d.ts +4 -0
  153. package/es/empty/Images.mjs +271 -0
  154. package/es/empty/index.mjs +8 -0
  155. package/es/empty/style/{index.js → index.mjs} +0 -0
  156. package/es/field/Field.d.ts +4 -2
  157. package/es/field/Field.mjs +449 -0
  158. package/es/field/index.d.ts +5 -3
  159. package/es/field/index.mjs +8 -0
  160. package/es/field/style/{index.js → index.mjs} +0 -0
  161. package/es/field/types.d.ts +3 -1
  162. package/es/field/{types.js → types.mjs} +0 -0
  163. package/es/field/utils.mjs +101 -0
  164. package/es/form/Form.d.ts +13 -13
  165. package/es/form/Form.mjs +158 -0
  166. package/es/form/index.d.ts +9 -9
  167. package/es/form/index.mjs +8 -0
  168. package/es/form/style/{index.js → index.mjs} +0 -0
  169. package/es/form/types.d.ts +2 -0
  170. package/es/form/{types.js → types.mjs} +0 -0
  171. package/es/grid/Grid.mjs +47 -0
  172. package/es/grid/index.mjs +8 -0
  173. package/es/grid/style/{index.js → index.mjs} +0 -0
  174. package/es/grid-item/GridItem.mjs +145 -0
  175. package/es/grid-item/index.mjs +8 -0
  176. package/es/grid-item/style/{index.js → index.mjs} +0 -0
  177. package/es/icon/Icon.mjs +59 -0
  178. package/es/icon/index.mjs +8 -0
  179. package/es/icon/style/{index.js → index.mjs} +0 -0
  180. package/es/image/Image.mjs +149 -0
  181. package/es/image/index.mjs +8 -0
  182. package/es/image/style/{index.js → index.mjs} +0 -0
  183. package/es/image-preview/ImagePreview.mjs +161 -0
  184. package/es/image-preview/ImagePreviewItem.mjs +248 -0
  185. package/es/image-preview/function-call.d.ts +1 -134
  186. package/es/image-preview/function-call.mjs +64 -0
  187. package/es/image-preview/index.d.ts +129 -2
  188. package/es/image-preview/index.mjs +10 -0
  189. package/es/image-preview/style/{index.js → index.mjs} +0 -0
  190. package/es/image-preview/{types.js → types.mjs} +0 -0
  191. package/es/index-anchor/IndexAnchor.mjs +87 -0
  192. package/es/index-anchor/index.mjs +8 -0
  193. package/es/index-anchor/style/{index.js → index.mjs} +0 -0
  194. package/es/index-bar/IndexBar.mjs +221 -0
  195. package/es/index-bar/index.mjs +8 -0
  196. package/es/index-bar/style/{index.js → index.mjs} +0 -0
  197. package/es/index-bar/{types.js → types.mjs} +0 -0
  198. package/es/index.d.ts +1 -1
  199. package/es/index.mjs +280 -0
  200. package/es/lazyload/index.mjs +6 -0
  201. package/es/lazyload/style/{index.js → index.mjs} +0 -0
  202. package/es/lazyload/vue-lazyload/index.mjs +31 -0
  203. package/es/lazyload/vue-lazyload/{lazy-component.js → lazy-component.mjs} +0 -0
  204. package/es/lazyload/vue-lazyload/lazy-container.mjs +70 -0
  205. package/es/lazyload/vue-lazyload/lazy-image.mjs +90 -0
  206. package/es/lazyload/vue-lazyload/lazy.mjs +356 -0
  207. package/es/lazyload/vue-lazyload/listener.mjs +161 -0
  208. package/es/lazyload/vue-lazyload/{util.js → util.mjs} +0 -0
  209. package/es/list/List.mjs +138 -0
  210. package/es/list/index.mjs +8 -0
  211. package/es/list/style/{index.js → index.mjs} +0 -0
  212. package/es/list/{types.js → types.mjs} +0 -0
  213. package/es/loading/Loading.mjs +66 -0
  214. package/es/loading/index.mjs +8 -0
  215. package/es/loading/style/{index.js → index.mjs} +0 -0
  216. package/es/locale/index.d.ts +1 -1
  217. package/es/locale/index.mjs +24 -0
  218. package/es/locale/lang/bg-BG.d.ts +64 -0
  219. package/es/locale/lang/bg-BG.mjs +74 -0
  220. package/es/locale/lang/{bn-BD.js → bn-BD.mjs} +0 -0
  221. package/es/locale/lang/{da-DK.js → da-DK.mjs} +0 -0
  222. package/es/locale/lang/{de-DE-formal.js → de-DE-formal.mjs} +0 -0
  223. package/es/locale/lang/{de-DE.js → de-DE.mjs} +0 -0
  224. package/es/locale/lang/el-GR.d.ts +64 -0
  225. package/es/locale/lang/el-GR.mjs +74 -0
  226. package/es/locale/lang/{en-US.js → en-US.mjs} +0 -0
  227. package/es/locale/lang/{es-ES.js → es-ES.mjs} +0 -0
  228. package/es/locale/lang/fa-IR.d.ts +64 -0
  229. package/es/locale/lang/fa-IR.mjs +74 -0
  230. package/es/locale/lang/{fr-FR.js → fr-FR.mjs} +0 -0
  231. package/es/locale/lang/he-IL.d.ts +64 -0
  232. package/es/locale/lang/he-IL.mjs +66 -0
  233. package/es/locale/lang/{hi-IN.js → hi-IN.mjs} +0 -0
  234. package/es/locale/lang/{id-ID.js → id-ID.mjs} +0 -0
  235. package/es/locale/lang/{is-IS.js → is-IS.mjs} +0 -0
  236. package/es/locale/lang/{it-IT.js → it-IT.mjs} +0 -0
  237. package/es/locale/lang/{ja-JP.js → ja-JP.mjs} +0 -0
  238. package/es/locale/lang/{ko-KR.js → ko-KR.mjs} +0 -0
  239. package/es/locale/lang/{la-LA.js → la-LA.mjs} +0 -0
  240. package/es/locale/lang/{nb-NO.js → nb-NO.mjs} +0 -0
  241. package/es/locale/lang/{pt-BR.js → pt-BR.mjs} +0 -0
  242. package/es/locale/lang/{ro-RO.js → ro-RO.mjs} +0 -0
  243. package/es/locale/lang/{ru-RU.js → ru-RU.mjs} +0 -0
  244. package/es/locale/lang/{sv-SE.js → sv-SE.mjs} +0 -0
  245. package/es/locale/lang/{th-TH.js → th-TH.mjs} +0 -0
  246. package/es/locale/lang/{tr-TR.js → tr-TR.mjs} +0 -0
  247. package/es/locale/lang/{uk-UA.js → uk-UA.mjs} +0 -0
  248. package/es/locale/lang/{vi-VN.js → vi-VN.mjs} +0 -0
  249. package/es/locale/lang/{zh-CN.js → zh-CN.mjs} +0 -0
  250. package/es/locale/lang/{zh-HK.js → zh-HK.mjs} +0 -0
  251. package/es/locale/lang/{zh-TW.js → zh-TW.mjs} +0 -0
  252. package/es/locale/style/{index.js → index.mjs} +0 -0
  253. package/es/nav-bar/NavBar.mjs +90 -0
  254. package/es/nav-bar/index.mjs +8 -0
  255. package/es/nav-bar/style/{index.js → index.mjs} +0 -0
  256. package/es/notice-bar/NoticeBar.mjs +165 -0
  257. package/es/notice-bar/index.mjs +8 -0
  258. package/es/notice-bar/style/{index.js → index.mjs} +0 -0
  259. package/es/notice-bar/{types.js → types.mjs} +0 -0
  260. package/es/notify/Notify.mjs +44 -0
  261. package/es/notify/function-call.d.ts +4 -100
  262. package/es/notify/function-call.mjs +68 -0
  263. package/es/notify/index.d.ts +91 -2
  264. package/es/notify/index.mjs +18 -0
  265. package/es/notify/style/{index.js → index.mjs} +0 -0
  266. package/es/notify/types.d.ts +0 -6
  267. package/es/notify/{types.js → types.mjs} +0 -0
  268. package/es/number-keyboard/NumberKeyboard.mjs +229 -0
  269. package/es/number-keyboard/NumberKeyboardKey.mjs +94 -0
  270. package/es/number-keyboard/index.mjs +8 -0
  271. package/es/number-keyboard/style/{index.js → index.mjs} +0 -0
  272. package/es/overlay/Overlay.mjs +47 -0
  273. package/es/overlay/index.mjs +8 -0
  274. package/es/overlay/style/{index.js → index.mjs} +0 -0
  275. package/es/pagination/Pagination.mjs +144 -0
  276. package/es/pagination/index.mjs +8 -0
  277. package/es/pagination/style/{index.js → index.mjs} +0 -0
  278. package/es/password-input/PasswordInput.mjs +78 -0
  279. package/es/password-input/index.mjs +8 -0
  280. package/es/password-input/style/{index.js → index.mjs} +0 -0
  281. package/es/picker/Picker.mjs +209 -0
  282. package/es/picker/PickerColumn.mjs +188 -0
  283. package/es/picker/index.mjs +8 -0
  284. package/es/picker/style/{index.js → index.mjs} +0 -0
  285. package/es/picker/{types.js → types.mjs} +0 -0
  286. package/es/picker/utils.mjs +73 -0
  287. package/es/popover/Popover.mjs +177 -0
  288. package/es/popover/index.mjs +8 -0
  289. package/es/popover/style/{index.js → index.mjs} +0 -0
  290. package/es/popover/{types.js → types.mjs} +0 -0
  291. package/es/popup/Popup.mjs +205 -0
  292. package/es/popup/index.mjs +8 -0
  293. package/es/popup/shared.mjs +20 -0
  294. package/es/popup/style/{index.js → index.mjs} +0 -0
  295. package/es/popup/{types.js → types.mjs} +0 -0
  296. package/es/progress/Progress.mjs +76 -0
  297. package/es/progress/index.mjs +8 -0
  298. package/es/progress/style/{index.js → index.mjs} +0 -0
  299. package/es/progress/{types.js → types.mjs} +0 -0
  300. package/es/pull-refresh/PullRefresh.d.ts +2 -1
  301. package/es/pull-refresh/PullRefresh.mjs +189 -0
  302. package/es/pull-refresh/index.d.ts +2 -1
  303. package/es/pull-refresh/index.mjs +8 -0
  304. package/es/pull-refresh/style/{index.js → index.mjs} +0 -0
  305. package/es/radio/Radio.mjs +41 -0
  306. package/es/radio/index.mjs +8 -0
  307. package/es/radio/style/{index.js → index.mjs} +0 -0
  308. package/es/radio-group/RadioGroup.mjs +44 -0
  309. package/es/radio-group/index.mjs +8 -0
  310. package/es/radio-group/style/{index.js → index.mjs} +0 -0
  311. package/es/rate/Rate.mjs +217 -0
  312. package/es/rate/index.mjs +8 -0
  313. package/es/rate/style/{index.js → index.mjs} +0 -0
  314. package/es/row/Row.mjs +91 -0
  315. package/es/row/index.mjs +8 -0
  316. package/es/row/style/{index.js → index.mjs} +0 -0
  317. package/es/search/Search.mjs +118 -0
  318. package/es/search/index.css +1 -1
  319. package/es/search/index.mjs +8 -0
  320. package/es/search/style/{index.js → index.mjs} +0 -0
  321. package/es/search/{types.js → types.mjs} +0 -0
  322. package/es/share-sheet/ShareSheet.mjs +122 -0
  323. package/es/share-sheet/index.mjs +8 -0
  324. package/es/share-sheet/style/{index.js → index.mjs} +0 -0
  325. package/es/sidebar/Sidebar.mjs +44 -0
  326. package/es/sidebar/index.mjs +8 -0
  327. package/es/sidebar/style/{index.js → index.mjs} +0 -0
  328. package/es/sidebar-item/SidebarItem.mjs +72 -0
  329. package/es/sidebar-item/index.mjs +8 -0
  330. package/es/sidebar-item/style/{index.js → index.mjs} +0 -0
  331. package/es/skeleton/Skeleton.mjs +84 -0
  332. package/es/skeleton/index.mjs +8 -0
  333. package/es/skeleton/style/{index.js → index.mjs} +0 -0
  334. package/es/slider/Slider.mjs +267 -0
  335. package/es/slider/index.mjs +8 -0
  336. package/es/slider/style/{index.js → index.mjs} +0 -0
  337. package/es/step/Step.mjs +118 -0
  338. package/es/step/index.mjs +8 -0
  339. package/es/step/style/{index.js → index.mjs} +0 -0
  340. package/es/stepper/Stepper.mjs +247 -0
  341. package/es/stepper/index.mjs +8 -0
  342. package/es/stepper/style/{index.js → index.mjs} +0 -0
  343. package/es/steps/Steps.mjs +46 -0
  344. package/es/steps/index.mjs +8 -0
  345. package/es/steps/style/{index.js → index.mjs} +0 -0
  346. package/es/sticky/Sticky.mjs +119 -0
  347. package/es/sticky/index.mjs +8 -0
  348. package/es/sticky/style/{index.js → index.mjs} +0 -0
  349. package/es/submit-bar/SubmitBar.d.ts +4 -0
  350. package/es/submit-bar/SubmitBar.mjs +115 -0
  351. package/es/submit-bar/index.d.ts +3 -0
  352. package/es/submit-bar/index.mjs +8 -0
  353. package/es/submit-bar/style/{index.js → index.mjs} +0 -0
  354. package/es/swipe/Swipe.mjs +353 -0
  355. package/es/swipe/index.mjs +8 -0
  356. package/es/swipe/style/{index.js → index.mjs} +0 -0
  357. package/es/swipe/{types.js → types.mjs} +0 -0
  358. package/es/swipe-cell/SwipeCell.mjs +160 -0
  359. package/es/swipe-cell/index.mjs +8 -0
  360. package/es/swipe-cell/style/{index.js → index.mjs} +0 -0
  361. package/es/swipe-cell/{types.js → types.mjs} +0 -0
  362. package/es/swipe-item/SwipeItem.mjs +82 -0
  363. package/es/swipe-item/index.mjs +8 -0
  364. package/es/swipe-item/style/{index.js → index.mjs} +0 -0
  365. package/es/switch/Switch.mjs +85 -0
  366. package/es/switch/index.mjs +8 -0
  367. package/es/switch/style/{index.js → index.mjs} +0 -0
  368. package/es/tab/Tab.mjs +113 -0
  369. package/es/tab/index.mjs +8 -0
  370. package/es/tab/style/{index.js → index.mjs} +0 -0
  371. package/es/tabbar/Tabbar.mjs +84 -0
  372. package/es/tabbar/index.mjs +8 -0
  373. package/es/tabbar/style/{index.js → index.mjs} +0 -0
  374. package/es/tabbar-item/TabbarItem.mjs +120 -0
  375. package/es/tabbar-item/index.mjs +8 -0
  376. package/es/tabbar-item/style/{index.js → index.mjs} +0 -0
  377. package/es/tabs/Tabs.mjs +352 -0
  378. package/es/tabs/TabsContent.mjs +64 -0
  379. package/es/tabs/TabsTitle.mjs +90 -0
  380. package/es/tabs/index.mjs +8 -0
  381. package/es/tabs/style/{index.js → index.mjs} +0 -0
  382. package/es/tabs/{types.js → types.mjs} +0 -0
  383. package/es/tabs/utils.mjs +37 -0
  384. package/es/tag/Tag.mjs +78 -0
  385. package/es/tag/index.mjs +8 -0
  386. package/es/tag/style/{index.js → index.mjs} +0 -0
  387. package/es/time-picker/TimePicker.mjs +71 -0
  388. package/es/time-picker/index.mjs +8 -0
  389. package/es/time-picker/style/{index.js → index.mjs} +0 -0
  390. package/es/toast/Toast.mjs +119 -0
  391. package/es/toast/function-call.d.ts +10 -18
  392. package/es/toast/function-call.mjs +142 -0
  393. package/es/toast/index.d.ts +76 -2
  394. package/es/toast/index.mjs +26 -0
  395. package/es/toast/{lock-click.js → lock-click.mjs} +0 -0
  396. package/es/toast/style/{index.js → index.mjs} +0 -0
  397. package/es/toast/types.d.ts +10 -7
  398. package/es/toast/{types.js → types.mjs} +0 -0
  399. package/es/tree-select/TreeSelect.mjs +102 -0
  400. package/es/tree-select/index.mjs +8 -0
  401. package/es/tree-select/style/{index.js → index.mjs} +0 -0
  402. package/es/uploader/Uploader.d.ts +3 -3
  403. package/es/uploader/Uploader.mjs +248 -0
  404. package/es/uploader/UploaderPreviewItem.mjs +128 -0
  405. package/es/uploader/index.css +1 -1
  406. package/es/uploader/index.d.ts +2 -2
  407. package/es/uploader/index.mjs +8 -0
  408. package/es/uploader/style/{index.js → index.mjs} +0 -0
  409. package/es/uploader/{types.js → types.mjs} +0 -0
  410. package/es/uploader/utils.d.ts +0 -1
  411. package/es/uploader/utils.mjs +69 -0
  412. package/es/utils/basic.d.ts +4 -3
  413. package/es/utils/basic.mjs +32 -0
  414. package/es/utils/{constant.js → constant.mjs} +0 -0
  415. package/es/utils/create.d.ts +1 -1
  416. package/es/utils/create.mjs +47 -0
  417. package/es/utils/deep-assign.mjs +22 -0
  418. package/es/utils/deep-clone.mjs +20 -0
  419. package/es/utils/dom.mjs +67 -0
  420. package/es/utils/format.mjs +120 -0
  421. package/es/utils/index.mjs +9 -0
  422. package/es/utils/interceptor.mjs +29 -0
  423. package/es/utils/mount-component.mjs +39 -0
  424. package/es/utils/{props.js → props.mjs} +0 -0
  425. package/es/utils/validate.mjs +22 -0
  426. package/es/utils/with-install.mjs +12 -0
  427. package/lib/action-bar/ActionBar.d.ts +4 -0
  428. package/lib/action-bar/ActionBar.js +12 -1
  429. package/lib/action-bar/index.d.ts +3 -0
  430. package/lib/address-edit/AddressEdit.js +1 -1
  431. package/lib/calendar/Calendar.js +8 -3
  432. package/lib/calendar/types.d.ts +1 -0
  433. package/lib/cell/Cell.d.ts +1 -1
  434. package/lib/cell/index.d.ts +1 -1
  435. package/lib/collapse-item/CollapseItem.d.ts +1 -1
  436. package/lib/collapse-item/index.d.ts +1 -1
  437. package/lib/date-picker/utils.d.ts +1 -1
  438. package/lib/dialog/Dialog.d.ts +9 -1
  439. package/lib/dialog/Dialog.js +6 -0
  440. package/lib/dialog/function-call.d.ts +6 -184
  441. package/lib/dialog/function-call.js +42 -42
  442. package/lib/dialog/index.d.ts +130 -3
  443. package/lib/dialog/index.js +14 -3
  444. package/lib/dialog/types.d.ts +3 -7
  445. package/lib/empty/Empty.js +10 -13
  446. package/lib/empty/Images.d.ts +4 -0
  447. package/lib/empty/Images.js +290 -0
  448. package/lib/field/Field.d.ts +4 -2
  449. package/lib/field/Field.js +25 -16
  450. package/lib/field/index.d.ts +5 -3
  451. package/lib/field/types.d.ts +3 -1
  452. package/lib/form/Form.d.ts +13 -13
  453. package/lib/form/Form.js +11 -3
  454. package/lib/form/index.d.ts +9 -9
  455. package/lib/form/types.d.ts +2 -0
  456. package/lib/image-preview/function-call.d.ts +1 -134
  457. package/lib/image-preview/function-call.js +2 -6
  458. package/lib/image-preview/index.d.ts +129 -2
  459. package/lib/image-preview/index.js +10 -3
  460. package/lib/index.css +1 -1
  461. package/lib/index.d.ts +1 -1
  462. package/lib/index.js +1 -1
  463. package/lib/loading/Loading.js +3 -1
  464. package/lib/locale/index.d.ts +1 -1
  465. package/lib/locale/lang/bg-BG.d.ts +64 -0
  466. package/lib/locale/lang/bg-BG.js +93 -0
  467. package/lib/locale/lang/el-GR.d.ts +64 -0
  468. package/lib/locale/lang/el-GR.js +93 -0
  469. package/lib/locale/lang/fa-IR.d.ts +64 -0
  470. package/lib/locale/lang/fa-IR.js +93 -0
  471. package/lib/locale/lang/he-IL.d.ts +64 -0
  472. package/lib/locale/lang/he-IL.js +85 -0
  473. package/lib/notify/function-call.d.ts +4 -100
  474. package/lib/notify/function-call.js +24 -28
  475. package/lib/notify/index.d.ts +91 -2
  476. package/lib/notify/index.js +13 -3
  477. package/lib/notify/types.d.ts +0 -6
  478. package/lib/popup/Popup.js +1 -1
  479. package/lib/pull-refresh/PullRefresh.d.ts +2 -1
  480. package/lib/pull-refresh/PullRefresh.js +5 -1
  481. package/lib/pull-refresh/index.d.ts +2 -1
  482. package/lib/search/index.css +1 -1
  483. package/lib/submit-bar/SubmitBar.d.ts +4 -0
  484. package/lib/submit-bar/SubmitBar.js +12 -1
  485. package/lib/submit-bar/index.d.ts +3 -0
  486. package/lib/switch/Switch.js +7 -2
  487. package/lib/toast/function-call.d.ts +10 -18
  488. package/lib/toast/function-call.js +21 -19
  489. package/lib/toast/index.d.ts +76 -2
  490. package/lib/toast/index.js +17 -3
  491. package/lib/toast/types.d.ts +10 -7
  492. package/lib/uploader/Uploader.d.ts +3 -3
  493. package/lib/uploader/Uploader.js +4 -6
  494. package/lib/uploader/UploaderPreviewItem.js +5 -2
  495. package/lib/uploader/index.css +1 -1
  496. package/lib/uploader/index.d.ts +2 -2
  497. package/lib/uploader/utils.d.ts +0 -1
  498. package/lib/uploader/utils.js +2 -4
  499. package/lib/utils/basic.d.ts +4 -3
  500. package/lib/utils/basic.js +3 -1
  501. package/lib/utils/create.d.ts +1 -1
  502. package/lib/vant.cjs.js +467 -230
  503. package/lib/vant.es.js +450 -230
  504. package/lib/vant.js +544 -270
  505. package/lib/vant.min.js +1 -1
  506. package/package.json +9 -24
  507. package/vetur/attributes.json +427 -411
  508. package/vetur/tags.json +147 -143
  509. package/vetur/web-types.json +1753 -1677
  510. package/es/action-bar/ActionBar.js +0 -33
  511. package/es/action-bar/index.js +0 -8
  512. package/es/action-bar/index.less +0 -16
  513. package/es/action-bar/style/less.d.ts +0 -1
  514. package/es/action-bar/style/less.js +0 -2
  515. package/es/action-bar-button/ActionBarButton.js +0 -73
  516. package/es/action-bar-button/index.js +0 -8
  517. package/es/action-bar-button/index.less +0 -38
  518. package/es/action-bar-button/style/less.d.ts +0 -1
  519. package/es/action-bar-button/style/less.js +0 -7
  520. package/es/action-bar-icon/ActionBarIcon.js +0 -68
  521. package/es/action-bar-icon/index.js +0 -8
  522. package/es/action-bar-icon/index.less +0 -34
  523. package/es/action-bar-icon/style/less.d.ts +0 -1
  524. package/es/action-bar-icon/style/less.js +0 -5
  525. package/es/action-sheet/ActionSheet.js +0 -131
  526. package/es/action-sheet/index.js +0 -8
  527. package/es/action-sheet/index.less +0 -131
  528. package/es/action-sheet/style/less.d.ts +0 -1
  529. package/es/action-sheet/style/less.js +0 -7
  530. package/es/address-edit/AddressEdit.js +0 -288
  531. package/es/address-edit/AddressEditDetail.js +0 -76
  532. package/es/address-edit/index.js +0 -8
  533. package/es/address-edit/index.less +0 -39
  534. package/es/address-edit/style/less.d.ts +0 -1
  535. package/es/address-edit/style/less.js +0 -13
  536. package/es/address-list/AddressList.js +0 -82
  537. package/es/address-list/AddressListItem.js +0 -96
  538. package/es/address-list/index.js +0 -8
  539. package/es/address-list/index.less +0 -110
  540. package/es/address-list/style/less.d.ts +0 -1
  541. package/es/address-list/style/less.js +0 -11
  542. package/es/area/Area.js +0 -76
  543. package/es/area/index.js +0 -8
  544. package/es/area/style/less.d.ts +0 -1
  545. package/es/area/style/less.js +0 -3
  546. package/es/badge/Badge.js +0 -95
  547. package/es/badge/index.js +0 -8
  548. package/es/badge/index.less +0 -72
  549. package/es/badge/style/less.d.ts +0 -1
  550. package/es/badge/style/less.js +0 -2
  551. package/es/button/Button.js +0 -148
  552. package/es/button/index.js +0 -8
  553. package/es/button/index.less +0 -241
  554. package/es/button/style/less.d.ts +0 -1
  555. package/es/button/style/less.js +0 -5
  556. package/es/calendar/Calendar.js +0 -401
  557. package/es/calendar/CalendarDay.js +0 -129
  558. package/es/calendar/CalendarHeader.js +0 -58
  559. package/es/calendar/CalendarMonth.js +0 -208
  560. package/es/calendar/index.js +0 -8
  561. package/es/calendar/index.less +0 -217
  562. package/es/calendar/style/less.d.ts +0 -1
  563. package/es/calendar/style/less.js +0 -10
  564. package/es/calendar/utils.js +0 -56
  565. package/es/card/Card.js +0 -126
  566. package/es/card/index.js +0 -8
  567. package/es/card/index.less +0 -126
  568. package/es/card/style/less.d.ts +0 -1
  569. package/es/card/style/less.js +0 -6
  570. package/es/cascader/Cascader.js +0 -227
  571. package/es/cascader/index.js +0 -8
  572. package/es/cascader/index.less +0 -92
  573. package/es/cascader/style/less.d.ts +0 -1
  574. package/es/cascader/style/less.js +0 -9
  575. package/es/cell/Cell.js +0 -116
  576. package/es/cell/index.js +0 -8
  577. package/es/cell/index.less +0 -119
  578. package/es/cell/style/less.d.ts +0 -1
  579. package/es/cell/style/less.js +0 -4
  580. package/es/cell-group/CellGroup.js +0 -43
  581. package/es/cell-group/index.js +0 -8
  582. package/es/cell-group/index.less +0 -32
  583. package/es/cell-group/style/less.d.ts +0 -1
  584. package/es/cell-group/style/less.js +0 -2
  585. package/es/checkbox/Checkbox.js +0 -81
  586. package/es/checkbox/Checker.js +0 -107
  587. package/es/checkbox/index.js +0 -8
  588. package/es/checkbox/index.less +0 -96
  589. package/es/checkbox/style/less.d.ts +0 -1
  590. package/es/checkbox/style/less.js +0 -5
  591. package/es/checkbox-group/CheckboxGroup.js +0 -71
  592. package/es/checkbox-group/index.js +0 -8
  593. package/es/checkbox-group/index.less +0 -6
  594. package/es/checkbox-group/style/less.d.ts +0 -1
  595. package/es/checkbox-group/style/less.js +0 -2
  596. package/es/circle/Circle.js +0 -152
  597. package/es/circle/index.js +0 -8
  598. package/es/circle/index.less +0 -49
  599. package/es/circle/style/less.d.ts +0 -1
  600. package/es/circle/style/less.js +0 -2
  601. package/es/col/Col.js +0 -63
  602. package/es/col/index.js +0 -8
  603. package/es/col/index.less +0 -19
  604. package/es/col/style/less.d.ts +0 -1
  605. package/es/col/style/less.js +0 -3
  606. package/es/collapse/Collapse.js +0 -81
  607. package/es/collapse/index.js +0 -8
  608. package/es/collapse/style/less.d.ts +0 -1
  609. package/es/collapse/style/less.js +0 -1
  610. package/es/collapse-item/CollapseItem.js +0 -134
  611. package/es/collapse-item/index.js +0 -8
  612. package/es/collapse-item/index.less +0 -75
  613. package/es/collapse-item/style/less.d.ts +0 -1
  614. package/es/collapse-item/style/less.js +0 -5
  615. package/es/composables/use-expose.js +0 -11
  616. package/es/composables/use-lock-scroll.js +0 -53
  617. package/es/composables/use-placeholder.js +0 -14
  618. package/es/composables/use-visibility-change.js +0 -27
  619. package/es/config-provider/ConfigProvider.js +0 -53
  620. package/es/config-provider/index.js +0 -8
  621. package/es/config-provider/style/less.d.ts +0 -1
  622. package/es/config-provider/style/less.js +0 -1
  623. package/es/contact-card/ContactCard.js +0 -46
  624. package/es/contact-card/index.js +0 -8
  625. package/es/contact-card/index.less +0 -47
  626. package/es/contact-card/style/less.d.ts +0 -1
  627. package/es/contact-card/style/less.js +0 -5
  628. package/es/contact-edit/ContactEdit.js +0 -112
  629. package/es/contact-edit/index.js +0 -8
  630. package/es/contact-edit/index.less +0 -37
  631. package/es/contact-edit/style/less.d.ts +0 -1
  632. package/es/contact-edit/style/less.js +0 -9
  633. package/es/contact-list/ContactList.js +0 -89
  634. package/es/contact-list/index.js +0 -8
  635. package/es/contact-list/index.less +0 -65
  636. package/es/contact-list/style/less.d.ts +0 -1
  637. package/es/contact-list/style/less.js +0 -11
  638. package/es/count-down/CountDown.js +0 -56
  639. package/es/count-down/index.js +0 -8
  640. package/es/count-down/index.less +0 -11
  641. package/es/count-down/style/less.d.ts +0 -1
  642. package/es/count-down/style/less.js +0 -2
  643. package/es/count-down/utils.js +0 -39
  644. package/es/coupon/Coupon.js +0 -80
  645. package/es/coupon/index.js +0 -8
  646. package/es/coupon/index.less +0 -127
  647. package/es/coupon/style/less.d.ts +0 -1
  648. package/es/coupon/style/less.js +0 -6
  649. package/es/coupon/utils.js +0 -12
  650. package/es/coupon-cell/CouponCell.js +0 -54
  651. package/es/coupon-cell/index.js +0 -8
  652. package/es/coupon-cell/index.less +0 -9
  653. package/es/coupon-cell/style/less.d.ts +0 -1
  654. package/es/coupon-cell/style/less.js +0 -5
  655. package/es/coupon-list/CouponList.js +0 -186
  656. package/es/coupon-list/index.js +0 -8
  657. package/es/coupon-list/index.less +0 -86
  658. package/es/coupon-list/style/less.d.ts +0 -1
  659. package/es/coupon-list/style/less.js +0 -17
  660. package/es/date-picker/DatePicker.js +0 -111
  661. package/es/date-picker/index.js +0 -8
  662. package/es/date-picker/style/less.d.ts +0 -1
  663. package/es/date-picker/style/less.js +0 -3
  664. package/es/date-picker/utils.js +0 -40
  665. package/es/dialog/Dialog.js +0 -211
  666. package/es/dialog/function-call.js +0 -85
  667. package/es/dialog/index.js +0 -6
  668. package/es/dialog/index.less +0 -140
  669. package/es/dialog/style/less.d.ts +0 -1
  670. package/es/dialog/style/less.js +0 -10
  671. package/es/divider/Divider.js +0 -31
  672. package/es/divider/index.js +0 -8
  673. package/es/divider/index.less +0 -73
  674. package/es/divider/style/less.d.ts +0 -1
  675. package/es/divider/style/less.js +0 -2
  676. package/es/dropdown-item/DropdownItem.js +0 -180
  677. package/es/dropdown-item/index.js +0 -8
  678. package/es/dropdown-item/index.less +0 -41
  679. package/es/dropdown-item/style/less.d.ts +0 -1
  680. package/es/dropdown-item/style/less.js +0 -8
  681. package/es/dropdown-menu/DropdownMenu.js +0 -135
  682. package/es/dropdown-menu/index.js +0 -8
  683. package/es/dropdown-menu/index.less +0 -80
  684. package/es/dropdown-menu/style/less.d.ts +0 -1
  685. package/es/dropdown-menu/style/less.js +0 -2
  686. package/es/empty/Empty.js +0 -60
  687. package/es/empty/Network.d.ts +0 -1
  688. package/es/empty/Network.js +0 -89
  689. package/es/empty/index.js +0 -8
  690. package/es/empty/index.less +0 -41
  691. package/es/empty/style/less.d.ts +0 -1
  692. package/es/empty/style/less.js +0 -2
  693. package/es/field/Field.js +0 -440
  694. package/es/field/index.js +0 -8
  695. package/es/field/index.less +0 -196
  696. package/es/field/style/less.d.ts +0 -1
  697. package/es/field/style/less.js +0 -5
  698. package/es/field/utils.js +0 -101
  699. package/es/form/Form.js +0 -150
  700. package/es/form/index.js +0 -8
  701. package/es/form/style/less.d.ts +0 -1
  702. package/es/form/style/less.js +0 -1
  703. package/es/grid/Grid.js +0 -47
  704. package/es/grid/index.js +0 -8
  705. package/es/grid/index.less +0 -4
  706. package/es/grid/style/less.d.ts +0 -1
  707. package/es/grid/style/less.js +0 -2
  708. package/es/grid-item/GridItem.js +0 -145
  709. package/es/grid-item/index.js +0 -8
  710. package/es/grid-item/index.less +0 -97
  711. package/es/grid-item/style/less.d.ts +0 -1
  712. package/es/grid-item/style/less.js +0 -5
  713. package/es/icon/Icon.js +0 -59
  714. package/es/icon/index.js +0 -8
  715. package/es/icon/index.less +0 -10
  716. package/es/icon/style/less.d.ts +0 -1
  717. package/es/icon/style/less.js +0 -3
  718. package/es/image/Image.js +0 -149
  719. package/es/image/index.js +0 -8
  720. package/es/image/index.less +0 -55
  721. package/es/image/style/less.d.ts +0 -1
  722. package/es/image/style/less.js +0 -4
  723. package/es/image-preview/ImagePreview.js +0 -161
  724. package/es/image-preview/ImagePreviewItem.js +0 -248
  725. package/es/image-preview/function-call.js +0 -68
  726. package/es/image-preview/index.js +0 -6
  727. package/es/image-preview/index.less +0 -110
  728. package/es/image-preview/style/less.d.ts +0 -1
  729. package/es/image-preview/style/less.js +0 -10
  730. package/es/index-anchor/IndexAnchor.js +0 -87
  731. package/es/index-anchor/index.js +0 -8
  732. package/es/index-anchor/index.less +0 -31
  733. package/es/index-anchor/style/less.d.ts +0 -1
  734. package/es/index-anchor/style/less.js +0 -3
  735. package/es/index-bar/IndexBar.js +0 -221
  736. package/es/index-bar/index.js +0 -8
  737. package/es/index-bar/index.less +0 -33
  738. package/es/index-bar/style/less.d.ts +0 -1
  739. package/es/index-bar/style/less.js +0 -2
  740. package/es/index.js +0 -280
  741. package/es/lazyload/index.js +0 -6
  742. package/es/lazyload/style/less.d.ts +0 -1
  743. package/es/lazyload/style/less.js +0 -1
  744. package/es/lazyload/vue-lazyload/index.js +0 -31
  745. package/es/lazyload/vue-lazyload/lazy-container.js +0 -70
  746. package/es/lazyload/vue-lazyload/lazy-image.js +0 -90
  747. package/es/lazyload/vue-lazyload/lazy.js +0 -356
  748. package/es/lazyload/vue-lazyload/listener.js +0 -161
  749. package/es/list/List.js +0 -138
  750. package/es/list/index.js +0 -8
  751. package/es/list/index.less +0 -29
  752. package/es/list/style/less.d.ts +0 -1
  753. package/es/list/style/less.js +0 -3
  754. package/es/loading/Loading.js +0 -64
  755. package/es/loading/index.js +0 -8
  756. package/es/loading/index.less +0 -109
  757. package/es/loading/style/less.d.ts +0 -1
  758. package/es/loading/style/less.js +0 -2
  759. package/es/locale/index.js +0 -24
  760. package/es/locale/style/less.d.ts +0 -1
  761. package/es/locale/style/less.js +0 -1
  762. package/es/nav-bar/NavBar.js +0 -90
  763. package/es/nav-bar/index.js +0 -8
  764. package/es/nav-bar/index.less +0 -78
  765. package/es/nav-bar/style/less.d.ts +0 -1
  766. package/es/nav-bar/style/less.js +0 -4
  767. package/es/notice-bar/NoticeBar.js +0 -165
  768. package/es/notice-bar/index.js +0 -8
  769. package/es/notice-bar/index.less +0 -70
  770. package/es/notice-bar/style/less.d.ts +0 -1
  771. package/es/notice-bar/style/less.js +0 -4
  772. package/es/notify/Notify.js +0 -44
  773. package/es/notify/function-call.js +0 -72
  774. package/es/notify/index.js +0 -6
  775. package/es/notify/index.less +0 -42
  776. package/es/notify/style/less.d.ts +0 -1
  777. package/es/notify/style/less.js +0 -6
  778. package/es/number-keyboard/NumberKeyboard.js +0 -229
  779. package/es/number-keyboard/NumberKeyboardKey.js +0 -94
  780. package/es/number-keyboard/index.js +0 -8
  781. package/es/number-keyboard/index.less +0 -159
  782. package/es/number-keyboard/style/less.d.ts +0 -1
  783. package/es/number-keyboard/style/less.js +0 -3
  784. package/es/overlay/Overlay.js +0 -47
  785. package/es/overlay/index.js +0 -8
  786. package/es/overlay/index.less +0 -14
  787. package/es/overlay/style/less.d.ts +0 -1
  788. package/es/overlay/style/less.js +0 -2
  789. package/es/pagination/Pagination.js +0 -144
  790. package/es/pagination/index.js +0 -8
  791. package/es/pagination/index.less +0 -89
  792. package/es/pagination/style/less.d.ts +0 -1
  793. package/es/pagination/style/less.js +0 -2
  794. package/es/password-input/PasswordInput.js +0 -78
  795. package/es/password-input/index.js +0 -8
  796. package/es/password-input/index.less +0 -100
  797. package/es/password-input/style/less.d.ts +0 -1
  798. package/es/password-input/style/less.js +0 -2
  799. package/es/picker/Picker.js +0 -209
  800. package/es/picker/PickerColumn.js +0 -188
  801. package/es/picker/index.js +0 -8
  802. package/es/picker/index.less +0 -138
  803. package/es/picker/style/less.d.ts +0 -1
  804. package/es/picker/style/less.js +0 -3
  805. package/es/picker/utils.js +0 -73
  806. package/es/popover/Popover.js +0 -177
  807. package/es/popover/index.js +0 -8
  808. package/es/popover/index.less +0 -288
  809. package/es/popover/style/less.d.ts +0 -1
  810. package/es/popover/style/less.js +0 -6
  811. package/es/popup/Popup.js +0 -205
  812. package/es/popup/index.js +0 -8
  813. package/es/popup/index.less +0 -139
  814. package/es/popup/shared.js +0 -20
  815. package/es/popup/style/less.d.ts +0 -1
  816. package/es/popup/style/less.js +0 -5
  817. package/es/progress/Progress.js +0 -76
  818. package/es/progress/index.js +0 -8
  819. package/es/progress/index.less +0 -53
  820. package/es/progress/style/less.d.ts +0 -1
  821. package/es/progress/style/less.js +0 -2
  822. package/es/pull-refresh/PullRefresh.js +0 -185
  823. package/es/pull-refresh/index.js +0 -8
  824. package/es/pull-refresh/index.less +0 -36
  825. package/es/pull-refresh/style/less.d.ts +0 -1
  826. package/es/pull-refresh/style/less.js +0 -3
  827. package/es/radio/Radio.js +0 -41
  828. package/es/radio/index.js +0 -8
  829. package/es/radio/index.less +0 -96
  830. package/es/radio/style/less.d.ts +0 -1
  831. package/es/radio/style/less.js +0 -6
  832. package/es/radio-group/RadioGroup.js +0 -44
  833. package/es/radio-group/index.js +0 -8
  834. package/es/radio-group/index.less +0 -6
  835. package/es/radio-group/style/less.d.ts +0 -1
  836. package/es/radio-group/style/less.js +0 -2
  837. package/es/rate/Rate.js +0 -217
  838. package/es/rate/index.js +0 -8
  839. package/es/rate/index.less +0 -52
  840. package/es/rate/style/less.d.ts +0 -1
  841. package/es/rate/style/less.js +0 -4
  842. package/es/row/Row.js +0 -91
  843. package/es/row/index.js +0 -8
  844. package/es/row/index.less +0 -32
  845. package/es/row/style/less.d.ts +0 -1
  846. package/es/row/style/less.js +0 -2
  847. package/es/search/Search.js +0 -118
  848. package/es/search/index.js +0 -8
  849. package/es/search/index.less +0 -76
  850. package/es/search/style/less.d.ts +0 -1
  851. package/es/search/style/less.js +0 -6
  852. package/es/share-sheet/ShareSheet.js +0 -122
  853. package/es/share-sheet/index.js +0 -8
  854. package/es/share-sheet/index.less +0 -152
  855. package/es/share-sheet/style/less.d.ts +0 -1
  856. package/es/share-sheet/style/less.js +0 -6
  857. package/es/sidebar/Sidebar.js +0 -44
  858. package/es/sidebar/index.js +0 -8
  859. package/es/sidebar/index.less +0 -9
  860. package/es/sidebar/style/less.d.ts +0 -1
  861. package/es/sidebar/style/less.js +0 -2
  862. package/es/sidebar-item/SidebarItem.js +0 -72
  863. package/es/sidebar-item/index.js +0 -8
  864. package/es/sidebar-item/index.less +0 -72
  865. package/es/sidebar-item/style/less.d.ts +0 -1
  866. package/es/sidebar-item/style/less.js +0 -4
  867. package/es/skeleton/Skeleton.js +0 -84
  868. package/es/skeleton/index.js +0 -8
  869. package/es/skeleton/index.less +0 -73
  870. package/es/skeleton/style/less.d.ts +0 -1
  871. package/es/skeleton/style/less.js +0 -2
  872. package/es/slider/Slider.js +0 -267
  873. package/es/slider/index.js +0 -8
  874. package/es/slider/index.less +0 -104
  875. package/es/slider/style/less.d.ts +0 -1
  876. package/es/slider/style/less.js +0 -2
  877. package/es/step/Step.js +0 -118
  878. package/es/step/index.js +0 -8
  879. package/es/step/index.less +0 -147
  880. package/es/step/style/less.d.ts +0 -1
  881. package/es/step/style/less.js +0 -5
  882. package/es/stepper/Stepper.js +0 -247
  883. package/es/stepper/index.js +0 -8
  884. package/es/stepper/index.less +0 -129
  885. package/es/stepper/style/less.d.ts +0 -1
  886. package/es/stepper/style/less.js +0 -2
  887. package/es/steps/Steps.js +0 -46
  888. package/es/steps/index.js +0 -8
  889. package/es/steps/index.less +0 -23
  890. package/es/steps/style/less.d.ts +0 -1
  891. package/es/steps/style/less.js +0 -2
  892. package/es/sticky/Sticky.js +0 -119
  893. package/es/sticky/index.js +0 -8
  894. package/es/sticky/index.less +0 -10
  895. package/es/sticky/style/less.d.ts +0 -1
  896. package/es/sticky/style/less.js +0 -2
  897. package/es/style/animation.less +0 -135
  898. package/es/style/base.less +0 -89
  899. package/es/style/css-variables.less +0 -90
  900. package/es/style/mixins/clearfix.less +0 -7
  901. package/es/style/mixins/ellipsis.less +0 -15
  902. package/es/style/mixins/hairline.less +0 -37
  903. package/es/style/normalize.less +0 -36
  904. package/es/submit-bar/SubmitBar.js +0 -104
  905. package/es/submit-bar/index.js +0 -8
  906. package/es/submit-bar/index.less +0 -97
  907. package/es/submit-bar/style/less.d.ts +0 -1
  908. package/es/submit-bar/style/less.js +0 -6
  909. package/es/swipe/Swipe.js +0 -353
  910. package/es/swipe/index.js +0 -8
  911. package/es/swipe/index.less +0 -65
  912. package/es/swipe/style/less.d.ts +0 -1
  913. package/es/swipe/style/less.js +0 -2
  914. package/es/swipe-cell/SwipeCell.js +0 -160
  915. package/es/swipe-cell/index.js +0 -8
  916. package/es/swipe-cell/index.less +0 -27
  917. package/es/swipe-cell/style/less.d.ts +0 -1
  918. package/es/swipe-cell/style/less.js +0 -2
  919. package/es/swipe-item/SwipeItem.js +0 -82
  920. package/es/swipe-item/index.js +0 -8
  921. package/es/swipe-item/index.less +0 -6
  922. package/es/swipe-item/style/less.d.ts +0 -1
  923. package/es/swipe-item/style/less.js +0 -3
  924. package/es/switch/Switch.js +0 -80
  925. package/es/switch/index.js +0 -8
  926. package/es/switch/index.less +0 -75
  927. package/es/switch/style/less.d.ts +0 -1
  928. package/es/switch/style/less.js +0 -3
  929. package/es/tab/Tab.js +0 -113
  930. package/es/tab/index.js +0 -8
  931. package/es/tab/index.less +0 -15
  932. package/es/tab/style/less.d.ts +0 -1
  933. package/es/tab/style/less.js +0 -7
  934. package/es/tabbar/Tabbar.js +0 -84
  935. package/es/tabbar/index.js +0 -8
  936. package/es/tabbar/index.less +0 -20
  937. package/es/tabbar/style/less.d.ts +0 -1
  938. package/es/tabbar/style/less.js +0 -2
  939. package/es/tabbar-item/TabbarItem.js +0 -120
  940. package/es/tabbar-item/index.js +0 -8
  941. package/es/tabbar-item/index.less +0 -44
  942. package/es/tabbar-item/style/less.d.ts +0 -1
  943. package/es/tabbar-item/style/less.js +0 -5
  944. package/es/tabs/Tabs.js +0 -352
  945. package/es/tabs/TabsContent.js +0 -64
  946. package/es/tabs/TabsTitle.js +0 -90
  947. package/es/tabs/index.js +0 -8
  948. package/es/tabs/index.less +0 -170
  949. package/es/tabs/style/less.d.ts +0 -1
  950. package/es/tabs/style/less.js +0 -5
  951. package/es/tabs/utils.js +0 -37
  952. package/es/tag/Tag.js +0 -78
  953. package/es/tag/index.js +0 -8
  954. package/es/tag/index.less +0 -115
  955. package/es/tag/style/less.d.ts +0 -1
  956. package/es/tag/style/less.js +0 -4
  957. package/es/time-picker/TimePicker.js +0 -71
  958. package/es/time-picker/index.js +0 -8
  959. package/es/time-picker/style/less.d.ts +0 -1
  960. package/es/time-picker/style/less.js +0 -3
  961. package/es/toast/Toast.js +0 -119
  962. package/es/toast/function-call.js +0 -140
  963. package/es/toast/index.js +0 -6
  964. package/es/toast/index.less +0 -89
  965. package/es/toast/style/less.d.ts +0 -1
  966. package/es/toast/style/less.js +0 -7
  967. package/es/tree-select/TreeSelect.js +0 -102
  968. package/es/tree-select/index.js +0 -8
  969. package/es/tree-select/index.less +0 -68
  970. package/es/tree-select/style/less.d.ts +0 -1
  971. package/es/tree-select/style/less.js +0 -6
  972. package/es/uploader/Uploader.js +0 -250
  973. package/es/uploader/UploaderPreviewItem.js +0 -125
  974. package/es/uploader/index.js +0 -8
  975. package/es/uploader/index.less +0 -188
  976. package/es/uploader/style/less.d.ts +0 -1
  977. package/es/uploader/style/less.js +0 -11
  978. package/es/uploader/utils.js +0 -71
  979. package/es/utils/basic.js +0 -30
  980. package/es/utils/create.js +0 -47
  981. package/es/utils/deep-assign.js +0 -22
  982. package/es/utils/deep-clone.js +0 -20
  983. package/es/utils/dom.js +0 -67
  984. package/es/utils/format.js +0 -120
  985. package/es/utils/index.js +0 -9
  986. package/es/utils/interceptor.js +0 -29
  987. package/es/utils/mount-component.js +0 -39
  988. package/es/utils/validate.js +0 -22
  989. package/es/utils/with-install.js +0 -12
  990. package/lib/action-bar/index.less +0 -16
  991. package/lib/action-bar/style/less.d.ts +0 -1
  992. package/lib/action-bar/style/less.js +0 -2
  993. package/lib/action-bar-button/index.less +0 -38
  994. package/lib/action-bar-button/style/less.d.ts +0 -1
  995. package/lib/action-bar-button/style/less.js +0 -7
  996. package/lib/action-bar-icon/index.less +0 -34
  997. package/lib/action-bar-icon/style/less.d.ts +0 -1
  998. package/lib/action-bar-icon/style/less.js +0 -5
  999. package/lib/action-sheet/index.less +0 -131
  1000. package/lib/action-sheet/style/less.d.ts +0 -1
  1001. package/lib/action-sheet/style/less.js +0 -7
  1002. package/lib/address-edit/index.less +0 -39
  1003. package/lib/address-edit/style/less.d.ts +0 -1
  1004. package/lib/address-edit/style/less.js +0 -13
  1005. package/lib/address-list/index.less +0 -110
  1006. package/lib/address-list/style/less.d.ts +0 -1
  1007. package/lib/address-list/style/less.js +0 -11
  1008. package/lib/area/style/less.d.ts +0 -1
  1009. package/lib/area/style/less.js +0 -3
  1010. package/lib/badge/index.less +0 -72
  1011. package/lib/badge/style/less.d.ts +0 -1
  1012. package/lib/badge/style/less.js +0 -2
  1013. package/lib/button/index.less +0 -241
  1014. package/lib/button/style/less.d.ts +0 -1
  1015. package/lib/button/style/less.js +0 -5
  1016. package/lib/calendar/index.less +0 -217
  1017. package/lib/calendar/style/less.d.ts +0 -1
  1018. package/lib/calendar/style/less.js +0 -10
  1019. package/lib/card/index.less +0 -126
  1020. package/lib/card/style/less.d.ts +0 -1
  1021. package/lib/card/style/less.js +0 -6
  1022. package/lib/cascader/index.less +0 -92
  1023. package/lib/cascader/style/less.d.ts +0 -1
  1024. package/lib/cascader/style/less.js +0 -9
  1025. package/lib/cell/index.less +0 -119
  1026. package/lib/cell/style/less.d.ts +0 -1
  1027. package/lib/cell/style/less.js +0 -4
  1028. package/lib/cell-group/index.less +0 -32
  1029. package/lib/cell-group/style/less.d.ts +0 -1
  1030. package/lib/cell-group/style/less.js +0 -2
  1031. package/lib/checkbox/index.less +0 -96
  1032. package/lib/checkbox/style/less.d.ts +0 -1
  1033. package/lib/checkbox/style/less.js +0 -5
  1034. package/lib/checkbox-group/index.less +0 -6
  1035. package/lib/checkbox-group/style/less.d.ts +0 -1
  1036. package/lib/checkbox-group/style/less.js +0 -2
  1037. package/lib/circle/index.less +0 -49
  1038. package/lib/circle/style/less.d.ts +0 -1
  1039. package/lib/circle/style/less.js +0 -2
  1040. package/lib/col/index.less +0 -19
  1041. package/lib/col/style/less.d.ts +0 -1
  1042. package/lib/col/style/less.js +0 -3
  1043. package/lib/collapse/style/less.d.ts +0 -1
  1044. package/lib/collapse/style/less.js +0 -1
  1045. package/lib/collapse-item/index.less +0 -75
  1046. package/lib/collapse-item/style/less.d.ts +0 -1
  1047. package/lib/collapse-item/style/less.js +0 -5
  1048. package/lib/config-provider/style/less.d.ts +0 -1
  1049. package/lib/config-provider/style/less.js +0 -1
  1050. package/lib/contact-card/index.less +0 -47
  1051. package/lib/contact-card/style/less.d.ts +0 -1
  1052. package/lib/contact-card/style/less.js +0 -5
  1053. package/lib/contact-edit/index.less +0 -37
  1054. package/lib/contact-edit/style/less.d.ts +0 -1
  1055. package/lib/contact-edit/style/less.js +0 -9
  1056. package/lib/contact-list/index.less +0 -65
  1057. package/lib/contact-list/style/less.d.ts +0 -1
  1058. package/lib/contact-list/style/less.js +0 -11
  1059. package/lib/count-down/index.less +0 -11
  1060. package/lib/count-down/style/less.d.ts +0 -1
  1061. package/lib/count-down/style/less.js +0 -2
  1062. package/lib/coupon/index.less +0 -127
  1063. package/lib/coupon/style/less.d.ts +0 -1
  1064. package/lib/coupon/style/less.js +0 -6
  1065. package/lib/coupon-cell/index.less +0 -9
  1066. package/lib/coupon-cell/style/less.d.ts +0 -1
  1067. package/lib/coupon-cell/style/less.js +0 -5
  1068. package/lib/coupon-list/index.less +0 -86
  1069. package/lib/coupon-list/style/less.d.ts +0 -1
  1070. package/lib/coupon-list/style/less.js +0 -17
  1071. package/lib/date-picker/style/less.d.ts +0 -1
  1072. package/lib/date-picker/style/less.js +0 -3
  1073. package/lib/dialog/index.less +0 -140
  1074. package/lib/dialog/style/less.d.ts +0 -1
  1075. package/lib/dialog/style/less.js +0 -10
  1076. package/lib/divider/index.less +0 -73
  1077. package/lib/divider/style/less.d.ts +0 -1
  1078. package/lib/divider/style/less.js +0 -2
  1079. package/lib/dropdown-item/index.less +0 -41
  1080. package/lib/dropdown-item/style/less.d.ts +0 -1
  1081. package/lib/dropdown-item/style/less.js +0 -8
  1082. package/lib/dropdown-menu/index.less +0 -80
  1083. package/lib/dropdown-menu/style/less.d.ts +0 -1
  1084. package/lib/dropdown-menu/style/less.js +0 -2
  1085. package/lib/empty/Network.d.ts +0 -1
  1086. package/lib/empty/Network.js +0 -108
  1087. package/lib/empty/index.less +0 -41
  1088. package/lib/empty/style/less.d.ts +0 -1
  1089. package/lib/empty/style/less.js +0 -2
  1090. package/lib/field/index.less +0 -196
  1091. package/lib/field/style/less.d.ts +0 -1
  1092. package/lib/field/style/less.js +0 -5
  1093. package/lib/form/style/less.d.ts +0 -1
  1094. package/lib/form/style/less.js +0 -1
  1095. package/lib/grid/index.less +0 -4
  1096. package/lib/grid/style/less.d.ts +0 -1
  1097. package/lib/grid/style/less.js +0 -2
  1098. package/lib/grid-item/index.less +0 -97
  1099. package/lib/grid-item/style/less.d.ts +0 -1
  1100. package/lib/grid-item/style/less.js +0 -5
  1101. package/lib/icon/index.less +0 -10
  1102. package/lib/icon/style/less.d.ts +0 -1
  1103. package/lib/icon/style/less.js +0 -3
  1104. package/lib/image/index.less +0 -55
  1105. package/lib/image/style/less.d.ts +0 -1
  1106. package/lib/image/style/less.js +0 -4
  1107. package/lib/image-preview/index.less +0 -110
  1108. package/lib/image-preview/style/less.d.ts +0 -1
  1109. package/lib/image-preview/style/less.js +0 -10
  1110. package/lib/index-anchor/index.less +0 -31
  1111. package/lib/index-anchor/style/less.d.ts +0 -1
  1112. package/lib/index-anchor/style/less.js +0 -3
  1113. package/lib/index-bar/index.less +0 -33
  1114. package/lib/index-bar/style/less.d.ts +0 -1
  1115. package/lib/index-bar/style/less.js +0 -2
  1116. package/lib/index.less +0 -80
  1117. package/lib/lazyload/style/less.d.ts +0 -1
  1118. package/lib/lazyload/style/less.js +0 -1
  1119. package/lib/list/index.less +0 -29
  1120. package/lib/list/style/less.d.ts +0 -1
  1121. package/lib/list/style/less.js +0 -3
  1122. package/lib/loading/index.less +0 -109
  1123. package/lib/loading/style/less.d.ts +0 -1
  1124. package/lib/loading/style/less.js +0 -2
  1125. package/lib/locale/style/less.d.ts +0 -1
  1126. package/lib/locale/style/less.js +0 -1
  1127. package/lib/nav-bar/index.less +0 -78
  1128. package/lib/nav-bar/style/less.d.ts +0 -1
  1129. package/lib/nav-bar/style/less.js +0 -4
  1130. package/lib/notice-bar/index.less +0 -70
  1131. package/lib/notice-bar/style/less.d.ts +0 -1
  1132. package/lib/notice-bar/style/less.js +0 -4
  1133. package/lib/notify/index.less +0 -42
  1134. package/lib/notify/style/less.d.ts +0 -1
  1135. package/lib/notify/style/less.js +0 -6
  1136. package/lib/number-keyboard/index.less +0 -159
  1137. package/lib/number-keyboard/style/less.d.ts +0 -1
  1138. package/lib/number-keyboard/style/less.js +0 -3
  1139. package/lib/overlay/index.less +0 -14
  1140. package/lib/overlay/style/less.d.ts +0 -1
  1141. package/lib/overlay/style/less.js +0 -2
  1142. package/lib/pagination/index.less +0 -89
  1143. package/lib/pagination/style/less.d.ts +0 -1
  1144. package/lib/pagination/style/less.js +0 -2
  1145. package/lib/password-input/index.less +0 -100
  1146. package/lib/password-input/style/less.d.ts +0 -1
  1147. package/lib/password-input/style/less.js +0 -2
  1148. package/lib/picker/index.less +0 -138
  1149. package/lib/picker/style/less.d.ts +0 -1
  1150. package/lib/picker/style/less.js +0 -3
  1151. package/lib/popover/index.less +0 -288
  1152. package/lib/popover/style/less.d.ts +0 -1
  1153. package/lib/popover/style/less.js +0 -6
  1154. package/lib/popup/index.less +0 -139
  1155. package/lib/popup/style/less.d.ts +0 -1
  1156. package/lib/popup/style/less.js +0 -5
  1157. package/lib/progress/index.less +0 -53
  1158. package/lib/progress/style/less.d.ts +0 -1
  1159. package/lib/progress/style/less.js +0 -2
  1160. package/lib/pull-refresh/index.less +0 -36
  1161. package/lib/pull-refresh/style/less.d.ts +0 -1
  1162. package/lib/pull-refresh/style/less.js +0 -3
  1163. package/lib/radio/index.less +0 -96
  1164. package/lib/radio/style/less.d.ts +0 -1
  1165. package/lib/radio/style/less.js +0 -6
  1166. package/lib/radio-group/index.less +0 -6
  1167. package/lib/radio-group/style/less.d.ts +0 -1
  1168. package/lib/radio-group/style/less.js +0 -2
  1169. package/lib/rate/index.less +0 -52
  1170. package/lib/rate/style/less.d.ts +0 -1
  1171. package/lib/rate/style/less.js +0 -4
  1172. package/lib/row/index.less +0 -32
  1173. package/lib/row/style/less.d.ts +0 -1
  1174. package/lib/row/style/less.js +0 -2
  1175. package/lib/search/index.less +0 -76
  1176. package/lib/search/style/less.d.ts +0 -1
  1177. package/lib/search/style/less.js +0 -6
  1178. package/lib/share-sheet/index.less +0 -152
  1179. package/lib/share-sheet/style/less.d.ts +0 -1
  1180. package/lib/share-sheet/style/less.js +0 -6
  1181. package/lib/sidebar/index.less +0 -9
  1182. package/lib/sidebar/style/less.d.ts +0 -1
  1183. package/lib/sidebar/style/less.js +0 -2
  1184. package/lib/sidebar-item/index.less +0 -72
  1185. package/lib/sidebar-item/style/less.d.ts +0 -1
  1186. package/lib/sidebar-item/style/less.js +0 -4
  1187. package/lib/skeleton/index.less +0 -73
  1188. package/lib/skeleton/style/less.d.ts +0 -1
  1189. package/lib/skeleton/style/less.js +0 -2
  1190. package/lib/slider/index.less +0 -104
  1191. package/lib/slider/style/less.d.ts +0 -1
  1192. package/lib/slider/style/less.js +0 -2
  1193. package/lib/ssr.js +0 -7
  1194. package/lib/ssr.mjs +0 -1
  1195. package/lib/step/index.less +0 -147
  1196. package/lib/step/style/less.d.ts +0 -1
  1197. package/lib/step/style/less.js +0 -5
  1198. package/lib/stepper/index.less +0 -129
  1199. package/lib/stepper/style/less.d.ts +0 -1
  1200. package/lib/stepper/style/less.js +0 -2
  1201. package/lib/steps/index.less +0 -23
  1202. package/lib/steps/style/less.d.ts +0 -1
  1203. package/lib/steps/style/less.js +0 -2
  1204. package/lib/sticky/index.less +0 -10
  1205. package/lib/sticky/style/less.d.ts +0 -1
  1206. package/lib/sticky/style/less.js +0 -2
  1207. package/lib/style/animation.less +0 -135
  1208. package/lib/style/base.less +0 -89
  1209. package/lib/style/css-variables.less +0 -90
  1210. package/lib/style/mixins/clearfix.less +0 -7
  1211. package/lib/style/mixins/ellipsis.less +0 -15
  1212. package/lib/style/mixins/hairline.less +0 -37
  1213. package/lib/style/normalize.less +0 -36
  1214. package/lib/submit-bar/index.less +0 -97
  1215. package/lib/submit-bar/style/less.d.ts +0 -1
  1216. package/lib/submit-bar/style/less.js +0 -6
  1217. package/lib/swipe/index.less +0 -65
  1218. package/lib/swipe/style/less.d.ts +0 -1
  1219. package/lib/swipe/style/less.js +0 -2
  1220. package/lib/swipe-cell/index.less +0 -27
  1221. package/lib/swipe-cell/style/less.d.ts +0 -1
  1222. package/lib/swipe-cell/style/less.js +0 -2
  1223. package/lib/swipe-item/index.less +0 -6
  1224. package/lib/swipe-item/style/less.d.ts +0 -1
  1225. package/lib/swipe-item/style/less.js +0 -3
  1226. package/lib/switch/index.less +0 -75
  1227. package/lib/switch/style/less.d.ts +0 -1
  1228. package/lib/switch/style/less.js +0 -3
  1229. package/lib/tab/index.less +0 -15
  1230. package/lib/tab/style/less.d.ts +0 -1
  1231. package/lib/tab/style/less.js +0 -7
  1232. package/lib/tabbar/index.less +0 -20
  1233. package/lib/tabbar/style/less.d.ts +0 -1
  1234. package/lib/tabbar/style/less.js +0 -2
  1235. package/lib/tabbar-item/index.less +0 -44
  1236. package/lib/tabbar-item/style/less.d.ts +0 -1
  1237. package/lib/tabbar-item/style/less.js +0 -5
  1238. package/lib/tabs/index.less +0 -170
  1239. package/lib/tabs/style/less.d.ts +0 -1
  1240. package/lib/tabs/style/less.js +0 -5
  1241. package/lib/tag/index.less +0 -115
  1242. package/lib/tag/style/less.d.ts +0 -1
  1243. package/lib/tag/style/less.js +0 -4
  1244. package/lib/time-picker/style/less.d.ts +0 -1
  1245. package/lib/time-picker/style/less.js +0 -3
  1246. package/lib/toast/index.less +0 -89
  1247. package/lib/toast/style/less.d.ts +0 -1
  1248. package/lib/toast/style/less.js +0 -7
  1249. package/lib/tree-select/index.less +0 -68
  1250. package/lib/tree-select/style/less.d.ts +0 -1
  1251. package/lib/tree-select/style/less.js +0 -6
  1252. package/lib/uploader/index.less +0 -188
  1253. package/lib/uploader/style/less.d.ts +0 -1
  1254. package/lib/uploader/style/less.js +0 -11
  1255. package/lib/vant.cjs.min.js +0 -1
  1256. package/lib/vant.es.min.js +0 -13997
@@ -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": "4.0.0-alpha.2",
5
+ "version": "4.0.0-beta.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -20,6 +20,16 @@
20
20
  "type": "boolean",
21
21
  "kind": "expression"
22
22
  }
23
+ },
24
+ {
25
+ "name": "placeholder",
26
+ "default": "`false`",
27
+ "description": "Whether to generate a placeholder element",
28
+ "options": [],
29
+ "value": {
30
+ "type": "boolean",
31
+ "kind": "expression"
32
+ }
23
33
  }
24
34
  ]
25
35
  },
@@ -252,33 +262,38 @@
252
262
  ]
253
263
  },
254
264
  {
255
- "name": "van-action-sheet",
265
+ "name": "van-address-list",
256
266
  "slots": [
257
267
  {
258
268
  "name": "default",
259
- "description": "Custom content"
269
+ "description": "Custom content after list"
260
270
  },
261
271
  {
262
- "name": "description",
263
- "description": "Custom description above the options"
272
+ "name": "top",
273
+ "description": "Custom content before list"
264
274
  },
265
275
  {
266
- "name": "cancel",
267
- "description": "Custom the content of cancel button"
276
+ "name": "item-bottom",
277
+ "description": "Custom content after list item"
268
278
  },
269
279
  {
270
- "name": "action",
271
- "description": "Custom the content of action"
280
+ "name": "tag",
281
+ "description": "Custom tag of list item"
272
282
  }
273
283
  ],
274
284
  "events": [
275
285
  {
276
- "name": "select",
277
- "description": "Emitted when an option is clicked",
286
+ "name": "add",
287
+ "description": "Emitted when the add button is clicked",
288
+ "arguments": []
289
+ },
290
+ {
291
+ "name": "edit",
292
+ "description": "Emitted when the edit icon of address is clicked",
278
293
  "arguments": [
279
294
  {
280
- "name": "action",
281
- "type": "ActionSheetAction"
295
+ "name": "item",
296
+ "type": "Address"
282
297
  },
283
298
  {
284
299
  "name": "index",
@@ -287,76 +302,97 @@
287
302
  ]
288
303
  },
289
304
  {
290
- "name": "cancel",
291
- "description": "Emitted when the cancel button is clicked",
292
- "arguments": []
293
- },
294
- {
295
- "name": "open",
296
- "description": "Emitted when opening ActionSheet",
297
- "arguments": []
298
- },
299
- {
300
- "name": "close",
301
- "description": "Emitted when closing ActionSheet",
302
- "arguments": []
305
+ "name": "select",
306
+ "description": "Emitted when an address is selected",
307
+ "arguments": [
308
+ {
309
+ "name": "item",
310
+ "type": "Address"
311
+ },
312
+ {
313
+ "name": "index",
314
+ "type": "number"
315
+ }
316
+ ]
303
317
  },
304
318
  {
305
- "name": "opened",
306
- "description": "Emitted when ActionSheet is opened",
307
- "arguments": []
319
+ "name": "edit-disabled",
320
+ "description": "Emitted when the edit icon of disabled address is clicked",
321
+ "arguments": [
322
+ {
323
+ "name": "item",
324
+ "type": "Address"
325
+ },
326
+ {
327
+ "name": "index",
328
+ "type": "number"
329
+ }
330
+ ]
308
331
  },
309
332
  {
310
- "name": "closed",
311
- "description": "Emitted when ActionSheet is closed",
312
- "arguments": []
333
+ "name": "select-disabled",
334
+ "description": "Emitted when a disabled address is selected",
335
+ "arguments": [
336
+ {
337
+ "name": "item",
338
+ "type": "Address"
339
+ },
340
+ {
341
+ "name": "index",
342
+ "type": "number"
343
+ }
344
+ ]
313
345
  },
314
346
  {
315
- "name": "click-overlay",
316
- "description": "Emitted when overlay is clicked",
347
+ "name": "click-item",
348
+ "description": "Emitted when an address item is clicked",
317
349
  "arguments": [
318
350
  {
319
- "name": "event",
320
- "type": "MouseEvent"
351
+ "name": "item",
352
+ "type": "Address"
353
+ },
354
+ {
355
+ "name": "index",
356
+ "type": "number"
321
357
  }
322
358
  ]
323
359
  }
324
360
  ],
325
361
  "attributes": [
326
362
  {
327
- "name": "v-model:show",
328
- "default": "`false`",
329
- "description": "Whether to show ActionSheet",
363
+ "name": "v-model",
364
+ "default": "-",
365
+ "description": "Id of chosen address",
330
366
  "options": [],
331
367
  "value": {
332
- "type": "boolean",
368
+ "type": "string",
333
369
  "kind": "expression"
334
370
  }
335
371
  },
336
372
  {
337
- "name": "actions",
373
+ "name": "list",
338
374
  "default": "`[]`",
339
- "description": "Options",
375
+ "description": "Address list",
340
376
  "options": [],
341
377
  "value": {
342
- "type": "ActionSheetAction[]",
378
+ "type": "Address[]",
343
379
  "kind": "expression"
344
380
  }
345
381
  },
346
382
  {
347
- "name": "title",
348
- "default": "-",
349
- "description": "Title",
383
+ "name": "disabled-list",
384
+ "default": "`[]`",
385
+ "description": "Disabled address list",
350
386
  "options": [],
351
387
  "value": {
352
- "type": "string",
388
+ "type": "Address[]",
353
389
  "kind": "expression"
354
390
  }
355
391
  },
356
392
  {
357
- "name": "cancel-text",
393
+ "name": "disabled-text",
358
394
  "default": "-",
359
- "description": "Text of cancel button",
395
+ "description": "Disabled text",
360
396
  "options": [],
361
397
  "value": {
362
398
  "type": "string",
@@ -364,79 +400,139 @@
364
400
  }
365
401
  },
366
402
  {
367
- "name": "description",
368
- "default": "-",
369
- "description": "Description above the options",
403
+ "name": "switchable",
404
+ "default": "`true`",
405
+ "description": "Whether to allow switch address",
370
406
  "options": [],
371
407
  "value": {
372
- "type": "string",
408
+ "type": "boolean",
373
409
  "kind": "expression"
374
410
  }
375
411
  },
376
412
  {
377
- "name": "closeable",
378
- "default": "`true`",
379
- "description": "Whether to show close icon",
413
+ "name": "add-button-text",
414
+ "default": "`Add new address`",
415
+ "description": "Add button text",
380
416
  "options": [],
381
417
  "value": {
382
- "type": "boolean",
418
+ "type": "string",
383
419
  "kind": "expression"
384
420
  }
385
421
  },
386
422
  {
387
- "name": "close-icon",
388
- "default": "`cross`",
389
- "description": "Close icon name",
423
+ "name": "default-tag-text",
424
+ "default": "-",
425
+ "description": "Default tag text",
390
426
  "options": [],
391
427
  "value": {
392
428
  "type": "string",
393
429
  "kind": "expression"
394
430
  }
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "name": "van-area",
436
+ "slots": [
437
+ {
438
+ "name": "toolbar",
439
+ "description": "Custom toolbar content"
395
440
  },
396
441
  {
397
- "name": "duration",
398
- "default": "`0.3`",
399
- "description": "Transition duration, unit second",
442
+ "name": "title",
443
+ "description": "Custom title"
444
+ },
445
+ {
446
+ "name": "confirm",
447
+ "description": "Custom confirm button text"
448
+ },
449
+ {
450
+ "name": "cancel",
451
+ "description": "Custom cancel button text"
452
+ },
453
+ {
454
+ "name": "columns-top",
455
+ "description": "Custom content above columns"
456
+ },
457
+ {
458
+ "name": "columns-bottom",
459
+ "description": "Custom content below columns"
460
+ }
461
+ ],
462
+ "events": [
463
+ {
464
+ "name": "confirm",
465
+ "description": "Emitted when the confirm button is clicked",
466
+ "arguments": [
467
+ {
468
+ "name": "{ selectedValues, selectedOptions }"
469
+ }
470
+ ]
471
+ },
472
+ {
473
+ "name": "cancel",
474
+ "description": "Emitted when the cancel button is clicked",
475
+ "arguments": [
476
+ {
477
+ "name": "{ selectedValues, selectedOptions }"
478
+ }
479
+ ]
480
+ },
481
+ {
482
+ "name": "change",
483
+ "description": "Emitted when current option is changed",
484
+ "arguments": [
485
+ {
486
+ "name": "{ selectedValues, selectedOptions, columnIndex }"
487
+ }
488
+ ]
489
+ }
490
+ ],
491
+ "attributes": [
492
+ {
493
+ "name": "v-model",
494
+ "default": "-",
495
+ "description": "the `code` of selected area",
400
496
  "options": [],
401
497
  "value": {
402
- "type": "number | string",
498
+ "type": "string",
403
499
  "kind": "expression"
404
500
  }
405
501
  },
406
502
  {
407
- "name": "round",
408
- "default": "`true`",
409
- "description": "Whether to show round corner",
503
+ "name": "title",
504
+ "default": "-",
505
+ "description": "Toolbar title",
410
506
  "options": [],
411
507
  "value": {
412
- "type": "boolean",
508
+ "type": "string",
413
509
  "kind": "expression"
414
510
  }
415
511
  },
416
512
  {
417
- "name": "overlay",
418
- "default": "`true`",
419
- "description": "Whether to show overlay",
513
+ "name": "confirm-button-text",
514
+ "default": "`Confirm`",
515
+ "description": "Text of confirm button",
420
516
  "options": [],
421
517
  "value": {
422
- "type": "boolean",
518
+ "type": "string",
423
519
  "kind": "expression"
424
520
  }
425
521
  },
426
522
  {
427
- "name": "overlay-class",
428
- "default": "-",
429
- "description": "Custom overlay class",
523
+ "name": "cancel-button-text",
524
+ "default": "`Cancel`",
525
+ "description": "Text of cancel button",
430
526
  "options": [],
431
527
  "value": {
432
- "type": "string | Array | object",
528
+ "type": "string",
433
529
  "kind": "expression"
434
530
  }
435
531
  },
436
532
  {
437
- "name": "overlay-style",
533
+ "name": "area-list",
438
534
  "default": "-",
439
- "description": "Custom overlay style",
535
+ "description": "Area list data",
440
536
  "options": [],
441
537
  "value": {
442
538
  "type": "object",
@@ -444,29 +540,19 @@
444
540
  }
445
541
  },
446
542
  {
447
- "name": "lock-scroll",
448
- "default": "`true`",
449
- "description": "Whether to lock background scroll",
543
+ "name": "columns-placeholder",
544
+ "default": "`[]`",
545
+ "description": "Placeholder of columns",
450
546
  "options": [],
451
547
  "value": {
452
- "type": "boolean",
453
- "kind": "expression"
454
- }
455
- },
456
- {
457
- "name": "lazy-render",
458
- "default": "`true`",
459
- "description": "Whether to lazy render util appeared",
460
- "options": [],
461
- "value": {
462
- "type": "boolean",
548
+ "type": "string[]",
463
549
  "kind": "expression"
464
550
  }
465
551
  },
466
552
  {
467
- "name": "close-on-popstate",
468
- "default": "`true`",
469
- "description": "Whether to close when popstate",
553
+ "name": "loading",
554
+ "default": "`false`",
555
+ "description": "Whether to show loading prompt",
470
556
  "options": [],
471
557
  "value": {
472
558
  "type": "boolean",
@@ -474,9 +560,9 @@
474
560
  }
475
561
  },
476
562
  {
477
- "name": "close-on-click-action",
563
+ "name": "readonly",
478
564
  "default": "`false`",
479
- "description": "Whether to close when an action is clicked",
565
+ "description": "Whether to be readonly",
480
566
  "options": [],
481
567
  "value": {
482
568
  "type": "boolean",
@@ -484,299 +570,247 @@
484
570
  }
485
571
  },
486
572
  {
487
- "name": "close-on-click-overlay",
488
- "default": "`true`",
489
- "description": "Whether to close when overlay is clicked",
573
+ "name": "option-height",
574
+ "default": "`44`",
575
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
490
576
  "options": [],
491
577
  "value": {
492
- "type": "boolean",
578
+ "type": "number | string",
493
579
  "kind": "expression"
494
580
  }
495
581
  },
496
582
  {
497
- "name": "safe-area-inset-bottom",
498
- "default": "`true`",
499
- "description": "Whether to enable bottom safe area adaptation",
583
+ "name": "columns-num",
584
+ "default": "`3`",
585
+ "description": "Level of picker",
500
586
  "options": [],
501
587
  "value": {
502
- "type": "boolean",
588
+ "type": "number | string",
503
589
  "kind": "expression"
504
590
  }
505
591
  },
506
592
  {
507
- "name": "teleport",
508
- "default": "-",
509
- "description": "Specifies a target element where ActionSheet will be mounted",
593
+ "name": "visible-option-num",
594
+ "default": "`6`",
595
+ "description": "Count of visible columns",
510
596
  "options": [],
511
597
  "value": {
512
- "type": "string | Element",
598
+ "type": "number | string",
513
599
  "kind": "expression"
514
600
  }
515
601
  },
516
602
  {
517
- "name": "before-close",
518
- "default": "-",
519
- "description": "Callback function before close",
603
+ "name": "swipe-duration",
604
+ "default": "`1000`",
605
+ "description": "Duration of the momentum animation, unit `ms`",
520
606
  "options": [],
521
607
  "value": {
522
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
608
+ "type": "number | string",
523
609
  "kind": "expression"
524
610
  }
525
611
  }
526
612
  ]
527
613
  },
528
614
  {
529
- "name": "van-address-list",
615
+ "name": "van-address-edit",
530
616
  "slots": [
531
617
  {
532
618
  "name": "default",
533
- "description": "Custom content after list"
534
- },
535
- {
536
- "name": "top",
537
- "description": "Custom content before list"
538
- },
539
- {
540
- "name": "item-bottom",
541
- "description": "Custom content after list item"
542
- },
543
- {
544
- "name": "tag",
545
- "description": "Custom tag of list item"
619
+ "description": "Custom content below address detail"
546
620
  }
547
621
  ],
548
622
  "events": [
549
623
  {
550
- "name": "add",
551
- "description": "Emitted when the add button is clicked",
552
- "arguments": []
624
+ "name": "save",
625
+ "description": "Emitted when the save button is clicked",
626
+ "arguments": [
627
+ {
628
+ "name": "info",
629
+ "type": "AddressEditInfo"
630
+ }
631
+ ]
553
632
  },
554
633
  {
555
- "name": "edit",
556
- "description": "Emitted when the edit icon of address is clicked",
634
+ "name": "focus",
635
+ "description": "Emitted when field is focused",
557
636
  "arguments": [
558
637
  {
559
- "name": "item",
560
- "type": "Address"
561
- },
562
- {
563
- "name": "index",
564
- "type": "number"
638
+ "name": "key",
639
+ "type": "string"
565
640
  }
566
641
  ]
567
642
  },
568
643
  {
569
- "name": "select",
570
- "description": "Emitted when an address is selected",
644
+ "name": "delete",
645
+ "description": "Emitted when confirming delete",
571
646
  "arguments": [
572
647
  {
573
- "name": "item",
574
- "type": "Address"
575
- },
576
- {
577
- "name": "index",
578
- "type": "number"
648
+ "name": "info",
649
+ "type": "AddressEditInfo"
579
650
  }
580
651
  ]
581
652
  },
582
653
  {
583
- "name": "edit-disabled",
584
- "description": "Emitted when the edit icon of disabled address is clicked",
654
+ "name": "select-search",
655
+ "description": "Emitted when a search result is selected",
585
656
  "arguments": [
586
657
  {
587
- "name": "item",
588
- "type": "Address"
589
- },
590
- {
591
- "name": "index",
592
- "type": "number"
658
+ "name": "value",
659
+ "type": "string"
593
660
  }
594
661
  ]
595
662
  },
596
663
  {
597
- "name": "select-disabled",
598
- "description": "Emitted when a disabled address is selected",
664
+ "name": "click-area",
665
+ "description": "Emitted when the area field is clicked",
666
+ "arguments": []
667
+ },
668
+ {
669
+ "name": "change-area",
670
+ "description": "Emitted when area changed",
599
671
  "arguments": [
600
672
  {
601
- "name": "item",
602
- "type": "Address"
603
- },
604
- {
605
- "name": "index",
606
- "type": "number"
673
+ "name": "selectedOptions",
674
+ "type": "PickerOption[]"
607
675
  }
608
676
  ]
609
677
  },
610
678
  {
611
- "name": "click-item",
612
- "description": "Emitted when an address item is clicked",
679
+ "name": "change-detail",
680
+ "description": "Emitted when address detail changed",
613
681
  "arguments": [
614
682
  {
615
- "name": "item",
616
- "type": "Address"
617
- },
683
+ "name": "value",
684
+ "type": "string"
685
+ }
686
+ ]
687
+ },
688
+ {
689
+ "name": "change-default",
690
+ "description": "Emitted when switching default address",
691
+ "arguments": [
618
692
  {
619
- "name": "index",
620
- "type": "number"
693
+ "name": "checked",
694
+ "type": "boolean"
621
695
  }
622
696
  ]
623
697
  }
624
698
  ],
625
699
  "attributes": [
626
700
  {
627
- "name": "v-model",
701
+ "name": "area-list",
628
702
  "default": "-",
629
- "description": "Id of chosen address",
703
+ "description": "Area List",
630
704
  "options": [],
631
705
  "value": {
632
- "type": "string",
706
+ "type": "object",
633
707
  "kind": "expression"
634
708
  }
635
709
  },
636
710
  {
637
- "name": "list",
711
+ "name": "area-columns-placeholder",
638
712
  "default": "`[]`",
639
- "description": "Address list",
713
+ "description": "placeholder of area columns",
640
714
  "options": [],
641
715
  "value": {
642
- "type": "Address[]",
716
+ "type": "string[]",
643
717
  "kind": "expression"
644
718
  }
645
719
  },
646
720
  {
647
- "name": "disabled-list",
648
- "default": "`[]`",
649
- "description": "Disabled address list",
721
+ "name": "area-placeholder",
722
+ "default": "`Area`",
723
+ "description": "placeholder of area input field",
650
724
  "options": [],
651
725
  "value": {
652
- "type": "Address[]",
726
+ "type": "string",
653
727
  "kind": "expression"
654
728
  }
655
729
  },
656
730
  {
657
- "name": "disabled-text",
658
- "default": "-",
659
- "description": "Disabled text",
731
+ "name": "address-info",
732
+ "default": "`{}`",
733
+ "description": "Address Info",
660
734
  "options": [],
661
735
  "value": {
662
- "type": "string",
736
+ "type": "AddressEditInfo",
663
737
  "kind": "expression"
664
738
  }
665
739
  },
666
740
  {
667
- "name": "switchable",
668
- "default": "`true`",
669
- "description": "Whether to allow switch address",
741
+ "name": "search-result",
742
+ "default": "`[]`",
743
+ "description": "Address search result",
670
744
  "options": [],
671
745
  "value": {
672
- "type": "boolean",
746
+ "type": "AddressEditSearchItem[]",
673
747
  "kind": "expression"
674
748
  }
675
749
  },
676
750
  {
677
- "name": "add-button-text",
678
- "default": "`Add new address`",
679
- "description": "Add button text",
751
+ "name": "show-delete",
752
+ "default": "`false`",
753
+ "description": "Whether to show delete button",
680
754
  "options": [],
681
755
  "value": {
682
- "type": "string",
756
+ "type": "boolean",
683
757
  "kind": "expression"
684
758
  }
685
759
  },
686
760
  {
687
- "name": "default-tag-text",
688
- "default": "-",
689
- "description": "Default tag text",
761
+ "name": "show-set-default",
762
+ "default": "`false`",
763
+ "description": "Whether to show default address switch",
690
764
  "options": [],
691
765
  "value": {
692
- "type": "string",
766
+ "type": "boolean",
693
767
  "kind": "expression"
694
768
  }
695
- }
696
- ]
697
- },
698
- {
699
- "name": "van-area",
700
- "slots": [
701
- {
702
- "name": "toolbar",
703
- "description": "Custom toolbar content"
704
769
  },
705
770
  {
706
- "name": "title",
707
- "description": "Custom title"
771
+ "name": "show-search-result",
772
+ "default": "`false`",
773
+ "description": "Whether to show address search result",
774
+ "options": [],
775
+ "value": {
776
+ "type": "boolean",
777
+ "kind": "expression"
778
+ }
708
779
  },
709
780
  {
710
- "name": "confirm",
711
- "description": "Custom confirm button text"
781
+ "name": "show-area",
782
+ "default": "`true`",
783
+ "description": "Whether to show area cell",
784
+ "options": [],
785
+ "value": {
786
+ "type": "boolean",
787
+ "kind": "expression"
788
+ }
712
789
  },
713
790
  {
714
- "name": "cancel",
715
- "description": "Custom cancel button text"
791
+ "name": "show-detail",
792
+ "default": "`true`",
793
+ "description": "Whether to show detail field",
794
+ "options": [],
795
+ "value": {
796
+ "type": "boolean",
797
+ "kind": "expression"
798
+ }
716
799
  },
717
800
  {
718
- "name": "columns-top",
719
- "description": "Custom content above columns"
801
+ "name": "disable-area",
802
+ "default": "`false`",
803
+ "description": "Whether to disable area select",
804
+ "options": [],
805
+ "value": {
806
+ "type": "boolean",
807
+ "kind": "expression"
808
+ }
720
809
  },
721
810
  {
722
- "name": "columns-bottom",
723
- "description": "Custom content below columns"
724
- }
725
- ],
726
- "events": [
727
- {
728
- "name": "confirm",
729
- "description": "Emitted when the confirm button is clicked",
730
- "arguments": [
731
- {
732
- "name": "{ selectedValues, selectedOptions }"
733
- }
734
- ]
735
- },
736
- {
737
- "name": "cancel",
738
- "description": "Emitted when the cancel button is clicked",
739
- "arguments": [
740
- {
741
- "name": "{ selectedValues, selectedOptions }"
742
- }
743
- ]
744
- },
745
- {
746
- "name": "change",
747
- "description": "Emitted when current option is changed",
748
- "arguments": [
749
- {
750
- "name": "{ selectedValues, selectedOptions, columnIndex }"
751
- }
752
- ]
753
- }
754
- ],
755
- "attributes": [
756
- {
757
- "name": "v-model",
758
- "default": "-",
759
- "description": "the `code` of selected area",
760
- "options": [],
761
- "value": {
762
- "type": "string",
763
- "kind": "expression"
764
- }
765
- },
766
- {
767
- "name": "title",
768
- "default": "-",
769
- "description": "Toolbar title",
770
- "options": [],
771
- "value": {
772
- "type": "string",
773
- "kind": "expression"
774
- }
775
- },
776
- {
777
- "name": "confirm-button-text",
778
- "default": "`Confirm`",
779
- "description": "Text of confirm button",
811
+ "name": "save-button-text",
812
+ "default": "`Save`",
813
+ "description": "Save button text",
780
814
  "options": [],
781
815
  "value": {
782
816
  "type": "string",
@@ -784,9 +818,9 @@
784
818
  }
785
819
  },
786
820
  {
787
- "name": "cancel-button-text",
788
- "default": "`Cancel`",
789
- "description": "Text of cancel button",
821
+ "name": "delete-button-text",
822
+ "default": "`Delete`",
823
+ "description": "Delete button text",
790
824
  "options": [],
791
825
  "value": {
792
826
  "type": "string",
@@ -794,29 +828,29 @@
794
828
  }
795
829
  },
796
830
  {
797
- "name": "area-list",
798
- "default": "-",
799
- "description": "Area list data",
831
+ "name": "detail-rows",
832
+ "default": "`1`",
833
+ "description": "Detail input rows",
800
834
  "options": [],
801
835
  "value": {
802
- "type": "object",
836
+ "type": "number | string",
803
837
  "kind": "expression"
804
838
  }
805
839
  },
806
840
  {
807
- "name": "columns-placeholder",
808
- "default": "`[]`",
809
- "description": "Placeholder of columns",
841
+ "name": "detail-maxlength",
842
+ "default": "`200`",
843
+ "description": "Detail maxlength",
810
844
  "options": [],
811
845
  "value": {
812
- "type": "string[]",
846
+ "type": "number | string",
813
847
  "kind": "expression"
814
848
  }
815
849
  },
816
850
  {
817
- "name": "loading",
851
+ "name": "is-saving",
818
852
  "default": "`false`",
819
- "description": "Whether to show loading prompt",
853
+ "description": "Whether to show save button loading status",
820
854
  "options": [],
821
855
  "value": {
822
856
  "type": "boolean",
@@ -824,9 +858,9 @@
824
858
  }
825
859
  },
826
860
  {
827
- "name": "readonly",
861
+ "name": "is-deleting",
828
862
  "default": "`false`",
829
- "description": "Whether to be readonly",
863
+ "description": "Whether to show delete button loading status",
830
864
  "options": [],
831
865
  "value": {
832
866
  "type": "boolean",
@@ -834,29 +868,19 @@
834
868
  }
835
869
  },
836
870
  {
837
- "name": "option-height",
838
- "default": "`44`",
839
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
840
- "options": [],
841
- "value": {
842
- "type": "number | string",
843
- "kind": "expression"
844
- }
845
- },
846
- {
847
- "name": "columns-num",
848
- "default": "`3`",
849
- "description": "Level of picker",
871
+ "name": "tel-validator",
872
+ "default": "-",
873
+ "description": "The method to validate tel",
850
874
  "options": [],
851
875
  "value": {
852
- "type": "number | string",
876
+ "type": "(tel: string) => boolean",
853
877
  "kind": "expression"
854
878
  }
855
879
  },
856
880
  {
857
- "name": "visible-option-num",
858
- "default": "`6`",
859
- "description": "Count of visible columns",
881
+ "name": "tel-maxlength",
882
+ "default": "-",
883
+ "description": "Tel maxlength",
860
884
  "options": [],
861
885
  "value": {
862
886
  "type": "number | string",
@@ -864,157 +888,85 @@
864
888
  }
865
889
  },
866
890
  {
867
- "name": "swipe-duration",
868
- "default": "`1000`",
869
- "description": "Duration of the momentum animation, unit `ms`",
891
+ "name": "validator",
892
+ "default": "-",
893
+ "description": "Custom validator",
870
894
  "options": [],
871
895
  "value": {
872
- "type": "number | string",
896
+ "type": "(key, val) => string",
873
897
  "kind": "expression"
874
898
  }
875
899
  }
876
900
  ]
877
901
  },
878
902
  {
879
- "name": "van-address-edit",
903
+ "name": "van-badge",
880
904
  "slots": [
881
905
  {
882
906
  "name": "default",
883
- "description": "Custom content below address detail"
884
- }
885
- ],
886
- "events": [
887
- {
888
- "name": "save",
889
- "description": "Emitted when the save button is clicked",
890
- "arguments": [
891
- {
892
- "name": "info",
893
- "type": "AddressEditInfo"
894
- }
895
- ]
896
- },
897
- {
898
- "name": "focus",
899
- "description": "Emitted when field is focused",
900
- "arguments": [
901
- {
902
- "name": "key",
903
- "type": "string"
904
- }
905
- ]
906
- },
907
- {
908
- "name": "delete",
909
- "description": "Emitted when confirming delete",
910
- "arguments": [
911
- {
912
- "name": "info",
913
- "type": "AddressEditInfo"
914
- }
915
- ]
916
- },
917
- {
918
- "name": "select-search",
919
- "description": "Emitted when a search result is selected",
920
- "arguments": [
921
- {
922
- "name": "value",
923
- "type": "string"
924
- }
925
- ]
926
- },
927
- {
928
- "name": "click-area",
929
- "description": "Emitted when the area field is clicked",
930
- "arguments": []
931
- },
932
- {
933
- "name": "change-area",
934
- "description": "Emitted when area changed",
935
- "arguments": [
936
- {
937
- "name": "selectedOptions",
938
- "type": "PickerOption[]"
939
- }
940
- ]
941
- },
942
- {
943
- "name": "change-detail",
944
- "description": "Emitted when address detail changed",
945
- "arguments": [
946
- {
947
- "name": "value",
948
- "type": "string"
949
- }
950
- ]
907
+ "description": "Default slot"
951
908
  },
952
909
  {
953
- "name": "change-default",
954
- "description": "Emitted when switching default address",
955
- "arguments": [
956
- {
957
- "name": "checked",
958
- "type": "boolean"
959
- }
960
- ]
910
+ "name": "content",
911
+ "description": "Custom badge content"
961
912
  }
962
913
  ],
914
+ "events": [],
963
915
  "attributes": [
964
916
  {
965
- "name": "area-list",
917
+ "name": "content",
966
918
  "default": "-",
967
- "description": "Area List",
919
+ "description": "Badge content",
968
920
  "options": [],
969
921
  "value": {
970
- "type": "object",
922
+ "type": "number | string",
971
923
  "kind": "expression"
972
924
  }
973
925
  },
974
926
  {
975
- "name": "area-columns-placeholder",
976
- "default": "`[]`",
977
- "description": "placeholder of area columns",
927
+ "name": "color",
928
+ "default": "`#ee0a24`",
929
+ "description": "Background color",
978
930
  "options": [],
979
931
  "value": {
980
- "type": "string[]",
932
+ "type": "string",
981
933
  "kind": "expression"
982
934
  }
983
935
  },
984
936
  {
985
- "name": "area-placeholder",
986
- "default": "`Area`",
987
- "description": "placeholder of area input field",
937
+ "name": "dot",
938
+ "default": "`false`",
939
+ "description": "Whether to show dot",
988
940
  "options": [],
989
941
  "value": {
990
- "type": "string",
942
+ "type": "boolean",
991
943
  "kind": "expression"
992
944
  }
993
945
  },
994
946
  {
995
- "name": "address-info",
996
- "default": "`{}`",
997
- "description": "Address Info",
947
+ "name": "max",
948
+ "default": "-",
949
+ "description": "Max value, show `{max}+` when exceed, only works when content is number",
998
950
  "options": [],
999
951
  "value": {
1000
- "type": "AddressEditInfo",
952
+ "type": "number | string",
1001
953
  "kind": "expression"
1002
954
  }
1003
955
  },
1004
956
  {
1005
- "name": "search-result",
1006
- "default": "`[]`",
1007
- "description": "Address search result",
957
+ "name": "offset",
958
+ "default": "-",
959
+ "description": "Offset of badge dot",
1008
960
  "options": [],
1009
961
  "value": {
1010
- "type": "AddressEditSearchItem[]",
962
+ "type": "[number | string, number | string]",
1011
963
  "kind": "expression"
1012
964
  }
1013
965
  },
1014
966
  {
1015
- "name": "show-delete",
1016
- "default": "`false`",
1017
- "description": "Whether to show delete button",
967
+ "name": "show-zero",
968
+ "default": "`true`",
969
+ "description": "Whether to show badge when content is zero",
1018
970
  "options": [],
1019
971
  "value": {
1020
972
  "type": "boolean",
@@ -1022,59 +974,110 @@
1022
974
  }
1023
975
  },
1024
976
  {
1025
- "name": "show-set-default",
1026
- "default": "`false`",
1027
- "description": "Whether to show default address switch",
977
+ "name": "position",
978
+ "default": "`top-right`",
979
+ "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
1028
980
  "options": [],
1029
981
  "value": {
1030
- "type": "boolean",
982
+ "type": "string",
1031
983
  "kind": "expression"
1032
984
  }
985
+ }
986
+ ]
987
+ },
988
+ {
989
+ "name": "van-button",
990
+ "slots": [
991
+ {
992
+ "name": "default",
993
+ "description": "Default slot"
1033
994
  },
1034
995
  {
1035
- "name": "show-search-result",
1036
- "default": "`false`",
1037
- "description": "Whether to show address search result",
996
+ "name": "icon",
997
+ "description": "Custom icon"
998
+ },
999
+ {
1000
+ "name": "loading",
1001
+ "description": "Custom loading icon"
1002
+ }
1003
+ ],
1004
+ "events": [
1005
+ {
1006
+ "name": "click",
1007
+ "description": "Emitted when button is clicked and not disabled or loading",
1008
+ "arguments": [
1009
+ {
1010
+ "name": "event",
1011
+ "type": "MouseEvent"
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "name": "touchstart",
1017
+ "description": "Emitted when button is touched",
1018
+ "arguments": [
1019
+ {
1020
+ "name": "event",
1021
+ "type": "TouchEvent"
1022
+ }
1023
+ ]
1024
+ }
1025
+ ],
1026
+ "attributes": [
1027
+ {
1028
+ "name": "type",
1029
+ "default": "`default`",
1030
+ "description": "Can be set to `primary` `success` `warning` `danger`",
1038
1031
  "options": [],
1039
1032
  "value": {
1040
- "type": "boolean",
1033
+ "type": "string",
1041
1034
  "kind": "expression"
1042
1035
  }
1043
1036
  },
1044
1037
  {
1045
- "name": "show-area",
1046
- "default": "`true`",
1047
- "description": "Whether to show area cell",
1038
+ "name": "size",
1039
+ "default": "`normal`",
1040
+ "description": "Can be set to `large` `small` `mini`",
1048
1041
  "options": [],
1049
1042
  "value": {
1050
- "type": "boolean",
1043
+ "type": "string",
1051
1044
  "kind": "expression"
1052
1045
  }
1053
1046
  },
1054
1047
  {
1055
- "name": "show-detail",
1056
- "default": "`true`",
1057
- "description": "Whether to show detail field",
1048
+ "name": "text",
1049
+ "default": "-",
1050
+ "description": "Text",
1058
1051
  "options": [],
1059
1052
  "value": {
1060
- "type": "boolean",
1053
+ "type": "string",
1061
1054
  "kind": "expression"
1062
1055
  }
1063
1056
  },
1064
1057
  {
1065
- "name": "disable-area",
1066
- "default": "`false`",
1067
- "description": "Whether to disable area select",
1058
+ "name": "color",
1059
+ "default": "-",
1060
+ "description": "Color, support linear-gradient",
1061
+ "options": [],
1062
+ "value": {
1063
+ "type": "string",
1064
+ "kind": "expression"
1065
+ }
1066
+ },
1067
+ {
1068
+ "name": "icon",
1069
+ "default": "-",
1070
+ "description": "Left Icon",
1068
1071
  "options": [],
1069
1072
  "value": {
1070
- "type": "boolean",
1073
+ "type": "string",
1071
1074
  "kind": "expression"
1072
1075
  }
1073
1076
  },
1074
1077
  {
1075
- "name": "save-button-text",
1076
- "default": "`Save`",
1077
- "description": "Save button text",
1078
+ "name": "icon-prefix",
1079
+ "default": "`van-icon`",
1080
+ "description": "Icon className prefix",
1078
1081
  "options": [],
1079
1082
  "value": {
1080
1083
  "type": "string",
@@ -1082,9 +1085,9 @@
1082
1085
  }
1083
1086
  },
1084
1087
  {
1085
- "name": "delete-button-text",
1086
- "default": "`Delete`",
1087
- "description": "Delete button text",
1088
+ "name": "icon-position",
1089
+ "default": "`left`",
1090
+ "description": "Icon position, can be set to `right`",
1088
1091
  "options": [],
1089
1092
  "value": {
1090
1093
  "type": "string",
@@ -1092,29 +1095,29 @@
1092
1095
  }
1093
1096
  },
1094
1097
  {
1095
- "name": "detail-rows",
1096
- "default": "`1`",
1097
- "description": "Detail input rows",
1098
+ "name": "tag",
1099
+ "default": "`button`",
1100
+ "description": "HTML Tag",
1098
1101
  "options": [],
1099
1102
  "value": {
1100
- "type": "number | string",
1103
+ "type": "string",
1101
1104
  "kind": "expression"
1102
1105
  }
1103
1106
  },
1104
1107
  {
1105
- "name": "detail-maxlength",
1106
- "default": "`200`",
1107
- "description": "Detail maxlength",
1108
+ "name": "native-type",
1109
+ "default": "`button`",
1110
+ "description": "Native Type Attribute",
1108
1111
  "options": [],
1109
1112
  "value": {
1110
- "type": "number | string",
1113
+ "type": "string",
1111
1114
  "kind": "expression"
1112
1115
  }
1113
1116
  },
1114
1117
  {
1115
- "name": "is-saving",
1118
+ "name": "plain",
1116
1119
  "default": "`false`",
1117
- "description": "Whether to show save button loading status",
1120
+ "description": "Whether to be plain button",
1118
1121
  "options": [],
1119
1122
  "value": {
1120
1123
  "type": "boolean",
@@ -1122,9 +1125,9 @@
1122
1125
  }
1123
1126
  },
1124
1127
  {
1125
- "name": "is-deleting",
1128
+ "name": "block",
1126
1129
  "default": "`false`",
1127
- "description": "Whether to show delete button loading status",
1130
+ "description": "Whether to set display block",
1128
1131
  "options": [],
1129
1132
  "value": {
1130
1133
  "type": "boolean",
@@ -1132,65 +1135,49 @@
1132
1135
  }
1133
1136
  },
1134
1137
  {
1135
- "name": "tel-validator",
1136
- "default": "-",
1137
- "description": "The method to validate tel",
1138
+ "name": "round",
1139
+ "default": "`false`",
1140
+ "description": "Whether to be round button",
1138
1141
  "options": [],
1139
1142
  "value": {
1140
- "type": "(tel: string) => boolean",
1143
+ "type": "boolean",
1141
1144
  "kind": "expression"
1142
1145
  }
1143
1146
  },
1144
1147
  {
1145
- "name": "tel-maxlength",
1146
- "default": "-",
1147
- "description": "Tel maxlength",
1148
+ "name": "square",
1149
+ "default": "`false`",
1150
+ "description": "Whether to be square button",
1148
1151
  "options": [],
1149
1152
  "value": {
1150
- "type": "number | string",
1153
+ "type": "boolean",
1151
1154
  "kind": "expression"
1152
1155
  }
1153
1156
  },
1154
1157
  {
1155
- "name": "validator",
1156
- "default": "-",
1157
- "description": "Custom validator",
1158
+ "name": "disabled",
1159
+ "default": "`false`",
1160
+ "description": "Whether to disable button",
1158
1161
  "options": [],
1159
1162
  "value": {
1160
- "type": "(key, val) => string",
1163
+ "type": "boolean",
1161
1164
  "kind": "expression"
1162
1165
  }
1163
- }
1164
- ]
1165
- },
1166
- {
1167
- "name": "van-badge",
1168
- "slots": [
1169
- {
1170
- "name": "default",
1171
- "description": "Default slot"
1172
1166
  },
1173
1167
  {
1174
- "name": "content",
1175
- "description": "Custom badge content"
1176
- }
1177
- ],
1178
- "events": [],
1179
- "attributes": [
1180
- {
1181
- "name": "content",
1182
- "default": "-",
1183
- "description": "Badge content",
1168
+ "name": "loading",
1169
+ "default": "`false`",
1170
+ "description": "Whether to show loading status",
1184
1171
  "options": [],
1185
1172
  "value": {
1186
- "type": "number | string",
1173
+ "type": "boolean",
1187
1174
  "kind": "expression"
1188
1175
  }
1189
1176
  },
1190
1177
  {
1191
- "name": "color",
1192
- "default": "`#ee0a24`",
1193
- "description": "Background color",
1178
+ "name": "loading-text",
1179
+ "default": "-",
1180
+ "description": "Loading text",
1194
1181
  "options": [],
1195
1182
  "value": {
1196
1183
  "type": "string",
@@ -1198,19 +1185,19 @@
1198
1185
  }
1199
1186
  },
1200
1187
  {
1201
- "name": "dot",
1202
- "default": "`false`",
1203
- "description": "Whether to show dot",
1188
+ "name": "loading-type",
1189
+ "default": "`circular`",
1190
+ "description": "Loading type, can be set to `spinner`",
1204
1191
  "options": [],
1205
1192
  "value": {
1206
- "type": "boolean",
1193
+ "type": "string",
1207
1194
  "kind": "expression"
1208
1195
  }
1209
1196
  },
1210
1197
  {
1211
- "name": "max",
1212
- "default": "-",
1213
- "description": "Max value, show `{max}+` when exceed, only works when content is number",
1198
+ "name": "loading-size",
1199
+ "default": "`20px`",
1200
+ "description": "Loading icon size",
1214
1201
  "options": [],
1215
1202
  "value": {
1216
1203
  "type": "number | string",
@@ -1218,100 +1205,133 @@
1218
1205
  }
1219
1206
  },
1220
1207
  {
1221
- "name": "offset",
1208
+ "name": "url",
1222
1209
  "default": "-",
1223
- "description": "Offset of badge dot",
1210
+ "description": "Link URL",
1224
1211
  "options": [],
1225
1212
  "value": {
1226
- "type": "[number | string, number | string]",
1213
+ "type": "string",
1227
1214
  "kind": "expression"
1228
1215
  }
1229
1216
  },
1230
1217
  {
1231
- "name": "show-zero",
1232
- "default": "`true`",
1233
- "description": "Whether to show badge when content is zero",
1218
+ "name": "to",
1219
+ "default": "-",
1220
+ "description": "Target route of the link, same as using vue-router",
1234
1221
  "options": [],
1235
1222
  "value": {
1236
- "type": "boolean",
1223
+ "type": "string | object",
1237
1224
  "kind": "expression"
1238
1225
  }
1239
1226
  },
1240
1227
  {
1241
- "name": "position",
1242
- "default": "`top-right`",
1243
- "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
1228
+ "name": "replace",
1229
+ "default": "`false`",
1230
+ "description": "If true, the navigation will not leave a history record",
1244
1231
  "options": [],
1245
1232
  "value": {
1246
- "type": "string",
1233
+ "type": "boolean",
1247
1234
  "kind": "expression"
1248
1235
  }
1249
1236
  }
1250
1237
  ]
1251
1238
  },
1252
1239
  {
1253
- "name": "van-button",
1240
+ "name": "van-action-sheet",
1254
1241
  "slots": [
1255
1242
  {
1256
1243
  "name": "default",
1257
- "description": "Default slot"
1244
+ "description": "Custom content"
1258
1245
  },
1259
1246
  {
1260
- "name": "icon",
1261
- "description": "Custom icon"
1247
+ "name": "description",
1248
+ "description": "Custom description above the options"
1262
1249
  },
1263
1250
  {
1264
- "name": "loading",
1265
- "description": "Custom loading icon"
1251
+ "name": "cancel",
1252
+ "description": "Custom the content of cancel button"
1253
+ },
1254
+ {
1255
+ "name": "action",
1256
+ "description": "Custom the content of action"
1266
1257
  }
1267
1258
  ],
1268
1259
  "events": [
1269
1260
  {
1270
- "name": "click",
1271
- "description": "Emitted when button is clicked and not disabled or loading",
1261
+ "name": "select",
1262
+ "description": "Emitted when an option is clicked",
1272
1263
  "arguments": [
1273
1264
  {
1274
- "name": "event",
1275
- "type": "MouseEvent"
1265
+ "name": "action",
1266
+ "type": "ActionSheetAction"
1267
+ },
1268
+ {
1269
+ "name": "index",
1270
+ "type": "number"
1276
1271
  }
1277
1272
  ]
1278
1273
  },
1279
1274
  {
1280
- "name": "touchstart",
1281
- "description": "Emitted when button is touched",
1275
+ "name": "cancel",
1276
+ "description": "Emitted when the cancel button is clicked",
1277
+ "arguments": []
1278
+ },
1279
+ {
1280
+ "name": "open",
1281
+ "description": "Emitted when opening ActionSheet",
1282
+ "arguments": []
1283
+ },
1284
+ {
1285
+ "name": "close",
1286
+ "description": "Emitted when closing ActionSheet",
1287
+ "arguments": []
1288
+ },
1289
+ {
1290
+ "name": "opened",
1291
+ "description": "Emitted when ActionSheet is opened",
1292
+ "arguments": []
1293
+ },
1294
+ {
1295
+ "name": "closed",
1296
+ "description": "Emitted when ActionSheet is closed",
1297
+ "arguments": []
1298
+ },
1299
+ {
1300
+ "name": "click-overlay",
1301
+ "description": "Emitted when overlay is clicked",
1282
1302
  "arguments": [
1283
1303
  {
1284
1304
  "name": "event",
1285
- "type": "TouchEvent"
1305
+ "type": "MouseEvent"
1286
1306
  }
1287
1307
  ]
1288
1308
  }
1289
1309
  ],
1290
1310
  "attributes": [
1291
1311
  {
1292
- "name": "type",
1293
- "default": "`default`",
1294
- "description": "Can be set to `primary` `success` `warning` `danger`",
1312
+ "name": "v-model:show",
1313
+ "default": "`false`",
1314
+ "description": "Whether to show ActionSheet",
1295
1315
  "options": [],
1296
1316
  "value": {
1297
- "type": "string",
1317
+ "type": "boolean",
1298
1318
  "kind": "expression"
1299
1319
  }
1300
1320
  },
1301
1321
  {
1302
- "name": "size",
1303
- "default": "`normal`",
1304
- "description": "Can be set to `large` `small` `mini`",
1322
+ "name": "actions",
1323
+ "default": "`[]`",
1324
+ "description": "Options",
1305
1325
  "options": [],
1306
1326
  "value": {
1307
- "type": "string",
1327
+ "type": "ActionSheetAction[]",
1308
1328
  "kind": "expression"
1309
1329
  }
1310
1330
  },
1311
1331
  {
1312
- "name": "text",
1332
+ "name": "title",
1313
1333
  "default": "-",
1314
- "description": "Text",
1334
+ "description": "Title",
1315
1335
  "options": [],
1316
1336
  "value": {
1317
1337
  "type": "string",
@@ -1319,9 +1339,9 @@
1319
1339
  }
1320
1340
  },
1321
1341
  {
1322
- "name": "color",
1342
+ "name": "cancel-text",
1323
1343
  "default": "-",
1324
- "description": "Color, support linear-gradient",
1344
+ "description": "Text of cancel button",
1325
1345
  "options": [],
1326
1346
  "value": {
1327
1347
  "type": "string",
@@ -1329,19 +1349,9 @@
1329
1349
  }
1330
1350
  },
1331
1351
  {
1332
- "name": "icon",
1352
+ "name": "description",
1333
1353
  "default": "-",
1334
- "description": "Left Icon",
1335
- "options": [],
1336
- "value": {
1337
- "type": "string",
1338
- "kind": "expression"
1339
- }
1340
- },
1341
- {
1342
- "name": "icon-prefix",
1343
- "default": "`van-icon`",
1344
- "description": "Icon className prefix",
1354
+ "description": "Description above the options",
1345
1355
  "options": [],
1346
1356
  "value": {
1347
1357
  "type": "string",
@@ -1349,19 +1359,19 @@
1349
1359
  }
1350
1360
  },
1351
1361
  {
1352
- "name": "icon-position",
1353
- "default": "`left`",
1354
- "description": "Icon position, can be set to `right`",
1362
+ "name": "closeable",
1363
+ "default": "`true`",
1364
+ "description": "Whether to show close icon",
1355
1365
  "options": [],
1356
1366
  "value": {
1357
- "type": "string",
1367
+ "type": "boolean",
1358
1368
  "kind": "expression"
1359
1369
  }
1360
1370
  },
1361
1371
  {
1362
- "name": "tag",
1363
- "default": "`button`",
1364
- "description": "HTML Tag",
1372
+ "name": "close-icon",
1373
+ "default": "`cross`",
1374
+ "description": "Close icon name",
1365
1375
  "options": [],
1366
1376
  "value": {
1367
1377
  "type": "string",
@@ -1369,19 +1379,19 @@
1369
1379
  }
1370
1380
  },
1371
1381
  {
1372
- "name": "native-type",
1373
- "default": "`button`",
1374
- "description": "Native Type Attribute",
1382
+ "name": "duration",
1383
+ "default": "`0.3`",
1384
+ "description": "Transition duration, unit second",
1375
1385
  "options": [],
1376
1386
  "value": {
1377
- "type": "string",
1387
+ "type": "number | string",
1378
1388
  "kind": "expression"
1379
1389
  }
1380
1390
  },
1381
- {
1382
- "name": "plain",
1383
- "default": "`false`",
1384
- "description": "Whether to be plain button",
1391
+ {
1392
+ "name": "round",
1393
+ "default": "`true`",
1394
+ "description": "Whether to show round corner",
1385
1395
  "options": [],
1386
1396
  "value": {
1387
1397
  "type": "boolean",
@@ -1389,9 +1399,9 @@
1389
1399
  }
1390
1400
  },
1391
1401
  {
1392
- "name": "block",
1393
- "default": "`false`",
1394
- "description": "Whether to set display block",
1402
+ "name": "overlay",
1403
+ "default": "`true`",
1404
+ "description": "Whether to show overlay",
1395
1405
  "options": [],
1396
1406
  "value": {
1397
1407
  "type": "boolean",
@@ -1399,29 +1409,29 @@
1399
1409
  }
1400
1410
  },
1401
1411
  {
1402
- "name": "round",
1403
- "default": "`false`",
1404
- "description": "Whether to be round button",
1412
+ "name": "overlay-class",
1413
+ "default": "-",
1414
+ "description": "Custom overlay class",
1405
1415
  "options": [],
1406
1416
  "value": {
1407
- "type": "boolean",
1417
+ "type": "string | Array | object",
1408
1418
  "kind": "expression"
1409
1419
  }
1410
1420
  },
1411
1421
  {
1412
- "name": "square",
1413
- "default": "`false`",
1414
- "description": "Whether to be square button",
1422
+ "name": "overlay-style",
1423
+ "default": "-",
1424
+ "description": "Custom overlay style",
1415
1425
  "options": [],
1416
1426
  "value": {
1417
- "type": "boolean",
1427
+ "type": "object",
1418
1428
  "kind": "expression"
1419
1429
  }
1420
1430
  },
1421
1431
  {
1422
- "name": "disabled",
1423
- "default": "`false`",
1424
- "description": "Whether to disable button",
1432
+ "name": "lock-scroll",
1433
+ "default": "`true`",
1434
+ "description": "Whether to lock background scroll",
1425
1435
  "options": [],
1426
1436
  "value": {
1427
1437
  "type": "boolean",
@@ -1429,9 +1439,9 @@
1429
1439
  }
1430
1440
  },
1431
1441
  {
1432
- "name": "loading",
1433
- "default": "`false`",
1434
- "description": "Whether to show loading status",
1442
+ "name": "lazy-render",
1443
+ "default": "`true`",
1444
+ "description": "Whether to lazy render util appeared",
1435
1445
  "options": [],
1436
1446
  "value": {
1437
1447
  "type": "boolean",
@@ -1439,62 +1449,62 @@
1439
1449
  }
1440
1450
  },
1441
1451
  {
1442
- "name": "loading-text",
1443
- "default": "-",
1444
- "description": "Loading text",
1452
+ "name": "close-on-popstate",
1453
+ "default": "`true`",
1454
+ "description": "Whether to close when popstate",
1445
1455
  "options": [],
1446
1456
  "value": {
1447
- "type": "string",
1457
+ "type": "boolean",
1448
1458
  "kind": "expression"
1449
1459
  }
1450
1460
  },
1451
1461
  {
1452
- "name": "loading-type",
1453
- "default": "`circular`",
1454
- "description": "Loading type, can be set to `spinner`",
1462
+ "name": "close-on-click-action",
1463
+ "default": "`false`",
1464
+ "description": "Whether to close when an action is clicked",
1455
1465
  "options": [],
1456
1466
  "value": {
1457
- "type": "string",
1467
+ "type": "boolean",
1458
1468
  "kind": "expression"
1459
1469
  }
1460
1470
  },
1461
1471
  {
1462
- "name": "loading-size",
1463
- "default": "`20px`",
1464
- "description": "Loading icon size",
1472
+ "name": "close-on-click-overlay",
1473
+ "default": "`true`",
1474
+ "description": "Whether to close when overlay is clicked",
1465
1475
  "options": [],
1466
1476
  "value": {
1467
- "type": "number | string",
1477
+ "type": "boolean",
1468
1478
  "kind": "expression"
1469
1479
  }
1470
1480
  },
1471
1481
  {
1472
- "name": "url",
1473
- "default": "-",
1474
- "description": "Link URL",
1482
+ "name": "safe-area-inset-bottom",
1483
+ "default": "`true`",
1484
+ "description": "Whether to enable bottom safe area adaptation",
1475
1485
  "options": [],
1476
1486
  "value": {
1477
- "type": "string",
1487
+ "type": "boolean",
1478
1488
  "kind": "expression"
1479
1489
  }
1480
1490
  },
1481
1491
  {
1482
- "name": "to",
1492
+ "name": "teleport",
1483
1493
  "default": "-",
1484
- "description": "Target route of the link, same as using vue-router",
1494
+ "description": "Specifies a target element where ActionSheet will be mounted",
1485
1495
  "options": [],
1486
1496
  "value": {
1487
- "type": "string | object",
1497
+ "type": "string | Element",
1488
1498
  "kind": "expression"
1489
1499
  }
1490
1500
  },
1491
1501
  {
1492
- "name": "replace",
1493
- "default": "`false`",
1494
- "description": "If true, the navigation will not leave a history record",
1502
+ "name": "before-close",
1503
+ "default": "-",
1504
+ "description": "Callback function before close",
1495
1505
  "options": [],
1496
1506
  "value": {
1497
- "type": "boolean",
1507
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
1498
1508
  "kind": "expression"
1499
1509
  }
1500
1510
  }
@@ -2432,7 +2442,7 @@
2432
2442
  },
2433
2443
  {
2434
2444
  "name": "center",
2435
- "default": "`true`",
2445
+ "default": "`false`",
2436
2446
  "description": "Whether to center content vertically",
2437
2447
  "options": [],
2438
2448
  "value": {
@@ -3225,6 +3235,53 @@
3225
3235
  }
3226
3236
  ]
3227
3237
  },
3238
+ {
3239
+ "name": "van-config-provider",
3240
+ "slots": [],
3241
+ "events": [],
3242
+ "attributes": [
3243
+ {
3244
+ "name": "theme",
3245
+ "default": "`light`",
3246
+ "description": "Theme mode, can be set to `dark`",
3247
+ "options": [],
3248
+ "value": {
3249
+ "type": "ConfigProviderTheme",
3250
+ "kind": "expression"
3251
+ }
3252
+ },
3253
+ {
3254
+ "name": "theme-vars",
3255
+ "default": "-",
3256
+ "description": "Theme variables",
3257
+ "options": [],
3258
+ "value": {
3259
+ "type": "object",
3260
+ "kind": "expression"
3261
+ }
3262
+ },
3263
+ {
3264
+ "name": "tag",
3265
+ "default": "`div`",
3266
+ "description": "HTML Tag of root element",
3267
+ "options": [],
3268
+ "value": {
3269
+ "type": "string",
3270
+ "kind": "expression"
3271
+ }
3272
+ },
3273
+ {
3274
+ "name": "icon-prefix",
3275
+ "default": "`van-icon`",
3276
+ "description": "Icon className prefix",
3277
+ "options": [],
3278
+ "value": {
3279
+ "type": "string",
3280
+ "kind": "expression"
3281
+ }
3282
+ }
3283
+ ]
3284
+ },
3228
3285
  {
3229
3286
  "name": "van-contact-card",
3230
3287
  "slots": [],
@@ -3391,53 +3448,6 @@
3391
3448
  }
3392
3449
  ]
3393
3450
  },
3394
- {
3395
- "name": "van-config-provider",
3396
- "slots": [],
3397
- "events": [],
3398
- "attributes": [
3399
- {
3400
- "name": "theme",
3401
- "default": "`light`",
3402
- "description": "Theme mode, can be set to `dark`",
3403
- "options": [],
3404
- "value": {
3405
- "type": "ConfigProviderTheme",
3406
- "kind": "expression"
3407
- }
3408
- },
3409
- {
3410
- "name": "theme-vars",
3411
- "default": "-",
3412
- "description": "Theme variables",
3413
- "options": [],
3414
- "value": {
3415
- "type": "object",
3416
- "kind": "expression"
3417
- }
3418
- },
3419
- {
3420
- "name": "tag",
3421
- "default": "`div`",
3422
- "description": "HTML Tag of root element",
3423
- "options": [],
3424
- "value": {
3425
- "type": "string",
3426
- "kind": "expression"
3427
- }
3428
- },
3429
- {
3430
- "name": "icon-prefix",
3431
- "default": "`van-icon`",
3432
- "description": "Icon className prefix",
3433
- "options": [],
3434
- "value": {
3435
- "type": "string",
3436
- "kind": "expression"
3437
- }
3438
- }
3439
- ]
3440
- },
3441
3451
  {
3442
3452
  "name": "van-contact-list",
3443
3453
  "slots": [],
@@ -4214,6 +4224,16 @@
4214
4224
  "kind": "expression"
4215
4225
  }
4216
4226
  },
4227
+ {
4228
+ "name": "cancel-button-disabled",
4229
+ "default": "`false`",
4230
+ "description": "Whether to disable cancel button",
4231
+ "options": [],
4232
+ "value": {
4233
+ "type": "boolean",
4234
+ "kind": "expression"
4235
+ }
4236
+ },
4217
4237
  {
4218
4238
  "name": "confirm-button-text",
4219
4239
  "default": "`Confirm`",
@@ -4234,6 +4254,16 @@
4234
4254
  "kind": "expression"
4235
4255
  }
4236
4256
  },
4257
+ {
4258
+ "name": "confirm-button-disabled",
4259
+ "default": "`false`",
4260
+ "description": "Whether to disable confirm button",
4261
+ "options": [],
4262
+ "value": {
4263
+ "type": "boolean",
4264
+ "kind": "expression"
4265
+ }
4266
+ },
4237
4267
  {
4238
4268
  "name": "overlay",
4239
4269
  "default": "`true`",
@@ -4582,6 +4612,56 @@
4582
4612
  }
4583
4613
  ]
4584
4614
  },
4615
+ {
4616
+ "name": "van-empty",
4617
+ "slots": [
4618
+ {
4619
+ "name": "default",
4620
+ "description": "Custom bottom content"
4621
+ },
4622
+ {
4623
+ "name": "image",
4624
+ "description": "Custom image"
4625
+ },
4626
+ {
4627
+ "name": "description",
4628
+ "description": "Custom description"
4629
+ }
4630
+ ],
4631
+ "events": [],
4632
+ "attributes": [
4633
+ {
4634
+ "name": "image",
4635
+ "default": "`default`",
4636
+ "description": "Image type, can be set to `error` `network` `search` or image URL",
4637
+ "options": [],
4638
+ "value": {
4639
+ "type": "string",
4640
+ "kind": "expression"
4641
+ }
4642
+ },
4643
+ {
4644
+ "name": "image-size",
4645
+ "default": "-",
4646
+ "description": "Image size",
4647
+ "options": [],
4648
+ "value": {
4649
+ "type": "number | string | Array",
4650
+ "kind": "expression"
4651
+ }
4652
+ },
4653
+ {
4654
+ "name": "description",
4655
+ "default": "-",
4656
+ "description": "Description",
4657
+ "options": [],
4658
+ "value": {
4659
+ "type": "string",
4660
+ "kind": "expression"
4661
+ }
4662
+ }
4663
+ ]
4664
+ },
4585
4665
  {
4586
4666
  "name": "van-field",
4587
4667
  "slots": [
@@ -4686,12 +4766,26 @@
4686
4766
  ]
4687
4767
  },
4688
4768
  {
4689
- "name": "click-right-icon",
4690
- "description": "Emitted when the right icon is clicked",
4769
+ "name": "click-right-icon",
4770
+ "description": "Emitted when the right icon is clicked",
4771
+ "arguments": [
4772
+ {
4773
+ "name": "event",
4774
+ "type": "MouseEvent"
4775
+ }
4776
+ ]
4777
+ },
4778
+ {
4779
+ "name": "start-validate",
4780
+ "description": "Emitted when start validation",
4781
+ "arguments": []
4782
+ },
4783
+ {
4784
+ "name": "end-validate",
4785
+ "description": "Emitted when end validation",
4691
4786
  "arguments": [
4692
4787
  {
4693
- "name": "event",
4694
- "type": "MouseEvent"
4788
+ "name": "{ status: string }"
4695
4789
  }
4696
4790
  ]
4697
4791
  }
@@ -5080,14 +5174,40 @@
5080
5174
  ]
5081
5175
  },
5082
5176
  {
5083
- "name": "van-grid",
5084
- "slots": [],
5085
- "events": [],
5177
+ "name": "van-form",
5178
+ "slots": [
5179
+ {
5180
+ "name": "default",
5181
+ "description": "Form content"
5182
+ }
5183
+ ],
5184
+ "events": [
5185
+ {
5186
+ "name": "submit",
5187
+ "description": "Emitted after submitting the form and validation passed",
5188
+ "arguments": [
5189
+ {
5190
+ "name": "values",
5191
+ "type": "object"
5192
+ }
5193
+ ]
5194
+ },
5195
+ {
5196
+ "name": "failed",
5197
+ "description": "Emitted after submitting the form and validation failed",
5198
+ "arguments": [
5199
+ {
5200
+ "name": "errorInfo",
5201
+ "type": "{ values: object, errors: object[] }"
5202
+ }
5203
+ ]
5204
+ }
5205
+ ],
5086
5206
  "attributes": [
5087
5207
  {
5088
- "name": "column-num",
5089
- "default": "`4`",
5090
- "description": "Column Num",
5208
+ "name": "label-width",
5209
+ "default": "`6.2em`",
5210
+ "description": "Field label width",
5091
5211
  "options": [],
5092
5212
  "value": {
5093
5213
  "type": "number | string",
@@ -5095,49 +5215,49 @@
5095
5215
  }
5096
5216
  },
5097
5217
  {
5098
- "name": "icon-size",
5099
- "default": "`28px`",
5100
- "description": "Icon size",
5218
+ "name": "label-align",
5219
+ "default": "`left`",
5220
+ "description": "Field label align, can be set to `center` `right`",
5101
5221
  "options": [],
5102
5222
  "value": {
5103
- "type": "number | string",
5223
+ "type": "string",
5104
5224
  "kind": "expression"
5105
5225
  }
5106
5226
  },
5107
5227
  {
5108
- "name": "gutter",
5109
- "default": "`0`",
5110
- "description": "Gutter",
5228
+ "name": "input-align",
5229
+ "default": "`left`",
5230
+ "description": "Field input align, can be set to `center` `right`",
5111
5231
  "options": [],
5112
5232
  "value": {
5113
- "type": "number | string",
5233
+ "type": "string",
5114
5234
  "kind": "expression"
5115
5235
  }
5116
5236
  },
5117
5237
  {
5118
- "name": "border",
5119
- "default": "`true`",
5120
- "description": "Whether to show border",
5238
+ "name": "error-message-align",
5239
+ "default": "`left`",
5240
+ "description": "Error message align, can be set to `center` `right`",
5121
5241
  "options": [],
5122
5242
  "value": {
5123
- "type": "boolean",
5243
+ "type": "string",
5124
5244
  "kind": "expression"
5125
5245
  }
5126
5246
  },
5127
5247
  {
5128
- "name": "center",
5129
- "default": "`true`",
5130
- "description": "Whether to center content",
5248
+ "name": "validate-trigger",
5249
+ "default": "`onBlur`",
5250
+ "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
5131
5251
  "options": [],
5132
5252
  "value": {
5133
- "type": "boolean",
5253
+ "type": "string | string[]",
5134
5254
  "kind": "expression"
5135
5255
  }
5136
5256
  },
5137
5257
  {
5138
- "name": "square",
5258
+ "name": "colon",
5139
5259
  "default": "`false`",
5140
- "description": "Whether to be square shape",
5260
+ "description": "Whether to display colon after label",
5141
5261
  "options": [],
5142
5262
  "value": {
5143
5263
  "type": "boolean",
@@ -5145,9 +5265,9 @@
5145
5265
  }
5146
5266
  },
5147
5267
  {
5148
- "name": "clickable",
5268
+ "name": "disabled",
5149
5269
  "default": "`false`",
5150
- "description": "Whether to show click feedback when clicked",
5270
+ "description": "Whether to disable form",
5151
5271
  "options": [],
5152
5272
  "value": {
5153
5273
  "type": "boolean",
@@ -5155,100 +5275,39 @@
5155
5275
  }
5156
5276
  },
5157
5277
  {
5158
- "name": "direction",
5159
- "default": "`vertical`",
5160
- "description": "Content arrangement direction, can be set to `horizontal`",
5161
- "options": [],
5162
- "value": {
5163
- "type": "string",
5164
- "kind": "expression"
5165
- }
5166
- },
5167
- {
5168
- "name": "reverse",
5278
+ "name": "readonly",
5169
5279
  "default": "`false`",
5170
- "description": "Whether to reverse the position of icon and text",
5280
+ "description": "Whether to be readonly",
5171
5281
  "options": [],
5172
5282
  "value": {
5173
5283
  "type": "boolean",
5174
5284
  "kind": "expression"
5175
5285
  }
5176
- }
5177
- ]
5178
- },
5179
- {
5180
- "name": "van-grid-item",
5181
- "slots": [
5182
- {
5183
- "name": "default",
5184
- "description": "Custom content"
5185
- },
5186
- {
5187
- "name": "icon",
5188
- "description": "Custom icon"
5189
- },
5190
- {
5191
- "name": "text",
5192
- "description": "Custom text"
5193
- }
5194
- ],
5195
- "events": [
5196
- {
5197
- "name": "click",
5198
- "description": "Emitted when component is clicked",
5199
- "arguments": [
5200
- {
5201
- "name": "event",
5202
- "type": "MouseEvent"
5203
- }
5204
- ]
5205
- }
5206
- ],
5207
- "attributes": [
5208
- {
5209
- "name": "text",
5210
- "default": "-",
5211
- "description": "Text",
5212
- "options": [],
5213
- "value": {
5214
- "type": "string",
5215
- "kind": "expression"
5216
- }
5217
- },
5218
- {
5219
- "name": "icon",
5220
- "default": "-",
5221
- "description": "Icon name or URL",
5222
- "options": [],
5223
- "value": {
5224
- "type": "string",
5225
- "kind": "expression"
5226
- }
5227
5286
  },
5228
5287
  {
5229
- "name": "icon-prefix",
5230
- "default": "`van-icon`",
5231
- "description": "Icon className prefix",
5288
+ "name": "validate-first",
5289
+ "default": "`false`",
5290
+ "description": "Whether to stop the validation when a rule fails",
5232
5291
  "options": [],
5233
5292
  "value": {
5234
- "type": "string",
5293
+ "type": "boolean",
5235
5294
  "kind": "expression"
5236
5295
  }
5237
5296
  },
5238
5297
  {
5239
- "name": "icon-color",
5240
- "default": "-",
5241
- "description": "Icon color",
5298
+ "name": "scroll-to-error",
5299
+ "default": "`false`",
5300
+ "description": "Whether to scroll to the error field when validation failed",
5242
5301
  "options": [],
5243
5302
  "value": {
5244
- "type": "string",
5303
+ "type": "boolean",
5245
5304
  "kind": "expression"
5246
5305
  }
5247
5306
  },
5248
5307
  {
5249
- "name": "dot",
5308
+ "name": "show-error",
5250
5309
  "default": "`false`",
5251
- "description": "Whether to show red dot",
5310
+ "description": "Whether to highlight input when validation failed",
5252
5311
  "options": [],
5253
5312
  "value": {
5254
5313
  "type": "boolean",
@@ -5256,132 +5315,106 @@
5256
5315
  }
5257
5316
  },
5258
5317
  {
5259
- "name": "badge",
5260
- "default": "-",
5261
- "description": "Content of the badge",
5318
+ "name": "show-error-message",
5319
+ "default": "`true`",
5320
+ "description": "Whether to show error message when validation failed",
5262
5321
  "options": [],
5263
5322
  "value": {
5264
- "type": "number | string",
5323
+ "type": "boolean",
5265
5324
  "kind": "expression"
5266
5325
  }
5267
5326
  },
5268
5327
  {
5269
- "name": "badge-props",
5270
- "default": "-",
5271
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
5328
+ "name": "submit-on-enter",
5329
+ "default": "`true`",
5330
+ "description": "Whether to submit form on enter",
5272
5331
  "options": [],
5273
5332
  "value": {
5274
- "type": "BadgeProps",
5333
+ "type": "boolean",
5275
5334
  "kind": "expression"
5276
5335
  }
5277
- },
5336
+ }
5337
+ ]
5338
+ },
5339
+ {
5340
+ "name": "van-grid",
5341
+ "slots": [],
5342
+ "events": [],
5343
+ "attributes": [
5278
5344
  {
5279
- "name": "url",
5280
- "default": "-",
5281
- "description": "Link URL",
5345
+ "name": "column-num",
5346
+ "default": "`4`",
5347
+ "description": "Column Num",
5282
5348
  "options": [],
5283
5349
  "value": {
5284
- "type": "string",
5350
+ "type": "number | string",
5285
5351
  "kind": "expression"
5286
5352
  }
5287
5353
  },
5288
5354
  {
5289
- "name": "to",
5290
- "default": "-",
5291
- "description": "Target route of the link, same as to of vue-router",
5355
+ "name": "icon-size",
5356
+ "default": "`28px`",
5357
+ "description": "Icon size",
5292
5358
  "options": [],
5293
5359
  "value": {
5294
- "type": "string | object",
5360
+ "type": "number | string",
5295
5361
  "kind": "expression"
5296
5362
  }
5297
5363
  },
5298
5364
  {
5299
- "name": "replace",
5300
- "default": "`false`",
5301
- "description": "If true, the navigation will not leave a history record",
5365
+ "name": "gutter",
5366
+ "default": "`0`",
5367
+ "description": "Gutter",
5302
5368
  "options": [],
5303
5369
  "value": {
5304
- "type": "boolean",
5370
+ "type": "number | string",
5305
5371
  "kind": "expression"
5306
5372
  }
5307
- }
5308
- ]
5309
- },
5310
- {
5311
- "name": "van-form",
5312
- "slots": [
5313
- {
5314
- "name": "default",
5315
- "description": "Form content"
5316
- }
5317
- ],
5318
- "events": [
5319
- {
5320
- "name": "submit",
5321
- "description": "Emitted after submitting the form and validation passed",
5322
- "arguments": [
5323
- {
5324
- "name": "values",
5325
- "type": "object"
5326
- }
5327
- ]
5328
- },
5329
- {
5330
- "name": "failed",
5331
- "description": "Emitted after submitting the form and validation failed",
5332
- "arguments": [
5333
- {
5334
- "name": "errorInfo",
5335
- "type": "{ values: object, errors: object[] }"
5336
- }
5337
- ]
5338
- }
5339
- ],
5340
- "attributes": [
5341
- {
5342
- "name": "label-width",
5343
- "default": "`6.2em`",
5344
- "description": "Field label width",
5373
+ },
5374
+ {
5375
+ "name": "border",
5376
+ "default": "`true`",
5377
+ "description": "Whether to show border",
5345
5378
  "options": [],
5346
5379
  "value": {
5347
- "type": "number | string",
5380
+ "type": "boolean",
5348
5381
  "kind": "expression"
5349
5382
  }
5350
5383
  },
5351
5384
  {
5352
- "name": "label-align",
5353
- "default": "`left`",
5354
- "description": "Field label align, can be set to `center` `right`",
5385
+ "name": "center",
5386
+ "default": "`true`",
5387
+ "description": "Whether to center content",
5355
5388
  "options": [],
5356
5389
  "value": {
5357
- "type": "string",
5390
+ "type": "boolean",
5358
5391
  "kind": "expression"
5359
5392
  }
5360
5393
  },
5361
5394
  {
5362
- "name": "input-align",
5363
- "default": "`left`",
5364
- "description": "Field input align, can be set to `center` `right`",
5395
+ "name": "square",
5396
+ "default": "`false`",
5397
+ "description": "Whether to be square shape",
5365
5398
  "options": [],
5366
5399
  "value": {
5367
- "type": "string",
5400
+ "type": "boolean",
5368
5401
  "kind": "expression"
5369
5402
  }
5370
5403
  },
5371
5404
  {
5372
- "name": "error-message-align",
5373
- "default": "`left`",
5374
- "description": "Error message align, can be set to `center` `right`",
5405
+ "name": "clickable",
5406
+ "default": "`false`",
5407
+ "description": "Whether to show click feedback when clicked",
5375
5408
  "options": [],
5376
5409
  "value": {
5377
- "type": "string",
5410
+ "type": "boolean",
5378
5411
  "kind": "expression"
5379
5412
  }
5380
5413
  },
5381
5414
  {
5382
- "name": "validate-trigger",
5383
- "default": "`onBlur`",
5384
- "description": "When to validate the form, can be set to `onChange`、`onSubmit`",
5415
+ "name": "direction",
5416
+ "default": "`vertical`",
5417
+ "description": "Content arrangement direction, can be set to `horizontal`",
5385
5418
  "options": [],
5386
5419
  "value": {
5387
5420
  "type": "string",
@@ -5389,59 +5422,90 @@
5389
5422
  }
5390
5423
  },
5391
5424
  {
5392
- "name": "colon",
5425
+ "name": "reverse",
5393
5426
  "default": "`false`",
5394
- "description": "Whether to display colon after label",
5427
+ "description": "Whether to reverse the position of icon and text",
5395
5428
  "options": [],
5396
5429
  "value": {
5397
5430
  "type": "boolean",
5398
5431
  "kind": "expression"
5399
5432
  }
5433
+ }
5434
+ ]
5435
+ },
5436
+ {
5437
+ "name": "van-grid-item",
5438
+ "slots": [
5439
+ {
5440
+ "name": "default",
5441
+ "description": "Custom content"
5400
5442
  },
5401
5443
  {
5402
- "name": "disabled",
5403
- "default": "`false`",
5404
- "description": "Whether to disable form",
5444
+ "name": "icon",
5445
+ "description": "Custom icon"
5446
+ },
5447
+ {
5448
+ "name": "text",
5449
+ "description": "Custom text"
5450
+ }
5451
+ ],
5452
+ "events": [
5453
+ {
5454
+ "name": "click",
5455
+ "description": "Emitted when component is clicked",
5456
+ "arguments": [
5457
+ {
5458
+ "name": "event",
5459
+ "type": "MouseEvent"
5460
+ }
5461
+ ]
5462
+ }
5463
+ ],
5464
+ "attributes": [
5465
+ {
5466
+ "name": "text",
5467
+ "default": "-",
5468
+ "description": "Text",
5405
5469
  "options": [],
5406
5470
  "value": {
5407
- "type": "boolean",
5471
+ "type": "string",
5408
5472
  "kind": "expression"
5409
5473
  }
5410
5474
  },
5411
5475
  {
5412
- "name": "readonly",
5413
- "default": "`false`",
5414
- "description": "Whether to be readonly",
5476
+ "name": "icon",
5477
+ "default": "-",
5478
+ "description": "Icon name or URL",
5415
5479
  "options": [],
5416
5480
  "value": {
5417
- "type": "boolean",
5481
+ "type": "string",
5418
5482
  "kind": "expression"
5419
5483
  }
5420
5484
  },
5421
5485
  {
5422
- "name": "validate-first",
5423
- "default": "`false`",
5424
- "description": "Whether to stop the validation when a rule fails",
5486
+ "name": "icon-prefix",
5487
+ "default": "`van-icon`",
5488
+ "description": "Icon className prefix",
5425
5489
  "options": [],
5426
5490
  "value": {
5427
- "type": "boolean",
5491
+ "type": "string",
5428
5492
  "kind": "expression"
5429
5493
  }
5430
5494
  },
5431
5495
  {
5432
- "name": "scroll-to-error",
5433
- "default": "`false`",
5434
- "description": "Whether to scroll to the error field when validation failed",
5496
+ "name": "icon-color",
5497
+ "default": "-",
5498
+ "description": "Icon color",
5435
5499
  "options": [],
5436
5500
  "value": {
5437
- "type": "boolean",
5501
+ "type": "string",
5438
5502
  "kind": "expression"
5439
5503
  }
5440
5504
  },
5441
5505
  {
5442
- "name": "show-error",
5506
+ "name": "dot",
5443
5507
  "default": "`false`",
5444
- "description": "Whether to highlight input when validation failed",
5508
+ "description": "Whether to show red dot",
5445
5509
  "options": [],
5446
5510
  "value": {
5447
5511
  "type": "boolean",
@@ -5449,49 +5513,29 @@
5449
5513
  }
5450
5514
  },
5451
5515
  {
5452
- "name": "show-error-message",
5453
- "default": "`true`",
5454
- "description": "Whether to show error message when validation failed",
5516
+ "name": "badge",
5517
+ "default": "-",
5518
+ "description": "Content of the badge",
5455
5519
  "options": [],
5456
5520
  "value": {
5457
- "type": "boolean",
5521
+ "type": "number | string",
5458
5522
  "kind": "expression"
5459
5523
  }
5460
5524
  },
5461
5525
  {
5462
- "name": "submit-on-enter",
5463
- "default": "`true`",
5464
- "description": "Whether to submit form on enter",
5526
+ "name": "badge-props",
5527
+ "default": "-",
5528
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
5465
5529
  "options": [],
5466
5530
  "value": {
5467
- "type": "boolean",
5531
+ "type": "BadgeProps",
5468
5532
  "kind": "expression"
5469
5533
  }
5470
- }
5471
- ]
5472
- },
5473
- {
5474
- "name": "van-empty",
5475
- "slots": [
5476
- {
5477
- "name": "default",
5478
- "description": "Custom bottom content"
5479
- },
5480
- {
5481
- "name": "image",
5482
- "description": "Custom image"
5483
5534
  },
5484
5535
  {
5485
- "name": "description",
5486
- "description": "Custom description"
5487
- }
5488
- ],
5489
- "events": [],
5490
- "attributes": [
5491
- {
5492
- "name": "image",
5493
- "default": "`default`",
5494
- "description": "Image type, can be set to `error` `network` `search` or image URL",
5536
+ "name": "url",
5537
+ "default": "-",
5538
+ "description": "Link URL",
5495
5539
  "options": [],
5496
5540
  "value": {
5497
5541
  "type": "string",
@@ -5499,22 +5543,22 @@
5499
5543
  }
5500
5544
  },
5501
5545
  {
5502
- "name": "image-size",
5546
+ "name": "to",
5503
5547
  "default": "-",
5504
- "description": "Image size",
5548
+ "description": "Target route of the link, same as to of vue-router",
5505
5549
  "options": [],
5506
5550
  "value": {
5507
- "type": "number | string | Array",
5551
+ "type": "string | object",
5508
5552
  "kind": "expression"
5509
5553
  }
5510
5554
  },
5511
5555
  {
5512
- "name": "description",
5513
- "default": "-",
5514
- "description": "Description",
5556
+ "name": "replace",
5557
+ "default": "`false`",
5558
+ "description": "If true, the navigation will not leave a history record",
5515
5559
  "options": [],
5516
5560
  "value": {
5517
- "type": "string",
5561
+ "type": "boolean",
5518
5562
  "kind": "expression"
5519
5563
  }
5520
5564
  }
@@ -6845,9 +6889,102 @@
6845
6889
  }
6846
6890
  },
6847
6891
  {
6848
- "name": "random-key-order",
6849
- "default": "`false`",
6850
- "description": "Whether to shuffle the order of keys",
6892
+ "name": "random-key-order",
6893
+ "default": "`false`",
6894
+ "description": "Whether to shuffle the order of keys",
6895
+ "options": [],
6896
+ "value": {
6897
+ "type": "boolean",
6898
+ "kind": "expression"
6899
+ }
6900
+ }
6901
+ ]
6902
+ },
6903
+ {
6904
+ "name": "van-overlay",
6905
+ "slots": [
6906
+ {
6907
+ "name": "default",
6908
+ "description": "Default slot"
6909
+ }
6910
+ ],
6911
+ "events": [
6912
+ {
6913
+ "name": "click",
6914
+ "description": "Emitted when component is clicked",
6915
+ "arguments": [
6916
+ {
6917
+ "name": "event",
6918
+ "type": "MouseEvent"
6919
+ }
6920
+ ]
6921
+ }
6922
+ ],
6923
+ "attributes": [
6924
+ {
6925
+ "name": "show",
6926
+ "default": "`false`",
6927
+ "description": "Whether to show overlay",
6928
+ "options": [],
6929
+ "value": {
6930
+ "type": "boolean",
6931
+ "kind": "expression"
6932
+ }
6933
+ },
6934
+ {
6935
+ "name": "z-index",
6936
+ "default": "`1`",
6937
+ "description": "z-index",
6938
+ "options": [],
6939
+ "value": {
6940
+ "type": "number | string",
6941
+ "kind": "expression"
6942
+ }
6943
+ },
6944
+ {
6945
+ "name": "duration",
6946
+ "default": "`0.3`",
6947
+ "description": "Animation duration",
6948
+ "options": [],
6949
+ "value": {
6950
+ "type": "number | string",
6951
+ "kind": "expression"
6952
+ }
6953
+ },
6954
+ {
6955
+ "name": "class-name",
6956
+ "default": "-",
6957
+ "description": "ClassName",
6958
+ "options": [],
6959
+ "value": {
6960
+ "type": "string",
6961
+ "kind": "expression"
6962
+ }
6963
+ },
6964
+ {
6965
+ "name": "custom-class",
6966
+ "default": "-",
6967
+ "description": "Custom style",
6968
+ "options": [],
6969
+ "value": {
6970
+ "type": "object",
6971
+ "kind": "expression"
6972
+ }
6973
+ },
6974
+ {
6975
+ "name": "lock-scroll",
6976
+ "default": "`true`",
6977
+ "description": "Whether to lock background scroll",
6978
+ "options": [],
6979
+ "value": {
6980
+ "type": "boolean",
6981
+ "kind": "expression"
6982
+ }
6983
+ },
6984
+ {
6985
+ "name": "lazy-render",
6986
+ "default": "`true`",
6987
+ "description": "Whether to lazy render util appeared",
6851
6988
  "options": [],
6852
6989
  "value": {
6853
6990
  "type": "boolean",
@@ -6972,6 +7109,89 @@
6972
7109
  }
6973
7110
  ]
6974
7111
  },
7112
+ {
7113
+ "name": "van-password-input",
7114
+ "slots": [],
7115
+ "events": [
7116
+ {
7117
+ "name": "focus",
7118
+ "description": "Emitted when input is focused",
7119
+ "arguments": []
7120
+ }
7121
+ ],
7122
+ "attributes": [
7123
+ {
7124
+ "name": "value",
7125
+ "default": "`''`",
7126
+ "description": "Password value",
7127
+ "options": [],
7128
+ "value": {
7129
+ "type": "string",
7130
+ "kind": "expression"
7131
+ }
7132
+ },
7133
+ {
7134
+ "name": "info",
7135
+ "default": "-",
7136
+ "description": "Bottom info",
7137
+ "options": [],
7138
+ "value": {
7139
+ "type": "string",
7140
+ "kind": "expression"
7141
+ }
7142
+ },
7143
+ {
7144
+ "name": "error-info",
7145
+ "default": "-",
7146
+ "description": "Bottom error info",
7147
+ "options": [],
7148
+ "value": {
7149
+ "type": "string",
7150
+ "kind": "expression"
7151
+ }
7152
+ },
7153
+ {
7154
+ "name": "length",
7155
+ "default": "`6`",
7156
+ "description": "Maxlength of password",
7157
+ "options": [],
7158
+ "value": {
7159
+ "type": "number | string",
7160
+ "kind": "expression"
7161
+ }
7162
+ },
7163
+ {
7164
+ "name": "gutter",
7165
+ "default": "`0`",
7166
+ "description": "Gutter of input",
7167
+ "options": [],
7168
+ "value": {
7169
+ "type": "number | string",
7170
+ "kind": "expression"
7171
+ }
7172
+ },
7173
+ {
7174
+ "name": "mask",
7175
+ "default": "`true`",
7176
+ "description": "Whether to mask value",
7177
+ "options": [],
7178
+ "value": {
7179
+ "type": "boolean",
7180
+ "kind": "expression"
7181
+ }
7182
+ },
7183
+ {
7184
+ "name": "focused",
7185
+ "default": "`false`",
7186
+ "description": "Whether to show focused cursor",
7187
+ "options": [],
7188
+ "value": {
7189
+ "type": "boolean",
7190
+ "kind": "expression"
7191
+ }
7192
+ }
7193
+ ]
7194
+ },
6975
7195
  {
6976
7196
  "name": "van-picker",
6977
7197
  "slots": [
@@ -7658,89 +7878,6 @@
7658
7878
  }
7659
7879
  ]
7660
7880
  },
7661
- {
7662
- "name": "van-password-input",
7663
- "slots": [],
7664
- "events": [
7665
- {
7666
- "name": "focus",
7667
- "description": "Emitted when input is focused",
7668
- "arguments": []
7669
- }
7670
- ],
7671
- "attributes": [
7672
- {
7673
- "name": "value",
7674
- "default": "`''`",
7675
- "description": "Password value",
7676
- "options": [],
7677
- "value": {
7678
- "type": "string",
7679
- "kind": "expression"
7680
- }
7681
- },
7682
- {
7683
- "name": "info",
7684
- "default": "-",
7685
- "description": "Bottom info",
7686
- "options": [],
7687
- "value": {
7688
- "type": "string",
7689
- "kind": "expression"
7690
- }
7691
- },
7692
- {
7693
- "name": "error-info",
7694
- "default": "-",
7695
- "description": "Bottom error info",
7696
- "options": [],
7697
- "value": {
7698
- "type": "string",
7699
- "kind": "expression"
7700
- }
7701
- },
7702
- {
7703
- "name": "length",
7704
- "default": "`6`",
7705
- "description": "Maxlength of password",
7706
- "options": [],
7707
- "value": {
7708
- "type": "number | string",
7709
- "kind": "expression"
7710
- }
7711
- },
7712
- {
7713
- "name": "gutter",
7714
- "default": "`0`",
7715
- "description": "Gutter of input",
7716
- "options": [],
7717
- "value": {
7718
- "type": "number | string",
7719
- "kind": "expression"
7720
- }
7721
- },
7722
- {
7723
- "name": "mask",
7724
- "default": "`true`",
7725
- "description": "Whether to mask value",
7726
- "options": [],
7727
- "value": {
7728
- "type": "boolean",
7729
- "kind": "expression"
7730
- }
7731
- },
7732
- {
7733
- "name": "focused",
7734
- "default": "`false`",
7735
- "description": "Whether to show focused cursor",
7736
- "options": [],
7737
- "value": {
7738
- "type": "boolean",
7739
- "kind": "expression"
7740
- }
7741
- }
7742
- ]
7743
- },
7744
7881
  {
7745
7882
  "name": "van-progress",
7746
7883
  "slots": [],
@@ -7839,30 +7976,54 @@
7839
7976
  ]
7840
7977
  },
7841
7978
  {
7842
- "name": "van-overlay",
7979
+ "name": "van-pull-refresh",
7843
7980
  "slots": [
7844
7981
  {
7845
7982
  "name": "default",
7846
7983
  "description": "Default slot"
7984
+ },
7985
+ {
7986
+ "name": "normal",
7987
+ "description": "Content of head when at normal status"
7988
+ },
7989
+ {
7990
+ "name": "pulling",
7991
+ "description": "Content of head when at pulling"
7992
+ },
7993
+ {
7994
+ "name": "loosing",
7995
+ "description": "Content of head when at loosing"
7996
+ },
7997
+ {
7998
+ "name": "loading",
7999
+ "description": "Content of head when at loading"
8000
+ },
8001
+ {
8002
+ "name": "success",
8003
+ "description": "Content of head when succeed"
7847
8004
  }
7848
8005
  ],
7849
8006
  "events": [
7850
8007
  {
7851
- "name": "click",
7852
- "description": "Emitted when component is clicked",
8008
+ "name": "refresh",
8009
+ "description": "Emitted after pulling refresh",
8010
+ "arguments": []
8011
+ },
8012
+ {
8013
+ "name": "change",
8014
+ "description": "Emitted when draging or status changed",
7853
8015
  "arguments": [
7854
8016
  {
7855
- "name": "event",
7856
- "type": "MouseEvent"
8017
+ "name": "{ status: string, distance: number }"
7857
8018
  }
7858
8019
  ]
7859
8020
  }
7860
8021
  ],
7861
8022
  "attributes": [
7862
8023
  {
7863
- "name": "show",
7864
- "default": "`false`",
7865
- "description": "Whether to show overlay",
8024
+ "name": "v-model",
8025
+ "default": "-",
8026
+ "description": "Loading status",
7866
8027
  "options": [],
7867
8028
  "value": {
7868
8029
  "type": "boolean",
@@ -7870,59 +8031,89 @@
7870
8031
  }
7871
8032
  },
7872
8033
  {
7873
- "name": "z-index",
7874
- "default": "`1`",
7875
- "description": "z-index",
8034
+ "name": "pulling-text",
8035
+ "default": "`Pull to refresh...`",
8036
+ "description": "Text to show when pulling",
7876
8037
  "options": [],
7877
8038
  "value": {
7878
- "type": "number | string",
8039
+ "type": "string",
7879
8040
  "kind": "expression"
7880
8041
  }
7881
8042
  },
7882
8043
  {
7883
- "name": "duration",
7884
- "default": "`0.3`",
7885
- "description": "Animation duration",
8044
+ "name": "loosing-text",
8045
+ "default": "`Loose to refresh...`",
8046
+ "description": "Text to show when loosing",
7886
8047
  "options": [],
7887
8048
  "value": {
7888
- "type": "number | string",
8049
+ "type": "string",
7889
8050
  "kind": "expression"
7890
8051
  }
7891
8052
  },
7892
8053
  {
7893
- "name": "class-name",
8054
+ "name": "loading-text",
8055
+ "default": "`Loading...`",
8056
+ "description": "Text to show when loading",
8057
+ "options": [],
8058
+ "value": {
8059
+ "type": "string",
8060
+ "kind": "expression"
8061
+ }
8062
+ },
8063
+ {
8064
+ "name": "success-text",
7894
8065
  "default": "-",
7895
- "description": "ClassName",
8066
+ "description": "Text to show when loading success",
8067
+ "options": [],
8068
+ "value": {
8069
+ "type": "string",
8070
+ "kind": "expression"
8071
+ }
8072
+ },
8073
+ {
8074
+ "name": "success-duration",
8075
+ "default": "`500`",
8076
+ "description": "Success text display duration(ms)",
8077
+ "options": [],
8078
+ "value": {
8079
+ "type": "number | string",
8080
+ "kind": "expression"
8081
+ }
8082
+ },
8083
+ {
8084
+ "name": "animation-duration",
8085
+ "default": "`300`",
8086
+ "description": "Animation duration",
7896
8087
  "options": [],
7897
8088
  "value": {
7898
- "type": "string",
8089
+ "type": "number | string",
7899
8090
  "kind": "expression"
7900
8091
  }
7901
8092
  },
7902
8093
  {
7903
- "name": "custom-class",
7904
- "default": "-",
7905
- "description": "Custom style",
8094
+ "name": "head-height",
8095
+ "default": "`50`",
8096
+ "description": "Height of head",
7906
8097
  "options": [],
7907
8098
  "value": {
7908
- "type": "object",
8099
+ "type": "number | string",
7909
8100
  "kind": "expression"
7910
8101
  }
7911
8102
  },
7912
8103
  {
7913
- "name": "lock-scroll",
7914
- "default": "`true`",
7915
- "description": "Whether to lock background scroll",
8104
+ "name": "pull-distance",
8105
+ "default": "same as `head-height`",
8106
+ "description": "The distance to trigger the pull refresh",
7916
8107
  "options": [],
7917
8108
  "value": {
7918
- "type": "boolean",
8109
+ "type": "number | string",
7919
8110
  "kind": "expression"
7920
8111
  }
7921
8112
  },
7922
8113
  {
7923
- "name": "lazy-render",
7924
- "default": "`true`",
7925
- "description": "Whether to lazy render util appeared",
8114
+ "name": "disabled",
8115
+ "default": "`false`",
8116
+ "description": "Whether to disable pull refresh",
7926
8117
  "options": [],
7927
8118
  "value": {
7928
8119
  "type": "boolean",
@@ -8096,144 +8287,6 @@
8096
8287
  }
8097
8288
  ]
8098
8289
  },
8099
- {
8100
- "name": "van-pull-refresh",
8101
- "slots": [
8102
- {
8103
- "name": "default",
8104
- "description": "Default slot"
8105
- },
8106
- {
8107
- "name": "normal",
8108
- "description": "Content of head when at normal status"
8109
- },
8110
- {
8111
- "name": "pulling",
8112
- "description": "Content of head when at pulling"
8113
- },
8114
- {
8115
- "name": "loosing",
8116
- "description": "Content of head when at loosing"
8117
- },
8118
- {
8119
- "name": "loading",
8120
- "description": "Content of head when at loading"
8121
- },
8122
- {
8123
- "name": "success",
8124
- "description": "Content of head when succeed"
8125
- }
8126
- ],
8127
- "events": [
8128
- {
8129
- "name": "refresh",
8130
- "description": "Emitted after pulling refresh",
8131
- "arguments": []
8132
- }
8133
- ],
8134
- "attributes": [
8135
- {
8136
- "name": "v-model",
8137
- "default": "-",
8138
- "description": "Loading status",
8139
- "options": [],
8140
- "value": {
8141
- "type": "boolean",
8142
- "kind": "expression"
8143
- }
8144
- },
8145
- {
8146
- "name": "pulling-text",
8147
- "default": "`Pull to refresh...`",
8148
- "description": "Text to show when pulling",
8149
- "options": [],
8150
- "value": {
8151
- "type": "string",
8152
- "kind": "expression"
8153
- }
8154
- },
8155
- {
8156
- "name": "loosing-text",
8157
- "default": "`Loose to refresh...`",
8158
- "description": "Text to show when loosing",
8159
- "options": [],
8160
- "value": {
8161
- "type": "string",
8162
- "kind": "expression"
8163
- }
8164
- },
8165
- {
8166
- "name": "loading-text",
8167
- "default": "`Loading...`",
8168
- "description": "Text to show when loading",
8169
- "options": [],
8170
- "value": {
8171
- "type": "string",
8172
- "kind": "expression"
8173
- }
8174
- },
8175
- {
8176
- "name": "success-text",
8177
- "default": "-",
8178
- "description": "Text to show when loading success",
8179
- "options": [],
8180
- "value": {
8181
- "type": "string",
8182
- "kind": "expression"
8183
- }
8184
- },
8185
- {
8186
- "name": "success-duration",
8187
- "default": "`500`",
8188
- "description": "Success text display duration(ms)",
8189
- "options": [],
8190
- "value": {
8191
- "type": "number | string",
8192
- "kind": "expression"
8193
- }
8194
- },
8195
- {
8196
- "name": "animation-duration",
8197
- "default": "`300`",
8198
- "description": "Animation duration",
8199
- "options": [],
8200
- "value": {
8201
- "type": "number | string",
8202
- "kind": "expression"
8203
- }
8204
- },
8205
- {
8206
- "name": "head-height",
8207
- "default": "`50`",
8208
- "description": "Height of head",
8209
- "options": [],
8210
- "value": {
8211
- "type": "number | string",
8212
- "kind": "expression"
8213
- }
8214
- },
8215
- {
8216
- "name": "pull-distance",
8217
- "default": "same as `head-height`",
8218
- "description": "The distance to trigger the pull refresh",
8219
- "options": [],
8220
- "value": {
8221
- "type": "number | string",
8222
- "kind": "expression"
8223
- }
8224
- },
8225
- {
8226
- "name": "disabled",
8227
- "default": "`false`",
8228
- "description": "Whether to disable pull refresh",
8229
- "options": [],
8230
- "value": {
8231
- "type": "boolean",
8232
- "kind": "expression"
8233
- }
8234
- }
8235
- ]
8236
- },
8237
8290
  {
8238
8291
  "name": "van-rate",
8239
8292
  "slots": [],
@@ -8747,68 +8800,77 @@
8747
8800
  ]
8748
8801
  },
8749
8802
  {
8750
- "name": "van-sidebar",
8751
- "slots": [],
8803
+ "name": "van-share-sheet",
8804
+ "slots": [
8805
+ {
8806
+ "name": "title",
8807
+ "description": "Custom title"
8808
+ },
8809
+ {
8810
+ "name": "description",
8811
+ "description": "Custom description"
8812
+ },
8813
+ {
8814
+ "name": "cancel",
8815
+ "description": "Custom the content of cancel button"
8816
+ }
8817
+ ],
8752
8818
  "events": [
8753
8819
  {
8754
- "name": "change",
8755
- "description": "Emitted when chosen item changed",
8820
+ "name": "select",
8821
+ "description": "Emitted when an option is clicked",
8756
8822
  "arguments": [
8823
+ {
8824
+ "name": "option",
8825
+ "type": "Option"
8826
+ },
8757
8827
  {
8758
8828
  "name": "index",
8759
8829
  "type": "number"
8760
8830
  }
8761
8831
  ]
8762
- }
8763
- ],
8764
- "attributes": [
8832
+ },
8765
8833
  {
8766
- "name": "v-model",
8767
- "default": "`0`",
8768
- "description": "Index of chosen item",
8769
- "options": [],
8770
- "value": {
8771
- "type": "number | string",
8772
- "kind": "expression"
8773
- }
8774
- }
8775
- ]
8776
- },
8777
- {
8778
- "name": "van-sidebar-item",
8779
- "slots": [
8834
+ "name": "cancel",
8835
+ "description": "Emitted when the cancel button is clicked",
8836
+ "arguments": []
8837
+ },
8780
8838
  {
8781
- "name": "title",
8782
- "description": "Custom item title"
8783
- }
8784
- ],
8785
- "events": [
8839
+ "name": "open",
8840
+ "description": "Emitted when opening ShareSheet",
8841
+ "arguments": []
8842
+ },
8786
8843
  {
8787
- "name": "click",
8788
- "description": "Emitted when an item is clicked",
8844
+ "name": "close",
8845
+ "description": "Emitted when closing ShareSheet",
8846
+ "arguments": []
8847
+ },
8848
+ {
8849
+ "name": "opened",
8850
+ "description": "Emitted when ShareSheet is opened",
8851
+ "arguments": []
8852
+ },
8853
+ {
8854
+ "name": "closed",
8855
+ "description": "Emitted when ShareSheet is closed",
8856
+ "arguments": []
8857
+ },
8858
+ {
8859
+ "name": "click-overlay",
8860
+ "description": "Emitted when overlay is clicked",
8789
8861
  "arguments": [
8790
8862
  {
8791
- "name": "index",
8792
- "type": "number"
8863
+ "name": "event",
8864
+ "type": "MouseEvent"
8793
8865
  }
8794
8866
  ]
8795
8867
  }
8796
8868
  ],
8797
8869
  "attributes": [
8798
8870
  {
8799
- "name": "title",
8800
- "default": "`''`",
8801
- "description": "Content",
8802
- "options": [],
8803
- "value": {
8804
- "type": "string",
8805
- "kind": "expression"
8806
- }
8807
- },
8808
- {
8809
- "name": "dot",
8871
+ "name": "v-model:show",
8810
8872
  "default": "`false`",
8811
- "description": "Whether to show red dot",
8873
+ "description": "Whether to show ShareSheet",
8812
8874
  "options": [],
8813
8875
  "value": {
8814
8876
  "type": "boolean",
@@ -8816,39 +8878,39 @@
8816
8878
  }
8817
8879
  },
8818
8880
  {
8819
- "name": "badge",
8820
- "default": "`''`",
8821
- "description": "Content of the badge",
8881
+ "name": "options",
8882
+ "default": "`[]`",
8883
+ "description": "Share options",
8822
8884
  "options": [],
8823
8885
  "value": {
8824
- "type": "number | string",
8886
+ "type": "Option[]",
8825
8887
  "kind": "expression"
8826
8888
  }
8827
8889
  },
8828
8890
  {
8829
- "name": "badge-props",
8891
+ "name": "title",
8830
8892
  "default": "-",
8831
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
8893
+ "description": "Title",
8832
8894
  "options": [],
8833
8895
  "value": {
8834
- "type": "BadgeProps",
8896
+ "type": "string",
8835
8897
  "kind": "expression"
8836
8898
  }
8837
8899
  },
8838
8900
  {
8839
- "name": "disabled",
8840
- "default": "`false`",
8841
- "description": "Whether to be disabled",
8901
+ "name": "cancel-text",
8902
+ "default": "`'Cancel'`",
8903
+ "description": "Cancel button text",
8842
8904
  "options": [],
8843
8905
  "value": {
8844
- "type": "boolean",
8906
+ "type": "string",
8845
8907
  "kind": "expression"
8846
8908
  }
8847
8909
  },
8848
8910
  {
8849
- "name": "url",
8911
+ "name": "description",
8850
8912
  "default": "-",
8851
- "description": "Link",
8913
+ "description": "Description",
8852
8914
  "options": [],
8853
8915
  "value": {
8854
8916
  "type": "string",
@@ -8856,66 +8918,59 @@
8856
8918
  }
8857
8919
  },
8858
8920
  {
8859
- "name": "to",
8860
- "default": "-",
8861
- "description": "Target route of the link, same as to of vue-router",
8921
+ "name": "duration",
8922
+ "default": "`0.3`",
8923
+ "description": "Transition duration, unit second",
8862
8924
  "options": [],
8863
8925
  "value": {
8864
- "type": "string | object",
8926
+ "type": "number | string",
8865
8927
  "kind": "expression"
8866
8928
  }
8867
8929
  },
8868
8930
  {
8869
- "name": "replace",
8870
- "default": "`false`",
8871
- "description": "If true, the navigation will not leave a history record",
8931
+ "name": "round",
8932
+ "default": "`true`",
8933
+ "description": "Whether to show round corner",
8872
8934
  "options": [],
8873
8935
  "value": {
8874
8936
  "type": "boolean",
8875
8937
  "kind": "expression"
8876
8938
  }
8877
- }
8878
- ]
8879
- },
8880
- {
8881
- "name": "van-skeleton",
8882
- "slots": [],
8883
- "events": [],
8884
- "attributes": [
8939
+ },
8885
8940
  {
8886
- "name": "row",
8887
- "default": "`0`",
8888
- "description": "Row count",
8941
+ "name": "overlay",
8942
+ "default": "`true`",
8943
+ "description": "Whether to show overlay",
8889
8944
  "options": [],
8890
8945
  "value": {
8891
- "type": "number | string",
8946
+ "type": "boolean",
8892
8947
  "kind": "expression"
8893
8948
  }
8894
8949
  },
8895
8950
  {
8896
- "name": "row-width",
8897
- "default": "`100%`",
8898
- "description": "Row width, can be array",
8951
+ "name": "overlay-class",
8952
+ "default": "-",
8953
+ "description": "Custom overlay class",
8899
8954
  "options": [],
8900
8955
  "value": {
8901
- "type": "number | string |<br>(number | string)[]",
8956
+ "type": "string | Array | object",
8902
8957
  "kind": "expression"
8903
8958
  }
8904
8959
  },
8905
8960
  {
8906
- "name": "title",
8907
- "default": "`false`",
8908
- "description": "Whether to show title placeholder",
8961
+ "name": "overlay-style",
8962
+ "default": "-",
8963
+ "description": "Custom overlay style",
8909
8964
  "options": [],
8910
8965
  "value": {
8911
- "type": "boolean",
8966
+ "type": "object",
8912
8967
  "kind": "expression"
8913
8968
  }
8914
8969
  },
8915
8970
  {
8916
- "name": "avatar",
8917
- "default": "`false`",
8918
- "description": "Whether to show avatar placeholder",
8971
+ "name": "lock-scroll",
8972
+ "default": "`true`",
8973
+ "description": "Whether to lock background scroll",
8919
8974
  "options": [],
8920
8975
  "value": {
8921
8976
  "type": "boolean",
@@ -8923,9 +8978,9 @@
8923
8978
  }
8924
8979
  },
8925
8980
  {
8926
- "name": "loading",
8981
+ "name": "lazy-render",
8927
8982
  "default": "`true`",
8928
- "description": "Whether to show skeleton, pass `false` to show child component",
8983
+ "description": "Whether to lazy render util appeared",
8929
8984
  "options": [],
8930
8985
  "value": {
8931
8986
  "type": "boolean",
@@ -8933,9 +8988,9 @@
8933
8988
  }
8934
8989
  },
8935
8990
  {
8936
- "name": "animate",
8991
+ "name": "close-on-popstate",
8937
8992
  "default": "`true`",
8938
- "description": "Whether to enable animation",
8993
+ "description": "Whether to close when popstate",
8939
8994
  "options": [],
8940
8995
  "value": {
8941
8996
  "type": "boolean",
@@ -8943,9 +8998,9 @@
8943
8998
  }
8944
8999
  },
8945
9000
  {
8946
- "name": "round",
8947
- "default": "`false`",
8948
- "description": "Whether to show round title and row",
9001
+ "name": "close-on-click-overlay",
9002
+ "default": "`true`",
9003
+ "description": "Whether to close when overlay is clicked",
8949
9004
  "options": [],
8950
9005
  "value": {
8951
9006
  "type": "boolean",
@@ -8953,109 +9008,100 @@
8953
9008
  }
8954
9009
  },
8955
9010
  {
8956
- "name": "title-width",
8957
- "default": "`40%`",
8958
- "description": "Title width",
9011
+ "name": "safe-area-inset-bottom",
9012
+ "default": "`true`",
9013
+ "description": "Whether to enable bottom safe area adaptation",
8959
9014
  "options": [],
8960
9015
  "value": {
8961
- "type": "number | string",
9016
+ "type": "boolean",
8962
9017
  "kind": "expression"
8963
9018
  }
8964
9019
  },
8965
9020
  {
8966
- "name": "avatar-size",
8967
- "default": "`32px`",
8968
- "description": "Size of avatar placeholder",
9021
+ "name": "teleport",
9022
+ "default": "-",
9023
+ "description": "Specifies a target element where ShareSheet will be mounted",
8969
9024
  "options": [],
8970
9025
  "value": {
8971
- "type": "number | string",
9026
+ "type": "string | Element",
8972
9027
  "kind": "expression"
8973
9028
  }
8974
9029
  },
8975
9030
  {
8976
- "name": "avatar-shape",
8977
- "default": "`round`",
8978
- "description": "Shape of avatar placeholder, can be set to `square`",
9031
+ "name": "before-close",
9032
+ "default": "-",
9033
+ "description": "Callback function before close",
8979
9034
  "options": [],
8980
9035
  "value": {
8981
- "type": "string",
9036
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
8982
9037
  "kind": "expression"
8983
9038
  }
8984
9039
  }
8985
9040
  ]
8986
9041
  },
8987
9042
  {
8988
- "name": "van-share-sheet",
8989
- "slots": [
8990
- {
8991
- "name": "title",
8992
- "description": "Custom title"
8993
- },
8994
- {
8995
- "name": "description",
8996
- "description": "Custom description"
8997
- },
8998
- {
8999
- "name": "cancel",
9000
- "description": "Custom the content of cancel button"
9001
- }
9002
- ],
9043
+ "name": "van-sidebar",
9044
+ "slots": [],
9003
9045
  "events": [
9004
9046
  {
9005
- "name": "select",
9006
- "description": "Emitted when an option is clicked",
9047
+ "name": "change",
9048
+ "description": "Emitted when chosen item changed",
9007
9049
  "arguments": [
9008
- {
9009
- "name": "option",
9010
- "type": "Option"
9011
- },
9012
9050
  {
9013
9051
  "name": "index",
9014
9052
  "type": "number"
9015
9053
  }
9016
9054
  ]
9017
- },
9018
- {
9019
- "name": "cancel",
9020
- "description": "Emitted when the cancel button is clicked",
9021
- "arguments": []
9022
- },
9023
- {
9024
- "name": "open",
9025
- "description": "Emitted when opening ShareSheet",
9026
- "arguments": []
9027
- },
9028
- {
9029
- "name": "close",
9030
- "description": "Emitted when closing ShareSheet",
9031
- "arguments": []
9032
- },
9055
+ }
9056
+ ],
9057
+ "attributes": [
9033
9058
  {
9034
- "name": "opened",
9035
- "description": "Emitted when ShareSheet is opened",
9036
- "arguments": []
9037
- },
9059
+ "name": "v-model",
9060
+ "default": "`0`",
9061
+ "description": "Index of chosen item",
9062
+ "options": [],
9063
+ "value": {
9064
+ "type": "number | string",
9065
+ "kind": "expression"
9066
+ }
9067
+ }
9068
+ ]
9069
+ },
9070
+ {
9071
+ "name": "van-sidebar-item",
9072
+ "slots": [
9038
9073
  {
9039
- "name": "closed",
9040
- "description": "Emitted when ShareSheet is closed",
9041
- "arguments": []
9042
- },
9074
+ "name": "title",
9075
+ "description": "Custom item title"
9076
+ }
9077
+ ],
9078
+ "events": [
9043
9079
  {
9044
- "name": "click-overlay",
9045
- "description": "Emitted when overlay is clicked",
9080
+ "name": "click",
9081
+ "description": "Emitted when an item is clicked",
9046
9082
  "arguments": [
9047
9083
  {
9048
- "name": "event",
9049
- "type": "MouseEvent"
9084
+ "name": "index",
9085
+ "type": "number"
9050
9086
  }
9051
9087
  ]
9052
9088
  }
9053
9089
  ],
9054
9090
  "attributes": [
9055
9091
  {
9056
- "name": "v-model:show",
9092
+ "name": "title",
9093
+ "default": "`''`",
9094
+ "description": "Content",
9095
+ "options": [],
9096
+ "value": {
9097
+ "type": "string",
9098
+ "kind": "expression"
9099
+ }
9100
+ },
9101
+ {
9102
+ "name": "dot",
9057
9103
  "default": "`false`",
9058
- "description": "Whether to show ShareSheet",
9104
+ "description": "Whether to show red dot",
9059
9105
  "options": [],
9060
9106
  "value": {
9061
9107
  "type": "boolean",
@@ -9063,39 +9109,39 @@
9063
9109
  }
9064
9110
  },
9065
9111
  {
9066
- "name": "options",
9067
- "default": "`[]`",
9068
- "description": "Share options",
9112
+ "name": "badge",
9113
+ "default": "`''`",
9114
+ "description": "Content of the badge",
9069
9115
  "options": [],
9070
9116
  "value": {
9071
- "type": "Option[]",
9117
+ "type": "number | string",
9072
9118
  "kind": "expression"
9073
9119
  }
9074
9120
  },
9075
9121
  {
9076
- "name": "title",
9122
+ "name": "badge-props",
9077
9123
  "default": "-",
9078
- "description": "Title",
9124
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
9079
9125
  "options": [],
9080
9126
  "value": {
9081
- "type": "string",
9127
+ "type": "BadgeProps",
9082
9128
  "kind": "expression"
9083
9129
  }
9084
9130
  },
9085
9131
  {
9086
- "name": "cancel-text",
9087
- "default": "`'Cancel'`",
9088
- "description": "Cancel button text",
9132
+ "name": "disabled",
9133
+ "default": "`false`",
9134
+ "description": "Whether to be disabled",
9089
9135
  "options": [],
9090
9136
  "value": {
9091
- "type": "string",
9137
+ "type": "boolean",
9092
9138
  "kind": "expression"
9093
9139
  }
9094
9140
  },
9095
9141
  {
9096
- "name": "description",
9142
+ "name": "url",
9097
9143
  "default": "-",
9098
- "description": "Description",
9144
+ "description": "Link",
9099
9145
  "options": [],
9100
9146
  "value": {
9101
9147
  "type": "string",
@@ -9103,59 +9149,66 @@
9103
9149
  }
9104
9150
  },
9105
9151
  {
9106
- "name": "duration",
9107
- "default": "`0.3`",
9108
- "description": "Transition duration, unit second",
9152
+ "name": "to",
9153
+ "default": "-",
9154
+ "description": "Target route of the link, same as to of vue-router",
9109
9155
  "options": [],
9110
9156
  "value": {
9111
- "type": "number | string",
9157
+ "type": "string | object",
9112
9158
  "kind": "expression"
9113
9159
  }
9114
9160
  },
9115
9161
  {
9116
- "name": "round",
9117
- "default": "`true`",
9118
- "description": "Whether to show round corner",
9162
+ "name": "replace",
9163
+ "default": "`false`",
9164
+ "description": "If true, the navigation will not leave a history record",
9119
9165
  "options": [],
9120
9166
  "value": {
9121
9167
  "type": "boolean",
9122
9168
  "kind": "expression"
9123
9169
  }
9124
- },
9170
+ }
9171
+ ]
9172
+ },
9173
+ {
9174
+ "name": "van-skeleton",
9175
+ "slots": [],
9176
+ "events": [],
9177
+ "attributes": [
9125
9178
  {
9126
- "name": "overlay",
9127
- "default": "`true`",
9128
- "description": "Whether to show overlay",
9179
+ "name": "row",
9180
+ "default": "`0`",
9181
+ "description": "Row count",
9129
9182
  "options": [],
9130
9183
  "value": {
9131
- "type": "boolean",
9184
+ "type": "number | string",
9132
9185
  "kind": "expression"
9133
9186
  }
9134
9187
  },
9135
9188
  {
9136
- "name": "overlay-class",
9137
- "default": "-",
9138
- "description": "Custom overlay class",
9189
+ "name": "row-width",
9190
+ "default": "`100%`",
9191
+ "description": "Row width, can be array",
9139
9192
  "options": [],
9140
9193
  "value": {
9141
- "type": "string | Array | object",
9194
+ "type": "number | string |<br>(number | string)[]",
9142
9195
  "kind": "expression"
9143
9196
  }
9144
9197
  },
9145
9198
  {
9146
- "name": "overlay-style",
9147
- "default": "-",
9148
- "description": "Custom overlay style",
9199
+ "name": "title",
9200
+ "default": "`false`",
9201
+ "description": "Whether to show title placeholder",
9149
9202
  "options": [],
9150
9203
  "value": {
9151
- "type": "object",
9204
+ "type": "boolean",
9152
9205
  "kind": "expression"
9153
9206
  }
9154
9207
  },
9155
9208
  {
9156
- "name": "lock-scroll",
9157
- "default": "`true`",
9158
- "description": "Whether to lock background scroll",
9209
+ "name": "avatar",
9210
+ "default": "`false`",
9211
+ "description": "Whether to show avatar placeholder",
9159
9212
  "options": [],
9160
9213
  "value": {
9161
9214
  "type": "boolean",
@@ -9163,9 +9216,9 @@
9163
9216
  }
9164
9217
  },
9165
9218
  {
9166
- "name": "lazy-render",
9219
+ "name": "loading",
9167
9220
  "default": "`true`",
9168
- "description": "Whether to lazy render util appeared",
9221
+ "description": "Whether to show skeleton, pass `false` to show child component",
9169
9222
  "options": [],
9170
9223
  "value": {
9171
9224
  "type": "boolean",
@@ -9173,9 +9226,9 @@
9173
9226
  }
9174
9227
  },
9175
9228
  {
9176
- "name": "close-on-popstate",
9229
+ "name": "animate",
9177
9230
  "default": "`true`",
9178
- "description": "Whether to close when popstate",
9231
+ "description": "Whether to enable animation",
9179
9232
  "options": [],
9180
9233
  "value": {
9181
9234
  "type": "boolean",
@@ -9183,9 +9236,9 @@
9183
9236
  }
9184
9237
  },
9185
9238
  {
9186
- "name": "close-on-click-overlay",
9187
- "default": "`true`",
9188
- "description": "Whether to close when overlay is clicked",
9239
+ "name": "round",
9240
+ "default": "`false`",
9241
+ "description": "Whether to show round title and row",
9189
9242
  "options": [],
9190
9243
  "value": {
9191
9244
  "type": "boolean",
@@ -9193,32 +9246,32 @@
9193
9246
  }
9194
9247
  },
9195
9248
  {
9196
- "name": "safe-area-inset-bottom",
9197
- "default": "`true`",
9198
- "description": "Whether to enable bottom safe area adaptation",
9249
+ "name": "title-width",
9250
+ "default": "`40%`",
9251
+ "description": "Title width",
9199
9252
  "options": [],
9200
9253
  "value": {
9201
- "type": "boolean",
9254
+ "type": "number | string",
9202
9255
  "kind": "expression"
9203
9256
  }
9204
9257
  },
9205
9258
  {
9206
- "name": "teleport",
9207
- "default": "-",
9208
- "description": "Specifies a target element where ShareSheet will be mounted",
9259
+ "name": "avatar-size",
9260
+ "default": "`32px`",
9261
+ "description": "Size of avatar placeholder",
9209
9262
  "options": [],
9210
9263
  "value": {
9211
- "type": "string | Element",
9264
+ "type": "number | string",
9212
9265
  "kind": "expression"
9213
9266
  }
9214
9267
  },
9215
9268
  {
9216
- "name": "before-close",
9217
- "default": "-",
9218
- "description": "Callback function before close",
9269
+ "name": "avatar-shape",
9270
+ "default": "`round`",
9271
+ "description": "Shape of avatar placeholder, can be set to `square`",
9219
9272
  "options": [],
9220
9273
  "value": {
9221
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
9274
+ "type": "string",
9222
9275
  "kind": "expression"
9223
9276
  }
9224
9277
  }
@@ -9530,39 +9583,227 @@
9530
9583
  }
9531
9584
  },
9532
9585
  {
9533
- "name": "input-width",
9534
- "default": "`32px`",
9535
- "description": "Input width",
9586
+ "name": "input-width",
9587
+ "default": "`32px`",
9588
+ "description": "Input width",
9589
+ "options": [],
9590
+ "value": {
9591
+ "type": "number | string",
9592
+ "kind": "expression"
9593
+ }
9594
+ },
9595
+ {
9596
+ "name": "button-size",
9597
+ "default": "`28px`",
9598
+ "description": "Button size",
9599
+ "options": [],
9600
+ "value": {
9601
+ "type": "number | string",
9602
+ "kind": "expression"
9603
+ }
9604
+ },
9605
+ {
9606
+ "name": "decimal-length",
9607
+ "default": "-",
9608
+ "description": "Decimal length",
9609
+ "options": [],
9610
+ "value": {
9611
+ "type": "number | string",
9612
+ "kind": "expression"
9613
+ }
9614
+ },
9615
+ {
9616
+ "name": "theme",
9617
+ "default": "-",
9618
+ "description": "Theme, can be set to `round`",
9619
+ "options": [],
9620
+ "value": {
9621
+ "type": "string",
9622
+ "kind": "expression"
9623
+ }
9624
+ },
9625
+ {
9626
+ "name": "placeholder",
9627
+ "default": "-",
9628
+ "description": "Input placeholder",
9629
+ "options": [],
9630
+ "value": {
9631
+ "type": "string",
9632
+ "kind": "expression"
9633
+ }
9634
+ },
9635
+ {
9636
+ "name": "integer",
9637
+ "default": "`false`",
9638
+ "description": "Whether to allow only integers",
9639
+ "options": [],
9640
+ "value": {
9641
+ "type": "boolean",
9642
+ "kind": "expression"
9643
+ }
9644
+ },
9645
+ {
9646
+ "name": "disabled",
9647
+ "default": "`false`",
9648
+ "description": "Whether to disable value change",
9649
+ "options": [],
9650
+ "value": {
9651
+ "type": "boolean",
9652
+ "kind": "expression"
9653
+ }
9654
+ },
9655
+ {
9656
+ "name": "disable-plus",
9657
+ "default": "`false`",
9658
+ "description": "Whether to disable plus button",
9659
+ "options": [],
9660
+ "value": {
9661
+ "type": "boolean",
9662
+ "kind": "expression"
9663
+ }
9664
+ },
9665
+ {
9666
+ "name": "disable-minus",
9667
+ "default": "`false`",
9668
+ "description": "Whether to disable minus button",
9669
+ "options": [],
9670
+ "value": {
9671
+ "type": "boolean",
9672
+ "kind": "expression"
9673
+ }
9674
+ },
9675
+ {
9676
+ "name": "disable-input",
9677
+ "default": "`false`",
9678
+ "description": "Whether to disable input",
9679
+ "options": [],
9680
+ "value": {
9681
+ "type": "boolean",
9682
+ "kind": "expression"
9683
+ }
9684
+ },
9685
+ {
9686
+ "name": "before-change",
9687
+ "default": "`false`",
9688
+ "description": "Callback function before changing, return `false` to prevent change, support return Promise",
9689
+ "options": [],
9690
+ "value": {
9691
+ "type": "(value: number | string) => boolean | Promise\\<boolean\\>",
9692
+ "kind": "expression"
9693
+ }
9694
+ },
9695
+ {
9696
+ "name": "show-plus",
9697
+ "default": "`true`",
9698
+ "description": "Whether to show plus button",
9699
+ "options": [],
9700
+ "value": {
9701
+ "type": "boolean",
9702
+ "kind": "expression"
9703
+ }
9704
+ },
9705
+ {
9706
+ "name": "show-minus",
9707
+ "default": "`true`",
9708
+ "description": "Whether to show minus button",
9709
+ "options": [],
9710
+ "value": {
9711
+ "type": "boolean",
9712
+ "kind": "expression"
9713
+ }
9714
+ },
9715
+ {
9716
+ "name": "show-input",
9717
+ "default": "`true`",
9718
+ "description": "Whether to show input",
9719
+ "options": [],
9720
+ "value": {
9721
+ "type": "boolean",
9722
+ "kind": "expression"
9723
+ }
9724
+ },
9725
+ {
9726
+ "name": "long-press",
9727
+ "default": "`true`",
9728
+ "description": "Whether to enable the long press gesture, when enabled you can long press the increase and decrease buttons",
9729
+ "options": [],
9730
+ "value": {
9731
+ "type": "boolean",
9732
+ "kind": "expression"
9733
+ }
9734
+ },
9735
+ {
9736
+ "name": "allow-empty",
9737
+ "default": "`false`",
9738
+ "description": "Whether to allow the input value to be empty, set to `true` to allow an empty string to be passed in",
9739
+ "options": [],
9740
+ "value": {
9741
+ "type": "boolean",
9742
+ "kind": "expression"
9743
+ }
9744
+ }
9745
+ ]
9746
+ },
9747
+ {
9748
+ "name": "van-steps",
9749
+ "slots": [],
9750
+ "events": [
9751
+ {
9752
+ "name": "click-step",
9753
+ "description": "Emitted when a step's title or icon is clicked",
9754
+ "arguments": [
9755
+ {
9756
+ "name": "index",
9757
+ "type": "number"
9758
+ }
9759
+ ]
9760
+ }
9761
+ ],
9762
+ "attributes": [
9763
+ {
9764
+ "name": "active",
9765
+ "default": "`0`",
9766
+ "description": "Active step",
9767
+ "options": [],
9768
+ "value": {
9769
+ "type": "number | string",
9770
+ "kind": "expression"
9771
+ }
9772
+ },
9773
+ {
9774
+ "name": "direction",
9775
+ "default": "`horizontal`",
9776
+ "description": "Can be set to `vertical`",
9536
9777
  "options": [],
9537
9778
  "value": {
9538
- "type": "number | string",
9779
+ "type": "string",
9539
9780
  "kind": "expression"
9540
9781
  }
9541
9782
  },
9542
9783
  {
9543
- "name": "button-size",
9544
- "default": "`28px`",
9545
- "description": "Button size",
9784
+ "name": "active-color",
9785
+ "default": "`#07c160`",
9786
+ "description": "Active step color",
9546
9787
  "options": [],
9547
9788
  "value": {
9548
- "type": "number | string",
9789
+ "type": "string",
9549
9790
  "kind": "expression"
9550
9791
  }
9551
9792
  },
9552
9793
  {
9553
- "name": "decimal-length",
9554
- "default": "-",
9555
- "description": "Decimal length",
9794
+ "name": "inactive-color",
9795
+ "default": "`#969799`",
9796
+ "description": "Inactive step color",
9556
9797
  "options": [],
9557
9798
  "value": {
9558
- "type": "number | string",
9799
+ "type": "string",
9559
9800
  "kind": "expression"
9560
9801
  }
9561
9802
  },
9562
9803
  {
9563
- "name": "theme",
9564
- "default": "-",
9565
- "description": "Theme, can be set to `round`",
9804
+ "name": "active-icon",
9805
+ "default": "`checked`",
9806
+ "description": "Active icon name",
9566
9807
  "options": [],
9567
9808
  "value": {
9568
9809
  "type": "string",
@@ -9570,9 +9811,9 @@
9570
9811
  }
9571
9812
  },
9572
9813
  {
9573
- "name": "placeholder",
9814
+ "name": "inactive-icon",
9574
9815
  "default": "-",
9575
- "description": "Input placeholder",
9816
+ "description": "Inactive icon name",
9576
9817
  "options": [],
9577
9818
  "value": {
9578
9819
  "type": "string",
@@ -9580,112 +9821,122 @@
9580
9821
  }
9581
9822
  },
9582
9823
  {
9583
- "name": "integer",
9584
- "default": "`false`",
9585
- "description": "Whether to allow only integers",
9824
+ "name": "finish-icon",
9825
+ "default": "-",
9826
+ "description": "Finish icon name",
9586
9827
  "options": [],
9587
9828
  "value": {
9588
- "type": "boolean",
9829
+ "type": "string",
9589
9830
  "kind": "expression"
9590
9831
  }
9591
9832
  },
9592
9833
  {
9593
- "name": "disabled",
9594
- "default": "`false`",
9595
- "description": "Whether to disable value change",
9834
+ "name": "icon-prefix",
9835
+ "default": "`van-icon`",
9836
+ "description": "Icon className prefix",
9596
9837
  "options": [],
9597
9838
  "value": {
9598
- "type": "boolean",
9839
+ "type": "string",
9599
9840
  "kind": "expression"
9600
9841
  }
9601
- },
9842
+ }
9843
+ ]
9844
+ },
9845
+ {
9846
+ "name": "van-step",
9847
+ "slots": [
9602
9848
  {
9603
- "name": "disable-plus",
9604
- "default": "`false`",
9605
- "description": "Whether to disable plus button",
9606
- "options": [],
9607
- "value": {
9608
- "type": "boolean",
9609
- "kind": "expression"
9610
- }
9849
+ "name": "default",
9850
+ "description": "Step content"
9611
9851
  },
9612
9852
  {
9613
- "name": "disable-minus",
9614
- "default": "`false`",
9615
- "description": "Whether to disable minus button",
9616
- "options": [],
9617
- "value": {
9618
- "type": "boolean",
9619
- "kind": "expression"
9620
- }
9853
+ "name": "active-icon",
9854
+ "description": "Custom active icon"
9621
9855
  },
9622
9856
  {
9623
- "name": "disable-input",
9624
- "default": "`false`",
9625
- "description": "Whether to disable input",
9626
- "options": [],
9627
- "value": {
9628
- "type": "boolean",
9629
- "kind": "expression"
9630
- }
9857
+ "name": "inactive-icon",
9858
+ "description": "Custom inactive icon"
9631
9859
  },
9632
9860
  {
9633
- "name": "before-change",
9634
- "default": "`false`",
9635
- "description": "Callback function before changing, return `false` to prevent change, support return Promise",
9636
- "options": [],
9637
- "value": {
9638
- "type": "(value: number | string) => boolean | Promise\\<boolean\\>",
9639
- "kind": "expression"
9640
- }
9861
+ "name": "finish-icon",
9862
+ "description": "Custom finish icon"
9863
+ }
9864
+ ],
9865
+ "events": [],
9866
+ "attributes": []
9867
+ },
9868
+ {
9869
+ "name": "van-sticky",
9870
+ "slots": [],
9871
+ "events": [
9872
+ {
9873
+ "name": "change",
9874
+ "description": "Emitted when sticky status changed",
9875
+ "arguments": [
9876
+ {
9877
+ "name": "isFixed",
9878
+ "type": "boolean"
9879
+ }
9880
+ ]
9641
9881
  },
9642
9882
  {
9643
- "name": "show-plus",
9644
- "default": "`true`",
9645
- "description": "Whether to show plus button",
9883
+ "name": "scroll",
9884
+ "description": "Emitted when scrolling",
9885
+ "arguments": [
9886
+ {
9887
+ "name": "{ scrollTop: number, isFixed: boolean }"
9888
+ }
9889
+ ]
9890
+ }
9891
+ ],
9892
+ "attributes": [
9893
+ {
9894
+ "name": "position",
9895
+ "default": "`top`",
9896
+ "description": "Offset position, can be set to `bottom`",
9646
9897
  "options": [],
9647
9898
  "value": {
9648
- "type": "boolean",
9899
+ "type": "string",
9649
9900
  "kind": "expression"
9650
9901
  }
9651
9902
  },
9652
9903
  {
9653
- "name": "show-minus",
9654
- "default": "`true`",
9655
- "description": "Whether to show minus button",
9904
+ "name": "offset-top",
9905
+ "default": "`0`",
9906
+ "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
9656
9907
  "options": [],
9657
9908
  "value": {
9658
- "type": "boolean",
9909
+ "type": "number | string",
9659
9910
  "kind": "expression"
9660
9911
  }
9661
9912
  },
9662
9913
  {
9663
- "name": "show-input",
9664
- "default": "`true`",
9665
- "description": "Whether to show input",
9914
+ "name": "offset-bottom",
9915
+ "default": "`0`",
9916
+ "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
9666
9917
  "options": [],
9667
9918
  "value": {
9668
- "type": "boolean",
9919
+ "type": "number | string",
9669
9920
  "kind": "expression"
9670
9921
  }
9671
9922
  },
9672
9923
  {
9673
- "name": "long-press",
9674
- "default": "`true`",
9675
- "description": "Whether to allow long press",
9924
+ "name": "z-index",
9925
+ "default": "`99`",
9926
+ "description": "z-index when sticky",
9676
9927
  "options": [],
9677
9928
  "value": {
9678
- "type": "boolean",
9929
+ "type": "number | string",
9679
9930
  "kind": "expression"
9680
9931
  }
9681
9932
  },
9682
9933
  {
9683
- "name": "allow-empty",
9684
- "default": "`false`",
9685
- "description": "Whether to allow the input to be empty",
9934
+ "name": "container",
9935
+ "default": "-",
9936
+ "description": "Container DOM",
9686
9937
  "options": [],
9687
9938
  "value": {
9688
- "type": "boolean",
9939
+ "type": "Element",
9689
9940
  "kind": "expression"
9690
9941
  }
9691
9942
  }
@@ -9840,148 +10091,37 @@
9840
10091
  }
9841
10092
  },
9842
10093
  {
9843
- "name": "loading",
9844
- "default": "`false`",
9845
- "description": "Whether to show loading icon",
9846
- "options": [],
9847
- "value": {
9848
- "type": "boolean",
9849
- "kind": "expression"
9850
- }
9851
- },
9852
- {
9853
- "name": "safe-area-inset-bottom",
9854
- "default": "`true`",
9855
- "description": "Whether to enable bottom safe area adaptation",
9856
- "options": [],
9857
- "value": {
9858
- "type": "boolean",
9859
- "kind": "expression"
9860
- }
9861
- }
9862
- ]
9863
- },
9864
- {
9865
- "name": "van-steps",
9866
- "slots": [],
9867
- "events": [
9868
- {
9869
- "name": "click-step",
9870
- "description": "Emitted when a step's title or icon is clicked",
9871
- "arguments": [
9872
- {
9873
- "name": "index",
9874
- "type": "number"
9875
- }
9876
- ]
9877
- }
9878
- ],
9879
- "attributes": [
9880
- {
9881
- "name": "active",
9882
- "default": "`0`",
9883
- "description": "Active step",
9884
- "options": [],
9885
- "value": {
9886
- "type": "number | string",
9887
- "kind": "expression"
9888
- }
9889
- },
9890
- {
9891
- "name": "direction",
9892
- "default": "`horizontal`",
9893
- "description": "Can be set to `vertical`",
9894
- "options": [],
9895
- "value": {
9896
- "type": "string",
9897
- "kind": "expression"
9898
- }
9899
- },
9900
- {
9901
- "name": "active-color",
9902
- "default": "`#07c160`",
9903
- "description": "Active step color",
9904
- "options": [],
9905
- "value": {
9906
- "type": "string",
9907
- "kind": "expression"
9908
- }
9909
- },
9910
- {
9911
- "name": "inactive-color",
9912
- "default": "`#969799`",
9913
- "description": "Inactive step color",
9914
- "options": [],
9915
- "value": {
9916
- "type": "string",
9917
- "kind": "expression"
9918
- }
9919
- },
9920
- {
9921
- "name": "active-icon",
9922
- "default": "`checked`",
9923
- "description": "Active icon name",
9924
- "options": [],
9925
- "value": {
9926
- "type": "string",
9927
- "kind": "expression"
9928
- }
9929
- },
9930
- {
9931
- "name": "inactive-icon",
9932
- "default": "-",
9933
- "description": "Inactive icon name",
10094
+ "name": "loading",
10095
+ "default": "`false`",
10096
+ "description": "Whether to show loading icon",
9934
10097
  "options": [],
9935
10098
  "value": {
9936
- "type": "string",
10099
+ "type": "boolean",
9937
10100
  "kind": "expression"
9938
10101
  }
9939
10102
  },
9940
10103
  {
9941
- "name": "finish-icon",
9942
- "default": "-",
9943
- "description": "Finish icon name",
10104
+ "name": "safe-area-inset-bottom",
10105
+ "default": "`true`",
10106
+ "description": "Whether to enable bottom safe area adaptation",
9944
10107
  "options": [],
9945
10108
  "value": {
9946
- "type": "string",
10109
+ "type": "boolean",
9947
10110
  "kind": "expression"
9948
10111
  }
9949
10112
  },
9950
10113
  {
9951
- "name": "icon-prefix",
9952
- "default": "`van-icon`",
9953
- "description": "Icon className prefix",
10114
+ "name": "placeholder",
10115
+ "default": "`false`",
10116
+ "description": "Whether to generate a placeholder element",
9954
10117
  "options": [],
9955
10118
  "value": {
9956
- "type": "string",
10119
+ "type": "boolean",
9957
10120
  "kind": "expression"
9958
10121
  }
9959
10122
  }
9960
10123
  ]
9961
10124
  },
9962
- {
9963
- "name": "van-step",
9964
- "slots": [
9965
- {
9966
- "name": "default",
9967
- "description": "Step content"
9968
- },
9969
- {
9970
- "name": "active-icon",
9971
- "description": "Custom active icon"
9972
- },
9973
- {
9974
- "name": "inactive-icon",
9975
- "description": "Custom inactive icon"
9976
- },
9977
- {
9978
- "name": "finish-icon",
9979
- "description": "Custom finish icon"
9980
- }
9981
- ],
9982
- "events": [],
9983
- "attributes": []
9984
- },
9985
10125
  {
9986
10126
  "name": "van-swipe",
9987
10127
  "slots": [
@@ -10147,44 +10287,68 @@
10147
10287
  "attributes": []
10148
10288
  },
10149
10289
  {
10150
- "name": "van-sticky",
10151
- "slots": [],
10290
+ "name": "van-swipe-cell",
10291
+ "slots": [
10292
+ {
10293
+ "name": "default",
10294
+ "description": "custom content"
10295
+ },
10296
+ {
10297
+ "name": "left",
10298
+ "description": "content of left scrollable area"
10299
+ },
10300
+ {
10301
+ "name": "right",
10302
+ "description": "content of right scrollable area"
10303
+ }
10304
+ ],
10152
10305
  "events": [
10153
10306
  {
10154
- "name": "change",
10155
- "description": "Emitted when sticky status changed",
10307
+ "name": "click",
10308
+ "description": "Emitted when SwipeCell is clicked",
10156
10309
  "arguments": [
10157
10310
  {
10158
- "name": "isFixed",
10159
- "type": "boolean"
10311
+ "name": "position",
10312
+ "type": "'left' | 'right' | 'cell' | 'outside'"
10160
10313
  }
10161
10314
  ]
10162
10315
  },
10163
10316
  {
10164
- "name": "scroll",
10165
- "description": "Emitted when scrolling",
10317
+ "name": "open",
10318
+ "description": "Emitted when SwipeCell is opened",
10166
10319
  "arguments": [
10167
10320
  {
10168
- "name": "{ scrollTop: number, isFixed: boolean }"
10321
+ "name": "value",
10322
+ "type": "{ name: string | number, position: 'left' | 'right' }"
10323
+ }
10324
+ ]
10325
+ },
10326
+ {
10327
+ "name": "close",
10328
+ "description": "Emitted when SwipeCell is closed",
10329
+ "arguments": [
10330
+ {
10331
+ "name": "value",
10332
+ "type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
10169
10333
  }
10170
10334
  ]
10171
10335
  }
10172
10336
  ],
10173
10337
  "attributes": [
10174
10338
  {
10175
- "name": "position",
10176
- "default": "`top`",
10177
- "description": "Offset position, can be set to `bottom`",
10339
+ "name": "name",
10340
+ "default": "-",
10341
+ "description": "Identifier of SwipeCell",
10178
10342
  "options": [],
10179
10343
  "value": {
10180
- "type": "string",
10344
+ "type": "number | string",
10181
10345
  "kind": "expression"
10182
10346
  }
10183
10347
  },
10184
10348
  {
10185
- "name": "offset-top",
10186
- "default": "`0`",
10187
- "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
10349
+ "name": "left-width",
10350
+ "default": "`auto`",
10351
+ "description": "Width of the left swipe area",
10188
10352
  "options": [],
10189
10353
  "value": {
10190
10354
  "type": "number | string",
@@ -10192,9 +10356,9 @@
10192
10356
  }
10193
10357
  },
10194
10358
  {
10195
- "name": "offset-bottom",
10196
- "default": "`0`",
10197
- "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
10359
+ "name": "right-width",
10360
+ "default": "`auto`",
10361
+ "description": "Width of the right swipe area",
10198
10362
  "options": [],
10199
10363
  "value": {
10200
10364
  "type": "number | string",
@@ -10202,22 +10366,32 @@
10202
10366
  }
10203
10367
  },
10204
10368
  {
10205
- "name": "z-index",
10206
- "default": "`99`",
10207
- "description": "z-index when sticky",
10369
+ "name": "before-close",
10370
+ "default": "-",
10371
+ "description": "Callback function before close",
10208
10372
  "options": [],
10209
10373
  "value": {
10210
- "type": "number | string",
10374
+ "type": "(args) => boolean | Promise\\<boolean\\>",
10211
10375
  "kind": "expression"
10212
10376
  }
10213
10377
  },
10214
10378
  {
10215
- "name": "container",
10216
- "default": "-",
10217
- "description": "Container DOM",
10379
+ "name": "disabled",
10380
+ "default": "`false`",
10381
+ "description": "Whether to disabled swipe",
10218
10382
  "options": [],
10219
10383
  "value": {
10220
- "type": "Element",
10384
+ "type": "boolean",
10385
+ "kind": "expression"
10386
+ }
10387
+ },
10388
+ {
10389
+ "name": "stop-propagation",
10390
+ "default": "`false`",
10391
+ "description": "Whether to stop touchmove event propagation",
10392
+ "options": [],
10393
+ "value": {
10394
+ "type": "boolean",
10221
10395
  "kind": "expression"
10222
10396
  }
10223
10397
  }
@@ -10225,7 +10399,16 @@
10225
10399
  },
10226
10400
  {
10227
10401
  "name": "van-switch",
10228
- "slots": [],
10402
+ "slots": [
10403
+ {
10404
+ "name": "node",
10405
+ "description": "Custom the content of node"
10406
+ },
10407
+ {
10408
+ "name": "background",
10409
+ "description": "Custom the background of switch"
10410
+ }
10411
+ ],
10229
10412
  "events": [
10230
10413
  {
10231
10414
  "name": "change",
@@ -10331,117 +10514,6 @@
10331
10514
  }
10332
10515
  ]
10333
10516
  },
10334
- {
10335
- "name": "van-swipe-cell",
10336
- "slots": [
10337
- {
10338
- "name": "default",
10339
- "description": "custom content"
10340
- },
10341
- {
10342
- "name": "left",
10343
- "description": "content of left scrollable area"
10344
- },
10345
- {
10346
- "name": "right",
10347
- "description": "content of right scrollable area"
10348
- }
10349
- ],
10350
- "events": [
10351
- {
10352
- "name": "click",
10353
- "description": "Emitted when SwipeCell is clicked",
10354
- "arguments": [
10355
- {
10356
- "name": "position",
10357
- "type": "'left' | 'right' | 'cell' | 'outside'"
10358
- }
10359
- ]
10360
- },
10361
- {
10362
- "name": "open",
10363
- "description": "Emitted when SwipeCell is opened",
10364
- "arguments": [
10365
- {
10366
- "name": "value",
10367
- "type": "{ name: string | number, position: 'left' | 'right' }"
10368
- }
10369
- ]
10370
- },
10371
- {
10372
- "name": "close",
10373
- "description": "Emitted when SwipeCell is closed",
10374
- "arguments": [
10375
- {
10376
- "name": "value",
10377
- "type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
10378
- }
10379
- ]
10380
- }
10381
- ],
10382
- "attributes": [
10383
- {
10384
- "name": "name",
10385
- "default": "-",
10386
- "description": "Identifier of SwipeCell",
10387
- "options": [],
10388
- "value": {
10389
- "type": "number | string",
10390
- "kind": "expression"
10391
- }
10392
- },
10393
- {
10394
- "name": "left-width",
10395
- "default": "`auto`",
10396
- "description": "Width of the left swipe area",
10397
- "options": [],
10398
- "value": {
10399
- "type": "number | string",
10400
- "kind": "expression"
10401
- }
10402
- },
10403
- {
10404
- "name": "right-width",
10405
- "default": "`auto`",
10406
- "description": "Width of the right swipe area",
10407
- "options": [],
10408
- "value": {
10409
- "type": "number | string",
10410
- "kind": "expression"
10411
- }
10412
- },
10413
- {
10414
- "name": "before-close",
10415
- "default": "-",
10416
- "description": "Callback function before close",
10417
- "options": [],
10418
- "value": {
10419
- "type": "(args) => boolean | Promise\\<boolean\\>",
10420
- "kind": "expression"
10421
- }
10422
- },
10423
- {
10424
- "name": "disabled",
10425
- "default": "`false`",
10426
- "description": "Whether to disabled swipe",
10427
- "options": [],
10428
- "value": {
10429
- "type": "boolean",
10430
- "kind": "expression"
10431
- }
10432
- },
10433
- {
10434
- "name": "stop-propagation",
10435
- "default": "`false`",
10436
- "description": "Whether to stop touchmove event propagation",
10437
- "options": [],
10438
- "value": {
10439
- "type": "boolean",
10440
- "kind": "expression"
10441
- }
10442
- }
10443
- ]
10444
- },
10445
10517
  {
10446
10518
  "name": "van-tabs",
10447
10519
  "slots": [
@@ -11530,7 +11602,11 @@
11530
11602
  "slots": [
11531
11603
  {
11532
11604
  "name": "default",
11533
- "description": "Custom icon"
11605
+ "description": "Custom upload area"
11606
+ },
11607
+ {
11608
+ "name": "preview-delete",
11609
+ "description": "Custom delete icon"
11534
11610
  },
11535
11611
  {
11536
11612
  "name": "preview-cover",