vant 4.0.0-rc.3 → 4.0.0-rc.5
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/README.md +4 -5
- package/changelog.generated.md +47 -23
- package/es/date-picker/DatePicker.mjs +4 -1
- package/es/date-picker/utils.d.ts +1 -0
- package/es/date-picker/utils.mjs +11 -0
- package/es/field/Field.mjs +5 -4
- package/es/field/index.css +1 -1
- package/es/field/types.d.ts +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/loading/Loading.mjs +8 -4
- package/es/nav-bar/NavBar.d.ts +13 -0
- package/es/nav-bar/NavBar.mjs +4 -3
- package/es/nav-bar/index.d.ts +9 -0
- package/es/notify/function-call.mjs +1 -1
- package/es/stepper/Stepper.d.ts +13 -0
- package/es/stepper/Stepper.mjs +4 -3
- package/es/stepper/index.d.ts +9 -0
- package/es/tab/Tab.mjs +12 -2
- package/es/tabs/Tabs.mjs +51 -48
- package/es/time-picker/TimePicker.mjs +4 -3
- package/lib/date-picker/DatePicker.js +3 -0
- package/lib/date-picker/utils.d.ts +1 -0
- package/lib/date-picker/utils.js +11 -0
- package/lib/field/Field.js +5 -4
- package/lib/field/index.css +1 -1
- package/lib/field/types.d.ts +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/loading/Loading.js +8 -4
- package/lib/nav-bar/NavBar.d.ts +13 -0
- package/lib/nav-bar/NavBar.js +4 -3
- package/lib/nav-bar/index.d.ts +9 -0
- package/lib/notify/function-call.js +1 -1
- package/lib/stepper/Stepper.d.ts +13 -0
- package/lib/stepper/Stepper.js +4 -3
- package/lib/stepper/index.d.ts +9 -0
- package/lib/tab/Tab.js +11 -1
- package/lib/tabs/Tabs.js +51 -48
- package/lib/time-picker/TimePicker.js +3 -2
- package/lib/vant.cjs.js +101 -67
- package/lib/vant.es.js +101 -67
- package/lib/vant.js +101 -67
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +523 -499
- package/package.json +5 -5
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.5",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -549,176 +549,6 @@
|
|
549
549
|
}
|
550
550
|
]
|
551
551
|
},
|
552
|
-
{
|
553
|
-
"name": "van-address-list",
|
554
|
-
"slots": [
|
555
|
-
{
|
556
|
-
"name": "default",
|
557
|
-
"description": "Custom content after list"
|
558
|
-
},
|
559
|
-
{
|
560
|
-
"name": "top",
|
561
|
-
"description": "Custom content before list"
|
562
|
-
},
|
563
|
-
{
|
564
|
-
"name": "item-bottom",
|
565
|
-
"description": "Custom content after list item"
|
566
|
-
},
|
567
|
-
{
|
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": []
|
577
|
-
},
|
578
|
-
{
|
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
|
-
]
|
591
|
-
},
|
592
|
-
{
|
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
|
-
},
|
606
|
-
{
|
607
|
-
"name": "edit-disabled",
|
608
|
-
"description": "Emitted when the edit icon of disabled address is clicked",
|
609
|
-
"arguments": [
|
610
|
-
{
|
611
|
-
"name": "item",
|
612
|
-
"type": "Address"
|
613
|
-
},
|
614
|
-
{
|
615
|
-
"name": "index",
|
616
|
-
"type": "number"
|
617
|
-
}
|
618
|
-
]
|
619
|
-
},
|
620
|
-
{
|
621
|
-
"name": "select-disabled",
|
622
|
-
"description": "Emitted when a disabled address is selected",
|
623
|
-
"arguments": [
|
624
|
-
{
|
625
|
-
"name": "item",
|
626
|
-
"type": "Address"
|
627
|
-
},
|
628
|
-
{
|
629
|
-
"name": "index",
|
630
|
-
"type": "number"
|
631
|
-
}
|
632
|
-
]
|
633
|
-
},
|
634
|
-
{
|
635
|
-
"name": "click-item",
|
636
|
-
"description": "Emitted when an address item is clicked",
|
637
|
-
"arguments": [
|
638
|
-
{
|
639
|
-
"name": "item",
|
640
|
-
"type": "Address"
|
641
|
-
},
|
642
|
-
{
|
643
|
-
"name": "index",
|
644
|
-
"type": "number"
|
645
|
-
}
|
646
|
-
]
|
647
|
-
}
|
648
|
-
],
|
649
|
-
"attributes": [
|
650
|
-
{
|
651
|
-
"name": "v-model",
|
652
|
-
"default": "-",
|
653
|
-
"description": "Id of chosen address",
|
654
|
-
"options": [],
|
655
|
-
"value": {
|
656
|
-
"type": "string",
|
657
|
-
"kind": "expression"
|
658
|
-
}
|
659
|
-
},
|
660
|
-
{
|
661
|
-
"name": "list",
|
662
|
-
"default": "`[]`",
|
663
|
-
"description": "Address list",
|
664
|
-
"options": [],
|
665
|
-
"value": {
|
666
|
-
"type": "Address[]",
|
667
|
-
"kind": "expression"
|
668
|
-
}
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"name": "disabled-list",
|
672
|
-
"default": "`[]`",
|
673
|
-
"description": "Disabled address list",
|
674
|
-
"options": [],
|
675
|
-
"value": {
|
676
|
-
"type": "Address[]",
|
677
|
-
"kind": "expression"
|
678
|
-
}
|
679
|
-
},
|
680
|
-
{
|
681
|
-
"name": "disabled-text",
|
682
|
-
"default": "-",
|
683
|
-
"description": "Disabled text",
|
684
|
-
"options": [],
|
685
|
-
"value": {
|
686
|
-
"type": "string",
|
687
|
-
"kind": "expression"
|
688
|
-
}
|
689
|
-
},
|
690
|
-
{
|
691
|
-
"name": "switchable",
|
692
|
-
"default": "`true`",
|
693
|
-
"description": "Whether to allow switch address",
|
694
|
-
"options": [],
|
695
|
-
"value": {
|
696
|
-
"type": "boolean",
|
697
|
-
"kind": "expression"
|
698
|
-
}
|
699
|
-
},
|
700
|
-
{
|
701
|
-
"name": "add-button-text",
|
702
|
-
"default": "`Add new address`",
|
703
|
-
"description": "Add button text",
|
704
|
-
"options": [],
|
705
|
-
"value": {
|
706
|
-
"type": "string",
|
707
|
-
"kind": "expression"
|
708
|
-
}
|
709
|
-
},
|
710
|
-
{
|
711
|
-
"name": "default-tag-text",
|
712
|
-
"default": "-",
|
713
|
-
"description": "Default tag text",
|
714
|
-
"options": [],
|
715
|
-
"value": {
|
716
|
-
"type": "string",
|
717
|
-
"kind": "expression"
|
718
|
-
}
|
719
|
-
}
|
720
|
-
]
|
721
|
-
},
|
722
552
|
{
|
723
553
|
"name": "van-area",
|
724
554
|
"slots": [
|
@@ -900,83 +730,167 @@
|
|
900
730
|
]
|
901
731
|
},
|
902
732
|
{
|
903
|
-
"name": "van-
|
733
|
+
"name": "van-address-list",
|
904
734
|
"slots": [
|
905
735
|
{
|
906
736
|
"name": "default",
|
907
|
-
"description": "
|
737
|
+
"description": "Custom content after list"
|
908
738
|
},
|
909
739
|
{
|
910
|
-
"name": "
|
911
|
-
"description": "Custom
|
740
|
+
"name": "top",
|
741
|
+
"description": "Custom content before list"
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"name": "item-bottom",
|
745
|
+
"description": "Custom content after list item"
|
746
|
+
},
|
747
|
+
{
|
748
|
+
"name": "tag",
|
749
|
+
"description": "Custom tag of list item"
|
750
|
+
}
|
751
|
+
],
|
752
|
+
"events": [
|
753
|
+
{
|
754
|
+
"name": "add",
|
755
|
+
"description": "Emitted when the add button is clicked",
|
756
|
+
"arguments": []
|
757
|
+
},
|
758
|
+
{
|
759
|
+
"name": "edit",
|
760
|
+
"description": "Emitted when the edit icon of address is clicked",
|
761
|
+
"arguments": [
|
762
|
+
{
|
763
|
+
"name": "item",
|
764
|
+
"type": "Address"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"name": "index",
|
768
|
+
"type": "number"
|
769
|
+
}
|
770
|
+
]
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"name": "select",
|
774
|
+
"description": "Emitted when an address is selected",
|
775
|
+
"arguments": [
|
776
|
+
{
|
777
|
+
"name": "item",
|
778
|
+
"type": "Address"
|
779
|
+
},
|
780
|
+
{
|
781
|
+
"name": "index",
|
782
|
+
"type": "number"
|
783
|
+
}
|
784
|
+
]
|
785
|
+
},
|
786
|
+
{
|
787
|
+
"name": "edit-disabled",
|
788
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
789
|
+
"arguments": [
|
790
|
+
{
|
791
|
+
"name": "item",
|
792
|
+
"type": "Address"
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"name": "index",
|
796
|
+
"type": "number"
|
797
|
+
}
|
798
|
+
]
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"name": "select-disabled",
|
802
|
+
"description": "Emitted when a disabled address is selected",
|
803
|
+
"arguments": [
|
804
|
+
{
|
805
|
+
"name": "item",
|
806
|
+
"type": "Address"
|
807
|
+
},
|
808
|
+
{
|
809
|
+
"name": "index",
|
810
|
+
"type": "number"
|
811
|
+
}
|
812
|
+
]
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"name": "click-item",
|
816
|
+
"description": "Emitted when an address item is clicked",
|
817
|
+
"arguments": [
|
818
|
+
{
|
819
|
+
"name": "item",
|
820
|
+
"type": "Address"
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"name": "index",
|
824
|
+
"type": "number"
|
825
|
+
}
|
826
|
+
]
|
912
827
|
}
|
913
828
|
],
|
914
|
-
"events": [],
|
915
829
|
"attributes": [
|
916
830
|
{
|
917
|
-
"name": "
|
831
|
+
"name": "v-model",
|
918
832
|
"default": "-",
|
919
|
-
"description": "
|
833
|
+
"description": "Id of chosen address",
|
920
834
|
"options": [],
|
921
835
|
"value": {
|
922
|
-
"type": "
|
836
|
+
"type": "string",
|
923
837
|
"kind": "expression"
|
924
838
|
}
|
925
839
|
},
|
926
840
|
{
|
927
|
-
"name": "
|
928
|
-
"default": "
|
929
|
-
"description": "
|
841
|
+
"name": "list",
|
842
|
+
"default": "`[]`",
|
843
|
+
"description": "Address list",
|
930
844
|
"options": [],
|
931
845
|
"value": {
|
932
|
-
"type": "
|
846
|
+
"type": "Address[]",
|
933
847
|
"kind": "expression"
|
934
848
|
}
|
935
849
|
},
|
936
850
|
{
|
937
|
-
"name": "
|
938
|
-
"default": "`
|
939
|
-
"description": "
|
851
|
+
"name": "disabled-list",
|
852
|
+
"default": "`[]`",
|
853
|
+
"description": "Disabled address list",
|
940
854
|
"options": [],
|
941
855
|
"value": {
|
942
|
-
"type": "
|
856
|
+
"type": "Address[]",
|
943
857
|
"kind": "expression"
|
944
858
|
}
|
945
859
|
},
|
946
860
|
{
|
947
|
-
"name": "
|
861
|
+
"name": "disabled-text",
|
948
862
|
"default": "-",
|
949
|
-
"description": "
|
863
|
+
"description": "Disabled text",
|
950
864
|
"options": [],
|
951
865
|
"value": {
|
952
|
-
"type": "
|
866
|
+
"type": "string",
|
953
867
|
"kind": "expression"
|
954
868
|
}
|
955
869
|
},
|
956
870
|
{
|
957
|
-
"name": "
|
958
|
-
"default": "
|
959
|
-
"description": "
|
871
|
+
"name": "switchable",
|
872
|
+
"default": "`true`",
|
873
|
+
"description": "Whether to allow switch address",
|
960
874
|
"options": [],
|
961
875
|
"value": {
|
962
|
-
"type": "
|
876
|
+
"type": "boolean",
|
963
877
|
"kind": "expression"
|
964
878
|
}
|
965
879
|
},
|
966
880
|
{
|
967
|
-
"name": "
|
968
|
-
"default": "`
|
969
|
-
"description": "
|
881
|
+
"name": "add-button-text",
|
882
|
+
"default": "`Add new address`",
|
883
|
+
"description": "Add button text",
|
970
884
|
"options": [],
|
971
885
|
"value": {
|
972
|
-
"type": "
|
886
|
+
"type": "string",
|
973
887
|
"kind": "expression"
|
974
888
|
}
|
975
889
|
},
|
976
890
|
{
|
977
|
-
"name": "
|
978
|
-
"default": "
|
979
|
-
"description": "
|
891
|
+
"name": "default-tag-text",
|
892
|
+
"default": "-",
|
893
|
+
"description": "Default tag text",
|
980
894
|
"options": [],
|
981
895
|
"value": {
|
982
896
|
"type": "string",
|
@@ -986,68 +900,101 @@
|
|
986
900
|
]
|
987
901
|
},
|
988
902
|
{
|
989
|
-
"name": "van-
|
903
|
+
"name": "van-action-sheet",
|
990
904
|
"slots": [
|
991
905
|
{
|
992
906
|
"name": "default",
|
993
|
-
"description": "
|
907
|
+
"description": "Custom content"
|
994
908
|
},
|
995
909
|
{
|
996
|
-
"name": "
|
997
|
-
"description": "Custom
|
910
|
+
"name": "description",
|
911
|
+
"description": "Custom description above the options"
|
998
912
|
},
|
999
913
|
{
|
1000
|
-
"name": "
|
1001
|
-
"description": "Custom
|
914
|
+
"name": "cancel",
|
915
|
+
"description": "Custom the content of cancel button"
|
916
|
+
},
|
917
|
+
{
|
918
|
+
"name": "action",
|
919
|
+
"description": "Custom the content of action"
|
1002
920
|
}
|
1003
921
|
],
|
1004
922
|
"events": [
|
1005
923
|
{
|
1006
|
-
"name": "
|
1007
|
-
"description": "Emitted when
|
924
|
+
"name": "select",
|
925
|
+
"description": "Emitted when an option is clicked",
|
1008
926
|
"arguments": [
|
1009
927
|
{
|
1010
|
-
"name": "
|
1011
|
-
"type": "
|
928
|
+
"name": "action",
|
929
|
+
"type": "ActionSheetAction"
|
930
|
+
},
|
931
|
+
{
|
932
|
+
"name": "index",
|
933
|
+
"type": "number"
|
1012
934
|
}
|
1013
935
|
]
|
1014
936
|
},
|
1015
937
|
{
|
1016
|
-
"name": "
|
1017
|
-
"description": "Emitted when button is
|
938
|
+
"name": "cancel",
|
939
|
+
"description": "Emitted when the cancel button is clicked",
|
940
|
+
"arguments": []
|
941
|
+
},
|
942
|
+
{
|
943
|
+
"name": "open",
|
944
|
+
"description": "Emitted when opening ActionSheet",
|
945
|
+
"arguments": []
|
946
|
+
},
|
947
|
+
{
|
948
|
+
"name": "close",
|
949
|
+
"description": "Emitted when closing ActionSheet",
|
950
|
+
"arguments": []
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"name": "opened",
|
954
|
+
"description": "Emitted when ActionSheet is opened",
|
955
|
+
"arguments": []
|
956
|
+
},
|
957
|
+
{
|
958
|
+
"name": "closed",
|
959
|
+
"description": "Emitted when ActionSheet is closed",
|
960
|
+
"arguments": []
|
961
|
+
},
|
962
|
+
{
|
963
|
+
"name": "click-overlay",
|
964
|
+
"description": "Emitted when overlay is clicked",
|
1018
965
|
"arguments": [
|
1019
966
|
{
|
1020
967
|
"name": "event",
|
1021
|
-
"type": "
|
968
|
+
"type": "MouseEvent"
|
1022
969
|
}
|
1023
970
|
]
|
1024
971
|
}
|
1025
972
|
],
|
1026
973
|
"attributes": [
|
1027
974
|
{
|
1028
|
-
"name": "
|
1029
|
-
"default": "`
|
1030
|
-
"description": "
|
975
|
+
"name": "v-model:show",
|
976
|
+
"default": "`false`",
|
977
|
+
"description": "Whether to show ActionSheet",
|
1031
978
|
"options": [],
|
1032
979
|
"value": {
|
1033
|
-
"type": "
|
980
|
+
"type": "boolean",
|
1034
981
|
"kind": "expression"
|
1035
982
|
}
|
1036
983
|
},
|
1037
984
|
{
|
1038
|
-
"name": "
|
1039
|
-
"default": "`
|
1040
|
-
"description": "
|
985
|
+
"name": "actions",
|
986
|
+
"default": "`[]`",
|
987
|
+
"description": "Options",
|
1041
988
|
"options": [],
|
1042
989
|
"value": {
|
1043
|
-
"type": "
|
990
|
+
"type": "ActionSheetAction[]",
|
1044
991
|
"kind": "expression"
|
1045
992
|
}
|
1046
993
|
},
|
1047
994
|
{
|
1048
|
-
"name": "
|
995
|
+
"name": "title",
|
1049
996
|
"default": "-",
|
1050
|
-
"description": "
|
997
|
+
"description": "Title",
|
1051
998
|
"options": [],
|
1052
999
|
"value": {
|
1053
1000
|
"type": "string",
|
@@ -1055,9 +1002,9 @@
|
|
1055
1002
|
}
|
1056
1003
|
},
|
1057
1004
|
{
|
1058
|
-
"name": "
|
1005
|
+
"name": "cancel-text",
|
1059
1006
|
"default": "-",
|
1060
|
-
"description": "
|
1007
|
+
"description": "Text of cancel button",
|
1061
1008
|
"options": [],
|
1062
1009
|
"value": {
|
1063
1010
|
"type": "string",
|
@@ -1065,9 +1012,9 @@
|
|
1065
1012
|
}
|
1066
1013
|
},
|
1067
1014
|
{
|
1068
|
-
"name": "
|
1015
|
+
"name": "description",
|
1069
1016
|
"default": "-",
|
1070
|
-
"description": "
|
1017
|
+
"description": "Description above the options",
|
1071
1018
|
"options": [],
|
1072
1019
|
"value": {
|
1073
1020
|
"type": "string",
|
@@ -1075,19 +1022,19 @@
|
|
1075
1022
|
}
|
1076
1023
|
},
|
1077
1024
|
{
|
1078
|
-
"name": "
|
1079
|
-
"default": "`
|
1080
|
-
"description": "
|
1025
|
+
"name": "closeable",
|
1026
|
+
"default": "`true`",
|
1027
|
+
"description": "Whether to show close icon",
|
1081
1028
|
"options": [],
|
1082
1029
|
"value": {
|
1083
|
-
"type": "
|
1030
|
+
"type": "boolean",
|
1084
1031
|
"kind": "expression"
|
1085
1032
|
}
|
1086
1033
|
},
|
1087
1034
|
{
|
1088
|
-
"name": "icon
|
1089
|
-
"default": "`
|
1090
|
-
"description": "
|
1035
|
+
"name": "close-icon",
|
1036
|
+
"default": "`cross`",
|
1037
|
+
"description": "Close icon name",
|
1091
1038
|
"options": [],
|
1092
1039
|
"value": {
|
1093
1040
|
"type": "string",
|
@@ -1095,29 +1042,99 @@
|
|
1095
1042
|
}
|
1096
1043
|
},
|
1097
1044
|
{
|
1098
|
-
"name": "
|
1099
|
-
"default": "`
|
1100
|
-
"description": "
|
1045
|
+
"name": "duration",
|
1046
|
+
"default": "`0.3`",
|
1047
|
+
"description": "Transition duration, unit second",
|
1101
1048
|
"options": [],
|
1102
1049
|
"value": {
|
1103
|
-
"type": "string",
|
1050
|
+
"type": "number | string",
|
1104
1051
|
"kind": "expression"
|
1105
1052
|
}
|
1106
1053
|
},
|
1107
1054
|
{
|
1108
|
-
"name": "
|
1109
|
-
"default": "`
|
1110
|
-
"description": "
|
1055
|
+
"name": "z-index",
|
1056
|
+
"default": "`2000+`",
|
1057
|
+
"description": "Set the z-index to a fixed value",
|
1058
|
+
"options": [],
|
1059
|
+
"value": {
|
1060
|
+
"type": "number | string",
|
1061
|
+
"kind": "expression"
|
1062
|
+
}
|
1063
|
+
},
|
1064
|
+
{
|
1065
|
+
"name": "round",
|
1066
|
+
"default": "`true`",
|
1067
|
+
"description": "Whether to show round corner",
|
1068
|
+
"options": [],
|
1069
|
+
"value": {
|
1070
|
+
"type": "boolean",
|
1071
|
+
"kind": "expression"
|
1072
|
+
}
|
1073
|
+
},
|
1074
|
+
{
|
1075
|
+
"name": "overlay",
|
1076
|
+
"default": "`true`",
|
1077
|
+
"description": "Whether to show overlay",
|
1078
|
+
"options": [],
|
1079
|
+
"value": {
|
1080
|
+
"type": "boolean",
|
1081
|
+
"kind": "expression"
|
1082
|
+
}
|
1083
|
+
},
|
1084
|
+
{
|
1085
|
+
"name": "overlay-class",
|
1086
|
+
"default": "-",
|
1087
|
+
"description": "Custom overlay class",
|
1088
|
+
"options": [],
|
1089
|
+
"value": {
|
1090
|
+
"type": "string | Array | object",
|
1091
|
+
"kind": "expression"
|
1092
|
+
}
|
1093
|
+
},
|
1094
|
+
{
|
1095
|
+
"name": "overlay-style",
|
1096
|
+
"default": "-",
|
1097
|
+
"description": "Custom overlay style",
|
1098
|
+
"options": [],
|
1099
|
+
"value": {
|
1100
|
+
"type": "object",
|
1101
|
+
"kind": "expression"
|
1102
|
+
}
|
1103
|
+
},
|
1104
|
+
{
|
1105
|
+
"name": "lock-scroll",
|
1106
|
+
"default": "`true`",
|
1107
|
+
"description": "Whether to lock background scroll",
|
1108
|
+
"options": [],
|
1109
|
+
"value": {
|
1110
|
+
"type": "boolean",
|
1111
|
+
"kind": "expression"
|
1112
|
+
}
|
1113
|
+
},
|
1114
|
+
{
|
1115
|
+
"name": "lazy-render",
|
1116
|
+
"default": "`true`",
|
1117
|
+
"description": "Whether to lazy render util appeared",
|
1118
|
+
"options": [],
|
1119
|
+
"value": {
|
1120
|
+
"type": "boolean",
|
1121
|
+
"kind": "expression"
|
1122
|
+
}
|
1123
|
+
},
|
1124
|
+
{
|
1125
|
+
"name": "close-on-popstate",
|
1126
|
+
"default": "`true`",
|
1127
|
+
"description": "Whether to close when popstate",
|
1111
1128
|
"options": [],
|
1112
1129
|
"value": {
|
1113
|
-
"type": "
|
1130
|
+
"type": "boolean",
|
1114
1131
|
"kind": "expression"
|
1115
1132
|
}
|
1116
1133
|
},
|
1117
1134
|
{
|
1118
|
-
"name": "
|
1135
|
+
"name": "close-on-click-action",
|
1119
1136
|
"default": "`false`",
|
1120
|
-
"description": "Whether to
|
1137
|
+
"description": "Whether to close when an action is clicked",
|
1121
1138
|
"options": [],
|
1122
1139
|
"value": {
|
1123
1140
|
"type": "boolean",
|
@@ -1125,9 +1142,9 @@
|
|
1125
1142
|
}
|
1126
1143
|
},
|
1127
1144
|
{
|
1128
|
-
"name": "
|
1129
|
-
"default": "`
|
1130
|
-
"description": "Whether to
|
1145
|
+
"name": "close-on-click-overlay",
|
1146
|
+
"default": "`true`",
|
1147
|
+
"description": "Whether to close when overlay is clicked",
|
1131
1148
|
"options": [],
|
1132
1149
|
"value": {
|
1133
1150
|
"type": "boolean",
|
@@ -1135,9 +1152,9 @@
|
|
1135
1152
|
}
|
1136
1153
|
},
|
1137
1154
|
{
|
1138
|
-
"name": "
|
1139
|
-
"default": "`
|
1140
|
-
"description": "Whether to
|
1155
|
+
"name": "safe-area-inset-bottom",
|
1156
|
+
"default": "`true`",
|
1157
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1141
1158
|
"options": [],
|
1142
1159
|
"value": {
|
1143
1160
|
"type": "boolean",
|
@@ -1145,39 +1162,55 @@
|
|
1145
1162
|
}
|
1146
1163
|
},
|
1147
1164
|
{
|
1148
|
-
"name": "
|
1149
|
-
"default": "
|
1150
|
-
"description": "
|
1165
|
+
"name": "teleport",
|
1166
|
+
"default": "-",
|
1167
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1151
1168
|
"options": [],
|
1152
1169
|
"value": {
|
1153
|
-
"type": "
|
1170
|
+
"type": "string | Element",
|
1154
1171
|
"kind": "expression"
|
1155
1172
|
}
|
1156
1173
|
},
|
1157
1174
|
{
|
1158
|
-
"name": "
|
1159
|
-
"default": "
|
1160
|
-
"description": "
|
1175
|
+
"name": "before-close",
|
1176
|
+
"default": "-",
|
1177
|
+
"description": "Callback function before close",
|
1161
1178
|
"options": [],
|
1162
1179
|
"value": {
|
1163
|
-
"type": "boolean",
|
1180
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1164
1181
|
"kind": "expression"
|
1165
1182
|
}
|
1183
|
+
}
|
1184
|
+
]
|
1185
|
+
},
|
1186
|
+
{
|
1187
|
+
"name": "van-badge",
|
1188
|
+
"slots": [
|
1189
|
+
{
|
1190
|
+
"name": "default",
|
1191
|
+
"description": "Default slot"
|
1166
1192
|
},
|
1167
1193
|
{
|
1168
|
-
"name": "
|
1169
|
-
"
|
1170
|
-
|
1194
|
+
"name": "content",
|
1195
|
+
"description": "Custom badge content"
|
1196
|
+
}
|
1197
|
+
],
|
1198
|
+
"events": [],
|
1199
|
+
"attributes": [
|
1200
|
+
{
|
1201
|
+
"name": "content",
|
1202
|
+
"default": "-",
|
1203
|
+
"description": "Badge content",
|
1171
1204
|
"options": [],
|
1172
1205
|
"value": {
|
1173
|
-
"type": "
|
1206
|
+
"type": "number | string",
|
1174
1207
|
"kind": "expression"
|
1175
1208
|
}
|
1176
1209
|
},
|
1177
1210
|
{
|
1178
|
-
"name": "
|
1179
|
-
"default": "
|
1180
|
-
"description": "
|
1211
|
+
"name": "color",
|
1212
|
+
"default": "`#ee0a24`",
|
1213
|
+
"description": "Background color",
|
1181
1214
|
"options": [],
|
1182
1215
|
"value": {
|
1183
1216
|
"type": "string",
|
@@ -1185,19 +1218,19 @@
|
|
1185
1218
|
}
|
1186
1219
|
},
|
1187
1220
|
{
|
1188
|
-
"name": "
|
1189
|
-
"default": "`
|
1190
|
-
"description": "
|
1221
|
+
"name": "dot",
|
1222
|
+
"default": "`false`",
|
1223
|
+
"description": "Whether to show dot",
|
1191
1224
|
"options": [],
|
1192
1225
|
"value": {
|
1193
|
-
"type": "
|
1226
|
+
"type": "boolean",
|
1194
1227
|
"kind": "expression"
|
1195
1228
|
}
|
1196
1229
|
},
|
1197
1230
|
{
|
1198
|
-
"name": "
|
1199
|
-
"default": "
|
1200
|
-
"description": "
|
1231
|
+
"name": "max",
|
1232
|
+
"default": "-",
|
1233
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1201
1234
|
"options": [],
|
1202
1235
|
"value": {
|
1203
1236
|
"type": "number | string",
|
@@ -1205,133 +1238,100 @@
|
|
1205
1238
|
}
|
1206
1239
|
},
|
1207
1240
|
{
|
1208
|
-
"name": "
|
1241
|
+
"name": "offset",
|
1209
1242
|
"default": "-",
|
1210
|
-
"description": "
|
1243
|
+
"description": "Offset of badge dot",
|
1211
1244
|
"options": [],
|
1212
1245
|
"value": {
|
1213
|
-
"type": "string",
|
1246
|
+
"type": "[number | string, number | string]",
|
1214
1247
|
"kind": "expression"
|
1215
1248
|
}
|
1216
1249
|
},
|
1217
1250
|
{
|
1218
|
-
"name": "
|
1219
|
-
"default": "
|
1220
|
-
"description": "
|
1251
|
+
"name": "show-zero",
|
1252
|
+
"default": "`true`",
|
1253
|
+
"description": "Whether to show badge when content is zero",
|
1221
1254
|
"options": [],
|
1222
1255
|
"value": {
|
1223
|
-
"type": "
|
1256
|
+
"type": "boolean",
|
1224
1257
|
"kind": "expression"
|
1225
1258
|
}
|
1226
1259
|
},
|
1227
1260
|
{
|
1228
|
-
"name": "
|
1229
|
-
"default": "`
|
1230
|
-
"description": "
|
1261
|
+
"name": "position",
|
1262
|
+
"default": "`top-right`",
|
1263
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1231
1264
|
"options": [],
|
1232
1265
|
"value": {
|
1233
|
-
"type": "
|
1266
|
+
"type": "string",
|
1234
1267
|
"kind": "expression"
|
1235
1268
|
}
|
1236
1269
|
}
|
1237
1270
|
]
|
1238
1271
|
},
|
1239
1272
|
{
|
1240
|
-
"name": "van-
|
1273
|
+
"name": "van-button",
|
1241
1274
|
"slots": [
|
1242
1275
|
{
|
1243
1276
|
"name": "default",
|
1244
|
-
"description": "
|
1245
|
-
},
|
1246
|
-
{
|
1247
|
-
"name": "description",
|
1248
|
-
"description": "Custom description above the options"
|
1277
|
+
"description": "Default slot"
|
1249
1278
|
},
|
1250
1279
|
{
|
1251
|
-
"name": "
|
1252
|
-
"description": "Custom
|
1280
|
+
"name": "icon",
|
1281
|
+
"description": "Custom icon"
|
1253
1282
|
},
|
1254
1283
|
{
|
1255
|
-
"name": "
|
1256
|
-
"description": "Custom
|
1284
|
+
"name": "loading",
|
1285
|
+
"description": "Custom loading icon"
|
1257
1286
|
}
|
1258
1287
|
],
|
1259
1288
|
"events": [
|
1260
1289
|
{
|
1261
|
-
"name": "
|
1262
|
-
"description": "Emitted when
|
1290
|
+
"name": "click",
|
1291
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1263
1292
|
"arguments": [
|
1264
1293
|
{
|
1265
|
-
"name": "
|
1266
|
-
"type": "
|
1267
|
-
},
|
1268
|
-
{
|
1269
|
-
"name": "index",
|
1270
|
-
"type": "number"
|
1294
|
+
"name": "event",
|
1295
|
+
"type": "MouseEvent"
|
1271
1296
|
}
|
1272
1297
|
]
|
1273
1298
|
},
|
1274
1299
|
{
|
1275
|
-
"name": "
|
1276
|
-
"description": "Emitted when
|
1277
|
-
"arguments": []
|
1278
|
-
},
|
1279
|
-
{
|
1280
|
-
"name": "open",
|
1281
|
-
"description": "Emitted when opening ActionSheet",
|
1282
|
-
"arguments": []
|
1283
|
-
},
|
1284
|
-
{
|
1285
|
-
"name": "close",
|
1286
|
-
"description": "Emitted when closing ActionSheet",
|
1287
|
-
"arguments": []
|
1288
|
-
},
|
1289
|
-
{
|
1290
|
-
"name": "opened",
|
1291
|
-
"description": "Emitted when ActionSheet is opened",
|
1292
|
-
"arguments": []
|
1293
|
-
},
|
1294
|
-
{
|
1295
|
-
"name": "closed",
|
1296
|
-
"description": "Emitted when ActionSheet is closed",
|
1297
|
-
"arguments": []
|
1298
|
-
},
|
1299
|
-
{
|
1300
|
-
"name": "click-overlay",
|
1301
|
-
"description": "Emitted when overlay is clicked",
|
1300
|
+
"name": "touchstart",
|
1301
|
+
"description": "Emitted when button is touched",
|
1302
1302
|
"arguments": [
|
1303
1303
|
{
|
1304
1304
|
"name": "event",
|
1305
|
-
"type": "
|
1305
|
+
"type": "TouchEvent"
|
1306
1306
|
}
|
1307
1307
|
]
|
1308
1308
|
}
|
1309
1309
|
],
|
1310
1310
|
"attributes": [
|
1311
1311
|
{
|
1312
|
-
"name": "
|
1313
|
-
"default": "`
|
1314
|
-
"description": "
|
1312
|
+
"name": "type",
|
1313
|
+
"default": "`default`",
|
1314
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1315
1315
|
"options": [],
|
1316
1316
|
"value": {
|
1317
|
-
"type": "
|
1317
|
+
"type": "string",
|
1318
1318
|
"kind": "expression"
|
1319
1319
|
}
|
1320
1320
|
},
|
1321
1321
|
{
|
1322
|
-
"name": "
|
1323
|
-
"default": "`
|
1324
|
-
"description": "
|
1322
|
+
"name": "size",
|
1323
|
+
"default": "`normal`",
|
1324
|
+
"description": "Can be set to `large` `small` `mini`",
|
1325
1325
|
"options": [],
|
1326
1326
|
"value": {
|
1327
|
-
"type": "
|
1327
|
+
"type": "string",
|
1328
1328
|
"kind": "expression"
|
1329
1329
|
}
|
1330
1330
|
},
|
1331
1331
|
{
|
1332
|
-
"name": "
|
1332
|
+
"name": "text",
|
1333
1333
|
"default": "-",
|
1334
|
-
"description": "
|
1334
|
+
"description": "Text",
|
1335
1335
|
"options": [],
|
1336
1336
|
"value": {
|
1337
1337
|
"type": "string",
|
@@ -1339,9 +1339,9 @@
|
|
1339
1339
|
}
|
1340
1340
|
},
|
1341
1341
|
{
|
1342
|
-
"name": "
|
1342
|
+
"name": "color",
|
1343
1343
|
"default": "-",
|
1344
|
-
"description": "
|
1344
|
+
"description": "Color, support linear-gradient",
|
1345
1345
|
"options": [],
|
1346
1346
|
"value": {
|
1347
1347
|
"type": "string",
|
@@ -1349,9 +1349,9 @@
|
|
1349
1349
|
}
|
1350
1350
|
},
|
1351
1351
|
{
|
1352
|
-
"name": "
|
1352
|
+
"name": "icon",
|
1353
1353
|
"default": "-",
|
1354
|
-
"description": "
|
1354
|
+
"description": "Left Icon",
|
1355
1355
|
"options": [],
|
1356
1356
|
"value": {
|
1357
1357
|
"type": "string",
|
@@ -1359,19 +1359,19 @@
|
|
1359
1359
|
}
|
1360
1360
|
},
|
1361
1361
|
{
|
1362
|
-
"name": "
|
1363
|
-
"default": "`
|
1364
|
-
"description": "
|
1362
|
+
"name": "icon-prefix",
|
1363
|
+
"default": "`van-icon`",
|
1364
|
+
"description": "Icon className prefix",
|
1365
1365
|
"options": [],
|
1366
1366
|
"value": {
|
1367
|
-
"type": "
|
1367
|
+
"type": "string",
|
1368
1368
|
"kind": "expression"
|
1369
1369
|
}
|
1370
1370
|
},
|
1371
1371
|
{
|
1372
|
-
"name": "
|
1373
|
-
"default": "`
|
1374
|
-
"description": "
|
1372
|
+
"name": "icon-position",
|
1373
|
+
"default": "`left`",
|
1374
|
+
"description": "Icon position, can be set to `right`",
|
1375
1375
|
"options": [],
|
1376
1376
|
"value": {
|
1377
1377
|
"type": "string",
|
@@ -1379,29 +1379,29 @@
|
|
1379
1379
|
}
|
1380
1380
|
},
|
1381
1381
|
{
|
1382
|
-
"name": "
|
1383
|
-
"default": "`
|
1384
|
-
"description": "
|
1382
|
+
"name": "tag",
|
1383
|
+
"default": "`button`",
|
1384
|
+
"description": "HTML Tag",
|
1385
1385
|
"options": [],
|
1386
1386
|
"value": {
|
1387
|
-
"type": "
|
1387
|
+
"type": "string",
|
1388
1388
|
"kind": "expression"
|
1389
1389
|
}
|
1390
1390
|
},
|
1391
1391
|
{
|
1392
|
-
"name": "
|
1393
|
-
"default": "`
|
1394
|
-
"description": "
|
1392
|
+
"name": "native-type",
|
1393
|
+
"default": "`button`",
|
1394
|
+
"description": "Native Type Attribute",
|
1395
1395
|
"options": [],
|
1396
1396
|
"value": {
|
1397
|
-
"type": "
|
1397
|
+
"type": "string",
|
1398
1398
|
"kind": "expression"
|
1399
1399
|
}
|
1400
1400
|
},
|
1401
1401
|
{
|
1402
|
-
"name": "
|
1403
|
-
"default": "`
|
1404
|
-
"description": "Whether to
|
1402
|
+
"name": "plain",
|
1403
|
+
"default": "`false`",
|
1404
|
+
"description": "Whether to be plain button",
|
1405
1405
|
"options": [],
|
1406
1406
|
"value": {
|
1407
1407
|
"type": "boolean",
|
@@ -1409,9 +1409,9 @@
|
|
1409
1409
|
}
|
1410
1410
|
},
|
1411
1411
|
{
|
1412
|
-
"name": "
|
1413
|
-
"default": "`
|
1414
|
-
"description": "Whether to
|
1412
|
+
"name": "block",
|
1413
|
+
"default": "`false`",
|
1414
|
+
"description": "Whether to set display block",
|
1415
1415
|
"options": [],
|
1416
1416
|
"value": {
|
1417
1417
|
"type": "boolean",
|
@@ -1419,29 +1419,29 @@
|
|
1419
1419
|
}
|
1420
1420
|
},
|
1421
1421
|
{
|
1422
|
-
"name": "
|
1423
|
-
"default": "
|
1424
|
-
"description": "
|
1422
|
+
"name": "round",
|
1423
|
+
"default": "`false`",
|
1424
|
+
"description": "Whether to be round button",
|
1425
1425
|
"options": [],
|
1426
1426
|
"value": {
|
1427
|
-
"type": "
|
1427
|
+
"type": "boolean",
|
1428
1428
|
"kind": "expression"
|
1429
1429
|
}
|
1430
1430
|
},
|
1431
1431
|
{
|
1432
|
-
"name": "
|
1433
|
-
"default": "
|
1434
|
-
"description": "
|
1432
|
+
"name": "square",
|
1433
|
+
"default": "`false`",
|
1434
|
+
"description": "Whether to be square button",
|
1435
1435
|
"options": [],
|
1436
1436
|
"value": {
|
1437
|
-
"type": "
|
1437
|
+
"type": "boolean",
|
1438
1438
|
"kind": "expression"
|
1439
1439
|
}
|
1440
1440
|
},
|
1441
1441
|
{
|
1442
|
-
"name": "
|
1443
|
-
"default": "`
|
1444
|
-
"description": "Whether to
|
1442
|
+
"name": "disabled",
|
1443
|
+
"default": "`false`",
|
1444
|
+
"description": "Whether to disable button",
|
1445
1445
|
"options": [],
|
1446
1446
|
"value": {
|
1447
1447
|
"type": "boolean",
|
@@ -1449,9 +1449,9 @@
|
|
1449
1449
|
}
|
1450
1450
|
},
|
1451
1451
|
{
|
1452
|
-
"name": "
|
1453
|
-
"default": "`
|
1454
|
-
"description": "Whether to
|
1452
|
+
"name": "loading",
|
1453
|
+
"default": "`false`",
|
1454
|
+
"description": "Whether to show loading status",
|
1455
1455
|
"options": [],
|
1456
1456
|
"value": {
|
1457
1457
|
"type": "boolean",
|
@@ -1459,62 +1459,62 @@
|
|
1459
1459
|
}
|
1460
1460
|
},
|
1461
1461
|
{
|
1462
|
-
"name": "
|
1463
|
-
"default": "
|
1464
|
-
"description": "
|
1462
|
+
"name": "loading-text",
|
1463
|
+
"default": "-",
|
1464
|
+
"description": "Loading text",
|
1465
1465
|
"options": [],
|
1466
1466
|
"value": {
|
1467
|
-
"type": "
|
1467
|
+
"type": "string",
|
1468
1468
|
"kind": "expression"
|
1469
1469
|
}
|
1470
1470
|
},
|
1471
1471
|
{
|
1472
|
-
"name": "
|
1473
|
-
"default": "`
|
1474
|
-
"description": "
|
1472
|
+
"name": "loading-type",
|
1473
|
+
"default": "`circular`",
|
1474
|
+
"description": "Loading type, can be set to `spinner`",
|
1475
1475
|
"options": [],
|
1476
1476
|
"value": {
|
1477
|
-
"type": "
|
1477
|
+
"type": "string",
|
1478
1478
|
"kind": "expression"
|
1479
1479
|
}
|
1480
1480
|
},
|
1481
1481
|
{
|
1482
|
-
"name": "
|
1483
|
-
"default": "`
|
1484
|
-
"description": "
|
1482
|
+
"name": "loading-size",
|
1483
|
+
"default": "`20px`",
|
1484
|
+
"description": "Loading icon size",
|
1485
1485
|
"options": [],
|
1486
1486
|
"value": {
|
1487
|
-
"type": "
|
1487
|
+
"type": "number | string",
|
1488
1488
|
"kind": "expression"
|
1489
1489
|
}
|
1490
1490
|
},
|
1491
1491
|
{
|
1492
|
-
"name": "
|
1493
|
-
"default": "
|
1494
|
-
"description": "
|
1492
|
+
"name": "url",
|
1493
|
+
"default": "-",
|
1494
|
+
"description": "Link URL",
|
1495
1495
|
"options": [],
|
1496
1496
|
"value": {
|
1497
|
-
"type": "
|
1497
|
+
"type": "string",
|
1498
1498
|
"kind": "expression"
|
1499
1499
|
}
|
1500
1500
|
},
|
1501
1501
|
{
|
1502
|
-
"name": "
|
1502
|
+
"name": "to",
|
1503
1503
|
"default": "-",
|
1504
|
-
"description": "
|
1504
|
+
"description": "Target route of the link, same as using vue-router",
|
1505
1505
|
"options": [],
|
1506
1506
|
"value": {
|
1507
|
-
"type": "string |
|
1507
|
+
"type": "string | object",
|
1508
1508
|
"kind": "expression"
|
1509
1509
|
}
|
1510
1510
|
},
|
1511
1511
|
{
|
1512
|
-
"name": "
|
1513
|
-
"default": "
|
1514
|
-
"description": "
|
1512
|
+
"name": "replace",
|
1513
|
+
"default": "`false`",
|
1514
|
+
"description": "If true, the navigation will not leave a history record",
|
1515
1515
|
"options": [],
|
1516
1516
|
"value": {
|
1517
|
-
"type": "
|
1517
|
+
"type": "boolean",
|
1518
1518
|
"kind": "expression"
|
1519
1519
|
}
|
1520
1520
|
}
|
@@ -2287,7 +2287,7 @@
|
|
2287
2287
|
"description": "Custom the fields of options",
|
2288
2288
|
"options": [],
|
2289
2289
|
"value": {
|
2290
|
-
"type": "
|
2290
|
+
"type": "CascaderFieldNames",
|
2291
2291
|
"kind": "expression"
|
2292
2292
|
}
|
2293
2293
|
}
|
@@ -4835,7 +4835,7 @@
|
|
4835
4835
|
"description": "Emitted when end validation",
|
4836
4836
|
"arguments": [
|
4837
4837
|
{
|
4838
|
-
"name": "{ status: string }"
|
4838
|
+
"name": "{ status: string, message: string }"
|
4839
4839
|
}
|
4840
4840
|
]
|
4841
4841
|
}
|
@@ -5134,7 +5134,7 @@
|
|
5134
5134
|
{
|
5135
5135
|
"name": "label-align",
|
5136
5136
|
"default": "`left`",
|
5137
|
-
"description": "Label align, can be set to `center` `right`",
|
5137
|
+
"description": "Label align, can be set to `center` `right` `top`",
|
5138
5138
|
"options": [],
|
5139
5139
|
"value": {
|
5140
5140
|
"type": "FieldTextAlign",
|
@@ -5267,7 +5267,7 @@
|
|
5267
5267
|
{
|
5268
5268
|
"name": "label-align",
|
5269
5269
|
"default": "`left`",
|
5270
|
-
"description": "Field label align, can be set to `center` `right`",
|
5270
|
+
"description": "Field label align, can be set to `center` `right` `top`",
|
5271
5271
|
"options": [],
|
5272
5272
|
"value": {
|
5273
5273
|
"type": "string",
|
@@ -6401,6 +6401,10 @@
|
|
6401
6401
|
{
|
6402
6402
|
"name": "default",
|
6403
6403
|
"description": "Loading text"
|
6404
|
+
},
|
6405
|
+
{
|
6406
|
+
"name": "icon",
|
6407
|
+
"description": "Custom loading icon"
|
6404
6408
|
}
|
6405
6409
|
],
|
6406
6410
|
"events": [],
|
@@ -6595,6 +6599,16 @@
|
|
6595
6599
|
"type": "boolean",
|
6596
6600
|
"kind": "expression"
|
6597
6601
|
}
|
6602
|
+
},
|
6603
|
+
{
|
6604
|
+
"name": "clickable",
|
6605
|
+
"default": "`true`",
|
6606
|
+
"description": "Whether to show click feedback when the left or right content is clicked",
|
6607
|
+
"options": [],
|
6608
|
+
"value": {
|
6609
|
+
"type": "boolean",
|
6610
|
+
"kind": "expression"
|
6611
|
+
}
|
6598
6612
|
}
|
6599
6613
|
]
|
6600
6614
|
},
|
@@ -6734,99 +6748,6 @@
|
|
6734
6748
|
}
|
6735
6749
|
]
|
6736
6750
|
},
|
6737
|
-
{
|
6738
|
-
"name": "van-overlay",
|
6739
|
-
"slots": [
|
6740
|
-
{
|
6741
|
-
"name": "default",
|
6742
|
-
"description": "Default slot"
|
6743
|
-
}
|
6744
|
-
],
|
6745
|
-
"events": [
|
6746
|
-
{
|
6747
|
-
"name": "click",
|
6748
|
-
"description": "Emitted when component is clicked",
|
6749
|
-
"arguments": [
|
6750
|
-
{
|
6751
|
-
"name": "event",
|
6752
|
-
"type": "MouseEvent"
|
6753
|
-
}
|
6754
|
-
]
|
6755
|
-
}
|
6756
|
-
],
|
6757
|
-
"attributes": [
|
6758
|
-
{
|
6759
|
-
"name": "show",
|
6760
|
-
"default": "`false`",
|
6761
|
-
"description": "Whether to show overlay",
|
6762
|
-
"options": [],
|
6763
|
-
"value": {
|
6764
|
-
"type": "boolean",
|
6765
|
-
"kind": "expression"
|
6766
|
-
}
|
6767
|
-
},
|
6768
|
-
{
|
6769
|
-
"name": "z-index",
|
6770
|
-
"default": "`1`",
|
6771
|
-
"description": "z-index",
|
6772
|
-
"options": [],
|
6773
|
-
"value": {
|
6774
|
-
"type": "number | string",
|
6775
|
-
"kind": "expression"
|
6776
|
-
}
|
6777
|
-
},
|
6778
|
-
{
|
6779
|
-
"name": "duration",
|
6780
|
-
"default": "`0.3`",
|
6781
|
-
"description": "Animation duration",
|
6782
|
-
"options": [],
|
6783
|
-
"value": {
|
6784
|
-
"type": "number | string",
|
6785
|
-
"kind": "expression"
|
6786
|
-
}
|
6787
|
-
},
|
6788
|
-
{
|
6789
|
-
"name": "class-name",
|
6790
|
-
"default": "-",
|
6791
|
-
"description": "ClassName",
|
6792
|
-
"options": [],
|
6793
|
-
"value": {
|
6794
|
-
"type": "string",
|
6795
|
-
"kind": "expression"
|
6796
|
-
}
|
6797
|
-
},
|
6798
|
-
{
|
6799
|
-
"name": "custom-class",
|
6800
|
-
"default": "-",
|
6801
|
-
"description": "Custom style",
|
6802
|
-
"options": [],
|
6803
|
-
"value": {
|
6804
|
-
"type": "object",
|
6805
|
-
"kind": "expression"
|
6806
|
-
}
|
6807
|
-
},
|
6808
|
-
{
|
6809
|
-
"name": "lock-scroll",
|
6810
|
-
"default": "`true`",
|
6811
|
-
"description": "Whether to lock background scroll",
|
6812
|
-
"options": [],
|
6813
|
-
"value": {
|
6814
|
-
"type": "boolean",
|
6815
|
-
"kind": "expression"
|
6816
|
-
}
|
6817
|
-
},
|
6818
|
-
{
|
6819
|
-
"name": "lazy-render",
|
6820
|
-
"default": "`true`",
|
6821
|
-
"description": "Whether to lazy render util appeared",
|
6822
|
-
"options": [],
|
6823
|
-
"value": {
|
6824
|
-
"type": "boolean",
|
6825
|
-
"kind": "expression"
|
6826
|
-
}
|
6827
|
-
}
|
6828
|
-
]
|
6829
|
-
},
|
6830
6751
|
{
|
6831
6752
|
"name": "van-number-keyboard",
|
6832
6753
|
"slots": [
|
@@ -7053,6 +6974,99 @@
|
|
7053
6974
|
}
|
7054
6975
|
]
|
7055
6976
|
},
|
6977
|
+
{
|
6978
|
+
"name": "van-overlay",
|
6979
|
+
"slots": [
|
6980
|
+
{
|
6981
|
+
"name": "default",
|
6982
|
+
"description": "Default slot"
|
6983
|
+
}
|
6984
|
+
],
|
6985
|
+
"events": [
|
6986
|
+
{
|
6987
|
+
"name": "click",
|
6988
|
+
"description": "Emitted when component is clicked",
|
6989
|
+
"arguments": [
|
6990
|
+
{
|
6991
|
+
"name": "event",
|
6992
|
+
"type": "MouseEvent"
|
6993
|
+
}
|
6994
|
+
]
|
6995
|
+
}
|
6996
|
+
],
|
6997
|
+
"attributes": [
|
6998
|
+
{
|
6999
|
+
"name": "show",
|
7000
|
+
"default": "`false`",
|
7001
|
+
"description": "Whether to show overlay",
|
7002
|
+
"options": [],
|
7003
|
+
"value": {
|
7004
|
+
"type": "boolean",
|
7005
|
+
"kind": "expression"
|
7006
|
+
}
|
7007
|
+
},
|
7008
|
+
{
|
7009
|
+
"name": "z-index",
|
7010
|
+
"default": "`1`",
|
7011
|
+
"description": "z-index",
|
7012
|
+
"options": [],
|
7013
|
+
"value": {
|
7014
|
+
"type": "number | string",
|
7015
|
+
"kind": "expression"
|
7016
|
+
}
|
7017
|
+
},
|
7018
|
+
{
|
7019
|
+
"name": "duration",
|
7020
|
+
"default": "`0.3`",
|
7021
|
+
"description": "Animation duration",
|
7022
|
+
"options": [],
|
7023
|
+
"value": {
|
7024
|
+
"type": "number | string",
|
7025
|
+
"kind": "expression"
|
7026
|
+
}
|
7027
|
+
},
|
7028
|
+
{
|
7029
|
+
"name": "class-name",
|
7030
|
+
"default": "-",
|
7031
|
+
"description": "ClassName",
|
7032
|
+
"options": [],
|
7033
|
+
"value": {
|
7034
|
+
"type": "string",
|
7035
|
+
"kind": "expression"
|
7036
|
+
}
|
7037
|
+
},
|
7038
|
+
{
|
7039
|
+
"name": "custom-class",
|
7040
|
+
"default": "-",
|
7041
|
+
"description": "Custom style",
|
7042
|
+
"options": [],
|
7043
|
+
"value": {
|
7044
|
+
"type": "object",
|
7045
|
+
"kind": "expression"
|
7046
|
+
}
|
7047
|
+
},
|
7048
|
+
{
|
7049
|
+
"name": "lock-scroll",
|
7050
|
+
"default": "`true`",
|
7051
|
+
"description": "Whether to lock background scroll",
|
7052
|
+
"options": [],
|
7053
|
+
"value": {
|
7054
|
+
"type": "boolean",
|
7055
|
+
"kind": "expression"
|
7056
|
+
}
|
7057
|
+
},
|
7058
|
+
{
|
7059
|
+
"name": "lazy-render",
|
7060
|
+
"default": "`true`",
|
7061
|
+
"description": "Whether to lazy render util appeared",
|
7062
|
+
"options": [],
|
7063
|
+
"value": {
|
7064
|
+
"type": "boolean",
|
7065
|
+
"kind": "expression"
|
7066
|
+
}
|
7067
|
+
}
|
7068
|
+
]
|
7069
|
+
},
|
7056
7070
|
{
|
7057
7071
|
"name": "van-pagination",
|
7058
7072
|
"slots": [
|
@@ -9757,6 +9771,16 @@
|
|
9757
9771
|
"kind": "expression"
|
9758
9772
|
}
|
9759
9773
|
},
|
9774
|
+
{
|
9775
|
+
"name": "auto-fixed",
|
9776
|
+
"default": "`true`",
|
9777
|
+
"description": "Whether to auto fix value that is out of range, set to `false` and value that is out of range won’t be auto fixed",
|
9778
|
+
"options": [],
|
9779
|
+
"value": {
|
9780
|
+
"type": "boolean",
|
9781
|
+
"kind": "expression"
|
9782
|
+
}
|
9783
|
+
},
|
9760
9784
|
{
|
9761
9785
|
"name": "default-value",
|
9762
9786
|
"default": "`1`",
|