vant 3.5.0-beta.1 → 3.5.0
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/dialog/Dialog.d.ts +8 -0
- package/es/dialog/Dialog.mjs +6 -0
- package/es/dialog/function-call.d.ts +10 -0
- package/es/dialog/function-call.mjs +2 -0
- package/es/dialog/types.d.ts +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/picker/Picker.mjs +1 -1
- package/es/picker/PickerColumn.mjs +2 -0
- package/es/switch/Switch.mjs +2 -1
- package/lib/dialog/Dialog.d.ts +8 -0
- package/lib/dialog/Dialog.js +6 -0
- package/lib/dialog/function-call.d.ts +10 -0
- package/lib/dialog/function-call.js +2 -0
- package/lib/dialog/types.d.ts +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/picker/Picker.js +1 -1
- package/lib/picker/PickerColumn.js +2 -0
- package/lib/switch/Switch.js +2 -1
- package/lib/vant.cjs.js +14 -3
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +14 -3
- package/lib/vant.es.min.js +14 -3
- package/lib/vant.js +14 -3
- package/lib/vant.min.js +1 -1
- package/package.json +3 -3
- package/vetur/attributes.json +238 -230
- package/vetur/tags.json +81 -79
- package/vetur/web-types.json +977 -953
package/vetur/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": "3.5.0
|
5
|
+
"version": "3.5.0",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -560,38 +560,33 @@
|
|
560
560
|
]
|
561
561
|
},
|
562
562
|
{
|
563
|
-
"name": "van-
|
563
|
+
"name": "van-action-sheet",
|
564
564
|
"slots": [
|
565
565
|
{
|
566
566
|
"name": "default",
|
567
|
-
"description": "Custom content
|
567
|
+
"description": "Custom content"
|
568
568
|
},
|
569
569
|
{
|
570
|
-
"name": "
|
571
|
-
"description": "Custom
|
570
|
+
"name": "description",
|
571
|
+
"description": "Custom description above the options"
|
572
572
|
},
|
573
573
|
{
|
574
|
-
"name": "
|
575
|
-
"description": "Custom content
|
574
|
+
"name": "cancel",
|
575
|
+
"description": "Custom the content of cancel button"
|
576
576
|
},
|
577
577
|
{
|
578
|
-
"name": "
|
579
|
-
"description": "Custom
|
578
|
+
"name": "action",
|
579
|
+
"description": "Custom the content of action"
|
580
580
|
}
|
581
581
|
],
|
582
582
|
"events": [
|
583
583
|
{
|
584
|
-
"name": "
|
585
|
-
"description": "Emitted when
|
586
|
-
"arguments": []
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"name": "edit",
|
590
|
-
"description": "Emitted when the edit icon of address is clicked",
|
584
|
+
"name": "select",
|
585
|
+
"description": "Emitted when an option is clicked",
|
591
586
|
"arguments": [
|
592
587
|
{
|
593
|
-
"name": "
|
594
|
-
"type": "
|
588
|
+
"name": "action",
|
589
|
+
"type": "ActionSheetAction"
|
595
590
|
},
|
596
591
|
{
|
597
592
|
"name": "index",
|
@@ -600,97 +595,76 @@
|
|
600
595
|
]
|
601
596
|
},
|
602
597
|
{
|
603
|
-
"name": "
|
604
|
-
"description": "Emitted when
|
605
|
-
"arguments": [
|
606
|
-
{
|
607
|
-
"name": "item",
|
608
|
-
"type": "Address"
|
609
|
-
},
|
610
|
-
{
|
611
|
-
"name": "index",
|
612
|
-
"type": "number"
|
613
|
-
}
|
614
|
-
]
|
598
|
+
"name": "cancel",
|
599
|
+
"description": "Emitted when the cancel button is clicked",
|
600
|
+
"arguments": []
|
615
601
|
},
|
616
602
|
{
|
617
|
-
"name": "
|
618
|
-
"description": "Emitted when
|
619
|
-
"arguments": [
|
620
|
-
{
|
621
|
-
"name": "item",
|
622
|
-
"type": "Address"
|
623
|
-
},
|
624
|
-
{
|
625
|
-
"name": "index",
|
626
|
-
"type": "number"
|
627
|
-
}
|
628
|
-
]
|
603
|
+
"name": "open",
|
604
|
+
"description": "Emitted when opening ActionSheet",
|
605
|
+
"arguments": []
|
629
606
|
},
|
630
607
|
{
|
631
|
-
"name": "
|
632
|
-
"description": "Emitted when
|
633
|
-
"arguments": [
|
634
|
-
{
|
635
|
-
"name": "item",
|
636
|
-
"type": "Address"
|
637
|
-
},
|
638
|
-
{
|
639
|
-
"name": "index",
|
640
|
-
"type": "number"
|
641
|
-
}
|
642
|
-
]
|
608
|
+
"name": "close",
|
609
|
+
"description": "Emitted when closing ActionSheet",
|
610
|
+
"arguments": []
|
643
611
|
},
|
644
612
|
{
|
645
|
-
"name": "
|
646
|
-
"description": "Emitted when
|
613
|
+
"name": "opened",
|
614
|
+
"description": "Emitted when ActionSheet is opened",
|
615
|
+
"arguments": []
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"name": "closed",
|
619
|
+
"description": "Emitted when ActionSheet is closed",
|
620
|
+
"arguments": []
|
621
|
+
},
|
622
|
+
{
|
623
|
+
"name": "click-overlay",
|
624
|
+
"description": "Emitted when overlay is clicked",
|
647
625
|
"arguments": [
|
648
626
|
{
|
649
|
-
"name": "
|
650
|
-
"type": "
|
651
|
-
},
|
652
|
-
{
|
653
|
-
"name": "index",
|
654
|
-
"type": "number"
|
627
|
+
"name": "event",
|
628
|
+
"type": "MouseEvent"
|
655
629
|
}
|
656
630
|
]
|
657
631
|
}
|
658
632
|
],
|
659
633
|
"attributes": [
|
660
634
|
{
|
661
|
-
"name": "v-model",
|
662
|
-
"default": "
|
663
|
-
"description": "
|
635
|
+
"name": "v-model:show",
|
636
|
+
"default": "`false`",
|
637
|
+
"description": "Whether to show ActionSheet",
|
664
638
|
"options": [],
|
665
639
|
"value": {
|
666
|
-
"type": "
|
640
|
+
"type": "boolean",
|
667
641
|
"kind": "expression"
|
668
642
|
}
|
669
643
|
},
|
670
644
|
{
|
671
|
-
"name": "
|
645
|
+
"name": "actions",
|
672
646
|
"default": "`[]`",
|
673
|
-
"description": "
|
647
|
+
"description": "Options",
|
674
648
|
"options": [],
|
675
649
|
"value": {
|
676
|
-
"type": "
|
650
|
+
"type": "ActionSheetAction[]",
|
677
651
|
"kind": "expression"
|
678
652
|
}
|
679
653
|
},
|
680
654
|
{
|
681
|
-
"name": "
|
682
|
-
"default": "
|
683
|
-
"description": "
|
655
|
+
"name": "title",
|
656
|
+
"default": "-",
|
657
|
+
"description": "Title",
|
684
658
|
"options": [],
|
685
659
|
"value": {
|
686
|
-
"type": "
|
660
|
+
"type": "string",
|
687
661
|
"kind": "expression"
|
688
662
|
}
|
689
663
|
},
|
690
664
|
{
|
691
|
-
"name": "
|
665
|
+
"name": "cancel-text",
|
692
666
|
"default": "-",
|
693
|
-
"description": "
|
667
|
+
"description": "Text of cancel button",
|
694
668
|
"options": [],
|
695
669
|
"value": {
|
696
670
|
"type": "string",
|
@@ -698,141 +672,79 @@
|
|
698
672
|
}
|
699
673
|
},
|
700
674
|
{
|
701
|
-
"name": "
|
702
|
-
"default": "
|
703
|
-
"description": "
|
675
|
+
"name": "description",
|
676
|
+
"default": "-",
|
677
|
+
"description": "Description above the options",
|
704
678
|
"options": [],
|
705
679
|
"value": {
|
706
|
-
"type": "
|
680
|
+
"type": "string",
|
707
681
|
"kind": "expression"
|
708
682
|
}
|
709
683
|
},
|
710
684
|
{
|
711
|
-
"name": "
|
712
|
-
"default": "`
|
713
|
-
"description": "
|
685
|
+
"name": "closeable",
|
686
|
+
"default": "`true`",
|
687
|
+
"description": "Whether to show close icon",
|
714
688
|
"options": [],
|
715
689
|
"value": {
|
716
|
-
"type": "
|
690
|
+
"type": "boolean",
|
717
691
|
"kind": "expression"
|
718
692
|
}
|
719
693
|
},
|
720
694
|
{
|
721
|
-
"name": "
|
722
|
-
"default": "
|
723
|
-
"description": "
|
695
|
+
"name": "close-icon",
|
696
|
+
"default": "`cross`",
|
697
|
+
"description": "Close icon name",
|
724
698
|
"options": [],
|
725
699
|
"value": {
|
726
700
|
"type": "string",
|
727
701
|
"kind": "expression"
|
728
702
|
}
|
729
|
-
}
|
730
|
-
]
|
731
|
-
},
|
732
|
-
{
|
733
|
-
"name": "van-area",
|
734
|
-
"slots": [
|
735
|
-
{
|
736
|
-
"name": "toolbar",
|
737
|
-
"description": "Custom toolbar content"
|
738
|
-
},
|
739
|
-
{
|
740
|
-
"name": "title",
|
741
|
-
"description": "Custom title"
|
742
|
-
},
|
743
|
-
{
|
744
|
-
"name": "confirm",
|
745
|
-
"description": "Custom confirm button text"
|
746
|
-
},
|
747
|
-
{
|
748
|
-
"name": "cancel",
|
749
|
-
"description": "Custom cancel button text"
|
750
|
-
},
|
751
|
-
{
|
752
|
-
"name": "columns-top",
|
753
|
-
"description": "Custom content above columns"
|
754
|
-
},
|
755
|
-
{
|
756
|
-
"name": "columns-bottom",
|
757
|
-
"description": "Custom content below columns"
|
758
|
-
}
|
759
|
-
],
|
760
|
-
"events": [
|
761
|
-
{
|
762
|
-
"name": "confirm",
|
763
|
-
"description": "Emitted when the confirm button is clicked",
|
764
|
-
"arguments": [
|
765
|
-
{
|
766
|
-
"name": "result",
|
767
|
-
"type": "ConfirmResult"
|
768
|
-
}
|
769
|
-
]
|
770
|
-
},
|
771
|
-
{
|
772
|
-
"name": "cancel",
|
773
|
-
"description": "Emitted when the cancel button is clicked",
|
774
|
-
"arguments": []
|
775
703
|
},
|
776
704
|
{
|
777
|
-
"name": "
|
778
|
-
"
|
779
|
-
"
|
780
|
-
{
|
781
|
-
"name": "current",
|
782
|
-
"type": "values"
|
783
|
-
},
|
784
|
-
{
|
785
|
-
"name": "column",
|
786
|
-
"type": "index"
|
787
|
-
}
|
788
|
-
]
|
789
|
-
}
|
790
|
-
],
|
791
|
-
"attributes": [
|
792
|
-
{
|
793
|
-
"name": "value",
|
794
|
-
"default": "-",
|
795
|
-
"description": "the `code` of selected area",
|
705
|
+
"name": "duration",
|
706
|
+
"default": "`0.3`",
|
707
|
+
"description": "Transition duration, unit second",
|
796
708
|
"options": [],
|
797
709
|
"value": {
|
798
|
-
"type": "string",
|
710
|
+
"type": "number | string",
|
799
711
|
"kind": "expression"
|
800
712
|
}
|
801
713
|
},
|
802
714
|
{
|
803
|
-
"name": "
|
804
|
-
"default": "
|
805
|
-
"description": "
|
715
|
+
"name": "round",
|
716
|
+
"default": "`true`",
|
717
|
+
"description": "Whether to show round corner",
|
806
718
|
"options": [],
|
807
719
|
"value": {
|
808
|
-
"type": "
|
720
|
+
"type": "boolean",
|
809
721
|
"kind": "expression"
|
810
722
|
}
|
811
723
|
},
|
812
724
|
{
|
813
|
-
"name": "
|
814
|
-
"default": "`
|
815
|
-
"description": "
|
725
|
+
"name": "overlay",
|
726
|
+
"default": "`true`",
|
727
|
+
"description": "Whether to show overlay",
|
816
728
|
"options": [],
|
817
729
|
"value": {
|
818
|
-
"type": "
|
730
|
+
"type": "boolean",
|
819
731
|
"kind": "expression"
|
820
732
|
}
|
821
733
|
},
|
822
734
|
{
|
823
|
-
"name": "
|
824
|
-
"default": "
|
825
|
-
"description": "
|
735
|
+
"name": "overlay-class",
|
736
|
+
"default": "-",
|
737
|
+
"description": "Custom overlay class",
|
826
738
|
"options": [],
|
827
739
|
"value": {
|
828
|
-
"type": "string",
|
740
|
+
"type": "string | Array | object",
|
829
741
|
"kind": "expression"
|
830
742
|
}
|
831
743
|
},
|
832
744
|
{
|
833
|
-
"name": "
|
745
|
+
"name": "overlay-style",
|
834
746
|
"default": "-",
|
835
|
-
"description": "
|
747
|
+
"description": "Custom overlay style",
|
836
748
|
"options": [],
|
837
749
|
"value": {
|
838
750
|
"type": "object",
|
@@ -840,19 +752,19 @@
|
|
840
752
|
}
|
841
753
|
},
|
842
754
|
{
|
843
|
-
"name": "
|
844
|
-
"default": "`
|
845
|
-
"description": "
|
755
|
+
"name": "lock-scroll",
|
756
|
+
"default": "`true`",
|
757
|
+
"description": "Whether to lock background scroll",
|
846
758
|
"options": [],
|
847
759
|
"value": {
|
848
|
-
"type": "
|
760
|
+
"type": "boolean",
|
849
761
|
"kind": "expression"
|
850
762
|
}
|
851
763
|
},
|
852
764
|
{
|
853
|
-
"name": "
|
854
|
-
"default": "`
|
855
|
-
"description": "Whether to
|
765
|
+
"name": "lazy-render",
|
766
|
+
"default": "`true`",
|
767
|
+
"description": "Whether to lazy render util appeared",
|
856
768
|
"options": [],
|
857
769
|
"value": {
|
858
770
|
"type": "boolean",
|
@@ -860,9 +772,9 @@
|
|
860
772
|
}
|
861
773
|
},
|
862
774
|
{
|
863
|
-
"name": "
|
864
|
-
"default": "`
|
865
|
-
"description": "Whether to
|
775
|
+
"name": "close-on-popstate",
|
776
|
+
"default": "`true`",
|
777
|
+
"description": "Whether to close when popstate",
|
866
778
|
"options": [],
|
867
779
|
"value": {
|
868
780
|
"type": "boolean",
|
@@ -870,85 +782,131 @@
|
|
870
782
|
}
|
871
783
|
},
|
872
784
|
{
|
873
|
-
"name": "
|
874
|
-
"default": "`
|
875
|
-
"description": "
|
785
|
+
"name": "close-on-click-action",
|
786
|
+
"default": "`false`",
|
787
|
+
"description": "Whether to close when an action is clicked",
|
876
788
|
"options": [],
|
877
789
|
"value": {
|
878
|
-
"type": "
|
790
|
+
"type": "boolean",
|
879
791
|
"kind": "expression"
|
880
792
|
}
|
881
793
|
},
|
882
794
|
{
|
883
|
-
"name": "
|
884
|
-
"default": "`
|
885
|
-
"description": "
|
795
|
+
"name": "close-on-click-overlay",
|
796
|
+
"default": "`true`",
|
797
|
+
"description": "Whether to close when overlay is clicked",
|
886
798
|
"options": [],
|
887
799
|
"value": {
|
888
|
-
"type": "
|
800
|
+
"type": "boolean",
|
889
801
|
"kind": "expression"
|
890
802
|
}
|
891
803
|
},
|
892
804
|
{
|
893
|
-
"name": "
|
894
|
-
"default": "`
|
895
|
-
"description": "
|
805
|
+
"name": "safe-area-inset-bottom",
|
806
|
+
"default": "`true`",
|
807
|
+
"description": "Whether to enable bottom safe area adaptation",
|
896
808
|
"options": [],
|
897
809
|
"value": {
|
898
|
-
"type": "
|
810
|
+
"type": "boolean",
|
899
811
|
"kind": "expression"
|
900
812
|
}
|
901
813
|
},
|
902
814
|
{
|
903
|
-
"name": "
|
904
|
-
"default": "
|
905
|
-
"description": "
|
815
|
+
"name": "teleport",
|
816
|
+
"default": "-",
|
817
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
906
818
|
"options": [],
|
907
819
|
"value": {
|
908
|
-
"type": "
|
820
|
+
"type": "string | Element",
|
909
821
|
"kind": "expression"
|
910
822
|
}
|
911
823
|
},
|
912
824
|
{
|
913
|
-
"name": "
|
825
|
+
"name": "before-close",
|
914
826
|
"default": "-",
|
915
|
-
"description": "
|
827
|
+
"description": "Callback function before close",
|
916
828
|
"options": [],
|
917
829
|
"value": {
|
918
|
-
"type": "() => boolean",
|
830
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
919
831
|
"kind": "expression"
|
920
832
|
}
|
921
833
|
}
|
922
834
|
]
|
923
835
|
},
|
924
836
|
{
|
925
|
-
"name": "van-
|
837
|
+
"name": "van-area",
|
926
838
|
"slots": [
|
927
839
|
{
|
928
|
-
"name": "
|
929
|
-
"description": "
|
840
|
+
"name": "toolbar",
|
841
|
+
"description": "Custom toolbar content"
|
930
842
|
},
|
931
843
|
{
|
932
|
-
"name": "
|
933
|
-
"description": "Custom
|
844
|
+
"name": "title",
|
845
|
+
"description": "Custom title"
|
846
|
+
},
|
847
|
+
{
|
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
|
+
]
|
934
893
|
}
|
935
894
|
],
|
936
|
-
"events": [],
|
937
895
|
"attributes": [
|
938
896
|
{
|
939
|
-
"name": "
|
897
|
+
"name": "value",
|
940
898
|
"default": "-",
|
941
|
-
"description": "
|
899
|
+
"description": "the `code` of selected area",
|
942
900
|
"options": [],
|
943
901
|
"value": {
|
944
|
-
"type": "
|
902
|
+
"type": "string",
|
945
903
|
"kind": "expression"
|
946
904
|
}
|
947
905
|
},
|
948
906
|
{
|
949
|
-
"name": "
|
950
|
-
"default": "
|
951
|
-
"description": "
|
907
|
+
"name": "title",
|
908
|
+
"default": "-",
|
909
|
+
"description": "Toolbar title",
|
952
910
|
"options": [],
|
953
911
|
"value": {
|
954
912
|
"type": "string",
|
@@ -956,180 +914,219 @@
|
|
956
914
|
}
|
957
915
|
},
|
958
916
|
{
|
959
|
-
"name": "
|
960
|
-
"default": "`
|
961
|
-
"description": "
|
917
|
+
"name": "confirm-button-text",
|
918
|
+
"default": "`Confirm`",
|
919
|
+
"description": "Text of confirm button",
|
962
920
|
"options": [],
|
963
921
|
"value": {
|
964
|
-
"type": "
|
922
|
+
"type": "string",
|
965
923
|
"kind": "expression"
|
966
924
|
}
|
967
925
|
},
|
968
926
|
{
|
969
|
-
"name": "
|
970
|
-
"default": "
|
971
|
-
"description": "
|
927
|
+
"name": "cancel-button-text",
|
928
|
+
"default": "`Cancel`",
|
929
|
+
"description": "Text of cancel button",
|
972
930
|
"options": [],
|
973
931
|
"value": {
|
974
|
-
"type": "
|
932
|
+
"type": "string",
|
975
933
|
"kind": "expression"
|
976
934
|
}
|
977
935
|
},
|
978
936
|
{
|
979
|
-
"name": "
|
937
|
+
"name": "area-list",
|
980
938
|
"default": "-",
|
981
|
-
"description": "
|
939
|
+
"description": "Area list data",
|
982
940
|
"options": [],
|
983
941
|
"value": {
|
984
|
-
"type": "
|
942
|
+
"type": "object",
|
985
943
|
"kind": "expression"
|
986
944
|
}
|
987
945
|
},
|
988
946
|
{
|
989
|
-
"name": "
|
990
|
-
"default": "`
|
991
|
-
"description": "
|
947
|
+
"name": "columns-placeholder",
|
948
|
+
"default": "`[]`",
|
949
|
+
"description": "Placeholder of columns",
|
992
950
|
"options": [],
|
993
951
|
"value": {
|
994
|
-
"type": "
|
952
|
+
"type": "string[]",
|
995
953
|
"kind": "expression"
|
996
954
|
}
|
997
955
|
},
|
998
956
|
{
|
999
|
-
"name": "
|
1000
|
-
"default": "`
|
1001
|
-
"description": "
|
957
|
+
"name": "loading",
|
958
|
+
"default": "`false`",
|
959
|
+
"description": "Whether to show loading prompt",
|
1002
960
|
"options": [],
|
1003
961
|
"value": {
|
1004
|
-
"type": "
|
962
|
+
"type": "boolean",
|
1005
963
|
"kind": "expression"
|
1006
964
|
}
|
1007
|
-
}
|
1008
|
-
]
|
1009
|
-
},
|
1010
|
-
{
|
1011
|
-
"name": "van-button",
|
1012
|
-
"slots": [
|
1013
|
-
{
|
1014
|
-
"name": "default",
|
1015
|
-
"description": "Default slot"
|
1016
|
-
},
|
1017
|
-
{
|
1018
|
-
"name": "icon",
|
1019
|
-
"description": "Custom icon"
|
1020
|
-
},
|
1021
|
-
{
|
1022
|
-
"name": "loading",
|
1023
|
-
"description": "Custom loading icon"
|
1024
|
-
}
|
1025
|
-
],
|
1026
|
-
"events": [
|
1027
|
-
{
|
1028
|
-
"name": "click",
|
1029
|
-
"description": "Emitted when button is clicked and not disabled or loading",
|
1030
|
-
"arguments": [
|
1031
|
-
{
|
1032
|
-
"name": "event",
|
1033
|
-
"type": "MouseEvent"
|
1034
|
-
}
|
1035
|
-
]
|
1036
965
|
},
|
1037
966
|
{
|
1038
|
-
"name": "
|
1039
|
-
"
|
1040
|
-
"
|
1041
|
-
{
|
1042
|
-
"name": "event",
|
1043
|
-
"type": "TouchEvent"
|
1044
|
-
}
|
1045
|
-
]
|
1046
|
-
}
|
1047
|
-
],
|
1048
|
-
"attributes": [
|
1049
|
-
{
|
1050
|
-
"name": "type",
|
1051
|
-
"default": "`default`",
|
1052
|
-
"description": "Can be set to `primary` `success` `warning` `danger`",
|
967
|
+
"name": "readonly",
|
968
|
+
"default": "`false`",
|
969
|
+
"description": "Whether to be readonly",
|
1053
970
|
"options": [],
|
1054
971
|
"value": {
|
1055
|
-
"type": "
|
972
|
+
"type": "boolean",
|
1056
973
|
"kind": "expression"
|
1057
974
|
}
|
1058
975
|
},
|
1059
976
|
{
|
1060
|
-
"name": "
|
1061
|
-
"default": "`
|
1062
|
-
"description": "
|
977
|
+
"name": "item-height",
|
978
|
+
"default": "`44`",
|
979
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
1063
980
|
"options": [],
|
1064
981
|
"value": {
|
1065
|
-
"type": "string",
|
982
|
+
"type": "number | string",
|
1066
983
|
"kind": "expression"
|
1067
984
|
}
|
1068
985
|
},
|
1069
986
|
{
|
1070
|
-
"name": "
|
1071
|
-
"default": "
|
1072
|
-
"description": "
|
987
|
+
"name": "columns-num",
|
988
|
+
"default": "`3`",
|
989
|
+
"description": "Level of picker",
|
1073
990
|
"options": [],
|
1074
991
|
"value": {
|
1075
|
-
"type": "string",
|
992
|
+
"type": "number | string",
|
1076
993
|
"kind": "expression"
|
1077
994
|
}
|
1078
995
|
},
|
1079
996
|
{
|
1080
|
-
"name": "
|
1081
|
-
"default": "
|
1082
|
-
"description": "
|
997
|
+
"name": "visible-item-count",
|
998
|
+
"default": "`6`",
|
999
|
+
"description": "Count of visible columns",
|
1083
1000
|
"options": [],
|
1084
1001
|
"value": {
|
1085
|
-
"type": "string",
|
1002
|
+
"type": "number | string",
|
1086
1003
|
"kind": "expression"
|
1087
1004
|
}
|
1088
1005
|
},
|
1089
1006
|
{
|
1090
|
-
"name": "
|
1091
|
-
"default": "
|
1092
|
-
"description": "
|
1007
|
+
"name": "swipe-duration",
|
1008
|
+
"default": "`1000`",
|
1009
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
1093
1010
|
"options": [],
|
1094
1011
|
"value": {
|
1095
|
-
"type": "string",
|
1012
|
+
"type": "number | string",
|
1096
1013
|
"kind": "expression"
|
1097
1014
|
}
|
1098
1015
|
},
|
1099
1016
|
{
|
1100
|
-
"name": "
|
1101
|
-
"default": "
|
1102
|
-
"description": "
|
1017
|
+
"name": "is-oversea-code",
|
1018
|
+
"default": "-",
|
1019
|
+
"description": "The method to validate oversea code",
|
1103
1020
|
"options": [],
|
1104
1021
|
"value": {
|
1105
|
-
"type": "
|
1022
|
+
"type": "() => boolean",
|
1106
1023
|
"kind": "expression"
|
1107
1024
|
}
|
1025
|
+
}
|
1026
|
+
]
|
1027
|
+
},
|
1028
|
+
{
|
1029
|
+
"name": "van-address-list",
|
1030
|
+
"slots": [
|
1031
|
+
{
|
1032
|
+
"name": "default",
|
1033
|
+
"description": "Custom content after list"
|
1108
1034
|
},
|
1109
1035
|
{
|
1110
|
-
"name": "
|
1111
|
-
"
|
1112
|
-
|
1113
|
-
|
1114
|
-
"
|
1115
|
-
|
1116
|
-
"kind": "expression"
|
1117
|
-
}
|
1036
|
+
"name": "top",
|
1037
|
+
"description": "Custom content before list"
|
1038
|
+
},
|
1039
|
+
{
|
1040
|
+
"name": "item-bottom",
|
1041
|
+
"description": "Custom content after list item"
|
1118
1042
|
},
|
1119
1043
|
{
|
1120
1044
|
"name": "tag",
|
1121
|
-
"
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1045
|
+
"description": "Custom tag of list item"
|
1046
|
+
}
|
1047
|
+
],
|
1048
|
+
"events": [
|
1049
|
+
{
|
1050
|
+
"name": "add",
|
1051
|
+
"description": "Emitted when the add button is clicked",
|
1052
|
+
"arguments": []
|
1128
1053
|
},
|
1129
1054
|
{
|
1130
|
-
"name": "
|
1131
|
-
"
|
1132
|
-
"
|
1055
|
+
"name": "edit",
|
1056
|
+
"description": "Emitted when the edit icon of address is clicked",
|
1057
|
+
"arguments": [
|
1058
|
+
{
|
1059
|
+
"name": "item",
|
1060
|
+
"type": "Address"
|
1061
|
+
},
|
1062
|
+
{
|
1063
|
+
"name": "index",
|
1064
|
+
"type": "number"
|
1065
|
+
}
|
1066
|
+
]
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"name": "select",
|
1070
|
+
"description": "Emitted when an address is selected",
|
1071
|
+
"arguments": [
|
1072
|
+
{
|
1073
|
+
"name": "item",
|
1074
|
+
"type": "Address"
|
1075
|
+
},
|
1076
|
+
{
|
1077
|
+
"name": "index",
|
1078
|
+
"type": "number"
|
1079
|
+
}
|
1080
|
+
]
|
1081
|
+
},
|
1082
|
+
{
|
1083
|
+
"name": "edit-disabled",
|
1084
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
1085
|
+
"arguments": [
|
1086
|
+
{
|
1087
|
+
"name": "item",
|
1088
|
+
"type": "Address"
|
1089
|
+
},
|
1090
|
+
{
|
1091
|
+
"name": "index",
|
1092
|
+
"type": "number"
|
1093
|
+
}
|
1094
|
+
]
|
1095
|
+
},
|
1096
|
+
{
|
1097
|
+
"name": "select-disabled",
|
1098
|
+
"description": "Emitted when a disabled address is selected",
|
1099
|
+
"arguments": [
|
1100
|
+
{
|
1101
|
+
"name": "item",
|
1102
|
+
"type": "Address"
|
1103
|
+
},
|
1104
|
+
{
|
1105
|
+
"name": "index",
|
1106
|
+
"type": "number"
|
1107
|
+
}
|
1108
|
+
]
|
1109
|
+
},
|
1110
|
+
{
|
1111
|
+
"name": "click-item",
|
1112
|
+
"description": "Emitted when an address item is clicked",
|
1113
|
+
"arguments": [
|
1114
|
+
{
|
1115
|
+
"name": "item",
|
1116
|
+
"type": "Address"
|
1117
|
+
},
|
1118
|
+
{
|
1119
|
+
"name": "index",
|
1120
|
+
"type": "number"
|
1121
|
+
}
|
1122
|
+
]
|
1123
|
+
}
|
1124
|
+
],
|
1125
|
+
"attributes": [
|
1126
|
+
{
|
1127
|
+
"name": "v-model",
|
1128
|
+
"default": "-",
|
1129
|
+
"description": "Id of chosen address",
|
1133
1130
|
"options": [],
|
1134
1131
|
"value": {
|
1135
1132
|
"type": "string",
|
@@ -1137,39 +1134,39 @@
|
|
1137
1134
|
}
|
1138
1135
|
},
|
1139
1136
|
{
|
1140
|
-
"name": "
|
1141
|
-
"default": "`
|
1142
|
-
"description": "
|
1137
|
+
"name": "list",
|
1138
|
+
"default": "`[]`",
|
1139
|
+
"description": "Address list",
|
1143
1140
|
"options": [],
|
1144
1141
|
"value": {
|
1145
|
-
"type": "
|
1142
|
+
"type": "Address[]",
|
1146
1143
|
"kind": "expression"
|
1147
1144
|
}
|
1148
1145
|
},
|
1149
1146
|
{
|
1150
|
-
"name": "
|
1151
|
-
"default": "`
|
1152
|
-
"description": "
|
1147
|
+
"name": "disabled-list",
|
1148
|
+
"default": "`[]`",
|
1149
|
+
"description": "Disabled address list",
|
1153
1150
|
"options": [],
|
1154
1151
|
"value": {
|
1155
|
-
"type": "
|
1152
|
+
"type": "Address[]",
|
1156
1153
|
"kind": "expression"
|
1157
1154
|
}
|
1158
1155
|
},
|
1159
1156
|
{
|
1160
|
-
"name": "
|
1161
|
-
"default": "
|
1162
|
-
"description": "
|
1157
|
+
"name": "disabled-text",
|
1158
|
+
"default": "-",
|
1159
|
+
"description": "Disabled text",
|
1163
1160
|
"options": [],
|
1164
1161
|
"value": {
|
1165
|
-
"type": "
|
1162
|
+
"type": "string",
|
1166
1163
|
"kind": "expression"
|
1167
1164
|
}
|
1168
1165
|
},
|
1169
1166
|
{
|
1170
|
-
"name": "
|
1171
|
-
"default": "`
|
1172
|
-
"description": "Whether to
|
1167
|
+
"name": "switchable",
|
1168
|
+
"default": "`true`",
|
1169
|
+
"description": "Whether to allow switch address",
|
1173
1170
|
"options": [],
|
1174
1171
|
"value": {
|
1175
1172
|
"type": "boolean",
|
@@ -1177,39 +1174,55 @@
|
|
1177
1174
|
}
|
1178
1175
|
},
|
1179
1176
|
{
|
1180
|
-
"name": "
|
1181
|
-
"default": "`
|
1182
|
-
"description": "
|
1177
|
+
"name": "add-button-text",
|
1178
|
+
"default": "`Add new address`",
|
1179
|
+
"description": "Add button text",
|
1183
1180
|
"options": [],
|
1184
1181
|
"value": {
|
1185
|
-
"type": "
|
1182
|
+
"type": "string",
|
1186
1183
|
"kind": "expression"
|
1187
1184
|
}
|
1188
1185
|
},
|
1189
1186
|
{
|
1190
|
-
"name": "
|
1191
|
-
"default": "
|
1192
|
-
"description": "
|
1187
|
+
"name": "default-tag-text",
|
1188
|
+
"default": "-",
|
1189
|
+
"description": "Default tag text",
|
1193
1190
|
"options": [],
|
1194
1191
|
"value": {
|
1195
|
-
"type": "
|
1192
|
+
"type": "string",
|
1196
1193
|
"kind": "expression"
|
1197
1194
|
}
|
1195
|
+
}
|
1196
|
+
]
|
1197
|
+
},
|
1198
|
+
{
|
1199
|
+
"name": "van-badge",
|
1200
|
+
"slots": [
|
1201
|
+
{
|
1202
|
+
"name": "default",
|
1203
|
+
"description": "Default slot"
|
1198
1204
|
},
|
1199
1205
|
{
|
1200
|
-
"name": "
|
1206
|
+
"name": "content",
|
1207
|
+
"description": "Custom badge content"
|
1208
|
+
}
|
1209
|
+
],
|
1210
|
+
"events": [],
|
1211
|
+
"attributes": [
|
1212
|
+
{
|
1213
|
+
"name": "content",
|
1201
1214
|
"default": "-",
|
1202
|
-
"description": "
|
1215
|
+
"description": "Badge content",
|
1203
1216
|
"options": [],
|
1204
1217
|
"value": {
|
1205
|
-
"type": "string",
|
1218
|
+
"type": "number | string",
|
1206
1219
|
"kind": "expression"
|
1207
1220
|
}
|
1208
1221
|
},
|
1209
1222
|
{
|
1210
|
-
"name": "
|
1211
|
-
"default": "`
|
1212
|
-
"description": "
|
1223
|
+
"name": "color",
|
1224
|
+
"default": "`#ee0a24`",
|
1225
|
+
"description": "Background color",
|
1213
1226
|
"options": [],
|
1214
1227
|
"value": {
|
1215
1228
|
"type": "string",
|
@@ -1217,143 +1230,120 @@
|
|
1217
1230
|
}
|
1218
1231
|
},
|
1219
1232
|
{
|
1220
|
-
"name": "
|
1221
|
-
"default": "`
|
1222
|
-
"description": "
|
1233
|
+
"name": "dot",
|
1234
|
+
"default": "`false`",
|
1235
|
+
"description": "Whether to show dot",
|
1223
1236
|
"options": [],
|
1224
1237
|
"value": {
|
1225
|
-
"type": "
|
1238
|
+
"type": "boolean",
|
1226
1239
|
"kind": "expression"
|
1227
1240
|
}
|
1228
1241
|
},
|
1229
1242
|
{
|
1230
|
-
"name": "
|
1243
|
+
"name": "max",
|
1231
1244
|
"default": "-",
|
1232
|
-
"description": "
|
1245
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1233
1246
|
"options": [],
|
1234
1247
|
"value": {
|
1235
|
-
"type": "string",
|
1248
|
+
"type": "number | string",
|
1236
1249
|
"kind": "expression"
|
1237
1250
|
}
|
1238
1251
|
},
|
1239
1252
|
{
|
1240
|
-
"name": "
|
1253
|
+
"name": "offset",
|
1241
1254
|
"default": "-",
|
1242
|
-
"description": "
|
1255
|
+
"description": "Offset of badge dot",
|
1243
1256
|
"options": [],
|
1244
1257
|
"value": {
|
1245
|
-
"type": "string |
|
1258
|
+
"type": "[number | string, number | string]",
|
1246
1259
|
"kind": "expression"
|
1247
1260
|
}
|
1248
1261
|
},
|
1249
1262
|
{
|
1250
|
-
"name": "
|
1251
|
-
"default": "`
|
1252
|
-
"description": "
|
1263
|
+
"name": "show-zero",
|
1264
|
+
"default": "`true`",
|
1265
|
+
"description": "Whether to show badge when content is zero",
|
1253
1266
|
"options": [],
|
1254
1267
|
"value": {
|
1255
1268
|
"type": "boolean",
|
1256
1269
|
"kind": "expression"
|
1257
1270
|
}
|
1271
|
+
},
|
1272
|
+
{
|
1273
|
+
"name": "position",
|
1274
|
+
"default": "`top-right`",
|
1275
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1276
|
+
"options": [],
|
1277
|
+
"value": {
|
1278
|
+
"type": "string",
|
1279
|
+
"kind": "expression"
|
1280
|
+
}
|
1258
1281
|
}
|
1259
1282
|
]
|
1260
1283
|
},
|
1261
1284
|
{
|
1262
|
-
"name": "van-
|
1285
|
+
"name": "van-button",
|
1263
1286
|
"slots": [
|
1264
1287
|
{
|
1265
1288
|
"name": "default",
|
1266
|
-
"description": "
|
1267
|
-
},
|
1268
|
-
{
|
1269
|
-
"name": "description",
|
1270
|
-
"description": "Custom description above the options"
|
1289
|
+
"description": "Default slot"
|
1271
1290
|
},
|
1272
1291
|
{
|
1273
|
-
"name": "
|
1274
|
-
"description": "Custom
|
1292
|
+
"name": "icon",
|
1293
|
+
"description": "Custom icon"
|
1275
1294
|
},
|
1276
1295
|
{
|
1277
|
-
"name": "
|
1278
|
-
"description": "Custom
|
1296
|
+
"name": "loading",
|
1297
|
+
"description": "Custom loading icon"
|
1279
1298
|
}
|
1280
1299
|
],
|
1281
1300
|
"events": [
|
1282
1301
|
{
|
1283
|
-
"name": "
|
1284
|
-
"description": "Emitted when
|
1302
|
+
"name": "click",
|
1303
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1285
1304
|
"arguments": [
|
1286
1305
|
{
|
1287
|
-
"name": "
|
1288
|
-
"type": "
|
1289
|
-
},
|
1290
|
-
{
|
1291
|
-
"name": "index",
|
1292
|
-
"type": "number"
|
1306
|
+
"name": "event",
|
1307
|
+
"type": "MouseEvent"
|
1293
1308
|
}
|
1294
1309
|
]
|
1295
1310
|
},
|
1296
1311
|
{
|
1297
|
-
"name": "
|
1298
|
-
"description": "Emitted when
|
1299
|
-
"arguments": []
|
1300
|
-
},
|
1301
|
-
{
|
1302
|
-
"name": "open",
|
1303
|
-
"description": "Emitted when opening ActionSheet",
|
1304
|
-
"arguments": []
|
1305
|
-
},
|
1306
|
-
{
|
1307
|
-
"name": "close",
|
1308
|
-
"description": "Emitted when closing ActionSheet",
|
1309
|
-
"arguments": []
|
1310
|
-
},
|
1311
|
-
{
|
1312
|
-
"name": "opened",
|
1313
|
-
"description": "Emitted when ActionSheet is opened",
|
1314
|
-
"arguments": []
|
1315
|
-
},
|
1316
|
-
{
|
1317
|
-
"name": "closed",
|
1318
|
-
"description": "Emitted when ActionSheet is closed",
|
1319
|
-
"arguments": []
|
1320
|
-
},
|
1321
|
-
{
|
1322
|
-
"name": "click-overlay",
|
1323
|
-
"description": "Emitted when overlay is clicked",
|
1312
|
+
"name": "touchstart",
|
1313
|
+
"description": "Emitted when button is touched",
|
1324
1314
|
"arguments": [
|
1325
1315
|
{
|
1326
1316
|
"name": "event",
|
1327
|
-
"type": "
|
1317
|
+
"type": "TouchEvent"
|
1328
1318
|
}
|
1329
1319
|
]
|
1330
1320
|
}
|
1331
1321
|
],
|
1332
1322
|
"attributes": [
|
1333
1323
|
{
|
1334
|
-
"name": "
|
1335
|
-
"default": "`
|
1336
|
-
"description": "
|
1324
|
+
"name": "type",
|
1325
|
+
"default": "`default`",
|
1326
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1337
1327
|
"options": [],
|
1338
1328
|
"value": {
|
1339
|
-
"type": "
|
1329
|
+
"type": "string",
|
1340
1330
|
"kind": "expression"
|
1341
1331
|
}
|
1342
1332
|
},
|
1343
1333
|
{
|
1344
|
-
"name": "
|
1345
|
-
"default": "`
|
1346
|
-
"description": "
|
1334
|
+
"name": "size",
|
1335
|
+
"default": "`normal`",
|
1336
|
+
"description": "Can be set to `large` `small` `mini`",
|
1347
1337
|
"options": [],
|
1348
1338
|
"value": {
|
1349
|
-
"type": "
|
1339
|
+
"type": "string",
|
1350
1340
|
"kind": "expression"
|
1351
1341
|
}
|
1352
1342
|
},
|
1353
1343
|
{
|
1354
|
-
"name": "
|
1344
|
+
"name": "text",
|
1355
1345
|
"default": "-",
|
1356
|
-
"description": "
|
1346
|
+
"description": "Text",
|
1357
1347
|
"options": [],
|
1358
1348
|
"value": {
|
1359
1349
|
"type": "string",
|
@@ -1361,9 +1351,9 @@
|
|
1361
1351
|
}
|
1362
1352
|
},
|
1363
1353
|
{
|
1364
|
-
"name": "
|
1354
|
+
"name": "color",
|
1365
1355
|
"default": "-",
|
1366
|
-
"description": "
|
1356
|
+
"description": "Color, support linear-gradient",
|
1367
1357
|
"options": [],
|
1368
1358
|
"value": {
|
1369
1359
|
"type": "string",
|
@@ -1371,9 +1361,9 @@
|
|
1371
1361
|
}
|
1372
1362
|
},
|
1373
1363
|
{
|
1374
|
-
"name": "
|
1364
|
+
"name": "icon",
|
1375
1365
|
"default": "-",
|
1376
|
-
"description": "
|
1366
|
+
"description": "Left Icon",
|
1377
1367
|
"options": [],
|
1378
1368
|
"value": {
|
1379
1369
|
"type": "string",
|
@@ -1381,19 +1371,19 @@
|
|
1381
1371
|
}
|
1382
1372
|
},
|
1383
1373
|
{
|
1384
|
-
"name": "
|
1385
|
-
"default": "`
|
1386
|
-
"description": "
|
1374
|
+
"name": "icon-prefix",
|
1375
|
+
"default": "`van-icon`",
|
1376
|
+
"description": "Icon className prefix",
|
1387
1377
|
"options": [],
|
1388
1378
|
"value": {
|
1389
|
-
"type": "
|
1379
|
+
"type": "string",
|
1390
1380
|
"kind": "expression"
|
1391
1381
|
}
|
1392
1382
|
},
|
1393
1383
|
{
|
1394
|
-
"name": "
|
1395
|
-
"default": "`
|
1396
|
-
"description": "
|
1384
|
+
"name": "icon-position",
|
1385
|
+
"default": "`left`",
|
1386
|
+
"description": "Icon position, can be set to `right`",
|
1397
1387
|
"options": [],
|
1398
1388
|
"value": {
|
1399
1389
|
"type": "string",
|
@@ -1401,29 +1391,29 @@
|
|
1401
1391
|
}
|
1402
1392
|
},
|
1403
1393
|
{
|
1404
|
-
"name": "
|
1405
|
-
"default": "`
|
1406
|
-
"description": "
|
1394
|
+
"name": "tag",
|
1395
|
+
"default": "`button`",
|
1396
|
+
"description": "HTML Tag",
|
1407
1397
|
"options": [],
|
1408
1398
|
"value": {
|
1409
|
-
"type": "
|
1399
|
+
"type": "string",
|
1410
1400
|
"kind": "expression"
|
1411
1401
|
}
|
1412
1402
|
},
|
1413
1403
|
{
|
1414
|
-
"name": "
|
1415
|
-
"default": "`
|
1416
|
-
"description": "
|
1404
|
+
"name": "native-type",
|
1405
|
+
"default": "`button`",
|
1406
|
+
"description": "Native Type Attribute",
|
1417
1407
|
"options": [],
|
1418
1408
|
"value": {
|
1419
|
-
"type": "
|
1409
|
+
"type": "string",
|
1420
1410
|
"kind": "expression"
|
1421
1411
|
}
|
1422
1412
|
},
|
1423
1413
|
{
|
1424
|
-
"name": "
|
1425
|
-
"default": "`
|
1426
|
-
"description": "Whether to
|
1414
|
+
"name": "plain",
|
1415
|
+
"default": "`false`",
|
1416
|
+
"description": "Whether to be plain button",
|
1427
1417
|
"options": [],
|
1428
1418
|
"value": {
|
1429
1419
|
"type": "boolean",
|
@@ -1431,29 +1421,29 @@
|
|
1431
1421
|
}
|
1432
1422
|
},
|
1433
1423
|
{
|
1434
|
-
"name": "
|
1435
|
-
"default": "
|
1436
|
-
"description": "
|
1424
|
+
"name": "block",
|
1425
|
+
"default": "`false`",
|
1426
|
+
"description": "Whether to set display block",
|
1437
1427
|
"options": [],
|
1438
1428
|
"value": {
|
1439
|
-
"type": "
|
1429
|
+
"type": "boolean",
|
1440
1430
|
"kind": "expression"
|
1441
1431
|
}
|
1442
1432
|
},
|
1443
1433
|
{
|
1444
|
-
"name": "
|
1445
|
-
"default": "
|
1446
|
-
"description": "
|
1434
|
+
"name": "round",
|
1435
|
+
"default": "`false`",
|
1436
|
+
"description": "Whether to be round button",
|
1447
1437
|
"options": [],
|
1448
1438
|
"value": {
|
1449
|
-
"type": "
|
1439
|
+
"type": "boolean",
|
1450
1440
|
"kind": "expression"
|
1451
1441
|
}
|
1452
1442
|
},
|
1453
1443
|
{
|
1454
|
-
"name": "
|
1455
|
-
"default": "`
|
1456
|
-
"description": "Whether to
|
1444
|
+
"name": "square",
|
1445
|
+
"default": "`false`",
|
1446
|
+
"description": "Whether to be square button",
|
1457
1447
|
"options": [],
|
1458
1448
|
"value": {
|
1459
1449
|
"type": "boolean",
|
@@ -1461,9 +1451,9 @@
|
|
1461
1451
|
}
|
1462
1452
|
},
|
1463
1453
|
{
|
1464
|
-
"name": "
|
1465
|
-
"default": "`
|
1466
|
-
"description": "Whether to
|
1454
|
+
"name": "disabled",
|
1455
|
+
"default": "`false`",
|
1456
|
+
"description": "Whether to disable button",
|
1467
1457
|
"options": [],
|
1468
1458
|
"value": {
|
1469
1459
|
"type": "boolean",
|
@@ -1471,9 +1461,9 @@
|
|
1471
1461
|
}
|
1472
1462
|
},
|
1473
1463
|
{
|
1474
|
-
"name": "
|
1475
|
-
"default": "`
|
1476
|
-
"description": "Whether to
|
1464
|
+
"name": "loading",
|
1465
|
+
"default": "`false`",
|
1466
|
+
"description": "Whether to show loading status",
|
1477
1467
|
"options": [],
|
1478
1468
|
"value": {
|
1479
1469
|
"type": "boolean",
|
@@ -1481,52 +1471,62 @@
|
|
1481
1471
|
}
|
1482
1472
|
},
|
1483
1473
|
{
|
1484
|
-
"name": "
|
1485
|
-
"default": "
|
1486
|
-
"description": "
|
1474
|
+
"name": "loading-text",
|
1475
|
+
"default": "-",
|
1476
|
+
"description": "Loading text",
|
1487
1477
|
"options": [],
|
1488
1478
|
"value": {
|
1489
|
-
"type": "
|
1479
|
+
"type": "string",
|
1490
1480
|
"kind": "expression"
|
1491
1481
|
}
|
1492
1482
|
},
|
1493
1483
|
{
|
1494
|
-
"name": "
|
1495
|
-
"default": "`
|
1496
|
-
"description": "
|
1484
|
+
"name": "loading-type",
|
1485
|
+
"default": "`circular`",
|
1486
|
+
"description": "Loading type, can be set to `spinner`",
|
1487
|
+
"options": [],
|
1488
|
+
"value": {
|
1489
|
+
"type": "string",
|
1490
|
+
"kind": "expression"
|
1491
|
+
}
|
1492
|
+
},
|
1493
|
+
{
|
1494
|
+
"name": "loading-size",
|
1495
|
+
"default": "`20px`",
|
1496
|
+
"description": "Loading icon size",
|
1497
1497
|
"options": [],
|
1498
1498
|
"value": {
|
1499
|
-
"type": "
|
1499
|
+
"type": "number | string",
|
1500
1500
|
"kind": "expression"
|
1501
1501
|
}
|
1502
1502
|
},
|
1503
1503
|
{
|
1504
|
-
"name": "
|
1505
|
-
"default": "
|
1506
|
-
"description": "
|
1504
|
+
"name": "url",
|
1505
|
+
"default": "-",
|
1506
|
+
"description": "Link URL",
|
1507
1507
|
"options": [],
|
1508
1508
|
"value": {
|
1509
|
-
"type": "
|
1509
|
+
"type": "string",
|
1510
1510
|
"kind": "expression"
|
1511
1511
|
}
|
1512
1512
|
},
|
1513
1513
|
{
|
1514
|
-
"name": "
|
1514
|
+
"name": "to",
|
1515
1515
|
"default": "-",
|
1516
|
-
"description": "
|
1516
|
+
"description": "Target route of the link, same as using vue-router",
|
1517
1517
|
"options": [],
|
1518
1518
|
"value": {
|
1519
|
-
"type": "string |
|
1519
|
+
"type": "string | object",
|
1520
1520
|
"kind": "expression"
|
1521
1521
|
}
|
1522
1522
|
},
|
1523
1523
|
{
|
1524
|
-
"name": "
|
1525
|
-
"default": "
|
1526
|
-
"description": "
|
1524
|
+
"name": "replace",
|
1525
|
+
"default": "`false`",
|
1526
|
+
"description": "If true, the navigation will not leave a history record",
|
1527
1527
|
"options": [],
|
1528
1528
|
"value": {
|
1529
|
-
"type": "
|
1529
|
+
"type": "boolean",
|
1530
1530
|
"kind": "expression"
|
1531
1531
|
}
|
1532
1532
|
}
|
@@ -4288,6 +4288,16 @@
|
|
4288
4288
|
"kind": "expression"
|
4289
4289
|
}
|
4290
4290
|
},
|
4291
|
+
{
|
4292
|
+
"name": "cancel-button-disabled",
|
4293
|
+
"default": "`false`",
|
4294
|
+
"description": "Whether to disable cancel button",
|
4295
|
+
"options": [],
|
4296
|
+
"value": {
|
4297
|
+
"type": "boolean",
|
4298
|
+
"kind": "expression"
|
4299
|
+
}
|
4300
|
+
},
|
4291
4301
|
{
|
4292
4302
|
"name": "confirm-button-text",
|
4293
4303
|
"default": "`Confirm`",
|
@@ -4308,6 +4318,16 @@
|
|
4308
4318
|
"kind": "expression"
|
4309
4319
|
}
|
4310
4320
|
},
|
4321
|
+
{
|
4322
|
+
"name": "confirm-button-disabled",
|
4323
|
+
"default": "`false`",
|
4324
|
+
"description": "Whether to disable confirm button",
|
4325
|
+
"options": [],
|
4326
|
+
"value": {
|
4327
|
+
"type": "boolean",
|
4328
|
+
"kind": "expression"
|
4329
|
+
}
|
4330
|
+
},
|
4311
4331
|
{
|
4312
4332
|
"name": "overlay",
|
4313
4333
|
"default": "`true`",
|
@@ -6603,238 +6623,29 @@
|
|
6603
6623
|
"name": "event",
|
6604
6624
|
"type": "MouseEvent"
|
6605
6625
|
}
|
6606
|
-
]
|
6607
|
-
},
|
6608
|
-
{
|
6609
|
-
"name": "replay",
|
6610
|
-
"description": "Emitted when NoticeBar is replayed",
|
6611
|
-
"arguments": []
|
6612
|
-
}
|
6613
|
-
],
|
6614
|
-
"attributes": [
|
6615
|
-
{
|
6616
|
-
"name": "mode",
|
6617
|
-
"default": "`''`",
|
6618
|
-
"description": "Mode, can be set to `closeable` `link`",
|
6619
|
-
"options": [],
|
6620
|
-
"value": {
|
6621
|
-
"type": "string",
|
6622
|
-
"kind": "expression"
|
6623
|
-
}
|
6624
|
-
},
|
6625
|
-
{
|
6626
|
-
"name": "text",
|
6627
|
-
"default": "`''`",
|
6628
|
-
"description": "Notice text content",
|
6629
|
-
"options": [],
|
6630
|
-
"value": {
|
6631
|
-
"type": "string",
|
6632
|
-
"kind": "expression"
|
6633
|
-
}
|
6634
|
-
},
|
6635
|
-
{
|
6636
|
-
"name": "color",
|
6637
|
-
"default": "`#ed6a0c`",
|
6638
|
-
"description": "Text color",
|
6639
|
-
"options": [],
|
6640
|
-
"value": {
|
6641
|
-
"type": "string",
|
6642
|
-
"kind": "expression"
|
6643
|
-
}
|
6644
|
-
},
|
6645
|
-
{
|
6646
|
-
"name": "background",
|
6647
|
-
"default": "`#fffbe8`",
|
6648
|
-
"description": "Background color",
|
6649
|
-
"options": [],
|
6650
|
-
"value": {
|
6651
|
-
"type": "string",
|
6652
|
-
"kind": "expression"
|
6653
|
-
}
|
6654
|
-
},
|
6655
|
-
{
|
6656
|
-
"name": "left-icon",
|
6657
|
-
"default": "-",
|
6658
|
-
"description": "Left Icon",
|
6659
|
-
"options": [],
|
6660
|
-
"value": {
|
6661
|
-
"type": "string",
|
6662
|
-
"kind": "expression"
|
6663
|
-
}
|
6664
|
-
},
|
6665
|
-
{
|
6666
|
-
"name": "delay",
|
6667
|
-
"default": "`1`",
|
6668
|
-
"description": "Animation delay (s)",
|
6669
|
-
"options": [],
|
6670
|
-
"value": {
|
6671
|
-
"type": "number | string",
|
6672
|
-
"kind": "expression"
|
6673
|
-
}
|
6674
|
-
},
|
6675
|
-
{
|
6676
|
-
"name": "speed",
|
6677
|
-
"default": "`60`",
|
6678
|
-
"description": "Scroll speed (px/s)",
|
6679
|
-
"options": [],
|
6680
|
-
"value": {
|
6681
|
-
"type": "number | string",
|
6682
|
-
"kind": "expression"
|
6683
|
-
}
|
6684
|
-
},
|
6685
|
-
{
|
6686
|
-
"name": "scrollable",
|
6687
|
-
"default": "-",
|
6688
|
-
"description": "Whether to scroll content",
|
6689
|
-
"options": [],
|
6690
|
-
"value": {
|
6691
|
-
"type": "boolean",
|
6692
|
-
"kind": "expression"
|
6693
|
-
}
|
6694
|
-
},
|
6695
|
-
{
|
6696
|
-
"name": "wrapable",
|
6697
|
-
"default": "`false`",
|
6698
|
-
"description": "Whether to enable text wrap",
|
6699
|
-
"options": [],
|
6700
|
-
"value": {
|
6701
|
-
"type": "boolean",
|
6702
|
-
"kind": "expression"
|
6703
|
-
}
|
6704
|
-
}
|
6705
|
-
]
|
6706
|
-
},
|
6707
|
-
{
|
6708
|
-
"name": "van-overlay",
|
6709
|
-
"slots": [
|
6710
|
-
{
|
6711
|
-
"name": "default",
|
6712
|
-
"description": "Default slot"
|
6713
|
-
}
|
6714
|
-
],
|
6715
|
-
"events": [
|
6716
|
-
{
|
6717
|
-
"name": "click",
|
6718
|
-
"description": "Emitted when component is clicked",
|
6719
|
-
"arguments": [
|
6720
|
-
{
|
6721
|
-
"name": "event",
|
6722
|
-
"type": "MouseEvent"
|
6723
|
-
}
|
6724
|
-
]
|
6725
|
-
}
|
6726
|
-
],
|
6727
|
-
"attributes": [
|
6728
|
-
{
|
6729
|
-
"name": "show",
|
6730
|
-
"default": "`false`",
|
6731
|
-
"description": "Whether to show overlay",
|
6732
|
-
"options": [],
|
6733
|
-
"value": {
|
6734
|
-
"type": "boolean",
|
6735
|
-
"kind": "expression"
|
6736
|
-
}
|
6737
|
-
},
|
6738
|
-
{
|
6739
|
-
"name": "z-index",
|
6740
|
-
"default": "`1`",
|
6741
|
-
"description": "z-index",
|
6742
|
-
"options": [],
|
6743
|
-
"value": {
|
6744
|
-
"type": "number | string",
|
6745
|
-
"kind": "expression"
|
6746
|
-
}
|
6747
|
-
},
|
6748
|
-
{
|
6749
|
-
"name": "duration",
|
6750
|
-
"default": "`0.3`",
|
6751
|
-
"description": "Animation duration",
|
6752
|
-
"options": [],
|
6753
|
-
"value": {
|
6754
|
-
"type": "number | string",
|
6755
|
-
"kind": "expression"
|
6756
|
-
}
|
6757
|
-
},
|
6758
|
-
{
|
6759
|
-
"name": "class-name",
|
6760
|
-
"default": "-",
|
6761
|
-
"description": "ClassName",
|
6762
|
-
"options": [],
|
6763
|
-
"value": {
|
6764
|
-
"type": "string",
|
6765
|
-
"kind": "expression"
|
6766
|
-
}
|
6767
|
-
},
|
6768
|
-
{
|
6769
|
-
"name": "custom-class",
|
6770
|
-
"default": "-",
|
6771
|
-
"description": "Custom style",
|
6772
|
-
"options": [],
|
6773
|
-
"value": {
|
6774
|
-
"type": "object",
|
6775
|
-
"kind": "expression"
|
6776
|
-
}
|
6777
|
-
},
|
6778
|
-
{
|
6779
|
-
"name": "lock-scroll",
|
6780
|
-
"default": "`true`",
|
6781
|
-
"description": "Whether to lock background scroll",
|
6782
|
-
"options": [],
|
6783
|
-
"value": {
|
6784
|
-
"type": "boolean",
|
6785
|
-
"kind": "expression"
|
6786
|
-
}
|
6787
|
-
},
|
6788
|
-
{
|
6789
|
-
"name": "lazy-render",
|
6790
|
-
"default": "`true`",
|
6791
|
-
"description": "Whether to lazy render util appeared",
|
6792
|
-
"options": [],
|
6793
|
-
"value": {
|
6794
|
-
"type": "boolean",
|
6795
|
-
"kind": "expression"
|
6796
|
-
}
|
6797
|
-
}
|
6798
|
-
]
|
6799
|
-
},
|
6800
|
-
{
|
6801
|
-
"name": "van-pagination",
|
6802
|
-
"slots": [
|
6803
|
-
{
|
6804
|
-
"name": "page",
|
6805
|
-
"description": "Custom pagination item"
|
6806
|
-
},
|
6807
|
-
{
|
6808
|
-
"name": "prev-text",
|
6809
|
-
"description": "Custom prev text"
|
6810
|
-
},
|
6811
|
-
{
|
6812
|
-
"name": "next-text",
|
6813
|
-
"description": "Custom next text"
|
6814
|
-
}
|
6815
|
-
],
|
6816
|
-
"events": [
|
6626
|
+
]
|
6627
|
+
},
|
6817
6628
|
{
|
6818
|
-
"name": "
|
6819
|
-
"description": "Emitted when
|
6629
|
+
"name": "replay",
|
6630
|
+
"description": "Emitted when NoticeBar is replayed",
|
6820
6631
|
"arguments": []
|
6821
6632
|
}
|
6822
6633
|
],
|
6823
6634
|
"attributes": [
|
6824
6635
|
{
|
6825
|
-
"name": "
|
6826
|
-
"default": "
|
6827
|
-
"description": "
|
6636
|
+
"name": "mode",
|
6637
|
+
"default": "`''`",
|
6638
|
+
"description": "Mode, can be set to `closeable` `link`",
|
6828
6639
|
"options": [],
|
6829
6640
|
"value": {
|
6830
|
-
"type": "
|
6641
|
+
"type": "string",
|
6831
6642
|
"kind": "expression"
|
6832
6643
|
}
|
6833
6644
|
},
|
6834
6645
|
{
|
6835
|
-
"name": "
|
6836
|
-
"default": "`
|
6837
|
-
"description": "
|
6646
|
+
"name": "text",
|
6647
|
+
"default": "`''`",
|
6648
|
+
"description": "Notice text content",
|
6838
6649
|
"options": [],
|
6839
6650
|
"value": {
|
6840
6651
|
"type": "string",
|
@@ -6842,9 +6653,9 @@
|
|
6842
6653
|
}
|
6843
6654
|
},
|
6844
6655
|
{
|
6845
|
-
"name": "
|
6846
|
-
"default": "`
|
6847
|
-
"description": "
|
6656
|
+
"name": "color",
|
6657
|
+
"default": "`#ed6a0c`",
|
6658
|
+
"description": "Text color",
|
6848
6659
|
"options": [],
|
6849
6660
|
"value": {
|
6850
6661
|
"type": "string",
|
@@ -6852,9 +6663,9 @@
|
|
6852
6663
|
}
|
6853
6664
|
},
|
6854
6665
|
{
|
6855
|
-
"name": "
|
6856
|
-
"default": "`
|
6857
|
-
"description": "
|
6666
|
+
"name": "background",
|
6667
|
+
"default": "`#fffbe8`",
|
6668
|
+
"description": "Background color",
|
6858
6669
|
"options": [],
|
6859
6670
|
"value": {
|
6860
6671
|
"type": "string",
|
@@ -6862,19 +6673,19 @@
|
|
6862
6673
|
}
|
6863
6674
|
},
|
6864
6675
|
{
|
6865
|
-
"name": "
|
6866
|
-
"default": "
|
6867
|
-
"description": "
|
6676
|
+
"name": "left-icon",
|
6677
|
+
"default": "-",
|
6678
|
+
"description": "Left Icon",
|
6868
6679
|
"options": [],
|
6869
6680
|
"value": {
|
6870
|
-
"type": "
|
6681
|
+
"type": "string",
|
6871
6682
|
"kind": "expression"
|
6872
6683
|
}
|
6873
6684
|
},
|
6874
6685
|
{
|
6875
|
-
"name": "
|
6876
|
-
"default": "`
|
6877
|
-
"description": "
|
6686
|
+
"name": "delay",
|
6687
|
+
"default": "`1`",
|
6688
|
+
"description": "Animation delay (s)",
|
6878
6689
|
"options": [],
|
6879
6690
|
"value": {
|
6880
6691
|
"type": "number | string",
|
@@ -6882,9 +6693,9 @@
|
|
6882
6693
|
}
|
6883
6694
|
},
|
6884
6695
|
{
|
6885
|
-
"name": "
|
6886
|
-
"default": "
|
6887
|
-
"description": "
|
6696
|
+
"name": "speed",
|
6697
|
+
"default": "`60`",
|
6698
|
+
"description": "Scroll speed (px/s)",
|
6888
6699
|
"options": [],
|
6889
6700
|
"value": {
|
6890
6701
|
"type": "number | string",
|
@@ -6892,19 +6703,19 @@
|
|
6892
6703
|
}
|
6893
6704
|
},
|
6894
6705
|
{
|
6895
|
-
"name": "
|
6896
|
-
"default": "
|
6897
|
-
"description": "
|
6706
|
+
"name": "scrollable",
|
6707
|
+
"default": "-",
|
6708
|
+
"description": "Whether to scroll content",
|
6898
6709
|
"options": [],
|
6899
6710
|
"value": {
|
6900
|
-
"type": "
|
6711
|
+
"type": "boolean",
|
6901
6712
|
"kind": "expression"
|
6902
6713
|
}
|
6903
6714
|
},
|
6904
6715
|
{
|
6905
|
-
"name": "
|
6716
|
+
"name": "wrapable",
|
6906
6717
|
"default": "`false`",
|
6907
|
-
"description": "Whether to
|
6718
|
+
"description": "Whether to enable text wrap",
|
6908
6719
|
"options": [],
|
6909
6720
|
"value": {
|
6910
6721
|
"type": "boolean",
|
@@ -7068,9 +6879,218 @@
|
|
7068
6879
|
}
|
7069
6880
|
},
|
7070
6881
|
{
|
7071
|
-
"name": "close-button-loading",
|
6882
|
+
"name": "close-button-loading",
|
6883
|
+
"default": "`false`",
|
6884
|
+
"description": "Whether to show loading close button in custom theme",
|
6885
|
+
"options": [],
|
6886
|
+
"value": {
|
6887
|
+
"type": "boolean",
|
6888
|
+
"kind": "expression"
|
6889
|
+
}
|
6890
|
+
},
|
6891
|
+
{
|
6892
|
+
"name": "show-delete-key",
|
6893
|
+
"default": "`true`",
|
6894
|
+
"description": "Whether to show delete button",
|
6895
|
+
"options": [],
|
6896
|
+
"value": {
|
6897
|
+
"type": "boolean",
|
6898
|
+
"kind": "expression"
|
6899
|
+
}
|
6900
|
+
},
|
6901
|
+
{
|
6902
|
+
"name": "blur-on-close",
|
6903
|
+
"default": "`true`",
|
6904
|
+
"description": "Whether to emit blur event when clicking close button",
|
6905
|
+
"options": [],
|
6906
|
+
"value": {
|
6907
|
+
"type": "boolean",
|
6908
|
+
"kind": "expression"
|
6909
|
+
}
|
6910
|
+
},
|
6911
|
+
{
|
6912
|
+
"name": "hide-on-click-outside",
|
6913
|
+
"default": "`true`",
|
6914
|
+
"description": "Whether to hide keyboard when outside is clicked",
|
6915
|
+
"options": [],
|
6916
|
+
"value": {
|
6917
|
+
"type": "boolean",
|
6918
|
+
"kind": "expression"
|
6919
|
+
}
|
6920
|
+
},
|
6921
|
+
{
|
6922
|
+
"name": "teleport",
|
6923
|
+
"default": "-",
|
6924
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6925
|
+
"options": [],
|
6926
|
+
"value": {
|
6927
|
+
"type": "string | Element",
|
6928
|
+
"kind": "expression"
|
6929
|
+
}
|
6930
|
+
},
|
6931
|
+
{
|
6932
|
+
"name": "safe-area-inset-bottom",
|
6933
|
+
"default": "`true`",
|
6934
|
+
"description": "Whether to enable bottom safe area adaptation",
|
6935
|
+
"options": [],
|
6936
|
+
"value": {
|
6937
|
+
"type": "boolean",
|
6938
|
+
"kind": "expression"
|
6939
|
+
}
|
6940
|
+
},
|
6941
|
+
{
|
6942
|
+
"name": "random-key-order",
|
6943
|
+
"default": "`false`",
|
6944
|
+
"description": "Whether to shuffle the order of keys",
|
6945
|
+
"options": [],
|
6946
|
+
"value": {
|
6947
|
+
"type": "boolean",
|
6948
|
+
"kind": "expression"
|
6949
|
+
}
|
6950
|
+
}
|
6951
|
+
]
|
6952
|
+
},
|
6953
|
+
{
|
6954
|
+
"name": "van-pagination",
|
6955
|
+
"slots": [
|
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"
|
6967
|
+
}
|
6968
|
+
],
|
6969
|
+
"events": [
|
6970
|
+
{
|
6971
|
+
"name": "change",
|
6972
|
+
"description": "Emitted when current page changed",
|
6973
|
+
"arguments": []
|
6974
|
+
}
|
6975
|
+
],
|
6976
|
+
"attributes": [
|
6977
|
+
{
|
6978
|
+
"name": "v-model",
|
6979
|
+
"default": "-",
|
6980
|
+
"description": "Current page number",
|
6981
|
+
"options": [],
|
6982
|
+
"value": {
|
6983
|
+
"type": "number",
|
6984
|
+
"kind": "expression"
|
6985
|
+
}
|
6986
|
+
},
|
6987
|
+
{
|
6988
|
+
"name": "mode",
|
6989
|
+
"default": "`multi`",
|
6990
|
+
"description": "Mode, can be set to `simple` `multi`",
|
6991
|
+
"options": [],
|
6992
|
+
"value": {
|
6993
|
+
"type": "string",
|
6994
|
+
"kind": "expression"
|
6995
|
+
}
|
6996
|
+
},
|
6997
|
+
{
|
6998
|
+
"name": "prev-text",
|
6999
|
+
"default": "`Previous`",
|
7000
|
+
"description": "Previous text",
|
7001
|
+
"options": [],
|
7002
|
+
"value": {
|
7003
|
+
"type": "string",
|
7004
|
+
"kind": "expression"
|
7005
|
+
}
|
7006
|
+
},
|
7007
|
+
{
|
7008
|
+
"name": "next-text",
|
7009
|
+
"default": "`Next`",
|
7010
|
+
"description": "Next text",
|
7011
|
+
"options": [],
|
7012
|
+
"value": {
|
7013
|
+
"type": "string",
|
7014
|
+
"kind": "expression"
|
7015
|
+
}
|
7016
|
+
},
|
7017
|
+
{
|
7018
|
+
"name": "total-items",
|
7019
|
+
"default": "`0`",
|
7020
|
+
"description": "Total items",
|
7021
|
+
"options": [],
|
7022
|
+
"value": {
|
7023
|
+
"type": "number | string",
|
7024
|
+
"kind": "expression"
|
7025
|
+
}
|
7026
|
+
},
|
7027
|
+
{
|
7028
|
+
"name": "items-per-page",
|
7029
|
+
"default": "`10`",
|
7030
|
+
"description": "Item number per page",
|
7031
|
+
"options": [],
|
7032
|
+
"value": {
|
7033
|
+
"type": "number | string",
|
7034
|
+
"kind": "expression"
|
7035
|
+
}
|
7036
|
+
},
|
7037
|
+
{
|
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`",
|
7041
|
+
"options": [],
|
7042
|
+
"value": {
|
7043
|
+
"type": "number | string",
|
7044
|
+
"kind": "expression"
|
7045
|
+
}
|
7046
|
+
},
|
7047
|
+
{
|
7048
|
+
"name": "show-page-size",
|
7049
|
+
"default": "`5`",
|
7050
|
+
"description": "Count of page size to show",
|
7051
|
+
"options": [],
|
7052
|
+
"value": {
|
7053
|
+
"type": "number | string",
|
7054
|
+
"kind": "expression"
|
7055
|
+
}
|
7056
|
+
},
|
7057
|
+
{
|
7058
|
+
"name": "force-ellipses",
|
7059
|
+
"default": "`false`",
|
7060
|
+
"description": "Whether to show ellipses",
|
7061
|
+
"options": [],
|
7062
|
+
"value": {
|
7063
|
+
"type": "boolean",
|
7064
|
+
"kind": "expression"
|
7065
|
+
}
|
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": [
|
7090
|
+
{
|
7091
|
+
"name": "show",
|
7072
7092
|
"default": "`false`",
|
7073
|
-
"description": "Whether to show
|
7093
|
+
"description": "Whether to show overlay",
|
7074
7094
|
"options": [],
|
7075
7095
|
"value": {
|
7076
7096
|
"type": "boolean",
|
@@ -7078,49 +7098,49 @@
|
|
7078
7098
|
}
|
7079
7099
|
},
|
7080
7100
|
{
|
7081
|
-
"name": "
|
7082
|
-
"default": "`
|
7083
|
-
"description": "
|
7101
|
+
"name": "z-index",
|
7102
|
+
"default": "`1`",
|
7103
|
+
"description": "z-index",
|
7084
7104
|
"options": [],
|
7085
7105
|
"value": {
|
7086
|
-
"type": "
|
7106
|
+
"type": "number | string",
|
7087
7107
|
"kind": "expression"
|
7088
7108
|
}
|
7089
7109
|
},
|
7090
7110
|
{
|
7091
|
-
"name": "
|
7092
|
-
"default": "`
|
7093
|
-
"description": "
|
7111
|
+
"name": "duration",
|
7112
|
+
"default": "`0.3`",
|
7113
|
+
"description": "Animation duration",
|
7094
7114
|
"options": [],
|
7095
7115
|
"value": {
|
7096
|
-
"type": "
|
7116
|
+
"type": "number | string",
|
7097
7117
|
"kind": "expression"
|
7098
7118
|
}
|
7099
7119
|
},
|
7100
7120
|
{
|
7101
|
-
"name": "
|
7102
|
-
"default": "
|
7103
|
-
"description": "
|
7121
|
+
"name": "class-name",
|
7122
|
+
"default": "-",
|
7123
|
+
"description": "ClassName",
|
7104
7124
|
"options": [],
|
7105
7125
|
"value": {
|
7106
|
-
"type": "
|
7126
|
+
"type": "string",
|
7107
7127
|
"kind": "expression"
|
7108
7128
|
}
|
7109
7129
|
},
|
7110
7130
|
{
|
7111
|
-
"name": "
|
7131
|
+
"name": "custom-class",
|
7112
7132
|
"default": "-",
|
7113
|
-
"description": "
|
7133
|
+
"description": "Custom style",
|
7114
7134
|
"options": [],
|
7115
7135
|
"value": {
|
7116
|
-
"type": "
|
7136
|
+
"type": "object",
|
7117
7137
|
"kind": "expression"
|
7118
7138
|
}
|
7119
7139
|
},
|
7120
7140
|
{
|
7121
|
-
"name": "
|
7141
|
+
"name": "lock-scroll",
|
7122
7142
|
"default": "`true`",
|
7123
|
-
"description": "Whether to
|
7143
|
+
"description": "Whether to lock background scroll",
|
7124
7144
|
"options": [],
|
7125
7145
|
"value": {
|
7126
7146
|
"type": "boolean",
|
@@ -7128,9 +7148,9 @@
|
|
7128
7148
|
}
|
7129
7149
|
},
|
7130
7150
|
{
|
7131
|
-
"name": "
|
7132
|
-
"default": "`
|
7133
|
-
"description": "Whether to
|
7151
|
+
"name": "lazy-render",
|
7152
|
+
"default": "`true`",
|
7153
|
+
"description": "Whether to lazy render util appeared",
|
7134
7154
|
"options": [],
|
7135
7155
|
"value": {
|
7136
7156
|
"type": "boolean",
|
@@ -7934,65 +7954,34 @@
|
|
7934
7954
|
]
|
7935
7955
|
},
|
7936
7956
|
{
|
7937
|
-
"name": "van-
|
7938
|
-
"slots": [
|
7939
|
-
|
7940
|
-
"name": "default",
|
7941
|
-
"description": "Default slot"
|
7942
|
-
},
|
7943
|
-
{
|
7944
|
-
"name": "normal",
|
7945
|
-
"description": "Content of head when at normal status"
|
7946
|
-
},
|
7947
|
-
{
|
7948
|
-
"name": "pulling",
|
7949
|
-
"description": "Content of head when at pulling"
|
7950
|
-
},
|
7951
|
-
{
|
7952
|
-
"name": "loosing",
|
7953
|
-
"description": "Content of head when at loosing"
|
7954
|
-
},
|
7955
|
-
{
|
7956
|
-
"name": "loading",
|
7957
|
-
"description": "Content of head when at loading"
|
7958
|
-
},
|
7959
|
-
{
|
7960
|
-
"name": "success",
|
7961
|
-
"description": "Content of head when succeed"
|
7962
|
-
}
|
7963
|
-
],
|
7964
|
-
"events": [
|
7965
|
-
{
|
7966
|
-
"name": "refresh",
|
7967
|
-
"description": "Emitted after pulling refresh",
|
7968
|
-
"arguments": []
|
7969
|
-
}
|
7970
|
-
],
|
7957
|
+
"name": "van-progress",
|
7958
|
+
"slots": [],
|
7959
|
+
"events": [],
|
7971
7960
|
"attributes": [
|
7972
7961
|
{
|
7973
|
-
"name": "
|
7974
|
-
"default": "
|
7975
|
-
"description": "
|
7962
|
+
"name": "percentage",
|
7963
|
+
"default": "`0`",
|
7964
|
+
"description": "Percentage",
|
7976
7965
|
"options": [],
|
7977
7966
|
"value": {
|
7978
|
-
"type": "
|
7967
|
+
"type": "number | string",
|
7979
7968
|
"kind": "expression"
|
7980
7969
|
}
|
7981
7970
|
},
|
7982
7971
|
{
|
7983
|
-
"name": "
|
7984
|
-
"default": "`
|
7985
|
-
"description": "
|
7972
|
+
"name": "stroke-width",
|
7973
|
+
"default": "`4px`",
|
7974
|
+
"description": "Stroke width",
|
7986
7975
|
"options": [],
|
7987
7976
|
"value": {
|
7988
|
-
"type": "string",
|
7977
|
+
"type": "number | string",
|
7989
7978
|
"kind": "expression"
|
7990
7979
|
}
|
7991
7980
|
},
|
7992
7981
|
{
|
7993
|
-
"name": "
|
7994
|
-
"default": "`
|
7995
|
-
"description": "
|
7982
|
+
"name": "color",
|
7983
|
+
"default": "`#1989fa`",
|
7984
|
+
"description": "Color",
|
7996
7985
|
"options": [],
|
7997
7986
|
"value": {
|
7998
7987
|
"type": "string",
|
@@ -8000,9 +7989,9 @@
|
|
8000
7989
|
}
|
8001
7990
|
},
|
8002
7991
|
{
|
8003
|
-
"name": "
|
8004
|
-
"default": "`
|
8005
|
-
"description": "
|
7992
|
+
"name": "track-color",
|
7993
|
+
"default": "`#e5e5e5`",
|
7994
|
+
"description": "Track color",
|
8006
7995
|
"options": [],
|
8007
7996
|
"value": {
|
8008
7997
|
"type": "string",
|
@@ -8010,9 +7999,9 @@
|
|
8010
7999
|
}
|
8011
8000
|
},
|
8012
8001
|
{
|
8013
|
-
"name": "
|
8014
|
-
"default": "
|
8015
|
-
"description": "
|
8002
|
+
"name": "pivot-text",
|
8003
|
+
"default": "percentage",
|
8004
|
+
"description": "Pivot text",
|
8016
8005
|
"options": [],
|
8017
8006
|
"value": {
|
8018
8007
|
"type": "string",
|
@@ -8020,49 +8009,39 @@
|
|
8020
8009
|
}
|
8021
8010
|
},
|
8022
8011
|
{
|
8023
|
-
"name": "
|
8024
|
-
"default": "
|
8025
|
-
"description": "
|
8026
|
-
"options": [],
|
8027
|
-
"value": {
|
8028
|
-
"type": "number | string",
|
8029
|
-
"kind": "expression"
|
8030
|
-
}
|
8031
|
-
},
|
8032
|
-
{
|
8033
|
-
"name": "animation-duration",
|
8034
|
-
"default": "`300`",
|
8035
|
-
"description": "Animation duration",
|
8012
|
+
"name": "pivot-color",
|
8013
|
+
"default": "inherit progress color",
|
8014
|
+
"description": "Pivot text background color",
|
8036
8015
|
"options": [],
|
8037
8016
|
"value": {
|
8038
|
-
"type": "
|
8017
|
+
"type": "string",
|
8039
8018
|
"kind": "expression"
|
8040
8019
|
}
|
8041
8020
|
},
|
8042
8021
|
{
|
8043
|
-
"name": "
|
8044
|
-
"default": "`
|
8045
|
-
"description": "
|
8022
|
+
"name": "text-color",
|
8023
|
+
"default": "`white`",
|
8024
|
+
"description": "Pivot text color",
|
8046
8025
|
"options": [],
|
8047
8026
|
"value": {
|
8048
|
-
"type": "
|
8027
|
+
"type": "string",
|
8049
8028
|
"kind": "expression"
|
8050
8029
|
}
|
8051
8030
|
},
|
8052
8031
|
{
|
8053
|
-
"name": "
|
8054
|
-
"default": "
|
8055
|
-
"description": "
|
8032
|
+
"name": "inactive",
|
8033
|
+
"default": "`false`",
|
8034
|
+
"description": "Whether to be gray",
|
8056
8035
|
"options": [],
|
8057
8036
|
"value": {
|
8058
|
-
"type": "
|
8037
|
+
"type": "boolean",
|
8059
8038
|
"kind": "expression"
|
8060
8039
|
}
|
8061
8040
|
},
|
8062
8041
|
{
|
8063
|
-
"name": "
|
8064
|
-
"default": "`
|
8065
|
-
"description": "Whether to
|
8042
|
+
"name": "show-pivot",
|
8043
|
+
"default": "`true`",
|
8044
|
+
"description": "Whether to show text",
|
8066
8045
|
"options": [],
|
8067
8046
|
"value": {
|
8068
8047
|
"type": "boolean",
|
@@ -8072,34 +8051,65 @@
|
|
8072
8051
|
]
|
8073
8052
|
},
|
8074
8053
|
{
|
8075
|
-
"name": "van-
|
8076
|
-
"slots": [
|
8077
|
-
|
8054
|
+
"name": "van-pull-refresh",
|
8055
|
+
"slots": [
|
8056
|
+
{
|
8057
|
+
"name": "default",
|
8058
|
+
"description": "Default slot"
|
8059
|
+
},
|
8060
|
+
{
|
8061
|
+
"name": "normal",
|
8062
|
+
"description": "Content of head when at normal status"
|
8063
|
+
},
|
8064
|
+
{
|
8065
|
+
"name": "pulling",
|
8066
|
+
"description": "Content of head when at pulling"
|
8067
|
+
},
|
8068
|
+
{
|
8069
|
+
"name": "loosing",
|
8070
|
+
"description": "Content of head when at loosing"
|
8071
|
+
},
|
8072
|
+
{
|
8073
|
+
"name": "loading",
|
8074
|
+
"description": "Content of head when at loading"
|
8075
|
+
},
|
8076
|
+
{
|
8077
|
+
"name": "success",
|
8078
|
+
"description": "Content of head when succeed"
|
8079
|
+
}
|
8080
|
+
],
|
8081
|
+
"events": [
|
8082
|
+
{
|
8083
|
+
"name": "refresh",
|
8084
|
+
"description": "Emitted after pulling refresh",
|
8085
|
+
"arguments": []
|
8086
|
+
}
|
8087
|
+
],
|
8078
8088
|
"attributes": [
|
8079
8089
|
{
|
8080
|
-
"name": "
|
8081
|
-
"default": "
|
8082
|
-
"description": "
|
8090
|
+
"name": "v-model",
|
8091
|
+
"default": "-",
|
8092
|
+
"description": "Loading status",
|
8083
8093
|
"options": [],
|
8084
8094
|
"value": {
|
8085
|
-
"type": "
|
8095
|
+
"type": "boolean",
|
8086
8096
|
"kind": "expression"
|
8087
8097
|
}
|
8088
8098
|
},
|
8089
8099
|
{
|
8090
|
-
"name": "
|
8091
|
-
"default": "`
|
8092
|
-
"description": "
|
8100
|
+
"name": "pulling-text",
|
8101
|
+
"default": "`Pull to refresh...`",
|
8102
|
+
"description": "Text to show when pulling",
|
8093
8103
|
"options": [],
|
8094
8104
|
"value": {
|
8095
|
-
"type": "
|
8105
|
+
"type": "string",
|
8096
8106
|
"kind": "expression"
|
8097
8107
|
}
|
8098
8108
|
},
|
8099
8109
|
{
|
8100
|
-
"name": "
|
8101
|
-
"default": "
|
8102
|
-
"description": "
|
8110
|
+
"name": "loosing-text",
|
8111
|
+
"default": "`Loose to refresh...`",
|
8112
|
+
"description": "Text to show when loosing",
|
8103
8113
|
"options": [],
|
8104
8114
|
"value": {
|
8105
8115
|
"type": "string",
|
@@ -8107,9 +8117,9 @@
|
|
8107
8117
|
}
|
8108
8118
|
},
|
8109
8119
|
{
|
8110
|
-
"name": "
|
8111
|
-
"default": "
|
8112
|
-
"description": "
|
8120
|
+
"name": "loading-text",
|
8121
|
+
"default": "`Loading...`",
|
8122
|
+
"description": "Text to show when loading",
|
8113
8123
|
"options": [],
|
8114
8124
|
"value": {
|
8115
8125
|
"type": "string",
|
@@ -8117,9 +8127,9 @@
|
|
8117
8127
|
}
|
8118
8128
|
},
|
8119
8129
|
{
|
8120
|
-
"name": "
|
8121
|
-
"default": "
|
8122
|
-
"description": "
|
8130
|
+
"name": "success-text",
|
8131
|
+
"default": "-",
|
8132
|
+
"description": "Text to show when loading success",
|
8123
8133
|
"options": [],
|
8124
8134
|
"value": {
|
8125
8135
|
"type": "string",
|
@@ -8127,39 +8137,49 @@
|
|
8127
8137
|
}
|
8128
8138
|
},
|
8129
8139
|
{
|
8130
|
-
"name": "
|
8131
|
-
"default": "
|
8132
|
-
"description": "
|
8140
|
+
"name": "success-duration",
|
8141
|
+
"default": "`500`",
|
8142
|
+
"description": "Success text display duration(ms)",
|
8143
|
+
"options": [],
|
8144
|
+
"value": {
|
8145
|
+
"type": "number | string",
|
8146
|
+
"kind": "expression"
|
8147
|
+
}
|
8148
|
+
},
|
8149
|
+
{
|
8150
|
+
"name": "animation-duration",
|
8151
|
+
"default": "`300`",
|
8152
|
+
"description": "Animation duration",
|
8133
8153
|
"options": [],
|
8134
8154
|
"value": {
|
8135
|
-
"type": "string",
|
8155
|
+
"type": "number | string",
|
8136
8156
|
"kind": "expression"
|
8137
8157
|
}
|
8138
8158
|
},
|
8139
8159
|
{
|
8140
|
-
"name": "
|
8141
|
-
"default": "`
|
8142
|
-
"description": "
|
8160
|
+
"name": "head-height",
|
8161
|
+
"default": "`50`",
|
8162
|
+
"description": "Height of head",
|
8143
8163
|
"options": [],
|
8144
8164
|
"value": {
|
8145
|
-
"type": "string",
|
8165
|
+
"type": "number | string",
|
8146
8166
|
"kind": "expression"
|
8147
8167
|
}
|
8148
8168
|
},
|
8149
8169
|
{
|
8150
|
-
"name": "
|
8151
|
-
"default": "`
|
8152
|
-
"description": "
|
8170
|
+
"name": "pull-distance",
|
8171
|
+
"default": "same as `head-height`",
|
8172
|
+
"description": "The distance to trigger the pull refresh",
|
8153
8173
|
"options": [],
|
8154
8174
|
"value": {
|
8155
|
-
"type": "
|
8175
|
+
"type": "number | string",
|
8156
8176
|
"kind": "expression"
|
8157
8177
|
}
|
8158
8178
|
},
|
8159
8179
|
{
|
8160
|
-
"name": "
|
8161
|
-
"default": "`
|
8162
|
-
"description": "Whether to
|
8180
|
+
"name": "disabled",
|
8181
|
+
"default": "`false`",
|
8182
|
+
"description": "Whether to disable pull refresh",
|
8163
8183
|
"options": [],
|
8164
8184
|
"value": {
|
8165
8185
|
"type": "boolean",
|
@@ -10433,119 +10453,6 @@
|
|
10433
10453
|
}
|
10434
10454
|
]
|
10435
10455
|
},
|
10436
|
-
{
|
10437
|
-
"name": "van-switch",
|
10438
|
-
"slots": [
|
10439
|
-
{
|
10440
|
-
"name": "node",
|
10441
|
-
"description": "Custom the content of node"
|
10442
|
-
}
|
10443
|
-
],
|
10444
|
-
"events": [
|
10445
|
-
{
|
10446
|
-
"name": "change",
|
10447
|
-
"description": "Emitted when check status changed",
|
10448
|
-
"arguments": [
|
10449
|
-
{
|
10450
|
-
"name": "value",
|
10451
|
-
"type": "any"
|
10452
|
-
}
|
10453
|
-
]
|
10454
|
-
},
|
10455
|
-
{
|
10456
|
-
"name": "click",
|
10457
|
-
"description": "Emitted when component is clicked",
|
10458
|
-
"arguments": [
|
10459
|
-
{
|
10460
|
-
"name": "event",
|
10461
|
-
"type": "MouseEvent"
|
10462
|
-
}
|
10463
|
-
]
|
10464
|
-
}
|
10465
|
-
],
|
10466
|
-
"attributes": [
|
10467
|
-
{
|
10468
|
-
"name": "v-model",
|
10469
|
-
"default": "`false`",
|
10470
|
-
"description": "Check status of Switch",
|
10471
|
-
"options": [],
|
10472
|
-
"value": {
|
10473
|
-
"type": "ActiveValue | InactiveValue",
|
10474
|
-
"kind": "expression"
|
10475
|
-
}
|
10476
|
-
},
|
10477
|
-
{
|
10478
|
-
"name": "loading",
|
10479
|
-
"default": "`false`",
|
10480
|
-
"description": "Whether to show loading icon",
|
10481
|
-
"options": [],
|
10482
|
-
"value": {
|
10483
|
-
"type": "boolean",
|
10484
|
-
"kind": "expression"
|
10485
|
-
}
|
10486
|
-
},
|
10487
|
-
{
|
10488
|
-
"name": "disabled",
|
10489
|
-
"default": "`false`",
|
10490
|
-
"description": "Whether to disable switch",
|
10491
|
-
"options": [],
|
10492
|
-
"value": {
|
10493
|
-
"type": "boolean",
|
10494
|
-
"kind": "expression"
|
10495
|
-
}
|
10496
|
-
},
|
10497
|
-
{
|
10498
|
-
"name": "size",
|
10499
|
-
"default": "`30px`",
|
10500
|
-
"description": "Size of switch",
|
10501
|
-
"options": [],
|
10502
|
-
"value": {
|
10503
|
-
"type": "number | string",
|
10504
|
-
"kind": "expression"
|
10505
|
-
}
|
10506
|
-
},
|
10507
|
-
{
|
10508
|
-
"name": "active-color",
|
10509
|
-
"default": "`#1989fa`",
|
10510
|
-
"description": "Background color when active",
|
10511
|
-
"options": [],
|
10512
|
-
"value": {
|
10513
|
-
"type": "string",
|
10514
|
-
"kind": "expression"
|
10515
|
-
}
|
10516
|
-
},
|
10517
|
-
{
|
10518
|
-
"name": "inactive-color",
|
10519
|
-
"default": "`white`",
|
10520
|
-
"description": "Background color when inactive",
|
10521
|
-
"options": [],
|
10522
|
-
"value": {
|
10523
|
-
"type": "string",
|
10524
|
-
"kind": "expression"
|
10525
|
-
}
|
10526
|
-
},
|
10527
|
-
{
|
10528
|
-
"name": "active-value",
|
10529
|
-
"default": "`true`",
|
10530
|
-
"description": "Value when active",
|
10531
|
-
"options": [],
|
10532
|
-
"value": {
|
10533
|
-
"type": "any",
|
10534
|
-
"kind": "expression"
|
10535
|
-
}
|
10536
|
-
},
|
10537
|
-
{
|
10538
|
-
"name": "inactive-value",
|
10539
|
-
"default": "`false`",
|
10540
|
-
"description": "Value when inactive",
|
10541
|
-
"options": [],
|
10542
|
-
"value": {
|
10543
|
-
"type": "any",
|
10544
|
-
"kind": "expression"
|
10545
|
-
}
|
10546
|
-
}
|
10547
|
-
]
|
10548
|
-
},
|
10549
10456
|
{
|
10550
10457
|
"name": "van-tabs",
|
10551
10458
|
"slots": [
|
@@ -10939,6 +10846,123 @@
|
|
10939
10846
|
}
|
10940
10847
|
]
|
10941
10848
|
},
|
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
|
+
},
|
10942
10966
|
{
|
10943
10967
|
"name": "van-tabbar",
|
10944
10968
|
"slots": [],
|