vant 4.0.0-rc.2 → 4.0.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (406) hide show
  1. package/README.md +4 -5
  2. package/changelog.generated.md +38 -26
  3. package/es/action-bar/index.d.ts +1 -0
  4. package/es/action-bar/types.d.ts +4 -0
  5. package/es/action-bar/types.mjs +0 -0
  6. package/es/action-bar-button/index.d.ts +1 -0
  7. package/es/action-bar-button/types.d.ts +5 -0
  8. package/es/action-bar-button/types.mjs +0 -0
  9. package/es/action-bar-icon/index.d.ts +1 -0
  10. package/es/action-bar-icon/types.d.ts +10 -0
  11. package/es/action-bar-icon/types.mjs +0 -0
  12. package/es/action-sheet/index.d.ts +1 -0
  13. package/es/action-sheet/types.d.ts +23 -0
  14. package/es/action-sheet/types.mjs +0 -0
  15. package/es/address-edit/index.d.ts +1 -1
  16. package/es/address-edit/types.d.ts +6 -0
  17. package/es/address-list/index.d.ts +1 -0
  18. package/es/address-list/types.d.ts +15 -0
  19. package/es/address-list/types.mjs +0 -0
  20. package/es/badge/index.d.ts +1 -0
  21. package/es/badge/types.d.ts +12 -0
  22. package/es/badge/types.mjs +0 -0
  23. package/es/button/index.d.ts +1 -1
  24. package/es/button/types.d.ts +36 -0
  25. package/es/calendar/index.d.ts +1 -1
  26. package/es/calendar/types.d.ts +28 -0
  27. package/es/card/index.d.ts +1 -0
  28. package/es/card/types.d.ts +18 -0
  29. package/es/card/types.mjs +0 -0
  30. package/es/cascader/index.d.ts +1 -1
  31. package/es/cascader/types.d.ts +15 -0
  32. package/es/cell/index.d.ts +1 -0
  33. package/es/cell/types.d.ts +21 -0
  34. package/es/cell/types.mjs +0 -0
  35. package/es/cell-group/index.d.ts +1 -0
  36. package/es/cell-group/types.d.ts +10 -0
  37. package/es/cell-group/types.mjs +0 -0
  38. package/es/checkbox/index.d.ts +1 -1
  39. package/es/checkbox/types.d.ts +11 -0
  40. package/es/circle/index.d.ts +1 -0
  41. package/es/circle/types.d.ts +9 -0
  42. package/es/circle/types.mjs +0 -0
  43. package/es/collapse-item/index.d.ts +1 -1
  44. package/es/collapse-item/types.d.ts +9 -0
  45. package/es/config-provider/index.d.ts +1 -0
  46. package/es/config-provider/types.d.ts +1 -0
  47. package/es/config-provider/types.mjs +0 -0
  48. package/es/contact-card/index.d.ts +1 -0
  49. package/es/contact-card/types.d.ts +6 -0
  50. package/es/contact-card/types.mjs +0 -0
  51. package/es/contact-edit/index.d.ts +1 -0
  52. package/es/contact-edit/types.d.ts +8 -0
  53. package/es/contact-edit/types.mjs +0 -0
  54. package/es/contact-list/index.d.ts +1 -0
  55. package/es/contact-list/types.d.ts +6 -0
  56. package/es/contact-list/types.mjs +0 -0
  57. package/es/count-down/index.d.ts +1 -1
  58. package/es/count-down/types.d.ts +5 -0
  59. package/es/coupon/index.d.ts +1 -0
  60. package/es/coupon/types.d.ts +19 -0
  61. package/es/coupon/types.mjs +0 -0
  62. package/es/coupon-cell/index.d.ts +1 -0
  63. package/es/coupon-cell/types.d.ts +3 -0
  64. package/es/coupon-cell/types.mjs +0 -0
  65. package/es/coupon-list/index.d.ts +1 -0
  66. package/es/coupon-list/types.d.ts +9 -0
  67. package/es/coupon-list/types.mjs +0 -0
  68. package/es/dialog/index.d.ts +1 -1
  69. package/es/dialog/types.d.ts +21 -0
  70. package/es/divider/index.d.ts +1 -0
  71. package/es/divider/types.d.ts +10 -0
  72. package/es/divider/types.mjs +0 -0
  73. package/es/dropdown-item/index.d.ts +1 -1
  74. package/es/dropdown-item/types.d.ts +3 -0
  75. package/es/dropdown-menu/index.d.ts +1 -1
  76. package/es/dropdown-menu/types.d.ts +13 -0
  77. package/es/empty/index.d.ts +1 -0
  78. package/es/empty/types.d.ts +10 -0
  79. package/es/empty/types.mjs +0 -0
  80. package/es/field/Field.mjs +2 -1
  81. package/es/field/index.d.ts +1 -1
  82. package/es/field/types.d.ts +21 -0
  83. package/es/grid-item/index.d.ts +1 -0
  84. package/es/grid-item/types.d.ts +8 -0
  85. package/es/grid-item/types.mjs +0 -0
  86. package/es/image/index.d.ts +1 -0
  87. package/es/image/types.d.ts +9 -0
  88. package/es/image/types.mjs +0 -0
  89. package/es/image-preview/index.d.ts +2 -2
  90. package/es/image-preview/types.d.ts +11 -0
  91. package/es/index-anchor/index.d.ts +1 -0
  92. package/es/index-anchor/types.d.ts +11 -0
  93. package/es/index-anchor/types.mjs +0 -0
  94. package/es/index-bar/index.d.ts +1 -1
  95. package/es/index-bar/types.d.ts +6 -0
  96. package/es/index.d.ts +1 -1
  97. package/es/index.mjs +1 -1
  98. package/es/list/index.d.ts +1 -1
  99. package/es/list/types.d.ts +6 -0
  100. package/es/loading/index.d.ts +1 -0
  101. package/es/loading/types.d.ts +7 -0
  102. package/es/loading/types.mjs +0 -0
  103. package/es/nav-bar/index.d.ts +1 -0
  104. package/es/nav-bar/types.d.ts +10 -0
  105. package/es/nav-bar/types.mjs +0 -0
  106. package/es/notice-bar/index.d.ts +1 -1
  107. package/es/notice-bar/types.d.ts +11 -0
  108. package/es/notify/Notify.mjs +1 -0
  109. package/es/notify/function-call.mjs +1 -1
  110. package/es/notify/index.d.ts +2 -2
  111. package/es/notify/types.d.ts +10 -0
  112. package/es/number-keyboard/index.d.ts +1 -0
  113. package/es/number-keyboard/types.d.ts +17 -0
  114. package/es/number-keyboard/types.mjs +0 -0
  115. package/es/overlay/index.d.ts +1 -0
  116. package/es/overlay/types.d.ts +4 -0
  117. package/es/overlay/types.mjs +0 -0
  118. package/es/pagination/index.d.ts +1 -0
  119. package/es/pagination/types.d.ts +11 -0
  120. package/es/pagination/types.mjs +0 -0
  121. package/es/password-input/index.d.ts +1 -0
  122. package/es/password-input/types.d.ts +17 -0
  123. package/es/password-input/types.mjs +0 -0
  124. package/es/picker/index.d.ts +1 -1
  125. package/es/picker/types.d.ts +17 -0
  126. package/es/picker-group/index.d.ts +1 -0
  127. package/es/picker-group/types.d.ts +3 -0
  128. package/es/picker-group/types.mjs +0 -0
  129. package/es/popover/index.d.ts +1 -1
  130. package/es/popover/types.d.ts +15 -0
  131. package/es/popup/index.d.ts +1 -1
  132. package/es/popup/types.d.ts +9 -0
  133. package/es/progress/index.d.ts +1 -1
  134. package/es/progress/types.d.ts +11 -0
  135. package/es/pull-refresh/index.d.ts +1 -0
  136. package/es/pull-refresh/types.d.ts +6 -0
  137. package/es/pull-refresh/types.mjs +0 -0
  138. package/es/radio/index.d.ts +1 -0
  139. package/es/radio/types.d.ts +11 -0
  140. package/es/radio/types.mjs +0 -0
  141. package/es/rate/index.d.ts +1 -0
  142. package/es/rate/types.d.ts +7 -0
  143. package/es/rate/types.mjs +0 -0
  144. package/es/search/index.d.ts +1 -1
  145. package/es/search/types.d.ts +13 -0
  146. package/es/share-sheet/index.d.ts +1 -0
  147. package/es/share-sheet/types.d.ts +17 -0
  148. package/es/share-sheet/types.mjs +0 -0
  149. package/es/sidebar/index.d.ts +1 -0
  150. package/es/sidebar/types.d.ts +3 -0
  151. package/es/sidebar/types.mjs +0 -0
  152. package/es/sidebar-item/index.d.ts +1 -0
  153. package/es/sidebar-item/types.d.ts +15 -0
  154. package/es/sidebar-item/types.mjs +0 -0
  155. package/es/skeleton/index.d.ts +1 -0
  156. package/es/skeleton/types.d.ts +9 -0
  157. package/es/skeleton/types.mjs +0 -0
  158. package/es/slider/index.d.ts +1 -0
  159. package/es/slider/types.d.ts +11 -0
  160. package/es/slider/types.mjs +0 -0
  161. package/es/step/index.d.ts +1 -0
  162. package/es/step/types.d.ts +13 -0
  163. package/es/step/types.mjs +0 -0
  164. package/es/stepper/index.d.ts +1 -0
  165. package/es/stepper/types.d.ts +15 -0
  166. package/es/stepper/types.mjs +0 -0
  167. package/es/steps/index.d.ts +1 -0
  168. package/es/steps/types.d.ts +3 -0
  169. package/es/steps/types.mjs +0 -0
  170. package/es/sticky/index.d.ts +1 -0
  171. package/es/sticky/types.d.ts +3 -0
  172. package/es/sticky/types.mjs +0 -0
  173. package/es/submit-bar/index.d.ts +1 -0
  174. package/es/submit-bar/types.d.ts +21 -0
  175. package/es/submit-bar/types.mjs +0 -0
  176. package/es/swipe/index.d.ts +1 -1
  177. package/es/swipe/types.d.ts +8 -0
  178. package/es/switch/index.d.ts +1 -0
  179. package/es/switch/types.d.ts +12 -0
  180. package/es/switch/types.mjs +0 -0
  181. package/es/tab/Tab.mjs +12 -2
  182. package/es/tabbar/index.d.ts +1 -0
  183. package/es/tabbar/types.d.ts +5 -0
  184. package/es/tabbar/types.mjs +0 -0
  185. package/es/tabbar-item/index.d.ts +1 -0
  186. package/es/tabbar-item/types.d.ts +9 -0
  187. package/es/tabbar-item/types.mjs +0 -0
  188. package/es/tabs/Tabs.mjs +11 -11
  189. package/es/tabs/index.d.ts +1 -1
  190. package/es/tabs/types.d.ts +14 -0
  191. package/es/tag/Tag.d.ts +1 -2
  192. package/es/tag/index.d.ts +9 -8
  193. package/es/tag/types.d.ts +20 -0
  194. package/es/tag/types.mjs +0 -0
  195. package/es/toast/index.d.ts +6 -1
  196. package/es/toast/types.d.ts +17 -0
  197. package/es/tree-select/index.d.ts +1 -0
  198. package/es/tree-select/types.d.ts +10 -0
  199. package/es/tree-select/types.mjs +0 -0
  200. package/es/uploader/index.d.ts +1 -1
  201. package/es/uploader/types.d.ts +27 -0
  202. package/lib/action-bar/index.d.ts +1 -0
  203. package/lib/action-bar/types.d.ts +4 -0
  204. package/lib/action-bar/types.js +15 -0
  205. package/lib/action-bar-button/index.d.ts +1 -0
  206. package/lib/action-bar-button/types.d.ts +5 -0
  207. package/lib/action-bar-button/types.js +15 -0
  208. package/lib/action-bar-icon/index.d.ts +1 -0
  209. package/lib/action-bar-icon/types.d.ts +10 -0
  210. package/lib/action-bar-icon/types.js +15 -0
  211. package/lib/action-sheet/index.d.ts +1 -0
  212. package/lib/action-sheet/types.d.ts +23 -0
  213. package/lib/action-sheet/types.js +15 -0
  214. package/lib/address-edit/index.d.ts +1 -1
  215. package/lib/address-edit/types.d.ts +6 -0
  216. package/lib/address-list/index.d.ts +1 -0
  217. package/lib/address-list/types.d.ts +15 -0
  218. package/lib/address-list/types.js +15 -0
  219. package/lib/badge/index.d.ts +1 -0
  220. package/lib/badge/types.d.ts +12 -0
  221. package/lib/badge/types.js +15 -0
  222. package/lib/button/index.d.ts +1 -1
  223. package/lib/button/types.d.ts +36 -0
  224. package/lib/calendar/index.d.ts +1 -1
  225. package/lib/calendar/types.d.ts +28 -0
  226. package/lib/card/index.d.ts +1 -0
  227. package/lib/card/types.d.ts +18 -0
  228. package/lib/card/types.js +15 -0
  229. package/lib/cascader/index.d.ts +1 -1
  230. package/lib/cascader/types.d.ts +15 -0
  231. package/lib/cell/index.d.ts +1 -0
  232. package/lib/cell/types.d.ts +21 -0
  233. package/lib/cell/types.js +15 -0
  234. package/lib/cell-group/index.d.ts +1 -0
  235. package/lib/cell-group/types.d.ts +10 -0
  236. package/lib/cell-group/types.js +15 -0
  237. package/lib/checkbox/index.d.ts +1 -1
  238. package/lib/checkbox/types.d.ts +11 -0
  239. package/lib/circle/index.d.ts +1 -0
  240. package/lib/circle/types.d.ts +9 -0
  241. package/lib/circle/types.js +15 -0
  242. package/lib/collapse-item/index.d.ts +1 -1
  243. package/lib/collapse-item/types.d.ts +9 -0
  244. package/lib/config-provider/index.d.ts +1 -0
  245. package/lib/config-provider/types.d.ts +1 -0
  246. package/lib/config-provider/types.js +15 -0
  247. package/lib/contact-card/index.d.ts +1 -0
  248. package/lib/contact-card/types.d.ts +6 -0
  249. package/lib/contact-card/types.js +15 -0
  250. package/lib/contact-edit/index.d.ts +1 -0
  251. package/lib/contact-edit/types.d.ts +8 -0
  252. package/lib/contact-edit/types.js +15 -0
  253. package/lib/contact-list/index.d.ts +1 -0
  254. package/lib/contact-list/types.d.ts +6 -0
  255. package/lib/contact-list/types.js +15 -0
  256. package/lib/count-down/index.d.ts +1 -1
  257. package/lib/count-down/types.d.ts +5 -0
  258. package/lib/coupon/index.d.ts +1 -0
  259. package/lib/coupon/types.d.ts +19 -0
  260. package/lib/coupon/types.js +15 -0
  261. package/lib/coupon-cell/index.d.ts +1 -0
  262. package/lib/coupon-cell/types.d.ts +3 -0
  263. package/lib/coupon-cell/types.js +15 -0
  264. package/lib/coupon-list/index.d.ts +1 -0
  265. package/lib/coupon-list/types.d.ts +9 -0
  266. package/lib/coupon-list/types.js +15 -0
  267. package/lib/dialog/index.d.ts +1 -1
  268. package/lib/dialog/types.d.ts +21 -0
  269. package/lib/divider/index.d.ts +1 -0
  270. package/lib/divider/types.d.ts +10 -0
  271. package/lib/divider/types.js +15 -0
  272. package/lib/dropdown-item/index.d.ts +1 -1
  273. package/lib/dropdown-item/types.d.ts +3 -0
  274. package/lib/dropdown-menu/index.d.ts +1 -1
  275. package/lib/dropdown-menu/types.d.ts +13 -0
  276. package/lib/empty/index.d.ts +1 -0
  277. package/lib/empty/types.d.ts +10 -0
  278. package/lib/empty/types.js +15 -0
  279. package/lib/field/Field.js +2 -1
  280. package/lib/field/index.d.ts +1 -1
  281. package/lib/field/types.d.ts +21 -0
  282. package/lib/grid-item/index.d.ts +1 -0
  283. package/lib/grid-item/types.d.ts +8 -0
  284. package/lib/grid-item/types.js +15 -0
  285. package/lib/image/index.d.ts +1 -0
  286. package/lib/image/types.d.ts +9 -0
  287. package/lib/image/types.js +15 -0
  288. package/lib/image-preview/index.d.ts +2 -2
  289. package/lib/image-preview/types.d.ts +11 -0
  290. package/lib/index-anchor/index.d.ts +1 -0
  291. package/lib/index-anchor/types.d.ts +11 -0
  292. package/lib/index-anchor/types.js +15 -0
  293. package/lib/index-bar/index.d.ts +1 -1
  294. package/lib/index-bar/types.d.ts +6 -0
  295. package/lib/index.d.ts +1 -1
  296. package/lib/index.js +1 -1
  297. package/lib/list/index.d.ts +1 -1
  298. package/lib/list/types.d.ts +6 -0
  299. package/lib/loading/index.d.ts +1 -0
  300. package/lib/loading/types.d.ts +7 -0
  301. package/lib/loading/types.js +15 -0
  302. package/lib/nav-bar/index.d.ts +1 -0
  303. package/lib/nav-bar/types.d.ts +10 -0
  304. package/lib/nav-bar/types.js +15 -0
  305. package/lib/notice-bar/index.d.ts +1 -1
  306. package/lib/notice-bar/types.d.ts +11 -0
  307. package/lib/notify/Notify.js +1 -0
  308. package/lib/notify/function-call.js +1 -1
  309. package/lib/notify/index.d.ts +2 -2
  310. package/lib/notify/types.d.ts +10 -0
  311. package/lib/number-keyboard/index.d.ts +1 -0
  312. package/lib/number-keyboard/types.d.ts +17 -0
  313. package/lib/number-keyboard/types.js +15 -0
  314. package/lib/overlay/index.d.ts +1 -0
  315. package/lib/overlay/types.d.ts +4 -0
  316. package/lib/overlay/types.js +15 -0
  317. package/lib/pagination/index.d.ts +1 -0
  318. package/lib/pagination/types.d.ts +11 -0
  319. package/lib/pagination/types.js +15 -0
  320. package/lib/password-input/index.d.ts +1 -0
  321. package/lib/password-input/types.d.ts +17 -0
  322. package/lib/password-input/types.js +15 -0
  323. package/lib/picker/index.d.ts +1 -1
  324. package/lib/picker/types.d.ts +17 -0
  325. package/lib/picker-group/index.d.ts +1 -0
  326. package/lib/picker-group/types.d.ts +3 -0
  327. package/lib/picker-group/types.js +15 -0
  328. package/lib/popover/index.d.ts +1 -1
  329. package/lib/popover/types.d.ts +15 -0
  330. package/lib/popup/index.d.ts +1 -1
  331. package/lib/popup/types.d.ts +9 -0
  332. package/lib/progress/index.d.ts +1 -1
  333. package/lib/progress/types.d.ts +11 -0
  334. package/lib/pull-refresh/index.d.ts +1 -0
  335. package/lib/pull-refresh/types.d.ts +6 -0
  336. package/lib/pull-refresh/types.js +15 -0
  337. package/lib/radio/index.d.ts +1 -0
  338. package/lib/radio/types.d.ts +11 -0
  339. package/lib/radio/types.js +15 -0
  340. package/lib/rate/index.d.ts +1 -0
  341. package/lib/rate/types.d.ts +7 -0
  342. package/lib/rate/types.js +15 -0
  343. package/lib/search/index.d.ts +1 -1
  344. package/lib/search/types.d.ts +13 -0
  345. package/lib/share-sheet/index.d.ts +1 -0
  346. package/lib/share-sheet/types.d.ts +17 -0
  347. package/lib/share-sheet/types.js +15 -0
  348. package/lib/sidebar/index.d.ts +1 -0
  349. package/lib/sidebar/types.d.ts +3 -0
  350. package/lib/sidebar/types.js +15 -0
  351. package/lib/sidebar-item/index.d.ts +1 -0
  352. package/lib/sidebar-item/types.d.ts +15 -0
  353. package/lib/sidebar-item/types.js +15 -0
  354. package/lib/skeleton/index.d.ts +1 -0
  355. package/lib/skeleton/types.d.ts +9 -0
  356. package/lib/skeleton/types.js +15 -0
  357. package/lib/slider/index.d.ts +1 -0
  358. package/lib/slider/types.d.ts +11 -0
  359. package/lib/slider/types.js +15 -0
  360. package/lib/step/index.d.ts +1 -0
  361. package/lib/step/types.d.ts +13 -0
  362. package/lib/step/types.js +15 -0
  363. package/lib/stepper/index.d.ts +1 -0
  364. package/lib/stepper/types.d.ts +15 -0
  365. package/lib/stepper/types.js +15 -0
  366. package/lib/steps/index.d.ts +1 -0
  367. package/lib/steps/types.d.ts +3 -0
  368. package/lib/steps/types.js +15 -0
  369. package/lib/sticky/index.d.ts +1 -0
  370. package/lib/sticky/types.d.ts +3 -0
  371. package/lib/sticky/types.js +15 -0
  372. package/lib/submit-bar/index.d.ts +1 -0
  373. package/lib/submit-bar/types.d.ts +21 -0
  374. package/lib/submit-bar/types.js +15 -0
  375. package/lib/swipe/index.d.ts +1 -1
  376. package/lib/swipe/types.d.ts +8 -0
  377. package/lib/switch/index.d.ts +1 -0
  378. package/lib/switch/types.d.ts +12 -0
  379. package/lib/switch/types.js +15 -0
  380. package/lib/tab/Tab.js +11 -1
  381. package/lib/tabbar/index.d.ts +1 -0
  382. package/lib/tabbar/types.d.ts +5 -0
  383. package/lib/tabbar/types.js +15 -0
  384. package/lib/tabbar-item/index.d.ts +1 -0
  385. package/lib/tabbar-item/types.d.ts +9 -0
  386. package/lib/tabbar-item/types.js +15 -0
  387. package/lib/tabs/Tabs.js +11 -11
  388. package/lib/tabs/index.d.ts +1 -1
  389. package/lib/tabs/types.d.ts +14 -0
  390. package/lib/tag/Tag.d.ts +1 -2
  391. package/lib/tag/index.d.ts +9 -8
  392. package/lib/tag/types.d.ts +20 -0
  393. package/lib/tag/types.js +15 -0
  394. package/lib/toast/index.d.ts +6 -1
  395. package/lib/toast/types.d.ts +17 -0
  396. package/lib/tree-select/index.d.ts +1 -0
  397. package/lib/tree-select/types.d.ts +10 -0
  398. package/lib/tree-select/types.js +15 -0
  399. package/lib/uploader/index.d.ts +1 -1
  400. package/lib/uploader/types.d.ts +27 -0
  401. package/lib/vant.cjs.js +27 -15
  402. package/lib/vant.es.js +27 -15
  403. package/lib/vant.js +27 -15
  404. package/lib/vant.min.js +1 -1
  405. package/lib/web-types.json +1332 -1292
  406. package/package.json +4 -4
