vant 3.6.1 → 3.6.2

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 (292) hide show
  1. package/changelog.generated.md +30 -43
  2. package/es/action-bar/ActionBar.d.ts +1 -1
  3. package/es/action-bar/index.d.ts +1 -1
  4. package/es/action-bar-button/ActionBarButton.d.ts +1 -1
  5. package/es/action-bar-button/index.d.ts +1 -1
  6. package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
  7. package/es/action-bar-icon/index.d.ts +1 -1
  8. package/es/badge/Badge.d.ts +1 -1
  9. package/es/badge/index.d.ts +1 -1
  10. package/es/calendar/Calendar.mjs +4 -3
  11. package/es/cell/Cell.d.ts +1 -1
  12. package/es/cell/index.d.ts +1 -1
  13. package/es/cell-group/CellGroup.d.ts +1 -1
  14. package/es/cell-group/index.d.ts +1 -1
  15. package/es/col/Col.d.ts +1 -1
  16. package/es/col/index.d.ts +1 -1
  17. package/es/collapse-item/CollapseItem.d.ts +1 -1
  18. package/es/collapse-item/index.d.ts +1 -1
  19. package/es/composables/use-lazy-render.mjs +9 -5
  20. package/es/composables/use-lock-scroll.mjs +4 -1
  21. package/es/composables/use-visibility-change.mjs +6 -3
  22. package/es/config-provider/ConfigProvider.d.ts +1 -1
  23. package/es/config-provider/index.d.ts +1 -1
  24. package/es/coupon/Coupon.d.ts +1 -1
  25. package/es/coupon/index.d.ts +1 -1
  26. package/es/coupon/utils.mjs +3 -1
  27. package/es/coupon-cell/CouponCell.d.ts +1 -1
  28. package/es/coupon-cell/index.d.ts +1 -1
  29. package/es/datetime-picker/DatetimePicker.d.ts +1 -1
  30. package/es/datetime-picker/index.d.ts +1 -1
  31. package/es/divider/Divider.d.ts +1 -1
  32. package/es/divider/index.d.ts +1 -1
  33. package/es/dropdown-item/DropdownItem.d.ts +2 -2
  34. package/es/dropdown-item/index.d.ts +2 -2
  35. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  36. package/es/dropdown-menu/index.d.ts +1 -1
  37. package/es/empty/Empty.d.ts +1 -1
  38. package/es/empty/index.d.ts +1 -1
  39. package/es/field/Field.mjs +10 -3
  40. package/es/grid/Grid.d.ts +1 -1
  41. package/es/grid/index.d.ts +1 -1
  42. package/es/grid-item/GridItem.d.ts +1 -1
  43. package/es/grid-item/index.d.ts +1 -1
  44. package/es/icon/Icon.d.ts +1 -1
  45. package/es/icon/index.d.ts +1 -1
  46. package/es/image-preview/ImagePreviewItem.mjs +10 -2
  47. package/es/index-anchor/IndexAnchor.d.ts +1 -1
  48. package/es/index-anchor/index.d.ts +1 -1
  49. package/es/index-bar/IndexBar.mjs +7 -3
  50. package/es/index.d.ts +1 -1
  51. package/es/index.mjs +1 -1
  52. package/es/lazyload/vue-lazyload/lazy-component.mjs +4 -1
  53. package/es/lazyload/vue-lazyload/lazy-container.mjs +11 -7
  54. package/es/lazyload/vue-lazyload/lazy-image.mjs +24 -14
  55. package/es/lazyload/vue-lazyload/lazy.mjs +11 -3
  56. package/es/lazyload/vue-lazyload/listener.mjs +45 -33
  57. package/es/lazyload/vue-lazyload/util.mjs +4 -1
  58. package/es/loading/Loading.d.ts +1 -1
  59. package/es/loading/index.d.ts +1 -1
  60. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  61. package/es/number-keyboard/index.d.ts +1 -1
  62. package/es/overlay/Overlay.d.ts +1 -1
  63. package/es/overlay/Overlay.mjs +13 -6
  64. package/es/overlay/index.d.ts +1 -1
  65. package/es/picker/Picker.mjs +7 -3
  66. package/es/picker/PickerColumn.mjs +6 -2
  67. package/es/popup/Popup.d.ts +2 -2
  68. package/es/popup/index.d.ts +2 -2
  69. package/es/popup/shared.mjs +3 -1
  70. package/es/progress/Progress.d.ts +1 -1
  71. package/es/progress/index.d.ts +1 -1
  72. package/es/rate/Rate.mjs +5 -3
  73. package/es/row/Row.d.ts +1 -1
  74. package/es/row/index.d.ts +1 -1
  75. package/es/skeleton/Skeleton.d.ts +1 -1
  76. package/es/skeleton/index.d.ts +1 -1
  77. package/es/slider/Slider.mjs +6 -2
  78. package/es/space/Space.d.ts +1 -1
  79. package/es/space/index.d.ts +1 -1
  80. package/es/step/Step.d.ts +1 -1
  81. package/es/step/index.d.ts +1 -1
  82. package/es/swipe/Swipe.mjs +13 -6
  83. package/es/swipe-cell/SwipeCell.d.ts +2 -2
  84. package/es/swipe-cell/SwipeCell.mjs +4 -2
  85. package/es/swipe-cell/index.d.ts +2 -2
  86. package/es/swipe-item/SwipeItem.d.ts +1 -1
  87. package/es/swipe-item/index.d.ts +1 -1
  88. package/es/tab/Tab.d.ts +1 -1
  89. package/es/tab/index.d.ts +1 -1
  90. package/es/tabs/Tabs.d.ts +1 -1
  91. package/es/tabs/TabsTitle.d.ts +1 -1
  92. package/es/tabs/index.d.ts +1 -1
  93. package/es/utils/create.mjs +8 -2
  94. package/es/utils/with-install.d.ts +2 -2
  95. package/es/utils/with-install.mjs +4 -2
  96. package/lib/action-bar/ActionBar.d.ts +1 -1
  97. package/lib/action-bar/index.d.ts +1 -1
  98. package/lib/action-bar/index.js +4 -1
  99. package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
  100. package/lib/action-bar-button/index.d.ts +1 -1
  101. package/lib/action-bar-button/index.js +4 -1
  102. package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
  103. package/lib/action-bar-icon/index.d.ts +1 -1
  104. package/lib/action-bar-icon/index.js +4 -1
  105. package/lib/action-sheet/index.js +4 -1
  106. package/lib/address-edit/AddressEdit.js +4 -1
  107. package/lib/address-edit/index.js +4 -1
  108. package/lib/address-list/AddressList.js +4 -1
  109. package/lib/address-list/index.js +4 -1
  110. package/lib/area/index.js +4 -1
  111. package/lib/badge/Badge.d.ts +1 -1
  112. package/lib/badge/index.d.ts +1 -1
  113. package/lib/badge/index.js +4 -1
  114. package/lib/button/index.js +4 -1
  115. package/lib/calendar/Calendar.js +8 -4
  116. package/lib/calendar/CalendarMonth.js +4 -1
  117. package/lib/calendar/index.js +4 -1
  118. package/lib/card/index.js +4 -1
  119. package/lib/cascader/index.js +4 -1
  120. package/lib/cell/Cell.d.ts +1 -1
  121. package/lib/cell/index.d.ts +1 -1
  122. package/lib/cell/index.js +4 -1
  123. package/lib/cell-group/CellGroup.d.ts +1 -1
  124. package/lib/cell-group/index.d.ts +1 -1
  125. package/lib/cell-group/index.js +4 -1
  126. package/lib/checkbox/Checkbox.js +4 -1
  127. package/lib/checkbox/index.js +4 -1
  128. package/lib/checkbox-group/index.js +4 -1
  129. package/lib/circle/index.js +4 -1
  130. package/lib/col/Col.d.ts +1 -1
  131. package/lib/col/index.d.ts +1 -1
  132. package/lib/col/index.js +4 -1
  133. package/lib/collapse/index.js +4 -1
  134. package/lib/collapse-item/CollapseItem.d.ts +1 -1
  135. package/lib/collapse-item/index.d.ts +1 -1
  136. package/lib/collapse-item/index.js +4 -1
  137. package/lib/composables/use-lazy-render.js +9 -5
  138. package/lib/composables/use-lock-scroll.js +4 -1
  139. package/lib/composables/use-visibility-change.js +6 -3
  140. package/lib/config-provider/ConfigProvider.d.ts +1 -1
  141. package/lib/config-provider/index.d.ts +1 -1
  142. package/lib/config-provider/index.js +4 -1
  143. package/lib/contact-card/index.js +4 -1
  144. package/lib/contact-edit/index.js +4 -1
  145. package/lib/contact-list/index.js +4 -1
  146. package/lib/count-down/index.js +4 -1
  147. package/lib/coupon/Coupon.d.ts +1 -1
  148. package/lib/coupon/index.d.ts +1 -1
  149. package/lib/coupon/index.js +4 -1
  150. package/lib/coupon/utils.js +3 -1
  151. package/lib/coupon-cell/CouponCell.d.ts +1 -1
  152. package/lib/coupon-cell/index.d.ts +1 -1
  153. package/lib/coupon-cell/index.js +4 -1
  154. package/lib/coupon-list/index.js +4 -1
  155. package/lib/datetime-picker/DatetimePicker.d.ts +1 -1
  156. package/lib/datetime-picker/DatetimePicker.js +4 -1
  157. package/lib/datetime-picker/index.d.ts +1 -1
  158. package/lib/datetime-picker/index.js +4 -1
  159. package/lib/dialog/function-call.js +4 -1
  160. package/lib/divider/Divider.d.ts +1 -1
  161. package/lib/divider/index.d.ts +1 -1
  162. package/lib/divider/index.js +4 -1
  163. package/lib/dropdown-item/DropdownItem.d.ts +2 -2
  164. package/lib/dropdown-item/index.d.ts +2 -2
  165. package/lib/dropdown-item/index.js +4 -1
  166. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  167. package/lib/dropdown-menu/index.d.ts +1 -1
  168. package/lib/dropdown-menu/index.js +4 -1
  169. package/lib/empty/Empty.d.ts +1 -1
  170. package/lib/empty/index.d.ts +1 -1
  171. package/lib/empty/index.js +4 -1
  172. package/lib/field/Field.js +9 -2
  173. package/lib/field/index.js +4 -1
  174. package/lib/form/index.js +4 -1
  175. package/lib/grid/Grid.d.ts +1 -1
  176. package/lib/grid/index.d.ts +1 -1
  177. package/lib/grid/index.js +4 -1
  178. package/lib/grid-item/GridItem.d.ts +1 -1
  179. package/lib/grid-item/index.d.ts +1 -1
  180. package/lib/grid-item/index.js +4 -1
  181. package/lib/icon/Icon.d.ts +1 -1
  182. package/lib/icon/index.d.ts +1 -1
  183. package/lib/icon/index.js +4 -1
  184. package/lib/image/index.js +4 -1
  185. package/lib/image-preview/ImagePreview.js +4 -1
  186. package/lib/image-preview/ImagePreviewItem.js +9 -1
  187. package/lib/image-preview/function-call.js +4 -1
  188. package/lib/index-anchor/IndexAnchor.d.ts +1 -1
  189. package/lib/index-anchor/index.d.ts +1 -1
  190. package/lib/index-anchor/index.js +4 -1
  191. package/lib/index-bar/IndexBar.js +7 -3
  192. package/lib/index-bar/index.js +4 -1
  193. package/lib/index.d.ts +1 -1
  194. package/lib/index.js +1 -1
  195. package/lib/lazyload/vue-lazyload/index.js +4 -1
  196. package/lib/lazyload/vue-lazyload/lazy-component.js +4 -1
  197. package/lib/lazyload/vue-lazyload/lazy-container.js +11 -7
  198. package/lib/lazyload/vue-lazyload/lazy-image.js +24 -14
  199. package/lib/lazyload/vue-lazyload/lazy.js +15 -4
  200. package/lib/lazyload/vue-lazyload/listener.js +45 -33
  201. package/lib/lazyload/vue-lazyload/util.js +4 -1
  202. package/lib/list/index.js +4 -1
  203. package/lib/loading/Loading.d.ts +1 -1
  204. package/lib/loading/index.d.ts +1 -1
  205. package/lib/loading/index.js +4 -1
  206. package/lib/locale/index.js +4 -1
  207. package/lib/nav-bar/index.js +4 -1
  208. package/lib/notice-bar/index.js +4 -1
  209. package/lib/notify/function-call.js +4 -1
  210. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  211. package/lib/number-keyboard/NumberKeyboard.js +4 -1
  212. package/lib/number-keyboard/index.d.ts +1 -1
  213. package/lib/number-keyboard/index.js +4 -1
  214. package/lib/overlay/Overlay.d.ts +1 -1
  215. package/lib/overlay/Overlay.js +11 -4
  216. package/lib/overlay/index.d.ts +1 -1
  217. package/lib/overlay/index.js +4 -1
  218. package/lib/pagination/index.js +4 -1
  219. package/lib/password-input/index.js +4 -1
  220. package/lib/picker/Picker.js +10 -3
  221. package/lib/picker/PickerColumn.js +5 -1
  222. package/lib/picker/index.js +4 -1
  223. package/lib/popover/index.js +4 -1
  224. package/lib/popup/Popup.d.ts +2 -2
  225. package/lib/popup/index.d.ts +2 -2
  226. package/lib/popup/index.js +4 -1
  227. package/lib/popup/shared.js +3 -1
  228. package/lib/progress/Progress.d.ts +1 -1
  229. package/lib/progress/index.d.ts +1 -1
  230. package/lib/progress/index.js +4 -1
  231. package/lib/pull-refresh/index.js +4 -1
  232. package/lib/radio/Radio.js +4 -1
  233. package/lib/radio/index.js +4 -1
  234. package/lib/radio-group/index.js +4 -1
  235. package/lib/rate/Rate.js +4 -2
  236. package/lib/rate/index.js +4 -1
  237. package/lib/row/Row.d.ts +1 -1
  238. package/lib/row/index.d.ts +1 -1
  239. package/lib/row/index.js +4 -1
  240. package/lib/search/index.js +4 -1
  241. package/lib/share-sheet/index.js +4 -1
  242. package/lib/sidebar/index.js +4 -1
  243. package/lib/sidebar-item/index.js +4 -1
  244. package/lib/skeleton/Skeleton.d.ts +1 -1
  245. package/lib/skeleton/index.d.ts +1 -1
  246. package/lib/skeleton/index.js +4 -1
  247. package/lib/slider/Slider.js +5 -1
  248. package/lib/slider/index.js +4 -1
  249. package/lib/space/Space.d.ts +1 -1
  250. package/lib/space/index.d.ts +1 -1
  251. package/lib/space/index.js +4 -1
  252. package/lib/step/Step.d.ts +1 -1
  253. package/lib/step/index.d.ts +1 -1
  254. package/lib/step/index.js +4 -1
  255. package/lib/stepper/index.js +4 -1
  256. package/lib/steps/index.js +4 -1
  257. package/lib/sticky/index.js +4 -1
  258. package/lib/submit-bar/index.js +4 -1
  259. package/lib/swipe/Swipe.js +12 -5
  260. package/lib/swipe/index.js +4 -1
  261. package/lib/swipe-cell/SwipeCell.d.ts +2 -2
  262. package/lib/swipe-cell/SwipeCell.js +3 -1
  263. package/lib/swipe-cell/index.d.ts +2 -2
  264. package/lib/swipe-cell/index.js +4 -1
  265. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  266. package/lib/swipe-item/index.d.ts +1 -1
  267. package/lib/swipe-item/index.js +4 -1
  268. package/lib/switch/index.js +4 -1
  269. package/lib/tab/Tab.d.ts +1 -1
  270. package/lib/tab/index.d.ts +1 -1
  271. package/lib/tab/index.js +4 -1
  272. package/lib/tabbar/index.js +4 -1
  273. package/lib/tabbar-item/index.js +4 -1
  274. package/lib/tabs/Tabs.d.ts +1 -1
  275. package/lib/tabs/Tabs.js +4 -1
  276. package/lib/tabs/TabsTitle.d.ts +1 -1
  277. package/lib/tabs/index.d.ts +1 -1
  278. package/lib/tabs/index.js +4 -1
  279. package/lib/tag/index.js +4 -1
  280. package/lib/toast/function-call.js +4 -1
  281. package/lib/tree-select/index.js +4 -1
  282. package/lib/uploader/Uploader.js +4 -1
  283. package/lib/uploader/index.js +4 -1
  284. package/lib/utils/create.js +12 -3
  285. package/lib/utils/with-install.d.ts +2 -2
  286. package/lib/utils/with-install.js +4 -2
  287. package/lib/vant.cjs.js +211 -101
  288. package/lib/vant.es.js +211 -101
  289. package/lib/vant.js +253 -126
  290. package/lib/vant.min.js +1 -1
  291. package/lib/web-types.json +1132 -1132
  292. package/package.json +7 -7
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "vant",
5
- "version": "3.6.1",
5
+ "version": "3.6.2",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -261,176 +261,6 @@
261
261
  }
