vant 2.12.37 → 2.12.38

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": "2.12.37",
5
+ "version": "2.12.38",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -253,6 +253,204 @@
253
253
  }
254
254
  ]
255
255
  },
256
+ {
257
+ "name": "van-action-sheet",
258
+ "slots": [
259
+ {
260
+ "name": "default",
261
+ "description": "自定义面板的展示内容"
262
+ },
263
+ {
264
+ "name": "description",
265
+ "description": "自定义描述文案"
266
+ }
267
+ ],
268
+ "events": [
269
+ {
270
+ "name": "select",
271
+ "description": "点击选项时触发,禁用或加载状态下不会触发"
272
+ },
273
+ {
274
+ "name": "cancel",
275
+ "description": "点击取消按钮时触发"
276
+ },
277
+ {
278
+ "name": "open",
279
+ "description": "打开面板时触发"
280
+ },
281
+ {
282
+ "name": "close",
283
+ "description": "关闭面板时触发"
284
+ },
285
+ {
286
+ "name": "opened",
287
+ "description": "打开面板且动画结束后触发"
288
+ },
289
+ {
290
+ "name": "closed",
291
+ "description": "关闭面板且动画结束后触发"
292
+ },
293
+ {
294
+ "name": "click-overlay",
295
+ "description": "点击遮罩层时触发"
296
+ }
297
+ ],
298
+ "attributes": [
299
+ {
300
+ "name": "v-model (value)",
301
+ "default": "`false`",
302
+ "description": "是否显示动作面板",
303
+ "value": {
304
+ "type": "boolean",
305
+ "kind": "expression"
306
+ }
307
+ },
308
+ {
309
+ "name": "actions",
310
+ "default": "`[]`",
311
+ "description": "面板选项列表",
312
+ "value": {
313
+ "type": "Action[]",
314
+ "kind": "expression"
315
+ }
316
+ },
317
+ {
318
+ "name": "title",
319
+ "default": "-",
320
+ "description": "顶部标题",
321
+ "value": {
322
+ "type": "string",
323
+ "kind": "expression"
324
+ }
325
+ },
326
+ {
327
+ "name": "cancel-text",
328
+ "default": "-",
329
+ "description": "取消按钮文字",
330
+ "value": {
331
+ "type": "string",
332
+ "kind": "expression"
333
+ }
334
+ },
335
+ {
336
+ "name": "description",
337
+ "default": "-",
338
+ "description": "选项上方的描述信息",
339
+ "value": {
340
+ "type": "string",
341
+ "kind": "expression"
342
+ }
343
+ },
344
+ {
345
+ "name": "closeable",
346
+ "default": "`true`",
347
+ "description": "是否显示关闭图标",
348
+ "value": {
349
+ "type": "boolean",
350
+ "kind": "expression"
351
+ }
352
+ },
353
+ {
354
+ "name": "close-icon",
355
+ "default": "`cross`",
356
+ "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
357
+ "value": {
358
+ "type": "string",
359
+ "kind": "expression"
360
+ }
361
+ },
362
+ {
363
+ "name": "duration",
364
+ "default": "`0.3`",
365
+ "description": "动画时长,单位秒",
366
+ "value": {
367
+ "type": "number | string",
368
+ "kind": "expression"
369
+ }
370
+ },
371
+ {
372
+ "name": "round",
373
+ "default": "`true`",
374
+ "description": "是否显示圆角",
375
+ "value": {
376
+ "type": "boolean",
377
+ "kind": "expression"
378
+ }
379
+ },
380
+ {
381
+ "name": "overlay",
382
+ "default": "`true`",
383
+ "description": "是否显示遮罩层",
384
+ "value": {
385
+ "type": "boolean",
386
+ "kind": "expression"
387
+ }
388
+ },
389
+ {
390
+ "name": "lock-scroll",
391
+ "default": "`true`",
392
+ "description": "是否锁定背景滚动",
393
+ "value": {
394
+ "type": "boolean",
395
+ "kind": "expression"
396
+ }
397
+ },
398
+ {
399
+ "name": "lazy-render",
400
+ "default": "`true`",
401
+ "description": "是否在显示弹层时才渲染节点",
402
+ "value": {
403
+ "type": "boolean",
404
+ "kind": "expression"
405
+ }
406
+ },
407
+ {
408
+ "name": "close-on-popstate",
409
+ "default": "`false`",
410
+ "description": "是否在页面回退时自动关闭",
411
+ "value": {
412
+ "type": "boolean",
413
+ "kind": "expression"
414
+ }
415
+ },
416
+ {
417
+ "name": "close-on-click-action",
418
+ "default": "`false`",
419
+ "description": "是否在点击选项后关闭",
420
+ "value": {
421
+ "type": "boolean",
422
+ "kind": "expression"
423
+ }
424
+ },
425
+ {
426
+ "name": "close-on-click-overlay",
427
+ "default": "`true`",
428
+ "description": "是否在点击遮罩层后关闭",
429
+ "value": {
430
+ "type": "boolean",
431
+ "kind": "expression"
432
+ }
433
+ },
434
+ {
435
+ "name": "safe-area-inset-bottom",
436
+ "default": "`true`",
437
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
438
+ "value": {
439
+ "type": "boolean",
440
+ "kind": "expression"
441
+ }
442
+ },
443
+ {
444
+ "name": "get-container",
445
+ "default": "-",
446
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
447
+ "value": {
448
+ "type": "string | () => Element",
449
+ "kind": "expression"
450
+ }
451
+ }
452
+ ]
453
+ },
256
454
  {
257
455
  "name": "van-address-list",
258
456
  "slots": [
@@ -417,6 +615,156 @@
417
615
  }
418
616
  ]