@@ -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-rc.2",
5
+ "version": "4.0.0-rc.4",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -262,101 +262,115 @@
262
262
  ]
263
263
  },
264
264
  {
265
- "name": "van-action-sheet",
265
+ "name": "van-address-edit",
266
266
  "slots": [
267
267
  {
268
268
  "name": "default",
269
- "description": "Custom content"
270
- },
271
- {
272
- "name": "description",
273
- "description": "Custom description above the options"
274
- },
275
- {
276
- "name": "cancel",
277
- "description": "Custom the content of cancel button"
278
- },
279
- {
280
- "name": "action",
281
- "description": "Custom the content of action"
269
+ "description": "Custom content below address detail"
282
270
  }
283
271
  ],
284
272
  "events": [
285
273
  {
286
- "name": "select",
287
- "description": "Emitted when an option is clicked",
274
+ "name": "save",
275
+ "description": "Emitted when the save button is clicked",
288
276
  "arguments": [
289
277
  {
290
- "name": "action",
291
- "type": "ActionSheetAction"
292
- },
278
+ "name": "info",
279
+ "type": "AddressEditInfo"
280
+ }
281
+ ]
282
+ },
283
+ {
284
+ "name": "focus",
285
+ "description": "Emitted when field is focused",
286
+ "arguments": [
293
287
  {
294
- "name": "index",
295
- "type": "number"
288
+ "name": "key",
289
+ "type": "string"
296
290
  }
297
291
  ]
298
292
  },
299
293
  {
300
- "name": "cancel",
301
- "description": "Emitted when the cancel button is clicked",
302
- "arguments": []
294
+ "name": "delete",
295
+ "description": "Emitted when confirming delete",
296
+ "arguments": [
297
+ {
298
+ "name": "info",
299
+ "type": "AddressEditInfo"
300
+ }
301
+ ]
303
302
  },
304
303
  {
305
- "name": "open",
306
- "description": "Emitted when opening ActionSheet",
307
- "arguments": []
304
+ "name": "select-search",
305
+ "description": "Emitted when a search result is selected",
306
+ "arguments": [
307
+ {
308
+ "name": "value",
309
+ "type": "string"
310
+ }
311
+ ]
308
312
  },
309
313
  {
310
- "name": "close",
311
- "description": "Emitted when closing ActionSheet",
314
+ "name": "click-area",
315
+ "description": "Emitted when the area field is clicked",
312
316
  "arguments": []
313
317
  },
314
318
  {
315
- "name": "opened",
316
- "description": "Emitted when ActionSheet is opened",
317
- "arguments": []
319
+ "name": "change-area",
320
+ "description": "Emitted when area changed",
321
+ "arguments": [
322
+ {
323
+ "name": "selectedOptions",
324
+ "type": "PickerOption[]"
325
+ }
326
+ ]
318
327
  },
319
328
  {
320
- "name": "closed",
321
- "description": "Emitted when ActionSheet is closed",
322
- "arguments": []
329
+ "name": "change-detail",
330
+ "description": "Emitted when address detail changed",
331
+ "arguments": [
332
+ {
333
+ "name": "value",
334
+ "type": "string"
335
+ }
336
+ ]
323
337
  },
324
338
  {
325
- "name": "click-overlay",
326
- "description": "Emitted when overlay is clicked",
339
+ "name": "change-default",
340
+ "description": "Emitted when switching default address",
327
341
  "arguments": [
328
342
  {
329
- "name": "event",
330
- "type": "MouseEvent"
343
+ "name": "checked",
344
+ "type": "boolean"
331
345
  }
332
346
  ]
333
347
  }
334
348
  ],
335
349
  "attributes": [
336
350
  {
337
- "name": "v-model:show",
338
- "default": "`false`",
339
- "description": "Whether to show ActionSheet",
351
+ "name": "area-list",
352
+ "default": "-",
353
+ "description": "Area List",
340
354
  "options": [],
341
355
  "value": {
342
- "type": "boolean",
356
+ "type": "object",
343
357
  "kind": "expression"
344
358
  }
345
359
  },
346
360
  {
347
- "name": "actions",
361
+ "name": "area-columns-placeholder",
348
362
  "default": "`[]`",
349
- "description": "Options",
363
+ "description": "placeholder of area columns",
350
364
  "options": [],
351
365
  "value": {
352
- "type": "ActionSheetAction[]",
366
+ "type": "string[]",
353
367
  "kind": "expression"
354
368
  }
355
369
  },
356
370
  {
357
- "name": "title",
358
- "default": "-",
359
- "description": "Title",
371
+ "name": "area-placeholder",
372
+ "default": "`Area`",
373
+ "description": "placeholder of area input field",
360
374
  "options": [],
361
375
  "value": {
362
376
  "type": "string",
@@ -364,29 +378,29 @@
364
378
  }
365
379
  },
366
380
  {
367
- "name": "cancel-text",
368
- "default": "-",
369
- "description": "Text of cancel button",
381
+ "name": "address-info",
382
+ "default": "`{}`",
383
+ "description": "Address Info",
370
384
  "options": [],
371
385
  "value": {
372
- "type": "string",
386
+ "type": "AddressEditInfo",
373
387
  "kind": "expression"
374
388
  }
375
389
  },
376
390
  {
377
- "name": "description",
378
- "default": "-",
379
- "description": "Description above the options",
391
+ "name": "search-result",
392
+ "default": "`[]`",
393
+ "description": "Address search result",
380
394
  "options": [],
381
395
  "value": {
382
- "type": "string",
396
+ "type": "AddressEditSearchItem[]",
383
397
  "kind": "expression"
384
398
  }
385
399
  },
386
400
  {
387
- "name": "closeable",
388
- "default": "`true`",
389
- "description": "Whether to show close icon",
401
+ "name": "show-delete",
402
+ "default": "`false`",
403
+ "description": "Whether to show delete button",
390
404
  "options": [],
391
405
  "value": {
392
406
  "type": "boolean",
@@ -394,29 +408,29 @@
394
408
  }
395
409
  },
396
410
  {
397
- "name": "close-icon",
398
- "default": "`cross`",
399
- "description": "Close icon name",
411
+ "name": "show-set-default",
412
+ "default": "`false`",
413
+ "description": "Whether to show default address switch",
400
414
  "options": [],
401
415
  "value": {
402
- "type": "string",
416
+ "type": "boolean",
403
417
  "kind": "expression"
404
418
  }
405
419
  },
406
420
  {
407
- "name": "duration",
408
- "default": "`0.3`",
409
- "description": "Transition duration, unit second",
421
+ "name": "show-search-result",
422
+ "default": "`false`",
423
+ "description": "Whether to show address search result",
410
424
  "options": [],
411
425
  "value": {
412
- "type": "number | string",
426
+ "type": "boolean",
413
427
  "kind": "expression"
414
428
  }
415
429
  },
416
430
  {
417
- "name": "round",
431
+ "name": "show-area",
418
432
  "default": "`true`",
419
- "description": "Whether to show round corner",
433
+ "description": "Whether to show area cell",
420
434
  "options": [],
421
435
  "value": {
422
436
  "type": "boolean",
@@ -424,9 +438,9 @@
424
438
  }
425
439
  },
426
440
  {
427
- "name": "overlay",
441
+ "name": "show-detail",
428
442
  "default": "`true`",
429
- "description": "Whether to show overlay",
443
+ "description": "Whether to show detail field",
430
444
  "options": [],
431
445
  "value": {
432
446
  "type": "boolean",
@@ -434,59 +448,59 @@
434
448
  }
435
449
  },
436
450
  {
437
- "name": "overlay-class",
438
- "default": "-",
439
- "description": "Custom overlay class",
451
+ "name": "disable-area",
452
+ "default": "`false`",
453
+ "description": "Whether to disable area select",
440
454
  "options": [],
441
455
  "value": {
442
- "type": "string | Array | object",
456
+ "type": "boolean",
443
457
  "kind": "expression"
444
458
  }
445
459
  },
446
460
  {
447
- "name": "overlay-style",
448
- "default": "-",
449
- "description": "Custom overlay style",
461
+ "name": "save-button-text",
462
+ "default": "`Save`",
463
+ "description": "Save button text",
450
464
  "options": [],
451
465
  "value": {
452
- "type": "object",
466
+ "type": "string",
453
467
  "kind": "expression"
454
468
  }
455
469
  },
456
470
  {
457
- "name": "lock-scroll",
458
- "default": "`true`",
459
- "description": "Whether to lock background scroll",
471
+ "name": "delete-button-text",
472
+ "default": "`Delete`",
473
+ "description": "Delete button text",
460
474
  "options": [],
461
475
  "value": {
462
- "type": "boolean",
476
+ "type": "string",
463
477
  "kind": "expression"
464
478
  }
465
479
  },
466
480
  {
467
- "name": "lazy-render",
468
- "default": "`true`",
469
- "description": "Whether to lazy render util appeared",
481
+ "name": "detail-rows",
482
+ "default": "`1`",
483
+ "description": "Detail input rows",
470
484
  "options": [],
471
485
  "value": {
472
- "type": "boolean",
486
+ "type": "number | string",
473
487
  "kind": "expression"
474
488
  }
475
489
  },
476
490
  {
477
- "name": "close-on-popstate",
478
- "default": "`true`",
479
- "description": "Whether to close when popstate",
491
+ "name": "detail-maxlength",
492
+ "default": "`200`",
493
+ "description": "Detail maxlength",
480
494
  "options": [],
481
495
  "value": {
482
- "type": "boolean",
496
+ "type": "number | string",
483
497
  "kind": "expression"
484
498
  }
485
499
  },
486
500
  {
487
- "name": "close-on-click-action",
501
+ "name": "is-saving",
488
502
  "default": "`false`",
489
- "description": "Whether to close when an action is clicked",
503
+ "description": "Whether to show save button loading status",
490
504
  "options": [],
491
505
  "value": {
492
506
  "type": "boolean",
@@ -494,9 +508,9 @@
494
508
  }
495
509
  },
496
510
  {
497
- "name": "close-on-click-overlay",
498
- "default": "`true`",
499
- "description": "Whether to close when overlay is clicked",
511
+ "name": "is-deleting",
512
+ "default": "`false`",
513
+ "description": "Whether to show delete button loading status",
500
514
  "options": [],
501
515
  "value": {
502
516
  "type": "boolean",
@@ -504,147 +518,133 @@
504
518
  }
505
519
  },
506
520
  {
507
- "name": "safe-area-inset-bottom",
508
- "default": "`true`",
509
- "description": "Whether to enable bottom safe area adaptation",
521
+ "name": "tel-validator",
522
+ "default": "-",
523
+ "description": "The method to validate tel",
510
524
  "options": [],
511
525
  "value": {
512
- "type": "boolean",
526
+ "type": "(tel: string) => boolean",
513
527
  "kind": "expression"
514
528
  }
515
529
  },
516
530
  {
517
- "name": "teleport",
531
+ "name": "tel-maxlength",
518
532
  "default": "-",
519
- "description": "Specifies a target element where ActionSheet will be mounted",
533
+ "description": "Tel maxlength",
520
534
  "options": [],
521
535
  "value": {
522
- "type": "string | Element",
536
+ "type": "number | string",
523
537
  "kind": "expression"
524
538
  }
525
539
  },
526
540
  {
527
- "name": "before-close",
541
+ "name": "validator",
528
542
  "default": "-",
529
- "description": "Callback function before close",
543
+ "description": "Custom validator",
530
544
  "options": [],
531
545
  "value": {
532
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
546
+ "type": "(key, val) => string",
533
547
  "kind": "expression"
534
548
  }
535
549
  }
536
550
  ]
