vant 4.0.0-rc.4 → 4.0.0-rc.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/es/calendar/Calendar.mjs +10 -3
  2. package/es/calendar/CalendarHeader.d.ts +2 -0
  3. package/es/calendar/CalendarHeader.mjs +5 -1
  4. package/es/cell/Cell.d.ts +17 -0
  5. package/es/cell/Cell.mjs +11 -4
  6. package/es/cell/index.d.ts +9 -0
  7. package/es/collapse-item/CollapseItem.d.ts +13 -0
  8. package/es/collapse-item/index.d.ts +9 -0
  9. package/es/coupon/index.css +1 -1
  10. package/es/coupon-list/index.css +1 -1
  11. package/es/date-picker/DatePicker.mjs +4 -1
  12. package/es/date-picker/utils.d.ts +1 -0
  13. package/es/date-picker/utils.mjs +11 -0
  14. package/es/field/Field.d.ts +13 -0
  15. package/es/field/Field.mjs +3 -3
  16. package/es/field/index.css +1 -1
  17. package/es/field/index.d.ts +9 -0
  18. package/es/field/types.d.ts +1 -1
  19. package/es/image-preview/ImagePreview.mjs +3 -1
  20. package/es/image-preview/ImagePreviewItem.mjs +7 -2
  21. package/es/image-preview/index.css +1 -1
  22. package/es/index.d.ts +1 -1
  23. package/es/index.mjs +1 -1
  24. package/es/loading/Loading.mjs +8 -4
  25. package/es/nav-bar/NavBar.d.ts +13 -0
  26. package/es/nav-bar/NavBar.mjs +4 -3
  27. package/es/nav-bar/index.d.ts +9 -0
  28. package/es/stepper/Stepper.d.ts +13 -0
  29. package/es/stepper/Stepper.mjs +4 -3
  30. package/es/stepper/index.d.ts +9 -0
  31. package/es/swipe/Swipe.mjs +1 -1
  32. package/es/tabs/Tabs.mjs +44 -41
  33. package/es/time-picker/TimePicker.mjs +4 -3
  34. package/es/toast/Toast.d.ts +4 -1
  35. package/es/toast/Toast.mjs +2 -1
  36. package/es/toast/index.css +1 -1
  37. package/es/toast/index.d.ts +3 -1
  38. package/es/toast/types.d.ts +2 -0
  39. package/lib/calendar/Calendar.js +10 -3
  40. package/lib/calendar/CalendarHeader.d.ts +2 -0
  41. package/lib/calendar/CalendarHeader.js +5 -1
  42. package/lib/cell/Cell.d.ts +17 -0
  43. package/lib/cell/Cell.js +10 -3
  44. package/lib/cell/index.d.ts +9 -0
  45. package/lib/collapse-item/CollapseItem.d.ts +13 -0
  46. package/lib/collapse-item/index.d.ts +9 -0
  47. package/lib/coupon/index.css +1 -1
  48. package/lib/coupon-list/index.css +1 -1
  49. package/lib/date-picker/DatePicker.js +3 -0
  50. package/lib/date-picker/utils.d.ts +1 -0
  51. package/lib/date-picker/utils.js +11 -0
  52. package/lib/field/Field.d.ts +13 -0
  53. package/lib/field/Field.js +3 -3
  54. package/lib/field/index.css +1 -1
  55. package/lib/field/index.d.ts +9 -0
  56. package/lib/field/types.d.ts +1 -1
  57. package/lib/image-preview/ImagePreview.js +3 -1
  58. package/lib/image-preview/ImagePreviewItem.js +7 -2
  59. package/lib/image-preview/index.css +1 -1
  60. package/lib/index.css +1 -1
  61. package/lib/index.d.ts +1 -1
  62. package/lib/index.js +1 -1
  63. package/lib/loading/Loading.js +8 -4
  64. package/lib/nav-bar/NavBar.d.ts +13 -0
  65. package/lib/nav-bar/NavBar.js +4 -3
  66. package/lib/nav-bar/index.d.ts +9 -0
  67. package/lib/stepper/Stepper.d.ts +13 -0
  68. package/lib/stepper/Stepper.js +4 -3
  69. package/lib/stepper/index.d.ts +9 -0
  70. package/lib/swipe/Swipe.js +1 -1
  71. package/lib/tabs/Tabs.js +44 -41
  72. package/lib/time-picker/TimePicker.js +3 -2
  73. package/lib/toast/Toast.d.ts +4 -1
  74. package/lib/toast/Toast.js +2 -1
  75. package/lib/toast/index.css +1 -1
  76. package/lib/toast/index.d.ts +3 -1
  77. package/lib/toast/types.d.ts +2 -0
  78. package/lib/vant.cjs.js +118 -69
  79. package/lib/vant.es.js +118 -69
  80. package/lib/vant.js +118 -69
  81. package/lib/vant.min.js +1 -1
  82. package/lib/web-types.json +671 -633
  83. package/package.json +2 -2
  84. package/changelog.generated.md +0 -59
@@ -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.4",
5
+ "version": "4.0.0-rc.6",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -549,290 +549,6 @@
549
549
  }
550
550
  ]
551
551
  },
