vant 3.4.3 → 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "vant",
5
- "version": "3.4.3",
5
+ "version": "3.4.4",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -508,6 +508,181 @@
508
508
  }
509
509
  ]
510
510
  },
511
+ {
512
+ "name": "van-area",
513
+ "slots": [
514
+ {
515
+ "name": "toolbar",
516
+ "description": "Custom toolbar content"
517
+ },
518
+ {
519
+ "name": "title",
520
+ "description": "Custom title"
521
+ },
522
+ {
523
+ "name": "confirm",
524
+ "description": "Custom confirm button text"
525
+ },
526
+ {
527
+ "name": "cancel",
528
+ "description": "Custom cancel button text"
529
+ },
530
+ {
531
+ "name": "columns-top",
532
+ "description": "Custom content above columns"
533
+ },
534
+ {
535
+ "name": "columns-bottom",
536
+ "description": "Custom content below columns"
537
+ }
538
+ ],
539
+ "events": [
540
+ {
541
+ "name": "confirm",
542
+ "description": "Emitted when the confirm button is clicked"
543
+ },
544
+ {
545
+ "name": "cancel",
546
+ "description": "Emitted when the cancel button is clicked"
547
+ },
548
+ {
549
+ "name": "change",
550
+ "description": "Emitted when current option changed"
551
+ }
552
+ ],
553
+ "attributes": [
554
+ {
555
+ "name": "value",
556
+ "default": "-",
557
+ "description": "the `code` of selected area",
558
+ "options": [],
559
+ "value": {
560
+ "type": "string",
561
+ "kind": "expression"
562
+ }
563
+ },
564
+ {
565
+ "name": "title",
566
+ "default": "-",
567
+ "description": "Toolbar title",
568
+ "options": [],
569
+ "value": {
570
+ "type": "string",
571
+ "kind": "expression"
572
+ }
573
+ },
574
+ {
575
+ "name": "confirm-button-text",
576
+ "default": "`Confirm`",
577
+ "description": "Text of confirm button",
578
+ "options": [],
579
+ "value": {
580
+ "type": "string",
581
+ "kind": "expression"
582
+ }
583
+ },
584
+ {
585
+ "name": "cancel-button-text",
586
+ "default": "`Cancel`",
587
+ "description": "Text of cancel button",
588
+ "options": [],
589
+ "value": {
590
+ "type": "string",
591
+ "kind": "expression"
592
+ }
593
+ },
594
+ {
595
+ "name": "area-list",
596
+ "default": "-",
597
+ "description": "Area list data",
598
+ "options": [],
599
+ "value": {
600
+ "type": "object",
601
+ "kind": "expression"
602
+ }
603
+ },
604
+ {
605
+ "name": "columns-placeholder",
606
+ "default": "`[]`",
607
+ "description": "Placeholder of columns",
608
+ "options": [],
609
+ "value": {
610
+ "type": "string[]",
611
+ "kind": "expression"
612
+ }
613
+ },
614
+ {
615
+ "name": "loading",
616
+ "default": "`false`",
617
+ "description": "Whether to show loading prompt",
618
+ "options": [],
619
+ "value": {
620
+ "type": "boolean",
621
+ "kind": "expression"
622
+ }
623
+ },
624
+ {
625
+ "name": "readonly",
626
+ "default": "`false`",
627
+ "description": "Whether to be readonly",
628
+ "options": [],
629
+ "value": {
630
+ "type": "boolean",
631
+ "kind": "expression"
632
+ }
633
+ },
634
+ {
635
+ "name": "item-height",
636
+ "default": "`44`",
637
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
638
+ "options": [],
639
+ "value": {
640
+ "type": "number | string",
641
+ "kind": "expression"
642
+ }
643
+ },
644
+ {
645
+ "name": "columns-num",
646
+ "default": "`3`",
647
+ "description": "Level of picker",
648
+ "options": [],
649
+ "value": {
650
+ "type": "number | string",
651
+ "kind": "expression"
652
+ }
653
+ },
654
+ {
655
+ "name": "visible-item-count",
656
+ "default": "`6`",
657
+ "description": "Count of visible columns",
658
+ "options": [],
659
+ "value": {
660
+ "type": "number | string",
661
+ "kind": "expression"
662
+ }
663
+ },
664
+ {
665
+ "name": "swipe-duration",
666
+ "default": "`1000`",
667
+ "description": "Duration of the momentum animation,unit `ms`",
668
+ "options": [],
669
+ "value": {
670
+ "type": "number | string",
671
+ "kind": "expression"
672
+ }
673
+ },
674
+ {
675
+ "name": "is-oversea-code",
676
+ "default": "-",
677
+ "description": "The method to validate oversea code",
678
+ "options": [],
679
+ "value": {
680
+ "type": "() => boolean",
681
+ "kind": "expression"
682
+ }
683
+ }
684
+ ]
685
+ },
511
686
  {
512
687
  "name": "van-address-list",
513
688
  "slots": [
@@ -628,102 +803,75 @@
628
803
  ]
629
804
  },
