vant 3.4.8 → 3.4.9

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 (47) hide show
  1. package/changelog.generated.md +31 -39
  2. package/es/empty/Empty.js +10 -13
  3. package/es/empty/Images.d.ts +4 -0
  4. package/es/empty/Images.js +271 -0
  5. package/es/field/Field.js +6 -3
  6. package/es/field/types.d.ts +1 -1
  7. package/es/form/Form.d.ts +13 -13
  8. package/es/form/Form.js +6 -3
  9. package/es/form/index.d.ts +9 -9
  10. package/es/index.d.ts +1 -1
  11. package/es/index.js +1 -1
  12. package/es/loading/Loading.js +3 -1
  13. package/es/uploader/Uploader.js +2 -2
  14. package/es/uploader/utils.d.ts +0 -1
  15. package/es/uploader/utils.js +2 -4
  16. package/es/utils/basic.d.ts +1 -0
  17. package/es/utils/basic.js +3 -1
  18. package/lib/empty/Empty.js +10 -13
  19. package/lib/empty/Images.d.ts +4 -0
  20. package/lib/empty/Images.js +290 -0
  21. package/lib/field/Field.js +5 -2
  22. package/lib/field/types.d.ts +1 -1
  23. package/lib/form/Form.d.ts +13 -13
  24. package/lib/form/Form.js +5 -2
  25. package/lib/form/index.d.ts +9 -9
  26. package/lib/index.d.ts +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/loading/Loading.js +3 -1
  29. package/lib/uploader/Uploader.js +1 -1
  30. package/lib/uploader/utils.d.ts +0 -1
  31. package/lib/uploader/utils.js +2 -4
  32. package/lib/utils/basic.d.ts +1 -0
  33. package/lib/utils/basic.js +3 -1
  34. package/lib/vant.cjs.js +233 -49
  35. package/lib/vant.cjs.min.js +1 -1
  36. package/lib/vant.es.js +233 -49
  37. package/lib/vant.es.min.js +233 -49
  38. package/lib/vant.js +233 -49
  39. package/lib/vant.min.js +1 -1
  40. package/package.json +1 -1
  41. package/vetur/attributes.json +276 -276
  42. package/vetur/tags.json +90 -90
  43. package/vetur/web-types.json +1070 -1070
  44. package/es/empty/Network.d.ts +0 -1
  45. package/es/empty/Network.js +0 -89
  46. package/lib/empty/Network.d.ts +0 -1
  47. package/lib/empty/Network.js +0 -108
@@ -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.4.8",
5
+ "version": "3.4.9",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -252,101 +252,115 @@
252
252
  ]
253
253
  },
254
254
  {
255
- "name": "van-action-sheet",
255
+ "name": "van-address-edit",
256
256
  "slots": [
257
257
  {
258
258
  "name": "default",
259
- "description": "Custom content"
260
- },
261
- {
262
- "name": "description",
263
- "description": "Custom description above the options"
264
- },
265
- {
266
- "name": "cancel",
267
- "description": "Custom the content of cancel button"
268
- },
269
- {
270
- "name": "action",
271
- "description": "Custom the content of action"
259
+ "description": "Custom content below postal"
272
260
  }
273
261
  ],
274
262
  "events": [
275
263
  {
276
- "name": "select",
277
- "description": "Emitted when an option is clicked",
264
+ "name": "save",
265
+ "description": "Emitted when the save button is clicked",
278
266
  "arguments": [
279
267
  {
280
- "name": "action",
281
- "type": "ActionSheetAction"
282
- },
268
+ "name": "content",
269
+ "type": "form content"
270
+ }
271
+ ]
272
+ },
273
+ {
274
+ "name": "focus",
275
+ "description": "Emitted when field is focused",
276
+ "arguments": [
283
277
  {
284
- "name": "index",
285
- "type": "number"
278
+ "name": "key",
279
+ "type": "field name"
286
280
  }
287
281
  ]
288
282
  },
289
283
  {
290
- "name": "cancel",
291
- "description": "Emitted when the cancel button is clicked",
292
- "arguments": []
284
+ "name": "delete",
285
+ "description": "Emitted when confirming delete",
286
+ "arguments": [
287
+ {
288
+ "name": "content",
289
+ "type": "form content"
290
+ }
291
+ ]
293
292
  },
294
293
  {
295
- "name": "open",
296
- "description": "Emitted when opening ActionSheet",
297
- "arguments": []
294
+ "name": "select-search",
295
+ "description": "Emitted when a search result is selected",
296
+ "arguments": [
297
+ {
298
+ "name": "value",
299
+ "type": "search content"
300
+ }
301
+ ]
298
302
  },
299
303
  {
300
- "name": "close",
301
- "description": "Emitted when closing ActionSheet",
304
+ "name": "click-area",
305
+ "description": "Emitted when the area field is clicked",
302
306
  "arguments": []
303
307
  },
304
308
  {
305
- "name": "opened",
306
- "description": "Emitted when ActionSheet is opened",
307
- "arguments": []
309
+ "name": "change-area",
310
+ "description": "Emitted when area changed",
311
+ "arguments": [
312
+ {
313
+ "name": "values",
314
+ "type": "area values"
315
+ }
316
+ ]
308
317
  },
309
318
  {
310
- "name": "closed",
311
- "description": "Emitted when ActionSheet is closed",
312
- "arguments": []
319
+ "name": "change-detail",
320
+ "description": "Emitted when address detail changed",
321
+ "arguments": [
322
+ {
323
+ "name": "value",
324
+ "type": "address detail"
325
+ }
326
+ ]
313
327
  },
314
328
  {
315
- "name": "click-overlay",
316
- "description": "Emitted when overlay is clicked",
329
+ "name": "change-default",
330
+ "description": "Emitted when switching default address",
317
331
  "arguments": [
318
332
  {
319
- "name": "event",
320
- "type": "MouseEvent"
333
+ "name": "value",
334
+ "type": "checked"
321
335
  }
322
336
  ]
323
337
  }
324
338
  ],
325
339
  "attributes": [
326
340
  {
327
- "name": "v-model:show",
328
- "default": "`false`",
329
- "description": "Whether to show ActionSheet",
341
+ "name": "area-list",
342
+ "default": "-",
343
+ "description": "Area List",
330
344
  "options": [],
331
345
  "value": {
332
- "type": "boolean",
346
+ "type": "object",
333
347
  "kind": "expression"
334
348
  }
335
349
  },
336
350
  {
337
- "name": "actions",
351
+ "name": "area-columns-placeholder",
338
352
  "default": "`[]`",
339
- "description": "Options",
353
+ "description": "placeholder of area columns",
340
354
  "options": [],
341
355
  "value": {
342
- "type": "ActionSheetAction[]",
356
+ "type": "string[]",
343
357
  "kind": "expression"
344
358
  }
345
359
  },
346
360
  {
347
- "name": "title",
348
- "default": "-",
349
- "description": "Title",
361
+ "name": "area-placeholder",
362
+ "default": "`Area`",
363
+ "description": "placeholder of area input field",
350
364
  "options": [],
351
365
  "value": {
352
366
  "type": "string",
@@ -354,29 +368,29 @@
354
368
  }
355
369
  },
356
370
  {
357
- "name": "cancel-text",
358
- "default": "-",
359
- "description": "Text of cancel button",
371
+ "name": "address-info",
372
+ "default": "`{}`",
373
+ "description": "Address Info",
360
374
  "options": [],
361
375
  "value": {
362
- "type": "string",
376
+ "type": "AddressEditInfo",
363
377
  "kind": "expression"
364
378
  }
365
379
  },
366
380
  {
367
- "name": "description",
368
- "default": "-",
369
- "description": "Description above the options",
381
+ "name": "search-result",
382
+ "default": "`[]`",
383
+ "description": "Address search result",
370
384
  "options": [],
371
385
  "value": {
372
- "type": "string",
386
+ "type": "AddressEditSearchItem[]",
373
387
  "kind": "expression"
374
388
  }
375
389
  },
376
390
  {
377
- "name": "closeable",
378
- "default": "`true`",
379
- "description": "Whether to show close icon",
391
+ "name": "show-postal",
392
+ "default": "`false`",
393
+ "description": "Whether to show postal field",
380
394
  "options": [],
381
395
  "value": {
382
396
  "type": "boolean",
@@ -384,29 +398,39 @@
384
398
  }
385
399
  },
386
400
  {
387
- "name": "close-icon",
388
- "default": "`cross`",
389
- "description": "Close icon name",
401
+ "name": "show-delete",
402
+ "default": "`false`",
403
+ "description": "Whether to show delete button",
390
404
  "options": [],
391
405
  "value": {
392
- "type": "string",
406
+ "type": "boolean",
393
407
  "kind": "expression"
394
408
  }
395
409
  },
396
410
  {
397
- "name": "duration",
398
- "default": "`0.3`",
399
- "description": "Transition duration, unit second",
411
+ "name": "show-set-default",
412
+ "default": "`false`",
413
+ "description": "Whether to show default address switch",
400
414
  "options": [],
401
415
  "value": {
402
- "type": "number | string",
416
+ "type": "boolean",
403
417
  "kind": "expression"
404
418
  }
405
419
  },
406
420
  {
407
- "name": "round",
421
+ "name": "show-search-result",
422
+ "default": "`false`",
423
+ "description": "Whether to show address search result",
424
+ "options": [],
425
+ "value": {
426
+ "type": "boolean",
427
+ "kind": "expression"
428
+ }
429
+ },
430
+ {
431
+ "name": "show-area",
408
432
  "default": "`true`",
409
- "description": "Whether to show round corner",
433
+ "description": "Whether to show area cell",
410
434
  "options": [],
411
435
  "value": {
412
436
  "type": "boolean",
@@ -414,9 +438,9 @@
414
438
  }
415
439
  },
416
440
  {
417
- "name": "overlay",
441
+ "name": "show-detail",
418
442
  "default": "`true`",
419
- "description": "Whether to show overlay",
443
+ "description": "Whether to show detail field",
420
444
  "options": [],
421
445
  "value": {
422
446
  "type": "boolean",
@@ -424,59 +448,59 @@
424
448
  }
425
449
  },
426
450
  {
427
- "name": "overlay-class",
428
- "default": "-",
429
- "description": "Custom overlay class",
451
+ "name": "disable-area",
452
+ "default": "`false`",
453
+ "description": "Whether to disable area select",
430
454
  "options": [],
431
455
  "value": {
432
- "type": "string | Array | object",
456
+ "type": "boolean",
433
457
  "kind": "expression"
434
458
  }
435
459
  },
436
460
  {
437
- "name": "overlay-style",
438
- "default": "-",
439
- "description": "Custom overlay style",
461
+ "name": "save-button-text",
462
+ "default": "`Save`",
463
+ "description": "Save button text",
440
464
  "options": [],
441
465
  "value": {
442
- "type": "object",
466
+ "type": "string",
443
467
  "kind": "expression"
444
468
  }
445
469
  },
446
470
  {
447
- "name": "lock-scroll",
448
- "default": "`true`",
449
- "description": "Whether to lock background scroll",
471
+ "name": "delete-button-text",
472
+ "default": "`Delete`",
473
+ "description": "Delete button text",
450
474
  "options": [],
451
475
  "value": {
452
- "type": "boolean",
476
+ "type": "string",
453
477
  "kind": "expression"
454
478
  }
455
479
  },
456
480
  {
457
- "name": "lazy-render",
458
- "default": "`true`",
459
- "description": "Whether to lazy render util appeared",
481
+ "name": "detail-rows",
482
+ "default": "`1`",
483
+ "description": "Detail input rows",
460
484
  "options": [],
461
485
  "value": {
462
- "type": "boolean",
486
+ "type": "number | string",
463
487
  "kind": "expression"
464
488
  }
465
489
  },
466
490
  {
467
- "name": "close-on-popstate",
468
- "default": "`true`",
469
- "description": "Whether to close when popstate",
491
+ "name": "detail-maxlength",
492
+ "default": "`200`",
493
+ "description": "Detail maxlength",
470
494
  "options": [],
471
495
  "value": {
472
- "type": "boolean",
496
+ "type": "number | string",
473
497
  "kind": "expression"
474
498
  }
475
499
  },
476
500
  {
477
- "name": "close-on-click-action",
501
+ "name": "is-saving",
478
502
  "default": "`false`",
479
- "description": "Whether to close when an action is clicked",
503
+ "description": "Whether to show save button loading status",
480
504
  "options": [],
481
505
  "value": {
482
506
  "type": "boolean",
@@ -484,9 +508,9 @@
484
508
  }
485
509
  },
486
510
  {
487
- "name": "close-on-click-overlay",
488
- "default": "`true`",
489
- "description": "Whether to close when overlay is clicked",
511
+ "name": "is-deleting",
512
+ "default": "`false`",
513
+ "description": "Whether to show delete button loading status",
490
514
  "options": [],
491
515
  "value": {
492
516
  "type": "boolean",
@@ -494,147 +518,143 @@
494
518
  }
495
519
  },
496
520
  {
497
- "name": "safe-area-inset-bottom",
498
- "default": "`true`",
499
- "description": "Whether to enable bottom safe area adaptation",
521
+ "name": "tel-validator",
522
+ "default": "-",
523
+ "description": "The method to validate tel",
500
524
  "options": [],
501
525
  "value": {
502
- "type": "boolean",
526
+ "type": "(tel: string) => boolean",
503
527
  "kind": "expression"
504
528
  }
505
529
  },
506
530
  {
507
- "name": "teleport",
531
+ "name": "tel-maxlength",
508
532
  "default": "-",
509
- "description": "Specifies a target element where ActionSheet will be mounted",
533
+ "description": "Tel maxlength",
510
534
  "options": [],
511
535
  "value": {
512
- "type": "string | Element",
536
+ "type": "number | string",
513
537
  "kind": "expression"
514
538
  }
515
539
  },
516
540
  {
517
- "name": "before-close",
541
+ "name": "postal-validator",
518
542
  "default": "-",
519
- "description": "Callback function before close",
543
+ "description": "The method to validate postal",
520
544
  "options": [],
521
545
  "value": {
522
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
546
+ "type": "(tel: string) => boolean",
547
+ "kind": "expression"
548
+ }
549
+ },
550
+ {
551
+ "name": "validator",
552
+ "default": "-",
553
+ "description": "Custom validator",
554
+ "options": [],
555
+ "value": {
556
+ "type": "(key, val) => string",
523
557
  "kind": "expression"
524
558
  }
525
559
  }
526
560
  ]