552
- {
553
- "name": "van-action-sheet",
554
- "slots": [
555
- {
556
- "name": "default",
557
- "description": "Custom content"
558
- },
559
- {
560
- "name": "description",
561
- "description": "Custom description above the options"
562
- },
563
- {
564
- "name": "cancel",
565
- "description": "Custom the content of cancel button"
566
- },
567
- {
568
- "name": "action",
569
- "description": "Custom the content of action"
570
- }
571
- ],
572
- "events": [
573
- {
574
- "name": "select",
575
- "description": "Emitted when an option is clicked",
576
- "arguments": [
577
- {
578
- "name": "action",
579
- "type": "ActionSheetAction"
580
- },
581
- {
582
- "name": "index",
583
- "type": "number"
584
- }
585
- ]
586
- },
587
- {
588
- "name": "cancel",
589
- "description": "Emitted when the cancel button is clicked",
590
- "arguments": []
591
- },
592
- {
593
- "name": "open",
594
- "description": "Emitted when opening ActionSheet",
595
- "arguments": []
596
- },
597
- {
598
- "name": "close",
599
- "description": "Emitted when closing ActionSheet",
600
- "arguments": []
601
- },
602
- {
603
- "name": "opened",
604
- "description": "Emitted when ActionSheet is opened",
605
- "arguments": []
606
- },
607
- {
608
- "name": "closed",
609
- "description": "Emitted when ActionSheet is closed",
610
- "arguments": []
611
- },
612
- {
613
- "name": "click-overlay",
614
- "description": "Emitted when overlay is clicked",
615
- "arguments": [
616
- {
617
- "name": "event",
618
- "type": "MouseEvent"
619
- }
620
- ]
621
- }
622
- ],
623
- "attributes": [
624
- {
625
- "name": "v-model:show",
626
- "default": "`false`",
627
- "description": "Whether to show ActionSheet",
628
- "options": [],
629
- "value": {
630
- "type": "boolean",
631
- "kind": "expression"
632
- }
633
- },
634
- {
635
- "name": "actions",
636
- "default": "`[]`",
637
- "description": "Options",
638
- "options": [],
639
- "value": {
640
- "type": "ActionSheetAction[]",
641
- "kind": "expression"
642
- }
643
- },
644
- {
645
- "name": "title",
646
- "default": "-",
647
- "description": "Title",
648
- "options": [],
649
- "value": {
650
- "type": "string",
651
- "kind": "expression"
652
- }
653
- },
654
- {
655
- "name": "cancel-text",
656
- "default": "-",
657
- "description": "Text of cancel button",
658
- "options": [],
659
- "value": {
660
- "type": "string",
661
- "kind": "expression"
662
- }
663
- },
664
- {
665
- "name": "description",
666
- "default": "-",
667
- "description": "Description above the options",
668
- "options": [],
669
- "value": {
670
- "type": "string",
671
- "kind": "expression"
672
- }
673
- },
674
- {
675
- "name": "closeable",
676
- "default": "`true`",
677
- "description": "Whether to show close icon",
678
- "options": [],
679
- "value": {
680
- "type": "boolean",
681
- "kind": "expression"
682
- }
683
- },
684
- {
685
- "name": "close-icon",
686
- "default": "`cross`",
687
- "description": "Close icon name",
688
- "options": [],
689
- "value": {
690
- "type": "string",
691
- "kind": "expression"
692
- }
693
- },
694
- {
695
- "name": "duration",
696
- "default": "`0.3`",
697
- "description": "Transition duration, unit second",
698
- "options": [],
699
- "value": {
700
- "type": "number | string",
701
- "kind": "expression"
702
- }
703
- },
704
- {
705
- "name": "z-index",
706
- "default": "`2000+`",
707
- "description": "Set the z-index to a fixed value",
708
- "options": [],
709
- "value": {
710
- "type": "number | string",
711
- "kind": "expression"
712
- }
713
- },
714
- {
715
- "name": "round",
716
- "default": "`true`",
717
- "description": "Whether to show round corner",
718
- "options": [],
719
- "value": {
720
- "type": "boolean",
721
- "kind": "expression"
722
- }
723
- },
724
- {
725
- "name": "overlay",
726
- "default": "`true`",
727
- "description": "Whether to show overlay",
728
- "options": [],
729
- "value": {
730
- "type": "boolean",
731
- "kind": "expression"
732
- }
733
- },
734
- {
735
- "name": "overlay-class",
736
- "default": "-",
737
- "description": "Custom overlay class",
738
- "options": [],
739
- "value": {
740
- "type": "string | Array | object",
741
- "kind": "expression"
742
- }
743
- },
744
- {
745
- "name": "overlay-style",
746
- "default": "-",
747
- "description": "Custom overlay style",
748
- "options": [],
749
- "value": {
750
- "type": "object",
751
- "kind": "expression"
752
- }
753
- },
754
- {
755
- "name": "lock-scroll",
756
- "default": "`true`",
757
- "description": "Whether to lock background scroll",
758
- "options": [],
759
- "value": {
760
- "type": "boolean",
761
- "kind": "expression"
762
- }
763
- },
764
- {
765
- "name": "lazy-render",
766
- "default": "`true`",
767
- "description": "Whether to lazy render util appeared",
768
- "options": [],
769
- "value": {
770
- "type": "boolean",
771
- "kind": "expression"
772
- }
773
- },
774
- {
775
- "name": "close-on-popstate",
776
- "default": "`true`",
777
- "description": "Whether to close when popstate",
778
- "options": [],
779
- "value": {
780
- "type": "boolean",
781
- "kind": "expression"
782
- }
783
- },
784
- {
785
- "name": "close-on-click-action",
786
- "default": "`false`",
787
- "description": "Whether to close when an action is clicked",
788
- "options": [],
789
- "value": {
790
- "type": "boolean",
791
- "kind": "expression"
792
- }
793
- },
794
- {
795
- "name": "close-on-click-overlay",
796
- "default": "`true`",
797
- "description": "Whether to close when overlay is clicked",
798
- "options": [],
799
- "value": {
800
- "type": "boolean",
801
- "kind": "expression"
802
- }
803
- },
804
- {
805
- "name": "safe-area-inset-bottom",
806
- "default": "`true`",
807
- "description": "Whether to enable bottom safe area adaptation",
808
- "options": [],
809
- "value": {
810
- "type": "boolean",
811
- "kind": "expression"
812
- }
813
- },
814
- {
815
- "name": "teleport",
816
- "default": "-",
817
- "description": "Specifies a target element where ActionSheet will be mounted",
818
- "options": [],
819
- "value": {
820
- "type": "string | Element",
821
- "kind": "expression"
822
- }
823
- },
824
- {
825
- "name": "before-close",
826
- "default": "-",
827
- "description": "Callback function before close",
828
- "options": [],
829
- "value": {
830
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
831
- "kind": "expression"
832
- }
833
- }
834
- ]
835
- },
836
552
  {
837
553
  "name": "van-address-list",
838
554
  "slots": [
@@ -1004,33 +720,77 @@
1004
720
  ]
1005
721
  },
