vant 2.12.46 → 2.12.49

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 (67) hide show
  1. package/README.md +11 -11
  2. package/README.zh-CN.md +9 -9
  3. package/changelog.generated.md +17 -5
  4. package/es/button/index.less +1 -1
  5. package/es/calendar/index.js +2 -2
  6. package/es/collapse-item/index.less +1 -1
  7. package/es/count-down/index.js +1 -1
  8. package/es/datetime-picker/DatePicker.js +1 -1
  9. package/es/datetime-picker/TimePicker.js +1 -1
  10. package/es/datetime-picker/shared.js +1 -1
  11. package/es/dialog/Dialog.js +4 -2
  12. package/es/field/index.js +3 -3
  13. package/es/grid-item/index.less +1 -1
  14. package/es/index.js +1 -1
  15. package/es/locale/lang/vi-VN.js +91 -0
  16. package/es/mixins/touch.js +1 -1
  17. package/es/nav-bar/index.js +1 -1
  18. package/es/notice-bar/index.js +1 -1
  19. package/es/number-keyboard/Key.js +1 -1
  20. package/es/picker/index.js +2 -2
  21. package/es/sidebar-item/index.less +1 -1
  22. package/es/step/index.js +26 -13
  23. package/es/stepper/index.js +1 -1
  24. package/es/steps/index.js +1 -0
  25. package/es/swipe/index.less +1 -1
  26. package/es/switch/index.less +1 -1
  27. package/es/switch-cell/index.js +1 -1
  28. package/es/tabbar/index.js +1 -1
  29. package/es/tabs/index.js +1 -1
  30. package/es/toast/index.less +1 -1
  31. package/es/utils/dom/scroll.js +2 -2
  32. package/es/utils/index.js +1 -1
  33. package/lib/button/index.less +1 -1
  34. package/lib/calendar/index.js +2 -2
  35. package/lib/collapse-item/index.less +1 -1
  36. package/lib/count-down/index.js +1 -1
  37. package/lib/datetime-picker/DatePicker.js +1 -1
  38. package/lib/datetime-picker/TimePicker.js +1 -1
  39. package/lib/datetime-picker/shared.js +1 -1
  40. package/lib/dialog/Dialog.js +4 -2
  41. package/lib/field/index.js +3 -3
  42. package/lib/grid-item/index.less +1 -1
  43. package/lib/index.js +1 -1
  44. package/lib/locale/lang/vi-VN.js +96 -0
  45. package/lib/mixins/touch.js +1 -1
  46. package/lib/nav-bar/index.js +1 -1
  47. package/lib/notice-bar/index.js +1 -1
  48. package/lib/number-keyboard/Key.js +1 -1
  49. package/lib/picker/index.js +2 -2
  50. package/lib/sidebar-item/index.less +1 -1
  51. package/lib/step/index.js +26 -13
  52. package/lib/stepper/index.js +1 -1
  53. package/lib/steps/index.js +1 -0
  54. package/lib/swipe/index.less +1 -1
  55. package/lib/switch/index.less +1 -1
  56. package/lib/switch-cell/index.js +1 -1
  57. package/lib/tabbar/index.js +1 -1
  58. package/lib/tabs/index.js +1 -1
  59. package/lib/toast/index.less +1 -1
  60. package/lib/utils/dom/scroll.js +2 -2
  61. package/lib/utils/index.js +1 -1
  62. package/lib/vant.js +999 -86
  63. package/lib/vant.min.js +2 -2
  64. package/package.json +3 -3
  65. package/vetur/attributes.json +328 -412
  66. package/vetur/tags.json +105 -171
  67. package/vetur/web-types.json +1068 -1182
@@ -67,6 +67,122 @@
67
67
  "type": "string | () => Element",
68
68
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
69
69
  },
70
+ "van-address-list/v-model": {
71
+ "type": "string",
72
+ "description": "当前选中地址的 id, 默认值: -"
73
+ },
74
+ "van-address-list/list": {
75
+ "type": "Address[]",
76
+ "description": "地址列表, 默认值: `[]`"
77
+ },
78
+ "van-address-list/disabled-list": {
79
+ "type": "Address[]",
80
+ "description": "不可配送地址列表, 默认值: `[]`"
81
+ },
82
+ "van-address-list/disabled-text": {
83
+ "type": "string",
84
+ "description": "不可配送提示文案, 默认值: -"
85
+ },
86
+ "van-address-list/switchable": {
87
+ "type": "boolean",
88
+ "description": "是否允许切换地址, 默认值: `true`"
89
+ },
90
+ "van-address-list/add-button-text": {
91
+ "type": "string",
92
+ "description": "底部按钮文字, 默认值: `新增地址`"
93
+ },
94
+ "van-address-list/default-tag-text": {
95
+ "type": "string",
96
+ "description": "默认地址标签文字, 默认值: -"
97
+ },
98
+ "van-address-edit/area-list": {
99
+ "type": "object",
100
+ "description": "地区列表, 默认值: -"
101
+ },
102
+ "van-address-edit/area-columns-placeholder": {
103
+ "type": "string[]",
104
+ "description": "地区选择列占位提示文字, 默认值: `[]`"
105
+ },
106
+ "van-address-edit/area-placeholder": {
107
+ "type": "string",
108
+ "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
109
+ },
110
+ "van-address-edit/address-info": {
111
+ "type": "AddressInfo",
112
+ "description": "收货人信息初始值, 默认值: `{}`"
113
+ },
114
+ "van-address-edit/search-result": {
115
+ "type": "SearchResult[]",
116
+ "description": "详细地址搜索结果, 默认值: `[]`"
117
+ },
118
+ "van-address-edit/show-postal": {
119
+ "type": "boolean",
120
+ "description": "是否显示邮政编码, 默认值: `false`"
121
+ },
122
+ "van-address-edit/show-delete": {
123
+ "type": "boolean",
124
+ "description": "是否显示删除按钮, 默认值: `false`"
125
+ },
126
+ "van-address-edit/show-set-default": {
127
+ "type": "boolean",
128
+ "description": "是否显示默认地址栏, 默认值: `false`"
129
+ },
130
+ "van-address-edit/show-search-result": {
131
+ "type": "boolean",
132
+ "description": "是否显示搜索结果, 默认值: `false`"
133
+ },
134
+ "van-address-edit/show-area": {
135
+ "type": "boolean",
136
+ "description": "是否显示地区, 默认值: `true`"
137
+ },
138
+ "van-address-edit/show-detail": {
139
+ "type": "boolean",
140
+ "description": "是否显示详细地址, 默认值: `true`"
141
+ },
142
+ "van-address-edit/disable-area": {
143
+ "type": "boolean",
144
+ "description": "是否禁用地区选择, 默认值: `false`"
145
+ },
146
+ "van-address-edit/save-button-text": {
147
+ "type": "string",
148
+ "description": "保存按钮文字, 默认值: `保存`"
149
+ },
150
+ "van-address-edit/delete-button-text": {
151
+ "type": "string",
152
+ "description": "删除按钮文字, 默认值: `删除`"
153
+ },
154
+ "van-address-edit/detail-rows": {
155
+ "type": "number | string",
156
+ "description": "详细地址输入框行数, 默认值: `1`"
157
+ },
158
+ "van-address-edit/detail-maxlength": {
159
+ "type": "number | string",
160
+ "description": "详细地址最大长度, 默认值: `200`"
161
+ },
162
+ "van-address-edit/is-saving": {
163
+ "type": "boolean",
164
+ "description": "是否显示保存按钮加载动画, 默认值: `false`"
165
+ },
166
+ "van-address-edit/is-deleting": {
167
+ "type": "boolean",
168
+ "description": "是否显示删除按钮加载动画, 默认值: `false`"
169
+ },
170
+ "van-address-edit/tel-validator": {
171
+ "type": "string => boolean",
172
+ "description": "手机号格式校验函数, 默认值: -"
173
+ },
174
+ "van-address-edit/tel-maxlength": {
175
+ "type": "number | string",
176
+ "description": "手机号最大长度, 默认值: -"
177
+ },
178
+ "van-address-edit/postal-validator": {
179
+ "type": "string => boolean",
180
+ "description": "邮政编码格式校验函数, 默认值: -"
181
+ },
182
+ "van-address-edit/validator": {
183
+ "type": "(key, val) => string",
184
+ "description": "自定义校验函数, 默认值: -"
185
+ },
70
186
  "van-area/value": {
71
187
  "type": "string",
72
188
  "description": "当前选中的省市区`code`, 默认值: -"
@@ -119,6 +235,22 @@
119
235
  "type": "() => boolean",
120
236
  "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
121
237
  },
