vant 2.13.8 → 2.13.9

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.
@@ -1,4 +1,32 @@
1
1
  {
2
+ "van-address-list/v-model": {
3
+ "type": "string",
4
+ "description": "当前选中地址的 id, 默认值: -"
5
+ },
6
+ "van-address-list/list": {
7
+ "type": "Address[]",
8
+ "description": "地址列表, 默认值: `[]`"
9
+ },
10
+ "van-address-list/disabled-list": {
11
+ "type": "Address[]",
12
+ "description": "不可配送地址列表, 默认值: `[]`"
13
+ },
14
+ "van-address-list/disabled-text": {
15
+ "type": "string",
16
+ "description": "不可配送提示文案, 默认值: -"
17
+ },
18
+ "van-address-list/switchable": {
19
+ "type": "boolean",
20
+ "description": "是否允许切换地址, 默认值: `true`"
21
+ },
22
+ "van-address-list/add-button-text": {
23
+ "type": "string",
24
+ "description": "底部按钮文字, 默认值: `新增地址`"
25
+ },
26
+ "van-address-list/default-tag-text": {
27
+ "type": "string",
28
+ "description": "默认地址标签文字, 默认值: -"
29
+ },
2
30
  "van-action-sheet/v-model (value)": {
3
31
  "type": "boolean",
4
32
  "description": "是否显示动作面板, 默认值: `false`"
@@ -155,34 +183,6 @@
155
183
  "type": "(key, val) => string",
156
184
  "description": "自定义校验函数, 默认值: -"
157
185
  },
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
- },
186
186
  "van-area/value": {
187
187
  "type": "string",
188
188
  "description": "当前选中的省市区`code`, 默认值: -"
@@ -459,6 +459,82 @@
459
459
  "type": "string",
460
460
  "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
461
461
  },
462
+ "van-card/thumb": {
463
+ "type": "string",
464
+ "description": "左侧图片 URL, 默认值: -"
465
+ },
466
+ "van-card/title": {
467
+ "type": "string",
468
+ "description": "标题, 默认值: -"
469
+ },
470
+ "van-card/desc": {
471
+ "type": "string",
472
+ "description": "描述, 默认值: -"
473
+ },
474
+ "van-card/tag": {
475
+ "type": "string",
476
+ "description": "图片角标, 默认值: -"
477
+ },
478
+ "van-card/num": {
479
+ "type": "number | string",
480
+ "description": "商品数量, 默认值: -"
481
+ },
482
+ "van-card/price": {
483
+ "type": "number | string",
484
+ "description": "商品价格, 默认值: -"
485
+ },
486
+ "van-card/origin-price": {
487
+ "type": "number | string",
488
+ "description": "商品划线原价, 默认值: -"
489
+ },
490
+ "van-card/centered": {
491
+ "type": "boolean",
492
+ "description": "内容是否垂直居中, 默认值: `false`"
493
+ },
494
+ "van-card/currency": {
495
+ "type": "string",
496
+ "description": "货币符号, 默认值: `¥`"
497
+ },
498
+ "van-card/thumb-link": {
499
+ "type": "string",
500
+ "description": "点击左侧图片后跳转的链接地址, 默认值: -"
501
+ },
502
+ "van-card/lazy-load": {
503
+ "type": "boolean",
504
+ "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
505
+ },
506
+ "van-cascader/title": {
507
+ "type": "string",
508
+ "description": "顶部标题, 默认值: -"
509
+ },
510
+ "van-cascader/value": {
511
+ "type": "string | number",
512
+ "description": "选中项的值, 默认值: -"
513
+ },
514
+ "van-cascader/options": {
515
+ "type": "Option[]",
516
+ "description": "可选项数据源, 默认值: `[]`"
517
+ },
518
+ "van-cascader/placeholder": {
519
+ "type": "string",
520
+ "description": "未选中时的提示文案, 默认值: `请选择`"
521
+ },
522
+ "van-cascader/active-color": {
523
+ "type": "string",
524
+ "description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
525
+ },
526
+ "van-cascader/closeable": {
527
+ "type": "boolean",
528
+ "description": "是否显示关闭图标, 默认值: `true`"
529
+ },
530
+ "van-cascader/show-header": {
531
+ "type": "boolean",
532
+ "description": "是否展示标题栏, 默认值: `true`"
533
+ },
534
+ "van-cascader/field-names": {
535
+ "type": "object",
536
+ "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
537
+ },
462
538
  "van-cell-group/title": {
463
539
  "type": "string",
464
540
  "description": "分组标题, 默认值: `-`"
@@ -543,82 +619,6 @@
543
619
  "type": "any",
544
620
  "description": "描述信息额外类名, 默认值: -"
545
621
  },
