vant 2.12.52 → 2.12.54

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,84 +1,4 @@
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
- },
30
- "van-area/value": {
31
- "type": "string",
32
- "description": "当前选中的省市区`code`, 默认值: -"
33
- },
34
- "van-area/title": {
35
- "type": "string",
36
- "description": "顶部栏标题, 默认值: -"
37
- },
38
- "van-area/confirm-button-text": {
39
- "type": "string",
40
- "description": "确认按钮文字, 默认值: `确认`"
41
- },
42
- "van-area/cancel-button-text": {
43
- "type": "string",
44
- "description": "取消按钮文字, 默认值: `取消`"
45
- },
46
- "van-area/area-list": {
47
- "type": "object",
48
- "description": "省市区数据,格式见下方, 默认值: -"
49
- },
50
- "van-area/columns-placeholder": {
51
- "type": "string[]",
52
- "description": "列占位提示文字, 默认值: `[]`"
53
- },
54
- "van-area/loading": {
55
- "type": "boolean",
56
- "description": "是否显示加载状态, 默认值: `false`"
57
- },
58
- "van-area/readonly": {
59
- "type": "boolean",
60
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
61
- },
62
- "van-area/item-height": {
63
- "type": "number | string",
64
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
65
- },
66
- "van-area/columns-num": {
67
- "type": "number | string",
68
- "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
69
- },
70
- "van-area/visible-item-count": {
71
- "type": "number | string",
72
- "description": "可见的选项个数, 默认值: `6`"
73
- },
74
- "van-area/swipe-duration": {
75
- "type": "number | string",
76
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
77
- },
78
- "van-area/is-oversea-code": {
79
- "type": "() => boolean",
80
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
81
- },
82
2
  "van-action-sheet/v-model (value)": {
83
3
  "type": "boolean",
84
4
  "description": "是否显示动作面板, 默认值: `false`"
@@ -147,93 +67,73 @@
147
67
  "type": "string | () => Element",
148
68
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
149
69
  },