630
805
  {
631
- "name": "van-address-edit",
806
+ "name": "van-badge",
632
807
  "slots": [
633
808
  {
634
809
  "name": "default",
635
- "description": "Custom content below postal"
636
- }
637
- ],
638
- "events": [
639
- {
640
- "name": "save",
641
- "description": "Emitted when the save button is clicked"
642
- },
643
- {
644
- "name": "focus",
645
- "description": "Emitted when field is focused"
646
- },
647
- {
648
- "name": "delete",
649
- "description": "Emitted when confirming delete"
650
- },
651
- {
652
- "name": "select-search",
653
- "description": "Emitted when a search result is selected"
654
- },
655
- {
656
- "name": "click-area",
657
- "description": "Emitted when the area field is clicked"
658
- },
659
- {
660
- "name": "change-area",
661
- "description": "Emitted when area changed"
662
- },
663
- {
664
- "name": "change-detail",
665
- "description": "Emitted when address detail changed"
810
+ "description": "Default slot"
666
811
  },
667
812
  {
668
- "name": "change-default",
669
- "description": "Emitted when switching default address"
813
+ "name": "content",
814
+ "description": "Custom badge content"
670
815
  }
671
816
  ],
817
+ "events": [],
672
818
  "attributes": [
673
819
  {
674
- "name": "area-list",
820
+ "name": "content",
675
821
  "default": "-",
676
- "description": "Area List",
822
+ "description": "Badge content",
677
823
  "options": [],
678
824
  "value": {
679
- "type": "object",
825
+ "type": "number | string",
680
826
  "kind": "expression"
681
827
  }
682
828
  },
683
829
  {
684
- "name": "area-columns-placeholder",
685
- "default": "`[]`",
686
- "description": "placeholder of area columns",
830
+ "name": "color",
831
+ "default": "`#ee0a24`",
832
+ "description": "Background color",
687
833
  "options": [],
688
834
  "value": {
689
- "type": "string[]",
835
+ "type": "string",
690
836
  "kind": "expression"
691
837
  }
692
838
  },
693
839
  {
694
- "name": "area-placeholder",
695
- "default": "`Area`",
696
- "description": "placeholder of area input field",
840
+ "name": "dot",
841
+ "default": "`false`",
842
+ "description": "Whether to show dot",
697
843
  "options": [],
698
844
  "value": {
699
- "type": "string",
845
+ "type": "boolean",
700
846
  "kind": "expression"
701
847
  }
702
848
  },
703
849
  {
704
- "name": "address-info",
705
- "default": "`{}`",
706
- "description": "Address Info",
850
+ "name": "max",
851
+ "default": "-",
852
+ "description": "Max value,show `{max}+` when exceed,only works when content is number",
707
853
  "options": [],
708
854
  "value": {
709
- "type": "AddressEditInfo",
855
+ "type": "number | string",
710
856
  "kind": "expression"
711
857
  }
712
858
  },
713
859
  {
714
- "name": "search-result",
715
- "default": "`[]`",
716
- "description": "Address search result",
717
- "options": [],
860
+ "name": "offset",
861
+ "default": "string]_",
862
+ "description": "Offset of badge dot",
863
+ "options": [
864
+ "-"
865
+ ],
718
866
  "value": {
719
- "type": "AddressEditSearchItem[]",
867
+ "type": "[number | string, number \\",
720
868
  "kind": "expression"
721
869
  }
722
870
  },
723
871
  {
724
- "name": "show-postal",
725
- "default": "`false`",
726
- "description": "Whether to show postal field",
872
+ "name": "show-zero",
873
+ "default": "`true`",
874
+ "description": "Whether to show badge when content is zero",
727
875
  "options": [],
728
876
  "value": {
729
877
  "type": "boolean",
@@ -731,69 +879,98 @@
731
879
  }
732
880
  },
733
881
  {
734
- "name": "show-delete",
735
- "default": "`false`",
736
- "description": "Whether to show delete button",
882
+ "name": "position",
883
+ "default": "`top-right`",
884
+ "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
737
885
  "options": [],
738
886
  "value": {
739
- "type": "boolean",
887
+ "type": "string",
740
888
  "kind": "expression"
741
889
  }
890
+ }
891
+ ]
892
+ },
893
+ {
894
+ "name": "van-button",
895
+ "slots": [
896
+ {
897
+ "name": "default",
898
+ "description": "Default slot"
742
899
  },
743
900
  {
744
- "name": "show-set-default",
745
- "default": "`false`",
746
- "description": "Whether to show default address switch",
901
+ "name": "icon",
902
+ "description": "Custom icon"
903
+ },
904
+ {
905
+ "name": "loading",
906
+ "description": "Custom loading icon"
907
+ }
908
+ ],
909
+ "events": [
910
+ {
911
+ "name": "click",
912
+ "description": "Emitted when button is clicked and not disabled or loading"
913
+ },
914
+ {
915
+ "name": "touchstart",
916
+ "description": "Emitted when button is touched"
917
+ }
918
+ ],
919
+ "attributes": [
920
+ {
921
+ "name": "type",
922
+ "default": "`default`",
923
+ "description": "Can be set to `primary` `success` `warning` `danger`",
747
924
  "options": [],
748
925
  "value": {
749
- "type": "boolean",
926
+ "type": "string",
750
927
  "kind": "expression"
751
928
  }
752
929
  },
753
930
  {
754
- "name": "show-search-result",
755
- "default": "`false`",
756
- "description": "Whether to show address search result",
931
+ "name": "size",
932
+ "default": "`normal`",
933
+ "description": "Can be set to `large` `small` `mini`",
757
934
  "options": [],
758
935
  "value": {
759
- "type": "boolean",
936
+ "type": "string",
760
937
  "kind": "expression"
761
938
  }
762
939
  },
763
940
  {
764
- "name": "show-area",
765
- "default": "`true`",
766
- "description": "Whether to show area cell",
941
+ "name": "text",
942
+ "default": "-",
943
+ "description": "Text",
767
944
  "options": [],
768
945
  "value": {
769
- "type": "boolean",
946
+ "type": "string",
770
947
  "kind": "expression"
771
948
  }
772
949
  },
773
950
  {
774
- "name": "show-detail",
775
- "default": "`true`",
776
- "description": "Whether to show detail field",
951
+ "name": "color",
952
+ "default": "-",
953
+ "description": "Color, support linear-gradient",
777
954
  "options": [],
778
955
  "value": {
779
- "type": "boolean",
956
+ "type": "string",
780
957
  "kind": "expression"
781
958
  }
782
959
  },
783
960
  {
784
- "name": "disable-area",
785
- "default": "`false`",
786
- "description": "Whether to disable area select",
961
+ "name": "icon",
962
+ "default": "-",
963
+ "description": "Left Icon",
787
964
  "options": [],
788
965
  "value": {
789
- "type": "boolean",
966
+ "type": "string",
790
967
  "kind": "expression"
791
968
  }
792
969
  },
793
970
  {
794
- "name": "save-button-text",
795
- "default": "`Save`",
796
- "description": "Save button text",
971
+ "name": "icon-prefix",
972
+ "default": "`van-icon`",
973
+ "description": "Icon className prefix",
797
974
  "options": [],
798
975
  "value": {
799
976
  "type": "string",
@@ -801,9 +978,9 @@
801
978
  }
802
979
  },
803
980
  {
804
- "name": "delete-button-text",
805
- "default": "`Delete`",
806
- "description": "Delete button text",
981
+ "name": "icon-position",
982
+ "default": "`left`",
983
+ "description": "Icon position, can be set to `right`",
807
984
  "options": [],
808
985
  "value": {
809
986
  "type": "string",
@@ -811,29 +988,29 @@
811
988
  }
812
989
  },
813
990
  {
814
- "name": "detail-rows",
815
- "default": "`1`",
816
- "description": "Detail input rows",
991
+ "name": "tag",
992
+ "default": "`button`",
993
+ "description": "HTML Tag",
817
994
  "options": [],
818
995
  "value": {
819
- "type": "number | string",
996
+ "type": "string",
820
997
  "kind": "expression"
821
998
  }
822
999
  },
823
1000
  {
824
- "name": "detail-maxlength",
825
- "default": "`200`",
826
- "description": "Detail maxlength",
1001
+ "name": "native-type",
1002
+ "default": "`button`",
1003
+ "description": "Native Type Attribute",
827
1004
  "options": [],
828
1005
  "value": {
829
- "type": "number | string",
1006
+ "type": "string",
830
1007
  "kind": "expression"
831
1008
  }
832
1009
  },
833
1010
  {
834
- "name": "is-saving",
1011
+ "name": "plain",
835
1012
  "default": "`false`",
836
- "description": "Whether to show save button loading status",
1013
+ "description": "Whether to be plain button",
837
1014
  "options": [],
838
1015
  "value": {
839
1016
  "type": "boolean",
@@ -841,9 +1018,9 @@
841
1018
  }
842
1019
  },
843
1020
  {
844
- "name": "is-deleting",
1021
+ "name": "block",
845
1022
  "default": "`false`",
846
- "description": "Whether to show delete button loading status",
1023
+ "description": "Whether to set display block",
847
1024
  "options": [],
848
1025
  "value": {
849
1026
  "type": "boolean",
@@ -851,75 +1028,59 @@
851
1028
  }
852
1029
  },
853
1030
  {
854
- "name": "tel-validator",
855
- "default": "-",
856
- "description": "The method to validate tel",
1031
+ "name": "round",
1032
+ "default": "`false`",
1033
+ "description": "Whether to be round button",
857
1034
  "options": [],
858
1035
  "value": {
859
- "type": "(tel: string) => boolean",
1036
+ "type": "boolean",
860
1037
  "kind": "expression"
861
1038
  }
862
1039
  },
863
1040
  {
864
- "name": "tel-maxlength",
865
- "default": "-",
866
- "description": "Tel maxlength",
1041
+ "name": "square",
1042
+ "default": "`false`",
1043
+ "description": "Whether to be square button",
867
1044
  "options": [],
868
1045
  "value": {
869
- "type": "number | string",
1046
+ "type": "boolean",
870
1047
  "kind": "expression"
871
1048
  }
872
1049
  },
873
1050
  {
874
- "name": "postal-validator",
875
- "default": "-",
876
- "description": "The method to validate postal",
1051
+ "name": "disabled",
1052
+ "default": "`false`",
1053
+ "description": "Whether to disable button",
877
1054
  "options": [],
878
1055
  "value": {
879
- "type": "(tel: string) => boolean",
1056
+ "type": "boolean",
880
1057
  "kind": "expression"
881
1058
  }
882
1059
  },
883
1060
  {
884
- "name": "validator",
885
- "default": "-",
886
- "description": "Custom validator",
1061
+ "name": "loading",
1062
+ "default": "`false`",
1063
+ "description": "Whether to show loading status",
887
1064
  "options": [],
888
1065
  "value": {
889
- "type": "(key, val) => string",
1066
+ "type": "boolean",
890
1067
  "kind": "expression"
891
1068
  }
892
- }
893
- ]
894
- },
895
- {
896
- "name": "van-badge",
897
- "slots": [
898
- {
899
- "name": "default",
900
- "description": "Default slot"
901
1069
  },
902
1070
  {
903
- "name": "content",
904
- "description": "Custom badge content"
905
- }
906
- ],
907
- "events": [],
908
- "attributes": [
909
- {
910
- "name": "content",
1071
+ "name": "loading-text",
911
1072
  "default": "-",
912
- "description": "Badge content",
1073
+ "description": "Loading text",
913
1074
  "options": [],
914
1075
  "value": {
915
- "type": "number | string",
1076
+ "type": "string",
916
1077
  "kind": "expression"
917
1078
  }
918
1079
  },
919
1080
  {
920
- "name": "color",
921
- "default": "`#ee0a24`",
922
- "description": "Background color",
1081
+ "name": "loading-type",
1082
+ "default": "`circular`",
1083
+ "description": "Loading type, can be set to `spinner`",
923
1084
  "options": [],
924
1085
  "value": {
925
1086
  "type": "string",
@@ -927,106 +1088,122 @@
927
1088
  }
928
1089
  },
929
1090
  {
930
- "name": "dot",
931
- "default": "`false`",
932
- "description": "Whether to show dot",
1091
+ "name": "loading-size",
1092
+ "default": "`20px`",
1093
+ "description": "Loading icon size",
933
1094
  "options": [],
934
1095
  "value": {
935
- "type": "boolean",
1096
+ "type": "number | string",
936
1097
  "kind": "expression"
937
1098
  }
938
1099
  },
939
1100
  {
940
- "name": "max",
1101
+ "name": "url",
941
1102
  "default": "-",
942
- "description": "Max value,show `{max}+` when exceed,only works when content is number",
1103
+ "description": "Link URL",
943
1104
  "options": [],
944
1105
  "value": {
945
- "type": "number | string",
946
- "kind": "expression"
947
- }
948
- },
949
- {
950
- "name": "offset",
951
- "default": "string]_",
952
- "description": "Offset of badge dot",
953
- "options": [
954
- "-"
955
- ],
956
- "value": {
957
- "type": "[number | string, number \\",
1106
+ "type": "string",
958
1107
  "kind": "expression"
959
1108
  }
960
1109
  },
961
1110
  {
962
- "name": "show-zero",
963
- "default": "`true`",
964
- "description": "Whether to show badge when content is zero",
1111
+ "name": "to",
1112
+ "default": "-",
1113
+ "description": "Target route of the link, same as using vue-router",
965
1114
  "options": [],
966
1115
  "value": {
967
- "type": "boolean",
1116
+ "type": "string | object",
968
1117
  "kind": "expression"
969
1118
  }
970
1119
  },
971
1120
  {
972
- "name": "position",
973
- "default": "`top-right`",
974
- "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
1121
+ "name": "replace",
1122
+ "default": "`false`",
1123
+ "description": "If true, the navigation will not leave a history record",
975
1124
  "options": [],
976
1125
  "value": {
977
- "type": "string",
1126
+ "type": "boolean",
978
1127
  "kind": "expression"
979
1128
  }
980
1129
  }
981
1130
  ]
982
1131
  },