419
617
  },
618
+ {
619
+ "name": "van-area",
620
+ "slots": [
621
+ {
622
+ "name": "title",
623
+ "description": "自定义标题内容"
624
+ },
625
+ {
626
+ "name": "columns-top",
627
+ "description": "自定义选项上方内容"
628
+ },
629
+ {
630
+ "name": "columns-bottom",
631
+ "description": "自定义选项下方内容"
632
+ }
633
+ ],
634
+ "events": [
635
+ {
636
+ "name": "confirm",
637
+ "description": "点击右上方完成按钮"
638
+ },
639
+ {
640
+ "name": "cancel",
641
+ "description": "点击取消按钮时"
642
+ },
643
+ {
644
+ "name": "change",
645
+ "description": "选项改变时触发"
646
+ }
647
+ ],
648
+ "attributes": [
649
+ {
650
+ "name": "value",
651
+ "default": "-",
652
+ "description": "当前选中的省市区`code`",
653
+ "value": {
654
+ "type": "string",
655
+ "kind": "expression"
656
+ }
657
+ },
658
+ {
659
+ "name": "title",
660
+ "default": "-",
661
+ "description": "顶部栏标题",
662
+ "value": {
663
+ "type": "string",
664
+ "kind": "expression"
665
+ }
666
+ },
667
+ {
668
+ "name": "confirm-button-text",
669
+ "default": "`确认`",
670
+ "description": "确认按钮文字",
671
+ "value": {
672
+ "type": "string",
673
+ "kind": "expression"
674
+ }
675
+ },
676
+ {
677
+ "name": "cancel-button-text",
678
+ "default": "`取消`",
679
+ "description": "取消按钮文字",
680
+ "value": {
681
+ "type": "string",
682
+ "kind": "expression"
683
+ }
684
+ },
685
+ {
686
+ "name": "area-list",
687
+ "default": "-",
688
+ "description": "省市区数据,格式见下方",
689
+ "value": {
690
+ "type": "object",
691
+ "kind": "expression"
692
+ }
693
+ },
694
+ {
695
+ "name": "columns-placeholder",
696
+ "default": "`[]`",
697
+ "description": "列占位提示文字",
698
+ "value": {
699
+ "type": "string[]",
700
+ "kind": "expression"
701
+ }
702
+ },
703
+ {
704
+ "name": "loading",
705
+ "default": "`false`",
706
+ "description": "是否显示加载状态",
707
+ "value": {
708
+ "type": "boolean",
709
+ "kind": "expression"
710
+ }
711
+ },
712
+ {
713
+ "name": "readonly",
714
+ "default": "`false`",
715
+ "description": "是否为只读状态,只读状态下无法切换选项",
716
+ "value": {
717
+ "type": "boolean",
718
+ "kind": "expression"
719
+ }
720
+ },
721
+ {
722
+ "name": "item-height",
723
+ "default": "`44`",
724
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
725
+ "value": {
726
+ "type": "number | string",
727
+ "kind": "expression"
728
+ }
729
+ },
730
+ {
731
+ "name": "columns-num",
732
+ "default": "`3`",
733
+ "description": "显示列数,3-省市区,2-省市,1-省",
734
+ "value": {
735
+ "type": "number | string",
736
+ "kind": "expression"
737
+ }
738
+ },
739
+ {
740
+ "name": "visible-item-count",
741
+ "default": "`6`",
742
+ "description": "可见的选项个数",
743
+ "value": {
744
+ "type": "number | string",
745
+ "kind": "expression"
746
+ }
747
+ },
748
+ {
749
+ "name": "swipe-duration",
750
+ "default": "`1000`",
751
+ "description": "快速滑动时惯性滚动的时长,单位`ms`",
752
+ "value": {
753
+ "type": "number | string",
754
+ "kind": "expression"
755
+ }
756
+ },
757
+ {
758
+ "name": "is-oversea-code",
759
+ "default": "-",
760
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
761
+ "value": {
762
+ "type": "() => boolean",
763
+ "kind": "expression"
764
+ }
765
+ }
766
+ ]
767
+ },
420
768
  {
421
769
  "name": "van-button",
422
770
  "slots": [
@@ -608,187 +956,37 @@
608
956
  },
609
957
  {
610
958
  "name": "loading-size",
611
- "default": "`20px`",
612
- "description": "加载图标大小",
613
- "value": {
614
- "type": "string",
615
- "kind": "expression"
616
- }
617
- },
618
- {
619
- "name": "url",
620
- "default": "-",
621
- "description": "点击后跳转的链接地址",
622
- "value": {
623
- "type": "string",
624
- "kind": "expression"
625
- }
626
- },
627
- {
628
- "name": "to",
629
- "default": "-",
630
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
631
- "value": {
632
- "type": "string | object",
633
- "kind": "expression"
634
- }
635
- },
636
- {
637
- "name": "replace",
638
- "default": "`false`",
639
- "description": "是否在跳转时替换当前页面历史",
640
- "value": {
641
- "type": "boolean",
642
- "kind": "expression"
643
- }
644
- }
645
- ]
646
- },
647
- {
648
- "name": "van-area",
649
- "slots": [
650
- {
651
- "name": "title",
652
- "description": "自定义标题内容"
653
- },
654
- {
655
- "name": "columns-top",
656
- "description": "自定义选项上方内容"
657
- },
658
- {
659
- "name": "columns-bottom",
660
- "description": "自定义选项下方内容"
661
- }
662
- ],
663
- "events": [
664
- {
665
- "name": "confirm",
666
- "description": "点击右上方完成按钮"
667
- },
668
- {
669
- "name": "cancel",
670
- "description": "点击取消按钮时"
671
- },
672
- {
673
- "name": "change",
674
- "description": "选项改变时触发"
675
- }
676
- ],
677
- "attributes": [
678
- {
679
- "name": "value",
680
- "default": "-",
681
- "description": "当前选中的省市区`code`",
682
- "value": {
683
- "type": "string",
684
- "kind": "expression"
685
- }
686
- },
687
- {
688
- "name": "title",
689
- "default": "-",
690
- "description": "顶部栏标题",
691
- "value": {
692
- "type": "string",
693
- "kind": "expression"
694
- }
695
- },
696
- {
697
- "name": "confirm-button-text",
698
- "default": "`确认`",
699
- "description": "确认按钮文字",
700
- "value": {
701
- "type": "string",
702
- "kind": "expression"
703
- }
704
- },
705
- {
706
- "name": "cancel-button-text",
707
- "default": "`取消`",
708
- "description": "取消按钮文字",
709
- "value": {
710
- "type": "string",
711
- "kind": "expression"
712
- }
713
- },
714
- {
715
- "name": "area-list",
716
- "default": "-",
717
- "description": "省市区数据,格式见下方",
718
- "value": {
719
- "type": "object",
720
- "kind": "expression"
721
- }
722
- },
723
- {
724
- "name": "columns-placeholder",
725
- "default": "`[]`",
726
- "description": "列占位提示文字",
727
- "value": {
728
- "type": "string[]",
729
- "kind": "expression"
730
- }
731
- },
732
- {
733
- "name": "loading",
734
- "default": "`false`",
735
- "description": "是否显示加载状态",
736
- "value": {
737
- "type": "boolean",
738
- "kind": "expression"
739
- }
740
- },
741
- {
742
- "name": "readonly",
743
- "default": "`false`",
744
- "description": "是否为只读状态,只读状态下无法切换选项",
745
- "value": {
746
- "type": "boolean",
747
- "kind": "expression"
748
- }
749
- },
750
- {
751
- "name": "item-height",
752
- "default": "`44`",
753
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
754
- "value": {
755
- "type": "number | string",
756
- "kind": "expression"
757
- }
758
- },
759
- {
760
- "name": "columns-num",
761
- "default": "`3`",
762
- "description": "显示列数,3-省市区,2-省市,1-省",
959
+ "default": "`20px`",
960
+ "description": "加载图标大小",
763
961
  "value": {
764
- "type": "number | string",
962
+ "type": "string",
765
963
  "kind": "expression"
766
964
  }
767
965
  },
768
966
  {
769
- "name": "visible-item-count",
770
- "default": "`6`",
771
- "description": "可见的选项个数",
967
+ "name": "url",
968
+ "default": "-",
969
+ "description": "点击后跳转的链接地址",
772
970
  "value": {
773
- "type": "number | string",
971
+ "type": "string",
774
972
  "kind": "expression"
775
973
  }
776
974
  },
777
975
  {
778
- "name": "swipe-duration",
779
- "default": "`1000`",
780
- "description": "快速滑动时惯性滚动的时长,单位`ms`",
976
+ "name": "to",
977
+ "default": "-",
978
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
781
979
  "value": {
782
- "type": "number | string",
980
+ "type": "string | object",
783
981
  "kind": "expression"
784
982
  }
785
983
  },
786
984
  {
787
- "name": "is-oversea-code",
788
- "default": "-",
789
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类",
985
+ "name": "replace",
986
+ "default": "`false`",
987
+ "description": "是否在跳转时替换当前页面历史",
790
988
  "value": {
791
- "type": "() => boolean",
989
+ "type": "boolean",
792
990
  "kind": "expression"
793
991
  }
794
992
  }
@@ -1003,338 +1201,140 @@
1003
1201
  }
1004
1202
  },
