vant 2.12.44 → 2.12.45

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,160 @@
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
+ },
70
+ "van-address-edit/area-list": {
71
+ "type": "object",
72
+ "description": "地区列表, 默认值: -"
73
+ },
74
+ "van-address-edit/area-columns-placeholder": {
75
+ "type": "string[]",
76
+ "description": "地区选择列占位提示文字, 默认值: `[]`"
77
+ },
78
+ "van-address-edit/area-placeholder": {
79
+ "type": "string",
80
+ "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
81
+ },
82
+ "van-address-edit/address-info": {
83
+ "type": "AddressInfo",
84
+ "description": "收货人信息初始值, 默认值: `{}`"
85
+ },
86
+ "van-address-edit/search-result": {
87
+ "type": "SearchResult[]",
88
+ "description": "详细地址搜索结果, 默认值: `[]`"
89
+ },
90
+ "van-address-edit/show-postal": {
91
+ "type": "boolean",
92
+ "description": "是否显示邮政编码, 默认值: `false`"
93
+ },
94
+ "van-address-edit/show-delete": {
95
+ "type": "boolean",
96
+ "description": "是否显示删除按钮, 默认值: `false`"
97
+ },
98
+ "van-address-edit/show-set-default": {
99
+ "type": "boolean",
100
+ "description": "是否显示默认地址栏, 默认值: `false`"
101
+ },
102
+ "van-address-edit/show-search-result": {
103
+ "type": "boolean",
104
+ "description": "是否显示搜索结果, 默认值: `false`"
105
+ },
106
+ "van-address-edit/show-area": {
107
+ "type": "boolean",
108
+ "description": "是否显示地区, 默认值: `true`"
109
+ },
110
+ "van-address-edit/show-detail": {
111
+ "type": "boolean",
112
+ "description": "是否显示详细地址, 默认值: `true`"
113
+ },
114
+ "van-address-edit/disable-area": {
115
+ "type": "boolean",
116
+ "description": "是否禁用地区选择, 默认值: `false`"
117
+ },
118
+ "van-address-edit/save-button-text": {
119
+ "type": "string",
120
+ "description": "保存按钮文字, 默认值: `保存`"
121
+ },
122
+ "van-address-edit/delete-button-text": {
123
+ "type": "string",
124
+ "description": "删除按钮文字, 默认值: `删除`"
125
+ },
126
+ "van-address-edit/detail-rows": {
127
+ "type": "number | string",
128
+ "description": "详细地址输入框行数, 默认值: `1`"
129
+ },
130
+ "van-address-edit/detail-maxlength": {
131
+ "type": "number | string",
132
+ "description": "详细地址最大长度, 默认值: `200`"
133
+ },
134
+ "van-address-edit/is-saving": {
135
+ "type": "boolean",
136
+ "description": "是否显示保存按钮加载动画, 默认值: `false`"
137
+ },
138
+ "van-address-edit/is-deleting": {
139
+ "type": "boolean",
140
+ "description": "是否显示删除按钮加载动画, 默认值: `false`"
141
+ },
142
+ "van-address-edit/tel-validator": {
143
+ "type": "string => boolean",
144
+ "description": "手机号格式校验函数, 默认值: -"
145
+ },
146
+ "van-address-edit/tel-maxlength": {
147
+ "type": "number | string",
148
+ "description": "手机号最大长度, 默认值: -"
149
+ },
150
+ "van-address-edit/postal-validator": {
151
+ "type": "string => boolean",
152
+ "description": "邮政编码格式校验函数, 默认值: -"
153
+ },
154
+ "van-address-edit/validator": {
155
+ "type": "(key, val) => string",
156
+ "description": "自定义校验函数, 默认值: -"
157
+ },
2
158
  "van-area/value": {
3
159
  "type": "string",
4
160
  "description": "当前选中的省市区`code`, 默认值: -"
@@ -51,22 +207,6 @@
51
207
  "type": "() => boolean",
52
208
  "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
53
209
  },
54
- "van-badge/content": {
55
- "type": "number | string",
56
- "description": "徽标内容, 默认值: -"
57
- },
58
- "van-badge/color": {
59
- "type": "string",
60
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
61
- },
62
- "van-badge/dot": {
63
- "type": "boolean",
64
- "description": "是否展示为小红点, 默认值: `false`"
65
- },
66
- "van-badge/max": {
67
- "type": "number | string",
68
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
69
- },
70
210
  "van-button/type": {
71
211
  "type": "string",
72
212
  "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
@@ -155,94 +295,6 @@
155
295
  "type": "boolean",
156
296
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
157
297
  },