983
1132
  {
984
- "name": "van-area",
1133
+ "name": "van-calendar",
985
1134
  "slots": [
986
- {
987
- "name": "toolbar",
988
- "description": "Custom toolbar content"
989
- },
990
1135
  {
991
1136
  "name": "title",
992
1137
  "description": "Custom title"
993
1138
  },
994
1139
  {
995
- "name": "confirm",
996
- "description": "Custom confirm button text"
1140
+ "name": "subtitle",
1141
+ "description": "Custom subtitle"
997
1142
  },
998
1143
  {
999
- "name": "cancel",
1000
- "description": "Custom cancel button text"
1144
+ "name": "footer",
1145
+ "description": "Custom footer"
1001
1146
  },
1002
1147
  {
1003
- "name": "columns-top",
1004
- "description": "Custom content above columns"
1148
+ "name": "confirm-text",
1149
+ "description": "Custom confirm text"
1005
1150
  },
1006
1151
  {
1007
- "name": "columns-bottom",
1008
- "description": "Custom content below columns"
1152
+ "name": "top-info",
1153
+ "description": "Custom top info of day"
1154
+ },
1155
+ {
1156
+ "name": "bottom-info",
1157
+ "description": "Custom bottom info of day"
1009
1158
  }
1010
1159
  ],
1011
1160
  "events": [
1012
1161
  {
1013
- "name": "confirm",
1014
- "description": "Emitted when the confirm button is clicked"
1162
+ "name": "select",
1163
+ "description": "Emitted when date is selected"
1015
1164
  },
1016
1165
  {
1017
- "name": "cancel",
1018
- "description": "Emitted when the cancel button is clicked"
1166
+ "name": "confirm",
1167
+ "description": "Emitted after date selection is complete,if `show-confirm` is `true`, it is Emitted after clicking the confirm button"
1019
1168
  },
1020
1169
  {
1021
- "name": "change",
1022
- "description": "Emitted when current option changed"
1170
+ "name": "open",
1171
+ "description": "Emitted when opening Popup"
1172
+ },
1173
+ {
1174
+ "name": "close",
1175
+ "description": "Emitted when closing Popup"
1176
+ },
1177
+ {
1178
+ "name": "opened",
1179
+ "description": "Emitted when Popup is opened"
1180
+ },
1181
+ {
1182
+ "name": "closed",
1183
+ "description": "Emitted when Popup is closed"
1184
+ },
1185
+ {
1186
+ "name": "unselect",
1187
+ "description": "Emitted when unselect date when type is multiple"
1188
+ },
1189
+ {
1190
+ "name": "month-show",
1191
+ "description": "Emitted when a month enters the visible area"
1192
+ },
1193
+ {
1194
+ "name": "over-range",
1195
+ "description": "Emitted when exceeded max range"
1196
+ },
1197
+ {
1198
+ "name": "click-subtitle",
1199
+ "description": "Emitted when clicking the subtitle"
1023
1200
  }
1024
1201
  ],
1025
1202
  "attributes": [
1026
1203
  {
1027
- "name": "value",
1028
- "default": "-",
1029
- "description": "the `code` of selected area",
1204
+ "name": "type",
1205
+ "default": "`single`",
1206
+ "description": "Type,can be set to `range` `multiple`",
1030
1207
  "options": [],
1031
1208
  "value": {
1032
1209
  "type": "string",
@@ -1035,8 +1212,8 @@
1035
1212
  },
1036
1213
  {
1037
1214
  "name": "title",
1038
- "default": "-",
1039
- "description": "Toolbar title",
1215
+ "default": "`Calendar`",
1216
+ "description": "Title of calendar",
1040
1217
  "options": [],
1041
1218
  "value": {
1042
1219
  "type": "string",
@@ -1044,9 +1221,9 @@
1044
1221
  }
1045
1222
  },
1046
1223
  {
1047
- "name": "confirm-button-text",
1048
- "default": "`Confirm`",
1049
- "description": "Text of confirm button",
1224
+ "name": "color",
1225
+ "default": "`#ee0a24`",
1226
+ "description": "Color for the bottom button and selected date",
1050
1227
  "options": [],
1051
1228
  "value": {
1052
1229
  "type": "string",
@@ -1054,158 +1231,131 @@
1054
1231
  }
1055
1232
  },
1056
1233
  {
1057
- "name": "cancel-button-text",
1058
- "default": "`Cancel`",
1059
- "description": "Text of cancel button",
1234
+ "name": "min-date",
1235
+ "default": "Today",
1236
+ "description": "Min date",
1060
1237
  "options": [],
1061
1238
  "value": {
1062
- "type": "string",
1239
+ "type": "Date",
1063
1240
  "kind": "expression"
1064
1241
  }
1065
1242
  },
1066
1243
  {
1067
- "name": "area-list",
1068
- "default": "-",
1069
- "description": "Area list data",
1244
+ "name": "max-date",
1245
+ "default": "Six months after the today",
1246
+ "description": "Max date",
1070
1247
  "options": [],
1071
1248
  "value": {
1072
- "type": "object",
1249
+ "type": "Date",
1073
1250
  "kind": "expression"
1074
1251
  }
1075
1252
  },
1076
1253
  {
1077
- "name": "columns-placeholder",
1078
- "default": "`[]`",
1079
- "description": "Placeholder of columns",
1080
- "options": [],
1254
+ "name": "default-date",
1255
+ "default": "null_",
1256
+ "description": "Default selected date",
1257
+ "options": [
1258
+ "Today"
1259
+ ],
1081
1260
  "value": {
1082
- "type": "string[]",
1261
+ "type": "Date | Date[] \\",
1083
1262
  "kind": "expression"
1084
1263
  }
1085
1264
  },
1086
1265
  {
1087
- "name": "loading",
1088
- "default": "`false`",
1089
- "description": "Whether to show loading prompt",
1266
+ "name": "row-height",
1267
+ "default": "`64`",
1268
+ "description": "Row height",
1090
1269
  "options": [],
1091
1270
  "value": {
1092
- "type": "boolean",
1271
+ "type": "number | string",
1093
1272
  "kind": "expression"
1094
1273
  }
1095
1274
  },
1096
1275
  {
1097
- "name": "readonly",
1098
- "default": "`false`",
1099
- "description": "Whether to be readonly",
1276
+ "name": "formatter",
1277
+ "default": "-",
1278
+ "description": "Day formatter",
1100
1279
  "options": [],
1101
1280
  "value": {
1102
- "type": "boolean",
1281
+ "type": "(day: Day) => Day",
1103
1282
  "kind": "expression"
1104
1283
  }
1105
1284
  },
1106
1285
  {
1107
- "name": "item-height",
1108
- "default": "`44`",
1109
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
1286
+ "name": "poppable",
1287
+ "default": "`true`",
1288
+ "description": "Whether to show the calendar inside a popup",
1110
1289
  "options": [],
1111
1290
  "value": {
1112
- "type": "number | string",
1291
+ "type": "boolean",
1113
1292
  "kind": "expression"
1114
1293
  }
1115
1294
  },
1116
1295
  {
1117
- "name": "columns-num",
1118
- "default": "`3`",
1119
- "description": "Level of picker",
1296
+ "name": "lazy-render",
1297
+ "default": "`true`",
1298
+ "description": "Whether to enable lazy render",
1120
1299
  "options": [],
1121
1300
  "value": {
1122
- "type": "number | string",
1301
+ "type": "boolean",
1123
1302
  "kind": "expression"
1124
1303
  }
1125
1304
  },
1126
1305
  {
1127
- "name": "visible-item-count",
1128
- "default": "`6`",
1129
- "description": "Count of visible columns",
1306
+ "name": "show-mark",
1307
+ "default": "`true`",
1308
+ "description": "Whether to show background month mark",
1130
1309
  "options": [],
1131
1310
  "value": {
1132
- "type": "number | string",
1311
+ "type": "boolean",
1133
1312
  "kind": "expression"
1134
1313
  }
1135
1314
  },
1136
1315
  {
1137
- "name": "swipe-duration",
1138
- "default": "`1000`",
1139
- "description": "Duration of the momentum animation,unit `ms`",
1316
+ "name": "show-title",
1317
+ "default": "`true`",
1318
+ "description": "Whether to show title",
1140
1319
  "options": [],
1141
1320
  "value": {
1142
- "type": "number | string",
1321
+ "type": "boolean",
1143
1322
  "kind": "expression"
1144
1323
  }
1145
1324
  },
1146
1325
  {
1147
- "name": "is-oversea-code",
1148
- "default": "-",
1149
- "description": "The method to validate oversea code",
1326
+ "name": "show-subtitle",
1327
+ "default": "`true`",
1328
+ "description": "Whether to show subtitle",
1150
1329
  "options": [],
1151
1330
  "value": {
1152
- "type": "() => boolean",
1331
+ "type": "boolean",
1153
1332
  "kind": "expression"
1154
1333
  }
1155
- }
1156
- ]
1157
- },
1158
- {
1159
- "name": "van-button",
1160
- "slots": [
1161
- {
1162
- "name": "default",
1163
- "description": "Default slot"
1164
- },
1165
- {
1166
- "name": "icon",
1167
- "description": "Custom icon"
1168
1334
  },
1169
1335
  {
1170
- "name": "loading",
1171
- "description": "Custom loading icon"
1172
- }
1173
- ],
1174
- "events": [
1175
- {
1176
- "name": "click",
1177
- "description": "Emitted when button is clicked and not disabled or loading"
1178
- },
1179
- {
1180
- "name": "touchstart",
1181
- "description": "Emitted when button is touched"
1182
- }
1183
- ],
1184
- "attributes": [
1185
- {
1186
- "name": "type",
1187
- "default": "`default`",
1188
- "description": "Can be set to `primary` `success` `warning` `danger`",
1336
+ "name": "show-confirm",
1337
+ "default": "`true`",
1338
+ "description": "Whether to show confirm button",
1189
1339
  "options": [],
1190
1340
  "value": {
1191
- "type": "string",
1341
+ "type": "boolean",
1192
1342
  "kind": "expression"
1193
1343
  }
1194
1344
  },
1195
1345
  {
1196
- "name": "size",
1197
- "default": "`normal`",
1198
- "description": "Can be set to `large` `small` `mini`",
1346
+ "name": "readonly",
1347
+ "default": "`false`",
1348
+ "description": "Whether to be readonly",
1199
1349
  "options": [],
1200
1350
  "value": {
1201
- "type": "string",
1351
+ "type": "boolean",
1202
1352
  "kind": "expression"
1203
1353
  }
1204
1354
  },
1205
1355
  {
1206
- "name": "text",
1207
- "default": "-",
1208
- "description": "Text",
1356
+ "name": "confirm-text",
1357
+ "default": "`Confirm`",
1358
+ "description": "Confirm button text",
1209
1359
  "options": [],
1210
1360
  "value": {
1211
1361
  "type": "string",
@@ -1213,9 +1363,9 @@
1213
1363
  }
1214
1364
  },
1215
1365
  {
1216
- "name": "color",
1217
- "default": "-",
1218
- "description": "Color, support linear-gradient",
1366
+ "name": "confirm-disabled-text",
1367
+ "default": "`Confirm`",
1368
+ "description": "Confirm button text when disabled",
1219
1369
  "options": [],
1220
1370
  "value": {
1221
1371
  "type": "string",
@@ -1223,29 +1373,29 @@
1223
1373
  }
1224
1374
  },
1225
1375
  {
1226
- "name": "icon",
1227
- "default": "-",
1228
- "description": "Left Icon",
1376
+ "name": "first-day-of-week",
1377
+ "default": "`0`",
1378
+ "description": "Set the start day of week",
1229
1379
  "options": [],
1230
1380
  "value": {
1231
- "type": "string",
1381
+ "type": "0-6",
1232
1382
  "kind": "expression"
1233
1383
  }
1234
1384
  },
1235
1385
  {
1236
- "name": "icon-prefix",
1237
- "default": "`van-icon`",
1238
- "description": "Icon className prefix",
1386
+ "name": "v-model:show",
1387
+ "default": "`false`",
1388
+ "description": "Whether to show calendar",
1239
1389
  "options": [],
1240
1390
  "value": {
1241
- "type": "string",
1391
+ "type": "boolean",
1242
1392
  "kind": "expression"
1243
1393
  }
1244
1394
  },
1245
1395
  {
1246
- "name": "icon-position",
1247
- "default": "`left`",
1248
- "description": "Icon position, can be set to `right`",
1396
+ "name": "position",
1397
+ "default": "`bottom`",
1398
+ "description": "Popup position, can be set to `top` `right` `left`",
1249
1399
  "options": [],
1250
1400
  "value": {
1251
1401
  "type": "string",
@@ -1253,29 +1403,29 @@
1253
1403
  }
1254
1404
  },
1255
1405
  {
1256
- "name": "tag",
1257
- "default": "`button`",
1258
- "description": "HTML Tag",
1406
+ "name": "round",
1407
+ "default": "`true`",
1408
+ "description": "Whether to show round corner",
1259
1409
  "options": [],
1260
1410
  "value": {
1261
- "type": "string",
1411
+ "type": "boolean",
1262
1412
  "kind": "expression"
1263
1413
  }
1264
1414
  },
1265
1415
  {
1266
- "name": "native-type",
1267
- "default": "`button`",
1268
- "description": "Native Type Attribute",
1416
+ "name": "close-on-popstate",
1417
+ "default": "`true`",
1418
+ "description": "Whether to close when popstate",
1269
1419
  "options": [],
1270
1420
  "value": {
1271
- "type": "string",
1421
+ "type": "boolean",
1272
1422
  "kind": "expression"
1273
1423
  }
1274
1424
  },
1275
1425
  {
1276
- "name": "plain",
1277
- "default": "`false`",
1278
- "description": "Whether to be plain button",
1426
+ "name": "close-on-click-overlay",
1427
+ "default": "`true`",
1428
+ "description": "Whether to close when overlay is clicked",
1279
1429
  "options": [],
1280
1430
  "value": {
1281
1431
  "type": "boolean",
@@ -1283,9 +1433,9 @@
1283
1433
  }
1284
1434
  },
1285
1435
  {
1286
- "name": "block",
1287
- "default": "`false`",
1288
- "description": "Whether to set display block",
1436
+ "name": "safe-area-inset-bottom",
1437
+ "default": "`true`",
1438
+ "description": "Whether to enable bottom safe area adaptation",
1289
1439
  "options": [],
1290
1440
  "value": {
1291
1441
  "type": "boolean",
@@ -1293,39 +1443,39 @@
1293
1443
  }
1294
1444
  },
1295
1445
  {
1296
- "name": "round",
1297
- "default": "`false`",
1298
- "description": "Whether to be round button",
1446
+ "name": "teleport",
1447
+ "default": "-",
1448
+ "description": "Specifies a target element where Calendar will be mounted",
1299
1449
  "options": [],
1300
1450
  "value": {
1301
- "type": "boolean",
1451
+ "type": "string | Element",
1302
1452
  "kind": "expression"
1303
1453
  }
1304
1454
  },
1305
1455
  {
1306
- "name": "square",
1307
- "default": "`false`",
1308
- "description": "Whether to be square button",
1456
+ "name": "max-range",
1457
+ "default": "Unlimited",
1458
+ "description": "Number of selectable days",
1309
1459
  "options": [],
1310
1460
  "value": {
1311
- "type": "boolean",
1461
+ "type": "number | string",
1312
1462
  "kind": "expression"
1313
1463
  }
1314
1464
  },
1315
1465
  {
1316
- "name": "disabled",
1317
- "default": "`false`",
1318
- "description": "Whether to disable button",
1466
+ "name": "range-prompt",
1467
+ "default": "`Choose no more than xx days`",
1468
+ "description": "Error message when exceeded max range",
1319
1469
  "options": [],
1320
1470
  "value": {
1321
- "type": "boolean",
1471
+ "type": "string",
1322
1472
  "kind": "expression"
1323
1473
  }
1324
1474
  },
1325
1475
  {
1326
- "name": "loading",
1327
- "default": "`false`",
1328
- "description": "Whether to show loading status",
1476
+ "name": "show-range-prompt",
1477
+ "default": "`true`",
1478
+ "description": "Whether prompt error message when exceeded max range",
1329
1479
  "options": [],
1330
1480
  "value": {
1331
1481
  "type": "boolean",
@@ -1333,29 +1483,19 @@
1333
1483
  }
1334
1484
  },
1335
1485
  {
1336
- "name": "loading-text",
1337
- "default": "-",
1338
- "description": "Loading text",
1339
- "options": [],
1340
- "value": {
1341
- "type": "string",
1342
- "kind": "expression"
1343
- }
1344
- },
1345
- {
1346
- "name": "loading-type",
1347
- "default": "`circular`",
1348
- "description": "Loading type, can be set to `spinner`",
1486
+ "name": "allow-same-day",
1487
+ "default": "`false`",
1488
+ "description": "Whether the start and end time of the range is allowed on the same day",
1349
1489
  "options": [],
1350
1490
  "value": {
1351
- "type": "string",
1491
+ "type": "boolean",
1352
1492
  "kind": "expression"
1353
1493
  }
1354
1494
  },
1355
1495
  {
1356
- "name": "loading-size",
1357
- "default": "`20px`",
1358
- "description": "Loading icon size",
1496
+ "name": "max-range",
1497
+ "default": "Unlimited",
1498
+ "description": "Max count of selectable days",
1359
1499
  "options": [],
1360
1500
  "value": {
1361
1501
  "type": "number | string",
@@ -1363,112 +1503,80 @@
1363
1503
  }
1364
1504
  },
1365
1505
  {
1366
- "name": "url",
1367
- "default": "-",
1368
- "description": "Link URL",
1506
+ "name": "range-prompt",
1507
+ "default": "`Choose no more than xx days`",
1508
+ "description": "Error message when exceeded max count",
1369
1509
  "options": [],
1370
1510
  "value": {
1371
1511
  "type": "string",
1372
1512
  "kind": "expression"
1373
1513
  }
1374
- },
1375
- {
1376
- "name": "to",
1377
- "default": "-",
1378
- "description": "Target route of the link, same as using vue-router",
1379
- "options": [],
1380
- "value": {
1381
- "type": "string | object",
1382
- "kind": "expression"
1383
- }
1384
- },
1385
- {
1386
- "name": "replace",
1387
- "default": "`false`",
1388
- "description": "If true, the navigation will not leave a history record",
1389
- "options": [],
1390
- "value": {
1391
- "type": "boolean",
1392
- "kind": "expression"
1393
- }
1394
1514
  }
1395
1515
  ]
1396
1516
  },
1397
1517
  {
1398
- "name": "van-calendar",
1518
+ "name": "van-card",
1399
1519
  "slots": [
1400
1520
  {
1401
1521
  "name": "title",
1402
1522
  "description": "Custom title"
1403
1523
  },
1404
1524
  {
1405
- "name": "subtitle",
1406
- "description": "Custom subtitle"
1407
- },
1408
- {
1409
- "name": "footer",
1410
- "description": "Custom footer"
1411
- },
1412
- {
1413
- "name": "confirm-text",
1414
- "description": "Custom confirm text"
1525
+ "name": "desc",
1526
+ "description": "Custom description"
1415
1527
  },
1416
1528
  {
1417
- "name": "top-info",
1418
- "description": "Custom top info of day"
1529
+ "name": "num",
1530
+ "description": "Custom num"
1419
1531
  },
1420
1532
  {
1421
- "name": "bottom-info",
1422
- "description": "Custom bottom info of day"
1423
- }
1424
- ],
1425
- "events": [
1426
- {
1427
- "name": "select",
1428
- "description": "Emitted when date is selected"
1533
+ "name": "price",
1534
+ "description": "Custom price"
1429
1535
  },
1430
1536
  {
1431
- "name": "confirm",
1432
- "description": "Emitted after date selection is complete,if `show-confirm` is `true`, it is Emitted after clicking the confirm button"
1537
+ "name": "origin-price",
1538
+ "description": "Custom origin price"
1433
1539
  },
1434
1540
  {
1435
- "name": "open",
1436
- "description": "Emitted when opening Popup"
1541
+ "name": "price-top",
1542
+ "description": "Custom price top"
1437
1543
  },
1438
1544
  {
1439
- "name": "close",
1440
- "description": "Emitted when closing Popup"
1545
+ "name": "bottom",
1546
+ "description": "Custom price bottom"
1441
1547
  },
1442
1548
  {
1443
- "name": "opened",
1444
- "description": "Emitted when Popup is opened"
1549
+ "name": "thumb",
1550
+ "description": "Custom thumb"
1445
1551
  },
1446
1552
  {
1447
- "name": "closed",
1448
- "description": "Emitted when Popup is closed"
1553
+ "name": "tag",
1554
+ "description": "Custom thumb tag"
1449
1555
  },
1450
1556
  {
1451
- "name": "unselect",
1452
- "description": "Emitted when unselect date when type is multiple"
1557
+ "name": "tags",
1558
+ "description": "Custom tags"
1453
1559
  },
1454
1560
  {
1455
- "name": "month-show",
1456
- "description": "Emitted when a month enters the visible area"
1457
- },
1561
+ "name": "footer",
1562
+ "description": "Custom footer"
1563
+ }
1564
+ ],
1565
+ "events": [
1458
1566
  {
1459
- "name": "over-range",
1460
- "description": "Emitted when exceeded max range"
1567
+ "name": "click",
1568
+ "description": "Emitted when component is clicked"
1461
1569
  },
1462
1570
  {
1463
- "name": "click-subtitle",
1464
- "description": "Emitted when clicking the subtitle"
1571
+ "name": "click-thumb",
1572
+ "description": "Emitted when thumb is clicked"
1465
1573
  }
1466
1574
  ],
1467
1575
  "attributes": [
1468
1576
  {
1469
- "name": "type",
1470
- "default": "`single`",
1471
- "description": "Type,can be set to `range` `multiple`",
1577
+ "name": "thumb",
1578
+ "default": "-",
1579
+ "description": "Left thumb image URL",
1472
1580
  "options": [],
1473
1581
  "value": {
1474
1582
  "type": "string",
@@ -1477,8 +1585,8 @@
1477
1585
  },
1478
1586
  {
1479
1587
  "name": "title",
1480
- "default": "`Calendar`",
1481
- "description": "Title of calendar",
1588
+ "default": "-",
1589
+ "description": "Title",
1482
1590
  "options": [],
1483
1591
  "value": {
1484
1592
  "type": "string",
@@ -1486,9 +1594,9 @@
1486
1594
  }
1487
1595
  },
1488
1596
  {
1489
- "name": "color",
1490
- "default": "`#ee0a24`",
1491
- "description": "Color for the bottom button and selected date",
1597
+ "name": "desc",
1598
+ "default": "-",
1599
+ "description": "Description",
1492
1600
  "options": [],
1493
1601
  "value": {
1494
1602
  "type": "string",
@@ -1496,41 +1604,29 @@
1496
1604
  }
1497
1605
  },
1498
1606
  {
1499
- "name": "min-date",
1500
- "default": "Today",
1501
- "description": "Min date",
1607
+ "name": "tag",
1608
+ "default": "-",
1609
+ "description": "Tag",
1502
1610
  "options": [],
1503
1611
  "value": {
1504
- "type": "Date",
1612
+ "type": "string",
1505
1613
  "kind": "expression"
1506
1614
  }
1507
1615
  },
1508
1616
  {
1509
- "name": "max-date",
1510
- "default": "Six months after the today",
1511
- "description": "Max date",
1617
+ "name": "num",
1618
+ "default": "-",
1619
+ "description": "number",
1512
1620
  "options": [],
1513
1621
  "value": {
1514
- "type": "Date",
1515
- "kind": "expression"
1516
- }
1517
- },
1518
- {
1519
- "name": "default-date",
1520
- "default": "null_",
1521
- "description": "Default selected date",
1522
- "options": [
1523
- "Today"
1524
- ],
1525
- "value": {
1526
- "type": "Date | Date[] \\",
1622
+ "type": "number | string",
1527
1623
  "kind": "expression"
1528
1624
  }
1529
1625
  },
1530
1626
  {
1531
- "name": "row-height",
1532
- "default": "`64`",
1533
- "description": "Row height",
1627
+ "name": "price",
1628
+ "default": "-",
1629
+ "description": "Price",
1534
1630
  "options": [],
1535
1631
  "value": {
1536
1632
  "type": "number | string",
@@ -1538,19 +1634,19 @@
1538
1634
  }
1539
1635
  },
1540
1636
  {
1541
- "name": "formatter",
1637
+ "name": "origin-price",
1542
1638
  "default": "-",
1543
- "description": "Day formatter",
1639
+ "description": "Origin price",
1544
1640
  "options": [],
1545
1641
  "value": {
1546
- "type": "(day: Day) => Day",
1642
+ "type": "number | string",
1547
1643
  "kind": "expression"
1548
1644
  }
1549
1645
  },
1550
1646
  {
1551
- "name": "poppable",
1552
- "default": "`true`",
1553
- "description": "Whether to show the calendar inside a popup",
1647
+ "name": "centered",
1648
+ "default": "`false`",
1649
+ "description": "Whether content vertical centered",
1554
1650
  "options": [],
1555
1651
  "value": {
1556
1652
  "type": "boolean",
@@ -1558,109 +1654,104 @@
1558
1654
  }
1559
1655
  },
1560
1656
  {
1561
- "name": "lazy-render",
1562
- "default": "`true`",
1563
- "description": "Whether to enable lazy render",
1657
+ "name": "currency",
1658
+ "default": "`¥`",
1659
+ "description": "Currency symbol",
1564
1660
  "options": [],
1565
1661
  "value": {
1566
- "type": "boolean",
1662
+ "type": "string",
1567
1663
  "kind": "expression"
1568
1664
  }
1569
1665
  },
1570
1666
  {
1571
- "name": "show-mark",
1572
- "default": "`true`",
1573
- "description": "Whether to show background month mark",
1667
+ "name": "thumb-link",
1668
+ "default": "-",
1669
+ "description": "Thumb link URL",
1574
1670
  "options": [],
1575
1671
  "value": {
1576
- "type": "boolean",
1672
+ "type": "string",
1577
1673
  "kind": "expression"
1578
1674
  }
1579
1675
  },
1580
1676
  {
1581
- "name": "show-title",
1582
- "default": "`true`",
1583
- "description": "Whether to show title",
1677
+ "name": "lazy-load",
1678
+ "default": "`false`",
1679
+ "description": "Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component",
1584
1680
  "options": [],
1585
1681
  "value": {
1586
1682
  "type": "boolean",
1587
1683
  "kind": "expression"
1588
1684
  }
1685
+ }
1686
+ ]
1687
+ },
1688
+ {
1689
+ "name": "van-address-edit",
1690
+ "slots": [
1691
+ {
1692
+ "name": "default",
1693
+ "description": "Custom content below postal"
1694
+ }
1695
+ ],
1696
+ "events": [
1697
+ {
1698
+ "name": "save",
1699
+ "description": "Emitted when the save button is clicked"
1589
1700
  },
1590
1701
  {
1591
- "name": "show-subtitle",
1592
- "default": "`true`",
1593
- "description": "Whether to show subtitle",
1594
- "options": [],
1595
- "value": {
1596
- "type": "boolean",
1597
- "kind": "expression"
1598
- }
1702
+ "name": "focus",
1703
+ "description": "Emitted when field is focused"
1599
1704
  },
1600
1705
  {
1601
- "name": "show-confirm",
1602
- "default": "`true`",
1603
- "description": "Whether to show confirm button",
1604
- "options": [],
1605
- "value": {
1606
- "type": "boolean",
1607
- "kind": "expression"
1608
- }
1706
+ "name": "delete",
1707
+ "description": "Emitted when confirming delete"
1609
1708
  },
1610
1709
  {
1611
- "name": "readonly",
1612
- "default": "`false`",
1613
- "description": "Whether to be readonly",
1614
- "options": [],
1615
- "value": {
1616
- "type": "boolean",
1617
- "kind": "expression"
1618
- }
1710
+ "name": "select-search",
1711
+ "description": "Emitted when a search result is selected"
1619
1712
  },
1620
1713
  {
1621
- "name": "confirm-text",
1622
- "default": "`Confirm`",
1623
- "description": "Confirm button text",
1624
- "options": [],
1625
- "value": {
1626
- "type": "string",
1627
- "kind": "expression"
1628
- }
1714
+ "name": "click-area",
1715
+ "description": "Emitted when the area field is clicked"
1716
+ },
1717
+ {
1718
+ "name": "change-area",
1719
+ "description": "Emitted when area changed"
1720
+ },
1721
+ {
1722
+ "name": "change-detail",
1723
+ "description": "Emitted when address detail changed"
1629
1724
  },
1630
1725
  {
1631
- "name": "confirm-disabled-text",
1632
- "default": "`Confirm`",
1633
- "description": "Confirm button text when disabled",
1634
- "options": [],
1635
- "value": {
1636
- "type": "string",
1637
- "kind": "expression"
1638
- }
1639
- },
1726
+ "name": "change-default",
1727
+ "description": "Emitted when switching default address"
1728
+ }
1729
+ ],
1730
+ "attributes": [
1640
1731
  {
1641
- "name": "first-day-of-week",
1642
- "default": "`0`",
1643
- "description": "Set the start day of week",
1732
+ "name": "area-list",
1733
+ "default": "-",
1734
+ "description": "Area List",
1644
1735
  "options": [],
1645
1736
  "value": {
1646
- "type": "0-6",
1737
+ "type": "object",
1647
1738
  "kind": "expression"
1648
1739
  }
1649
1740
  },
1650
1741
  {
1651
- "name": "v-model:show",
1652
- "default": "`false`",
1653
- "description": "Whether to show calendar",
1742
+ "name": "area-columns-placeholder",
1743
+ "default": "`[]`",
1744
+ "description": "placeholder of area columns",
1654
1745
  "options": [],
1655
1746
  "value": {
1656
- "type": "boolean",
1747
+ "type": "string[]",
1657
1748
  "kind": "expression"
1658
1749
  }
1659
1750
  },
1660
1751
  {
1661
- "name": "position",
1662
- "default": "`bottom`",
1663
- "description": "Popup position, can be set to `top` `right` `left`",
1752
+ "name": "area-placeholder",
1753
+ "default": "`Area`",
1754
+ "description": "placeholder of area input field",
1664
1755
  "options": [],
1665
1756
  "value": {
1666
1757
  "type": "string",
@@ -1668,29 +1759,29 @@
1668
1759
  }
1669
1760
  },
1670
1761
  {
1671
- "name": "round",
1672
- "default": "`true`",
1673
- "description": "Whether to show round corner",
1762
+ "name": "address-info",
1763
+ "default": "`{}`",
1764
+ "description": "Address Info",
1674
1765
  "options": [],
1675
1766
  "value": {
1676
- "type": "boolean",
1767
+ "type": "AddressEditInfo",
1677
1768
  "kind": "expression"
1678
1769
  }
1679
1770
  },
1680
1771
  {
1681
- "name": "close-on-popstate",
1682
- "default": "`true`",
1683
- "description": "Whether to close when popstate",
1772
+ "name": "search-result",
1773
+ "default": "`[]`",
1774
+ "description": "Address search result",
1684
1775
  "options": [],
1685
1776
  "value": {
1686
- "type": "boolean",
1777
+ "type": "AddressEditSearchItem[]",
1687
1778
  "kind": "expression"
1688
1779
  }
1689
1780
  },
1690
1781
  {
1691
- "name": "close-on-click-overlay",
1692
- "default": "`true`",
1693
- "description": "Whether to close when overlay is clicked",
1782
+ "name": "show-postal",
1783
+ "default": "`false`",
1784
+ "description": "Whether to show postal field",
1694
1785
  "options": [],
1695
1786
  "value": {
1696
1787
  "type": "boolean",
@@ -1698,9 +1789,9 @@
1698
1789
  }
1699
1790
  },
1700
1791
  {
1701
- "name": "safe-area-inset-bottom",
1702
- "default": "`true`",
1703
- "description": "Whether to enable bottom safe area adaptation",
1792
+ "name": "show-delete",
1793
+ "default": "`false`",
1794
+ "description": "Whether to show delete button",
1704
1795
  "options": [],
1705
1796
  "value": {
1706
1797
  "type": "boolean",
@@ -1708,39 +1799,39 @@
1708
1799
  }
1709
1800
  },
1710
1801
  {
1711
- "name": "teleport",
1712
- "default": "-",
1713
- "description": "Specifies a target element where Calendar will be mounted",
1802
+ "name": "show-set-default",
1803
+ "default": "`false`",
1804
+ "description": "Whether to show default address switch",
1714
1805
  "options": [],
1715
1806
  "value": {
1716
- "type": "string | Element",
1807
+ "type": "boolean",
1717
1808
  "kind": "expression"
1718
1809
  }
1719
1810
  },
1720
1811
  {
1721
- "name": "max-range",
1722
- "default": "Unlimited",
1723
- "description": "Number of selectable days",
1812
+ "name": "show-search-result",
1813
+ "default": "`false`",
1814
+ "description": "Whether to show address search result",
1724
1815
  "options": [],
1725
1816
  "value": {
1726
- "type": "number | string",
1817
+ "type": "boolean",
1727
1818
  "kind": "expression"
1728
1819
  }
1729
1820
  },
1730
1821
  {
1731
- "name": "range-prompt",
1732
- "default": "`Choose no more than xx days`",
1733
- "description": "Error message when exceeded max range",
1822
+ "name": "show-area",
1823
+ "default": "`true`",
1824
+ "description": "Whether to show area cell",
1734
1825
  "options": [],
1735
1826
  "value": {
1736
- "type": "string",
1827
+ "type": "boolean",
1737
1828
  "kind": "expression"
1738
1829
  }
1739
1830
  },
1740
1831
  {
1741
- "name": "show-range-prompt",
1832
+ "name": "show-detail",
1742
1833
  "default": "`true`",
1743
- "description": "Whether prompt error message when exceeded max range",
1834
+ "description": "Whether to show detail field",
1744
1835
  "options": [],
1745
1836
  "value": {
1746
1837
  "type": "boolean",
@@ -1748,9 +1839,9 @@
1748
1839
  }
1749
1840
  },
1750
1841
  {
1751
- "name": "allow-same-day",
1842
+ "name": "disable-area",
1752
1843
  "default": "`false`",
1753
- "description": "Whether the start and end time of the range is allowed on the same day",
1844
+ "description": "Whether to disable area select",
1754
1845
  "options": [],
1755
1846
  "value": {
1756
1847
  "type": "boolean",
@@ -1758,90 +1849,19 @@
1758
1849
  }
1759
1850
  },
1760
1851
  {
1761
- "name": "max-range",
1762
- "default": "Unlimited",
1763
- "description": "Max count of selectable days",
1764
- "options": [],
1765
- "value": {
1766
- "type": "number | string",
1767
- "kind": "expression"
1768
- }
1769
- },
1770
- {
1771
- "name": "range-prompt",
1772
- "default": "`Choose no more than xx days`",
1773
- "description": "Error message when exceeded max count",
1852
+ "name": "save-button-text",
1853
+ "default": "`Save`",
1854
+ "description": "Save button text",
1774
1855
  "options": [],
1775
1856
  "value": {
1776
1857
  "type": "string",
1777
1858
  "kind": "expression"
1778
1859
  }
1779
- }
1780
- ]
1781
- },
1782
- {
1783
- "name": "van-card",
1784
- "slots": [
1785
- {
1786
- "name": "title",
1787
- "description": "Custom title"
1788
- },
1789
- {
1790
- "name": "desc",
1791
- "description": "Custom description"
1792
- },
1793
- {
1794
- "name": "num",
1795
- "description": "Custom num"
1796
- },
1797
- {
1798
- "name": "price",
1799
- "description": "Custom price"
1800
- },
1801
- {
1802
- "name": "origin-price",
1803
- "description": "Custom origin price"
1804
- },
1805
- {
1806
- "name": "price-top",
1807
- "description": "Custom price top"
1808
- },
1809
- {
1810
- "name": "bottom",
1811
- "description": "Custom price bottom"
1812
- },
1813
- {
1814
- "name": "thumb",
1815
- "description": "Custom thumb"
1816
- },
1817
- {
1818
- "name": "tag",
1819
- "description": "Custom thumb tag"
1820
- },
1821
- {
1822
- "name": "tags",
1823
- "description": "Custom tags"
1824
- },
1825
- {
1826
- "name": "footer",
1827
- "description": "Custom footer"
1828
- }
1829
- ],
1830
- "events": [
1831
- {
1832
- "name": "click",
1833
- "description": "Emitted when component is clicked"
1834
1860
  },
1835
1861
  {
1836
- "name": "click-thumb",
1837
- "description": "Emitted when thumb is clicked"
1838
- }
1839
- ],
1840
- "attributes": [
1841
- {
1842
- "name": "thumb",
1843
- "default": "-",
1844
- "description": "Left thumb image URL",
1862
+ "name": "delete-button-text",
1863
+ "default": "`Delete`",
1864
+ "description": "Delete button text",
1845
1865
  "options": [],
1846
1866
  "value": {
1847
1867
  "type": "string",
@@ -1849,59 +1869,59 @@
1849
1869
  }
1850
1870
  },
1851
1871
  {
1852
- "name": "title",
1853
- "default": "-",
1854
- "description": "Title",
1872
+ "name": "detail-rows",
1873
+ "default": "`1`",
1874
+ "description": "Detail input rows",
1855
1875
  "options": [],
1856
1876
  "value": {
1857
- "type": "string",
1877
+ "type": "number | string",
1858
1878
  "kind": "expression"
1859
1879
  }
1860
1880
  },
1861
1881
  {
1862
- "name": "desc",
1863
- "default": "-",
1864
- "description": "Description",
1882
+ "name": "detail-maxlength",
1883
+ "default": "`200`",
1884
+ "description": "Detail maxlength",
1865
1885
  "options": [],
1866
1886
  "value": {
1867
- "type": "string",
1887
+ "type": "number | string",
1868
1888
  "kind": "expression"
1869
1889
  }
1870
1890
  },
1871
1891
  {
1872
- "name": "tag",
1873
- "default": "-",
1874
- "description": "Tag",
1892
+ "name": "is-saving",
1893
+ "default": "`false`",
1894
+ "description": "Whether to show save button loading status",
1875
1895
  "options": [],
1876
1896
  "value": {
1877
- "type": "string",
1897
+ "type": "boolean",
1878
1898
  "kind": "expression"
1879
1899
  }
1880
1900
  },
1881
1901
  {
1882
- "name": "num",
1883
- "default": "-",
1884
- "description": "number",
1902
+ "name": "is-deleting",
1903
+ "default": "`false`",
1904
+ "description": "Whether to show delete button loading status",
1885
1905
  "options": [],
1886
1906
  "value": {
1887
- "type": "number | string",
1907
+ "type": "boolean",
1888
1908
  "kind": "expression"
1889
1909
  }
1890
1910
  },
1891
1911
  {
1892
- "name": "price",
1912
+ "name": "tel-validator",
1893
1913
  "default": "-",
1894
- "description": "Price",
1914
+ "description": "The method to validate tel",
1895
1915
  "options": [],
1896
1916
  "value": {
1897
- "type": "number | string",
1917
+ "type": "(tel: string) => boolean",
1898
1918
  "kind": "expression"
1899
1919
  }
1900
1920
  },
1901
1921
  {
1902
- "name": "origin-price",
1922
+ "name": "tel-maxlength",
1903
1923
  "default": "-",
1904
- "description": "Origin price",
1924
+ "description": "Tel maxlength",
1905
1925
  "options": [],
1906
1926
  "value": {
1907
1927
  "type": "number | string",
@@ -1909,42 +1929,22 @@
1909
1929
  }
1910
1930
  },
1911
1931
  {
1912
- "name": "centered",
1913
- "default": "`false`",
1914
- "description": "Whether content vertical centered",
1915
- "options": [],
1916
- "value": {
1917
- "type": "boolean",
1918
- "kind": "expression"
1919
- }
1920
- },
1921
- {
1922
- "name": "currency",
1923
- "default": "`¥`",
1924
- "description": "Currency symbol",
1925
- "options": [],
1926
- "value": {
1927
- "type": "string",
1928
- "kind": "expression"
1929
- }
1930
- },
1931
- {
1932
- "name": "thumb-link",
1932
+ "name": "postal-validator",
1933
1933
  "default": "-",
1934
- "description": "Thumb link URL",
1934
+ "description": "The method to validate postal",
1935
1935
  "options": [],
1936
1936
  "value": {
1937
- "type": "string",
1937
+ "type": "(tel: string) => boolean",
1938
1938
  "kind": "expression"
1939
1939
  }
1940
1940
  },
1941
1941
  {
1942
- "name": "lazy-load",
1943
- "default": "`false`",
1944
- "description": "Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component",
1942
+ "name": "validator",
1943
+ "default": "-",
1944
+ "description": "Custom validator",
1945
1945
  "options": [],
1946
1946
  "value": {
1947
- "type": "boolean",
1947
+ "type": "(key, val) => string",
1948
1948
  "kind": "expression"
1949
1949
  }
1950
1950
  }