vant 3.4.6 → 3.4.7

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.
Files changed (136) hide show
  1. package/changelog.generated.md +39 -50
  2. package/es/address-list/AddressListItem.d.ts +3 -2
  3. package/es/address-list/AddressListItem.js +1 -1
  4. package/es/badge/Badge.d.ts +4 -3
  5. package/es/badge/index.d.ts +2 -2
  6. package/es/calendar/Calendar.js +1 -1
  7. package/es/calendar/types.d.ts +2 -1
  8. package/es/cascader/types.d.ts +2 -1
  9. package/es/checkbox/Checker.d.ts +2 -1
  10. package/es/collapse/Collapse.d.ts +7 -6
  11. package/es/collapse/index.d.ts +3 -3
  12. package/es/composables/use-touch.js +1 -1
  13. package/es/config-provider/ConfigProvider.d.ts +4 -3
  14. package/es/config-provider/index.d.ts +2 -2
  15. package/es/contact-list/ContactList.d.ts +3 -2
  16. package/es/coupon/Coupon.d.ts +2 -1
  17. package/es/coupon-list/CouponList.d.ts +3 -13
  18. package/es/coupon-list/CouponList.js +9 -7
  19. package/es/coupon-list/index.css +1 -1
  20. package/es/coupon-list/index.d.ts +2 -9
  21. package/es/coupon-list/index.less +4 -16
  22. package/es/coupon-list/style/index.js +1 -0
  23. package/es/coupon-list/style/less.js +1 -0
  24. package/es/coupon-list/var.less +0 -1
  25. package/es/datetime-picker/DatePicker.js +1 -2
  26. package/es/dialog/types.d.ts +2 -2
  27. package/es/dropdown-item/types.d.ts +2 -1
  28. package/es/index-bar/IndexBar.d.ts +5 -4
  29. package/es/index-bar/IndexBar.js +25 -4
  30. package/es/index-bar/index.d.ts +3 -3
  31. package/es/index-bar/types.d.ts +2 -1
  32. package/es/index.d.ts +1 -1
  33. package/es/index.js +1 -1
  34. package/es/locale/lang/is-IS.d.ts +64 -0
  35. package/es/locale/lang/is-IS.js +74 -0
  36. package/es/locale/lang/la-LA.d.ts +64 -0
  37. package/es/locale/lang/la-LA.js +66 -0
  38. package/es/locale/lang/sv-SE.d.ts +64 -0
  39. package/es/locale/lang/sv-SE.js +66 -0
  40. package/es/notify/types.d.ts +2 -1
  41. package/es/number-keyboard/NumberKeyboard.js +10 -1
  42. package/es/picker/types.d.ts +3 -2
  43. package/es/progress/Progress.d.ts +4 -3
  44. package/es/progress/index.d.ts +2 -2
  45. package/es/skeleton/Skeleton.d.ts +5 -4
  46. package/es/skeleton/index.d.ts +3 -3
  47. package/es/tabbar/Tabbar.d.ts +2 -2
  48. package/es/tabs/Tabs.d.ts +1 -1
  49. package/es/tabs/Tabs.js +1 -0
  50. package/es/tabs/types.d.ts +5 -4
  51. package/es/toast/types.d.ts +3 -2
  52. package/es/tree-select/TreeSelect.d.ts +7 -6
  53. package/es/tree-select/index.d.ts +3 -3
  54. package/es/uploader/Uploader.d.ts +4 -4
  55. package/es/uploader/Uploader.js +2 -2
  56. package/es/uploader/UploaderPreviewItem.d.ts +3 -3
  57. package/es/uploader/UploaderPreviewItem.js +9 -6
  58. package/es/uploader/index.d.ts +2 -2
  59. package/es/uploader/types.d.ts +5 -5
  60. package/es/utils/basic.d.ts +1 -0
  61. package/es/utils/format.d.ts +7 -6
  62. package/es/utils/format.js +6 -0
  63. package/es/utils/validate.d.ts +2 -1
  64. package/lib/address-list/AddressListItem.d.ts +3 -2
  65. package/lib/badge/Badge.d.ts +4 -3
  66. package/lib/badge/index.d.ts +2 -2
  67. package/lib/calendar/Calendar.js +1 -1
  68. package/lib/calendar/types.d.ts +2 -1
  69. package/lib/cascader/types.d.ts +2 -1
  70. package/lib/checkbox/Checker.d.ts +2 -1
  71. package/lib/collapse/Collapse.d.ts +7 -6
  72. package/lib/collapse/index.d.ts +3 -3
  73. package/lib/composables/use-touch.js +1 -1
  74. package/lib/config-provider/ConfigProvider.d.ts +4 -3
  75. package/lib/config-provider/index.d.ts +2 -2
  76. package/lib/contact-list/ContactList.d.ts +3 -2
  77. package/lib/coupon/Coupon.d.ts +2 -1
  78. package/lib/coupon-list/CouponList.d.ts +3 -13
  79. package/lib/coupon-list/CouponList.js +9 -7
  80. package/lib/coupon-list/index.css +1 -1
  81. package/lib/coupon-list/index.d.ts +2 -9
  82. package/lib/coupon-list/index.less +4 -16
  83. package/lib/coupon-list/style/index.js +1 -0
  84. package/lib/coupon-list/style/less.js +1 -0
  85. package/lib/coupon-list/var.less +0 -1
  86. package/lib/datetime-picker/DatePicker.js +1 -2
  87. package/lib/dialog/types.d.ts +2 -2
  88. package/lib/dropdown-item/types.d.ts +2 -1
  89. package/lib/index-bar/IndexBar.d.ts +5 -4
  90. package/lib/index-bar/IndexBar.js +25 -4
  91. package/lib/index-bar/index.d.ts +3 -3
  92. package/lib/index-bar/types.d.ts +2 -1
  93. package/lib/index.css +1 -1
  94. package/lib/index.d.ts +1 -1
  95. package/lib/index.js +1 -1
  96. package/lib/index.less +2 -2
  97. package/lib/locale/lang/is-IS.d.ts +64 -0
  98. package/lib/locale/lang/is-IS.js +98 -0
  99. package/lib/locale/lang/la-LA.d.ts +64 -0
  100. package/lib/locale/lang/la-LA.js +90 -0
  101. package/lib/locale/lang/sv-SE.d.ts +64 -0
  102. package/lib/locale/lang/sv-SE.js +90 -0
  103. package/lib/notify/types.d.ts +2 -1
  104. package/lib/number-keyboard/NumberKeyboard.js +10 -1
  105. package/lib/picker/types.d.ts +3 -2
  106. package/lib/progress/Progress.d.ts +4 -3
  107. package/lib/progress/index.d.ts +2 -2
  108. package/lib/skeleton/Skeleton.d.ts +5 -4
  109. package/lib/skeleton/index.d.ts +3 -3
  110. package/lib/tabbar/Tabbar.d.ts +2 -2
  111. package/lib/tabs/Tabs.d.ts +1 -1
  112. package/lib/tabs/Tabs.js +1 -0
  113. package/lib/tabs/types.d.ts +5 -4
  114. package/lib/toast/types.d.ts +3 -2
  115. package/lib/tree-select/TreeSelect.d.ts +7 -6
  116. package/lib/tree-select/index.d.ts +3 -3
  117. package/lib/uploader/Uploader.d.ts +4 -4
  118. package/lib/uploader/Uploader.js +1 -1
  119. package/lib/uploader/UploaderPreviewItem.d.ts +3 -3
  120. package/lib/uploader/UploaderPreviewItem.js +9 -6
  121. package/lib/uploader/index.d.ts +2 -2
  122. package/lib/uploader/types.d.ts +5 -5
  123. package/lib/utils/basic.d.ts +1 -0
  124. package/lib/utils/format.d.ts +7 -6
  125. package/lib/utils/format.js +6 -0
  126. package/lib/utils/validate.d.ts +2 -1
  127. package/lib/vant.cjs.js +269 -229
  128. package/lib/vant.cjs.min.js +1 -1
  129. package/lib/vant.es.js +269 -229
  130. package/lib/vant.es.min.js +269 -229
  131. package/lib/vant.js +269 -229
  132. package/lib/vant.min.js +1 -1
  133. package/package.json +1 -1
  134. package/vetur/attributes.json +641 -638
  135. package/vetur/tags.json +227 -227
  136. package/vetur/web-types.json +2160 -2158