158
- "van-address-edit/area-list": {
159
- "type": "object",
160
- "description": "地区列表, 默认值: -"
161
- },
162
- "van-address-edit/area-columns-placeholder": {
163
- "type": "string[]",
164
- "description": "地区选择列占位提示文字, 默认值: `[]`"
165
- },
166
- "van-address-edit/area-placeholder": {
167
- "type": "string",
168
- "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
169
- },
170
- "van-address-edit/address-info": {
171
- "type": "AddressInfo",
172
- "description": "收货人信息初始值, 默认值: `{}`"
173
- },
174
- "van-address-edit/search-result": {
175
- "type": "SearchResult[]",
176
- "description": "详细地址搜索结果, 默认值: `[]`"
177
- },
178
- "van-address-edit/show-postal": {
179
- "type": "boolean",
180
- "description": "是否显示邮政编码, 默认值: `false`"
181
- },
182
- "van-address-edit/show-delete": {
183
- "type": "boolean",
184
- "description": "是否显示删除按钮, 默认值: `false`"
185
- },
186
- "van-address-edit/show-set-default": {
187
- "type": "boolean",
188
- "description": "是否显示默认地址栏, 默认值: `false`"
189
- },
190
- "van-address-edit/show-search-result": {
191
- "type": "boolean",
192
- "description": "是否显示搜索结果, 默认值: `false`"
193
- },
194
- "van-address-edit/show-area": {
195
- "type": "boolean",
196
- "description": "是否显示地区, 默认值: `true`"
197
- },
198
- "van-address-edit/show-detail": {
199
- "type": "boolean",
200
- "description": "是否显示详细地址, 默认值: `true`"
201
- },
202
- "van-address-edit/disable-area": {
203
- "type": "boolean",
204
- "description": "是否禁用地区选择, 默认值: `false`"
205
- },
206
- "van-address-edit/save-button-text": {
207
- "type": "string",
208
- "description": "保存按钮文字, 默认值: `保存`"
209
- },
210
- "van-address-edit/delete-button-text": {
211
- "type": "string",
212
- "description": "删除按钮文字, 默认值: `删除`"
213
- },
214
- "van-address-edit/detail-rows": {
215
- "type": "number | string",
216
- "description": "详细地址输入框行数, 默认值: `1`"
217
- },
218
- "van-address-edit/detail-maxlength": {
219
- "type": "number | string",
220
- "description": "详细地址最大长度, 默认值: `200`"
221
- },
222
- "van-address-edit/is-saving": {
223
- "type": "boolean",
224
- "description": "是否显示保存按钮加载动画, 默认值: `false`"
225
- },
226
- "van-address-edit/is-deleting": {
227
- "type": "boolean",
228
- "description": "是否显示删除按钮加载动画, 默认值: `false`"
229
- },
230
- "van-address-edit/tel-validator": {
231
- "type": "string => boolean",
232
- "description": "手机号格式校验函数, 默认值: -"
233
- },
234
- "van-address-edit/tel-maxlength": {
235
- "type": "number | string",
236
- "description": "手机号最大长度, 默认值: -"
237
- },
238
- "van-address-edit/postal-validator": {
239
- "type": "string => boolean",
240
- "description": "邮政编码格式校验函数, 默认值: -"
241
- },
242
- "van-address-edit/validator": {
243
- "type": "(key, val) => string",
244
- "description": "自定义校验函数, 默认值: -"
245
- },
246
298
  "van-calendar/type": {
247
299
  "type": "string",
248
300
  "description": "选择类型:<br>`single`表示选择单个日期,<br>`multiple`表示选择多个日期,<br>`range`表示选择日期区间, 默认值: `single`"
@@ -315,122 +367,54 @@
315
367
  "type": "0-6",
316
368
  "description": "设置周起始日, 默认值: `0`"
317
369
  },