1005
1203
  {
1006
- "name": "first-day-of-week",
1007
- "default": "`0`",
1008
- "description": "设置周起始日",
1009
- "value": {
1010
- "type": "0-6",
1011
- "kind": "expression"
1012
- }
1013
- }
1014
- ]
1015
- },
1016
- {
1017
- "name": "van-poppable",
1018
- "slots": [],
1019
- "events": [],
1020
- "attributes": [
1021
- {
1022
- "name": "v-model",
1023
- "default": "`false`",
1024
- "description": "是否显示日历弹窗",
1025
- "value": {
1026
- "type": "boolean",
1027
- "kind": "expression"
1028
- }
1029
- },
1030
- {
1031
- "name": "position",
1032
- "default": "`bottom`",
1033
- "description": "弹出位置,可选值为 `top` `right` `left`",
1034
- "value": {
1035
- "type": "string",
1036
- "kind": "expression"
1037
- }
1038
- },
1039
- {
1040
- "name": "round",
1041
- "default": "`true`",
1042
- "description": "是否显示圆角弹窗",
1043
- "value": {
1044
- "type": "boolean",
1045
- "kind": "expression"
1046
- }
1047
- },
1048
- {
1049
- "name": "close-on-popstate",
1050
- "default": "`true`",
1051
- "description": "是否在页面回退时自动关闭",
1052
- "value": {
1053
- "type": "boolean",
1054
- "kind": "expression"
1055
- }
1056
- },
1057
- {
1058
- "name": "close-on-click-overlay",
1059
- "default": "`true`",
1060
- "description": "是否在点击遮罩层后关闭",
1061
- "value": {
1062
- "type": "boolean",
1063
- "kind": "expression"
1064
- }
1065
- },
1066
- {
1067
- "name": "safe-area-inset-bottom",
1068
- "default": "`true`",
1069
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
1070
- "value": {
1071
- "type": "boolean",
1072
- "kind": "expression"
1073
- }
1074
- },
1075
- {
1076
- "name": "get-container",
1077
- "default": "-",
1078
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
1079
- "value": {
1080
- "type": "string | () => Element",
1081
- "kind": "expression"
1082
- }
1083
- }
1084
- ]
1085
- },
1086
- {
1087
- "name": "van-range",
1088
- "slots": [],
1089
- "events": [],
1090
- "attributes": [
1091
- {
1092
- "name": "max-range",
1093
- "default": "无限制",
1094
- "description": "日期区间最多可选天数",
1095
- "value": {
1096
- "type": "number | string",
1097
- "kind": "expression"
1098
- }
1099
- },
1100
- {
1101
- "name": "range-prompt",
1102
- "default": "`选择天数不能超过 xx 天`",
1103
- "description": "范围选择超过最多可选天数时的提示文案",
1104
- "value": {
1105
- "type": "string",
1106
- "kind": "expression"
1107
- }
1108
- },
1109
- {
1110
- "name": "allow-same-day",
1111
- "default": "`false`",
1112
- "description": "是否允许日期范围的起止时间为同一天",
1113
- "value": {
1114
- "type": "boolean",
1115
- "kind": "expression"
1116
- }
1117
- }
1118
- ]
1119
- },
1120
- {
1121
- "name": "van-multiple",
1122
- "slots": [],
1123
- "events": [],
1124
- "attributes": [
1125
- {
1126
- "name": "max-range",
1127
- "default": "无限制",
1128
- "description": "日期最多可选天数",
1129
- "value": {
1130
- "type": "number | string",
1131
- "kind": "expression"
1132
- }
1133
- },
1134
- {
1135
- "name": "range-prompt",
1136
- "default": "`选择天数不能超过 xx 天`",
1137
- "description": "选择超过最多可选天数时的提示文案",
1138
- "value": {
1139
- "type": "string",
1140
- "kind": "expression"
1141
- }
1142
- }
1143
- ]
1144
- },
1145
- {
1146
- "name": "van-action-sheet",
1147
- "slots": [
1148
- {
1149
- "name": "default",
1150
- "description": "自定义面板的展示内容"
1151
- },
1152
- {
1153
- "name": "description",
1154
- "description": "自定义描述文案"
1155
- }
1156
- ],
1157
- "events": [
1158
- {
1159
- "name": "select",
1160
- "description": "点击选项时触发,禁用或加载状态下不会触发"
1161
- },
1162
- {
1163
- "name": "cancel",
1164
- "description": "点击取消按钮时触发"
1165
- },
1166
- {
1167
- "name": "open",
1168
- "description": "打开面板时触发"
1169
- },
1170
- {
1171
- "name": "close",
1172
- "description": "关闭面板时触发"
1173
- },
1174
- {
1175
- "name": "opened",
1176
- "description": "打开面板且动画结束后触发"
1177
- },
1178
- {
1179
- "name": "closed",
1180
- "description": "关闭面板且动画结束后触发"
1181
- },
1182
- {
1183
- "name": "click-overlay",
1184
- "description": "点击遮罩层时触发"
1185
- }
1186
- ],
1187
- "attributes": [
1188
- {
1189
- "name": "v-model (value)",
1190
- "default": "`false`",
1191
- "description": "是否显示动作面板",
1192
- "value": {
1193
- "type": "boolean",
1194
- "kind": "expression"
1195
- }
1196
- },
1197
- {
1198
- "name": "actions",
1199
- "default": "`[]`",
1200
- "description": "面板选项列表",
1201
- "value": {
1202
- "type": "Action[]",
1203
- "kind": "expression"
1204
- }
1205
- },
1206
- {
1207
- "name": "title",
1208
- "default": "-",
1209
- "description": "顶部标题",
1210
- "value": {
1211
- "type": "string",
1212
- "kind": "expression"
1213
- }
1214
- },
1215
- {
1216
- "name": "cancel-text",
1217
- "default": "-",
1218
- "description": "取消按钮文字",
1219
- "value": {
1220
- "type": "string",
1221
- "kind": "expression"
1222
- }
1223
- },
1224
- {
1225
- "name": "description",
1226
- "default": "-",
1227
- "description": "选项上方的描述信息",
1228
- "value": {
1229
- "type": "string",
1230
- "kind": "expression"
1231
- }
1232
- },
1233
- {
1234
- "name": "closeable",
1235
- "default": "`true`",
1236
- "description": "是否显示关闭图标",
1204
+ "name": "first-day-of-week",
1205
+ "default": "`0`",
1206
+ "description": "设置周起始日",
1237
1207
  "value": {
1238
- "type": "boolean",
1208
+ "type": "0-6",
1239
1209
  "kind": "expression"
1240
1210
  }
1241
- },
1211
+ }
1212
+ ]
1213
+ },
1214
+ {
1215
+ "name": "van-poppable",
1216
+ "slots": [],
1217
+ "events": [],
1218
+ "attributes": [
1242
1219
  {
1243
- "name": "close-icon",
1244
- "default": "`cross`",
1245
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
1220
+ "name": "v-model",
1221
+ "default": "`false`",
1222
+ "description": "是否显示日历弹窗",
1246
1223
  "value": {
1247
- "type": "string",
1224
+ "type": "boolean",
1248
1225
  "kind": "expression"
1249
1226
  }
1250
1227
  },
1251
1228
  {
1252
- "name": "duration",
1253
- "default": "`0.3`",
1254
- "description": "动画时长,单位秒",
1229
+ "name": "position",
1230
+ "default": "`bottom`",
1231
+ "description": "弹出位置,可选值为 `top` `right` `left`",
1255
1232
  "value": {
1256
- "type": "number | string",
1233
+ "type": "string",
1257
1234
  "kind": "expression"
1258
1235
  }
1259
1236
  },
1260
1237
  {
1261
1238
  "name": "round",
1262
1239
  "default": "`true`",
1263
- "description": "是否显示圆角",
1240
+ "description": "是否显示圆角弹窗",
1264
1241
  "value": {
1265
1242
  "type": "boolean",
1266
1243
  "kind": "expression"
1267
1244
  }
1268
1245
  },
1269
1246
  {
1270
- "name": "overlay",
1247
+ "name": "close-on-popstate",
1271
1248
  "default": "`true`",
1272
- "description": "是否显示遮罩层",
1249
+ "description": "是否在页面回退时自动关闭",
1273
1250
  "value": {
1274
1251
  "type": "boolean",
1275
1252
  "kind": "expression"
1276
1253
  }
1277
1254
  },
1278
1255
  {
1279
- "name": "lock-scroll",
1256
+ "name": "close-on-click-overlay",
1280
1257
  "default": "`true`",
1281
- "description": "是否锁定背景滚动",
1258
+ "description": "是否在点击遮罩层后关闭",
1282
1259
  "value": {
1283
1260
  "type": "boolean",
1284
1261
  "kind": "expression"
1285
1262
  }
1286
1263
  },
1287
1264
  {
1288
- "name": "lazy-render",
1265
+ "name": "safe-area-inset-bottom",
1289
1266
  "default": "`true`",
1290
- "description": "是否在显示弹层时才渲染节点",
1267
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
1291
1268
  "value": {
1292
1269
  "type": "boolean",
1293
1270
  "kind": "expression"
1294
1271
  }
1295
1272
  },
1296
1273
  {
1297
- "name": "close-on-popstate",
1298
- "default": "`false`",
1299
- "description": "是否在页面回退时自动关闭",
1274
+ "name": "get-container",
1275
+ "default": "-",
1276
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
1300
1277
  "value": {
1301
- "type": "boolean",
1278
+ "type": "string | () => Element",
1302
1279
  "kind": "expression"
1303
1280
  }
1304
- },
1281
+ }
1282
+ ]
1283
+ },
1284
+ {
1285
+ "name": "van-range",
1286
+ "slots": [],
1287
+ "events": [],
1288
+ "attributes": [
1305
1289
  {
1306
- "name": "close-on-click-action",
1307
- "default": "`false`",
1308
- "description": "是否在点击选项后关闭",
1290
+ "name": "max-range",
1291
+ "default": "无限制",
1292
+ "description": "日期区间最多可选天数",
1309
1293
  "value": {
1310
- "type": "boolean",
1294
+ "type": "number | string",
1311
1295
  "kind": "expression"
1312
1296
  }
1313
1297
  },
1314
1298
  {
1315
- "name": "close-on-click-overlay",
1316
- "default": "`true`",
1317
- "description": "是否在点击遮罩层后关闭",
1299
+ "name": "range-prompt",
1300
+ "default": "`选择天数不能超过 xx 天`",
1301
+ "description": "范围选择超过最多可选天数时的提示文案",
1318
1302
  "value": {
1319
- "type": "boolean",
1303
+ "type": "string",
1320
1304
  "kind": "expression"
1321
1305
  }
1322
1306
  },
1323
1307
  {
1324
- "name": "safe-area-inset-bottom",
1325
- "default": "`true`",
1326
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
1308
+ "name": "allow-same-day",
1309
+ "default": "`false`",
1310
+ "description": "是否允许日期范围的起止时间为同一天",
1327
1311
  "value": {
1328
1312
  "type": "boolean",
1329
1313
  "kind": "expression"
1330
1314
  }
1315
+ }
1316
+ ]
1317
+ },
1318
+ {
1319
+ "name": "van-multiple",
1320
+ "slots": [],
1321
+ "events": [],
1322
+ "attributes": [
1323
+ {
1324
+ "name": "max-range",
1325
+ "default": "无限制",
1326
+ "description": "日期最多可选天数",
1327
+ "value": {
1328
+ "type": "number | string",
1329
+ "kind": "expression"
1330
+ }
1331
1331
  },
1332
1332
  {
1333
- "name": "get-container",
1334
- "default": "-",
1335
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
1333
+ "name": "range-prompt",
1334
+ "default": "`选择天数不能超过 xx 天`",
1335
+ "description": "选择超过最多可选天数时的提示文案",
1336
1336
  "value": {
1337
- "type": "string | () => Element",
1337
+ "type": "string",
1338
1338
  "kind": "expression"
1339
1339
  }
1340
1340
  }
@@ -5434,6 +5434,77 @@
5434
5434
  }
5435
5435
  ]
