vant 2.12.39 → 2.12.43

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,72 @@
1
1
  {
2
+ "van-action-sheet/v-model (value)": {
3
+ "type": "boolean",
4
+ "description": "是否显示动作面板, 默认值: `false`"
5
+ },
6
+ "van-action-sheet/actions": {
7
+ "type": "Action[]",
8
+ "description": "面板选项列表, 默认值: `[]`"
9
+ },
10
+ "van-action-sheet/title": {
11
+ "type": "string",
12
+ "description": "顶部标题, 默认值: -"
13
+ },
14
+ "van-action-sheet/cancel-text": {
15
+ "type": "string",
16
+ "description": "取消按钮文字, 默认值: -"
17
+ },
18
+ "van-action-sheet/description": {
19
+ "type": "string",
20
+ "description": "选项上方的描述信息, 默认值: -"
21
+ },
22
+ "van-action-sheet/closeable": {
23
+ "type": "boolean",
24
+ "description": "是否显示关闭图标, 默认值: `true`"
25
+ },
26
+ "van-action-sheet/close-icon": {
27
+ "type": "string",
28
+ "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
29
+ },
30
+ "van-action-sheet/duration": {
31
+ "type": "number | string",
32
+ "description": "动画时长,单位秒, 默认值: `0.3`"
33
+ },
34
+ "van-action-sheet/round": {
35
+ "type": "boolean",
36
+ "description": "是否显示圆角, 默认值: `true`"
37
+ },
38
+ "van-action-sheet/overlay": {
39
+ "type": "boolean",
40
+ "description": "是否显示遮罩层, 默认值: `true`"
41
+ },
42
+ "van-action-sheet/lock-scroll": {
43
+ "type": "boolean",
44
+ "description": "是否锁定背景滚动, 默认值: `true`"
45
+ },
46
+ "van-action-sheet/lazy-render": {
47
+ "type": "boolean",
48
+ "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
49
+ },
50
+ "van-action-sheet/close-on-popstate": {
51
+ "type": "boolean",
52
+ "description": "是否在页面回退时自动关闭, 默认值: `false`"
53
+ },
54
+ "van-action-sheet/close-on-click-action": {
55
+ "type": "boolean",
56
+ "description": "是否在点击选项后关闭, 默认值: `false`"
57
+ },
58
+ "van-action-sheet/close-on-click-overlay": {
59
+ "type": "boolean",
60
+ "description": "是否在点击遮罩层后关闭, 默认值: `true`"
61
+ },
62
+ "van-action-sheet/safe-area-inset-bottom": {
63
+ "type": "boolean",
64
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
65
+ },
66
+ "van-action-sheet/get-container": {
67
+ "type": "string | () => Element",
68
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
69
+ },
2
70
  "van-address-edit/area-list": {
3
71
  "type": "object",
4
72
  "description": "地区列表, 默认值: -"
@@ -87,34 +155,6 @@
87
155
  "type": "(key, val) => string",
88
156
  "description": "自定义校验函数, 默认值: -"
89
157
  },
90
- "van-address-list/v-model": {
91
- "type": "string",
92
- "description": "当前选中地址的 id, 默认值: -"
93
- },
94
- "van-address-list/list": {
95
- "type": "Address[]",
96
- "description": "地址列表, 默认值: `[]`"
97
- },
98
- "van-address-list/disabled-list": {
99
- "type": "Address[]",
100
- "description": "不可配送地址列表, 默认值: `[]`"
101
- },
102
- "van-address-list/disabled-text": {
103
- "type": "string",
104
- "description": "不可配送提示文案, 默认值: -"
105
- },
106
- "van-address-list/switchable": {
107
- "type": "boolean",
108
- "description": "是否允许切换地址, 默认值: `true`"
109
- },
110
- "van-address-list/add-button-text": {
111
- "type": "string",
112
- "description": "底部按钮文字, 默认值: `新增地址`"
113
- },
114
- "van-address-list/default-tag-text": {
115
- "type": "string",
116
- "description": "默认地址标签文字, 默认值: -"
117
- },
118
158
  "van-badge/content": {
119
159
  "type": "number | string",
120
160
  "description": "徽标内容, 默认值: -"
@@ -131,58 +171,6 @@
131
171
  "type": "number | string",
132
172
  "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
133
173
  },
134
- "van-area/value": {
135
- "type": "string",
136
- "description": "当前选中的省市区`code`, 默认值: -"
137
- },
138
- "van-area/title": {
139
- "type": "string",
140
- "description": "顶部栏标题, 默认值: -"
141
- },
142
- "van-area/confirm-button-text": {
143
- "type": "string",
144
- "description": "确认按钮文字, 默认值: `确认`"
145
- },
146
- "van-area/cancel-button-text": {
147
- "type": "string",
148
- "description": "取消按钮文字, 默认值: `取消`"
149
- },
150
- "van-area/area-list": {
151
- "type": "object",
152
- "description": "省市区数据,格式见下方, 默认值: -"
153
- },
154
- "van-area/columns-placeholder": {
155
- "type": "string[]",
156
- "description": "列占位提示文字, 默认值: `[]`"
157
- },
158
- "van-area/loading": {
159
- "type": "boolean",
160
- "description": "是否显示加载状态, 默认值: `false`"
161
- },
162
- "van-area/readonly": {
163
- "type": "boolean",
164
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
165
- },
166
- "van-area/item-height": {
167
- "type": "number | string",
168
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
169
- },
170
- "van-area/columns-num": {
171
- "type": "number | string",
172
- "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
173
- },
174
- "van-area/visible-item-count": {
175
- "type": "number | string",
176
- "description": "可见的选项个数, 默认值: `6`"
177
- },
178
- "van-area/swipe-duration": {
179
- "type": "number | string",
180
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
181
- },
182
- "van-area/is-oversea-code": {
183
- "type": "() => boolean",
184
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
185
- },
186
174
  "van-button/type": {
187
175
  "type": "string",
188
176
  "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
@@ -271,6 +259,58 @@
271
259
  "type": "boolean",
272
260
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
273
261
  },
262
+ "van-area/value": {
263
+ "type": "string",
264
+ "description": "当前选中的省市区`code`, 默认值: -"
265
+ },
266
+ "van-area/title": {
267
+ "type": "string",
268
+ "description": "顶部栏标题, 默认值: -"
269
+ },
270
+ "van-area/confirm-button-text": {
271
+ "type": "string",
272
+ "description": "确认按钮文字, 默认值: `确认`"
273
+ },
274
+ "van-area/cancel-button-text": {
275
+ "type": "string",
276
+ "description": "取消按钮文字, 默认值: `取消`"
277
+ },
278
+ "van-area/area-list": {
279
+ "type": "object",
280
+ "description": "省市区数据,格式见下方, 默认值: -"
281
+ },
282
+ "van-area/columns-placeholder": {
283
+ "type": "string[]",
284
+ "description": "列占位提示文字, 默认值: `[]`"
285
+ },
286
+ "van-area/loading": {
287
+ "type": "boolean",
288
+ "description": "是否显示加载状态, 默认值: `false`"
289
+ },
290
+ "van-area/readonly": {
291
+ "type": "boolean",
292
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
293
+ },
294
+ "van-area/item-height": {
295
+ "type": "number | string",
296
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
297
+ },
298
+ "van-area/columns-num": {
299
+ "type": "number | string",
300
+ "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
301
+ },
302
+ "van-area/visible-item-count": {
303
+ "type": "number | string",
304
+ "description": "可见的选项个数, 默认值: `6`"
305
+ },
306
+ "van-area/swipe-duration": {
307
+ "type": "number | string",
308
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
309
+ },
310
+ "van-area/is-oversea-code": {
311
+ "type": "() => boolean",
312
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
313
+ },
274
314
  "van-calendar/type": {
275
315
  "type": "string",
276
316
  "description": "选择类型:<br>`single`表示选择单个日期,<br>`multiple`表示选择多个日期,<br>`range`表示选择日期区间, 默认值: `single`"
@@ -391,34 +431,6 @@
391
431
  "type": "string",
392
432
  "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
393
433
  },
394
- "van-cascader/title": {
395
- "type": "string",
396
- "description": "顶部标题, 默认值: -"
397
- },
398
- "van-cascader/value": {
399
- "type": "string | number",
400
- "description": "选中项的值, 默认值: -"
401
- },
402
- "van-cascader/options": {
403
- "type": "Option[]",
404
- "description": "可选项数据源, 默认值: `[]`"
405
- },
406
- "van-cascader/placeholder": {
407
- "type": "string",
408
- "description": "未选中时的提示文案, 默认值: `请选择`"
409
- },
410
- "van-cascader/active-color": {
411
- "type": "string",
412
- "description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
413
- },
414
- "van-cascader/closeable": {
415
- "type": "boolean",
416
- "description": "是否显示关闭图标, 默认值: `true`"
417
- },
418
- "van-cascader/field-names": {
419
- "type": "object",
420
- "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
421
- },
422
434
  "van-card/thumb": {
423
435
  "type": "string",
424
436
  "description": "左侧图片 URL, 默认值: -"
@@ -463,29 +475,61 @@
463
475
  "type": "boolean",
464
476
  "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
465
477
  },
466
- "van-cell-group/title": {
478
+ "van-cascader/title": {
467
479
  "type": "string",
468
- "description": "分组标题, 默认值: `-`"
469
- },
470
- "van-cell-group/border": {
471
- "type": "boolean",
472
- "description": "是否显示外边框, 默认值: `true`"
480
+ "description": "顶部标题, 默认值: -"
473
481
  },
474
- "van-cell/title": {
475
- "type": "number | string",
476
- "description": "左侧标题, 默认值: -"
482
+ "van-cascader/value": {
483
+ "type": "string | number",
484
+ "description": "选中项的值, 默认值: -"
477
485
  },
478
- "van-cell/value": {
479
- "type": "number | string",
480
- "description": "右侧内容, 默认值: -"
486
+ "van-cascader/options": {
487
+ "type": "Option[]",
488
+ "description": "可选项数据源, 默认值: `[]`"
481
489
  },
482
- "van-cell/label": {
490
+ "van-cascader/placeholder": {
483
491
  "type": "string",
484
- "description": "标题下方的描述信息, 默认值: -"
492
+ "description": "未选中时的提示文案, 默认值: `请选择`"
485
493
  },
486
- "van-cell/size": {
494
+ "van-cascader/active-color": {
487
495
  "type": "string",
488
- "description": "单元格大小,可选值为 `large`, 默认值: -"
496
+ "description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
497
+ },
498
+ "van-cascader/closeable": {
499
+ "type": "boolean",
500
+ "description": "是否显示关闭图标, 默认值: `true`"
501
+ },
502
+ "van-cascader/show-header": {
503
+ "type": "boolean",
504
+ "description": "是否展示标题栏, 默认值: `true`"
505
+ },
506
+ "van-cascader/field-names": {
507
+ "type": "object",
508
+ "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
509
+ },
510
+ "van-cell-group/title": {
511
+ "type": "string",
512
+ "description": "分组标题, 默认值: `-`"
513
+ },
514
+ "van-cell-group/border": {
515
+ "type": "boolean",
516
+ "description": "是否显示外边框, 默认值: `true`"
517
+ },
518
+ "van-cell/title": {
519
+ "type": "number | string",
520
+ "description": "左侧标题, 默认值: -"
521
+ },
522
+ "van-cell/value": {
523
+ "type": "number | string",
524
+ "description": "右侧内容, 默认值: -"
525
+ },
526
+ "van-cell/label": {
527
+ "type": "string",
528
+ "description": "标题下方的描述信息, 默认值: -"
529
+ },
530
+ "van-cell/size": {
531
+ "type": "string",
532
+ "description": "单元格大小,可选值为 `large`, 默认值: -"
489
533
  },
490
534
  "van-cell/icon": {
491
535
  "type": "string",
@@ -547,73 +591,33 @@
547
591
  "type": "any",
548
592
  "description": "描述信息额外类名, 默认值: -"
549
593
  },
550
- "van-action-sheet/v-model (value)": {
551
- "type": "boolean",
552
- "description": "是否显示动作面板, 默认值: `false`"
553
- },
554
- "van-action-sheet/actions": {
555
- "type": "Action[]",
556
- "description": "面板选项列表, 默认值: `[]`"
557
- },
558
- "van-action-sheet/title": {
559
- "type": "string",
560
- "description": "顶部标题, 默认值: -"
561
- },
562
- "van-action-sheet/cancel-text": {
594
+ "van-address-list/v-model": {
563
595
  "type": "string",
564
- "description": "取消按钮文字, 默认值: -"
596
+ "description": "当前选中地址的 id, 默认值: -"
565
597
  },
566
- "van-action-sheet/description": {
567
- "type": "string",
568
- "description": "选项上方的描述信息, 默认值: -"
598
+ "van-address-list/list": {
599
+ "type": "Address[]",
600
+ "description": "地址列表, 默认值: `[]`"
569
601
  },
570
- "van-action-sheet/closeable": {
571
- "type": "boolean",
572
- "description": "是否显示关闭图标, 默认值: `true`"
602
+ "van-address-list/disabled-list": {
603
+ "type": "Address[]",
604
+ "description": "不可配送地址列表, 默认值: `[]`"
573
605
  },
574
- "van-action-sheet/close-icon": {
606
+ "van-address-list/disabled-text": {
575
607
  "type": "string",
576
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
577
- },
578
- "van-action-sheet/duration": {
579
- "type": "number | string",
580
- "description": "动画时长,单位秒, 默认值: `0.3`"
581
- },
582
- "van-action-sheet/round": {
583
- "type": "boolean",
584
- "description": "是否显示圆角, 默认值: `true`"
585
- },
586
- "van-action-sheet/overlay": {
587
- "type": "boolean",
588
- "description": "是否显示遮罩层, 默认值: `true`"
589
- },
590
- "van-action-sheet/lock-scroll": {
591
- "type": "boolean",
592
- "description": "是否锁定背景滚动, 默认值: `true`"
593
- },
594
- "van-action-sheet/lazy-render": {
595
- "type": "boolean",
596
- "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
597
- },
598
- "van-action-sheet/close-on-popstate": {
599
- "type": "boolean",
600
- "description": "是否在页面回退时自动关闭, 默认值: `false`"
601
- },
602
- "van-action-sheet/close-on-click-action": {
603
- "type": "boolean",
604
- "description": "是否在点击选项后关闭, 默认值: `false`"
608
+ "description": "不可配送提示文案, 默认值: -"
605
609
  },
606
- "van-action-sheet/close-on-click-overlay": {
610
+ "van-address-list/switchable": {
607
611
  "type": "boolean",
608
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
612
+ "description": "是否允许切换地址, 默认值: `true`"
609
613
  },
610
- "van-action-sheet/safe-area-inset-bottom": {
611
- "type": "boolean",
612
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
614
+ "van-address-list/add-button-text": {
615
+ "type": "string",
616
+ "description": "底部按钮文字, 默认值: `新增地址`"
613
617
  },
614
- "van-action-sheet/get-container": {
615
- "type": "string | () => Element",
616
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
618
+ "van-address-list/default-tag-text": {
619
+ "type": "string",
620
+ "description": "默认地址标签文字, 默认值: -"
617
621
  },
618
622
  "van-checkbox/v-model (value)": {
619
623
  "type": "boolean",
@@ -799,6 +803,10 @@
799
803
  "type": "boolean",
800
804
  "description": "是否禁用面板, 默认值: `false`"
801
805
  },
806
+ "van-collapse-item/lazy-render": {
807
+ "type": "boolean",
808
+ "description": "是否在首次展开时才渲染面板内容, 默认值: `true`"
809
+ },
802
810
  "van-collapse-item/title-class": {
803
811
  "type": "string",
804
812
  "description": "左侧标题额外类名, 默认值: -"
@@ -1231,6 +1239,138 @@
1231
1239
  "type": "string",
1232
1240
  "description": "图片下方的描述文字, 默认值: -"
1233
1241
  },
1242
+ "van-form/label-width": {
1243
+ "type": "number | string",
1244
+ "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1245
+ },
1246
+ "van-form/label-align": {
1247
+ "type": "string",
1248
+ "description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1249
+ },
1250
+ "van-form/input-align": {
1251
+ "type": "string",
1252
+ "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1253
+ },
1254
+ "van-form/error-message-align": {
1255
+ "type": "string",
1256
+ "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1257
+ },
1258
+ "van-form/validate-trigger": {
1259
+ "type": "string",
1260
+ "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1261
+ },
1262
+ "van-form/colon": {
1263
+ "type": "boolean",
1264
+ "description": "是否在 label 后面添加冒号, 默认值: `false`"
1265
+ },
1266
+ "van-form/disabled": {
1267
+ "type": "boolean",
1268
+ "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1269
+ },
1270
+ "van-form/readonly": {
1271
+ "type": "boolean",
1272
+ "description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
1273
+ },
1274
+ "van-form/validate-first": {
1275
+ "type": "boolean",
1276
+ "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1277
+ },
1278
+ "van-form/scroll-to-error": {
1279
+ "type": "boolean",
1280
+ "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1281
+ },
1282
+ "van-form/show-error": {
1283
+ "type": "boolean",
1284
+ "description": "是否在校验不通过时标红输入框, 默认值: `true`"
1285
+ },
1286
+ "van-form/show-error-message": {
1287
+ "type": "boolean",
1288
+ "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1289
+ },
1290
+ "van-form/submit-on-enter": {
1291
+ "type": "boolean",
1292
+ "description": "是否在按下回车键时提交表单, 默认值: `true`"
1293
+ },
1294
+ "van-goods-action/safe-area-inset-bottom": {
1295
+ "type": "boolean",
1296
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1297
+ },
1298
+ "van-goods-action-icon/text": {
1299
+ "type": "string",
1300
+ "description": "按钮文字, 默认值: -"
1301
+ },
1302
+ "van-goods-action-icon/icon": {
1303
+ "type": "string",
1304
+ "description": "图标, 默认值: -"
1305
+ },
1306
+ "van-goods-action-icon/color": {
1307
+ "type": "string",
1308
+ "description": "图标颜色, 默认值: `#323233`"
1309
+ },
1310
+ "van-goods-action-icon/icon-class": {
1311
+ "type": "any",
1312
+ "description": "图标额外类名, 默认值: -"
1313
+ },
1314
+ "van-goods-action-icon/dot": {
1315
+ "type": "boolean",
1316
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1317
+ },
1318
+ "van-goods-action-icon/badge": {
1319
+ "type": "number | string",
1320
+ "description": "图标右上角徽标的内容, 默认值: -"
1321
+ },
1322
+ "van-goods-action-icon/info": {
1323
+ "type": "number | string",
1324
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1325
+ },
1326
+ "van-goods-action-icon/url": {
1327
+ "type": "string",
1328
+ "description": "点击后跳转的链接地址, 默认值: -"
1329
+ },
1330
+ "van-goods-action-icon/to": {
1331
+ "type": "string | object",
1332
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1333
+ },
1334
+ "van-goods-action-icon/replace": {
1335
+ "type": "boolean",
1336
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1337
+ },
1338
+ "van-goods-action-button/text": {
1339
+ "type": "string",
1340
+ "description": "按钮文字, 默认值: -"
1341
+ },
1342
+ "van-goods-action-button/type": {
1343
+ "type": "string",
1344
+ "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
1345
+ },
1346
+ "van-goods-action-button/color": {
1347
+ "type": "string",
1348
+ "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1349
+ },
1350
+ "van-goods-action-button/icon": {
1351
+ "type": "string",
1352
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1353
+ },
1354
+ "van-goods-action-button/disabled": {
1355
+ "type": "boolean",
1356
+ "description": "是否禁用按钮, 默认值: `false`"
1357
+ },
1358
+ "van-goods-action-button/loading": {
1359
+ "type": "boolean",
1360
+ "description": "是否显示为加载状态, 默认值: `false`"
1361
+ },
1362
+ "van-goods-action-button/url": {
1363
+ "type": "string",
1364
+ "description": "点击后跳转的链接地址, 默认值: -"
1365
+ },
1366
+ "van-goods-action-button/to": {
1367
+ "type": "string | object",
1368
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1369
+ },
1370
+ "van-goods-action-button/replace": {
1371
+ "type": "boolean",
1372
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1373
+ },
1234
1374
  "van-field/v-model (value)": {
1235
1375
  "type": "number | string",
1236
1376
  "description": "当前输入的值, 默认值: -"
@@ -1371,138 +1511,6 @@
1371
1511
  "type": "string",
1372
1512
  "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
1373
1513
  },
1374
- "van-form/label-width": {
1375
- "type": "number | string",
1376
- "description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
1377
- },
1378
- "van-form/label-align": {
1379
- "type": "string",
1380
- "description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1381
- },
1382
- "van-form/input-align": {
1383
- "type": "string",
1384
- "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1385
- },
1386
- "van-form/error-message-align": {
1387
- "type": "string",
1388
- "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1389
- },
1390
- "van-form/validate-trigger": {
1391
- "type": "string",
1392
- "description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
1393
- },
1394
- "van-form/colon": {
1395
- "type": "boolean",
1396
- "description": "是否在 label 后面添加冒号, 默认值: `false`"
1397
- },
1398
- "van-form/disabled": {
1399
- "type": "boolean",
1400
- "description": "是否禁用表单中的所有输入框, 默认值: `false`"
1401
- },
1402
- "van-form/readonly": {
1403
- "type": "boolean",
1404
- "description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
1405
- },
1406
- "van-form/validate-first": {
1407
- "type": "boolean",
1408
- "description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
1409
- },
1410
- "van-form/scroll-to-error": {
1411
- "type": "boolean",
1412
- "description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
1413
- },
1414
- "van-form/show-error": {
1415
- "type": "boolean",
1416
- "description": "是否在校验不通过时标红输入框, 默认值: `true`"
1417
- },
1418
- "van-form/show-error-message": {
1419
- "type": "boolean",
1420
- "description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
1421
- },
1422
- "van-form/submit-on-enter": {
1423
- "type": "boolean",
1424
- "description": "是否在按下回车键时提交表单, 默认值: `true`"
1425
- },
1426
- "van-goods-action/safe-area-inset-bottom": {
1427
- "type": "boolean",
1428
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
1429
- },
1430
- "van-goods-action-icon/text": {
1431
- "type": "string",
1432
- "description": "按钮文字, 默认值: -"
1433
- },
1434
- "van-goods-action-icon/icon": {
1435
- "type": "string",
1436
- "description": "图标, 默认值: -"
1437
- },
1438
- "van-goods-action-icon/color": {
1439
- "type": "string",
1440
- "description": "图标颜色, 默认值: `#323233`"
1441
- },
1442
- "van-goods-action-icon/icon-class": {
1443
- "type": "any",
1444
- "description": "图标额外类名, 默认值: -"
1445
- },
1446
- "van-goods-action-icon/dot": {
1447
- "type": "boolean",
1448
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1449
- },
1450
- "van-goods-action-icon/badge": {
1451
- "type": "number | string",
1452
- "description": "图标右上角徽标的内容, 默认值: -"
1453
- },
1454
- "van-goods-action-icon/info": {
1455
- "type": "number | string",
1456
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1457
- },
1458
- "van-goods-action-icon/url": {
1459
- "type": "string",
1460
- "description": "点击后跳转的链接地址, 默认值: -"
1461
- },
1462
- "van-goods-action-icon/to": {
1463
- "type": "string | object",
1464
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1465
- },
1466
- "van-goods-action-icon/replace": {
1467
- "type": "boolean",
1468
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1469
- },
1470
- "van-goods-action-button/text": {
1471
- "type": "string",
1472
- "description": "按钮文字, 默认值: -"
1473
- },
1474
- "van-goods-action-button/type": {
1475
- "type": "string",
1476
- "description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
1477
- },
1478
- "van-goods-action-button/color": {
1479
- "type": "string",
1480
- "description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
1481
- },
1482
- "van-goods-action-button/icon": {
1483
- "type": "string",
1484
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1485
- },
1486
- "van-goods-action-button/disabled": {
1487
- "type": "boolean",
1488
- "description": "是否禁用按钮, 默认值: `false`"
1489
- },
1490
- "van-goods-action-button/loading": {
1491
- "type": "boolean",
1492
- "description": "是否显示为加载状态, 默认值: `false`"
1493
- },
1494
- "van-goods-action-button/url": {
1495
- "type": "string",
1496
- "description": "点击后跳转的链接地址, 默认值: -"
1497
- },
1498
- "van-goods-action-button/to": {
1499
- "type": "string | object",
1500
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
1501
- },
1502
- "van-goods-action-button/replace": {
1503
- "type": "boolean",
1504
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1505
- },
1506
1514
  "van-grid/column-num": {
1507
1515
  "type": "number | string",
1508
1516
  "description": "列数, 默认值: `4`"