vant 3.5.0 → 3.5.1

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.
@@ -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.5.0",
5
+ "version": "3.5.1",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -252,115 +252,101 @@
252
252
  ]
253
253
  },
254
254
  {
255
- "name": "van-address-edit",
255
+ "name": "van-action-sheet",
256
256
  "slots": [
257
257
  {
258
258
  "name": "default",
259
- "description": "Custom content below postal"
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"
260
272
  }
261
273
  ],
262
274
  "events": [
263
275
  {
264
- "name": "save",
265
- "description": "Emitted when the save button is clicked",
276
+ "name": "select",
277
+ "description": "Emitted when an option is clicked",
266
278
  "arguments": [
267
279
  {
268
- "name": "content",
269
- "type": "form content"
270
- }
271
- ]
272
- },
273
- {
274
- "name": "focus",
275
- "description": "Emitted when field is focused",
276
- "arguments": [
280
+ "name": "action",
281
+ "type": "ActionSheetAction"
282
+ },
277
283
  {
278
- "name": "key",
279
- "type": "field name"
284
+ "name": "index",
285
+ "type": "number"
280
286
  }
281
287
  ]
282
288
  },
283
289
  {
284
- "name": "delete",
285
- "description": "Emitted when confirming delete",
286
- "arguments": [
287
- {
288
- "name": "content",
289
- "type": "form content"
290
- }
291
- ]
290
+ "name": "cancel",
291
+ "description": "Emitted when the cancel button is clicked",
292
+ "arguments": []
292
293
  },
293
294
  {
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
- ]
295
+ "name": "open",
296
+ "description": "Emitted when opening ActionSheet",
297
+ "arguments": []
302
298
  },
303
299
  {
304
- "name": "click-area",
305
- "description": "Emitted when the area field is clicked",
300
+ "name": "close",
301
+ "description": "Emitted when closing ActionSheet",
306
302
  "arguments": []
307
303
  },
308
304
  {
309
- "name": "change-area",
310
- "description": "Emitted when area changed",
311
- "arguments": [
312
- {
313
- "name": "values",
314
- "type": "area values"
315
- }
316
- ]
305
+ "name": "opened",
306
+ "description": "Emitted when ActionSheet is opened",
307
+ "arguments": []
317
308
  },
318
309
  {
319
- "name": "change-detail",
320
- "description": "Emitted when address detail changed",
321
- "arguments": [
322
- {
323
- "name": "value",
324
- "type": "address detail"
325
- }
326
- ]
310
+ "name": "closed",
311
+ "description": "Emitted when ActionSheet is closed",
312
+ "arguments": []
327
313
  },
328
314
  {
329
- "name": "change-default",
330
- "description": "Emitted when switching default address",
315
+ "name": "click-overlay",
316
+ "description": "Emitted when overlay is clicked",
331
317
  "arguments": [
332
318
  {
333
- "name": "value",
334
- "type": "checked"
319
+ "name": "event",
320
+ "type": "MouseEvent"
335
321
  }
336
322
  ]
337
323
  }
338
324
  ],
339
325
  "attributes": [
340
326
  {
341
- "name": "area-list",
342
- "default": "-",
343
- "description": "Area List",
327
+ "name": "v-model:show",
328
+ "default": "`false`",
329
+ "description": "Whether to show ActionSheet",
344
330
  "options": [],
345
331
  "value": {
346
- "type": "object",
332
+ "type": "boolean",
347
333
  "kind": "expression"
348
334
  }
349
335
  },
350
336
  {
351
- "name": "area-columns-placeholder",
337
+ "name": "actions",
352
338
  "default": "`[]`",
353
- "description": "placeholder of area columns",
339
+ "description": "Options",
354
340
  "options": [],
355
341
  "value": {
356
- "type": "string[]",
342
+ "type": "ActionSheetAction[]",
357
343
  "kind": "expression"
358
344
  }
359
345
  },
360
346
  {
361
- "name": "area-placeholder",
362
- "default": "`Area`",
363
- "description": "placeholder of area input field",
347
+ "name": "title",
348
+ "default": "-",
349
+ "description": "Title",
364
350
  "options": [],
365
351
  "value": {
366
352
  "type": "string",
@@ -368,39 +354,29 @@
368
354
  }
369
355
  },
370
356
  {
371
- "name": "address-info",
372
- "default": "`{}`",
373
- "description": "Address Info",
374
- "options": [],
375
- "value": {
376
- "type": "AddressEditInfo",
377
- "kind": "expression"
378
- }
379
- },
380
- {
381
- "name": "search-result",
382
- "default": "`[]`",
383
- "description": "Address search result",
357
+ "name": "cancel-text",
358
+ "default": "-",
359
+ "description": "Text of cancel button",
384
360
  "options": [],
385
361
  "value": {
386
- "type": "AddressEditSearchItem[]",
362
+ "type": "string",
387
363
  "kind": "expression"
388
364
  }
389
365
  },
390
366
  {
391
- "name": "show-postal",
392
- "default": "`false`",
393
- "description": "Whether to show postal field",
367
+ "name": "description",
368
+ "default": "-",
369
+ "description": "Description above the options",
394
370
  "options": [],
395
371
  "value": {
396
- "type": "boolean",
372
+ "type": "string",
397
373
  "kind": "expression"
398
374
  }
399
375
  },
400
376
  {
401
- "name": "show-delete",
402
- "default": "`false`",
403
- "description": "Whether to show delete button",
377
+ "name": "closeable",
378
+ "default": "`true`",
379
+ "description": "Whether to show close icon",
404
380
  "options": [],
405
381
  "value": {
406
382
  "type": "boolean",
@@ -408,29 +384,29 @@
408
384
  }
409
385
  },
410
386
  {
411
- "name": "show-set-default",
412
- "default": "`false`",
413
- "description": "Whether to show default address switch",
387
+ "name": "close-icon",
388
+ "default": "`cross`",
389
+ "description": "Close icon name",
414
390
  "options": [],
415
391
  "value": {
416
- "type": "boolean",
392
+ "type": "string",
417
393
  "kind": "expression"
418
394
  }
419
395
  },
420
396
  {
421
- "name": "show-search-result",
422
- "default": "`false`",
423
- "description": "Whether to show address search result",
397
+ "name": "duration",
398
+ "default": "`0.3`",
399
+ "description": "Transition duration, unit second",
424
400
  "options": [],
425
401
  "value": {
426
- "type": "boolean",
402
+ "type": "number | string",
427
403
  "kind": "expression"
428
404
  }
429
405
  },
430
406
  {
431
- "name": "show-area",
407
+ "name": "round",
432
408
  "default": "`true`",
433
- "description": "Whether to show area cell",
409
+ "description": "Whether to show round corner",
434
410
  "options": [],
435
411
  "value": {
436
412
  "type": "boolean",
@@ -438,19 +414,9 @@
438
414
  }
439
415
  },
440
416
  {
441
- "name": "show-detail",
417
+ "name": "overlay",
442
418
  "default": "`true`",
443
- "description": "Whether to show detail field",
444
- "options": [],
445
- "value": {
446
- "type": "boolean",
447
- "kind": "expression"
448
- }
449
- },
450
- {
451
- "name": "disable-area",
452
- "default": "`false`",
453
- "description": "Whether to disable area select",
419
+ "description": "Whether to show overlay",
454
420
  "options": [],
455
421
  "value": {
456
422
  "type": "boolean",
@@ -458,49 +424,49 @@
458
424
  }
459
425
  },
460
426
  {
461
- "name": "save-button-text",
462
- "default": "`Save`",
463
- "description": "Save button text",
427
+ "name": "overlay-class",
428
+ "default": "-",
429
+ "description": "Custom overlay class",
464
430
  "options": [],
465
431
  "value": {
466
- "type": "string",
432
+ "type": "string | Array | object",
467
433
  "kind": "expression"
468
434
  }
469
435
  },
470
436
  {
471
- "name": "delete-button-text",
472
- "default": "`Delete`",
473
- "description": "Delete button text",
437
+ "name": "overlay-style",
438
+ "default": "-",
439
+ "description": "Custom overlay style",
474
440
  "options": [],
475
441
  "value": {
476
- "type": "string",
442
+ "type": "object",
477
443
  "kind": "expression"
478
444
  }
479
445
  },
480
446
  {
481
- "name": "detail-rows",
482
- "default": "`1`",
483
- "description": "Detail input rows",
447
+ "name": "lock-scroll",
448
+ "default": "`true`",
449
+ "description": "Whether to lock background scroll",
484
450
  "options": [],
485
451
  "value": {
486
- "type": "number | string",
452
+ "type": "boolean",
487
453
  "kind": "expression"
488
454
  }
489
455
  },
490
456
  {
491
- "name": "detail-maxlength",
492
- "default": "`200`",
493
- "description": "Detail maxlength",
457
+ "name": "lazy-render",
458
+ "default": "`true`",
459
+ "description": "Whether to lazy render util appeared",
494
460
  "options": [],
495
461
  "value": {
496
- "type": "number | string",
462
+ "type": "boolean",
497
463
  "kind": "expression"
498
464
  }
499
465
  },
500
466
  {
501
- "name": "is-saving",
502
- "default": "`false`",
503
- "description": "Whether to show save button loading status",
467
+ "name": "close-on-popstate",
468
+ "default": "`true`",
469
+ "description": "Whether to close when popstate",
504
470
  "options": [],
505
471
  "value": {
506
472
  "type": "boolean",
@@ -508,9 +474,9 @@
508
474
  }
509
475
  },
510
476
  {
511
- "name": "is-deleting",
477
+ "name": "close-on-click-action",
512
478
  "default": "`false`",
513
- "description": "Whether to show delete button loading status",
479
+ "description": "Whether to close when an action is clicked",
514
480
  "options": [],
515
481
  "value": {
516
482
  "type": "boolean",
@@ -518,143 +484,157 @@
518
484
  }
519
485
  },
520
486
  {
521
- "name": "tel-validator",
522
- "default": "-",
523
- "description": "The method to validate tel",
487
+ "name": "close-on-click-overlay",
488
+ "default": "`true`",
489
+ "description": "Whether to close when overlay is clicked",
524
490
  "options": [],
525
491
  "value": {
526
- "type": "(tel: string) => boolean",
492
+ "type": "boolean",
527
493
  "kind": "expression"
528
494
  }
529
495
  },
530
496
  {
531
- "name": "tel-maxlength",
532
- "default": "-",
533
- "description": "Tel maxlength",
497
+ "name": "safe-area-inset-bottom",
498
+ "default": "`true`",
499
+ "description": "Whether to enable bottom safe area adaptation",
534
500
  "options": [],
535
501
  "value": {
536
- "type": "number | string",
502
+ "type": "boolean",
537
503
  "kind": "expression"
538
504
  }
539
505
  },
540
506
  {
541
- "name": "postal-validator",
507
+ "name": "teleport",
542
508
  "default": "-",
543
- "description": "The method to validate postal",
509
+ "description": "Specifies a target element where ActionSheet will be mounted",
544
510
  "options": [],
545
511
  "value": {
546
- "type": "(tel: string) => boolean",
512
+ "type": "string | Element",
547
513
  "kind": "expression"
548
514
  }
549
515
  },
550
516
  {
551
- "name": "validator",
517
+ "name": "before-close",
552
518
  "default": "-",
553
- "description": "Custom validator",
519
+ "description": "Callback function before close",
554
520
  "options": [],
555
521
  "value": {
556
- "type": "(key, val) => string",
522
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
557
523
  "kind": "expression"
558
524
  }
559
525
  }
560
526
  ]
561
527
  },
562
528
  {
563
- "name": "van-action-sheet",
529
+ "name": "van-address-edit",
564
530
  "slots": [
565
531
  {
566
532
  "name": "default",
567
- "description": "Custom content"
568
- },
533
+ "description": "Custom content below postal"
534
+ }
535
+ ],
536
+ "events": [
569
537
  {
570
- "name": "description",
571
- "description": "Custom description above the options"
572
- },
573
- {
574
- "name": "cancel",
575
- "description": "Custom the content of cancel button"
538
+ "name": "save",
539
+ "description": "Emitted when the save button is clicked",
540
+ "arguments": [
541
+ {
542
+ "name": "content",
543
+ "type": "form content"
544
+ }
545
+ ]
576
546
  },
577
547
  {
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",
548
+ "name": "focus",
549
+ "description": "Emitted when field is focused",
586
550
  "arguments": [
587
551
  {
588
- "name": "action",
589
- "type": "ActionSheetAction"
590
- },
591
- {
592
- "name": "index",
593
- "type": "number"
552
+ "name": "key",
553
+ "type": "field name"
594
554
  }
595
555
  ]
596
556
  },
597
557
  {
598
- "name": "cancel",
599
- "description": "Emitted when the cancel button is clicked",
600
- "arguments": []
558
+ "name": "delete",
559
+ "description": "Emitted when confirming delete",
560
+ "arguments": [
561
+ {
562
+ "name": "content",
563
+ "type": "form content"
564
+ }
565
+ ]
601
566
  },
602
567
  {
603
- "name": "open",
604
- "description": "Emitted when opening ActionSheet",
605
- "arguments": []
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
+ ]
606
576
  },
607
577
  {
608
- "name": "close",
609
- "description": "Emitted when closing ActionSheet",
578
+ "name": "click-area",
579
+ "description": "Emitted when the area field is clicked",
610
580
  "arguments": []
611
581
  },
612
582
  {
613
- "name": "opened",
614
- "description": "Emitted when ActionSheet is opened",
615
- "arguments": []
583
+ "name": "change-area",
584
+ "description": "Emitted when area changed",
585
+ "arguments": [
586
+ {
587
+ "name": "values",
588
+ "type": "area values"
589
+ }
590
+ ]
616
591
  },
617
592
  {
618
- "name": "closed",
619
- "description": "Emitted when ActionSheet is closed",
620
- "arguments": []
593
+ "name": "change-detail",
594
+ "description": "Emitted when address detail changed",
595
+ "arguments": [
596
+ {
597
+ "name": "value",
598
+ "type": "address detail"
599
+ }
600
+ ]
621
601
  },
622
602
  {
623
- "name": "click-overlay",
624
- "description": "Emitted when overlay is clicked",
603
+ "name": "change-default",
604
+ "description": "Emitted when switching default address",
625
605
  "arguments": [
626
606
  {
627
- "name": "event",
628
- "type": "MouseEvent"
607
+ "name": "value",
608
+ "type": "checked"
629
609
  }
630
610
  ]
631
611
  }
632
612
  ],