@@ -1,4 +1,91 @@
1
1
  {
2
+ "van-action-bar/safe-area-inset-bottom": {
3
+ "type": "boolean",
4
+ "description": "Whether to enable bottom safe area adaptation, Default: `true`"
5
+ },
6
+ "van-action-bar-icon/text": {
7
+ "type": "string",
8
+ "description": "Button text, Default: -"
9
+ },
10
+ "van-action-bar-icon/icon": {
11
+ "type": "string",
12
+ "description": "Icon, Default: -"
13
+ },
14
+ "van-action-bar-icon/color": {
15
+ "type": "string",
16
+ "description": "Icon color, Default: `#323233`"
17
+ },
18
+ "van-action-bar-icon/icon-class": {
19
+ "type": "string | Array \\",
20
+ "description": "Icon class name, Default: object_",
21
+ "options": [
22
+ "''"
23
+ ]
24
+ },
25
+ "van-action-bar-icon/icon-prefix": {
26
+ "type": "string",
27
+ "description": "Icon className prefix, Default: `van-icon`"
28
+ },
29
+ "van-action-bar-icon/dot": {
30
+ "type": "boolean",
31
+ "description": "Whether to show red dot, Default: -"
32
+ },
33
+ "van-action-bar-icon/badge": {
34
+ "type": "number | string",
35
+ "description": "Content of the badge, Default: -"
36
+ },
37
+ "van-action-bar-icon/badge-props": {
38
+ "type": "BadgeProps",
39
+ "description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
40
+ },
41
+ "van-action-bar-icon/url": {
42
+ "type": "string",
43
+ "description": "Link URL, Default: -"
44
+ },
45
+ "van-action-bar-icon/to": {
46
+ "type": "string | object",
47
+ "description": "Target route of the link, same as to of vue-router, Default: -"
48
+ },
49
+ "van-action-bar-icon/replace": {
50
+ "type": "boolean",
51
+ "description": "If true, the navigation will not leave a history record, Default: `false`"
52
+ },
53
+ "van-action-bar-button/text": {
54
+ "type": "string",
55
+ "description": "Button text, Default: -"
56
+ },
57
+ "van-action-bar-button/type": {
58
+ "type": "string",
59
+ "description": "Button type, Can be set to `primary` `info` `warning` `danger`, Default: `default`"
60
+ },
61
+ "van-action-bar-button/color": {
62
+ "type": "string",
63
+ "description": "Button color, support linear-gradient, Default: -"
64
+ },
65
+ "van-action-bar-button/icon": {
66
+ "type": "string",
67
+ "description": "Left Icon, Default: -"
68
+ },
69
+ "van-action-bar-button/disabled": {
70
+ "type": "boolean",
71
+ "description": "Whether to disable button, Default: `false`"
72
+ },
73
+ "van-action-bar-button/loading": {
74
+ "type": "boolean",
75
+ "description": "Whether to show loading status, Default: `false`"
76
+ },
77
+ "van-action-bar-button/url": {
78
+ "type": "string",
79
+ "description": "Link, Default: -"
80
+ },
81
+ "van-action-bar-button/to": {
82
+ "type": "string | object",
83
+ "description": "Target route of the link, same as to of vue-router, Default: -"
84
+ },
85
+ "van-action-bar-button/replace": {
86
+ "type": "boolean",
87
+ "description": "If true, the navigation will not leave a history record, Default: `false`"
88
+ },
2
89
  "van-address-edit/area-list": {
3
90
  "type": "object",
4
91
  "description": "Area List, Default: -"
@@ -87,144 +174,64 @@
87
174
  "type": "(key, val) => string",
88
175
  "description": "Custom validator, Default: -"
89
176
  },
90
- "van-action-bar/safe-area-inset-bottom": {
91
- "type": "boolean",
92
- "description": "Whether to enable bottom safe area adaptation, Default: `true`"
93
- },
94
- "van-action-bar-icon/text": {
95
- "type": "string",
96
- "description": "Button text, Default: -"
97
- },
98
- "van-action-bar-icon/icon": {
99
- "type": "string",
100
- "description": "Icon, Default: -"
101
- },
102
- "van-action-bar-icon/color": {
103
- "type": "string",
104
- "description": "Icon color, Default: `#323233`"
105
- },
106
- "van-action-bar-icon/icon-class": {
107
- "type": "string | Array \\",
108
- "description": "Icon class name, Default: object_",
109
- "options": [
110
- "''"
111
- ]
112
- },
113
- "van-action-bar-icon/icon-prefix": {
177
+ "van-address-list/v-model": {
114
178
  "type": "string",
115
- "description": "Icon className prefix, Default: `van-icon`"
116
- },
117
- "van-action-bar-icon/dot": {
118
- "type": "boolean",
119
- "description": "Whether to show red dot, Default: -"
179
+ "description": "Id of chosen address, Default: -"
120
180
  },
121
- "van-action-bar-icon/badge": {
122
- "type": "number | string",
123
- "description": "Content of the badge, Default: -"
181
+ "van-address-list/list": {
182
+ "type": "Address[]",
183
+ "description": "Address list, Default: `[]`"
124
184
  },
125
- "van-action-bar-icon/badge-props": {
126
- "type": "BadgeProps",
127
- "description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
185
+ "van-address-list/disabled-list": {
186
+ "type": "Address[]",
187
+ "description": "Disabled address list, Default: `[]`"
128
188
  },
129
- "van-action-bar-icon/url": {
189
+ "van-address-list/disabled-text": {
130
190
  "type": "string",
131
- "description": "Link URL, Default: -"
132
- },
133
- "van-action-bar-icon/to": {
134
- "type": "string | object",
135
- "description": "Target route of the link, same as to of vue-router, Default: -"
191
+ "description": "Disabled text, Default: -"
136
192
  },
137
- "van-action-bar-icon/replace": {
193
+ "van-address-list/switchable": {
138
194
  "type": "boolean",
139
- "description": "If true, the navigation will not leave a history record, Default: `false`"
195
+ "description": "Whether to allow switch address, Default: `true`"
140
196
  },
141
- "van-action-bar-button/text": {
197
+ "van-address-list/add-button-text": {
142
198
  "type": "string",
143
- "description": "Button text, Default: -"
199
+ "description": "Add button text, Default: `Add new address`"
144
200
  },
145
- "van-action-bar-button/type": {
201
+ "van-address-list/default-tag-text": {
146
202
  "type": "string",
147
- "description": "Button type, Can be set to `primary` `info` `warning` `danger`, Default: `default`"
203
+ "description": "Default tag text, Default: -"
148
204
  },
149
- "van-action-bar-button/color": {
150
- "type": "string",
151
- "description": "Button color, support linear-gradient, Default: -"
205
+ "van-badge/content": {
206
+ "type": "number | string",
207
+ "description": "Badge content, Default: -"
152
208
  },
153
- "van-action-bar-button/icon": {
209
+ "van-badge/color": {
154
210
  "type": "string",
155
- "description": "Left Icon, Default: -"
156
- },
157
- "van-action-bar-button/disabled": {
158
- "type": "boolean",
159
- "description": "Whether to disable button, Default: `false`"
211
+ "description": "Background color, Default: `#ee0a24`"
160
212
  },
161
- "van-action-bar-button/loading": {
213
+ "van-badge/dot": {
162
214
  "type": "boolean",
163
- "description": "Whether to show loading status, Default: `false`"
215
+ "description": "Whether to show dot, Default: `false`"
164
216
  },
165
- "van-action-bar-button/url": {
166
- "type": "string",
167
- "description": "Link, Default: -"
217
+ "van-badge/max": {
218
+ "type": "number | string",
219
+ "description": "Max value,show `{max}+` when exceed,only works when content is number, Default: -"
168
220
  },
169
- "van-action-bar-button/to": {
170
- "type": "string | object",
171
- "description": "Target route of the link, same as to of vue-router, Default: -"
221
+ "van-badge/offset": {
222
+ "type": "[number | string, number \\",
223
+ "description": "Offset of badge dot, Default: string]_",
224
+ "options": [
225
+ "-"
226
+ ]
172
227
  },
173
- "van-action-bar-button/replace": {
228
+ "van-badge/show-zero": {
174
229
  "type": "boolean",
175
- "description": "If true, the navigation will not leave a history record, Default: `false`"
176
- },
177
- "van-area/value": {
178
- "type": "string",
179
- "description": "the `code` of selected area, Default: -"
180
- },
181
- "van-area/title": {
182
- "type": "string",
183
- "description": "Toolbar title, Default: -"
184
- },
185
- "van-area/confirm-button-text": {
186
- "type": "string",
187
- "description": "Text of confirm button, Default: `Confirm`"
230
+ "description": "Whether to show badge when content is zero, Default: `true`"
188
231
  },
189
- "van-area/cancel-button-text": {
232
+ "van-badge/position": {
190
233
  "type": "string",
191
- "description": "Text of cancel button, Default: `Cancel`"
192
- },
193
- "van-area/area-list": {
194
- "type": "object",
195
- "description": "Area list data, Default: -"
196
- },
197
- "van-area/columns-placeholder": {
198
- "type": "string[]",
199
- "description": "Placeholder of columns, Default: `[]`"
200
- },
201
- "van-area/loading": {
202
- "type": "boolean",
203
- "description": "Whether to show loading prompt, Default: `false`"
204
- },
205
- "van-area/readonly": {
206
- "type": "boolean",
207
- "description": "Whether to be readonly, Default: `false`"
208
- },
209
- "van-area/item-height": {
210
- "type": "number | string",
211
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
212
- },
213
- "van-area/columns-num": {
214
- "type": "number | string",
215
- "description": "Level of picker, Default: `3`"
216
- },
217
- "van-area/visible-item-count": {
218
- "type": "number | string",
219
- "description": "Count of visible columns, Default: `6`"
220
- },
221
- "van-area/swipe-duration": {
222
- "type": "number | string",
223
- "description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
224
- },
225
- "van-area/is-oversea-code": {
226
- "type": "() => boolean",
227
- "description": "The method to validate oversea code, Default: -"
234
+ "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
228
235
  },
229
236
  "van-action-sheet/v-model:show": {
230
237
  "type": "boolean",
@@ -309,36 +316,57 @@
309
316
  "type": "(action: string) => boolean | Promise\\<boolean\\>",
310
317
  "description": "Callback function before close, Default: -"
311
318
  },
312
- "van-badge/content": {
313
- "type": "number | string",
314
- "description": "Badge content, Default: -"
319
+ "van-area/value": {
320
+ "type": "string",
321
+ "description": "the `code` of selected area, Default: -"
315
322
  },
316
- "van-badge/color": {
323
+ "van-area/title": {
317
324
  "type": "string",
318
- "description": "Background color, Default: `#ee0a24`"
325
+ "description": "Toolbar title, Default: -"
319
326
  },
320
- "van-badge/dot": {
327
+ "van-area/confirm-button-text": {
328
+ "type": "string",
329
+ "description": "Text of confirm button, Default: `Confirm`"
330
+ },
331
+ "van-area/cancel-button-text": {
332
+ "type": "string",
333
+ "description": "Text of cancel button, Default: `Cancel`"
334
+ },
335
+ "van-area/area-list": {
336
+ "type": "object",
337
+ "description": "Area list data, Default: -"
338
+ },
339
+ "van-area/columns-placeholder": {
340
+ "type": "string[]",
341
+ "description": "Placeholder of columns, Default: `[]`"
342
+ },
343
+ "van-area/loading": {
321
344
  "type": "boolean",
322
- "description": "Whether to show dot, Default: `false`"
345
+ "description": "Whether to show loading prompt, Default: `false`"
323
346
  },
324
- "van-badge/max": {
347
+ "van-area/readonly": {
348
+ "type": "boolean",
349
+ "description": "Whether to be readonly, Default: `false`"
350
+ },
351
+ "van-area/item-height": {
325
352
  "type": "number | string",
326
- "description": "Max value,show `{max}+` when exceed,only works when content is number, Default: -"
353
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
327
354
  },
328
- "van-badge/offset": {
329
- "type": "[number | string, number \\",
330
- "description": "Offset of badge dot, Default: string]_",
331
- "options": [
332
- "-"
333
- ]
355
+ "van-area/columns-num": {
356
+ "type": "number | string",
357
+ "description": "Level of picker, Default: `3`"
334
358
  },
335
- "van-badge/show-zero": {
336
- "type": "boolean",
337
- "description": "Whether to show badge when content is zero, Default: `true`"
359
+ "van-area/visible-item-count": {
360
+ "type": "number | string",
361
+ "description": "Count of visible columns, Default: `6`"
338
362
  },
339
- "van-badge/position": {
340
- "type": "string",
341
- "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
363
+ "van-area/swipe-duration": {
364
+ "type": "number | string",
365
+ "description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
366
+ },
367
+ "van-area/is-oversea-code": {
368
+ "type": "() => boolean",
369
+ "description": "The method to validate oversea code, Default: -"
342
370
  },
343
371
  "van-button/type": {
344
372
  "type": "string",
@@ -424,34 +452,6 @@
424
452
  "type": "boolean",
425
453
  "description": "If true, the navigation will not leave a history record, Default: `false`"
426
454
  },
427
- "van-address-list/v-model": {
428
- "type": "string",
429
- "description": "Id of chosen address, Default: -"
430
- },
431
- "van-address-list/list": {
432
- "type": "Address[]",
433
- "description": "Address list, Default: `[]`"
434
- },
435
- "van-address-list/disabled-list": {
436
- "type": "Address[]",
437
- "description": "Disabled address list, Default: `[]`"
438
- },
439
- "van-address-list/disabled-text": {
440
- "type": "string",
441
- "description": "Disabled text, Default: -"
442
- },
443
- "van-address-list/switchable": {
444
- "type": "boolean",
445
- "description": "Whether to allow switch address, Default: `true`"
446
- },
447
- "van-address-list/add-button-text": {
448
- "type": "string",
449
- "description": "Add button text, Default: `Add new address`"
450
- },
451
- "van-address-list/default-tag-text": {
452
- "type": "string",
453
- "description": "Default tag text, Default: -"
454
- },
455
455
  "van-calendar/type": {
456
456
  "type": "string",
457
457
  "description": "Type,can be set to `range` `multiple`, Default: `single`"
@@ -819,6 +819,38 @@
819
819
  "type": "string",
820
820
  "description": "Checked color of all checkboxes, Default: `#1989fa`"
821
821
  },
822
+ "van-row/gutter": {
823
+ "type": "number | string",
824
+ "description": "Grid spacing(px), Default: -"
825
+ },
826
+ "van-row/tag": {
827
+ "type": "string",
828
+ "description": "Custom element tag, Default: `div`"
829
+ },
830
+ "van-row/justify": {
831
+ "type": "string",
832
+ "description": "Flex main axis,can be set to end/center/space-around/space-between, Default: `start`"
833
+ },
834
+ "van-row/align": {
835
+ "type": "string",
836
+ "description": "Flex cross axis, be set to center/bottom, Default: `top`"
837
+ },
838
+ "van-row/wrap": {
839
+ "type": "boolean",
840
+ "description": "Whether to wrap, Default: `true`"
841
+ },
842
+ "van-col/span": {
843
+ "type": "number | string",
844
+ "description": "number of column the grid spans, Default: -"
845
+ },
846
+ "van-col/offset": {
847
+ "type": "number | string",
848
+ "description": "number of spacing on the left side of the grid, Default: -"
849
+ },
850
+ "van-col/tag": {
851
+ "type": "string",
852
+ "description": "Custom element tag, Default: `div`"
853
+ },
822
854
  "van-circle/v-model:current-rate": {
823
855
  "type": "number",
824
856
  "description": "Current rate, Default: -"
@@ -867,38 +899,6 @@
867
899
  "type": "CircleStartPosition",
868
900
  "description": "Progress start position,can be set to `left`、`right`、`bottom`, Default: `top`"
869
901
  },
870
- "van-row/gutter": {
871
- "type": "number | string",
872
- "description": "Grid spacing(px), Default: -"
873
- },
874
- "van-row/tag": {
875
- "type": "string",
876
- "description": "Custom element tag, Default: `div`"
877
- },
878
- "van-row/justify": {
879
- "type": "string",
880
- "description": "Flex main axis,can be set to end/center/space-around/space-between, Default: `start`"
881
- },
882
- "van-row/align": {
883
- "type": "string",
884
- "description": "Flex cross axis, be set to center/bottom, Default: `top`"
885
- },
886
- "van-row/wrap": {
887
- "type": "boolean",
888
- "description": "Whether to wrap, Default: `true`"
889
- },
890
- "van-col/span": {
891
- "type": "number | string",
892
- "description": "number of column the grid spans, Default: -"
893
- },
894
- "van-col/offset": {
895
- "type": "number | string",
896
- "description": "number of spacing on the left side of the grid, Default: -"
897
- },
898
- "van-col/tag": {
899
- "type": "string",
900
- "description": "Custom element tag, Default: `div`"
901
- },
902
902
  "van-collapse/v-model": {
903
903
  "type": "accordion mode: _number | string_<br>non-accordion mode:_(number \\",
904
904
  "description": "Names of current active panels, Default: string)[]_",
@@ -998,6 +998,22 @@
998
998
  "type": "string",
999
999
  "description": "Add card text, Default: `Add contact info`"
1000
1000
  },
1001
+ "van-contact-list/v-model": {
1002
+ "type": "number | string",
1003
+ "description": "Id of chosen contact, Default: -"
1004
+ },
1005
+ "van-contact-list/list": {
1006
+ "type": "Contact[]",
1007
+ "description": "Contact list, Default: `[]`"
1008
+ },
1009
+ "van-contact-list/add-text": {
1010
+ "type": "string",
1011
+ "description": "Add button text, Default: `Add new contact`"
1012
+ },
1013
+ "van-contact-list/default-tag-text": {
1014
+ "type": "string",
1015
+ "description": "Default tag text, Default: -"
1016
+ },
1001
1017
  "van-contact-edit/contact-info": {
1002
1018
  "type": "Contact",
1003
1019
  "description": "Contact Info, Default: `[]`"
@@ -1026,22 +1042,6 @@
1026
1042
  "type": "string",
1027
1043
  "description": "default contact switch label, Default: -"
1028
1044
  },
1029
- "van-contact-list/v-model": {
1030
- "type": "number | string",
1031
- "description": "Id of chosen contact, Default: -"
1032
- },
1033
- "van-contact-list/list": {
1034
- "type": "Contact[]",
1035
- "description": "Contact list, Default: `[]`"
1036
- },
1037
- "van-contact-list/add-text": {
1038
- "type": "string",
1039
- "description": "Add button text, Default: `Add new contact`"
1040
- },
1041
- "van-contact-list/default-tag-text": {
1042
- "type": "string",
1043
- "description": "Default tag text, Default: -"
1044
- },
1045
1045
  "van-count-down/time": {
1046
1046
  "type": "number | string",
1047
1047
  "description": "Total time, unit milliseconds, Default: `0`"
@@ -1118,109 +1118,33 @@
1118
1118
  "type": "boolean",
1119
1119
  "description": "Whether to disable exchange button, Default: `false`"
1120
1120
  },
1121
- "van-coupon-list/exchange-min-length": {
1122
- "type": "number",
1123
- "description": "Min length to enable exchange button, Default: `1`"
1124
- },
1125
- "van-coupon-list/displayed-coupon-index": {
1126
- "type": "number",
1127
- "description": "Index of displayed coupon, Default: -"
1128
- },
1129
- "van-coupon-list/close-button-text": {
1130
- "type": "string",
1131
- "description": "Close button text, Default: `Close`"
1132
- },
1133
- "van-coupon-list/input-placeholder": {
1134
- "type": "string",
1135
- "description": "Input placeholder, Default: `Coupon code`"
1136
- },
1137
- "van-coupon-list/currency": {
1138
- "type": "string",
1139
- "description": "Currency symbol, Default: `¥`"
1140
- },
1141
- "van-coupon-list/empty-image": {
1142
- "type": "string",
1143
- "description": "Placeholder image when list is empty, Default: `https://img.yzcdn.cn/vant/coupon-empty.png`"
1144
- },
1145
- "van-coupon-list/show-count": {
1146
- "type": "boolean",
1147
- "description": "Whether to show coupon count in tab title, Default: `true`"
1148
- },
1149
- "van-datetime-picker/type": {
1150
- "type": "string",
1151
- "description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`, Default: `datetime`"
1152
- },
1153
- "van-datetime-picker/title": {
1154
- "type": "string",
1155
- "description": "Toolbar title, Default: `''`"
1156
- },
1157
- "van-datetime-picker/confirm-button-text": {
1158
- "type": "string",
1159
- "description": "Text of confirm button, Default: `Confirm`"
1160
- },
1161
- "van-datetime-picker/cancel-button-text": {
1162
- "type": "string",
1163
- "description": "Text of cancel button, Default: `Cancel`"
1164
- },
1165
- "van-datetime-picker/show-toolbar": {
1166
- "type": "boolean",
1167
- "description": "Whether to show toolbar, Default: `true`"
1168
- },
1169
- "van-datetime-picker/loading": {
1170
- "type": "boolean",
1171
- "description": "Whether to show loading prompt, Default: `false`"
1172
- },
1173
- "van-datetime-picker/readonly": {
1174
- "type": "boolean",
1175
- "description": "Whether to be readonly, Default: `false`"
1176
- },
1177
- "van-datetime-picker/filter": {
1178
- "type": "(type: string, values: string[]) => string[]",
1179
- "description": "Option filter, Default: -"
1180
- },
1181
- "van-datetime-picker/formatter": {
1182
- "type": "(type: string, value: string) => string",
1183
- "description": "Option text formatter, Default: -"
1184
- },
1185
- "van-datetime-picker/columns-order": {
1186
- "type": "string[]",
1187
- "description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`, Default: -"
1188
- },
1189
- "van-datetime-picker/item-height": {
1190
- "type": "number | string",
1191
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
1192
- },
1193
- "van-datetime-picker/visible-item-count": {
1194
- "type": "number | string",
1195
- "description": "Count of visible columns, Default: `6`"
1196
- },
1197
- "van-datetime-picker/swipe-duration": {
1198
- "type": "number | string",
1199
- "description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
1121
+ "van-coupon-list/exchange-min-length": {
1122
+ "type": "number",
1123
+ "description": "Min length to enable exchange button, Default: `1`"
1200
1124
  },
1201
- "van-date-picker/min-date": {
1202
- "type": "Date",
1203
- "description": "Min date, Default: Ten years ago on January 1"
1125
+ "van-coupon-list/displayed-coupon-index": {
1126
+ "type": "number",
1127
+ "description": "Index of displayed coupon, Default: -"
1204
1128
  },
1205
- "van-date-picker/max-date": {
1206
- "type": "Date",
1207
- "description": "Max date, Default: Ten years later on December 31"
1129
+ "van-coupon-list/close-button-text": {
1130
+ "type": "string",
1131
+ "description": "Close button text, Default: `Close`"
1208
1132
  },
1209
- "van-time-picker/min-hour": {
1210
- "type": "number | string",
1211
- "description": "Min hour for `time` type, Default: `0`"
1133
+ "van-coupon-list/input-placeholder": {
1134
+ "type": "string",
1135
+ "description": "Input placeholder, Default: `Coupon code`"
1212
1136
  },
1213
- "van-time-picker/max-hour": {
1214
- "type": "number | string",
1215
- "description": "Max hour for `time` type, Default: `23`"
1137
+ "van-coupon-list/currency": {
1138
+ "type": "string",
1139
+ "description": "Currency symbol, Default: `¥`"
1216
1140
  },
1217
- "van-time-picker/min-minute": {
1218
- "type": "number | string",
1219
- "description": "Max minute for `time` type, Default: `0`"
1141
+ "van-coupon-list/empty-image": {
1142
+ "type": "string",
1143
+ "description": "Placeholder image when list is empty, Default: -"
1220
1144
  },
1221
- "van-time-picker/max-minute": {
1222
- "type": "number | string",
1223
- "description": "Max minute for `time` type, Default: `59`"
1145
+ "van-coupon-list/show-count": {
1146
+ "type": "boolean",
1147
+ "description": "Whether to show coupon count in tab title, Default: `true`"
1224
1148
  },
1225
1149
  "van-dialog/v-model:show": {
1226
1150
  "type": "boolean",
@@ -1314,77 +1238,6 @@
1314
1238
  "type": "string | Element",
1315
1239
  "description": "Specifies a target element where Dialog will be mounted, Default: -"
1316
1240
  },
1317
- "van-divider/dashed": {
1318
- "type": "boolean",
1319
- "description": "Whether to use dashed border, Default: `false`"
1320
- },
1321
- "van-divider/hairline": {
1322
- "type": "boolean",
1323
- "description": "Whether to use hairline, Default: `true`"
1324
- },
1325
- "van-divider/content-position": {
1326
- "type": "string",
1327
- "description": "Content position,can be set to `left` `right`, Default: `center`"
1328
- },
1329
- "van-dropdown-menu/active-color": {
1330
- "type": "string",
1331
- "description": "Active color of title and option, Default: `#ee0a24`"
1332
- },
1333
- "van-dropdown-menu/direction": {
1334
- "type": "string",
1335
- "description": "Expand direction, can be set to `up`, Default: `down`"
1336
- },
1337
- "van-dropdown-menu/z-index": {
1338
- "type": "number | string",
1339
- "description": "z-index of menu item, Default: `10`"
1340
- },
1341
- "van-dropdown-menu/duration": {
1342
- "type": "number | string",
1343
- "description": "Transition duration, unit second, Default: `0.2`"
1344
- },
1345
- "van-dropdown-menu/overlay": {
1346
- "type": "boolean",
1347
- "description": "Whether to show overlay, Default: `true`"
1348
- },
1349
- "van-dropdown-menu/close-on-click-overlay": {
1350
- "type": "boolean",
1351
- "description": "Whether to close when overlay is clicked, Default: `true`"
1352
- },
1353
- "van-dropdown-menu/close-on-click-outside": {
1354
- "type": "boolean",
1355
- "description": "Whether to close when outside is clicked, Default: `true`"
1356
- },
1357
- "van-dropdown-item/v-model": {
1358
- "type": "number | string",
1359
- "description": "Value of current option, Default: -"
1360
- },
1361
- "van-dropdown-item/title": {
1362
- "type": "string",
1363
- "description": "Item title, Default: Text of selected option"
1364
- },
1365
- "van-dropdown-item/options": {
1366
- "type": "Option[]",
1367
- "description": "Options, Default: `[]`"
1368
- },
1369
- "van-dropdown-item/disabled": {
1370
- "type": "boolean",
1371
- "description": "Whether to disable dropdown item, Default: `false`"
1372
- },
1373
- "van-dropdown-item/lazy-render": {
1374
- "type": "boolean",
1375
- "description": "Whether to lazy render util opened, Default: `true`"
1376
- },
1377
- "van-dropdown-item/title-class": {
1378
- "type": "string | Array \\",
1379
- "description": "Title class, Default: object_",
1380
- "options": [
1381
- "-"
1382
- ]
1383
- },
1384
- "van-dropdown-item/teleport": {
1385
- "type": "string | Element",
1386
- "description": "Specifies a target element where DropdownItem will be mounted, Default: -"
1387
- },
1388
1241
  "van-empty/image": {
1389
1242
  "type": "string",
1390
1243
  "description": "Image type,can be set to `error` `network` `search` or image URL, Default: `default`"
@@ -1524,29 +1377,176 @@
1524
1377
  "type": "FieldTextAlign",
1525
1378
  "description": "Input align, can be set to `center` `right`, Default: `left`"
1526
1379
  },
1527
- "van-field/autosize": {
1528
- "type": "boolean | FieldAutosizeConfig",
1529
- "description": "Textarea auto resize,can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
1380
+ "van-field/autosize": {
1381
+ "type": "boolean | FieldAutosizeConfig",
1382
+ "description": "Textarea auto resize,can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
1383
+ },
1384
+ "van-field/left-icon": {
1385
+ "type": "string",
1386
+ "description": "Left side icon name, Default: -"
1387
+ },
1388
+ "van-field/right-icon": {
1389
+ "type": "string",
1390
+ "description": "Right side icon name, Default: -"
1391
+ },
1392
+ "van-field/icon-prefix": {
1393
+ "type": "string",
1394
+ "description": "Icon className prefix, Default: `van-icon`"
1395
+ },
1396
+ "van-field/rules": {
1397
+ "type": "FieldRule[]",
1398
+ "description": "Form validation rules, Default: -"
1399
+ },
1400
+ "van-field/autocomplete": {
1401
+ "type": "string",
1402
+ "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
1403
+ },
1404
+ "van-dropdown-menu/active-color": {
1405
+ "type": "string",
1406
+ "description": "Active color of title and option, Default: `#ee0a24`"
1407
+ },
1408
+ "van-dropdown-menu/direction": {
1409
+ "type": "string",
1410
+ "description": "Expand direction, can be set to `up`, Default: `down`"
1411
+ },
1412
+ "van-dropdown-menu/z-index": {
1413
+ "type": "number | string",
1414
+ "description": "z-index of menu item, Default: `10`"
1415
+ },
1416
+ "van-dropdown-menu/duration": {
1417
+ "type": "number | string",
1418
+ "description": "Transition duration, unit second, Default: `0.2`"
1419
+ },
1420
+ "van-dropdown-menu/overlay": {
1421
+ "type": "boolean",
1422
+ "description": "Whether to show overlay, Default: `true`"
1423
+ },
1424
+ "van-dropdown-menu/close-on-click-overlay": {
1425
+ "type": "boolean",
1426
+ "description": "Whether to close when overlay is clicked, Default: `true`"
1427
+ },
1428
+ "van-dropdown-menu/close-on-click-outside": {
1429
+ "type": "boolean",
1430
+ "description": "Whether to close when outside is clicked, Default: `true`"
1431
+ },
1432
+ "van-dropdown-item/v-model": {
1433
+ "type": "number | string",
1434
+ "description": "Value of current option, Default: -"
1435
+ },
1436
+ "van-dropdown-item/title": {
1437
+ "type": "string",
1438
+ "description": "Item title, Default: Text of selected option"
1439
+ },
1440
+ "van-dropdown-item/options": {
1441
+ "type": "Option[]",
1442
+ "description": "Options, Default: `[]`"
1443
+ },
1444
+ "van-dropdown-item/disabled": {
1445
+ "type": "boolean",
1446
+ "description": "Whether to disable dropdown item, Default: `false`"
1447
+ },
1448
+ "van-dropdown-item/lazy-render": {
1449
+ "type": "boolean",
1450
+ "description": "Whether to lazy render util opened, Default: `true`"
1451
+ },
1452
+ "van-dropdown-item/title-class": {
1453
+ "type": "string | Array \\",
1454
+ "description": "Title class, Default: object_",
1455
+ "options": [
1456
+ "-"
1457
+ ]
1458
+ },
1459
+ "van-dropdown-item/teleport": {
1460
+ "type": "string | Element",
1461
+ "description": "Specifies a target element where DropdownItem will be mounted, Default: -"
1462
+ },
1463
+ "van-datetime-picker/type": {
1464
+ "type": "string",
1465
+ "description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`, Default: `datetime`"
1466
+ },
1467
+ "van-datetime-picker/title": {
1468
+ "type": "string",
1469
+ "description": "Toolbar title, Default: `''`"
1470
+ },
1471
+ "van-datetime-picker/confirm-button-text": {
1472
+ "type": "string",
1473
+ "description": "Text of confirm button, Default: `Confirm`"
1474
+ },
1475
+ "van-datetime-picker/cancel-button-text": {
1476
+ "type": "string",
1477
+ "description": "Text of cancel button, Default: `Cancel`"
1478
+ },
1479
+ "van-datetime-picker/show-toolbar": {
1480
+ "type": "boolean",
1481
+ "description": "Whether to show toolbar, Default: `true`"
1482
+ },
1483
+ "van-datetime-picker/loading": {
1484
+ "type": "boolean",
1485
+ "description": "Whether to show loading prompt, Default: `false`"
1486
+ },
1487
+ "van-datetime-picker/readonly": {
1488
+ "type": "boolean",
1489
+ "description": "Whether to be readonly, Default: `false`"
1490
+ },
1491
+ "van-datetime-picker/filter": {
1492
+ "type": "(type: string, values: string[]) => string[]",
1493
+ "description": "Option filter, Default: -"
1494
+ },
1495
+ "van-datetime-picker/formatter": {
1496
+ "type": "(type: string, value: string) => string",
1497
+ "description": "Option text formatter, Default: -"
1498
+ },
1499
+ "van-datetime-picker/columns-order": {
1500
+ "type": "string[]",
1501
+ "description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`, Default: -"
1502
+ },
1503
+ "van-datetime-picker/item-height": {
1504
+ "type": "number | string",
1505
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
1506
+ },
1507
+ "van-datetime-picker/visible-item-count": {
1508
+ "type": "number | string",
1509
+ "description": "Count of visible columns, Default: `6`"
1510
+ },
1511
+ "van-datetime-picker/swipe-duration": {
1512
+ "type": "number | string",
1513
+ "description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
1514
+ },
1515
+ "van-date-picker/min-date": {
1516
+ "type": "Date",
1517
+ "description": "Min date, Default: Ten years ago on January 1"
1518
+ },
1519
+ "van-date-picker/max-date": {
1520
+ "type": "Date",
1521
+ "description": "Max date, Default: Ten years later on December 31"
1522
+ },
1523
+ "van-time-picker/min-hour": {
1524
+ "type": "number | string",
1525
+ "description": "Min hour for `time` type, Default: `0`"
1526
+ },
1527
+ "van-time-picker/max-hour": {
1528
+ "type": "number | string",
1529
+ "description": "Max hour for `time` type, Default: `23`"
1530
1530
  },
1531
- "van-field/left-icon": {
1532
- "type": "string",
1533
- "description": "Left side icon name, Default: -"
1531
+ "van-time-picker/min-minute": {
1532
+ "type": "number | string",
1533
+ "description": "Max minute for `time` type, Default: `0`"
1534
1534
  },
1535
- "van-field/right-icon": {
1536
- "type": "string",
1537
- "description": "Right side icon name, Default: -"
1535
+ "van-time-picker/max-minute": {
1536
+ "type": "number | string",
1537
+ "description": "Max minute for `time` type, Default: `59`"
1538
1538
  },
1539
- "van-field/icon-prefix": {
1540
- "type": "string",
1541
- "description": "Icon className prefix, Default: `van-icon`"
1539
+ "van-divider/dashed": {
1540
+ "type": "boolean",
1541
+ "description": "Whether to use dashed border, Default: `false`"
1542
1542
  },
1543
- "van-field/rules": {
1544
- "type": "FieldRule[]",
1545
- "description": "Form validation rules, Default: -"
1543
+ "van-divider/hairline": {
1544
+ "type": "boolean",
1545
+ "description": "Whether to use hairline, Default: `true`"
1546
1546
  },
1547
- "van-field/autocomplete": {
1547
+ "van-divider/content-position": {
1548
1548
  "type": "string",
1549
- "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
1549
+ "description": "Content position,can be set to `left` `right`, Default: `center`"
1550
1550
  },
1551
1551
  "van-form/label-width": {
1552
1552
  "type": "number | string",
@@ -1632,6 +1632,10 @@
1632
1632
  "type": "string",
1633
1633
  "description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
1634
1634
  },
1635
+ "van-grid/reverse": {
1636
+ "type": "boolean",
1637
+ "description": "Whether to reverse the position of icon and text, Default: `false`"
1638
+ },
1635
1639
  "van-grid-item/text": {
1636
1640
  "type": "string",
1637
1641
  "description": "Text, Default: -"
@@ -1648,10 +1652,6 @@
1648
1652
  "type": "string",
1649
1653
  "description": "Icon color, Default: -"
1650
1654
  },
1651
- "van-grid-item/reverse": {
1652
- "type": "boolean",
1653
- "description": "Whether to reverse the position of icon and text, Default: `false`"
1654
- },
1655
1655
  "van-grid-item/dot": {
1656
1656
  "type": "boolean",
1657
1657
  "description": "Whether to show red dot, Default: `false`"
@@ -1676,38 +1676,6 @@
1676
1676
  "type": "boolean",
1677
1677
  "description": "If true, the navigation will not leave a history record, Default: `false`"
1678
1678
  },
1679
- "van-icon/name": {
1680
- "type": "string",
1681
- "description": "Icon name or URL, Default: `''`"
1682
- },
1683
- "van-icon/dot": {
1684
- "type": "boolean",
1685
- "description": "Whether to show red dot, Default: `false`"
1686
- },
1687
- "van-icon/badge": {
1688
- "type": "number | string",
1689
- "description": "Content of the badge, Default: `''`"
1690
- },
1691
- "van-icon/badge-props": {
1692
- "type": "BadgeProps",
1693
- "description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
1694
- },
1695
- "van-icon/color": {
1696
- "type": "string",
1697
- "description": "Icon color, Default: `inherit`"
1698
- },
1699
- "van-icon/size": {
1700
- "type": "number | string",
1701
- "description": "Icon size, Default: `inherit`"
1702
- },
1703
- "van-icon/class-prefix": {
1704
- "type": "string",
1705
- "description": "ClassName prefix, Default: `van-icon`"
1706
- },
1707
- "van-icon/tag": {
1708
- "type": "string",
1709
- "description": "HTML Tag of root element, Default: `i`"
1710
- },
1711
1679
  "van-image/src": {
1712
1680
  "type": "string",
1713
1681
  "description": "Src, Default: -"
@@ -1768,6 +1736,38 @@
1768
1736
  "type": "string",
1769
1737
  "description": "Icon className prefix, Default: `van-icon`"
1770
1738
  },
1739
+ "van-icon/name": {
1740
+ "type": "string",
1741
+ "description": "Icon name or URL, Default: `''`"
1742
+ },
1743
+ "van-icon/dot": {
1744
+ "type": "boolean",
1745
+ "description": "Whether to show red dot, Default: `false`"
1746
+ },
1747
+ "van-icon/badge": {
1748
+ "type": "number | string",
1749
+ "description": "Content of the badge, Default: `''`"
1750
+ },
1751
+ "van-icon/badge-props": {
1752
+ "type": "BadgeProps",
1753
+ "description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
1754
+ },
1755
+ "van-icon/color": {
1756
+ "type": "string",
1757
+ "description": "Icon color, Default: `inherit`"
1758
+ },
1759
+ "van-icon/size": {
1760
+ "type": "number | string",
1761
+ "description": "Icon size, Default: `inherit`"
1762
+ },
1763
+ "van-icon/class-prefix": {
1764
+ "type": "string",
1765
+ "description": "ClassName prefix, Default: `van-icon`"
1766
+ },
1767
+ "van-icon/tag": {
1768
+ "type": "string",
1769
+ "description": "HTML Tag of root element, Default: `i`"
1770
+ },
1771
1771
  "van-image-preview/v-model:show": {
1772
1772
  "type": "boolean",
1773
1773
  "description": "Whether to show ImagePreview, Default: `false`"
@@ -1878,6 +1878,30 @@
1878
1878
  "type": "number | string",
1879
1879
  "description": "Index, Default: -"
1880
1880
  },
1881
+ "van-loading/color": {
1882
+ "type": "string",
1883
+ "description": "Loading color, Default: `#c9c9c9`"
1884
+ },
1885
+ "van-loading/type": {
1886
+ "type": "string",
1887
+ "description": "Can be set to `spinner`, Default: `circular`"
1888
+ },
1889
+ "van-loading/size": {
1890
+ "type": "number | string",
1891
+ "description": "Icon size, Default: `30px`"
1892
+ },
1893
+ "van-loading/text-size": {
1894
+ "type": "number | string",
1895
+ "description": "Text font size, Default: `14px`"
1896
+ },
1897
+ "van-loading/text-color": {
1898
+ "type": "string",
1899
+ "description": "Text color, Default: `#c9c9c9`"
1900
+ },
1901
+ "van-loading/vertical": {
1902
+ "type": "boolean",
1903
+ "description": "Whether to arrange icons and text content vertically, Default: `false`"
1904
+ },
1881
1905
  "van-list/v-model:loading": {
1882
1906
  "type": "boolean",
1883
1907
  "description": "Whether to show loading info,the `load` event will not be Emitted when loading, Default: `false`"
@@ -1914,30 +1938,6 @@
1914
1938
  "type": "string",
1915
1939
  "description": "Scroll direction,can be set to `up`, Default: `down`"
1916
1940
  },
1917
- "van-loading/color": {
1918
- "type": "string",
1919
- "description": "Loading color, Default: `#c9c9c9`"
1920
- },
1921
- "van-loading/type": {
1922
- "type": "string",
1923
- "description": "Can be set to `spinner`, Default: `circular`"
1924
- },
1925
- "van-loading/size": {
1926
- "type": "number | string",
1927
- "description": "Icon size, Default: `30px`"
1928
- },
1929
- "van-loading/text-size": {
1930
- "type": "number | string",
1931
- "description": "Text font size, Default: `14px`"
1932
- },
1933
- "van-loading/text-color": {
1934
- "type": "string",
1935
- "description": "Text color, Default: `#c9c9c9`"
1936
- },
1937
- "van-loading/vertical": {
1938
- "type": "boolean",
1939
- "description": "Whether to arrange icons and text content vertically, Default: `false`"
1940
- },
1941
1941
  "van-nav-bar/title": {
1942
1942
  "type": "string",
1943
1943
  "description": "Title, Default: `''`"
@@ -2010,73 +2010,41 @@
2010
2010
  "type": "boolean",
2011
2011
  "description": "Whether to enable text wrap, Default: `false`"
2012
2012
  },
2013
- "van-number-keyboard/v-model": {
2014
- "type": "string",
2015
- "description": "Current value, Default: -"
2013
+ "van-pagination/v-model": {
2014
+ "type": "number",
2015
+ "description": "Current page number, Default: -"
2016
2016
  },
2017
- "van-number-keyboard/show": {
2018
- "type": "boolean",
2019
- "description": "Whether to show keyboard, Default: -"
2017
+ "van-pagination/mode": {
2018
+ "type": "string",
2019
+ "description": "Mode, can be set to `simple` `multi`, Default: `multi`"
2020
2020
  },
2021
- "van-number-keyboard/title": {
2021
+ "van-pagination/prev-text": {
2022
2022
  "type": "string",
2023
- "description": "Keyboard title, Default: -"
2023
+ "description": "Previous text, Default: `Previous`"
2024
2024
  },
2025
- "van-number-keyboard/theme": {
2025
+ "van-pagination/next-text": {
2026
2026
  "type": "string",
2027
- "description": "Keyboard theme,can be set to `custom`, Default: `default`"
2027
+ "description": "Next text, Default: `Next`"
2028
2028
  },
2029
- "van-number-keyboard/maxlength": {
2029
+ "van-pagination/total-items": {
2030
2030
  "type": "number | string",
2031
- "description": "Value maxlength, Default: `Infinity`"
2032
- },
2033
- "van-number-keyboard/transition": {
2034
- "type": "boolean",
2035
- "description": "Whether to show transition animation, Default: `true`"
2031
+ "description": "Total items, Default: `0`"
2036
2032
  },
2037
- "van-number-keyboard/z-index": {
2033
+ "van-pagination/items-per-page": {
2038
2034
  "type": "number | string",
2039
- "description": "Keyboard z-index, Default: `100`"
2040
- },
2041
- "van-number-keyboard/extra-key": {
2042
- "type": "string | string[]",
2043
- "description": "Content of bottom left key, Default: `''`"
2044
- },
2045
- "van-number-keyboard/close-button-text": {
2046
- "type": "string",
2047
- "description": "Close button text, Default: -"
2048
- },
2049
- "van-number-keyboard/delete-button-text": {
2050
- "type": "string",
2051
- "description": "Delete button text, Default: Delete Icon"
2052
- },
2053
- "van-number-keyboard/close-button-loading": {
2054
- "type": "boolean",
2055
- "description": "Whether to show loading close button in custom theme, Default: `false`"
2056
- },
2057
- "van-number-keyboard/show-delete-key": {
2058
- "type": "boolean",
2059
- "description": "Whether to show delete button, Default: `true`"
2060
- },
2061
- "van-number-keyboard/blur-on-close": {
2062
- "type": "boolean",
2063
- "description": "Whether to emit blur event when clicking close button, Default: `true`"
2064
- },
2065
- "van-number-keyboard/hide-on-click-outside": {
2066
- "type": "boolean",
2067
- "description": "Whether to hide keyboard when outside is clicked, Default: `true`"
2035
+ "description": "Item number per page, Default: `10`"
2068
2036
  },
2069
- "van-number-keyboard/teleport": {
2070
- "type": "string | Element",
2071
- "description": "Specifies a target element where NumberKeyboard will be mounted, Default: -"
2037
+ "van-pagination/page-count": {
2038
+ "type": "number | string",
2039
+ "description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
2072
2040
  },
2073
- "van-number-keyboard/safe-area-inset-bottom": {
2074
- "type": "boolean",
2075
- "description": "Whether to enable bottom safe area adaptation, Default: `true`"
2041
+ "van-pagination/show-page-size": {
2042
+ "type": "number | string",
2043
+ "description": "Count of page size to show, Default: `5`"
2076
2044
  },
2077
- "van-number-keyboard/random-key-order": {
2045
+ "van-pagination/force-ellipses": {
2078
2046
  "type": "boolean",
2079
- "description": "Whether to shuffle the order of keys, Default: `false`"
2047
+ "description": "Whether to show ellipses, Default: `false`"
2080
2048
  },
2081
2049
  "van-overlay/show": {
2082
2050
  "type": "boolean",
@@ -2106,41 +2074,73 @@
2106
2074
  "type": "boolean",
2107
2075
  "description": "Whether to lazy render util appeared, Default: `true`"
2108
2076
  },
2109
- "van-pagination/v-model": {
2110
- "type": "number",
2111
- "description": "Current page number, Default: -"
2077
+ "van-number-keyboard/v-model": {
2078
+ "type": "string",
2079
+ "description": "Current value, Default: -"
2080
+ },
2081
+ "van-number-keyboard/show": {
2082
+ "type": "boolean",
2083
+ "description": "Whether to show keyboard, Default: -"
2084
+ },
2085
+ "van-number-keyboard/title": {
2086
+ "type": "string",
2087
+ "description": "Keyboard title, Default: -"
2088
+ },
2089
+ "van-number-keyboard/theme": {
2090
+ "type": "string",
2091
+ "description": "Keyboard theme,can be set to `custom`, Default: `default`"
2092
+ },
2093
+ "van-number-keyboard/maxlength": {
2094
+ "type": "number | string",
2095
+ "description": "Value maxlength, Default: `Infinity`"
2096
+ },
2097
+ "van-number-keyboard/transition": {
2098
+ "type": "boolean",
2099
+ "description": "Whether to show transition animation, Default: `true`"
2100
+ },
2101
+ "van-number-keyboard/z-index": {
2102
+ "type": "number | string",
2103
+ "description": "Keyboard z-index, Default: `100`"
2104
+ },
2105
+ "van-number-keyboard/extra-key": {
2106
+ "type": "string | string[]",
2107
+ "description": "Content of bottom left key, Default: `''`"
2112
2108
  },
2113
- "van-pagination/mode": {
2109
+ "van-number-keyboard/close-button-text": {
2114
2110
  "type": "string",
2115
- "description": "Mode, can be set to `simple` `multi`, Default: `multi`"
2111
+ "description": "Close button text, Default: -"
2116
2112
  },
2117
- "van-pagination/prev-text": {
2113
+ "van-number-keyboard/delete-button-text": {
2118
2114
  "type": "string",
2119
- "description": "Previous text, Default: `Previous`"
2115
+ "description": "Delete button text, Default: Delete Icon"
2120
2116
  },
2121
- "van-pagination/next-text": {
2122
- "type": "string",
2123
- "description": "Next text, Default: `Next`"
2117
+ "van-number-keyboard/close-button-loading": {
2118
+ "type": "boolean",
2119
+ "description": "Whether to show loading close button in custom theme, Default: `false`"
2124
2120
  },
2125
- "van-pagination/total-items": {
2126
- "type": "number | string",
2127
- "description": "Total items, Default: `0`"
2121
+ "van-number-keyboard/show-delete-key": {
2122
+ "type": "boolean",
2123
+ "description": "Whether to show delete button, Default: `true`"
2128
2124
  },
2129
- "van-pagination/items-per-page": {
2130
- "type": "number | string",
2131
- "description": "Item number per page, Default: `10`"
2125
+ "van-number-keyboard/blur-on-close": {
2126
+ "type": "boolean",
2127
+ "description": "Whether to emit blur event when clicking close button, Default: `true`"
2132
2128
  },
2133
- "van-pagination/page-count": {
2134
- "type": "number | string",
2135
- "description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
2129
+ "van-number-keyboard/hide-on-click-outside": {
2130
+ "type": "boolean",
2131
+ "description": "Whether to hide keyboard when outside is clicked, Default: `true`"
2136
2132
  },
2137
- "van-pagination/show-page-size": {
2138
- "type": "number | string",
2139
- "description": "Count of page size to show, Default: `5`"
2133
+ "van-number-keyboard/teleport": {
2134
+ "type": "string | Element",
2135
+ "description": "Specifies a target element where NumberKeyboard will be mounted, Default: -"
2140
2136
  },
2141
- "van-pagination/force-ellipses": {
2137
+ "van-number-keyboard/safe-area-inset-bottom": {
2142
2138
  "type": "boolean",
2143
- "description": "Whether to show ellipses, Default: `false`"
2139
+ "description": "Whether to enable bottom safe area adaptation, Default: `true`"
2140
+ },
2141
+ "van-number-keyboard/random-key-order": {
2142
+ "type": "boolean",
2143
+ "description": "Whether to shuffle the order of keys, Default: `false`"
2144
2144
  },
2145
2145
  "van-password-input/value": {
2146
2146
  "type": "string",
@@ -2289,6 +2289,42 @@
2289
2289
  "type": "string",
2290
2290
  "description": "Icon className prefix, Default: `van-icon`"
2291
2291
  },
2292
+ "van-progress/percentage": {
2293
+ "type": "number | string",
2294
+ "description": "Percentage, Default: `0`"
2295
+ },
2296
+ "van-progress/stroke-width": {
2297
+ "type": "number | string",
2298
+ "description": "Stroke width, Default: `4px`"
2299
+ },
2300
+ "van-progress/color": {
2301
+ "type": "string",
2302
+ "description": "Color, Default: `#1989fa`"
2303
+ },
2304
+ "van-progress/track-color": {
2305
+ "type": "string",
2306
+ "description": "Track color, Default: `#e5e5e5`"
2307
+ },
2308
+ "van-progress/pivot-text": {
2309
+ "type": "string",
2310
+ "description": "Pivot text, Default: percentage"
2311
+ },
2312
+ "van-progress/pivot-color": {
2313
+ "type": "string",
2314
+ "description": "Pivot text background color, Default: inherit progress color"
2315
+ },
2316
+ "van-progress/text-color": {
2317
+ "type": "string",
2318
+ "description": "Pivot text color, Default: `white`"
2319
+ },
2320
+ "van-progress/inactive": {
2321
+ "type": "boolean",
2322
+ "description": "Whether to be gray, Default: `false`"
2323
+ },
2324
+ "van-progress/show-pivot": {
2325
+ "type": "boolean",
2326
+ "description": "Whether to show text, Default: `true`"
2327
+ },
2292
2328
  "van-popup/v-model:show": {
2293
2329
  "type": "boolean",
2294
2330
  "description": "Whether to show popup, Default: `false`"
@@ -2376,82 +2412,6 @@
2376
2412
  "type": "boolean",
2377
2413
  "description": "Whether to enable bottom safe area adaptation, Default: `false`"
2378
2414
  },
2379
- "van-progress/percentage": {
2380
- "type": "number | string",
2381
- "description": "Percentage, Default: `0`"
2382
- },
2383
- "van-progress/stroke-width": {
2384
- "type": "number | string",
2385
- "description": "Stroke width, Default: `4px`"
2386
- },
2387
- "van-progress/color": {
2388
- "type": "string",
2389
- "description": "Color, Default: `#1989fa`"
2390
- },
2391
- "van-progress/track-color": {
2392
- "type": "string",
2393
- "description": "Track color, Default: `#e5e5e5`"
2394
- },
2395
- "van-progress/pivot-text": {
2396
- "type": "string",
2397
- "description": "Pivot text, Default: percentage"
2398
- },
2399
- "van-progress/pivot-color": {
2400
- "type": "string",
2401
- "description": "Pivot text background color, Default: inherit progress color"
2402
- },
2403
- "van-progress/text-color": {
2404
- "type": "string",
2405
- "description": "Pivot text color, Default: `white`"
2406
- },
2407
- "van-progress/inactive": {
2408
- "type": "boolean",
2409
- "description": "Whether to be gray, Default: `false`"
2410
- },
2411
- "van-progress/show-pivot": {
2412
- "type": "boolean",
2413
- "description": "Whether to show text, Default: `true`"
2414
- },
2415
- "van-pull-refresh/v-model": {
2416
- "type": "boolean",
2417
- "description": "Loading status, Default: -"
2418
- },
2419
- "van-pull-refresh/pulling-text": {
2420
- "type": "string",
2421
- "description": "Text to show when pulling, Default: `Pull to refresh...`"
2422
- },
2423
- "van-pull-refresh/loosing-text": {
2424
- "type": "string",
2425
- "description": "Text to show when loosing, Default: `Loose to refresh...`"
2426
- },
2427
- "van-pull-refresh/loading-text": {
2428
- "type": "string",
2429
- "description": "Text to show when loading, Default: `Loading...`"
2430
- },
2431
- "van-pull-refresh/success-text": {
2432
- "type": "string",
2433
- "description": "Text to show when loading success, Default: -"
2434
- },
2435
- "van-pull-refresh/success-duration": {
2436
- "type": "number | string",
2437
- "description": "Success text display duration(ms), Default: `500`"
2438
- },
2439
- "van-pull-refresh/animation-duration": {
2440
- "type": "number | string",
2441
- "description": "Animation duration, Default: `300`"
2442
- },
2443
- "van-pull-refresh/head-height": {
2444
- "type": "number | string",
2445
- "description": "Height of head, Default: `50`"
2446
- },
2447
- "van-pull-refresh/pull-distance": {
2448
- "type": "number | string",
2449
- "description": "The distance to trigger the pull refresh, Default: same as `head-height`"
2450
- },
2451
- "van-pull-refresh/disabled": {
2452
- "type": "boolean",
2453
- "description": "Whether to disable pull refresh, Default: `false`"
2454
- },
2455
2415
  "van-radio/name": {
2456
2416
  "type": "any",
2457
2417
  "description": "Radio name, Default: -"
@@ -2556,6 +2516,46 @@
2556
2516
  "type": "boolean",
2557
2517
  "description": "Whether to allow select rate by touch gesture, Default: `true`"
2558
2518
  },
2519
+ "van-pull-refresh/v-model": {
2520
+ "type": "boolean",
2521
+ "description": "Loading status, Default: -"
2522
+ },
2523
+ "van-pull-refresh/pulling-text": {
2524
+ "type": "string",
2525
+ "description": "Text to show when pulling, Default: `Pull to refresh...`"
2526
+ },
2527
+ "van-pull-refresh/loosing-text": {
2528
+ "type": "string",
2529
+ "description": "Text to show when loosing, Default: `Loose to refresh...`"
2530
+ },
2531
+ "van-pull-refresh/loading-text": {
2532
+ "type": "string",
2533
+ "description": "Text to show when loading, Default: `Loading...`"
2534
+ },
2535
+ "van-pull-refresh/success-text": {
2536
+ "type": "string",
2537
+ "description": "Text to show when loading success, Default: -"
2538
+ },
2539
+ "van-pull-refresh/success-duration": {
2540
+ "type": "number | string",
2541
+ "description": "Success text display duration(ms), Default: `500`"
2542
+ },
2543
+ "van-pull-refresh/animation-duration": {
2544
+ "type": "number | string",
2545
+ "description": "Animation duration, Default: `300`"
2546
+ },
2547
+ "van-pull-refresh/head-height": {
2548
+ "type": "number | string",
2549
+ "description": "Height of head, Default: `50`"
2550
+ },
2551
+ "van-pull-refresh/pull-distance": {
2552
+ "type": "number | string",
2553
+ "description": "The distance to trigger the pull refresh, Default: same as `head-height`"
2554
+ },
2555
+ "van-pull-refresh/disabled": {
2556
+ "type": "boolean",
2557
+ "description": "Whether to disable pull refresh, Default: `false`"
2558
+ },
2559
2559
  "van-search/v-model": {
2560
2560
  "type": "number | string",
2561
2561
  "description": "Input value, Default: -"
@@ -3101,30 +3101,6 @@
3101
3101
  "type": "string",
3102
3102
  "description": "Indicator color, Default: `#1989fa`"
3103
3103
  },
3104
- "van-swipe-cell/name": {
3105
- "type": "number | string",
3106
- "description": "Identifier of SwipeCell, Default: -"
3107
- },
3108
- "van-swipe-cell/left-width": {
3109
- "type": "number | string",
3110
- "description": "Width of the left swipe area, Default: `auto`"
3111
- },
3112
- "van-swipe-cell/right-width": {
3113
- "type": "number | string",
3114
- "description": "Width of the right swipe area, Default: `auto`"
3115
- },
3116
- "van-swipe-cell/before-close": {
3117
- "type": "(args) => boolean | Promise\\<boolean\\>",
3118
- "description": "Callback function before close, Default: -"
3119
- },
3120
- "van-swipe-cell/disabled": {
3121
- "type": "boolean",
3122
- "description": "Whether to disabled swipe, Default: `false`"
3123
- },
3124
- "van-swipe-cell/stop-propagation": {
3125
- "type": "boolean",
3126
- "description": "Whether to stop touchmove event propagation, Default: `false`"
3127
- },
3128
3104
  "van-switch/v-model": {
3129
3105
  "type": "ActiveValue | InactiveValue",
3130
3106
  "description": "Check status of Switch, Default: `false`"
@@ -3157,6 +3133,30 @@
3157
3133
  "type": "any",
3158
3134
  "description": "Value when inactive, Default: `false`"
3159
3135
  },
3136
+ "van-swipe-cell/name": {
3137
+ "type": "number | string",
3138
+ "description": "Identifier of SwipeCell, Default: -"
3139
+ },
3140
+ "van-swipe-cell/left-width": {
3141
+ "type": "number | string",
3142
+ "description": "Width of the left swipe area, Default: `auto`"
3143
+ },
3144
+ "van-swipe-cell/right-width": {
3145
+ "type": "number | string",
3146
+ "description": "Width of the right swipe area, Default: `auto`"
3147
+ },
3148
+ "van-swipe-cell/before-close": {
3149
+ "type": "(args) => boolean | Promise\\<boolean\\>",
3150
+ "description": "Callback function before close, Default: -"
3151
+ },
3152
+ "van-swipe-cell/disabled": {
3153
+ "type": "boolean",
3154
+ "description": "Whether to disabled swipe, Default: `false`"
3155
+ },
3156
+ "van-swipe-cell/stop-propagation": {
3157
+ "type": "boolean",
3158
+ "description": "Whether to stop touchmove event propagation, Default: `false`"
3159
+ },
3160
3160
  "van-tabs/v-model:active": {
3161
3161
  "type": "number | string",
3162
3162
  "description": "Index of active tab, Default: `0`"
@@ -3445,8 +3445,11 @@
3445
3445
  "description": "Input name, Default: -"
3446
3446
  },
3447
3447
  "van-uploader/preview-size": {
3448
- "type": "number | string",
3449
- "description": "Size of preview image, Default: `80px`"
3448
+ "type": "number | string \\",
3449
+ "description": "Size of preview image, Default: Array_",
3450
+ "options": [
3451
+ "80px"
3452
+ ]
3450
3453
  },
3451
3454
  "van-uploader/preview-image": {
3452
3455
  "type": "boolean",