5436
5436
  },
5437
+ {
5438
+ "name": "van-overlay",
5439
+ "slots": [
5440
+ {
5441
+ "name": "default",
5442
+ "description": "默认插槽,用于在遮罩层上方嵌入内容"
5443
+ }
5444
+ ],
5445
+ "events": [
5446
+ {
5447
+ "name": "click",
5448
+ "description": "点击时触发"
5449
+ }
5450
+ ],
5451
+ "attributes": [
5452
+ {
5453
+ "name": "show",
5454
+ "default": "`false`",
5455
+ "description": "是否展示遮罩层",
5456
+ "value": {
5457
+ "type": "boolean",
5458
+ "kind": "expression"
5459
+ }
5460
+ },
5461
+ {
5462
+ "name": "z-index",
5463
+ "default": "`1`",
5464
+ "description": "z-index 层级",
5465
+ "value": {
5466
+ "type": "number | string",
5467
+ "kind": "expression"
5468
+ }
5469
+ },
5470
+ {
5471
+ "name": "duration",
5472
+ "default": "`0.3`",
5473
+ "description": "动画时长,单位秒",
5474
+ "value": {
5475
+ "type": "number | string",
5476
+ "kind": "expression"
5477
+ }
5478
+ },
5479
+ {
5480
+ "name": "class-name",
5481
+ "default": "-",
5482
+ "description": "自定义类名",
5483
+ "value": {
5484
+ "type": "string",
5485
+ "kind": "expression"
5486
+ }
5487
+ },
5488
+ {
5489
+ "name": "custom-style",
5490
+ "default": "-",
5491
+ "description": "自定义样式",
5492
+ "value": {
5493
+ "type": "object",
5494
+ "kind": "expression"
5495
+ }
5496
+ },
5497
+ {
5498
+ "name": "lock-scroll",
5499
+ "default": "`true`",
5500
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5501
+ "value": {
5502
+ "type": "boolean",
5503
+ "kind": "expression"
5504
+ }
5505
+ }
5506
+ ]
5507
+ },
5437
5508
  {
5438
5509
  "name": "van-number-keyboard",
5439
5510
  "slots": [
@@ -5623,77 +5694,6 @@
5623
5694
  }
5624
5695
  ]