537
551
  },
538
552
  {
539
- "name": "van-address-edit",
553
+ "name": "van-action-sheet",
540
554
  "slots": [
541
555
  {
542
556
  "name": "default",
543
- "description": "Custom content below address detail"
557
+ "description": "Custom content"
558
+ },
559
+ {
560
+ "name": "description",
561
+ "description": "Custom description above the options"
562
+ },
563
+ {
564
+ "name": "cancel",
565
+ "description": "Custom the content of cancel button"
566
+ },
567
+ {
568
+ "name": "action",
569
+ "description": "Custom the content of action"
544
570
  }
545
571
  ],
546
572
  "events": [
547
573
  {
548
- "name": "save",
549
- "description": "Emitted when the save button is clicked",
574
+ "name": "select",
575
+ "description": "Emitted when an option is clicked",
550
576
  "arguments": [
551
577
  {
552
- "name": "info",
553
- "type": "AddressEditInfo"
578
+ "name": "action",
579
+ "type": "ActionSheetAction"
580
+ },
581
+ {
582
+ "name": "index",
583
+ "type": "number"
554
584
  }
555
585
  ]
556
586
  },
557
587
  {
558
- "name": "focus",
559
- "description": "Emitted when field is focused",
560
- "arguments": [
561
- {
562
- "name": "key",
563
- "type": "string"
564
- }
565
- ]
566
- },
567
- {
568
- "name": "delete",
569
- "description": "Emitted when confirming delete",
570
- "arguments": [
571
- {
572
- "name": "info",
573
- "type": "AddressEditInfo"
574
- }
575
- ]
588
+ "name": "cancel",
589
+ "description": "Emitted when the cancel button is clicked",
590
+ "arguments": []
576
591
  },
577
592
  {
578
- "name": "select-search",
579
- "description": "Emitted when a search result is selected",
580
- "arguments": [
581
- {
582
- "name": "value",
583
- "type": "string"
584
- }
585
- ]
593
+ "name": "open",
594
+ "description": "Emitted when opening ActionSheet",
595
+ "arguments": []
586
596
  },
587
597
  {
588
- "name": "click-area",
589
- "description": "Emitted when the area field is clicked",
598
+ "name": "close",
599
+ "description": "Emitted when closing ActionSheet",
590
600
  "arguments": []
591
601
  },
592
602
  {
593
- "name": "change-area",
594
- "description": "Emitted when area changed",
595
- "arguments": [
596
- {
597
- "name": "selectedOptions",
598
- "type": "PickerOption[]"
599
- }
600
- ]
603
+ "name": "opened",
604
+ "description": "Emitted when ActionSheet is opened",
605
+ "arguments": []
601
606
  },
602
607
  {
603
- "name": "change-detail",
604
- "description": "Emitted when address detail changed",
605
- "arguments": [
606
- {
607
- "name": "value",
608
- "type": "string"
609
- }
610
- ]
608
+ "name": "closed",
609
+ "description": "Emitted when ActionSheet is closed",
610
+ "arguments": []
611
611
  },
612
612
  {
613
- "name": "change-default",
614
- "description": "Emitted when switching default address",
613
+ "name": "click-overlay",
614
+ "description": "Emitted when overlay is clicked",
615
615
  "arguments": [
616
616
  {
617
- "name": "checked",
618
- "type": "boolean"
617
+ "name": "event",
618
+ "type": "MouseEvent"
619
619
  }
620
620
  ]
621
621
  }
622
622
  ],
623
623
  "attributes": [
624
624
  {
625
- "name": "area-list",
626
- "default": "-",
627
- "description": "Area List",
625
+ "name": "v-model:show",
626
+ "default": "`false`",
627
+ "description": "Whether to show ActionSheet",
628
628
  "options": [],
629
629
  "value": {
630
- "type": "object",
630
+ "type": "boolean",
631
631
  "kind": "expression"
632
632
  }
633
633
  },
634
634
  {
635
- "name": "area-columns-placeholder",
635
+ "name": "actions",
636
636
  "default": "`[]`",
637
- "description": "placeholder of area columns",
637
+ "description": "Options",
638
638
  "options": [],
639
639
  "value": {
640
- "type": "string[]",
640
+ "type": "ActionSheetAction[]",
641
641
  "kind": "expression"
642
642
  }
643
643
  },
644
644
  {
645
- "name": "area-placeholder",
646
- "default": "`Area`",
647
- "description": "placeholder of area input field",
645
+ "name": "title",
646
+ "default": "-",
647
+ "description": "Title",
648
648
  "options": [],
649
649
  "value": {
650
650
  "type": "string",
@@ -652,29 +652,29 @@
652
652
  }
653
653
  },
654
654
  {
655
- "name": "address-info",
656
- "default": "`{}`",
657
- "description": "Address Info",
655
+ "name": "cancel-text",
656
+ "default": "-",
657
+ "description": "Text of cancel button",
658
658
  "options": [],
659
659
  "value": {
660
- "type": "AddressEditInfo",
660
+ "type": "string",
661
661
  "kind": "expression"
662
662
  }
663
663
  },
664
664
  {
665
- "name": "search-result",
666
- "default": "`[]`",
667
- "description": "Address search result",
665
+ "name": "description",
666
+ "default": "-",
667
+ "description": "Description above the options",
668
668
  "options": [],
669
669
  "value": {
670
- "type": "AddressEditSearchItem[]",
670
+ "type": "string",
671
671
  "kind": "expression"
672
672
  }
673
673
  },
674
674
  {
675
- "name": "show-delete",
676
- "default": "`false`",
677
- "description": "Whether to show delete button",
675
+ "name": "closeable",
676
+ "default": "`true`",
677
+ "description": "Whether to show close icon",
678
678
  "options": [],
679
679
  "value": {
680
680
  "type": "boolean",
@@ -682,29 +682,39 @@
682
682
  }
683
683
  },
684
684
  {
685
- "name": "show-set-default",
686
- "default": "`false`",
687
- "description": "Whether to show default address switch",
685
+ "name": "close-icon",
686
+ "default": "`cross`",
687
+ "description": "Close icon name",
688
688
  "options": [],
689
689
  "value": {
690
- "type": "boolean",
690
+ "type": "string",
691
691
  "kind": "expression"
692
692
  }
693
693
  },
694
694
  {
695
- "name": "show-search-result",
696
- "default": "`false`",
697
- "description": "Whether to show address search result",
695
+ "name": "duration",
696
+ "default": "`0.3`",
697
+ "description": "Transition duration, unit second",
698
698
  "options": [],
699
699
  "value": {
700
- "type": "boolean",
700
+ "type": "number | string",
701
701
  "kind": "expression"
702
702
  }
703
703
  },
704
704
  {
705
- "name": "show-area",
705
+ "name": "z-index",
706
+ "default": "`2000+`",
707
+ "description": "Set the z-index to a fixed value",
708
+ "options": [],
709
+ "value": {
710
+ "type": "number | string",
711
+ "kind": "expression"
712
+ }
713
+ },
714
+ {
715
+ "name": "round",
706
716
  "default": "`true`",
707
- "description": "Whether to show area cell",
717
+ "description": "Whether to show round corner",
708
718
  "options": [],
709
719
  "value": {
710
720
  "type": "boolean",
@@ -712,9 +722,9 @@
712
722
  }
713
723
  },
714
724
  {
715
- "name": "show-detail",
725
+ "name": "overlay",
716
726
  "default": "`true`",
717
- "description": "Whether to show detail field",
727
+ "description": "Whether to show overlay",
718
728
  "options": [],
719
729
  "value": {
720
730
  "type": "boolean",
@@ -722,59 +732,59 @@
722
732
  }
723
733
  },
724
734
  {
725
- "name": "disable-area",
726
- "default": "`false`",
727
- "description": "Whether to disable area select",
735
+ "name": "overlay-class",
736
+ "default": "-",
737
+ "description": "Custom overlay class",
728
738
  "options": [],
729
739
  "value": {
730
- "type": "boolean",
740
+ "type": "string | Array | object",
731
741
  "kind": "expression"
732
742
  }
733
743
  },
734
744
  {
735
- "name": "save-button-text",
736
- "default": "`Save`",
737
- "description": "Save button text",
745
+ "name": "overlay-style",
746
+ "default": "-",
747
+ "description": "Custom overlay style",
738
748
  "options": [],
739
749
  "value": {
740
- "type": "string",
750
+ "type": "object",
741
751
  "kind": "expression"
742
752
  }
743
753
  },
744
754
  {
745
- "name": "delete-button-text",
746
- "default": "`Delete`",
747
- "description": "Delete button text",
755
+ "name": "lock-scroll",
756
+ "default": "`true`",
757
+ "description": "Whether to lock background scroll",
748
758
  "options": [],
749
759
  "value": {
750
- "type": "string",
760
+ "type": "boolean",
751
761
  "kind": "expression"
752
762
  }
753
763
  },
754
764
  {
755
- "name": "detail-rows",
756
- "default": "`1`",
757
- "description": "Detail input rows",
765
+ "name": "lazy-render",
766
+ "default": "`true`",
767
+ "description": "Whether to lazy render util appeared",
758
768
  "options": [],
759
769
  "value": {
760
- "type": "number | string",
770
+ "type": "boolean",
761
771
  "kind": "expression"
762
772
  }
763
773
  },
764
774
  {
765
- "name": "detail-maxlength",
766
- "default": "`200`",
767
- "description": "Detail maxlength",
775
+ "name": "close-on-popstate",
776
+ "default": "`true`",
777
+ "description": "Whether to close when popstate",
768
778
  "options": [],
769
779
  "value": {
770
- "type": "number | string",
780
+ "type": "boolean",
771
781
  "kind": "expression"
772
782
  }
773
783
  },
774
784
  {
775
- "name": "is-saving",
785
+ "name": "close-on-click-action",
776
786
  "default": "`false`",
777
- "description": "Whether to show save button loading status",
787
+ "description": "Whether to close when an action is clicked",
778
788
  "options": [],
779
789
  "value": {
780
790
  "type": "boolean",
@@ -782,9 +792,9 @@
782
792
  }
783
793
  },
784
794
  {
785
- "name": "is-deleting",
786
- "default": "`false`",
787
- "description": "Whether to show delete button loading status",
795
+ "name": "close-on-click-overlay",
796
+ "default": "`true`",
797
+ "description": "Whether to close when overlay is clicked",
788
798
  "options": [],
789
799
  "value": {
790
800
  "type": "boolean",
@@ -792,32 +802,32 @@
792
802
  }
793
803
  },
794
804
  {
795
- "name": "tel-validator",
796
- "default": "-",
797
- "description": "The method to validate tel",
805
+ "name": "safe-area-inset-bottom",
806
+ "default": "`true`",
807
+ "description": "Whether to enable bottom safe area adaptation",
798
808
  "options": [],
799
809
  "value": {
800
- "type": "(tel: string) => boolean",
810
+ "type": "boolean",
801
811
  "kind": "expression"
802
812
  }
803
813
  },
804
814
  {
805
- "name": "tel-maxlength",
815
+ "name": "teleport",
806
816
  "default": "-",
807
- "description": "Tel maxlength",
817
+ "description": "Specifies a target element where ActionSheet will be mounted",
808
818
  "options": [],
809
819
  "value": {
810
- "type": "number | string",
820
+ "type": "string | Element",
811
821
  "kind": "expression"
812
822
  }
813
823
  },
814
824
  {
815
- "name": "validator",
825
+ "name": "before-close",
816
826
  "default": "-",
817
- "description": "Custom validator",
827
+ "description": "Callback function before close",
818
828
  "options": [],
819
829
  "value": {
820
- "type": "(key, val) => string",
830
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
821
831
  "kind": "expression"
822
832
  }
823
833
  }
@@ -994,30 +1004,116 @@
994
1004
  ]
995
1005
  },