318
- "van-poppable/v-model": {
319
- "type": "boolean",
320
- "description": "是否显示日历弹窗, 默认值: `false`"
321
- },
322
- "van-poppable/position": {
323
- "type": "string",
324
- "description": "弹出位置,可选值为 `top` `right` `left`, 默认值: `bottom`"
325
- },
326
- "van-poppable/round": {
327
- "type": "boolean",
328
- "description": "是否显示圆角弹窗, 默认值: `true`"
329
- },
330
- "van-poppable/close-on-popstate": {
331
- "type": "boolean",
332
- "description": "是否在页面回退时自动关闭, 默认值: `true`"
333
- },
334
- "van-poppable/close-on-click-overlay": {
335
- "type": "boolean",
336
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
337
- },
338
- "van-poppable/safe-area-inset-bottom": {
339
- "type": "boolean",
340
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
341
- },
342
- "van-poppable/get-container": {
343
- "type": "string | () => Element",
344
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
345
- },
346
- "van-range/max-range": {
347
- "type": "number | string",
348
- "description": "日期区间最多可选天数, 默认值: 无限制"
349
- },
350
- "van-range/range-prompt": {
351
- "type": "string",
352
- "description": "范围选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
353
- },
354
- "van-range/allow-same-day": {
355
- "type": "boolean",
356
- "description": "是否允许日期范围的起止时间为同一天, 默认值: `false`"
357
- },
358
- "van-multiple/max-range": {
359
- "type": "number | string",
360
- "description": "日期最多可选天数, 默认值: 无限制"
361
- },
362
- "van-multiple/range-prompt": {
363
- "type": "string",
364
- "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
365
- },
366
- "van-action-sheet/v-model (value)": {
367
- "type": "boolean",
368
- "description": "是否显示动作面板, 默认值: `false`"
369
- },
370
- "van-action-sheet/actions": {
371
- "type": "Action[]",
372
- "description": "面板选项列表, 默认值: `[]`"
373
- },
374
- "van-action-sheet/title": {
375
- "type": "string",
376
- "description": "顶部标题, 默认值: -"
377
- },
378
- "van-action-sheet/cancel-text": {
379
- "type": "string",
380
- "description": "取消按钮文字, 默认值: -"
381
- },
382
- "van-action-sheet/description": {
383
- "type": "string",
384
- "description": "选项上方的描述信息, 默认值: -"
385
- },
386
- "van-action-sheet/closeable": {
387
- "type": "boolean",
388
- "description": "是否显示关闭图标, 默认值: `true`"
389
- },
390
- "van-action-sheet/close-icon": {
391
- "type": "string",
392
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
393
- },
394
- "van-action-sheet/duration": {
395
- "type": "number | string",
396
- "description": "动画时长,单位秒, 默认值: `0.3`"
397
- },
398
- "van-action-sheet/round": {
399
- "type": "boolean",
400
- "description": "是否显示圆角, 默认值: `true`"
401
- },
402
- "van-action-sheet/overlay": {
403
- "type": "boolean",
404
- "description": "是否显示遮罩层, 默认值: `true`"
405
- },
406
- "van-action-sheet/lock-scroll": {
407
- "type": "boolean",
408
- "description": "是否锁定背景滚动, 默认值: `true`"
409
- },
410
- "van-action-sheet/lazy-render": {
370
+ "van-poppable/v-model": {
411
371
  "type": "boolean",
412
- "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
372
+ "description": "是否显示日历弹窗, 默认值: `false`"
413
373
  },
414
- "van-action-sheet/close-on-popstate": {
374
+ "van-poppable/position": {
375
+ "type": "string",
376
+ "description": "弹出位置,可选值为 `top` `right` `left`, 默认值: `bottom`"
377
+ },
378
+ "van-poppable/round": {
415
379
  "type": "boolean",
416
- "description": "是否在页面回退时自动关闭, 默认值: `false`"
380
+ "description": "是否显示圆角弹窗, 默认值: `true`"
417
381
  },
418
- "van-action-sheet/close-on-click-action": {
382
+ "van-poppable/close-on-popstate": {
419
383
  "type": "boolean",
420
- "description": "是否在点击选项后关闭, 默认值: `false`"
384
+ "description": "是否在页面回退时自动关闭, 默认值: `true`"
421
385
  },
422
- "van-action-sheet/close-on-click-overlay": {
386
+ "van-poppable/close-on-click-overlay": {
423
387
  "type": "boolean",
424
388
  "description": "是否在点击遮罩层后关闭, 默认值: `true`"
425
389
  },
426
- "van-action-sheet/safe-area-inset-bottom": {
390
+ "van-poppable/safe-area-inset-bottom": {
427
391
  "type": "boolean",
428
392
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
429
393
  },
430
- "van-action-sheet/get-container": {
394
+ "van-poppable/get-container": {
431
395
  "type": "string | () => Element",
432
396
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
433
397
  },
398
+ "van-range/max-range": {
399
+ "type": "number | string",
400
+ "description": "日期区间最多可选天数, 默认值: 无限制"
401
+ },
402
+ "van-range/range-prompt": {
403
+ "type": "string",
404
+ "description": "范围选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
405
+ },
406
+ "van-range/allow-same-day": {
407
+ "type": "boolean",
408
+ "description": "是否允许日期范围的起止时间为同一天, 默认值: `false`"
409
+ },
410
+ "van-multiple/max-range": {
411
+ "type": "number | string",
412
+ "description": "日期最多可选天数, 默认值: 无限制"
413
+ },
414
+ "van-multiple/range-prompt": {
415
+ "type": "string",
416
+ "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
417
+ },
434
418
  "van-address-list/v-model": {
435
419
  "type": "string",
436
420
  "description": "当前选中地址的 id, 默认值: -"
@@ -459,6 +443,22 @@
459
443
  "type": "string",
460
444
  "description": "默认地址标签文字, 默认值: -"
461
445
  },
446
+ "van-badge/content": {
447
+ "type": "number | string",
448
+ "description": "徽标内容, 默认值: -"
449
+ },
450
+ "van-badge/color": {
451
+ "type": "string",
452
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
453
+ },
454
+ "van-badge/dot": {
455
+ "type": "boolean",
456
+ "description": "是否展示为小红点, 默认值: `false`"
457
+ },
458
+ "van-badge/max": {
459
+ "type": "number | string",
460
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
461
+ },
462
462
  "van-card/thumb": {
463
463
  "type": "string",
464
464
  "description": "左侧图片 URL, 默认值: -"
@@ -503,6 +503,38 @@
503
503
  "type": "boolean",
504
504
  "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
505
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
+ },
506
538
  "van-cell-group/title": {
507
539
  "type": "string",
508
540
  "description": "分组标题, 默认值: `-`"
@@ -587,38 +619,6 @@
587
619
  "type": "any",
588
620
  "description": "描述信息额外类名, 默认值: -"
589
621
  },
590
- "van-cascader/title": {
591
- "type": "string",
592
- "description": "顶部标题, 默认值: -"
593
- },
594
- "van-cascader/value": {
595
- "type": "string | number",
596
- "description": "选中项的值, 默认值: -"
597
- },
598
- "van-cascader/options": {
599
- "type": "Option[]",
600
- "description": "可选项数据源, 默认值: `[]`"
601
- },
602
- "van-cascader/placeholder": {
603
- "type": "string",
604
- "description": "未选中时的提示文案, 默认值: `请选择`"
605
- },
606
- "van-cascader/active-color": {
607
- "type": "string",
608
- "description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
609
- },
610
- "van-cascader/closeable": {
611
- "type": "boolean",
612
- "description": "是否显示关闭图标, 默认值: `true`"
613
- },
614
- "van-cascader/show-header": {
615
- "type": "boolean",
616
- "description": "是否展示标题栏, 默认值: `true`"
617
- },
618
- "van-cascader/field-names": {
619
- "type": "object",
620
- "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
621
- },
622
622
  "van-checkbox/v-model (value)": {
623
623
  "type": "boolean",
624
624
  "description": "是否为选中状态, 默认值: `false`"
@@ -1159,18 +1159,6 @@
1159
1159
  "type": "string | () => Element",
1160
1160
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1161
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
1162
  "van-dropdown-menu/active-color": {
1175
1163
  "type": "string",
1176
1164
  "description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
@@ -1227,17 +1215,17 @@
1227
1215
  "type": "string | () => Element",
1228
1216
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1229
1217
  },
1230
- "van-empty/image": {
1231
- "type": "string",
1232
- "description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
1218
+ "van-divider/dashed": {
1219
+ "type": "boolean",
1220
+ "description": "是否使用虚线, 默认值: `false`"
1233
1221
  },
1234
- "van-empty/image-size": {
1235
- "type": "number | string",
1236
- "description": "图片大小,默认单位为 `px`, 默认值: -"
1222
+ "van-divider/hairline": {
1223
+ "type": "boolean",
1224
+ "description": "是否使用 0.5px 线, 默认值: `true`"
1237
1225
  },
1238
- "van-empty/description": {
1226
+ "van-divider/content-position": {
1239
1227
  "type": "string",
1240
- "description": "图片下方的描述文字, 默认值: -"
1228
+ "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1241
1229
  },
1242
1230
  "van-field/v-model (value)": {
1243
1231
  "type": "number | string",
@@ -1379,57 +1367,17 @@
1379
1367
  "type": "string",
1380
1368
  "description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
1381
1369
  },
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": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1389
- },
1390
- "van-form/input-align": {
1370
+ "van-empty/image": {
1391
1371
  "type": "string",
1392
- "description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
1372
+ "description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
1393
1373
  },
1394
- "van-form/error-message-align": {
1395
- "type": "string",
1396
- "description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
1374
+ "van-empty/image-size": {
1375
+ "type": "number | string",
1376
+ "description": "图片大小,默认单位为 `px`, 默认值: -"
1397
1377
  },
1398
- "van-form/validate-trigger": {
1378
+ "van-empty/description": {
1399
1379
  "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`"
1380
+ "description": "图片下方的描述文字, 默认值: -"
1433
1381
  },
1434
1382
  "van-goods-action/safe-area-inset-bottom": {
1435
1383
  "type": "boolean",
@@ -1511,6 +1459,58 @@
1511
1459
  "type": "boolean",
1512
1460
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1513
1461
  },
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": "\b 表单项 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
1514
  "van-grid/column-num": {
1515
1515
  "type": "number | string",
1516
1516
  "description": "列数, 默认值: `4`"