150
- "van-address-edit/area-list": {
151
- "type": "object",
152
- "description": "地区列表, 默认值: -"
153
- },
154
- "van-address-edit/area-columns-placeholder": {
155
- "type": "string[]",
156
- "description": "地区选择列占位提示文字, 默认值: `[]`"
70
+ "van-badge/content": {
71
+ "type": "number | string",
72
+ "description": "徽标内容, 默认值: -"
157
73
  },
158
- "van-address-edit/area-placeholder": {
74
+ "van-badge/color": {
159
75
  "type": "string",
160
- "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
161
- },
162
- "van-address-edit/address-info": {
163
- "type": "AddressInfo",
164
- "description": "收货人信息初始值, 默认值: `{}`"
165
- },
166
- "van-address-edit/search-result": {
167
- "type": "SearchResult[]",
168
- "description": "详细地址搜索结果, 默认值: `[]`"
169
- },
170
- "van-address-edit/show-postal": {
171
- "type": "boolean",
172
- "description": "是否显示邮政编码, 默认值: `false`"
173
- },
174
- "van-address-edit/show-delete": {
175
- "type": "boolean",
176
- "description": "是否显示删除按钮, 默认值: `false`"
177
- },
178
- "van-address-edit/show-set-default": {
179
- "type": "boolean",
180
- "description": "是否显示默认地址栏, 默认值: `false`"
76
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
181
77
  },
182
- "van-address-edit/show-search-result": {
78
+ "van-badge/dot": {
183
79
  "type": "boolean",
184
- "description": "是否显示搜索结果, 默认值: `false`"
80
+ "description": "是否展示为小红点, 默认值: `false`"
185
81
  },
186
- "van-address-edit/show-area": {
187
- "type": "boolean",
188
- "description": "是否显示地区, 默认值: `true`"
82
+ "van-badge/max": {
83
+ "type": "number | string",
84
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
189
85
  },
190
- "van-address-edit/show-detail": {
191
- "type": "boolean",
192
- "description": "是否显示详细地址, 默认值: `true`"
86
+ "van-area/value": {
87
+ "type": "string",
88
+ "description": "当前选中的省市区`code`, 默认值: -"
193
89
  },
194
- "van-address-edit/disable-area": {
195
- "type": "boolean",
196
- "description": "是否禁用地区选择, 默认值: `false`"
90
+ "van-area/title": {
91
+ "type": "string",
92
+ "description": "顶部栏标题, 默认值: -"
197
93
  },
198
- "van-address-edit/save-button-text": {
94
+ "van-area/confirm-button-text": {
199
95
  "type": "string",
200
- "description": "保存按钮文字, 默认值: `保存`"
96
+ "description": "确认按钮文字, 默认值: `确认`"
201
97
  },
202
- "van-address-edit/delete-button-text": {
98
+ "van-area/cancel-button-text": {
203
99
  "type": "string",
204
- "description": "删除按钮文字, 默认值: `删除`"
100
+ "description": "取消按钮文字, 默认值: `取消`"
205
101
  },
206
- "van-address-edit/detail-rows": {
207
- "type": "number | string",
208
- "description": "详细地址输入框行数, 默认值: `1`"
102
+ "van-area/area-list": {
103
+ "type": "object",
104
+ "description": "省市区数据,格式见下方, 默认值: -"
209
105
  },
210
- "van-address-edit/detail-maxlength": {
211
- "type": "number | string",
212
- "description": "详细地址最大长度, 默认值: `200`"
106
+ "van-area/columns-placeholder": {
107
+ "type": "string[]",
108
+ "description": "列占位提示文字, 默认值: `[]`"
213
109
  },
214
- "van-address-edit/is-saving": {
110
+ "van-area/loading": {
215
111
  "type": "boolean",
216
- "description": "是否显示保存按钮加载动画, 默认值: `false`"
112
+ "description": "是否显示加载状态, 默认值: `false`"
217
113
  },
218
- "van-address-edit/is-deleting": {
114
+ "van-area/readonly": {
219
115
  "type": "boolean",
220
- "description": "是否显示删除按钮加载动画, 默认值: `false`"
116
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
221
117
  },
222
- "van-address-edit/tel-validator": {
223
- "type": "string => boolean",
224
- "description": "手机号格式校验函数, 默认值: -"
118
+ "van-area/item-height": {
119
+ "type": "number | string",
120
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
225
121
  },
226
- "van-address-edit/tel-maxlength": {
122
+ "van-area/columns-num": {
227
123
  "type": "number | string",
228
- "description": "手机号最大长度, 默认值: -"
124
+ "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
229
125
  },
230
- "van-address-edit/postal-validator": {
231
- "type": "string => boolean",
232
- "description": "邮政编码格式校验函数, 默认值: -"
126
+ "van-area/visible-item-count": {
127
+ "type": "number | string",
128
+ "description": "可见的选项个数, 默认值: `6`"
233
129
  },
234
- "van-address-edit/validator": {
235
- "type": "(key, val) => string",
236
- "description": "自定义校验函数, 默认值: -"
130
+ "van-area/swipe-duration": {
131
+ "type": "number | string",
132
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
133
+ },
134
+ "van-area/is-oversea-code": {
135
+ "type": "() => boolean",
136
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
237
137
  },
238
138
  "van-button/type": {
239
139
  "type": "string",
@@ -323,21 +223,77 @@
323
223
  "type": "boolean",
324
224
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
325
225
  },
326
- "van-badge/content": {
327
- "type": "number | string",
328
- "description": "徽标内容, 默认值: -"
226
+ "van-address-list/v-model": {
227
+ "type": "string",
228
+ "description": "当前选中地址的 id, 默认值: -"
329
229
  },
330
- "van-badge/color": {
230
+ "van-address-list/list": {
231
+ "type": "Address[]",
232
+ "description": "地址列表, 默认值: `[]`"
233
+ },
234
+ "van-address-list/disabled-list": {
235
+ "type": "Address[]",
236
+ "description": "不可配送地址列表, 默认值: `[]`"
237
+ },
238
+ "van-address-list/disabled-text": {
331
239
  "type": "string",
332
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
240
+ "description": "不可配送提示文案, 默认值: -"
333
241
  },
334
- "van-badge/dot": {
242
+ "van-address-list/switchable": {
335
243
  "type": "boolean",
336
- "description": "是否展示为小红点, 默认值: `false`"
244
+ "description": "是否允许切换地址, 默认值: `true`"
337
245
  },
338
- "van-badge/max": {
246
+ "van-address-list/add-button-text": {
247
+ "type": "string",
248
+ "description": "底部按钮文字, 默认值: `新增地址`"
249
+ },
250
+ "van-address-list/default-tag-text": {
251
+ "type": "string",
252
+ "description": "默认地址标签文字, 默认值: -"
253
+ },
254
+ "van-card/thumb": {
255
+ "type": "string",
256
+ "description": "左侧图片 URL, 默认值: -"
257
+ },
258
+ "van-card/title": {
259
+ "type": "string",
260
+ "description": "标题, 默认值: -"
261
+ },
262
+ "van-card/desc": {
263
+ "type": "string",
264
+ "description": "描述, 默认值: -"
265
+ },
266
+ "van-card/tag": {
267
+ "type": "string",
268
+ "description": "图片角标, 默认值: -"
269
+ },
270
+ "van-card/num": {
339
271
  "type": "number | string",
340
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
272
+ "description": "商品数量, 默认值: -"
273
+ },
274
+ "van-card/price": {
275
+ "type": "number | string",
276
+ "description": "商品价格, 默认值: -"
277
+ },
278
+ "van-card/origin-price": {
279
+ "type": "number | string",
280
+ "description": "商品划线原价, 默认值: -"
281
+ },
282
+ "van-card/centered": {
283
+ "type": "boolean",
284
+ "description": "内容是否垂直居中, 默认值: `false`"
285
+ },
286
+ "van-card/currency": {
287
+ "type": "string",
288
+ "description": "货币符号, 默认值: `¥`"
289
+ },
290
+ "van-card/thumb-link": {
291
+ "type": "string",
292
+ "description": "点击左侧图片后跳转的链接地址, 默认值: -"
293
+ },
294
+ "van-card/lazy-load": {
295
+ "type": "boolean",
296
+ "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
341
297
  },
342
298
  "van-calendar/type": {
343
299
  "type": "string",
@@ -451,81 +407,125 @@
451
407
  "type": "boolean",
452
408
  "description": "是否允许日期范围的起止时间为同一天, 默认值: `false`"
453
409
  },
454
- "van-card/thumb": {
410
+ "van-cascader/title": {
455
411
  "type": "string",
456
- "description": "左侧图片 URL, 默认值: -"
412
+ "description": "顶部标题, 默认值: -"
457
413
  },
458
- "van-card/title": {
414
+ "van-cascader/value": {
415
+ "type": "string | number",
416
+ "description": "选中项的值, 默认值: -"
417
+ },
418
+ "van-cascader/options": {
419
+ "type": "Option[]",
420
+ "description": "可选项数据源, 默认值: `[]`"
421
+ },
422
+ "van-cascader/placeholder": {
459
423
  "type": "string",
460
- "description": "标题, 默认值: -"
424
+ "description": "未选中时的提示文案, 默认值: `请选择`"
461
425
  },
462
- "van-card/desc": {
426
+ "van-cascader/active-color": {
463
427
  "type": "string",
464
- "description": "描述, 默认值: -"
428
+ "description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
465
429
  },
466
- "van-card/tag": {
430
+ "van-cascader/closeable": {
431
+ "type": "boolean",
432
+ "description": "是否显示关闭图标, 默认值: `true`"
433
+ },
434
+ "van-cascader/show-header": {
435
+ "type": "boolean",
436
+ "description": "是否展示标题栏, 默认值: `true`"
437
+ },
438
+ "van-cascader/field-names": {
439
+ "type": "object",
440
+ "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
441
+ },
442
+ "van-address-edit/area-list": {
443
+ "type": "object",
444
+ "description": "地区列表, 默认值: -"
445
+ },
446
+ "van-address-edit/area-columns-placeholder": {
447
+ "type": "string[]",
448
+ "description": "地区选择列占位提示文字, 默认值: `[]`"
449
+ },
450
+ "van-address-edit/area-placeholder": {
467
451
  "type": "string",
468
- "description": "图片角标, 默认值: -"
452
+ "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
469
453
  },
470
- "van-card/num": {
471
- "type": "number | string",
472
- "description": "商品数量, 默认值: -"
454
+ "van-address-edit/address-info": {
455
+ "type": "AddressInfo",
456
+ "description": "收货人信息初始值, 默认值: `{}`"
473
457
  },
474
- "van-card/price": {
475
- "type": "number | string",
476
- "description": "商品价格, 默认值: -"
458
+ "van-address-edit/search-result": {
459
+ "type": "SearchResult[]",
460
+ "description": "详细地址搜索结果, 默认值: `[]`"
477
461
  },
478
- "van-card/origin-price": {
479
- "type": "number | string",
480
- "description": "商品划线原价, 默认值: -"
462
+ "van-address-edit/show-postal": {
463
+ "type": "boolean",
464
+ "description": "是否显示邮政编码, 默认值: `false`"
481
465
  },
482
- "van-card/centered": {
466
+ "van-address-edit/show-delete": {
483
467
  "type": "boolean",
484
- "description": "内容是否垂直居中, 默认值: `false`"
468
+ "description": "是否显示删除按钮, 默认值: `false`"
485
469
  },
486
- "van-card/currency": {
487
- "type": "string",
488
- "description": "货币符号, 默认值: `¥`"
470
+ "van-address-edit/show-set-default": {
471
+ "type": "boolean",
472
+ "description": "是否显示默认地址栏, 默认值: `false`"
489
473
  },
490
- "van-card/thumb-link": {
491
- "type": "string",
492
- "description": "点击左侧图片后跳转的链接地址, 默认值: -"
474
+ "van-address-edit/show-search-result": {
475
+ "type": "boolean",
476
+ "description": "是否显示搜索结果, 默认值: `false`"
493
477
  },
494
- "van-card/lazy-load": {
478
+ "van-address-edit/show-area": {
495
479
  "type": "boolean",
496
- "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
480
+ "description": "是否显示地区, 默认值: `true`"
497
481
  },
498
- "van-cascader/title": {
499
- "type": "string",
500
- "description": "顶部标题, 默认值: -"
482
+ "van-address-edit/show-detail": {
483
+ "type": "boolean",
484
+ "description": "是否显示详细地址, 默认值: `true`"
501
485
  },
502
- "van-cascader/value": {
503
- "type": "string | number",
504
- "description": "选中项的值, 默认值: -"
486
+ "van-address-edit/disable-area": {
487
+ "type": "boolean",
488
+ "description": "是否禁用地区选择, 默认值: `false`"
505
489
  },
506
- "van-cascader/options": {
507
- "type": "Option[]",
508
- "description": "可选项数据源, 默认值: `[]`"
490
+ "van-address-edit/save-button-text": {
491
+ "type": "string",
492
+ "description": "保存按钮文字, 默认值: `保存`"
509
493
  },
510
- "van-cascader/placeholder": {
494
+ "van-address-edit/delete-button-text": {
511
495
  "type": "string",
512
- "description": "未选中时的提示文案, 默认值: `请选择`"
496
+ "description": "删除按钮文字, 默认值: `删除`"
497
+ },
498
+ "van-address-edit/detail-rows": {
499
+ "type": "number | string",
500
+ "description": "详细地址输入框行数, 默认值: `1`"
513
501
  },
514
- "van-cascader/active-color": {
515
- "type": "string",
516
- "description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
502
+ "van-address-edit/detail-maxlength": {
503
+ "type": "number | string",
504
+ "description": "详细地址最大长度, 默认值: `200`"
517
505
  },
518
- "van-cascader/closeable": {
506
+ "van-address-edit/is-saving": {
519
507
  "type": "boolean",
520
- "description": "是否显示关闭图标, 默认值: `true`"
508
+ "description": "是否显示保存按钮加载动画, 默认值: `false`"
521
509
  },
522
- "van-cascader/show-header": {
510
+ "van-address-edit/is-deleting": {
523
511
  "type": "boolean",
524
- "description": "是否展示标题栏, 默认值: `true`"
512
+ "description": "是否显示删除按钮加载动画, 默认值: `false`"
525
513
  },
526
- "van-cascader/field-names": {
527
- "type": "object",
528
- "description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
514
+ "van-address-edit/tel-validator": {
515
+ "type": "string => boolean",
516
+ "description": "手机号格式校验函数, 默认值: -"
517
+ },
518
+ "van-address-edit/tel-maxlength": {
519
+ "type": "number | string",
520
+ "description": "手机号最大长度, 默认值: -"
521
+ },
522
+ "van-address-edit/postal-validator": {
523
+ "type": "string => boolean",
524
+ "description": "邮政编码格式校验函数, 默认值: -"
525
+ },
526
+ "van-address-edit/validator": {
527
+ "type": "(key, val) => string",
528
+ "description": "自定义校验函数, 默认值: -"
529
529
  },
530
530
  "van-cell/title": {
531
531
  "type": "number | string",
@@ -855,82 +855,6 @@
855
855
  "type": "boolean",
856
856
  "description": "是否开启毫秒级渲染, 默认值: `false`"
857
857
  },
858
- "van-datetime-picker/type": {
859
- "type": "string",
860
- "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
861
- },
862
- "van-datetime-picker/title": {
863
- "type": "string",
864
- "description": "顶部栏标题, 默认值: `''`"
865
- },
866
- "van-datetime-picker/confirm-button-text": {
867
- "type": "string",
868
- "description": "确认按钮文字, 默认值: `确认`"
869
- },
870
- "van-datetime-picker/cancel-button-text": {
871
- "type": "string",
872
- "description": "取消按钮文字, 默认值: `取消`"
873
- },
874
- "van-datetime-picker/show-toolbar": {
875
- "type": "boolean",
876
- "description": "是否显示顶部栏, 默认值: `true`"
877
- },
878
- "van-datetime-picker/loading": {
879
- "type": "boolean",
880
- "description": "是否显示加载状态, 默认值: `false`"
881
- },
882
- "van-datetime-picker/readonly": {
883
- "type": "boolean",
884
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
885
- },
886
- "van-datetime-picker/filter": {
887
- "type": "(type, vals) => vals",
888
- "description": "选项过滤函数, 默认值: -"
889
- },
890
- "van-datetime-picker/formatter": {
891
- "type": "(type, val) => val",
892
- "description": "选项格式化函数, 默认值: -"
893
- },
894
- "van-datetime-picker/columns-order": {
895
- "type": "string[]",
896
- "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
897
- },
898
- "van-datetime-picker/item-height": {
899
- "type": "number | string",
900
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
901
- },
902
- "van-datetime-picker/visible-item-count": {
903
- "type": "number | string",
904
- "description": "可见的选项个数, 默认值: `6`"
905
- },
906
- "van-datetime-picker/swipe-duration": {
907
- "type": "number | string",
908
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
909
- },
910
- "van-datetime-picker/min-date": {
911
- "type": "Date",
912
- "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
913
- },
914
- "van-datetime-picker/max-date": {
915
- "type": "Date",
916
- "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
917
- },
918
- "van-datetime-picker/min-hour": {
919
- "type": "number | string",
920
- "description": "可选的最小小时, 默认值: `0`"
921
- },
922
- "van-datetime-picker/max-hour": {
923
- "type": "number | string",
924
- "description": "可选的最大小时, 默认值: `23`"
925
- },
926
- "van-datetime-picker/min-minute": {
927
- "type": "number | string",
928
- "description": "可选的最小分钟, 默认值: `0`"
929
- },
930
- "van-datetime-picker/max-minute": {
931
- "type": "number | string",
932
- "description": "可选的最大分钟, 默认值: `59`"
933
- },
934
858
  "van-coupon/title": {
935
859
  "type": "string",
936
860
  "description": "单元格标题, 默认值: `优惠券`"
@@ -1015,6 +939,82 @@
1015
939
  "type": "boolean",
1016
940
  "description": "是否展示可用 / 不可用数量, 默认值: `true`"
1017
941
  },
942
+ "van-datetime-picker/type": {
943
+ "type": "string",
944
+ "description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
945
+ },
946
+ "van-datetime-picker/title": {
947
+ "type": "string",
948
+ "description": "顶部栏标题, 默认值: `''`"
949
+ },
950
+ "van-datetime-picker/confirm-button-text": {
951
+ "type": "string",
952
+ "description": "确认按钮文字, 默认值: `确认`"
953
+ },
954
+ "van-datetime-picker/cancel-button-text": {
955
+ "type": "string",
956
+ "description": "取消按钮文字, 默认值: `取消`"
957
+ },
958
+ "van-datetime-picker/show-toolbar": {
959
+ "type": "boolean",
960
+ "description": "是否显示顶部栏, 默认值: `true`"
961
+ },
962
+ "van-datetime-picker/loading": {
963
+ "type": "boolean",
964
+ "description": "是否显示加载状态, 默认值: `false`"
965
+ },
966
+ "van-datetime-picker/readonly": {
967
+ "type": "boolean",
968
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
969
+ },
970
+ "van-datetime-picker/filter": {
971
+ "type": "(type, vals) => vals",
972
+ "description": "选项过滤函数, 默认值: -"
973
+ },
974
+ "van-datetime-picker/formatter": {
975
+ "type": "(type, val) => val",
976
+ "description": "选项格式化函数, 默认值: -"
977
+ },
978
+ "van-datetime-picker/columns-order": {
979
+ "type": "string[]",
980
+ "description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
981
+ },
982
+ "van-datetime-picker/item-height": {
983
+ "type": "number | string",
984
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
985
+ },
986
+ "van-datetime-picker/visible-item-count": {
987
+ "type": "number | string",
988
+ "description": "可见的选项个数, 默认值: `6`"
989
+ },
990
+ "van-datetime-picker/swipe-duration": {
991
+ "type": "number | string",
992
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
993
+ },
994
+ "van-datetime-picker/min-date": {
995
+ "type": "Date",
996
+ "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
997
+ },
998
+ "van-datetime-picker/max-date": {
999
+ "type": "Date",
1000
+ "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1001
+ },
1002
+ "van-datetime-picker/min-hour": {
1003
+ "type": "number | string",
1004
+ "description": "可选的最小小时, 默认值: `0`"
1005
+ },
1006
+ "van-datetime-picker/max-hour": {
1007
+ "type": "number | string",
1008
+ "description": "可选的最大小时, 默认值: `23`"
1009
+ },
1010
+ "van-datetime-picker/min-minute": {
1011
+ "type": "number | string",
1012
+ "description": "可选的最小分钟, 默认值: `0`"
1013
+ },
1014
+ "van-datetime-picker/max-minute": {
1015
+ "type": "number | string",
1016
+ "description": "可选的最大分钟, 默认值: `59`"
1017
+ },
1018
1018
  "van-dialog/v-model": {
1019
1019
  "type": "boolean",
1020
1020
  "description": "是否显示弹窗, 默认值: -"
@@ -1333,7 +1333,7 @@
1333
1333
  },
1334
1334
  "van-form/label-align": {
1335
1335
  "type": "string",
1336
- "description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1336
+ "description": "表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
1337
1337
  },
1338
1338
  "van-form/input-align": {
1339
1339
  "type": "string",
@@ -1739,42 +1739,6 @@
1739
1739
  "type": "boolean",
1740
1740
  "description": "是否垂直排列图标和文字内容, 默认值: `false`"
1741
1741
  },
1742
- "van-notice-bar/mode": {
1743
- "type": "string",
1744
- "description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
1745
- },
1746
- "van-notice-bar/text": {
1747
- "type": "string",
1748
- "description": "通知文本内容, 默认值: `''`"
1749
- },
1750
- "van-notice-bar/color": {
1751
- "type": "string",
1752
- "description": "通知文本颜色, 默认值: `#f60`"
1753
- },
1754
- "van-notice-bar/background": {
1755
- "type": "string",
1756
- "description": "滚动条背景, 默认值: `#fff7cc`"
1757
- },
1758
- "van-notice-bar/left-icon": {
1759
- "type": "string",
1760
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1761
- },
1762
- "van-notice-bar/delay": {
1763
- "type": "number | string",
1764
- "description": "动画延迟时间 (s), 默认值: `1`"
1765
- },
1766
- "van-notice-bar/speed": {
1767
- "type": "number | string",
1768
- "description": "滚动速率 (px/s), 默认值: `60`"
1769
- },
1770
- "van-notice-bar/scrollable": {
1771
- "type": "boolean",
1772
- "description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
1773
- },
1774
- "van-notice-bar/wrapable": {
1775
- "type": "boolean",
1776
- "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1777
- },
1778
1742
  "van-nav-bar/title": {
1779
1743
  "type": "string",
1780
1744
  "description": "标题, 默认值: `''`"
@@ -1811,6 +1775,42 @@
1811
1775
  "type": "boolean",
1812
1776
  "description": "是否开启[顶部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
1813
1777
  },
1778
+ "van-notice-bar/mode": {
1779
+ "type": "string",
1780
+ "description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
1781
+ },
1782
+ "van-notice-bar/text": {
1783
+ "type": "string",
1784
+ "description": "通知文本内容, 默认值: `''`"
1785
+ },
1786
+ "van-notice-bar/color": {
1787
+ "type": "string",
1788
+ "description": "通知文本颜色, 默认值: `#f60`"
1789
+ },
1790
+ "van-notice-bar/background": {
1791
+ "type": "string",
1792
+ "description": "滚动条背景, 默认值: `#fff7cc`"
1793
+ },
1794
+ "van-notice-bar/left-icon": {
1795
+ "type": "string",
1796
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1797
+ },
1798
+ "van-notice-bar/delay": {
1799
+ "type": "number | string",
1800
+ "description": "动画延迟时间 (s), 默认值: `1`"
1801
+ },
1802
+ "van-notice-bar/speed": {
1803
+ "type": "number | string",
1804
+ "description": "滚动速率 (px/s), 默认值: `60`"
1805
+ },
1806
+ "van-notice-bar/scrollable": {
1807
+ "type": "boolean",
1808
+ "description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
1809
+ },
1810
+ "van-notice-bar/wrapable": {
1811
+ "type": "boolean",
1812
+ "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1813
+ },
1814
1814
  "van-number-keyboard/v-model (value)": {
1815
1815
  "type": "string",
1816
1816
  "description": "当前输入值, 默认值: -"
@@ -2305,7 +2305,7 @@
2305
2305
  },
2306
2306
  "van-rate/readonly": {
2307
2307
  "type": "boolean",
2308
- "description": "是否为只读状态 \b, 默认值: `false`"
2308
+ "description": "是否为只读状态, 默认值: `false`"
2309
2309
  },
2310
2310
  "van-rate/disabled": {
2311
2311
  "type": "boolean",