vant 3.6.6 → 3.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/field/Field.mjs +5 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/lib/field/Field.js +5 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.cjs.js +6 -1
- package/lib/vant.es.js +6 -1
- package/lib/vant.js +6 -1
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1773 -1773
- package/package.json +5 -2
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.8",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -262,269 +262,215 @@
|
|
262
262
|
]
|
263
263
|
},
|
264
264
|
{
|
265
|
-
"name": "van-address-
|
265
|
+
"name": "van-address-edit",
|
266
266
|
"slots": [
|
267
267
|
{
|
268
268
|
"name": "default",
|
269
|
-
"description": "Custom content
|
270
|
-
},
|
271
|
-
{
|
272
|
-
"name": "top",
|
273
|
-
"description": "Custom content before list"
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"name": "item-bottom",
|
277
|
-
"description": "Custom content after list item"
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"name": "tag",
|
281
|
-
"description": "Custom tag of list item"
|
269
|
+
"description": "Custom content below postal"
|
282
270
|
}
|
283
271
|
],
|
284
272
|
"events": [
|
285
273
|
{
|
286
|
-
"name": "
|
287
|
-
"description": "Emitted when the
|
288
|
-
"arguments": [
|
274
|
+
"name": "save",
|
275
|
+
"description": "Emitted when the save button is clicked",
|
276
|
+
"arguments": [
|
277
|
+
{
|
278
|
+
"name": "content",
|
279
|
+
"type": "form content"
|
280
|
+
}
|
281
|
+
]
|
289
282
|
},
|
290
283
|
{
|
291
|
-
"name": "
|
292
|
-
"description": "Emitted when
|
284
|
+
"name": "focus",
|
285
|
+
"description": "Emitted when field is focused",
|
293
286
|
"arguments": [
|
294
287
|
{
|
295
|
-
"name": "
|
296
|
-
"type": "
|
297
|
-
},
|
298
|
-
{
|
299
|
-
"name": "index",
|
300
|
-
"type": "number"
|
288
|
+
"name": "key",
|
289
|
+
"type": "field name"
|
301
290
|
}
|
302
291
|
]
|
303
292
|
},
|
304
293
|
{
|
305
|
-
"name": "
|
306
|
-
"description": "Emitted when
|
294
|
+
"name": "delete",
|
295
|
+
"description": "Emitted when confirming delete",
|
307
296
|
"arguments": [
|
308
297
|
{
|
309
|
-
"name": "
|
310
|
-
"type": "
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"name": "index",
|
314
|
-
"type": "number"
|
298
|
+
"name": "content",
|
299
|
+
"type": "form content"
|
315
300
|
}
|
316
301
|
]
|
317
302
|
},
|
318
303
|
{
|
319
|
-
"name": "
|
320
|
-
"description": "Emitted when
|
304
|
+
"name": "select-search",
|
305
|
+
"description": "Emitted when a search result is selected",
|
321
306
|
"arguments": [
|
322
307
|
{
|
323
|
-
"name": "
|
324
|
-
"type": "
|
325
|
-
},
|
326
|
-
{
|
327
|
-
"name": "index",
|
328
|
-
"type": "number"
|
308
|
+
"name": "value",
|
309
|
+
"type": "search content"
|
329
310
|
}
|
330
311
|
]
|
331
312
|
},
|
332
313
|
{
|
333
|
-
"name": "
|
334
|
-
"description": "Emitted when
|
314
|
+
"name": "click-area",
|
315
|
+
"description": "Emitted when the area field is clicked",
|
316
|
+
"arguments": []
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"name": "change-area",
|
320
|
+
"description": "Emitted when area changed",
|
335
321
|
"arguments": [
|
336
322
|
{
|
337
|
-
"name": "
|
338
|
-
"type": "
|
339
|
-
},
|
340
|
-
{
|
341
|
-
"name": "index",
|
342
|
-
"type": "number"
|
323
|
+
"name": "values",
|
324
|
+
"type": "area values"
|
343
325
|
}
|
344
326
|
]
|
345
327
|
},
|
346
328
|
{
|
347
|
-
"name": "
|
348
|
-
"description": "Emitted when
|
329
|
+
"name": "change-detail",
|
330
|
+
"description": "Emitted when address detail changed",
|
349
331
|
"arguments": [
|
350
332
|
{
|
351
|
-
"name": "
|
352
|
-
"type": "
|
353
|
-
}
|
333
|
+
"name": "value",
|
334
|
+
"type": "address detail"
|
335
|
+
}
|
336
|
+
]
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"name": "change-default",
|
340
|
+
"description": "Emitted when switching default address",
|
341
|
+
"arguments": [
|
354
342
|
{
|
355
|
-
"name": "
|
356
|
-
"type": "
|
343
|
+
"name": "value",
|
344
|
+
"type": "checked"
|
357
345
|
}
|
358
346
|
]
|
359
347
|
}
|
360
348
|
],
|
361
349
|
"attributes": [
|
362
350
|
{
|
363
|
-
"name": "
|
351
|
+
"name": "area-list",
|
364
352
|
"default": "-",
|
365
|
-
"description": "
|
353
|
+
"description": "Area List",
|
366
354
|
"options": [],
|
367
355
|
"value": {
|
368
|
-
"type": "
|
356
|
+
"type": "object",
|
369
357
|
"kind": "expression"
|
370
358
|
}
|
371
359
|
},
|
372
360
|
{
|
373
|
-
"name": "
|
361
|
+
"name": "area-columns-placeholder",
|
374
362
|
"default": "`[]`",
|
375
|
-
"description": "
|
363
|
+
"description": "placeholder of area columns",
|
376
364
|
"options": [],
|
377
365
|
"value": {
|
378
|
-
"type": "
|
366
|
+
"type": "string[]",
|
379
367
|
"kind": "expression"
|
380
368
|
}
|
381
369
|
},
|
382
370
|
{
|
383
|
-
"name": "
|
384
|
-
"default": "`
|
385
|
-
"description": "
|
371
|
+
"name": "area-placeholder",
|
372
|
+
"default": "`Area`",
|
373
|
+
"description": "placeholder of area input field",
|
386
374
|
"options": [],
|
387
375
|
"value": {
|
388
|
-
"type": "
|
376
|
+
"type": "string",
|
389
377
|
"kind": "expression"
|
390
378
|
}
|
391
379
|
},
|
392
380
|
{
|
393
|
-
"name": "
|
394
|
-
"default": "
|
395
|
-
"description": "
|
381
|
+
"name": "address-info",
|
382
|
+
"default": "`{}`",
|
383
|
+
"description": "Address Info",
|
396
384
|
"options": [],
|
397
385
|
"value": {
|
398
|
-
"type": "
|
386
|
+
"type": "AddressEditInfo",
|
399
387
|
"kind": "expression"
|
400
388
|
}
|
401
389
|
},
|
402
390
|
{
|
403
|
-
"name": "
|
404
|
-
"default": "`
|
405
|
-
"description": "
|
391
|
+
"name": "search-result",
|
392
|
+
"default": "`[]`",
|
393
|
+
"description": "Address search result",
|
406
394
|
"options": [],
|
407
395
|
"value": {
|
408
|
-
"type": "
|
396
|
+
"type": "AddressEditSearchItem[]",
|
409
397
|
"kind": "expression"
|
410
398
|
}
|
411
399
|
},
|
412
400
|
{
|
413
|
-
"name": "
|
414
|
-
"default": "`
|
415
|
-
"description": "
|
401
|
+
"name": "show-postal",
|
402
|
+
"default": "`false`",
|
403
|
+
"description": "Whether to show postal field",
|
416
404
|
"options": [],
|
417
405
|
"value": {
|
418
|
-
"type": "
|
406
|
+
"type": "boolean",
|
419
407
|
"kind": "expression"
|
420
408
|
}
|
421
409
|
},
|
422
410
|
{
|
423
|
-
"name": "
|
424
|
-
"default": "
|
425
|
-
"description": "
|
411
|
+
"name": "show-delete",
|
412
|
+
"default": "`false`",
|
413
|
+
"description": "Whether to show delete button",
|
426
414
|
"options": [],
|
427
415
|
"value": {
|
428
|
-
"type": "
|
416
|
+
"type": "boolean",
|
429
417
|
"kind": "expression"
|
430
418
|
}
|
431
|
-
}
|
432
|
-
]
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"name": "van-area",
|
436
|
-
"slots": [
|
437
|
-
{
|
438
|
-
"name": "toolbar",
|
439
|
-
"description": "Custom toolbar content"
|
440
|
-
},
|
441
|
-
{
|
442
|
-
"name": "title",
|
443
|
-
"description": "Custom title"
|
444
|
-
},
|
445
|
-
{
|
446
|
-
"name": "confirm",
|
447
|
-
"description": "Custom confirm button text"
|
448
|
-
},
|
449
|
-
{
|
450
|
-
"name": "cancel",
|
451
|
-
"description": "Custom cancel button text"
|
452
|
-
},
|
453
|
-
{
|
454
|
-
"name": "columns-top",
|
455
|
-
"description": "Custom content above columns"
|
456
419
|
},
|
457
420
|
{
|
458
|
-
"name": "
|
459
|
-
"
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
"arguments": [
|
467
|
-
{
|
468
|
-
"name": "result",
|
469
|
-
"type": "ConfirmResult"
|
470
|
-
}
|
471
|
-
]
|
421
|
+
"name": "show-set-default",
|
422
|
+
"default": "`false`",
|
423
|
+
"description": "Whether to show default address switch",
|
424
|
+
"options": [],
|
425
|
+
"value": {
|
426
|
+
"type": "boolean",
|
427
|
+
"kind": "expression"
|
428
|
+
}
|
472
429
|
},
|
473
430
|
{
|
474
|
-
"name": "
|
475
|
-
"
|
476
|
-
"
|
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
|
+
}
|
477
439
|
},
|
478
440
|
{
|
479
|
-
"name": "
|
480
|
-
"
|
481
|
-
"
|
482
|
-
{
|
483
|
-
"name": "current",
|
484
|
-
"type": "values"
|
485
|
-
},
|
486
|
-
{
|
487
|
-
"name": "column",
|
488
|
-
"type": "index"
|
489
|
-
}
|
490
|
-
]
|
491
|
-
}
|
492
|
-
],
|
493
|
-
"attributes": [
|
494
|
-
{
|
495
|
-
"name": "value",
|
496
|
-
"default": "-",
|
497
|
-
"description": "the `code` of selected area",
|
441
|
+
"name": "show-area",
|
442
|
+
"default": "`true`",
|
443
|
+
"description": "Whether to show area cell",
|
498
444
|
"options": [],
|
499
445
|
"value": {
|
500
|
-
"type": "
|
446
|
+
"type": "boolean",
|
501
447
|
"kind": "expression"
|
502
448
|
}
|
503
449
|
},
|
504
450
|
{
|
505
|
-
"name": "
|
506
|
-
"default": "
|
507
|
-
"description": "
|
451
|
+
"name": "show-detail",
|
452
|
+
"default": "`true`",
|
453
|
+
"description": "Whether to show detail field",
|
508
454
|
"options": [],
|
509
455
|
"value": {
|
510
|
-
"type": "
|
456
|
+
"type": "boolean",
|
511
457
|
"kind": "expression"
|
512
458
|
}
|
513
459
|
},
|
514
460
|
{
|
515
|
-
"name": "
|
516
|
-
"default": "`
|
517
|
-
"description": "
|
461
|
+
"name": "disable-area",
|
462
|
+
"default": "`false`",
|
463
|
+
"description": "Whether to disable area select",
|
518
464
|
"options": [],
|
519
465
|
"value": {
|
520
|
-
"type": "
|
466
|
+
"type": "boolean",
|
521
467
|
"kind": "expression"
|
522
468
|
}
|
523
469
|
},
|
524
470
|
{
|
525
|
-
"name": "
|
526
|
-
"default": "`
|
527
|
-
"description": "
|
471
|
+
"name": "save-button-text",
|
472
|
+
"default": "`Save`",
|
473
|
+
"description": "Save button text",
|
528
474
|
"options": [],
|
529
475
|
"value": {
|
530
476
|
"type": "string",
|
@@ -532,39 +478,39 @@
|
|
532
478
|
}
|
533
479
|
},
|
534
480
|
{
|
535
|
-
"name": "
|
536
|
-
"default": "
|
537
|
-
"description": "
|
481
|
+
"name": "delete-button-text",
|
482
|
+
"default": "`Delete`",
|
483
|
+
"description": "Delete button text",
|
538
484
|
"options": [],
|
539
485
|
"value": {
|
540
|
-
"type": "
|
486
|
+
"type": "string",
|
541
487
|
"kind": "expression"
|
542
488
|
}
|
543
489
|
},
|
544
490
|
{
|
545
|
-
"name": "
|
546
|
-
"default": "`
|
547
|
-
"description": "
|
491
|
+
"name": "detail-rows",
|
492
|
+
"default": "`1`",
|
493
|
+
"description": "Detail input rows",
|
548
494
|
"options": [],
|
549
495
|
"value": {
|
550
|
-
"type": "string
|
496
|
+
"type": "number | string",
|
551
497
|
"kind": "expression"
|
552
498
|
}
|
553
499
|
},
|
554
500
|
{
|
555
|
-
"name": "
|
556
|
-
"default": "`
|
557
|
-
"description": "
|
501
|
+
"name": "detail-maxlength",
|
502
|
+
"default": "`200`",
|
503
|
+
"description": "Detail maxlength",
|
558
504
|
"options": [],
|
559
505
|
"value": {
|
560
|
-
"type": "
|
506
|
+
"type": "number | string",
|
561
507
|
"kind": "expression"
|
562
508
|
}
|
563
509
|
},
|
564
510
|
{
|
565
|
-
"name": "
|
511
|
+
"name": "is-saving",
|
566
512
|
"default": "`false`",
|
567
|
-
"description": "Whether to
|
513
|
+
"description": "Whether to show save button loading status",
|
568
514
|
"options": [],
|
569
515
|
"value": {
|
570
516
|
"type": "boolean",
|
@@ -572,29 +518,29 @@
|
|
572
518
|
}
|
573
519
|
},
|
574
520
|
{
|
575
|
-
"name": "
|
576
|
-
"default": "`
|
577
|
-
"description": "
|
521
|
+
"name": "is-deleting",
|
522
|
+
"default": "`false`",
|
523
|
+
"description": "Whether to show delete button loading status",
|
578
524
|
"options": [],
|
579
525
|
"value": {
|
580
|
-
"type": "
|
526
|
+
"type": "boolean",
|
581
527
|
"kind": "expression"
|
582
528
|
}
|
583
529
|
},
|
584
530
|
{
|
585
|
-
"name": "
|
586
|
-
"default": "
|
587
|
-
"description": "
|
531
|
+
"name": "tel-validator",
|
532
|
+
"default": "-",
|
533
|
+
"description": "The method to validate tel",
|
588
534
|
"options": [],
|
589
535
|
"value": {
|
590
|
-
"type": "
|
536
|
+
"type": "(tel: string) => boolean",
|
591
537
|
"kind": "expression"
|
592
538
|
}
|
593
539
|
},
|
594
540
|
{
|
595
|
-
"name": "
|
596
|
-
"default": "
|
597
|
-
"description": "
|
541
|
+
"name": "tel-maxlength",
|
542
|
+
"default": "-",
|
543
|
+
"description": "Tel maxlength",
|
598
544
|
"options": [],
|
599
545
|
"value": {
|
600
546
|
"type": "number | string",
|
@@ -602,227 +548,169 @@
|
|
602
548
|
}
|
603
549
|
},
|
604
550
|
{
|
605
|
-
"name": "
|
606
|
-
"default": "
|
607
|
-
"description": "
|
551
|
+
"name": "postal-validator",
|
552
|
+
"default": "-",
|
553
|
+
"description": "The method to validate postal",
|
608
554
|
"options": [],
|
609
555
|
"value": {
|
610
|
-
"type": "
|
556
|
+
"type": "(tel: string) => boolean",
|
611
557
|
"kind": "expression"
|
612
558
|
}
|
613
559
|
},
|
614
560
|
{
|
615
|
-
"name": "
|
561
|
+
"name": "validator",
|
616
562
|
"default": "-",
|
617
|
-
"description": "
|
563
|
+
"description": "Custom validator",
|
618
564
|
"options": [],
|
619
565
|
"value": {
|
620
|
-
"type": "() =>
|
566
|
+
"type": "(key, val) => string",
|
621
567
|
"kind": "expression"
|
622
568
|
}
|
623
569
|
}
|
624
570
|
]
|
625
571
|
},
|
626
572
|
{
|
627
|
-
"name": "van-address-
|
573
|
+
"name": "van-address-list",
|
628
574
|
"slots": [
|
629
575
|
{
|
630
576
|
"name": "default",
|
631
|
-
"description": "Custom content
|
632
|
-
}
|
633
|
-
],
|
634
|
-
"events": [
|
635
|
-
{
|
636
|
-
"name": "save",
|
637
|
-
"description": "Emitted when the save button is clicked",
|
638
|
-
"arguments": [
|
639
|
-
{
|
640
|
-
"name": "content",
|
641
|
-
"type": "form content"
|
642
|
-
}
|
643
|
-
]
|
577
|
+
"description": "Custom content after list"
|
644
578
|
},
|
645
579
|
{
|
646
|
-
"name": "
|
647
|
-
"description": "
|
648
|
-
"arguments": [
|
649
|
-
{
|
650
|
-
"name": "key",
|
651
|
-
"type": "field name"
|
652
|
-
}
|
653
|
-
]
|
580
|
+
"name": "top",
|
581
|
+
"description": "Custom content before list"
|
654
582
|
},
|
655
583
|
{
|
656
|
-
"name": "
|
657
|
-
"description": "
|
658
|
-
"arguments": [
|
659
|
-
{
|
660
|
-
"name": "content",
|
661
|
-
"type": "form content"
|
662
|
-
}
|
663
|
-
]
|
584
|
+
"name": "item-bottom",
|
585
|
+
"description": "Custom content after list item"
|
664
586
|
},
|
665
587
|
{
|
666
|
-
"name": "
|
667
|
-
"description": "
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
"type": "search content"
|
672
|
-
}
|
673
|
-
]
|
674
|
-
},
|
588
|
+
"name": "tag",
|
589
|
+
"description": "Custom tag of list item"
|
590
|
+
}
|
591
|
+
],
|
592
|
+
"events": [
|
675
593
|
{
|
676
|
-
"name": "
|
677
|
-
"description": "Emitted when the
|
594
|
+
"name": "add",
|
595
|
+
"description": "Emitted when the add button is clicked",
|
678
596
|
"arguments": []
|
679
597
|
},
|
680
598
|
{
|
681
|
-
"name": "
|
682
|
-
"description": "Emitted when
|
599
|
+
"name": "edit",
|
600
|
+
"description": "Emitted when the edit icon of address is clicked",
|
683
601
|
"arguments": [
|
684
602
|
{
|
685
|
-
"name": "
|
686
|
-
"type": "
|
603
|
+
"name": "item",
|
604
|
+
"type": "Address"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"name": "index",
|
608
|
+
"type": "number"
|
687
609
|
}
|
688
610
|
]
|
689
611
|
},
|
690
612
|
{
|
691
|
-
"name": "
|
692
|
-
"description": "Emitted when address
|
613
|
+
"name": "select",
|
614
|
+
"description": "Emitted when an address is selected",
|
693
615
|
"arguments": [
|
694
616
|
{
|
695
|
-
"name": "
|
696
|
-
"type": "
|
617
|
+
"name": "item",
|
618
|
+
"type": "Address"
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"name": "index",
|
622
|
+
"type": "number"
|
697
623
|
}
|
698
624
|
]
|
699
625
|
},
|
700
626
|
{
|
701
|
-
"name": "
|
702
|
-
"description": "Emitted when
|
627
|
+
"name": "edit-disabled",
|
628
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
703
629
|
"arguments": [
|
704
630
|
{
|
705
|
-
"name": "
|
706
|
-
"type": "
|
631
|
+
"name": "item",
|
632
|
+
"type": "Address"
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"name": "index",
|
636
|
+
"type": "number"
|
707
637
|
}
|
708
638
|
]
|
709
|
-
}
|
710
|
-
],
|
711
|
-
"attributes": [
|
712
|
-
{
|
713
|
-
"name": "area-list",
|
714
|
-
"default": "-",
|
715
|
-
"description": "Area List",
|
716
|
-
"options": [],
|
717
|
-
"value": {
|
718
|
-
"type": "object",
|
719
|
-
"kind": "expression"
|
720
|
-
}
|
721
|
-
},
|
722
|
-
{
|
723
|
-
"name": "area-columns-placeholder",
|
724
|
-
"default": "`[]`",
|
725
|
-
"description": "placeholder of area columns",
|
726
|
-
"options": [],
|
727
|
-
"value": {
|
728
|
-
"type": "string[]",
|
729
|
-
"kind": "expression"
|
730
|
-
}
|
731
|
-
},
|
732
|
-
{
|
733
|
-
"name": "area-placeholder",
|
734
|
-
"default": "`Area`",
|
735
|
-
"description": "placeholder of area input field",
|
736
|
-
"options": [],
|
737
|
-
"value": {
|
738
|
-
"type": "string",
|
739
|
-
"kind": "expression"
|
740
|
-
}
|
741
|
-
},
|
742
|
-
{
|
743
|
-
"name": "address-info",
|
744
|
-
"default": "`{}`",
|
745
|
-
"description": "Address Info",
|
746
|
-
"options": [],
|
747
|
-
"value": {
|
748
|
-
"type": "AddressEditInfo",
|
749
|
-
"kind": "expression"
|
750
|
-
}
|
751
|
-
},
|
752
|
-
{
|
753
|
-
"name": "search-result",
|
754
|
-
"default": "`[]`",
|
755
|
-
"description": "Address search result",
|
756
|
-
"options": [],
|
757
|
-
"value": {
|
758
|
-
"type": "AddressEditSearchItem[]",
|
759
|
-
"kind": "expression"
|
760
|
-
}
|
761
|
-
},
|
762
|
-
{
|
763
|
-
"name": "show-postal",
|
764
|
-
"default": "`false`",
|
765
|
-
"description": "Whether to show postal field",
|
766
|
-
"options": [],
|
767
|
-
"value": {
|
768
|
-
"type": "boolean",
|
769
|
-
"kind": "expression"
|
770
|
-
}
|
771
639
|
},
|
772
640
|
{
|
773
|
-
"name": "
|
774
|
-
"
|
775
|
-
"
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
641
|
+
"name": "select-disabled",
|
642
|
+
"description": "Emitted when a disabled address is selected",
|
643
|
+
"arguments": [
|
644
|
+
{
|
645
|
+
"name": "item",
|
646
|
+
"type": "Address"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"name": "index",
|
650
|
+
"type": "number"
|
651
|
+
}
|
652
|
+
]
|
781
653
|
},
|
782
654
|
{
|
783
|
-
"name": "
|
784
|
-
"
|
785
|
-
"
|
655
|
+
"name": "click-item",
|
656
|
+
"description": "Emitted when an address item is clicked",
|
657
|
+
"arguments": [
|
658
|
+
{
|
659
|
+
"name": "item",
|
660
|
+
"type": "Address"
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"name": "index",
|
664
|
+
"type": "number"
|
665
|
+
}
|
666
|
+
]
|
667
|
+
}
|
668
|
+
],
|
669
|
+
"attributes": [
|
670
|
+
{
|
671
|
+
"name": "v-model",
|
672
|
+
"default": "-",
|
673
|
+
"description": "Id of chosen address",
|
786
674
|
"options": [],
|
787
675
|
"value": {
|
788
|
-
"type": "
|
676
|
+
"type": "string",
|
789
677
|
"kind": "expression"
|
790
678
|
}
|
791
679
|
},
|
792
680
|
{
|
793
|
-
"name": "
|
794
|
-
"default": "`
|
795
|
-
"description": "
|
681
|
+
"name": "list",
|
682
|
+
"default": "`[]`",
|
683
|
+
"description": "Address list",
|
796
684
|
"options": [],
|
797
685
|
"value": {
|
798
|
-
"type": "
|
686
|
+
"type": "Address[]",
|
799
687
|
"kind": "expression"
|
800
688
|
}
|
801
689
|
},
|
802
690
|
{
|
803
|
-
"name": "
|
804
|
-
"default": "`
|
805
|
-
"description": "
|
691
|
+
"name": "disabled-list",
|
692
|
+
"default": "`[]`",
|
693
|
+
"description": "Disabled address list",
|
806
694
|
"options": [],
|
807
695
|
"value": {
|
808
|
-
"type": "
|
696
|
+
"type": "Address[]",
|
809
697
|
"kind": "expression"
|
810
698
|
}
|
811
699
|
},
|
812
700
|
{
|
813
|
-
"name": "
|
814
|
-
"default": "
|
815
|
-
"description": "
|
701
|
+
"name": "disabled-text",
|
702
|
+
"default": "-",
|
703
|
+
"description": "Disabled text",
|
816
704
|
"options": [],
|
817
705
|
"value": {
|
818
|
-
"type": "
|
706
|
+
"type": "string",
|
819
707
|
"kind": "expression"
|
820
708
|
}
|
821
709
|
},
|
822
710
|
{
|
823
|
-
"name": "
|
824
|
-
"default": "`
|
825
|
-
"description": "Whether to
|
711
|
+
"name": "switchable",
|
712
|
+
"default": "`true`",
|
713
|
+
"description": "Whether to allow switch address",
|
826
714
|
"options": [],
|
827
715
|
"value": {
|
828
716
|
"type": "boolean",
|
@@ -830,9 +718,9 @@
|
|
830
718
|
}
|
831
719
|
},
|
832
720
|
{
|
833
|
-
"name": "
|
834
|
-
"default": "`
|
835
|
-
"description": "
|
721
|
+
"name": "add-button-text",
|
722
|
+
"default": "`Add new address`",
|
723
|
+
"description": "Add button text",
|
836
724
|
"options": [],
|
837
725
|
"value": {
|
838
726
|
"type": "string",
|
@@ -840,29 +728,35 @@
|
|
840
728
|
}
|
841
729
|
},
|
842
730
|
{
|
843
|
-
"name": "
|
844
|
-
"default": "
|
845
|
-
"description": "
|
731
|
+
"name": "default-tag-text",
|
732
|
+
"default": "-",
|
733
|
+
"description": "Default tag text",
|
846
734
|
"options": [],
|
847
735
|
"value": {
|
848
736
|
"type": "string",
|
849
737
|
"kind": "expression"
|
850
738
|
}
|
851
|
-
}
|
739
|
+
}
|
740
|
+
]
|
741
|
+
},
|
742
|
+
{
|
743
|
+
"name": "van-badge",
|
744
|
+
"slots": [
|
852
745
|
{
|
853
|
-
"name": "
|
854
|
-
"
|
855
|
-
"description": "Detail input rows",
|
856
|
-
"options": [],
|
857
|
-
"value": {
|
858
|
-
"type": "number | string",
|
859
|
-
"kind": "expression"
|
860
|
-
}
|
746
|
+
"name": "default",
|
747
|
+
"description": "Default slot"
|
861
748
|
},
|
862
749
|
{
|
863
|
-
"name": "
|
864
|
-
"
|
865
|
-
|
750
|
+
"name": "content",
|
751
|
+
"description": "Custom badge content"
|
752
|
+
}
|
753
|
+
],
|
754
|
+
"events": [],
|
755
|
+
"attributes": [
|
756
|
+
{
|
757
|
+
"name": "content",
|
758
|
+
"default": "-",
|
759
|
+
"description": "Badge content",
|
866
760
|
"options": [],
|
867
761
|
"value": {
|
868
762
|
"type": "number | string",
|
@@ -870,19 +764,19 @@
|
|
870
764
|
}
|
871
765
|
},
|
872
766
|
{
|
873
|
-
"name": "
|
874
|
-
"default": "`
|
875
|
-
"description": "
|
767
|
+
"name": "color",
|
768
|
+
"default": "`#ee0a24`",
|
769
|
+
"description": "Background color",
|
876
770
|
"options": [],
|
877
771
|
"value": {
|
878
|
-
"type": "
|
772
|
+
"type": "string",
|
879
773
|
"kind": "expression"
|
880
774
|
}
|
881
775
|
},
|
882
776
|
{
|
883
|
-
"name": "
|
777
|
+
"name": "dot",
|
884
778
|
"default": "`false`",
|
885
|
-
"description": "Whether to show
|
779
|
+
"description": "Whether to show dot",
|
886
780
|
"options": [],
|
887
781
|
"value": {
|
888
782
|
"type": "boolean",
|
@@ -890,42 +784,42 @@
|
|
890
784
|
}
|
891
785
|
},
|
892
786
|
{
|
893
|
-
"name": "
|
787
|
+
"name": "max",
|
894
788
|
"default": "-",
|
895
|
-
"description": "
|
789
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
896
790
|
"options": [],
|
897
791
|
"value": {
|
898
|
-
"type": "
|
792
|
+
"type": "number | string",
|
899
793
|
"kind": "expression"
|
900
794
|
}
|
901
795
|
},
|
902
796
|
{
|
903
|
-
"name": "
|
797
|
+
"name": "offset",
|
904
798
|
"default": "-",
|
905
|
-
"description": "
|
799
|
+
"description": "Offset of badge dot",
|
906
800
|
"options": [],
|
907
801
|
"value": {
|
908
|
-
"type": "number | string",
|
802
|
+
"type": "[number | string, number | string]",
|
909
803
|
"kind": "expression"
|
910
804
|
}
|
911
805
|
},
|
912
806
|
{
|
913
|
-
"name": "
|
914
|
-
"default": "
|
915
|
-
"description": "
|
807
|
+
"name": "show-zero",
|
808
|
+
"default": "`true`",
|
809
|
+
"description": "Whether to show badge when content is zero",
|
916
810
|
"options": [],
|
917
811
|
"value": {
|
918
|
-
"type": "
|
812
|
+
"type": "boolean",
|
919
813
|
"kind": "expression"
|
920
814
|
}
|
921
815
|
},
|
922
816
|
{
|
923
|
-
"name": "
|
924
|
-
"default": "-",
|
925
|
-
"description": "
|
817
|
+
"name": "position",
|
818
|
+
"default": "`top-right`",
|
819
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
926
820
|
"options": [],
|
927
821
|
"value": {
|
928
|
-
"type": "
|
822
|
+
"type": "string",
|
929
823
|
"kind": "expression"
|
930
824
|
}
|
931
825
|
}
|
@@ -1119,130 +1013,34 @@
|
|
1119
1013
|
"description": "Custom overlay style",
|
1120
1014
|
"options": [],
|
1121
1015
|
"value": {
|
1122
|
-
"type": "object",
|
1123
|
-
"kind": "expression"
|
1124
|
-
}
|
1125
|
-
},
|
1126
|
-
{
|
1127
|
-
"name": "lock-scroll",
|
1128
|
-
"default": "`true`",
|
1129
|
-
"description": "Whether to lock background scroll",
|
1130
|
-
"options": [],
|
1131
|
-
"value": {
|
1132
|
-
"type": "boolean",
|
1133
|
-
"kind": "expression"
|
1134
|
-
}
|
1135
|
-
},
|
1136
|
-
{
|
1137
|
-
"name": "lazy-render",
|
1138
|
-
"default": "`true`",
|
1139
|
-
"description": "Whether to lazy render util appeared",
|
1140
|
-
"options": [],
|
1141
|
-
"value": {
|
1142
|
-
"type": "boolean",
|
1143
|
-
"kind": "expression"
|
1144
|
-
}
|
1145
|
-
},
|
1146
|
-
{
|
1147
|
-
"name": "close-on-popstate",
|
1148
|
-
"default": "`true`",
|
1149
|
-
"description": "Whether to close when popstate",
|
1150
|
-
"options": [],
|
1151
|
-
"value": {
|
1152
|
-
"type": "boolean",
|
1153
|
-
"kind": "expression"
|
1154
|
-
}
|
1155
|
-
},
|
1156
|
-
{
|
1157
|
-
"name": "close-on-click-action",
|
1158
|
-
"default": "`false`",
|
1159
|
-
"description": "Whether to close when an action is clicked",
|
1160
|
-
"options": [],
|
1161
|
-
"value": {
|
1162
|
-
"type": "boolean",
|
1163
|
-
"kind": "expression"
|
1164
|
-
}
|
1165
|
-
},
|
1166
|
-
{
|
1167
|
-
"name": "close-on-click-overlay",
|
1168
|
-
"default": "`true`",
|
1169
|
-
"description": "Whether to close when overlay is clicked",
|
1170
|
-
"options": [],
|
1171
|
-
"value": {
|
1172
|
-
"type": "boolean",
|
1173
|
-
"kind": "expression"
|
1174
|
-
}
|
1175
|
-
},
|
1176
|
-
{
|
1177
|
-
"name": "safe-area-inset-bottom",
|
1178
|
-
"default": "`true`",
|
1179
|
-
"description": "Whether to enable bottom safe area adaptation",
|
1180
|
-
"options": [],
|
1181
|
-
"value": {
|
1182
|
-
"type": "boolean",
|
1183
|
-
"kind": "expression"
|
1184
|
-
}
|
1185
|
-
},
|
1186
|
-
{
|
1187
|
-
"name": "teleport",
|
1188
|
-
"default": "-",
|
1189
|
-
"description": "Specifies a target element where ActionSheet will be mounted",
|
1190
|
-
"options": [],
|
1191
|
-
"value": {
|
1192
|
-
"type": "string | Element",
|
1193
|
-
"kind": "expression"
|
1194
|
-
}
|
1195
|
-
},
|
1196
|
-
{
|
1197
|
-
"name": "before-close",
|
1198
|
-
"default": "-",
|
1199
|
-
"description": "Callback function before close",
|
1200
|
-
"options": [],
|
1201
|
-
"value": {
|
1202
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1203
|
-
"kind": "expression"
|
1204
|
-
}
|
1205
|
-
}
|
1206
|
-
]
|
1207
|
-
},
|
1208
|
-
{
|
1209
|
-
"name": "van-badge",
|
1210
|
-
"slots": [
|
1211
|
-
{
|
1212
|
-
"name": "default",
|
1213
|
-
"description": "Default slot"
|
1214
|
-
},
|
1215
|
-
{
|
1216
|
-
"name": "content",
|
1217
|
-
"description": "Custom badge content"
|
1218
|
-
}
|
1219
|
-
],
|
1220
|
-
"events": [],
|
1221
|
-
"attributes": [
|
1016
|
+
"type": "object",
|
1017
|
+
"kind": "expression"
|
1018
|
+
}
|
1019
|
+
},
|
1222
1020
|
{
|
1223
|
-
"name": "
|
1224
|
-
"default": "
|
1225
|
-
"description": "
|
1021
|
+
"name": "lock-scroll",
|
1022
|
+
"default": "`true`",
|
1023
|
+
"description": "Whether to lock background scroll",
|
1226
1024
|
"options": [],
|
1227
1025
|
"value": {
|
1228
|
-
"type": "
|
1026
|
+
"type": "boolean",
|
1229
1027
|
"kind": "expression"
|
1230
1028
|
}
|
1231
1029
|
},
|
1232
1030
|
{
|
1233
|
-
"name": "
|
1234
|
-
"default": "
|
1235
|
-
"description": "
|
1031
|
+
"name": "lazy-render",
|
1032
|
+
"default": "`true`",
|
1033
|
+
"description": "Whether to lazy render util appeared",
|
1236
1034
|
"options": [],
|
1237
1035
|
"value": {
|
1238
|
-
"type": "
|
1036
|
+
"type": "boolean",
|
1239
1037
|
"kind": "expression"
|
1240
1038
|
}
|
1241
1039
|
},
|
1242
1040
|
{
|
1243
|
-
"name": "
|
1244
|
-
"default": "`
|
1245
|
-
"description": "Whether to
|
1041
|
+
"name": "close-on-popstate",
|
1042
|
+
"default": "`true`",
|
1043
|
+
"description": "Whether to close when popstate",
|
1246
1044
|
"options": [],
|
1247
1045
|
"value": {
|
1248
1046
|
"type": "boolean",
|
@@ -1250,29 +1048,29 @@
|
|
1250
1048
|
}
|
1251
1049
|
},
|
1252
1050
|
{
|
1253
|
-
"name": "
|
1254
|
-
"default": "
|
1255
|
-
"description": "
|
1051
|
+
"name": "close-on-click-action",
|
1052
|
+
"default": "`false`",
|
1053
|
+
"description": "Whether to close when an action is clicked",
|
1256
1054
|
"options": [],
|
1257
1055
|
"value": {
|
1258
|
-
"type": "
|
1056
|
+
"type": "boolean",
|
1259
1057
|
"kind": "expression"
|
1260
1058
|
}
|
1261
1059
|
},
|
1262
1060
|
{
|
1263
|
-
"name": "
|
1264
|
-
"default": "
|
1265
|
-
"description": "
|
1061
|
+
"name": "close-on-click-overlay",
|
1062
|
+
"default": "`true`",
|
1063
|
+
"description": "Whether to close when overlay is clicked",
|
1266
1064
|
"options": [],
|
1267
1065
|
"value": {
|
1268
|
-
"type": "
|
1066
|
+
"type": "boolean",
|
1269
1067
|
"kind": "expression"
|
1270
1068
|
}
|
1271
1069
|
},
|
1272
1070
|
{
|
1273
|
-
"name": "
|
1071
|
+
"name": "safe-area-inset-bottom",
|
1274
1072
|
"default": "`true`",
|
1275
|
-
"description": "Whether to
|
1073
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1276
1074
|
"options": [],
|
1277
1075
|
"value": {
|
1278
1076
|
"type": "boolean",
|
@@ -1280,12 +1078,22 @@
|
|
1280
1078
|
}
|
1281
1079
|
},
|
1282
1080
|
{
|
1283
|
-
"name": "
|
1284
|
-
"default": "
|
1285
|
-
"description": "
|
1081
|
+
"name": "teleport",
|
1082
|
+
"default": "-",
|
1083
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1286
1084
|
"options": [],
|
1287
1085
|
"value": {
|
1288
|
-
"type": "string",
|
1086
|
+
"type": "string | Element",
|
1087
|
+
"kind": "expression"
|
1088
|
+
}
|
1089
|
+
},
|
1090
|
+
{
|
1091
|
+
"name": "before-close",
|
1092
|
+
"default": "-",
|
1093
|
+
"description": "Callback function before close",
|
1094
|
+
"options": [],
|
1095
|
+
"value": {
|
1096
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1289
1097
|
"kind": "expression"
|
1290
1098
|
}
|
1291
1099
|
}
|
@@ -1511,32 +1319,224 @@
|
|
1511
1319
|
}
|
1512
1320
|
},
|
1513
1321
|
{
|
1514
|
-
"name": "url",
|
1515
|
-
"default": "-",
|
1516
|
-
"description": "Link URL",
|
1322
|
+
"name": "url",
|
1323
|
+
"default": "-",
|
1324
|
+
"description": "Link URL",
|
1325
|
+
"options": [],
|
1326
|
+
"value": {
|
1327
|
+
"type": "string",
|
1328
|
+
"kind": "expression"
|
1329
|
+
}
|
1330
|
+
},
|
1331
|
+
{
|
1332
|
+
"name": "to",
|
1333
|
+
"default": "-",
|
1334
|
+
"description": "Target route of the link, same as using vue-router",
|
1335
|
+
"options": [],
|
1336
|
+
"value": {
|
1337
|
+
"type": "string | object",
|
1338
|
+
"kind": "expression"
|
1339
|
+
}
|
1340
|
+
},
|
1341
|
+
{
|
1342
|
+
"name": "replace",
|
1343
|
+
"default": "`false`",
|
1344
|
+
"description": "If true, the navigation will not leave a history record",
|
1345
|
+
"options": [],
|
1346
|
+
"value": {
|
1347
|
+
"type": "boolean",
|
1348
|
+
"kind": "expression"
|
1349
|
+
}
|
1350
|
+
}
|
1351
|
+
]
|
1352
|
+
},
|
1353
|
+
{
|
1354
|
+
"name": "van-area",
|
1355
|
+
"slots": [
|
1356
|
+
{
|
1357
|
+
"name": "toolbar",
|
1358
|
+
"description": "Custom toolbar content"
|
1359
|
+
},
|
1360
|
+
{
|
1361
|
+
"name": "title",
|
1362
|
+
"description": "Custom title"
|
1363
|
+
},
|
1364
|
+
{
|
1365
|
+
"name": "confirm",
|
1366
|
+
"description": "Custom confirm button text"
|
1367
|
+
},
|
1368
|
+
{
|
1369
|
+
"name": "cancel",
|
1370
|
+
"description": "Custom cancel button text"
|
1371
|
+
},
|
1372
|
+
{
|
1373
|
+
"name": "columns-top",
|
1374
|
+
"description": "Custom content above columns"
|
1375
|
+
},
|
1376
|
+
{
|
1377
|
+
"name": "columns-bottom",
|
1378
|
+
"description": "Custom content below columns"
|
1379
|
+
}
|
1380
|
+
],
|
1381
|
+
"events": [
|
1382
|
+
{
|
1383
|
+
"name": "confirm",
|
1384
|
+
"description": "Emitted when the confirm button is clicked",
|
1385
|
+
"arguments": [
|
1386
|
+
{
|
1387
|
+
"name": "result",
|
1388
|
+
"type": "ConfirmResult"
|
1389
|
+
}
|
1390
|
+
]
|
1391
|
+
},
|
1392
|
+
{
|
1393
|
+
"name": "cancel",
|
1394
|
+
"description": "Emitted when the cancel button is clicked",
|
1395
|
+
"arguments": []
|
1396
|
+
},
|
1397
|
+
{
|
1398
|
+
"name": "change",
|
1399
|
+
"description": "Emitted when current option changed",
|
1400
|
+
"arguments": [
|
1401
|
+
{
|
1402
|
+
"name": "current",
|
1403
|
+
"type": "values"
|
1404
|
+
},
|
1405
|
+
{
|
1406
|
+
"name": "column",
|
1407
|
+
"type": "index"
|
1408
|
+
}
|
1409
|
+
]
|
1410
|
+
}
|
1411
|
+
],
|
1412
|
+
"attributes": [
|
1413
|
+
{
|
1414
|
+
"name": "value",
|
1415
|
+
"default": "-",
|
1416
|
+
"description": "the `code` of selected area",
|
1417
|
+
"options": [],
|
1418
|
+
"value": {
|
1419
|
+
"type": "string",
|
1420
|
+
"kind": "expression"
|
1421
|
+
}
|
1422
|
+
},
|
1423
|
+
{
|
1424
|
+
"name": "title",
|
1425
|
+
"default": "-",
|
1426
|
+
"description": "Toolbar title",
|
1427
|
+
"options": [],
|
1428
|
+
"value": {
|
1429
|
+
"type": "string",
|
1430
|
+
"kind": "expression"
|
1431
|
+
}
|
1432
|
+
},
|
1433
|
+
{
|
1434
|
+
"name": "confirm-button-text",
|
1435
|
+
"default": "`Confirm`",
|
1436
|
+
"description": "Text of confirm button",
|
1437
|
+
"options": [],
|
1438
|
+
"value": {
|
1439
|
+
"type": "string",
|
1440
|
+
"kind": "expression"
|
1441
|
+
}
|
1442
|
+
},
|
1443
|
+
{
|
1444
|
+
"name": "cancel-button-text",
|
1445
|
+
"default": "`Cancel`",
|
1446
|
+
"description": "Text of cancel button",
|
1447
|
+
"options": [],
|
1448
|
+
"value": {
|
1449
|
+
"type": "string",
|
1450
|
+
"kind": "expression"
|
1451
|
+
}
|
1452
|
+
},
|
1453
|
+
{
|
1454
|
+
"name": "area-list",
|
1455
|
+
"default": "-",
|
1456
|
+
"description": "Area list data",
|
1457
|
+
"options": [],
|
1458
|
+
"value": {
|
1459
|
+
"type": "object",
|
1460
|
+
"kind": "expression"
|
1461
|
+
}
|
1462
|
+
},
|
1463
|
+
{
|
1464
|
+
"name": "columns-placeholder",
|
1465
|
+
"default": "`[]`",
|
1466
|
+
"description": "Placeholder of columns",
|
1467
|
+
"options": [],
|
1468
|
+
"value": {
|
1469
|
+
"type": "string[]",
|
1470
|
+
"kind": "expression"
|
1471
|
+
}
|
1472
|
+
},
|
1473
|
+
{
|
1474
|
+
"name": "loading",
|
1475
|
+
"default": "`false`",
|
1476
|
+
"description": "Whether to show loading prompt",
|
1477
|
+
"options": [],
|
1478
|
+
"value": {
|
1479
|
+
"type": "boolean",
|
1480
|
+
"kind": "expression"
|
1481
|
+
}
|
1482
|
+
},
|
1483
|
+
{
|
1484
|
+
"name": "readonly",
|
1485
|
+
"default": "`false`",
|
1486
|
+
"description": "Whether to be readonly",
|
1487
|
+
"options": [],
|
1488
|
+
"value": {
|
1489
|
+
"type": "boolean",
|
1490
|
+
"kind": "expression"
|
1491
|
+
}
|
1492
|
+
},
|
1493
|
+
{
|
1494
|
+
"name": "item-height",
|
1495
|
+
"default": "`44`",
|
1496
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
1497
|
+
"options": [],
|
1498
|
+
"value": {
|
1499
|
+
"type": "number | string",
|
1500
|
+
"kind": "expression"
|
1501
|
+
}
|
1502
|
+
},
|
1503
|
+
{
|
1504
|
+
"name": "columns-num",
|
1505
|
+
"default": "`3`",
|
1506
|
+
"description": "Level of picker",
|
1507
|
+
"options": [],
|
1508
|
+
"value": {
|
1509
|
+
"type": "number | string",
|
1510
|
+
"kind": "expression"
|
1511
|
+
}
|
1512
|
+
},
|
1513
|
+
{
|
1514
|
+
"name": "visible-item-count",
|
1515
|
+
"default": "`6`",
|
1516
|
+
"description": "Count of visible columns",
|
1517
1517
|
"options": [],
|
1518
1518
|
"value": {
|
1519
|
-
"type": "string",
|
1519
|
+
"type": "number | string",
|
1520
1520
|
"kind": "expression"
|
1521
1521
|
}
|
1522
1522
|
},
|
1523
1523
|
{
|
1524
|
-
"name": "
|
1525
|
-
"default": "
|
1526
|
-
"description": "
|
1524
|
+
"name": "swipe-duration",
|
1525
|
+
"default": "`1000`",
|
1526
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
1527
1527
|
"options": [],
|
1528
1528
|
"value": {
|
1529
|
-
"type": "
|
1529
|
+
"type": "number | string",
|
1530
1530
|
"kind": "expression"
|
1531
1531
|
}
|
1532
1532
|
},
|
1533
1533
|
{
|
1534
|
-
"name": "
|
1535
|
-
"default": "
|
1536
|
-
"description": "
|
1534
|
+
"name": "is-oversea-code",
|
1535
|
+
"default": "-",
|
1536
|
+
"description": "The method to validate oversea code",
|
1537
1537
|
"options": [],
|
1538
1538
|
"value": {
|
1539
|
-
"type": "boolean",
|
1539
|
+
"type": "() => boolean",
|
1540
1540
|
"kind": "expression"
|
1541
1541
|
}
|
1542
1542
|
}
|
@@ -2554,289 +2554,41 @@
|
|
2554
2554
|
},
|
2555
2555
|
{
|
2556
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-circle",
|
2599
|
-
"slots": [
|
2600
|
-
{
|
2601
|
-
"name": "default",
|
2602
|
-
"description": "custom text content"
|
2603
|
-
}
|
2604
|
-
],
|
2605
|
-
"events": [],
|
2606
|
-
"attributes": [
|
2607
|
-
{
|
2608
|
-
"name": "v-model:current-rate",
|
2609
|
-
"default": "-",
|
2610
|
-
"description": "Current rate",
|
2611
|
-
"options": [],
|
2612
|
-
"value": {
|
2613
|
-
"type": "number",
|
2614
|
-
"kind": "expression"
|
2615
|
-
}
|
2616
|
-
},
|
2617
|
-
{
|
2618
|
-
"name": "rate",
|
2619
|
-
"default": "`100`",
|
2620
|
-
"description": "Target rate",
|
2621
|
-
"options": [],
|
2622
|
-
"value": {
|
2623
|
-
"type": "number | string",
|
2624
|
-
"kind": "expression"
|
2625
|
-
}
|
2626
|
-
},
|
2627
|
-
{
|
2628
|
-
"name": "size",
|
2629
|
-
"default": "`100px`",
|
2630
|
-
"description": "Circle size",
|
2631
|
-
"options": [],
|
2632
|
-
"value": {
|
2633
|
-
"type": "number | string",
|
2634
|
-
"kind": "expression"
|
2635
|
-
}
|
2636
|
-
},
|
2637
|
-
{
|
2638
|
-
"name": "color",
|
2639
|
-
"default": "`#1989fa`",
|
2640
|
-
"description": "Progress color, passing object to render gradient",
|
2641
|
-
"options": [],
|
2642
|
-
"value": {
|
2643
|
-
"type": "string | object",
|
2644
|
-
"kind": "expression"
|
2645
|
-
}
|
2646
|
-
},
|
2647
|
-
{
|
2648
|
-
"name": "layer-color",
|
2649
|
-
"default": "`white`",
|
2650
|
-
"description": "Layer color",
|
2651
|
-
"options": [],
|
2652
|
-
"value": {
|
2653
|
-
"type": "string",
|
2654
|
-
"kind": "expression"
|
2655
|
-
}
|
2656
|
-
},
|
2657
|
-
{
|
2658
|
-
"name": "fill",
|
2659
|
-
"default": "`none`",
|
2660
|
-
"description": "Fill color",
|
2661
|
-
"options": [],
|
2662
|
-
"value": {
|
2663
|
-
"type": "string",
|
2664
|
-
"kind": "expression"
|
2665
|
-
}
|
2666
|
-
},
|
2667
|
-
{
|
2668
|
-
"name": "speed",
|
2669
|
-
"default": "`0`",
|
2670
|
-
"description": "Animate speed(rate/s)",
|
2671
|
-
"options": [],
|
2672
|
-
"value": {
|
2673
|
-
"type": "number | string",
|
2674
|
-
"kind": "expression"
|
2675
|
-
}
|
2676
|
-
},
|
2677
|
-
{
|
2678
|
-
"name": "text",
|
2679
|
-
"default": "-",
|
2680
|
-
"description": "Text",
|
2681
|
-
"options": [],
|
2682
|
-
"value": {
|
2683
|
-
"type": "string",
|
2684
|
-
"kind": "expression"
|
2685
|
-
}
|
2686
|
-
},
|
2687
|
-
{
|
2688
|
-
"name": "stroke-width",
|
2689
|
-
"default": "`40`",
|
2690
|
-
"description": "Stroke width",
|
2691
|
-
"options": [],
|
2692
|
-
"value": {
|
2693
|
-
"type": "number | string",
|
2694
|
-
"kind": "expression"
|
2695
|
-
}
|
2696
|
-
},
|
2697
|
-
{
|
2698
|
-
"name": "stroke-linecap",
|
2699
|
-
"default": "`round`",
|
2700
|
-
"description": "Stroke linecap, can be set to `square` `butt`",
|
2701
|
-
"options": [],
|
2702
|
-
"value": {
|
2703
|
-
"type": "string",
|
2704
|
-
"kind": "expression"
|
2705
|
-
}
|
2706
|
-
},
|
2707
|
-
{
|
2708
|
-
"name": "clockwise",
|
2709
|
-
"default": "`true`",
|
2710
|
-
"description": "Whether to be clockwise",
|
2711
|
-
"options": [],
|
2712
|
-
"value": {
|
2713
|
-
"type": "boolean",
|
2714
|
-
"kind": "expression"
|
2715
|
-
}
|
2716
|
-
},
|
2717
|
-
{
|
2718
|
-
"name": "start-position",
|
2719
|
-
"default": "`top`",
|
2720
|
-
"description": "Progress start position, can be set to `left`、`right`、`bottom`",
|
2721
|
-
"options": [],
|
2722
|
-
"value": {
|
2723
|
-
"type": "CircleStartPosition",
|
2724
|
-
"kind": "expression"
|
2725
|
-
}
|
2726
|
-
}
|
2727
|
-
]
|
2728
|
-
},
|
2729
|
-
{
|
2730
|
-
"name": "van-row",
|
2731
|
-
"slots": [],
|
2732
|
-
"events": [
|
2733
|
-
{
|
2734
|
-
"name": "click",
|
2735
|
-
"description": "Emitted when the row is clicked",
|
2736
|
-
"arguments": [
|
2737
|
-
{
|
2738
|
-
"name": "event",
|
2739
|
-
"type": "MouseEvent"
|
2740
|
-
}
|
2741
|
-
]
|
2742
|
-
}
|
2743
|
-
],
|
2744
|
-
"attributes": [
|
2745
|
-
{
|
2746
|
-
"name": "gutter",
|
2747
|
-
"default": "-",
|
2748
|
-
"description": "Grid spacing(px)",
|
2749
|
-
"options": [],
|
2750
|
-
"value": {
|
2751
|
-
"type": "number | string",
|
2752
|
-
"kind": "expression"
|
2753
|
-
}
|
2754
|
-
},
|
2755
|
-
{
|
2756
|
-
"name": "tag",
|
2757
|
-
"default": "`div`",
|
2758
|
-
"description": "Custom element tag",
|
2759
|
-
"options": [],
|
2760
|
-
"value": {
|
2761
|
-
"type": "string",
|
2762
|
-
"kind": "expression"
|
2763
|
-
}
|
2764
|
-
},
|
2765
|
-
{
|
2766
|
-
"name": "justify",
|
2767
|
-
"default": "`start`",
|
2768
|
-
"description": "Flex main axis, can be set to end/center/space-around/space-between",
|
2769
|
-
"options": [],
|
2770
|
-
"value": {
|
2771
|
-
"type": "string",
|
2772
|
-
"kind": "expression"
|
2773
|
-
}
|
2774
|
-
},
|
2775
|
-
{
|
2776
|
-
"name": "align",
|
2777
|
-
"default": "`top`",
|
2778
|
-
"description": "Flex cross axis, be set to center/bottom",
|
2779
|
-
"options": [],
|
2780
|
-
"value": {
|
2781
|
-
"type": "string",
|
2782
|
-
"kind": "expression"
|
2783
|
-
}
|
2784
|
-
},
|
2785
|
-
{
|
2786
|
-
"name": "wrap",
|
2787
|
-
"default": "`true`",
|
2788
|
-
"description": "Whether to wrap",
|
2557
|
+
"default": "-",
|
2558
|
+
"description": "Title style",
|
2789
2559
|
"options": [],
|
2790
2560
|
"value": {
|
2791
|
-
"type": "
|
2561
|
+
"type": "string | Array | object",
|
2792
2562
|
"kind": "expression"
|
2793
2563
|
}
|
2794
|
-
}
|
2795
|
-
]
|
2796
|
-
},
|
2797
|
-
{
|
2798
|
-
"name": "van-col",
|
2799
|
-
"slots": [],
|
2800
|
-
"events": [
|
2801
|
-
{
|
2802
|
-
"name": "click",
|
2803
|
-
"description": "Emitted when the col is clicked",
|
2804
|
-
"arguments": [
|
2805
|
-
{
|
2806
|
-
"name": "event",
|
2807
|
-
"type": "MouseEvent"
|
2808
|
-
}
|
2809
|
-
]
|
2810
|
-
}
|
2811
|
-
],
|
2812
|
-
"attributes": [
|
2564
|
+
},
|
2813
2565
|
{
|
2814
|
-
"name": "
|
2566
|
+
"name": "title-class",
|
2815
2567
|
"default": "-",
|
2816
|
-
"description": "
|
2568
|
+
"description": "Title className",
|
2817
2569
|
"options": [],
|
2818
2570
|
"value": {
|
2819
|
-
"type": "
|
2571
|
+
"type": "string | Array | object",
|
2820
2572
|
"kind": "expression"
|
2821
2573
|
}
|
2822
2574
|
},
|
2823
2575
|
{
|
2824
|
-
"name": "
|
2576
|
+
"name": "value-class",
|
2825
2577
|
"default": "-",
|
2826
|
-
"description": "
|
2578
|
+
"description": "Value className",
|
2827
2579
|
"options": [],
|
2828
2580
|
"value": {
|
2829
|
-
"type": "
|
2581
|
+
"type": "string | Array | object",
|
2830
2582
|
"kind": "expression"
|
2831
2583
|
}
|
2832
2584
|
},
|
2833
2585
|
{
|
2834
|
-
"name": "
|
2835
|
-
"default": "
|
2836
|
-
"description": "
|
2586
|
+
"name": "label-class",
|
2587
|
+
"default": "-",
|
2588
|
+
"description": "Label className",
|
2837
2589
|
"options": [],
|
2838
2590
|
"value": {
|
2839
|
-
"type": "string",
|
2591
|
+
"type": "string | Array | object",
|
2840
2592
|
"kind": "expression"
|
2841
2593
|
}
|
2842
2594
|
}
|
@@ -3048,44 +2800,245 @@
|
|
3048
2800
|
]
|
3049
2801
|
},
|
3050
2802
|
{
|
3051
|
-
"name": "van-
|
3052
|
-
"slots": [
|
2803
|
+
"name": "van-circle",
|
2804
|
+
"slots": [
|
2805
|
+
{
|
2806
|
+
"name": "default",
|
2807
|
+
"description": "custom text content"
|
2808
|
+
}
|
2809
|
+
],
|
3053
2810
|
"events": [],
|
3054
2811
|
"attributes": [
|
3055
2812
|
{
|
3056
|
-
"name": "
|
2813
|
+
"name": "v-model:current-rate",
|
3057
2814
|
"default": "-",
|
3058
|
-
"description": "
|
2815
|
+
"description": "Current rate",
|
3059
2816
|
"options": [],
|
3060
2817
|
"value": {
|
3061
|
-
"type": "
|
2818
|
+
"type": "number",
|
2819
|
+
"kind": "expression"
|
2820
|
+
}
|
2821
|
+
},
|
2822
|
+
{
|
2823
|
+
"name": "rate",
|
2824
|
+
"default": "`100`",
|
2825
|
+
"description": "Target rate",
|
2826
|
+
"options": [],
|
2827
|
+
"value": {
|
2828
|
+
"type": "number | string",
|
2829
|
+
"kind": "expression"
|
2830
|
+
}
|
2831
|
+
},
|
2832
|
+
{
|
2833
|
+
"name": "size",
|
2834
|
+
"default": "`100px`",
|
2835
|
+
"description": "Circle size",
|
2836
|
+
"options": [],
|
2837
|
+
"value": {
|
2838
|
+
"type": "number | string",
|
2839
|
+
"kind": "expression"
|
2840
|
+
}
|
2841
|
+
},
|
2842
|
+
{
|
2843
|
+
"name": "color",
|
2844
|
+
"default": "`#1989fa`",
|
2845
|
+
"description": "Progress color, passing object to render gradient",
|
2846
|
+
"options": [],
|
2847
|
+
"value": {
|
2848
|
+
"type": "string | object",
|
2849
|
+
"kind": "expression"
|
2850
|
+
}
|
2851
|
+
},
|
2852
|
+
{
|
2853
|
+
"name": "layer-color",
|
2854
|
+
"default": "`white`",
|
2855
|
+
"description": "Layer color",
|
2856
|
+
"options": [],
|
2857
|
+
"value": {
|
2858
|
+
"type": "string",
|
2859
|
+
"kind": "expression"
|
2860
|
+
}
|
2861
|
+
},
|
2862
|
+
{
|
2863
|
+
"name": "fill",
|
2864
|
+
"default": "`none`",
|
2865
|
+
"description": "Fill color",
|
2866
|
+
"options": [],
|
2867
|
+
"value": {
|
2868
|
+
"type": "string",
|
2869
|
+
"kind": "expression"
|
2870
|
+
}
|
2871
|
+
},
|
2872
|
+
{
|
2873
|
+
"name": "speed",
|
2874
|
+
"default": "`0`",
|
2875
|
+
"description": "Animate speed(rate/s)",
|
2876
|
+
"options": [],
|
2877
|
+
"value": {
|
2878
|
+
"type": "number | string",
|
2879
|
+
"kind": "expression"
|
2880
|
+
}
|
2881
|
+
},
|
2882
|
+
{
|
2883
|
+
"name": "text",
|
2884
|
+
"default": "-",
|
2885
|
+
"description": "Text",
|
2886
|
+
"options": [],
|
2887
|
+
"value": {
|
2888
|
+
"type": "string",
|
2889
|
+
"kind": "expression"
|
2890
|
+
}
|
2891
|
+
},
|
2892
|
+
{
|
2893
|
+
"name": "stroke-width",
|
2894
|
+
"default": "`40`",
|
2895
|
+
"description": "Stroke width",
|
2896
|
+
"options": [],
|
2897
|
+
"value": {
|
2898
|
+
"type": "number | string",
|
2899
|
+
"kind": "expression"
|
2900
|
+
}
|
2901
|
+
},
|
2902
|
+
{
|
2903
|
+
"name": "stroke-linecap",
|
2904
|
+
"default": "`round`",
|
2905
|
+
"description": "Stroke linecap, can be set to `square` `butt`",
|
2906
|
+
"options": [],
|
2907
|
+
"value": {
|
2908
|
+
"type": "string",
|
2909
|
+
"kind": "expression"
|
2910
|
+
}
|
2911
|
+
},
|
2912
|
+
{
|
2913
|
+
"name": "clockwise",
|
2914
|
+
"default": "`true`",
|
2915
|
+
"description": "Whether to be clockwise",
|
2916
|
+
"options": [],
|
2917
|
+
"value": {
|
2918
|
+
"type": "boolean",
|
2919
|
+
"kind": "expression"
|
2920
|
+
}
|
2921
|
+
},
|
2922
|
+
{
|
2923
|
+
"name": "start-position",
|
2924
|
+
"default": "`top`",
|
2925
|
+
"description": "Progress start position, can be set to `left`、`right`、`bottom`",
|
2926
|
+
"options": [],
|
2927
|
+
"value": {
|
2928
|
+
"type": "CircleStartPosition",
|
2929
|
+
"kind": "expression"
|
2930
|
+
}
|
2931
|
+
}
|
2932
|
+
]
|
2933
|
+
},
|
2934
|
+
{
|
2935
|
+
"name": "van-row",
|
2936
|
+
"slots": [],
|
2937
|
+
"events": [
|
2938
|
+
{
|
2939
|
+
"name": "click",
|
2940
|
+
"description": "Emitted when the row is clicked",
|
2941
|
+
"arguments": [
|
2942
|
+
{
|
2943
|
+
"name": "event",
|
2944
|
+
"type": "MouseEvent"
|
2945
|
+
}
|
2946
|
+
]
|
2947
|
+
}
|
2948
|
+
],
|
2949
|
+
"attributes": [
|
2950
|
+
{
|
2951
|
+
"name": "gutter",
|
2952
|
+
"default": "-",
|
2953
|
+
"description": "Grid spacing(px)",
|
2954
|
+
"options": [],
|
2955
|
+
"value": {
|
2956
|
+
"type": "number | string",
|
3062
2957
|
"kind": "expression"
|
3063
2958
|
}
|
3064
2959
|
},
|
3065
2960
|
{
|
3066
2961
|
"name": "tag",
|
3067
2962
|
"default": "`div`",
|
3068
|
-
"description": "
|
2963
|
+
"description": "Custom element tag",
|
2964
|
+
"options": [],
|
2965
|
+
"value": {
|
2966
|
+
"type": "string",
|
2967
|
+
"kind": "expression"
|
2968
|
+
}
|
2969
|
+
},
|
2970
|
+
{
|
2971
|
+
"name": "justify",
|
2972
|
+
"default": "`start`",
|
2973
|
+
"description": "Flex main axis, can be set to end/center/space-around/space-between",
|
2974
|
+
"options": [],
|
2975
|
+
"value": {
|
2976
|
+
"type": "string",
|
2977
|
+
"kind": "expression"
|
2978
|
+
}
|
2979
|
+
},
|
2980
|
+
{
|
2981
|
+
"name": "align",
|
2982
|
+
"default": "`top`",
|
2983
|
+
"description": "Flex cross axis, be set to center/bottom",
|
2984
|
+
"options": [],
|
2985
|
+
"value": {
|
2986
|
+
"type": "string",
|
2987
|
+
"kind": "expression"
|
2988
|
+
}
|
2989
|
+
},
|
2990
|
+
{
|
2991
|
+
"name": "wrap",
|
2992
|
+
"default": "`true`",
|
2993
|
+
"description": "Whether to wrap",
|
2994
|
+
"options": [],
|
2995
|
+
"value": {
|
2996
|
+
"type": "boolean",
|
2997
|
+
"kind": "expression"
|
2998
|
+
}
|
2999
|
+
}
|
3000
|
+
]
|
3001
|
+
},
|
3002
|
+
{
|
3003
|
+
"name": "van-col",
|
3004
|
+
"slots": [],
|
3005
|
+
"events": [
|
3006
|
+
{
|
3007
|
+
"name": "click",
|
3008
|
+
"description": "Emitted when the col is clicked",
|
3009
|
+
"arguments": [
|
3010
|
+
{
|
3011
|
+
"name": "event",
|
3012
|
+
"type": "MouseEvent"
|
3013
|
+
}
|
3014
|
+
]
|
3015
|
+
}
|
3016
|
+
],
|
3017
|
+
"attributes": [
|
3018
|
+
{
|
3019
|
+
"name": "span",
|
3020
|
+
"default": "-",
|
3021
|
+
"description": "number of column the grid spans",
|
3069
3022
|
"options": [],
|
3070
3023
|
"value": {
|
3071
|
-
"type": "string",
|
3024
|
+
"type": "number | string",
|
3072
3025
|
"kind": "expression"
|
3073
3026
|
}
|
3074
3027
|
},
|
3075
3028
|
{
|
3076
|
-
"name": "
|
3077
|
-
"default": "
|
3078
|
-
"description": "
|
3029
|
+
"name": "offset",
|
3030
|
+
"default": "-",
|
3031
|
+
"description": "number of spacing on the left side of the grid",
|
3079
3032
|
"options": [],
|
3080
3033
|
"value": {
|
3081
|
-
"type": "number",
|
3034
|
+
"type": "number | string",
|
3082
3035
|
"kind": "expression"
|
3083
3036
|
}
|
3084
3037
|
},
|
3085
3038
|
{
|
3086
|
-
"name": "
|
3087
|
-
"default": "`
|
3088
|
-
"description": "
|
3039
|
+
"name": "tag",
|
3040
|
+
"default": "`div`",
|
3041
|
+
"description": "Custom element tag",
|
3089
3042
|
"options": [],
|
3090
3043
|
"value": {
|
3091
3044
|
"type": "string",
|
@@ -3314,6 +3267,53 @@
|
|
3314
3267
|
}
|
3315
3268
|
]
|
3316
3269
|
},
|
3270
|
+
{
|
3271
|
+
"name": "van-config-provider",
|
3272
|
+
"slots": [],
|
3273
|
+
"events": [],
|
3274
|
+
"attributes": [
|
3275
|
+
{
|
3276
|
+
"name": "theme-vars",
|
3277
|
+
"default": "-",
|
3278
|
+
"description": "Theme variables",
|
3279
|
+
"options": [],
|
3280
|
+
"value": {
|
3281
|
+
"type": "object",
|
3282
|
+
"kind": "expression"
|
3283
|
+
}
|
3284
|
+
},
|
3285
|
+
{
|
3286
|
+
"name": "tag",
|
3287
|
+
"default": "`div`",
|
3288
|
+
"description": "HTML Tag of root element",
|
3289
|
+
"options": [],
|
3290
|
+
"value": {
|
3291
|
+
"type": "string",
|
3292
|
+
"kind": "expression"
|
3293
|
+
}
|
3294
|
+
},
|
3295
|
+
{
|
3296
|
+
"name": "z-index",
|
3297
|
+
"default": "`2000`",
|
3298
|
+
"description": "Set the z-index of all popup components, this property takes effect globally",
|
3299
|
+
"options": [],
|
3300
|
+
"value": {
|
3301
|
+
"type": "number",
|
3302
|
+
"kind": "expression"
|
3303
|
+
}
|
3304
|
+
},
|
3305
|
+
{
|
3306
|
+
"name": "icon-prefix",
|
3307
|
+
"default": "`van-icon`",
|
3308
|
+
"description": "Icon className prefix",
|
3309
|
+
"options": [],
|
3310
|
+
"value": {
|
3311
|
+
"type": "string",
|
3312
|
+
"kind": "expression"
|
3313
|
+
}
|
3314
|
+
}
|
3315
|
+
]
|
3316
|
+
},
|
3317
3317
|
{
|
3318
3318
|
"name": "van-contact-card",
|
3319
3319
|
"slots": [],
|
@@ -4502,56 +4502,6 @@
|
|
4502
4502
|
}
|
4503
4503
|
]
|
4504
4504
|
},
|
4505
|
-
{
|
4506
|
-
"name": "van-empty",
|
4507
|
-
"slots": [
|
4508
|
-
{
|
4509
|
-
"name": "default",
|
4510
|
-
"description": "Custom bottom content"
|
4511
|
-
},
|
4512
|
-
{
|
4513
|
-
"name": "image",
|
4514
|
-
"description": "Custom image"
|
4515
|
-
},
|
4516
|
-
{
|
4517
|
-
"name": "description",
|
4518
|
-
"description": "Custom description"
|
4519
|
-
}
|
4520
|
-
],
|
4521
|
-
"events": [],
|
4522
|
-
"attributes": [
|
4523
|
-
{
|
4524
|
-
"name": "image",
|
4525
|
-
"default": "`default`",
|
4526
|
-
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4527
|
-
"options": [],
|
4528
|
-
"value": {
|
4529
|
-
"type": "string",
|
4530
|
-
"kind": "expression"
|
4531
|
-
}
|
4532
|
-
},
|
4533
|
-
{
|
4534
|
-
"name": "image-size",
|
4535
|
-
"default": "-",
|
4536
|
-
"description": "Image size",
|
4537
|
-
"options": [],
|
4538
|
-
"value": {
|
4539
|
-
"type": "number | string | Array",
|
4540
|
-
"kind": "expression"
|
4541
|
-
}
|
4542
|
-
},
|
4543
|
-
{
|
4544
|
-
"name": "description",
|
4545
|
-
"default": "-",
|
4546
|
-
"description": "Description",
|
4547
|
-
"options": [],
|
4548
|
-
"value": {
|
4549
|
-
"type": "string",
|
4550
|
-
"kind": "expression"
|
4551
|
-
}
|
4552
|
-
}
|
4553
|
-
]
|
4554
|
-
},
|
4555
4505
|
{
|
4556
4506
|
"name": "van-dropdown-menu",
|
4557
4507
|
"slots": [],
|
@@ -4747,70 +4697,27 @@
|
|
4747
4697
|
]
|
4748
4698
|
},
|
4749
4699
|
{
|
4750
|
-
"name": "van-
|
4700
|
+
"name": "van-empty",
|
4751
4701
|
"slots": [
|
4752
4702
|
{
|
4753
4703
|
"name": "default",
|
4754
|
-
"description": "
|
4755
|
-
}
|
4756
|
-
],
|
4757
|
-
"events": [
|
4704
|
+
"description": "Custom bottom content"
|
4705
|
+
},
|
4758
4706
|
{
|
4759
|
-
"name": "
|
4760
|
-
"description": "
|
4761
|
-
"arguments": [
|
4762
|
-
{
|
4763
|
-
"name": "values",
|
4764
|
-
"type": "object"
|
4765
|
-
}
|
4766
|
-
]
|
4707
|
+
"name": "image",
|
4708
|
+
"description": "Custom image"
|
4767
4709
|
},
|
4768
4710
|
{
|
4769
|
-
"name": "
|
4770
|
-
"description": "
|
4771
|
-
"arguments": [
|
4772
|
-
{
|
4773
|
-
"name": "errorInfo",
|
4774
|
-
"type": "{ values: object, errors: object[] }"
|
4775
|
-
}
|
4776
|
-
]
|
4711
|
+
"name": "description",
|
4712
|
+
"description": "Custom description"
|
4777
4713
|
}
|
4778
4714
|
],
|
4715
|
+
"events": [],
|
4779
4716
|
"attributes": [
|
4780
4717
|
{
|
4781
|
-
"name": "
|
4782
|
-
"default": "`
|
4783
|
-
"description": "
|
4784
|
-
"options": [],
|
4785
|
-
"value": {
|
4786
|
-
"type": "number | string",
|
4787
|
-
"kind": "expression"
|
4788
|
-
}
|
4789
|
-
},
|
4790
|
-
{
|
4791
|
-
"name": "label-align",
|
4792
|
-
"default": "`left`",
|
4793
|
-
"description": "Field label align, can be set to `center` `right`",
|
4794
|
-
"options": [],
|
4795
|
-
"value": {
|
4796
|
-
"type": "string",
|
4797
|
-
"kind": "expression"
|
4798
|
-
}
|
4799
|
-
},
|
4800
|
-
{
|
4801
|
-
"name": "input-align",
|
4802
|
-
"default": "`left`",
|
4803
|
-
"description": "Field input align, can be set to `center` `right`",
|
4804
|
-
"options": [],
|
4805
|
-
"value": {
|
4806
|
-
"type": "string",
|
4807
|
-
"kind": "expression"
|
4808
|
-
}
|
4809
|
-
},
|
4810
|
-
{
|
4811
|
-
"name": "error-message-align",
|
4812
|
-
"default": "`left`",
|
4813
|
-
"description": "Error message align, can be set to `center` `right`",
|
4718
|
+
"name": "image",
|
4719
|
+
"default": "`default`",
|
4720
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4814
4721
|
"options": [],
|
4815
4722
|
"value": {
|
4816
4723
|
"type": "string",
|
@@ -4818,92 +4725,22 @@
|
|
4818
4725
|
}
|
4819
4726
|
},
|
4820
4727
|
{
|
4821
|
-
"name": "
|
4822
|
-
"default": "
|
4823
|
-
"description": "
|
4824
|
-
"options": [],
|
4825
|
-
"value": {
|
4826
|
-
"type": "string | string[]",
|
4827
|
-
"kind": "expression"
|
4828
|
-
}
|
4829
|
-
},
|
4830
|
-
{
|
4831
|
-
"name": "colon",
|
4832
|
-
"default": "`false`",
|
4833
|
-
"description": "Whether to display colon after label",
|
4834
|
-
"options": [],
|
4835
|
-
"value": {
|
4836
|
-
"type": "boolean",
|
4837
|
-
"kind": "expression"
|
4838
|
-
}
|
4839
|
-
},
|
4840
|
-
{
|
4841
|
-
"name": "disabled",
|
4842
|
-
"default": "`false`",
|
4843
|
-
"description": "Whether to disable form",
|
4844
|
-
"options": [],
|
4845
|
-
"value": {
|
4846
|
-
"type": "boolean",
|
4847
|
-
"kind": "expression"
|
4848
|
-
}
|
4849
|
-
},
|
4850
|
-
{
|
4851
|
-
"name": "readonly",
|
4852
|
-
"default": "`false`",
|
4853
|
-
"description": "Whether to be readonly",
|
4854
|
-
"options": [],
|
4855
|
-
"value": {
|
4856
|
-
"type": "boolean",
|
4857
|
-
"kind": "expression"
|
4858
|
-
}
|
4859
|
-
},
|
4860
|
-
{
|
4861
|
-
"name": "validate-first",
|
4862
|
-
"default": "`false`",
|
4863
|
-
"description": "Whether to stop the validation when a rule fails",
|
4864
|
-
"options": [],
|
4865
|
-
"value": {
|
4866
|
-
"type": "boolean",
|
4867
|
-
"kind": "expression"
|
4868
|
-
}
|
4869
|
-
},
|
4870
|
-
{
|
4871
|
-
"name": "scroll-to-error",
|
4872
|
-
"default": "`false`",
|
4873
|
-
"description": "Whether to scroll to the error field when validation failed",
|
4874
|
-
"options": [],
|
4875
|
-
"value": {
|
4876
|
-
"type": "boolean",
|
4877
|
-
"kind": "expression"
|
4878
|
-
}
|
4879
|
-
},
|
4880
|
-
{
|
4881
|
-
"name": "show-error",
|
4882
|
-
"default": "`false`",
|
4883
|
-
"description": "Whether to highlight input when validation failed",
|
4884
|
-
"options": [],
|
4885
|
-
"value": {
|
4886
|
-
"type": "boolean",
|
4887
|
-
"kind": "expression"
|
4888
|
-
}
|
4889
|
-
},
|
4890
|
-
{
|
4891
|
-
"name": "show-error-message",
|
4892
|
-
"default": "`true`",
|
4893
|
-
"description": "Whether to show error message when validation failed",
|
4728
|
+
"name": "image-size",
|
4729
|
+
"default": "-",
|
4730
|
+
"description": "Image size",
|
4894
4731
|
"options": [],
|
4895
4732
|
"value": {
|
4896
|
-
"type": "
|
4733
|
+
"type": "number | string | Array",
|
4897
4734
|
"kind": "expression"
|
4898
4735
|
}
|
4899
4736
|
},
|
4900
4737
|
{
|
4901
|
-
"name": "
|
4902
|
-
"default": "
|
4903
|
-
"description": "
|
4738
|
+
"name": "description",
|
4739
|
+
"default": "-",
|
4740
|
+
"description": "Description",
|
4904
4741
|
"options": [],
|
4905
4742
|
"value": {
|
4906
|
-
"type": "
|
4743
|
+
"type": "string",
|
4907
4744
|
"kind": "expression"
|
4908
4745
|
}
|
4909
4746
|
}
|
@@ -5746,6 +5583,169 @@
|
|
5746
5583
|
}
|
5747
5584
|
]
|
5748
5585
|
},
|
5586
|
+
{
|
5587
|
+
"name": "van-form",
|
5588
|
+
"slots": [
|
5589
|
+
{
|
5590
|
+
"name": "default",
|
5591
|
+
"description": "Form content"
|
5592
|
+
}
|
5593
|
+
],
|
5594
|
+
"events": [
|
5595
|
+
{
|
5596
|
+
"name": "submit",
|
5597
|
+
"description": "Emitted after submitting the form and validation passed",
|
5598
|
+
"arguments": [
|
5599
|
+
{
|
5600
|
+
"name": "values",
|
5601
|
+
"type": "object"
|
5602
|
+
}
|
5603
|
+
]
|
5604
|
+
},
|
5605
|
+
{
|
5606
|
+
"name": "failed",
|
5607
|
+
"description": "Emitted after submitting the form and validation failed",
|
5608
|
+
"arguments": [
|
5609
|
+
{
|
5610
|
+
"name": "errorInfo",
|
5611
|
+
"type": "{ values: object, errors: object[] }"
|
5612
|
+
}
|
5613
|
+
]
|
5614
|
+
}
|
5615
|
+
],
|
5616
|
+
"attributes": [
|
5617
|
+
{
|
5618
|
+
"name": "label-width",
|
5619
|
+
"default": "`6.2em`",
|
5620
|
+
"description": "Field label width",
|
5621
|
+
"options": [],
|
5622
|
+
"value": {
|
5623
|
+
"type": "number | string",
|
5624
|
+
"kind": "expression"
|
5625
|
+
}
|
5626
|
+
},
|
5627
|
+
{
|
5628
|
+
"name": "label-align",
|
5629
|
+
"default": "`left`",
|
5630
|
+
"description": "Field label align, can be set to `center` `right`",
|
5631
|
+
"options": [],
|
5632
|
+
"value": {
|
5633
|
+
"type": "string",
|
5634
|
+
"kind": "expression"
|
5635
|
+
}
|
5636
|
+
},
|
5637
|
+
{
|
5638
|
+
"name": "input-align",
|
5639
|
+
"default": "`left`",
|
5640
|
+
"description": "Field input align, can be set to `center` `right`",
|
5641
|
+
"options": [],
|
5642
|
+
"value": {
|
5643
|
+
"type": "string",
|
5644
|
+
"kind": "expression"
|
5645
|
+
}
|
5646
|
+
},
|
5647
|
+
{
|
5648
|
+
"name": "error-message-align",
|
5649
|
+
"default": "`left`",
|
5650
|
+
"description": "Error message align, can be set to `center` `right`",
|
5651
|
+
"options": [],
|
5652
|
+
"value": {
|
5653
|
+
"type": "string",
|
5654
|
+
"kind": "expression"
|
5655
|
+
}
|
5656
|
+
},
|
5657
|
+
{
|
5658
|
+
"name": "validate-trigger",
|
5659
|
+
"default": "`onBlur`",
|
5660
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
|
5661
|
+
"options": [],
|
5662
|
+
"value": {
|
5663
|
+
"type": "string | string[]",
|
5664
|
+
"kind": "expression"
|
5665
|
+
}
|
5666
|
+
},
|
5667
|
+
{
|
5668
|
+
"name": "colon",
|
5669
|
+
"default": "`false`",
|
5670
|
+
"description": "Whether to display colon after label",
|
5671
|
+
"options": [],
|
5672
|
+
"value": {
|
5673
|
+
"type": "boolean",
|
5674
|
+
"kind": "expression"
|
5675
|
+
}
|
5676
|
+
},
|
5677
|
+
{
|
5678
|
+
"name": "disabled",
|
5679
|
+
"default": "`false`",
|
5680
|
+
"description": "Whether to disable form",
|
5681
|
+
"options": [],
|
5682
|
+
"value": {
|
5683
|
+
"type": "boolean",
|
5684
|
+
"kind": "expression"
|
5685
|
+
}
|
5686
|
+
},
|
5687
|
+
{
|
5688
|
+
"name": "readonly",
|
5689
|
+
"default": "`false`",
|
5690
|
+
"description": "Whether to be readonly",
|
5691
|
+
"options": [],
|
5692
|
+
"value": {
|
5693
|
+
"type": "boolean",
|
5694
|
+
"kind": "expression"
|
5695
|
+
}
|
5696
|
+
},
|
5697
|
+
{
|
5698
|
+
"name": "validate-first",
|
5699
|
+
"default": "`false`",
|
5700
|
+
"description": "Whether to stop the validation when a rule fails",
|
5701
|
+
"options": [],
|
5702
|
+
"value": {
|
5703
|
+
"type": "boolean",
|
5704
|
+
"kind": "expression"
|
5705
|
+
}
|
5706
|
+
},
|
5707
|
+
{
|
5708
|
+
"name": "scroll-to-error",
|
5709
|
+
"default": "`false`",
|
5710
|
+
"description": "Whether to scroll to the error field when validation failed",
|
5711
|
+
"options": [],
|
5712
|
+
"value": {
|
5713
|
+
"type": "boolean",
|
5714
|
+
"kind": "expression"
|
5715
|
+
}
|
5716
|
+
},
|
5717
|
+
{
|
5718
|
+
"name": "show-error",
|
5719
|
+
"default": "`false`",
|
5720
|
+
"description": "Whether to highlight input when validation failed",
|
5721
|
+
"options": [],
|
5722
|
+
"value": {
|
5723
|
+
"type": "boolean",
|
5724
|
+
"kind": "expression"
|
5725
|
+
}
|
5726
|
+
},
|
5727
|
+
{
|
5728
|
+
"name": "show-error-message",
|
5729
|
+
"default": "`true`",
|
5730
|
+
"description": "Whether to show error message when validation failed",
|
5731
|
+
"options": [],
|
5732
|
+
"value": {
|
5733
|
+
"type": "boolean",
|
5734
|
+
"kind": "expression"
|
5735
|
+
}
|
5736
|
+
},
|
5737
|
+
{
|
5738
|
+
"name": "submit-on-enter",
|
5739
|
+
"default": "`true`",
|
5740
|
+
"description": "Whether to submit form on enter",
|
5741
|
+
"options": [],
|
5742
|
+
"value": {
|
5743
|
+
"type": "boolean",
|
5744
|
+
"kind": "expression"
|
5745
|
+
}
|
5746
|
+
}
|
5747
|
+
]
|
5748
|
+
},
|
5749
5749
|
{
|
5750
5750
|
"name": "van-image",
|
5751
5751
|
"slots": [
|
@@ -6506,25 +6506,25 @@
|
|
6506
6506
|
]
|
6507
6507
|
},
|
6508
6508
|
{
|
6509
|
-
"name": "van-
|
6509
|
+
"name": "van-nav-bar",
|
6510
6510
|
"slots": [
|
6511
6511
|
{
|
6512
|
-
"name": "
|
6513
|
-
"description": "
|
6512
|
+
"name": "title",
|
6513
|
+
"description": "Custom title"
|
6514
6514
|
},
|
6515
6515
|
{
|
6516
|
-
"name": "left
|
6517
|
-
"description": "Custom left
|
6516
|
+
"name": "left",
|
6517
|
+
"description": "Custom left side content"
|
6518
6518
|
},
|
6519
6519
|
{
|
6520
|
-
"name": "right
|
6521
|
-
"description": "Custom right
|
6520
|
+
"name": "right",
|
6521
|
+
"description": "Custom right side content"
|
6522
6522
|
}
|
6523
6523
|
],
|
6524
6524
|
"events": [
|
6525
6525
|
{
|
6526
|
-
"name": "click",
|
6527
|
-
"description": "Emitted when
|
6526
|
+
"name": "click-left",
|
6527
|
+
"description": "Emitted when the left button is clicked",
|
6528
6528
|
"arguments": [
|
6529
6529
|
{
|
6530
6530
|
"name": "event",
|
@@ -6533,26 +6533,21 @@
|
|
6533
6533
|
]
|
6534
6534
|
},
|
6535
6535
|
{
|
6536
|
-
"name": "
|
6537
|
-
"description": "Emitted when
|
6536
|
+
"name": "click-right",
|
6537
|
+
"description": "Emitted when the right button is clicked",
|
6538
6538
|
"arguments": [
|
6539
6539
|
{
|
6540
6540
|
"name": "event",
|
6541
6541
|
"type": "MouseEvent"
|
6542
6542
|
}
|
6543
6543
|
]
|
6544
|
-
},
|
6545
|
-
{
|
6546
|
-
"name": "replay",
|
6547
|
-
"description": "Emitted when NoticeBar is replayed",
|
6548
|
-
"arguments": []
|
6549
6544
|
}
|
6550
6545
|
],
|
6551
6546
|
"attributes": [
|
6552
6547
|
{
|
6553
|
-
"name": "
|
6548
|
+
"name": "title",
|
6554
6549
|
"default": "`''`",
|
6555
|
-
"description": "
|
6550
|
+
"description": "Title",
|
6556
6551
|
"options": [],
|
6557
6552
|
"value": {
|
6558
6553
|
"type": "string",
|
@@ -6560,9 +6555,9 @@
|
|
6560
6555
|
}
|
6561
6556
|
},
|
6562
6557
|
{
|
6563
|
-
"name": "text",
|
6558
|
+
"name": "left-text",
|
6564
6559
|
"default": "`''`",
|
6565
|
-
"description": "
|
6560
|
+
"description": "Left Text",
|
6566
6561
|
"options": [],
|
6567
6562
|
"value": {
|
6568
6563
|
"type": "string",
|
@@ -6570,9 +6565,9 @@
|
|
6570
6565
|
}
|
6571
6566
|
},
|
6572
6567
|
{
|
6573
|
-
"name": "
|
6574
|
-
"default": "
|
6575
|
-
"description": "Text
|
6568
|
+
"name": "right-text",
|
6569
|
+
"default": "`''`",
|
6570
|
+
"description": "Right Text",
|
6576
6571
|
"options": [],
|
6577
6572
|
"value": {
|
6578
6573
|
"type": "string",
|
@@ -6580,59 +6575,59 @@
|
|
6580
6575
|
}
|
6581
6576
|
},
|
6582
6577
|
{
|
6583
|
-
"name": "
|
6584
|
-
"default": "
|
6585
|
-
"description": "
|
6578
|
+
"name": "left-arrow",
|
6579
|
+
"default": "`false`",
|
6580
|
+
"description": "Whether to show left arrow",
|
6586
6581
|
"options": [],
|
6587
6582
|
"value": {
|
6588
|
-
"type": "
|
6583
|
+
"type": "boolean",
|
6589
6584
|
"kind": "expression"
|
6590
6585
|
}
|
6591
6586
|
},
|
6592
6587
|
{
|
6593
|
-
"name": "
|
6594
|
-
"default": "
|
6595
|
-
"description": "
|
6588
|
+
"name": "border",
|
6589
|
+
"default": "`true`",
|
6590
|
+
"description": "Whether to show bottom border",
|
6596
6591
|
"options": [],
|
6597
6592
|
"value": {
|
6598
|
-
"type": "
|
6593
|
+
"type": "boolean",
|
6599
6594
|
"kind": "expression"
|
6600
6595
|
}
|
6601
6596
|
},
|
6602
6597
|
{
|
6603
|
-
"name": "
|
6604
|
-
"default": "`
|
6605
|
-
"description": "
|
6598
|
+
"name": "fixed",
|
6599
|
+
"default": "`false`",
|
6600
|
+
"description": "Whether to fixed top",
|
6606
6601
|
"options": [],
|
6607
6602
|
"value": {
|
6608
|
-
"type": "
|
6603
|
+
"type": "boolean",
|
6609
6604
|
"kind": "expression"
|
6610
6605
|
}
|
6611
6606
|
},
|
6612
6607
|
{
|
6613
|
-
"name": "
|
6614
|
-
"default": "`
|
6615
|
-
"description": "
|
6608
|
+
"name": "placeholder",
|
6609
|
+
"default": "`false`",
|
6610
|
+
"description": "Whether to generate a placeholder element when fixed",
|
6616
6611
|
"options": [],
|
6617
6612
|
"value": {
|
6618
|
-
"type": "
|
6613
|
+
"type": "boolean",
|
6619
6614
|
"kind": "expression"
|
6620
6615
|
}
|
6621
6616
|
},
|
6622
6617
|
{
|
6623
|
-
"name": "
|
6624
|
-
"default": "
|
6625
|
-
"description": "
|
6618
|
+
"name": "z-index",
|
6619
|
+
"default": "`1`",
|
6620
|
+
"description": "Z-index",
|
6626
6621
|
"options": [],
|
6627
6622
|
"value": {
|
6628
|
-
"type": "
|
6623
|
+
"type": "number | string",
|
6629
6624
|
"kind": "expression"
|
6630
6625
|
}
|
6631
6626
|
},
|
6632
6627
|
{
|
6633
|
-
"name": "
|
6628
|
+
"name": "safe-area-inset-top",
|
6634
6629
|
"default": "`false`",
|
6635
|
-
"description": "Whether to enable
|
6630
|
+
"description": "Whether to enable top safe area adaptation",
|
6636
6631
|
"options": [],
|
6637
6632
|
"value": {
|
6638
6633
|
"type": "boolean",
|
@@ -6642,25 +6637,25 @@
|
|
6642
6637
|
]
|
6643
6638
|
},
|
6644
6639
|
{
|
6645
|
-
"name": "van-
|
6640
|
+
"name": "van-notice-bar",
|
6646
6641
|
"slots": [
|
6647
6642
|
{
|
6648
|
-
"name": "
|
6649
|
-
"description": "
|
6643
|
+
"name": "default",
|
6644
|
+
"description": "Notice text content"
|
6650
6645
|
},
|
6651
6646
|
{
|
6652
|
-
"name": "left",
|
6653
|
-
"description": "Custom left
|
6647
|
+
"name": "left-icon",
|
6648
|
+
"description": "Custom left icon"
|
6654
6649
|
},
|
6655
6650
|
{
|
6656
|
-
"name": "right",
|
6657
|
-
"description": "Custom right
|
6651
|
+
"name": "right-icon",
|
6652
|
+
"description": "Custom right icon"
|
6658
6653
|
}
|
6659
6654
|
],
|
6660
6655
|
"events": [
|
6661
6656
|
{
|
6662
|
-
"name": "click
|
6663
|
-
"description": "Emitted when
|
6657
|
+
"name": "click",
|
6658
|
+
"description": "Emitted when NoticeBar is clicked",
|
6664
6659
|
"arguments": [
|
6665
6660
|
{
|
6666
6661
|
"name": "event",
|
@@ -6669,21 +6664,26 @@
|
|
6669
6664
|
]
|
6670
6665
|
},
|
6671
6666
|
{
|
6672
|
-
"name": "
|
6673
|
-
"description": "Emitted when
|
6667
|
+
"name": "close",
|
6668
|
+
"description": "Emitted when NoticeBar is closed",
|
6674
6669
|
"arguments": [
|
6675
6670
|
{
|
6676
6671
|
"name": "event",
|
6677
6672
|
"type": "MouseEvent"
|
6678
6673
|
}
|
6679
6674
|
]
|
6675
|
+
},
|
6676
|
+
{
|
6677
|
+
"name": "replay",
|
6678
|
+
"description": "Emitted when NoticeBar is replayed",
|
6679
|
+
"arguments": []
|
6680
6680
|
}
|
6681
6681
|
],
|
6682
6682
|
"attributes": [
|
6683
6683
|
{
|
6684
|
-
"name": "
|
6684
|
+
"name": "mode",
|
6685
6685
|
"default": "`''`",
|
6686
|
-
"description": "
|
6686
|
+
"description": "Mode, can be set to `closeable` `link`",
|
6687
6687
|
"options": [],
|
6688
6688
|
"value": {
|
6689
6689
|
"type": "string",
|
@@ -6691,9 +6691,9 @@
|
|
6691
6691
|
}
|
6692
6692
|
},
|
6693
6693
|
{
|
6694
|
-
"name": "
|
6694
|
+
"name": "text",
|
6695
6695
|
"default": "`''`",
|
6696
|
-
"description": "
|
6696
|
+
"description": "Notice text content",
|
6697
6697
|
"options": [],
|
6698
6698
|
"value": {
|
6699
6699
|
"type": "string",
|
@@ -6701,9 +6701,9 @@
|
|
6701
6701
|
}
|
6702
6702
|
},
|
6703
6703
|
{
|
6704
|
-
"name": "
|
6705
|
-
"default": "`
|
6706
|
-
"description": "
|
6704
|
+
"name": "color",
|
6705
|
+
"default": "`#ed6a0c`",
|
6706
|
+
"description": "Text color",
|
6707
6707
|
"options": [],
|
6708
6708
|
"value": {
|
6709
6709
|
"type": "string",
|
@@ -6711,59 +6711,59 @@
|
|
6711
6711
|
}
|
6712
6712
|
},
|
6713
6713
|
{
|
6714
|
-
"name": "
|
6715
|
-
"default": "`
|
6716
|
-
"description": "
|
6714
|
+
"name": "background",
|
6715
|
+
"default": "`#fffbe8`",
|
6716
|
+
"description": "Background color",
|
6717
6717
|
"options": [],
|
6718
6718
|
"value": {
|
6719
|
-
"type": "
|
6719
|
+
"type": "string",
|
6720
6720
|
"kind": "expression"
|
6721
6721
|
}
|
6722
6722
|
},
|
6723
6723
|
{
|
6724
|
-
"name": "
|
6725
|
-
"default": "
|
6726
|
-
"description": "
|
6724
|
+
"name": "left-icon",
|
6725
|
+
"default": "-",
|
6726
|
+
"description": "Left Icon",
|
6727
6727
|
"options": [],
|
6728
6728
|
"value": {
|
6729
|
-
"type": "
|
6729
|
+
"type": "string",
|
6730
6730
|
"kind": "expression"
|
6731
6731
|
}
|
6732
6732
|
},
|
6733
6733
|
{
|
6734
|
-
"name": "
|
6735
|
-
"default": "`
|
6736
|
-
"description": "
|
6734
|
+
"name": "delay",
|
6735
|
+
"default": "`1`",
|
6736
|
+
"description": "Animation delay (s)",
|
6737
6737
|
"options": [],
|
6738
6738
|
"value": {
|
6739
|
-
"type": "
|
6739
|
+
"type": "number | string",
|
6740
6740
|
"kind": "expression"
|
6741
6741
|
}
|
6742
6742
|
},
|
6743
6743
|
{
|
6744
|
-
"name": "
|
6745
|
-
"default": "`
|
6746
|
-
"description": "
|
6744
|
+
"name": "speed",
|
6745
|
+
"default": "`60`",
|
6746
|
+
"description": "Scroll speed (px/s)",
|
6747
6747
|
"options": [],
|
6748
6748
|
"value": {
|
6749
|
-
"type": "
|
6749
|
+
"type": "number | string",
|
6750
6750
|
"kind": "expression"
|
6751
6751
|
}
|
6752
6752
|
},
|
6753
6753
|
{
|
6754
|
-
"name": "
|
6755
|
-
"default": "
|
6756
|
-
"description": "
|
6754
|
+
"name": "scrollable",
|
6755
|
+
"default": "-",
|
6756
|
+
"description": "Whether to scroll content",
|
6757
6757
|
"options": [],
|
6758
6758
|
"value": {
|
6759
|
-
"type": "
|
6759
|
+
"type": "boolean",
|
6760
6760
|
"kind": "expression"
|
6761
6761
|
}
|
6762
6762
|
},
|
6763
6763
|
{
|
6764
|
-
"name": "
|
6764
|
+
"name": "wrapable",
|
6765
6765
|
"default": "`false`",
|
6766
|
-
"description": "Whether to enable
|
6766
|
+
"description": "Whether to enable text wrap",
|
6767
6767
|
"options": [],
|
6768
6768
|
"value": {
|
6769
6769
|
"type": "boolean",
|
@@ -6999,60 +6999,189 @@
|
|
6999
6999
|
]
|
7000
7000
|
},
|
7001
7001
|
{
|
7002
|
-
"name": "van-
|
7003
|
-
"slots": [
|
7004
|
-
{
|
7005
|
-
"name": "default",
|
7006
|
-
"description": "Default slot"
|
7007
|
-
}
|
7008
|
-
],
|
7002
|
+
"name": "van-password-input",
|
7003
|
+
"slots": [],
|
7009
7004
|
"events": [
|
7010
7005
|
{
|
7011
|
-
"name": "
|
7012
|
-
"description": "Emitted when
|
7013
|
-
"arguments": [
|
7014
|
-
{
|
7015
|
-
"name": "event",
|
7016
|
-
"type": "MouseEvent"
|
7017
|
-
}
|
7018
|
-
]
|
7006
|
+
"name": "focus",
|
7007
|
+
"description": "Emitted when input is focused",
|
7008
|
+
"arguments": []
|
7019
7009
|
}
|
7020
7010
|
],
|
7021
7011
|
"attributes": [
|
7022
7012
|
{
|
7023
|
-
"name": "
|
7013
|
+
"name": "value",
|
7014
|
+
"default": "`''`",
|
7015
|
+
"description": "Password value",
|
7016
|
+
"options": [],
|
7017
|
+
"value": {
|
7018
|
+
"type": "string",
|
7019
|
+
"kind": "expression"
|
7020
|
+
}
|
7021
|
+
},
|
7022
|
+
{
|
7023
|
+
"name": "info",
|
7024
|
+
"default": "-",
|
7025
|
+
"description": "Bottom info",
|
7026
|
+
"options": [],
|
7027
|
+
"value": {
|
7028
|
+
"type": "string",
|
7029
|
+
"kind": "expression"
|
7030
|
+
}
|
7031
|
+
},
|
7032
|
+
{
|
7033
|
+
"name": "error-info",
|
7034
|
+
"default": "-",
|
7035
|
+
"description": "Bottom error info",
|
7036
|
+
"options": [],
|
7037
|
+
"value": {
|
7038
|
+
"type": "string",
|
7039
|
+
"kind": "expression"
|
7040
|
+
}
|
7041
|
+
},
|
7042
|
+
{
|
7043
|
+
"name": "length",
|
7044
|
+
"default": "`6`",
|
7045
|
+
"description": "Maxlength of password",
|
7046
|
+
"options": [],
|
7047
|
+
"value": {
|
7048
|
+
"type": "number | string",
|
7049
|
+
"kind": "expression"
|
7050
|
+
}
|
7051
|
+
},
|
7052
|
+
{
|
7053
|
+
"name": "gutter",
|
7054
|
+
"default": "`0`",
|
7055
|
+
"description": "Gutter of input",
|
7056
|
+
"options": [],
|
7057
|
+
"value": {
|
7058
|
+
"type": "number | string",
|
7059
|
+
"kind": "expression"
|
7060
|
+
}
|
7061
|
+
},
|
7062
|
+
{
|
7063
|
+
"name": "mask",
|
7064
|
+
"default": "`true`",
|
7065
|
+
"description": "Whether to mask value",
|
7066
|
+
"options": [],
|
7067
|
+
"value": {
|
7068
|
+
"type": "boolean",
|
7069
|
+
"kind": "expression"
|
7070
|
+
}
|
7071
|
+
},
|
7072
|
+
{
|
7073
|
+
"name": "focused",
|
7024
7074
|
"default": "`false`",
|
7025
|
-
"description": "Whether to show
|
7075
|
+
"description": "Whether to show focused cursor",
|
7026
7076
|
"options": [],
|
7027
7077
|
"value": {
|
7028
7078
|
"type": "boolean",
|
7029
7079
|
"kind": "expression"
|
7030
7080
|
}
|
7081
|
+
}
|
7082
|
+
]
|
7083
|
+
},
|
7084
|
+
{
|
7085
|
+
"name": "van-picker",
|
7086
|
+
"slots": [
|
7087
|
+
{
|
7088
|
+
"name": "toolbar",
|
7089
|
+
"description": "Custom toolbar content"
|
7031
7090
|
},
|
7032
7091
|
{
|
7033
|
-
"name": "
|
7034
|
-
"
|
7035
|
-
|
7092
|
+
"name": "title",
|
7093
|
+
"description": "Custom title"
|
7094
|
+
},
|
7095
|
+
{
|
7096
|
+
"name": "confirm",
|
7097
|
+
"description": "Custom confirm button text"
|
7098
|
+
},
|
7099
|
+
{
|
7100
|
+
"name": "cancel",
|
7101
|
+
"description": "Custom cancel button text"
|
7102
|
+
},
|
7103
|
+
{
|
7104
|
+
"name": "option",
|
7105
|
+
"description": "Custom option content"
|
7106
|
+
},
|
7107
|
+
{
|
7108
|
+
"name": "columns-top",
|
7109
|
+
"description": "Custom content above columns"
|
7110
|
+
},
|
7111
|
+
{
|
7112
|
+
"name": "columns-bottom",
|
7113
|
+
"description": "Custom content below columns"
|
7114
|
+
}
|
7115
|
+
],
|
7116
|
+
"events": [
|
7117
|
+
{
|
7118
|
+
"name": "confirm",
|
7119
|
+
"description": "Emitted when click confirm button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7120
|
+
"arguments": [
|
7121
|
+
{
|
7122
|
+
"name": "currentValue",
|
7123
|
+
"type": "PickerOption | PickerOption[]"
|
7124
|
+
},
|
7125
|
+
{
|
7126
|
+
"name": "currentIndex",
|
7127
|
+
"type": "number | number[]"
|
7128
|
+
}
|
7129
|
+
]
|
7130
|
+
},
|
7131
|
+
{
|
7132
|
+
"name": "cancel",
|
7133
|
+
"description": "Emitted when click cancel button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7134
|
+
"arguments": [
|
7135
|
+
{
|
7136
|
+
"name": "currentValue",
|
7137
|
+
"type": "PickerOption | PickerOption[]"
|
7138
|
+
},
|
7139
|
+
{
|
7140
|
+
"name": "currentIndex",
|
7141
|
+
"type": "number | number[]"
|
7142
|
+
}
|
7143
|
+
]
|
7144
|
+
},
|
7145
|
+
{
|
7146
|
+
"name": "change",
|
7147
|
+
"description": "Emitted when current option changed.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7148
|
+
"arguments": [
|
7149
|
+
{
|
7150
|
+
"name": "currentValue",
|
7151
|
+
"type": "PickerOption | PickerOption[]"
|
7152
|
+
},
|
7153
|
+
{
|
7154
|
+
"name": "currentIndex",
|
7155
|
+
"type": "number | number[]"
|
7156
|
+
}
|
7157
|
+
]
|
7158
|
+
}
|
7159
|
+
],
|
7160
|
+
"attributes": [
|
7161
|
+
{
|
7162
|
+
"name": "columns",
|
7163
|
+
"default": "`[]`",
|
7164
|
+
"description": "Columns data",
|
7036
7165
|
"options": [],
|
7037
7166
|
"value": {
|
7038
|
-
"type": "
|
7167
|
+
"type": "Column[]",
|
7039
7168
|
"kind": "expression"
|
7040
7169
|
}
|
7041
7170
|
},
|
7042
7171
|
{
|
7043
|
-
"name": "
|
7044
|
-
"default": "`
|
7045
|
-
"description": "
|
7172
|
+
"name": "columns-field-names",
|
7173
|
+
"default": "`{ text: 'text', values: 'values', children: 'children' }`",
|
7174
|
+
"description": "custom columns field",
|
7046
7175
|
"options": [],
|
7047
7176
|
"value": {
|
7048
|
-
"type": "
|
7177
|
+
"type": "object",
|
7049
7178
|
"kind": "expression"
|
7050
7179
|
}
|
7051
7180
|
},
|
7052
7181
|
{
|
7053
|
-
"name": "
|
7182
|
+
"name": "title",
|
7054
7183
|
"default": "-",
|
7055
|
-
"description": "
|
7184
|
+
"description": "Toolbar title",
|
7056
7185
|
"options": [],
|
7057
7186
|
"value": {
|
7058
7187
|
"type": "string",
|
@@ -7060,82 +7189,69 @@
|
|
7060
7189
|
}
|
7061
7190
|
},
|
7062
7191
|
{
|
7063
|
-
"name": "
|
7064
|
-
"default": "
|
7065
|
-
"description": "
|
7192
|
+
"name": "confirm-button-text",
|
7193
|
+
"default": "`Confirm`",
|
7194
|
+
"description": "Text of confirm button",
|
7066
7195
|
"options": [],
|
7067
7196
|
"value": {
|
7068
|
-
"type": "
|
7197
|
+
"type": "string",
|
7069
7198
|
"kind": "expression"
|
7070
7199
|
}
|
7071
7200
|
},
|
7072
7201
|
{
|
7073
|
-
"name": "
|
7074
|
-
"default": "`
|
7075
|
-
"description": "
|
7202
|
+
"name": "cancel-button-text",
|
7203
|
+
"default": "`Cancel`",
|
7204
|
+
"description": "Text of cancel button",
|
7076
7205
|
"options": [],
|
7077
7206
|
"value": {
|
7078
|
-
"type": "
|
7207
|
+
"type": "string",
|
7079
7208
|
"kind": "expression"
|
7080
7209
|
}
|
7081
7210
|
},
|
7082
7211
|
{
|
7083
|
-
"name": "
|
7084
|
-
"default": "`
|
7085
|
-
"description": "
|
7212
|
+
"name": "toolbar-position",
|
7213
|
+
"default": "`top`",
|
7214
|
+
"description": "Toolbar position, cat be set to `bottom`",
|
7086
7215
|
"options": [],
|
7087
7216
|
"value": {
|
7088
|
-
"type": "
|
7217
|
+
"type": "string",
|
7089
7218
|
"kind": "expression"
|
7090
7219
|
}
|
7091
|
-
}
|
7092
|
-
]
|
7093
|
-
},
|
7094
|
-
{
|
7095
|
-
"name": "van-password-input",
|
7096
|
-
"slots": [],
|
7097
|
-
"events": [
|
7098
|
-
{
|
7099
|
-
"name": "focus",
|
7100
|
-
"description": "Emitted when input is focused",
|
7101
|
-
"arguments": []
|
7102
|
-
}
|
7103
|
-
],
|
7104
|
-
"attributes": [
|
7220
|
+
},
|
7105
7221
|
{
|
7106
|
-
"name": "
|
7107
|
-
"default": "`
|
7108
|
-
"description": "
|
7222
|
+
"name": "loading",
|
7223
|
+
"default": "`false`",
|
7224
|
+
"description": "Whether to show loading prompt",
|
7109
7225
|
"options": [],
|
7110
7226
|
"value": {
|
7111
|
-
"type": "
|
7227
|
+
"type": "boolean",
|
7112
7228
|
"kind": "expression"
|
7113
7229
|
}
|
7114
7230
|
},
|
7115
7231
|
{
|
7116
|
-
"name": "
|
7117
|
-
"default": "
|
7118
|
-
"description": "
|
7232
|
+
"name": "show-toolbar",
|
7233
|
+
"default": "`true`",
|
7234
|
+
"description": "Whether to show toolbar",
|
7119
7235
|
"options": [],
|
7120
7236
|
"value": {
|
7121
|
-
"type": "
|
7237
|
+
"type": "boolean",
|
7122
7238
|
"kind": "expression"
|
7123
7239
|
}
|
7124
7240
|
},
|
7125
7241
|
{
|
7126
|
-
"name": "
|
7127
|
-
"default": "
|
7128
|
-
"description": "
|
7242
|
+
"name": "allow-html",
|
7243
|
+
"default": "`false`",
|
7244
|
+
"description": "Whether to allow HTML in option text",
|
7129
7245
|
"options": [],
|
7130
7246
|
"value": {
|
7131
|
-
"type": "
|
7247
|
+
"type": "boolean",
|
7132
7248
|
"kind": "expression"
|
7133
7249
|
}
|
7134
7250
|
},
|
7135
7251
|
{
|
7136
|
-
"name": "
|
7137
|
-
"default": "`
|
7138
|
-
"description": "
|
7252
|
+
"name": "default-index",
|
7253
|
+
"default": "`0`",
|
7254
|
+
"description": "Default value index of single column picker",
|
7139
7255
|
"options": [],
|
7140
7256
|
"value": {
|
7141
7257
|
"type": "number | string",
|
@@ -7143,9 +7259,9 @@
|
|
7143
7259
|
}
|
7144
7260
|
},
|
7145
7261
|
{
|
7146
|
-
"name": "
|
7147
|
-
"default": "`
|
7148
|
-
"description": "
|
7262
|
+
"name": "item-height",
|
7263
|
+
"default": "`44`",
|
7264
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
7149
7265
|
"options": [],
|
7150
7266
|
"value": {
|
7151
7267
|
"type": "number | string",
|
@@ -7153,22 +7269,22 @@
|
|
7153
7269
|
}
|
7154
7270
|
},
|
7155
7271
|
{
|
7156
|
-
"name": "
|
7157
|
-
"default": "`
|
7158
|
-
"description": "
|
7272
|
+
"name": "visible-item-count",
|
7273
|
+
"default": "`6`",
|
7274
|
+
"description": "Count of visible columns",
|
7159
7275
|
"options": [],
|
7160
7276
|
"value": {
|
7161
|
-
"type": "
|
7277
|
+
"type": "number | string",
|
7162
7278
|
"kind": "expression"
|
7163
7279
|
}
|
7164
7280
|
},
|
7165
7281
|
{
|
7166
|
-
"name": "
|
7167
|
-
"default": "`
|
7168
|
-
"description": "
|
7282
|
+
"name": "swipe-duration",
|
7283
|
+
"default": "`1000`",
|
7284
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
7169
7285
|
"options": [],
|
7170
7286
|
"value": {
|
7171
|
-
"type": "
|
7287
|
+
"type": "number | string",
|
7172
7288
|
"kind": "expression"
|
7173
7289
|
}
|
7174
7290
|
}
|
@@ -7290,6 +7406,99 @@
|
|
7290
7406
|
}
|
7291
7407
|
]
|
7292
7408
|
},
|
7409
|
+
{
|
7410
|
+
"name": "van-overlay",
|
7411
|
+
"slots": [
|
7412
|
+
{
|
7413
|
+
"name": "default",
|
7414
|
+
"description": "Default slot"
|
7415
|
+
}
|
7416
|
+
],
|
7417
|
+
"events": [
|
7418
|
+
{
|
7419
|
+
"name": "click",
|
7420
|
+
"description": "Emitted when component is clicked",
|
7421
|
+
"arguments": [
|
7422
|
+
{
|
7423
|
+
"name": "event",
|
7424
|
+
"type": "MouseEvent"
|
7425
|
+
}
|
7426
|
+
]
|
7427
|
+
}
|
7428
|
+
],
|
7429
|
+
"attributes": [
|
7430
|
+
{
|
7431
|
+
"name": "show",
|
7432
|
+
"default": "`false`",
|
7433
|
+
"description": "Whether to show overlay",
|
7434
|
+
"options": [],
|
7435
|
+
"value": {
|
7436
|
+
"type": "boolean",
|
7437
|
+
"kind": "expression"
|
7438
|
+
}
|
7439
|
+
},
|
7440
|
+
{
|
7441
|
+
"name": "z-index",
|
7442
|
+
"default": "`1`",
|
7443
|
+
"description": "z-index",
|
7444
|
+
"options": [],
|
7445
|
+
"value": {
|
7446
|
+
"type": "number | string",
|
7447
|
+
"kind": "expression"
|
7448
|
+
}
|
7449
|
+
},
|
7450
|
+
{
|
7451
|
+
"name": "duration",
|
7452
|
+
"default": "`0.3`",
|
7453
|
+
"description": "Animation duration",
|
7454
|
+
"options": [],
|
7455
|
+
"value": {
|
7456
|
+
"type": "number | string",
|
7457
|
+
"kind": "expression"
|
7458
|
+
}
|
7459
|
+
},
|
7460
|
+
{
|
7461
|
+
"name": "class-name",
|
7462
|
+
"default": "-",
|
7463
|
+
"description": "ClassName",
|
7464
|
+
"options": [],
|
7465
|
+
"value": {
|
7466
|
+
"type": "string",
|
7467
|
+
"kind": "expression"
|
7468
|
+
}
|
7469
|
+
},
|
7470
|
+
{
|
7471
|
+
"name": "custom-class",
|
7472
|
+
"default": "-",
|
7473
|
+
"description": "Custom style",
|
7474
|
+
"options": [],
|
7475
|
+
"value": {
|
7476
|
+
"type": "object",
|
7477
|
+
"kind": "expression"
|
7478
|
+
}
|
7479
|
+
},
|
7480
|
+
{
|
7481
|
+
"name": "lock-scroll",
|
7482
|
+
"default": "`true`",
|
7483
|
+
"description": "Whether to lock background scroll",
|
7484
|
+
"options": [],
|
7485
|
+
"value": {
|
7486
|
+
"type": "boolean",
|
7487
|
+
"kind": "expression"
|
7488
|
+
}
|
7489
|
+
},
|
7490
|
+
{
|
7491
|
+
"name": "lazy-render",
|
7492
|
+
"default": "`true`",
|
7493
|
+
"description": "Whether to lazy render util appeared",
|
7494
|
+
"options": [],
|
7495
|
+
"value": {
|
7496
|
+
"type": "boolean",
|
7497
|
+
"kind": "expression"
|
7498
|
+
}
|
7499
|
+
}
|
7500
|
+
]
|
7501
|
+
},
|
7293
7502
|
{
|
7294
7503
|
"name": "van-popover",
|
7295
7504
|
"slots": [
|
@@ -7613,116 +7822,64 @@
|
|
7613
7822
|
]
|
7614
7823
|
},
|
7615
7824
|
{
|
7616
|
-
"name": "van-
|
7825
|
+
"name": "van-pull-refresh",
|
7617
7826
|
"slots": [
|
7618
7827
|
{
|
7619
|
-
"name": "
|
7620
|
-
"description": "
|
7621
|
-
},
|
7622
|
-
{
|
7623
|
-
"name": "title",
|
7624
|
-
"description": "Custom title"
|
7828
|
+
"name": "default",
|
7829
|
+
"description": "Default slot"
|
7625
7830
|
},
|
7626
7831
|
{
|
7627
|
-
"name": "
|
7628
|
-
"description": "
|
7832
|
+
"name": "normal",
|
7833
|
+
"description": "Content of head when at normal status"
|
7629
7834
|
},
|
7630
7835
|
{
|
7631
|
-
"name": "
|
7632
|
-
"description": "
|
7836
|
+
"name": "pulling",
|
7837
|
+
"description": "Content of head when at pulling"
|
7633
7838
|
},
|
7634
7839
|
{
|
7635
|
-
"name": "
|
7636
|
-
"description": "
|
7840
|
+
"name": "loosing",
|
7841
|
+
"description": "Content of head when at loosing"
|
7637
7842
|
},
|
7638
7843
|
{
|
7639
|
-
"name": "
|
7640
|
-
"description": "
|
7844
|
+
"name": "loading",
|
7845
|
+
"description": "Content of head when at loading"
|
7641
7846
|
},
|
7642
7847
|
{
|
7643
|
-
"name": "
|
7644
|
-
"description": "
|
7848
|
+
"name": "success",
|
7849
|
+
"description": "Content of head when succeed"
|
7645
7850
|
}
|
7646
7851
|
],
|
7647
7852
|
"events": [
|
7648
7853
|
{
|
7649
|
-
"name": "
|
7650
|
-
"description": "Emitted
|
7651
|
-
"arguments": [
|
7652
|
-
{
|
7653
|
-
"name": "currentValue",
|
7654
|
-
"type": "PickerOption | PickerOption[]"
|
7655
|
-
},
|
7656
|
-
{
|
7657
|
-
"name": "currentIndex",
|
7658
|
-
"type": "number | number[]"
|
7659
|
-
}
|
7660
|
-
]
|
7661
|
-
},
|
7662
|
-
{
|
7663
|
-
"name": "cancel",
|
7664
|
-
"description": "Emitted when click cancel button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7665
|
-
"arguments": [
|
7666
|
-
{
|
7667
|
-
"name": "currentValue",
|
7668
|
-
"type": "PickerOption | PickerOption[]"
|
7669
|
-
},
|
7670
|
-
{
|
7671
|
-
"name": "currentIndex",
|
7672
|
-
"type": "number | number[]"
|
7673
|
-
}
|
7674
|
-
]
|
7854
|
+
"name": "refresh",
|
7855
|
+
"description": "Emitted after pulling refresh",
|
7856
|
+
"arguments": []
|
7675
7857
|
},
|
7676
7858
|
{
|
7677
7859
|
"name": "change",
|
7678
|
-
"description": "Emitted when
|
7860
|
+
"description": "Emitted when draging or status changed",
|
7679
7861
|
"arguments": [
|
7680
7862
|
{
|
7681
|
-
"name": "
|
7682
|
-
"type": "PickerOption | PickerOption[]"
|
7683
|
-
},
|
7684
|
-
{
|
7685
|
-
"name": "currentIndex",
|
7686
|
-
"type": "number | number[]"
|
7863
|
+
"name": "{ status: string, distance: number }"
|
7687
7864
|
}
|
7688
7865
|
]
|
7689
7866
|
}
|
7690
7867
|
],
|
7691
7868
|
"attributes": [
|
7692
7869
|
{
|
7693
|
-
"name": "
|
7694
|
-
"default": "`[]`",
|
7695
|
-
"description": "Columns data",
|
7696
|
-
"options": [],
|
7697
|
-
"value": {
|
7698
|
-
"type": "Column[]",
|
7699
|
-
"kind": "expression"
|
7700
|
-
}
|
7701
|
-
},
|
7702
|
-
{
|
7703
|
-
"name": "columns-field-names",
|
7704
|
-
"default": "`{ text: 'text', values: 'values', children: 'children' }`",
|
7705
|
-
"description": "custom columns field",
|
7706
|
-
"options": [],
|
7707
|
-
"value": {
|
7708
|
-
"type": "object",
|
7709
|
-
"kind": "expression"
|
7710
|
-
}
|
7711
|
-
},
|
7712
|
-
{
|
7713
|
-
"name": "title",
|
7870
|
+
"name": "v-model",
|
7714
7871
|
"default": "-",
|
7715
|
-
"description": "
|
7872
|
+
"description": "Loading status",
|
7716
7873
|
"options": [],
|
7717
7874
|
"value": {
|
7718
|
-
"type": "
|
7875
|
+
"type": "boolean",
|
7719
7876
|
"kind": "expression"
|
7720
7877
|
}
|
7721
7878
|
},
|
7722
7879
|
{
|
7723
|
-
"name": "
|
7724
|
-
"default": "`
|
7725
|
-
"description": "Text
|
7880
|
+
"name": "pulling-text",
|
7881
|
+
"default": "`Pull to refresh...`",
|
7882
|
+
"description": "Text to show when pulling",
|
7726
7883
|
"options": [],
|
7727
7884
|
"value": {
|
7728
7885
|
"type": "string",
|
@@ -7730,9 +7887,9 @@
|
|
7730
7887
|
}
|
7731
7888
|
},
|
7732
7889
|
{
|
7733
|
-
"name": "
|
7734
|
-
"default": "`
|
7735
|
-
"description": "Text
|
7890
|
+
"name": "loosing-text",
|
7891
|
+
"default": "`Loose to refresh...`",
|
7892
|
+
"description": "Text to show when loosing",
|
7736
7893
|
"options": [],
|
7737
7894
|
"value": {
|
7738
7895
|
"type": "string",
|
@@ -7740,9 +7897,9 @@
|
|
7740
7897
|
}
|
7741
7898
|
},
|
7742
7899
|
{
|
7743
|
-
"name": "
|
7744
|
-
"default": "`
|
7745
|
-
"description": "
|
7900
|
+
"name": "loading-text",
|
7901
|
+
"default": "`Loading...`",
|
7902
|
+
"description": "Text to show when loading",
|
7746
7903
|
"options": [],
|
7747
7904
|
"value": {
|
7748
7905
|
"type": "string",
|
@@ -7750,39 +7907,29 @@
|
|
7750
7907
|
}
|
7751
7908
|
},
|
7752
7909
|
{
|
7753
|
-
"name": "
|
7754
|
-
"default": "
|
7755
|
-
"description": "
|
7756
|
-
"options": [],
|
7757
|
-
"value": {
|
7758
|
-
"type": "boolean",
|
7759
|
-
"kind": "expression"
|
7760
|
-
}
|
7761
|
-
},
|
7762
|
-
{
|
7763
|
-
"name": "show-toolbar",
|
7764
|
-
"default": "`true`",
|
7765
|
-
"description": "Whether to show toolbar",
|
7910
|
+
"name": "success-text",
|
7911
|
+
"default": "-",
|
7912
|
+
"description": "Text to show when loading success",
|
7766
7913
|
"options": [],
|
7767
7914
|
"value": {
|
7768
|
-
"type": "
|
7915
|
+
"type": "string",
|
7769
7916
|
"kind": "expression"
|
7770
7917
|
}
|
7771
7918
|
},
|
7772
7919
|
{
|
7773
|
-
"name": "
|
7774
|
-
"default": "`
|
7775
|
-
"description": "
|
7920
|
+
"name": "success-duration",
|
7921
|
+
"default": "`500`",
|
7922
|
+
"description": "Success text display duration(ms)",
|
7776
7923
|
"options": [],
|
7777
7924
|
"value": {
|
7778
|
-
"type": "
|
7925
|
+
"type": "number | string",
|
7779
7926
|
"kind": "expression"
|
7780
7927
|
}
|
7781
7928
|
},
|
7782
7929
|
{
|
7783
|
-
"name": "
|
7784
|
-
"default": "`
|
7785
|
-
"description": "
|
7930
|
+
"name": "animation-duration",
|
7931
|
+
"default": "`300`",
|
7932
|
+
"description": "Animation duration",
|
7786
7933
|
"options": [],
|
7787
7934
|
"value": {
|
7788
7935
|
"type": "number | string",
|
@@ -7790,9 +7937,9 @@
|
|
7790
7937
|
}
|
7791
7938
|
},
|
7792
7939
|
{
|
7793
|
-
"name": "
|
7794
|
-
"default": "`
|
7795
|
-
"description": "
|
7940
|
+
"name": "head-height",
|
7941
|
+
"default": "`50`",
|
7942
|
+
"description": "Height of head",
|
7796
7943
|
"options": [],
|
7797
7944
|
"value": {
|
7798
7945
|
"type": "number | string",
|
@@ -7800,9 +7947,9 @@
|
|
7800
7947
|
}
|
7801
7948
|
},
|
7802
7949
|
{
|
7803
|
-
"name": "
|
7804
|
-
"default": "`
|
7805
|
-
"description": "
|
7950
|
+
"name": "pull-distance",
|
7951
|
+
"default": "same as `head-height`",
|
7952
|
+
"description": "The distance to trigger the pull refresh",
|
7806
7953
|
"options": [],
|
7807
7954
|
"value": {
|
7808
7955
|
"type": "number | string",
|
@@ -7810,12 +7957,12 @@
|
|
7810
7957
|
}
|
7811
7958
|
},
|
7812
7959
|
{
|
7813
|
-
"name": "
|
7814
|
-
"default": "`
|
7815
|
-
"description": "
|
7960
|
+
"name": "disabled",
|
7961
|
+
"default": "`false`",
|
7962
|
+
"description": "Whether to disable pull refresh",
|
7816
7963
|
"options": [],
|
7817
7964
|
"value": {
|
7818
|
-
"type": "
|
7965
|
+
"type": "boolean",
|
7819
7966
|
"kind": "expression"
|
7820
7967
|
}
|
7821
7968
|
}
|
@@ -7961,192 +8108,45 @@
|
|
7961
8108
|
"default": "`true`",
|
7962
8109
|
"description": "Whether to lock background scroll",
|
7963
8110
|
"options": [],
|
7964
|
-
"value": {
|
7965
|
-
"type": "boolean",
|
7966
|
-
"kind": "expression"
|
7967
|
-
}
|
7968
|
-
},
|
7969
|
-
{
|
7970
|
-
"name": "lazy-render",
|
7971
|
-
"default": "`true`",
|
7972
|
-
"description": "Whether to lazy render util appeared",
|
7973
|
-
"options": [],
|
7974
|
-
"value": {
|
7975
|
-
"type": "boolean",
|
7976
|
-
"kind": "expression"
|
7977
|
-
}
|
7978
|
-
},
|
7979
|
-
{
|
7980
|
-
"name": "close-on-popstate",
|
7981
|
-
"default": "`false`",
|
7982
|
-
"description": "Whether to close when popstate",
|
7983
|
-
"options": [],
|
7984
|
-
"value": {
|
7985
|
-
"type": "boolean",
|
7986
|
-
"kind": "expression"
|
7987
|
-
}
|
7988
|
-
},
|
7989
|
-
{
|
7990
|
-
"name": "close-on-click-overlay",
|
7991
|
-
"default": "`true`",
|
7992
|
-
"description": "Whether to close when overlay is clicked",
|
7993
|
-
"options": [],
|
7994
|
-
"value": {
|
7995
|
-
"type": "boolean",
|
7996
|
-
"kind": "expression"
|
7997
|
-
}
|
7998
|
-
},
|
7999
|
-
{
|
8000
|
-
"name": "closeable",
|
8001
|
-
"default": "`false`",
|
8002
|
-
"description": "Whether to show close icon",
|
8003
|
-
"options": [],
|
8004
|
-
"value": {
|
8005
|
-
"type": "boolean",
|
8006
|
-
"kind": "expression"
|
8007
|
-
}
|
8008
|
-
},
|
8009
|
-
{
|
8010
|
-
"name": "close-icon",
|
8011
|
-
"default": "`cross`",
|
8012
|
-
"description": "Close icon name",
|
8013
|
-
"options": [],
|
8014
|
-
"value": {
|
8015
|
-
"type": "string",
|
8016
|
-
"kind": "expression"
|
8017
|
-
}
|
8018
|
-
},
|
8019
|
-
{
|
8020
|
-
"name": "close-icon-position",
|
8021
|
-
"default": "`top-right`",
|
8022
|
-
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
|
8023
|
-
"options": [],
|
8024
|
-
"value": {
|
8025
|
-
"type": "string",
|
8026
|
-
"kind": "expression"
|
8027
|
-
}
|
8028
|
-
},
|
8029
|
-
{
|
8030
|
-
"name": "before-close",
|
8031
|
-
"default": "-",
|
8032
|
-
"description": "Callback function before close",
|
8033
|
-
"options": [],
|
8034
|
-
"value": {
|
8035
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
8036
|
-
"kind": "expression"
|
8037
|
-
}
|
8038
|
-
},
|
8039
|
-
{
|
8040
|
-
"name": "icon-prefix",
|
8041
|
-
"default": "`van-icon`",
|
8042
|
-
"description": "Icon className prefix",
|
8043
|
-
"options": [],
|
8044
|
-
"value": {
|
8045
|
-
"type": "string",
|
8046
|
-
"kind": "expression"
|
8047
|
-
}
|
8048
|
-
},
|
8049
|
-
{
|
8050
|
-
"name": "transition",
|
8051
|
-
"default": "-",
|
8052
|
-
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
8053
|
-
"options": [],
|
8054
|
-
"value": {
|
8055
|
-
"type": "string",
|
8056
|
-
"kind": "expression"
|
8057
|
-
}
|
8058
|
-
},
|
8059
|
-
{
|
8060
|
-
"name": "transition-appear",
|
8061
|
-
"default": "`false`",
|
8062
|
-
"description": "Whether to apply transition on initial render",
|
8063
|
-
"options": [],
|
8064
|
-
"value": {
|
8065
|
-
"type": "boolean",
|
8066
|
-
"kind": "expression"
|
8067
|
-
}
|
8068
|
-
},
|
8069
|
-
{
|
8070
|
-
"name": "teleport",
|
8071
|
-
"default": "-",
|
8072
|
-
"description": "Specifies a target element where Popup will be mounted",
|
8073
|
-
"options": [],
|
8074
|
-
"value": {
|
8075
|
-
"type": "string | Element",
|
8076
|
-
"kind": "expression"
|
8077
|
-
}
|
8078
|
-
},
|
8079
|
-
{
|
8080
|
-
"name": "safe-area-inset-top",
|
8081
|
-
"default": "`false`",
|
8082
|
-
"description": "Whether to enable top safe area adaptation",
|
8083
|
-
"options": [],
|
8084
|
-
"value": {
|
8085
|
-
"type": "boolean",
|
8086
|
-
"kind": "expression"
|
8087
|
-
}
|
8088
|
-
},
|
8089
|
-
{
|
8090
|
-
"name": "safe-area-inset-bottom",
|
8091
|
-
"default": "`false`",
|
8092
|
-
"description": "Whether to enable bottom safe area adaptation",
|
8093
|
-
"options": [],
|
8094
|
-
"value": {
|
8095
|
-
"type": "boolean",
|
8096
|
-
"kind": "expression"
|
8097
|
-
}
|
8098
|
-
}
|
8099
|
-
]
|
8100
|
-
},
|
8101
|
-
{
|
8102
|
-
"name": "van-pull-refresh",
|
8103
|
-
"slots": [
|
8104
|
-
{
|
8105
|
-
"name": "default",
|
8106
|
-
"description": "Default slot"
|
8107
|
-
},
|
8108
|
-
{
|
8109
|
-
"name": "normal",
|
8110
|
-
"description": "Content of head when at normal status"
|
8111
|
-
},
|
8112
|
-
{
|
8113
|
-
"name": "pulling",
|
8114
|
-
"description": "Content of head when at pulling"
|
8111
|
+
"value": {
|
8112
|
+
"type": "boolean",
|
8113
|
+
"kind": "expression"
|
8114
|
+
}
|
8115
8115
|
},
|
8116
8116
|
{
|
8117
|
-
"name": "
|
8118
|
-
"
|
8117
|
+
"name": "lazy-render",
|
8118
|
+
"default": "`true`",
|
8119
|
+
"description": "Whether to lazy render util appeared",
|
8120
|
+
"options": [],
|
8121
|
+
"value": {
|
8122
|
+
"type": "boolean",
|
8123
|
+
"kind": "expression"
|
8124
|
+
}
|
8119
8125
|
},
|
8120
8126
|
{
|
8121
|
-
"name": "
|
8122
|
-
"
|
8127
|
+
"name": "close-on-popstate",
|
8128
|
+
"default": "`false`",
|
8129
|
+
"description": "Whether to close when popstate",
|
8130
|
+
"options": [],
|
8131
|
+
"value": {
|
8132
|
+
"type": "boolean",
|
8133
|
+
"kind": "expression"
|
8134
|
+
}
|
8123
8135
|
},
|
8124
8136
|
{
|
8125
|
-
"name": "
|
8126
|
-
"
|
8127
|
-
|
8128
|
-
|
8129
|
-
|
8130
|
-
|
8131
|
-
|
8132
|
-
|
8133
|
-
"arguments": []
|
8137
|
+
"name": "close-on-click-overlay",
|
8138
|
+
"default": "`true`",
|
8139
|
+
"description": "Whether to close when overlay is clicked",
|
8140
|
+
"options": [],
|
8141
|
+
"value": {
|
8142
|
+
"type": "boolean",
|
8143
|
+
"kind": "expression"
|
8144
|
+
}
|
8134
8145
|
},
|
8135
8146
|
{
|
8136
|
-
"name": "
|
8137
|
-
"
|
8138
|
-
"
|
8139
|
-
{
|
8140
|
-
"name": "{ status: string, distance: number }"
|
8141
|
-
}
|
8142
|
-
]
|
8143
|
-
}
|
8144
|
-
],
|
8145
|
-
"attributes": [
|
8146
|
-
{
|
8147
|
-
"name": "v-model",
|
8148
|
-
"default": "-",
|
8149
|
-
"description": "Loading status",
|
8147
|
+
"name": "closeable",
|
8148
|
+
"default": "`false`",
|
8149
|
+
"description": "Whether to show close icon",
|
8150
8150
|
"options": [],
|
8151
8151
|
"value": {
|
8152
8152
|
"type": "boolean",
|
@@ -8154,9 +8154,9 @@
|
|
8154
8154
|
}
|
8155
8155
|
},
|
8156
8156
|
{
|
8157
|
-
"name": "
|
8158
|
-
"default": "`
|
8159
|
-
"description": "
|
8157
|
+
"name": "close-icon",
|
8158
|
+
"default": "`cross`",
|
8159
|
+
"description": "Close icon name",
|
8160
8160
|
"options": [],
|
8161
8161
|
"value": {
|
8162
8162
|
"type": "string",
|
@@ -8164,9 +8164,9 @@
|
|
8164
8164
|
}
|
8165
8165
|
},
|
8166
8166
|
{
|
8167
|
-
"name": "
|
8168
|
-
"default": "`
|
8169
|
-
"description": "
|
8167
|
+
"name": "close-icon-position",
|
8168
|
+
"default": "`top-right`",
|
8169
|
+
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
|
8170
8170
|
"options": [],
|
8171
8171
|
"value": {
|
8172
8172
|
"type": "string",
|
@@ -8174,19 +8174,19 @@
|
|
8174
8174
|
}
|
8175
8175
|
},
|
8176
8176
|
{
|
8177
|
-
"name": "
|
8178
|
-
"default": "
|
8179
|
-
"description": "
|
8177
|
+
"name": "before-close",
|
8178
|
+
"default": "-",
|
8179
|
+
"description": "Callback function before close",
|
8180
8180
|
"options": [],
|
8181
8181
|
"value": {
|
8182
|
-
"type": "string",
|
8182
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
8183
8183
|
"kind": "expression"
|
8184
8184
|
}
|
8185
8185
|
},
|
8186
8186
|
{
|
8187
|
-
"name": "
|
8188
|
-
"default": "-",
|
8189
|
-
"description": "
|
8187
|
+
"name": "icon-prefix",
|
8188
|
+
"default": "`van-icon`",
|
8189
|
+
"description": "Icon className prefix",
|
8190
8190
|
"options": [],
|
8191
8191
|
"value": {
|
8192
8192
|
"type": "string",
|
@@ -8194,49 +8194,49 @@
|
|
8194
8194
|
}
|
8195
8195
|
},
|
8196
8196
|
{
|
8197
|
-
"name": "
|
8198
|
-
"default": "
|
8199
|
-
"description": "
|
8197
|
+
"name": "transition",
|
8198
|
+
"default": "-",
|
8199
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
8200
8200
|
"options": [],
|
8201
8201
|
"value": {
|
8202
|
-
"type": "
|
8202
|
+
"type": "string",
|
8203
8203
|
"kind": "expression"
|
8204
8204
|
}
|
8205
8205
|
},
|
8206
8206
|
{
|
8207
|
-
"name": "
|
8208
|
-
"default": "`
|
8209
|
-
"description": "
|
8207
|
+
"name": "transition-appear",
|
8208
|
+
"default": "`false`",
|
8209
|
+
"description": "Whether to apply transition on initial render",
|
8210
8210
|
"options": [],
|
8211
8211
|
"value": {
|
8212
|
-
"type": "
|
8212
|
+
"type": "boolean",
|
8213
8213
|
"kind": "expression"
|
8214
8214
|
}
|
8215
8215
|
},
|
8216
8216
|
{
|
8217
|
-
"name": "
|
8218
|
-
"default": "
|
8219
|
-
"description": "
|
8217
|
+
"name": "teleport",
|
8218
|
+
"default": "-",
|
8219
|
+
"description": "Specifies a target element where Popup will be mounted",
|
8220
8220
|
"options": [],
|
8221
8221
|
"value": {
|
8222
|
-
"type": "
|
8222
|
+
"type": "string | Element",
|
8223
8223
|
"kind": "expression"
|
8224
8224
|
}
|
8225
8225
|
},
|
8226
8226
|
{
|
8227
|
-
"name": "
|
8228
|
-
"default": "
|
8229
|
-
"description": "
|
8227
|
+
"name": "safe-area-inset-top",
|
8228
|
+
"default": "`false`",
|
8229
|
+
"description": "Whether to enable top safe area adaptation",
|
8230
8230
|
"options": [],
|
8231
8231
|
"value": {
|
8232
|
-
"type": "
|
8232
|
+
"type": "boolean",
|
8233
8233
|
"kind": "expression"
|
8234
8234
|
}
|
8235
8235
|
},
|
8236
8236
|
{
|
8237
|
-
"name": "
|
8237
|
+
"name": "safe-area-inset-bottom",
|
8238
8238
|
"default": "`false`",
|
8239
|
-
"description": "Whether to
|
8239
|
+
"description": "Whether to enable bottom safe area adaptation",
|
8240
8240
|
"options": [],
|
8241
8241
|
"value": {
|
8242
8242
|
"type": "boolean",
|
@@ -8836,14 +8836,155 @@
|
|
8836
8836
|
"description": "Whether to be readonly",
|
8837
8837
|
"options": [],
|
8838
8838
|
"value": {
|
8839
|
-
"type": "boolean",
|
8839
|
+
"type": "boolean",
|
8840
|
+
"kind": "expression"
|
8841
|
+
}
|
8842
|
+
},
|
8843
|
+
{
|
8844
|
+
"name": "error",
|
8845
|
+
"default": "`false`",
|
8846
|
+
"description": "Whether to mark the input content in red",
|
8847
|
+
"options": [],
|
8848
|
+
"value": {
|
8849
|
+
"type": "boolean",
|
8850
|
+
"kind": "expression"
|
8851
|
+
}
|
8852
|
+
},
|
8853
|
+
{
|
8854
|
+
"name": "error-message",
|
8855
|
+
"default": "-",
|
8856
|
+
"description": "Error message",
|
8857
|
+
"options": [],
|
8858
|
+
"value": {
|
8859
|
+
"type": "string",
|
8860
|
+
"kind": "expression"
|
8861
|
+
}
|
8862
|
+
},
|
8863
|
+
{
|
8864
|
+
"name": "formatter",
|
8865
|
+
"default": "-",
|
8866
|
+
"description": "Input value formatter",
|
8867
|
+
"options": [],
|
8868
|
+
"value": {
|
8869
|
+
"type": "(val: string) => string",
|
8870
|
+
"kind": "expression"
|
8871
|
+
}
|
8872
|
+
},
|
8873
|
+
{
|
8874
|
+
"name": "format-trigger",
|
8875
|
+
"default": "`onChange`",
|
8876
|
+
"description": "When to format value, can be set to `onBlur`",
|
8877
|
+
"options": [],
|
8878
|
+
"value": {
|
8879
|
+
"type": "string",
|
8880
|
+
"kind": "expression"
|
8881
|
+
}
|
8882
|
+
},
|
8883
|
+
{
|
8884
|
+
"name": "input-align",
|
8885
|
+
"default": "`left`",
|
8886
|
+
"description": "Text align of field, can be set to `center` `right`",
|
8887
|
+
"options": [],
|
8888
|
+
"value": {
|
8889
|
+
"type": "string",
|
8890
|
+
"kind": "expression"
|
8891
|
+
}
|
8892
|
+
},
|
8893
|
+
{
|
8894
|
+
"name": "left-icon",
|
8895
|
+
"default": "`search`",
|
8896
|
+
"description": "Left icon name",
|
8897
|
+
"options": [],
|
8898
|
+
"value": {
|
8899
|
+
"type": "string",
|
8900
|
+
"kind": "expression"
|
8901
|
+
}
|
8902
|
+
},
|
8903
|
+
{
|
8904
|
+
"name": "right-icon",
|
8905
|
+
"default": "-",
|
8906
|
+
"description": "Right icon name",
|
8907
|
+
"options": [],
|
8908
|
+
"value": {
|
8909
|
+
"type": "string",
|
8910
|
+
"kind": "expression"
|
8911
|
+
}
|
8912
|
+
},
|
8913
|
+
{
|
8914
|
+
"name": "autocomplete",
|
8915
|
+
"default": "-",
|
8916
|
+
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
|
8917
|
+
"options": [],
|
8918
|
+
"value": {
|
8919
|
+
"type": "string",
|
8920
|
+
"kind": "expression"
|
8921
|
+
}
|
8922
|
+
}
|
8923
|
+
]
|
8924
|
+
},
|
8925
|
+
{
|
8926
|
+
"name": "van-sidebar",
|
8927
|
+
"slots": [],
|
8928
|
+
"events": [
|
8929
|
+
{
|
8930
|
+
"name": "change",
|
8931
|
+
"description": "Emitted when chosen item changed",
|
8932
|
+
"arguments": [
|
8933
|
+
{
|
8934
|
+
"name": "index",
|
8935
|
+
"type": "number"
|
8936
|
+
}
|
8937
|
+
]
|
8938
|
+
}
|
8939
|
+
],
|
8940
|
+
"attributes": [
|
8941
|
+
{
|
8942
|
+
"name": "v-model",
|
8943
|
+
"default": "`0`",
|
8944
|
+
"description": "Index of chosen item",
|
8945
|
+
"options": [],
|
8946
|
+
"value": {
|
8947
|
+
"type": "number | string",
|
8948
|
+
"kind": "expression"
|
8949
|
+
}
|
8950
|
+
}
|
8951
|
+
]
|
8952
|
+
},
|
8953
|
+
{
|
8954
|
+
"name": "van-sidebar-item",
|
8955
|
+
"slots": [
|
8956
|
+
{
|
8957
|
+
"name": "title",
|
8958
|
+
"description": "Custom item title"
|
8959
|
+
}
|
8960
|
+
],
|
8961
|
+
"events": [
|
8962
|
+
{
|
8963
|
+
"name": "click",
|
8964
|
+
"description": "Emitted when an item is clicked",
|
8965
|
+
"arguments": [
|
8966
|
+
{
|
8967
|
+
"name": "index",
|
8968
|
+
"type": "number"
|
8969
|
+
}
|
8970
|
+
]
|
8971
|
+
}
|
8972
|
+
],
|
8973
|
+
"attributes": [
|
8974
|
+
{
|
8975
|
+
"name": "title",
|
8976
|
+
"default": "`''`",
|
8977
|
+
"description": "Content",
|
8978
|
+
"options": [],
|
8979
|
+
"value": {
|
8980
|
+
"type": "string",
|
8840
8981
|
"kind": "expression"
|
8841
8982
|
}
|
8842
8983
|
},
|
8843
8984
|
{
|
8844
|
-
"name": "
|
8985
|
+
"name": "dot",
|
8845
8986
|
"default": "`false`",
|
8846
|
-
"description": "Whether to
|
8987
|
+
"description": "Whether to show red dot",
|
8847
8988
|
"options": [],
|
8848
8989
|
"value": {
|
8849
8990
|
"type": "boolean",
|
@@ -8851,49 +8992,39 @@
|
|
8851
8992
|
}
|
8852
8993
|
},
|
8853
8994
|
{
|
8854
|
-
"name": "
|
8855
|
-
"default": "
|
8856
|
-
"description": "
|
8995
|
+
"name": "badge",
|
8996
|
+
"default": "`''`",
|
8997
|
+
"description": "Content of the badge",
|
8857
8998
|
"options": [],
|
8858
8999
|
"value": {
|
8859
|
-
"type": "string",
|
9000
|
+
"type": "number | string",
|
8860
9001
|
"kind": "expression"
|
8861
9002
|
}
|
8862
9003
|
},
|
8863
9004
|
{
|
8864
|
-
"name": "
|
9005
|
+
"name": "badge-props",
|
8865
9006
|
"default": "-",
|
8866
|
-
"description": "
|
8867
|
-
"options": [],
|
8868
|
-
"value": {
|
8869
|
-
"type": "(val: string) => string",
|
8870
|
-
"kind": "expression"
|
8871
|
-
}
|
8872
|
-
},
|
8873
|
-
{
|
8874
|
-
"name": "format-trigger",
|
8875
|
-
"default": "`onChange`",
|
8876
|
-
"description": "When to format value, can be set to `onBlur`",
|
9007
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
8877
9008
|
"options": [],
|
8878
9009
|
"value": {
|
8879
|
-
"type": "
|
9010
|
+
"type": "BadgeProps",
|
8880
9011
|
"kind": "expression"
|
8881
9012
|
}
|
8882
9013
|
},
|
8883
9014
|
{
|
8884
|
-
"name": "
|
8885
|
-
"default": "`
|
8886
|
-
"description": "
|
9015
|
+
"name": "disabled",
|
9016
|
+
"default": "`false`",
|
9017
|
+
"description": "Whether to be disabled",
|
8887
9018
|
"options": [],
|
8888
9019
|
"value": {
|
8889
|
-
"type": "
|
9020
|
+
"type": "boolean",
|
8890
9021
|
"kind": "expression"
|
8891
9022
|
}
|
8892
9023
|
},
|
8893
9024
|
{
|
8894
|
-
"name": "
|
8895
|
-
"default": "
|
8896
|
-
"description": "
|
9025
|
+
"name": "url",
|
9026
|
+
"default": "-",
|
9027
|
+
"description": "Link",
|
8897
9028
|
"options": [],
|
8898
9029
|
"value": {
|
8899
9030
|
"type": "string",
|
@@ -8901,22 +9032,22 @@
|
|
8901
9032
|
}
|
8902
9033
|
},
|
8903
9034
|
{
|
8904
|
-
"name": "
|
9035
|
+
"name": "to",
|
8905
9036
|
"default": "-",
|
8906
|
-
"description": "
|
9037
|
+
"description": "Target route of the link, same as to of vue-router",
|
8907
9038
|
"options": [],
|
8908
9039
|
"value": {
|
8909
|
-
"type": "string",
|
9040
|
+
"type": "string | object",
|
8910
9041
|
"kind": "expression"
|
8911
9042
|
}
|
8912
9043
|
},
|
8913
9044
|
{
|
8914
|
-
"name": "
|
8915
|
-
"default": "
|
8916
|
-
"description": "
|
9045
|
+
"name": "replace",
|
9046
|
+
"default": "`false`",
|
9047
|
+
"description": "If true, the navigation will not leave a history record",
|
8917
9048
|
"options": [],
|
8918
9049
|
"value": {
|
8919
|
-
"type": "
|
9050
|
+
"type": "boolean",
|
8920
9051
|
"kind": "expression"
|
8921
9052
|
}
|
8922
9053
|
}
|
@@ -9162,137 +9293,6 @@
|
|
9162
9293
|
}
|
9163
9294
|
]
|
9164
9295
|
},
|
9165
|
-
{
|
9166
|
-
"name": "van-sidebar",
|
9167
|
-
"slots": [],
|
9168
|
-
"events": [
|
9169
|
-
{
|
9170
|
-
"name": "change",
|
9171
|
-
"description": "Emitted when chosen item changed",
|
9172
|
-
"arguments": [
|
9173
|
-
{
|
9174
|
-
"name": "index",
|
9175
|
-
"type": "number"
|
9176
|
-
}
|
9177
|
-
]
|
9178
|
-
}
|
9179
|
-
],
|
9180
|
-
"attributes": [
|
9181
|
-
{
|
9182
|
-
"name": "v-model",
|
9183
|
-
"default": "`0`",
|
9184
|
-
"description": "Index of chosen item",
|
9185
|
-
"options": [],
|
9186
|
-
"value": {
|
9187
|
-
"type": "number | string",
|
9188
|
-
"kind": "expression"
|
9189
|
-
}
|
9190
|
-
}
|
9191
|
-
]
|
9192
|
-
},
|
9193
|
-
{
|
9194
|
-
"name": "van-sidebar-item",
|
9195
|
-
"slots": [
|
9196
|
-
{
|
9197
|
-
"name": "title",
|
9198
|
-
"description": "Custom item title"
|
9199
|
-
}
|
9200
|
-
],
|
9201
|
-
"events": [
|
9202
|
-
{
|
9203
|
-
"name": "click",
|
9204
|
-
"description": "Emitted when an item is clicked",
|
9205
|
-
"arguments": [
|
9206
|
-
{
|
9207
|
-
"name": "index",
|
9208
|
-
"type": "number"
|
9209
|
-
}
|
9210
|
-
]
|
9211
|
-
}
|
9212
|
-
],
|
9213
|
-
"attributes": [
|
9214
|
-
{
|
9215
|
-
"name": "title",
|
9216
|
-
"default": "`''`",
|
9217
|
-
"description": "Content",
|
9218
|
-
"options": [],
|
9219
|
-
"value": {
|
9220
|
-
"type": "string",
|
9221
|
-
"kind": "expression"
|
9222
|
-
}
|
9223
|
-
},
|
9224
|
-
{
|
9225
|
-
"name": "dot",
|
9226
|
-
"default": "`false`",
|
9227
|
-
"description": "Whether to show red dot",
|
9228
|
-
"options": [],
|
9229
|
-
"value": {
|
9230
|
-
"type": "boolean",
|
9231
|
-
"kind": "expression"
|
9232
|
-
}
|
9233
|
-
},
|
9234
|
-
{
|
9235
|
-
"name": "badge",
|
9236
|
-
"default": "`''`",
|
9237
|
-
"description": "Content of the badge",
|
9238
|
-
"options": [],
|
9239
|
-
"value": {
|
9240
|
-
"type": "number | string",
|
9241
|
-
"kind": "expression"
|
9242
|
-
}
|
9243
|
-
},
|
9244
|
-
{
|
9245
|
-
"name": "badge-props",
|
9246
|
-
"default": "-",
|
9247
|
-
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
9248
|
-
"options": [],
|
9249
|
-
"value": {
|
9250
|
-
"type": "BadgeProps",
|
9251
|
-
"kind": "expression"
|
9252
|
-
}
|
9253
|
-
},
|
9254
|
-
{
|
9255
|
-
"name": "disabled",
|
9256
|
-
"default": "`false`",
|
9257
|
-
"description": "Whether to be disabled",
|
9258
|
-
"options": [],
|
9259
|
-
"value": {
|
9260
|
-
"type": "boolean",
|
9261
|
-
"kind": "expression"
|
9262
|
-
}
|
9263
|
-
},
|
9264
|
-
{
|
9265
|
-
"name": "url",
|
9266
|
-
"default": "-",
|
9267
|
-
"description": "Link",
|
9268
|
-
"options": [],
|
9269
|
-
"value": {
|
9270
|
-
"type": "string",
|
9271
|
-
"kind": "expression"
|
9272
|
-
}
|
9273
|
-
},
|
9274
|
-
{
|
9275
|
-
"name": "to",
|
9276
|
-
"default": "-",
|
9277
|
-
"description": "Target route of the link, same as to of vue-router",
|
9278
|
-
"options": [],
|
9279
|
-
"value": {
|
9280
|
-
"type": "string | object",
|
9281
|
-
"kind": "expression"
|
9282
|
-
}
|
9283
|
-
},
|
9284
|
-
{
|
9285
|
-
"name": "replace",
|
9286
|
-
"default": "`false`",
|
9287
|
-
"description": "If true, the navigation will not leave a history record",
|
9288
|
-
"options": [],
|
9289
|
-
"value": {
|
9290
|
-
"type": "boolean",
|
9291
|
-
"kind": "expression"
|
9292
|
-
}
|
9293
|
-
}
|
9294
|
-
]
|
9295
|
-
},
|
9296
9296
|
{
|
9297
9297
|
"name": "van-skeleton",
|
9298
9298
|
"slots": [],
|
@@ -9389,74 +9389,12 @@
|
|
9389
9389
|
}
|
9390
9390
|
},
|
9391
9391
|
{
|
9392
|
-
"name": "avatar-shape",
|
9393
|
-
"default": "`round`",
|
9394
|
-
"description": "Shape of avatar placeholder, can be set to `square`",
|
9395
|
-
"options": [],
|
9396
|
-
"value": {
|
9397
|
-
"type": "string",
|
9398
|
-
"kind": "expression"
|
9399
|
-
}
|
9400
|
-
}
|
9401
|
-
]
|
9402
|
-
},
|
9403
|
-
{
|
9404
|
-
"name": "van-space",
|
9405
|
-
"slots": [
|
9406
|
-
{
|
9407
|
-
"name": "default",
|
9408
|
-
"description": "Default slot"
|
9409
|
-
}
|
9410
|
-
],
|
9411
|
-
"events": [],
|
9412
|
-
"attributes": [
|
9413
|
-
{
|
9414
|
-
"name": "direction",
|
9415
|
-
"default": "`horizontal`",
|
9416
|
-
"description": "Spacing direction",
|
9417
|
-
"options": [],
|
9418
|
-
"value": {
|
9419
|
-
"type": "vertical | horizontal",
|
9420
|
-
"kind": "expression"
|
9421
|
-
}
|
9422
|
-
},
|
9423
|
-
{
|
9424
|
-
"name": "size",
|
9425
|
-
"default": "`8px`",
|
9426
|
-
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9427
|
-
"options": [],
|
9428
|
-
"value": {
|
9429
|
-
"type": "number | string | number[] | string[]",
|
9430
|
-
"kind": "expression"
|
9431
|
-
}
|
9432
|
-
},
|
9433
|
-
{
|
9434
|
-
"name": "align",
|
9435
|
-
"default": "-",
|
9436
|
-
"description": "Spacing alignment",
|
9437
|
-
"options": [],
|
9438
|
-
"value": {
|
9439
|
-
"type": "start | end | center | baseline",
|
9440
|
-
"kind": "expression"
|
9441
|
-
}
|
9442
|
-
},
|
9443
|
-
{
|
9444
|
-
"name": "wrap",
|
9445
|
-
"default": "`false`",
|
9446
|
-
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9447
|
-
"options": [],
|
9448
|
-
"value": {
|
9449
|
-
"type": "boolean",
|
9450
|
-
"kind": "expression"
|
9451
|
-
}
|
9452
|
-
},
|
9453
|
-
{
|
9454
|
-
"name": "fill",
|
9455
|
-
"default": "`false`",
|
9456
|
-
"description": "Whether to render Space as a block element and fill the parent element",
|
9392
|
+
"name": "avatar-shape",
|
9393
|
+
"default": "`round`",
|
9394
|
+
"description": "Shape of avatar placeholder, can be set to `square`",
|
9457
9395
|
"options": [],
|
9458
9396
|
"value": {
|
9459
|
-
"type": "
|
9397
|
+
"type": "string",
|
9460
9398
|
"kind": "expression"
|
9461
9399
|
}
|
9462
9400
|
}
|
@@ -9652,6 +9590,68 @@
|
|
9652
9590
|
}
|
9653
9591
|
]
|
9654
9592
|
},
|
9593
|
+
{
|
9594
|
+
"name": "van-space",
|
9595
|
+
"slots": [
|
9596
|
+
{
|
9597
|
+
"name": "default",
|
9598
|
+
"description": "Default slot"
|
9599
|
+
}
|
9600
|
+
],
|
9601
|
+
"events": [],
|
9602
|
+
"attributes": [
|
9603
|
+
{
|
9604
|
+
"name": "direction",
|
9605
|
+
"default": "`horizontal`",
|
9606
|
+
"description": "Spacing direction",
|
9607
|
+
"options": [],
|
9608
|
+
"value": {
|
9609
|
+
"type": "vertical | horizontal",
|
9610
|
+
"kind": "expression"
|
9611
|
+
}
|
9612
|
+
},
|
9613
|
+
{
|
9614
|
+
"name": "size",
|
9615
|
+
"default": "`8px`",
|
9616
|
+
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9617
|
+
"options": [],
|
9618
|
+
"value": {
|
9619
|
+
"type": "number | string | number[] | string[]",
|
9620
|
+
"kind": "expression"
|
9621
|
+
}
|
9622
|
+
},
|
9623
|
+
{
|
9624
|
+
"name": "align",
|
9625
|
+
"default": "-",
|
9626
|
+
"description": "Spacing alignment",
|
9627
|
+
"options": [],
|
9628
|
+
"value": {
|
9629
|
+
"type": "start | end | center | baseline",
|
9630
|
+
"kind": "expression"
|
9631
|
+
}
|
9632
|
+
},
|
9633
|
+
{
|
9634
|
+
"name": "wrap",
|
9635
|
+
"default": "`false`",
|
9636
|
+
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9637
|
+
"options": [],
|
9638
|
+
"value": {
|
9639
|
+
"type": "boolean",
|
9640
|
+
"kind": "expression"
|
9641
|
+
}
|
9642
|
+
},
|
9643
|
+
{
|
9644
|
+
"name": "fill",
|
9645
|
+
"default": "`false`",
|
9646
|
+
"description": "Whether to render Space as a block element and fill the parent element",
|
9647
|
+
"options": [],
|
9648
|
+
"value": {
|
9649
|
+
"type": "boolean",
|
9650
|
+
"kind": "expression"
|
9651
|
+
}
|
9652
|
+
}
|
9653
|
+
]
|
9654
|
+
},
|
9655
9655
|
{
|
9656
9656
|
"name": "van-stepper",
|
9657
9657
|
"slots": [],
|
@@ -11312,99 +11312,6 @@
|
|
11312
11312
|
}
|
11313
11313
|
]
|
11314
11314
|
},
|
11315
|
-
{
|
11316
|
-
"name": "van-tree-select",
|
11317
|
-
"slots": [
|
11318
|
-
{
|
11319
|
-
"name": "content",
|
11320
|
-
"description": "Custom right content"
|
11321
|
-
}
|
11322
|
-
],
|
11323
|
-
"events": [
|
11324
|
-
{
|
11325
|
-
"name": "click-nav",
|
11326
|
-
"description": "Emitted when parent node is selected",
|
11327
|
-
"arguments": [
|
11328
|
-
{
|
11329
|
-
"name": "index",
|
11330
|
-
"type": "number"
|
11331
|
-
}
|
11332
|
-
]
|
11333
|
-
},
|
11334
|
-
{
|
11335
|
-
"name": "click-item",
|
11336
|
-
"description": "Emitted when item is selected",
|
11337
|
-
"arguments": [
|
11338
|
-
{
|
11339
|
-
"name": "item",
|
11340
|
-
"type": "TreeSelectChild"
|
11341
|
-
}
|
11342
|
-
]
|
11343
|
-
}
|
11344
|
-
],
|
11345
|
-
"attributes": [
|
11346
|
-
{
|
11347
|
-
"name": "items",
|
11348
|
-
"default": "`[]`",
|
11349
|
-
"description": "Required datasets for the component",
|
11350
|
-
"options": [],
|
11351
|
-
"value": {
|
11352
|
-
"type": "TreeSelectItem[]",
|
11353
|
-
"kind": "expression"
|
11354
|
-
}
|
11355
|
-
},
|
11356
|
-
{
|
11357
|
-
"name": "height",
|
11358
|
-
"default": "`300`",
|
11359
|
-
"description": "Height",
|
11360
|
-
"options": [],
|
11361
|
-
"value": {
|
11362
|
-
"type": "number | string",
|
11363
|
-
"kind": "expression"
|
11364
|
-
}
|
11365
|
-
},
|
11366
|
-
{
|
11367
|
-
"name": "main-active-index",
|
11368
|
-
"default": "`0`",
|
11369
|
-
"description": "The index of selected parent node",
|
11370
|
-
"options": [],
|
11371
|
-
"value": {
|
11372
|
-
"type": "number | string",
|
11373
|
-
"kind": "expression"
|
11374
|
-
}
|
11375
|
-
},
|
11376
|
-
{
|
11377
|
-
"name": "active-id",
|
11378
|
-
"default": "`0`",
|
11379
|
-
"description": "Id of selected item",
|
11380
|
-
"options": [],
|
11381
|
-
"value": {
|
11382
|
-
"type": "number | string |<br>(number | string)[]",
|
11383
|
-
"kind": "expression"
|
11384
|
-
}
|
11385
|
-
},
|
11386
|
-
{
|
11387
|
-
"name": "max",
|
11388
|
-
"default": "`Infinity`",
|
11389
|
-
"description": "Maximum number of selected items",
|
11390
|
-
"options": [],
|
11391
|
-
"value": {
|
11392
|
-
"type": "number | string",
|
11393
|
-
"kind": "expression"
|
11394
|
-
}
|
11395
|
-
},
|
11396
|
-
{
|
11397
|
-
"name": "selected-icon",
|
11398
|
-
"default": "`success`",
|
11399
|
-
"description": "Selected icon",
|
11400
|
-
"options": [],
|
11401
|
-
"value": {
|
11402
|
-
"type": "string",
|
11403
|
-
"kind": "expression"
|
11404
|
-
}
|
11405
|
-
}
|
11406
|
-
]
|
11407
|
-
},
|
11408
11315
|
{
|
11409
11316
|
"name": "van-tag",
|
11410
11317
|
"slots": [
|
@@ -11528,6 +11435,99 @@
|
|
11528
11435
|
}
|
11529
11436
|
]
|
11530
11437
|
},
|
11438
|
+
{
|
11439
|
+
"name": "van-tree-select",
|
11440
|
+
"slots": [
|
11441
|
+
{
|
11442
|
+
"name": "content",
|
11443
|
+
"description": "Custom right content"
|
11444
|
+
}
|
11445
|
+
],
|
11446
|
+
"events": [
|
11447
|
+
{
|
11448
|
+
"name": "click-nav",
|
11449
|
+
"description": "Emitted when parent node is selected",
|
11450
|
+
"arguments": [
|
11451
|
+
{
|
11452
|
+
"name": "index",
|
11453
|
+
"type": "number"
|
11454
|
+
}
|
11455
|
+
]
|
11456
|
+
},
|
11457
|
+
{
|
11458
|
+
"name": "click-item",
|
11459
|
+
"description": "Emitted when item is selected",
|
11460
|
+
"arguments": [
|
11461
|
+
{
|
11462
|
+
"name": "item",
|
11463
|
+
"type": "TreeSelectChild"
|
11464
|
+
}
|
11465
|
+
]
|
11466
|
+
}
|
11467
|
+
],
|
11468
|
+
"attributes": [
|
11469
|
+
{
|
11470
|
+
"name": "items",
|
11471
|
+
"default": "`[]`",
|
11472
|
+
"description": "Required datasets for the component",
|
11473
|
+
"options": [],
|
11474
|
+
"value": {
|
11475
|
+
"type": "TreeSelectItem[]",
|
11476
|
+
"kind": "expression"
|
11477
|
+
}
|
11478
|
+
},
|
11479
|
+
{
|
11480
|
+
"name": "height",
|
11481
|
+
"default": "`300`",
|
11482
|
+
"description": "Height",
|
11483
|
+
"options": [],
|
11484
|
+
"value": {
|
11485
|
+
"type": "number | string",
|
11486
|
+
"kind": "expression"
|
11487
|
+
}
|
11488
|
+
},
|
11489
|
+
{
|
11490
|
+
"name": "main-active-index",
|
11491
|
+
"default": "`0`",
|
11492
|
+
"description": "The index of selected parent node",
|
11493
|
+
"options": [],
|
11494
|
+
"value": {
|
11495
|
+
"type": "number | string",
|
11496
|
+
"kind": "expression"
|
11497
|
+
}
|
11498
|
+
},
|
11499
|
+
{
|
11500
|
+
"name": "active-id",
|
11501
|
+
"default": "`0`",
|
11502
|
+
"description": "Id of selected item",
|
11503
|
+
"options": [],
|
11504
|
+
"value": {
|
11505
|
+
"type": "number | string |<br>(number | string)[]",
|
11506
|
+
"kind": "expression"
|
11507
|
+
}
|
11508
|
+
},
|
11509
|
+
{
|
11510
|
+
"name": "max",
|
11511
|
+
"default": "`Infinity`",
|
11512
|
+
"description": "Maximum number of selected items",
|
11513
|
+
"options": [],
|
11514
|
+
"value": {
|
11515
|
+
"type": "number | string",
|
11516
|
+
"kind": "expression"
|
11517
|
+
}
|
11518
|
+
},
|
11519
|
+
{
|
11520
|
+
"name": "selected-icon",
|
11521
|
+
"default": "`success`",
|
11522
|
+
"description": "Selected icon",
|
11523
|
+
"options": [],
|
11524
|
+
"value": {
|
11525
|
+
"type": "string",
|
11526
|
+
"kind": "expression"
|
11527
|
+
}
|
11528
|
+
}
|
11529
|
+
]
|
11530
|
+
},
|
11531
11531
|
{
|
11532
11532
|
"name": "van-uploader",
|
11533
11533
|
"slots": [
|