262
262
  ]
263
263
  },
264
- {
265
- "name": "van-address-list",
266
- "slots": [
267
- {
268
- "name": "default",
269
- "description": "Custom content after list"
270
- },
271
- {
272
- "name": "top",
273
- "description": "Custom content before list"
274
- },
275
- {
276
- "name": "item-bottom",
277
- "description": "Custom content after list item"
278
- },
279
- {
280
- "name": "tag",
281
- "description": "Custom tag of list item"
282
- }
283
- ],
284
- "events": [
285
- {
286
- "name": "add",
287
- "description": "Emitted when the add button is clicked",
288
- "arguments": []
289
- },
290
- {
291
- "name": "edit",
292
- "description": "Emitted when the edit icon of address is clicked",
293
- "arguments": [
294
- {
295
- "name": "item",
296
- "type": "Address"
297
- },
298
- {
299
- "name": "index",
300
- "type": "number"
301
- }
302
- ]
303
- },
304
- {
305
- "name": "select",
306
- "description": "Emitted when an address is selected",
307
- "arguments": [
308
- {
309
- "name": "item",
310
- "type": "Address"
311
- },
312
- {
313
- "name": "index",
314
- "type": "number"
315
- }
316
- ]
317
- },
318
- {
319
- "name": "edit-disabled",
320
- "description": "Emitted when the edit icon of disabled address is clicked",
321
- "arguments": [
322
- {
323
- "name": "item",
324
- "type": "Address"
325
- },
326
- {
327
- "name": "index",
328
- "type": "number"
329
- }
330
- ]
331
- },
332
- {
333
- "name": "select-disabled",
334
- "description": "Emitted when a disabled address is selected",
335
- "arguments": [
336
- {
337
- "name": "item",
338
- "type": "Address"
339
- },
340
- {
341
- "name": "index",
342
- "type": "number"
343
- }
344
- ]
345
- },
346
- {
347
- "name": "click-item",
348
- "description": "Emitted when an address item is clicked",
349
- "arguments": [
350
- {
351
- "name": "item",
352
- "type": "Address"
353
- },
354
- {
355
- "name": "index",
356
- "type": "number"
357
- }
358
- ]
359
- }
360
- ],
361
- "attributes": [
362
- {
363
- "name": "v-model",
364
- "default": "-",
365
- "description": "Id of chosen address",
366
- "options": [],
367
- "value": {
368
- "type": "string",
369
- "kind": "expression"
370
- }
371
- },
372
- {
373
- "name": "list",
374
- "default": "`[]`",
375
- "description": "Address list",
376
- "options": [],
377
- "value": {
378
- "type": "Address[]",
379
- "kind": "expression"
380
- }
381
- },
382
- {
383
- "name": "disabled-list",
384
- "default": "`[]`",
385
- "description": "Disabled address list",
386
- "options": [],
387
- "value": {
388
- "type": "Address[]",
389
- "kind": "expression"
390
- }
391
- },
392
- {
393
- "name": "disabled-text",
394
- "default": "-",
395
- "description": "Disabled text",
396
- "options": [],
397
- "value": {
398
- "type": "string",
399
- "kind": "expression"
400
- }
401
- },
402
- {
403
- "name": "switchable",
404
- "default": "`true`",
405
- "description": "Whether to allow switch address",
406
- "options": [],
407
- "value": {
408
- "type": "boolean",
409
- "kind": "expression"
410
- }
411
- },
412
- {
413
- "name": "add-button-text",
414
- "default": "`Add new address`",
415
- "description": "Add button text",
416
- "options": [],
417
- "value": {
418
- "type": "string",
419
- "kind": "expression"
420
- }
421
- },
422
- {
423
- "name": "default-tag-text",
424
- "default": "-",
425
- "description": "Default tag text",
426
- "options": [],
427
- "value": {
428
- "type": "string",
429
- "kind": "expression"
430
- }
431
- }
432
- ]
433
- },
434
264
  {
435
265
  "name": "van-address-edit",
436
266
  "slots": [
@@ -740,99 +570,107 @@
740
570
  ]
741
571
  },
742
572
  {
743
- "name": "van-area",
573
+ "name": "van-address-list",
744
574
  "slots": [
745
575
  {
746
- "name": "toolbar",
747
- "description": "Custom toolbar content"
748
- },
749
- {
750
- "name": "title",
751
- "description": "Custom title"
752
- },
753
- {
754
- "name": "confirm",
755
- "description": "Custom confirm button text"
576
+ "name": "default",
577
+ "description": "Custom content after list"
756
578
  },
757
579
  {
758
- "name": "cancel",
759
- "description": "Custom cancel button text"
580
+ "name": "top",
581
+ "description": "Custom content before list"
760
582
  },
761
583
  {
762
- "name": "columns-top",
763
- "description": "Custom content above columns"
584
+ "name": "item-bottom",
585
+ "description": "Custom content after list item"
764
586
  },
765
587
  {
766
- "name": "columns-bottom",
767
- "description": "Custom content below columns"
588
+ "name": "tag",
589
+ "description": "Custom tag of list item"
768
590
  }
769
591
  ],
770
592
  "events": [
771
593
  {
772
- "name": "confirm",
773
- "description": "Emitted when the confirm button is clicked",
594
+ "name": "add",
595
+ "description": "Emitted when the add button is clicked",
596
+ "arguments": []
597
+ },
598
+ {
599
+ "name": "edit",
600
+ "description": "Emitted when the edit icon of address is clicked",
774
601
  "arguments": [
775
602
  {
776
- "name": "result",
777
- "type": "ConfirmResult"
603
+ "name": "item",
604
+ "type": "Address"
605
+ },
606
+ {
607
+ "name": "index",
608
+ "type": "number"
778
609
  }
779
610
  ]
780
611
  },
781
612
  {
782
- "name": "cancel",
783
- "description": "Emitted when the cancel button is clicked",
784
- "arguments": []
613
+ "name": "select",
614
+ "description": "Emitted when an address is selected",
615
+ "arguments": [
616
+ {
617
+ "name": "item",
618
+ "type": "Address"
619
+ },
620
+ {
621
+ "name": "index",
622
+ "type": "number"
623
+ }
624
+ ]
785
625
  },
786
626
  {
787
- "name": "change",
788
- "description": "Emitted when current option changed",
627
+ "name": "edit-disabled",
628
+ "description": "Emitted when the edit icon of disabled address is clicked",
789
629
  "arguments": [
790
630
  {
791
- "name": "current",
792
- "type": "values"
631
+ "name": "item",
632
+ "type": "Address"
793
633
  },
794
634
  {
795
- "name": "column",
796
- "type": "index"
635
+ "name": "index",
636
+ "type": "number"
797
637
  }
798
638
  ]
799
- }
800
- ],
801
- "attributes": [
802
- {
803
- "name": "value",
804
- "default": "-",
805
- "description": "the `code` of selected area",
806
- "options": [],
807
- "value": {
808
- "type": "string",
809
- "kind": "expression"
810
- }
811
639
  },
812
640
  {
813
- "name": "title",
814
- "default": "-",
815
- "description": "Toolbar title",
816
- "options": [],
817
- "value": {
818
- "type": "string",
819
- "kind": "expression"
820
- }
641
+ "name": "select-disabled",
642
+ "description": "Emitted when a disabled address is selected",
643
+ "arguments": [
644
+ {
645
+ "name": "item",
646
+ "type": "Address"
647
+ },
648
+ {
649
+ "name": "index",
650
+ "type": "number"
651
+ }
652
+ ]
821
653
  },
822
654
  {
823
- "name": "confirm-button-text",
824
- "default": "`Confirm`",
825
- "description": "Text of confirm button",
826
- "options": [],
827
- "value": {
828
- "type": "string",
829
- "kind": "expression"
830
- }
831
- },
655
+ "name": "click-item",
656
+ "description": "Emitted when an address item is clicked",
657
+ "arguments": [
658
+ {
659
+ "name": "item",
660
+ "type": "Address"
661
+ },
662
+ {
663
+ "name": "index",
664
+ "type": "number"
665
+ }
666
+ ]
667
+ }
668
+ ],
669
+ "attributes": [
832
670
  {
833
- "name": "cancel-button-text",
834
- "default": "`Cancel`",
835
- "description": "Text of cancel button",
671
+ "name": "v-model",
672
+ "default": "-",
673
+ "description": "Id of chosen address",
836
674
  "options": [],
837
675
  "value": {
838
676
  "type": "string",
@@ -840,39 +678,39 @@
840
678
  }
841
679
  },
842
680
  {
843
- "name": "area-list",
844
- "default": "-",
845
- "description": "Area list data",
681
+ "name": "list",
682
+ "default": "`[]`",
683
+ "description": "Address list",
846
684
  "options": [],
847
685
  "value": {
848
- "type": "object",
686
+ "type": "Address[]",
849
687
  "kind": "expression"
850
688
  }
851
689
  },
852
690
  {
853
- "name": "columns-placeholder",
691
+ "name": "disabled-list",
854
692
  "default": "`[]`",
855
- "description": "Placeholder of columns",
693
+ "description": "Disabled address list",
856
694
  "options": [],
857
695
  "value": {
858
- "type": "string[]",
696
+ "type": "Address[]",
859
697
  "kind": "expression"
860
698
  }
861
699
  },
862
700
  {
863
- "name": "loading",
864
- "default": "`false`",
865
- "description": "Whether to show loading prompt",
701
+ "name": "disabled-text",
702
+ "default": "-",
703
+ "description": "Disabled text",
866
704
  "options": [],
867
705
  "value": {
868
- "type": "boolean",
706
+ "type": "string",
869
707
  "kind": "expression"
870
708
  }
871
709
  },
872
710
  {
873
- "name": "readonly",
874
- "default": "`false`",
875
- "description": "Whether to be readonly",
711
+ "name": "switchable",
712
+ "default": "`true`",
713
+ "description": "Whether to allow switch address",
876
714
  "options": [],
877
715
  "value": {
878
716
  "type": "boolean",
@@ -880,52 +718,22 @@
880
718
  }
881
719
  },
882
720
  {
883
- "name": "item-height",
884
- "default": "`44`",
885
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
886
- "options": [],
887
- "value": {
888
- "type": "number | string",
889
- "kind": "expression"
890
- }
891
- },
892
- {
893
- "name": "columns-num",
894
- "default": "`3`",
895
- "description": "Level of picker",
896
- "options": [],
897
- "value": {
898
- "type": "number | string",
899
- "kind": "expression"
900
- }
901
- },
902
- {
903
- "name": "visible-item-count",
904
- "default": "`6`",
905
- "description": "Count of visible columns",
906
- "options": [],
907
- "value": {
908
- "type": "number | string",
909
- "kind": "expression"
910
- }
911
- },
912
- {
913
- "name": "swipe-duration",
914
- "default": "`1000`",
915
- "description": "Duration of the momentum animation, unit `ms`",
721
+ "name": "add-button-text",
722
+ "default": "`Add new address`",
723
+ "description": "Add button text",
916
724
  "options": [],
917
725
  "value": {
918
- "type": "number | string",
726
+ "type": "string",
919
727
  "kind": "expression"
920
728
  }
921
729
  },
922
730
  {
923
- "name": "is-oversea-code",
731
+ "name": "default-tag-text",
924
732
  "default": "-",
925
- "description": "The method to validate oversea code",
733
+ "description": "Default tag text",
926
734
  "options": [],
927
735
  "value": {
928
- "type": "() => boolean",
736
+ "type": "string",
929
737
  "kind": "expression"
930
738
  }
931
739
  }
@@ -1018,48 +826,69 @@
1018
826
  ]