527
561
  },
528
562
  {
529
- "name": "van-address-edit",
563
+ "name": "van-action-sheet",
530
564
  "slots": [
531
565
  {
532
566
  "name": "default",
533
- "description": "Custom content below postal"
534
- }
535
- ],
536
- "events": [
567
+ "description": "Custom content"
568
+ },
537
569
  {
538
- "name": "save",
539
- "description": "Emitted when the save button is clicked",
540
- "arguments": [
541
- {
542
- "name": "content",
543
- "type": "form content"
544
- }
545
- ]
570
+ "name": "description",
571
+ "description": "Custom description above the options"
546
572
  },
547
573
  {
548
- "name": "focus",
549
- "description": "Emitted when field is focused",
550
- "arguments": [
551
- {
552
- "name": "key",
553
- "type": "field name"
554
- }
555
- ]
574
+ "name": "cancel",
575
+ "description": "Custom the content of cancel button"
556
576
  },
557
577
  {
558
- "name": "delete",
559
- "description": "Emitted when confirming delete",
578
+ "name": "action",
579
+ "description": "Custom the content of action"
580
+ }
581
+ ],
582
+ "events": [
583
+ {
584
+ "name": "select",
585
+ "description": "Emitted when an option is clicked",
560
586
  "arguments": [
561
587
  {
562
- "name": "content",
563
- "type": "form content"
588
+ "name": "action",
589
+ "type": "ActionSheetAction"
590
+ },
591
+ {
592
+ "name": "index",
593
+ "type": "number"
564
594
  }
565
595
  ]
566
596
  },
567
597
  {
568
- "name": "select-search",
569
- "description": "Emitted when a search result is selected",
570
- "arguments": [
571
- {
572
- "name": "value",
573
- "type": "search content"
574
- }
575
- ]
598
+ "name": "cancel",
599
+ "description": "Emitted when the cancel button is clicked",
600
+ "arguments": []
576
601
  },
577
602
  {
578
- "name": "click-area",
579
- "description": "Emitted when the area field is clicked",
603
+ "name": "open",
604
+ "description": "Emitted when opening ActionSheet",
580
605
  "arguments": []
581
606
  },
582
607
  {
583
- "name": "change-area",
584
- "description": "Emitted when area changed",
585
- "arguments": [
586
- {
587
- "name": "values",
588
- "type": "area values"
589
- }
590
- ]
608
+ "name": "close",
609
+ "description": "Emitted when closing ActionSheet",
610
+ "arguments": []
591
611
  },
592
612
  {
593
- "name": "change-detail",
594
- "description": "Emitted when address detail changed",
595
- "arguments": [
596
- {
597
- "name": "value",
598
- "type": "address detail"
599
- }
600
- ]
613
+ "name": "opened",
614
+ "description": "Emitted when ActionSheet is opened",
615
+ "arguments": []
601
616
  },
602
617
  {
603
- "name": "change-default",
604
- "description": "Emitted when switching default address",
618
+ "name": "closed",
619
+ "description": "Emitted when ActionSheet is closed",
620
+ "arguments": []
621
+ },
622
+ {
623
+ "name": "click-overlay",
624
+ "description": "Emitted when overlay is clicked",
605
625
  "arguments": [
606
626
  {
607
- "name": "value",
608
- "type": "checked"
627
+ "name": "event",
628
+ "type": "MouseEvent"
609
629
  }
610
630
  ]
611
631
  }
612
632
  ],