996
1006
  {
997
- "name": "van-area",
1007
+ "name": "van-badge",
998
1008
  "slots": [
999
1009
  {
1000
- "name": "toolbar",
1001
- "description": "Custom toolbar content"
1010
+ "name": "default",
1011
+ "description": "Default slot"
1002
1012
  },
1003
1013
  {
1004
- "name": "title",
1005
- "description": "Custom title"
1006
- },
1014
+ "name": "content",
1015
+ "description": "Custom badge content"
1016
+ }
1017
+ ],
1018
+ "events": [],
1019
+ "attributes": [
1007
1020
  {
1008
- "name": "confirm",
1009
- "description": "Custom confirm button text"
1021
+ "name": "content",
1022
+ "default": "-",
1023
+ "description": "Badge content",
1024
+ "options": [],
1025
+ "value": {
1026
+ "type": "number | string",
1027
+ "kind": "expression"
1028
+ }
1010
1029
  },
1011
1030
  {
1012
- "name": "cancel",
1013
- "description": "Custom cancel button text"
1031
+ "name": "color",
1032
+ "default": "`#ee0a24`",
1033
+ "description": "Background color",
1034
+ "options": [],
1035
+ "value": {
1036
+ "type": "string",
1037
+ "kind": "expression"
1038
+ }
1014
1039
  },
1015
1040
  {
1016
- "name": "columns-top",
1017
- "description": "Custom content above columns"
1041
+ "name": "dot",
1042
+ "default": "`false`",
1043
+ "description": "Whether to show dot",
1044
+ "options": [],
1045
+ "value": {
1046
+ "type": "boolean",
1047
+ "kind": "expression"
1048
+ }
1018
1049
  },
1019
1050
  {
1020
- "name": "columns-bottom",
1051
+ "name": "max",
1052
+ "default": "-",
1053
+ "description": "Max value, show `{max}+` when exceed, only works when content is number",
1054
+ "options": [],
1055
+ "value": {
1056
+ "type": "number | string",
1057
+ "kind": "expression"
1058
+ }
1059
+ },
1060
+ {
1061
+ "name": "offset",
1062
+ "default": "-",
1063
+ "description": "Offset of badge dot",
1064
+ "options": [],
1065
+ "value": {
1066
+ "type": "[number | string, number | string]",
1067
+ "kind": "expression"
1068
+ }
1069
+ },
1070
+ {
1071
+ "name": "show-zero",
1072
+ "default": "`true`",
1073
+ "description": "Whether to show badge when content is zero",
1074
+ "options": [],
1075
+ "value": {
1076
+ "type": "boolean",
1077
+ "kind": "expression"
1078
+ }
1079
+ },
1080
+ {
1081
+ "name": "position",
1082
+ "default": "`top-right`",
1083
+ "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
1084
+ "options": [],
1085
+ "value": {
1086
+ "type": "string",
1087
+ "kind": "expression"
1088
+ }
1089
+ }
1090
+ ]
1091
+ },
1092
+ {
1093
+ "name": "van-area",
1094
+ "slots": [
1095
+ {
1096
+ "name": "toolbar",
1097
+ "description": "Custom toolbar content"
1098
+ },
1099
+ {
1100
+ "name": "title",
1101
+ "description": "Custom title"
1102
+ },
1103
+ {
1104
+ "name": "confirm",
1105
+ "description": "Custom confirm button text"
1106
+ },
1107
+ {
1108
+ "name": "cancel",
1109
+ "description": "Custom cancel button text"
1110
+ },
1111
+ {
1112
+ "name": "columns-top",
1113
+ "description": "Custom content above columns"
1114
+ },
1115
+ {
1116
+ "name": "columns-bottom",
1021
1117
  "description": "Custom content below columns"
1022
1118
  }
1023
1119
  ],
@@ -1173,92 +1269,6 @@
1173
1269
  }
1174
1270
  ]
1175
1271
  },
1176
- {
1177
- "name": "van-badge",
1178
- "slots": [
1179
- {
1180
- "name": "default",
1181
- "description": "Default slot"
1182
- },
1183
- {
1184
- "name": "content",
1185
- "description": "Custom badge content"
1186
- }
1187
- ],
1188
- "events": [],
1189
- "attributes": [
1190
- {
1191
- "name": "content",
1192
- "default": "-",
1193
- "description": "Badge content",
1194
- "options": [],
1195
- "value": {
1196
- "type": "number | string",
1197
- "kind": "expression"
1198
- }
1199
- },
1200
- {
1201
- "name": "color",
1202
- "default": "`#ee0a24`",
1203
- "description": "Background color",
1204
- "options": [],
1205
- "value": {
1206
- "type": "string",
1207
- "kind": "expression"
1208
- }
1209
- },
1210
- {
1211
- "name": "dot",
1212
- "default": "`false`",
1213
- "description": "Whether to show dot",
1214
- "options": [],
1215
- "value": {
1216
- "type": "boolean",
1217
- "kind": "expression"
1218
- }
1219
- },
1220
- {
1221
- "name": "max",
1222
- "default": "-",
1223
- "description": "Max value, show `{max}+` when exceed, only works when content is number",
1224
- "options": [],
1225
- "value": {
1226
- "type": "number | string",
1227
- "kind": "expression"
1228
- }
1229
- },
1230
- {
1231
- "name": "offset",
1232
- "default": "-",
1233
- "description": "Offset of badge dot",
1234
- "options": [],
1235
- "value": {
1236
- "type": "[number | string, number | string]",
1237
- "kind": "expression"
1238
- }
1239
- },
1240
- {
1241
- "name": "show-zero",
1242
- "default": "`true`",
1243
- "description": "Whether to show badge when content is zero",
1244
- "options": [],
1245
- "value": {
1246
- "type": "boolean",
1247
- "kind": "expression"
1248
- }
1249
- },
1250
- {
1251
- "name": "position",
1252
- "default": "`top-right`",
1253
- "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
1254
- "options": [],
1255
- "value": {
1256
- "type": "string",
1257
- "kind": "expression"
1258
- }
1259
- }
1260
- ]
1261
- },
1262
1272
  {
1263
1273
  "name": "van-button",
1264
1274
  "slots": [
@@ -2277,38 +2287,90 @@
2277
2287
  "description": "Custom the fields of options",
2278
2288
  "options": [],
2279
2289
  "value": {
2280
- "type": "object",
2290
+ "type": "CascaderFieldNames",
2281
2291
  "kind": "expression"
2282
2292
  }
2283
2293
  }
2284
2294
  ]
2285
2295
  },