1019
827
  },
1020
828
  {
1021
- "name": "van-button",
829
+ "name": "van-area",
1022
830
  "slots": [
1023
831
  {
1024
- "name": "default",
1025
- "description": "Default slot"
832
+ "name": "toolbar",
833
+ "description": "Custom toolbar content"
1026
834
  },
1027
835
  {
1028
- "name": "icon",
1029
- "description": "Custom icon"
836
+ "name": "title",
837
+ "description": "Custom title"
1030
838
  },
1031
839
  {
1032
- "name": "loading",
1033
- "description": "Custom loading icon"
840
+ "name": "confirm",
841
+ "description": "Custom confirm button text"
842
+ },
843
+ {
844
+ "name": "cancel",
845
+ "description": "Custom cancel button text"
846
+ },
847
+ {
848
+ "name": "columns-top",
849
+ "description": "Custom content above columns"
850
+ },
851
+ {
852
+ "name": "columns-bottom",
853
+ "description": "Custom content below columns"
1034
854
  }
1035
855
  ],
1036
856
  "events": [
1037
857
  {
1038
- "name": "click",
1039
- "description": "Emitted when button is clicked and not disabled or loading",
858
+ "name": "confirm",
859
+ "description": "Emitted when the confirm button is clicked",
1040
860
  "arguments": [
1041
861
  {
1042
- "name": "event",
1043
- "type": "MouseEvent"
862
+ "name": "result",
863
+ "type": "ConfirmResult"
1044
864
  }
1045
865
  ]
1046
866
  },
1047
867
  {
1048
- "name": "touchstart",
1049
- "description": "Emitted when button is touched",
868
+ "name": "cancel",
869
+ "description": "Emitted when the cancel button is clicked",
870
+ "arguments": []
871
+ },
872
+ {
873
+ "name": "change",
874
+ "description": "Emitted when current option changed",
1050
875
  "arguments": [
1051
876
  {
1052
- "name": "event",
1053
- "type": "TouchEvent"
877
+ "name": "current",
878
+ "type": "values"
879
+ },
880
+ {
881
+ "name": "column",
882
+ "type": "index"
1054
883
  }
1055
884
  ]
1056
885
  }
1057
886
  ],
1058
887
  "attributes": [
1059
888
  {
1060
- "name": "type",
1061
- "default": "`default`",
1062
- "description": "Can be set to `primary` `success` `warning` `danger`",
889
+ "name": "value",
890
+ "default": "-",
891
+ "description": "the `code` of selected area",
1063
892
  "options": [],
1064
893
  "value": {
1065
894
  "type": "string",
@@ -1067,9 +896,9 @@
1067
896
  }
1068
897
  },
1069
898
  {
1070
- "name": "size",
1071
- "default": "`normal`",
1072
- "description": "Can be set to `large` `small` `mini`",
899
+ "name": "title",
900
+ "default": "-",
901
+ "description": "Toolbar title",
1073
902
  "options": [],
1074
903
  "value": {
1075
904
  "type": "string",
@@ -1077,9 +906,9 @@
1077
906
  }
1078
907
  },
1079
908
  {
1080
- "name": "text",
1081
- "default": "-",
1082
- "description": "Text",
909
+ "name": "confirm-button-text",
910
+ "default": "`Confirm`",
911
+ "description": "Text of confirm button",
1083
912
  "options": [],
1084
913
  "value": {
1085
914
  "type": "string",
@@ -1087,9 +916,9 @@
1087
916
  }
1088
917
  },
1089
918
  {
1090
- "name": "color",
1091
- "default": "-",
1092
- "description": "Color, support linear-gradient",
919
+ "name": "cancel-button-text",
920
+ "default": "`Cancel`",
921
+ "description": "Text of cancel button",
1093
922
  "options": [],
1094
923
  "value": {
1095
924
  "type": "string",
@@ -1097,172 +926,92 @@
1097
926
  }
1098
927
  },
1099
928
  {
1100
- "name": "icon",
929
+ "name": "area-list",
1101
930
  "default": "-",
1102
- "description": "Left Icon",
931
+ "description": "Area list data",
1103
932
  "options": [],
1104
933
  "value": {
1105
- "type": "string",
934
+ "type": "object",
1106
935
  "kind": "expression"
1107
936
  }
1108
937
  },
1109
938
  {
1110
- "name": "icon-prefix",
1111
- "default": "`van-icon`",
1112
- "description": "Icon className prefix",
939
+ "name": "columns-placeholder",
940
+ "default": "`[]`",
941
+ "description": "Placeholder of columns",
1113
942
  "options": [],
1114
943
  "value": {
1115
- "type": "string",
944
+ "type": "string[]",
1116
945
  "kind": "expression"
1117
946
  }
1118
947
  },
1119
948
  {
1120
- "name": "icon-position",
1121
- "default": "`left`",
1122
- "description": "Icon position, can be set to `right`",
949
+ "name": "loading",
950
+ "default": "`false`",
951
+ "description": "Whether to show loading prompt",
1123
952
  "options": [],
1124
953
  "value": {
1125
- "type": "string",
954
+ "type": "boolean",
1126
955
  "kind": "expression"
1127
956
  }
1128
957
  },
1129
958
  {
1130
- "name": "tag",
1131
- "default": "`button`",
1132
- "description": "HTML Tag",
959
+ "name": "readonly",
960
+ "default": "`false`",
961
+ "description": "Whether to be readonly",
1133
962
  "options": [],
1134
963
  "value": {
1135
- "type": "string",
964
+ "type": "boolean",
1136
965
  "kind": "expression"
1137
966
  }
1138
967
  },
1139
968
  {
1140
- "name": "native-type",
1141
- "default": "`button`",
1142
- "description": "Native Type Attribute",
969
+ "name": "item-height",
970
+ "default": "`44`",
971
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
1143
972
  "options": [],
1144
973
  "value": {
1145
- "type": "string",
974
+ "type": "number | string",
1146
975
  "kind": "expression"
1147
976
  }
1148
977
  },
1149
978
  {
1150
- "name": "plain",
1151
- "default": "`false`",
1152
- "description": "Whether to be plain button",
979
+ "name": "columns-num",
980
+ "default": "`3`",
981
+ "description": "Level of picker",
1153
982
  "options": [],
1154
983
  "value": {
1155
- "type": "boolean",
984
+ "type": "number | string",
1156
985
  "kind": "expression"
1157
986
  }
1158
987
  },
1159
988
  {
1160
- "name": "block",
1161
- "default": "`false`",
1162
- "description": "Whether to set display block",
989
+ "name": "visible-item-count",
990
+ "default": "`6`",
991
+ "description": "Count of visible columns",
1163
992
  "options": [],
1164
993
  "value": {
1165
- "type": "boolean",
994
+ "type": "number | string",
1166
995
  "kind": "expression"
1167
996
  }
1168
997
  },
1169
998
  {
1170
- "name": "round",
1171
- "default": "`false`",
1172
- "description": "Whether to be round button",
999
+ "name": "swipe-duration",
1000
+ "default": "`1000`",
1001
+ "description": "Duration of the momentum animation, unit `ms`",
1173
1002
  "options": [],
1174
1003
  "value": {
1175
- "type": "boolean",
1004
+ "type": "number | string",
1176
1005
  "kind": "expression"
1177
1006
  }
1178
1007
  },
1179
1008
  {
1180
- "name": "square",
1181
- "default": "`false`",
1182
- "description": "Whether to be square button",
1183
- "options": [],
1184
- "value": {
1185
- "type": "boolean",
1186
- "kind": "expression"
1187
- }
1188
- },
1189
- {
1190
- "name": "disabled",
1191
- "default": "`false`",
1192
- "description": "Whether to disable button",
1193
- "options": [],
1194
- "value": {
1195
- "type": "boolean",
1196
- "kind": "expression"
1197
- }
1198
- },
1199
- {
1200
- "name": "loading",
1201
- "default": "`false`",
1202
- "description": "Whether to show loading status",
1203
- "options": [],
1204
- "value": {
1205
- "type": "boolean",
1206
- "kind": "expression"
1207
- }
1208
- },
1209
- {
1210
- "name": "loading-text",
1211
- "default": "-",
1212
- "description": "Loading text",
1213
- "options": [],
1214
- "value": {
1215
- "type": "string",
1216
- "kind": "expression"
1217
- }
1218
- },
1219
- {
1220
- "name": "loading-type",
1221
- "default": "`circular`",
1222
- "description": "Loading type, can be set to `spinner`",
1223
- "options": [],
1224
- "value": {
1225
- "type": "string",
1226
- "kind": "expression"
1227
- }
1228
- },
1229
- {
1230
- "name": "loading-size",
1231
- "default": "`20px`",
1232
- "description": "Loading icon size",
1233
- "options": [],
1234
- "value": {
1235
- "type": "number | string",
1236
- "kind": "expression"
1237
- }
1238
- },
1239
- {
1240
- "name": "url",
1241
- "default": "-",
1242
- "description": "Link URL",
1243
- "options": [],
1244
- "value": {
1245
- "type": "string",
1246
- "kind": "expression"
1247
- }
1248
- },
1249
- {
1250
- "name": "to",
1009
+ "name": "is-oversea-code",
1251
1010
  "default": "-",
1252
- "description": "Target route of the link, same as using vue-router",
1253
- "options": [],
1254
- "value": {
1255
- "type": "string | object",
1256
- "kind": "expression"
1257
- }
1258
- },
1259
- {
1260
- "name": "replace",
1261
- "default": "`false`",
1262
- "description": "If true, the navigation will not leave a history record",
1011
+ "description": "The method to validate oversea code",
1263
1012
  "options": [],
1264
1013
  "value": {
1265
- "type": "boolean",
1014
+ "type": "() => boolean",
1266
1015
  "kind": "expression"
1267
1016
  }
1268
1017
  }
@@ -1543,106 +1292,39 @@
1543
1292
  ]
1544
1293
  },