546
- "van-cascader/title": {
547
- "type": "string",
548
- "description": "顶部标题, 默认值: -"
549
- },
550
- "van-cascader/value": {
551
- "type": "string | number",
552
- "description": "选中项的值, 默认值: -"
553
- },
554
- "van-cascader/options": {
555
- "type": "Option[]",
556
- "description": "可选项数据源, 默认值: `[]`"
557
- },
558
- "van-cascader/placeholder": {
559
- "type": "string",
560
- "description": "未选中时的提示文案, 默认值: `请选择`"
561
- },
562
- "van-cascader/active-color": {
563
- "type": "string",
564
- "description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
565
- },
566
- "van-cascader/closeable": {
567
- "type": "boolean",
568
- "description": "是否显示关闭图标, 默认值: `true`"
569
- },
570
- "van-cascader/show-header": {
571
- "type": "boolean",
572
- "description": "是否展示标题栏, 默认值: `true`"
573
- },
574
- "van-cascader/field-names": {
575
- "type": "object",
576
- "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
577
- },
578
- "van-card/thumb": {
579
- "type": "string",
580
- "description": "左侧图片 URL, 默认值: -"
581
- },
582
- "van-card/title": {
583
- "type": "string",
584
- "description": "标题, 默认值: -"
585
- },
586
- "van-card/desc": {
587
- "type": "string",
588
- "description": "描述, 默认值: -"
589
- },
590
- "van-card/tag": {
591
- "type": "string",
592
- "description": "图片角标, 默认值: -"
593
- },
594
- "van-card/num": {
595
- "type": "number | string",
596
- "description": "商品数量, 默认值: -"
597
- },
598
- "van-card/price": {
599
- "type": "number | string",
600
- "description": "商品价格, 默认值: -"
601
- },
602
- "van-card/origin-price": {
603
- "type": "number | string",
604
- "description": "商品划线原价, 默认值: -"
605
- },
606
- "van-card/centered": {
607
- "type": "boolean",
608
- "description": "内容是否垂直居中, 默认值: `false`"
609
- },
610
- "van-card/currency": {
611
- "type": "string",
612
- "description": "货币符号, 默认值: `¥`"
613
- },
614
- "van-card/thumb-link": {
615
- "type": "string",
616
- "description": "点击左侧图片后跳转的链接地址, 默认值: -"
617
- },
618
- "van-card/lazy-load": {
619
- "type": "boolean",
620
- "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
621
- },
622
622
  "van-checkbox/v-model (value)": {
623
623
  "type": "boolean",
624
624
  "description": "是否为选中状态, 默认值: `false`"
@@ -819,21 +819,21 @@
819
819
  "type": "string",
820
820
  "description": "描述信息额外类名, 默认值: -"
821
821
  },
