vant 3.5.0-beta.1 → 3.5.0
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.
- package/es/dialog/Dialog.d.ts +8 -0
- package/es/dialog/Dialog.mjs +6 -0
- package/es/dialog/function-call.d.ts +10 -0
- package/es/dialog/function-call.mjs +2 -0
- package/es/dialog/types.d.ts +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/picker/Picker.mjs +1 -1
- package/es/picker/PickerColumn.mjs +2 -0
- package/es/switch/Switch.mjs +2 -1
- package/lib/dialog/Dialog.d.ts +8 -0
- package/lib/dialog/Dialog.js +6 -0
- package/lib/dialog/function-call.d.ts +10 -0
- package/lib/dialog/function-call.js +2 -0
- package/lib/dialog/types.d.ts +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/picker/Picker.js +1 -1
- package/lib/picker/PickerColumn.js +2 -0
- package/lib/switch/Switch.js +2 -1
- package/lib/vant.cjs.js +14 -3
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +14 -3
- package/lib/vant.es.min.js +14 -3
- package/lib/vant.js +14 -3
- package/lib/vant.min.js +1 -1
- package/package.json +3 -3
- package/vetur/attributes.json +238 -230
- package/vetur/tags.json +81 -79
- package/vetur/web-types.json +977 -953
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vant",
|
3
|
-
"version": "3.5.0
|
3
|
+
"version": "3.5.0",
|
4
4
|
"description": "Mobile UI Components built on Vue",
|
5
5
|
"main": "lib/vant.cjs.js",
|
6
6
|
"module": "es/index.mjs",
|
@@ -46,8 +46,8 @@
|
|
46
46
|
],
|
47
47
|
"dependencies": {
|
48
48
|
"@vant/icons": "^1.8.0",
|
49
|
-
"@vant/popperjs": "^1.2.
|
50
|
-
"@vant/use": "^1.4.
|
49
|
+
"@vant/popperjs": "^1.2.1",
|
50
|
+
"@vant/use": "^1.4.1"
|
51
51
|
},
|
52
52
|
"peerDependencies": {
|
53
53
|
"vue": "^3.0.0"
|
package/vetur/attributes.json
CHANGED
@@ -171,33 +171,85 @@
|
|
171
171
|
"type": "(key, val) => string",
|
172
172
|
"description": "Custom validator, Default: -"
|
173
173
|
},
|
174
|
-
"van-
|
175
|
-
"type": "
|
176
|
-
"description": "
|
174
|
+
"van-action-sheet/v-model:show": {
|
175
|
+
"type": "boolean",
|
176
|
+
"description": "Whether to show ActionSheet, Default: `false`"
|
177
177
|
},
|
178
|
-
"van-
|
179
|
-
"type": "
|
180
|
-
"description": "
|
178
|
+
"van-action-sheet/actions": {
|
179
|
+
"type": "ActionSheetAction[]",
|
180
|
+
"description": "Options, Default: `[]`"
|
181
181
|
},
|
182
|
-
"van-
|
183
|
-
"type": "
|
184
|
-
"description": "
|
182
|
+
"van-action-sheet/title": {
|
183
|
+
"type": "string",
|
184
|
+
"description": "Title, Default: -"
|
185
185
|
},
|
186
|
-
"van-
|
186
|
+
"van-action-sheet/cancel-text": {
|
187
187
|
"type": "string",
|
188
|
-
"description": "
|
188
|
+
"description": "Text of cancel button, Default: -"
|
189
189
|
},
|
190
|
-
"van-
|
190
|
+
"van-action-sheet/description": {
|
191
|
+
"type": "string",
|
192
|
+
"description": "Description above the options, Default: -"
|
193
|
+
},
|
194
|
+
"van-action-sheet/closeable": {
|
191
195
|
"type": "boolean",
|
192
|
-
"description": "Whether to
|
196
|
+
"description": "Whether to show close icon, Default: `true`"
|
193
197
|
},
|
194
|
-
"van-
|
198
|
+
"van-action-sheet/close-icon": {
|
195
199
|
"type": "string",
|
196
|
-
"description": "
|
200
|
+
"description": "Close icon name, Default: `cross`"
|
197
201
|
},
|
198
|
-
"van-
|
199
|
-
"type": "string",
|
200
|
-
"description": "
|
202
|
+
"van-action-sheet/duration": {
|
203
|
+
"type": "number | string",
|
204
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
205
|
+
},
|
206
|
+
"van-action-sheet/round": {
|
207
|
+
"type": "boolean",
|
208
|
+
"description": "Whether to show round corner, Default: `true`"
|
209
|
+
},
|
210
|
+
"van-action-sheet/overlay": {
|
211
|
+
"type": "boolean",
|
212
|
+
"description": "Whether to show overlay, Default: `true`"
|
213
|
+
},
|
214
|
+
"van-action-sheet/overlay-class": {
|
215
|
+
"type": "string | Array | object",
|
216
|
+
"description": "Custom overlay class, Default: -"
|
217
|
+
},
|
218
|
+
"van-action-sheet/overlay-style": {
|
219
|
+
"type": "object",
|
220
|
+
"description": "Custom overlay style, Default: -"
|
221
|
+
},
|
222
|
+
"van-action-sheet/lock-scroll": {
|
223
|
+
"type": "boolean",
|
224
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
225
|
+
},
|
226
|
+
"van-action-sheet/lazy-render": {
|
227
|
+
"type": "boolean",
|
228
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
229
|
+
},
|
230
|
+
"van-action-sheet/close-on-popstate": {
|
231
|
+
"type": "boolean",
|
232
|
+
"description": "Whether to close when popstate, Default: `true`"
|
233
|
+
},
|
234
|
+
"van-action-sheet/close-on-click-action": {
|
235
|
+
"type": "boolean",
|
236
|
+
"description": "Whether to close when an action is clicked, Default: `false`"
|
237
|
+
},
|
238
|
+
"van-action-sheet/close-on-click-overlay": {
|
239
|
+
"type": "boolean",
|
240
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
241
|
+
},
|
242
|
+
"van-action-sheet/safe-area-inset-bottom": {
|
243
|
+
"type": "boolean",
|
244
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
245
|
+
},
|
246
|
+
"van-action-sheet/teleport": {
|
247
|
+
"type": "string | Element",
|
248
|
+
"description": "Specifies a target element where ActionSheet will be mounted, Default: -"
|
249
|
+
},
|
250
|
+
"van-action-sheet/before-close": {
|
251
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
252
|
+
"description": "Callback function before close, Default: -"
|
201
253
|
},
|
202
254
|
"van-area/value": {
|
203
255
|
"type": "string",
|
@@ -251,6 +303,34 @@
|
|
251
303
|
"type": "() => boolean",
|
252
304
|
"description": "The method to validate oversea code, Default: -"
|
253
305
|
},
|
306
|
+
"van-address-list/v-model": {
|
307
|
+
"type": "string",
|
308
|
+
"description": "Id of chosen address, Default: -"
|
309
|
+
},
|
310
|
+
"van-address-list/list": {
|
311
|
+
"type": "Address[]",
|
312
|
+
"description": "Address list, Default: `[]`"
|
313
|
+
},
|
314
|
+
"van-address-list/disabled-list": {
|
315
|
+
"type": "Address[]",
|
316
|
+
"description": "Disabled address list, Default: `[]`"
|
317
|
+
},
|
318
|
+
"van-address-list/disabled-text": {
|
319
|
+
"type": "string",
|
320
|
+
"description": "Disabled text, Default: -"
|
321
|
+
},
|
322
|
+
"van-address-list/switchable": {
|
323
|
+
"type": "boolean",
|
324
|
+
"description": "Whether to allow switch address, Default: `true`"
|
325
|
+
},
|
326
|
+
"van-address-list/add-button-text": {
|
327
|
+
"type": "string",
|
328
|
+
"description": "Add button text, Default: `Add new address`"
|
329
|
+
},
|
330
|
+
"van-address-list/default-tag-text": {
|
331
|
+
"type": "string",
|
332
|
+
"description": "Default tag text, Default: -"
|
333
|
+
},
|
254
334
|
"van-badge/content": {
|
255
335
|
"type": "number | string",
|
256
336
|
"description": "Badge content, Default: -"
|
@@ -363,86 +443,6 @@
|
|
363
443
|
"type": "boolean",
|
364
444
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
365
445
|
},
|
366
|
-
"van-action-sheet/v-model:show": {
|
367
|
-
"type": "boolean",
|
368
|
-
"description": "Whether to show ActionSheet, Default: `false`"
|
369
|
-
},
|
370
|
-
"van-action-sheet/actions": {
|
371
|
-
"type": "ActionSheetAction[]",
|
372
|
-
"description": "Options, Default: `[]`"
|
373
|
-
},
|
374
|
-
"van-action-sheet/title": {
|
375
|
-
"type": "string",
|
376
|
-
"description": "Title, Default: -"
|
377
|
-
},
|
378
|
-
"van-action-sheet/cancel-text": {
|
379
|
-
"type": "string",
|
380
|
-
"description": "Text of cancel button, Default: -"
|
381
|
-
},
|
382
|
-
"van-action-sheet/description": {
|
383
|
-
"type": "string",
|
384
|
-
"description": "Description above the options, Default: -"
|
385
|
-
},
|
386
|
-
"van-action-sheet/closeable": {
|
387
|
-
"type": "boolean",
|
388
|
-
"description": "Whether to show close icon, Default: `true`"
|
389
|
-
},
|
390
|
-
"van-action-sheet/close-icon": {
|
391
|
-
"type": "string",
|
392
|
-
"description": "Close icon name, Default: `cross`"
|
393
|
-
},
|
394
|
-
"van-action-sheet/duration": {
|
395
|
-
"type": "number | string",
|
396
|
-
"description": "Transition duration, unit second, Default: `0.3`"
|
397
|
-
},
|
398
|
-
"van-action-sheet/round": {
|
399
|
-
"type": "boolean",
|
400
|
-
"description": "Whether to show round corner, Default: `true`"
|
401
|
-
},
|
402
|
-
"van-action-sheet/overlay": {
|
403
|
-
"type": "boolean",
|
404
|
-
"description": "Whether to show overlay, Default: `true`"
|
405
|
-
},
|
406
|
-
"van-action-sheet/overlay-class": {
|
407
|
-
"type": "string | Array | object",
|
408
|
-
"description": "Custom overlay class, Default: -"
|
409
|
-
},
|
410
|
-
"van-action-sheet/overlay-style": {
|
411
|
-
"type": "object",
|
412
|
-
"description": "Custom overlay style, Default: -"
|
413
|
-
},
|
414
|
-
"van-action-sheet/lock-scroll": {
|
415
|
-
"type": "boolean",
|
416
|
-
"description": "Whether to lock background scroll, Default: `true`"
|
417
|
-
},
|
418
|
-
"van-action-sheet/lazy-render": {
|
419
|
-
"type": "boolean",
|
420
|
-
"description": "Whether to lazy render util appeared, Default: `true`"
|
421
|
-
},
|
422
|
-
"van-action-sheet/close-on-popstate": {
|
423
|
-
"type": "boolean",
|
424
|
-
"description": "Whether to close when popstate, Default: `true`"
|
425
|
-
},
|
426
|
-
"van-action-sheet/close-on-click-action": {
|
427
|
-
"type": "boolean",
|
428
|
-
"description": "Whether to close when an action is clicked, Default: `false`"
|
429
|
-
},
|
430
|
-
"van-action-sheet/close-on-click-overlay": {
|
431
|
-
"type": "boolean",
|
432
|
-
"description": "Whether to close when overlay is clicked, Default: `true`"
|
433
|
-
},
|
434
|
-
"van-action-sheet/safe-area-inset-bottom": {
|
435
|
-
"type": "boolean",
|
436
|
-
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
437
|
-
},
|
438
|
-
"van-action-sheet/teleport": {
|
439
|
-
"type": "string | Element",
|
440
|
-
"description": "Specifies a target element where ActionSheet will be mounted, Default: -"
|
441
|
-
},
|
442
|
-
"van-action-sheet/before-close": {
|
443
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
444
|
-
"description": "Callback function before close, Default: -"
|
445
|
-
},
|
446
446
|
"van-calendar/type": {
|
447
447
|
"type": "string",
|
448
448
|
"description": "Type, can be set to `range` `multiple`, Default: `single`"
|
@@ -1239,6 +1239,10 @@
|
|
1239
1239
|
"type": "string",
|
1240
1240
|
"description": "Cancel button color, Default: `black`"
|
1241
1241
|
},
|
1242
|
+
"van-dialog/cancel-button-disabled": {
|
1243
|
+
"type": "boolean",
|
1244
|
+
"description": "Whether to disable cancel button, Default: `false`"
|
1245
|
+
},
|
1242
1246
|
"van-dialog/confirm-button-text": {
|
1243
1247
|
"type": "string",
|
1244
1248
|
"description": "Confirm button text, Default: `Confirm`"
|
@@ -1247,6 +1251,10 @@
|
|
1247
1251
|
"type": "string",
|
1248
1252
|
"description": "Confirm button color, Default: `#ee0a24`"
|
1249
1253
|
},
|
1254
|
+
"van-dialog/confirm-button-disabled": {
|
1255
|
+
"type": "boolean",
|
1256
|
+
"description": "Whether to disable confirm button, Default: `false`"
|
1257
|
+
},
|
1250
1258
|
"van-dialog/overlay": {
|
1251
1259
|
"type": "boolean",
|
1252
1260
|
"description": "Whether to show overlay, Default: `true`"
|
@@ -1979,70 +1987,6 @@
|
|
1979
1987
|
"type": "boolean",
|
1980
1988
|
"description": "Whether to enable text wrap, Default: `false`"
|
1981
1989
|
},
|
1982
|
-
"van-overlay/show": {
|
1983
|
-
"type": "boolean",
|
1984
|
-
"description": "Whether to show overlay, Default: `false`"
|
1985
|
-
},
|
1986
|
-
"van-overlay/z-index": {
|
1987
|
-
"type": "number | string",
|
1988
|
-
"description": "z-index, Default: `1`"
|
1989
|
-
},
|
1990
|
-
"van-overlay/duration": {
|
1991
|
-
"type": "number | string",
|
1992
|
-
"description": "Animation duration, Default: `0.3`"
|
1993
|
-
},
|
1994
|
-
"van-overlay/class-name": {
|
1995
|
-
"type": "string",
|
1996
|
-
"description": "ClassName, Default: -"
|
1997
|
-
},
|
1998
|
-
"van-overlay/custom-class": {
|
1999
|
-
"type": "object",
|
2000
|
-
"description": "Custom style, Default: -"
|
2001
|
-
},
|
2002
|
-
"van-overlay/lock-scroll": {
|
2003
|
-
"type": "boolean",
|
2004
|
-
"description": "Whether to lock background scroll, Default: `true`"
|
2005
|
-
},
|
2006
|
-
"van-overlay/lazy-render": {
|
2007
|
-
"type": "boolean",
|
2008
|
-
"description": "Whether to lazy render util appeared, Default: `true`"
|
2009
|
-
},
|
2010
|
-
"van-pagination/v-model": {
|
2011
|
-
"type": "number",
|
2012
|
-
"description": "Current page number, Default: -"
|
2013
|
-
},
|
2014
|
-
"van-pagination/mode": {
|
2015
|
-
"type": "string",
|
2016
|
-
"description": "Mode, can be set to `simple` `multi`, Default: `multi`"
|
2017
|
-
},
|
2018
|
-
"van-pagination/prev-text": {
|
2019
|
-
"type": "string",
|
2020
|
-
"description": "Previous text, Default: `Previous`"
|
2021
|
-
},
|
2022
|
-
"van-pagination/next-text": {
|
2023
|
-
"type": "string",
|
2024
|
-
"description": "Next text, Default: `Next`"
|
2025
|
-
},
|
2026
|
-
"van-pagination/total-items": {
|
2027
|
-
"type": "number | string",
|
2028
|
-
"description": "Total items, Default: `0`"
|
2029
|
-
},
|
2030
|
-
"van-pagination/items-per-page": {
|
2031
|
-
"type": "number | string",
|
2032
|
-
"description": "Item number per page, Default: `10`"
|
2033
|
-
},
|
2034
|
-
"van-pagination/page-count": {
|
2035
|
-
"type": "number | string",
|
2036
|
-
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
|
2037
|
-
},
|
2038
|
-
"van-pagination/show-page-size": {
|
2039
|
-
"type": "number | string",
|
2040
|
-
"description": "Count of page size to show, Default: `5`"
|
2041
|
-
},
|
2042
|
-
"van-pagination/force-ellipses": {
|
2043
|
-
"type": "boolean",
|
2044
|
-
"description": "Whether to show ellipses, Default: `false`"
|
2045
|
-
},
|
2046
1990
|
"van-number-keyboard/v-model": {
|
2047
1991
|
"type": "string",
|
2048
1992
|
"description": "Current value, Default: -"
|
@@ -2111,6 +2055,70 @@
|
|
2111
2055
|
"type": "boolean",
|
2112
2056
|
"description": "Whether to shuffle the order of keys, Default: `false`"
|
2113
2057
|
},
|
2058
|
+
"van-pagination/v-model": {
|
2059
|
+
"type": "number",
|
2060
|
+
"description": "Current page number, Default: -"
|
2061
|
+
},
|
2062
|
+
"van-pagination/mode": {
|
2063
|
+
"type": "string",
|
2064
|
+
"description": "Mode, can be set to `simple` `multi`, Default: `multi`"
|
2065
|
+
},
|
2066
|
+
"van-pagination/prev-text": {
|
2067
|
+
"type": "string",
|
2068
|
+
"description": "Previous text, Default: `Previous`"
|
2069
|
+
},
|
2070
|
+
"van-pagination/next-text": {
|
2071
|
+
"type": "string",
|
2072
|
+
"description": "Next text, Default: `Next`"
|
2073
|
+
},
|
2074
|
+
"van-pagination/total-items": {
|
2075
|
+
"type": "number | string",
|
2076
|
+
"description": "Total items, Default: `0`"
|
2077
|
+
},
|
2078
|
+
"van-pagination/items-per-page": {
|
2079
|
+
"type": "number | string",
|
2080
|
+
"description": "Item number per page, Default: `10`"
|
2081
|
+
},
|
2082
|
+
"van-pagination/page-count": {
|
2083
|
+
"type": "number | string",
|
2084
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
|
2085
|
+
},
|
2086
|
+
"van-pagination/show-page-size": {
|
2087
|
+
"type": "number | string",
|
2088
|
+
"description": "Count of page size to show, Default: `5`"
|
2089
|
+
},
|
2090
|
+
"van-pagination/force-ellipses": {
|
2091
|
+
"type": "boolean",
|
2092
|
+
"description": "Whether to show ellipses, Default: `false`"
|
2093
|
+
},
|
2094
|
+
"van-overlay/show": {
|
2095
|
+
"type": "boolean",
|
2096
|
+
"description": "Whether to show overlay, Default: `false`"
|
2097
|
+
},
|
2098
|
+
"van-overlay/z-index": {
|
2099
|
+
"type": "number | string",
|
2100
|
+
"description": "z-index, Default: `1`"
|
2101
|
+
},
|
2102
|
+
"van-overlay/duration": {
|
2103
|
+
"type": "number | string",
|
2104
|
+
"description": "Animation duration, Default: `0.3`"
|
2105
|
+
},
|
2106
|
+
"van-overlay/class-name": {
|
2107
|
+
"type": "string",
|
2108
|
+
"description": "ClassName, Default: -"
|
2109
|
+
},
|
2110
|
+
"van-overlay/custom-class": {
|
2111
|
+
"type": "object",
|
2112
|
+
"description": "Custom style, Default: -"
|
2113
|
+
},
|
2114
|
+
"van-overlay/lock-scroll": {
|
2115
|
+
"type": "boolean",
|
2116
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
2117
|
+
},
|
2118
|
+
"van-overlay/lazy-render": {
|
2119
|
+
"type": "boolean",
|
2120
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
2121
|
+
},
|
2114
2122
|
"van-password-input/value": {
|
2115
2123
|
"type": "string",
|
2116
2124
|
"description": "Password value, Default: `''`"
|
@@ -2339,6 +2347,42 @@
|
|
2339
2347
|
"type": "boolean",
|
2340
2348
|
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
2341
2349
|
},
|
2350
|
+
"van-progress/percentage": {
|
2351
|
+
"type": "number | string",
|
2352
|
+
"description": "Percentage, Default: `0`"
|
2353
|
+
},
|
2354
|
+
"van-progress/stroke-width": {
|
2355
|
+
"type": "number | string",
|
2356
|
+
"description": "Stroke width, Default: `4px`"
|
2357
|
+
},
|
2358
|
+
"van-progress/color": {
|
2359
|
+
"type": "string",
|
2360
|
+
"description": "Color, Default: `#1989fa`"
|
2361
|
+
},
|
2362
|
+
"van-progress/track-color": {
|
2363
|
+
"type": "string",
|
2364
|
+
"description": "Track color, Default: `#e5e5e5`"
|
2365
|
+
},
|
2366
|
+
"van-progress/pivot-text": {
|
2367
|
+
"type": "string",
|
2368
|
+
"description": "Pivot text, Default: percentage"
|
2369
|
+
},
|
2370
|
+
"van-progress/pivot-color": {
|
2371
|
+
"type": "string",
|
2372
|
+
"description": "Pivot text background color, Default: inherit progress color"
|
2373
|
+
},
|
2374
|
+
"van-progress/text-color": {
|
2375
|
+
"type": "string",
|
2376
|
+
"description": "Pivot text color, Default: `white`"
|
2377
|
+
},
|
2378
|
+
"van-progress/inactive": {
|
2379
|
+
"type": "boolean",
|
2380
|
+
"description": "Whether to be gray, Default: `false`"
|
2381
|
+
},
|
2382
|
+
"van-progress/show-pivot": {
|
2383
|
+
"type": "boolean",
|
2384
|
+
"description": "Whether to show text, Default: `true`"
|
2385
|
+
},
|
2342
2386
|
"van-pull-refresh/v-model": {
|
2343
2387
|
"type": "boolean",
|
2344
2388
|
"description": "Loading status, Default: -"
|
@@ -2379,42 +2423,6 @@
|
|
2379
2423
|
"type": "boolean",
|
2380
2424
|
"description": "Whether to disable pull refresh, Default: `false`"
|
2381
2425
|
},
|
2382
|
-
"van-progress/percentage": {
|
2383
|
-
"type": "number | string",
|
2384
|
-
"description": "Percentage, Default: `0`"
|
2385
|
-
},
|
2386
|
-
"van-progress/stroke-width": {
|
2387
|
-
"type": "number | string",
|
2388
|
-
"description": "Stroke width, Default: `4px`"
|
2389
|
-
},
|
2390
|
-
"van-progress/color": {
|
2391
|
-
"type": "string",
|
2392
|
-
"description": "Color, Default: `#1989fa`"
|
2393
|
-
},
|
2394
|
-
"van-progress/track-color": {
|
2395
|
-
"type": "string",
|
2396
|
-
"description": "Track color, Default: `#e5e5e5`"
|
2397
|
-
},
|
2398
|
-
"van-progress/pivot-text": {
|
2399
|
-
"type": "string",
|
2400
|
-
"description": "Pivot text, Default: percentage"
|
2401
|
-
},
|
2402
|
-
"van-progress/pivot-color": {
|
2403
|
-
"type": "string",
|
2404
|
-
"description": "Pivot text background color, Default: inherit progress color"
|
2405
|
-
},
|
2406
|
-
"van-progress/text-color": {
|
2407
|
-
"type": "string",
|
2408
|
-
"description": "Pivot text color, Default: `white`"
|
2409
|
-
},
|
2410
|
-
"van-progress/inactive": {
|
2411
|
-
"type": "boolean",
|
2412
|
-
"description": "Whether to be gray, Default: `false`"
|
2413
|
-
},
|
2414
|
-
"van-progress/show-pivot": {
|
2415
|
-
"type": "boolean",
|
2416
|
-
"description": "Whether to show text, Default: `true`"
|
2417
|
-
},
|
2418
2426
|
"van-radio/name": {
|
2419
2427
|
"type": "any",
|
2420
2428
|
"description": "Radio name, Default: -"
|
@@ -3079,38 +3087,6 @@
|
|
3079
3087
|
"type": "boolean",
|
3080
3088
|
"description": "Whether to stop touchmove event propagation, Default: `false`"
|
3081
3089
|
},
|
3082
|
-
"van-switch/v-model": {
|
3083
|
-
"type": "ActiveValue | InactiveValue",
|
3084
|
-
"description": "Check status of Switch, Default: `false`"
|
3085
|
-
},
|
3086
|
-
"van-switch/loading": {
|
3087
|
-
"type": "boolean",
|
3088
|
-
"description": "Whether to show loading icon, Default: `false`"
|
3089
|
-
},
|
3090
|
-
"van-switch/disabled": {
|
3091
|
-
"type": "boolean",
|
3092
|
-
"description": "Whether to disable switch, Default: `false`"
|
3093
|
-
},
|
3094
|
-
"van-switch/size": {
|
3095
|
-
"type": "number | string",
|
3096
|
-
"description": "Size of switch, Default: `30px`"
|
3097
|
-
},
|
3098
|
-
"van-switch/active-color": {
|
3099
|
-
"type": "string",
|
3100
|
-
"description": "Background color when active, Default: `#1989fa`"
|
3101
|
-
},
|
3102
|
-
"van-switch/inactive-color": {
|
3103
|
-
"type": "string",
|
3104
|
-
"description": "Background color when inactive, Default: `white`"
|
3105
|
-
},
|
3106
|
-
"van-switch/active-value": {
|
3107
|
-
"type": "any",
|
3108
|
-
"description": "Value when active, Default: `true`"
|
3109
|
-
},
|
3110
|
-
"van-switch/inactive-value": {
|
3111
|
-
"type": "any",
|
3112
|
-
"description": "Value when inactive, Default: `false`"
|
3113
|
-
},
|
3114
3090
|
"van-tabs/v-model:active": {
|
3115
3091
|
"type": "number | string",
|
3116
3092
|
"description": "Index of active tab, Default: `0`"
|
@@ -3235,6 +3211,38 @@
|
|
3235
3211
|
"type": "boolean",
|
3236
3212
|
"description": "Whether to show badge when the value is zero, Default: `true`"
|
3237
3213
|
},
|
3214
|
+
"van-switch/v-model": {
|
3215
|
+
"type": "ActiveValue | InactiveValue",
|
3216
|
+
"description": "Check status of Switch, Default: `false`"
|
3217
|
+
},
|
3218
|
+
"van-switch/loading": {
|
3219
|
+
"type": "boolean",
|
3220
|
+
"description": "Whether to show loading icon, Default: `false`"
|
3221
|
+
},
|
3222
|
+
"van-switch/disabled": {
|
3223
|
+
"type": "boolean",
|
3224
|
+
"description": "Whether to disable switch, Default: `false`"
|
3225
|
+
},
|
3226
|
+
"van-switch/size": {
|
3227
|
+
"type": "number | string",
|
3228
|
+
"description": "Size of switch, Default: `30px`"
|
3229
|
+
},
|
3230
|
+
"van-switch/active-color": {
|
3231
|
+
"type": "string",
|
3232
|
+
"description": "Background color when active, Default: `#1989fa`"
|
3233
|
+
},
|
3234
|
+
"van-switch/inactive-color": {
|
3235
|
+
"type": "string",
|
3236
|
+
"description": "Background color when inactive, Default: `white`"
|
3237
|
+
},
|
3238
|
+
"van-switch/active-value": {
|
3239
|
+
"type": "any",
|
3240
|
+
"description": "Value when active, Default: `true`"
|
3241
|
+
},
|
3242
|
+
"van-switch/inactive-value": {
|
3243
|
+
"type": "any",
|
3244
|
+
"description": "Value when inactive, Default: `false`"
|
3245
|
+
},
|
3238
3246
|
"van-tabbar/v-model": {
|
3239
3247
|
"type": "number | string",
|
3240
3248
|
"description": "Identifier of current tab, Default: `0`"
|