vant 2.12.36 → 2.12.40

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,58 +155,6 @@
87
155
  "type": "(key, val) => string",
88
156
  "description": "自定义校验函数, 默认值: -"
89
157
  },
90
- "van-area/value": {
91
- "type": "string",
92
- "description": "当前选中的省市区`code`, 默认值: -"
93
- },
94
- "van-area/title": {
95
- "type": "string",
96
- "description": "顶部栏标题, 默认值: -"
97
- },
98
- "van-area/confirm-button-text": {
99
- "type": "string",
100
- "description": "确认按钮文字, 默认值: `确认`"
101
- },
102
- "van-area/cancel-button-text": {
103
- "type": "string",
104
- "description": "取消按钮文字, 默认值: `取消`"
105
- },
106
- "van-area/area-list": {
107
- "type": "object",
108
- "description": "省市区数据,格式见下方, 默认值: -"
109
- },
110
- "van-area/columns-placeholder": {
111
- "type": "string[]",
112
- "description": "列占位提示文字, 默认值: `[]`"
113
- },
114
- "van-area/loading": {
115
- "type": "boolean",
116
- "description": "是否显示加载状态, 默认值: `false`"
117
- },
118
- "van-area/readonly": {
119
- "type": "boolean",
120
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
121
- },
122
- "van-area/item-height": {
123
- "type": "number | string",
124
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
125
- },
126
- "van-area/columns-num": {
127
- "type": "number | string",
128
- "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
129
- },
130
- "van-area/visible-item-count": {
131
- "type": "number | string",
132
- "description": "可见的选项个数, 默认值: `6`"
133
- },
134
- "van-area/swipe-duration": {
135
- "type": "number | string",
136
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
137
- },
138
- "van-area/is-oversea-code": {
139
- "type": "() => boolean",
140
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
141
- },
142
158
  "van-address-list/v-model": {
143
159
  "type": "string",
144
160
  "description": "当前选中地址的 id, 默认值: -"
@@ -167,161 +183,21 @@
167
183
  "type": "string",
168
184
  "description": "默认地址标签文字, 默认值: -"
169
185
  },