1545
1294
  {
1546
- "name": "van-calendar",
1295
+ "name": "van-button",
1547
1296
  "slots": [
1548
1297
  {
1549
- "name": "title",
1550
- "description": "Custom title"
1551
- },
1552
- {
1553
- "name": "subtitle",
1554
- "description": "Custom subtitle"
1555
- },
1556
- {
1557
- "name": "footer",
1558
- "description": "Custom footer"
1559
- },
1560
- {
1561
- "name": "confirm-text",
1562
- "description": "Custom confirm text"
1298
+ "name": "default",
1299
+ "description": "Default slot"
1563
1300
  },
1564
1301
  {
1565
- "name": "top-info",
1566
- "description": "Custom top info of day"
1302
+ "name": "icon",
1303
+ "description": "Custom icon"
1567
1304
  },
1568
1305
  {
1569
- "name": "bottom-info",
1570
- "description": "Custom bottom info of day"
1306
+ "name": "loading",
1307
+ "description": "Custom loading icon"
1571
1308
  }
1572
1309
  ],
1573
1310
  "events": [
1574
1311
  {
1575
- "name": "select",
1576
- "description": "Emitted when date is selected",
1577
- "arguments": [
1578
- {
1579
- "name": "value",
1580
- "type": "Date | Date[]"
1581
- }
1582
- ]
1583
- },
1584
- {
1585
- "name": "confirm",
1586
- "description": "Emitted after date selection is complete, if `show-confirm` is `true`, it is Emitted after clicking the confirm button",
1587
- "arguments": [
1588
- {
1589
- "name": "value",
1590
- "type": "Date | Date[]"
1591
- }
1592
- ]
1593
- },
1594
- {
1595
- "name": "open",
1596
- "description": "Emitted when opening Popup",
1597
- "arguments": []
1598
- },
1599
- {
1600
- "name": "close",
1601
- "description": "Emitted when closing Popup",
1602
- "arguments": []
1603
- },
1604
- {
1605
- "name": "opened",
1606
- "description": "Emitted when Popup is opened",
1607
- "arguments": []
1608
- },
1609
- {
1610
- "name": "closed",
1611
- "description": "Emitted when Popup is closed",
1612
- "arguments": []
1613
- },
1614
- {
1615
- "name": "unselect",
1616
- "description": "Emitted when unselect date when type is multiple",
1617
- "arguments": [
1618
- {
1619
- "name": "value",
1620
- "type": "Date"
1621
- }
1622
- ]
1623
- },
1624
- {
1625
- "name": "month-show",
1626
- "description": "Emitted when a month enters the visible area",
1312
+ "name": "click",
1313
+ "description": "Emitted when button is clicked and not disabled or loading",
1627
1314
  "arguments": [
1628
1315
  {
1629
- "name": "value",
1630
- "type": "{ date: Date, title: string }"
1316
+ "name": "event",
1317
+ "type": "MouseEvent"
1631
1318
  }
1632
1319
  ]
1633
1320
  },
1634
1321
  {
1635
- "name": "over-range",
1636
- "description": "Emitted when exceeded max range",
1637
- "arguments": []
1638
- },
1639
- {
1640
- "name": "click-subtitle",
1641
- "description": "Emitted when clicking the subtitle",
1322
+ "name": "touchstart",
1323
+ "description": "Emitted when button is touched",
1642
1324
  "arguments": [
1643
1325
  {
1644
1326
  "name": "event",
1645
- "type": "MouseEvent"
1327
+ "type": "TouchEvent"
1646
1328
  }
1647
1329
  ]
1648
1330
  }
@@ -1650,8 +1332,8 @@
1650
1332
  "attributes": [
1651
1333
  {
1652
1334
  "name": "type",
1653
- "default": "`single`",
1654
- "description": "Type, can be set to `range` `multiple`",
1335
+ "default": "`default`",
1336
+ "description": "Can be set to `primary` `success` `warning` `danger`",
1655
1337
  "options": [],
1656
1338
  "value": {
1657
1339
  "type": "string",
@@ -1659,9 +1341,9 @@
1659
1341
  }
1660
1342
  },
1661
1343
  {
1662
- "name": "title",
1663
- "default": "`Calendar`",
1664
- "description": "Title of calendar",
1344
+ "name": "size",
1345
+ "default": "`normal`",
1346
+ "description": "Can be set to `large` `small` `mini`",
1665
1347
  "options": [],
1666
1348
  "value": {
1667
1349
  "type": "string",
@@ -1669,9 +1351,9 @@
1669
1351
  }
1670
1352
  },
1671
1353
  {
1672
- "name": "color",
1673
- "default": "`#ee0a24`",
1674
- "description": "Color for the bottom button and selected date",
1354
+ "name": "text",
1355
+ "default": "-",
1356
+ "description": "Text",
1675
1357
  "options": [],
1676
1358
  "value": {
1677
1359
  "type": "string",
@@ -1679,69 +1361,69 @@
1679
1361
  }
1680
1362
  },
1681
1363
  {
1682
- "name": "min-date",
1683
- "default": "Today",
1684
- "description": "Min date",
1364
+ "name": "color",
1365
+ "default": "-",
1366
+ "description": "Color, support linear-gradient",
1685
1367
  "options": [],
1686
1368
  "value": {
1687
- "type": "Date",
1369
+ "type": "string",
1688
1370
  "kind": "expression"
1689
1371
  }
1690
1372
  },
1691
1373
  {
1692
- "name": "max-date",
1693
- "default": "Six months after the today",
1694
- "description": "Max date",
1374
+ "name": "icon",
1375
+ "default": "-",
1376
+ "description": "Left Icon",
1695
1377
  "options": [],
1696
1378
  "value": {
1697
- "type": "Date",
1379
+ "type": "string",
1698
1380
  "kind": "expression"
1699
1381
  }
1700
1382
  },
1701
1383
  {
1702
- "name": "default-date",
1703
- "default": "Today",
1704
- "description": "Default selected date",
1384
+ "name": "icon-prefix",
1385
+ "default": "`van-icon`",
1386
+ "description": "Icon className prefix",
1705
1387
  "options": [],
1706
1388
  "value": {
1707
- "type": "Date | Date[] | null",
1389
+ "type": "string",
1708
1390
  "kind": "expression"
1709
1391
  }
1710
1392
  },
1711
1393
  {
1712
- "name": "row-height",
1713
- "default": "`64`",
1714
- "description": "Row height",
1394
+ "name": "icon-position",
1395
+ "default": "`left`",
1396
+ "description": "Icon position, can be set to `right`",
1715
1397
  "options": [],
1716
1398
  "value": {
1717
- "type": "number | string",
1399
+ "type": "string",
1718
1400
  "kind": "expression"
1719
1401
  }
1720
1402
  },
1721
1403
  {
1722
- "name": "formatter",
1723
- "default": "-",
1724
- "description": "Day formatter",
1404
+ "name": "tag",
1405
+ "default": "`button`",
1406
+ "description": "HTML Tag",
1725
1407
  "options": [],
1726
1408
  "value": {
1727
- "type": "(day: Day) => Day",
1409
+ "type": "string",
1728
1410
  "kind": "expression"
1729
1411
  }
1730
1412
  },
1731
1413
  {
1732
- "name": "poppable",
1733
- "default": "`true`",
1734
- "description": "Whether to show the calendar inside a popup",
1414
+ "name": "native-type",
1415
+ "default": "`button`",
1416
+ "description": "Native Type Attribute",
1735
1417
  "options": [],
1736
1418
  "value": {
1737
- "type": "boolean",
1419
+ "type": "string",
1738
1420
  "kind": "expression"
1739
1421
  }
1740
1422
  },
1741
1423
  {
1742
- "name": "lazy-render",
1743
- "default": "`true`",
1744
- "description": "Whether to enable lazy render",
1424
+ "name": "plain",
1425
+ "default": "`false`",
1426
+ "description": "Whether to be plain button",
1745
1427
  "options": [],
1746
1428
  "value": {
1747
1429
  "type": "boolean",
@@ -1749,9 +1431,327 @@
1749
1431
  }
1750
1432
  },
1751
1433
  {
1752
- "name": "show-mark",
1753
- "default": "`true`",
1754
- "description": "Whether to show background month mark",
1434
+ "name": "block",
1435
+ "default": "`false`",
1436
+ "description": "Whether to set display block",
1437
+ "options": [],
1438
+ "value": {
1439
+ "type": "boolean",
1440
+ "kind": "expression"
1441
+ }
1442
+ },
1443
+ {
1444
+ "name": "round",
1445
+ "default": "`false`",
1446
+ "description": "Whether to be round button",
1447
+ "options": [],
1448
+ "value": {
1449
+ "type": "boolean",
1450
+ "kind": "expression"
1451
+ }
1452
+ },
1453
+ {
1454
+ "name": "square",
1455
+ "default": "`false`",
1456
+ "description": "Whether to be square button",
1457
+ "options": [],
1458
+ "value": {
1459
+ "type": "boolean",
1460
+ "kind": "expression"
1461
+ }
1462
+ },
1463
+ {
1464
+ "name": "disabled",
1465
+ "default": "`false`",
1466
+ "description": "Whether to disable button",
1467
+ "options": [],
1468
+ "value": {
1469
+ "type": "boolean",
1470
+ "kind": "expression"
1471
+ }
1472
+ },
1473
+ {
1474
+ "name": "loading",
1475
+ "default": "`false`",
1476
+ "description": "Whether to show loading status",
1477
+ "options": [],
1478
+ "value": {
1479
+ "type": "boolean",
1480
+ "kind": "expression"
1481
+ }
1482
+ },
1483
+ {
1484
+ "name": "loading-text",
1485
+ "default": "-",
1486
+ "description": "Loading text",
1487
+ "options": [],
1488
+ "value": {
1489
+ "type": "string",
1490
+ "kind": "expression"
1491
+ }
1492
+ },
1493
+ {
1494
+ "name": "loading-type",
1495
+ "default": "`circular`",
1496
+ "description": "Loading type, can be set to `spinner`",
1497
+ "options": [],
1498
+ "value": {
1499
+ "type": "string",
1500
+ "kind": "expression"
1501
+ }
1502
+ },
1503
+ {
1504
+ "name": "loading-size",
1505
+ "default": "`20px`",
1506
+ "description": "Loading icon size",
1507
+ "options": [],
1508
+ "value": {
1509
+ "type": "number | string",
1510
+ "kind": "expression"
1511
+ }
1512
+ },
1513
+ {
1514
+ "name": "url",
1515
+ "default": "-",
1516
+ "description": "Link URL",
1517
+ "options": [],
1518
+ "value": {
1519
+ "type": "string",
1520
+ "kind": "expression"
1521
+ }
1522
+ },
1523
+ {
1524
+ "name": "to",
1525
+ "default": "-",
1526
+ "description": "Target route of the link, same as using vue-router",
1527
+ "options": [],
1528
+ "value": {
1529
+ "type": "string | object",
1530
+ "kind": "expression"
1531
+ }
1532
+ },
1533
+ {
1534
+ "name": "replace",
1535
+ "default": "`false`",
1536
+ "description": "If true, the navigation will not leave a history record",
1537
+ "options": [],
1538
+ "value": {
1539
+ "type": "boolean",
1540
+ "kind": "expression"
1541
+ }
1542
+ }
1543
+ ]
1544
+ },
1545
+ {
1546
+ "name": "van-calendar",
1547
+ "slots": [
1548
+ {
1549
+ "name": "title",
1550
+ "description": "Custom title"
1551
+ },
1552
+ {
1553
+ "name": "subtitle",
1554
+ "description": "Custom subtitle"
1555
+ },
1556
+ {
1557
+ "name": "footer",
1558
+ "description": "Custom footer"
1559
+ },
1560
+ {
1561
+ "name": "confirm-text",
1562
+ "description": "Custom confirm text"
1563
+ },
1564
+ {
1565
+ "name": "top-info",
1566
+ "description": "Custom top info of day"
1567
+ },
1568
+ {
1569
+ "name": "bottom-info",
1570
+ "description": "Custom bottom info of day"
1571
+ }
1572
+ ],
1573
+ "events": [
1574
+ {
1575
+ "name": "select",
1576
+ "description": "Emitted when date is selected",
1577
+ "arguments": [
1578
+ {
1579
+ "name": "value",
1580
+ "type": "Date | Date[]"
1581
+ }
1582
+ ]
1583
+ },
1584
+ {
1585
+ "name": "confirm",
1586
+ "description": "Emitted after date selection is complete, if `show-confirm` is `true`, it is Emitted after clicking the confirm button",
1587
+ "arguments": [
1588
+ {
1589
+ "name": "value",
1590
+ "type": "Date | Date[]"
1591
+ }
1592
+ ]
1593
+ },
1594
+ {
1595
+ "name": "open",
1596
+ "description": "Emitted when opening Popup",
1597
+ "arguments": []
1598
+ },
1599
+ {
1600
+ "name": "close",
1601
+ "description": "Emitted when closing Popup",
1602
+ "arguments": []
1603
+ },
1604
+ {
1605
+ "name": "opened",
1606
+ "description": "Emitted when Popup is opened",
1607
+ "arguments": []
1608
+ },
1609
+ {
1610
+ "name": "closed",
1611
+ "description": "Emitted when Popup is closed",
1612
+ "arguments": []
1613
+ },
1614
+ {
1615
+ "name": "unselect",
1616
+ "description": "Emitted when unselect date when type is multiple",
1617
+ "arguments": [
1618
+ {
1619
+ "name": "value",
1620
+ "type": "Date"
1621
+ }
1622
+ ]
1623
+ },
1624
+ {
1625
+ "name": "month-show",
1626
+ "description": "Emitted when a month enters the visible area",
1627
+ "arguments": [
1628
+ {
1629
+ "name": "value",
1630
+ "type": "{ date: Date, title: string }"
1631
+ }
1632
+ ]
1633
+ },
1634
+ {
1635
+ "name": "over-range",
1636
+ "description": "Emitted when exceeded max range",
1637
+ "arguments": []
1638
+ },
1639
+ {
1640
+ "name": "click-subtitle",
1641
+ "description": "Emitted when clicking the subtitle",
1642
+ "arguments": [
1643
+ {
1644
+ "name": "event",
1645
+ "type": "MouseEvent"
1646
+ }
1647
+ ]
1648
+ }
1649
+ ],
1650
+ "attributes": [
1651
+ {
1652
+ "name": "type",
1653
+ "default": "`single`",
1654
+ "description": "Type, can be set to `range` `multiple`",
1655
+ "options": [],
1656
+ "value": {
1657
+ "type": "string",
1658
+ "kind": "expression"
1659
+ }
1660
+ },
1661
+ {
1662
+ "name": "title",
1663
+ "default": "`Calendar`",
1664
+ "description": "Title of calendar",
1665
+ "options": [],
1666
+ "value": {
1667
+ "type": "string",
1668
+ "kind": "expression"
1669
+ }
1670
+ },
1671
+ {
1672
+ "name": "color",
1673
+ "default": "`#ee0a24`",
1674
+ "description": "Color for the bottom button and selected date",
1675
+ "options": [],
1676
+ "value": {
1677
+ "type": "string",
1678
+ "kind": "expression"
1679
+ }
1680
+ },
1681
+ {
1682
+ "name": "min-date",
1683
+ "default": "Today",
1684
+ "description": "Min date",
1685
+ "options": [],
1686
+ "value": {
1687
+ "type": "Date",
1688
+ "kind": "expression"
1689
+ }
1690
+ },
1691
+ {
1692
+ "name": "max-date",
1693
+ "default": "Six months after the today",
1694
+ "description": "Max date",
1695
+ "options": [],
1696
+ "value": {
1697
+ "type": "Date",
1698
+ "kind": "expression"
1699
+ }
1700
+ },
1701
+ {
1702
+ "name": "default-date",
1703
+ "default": "Today",
1704
+ "description": "Default selected date",
1705
+ "options": [],
1706
+ "value": {
1707
+ "type": "Date | Date[] | null",
1708
+ "kind": "expression"
1709
+ }
1710
+ },
1711
+ {
1712
+ "name": "row-height",
1713
+ "default": "`64`",
1714
+ "description": "Row height",
1715
+ "options": [],
1716
+ "value": {
1717
+ "type": "number | string",
1718
+ "kind": "expression"
1719
+ }
1720
+ },
1721
+ {
1722
+ "name": "formatter",
1723
+ "default": "-",
1724
+ "description": "Day formatter",
1725
+ "options": [],
1726
+ "value": {
1727
+ "type": "(day: Day) => Day",
1728
+ "kind": "expression"
1729
+ }
1730
+ },
1731
+ {
1732
+ "name": "poppable",
1733
+ "default": "`true`",
1734
+ "description": "Whether to show the calendar inside a popup",
1735
+ "options": [],
1736
+ "value": {
1737
+ "type": "boolean",
1738
+ "kind": "expression"
1739
+ }
1740
+ },
1741
+ {
1742
+ "name": "lazy-render",
1743
+ "default": "`true`",
1744
+ "description": "Whether to enable lazy render",
1745
+ "options": [],
1746
+ "value": {
1747
+ "type": "boolean",
1748
+ "kind": "expression"
1749
+ }
1750
+ },
1751
+ {
1752
+ "name": "show-mark",
1753
+ "default": "`true`",
1754
+ "description": "Whether to show background month mark",
1755
1755
  "options": [],
1756
1756
  "value": {
1757
1757
  "type": "boolean",
@@ -3630,14 +3630,79 @@
3630
3630
  ]
3631
3631
  },
3632
3632
  {
3633
- "name": "van-coupon-cell",
3634
- "slots": [],
3635
- "events": [],
3633
+ "name": "van-datetime-picker",
3634
+ "slots": [
3635
+ {
3636
+ "name": "default",
3637
+ "description": "Custom toolbar content"
3638
+ },
3639
+ {
3640
+ "name": "title",
3641
+ "description": "Custom title"
3642
+ },
3643
+ {
3644
+ "name": "confirm",
3645
+ "description": "Custom confirm button text"
3646
+ },
3647
+ {
3648
+ "name": "cancel",
3649
+ "description": "Custom cancel button text"
3650
+ },
3651
+ {
3652
+ "name": "option",
3653
+ "description": "Custom option content"
3654
+ },
3655
+ {
3656
+ "name": "columns-top",
3657
+ "description": "Custom content above columns"
3658
+ },
3659
+ {
3660
+ "name": "columns-bottom",
3661
+ "description": "Custom content below columns"
3662
+ }
3663
+ ],
3664
+ "events": [
3665
+ {
3666
+ "name": "change",
3667
+ "description": "Emitted when value changed",
3668
+ "arguments": [
3669
+ {
3670
+ "name": "value",
3671
+ "type": "current value"
3672
+ }
3673
+ ]
3674
+ },
3675
+ {
3676
+ "name": "confirm",
3677
+ "description": "Emitted when the confirm button is clicked",
3678
+ "arguments": [
3679
+ {
3680
+ "name": "value",
3681
+ "type": "current value"
3682
+ }
3683
+ ]
3684
+ },
3685
+ {
3686
+ "name": "cancel",
3687
+ "description": "Emitted when the cancel button is clicked",
3688
+ "arguments": []
3689
+ }
3690
+ ],
3636
3691
  "attributes": [
3692
+ {
3693
+ "name": "type",
3694
+ "default": "`datetime`",
3695
+ "description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
3696
+ "options": [],
3697
+ "value": {
3698
+ "type": "string",
3699
+ "kind": "expression"
3700
+ }
3701
+ },
3637
3702
  {
3638
3703
  "name": "title",
3639
- "default": "`Coupon`",
3640
- "description": "Cell title",
3704
+ "default": "`''`",
3705
+ "description": "Toolbar title",
3641
3706
  "options": [],
3642
3707
  "value": {
3643
3708
  "type": "string",
@@ -3645,29 +3710,29 @@
3645
3710
  }
3646
3711
  },
3647
3712
  {
3648
- "name": "chosen-coupon",
3649
- "default": "`-1`",
3650
- "description": "Index of chosen coupon",
3713
+ "name": "confirm-button-text",
3714
+ "default": "`Confirm`",
3715
+ "description": "Text of confirm button",
3651
3716
  "options": [],
3652
3717
  "value": {
3653
- "type": "number | string",
3718
+ "type": "string",
3654
3719
  "kind": "expression"
3655
3720
  }
3656
3721
  },
3657
3722
  {
3658
- "name": "coupons",
3659
- "default": "`[]`",
3660
- "description": "Coupon list",
3723
+ "name": "cancel-button-text",
3724
+ "default": "`Cancel`",
3725
+ "description": "Text of cancel button",
3661
3726
  "options": [],
3662
3727
  "value": {
3663
- "type": "Coupon[]",
3728
+ "type": "string",
3664
3729
  "kind": "expression"
3665
3730
  }
3666
3731
  },
3667
3732
  {
3668
- "name": "editable",
3733
+ "name": "show-toolbar",
3669
3734
  "default": "`true`",
3670
- "description": "Cell editable",
3735
+ "description": "Whether to show toolbar",
3671
3736
  "options": [],
3672
3737
  "value": {
3673
3738
  "type": "boolean",
@@ -3675,9 +3740,9 @@
3675
3740
  }
3676
3741
  },
3677
3742
  {
3678
- "name": "border",
3679
- "default": "`true`",
3680
- "description": "Whether to show inner border",
3743
+ "name": "loading",
3744
+ "default": "`false`",
3745
+ "description": "Whether to show loading prompt",
3681
3746
  "options": [],
3682
3747
  "value": {
3683
3748
  "type": "boolean",
@@ -3685,166 +3750,160 @@
3685
3750
  }
3686
3751
  },
3687
3752
  {
3688
- "name": "currency",
3689
- "default": "`¥`",
3690
- "description": "Currency symbol",
3753
+ "name": "readonly",
3754
+ "default": "`false`",
3755
+ "description": "Whether to be readonly",
3691
3756
  "options": [],
3692
3757
  "value": {
3693
- "type": "string",
3758
+ "type": "boolean",
3694
3759
  "kind": "expression"
3695
3760
  }
3696
- }
3697
- ]
3698
- },
3699
- {
3700
- "name": "van-coupon-list",
3701
- "slots": [
3702
- {
3703
- "name": "list-footer",
3704
- "description": "Coupon list bottom"
3705
3761
  },
3706
3762
  {
3707
- "name": "disabled-list-footer",
3708
- "description": "Unavailable coupons list bottom"
3709
- }
3710
- ],
3711
- "events": [
3712
- {
3713
- "name": "change",
3714
- "description": "Emitted when chosen coupon changed",
3715
- "arguments": [
3716
- {
3717
- "name": "index",
3718
- "type": "index of chosen coupon"
3719
- }
3720
- ]
3763
+ "name": "filter",
3764
+ "default": "-",
3765
+ "description": "Option filter",
3766
+ "options": [],
3767
+ "value": {
3768
+ "type": "(type: string, values: string[]) => string[]",
3769
+ "kind": "expression"
3770
+ }
3721
3771
  },
3722
3772
  {
3723
- "name": "exchange",
3724
- "description": "Emitted when exchanging coupon",
3725
- "arguments": [
3726
- {
3727
- "name": "code",
3728
- "type": "exchange code"
3729
- }
3730
- ]
3731
- }
3732
- ],
3733
- "attributes": [
3734
- {
3735
- "name": "v-model",
3773
+ "name": "formatter",
3736
3774
  "default": "-",
3737
- "description": "Current exchange code",
3775
+ "description": "Option text formatter",
3738
3776
  "options": [],
3739
3777
  "value": {
3740
- "type": "string",
3778
+ "type": "(type: string, value: string) => string",
3741
3779
  "kind": "expression"
3742
3780
  }
3743
3781
  },
3744
3782
  {
3745
- "name": "chosen-coupon",
3746
- "default": "`-1`",
3747
- "description": "Index of chosen coupon",
3783
+ "name": "columns-order",
3784
+ "default": "-",
3785
+ "description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
3748
3786
  "options": [],
3749
3787
  "value": {
3750
- "type": "number",
3788
+ "type": "string[]",
3751
3789
  "kind": "expression"
3752
3790
  }
3753
3791
  },
3754
3792
  {
3755
- "name": "coupons",
3756
- "default": "`[]`",
3757
- "description": "Coupon list",
3793
+ "name": "item-height",
3794
+ "default": "`44`",
3795
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
3758
3796
  "options": [],
3759
3797
  "value": {
3760
- "type": "Coupon[]",
3798
+ "type": "number | string",
3761
3799
  "kind": "expression"
3762
3800
  }
3763
3801
  },
3764
3802
  {
3765
- "name": "disabled-coupons",
3766
- "default": "`[]`",
3767
- "description": "Disabled coupon list",
3803
+ "name": "visible-item-count",
3804
+ "default": "`6`",
3805
+ "description": "Count of visible columns",
3768
3806
  "options": [],
3769
3807
  "value": {
3770
- "type": "Coupon[]",
3808
+ "type": "number | string",
3771
3809
  "kind": "expression"
3772
3810
  }
3773
3811
  },
3774
3812
  {
3775
- "name": "enabled-title",
3776
- "default": "`Available`",
3777
- "description": "Title of coupon list",
3813
+ "name": "swipe-duration",
3814
+ "default": "`1000`",
3815
+ "description": "Duration of the momentum animation, unit `ms`",
3778
3816
  "options": [],
3779
3817
  "value": {
3780
- "type": "string",
3818
+ "type": "number | string",
3781
3819
  "kind": "expression"
3782
3820
  }
3783
- },
3821
+ }
3822
+ ]
3823
+ },
3824
+ {
3825
+ "name": "van-date-picker",
3826
+ "slots": [],
3827
+ "events": [],
3828
+ "attributes": [
3784
3829
  {
3785
- "name": "disabled-title",
3786
- "default": "`Unavailable`",
3787
- "description": "Title of disabled coupon list",
3830
+ "name": "min-date",
3831
+ "default": "Ten years ago on January 1",
3832
+ "description": "Min date",
3788
3833
  "options": [],
3789
3834
  "value": {
3790
- "type": "string",
3835
+ "type": "Date",
3791
3836
  "kind": "expression"
3792
3837
  }
3793
3838
  },
3794
3839
  {
3795
- "name": "exchange-button-text",
3796
- "default": "`Exchange`",
3797
- "description": "Exchange button text",
3840
+ "name": "max-date",
3841
+ "default": "Ten years later on December 31",
3842
+ "description": "Max date",
3798
3843
  "options": [],
3799
3844
  "value": {
3800
- "type": "string",
3845
+ "type": "Date",
3801
3846
  "kind": "expression"
3802
3847
  }
3803
- },
3848
+ }
3849
+ ]
3850
+ },
3851
+ {
3852
+ "name": "van-time-picker",
3853
+ "slots": [],
3854
+ "events": [],
3855
+ "attributes": [
3804
3856
  {
3805
- "name": "exchange-button-loading",
3806
- "default": "`false`",
3807
- "description": "Whether to show loading in exchange button",
3857
+ "name": "min-hour",
3858
+ "default": "`0`",
3859
+ "description": "Min hour for `time` type",
3808
3860
  "options": [],
3809
3861
  "value": {
3810
- "type": "boolean",
3862
+ "type": "number | string",
3811
3863
  "kind": "expression"
3812
3864
  }
3813
3865
  },
3814
3866
  {
3815
- "name": "exchange-button-disabled",
3816
- "default": "`false`",
3817
- "description": "Whether to disable exchange button",
3867
+ "name": "max-hour",
3868
+ "default": "`23`",
3869
+ "description": "Max hour for `time` type",
3818
3870
  "options": [],
3819
3871
  "value": {
3820
- "type": "boolean",
3872
+ "type": "number | string",
3821
3873
  "kind": "expression"
3822
3874
  }
3823
3875
  },
3824
3876
  {
3825
- "name": "exchange-min-length",
3826
- "default": "`1`",
3827
- "description": "Min length to enable exchange button",
3877
+ "name": "min-minute",
3878
+ "default": "`0`",
3879
+ "description": "Max minute for `time` type",
3828
3880
  "options": [],
3829
3881
  "value": {
3830
- "type": "number",
3882
+ "type": "number | string",
3831
3883
  "kind": "expression"
3832
3884
  }
3833
3885
  },
3834
3886
  {
3835
- "name": "displayed-coupon-index",
3836
- "default": "-",
3837
- "description": "Index of displayed coupon",
3887
+ "name": "max-minute",
3888
+ "default": "`59`",
3889
+ "description": "Max minute for `time` type",
3838
3890
  "options": [],
3839
3891
  "value": {
3840
- "type": "number",
3892
+ "type": "number | string",
3841
3893
  "kind": "expression"
3842
3894
  }
3843
- },
3895
+ }
3896
+ ]
3897
+ },
3898
+ {
3899
+ "name": "van-coupon-cell",
3900
+ "slots": [],
3901
+ "events": [],
3902
+ "attributes": [
3844
3903
  {
3845
- "name": "close-button-text",
3846
- "default": "`Close`",
3847
- "description": "Close button text",
3904
+ "name": "title",
3905
+ "default": "`Coupon`",
3906
+ "description": "Cell title",
3848
3907
  "options": [],
3849
3908
  "value": {
3850
3909
  "type": "string",
@@ -3852,141 +3911,96 @@
3852
3911
  }
3853
3912
  },
3854
3913
  {
3855
- "name": "input-placeholder",
3856
- "default": "`Coupon code`",
3857
- "description": "Input placeholder",
3914
+ "name": "chosen-coupon",
3915
+ "default": "`-1`",
3916
+ "description": "Index of chosen coupon",
3858
3917
  "options": [],
3859
3918
  "value": {
3860
- "type": "string",
3919
+ "type": "number | string",
3861
3920
  "kind": "expression"
3862
3921
  }
3863
3922
  },
3864
3923
  {
3865
- "name": "currency",
3866
- "default": "`¥`",
3867
- "description": "Currency symbol",
3924
+ "name": "coupons",
3925
+ "default": "`[]`",
3926
+ "description": "Coupon list",
3868
3927
  "options": [],
3869
3928
  "value": {
3870
- "type": "string",
3929
+ "type": "Coupon[]",
3871
3930
  "kind": "expression"
3872
3931
  }
3873
3932
  },
3874
3933
  {
3875
- "name": "empty-image",
3876
- "default": "-",
3877
- "description": "Placeholder image when list is empty",
3934
+ "name": "editable",
3935
+ "default": "`true`",
3936
+ "description": "Cell editable",
3878
3937
  "options": [],
3879
3938
  "value": {
3880
- "type": "string",
3939
+ "type": "boolean",
3881
3940
  "kind": "expression"
3882
3941
  }
3883
3942
  },
3884
3943
  {
3885
- "name": "show-count",
3944
+ "name": "border",
3886
3945
  "default": "`true`",
3887
- "description": "Whether to show coupon count in tab title",
3946
+ "description": "Whether to show inner border",
3888
3947
  "options": [],
3889
3948
  "value": {
3890
3949
  "type": "boolean",
3891
3950
  "kind": "expression"
3892
3951
  }
3952
+ },
3953
+ {
3954
+ "name": "currency",
3955
+ "default": "`¥`",
3956
+ "description": "Currency symbol",
3957
+ "options": [],
3958
+ "value": {
3959
+ "type": "string",
3960
+ "kind": "expression"
3961
+ }
3893
3962
  }
3894
3963
  ]
3895
3964
  },