2286
2296
  {
2287
- "name": "van-checkbox",
2297
+ "name": "van-cell-group",
2288
2298
  "slots": [
2289
2299
  {
2290
2300
  "name": "default",
2301
+ "description": "Default slot"
2302
+ },
2303
+ {
2304
+ "name": "title",
2305
+ "description": "Custom title"
2306
+ }
2307
+ ],
2308
+ "events": [],
2309
+ "attributes": [
2310
+ {
2311
+ "name": "title",
2312
+ "default": "-",
2313
+ "description": "Group title",
2314
+ "options": [],
2315
+ "value": {
2316
+ "type": "string",
2317
+ "kind": "expression"
2318
+ }
2319
+ },
2320
+ {
2321
+ "name": "inset",
2322
+ "default": "`false`",
2323
+ "description": "Whether to be inset grouped",
2324
+ "options": [],
2325
+ "value": {
2326
+ "type": "boolean",
2327
+ "kind": "expression"
2328
+ }
2329
+ },
2330
+ {
2331
+ "name": "border",
2332
+ "default": "`true`",
2333
+ "description": "Whether to show outer border",
2334
+ "options": [],
2335
+ "value": {
2336
+ "type": "boolean",
2337
+ "kind": "expression"
2338
+ }
2339
+ }
2340
+ ]
2341
+ },
2342
+ {
2343
+ "name": "van-cell",
2344
+ "slots": [
2345
+ {
2346
+ "name": "title",
2347
+ "description": "Custom title"
2348
+ },
2349
+ {
2350
+ "name": "value",
2351
+ "description": "Custom value"
2352
+ },
2353
+ {
2354
+ "name": "label",
2291
2355
  "description": "Custom label"
2292
2356
  },
2293
2357
  {
2294
2358
  "name": "icon",
2295
- "description": "Custom icon"
2359
+ "description": "Custom left icon"
2360
+ },
2361
+ {
2362
+ "name": "right-icon",
2363
+ "description": "Custom right icon"
2364
+ },
2365
+ {
2366
+ "name": "extra",
2367
+ "description": "Custom extra content on the right"
2296
2368
  }
2297
2369
  ],
2298
2370
  "events": [
2299
- {
2300
- "name": "change",
2301
- "description": "Emitted when value changed",
2302
- "arguments": [
2303
- {
2304
- "name": "checked",
2305
- "type": "boolean"
2306
- }
2307
- ]
2308
- },
2309
2371
  {
2310
2372
  "name": "click",
2311
- "description": "Emitted when the checkbox is clicked",
2373
+ "description": "Emitted when cell is clicked",
2312
2374
  "arguments": [
2313
2375
  {
2314
2376
  "name": "event",
@@ -2319,29 +2381,29 @@
2319
2381
  ],
2320
2382
  "attributes": [
2321
2383
  {
2322
- "name": "v-model",
2323
- "default": "`false`",
2324
- "description": "Check status",
2384
+ "name": "title",
2385
+ "default": "-",
2386
+ "description": "Title",
2325
2387
  "options": [],
2326
2388
  "value": {
2327
- "type": "boolean",
2389
+ "type": "number | string",
2328
2390
  "kind": "expression"
2329
2391
  }
2330
2392
  },
2331
2393
  {
2332
- "name": "name",
2394
+ "name": "value",
2333
2395
  "default": "-",
2334
- "description": "Checkbox name, usually a unique string or number",
2396
+ "description": "Right text",
2335
2397
  "options": [],
2336
2398
  "value": {
2337
- "type": "any",
2399
+ "type": "number | string",
2338
2400
  "kind": "expression"
2339
2401
  }
2340
2402
  },
2341
2403
  {
2342
- "name": "shape",
2343
- "default": "`round`",
2344
- "description": "Can be set to `square`",
2404
+ "name": "label",
2405
+ "default": "-",
2406
+ "description": "Description below the title",
2345
2407
  "options": [],
2346
2408
  "value": {
2347
2409
  "type": "string",
@@ -2349,29 +2411,29 @@
2349
2411
  }
2350
2412
  },
2351
2413
  {
2352
- "name": "disabled",
2353
- "default": "`false`",
2354
- "description": "Disable checkbox",
2355
- "options": [],
2356
- "value": {
2357
- "type": "boolean",
2414
+ "name": "size",
2415
+ "default": "-",
2416
+ "description": "Size, can be set to `large`",
2417
+ "options": [],
2418
+ "value": {
2419
+ "type": "string",
2358
2420
  "kind": "expression"
2359
2421
  }
2360
2422
  },
2361
2423
  {
2362
- "name": "label-disabled",
2363
- "default": "`false`",
2364
- "description": "Whether to disable label click",
2424
+ "name": "icon",
2425
+ "default": "-",
2426
+ "description": "Left Icon",
2365
2427
  "options": [],
2366
2428
  "value": {
2367
- "type": "boolean",
2429
+ "type": "string",
2368
2430
  "kind": "expression"
2369
2431
  }
2370
2432
  },
2371
2433
  {
2372
- "name": "label-position",
2373
- "default": "`right`",
2374
- "description": "Can be set to `left`",
2434
+ "name": "icon-prefix",
2435
+ "default": "`van-icon`",
2436
+ "description": "Icon className prefix",
2375
2437
  "options": [],
2376
2438
  "value": {
2377
2439
  "type": "string",
@@ -2379,67 +2441,49 @@
2379
2441
  }
2380
2442
  },
2381
2443
  {
2382
- "name": "icon-size",
2383
- "default": "`20px`",
2384
- "description": "Icon size",
2444
+ "name": "border",
2445
+ "default": "`true`",
2446
+ "description": "Whether to show inner border",
2385
2447
  "options": [],
2386
2448
  "value": {
2387
- "type": "number | string",
2449
+ "type": "boolean",
2388
2450
  "kind": "expression"
2389
2451
  }
2390
2452
  },
2391
2453
  {
2392
- "name": "checked-color",
2393
- "default": "`#1989fa`",
2394
- "description": "Checked color",
2454
+ "name": "center",
2455
+ "default": "`false`",
2456
+ "description": "Whether to center content vertically",
2395
2457
  "options": [],
2396
2458
  "value": {
2397
- "type": "string",
2459
+ "type": "boolean",
2398
2460
  "kind": "expression"
2399
2461
  }
2400
2462
  },
2401
2463
  {
2402
- "name": "bind-group",
2403
- "default": "`true`",
2404
- "description": "Whether to bind with CheckboxGroup",
2464
+ "name": "url",
2465
+ "default": "-",
2466
+ "description": "Link URL",
2405
2467
  "options": [],
2406
2468
  "value": {
2407
- "type": "boolean",
2469
+ "type": "string",
2408
2470
  "kind": "expression"
2409
2471
  }
2410
- }
2411
- ]
2412
- },
2413
- {
2414
- "name": "van-checkbox-group",
2415
- "slots": [],
2416
- "events": [
2417
- {
2418
- "name": "change",
2419
- "description": "Emitted when value changed",
2420
- "arguments": [
2421
- {
2422
- "name": "names",
2423
- "type": "any[]"
2424
- }
2425
- ]
2426
- }
2427
- ],
2428
- "attributes": [
2472
+ },
2429
2473
  {
2430
- "name": "v-model",
2474
+ "name": "to",
2431
2475
  "default": "-",
2432
- "description": "Names of all checked checkboxes",
2476
+ "description": "Target route of the link, same as to of vue-router",
2433
2477
  "options": [],
2434
2478
  "value": {
2435
- "type": "any[]",
2479
+ "type": "string | object",
2436
2480
  "kind": "expression"
2437
2481
  }
2438
2482
  },
2439
2483
  {
2440
- "name": "disabled",
2484
+ "name": "replace",
2441
2485
  "default": "`false`",
2442
- "description": "Whether to disable all checkboxes",
2486
+ "description": "If true, the navigation will not leave a history record",
2443
2487
  "options": [],
2444
2488
  "value": {
2445
2489
  "type": "boolean",
@@ -2447,125 +2491,113 @@
2447
2491
  }
2448
2492
  },
2449
2493
  {
2450
- "name": "max",
2451
- "default": "`0`(Unlimited)",
2452
- "description": "Maximum amount of checked options",
2494
+ "name": "clickable",
2495
+ "default": "`null`",
2496
+ "description": "Whether to show click feedback when clicked",
2453
2497
  "options": [],
2454
2498
  "value": {
2455
- "type": "number | string",
2499
+ "type": "boolean",
2456
2500
  "kind": "expression"
2457
2501
  }
2458
2502
  },
2459
2503
  {
2460
- "name": "direction",
2461
- "default": "`vertical`",
2462
- "description": "Direction, can be set to `horizontal`",
2504
+ "name": "is-link",
2505
+ "default": "`false`",
2506
+ "description": "Whether to show link icon",
2463
2507
  "options": [],
2464
2508
  "value": {
2465
- "type": "string",
2509
+ "type": "boolean",
2466
2510
  "kind": "expression"
2467
2511
  }
2468
2512
  },
2469
2513
  {
2470
- "name": "icon-size",
2471
- "default": "`20px`",
2472
- "description": "Icon size of all checkboxes",
2514
+ "name": "required",
2515
+ "default": "`false`",
2516
+ "description": "Whether to show required mark",
2473
2517
  "options": [],
2474
2518
  "value": {
2475
- "type": "number | string",
2519
+ "type": "boolean",
2476
2520
  "kind": "expression"
2477
2521
  }
2478
2522
  },
2479
2523
  {
2480
- "name": "checked-color",
2481
- "default": "`#1989fa`",
2482
- "description": "Checked color of all checkboxes",
2524
+ "name": "arrow-direction",
2525
+ "default": "`right`",
2526
+ "description": "Can be set to `left` `up` `down`",
2483
2527
  "options": [],
2484
2528
  "value": {
2485
2529
  "type": "string",
2486
2530
  "kind": "expression"
2487
2531
  }
2488
- }
2489
- ]
2490
- },
2491
- {
2492
- "name": "van-cell-group",
2493
- "slots": [
2494
- {
2495
- "name": "default",
2496
- "description": "Default slot"
2497
2532
  },
2498
2533
  {
2499
- "name": "title",
2500
- "description": "Custom title"
2501
- }
2502
- ],
2503
- "events": [],
2504
- "attributes": [
2534
+ "name": "title-style",
2535
+ "default": "-",
2536
+ "description": "Title style",
2537
+ "options": [],
2538
+ "value": {
2539
+ "type": "string | Array | object",
2540
+ "kind": "expression"
2541
+ }
2542
+ },
2505
2543
  {
2506
- "name": "title",
2544
+ "name": "title-class",
2507
2545
  "default": "-",
2508
- "description": "Group title",
2546
+ "description": "Title className",
2509
2547
  "options": [],
2510
2548
  "value": {
2511
- "type": "string",
2549
+ "type": "string | Array | object",
2512
2550
  "kind": "expression"
2513
2551
  }
2514
2552
  },
2515
2553
  {
2516
- "name": "inset",
2517
- "default": "`false`",
2518
- "description": "Whether to be inset grouped",
2554
+ "name": "value-class",
2555
+ "default": "-",
2556
+ "description": "Value className",
2519
2557
  "options": [],
2520
2558
  "value": {
2521
- "type": "boolean",
2559
+ "type": "string | Array | object",
2522
2560
  "kind": "expression"
2523
2561
  }
2524
2562
  },
2525
2563
  {
2526
- "name": "border",
2527
- "default": "`true`",
2528
- "description": "Whether to show outer border",
2564
+ "name": "label-class",
2565
+ "default": "-",
2566
+ "description": "Label className",
2529
2567
  "options": [],
2530
2568
  "value": {
2531
- "type": "boolean",
2569
+ "type": "string | Array | object",
2532
2570
  "kind": "expression"
2533
2571
  }
2534
2572
  }
2535
2573
  ]
2536
2574
  },
2537
2575
  {
2538
- "name": "van-cell",
2576
+ "name": "van-checkbox",
2539
2577
  "slots": [
2540
2578
  {
2541
- "name": "title",
2542
- "description": "Custom title"
2543
- },
2544
- {
2545
- "name": "value",
2546
- "description": "Custom value"
2547
- },
2548
- {
2549
- "name": "label",
2579
+ "name": "default",
2550
2580
  "description": "Custom label"
2551
2581
  },
2552
2582
  {
2553
2583
  "name": "icon",
2554
- "description": "Custom left icon"
2555
- },
2556
- {
2557
- "name": "right-icon",
2558
- "description": "Custom right icon"
2559
- },
2560
- {
2561
- "name": "extra",
2562
- "description": "Custom extra content on the right"
2584
+ "description": "Custom icon"
2563
2585
  }
2564
2586
  ],
2565
2587
  "events": [
2588
+ {
2589
+ "name": "change",
2590
+ "description": "Emitted when value changed",
2591
+ "arguments": [
2592
+ {
2593
+ "name": "checked",
2594
+ "type": "boolean"
2595
+ }
2596
+ ]
2597
+ },
2566
2598
  {
2567
2599
  "name": "click",
2568
- "description": "Emitted when cell is clicked",
2600
+ "description": "Emitted when the checkbox is clicked",
2569
2601
  "arguments": [
2570
2602
  {
2571
2603
  "name": "event",
@@ -2576,29 +2608,29 @@
2576
2608
  ],
2577
2609
  "attributes": [
2578
2610
  {
2579
- "name": "title",
2580
- "default": "-",
2581
- "description": "Title",
2611
+ "name": "v-model",
2612
+ "default": "`false`",
2613
+ "description": "Check status",
2582
2614
  "options": [],
2583
2615
  "value": {
2584
- "type": "number | string",
2616
+ "type": "boolean",
2585
2617
  "kind": "expression"
2586
2618
  }
2587
2619
  },
2588
2620
  {
2589
- "name": "value",
2621
+ "name": "name",
2590
2622
  "default": "-",
2591
- "description": "Right text",
2623
+ "description": "Checkbox name, usually a unique string or number",
2592
2624
  "options": [],
2593
2625
  "value": {
2594
- "type": "number | string",
2626
+ "type": "any",
2595
2627
  "kind": "expression"
2596
2628
  }
2597
2629
  },
2598
2630
  {
2599
- "name": "label",
2600
- "default": "-",
2601
- "description": "Description below the title",
2631
+ "name": "shape",
2632
+ "default": "`round`",
2633
+ "description": "Can be set to `square`",
2602
2634
  "options": [],
2603
2635
  "value": {
2604
2636
  "type": "string",
@@ -2606,29 +2638,29 @@
2606
2638
  }
2607
2639
  },
2608
2640
  {
2609
- "name": "size",
2610
- "default": "-",
2611
- "description": "Size, can be set to `large`",
2641
+ "name": "disabled",
2642
+ "default": "`false`",
2643
+ "description": "Disable checkbox",
2612
2644
  "options": [],
2613
2645
  "value": {
2614
- "type": "string",
2646
+ "type": "boolean",
2615
2647
  "kind": "expression"
2616
2648
  }
2617
2649
  },
2618
2650
  {
2619
- "name": "icon",
2620
- "default": "-",
2621
- "description": "Left Icon",
2651
+ "name": "label-disabled",
2652
+ "default": "`false`",
2653
+ "description": "Whether to disable label click",
2622
2654
  "options": [],
2623
2655
  "value": {
2624
- "type": "string",
2656
+ "type": "boolean",
2625
2657
  "kind": "expression"
2626
2658
  }
2627
2659
  },
2628
2660
  {
2629
- "name": "icon-prefix",
2630
- "default": "`van-icon`",
2631
- "description": "Icon className prefix",
2661
+ "name": "label-position",
2662
+ "default": "`right`",
2663
+ "description": "Can be set to `left`",
2632
2664
  "options": [],
2633
2665
  "value": {
2634
2666
  "type": "string",
@@ -2636,69 +2668,67 @@
2636
2668
  }
2637
2669
  },
2638
2670
  {
2639
- "name": "border",
2640
- "default": "`true`",
2641
- "description": "Whether to show inner border",
2671
+ "name": "icon-size",
2672
+ "default": "`20px`",
2673
+ "description": "Icon size",
2642
2674
  "options": [],
2643
2675
  "value": {
2644
- "type": "boolean",
2676
+ "type": "number | string",
2645
2677
  "kind": "expression"
2646
2678
  }
2647
2679
  },
2648
2680
  {
2649
- "name": "center",
2650
- "default": "`false`",
2651
- "description": "Whether to center content vertically",
2681
+ "name": "checked-color",
2682
+ "default": "`#1989fa`",
2683
+ "description": "Checked color",
2652
2684
  "options": [],
2653
2685
  "value": {
2654
- "type": "boolean",
2686
+ "type": "string",
2655
2687
  "kind": "expression"
2656
2688
  }
2657
2689
  },
2658
2690
  {
2659
- "name": "url",
2660
- "default": "-",
2661
- "description": "Link URL",
2691
+ "name": "bind-group",
2692
+ "default": "`true`",
2693
+ "description": "Whether to bind with CheckboxGroup",
2662
2694
  "options": [],
2663
2695
  "value": {
2664
- "type": "string",
2696
+ "type": "boolean",
2665
2697
  "kind": "expression"
2666
2698
  }
2667
- },
2668
- {
2669
- "name": "to",
2670
- "default": "-",
2671
- "description": "Target route of the link, same as to of vue-router",
2672
- "options": [],
2673
- "value": {
2674
- "type": "string | object",
2675
- "kind": "expression"
2676
- }
2677
- },
2699
+ }
2700
+ ]
2701
+ },
2702
+ {
2703
+ "name": "van-checkbox-group",
2704
+ "slots": [],
2705
+ "events": [
2678
2706
  {
2679
- "name": "replace",
2680
- "default": "`false`",
2681
- "description": "If true, the navigation will not leave a history record",
2682
- "options": [],
2683
- "value": {
2684
- "type": "boolean",
2685
- "kind": "expression"
2686
- }
2687
- },
2707
+ "name": "change",
2708
+ "description": "Emitted when value changed",
2709
+ "arguments": [
2710
+ {
2711
+ "name": "names",
2712
+ "type": "any[]"
2713
+ }
2714
+ ]
2715
+ }
2716
+ ],
2717
+ "attributes": [
2688
2718
  {
2689
- "name": "clickable",
2690
- "default": "`null`",
2691
- "description": "Whether to show click feedback when clicked",
2719
+ "name": "v-model",
2720
+ "default": "-",
2721
+ "description": "Names of all checked checkboxes",
2692
2722
  "options": [],
2693
2723
  "value": {
2694
- "type": "boolean",
2724
+ "type": "any[]",
2695
2725
  "kind": "expression"
2696
2726
  }
2697
2727
  },
2698
2728
  {
2699
- "name": "is-link",
2729
+ "name": "disabled",
2700
2730
  "default": "`false`",
2701
- "description": "Whether to show link icon",
2731
+ "description": "Whether to disable all checkboxes",
2702
2732
  "options": [],
2703
2733
  "value": {
2704
2734
  "type": "boolean",
@@ -2706,19 +2736,19 @@
2706
2736
  }
2707
2737
  },
2708
2738
  {
2709
- "name": "required",
2710
- "default": "`false`",
2711
- "description": "Whether to show required mark",
2739
+ "name": "max",
2740
+ "default": "`0`(Unlimited)",
2741
+ "description": "Maximum amount of checked options",
2712
2742
  "options": [],
2713
2743
  "value": {
2714
- "type": "boolean",
2744
+ "type": "number | string",
2715
2745
  "kind": "expression"
2716
2746
  }
2717
2747
  },
2718
2748
  {
2719
- "name": "arrow-direction",
2720
- "default": "`right`",
2721
- "description": "Can be set to `left` `up` `down`",
2749
+ "name": "direction",
2750
+ "default": "`vertical`",
2751
+ "description": "Direction, can be set to `horizontal`",
2722
2752
  "options": [],
2723
2753
  "value": {
2724
2754
  "type": "string",
@@ -2726,42 +2756,22 @@
2726
2756
  }
2727
2757
  },
2728
2758
  {
2729
- "name": "title-style",
2730
- "default": "-",
2731
- "description": "Title style",
2732
- "options": [],
2733
- "value": {
2734
- "type": "string | Array | object",
2735
- "kind": "expression"
2736
- }
2737
- },
2738
- {
2739
- "name": "title-class",
2740
- "default": "-",
2741
- "description": "Title className",
2742
- "options": [],
2743
- "value": {
2744
- "type": "string | Array | object",
2745
- "kind": "expression"
2746
- }
2747
- },
2748
- {
2749
- "name": "value-class",
2750
- "default": "-",
2751
- "description": "Value className",
2759
+ "name": "icon-size",
2760
+ "default": "`20px`",
2761
+ "description": "Icon size of all checkboxes",
2752
2762
  "options": [],
2753
2763
  "value": {
2754
- "type": "string | Array | object",
2764
+ "type": "number | string",
2755
2765
  "kind": "expression"
2756
2766
  }
2757
2767
  },
2758
2768
  {
2759
- "name": "label-class",
2760
- "default": "-",
2761
- "description": "Label className",
2769
+ "name": "checked-color",
2770
+ "default": "`#1989fa`",
2771
+ "description": "Checked color of all checkboxes",
2762
2772
  "options": [],
2763
2773
  "value": {
2764
- "type": "string | Array | object",
2774
+ "type": "string",
2765
2775
  "kind": "expression"
2766
2776
  }
2767
2777
  }
@@ -3312,6 +3322,74 @@
3312
3322
  }
3313
3323
  ]
3314
3324
  },
3325
+ {
3326
+ "name": "van-contact-card",
3327
+ "slots": [],
3328
+ "events": [
3329
+ {
3330
+ "name": "click",
3331
+ "description": "Emitted when component is clicked",
3332
+ "arguments": [
3333
+ {
3334
+ "name": "event",
3335
+ "type": "MouseEvent"
3336
+ }
3337
+ ]
3338
+ }
3339
+ ],
3340
+ "attributes": [
3341
+ {
3342
+ "name": "type",
3343
+ "default": "`add`",
3344
+ "description": "Can be set to `edit`",
3345
+ "options": [],
3346
+ "value": {
3347
+ "type": "string",
3348
+ "kind": "expression"
3349
+ }
3350
+ },
3351
+ {
3352
+ "name": "name",
3353
+ "default": "-",
3354
+ "description": "Name",
3355
+ "options": [],
3356
+ "value": {
3357
+ "type": "string",
3358
+ "kind": "expression"
3359
+ }
3360
+ },
3361
+ {
3362
+ "name": "tel",
3363
+ "default": "-",
3364
+ "description": "Phone",
3365
+ "options": [],
3366
+ "value": {
3367
+ "type": "string",
3368
+ "kind": "expression"
3369
+ }
3370
+ },
3371
+ {
3372
+ "name": "add-text",
3373
+ "default": "`Add contact info`",
3374
+ "description": "Add card text",
3375
+ "options": [],
3376
+ "value": {
3377
+ "type": "string",
3378
+ "kind": "expression"
3379
+ }
3380
+ },
3381
+ {
3382
+ "name": "editable",
3383
+ "default": "`true`",
3384
+ "description": "Whether to allow editing of contacts",
3385
+ "options": [],
3386
+ "value": {
3387
+ "type": "boolean",
3388
+ "kind": "expression"
3389
+ }
3390
+ }
3391
+ ]
3392
+ },
3315
3393
  {
3316
3394
  "name": "van-contact-edit",
3317
3395
  "slots": [],
@@ -3411,55 +3489,68 @@
3411
3489
  ]
3412
3490
  },
3413
3491
  {
3414
- "name": "van-contact-card",
3492
+ "name": "van-contact-list",
3415
3493
  "slots": [],
3416
3494
  "events": [
3417
3495
  {
3418
- "name": "click",
3419
- "description": "Emitted when component is clicked",
3496
+ "name": "add",
3497
+ "description": "Emitted when the add button is clicked",
3498
+ "arguments": []
3499
+ },
3500
+ {
3501
+ "name": "edit",
3502
+ "description": "Emitted when the edit button is clicked",
3420
3503
  "arguments": [
3421
3504
  {
3422
- "name": "event",
3423
- "type": "MouseEvent"
3505
+ "name": "contact",
3506
+ "type": "Contact"
3507
+ },
3508
+ {
3509
+ "name": "index",
3510
+ "type": "number"
3511
+ }
3512
+ ]
3513
+ },
3514
+ {
3515
+ "name": "select",
3516
+ "description": "Emitted when a contact is selected",
3517
+ "arguments": [
3518
+ {
3519
+ "name": "contact",
3520
+ "type": "Contact"
3521
+ },
3522
+ {
3523
+ "name": "index",
3524
+ "type": "number"
3424
3525
  }
3425
3526
  ]
3426
3527
  }
3427
3528
  ],
3428
3529
  "attributes": [
3429
3530
  {
3430
- "name": "type",
3431
- "default": "`add`",
3432
- "description": "Can be set to `edit`",
3433
- "options": [],
3434
- "value": {
3435
- "type": "string",
3436
- "kind": "expression"
3437
- }
3438
- },
3439
- {
3440
- "name": "name",
3531
+ "name": "v-model",
3441
3532
  "default": "-",
3442
- "description": "Name",
3533
+ "description": "Id of chosen contact",
3443
3534
  "options": [],
3444
3535
  "value": {
3445
- "type": "string",
3536
+ "type": "number | string",
3446
3537
  "kind": "expression"
3447
3538
  }
3448
3539
  },
3449
3540
  {
3450
- "name": "tel",
3451
- "default": "-",
3452
- "description": "Phone",
3541
+ "name": "list",
3542
+ "default": "`[]`",
3543
+ "description": "Contact list",
3453
3544
  "options": [],
3454
3545
  "value": {
3455
- "type": "string",
3546
+ "type": "Contact[]",
3456
3547
  "kind": "expression"
3457
3548
  }
3458
3549
  },
3459
3550
  {
3460
3551
  "name": "add-text",
3461
- "default": "`Add contact info`",
3462
- "description": "Add card text",
3552
+ "default": "`Add new contact`",
3553
+ "description": "Add button text",
3463
3554
  "options": [],
3464
3555
  "value": {
3465
3556
  "type": "string",
@@ -3467,12 +3558,12 @@
3467
3558
  }
3468
3559
  },
3469
3560
  {
3470
- "name": "editable",
3471
- "default": "`true`",
3472
- "description": "Whether to allow editing of contacts",
3561
+ "name": "default-tag-text",
3562
+ "default": "-",
3563
+ "description": "Default tag text",
3473
3564
  "options": [],
3474
3565
  "value": {
3475
- "type": "boolean",
3566
+ "type": "string",
3476
3567
  "kind": "expression"
3477
3568
  }
3478
3569
  }
@@ -3547,100 +3638,19 @@
3547
3638
  ]
3548
3639
  },
3549
3640
  {
3550
- "name": "van-contact-list",
3641
+ "name": "van-coupon-cell",
3551
3642
  "slots": [],
3552
- "events": [
3643
+ "events": [],
3644
+ "attributes": [
3553
3645
  {
3554
- "name": "add",
3555
- "description": "Emitted when the add button is clicked",
3556
- "arguments": []
3557
- },
3558
- {
3559
- "name": "edit",
3560
- "description": "Emitted when the edit button is clicked",
3561
- "arguments": [
3562
- {
3563
- "name": "contact",
3564
- "type": "Contact"
3565
- },
3566
- {
3567
- "name": "index",
3568
- "type": "number"
3569
- }
3570
- ]
3571
- },
3572
- {
3573
- "name": "select",
3574
- "description": "Emitted when a contact is selected",
3575
- "arguments": [
3576
- {
3577
- "name": "contact",
3578
- "type": "Contact"
3579
- },
3580
- {
3581
- "name": "index",
3582
- "type": "number"
3583
- }
3584
- ]
3585
- }
3586
- ],
3587
- "attributes": [
3588
- {
3589
- "name": "v-model",
3590
- "default": "-",
3591
- "description": "Id of chosen contact",
3592
- "options": [],
3593
- "value": {
3594
- "type": "number | string",
3595
- "kind": "expression"
3596
- }
3597
- },
3598
- {
3599
- "name": "list",
3600
- "default": "`[]`",
3601
- "description": "Contact list",
3602
- "options": [],
3603
- "value": {
3604
- "type": "Contact[]",
3605
- "kind": "expression"
3606
- }
3607
- },
3608
- {
3609
- "name": "add-text",
3610
- "default": "`Add new contact`",
3611
- "description": "Add button text",
3612
- "options": [],
3613
- "value": {
3614
- "type": "string",
3615
- "kind": "expression"
3616
- }
3617
- },
3618
- {
3619
- "name": "default-tag-text",
3620
- "default": "-",
3621
- "description": "Default tag text",
3622
- "options": [],
3623
- "value": {
3624
- "type": "string",
3625
- "kind": "expression"
3626
- }
3627
- }
3628
- ]
3629
- },
3630
- {
3631
- "name": "van-coupon-cell",
3632
- "slots": [],
3633
- "events": [],
3634
- "attributes": [
3635
- {
3636
- "name": "title",
3637
- "default": "`Coupon`",
3638
- "description": "Cell title",
3639
- "options": [],
3640
- "value": {
3641
- "type": "string",
3642
- "kind": "expression"
3643
- }
3646
+ "name": "title",
3647
+ "default": "`Coupon`",
3648
+ "description": "Cell title",
3649
+ "options": [],
3650
+ "value": {
3651
+ "type": "string",
3652
+ "kind": "expression"
3653
+ }
3644
3654
  },
3645
3655
  {
3646
3656
  "name": "chosen-coupon",
@@ -4294,6 +4304,16 @@
4294
4304
  "kind": "expression"
4295
4305
  }
4296
4306
  },
4307
+ {
4308
+ "name": "z-index",
4309
+ "default": "`2000+`",
4310
+ "description": "Set the z-index to a fixed value",
4311
+ "options": [],
4312
+ "value": {
4313
+ "type": "number | string",
4314
+ "kind": "expression"
4315
+ }
4316
+ },
4297
4317
  {
4298
4318
  "name": "overlay",
4299
4319
  "default": "`true`",
@@ -4815,7 +4835,7 @@
4815
4835
  "description": "Emitted when end validation",
4816
4836
  "arguments": [
4817
4837
  {
4818
- "name": "{ status: string }"
4838
+ "name": "{ status: string, message: string }"
4819
4839
  }
4820
4840
  ]
4821
4841
  }
@@ -6940,6 +6960,99 @@
6940
6960
  }
6941
6961
  ]
6942
6962
  },