1006
722
  {
1007
- "name": "van-badge",
723
+ "name": "van-area",
1008
724
  "slots": [
1009
725
  {
1010
- "name": "default",
1011
- "description": "Default slot"
726
+ "name": "toolbar",
727
+ "description": "Custom toolbar content"
1012
728
  },
1013
729
  {
1014
- "name": "content",
1015
- "description": "Custom badge content"
730
+ "name": "title",
731
+ "description": "Custom title"
732
+ },
733
+ {
734
+ "name": "confirm",
735
+ "description": "Custom confirm button text"
736
+ },
737
+ {
738
+ "name": "cancel",
739
+ "description": "Custom cancel button text"
740
+ },
741
+ {
742
+ "name": "columns-top",
743
+ "description": "Custom content above columns"
744
+ },
745
+ {
746
+ "name": "columns-bottom",
747
+ "description": "Custom content below columns"
748
+ }
749
+ ],
750
+ "events": [
751
+ {
752
+ "name": "confirm",
753
+ "description": "Emitted when the confirm button is clicked",
754
+ "arguments": [
755
+ {
756
+ "name": "{ selectedValues, selectedOptions }"
757
+ }
758
+ ]
759
+ },
760
+ {
761
+ "name": "cancel",
762
+ "description": "Emitted when the cancel button is clicked",
763
+ "arguments": [
764
+ {
765
+ "name": "{ selectedValues, selectedOptions }"
766
+ }
767
+ ]
768
+ },
769
+ {
770
+ "name": "change",
771
+ "description": "Emitted when current option is changed",
772
+ "arguments": [
773
+ {
774
+ "name": "{ selectedValues, selectedOptions, columnIndex }"
775
+ }
776
+ ]
1016
777
  }
1017
778
  ],
1018
- "events": [],
1019
779
  "attributes": [
1020
780
  {
1021
- "name": "content",
781
+ "name": "v-model",
1022
782
  "default": "-",
1023
- "description": "Badge content",
783
+ "description": "the `code` of selected area",
1024
784
  "options": [],
1025
785
  "value": {
1026
- "type": "number | string",
786
+ "type": "string",
1027
787
  "kind": "expression"
1028
788
  }
1029
789
  },
1030
790
  {
1031
- "name": "color",
1032
- "default": "`#ee0a24`",
1033
- "description": "Background color",
791
+ "name": "title",
792
+ "default": "-",
793
+ "description": "Toolbar title",
1034
794
  "options": [],
1035
795
  "value": {
1036
796
  "type": "string",
@@ -1038,9 +798,49 @@
1038
798
  }
1039
799
  },
1040
800
  {
1041
- "name": "dot",
801
+ "name": "confirm-button-text",
802
+ "default": "`Confirm`",
803
+ "description": "Text of confirm button",
804
+ "options": [],
805
+ "value": {
806
+ "type": "string",
807
+ "kind": "expression"
808
+ }
809
+ },
810
+ {
811
+ "name": "cancel-button-text",
812
+ "default": "`Cancel`",
813
+ "description": "Text of cancel button",
814
+ "options": [],
815
+ "value": {
816
+ "type": "string",
817
+ "kind": "expression"
818
+ }
819
+ },
820
+ {
821
+ "name": "area-list",
822
+ "default": "-",
823
+ "description": "Area list data",
824
+ "options": [],
825
+ "value": {
826
+ "type": "object",
827
+ "kind": "expression"
828
+ }
829
+ },
830
+ {
831
+ "name": "columns-placeholder",
832
+ "default": "`[]`",
833
+ "description": "Placeholder of columns",
834
+ "options": [],
835
+ "value": {
836
+ "type": "string[]",
837
+ "kind": "expression"
838
+ }
839
+ },
840
+ {
841
+ "name": "loading",
1042
842
  "default": "`false`",
1043
- "description": "Whether to show dot",
843
+ "description": "Whether to show loading prompt",
1044
844
  "options": [],
1045
845
  "value": {
1046
846
  "type": "boolean",
@@ -1048,9 +848,19 @@
1048
848
  }
1049
849
  },
1050
850
  {
1051
- "name": "max",
1052
- "default": "-",
1053
- "description": "Max value, show `{max}+` when exceed, only works when content is number",
851
+ "name": "readonly",
852
+ "default": "`false`",
853
+ "description": "Whether to be readonly",
854
+ "options": [],
855
+ "value": {
856
+ "type": "boolean",
857
+ "kind": "expression"
858
+ }
859
+ },
860
+ {
861
+ "name": "option-height",
862
+ "default": "`44`",
863
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
1054
864
  "options": [],
1055
865
  "value": {
1056
866
  "type": "number | string",
@@ -1058,99 +868,133 @@
1058
868
  }
1059
869
  },
1060
870
  {
1061
- "name": "offset",
1062
- "default": "-",
1063
- "description": "Offset of badge dot",
871
+ "name": "columns-num",
872
+ "default": "`3`",
873
+ "description": "Level of picker",
1064
874
  "options": [],
1065
875
  "value": {
1066
- "type": "[number | string, number | string]",
876
+ "type": "number | string",
1067
877
  "kind": "expression"
1068
878
  }
1069
879
  },
1070
880
  {
1071
- "name": "show-zero",
1072
- "default": "`true`",
1073
- "description": "Whether to show badge when content is zero",
881
+ "name": "visible-option-num",
882
+ "default": "`6`",
883
+ "description": "Count of visible columns",
1074
884
  "options": [],
1075
885
  "value": {
1076
- "type": "boolean",
886
+ "type": "number | string",
1077
887
  "kind": "expression"
1078
888
  }
1079
889
  },
1080
890
  {
1081
- "name": "position",
1082
- "default": "`top-right`",
1083
- "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
891
+ "name": "swipe-duration",
892
+ "default": "`1000`",
893
+ "description": "Duration of the momentum animation, unit `ms`",
1084
894
  "options": [],
1085
895
  "value": {
1086
- "type": "string",
896
+ "type": "number | string",
1087
897
  "kind": "expression"
1088
898
  }
1089
899
  }
1090
900
  ]
1091
901
  },