170
- "van-action-sheet/v-model (value)": {
171
- "type": "boolean",
172
- "description": "是否显示动作面板, 默认值: `false`"
173
- },
174
- "van-action-sheet/actions": {
175
- "type": "Action[]",
176
- "description": "面板选项列表, 默认值: `[]`"
177
- },
178
- "van-action-sheet/title": {
179
- "type": "string",
180
- "description": "顶部标题, 默认值: -"
181
- },
182
- "van-action-sheet/cancel-text": {
183
- "type": "string",
184
- "description": "取消按钮文字, 默认值: -"
185
- },
186
- "van-action-sheet/description": {
187
- "type": "string",
188
- "description": "选项上方的描述信息, 默认值: -"
189
- },
190
- "van-action-sheet/closeable": {
191
- "type": "boolean",
192
- "description": "是否显示关闭图标, 默认值: `true`"
193
- },
194
- "van-action-sheet/close-icon": {
195
- "type": "string",
196
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
197
- },
198
- "van-action-sheet/duration": {
186
+ "van-badge/content": {
199
187
  "type": "number | string",
200
- "description": "动画时长,单位秒, 默认值: `0.3`"
201
- },
202
- "van-action-sheet/round": {
203
- "type": "boolean",
204
- "description": "是否显示圆角, 默认值: `true`"
205
- },
206
- "van-action-sheet/overlay": {
207
- "type": "boolean",
208
- "description": "是否显示遮罩层, 默认值: `true`"
209
- },
210
- "van-action-sheet/lock-scroll": {
211
- "type": "boolean",
212
- "description": "是否锁定背景滚动, 默认值: `true`"
213
- },
214
- "van-action-sheet/lazy-render": {
215
- "type": "boolean",
216
- "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
217
- },
218
- "van-action-sheet/close-on-popstate": {
219
- "type": "boolean",
220
- "description": "是否在页面回退时自动关闭, 默认值: `false`"
221
- },
222
- "van-action-sheet/close-on-click-action": {
223
- "type": "boolean",
224
- "description": "是否在点击选项后关闭, 默认值: `false`"
225
- },
226
- "van-action-sheet/close-on-click-overlay": {
227
- "type": "boolean",
228
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
229
- },
230
- "van-action-sheet/safe-area-inset-bottom": {
231
- "type": "boolean",
232
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
233
- },
234
- "van-action-sheet/get-container": {
235
- "type": "string | () => Element",
236
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
237
- },
238
- "van-button/type": {
239
- "type": "string",
240
- "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
241
- },
242
- "van-button/size": {
243
- "type": "string",
244
- "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
245
- },
246
- "van-button/text": {
247
- "type": "string",
248
- "description": "按钮文字, 默认值: -"
249
- },
250
- "van-button/color": {
251
- "type": "string",
252
- "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
253
- },
254
- "van-button/icon": {
255
- "type": "string",
256
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
257
- },
258
- "van-button/icon-prefix": {
259
- "type": "string",
260
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
261
- },
262
- "van-button/icon-position": {
263
- "type": "string",
264
- "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
265
- },
266
- "van-button/tag": {
267
- "type": "string",
268
- "description": "按钮根节点的 HTML 标签, 默认值: `button`"
188
+ "description": "徽标内容, 默认值: -"
269
189
  },
270
- "van-button/native-type": {
190
+ "van-badge/color": {
271
191
  "type": "string",
272
- "description": "原生 button 标签的 type 属性, 默认值: -"
273
- },
274
- "van-button/block": {
275
- "type": "boolean",
276
- "description": "是否为块级元素, 默认值: `false`"
277
- },
278
- "van-button/plain": {
279
- "type": "boolean",
280
- "description": "是否为朴素按钮, 默认值: `false`"
281
- },
282
- "van-button/square": {
283
- "type": "boolean",
284
- "description": "是否为方形按钮, 默认值: `false`"
285
- },
286
- "van-button/round": {
287
- "type": "boolean",
288
- "description": "是否为圆形按钮, 默认值: `false`"
289
- },
290
- "van-button/disabled": {
291
- "type": "boolean",
292
- "description": "是否禁用按钮, 默认值: `false`"
293
- },
294
- "van-button/hairline": {
295
- "type": "boolean",
296
- "description": "是否使用 0.5px 边框, 默认值: `false`"
192
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
297
193
  },
298
- "van-button/loading": {
194
+ "van-badge/dot": {
299
195
  "type": "boolean",
300
- "description": "是否显示为加载状态, 默认值: `false`"
301
- },
302
- "van-button/loading-text": {
303
- "type": "string",
304
- "description": "加载状态提示文字, 默认值: -"
305
- },
306
- "van-button/loading-type": {
307
- "type": "string",
308
- "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
309
- },
310
- "van-button/loading-size": {
311
- "type": "string",
312
- "description": "加载图标大小, 默认值: `20px`"
313
- },
314
- "van-button/url": {
315
- "type": "string",
316
- "description": "点击后跳转的链接地址, 默认值: -"
317
- },
318
- "van-button/to": {
319
- "type": "string | object",
320
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
196
+ "description": "是否展示为小红点, 默认值: `false`"
321
197
  },
322
- "van-button/replace": {
323
- "type": "boolean",
324
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
198
+ "van-badge/max": {
199
+ "type": "number | string",
200
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
325
201
  },
326
202
  "van-calendar/type": {
327
203
  "type": "string",
@@ -443,21 +319,57 @@
443
319
  "type": "string",
444
320
  "description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
445
321
  },
446
- "van-badge/content": {
447
- "type": "number | string",
448
- "description": "徽标内容, 默认值: -"
322
+ "van-area/value": {
323
+ "type": "string",
324
+ "description": "当前选中的省市区`code`, 默认值: -"
449
325
  },
450
- "van-badge/color": {
326
+ "van-area/title": {
451
327
  "type": "string",
452
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
328
+ "description": "顶部栏标题, 默认值: -"
453
329
  },
454
- "van-badge/dot": {
330
+ "van-area/confirm-button-text": {
331
+ "type": "string",
332
+ "description": "确认按钮文字, 默认值: `确认`"
333
+ },
334
+ "van-area/cancel-button-text": {
335
+ "type": "string",
336
+ "description": "取消按钮文字, 默认值: `取消`"
337
+ },
338
+ "van-area/area-list": {
339
+ "type": "object",
340
+ "description": "省市区数据,格式见下方, 默认值: -"
341
+ },
342
+ "van-area/columns-placeholder": {
343
+ "type": "string[]",
344
+ "description": "列占位提示文字, 默认值: `[]`"
345
+ },
346
+ "van-area/loading": {
455
347
  "type": "boolean",
456
- "description": "是否展示为小红点, 默认值: `false`"
348
+ "description": "是否显示加载状态, 默认值: `false`"
457
349
  },
458
- "van-badge/max": {
350
+ "van-area/readonly": {
351
+ "type": "boolean",
352
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
353
+ },
354
+ "van-area/item-height": {
459
355
  "type": "number | string",
460
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
356
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
357
+ },
358
+ "van-area/columns-num": {
359
+ "type": "number | string",
360
+ "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
361
+ },
362
+ "van-area/visible-item-count": {
363
+ "type": "number | string",
364
+ "description": "可见的选项个数, 默认值: `6`"
365
+ },
366
+ "van-area/swipe-duration": {
367
+ "type": "number | string",
368
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
369
+ },
370
+ "van-area/is-oversea-code": {
371
+ "type": "() => boolean",
372
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
461
373
  },
462
374
  "van-card/thumb": {
463
375
  "type": "string",
@@ -527,6 +439,10 @@
527
439
  "type": "boolean",
528
440
  "description": "是否显示关闭图标, 默认值: `true`"
529
441
  },
442
+ "van-cascader/show-header": {
443
+ "type": "boolean",
444
+ "description": "是否展示标题栏, 默认值: `true`"
445
+ },
530
446
  "van-cascader/field-names": {
531
447
  "type": "object",
532
448
  "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
@@ -615,6 +531,94 @@
615
531
  "type": "any",
616
532
  "description": "描述信息额外类名, 默认值: -"
617
533
  },
534
+ "van-button/type": {
535
+ "type": "string",
536
+ "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
537
+ },
538
+ "van-button/size": {
539
+ "type": "string",
540
+ "description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
541
+ },
542
+ "van-button/text": {
543
+ "type": "string",
544
+ "description": "按钮文字, 默认值: -"
545
+ },
546
+ "van-button/color": {
547
+ "type": "string",
548
+ "description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
549
+ },
550
+ "van-button/icon": {
551
+ "type": "string",
552
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
553
+ },
554
+ "van-button/icon-prefix": {
555
+ "type": "string",
556
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
557
+ },
558
+ "van-button/icon-position": {
559
+ "type": "string",
560
+ "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
561
+ },
562
+ "van-button/tag": {
563
+ "type": "string",
564
+ "description": "按钮根节点的 HTML 标签, 默认值: `button`"
565
+ },
566
+ "van-button/native-type": {
567
+ "type": "string",
568
+ "description": "原生 button 标签的 type 属性, 默认值: -"
569
+ },
570
+ "van-button/block": {
571
+ "type": "boolean",
572
+ "description": "是否为块级元素, 默认值: `false`"
573
+ },
574
+ "van-button/plain": {
575
+ "type": "boolean",
576
+ "description": "是否为朴素按钮, 默认值: `false`"
577
+ },
578
+ "van-button/square": {
579
+ "type": "boolean",
580
+ "description": "是否为方形按钮, 默认值: `false`"
581
+ },
582
+ "van-button/round": {
583
+ "type": "boolean",
584
+ "description": "是否为圆形按钮, 默认值: `false`"
585
+ },
586
+ "van-button/disabled": {
587
+ "type": "boolean",
588
+ "description": "是否禁用按钮, 默认值: `false`"
589
+ },
590
+ "van-button/hairline": {
591
+ "type": "boolean",
592
+ "description": "是否使用 0.5px 边框, 默认值: `false`"
593
+ },
594
+ "van-button/loading": {
595
+ "type": "boolean",
596
+ "description": "是否显示为加载状态, 默认值: `false`"
597
+ },
598
+ "van-button/loading-text": {
599
+ "type": "string",
600
+ "description": "加载状态提示文字, 默认值: -"
601
+ },
602
+ "van-button/loading-type": {
603
+ "type": "string",
604
+ "description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
605
+ },
606
+ "van-button/loading-size": {
607
+ "type": "string",
608
+ "description": "加载图标大小, 默认值: `20px`"
609
+ },
610
+ "van-button/url": {
611
+ "type": "string",
612
+ "description": "点击后跳转的链接地址, 默认值: -"
613
+ },
614
+ "van-button/to": {
615
+ "type": "string | object",
616
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
617
+ },
618
+ "van-button/replace": {
619
+ "type": "boolean",
620
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
621
+ },
618
622
  "van-checkbox/v-model (value)": {
619
623
  "type": "boolean",
620
624
  "description": "是否为选中状态, 默认值: `false`"
@@ -965,99 +969,23 @@
965
969
  },
966
970
  "van-coupon-list/input-placeholder": {
967
971
  "type": "string",
968
- "description": "输入框文字提示, 默认值: `请输入优惠码`"
969
- },
970
- "van-coupon-list/show-exchange-bar": {
971
- "type": "boolean",
972
- "description": "是否展示兑换栏, 默认值: `true`"
973
- },
974
- "van-coupon-list/currency": {
975
- "type": "string",
976
- "description": "货币符号, 默认值: `¥`"
977
- },
978
- "van-coupon-list/empty-image": {
979
- "type": "string",
980
- "description": "列表为空时的占位图, 默认值: `https://img01.yzcdn.cn/vant/coupon-empty.png`"
981
- },
982
- "van-coupon-list/show-count": {
983
- "type": "boolean",
984
- "description": "是否展示可用 / 不可用数量, 默认值: `true`"
985
- },
986
- "van-datetime-picker/type": {
987
- "type": "string",
988
- "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
989
- },
990
- "van-datetime-picker/title": {
991
- "type": "string",
992
- "description": "顶部栏标题, 默认值: `''`"
993
- },
994
- "van-datetime-picker/confirm-button-text": {
995
- "type": "string",
996
- "description": "确认按钮文字, 默认值: `确认`"
997
- },
998
- "van-datetime-picker/cancel-button-text": {
999
- "type": "string",
1000
- "description": "取消按钮文字, 默认值: `取消`"
1001
- },
1002
- "van-datetime-picker/show-toolbar": {
1003
- "type": "boolean",
1004
- "description": "是否显示顶部栏, 默认值: `true`"
1005
- },
1006
- "van-datetime-picker/loading": {
1007
- "type": "boolean",
1008
- "description": "是否显示加载状态, 默认值: `false`"
1009
- },
1010
- "van-datetime-picker/readonly": {
1011
- "type": "boolean",
1012
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
1013
- },
1014
- "van-datetime-picker/filter": {
1015
- "type": "(type, vals) => vals",
1016
- "description": "选项过滤函数, 默认值: -"
1017
- },
1018
- "van-datetime-picker/formatter": {
1019
- "type": "(type, val) => val",
1020
- "description": "选项格式化函数, 默认值: -"
1021
- },
1022
- "van-datetime-picker/columns-order": {
1023
- "type": "string[]",
1024
- "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
1025
- },
1026
- "van-datetime-picker/item-height": {
1027
- "type": "number | string",
1028
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
1029
- },
1030
- "van-datetime-picker/visible-item-count": {
1031
- "type": "number | string",
1032
- "description": "可见的选项个数, 默认值: `6`"
1033
- },
1034
- "van-datetime-picker/swipe-duration": {
1035
- "type": "number | string",
1036
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1037
- },
1038
- "van-date-picker/min-date": {
1039
- "type": "Date",
1040
- "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1041
- },
1042
- "van-date-picker/max-date": {
1043
- "type": "Date",
1044
- "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
972
+ "description": "输入框文字提示, 默认值: `请输入优惠码`"
1045
973
  },
1046
- "van-time-picker/min-hour": {
1047
- "type": "number | string",
1048
- "description": "可选的最小小时, 默认值: `0`"
974
+ "van-coupon-list/show-exchange-bar": {
975
+ "type": "boolean",
976
+ "description": "是否展示兑换栏, 默认值: `true`"
1049
977
  },
1050
- "van-time-picker/max-hour": {
1051
- "type": "number | string",
1052
- "description": "可选的最大小时, 默认值: `23`"
978
+ "van-coupon-list/currency": {
979
+ "type": "string",
980
+ "description": "货币符号, 默认值: `¥`"
1053
981
  },
1054
- "van-time-picker/min-minute": {
1055
- "type": "number | string",
1056
- "description": "可选的最小分钟, 默认值: `0`"
982
+ "van-coupon-list/empty-image": {
983
+ "type": "string",
984
+ "description": "列表为空时的占位图, 默认值: `https://img01.yzcdn.cn/vant/coupon-empty.png`"
1057
985
  },
1058
- "van-time-picker/max-minute": {
1059
- "type": "number | string",
1060
- "description": "可选的最大分钟, 默认值: `59`"
986
+ "van-coupon-list/show-count": {
987
+ "type": "boolean",
988
+ "description": "是否展示可用 / 不可用数量, 默认值: `true`"
1061
989
  },
1062
990
  "van-dialog/v-model": {
1063
991
  "type": "boolean",
@@ -1151,6 +1079,82 @@
1151
1079
  "type": "string | () => Element",
1152
1080
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1153
1081
  },
1082
+ "van-datetime-picker/type": {
1083
+ "type": "string",
1084
+ "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
1085
+ },
1086
+ "van-datetime-picker/title": {
1087
+ "type": "string",
1088
+ "description": "顶部栏标题, 默认值: `''`"
1089
+ },
1090
+ "van-datetime-picker/confirm-button-text": {
1091
+ "type": "string",
1092
+ "description": "确认按钮文字, 默认值: `确认`"
1093
+ },
1094
+ "van-datetime-picker/cancel-button-text": {
1095
+ "type": "string",
1096
+ "description": "取消按钮文字, 默认值: `取消`"
1097
+ },
1098
+ "van-datetime-picker/show-toolbar": {
1099
+ "type": "boolean",
1100
+ "description": "是否显示顶部栏, 默认值: `true`"
1101
+ },
1102
+ "van-datetime-picker/loading": {
1103
+ "type": "boolean",
1104
+ "description": "是否显示加载状态, 默认值: `false`"
1105
+ },
1106
+ "van-datetime-picker/readonly": {
1107
+ "type": "boolean",
1108
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
1109
+ },
1110
+ "van-datetime-picker/filter": {
1111
+ "type": "(type, vals) => vals",
1112
+ "description": "选项过滤函数, 默认值: -"
1113
+ },
1114
+ "van-datetime-picker/formatter": {
1115
+ "type": "(type, val) => val",
1116
+ "description": "选项格式化函数, 默认值: -"
1117
+ },
1118
+ "van-datetime-picker/columns-order": {
1119
+ "type": "string[]",
1120
+ "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
1121
+ },
1122
+ "van-datetime-picker/item-height": {
1123
+ "type": "number | string",
1124
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
1125
+ },
1126
+ "van-datetime-picker/visible-item-count": {
1127
+ "type": "number | string",
1128
+ "description": "可见的选项个数, 默认值: `6`"
1129
+ },
1130
+ "van-datetime-picker/swipe-duration": {
1131
+ "type": "number | string",
1132
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1133
+ },
1134
+ "van-date-picker/min-date": {
1135
+ "type": "Date",
1136
+ "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1137
+ },
1138
+ "van-date-picker/max-date": {
1139
+ "type": "Date",
1140
+ "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1141
+ },
1142
+ "van-time-picker/min-hour": {
1143
+ "type": "number | string",
1144
+ "description": "可选的最小小时, 默认值: `0`"
1145
+ },
1146
+ "van-time-picker/max-hour": {
1147
+ "type": "number | string",
1148
+ "description": "可选的最大小时, 默认值: `23`"
1149
+ },
1150
+ "van-time-picker/min-minute": {
1151
+ "type": "number | string",
1152
+ "description": "可选的最小分钟, 默认值: `0`"
1153
+ },
1154
+ "van-time-picker/max-minute": {
1155
+ "type": "number | string",
1156
+ "description": "可选的最大分钟, 默认值: `59`"
1157
+ },
1154
1158
  "van-divider/dashed": {
1155
1159
  "type": "boolean",
1156
1160
  "description": "是否使用虚线, 默认值: `false`"
@@ -1715,6 +1719,10 @@
1715
1719
  "type": "string",
1716
1720
  "description": "动画类名,等价于 [transition](https://cn.vuejs.org/v2/api/index.html#transition) 的 `name` 属性, 默认值: `van-fade`"
1717
1721
  },
1722
+ "van-image-preview/overlay-style": {
1723
+ "type": "object",
1724
+ "description": "自定义遮罩层样式, 默认值: -"
1725
+ },
1718
1726
  "van-image-preview/get-container": {
1719
1727
  "type": "string | () => Element",
1720
1728
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
@@ -3083,82 +3091,6 @@
3083
3091
  "type": "any",
3084
3092
  "description": "关闭时的值, 默认值: `false`"
3085
3093
  },
3086
- "van-tabbar/v-model": {
3087
- "type": "number | string",
3088
- "description": "当前选中标签的名称或索引值, 默认值: `0`"
3089
- },
3090
- "van-tabbar/fixed": {
3091
- "type": "boolean",
3092
- "description": "是否固定在底部, 默认值: `true`"
3093
- },
3094
- "van-tabbar/border": {
3095
- "type": "boolean",
3096
- "description": "是否显示外边框, 默认值: `true`"
3097
- },
3098
- "van-tabbar/z-index": {
3099
- "type": "number | string",
3100
- "description": "元素 z-index, 默认值: `1`"
3101
- },
3102
- "van-tabbar/active-color": {
3103
- "type": "string",
3104
- "description": "选中标签的颜色, 默认值: `#1989fa`"
3105
- },
3106
- "van-tabbar/inactive-color": {
3107
- "type": "string",
3108
- "description": "未选中标签的颜色, 默认值: `#7d7e80`"
3109
- },
3110
- "van-tabbar/route": {
3111
- "type": "boolean",
3112
- "description": "是否开启路由模式, 默认值: `false`"
3113
- },
3114
- "van-tabbar/placeholder": {
3115
- "type": "boolean",
3116
- "description": "固定在底部时,是否在标签位置生成一个等高的占位元素, 默认值: `false`"
3117
- },
3118
- "van-tabbar/safe-area-inset-bottom": {
3119
- "type": "boolean",
3120
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei),设置 fixed 时默认开启, 默认值: `false`"
3121
- },
3122
- "van-tabbar/before-change": {
3123
- "type": "(name) => boolean | Promise",
3124
- "description": "切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise, 默认值: -"
3125
- },
3126
- "van-tabbar-item/name": {
3127
- "type": "number | string",
3128
- "description": "标签名称,作为匹配的标识符, 默认值: 当前标签的索引值"
3129
- },
3130
- "van-tabbar-item/icon": {
3131
- "type": "string",
3132
- "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
3133
- },
3134
- "van-tabbar-item/icon-prefix": {
3135
- "type": "string",
3136
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
3137
- },
3138
- "van-tabbar-item/dot": {
3139
- "type": "boolean",
3140
- "description": "是否显示图标右上角小红点, 默认值: `false`"
3141
- },
3142
- "van-tabbar-item/badge": {
3143
- "type": "number | string",
3144
- "description": "图标右上角徽标的内容, 默认值: -"
3145
- },
3146
- "van-tabbar-item/info": {
3147
- "type": "number | string",
3148
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
3149
- },
3150
- "van-tabbar-item/url": {
3151
- "type": "string",
3152
- "description": "点击后跳转的链接地址, 默认值: -"
3153
- },
3154
- "van-tabbar-item/to": {
3155
- "type": "string | object",
3156
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
3157
- },
3158
- "van-tabbar-item/replace": {
3159
- "type": "boolean",
3160
- "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
3161
- },
3162
3094
  "van-tabs/v-model": {
3163
3095
  "type": "number | string",
3164
3096
  "description": "绑定当前选中标签的标识符, 默认值: `0`"
@@ -3279,6 +3211,82 @@
3279
3211
  "type": "any",
3280
3212
  "description": "自定义标题类名, 默认值: -"
3281
3213
  },
3214
+ "van-tabbar/v-model": {
3215
+ "type": "number | string",
3216
+ "description": "当前选中标签的名称或索引值, 默认值: `0`"
3217
+ },
3218
+ "van-tabbar/fixed": {
3219
+ "type": "boolean",
3220
+ "description": "是否固定在底部, 默认值: `true`"
3221
+ },
3222
+ "van-tabbar/border": {
3223
+ "type": "boolean",
3224
+ "description": "是否显示外边框, 默认值: `true`"
3225
+ },
3226
+ "van-tabbar/z-index": {
3227
+ "type": "number | string",
3228
+ "description": "元素 z-index, 默认值: `1`"
3229
+ },
3230
+ "van-tabbar/active-color": {
3231
+ "type": "string",
3232
+ "description": "选中标签的颜色, 默认值: `#1989fa`"
3233
+ },
3234
+ "van-tabbar/inactive-color": {
3235
+ "type": "string",
3236
+ "description": "未选中标签的颜色, 默认值: `#7d7e80`"
3237
+ },
3238
+ "van-tabbar/route": {
3239
+ "type": "boolean",
3240
+ "description": "是否开启路由模式, 默认值: `false`"
3241
+ },
3242
+ "van-tabbar/placeholder": {
3243
+ "type": "boolean",
3244
+ "description": "固定在底部时,是否在标签位置生成一个等高的占位元素, 默认值: `false`"
3245
+ },
3246
+ "van-tabbar/safe-area-inset-bottom": {
3247
+ "type": "boolean",
3248
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei),设置 fixed 时默认开启, 默认值: `false`"
3249
+ },
3250
+ "van-tabbar/before-change": {
3251
+ "type": "(name) => boolean | Promise",
3252
+ "description": "切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise, 默认值: -"
3253
+ },
3254
+ "van-tabbar-item/name": {
3255
+ "type": "number | string",
3256
+ "description": "标签名称,作为匹配的标识符, 默认值: 当前标签的索引值"
3257
+ },
3258
+ "van-tabbar-item/icon": {
3259
+ "type": "string",
3260
+ "description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
3261
+ },
3262
+ "van-tabbar-item/icon-prefix": {
3263
+ "type": "string",
3264
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
3265
+ },
3266
+ "van-tabbar-item/dot": {
3267
+ "type": "boolean",
3268
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
3269
+ },
3270
+ "van-tabbar-item/badge": {
3271
+ "type": "number | string",
3272
+ "description": "图标右上角徽标的内容, 默认值: -"
3273
+ },
3274
+ "van-tabbar-item/info": {
3275
+ "type": "number | string",
3276
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
3277
+ },
3278
+ "van-tabbar-item/url": {
3279
+ "type": "string",
3280
+ "description": "点击后跳转的链接地址, 默认值: -"
3281
+ },
3282
+ "van-tabbar-item/to": {
3283
+ "type": "string | object",
3284
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
3285
+ },
3286
+ "van-tabbar-item/replace": {
3287
+ "type": "boolean",
3288
+ "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
3289
+ },
3282
3290
  "van-tag/type": {
3283
3291
  "type": "string",
3284
3292
  "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"