3896
3965
  {
3897
- "name": "van-datetime-picker",
3966
+ "name": "van-coupon-list",
3898
3967
  "slots": [
3899
3968
  {
3900
- "name": "default",
3901
- "description": "Custom toolbar content"
3902
- },
3903
- {
3904
- "name": "title",
3905
- "description": "Custom title"
3906
- },
3907
- {
3908
- "name": "confirm",
3909
- "description": "Custom confirm button text"
3910
- },
3911
- {
3912
- "name": "cancel",
3913
- "description": "Custom cancel button text"
3914
- },
3915
- {
3916
- "name": "option",
3917
- "description": "Custom option content"
3918
- },
3919
- {
3920
- "name": "columns-top",
3921
- "description": "Custom content above columns"
3969
+ "name": "list-footer",
3970
+ "description": "Coupon list bottom"
3922
3971
  },
3923
3972
  {
3924
- "name": "columns-bottom",
3925
- "description": "Custom content below columns"
3973
+ "name": "disabled-list-footer",
3974
+ "description": "Unavailable coupons list bottom"
3926
3975
  }
3927
3976
  ],
3928
3977
  "events": [
3929
3978
  {
3930
3979
  "name": "change",
3931
- "description": "Emitted when value changed",
3980
+ "description": "Emitted when chosen coupon changed",
3932
3981
  "arguments": [
3933
3982
  {
3934
- "name": "value",
3935
- "type": "current value"
3983
+ "name": "index",
3984
+ "type": "index of chosen coupon"
3936
3985
  }
3937
3986
  ]
3938
3987
  },
3939
3988
  {
3940
- "name": "confirm",
3941
- "description": "Emitted when the confirm button is clicked",
3989
+ "name": "exchange",
3990
+ "description": "Emitted when exchanging coupon",
3942
3991
  "arguments": [
3943
3992
  {
3944
- "name": "value",
3945
- "type": "current value"
3993
+ "name": "code",
3994
+ "type": "exchange code"
3946
3995
  }
3947
3996
  ]
3948
- },
3949
- {
3950
- "name": "cancel",
3951
- "description": "Emitted when the cancel button is clicked",
3952
- "arguments": []
3953
3997
  }
3954
3998
  ],
3955
3999
  "attributes": [
3956
4000
  {
3957
- "name": "type",
3958
- "default": "`datetime`",
3959
- "description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
3960
- "options": [],
3961
- "value": {
3962
- "type": "string",
3963
- "kind": "expression"
3964
- }
3965
- },
3966
- {
3967
- "name": "title",
3968
- "default": "`''`",
3969
- "description": "Toolbar title",
3970
- "options": [],
3971
- "value": {
3972
- "type": "string",
3973
- "kind": "expression"
3974
- }
3975
- },
3976
- {
3977
- "name": "confirm-button-text",
3978
- "default": "`Confirm`",
3979
- "description": "Text of confirm button",
3980
- "options": [],
3981
- "value": {
3982
- "type": "string",
3983
- "kind": "expression"
3984
- }
3985
- },
3986
- {
3987
- "name": "cancel-button-text",
3988
- "default": "`Cancel`",
3989
- "description": "Text of cancel button",
4001
+ "name": "v-model",
4002
+ "default": "-",
4003
+ "description": "Current exchange code",
3990
4004
  "options": [],
3991
4005
  "value": {
3992
4006
  "type": "string",
@@ -3994,166 +4008,152 @@
3994
4008
  }
3995
4009
  },
3996
4010
  {
3997
- "name": "show-toolbar",
3998
- "default": "`true`",
3999
- "description": "Whether to show toolbar",
4011
+ "name": "chosen-coupon",
4012
+ "default": "`-1`",
4013
+ "description": "Index of chosen coupon",
4000
4014
  "options": [],
4001
4015
  "value": {
4002
- "type": "boolean",
4016
+ "type": "number",
4003
4017
  "kind": "expression"
4004
4018
  }
4005
4019
  },
4006
4020
  {
4007
- "name": "loading",
4008
- "default": "`false`",
4009
- "description": "Whether to show loading prompt",
4021
+ "name": "coupons",
4022
+ "default": "`[]`",
4023
+ "description": "Coupon list",
4010
4024
  "options": [],
4011
4025
  "value": {
4012
- "type": "boolean",
4026
+ "type": "Coupon[]",
4013
4027
  "kind": "expression"
4014
4028
  }
4015
4029
  },
4016
4030
  {
4017
- "name": "readonly",
4018
- "default": "`false`",
4019
- "description": "Whether to be readonly",
4031
+ "name": "disabled-coupons",
4032
+ "default": "`[]`",
4033
+ "description": "Disabled coupon list",
4020
4034
  "options": [],
4021
4035
  "value": {
4022
- "type": "boolean",
4036
+ "type": "Coupon[]",
4023
4037
  "kind": "expression"
4024
4038
  }
4025
4039
  },
4026
4040
  {
4027
- "name": "filter",
4028
- "default": "-",
4029
- "description": "Option filter",
4041
+ "name": "enabled-title",
4042
+ "default": "`Available`",
4043
+ "description": "Title of coupon list",
4030
4044
  "options": [],
4031
4045
  "value": {
4032
- "type": "(type: string, values: string[]) => string[]",
4046
+ "type": "string",
4033
4047
  "kind": "expression"
4034
4048
  }
4035
4049
  },
4036
4050
  {
4037
- "name": "formatter",
4038
- "default": "-",
4039
- "description": "Option text formatter",
4051
+ "name": "disabled-title",
4052
+ "default": "`Unavailable`",
4053
+ "description": "Title of disabled coupon list",
4040
4054
  "options": [],
4041
4055
  "value": {
4042
- "type": "(type: string, value: string) => string",
4056
+ "type": "string",
4043
4057
  "kind": "expression"
4044
4058
  }
4045
4059
  },
4046
4060
  {
4047
- "name": "columns-order",
4048
- "default": "-",
4049
- "description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
4061
+ "name": "exchange-button-text",
4062
+ "default": "`Exchange`",
4063
+ "description": "Exchange button text",
4050
4064
  "options": [],
4051
4065
  "value": {
4052
- "type": "string[]",
4066
+ "type": "string",
4053
4067
  "kind": "expression"
4054
4068
  }
4055
4069
  },
4056
4070
  {
4057
- "name": "item-height",
4058
- "default": "`44`",
4059
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
4071
+ "name": "exchange-button-loading",
4072
+ "default": "`false`",
4073
+ "description": "Whether to show loading in exchange button",
4060
4074
  "options": [],
4061
4075
  "value": {
4062
- "type": "number | string",
4076
+ "type": "boolean",
4063
4077
  "kind": "expression"
4064
4078
  }
4065
4079
  },
4066
4080
  {
4067
- "name": "visible-item-count",
4068
- "default": "`6`",
4069
- "description": "Count of visible columns",
4081
+ "name": "exchange-button-disabled",
4082
+ "default": "`false`",
4083
+ "description": "Whether to disable exchange button",
4070
4084
  "options": [],
4071
4085
  "value": {
4072
- "type": "number | string",
4086
+ "type": "boolean",
4073
4087
  "kind": "expression"
4074
4088
  }
4075
4089
  },
4076
4090
  {
4077
- "name": "swipe-duration",
4078
- "default": "`1000`",
4079
- "description": "Duration of the momentum animation, unit `ms`",
4091
+ "name": "exchange-min-length",
4092
+ "default": "`1`",
4093
+ "description": "Min length to enable exchange button",
4080
4094
  "options": [],
4081
4095
  "value": {
4082
- "type": "number | string",
4096
+ "type": "number",
4083
4097
  "kind": "expression"
4084
4098
  }
4085
- }
4086
- ]
4087
- },
4088
- {
4089
- "name": "van-date-picker",
4090
- "slots": [],
4091
- "events": [],
4092
- "attributes": [
4099
+ },
4093
4100
  {
4094
- "name": "min-date",
4095
- "default": "Ten years ago on January 1",
4096
- "description": "Min date",
4101
+ "name": "displayed-coupon-index",
4102
+ "default": "-",
4103
+ "description": "Index of displayed coupon",
4097
4104
  "options": [],
4098
4105
  "value": {
4099
- "type": "Date",
4106
+ "type": "number",
4100
4107
  "kind": "expression"
4101
4108
  }
4102
4109
  },
4103
4110
  {
4104
- "name": "max-date",
4105
- "default": "Ten years later on December 31",
4106
- "description": "Max date",
4111
+ "name": "close-button-text",
4112
+ "default": "`Close`",
4113
+ "description": "Close button text",
4107
4114
  "options": [],
4108
4115
  "value": {
4109
- "type": "Date",
4116
+ "type": "string",
4110
4117
  "kind": "expression"
4111
4118
  }
4112
- }
4113
- ]
4114
- },
4115
- {
4116
- "name": "van-time-picker",
4117
- "slots": [],
4118
- "events": [],
4119
- "attributes": [
4119
+ },
4120
4120
  {
4121
- "name": "min-hour",
4122
- "default": "`0`",
4123
- "description": "Min hour for `time` type",
4121
+ "name": "input-placeholder",
4122
+ "default": "`Coupon code`",
4123
+ "description": "Input placeholder",
4124
4124
  "options": [],
4125
4125
  "value": {
4126
- "type": "number | string",
4126
+ "type": "string",
4127
4127
  "kind": "expression"
4128
4128
  }
4129
4129
  },
4130
4130
  {
4131
- "name": "max-hour",
4132
- "default": "`23`",
4133
- "description": "Max hour for `time` type",
4131
+ "name": "currency",
4132
+ "default": "`¥`",
4133
+ "description": "Currency symbol",
4134
4134
  "options": [],
4135
4135
  "value": {
4136
- "type": "number | string",
4136
+ "type": "string",
4137
4137
  "kind": "expression"
4138
4138
  }
4139
4139
  },
4140
4140
  {
4141
- "name": "min-minute",
4142
- "default": "`0`",
4143
- "description": "Max minute for `time` type",
4141
+ "name": "empty-image",
4142
+ "default": "-",
4143
+ "description": "Placeholder image when list is empty",
4144
4144
  "options": [],
4145
4145
  "value": {
4146
- "type": "number | string",
4146
+ "type": "string",
4147
4147
  "kind": "expression"
4148
4148
  }
4149
4149
  },
4150
4150
  {
4151
- "name": "max-minute",
4152
- "default": "`59`",
4153
- "description": "Max minute for `time` type",
4151
+ "name": "show-count",
4152
+ "default": "`true`",
4153
+ "description": "Whether to show coupon count in tab title",
4154
4154
  "options": [],
4155
4155
  "value": {
4156
- "type": "number | string",
4156
+ "type": "boolean",
4157
4157
  "kind": "expression"
4158
4158
  }
4159
4159
  }
@@ -6445,175 +6445,44 @@
6445
6445
  "description": "Can be set to `spinner`",
6446
6446
  "options": [],
6447
6447
  "value": {
6448
- "type": "string",
6449
- "kind": "expression"
6450
- }
6451
- },
6452
- {
6453
- "name": "size",
6454
- "default": "`30px`",
6455
- "description": "Icon size",
6456
- "options": [],
6457
- "value": {
6458
- "type": "number | string",
6459
- "kind": "expression"
6460
- }
6461
- },
6462
- {
6463
- "name": "text-size",
6464
- "default": "`14px`",
6465
- "description": "Text font size",
6466
- "options": [],
6467
- "value": {
6468
- "type": "number | string",
6469
- "kind": "expression"
6470
- }
6471
- },
6472
- {
6473
- "name": "text-color",
6474
- "default": "`#c9c9c9`",
6475
- "description": "Text color",
6476
- "options": [],
6477
- "value": {
6478
- "type": "string",
6479
- "kind": "expression"
6480
- }
6481
- },
6482
- {
6483
- "name": "vertical",
6484
- "default": "`false`",
6485
- "description": "Whether to arrange icons and text content vertically",
6486
- "options": [],
6487
- "value": {
6488
- "type": "boolean",
6489
- "kind": "expression"
6490
- }
6491
- }
6492
- ]
6493
- },
6494
- {
6495
- "name": "van-nav-bar",
6496
- "slots": [
6497
- {
6498
- "name": "title",
6499
- "description": "Custom title"
6500
- },
6501
- {
6502
- "name": "left",
6503
- "description": "Custom left side content"
6504
- },
6505
- {
6506
- "name": "right",
6507
- "description": "Custom right side content"
6508
- }
6509
- ],
6510
- "events": [
6511
- {
6512
- "name": "click-left",
6513
- "description": "Emitted when the left button is clicked",
6514
- "arguments": [
6515
- {
6516
- "name": "event",
6517
- "type": "MouseEvent"
6518
- }
6519
- ]
6520
- },
6521
- {
6522
- "name": "click-right",
6523
- "description": "Emitted when the right button is clicked",
6524
- "arguments": [
6525
- {
6526
- "name": "event",
6527
- "type": "MouseEvent"
6528
- }
6529
- ]
6530
- }
6531
- ],
6532
- "attributes": [
6533
- {
6534
- "name": "title",
6535
- "default": "`''`",
6536
- "description": "Title",
6537
- "options": [],
6538
- "value": {
6539
- "type": "string",
6540
- "kind": "expression"
6541
- }
6542
- },
6543
- {
6544
- "name": "left-text",
6545
- "default": "`''`",
6546
- "description": "Left Text",
6547
- "options": [],
6548
- "value": {
6549
- "type": "string",
6550
- "kind": "expression"
6551
- }
6552
- },
6553
- {
6554
- "name": "right-text",
6555
- "default": "`''`",
6556
- "description": "Right Text",
6557
- "options": [],
6558
- "value": {
6559
- "type": "string",
6560
- "kind": "expression"
6561
- }
6562
- },
6563
- {
6564
- "name": "left-arrow",
6565
- "default": "`false`",
6566
- "description": "Whether to show left arrow",
6567
- "options": [],
6568
- "value": {
6569
- "type": "boolean",
6570
- "kind": "expression"
6571
- }
6572
- },
6573
- {
6574
- "name": "border",
6575
- "default": "`true`",
6576
- "description": "Whether to show bottom border",
6577
- "options": [],
6578
- "value": {
6579
- "type": "boolean",
6448
+ "type": "string",
6580
6449
  "kind": "expression"
6581
6450
  }
6582
6451
  },
6583
6452
  {
6584
- "name": "fixed",
6585
- "default": "`false`",
6586
- "description": "Whether to fixed top",
6453
+ "name": "size",
6454
+ "default": "`30px`",
6455
+ "description": "Icon size",
6587
6456
  "options": [],
6588
6457
  "value": {
6589
- "type": "boolean",
6458
+ "type": "number | string",
6590
6459
  "kind": "expression"
6591
6460
  }
6592
6461
  },
6593
6462
  {
6594
- "name": "placeholder",
6595
- "default": "`false`",
6596
- "description": "Whether to generate a placeholder element when fixed",
6463
+ "name": "text-size",
6464
+ "default": "`14px`",
6465
+ "description": "Text font size",
6597
6466
  "options": [],
6598
6467
  "value": {
6599
- "type": "boolean",
6468
+ "type": "number | string",
6600
6469
  "kind": "expression"
6601
6470
  }
6602
6471
  },
6603
6472
  {
6604
- "name": "z-index",
6605
- "default": "`1`",
6606
- "description": "Z-index",
6473
+ "name": "text-color",
6474
+ "default": "`#c9c9c9`",
6475
+ "description": "Text color",
6607
6476
  "options": [],
6608
6477
  "value": {
6609
- "type": "number | string",
6478
+ "type": "string",
6610
6479
  "kind": "expression"
6611
6480
  }
6612
6481
  },
6613
6482
  {
6614
- "name": "safe-area-inset-top",
6483
+ "name": "vertical",
6615
6484
  "default": "`false`",
6616
- "description": "Whether to enable top safe area adaptation",
6485
+ "description": "Whether to arrange icons and text content vertically",
6617
6486
  "options": [],
6618
6487
  "value": {
6619
6488
  "type": "boolean",
@@ -6623,25 +6492,25 @@
6623
6492
  ]
6624
6493
  },
6625
6494
  {
6626
- "name": "van-notice-bar",
6495
+ "name": "van-nav-bar",
6627
6496
  "slots": [
6628
6497
  {
6629
- "name": "default",
6630
- "description": "Notice text content"
6498
+ "name": "title",
6499
+ "description": "Custom title"
6631
6500
  },
6632
6501
  {
6633
- "name": "left-icon",
6634
- "description": "Custom left icon"
6502
+ "name": "left",
6503
+ "description": "Custom left side content"
6635
6504
  },
6636
6505
  {
6637
- "name": "right-icon",
6638
- "description": "Custom right icon"
6506
+ "name": "right",
6507
+ "description": "Custom right side content"
6639
6508
  }
6640
6509
  ],
6641
6510
  "events": [
6642
6511
  {
6643
- "name": "click",
6644
- "description": "Emitted when NoticeBar is clicked",
6512
+ "name": "click-left",
6513
+ "description": "Emitted when the left button is clicked",
6645
6514
  "arguments": [
6646
6515
  {
6647
6516
  "name": "event",
@@ -6650,26 +6519,21 @@
6650
6519
  ]
6651
6520
  },
6652
6521
  {
6653
- "name": "close",
6654
- "description": "Emitted when NoticeBar is closed",
6522
+ "name": "click-right",
6523
+ "description": "Emitted when the right button is clicked",
6655
6524
  "arguments": [
6656
6525
  {
6657
6526
  "name": "event",
6658
6527
  "type": "MouseEvent"
6659
6528
  }
6660
6529
  ]
6661
- },
6662
- {
6663
- "name": "replay",
6664
- "description": "Emitted when NoticeBar is replayed",
6665
- "arguments": []
6666
6530
  }
6667
6531
  ],
6668
6532
  "attributes": [
6669
6533
  {
6670
- "name": "mode",
6534
+ "name": "title",
6671
6535
  "default": "`''`",
6672
- "description": "Mode, can be set to `closeable` `link`",
6536
+ "description": "Title",
6673
6537
  "options": [],
6674
6538
  "value": {
6675
6539
  "type": "string",
@@ -6677,9 +6541,9 @@
6677
6541
  }
6678
6542
  },
6679
6543
  {
6680
- "name": "text",
6544
+ "name": "left-text",
6681
6545
  "default": "`''`",
6682
- "description": "Notice text content",
6546
+ "description": "Left Text",
6683
6547
  "options": [],
6684
6548
  "value": {
6685
6549
  "type": "string",
@@ -6687,9 +6551,9 @@
6687
6551
  }
6688
6552
  },
6689
6553
  {
6690
- "name": "color",
6691
- "default": "`#ed6a0c`",
6692
- "description": "Text color",
6554
+ "name": "right-text",
6555
+ "default": "`''`",
6556
+ "description": "Right Text",
6693
6557
  "options": [],
6694
6558
  "value": {
6695
6559
  "type": "string",
@@ -6697,59 +6561,59 @@
6697
6561
  }
6698
6562
  },
6699
6563
  {
6700
- "name": "background",
6701
- "default": "`#fffbe8`",
6702
- "description": "Background color",
6564
+ "name": "left-arrow",
6565
+ "default": "`false`",
6566
+ "description": "Whether to show left arrow",
6703
6567
  "options": [],
6704
6568
  "value": {
6705
- "type": "string",
6569
+ "type": "boolean",
6706
6570
  "kind": "expression"
6707
6571
  }
6708
6572
  },
6709
6573
  {
6710
- "name": "left-icon",
6711
- "default": "-",
6712
- "description": "Left Icon",
6574
+ "name": "border",
6575
+ "default": "`true`",
6576
+ "description": "Whether to show bottom border",
6713
6577
  "options": [],
6714
6578
  "value": {
6715
- "type": "string",
6579
+ "type": "boolean",
6716
6580
  "kind": "expression"
6717
6581
  }
6718
6582
  },
6719
6583
  {
6720
- "name": "delay",
6721
- "default": "`1`",
6722
- "description": "Animation delay (s)",
6584
+ "name": "fixed",
6585
+ "default": "`false`",
6586
+ "description": "Whether to fixed top",
6723
6587
  "options": [],
6724
6588
  "value": {
6725
- "type": "number | string",
6589
+ "type": "boolean",
6726
6590
  "kind": "expression"
6727
6591
  }
6728
6592
  },
6729
6593
  {
6730
- "name": "speed",
6731
- "default": "`60`",
6732
- "description": "Scroll speed (px/s)",
6594
+ "name": "placeholder",
6595
+ "default": "`false`",
6596
+ "description": "Whether to generate a placeholder element when fixed",
6733
6597
  "options": [],
6734
6598
  "value": {
6735
- "type": "number | string",
6599
+ "type": "boolean",
6736
6600
  "kind": "expression"
6737
6601
  }
6738
6602
  },
6739
6603
  {
6740
- "name": "scrollable",
6741
- "default": "-",
6742
- "description": "Whether to scroll content",
6604
+ "name": "z-index",
6605
+ "default": "`1`",
6606
+ "description": "Z-index",
6743
6607
  "options": [],
6744
6608
  "value": {
6745
- "type": "boolean",
6609
+ "type": "number | string",
6746
6610
  "kind": "expression"
6747
6611
  }
6748
6612
  },
6749
6613
  {
6750
- "name": "wrapable",
6614
+ "name": "safe-area-inset-top",
6751
6615
  "default": "`false`",
6752
- "description": "Whether to enable text wrap",
6616
+ "description": "Whether to enable top safe area adaptation",
6753
6617
  "options": [],
6754
6618
  "value": {
6755
6619
  "type": "boolean",
@@ -6873,29 +6737,175 @@
6873
6737
  }
6874
6738
  },
6875
6739
  {
6876
- "name": "z-index",
6877
- "default": "`100`",
6878
- "description": "Keyboard z-index",
6879
- "options": [],
6880
- "value": {
6881
- "type": "number | string",
6882
- "kind": "expression"
6883
- }
6884
- },
6740
+ "name": "z-index",
6741
+ "default": "`100`",
6742
+ "description": "Keyboard z-index",
6743
+ "options": [],
6744
+ "value": {
6745
+ "type": "number | string",
6746
+ "kind": "expression"
6747
+ }
6748
+ },
6749
+ {
6750
+ "name": "extra-key",
6751
+ "default": "`''`",
6752
+ "description": "Content of bottom left key",
6753
+ "options": [],
6754
+ "value": {
6755
+ "type": "string | string[]",
6756
+ "kind": "expression"
6757
+ }
6758
+ },
6759
+ {
6760
+ "name": "close-button-text",
6761
+ "default": "-",
6762
+ "description": "Close button text",
6763
+ "options": [],
6764
+ "value": {
6765
+ "type": "string",
6766
+ "kind": "expression"
6767
+ }
6768
+ },
6769
+ {
6770
+ "name": "delete-button-text",
6771
+ "default": "Delete Icon",
6772
+ "description": "Delete button text",
6773
+ "options": [],
6774
+ "value": {
6775
+ "type": "string",
6776
+ "kind": "expression"
6777
+ }
6778
+ },
6779
+ {
6780
+ "name": "close-button-loading",
6781
+ "default": "`false`",
6782
+ "description": "Whether to show loading close button in custom theme",
6783
+ "options": [],
6784
+ "value": {
6785
+ "type": "boolean",
6786
+ "kind": "expression"
6787
+ }
6788
+ },
6789
+ {
6790
+ "name": "show-delete-key",
6791
+ "default": "`true`",
6792
+ "description": "Whether to show delete button",
6793
+ "options": [],
6794
+ "value": {
6795
+ "type": "boolean",
6796
+ "kind": "expression"
6797
+ }
6798
+ },
6799
+ {
6800
+ "name": "blur-on-close",
6801
+ "default": "`true`",
6802
+ "description": "Whether to emit blur event when clicking close button",
6803
+ "options": [],
6804
+ "value": {
6805
+ "type": "boolean",
6806
+ "kind": "expression"
6807
+ }
6808
+ },
6809
+ {
6810
+ "name": "hide-on-click-outside",
6811
+ "default": "`true`",
6812
+ "description": "Whether to hide keyboard when outside is clicked",
6813
+ "options": [],
6814
+ "value": {
6815
+ "type": "boolean",
6816
+ "kind": "expression"
6817
+ }
6818
+ },
6819
+ {
6820
+ "name": "teleport",
6821
+ "default": "-",
6822
+ "description": "Specifies a target element where NumberKeyboard will be mounted",
6823
+ "options": [],
6824
+ "value": {
6825
+ "type": "string | Element",
6826
+ "kind": "expression"
6827
+ }
6828
+ },
6829
+ {
6830
+ "name": "safe-area-inset-bottom",
6831
+ "default": "`true`",
6832
+ "description": "Whether to enable bottom safe area adaptation",
6833
+ "options": [],
6834
+ "value": {
6835
+ "type": "boolean",
6836
+ "kind": "expression"
6837
+ }
6838
+ },
6839
+ {
6840
+ "name": "random-key-order",
6841
+ "default": "`false`",
6842
+ "description": "Whether to shuffle the order of keys",
6843
+ "options": [],
6844
+ "value": {
6845
+ "type": "boolean",
6846
+ "kind": "expression"
6847
+ }
6848
+ }
6849
+ ]
6850
+ },
6851
+ {
6852
+ "name": "van-notice-bar",
6853
+ "slots": [
6854
+ {
6855
+ "name": "default",
6856
+ "description": "Notice text content"
6857
+ },
6858
+ {
6859
+ "name": "left-icon",
6860
+ "description": "Custom left icon"
6861
+ },
6862
+ {
6863
+ "name": "right-icon",
6864
+ "description": "Custom right icon"
6865
+ }
6866
+ ],
6867
+ "events": [
6868
+ {
6869
+ "name": "click",
6870
+ "description": "Emitted when NoticeBar is clicked",
6871
+ "arguments": [
6872
+ {
6873
+ "name": "event",
6874
+ "type": "MouseEvent"
6875
+ }
6876
+ ]
6877
+ },
6878
+ {
6879
+ "name": "close",
6880
+ "description": "Emitted when NoticeBar is closed",
6881
+ "arguments": [
6882
+ {
6883
+ "name": "event",
6884
+ "type": "MouseEvent"
6885
+ }
6886
+ ]
6887
+ },
6888
+ {
6889
+ "name": "replay",
6890
+ "description": "Emitted when NoticeBar is replayed",
6891
+ "arguments": []
6892
+ }
6893
+ ],
6894
+ "attributes": [
6885
6895
  {
6886
- "name": "extra-key",
6896
+ "name": "mode",
6887
6897
  "default": "`''`",
6888
- "description": "Content of bottom left key",
6898
+ "description": "Mode, can be set to `closeable` `link`",
6889
6899
  "options": [],
6890
6900
  "value": {
6891
- "type": "string | string[]",
6901
+ "type": "string",
6892
6902
  "kind": "expression"
6893
6903
  }
6894
6904
  },
6895
6905
  {
6896
- "name": "close-button-text",
6897
- "default": "-",
6898
- "description": "Close button text",
6906
+ "name": "text",
6907
+ "default": "`''`",
6908
+ "description": "Notice text content",
6899
6909
  "options": [],
6900
6910
  "value": {
6901
6911
  "type": "string",
@@ -6903,9 +6913,9 @@
6903
6913
  }
6904
6914
  },
6905
6915
  {
6906
- "name": "delete-button-text",
6907
- "default": "Delete Icon",
6908
- "description": "Delete button text",
6916
+ "name": "color",
6917
+ "default": "`#ed6a0c`",
6918
+ "description": "Text color",
6909
6919
  "options": [],
6910
6920
  "value": {
6911
6921
  "type": "string",
@@ -6913,59 +6923,49 @@
6913
6923
  }
6914
6924
  },
6915
6925
  {
6916
- "name": "close-button-loading",
6917
- "default": "`false`",
6918
- "description": "Whether to show loading close button in custom theme",
6926
+ "name": "background",
6927
+ "default": "`#fffbe8`",
6928
+ "description": "Background color",
6919
6929
  "options": [],
6920
6930
  "value": {
6921
- "type": "boolean",
6931
+ "type": "string",
6922
6932
  "kind": "expression"
6923
6933
  }
6924
6934
  },
6925
6935
  {
6926
- "name": "show-delete-key",
6927
- "default": "`true`",
6928
- "description": "Whether to show delete button",
6936
+ "name": "left-icon",
6937
+ "default": "-",
6938
+ "description": "Left Icon",
6929
6939
  "options": [],
6930
6940
  "value": {
6931
- "type": "boolean",
6941
+ "type": "string",
6932
6942
  "kind": "expression"
6933
6943
  }
6934
6944
  },
6935
6945
  {
6936
- "name": "blur-on-close",
6937
- "default": "`true`",
6938
- "description": "Whether to emit blur event when clicking close button",
6946
+ "name": "delay",
6947
+ "default": "`1`",
6948
+ "description": "Animation delay (s)",
6939
6949
  "options": [],
6940
6950
  "value": {
6941
- "type": "boolean",
6951
+ "type": "number | string",
6942
6952
  "kind": "expression"
6943
6953
  }
6944
6954
  },
6945
6955
  {
6946
- "name": "hide-on-click-outside",
6947
- "default": "`true`",
6948
- "description": "Whether to hide keyboard when outside is clicked",
6956
+ "name": "speed",
6957
+ "default": "`60`",
6958
+ "description": "Scroll speed (px/s)",
6949
6959
  "options": [],
6950
6960
  "value": {
6951
- "type": "boolean",
6961
+ "type": "number | string",
6952
6962
  "kind": "expression"
6953
6963
  }
6954
6964
  },
6955
6965
  {
6956
- "name": "teleport",
6966
+ "name": "scrollable",
6957
6967
  "default": "-",
6958
- "description": "Specifies a target element where NumberKeyboard will be mounted",
6959
- "options": [],
6960
- "value": {
6961
- "type": "string | Element",
6962
- "kind": "expression"
6963
- }
6964
- },
6965
- {
6966
- "name": "safe-area-inset-bottom",
6967
- "default": "`true`",
6968
- "description": "Whether to enable bottom safe area adaptation",
6968
+ "description": "Whether to scroll content",
6969
6969
  "options": [],
6970
6970
  "value": {
6971
6971
  "type": "boolean",
@@ -6973,9 +6973,9 @@
6973
6973
  }
6974
6974
  },
6975
6975
  {
6976
- "name": "random-key-order",
6976
+ "name": "wrapable",
6977
6977
  "default": "`false`",
6978
- "description": "Whether to shuffle the order of keys",
6978
+ "description": "Whether to enable text wrap",
6979
6979
  "options": [],
6980
6980
  "value": {
6981
6981
  "type": "boolean",
@@ -7193,89 +7193,6 @@
7193
7193
  }
7194
7194
  ]
7195
7195
  },
7196
- {
7197
- "name": "van-password-input",
7198
- "slots": [],
7199
- "events": [
7200
- {
7201
- "name": "focus",
7202
- "description": "Emitted when input is focused",
7203
- "arguments": []
7204
- }
7205
- ],
7206
- "attributes": [
7207
- {
7208
- "name": "value",
7209
- "default": "`''`",
7210
- "description": "Password value",
7211
- "options": [],
7212
- "value": {
7213
- "type": "string",
7214
- "kind": "expression"
7215
- }
7216
- },
7217
- {
7218
- "name": "info",
7219
- "default": "-",
7220
- "description": "Bottom info",
7221
- "options": [],
7222
- "value": {
7223
- "type": "string",
7224
- "kind": "expression"
7225
- }
7226
- },
7227
- {
7228
- "name": "error-info",
7229
- "default": "-",
7230
- "description": "Bottom error info",
7231
- "options": [],
7232
- "value": {
7233
- "type": "string",
7234
- "kind": "expression"
7235
- }
7236
- },
7237
- {
7238
- "name": "length",
7239
- "default": "`6`",
7240
- "description": "Maxlength of password",
7241
- "options": [],
7242
- "value": {
7243
- "type": "number | string",
7244
- "kind": "expression"
7245
- }
7246
- },
7247
- {
7248
- "name": "gutter",
7249
- "default": "`0`",
7250
- "description": "Gutter of input",
7251
- "options": [],
7252
- "value": {
7253
- "type": "number | string",
7254
- "kind": "expression"
7255
- }
7256
- },
7257
- {
7258
- "name": "mask",
7259
- "default": "`true`",
7260
- "description": "Whether to mask value",
7261
- "options": [],
7262
- "value": {
7263
- "type": "boolean",
7264
- "kind": "expression"
7265
- }
7266
- },
7267
- {
7268
- "name": "focused",
7269
- "default": "`false`",
7270
- "description": "Whether to show focused cursor",
7271
- "options": [],
7272
- "value": {
7273
- "type": "boolean",
7274
- "kind": "expression"
7275
- }
7276
- }
7277
- ]
7278
- },
7279
7196
  {
7280
7197
  "name": "van-picker",
7281
7198
  "slots": [
@@ -7485,6 +7402,89 @@
7485
7402
  }
7486
7403
  ]
7487
7404
  },
7405
+ {
7406
+ "name": "van-password-input",
7407
+ "slots": [],
7408
+ "events": [
7409
+ {
7410
+ "name": "focus",
7411
+ "description": "Emitted when input is focused",
7412
+ "arguments": []
7413
+ }
7414
+ ],
7415
+ "attributes": [
7416
+ {
7417
+ "name": "value",
7418
+ "default": "`''`",
7419
+ "description": "Password value",
7420
+ "options": [],
7421
+ "value": {
7422
+ "type": "string",
7423
+ "kind": "expression"
7424
+ }
7425
+ },
7426
+ {
7427
+ "name": "info",
7428
+ "default": "-",
7429
+ "description": "Bottom info",
7430
+ "options": [],
7431
+ "value": {
7432
+ "type": "string",
7433
+ "kind": "expression"
7434
+ }
7435
+ },
7436
+ {
7437
+ "name": "error-info",
7438
+ "default": "-",
7439
+ "description": "Bottom error info",
7440
+ "options": [],
7441
+ "value": {
7442
+ "type": "string",
7443
+ "kind": "expression"
7444
+ }
7445
+ },
7446
+ {
7447
+ "name": "length",
7448
+ "default": "`6`",
7449
+ "description": "Maxlength of password",
7450
+ "options": [],
7451
+ "value": {
7452
+ "type": "number | string",
7453
+ "kind": "expression"
7454
+ }
7455
+ },
7456
+ {
7457
+ "name": "gutter",
7458
+ "default": "`0`",
7459
+ "description": "Gutter of input",
7460
+ "options": [],
7461
+ "value": {
7462
+ "type": "number | string",
7463
+ "kind": "expression"
7464
+ }
7465
+ },
7466
+ {
7467
+ "name": "mask",
7468
+ "default": "`true`",
7469
+ "description": "Whether to mask value",
7470
+ "options": [],
7471
+ "value": {
7472
+ "type": "boolean",
7473
+ "kind": "expression"
7474
+ }
7475
+ },
7476
+ {
7477
+ "name": "focused",
7478
+ "default": "`false`",
7479
+ "description": "Whether to show focused cursor",
7480
+ "options": [],
7481
+ "value": {
7482
+ "type": "boolean",
7483
+ "kind": "expression"
7484
+ }
7485
+ }
7486
+ ]
7487
+ },
7488
7488
  {
7489
7489
  "name": "van-popover",
7490
7490
  "slots": [