1092
902
  {
1093
- "name": "van-area",
903
+ "name": "van-action-sheet",
1094
904
  "slots": [
1095
905
  {
1096
- "name": "toolbar",
1097
- "description": "Custom toolbar content"
1098
- },
1099
- {
1100
- "name": "title",
1101
- "description": "Custom title"
906
+ "name": "default",
907
+ "description": "Custom content"
1102
908
  },
1103
909
  {
1104
- "name": "confirm",
1105
- "description": "Custom confirm button text"
910
+ "name": "description",
911
+ "description": "Custom description above the options"
1106
912
  },
1107
913
  {
1108
914
  "name": "cancel",
1109
- "description": "Custom cancel button text"
1110
- },
1111
- {
1112
- "name": "columns-top",
1113
- "description": "Custom content above columns"
915
+ "description": "Custom the content of cancel button"
1114
916
  },
1115
917
  {
1116
- "name": "columns-bottom",
1117
- "description": "Custom content below columns"
918
+ "name": "action",
919
+ "description": "Custom the content of action"
1118
920
  }
1119
921
  ],
1120
922
  "events": [
1121
923
  {
1122
- "name": "confirm",
1123
- "description": "Emitted when the confirm button is clicked",
924
+ "name": "select",
925
+ "description": "Emitted when an option is clicked",
1124
926
  "arguments": [
1125
927
  {
1126
- "name": "{ selectedValues, selectedOptions }"
928
+ "name": "action",
929
+ "type": "ActionSheetAction"
930
+ },
931
+ {
932
+ "name": "index",
933
+ "type": "number"
1127
934
  }
1128
935
  ]
1129
936
  },
1130
937
  {
1131
938
  "name": "cancel",
1132
939
  "description": "Emitted when the cancel button is clicked",
1133
- "arguments": [
1134
- {
1135
- "name": "{ selectedValues, selectedOptions }"
1136
- }
1137
- ]
940
+ "arguments": []
1138
941
  },
1139
942
  {
1140
- "name": "change",
1141
- "description": "Emitted when current option is changed",
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",
1142
965
  "arguments": [
1143
966
  {
1144
- "name": "{ selectedValues, selectedOptions, columnIndex }"
967
+ "name": "event",
968
+ "type": "MouseEvent"
1145
969
  }
1146
970
  ]
1147
971
  }
1148
972
  ],
1149
973
  "attributes": [
1150
974
  {
1151
- "name": "v-model",
975
+ "name": "v-model:show",
976
+ "default": "`false`",
977
+ "description": "Whether to show ActionSheet",
978
+ "options": [],
979
+ "value": {
980
+ "type": "boolean",
981
+ "kind": "expression"
982
+ }
983
+ },
984
+ {
985
+ "name": "actions",
986
+ "default": "`[]`",
987
+ "description": "Options",
988
+ "options": [],
989
+ "value": {
990
+ "type": "ActionSheetAction[]",
991
+ "kind": "expression"
992
+ }
993
+ },
994
+ {
995
+ "name": "title",
1152
996
  "default": "-",
1153
- "description": "the `code` of selected area",
997
+ "description": "Title",
1154
998
  "options": [],
1155
999
  "value": {
1156
1000
  "type": "string",
@@ -1158,9 +1002,9 @@
1158
1002
  }
1159
1003
  },
1160
1004
  {
1161
- "name": "title",
1005
+ "name": "cancel-text",
1162
1006
  "default": "-",
1163
- "description": "Toolbar title",
1007
+ "description": "Text of cancel button",
1164
1008
  "options": [],
1165
1009
  "value": {
1166
1010
  "type": "string",
@@ -1168,9 +1012,9 @@
1168
1012
  }
1169
1013
  },
1170
1014
  {
1171
- "name": "confirm-button-text",
1172
- "default": "`Confirm`",
1173
- "description": "Text of confirm button",
1015
+ "name": "description",
1016
+ "default": "-",
1017
+ "description": "Description above the options",
1174
1018
  "options": [],
1175
1019
  "value": {
1176
1020
  "type": "string",
@@ -1178,9 +1022,19 @@
1178
1022
  }
1179
1023
  },
1180
1024
  {
1181
- "name": "cancel-button-text",
1182
- "default": "`Cancel`",
1183
- "description": "Text of cancel button",
1025
+ "name": "closeable",
1026
+ "default": "`true`",
1027
+ "description": "Whether to show close icon",
1028
+ "options": [],
1029
+ "value": {
1030
+ "type": "boolean",
1031
+ "kind": "expression"
1032
+ }
1033
+ },
1034
+ {
1035
+ "name": "close-icon",
1036
+ "default": "`cross`",
1037
+ "description": "Close icon name",
1184
1038
  "options": [],
1185
1039
  "value": {
1186
1040
  "type": "string",
@@ -1188,9 +1042,59 @@
1188
1042
  }
1189
1043
  },
1190
1044
  {
1191
- "name": "area-list",
1045
+ "name": "duration",
1046
+ "default": "`0.3`",
1047
+ "description": "Transition duration, unit second",
1048
+ "options": [],
1049
+ "value": {
1050
+ "type": "number | string",
1051
+ "kind": "expression"
1052
+ }
1053
+ },
1054
+ {
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",
1192
1086
  "default": "-",
1193
- "description": "Area list data",
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",
1194
1098
  "options": [],
1195
1099
  "value": {
1196
1100
  "type": "object",
@@ -1198,19 +1102,19 @@
1198
1102
  }
1199
1103
  },
1200
1104
  {
1201
- "name": "columns-placeholder",
1202
- "default": "`[]`",
1203
- "description": "Placeholder of columns",
1105
+ "name": "lock-scroll",
1106
+ "default": "`true`",
1107
+ "description": "Whether to lock background scroll",
1204
1108
  "options": [],
1205
1109
  "value": {
1206
- "type": "string[]",
1110
+ "type": "boolean",
1207
1111
  "kind": "expression"
1208
1112
  }
1209
1113
  },
1210
1114
  {
1211
- "name": "loading",
1212
- "default": "`false`",
1213
- "description": "Whether to show loading prompt",
1115
+ "name": "lazy-render",
1116
+ "default": "`true`",
1117
+ "description": "Whether to lazy render util appeared",
1214
1118
  "options": [],
1215
1119
  "value": {
1216
1120
  "type": "boolean",
@@ -1218,9 +1122,19 @@
1218
1122
  }
1219
1123
  },
1220
1124
  {
1221
- "name": "readonly",
1125
+ "name": "close-on-popstate",
1126
+ "default": "`true`",
1127
+ "description": "Whether to close when popstate",
1128
+ "options": [],
1129
+ "value": {
1130
+ "type": "boolean",
1131
+ "kind": "expression"
1132
+ }
1133
+ },
1134
+ {
1135
+ "name": "close-on-click-action",
1222
1136
  "default": "`false`",
1223
- "description": "Whether to be readonly",
1137
+ "description": "Whether to close when an action is clicked",
1224
1138
  "options": [],
1225
1139
  "value": {
1226
1140
  "type": "boolean",
@@ -1228,42 +1142,42 @@
1228
1142
  }
1229
1143
  },
1230
1144
  {
1231
- "name": "option-height",
1232
- "default": "`44`",
1233
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
1145
+ "name": "close-on-click-overlay",
1146
+ "default": "`true`",
1147
+ "description": "Whether to close when overlay is clicked",
1234
1148
  "options": [],
1235
1149
  "value": {
1236
- "type": "number | string",
1150
+ "type": "boolean",
1237
1151
  "kind": "expression"
1238
1152
  }
1239
1153
  },
1240
1154
  {
1241
- "name": "columns-num",
1242
- "default": "`3`",
1243
- "description": "Level of picker",
1155
+ "name": "safe-area-inset-bottom",
1156
+ "default": "`true`",
1157
+ "description": "Whether to enable bottom safe area adaptation",
1244
1158
  "options": [],
1245
1159
  "value": {
1246
- "type": "number | string",
1160
+ "type": "boolean",
1247
1161
  "kind": "expression"
1248
1162
  }
1249
1163
  },
1250
1164
  {
1251
- "name": "visible-option-num",
1252
- "default": "`6`",
1253
- "description": "Count of visible columns",
1165
+ "name": "teleport",
1166
+ "default": "-",
1167
+ "description": "Specifies a target element where ActionSheet will be mounted",
1254
1168
  "options": [],
1255
1169
  "value": {
1256
- "type": "number | string",
1170
+ "type": "string | Element",
1257
1171
  "kind": "expression"
1258
1172
  }
1259
1173
  },
1260
1174
  {
1261
- "name": "swipe-duration",
1262
- "default": "`1000`",
1263
- "description": "Duration of the momentum animation, unit `ms`",
1175
+ "name": "before-close",
1176
+ "default": "-",
1177
+ "description": "Callback function before close",
1264
1178
  "options": [],
1265
1179
  "value": {
1266
- "type": "number | string",
1180
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
1267
1181
  "kind": "expression"
1268
1182
  }
1269
1183
  }
@@ -1520,6 +1434,92 @@
1520
1434
  }
1521
1435
  ]