613
633
  "attributes": [
614
634
  {
615
- "name": "area-list",
616
- "default": "-",
617
- "description": "Area List",
635
+ "name": "v-model:show",
636
+ "default": "`false`",
637
+ "description": "Whether to show ActionSheet",
618
638
  "options": [],
619
639
  "value": {
620
- "type": "object",
640
+ "type": "boolean",
621
641
  "kind": "expression"
622
642
  }
623
643
  },
624
644
  {
625
- "name": "area-columns-placeholder",
645
+ "name": "actions",
626
646
  "default": "`[]`",
627
- "description": "placeholder of area columns",
647
+ "description": "Options",
628
648
  "options": [],
629
649
  "value": {
630
- "type": "string[]",
650
+ "type": "ActionSheetAction[]",
631
651
  "kind": "expression"
632
652
  }
633
653
  },
634
654
  {
635
- "name": "area-placeholder",
636
- "default": "`Area`",
637
- "description": "placeholder of area input field",
655
+ "name": "title",
656
+ "default": "-",
657
+ "description": "Title",
638
658
  "options": [],
639
659
  "value": {
640
660
  "type": "string",
@@ -642,29 +662,29 @@
642
662
  }
643
663
  },
644
664
  {
645
- "name": "address-info",
646
- "default": "`{}`",
647
- "description": "Address Info",
665
+ "name": "cancel-text",
666
+ "default": "-",
667
+ "description": "Text of cancel button",
648
668
  "options": [],
649
669
  "value": {
650
- "type": "AddressEditInfo",
670
+ "type": "string",
651
671
  "kind": "expression"
652
672
  }
653
673
  },
654
674
  {
655
- "name": "search-result",
656
- "default": "`[]`",
657
- "description": "Address search result",
675
+ "name": "description",
676
+ "default": "-",
677
+ "description": "Description above the options",
658
678
  "options": [],
659
679
  "value": {
660
- "type": "AddressEditSearchItem[]",
680
+ "type": "string",
661
681
  "kind": "expression"
662
682
  }
663
683
  },
664
684
  {
665
- "name": "show-postal",
666
- "default": "`false`",
667
- "description": "Whether to show postal field",
685
+ "name": "closeable",
686
+ "default": "`true`",
687
+ "description": "Whether to show close icon",
668
688
  "options": [],
669
689
  "value": {
670
690
  "type": "boolean",
@@ -672,9 +692,29 @@
672
692
  }
673
693
  },
674
694
  {
675
- "name": "show-delete",
676
- "default": "`false`",
677
- "description": "Whether to show delete button",
695
+ "name": "close-icon",
696
+ "default": "`cross`",
697
+ "description": "Close icon name",
698
+ "options": [],
699
+ "value": {
700
+ "type": "string",
701
+ "kind": "expression"
702
+ }
703
+ },
704
+ {
705
+ "name": "duration",
706
+ "default": "`0.3`",
707
+ "description": "Transition duration, unit second",
708
+ "options": [],
709
+ "value": {
710
+ "type": "number | string",
711
+ "kind": "expression"
712
+ }
713
+ },
714
+ {
715
+ "name": "round",
716
+ "default": "`true`",
717
+ "description": "Whether to show round corner",
678
718
  "options": [],
679
719
  "value": {
680
720
  "type": "boolean",
@@ -682,9 +722,9 @@
682
722
  }
683
723
  },
684
724
  {
685
- "name": "show-set-default",
686
- "default": "`false`",
687
- "description": "Whether to show default address switch",
725
+ "name": "overlay",
726
+ "default": "`true`",
727
+ "description": "Whether to show overlay",
688
728
  "options": [],
689
729
  "value": {
690
730
  "type": "boolean",
@@ -692,9 +732,29 @@
692
732
  }
693
733
  },
694
734
  {
695
- "name": "show-search-result",
696
- "default": "`false`",
697
- "description": "Whether to show address search result",
735
+ "name": "overlay-class",
736
+ "default": "-",
737
+ "description": "Custom overlay class",
738
+ "options": [],
739
+ "value": {
740
+ "type": "string | Array | object",
741
+ "kind": "expression"
742
+ }
743
+ },
744
+ {
745
+ "name": "overlay-style",
746
+ "default": "-",
747
+ "description": "Custom overlay style",
748
+ "options": [],
749
+ "value": {
750
+ "type": "object",
751
+ "kind": "expression"
752
+ }
753
+ },
754
+ {
755
+ "name": "lock-scroll",
756
+ "default": "`true`",
757
+ "description": "Whether to lock background scroll",
698
758
  "options": [],
699
759
  "value": {
700
760
  "type": "boolean",
@@ -702,9 +762,9 @@
702
762
  }
703
763
  },
704
764
  {
705
- "name": "show-area",
765
+ "name": "lazy-render",
706
766
  "default": "`true`",
707
- "description": "Whether to show area cell",
767
+ "description": "Whether to lazy render util appeared",
708
768
  "options": [],
709
769
  "value": {
710
770
  "type": "boolean",
@@ -712,9 +772,9 @@
712
772
  }
713
773
  },
714
774
  {
715
- "name": "show-detail",
775
+ "name": "close-on-popstate",
716
776
  "default": "`true`",
717
- "description": "Whether to show detail field",
777
+ "description": "Whether to close when popstate",
718
778
  "options": [],
719
779
  "value": {
720
780
  "type": "boolean",
@@ -722,9 +782,9 @@
722
782
  }
723
783
  },
724
784
  {
725
- "name": "disable-area",
785
+ "name": "close-on-click-action",
726
786
  "default": "`false`",
727
- "description": "Whether to disable area select",
787
+ "description": "Whether to close when an action is clicked",
728
788
  "options": [],
729
789
  "value": {
730
790
  "type": "boolean",
@@ -732,102 +792,212 @@
732
792
  }
733
793
  },
734
794
  {
735
- "name": "save-button-text",
736
- "default": "`Save`",
737
- "description": "Save button text",
795
+ "name": "close-on-click-overlay",
796
+ "default": "`true`",
797
+ "description": "Whether to close when overlay is clicked",
738
798
  "options": [],
739
799
  "value": {
740
- "type": "string",
800
+ "type": "boolean",
741
801
  "kind": "expression"
742
802
  }
743
803
  },
744
804
  {
745
- "name": "delete-button-text",
746
- "default": "`Delete`",
747
- "description": "Delete button text",
805
+ "name": "safe-area-inset-bottom",
806
+ "default": "`true`",
807
+ "description": "Whether to enable bottom safe area adaptation",
748
808
  "options": [],
749
809
  "value": {
750
- "type": "string",
810
+ "type": "boolean",
751
811
  "kind": "expression"
752
812
  }
753
813
  },
754
814
  {
755
- "name": "detail-rows",
756
- "default": "`1`",
757
- "description": "Detail input rows",
815
+ "name": "teleport",
816
+ "default": "-",
817
+ "description": "Specifies a target element where ActionSheet will be mounted",
758
818
  "options": [],
759
819
  "value": {
760
- "type": "number | string",
820
+ "type": "string | Element",
761
821
  "kind": "expression"
762
822
  }
763
823
  },
764
824
  {
765
- "name": "detail-maxlength",
766
- "default": "`200`",
767
- "description": "Detail maxlength",
825
+ "name": "before-close",
826
+ "default": "-",
827
+ "description": "Callback function before close",
768
828
  "options": [],
769
829
  "value": {
770
- "type": "number | string",
830
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
771
831
  "kind": "expression"
772
832
  }
833
+ }
834
+ ]
835
+ },
836
+ {
837
+ "name": "van-address-list",
838
+ "slots": [
839
+ {
840
+ "name": "default",
841
+ "description": "Custom content after list"
773
842
  },
774
843
  {
775
- "name": "is-saving",
776
- "default": "`false`",
777
- "description": "Whether to show save button loading status",
844
+ "name": "top",
845
+ "description": "Custom content before list"
846
+ },
847
+ {
848
+ "name": "item-bottom",
849
+ "description": "Custom content after list item"
850
+ },
851
+ {
852
+ "name": "tag",
853
+ "description": "Custom tag of list item"
854
+ }
855
+ ],
856
+ "events": [
857
+ {
858
+ "name": "add",
859
+ "description": "Emitted when the add button is clicked",
860
+ "arguments": []
861
+ },
862
+ {
863
+ "name": "edit",
864
+ "description": "Emitted when the edit icon of address is clicked",
865
+ "arguments": [
866
+ {
867
+ "name": "item",
868
+ "type": "Address"
869
+ },
870
+ {
871
+ "name": "index",
872
+ "type": "number"
873
+ }
874
+ ]
875
+ },
876
+ {
877
+ "name": "select",
878
+ "description": "Emitted when an address is selected",
879
+ "arguments": [
880
+ {
881
+ "name": "item",
882
+ "type": "Address"
883
+ },
884
+ {
885
+ "name": "index",
886
+ "type": "number"
887
+ }
888
+ ]
889
+ },
890
+ {
891
+ "name": "edit-disabled",
892
+ "description": "Emitted when the edit icon of disabled address is clicked",
893
+ "arguments": [
894
+ {
895
+ "name": "item",
896
+ "type": "Address"
897
+ },
898
+ {
899
+ "name": "index",
900
+ "type": "number"
901
+ }
902
+ ]
903
+ },
904
+ {
905
+ "name": "select-disabled",
906
+ "description": "Emitted when a disabled address is selected",
907
+ "arguments": [
908
+ {
909
+ "name": "item",
910
+ "type": "Address"
911
+ },
912
+ {
913
+ "name": "index",
914
+ "type": "number"
915
+ }
916
+ ]
917
+ },
918
+ {
919
+ "name": "click-item",
920
+ "description": "Emitted when an address item is clicked",
921
+ "arguments": [
922
+ {
923
+ "name": "item",
924
+ "type": "Address"
925
+ },
926
+ {
927
+ "name": "index",
928
+ "type": "number"
929
+ }
930
+ ]
931
+ }
932
+ ],
933
+ "attributes": [
934
+ {
935
+ "name": "v-model",
936
+ "default": "-",
937
+ "description": "Id of chosen address",
938
+ "options": [],
939
+ "value": {
940
+ "type": "string",
941
+ "kind": "expression"
942
+ }
943
+ },
944
+ {
945
+ "name": "list",
946
+ "default": "`[]`",
947
+ "description": "Address list",
778
948
  "options": [],
779
949
  "value": {
780
- "type": "boolean",
950
+ "type": "Address[]",
781
951
  "kind": "expression"
782
952
  }
783
953
  },
784
954
  {
785
- "name": "is-deleting",
786
- "default": "`false`",
787
- "description": "Whether to show delete button loading status",
955
+ "name": "disabled-list",
956
+ "default": "`[]`",
957
+ "description": "Disabled address list",
788
958
  "options": [],
789
959
  "value": {
790
- "type": "boolean",
960
+ "type": "Address[]",
791
961
  "kind": "expression"
792
962
  }
793
963
  },
794
964
  {
795
- "name": "tel-validator",
965
+ "name": "disabled-text",
796
966
  "default": "-",
797
- "description": "The method to validate tel",
967
+ "description": "Disabled text",
798
968
  "options": [],
799
969
  "value": {
800
- "type": "(tel: string) => boolean",
970
+ "type": "string",
801
971
  "kind": "expression"
802
972
  }
803
973
  },
804
974
  {
805
- "name": "tel-maxlength",
806
- "default": "-",
807
- "description": "Tel maxlength",
975
+ "name": "switchable",
976
+ "default": "`true`",
977
+ "description": "Whether to allow switch address",
808
978
  "options": [],
809
979
  "value": {
810
- "type": "number | string",
980
+ "type": "boolean",
811
981
  "kind": "expression"
812
982
  }
813
983
  },
814
984
  {
815
- "name": "postal-validator",
816
- "default": "-",
817
- "description": "The method to validate postal",
985
+ "name": "add-button-text",
986
+ "default": "`Add new address`",
987
+ "description": "Add button text",
818
988
  "options": [],
819
989
  "value": {
820
- "type": "(tel: string) => boolean",
990
+ "type": "string",
821
991
  "kind": "expression"
822
992
  }
823
993
  },
824
994
  {
825
- "name": "validator",
995
+ "name": "default-tag-text",
826
996
  "default": "-",
827
- "description": "Custom validator",
997
+ "description": "Default tag text",
828
998
  "options": [],
829
999
  "value": {
830
- "type": "(key, val) => string",
1000
+ "type": "string",
831
1001
  "kind": "expression"
832
1002
  }
833
1003
  }
@@ -1111,176 +1281,6 @@
1111
1281
  }
1112
1282
  ]
1113
1283
  },