633
613
  "attributes": [
634
614
  {
635
- "name": "v-model:show",
636
- "default": "`false`",
637
- "description": "Whether to show ActionSheet",
615
+ "name": "area-list",
616
+ "default": "-",
617
+ "description": "Area List",
638
618
  "options": [],
639
619
  "value": {
640
- "type": "boolean",
620
+ "type": "object",
641
621
  "kind": "expression"
642
622
  }
643
623
  },
644
624
  {
645
- "name": "actions",
625
+ "name": "area-columns-placeholder",
646
626
  "default": "`[]`",
647
- "description": "Options",
627
+ "description": "placeholder of area columns",
648
628
  "options": [],
649
629
  "value": {
650
- "type": "ActionSheetAction[]",
630
+ "type": "string[]",
651
631
  "kind": "expression"
652
632
  }
653
633
  },
654
634
  {
655
- "name": "title",
656
- "default": "-",
657
- "description": "Title",
635
+ "name": "area-placeholder",
636
+ "default": "`Area`",
637
+ "description": "placeholder of area input field",
658
638
  "options": [],
659
639
  "value": {
660
640
  "type": "string",
@@ -662,29 +642,29 @@
662
642
  }
663
643
  },
664
644
  {
665
- "name": "cancel-text",
666
- "default": "-",
667
- "description": "Text of cancel button",
645
+ "name": "address-info",
646
+ "default": "`{}`",
647
+ "description": "Address Info",
668
648
  "options": [],
669
649
  "value": {
670
- "type": "string",
650
+ "type": "AddressEditInfo",
671
651
  "kind": "expression"
672
652
  }
673
653
  },
674
654
  {
675
- "name": "description",
676
- "default": "-",
677
- "description": "Description above the options",
655
+ "name": "search-result",
656
+ "default": "`[]`",
657
+ "description": "Address search result",
678
658
  "options": [],
679
659
  "value": {
680
- "type": "string",
660
+ "type": "AddressEditSearchItem[]",
681
661
  "kind": "expression"
682
662
  }
683
663
  },
684
664
  {
685
- "name": "closeable",
686
- "default": "`true`",
687
- "description": "Whether to show close icon",
665
+ "name": "show-postal",
666
+ "default": "`false`",
667
+ "description": "Whether to show postal field",
688
668
  "options": [],
689
669
  "value": {
690
670
  "type": "boolean",
@@ -692,29 +672,39 @@
692
672
  }
693
673
  },
694
674
  {
695
- "name": "close-icon",
696
- "default": "`cross`",
697
- "description": "Close icon name",
675
+ "name": "show-delete",
676
+ "default": "`false`",
677
+ "description": "Whether to show delete button",
698
678
  "options": [],
699
679
  "value": {
700
- "type": "string",
680
+ "type": "boolean",
701
681
  "kind": "expression"
702
682
  }
703
683
  },
704
684
  {
705
- "name": "duration",
706
- "default": "`0.3`",
707
- "description": "Transition duration, unit second",
685
+ "name": "show-set-default",
686
+ "default": "`false`",
687
+ "description": "Whether to show default address switch",
708
688
  "options": [],
709
689
  "value": {
710
- "type": "number | string",
690
+ "type": "boolean",
711
691
  "kind": "expression"
712
692
  }
713
693
  },
714
694
  {
715
- "name": "round",
695
+ "name": "show-search-result",
696
+ "default": "`false`",
697
+ "description": "Whether to show address search result",
698
+ "options": [],
699
+ "value": {
700
+ "type": "boolean",
701
+ "kind": "expression"
702
+ }
703
+ },
704
+ {
705
+ "name": "show-area",
716
706
  "default": "`true`",
717
- "description": "Whether to show round corner",
707
+ "description": "Whether to show area cell",
718
708
  "options": [],
719
709
  "value": {
720
710
  "type": "boolean",
@@ -722,9 +712,9 @@
722
712
  }
723
713
  },
724
714
  {
725
- "name": "overlay",
715
+ "name": "show-detail",
726
716
  "default": "`true`",
727
- "description": "Whether to show overlay",
717
+ "description": "Whether to show detail field",
728
718
  "options": [],
729
719
  "value": {
730
720
  "type": "boolean",
@@ -732,59 +722,59 @@
732
722
  }
733
723
  },
734
724
  {
735
- "name": "overlay-class",
736
- "default": "-",
737
- "description": "Custom overlay class",
725
+ "name": "disable-area",
726
+ "default": "`false`",
727
+ "description": "Whether to disable area select",
738
728
  "options": [],
739
729
  "value": {
740
- "type": "string | Array | object",
730
+ "type": "boolean",
741
731
  "kind": "expression"
742
732
  }
743
733
  },
744
734
  {
745
- "name": "overlay-style",
746
- "default": "-",
747
- "description": "Custom overlay style",
735
+ "name": "save-button-text",
736
+ "default": "`Save`",
737
+ "description": "Save button text",
748
738
  "options": [],
749
739
  "value": {
750
- "type": "object",
740
+ "type": "string",
751
741
  "kind": "expression"
752
742
  }
753
743
  },
754
744
  {
755
- "name": "lock-scroll",
756
- "default": "`true`",
757
- "description": "Whether to lock background scroll",
745
+ "name": "delete-button-text",
746
+ "default": "`Delete`",
747
+ "description": "Delete button text",
758
748
  "options": [],
759
749
  "value": {
760
- "type": "boolean",
750
+ "type": "string",
761
751
  "kind": "expression"
762
752
  }
763
753
  },
764
754
  {
765
- "name": "lazy-render",
766
- "default": "`true`",
767
- "description": "Whether to lazy render util appeared",
755
+ "name": "detail-rows",
756
+ "default": "`1`",
757
+ "description": "Detail input rows",
768
758
  "options": [],
769
759
  "value": {
770
- "type": "boolean",
760
+ "type": "number | string",
771
761
  "kind": "expression"
772
762
  }
773
763
  },
774
764
  {
775
- "name": "close-on-popstate",
776
- "default": "`true`",
777
- "description": "Whether to close when popstate",
765
+ "name": "detail-maxlength",
766
+ "default": "`200`",
767
+ "description": "Detail maxlength",
778
768
  "options": [],
779
769
  "value": {
780
- "type": "boolean",
770
+ "type": "number | string",
781
771
  "kind": "expression"
782
772
  }
783
773
  },
784
774
  {
785
- "name": "close-on-click-action",
775
+ "name": "is-saving",
786
776
  "default": "`false`",
787
- "description": "Whether to close when an action is clicked",
777
+ "description": "Whether to show save button loading status",
788
778
  "options": [],
789
779
  "value": {
790
780
  "type": "boolean",
@@ -792,9 +782,9 @@
792
782
  }
793
783
  },
794
784
  {
795
- "name": "close-on-click-overlay",
796
- "default": "`true`",
797
- "description": "Whether to close when overlay is clicked",
785
+ "name": "is-deleting",
786
+ "default": "`false`",
787
+ "description": "Whether to show delete button loading status",
798
788
  "options": [],
799
789
  "value": {
800
790
  "type": "boolean",
@@ -802,131 +792,75 @@
802
792
  }
803
793
  },
804
794
  {
805
- "name": "safe-area-inset-bottom",
806
- "default": "`true`",
807
- "description": "Whether to enable bottom safe area adaptation",
795
+ "name": "tel-validator",
796
+ "default": "-",
797
+ "description": "The method to validate tel",
808
798
  "options": [],
809
799
  "value": {
810
- "type": "boolean",
800
+ "type": "(tel: string) => boolean",
811
801
  "kind": "expression"
812
802
  }
813
803
  },
814
804
  {
815
- "name": "teleport",
805
+ "name": "tel-maxlength",
816
806
  "default": "-",
817
- "description": "Specifies a target element where ActionSheet will be mounted",
807
+ "description": "Tel maxlength",
818
808
  "options": [],
819
809
  "value": {
820
- "type": "string | Element",
810
+ "type": "number | string",
821
811
  "kind": "expression"
822
812
  }
823
813
  },
824
814
  {
825
- "name": "before-close",
815
+ "name": "postal-validator",
826
816
  "default": "-",
827
- "description": "Callback function before close",
817
+ "description": "The method to validate postal",
828
818
  "options": [],
829
819
  "value": {
830
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
820
+ "type": "(tel: string) => boolean",
821
+ "kind": "expression"
822
+ }
823
+ },
824
+ {
825
+ "name": "validator",
826
+ "default": "-",
827
+ "description": "Custom validator",
828
+ "options": [],
829
+ "value": {
830
+ "type": "(key, val) => string",
831
831
  "kind": "expression"
832
832
  }
833
833
  }
834
834
  ]
835
835
  },
836
836
  {
837
- "name": "van-area",
837
+ "name": "van-badge",
838
838
  "slots": [
839
839
  {
840
- "name": "toolbar",
841
- "description": "Custom toolbar content"
842
- },
843
- {
844
- "name": "title",
845
- "description": "Custom title"
840
+ "name": "default",
841
+ "description": "Default slot"
846
842
  },
847
843
  {
848
- "name": "confirm",
849
- "description": "Custom confirm button text"
850
- },
851
- {
852
- "name": "cancel",
853
- "description": "Custom cancel button text"
854
- },
855
- {
856
- "name": "columns-top",
857
- "description": "Custom content above columns"
858
- },
859
- {
860
- "name": "columns-bottom",
861
- "description": "Custom content below columns"
862
- }
863
- ],
864
- "events": [
865
- {
866
- "name": "confirm",
867
- "description": "Emitted when the confirm button is clicked",
868
- "arguments": [
869
- {
870
- "name": "result",
871
- "type": "ConfirmResult"
872
- }
873
- ]
874
- },
875
- {
876
- "name": "cancel",
877
- "description": "Emitted when the cancel button is clicked",
878
- "arguments": []
879
- },
880
- {
881
- "name": "change",
882
- "description": "Emitted when current option changed",
883
- "arguments": [
884
- {
885
- "name": "current",
886
- "type": "values"
887
- },
888
- {
889
- "name": "column",
890
- "type": "index"
891
- }
892
- ]
844
+ "name": "content",
845
+ "description": "Custom badge content"
893
846
  }
894
847
  ],
848
+ "events": [],
895
849
  "attributes": [
896
850
  {
897
- "name": "value",
898
- "default": "-",
899
- "description": "the `code` of selected area",
900
- "options": [],
901
- "value": {
902
- "type": "string",
903
- "kind": "expression"
904
- }
905
- },
906
- {
907
- "name": "title",
851
+ "name": "content",
908
852
  "default": "-",
909
- "description": "Toolbar title",
910
- "options": [],
911
- "value": {
912
- "type": "string",
913
- "kind": "expression"
914
- }
915
- },
916
- {
917
- "name": "confirm-button-text",
918
- "default": "`Confirm`",
919
- "description": "Text of confirm button",
853
+ "description": "Badge content",
920
854
  "options": [],
921
855
  "value": {
922
- "type": "string",
856
+ "type": "number | string",
923
857
  "kind": "expression"
924
858
  }
925
859
  },
926
860
  {
927
- "name": "cancel-button-text",
928
- "default": "`Cancel`",
929
- "description": "Text of cancel button",
861
+ "name": "color",
862
+ "default": "`#ee0a24`",
863
+ "description": "Background color",
930
864
  "options": [],
931
865
  "value": {
932
866
  "type": "string",
@@ -934,39 +868,9 @@
934
868
  }
935
869
  },
936
870
  {
937
- "name": "area-list",
938
- "default": "-",
939
- "description": "Area list data",
940
- "options": [],
941
- "value": {
942
- "type": "object",
943
- "kind": "expression"
944
- }
945
- },
946
- {
947
- "name": "columns-placeholder",
948
- "default": "`[]`",
949
- "description": "Placeholder of columns",
950
- "options": [],
951
- "value": {
952
- "type": "string[]",
953
- "kind": "expression"
954
- }
955
- },
956
- {
957
- "name": "loading",
958
- "default": "`false`",
959
- "description": "Whether to show loading prompt",
960
- "options": [],
961
- "value": {
962
- "type": "boolean",
963
- "kind": "expression"
964
- }
965
- },
966
- {
967
- "name": "readonly",
871
+ "name": "dot",
968
872
  "default": "`false`",
969
- "description": "Whether to be readonly",
873
+ "description": "Whether to show dot",
970
874
  "options": [],
971
875
  "value": {
972
876
  "type": "boolean",
@@ -974,19 +878,9 @@
974
878
  }
975
879
  },
976
880
  {
977
- "name": "item-height",
978
- "default": "`44`",
979
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
980
- "options": [],
981
- "value": {
982
- "type": "number | string",
983
- "kind": "expression"
984
- }
985
- },
986
- {
987
- "name": "columns-num",
988
- "default": "`3`",
989
- "description": "Level of picker",
881
+ "name": "max",
882
+ "default": "-",
883
+ "description": "Max value, show `{max}+` when exceed, only works when content is number",
990
884
  "options": [],
991
885
  "value": {
992
886
  "type": "number | string",
@@ -994,32 +888,32 @@
994
888
  }
995
889
  },
996
890
  {
997
- "name": "visible-item-count",
998
- "default": "`6`",
999
- "description": "Count of visible columns",
891
+ "name": "offset",
892
+ "default": "-",
893
+ "description": "Offset of badge dot",
1000
894
  "options": [],
1001
895
  "value": {
1002
- "type": "number | string",
896
+ "type": "[number | string, number | string]",
1003
897
  "kind": "expression"
1004
898
  }
1005
899
  },
1006
900
  {
1007
- "name": "swipe-duration",
1008
- "default": "`1000`",
1009
- "description": "Duration of the momentum animation, unit `ms`",
901
+ "name": "show-zero",
902
+ "default": "`true`",
903
+ "description": "Whether to show badge when content is zero",
1010
904
  "options": [],
1011
905
  "value": {
1012
- "type": "number | string",
906
+ "type": "boolean",
1013
907
  "kind": "expression"
1014
908
  }
1015
909
  },
1016
910
  {
1017
- "name": "is-oversea-code",
1018
- "default": "-",
1019
- "description": "The method to validate oversea code",
911
+ "name": "position",
912
+ "default": "`top-right`",
913
+ "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
1020
914
  "options": [],
1021
915
  "value": {
1022
- "type": "() => boolean",
916
+ "type": "string",
1023
917
  "kind": "expression"
1024
918
  }
1025
919
  }
@@ -1196,33 +1090,79 @@
1196
1090
  ]
1197
1091
  },
1198
1092
  {
1199
- "name": "van-badge",
1093
+ "name": "van-area",
1200
1094
  "slots": [
1201
1095
  {
1202
- "name": "default",
1203
- "description": "Default slot"
1096
+ "name": "toolbar",
1097
+ "description": "Custom toolbar content"
1204
1098
  },
1205
1099
  {
1206
- "name": "content",
1207
- "description": "Custom badge content"
1100
+ "name": "title",
1101
+ "description": "Custom title"
1102
+ },
1103
+ {
1104
+ "name": "confirm",
1105
+ "description": "Custom confirm button text"
1106
+ },
1107
+ {
1108
+ "name": "cancel",
1109
+ "description": "Custom cancel button text"
1110
+ },
1111
+ {
1112
+ "name": "columns-top",
1113
+ "description": "Custom content above columns"
1114
+ },
1115
+ {
1116
+ "name": "columns-bottom",
1117
+ "description": "Custom content below columns"
1118
+ }
1119
+ ],
1120
+ "events": [
1121
+ {
1122
+ "name": "confirm",
1123
+ "description": "Emitted when the confirm button is clicked",
1124
+ "arguments": [
1125
+ {
1126
+ "name": "result",
1127
+ "type": "ConfirmResult"
1128
+ }
1129
+ ]
1130
+ },
1131
+ {
1132
+ "name": "cancel",
1133
+ "description": "Emitted when the cancel button is clicked",
1134
+ "arguments": []
1135
+ },
1136
+ {
1137
+ "name": "change",
1138
+ "description": "Emitted when current option changed",
1139
+ "arguments": [
1140
+ {
1141
+ "name": "current",
1142
+ "type": "values"
1143
+ },
1144
+ {
1145
+ "name": "column",
1146
+ "type": "index"
1147
+ }
1148
+ ]
1208
1149
  }
1209
1150
  ],
1210
- "events": [],
1211
1151
  "attributes": [
1212
1152
  {
1213
- "name": "content",
1153
+ "name": "value",
1214
1154
  "default": "-",
1215
- "description": "Badge content",
1155
+ "description": "the `code` of selected area",
1216
1156
  "options": [],
1217
1157
  "value": {
1218
- "type": "number | string",
1158
+ "type": "string",
1219
1159
  "kind": "expression"
1220
1160
  }
1221
1161
  },
1222
1162
  {
1223
- "name": "color",
1224
- "default": "`#ee0a24`",
1225
- "description": "Background color",
1163
+ "name": "title",
1164
+ "default": "-",
1165
+ "description": "Toolbar title",
1226
1166
  "options": [],
1227
1167
  "value": {
1228
1168
  "type": "string",
@@ -1230,52 +1170,112 @@
1230
1170
  }
1231
1171
  },
1232
1172
  {
1233
- "name": "dot",
1234
- "default": "`false`",
1235
- "description": "Whether to show dot",
1173
+ "name": "confirm-button-text",
1174
+ "default": "`Confirm`",
1175
+ "description": "Text of confirm button",
1236
1176
  "options": [],
1237
1177
  "value": {
1238
- "type": "boolean",
1178
+ "type": "string",
1239
1179
  "kind": "expression"
1240
1180
  }
1241
1181
  },
1242
1182
  {
1243
- "name": "max",
1244
- "default": "-",
1245
- "description": "Max value, show `{max}+` when exceed, only works when content is number",
1183
+ "name": "cancel-button-text",
1184
+ "default": "`Cancel`",
1185
+ "description": "Text of cancel button",
1246
1186
  "options": [],
1247
1187
  "value": {
1248
- "type": "number | string",
1188
+ "type": "string",
1249
1189
  "kind": "expression"
1250
1190
  }
1251
1191
  },
1252
1192
  {
1253
- "name": "offset",
1193
+ "name": "area-list",
1254
1194
  "default": "-",
1255
- "description": "Offset of badge dot",
1195
+ "description": "Area list data",
1256
1196
  "options": [],
1257
1197
  "value": {
1258
- "type": "[number | string, number | string]",
1198
+ "type": "object",
1259
1199
  "kind": "expression"
1260
1200
  }
1261
1201
  },
1262
1202
  {
1263
- "name": "show-zero",
1264
- "default": "`true`",
1265
- "description": "Whether to show badge when content is zero",
1203
+ "name": "columns-placeholder",
1204
+ "default": "`[]`",
1205
+ "description": "Placeholder of columns",
1266
1206
  "options": [],
1267
1207
  "value": {
1268
- "type": "boolean",
1208
+ "type": "string[]",
1269
1209
  "kind": "expression"
1270
1210
  }
1271
1211
  },
1272
1212
  {
1273
- "name": "position",
1274
- "default": "`top-right`",
1275
- "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
1276
- "options": [],
1213
+ "name": "loading",
1214
+ "default": "`false`",
1215
+ "description": "Whether to show loading prompt",
1216
+ "options": [],
1277
1217
  "value": {
1278
- "type": "string",
1218
+ "type": "boolean",
1219
+ "kind": "expression"
1220
+ }
1221
+ },
1222
+ {
1223
+ "name": "readonly",
1224
+ "default": "`false`",
1225
+ "description": "Whether to be readonly",
1226
+ "options": [],
1227
+ "value": {
1228
+ "type": "boolean",
1229
+ "kind": "expression"
1230
+ }
1231
+ },
1232
+ {
1233
+ "name": "item-height",
1234
+ "default": "`44`",
1235
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
1236
+ "options": [],
1237
+ "value": {
1238
+ "type": "number | string",
1239
+ "kind": "expression"
1240
+ }
1241
+ },
1242
+ {
1243
+ "name": "columns-num",
1244
+ "default": "`3`",
1245
+ "description": "Level of picker",
1246
+ "options": [],
1247
+ "value": {
1248
+ "type": "number | string",
1249
+ "kind": "expression"
1250
+ }
1251
+ },
1252
+ {
1253
+ "name": "visible-item-count",
1254
+ "default": "`6`",
1255
+ "description": "Count of visible columns",
1256
+ "options": [],
1257
+ "value": {
1258
+ "type": "number | string",
1259
+ "kind": "expression"
1260
+ }
1261
+ },
1262
+ {
1263
+ "name": "swipe-duration",
1264
+ "default": "`1000`",
1265
+ "description": "Duration of the momentum animation, unit `ms`",
1266
+ "options": [],
1267
+ "value": {
1268
+ "type": "number | string",
1269
+ "kind": "expression"
1270
+ }
1271
+ },
1272
+ {
1273
+ "name": "is-oversea-code",
1274
+ "default": "-",
1275
+ "description": "The method to validate oversea code",
1276
+ "options": [],
1277
+ "value": {
1278
+ "type": "() => boolean",
1279
1279
  "kind": "expression"
1280
1280
  }
1281
1281
  }
@@ -2921,122 +2921,6 @@
2921
2921
  }
2922
2922
  ]