6963
+ {
6964
+ "name": "van-overlay",
6965
+ "slots": [
6966
+ {
6967
+ "name": "default",
6968
+ "description": "Default slot"
6969
+ }
6970
+ ],
6971
+ "events": [
6972
+ {
6973
+ "name": "click",
6974
+ "description": "Emitted when component is clicked",
6975
+ "arguments": [
6976
+ {
6977
+ "name": "event",
6978
+ "type": "MouseEvent"
6979
+ }
6980
+ ]
6981
+ }
6982
+ ],
6983
+ "attributes": [
6984
+ {
6985
+ "name": "show",
6986
+ "default": "`false`",
6987
+ "description": "Whether to show overlay",
6988
+ "options": [],
6989
+ "value": {
6990
+ "type": "boolean",
6991
+ "kind": "expression"
6992
+ }
6993
+ },
6994
+ {
6995
+ "name": "z-index",
6996
+ "default": "`1`",
6997
+ "description": "z-index",
6998
+ "options": [],
6999
+ "value": {
7000
+ "type": "number | string",
7001
+ "kind": "expression"
7002
+ }
7003
+ },
7004
+ {
7005
+ "name": "duration",
7006
+ "default": "`0.3`",
7007
+ "description": "Animation duration",
7008
+ "options": [],
7009
+ "value": {
7010
+ "type": "number | string",
7011
+ "kind": "expression"
7012
+ }
7013
+ },
7014
+ {
7015
+ "name": "class-name",
7016
+ "default": "-",
7017
+ "description": "ClassName",
7018
+ "options": [],
7019
+ "value": {
7020
+ "type": "string",
7021
+ "kind": "expression"
7022
+ }
7023
+ },
7024
+ {
7025
+ "name": "custom-class",
7026
+ "default": "-",
7027
+ "description": "Custom style",
7028
+ "options": [],
7029
+ "value": {
7030
+ "type": "object",
7031
+ "kind": "expression"
7032
+ }
7033
+ },
7034
+ {
7035
+ "name": "lock-scroll",
7036
+ "default": "`true`",
7037
+ "description": "Whether to lock background scroll",
7038
+ "options": [],
7039
+ "value": {
7040
+ "type": "boolean",
7041
+ "kind": "expression"
7042
+ }
7043
+ },
7044
+ {
7045
+ "name": "lazy-render",
7046
+ "default": "`true`",
7047
+ "description": "Whether to lazy render util appeared",
7048
+ "options": [],
7049
+ "value": {
7050
+ "type": "boolean",
7051
+ "kind": "expression"
7052
+ }
7053
+ }
7054
+ ]
7055
+ },
6943
7056
  {
6944
7057
  "name": "van-pagination",
6945
7058
  "slots": [
@@ -7057,80 +7170,70 @@
7057
7170
  ]
7058
7171
  },