1114
- {
1115
- "name": "van-address-list",
1116
- "slots": [
1117
- {
1118
- "name": "default",
1119
- "description": "Custom content after list"
1120
- },
1121
- {
1122
- "name": "top",
1123
- "description": "Custom content before list"
1124
- },
1125
- {
1126
- "name": "item-bottom",
1127
- "description": "Custom content after list item"
1128
- },
1129
- {
1130
- "name": "tag",
1131
- "description": "Custom tag of list item"
1132
- }
1133
- ],
1134
- "events": [
1135
- {
1136
- "name": "add",
1137
- "description": "Emitted when the add button is clicked",
1138
- "arguments": []
1139
- },
1140
- {
1141
- "name": "edit",
1142
- "description": "Emitted when the edit icon of address is clicked",
1143
- "arguments": [
1144
- {
1145
- "name": "item",
1146
- "type": "Address"
1147
- },
1148
- {
1149
- "name": "index",
1150
- "type": "number"
1151
- }
1152
- ]
1153
- },
1154
- {
1155
- "name": "select",
1156
- "description": "Emitted when an address is selected",
1157
- "arguments": [
1158
- {
1159
- "name": "item",
1160
- "type": "Address"
1161
- },
1162
- {
1163
- "name": "index",
1164
- "type": "number"
1165
- }
1166
- ]
1167
- },
1168
- {
1169
- "name": "edit-disabled",
1170
- "description": "Emitted when the edit icon of disabled address is clicked",
1171
- "arguments": [
1172
- {
1173
- "name": "item",
1174
- "type": "Address"
1175
- },
1176
- {
1177
- "name": "index",
1178
- "type": "number"
1179
- }
1180
- ]
1181
- },
1182
- {
1183
- "name": "select-disabled",
1184
- "description": "Emitted when a disabled address is selected",
1185
- "arguments": [
1186
- {
1187
- "name": "item",
1188
- "type": "Address"
1189
- },
1190
- {
1191
- "name": "index",
1192
- "type": "number"
1193
- }
1194
- ]
1195
- },
1196
- {
1197
- "name": "click-item",
1198
- "description": "Emitted when an address item is clicked",
1199
- "arguments": [
1200
- {
1201
- "name": "item",
1202
- "type": "Address"
1203
- },
1204
- {
1205
- "name": "index",
1206
- "type": "number"
1207
- }
1208
- ]
1209
- }
1210
- ],
1211
- "attributes": [
1212
- {
1213
- "name": "v-model",
1214
- "default": "-",
1215
- "description": "Id of chosen address",
1216
- "options": [],
1217
- "value": {
1218
- "type": "string",
1219
- "kind": "expression"
1220
- }
1221
- },
1222
- {
1223
- "name": "list",
1224
- "default": "`[]`",
1225
- "description": "Address list",
1226
- "options": [],
1227
- "value": {
1228
- "type": "Address[]",
1229
- "kind": "expression"
1230
- }
1231
- },
1232
- {
1233
- "name": "disabled-list",
1234
- "default": "`[]`",
1235
- "description": "Disabled address list",
1236
- "options": [],
1237
- "value": {
1238
- "type": "Address[]",
1239
- "kind": "expression"
1240
- }
1241
- },
1242
- {
1243
- "name": "disabled-text",
1244
- "default": "-",
1245
- "description": "Disabled text",
1246
- "options": [],
1247
- "value": {
1248
- "type": "string",
1249
- "kind": "expression"
1250
- }
1251
- },
1252
- {
1253
- "name": "switchable",
1254
- "default": "`true`",
1255
- "description": "Whether to allow switch address",
1256
- "options": [],
1257
- "value": {
1258
- "type": "boolean",
1259
- "kind": "expression"
1260
- }
1261
- },
1262
- {
1263
- "name": "add-button-text",
1264
- "default": "`Add new address`",
1265
- "description": "Add button text",
1266
- "options": [],
1267
- "value": {
1268
- "type": "string",
1269
- "kind": "expression"
1270
- }
1271
- },
1272
- {
1273
- "name": "default-tag-text",
1274
- "default": "-",
1275
- "description": "Default tag text",
1276
- "options": [],
1277
- "value": {
1278
- "type": "string",
1279
- "kind": "expression"
1280
- }
1281
- }
1282
- ]
1283
- },
1284
1284
  {
1285
1285
  "name": "van-button",
1286
1286
  "slots": [
@@ -4400,63 +4400,21 @@
4400
4400
  },
4401
4401
  {
4402
4402
  "name": "transition",
4403
- "default": "-",
4404
- "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
4405
- "options": [],
4406
- "value": {
4407
- "type": "string",
4408
- "kind": "expression"
4409
- }
4410
- },
4411
- {
4412
- "name": "teleport",
4413
- "default": "-",
4414
- "description": "Specifies a target element where Dialog will be mounted",
4415
- "options": [],
4416
- "value": {
4417
- "type": "string | Element",
4418
- "kind": "expression"
4419
- }
4420
- }
4421
- ]
4422
- },
4423
- {
4424
- "name": "van-divider",
4425
- "slots": [
4426
- {
4427
- "name": "default",
4428
- "description": "content"
4429
- }
4430
- ],
4431
- "events": [],
4432
- "attributes": [
4433
- {
4434
- "name": "dashed",
4435
- "default": "`false`",
4436
- "description": "Whether to use dashed border",
4437
- "options": [],
4438
- "value": {
4439
- "type": "boolean",
4440
- "kind": "expression"
4441
- }
4442
- },
4443
- {
4444
- "name": "hairline",
4445
- "default": "`true`",
4446
- "description": "Whether to use hairline",
4403
+ "default": "-",
4404
+ "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
4447
4405
  "options": [],
4448
4406
  "value": {
4449
- "type": "boolean",
4407
+ "type": "string",
4450
4408
  "kind": "expression"
4451
4409
  }
4452
4410
  },
4453
4411
  {
4454
- "name": "content-position",
4455
- "default": "`center`",
4456
- "description": "Content position, can be set to `left` `right`",
4412
+ "name": "teleport",
4413
+ "default": "-",
4414
+ "description": "Specifies a target element where Dialog will be mounted",
4457
4415
  "options": [],
4458
4416
  "value": {
4459
- "type": "string",
4417
+ "type": "string | Element",
4460
4418
  "kind": "expression"
4461
4419
  }
4462
4420
  }
@@ -4656,6 +4614,48 @@
4656
4614
  }
4657
4615
  ]
4658
4616
  },
