vant 4.0.0-rc.5 → 4.0.0-rc.6
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.
- package/es/calendar/Calendar.mjs +10 -3
- package/es/calendar/CalendarHeader.d.ts +2 -0
- package/es/calendar/CalendarHeader.mjs +5 -1
- package/es/cell/Cell.d.ts +17 -0
- package/es/cell/Cell.mjs +11 -4
- package/es/cell/index.d.ts +9 -0
- package/es/collapse-item/CollapseItem.d.ts +13 -0
- package/es/collapse-item/index.d.ts +9 -0
- package/es/coupon/index.css +1 -1
- package/es/coupon-list/index.css +1 -1
- package/es/field/Field.d.ts +13 -0
- package/es/field/index.d.ts +9 -0
- package/es/image-preview/ImagePreview.mjs +3 -1
- package/es/image-preview/ImagePreviewItem.mjs +7 -2
- package/es/image-preview/index.css +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/swipe/Swipe.mjs +1 -1
- package/es/toast/Toast.d.ts +4 -1
- package/es/toast/Toast.mjs +2 -1
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +3 -1
- package/es/toast/types.d.ts +2 -0
- package/lib/calendar/Calendar.js +10 -3
- package/lib/calendar/CalendarHeader.d.ts +2 -0
- package/lib/calendar/CalendarHeader.js +5 -1
- package/lib/cell/Cell.d.ts +17 -0
- package/lib/cell/Cell.js +10 -3
- package/lib/cell/index.d.ts +9 -0
- package/lib/collapse-item/CollapseItem.d.ts +13 -0
- package/lib/collapse-item/index.d.ts +9 -0
- package/lib/coupon/index.css +1 -1
- package/lib/coupon-list/index.css +1 -1
- package/lib/field/Field.d.ts +13 -0
- package/lib/field/index.d.ts +9 -0
- package/lib/image-preview/ImagePreview.js +3 -1
- package/lib/image-preview/ImagePreviewItem.js +7 -2
- package/lib/image-preview/index.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/swipe/Swipe.js +1 -1
- package/lib/toast/Toast.d.ts +4 -1
- package/lib/toast/Toast.js +2 -1
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +3 -1
- package/lib/toast/types.d.ts +2 -0
- package/lib/vant.cjs.js +39 -13
- package/lib/vant.es.js +39 -13
- package/lib/vant.js +39 -13
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +555 -541
- package/package.json +1 -1
- package/changelog.generated.md +0 -71
package/lib/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "4.0.0-rc.
|
5
|
+
"version": "4.0.0-rc.6",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -550,58 +550,98 @@
|
|
550
550
|
]
|
551
551
|
},
|
552
552
|
{
|
553
|
-
"name": "van-
|
553
|
+
"name": "van-address-list",
|
554
554
|
"slots": [
|
555
555
|
{
|
556
|
-
"name": "
|
557
|
-
"description": "Custom
|
556
|
+
"name": "default",
|
557
|
+
"description": "Custom content after list"
|
558
558
|
},
|
559
559
|
{
|
560
|
-
"name": "
|
561
|
-
"description": "Custom
|
560
|
+
"name": "top",
|
561
|
+
"description": "Custom content before list"
|
562
562
|
},
|
563
563
|
{
|
564
|
-
"name": "
|
565
|
-
"description": "Custom
|
564
|
+
"name": "item-bottom",
|
565
|
+
"description": "Custom content after list item"
|
566
566
|
},
|
567
567
|
{
|
568
|
-
"name": "
|
569
|
-
"description": "Custom
|
568
|
+
"name": "tag",
|
569
|
+
"description": "Custom tag of list item"
|
570
|
+
}
|
571
|
+
],
|
572
|
+
"events": [
|
573
|
+
{
|
574
|
+
"name": "add",
|
575
|
+
"description": "Emitted when the add button is clicked",
|
576
|
+
"arguments": []
|
570
577
|
},
|
571
578
|
{
|
572
|
-
"name": "
|
573
|
-
"description": "
|
579
|
+
"name": "edit",
|
580
|
+
"description": "Emitted when the edit icon of address is clicked",
|
581
|
+
"arguments": [
|
582
|
+
{
|
583
|
+
"name": "item",
|
584
|
+
"type": "Address"
|
585
|
+
},
|
586
|
+
{
|
587
|
+
"name": "index",
|
588
|
+
"type": "number"
|
589
|
+
}
|
590
|
+
]
|
574
591
|
},
|
575
592
|
{
|
576
|
-
"name": "
|
577
|
-
"description": "
|
578
|
-
|
579
|
-
|
580
|
-
|
593
|
+
"name": "select",
|
594
|
+
"description": "Emitted when an address is selected",
|
595
|
+
"arguments": [
|
596
|
+
{
|
597
|
+
"name": "item",
|
598
|
+
"type": "Address"
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"name": "index",
|
602
|
+
"type": "number"
|
603
|
+
}
|
604
|
+
]
|
605
|
+
},
|
581
606
|
{
|
582
|
-
"name": "
|
583
|
-
"description": "Emitted when the
|
607
|
+
"name": "edit-disabled",
|
608
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
584
609
|
"arguments": [
|
585
610
|
{
|
586
|
-
"name": "
|
611
|
+
"name": "item",
|
612
|
+
"type": "Address"
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"name": "index",
|
616
|
+
"type": "number"
|
587
617
|
}
|
588
618
|
]
|
589
619
|
},
|
590
620
|
{
|
591
|
-
"name": "
|
592
|
-
"description": "Emitted when
|
621
|
+
"name": "select-disabled",
|
622
|
+
"description": "Emitted when a disabled address is selected",
|
593
623
|
"arguments": [
|
594
624
|
{
|
595
|
-
"name": "
|
625
|
+
"name": "item",
|
626
|
+
"type": "Address"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"name": "index",
|
630
|
+
"type": "number"
|
596
631
|
}
|
597
632
|
]
|
598
633
|
},
|
599
634
|
{
|
600
|
-
"name": "
|
601
|
-
"description": "Emitted when
|
635
|
+
"name": "click-item",
|
636
|
+
"description": "Emitted when an address item is clicked",
|
602
637
|
"arguments": [
|
603
638
|
{
|
604
|
-
"name": "
|
639
|
+
"name": "item",
|
640
|
+
"type": "Address"
|
641
|
+
},
|
642
|
+
{
|
643
|
+
"name": "index",
|
644
|
+
"type": "number"
|
605
645
|
}
|
606
646
|
]
|
607
647
|
}
|
@@ -610,37 +650,7 @@
|
|
610
650
|
{
|
611
651
|
"name": "v-model",
|
612
652
|
"default": "-",
|
613
|
-
"description": "
|
614
|
-
"options": [],
|
615
|
-
"value": {
|
616
|
-
"type": "string",
|
617
|
-
"kind": "expression"
|
618
|
-
}
|
619
|
-
},
|
620
|
-
{
|
621
|
-
"name": "title",
|
622
|
-
"default": "-",
|
623
|
-
"description": "Toolbar title",
|
624
|
-
"options": [],
|
625
|
-
"value": {
|
626
|
-
"type": "string",
|
627
|
-
"kind": "expression"
|
628
|
-
}
|
629
|
-
},
|
630
|
-
{
|
631
|
-
"name": "confirm-button-text",
|
632
|
-
"default": "`Confirm`",
|
633
|
-
"description": "Text of confirm button",
|
634
|
-
"options": [],
|
635
|
-
"value": {
|
636
|
-
"type": "string",
|
637
|
-
"kind": "expression"
|
638
|
-
}
|
639
|
-
},
|
640
|
-
{
|
641
|
-
"name": "cancel-button-text",
|
642
|
-
"default": "`Cancel`",
|
643
|
-
"description": "Text of cancel button",
|
653
|
+
"description": "Id of chosen address",
|
644
654
|
"options": [],
|
645
655
|
"value": {
|
646
656
|
"type": "string",
|
@@ -648,39 +658,39 @@
|
|
648
658
|
}
|
649
659
|
},
|
650
660
|
{
|
651
|
-
"name": "
|
652
|
-
"default": "
|
653
|
-
"description": "
|
661
|
+
"name": "list",
|
662
|
+
"default": "`[]`",
|
663
|
+
"description": "Address list",
|
654
664
|
"options": [],
|
655
665
|
"value": {
|
656
|
-
"type": "
|
666
|
+
"type": "Address[]",
|
657
667
|
"kind": "expression"
|
658
668
|
}
|
659
669
|
},
|
660
670
|
{
|
661
|
-
"name": "
|
671
|
+
"name": "disabled-list",
|
662
672
|
"default": "`[]`",
|
663
|
-
"description": "
|
673
|
+
"description": "Disabled address list",
|
664
674
|
"options": [],
|
665
675
|
"value": {
|
666
|
-
"type": "
|
676
|
+
"type": "Address[]",
|
667
677
|
"kind": "expression"
|
668
678
|
}
|
669
679
|
},
|
670
680
|
{
|
671
|
-
"name": "
|
672
|
-
"default": "
|
673
|
-
"description": "
|
681
|
+
"name": "disabled-text",
|
682
|
+
"default": "-",
|
683
|
+
"description": "Disabled text",
|
674
684
|
"options": [],
|
675
685
|
"value": {
|
676
|
-
"type": "
|
686
|
+
"type": "string",
|
677
687
|
"kind": "expression"
|
678
688
|
}
|
679
689
|
},
|
680
690
|
{
|
681
|
-
"name": "
|
682
|
-
"default": "`
|
683
|
-
"description": "Whether to
|
691
|
+
"name": "switchable",
|
692
|
+
"default": "`true`",
|
693
|
+
"description": "Whether to allow switch address",
|
684
694
|
"options": [],
|
685
695
|
"value": {
|
686
696
|
"type": "boolean",
|
@@ -688,212 +698,202 @@
|
|
688
698
|
}
|
689
699
|
},
|
690
700
|
{
|
691
|
-
"name": "
|
692
|
-
"default": "`
|
693
|
-
"description": "
|
694
|
-
"options": [],
|
695
|
-
"value": {
|
696
|
-
"type": "number | string",
|
697
|
-
"kind": "expression"
|
698
|
-
}
|
699
|
-
},
|
700
|
-
{
|
701
|
-
"name": "columns-num",
|
702
|
-
"default": "`3`",
|
703
|
-
"description": "Level of picker",
|
704
|
-
"options": [],
|
705
|
-
"value": {
|
706
|
-
"type": "number | string",
|
707
|
-
"kind": "expression"
|
708
|
-
}
|
709
|
-
},
|
710
|
-
{
|
711
|
-
"name": "visible-option-num",
|
712
|
-
"default": "`6`",
|
713
|
-
"description": "Count of visible columns",
|
701
|
+
"name": "add-button-text",
|
702
|
+
"default": "`Add new address`",
|
703
|
+
"description": "Add button text",
|
714
704
|
"options": [],
|
715
705
|
"value": {
|
716
|
-
"type": "
|
706
|
+
"type": "string",
|
717
707
|
"kind": "expression"
|
718
708
|
}
|
719
709
|
},
|
720
710
|
{
|
721
|
-
"name": "
|
722
|
-
"default": "
|
723
|
-
"description": "
|
711
|
+
"name": "default-tag-text",
|
712
|
+
"default": "-",
|
713
|
+
"description": "Default tag text",
|
724
714
|
"options": [],
|
725
715
|
"value": {
|
726
|
-
"type": "
|
716
|
+
"type": "string",
|
727
717
|
"kind": "expression"
|
728
718
|
}
|
729
719
|
}
|
730
720
|
]
|
731
721
|
},
|
732
722
|
{
|
733
|
-
"name": "van-
|
723
|
+
"name": "van-area",
|
734
724
|
"slots": [
|
735
725
|
{
|
736
|
-
"name": "
|
737
|
-
"description": "Custom content
|
726
|
+
"name": "toolbar",
|
727
|
+
"description": "Custom toolbar content"
|
738
728
|
},
|
739
729
|
{
|
740
|
-
"name": "
|
741
|
-
"description": "Custom
|
730
|
+
"name": "title",
|
731
|
+
"description": "Custom title"
|
742
732
|
},
|
743
733
|
{
|
744
|
-
"name": "
|
745
|
-
"description": "Custom
|
734
|
+
"name": "confirm",
|
735
|
+
"description": "Custom confirm button text"
|
746
736
|
},
|
747
737
|
{
|
748
|
-
"name": "
|
749
|
-
"description": "Custom
|
750
|
-
}
|
751
|
-
],
|
752
|
-
"events": [
|
753
|
-
{
|
754
|
-
"name": "add",
|
755
|
-
"description": "Emitted when the add button is clicked",
|
756
|
-
"arguments": []
|
738
|
+
"name": "cancel",
|
739
|
+
"description": "Custom cancel button text"
|
757
740
|
},
|
758
741
|
{
|
759
|
-
"name": "
|
760
|
-
"description": "
|
761
|
-
"arguments": [
|
762
|
-
{
|
763
|
-
"name": "item",
|
764
|
-
"type": "Address"
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"name": "index",
|
768
|
-
"type": "number"
|
769
|
-
}
|
770
|
-
]
|
742
|
+
"name": "columns-top",
|
743
|
+
"description": "Custom content above columns"
|
771
744
|
},
|
772
745
|
{
|
773
|
-
"name": "
|
774
|
-
"description": "
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
"type": "Address"
|
779
|
-
},
|
780
|
-
{
|
781
|
-
"name": "index",
|
782
|
-
"type": "number"
|
783
|
-
}
|
784
|
-
]
|
785
|
-
},
|
746
|
+
"name": "columns-bottom",
|
747
|
+
"description": "Custom content below columns"
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"events": [
|
786
751
|
{
|
787
|
-
"name": "
|
788
|
-
"description": "Emitted when the
|
752
|
+
"name": "confirm",
|
753
|
+
"description": "Emitted when the confirm button is clicked",
|
789
754
|
"arguments": [
|
790
755
|
{
|
791
|
-
"name": "
|
792
|
-
"type": "Address"
|
793
|
-
},
|
794
|
-
{
|
795
|
-
"name": "index",
|
796
|
-
"type": "number"
|
756
|
+
"name": "{ selectedValues, selectedOptions }"
|
797
757
|
}
|
798
758
|
]
|
799
759
|
},
|
800
760
|
{
|
801
|
-
"name": "
|
802
|
-
"description": "Emitted when
|
761
|
+
"name": "cancel",
|
762
|
+
"description": "Emitted when the cancel button is clicked",
|
803
763
|
"arguments": [
|
804
764
|
{
|
805
|
-
"name": "
|
806
|
-
"type": "Address"
|
807
|
-
},
|
808
|
-
{
|
809
|
-
"name": "index",
|
810
|
-
"type": "number"
|
765
|
+
"name": "{ selectedValues, selectedOptions }"
|
811
766
|
}
|
812
767
|
]
|
813
768
|
},
|
814
769
|
{
|
815
|
-
"name": "
|
816
|
-
"description": "Emitted when
|
770
|
+
"name": "change",
|
771
|
+
"description": "Emitted when current option is changed",
|
817
772
|
"arguments": [
|
818
773
|
{
|
819
|
-
"name": "
|
820
|
-
"type": "Address"
|
821
|
-
},
|
822
|
-
{
|
823
|
-
"name": "index",
|
824
|
-
"type": "number"
|
774
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
825
775
|
}
|
826
776
|
]
|
827
777
|
}
|
828
778
|
],
|
829
779
|
"attributes": [
|
830
780
|
{
|
831
|
-
"name": "v-model",
|
832
|
-
"default": "-",
|
833
|
-
"description": "
|
781
|
+
"name": "v-model",
|
782
|
+
"default": "-",
|
783
|
+
"description": "the `code` of selected area",
|
784
|
+
"options": [],
|
785
|
+
"value": {
|
786
|
+
"type": "string",
|
787
|
+
"kind": "expression"
|
788
|
+
}
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"name": "title",
|
792
|
+
"default": "-",
|
793
|
+
"description": "Toolbar title",
|
794
|
+
"options": [],
|
795
|
+
"value": {
|
796
|
+
"type": "string",
|
797
|
+
"kind": "expression"
|
798
|
+
}
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"name": "confirm-button-text",
|
802
|
+
"default": "`Confirm`",
|
803
|
+
"description": "Text of confirm button",
|
804
|
+
"options": [],
|
805
|
+
"value": {
|
806
|
+
"type": "string",
|
807
|
+
"kind": "expression"
|
808
|
+
}
|
809
|
+
},
|
810
|
+
{
|
811
|
+
"name": "cancel-button-text",
|
812
|
+
"default": "`Cancel`",
|
813
|
+
"description": "Text of cancel button",
|
814
|
+
"options": [],
|
815
|
+
"value": {
|
816
|
+
"type": "string",
|
817
|
+
"kind": "expression"
|
818
|
+
}
|
819
|
+
},
|
820
|
+
{
|
821
|
+
"name": "area-list",
|
822
|
+
"default": "-",
|
823
|
+
"description": "Area list data",
|
824
|
+
"options": [],
|
825
|
+
"value": {
|
826
|
+
"type": "object",
|
827
|
+
"kind": "expression"
|
828
|
+
}
|
829
|
+
},
|
830
|
+
{
|
831
|
+
"name": "columns-placeholder",
|
832
|
+
"default": "`[]`",
|
833
|
+
"description": "Placeholder of columns",
|
834
834
|
"options": [],
|
835
835
|
"value": {
|
836
|
-
"type": "string",
|
836
|
+
"type": "string[]",
|
837
837
|
"kind": "expression"
|
838
838
|
}
|
839
839
|
},
|
840
840
|
{
|
841
|
-
"name": "
|
842
|
-
"default": "`
|
843
|
-
"description": "
|
841
|
+
"name": "loading",
|
842
|
+
"default": "`false`",
|
843
|
+
"description": "Whether to show loading prompt",
|
844
844
|
"options": [],
|
845
845
|
"value": {
|
846
|
-
"type": "
|
846
|
+
"type": "boolean",
|
847
847
|
"kind": "expression"
|
848
848
|
}
|
849
849
|
},
|
850
850
|
{
|
851
|
-
"name": "
|
852
|
-
"default": "`
|
853
|
-
"description": "
|
851
|
+
"name": "readonly",
|
852
|
+
"default": "`false`",
|
853
|
+
"description": "Whether to be readonly",
|
854
854
|
"options": [],
|
855
855
|
"value": {
|
856
|
-
"type": "
|
856
|
+
"type": "boolean",
|
857
857
|
"kind": "expression"
|
858
858
|
}
|
859
859
|
},
|
860
860
|
{
|
861
|
-
"name": "
|
862
|
-
"default": "
|
863
|
-
"description": "
|
861
|
+
"name": "option-height",
|
862
|
+
"default": "`44`",
|
863
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
864
864
|
"options": [],
|
865
865
|
"value": {
|
866
|
-
"type": "string",
|
866
|
+
"type": "number | string",
|
867
867
|
"kind": "expression"
|
868
868
|
}
|
869
869
|
},
|
870
870
|
{
|
871
|
-
"name": "
|
872
|
-
"default": "`
|
873
|
-
"description": "
|
871
|
+
"name": "columns-num",
|
872
|
+
"default": "`3`",
|
873
|
+
"description": "Level of picker",
|
874
874
|
"options": [],
|
875
875
|
"value": {
|
876
|
-
"type": "
|
876
|
+
"type": "number | string",
|
877
877
|
"kind": "expression"
|
878
878
|
}
|
879
879
|
},
|
880
880
|
{
|
881
|
-
"name": "
|
882
|
-
"default": "`
|
883
|
-
"description": "
|
881
|
+
"name": "visible-option-num",
|
882
|
+
"default": "`6`",
|
883
|
+
"description": "Count of visible columns",
|
884
884
|
"options": [],
|
885
885
|
"value": {
|
886
|
-
"type": "string",
|
886
|
+
"type": "number | string",
|
887
887
|
"kind": "expression"
|
888
888
|
}
|
889
889
|
},
|
890
890
|
{
|
891
|
-
"name": "
|
892
|
-
"default": "
|
893
|
-
"description": "
|
891
|
+
"name": "swipe-duration",
|
892
|
+
"default": "`1000`",
|
893
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
894
894
|
"options": [],
|
895
895
|
"value": {
|
896
|
-
"type": "string",
|
896
|
+
"type": "number | string",
|
897
897
|
"kind": "expression"
|
898
898
|
}
|
899
899
|
}
|
@@ -1183,92 +1183,6 @@
|
|
1183
1183
|
}
|
1184
1184
|
]
|
1185
1185
|
},
|
1186
|
-
{
|
1187
|
-
"name": "van-badge",
|
1188
|
-
"slots": [
|
1189
|
-
{
|
1190
|
-
"name": "default",
|
1191
|
-
"description": "Default slot"
|
1192
|
-
},
|
1193
|
-
{
|
1194
|
-
"name": "content",
|
1195
|
-
"description": "Custom badge content"
|
1196
|
-
}
|
1197
|
-
],
|
1198
|
-
"events": [],
|
1199
|
-
"attributes": [
|
1200
|
-
{
|
1201
|
-
"name": "content",
|
1202
|
-
"default": "-",
|
1203
|
-
"description": "Badge content",
|
1204
|
-
"options": [],
|
1205
|
-
"value": {
|
1206
|
-
"type": "number | string",
|
1207
|
-
"kind": "expression"
|
1208
|
-
}
|
1209
|
-
},
|
1210
|
-
{
|
1211
|
-
"name": "color",
|
1212
|
-
"default": "`#ee0a24`",
|
1213
|
-
"description": "Background color",
|
1214
|
-
"options": [],
|
1215
|
-
"value": {
|
1216
|
-
"type": "string",
|
1217
|
-
"kind": "expression"
|
1218
|
-
}
|
1219
|
-
},
|
1220
|
-
{
|
1221
|
-
"name": "dot",
|
1222
|
-
"default": "`false`",
|
1223
|
-
"description": "Whether to show dot",
|
1224
|
-
"options": [],
|
1225
|
-
"value": {
|
1226
|
-
"type": "boolean",
|
1227
|
-
"kind": "expression"
|
1228
|
-
}
|
1229
|
-
},
|
1230
|
-
{
|
1231
|
-
"name": "max",
|
1232
|
-
"default": "-",
|
1233
|
-
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1234
|
-
"options": [],
|
1235
|
-
"value": {
|
1236
|
-
"type": "number | string",
|
1237
|
-
"kind": "expression"
|
1238
|
-
}
|
1239
|
-
},
|
1240
|
-
{
|
1241
|
-
"name": "offset",
|
1242
|
-
"default": "-",
|
1243
|
-
"description": "Offset of badge dot",
|
1244
|
-
"options": [],
|
1245
|
-
"value": {
|
1246
|
-
"type": "[number | string, number | string]",
|
1247
|
-
"kind": "expression"
|
1248
|
-
}
|
1249
|
-
},
|
1250
|
-
{
|
1251
|
-
"name": "show-zero",
|
1252
|
-
"default": "`true`",
|
1253
|
-
"description": "Whether to show badge when content is zero",
|
1254
|
-
"options": [],
|
1255
|
-
"value": {
|
1256
|
-
"type": "boolean",
|
1257
|
-
"kind": "expression"
|
1258
|
-
}
|
1259
|
-
},
|
1260
|
-
{
|
1261
|
-
"name": "position",
|
1262
|
-
"default": "`top-right`",
|
1263
|
-
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1264
|
-
"options": [],
|
1265
|
-
"value": {
|
1266
|
-
"type": "string",
|
1267
|
-
"kind": "expression"
|
1268
|
-
}
|
1269
|
-
}
|
1270
|
-
]
|
1271
|
-
},
|
1272
1186
|
{
|
1273
1187
|
"name": "van-button",
|
1274
1188
|
"slots": [
|
@@ -1520,6 +1434,92 @@
|
|
1520
1434
|
}
|
1521
1435
|
]
|
1522
1436
|
},
|
1437
|
+
{
|
1438
|
+
"name": "van-badge",
|
1439
|
+
"slots": [
|
1440
|
+
{
|
1441
|
+
"name": "default",
|
1442
|
+
"description": "Default slot"
|
1443
|
+
},
|
1444
|
+
{
|
1445
|
+
"name": "content",
|
1446
|
+
"description": "Custom badge content"
|
1447
|
+
}
|
1448
|
+
],
|
1449
|
+
"events": [],
|
1450
|
+
"attributes": [
|
1451
|
+
{
|
1452
|
+
"name": "content",
|
1453
|
+
"default": "-",
|
1454
|
+
"description": "Badge content",
|
1455
|
+
"options": [],
|
1456
|
+
"value": {
|
1457
|
+
"type": "number | string",
|
1458
|
+
"kind": "expression"
|
1459
|
+
}
|
1460
|
+
},
|
1461
|
+
{
|
1462
|
+
"name": "color",
|
1463
|
+
"default": "`#ee0a24`",
|
1464
|
+
"description": "Background color",
|
1465
|
+
"options": [],
|
1466
|
+
"value": {
|
1467
|
+
"type": "string",
|
1468
|
+
"kind": "expression"
|
1469
|
+
}
|
1470
|
+
},
|
1471
|
+
{
|
1472
|
+
"name": "dot",
|
1473
|
+
"default": "`false`",
|
1474
|
+
"description": "Whether to show dot",
|
1475
|
+
"options": [],
|
1476
|
+
"value": {
|
1477
|
+
"type": "boolean",
|
1478
|
+
"kind": "expression"
|
1479
|
+
}
|
1480
|
+
},
|
1481
|
+
{
|
1482
|
+
"name": "max",
|
1483
|
+
"default": "-",
|
1484
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1485
|
+
"options": [],
|
1486
|
+
"value": {
|
1487
|
+
"type": "number | string",
|
1488
|
+
"kind": "expression"
|
1489
|
+
}
|
1490
|
+
},
|
1491
|
+
{
|
1492
|
+
"name": "offset",
|
1493
|
+
"default": "-",
|
1494
|
+
"description": "Offset of badge dot",
|
1495
|
+
"options": [],
|
1496
|
+
"value": {
|
1497
|
+
"type": "[number | string, number | string]",
|
1498
|
+
"kind": "expression"
|
1499
|
+
}
|
1500
|
+
},
|
1501
|
+
{
|
1502
|
+
"name": "show-zero",
|
1503
|
+
"default": "`true`",
|
1504
|
+
"description": "Whether to show badge when content is zero",
|
1505
|
+
"options": [],
|
1506
|
+
"value": {
|
1507
|
+
"type": "boolean",
|
1508
|
+
"kind": "expression"
|
1509
|
+
}
|
1510
|
+
},
|
1511
|
+
{
|
1512
|
+
"name": "position",
|
1513
|
+
"default": "`top-right`",
|
1514
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1515
|
+
"options": [],
|
1516
|
+
"value": {
|
1517
|
+
"type": "string",
|
1518
|
+
"kind": "expression"
|
1519
|
+
}
|
1520
|
+
}
|
1521
|
+
]
|
1522
|
+
},
|
1523
1523
|
{
|
1524
1524
|
"name": "van-calendar",
|
1525
1525
|
"slots": [
|
@@ -2441,49 +2441,59 @@
|
|
2441
2441
|
}
|
2442
2442
|
},
|
2443
2443
|
{
|
2444
|
-
"name": "
|
2445
|
-
"default": "`
|
2446
|
-
"description": "
|
2444
|
+
"name": "tag",
|
2445
|
+
"default": "`div`",
|
2446
|
+
"description": "Custom element tag",
|
2447
2447
|
"options": [],
|
2448
2448
|
"value": {
|
2449
|
-
"type": "
|
2449
|
+
"type": "string",
|
2450
2450
|
"kind": "expression"
|
2451
2451
|
}
|
2452
2452
|
},
|
2453
2453
|
{
|
2454
|
-
"name": "
|
2455
|
-
"default": "
|
2456
|
-
"description": "
|
2454
|
+
"name": "url",
|
2455
|
+
"default": "-",
|
2456
|
+
"description": "Link URL",
|
2457
2457
|
"options": [],
|
2458
2458
|
"value": {
|
2459
|
-
"type": "
|
2459
|
+
"type": "string",
|
2460
2460
|
"kind": "expression"
|
2461
2461
|
}
|
2462
2462
|
},
|
2463
2463
|
{
|
2464
|
-
"name": "
|
2464
|
+
"name": "to",
|
2465
2465
|
"default": "-",
|
2466
|
-
"description": "
|
2466
|
+
"description": "Target route of the link, same as to of vue-router",
|
2467
|
+
"options": [],
|
2468
|
+
"value": {
|
2469
|
+
"type": "string | object",
|
2470
|
+
"kind": "expression"
|
2471
|
+
}
|
2472
|
+
},
|
2473
|
+
{
|
2474
|
+
"name": "replace",
|
2475
|
+
"default": "`false`",
|
2476
|
+
"description": "If true, the navigation will not leave a history record",
|
2467
2477
|
"options": [],
|
2468
2478
|
"value": {
|
2469
|
-
"type": "
|
2479
|
+
"type": "boolean",
|
2470
2480
|
"kind": "expression"
|
2471
2481
|
}
|
2472
2482
|
},
|
2473
2483
|
{
|
2474
|
-
"name": "
|
2475
|
-
"default": "
|
2476
|
-
"description": "
|
2484
|
+
"name": "border",
|
2485
|
+
"default": "`true`",
|
2486
|
+
"description": "Whether to show inner border",
|
2477
2487
|
"options": [],
|
2478
2488
|
"value": {
|
2479
|
-
"type": "
|
2489
|
+
"type": "boolean",
|
2480
2490
|
"kind": "expression"
|
2481
2491
|
}
|
2482
2492
|
},
|
2483
2493
|
{
|
2484
|
-
"name": "
|
2494
|
+
"name": "center",
|
2485
2495
|
"default": "`false`",
|
2486
|
-
"description": "
|
2496
|
+
"description": "Whether to center content vertically",
|
2487
2497
|
"options": [],
|
2488
2498
|
"value": {
|
2489
2499
|
"type": "boolean",
|
@@ -4662,56 +4672,6 @@
|
|
4662
4672
|
}
|
4663
4673
|
]
|
4664
4674
|
},
|
4665
|
-
{
|
4666
|
-
"name": "van-empty",
|
4667
|
-
"slots": [
|
4668
|
-
{
|
4669
|
-
"name": "default",
|
4670
|
-
"description": "Custom bottom content"
|
4671
|
-
},
|
4672
|
-
{
|
4673
|
-
"name": "image",
|
4674
|
-
"description": "Custom image"
|
4675
|
-
},
|
4676
|
-
{
|
4677
|
-
"name": "description",
|
4678
|
-
"description": "Custom description"
|
4679
|
-
}
|
4680
|
-
],
|
4681
|
-
"events": [],
|
4682
|
-
"attributes": [
|
4683
|
-
{
|
4684
|
-
"name": "image",
|
4685
|
-
"default": "`default`",
|
4686
|
-
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4687
|
-
"options": [],
|
4688
|
-
"value": {
|
4689
|
-
"type": "string",
|
4690
|
-
"kind": "expression"
|
4691
|
-
}
|
4692
|
-
},
|
4693
|
-
{
|
4694
|
-
"name": "image-size",
|
4695
|
-
"default": "-",
|
4696
|
-
"description": "Image size",
|
4697
|
-
"options": [],
|
4698
|
-
"value": {
|
4699
|
-
"type": "number | string | Array",
|
4700
|
-
"kind": "expression"
|
4701
|
-
}
|
4702
|
-
},
|
4703
|
-
{
|
4704
|
-
"name": "description",
|
4705
|
-
"default": "-",
|
4706
|
-
"description": "Description",
|
4707
|
-
"options": [],
|
4708
|
-
"value": {
|
4709
|
-
"type": "string",
|
4710
|
-
"kind": "expression"
|
4711
|
-
}
|
4712
|
-
}
|
4713
|
-
]
|
4714
|
-
},
|
4715
4675
|
{
|
4716
4676
|
"name": "van-field",
|
4717
4677
|
"slots": [
|
@@ -5223,6 +5183,56 @@
|
|
5223
5183
|
}
|
5224
5184
|
]
|
5225
5185
|
},
|
5186
|
+
{
|
5187
|
+
"name": "van-empty",
|
5188
|
+
"slots": [
|
5189
|
+
{
|
5190
|
+
"name": "default",
|
5191
|
+
"description": "Custom bottom content"
|
5192
|
+
},
|
5193
|
+
{
|
5194
|
+
"name": "image",
|
5195
|
+
"description": "Custom image"
|
5196
|
+
},
|
5197
|
+
{
|
5198
|
+
"name": "description",
|
5199
|
+
"description": "Custom description"
|
5200
|
+
}
|
5201
|
+
],
|
5202
|
+
"events": [],
|
5203
|
+
"attributes": [
|
5204
|
+
{
|
5205
|
+
"name": "image",
|
5206
|
+
"default": "`default`",
|
5207
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
5208
|
+
"options": [],
|
5209
|
+
"value": {
|
5210
|
+
"type": "string",
|
5211
|
+
"kind": "expression"
|
5212
|
+
}
|
5213
|
+
},
|
5214
|
+
{
|
5215
|
+
"name": "image-size",
|
5216
|
+
"default": "-",
|
5217
|
+
"description": "Image size",
|
5218
|
+
"options": [],
|
5219
|
+
"value": {
|
5220
|
+
"type": "number | string | Array",
|
5221
|
+
"kind": "expression"
|
5222
|
+
}
|
5223
|
+
},
|
5224
|
+
{
|
5225
|
+
"name": "description",
|
5226
|
+
"default": "-",
|
5227
|
+
"description": "Description",
|
5228
|
+
"options": [],
|
5229
|
+
"value": {
|
5230
|
+
"type": "string",
|
5231
|
+
"kind": "expression"
|
5232
|
+
}
|
5233
|
+
}
|
5234
|
+
]
|
5235
|
+
},
|
5226
5236
|
{
|
5227
5237
|
"name": "van-form",
|
5228
5238
|
"slots": [
|
@@ -5923,6 +5933,10 @@
|
|
5923
5933
|
{
|
5924
5934
|
"name": "cover",
|
5925
5935
|
"description": "Custom content that covers the image preview"
|
5936
|
+
},
|
5937
|
+
{
|
5938
|
+
"name": "image",
|
5939
|
+
"description": "Custom image content"
|
5926
5940
|
}
|
5927
5941
|
],
|
5928
5942
|
"events": [
|
@@ -6450,19 +6464,155 @@
|
|
6450
6464
|
}
|
6451
6465
|
},
|
6452
6466
|
{
|
6453
|
-
"name": "text-color",
|
6454
|
-
"default": "`#c9c9c9`",
|
6455
|
-
"description": "Text color",
|
6467
|
+
"name": "text-color",
|
6468
|
+
"default": "`#c9c9c9`",
|
6469
|
+
"description": "Text color",
|
6470
|
+
"options": [],
|
6471
|
+
"value": {
|
6472
|
+
"type": "string",
|
6473
|
+
"kind": "expression"
|
6474
|
+
}
|
6475
|
+
},
|
6476
|
+
{
|
6477
|
+
"name": "vertical",
|
6478
|
+
"default": "`false`",
|
6479
|
+
"description": "Whether to arrange icons and text content vertically",
|
6480
|
+
"options": [],
|
6481
|
+
"value": {
|
6482
|
+
"type": "boolean",
|
6483
|
+
"kind": "expression"
|
6484
|
+
}
|
6485
|
+
}
|
6486
|
+
]
|
6487
|
+
},
|
6488
|
+
{
|
6489
|
+
"name": "van-notice-bar",
|
6490
|
+
"slots": [
|
6491
|
+
{
|
6492
|
+
"name": "default",
|
6493
|
+
"description": "Notice text content"
|
6494
|
+
},
|
6495
|
+
{
|
6496
|
+
"name": "left-icon",
|
6497
|
+
"description": "Custom left icon"
|
6498
|
+
},
|
6499
|
+
{
|
6500
|
+
"name": "right-icon",
|
6501
|
+
"description": "Custom right icon"
|
6502
|
+
}
|
6503
|
+
],
|
6504
|
+
"events": [
|
6505
|
+
{
|
6506
|
+
"name": "click",
|
6507
|
+
"description": "Emitted when NoticeBar is clicked",
|
6508
|
+
"arguments": [
|
6509
|
+
{
|
6510
|
+
"name": "event",
|
6511
|
+
"type": "MouseEvent"
|
6512
|
+
}
|
6513
|
+
]
|
6514
|
+
},
|
6515
|
+
{
|
6516
|
+
"name": "close",
|
6517
|
+
"description": "Emitted when NoticeBar is closed",
|
6518
|
+
"arguments": [
|
6519
|
+
{
|
6520
|
+
"name": "event",
|
6521
|
+
"type": "MouseEvent"
|
6522
|
+
}
|
6523
|
+
]
|
6524
|
+
},
|
6525
|
+
{
|
6526
|
+
"name": "replay",
|
6527
|
+
"description": "Emitted when NoticeBar is replayed",
|
6528
|
+
"arguments": []
|
6529
|
+
}
|
6530
|
+
],
|
6531
|
+
"attributes": [
|
6532
|
+
{
|
6533
|
+
"name": "mode",
|
6534
|
+
"default": "`''`",
|
6535
|
+
"description": "Mode, can be set to `closeable` `link`",
|
6536
|
+
"options": [],
|
6537
|
+
"value": {
|
6538
|
+
"type": "string",
|
6539
|
+
"kind": "expression"
|
6540
|
+
}
|
6541
|
+
},
|
6542
|
+
{
|
6543
|
+
"name": "text",
|
6544
|
+
"default": "`''`",
|
6545
|
+
"description": "Notice text content",
|
6546
|
+
"options": [],
|
6547
|
+
"value": {
|
6548
|
+
"type": "string",
|
6549
|
+
"kind": "expression"
|
6550
|
+
}
|
6551
|
+
},
|
6552
|
+
{
|
6553
|
+
"name": "color",
|
6554
|
+
"default": "`#ed6a0c`",
|
6555
|
+
"description": "Text color",
|
6556
|
+
"options": [],
|
6557
|
+
"value": {
|
6558
|
+
"type": "string",
|
6559
|
+
"kind": "expression"
|
6560
|
+
}
|
6561
|
+
},
|
6562
|
+
{
|
6563
|
+
"name": "background",
|
6564
|
+
"default": "`#fffbe8`",
|
6565
|
+
"description": "Background color",
|
6566
|
+
"options": [],
|
6567
|
+
"value": {
|
6568
|
+
"type": "string",
|
6569
|
+
"kind": "expression"
|
6570
|
+
}
|
6571
|
+
},
|
6572
|
+
{
|
6573
|
+
"name": "left-icon",
|
6574
|
+
"default": "-",
|
6575
|
+
"description": "Left Icon",
|
6576
|
+
"options": [],
|
6577
|
+
"value": {
|
6578
|
+
"type": "string",
|
6579
|
+
"kind": "expression"
|
6580
|
+
}
|
6581
|
+
},
|
6582
|
+
{
|
6583
|
+
"name": "delay",
|
6584
|
+
"default": "`1`",
|
6585
|
+
"description": "Animation delay (s)",
|
6586
|
+
"options": [],
|
6587
|
+
"value": {
|
6588
|
+
"type": "number | string",
|
6589
|
+
"kind": "expression"
|
6590
|
+
}
|
6591
|
+
},
|
6592
|
+
{
|
6593
|
+
"name": "speed",
|
6594
|
+
"default": "`60`",
|
6595
|
+
"description": "Scroll speed (px/s)",
|
6596
|
+
"options": [],
|
6597
|
+
"value": {
|
6598
|
+
"type": "number | string",
|
6599
|
+
"kind": "expression"
|
6600
|
+
}
|
6601
|
+
},
|
6602
|
+
{
|
6603
|
+
"name": "scrollable",
|
6604
|
+
"default": "-",
|
6605
|
+
"description": "Whether to scroll content",
|
6456
6606
|
"options": [],
|
6457
6607
|
"value": {
|
6458
|
-
"type": "
|
6608
|
+
"type": "boolean",
|
6459
6609
|
"kind": "expression"
|
6460
6610
|
}
|
6461
6611
|
},
|
6462
6612
|
{
|
6463
|
-
"name": "
|
6613
|
+
"name": "wrapable",
|
6464
6614
|
"default": "`false`",
|
6465
|
-
"description": "Whether to
|
6615
|
+
"description": "Whether to enable text wrap",
|
6466
6616
|
"options": [],
|
6467
6617
|
"value": {
|
6468
6618
|
"type": "boolean",
|
@@ -6612,142 +6762,6 @@
|
|
6612
6762
|
}
|
6613
6763
|
]
|
6614
6764
|
},
|
6615
|
-
{
|
6616
|
-
"name": "van-notice-bar",
|
6617
|
-
"slots": [
|
6618
|
-
{
|
6619
|
-
"name": "default",
|
6620
|
-
"description": "Notice text content"
|
6621
|
-
},
|
6622
|
-
{
|
6623
|
-
"name": "left-icon",
|
6624
|
-
"description": "Custom left icon"
|
6625
|
-
},
|
6626
|
-
{
|
6627
|
-
"name": "right-icon",
|
6628
|
-
"description": "Custom right icon"
|
6629
|
-
}
|
6630
|
-
],
|
6631
|
-
"events": [
|
6632
|
-
{
|
6633
|
-
"name": "click",
|
6634
|
-
"description": "Emitted when NoticeBar is clicked",
|
6635
|
-
"arguments": [
|
6636
|
-
{
|
6637
|
-
"name": "event",
|
6638
|
-
"type": "MouseEvent"
|
6639
|
-
}
|
6640
|
-
]
|
6641
|
-
},
|
6642
|
-
{
|
6643
|
-
"name": "close",
|
6644
|
-
"description": "Emitted when NoticeBar is closed",
|
6645
|
-
"arguments": [
|
6646
|
-
{
|
6647
|
-
"name": "event",
|
6648
|
-
"type": "MouseEvent"
|
6649
|
-
}
|
6650
|
-
]
|
6651
|
-
},
|
6652
|
-
{
|
6653
|
-
"name": "replay",
|
6654
|
-
"description": "Emitted when NoticeBar is replayed",
|
6655
|
-
"arguments": []
|
6656
|
-
}
|
6657
|
-
],
|
6658
|
-
"attributes": [
|
6659
|
-
{
|
6660
|
-
"name": "mode",
|
6661
|
-
"default": "`''`",
|
6662
|
-
"description": "Mode, can be set to `closeable` `link`",
|
6663
|
-
"options": [],
|
6664
|
-
"value": {
|
6665
|
-
"type": "string",
|
6666
|
-
"kind": "expression"
|
6667
|
-
}
|
6668
|
-
},
|
6669
|
-
{
|
6670
|
-
"name": "text",
|
6671
|
-
"default": "`''`",
|
6672
|
-
"description": "Notice text content",
|
6673
|
-
"options": [],
|
6674
|
-
"value": {
|
6675
|
-
"type": "string",
|
6676
|
-
"kind": "expression"
|
6677
|
-
}
|
6678
|
-
},
|
6679
|
-
{
|
6680
|
-
"name": "color",
|
6681
|
-
"default": "`#ed6a0c`",
|
6682
|
-
"description": "Text color",
|
6683
|
-
"options": [],
|
6684
|
-
"value": {
|
6685
|
-
"type": "string",
|
6686
|
-
"kind": "expression"
|
6687
|
-
}
|
6688
|
-
},
|
6689
|
-
{
|
6690
|
-
"name": "background",
|
6691
|
-
"default": "`#fffbe8`",
|
6692
|
-
"description": "Background color",
|
6693
|
-
"options": [],
|
6694
|
-
"value": {
|
6695
|
-
"type": "string",
|
6696
|
-
"kind": "expression"
|
6697
|
-
}
|
6698
|
-
},
|
6699
|
-
{
|
6700
|
-
"name": "left-icon",
|
6701
|
-
"default": "-",
|
6702
|
-
"description": "Left Icon",
|
6703
|
-
"options": [],
|
6704
|
-
"value": {
|
6705
|
-
"type": "string",
|
6706
|
-
"kind": "expression"
|
6707
|
-
}
|
6708
|
-
},
|
6709
|
-
{
|
6710
|
-
"name": "delay",
|
6711
|
-
"default": "`1`",
|
6712
|
-
"description": "Animation delay (s)",
|
6713
|
-
"options": [],
|
6714
|
-
"value": {
|
6715
|
-
"type": "number | string",
|
6716
|
-
"kind": "expression"
|
6717
|
-
}
|
6718
|
-
},
|
6719
|
-
{
|
6720
|
-
"name": "speed",
|
6721
|
-
"default": "`60`",
|
6722
|
-
"description": "Scroll speed (px/s)",
|
6723
|
-
"options": [],
|
6724
|
-
"value": {
|
6725
|
-
"type": "number | string",
|
6726
|
-
"kind": "expression"
|
6727
|
-
}
|
6728
|
-
},
|
6729
|
-
{
|
6730
|
-
"name": "scrollable",
|
6731
|
-
"default": "-",
|
6732
|
-
"description": "Whether to scroll content",
|
6733
|
-
"options": [],
|
6734
|
-
"value": {
|
6735
|
-
"type": "boolean",
|
6736
|
-
"kind": "expression"
|
6737
|
-
}
|
6738
|
-
},
|
6739
|
-
{
|
6740
|
-
"name": "wrapable",
|
6741
|
-
"default": "`false`",
|
6742
|
-
"description": "Whether to enable text wrap",
|
6743
|
-
"options": [],
|
6744
|
-
"value": {
|
6745
|
-
"type": "boolean",
|
6746
|
-
"kind": "expression"
|
6747
|
-
}
|
6748
|
-
}
|
6749
|
-
]
|
6750
|
-
},
|
6751
6765
|
{
|
6752
6766
|
"name": "van-number-keyboard",
|
6753
6767
|
"slots": [
|
@@ -7266,6 +7280,60 @@
|
|
7266
7280
|
}
|
7267
7281
|
]
|
7268
7282
|
},
|
7283
|
+
{
|
7284
|
+
"name": "van-picker-group",
|
7285
|
+
"slots": [
|
7286
|
+
{
|
7287
|
+
"name": "toolbar",
|
7288
|
+
"description": "Custom toolbar content"
|
7289
|
+
},
|
7290
|
+
{
|
7291
|
+
"name": "title",
|
7292
|
+
"description": "Custom title"
|
7293
|
+
},
|
7294
|
+
{
|
7295
|
+
"name": "confirm",
|
7296
|
+
"description": "Custom confirm button text"
|
7297
|
+
},
|
7298
|
+
{
|
7299
|
+
"name": "cancel",
|
7300
|
+
"description": "Custom cancel button text"
|
7301
|
+
}
|
7302
|
+
],
|
7303
|
+
"events": [],
|
7304
|
+
"attributes": [
|
7305
|
+
{
|
7306
|
+
"name": "title",
|
7307
|
+
"default": "`''`",
|
7308
|
+
"description": "Toolbar title",
|
7309
|
+
"options": [],
|
7310
|
+
"value": {
|
7311
|
+
"type": "string",
|
7312
|
+
"kind": "expression"
|
7313
|
+
}
|
7314
|
+
},
|
7315
|
+
{
|
7316
|
+
"name": "confirm-button-text",
|
7317
|
+
"default": "`Confirm`",
|
7318
|
+
"description": "Text of confirm button",
|
7319
|
+
"options": [],
|
7320
|
+
"value": {
|
7321
|
+
"type": "string",
|
7322
|
+
"kind": "expression"
|
7323
|
+
}
|
7324
|
+
},
|
7325
|
+
{
|
7326
|
+
"name": "cancel-button-text",
|
7327
|
+
"default": "`Cancel`",
|
7328
|
+
"description": "Text of cancel button",
|
7329
|
+
"options": [],
|
7330
|
+
"value": {
|
7331
|
+
"type": "string",
|
7332
|
+
"kind": "expression"
|
7333
|
+
}
|
7334
|
+
}
|
7335
|
+
]
|
7336
|
+
},
|
7269
7337
|
{
|
7270
7338
|
"name": "van-picker",
|
7271
7339
|
"slots": [
|
@@ -7459,60 +7527,6 @@
|
|
7459
7527
|
}
|
7460
7528
|
]
|
7461
7529
|
},
|
7462
|
-
{
|
7463
|
-
"name": "van-picker-group",
|
7464
|
-
"slots": [
|
7465
|
-
{
|
7466
|
-
"name": "toolbar",
|
7467
|
-
"description": "Custom toolbar content"
|
7468
|
-
},
|
7469
|
-
{
|
7470
|
-
"name": "title",
|
7471
|
-
"description": "Custom title"
|
7472
|
-
},
|
7473
|
-
{
|
7474
|
-
"name": "confirm",
|
7475
|
-
"description": "Custom confirm button text"
|
7476
|
-
},
|
7477
|
-
{
|
7478
|
-
"name": "cancel",
|
7479
|
-
"description": "Custom cancel button text"
|
7480
|
-
}
|
7481
|
-
],
|
7482
|
-
"events": [],
|
7483
|
-
"attributes": [
|
7484
|
-
{
|
7485
|
-
"name": "title",
|
7486
|
-
"default": "`''`",
|
7487
|
-
"description": "Toolbar title",
|
7488
|
-
"options": [],
|
7489
|
-
"value": {
|
7490
|
-
"type": "string",
|
7491
|
-
"kind": "expression"
|
7492
|
-
}
|
7493
|
-
},
|
7494
|
-
{
|
7495
|
-
"name": "confirm-button-text",
|
7496
|
-
"default": "`Confirm`",
|
7497
|
-
"description": "Text of confirm button",
|
7498
|
-
"options": [],
|
7499
|
-
"value": {
|
7500
|
-
"type": "string",
|
7501
|
-
"kind": "expression"
|
7502
|
-
}
|
7503
|
-
},
|
7504
|
-
{
|
7505
|
-
"name": "cancel-button-text",
|
7506
|
-
"default": "`Cancel`",
|
7507
|
-
"description": "Text of cancel button",
|
7508
|
-
"options": [],
|
7509
|
-
"value": {
|
7510
|
-
"type": "string",
|
7511
|
-
"kind": "expression"
|
7512
|
-
}
|
7513
|
-
}
|
7514
|
-
]
|
7515
|
-
},
|
7516
7530
|
{
|
7517
7531
|
"name": "van-popover",
|
7518
7532
|
"slots": [
|