822
- "van-contact-list/v-model": {
823
- "type": "number | string",
824
- "description": "当前选中联系人的 id, 默认值: -"
822
+ "van-contact-card/type": {
823
+ "type": "string",
824
+ "description": "卡片类型,可选值为 `edit`, 默认值: `add`"
825
825
  },
826
- "van-contact-list/list": {
827
- "type": "Contact[]",
828
- "description": "联系人列表, 默认值: `[]`"
826
+ "van-contact-card/name": {
827
+ "type": "string",
828
+ "description": "联系人姓名, 默认值: -"
829
829
  },
830
- "van-contact-list/add-text": {
830
+ "van-contact-card/tel": {
831
831
  "type": "string",
832
- "description": "新建按钮文案, 默认值: `新建联系人`"
832
+ "description": "联系人手机号, 默认值: -"
833
833
  },
834
- "van-contact-list/default-tag-text": {
834
+ "van-contact-card/add-text": {
835
835
  "type": "string",
836
- "description": "默认联系人标签文案, 默认值: -"
836
+ "description": "添加时的文案提示, 默认值: `添加联系人`"
837
837
  },
838
838
  "van-contact-edit/contact-info": {
839
839
  "type": "Contact",
@@ -863,21 +863,21 @@
863
863
  "type": "string",
864
864
  "description": "默认联系人栏文案, 默认值: -"
865
865
  },
866
- "van-contact-card/type": {
867
- "type": "string",
868
- "description": "卡片类型,可选值为 `edit`, 默认值: `add`"
866
+ "van-contact-list/v-model": {
867
+ "type": "number | string",
868
+ "description": "当前选中联系人的 id, 默认值: -"
869
869
  },
870
- "van-contact-card/name": {
871
- "type": "string",
872
- "description": "联系人姓名, 默认值: -"
870
+ "van-contact-list/list": {
871
+ "type": "Contact[]",
872
+ "description": "联系人列表, 默认值: `[]`"
873
873
  },
874
- "van-contact-card/tel": {
874
+ "van-contact-list/add-text": {
875
875
  "type": "string",
876
- "description": "联系人手机号, 默认值: -"
876
+ "description": "新建按钮文案, 默认值: `新建联系人`"
877
877
  },
878
- "van-contact-card/add-text": {
878
+ "van-contact-list/default-tag-text": {
879
879
  "type": "string",
880
- "description": "添加时的文案提示, 默认值: `添加联系人`"
880
+ "description": "默认联系人标签文案, 默认值: -"
881
881
  },
882
882
  "van-count-down/time": {
883
883
  "type": "number | string",
@@ -1067,21 +1067,9 @@
1067
1067
  "type": "number | string",
1068
1068
  "description": "可选的最大分钟, 默认值: `59`"
1069
1069
  },
1070
- "van-divider/dashed": {
1071
- "type": "boolean",
1072
- "description": "是否使用虚线, 默认值: `false`"
1073
- },
1074
- "van-divider/hairline": {
1070
+ "van-dialog/v-model": {
1075
1071
  "type": "boolean",
1076
- "description": "是否使用 0.5px 线, 默认值: `true`"
1077
- },
1078
- "van-divider/content-position": {
1079
- "type": "string",
1080
- "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1081
- },
1082
- "van-dialog/v-model": {
1083
- "type": "boolean",
1084
- "description": "是否显示弹窗, 默认值: -"
1072
+ "description": "是否显示弹窗, 默认值: -"
1085
1073
  },
1086
1074
  "van-dialog/title": {
1087
1075
  "type": "string",
@@ -1171,6 +1159,18 @@
1171
1159
  "type": "string | () => Element",
1172
1160
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1173
1161
  },
1162
+ "van-divider/dashed": {
1163
+ "type": "boolean",
1164
+ "description": "是否使用虚线, 默认值: `false`"
1165
+ },
1166
+ "van-divider/hairline": {
1167
+ "type": "boolean",
1168
+ "description": "是否使用 0.5px 线, 默认值: `true`"
1169
+ },
1170
+ "van-divider/content-position": {
1171
+ "type": "string",
1172
+ "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1173
+ },
1174
1174
  "van-dropdown-menu/active-color": {
1175
1175
  "type": "string",
1176
1176
  "description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
@@ -1379,6 +1379,58 @@
1379
1379
  "type": "string",
1380
1380
  "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
1381
1381
  },
1382
+ "van-form/label-width": {
1383
+ "type": "number | string",
1384
+ "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1385
+ },
1386
+ "van-form/label-align": {
1387
+ "type": "string",
1388
+ "description": "表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1389
+ },
1390
+ "van-form/input-align": {
1391
+ "type": "string",
1392
+ "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1393
+ },
1394
+ "van-form/error-message-align": {
1395
+ "type": "string",
1396
+ "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1397
+ },
1398
+ "van-form/validate-trigger": {
1399
+ "type": "string",
1400
+ "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1401
+ },
1402
+ "van-form/colon": {
1403
+ "type": "boolean",
1404
+ "description": "是否在 label 后面添加冒号, 默认值: `false`"
1405
+ },
1406
+ "van-form/disabled": {
1407
+ "type": "boolean",
1408
+ "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1409
+ },
1410
+ "van-form/readonly": {
1411
+ "type": "boolean",
1412
+ "description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
1413
+ },
1414
+ "van-form/validate-first": {
1415
+ "type": "boolean",
1416
+ "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1417
+ },
1418
+ "van-form/scroll-to-error": {
1419
+ "type": "boolean",
1420
+ "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1421
+ },
1422
+ "van-form/show-error": {
1423
+ "type": "boolean",
1424
+ "description": "是否在校验不通过时标红输入框, 默认值: `true`"
1425
+ },
1426
+ "van-form/show-error-message": {
1427
+ "type": "boolean",
1428
+ "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1429
+ },
1430
+ "van-form/submit-on-enter": {
1431
+ "type": "boolean",
1432
+ "description": "是否在按下回车键时提交表单, 默认值: `true`"
1433
+ },
1382
1434
  "van-goods-action/safe-area-inset-bottom": {
1383
1435
  "type": "boolean",
1384
1436
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
@@ -1459,90 +1511,6 @@
1459
1511
  "type": "boolean",
1460
1512
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1461
1513
  },
1462
- "van-form/label-width": {
1463
- "type": "number | string",
1464
- "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1465
- },
1466
- "van-form/label-align": {
1467
- "type": "string",
1468
- "description": "表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1469
- },
1470
- "van-form/input-align": {
1471
- "type": "string",
1472
- "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1473
- },
1474
- "van-form/error-message-align": {
1475
- "type": "string",
1476
- "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1477
- },
1478
- "van-form/validate-trigger": {
1479
- "type": "string",
1480
- "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1481
- },
1482
- "van-form/colon": {
1483
- "type": "boolean",
1484
- "description": "是否在 label 后面添加冒号, 默认值: `false`"
1485
- },
1486
- "van-form/disabled": {
1487
- "type": "boolean",
1488
- "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1489
- },
1490
- "van-form/readonly": {
1491
- "type": "boolean",
1492
- "description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
1493
- },
1494
- "van-form/validate-first": {
1495
- "type": "boolean",
1496
- "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1497
- },
1498
- "van-form/scroll-to-error": {
1499
- "type": "boolean",
1500
- "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1501
- },
1502
- "van-form/show-error": {
1503
- "type": "boolean",
1504
- "description": "是否在校验不通过时标红输入框, 默认值: `true`"
1505
- },
1506
- "van-form/show-error-message": {
1507
- "type": "boolean",
1508
- "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1509
- },
1510
- "van-form/submit-on-enter": {
1511
- "type": "boolean",
1512
- "description": "是否在按下回车键时提交表单, 默认值: `true`"
1513
- },
1514
- "van-icon/name": {
1515
- "type": "string",
1516
- "description": "图标名称或图片链接, 默认值: -"
1517
- },
1518
- "van-icon/dot": {
1519
- "type": "boolean",
1520
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1521
- },
1522
- "van-icon/badge": {
1523
- "type": "number | string",
1524
- "description": "图标右上角徽标的内容, 默认值: -"
1525
- },
1526
- "van-icon/info": {
1527
- "type": "number | string",
1528
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1529
- },
1530
- "van-icon/color": {
1531
- "type": "string",
1532
- "description": "图标颜色, 默认值: `inherit`"
1533
- },
1534
- "van-icon/size": {
1535
- "type": "number | string",
1536
- "description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
1537
- },
1538
- "van-icon/class-prefix": {
1539
- "type": "string",
1540
- "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1541
- },
1542
- "van-icon/tag": {
1543
- "type": "string",
1544
- "description": "HTML 标签, 默认值: `i`"
1545
- },
1546
1514
  "van-grid/column-num": {
1547
1515
  "type": "number | string",
1548
1516
  "description": "列数, 默认值: `4`"
@@ -1611,6 +1579,38 @@
1611
1579
  "type": "boolean",
1612
1580
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1613
1581
  },
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
1614
  "van-image/src": {
1615
1615
  "type": "string",
1616
1616
  "description": "图片链接, 默认值: -"
@@ -1663,30 +1663,6 @@
1663
1663
  "type": "string",
1664
1664
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1665
1665
  },
1666
- "van-index-bar/index-list": {
1667
- "type": "string[] | number[]",
1668
- "description": "索引字符列表, 默认值: `A-Z`"
1669
- },
1670
- "van-index-bar/z-index": {
1671
- "type": "number | string",
1672
- "description": "z-index 层级, 默认值: `1`"
1673
- },
1674
- "van-index-bar/sticky": {
1675
- "type": "boolean",
1676
- "description": "是否开启锚点自动吸顶, 默认值: `true`"
1677
- },
1678
- "van-index-bar/sticky-offset-top": {
1679
- "type": "number",
1680
- "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1681
- },
1682
- "van-index-bar/highlight-color": {
1683
- "type": "string",
1684
- "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1685
- },
1686
- "van-index-anchor/index": {
1687
- "type": "number | string",
1688
- "description": "索引字符, 默认值: -"
1689
- },
1690
1666
  "van-image-preview/images": {
1691
1667
  "type": "string[]",
1692
1668
  "description": "需要预览的图片 URL 数组, 默认值: `[]`"
@@ -1755,6 +1731,30 @@
1755
1731
  "type": "string | () => Element",
1756
1732
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1757
1733
  },
1734
+ "van-index-bar/index-list": {
1735
+ "type": "string[] | number[]",
1736
+ "description": "索引字符列表, 默认值: `A-Z`"
1737
+ },
1738
+ "van-index-bar/z-index": {
1739
+ "type": "number | string",
1740
+ "description": "z-index 层级, 默认值: `1`"
1741
+ },
1742
+ "van-index-bar/sticky": {
1743
+ "type": "boolean",
1744
+ "description": "是否开启锚点自动吸顶, 默认值: `true`"
1745
+ },
1746
+ "van-index-bar/sticky-offset-top": {
1747
+ "type": "number",
1748
+ "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1749
+ },
1750
+ "van-index-bar/highlight-color": {
1751
+ "type": "string",
1752
+ "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1753
+ },
1754
+ "van-index-anchor/index": {
1755
+ "type": "number | string",
1756
+ "description": "索引字符, 默认值: -"
1757
+ },
1758
1758
  "van-list/v-model": {
1759
1759
  "type": "boolean",
1760
1760
  "description": "是否处于加载状态,加载过程中不触发`load`事件, 默认值: `false`"
@@ -1987,6 +1987,22 @@
1987
1987
  "type": "boolean",
1988
1988
  "description": "是否显示省略号, 默认值: `false`"
1989
1989
  },
1990
+ "van-panel/title": {
1991
+ "type": "string",
1992
+ "description": "标题, 默认值: -"
1993
+ },
1994
+ "van-panel/desc": {
1995
+ "type": "string",
1996
+ "description": "描述, 默认值: -"
1997
+ },
1998
+ "van-panel/status": {
1999
+ "type": "string",
2000
+ "description": "状态, 默认值: -"
2001
+ },
2002
+ "van-panel/icon": {
2003
+ "type": "string",
2004
+ "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2005
+ },
1990
2006
  "van-overlay/show": {
1991
2007
  "type": "boolean",
1992
2008
  "description": "是否展示遮罩层, 默认值: `false`"
@@ -2039,58 +2055,6 @@
2039
2055
  "type": "boolean",
2040
2056
  "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2041
2057
  },
2042
- "van-panel/title": {
2043
- "type": "string",
2044
- "description": "标题, 默认值: -"
2045
- },
2046
- "van-panel/desc": {
2047
- "type": "string",
2048
- "description": "描述, 默认值: -"
2049
- },
2050
- "van-panel/status": {
2051
- "type": "string",
2052
- "description": "状态, 默认值: -"
2053
- },
2054
- "van-panel/icon": {
2055
- "type": "string",
2056
- "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2057
- },
2058
- "van-progress/percentage": {
2059
- "type": "number | string",
2060
- "description": "进度百分比, 默认值: `0`"
2061
- },
2062
- "van-progress/stroke-width": {
2063
- "type": "number | string",
2064
- "description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
2065
- },
2066
- "van-progress/color": {
2067
- "type": "string",
2068
- "description": "进度条颜色, 默认值: `#1989fa`"
2069
- },
2070
- "van-progress/track-color": {
2071
- "type": "string",
2072
- "description": "轨道颜色, 默认值: `#e5e5e5`"
2073
- },
2074
- "van-progress/pivot-text": {
2075
- "type": "string",
2076
- "description": "进度文字内容, 默认值: 百分比"
2077
- },
2078
- "van-progress/pivot-color": {
2079
- "type": "string",
2080
- "description": "进度文字背景色, 默认值: 同进度条颜色"
2081
- },
2082
- "van-progress/text-color": {
2083
- "type": "string",
2084
- "description": "进度文字颜色, 默认值: `white`"
2085
- },
2086
- "van-progress/inactive": {
2087
- "type": "boolean",
2088
- "description": "是否置灰, 默认值: `false`"
2089
- },
2090
- "van-progress/show-pivot": {
2091
- "type": "boolean",
2092
- "description": "是否显示进度文字, 默认值: `true`"
2093
- },
2094
2058
  "van-picker/columns": {
2095
2059
  "type": "Column[]",
2096
2060
  "description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
@@ -2147,6 +2111,46 @@
2147
2111
  "type": "number | string",
2148
2112
  "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2149
2113
  },
2114
+ "van-popover/v-model": {
2115
+ "type": "boolean",
2116
+ "description": "是否展示气泡弹出层, 默认值: `false`"
2117
+ },
2118
+ "van-popover/actions": {
2119
+ "type": "Action[]",
2120
+ "description": "选项列表, 默认值: `[]`"
2121
+ },
2122
+ "van-popover/placement": {
2123
+ "type": "string",
2124
+ "description": "弹出位置, 默认值: `bottom`"
2125
+ },
2126
+ "van-popover/theme": {
2127
+ "type": "string",
2128
+ "description": "主题风格,可选值为 `dark`, 默认值: `light`"
2129
+ },
2130
+ "van-popover/trigger": {
2131
+ "type": "-",
2132
+ "description": "触发方式,可选值为 `click`, 默认值: undefined"
2133
+ },
2134
+ "van-popover/offset": {
2135
+ "type": "[number, number]",
2136
+ "description": "出现位置的偏移量, 默认值: `[0, 8]`"
2137
+ },
2138
+ "van-popover/overlay": {
2139
+ "type": "boolean",
2140
+ "description": "是否显示遮罩层, 默认值: `false`"
2141
+ },
2142
+ "van-popover/close-on-click-action": {
2143
+ "type": "boolean",
2144
+ "description": "是否在点击选项后关闭, 默认值: `true`"
2145
+ },
2146
+ "van-popover/close-on-click-outside": {
2147
+ "type": "boolean",
2148
+ "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
2149
+ },
2150
+ "van-popover/get-container": {
2151
+ "type": "string | () => Element",
2152
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: `body`"
2153
+ },
2150
2154
  "van-popup/v-model (value)": {
2151
2155
  "type": "boolean",
2152
2156
  "description": "是否显示弹出层, 默认值: `false`"
@@ -2219,45 +2223,81 @@
2219
2223
  "type": "boolean",
2220
2224
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
2221
2225
  },
2222
- "van-popover/v-model": {
2223
- "type": "boolean",
2224
- "description": "是否展示气泡弹出层, 默认值: `false`"
2226
+ "van-progress/percentage": {
2227
+ "type": "number | string",
2228
+ "description": "进度百分比, 默认值: `0`"
2225
2229
  },
2226
- "van-popover/actions": {
2227
- "type": "Action[]",
2228
- "description": "选项列表, 默认值: `[]`"
2230
+ "van-progress/stroke-width": {
2231
+ "type": "number | string",
2232
+ "description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
2229
2233
  },
2230
- "van-popover/placement": {
2234
+ "van-progress/color": {
2231
2235
  "type": "string",
2232
- "description": "弹出位置, 默认值: `bottom`"
2236
+ "description": "进度条颜色, 默认值: `#1989fa`"
2233
2237
  },
2234
- "van-popover/theme": {
2238
+ "van-progress/track-color": {
2235
2239
  "type": "string",
2236
- "description": "主题风格,可选值为 `dark`, 默认值: `light`"
2240
+ "description": "轨道颜色, 默认值: `#e5e5e5`"
2237
2241
  },
2238
- "van-popover/trigger": {
2239
- "type": "-",
2240
- "description": "触发方式,可选值为 `click`, 默认值: undefined"
2242
+ "van-progress/pivot-text": {
2243
+ "type": "string",
2244
+ "description": "进度文字内容, 默认值: 百分比"
2241
2245
  },
2242
- "van-popover/offset": {
2243
- "type": "[number, number]",
2244
- "description": "出现位置的偏移量, 默认值: `[0, 8]`"
2246
+ "van-progress/pivot-color": {
2247
+ "type": "string",
2248
+ "description": "进度文字背景色, 默认值: 同进度条颜色"
2245
2249
  },
2246
- "van-popover/overlay": {
2250
+ "van-progress/text-color": {
2251
+ "type": "string",
2252
+ "description": "进度文字颜色, 默认值: `white`"
2253
+ },
2254
+ "van-progress/inactive": {
2247
2255
  "type": "boolean",
2248
- "description": "是否显示遮罩层, 默认值: `false`"
2256
+ "description": "是否置灰, 默认值: `false`"
2249
2257
  },
2250
- "van-popover/close-on-click-action": {
2258
+ "van-progress/show-pivot": {
2251
2259
  "type": "boolean",
2252
- "description": "是否在点击选项后关闭, 默认值: `true`"
2260
+ "description": "是否显示进度文字, 默认值: `true`"
2253
2261
  },
2254
- "van-popover/close-on-click-outside": {
2262
+ "van-pull-refresh/v-model": {
2255
2263
  "type": "boolean",
2256
- "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
2264
+ "description": "是否处于加载中状态, 默认值: -"
2265
+ },
2266
+ "van-pull-refresh/pulling-text": {
2267
+ "type": "string",
2268
+ "description": "下拉过程提示文案, 默认值: `下拉即可刷新...`"
2269
+ },
2270
+ "van-pull-refresh/loosing-text": {
2271
+ "type": "string",
2272
+ "description": "释放过程提示文案, 默认值: `释放即可刷新...`"
2273
+ },
2274
+ "van-pull-refresh/loading-text": {
2275
+ "type": "string",
2276
+ "description": "加载过程提示文案, 默认值: `加载中...`"
2277
+ },
2278
+ "van-pull-refresh/success-text": {
2279
+ "type": "string",
2280
+ "description": "刷新成功提示文案, 默认值: -"
2281
+ },
2282
+ "van-pull-refresh/success-duration": {
2283
+ "type": "number | string",
2284
+ "description": "刷新成功提示展示时长(ms), 默认值: `500`"
2285
+ },
2286
+ "van-pull-refresh/animation-duration": {
2287
+ "type": "number | string",
2288
+ "description": "动画时长, 默认值: `300`"
2289
+ },
2290
+ "van-pull-refresh/head-height": {
2291
+ "type": "number | string",
2292
+ "description": "顶部内容高度, 默认值: `50`"
2293
+ },
2294
+ "van-pull-refresh/pull-distance": {
2295
+ "type": "number | string",
2296
+ "description": "触发下拉刷新的距离, 默认值: 与 `head-height` 一致"
2257
2297
  },
2258
- "van-popover/get-container": {
2259
- "type": "string | () => Element",
2260
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: `body`"
2298
+ "van-pull-refresh/disabled": {
2299
+ "type": "boolean",
2300
+ "description": "是否禁用下拉刷新, 默认值: `false`"
2261
2301
  },
2262
2302
  "van-radio/name": {
2263
2303
  "type": "any",
@@ -2307,46 +2347,6 @@
2307
2347
  "type": "string",
2308
2348
  "description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
2309
2349
  },
2310
- "van-pull-refresh/v-model": {
2311
- "type": "boolean",
2312
- "description": "是否处于加载中状态, 默认值: -"
2313
- },
2314
- "van-pull-refresh/pulling-text": {
2315
- "type": "string",
2316
- "description": "下拉过程提示文案, 默认值: `下拉即可刷新...`"
2317
- },
2318
- "van-pull-refresh/loosing-text": {
2319
- "type": "string",
2320
- "description": "释放过程提示文案, 默认值: `释放即可刷新...`"
2321
- },
2322
- "van-pull-refresh/loading-text": {
2323
- "type": "string",
2324
- "description": "加载过程提示文案, 默认值: `加载中...`"
2325
- },
2326
- "van-pull-refresh/success-text": {
2327
- "type": "string",
2328
- "description": "刷新成功提示文案, 默认值: -"
2329
- },
2330
- "van-pull-refresh/success-duration": {
2331
- "type": "number | string",
2332
- "description": "刷新成功提示展示时长(ms), 默认值: `500`"
2333
- },
2334
- "van-pull-refresh/animation-duration": {
2335
- "type": "number | string",
2336
- "description": "动画时长, 默认值: `300`"
2337
- },
2338
- "van-pull-refresh/head-height": {
2339
- "type": "number | string",
2340
- "description": "顶部内容高度, 默认值: `50`"
2341
- },
2342
- "van-pull-refresh/pull-distance": {
2343
- "type": "number | string",
2344
- "description": "触发下拉刷新的距离, 默认值: 与 `head-height` 一致"
2345
- },
2346
- "van-pull-refresh/disabled": {
2347
- "type": "boolean",
2348
- "description": "是否禁用下拉刷新, 默认值: `false`"
2349
- },
2350
2350
  "van-rate/v-model": {
2351
2351
  "type": "number",
2352
2352
  "description": "当前分值, 默认值: -"
@@ -2515,46 +2515,6 @@
2515
2515
  "type": "string | () => Element",
2516
2516
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
2517
2517
  },
2518
- "van-skeleton/row": {
2519
- "type": "number | string",
2520
- "description": "段落占位图行数, 默认值: `0`"
2521
- },
2522
- "van-skeleton/row-width": {
2523
- "type": "number | string \\",
2524
- "description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\"
2525
- },
2526
- "van-skeleton/title": {
2527
- "type": "boolean",
2528
- "description": "是否显示标题占位图, 默认值: `false`"
2529
- },
2530
- "van-skeleton/avatar": {
2531
- "type": "boolean",
2532
- "description": "是否显示头像占位图, 默认值: `false`"
2533
- },
2534
- "van-skeleton/loading": {
2535
- "type": "boolean",
2536
- "description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
2537
- },
2538
- "van-skeleton/animate": {
2539
- "type": "boolean",
2540
- "description": "是否开启动画, 默认值: `true`"
2541
- },
2542
- "van-skeleton/round": {
2543
- "type": "boolean",
2544
- "description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
2545
- },
2546
- "van-skeleton/title-width": {
2547
- "type": "number | string",
2548
- "description": "标题占位图宽度, 默认值: `40%`"
2549
- },
2550
- "van-skeleton/avatar-size": {
2551
- "type": "number | string",
2552
- "description": "头像占位图大小, 默认值: `32px`"
2553
- },
2554
- "van-skeleton/avatar-shape": {
2555
- "type": "string",
2556
- "description": "头像占位图形状,可选值为`square`, 默认值: `round`"
2557
- },
2558
2518
  "van-sidebar/v-model": {
2559
2519
  "type": "number | string",
2560
2520
  "description": "当前导航项的索引, 默认值: `0`"
@@ -2591,49 +2551,45 @@
2591
2551
  "type": "boolean",
2592
2552
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
2593
2553
  },
2594
- "van-slider/value": {
2595
- "type": "number | array",
2596
- "description": "当前进度百分比, 默认值: `0`"
2597
- },
2598
- "van-slider/max": {
2599
- "type": "number | string",
2600
- "description": "最大值, 默认值: `100`"
2601
- },
2602
- "van-slider/min": {
2603
- "type": "number | string",
2604
- "description": "最小值, 默认值: `0`"
2605
- },
2606
- "van-slider/step": {
2607
- "type": "number | string",
2608
- "description": "步长, 默认值: `1`"
2609
- },
2610
- "van-slider/bar-height": {
2554
+ "van-skeleton/row": {
2611
2555
  "type": "number | string",
2612
- "description": "进度条高度,默认单位为`px`, 默认值: `2px`"
2556
+ "description": "段落占位图行数, 默认值: `0`"
2613
2557
  },
2614
- "van-slider/button-size": {
2615
- "type": "number | string",
2616
- "description": "滑块按钮大小,默认单位为`px`, 默认值: `24px`"
2558
+ "van-skeleton/row-width": {
2559
+ "type": "number | string \\",
2560
+ "description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\"
2617
2561
  },
2618
- "van-slider/active-color": {
2619
- "type": "string",
2620
- "description": "进度条激活态颜色, 默认值: `#1989fa`"
2562
+ "van-skeleton/title": {
2563
+ "type": "boolean",
2564
+ "description": "是否显示标题占位图, 默认值: `false`"
2621
2565
  },
2622
- "van-slider/inactive-color": {
2623
- "type": "string",
2624
- "description": "进度条非激活态颜色, 默认值: `#e5e5e5`"
2566
+ "van-skeleton/avatar": {
2567
+ "type": "boolean",
2568
+ "description": "是否显示头像占位图, 默认值: `false`"
2625
2569
  },
2626
- "van-slider/range": {
2570
+ "van-skeleton/loading": {
2627
2571
  "type": "boolean",
2628
- "description": "是否开启双滑块模式, 默认值: `false`"
2572
+ "description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
2629
2573
  },
2630
- "van-slider/disabled": {
2574
+ "van-skeleton/animate": {
2631
2575
  "type": "boolean",
2632
- "description": "是否禁用滑块, 默认值: `false`"
2576
+ "description": "是否开启动画, 默认值: `true`"
2633
2577
  },
2634
- "van-slider/vertical": {
2578
+ "van-skeleton/round": {
2635
2579
  "type": "boolean",
2636
- "description": "是否垂直展示, 默认值: `false`"
2580
+ "description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
2581
+ },
2582
+ "van-skeleton/title-width": {
2583
+ "type": "number | string",
2584
+ "description": "标题占位图宽度, 默认值: `40%`"
2585
+ },
2586
+ "van-skeleton/avatar-size": {
2587
+ "type": "number | string",
2588
+ "description": "头像占位图大小, 默认值: `32px`"
2589
+ },
2590
+ "van-skeleton/avatar-shape": {
2591
+ "type": "string",
2592
+ "description": "头像占位图形状,可选值为`square`, 默认值: `round`"
2637
2593
  },
2638
2594
  "van-sku/v-model": {
2639
2595
  "type": "boolean",
@@ -2763,6 +2719,50 @@
2763
2719
  "type": "boolean",
2764
2720
  "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
2765
2721
  },
2722
+ "van-slider/value": {
2723
+ "type": "number | array",
2724
+ "description": "当前进度百分比, 默认值: `0`"
2725
+ },
2726
+ "van-slider/max": {
2727
+ "type": "number | string",
2728
+ "description": "最大值, 默认值: `100`"
2729
+ },
2730
+ "van-slider/min": {
2731
+ "type": "number | string",
2732
+ "description": "最小值, 默认值: `0`"
2733
+ },
2734
+ "van-slider/step": {
2735
+ "type": "number | string",
2736
+ "description": "步长, 默认值: `1`"
2737
+ },
2738
+ "van-slider/bar-height": {
2739
+ "type": "number | string",
2740
+ "description": "进度条高度,默认单位为`px`, 默认值: `2px`"
2741
+ },
2742
+ "van-slider/button-size": {
2743
+ "type": "number | string",
2744
+ "description": "滑块按钮大小,默认单位为`px`, 默认值: `24px`"
2745
+ },
2746
+ "van-slider/active-color": {
2747
+ "type": "string",
2748
+ "description": "进度条激活态颜色, 默认值: `#1989fa`"
2749
+ },
2750
+ "van-slider/inactive-color": {
2751
+ "type": "string",
2752
+ "description": "进度条非激活态颜色, 默认值: `#e5e5e5`"
2753
+ },
2754
+ "van-slider/range": {
2755
+ "type": "boolean",
2756
+ "description": "是否开启双滑块模式, 默认值: `false`"
2757
+ },
2758
+ "van-slider/disabled": {
2759
+ "type": "boolean",
2760
+ "description": "是否禁用滑块, 默认值: `false`"
2761
+ },
2762
+ "van-slider/vertical": {
2763
+ "type": "boolean",
2764
+ "description": "是否垂直展示, 默认值: `false`"
2765
+ },
2766
2766
  "van-stepper/v-model": {
2767
2767
  "type": "number | string",
2768
2768
  "description": "当前输入的值, 默认值: -"
@@ -3223,38 +3223,6 @@
3223
3223
  "type": "any",
3224
3224
  "description": "自定义标题类名, 默认值: -"
3225
3225
  },
3226
- "van-tag/type": {
3227
- "type": "string",
3228
- "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"
3229
- },
3230
- "van-tag/size": {
3231
- "type": "string",
3232
- "description": "大小, 可选值为`large` `medium`, 默认值: -"
3233
- },
3234
- "van-tag/color": {
3235
- "type": "string",
3236
- "description": "标签颜色, 默认值: -"
3237
- },
3238
- "van-tag/plain": {
3239
- "type": "boolean",
3240
- "description": "是否为空心样式, 默认值: `false`"
3241
- },
3242
- "van-tag/round": {
3243
- "type": "boolean",
3244
- "description": "是否为圆角样式, 默认值: `false`"
3245
- },
3246
- "van-tag/mark": {
3247
- "type": "boolean",
3248
- "description": "是否为标记样式, 默认值: `false`"
3249
- },
3250
- "van-tag/text-color": {
3251
- "type": "string",
3252
- "description": "文本颜色,优先级高于`color`属性, 默认值: `white`"
3253
- },
3254
- "van-tag/closeable": {
3255
- "type": "boolean",
3256
- "description": "是否为可关闭标签, 默认值: `false`"
3257
- },
3258
3226
  "van-tabbar/v-model": {
3259
3227
  "type": "number | string",
3260
3228
  "description": "当前选中标签的名称或索引值, 默认值: `0`"
@@ -3331,6 +3299,38 @@
3331
3299
  "type": "boolean",
3332
3300
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
3333
3301
  },
3302
+ "van-tag/type": {
3303
+ "type": "string",
3304
+ "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"
3305
+ },
3306
+ "van-tag/size": {
3307
+ "type": "string",
3308
+ "description": "大小, 可选值为`large` `medium`, 默认值: -"
3309
+ },
3310
+ "van-tag/color": {
3311
+ "type": "string",
3312
+ "description": "标签颜色, 默认值: -"
3313
+ },
3314
+ "van-tag/plain": {
3315
+ "type": "boolean",
3316
+ "description": "是否为空心样式, 默认值: `false`"
3317
+ },
3318
+ "van-tag/round": {
3319
+ "type": "boolean",
3320
+ "description": "是否为圆角样式, 默认值: `false`"
3321
+ },
3322
+ "van-tag/mark": {
3323
+ "type": "boolean",
3324
+ "description": "是否为标记样式, 默认值: `false`"
3325
+ },
3326
+ "van-tag/text-color": {
3327
+ "type": "string",
3328
+ "description": "文本颜色,优先级高于`color`属性, 默认值: `white`"
3329
+ },
3330
+ "van-tag/closeable": {
3331
+ "type": "boolean",
3332
+ "description": "是否为可关闭标签, 默认值: `false`"
3333
+ },
3334
3334
  "van-tree-select/items": {
3335
3335
  "type": "Item[]",
3336
3336
  "description": "分类显示所需的数据, 默认值: `[]`"