4617
+ {
4618
+ "name": "van-divider",
4619
+ "slots": [
4620
+ {
4621
+ "name": "default",
4622
+ "description": "content"
4623
+ }
4624
+ ],
4625
+ "events": [],
4626
+ "attributes": [
4627
+ {
4628
+ "name": "dashed",
4629
+ "default": "`false`",
4630
+ "description": "Whether to use dashed border",
4631
+ "options": [],
4632
+ "value": {
4633
+ "type": "boolean",
4634
+ "kind": "expression"
4635
+ }
4636
+ },
4637
+ {
4638
+ "name": "hairline",
4639
+ "default": "`true`",
4640
+ "description": "Whether to use hairline",
4641
+ "options": [],
4642
+ "value": {
4643
+ "type": "boolean",
4644
+ "kind": "expression"
4645
+ }
4646
+ },
4647
+ {
4648
+ "name": "content-position",
4649
+ "default": "`center`",
4650
+ "description": "Content position, can be set to `left` `right`",
4651
+ "options": [],
4652
+ "value": {
4653
+ "type": "string",
4654
+ "kind": "expression"
4655
+ }
4656
+ }
4657
+ ]
4658
+ },
4659
4659
  {
4660
4660
  "name": "van-empty",
4661
4661
  "slots": [
@@ -5277,10 +5277,10 @@
5277
5277
  {
5278
5278
  "name": "validate-trigger",
5279
5279
  "default": "`onBlur`",
5280
- "description": "When to validate the form, can be set to `onChange`、`onSubmit`",
5280
+ "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
5281
5281
  "options": [],
5282
5282
  "value": {
5283
- "type": "string",
5283
+ "type": "string | string[]",
5284
5284
  "kind": "expression"
5285
5285
  }
5286
5286
  },
@@ -5601,220 +5601,29 @@
5601
5601
  {
5602
5602
  "name": "click",
5603
5603
  "description": "Emitted when icon is clicked",
5604
- "arguments": [
5605
- {
5606
- "name": "event",
5607
- "type": "MouseEvent"
5608
- }
5609
- ]
5610
- }
5611
- ],
5612
- "attributes": [
5613
- {
5614
- "name": "name",
5615
- "default": "`''`",
5616
- "description": "Icon name or URL",
5617
- "options": [],
5618
- "value": {
5619
- "type": "string",
5620
- "kind": "expression"
5621
- }
5622
- },
5623
- {
5624
- "name": "dot",
5625
- "default": "`false`",
5626
- "description": "Whether to show red dot",
5627
- "options": [],
5628
- "value": {
5629
- "type": "boolean",
5630
- "kind": "expression"
5631
- }
5632
- },
5633
- {
5634
- "name": "badge",
5635
- "default": "`''`",
5636
- "description": "Content of the badge",
5637
- "options": [],
5638
- "value": {
5639
- "type": "number | string",
5640
- "kind": "expression"
5641
- }
5642
- },
5643
- {
5644
- "name": "badge-props",
5645
- "default": "-",
5646
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
5647
- "options": [],
5648
- "value": {
5649
- "type": "BadgeProps",
5650
- "kind": "expression"
5651
- }
5652
- },
5653
- {
5654
- "name": "color",
5655
- "default": "`inherit`",
5656
- "description": "Icon color",
5657
- "options": [],
5658
- "value": {
5659
- "type": "string",
5660
- "kind": "expression"
5661
- }
5662
- },
5663
- {
5664
- "name": "size",
5665
- "default": "`inherit`",
5666
- "description": "Icon size",
5667
- "options": [],
5668
- "value": {
5669
- "type": "number | string",
5670
- "kind": "expression"
5671
- }
5672
- },
5673
- {
5674
- "name": "class-prefix",
5675
- "default": "`van-icon`",
5676
- "description": "ClassName prefix",
5677
- "options": [],
5678
- "value": {
5679
- "type": "string",
5680
- "kind": "expression"
5681
- }
5682
- },
5683
- {
5684
- "name": "tag",
5685
- "default": "`i`",
5686
- "description": "HTML Tag of root element",
5687
- "options": [],
5688
- "value": {
5689
- "type": "string",
5690
- "kind": "expression"
5691
- }
5692
- }
5693
- ]
5694
- },
5695
- {
5696
- "name": "van-image",
5697
- "slots": [
5698
- {
5699
- "name": "default",
5700
- "description": "Custom the content below the image"
5701
- },
5702
- {
5703
- "name": "loading",
5704
- "description": "Custom loading placeholder"
5705
- },
5706
- {
5707
- "name": "error",
5708
- "description": "Custom error placeholder"
5709
- }
5710
- ],
5711
- "events": [
5712
- {
5713
- "name": "click",
5714
- "description": "Emitted when image is clicked",
5715
- "arguments": [
5716
- {
5717
- "name": "event",
5718
- "type": "MouseEvent"
5719
- }
5720
- ]
5721
- },
5722
- {
5723
- "name": "load",
5724
- "description": "Emitted when image loaded",
5725
- "arguments": []
5726
- },
5727
- {
5728
- "name": "error",
5729
- "description": "Emitted when image load failed",
5730
- "arguments": []
5731
- }
5732
- ],
5733
- "attributes": [
5734
- {
5735
- "name": "src",
5736
- "default": "-",
5737
- "description": "Src",
5738
- "options": [],
5739
- "value": {
5740
- "type": "string",
5741
- "kind": "expression"
5742
- }
5743
- },
5744
- {
5745
- "name": "fit",
5746
- "default": "`fill`",
5747
- "description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)",
5748
- "options": [],
5749
- "value": {
5750
- "type": "string",
5751
- "kind": "expression"
5752
- }
5753
- },
5754
- {
5755
- "name": "position",
5756
- "default": "`center`",
5757
- "description": "Position, same as [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position), can be set to `top` `right` `bottom` `left` or `string`",
5758
- "options": [],
5759
- "value": {
5760
- "type": "string",
5761
- "kind": "expression"
5762
- }
5763
- },
5764
- {
5765
- "name": "alt",
5766
- "default": "-",
5767
- "description": "Alt",
5768
- "options": [],
5769
- "value": {
5770
- "type": "string",
5771
- "kind": "expression"
5772
- }
5773
- },
5774
- {
5775
- "name": "width",
5776
- "default": "-",
5777
- "description": "Width",
5778
- "options": [],
5779
- "value": {
5780
- "type": "number | string",
5781
- "kind": "expression"
5782
- }
5783
- },
5784
- {
5785
- "name": "height",
5786
- "default": "-",
5787
- "description": "Height",
5788
- "options": [],
5789
- "value": {
5790
- "type": "number | string",
5791
- "kind": "expression"
5792
- }
5793
- },
5794
- {
5795
- "name": "radius",
5796
- "default": "`0`",
5797
- "description": "Border Radius",
5798
- "options": [],
5799
- "value": {
5800
- "type": "number | string",
5801
- "kind": "expression"
5802
- }
5803
- },
5604
+ "arguments": [
5605
+ {
5606
+ "name": "event",
5607
+ "type": "MouseEvent"
5608
+ }
5609
+ ]
5610
+ }
5611
+ ],
5612
+ "attributes": [
5804
5613
  {
5805
- "name": "round",
5806
- "default": "`false`",
5807
- "description": "Whether to be round",
5614
+ "name": "name",
5615
+ "default": "`''`",
5616
+ "description": "Icon name or URL",
5808
5617
  "options": [],
5809
5618
  "value": {
5810
- "type": "boolean",
5619
+ "type": "string",
5811
5620
  "kind": "expression"
5812
5621
  }
5813
5622
  },
5814
5623
  {
5815
- "name": "lazy-load",
5624
+ "name": "dot",
5816
5625
  "default": "`false`",
5817
- "description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component",
5626
+ "description": "Whether to show red dot",
5818
5627
  "options": [],
5819
5628
  "value": {
5820
5629
  "type": "boolean",
@@ -5822,29 +5631,29 @@
5822
5631
  }
5823
5632
  },
5824
5633
  {
5825
- "name": "show-error",
5826
- "default": "`true`",
5827
- "description": "Whether to show error placeholder",
5634
+ "name": "badge",
5635
+ "default": "`''`",
5636
+ "description": "Content of the badge",
5828
5637
  "options": [],
5829
5638
  "value": {
5830
- "type": "boolean",
5639
+ "type": "number | string",
5831
5640
  "kind": "expression"
5832
5641
  }
5833
5642
  },
5834
5643
  {
5835
- "name": "show-loading",
5836
- "default": "`true`",
5837
- "description": "Whether to show loading placeholder",
5644
+ "name": "badge-props",
5645
+ "default": "-",
5646
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
5838
5647
  "options": [],
5839
5648
  "value": {
5840
- "type": "boolean",
5649
+ "type": "BadgeProps",
5841
5650
  "kind": "expression"
5842
5651
  }
5843
5652
  },
5844
5653
  {
5845
- "name": "error-icon",
5846
- "default": "`photo-fail`",
5847
- "description": "Error icon",
5654
+ "name": "color",
5655
+ "default": "`inherit`",
5656
+ "description": "Icon color",
5848
5657
  "options": [],
5849
5658
  "value": {
5850
5659
  "type": "string",
@@ -5852,29 +5661,29 @@
5852
5661
  }
5853
5662
  },
5854
5663
  {
5855
- "name": "loading-icon",
5856
- "default": "`photo`",
5857
- "description": "Loading icon",
5664
+ "name": "size",
5665
+ "default": "`inherit`",
5666
+ "description": "Icon size",
5858
5667
  "options": [],
5859
5668
  "value": {
5860
- "type": "string",
5669
+ "type": "number | string",
5861
5670
  "kind": "expression"
5862
5671
  }
5863
5672
  },
5864
5673
  {
5865
- "name": "icon-size",
5866
- "default": "`32px`",
5867
- "description": "Icon size",
5674
+ "name": "class-prefix",
5675
+ "default": "`van-icon`",
5676
+ "description": "ClassName prefix",
5868
5677
  "options": [],
5869
5678
  "value": {
5870
- "type": "number | string",
5679
+ "type": "string",
5871
5680
  "kind": "expression"
5872
5681
  }
5873
5682
  },
5874
5683
  {
5875
- "name": "icon-prefix",
5876
- "default": "`van-icon`",
5877
- "description": "Icon className prefix",
5684
+ "name": "tag",
5685
+ "default": "`i`",
5686
+ "description": "HTML Tag of root element",
5878
5687
  "options": [],
5879
5688
  "value": {
5880
5689
  "type": "string",
@@ -6094,9 +5903,200 @@
6094
5903
  }
6095
5904
  },
6096
5905
  {
6097
- "name": "transition",
6098
- "default": "`van-fade`",
6099
- "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
5906
+ "name": "transition",
5907
+ "default": "`van-fade`",
5908
+ "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
5909
+ "options": [],
5910
+ "value": {
5911
+ "type": "string",
5912
+ "kind": "expression"
5913
+ }
5914
+ },
5915
+ {
5916
+ "name": "overlay-class",
5917
+ "default": "-",
5918
+ "description": "Custom overlay class",
5919
+ "options": [],
5920
+ "value": {
5921
+ "type": "string | Array | object",
5922
+ "kind": "expression"
5923
+ }
5924
+ },
5925
+ {
5926
+ "name": "overlay-style",
5927
+ "default": "-",
5928
+ "description": "Custom overlay style",
5929
+ "options": [],
5930
+ "value": {
5931
+ "type": "object",
5932
+ "kind": "expression"
5933
+ }
5934
+ },
5935
+ {
5936
+ "name": "teleport",
5937
+ "default": "-",
5938
+ "description": "Specifies a target element where ImagePreview will be mounted",
5939
+ "options": [],
5940
+ "value": {
5941
+ "type": "string | Element",
5942
+ "kind": "expression"
5943
+ }
5944
+ }
5945
+ ]
5946
+ },
5947
+ {
5948
+ "name": "van-image",
5949
+ "slots": [
5950
+ {
5951
+ "name": "default",
5952
+ "description": "Custom the content below the image"
5953
+ },
5954
+ {
5955
+ "name": "loading",
5956
+ "description": "Custom loading placeholder"
5957
+ },
5958
+ {
5959
+ "name": "error",
5960
+ "description": "Custom error placeholder"
5961
+ }
5962
+ ],
5963
+ "events": [
5964
+ {
5965
+ "name": "click",
5966
+ "description": "Emitted when image is clicked",
5967
+ "arguments": [
5968
+ {
5969
+ "name": "event",
5970
+ "type": "MouseEvent"
5971
+ }
5972
+ ]
5973
+ },
5974
+ {
5975
+ "name": "load",
5976
+ "description": "Emitted when image loaded",
5977
+ "arguments": []
5978
+ },
5979
+ {
5980
+ "name": "error",
5981
+ "description": "Emitted when image load failed",
5982
+ "arguments": []
5983
+ }
5984
+ ],
5985
+ "attributes": [
5986
+ {
5987
+ "name": "src",
5988
+ "default": "-",
5989
+ "description": "Src",
5990
+ "options": [],
5991
+ "value": {
5992
+ "type": "string",
5993
+ "kind": "expression"
5994
+ }
5995
+ },
5996
+ {
5997
+ "name": "fit",
5998
+ "default": "`fill`",
5999
+ "description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)",
6000
+ "options": [],
6001
+ "value": {
6002
+ "type": "string",
6003
+ "kind": "expression"
6004
+ }
6005
+ },
6006
+ {
6007
+ "name": "position",
6008
+ "default": "`center`",
6009
+ "description": "Position, same as [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position), can be set to `top` `right` `bottom` `left` or `string`",
6010
+ "options": [],
6011
+ "value": {
6012
+ "type": "string",
6013
+ "kind": "expression"
6014
+ }
6015
+ },
6016
+ {
6017
+ "name": "alt",
6018
+ "default": "-",
6019
+ "description": "Alt",
6020
+ "options": [],
6021
+ "value": {
6022
+ "type": "string",
6023
+ "kind": "expression"
6024
+ }
6025
+ },
6026
+ {
6027
+ "name": "width",
6028
+ "default": "-",
6029
+ "description": "Width",
6030
+ "options": [],
6031
+ "value": {
6032
+ "type": "number | string",
6033
+ "kind": "expression"
6034
+ }
6035
+ },
6036
+ {
6037
+ "name": "height",
6038
+ "default": "-",
6039
+ "description": "Height",
6040
+ "options": [],
6041
+ "value": {
6042
+ "type": "number | string",
6043
+ "kind": "expression"
6044
+ }
6045
+ },
6046
+ {
6047
+ "name": "radius",
6048
+ "default": "`0`",
6049
+ "description": "Border Radius",
6050
+ "options": [],
6051
+ "value": {
6052
+ "type": "number | string",
6053
+ "kind": "expression"
6054
+ }
6055
+ },
6056
+ {
6057
+ "name": "round",
6058
+ "default": "`false`",
6059
+ "description": "Whether to be round",
6060
+ "options": [],
6061
+ "value": {
6062
+ "type": "boolean",
6063
+ "kind": "expression"
6064
+ }
6065
+ },
6066
+ {
6067
+ "name": "lazy-load",
6068
+ "default": "`false`",
6069
+ "description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component",
6070
+ "options": [],
6071
+ "value": {
6072
+ "type": "boolean",
6073
+ "kind": "expression"
6074
+ }
6075
+ },
6076
+ {
6077
+ "name": "show-error",
6078
+ "default": "`true`",
6079
+ "description": "Whether to show error placeholder",
6080
+ "options": [],
6081
+ "value": {
6082
+ "type": "boolean",
6083
+ "kind": "expression"
6084
+ }
6085
+ },
6086
+ {
6087
+ "name": "show-loading",
6088
+ "default": "`true`",
6089
+ "description": "Whether to show loading placeholder",
6090
+ "options": [],
6091
+ "value": {
6092
+ "type": "boolean",
6093
+ "kind": "expression"
6094
+ }
6095
+ },
6096
+ {
6097
+ "name": "error-icon",
6098
+ "default": "`photo-fail`",
6099
+ "description": "Error icon",
6100
6100
  "options": [],
6101
6101
  "value": {
6102
6102
  "type": "string",
@@ -6104,32 +6104,32 @@
6104
6104
  }
6105
6105
  },
6106
6106
  {
6107
- "name": "overlay-class",
6108
- "default": "-",
6109
- "description": "Custom overlay class",
6107
+ "name": "loading-icon",
6108
+ "default": "`photo`",
6109
+ "description": "Loading icon",
6110
6110
  "options": [],
6111
6111
  "value": {
6112
- "type": "string | Array | object",
6112
+ "type": "string",
6113
6113
  "kind": "expression"
6114
6114
  }
6115
6115
  },
6116
6116
  {
6117
- "name": "overlay-style",
6118
- "default": "-",
6119
- "description": "Custom overlay style",
6117
+ "name": "icon-size",
6118
+ "default": "`32px`",
6119
+ "description": "Icon size",
6120
6120
  "options": [],
6121
6121
  "value": {
6122
- "type": "object",
6122
+ "type": "number | string",
6123
6123
  "kind": "expression"
6124
6124
  }
6125
6125
  },
6126
6126
  {
6127
- "name": "teleport",
6128
- "default": "-",
6129
- "description": "Specifies a target element where ImagePreview will be mounted",
6127
+ "name": "icon-prefix",
6128
+ "default": "`van-icon`",
6129
+ "description": "Icon className prefix",
6130
6130
  "options": [],
6131
6131
  "value": {
6132
- "type": "string | Element",
6132
+ "type": "string",
6133
6133
  "kind": "expression"
6134
6134
  }
6135
6135
  }
@@ -7315,289 +7315,64 @@
7315
7315
  "description": "custom columns field",
7316
7316
  "options": [],
7317
7317
  "value": {
7318
- "type": "object",
7319
- "kind": "expression"
7320
- }
7321
- },
7322
- {
7323
- "name": "title",
7324
- "default": "-",
7325
- "description": "Toolbar title",
7326
- "options": [],
7327
- "value": {
7328
- "type": "string",
7329
- "kind": "expression"
7330
- }
7331
- },
7332
- {
7333
- "name": "confirm-button-text",
7334
- "default": "`Confirm`",
7335
- "description": "Text of confirm button",
7336
- "options": [],
7337
- "value": {
7338
- "type": "string",
7339
- "kind": "expression"
7340
- }
7341
- },
7342
- {
7343
- "name": "cancel-button-text",
7344
- "default": "`Cancel`",
7345
- "description": "Text of cancel button",
7346
- "options": [],
7347
- "value": {
7348
- "type": "string",
7349
- "kind": "expression"
7350
- }
7351
- },
7352
- {
7353
- "name": "toolbar-position",
7354
- "default": "`top`",
7355
- "description": "Toolbar position, cat be set to `bottom`",
7356
- "options": [],
7357
- "value": {
7358
- "type": "string",
7359
- "kind": "expression"
7360
- }
7361
- },
7362
- {
7363
- "name": "loading",
7364
- "default": "`false`",
7365
- "description": "Whether to show loading prompt",
7366
- "options": [],
7367
- "value": {
7368
- "type": "boolean",
7369
- "kind": "expression"
7370
- }
7371
- },
7372
- {
7373
- "name": "show-toolbar",
7374
- "default": "`true`",
7375
- "description": "Whether to show toolbar",
7376
- "options": [],
7377
- "value": {
7378
- "type": "boolean",
7379
- "kind": "expression"
7380
- }
7381
- },
7382
- {
7383
- "name": "allow-html",
7384
- "default": "`false`",
7385
- "description": "Whether to allow HTML in option text",
7386
- "options": [],
7387
- "value": {
7388
- "type": "boolean",
7389
- "kind": "expression"
7390
- }
7391
- },
7392
- {
7393
- "name": "default-index",
7394
- "default": "`0`",
7395
- "description": "Default value index of single column picker",
7396
- "options": [],
7397
- "value": {
7398
- "type": "number | string",
7399
- "kind": "expression"
7400
- }
7401
- },
7402
- {
7403
- "name": "item-height",
7404
- "default": "`44`",
7405
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
7406
- "options": [],
7407
- "value": {
7408
- "type": "number | string",
7409
- "kind": "expression"
7410
- }
7411
- },
7412
- {
7413
- "name": "visible-item-count",
7414
- "default": "`6`",
7415
- "description": "Count of visible columns",
7416
- "options": [],
7417
- "value": {
7418
- "type": "number | string",
7419
- "kind": "expression"
7420
- }
7421
- },
7422
- {
7423
- "name": "swipe-duration",
7424
- "default": "`1000`",
7425
- "description": "Duration of the momentum animation, unit `ms`",
7426
- "options": [],
7427
- "value": {
7428
- "type": "number | string",
7429
- "kind": "expression"
7430
- }
7431
- }
7432
- ]
7433
- },
7434
- {
7435
- "name": "van-popover",
7436
- "slots": [
7437
- {
7438
- "name": "default",
7439
- "description": "Custom content"
7440
- },
7441
- {
7442
- "name": "reference",
7443
- "description": "Reference Element"
7444
- },
7445
- {
7446
- "name": "action",
7447
- "description": "Custom the content of option"
7448
- }
7449
- ],
7450
- "events": [
7451
- {
7452
- "name": "select",
7453
- "description": "Emitted when an action is clicked",
7454
- "arguments": [
7455
- {
7456
- "name": "action",
7457
- "type": "PopoverAction"
7458
- },
7459
- {
7460
- "name": "index",
7461
- "type": "number"
7462
- }
7463
- ]
7464
- },
7465
- {
7466
- "name": "open",
7467
- "description": "Emitted when opening Popover",
7468
- "arguments": []
7469
- },
7470
- {
7471
- "name": "close",
7472
- "description": "Emitted when closing Popover",
7473
- "arguments": []
7474
- },
7475
- {
7476
- "name": "opened",
7477
- "description": "Emitted when Popover is opened",
7478
- "arguments": []
7479
- },
7480
- {
7481
- "name": "closed",
7482
- "description": "Emitted when Popover is closed",
7483
- "arguments": []
7484
- },
7485
- {
7486
- "name": "click-overlay",
7487
- "description": "Emitted when overlay is clicked",
7488
- "arguments": [
7489
- {
7490
- "name": "event",
7491
- "type": "MouseEvent"
7492
- }
7493
- ]
7494
- }
7495
- ],
7496
- "attributes": [
7497
- {
7498
- "name": "v-model:show",
7499
- "default": "`false`",
7500
- "description": "Whether to show Popover",
7501
- "options": [],
7502
- "value": {
7503
- "type": "boolean",
7504
- "kind": "expression"
7505
- }
7506
- },
7507
- {
7508
- "name": "actions",
7509
- "default": "`[]`",
7510
- "description": "Actions",
7511
- "options": [],
7512
- "value": {
7513
- "type": "PopoverAction[]",
7514
- "kind": "expression"
7515
- }
7516
- },
7517
- {
7518
- "name": "placement",
7519
- "default": "`bottom`",
7520
- "description": "Placement",
7521
- "options": [],
7522
- "value": {
7523
- "type": "PopoverPlacement",
7524
- "kind": "expression"
7525
- }
7526
- },
7527
- {
7528
- "name": "theme",
7529
- "default": "`light`",
7530
- "description": "Theme, can be set to `dark`",
7531
- "options": [],
7532
- "value": {
7533
- "type": "PopoverTheme",
7534
- "kind": "expression"
7535
- }
7536
- },
7537
- {
7538
- "name": "trigger",
7539
- "default": "`click`",
7540
- "description": "Trigger mode, can be set to `manual`",
7541
- "options": [],
7542
- "value": {
7543
- "type": "PopoverTrigger",
7318
+ "type": "object",
7544
7319
  "kind": "expression"
7545
7320
  }
7546
7321
  },
7547
7322
  {
7548
- "name": "duration",
7549
- "default": "`0.3`",
7550
- "description": "Transition duration, unit second",
7323
+ "name": "title",
7324
+ "default": "-",
7325
+ "description": "Toolbar title",
7551
7326
  "options": [],
7552
7327
  "value": {
7553
- "type": "number | string",
7328
+ "type": "string",
7554
7329
  "kind": "expression"
7555
7330
  }
7556
7331
  },
7557
7332
  {
7558
- "name": "offset",
7559
- "default": "`[0, 8]`",
7560
- "description": "Distance to reference",
7333
+ "name": "confirm-button-text",
7334
+ "default": "`Confirm`",
7335
+ "description": "Text of confirm button",
7561
7336
  "options": [],
7562
7337
  "value": {
7563
- "type": "[number, number]",
7338
+ "type": "string",
7564
7339
  "kind": "expression"
7565
7340
  }
7566
7341
  },
7567
7342
  {
7568
- "name": "overlay",
7569
- "default": "`false`",
7570
- "description": "Whether to show overlay",
7343
+ "name": "cancel-button-text",
7344
+ "default": "`Cancel`",
7345
+ "description": "Text of cancel button",
7571
7346
  "options": [],
7572
7347
  "value": {
7573
- "type": "boolean",
7348
+ "type": "string",
7574
7349
  "kind": "expression"
7575
7350
  }
7576
7351
  },
7577
7352
  {
7578
- "name": "overlay-class",
7579
- "default": "-",
7580
- "description": "Custom overlay class",
7353
+ "name": "toolbar-position",
7354
+ "default": "`top`",
7355
+ "description": "Toolbar position, cat be set to `bottom`",
7581
7356
  "options": [],
7582
7357
  "value": {
7583
- "type": "string | Array | object",
7358
+ "type": "string",
7584
7359
  "kind": "expression"
7585
7360
  }
7586
7361
  },
7587
7362
  {
7588
- "name": "overlay-style",
7589
- "default": "-",
7590
- "description": "Custom overlay style",
7363
+ "name": "loading",
7364
+ "default": "`false`",
7365
+ "description": "Whether to show loading prompt",
7591
7366
  "options": [],
7592
7367
  "value": {
7593
- "type": "object",
7368
+ "type": "boolean",
7594
7369
  "kind": "expression"
7595
7370
  }
7596
7371
  },
7597
7372
  {
7598
- "name": "show-arrow",
7373
+ "name": "show-toolbar",
7599
7374
  "default": "`true`",
7600
- "description": "Whether to show arrow",
7375
+ "description": "Whether to show toolbar",
7601
7376
  "options": [],
7602
7377
  "value": {
7603
7378
  "type": "boolean",
@@ -7605,9 +7380,9 @@
7605
7380
  }
7606
7381
  },
7607
7382
  {
7608
- "name": "close-on-click-action",
7609
- "default": "`true`",
7610
- "description": "Whether to close when clicking action",
7383
+ "name": "allow-html",
7384
+ "default": "`false`",
7385
+ "description": "Whether to allow HTML in option text",
7611
7386
  "options": [],
7612
7387
  "value": {
7613
7388
  "type": "boolean",
@@ -7615,42 +7390,42 @@
7615
7390
  }
7616
7391
  },
7617
7392
  {
7618
- "name": "close-on-click-outside",
7619
- "default": "`true`",
7620
- "description": "Whether to close when clicking outside",
7393
+ "name": "default-index",
7394
+ "default": "`0`",
7395
+ "description": "Default value index of single column picker",
7621
7396
  "options": [],
7622
7397
  "value": {
7623
- "type": "boolean",
7398
+ "type": "number | string",
7624
7399
  "kind": "expression"
7625
7400
  }
7626
7401
  },
7627
7402
  {
7628
- "name": "close-on-click-overlay",
7629
- "default": "`true`",
7630
- "description": "Whether to close when clicking overlay",
7403
+ "name": "item-height",
7404
+ "default": "`44`",
7405
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
7631
7406
  "options": [],
7632
7407
  "value": {
7633
- "type": "boolean",
7408
+ "type": "number | string",
7634
7409
  "kind": "expression"
7635
7410
  }
7636
7411
  },
7637
7412
  {
7638
- "name": "teleport",
7639
- "default": "`body`",
7640
- "description": "Specifies a target element where Popover will be mounted",
7413
+ "name": "visible-item-count",
7414
+ "default": "`6`",
7415
+ "description": "Count of visible columns",
7641
7416
  "options": [],
7642
7417
  "value": {
7643
- "type": "string | Element",
7418
+ "type": "number | string",
7644
7419
  "kind": "expression"
7645
7420
  }
7646
7421
  },
7647
7422
  {
7648
- "name": "icon-prefix",
7649
- "default": "`van-icon`",
7650
- "description": "Icon className prefix",
7423
+ "name": "swipe-duration",
7424
+ "default": "`1000`",
7425
+ "description": "Duration of the momentum animation, unit `ms`",
7651
7426
  "options": [],
7652
7427
  "value": {
7653
- "type": "string",
7428
+ "type": "number | string",
7654
7429
  "kind": "expression"
7655
7430
  }
7656
7431
  }
@@ -7832,69 +7607,244 @@
7832
7607
  }
7833
7608
  },