2923
2923
  },
2924
- {
2925
- "name": "van-row",
2926
- "slots": [],
2927
- "events": [
2928
- {
2929
- "name": "click",
2930
- "description": "Emitted when the row is clicked",
2931
- "arguments": [
2932
- {
2933
- "name": "event",
2934
- "type": "MouseEvent"
2935
- }
2936
- ]
2937
- }
2938
- ],
2939
- "attributes": [
2940
- {
2941
- "name": "gutter",
2942
- "default": "-",
2943
- "description": "Grid spacing(px)",
2944
- "options": [],
2945
- "value": {
2946
- "type": "number | string",
2947
- "kind": "expression"
2948
- }
2949
- },
2950
- {
2951
- "name": "tag",
2952
- "default": "`div`",
2953
- "description": "Custom element tag",
2954
- "options": [],
2955
- "value": {
2956
- "type": "string",
2957
- "kind": "expression"
2958
- }
2959
- },
2960
- {
2961
- "name": "justify",
2962
- "default": "`start`",
2963
- "description": "Flex main axis, can be set to end/center/space-around/space-between",
2964
- "options": [],
2965
- "value": {
2966
- "type": "string",
2967
- "kind": "expression"
2968
- }
2969
- },
2970
- {
2971
- "name": "align",
2972
- "default": "`top`",
2973
- "description": "Flex cross axis, be set to center/bottom",
2974
- "options": [],
2975
- "value": {
2976
- "type": "string",
2977
- "kind": "expression"
2978
- }
2979
- },
2980
- {
2981
- "name": "wrap",
2982
- "default": "`true`",
2983
- "description": "Whether to wrap",
2984
- "options": [],
2985
- "value": {
2986
- "type": "boolean",
2987
- "kind": "expression"
2988
- }
2989
- }
2990
- ]
2991
- },
2992
- {
2993
- "name": "van-col",
2994
- "slots": [],
2995
- "events": [
2996
- {
2997
- "name": "click",
2998
- "description": "Emitted when the col is clicked",
2999
- "arguments": [
3000
- {
3001
- "name": "event",
3002
- "type": "MouseEvent"
3003
- }
3004
- ]
3005
- }
3006
- ],
3007
- "attributes": [
3008
- {
3009
- "name": "span",
3010
- "default": "-",
3011
- "description": "number of column the grid spans",
3012
- "options": [],
3013
- "value": {
3014
- "type": "number | string",
3015
- "kind": "expression"
3016
- }
3017
- },
3018
- {
3019
- "name": "offset",
3020
- "default": "-",
3021
- "description": "number of spacing on the left side of the grid",
3022
- "options": [],
3023
- "value": {
3024
- "type": "number | string",
3025
- "kind": "expression"
3026
- }
3027
- },
3028
- {
3029
- "name": "tag",
3030
- "default": "`div`",
3031
- "description": "Custom element tag",
3032
- "options": [],
3033
- "value": {
3034
- "type": "string",
3035
- "kind": "expression"
3036
- }
3037
- }
3038
- ]
3039
- },
3040
2924
  {
3041
2925
  "name": "van-collapse",
3042
2926
  "slots": [],
@@ -3258,24 +3142,35 @@
3258
3142
  ]
3259
3143
  },
3260
3144
  {
3261
- "name": "van-config-provider",
3145
+ "name": "van-row",
3262
3146
  "slots": [],
3263
- "events": [],
3147
+ "events": [
3148
+ {
3149
+ "name": "click",
3150
+ "description": "Emitted when the row is clicked",
3151
+ "arguments": [
3152
+ {
3153
+ "name": "event",
3154
+ "type": "MouseEvent"
3155
+ }
3156
+ ]
3157
+ }
3158
+ ],
3264
3159
  "attributes": [
3265
3160
  {
3266
- "name": "theme-vars",
3161
+ "name": "gutter",
3267
3162
  "default": "-",
3268
- "description": "Theme variables",
3163
+ "description": "Grid spacing(px)",
3269
3164
  "options": [],
3270
3165
  "value": {
3271
- "type": "object",
3166
+ "type": "number | string",
3272
3167
  "kind": "expression"
3273
3168
  }
3274
3169
  },
3275
3170
  {
3276
3171
  "name": "tag",
3277
3172
  "default": "`div`",
3278
- "description": "HTML Tag of root element",
3173
+ "description": "Custom element tag",
3279
3174
  "options": [],
3280
3175
  "value": {
3281
3176
  "type": "string",
@@ -3283,24 +3178,44 @@
3283
3178
  }
3284
3179
  },
3285
3180
  {
3286
- "name": "icon-prefix",
3287
- "default": "`van-icon`",
3288
- "description": "Icon className prefix",
3181
+ "name": "justify",
3182
+ "default": "`start`",
3183
+ "description": "Flex main axis, can be set to end/center/space-around/space-between",
3184
+ "options": [],
3185
+ "value": {
3186
+ "type": "string",
3187
+ "kind": "expression"
3188
+ }
3189
+ },
3190
+ {
3191
+ "name": "align",
3192
+ "default": "`top`",
3193
+ "description": "Flex cross axis, be set to center/bottom",
3289
3194
  "options": [],
3290
3195
  "value": {
3291
3196
  "type": "string",
3292
3197
  "kind": "expression"
3293
3198
  }
3199
+ },
3200
+ {
3201
+ "name": "wrap",
3202
+ "default": "`true`",
3203
+ "description": "Whether to wrap",
3204
+ "options": [],
3205
+ "value": {
3206
+ "type": "boolean",
3207
+ "kind": "expression"
3208
+ }
3294
3209
  }
3295
3210
  ]
3296
3211
  },
