vant 2.12.48 → 2.12.50

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 (64) hide show
  1. package/README.md +11 -11
  2. package/README.zh-CN.md +9 -9
  3. package/changelog.generated.md +15 -0
  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/field/index.js +3 -3
  12. package/es/grid-item/index.less +1 -1
  13. package/es/index.js +1 -1
  14. package/es/locale/lang/vi-VN.js +18 -18
  15. package/es/mixins/touch.js +1 -1
  16. package/es/nav-bar/index.js +1 -1
  17. package/es/notice-bar/index.js +1 -1
  18. package/es/number-keyboard/Key.js +1 -1
  19. package/es/picker/index.js +2 -2
  20. package/es/sidebar-item/index.less +1 -1
  21. package/es/stepper/index.js +1 -1
  22. package/es/swipe/index.less +1 -1
  23. package/es/switch/index.less +1 -1
  24. package/es/switch-cell/index.js +1 -1
  25. package/es/tabbar/index.js +1 -1
  26. package/es/tabs/index.js +1 -1
  27. package/es/toast/index.less +1 -1
  28. package/es/uploader/index.js +1 -1
  29. package/es/utils/dom/scroll.js +1 -1
  30. package/es/utils/index.js +1 -1
  31. package/lib/button/index.less +1 -1
  32. package/lib/calendar/index.js +2 -2
  33. package/lib/collapse-item/index.less +1 -1
  34. package/lib/count-down/index.js +1 -1
  35. package/lib/datetime-picker/DatePicker.js +1 -1
  36. package/lib/datetime-picker/TimePicker.js +1 -1
  37. package/lib/datetime-picker/shared.js +1 -1
  38. package/lib/field/index.js +3 -3
  39. package/lib/grid-item/index.less +1 -1
  40. package/lib/index.js +1 -1
  41. package/lib/locale/lang/vi-VN.js +18 -18
  42. package/lib/mixins/touch.js +1 -1
  43. package/lib/nav-bar/index.js +1 -1
  44. package/lib/notice-bar/index.js +1 -1
  45. package/lib/number-keyboard/Key.js +1 -1
  46. package/lib/picker/index.js +2 -2
  47. package/lib/sidebar-item/index.less +1 -1
  48. package/lib/stepper/index.js +1 -1
  49. package/lib/swipe/index.less +1 -1
  50. package/lib/switch/index.less +1 -1
  51. package/lib/switch-cell/index.js +1 -1
  52. package/lib/tabbar/index.js +1 -1
  53. package/lib/tabs/index.js +1 -1
  54. package/lib/toast/index.less +1 -1
  55. package/lib/uploader/index.js +1 -1
  56. package/lib/utils/dom/scroll.js +1 -1
  57. package/lib/utils/index.js +1 -1
  58. package/lib/vant.js +22 -22
  59. package/lib/vant.min.js +2 -2
  60. package/package.json +3 -3
  61. package/types/image-preview.d.ts +1 -0
  62. package/vetur/attributes.json +336 -336
  63. package/vetur/tags.json +123 -123
  64. package/vetur/web-types.json +1056 -1056
@@ -155,6 +155,34 @@
155
155
  "type": "(key, val) => string",
156
156
  "description": "自定义校验函数, 默认值: -"
157
157
  },
158
+ "van-address-list/v-model": {
159
+ "type": "string",
160
+ "description": "当前选中地址的 id, 默认值: -"
161
+ },
162
+ "van-address-list/list": {
163
+ "type": "Address[]",
164
+ "description": "地址列表, 默认值: `[]`"
165
+ },
166
+ "van-address-list/disabled-list": {
167
+ "type": "Address[]",
168
+ "description": "不可配送地址列表, 默认值: `[]`"
169
+ },
170
+ "van-address-list/disabled-text": {
171
+ "type": "string",
172
+ "description": "不可配送提示文案, 默认值: -"
173
+ },
174
+ "van-address-list/switchable": {
175
+ "type": "boolean",
176
+ "description": "是否允许切换地址, 默认值: `true`"
177
+ },
178
+ "van-address-list/add-button-text": {
179
+ "type": "string",
180
+ "description": "底部按钮文字, 默认值: `新增地址`"
181
+ },
182
+ "van-address-list/default-tag-text": {
183
+ "type": "string",
184
+ "description": "默认地址标签文字, 默认值: -"
185
+ },
158
186
  "van-area/value": {
159
187
  "type": "string",
160
188
  "description": "当前选中的省市区`code`, 默认值: -"
@@ -207,33 +235,109 @@
207
235
  "type": "() => boolean",
208
236
  "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
209
237
  },