7834
7609
  {
7835
- "name": "closeable",
7836
- "default": "`false`",
7837
- "description": "Whether to show close icon",
7610
+ "name": "closeable",
7611
+ "default": "`false`",
7612
+ "description": "Whether to show close icon",
7613
+ "options": [],
7614
+ "value": {
7615
+ "type": "boolean",
7616
+ "kind": "expression"
7617
+ }
7618
+ },
7619
+ {
7620
+ "name": "close-icon",
7621
+ "default": "`cross`",
7622
+ "description": "Close icon name",
7623
+ "options": [],
7624
+ "value": {
7625
+ "type": "string",
7626
+ "kind": "expression"
7627
+ }
7628
+ },
7629
+ {
7630
+ "name": "close-icon-position",
7631
+ "default": "`top-right`",
7632
+ "description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
7633
+ "options": [],
7634
+ "value": {
7635
+ "type": "string",
7636
+ "kind": "expression"
7637
+ }
7638
+ },
7639
+ {
7640
+ "name": "before-close",
7641
+ "default": "-",
7642
+ "description": "Callback function before close",
7643
+ "options": [],
7644
+ "value": {
7645
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
7646
+ "kind": "expression"
7647
+ }
7648
+ },
7649
+ {
7650
+ "name": "icon-prefix",
7651
+ "default": "`van-icon`",
7652
+ "description": "Icon className prefix",
7653
+ "options": [],
7654
+ "value": {
7655
+ "type": "string",
7656
+ "kind": "expression"
7657
+ }
7658
+ },
7659
+ {
7660
+ "name": "transition",
7661
+ "default": "-",
7662
+ "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
7663
+ "options": [],
7664
+ "value": {
7665
+ "type": "string",
7666
+ "kind": "expression"
7667
+ }
7668
+ },
7669
+ {
7670
+ "name": "transition-appear",
7671
+ "default": "`false`",
7672
+ "description": "Whether to apply transition on initial render",
7673
+ "options": [],
7674
+ "value": {
7675
+ "type": "boolean",
7676
+ "kind": "expression"
7677
+ }
7678
+ },
7679
+ {
7680
+ "name": "teleport",
7681
+ "default": "-",
7682
+ "description": "Specifies a target element where Popup will be mounted",
7683
+ "options": [],
7684
+ "value": {
7685
+ "type": "string | Element",
7686
+ "kind": "expression"
7687
+ }
7688
+ },
7689
+ {
7690
+ "name": "safe-area-inset-top",
7691
+ "default": "`false`",
7692
+ "description": "Whether to enable top safe area adaptation",
7693
+ "options": [],
7694
+ "value": {
7695
+ "type": "boolean",
7696
+ "kind": "expression"
7697
+ }
7698
+ },
7699
+ {
7700
+ "name": "safe-area-inset-bottom",
7701
+ "default": "`false`",
7702
+ "description": "Whether to enable bottom safe area adaptation",
7703
+ "options": [],
7704
+ "value": {
7705
+ "type": "boolean",
7706
+ "kind": "expression"
7707
+ }
7708
+ }
7709
+ ]
7710
+ },
7711
+ {
7712
+ "name": "van-popover",
7713
+ "slots": [
7714
+ {
7715
+ "name": "default",
7716
+ "description": "Custom content"
7717
+ },
7718
+ {
7719
+ "name": "reference",
7720
+ "description": "Reference Element"
7721
+ },
7722
+ {
7723
+ "name": "action",
7724
+ "description": "Custom the content of option"
7725
+ }
7726
+ ],
7727
+ "events": [
7728
+ {
7729
+ "name": "select",
7730
+ "description": "Emitted when an action is clicked",
7731
+ "arguments": [
7732
+ {
7733
+ "name": "action",
7734
+ "type": "PopoverAction"
7735
+ },
7736
+ {
7737
+ "name": "index",
7738
+ "type": "number"
7739
+ }
7740
+ ]
7741
+ },
7742
+ {
7743
+ "name": "open",
7744
+ "description": "Emitted when opening Popover",
7745
+ "arguments": []
7746
+ },
7747
+ {
7748
+ "name": "close",
7749
+ "description": "Emitted when closing Popover",
7750
+ "arguments": []
7751
+ },
7752
+ {
7753
+ "name": "opened",
7754
+ "description": "Emitted when Popover is opened",
7755
+ "arguments": []
7756
+ },
7757
+ {
7758
+ "name": "closed",
7759
+ "description": "Emitted when Popover is closed",
7760
+ "arguments": []
7761
+ },
7762
+ {
7763
+ "name": "click-overlay",
7764
+ "description": "Emitted when overlay is clicked",
7765
+ "arguments": [
7766
+ {
7767
+ "name": "event",
7768
+ "type": "MouseEvent"
7769
+ }
7770
+ ]
7771
+ }
7772
+ ],
7773
+ "attributes": [
7774
+ {
7775
+ "name": "v-model:show",
7776
+ "default": "`false`",
7777
+ "description": "Whether to show Popover",
7778
+ "options": [],
7779
+ "value": {
7780
+ "type": "boolean",
7781
+ "kind": "expression"
7782
+ }
7783
+ },
7784
+ {
7785
+ "name": "actions",
7786
+ "default": "`[]`",
7787
+ "description": "Actions",
7838
7788
  "options": [],
7839
7789
  "value": {
7840
- "type": "boolean",
7790
+ "type": "PopoverAction[]",
7841
7791
  "kind": "expression"
7842
7792
  }
7843
7793
  },
7844
7794
  {
7845
- "name": "close-icon",
7846
- "default": "`cross`",
7847
- "description": "Close icon name",
7795
+ "name": "placement",
7796
+ "default": "`bottom`",
7797
+ "description": "Placement",
7848
7798
  "options": [],
7849
7799
  "value": {
7850
- "type": "string",
7800
+ "type": "PopoverPlacement",
7851
7801
  "kind": "expression"
7852
7802
  }
7853
7803
  },
7854
7804
  {
7855
- "name": "close-icon-position",
7856
- "default": "`top-right`",
7857
- "description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
7805
+ "name": "theme",
7806
+ "default": "`light`",
7807
+ "description": "Theme, can be set to `dark`",
7858
7808
  "options": [],
7859
7809
  "value": {
7860
- "type": "string",
7810
+ "type": "PopoverTheme",
7861
7811
  "kind": "expression"
7862
7812
  }
7863
7813
  },
7864
7814
  {
7865
- "name": "before-close",
7866
- "default": "-",
7867
- "description": "Callback function before close",
7815
+ "name": "trigger",
7816
+ "default": "`click`",
7817
+ "description": "Trigger mode, can be set to `manual`",
7868
7818
  "options": [],
7869
7819
  "value": {
7870
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
7820
+ "type": "PopoverTrigger",
7871
7821
  "kind": "expression"
7872
7822
  }
7873
7823
  },
7874
7824
  {
7875
- "name": "icon-prefix",
7876
- "default": "`van-icon`",
7877
- "description": "Icon className prefix",
7825
+ "name": "duration",
7826
+ "default": "`0.3`",
7827
+ "description": "Transition duration, unit second",
7878
7828
  "options": [],
7879
7829
  "value": {
7880
- "type": "string",
7830
+ "type": "number | string",
7881
7831
  "kind": "expression"
7882
7832
  }
7883
7833
  },
7884
7834
  {
7885
- "name": "transition",
7886
- "default": "-",
7887
- "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
7835
+ "name": "offset",
7836
+ "default": "`[0, 8]`",
7837
+ "description": "Distance to reference",
7888
7838
  "options": [],
7889
7839
  "value": {
7890
- "type": "string",
7840
+ "type": "[number, number]",
7891
7841
  "kind": "expression"
7892
7842
  }
7893
7843
  },
7894
7844
  {
7895
- "name": "transition-appear",
7845
+ "name": "overlay",
7896
7846
  "default": "`false`",
7897
- "description": "Whether to apply transition on initial render",
7847
+ "description": "Whether to show overlay",
7898
7848
  "options": [],
7899
7849
  "value": {
7900
7850
  "type": "boolean",
@@ -7902,131 +7852,84 @@
7902
7852
  }
7903
7853
  },
7904
7854
  {
7905
- "name": "teleport",
7855
+ "name": "overlay-class",
7906
7856
  "default": "-",
7907
- "description": "Specifies a target element where Popup will be mounted",
7857
+ "description": "Custom overlay class",
7908
7858
  "options": [],
7909
7859
  "value": {
7910
- "type": "string | Element",
7860
+ "type": "string | Array | object",
7911
7861
  "kind": "expression"
7912
7862
  }
7913
7863
  },
7914
7864
  {
7915
- "name": "safe-area-inset-top",
7916
- "default": "`false`",
7917
- "description": "Whether to enable top safe area adaptation",
7865
+ "name": "overlay-style",
7866
+ "default": "-",
7867
+ "description": "Custom overlay style",
7918
7868
  "options": [],
7919
7869
  "value": {
7920
- "type": "boolean",
7870
+ "type": "object",
7921
7871
  "kind": "expression"
7922
7872
  }
7923
7873
  },
7924
7874
  {
7925
- "name": "safe-area-inset-bottom",
7926
- "default": "`false`",
7927
- "description": "Whether to enable bottom safe area adaptation",
7875
+ "name": "show-arrow",
7876
+ "default": "`true`",
7877
+ "description": "Whether to show arrow",
7928
7878
  "options": [],
7929
7879
  "value": {
7930
7880
  "type": "boolean",
7931
7881
  "kind": "expression"
7932
7882
  }
7933
- }
7934
- ]
7935
- },
7936
- {
7937
- "name": "van-progress",
7938
- "slots": [],
7939
- "events": [],
7940
- "attributes": [
7941
- {
7942
- "name": "percentage",
7943
- "default": "`0`",
7944
- "description": "Percentage",
7945
- "options": [],
7946
- "value": {
7947
- "type": "number | string",
7948
- "kind": "expression"
7949
- }
7950
- },
7951
- {
7952
- "name": "stroke-width",
7953
- "default": "`4px`",
7954
- "description": "Stroke width",
7955
- "options": [],
7956
- "value": {
7957
- "type": "number | string",
7958
- "kind": "expression"
7959
- }
7960
7883
  },
7961
7884
  {
7962
- "name": "color",
7963
- "default": "`#1989fa`",
7964
- "description": "Color",
7885
+ "name": "close-on-click-action",
7886
+ "default": "`true`",
7887
+ "description": "Whether to close when clicking action",
7965
7888
  "options": [],
7966
7889
  "value": {
7967
- "type": "string",
7890
+ "type": "boolean",
7968
7891
  "kind": "expression"
7969
7892
  }
7970
7893
  },
7971
7894
  {
7972
- "name": "track-color",
7973
- "default": "`#e5e5e5`",
7974
- "description": "Track color",
7895
+ "name": "close-on-click-outside",
7896
+ "default": "`true`",
7897
+ "description": "Whether to close when clicking outside",
7975
7898
  "options": [],
7976
7899
  "value": {
7977
- "type": "string",
7900
+ "type": "boolean",
7978
7901
  "kind": "expression"
7979
7902
  }
7980
7903
  },
7981
7904
  {
7982
- "name": "pivot-text",
7983
- "default": "percentage",
7984
- "description": "Pivot text",
7905
+ "name": "close-on-click-overlay",
7906
+ "default": "`true`",
7907
+ "description": "Whether to close when clicking overlay",
7985
7908
  "options": [],
7986
7909
  "value": {
7987
- "type": "string",
7910
+ "type": "boolean",
7988
7911
  "kind": "expression"
7989
7912
  }
7990
7913
  },
7991
7914
  {
7992
- "name": "pivot-color",
7993
- "default": "inherit progress color",
7994
- "description": "Pivot text background color",
7915
+ "name": "teleport",
7916
+ "default": "`body`",
7917
+ "description": "Specifies a target element where Popover will be mounted",
7995
7918
  "options": [],
7996
7919
  "value": {
7997
- "type": "string",
7920
+ "type": "string | Element",
7998
7921
  "kind": "expression"
7999
7922
  }
8000
7923
  },
8001
7924
  {
8002
- "name": "text-color",
8003
- "default": "`white`",
8004
- "description": "Pivot text color",
7925
+ "name": "icon-prefix",
7926
+ "default": "`van-icon`",
7927
+ "description": "Icon className prefix",
8005
7928
  "options": [],
8006
7929
  "value": {
8007
7930
  "type": "string",
8008
7931
  "kind": "expression"
8009
7932
  }
8010
- },
8011
- {
8012
- "name": "inactive",
8013
- "default": "`false`",
8014
- "description": "Whether to be gray",
8015
- "options": [],
8016
- "value": {
8017
- "type": "boolean",
8018
- "kind": "expression"
8019
- }
8020
- },
8021
- {
8022
- "name": "show-pivot",
8023
- "default": "`true`",
8024
- "description": "Whether to show text",
8025
- "options": [],
8026
- "value": {
8027
- "type": "boolean",
8028
- "kind": "expression"
8029
- }
8030
7933
  }
8031
7934
  ]
8032
7935
  },
