vant 3.6.3 → 3.6.4
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/changelog.generated.md +19 -27
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/tabs/Tabs.mjs +44 -41
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/tabs/Tabs.js +44 -41
- package/lib/vant.cjs.js +45 -42
- package/lib/vant.es.js +45 -42
- package/lib/vant.js +45 -42
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1540 -1540
- package/package.json +1 -1
package/lib/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.6.
|
5
|
+
"version": "3.6.4",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -262,101 +262,115 @@
|
|
262
262
|
]
|
263
263
|
},
|
264
264
|
{
|
265
|
-
"name": "van-
|
265
|
+
"name": "van-address-edit",
|
266
266
|
"slots": [
|
267
267
|
{
|
268
268
|
"name": "default",
|
269
|
-
"description": "Custom content"
|
270
|
-
},
|
271
|
-
{
|
272
|
-
"name": "description",
|
273
|
-
"description": "Custom description above the options"
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"name": "cancel",
|
277
|
-
"description": "Custom the content of cancel button"
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"name": "action",
|
281
|
-
"description": "Custom the content of action"
|
269
|
+
"description": "Custom content below postal"
|
282
270
|
}
|
283
271
|
],
|
284
272
|
"events": [
|
285
273
|
{
|
286
|
-
"name": "
|
287
|
-
"description": "Emitted when
|
274
|
+
"name": "save",
|
275
|
+
"description": "Emitted when the save button is clicked",
|
288
276
|
"arguments": [
|
289
277
|
{
|
290
|
-
"name": "
|
291
|
-
"type": "
|
292
|
-
}
|
278
|
+
"name": "content",
|
279
|
+
"type": "form content"
|
280
|
+
}
|
281
|
+
]
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"name": "focus",
|
285
|
+
"description": "Emitted when field is focused",
|
286
|
+
"arguments": [
|
293
287
|
{
|
294
|
-
"name": "
|
295
|
-
"type": "
|
288
|
+
"name": "key",
|
289
|
+
"type": "field name"
|
296
290
|
}
|
297
291
|
]
|
298
292
|
},
|
299
293
|
{
|
300
|
-
"name": "
|
301
|
-
"description": "Emitted when
|
302
|
-
"arguments": [
|
294
|
+
"name": "delete",
|
295
|
+
"description": "Emitted when confirming delete",
|
296
|
+
"arguments": [
|
297
|
+
{
|
298
|
+
"name": "content",
|
299
|
+
"type": "form content"
|
300
|
+
}
|
301
|
+
]
|
303
302
|
},
|
304
303
|
{
|
305
|
-
"name": "
|
306
|
-
"description": "Emitted when
|
307
|
-
"arguments": [
|
304
|
+
"name": "select-search",
|
305
|
+
"description": "Emitted when a search result is selected",
|
306
|
+
"arguments": [
|
307
|
+
{
|
308
|
+
"name": "value",
|
309
|
+
"type": "search content"
|
310
|
+
}
|
311
|
+
]
|
308
312
|
},
|
309
313
|
{
|
310
|
-
"name": "
|
311
|
-
"description": "Emitted when
|
314
|
+
"name": "click-area",
|
315
|
+
"description": "Emitted when the area field is clicked",
|
312
316
|
"arguments": []
|
313
317
|
},
|
314
318
|
{
|
315
|
-
"name": "
|
316
|
-
"description": "Emitted when
|
317
|
-
"arguments": [
|
319
|
+
"name": "change-area",
|
320
|
+
"description": "Emitted when area changed",
|
321
|
+
"arguments": [
|
322
|
+
{
|
323
|
+
"name": "values",
|
324
|
+
"type": "area values"
|
325
|
+
}
|
326
|
+
]
|
318
327
|
},
|
319
328
|
{
|
320
|
-
"name": "
|
321
|
-
"description": "Emitted when
|
322
|
-
"arguments": [
|
329
|
+
"name": "change-detail",
|
330
|
+
"description": "Emitted when address detail changed",
|
331
|
+
"arguments": [
|
332
|
+
{
|
333
|
+
"name": "value",
|
334
|
+
"type": "address detail"
|
335
|
+
}
|
336
|
+
]
|
323
337
|
},
|
324
338
|
{
|
325
|
-
"name": "
|
326
|
-
"description": "Emitted when
|
339
|
+
"name": "change-default",
|
340
|
+
"description": "Emitted when switching default address",
|
327
341
|
"arguments": [
|
328
342
|
{
|
329
|
-
"name": "
|
330
|
-
"type": "
|
343
|
+
"name": "value",
|
344
|
+
"type": "checked"
|
331
345
|
}
|
332
346
|
]
|
333
347
|
}
|
334
348
|
],
|
335
349
|
"attributes": [
|
336
350
|
{
|
337
|
-
"name": "
|
338
|
-
"default": "
|
339
|
-
"description": "
|
351
|
+
"name": "area-list",
|
352
|
+
"default": "-",
|
353
|
+
"description": "Area List",
|
340
354
|
"options": [],
|
341
355
|
"value": {
|
342
|
-
"type": "
|
356
|
+
"type": "object",
|
343
357
|
"kind": "expression"
|
344
358
|
}
|
345
359
|
},
|
346
360
|
{
|
347
|
-
"name": "
|
361
|
+
"name": "area-columns-placeholder",
|
348
362
|
"default": "`[]`",
|
349
|
-
"description": "
|
363
|
+
"description": "placeholder of area columns",
|
350
364
|
"options": [],
|
351
365
|
"value": {
|
352
|
-
"type": "
|
366
|
+
"type": "string[]",
|
353
367
|
"kind": "expression"
|
354
368
|
}
|
355
369
|
},
|
356
370
|
{
|
357
|
-
"name": "
|
358
|
-
"default": "
|
359
|
-
"description": "
|
371
|
+
"name": "area-placeholder",
|
372
|
+
"default": "`Area`",
|
373
|
+
"description": "placeholder of area input field",
|
360
374
|
"options": [],
|
361
375
|
"value": {
|
362
376
|
"type": "string",
|
@@ -364,29 +378,29 @@
|
|
364
378
|
}
|
365
379
|
},
|
366
380
|
{
|
367
|
-
"name": "
|
368
|
-
"default": "
|
369
|
-
"description": "
|
381
|
+
"name": "address-info",
|
382
|
+
"default": "`{}`",
|
383
|
+
"description": "Address Info",
|
370
384
|
"options": [],
|
371
385
|
"value": {
|
372
|
-
"type": "
|
386
|
+
"type": "AddressEditInfo",
|
373
387
|
"kind": "expression"
|
374
388
|
}
|
375
389
|
},
|
376
390
|
{
|
377
|
-
"name": "
|
378
|
-
"default": "
|
379
|
-
"description": "
|
391
|
+
"name": "search-result",
|
392
|
+
"default": "`[]`",
|
393
|
+
"description": "Address search result",
|
380
394
|
"options": [],
|
381
395
|
"value": {
|
382
|
-
"type": "
|
396
|
+
"type": "AddressEditSearchItem[]",
|
383
397
|
"kind": "expression"
|
384
398
|
}
|
385
399
|
},
|
386
400
|
{
|
387
|
-
"name": "
|
388
|
-
"default": "`
|
389
|
-
"description": "Whether to show
|
401
|
+
"name": "show-postal",
|
402
|
+
"default": "`false`",
|
403
|
+
"description": "Whether to show postal field",
|
390
404
|
"options": [],
|
391
405
|
"value": {
|
392
406
|
"type": "boolean",
|
@@ -394,29 +408,39 @@
|
|
394
408
|
}
|
395
409
|
},
|
396
410
|
{
|
397
|
-
"name": "
|
398
|
-
"default": "`
|
399
|
-
"description": "
|
411
|
+
"name": "show-delete",
|
412
|
+
"default": "`false`",
|
413
|
+
"description": "Whether to show delete button",
|
400
414
|
"options": [],
|
401
415
|
"value": {
|
402
|
-
"type": "
|
416
|
+
"type": "boolean",
|
403
417
|
"kind": "expression"
|
404
418
|
}
|
405
419
|
},
|
406
420
|
{
|
407
|
-
"name": "
|
408
|
-
"default": "`
|
409
|
-
"description": "
|
421
|
+
"name": "show-set-default",
|
422
|
+
"default": "`false`",
|
423
|
+
"description": "Whether to show default address switch",
|
410
424
|
"options": [],
|
411
425
|
"value": {
|
412
|
-
"type": "
|
426
|
+
"type": "boolean",
|
413
427
|
"kind": "expression"
|
414
428
|
}
|
415
429
|
},
|
416
430
|
{
|
417
|
-
"name": "
|
431
|
+
"name": "show-search-result",
|
432
|
+
"default": "`false`",
|
433
|
+
"description": "Whether to show address search result",
|
434
|
+
"options": [],
|
435
|
+
"value": {
|
436
|
+
"type": "boolean",
|
437
|
+
"kind": "expression"
|
438
|
+
}
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"name": "show-area",
|
418
442
|
"default": "`true`",
|
419
|
-
"description": "Whether to show
|
443
|
+
"description": "Whether to show area cell",
|
420
444
|
"options": [],
|
421
445
|
"value": {
|
422
446
|
"type": "boolean",
|
@@ -424,9 +448,9 @@
|
|
424
448
|
}
|
425
449
|
},
|
426
450
|
{
|
427
|
-
"name": "
|
451
|
+
"name": "show-detail",
|
428
452
|
"default": "`true`",
|
429
|
-
"description": "Whether to show
|
453
|
+
"description": "Whether to show detail field",
|
430
454
|
"options": [],
|
431
455
|
"value": {
|
432
456
|
"type": "boolean",
|
@@ -434,59 +458,59 @@
|
|
434
458
|
}
|
435
459
|
},
|
436
460
|
{
|
437
|
-
"name": "
|
438
|
-
"default": "
|
439
|
-
"description": "
|
461
|
+
"name": "disable-area",
|
462
|
+
"default": "`false`",
|
463
|
+
"description": "Whether to disable area select",
|
440
464
|
"options": [],
|
441
465
|
"value": {
|
442
|
-
"type": "
|
466
|
+
"type": "boolean",
|
443
467
|
"kind": "expression"
|
444
468
|
}
|
445
469
|
},
|
446
470
|
{
|
447
|
-
"name": "
|
448
|
-
"default": "
|
449
|
-
"description": "
|
471
|
+
"name": "save-button-text",
|
472
|
+
"default": "`Save`",
|
473
|
+
"description": "Save button text",
|
450
474
|
"options": [],
|
451
475
|
"value": {
|
452
|
-
"type": "
|
476
|
+
"type": "string",
|
453
477
|
"kind": "expression"
|
454
478
|
}
|
455
479
|
},
|
456
480
|
{
|
457
|
-
"name": "
|
458
|
-
"default": "`
|
459
|
-
"description": "
|
481
|
+
"name": "delete-button-text",
|
482
|
+
"default": "`Delete`",
|
483
|
+
"description": "Delete button text",
|
460
484
|
"options": [],
|
461
485
|
"value": {
|
462
|
-
"type": "
|
486
|
+
"type": "string",
|
463
487
|
"kind": "expression"
|
464
488
|
}
|
465
489
|
},
|
466
490
|
{
|
467
|
-
"name": "
|
468
|
-
"default": "`
|
469
|
-
"description": "
|
491
|
+
"name": "detail-rows",
|
492
|
+
"default": "`1`",
|
493
|
+
"description": "Detail input rows",
|
470
494
|
"options": [],
|
471
495
|
"value": {
|
472
|
-
"type": "
|
496
|
+
"type": "number | string",
|
473
497
|
"kind": "expression"
|
474
498
|
}
|
475
499
|
},
|
476
500
|
{
|
477
|
-
"name": "
|
478
|
-
"default": "`
|
479
|
-
"description": "
|
501
|
+
"name": "detail-maxlength",
|
502
|
+
"default": "`200`",
|
503
|
+
"description": "Detail maxlength",
|
480
504
|
"options": [],
|
481
505
|
"value": {
|
482
|
-
"type": "
|
506
|
+
"type": "number | string",
|
483
507
|
"kind": "expression"
|
484
508
|
}
|
485
509
|
},
|
486
510
|
{
|
487
|
-
"name": "
|
511
|
+
"name": "is-saving",
|
488
512
|
"default": "`false`",
|
489
|
-
"description": "Whether to
|
513
|
+
"description": "Whether to show save button loading status",
|
490
514
|
"options": [],
|
491
515
|
"value": {
|
492
516
|
"type": "boolean",
|
@@ -494,9 +518,9 @@
|
|
494
518
|
}
|
495
519
|
},
|
496
520
|
{
|
497
|
-
"name": "
|
498
|
-
"default": "`
|
499
|
-
"description": "Whether to
|
521
|
+
"name": "is-deleting",
|
522
|
+
"default": "`false`",
|
523
|
+
"description": "Whether to show delete button loading status",
|
500
524
|
"options": [],
|
501
525
|
"value": {
|
502
526
|
"type": "boolean",
|
@@ -504,32 +528,42 @@
|
|
504
528
|
}
|
505
529
|
},
|
506
530
|
{
|
507
|
-
"name": "
|
508
|
-
"default": "
|
509
|
-
"description": "
|
531
|
+
"name": "tel-validator",
|
532
|
+
"default": "-",
|
533
|
+
"description": "The method to validate tel",
|
510
534
|
"options": [],
|
511
535
|
"value": {
|
512
|
-
"type": "boolean",
|
536
|
+
"type": "(tel: string) => boolean",
|
513
537
|
"kind": "expression"
|
514
538
|
}
|
515
539
|
},
|
516
540
|
{
|
517
|
-
"name": "
|
541
|
+
"name": "tel-maxlength",
|
518
542
|
"default": "-",
|
519
|
-
"description": "
|
543
|
+
"description": "Tel maxlength",
|
520
544
|
"options": [],
|
521
545
|
"value": {
|
522
|
-
"type": "
|
546
|
+
"type": "number | string",
|
523
547
|
"kind": "expression"
|
524
548
|
}
|
525
549
|
},
|
526
550
|
{
|
527
|
-
"name": "
|
551
|
+
"name": "postal-validator",
|
528
552
|
"default": "-",
|
529
|
-
"description": "
|
553
|
+
"description": "The method to validate postal",
|
530
554
|
"options": [],
|
531
555
|
"value": {
|
532
|
-
"type": "(
|
556
|
+
"type": "(tel: string) => boolean",
|
557
|
+
"kind": "expression"
|
558
|
+
}
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"name": "validator",
|
562
|
+
"default": "-",
|
563
|
+
"description": "Custom validator",
|
564
|
+
"options": [],
|
565
|
+
"value": {
|
566
|
+
"type": "(key, val) => string",
|
533
567
|
"kind": "expression"
|
534
568
|
}
|
535
569
|
}
|
@@ -898,145 +932,73 @@
|
|
898
932
|
]
|
899
933
|
},
|
900
934
|
{
|
901
|
-
"name": "van-
|
935
|
+
"name": "van-badge",
|
902
936
|
"slots": [
|
903
937
|
{
|
904
938
|
"name": "default",
|
905
|
-
"description": "
|
906
|
-
}
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
"name": "save",
|
911
|
-
"description": "Emitted when the save button is clicked",
|
912
|
-
"arguments": [
|
913
|
-
{
|
914
|
-
"name": "content",
|
915
|
-
"type": "form content"
|
916
|
-
}
|
917
|
-
]
|
918
|
-
},
|
919
|
-
{
|
920
|
-
"name": "focus",
|
921
|
-
"description": "Emitted when field is focused",
|
922
|
-
"arguments": [
|
923
|
-
{
|
924
|
-
"name": "key",
|
925
|
-
"type": "field name"
|
926
|
-
}
|
927
|
-
]
|
928
|
-
},
|
929
|
-
{
|
930
|
-
"name": "delete",
|
931
|
-
"description": "Emitted when confirming delete",
|
932
|
-
"arguments": [
|
933
|
-
{
|
934
|
-
"name": "content",
|
935
|
-
"type": "form content"
|
936
|
-
}
|
937
|
-
]
|
938
|
-
},
|
939
|
-
{
|
940
|
-
"name": "select-search",
|
941
|
-
"description": "Emitted when a search result is selected",
|
942
|
-
"arguments": [
|
943
|
-
{
|
944
|
-
"name": "value",
|
945
|
-
"type": "search content"
|
946
|
-
}
|
947
|
-
]
|
948
|
-
},
|
949
|
-
{
|
950
|
-
"name": "click-area",
|
951
|
-
"description": "Emitted when the area field is clicked",
|
952
|
-
"arguments": []
|
953
|
-
},
|
954
|
-
{
|
955
|
-
"name": "change-area",
|
956
|
-
"description": "Emitted when area changed",
|
957
|
-
"arguments": [
|
958
|
-
{
|
959
|
-
"name": "values",
|
960
|
-
"type": "area values"
|
961
|
-
}
|
962
|
-
]
|
963
|
-
},
|
964
|
-
{
|
965
|
-
"name": "change-detail",
|
966
|
-
"description": "Emitted when address detail changed",
|
967
|
-
"arguments": [
|
968
|
-
{
|
969
|
-
"name": "value",
|
970
|
-
"type": "address detail"
|
971
|
-
}
|
972
|
-
]
|
973
|
-
},
|
974
|
-
{
|
975
|
-
"name": "change-default",
|
976
|
-
"description": "Emitted when switching default address",
|
977
|
-
"arguments": [
|
978
|
-
{
|
979
|
-
"name": "value",
|
980
|
-
"type": "checked"
|
981
|
-
}
|
982
|
-
]
|
939
|
+
"description": "Default slot"
|
940
|
+
},
|
941
|
+
{
|
942
|
+
"name": "content",
|
943
|
+
"description": "Custom badge content"
|
983
944
|
}
|
984
945
|
],
|
946
|
+
"events": [],
|
985
947
|
"attributes": [
|
986
948
|
{
|
987
|
-
"name": "
|
949
|
+
"name": "content",
|
988
950
|
"default": "-",
|
989
|
-
"description": "
|
951
|
+
"description": "Badge content",
|
990
952
|
"options": [],
|
991
953
|
"value": {
|
992
|
-
"type": "
|
954
|
+
"type": "number | string",
|
993
955
|
"kind": "expression"
|
994
956
|
}
|
995
957
|
},
|
996
958
|
{
|
997
|
-
"name": "
|
998
|
-
"default": "`
|
999
|
-
"description": "
|
959
|
+
"name": "color",
|
960
|
+
"default": "`#ee0a24`",
|
961
|
+
"description": "Background color",
|
1000
962
|
"options": [],
|
1001
963
|
"value": {
|
1002
|
-
"type": "string
|
964
|
+
"type": "string",
|
1003
965
|
"kind": "expression"
|
1004
966
|
}
|
1005
967
|
},
|
1006
968
|
{
|
1007
|
-
"name": "
|
1008
|
-
"default": "`
|
1009
|
-
"description": "
|
969
|
+
"name": "dot",
|
970
|
+
"default": "`false`",
|
971
|
+
"description": "Whether to show dot",
|
1010
972
|
"options": [],
|
1011
973
|
"value": {
|
1012
|
-
"type": "
|
974
|
+
"type": "boolean",
|
1013
975
|
"kind": "expression"
|
1014
976
|
}
|
1015
977
|
},
|
1016
978
|
{
|
1017
|
-
"name": "
|
1018
|
-
"default": "
|
1019
|
-
"description": "
|
979
|
+
"name": "max",
|
980
|
+
"default": "-",
|
981
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1020
982
|
"options": [],
|
1021
983
|
"value": {
|
1022
|
-
"type": "
|
984
|
+
"type": "number | string",
|
1023
985
|
"kind": "expression"
|
1024
986
|
}
|
1025
987
|
},
|
1026
988
|
{
|
1027
|
-
"name": "
|
1028
|
-
"default": "
|
1029
|
-
"description": "
|
989
|
+
"name": "offset",
|
990
|
+
"default": "-",
|
991
|
+
"description": "Offset of badge dot",
|
1030
992
|
"options": [],
|
1031
993
|
"value": {
|
1032
|
-
"type": "
|
994
|
+
"type": "[number | string, number | string]",
|
1033
995
|
"kind": "expression"
|
1034
996
|
}
|
1035
997
|
},
|
1036
998
|
{
|
1037
|
-
"name": "show-
|
1038
|
-
"default": "`
|
1039
|
-
"description": "Whether to show
|
999
|
+
"name": "show-zero",
|
1000
|
+
"default": "`true`",
|
1001
|
+
"description": "Whether to show badge when content is zero",
|
1040
1002
|
"options": [],
|
1041
1003
|
"value": {
|
1042
1004
|
"type": "boolean",
|
@@ -1044,69 +1006,100 @@
|
|
1044
1006
|
}
|
1045
1007
|
},
|
1046
1008
|
{
|
1047
|
-
"name": "
|
1048
|
-
"default": "`
|
1049
|
-
"description": "
|
1009
|
+
"name": "position",
|
1010
|
+
"default": "`top-right`",
|
1011
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1050
1012
|
"options": [],
|
1051
1013
|
"value": {
|
1052
|
-
"type": "
|
1014
|
+
"type": "string",
|
1053
1015
|
"kind": "expression"
|
1054
1016
|
}
|
1017
|
+
}
|
1018
|
+
]
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"name": "van-button",
|
1022
|
+
"slots": [
|
1023
|
+
{
|
1024
|
+
"name": "default",
|
1025
|
+
"description": "Default slot"
|
1055
1026
|
},
|
1056
1027
|
{
|
1057
|
-
"name": "
|
1058
|
-
"
|
1059
|
-
"description": "Whether to show default address switch",
|
1060
|
-
"options": [],
|
1061
|
-
"value": {
|
1062
|
-
"type": "boolean",
|
1063
|
-
"kind": "expression"
|
1064
|
-
}
|
1028
|
+
"name": "icon",
|
1029
|
+
"description": "Custom icon"
|
1065
1030
|
},
|
1066
1031
|
{
|
1067
|
-
"name": "
|
1068
|
-
"
|
1069
|
-
|
1032
|
+
"name": "loading",
|
1033
|
+
"description": "Custom loading icon"
|
1034
|
+
}
|
1035
|
+
],
|
1036
|
+
"events": [
|
1037
|
+
{
|
1038
|
+
"name": "click",
|
1039
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1040
|
+
"arguments": [
|
1041
|
+
{
|
1042
|
+
"name": "event",
|
1043
|
+
"type": "MouseEvent"
|
1044
|
+
}
|
1045
|
+
]
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"name": "touchstart",
|
1049
|
+
"description": "Emitted when button is touched",
|
1050
|
+
"arguments": [
|
1051
|
+
{
|
1052
|
+
"name": "event",
|
1053
|
+
"type": "TouchEvent"
|
1054
|
+
}
|
1055
|
+
]
|
1056
|
+
}
|
1057
|
+
],
|
1058
|
+
"attributes": [
|
1059
|
+
{
|
1060
|
+
"name": "type",
|
1061
|
+
"default": "`default`",
|
1062
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1070
1063
|
"options": [],
|
1071
1064
|
"value": {
|
1072
|
-
"type": "
|
1065
|
+
"type": "string",
|
1073
1066
|
"kind": "expression"
|
1074
1067
|
}
|
1075
1068
|
},
|
1076
1069
|
{
|
1077
|
-
"name": "
|
1078
|
-
"default": "`
|
1079
|
-
"description": "
|
1070
|
+
"name": "size",
|
1071
|
+
"default": "`normal`",
|
1072
|
+
"description": "Can be set to `large` `small` `mini`",
|
1080
1073
|
"options": [],
|
1081
1074
|
"value": {
|
1082
|
-
"type": "
|
1075
|
+
"type": "string",
|
1083
1076
|
"kind": "expression"
|
1084
1077
|
}
|
1085
1078
|
},
|
1086
1079
|
{
|
1087
|
-
"name": "
|
1088
|
-
"default": "
|
1089
|
-
"description": "
|
1080
|
+
"name": "text",
|
1081
|
+
"default": "-",
|
1082
|
+
"description": "Text",
|
1090
1083
|
"options": [],
|
1091
1084
|
"value": {
|
1092
|
-
"type": "
|
1085
|
+
"type": "string",
|
1093
1086
|
"kind": "expression"
|
1094
1087
|
}
|
1095
1088
|
},
|
1096
1089
|
{
|
1097
|
-
"name": "
|
1098
|
-
"default": "
|
1099
|
-
"description": "
|
1090
|
+
"name": "color",
|
1091
|
+
"default": "-",
|
1092
|
+
"description": "Color, support linear-gradient",
|
1100
1093
|
"options": [],
|
1101
1094
|
"value": {
|
1102
|
-
"type": "
|
1095
|
+
"type": "string",
|
1103
1096
|
"kind": "expression"
|
1104
1097
|
}
|
1105
1098
|
},
|
1106
1099
|
{
|
1107
|
-
"name": "
|
1108
|
-
"default": "
|
1109
|
-
"description": "
|
1100
|
+
"name": "icon",
|
1101
|
+
"default": "-",
|
1102
|
+
"description": "Left Icon",
|
1110
1103
|
"options": [],
|
1111
1104
|
"value": {
|
1112
1105
|
"type": "string",
|
@@ -1114,9 +1107,9 @@
|
|
1114
1107
|
}
|
1115
1108
|
},
|
1116
1109
|
{
|
1117
|
-
"name": "
|
1118
|
-
"default": "`
|
1119
|
-
"description": "
|
1110
|
+
"name": "icon-prefix",
|
1111
|
+
"default": "`van-icon`",
|
1112
|
+
"description": "Icon className prefix",
|
1120
1113
|
"options": [],
|
1121
1114
|
"value": {
|
1122
1115
|
"type": "string",
|
@@ -1124,39 +1117,39 @@
|
|
1124
1117
|
}
|
1125
1118
|
},
|
1126
1119
|
{
|
1127
|
-
"name": "
|
1128
|
-
"default": "`
|
1129
|
-
"description": "
|
1120
|
+
"name": "icon-position",
|
1121
|
+
"default": "`left`",
|
1122
|
+
"description": "Icon position, can be set to `right`",
|
1130
1123
|
"options": [],
|
1131
1124
|
"value": {
|
1132
|
-
"type": "
|
1125
|
+
"type": "string",
|
1133
1126
|
"kind": "expression"
|
1134
1127
|
}
|
1135
1128
|
},
|
1136
1129
|
{
|
1137
|
-
"name": "
|
1138
|
-
"default": "`
|
1139
|
-
"description": "
|
1130
|
+
"name": "tag",
|
1131
|
+
"default": "`button`",
|
1132
|
+
"description": "HTML Tag",
|
1140
1133
|
"options": [],
|
1141
1134
|
"value": {
|
1142
|
-
"type": "
|
1135
|
+
"type": "string",
|
1143
1136
|
"kind": "expression"
|
1144
1137
|
}
|
1145
1138
|
},
|
1146
1139
|
{
|
1147
|
-
"name": "
|
1148
|
-
"default": "`
|
1149
|
-
"description": "
|
1140
|
+
"name": "native-type",
|
1141
|
+
"default": "`button`",
|
1142
|
+
"description": "Native Type Attribute",
|
1150
1143
|
"options": [],
|
1151
1144
|
"value": {
|
1152
|
-
"type": "
|
1145
|
+
"type": "string",
|
1153
1146
|
"kind": "expression"
|
1154
1147
|
}
|
1155
1148
|
},
|
1156
1149
|
{
|
1157
|
-
"name": "
|
1150
|
+
"name": "plain",
|
1158
1151
|
"default": "`false`",
|
1159
|
-
"description": "Whether to
|
1152
|
+
"description": "Whether to be plain button",
|
1160
1153
|
"options": [],
|
1161
1154
|
"value": {
|
1162
1155
|
"type": "boolean",
|
@@ -1164,75 +1157,59 @@
|
|
1164
1157
|
}
|
1165
1158
|
},
|
1166
1159
|
{
|
1167
|
-
"name": "
|
1168
|
-
"default": "
|
1169
|
-
"description": "
|
1160
|
+
"name": "block",
|
1161
|
+
"default": "`false`",
|
1162
|
+
"description": "Whether to set display block",
|
1170
1163
|
"options": [],
|
1171
1164
|
"value": {
|
1172
|
-
"type": "
|
1165
|
+
"type": "boolean",
|
1173
1166
|
"kind": "expression"
|
1174
1167
|
}
|
1175
1168
|
},
|
1176
1169
|
{
|
1177
|
-
"name": "
|
1178
|
-
"default": "
|
1179
|
-
"description": "
|
1170
|
+
"name": "round",
|
1171
|
+
"default": "`false`",
|
1172
|
+
"description": "Whether to be round button",
|
1180
1173
|
"options": [],
|
1181
1174
|
"value": {
|
1182
|
-
"type": "
|
1175
|
+
"type": "boolean",
|
1183
1176
|
"kind": "expression"
|
1184
1177
|
}
|
1185
1178
|
},
|
1186
1179
|
{
|
1187
|
-
"name": "
|
1188
|
-
"default": "
|
1189
|
-
"description": "
|
1180
|
+
"name": "square",
|
1181
|
+
"default": "`false`",
|
1182
|
+
"description": "Whether to be square button",
|
1190
1183
|
"options": [],
|
1191
1184
|
"value": {
|
1192
|
-
"type": "
|
1185
|
+
"type": "boolean",
|
1193
1186
|
"kind": "expression"
|
1194
1187
|
}
|
1195
1188
|
},
|
1196
1189
|
{
|
1197
|
-
"name": "
|
1198
|
-
"default": "
|
1199
|
-
"description": "
|
1190
|
+
"name": "disabled",
|
1191
|
+
"default": "`false`",
|
1192
|
+
"description": "Whether to disable button",
|
1200
1193
|
"options": [],
|
1201
1194
|
"value": {
|
1202
|
-
"type": "
|
1195
|
+
"type": "boolean",
|
1203
1196
|
"kind": "expression"
|
1204
1197
|
}
|
1205
|
-
}
|
1206
|
-
]
|
1207
|
-
},
|
1208
|
-
{
|
1209
|
-
"name": "van-badge",
|
1210
|
-
"slots": [
|
1211
|
-
{
|
1212
|
-
"name": "default",
|
1213
|
-
"description": "Default slot"
|
1214
1198
|
},
|
1215
1199
|
{
|
1216
|
-
"name": "
|
1217
|
-
"
|
1218
|
-
|
1219
|
-
],
|
1220
|
-
"events": [],
|
1221
|
-
"attributes": [
|
1222
|
-
{
|
1223
|
-
"name": "content",
|
1224
|
-
"default": "-",
|
1225
|
-
"description": "Badge content",
|
1200
|
+
"name": "loading",
|
1201
|
+
"default": "`false`",
|
1202
|
+
"description": "Whether to show loading status",
|
1226
1203
|
"options": [],
|
1227
1204
|
"value": {
|
1228
|
-
"type": "
|
1205
|
+
"type": "boolean",
|
1229
1206
|
"kind": "expression"
|
1230
1207
|
}
|
1231
1208
|
},
|
1232
1209
|
{
|
1233
|
-
"name": "
|
1234
|
-
"default": "
|
1235
|
-
"description": "
|
1210
|
+
"name": "loading-text",
|
1211
|
+
"default": "-",
|
1212
|
+
"description": "Loading text",
|
1236
1213
|
"options": [],
|
1237
1214
|
"value": {
|
1238
1215
|
"type": "string",
|
@@ -1240,19 +1217,19 @@
|
|
1240
1217
|
}
|
1241
1218
|
},
|
1242
1219
|
{
|
1243
|
-
"name": "
|
1244
|
-
"default": "`
|
1245
|
-
"description": "
|
1220
|
+
"name": "loading-type",
|
1221
|
+
"default": "`circular`",
|
1222
|
+
"description": "Loading type, can be set to `spinner`",
|
1246
1223
|
"options": [],
|
1247
1224
|
"value": {
|
1248
|
-
"type": "
|
1225
|
+
"type": "string",
|
1249
1226
|
"kind": "expression"
|
1250
1227
|
}
|
1251
1228
|
},
|
1252
1229
|
{
|
1253
|
-
"name": "
|
1254
|
-
"default": "
|
1255
|
-
"description": "
|
1230
|
+
"name": "loading-size",
|
1231
|
+
"default": "`20px`",
|
1232
|
+
"description": "Loading icon size",
|
1256
1233
|
"options": [],
|
1257
1234
|
"value": {
|
1258
1235
|
"type": "number | string",
|
@@ -1260,100 +1237,133 @@
|
|
1260
1237
|
}
|
1261
1238
|
},
|
1262
1239
|
{
|
1263
|
-
"name": "
|
1240
|
+
"name": "url",
|
1264
1241
|
"default": "-",
|
1265
|
-
"description": "
|
1242
|
+
"description": "Link URL",
|
1266
1243
|
"options": [],
|
1267
1244
|
"value": {
|
1268
|
-
"type": "
|
1245
|
+
"type": "string",
|
1269
1246
|
"kind": "expression"
|
1270
1247
|
}
|
1271
1248
|
},
|
1272
1249
|
{
|
1273
|
-
"name": "
|
1274
|
-
"default": "
|
1275
|
-
"description": "
|
1250
|
+
"name": "to",
|
1251
|
+
"default": "-",
|
1252
|
+
"description": "Target route of the link, same as using vue-router",
|
1276
1253
|
"options": [],
|
1277
1254
|
"value": {
|
1278
|
-
"type": "
|
1255
|
+
"type": "string | object",
|
1279
1256
|
"kind": "expression"
|
1280
1257
|
}
|
1281
1258
|
},
|
1282
1259
|
{
|
1283
|
-
"name": "
|
1284
|
-
"default": "`
|
1285
|
-
"description": "
|
1260
|
+
"name": "replace",
|
1261
|
+
"default": "`false`",
|
1262
|
+
"description": "If true, the navigation will not leave a history record",
|
1286
1263
|
"options": [],
|
1287
1264
|
"value": {
|
1288
|
-
"type": "
|
1265
|
+
"type": "boolean",
|
1289
1266
|
"kind": "expression"
|
1290
1267
|
}
|
1291
1268
|
}
|
1292
1269
|
]
|
1293
1270
|
},
|
1294
1271
|
{
|
1295
|
-
"name": "van-
|
1272
|
+
"name": "van-action-sheet",
|
1296
1273
|
"slots": [
|
1297
1274
|
{
|
1298
1275
|
"name": "default",
|
1299
|
-
"description": "
|
1276
|
+
"description": "Custom content"
|
1300
1277
|
},
|
1301
1278
|
{
|
1302
|
-
"name": "
|
1303
|
-
"description": "Custom
|
1279
|
+
"name": "description",
|
1280
|
+
"description": "Custom description above the options"
|
1304
1281
|
},
|
1305
1282
|
{
|
1306
|
-
"name": "
|
1307
|
-
"description": "Custom
|
1283
|
+
"name": "cancel",
|
1284
|
+
"description": "Custom the content of cancel button"
|
1285
|
+
},
|
1286
|
+
{
|
1287
|
+
"name": "action",
|
1288
|
+
"description": "Custom the content of action"
|
1308
1289
|
}
|
1309
1290
|
],
|
1310
1291
|
"events": [
|
1311
1292
|
{
|
1312
|
-
"name": "
|
1313
|
-
"description": "Emitted when
|
1293
|
+
"name": "select",
|
1294
|
+
"description": "Emitted when an option is clicked",
|
1314
1295
|
"arguments": [
|
1315
1296
|
{
|
1316
|
-
"name": "
|
1317
|
-
"type": "
|
1297
|
+
"name": "action",
|
1298
|
+
"type": "ActionSheetAction"
|
1299
|
+
},
|
1300
|
+
{
|
1301
|
+
"name": "index",
|
1302
|
+
"type": "number"
|
1318
1303
|
}
|
1319
1304
|
]
|
1320
1305
|
},
|
1321
1306
|
{
|
1322
|
-
"name": "
|
1323
|
-
"description": "Emitted when button is
|
1307
|
+
"name": "cancel",
|
1308
|
+
"description": "Emitted when the cancel button is clicked",
|
1309
|
+
"arguments": []
|
1310
|
+
},
|
1311
|
+
{
|
1312
|
+
"name": "open",
|
1313
|
+
"description": "Emitted when opening ActionSheet",
|
1314
|
+
"arguments": []
|
1315
|
+
},
|
1316
|
+
{
|
1317
|
+
"name": "close",
|
1318
|
+
"description": "Emitted when closing ActionSheet",
|
1319
|
+
"arguments": []
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
"name": "opened",
|
1323
|
+
"description": "Emitted when ActionSheet is opened",
|
1324
|
+
"arguments": []
|
1325
|
+
},
|
1326
|
+
{
|
1327
|
+
"name": "closed",
|
1328
|
+
"description": "Emitted when ActionSheet is closed",
|
1329
|
+
"arguments": []
|
1330
|
+
},
|
1331
|
+
{
|
1332
|
+
"name": "click-overlay",
|
1333
|
+
"description": "Emitted when overlay is clicked",
|
1324
1334
|
"arguments": [
|
1325
1335
|
{
|
1326
1336
|
"name": "event",
|
1327
|
-
"type": "
|
1337
|
+
"type": "MouseEvent"
|
1328
1338
|
}
|
1329
1339
|
]
|
1330
1340
|
}
|
1331
1341
|
],
|
1332
1342
|
"attributes": [
|
1333
1343
|
{
|
1334
|
-
"name": "
|
1335
|
-
"default": "`
|
1336
|
-
"description": "
|
1344
|
+
"name": "v-model:show",
|
1345
|
+
"default": "`false`",
|
1346
|
+
"description": "Whether to show ActionSheet",
|
1337
1347
|
"options": [],
|
1338
1348
|
"value": {
|
1339
|
-
"type": "
|
1349
|
+
"type": "boolean",
|
1340
1350
|
"kind": "expression"
|
1341
1351
|
}
|
1342
1352
|
},
|
1343
1353
|
{
|
1344
|
-
"name": "
|
1345
|
-
"default": "`
|
1346
|
-
"description": "
|
1354
|
+
"name": "actions",
|
1355
|
+
"default": "`[]`",
|
1356
|
+
"description": "Options",
|
1347
1357
|
"options": [],
|
1348
1358
|
"value": {
|
1349
|
-
"type": "
|
1359
|
+
"type": "ActionSheetAction[]",
|
1350
1360
|
"kind": "expression"
|
1351
1361
|
}
|
1352
1362
|
},
|
1353
1363
|
{
|
1354
|
-
"name": "
|
1364
|
+
"name": "title",
|
1355
1365
|
"default": "-",
|
1356
|
-
"description": "
|
1366
|
+
"description": "Title",
|
1357
1367
|
"options": [],
|
1358
1368
|
"value": {
|
1359
1369
|
"type": "string",
|
@@ -1361,9 +1371,9 @@
|
|
1361
1371
|
}
|
1362
1372
|
},
|
1363
1373
|
{
|
1364
|
-
"name": "
|
1374
|
+
"name": "cancel-text",
|
1365
1375
|
"default": "-",
|
1366
|
-
"description": "
|
1376
|
+
"description": "Text of cancel button",
|
1367
1377
|
"options": [],
|
1368
1378
|
"value": {
|
1369
1379
|
"type": "string",
|
@@ -1371,19 +1381,9 @@
|
|
1371
1381
|
}
|
1372
1382
|
},
|
1373
1383
|
{
|
1374
|
-
"name": "
|
1384
|
+
"name": "description",
|
1375
1385
|
"default": "-",
|
1376
|
-
"description": "
|
1377
|
-
"options": [],
|
1378
|
-
"value": {
|
1379
|
-
"type": "string",
|
1380
|
-
"kind": "expression"
|
1381
|
-
}
|
1382
|
-
},
|
1383
|
-
{
|
1384
|
-
"name": "icon-prefix",
|
1385
|
-
"default": "`van-icon`",
|
1386
|
-
"description": "Icon className prefix",
|
1386
|
+
"description": "Description above the options",
|
1387
1387
|
"options": [],
|
1388
1388
|
"value": {
|
1389
1389
|
"type": "string",
|
@@ -1391,19 +1391,19 @@
|
|
1391
1391
|
}
|
1392
1392
|
},
|
1393
1393
|
{
|
1394
|
-
"name": "
|
1395
|
-
"default": "`
|
1396
|
-
"description": "
|
1394
|
+
"name": "closeable",
|
1395
|
+
"default": "`true`",
|
1396
|
+
"description": "Whether to show close icon",
|
1397
1397
|
"options": [],
|
1398
1398
|
"value": {
|
1399
|
-
"type": "
|
1399
|
+
"type": "boolean",
|
1400
1400
|
"kind": "expression"
|
1401
1401
|
}
|
1402
1402
|
},
|
1403
1403
|
{
|
1404
|
-
"name": "
|
1405
|
-
"default": "`
|
1406
|
-
"description": "
|
1404
|
+
"name": "close-icon",
|
1405
|
+
"default": "`cross`",
|
1406
|
+
"description": "Close icon name",
|
1407
1407
|
"options": [],
|
1408
1408
|
"value": {
|
1409
1409
|
"type": "string",
|
@@ -1411,19 +1411,19 @@
|
|
1411
1411
|
}
|
1412
1412
|
},
|
1413
1413
|
{
|
1414
|
-
"name": "
|
1415
|
-
"default": "`
|
1416
|
-
"description": "
|
1414
|
+
"name": "duration",
|
1415
|
+
"default": "`0.3`",
|
1416
|
+
"description": "Transition duration, unit second",
|
1417
1417
|
"options": [],
|
1418
1418
|
"value": {
|
1419
|
-
"type": "string",
|
1419
|
+
"type": "number | string",
|
1420
1420
|
"kind": "expression"
|
1421
1421
|
}
|
1422
1422
|
},
|
1423
1423
|
{
|
1424
|
-
"name": "
|
1425
|
-
"default": "`
|
1426
|
-
"description": "Whether to
|
1424
|
+
"name": "round",
|
1425
|
+
"default": "`true`",
|
1426
|
+
"description": "Whether to show round corner",
|
1427
1427
|
"options": [],
|
1428
1428
|
"value": {
|
1429
1429
|
"type": "boolean",
|
@@ -1431,9 +1431,9 @@
|
|
1431
1431
|
}
|
1432
1432
|
},
|
1433
1433
|
{
|
1434
|
-
"name": "
|
1435
|
-
"default": "`
|
1436
|
-
"description": "Whether to
|
1434
|
+
"name": "overlay",
|
1435
|
+
"default": "`true`",
|
1436
|
+
"description": "Whether to show overlay",
|
1437
1437
|
"options": [],
|
1438
1438
|
"value": {
|
1439
1439
|
"type": "boolean",
|
@@ -1441,29 +1441,29 @@
|
|
1441
1441
|
}
|
1442
1442
|
},
|
1443
1443
|
{
|
1444
|
-
"name": "
|
1445
|
-
"default": "
|
1446
|
-
"description": "
|
1444
|
+
"name": "overlay-class",
|
1445
|
+
"default": "-",
|
1446
|
+
"description": "Custom overlay class",
|
1447
1447
|
"options": [],
|
1448
1448
|
"value": {
|
1449
|
-
"type": "
|
1449
|
+
"type": "string | Array | object",
|
1450
1450
|
"kind": "expression"
|
1451
1451
|
}
|
1452
1452
|
},
|
1453
1453
|
{
|
1454
|
-
"name": "
|
1455
|
-
"default": "
|
1456
|
-
"description": "
|
1454
|
+
"name": "overlay-style",
|
1455
|
+
"default": "-",
|
1456
|
+
"description": "Custom overlay style",
|
1457
1457
|
"options": [],
|
1458
1458
|
"value": {
|
1459
|
-
"type": "
|
1459
|
+
"type": "object",
|
1460
1460
|
"kind": "expression"
|
1461
1461
|
}
|
1462
1462
|
},
|
1463
1463
|
{
|
1464
|
-
"name": "
|
1465
|
-
"default": "`
|
1466
|
-
"description": "Whether to
|
1464
|
+
"name": "lock-scroll",
|
1465
|
+
"default": "`true`",
|
1466
|
+
"description": "Whether to lock background scroll",
|
1467
1467
|
"options": [],
|
1468
1468
|
"value": {
|
1469
1469
|
"type": "boolean",
|
@@ -1471,9 +1471,9 @@
|
|
1471
1471
|
}
|
1472
1472
|
},
|
1473
1473
|
{
|
1474
|
-
"name": "
|
1475
|
-
"default": "`
|
1476
|
-
"description": "Whether to
|
1474
|
+
"name": "lazy-render",
|
1475
|
+
"default": "`true`",
|
1476
|
+
"description": "Whether to lazy render util appeared",
|
1477
1477
|
"options": [],
|
1478
1478
|
"value": {
|
1479
1479
|
"type": "boolean",
|
@@ -1481,62 +1481,62 @@
|
|
1481
1481
|
}
|
1482
1482
|
},
|
1483
1483
|
{
|
1484
|
-
"name": "
|
1485
|
-
"default": "
|
1486
|
-
"description": "
|
1484
|
+
"name": "close-on-popstate",
|
1485
|
+
"default": "`true`",
|
1486
|
+
"description": "Whether to close when popstate",
|
1487
1487
|
"options": [],
|
1488
1488
|
"value": {
|
1489
|
-
"type": "
|
1489
|
+
"type": "boolean",
|
1490
1490
|
"kind": "expression"
|
1491
1491
|
}
|
1492
1492
|
},
|
1493
1493
|
{
|
1494
|
-
"name": "
|
1495
|
-
"default": "`
|
1496
|
-
"description": "
|
1494
|
+
"name": "close-on-click-action",
|
1495
|
+
"default": "`false`",
|
1496
|
+
"description": "Whether to close when an action is clicked",
|
1497
1497
|
"options": [],
|
1498
1498
|
"value": {
|
1499
|
-
"type": "
|
1499
|
+
"type": "boolean",
|
1500
1500
|
"kind": "expression"
|
1501
1501
|
}
|
1502
1502
|
},
|
1503
1503
|
{
|
1504
|
-
"name": "
|
1505
|
-
"default": "`
|
1506
|
-
"description": "
|
1504
|
+
"name": "close-on-click-overlay",
|
1505
|
+
"default": "`true`",
|
1506
|
+
"description": "Whether to close when overlay is clicked",
|
1507
1507
|
"options": [],
|
1508
1508
|
"value": {
|
1509
|
-
"type": "
|
1509
|
+
"type": "boolean",
|
1510
1510
|
"kind": "expression"
|
1511
1511
|
}
|
1512
1512
|
},
|
1513
1513
|
{
|
1514
|
-
"name": "
|
1515
|
-
"default": "
|
1516
|
-
"description": "
|
1514
|
+
"name": "safe-area-inset-bottom",
|
1515
|
+
"default": "`true`",
|
1516
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1517
1517
|
"options": [],
|
1518
1518
|
"value": {
|
1519
|
-
"type": "
|
1519
|
+
"type": "boolean",
|
1520
1520
|
"kind": "expression"
|
1521
1521
|
}
|
1522
1522
|
},
|
1523
1523
|
{
|
1524
|
-
"name": "
|
1524
|
+
"name": "teleport",
|
1525
1525
|
"default": "-",
|
1526
|
-
"description": "
|
1526
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1527
1527
|
"options": [],
|
1528
1528
|
"value": {
|
1529
|
-
"type": "string |
|
1529
|
+
"type": "string | Element",
|
1530
1530
|
"kind": "expression"
|
1531
1531
|
}
|
1532
1532
|
},
|
1533
1533
|
{
|
1534
|
-
"name": "
|
1535
|
-
"default": "
|
1536
|
-
"description": "
|
1534
|
+
"name": "before-close",
|
1535
|
+
"default": "-",
|
1536
|
+
"description": "Callback function before close",
|
1537
1537
|
"options": [],
|
1538
1538
|
"value": {
|
1539
|
-
"type": "boolean",
|
1539
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1540
1540
|
"kind": "expression"
|
1541
1541
|
}
|
1542
1542
|
}
|
@@ -2236,242 +2236,37 @@
|
|
2236
2236
|
{
|
2237
2237
|
"name": "options",
|
2238
2238
|
"default": "`[]`",
|
2239
|
-
"description": "Options",
|
2240
|
-
"options": [],
|
2241
|
-
"value": {
|
2242
|
-
"type": "CascaderOption[]",
|
2243
|
-
"kind": "expression"
|
2244
|
-
}
|
2245
|
-
},
|
2246
|
-
{
|
2247
|
-
"name": "placeholder",
|
2248
|
-
"default": "`Select`",
|
2249
|
-
"description": "Placeholder of unselected tab",
|
2250
|
-
"options": [],
|
2251
|
-
"value": {
|
2252
|
-
"type": "string",
|
2253
|
-
"kind": "expression"
|
2254
|
-
}
|
2255
|
-
},
|
2256
|
-
{
|
2257
|
-
"name": "active-color",
|
2258
|
-
"default": "`#ee0a24`",
|
2259
|
-
"description": "Active color",
|
2260
|
-
"options": [],
|
2261
|
-
"value": {
|
2262
|
-
"type": "string",
|
2263
|
-
"kind": "expression"
|
2264
|
-
}
|
2265
|
-
},
|
2266
|
-
{
|
2267
|
-
"name": "swipeable",
|
2268
|
-
"default": "`false`",
|
2269
|
-
"description": "Whether to enable gestures to slide left and right",
|
2270
|
-
"options": [],
|
2271
|
-
"value": {
|
2272
|
-
"type": "boolean",
|
2273
|
-
"kind": "expression"
|
2274
|
-
}
|
2275
|
-
},
|
2276
|
-
{
|
2277
|
-
"name": "closeable",
|
2278
|
-
"default": "`true`",
|
2279
|
-
"description": "Whether to show close icon",
|
2280
|
-
"options": [],
|
2281
|
-
"value": {
|
2282
|
-
"type": "boolean",
|
2283
|
-
"kind": "expression"
|
2284
|
-
}
|
2285
|
-
},
|
2286
|
-
{
|
2287
|
-
"name": "show-header",
|
2288
|
-
"default": "`true`",
|
2289
|
-
"description": "Whether to show header",
|
2290
|
-
"options": [],
|
2291
|
-
"value": {
|
2292
|
-
"type": "boolean",
|
2293
|
-
"kind": "expression"
|
2294
|
-
}
|
2295
|
-
},
|
2296
|
-
{
|
2297
|
-
"name": "close-icon",
|
2298
|
-
"default": "`cross`",
|
2299
|
-
"description": "Close icon name",
|
2300
|
-
"options": [],
|
2301
|
-
"value": {
|
2302
|
-
"type": "string",
|
2303
|
-
"kind": "expression"
|
2304
|
-
}
|
2305
|
-
},
|
2306
|
-
{
|
2307
|
-
"name": "field-names",
|
2308
|
-
"default": "`{ text: 'text', value: 'value', children: 'children' }`",
|
2309
|
-
"description": "Custom the fields of options",
|
2310
|
-
"options": [],
|
2311
|
-
"value": {
|
2312
|
-
"type": "object",
|
2313
|
-
"kind": "expression"
|
2314
|
-
}
|
2315
|
-
}
|
2316
|
-
]
|
2317
|
-
},
|
2318
|
-
{
|
2319
|
-
"name": "van-checkbox",
|
2320
|
-
"slots": [
|
2321
|
-
{
|
2322
|
-
"name": "default",
|
2323
|
-
"description": "Custom label"
|
2324
|
-
},
|
2325
|
-
{
|
2326
|
-
"name": "icon",
|
2327
|
-
"description": "Custom icon"
|
2328
|
-
}
|
2329
|
-
],
|
2330
|
-
"events": [
|
2331
|
-
{
|
2332
|
-
"name": "change",
|
2333
|
-
"description": "Emitted when value changed",
|
2334
|
-
"arguments": [
|
2335
|
-
{
|
2336
|
-
"name": "checked",
|
2337
|
-
"type": "boolean"
|
2338
|
-
}
|
2339
|
-
]
|
2340
|
-
},
|
2341
|
-
{
|
2342
|
-
"name": "click",
|
2343
|
-
"description": "Emitted when the checkbox is clicked",
|
2344
|
-
"arguments": [
|
2345
|
-
{
|
2346
|
-
"name": "event",
|
2347
|
-
"type": "MouseEvent"
|
2348
|
-
}
|
2349
|
-
]
|
2350
|
-
}
|
2351
|
-
],
|
2352
|
-
"attributes": [
|
2353
|
-
{
|
2354
|
-
"name": "v-model",
|
2355
|
-
"default": "`false`",
|
2356
|
-
"description": "Check status",
|
2357
|
-
"options": [],
|
2358
|
-
"value": {
|
2359
|
-
"type": "boolean",
|
2360
|
-
"kind": "expression"
|
2361
|
-
}
|
2362
|
-
},
|
2363
|
-
{
|
2364
|
-
"name": "name",
|
2365
|
-
"default": "-",
|
2366
|
-
"description": "Checkbox name, usually a unique string or number",
|
2367
|
-
"options": [],
|
2368
|
-
"value": {
|
2369
|
-
"type": "any",
|
2370
|
-
"kind": "expression"
|
2371
|
-
}
|
2372
|
-
},
|
2373
|
-
{
|
2374
|
-
"name": "shape",
|
2375
|
-
"default": "`round`",
|
2376
|
-
"description": "Can be set to `square`",
|
2377
|
-
"options": [],
|
2378
|
-
"value": {
|
2379
|
-
"type": "string",
|
2380
|
-
"kind": "expression"
|
2381
|
-
}
|
2382
|
-
},
|
2383
|
-
{
|
2384
|
-
"name": "disabled",
|
2385
|
-
"default": "`false`",
|
2386
|
-
"description": "Disable checkbox",
|
2387
|
-
"options": [],
|
2388
|
-
"value": {
|
2389
|
-
"type": "boolean",
|
2390
|
-
"kind": "expression"
|
2391
|
-
}
|
2392
|
-
},
|
2393
|
-
{
|
2394
|
-
"name": "label-disabled",
|
2395
|
-
"default": "`false`",
|
2396
|
-
"description": "Whether to disable label click",
|
2397
|
-
"options": [],
|
2398
|
-
"value": {
|
2399
|
-
"type": "boolean",
|
2400
|
-
"kind": "expression"
|
2401
|
-
}
|
2402
|
-
},
|
2403
|
-
{
|
2404
|
-
"name": "label-position",
|
2405
|
-
"default": "`right`",
|
2406
|
-
"description": "Can be set to `left`",
|
2407
|
-
"options": [],
|
2408
|
-
"value": {
|
2409
|
-
"type": "string",
|
2410
|
-
"kind": "expression"
|
2411
|
-
}
|
2412
|
-
},
|
2413
|
-
{
|
2414
|
-
"name": "icon-size",
|
2415
|
-
"default": "`20px`",
|
2416
|
-
"description": "Icon size",
|
2417
|
-
"options": [],
|
2418
|
-
"value": {
|
2419
|
-
"type": "number | string",
|
2420
|
-
"kind": "expression"
|
2421
|
-
}
|
2422
|
-
},
|
2423
|
-
{
|
2424
|
-
"name": "checked-color",
|
2425
|
-
"default": "`#1989fa`",
|
2426
|
-
"description": "Checked color",
|
2427
|
-
"options": [],
|
2428
|
-
"value": {
|
2429
|
-
"type": "string",
|
2430
|
-
"kind": "expression"
|
2431
|
-
}
|
2432
|
-
},
|
2433
|
-
{
|
2434
|
-
"name": "bind-group",
|
2435
|
-
"default": "`true`",
|
2436
|
-
"description": "Whether to bind with CheckboxGroup",
|
2437
|
-
"options": [],
|
2438
|
-
"value": {
|
2439
|
-
"type": "boolean",
|
2440
|
-
"kind": "expression"
|
2441
|
-
}
|
2442
|
-
}
|
2443
|
-
]
|
2444
|
-
},
|
2445
|
-
{
|
2446
|
-
"name": "van-checkbox-group",
|
2447
|
-
"slots": [],
|
2448
|
-
"events": [
|
2449
|
-
{
|
2450
|
-
"name": "change",
|
2451
|
-
"description": "Emitted when value changed",
|
2452
|
-
"arguments": [
|
2453
|
-
{
|
2454
|
-
"name": "names",
|
2455
|
-
"type": "any[]"
|
2456
|
-
}
|
2457
|
-
]
|
2458
|
-
}
|
2459
|
-
],
|
2460
|
-
"attributes": [
|
2239
|
+
"description": "Options",
|
2240
|
+
"options": [],
|
2241
|
+
"value": {
|
2242
|
+
"type": "CascaderOption[]",
|
2243
|
+
"kind": "expression"
|
2244
|
+
}
|
2245
|
+
},
|
2461
2246
|
{
|
2462
|
-
"name": "
|
2463
|
-
"default": "
|
2464
|
-
"description": "
|
2247
|
+
"name": "placeholder",
|
2248
|
+
"default": "`Select`",
|
2249
|
+
"description": "Placeholder of unselected tab",
|
2465
2250
|
"options": [],
|
2466
2251
|
"value": {
|
2467
|
-
"type": "
|
2252
|
+
"type": "string",
|
2468
2253
|
"kind": "expression"
|
2469
2254
|
}
|
2470
2255
|
},
|
2471
2256
|
{
|
2472
|
-
"name": "
|
2257
|
+
"name": "active-color",
|
2258
|
+
"default": "`#ee0a24`",
|
2259
|
+
"description": "Active color",
|
2260
|
+
"options": [],
|
2261
|
+
"value": {
|
2262
|
+
"type": "string",
|
2263
|
+
"kind": "expression"
|
2264
|
+
}
|
2265
|
+
},
|
2266
|
+
{
|
2267
|
+
"name": "swipeable",
|
2473
2268
|
"default": "`false`",
|
2474
|
-
"description": "Whether to
|
2269
|
+
"description": "Whether to enable gestures to slide left and right",
|
2475
2270
|
"options": [],
|
2476
2271
|
"value": {
|
2477
2272
|
"type": "boolean",
|
@@ -2479,42 +2274,42 @@
|
|
2479
2274
|
}
|
2480
2275
|
},
|
2481
2276
|
{
|
2482
|
-
"name": "
|
2483
|
-
"default": "`
|
2484
|
-
"description": "
|
2277
|
+
"name": "closeable",
|
2278
|
+
"default": "`true`",
|
2279
|
+
"description": "Whether to show close icon",
|
2485
2280
|
"options": [],
|
2486
2281
|
"value": {
|
2487
|
-
"type": "
|
2282
|
+
"type": "boolean",
|
2488
2283
|
"kind": "expression"
|
2489
2284
|
}
|
2490
2285
|
},
|
2491
2286
|
{
|
2492
|
-
"name": "
|
2493
|
-
"default": "`
|
2494
|
-
"description": "
|
2287
|
+
"name": "show-header",
|
2288
|
+
"default": "`true`",
|
2289
|
+
"description": "Whether to show header",
|
2495
2290
|
"options": [],
|
2496
2291
|
"value": {
|
2497
|
-
"type": "
|
2292
|
+
"type": "boolean",
|
2498
2293
|
"kind": "expression"
|
2499
2294
|
}
|
2500
2295
|
},
|
2501
2296
|
{
|
2502
|
-
"name": "icon
|
2503
|
-
"default": "`
|
2504
|
-
"description": "
|
2297
|
+
"name": "close-icon",
|
2298
|
+
"default": "`cross`",
|
2299
|
+
"description": "Close icon name",
|
2505
2300
|
"options": [],
|
2506
2301
|
"value": {
|
2507
|
-
"type": "
|
2302
|
+
"type": "string",
|
2508
2303
|
"kind": "expression"
|
2509
2304
|
}
|
2510
2305
|
},
|
2511
2306
|
{
|
2512
|
-
"name": "
|
2513
|
-
"default": "
|
2514
|
-
"description": "
|
2307
|
+
"name": "field-names",
|
2308
|
+
"default": "`{ text: 'text', value: 'value', children: 'children' }`",
|
2309
|
+
"description": "Custom the fields of options",
|
2515
2310
|
"options": [],
|
2516
2311
|
"value": {
|
2517
|
-
"type": "
|
2312
|
+
"type": "object",
|
2518
2313
|
"kind": "expression"
|
2519
2314
|
}
|
2520
2315
|
}
|
@@ -2643,24 +2438,221 @@
|
|
2643
2438
|
"description": "Size, can be set to `large`",
|
2644
2439
|
"options": [],
|
2645
2440
|
"value": {
|
2646
|
-
"type": "string",
|
2441
|
+
"type": "string",
|
2442
|
+
"kind": "expression"
|
2443
|
+
}
|
2444
|
+
},
|
2445
|
+
{
|
2446
|
+
"name": "icon",
|
2447
|
+
"default": "-",
|
2448
|
+
"description": "Left Icon",
|
2449
|
+
"options": [],
|
2450
|
+
"value": {
|
2451
|
+
"type": "string",
|
2452
|
+
"kind": "expression"
|
2453
|
+
}
|
2454
|
+
},
|
2455
|
+
{
|
2456
|
+
"name": "icon-prefix",
|
2457
|
+
"default": "`van-icon`",
|
2458
|
+
"description": "Icon className prefix",
|
2459
|
+
"options": [],
|
2460
|
+
"value": {
|
2461
|
+
"type": "string",
|
2462
|
+
"kind": "expression"
|
2463
|
+
}
|
2464
|
+
},
|
2465
|
+
{
|
2466
|
+
"name": "border",
|
2467
|
+
"default": "`true`",
|
2468
|
+
"description": "Whether to show inner border",
|
2469
|
+
"options": [],
|
2470
|
+
"value": {
|
2471
|
+
"type": "boolean",
|
2472
|
+
"kind": "expression"
|
2473
|
+
}
|
2474
|
+
},
|
2475
|
+
{
|
2476
|
+
"name": "center",
|
2477
|
+
"default": "`false`",
|
2478
|
+
"description": "Whether to center content vertically",
|
2479
|
+
"options": [],
|
2480
|
+
"value": {
|
2481
|
+
"type": "boolean",
|
2482
|
+
"kind": "expression"
|
2483
|
+
}
|
2484
|
+
},
|
2485
|
+
{
|
2486
|
+
"name": "url",
|
2487
|
+
"default": "-",
|
2488
|
+
"description": "Link URL",
|
2489
|
+
"options": [],
|
2490
|
+
"value": {
|
2491
|
+
"type": "string",
|
2492
|
+
"kind": "expression"
|
2493
|
+
}
|
2494
|
+
},
|
2495
|
+
{
|
2496
|
+
"name": "to",
|
2497
|
+
"default": "-",
|
2498
|
+
"description": "Target route of the link, same as to of vue-router",
|
2499
|
+
"options": [],
|
2500
|
+
"value": {
|
2501
|
+
"type": "string | object",
|
2502
|
+
"kind": "expression"
|
2503
|
+
}
|
2504
|
+
},
|
2505
|
+
{
|
2506
|
+
"name": "replace",
|
2507
|
+
"default": "`false`",
|
2508
|
+
"description": "If true, the navigation will not leave a history record",
|
2509
|
+
"options": [],
|
2510
|
+
"value": {
|
2511
|
+
"type": "boolean",
|
2512
|
+
"kind": "expression"
|
2513
|
+
}
|
2514
|
+
},
|
2515
|
+
{
|
2516
|
+
"name": "clickable",
|
2517
|
+
"default": "`null`",
|
2518
|
+
"description": "Whether to show click feedback when clicked",
|
2519
|
+
"options": [],
|
2520
|
+
"value": {
|
2521
|
+
"type": "boolean",
|
2522
|
+
"kind": "expression"
|
2523
|
+
}
|
2524
|
+
},
|
2525
|
+
{
|
2526
|
+
"name": "is-link",
|
2527
|
+
"default": "`false`",
|
2528
|
+
"description": "Whether to show link icon",
|
2529
|
+
"options": [],
|
2530
|
+
"value": {
|
2531
|
+
"type": "boolean",
|
2532
|
+
"kind": "expression"
|
2533
|
+
}
|
2534
|
+
},
|
2535
|
+
{
|
2536
|
+
"name": "required",
|
2537
|
+
"default": "`false`",
|
2538
|
+
"description": "Whether to show required mark",
|
2539
|
+
"options": [],
|
2540
|
+
"value": {
|
2541
|
+
"type": "boolean",
|
2542
|
+
"kind": "expression"
|
2543
|
+
}
|
2544
|
+
},
|
2545
|
+
{
|
2546
|
+
"name": "arrow-direction",
|
2547
|
+
"default": "`right`",
|
2548
|
+
"description": "Can be set to `left` `up` `down`",
|
2549
|
+
"options": [],
|
2550
|
+
"value": {
|
2551
|
+
"type": "string",
|
2552
|
+
"kind": "expression"
|
2553
|
+
}
|
2554
|
+
},
|
2555
|
+
{
|
2556
|
+
"name": "title-style",
|
2557
|
+
"default": "-",
|
2558
|
+
"description": "Title style",
|
2559
|
+
"options": [],
|
2560
|
+
"value": {
|
2561
|
+
"type": "string | Array | object",
|
2562
|
+
"kind": "expression"
|
2563
|
+
}
|
2564
|
+
},
|
2565
|
+
{
|
2566
|
+
"name": "title-class",
|
2567
|
+
"default": "-",
|
2568
|
+
"description": "Title className",
|
2569
|
+
"options": [],
|
2570
|
+
"value": {
|
2571
|
+
"type": "string | Array | object",
|
2572
|
+
"kind": "expression"
|
2573
|
+
}
|
2574
|
+
},
|
2575
|
+
{
|
2576
|
+
"name": "value-class",
|
2577
|
+
"default": "-",
|
2578
|
+
"description": "Value className",
|
2579
|
+
"options": [],
|
2580
|
+
"value": {
|
2581
|
+
"type": "string | Array | object",
|
2582
|
+
"kind": "expression"
|
2583
|
+
}
|
2584
|
+
},
|
2585
|
+
{
|
2586
|
+
"name": "label-class",
|
2587
|
+
"default": "-",
|
2588
|
+
"description": "Label className",
|
2589
|
+
"options": [],
|
2590
|
+
"value": {
|
2591
|
+
"type": "string | Array | object",
|
2592
|
+
"kind": "expression"
|
2593
|
+
}
|
2594
|
+
}
|
2595
|
+
]
|
2596
|
+
},
|
2597
|
+
{
|
2598
|
+
"name": "van-checkbox",
|
2599
|
+
"slots": [
|
2600
|
+
{
|
2601
|
+
"name": "default",
|
2602
|
+
"description": "Custom label"
|
2603
|
+
},
|
2604
|
+
{
|
2605
|
+
"name": "icon",
|
2606
|
+
"description": "Custom icon"
|
2607
|
+
}
|
2608
|
+
],
|
2609
|
+
"events": [
|
2610
|
+
{
|
2611
|
+
"name": "change",
|
2612
|
+
"description": "Emitted when value changed",
|
2613
|
+
"arguments": [
|
2614
|
+
{
|
2615
|
+
"name": "checked",
|
2616
|
+
"type": "boolean"
|
2617
|
+
}
|
2618
|
+
]
|
2619
|
+
},
|
2620
|
+
{
|
2621
|
+
"name": "click",
|
2622
|
+
"description": "Emitted when the checkbox is clicked",
|
2623
|
+
"arguments": [
|
2624
|
+
{
|
2625
|
+
"name": "event",
|
2626
|
+
"type": "MouseEvent"
|
2627
|
+
}
|
2628
|
+
]
|
2629
|
+
}
|
2630
|
+
],
|
2631
|
+
"attributes": [
|
2632
|
+
{
|
2633
|
+
"name": "v-model",
|
2634
|
+
"default": "`false`",
|
2635
|
+
"description": "Check status",
|
2636
|
+
"options": [],
|
2637
|
+
"value": {
|
2638
|
+
"type": "boolean",
|
2647
2639
|
"kind": "expression"
|
2648
2640
|
}
|
2649
2641
|
},
|
2650
2642
|
{
|
2651
|
-
"name": "
|
2643
|
+
"name": "name",
|
2652
2644
|
"default": "-",
|
2653
|
-
"description": "
|
2645
|
+
"description": "Checkbox name, usually a unique string or number",
|
2654
2646
|
"options": [],
|
2655
2647
|
"value": {
|
2656
|
-
"type": "
|
2648
|
+
"type": "any",
|
2657
2649
|
"kind": "expression"
|
2658
2650
|
}
|
2659
2651
|
},
|
2660
2652
|
{
|
2661
|
-
"name": "
|
2662
|
-
"default": "`
|
2663
|
-
"description": "
|
2653
|
+
"name": "shape",
|
2654
|
+
"default": "`round`",
|
2655
|
+
"description": "Can be set to `square`",
|
2664
2656
|
"options": [],
|
2665
2657
|
"value": {
|
2666
2658
|
"type": "string",
|
@@ -2668,9 +2660,9 @@
|
|
2668
2660
|
}
|
2669
2661
|
},
|
2670
2662
|
{
|
2671
|
-
"name": "
|
2672
|
-
"default": "`
|
2673
|
-
"description": "
|
2663
|
+
"name": "disabled",
|
2664
|
+
"default": "`false`",
|
2665
|
+
"description": "Disable checkbox",
|
2674
2666
|
"options": [],
|
2675
2667
|
"value": {
|
2676
2668
|
"type": "boolean",
|
@@ -2678,9 +2670,9 @@
|
|
2678
2670
|
}
|
2679
2671
|
},
|
2680
2672
|
{
|
2681
|
-
"name": "
|
2673
|
+
"name": "label-disabled",
|
2682
2674
|
"default": "`false`",
|
2683
|
-
"description": "Whether to
|
2675
|
+
"description": "Whether to disable label click",
|
2684
2676
|
"options": [],
|
2685
2677
|
"value": {
|
2686
2678
|
"type": "boolean",
|
@@ -2688,9 +2680,9 @@
|
|
2688
2680
|
}
|
2689
2681
|
},
|
2690
2682
|
{
|
2691
|
-
"name": "
|
2692
|
-
"default": "
|
2693
|
-
"description": "
|
2683
|
+
"name": "label-position",
|
2684
|
+
"default": "`right`",
|
2685
|
+
"description": "Can be set to `left`",
|
2694
2686
|
"options": [],
|
2695
2687
|
"value": {
|
2696
2688
|
"type": "string",
|
@@ -2698,49 +2690,67 @@
|
|
2698
2690
|
}
|
2699
2691
|
},
|
2700
2692
|
{
|
2701
|
-
"name": "
|
2702
|
-
"default": "
|
2703
|
-
"description": "
|
2693
|
+
"name": "icon-size",
|
2694
|
+
"default": "`20px`",
|
2695
|
+
"description": "Icon size",
|
2704
2696
|
"options": [],
|
2705
2697
|
"value": {
|
2706
|
-
"type": "
|
2698
|
+
"type": "number | string",
|
2707
2699
|
"kind": "expression"
|
2708
2700
|
}
|
2709
2701
|
},
|
2710
2702
|
{
|
2711
|
-
"name": "
|
2712
|
-
"default": "`
|
2713
|
-
"description": "
|
2703
|
+
"name": "checked-color",
|
2704
|
+
"default": "`#1989fa`",
|
2705
|
+
"description": "Checked color",
|
2714
2706
|
"options": [],
|
2715
2707
|
"value": {
|
2716
|
-
"type": "
|
2708
|
+
"type": "string",
|
2717
2709
|
"kind": "expression"
|
2718
2710
|
}
|
2719
2711
|
},
|
2720
2712
|
{
|
2721
|
-
"name": "
|
2722
|
-
"default": "`
|
2723
|
-
"description": "Whether to
|
2713
|
+
"name": "bind-group",
|
2714
|
+
"default": "`true`",
|
2715
|
+
"description": "Whether to bind with CheckboxGroup",
|
2724
2716
|
"options": [],
|
2725
2717
|
"value": {
|
2726
2718
|
"type": "boolean",
|
2727
2719
|
"kind": "expression"
|
2728
2720
|
}
|
2729
|
-
}
|
2721
|
+
}
|
2722
|
+
]
|
2723
|
+
},
|
2724
|
+
{
|
2725
|
+
"name": "van-checkbox-group",
|
2726
|
+
"slots": [],
|
2727
|
+
"events": [
|
2730
2728
|
{
|
2731
|
-
"name": "
|
2732
|
-
"
|
2733
|
-
"
|
2729
|
+
"name": "change",
|
2730
|
+
"description": "Emitted when value changed",
|
2731
|
+
"arguments": [
|
2732
|
+
{
|
2733
|
+
"name": "names",
|
2734
|
+
"type": "any[]"
|
2735
|
+
}
|
2736
|
+
]
|
2737
|
+
}
|
2738
|
+
],
|
2739
|
+
"attributes": [
|
2740
|
+
{
|
2741
|
+
"name": "v-model",
|
2742
|
+
"default": "-",
|
2743
|
+
"description": "Names of all checked checkboxes",
|
2734
2744
|
"options": [],
|
2735
2745
|
"value": {
|
2736
|
-
"type": "
|
2746
|
+
"type": "any[]",
|
2737
2747
|
"kind": "expression"
|
2738
2748
|
}
|
2739
2749
|
},
|
2740
2750
|
{
|
2741
|
-
"name": "
|
2751
|
+
"name": "disabled",
|
2742
2752
|
"default": "`false`",
|
2743
|
-
"description": "Whether to
|
2753
|
+
"description": "Whether to disable all checkboxes",
|
2744
2754
|
"options": [],
|
2745
2755
|
"value": {
|
2746
2756
|
"type": "boolean",
|
@@ -2748,52 +2758,42 @@
|
|
2748
2758
|
}
|
2749
2759
|
},
|
2750
2760
|
{
|
2751
|
-
"name": "
|
2752
|
-
"default": "`
|
2753
|
-
"description": "
|
2754
|
-
"options": [],
|
2755
|
-
"value": {
|
2756
|
-
"type": "string",
|
2757
|
-
"kind": "expression"
|
2758
|
-
}
|
2759
|
-
},
|
2760
|
-
{
|
2761
|
-
"name": "title-style",
|
2762
|
-
"default": "-",
|
2763
|
-
"description": "Title style",
|
2761
|
+
"name": "max",
|
2762
|
+
"default": "`0`(Unlimited)",
|
2763
|
+
"description": "Maximum amount of checked options",
|
2764
2764
|
"options": [],
|
2765
2765
|
"value": {
|
2766
|
-
"type": "
|
2766
|
+
"type": "number | string",
|
2767
2767
|
"kind": "expression"
|
2768
2768
|
}
|
2769
2769
|
},
|
2770
2770
|
{
|
2771
|
-
"name": "
|
2772
|
-
"default": "
|
2773
|
-
"description": "
|
2771
|
+
"name": "direction",
|
2772
|
+
"default": "`vertical`",
|
2773
|
+
"description": "Direction, can be set to `horizontal`",
|
2774
2774
|
"options": [],
|
2775
2775
|
"value": {
|
2776
|
-
"type": "string
|
2776
|
+
"type": "string",
|
2777
2777
|
"kind": "expression"
|
2778
2778
|
}
|
2779
2779
|
},
|
2780
2780
|
{
|
2781
|
-
"name": "
|
2782
|
-
"default": "
|
2783
|
-
"description": "
|
2781
|
+
"name": "icon-size",
|
2782
|
+
"default": "`20px`",
|
2783
|
+
"description": "Icon size of all checkboxes",
|
2784
2784
|
"options": [],
|
2785
2785
|
"value": {
|
2786
|
-
"type": "
|
2786
|
+
"type": "number | string",
|
2787
2787
|
"kind": "expression"
|
2788
2788
|
}
|
2789
2789
|
},
|
2790
2790
|
{
|
2791
|
-
"name": "
|
2792
|
-
"default": "
|
2793
|
-
"description": "
|
2791
|
+
"name": "checked-color",
|
2792
|
+
"default": "`#1989fa`",
|
2793
|
+
"description": "Checked color of all checkboxes",
|
2794
2794
|
"options": [],
|
2795
2795
|
"value": {
|
2796
|
-
"type": "string
|
2796
|
+
"type": "string",
|
2797
2797
|
"kind": "expression"
|
2798
2798
|
}
|
2799
2799
|
}
|
@@ -6455,44 +6455,175 @@
|
|
6455
6455
|
"description": "Can be set to `spinner`",
|
6456
6456
|
"options": [],
|
6457
6457
|
"value": {
|
6458
|
-
"type": "string",
|
6458
|
+
"type": "string",
|
6459
|
+
"kind": "expression"
|
6460
|
+
}
|
6461
|
+
},
|
6462
|
+
{
|
6463
|
+
"name": "size",
|
6464
|
+
"default": "`30px`",
|
6465
|
+
"description": "Icon size",
|
6466
|
+
"options": [],
|
6467
|
+
"value": {
|
6468
|
+
"type": "number | string",
|
6469
|
+
"kind": "expression"
|
6470
|
+
}
|
6471
|
+
},
|
6472
|
+
{
|
6473
|
+
"name": "text-size",
|
6474
|
+
"default": "`14px`",
|
6475
|
+
"description": "Text font size",
|
6476
|
+
"options": [],
|
6477
|
+
"value": {
|
6478
|
+
"type": "number | string",
|
6479
|
+
"kind": "expression"
|
6480
|
+
}
|
6481
|
+
},
|
6482
|
+
{
|
6483
|
+
"name": "text-color",
|
6484
|
+
"default": "`#c9c9c9`",
|
6485
|
+
"description": "Text color",
|
6486
|
+
"options": [],
|
6487
|
+
"value": {
|
6488
|
+
"type": "string",
|
6489
|
+
"kind": "expression"
|
6490
|
+
}
|
6491
|
+
},
|
6492
|
+
{
|
6493
|
+
"name": "vertical",
|
6494
|
+
"default": "`false`",
|
6495
|
+
"description": "Whether to arrange icons and text content vertically",
|
6496
|
+
"options": [],
|
6497
|
+
"value": {
|
6498
|
+
"type": "boolean",
|
6499
|
+
"kind": "expression"
|
6500
|
+
}
|
6501
|
+
}
|
6502
|
+
]
|
6503
|
+
},
|
6504
|
+
{
|
6505
|
+
"name": "van-nav-bar",
|
6506
|
+
"slots": [
|
6507
|
+
{
|
6508
|
+
"name": "title",
|
6509
|
+
"description": "Custom title"
|
6510
|
+
},
|
6511
|
+
{
|
6512
|
+
"name": "left",
|
6513
|
+
"description": "Custom left side content"
|
6514
|
+
},
|
6515
|
+
{
|
6516
|
+
"name": "right",
|
6517
|
+
"description": "Custom right side content"
|
6518
|
+
}
|
6519
|
+
],
|
6520
|
+
"events": [
|
6521
|
+
{
|
6522
|
+
"name": "click-left",
|
6523
|
+
"description": "Emitted when the left button is clicked",
|
6524
|
+
"arguments": [
|
6525
|
+
{
|
6526
|
+
"name": "event",
|
6527
|
+
"type": "MouseEvent"
|
6528
|
+
}
|
6529
|
+
]
|
6530
|
+
},
|
6531
|
+
{
|
6532
|
+
"name": "click-right",
|
6533
|
+
"description": "Emitted when the right button is clicked",
|
6534
|
+
"arguments": [
|
6535
|
+
{
|
6536
|
+
"name": "event",
|
6537
|
+
"type": "MouseEvent"
|
6538
|
+
}
|
6539
|
+
]
|
6540
|
+
}
|
6541
|
+
],
|
6542
|
+
"attributes": [
|
6543
|
+
{
|
6544
|
+
"name": "title",
|
6545
|
+
"default": "`''`",
|
6546
|
+
"description": "Title",
|
6547
|
+
"options": [],
|
6548
|
+
"value": {
|
6549
|
+
"type": "string",
|
6550
|
+
"kind": "expression"
|
6551
|
+
}
|
6552
|
+
},
|
6553
|
+
{
|
6554
|
+
"name": "left-text",
|
6555
|
+
"default": "`''`",
|
6556
|
+
"description": "Left Text",
|
6557
|
+
"options": [],
|
6558
|
+
"value": {
|
6559
|
+
"type": "string",
|
6560
|
+
"kind": "expression"
|
6561
|
+
}
|
6562
|
+
},
|
6563
|
+
{
|
6564
|
+
"name": "right-text",
|
6565
|
+
"default": "`''`",
|
6566
|
+
"description": "Right Text",
|
6567
|
+
"options": [],
|
6568
|
+
"value": {
|
6569
|
+
"type": "string",
|
6570
|
+
"kind": "expression"
|
6571
|
+
}
|
6572
|
+
},
|
6573
|
+
{
|
6574
|
+
"name": "left-arrow",
|
6575
|
+
"default": "`false`",
|
6576
|
+
"description": "Whether to show left arrow",
|
6577
|
+
"options": [],
|
6578
|
+
"value": {
|
6579
|
+
"type": "boolean",
|
6580
|
+
"kind": "expression"
|
6581
|
+
}
|
6582
|
+
},
|
6583
|
+
{
|
6584
|
+
"name": "border",
|
6585
|
+
"default": "`true`",
|
6586
|
+
"description": "Whether to show bottom border",
|
6587
|
+
"options": [],
|
6588
|
+
"value": {
|
6589
|
+
"type": "boolean",
|
6459
6590
|
"kind": "expression"
|
6460
6591
|
}
|
6461
6592
|
},
|
6462
6593
|
{
|
6463
|
-
"name": "
|
6464
|
-
"default": "`
|
6465
|
-
"description": "
|
6594
|
+
"name": "fixed",
|
6595
|
+
"default": "`false`",
|
6596
|
+
"description": "Whether to fixed top",
|
6466
6597
|
"options": [],
|
6467
6598
|
"value": {
|
6468
|
-
"type": "
|
6599
|
+
"type": "boolean",
|
6469
6600
|
"kind": "expression"
|
6470
6601
|
}
|
6471
6602
|
},
|
6472
6603
|
{
|
6473
|
-
"name": "
|
6474
|
-
"default": "`
|
6475
|
-
"description": "
|
6604
|
+
"name": "placeholder",
|
6605
|
+
"default": "`false`",
|
6606
|
+
"description": "Whether to generate a placeholder element when fixed",
|
6476
6607
|
"options": [],
|
6477
6608
|
"value": {
|
6478
|
-
"type": "
|
6609
|
+
"type": "boolean",
|
6479
6610
|
"kind": "expression"
|
6480
6611
|
}
|
6481
6612
|
},
|
6482
6613
|
{
|
6483
|
-
"name": "
|
6484
|
-
"default": "
|
6485
|
-
"description": "
|
6614
|
+
"name": "z-index",
|
6615
|
+
"default": "`1`",
|
6616
|
+
"description": "Z-index",
|
6486
6617
|
"options": [],
|
6487
6618
|
"value": {
|
6488
|
-
"type": "string",
|
6619
|
+
"type": "number | string",
|
6489
6620
|
"kind": "expression"
|
6490
6621
|
}
|
6491
6622
|
},
|
6492
6623
|
{
|
6493
|
-
"name": "
|
6624
|
+
"name": "safe-area-inset-top",
|
6494
6625
|
"default": "`false`",
|
6495
|
-
"description": "Whether to
|
6626
|
+
"description": "Whether to enable top safe area adaptation",
|
6496
6627
|
"options": [],
|
6497
6628
|
"value": {
|
6498
6629
|
"type": "boolean",
|
@@ -6502,25 +6633,25 @@
|
|
6502
6633
|
]
|
6503
6634
|
},
|
6504
6635
|
{
|
6505
|
-
"name": "van-
|
6636
|
+
"name": "van-notice-bar",
|
6506
6637
|
"slots": [
|
6507
6638
|
{
|
6508
|
-
"name": "
|
6509
|
-
"description": "
|
6639
|
+
"name": "default",
|
6640
|
+
"description": "Notice text content"
|
6510
6641
|
},
|
6511
6642
|
{
|
6512
|
-
"name": "left",
|
6513
|
-
"description": "Custom left
|
6643
|
+
"name": "left-icon",
|
6644
|
+
"description": "Custom left icon"
|
6514
6645
|
},
|
6515
6646
|
{
|
6516
|
-
"name": "right",
|
6517
|
-
"description": "Custom right
|
6647
|
+
"name": "right-icon",
|
6648
|
+
"description": "Custom right icon"
|
6518
6649
|
}
|
6519
6650
|
],
|
6520
6651
|
"events": [
|
6521
6652
|
{
|
6522
|
-
"name": "click
|
6523
|
-
"description": "Emitted when
|
6653
|
+
"name": "click",
|
6654
|
+
"description": "Emitted when NoticeBar is clicked",
|
6524
6655
|
"arguments": [
|
6525
6656
|
{
|
6526
6657
|
"name": "event",
|
@@ -6529,21 +6660,26 @@
|
|
6529
6660
|
]
|
6530
6661
|
},
|
6531
6662
|
{
|
6532
|
-
"name": "
|
6533
|
-
"description": "Emitted when
|
6663
|
+
"name": "close",
|
6664
|
+
"description": "Emitted when NoticeBar is closed",
|
6534
6665
|
"arguments": [
|
6535
6666
|
{
|
6536
6667
|
"name": "event",
|
6537
6668
|
"type": "MouseEvent"
|
6538
6669
|
}
|
6539
6670
|
]
|
6671
|
+
},
|
6672
|
+
{
|
6673
|
+
"name": "replay",
|
6674
|
+
"description": "Emitted when NoticeBar is replayed",
|
6675
|
+
"arguments": []
|
6540
6676
|
}
|
6541
6677
|
],
|
6542
6678
|
"attributes": [
|
6543
6679
|
{
|
6544
|
-
"name": "
|
6680
|
+
"name": "mode",
|
6545
6681
|
"default": "`''`",
|
6546
|
-
"description": "
|
6682
|
+
"description": "Mode, can be set to `closeable` `link`",
|
6547
6683
|
"options": [],
|
6548
6684
|
"value": {
|
6549
6685
|
"type": "string",
|
@@ -6551,9 +6687,9 @@
|
|
6551
6687
|
}
|
6552
6688
|
},
|
6553
6689
|
{
|
6554
|
-
"name": "
|
6690
|
+
"name": "text",
|
6555
6691
|
"default": "`''`",
|
6556
|
-
"description": "
|
6692
|
+
"description": "Notice text content",
|
6557
6693
|
"options": [],
|
6558
6694
|
"value": {
|
6559
6695
|
"type": "string",
|
@@ -6561,9 +6697,9 @@
|
|
6561
6697
|
}
|
6562
6698
|
},
|
6563
6699
|
{
|
6564
|
-
"name": "
|
6565
|
-
"default": "`
|
6566
|
-
"description": "
|
6700
|
+
"name": "color",
|
6701
|
+
"default": "`#ed6a0c`",
|
6702
|
+
"description": "Text color",
|
6567
6703
|
"options": [],
|
6568
6704
|
"value": {
|
6569
6705
|
"type": "string",
|
@@ -6571,59 +6707,59 @@
|
|
6571
6707
|
}
|
6572
6708
|
},
|
6573
6709
|
{
|
6574
|
-
"name": "
|
6575
|
-
"default": "`
|
6576
|
-
"description": "
|
6710
|
+
"name": "background",
|
6711
|
+
"default": "`#fffbe8`",
|
6712
|
+
"description": "Background color",
|
6577
6713
|
"options": [],
|
6578
6714
|
"value": {
|
6579
|
-
"type": "
|
6715
|
+
"type": "string",
|
6580
6716
|
"kind": "expression"
|
6581
6717
|
}
|
6582
6718
|
},
|
6583
6719
|
{
|
6584
|
-
"name": "
|
6585
|
-
"default": "
|
6586
|
-
"description": "
|
6720
|
+
"name": "left-icon",
|
6721
|
+
"default": "-",
|
6722
|
+
"description": "Left Icon",
|
6587
6723
|
"options": [],
|
6588
6724
|
"value": {
|
6589
|
-
"type": "
|
6725
|
+
"type": "string",
|
6590
6726
|
"kind": "expression"
|
6591
6727
|
}
|
6592
6728
|
},
|
6593
6729
|
{
|
6594
|
-
"name": "
|
6595
|
-
"default": "`
|
6596
|
-
"description": "
|
6730
|
+
"name": "delay",
|
6731
|
+
"default": "`1`",
|
6732
|
+
"description": "Animation delay (s)",
|
6597
6733
|
"options": [],
|
6598
6734
|
"value": {
|
6599
|
-
"type": "
|
6735
|
+
"type": "number | string",
|
6600
6736
|
"kind": "expression"
|
6601
6737
|
}
|
6602
6738
|
},
|
6603
6739
|
{
|
6604
|
-
"name": "
|
6605
|
-
"default": "`
|
6606
|
-
"description": "
|
6740
|
+
"name": "speed",
|
6741
|
+
"default": "`60`",
|
6742
|
+
"description": "Scroll speed (px/s)",
|
6607
6743
|
"options": [],
|
6608
6744
|
"value": {
|
6609
|
-
"type": "
|
6745
|
+
"type": "number | string",
|
6610
6746
|
"kind": "expression"
|
6611
6747
|
}
|
6612
6748
|
},
|
6613
6749
|
{
|
6614
|
-
"name": "
|
6615
|
-
"default": "
|
6616
|
-
"description": "
|
6750
|
+
"name": "scrollable",
|
6751
|
+
"default": "-",
|
6752
|
+
"description": "Whether to scroll content",
|
6617
6753
|
"options": [],
|
6618
6754
|
"value": {
|
6619
|
-
"type": "
|
6755
|
+
"type": "boolean",
|
6620
6756
|
"kind": "expression"
|
6621
6757
|
}
|
6622
6758
|
},
|
6623
6759
|
{
|
6624
|
-
"name": "
|
6760
|
+
"name": "wrapable",
|
6625
6761
|
"default": "`false`",
|
6626
|
-
"description": "Whether to enable
|
6762
|
+
"description": "Whether to enable text wrap",
|
6627
6763
|
"options": [],
|
6628
6764
|
"value": {
|
6629
6765
|
"type": "boolean",
|
@@ -6788,194 +6924,58 @@
|
|
6788
6924
|
},
|
6789
6925
|
{
|
6790
6926
|
"name": "close-button-loading",
|
6791
|
-
"default": "`false`",
|
6792
|
-
"description": "Whether to show loading close button in custom theme",
|
6793
|
-
"options": [],
|
6794
|
-
"value": {
|
6795
|
-
"type": "boolean",
|
6796
|
-
"kind": "expression"
|
6797
|
-
}
|
6798
|
-
},
|
6799
|
-
{
|
6800
|
-
"name": "show-delete-key",
|
6801
|
-
"default": "`true`",
|
6802
|
-
"description": "Whether to show delete button",
|
6803
|
-
"options": [],
|
6804
|
-
"value": {
|
6805
|
-
"type": "boolean",
|
6806
|
-
"kind": "expression"
|
6807
|
-
}
|
6808
|
-
},
|
6809
|
-
{
|
6810
|
-
"name": "blur-on-close",
|
6811
|
-
"default": "`true`",
|
6812
|
-
"description": "Whether to emit blur event when clicking close button",
|
6813
|
-
"options": [],
|
6814
|
-
"value": {
|
6815
|
-
"type": "boolean",
|
6816
|
-
"kind": "expression"
|
6817
|
-
}
|
6818
|
-
},
|
6819
|
-
{
|
6820
|
-
"name": "hide-on-click-outside",
|
6821
|
-
"default": "`true`",
|
6822
|
-
"description": "Whether to hide keyboard when outside is clicked",
|
6823
|
-
"options": [],
|
6824
|
-
"value": {
|
6825
|
-
"type": "boolean",
|
6826
|
-
"kind": "expression"
|
6827
|
-
}
|
6828
|
-
},
|
6829
|
-
{
|
6830
|
-
"name": "teleport",
|
6831
|
-
"default": "-",
|
6832
|
-
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6833
|
-
"options": [],
|
6834
|
-
"value": {
|
6835
|
-
"type": "string | Element",
|
6836
|
-
"kind": "expression"
|
6837
|
-
}
|
6838
|
-
},
|
6839
|
-
{
|
6840
|
-
"name": "safe-area-inset-bottom",
|
6841
|
-
"default": "`true`",
|
6842
|
-
"description": "Whether to enable bottom safe area adaptation",
|
6843
|
-
"options": [],
|
6844
|
-
"value": {
|
6845
|
-
"type": "boolean",
|
6846
|
-
"kind": "expression"
|
6847
|
-
}
|
6848
|
-
},
|
6849
|
-
{
|
6850
|
-
"name": "random-key-order",
|
6851
|
-
"default": "`false`",
|
6852
|
-
"description": "Whether to shuffle the order of keys",
|
6853
|
-
"options": [],
|
6854
|
-
"value": {
|
6855
|
-
"type": "boolean",
|
6856
|
-
"kind": "expression"
|
6857
|
-
}
|
6858
|
-
}
|
6859
|
-
]
|
6860
|
-
},
|
6861
|
-
{
|
6862
|
-
"name": "van-notice-bar",
|
6863
|
-
"slots": [
|
6864
|
-
{
|
6865
|
-
"name": "default",
|
6866
|
-
"description": "Notice text content"
|
6867
|
-
},
|
6868
|
-
{
|
6869
|
-
"name": "left-icon",
|
6870
|
-
"description": "Custom left icon"
|
6871
|
-
},
|
6872
|
-
{
|
6873
|
-
"name": "right-icon",
|
6874
|
-
"description": "Custom right icon"
|
6875
|
-
}
|
6876
|
-
],
|
6877
|
-
"events": [
|
6878
|
-
{
|
6879
|
-
"name": "click",
|
6880
|
-
"description": "Emitted when NoticeBar is clicked",
|
6881
|
-
"arguments": [
|
6882
|
-
{
|
6883
|
-
"name": "event",
|
6884
|
-
"type": "MouseEvent"
|
6885
|
-
}
|
6886
|
-
]
|
6887
|
-
},
|
6888
|
-
{
|
6889
|
-
"name": "close",
|
6890
|
-
"description": "Emitted when NoticeBar is closed",
|
6891
|
-
"arguments": [
|
6892
|
-
{
|
6893
|
-
"name": "event",
|
6894
|
-
"type": "MouseEvent"
|
6895
|
-
}
|
6896
|
-
]
|
6897
|
-
},
|
6898
|
-
{
|
6899
|
-
"name": "replay",
|
6900
|
-
"description": "Emitted when NoticeBar is replayed",
|
6901
|
-
"arguments": []
|
6902
|
-
}
|
6903
|
-
],
|
6904
|
-
"attributes": [
|
6905
|
-
{
|
6906
|
-
"name": "mode",
|
6907
|
-
"default": "`''`",
|
6908
|
-
"description": "Mode, can be set to `closeable` `link`",
|
6909
|
-
"options": [],
|
6910
|
-
"value": {
|
6911
|
-
"type": "string",
|
6912
|
-
"kind": "expression"
|
6913
|
-
}
|
6914
|
-
},
|
6915
|
-
{
|
6916
|
-
"name": "text",
|
6917
|
-
"default": "`''`",
|
6918
|
-
"description": "Notice text content",
|
6919
|
-
"options": [],
|
6920
|
-
"value": {
|
6921
|
-
"type": "string",
|
6922
|
-
"kind": "expression"
|
6923
|
-
}
|
6924
|
-
},
|
6925
|
-
{
|
6926
|
-
"name": "color",
|
6927
|
-
"default": "`#ed6a0c`",
|
6928
|
-
"description": "Text color",
|
6927
|
+
"default": "`false`",
|
6928
|
+
"description": "Whether to show loading close button in custom theme",
|
6929
6929
|
"options": [],
|
6930
6930
|
"value": {
|
6931
|
-
"type": "
|
6931
|
+
"type": "boolean",
|
6932
6932
|
"kind": "expression"
|
6933
6933
|
}
|
6934
6934
|
},
|
6935
6935
|
{
|
6936
|
-
"name": "
|
6937
|
-
"default": "
|
6938
|
-
"description": "
|
6936
|
+
"name": "show-delete-key",
|
6937
|
+
"default": "`true`",
|
6938
|
+
"description": "Whether to show delete button",
|
6939
6939
|
"options": [],
|
6940
6940
|
"value": {
|
6941
|
-
"type": "
|
6941
|
+
"type": "boolean",
|
6942
6942
|
"kind": "expression"
|
6943
6943
|
}
|
6944
6944
|
},
|
6945
6945
|
{
|
6946
|
-
"name": "
|
6947
|
-
"default": "
|
6948
|
-
"description": "
|
6946
|
+
"name": "blur-on-close",
|
6947
|
+
"default": "`true`",
|
6948
|
+
"description": "Whether to emit blur event when clicking close button",
|
6949
6949
|
"options": [],
|
6950
6950
|
"value": {
|
6951
|
-
"type": "
|
6951
|
+
"type": "boolean",
|
6952
6952
|
"kind": "expression"
|
6953
6953
|
}
|
6954
6954
|
},
|
6955
6955
|
{
|
6956
|
-
"name": "
|
6957
|
-
"default": "`
|
6958
|
-
"description": "
|
6956
|
+
"name": "hide-on-click-outside",
|
6957
|
+
"default": "`true`",
|
6958
|
+
"description": "Whether to hide keyboard when outside is clicked",
|
6959
6959
|
"options": [],
|
6960
6960
|
"value": {
|
6961
|
-
"type": "
|
6961
|
+
"type": "boolean",
|
6962
6962
|
"kind": "expression"
|
6963
6963
|
}
|
6964
6964
|
},
|
6965
6965
|
{
|
6966
|
-
"name": "
|
6967
|
-
"default": "
|
6968
|
-
"description": "
|
6966
|
+
"name": "teleport",
|
6967
|
+
"default": "-",
|
6968
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6969
6969
|
"options": [],
|
6970
6970
|
"value": {
|
6971
|
-
"type": "
|
6971
|
+
"type": "string | Element",
|
6972
6972
|
"kind": "expression"
|
6973
6973
|
}
|
6974
6974
|
},
|
6975
6975
|
{
|
6976
|
-
"name": "
|
6977
|
-
"default": "
|
6978
|
-
"description": "Whether to
|
6976
|
+
"name": "safe-area-inset-bottom",
|
6977
|
+
"default": "`true`",
|
6978
|
+
"description": "Whether to enable bottom safe area adaptation",
|
6979
6979
|
"options": [],
|
6980
6980
|
"value": {
|
6981
6981
|
"type": "boolean",
|
@@ -6983,9 +6983,9 @@
|
|
6983
6983
|
}
|
6984
6984
|
},
|
6985
6985
|
{
|
6986
|
-
"name": "
|
6986
|
+
"name": "random-key-order",
|
6987
6987
|
"default": "`false`",
|
6988
|
-
"description": "Whether to
|
6988
|
+
"description": "Whether to shuffle the order of keys",
|
6989
6989
|
"options": [],
|
6990
6990
|
"value": {
|
6991
6991
|
"type": "boolean",
|
@@ -7203,6 +7203,89 @@
|
|
7203
7203
|
}
|
7204
7204
|
]
|
7205
7205
|
},
|
7206
|
+
{
|
7207
|
+
"name": "van-password-input",
|
7208
|
+
"slots": [],
|
7209
|
+
"events": [
|
7210
|
+
{
|
7211
|
+
"name": "focus",
|
7212
|
+
"description": "Emitted when input is focused",
|
7213
|
+
"arguments": []
|
7214
|
+
}
|
7215
|
+
],
|
7216
|
+
"attributes": [
|
7217
|
+
{
|
7218
|
+
"name": "value",
|
7219
|
+
"default": "`''`",
|
7220
|
+
"description": "Password value",
|
7221
|
+
"options": [],
|
7222
|
+
"value": {
|
7223
|
+
"type": "string",
|
7224
|
+
"kind": "expression"
|
7225
|
+
}
|
7226
|
+
},
|
7227
|
+
{
|
7228
|
+
"name": "info",
|
7229
|
+
"default": "-",
|
7230
|
+
"description": "Bottom info",
|
7231
|
+
"options": [],
|
7232
|
+
"value": {
|
7233
|
+
"type": "string",
|
7234
|
+
"kind": "expression"
|
7235
|
+
}
|
7236
|
+
},
|
7237
|
+
{
|
7238
|
+
"name": "error-info",
|
7239
|
+
"default": "-",
|
7240
|
+
"description": "Bottom error info",
|
7241
|
+
"options": [],
|
7242
|
+
"value": {
|
7243
|
+
"type": "string",
|
7244
|
+
"kind": "expression"
|
7245
|
+
}
|
7246
|
+
},
|
7247
|
+
{
|
7248
|
+
"name": "length",
|
7249
|
+
"default": "`6`",
|
7250
|
+
"description": "Maxlength of password",
|
7251
|
+
"options": [],
|
7252
|
+
"value": {
|
7253
|
+
"type": "number | string",
|
7254
|
+
"kind": "expression"
|
7255
|
+
}
|
7256
|
+
},
|
7257
|
+
{
|
7258
|
+
"name": "gutter",
|
7259
|
+
"default": "`0`",
|
7260
|
+
"description": "Gutter of input",
|
7261
|
+
"options": [],
|
7262
|
+
"value": {
|
7263
|
+
"type": "number | string",
|
7264
|
+
"kind": "expression"
|
7265
|
+
}
|
7266
|
+
},
|
7267
|
+
{
|
7268
|
+
"name": "mask",
|
7269
|
+
"default": "`true`",
|
7270
|
+
"description": "Whether to mask value",
|
7271
|
+
"options": [],
|
7272
|
+
"value": {
|
7273
|
+
"type": "boolean",
|
7274
|
+
"kind": "expression"
|
7275
|
+
}
|
7276
|
+
},
|
7277
|
+
{
|
7278
|
+
"name": "focused",
|
7279
|
+
"default": "`false`",
|
7280
|
+
"description": "Whether to show focused cursor",
|
7281
|
+
"options": [],
|
7282
|
+
"value": {
|
7283
|
+
"type": "boolean",
|
7284
|
+
"kind": "expression"
|
7285
|
+
}
|
7286
|
+
}
|
7287
|
+
]
|
7288
|
+
},
|
7206
7289
|
{
|
7207
7290
|
"name": "van-picker",
|
7208
7291
|
"slots": [
|
@@ -7413,157 +7496,72 @@
|
|
7413
7496
|
]
|
7414
7497
|
},
|
7415
7498
|
{
|
7416
|
-
"name": "van-
|
7417
|
-
"slots": [],
|
7418
|
-
"events": [
|
7419
|
-
{
|
7420
|
-
"name": "focus",
|
7421
|
-
"description": "Emitted when input is focused",
|
7422
|
-
"arguments": []
|
7423
|
-
}
|
7424
|
-
],
|
7425
|
-
"attributes": [
|
7426
|
-
{
|
7427
|
-
"name": "value",
|
7428
|
-
"default": "`''`",
|
7429
|
-
"description": "Password value",
|
7430
|
-
"options": [],
|
7431
|
-
"value": {
|
7432
|
-
"type": "string",
|
7433
|
-
"kind": "expression"
|
7434
|
-
}
|
7435
|
-
},
|
7436
|
-
{
|
7437
|
-
"name": "info",
|
7438
|
-
"default": "-",
|
7439
|
-
"description": "Bottom info",
|
7440
|
-
"options": [],
|
7441
|
-
"value": {
|
7442
|
-
"type": "string",
|
7443
|
-
"kind": "expression"
|
7444
|
-
}
|
7445
|
-
},
|
7446
|
-
{
|
7447
|
-
"name": "error-info",
|
7448
|
-
"default": "-",
|
7449
|
-
"description": "Bottom error info",
|
7450
|
-
"options": [],
|
7451
|
-
"value": {
|
7452
|
-
"type": "string",
|
7453
|
-
"kind": "expression"
|
7454
|
-
}
|
7455
|
-
},
|
7456
|
-
{
|
7457
|
-
"name": "length",
|
7458
|
-
"default": "`6`",
|
7459
|
-
"description": "Maxlength of password",
|
7460
|
-
"options": [],
|
7461
|
-
"value": {
|
7462
|
-
"type": "number | string",
|
7463
|
-
"kind": "expression"
|
7464
|
-
}
|
7465
|
-
},
|
7466
|
-
{
|
7467
|
-
"name": "gutter",
|
7468
|
-
"default": "`0`",
|
7469
|
-
"description": "Gutter of input",
|
7470
|
-
"options": [],
|
7471
|
-
"value": {
|
7472
|
-
"type": "number | string",
|
7473
|
-
"kind": "expression"
|
7474
|
-
}
|
7475
|
-
},
|
7476
|
-
{
|
7477
|
-
"name": "mask",
|
7478
|
-
"default": "`true`",
|
7479
|
-
"description": "Whether to mask value",
|
7480
|
-
"options": [],
|
7481
|
-
"value": {
|
7482
|
-
"type": "boolean",
|
7483
|
-
"kind": "expression"
|
7484
|
-
}
|
7485
|
-
},
|
7486
|
-
{
|
7487
|
-
"name": "focused",
|
7488
|
-
"default": "`false`",
|
7489
|
-
"description": "Whether to show focused cursor",
|
7490
|
-
"options": [],
|
7491
|
-
"value": {
|
7492
|
-
"type": "boolean",
|
7493
|
-
"kind": "expression"
|
7494
|
-
}
|
7495
|
-
}
|
7496
|
-
]
|
7497
|
-
},
|
7498
|
-
{
|
7499
|
-
"name": "van-popup",
|
7499
|
+
"name": "van-popover",
|
7500
7500
|
"slots": [
|
7501
7501
|
{
|
7502
7502
|
"name": "default",
|
7503
|
-
"description": "
|
7503
|
+
"description": "Custom content"
|
7504
7504
|
},
|
7505
7505
|
{
|
7506
|
-
"name": "
|
7507
|
-
"description": "
|
7506
|
+
"name": "reference",
|
7507
|
+
"description": "Reference Element"
|
7508
|
+
},
|
7509
|
+
{
|
7510
|
+
"name": "action",
|
7511
|
+
"description": "Custom the content of option"
|
7508
7512
|
}
|
7509
7513
|
],
|
7510
7514
|
"events": [
|
7511
7515
|
{
|
7512
|
-
"name": "
|
7513
|
-
"description": "Emitted when
|
7514
|
-
"arguments": [
|
7515
|
-
{
|
7516
|
-
"name": "event",
|
7517
|
-
"type": "MouseEvent"
|
7518
|
-
}
|
7519
|
-
]
|
7520
|
-
},
|
7521
|
-
{
|
7522
|
-
"name": "click-overlay",
|
7523
|
-
"description": "Emitted when overlay is clicked",
|
7516
|
+
"name": "select",
|
7517
|
+
"description": "Emitted when an action is clicked",
|
7524
7518
|
"arguments": [
|
7525
7519
|
{
|
7526
|
-
"name": "
|
7527
|
-
"type": "
|
7528
|
-
}
|
7529
|
-
]
|
7530
|
-
},
|
7531
|
-
{
|
7532
|
-
"name": "click-close-icon",
|
7533
|
-
"description": "Emitted when close icon is clicked",
|
7534
|
-
"arguments": [
|
7520
|
+
"name": "action",
|
7521
|
+
"type": "PopoverAction"
|
7522
|
+
},
|
7535
7523
|
{
|
7536
|
-
"name": "
|
7537
|
-
"type": "
|
7524
|
+
"name": "index",
|
7525
|
+
"type": "number"
|
7538
7526
|
}
|
7539
7527
|
]
|
7540
7528
|
},
|
7541
7529
|
{
|
7542
7530
|
"name": "open",
|
7543
|
-
"description": "Emitted when opening
|
7531
|
+
"description": "Emitted when opening Popover",
|
7544
7532
|
"arguments": []
|
7545
7533
|
},
|
7546
7534
|
{
|
7547
7535
|
"name": "close",
|
7548
|
-
"description": "Emitted when closing
|
7536
|
+
"description": "Emitted when closing Popover",
|
7549
7537
|
"arguments": []
|
7550
7538
|
},
|
7551
7539
|
{
|
7552
7540
|
"name": "opened",
|
7553
|
-
"description": "Emitted when
|
7541
|
+
"description": "Emitted when Popover is opened",
|
7554
7542
|
"arguments": []
|
7555
7543
|
},
|
7556
7544
|
{
|
7557
7545
|
"name": "closed",
|
7558
|
-
"description": "Emitted when
|
7546
|
+
"description": "Emitted when Popover is closed",
|
7559
7547
|
"arguments": []
|
7548
|
+
},
|
7549
|
+
{
|
7550
|
+
"name": "click-overlay",
|
7551
|
+
"description": "Emitted when overlay is clicked",
|
7552
|
+
"arguments": [
|
7553
|
+
{
|
7554
|
+
"name": "event",
|
7555
|
+
"type": "MouseEvent"
|
7556
|
+
}
|
7557
|
+
]
|
7560
7558
|
}
|
7561
7559
|
],
|
7562
7560
|
"attributes": [
|
7563
7561
|
{
|
7564
7562
|
"name": "v-model:show",
|
7565
7563
|
"default": "`false`",
|
7566
|
-
"description": "Whether to show
|
7564
|
+
"description": "Whether to show Popover",
|
7567
7565
|
"options": [],
|
7568
7566
|
"value": {
|
7569
7567
|
"type": "boolean",
|
@@ -7571,42 +7569,42 @@
|
|
7571
7569
|
}
|
7572
7570
|
},
|
7573
7571
|
{
|
7574
|
-
"name": "
|
7575
|
-
"default": "`
|
7576
|
-
"description": "
|
7572
|
+
"name": "actions",
|
7573
|
+
"default": "`[]`",
|
7574
|
+
"description": "Actions",
|
7577
7575
|
"options": [],
|
7578
7576
|
"value": {
|
7579
|
-
"type": "
|
7577
|
+
"type": "PopoverAction[]",
|
7580
7578
|
"kind": "expression"
|
7581
7579
|
}
|
7582
7580
|
},
|
7583
7581
|
{
|
7584
|
-
"name": "
|
7585
|
-
"default": "`
|
7586
|
-
"description": "
|
7582
|
+
"name": "placement",
|
7583
|
+
"default": "`bottom`",
|
7584
|
+
"description": "Placement",
|
7587
7585
|
"options": [],
|
7588
7586
|
"value": {
|
7589
|
-
"type": "
|
7587
|
+
"type": "PopoverPlacement",
|
7590
7588
|
"kind": "expression"
|
7591
7589
|
}
|
7592
7590
|
},
|
7593
7591
|
{
|
7594
|
-
"name": "
|
7595
|
-
"default": "
|
7596
|
-
"description": "
|
7592
|
+
"name": "theme",
|
7593
|
+
"default": "`light`",
|
7594
|
+
"description": "Theme, can be set to `dark`",
|
7597
7595
|
"options": [],
|
7598
7596
|
"value": {
|
7599
|
-
"type": "
|
7597
|
+
"type": "PopoverTheme",
|
7600
7598
|
"kind": "expression"
|
7601
7599
|
}
|
7602
7600
|
},
|
7603
7601
|
{
|
7604
|
-
"name": "
|
7605
|
-
"default": "
|
7606
|
-
"description": "
|
7602
|
+
"name": "trigger",
|
7603
|
+
"default": "`click`",
|
7604
|
+
"description": "Trigger mode, can be set to `manual`",
|
7607
7605
|
"options": [],
|
7608
7606
|
"value": {
|
7609
|
-
"type": "
|
7607
|
+
"type": "PopoverTrigger",
|
7610
7608
|
"kind": "expression"
|
7611
7609
|
}
|
7612
7610
|
},
|
@@ -7621,19 +7619,19 @@
|
|
7621
7619
|
}
|
7622
7620
|
},
|
7623
7621
|
{
|
7624
|
-
"name": "
|
7625
|
-
"default": "`
|
7626
|
-
"description": "
|
7622
|
+
"name": "offset",
|
7623
|
+
"default": "`[0, 8]`",
|
7624
|
+
"description": "Distance to reference",
|
7627
7625
|
"options": [],
|
7628
7626
|
"value": {
|
7629
|
-
"type": "
|
7627
|
+
"type": "[number, number]",
|
7630
7628
|
"kind": "expression"
|
7631
7629
|
}
|
7632
7630
|
},
|
7633
7631
|
{
|
7634
|
-
"name": "
|
7635
|
-
"default": "`
|
7636
|
-
"description": "Whether to
|
7632
|
+
"name": "overlay",
|
7633
|
+
"default": "`false`",
|
7634
|
+
"description": "Whether to show overlay",
|
7637
7635
|
"options": [],
|
7638
7636
|
"value": {
|
7639
7637
|
"type": "boolean",
|
@@ -7641,29 +7639,29 @@
|
|
7641
7639
|
}
|
7642
7640
|
},
|
7643
7641
|
{
|
7644
|
-
"name": "
|
7645
|
-
"default": "
|
7646
|
-
"description": "
|
7642
|
+
"name": "overlay-class",
|
7643
|
+
"default": "-",
|
7644
|
+
"description": "Custom overlay class",
|
7647
7645
|
"options": [],
|
7648
7646
|
"value": {
|
7649
|
-
"type": "
|
7647
|
+
"type": "string | Array | object",
|
7650
7648
|
"kind": "expression"
|
7651
7649
|
}
|
7652
7650
|
},
|
7653
7651
|
{
|
7654
|
-
"name": "
|
7655
|
-
"default": "
|
7656
|
-
"description": "
|
7652
|
+
"name": "overlay-style",
|
7653
|
+
"default": "-",
|
7654
|
+
"description": "Custom overlay style",
|
7657
7655
|
"options": [],
|
7658
7656
|
"value": {
|
7659
|
-
"type": "
|
7657
|
+
"type": "object",
|
7660
7658
|
"kind": "expression"
|
7661
7659
|
}
|
7662
7660
|
},
|
7663
7661
|
{
|
7664
|
-
"name": "
|
7662
|
+
"name": "show-arrow",
|
7665
7663
|
"default": "`true`",
|
7666
|
-
"description": "Whether to
|
7664
|
+
"description": "Whether to show arrow",
|
7667
7665
|
"options": [],
|
7668
7666
|
"value": {
|
7669
7667
|
"type": "boolean",
|
@@ -7671,9 +7669,9 @@
|
|
7671
7669
|
}
|
7672
7670
|
},
|
7673
7671
|
{
|
7674
|
-
"name": "
|
7675
|
-
"default": "`
|
7676
|
-
"description": "Whether to
|
7672
|
+
"name": "close-on-click-action",
|
7673
|
+
"default": "`true`",
|
7674
|
+
"description": "Whether to close when clicking action",
|
7677
7675
|
"options": [],
|
7678
7676
|
"value": {
|
7679
7677
|
"type": "boolean",
|
@@ -7681,32 +7679,32 @@
|
|
7681
7679
|
}
|
7682
7680
|
},
|
7683
7681
|
{
|
7684
|
-
"name": "close-
|
7685
|
-
"default": "`
|
7686
|
-
"description": "
|
7682
|
+
"name": "close-on-click-outside",
|
7683
|
+
"default": "`true`",
|
7684
|
+
"description": "Whether to close when clicking outside",
|
7687
7685
|
"options": [],
|
7688
7686
|
"value": {
|
7689
|
-
"type": "
|
7687
|
+
"type": "boolean",
|
7690
7688
|
"kind": "expression"
|
7691
7689
|
}
|
7692
7690
|
},
|
7693
7691
|
{
|
7694
|
-
"name": "close-
|
7695
|
-
"default": "`
|
7696
|
-
"description": "
|
7692
|
+
"name": "close-on-click-overlay",
|
7693
|
+
"default": "`true`",
|
7694
|
+
"description": "Whether to close when clicking overlay",
|
7697
7695
|
"options": [],
|
7698
7696
|
"value": {
|
7699
|
-
"type": "
|
7697
|
+
"type": "boolean",
|
7700
7698
|
"kind": "expression"
|
7701
7699
|
}
|
7702
7700
|
},
|
7703
7701
|
{
|
7704
|
-
"name": "
|
7705
|
-
"default": "
|
7706
|
-
"description": "
|
7702
|
+
"name": "teleport",
|
7703
|
+
"default": "`body`",
|
7704
|
+
"description": "Specifies a target element where Popover will be mounted",
|
7707
7705
|
"options": [],
|
7708
7706
|
"value": {
|
7709
|
-
"type": "
|
7707
|
+
"type": "string | Element",
|
7710
7708
|
"kind": "expression"
|
7711
7709
|
}
|
7712
7710
|
},
|
@@ -7719,196 +7717,188 @@
|
|
7719
7717
|
"type": "string",
|
7720
7718
|
"kind": "expression"
|
7721
7719
|
}
|
7722
|
-
},
|
7723
|
-
{
|
7724
|
-
"name": "transition",
|
7725
|
-
"default": "-",
|
7726
|
-
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
7727
|
-
"options": [],
|
7728
|
-
"value": {
|
7729
|
-
"type": "string",
|
7730
|
-
"kind": "expression"
|
7731
|
-
}
|
7732
|
-
},
|
7733
|
-
{
|
7734
|
-
"name": "transition-appear",
|
7735
|
-
"default": "`false`",
|
7736
|
-
"description": "Whether to apply transition on initial render",
|
7737
|
-
"options": [],
|
7738
|
-
"value": {
|
7739
|
-
"type": "boolean",
|
7740
|
-
"kind": "expression"
|
7741
|
-
}
|
7742
|
-
},
|
7743
|
-
{
|
7744
|
-
"name": "teleport",
|
7745
|
-
"default": "-",
|
7746
|
-
"description": "Specifies a target element where Popup will be mounted",
|
7747
|
-
"options": [],
|
7748
|
-
"value": {
|
7749
|
-
"type": "string | Element",
|
7750
|
-
"kind": "expression"
|
7751
|
-
}
|
7752
|
-
},
|
7753
|
-
{
|
7754
|
-
"name": "safe-area-inset-top",
|
7755
|
-
"default": "`false`",
|
7756
|
-
"description": "Whether to enable top safe area adaptation",
|
7757
|
-
"options": [],
|
7758
|
-
"value": {
|
7759
|
-
"type": "boolean",
|
7760
|
-
"kind": "expression"
|
7761
|
-
}
|
7762
|
-
},
|
7763
|
-
{
|
7764
|
-
"name": "safe-area-inset-bottom",
|
7765
|
-
"default": "`false`",
|
7766
|
-
"description": "Whether to enable bottom safe area adaptation",
|
7767
|
-
"options": [],
|
7768
|
-
"value": {
|
7769
|
-
"type": "boolean",
|
7770
|
-
"kind": "expression"
|
7771
|
-
}
|
7772
7720
|
}
|
7773
7721
|
]
|
7774
7722
|
},
|
7775
7723
|
{
|
7776
|
-
"name": "van-
|
7724
|
+
"name": "van-popup",
|
7777
7725
|
"slots": [
|
7778
7726
|
{
|
7779
7727
|
"name": "default",
|
7780
|
-
"description": "
|
7781
|
-
},
|
7782
|
-
{
|
7783
|
-
"name": "reference",
|
7784
|
-
"description": "Reference Element"
|
7728
|
+
"description": "Content of Popup"
|
7785
7729
|
},
|
7786
7730
|
{
|
7787
|
-
"name": "
|
7788
|
-
"description": "
|
7731
|
+
"name": "overlay-content",
|
7732
|
+
"description": "Content of Popup overlay"
|
7789
7733
|
}
|
7790
7734
|
],
|
7791
7735
|
"events": [
|
7792
7736
|
{
|
7793
|
-
"name": "
|
7794
|
-
"description": "Emitted when
|
7737
|
+
"name": "click",
|
7738
|
+
"description": "Emitted when Popup is clicked",
|
7795
7739
|
"arguments": [
|
7796
7740
|
{
|
7797
|
-
"name": "
|
7798
|
-
"type": "
|
7799
|
-
}
|
7741
|
+
"name": "event",
|
7742
|
+
"type": "MouseEvent"
|
7743
|
+
}
|
7744
|
+
]
|
7745
|
+
},
|
7746
|
+
{
|
7747
|
+
"name": "click-overlay",
|
7748
|
+
"description": "Emitted when overlay is clicked",
|
7749
|
+
"arguments": [
|
7800
7750
|
{
|
7801
|
-
"name": "
|
7802
|
-
"type": "
|
7751
|
+
"name": "event",
|
7752
|
+
"type": "MouseEvent"
|
7753
|
+
}
|
7754
|
+
]
|
7755
|
+
},
|
7756
|
+
{
|
7757
|
+
"name": "click-close-icon",
|
7758
|
+
"description": "Emitted when close icon is clicked",
|
7759
|
+
"arguments": [
|
7760
|
+
{
|
7761
|
+
"name": "event",
|
7762
|
+
"type": "MouseEvent"
|
7803
7763
|
}
|
7804
7764
|
]
|
7805
7765
|
},
|
7806
7766
|
{
|
7807
7767
|
"name": "open",
|
7808
|
-
"description": "Emitted when opening
|
7768
|
+
"description": "Emitted when opening Popup",
|
7809
7769
|
"arguments": []
|
7810
7770
|
},
|
7811
7771
|
{
|
7812
7772
|
"name": "close",
|
7813
|
-
"description": "Emitted when closing
|
7773
|
+
"description": "Emitted when closing Popup",
|
7814
7774
|
"arguments": []
|
7815
7775
|
},
|
7816
7776
|
{
|
7817
7777
|
"name": "opened",
|
7818
|
-
"description": "Emitted when
|
7778
|
+
"description": "Emitted when Popup is opened",
|
7819
7779
|
"arguments": []
|
7820
7780
|
},
|
7821
7781
|
{
|
7822
7782
|
"name": "closed",
|
7823
|
-
"description": "Emitted when
|
7783
|
+
"description": "Emitted when Popup is closed",
|
7824
7784
|
"arguments": []
|
7785
|
+
}
|
7786
|
+
],
|
7787
|
+
"attributes": [
|
7788
|
+
{
|
7789
|
+
"name": "v-model:show",
|
7790
|
+
"default": "`false`",
|
7791
|
+
"description": "Whether to show popup",
|
7792
|
+
"options": [],
|
7793
|
+
"value": {
|
7794
|
+
"type": "boolean",
|
7795
|
+
"kind": "expression"
|
7796
|
+
}
|
7797
|
+
},
|
7798
|
+
{
|
7799
|
+
"name": "overlay",
|
7800
|
+
"default": "`true`",
|
7801
|
+
"description": "Whether to show overlay",
|
7802
|
+
"options": [],
|
7803
|
+
"value": {
|
7804
|
+
"type": "boolean",
|
7805
|
+
"kind": "expression"
|
7806
|
+
}
|
7807
|
+
},
|
7808
|
+
{
|
7809
|
+
"name": "position",
|
7810
|
+
"default": "`center`",
|
7811
|
+
"description": "Can be set to `top` `bottom` `right` `left`",
|
7812
|
+
"options": [],
|
7813
|
+
"value": {
|
7814
|
+
"type": "string",
|
7815
|
+
"kind": "expression"
|
7816
|
+
}
|
7817
|
+
},
|
7818
|
+
{
|
7819
|
+
"name": "overlay-class",
|
7820
|
+
"default": "-",
|
7821
|
+
"description": "Custom overlay class",
|
7822
|
+
"options": [],
|
7823
|
+
"value": {
|
7824
|
+
"type": "string | Array | object",
|
7825
|
+
"kind": "expression"
|
7826
|
+
}
|
7825
7827
|
},
|
7826
7828
|
{
|
7827
|
-
"name": "
|
7828
|
-
"
|
7829
|
-
"
|
7830
|
-
{
|
7831
|
-
"name": "event",
|
7832
|
-
"type": "MouseEvent"
|
7833
|
-
}
|
7834
|
-
]
|
7835
|
-
}
|
7836
|
-
],
|
7837
|
-
"attributes": [
|
7838
|
-
{
|
7839
|
-
"name": "v-model:show",
|
7840
|
-
"default": "`false`",
|
7841
|
-
"description": "Whether to show Popover",
|
7829
|
+
"name": "overlay-style",
|
7830
|
+
"default": "-",
|
7831
|
+
"description": "Custom overlay style",
|
7842
7832
|
"options": [],
|
7843
7833
|
"value": {
|
7844
|
-
"type": "
|
7834
|
+
"type": "object",
|
7845
7835
|
"kind": "expression"
|
7846
7836
|
}
|
7847
7837
|
},
|
7848
7838
|
{
|
7849
|
-
"name": "
|
7850
|
-
"default": "`
|
7851
|
-
"description": "
|
7839
|
+
"name": "duration",
|
7840
|
+
"default": "`0.3`",
|
7841
|
+
"description": "Transition duration, unit second",
|
7852
7842
|
"options": [],
|
7853
7843
|
"value": {
|
7854
|
-
"type": "
|
7844
|
+
"type": "number | string",
|
7855
7845
|
"kind": "expression"
|
7856
7846
|
}
|
7857
7847
|
},
|
7858
7848
|
{
|
7859
|
-
"name": "
|
7860
|
-
"default": "`
|
7861
|
-
"description": "
|
7849
|
+
"name": "round",
|
7850
|
+
"default": "`false`",
|
7851
|
+
"description": "Whether to show round corner",
|
7862
7852
|
"options": [],
|
7863
7853
|
"value": {
|
7864
|
-
"type": "
|
7854
|
+
"type": "boolean",
|
7865
7855
|
"kind": "expression"
|
7866
7856
|
}
|
7867
7857
|
},
|
7868
7858
|
{
|
7869
|
-
"name": "
|
7870
|
-
"default": "`
|
7871
|
-
"description": "
|
7859
|
+
"name": "lock-scroll",
|
7860
|
+
"default": "`true`",
|
7861
|
+
"description": "Whether to lock background scroll",
|
7872
7862
|
"options": [],
|
7873
7863
|
"value": {
|
7874
|
-
"type": "
|
7864
|
+
"type": "boolean",
|
7875
7865
|
"kind": "expression"
|
7876
7866
|
}
|
7877
7867
|
},
|
7878
7868
|
{
|
7879
|
-
"name": "
|
7880
|
-
"default": "`
|
7881
|
-
"description": "
|
7869
|
+
"name": "lazy-render",
|
7870
|
+
"default": "`true`",
|
7871
|
+
"description": "Whether to lazy render util appeared",
|
7882
7872
|
"options": [],
|
7883
7873
|
"value": {
|
7884
|
-
"type": "
|
7874
|
+
"type": "boolean",
|
7885
7875
|
"kind": "expression"
|
7886
7876
|
}
|
7887
7877
|
},
|
7888
7878
|
{
|
7889
|
-
"name": "
|
7890
|
-
"default": "`
|
7891
|
-
"description": "
|
7879
|
+
"name": "close-on-popstate",
|
7880
|
+
"default": "`false`",
|
7881
|
+
"description": "Whether to close when popstate",
|
7892
7882
|
"options": [],
|
7893
7883
|
"value": {
|
7894
|
-
"type": "
|
7884
|
+
"type": "boolean",
|
7895
7885
|
"kind": "expression"
|
7896
7886
|
}
|
7897
7887
|
},
|
7898
7888
|
{
|
7899
|
-
"name": "
|
7900
|
-
"default": "`
|
7901
|
-
"description": "
|
7889
|
+
"name": "close-on-click-overlay",
|
7890
|
+
"default": "`true`",
|
7891
|
+
"description": "Whether to close when overlay is clicked",
|
7902
7892
|
"options": [],
|
7903
7893
|
"value": {
|
7904
|
-
"type": "
|
7894
|
+
"type": "boolean",
|
7905
7895
|
"kind": "expression"
|
7906
7896
|
}
|
7907
7897
|
},
|
7908
7898
|
{
|
7909
|
-
"name": "
|
7899
|
+
"name": "closeable",
|
7910
7900
|
"default": "`false`",
|
7911
|
-
"description": "Whether to show
|
7901
|
+
"description": "Whether to show close icon",
|
7912
7902
|
"options": [],
|
7913
7903
|
"value": {
|
7914
7904
|
"type": "boolean",
|
@@ -7916,59 +7906,59 @@
|
|
7916
7906
|
}
|
7917
7907
|
},
|
7918
7908
|
{
|
7919
|
-
"name": "
|
7920
|
-
"default": "
|
7921
|
-
"description": "
|
7909
|
+
"name": "close-icon",
|
7910
|
+
"default": "`cross`",
|
7911
|
+
"description": "Close icon name",
|
7922
7912
|
"options": [],
|
7923
7913
|
"value": {
|
7924
|
-
"type": "string
|
7914
|
+
"type": "string",
|
7925
7915
|
"kind": "expression"
|
7926
7916
|
}
|
7927
7917
|
},
|
7928
7918
|
{
|
7929
|
-
"name": "
|
7930
|
-
"default": "-",
|
7931
|
-
"description": "
|
7919
|
+
"name": "close-icon-position",
|
7920
|
+
"default": "`top-right`",
|
7921
|
+
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
|
7932
7922
|
"options": [],
|
7933
7923
|
"value": {
|
7934
|
-
"type": "
|
7924
|
+
"type": "string",
|
7935
7925
|
"kind": "expression"
|
7936
7926
|
}
|
7937
7927
|
},
|
7938
7928
|
{
|
7939
|
-
"name": "
|
7940
|
-
"default": "
|
7941
|
-
"description": "
|
7929
|
+
"name": "before-close",
|
7930
|
+
"default": "-",
|
7931
|
+
"description": "Callback function before close",
|
7942
7932
|
"options": [],
|
7943
7933
|
"value": {
|
7944
|
-
"type": "boolean",
|
7934
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
7945
7935
|
"kind": "expression"
|
7946
7936
|
}
|
7947
7937
|
},
|
7948
7938
|
{
|
7949
|
-
"name": "
|
7950
|
-
"default": "`
|
7951
|
-
"description": "
|
7939
|
+
"name": "icon-prefix",
|
7940
|
+
"default": "`van-icon`",
|
7941
|
+
"description": "Icon className prefix",
|
7952
7942
|
"options": [],
|
7953
7943
|
"value": {
|
7954
|
-
"type": "
|
7944
|
+
"type": "string",
|
7955
7945
|
"kind": "expression"
|
7956
7946
|
}
|
7957
7947
|
},
|
7958
7948
|
{
|
7959
|
-
"name": "
|
7960
|
-
"default": "
|
7961
|
-
"description": "
|
7949
|
+
"name": "transition",
|
7950
|
+
"default": "-",
|
7951
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
7962
7952
|
"options": [],
|
7963
7953
|
"value": {
|
7964
|
-
"type": "
|
7954
|
+
"type": "string",
|
7965
7955
|
"kind": "expression"
|
7966
7956
|
}
|
7967
7957
|
},
|
7968
7958
|
{
|
7969
|
-
"name": "
|
7970
|
-
"default": "`
|
7971
|
-
"description": "Whether to
|
7959
|
+
"name": "transition-appear",
|
7960
|
+
"default": "`false`",
|
7961
|
+
"description": "Whether to apply transition on initial render",
|
7972
7962
|
"options": [],
|
7973
7963
|
"value": {
|
7974
7964
|
"type": "boolean",
|
@@ -7977,8 +7967,8 @@
|
|
7977
7967
|
},
|
7978
7968
|
{
|
7979
7969
|
"name": "teleport",
|
7980
|
-
"default": "
|
7981
|
-
"description": "Specifies a target element where
|
7970
|
+
"default": "-",
|
7971
|
+
"description": "Specifies a target element where Popup will be mounted",
|
7982
7972
|
"options": [],
|
7983
7973
|
"value": {
|
7984
7974
|
"type": "string | Element",
|
@@ -7986,12 +7976,22 @@
|
|
7986
7976
|
}
|
7987
7977
|
},
|
7988
7978
|
{
|
7989
|
-
"name": "
|
7990
|
-
"default": "`
|
7991
|
-
"description": "
|
7979
|
+
"name": "safe-area-inset-top",
|
7980
|
+
"default": "`false`",
|
7981
|
+
"description": "Whether to enable top safe area adaptation",
|
7992
7982
|
"options": [],
|
7993
7983
|
"value": {
|
7994
|
-
"type": "
|
7984
|
+
"type": "boolean",
|
7985
|
+
"kind": "expression"
|
7986
|
+
}
|
7987
|
+
},
|
7988
|
+
{
|
7989
|
+
"name": "safe-area-inset-bottom",
|
7990
|
+
"default": "`false`",
|
7991
|
+
"description": "Whether to enable bottom safe area adaptation",
|
7992
|
+
"options": [],
|
7993
|
+
"value": {
|
7994
|
+
"type": "boolean",
|
7995
7995
|
"kind": "expression"
|
7996
7996
|
}
|
7997
7997
|
}
|
@@ -9396,68 +9396,6 @@
|
|
9396
9396
|
}
|
9397
9397
|
]
|
9398
9398
|
},
|
9399
|
-
{
|
9400
|
-
"name": "van-space",
|
9401
|
-
"slots": [
|
9402
|
-
{
|
9403
|
-
"name": "default",
|
9404
|
-
"description": "Default slot"
|
9405
|
-
}
|
9406
|
-
],
|
9407
|
-
"events": [],
|
9408
|
-
"attributes": [
|
9409
|
-
{
|
9410
|
-
"name": "direction",
|
9411
|
-
"default": "`horizontal`",
|
9412
|
-
"description": "Spacing direction",
|
9413
|
-
"options": [],
|
9414
|
-
"value": {
|
9415
|
-
"type": "vertical | horizontal",
|
9416
|
-
"kind": "expression"
|
9417
|
-
}
|
9418
|
-
},
|
9419
|
-
{
|
9420
|
-
"name": "size",
|
9421
|
-
"default": "`8px`",
|
9422
|
-
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9423
|
-
"options": [],
|
9424
|
-
"value": {
|
9425
|
-
"type": "number | string | number[] | string[]",
|
9426
|
-
"kind": "expression"
|
9427
|
-
}
|
9428
|
-
},
|
9429
|
-
{
|
9430
|
-
"name": "align",
|
9431
|
-
"default": "-",
|
9432
|
-
"description": "Spacing alignment",
|
9433
|
-
"options": [],
|
9434
|
-
"value": {
|
9435
|
-
"type": "start | end | center | baseline",
|
9436
|
-
"kind": "expression"
|
9437
|
-
}
|
9438
|
-
},
|
9439
|
-
{
|
9440
|
-
"name": "wrap",
|
9441
|
-
"default": "`false`",
|
9442
|
-
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9443
|
-
"options": [],
|
9444
|
-
"value": {
|
9445
|
-
"type": "boolean",
|
9446
|
-
"kind": "expression"
|
9447
|
-
}
|
9448
|
-
},
|
9449
|
-
{
|
9450
|
-
"name": "fill",
|
9451
|
-
"default": "`false`",
|
9452
|
-
"description": "Whether to render Space as a block element and fill the parent element",
|
9453
|
-
"options": [],
|
9454
|
-
"value": {
|
9455
|
-
"type": "boolean",
|
9456
|
-
"kind": "expression"
|
9457
|
-
}
|
9458
|
-
}
|
9459
|
-
]
|
9460
|
-
},
|
9461
9399
|
{
|
9462
9400
|
"name": "van-slider",
|
9463
9401
|
"slots": [
|
@@ -9598,38 +9536,100 @@
|
|
9598
9536
|
}
|
9599
9537
|
},
|
9600
9538
|
{
|
9601
|
-
"name": "range",
|
9602
|
-
"default": "`false`",
|
9603
|
-
"description": "Whether to enable dual thumb mode",
|
9539
|
+
"name": "range",
|
9540
|
+
"default": "`false`",
|
9541
|
+
"description": "Whether to enable dual thumb mode",
|
9542
|
+
"options": [],
|
9543
|
+
"value": {
|
9544
|
+
"type": "boolean",
|
9545
|
+
"kind": "expression"
|
9546
|
+
}
|
9547
|
+
},
|
9548
|
+
{
|
9549
|
+
"name": "reverse",
|
9550
|
+
"description": "Whether to reverse slider",
|
9551
|
+
"options": [],
|
9552
|
+
"value": {
|
9553
|
+
"type": "`false`",
|
9554
|
+
"kind": "expression"
|
9555
|
+
}
|
9556
|
+
},
|
9557
|
+
{
|
9558
|
+
"name": "disabled",
|
9559
|
+
"default": "`false`",
|
9560
|
+
"description": "Whether to disable slider",
|
9561
|
+
"options": [],
|
9562
|
+
"value": {
|
9563
|
+
"type": "boolean",
|
9564
|
+
"kind": "expression"
|
9565
|
+
}
|
9566
|
+
},
|
9567
|
+
{
|
9568
|
+
"name": "readonly",
|
9569
|
+
"default": "`false`",
|
9570
|
+
"description": "Whether to be readonly",
|
9571
|
+
"options": [],
|
9572
|
+
"value": {
|
9573
|
+
"type": "boolean",
|
9574
|
+
"kind": "expression"
|
9575
|
+
}
|
9576
|
+
},
|
9577
|
+
{
|
9578
|
+
"name": "vertical",
|
9579
|
+
"default": "`false`",
|
9580
|
+
"description": "Whether to display slider vertically",
|
9581
|
+
"options": [],
|
9582
|
+
"value": {
|
9583
|
+
"type": "boolean",
|
9584
|
+
"kind": "expression"
|
9585
|
+
}
|
9586
|
+
}
|
9587
|
+
]
|
9588
|
+
},
|
9589
|
+
{
|
9590
|
+
"name": "van-space",
|
9591
|
+
"slots": [
|
9592
|
+
{
|
9593
|
+
"name": "default",
|
9594
|
+
"description": "Default slot"
|
9595
|
+
}
|
9596
|
+
],
|
9597
|
+
"events": [],
|
9598
|
+
"attributes": [
|
9599
|
+
{
|
9600
|
+
"name": "direction",
|
9601
|
+
"default": "`horizontal`",
|
9602
|
+
"description": "Spacing direction",
|
9604
9603
|
"options": [],
|
9605
9604
|
"value": {
|
9606
|
-
"type": "
|
9605
|
+
"type": "vertical | horizontal",
|
9607
9606
|
"kind": "expression"
|
9608
9607
|
}
|
9609
9608
|
},
|
9610
9609
|
{
|
9611
|
-
"name": "
|
9612
|
-
"
|
9610
|
+
"name": "size",
|
9611
|
+
"default": "`8px`",
|
9612
|
+
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9613
9613
|
"options": [],
|
9614
9614
|
"value": {
|
9615
|
-
"type": "
|
9615
|
+
"type": "number | string | number[] | string[]",
|
9616
9616
|
"kind": "expression"
|
9617
9617
|
}
|
9618
9618
|
},
|
9619
9619
|
{
|
9620
|
-
"name": "
|
9621
|
-
"default": "
|
9622
|
-
"description": "
|
9620
|
+
"name": "align",
|
9621
|
+
"default": "-",
|
9622
|
+
"description": "Spacing alignment",
|
9623
9623
|
"options": [],
|
9624
9624
|
"value": {
|
9625
|
-
"type": "
|
9625
|
+
"type": "start | end | center | baseline",
|
9626
9626
|
"kind": "expression"
|
9627
9627
|
}
|
9628
9628
|
},
|
9629
9629
|
{
|
9630
|
-
"name": "
|
9630
|
+
"name": "wrap",
|
9631
9631
|
"default": "`false`",
|
9632
|
-
"description": "Whether to
|
9632
|
+
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9633
9633
|
"options": [],
|
9634
9634
|
"value": {
|
9635
9635
|
"type": "boolean",
|
@@ -9637,9 +9637,9 @@
|
|
9637
9637
|
}
|
9638
9638
|
},
|
9639
9639
|
{
|
9640
|
-
"name": "
|
9640
|
+
"name": "fill",
|
9641
9641
|
"default": "`false`",
|
9642
|
-
"description": "Whether to
|
9642
|
+
"description": "Whether to render Space as a block element and fill the parent element",
|
9643
9643
|
"options": [],
|
9644
9644
|
"value": {
|
9645
9645
|
"type": "boolean",
|
@@ -10644,9 +10644,229 @@
|
|
10644
10644
|
}
|
10645
10645
|
},
|
10646
10646
|
{
|
10647
|
-
"name": "size",
|
10648
|
-
"default": "`30px`",
|
10649
|
-
"description": "Size of switch",
|
10647
|
+
"name": "size",
|
10648
|
+
"default": "`30px`",
|
10649
|
+
"description": "Size of switch",
|
10650
|
+
"options": [],
|
10651
|
+
"value": {
|
10652
|
+
"type": "number | string",
|
10653
|
+
"kind": "expression"
|
10654
|
+
}
|
10655
|
+
},
|
10656
|
+
{
|
10657
|
+
"name": "active-color",
|
10658
|
+
"default": "`#1989fa`",
|
10659
|
+
"description": "Background color when active",
|
10660
|
+
"options": [],
|
10661
|
+
"value": {
|
10662
|
+
"type": "string",
|
10663
|
+
"kind": "expression"
|
10664
|
+
}
|
10665
|
+
},
|
10666
|
+
{
|
10667
|
+
"name": "inactive-color",
|
10668
|
+
"default": "`white`",
|
10669
|
+
"description": "Background color when inactive",
|
10670
|
+
"options": [],
|
10671
|
+
"value": {
|
10672
|
+
"type": "string",
|
10673
|
+
"kind": "expression"
|
10674
|
+
}
|
10675
|
+
},
|
10676
|
+
{
|
10677
|
+
"name": "active-value",
|
10678
|
+
"default": "`true`",
|
10679
|
+
"description": "Value when active",
|
10680
|
+
"options": [],
|
10681
|
+
"value": {
|
10682
|
+
"type": "any",
|
10683
|
+
"kind": "expression"
|
10684
|
+
}
|
10685
|
+
},
|
10686
|
+
{
|
10687
|
+
"name": "inactive-value",
|
10688
|
+
"default": "`false`",
|
10689
|
+
"description": "Value when inactive",
|
10690
|
+
"options": [],
|
10691
|
+
"value": {
|
10692
|
+
"type": "any",
|
10693
|
+
"kind": "expression"
|
10694
|
+
}
|
10695
|
+
}
|
10696
|
+
]
|
10697
|
+
},
|
10698
|
+
{
|
10699
|
+
"name": "van-tabbar",
|
10700
|
+
"slots": [],
|
10701
|
+
"events": [
|
10702
|
+
{
|
10703
|
+
"name": "change",
|
10704
|
+
"description": "Emitted when changing active tab",
|
10705
|
+
"arguments": [
|
10706
|
+
{
|
10707
|
+
"name": "active",
|
10708
|
+
"type": "number | string"
|
10709
|
+
}
|
10710
|
+
]
|
10711
|
+
}
|
10712
|
+
],
|
10713
|
+
"attributes": [
|
10714
|
+
{
|
10715
|
+
"name": "v-model",
|
10716
|
+
"default": "`0`",
|
10717
|
+
"description": "Identifier of current tab",
|
10718
|
+
"options": [],
|
10719
|
+
"value": {
|
10720
|
+
"type": "number | string",
|
10721
|
+
"kind": "expression"
|
10722
|
+
}
|
10723
|
+
},
|
10724
|
+
{
|
10725
|
+
"name": "fixed",
|
10726
|
+
"default": "`true`",
|
10727
|
+
"description": "Whether to fixed bottom",
|
10728
|
+
"options": [],
|
10729
|
+
"value": {
|
10730
|
+
"type": "boolean",
|
10731
|
+
"kind": "expression"
|
10732
|
+
}
|
10733
|
+
},
|
10734
|
+
{
|
10735
|
+
"name": "border",
|
10736
|
+
"default": "`true`",
|
10737
|
+
"description": "Whether to show border",
|
10738
|
+
"options": [],
|
10739
|
+
"value": {
|
10740
|
+
"type": "boolean",
|
10741
|
+
"kind": "expression"
|
10742
|
+
}
|
10743
|
+
},
|
10744
|
+
{
|
10745
|
+
"name": "z-index",
|
10746
|
+
"default": "`1`",
|
10747
|
+
"description": "Z-index",
|
10748
|
+
"options": [],
|
10749
|
+
"value": {
|
10750
|
+
"type": "number | string",
|
10751
|
+
"kind": "expression"
|
10752
|
+
}
|
10753
|
+
},
|
10754
|
+
{
|
10755
|
+
"name": "active-color",
|
10756
|
+
"default": "`#1989fa`",
|
10757
|
+
"description": "Color of active tab item",
|
10758
|
+
"options": [],
|
10759
|
+
"value": {
|
10760
|
+
"type": "string",
|
10761
|
+
"kind": "expression"
|
10762
|
+
}
|
10763
|
+
},
|
10764
|
+
{
|
10765
|
+
"name": "inactive-color",
|
10766
|
+
"default": "`#7d7e80`",
|
10767
|
+
"description": "Color of inactive tab item",
|
10768
|
+
"options": [],
|
10769
|
+
"value": {
|
10770
|
+
"type": "string",
|
10771
|
+
"kind": "expression"
|
10772
|
+
}
|
10773
|
+
},
|
10774
|
+
{
|
10775
|
+
"name": "route",
|
10776
|
+
"default": "`false`",
|
10777
|
+
"description": "Whether to enable route mode",
|
10778
|
+
"options": [],
|
10779
|
+
"value": {
|
10780
|
+
"type": "boolean",
|
10781
|
+
"kind": "expression"
|
10782
|
+
}
|
10783
|
+
},
|
10784
|
+
{
|
10785
|
+
"name": "placeholder",
|
10786
|
+
"default": "`false`",
|
10787
|
+
"description": "Whether to generate a placeholder element when fixed",
|
10788
|
+
"options": [],
|
10789
|
+
"value": {
|
10790
|
+
"type": "boolean",
|
10791
|
+
"kind": "expression"
|
10792
|
+
}
|
10793
|
+
},
|
10794
|
+
{
|
10795
|
+
"name": "safe-area-inset-bottom",
|
10796
|
+
"default": "`false`",
|
10797
|
+
"description": "Whether to enable bottom safe area adaptation",
|
10798
|
+
"options": [],
|
10799
|
+
"value": {
|
10800
|
+
"type": "boolean",
|
10801
|
+
"kind": "expression"
|
10802
|
+
}
|
10803
|
+
},
|
10804
|
+
{
|
10805
|
+
"name": "before-change",
|
10806
|
+
"default": "-",
|
10807
|
+
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
10808
|
+
"options": [],
|
10809
|
+
"value": {
|
10810
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
10811
|
+
"kind": "expression"
|
10812
|
+
}
|
10813
|
+
}
|
10814
|
+
]
|
10815
|
+
},
|
10816
|
+
{
|
10817
|
+
"name": "van-tabbar-item",
|
10818
|
+
"slots": [
|
10819
|
+
{
|
10820
|
+
"name": "icon",
|
10821
|
+
"description": "Custom icon"
|
10822
|
+
}
|
10823
|
+
],
|
10824
|
+
"events": [],
|
10825
|
+
"attributes": [
|
10826
|
+
{
|
10827
|
+
"name": "name",
|
10828
|
+
"default": "Item index",
|
10829
|
+
"description": "Identifier",
|
10830
|
+
"options": [],
|
10831
|
+
"value": {
|
10832
|
+
"type": "number | string",
|
10833
|
+
"kind": "expression"
|
10834
|
+
}
|
10835
|
+
},
|
10836
|
+
{
|
10837
|
+
"name": "icon",
|
10838
|
+
"default": "-",
|
10839
|
+
"description": "Icon name",
|
10840
|
+
"options": [],
|
10841
|
+
"value": {
|
10842
|
+
"type": "string",
|
10843
|
+
"kind": "expression"
|
10844
|
+
}
|
10845
|
+
},
|
10846
|
+
{
|
10847
|
+
"name": "icon-prefix",
|
10848
|
+
"default": "`van-icon`",
|
10849
|
+
"description": "Icon className prefix",
|
10850
|
+
"options": [],
|
10851
|
+
"value": {
|
10852
|
+
"type": "string",
|
10853
|
+
"kind": "expression"
|
10854
|
+
}
|
10855
|
+
},
|
10856
|
+
{
|
10857
|
+
"name": "dot",
|
10858
|
+
"default": "-",
|
10859
|
+
"description": "Whether to show red dot",
|
10860
|
+
"options": [],
|
10861
|
+
"value": {
|
10862
|
+
"type": "boolean",
|
10863
|
+
"kind": "expression"
|
10864
|
+
}
|
10865
|
+
},
|
10866
|
+
{
|
10867
|
+
"name": "badge",
|
10868
|
+
"default": "`''`",
|
10869
|
+
"description": "Content of the badge",
|
10650
10870
|
"options": [],
|
10651
10871
|
"value": {
|
10652
10872
|
"type": "number | string",
|
@@ -10654,19 +10874,19 @@
|
|
10654
10874
|
}
|
10655
10875
|
},
|
10656
10876
|
{
|
10657
|
-
"name": "
|
10658
|
-
"default": "
|
10659
|
-
"description": "
|
10877
|
+
"name": "badge-props",
|
10878
|
+
"default": "-",
|
10879
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
10660
10880
|
"options": [],
|
10661
10881
|
"value": {
|
10662
|
-
"type": "
|
10882
|
+
"type": "BadgeProps",
|
10663
10883
|
"kind": "expression"
|
10664
10884
|
}
|
10665
10885
|
},
|
10666
10886
|
{
|
10667
|
-
"name": "
|
10668
|
-
"default": "
|
10669
|
-
"description": "
|
10887
|
+
"name": "url",
|
10888
|
+
"default": "-",
|
10889
|
+
"description": "Link",
|
10670
10890
|
"options": [],
|
10671
10891
|
"value": {
|
10672
10892
|
"type": "string",
|
@@ -10674,22 +10894,22 @@
|
|
10674
10894
|
}
|
10675
10895
|
},
|
10676
10896
|
{
|
10677
|
-
"name": "
|
10678
|
-
"default": "
|
10679
|
-
"description": "
|
10897
|
+
"name": "to",
|
10898
|
+
"default": "-",
|
10899
|
+
"description": "Target route of the link, same as to of vue-router",
|
10680
10900
|
"options": [],
|
10681
10901
|
"value": {
|
10682
|
-
"type": "
|
10902
|
+
"type": "string | object",
|
10683
10903
|
"kind": "expression"
|
10684
10904
|
}
|
10685
10905
|
},
|
10686
10906
|
{
|
10687
|
-
"name": "
|
10907
|
+
"name": "replace",
|
10688
10908
|
"default": "`false`",
|
10689
|
-
"description": "
|
10909
|
+
"description": "If true, the navigation will not leave a history record",
|
10690
10910
|
"options": [],
|
10691
10911
|
"value": {
|
10692
|
-
"type": "
|
10912
|
+
"type": "boolean",
|
10693
10913
|
"kind": "expression"
|
10694
10914
|
}
|
10695
10915
|
}
|
@@ -11088,226 +11308,6 @@
|
|
11088
11308
|
}
|
11089
11309
|
]
|
11090
11310
|
},
|
11091
|
-
{
|
11092
|
-
"name": "van-tabbar",
|
11093
|
-
"slots": [],
|
11094
|
-
"events": [
|
11095
|
-
{
|
11096
|
-
"name": "change",
|
11097
|
-
"description": "Emitted when changing active tab",
|
11098
|
-
"arguments": [
|
11099
|
-
{
|
11100
|
-
"name": "active",
|
11101
|
-
"type": "number | string"
|
11102
|
-
}
|
11103
|
-
]
|
11104
|
-
}
|
11105
|
-
],
|
11106
|
-
"attributes": [
|
11107
|
-
{
|
11108
|
-
"name": "v-model",
|
11109
|
-
"default": "`0`",
|
11110
|
-
"description": "Identifier of current tab",
|
11111
|
-
"options": [],
|
11112
|
-
"value": {
|
11113
|
-
"type": "number | string",
|
11114
|
-
"kind": "expression"
|
11115
|
-
}
|
11116
|
-
},
|
11117
|
-
{
|
11118
|
-
"name": "fixed",
|
11119
|
-
"default": "`true`",
|
11120
|
-
"description": "Whether to fixed bottom",
|
11121
|
-
"options": [],
|
11122
|
-
"value": {
|
11123
|
-
"type": "boolean",
|
11124
|
-
"kind": "expression"
|
11125
|
-
}
|
11126
|
-
},
|
11127
|
-
{
|
11128
|
-
"name": "border",
|
11129
|
-
"default": "`true`",
|
11130
|
-
"description": "Whether to show border",
|
11131
|
-
"options": [],
|
11132
|
-
"value": {
|
11133
|
-
"type": "boolean",
|
11134
|
-
"kind": "expression"
|
11135
|
-
}
|
11136
|
-
},
|
11137
|
-
{
|
11138
|
-
"name": "z-index",
|
11139
|
-
"default": "`1`",
|
11140
|
-
"description": "Z-index",
|
11141
|
-
"options": [],
|
11142
|
-
"value": {
|
11143
|
-
"type": "number | string",
|
11144
|
-
"kind": "expression"
|
11145
|
-
}
|
11146
|
-
},
|
11147
|
-
{
|
11148
|
-
"name": "active-color",
|
11149
|
-
"default": "`#1989fa`",
|
11150
|
-
"description": "Color of active tab item",
|
11151
|
-
"options": [],
|
11152
|
-
"value": {
|
11153
|
-
"type": "string",
|
11154
|
-
"kind": "expression"
|
11155
|
-
}
|
11156
|
-
},
|
11157
|
-
{
|
11158
|
-
"name": "inactive-color",
|
11159
|
-
"default": "`#7d7e80`",
|
11160
|
-
"description": "Color of inactive tab item",
|
11161
|
-
"options": [],
|
11162
|
-
"value": {
|
11163
|
-
"type": "string",
|
11164
|
-
"kind": "expression"
|
11165
|
-
}
|
11166
|
-
},
|
11167
|
-
{
|
11168
|
-
"name": "route",
|
11169
|
-
"default": "`false`",
|
11170
|
-
"description": "Whether to enable route mode",
|
11171
|
-
"options": [],
|
11172
|
-
"value": {
|
11173
|
-
"type": "boolean",
|
11174
|
-
"kind": "expression"
|
11175
|
-
}
|
11176
|
-
},
|
11177
|
-
{
|
11178
|
-
"name": "placeholder",
|
11179
|
-
"default": "`false`",
|
11180
|
-
"description": "Whether to generate a placeholder element when fixed",
|
11181
|
-
"options": [],
|
11182
|
-
"value": {
|
11183
|
-
"type": "boolean",
|
11184
|
-
"kind": "expression"
|
11185
|
-
}
|
11186
|
-
},
|
11187
|
-
{
|
11188
|
-
"name": "safe-area-inset-bottom",
|
11189
|
-
"default": "`false`",
|
11190
|
-
"description": "Whether to enable bottom safe area adaptation",
|
11191
|
-
"options": [],
|
11192
|
-
"value": {
|
11193
|
-
"type": "boolean",
|
11194
|
-
"kind": "expression"
|
11195
|
-
}
|
11196
|
-
},
|
11197
|
-
{
|
11198
|
-
"name": "before-change",
|
11199
|
-
"default": "-",
|
11200
|
-
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
11201
|
-
"options": [],
|
11202
|
-
"value": {
|
11203
|
-
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
11204
|
-
"kind": "expression"
|
11205
|
-
}
|
11206
|
-
}
|
11207
|
-
]
|
11208
|
-
},
|
11209
|
-
{
|
11210
|
-
"name": "van-tabbar-item",
|
11211
|
-
"slots": [
|
11212
|
-
{
|
11213
|
-
"name": "icon",
|
11214
|
-
"description": "Custom icon"
|
11215
|
-
}
|
11216
|
-
],
|
11217
|
-
"events": [],
|
11218
|
-
"attributes": [
|
11219
|
-
{
|
11220
|
-
"name": "name",
|
11221
|
-
"default": "Item index",
|
11222
|
-
"description": "Identifier",
|
11223
|
-
"options": [],
|
11224
|
-
"value": {
|
11225
|
-
"type": "number | string",
|
11226
|
-
"kind": "expression"
|
11227
|
-
}
|
11228
|
-
},
|
11229
|
-
{
|
11230
|
-
"name": "icon",
|
11231
|
-
"default": "-",
|
11232
|
-
"description": "Icon name",
|
11233
|
-
"options": [],
|
11234
|
-
"value": {
|
11235
|
-
"type": "string",
|
11236
|
-
"kind": "expression"
|
11237
|
-
}
|
11238
|
-
},
|
11239
|
-
{
|
11240
|
-
"name": "icon-prefix",
|
11241
|
-
"default": "`van-icon`",
|
11242
|
-
"description": "Icon className prefix",
|
11243
|
-
"options": [],
|
11244
|
-
"value": {
|
11245
|
-
"type": "string",
|
11246
|
-
"kind": "expression"
|
11247
|
-
}
|
11248
|
-
},
|
11249
|
-
{
|
11250
|
-
"name": "dot",
|
11251
|
-
"default": "-",
|
11252
|
-
"description": "Whether to show red dot",
|
11253
|
-
"options": [],
|
11254
|
-
"value": {
|
11255
|
-
"type": "boolean",
|
11256
|
-
"kind": "expression"
|
11257
|
-
}
|
11258
|
-
},
|
11259
|
-
{
|
11260
|
-
"name": "badge",
|
11261
|
-
"default": "`''`",
|
11262
|
-
"description": "Content of the badge",
|
11263
|
-
"options": [],
|
11264
|
-
"value": {
|
11265
|
-
"type": "number | string",
|
11266
|
-
"kind": "expression"
|
11267
|
-
}
|
11268
|
-
},
|
11269
|
-
{
|
11270
|
-
"name": "badge-props",
|
11271
|
-
"default": "-",
|
11272
|
-
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
11273
|
-
"options": [],
|
11274
|
-
"value": {
|
11275
|
-
"type": "BadgeProps",
|
11276
|
-
"kind": "expression"
|
11277
|
-
}
|
11278
|
-
},
|
11279
|
-
{
|
11280
|
-
"name": "url",
|
11281
|
-
"default": "-",
|
11282
|
-
"description": "Link",
|
11283
|
-
"options": [],
|
11284
|
-
"value": {
|
11285
|
-
"type": "string",
|
11286
|
-
"kind": "expression"
|
11287
|
-
}
|
11288
|
-
},
|
11289
|
-
{
|
11290
|
-
"name": "to",
|
11291
|
-
"default": "-",
|
11292
|
-
"description": "Target route of the link, same as to of vue-router",
|
11293
|
-
"options": [],
|
11294
|
-
"value": {
|
11295
|
-
"type": "string | object",
|
11296
|
-
"kind": "expression"
|
11297
|
-
}
|
11298
|
-
},
|
11299
|
-
{
|
11300
|
-
"name": "replace",
|
11301
|
-
"default": "`false`",
|
11302
|
-
"description": "If true, the navigation will not leave a history record",
|
11303
|
-
"options": [],
|
11304
|
-
"value": {
|
11305
|
-
"type": "boolean",
|
11306
|
-
"kind": "expression"
|
11307
|
-
}
|
11308
|
-
}
|
11309
|
-
]
|
11310
|
-
},
|
11311
11311
|
{
|
11312
11312
|
"name": "van-tag",
|
11313
11313
|
"slots": [
|