238
+ "van-badge/content": {
239
+ "type": "number | string",
240
+ "description": "徽标内容, 默认值: -"
241
+ },
242
+ "van-badge/color": {
243
+ "type": "string",
244
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
245
+ },
246
+ "van-badge/dot": {
247
+ "type": "boolean",
248
+ "description": "是否展示为小红点, 默认值: `false`"
249
+ },
250
+ "van-badge/max": {
251
+ "type": "number | string",
252
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
253
+ },
122
254
  "van-button/type": {
123
255
  "type": "string",
124
256
  "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
@@ -279,54 +411,46 @@
279
411
  "type": "0-6",
280
412
  "description": "设置周起始日, 默认值: `0`"
281
413
  },
282
- "van-poppable/v-model": {
414
+ "van-calendar/v-model": {
283
415
  "type": "boolean",
284
416
  "description": "是否显示日历弹窗, 默认值: `false`"
285
417
  },
286
- "van-poppable/position": {
418
+ "van-calendar/position": {
287
419
  "type": "string",
288
420
  "description": "弹出位置,可选值为 `top` `right` `left`, 默认值: `bottom`"
289
421
  },
290
- "van-poppable/round": {
422
+ "van-calendar/round": {
291
423
  "type": "boolean",
292
424
  "description": "是否显示圆角弹窗, 默认值: `true`"
293
425
  },
294
- "van-poppable/close-on-popstate": {
426
+ "van-calendar/close-on-popstate": {
295
427
  "type": "boolean",
296
428
  "description": "是否在页面回退时自动关闭, 默认值: `true`"
297
429
  },
298
- "van-poppable/close-on-click-overlay": {
430
+ "van-calendar/close-on-click-overlay": {
299
431
  "type": "boolean",
300
432
  "description": "是否在点击遮罩层后关闭, 默认值: `true`"
301
433
  },
302
- "van-poppable/safe-area-inset-bottom": {
434
+ "van-calendar/safe-area-inset-bottom": {
303
435
  "type": "boolean",
304
436
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
305
437
  },
306
- "van-poppable/get-container": {
438
+ "van-calendar/get-container": {
307
439
  "type": "string | () => Element",
308
440
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
309
441
  },
310
- "van-range/max-range": {
442
+ "van-calendar/max-range": {
311
443
  "type": "number | string",
312
- "description": "日期区间最多可选天数, 默认值: 无限制"
444
+ "description": "日期最多可选天数, 默认值: 无限制"
313
445
  },
314
- "van-range/range-prompt": {
446
+ "van-calendar/range-prompt": {
315
447
  "type": "string",
316
- "description": "范围选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
448
+ "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
317
449
  },
318
- "van-range/allow-same-day": {
450
+ "van-calendar/allow-same-day": {
319
451
  "type": "boolean",
320
452
  "description": "是否允许日期范围的起止时间为同一天, 默认值: `false`"
321
453
  },
322
- "van-multiple/max-range": {
323
- "type": "number | string",
324
- "description": "日期最多可选天数, 默认值: 无限制"
325
- },
326
- "van-multiple/range-prompt": {
327
- "type": "string",
328
- "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
329
- },
330
454
  "van-card/thumb": {
331
455
  "type": "string",
332
456
  "description": "左侧图片 URL, 默认值: -"
@@ -371,110 +495,6 @@
371
495
  "type": "boolean",
372
496
  "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
373
497
  },
374
- "van-address-edit/area-list": {
375
- "type": "object",
376
- "description": "地区列表, 默认值: -"
377
- },
378
- "van-address-edit/area-columns-placeholder": {
379
- "type": "string[]",
380
- "description": "地区选择列占位提示文字, 默认值: `[]`"
381
- },
382
- "van-address-edit/area-placeholder": {
383
- "type": "string",
384
- "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
385
- },
386
- "van-address-edit/address-info": {
387
- "type": "AddressInfo",
388
- "description": "收货人信息初始值, 默认值: `{}`"
389
- },
390
- "van-address-edit/search-result": {
391
- "type": "SearchResult[]",
392
- "description": "详细地址搜索结果, 默认值: `[]`"
393
- },
394
- "van-address-edit/show-postal": {
395
- "type": "boolean",
396
- "description": "是否显示邮政编码, 默认值: `false`"
397
- },
398
- "van-address-edit/show-delete": {
399
- "type": "boolean",
400
- "description": "是否显示删除按钮, 默认值: `false`"
401
- },
402
- "van-address-edit/show-set-default": {
403
- "type": "boolean",
404
- "description": "是否显示默认地址栏, 默认值: `false`"
405
- },
406
- "van-address-edit/show-search-result": {
407
- "type": "boolean",
408
- "description": "是否显示搜索结果, 默认值: `false`"
409
- },
410
- "van-address-edit/show-area": {
411
- "type": "boolean",
412
- "description": "是否显示地区, 默认值: `true`"
413
- },
414
- "van-address-edit/show-detail": {
415
- "type": "boolean",
416
- "description": "是否显示详细地址, 默认值: `true`"
417
- },
418
- "van-address-edit/disable-area": {
419
- "type": "boolean",
420
- "description": "是否禁用地区选择, 默认值: `false`"
421
- },
422
- "van-address-edit/save-button-text": {
423
- "type": "string",
424
- "description": "保存按钮文字, 默认值: `保存`"
425
- },
426
- "van-address-edit/delete-button-text": {
427
- "type": "string",
428
- "description": "删除按钮文字, 默认值: `删除`"
429
- },
430
- "van-address-edit/detail-rows": {
431
- "type": "number | string",
432
- "description": "详细地址输入框行数, 默认值: `1`"
433
- },
434
- "van-address-edit/detail-maxlength": {
435
- "type": "number | string",
436
- "description": "详细地址最大长度, 默认值: `200`"
437
- },
438
- "van-address-edit/is-saving": {
439
- "type": "boolean",
440
- "description": "是否显示保存按钮加载动画, 默认值: `false`"
441
- },
442
- "van-address-edit/is-deleting": {
443
- "type": "boolean",
444
- "description": "是否显示删除按钮加载动画, 默认值: `false`"
445
- },
446
- "van-address-edit/tel-validator": {
447
- "type": "string => boolean",
448
- "description": "手机号格式校验函数, 默认值: -"
449
- },
450
- "van-address-edit/tel-maxlength": {
451
- "type": "number | string",
452
- "description": "手机号最大长度, 默认值: -"
453
- },
454
- "van-address-edit/postal-validator": {
455
- "type": "string => boolean",
456
- "description": "邮政编码格式校验函数, 默认值: -"
457
- },
458
- "van-address-edit/validator": {
459
- "type": "(key, val) => string",
460
- "description": "自定义校验函数, 默认值: -"
461
- },
462
- "van-badge/content": {
463
- "type": "number | string",
464
- "description": "徽标内容, 默认值: -"
465
- },
466
- "van-badge/color": {
467
- "type": "string",
468
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
469
- },
470
- "van-badge/dot": {
471
- "type": "boolean",
472
- "description": "是否展示为小红点, 默认值: `false`"
473
- },
474
- "van-badge/max": {
475
- "type": "number | string",
476
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
477
- },
478
498
  "van-cascader/title": {
479
499
  "type": "string",
480
500
  "description": "顶部标题, 默认值: -"
@@ -507,46 +527,14 @@
507
527
  "type": "object",
508
528
  "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
509
529
  },
510
- "van-address-list/v-model": {
511
- "type": "string",
512
- "description": "当前选中地址的 id, 默认值: -"
513
- },
514
- "van-address-list/list": {
515
- "type": "Address[]",
516
- "description": "地址列表, 默认值: `[]`"
517
- },
518
- "van-address-list/disabled-list": {
519
- "type": "Address[]",
520
- "description": "不可配送地址列表, 默认值: `[]`"
521
- },
522
- "van-address-list/disabled-text": {
523
- "type": "string",
524
- "description": "不可配送提示文案, 默认值: -"
525
- },
526
- "van-address-list/switchable": {
527
- "type": "boolean",
528
- "description": "是否允许切换地址, 默认值: `true`"
529
- },
530
- "van-address-list/add-button-text": {
531
- "type": "string",
532
- "description": "底部按钮文字, 默认值: `新增地址`"
533
- },
534
- "van-address-list/default-tag-text": {
535
- "type": "string",
536
- "description": "默认地址标签文字, 默认值: -"
537
- },
538
- "van-cell-group/title": {
539
- "type": "string",
540
- "description": "分组标题, 默认值: `-`"
541
- },
542
- "van-cell-group/border": {
543
- "type": "boolean",
544
- "description": "是否显示外边框, 默认值: `true`"
545
- },
546
530
  "van-cell/title": {
547
531
  "type": "number | string",
548
532
  "description": "左侧标题, 默认值: -"
549
533
  },
534
+ "van-cell/border": {
535
+ "type": "boolean",
536
+ "description": "是否显示内边框, 默认值: `true`"
537
+ },
550
538
  "van-cell/value": {
551
539
  "type": "number | string",
552
540
  "description": "右侧内容, 默认值: -"
@@ -575,10 +563,6 @@
575
563
  "type": "string | object",
576
564
  "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
577
565
  },
578
- "van-cell/border": {
579
- "type": "boolean",
580
- "description": "是否显示内边框, 默认值: `true`"
581
- },
582
566
  "van-cell/replace": {
583
567
  "type": "boolean",
584
568
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
@@ -620,8 +604,8 @@
620
604
  "description": "描述信息额外类名, 默认值: -"
621
605
  },
622
606
  "van-checkbox/v-model (value)": {
623
- "type": "boolean",
624
- "description": "是否为选中状态, 默认值: `false`"
607
+ "type": "any[]",
608
+ "description": "所有选中项的标识符, 默认值: -"
625
609
  },
626
610
  "van-checkbox/name": {
627
611
  "type": "any",
@@ -633,7 +617,7 @@
633
617
  },
634
618
  "van-checkbox/disabled": {
635
619
  "type": "boolean",
636
- "description": "是否禁用复选框, 默认值: `false`"
620
+ "description": "是否禁用所有复选框, 默认值: `false`"
637
621
  },
638
622
  "van-checkbox/label-disabled": {
639
623
  "type": "boolean",
@@ -645,40 +629,24 @@
645
629
  },
646
630
  "van-checkbox/icon-size": {
647
631
  "type": "number | string",
648
- "description": "图标大小,默认单位为 `px`, 默认值: `20px`"
632
+ "description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
649
633
  },
650
634
  "van-checkbox/checked-color": {
651
635
  "type": "string",
652
- "description": "选中状态颜色, 默认值: `#1989fa`"
636
+ "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
653
637
  },
654
638
  "van-checkbox/bind-group": {
655
639
  "type": "boolean",
656
640
  "description": "是否与复选框组绑定, 默认值: `true`"
657
641
  },
658
- "van-checkbox-group/v-model (value)": {
659
- "type": "any[]",
660
- "description": "所有选中项的标识符, 默认值: -"
661
- },
662
- "van-checkbox-group/disabled": {
663
- "type": "boolean",
664
- "description": "是否禁用所有复选框, 默认值: `false`"
665
- },
666
- "van-checkbox-group/max": {
642
+ "van-checkbox/max": {
667
643
  "type": "number | string",
668
644
  "description": "最大可选数,`0`为无限制, 默认值: `0`"
669
645
  },
670
- "van-checkbox-group/direction": {
646
+ "van-checkbox/direction": {
671
647
  "type": "string",
672
648
  "description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
673
649
  },
674
- "van-checkbox-group/icon-size": {
675
- "type": "number | string",
676
- "description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
677
- },
678
- "van-checkbox-group/checked-color": {
679
- "type": "string",
680
- "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
681
- },
682
650
  "van-circle/v-model": {
683
651
  "type": "number",
684
652
  "description": "当前进度, 默认值: -"
@@ -723,38 +691,34 @@
723
691
  "type": "boolean",
724
692
  "description": "是否顺时针增加, 默认值: `true`"
725
693
  },
726
- "van-row/type": {
694
+ "van-layout/type": {
727
695
  "type": "string",
728
696
  "description": "布局方式,可选值为`flex`, 默认值: -"
729
697
  },
730
- "van-row/gutter": {
698
+ "van-layout/gutter": {
731
699
  "type": "number | string",
732
700
  "description": "列元素之间的间距(单位为 px), 默认值: -"
733
701
  },
734
- "van-row/tag": {
702
+ "van-layout/tag": {
735
703
  "type": "string",
736
704
  "description": "自定义元素标签, 默认值: `div`"
737
705
  },
738
- "van-row/justify": {
706
+ "van-layout/justify": {
739
707
  "type": "string",
740
708
  "description": "Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`, 默认值: `start`"
741
709
  },
742
- "van-row/align": {
710
+ "van-layout/align": {
743
711
  "type": "string",
744
712
  "description": "Flex 交叉轴对齐方式,可选值为 `center` `bottom`, 默认值: `top`"
745
713
  },
746
- "van-col/span": {
714
+ "van-layout/span": {
747
715
  "type": "number | string",
748
716
  "description": "列元素宽度, 默认值: -"
749
717
  },
750
- "van-col/offset": {
718
+ "van-layout/offset": {
751
719
  "type": "number | string",
752
720
  "description": "列元素偏移距离, 默认值: -"
753
721
  },
754
- "van-col/tag": {
755
- "type": "string",
756
- "description": "自定义元素标签, 默认值: `div`"
757
- },
758
722
  "van-collapse/v-model": {
759
723
  "type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
760
724
  "description": "当前展开面板的 name, 默认值: string)[]_"
@@ -765,57 +729,53 @@
765
729
  },
766
730
  "van-collapse/border": {
767
731
  "type": "boolean",
768
- "description": "是否显示外边框, 默认值: `true`"
732
+ "description": "是否显示内边框, 默认值: `true`"
769
733
  },
770
- "van-collapse-item/name": {
734
+ "van-collapse/name": {
771
735
  "type": "number | string",
772
736
  "description": "唯一标识符,默认为索引值, 默认值: `index`"
773
737
  },
774
- "van-collapse-item/icon": {
738
+ "van-collapse/icon": {
775
739
  "type": "string",
776
740
  "description": "标题栏左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
777
741
  },
778
- "van-collapse-item/size": {
742
+ "van-collapse/size": {
779
743
  "type": "string",
780
744
  "description": "标题栏大小,可选值为 `large`, 默认值: -"
781
745
  },
782
- "van-collapse-item/title": {
746
+ "van-collapse/title": {
783
747
  "type": "number | string",
784
748
  "description": "标题栏左侧内容, 默认值: -"
785
749
  },
786
- "van-collapse-item/value": {
750
+ "van-collapse/value": {
787
751
  "type": "number | string",
788
752
  "description": "标题栏右侧内容, 默认值: -"
789
753
  },
790
- "van-collapse-item/label": {
754
+ "van-collapse/label": {
791
755
  "type": "number | string",
792
756
  "description": "标题栏描述信息, 默认值: -"
793
757
  },
794
- "van-collapse-item/border": {
795
- "type": "boolean",
796
- "description": "是否显示内边框, 默认值: `true`"
797
- },
798
- "van-collapse-item/is-link": {
758
+ "van-collapse/is-link": {
799
759
  "type": "boolean",
800
760
  "description": "是否展示标题栏右侧箭头并开启点击反馈, 默认值: `true`"
801
761
  },
802
- "van-collapse-item/disabled": {
762
+ "van-collapse/disabled": {
803
763
  "type": "boolean",
804
764
  "description": "是否禁用面板, 默认值: `false`"
805
765
  },
806
- "van-collapse-item/lazy-render": {
766
+ "van-collapse/lazy-render": {
807
767
  "type": "boolean",
808
768
  "description": "是否在首次展开时才渲染面板内容, 默认值: `true`"
809
769
  },
810
- "van-collapse-item/title-class": {
770
+ "van-collapse/title-class": {
811
771
  "type": "string",
812
772
  "description": "左侧标题额外类名, 默认值: -"
813
773
  },
814
- "van-collapse-item/value-class": {
774
+ "van-collapse/value-class": {
815
775
  "type": "string",
816
776
  "description": "右侧内容额外类名, 默认值: -"
817
777
  },
818
- "van-collapse-item/label-class": {
778
+ "van-collapse/label-class": {
819
779
  "type": "string",
820
780
  "description": "描述信息额外类名, 默认值: -"
821
781
  },
@@ -835,6 +795,22 @@
835
795
  "type": "string",
836
796
  "description": "添加时的文案提示, 默认值: `添加联系人`"
837
797
  },
798
+ "van-contact-list/v-model": {
799
+ "type": "number | string",
800
+ "description": "当前选中联系人的 id, 默认值: -"
801
+ },
802
+ "van-contact-list/list": {
803
+ "type": "Contact[]",
804
+ "description": "联系人列表, 默认值: `[]`"
805
+ },
806
+ "van-contact-list/add-text": {
807
+ "type": "string",
808
+ "description": "新建按钮文案, 默认值: `新建联系人`"
809
+ },
810
+ "van-contact-list/default-tag-text": {
811
+ "type": "string",
812
+ "description": "默认联系人标签文案, 默认值: -"
813
+ },
838
814
  "van-contact-edit/contact-info": {
839
815
  "type": "Contact",
840
816
  "description": "联系人信息, 默认值: `{}`"
@@ -863,22 +839,6 @@
863
839
  "type": "string",
864
840
  "description": "默认联系人栏文案, 默认值: -"
865
841
  },
866
- "van-contact-list/v-model": {
867
- "type": "number | string",
868
- "description": "当前选中联系人的 id, 默认值: -"
869
- },
870
- "van-contact-list/list": {
871
- "type": "Contact[]",
872
- "description": "联系人列表, 默认值: `[]`"
873
- },
874
- "van-contact-list/add-text": {
875
- "type": "string",
876
- "description": "新建按钮文案, 默认值: `新建联系人`"
877
- },
878
- "van-contact-list/default-tag-text": {
879
- "type": "string",
880
- "description": "默认联系人标签文案, 默认值: -"
881
- },
882
842
  "van-count-down/time": {
883
843
  "type": "number | string",
884
844
  "description": "倒计时时长,单位毫秒, 默认值: `0`"
@@ -895,99 +855,87 @@
895
855
  "type": "boolean",
896
856
  "description": "是否开启毫秒级渲染, 默认值: `false`"
897
857
  },
898
- "van-coupon-cell/title": {
858
+ "van-coupon/title": {
899
859
  "type": "string",
900
860
  "description": "单元格标题, 默认值: `优惠券`"
901
861
  },
902
- "van-coupon-cell/chosen-coupon": {
903
- "type": "number | string",
862
+ "van-coupon/chosen-coupon": {
863
+ "type": "number",
904
864
  "description": "当前选中优惠券的索引, 默认值: `-1`"
905
865
  },
906
- "van-coupon-cell/coupons": {
866
+ "van-coupon/coupons": {
907
867
  "type": "Coupon[]",
908
868
  "description": "可用优惠券列表, 默认值: `[]`"
909
869
  },
910
- "van-coupon-cell/editable": {
870
+ "van-coupon/editable": {
911
871
  "type": "boolean",
912
872
  "description": "能否切换优惠券, 默认值: `true`"
913
873
  },
914
- "van-coupon-cell/border": {
874
+ "van-coupon/border": {
915
875
  "type": "boolean",
916
876
  "description": "是否显示内边框, 默认值: `true`"
917
877
  },
918
- "van-coupon-cell/currency": {
878
+ "van-coupon/currency": {
919
879
  "type": "string",
920
880
  "description": "货币符号, 默认值: `¥`"
921
881
  },
922
- "van-coupon-list/v-model": {
882
+ "van-coupon/v-model": {
923
883
  "type": "string",
924
884
  "description": "当前输入的兑换码, 默认值: -"
925
885
  },
926
- "van-coupon-list/chosen-coupon": {
927
- "type": "number",
928
- "description": "当前选中优惠券的索引, 默认值: `-1`"
929
- },
930
- "van-coupon-list/coupons": {
931
- "type": "Coupon[]",
932
- "description": "可用优惠券列表, 默认值: `[]`"
933
- },
934
- "van-coupon-list/disabled-coupons": {
886
+ "van-coupon/disabled-coupons": {
935
887
  "type": "Coupon[]",
936
888
  "description": "不可用优惠券列表, 默认值: `[]`"
937
889
  },
938
- "van-coupon-list/enabled-title": {
890
+ "van-coupon/enabled-title": {
939
891
  "type": "string",
940
892
  "description": "可用优惠券列表标题, 默认值: `可使用优惠券`"
941
893
  },
942
- "van-coupon-list/disabled-title": {
894
+ "van-coupon/disabled-title": {
943
895
  "type": "string",
944
896
  "description": "不可用优惠券列表标题, 默认值: `不可使用优惠券`"
945
897
  },
946
- "van-coupon-list/exchange-button-text": {
898
+ "van-coupon/exchange-button-text": {
947
899
  "type": "string",
948
900
  "description": "兑换按钮文字, 默认值: `兑换`"
949
901
  },
950
- "van-coupon-list/exchange-button-loading": {
902
+ "van-coupon/exchange-button-loading": {
951
903
  "type": "boolean",
952
904
  "description": "是否显示兑换按钮加载动画, 默认值: `false`"
953
905
  },
954
- "van-coupon-list/exchange-button-disabled": {
906
+ "van-coupon/exchange-button-disabled": {
955
907
  "type": "boolean",
956
908
  "description": "是否禁用兑换按钮, 默认值: `false`"
957
909
  },
958
- "van-coupon-list/exchange-min-length": {
910
+ "van-coupon/exchange-min-length": {
959
911
  "type": "number",
960
912
  "description": "兑换码最小长度, 默认值: `1`"
961
913
  },
962
- "van-coupon-list/displayed-coupon-index": {
914
+ "van-coupon/displayed-coupon-index": {
963
915
  "type": "number",
964
916
  "description": "滚动至特定优惠券位置, 默认值: -"
965
917
  },
966
- "van-coupon-list/show-close-button": {
918
+ "van-coupon/show-close-button": {
967
919
  "type": "boolean",
968
920
  "description": "是否显示列表底部按钮, 默认值: `true`"
969
921
  },
970
- "van-coupon-list/close-button-text": {
922
+ "van-coupon/close-button-text": {
971
923
  "type": "string",
972
924
  "description": "列表底部按钮文字, 默认值: `不使用优惠`"
973
925
  },
974
- "van-coupon-list/input-placeholder": {
926
+ "van-coupon/input-placeholder": {
975
927
  "type": "string",
976
928
  "description": "输入框文字提示, 默认值: `请输入优惠码`"
977
929
  },
978
- "van-coupon-list/show-exchange-bar": {
930
+ "van-coupon/show-exchange-bar": {
979
931
  "type": "boolean",
980
932
  "description": "是否展示兑换栏, 默认值: `true`"
981
933
  },
982
- "van-coupon-list/currency": {
983
- "type": "string",
984
- "description": "货币符号, 默认值: `¥`"
985
- },
986
- "van-coupon-list/empty-image": {
934
+ "van-coupon/empty-image": {
987
935
  "type": "string",
988
936
  "description": "列表为空时的占位图, 默认值: `https://img01.yzcdn.cn/vant/coupon-empty.png`"
989
937
  },
990
- "van-coupon-list/show-count": {
938
+ "van-coupon/show-count": {
991
939
  "type": "boolean",
992
940
  "description": "是否展示可用 / 不可用数量, 默认值: `true`"
993
941
  },
@@ -1043,27 +991,27 @@
1043
991
  "type": "number | string",
1044
992
  "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1045
993
  },
1046
- "van-date-picker/min-date": {
994
+ "van-datetime-picker/min-date": {
1047
995
  "type": "Date",
1048
996
  "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1049
997
  },
1050
- "van-date-picker/max-date": {
998
+ "van-datetime-picker/max-date": {
1051
999
  "type": "Date",
1052
1000
  "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1053
1001
  },
1054
- "van-time-picker/min-hour": {
1002
+ "van-datetime-picker/min-hour": {
1055
1003
  "type": "number | string",
1056
1004
  "description": "可选的最小小时, 默认值: `0`"
1057
1005
  },
1058
- "van-time-picker/max-hour": {
1006
+ "van-datetime-picker/max-hour": {
1059
1007
  "type": "number | string",
1060
1008
  "description": "可选的最大小时, 默认值: `23`"
1061
1009
  },
1062
- "van-time-picker/min-minute": {
1010
+ "van-datetime-picker/min-minute": {
1063
1011
  "type": "number | string",
1064
1012
  "description": "可选的最小分钟, 默认值: `0`"
1065
1013
  },
1066
- "van-time-picker/max-minute": {
1014
+ "van-datetime-picker/max-minute": {
1067
1015
  "type": "number | string",
1068
1016
  "description": "可选的最大分钟, 默认值: `59`"
1069
1017
  },
@@ -1199,31 +1147,31 @@
1199
1147
  "type": "boolean",
1200
1148
  "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
1201
1149
  },
1202
- "van-dropdown-item/value": {
1150
+ "van-dropdown-menu/value": {
1203
1151
  "type": "number | string",
1204
1152
  "description": "当前选中项对应的 value,可以通过`v-model`双向绑定, 默认值: -"
1205
1153
  },
1206
- "van-dropdown-item/title": {
1154
+ "van-dropdown-menu/title": {
1207
1155
  "type": "string",
1208
1156
  "description": "菜单项标题, 默认值: 当前选中项文字"
1209
1157
  },
1210
- "van-dropdown-item/options": {
1158
+ "van-dropdown-menu/options": {
1211
1159
  "type": "Option[]",
1212
1160
  "description": "选项数组, 默认值: `[]`"
1213
1161
  },
1214
- "van-dropdown-item/disabled": {
1162
+ "van-dropdown-menu/disabled": {
1215
1163
  "type": "boolean",
1216
1164
  "description": "是否禁用菜单, 默认值: `false`"
1217
1165
  },
1218
- "van-dropdown-item/lazy-render": {
1166
+ "van-dropdown-menu/lazy-render": {
1219
1167
  "type": "boolean",
1220
1168
  "description": "是否在首次展开时才渲染菜单内容, 默认值: `true`"
1221
1169
  },
1222
- "van-dropdown-item/title-class": {
1170
+ "van-dropdown-menu/title-class": {
1223
1171
  "type": "string",
1224
1172
  "description": "标题额外类名, 默认值: -"
1225
1173
  },
1226
- "van-dropdown-item/get-container": {
1174
+ "van-dropdown-menu/get-container": {
1227
1175
  "type": "string | () => Element",
1228
1176
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1229
1177
  },
@@ -1435,82 +1383,58 @@
1435
1383
  "type": "boolean",
1436
1384
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1437
1385
  },
1438
- "van-goods-action-icon/text": {
1386
+ "van-goods-action/text": {
1439
1387
  "type": "string",
1440
1388
  "description": "按钮文字, 默认值: -"
1441
1389
  },
1442
- "van-goods-action-icon/icon": {
1390
+ "van-goods-action/icon": {
1443
1391
  "type": "string",
1444
- "description": "图标, 默认值: -"
1392
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1445
1393
  },
1446
- "van-goods-action-icon/color": {
1394
+ "van-goods-action/color": {
1447
1395
  "type": "string",
1448
- "description": "图标颜色, 默认值: `#323233`"
1396
+ "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1449
1397
  },
1450
- "van-goods-action-icon/icon-class": {
1398
+ "van-goods-action/icon-class": {
1451
1399
  "type": "any",
1452
1400
  "description": "图标额外类名, 默认值: -"
1453
1401
  },
1454
- "van-goods-action-icon/dot": {
1402
+ "van-goods-action/dot": {
1455
1403
  "type": "boolean",
1456
1404
  "description": "是否显示图标右上角小红点, 默认值: `false`"
1457
1405
  },
1458
- "van-goods-action-icon/badge": {
1406
+ "van-goods-action/badge": {
1459
1407
  "type": "number | string",
1460
1408
  "description": "图标右上角徽标的内容, 默认值: -"
1461
1409
  },
1462
- "van-goods-action-icon/info": {
1410
+ "van-goods-action/info": {
1463
1411
  "type": "number | string",
1464
1412
  "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1465
1413
  },
1466
- "van-goods-action-icon/url": {
1414
+ "van-goods-action/url": {
1467
1415
  "type": "string",
1468
1416
  "description": "点击后跳转的链接地址, 默认值: -"
1469
1417
  },
1470
- "van-goods-action-icon/to": {
1418
+ "van-goods-action/to": {
1471
1419
  "type": "string | object",
1472
1420
  "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1473
1421
  },
1474
- "van-goods-action-icon/replace": {
1422
+ "van-goods-action/replace": {
1475
1423
  "type": "boolean",
1476
1424
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1477
1425
  },
1478
- "van-goods-action-button/text": {
1479
- "type": "string",
1480
- "description": "按钮文字, 默认值: -"
1481
- },
1482
- "van-goods-action-button/type": {
1426
+ "van-goods-action/type": {
1483
1427
  "type": "string",
1484
1428
  "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
1485
1429
  },
1486
- "van-goods-action-button/color": {
1487
- "type": "string",
1488
- "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1489
- },
1490
- "van-goods-action-button/icon": {
1491
- "type": "string",
1492
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1493
- },
1494
- "van-goods-action-button/disabled": {
1430
+ "van-goods-action/disabled": {
1495
1431
  "type": "boolean",
1496
1432
  "description": "是否禁用按钮, 默认值: `false`"
1497
1433
  },
1498
- "van-goods-action-button/loading": {
1434
+ "van-goods-action/loading": {
1499
1435
  "type": "boolean",
1500
1436
  "description": "是否显示为加载状态, 默认值: `false`"
1501
1437
  },
1502
- "van-goods-action-button/url": {
1503
- "type": "string",
1504
- "description": "点击后跳转的链接地址, 默认值: -"
1505
- },
1506
- "van-goods-action-button/to": {
1507
- "type": "string | object",
1508
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1509
- },
1510
- "van-goods-action-button/replace": {
1511
- "type": "boolean",
1512
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1513
- },
1514
1438
  "van-grid/column-num": {
1515
1439
  "type": "number | string",
1516
1440
  "description": "列数, 默认值: `4`"
@@ -1543,74 +1467,42 @@
1543
1467
  "type": "string",
1544
1468
  "description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
1545
1469
  },
1546
- "van-grid-item/text": {
1470
+ "van-grid/text": {
1547
1471
  "type": "string",
1548
1472
  "description": "文字, 默认值: -"
1549
1473
  },
1550
- "van-grid-item/icon": {
1474
+ "van-grid/icon": {
1551
1475
  "type": "string",
1552
1476
  "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1553
1477
  },
1554
- "van-grid-item/icon-prefix": {
1478
+ "van-grid/icon-prefix": {
1555
1479
  "type": "string",
1556
1480
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1557
1481
  },
1558
- "van-grid-item/dot": {
1482
+ "van-grid/dot": {
1559
1483
  "type": "boolean",
1560
1484
  "description": "是否显示图标右上角小红点, 默认值: `false`"
1561
1485
  },
1562
- "van-grid-item/badge": {
1486
+ "van-grid/badge": {
1563
1487
  "type": "number | string",
1564
1488
  "description": "图标右上角徽标的内容, 默认值: -"
1565
1489
  },
1566
- "van-grid-item/info": {
1490
+ "van-grid/info": {
1567
1491
  "type": "number | string",
1568
1492
  "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1569
1493
  },
1570
- "van-grid-item/url": {
1494
+ "van-grid/url": {
1571
1495
  "type": "string",
1572
1496
  "description": "点击后跳转的链接地址, 默认值: -"
1573
1497
  },
1574
- "van-grid-item/to": {
1498
+ "van-grid/to": {
1575
1499
  "type": "string | object",
1576
1500
  "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1577
1501
  },
1578
- "van-grid-item/replace": {
1502
+ "van-grid/replace": {
1579
1503
  "type": "boolean",
1580
1504
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1581
1505
  },
1582
- "van-icon/name": {
1583
- "type": "string",
1584
- "description": "图标名称或图片链接, 默认值: -"
1585
- },
1586
- "van-icon/dot": {
1587
- "type": "boolean",
1588
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1589
- },
1590
- "van-icon/badge": {
1591
- "type": "number | string",
1592
- "description": "图标右上角徽标的内容, 默认值: -"
1593
- },
1594
- "van-icon/info": {
1595
- "type": "number | string",
1596
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1597
- },
1598
- "van-icon/color": {
1599
- "type": "string",
1600
- "description": "图标颜色, 默认值: `inherit`"
1601
- },
1602
- "van-icon/size": {
1603
- "type": "number | string",
1604
- "description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
1605
- },
1606
- "van-icon/class-prefix": {
1607
- "type": "string",
1608
- "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1609
- },
1610
- "van-icon/tag": {
1611
- "type": "string",
1612
- "description": "HTML 标签, 默认值: `i`"
1613
- },
1614
1506
  "van-image/src": {
1615
1507
  "type": "string",
1616
1508
  "description": "图片链接, 默认值: -"
@@ -1663,6 +1555,38 @@
1663
1555
  "type": "string",
1664
1556
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1665
1557
  },
1558
+ "van-icon/name": {
1559
+ "type": "string",
1560
+ "description": "图标名称或图片链接, 默认值: -"
1561
+ },
1562
+ "van-icon/dot": {
1563
+ "type": "boolean",
1564
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1565
+ },
1566
+ "van-icon/badge": {
1567
+ "type": "number | string",
1568
+ "description": "图标右上角徽标的内容, 默认值: -"
1569
+ },
1570
+ "van-icon/info": {
1571
+ "type": "number | string",
1572
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1573
+ },
1574
+ "van-icon/color": {
1575
+ "type": "string",
1576
+ "description": "图标颜色, 默认值: `inherit`"
1577
+ },
1578
+ "van-icon/size": {
1579
+ "type": "number | string",
1580
+ "description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
1581
+ },
1582
+ "van-icon/class-prefix": {
1583
+ "type": "string",
1584
+ "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1585
+ },
1586
+ "van-icon/tag": {
1587
+ "type": "string",
1588
+ "description": "HTML 标签, 默认值: `i`"
1589
+ },
1666
1590
  "van-image-preview/images": {
1667
1591
  "type": "string[]",
1668
1592
  "description": "需要预览的图片 URL 数组, 默认值: `[]`"
@@ -1751,7 +1675,7 @@
1751
1675
  "type": "string",
1752
1676
  "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1753
1677
  },
1754
- "van-index-anchor/index": {
1678
+ "van-index-bar/index": {
1755
1679
  "type": "number | string",
1756
1680
  "description": "索引字符, 默认值: -"
1757
1681
  },
@@ -2309,7 +2233,7 @@
2309
2233
  },
2310
2234
  "van-radio/disabled": {
2311
2235
  "type": "boolean",
2312
- "description": "是否为禁用状态, 默认值: `false`"
2236
+ "description": "是否禁用所有单选框, 默认值: `false`"
2313
2237
  },
2314
2238
  "van-radio/label-disabled": {
2315
2239
  "type": "boolean",
@@ -2321,32 +2245,20 @@
2321
2245
  },
2322
2246
  "van-radio/icon-size": {
2323
2247
  "type": "number | string",
2324
- "description": "图标大小,默认单位为`px`, 默认值: `20px`"
2248
+ "description": "所有单选框的图标大小,默认单位为`px`, 默认值: `20px`"
2325
2249
  },
2326
2250
  "van-radio/checked-color": {
2327
2251
  "type": "string",
2328
- "description": "选中状态颜色, 默认值: `#1989fa`"
2252
+ "description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
2329
2253
  },
2330
- "van-radio-group/v-model (value)": {
2254
+ "van-radio/v-model (value)": {
2331
2255
  "type": "any",
2332
2256
  "description": "当前选中项的标识符, 默认值: -"
2333
2257
  },
2334
- "van-radio-group/disabled": {
2335
- "type": "boolean",
2336
- "description": "是否禁用所有单选框, 默认值: `false`"
2337
- },
2338
- "van-radio-group/direction": {
2258
+ "van-radio/direction": {
2339
2259
  "type": "string",
2340
2260
  "description": "排列方向,可选值为`horizontal`, 默认值: `vertical`"
2341
2261
  },
2342
- "van-radio-group/icon-size": {
2343
- "type": "number | string",
2344
- "description": "所有单选框的图标大小,默认单位为`px`, 默认值: `20px`"
2345
- },
2346
- "van-radio-group/checked-color": {
2347
- "type": "string",
2348
- "description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
2349
- },
2350
2262
  "van-rate/v-model": {
2351
2263
  "type": "number",
2352
2264
  "description": "当前分值, 默认值: -"
@@ -2519,35 +2431,35 @@
2519
2431
  "type": "number | string",
2520
2432
  "description": "当前导航项的索引, 默认值: `0`"
2521
2433
  },
2522
- "van-sidebar-item/title": {
2434
+ "van-sidebar/title": {
2523
2435
  "type": "string",
2524
2436
  "description": "内容, 默认值: `''`"
2525
2437
  },
2526
- "van-sidebar-item/dot": {
2438
+ "van-sidebar/dot": {
2527
2439
  "type": "boolean",
2528
2440
  "description": "是否显示右上角小红点, 默认值: `false`"
2529
2441
  },
2530
- "van-sidebar-item/badge": {
2442
+ "van-sidebar/badge": {
2531
2443
  "type": "number | string",
2532
2444
  "description": "图标右上角徽标的内容, 默认值: -"
2533
2445
  },
2534
- "van-sidebar-item/info": {
2446
+ "van-sidebar/info": {
2535
2447
  "type": "number | string",
2536
2448
  "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
2537
2449
  },
2538
- "van-sidebar-item/disabled": {
2450
+ "van-sidebar/disabled": {
2539
2451
  "type": "boolean",
2540
2452
  "description": "是否禁用该项, 默认值: `false`"
2541
2453
  },
2542
- "van-sidebar-item/url": {
2454
+ "van-sidebar/url": {
2543
2455
  "type": "string",
2544
2456
  "description": "点击后跳转的链接地址, 默认值: -"
2545
2457
  },
2546
- "van-sidebar-item/to": {
2458
+ "van-sidebar/to": {
2547
2459
  "type": "string | object",
2548
2460
  "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
2549
2461
  },
2550
- "van-sidebar-item/replace": {
2462
+ "van-sidebar/replace": {
2551
2463
  "type": "boolean",
2552
2464
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
2553
2465
  },
@@ -2879,6 +2791,10 @@
2879
2791
  "type": "string",
2880
2792
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
2881
2793
  },
2794
+ "van-steps/center": {
2795
+ "type": "boolean",
2796
+ "description": "是否进行居中对齐,仅在竖向展示时有效, 默认值: `false`"
2797
+ },
2882
2798
  "van-sticky/offset-top": {
2883
2799
  "type": "number | string",
2884
2800
  "description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
@@ -3095,79 +3011,79 @@
3095
3011
  "type": "any",
3096
3012
  "description": "关闭时的值, 默认值: `false`"
3097
3013
  },
3098
- "van-tabs/v-model": {
3014
+ "van-tab/v-model": {
3099
3015
  "type": "number | string",
3100
3016
  "description": "绑定当前选中标签的标识符, 默认值: `0`"
3101
3017
  },
3102
- "van-tabs/type": {
3018
+ "van-tab/type": {
3103
3019
  "type": "string",
3104
3020
  "description": "样式风格类型,可选值为 `card`, 默认值: `line`"
3105
3021
  },
3106
- "van-tabs/color": {
3022
+ "van-tab/color": {
3107
3023
  "type": "string",
3108
3024
  "description": "标签主题色, 默认值: `#ee0a24`"
3109
3025
  },
3110
- "van-tabs/background": {
3026
+ "van-tab/background": {
3111
3027
  "type": "string",
3112
3028
  "description": "标签栏背景色, 默认值: `white`"
3113
3029
  },
3114
- "van-tabs/duration": {
3030
+ "van-tab/duration": {
3115
3031
  "type": "number | string",
3116
3032
  "description": "动画时间,单位秒, 默认值: `0.3`"
3117
3033
  },
3118
- "van-tabs/line-width": {
3034
+ "van-tab/line-width": {
3119
3035
  "type": "number | string",
3120
3036
  "description": "底部条宽度,默认单位 `px`, 默认值: `40px`"
3121
3037
  },
3122
- "van-tabs/line-height": {
3038
+ "van-tab/line-height": {
3123
3039
  "type": "number | string",
3124
3040
  "description": "底部条高度,默认单位 `px`, 默认值: `3px`"
3125
3041
  },
3126
- "van-tabs/animated": {
3042
+ "van-tab/animated": {
3127
3043
  "type": "boolean",
3128
3044
  "description": "是否开启切换标签内容时的转场动画, 默认值: `false`"
3129
3045
  },
3130
- "van-tabs/border": {
3046
+ "van-tab/border": {
3131
3047
  "type": "boolean",
3132
3048
  "description": "是否显示标签栏外边框,仅在 `type=\"line\"` 时有效, 默认值: `false`"
3133
3049
  },
3134
- "van-tabs/ellipsis": {
3050
+ "van-tab/ellipsis": {
3135
3051
  "type": "boolean",
3136
3052
  "description": "是否省略过长的标题文字, 默认值: `true`"
3137
3053
  },
3138
- "van-tabs/sticky": {
3054
+ "van-tab/sticky": {
3139
3055
  "type": "boolean",
3140
3056
  "description": "是否使用粘性定位布局, 默认值: `false`"
3141
3057
  },
3142
- "van-tabs/swipeable": {
3058
+ "van-tab/swipeable": {
3143
3059
  "type": "boolean",
3144
3060
  "description": "是否开启手势滑动切换, 默认值: `false`"
3145
3061
  },
3146
- "van-tabs/lazy-render": {
3062
+ "van-tab/lazy-render": {
3147
3063
  "type": "boolean",
3148
3064
  "description": "是否开启延迟渲染(首次切换到标签时才触发内容渲染), 默认值: `true`"
3149
3065
  },
3150
- "van-tabs/scrollspy": {
3066
+ "van-tab/scrollspy": {
3151
3067
  "type": "boolean",
3152
3068
  "description": "是否开启滚动导航, 默认值: `false`"
3153
3069
  },
3154
- "van-tabs/offset-top": {
3070
+ "van-tab/offset-top": {
3155
3071
  "type": "number | string",
3156
3072
  "description": "粘性定位布局下与顶部的最小距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
3157
3073
  },
3158
- "van-tabs/swipe-threshold": {
3074
+ "van-tab/swipe-threshold": {
3159
3075
  "type": "number | string",
3160
3076
  "description": "滚动阈值,标签数量超过阈值且总宽度超过标签栏宽度时开始横向滚动, 默认值: `5`"
3161
3077
  },
3162
- "van-tabs/title-active-color": {
3078
+ "van-tab/title-active-color": {
3163
3079
  "type": "string",
3164
3080
  "description": "标题选中态颜色, 默认值: -"
3165
3081
  },
3166
- "van-tabs/title-inactive-color": {
3082
+ "van-tab/title-inactive-color": {
3167
3083
  "type": "string",
3168
3084
  "description": "标题默认态颜色, 默认值: -"
3169
3085
  },
3170
- "van-tabs/before-change": {
3086
+ "van-tab/before-change": {
3171
3087
  "type": "(name) => boolean | Promise",
3172
3088
  "description": "切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise, 默认值: -"
3173
3089
  },
@@ -3255,39 +3171,39 @@
3255
3171
  "type": "(name) => boolean | Promise",
3256
3172
  "description": "切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise, 默认值: -"
3257
3173
  },
3258
- "van-tabbar-item/name": {
3174
+ "van-tabbar/name": {
3259
3175
  "type": "number | string",
3260
3176
  "description": "标签名称,作为匹配的标识符, 默认值: 当前标签的索引值"
3261
3177
  },
3262
- "van-tabbar-item/icon": {
3178
+ "van-tabbar/icon": {
3263
3179
  "type": "string",
3264
3180
  "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
3265
3181
  },
3266
- "van-tabbar-item/icon-prefix": {
3182
+ "van-tabbar/icon-prefix": {
3267
3183
  "type": "string",
3268
3184
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
3269
3185
  },
3270
- "van-tabbar-item/dot": {
3186
+ "van-tabbar/dot": {
3271
3187
  "type": "boolean",
3272
3188
  "description": "是否显示图标右上角小红点, 默认值: `false`"
3273
3189
  },
3274
- "van-tabbar-item/badge": {
3190
+ "van-tabbar/badge": {
3275
3191
  "type": "number | string",
3276
3192
  "description": "图标右上角徽标的内容, 默认值: -"
3277
3193
  },
3278
- "van-tabbar-item/info": {
3194
+ "van-tabbar/info": {
3279
3195
  "type": "number | string",
3280
3196
  "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
3281
3197
  },
3282
- "van-tabbar-item/url": {
3198
+ "van-tabbar/url": {
3283
3199
  "type": "string",
3284
3200
  "description": "点击后跳转的链接地址, 默认值: -"
3285
3201
  },
3286
- "van-tabbar-item/to": {
3202
+ "van-tabbar/to": {
3287
3203
  "type": "string | object",
3288
3204
  "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
3289
3205
  },
3290
- "van-tabbar-item/replace": {
3206
+ "van-tabbar/replace": {
3291
3207
  "type": "boolean",
3292
3208
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
3293
3209
  },