1522
1436
  },
1437
+ {
1438
+ "name": "van-badge",
1439
+ "slots": [
1440
+ {
1441
+ "name": "default",
1442
+ "description": "Default slot"
1443
+ },
1444
+ {
1445
+ "name": "content",
1446
+ "description": "Custom badge content"
1447
+ }
1448
+ ],
1449
+ "events": [],
1450
+ "attributes": [
1451
+ {
1452
+ "name": "content",
1453
+ "default": "-",
1454
+ "description": "Badge content",
1455
+ "options": [],
1456
+ "value": {
1457
+ "type": "number | string",
1458
+ "kind": "expression"
1459
+ }
1460
+ },
1461
+ {
1462
+ "name": "color",
1463
+ "default": "`#ee0a24`",
1464
+ "description": "Background color",
1465
+ "options": [],
1466
+ "value": {
1467
+ "type": "string",
1468
+ "kind": "expression"
1469
+ }
1470
+ },
1471
+ {
1472
+ "name": "dot",
1473
+ "default": "`false`",
1474
+ "description": "Whether to show dot",
1475
+ "options": [],
1476
+ "value": {
1477
+ "type": "boolean",
1478
+ "kind": "expression"
1479
+ }
1480
+ },
1481
+ {
1482
+ "name": "max",
1483
+ "default": "-",
1484
+ "description": "Max value, show `{max}+` when exceed, only works when content is number",
1485
+ "options": [],
1486
+ "value": {
1487
+ "type": "number | string",
1488
+ "kind": "expression"
1489
+ }
1490
+ },
1491
+ {
1492
+ "name": "offset",
1493
+ "default": "-",
1494
+ "description": "Offset of badge dot",
1495
+ "options": [],
1496
+ "value": {
1497
+ "type": "[number | string, number | string]",
1498
+ "kind": "expression"
1499
+ }
1500
+ },
1501
+ {
1502
+ "name": "show-zero",
1503
+ "default": "`true`",
1504
+ "description": "Whether to show badge when content is zero",
1505
+ "options": [],
1506
+ "value": {
1507
+ "type": "boolean",
1508
+ "kind": "expression"
1509
+ }
1510
+ },
1511
+ {
1512
+ "name": "position",
1513
+ "default": "`top-right`",
1514
+ "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
1515
+ "options": [],
1516
+ "value": {
1517
+ "type": "string",
1518
+ "kind": "expression"
1519
+ }
1520
+ }
1521
+ ]
1522
+ },
1523
1523
  {
1524
1524
  "name": "van-calendar",
1525
1525
  "slots": [
@@ -2441,49 +2441,59 @@
2441
2441
  }
2442
2442
  },
2443
2443
  {
2444
- "name": "border",
2445
- "default": "`true`",
2446
- "description": "Whether to show inner border",
2444
+ "name": "tag",
2445
+ "default": "`div`",
2446
+ "description": "Custom element tag",
2447
2447
  "options": [],
2448
2448
  "value": {
2449
- "type": "boolean",
2449
+ "type": "string",
2450
2450
  "kind": "expression"
2451
2451
  }
2452
2452
  },