210
- "van-address-list/v-model": {
238
+ "van-badge/content": {
239
+ "type": "number | string",
240
+ "description": "徽标内容, 默认值: -"
241
+ },
242
+ "van-badge/color": {
211
243
  "type": "string",
212
- "description": "当前选中地址的 id, 默认值: -"
244
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
213
245
  },
214
- "van-address-list/list": {
215
- "type": "Address[]",
216
- "description": "地址列表, 默认值: `[]`"
246
+ "van-badge/dot": {
247
+ "type": "boolean",
248
+ "description": "是否展示为小红点, 默认值: `false`"
217
249
  },
218
- "van-address-list/disabled-list": {
219
- "type": "Address[]",
220
- "description": "不可配送地址列表, 默认值: `[]`"
250
+ "van-badge/max": {
251
+ "type": "number | string",
252
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
221
253
  },
222
- "van-address-list/disabled-text": {
254
+ "van-button/type": {
223
255
  "type": "string",
224
- "description": "不可配送提示文案, 默认值: -"
256
+ "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
225
257
  },
226
- "van-address-list/switchable": {
258
+ "van-button/size": {
259
+ "type": "string",
260
+ "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
261
+ },
262
+ "van-button/text": {
263
+ "type": "string",
264
+ "description": "按钮文字, 默认值: -"
265
+ },
266
+ "van-button/color": {
267
+ "type": "string",
268
+ "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
269
+ },
270
+ "van-button/icon": {
271
+ "type": "string",
272
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
273
+ },
274
+ "van-button/icon-prefix": {
275
+ "type": "string",
276
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
277
+ },
278
+ "van-button/icon-position": {
279
+ "type": "string",
280
+ "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
281
+ },
282
+ "van-button/tag": {
283
+ "type": "string",
284
+ "description": "按钮根节点的 HTML 标签, 默认值: `button`"
285
+ },
286
+ "van-button/native-type": {
287
+ "type": "string",
288
+ "description": "原生 button 标签的 type 属性, 默认值: -"
289
+ },
290
+ "van-button/block": {
227
291
  "type": "boolean",
228
- "description": "是否允许切换地址, 默认值: `true`"
292
+ "description": "是否为块级元素, 默认值: `false`"
229
293
  },
230
- "van-address-list/add-button-text": {
294
+ "van-button/plain": {
295
+ "type": "boolean",
296
+ "description": "是否为朴素按钮, 默认值: `false`"
297
+ },
298
+ "van-button/square": {
299
+ "type": "boolean",
300
+ "description": "是否为方形按钮, 默认值: `false`"
301
+ },
302
+ "van-button/round": {
303
+ "type": "boolean",
304
+ "description": "是否为圆形按钮, 默认值: `false`"
305
+ },
306
+ "van-button/disabled": {
307
+ "type": "boolean",
308
+ "description": "是否禁用按钮, 默认值: `false`"
309
+ },
310
+ "van-button/hairline": {
311
+ "type": "boolean",
312
+ "description": "是否使用 0.5px 边框, 默认值: `false`"
313
+ },
314
+ "van-button/loading": {
315
+ "type": "boolean",
316
+ "description": "是否显示为加载状态, 默认值: `false`"
317
+ },
318
+ "van-button/loading-text": {
231
319
  "type": "string",
232
- "description": "底部按钮文字, 默认值: `新增地址`"
320
+ "description": "加载状态提示文字, 默认值: -"
233
321
  },
234
- "van-address-list/default-tag-text": {
322
+ "van-button/loading-type": {
235
323
  "type": "string",
236
- "description": "默认地址标签文字, 默认值: -"
324
+ "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
325
+ },
326
+ "van-button/loading-size": {
327
+ "type": "string",
328
+ "description": "加载图标大小, 默认值: `20px`"
329
+ },
330
+ "van-button/url": {
331
+ "type": "string",
332
+ "description": "点击后跳转的链接地址, 默认值: -"
333
+ },
334
+ "van-button/to": {
335
+ "type": "string | object",
336
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
337
+ },
338
+ "van-button/replace": {
339
+ "type": "boolean",
340
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
237
341
  },
238
342
  "van-calendar/type": {
239
343
  "type": "string",
@@ -423,110 +527,6 @@
423
527
  "type": "object",
424
528
  "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
425
529
  },
426
- "van-badge/content": {
427
- "type": "number | string",
428
- "description": "徽标内容, 默认值: -"
429
- },
430
- "van-badge/color": {
431
- "type": "string",
432
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
433
- },
434
- "van-badge/dot": {
435
- "type": "boolean",
436
- "description": "是否展示为小红点, 默认值: `false`"
437
- },
438
- "van-badge/max": {
439
- "type": "number | string",
440
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
441
- },
442
- "van-button/type": {
443
- "type": "string",
444
- "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
445
- },
446
- "van-button/size": {
447
- "type": "string",
448
- "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
449
- },
450
- "van-button/text": {
451
- "type": "string",
452
- "description": "按钮文字, 默认值: -"
453
- },
454
- "van-button/color": {
455
- "type": "string",
456
- "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
457
- },
458
- "van-button/icon": {
459
- "type": "string",
460
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
461
- },
462
- "van-button/icon-prefix": {
463
- "type": "string",
464
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
465
- },
466
- "van-button/icon-position": {
467
- "type": "string",
468
- "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
469
- },
470
- "van-button/tag": {
471
- "type": "string",
472
- "description": "按钮根节点的 HTML 标签, 默认值: `button`"
473
- },
474
- "van-button/native-type": {
475
- "type": "string",
476
- "description": "原生 button 标签的 type 属性, 默认值: -"
477
- },
478
- "van-button/block": {
479
- "type": "boolean",
480
- "description": "是否为块级元素, 默认值: `false`"
481
- },
482
- "van-button/plain": {
483
- "type": "boolean",
484
- "description": "是否为朴素按钮, 默认值: `false`"
485
- },
486
- "van-button/square": {
487
- "type": "boolean",
488
- "description": "是否为方形按钮, 默认值: `false`"
489
- },
490
- "van-button/round": {
491
- "type": "boolean",
492
- "description": "是否为圆形按钮, 默认值: `false`"
493
- },
494
- "van-button/disabled": {
495
- "type": "boolean",
496
- "description": "是否禁用按钮, 默认值: `false`"
497
- },
498
- "van-button/hairline": {
499
- "type": "boolean",
500
- "description": "是否使用 0.5px 边框, 默认值: `false`"
501
- },
502
- "van-button/loading": {
503
- "type": "boolean",
504
- "description": "是否显示为加载状态, 默认值: `false`"
505
- },
506
- "van-button/loading-text": {
507
- "type": "string",
508
- "description": "加载状态提示文字, 默认值: -"
509
- },
510
- "van-button/loading-type": {
511
- "type": "string",
512
- "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
513
- },
514
- "van-button/loading-size": {
515
- "type": "string",
516
- "description": "加载图标大小, 默认值: `20px`"
517
- },
518
- "van-button/url": {
519
- "type": "string",
520
- "description": "点击后跳转的链接地址, 默认值: -"
521
- },
522
- "van-button/to": {
523
- "type": "string | object",
524
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
525
- },
526
- "van-button/replace": {
527
- "type": "boolean",
528
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
529
- },
530
530
  "van-cell/title": {
531
531
  "type": "number | string",
532
532
  "description": "左侧标题, 默认值: -"
@@ -603,94 +603,6 @@
603
603
  "type": "any",
604
604
  "description": "描述信息额外类名, 默认值: -"
605
605
  },
606
- "van-layout/type": {
607
- "type": "string",
608
- "description": "布局方式,可选值为`flex`, 默认值: -"
609
- },
610
- "van-layout/gutter": {
611
- "type": "number | string",
612
- "description": "列元素之间的间距(单位为 px), 默认值: -"
613
- },
614
- "van-layout/tag": {
615
- "type": "string",
616
- "description": "自定义元素标签, 默认值: `div`"
617
- },
618
- "van-layout/justify": {
619
- "type": "string",
620
- "description": "Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`, 默认值: `start`"
621
- },
622
- "van-layout/align": {
623
- "type": "string",
624
- "description": "Flex 交叉轴对齐方式,可选值为 `center` `bottom`, 默认值: `top`"
625
- },
626
- "van-layout/span": {
627
- "type": "number | string",
628
- "description": "列元素宽度, 默认值: -"
629
- },
630
- "van-layout/offset": {
631
- "type": "number | string",
632
- "description": "列元素偏移距离, 默认值: -"
633
- },
634
- "van-collapse/v-model": {
635
- "type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
636
- "description": "当前展开面板的 name, 默认值: string)[]_"
637
- },
638
- "van-collapse/accordion": {
639
- "type": "boolean",
640
- "description": "是否开启手风琴模式, 默认值: `false`"
641
- },
642
- "van-collapse/border": {
643
- "type": "boolean",
644
- "description": "是否显示内边框, 默认值: `true`"
645
- },
646
- "van-collapse/name": {
647
- "type": "number | string",
648
- "description": "唯一标识符,默认为索引值, 默认值: `index`"
649
- },
650
- "van-collapse/icon": {
651
- "type": "string",
652
- "description": "标题栏左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
653
- },
654
- "van-collapse/size": {
655
- "type": "string",
656
- "description": "标题栏大小,可选值为 `large`, 默认值: -"
657
- },
658
- "van-collapse/title": {
659
- "type": "number | string",
660
- "description": "标题栏左侧内容, 默认值: -"
661
- },
662
- "van-collapse/value": {
663
- "type": "number | string",
664
- "description": "标题栏右侧内容, 默认值: -"
665
- },
666
- "van-collapse/label": {
667
- "type": "number | string",
668
- "description": "标题栏描述信息, 默认值: -"
669
- },
670
- "van-collapse/is-link": {
671
- "type": "boolean",
672
- "description": "是否展示标题栏右侧箭头并开启点击反馈, 默认值: `true`"
673
- },
674
- "van-collapse/disabled": {
675
- "type": "boolean",
676
- "description": "是否禁用面板, 默认值: `false`"
677
- },
678
- "van-collapse/lazy-render": {
679
- "type": "boolean",
680
- "description": "是否在首次展开时才渲染面板内容, 默认值: `true`"
681
- },
682
- "van-collapse/title-class": {
683
- "type": "string",
684
- "description": "左侧标题额外类名, 默认值: -"
685
- },
686
- "van-collapse/value-class": {
687
- "type": "string",
688
- "description": "右侧内容额外类名, 默认值: -"
689
- },
690
- "van-collapse/label-class": {
691
- "type": "string",
692
- "description": "描述信息额外类名, 默认值: -"
693
- },
694
606
  "van-checkbox/v-model (value)": {
695
607
  "type": "any[]",
696
608
  "description": "所有选中项的标识符, 默认值: -"
@@ -767,17 +679,105 @@
767
679
  "type": "string",
768
680
  "description": "文字, 默认值: -"
769
681
  },
770
- "van-circle/stroke-width": {
771
- "type": "number | string",
772
- "description": "进度条宽度, 默认值: `40`"
682
+ "van-circle/stroke-width": {
683
+ "type": "number | string",
684
+ "description": "进度条宽度, 默认值: `40`"
685
+ },
686
+ "van-circle/stroke-linecap": {
687
+ "type": "string",
688
+ "description": "进度条端点的形状,可选值为`square` `butt`, 默认值: `round`"
689
+ },
690
+ "van-circle/clockwise": {
691
+ "type": "boolean",
692
+ "description": "是否顺时针增加, 默认值: `true`"
693
+ },
694
+ "van-layout/type": {
695
+ "type": "string",
696
+ "description": "布局方式,可选值为`flex`, 默认值: -"
697
+ },
698
+ "van-layout/gutter": {
699
+ "type": "number | string",
700
+ "description": "列元素之间的间距(单位为 px), 默认值: -"
701
+ },
702
+ "van-layout/tag": {
703
+ "type": "string",
704
+ "description": "自定义元素标签, 默认值: `div`"
705
+ },
706
+ "van-layout/justify": {
707
+ "type": "string",
708
+ "description": "Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`, 默认值: `start`"
709
+ },
710
+ "van-layout/align": {
711
+ "type": "string",
712
+ "description": "Flex 交叉轴对齐方式,可选值为 `center` `bottom`, 默认值: `top`"
713
+ },
714
+ "van-layout/span": {
715
+ "type": "number | string",
716
+ "description": "列元素宽度, 默认值: -"
717
+ },
718
+ "van-layout/offset": {
719
+ "type": "number | string",
720
+ "description": "列元素偏移距离, 默认值: -"
721
+ },
722
+ "van-collapse/v-model": {
723
+ "type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
724
+ "description": "当前展开面板的 name, 默认值: string)[]_"
725
+ },
726
+ "van-collapse/accordion": {
727
+ "type": "boolean",
728
+ "description": "是否开启手风琴模式, 默认值: `false`"
729
+ },
730
+ "van-collapse/border": {
731
+ "type": "boolean",
732
+ "description": "是否显示内边框, 默认值: `true`"
733
+ },
734
+ "van-collapse/name": {
735
+ "type": "number | string",
736
+ "description": "唯一标识符,默认为索引值, 默认值: `index`"
737
+ },
738
+ "van-collapse/icon": {
739
+ "type": "string",
740
+ "description": "标题栏左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
741
+ },
742
+ "van-collapse/size": {
743
+ "type": "string",
744
+ "description": "标题栏大小,可选值为 `large`, 默认值: -"
745
+ },
746
+ "van-collapse/title": {
747
+ "type": "number | string",
748
+ "description": "标题栏左侧内容, 默认值: -"
749
+ },
750
+ "van-collapse/value": {
751
+ "type": "number | string",
752
+ "description": "标题栏右侧内容, 默认值: -"
753
+ },
754
+ "van-collapse/label": {
755
+ "type": "number | string",
756
+ "description": "标题栏描述信息, 默认值: -"
757
+ },
758
+ "van-collapse/is-link": {
759
+ "type": "boolean",
760
+ "description": "是否展示标题栏右侧箭头并开启点击反馈, 默认值: `true`"
761
+ },
762
+ "van-collapse/disabled": {
763
+ "type": "boolean",
764
+ "description": "是否禁用面板, 默认值: `false`"
765
+ },
766
+ "van-collapse/lazy-render": {
767
+ "type": "boolean",
768
+ "description": "是否在首次展开时才渲染面板内容, 默认值: `true`"
769
+ },
770
+ "van-collapse/title-class": {
771
+ "type": "string",
772
+ "description": "左侧标题额外类名, 默认值: -"
773
773
  },
774
- "van-circle/stroke-linecap": {
774
+ "van-collapse/value-class": {
775
775
  "type": "string",
776
- "description": "进度条端点的形状,可选值为`square` `butt`, 默认值: `round`"
776
+ "description": "右侧内容额外类名, 默认值: -"
777
777
  },
778
- "van-circle/clockwise": {
779
- "type": "boolean",
780
- "description": "是否顺时针增加, 默认值: `true`"
778
+ "van-collapse/label-class": {
779
+ "type": "string",
780
+ "description": "描述信息额外类名, 默认值: -"
781
781
  },
782
782
  "van-contact-card/type": {
783
783
  "type": "string",
@@ -1015,18 +1015,6 @@
1015
1015
  "type": "number | string",
1016
1016
  "description": "可选的最大分钟, 默认值: `59`"
1017
1017
  },
1018
- "van-divider/dashed": {
1019
- "type": "boolean",
1020
- "description": "是否使用虚线, 默认值: `false`"
1021
- },
1022
- "van-divider/hairline": {
1023
- "type": "boolean",
1024
- "description": "是否使用 0.5px 线, 默认值: `true`"
1025
- },
1026
- "van-divider/content-position": {
1027
- "type": "string",
1028
- "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1029
- },
1030
1018
  "van-dialog/v-model": {
1031
1019
  "type": "boolean",
1032
1020
  "description": "是否显示弹窗, 默认值: -"
@@ -1119,6 +1107,18 @@
1119
1107
  "type": "string | () => Element",
1120
1108
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1121
1109
  },
1110
+ "van-divider/dashed": {
1111
+ "type": "boolean",
1112
+ "description": "是否使用虚线, 默认值: `false`"
1113
+ },
1114
+ "van-divider/hairline": {
1115
+ "type": "boolean",
1116
+ "description": "是否使用 0.5px 线, 默认值: `true`"
1117
+ },
1118
+ "van-divider/content-position": {
1119
+ "type": "string",
1120
+ "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1121
+ },
1122
1122
  "van-dropdown-menu/active-color": {
1123
1123
  "type": "string",
1124
1124
  "description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
@@ -1379,6 +1379,62 @@
1379
1379
  "type": "boolean",
1380
1380
  "description": "是否在按下回车键时提交表单, 默认值: `true`"
1381
1381
  },
1382
+ "van-goods-action/safe-area-inset-bottom": {
1383
+ "type": "boolean",
1384
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1385
+ },
1386
+ "van-goods-action/text": {
1387
+ "type": "string",
1388
+ "description": "按钮文字, 默认值: -"
1389
+ },
1390
+ "van-goods-action/icon": {
1391
+ "type": "string",
1392
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1393
+ },
1394
+ "van-goods-action/color": {
1395
+ "type": "string",
1396
+ "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1397
+ },
1398
+ "van-goods-action/icon-class": {
1399
+ "type": "any",
1400
+ "description": "图标额外类名, 默认值: -"
1401
+ },
1402
+ "van-goods-action/dot": {
1403
+ "type": "boolean",
1404
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1405
+ },
1406
+ "van-goods-action/badge": {
1407
+ "type": "number | string",
1408
+ "description": "图标右上角徽标的内容, 默认值: -"
1409
+ },
1410
+ "van-goods-action/info": {
1411
+ "type": "number | string",
1412
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1413
+ },
1414
+ "van-goods-action/url": {
1415
+ "type": "string",
1416
+ "description": "点击后跳转的链接地址, 默认值: -"
1417
+ },
1418
+ "van-goods-action/to": {
1419
+ "type": "string | object",
1420
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1421
+ },
1422
+ "van-goods-action/replace": {
1423
+ "type": "boolean",
1424
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1425
+ },
1426
+ "van-goods-action/type": {
1427
+ "type": "string",
1428
+ "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
1429
+ },
1430
+ "van-goods-action/disabled": {
1431
+ "type": "boolean",
1432
+ "description": "是否禁用按钮, 默认值: `false`"
1433
+ },
1434
+ "van-goods-action/loading": {
1435
+ "type": "boolean",
1436
+ "description": "是否显示为加载状态, 默认值: `false`"
1437
+ },
1382
1438
  "van-grid/column-num": {
1383
1439
  "type": "number | string",
1384
1440
  "description": "列数, 默认值: `4`"
@@ -1447,62 +1503,6 @@
1447
1503
  "type": "boolean",
1448
1504
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1449
1505
  },
1450
- "van-goods-action/safe-area-inset-bottom": {
1451
- "type": "boolean",
1452
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1453
- },
1454
- "van-goods-action/text": {
1455
- "type": "string",
1456
- "description": "按钮文字, 默认值: -"
1457
- },
1458
- "van-goods-action/icon": {
1459
- "type": "string",
1460
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1461
- },
1462
- "van-goods-action/color": {
1463
- "type": "string",
1464
- "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1465
- },
1466
- "van-goods-action/icon-class": {
1467
- "type": "any",
1468
- "description": "图标额外类名, 默认值: -"
1469
- },
1470
- "van-goods-action/dot": {
1471
- "type": "boolean",
1472
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1473
- },
1474
- "van-goods-action/badge": {
1475
- "type": "number | string",
1476
- "description": "图标右上角徽标的内容, 默认值: -"
1477
- },
1478
- "van-goods-action/info": {
1479
- "type": "number | string",
1480
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1481
- },
1482
- "van-goods-action/url": {
1483
- "type": "string",
1484
- "description": "点击后跳转的链接地址, 默认值: -"
1485
- },
1486
- "van-goods-action/to": {
1487
- "type": "string | object",
1488
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1489
- },
1490
- "van-goods-action/replace": {
1491
- "type": "boolean",
1492
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1493
- },
1494
- "van-goods-action/type": {
1495
- "type": "string",
1496
- "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
1497
- },
1498
- "van-goods-action/disabled": {
1499
- "type": "boolean",
1500
- "description": "是否禁用按钮, 默认值: `false`"
1501
- },
1502
- "van-goods-action/loading": {
1503
- "type": "boolean",
1504
- "description": "是否显示为加载状态, 默认值: `false`"
1505
- },
1506
1506
  "van-icon/name": {
1507
1507
  "type": "string",
1508
1508
  "description": "图标名称或图片链接, 默认值: -"
@@ -1535,30 +1535,6 @@
1535
1535
  "type": "string",
1536
1536
  "description": "HTML 标签, 默认值: `i`"
1537
1537
  },
1538
- "van-index-bar/index-list": {
1539
- "type": "string[] | number[]",
1540
- "description": "索引字符列表, 默认值: `A-Z`"
1541
- },
1542
- "van-index-bar/z-index": {
1543
- "type": "number | string",
1544
- "description": "z-index 层级, 默认值: `1`"
1545
- },
1546
- "van-index-bar/sticky": {
1547
- "type": "boolean",
1548
- "description": "是否开启锚点自动吸顶, 默认值: `true`"
1549
- },
1550
- "van-index-bar/sticky-offset-top": {
1551
- "type": "number",
1552
- "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1553
- },
1554
- "van-index-bar/highlight-color": {
1555
- "type": "string",
1556
- "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1557
- },
1558
- "van-index-bar/index": {
1559
- "type": "number | string",
1560
- "description": "索引字符, 默认值: -"
1561
- },
1562
1538
  "van-image/src": {
1563
1539
  "type": "string",
1564
1540
  "description": "图片链接, 默认值: -"
@@ -1679,6 +1655,30 @@
1679
1655
  "type": "string | () => Element",
1680
1656
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1681
1657
  },
1658
+ "van-index-bar/index-list": {
1659
+ "type": "string[] | number[]",
1660
+ "description": "索引字符列表, 默认值: `A-Z`"
1661
+ },
1662
+ "van-index-bar/z-index": {
1663
+ "type": "number | string",
1664
+ "description": "z-index 层级, 默认值: `1`"
1665
+ },
1666
+ "van-index-bar/sticky": {
1667
+ "type": "boolean",
1668
+ "description": "是否开启锚点自动吸顶, 默认值: `true`"
1669
+ },
1670
+ "van-index-bar/sticky-offset-top": {
1671
+ "type": "number",
1672
+ "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1673
+ },
1674
+ "van-index-bar/highlight-color": {
1675
+ "type": "string",
1676
+ "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1677
+ },
1678
+ "van-index-bar/index": {
1679
+ "type": "number | string",
1680
+ "description": "索引字符, 默认值: -"
1681
+ },
1682
1682
  "van-list/v-model": {
1683
1683
  "type": "boolean",
1684
1684
  "description": "是否处于加载状态,加载过程中不触发`load`事件, 默认值: `false`"
@@ -1951,6 +1951,34 @@
1951
1951
  "type": "string",
1952
1952
  "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1953
1953
  },
1954
+ "van-password-input/value": {
1955
+ "type": "string",
1956
+ "description": "密码值, 默认值: `''`"
1957
+ },
1958
+ "van-password-input/info": {
1959
+ "type": "string",
1960
+ "description": "输入框下方文字提示, 默认值: -"
1961
+ },
1962
+ "van-password-input/error-info": {
1963
+ "type": "string",
1964
+ "description": "输入框下方错误提示, 默认值: -"
1965
+ },
1966
+ "van-password-input/length": {
1967
+ "type": "number | string",
1968
+ "description": "密码最大长度, 默认值: `6`"
1969
+ },
1970
+ "van-password-input/gutter": {
1971
+ "type": "number | string",
1972
+ "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
1973
+ },
1974
+ "van-password-input/mask": {
1975
+ "type": "boolean",
1976
+ "description": "是否隐藏密码内容, 默认值: `true`"
1977
+ },
1978
+ "van-password-input/focused": {
1979
+ "type": "boolean",
1980
+ "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
1981
+ },
1954
1982
  "van-picker/columns": {
1955
1983
  "type": "Column[]",
1956
1984
  "description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
@@ -2007,34 +2035,6 @@
2007
2035
  "type": "number | string",
2008
2036
  "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2009
2037
  },
2010
- "van-password-input/value": {
2011
- "type": "string",
2012
- "description": "密码值, 默认值: `''`"
2013
- },
2014
- "van-password-input/info": {
2015
- "type": "string",
2016
- "description": "输入框下方文字提示, 默认值: -"
2017
- },
2018
- "van-password-input/error-info": {
2019
- "type": "string",
2020
- "description": "输入框下方错误提示, 默认值: -"
2021
- },
2022
- "van-password-input/length": {
2023
- "type": "number | string",
2024
- "description": "密码最大长度, 默认值: `6`"
2025
- },
2026
- "van-password-input/gutter": {
2027
- "type": "number | string",
2028
- "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
2029
- },
2030
- "van-password-input/mask": {
2031
- "type": "boolean",
2032
- "description": "是否隐藏密码内容, 默认值: `true`"
2033
- },
2034
- "van-password-input/focused": {
2035
- "type": "boolean",
2036
- "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2037
- },
2038
2038
  "van-popover/v-model": {
2039
2039
  "type": "boolean",
2040
2040
  "description": "是否展示气泡弹出层, 默认值: `false`"