@@ -8168,6 +8071,103 @@
8168
8071
  }
8169
8072
  ]
8170
8073
  },
8074
+ {
8075
+ "name": "van-progress",
8076
+ "slots": [],
8077
+ "events": [],
8078
+ "attributes": [
8079
+ {
8080
+ "name": "percentage",
8081
+ "default": "`0`",
8082
+ "description": "Percentage",
8083
+ "options": [],
8084
+ "value": {
8085
+ "type": "number | string",
8086
+ "kind": "expression"
8087
+ }
8088
+ },
8089
+ {
8090
+ "name": "stroke-width",
8091
+ "default": "`4px`",
8092
+ "description": "Stroke width",
8093
+ "options": [],
8094
+ "value": {
8095
+ "type": "number | string",
8096
+ "kind": "expression"
8097
+ }
8098
+ },
8099
+ {
8100
+ "name": "color",
8101
+ "default": "`#1989fa`",
8102
+ "description": "Color",
8103
+ "options": [],
8104
+ "value": {
8105
+ "type": "string",
8106
+ "kind": "expression"
8107
+ }
8108
+ },
8109
+ {
8110
+ "name": "track-color",
8111
+ "default": "`#e5e5e5`",
8112
+ "description": "Track color",
8113
+ "options": [],
8114
+ "value": {
8115
+ "type": "string",
8116
+ "kind": "expression"
8117
+ }
8118
+ },
8119
+ {
8120
+ "name": "pivot-text",
8121
+ "default": "percentage",
8122
+ "description": "Pivot text",
8123
+ "options": [],
8124
+ "value": {
8125
+ "type": "string",
8126
+ "kind": "expression"
8127
+ }
8128
+ },
8129
+ {
8130
+ "name": "pivot-color",
8131
+ "default": "inherit progress color",
8132
+ "description": "Pivot text background color",
8133
+ "options": [],
8134
+ "value": {
8135
+ "type": "string",
8136
+ "kind": "expression"
8137
+ }
8138
+ },
8139
+ {
8140
+ "name": "text-color",
8141
+ "default": "`white`",
8142
+ "description": "Pivot text color",
8143
+ "options": [],
8144
+ "value": {
8145
+ "type": "string",
8146
+ "kind": "expression"
8147
+ }
8148
+ },
8149
+ {
8150
+ "name": "inactive",
8151
+ "default": "`false`",
8152
+ "description": "Whether to be gray",
8153
+ "options": [],
8154
+ "value": {
8155
+ "type": "boolean",
8156
+ "kind": "expression"
8157
+ }
8158
+ },
8159
+ {
8160
+ "name": "show-pivot",
8161
+ "default": "`true`",
8162
+ "description": "Whether to show text",
8163
+ "options": [],
8164
+ "value": {
8165
+ "type": "boolean",
8166
+ "kind": "expression"
8167
+ }
8168
+ }
8169
+ ]
8170
+ },
8171
8171
  {
8172
8172
  "name": "van-radio",
8173
8173
  "slots": [