3297
3212
  {
3298
- "name": "van-contact-card",
3213
+ "name": "van-col",
3299
3214
  "slots": [],
3300
3215
  "events": [
3301
3216
  {
3302
3217
  "name": "click",
3303
- "description": "Emitted when component is clicked",
3218
+ "description": "Emitted when the col is clicked",
3304
3219
  "arguments": [
3305
3220
  {
3306
3221
  "name": "event",
@@ -3311,35 +3226,120 @@
3311
3226
  ],
3312
3227
  "attributes": [
3313
3228
  {
3314
- "name": "type",
3315
- "default": "`add`",
3316
- "description": "Can be set to `edit`",
3229
+ "name": "span",
3230
+ "default": "-",
3231
+ "description": "number of column the grid spans",
3317
3232
  "options": [],
3318
3233
  "value": {
3319
- "type": "string",
3234
+ "type": "number | string",
3320
3235
  "kind": "expression"
3321
3236
  }
3322
3237
  },
3323
3238
  {
3324
- "name": "name",
3239
+ "name": "offset",
3325
3240
  "default": "-",
3326
- "description": "Name",
3241
+ "description": "number of spacing on the left side of the grid",
3327
3242
  "options": [],
3328
3243
  "value": {
3329
- "type": "string",
3244
+ "type": "number | string",
3330
3245
  "kind": "expression"
3331
3246
  }
3332
3247
  },
3333
3248
  {
3334
- "name": "tel",
3335
- "default": "-",
3336
- "description": "Phone",
3249
+ "name": "tag",
3250
+ "default": "`div`",
3251
+ "description": "Custom element tag",
3337
3252
  "options": [],
3338
3253
  "value": {
3339
3254
  "type": "string",
3340
3255
  "kind": "expression"
3341
3256
  }
3342
- },
3257
+ }
3258
+ ]
3259
+ },
3260
+ {
3261
+ "name": "van-config-provider",
3262
+ "slots": [],
3263
+ "events": [],
3264
+ "attributes": [
3265
+ {
3266
+ "name": "theme-vars",
3267
+ "default": "-",
3268
+ "description": "Theme variables",
3269
+ "options": [],
3270
+ "value": {
3271
+ "type": "object",
3272
+ "kind": "expression"
3273
+ }
3274
+ },
3275
+ {
3276
+ "name": "tag",
3277
+ "default": "`div`",
3278
+ "description": "HTML Tag of root element",
3279
+ "options": [],
3280
+ "value": {
3281
+ "type": "string",
3282
+ "kind": "expression"
3283
+ }
3284
+ },
3285
+ {
3286
+ "name": "icon-prefix",
3287
+ "default": "`van-icon`",
3288
+ "description": "Icon className prefix",
3289
+ "options": [],
3290
+ "value": {
3291
+ "type": "string",
3292
+ "kind": "expression"
3293
+ }
3294
+ }
3295
+ ]
3296
+ },
3297
+ {
3298
+ "name": "van-contact-card",
3299
+ "slots": [],
3300
+ "events": [
3301
+ {
3302
+ "name": "click",
3303
+ "description": "Emitted when component is clicked",
3304
+ "arguments": [
3305
+ {
3306
+ "name": "event",
3307
+ "type": "MouseEvent"
3308
+ }
3309
+ ]
3310
+ }
3311
+ ],
3312
+ "attributes": [
3313
+ {
3314
+ "name": "type",
3315
+ "default": "`add`",
3316
+ "description": "Can be set to `edit`",
3317
+ "options": [],
3318
+ "value": {
3319
+ "type": "string",
3320
+ "kind": "expression"
3321
+ }
3322
+ },
3323
+ {
3324
+ "name": "name",
3325
+ "default": "-",
3326
+ "description": "Name",
3327
+ "options": [],
3328
+ "value": {
3329
+ "type": "string",
3330
+ "kind": "expression"
3331
+ }
3332
+ },
3333
+ {
3334
+ "name": "tel",
3335
+ "default": "-",
3336
+ "description": "Phone",
3337
+ "options": [],
3338
+ "value": {
3339
+ "type": "string",
3340
+ "kind": "expression"
3341
+ }
3342
+ },
3343
3343
  {
3344
3344
  "name": "add-text",
3345
3345
  "default": "`Add contact info`",
@@ -3610,111 +3610,69 @@
3610
3610
  ]
3611
3611
  },
3612
3612
  {
3613
- "name": "van-coupon-cell",
3614
- "slots": [],
3615
- "events": [],
3616
- "attributes": [
3613
+ "name": "van-datetime-picker",
3614
+ "slots": [
3617
3615
  {
3618
- "name": "title",
3619
- "default": "`Coupon`",
3620
- "description": "Cell title",
3621
- "options": [],
3622
- "value": {
3623
- "type": "string",
3624
- "kind": "expression"
3625
- }
3616
+ "name": "default",
3617
+ "description": "Custom toolbar content"
3626
3618
  },
3627
3619
  {
3628
- "name": "chosen-coupon",
3629
- "default": "`-1`",
3630
- "description": "Index of chosen coupon",
3631
- "options": [],
3632
- "value": {
3633
- "type": "number | string",
3634
- "kind": "expression"
3635
- }
3620
+ "name": "title",
3621
+ "description": "Custom title"
3636
3622
  },
3637
3623
  {
3638
- "name": "coupons",
3639
- "default": "`[]`",
3640
- "description": "Coupon list",
3641
- "options": [],
3642
- "value": {
3643
- "type": "Coupon[]",
3644
- "kind": "expression"
3645
- }
3624
+ "name": "confirm",
3625
+ "description": "Custom confirm button text"
3646
3626
  },
3647
3627
  {
3648
- "name": "editable",
3649
- "default": "`true`",
3650
- "description": "Cell editable",
3651
- "options": [],
3652
- "value": {
3653
- "type": "boolean",
3654
- "kind": "expression"
3655
- }
3628
+ "name": "cancel",
3629
+ "description": "Custom cancel button text"
3656
3630
  },
3657
3631
  {
3658
- "name": "border",
3659
- "default": "`true`",
3660
- "description": "Whether to show inner border",
3661
- "options": [],
3662
- "value": {
3663
- "type": "boolean",
3664
- "kind": "expression"
3665
- }
3632
+ "name": "option",
3633
+ "description": "Custom option content"
3666
3634
  },
3667
3635
  {
3668
- "name": "currency",
3669
- "default": "`¥`",
3670
- "description": "Currency symbol",
3671
- "options": [],
3672
- "value": {
3673
- "type": "string",
3674
- "kind": "expression"
3675
- }
3676
- }
3677
- ]
3678
- },
3679
- {
3680
- "name": "van-coupon-list",
3681
- "slots": [
3682
- {
3683
- "name": "list-footer",
3684
- "description": "Coupon list bottom"
3636
+ "name": "columns-top",
3637
+ "description": "Custom content above columns"
3685
3638
  },
3686
3639
  {
3687
- "name": "disabled-list-footer",
3688
- "description": "Unavailable coupons list bottom"
3640
+ "name": "columns-bottom",
3641
+ "description": "Custom content below columns"
3689
3642
  }
3690
3643
  ],
3691
3644
  "events": [
3692
3645
  {
3693
3646
  "name": "change",
3694
- "description": "Emitted when chosen coupon changed",
3647
+ "description": "Emitted when value changed",
3695
3648
  "arguments": [
3696
3649
  {
3697
- "name": "index",
3698
- "type": "index of chosen coupon"
3650
+ "name": "value",
3651
+ "type": "current value"
3699
3652
  }
3700
3653
  ]
3701
3654
  },
3702
3655
  {
3703
- "name": "exchange",
3704
- "description": "Emitted when exchanging coupon",
3656
+ "name": "confirm",
3657
+ "description": "Emitted when the confirm button is clicked",
3705
3658
  "arguments": [
3706
3659
  {
3707
- "name": "code",
3708
- "type": "exchange code"
3660
+ "name": "value",
3661
+ "type": "current value"
3709
3662
  }
3710
3663
  ]
3664
+ },
3665
+ {
3666
+ "name": "cancel",
3667
+ "description": "Emitted when the cancel button is clicked",
3668
+ "arguments": []
3711
3669
  }
3712
3670
  ],
3713
3671
  "attributes": [
3714
3672
  {
3715
- "name": "v-model",
3716
- "default": "-",
3717
- "description": "Current exchange code",
3673
+ "name": "type",
3674
+ "default": "`datetime`",
3675
+ "description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
3718
3676
  "options": [],
3719
3677
  "value": {
3720
3678
  "type": "string",
@@ -3722,39 +3680,19 @@
3722
3680
  }
3723
3681
  },
3724
3682
  {
3725
- "name": "chosen-coupon",
3726
- "default": "`-1`",
3727
- "description": "Index of chosen coupon",
3728
- "options": [],
3729
- "value": {
3730
- "type": "number",
3731
- "kind": "expression"
3732
- }
3733
- },
3734
- {
3735
- "name": "coupons",
3736
- "default": "`[]`",
3737
- "description": "Coupon list",
3738
- "options": [],
3739
- "value": {
3740
- "type": "Coupon[]",
3741
- "kind": "expression"
3742
- }
3743
- },
3744
- {
3745
- "name": "disabled-coupons",
3746
- "default": "`[]`",
3747
- "description": "Disabled coupon list",
3683
+ "name": "title",
3684
+ "default": "`''`",
3685
+ "description": "Toolbar title",
3748
3686
  "options": [],
3749
3687
  "value": {
3750
- "type": "Coupon[]",
3688
+ "type": "string",
3751
3689
  "kind": "expression"
3752
3690
  }
3753
3691
  },
3754
3692
  {
3755
- "name": "enabled-title",
3756
- "default": "`Available`",
3757
- "description": "Title of coupon list",
3693
+ "name": "confirm-button-text",
3694
+ "default": "`Confirm`",
3695
+ "description": "Text of confirm button",
3758
3696
  "options": [],
3759
3697
  "value": {
3760
3698
  "type": "string",
@@ -3762,9 +3700,9 @@
3762
3700
  }
3763
3701
  },
3764
3702
  {
3765
- "name": "disabled-title",
3766
- "default": "`Unavailable`",
3767
- "description": "Title of disabled coupon list",
3703
+ "name": "cancel-button-text",
3704
+ "default": "`Cancel`",
3705
+ "description": "Text of cancel button",
3768
3706
  "options": [],
3769
3707
  "value": {
3770
3708
  "type": "string",
@@ -3772,19 +3710,19 @@
3772
3710
  }
3773
3711
  },
3774
3712
  {
3775
- "name": "exchange-button-text",
3776
- "default": "`Exchange`",
3777
- "description": "Exchange button text",
3713
+ "name": "show-toolbar",
3714
+ "default": "`true`",
3715
+ "description": "Whether to show toolbar",
3778
3716
  "options": [],
3779
3717
  "value": {
3780
- "type": "string",
3718
+ "type": "boolean",
3781
3719
  "kind": "expression"
3782
3720
  }
3783
3721
  },
3784
3722
  {
3785
- "name": "exchange-button-loading",
3723
+ "name": "loading",
3786
3724
  "default": "`false`",
3787
- "description": "Whether to show loading in exchange button",
3725
+ "description": "Whether to show loading prompt",
3788
3726
  "options": [],
3789
3727
  "value": {
3790
3728
  "type": "boolean",
@@ -3792,9 +3730,9 @@
3792
3730
  }
3793
3731
  },
3794
3732
  {
3795
- "name": "exchange-button-disabled",
3733
+ "name": "readonly",
3796
3734
  "default": "`false`",
3797
- "description": "Whether to disable exchange button",
3735
+ "description": "Whether to be readonly",
3798
3736
  "options": [],
3799
3737
  "value": {
3800
3738
  "type": "boolean",
@@ -3802,161 +3740,247 @@
3802
3740
  }
3803
3741
  },
3804
3742
  {
3805
- "name": "exchange-min-length",
3806
- "default": "`1`",
3807
- "description": "Min length to enable exchange button",
3743
+ "name": "filter",
3744
+ "default": "-",
3745
+ "description": "Option filter",
3808
3746
  "options": [],
3809
3747
  "value": {
3810
- "type": "number",
3748
+ "type": "(type: string, values: string[]) => string[]",
3811
3749
  "kind": "expression"
3812
3750
  }
3813
3751
  },
3814
3752
  {
3815
- "name": "displayed-coupon-index",
3753
+ "name": "formatter",
3816
3754
  "default": "-",
3817
- "description": "Index of displayed coupon",
3755
+ "description": "Option text formatter",
3818
3756
  "options": [],
3819
3757
  "value": {
3820
- "type": "number",
3758
+ "type": "(type: string, value: string) => string",
3821
3759
  "kind": "expression"
3822
3760
  }
3823
3761
  },
3824
3762
  {
3825
- "name": "close-button-text",
3826
- "default": "`Close`",
3827
- "description": "Close button text",
3763
+ "name": "columns-order",
3764
+ "default": "-",
3765
+ "description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
3828
3766
  "options": [],
3829
3767
  "value": {
3830
- "type": "string",
3768
+ "type": "string[]",
3831
3769
  "kind": "expression"
3832
3770
  }
3833
3771
  },
3834
3772
  {
3835
- "name": "input-placeholder",
3836
- "default": "`Coupon code`",
3837
- "description": "Input placeholder",
3773
+ "name": "item-height",
3774
+ "default": "`44`",
3775
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
3838
3776
  "options": [],
3839
3777
  "value": {
3840
- "type": "string",
3778
+ "type": "number | string",
3841
3779
  "kind": "expression"
3842
3780
  }
3843
3781
  },
3844
3782
  {
3845
- "name": "currency",
3846
- "default": "`¥`",
3847
- "description": "Currency symbol",
3783
+ "name": "visible-item-count",
3784
+ "default": "`6`",
3785
+ "description": "Count of visible columns",
3848
3786
  "options": [],
3849
3787
  "value": {
3850
- "type": "string",
3788
+ "type": "number | string",
3851
3789
  "kind": "expression"
3852
3790
  }
3853
3791
  },
3854
3792
  {
3855
- "name": "empty-image",
3856
- "default": "-",
3857
- "description": "Placeholder image when list is empty",
3793
+ "name": "swipe-duration",
3794
+ "default": "`1000`",
3795
+ "description": "Duration of the momentum animation, unit `ms`",
3858
3796
  "options": [],
3859
3797
  "value": {
3860
- "type": "string",
3798
+ "type": "number | string",
3799
+ "kind": "expression"
3800
+ }
3801
+ }
3802
+ ]
3803
+ },
3804
+ {
3805
+ "name": "van-date-picker",
3806
+ "slots": [],
3807
+ "events": [],
3808
+ "attributes": [
3809
+ {
3810
+ "name": "min-date",
3811
+ "default": "Ten years ago on January 1",
3812
+ "description": "Min date",
3813
+ "options": [],
3814
+ "value": {
3815
+ "type": "Date",
3861
3816
  "kind": "expression"
3862
3817
  }
3863
3818
  },
3864
3819
  {
3865
- "name": "show-count",
3866
- "default": "`true`",
3867
- "description": "Whether to show coupon count in tab title",
3820
+ "name": "max-date",
3821
+ "default": "Ten years later on December 31",
3822
+ "description": "Max date",
3868
3823
  "options": [],
3869
3824
  "value": {
3870
- "type": "boolean",
3825
+ "type": "Date",
3871
3826
  "kind": "expression"
3872
3827
  }
3873
3828
  }
3874
3829
  ]
3875
3830
  },
3876
3831
  {
3877
- "name": "van-datetime-picker",
3878
- "slots": [
3832
+ "name": "van-time-picker",
3833
+ "slots": [],
3834
+ "events": [],
3835
+ "attributes": [
3879
3836
  {
3880
- "name": "default",
3881
- "description": "Custom toolbar content"
3837
+ "name": "min-hour",
3838
+ "default": "`0`",
3839
+ "description": "Min hour for `time` type",
3840
+ "options": [],
3841
+ "value": {
3842
+ "type": "number | string",
3843
+ "kind": "expression"
3844
+ }
3882
3845
  },
3846
+ {
3847
+ "name": "max-hour",
3848
+ "default": "`23`",
3849
+ "description": "Max hour for `time` type",
3850
+ "options": [],
3851
+ "value": {
3852
+ "type": "number | string",
3853
+ "kind": "expression"
3854
+ }
3855
+ },
3856
+ {
3857
+ "name": "min-minute",
3858
+ "default": "`0`",
3859
+ "description": "Max minute for `time` type",
3860
+ "options": [],
3861
+ "value": {
3862
+ "type": "number | string",
3863
+ "kind": "expression"
3864
+ }
3865
+ },
3866
+ {
3867
+ "name": "max-minute",
3868
+ "default": "`59`",
3869
+ "description": "Max minute for `time` type",
3870
+ "options": [],
3871
+ "value": {
3872
+ "type": "number | string",
3873
+ "kind": "expression"
3874
+ }
3875
+ }
3876
+ ]
3877
+ },
3878
+ {
3879
+ "name": "van-coupon-cell",
3880
+ "slots": [],
3881
+ "events": [],
3882
+ "attributes": [
3883
3883
  {
3884
3884
  "name": "title",
3885
- "description": "Custom title"
3885
+ "default": "`Coupon`",
3886
+ "description": "Cell title",
3887
+ "options": [],
3888
+ "value": {
3889
+ "type": "string",
3890
+ "kind": "expression"
3891
+ }
3886
3892
  },
3887
3893
  {
3888
- "name": "confirm",
3889
- "description": "Custom confirm button text"
3894
+ "name": "chosen-coupon",
3895
+ "default": "`-1`",
3896
+ "description": "Index of chosen coupon",
3897
+ "options": [],
3898
+ "value": {
3899
+ "type": "number | string",
3900
+ "kind": "expression"
3901
+ }
3890
3902
  },
3891
3903
  {
3892
- "name": "cancel",
3893
- "description": "Custom cancel button text"
3904
+ "name": "coupons",
3905
+ "default": "`[]`",
3906
+ "description": "Coupon list",
3907
+ "options": [],
3908
+ "value": {
3909
+ "type": "Coupon[]",
3910
+ "kind": "expression"
3911
+ }
3894
3912
  },
3895
3913
  {
3896
- "name": "option",
3897
- "description": "Custom option content"
3914
+ "name": "editable",
3915
+ "default": "`true`",
3916
+ "description": "Cell editable",
3917
+ "options": [],
3918
+ "value": {
3919
+ "type": "boolean",
3920
+ "kind": "expression"
3921
+ }
3898
3922
  },
3899
3923
  {
3900
- "name": "columns-top",
3901
- "description": "Custom content above columns"
3924
+ "name": "border",
3925
+ "default": "`true`",
3926
+ "description": "Whether to show inner border",
3927
+ "options": [],
3928
+ "value": {
3929
+ "type": "boolean",
3930
+ "kind": "expression"
3931
+ }
3902
3932
  },
3903
3933
  {
3904
- "name": "columns-bottom",
3905
- "description": "Custom content below columns"
3934
+ "name": "currency",
3935
+ "default": "`¥`",
3936
+ "description": "Currency symbol",
3937
+ "options": [],
3938
+ "value": {
3939
+ "type": "string",
3940
+ "kind": "expression"
3941
+ }
3942
+ }
3943
+ ]
3944
+ },
3945
+ {
3946
+ "name": "van-coupon-list",
3947
+ "slots": [
3948
+ {
3949
+ "name": "list-footer",
3950
+ "description": "Coupon list bottom"
3951
+ },
3952
+ {
3953
+ "name": "disabled-list-footer",
3954
+ "description": "Unavailable coupons list bottom"
3906
3955
  }
3907
3956
  ],
3908
3957
  "events": [
3909
3958
  {
3910
3959
  "name": "change",
3911
- "description": "Emitted when value changed",
3960
+ "description": "Emitted when chosen coupon changed",
3912
3961
  "arguments": [
3913
3962
  {
3914
- "name": "value",
3915
- "type": "current value"
3963
+ "name": "index",
3964
+ "type": "index of chosen coupon"
3916
3965
  }
3917
3966
  ]
3918
3967
  },
3919
3968
  {
3920
- "name": "confirm",
3921
- "description": "Emitted when the confirm button is clicked",
3969
+ "name": "exchange",
3970
+ "description": "Emitted when exchanging coupon",
3922
3971
  "arguments": [
3923
3972
  {
3924
- "name": "value",
3925
- "type": "current value"
3973
+ "name": "code",
3974
+ "type": "exchange code"
3926
3975
  }
3927
3976
  ]
3928
- },
3929
- {
3930
- "name": "cancel",
3931
- "description": "Emitted when the cancel button is clicked",
3932
- "arguments": []
3933
3977
  }
3934
3978
  ],
3935
3979
  "attributes": [
3936
3980
  {
3937
- "name": "type",
3938
- "default": "`datetime`",
3939
- "description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
3940
- "options": [],
3941
- "value": {
3942
- "type": "string",
3943
- "kind": "expression"
3944
- }
3945
- },
3946
- {
3947
- "name": "title",
3948
- "default": "`''`",
3949
- "description": "Toolbar title",
3950
- "options": [],
3951
- "value": {
3952
- "type": "string",
3953
- "kind": "expression"
3954
- }
3955
- },
3956
- {
3957
- "name": "confirm-button-text",
3958
- "default": "`Confirm`",
3959
- "description": "Text of confirm button",
3981
+ "name": "v-model",
3982
+ "default": "-",
3983
+ "description": "Current exchange code",
3960
3984
  "options": [],
3961
3985
  "value": {
3962
3986
  "type": "string",
@@ -3964,176 +3988,152 @@
3964
3988
  }
3965
3989
  },
3966
3990
  {
3967
- "name": "cancel-button-text",
3968
- "default": "`Cancel`",
3969
- "description": "Text of cancel button",
3991
+ "name": "chosen-coupon",
3992
+ "default": "`-1`",
3993
+ "description": "Index of chosen coupon",
3970
3994
  "options": [],
3971
3995
  "value": {
3972
- "type": "string",
3996
+ "type": "number",
3973
3997
  "kind": "expression"
3974
3998
  }
3975
3999
  },
3976
4000
  {
3977
- "name": "show-toolbar",
3978
- "default": "`true`",
3979
- "description": "Whether to show toolbar",
4001
+ "name": "coupons",
4002
+ "default": "`[]`",
4003
+ "description": "Coupon list",
3980
4004
  "options": [],
3981
4005
  "value": {
3982
- "type": "boolean",
4006
+ "type": "Coupon[]",
3983
4007
  "kind": "expression"
3984
4008
  }
3985
4009
  },
3986
4010
  {
3987
- "name": "loading",
3988
- "default": "`false`",
3989
- "description": "Whether to show loading prompt",
4011
+ "name": "disabled-coupons",
4012
+ "default": "`[]`",
4013
+ "description": "Disabled coupon list",
3990
4014
  "options": [],
3991
4015
  "value": {
3992
- "type": "boolean",
4016
+ "type": "Coupon[]",
3993
4017
  "kind": "expression"
3994
4018
  }
3995
4019
  },
3996
4020
  {
3997
- "name": "readonly",
3998
- "default": "`false`",
3999
- "description": "Whether to be readonly",
4021
+ "name": "enabled-title",
4022
+ "default": "`Available`",
4023
+ "description": "Title of coupon list",
4000
4024
  "options": [],
4001
4025
  "value": {
4002
- "type": "boolean",
4026
+ "type": "string",
4003
4027
  "kind": "expression"
4004
4028
  }
4005
4029
  },
4006
4030
  {
4007
- "name": "filter",
4008
- "default": "-",
4009
- "description": "Option filter",
4031
+ "name": "disabled-title",
4032
+ "default": "`Unavailable`",
4033
+ "description": "Title of disabled coupon list",
4010
4034
  "options": [],
4011
4035
  "value": {
4012
- "type": "(type: string, values: string[]) => string[]",
4036
+ "type": "string",
4013
4037
  "kind": "expression"
4014
4038
  }
4015
4039
  },
4016
4040
  {
4017
- "name": "formatter",
4018
- "default": "-",
4019
- "description": "Option text formatter",
4041
+ "name": "exchange-button-text",
4042
+ "default": "`Exchange`",
4043
+ "description": "Exchange button text",
4020
4044
  "options": [],
4021
4045
  "value": {
4022
- "type": "(type: string, value: string) => string",
4046
+ "type": "string",
4023
4047
  "kind": "expression"
4024
4048
  }
4025
4049
  },
4026
4050
  {
4027
- "name": "columns-order",
4028
- "default": "-",
4029
- "description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
4051
+ "name": "exchange-button-loading",
4052
+ "default": "`false`",
4053
+ "description": "Whether to show loading in exchange button",
4030
4054
  "options": [],
4031
4055
  "value": {
4032
- "type": "string[]",
4056
+ "type": "boolean",
4033
4057
  "kind": "expression"
4034
4058
  }
4035
4059
  },
4036
4060
  {
4037
- "name": "item-height",
4038
- "default": "`44`",
4039
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
4061
+ "name": "exchange-button-disabled",
4062
+ "default": "`false`",
4063
+ "description": "Whether to disable exchange button",
4040
4064
  "options": [],
4041
4065
  "value": {
4042
- "type": "number | string",
4066
+ "type": "boolean",
4043
4067
  "kind": "expression"
4044
4068
  }
4045
4069
  },
4046
4070
  {
4047
- "name": "visible-item-count",
4048
- "default": "`6`",
4049
- "description": "Count of visible columns",
4071
+ "name": "exchange-min-length",
4072
+ "default": "`1`",
4073
+ "description": "Min length to enable exchange button",
4050
4074
  "options": [],
4051
4075
  "value": {
4052
- "type": "number | string",
4076
+ "type": "number",
4053
4077
  "kind": "expression"
4054
4078
  }
4055
4079
  },
4056
4080
  {
4057
- "name": "swipe-duration",
4058
- "default": "`1000`",
4059
- "description": "Duration of the momentum animation, unit `ms`",
4060
- "options": [],
4061
- "value": {
4062
- "type": "number | string",
4063
- "kind": "expression"
4064
- }
4065
- }
4066
- ]
4067
- },
4068
- {
4069
- "name": "van-date-picker",
4070
- "slots": [],
4071
- "events": [],
4072
- "attributes": [
4073
- {
4074
- "name": "min-date",
4075
- "default": "Ten years ago on January 1",
4076
- "description": "Min date",
4081
+ "name": "displayed-coupon-index",
4082
+ "default": "-",
4083
+ "description": "Index of displayed coupon",
4077
4084
  "options": [],
4078
4085
  "value": {
4079
- "type": "Date",
4086
+ "type": "number",
4080
4087
  "kind": "expression"
4081
4088
  }
4082
4089
  },
4083
4090
  {
4084
- "name": "max-date",
4085
- "default": "Ten years later on December 31",
4086
- "description": "Max date",
4091
+ "name": "close-button-text",
4092
+ "default": "`Close`",
4093
+ "description": "Close button text",
4087
4094
  "options": [],
4088
4095
  "value": {
4089
- "type": "Date",
4096
+ "type": "string",
4090
4097
  "kind": "expression"
4091
4098
  }
4092
- }
4093
- ]
4094
- },
4095
- {
4096
- "name": "van-time-picker",
4097
- "slots": [],
4098
- "events": [],
4099
- "attributes": [
4099
+ },
4100
4100
  {
4101
- "name": "min-hour",
4102
- "default": "`0`",
4103
- "description": "Min hour for `time` type",
4101
+ "name": "input-placeholder",
4102
+ "default": "`Coupon code`",
4103
+ "description": "Input placeholder",
4104
4104
  "options": [],
4105
4105
  "value": {
4106
- "type": "number | string",
4106
+ "type": "string",
4107
4107
  "kind": "expression"
4108
4108
  }
4109
4109
  },
4110
4110
  {
4111
- "name": "max-hour",
4112
- "default": "`23`",
4113
- "description": "Max hour for `time` type",
4111
+ "name": "currency",
4112
+ "default": "`¥`",
4113
+ "description": "Currency symbol",
4114
4114
  "options": [],
4115
4115
  "value": {
4116
- "type": "number | string",
4116
+ "type": "string",
4117
4117
  "kind": "expression"
4118
4118
  }
4119
4119
  },
4120
4120
  {
4121
- "name": "min-minute",
4122
- "default": "`0`",
4123
- "description": "Max minute for `time` type",
4121
+ "name": "empty-image",
4122
+ "default": "-",
4123
+ "description": "Placeholder image when list is empty",
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-minute",
4132
- "default": "`59`",
4133
- "description": "Max minute for `time` type",
4131
+ "name": "show-count",
4132
+ "default": "`true`",
4133
+ "description": "Whether to show coupon count in tab title",
4134
4134
  "options": [],
4135
4135
  "value": {
4136
- "type": "number | string",
4136
+ "type": "boolean",
4137
4137
  "kind": "expression"
4138
4138
  }
4139
4139
  }
@@ -5224,40 +5224,14 @@
5224
5224
  ]
5225
5225
  },
5226
5226
  {
5227
- "name": "van-form",
5228
- "slots": [
5229
- {
5230
- "name": "default",
5231
- "description": "Form content"
5232
- }
5233
- ],
5234
- "events": [
5235
- {
5236
- "name": "submit",
5237
- "description": "Emitted after submitting the form and validation passed",
5238
- "arguments": [
5239
- {
5240
- "name": "values",
5241
- "type": "object"
5242
- }
5243
- ]
5244
- },
5245
- {
5246
- "name": "failed",
5247
- "description": "Emitted after submitting the form and validation failed",
5248
- "arguments": [
5249
- {
5250
- "name": "errorInfo",
5251
- "type": "{ values: object, errors: object[] }"
5252
- }
5253
- ]
5254
- }
5255
- ],
5227
+ "name": "van-grid",
5228
+ "slots": [],
5229
+ "events": [],
5256
5230
  "attributes": [
5257
5231
  {
5258
- "name": "label-width",
5259
- "default": "`6.2em`",
5260
- "description": "Field label width",
5232
+ "name": "column-num",
5233
+ "default": "`4`",
5234
+ "description": "Column Num",
5261
5235
  "options": [],
5262
5236
  "value": {
5263
5237
  "type": "number | string",
@@ -5265,49 +5239,29 @@
5265
5239
  }
5266
5240
  },
5267
5241
  {
5268
- "name": "label-align",
5269
- "default": "`left`",
5270
- "description": "Field label align, can be set to `center` `right`",
5271
- "options": [],
5272
- "value": {
5273
- "type": "string",
5274
- "kind": "expression"
5275
- }
5276
- },
5277
- {
5278
- "name": "input-align",
5279
- "default": "`left`",
5280
- "description": "Field input align, can be set to `center` `right`",
5281
- "options": [],
5282
- "value": {
5283
- "type": "string",
5284
- "kind": "expression"
5285
- }
5286
- },
5287
- {
5288
- "name": "error-message-align",
5289
- "default": "`left`",
5290
- "description": "Error message align, can be set to `center` `right`",
5242
+ "name": "icon-size",
5243
+ "default": "`28px`",
5244
+ "description": "Icon size",
5291
5245
  "options": [],
5292
5246
  "value": {
5293
- "type": "string",
5247
+ "type": "number | string",
5294
5248
  "kind": "expression"
5295
5249
  }
5296
5250
  },
5297
5251
  {
5298
- "name": "validate-trigger",
5299
- "default": "`onBlur`",
5300
- "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
5252
+ "name": "gutter",
5253
+ "default": "`0`",
5254
+ "description": "Gutter",
5301
5255
  "options": [],
5302
5256
  "value": {
5303
- "type": "string | string[]",
5257
+ "type": "number | string",
5304
5258
  "kind": "expression"
5305
5259
  }
5306
5260
  },
5307
5261
  {
5308
- "name": "colon",
5309
- "default": "`false`",
5310
- "description": "Whether to display colon after label",
5262
+ "name": "border",
5263
+ "default": "`true`",
5264
+ "description": "Whether to show border",
5311
5265
  "options": [],
5312
5266
  "value": {
5313
5267
  "type": "boolean",
@@ -5315,9 +5269,9 @@
5315
5269
  }
5316
5270
  },
5317
5271
  {
5318
- "name": "disabled",
5319
- "default": "`false`",
5320
- "description": "Whether to disable form",
5272
+ "name": "center",
5273
+ "default": "`true`",
5274
+ "description": "Whether to center content",
5321
5275
  "options": [],
5322
5276
  "value": {
5323
5277
  "type": "boolean",
@@ -5325,9 +5279,9 @@
5325
5279
  }
5326
5280
  },
5327
5281
  {
5328
- "name": "readonly",
5282
+ "name": "square",
5329
5283
  "default": "`false`",
5330
- "description": "Whether to be readonly",
5284
+ "description": "Whether to be square shape",
5331
5285
  "options": [],
5332
5286
  "value": {
5333
5287
  "type": "boolean",
@@ -5335,9 +5289,9 @@
5335
5289
  }
5336
5290
  },
5337
5291
  {
5338
- "name": "validate-first",
5292
+ "name": "clickable",
5339
5293
  "default": "`false`",
5340
- "description": "Whether to stop the validation when a rule fails",
5294
+ "description": "Whether to show click feedback when clicked",
5341
5295
  "options": [],
5342
5296
  "value": {
5343
5297
  "type": "boolean",
@@ -5345,86 +5299,100 @@
5345
5299
  }
5346
5300
  },
5347
5301
  {
5348
- "name": "scroll-to-error",
5349
- "default": "`false`",
5350
- "description": "Whether to scroll to the error field when validation failed",
5302
+ "name": "direction",
5303
+ "default": "`vertical`",
5304
+ "description": "Content arrangement direction, can be set to `horizontal`",
5351
5305
  "options": [],
5352
5306
  "value": {
5353
- "type": "boolean",
5307
+ "type": "string",
5354
5308
  "kind": "expression"
5355
5309
  }
5356
5310
  },
5357
5311
  {
5358
- "name": "show-error",
5312
+ "name": "reverse",
5359
5313
  "default": "`false`",
5360
- "description": "Whether to highlight input when validation failed",
5314
+ "description": "Whether to reverse the position of icon and text",
5361
5315
  "options": [],
5362
5316
  "value": {
5363
5317
  "type": "boolean",
5364
5318
  "kind": "expression"
5365
5319
  }
5320
+ }
5321
+ ]
5322
+ },
5323
+ {
5324
+ "name": "van-grid-item",
5325
+ "slots": [
5326
+ {
5327
+ "name": "default",
5328
+ "description": "Custom content"
5366
5329
  },
5367
5330
  {
5368
- "name": "show-error-message",
5369
- "default": "`true`",
5370
- "description": "Whether to show error message when validation failed",
5371
- "options": [],
5372
- "value": {
5373
- "type": "boolean",
5374
- "kind": "expression"
5375
- }
5331
+ "name": "icon",
5332
+ "description": "Custom icon"
5376
5333
  },
5377
5334
  {
5378
- "name": "submit-on-enter",
5379
- "default": "`true`",
5380
- "description": "Whether to submit form on enter",
5335
+ "name": "text",
5336
+ "description": "Custom text"
5337
+ }
5338
+ ],
5339
+ "events": [
5340
+ {
5341
+ "name": "click",
5342
+ "description": "Emitted when component is clicked",
5343
+ "arguments": [
5344
+ {
5345
+ "name": "event",
5346
+ "type": "MouseEvent"
5347
+ }
5348
+ ]
5349
+ }
5350
+ ],
5351
+ "attributes": [
5352
+ {
5353
+ "name": "text",
5354
+ "default": "-",
5355
+ "description": "Text",
5381
5356
  "options": [],
5382
5357
  "value": {
5383
- "type": "boolean",
5358
+ "type": "string",
5384
5359
  "kind": "expression"
5385
5360
  }
5386
- }
5387
- ]
5388
- },
5389
- {
5390
- "name": "van-grid",
5391
- "slots": [],
5392
- "events": [],
5393
- "attributes": [
5361
+ },
5394
5362
  {
5395
- "name": "column-num",
5396
- "default": "`4`",
5397
- "description": "Column Num",
5363
+ "name": "icon",
5364
+ "default": "-",
5365
+ "description": "Icon name or URL",
5398
5366
  "options": [],
5399
5367
  "value": {
5400
- "type": "number | string",
5368
+ "type": "string",
5401
5369
  "kind": "expression"
5402
5370
  }
5403
5371
  },
5404
5372
  {
5405
- "name": "icon-size",
5406
- "default": "`28px`",
5407
- "description": "Icon size",
5373
+ "name": "icon-prefix",
5374
+ "default": "`van-icon`",
5375
+ "description": "Icon className prefix",
5408
5376
  "options": [],
5409
5377
  "value": {
5410
- "type": "number | string",
5378
+ "type": "string",
5411
5379
  "kind": "expression"
5412
5380
  }
5413
5381
  },
5414
5382
  {
5415
- "name": "gutter",
5416
- "default": "`0`",
5417
- "description": "Gutter",
5383
+ "name": "icon-color",
5384
+ "default": "-",
5385
+ "description": "Icon color",
5418
5386
  "options": [],
5419
5387
  "value": {
5420
- "type": "number | string",
5388
+ "type": "string",
5421
5389
  "kind": "expression"
5422
5390
  }
5423
5391
  },
5424
5392
  {
5425
- "name": "border",
5426
- "default": "`true`",
5427
- "description": "Whether to show border",
5393
+ "name": "dot",
5394
+ "default": "`false`",
5395
+ "description": "Whether to show red dot",
5428
5396
  "options": [],
5429
5397
  "value": {
5430
5398
  "type": "boolean",
@@ -5432,49 +5400,49 @@
5432
5400
  }
5433
5401
  },
5434
5402
  {
5435
- "name": "center",
5436
- "default": "`true`",
5437
- "description": "Whether to center content",
5403
+ "name": "badge",
5404
+ "default": "-",
5405
+ "description": "Content of the badge",
5438
5406
  "options": [],
5439
5407
  "value": {
5440
- "type": "boolean",
5408
+ "type": "number | string",
5441
5409
  "kind": "expression"
5442
5410
  }
5443
5411
  },
5444
5412
  {
5445
- "name": "square",
5446
- "default": "`false`",
5447
- "description": "Whether to be square shape",
5413
+ "name": "badge-props",
5414
+ "default": "-",
5415
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
5448
5416
  "options": [],
5449
5417
  "value": {
5450
- "type": "boolean",
5418
+ "type": "BadgeProps",
5451
5419
  "kind": "expression"
5452
5420
  }
5453
5421
  },
5454
5422
  {
5455
- "name": "clickable",
5456
- "default": "`false`",
5457
- "description": "Whether to show click feedback when clicked",
5423
+ "name": "url",
5424
+ "default": "-",
5425
+ "description": "Link URL",
5458
5426
  "options": [],
5459
5427
  "value": {
5460
- "type": "boolean",
5428
+ "type": "string",
5461
5429
  "kind": "expression"
5462
5430
  }
5463
5431
  },
5464
5432
  {
5465
- "name": "direction",
5466
- "default": "`vertical`",
5467
- "description": "Content arrangement direction, can be set to `horizontal`",
5433
+ "name": "to",
5434
+ "default": "-",
5435
+ "description": "Target route of the link, same as to of vue-router",
5468
5436
  "options": [],
5469
5437
  "value": {
5470
- "type": "string",
5438
+ "type": "string | object",
5471
5439
  "kind": "expression"
5472
5440
  }
5473
5441
  },
5474
5442
  {
5475
- "name": "reverse",
5443
+ "name": "replace",
5476
5444
  "default": "`false`",
5477
- "description": "Whether to reverse the position of icon and text",
5445
+ "description": "If true, the navigation will not leave a history record",
5478
5446
  "options": [],
5479
5447
  "value": {
5480
5448
  "type": "boolean",
@@ -5484,48 +5452,50 @@
5484
5452
  ]
5485
5453
  },
5486
5454
  {
5487
- "name": "van-grid-item",
5455
+ "name": "van-form",
5488
5456
  "slots": [
5489
5457
  {
5490
5458
  "name": "default",
5491
- "description": "Custom content"
5492
- },
5493
- {
5494
- "name": "icon",
5495
- "description": "Custom icon"
5496
- },
5497
- {
5498
- "name": "text",
5499
- "description": "Custom text"
5459
+ "description": "Form content"
5500
5460
  }
5501
5461
  ],
5502
5462
  "events": [
5503
5463
  {
5504
- "name": "click",
5505
- "description": "Emitted when component is clicked",
5464
+ "name": "submit",
5465
+ "description": "Emitted after submitting the form and validation passed",
5506
5466
  "arguments": [
5507
5467
  {
5508
- "name": "event",
5509
- "type": "MouseEvent"
5468
+ "name": "values",
5469
+ "type": "object"
5470
+ }
5471
+ ]
5472
+ },
5473
+ {
5474
+ "name": "failed",
5475
+ "description": "Emitted after submitting the form and validation failed",
5476
+ "arguments": [
5477
+ {
5478
+ "name": "errorInfo",
5479
+ "type": "{ values: object, errors: object[] }"
5510
5480
  }
5511
5481
  ]
5512
5482
  }
5513
5483
  ],
5514
5484
  "attributes": [
5515
5485
  {
5516
- "name": "text",
5517
- "default": "-",
5518
- "description": "Text",
5486
+ "name": "label-width",
5487
+ "default": "`6.2em`",
5488
+ "description": "Field label width",
5519
5489
  "options": [],
5520
5490
  "value": {
5521
- "type": "string",
5491
+ "type": "number | string",
5522
5492
  "kind": "expression"
5523
5493
  }
5524
5494
  },
5525
5495
  {
5526
- "name": "icon",
5527
- "default": "-",
5528
- "description": "Icon name or URL",
5496
+ "name": "label-align",
5497
+ "default": "`left`",
5498
+ "description": "Field label align, can be set to `center` `right`",
5529
5499
  "options": [],
5530
5500
  "value": {
5531
5501
  "type": "string",
@@ -5533,9 +5503,9 @@
5533
5503
  }
5534
5504
  },
5535
5505
  {
5536
- "name": "icon-prefix",
5537
- "default": "`van-icon`",
5538
- "description": "Icon className prefix",
5506
+ "name": "input-align",
5507
+ "default": "`left`",
5508
+ "description": "Field input align, can be set to `center` `right`",
5539
5509
  "options": [],
5540
5510
  "value": {
5541
5511
  "type": "string",
@@ -5543,9 +5513,9 @@
5543
5513
  }
5544
5514
  },
5545
5515
  {
5546
- "name": "icon-color",
5547
- "default": "-",
5548
- "description": "Icon color",
5516
+ "name": "error-message-align",
5517
+ "default": "`left`",
5518
+ "description": "Error message align, can be set to `center` `right`",
5549
5519
  "options": [],
5550
5520
  "value": {
5551
5521
  "type": "string",
@@ -5553,9 +5523,19 @@
5553
5523
  }
5554
5524
  },
5555
5525
  {
5556
- "name": "dot",
5526
+ "name": "validate-trigger",
5527
+ "default": "`onBlur`",
5528
+ "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
5529
+ "options": [],
5530
+ "value": {
5531
+ "type": "string | string[]",
5532
+ "kind": "expression"
5533
+ }
5534
+ },
5535
+ {
5536
+ "name": "colon",
5557
5537
  "default": "`false`",
5558
- "description": "Whether to show red dot",
5538
+ "description": "Whether to display colon after label",
5559
5539
  "options": [],
5560
5540
  "value": {
5561
5541
  "type": "boolean",
@@ -5563,49 +5543,69 @@
5563
5543
  }
5564
5544
  },
5565
5545
  {
5566
- "name": "badge",
5567
- "default": "-",
5568
- "description": "Content of the badge",
5546
+ "name": "disabled",
5547
+ "default": "`false`",
5548
+ "description": "Whether to disable form",
5569
5549
  "options": [],
5570
5550
  "value": {
5571
- "type": "number | string",
5551
+ "type": "boolean",
5572
5552
  "kind": "expression"
5573
5553
  }
5574
5554
  },
5575
5555
  {
5576
- "name": "badge-props",
5577
- "default": "-",
5578
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
5556
+ "name": "readonly",
5557
+ "default": "`false`",
5558
+ "description": "Whether to be readonly",
5579
5559
  "options": [],
5580
5560
  "value": {
5581
- "type": "BadgeProps",
5561
+ "type": "boolean",
5582
5562
  "kind": "expression"
5583
5563
  }
5584
5564
  },
5585
5565
  {
5586
- "name": "url",
5587
- "default": "-",
5588
- "description": "Link URL",
5566
+ "name": "validate-first",
5567
+ "default": "`false`",
5568
+ "description": "Whether to stop the validation when a rule fails",
5589
5569
  "options": [],
5590
5570
  "value": {
5591
- "type": "string",
5571
+ "type": "boolean",
5592
5572
  "kind": "expression"
5593
5573
  }
5594
5574
  },
5595
5575
  {
5596
- "name": "to",
5597
- "default": "-",
5598
- "description": "Target route of the link, same as to of vue-router",
5576
+ "name": "scroll-to-error",
5577
+ "default": "`false`",
5578
+ "description": "Whether to scroll to the error field when validation failed",
5599
5579
  "options": [],
5600
5580
  "value": {
5601
- "type": "string | object",
5581
+ "type": "boolean",
5602
5582
  "kind": "expression"
5603
5583
  }
5604
5584
  },
5605
5585
  {
5606
- "name": "replace",
5586
+ "name": "show-error",
5607
5587
  "default": "`false`",
5608
- "description": "If true, the navigation will not leave a history record",
5588
+ "description": "Whether to highlight input when validation failed",
5589
+ "options": [],
5590
+ "value": {
5591
+ "type": "boolean",
5592
+ "kind": "expression"
5593
+ }
5594
+ },
5595
+ {
5596
+ "name": "show-error-message",
5597
+ "default": "`true`",
5598
+ "description": "Whether to show error message when validation failed",
5599
+ "options": [],
5600
+ "value": {
5601
+ "type": "boolean",
5602
+ "kind": "expression"
5603
+ }
5604
+ },
5605
+ {
5606
+ "name": "submit-on-enter",
5607
+ "default": "`true`",
5608
+ "description": "Whether to submit form on enter",
5609
5609
  "options": [],
5610
5610
  "value": {
5611
5611
  "type": "boolean",
@@ -6951,63 +6951,60 @@
6951
6951
  ]
6952
6952
  },
6953
6953
  {
6954
- "name": "van-pagination",
6954
+ "name": "van-overlay",
6955
6955
  "slots": [
6956
6956
  {
6957
- "name": "page",
6958
- "description": "Custom pagination item"
6959
- },
6960
- {
6961
- "name": "prev-text",
6962
- "description": "Custom prev text"
6963
- },
6964
- {
6965
- "name": "next-text",
6966
- "description": "Custom next text"
6957
+ "name": "default",
6958
+ "description": "Default slot"
6967
6959
  }
6968
6960
  ],
6969
6961
  "events": [
6970
6962
  {
6971
- "name": "change",
6972
- "description": "Emitted when current page changed",
6973
- "arguments": []
6963
+ "name": "click",
6964
+ "description": "Emitted when component is clicked",
6965
+ "arguments": [
6966
+ {
6967
+ "name": "event",
6968
+ "type": "MouseEvent"
6969
+ }
6970
+ ]
6974
6971
  }
6975
6972
  ],
6976
6973
  "attributes": [
6977
6974
  {
6978
- "name": "v-model",
6979
- "default": "-",
6980
- "description": "Current page number",
6975
+ "name": "show",
6976
+ "default": "`false`",
6977
+ "description": "Whether to show overlay",
6981
6978
  "options": [],
6982
6979
  "value": {
6983
- "type": "number",
6980
+ "type": "boolean",
6984
6981
  "kind": "expression"
6985
6982
  }
6986
6983
  },
6987
6984
  {
6988
- "name": "mode",
6989
- "default": "`multi`",
6990
- "description": "Mode, can be set to `simple` `multi`",
6985
+ "name": "z-index",
6986
+ "default": "`1`",
6987
+ "description": "z-index",
6991
6988
  "options": [],
6992
6989
  "value": {
6993
- "type": "string",
6990
+ "type": "number | string",
6994
6991
  "kind": "expression"
6995
6992
  }
6996
6993
  },
6997
6994
  {
6998
- "name": "prev-text",
6999
- "default": "`Previous`",
7000
- "description": "Previous text",
6995
+ "name": "duration",
6996
+ "default": "`0.3`",
6997
+ "description": "Animation duration",
7001
6998
  "options": [],
7002
6999
  "value": {
7003
- "type": "string",
7000
+ "type": "number | string",
7004
7001
  "kind": "expression"
7005
7002
  }
7006
7003
  },
7007
7004
  {
7008
- "name": "next-text",
7009
- "default": "`Next`",
7010
- "description": "Next text",
7005
+ "name": "class-name",
7006
+ "default": "-",
7007
+ "description": "ClassName",
7011
7008
  "options": [],
7012
7009
  "value": {
7013
7010
  "type": "string",
@@ -7015,102 +7012,105 @@
7015
7012
  }
7016
7013
  },
7017
7014
  {
7018
- "name": "total-items",
7019
- "default": "`0`",
7020
- "description": "Total items",
7015
+ "name": "custom-class",
7016
+ "default": "-",
7017
+ "description": "Custom style",
7021
7018
  "options": [],
7022
7019
  "value": {
7023
- "type": "number | string",
7020
+ "type": "object",
7024
7021
  "kind": "expression"
7025
7022
  }
7026
7023
  },
7027
7024
  {
7028
- "name": "items-per-page",
7029
- "default": "`10`",
7030
- "description": "Item number per page",
7025
+ "name": "lock-scroll",
7026
+ "default": "`true`",
7027
+ "description": "Whether to lock background scroll",
7031
7028
  "options": [],
7032
7029
  "value": {
7033
- "type": "number | string",
7030
+ "type": "boolean",
7034
7031
  "kind": "expression"
7035
7032
  }
7036
7033
  },
7037
7034
  {
7038
- "name": "page-count",
7039
- "default": "`-`",
7040
- "description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
7035
+ "name": "lazy-render",
7036
+ "default": "`true`",
7037
+ "description": "Whether to lazy render util appeared",
7041
7038
  "options": [],
7042
7039
  "value": {
7043
- "type": "number | string",
7040
+ "type": "boolean",
7044
7041
  "kind": "expression"
7045
7042
  }
7043
+ }
7044
+ ]
7045
+ },
7046
+ {
7047
+ "name": "van-pagination",
7048
+ "slots": [
7049
+ {
7050
+ "name": "page",
7051
+ "description": "Custom pagination item"
7046
7052
  },
7047
7053
  {
7048
- "name": "show-page-size",
7049
- "default": "`5`",
7050
- "description": "Count of page size to show",
7054
+ "name": "prev-text",
7055
+ "description": "Custom prev text"
7056
+ },
7057
+ {
7058
+ "name": "next-text",
7059
+ "description": "Custom next text"
7060
+ }
7061
+ ],
7062
+ "events": [
7063
+ {
7064
+ "name": "change",
7065
+ "description": "Emitted when current page changed",
7066
+ "arguments": []
7067
+ }
7068
+ ],
7069
+ "attributes": [
7070
+ {
7071
+ "name": "v-model",
7072
+ "default": "-",
7073
+ "description": "Current page number",
7051
7074
  "options": [],
7052
7075
  "value": {
7053
- "type": "number | string",
7076
+ "type": "number",
7054
7077
  "kind": "expression"
7055
7078
  }
7056
7079
  },
7057
7080
  {
7058
- "name": "force-ellipses",
7059
- "default": "`false`",
7060
- "description": "Whether to show ellipses",
7081
+ "name": "mode",
7082
+ "default": "`multi`",
7083
+ "description": "Mode, can be set to `simple` `multi`",
7061
7084
  "options": [],
7062
7085
  "value": {
7063
- "type": "boolean",
7086
+ "type": "string",
7064
7087
  "kind": "expression"
7065
7088
  }
7066
- }
7067
- ]
7068
- },
7069
- {
7070
- "name": "van-overlay",
7071
- "slots": [
7072
- {
7073
- "name": "default",
7074
- "description": "Default slot"
7075
- }
7076
- ],
7077
- "events": [
7078
- {
7079
- "name": "click",
7080
- "description": "Emitted when component is clicked",
7081
- "arguments": [
7082
- {
7083
- "name": "event",
7084
- "type": "MouseEvent"
7085
- }
7086
- ]
7087
- }
7088
- ],
7089
- "attributes": [
7089
+ },
7090
7090
  {
7091
- "name": "show",
7092
- "default": "`false`",
7093
- "description": "Whether to show overlay",
7091
+ "name": "prev-text",
7092
+ "default": "`Previous`",
7093
+ "description": "Previous text",
7094
7094
  "options": [],
7095
7095
  "value": {
7096
- "type": "boolean",
7096
+ "type": "string",
7097
7097
  "kind": "expression"
7098
7098
  }
7099
7099
  },
7100
7100
  {
7101
- "name": "z-index",
7102
- "default": "`1`",
7103
- "description": "z-index",
7101
+ "name": "next-text",
7102
+ "default": "`Next`",
7103
+ "description": "Next text",
7104
7104
  "options": [],
7105
7105
  "value": {
7106
- "type": "number | string",
7106
+ "type": "string",
7107
7107
  "kind": "expression"
7108
7108
  }
7109
7109
  },
7110
7110
  {
7111
- "name": "duration",
7112
- "default": "`0.3`",
7113
- "description": "Animation duration",
7111
+ "name": "total-items",
7112
+ "default": "`0`",
7113
+ "description": "Total items",
7114
7114
  "options": [],
7115
7115
  "value": {
7116
7116
  "type": "number | string",
@@ -7118,39 +7118,39 @@
7118
7118
  }
7119
7119
  },
7120
7120
  {
7121
- "name": "class-name",
7122
- "default": "-",
7123
- "description": "ClassName",
7121
+ "name": "items-per-page",
7122
+ "default": "`10`",
7123
+ "description": "Item number per page",
7124
7124
  "options": [],
7125
7125
  "value": {
7126
- "type": "string",
7126
+ "type": "number | string",
7127
7127
  "kind": "expression"
7128
7128
  }
7129
7129
  },
7130
7130
  {
7131
- "name": "custom-class",
7132
- "default": "-",
7133
- "description": "Custom style",
7131
+ "name": "page-count",
7132
+ "default": "`-`",
7133
+ "description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
7134
7134
  "options": [],
7135
7135
  "value": {
7136
- "type": "object",
7136
+ "type": "number | string",
7137
7137
  "kind": "expression"
7138
7138
  }
7139
7139
  },
7140
7140
  {
7141
- "name": "lock-scroll",
7142
- "default": "`true`",
7143
- "description": "Whether to lock background scroll",
7141
+ "name": "show-page-size",
7142
+ "default": "`5`",
7143
+ "description": "Count of page size to show",
7144
7144
  "options": [],
7145
7145
  "value": {
7146
- "type": "boolean",
7146
+ "type": "number | string",
7147
7147
  "kind": "expression"
7148
7148
  }
7149
7149
  },
7150
7150
  {
7151
- "name": "lazy-render",
7152
- "default": "`true`",
7153
- "description": "Whether to lazy render util appeared",
7151
+ "name": "force-ellipses",
7152
+ "default": "`false`",
7153
+ "description": "Whether to show ellipses",
7154
7154
  "options": [],
7155
7155
  "value": {
7156
7156
  "type": "boolean",
@@ -7677,74 +7677,54 @@
7677
7677
  ]
7678
7678
  },
7679
7679
  {
7680
- "name": "van-popup",
7680
+ "name": "van-pull-refresh",
7681
7681
  "slots": [
7682
7682
  {
7683
7683
  "name": "default",
7684
- "description": "Content of Popup"
7684
+ "description": "Default slot"
7685
7685
  },
7686
7686
  {
7687
- "name": "overlay-content",
7688
- "description": "Content of Popup overlay"
7689
- }
7690
- ],
7691
- "events": [
7692
- {
7693
- "name": "click",
7694
- "description": "Emitted when Popup is clicked",
7695
- "arguments": [
7696
- {
7697
- "name": "event",
7698
- "type": "MouseEvent"
7699
- }
7700
- ]
7687
+ "name": "normal",
7688
+ "description": "Content of head when at normal status"
7701
7689
  },
7702
7690
  {
7703
- "name": "click-overlay",
7704
- "description": "Emitted when overlay is clicked",
7705
- "arguments": [
7706
- {
7707
- "name": "event",
7708
- "type": "MouseEvent"
7709
- }
7710
- ]
7691
+ "name": "pulling",
7692
+ "description": "Content of head when at pulling"
7711
7693
  },
7712
7694
  {
7713
- "name": "click-close-icon",
7714
- "description": "Emitted when close icon is clicked",
7715
- "arguments": [
7716
- {
7717
- "name": "event",
7718
- "type": "MouseEvent"
7719
- }
7720
- ]
7695
+ "name": "loosing",
7696
+ "description": "Content of head when at loosing"
7721
7697
  },
7722
7698
  {
7723
- "name": "open",
7724
- "description": "Emitted when opening Popup",
7725
- "arguments": []
7699
+ "name": "loading",
7700
+ "description": "Content of head when at loading"
7726
7701
  },
7727
7702
  {
7728
- "name": "close",
7729
- "description": "Emitted when closing Popup",
7730
- "arguments": []
7731
- },
7703
+ "name": "success",
7704
+ "description": "Content of head when succeed"
7705
+ }
7706
+ ],
7707
+ "events": [
7732
7708
  {
7733
- "name": "opened",
7734
- "description": "Emitted when Popup is opened",
7709
+ "name": "refresh",
7710
+ "description": "Emitted after pulling refresh",
7735
7711
  "arguments": []
7736
7712
  },
7737
7713
  {
7738
- "name": "closed",
7739
- "description": "Emitted when Popup is closed",
7740
- "arguments": []
7714
+ "name": "change",
7715
+ "description": "Emitted when draging or status changed",
7716
+ "arguments": [
7717
+ {
7718
+ "name": "{ status: string, distance: number }"
7719
+ }
7720
+ ]
7741
7721
  }
7742
7722
  ],
7743
7723
  "attributes": [
7744
7724
  {
7745
- "name": "v-model:show",
7746
- "default": "`false`",
7747
- "description": "Whether to show popup",
7725
+ "name": "v-model",
7726
+ "default": "-",
7727
+ "description": "Loading status",
7748
7728
  "options": [],
7749
7729
  "value": {
7750
7730
  "type": "boolean",
@@ -7752,19 +7732,19 @@
7752
7732
  }
7753
7733
  },
7754
7734
  {
7755
- "name": "overlay",
7756
- "default": "`true`",
7757
- "description": "Whether to show overlay",
7735
+ "name": "pulling-text",
7736
+ "default": "`Pull to refresh...`",
7737
+ "description": "Text to show when pulling",
7758
7738
  "options": [],
7759
7739
  "value": {
7760
- "type": "boolean",
7740
+ "type": "string",
7761
7741
  "kind": "expression"
7762
7742
  }
7763
7743
  },
7764
7744
  {
7765
- "name": "position",
7766
- "default": "`center`",
7767
- "description": "Can be set to `top` `bottom` `right` `left`",
7745
+ "name": "loosing-text",
7746
+ "default": "`Loose to refresh...`",
7747
+ "description": "Text to show when loosing",
7768
7748
  "options": [],
7769
7749
  "value": {
7770
7750
  "type": "string",
@@ -7772,29 +7752,29 @@
7772
7752
  }
7773
7753
  },
7774
7754
  {
7775
- "name": "overlay-class",
7776
- "default": "-",
7777
- "description": "Custom overlay class",
7755
+ "name": "loading-text",
7756
+ "default": "`Loading...`",
7757
+ "description": "Text to show when loading",
7778
7758
  "options": [],
7779
7759
  "value": {
7780
- "type": "string | Array | object",
7760
+ "type": "string",
7781
7761
  "kind": "expression"
7782
7762
  }
7783
7763
  },
7784
7764
  {
7785
- "name": "overlay-style",
7765
+ "name": "success-text",
7786
7766
  "default": "-",
7787
- "description": "Custom overlay style",
7767
+ "description": "Text to show when loading success",
7788
7768
  "options": [],
7789
7769
  "value": {
7790
- "type": "object",
7770
+ "type": "string",
7791
7771
  "kind": "expression"
7792
7772
  }
7793
7773
  },
7794
7774
  {
7795
- "name": "duration",
7796
- "default": "`0.3`",
7797
- "description": "Transition duration, unit second",
7775
+ "name": "success-duration",
7776
+ "default": "`500`",
7777
+ "description": "Success text display duration(ms)",
7798
7778
  "options": [],
7799
7779
  "value": {
7800
7780
  "type": "number | string",
@@ -7802,59 +7782,96 @@
7802
7782
  }
7803
7783
  },
7804
7784
  {
7805
- "name": "round",
7806
- "default": "`false`",
7807
- "description": "Whether to show round corner",
7785
+ "name": "animation-duration",
7786
+ "default": "`300`",
7787
+ "description": "Animation duration",
7808
7788
  "options": [],
7809
7789
  "value": {
7810
- "type": "boolean",
7790
+ "type": "number | string",
7811
7791
  "kind": "expression"
7812
7792
  }
7813
7793
  },
7814
7794
  {
7815
- "name": "lock-scroll",
7816
- "default": "`true`",
7817
- "description": "Whether to lock background scroll",
7795
+ "name": "head-height",
7796
+ "default": "`50`",
7797
+ "description": "Height of head",
7818
7798
  "options": [],
7819
7799
  "value": {
7820
- "type": "boolean",
7800
+ "type": "number | string",
7821
7801
  "kind": "expression"
7822
7802
  }
7823
7803
  },
7824
7804
  {
7825
- "name": "lazy-render",
7826
- "default": "`true`",
7827
- "description": "Whether to lazy render util appeared",
7805
+ "name": "pull-distance",
7806
+ "default": "same as `head-height`",
7807
+ "description": "The distance to trigger the pull refresh",
7828
7808
  "options": [],
7829
7809
  "value": {
7830
- "type": "boolean",
7810
+ "type": "number | string",
7831
7811
  "kind": "expression"
7832
7812
  }
7833
7813
  },
7834
7814
  {
7835
- "name": "close-on-popstate",
7815
+ "name": "disabled",
7836
7816
  "default": "`false`",
7837
- "description": "Whether to close when popstate",
7817
+ "description": "Whether to disable pull refresh",
7838
7818
  "options": [],
7839
7819
  "value": {
7840
7820
  "type": "boolean",
7841
7821
  "kind": "expression"
7842
7822
  }
7823
+ }
7824
+ ]
7825
+ },
7826
+ {
7827
+ "name": "van-radio",
7828
+ "slots": [
7829
+ {
7830
+ "name": "default",
7831
+ "description": "Custom label"
7832
+ },
7833
+ {
7834
+ "name": "icon",
7835
+ "description": "Custom icon"
7836
+ }
7837
+ ],
7838
+ "events": [
7839
+ {
7840
+ "name": "click",
7841
+ "description": "Emitted when radio is clicked",
7842
+ "arguments": [
7843
+ {
7844
+ "name": "event",
7845
+ "type": "MouseEvent"
7846
+ }
7847
+ ]
7848
+ }
7849
+ ],
7850
+ "attributes": [
7851
+ {
7852
+ "name": "name",
7853
+ "default": "-",
7854
+ "description": "Radio name",
7855
+ "options": [],
7856
+ "value": {
7857
+ "type": "any",
7858
+ "kind": "expression"
7859
+ }
7843
7860
  },
7844
7861
  {
7845
- "name": "close-on-click-overlay",
7846
- "default": "`true`",
7847
- "description": "Whether to close when overlay is clicked",
7862
+ "name": "shape",
7863
+ "default": "`round`",
7864
+ "description": "Can be set to `square`",
7848
7865
  "options": [],
7849
7866
  "value": {
7850
- "type": "boolean",
7867
+ "type": "string",
7851
7868
  "kind": "expression"
7852
7869
  }
7853
7870
  },
7854
7871
  {
7855
- "name": "closeable",
7872
+ "name": "disabled",
7856
7873
  "default": "`false`",
7857
- "description": "Whether to show close icon",
7874
+ "description": "Whether to disable radio",
7858
7875
  "options": [],
7859
7876
  "value": {
7860
7877
  "type": "boolean",
@@ -7862,19 +7879,19 @@
7862
7879
  }
7863
7880
  },
7864
7881
  {
7865
- "name": "close-icon",
7866
- "default": "`cross`",
7867
- "description": "Close icon name",
7882
+ "name": "label-disabled",
7883
+ "default": "`false`",
7884
+ "description": "Whether to disable label click",
7868
7885
  "options": [],
7869
7886
  "value": {
7870
- "type": "string",
7887
+ "type": "boolean",
7871
7888
  "kind": "expression"
7872
7889
  }
7873
7890
  },
7874
7891
  {
7875
- "name": "close-icon-position",
7876
- "default": "`top-right`",
7877
- "description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
7892
+ "name": "label-position",
7893
+ "default": "`right`",
7894
+ "description": "Can be set to `left`",
7878
7895
  "options": [],
7879
7896
  "value": {
7880
7897
  "type": "string",
@@ -7882,39 +7899,57 @@
7882
7899
  }
7883
7900
  },
7884
7901
  {
7885
- "name": "before-close",
7886
- "default": "-",
7887
- "description": "Callback function before close",
7902
+ "name": "icon-size",
7903
+ "default": "`20px`",
7904
+ "description": "Icon size",
7888
7905
  "options": [],
7889
7906
  "value": {
7890
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
7907
+ "type": "number | string",
7891
7908
  "kind": "expression"
7892
7909
  }
7893
7910
  },
7894
7911
  {
7895
- "name": "icon-prefix",
7896
- "default": "`van-icon`",
7897
- "description": "Icon className prefix",
7912
+ "name": "checked-color",
7913
+ "default": "`#1989fa`",
7914
+ "description": "Checked color",
7898
7915
  "options": [],
7899
7916
  "value": {
7900
7917
  "type": "string",
7901
7918
  "kind": "expression"
7902
7919
  }
7903
- },
7920
+ }
7921
+ ]
7922
+ },
7923
+ {
7924
+ "name": "van-radio-group",
7925
+ "slots": [],
7926
+ "events": [
7904
7927
  {
7905
- "name": "transition",
7928
+ "name": "change",
7929
+ "description": "Emitted when value changed",
7930
+ "arguments": [
7931
+ {
7932
+ "name": "name",
7933
+ "type": "string"
7934
+ }
7935
+ ]
7936
+ }
7937
+ ],
7938
+ "attributes": [
7939
+ {
7940
+ "name": "v-model",
7906
7941
  "default": "-",
7907
- "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
7942
+ "description": "Name of checked radio",
7908
7943
  "options": [],
7909
7944
  "value": {
7910
- "type": "string",
7945
+ "type": "any",
7911
7946
  "kind": "expression"
7912
7947
  }
7913
7948
  },
7914
7949
  {
7915
- "name": "transition-appear",
7950
+ "name": "disabled",
7916
7951
  "default": "`false`",
7917
- "description": "Whether to apply transition on initial render",
7952
+ "description": "Disable all radios",
7918
7953
  "options": [],
7919
7954
  "value": {
7920
7955
  "type": "boolean",
@@ -7922,32 +7957,32 @@
7922
7957
  }
7923
7958
  },
7924
7959
  {
7925
- "name": "teleport",
7926
- "default": "-",
7927
- "description": "Specifies a target element where Popup will be mounted",
7960
+ "name": "direction",
7961
+ "default": "`vertical`",
7962
+ "description": "Direction, can be set to `horizontal`",
7928
7963
  "options": [],
7929
7964
  "value": {
7930
- "type": "string | Element",
7965
+ "type": "string",
7931
7966
  "kind": "expression"
7932
7967
  }
7933
7968
  },
7934
7969
  {
7935
- "name": "safe-area-inset-top",
7936
- "default": "`false`",
7937
- "description": "Whether to enable top safe area adaptation",
7970
+ "name": "icon-size",
7971
+ "default": "`20px`",
7972
+ "description": "Icon size of all radios",
7938
7973
  "options": [],
7939
7974
  "value": {
7940
- "type": "boolean",
7975
+ "type": "number | string",
7941
7976
  "kind": "expression"
7942
7977
  }
7943
7978
  },
7944
7979
  {
7945
- "name": "safe-area-inset-bottom",
7946
- "default": "`false`",
7947
- "description": "Whether to enable bottom safe area adaptation",
7980
+ "name": "checked-color",
7981
+ "default": "`#1989fa`",
7982
+ "description": "Checked color of all radios",
7948
7983
  "options": [],
7949
7984
  "value": {
7950
- "type": "boolean",
7985
+ "type": "string",
7951
7986
  "kind": "expression"
7952
7987
  }
7953
7988
  }
@@ -8051,45 +8086,74 @@
8051
8086
  ]
8052
8087
  },
8053
8088
  {
8054
- "name": "van-pull-refresh",
8089
+ "name": "van-popup",
8055
8090
  "slots": [
8056
8091
  {
8057
8092
  "name": "default",
8058
- "description": "Default slot"
8093
+ "description": "Content of Popup"
8059
8094
  },
8060
8095
  {
8061
- "name": "normal",
8062
- "description": "Content of head when at normal status"
8096
+ "name": "overlay-content",
8097
+ "description": "Content of Popup overlay"
8098
+ }
8099
+ ],
8100
+ "events": [
8101
+ {
8102
+ "name": "click",
8103
+ "description": "Emitted when Popup is clicked",
8104
+ "arguments": [
8105
+ {
8106
+ "name": "event",
8107
+ "type": "MouseEvent"
8108
+ }
8109
+ ]
8063
8110
  },
8064
8111
  {
8065
- "name": "pulling",
8066
- "description": "Content of head when at pulling"
8112
+ "name": "click-overlay",
8113
+ "description": "Emitted when overlay is clicked",
8114
+ "arguments": [
8115
+ {
8116
+ "name": "event",
8117
+ "type": "MouseEvent"
8118
+ }
8119
+ ]
8067
8120
  },
8068
8121
  {
8069
- "name": "loosing",
8070
- "description": "Content of head when at loosing"
8122
+ "name": "click-close-icon",
8123
+ "description": "Emitted when close icon is clicked",
8124
+ "arguments": [
8125
+ {
8126
+ "name": "event",
8127
+ "type": "MouseEvent"
8128
+ }
8129
+ ]
8071
8130
  },
8072
8131
  {
8073
- "name": "loading",
8074
- "description": "Content of head when at loading"
8132
+ "name": "open",
8133
+ "description": "Emitted when opening Popup",
8134
+ "arguments": []
8075
8135
  },
8076
8136
  {
8077
- "name": "success",
8078
- "description": "Content of head when succeed"
8079
- }
8080
- ],
8081
- "events": [
8137
+ "name": "close",
8138
+ "description": "Emitted when closing Popup",
8139
+ "arguments": []
8140
+ },
8082
8141
  {
8083
- "name": "refresh",
8084
- "description": "Emitted after pulling refresh",
8142
+ "name": "opened",
8143
+ "description": "Emitted when Popup is opened",
8144
+ "arguments": []
8145
+ },
8146
+ {
8147
+ "name": "closed",
8148
+ "description": "Emitted when Popup is closed",
8085
8149
  "arguments": []
8086
8150
  }
8087
8151
  ],
8088
8152
  "attributes": [
8089
8153
  {
8090
- "name": "v-model",
8091
- "default": "-",
8092
- "description": "Loading status",
8154
+ "name": "v-model:show",
8155
+ "default": "`false`",
8156
+ "description": "Whether to show popup",
8093
8157
  "options": [],
8094
8158
  "value": {
8095
8159
  "type": "boolean",
@@ -8097,29 +8161,19 @@
8097
8161
  }
8098
8162
  },
8099
8163
  {
8100
- "name": "pulling-text",
8101
- "default": "`Pull to refresh...`",
8102
- "description": "Text to show when pulling",
8103
- "options": [],
8104
- "value": {
8105
- "type": "string",
8106
- "kind": "expression"
8107
- }
8108
- },
8109
- {
8110
- "name": "loosing-text",
8111
- "default": "`Loose to refresh...`",
8112
- "description": "Text to show when loosing",
8164
+ "name": "overlay",
8165
+ "default": "`true`",
8166
+ "description": "Whether to show overlay",
8113
8167
  "options": [],
8114
8168
  "value": {
8115
- "type": "string",
8169
+ "type": "boolean",
8116
8170
  "kind": "expression"
8117
8171
  }
8118
8172
  },
8119
8173
  {
8120
- "name": "loading-text",
8121
- "default": "`Loading...`",
8122
- "description": "Text to show when loading",
8174
+ "name": "position",
8175
+ "default": "`center`",
8176
+ "description": "Can be set to `top` `bottom` `right` `left`",
8123
8177
  "options": [],
8124
8178
  "value": {
8125
8179
  "type": "string",
@@ -8127,29 +8181,29 @@
8127
8181
  }
8128
8182
  },
8129
8183
  {
8130
- "name": "success-text",
8184
+ "name": "overlay-class",
8131
8185
  "default": "-",
8132
- "description": "Text to show when loading success",
8186
+ "description": "Custom overlay class",
8133
8187
  "options": [],
8134
8188
  "value": {
8135
- "type": "string",
8189
+ "type": "string | Array | object",
8136
8190
  "kind": "expression"
8137
8191
  }
8138
8192
  },
8139
8193
  {
8140
- "name": "success-duration",
8141
- "default": "`500`",
8142
- "description": "Success text display duration(ms)",
8194
+ "name": "overlay-style",
8195
+ "default": "-",
8196
+ "description": "Custom overlay style",
8143
8197
  "options": [],
8144
8198
  "value": {
8145
- "type": "number | string",
8199
+ "type": "object",
8146
8200
  "kind": "expression"
8147
8201
  }
8148
8202
  },
8149
8203
  {
8150
- "name": "animation-duration",
8151
- "default": "`300`",
8152
- "description": "Animation duration",
8204
+ "name": "duration",
8205
+ "default": "`0.3`",
8206
+ "description": "Transition duration, unit second",
8153
8207
  "options": [],
8154
8208
  "value": {
8155
8209
  "type": "number | string",
@@ -8157,86 +8211,59 @@
8157
8211
  }
8158
8212
  },
8159
8213
  {
8160
- "name": "head-height",
8161
- "default": "`50`",
8162
- "description": "Height of head",
8214
+ "name": "round",
8215
+ "default": "`false`",
8216
+ "description": "Whether to show round corner",
8163
8217
  "options": [],
8164
8218
  "value": {
8165
- "type": "number | string",
8219
+ "type": "boolean",
8166
8220
  "kind": "expression"
8167
8221
  }
8168
8222
  },
8169
8223
  {
8170
- "name": "pull-distance",
8171
- "default": "same as `head-height`",
8172
- "description": "The distance to trigger the pull refresh",
8224
+ "name": "lock-scroll",
8225
+ "default": "`true`",
8226
+ "description": "Whether to lock background scroll",
8173
8227
  "options": [],
8174
8228
  "value": {
8175
- "type": "number | string",
8229
+ "type": "boolean",
8176
8230
  "kind": "expression"
8177
8231
  }
8178
8232
  },
8179
8233
  {
8180
- "name": "disabled",
8181
- "default": "`false`",
8182
- "description": "Whether to disable pull refresh",
8234
+ "name": "lazy-render",
8235
+ "default": "`true`",
8236
+ "description": "Whether to lazy render util appeared",
8183
8237
  "options": [],
8184
8238
  "value": {
8185
8239
  "type": "boolean",
8186
8240
  "kind": "expression"
8187
8241
  }
8188
- }
8189
- ]
8190
- },
8191
- {
8192
- "name": "van-radio",
8193
- "slots": [
8194
- {
8195
- "name": "default",
8196
- "description": "Custom label"
8197
8242
  },
8198
8243
  {
8199
- "name": "icon",
8200
- "description": "Custom icon"
8201
- }
8202
- ],
8203
- "events": [
8204
- {
8205
- "name": "click",
8206
- "description": "Emitted when radio is clicked",
8207
- "arguments": [
8208
- {
8209
- "name": "event",
8210
- "type": "MouseEvent"
8211
- }
8212
- ]
8213
- }
8214
- ],
8215
- "attributes": [
8216
- {
8217
- "name": "name",
8218
- "default": "-",
8219
- "description": "Radio name",
8244
+ "name": "close-on-popstate",
8245
+ "default": "`false`",
8246
+ "description": "Whether to close when popstate",
8220
8247
  "options": [],
8221
8248
  "value": {
8222
- "type": "any",
8249
+ "type": "boolean",
8223
8250
  "kind": "expression"
8224
8251
  }
8225
8252
  },
8226
8253
  {
8227
- "name": "shape",
8228
- "default": "`round`",
8229
- "description": "Can be set to `square`",
8254
+ "name": "close-on-click-overlay",
8255
+ "default": "`true`",
8256
+ "description": "Whether to close when overlay is clicked",
8230
8257
  "options": [],
8231
8258
  "value": {
8232
- "type": "string",
8259
+ "type": "boolean",
8233
8260
  "kind": "expression"
8234
8261
  }
8235
8262
  },
8236
8263
  {
8237
- "name": "disabled",
8264
+ "name": "closeable",
8238
8265
  "default": "`false`",
8239
- "description": "Whether to disable radio",
8266
+ "description": "Whether to show close icon",
8240
8267
  "options": [],
8241
8268
  "value": {
8242
8269
  "type": "boolean",
@@ -8244,19 +8271,19 @@
8244
8271
  }
8245
8272
  },
8246
8273
  {
8247
- "name": "label-disabled",
8248
- "default": "`false`",
8249
- "description": "Whether to disable label click",
8274
+ "name": "close-icon",
8275
+ "default": "`cross`",
8276
+ "description": "Close icon name",
8250
8277
  "options": [],
8251
8278
  "value": {
8252
- "type": "boolean",
8279
+ "type": "string",
8253
8280
  "kind": "expression"
8254
8281
  }
8255
8282
  },
8256
8283
  {
8257
- "name": "label-position",
8258
- "default": "`right`",
8259
- "description": "Can be set to `left`",
8284
+ "name": "close-icon-position",
8285
+ "default": "`top-right`",
8286
+ "description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
8260
8287
  "options": [],
8261
8288
  "value": {
8262
8289
  "type": "string",
@@ -8264,57 +8291,39 @@
8264
8291
  }
8265
8292
  },
8266
8293
  {
8267
- "name": "icon-size",
8268
- "default": "`20px`",
8269
- "description": "Icon size",
8294
+ "name": "before-close",
8295
+ "default": "-",
8296
+ "description": "Callback function before close",
8270
8297
  "options": [],
8271
8298
  "value": {
8272
- "type": "number | string",
8299
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
8273
8300
  "kind": "expression"
8274
8301
  }
8275
8302
  },
8276
8303
  {
8277
- "name": "checked-color",
8278
- "default": "`#1989fa`",
8279
- "description": "Checked color",
8304
+ "name": "icon-prefix",
8305
+ "default": "`van-icon`",
8306
+ "description": "Icon className prefix",
8280
8307
  "options": [],
8281
8308
  "value": {
8282
8309
  "type": "string",
8283
8310
  "kind": "expression"
8284
8311
  }
8285
- }
8286
- ]
8287
- },
8288
- {
8289
- "name": "van-radio-group",
8290
- "slots": [],
8291
- "events": [
8292
- {
8293
- "name": "change",
8294
- "description": "Emitted when value changed",
8295
- "arguments": [
8296
- {
8297
- "name": "name",
8298
- "type": "string"
8299
- }
8300
- ]
8301
- }
8302
- ],
8303
- "attributes": [
8312
+ },
8304
8313
  {
8305
- "name": "v-model",
8314
+ "name": "transition",
8306
8315
  "default": "-",
8307
- "description": "Name of checked radio",
8316
+ "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
8308
8317
  "options": [],
8309
8318
  "value": {
8310
- "type": "any",
8319
+ "type": "string",
8311
8320
  "kind": "expression"
8312
8321
  }
8313
8322
  },
8314
8323
  {
8315
- "name": "disabled",
8324
+ "name": "transition-appear",
8316
8325
  "default": "`false`",
8317
- "description": "Disable all radios",
8326
+ "description": "Whether to apply transition on initial render",
8318
8327
  "options": [],
8319
8328
  "value": {
8320
8329
  "type": "boolean",
@@ -8322,32 +8331,32 @@
8322
8331
  }
8323
8332
  },
8324
8333
  {
8325
- "name": "direction",
8326
- "default": "`vertical`",
8327
- "description": "Direction, can be set to `horizontal`",
8334
+ "name": "teleport",
8335
+ "default": "-",
8336
+ "description": "Specifies a target element where Popup will be mounted",
8328
8337
  "options": [],
8329
8338
  "value": {
8330
- "type": "string",
8339
+ "type": "string | Element",
8331
8340
  "kind": "expression"
8332
8341
  }
8333
8342
  },
8334
8343
  {
8335
- "name": "icon-size",
8336
- "default": "`20px`",
8337
- "description": "Icon size of all radios",
8344
+ "name": "safe-area-inset-top",
8345
+ "default": "`false`",
8346
+ "description": "Whether to enable top safe area adaptation",
8338
8347
  "options": [],
8339
8348
  "value": {
8340
- "type": "number | string",
8349
+ "type": "boolean",
8341
8350
  "kind": "expression"
8342
8351
  }
8343
8352
  },
8344
8353
  {
8345
- "name": "checked-color",
8346
- "default": "`#1989fa`",
8347
- "description": "Checked color of all radios",
8354
+ "name": "safe-area-inset-bottom",
8355
+ "default": "`false`",
8356
+ "description": "Whether to enable bottom safe area adaptation",
8348
8357
  "options": [],
8349
8358
  "value": {
8350
- "type": "string",
8359
+ "type": "boolean",
8351
8360
  "kind": "expression"
8352
8361
  }
8353
8362
  }
@@ -9533,6 +9542,83 @@
9533
9542
  }
9534
9543
  ]
9535
9544
  },
9545
+ {
9546
+ "name": "van-sticky",
9547
+ "slots": [],
9548
+ "events": [
9549
+ {
9550
+ "name": "change",
9551
+ "description": "Emitted when sticky status changed",
9552
+ "arguments": [
9553
+ {
9554
+ "name": "isFixed",
9555
+ "type": "boolean"
9556
+ }
9557
+ ]
9558
+ },
9559
+ {
9560
+ "name": "scroll",
9561
+ "description": "Emitted when scrolling",
9562
+ "arguments": [
9563
+ {
9564
+ "name": "{ scrollTop: number, isFixed: boolean }"
9565
+ }
9566
+ ]
9567
+ }
9568
+ ],
9569
+ "attributes": [
9570
+ {
9571
+ "name": "position",
9572
+ "default": "`top`",
9573
+ "description": "Offset position, can be set to `bottom`",
9574
+ "options": [],
9575
+ "value": {
9576
+ "type": "string",
9577
+ "kind": "expression"
9578
+ }
9579
+ },
9580
+ {
9581
+ "name": "offset-top",
9582
+ "default": "`0`",
9583
+ "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
9584
+ "options": [],
9585
+ "value": {
9586
+ "type": "number | string",
9587
+ "kind": "expression"
9588
+ }
9589
+ },
9590
+ {
9591
+ "name": "offset-bottom",
9592
+ "default": "`0`",
9593
+ "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
9594
+ "options": [],
9595
+ "value": {
9596
+ "type": "number | string",
9597
+ "kind": "expression"
9598
+ }
9599
+ },
9600
+ {
9601
+ "name": "z-index",
9602
+ "default": "`99`",
9603
+ "description": "z-index when sticky",
9604
+ "options": [],
9605
+ "value": {
9606
+ "type": "number | string",
9607
+ "kind": "expression"
9608
+ }
9609
+ },
9610
+ {
9611
+ "name": "container",
9612
+ "default": "-",
9613
+ "description": "Container DOM",
9614
+ "options": [],
9615
+ "value": {
9616
+ "type": "Element",
9617
+ "kind": "expression"
9618
+ }
9619
+ }
9620
+ ]
9621
+ },
9536
9622
  {
9537
9623
  "name": "van-stepper",
9538
9624
  "slots": [],
@@ -9916,97 +10002,20 @@
9916
10002
  "description": "Step content"
9917
10003
  },
9918
10004
  {
9919
- "name": "active-icon",
9920
- "description": "Custom active icon"
9921
- },
9922
- {
9923
- "name": "inactive-icon",
9924
- "description": "Custom inactive icon"
9925
- },
9926
- {
9927
- "name": "finish-icon",
9928
- "description": "Custom finish icon"
9929
- }
9930
- ],
9931
- "events": [],
9932
- "attributes": []
9933
- },
9934
- {
9935
- "name": "van-sticky",
9936
- "slots": [],
9937
- "events": [
9938
- {
9939
- "name": "change",
9940
- "description": "Emitted when sticky status changed",
9941
- "arguments": [
9942
- {
9943
- "name": "isFixed",
9944
- "type": "boolean"
9945
- }
9946
- ]
9947
- },
9948
- {
9949
- "name": "scroll",
9950
- "description": "Emitted when scrolling",
9951
- "arguments": [
9952
- {
9953
- "name": "{ scrollTop: number, isFixed: boolean }"
9954
- }
9955
- ]
9956
- }
9957
- ],
9958
- "attributes": [
9959
- {
9960
- "name": "position",
9961
- "default": "`top`",
9962
- "description": "Offset position, can be set to `bottom`",
9963
- "options": [],
9964
- "value": {
9965
- "type": "string",
9966
- "kind": "expression"
9967
- }
9968
- },
9969
- {
9970
- "name": "offset-top",
9971
- "default": "`0`",
9972
- "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
9973
- "options": [],
9974
- "value": {
9975
- "type": "number | string",
9976
- "kind": "expression"
9977
- }
9978
- },
9979
- {
9980
- "name": "offset-bottom",
9981
- "default": "`0`",
9982
- "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
9983
- "options": [],
9984
- "value": {
9985
- "type": "number | string",
9986
- "kind": "expression"
9987
- }
9988
- },
9989
- {
9990
- "name": "z-index",
9991
- "default": "`99`",
9992
- "description": "z-index when sticky",
9993
- "options": [],
9994
- "value": {
9995
- "type": "number | string",
9996
- "kind": "expression"
9997
- }
9998
- },
9999
- {
10000
- "name": "container",
10001
- "default": "-",
10002
- "description": "Container DOM",
10003
- "options": [],
10004
- "value": {
10005
- "type": "Element",
10006
- "kind": "expression"
10007
- }
10005
+ "name": "active-icon",
10006
+ "description": "Custom active icon"
10007
+ },
10008
+ {
10009
+ "name": "inactive-icon",
10010
+ "description": "Custom inactive icon"
10011
+ },
10012
+ {
10013
+ "name": "finish-icon",
10014
+ "description": "Custom finish icon"
10008
10015
  }
10009
- ]
10016
+ ],
10017
+ "events": [],
10018
+ "attributes": []
10010
10019
  },