2453
2453
  {
2454
- "name": "center",
2455
- "default": "`false`",
2456
- "description": "Whether to center content vertically",
2454
+ "name": "url",
2455
+ "default": "-",
2456
+ "description": "Link URL",
2457
2457
  "options": [],
2458
2458
  "value": {
2459
- "type": "boolean",
2459
+ "type": "string",
2460
2460
  "kind": "expression"
2461
2461
  }
2462
2462
  },
2463
2463
  {
2464
- "name": "url",
2464
+ "name": "to",
2465
2465
  "default": "-",
2466
- "description": "Link URL",
2466
+ "description": "Target route of the link, same as to of vue-router",
2467
+ "options": [],
2468
+ "value": {
2469
+ "type": "string | object",
2470
+ "kind": "expression"
2471
+ }
2472
+ },
2473
+ {
2474
+ "name": "replace",
2475
+ "default": "`false`",
2476
+ "description": "If true, the navigation will not leave a history record",
2467
2477
  "options": [],
2468
2478
  "value": {
2469
- "type": "string",
2479
+ "type": "boolean",
2470
2480
  "kind": "expression"
2471
2481
  }
2472
2482
  },
2473
2483
  {
2474
- "name": "to",
2475
- "default": "-",
2476
- "description": "Target route of the link, same as to of vue-router",
2484
+ "name": "border",
2485
+ "default": "`true`",
2486
+ "description": "Whether to show inner border",
2477
2487
  "options": [],
2478
2488
  "value": {
2479
- "type": "string | object",
2489
+ "type": "boolean",
2480
2490
  "kind": "expression"
2481
2491
  }
2482
2492
  },
2483
2493
  {
2484
- "name": "replace",
2494
+ "name": "center",
2485
2495
  "default": "`false`",
2486
- "description": "If true, the navigation will not leave a history record",
2496
+ "description": "Whether to center content vertically",
2487
2497
  "options": [],
2488
2498
  "value": {
2489
2499
  "type": "boolean",
@@ -4662,56 +4672,6 @@
4662
4672
  }
4663
4673
  ]
4664
4674
  },