5625
5696
  },
5626
- {
5627
- "name": "van-overlay",
5628
- "slots": [
5629
- {
5630
- "name": "default",
5631
- "description": "默认插槽,用于在遮罩层上方嵌入内容"
5632
- }
5633
- ],
5634
- "events": [
5635
- {
5636
- "name": "click",
5637
- "description": "点击时触发"
5638
- }
5639
- ],
5640
- "attributes": [
5641
- {
5642
- "name": "show",
5643
- "default": "`false`",
5644
- "description": "是否展示遮罩层",
5645
- "value": {
5646
- "type": "boolean",
5647
- "kind": "expression"
5648
- }
5649
- },
5650
- {
5651
- "name": "z-index",
5652
- "default": "`1`",
5653
- "description": "z-index 层级",
5654
- "value": {
5655
- "type": "number | string",
5656
- "kind": "expression"
5657
- }
5658
- },
5659
- {
5660
- "name": "duration",
5661
- "default": "`0.3`",
5662
- "description": "动画时长,单位秒",
5663
- "value": {
5664
- "type": "number | string",
5665
- "kind": "expression"
5666
- }
5667
- },
5668
- {
5669
- "name": "class-name",
5670
- "default": "-",
5671
- "description": "自定义类名",
5672
- "value": {
5673
- "type": "string",
5674
- "kind": "expression"
5675
- }
5676
- },
5677
- {
5678
- "name": "custom-style",
5679
- "default": "-",
5680
- "description": "自定义样式",
5681
- "value": {
5682
- "type": "object",
5683
- "kind": "expression"
5684
- }
5685
- },
5686
- {
5687
- "name": "lock-scroll",
5688
- "default": "`true`",
5689
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5690
- "value": {
5691
- "type": "boolean",
5692
- "kind": "expression"
5693
- }
5694
- }
5695
- ]
5696
- },
5697
5697
  {
5698
5698
  "name": "van-pagination",
5699
5699
  "slots": [
@@ -7839,6 +7839,14 @@
7839
7839
  {
7840
7840
  "name": "button",
7841
7841
  "description": "自定义滑动按钮"
7842
+ },
7843
+ {
7844
+ "name": "left-button",
7845
+ "description": "自定义左侧滑块按钮(双滑块模式下)"
7846
+ },
7847
+ {
7848
+ "name": "right-button",
7849
+ "description": "自定义右侧滑块按钮(双滑块模式下)"
7842
7850
  }
7843
7851
  ],
7844
7852
  "events": [