10011
10020
  {
10012
10021
  "name": "van-submit-bar",
@@ -10453,6 +10462,123 @@
10453
10462
  }
10454
10463
  ]
10455
10464
  },
10465
+ {
10466
+ "name": "van-switch",
10467
+ "slots": [
10468
+ {
10469
+ "name": "node",
10470
+ "description": "Custom the content of node"
10471
+ },
10472
+ {
10473
+ "name": "background",
10474
+ "description": "Custom the background of switch"
10475
+ }
10476
+ ],
10477
+ "events": [
10478
+ {
10479
+ "name": "change",
10480
+ "description": "Emitted when check status changed",
10481
+ "arguments": [
10482
+ {
10483
+ "name": "value",
10484
+ "type": "any"
10485
+ }
10486
+ ]
10487
+ },
10488
+ {
10489
+ "name": "click",
10490
+ "description": "Emitted when component is clicked",
10491
+ "arguments": [
10492
+ {
10493
+ "name": "event",
10494
+ "type": "MouseEvent"
10495
+ }
10496
+ ]
10497
+ }
10498
+ ],
10499
+ "attributes": [
10500
+ {
10501
+ "name": "v-model",
10502
+ "default": "`false`",
10503
+ "description": "Check status of Switch",
10504
+ "options": [],
10505
+ "value": {
10506
+ "type": "ActiveValue | InactiveValue",
10507
+ "kind": "expression"
10508
+ }
10509
+ },
10510
+ {
10511
+ "name": "loading",
10512
+ "default": "`false`",
10513
+ "description": "Whether to show loading icon",
10514
+ "options": [],
10515
+ "value": {
10516
+ "type": "boolean",
10517
+ "kind": "expression"
10518
+ }
10519
+ },
10520
+ {
10521
+ "name": "disabled",
10522
+ "default": "`false`",
10523
+ "description": "Whether to disable switch",
10524
+ "options": [],
10525
+ "value": {
10526
+ "type": "boolean",
10527
+ "kind": "expression"
10528
+ }
10529
+ },
10530
+ {
10531
+ "name": "size",
10532
+ "default": "`30px`",
10533
+ "description": "Size of switch",
10534
+ "options": [],
10535
+ "value": {
10536
+ "type": "number | string",
10537
+ "kind": "expression"
10538
+ }
10539
+ },
10540
+ {
10541
+ "name": "active-color",
10542
+ "default": "`#1989fa`",
10543
+ "description": "Background color when active",
10544
+ "options": [],
10545
+ "value": {
10546
+ "type": "string",
10547
+ "kind": "expression"
10548
+ }
10549
+ },
10550
+ {
10551
+ "name": "inactive-color",
10552
+ "default": "`white`",
10553
+ "description": "Background color when inactive",
10554
+ "options": [],
10555
+ "value": {
10556
+ "type": "string",
10557
+ "kind": "expression"
10558
+ }
10559
+ },
10560
+ {
10561
+ "name": "active-value",
10562
+ "default": "`true`",
10563
+ "description": "Value when active",
10564
+ "options": [],
10565
+ "value": {
10566
+ "type": "any",
10567
+ "kind": "expression"
10568
+ }
10569
+ },
10570
+ {
10571
+ "name": "inactive-value",
10572
+ "default": "`false`",
10573
+ "description": "Value when inactive",
10574
+ "options": [],
10575
+ "value": {
10576
+ "type": "any",
10577
+ "kind": "expression"
10578
+ }
10579
+ }
10580
+ ]
10581
+ },
10456
10582
  {
10457
10583
  "name": "van-tabs",
10458
10584
  "slots": [
@@ -10846,123 +10972,6 @@
10846
10972
  }
10847
10973
  ]