4665
- {
4666
- "name": "van-empty",
4667
- "slots": [
4668
- {
4669
- "name": "default",
4670
- "description": "Custom bottom content"
4671
- },
4672
- {
4673
- "name": "image",
4674
- "description": "Custom image"
4675
- },
4676
- {
4677
- "name": "description",
4678
- "description": "Custom description"
4679
- }
4680
- ],
4681
- "events": [],
4682
- "attributes": [
4683
- {
4684
- "name": "image",
4685
- "default": "`default`",
4686
- "description": "Image type, can be set to `error` `network` `search` or image URL",
4687
- "options": [],
4688
- "value": {
4689
- "type": "string",
4690
- "kind": "expression"
4691
- }
4692
- },
4693
- {
4694
- "name": "image-size",
4695
- "default": "-",
4696
- "description": "Image size",
4697
- "options": [],
4698
- "value": {
4699
- "type": "number | string | Array",
4700
- "kind": "expression"
4701
- }
4702
- },
4703
- {
4704
- "name": "description",
4705
- "default": "-",
4706
- "description": "Description",
4707
- "options": [],
4708
- "value": {
4709
- "type": "string",
4710
- "kind": "expression"
4711
- }
4712
- }
4713
- ]
4714
- },
4715
4675
  {
4716
4676
  "name": "van-field",
4717
4677
  "slots": [
@@ -5134,7 +5094,7 @@
5134
5094
  {
5135
5095
  "name": "label-align",
5136
5096
  "default": "`left`",
5137
- "description": "Label align, can be set to `center` `right`",
5097
+ "description": "Label align, can be set to `center` `right` `top`",
5138
5098
  "options": [],
5139
5099
  "value": {
5140
5100
  "type": "FieldTextAlign",
@@ -5223,6 +5183,56 @@
5223
5183
  }
5224
5184
  ]
5225
5185
  },
5186
+ {
5187
+ "name": "van-empty",
5188
+ "slots": [
5189
+ {
5190
+ "name": "default",
5191
+ "description": "Custom bottom content"
5192
+ },
5193
+ {
5194
+ "name": "image",
5195
+ "description": "Custom image"
5196
+ },
5197
+ {
5198
+ "name": "description",
5199
+ "description": "Custom description"
5200
+ }
5201
+ ],
5202
+ "events": [],
5203
+ "attributes": [
5204
+ {
5205
+ "name": "image",
5206
+ "default": "`default`",
5207
+ "description": "Image type, can be set to `error` `network` `search` or image URL",
5208
+ "options": [],
5209
+ "value": {
5210
+ "type": "string",
5211
+ "kind": "expression"
5212
+ }
5213
+ },
5214
+ {
5215
+ "name": "image-size",
5216
+ "default": "-",
5217
+ "description": "Image size",
5218
+ "options": [],
5219
+ "value": {
5220
+ "type": "number | string | Array",
5221
+ "kind": "expression"
5222
+ }
5223
+ },
5224
+ {
5225
+ "name": "description",
5226
+ "default": "-",
5227
+ "description": "Description",
5228
+ "options": [],
5229
+ "value": {
5230
+ "type": "string",
5231
+ "kind": "expression"
5232
+ }
5233
+ }
5234
+ ]
5235
+ },
5226
5236
  {
5227
5237
  "name": "van-form",
5228
5238
  "slots": [
@@ -5267,7 +5277,7 @@
5267
5277
  {
5268
5278
  "name": "label-align",
5269
5279
  "default": "`left`",
5270
- "description": "Field label align, can be set to `center` `right`",
5280
+ "description": "Field label align, can be set to `center` `right` `top`",
5271
5281
  "options": [],
5272
5282
  "value": {
5273
5283
  "type": "string",
@@ -5923,6 +5933,10 @@
5923
5933
  {
5924
5934
  "name": "cover",
5925
5935
  "description": "Custom content that covers the image preview"
5936
+ },
5937
+ {
5938
+ "name": "image",
5939
+ "description": "Custom image content"
5926
5940
  }
5927
5941
  ],
5928
5942
  "events": [
@@ -6401,6 +6415,10 @@
6401
6415
  {
6402
6416
  "name": "default",
6403
6417
  "description": "Loading text"
6418
+ },
6419
+ {
6420
+ "name": "icon",
6421
+ "description": "Custom loading icon"
6404
6422
  }
6405
6423
  ],
6406
6424
  "events": [],
@@ -6451,14 +6469,150 @@
6451
6469
  "description": "Text color",
6452
6470
  "options": [],
6453
6471
  "value": {
6454
- "type": "string",
6472
+ "type": "string",
6473
+ "kind": "expression"
6474
+ }
6475
+ },
6476
+ {
6477
+ "name": "vertical",
6478
+ "default": "`false`",
6479
+ "description": "Whether to arrange icons and text content vertically",
6480
+ "options": [],
6481
+ "value": {
6482
+ "type": "boolean",
6483
+ "kind": "expression"
6484
+ }
6485
+ }
6486
+ ]
6487
+ },
6488
+ {
6489
+ "name": "van-notice-bar",
6490
+ "slots": [
6491
+ {
6492
+ "name": "default",
6493
+ "description": "Notice text content"
6494
+ },
6495
+ {
6496
+ "name": "left-icon",
6497
+ "description": "Custom left icon"
6498
+ },
6499
+ {
6500
+ "name": "right-icon",
6501
+ "description": "Custom right icon"
6502
+ }
6503
+ ],
6504
+ "events": [
6505
+ {
6506
+ "name": "click",
6507
+ "description": "Emitted when NoticeBar is clicked",
6508
+ "arguments": [
6509
+ {
6510
+ "name": "event",
6511
+ "type": "MouseEvent"
6512
+ }
6513
+ ]
6514
+ },
6515
+ {
6516
+ "name": "close",
6517
+ "description": "Emitted when NoticeBar is closed",
6518
+ "arguments": [
6519
+ {
6520
+ "name": "event",
6521
+ "type": "MouseEvent"
6522
+ }
6523
+ ]
6524
+ },
6525
+ {
6526
+ "name": "replay",
6527
+ "description": "Emitted when NoticeBar is replayed",
6528
+ "arguments": []
6529
+ }
6530
+ ],
6531
+ "attributes": [
6532
+ {
6533
+ "name": "mode",
6534
+ "default": "`''`",
6535
+ "description": "Mode, can be set to `closeable` `link`",
6536
+ "options": [],
6537
+ "value": {
6538
+ "type": "string",
6539
+ "kind": "expression"
6540
+ }
6541
+ },
6542
+ {
6543
+ "name": "text",
6544
+ "default": "`''`",
6545
+ "description": "Notice text content",
6546
+ "options": [],
6547
+ "value": {
6548
+ "type": "string",
6549
+ "kind": "expression"
6550
+ }
6551
+ },
6552
+ {
6553
+ "name": "color",
6554
+ "default": "`#ed6a0c`",
6555
+ "description": "Text color",
6556
+ "options": [],
6557
+ "value": {
6558
+ "type": "string",
6559
+ "kind": "expression"
6560
+ }
6561
+ },
6562
+ {
6563
+ "name": "background",
6564
+ "default": "`#fffbe8`",
6565
+ "description": "Background color",
6566
+ "options": [],
6567
+ "value": {
6568
+ "type": "string",
6569
+ "kind": "expression"
6570
+ }
6571
+ },
6572
+ {
6573
+ "name": "left-icon",
6574
+ "default": "-",
6575
+ "description": "Left Icon",
6576
+ "options": [],
6577
+ "value": {
6578
+ "type": "string",
6579
+ "kind": "expression"
6580
+ }
6581
+ },
6582
+ {
6583
+ "name": "delay",
6584
+ "default": "`1`",
6585
+ "description": "Animation delay (s)",
6586
+ "options": [],
6587
+ "value": {
6588
+ "type": "number | string",
6589
+ "kind": "expression"
6590
+ }
6591
+ },
6592
+ {
6593
+ "name": "speed",
6594
+ "default": "`60`",
6595
+ "description": "Scroll speed (px/s)",
6596
+ "options": [],
6597
+ "value": {
6598
+ "type": "number | string",
6599
+ "kind": "expression"
6600
+ }
6601
+ },
6602
+ {
6603
+ "name": "scrollable",
6604
+ "default": "-",
6605
+ "description": "Whether to scroll content",
6606
+ "options": [],
6607
+ "value": {
6608
+ "type": "boolean",
6455
6609
  "kind": "expression"
6456
6610
  }
6457
6611
  },
6458
6612
  {
6459
- "name": "vertical",
6613
+ "name": "wrapable",
6460
6614
  "default": "`false`",
6461
- "description": "Whether to arrange icons and text content vertically",
6615
+ "description": "Whether to enable text wrap",
6462
6616
  "options": [],
6463
6617
  "value": {
6464
6618
  "type": "boolean",
@@ -6595,137 +6749,11 @@
6595
6749
  "type": "boolean",
6596
6750
  "kind": "expression"
6597
6751
  }
6598
- }
6599
- ]
6600
- },
6601
- {
6602
- "name": "van-notice-bar",
6603
- "slots": [
6604
- {
6605
- "name": "default",
6606
- "description": "Notice text content"
6607
- },
6608
- {
6609
- "name": "left-icon",
6610
- "description": "Custom left icon"
6611
- },
6612
- {
6613
- "name": "right-icon",
6614
- "description": "Custom right icon"
6615
- }
6616
- ],
6617
- "events": [
6618
- {
6619
- "name": "click",
6620
- "description": "Emitted when NoticeBar is clicked",
6621
- "arguments": [
6622
- {
6623
- "name": "event",
6624
- "type": "MouseEvent"
6625
- }
6626
- ]
6627
- },
6628
- {
6629
- "name": "close",
6630
- "description": "Emitted when NoticeBar is closed",
6631
- "arguments": [
6632
- {
6633
- "name": "event",
6634
- "type": "MouseEvent"
6635
- }
6636
- ]
6637
- },
6638
- {
6639
- "name": "replay",
6640
- "description": "Emitted when NoticeBar is replayed",
6641
- "arguments": []
6642
- }
6643
- ],
6644
- "attributes": [
6645
- {
6646
- "name": "mode",
6647
- "default": "`''`",
6648
- "description": "Mode, can be set to `closeable` `link`",
6649
- "options": [],
6650
- "value": {
6651
- "type": "string",
6652
- "kind": "expression"
6653
- }
6654
- },
6655
- {
6656
- "name": "text",
6657
- "default": "`''`",
6658
- "description": "Notice text content",
6659
- "options": [],
6660
- "value": {
6661
- "type": "string",
6662
- "kind": "expression"
6663
- }
6664
- },
6665
- {
6666
- "name": "color",
6667
- "default": "`#ed6a0c`",
6668
- "description": "Text color",
6669
- "options": [],
6670
- "value": {
6671
- "type": "string",
6672
- "kind": "expression"
6673
- }
6674
- },
6675
- {
6676
- "name": "background",
6677
- "default": "`#fffbe8`",
6678
- "description": "Background color",
6679
- "options": [],
6680
- "value": {
6681
- "type": "string",
6682
- "kind": "expression"
6683
- }
6684
- },
6685
- {
6686
- "name": "left-icon",
6687
- "default": "-",
6688
- "description": "Left Icon",
6689
- "options": [],
6690
- "value": {
6691
- "type": "string",
6692
- "kind": "expression"
6693
- }
6694
- },
6695
- {
6696
- "name": "delay",
6697
- "default": "`1`",
6698
- "description": "Animation delay (s)",
6699
- "options": [],
6700
- "value": {
6701
- "type": "number | string",
6702
- "kind": "expression"
6703
- }
6704
- },
6705
- {
6706
- "name": "speed",
6707
- "default": "`60`",
6708
- "description": "Scroll speed (px/s)",
6709
- "options": [],
6710
- "value": {
6711
- "type": "number | string",
6712
- "kind": "expression"
6713
- }
6714
- },
6715
- {
6716
- "name": "scrollable",
6717
- "default": "-",
6718
- "description": "Whether to scroll content",
6719
- "options": [],
6720
- "value": {
6721
- "type": "boolean",
6722
- "kind": "expression"
6723
- }
6724
6752
  },
6725
6753
  {
6726
- "name": "wrapable",
6727
- "default": "`false`",
6728
- "description": "Whether to enable text wrap",
6754
+ "name": "clickable",
6755
+ "default": "`true`",
6756
+ "description": "Whether to show click feedback when the left or right content is clicked",
6729
6757
  "options": [],
6730
6758
  "value": {
6731
6759
  "type": "boolean",
@@ -7252,6 +7280,60 @@
7252
7280
  }
7253
7281
  ]
7254
7282
  },
7283
+ {
7284
+ "name": "van-picker-group",
7285
+ "slots": [
7286
+ {
7287
+ "name": "toolbar",
7288
+ "description": "Custom toolbar content"
7289
+ },
7290
+ {
7291
+ "name": "title",
7292
+ "description": "Custom title"
7293
+ },
7294
+ {
7295
+ "name": "confirm",
7296
+ "description": "Custom confirm button text"
7297
+ },
7298
+ {
7299
+ "name": "cancel",
7300
+ "description": "Custom cancel button text"
7301
+ }
7302
+ ],
7303
+ "events": [],
7304
+ "attributes": [
7305
+ {
7306
+ "name": "title",
7307
+ "default": "`''`",
7308
+ "description": "Toolbar title",
7309
+ "options": [],
7310
+ "value": {
7311
+ "type": "string",
7312
+ "kind": "expression"
7313
+ }
7314
+ },
7315
+ {
7316
+ "name": "confirm-button-text",
7317
+ "default": "`Confirm`",
7318
+ "description": "Text of confirm button",
7319
+ "options": [],
7320
+ "value": {
7321
+ "type": "string",
7322
+ "kind": "expression"
7323
+ }
7324
+ },
7325
+ {
7326
+ "name": "cancel-button-text",
7327
+ "default": "`Cancel`",
7328
+ "description": "Text of cancel button",
7329
+ "options": [],
7330
+ "value": {
7331
+ "type": "string",
7332
+ "kind": "expression"
7333
+ }
7334
+ }
7335
+ ]
7336
+ },
7255
7337
  {
7256
7338
  "name": "van-picker",
7257
7339
  "slots": [
@@ -7445,60 +7527,6 @@
7445
7527
  }
7446
7528
  ]
7447
7529
  },
7448
- {
7449
- "name": "van-picker-group",
7450
- "slots": [
7451
- {
7452
- "name": "toolbar",
7453
- "description": "Custom toolbar content"
7454
- },
7455
- {
7456
- "name": "title",
7457
- "description": "Custom title"
7458
- },
7459
- {
7460
- "name": "confirm",
7461
- "description": "Custom confirm button text"
7462
- },
7463
- {
7464
- "name": "cancel",
7465
- "description": "Custom cancel button text"
7466
- }
7467
- ],
7468
- "events": [],
7469
- "attributes": [
7470
- {
7471
- "name": "title",
7472
- "default": "`''`",
7473
- "description": "Toolbar title",
7474
- "options": [],
7475
- "value": {
7476
- "type": "string",
7477
- "kind": "expression"
7478
- }
7479
- },
7480
- {
7481
- "name": "confirm-button-text",
7482
- "default": "`Confirm`",
7483
- "description": "Text of confirm button",
7484
- "options": [],
7485
- "value": {
7486
- "type": "string",
7487
- "kind": "expression"
7488
- }
7489
- },
7490
- {
7491
- "name": "cancel-button-text",
7492
- "default": "`Cancel`",
7493
- "description": "Text of cancel button",
7494
- "options": [],
7495
- "value": {
7496
- "type": "string",
7497
- "kind": "expression"
7498
- }
7499
- }
7500
- ]
7501
- },
7502
7530
  {
7503
7531
  "name": "van-popover",
7504
7532
  "slots": [
@@ -9757,6 +9785,16 @@
9757
9785
  "kind": "expression"
9758
9786
  }
9759
9787
  },
9788
+ {
9789
+ "name": "auto-fixed",
9790
+ "default": "`true`",
9791
+ "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",
9792
+ "options": [],
9793
+ "value": {
9794
+ "type": "boolean",
9795
+ "kind": "expression"
9796
+ }
9797
+ },
9760
9798
  {
9761
9799
  "name": "default-value",
9762
9800
  "default": "`1`",