7059
7172
  {
7060
- "name": "van-overlay",
7061
- "slots": [
7062
- {
7063
- "name": "default",
7064
- "description": "Default slot"
7065
- }
7066
- ],
7173
+ "name": "van-password-input",
7174
+ "slots": [],
7067
7175
  "events": [
7068
7176
  {
7069
- "name": "click",
7070
- "description": "Emitted when component is clicked",
7071
- "arguments": [
7072
- {
7073
- "name": "event",
7074
- "type": "MouseEvent"
7075
- }
7076
- ]
7177
+ "name": "focus",
7178
+ "description": "Emitted when input is focused",
7179
+ "arguments": []
7077
7180
  }
7078
7181
  ],
7079
7182
  "attributes": [
7080
7183
  {
7081
- "name": "show",
7082
- "default": "`false`",
7083
- "description": "Whether to show overlay",
7184
+ "name": "value",
7185
+ "default": "`''`",
7186
+ "description": "Password value",
7084
7187
  "options": [],
7085
7188
  "value": {
7086
- "type": "boolean",
7189
+ "type": "string",
7087
7190
  "kind": "expression"
7088
7191
  }
7089
7192
  },
7090
7193
  {
7091
- "name": "z-index",
7092
- "default": "`1`",
7093
- "description": "z-index",
7194
+ "name": "info",
7195
+ "default": "-",
7196
+ "description": "Bottom info",
7094
7197
  "options": [],
7095
7198
  "value": {
7096
- "type": "number | string",
7199
+ "type": "string",
7097
7200
  "kind": "expression"
7098
7201
  }
7099
7202
  },
7100
7203
  {
7101
- "name": "duration",
7102
- "default": "`0.3`",
7103
- "description": "Animation duration",
7204
+ "name": "error-info",
7205
+ "default": "-",
7206
+ "description": "Bottom error info",
7104
7207
  "options": [],
7105
7208
  "value": {
7106
- "type": "number | string",
7209
+ "type": "string",
7107
7210
  "kind": "expression"
7108
7211
  }
7109
7212
  },
7110
7213
  {
7111
- "name": "class-name",
7112
- "default": "-",
7113
- "description": "ClassName",
7214
+ "name": "length",
7215
+ "default": "`6`",
7216
+ "description": "Maxlength of password",
7114
7217
  "options": [],
7115
7218
  "value": {
7116
- "type": "string",
7219
+ "type": "number | string",
7117
7220
  "kind": "expression"
7118
7221
  }
7119
7222
  },
7120
7223
  {
7121
- "name": "custom-class",
7122
- "default": "-",
7123
- "description": "Custom style",
7224
+ "name": "gutter",
7225
+ "default": "`0`",
7226
+ "description": "Gutter of input",
7124
7227
  "options": [],
7125
7228
  "value": {
7126
- "type": "object",
7229
+ "type": "number | string",
7127
7230
  "kind": "expression"
7128
7231
  }
7129
7232
  },
7130
7233
  {
7131
- "name": "lock-scroll",
7234
+ "name": "mask",
7132
7235
  "default": "`true`",
7133
- "description": "Whether to lock background scroll",
7236
+ "description": "Whether to mask value",
7134
7237
  "options": [],
7135
7238
  "value": {
7136
7239
  "type": "boolean",
@@ -7138,9 +7241,9 @@
7138
7241
  }
7139
7242
  },
7140
7243
  {
7141
- "name": "lazy-render",
7142
- "default": "`true`",
7143
- "description": "Whether to lazy render util appeared",
7244
+ "name": "focused",
7245
+ "default": "`false`",
7246
+ "description": "Whether to show focused cursor",
7144
7247
  "options": [],
7145
7248
  "value": {
7146
7249
  "type": "boolean",
@@ -7150,91 +7253,8 @@
7150
7253
  ]
7151
7254
  },
7152
7255
  {
7153
- "name": "van-password-input",
7154
- "slots": [],
7155
- "events": [
7156
- {
7157
- "name": "focus",
7158
- "description": "Emitted when input is focused",
7159
- "arguments": []
7160
- }
7161
- ],
7162
- "attributes": [
7163
- {
7164
- "name": "value",
7165
- "default": "`''`",
7166
- "description": "Password value",
7167
- "options": [],
7168
- "value": {
7169
- "type": "string",
7170
- "kind": "expression"
7171
- }
7172
- },
7173
- {
7174
- "name": "info",
7175
- "default": "-",
7176
- "description": "Bottom info",
7177
- "options": [],
7178
- "value": {
7179
- "type": "string",
7180
- "kind": "expression"
7181
- }
7182
- },
7183
- {
7184
- "name": "error-info",
7185
- "default": "-",
7186
- "description": "Bottom error info",
7187
- "options": [],
7188
- "value": {
7189
- "type": "string",
7190
- "kind": "expression"
7191
- }
7192
- },
7193
- {
7194
- "name": "length",
7195
- "default": "`6`",
7196
- "description": "Maxlength of password",
7197
- "options": [],
7198
- "value": {
7199
- "type": "number | string",
7200
- "kind": "expression"
7201
- }
7202
- },
7203
- {
7204
- "name": "gutter",
7205
- "default": "`0`",
7206
- "description": "Gutter of input",
7207
- "options": [],
7208
- "value": {
7209
- "type": "number | string",
7210
- "kind": "expression"
7211
- }
7212
- },
7213
- {
7214
- "name": "mask",
7215
- "default": "`true`",
7216
- "description": "Whether to mask value",
7217
- "options": [],
7218
- "value": {
7219
- "type": "boolean",
7220
- "kind": "expression"
7221
- }
7222
- },
7223
- {
7224
- "name": "focused",
7225
- "default": "`false`",
7226
- "description": "Whether to show focused cursor",
7227
- "options": [],
7228
- "value": {
7229
- "type": "boolean",
7230
- "kind": "expression"
7231
- }
7232
- }
7233
- ]
7234
- },
7235
- {
7236
- "name": "van-picker",
7237
- "slots": [
7256
+ "name": "van-picker",
7257
+ "slots": [
7238
7258
  {
7239
7259
  "name": "toolbar",
7240
7260
  "description": "Custom toolbar content"
@@ -7704,103 +7724,6 @@
7704
7724
  }
7705
7725
  ]
7706
7726
  },
7707
- {
7708
- "name": "van-progress",
7709
- "slots": [],
7710
- "events": [],
7711
- "attributes": [
7712
- {
7713
- "name": "percentage",
7714
- "default": "`0`",
7715
- "description": "Percentage",
7716
- "options": [],
7717
- "value": {
7718
- "type": "number | string",
7719
- "kind": "expression"
7720
- }
7721
- },
7722
- {
7723
- "name": "stroke-width",
7724
- "default": "`4px`",
7725
- "description": "Stroke width",
7726
- "options": [],
7727
- "value": {
7728
- "type": "number | string",
7729
- "kind": "expression"
7730
- }
7731
- },
7732
- {
7733
- "name": "color",
7734
- "default": "`#1989fa`",
7735
- "description": "Color",
7736
- "options": [],
7737
- "value": {
7738
- "type": "string",
7739
- "kind": "expression"
7740
- }
7741
- },
7742
- {
7743
- "name": "track-color",
7744
- "default": "`#e5e5e5`",
7745
- "description": "Track color",
7746
- "options": [],
7747
- "value": {
7748
- "type": "string",
7749
- "kind": "expression"
7750
- }
7751
- },
7752
- {
7753
- "name": "pivot-text",
7754
- "default": "percentage",
7755
- "description": "Pivot text",
7756
- "options": [],
7757
- "value": {
7758
- "type": "string",
7759
- "kind": "expression"
7760
- }
7761
- },
7762
- {
7763
- "name": "pivot-color",
7764
- "default": "inherit progress color",
7765
- "description": "Pivot text background color",
7766
- "options": [],
7767
- "value": {
7768
- "type": "string",
7769
- "kind": "expression"
7770
- }
7771
- },
7772
- {
7773
- "name": "text-color",
7774
- "default": "`white`",
7775
- "description": "Pivot text color",
7776
- "options": [],
7777
- "value": {
7778
- "type": "string",
7779
- "kind": "expression"
7780
- }
7781
- },
7782
- {
7783
- "name": "inactive",
7784
- "default": "`false`",
7785
- "description": "Whether to be gray",
7786
- "options": [],
7787
- "value": {
7788
- "type": "boolean",
7789
- "kind": "expression"
7790
- }
7791
- },
7792
- {
7793
- "name": "show-pivot",
7794
- "default": "`true`",
7795
- "description": "Whether to show text",
7796
- "options": [],
7797
- "value": {
7798
- "type": "boolean",
7799
- "kind": "expression"
7800
- }
7801
- }
7802
- ]
7803
- },
7804
7727
  {
7805
7728
  "name": "van-popup",
7806
7729
  "slots": [
@@ -7926,6 +7849,16 @@
7926
7849
  "kind": "expression"
7927
7850
  }
7928
7851
  },
7852
+ {
7853
+ "name": "z-index",
7854
+ "default": "`2000+`",
7855
+ "description": "Set the z-index to a fixed value",
7856
+ "options": [],
7857
+ "value": {
7858
+ "type": "number | string",
7859
+ "kind": "expression"
7860
+ }
7861
+ },
7929
7862
  {
7930
7863
  "name": "round",
7931
7864
  "default": "`false`",
@@ -8079,74 +8012,34 @@
8079
8012
  ]
8080
8013
  },
8081
8014
  {
8082
- "name": "van-pull-refresh",
8083
- "slots": [
8084
- {
8085
- "name": "default",
8086
- "description": "Default slot"
8087
- },
8088
- {
8089
- "name": "normal",
8090
- "description": "Content of head when at normal status"
8091
- },
8092
- {
8093
- "name": "pulling",
8094
- "description": "Content of head when at pulling"
8095
- },
8096
- {
8097
- "name": "loosing",
8098
- "description": "Content of head when at loosing"
8099
- },
8100
- {
8101
- "name": "loading",
8102
- "description": "Content of head when at loading"
8103
- },
8104
- {
8105
- "name": "success",
8106
- "description": "Content of head when succeed"
8107
- }
8108
- ],
8109
- "events": [
8110
- {
8111
- "name": "refresh",
8112
- "description": "Emitted after pulling refresh",
8113
- "arguments": []
8114
- },
8115
- {
8116
- "name": "change",
8117
- "description": "Emitted when draging or status changed",
8118
- "arguments": [
8119
- {
8120
- "name": "{ status: string, distance: number }"
8121
- }
8122
- ]
8123
- }
8124
- ],
8015
+ "name": "van-progress",
8016
+ "slots": [],
8017
+ "events": [],
8125
8018
  "attributes": [
8126
8019
  {
8127
- "name": "v-model",
8128
- "default": "-",
8129
- "description": "Loading status",
8020
+ "name": "percentage",
8021
+ "default": "`0`",
8022
+ "description": "Percentage",
8130
8023
  "options": [],
8131
8024
  "value": {
8132
- "type": "boolean",
8025
+ "type": "number | string",
8133
8026
  "kind": "expression"
8134
8027
  }
8135
8028
  },
8136
8029
  {
8137
- "name": "pulling-text",
8138
- "default": "`Pull to refresh...`",
8139
- "description": "Text to show when pulling",
8030
+ "name": "stroke-width",
8031
+ "default": "`4px`",
8032
+ "description": "Stroke width",
8140
8033
  "options": [],
8141
8034
  "value": {
8142
- "type": "string",
8035
+ "type": "number | string",
8143
8036
  "kind": "expression"
8144
8037
  }
8145
8038
  },
8146
8039
  {
8147
- "name": "loosing-text",
8148
- "default": "`Loose to refresh...`",
8149
- "description": "Text to show when loosing",
8040
+ "name": "color",
8041
+ "default": "`#1989fa`",
8042
+ "description": "Color",
8150
8043
  "options": [],
8151
8044
  "value": {
8152
8045
  "type": "string",
@@ -8154,8 +8047,145 @@
8154
8047
  }
8155
8048
  },
8156
8049
  {
8157
- "name": "loading-text",
8158
- "default": "`Loading...`",
8050
+ "name": "track-color",
8051
+ "default": "`#e5e5e5`",
8052
+ "description": "Track color",
8053
+ "options": [],
8054
+ "value": {
8055
+ "type": "string",
8056
+ "kind": "expression"
8057
+ }
8058
+ },
8059
+ {
8060
+ "name": "pivot-text",
8061
+ "default": "percentage",
8062
+ "description": "Pivot text",
8063
+ "options": [],
8064
+ "value": {
8065
+ "type": "string",
8066
+ "kind": "expression"
8067
+ }
8068
+ },
8069
+ {
8070
+ "name": "pivot-color",
8071
+ "default": "inherit progress color",
8072
+ "description": "Pivot text background color",
8073
+ "options": [],
8074
+ "value": {
8075
+ "type": "string",
8076
+ "kind": "expression"
8077
+ }
8078
+ },
8079
+ {
8080
+ "name": "text-color",
8081
+ "default": "`white`",
8082
+ "description": "Pivot text color",
8083
+ "options": [],
8084
+ "value": {
8085
+ "type": "string",
8086
+ "kind": "expression"
8087
+ }
8088
+ },
8089
+ {
8090
+ "name": "inactive",
8091
+ "default": "`false`",
8092
+ "description": "Whether to be gray",
8093
+ "options": [],
8094
+ "value": {
8095
+ "type": "boolean",
8096
+ "kind": "expression"
8097
+ }
8098
+ },
8099
+ {
8100
+ "name": "show-pivot",
8101
+ "default": "`true`",
8102
+ "description": "Whether to show text",
8103
+ "options": [],
8104
+ "value": {
8105
+ "type": "boolean",
8106
+ "kind": "expression"
8107
+ }
8108
+ }
8109
+ ]
8110
+ },
8111
+ {
8112
+ "name": "van-pull-refresh",
8113
+ "slots": [
8114
+ {
8115
+ "name": "default",
8116
+ "description": "Default slot"
8117
+ },
8118
+ {
8119
+ "name": "normal",
8120
+ "description": "Content of head when at normal status"
8121
+ },
8122
+ {
8123
+ "name": "pulling",
8124
+ "description": "Content of head when at pulling"
8125
+ },
8126
+ {
8127
+ "name": "loosing",
8128
+ "description": "Content of head when at loosing"
8129
+ },
8130
+ {
8131
+ "name": "loading",
8132
+ "description": "Content of head when at loading"
8133
+ },
8134
+ {
8135
+ "name": "success",
8136
+ "description": "Content of head when succeed"
8137
+ }
8138
+ ],
8139
+ "events": [
8140
+ {
8141
+ "name": "refresh",
8142
+ "description": "Emitted after pulling refresh",
8143
+ "arguments": []
8144
+ },
8145
+ {
8146
+ "name": "change",
8147
+ "description": "Emitted when draging or status changed",
8148
+ "arguments": [
8149
+ {
8150
+ "name": "{ status: string, distance: number }"
8151
+ }
8152
+ ]
8153
+ }
8154
+ ],
8155
+ "attributes": [
8156
+ {
8157
+ "name": "v-model",
8158
+ "default": "-",
8159
+ "description": "Loading status",
8160
+ "options": [],
8161
+ "value": {
8162
+ "type": "boolean",
8163
+ "kind": "expression"
8164
+ }
8165
+ },
8166
+ {
8167
+ "name": "pulling-text",
8168
+ "default": "`Pull to refresh...`",
8169
+ "description": "Text to show when pulling",
8170
+ "options": [],
8171
+ "value": {
8172
+ "type": "string",
8173
+ "kind": "expression"
8174
+ }
8175
+ },
8176
+ {
8177
+ "name": "loosing-text",
8178
+ "default": "`Loose to refresh...`",
8179
+ "description": "Text to show when loosing",
8180
+ "options": [],
8181
+ "value": {
8182
+ "type": "string",
8183
+ "kind": "expression"
8184
+ }
8185
+ },
8186
+ {
8187
+ "name": "loading-text",
8188
+ "default": "`Loading...`",
8159
8189
  "description": "Text to show when loading",
8160
8190
  "options": [],
8161
8191
  "value": {
@@ -9030,6 +9060,16 @@
9030
9060
  "kind": "expression"
9031
9061
  }
9032
9062
  },
9063
+ {
9064
+ "name": "z-index",
9065
+ "default": "`2000+`",
9066
+ "description": "Set the z-index to a fixed value",
9067
+ "options": [],
9068
+ "value": {
9069
+ "type": "number | string",
9070
+ "kind": "expression"
9071
+ }
9072
+ },
9033
9073
  {
9034
9074
  "name": "round",
9035
9075
  "default": "`true`",
@@ -9380,68 +9420,6 @@
9380
9420
  }
9381
9421
  ]
9382
9422
  },
9383
- {
9384
- "name": "van-space",
9385
- "slots": [
9386
- {
9387
- "name": "default",
9388
- "description": "Default slot"
9389
- }
9390
- ],
9391
- "events": [],
9392
- "attributes": [
9393
- {
9394
- "name": "direction",
9395
- "default": "`horizontal`",
9396
- "description": "Spacing direction",
9397
- "options": [],
9398
- "value": {
9399
- "type": "vertical | horizontal",
9400
- "kind": "expression"
9401
- }
9402
- },
9403
- {
9404
- "name": "size",
9405
- "default": "`8px`",
9406
- "description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
9407
- "options": [],
9408
- "value": {
9409
- "type": "number | string | number[] | string[]",
9410
- "kind": "expression"
9411
- }
9412
- },
9413
- {
9414
- "name": "align",
9415
- "default": "-",
9416
- "description": "Spacing alignment",
9417
- "options": [],
9418
- "value": {
9419
- "type": "start | end | center | baseline",
9420
- "kind": "expression"
9421
- }
9422
- },
9423
- {
9424
- "name": "wrap",
9425
- "default": "`false`",
9426
- "description": "Whether to wrap automatically, only for horizontal alignment",
9427
- "options": [],
9428
- "value": {
9429
- "type": "boolean",
9430
- "kind": "expression"
9431
- }
9432
- },
9433
- {
9434
- "name": "fill",
9435
- "default": "`false`",
9436
- "description": "Whether to render Space as a block element and fill the parent element",
9437
- "options": [],
9438
- "value": {
9439
- "type": "boolean",
9440
- "kind": "expression"
9441
- }
9442
- }
9443
- ]
9444
- },
9445
9423
  {
9446
9424
  "name": "van-slider",
9447
9425
  "slots": [
@@ -9633,77 +9611,62 @@
9633
9611
  ]
9634
9612
  },
9635
9613
  {
9636
- "name": "van-sticky",
9637
- "slots": [],
9638
- "events": [
9639
- {
9640
- "name": "change",
9641
- "description": "Emitted when sticky status changed",
9642
- "arguments": [
9643
- {
9644
- "name": "isFixed",
9645
- "type": "boolean"
9646
- }
9647
- ]
9648
- },
9614
+ "name": "van-space",
9615
+ "slots": [
9649
9616
  {
9650
- "name": "scroll",
9651
- "description": "Emitted when scrolling",
9652
- "arguments": [
9653
- {
9654
- "name": "{ scrollTop: number, isFixed: boolean }"
9655
- }
9656
- ]
9617
+ "name": "default",
9618
+ "description": "Default slot"
9657
9619
  }
9658
9620
  ],
9621
+ "events": [],
9659
9622
  "attributes": [
9660
9623
  {
9661
- "name": "position",
9662
- "default": "`top`",
9663
- "description": "Offset position, can be set to `bottom`",
9624
+ "name": "direction",
9625
+ "default": "`horizontal`",
9626
+ "description": "Spacing direction",
9664
9627
  "options": [],
9665
9628
  "value": {
9666
- "type": "string",
9629
+ "type": "vertical | horizontal",
9667
9630
  "kind": "expression"
9668
9631
  }
9669
9632
  },
9670
9633
  {
9671
- "name": "offset-top",
9672
- "default": "`0`",
9673
- "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
9634
+ "name": "size",
9635
+ "default": "`8px`",
9636
+ "description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
9674
9637
  "options": [],
9675
9638
  "value": {
9676
- "type": "number | string",
9639
+ "type": "number | string | number[] | string[]",
9677
9640
  "kind": "expression"
9678
9641
  }
9679
9642
  },
9680
9643
  {
9681
- "name": "offset-bottom",
9682
- "default": "`0`",
9683
- "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
9644
+ "name": "align",
9645
+ "default": "-",
9646
+ "description": "Spacing alignment",
9684
9647
  "options": [],
9685
9648
  "value": {
9686
- "type": "number | string",
9649
+ "type": "start | end | center | baseline",
9687
9650
  "kind": "expression"
9688
9651
  }
9689
9652
  },
9690
9653
  {
9691
- "name": "z-index",
9692
- "default": "`99`",
9693
- "description": "z-index when sticky",
9654
+ "name": "wrap",
9655
+ "default": "`false`",
9656
+ "description": "Whether to wrap automatically, only for horizontal alignment",
9694
9657
  "options": [],
9695
9658
  "value": {
9696
- "type": "number | string",
9659
+ "type": "boolean",
9697
9660
  "kind": "expression"
9698
9661
  }
9699
9662
  },
9700
9663
  {
9701
- "name": "container",
9702
- "default": "-",
9703
- "description": "Container DOM",
9664
+ "name": "fill",
9665
+ "default": "`false`",
9666
+ "description": "Whether to render Space as a block element and fill the parent element",
9704
9667
  "options": [],
9705
9668
  "value": {
9706
- "type": "Element",
9669
+ "type": "boolean",
9707
9670
  "kind": "expression"
9708
9671
  }
9709
9672
  }
@@ -10108,54 +10071,44 @@
10108
10071
  "attributes": []
10109
10072
  },
10110
10073
  {
10111
- "name": "van-swipe",
10112
- "slots": [
10113
- {
10114
- "name": "default",
10115
- "description": "Content"
10116
- },
10117
- {
10118
- "name": "indicator",
10119
- "description": "Custom indicator"
10120
- }
10121
- ],
10074
+ "name": "van-sticky",
10075
+ "slots": [],
10122
10076
  "events": [
10123
10077
  {
10124
10078
  "name": "change",
10125
- "description": "Emitted when current swipe changed",
10079
+ "description": "Emitted when sticky status changed",
10126
10080
  "arguments": [
10127
10081
  {
10128
- "name": "index",
10129
- "type": "index of current swipe"
10082
+ "name": "isFixed",
10083
+ "type": "boolean"
10084
+ }
10085
+ ]
10086
+ },
10087
+ {
10088
+ "name": "scroll",
10089
+ "description": "Emitted when scrolling",
10090
+ "arguments": [
10091
+ {
10092
+ "name": "{ scrollTop: number, isFixed: boolean }"
10130
10093
  }
10131
10094
  ]
10132
10095
  }
10133
10096
  ],
10134
10097
  "attributes": [
10135
10098
  {
10136
- "name": "autoplay",
10137
- "default": "-",
10138
- "description": "Autoplay interval (ms)",
10139
- "options": [],
10140
- "value": {
10141
- "type": "number | string",
10142
- "kind": "expression"
10143
- }
10144
- },
10145
- {
10146
- "name": "duration",
10147
- "default": "`500`",
10148
- "description": "Animation duration (ms)",
10099
+ "name": "position",
10100
+ "default": "`top`",
10101
+ "description": "Offset position, can be set to `bottom`",
10149
10102
  "options": [],
10150
10103
  "value": {
10151
- "type": "number | string",
10104
+ "type": "string",
10152
10105
  "kind": "expression"
10153
10106
  }
10154
10107
  },
10155
10108
  {
10156
- "name": "initial-swipe",
10109
+ "name": "offset-top",
10157
10110
  "default": "`0`",
10158
- "description": "Index of initial swipe, start from 0",
10111
+ "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
10159
10112
  "options": [],
10160
10113
  "value": {
10161
10114
  "type": "number | string",
@@ -10163,9 +10116,9 @@
10163
10116
  }
10164
10117
  },
10165
10118
  {
10166
- "name": "width",
10119
+ "name": "offset-bottom",
10167
10120
  "default": "`0`",
10168
- "description": "Width of swipe item",
10121
+ "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
10169
10122
  "options": [],
10170
10123
  "value": {
10171
10124
  "type": "number | string",
@@ -10173,9 +10126,9 @@
10173
10126
  }
10174
10127
  },
10175
10128
  {
10176
- "name": "height",
10177
- "default": "`0`",
10178
- "description": "Height of swipe item",
10129
+ "name": "z-index",
10130
+ "default": "`99`",
10131
+ "description": "z-index when sticky",
10179
10132
  "options": [],
10180
10133
  "value": {
10181
10134
  "type": "number | string",
@@ -10183,94 +10136,17 @@
10183
10136
  }
10184
10137
  },
10185
10138
  {
10186
- "name": "loop",
10187
- "default": "`true`",
10188
- "description": "Whether to enable loop",
10189
- "options": [],
10190
- "value": {
10191
- "type": "boolean",
10192
- "kind": "expression"
10193
- }
10194
- },
10195
- {
10196
- "name": "show-indicators",
10197
- "default": "`true`",
10198
- "description": "Whether to show indicators",
10199
- "options": [],
10200
- "value": {
10201
- "type": "boolean",
10202
- "kind": "expression"
10203
- }
10204
- },
10205
- {
10206
- "name": "vertical",
10207
- "default": "`false`",
10208
- "description": "Whether to be vertical Scrolling",
10209
- "options": [],
10210
- "value": {
10211
- "type": "boolean",
10212
- "kind": "expression"
10213
- }
10214
- },
10215
- {
10216
- "name": "touchable",
10217
- "default": "`true`",
10218
- "description": "Whether to allow swipe by touch gesture",
10219
- "options": [],
10220
- "value": {
10221
- "type": "boolean",
10222
- "kind": "expression"
10223
- }
10224
- },
10225
- {
10226
- "name": "stop-propagation",
10227
- "default": "`false`",
10228
- "description": "Whether to stop touchmove event propagation",
10229
- "options": [],
10230
- "value": {
10231
- "type": "boolean",
10232
- "kind": "expression"
10233
- }
10234
- },
10235
- {
10236
- "name": "lazy-render",
10237
- "default": "`false`",
10238
- "description": "Whether to enable lazy render",
10239
- "options": [],
10240
- "value": {
10241
- "type": "boolean",
10242
- "kind": "expression"
10243
- }
10244
- },
10245
- {
10246
- "name": "indicator-color",
10247
- "default": "`#1989fa`",
10248
- "description": "Indicator color",
10139
+ "name": "container",
10140
+ "default": "-",
10141
+ "description": "Container DOM",
10249
10142
  "options": [],
10250
10143
  "value": {
10251
- "type": "string",
10144
+ "type": "Element",
10252
10145
  "kind": "expression"
10253
10146
  }
10254
10147
  }
10255
10148
  ]
10256
10149
  },
10257
- {
10258
- "name": "van-swipe-item",
10259
- "slots": [],
10260
- "events": [
10261
- {
10262
- "name": "click",
10263
- "description": "Emitted when component is clicked",
10264
- "arguments": [
10265
- {
10266
- "name": "event",
10267
- "type": "MouseEvent"
10268
- }
10269
- ]
10270
- }
10271
- ],
10272
- "attributes": []
10273
- },
10274
10150
  {
10275
10151
  "name": "van-submit-bar",
10276
10152
  "slots": [
@@ -10375,44 +10251,191 @@
10375
10251
  "description": "Button color",
10376
10252
  "options": [],
10377
10253
  "value": {
10378
- "type": "string",
10254
+ "type": "string",
10255
+ "kind": "expression"
10256
+ }
10257
+ },
10258
+ {
10259
+ "name": "tip",
10260
+ "default": "-",
10261
+ "description": "Tip",
10262
+ "options": [],
10263
+ "value": {
10264
+ "type": "string",
10265
+ "kind": "expression"
10266
+ }
10267
+ },
10268
+ {
10269
+ "name": "tip-icon",
10270
+ "default": "-",
10271
+ "description": "Tip left icon",
10272
+ "options": [],
10273
+ "value": {
10274
+ "type": "string",
10275
+ "kind": "expression"
10276
+ }
10277
+ },
10278
+ {
10279
+ "name": "currency",
10280
+ "default": "`¥`",
10281
+ "description": "Currency symbol",
10282
+ "options": [],
10283
+ "value": {
10284
+ "type": "string",
10285
+ "kind": "expression"
10286
+ }
10287
+ },
10288
+ {
10289
+ "name": "disabled",
10290
+ "default": "`false`",
10291
+ "description": "Whether to disable button",
10292
+ "options": [],
10293
+ "value": {
10294
+ "type": "boolean",
10295
+ "kind": "expression"
10296
+ }
10297
+ },
10298
+ {
10299
+ "name": "loading",
10300
+ "default": "`false`",
10301
+ "description": "Whether to show loading icon",
10302
+ "options": [],
10303
+ "value": {
10304
+ "type": "boolean",
10305
+ "kind": "expression"
10306
+ }
10307
+ },
10308
+ {
10309
+ "name": "safe-area-inset-bottom",
10310
+ "default": "`true`",
10311
+ "description": "Whether to enable bottom safe area adaptation",
10312
+ "options": [],
10313
+ "value": {
10314
+ "type": "boolean",
10315
+ "kind": "expression"
10316
+ }
10317
+ },
10318
+ {
10319
+ "name": "placeholder",
10320
+ "default": "`false`",
10321
+ "description": "Whether to generate a placeholder element",
10322
+ "options": [],
10323
+ "value": {
10324
+ "type": "boolean",
10325
+ "kind": "expression"
10326
+ }
10327
+ }
10328
+ ]
10329
+ },
10330
+ {
10331
+ "name": "van-swipe",
10332
+ "slots": [
10333
+ {
10334
+ "name": "default",
10335
+ "description": "Content"
10336
+ },
10337
+ {
10338
+ "name": "indicator",
10339
+ "description": "Custom indicator"
10340
+ }
10341
+ ],
10342
+ "events": [
10343
+ {
10344
+ "name": "change",
10345
+ "description": "Emitted when current swipe changed",
10346
+ "arguments": [
10347
+ {
10348
+ "name": "index",
10349
+ "type": "index of current swipe"
10350
+ }
10351
+ ]
10352
+ }
10353
+ ],
10354
+ "attributes": [
10355
+ {
10356
+ "name": "autoplay",
10357
+ "default": "-",
10358
+ "description": "Autoplay interval (ms)",
10359
+ "options": [],
10360
+ "value": {
10361
+ "type": "number | string",
10362
+ "kind": "expression"
10363
+ }
10364
+ },
10365
+ {
10366
+ "name": "duration",
10367
+ "default": "`500`",
10368
+ "description": "Animation duration (ms)",
10369
+ "options": [],
10370
+ "value": {
10371
+ "type": "number | string",
10372
+ "kind": "expression"
10373
+ }
10374
+ },
10375
+ {
10376
+ "name": "initial-swipe",
10377
+ "default": "`0`",
10378
+ "description": "Index of initial swipe, start from 0",
10379
+ "options": [],
10380
+ "value": {
10381
+ "type": "number | string",
10382
+ "kind": "expression"
10383
+ }
10384
+ },
10385
+ {
10386
+ "name": "width",
10387
+ "default": "`0`",
10388
+ "description": "Width of swipe item",
10389
+ "options": [],
10390
+ "value": {
10391
+ "type": "number | string",
10392
+ "kind": "expression"
10393
+ }
10394
+ },
10395
+ {
10396
+ "name": "height",
10397
+ "default": "`0`",
10398
+ "description": "Height of swipe item",
10399
+ "options": [],
10400
+ "value": {
10401
+ "type": "number | string",
10379
10402
  "kind": "expression"
10380
10403
  }
10381
10404
  },
10382
10405
  {
10383
- "name": "tip",
10384
- "default": "-",
10385
- "description": "Tip",
10406
+ "name": "loop",
10407
+ "default": "`true`",
10408
+ "description": "Whether to enable loop",
10386
10409
  "options": [],
10387
10410
  "value": {
10388
- "type": "string",
10411
+ "type": "boolean",
10389
10412
  "kind": "expression"
10390
10413
  }
10391
10414
  },
10392
10415
  {
10393
- "name": "tip-icon",
10394
- "default": "-",
10395
- "description": "Tip left icon",
10416
+ "name": "show-indicators",
10417
+ "default": "`true`",
10418
+ "description": "Whether to show indicators",
10396
10419
  "options": [],
10397
10420
  "value": {
10398
- "type": "string",
10421
+ "type": "boolean",
10399
10422
  "kind": "expression"
10400
10423
  }
10401
10424
  },
10402
10425
  {
10403
- "name": "currency",
10404
- "default": "`¥`",
10405
- "description": "Currency symbol",
10426
+ "name": "vertical",
10427
+ "default": "`false`",
10428
+ "description": "Whether to be vertical Scrolling",
10406
10429
  "options": [],
10407
10430
  "value": {
10408
- "type": "string",
10431
+ "type": "boolean",
10409
10432
  "kind": "expression"
10410
10433
  }
10411
10434
  },
10412
10435
  {
10413
- "name": "disabled",
10414
- "default": "`false`",
10415
- "description": "Whether to disable button",
10436
+ "name": "touchable",
10437
+ "default": "`true`",
10438
+ "description": "Whether to allow swipe by touch gesture",
10416
10439
  "options": [],
10417
10440
  "value": {
10418
10441
  "type": "boolean",
@@ -10420,9 +10443,9 @@
10420
10443
  }
10421
10444
  },
10422
10445
  {
10423
- "name": "loading",
10446
+ "name": "stop-propagation",
10424
10447
  "default": "`false`",
10425
- "description": "Whether to show loading icon",
10448
+ "description": "Whether to stop touchmove event propagation",
10426
10449
  "options": [],
10427
10450
  "value": {
10428
10451
  "type": "boolean",
@@ -10430,9 +10453,9 @@
10430
10453
  }
10431
10454
  },
10432
10455
  {
10433
- "name": "safe-area-inset-bottom",
10434
- "default": "`true`",
10435
- "description": "Whether to enable bottom safe area adaptation",
10456
+ "name": "lazy-render",
10457
+ "default": "`false`",
10458
+ "description": "Whether to enable lazy render",
10436
10459
  "options": [],
10437
10460
  "value": {
10438
10461
  "type": "boolean",
@@ -10440,17 +10463,34 @@
10440
10463
  }
10441
10464
  },
10442
10465
  {
10443
- "name": "placeholder",
10444
- "default": "`false`",
10445
- "description": "Whether to generate a placeholder element",
10466
+ "name": "indicator-color",
10467
+ "default": "`#1989fa`",
10468
+ "description": "Indicator color",
10446
10469
  "options": [],
10447
10470
  "value": {
10448
- "type": "boolean",
10471
+ "type": "string",
10449
10472
  "kind": "expression"
10450
10473
  }
10451
10474
  }
10452
10475
  ]
10453
10476
  },
10477
+ {
10478
+ "name": "van-swipe-item",
10479
+ "slots": [],
10480
+ "events": [
10481
+ {
10482
+ "name": "click",
10483
+ "description": "Emitted when component is clicked",
10484
+ "arguments": [
10485
+ {
10486
+ "name": "event",
10487
+ "type": "MouseEvent"
10488
+ }
10489
+ ]
10490
+ }
10491
+ ],
10492
+ "attributes": []
10493
+ },
10454
10494
  {
10455
10495
  "name": "van-swipe-cell",
10456
10496
  "slots": [
@@ -11680,6 +11720,99 @@
11680
11720
  "events": [],
11681
11721
  "attributes": []
11682
11722
  },
11723
+ {
11724
+ "name": "van-tree-select",
11725
+ "slots": [
11726
+ {
11727
+ "name": "content",
11728
+ "description": "Custom right content"
11729
+ }
11730
+ ],
11731
+ "events": [
11732
+ {
11733
+ "name": "click-nav",
11734
+ "description": "Emitted when parent node is selected",
11735
+ "arguments": [
11736
+ {
11737
+ "name": "index",
11738
+ "type": "number"
11739
+ }
11740
+ ]
11741
+ },
11742
+ {
11743
+ "name": "click-item",
11744
+ "description": "Emitted when item is selected",
11745
+ "arguments": [
11746
+ {
11747
+ "name": "item",
11748
+ "type": "TreeSelectChild"
11749
+ }
11750
+ ]
11751
+ }
11752
+ ],
11753
+ "attributes": [
11754
+ {
11755
+ "name": "items",
11756
+ "default": "`[]`",
11757
+ "description": "Required datasets for the component",
11758
+ "options": [],
11759
+ "value": {
11760
+ "type": "TreeSelectItem[]",
11761
+ "kind": "expression"
11762
+ }
11763
+ },
11764
+ {
11765
+ "name": "height",
11766
+ "default": "`300`",
11767
+ "description": "Height",
11768
+ "options": [],
11769
+ "value": {
11770
+ "type": "number | string",
11771
+ "kind": "expression"
11772
+ }
11773
+ },
11774
+ {
11775
+ "name": "main-active-index",
11776
+ "default": "`0`",
11777
+ "description": "The index of selected parent node",
11778
+ "options": [],
11779
+ "value": {
11780
+ "type": "number | string",
11781
+ "kind": "expression"
11782
+ }
11783
+ },
11784
+ {
11785
+ "name": "active-id",
11786
+ "default": "`0`",
11787
+ "description": "Id of selected item",
11788
+ "options": [],
11789
+ "value": {
11790
+ "type": "number | string |<br>(number | string)[]",
11791
+ "kind": "expression"
11792
+ }
11793
+ },
11794
+ {
11795
+ "name": "max",
11796
+ "default": "`Infinity`",
11797
+ "description": "Maximum number of selected items",
11798
+ "options": [],
11799
+ "value": {
11800
+ "type": "number | string",
11801
+ "kind": "expression"
11802
+ }
11803
+ },
11804
+ {
11805
+ "name": "selected-icon",
11806
+ "default": "`success`",
11807
+ "description": "Selected icon",
11808
+ "options": [],
11809
+ "value": {
11810
+ "type": "string",
11811
+ "kind": "expression"
11812
+ }
11813
+ }
11814
+ ]
11815
+ },
11683
11816
  {
11684
11817
  "name": "van-uploader",
11685
11818
  "slots": [
@@ -11984,99 +12117,6 @@
11984
12117
  }
11985
12118
  }
11986
12119
  ]
11987
- },
11988
- {
11989
- "name": "van-tree-select",
11990
- "slots": [
11991
- {
11992
- "name": "content",
11993
- "description": "Custom right content"
11994
- }
11995
- ],
11996
- "events": [
11997
- {
11998
- "name": "click-nav",
11999
- "description": "Emitted when parent node is selected",
12000
- "arguments": [
12001
- {
12002
- "name": "index",
12003
- "type": "number"
12004
- }
12005
- ]
12006
- },
12007
- {
12008
- "name": "click-item",
12009
- "description": "Emitted when item is selected",
12010
- "arguments": [
12011
- {
12012
- "name": "item",
12013
- "type": "TreeSelectChild"
12014
- }
12015
- ]
12016
- }
12017
- ],
12018
- "attributes": [
12019
- {
12020
- "name": "items",
12021
- "default": "`[]`",
12022
- "description": "Required datasets for the component",
12023
- "options": [],
12024
- "value": {
12025
- "type": "TreeSelectItem[]",
12026
- "kind": "expression"
12027
- }
12028
- },
12029
- {
12030
- "name": "height",
12031
- "default": "`300`",
12032
- "description": "Height",
12033
- "options": [],
12034
- "value": {
12035
- "type": "number | string",
12036
- "kind": "expression"
12037
- }
12038
- },
12039
- {
12040
- "name": "main-active-index",
12041
- "default": "`0`",
12042
- "description": "The index of selected parent node",
12043
- "options": [],
12044
- "value": {
12045
- "type": "number | string",
12046
- "kind": "expression"
12047
- }
12048
- },
12049
- {
12050
- "name": "active-id",
12051
- "default": "`0`",
12052
- "description": "Id of selected item",
12053
- "options": [],
12054
- "value": {
12055
- "type": "number | string |<br>(number | string)[]",
12056
- "kind": "expression"
12057
- }
12058
- },
12059
- {
12060
- "name": "max",
12061
- "default": "`Infinity`",
12062
- "description": "Maximum number of selected items",
12063
- "options": [],
12064
- "value": {
12065
- "type": "number | string",
12066
- "kind": "expression"
12067
- }
12068
- },
12069
- {
12070
- "name": "selected-icon",
12071
- "default": "`success`",
12072
- "description": "Selected icon",
12073
- "options": [],
12074
- "value": {
12075
- "type": "string",
12076
- "kind": "expression"
12077
- }
12078
- }
12079
- ]
12080
12120
  }
12081
12121
  ],
12082
12122
  "attributes": [],