10848
10974
  },
10849
- {
10850
- "name": "van-switch",
10851
- "slots": [
10852
- {
10853
- "name": "node",
10854
- "description": "Custom the content of node"
10855
- },
10856
- {
10857
- "name": "background",
10858
- "description": "Custom the background of switch"
10859
- }
10860
- ],
10861
- "events": [
10862
- {
10863
- "name": "change",
10864
- "description": "Emitted when check status changed",
10865
- "arguments": [
10866
- {
10867
- "name": "value",
10868
- "type": "any"
10869
- }
10870
- ]
10871
- },
10872
- {
10873
- "name": "click",
10874
- "description": "Emitted when component is clicked",
10875
- "arguments": [
10876
- {
10877
- "name": "event",
10878
- "type": "MouseEvent"
10879
- }
10880
- ]
10881
- }
10882
- ],
10883
- "attributes": [
10884
- {
10885
- "name": "v-model",
10886
- "default": "`false`",
10887
- "description": "Check status of Switch",
10888
- "options": [],
10889
- "value": {
10890
- "type": "ActiveValue | InactiveValue",
10891
- "kind": "expression"
10892
- }
10893
- },
10894
- {
10895
- "name": "loading",
10896
- "default": "`false`",
10897
- "description": "Whether to show loading icon",
10898
- "options": [],
10899
- "value": {
10900
- "type": "boolean",
10901
- "kind": "expression"
10902
- }
10903
- },
10904
- {
10905
- "name": "disabled",
10906
- "default": "`false`",
10907
- "description": "Whether to disable switch",
10908
- "options": [],
10909
- "value": {
10910
- "type": "boolean",
10911
- "kind": "expression"
10912
- }
10913
- },
10914
- {
10915
- "name": "size",
10916
- "default": "`30px`",
10917
- "description": "Size of switch",
10918
- "options": [],
10919
- "value": {
10920
- "type": "number | string",
10921
- "kind": "expression"
10922
- }
10923
- },
10924
- {
10925
- "name": "active-color",
10926
- "default": "`#1989fa`",
10927
- "description": "Background color when active",
10928
- "options": [],
10929
- "value": {
10930
- "type": "string",
10931
- "kind": "expression"
10932
- }
10933
- },
10934
- {
10935
- "name": "inactive-color",
10936
- "default": "`white`",
10937
- "description": "Background color when inactive",
10938
- "options": [],
10939
- "value": {
10940
- "type": "string",
10941
- "kind": "expression"
10942
- }
10943
- },
10944
- {
10945
- "name": "active-value",
10946
- "default": "`true`",
10947
- "description": "Value when active",
10948
- "options": [],
10949
- "value": {
10950
- "type": "any",
10951
- "kind": "expression"
10952
- }
10953
- },
10954
- {
10955
- "name": "inactive-value",
10956
- "default": "`false`",
10957
- "description": "Value when inactive",
10958
- "options": [],
10959
- "value": {
10960
- "type": "any",
10961
- "kind": "expression"
10962
- }
10963
- }
10964
- ]
10965
- },
10966
10975
  {
10967
10976
  "name": "van-tabbar",
10968
10977
  "slots": [],