vant 3.6.2 → 3.6.3
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/README.md +4 -5
- package/changelog.generated.md +28 -25
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.less +4 -0
- package/es/dialog/types.d.ts +1 -1
- package/es/image/Image.d.ts +4 -0
- package/es/image/Image.mjs +3 -1
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +3 -0
- package/es/image/index.less +4 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/tab/Tab.mjs +12 -2
- package/es/tabs/Tabs.mjs +11 -11
- package/es/utils/basic.mjs +2 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.less +4 -0
- package/lib/dialog/types.d.ts +1 -1
- package/lib/image/Image.d.ts +4 -0
- package/lib/image/Image.js +3 -1
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +3 -0
- package/lib/image/index.less +4 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/tab/Tab.js +11 -1
- package/lib/tabs/Tabs.js +11 -11
- package/lib/utils/basic.js +2 -1
- package/lib/vant.cjs.js +38 -26
- package/lib/vant.es.js +38 -26
- package/lib/vant.js +38 -26
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1124 -1114
- package/package.json +2 -1
package/lib/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.6.
|
5
|
+
"version": "3.6.3",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -262,115 +262,101 @@
|
|
262
262
|
]
|
263
263
|
},
|
264
264
|
{
|
265
|
-
"name": "van-
|
265
|
+
"name": "van-action-sheet",
|
266
266
|
"slots": [
|
267
267
|
{
|
268
268
|
"name": "default",
|
269
|
-
"description": "Custom content
|
269
|
+
"description": "Custom content"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"name": "description",
|
273
|
+
"description": "Custom description above the options"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"name": "cancel",
|
277
|
+
"description": "Custom the content of cancel button"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"name": "action",
|
281
|
+
"description": "Custom the content of action"
|
270
282
|
}
|
271
283
|
],
|
272
284
|
"events": [
|
273
285
|
{
|
274
|
-
"name": "
|
275
|
-
"description": "Emitted when
|
286
|
+
"name": "select",
|
287
|
+
"description": "Emitted when an option is clicked",
|
276
288
|
"arguments": [
|
277
289
|
{
|
278
|
-
"name": "
|
279
|
-
"type": "
|
280
|
-
}
|
281
|
-
]
|
282
|
-
},
|
283
|
-
{
|
284
|
-
"name": "focus",
|
285
|
-
"description": "Emitted when field is focused",
|
286
|
-
"arguments": [
|
290
|
+
"name": "action",
|
291
|
+
"type": "ActionSheetAction"
|
292
|
+
},
|
287
293
|
{
|
288
|
-
"name": "
|
289
|
-
"type": "
|
294
|
+
"name": "index",
|
295
|
+
"type": "number"
|
290
296
|
}
|
291
297
|
]
|
292
298
|
},
|
293
299
|
{
|
294
|
-
"name": "
|
295
|
-
"description": "Emitted when
|
296
|
-
"arguments": [
|
297
|
-
{
|
298
|
-
"name": "content",
|
299
|
-
"type": "form content"
|
300
|
-
}
|
301
|
-
]
|
300
|
+
"name": "cancel",
|
301
|
+
"description": "Emitted when the cancel button is clicked",
|
302
|
+
"arguments": []
|
302
303
|
},
|
303
304
|
{
|
304
|
-
"name": "
|
305
|
-
"description": "Emitted when
|
306
|
-
"arguments": [
|
307
|
-
{
|
308
|
-
"name": "value",
|
309
|
-
"type": "search content"
|
310
|
-
}
|
311
|
-
]
|
305
|
+
"name": "open",
|
306
|
+
"description": "Emitted when opening ActionSheet",
|
307
|
+
"arguments": []
|
312
308
|
},
|
313
309
|
{
|
314
|
-
"name": "
|
315
|
-
"description": "Emitted when
|
310
|
+
"name": "close",
|
311
|
+
"description": "Emitted when closing ActionSheet",
|
316
312
|
"arguments": []
|
317
313
|
},
|
318
314
|
{
|
319
|
-
"name": "
|
320
|
-
"description": "Emitted when
|
321
|
-
"arguments": [
|
322
|
-
{
|
323
|
-
"name": "values",
|
324
|
-
"type": "area values"
|
325
|
-
}
|
326
|
-
]
|
315
|
+
"name": "opened",
|
316
|
+
"description": "Emitted when ActionSheet is opened",
|
317
|
+
"arguments": []
|
327
318
|
},
|
328
319
|
{
|
329
|
-
"name": "
|
330
|
-
"description": "Emitted when
|
331
|
-
"arguments": [
|
332
|
-
{
|
333
|
-
"name": "value",
|
334
|
-
"type": "address detail"
|
335
|
-
}
|
336
|
-
]
|
320
|
+
"name": "closed",
|
321
|
+
"description": "Emitted when ActionSheet is closed",
|
322
|
+
"arguments": []
|
337
323
|
},
|
338
324
|
{
|
339
|
-
"name": "
|
340
|
-
"description": "Emitted when
|
325
|
+
"name": "click-overlay",
|
326
|
+
"description": "Emitted when overlay is clicked",
|
341
327
|
"arguments": [
|
342
328
|
{
|
343
|
-
"name": "
|
344
|
-
"type": "
|
329
|
+
"name": "event",
|
330
|
+
"type": "MouseEvent"
|
345
331
|
}
|
346
332
|
]
|
347
333
|
}
|
348
334
|
],
|
349
335
|
"attributes": [
|
350
336
|
{
|
351
|
-
"name": "
|
352
|
-
"default": "
|
353
|
-
"description": "
|
337
|
+
"name": "v-model:show",
|
338
|
+
"default": "`false`",
|
339
|
+
"description": "Whether to show ActionSheet",
|
354
340
|
"options": [],
|
355
341
|
"value": {
|
356
|
-
"type": "
|
342
|
+
"type": "boolean",
|
357
343
|
"kind": "expression"
|
358
344
|
}
|
359
345
|
},
|
360
346
|
{
|
361
|
-
"name": "
|
347
|
+
"name": "actions",
|
362
348
|
"default": "`[]`",
|
363
|
-
"description": "
|
349
|
+
"description": "Options",
|
364
350
|
"options": [],
|
365
351
|
"value": {
|
366
|
-
"type": "
|
352
|
+
"type": "ActionSheetAction[]",
|
367
353
|
"kind": "expression"
|
368
354
|
}
|
369
355
|
},
|
370
356
|
{
|
371
|
-
"name": "
|
372
|
-
"default": "
|
373
|
-
"description": "
|
357
|
+
"name": "title",
|
358
|
+
"default": "-",
|
359
|
+
"description": "Title",
|
374
360
|
"options": [],
|
375
361
|
"value": {
|
376
362
|
"type": "string",
|
@@ -378,39 +364,29 @@
|
|
378
364
|
}
|
379
365
|
},
|
380
366
|
{
|
381
|
-
"name": "
|
382
|
-
"default": "
|
383
|
-
"description": "
|
384
|
-
"options": [],
|
385
|
-
"value": {
|
386
|
-
"type": "AddressEditInfo",
|
387
|
-
"kind": "expression"
|
388
|
-
}
|
389
|
-
},
|
390
|
-
{
|
391
|
-
"name": "search-result",
|
392
|
-
"default": "`[]`",
|
393
|
-
"description": "Address search result",
|
367
|
+
"name": "cancel-text",
|
368
|
+
"default": "-",
|
369
|
+
"description": "Text of cancel button",
|
394
370
|
"options": [],
|
395
371
|
"value": {
|
396
|
-
"type": "
|
372
|
+
"type": "string",
|
397
373
|
"kind": "expression"
|
398
374
|
}
|
399
375
|
},
|
400
376
|
{
|
401
|
-
"name": "
|
402
|
-
"default": "
|
403
|
-
"description": "
|
377
|
+
"name": "description",
|
378
|
+
"default": "-",
|
379
|
+
"description": "Description above the options",
|
404
380
|
"options": [],
|
405
381
|
"value": {
|
406
|
-
"type": "
|
382
|
+
"type": "string",
|
407
383
|
"kind": "expression"
|
408
384
|
}
|
409
385
|
},
|
410
386
|
{
|
411
|
-
"name": "
|
412
|
-
"default": "`
|
413
|
-
"description": "Whether to show
|
387
|
+
"name": "closeable",
|
388
|
+
"default": "`true`",
|
389
|
+
"description": "Whether to show close icon",
|
414
390
|
"options": [],
|
415
391
|
"value": {
|
416
392
|
"type": "boolean",
|
@@ -418,29 +394,29 @@
|
|
418
394
|
}
|
419
395
|
},
|
420
396
|
{
|
421
|
-
"name": "
|
422
|
-
"default": "`
|
423
|
-
"description": "
|
397
|
+
"name": "close-icon",
|
398
|
+
"default": "`cross`",
|
399
|
+
"description": "Close icon name",
|
424
400
|
"options": [],
|
425
401
|
"value": {
|
426
|
-
"type": "
|
402
|
+
"type": "string",
|
427
403
|
"kind": "expression"
|
428
404
|
}
|
429
405
|
},
|
430
406
|
{
|
431
|
-
"name": "
|
432
|
-
"default": "`
|
433
|
-
"description": "
|
407
|
+
"name": "duration",
|
408
|
+
"default": "`0.3`",
|
409
|
+
"description": "Transition duration, unit second",
|
434
410
|
"options": [],
|
435
411
|
"value": {
|
436
|
-
"type": "
|
412
|
+
"type": "number | string",
|
437
413
|
"kind": "expression"
|
438
414
|
}
|
439
415
|
},
|
440
416
|
{
|
441
|
-
"name": "
|
417
|
+
"name": "round",
|
442
418
|
"default": "`true`",
|
443
|
-
"description": "Whether to show
|
419
|
+
"description": "Whether to show round corner",
|
444
420
|
"options": [],
|
445
421
|
"value": {
|
446
422
|
"type": "boolean",
|
@@ -448,19 +424,9 @@
|
|
448
424
|
}
|
449
425
|
},
|
450
426
|
{
|
451
|
-
"name": "
|
427
|
+
"name": "overlay",
|
452
428
|
"default": "`true`",
|
453
|
-
"description": "Whether to show
|
454
|
-
"options": [],
|
455
|
-
"value": {
|
456
|
-
"type": "boolean",
|
457
|
-
"kind": "expression"
|
458
|
-
}
|
459
|
-
},
|
460
|
-
{
|
461
|
-
"name": "disable-area",
|
462
|
-
"default": "`false`",
|
463
|
-
"description": "Whether to disable area select",
|
429
|
+
"description": "Whether to show overlay",
|
464
430
|
"options": [],
|
465
431
|
"value": {
|
466
432
|
"type": "boolean",
|
@@ -468,49 +434,49 @@
|
|
468
434
|
}
|
469
435
|
},
|
470
436
|
{
|
471
|
-
"name": "
|
472
|
-
"default": "
|
473
|
-
"description": "
|
437
|
+
"name": "overlay-class",
|
438
|
+
"default": "-",
|
439
|
+
"description": "Custom overlay class",
|
474
440
|
"options": [],
|
475
441
|
"value": {
|
476
|
-
"type": "string",
|
442
|
+
"type": "string | Array | object",
|
477
443
|
"kind": "expression"
|
478
444
|
}
|
479
445
|
},
|
480
446
|
{
|
481
|
-
"name": "
|
482
|
-
"default": "
|
483
|
-
"description": "
|
447
|
+
"name": "overlay-style",
|
448
|
+
"default": "-",
|
449
|
+
"description": "Custom overlay style",
|
484
450
|
"options": [],
|
485
451
|
"value": {
|
486
|
-
"type": "
|
452
|
+
"type": "object",
|
487
453
|
"kind": "expression"
|
488
454
|
}
|
489
455
|
},
|
490
456
|
{
|
491
|
-
"name": "
|
492
|
-
"default": "`
|
493
|
-
"description": "
|
457
|
+
"name": "lock-scroll",
|
458
|
+
"default": "`true`",
|
459
|
+
"description": "Whether to lock background scroll",
|
494
460
|
"options": [],
|
495
461
|
"value": {
|
496
|
-
"type": "
|
462
|
+
"type": "boolean",
|
497
463
|
"kind": "expression"
|
498
464
|
}
|
499
465
|
},
|
500
466
|
{
|
501
|
-
"name": "
|
502
|
-
"default": "`
|
503
|
-
"description": "
|
467
|
+
"name": "lazy-render",
|
468
|
+
"default": "`true`",
|
469
|
+
"description": "Whether to lazy render util appeared",
|
504
470
|
"options": [],
|
505
471
|
"value": {
|
506
|
-
"type": "
|
472
|
+
"type": "boolean",
|
507
473
|
"kind": "expression"
|
508
474
|
}
|
509
475
|
},
|
510
476
|
{
|
511
|
-
"name": "
|
512
|
-
"default": "`
|
513
|
-
"description": "Whether to
|
477
|
+
"name": "close-on-popstate",
|
478
|
+
"default": "`true`",
|
479
|
+
"description": "Whether to close when popstate",
|
514
480
|
"options": [],
|
515
481
|
"value": {
|
516
482
|
"type": "boolean",
|
@@ -518,9 +484,9 @@
|
|
518
484
|
}
|
519
485
|
},
|
520
486
|
{
|
521
|
-
"name": "
|
487
|
+
"name": "close-on-click-action",
|
522
488
|
"default": "`false`",
|
523
|
-
"description": "Whether to
|
489
|
+
"description": "Whether to close when an action is clicked",
|
524
490
|
"options": [],
|
525
491
|
"value": {
|
526
492
|
"type": "boolean",
|
@@ -528,42 +494,42 @@
|
|
528
494
|
}
|
529
495
|
},
|
530
496
|
{
|
531
|
-
"name": "
|
532
|
-
"default": "
|
533
|
-
"description": "
|
497
|
+
"name": "close-on-click-overlay",
|
498
|
+
"default": "`true`",
|
499
|
+
"description": "Whether to close when overlay is clicked",
|
534
500
|
"options": [],
|
535
501
|
"value": {
|
536
|
-
"type": "
|
502
|
+
"type": "boolean",
|
537
503
|
"kind": "expression"
|
538
504
|
}
|
539
505
|
},
|
540
506
|
{
|
541
|
-
"name": "
|
542
|
-
"default": "
|
543
|
-
"description": "
|
507
|
+
"name": "safe-area-inset-bottom",
|
508
|
+
"default": "`true`",
|
509
|
+
"description": "Whether to enable bottom safe area adaptation",
|
544
510
|
"options": [],
|
545
511
|
"value": {
|
546
|
-
"type": "
|
512
|
+
"type": "boolean",
|
547
513
|
"kind": "expression"
|
548
514
|
}
|
549
515
|
},
|
550
516
|
{
|
551
|
-
"name": "
|
517
|
+
"name": "teleport",
|
552
518
|
"default": "-",
|
553
|
-
"description": "
|
519
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
554
520
|
"options": [],
|
555
521
|
"value": {
|
556
|
-
"type": "
|
522
|
+
"type": "string | Element",
|
557
523
|
"kind": "expression"
|
558
524
|
}
|
559
525
|
},
|
560
526
|
{
|
561
|
-
"name": "
|
527
|
+
"name": "before-close",
|
562
528
|
"default": "-",
|
563
|
-
"description": "
|
529
|
+
"description": "Callback function before close",
|
564
530
|
"options": [],
|
565
531
|
"value": {
|
566
|
-
"type": "(
|
532
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
567
533
|
"kind": "expression"
|
568
534
|
}
|
569
535
|
}
|
@@ -740,97 +706,11 @@
|
|
740
706
|
]
|
741
707
|
},
|
742
708
|
{
|
743
|
-
"name": "van-
|
709
|
+
"name": "van-area",
|
744
710
|
"slots": [
|
745
711
|
{
|
746
|
-
"name": "
|
747
|
-
"description": "
|
748
|
-
},
|
749
|
-
{
|
750
|
-
"name": "content",
|
751
|
-
"description": "Custom badge content"
|
752
|
-
}
|
753
|
-
],
|
754
|
-
"events": [],
|
755
|
-
"attributes": [
|
756
|
-
{
|
757
|
-
"name": "content",
|
758
|
-
"default": "-",
|
759
|
-
"description": "Badge content",
|
760
|
-
"options": [],
|
761
|
-
"value": {
|
762
|
-
"type": "number | string",
|
763
|
-
"kind": "expression"
|
764
|
-
}
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"name": "color",
|
768
|
-
"default": "`#ee0a24`",
|
769
|
-
"description": "Background color",
|
770
|
-
"options": [],
|
771
|
-
"value": {
|
772
|
-
"type": "string",
|
773
|
-
"kind": "expression"
|
774
|
-
}
|
775
|
-
},
|
776
|
-
{
|
777
|
-
"name": "dot",
|
778
|
-
"default": "`false`",
|
779
|
-
"description": "Whether to show dot",
|
780
|
-
"options": [],
|
781
|
-
"value": {
|
782
|
-
"type": "boolean",
|
783
|
-
"kind": "expression"
|
784
|
-
}
|
785
|
-
},
|
786
|
-
{
|
787
|
-
"name": "max",
|
788
|
-
"default": "-",
|
789
|
-
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
790
|
-
"options": [],
|
791
|
-
"value": {
|
792
|
-
"type": "number | string",
|
793
|
-
"kind": "expression"
|
794
|
-
}
|
795
|
-
},
|
796
|
-
{
|
797
|
-
"name": "offset",
|
798
|
-
"default": "-",
|
799
|
-
"description": "Offset of badge dot",
|
800
|
-
"options": [],
|
801
|
-
"value": {
|
802
|
-
"type": "[number | string, number | string]",
|
803
|
-
"kind": "expression"
|
804
|
-
}
|
805
|
-
},
|
806
|
-
{
|
807
|
-
"name": "show-zero",
|
808
|
-
"default": "`true`",
|
809
|
-
"description": "Whether to show badge when content is zero",
|
810
|
-
"options": [],
|
811
|
-
"value": {
|
812
|
-
"type": "boolean",
|
813
|
-
"kind": "expression"
|
814
|
-
}
|
815
|
-
},
|
816
|
-
{
|
817
|
-
"name": "position",
|
818
|
-
"default": "`top-right`",
|
819
|
-
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
820
|
-
"options": [],
|
821
|
-
"value": {
|
822
|
-
"type": "string",
|
823
|
-
"kind": "expression"
|
824
|
-
}
|
825
|
-
}
|
826
|
-
]
|
827
|
-
},
|
828
|
-
{
|
829
|
-
"name": "van-area",
|
830
|
-
"slots": [
|
831
|
-
{
|
832
|
-
"name": "toolbar",
|
833
|
-
"description": "Custom toolbar content"
|
712
|
+
"name": "toolbar",
|
713
|
+
"description": "Custom toolbar content"
|
834
714
|
},
|
835
715
|
{
|
836
716
|
"name": "title",
|
@@ -1018,101 +898,115 @@
|
|
1018
898
|
]
|
1019
899
|
},
|
1020
900
|
{
|
1021
|
-
"name": "van-
|
901
|
+
"name": "van-address-edit",
|
1022
902
|
"slots": [
|
1023
903
|
{
|
1024
904
|
"name": "default",
|
1025
|
-
"description": "Custom content"
|
1026
|
-
},
|
1027
|
-
{
|
1028
|
-
"name": "description",
|
1029
|
-
"description": "Custom description above the options"
|
1030
|
-
},
|
1031
|
-
{
|
1032
|
-
"name": "cancel",
|
1033
|
-
"description": "Custom the content of cancel button"
|
1034
|
-
},
|
1035
|
-
{
|
1036
|
-
"name": "action",
|
1037
|
-
"description": "Custom the content of action"
|
905
|
+
"description": "Custom content below postal"
|
1038
906
|
}
|
1039
907
|
],
|
1040
908
|
"events": [
|
1041
909
|
{
|
1042
|
-
"name": "
|
1043
|
-
"description": "Emitted when
|
910
|
+
"name": "save",
|
911
|
+
"description": "Emitted when the save button is clicked",
|
1044
912
|
"arguments": [
|
1045
913
|
{
|
1046
|
-
"name": "
|
1047
|
-
"type": "
|
1048
|
-
}
|
914
|
+
"name": "content",
|
915
|
+
"type": "form content"
|
916
|
+
}
|
917
|
+
]
|
918
|
+
},
|
919
|
+
{
|
920
|
+
"name": "focus",
|
921
|
+
"description": "Emitted when field is focused",
|
922
|
+
"arguments": [
|
1049
923
|
{
|
1050
|
-
"name": "
|
1051
|
-
"type": "
|
924
|
+
"name": "key",
|
925
|
+
"type": "field name"
|
1052
926
|
}
|
1053
927
|
]
|
1054
928
|
},
|
1055
929
|
{
|
1056
|
-
"name": "
|
1057
|
-
"description": "Emitted when
|
1058
|
-
"arguments": [
|
930
|
+
"name": "delete",
|
931
|
+
"description": "Emitted when confirming delete",
|
932
|
+
"arguments": [
|
933
|
+
{
|
934
|
+
"name": "content",
|
935
|
+
"type": "form content"
|
936
|
+
}
|
937
|
+
]
|
1059
938
|
},
|
1060
939
|
{
|
1061
|
-
"name": "
|
1062
|
-
"description": "Emitted when
|
1063
|
-
"arguments": [
|
940
|
+
"name": "select-search",
|
941
|
+
"description": "Emitted when a search result is selected",
|
942
|
+
"arguments": [
|
943
|
+
{
|
944
|
+
"name": "value",
|
945
|
+
"type": "search content"
|
946
|
+
}
|
947
|
+
]
|
1064
948
|
},
|
1065
949
|
{
|
1066
|
-
"name": "
|
1067
|
-
"description": "Emitted when
|
950
|
+
"name": "click-area",
|
951
|
+
"description": "Emitted when the area field is clicked",
|
1068
952
|
"arguments": []
|
1069
953
|
},
|
1070
954
|
{
|
1071
|
-
"name": "
|
1072
|
-
"description": "Emitted when
|
1073
|
-
"arguments": [
|
955
|
+
"name": "change-area",
|
956
|
+
"description": "Emitted when area changed",
|
957
|
+
"arguments": [
|
958
|
+
{
|
959
|
+
"name": "values",
|
960
|
+
"type": "area values"
|
961
|
+
}
|
962
|
+
]
|
1074
963
|
},
|
1075
964
|
{
|
1076
|
-
"name": "
|
1077
|
-
"description": "Emitted when
|
1078
|
-
"arguments": [
|
965
|
+
"name": "change-detail",
|
966
|
+
"description": "Emitted when address detail changed",
|
967
|
+
"arguments": [
|
968
|
+
{
|
969
|
+
"name": "value",
|
970
|
+
"type": "address detail"
|
971
|
+
}
|
972
|
+
]
|
1079
973
|
},
|
1080
974
|
{
|
1081
|
-
"name": "
|
1082
|
-
"description": "Emitted when
|
975
|
+
"name": "change-default",
|
976
|
+
"description": "Emitted when switching default address",
|
1083
977
|
"arguments": [
|
1084
978
|
{
|
1085
|
-
"name": "
|
1086
|
-
"type": "
|
979
|
+
"name": "value",
|
980
|
+
"type": "checked"
|
1087
981
|
}
|
1088
982
|
]
|
1089
983
|
}
|
1090
984
|
],
|
1091
985
|
"attributes": [
|
1092
986
|
{
|
1093
|
-
"name": "
|
1094
|
-
"default": "
|
1095
|
-
"description": "
|
987
|
+
"name": "area-list",
|
988
|
+
"default": "-",
|
989
|
+
"description": "Area List",
|
1096
990
|
"options": [],
|
1097
991
|
"value": {
|
1098
|
-
"type": "
|
992
|
+
"type": "object",
|
1099
993
|
"kind": "expression"
|
1100
994
|
}
|
1101
995
|
},
|
1102
996
|
{
|
1103
|
-
"name": "
|
997
|
+
"name": "area-columns-placeholder",
|
1104
998
|
"default": "`[]`",
|
1105
|
-
"description": "
|
999
|
+
"description": "placeholder of area columns",
|
1106
1000
|
"options": [],
|
1107
1001
|
"value": {
|
1108
|
-
"type": "
|
1002
|
+
"type": "string[]",
|
1109
1003
|
"kind": "expression"
|
1110
1004
|
}
|
1111
1005
|
},
|
1112
1006
|
{
|
1113
|
-
"name": "
|
1114
|
-
"default": "
|
1115
|
-
"description": "
|
1007
|
+
"name": "area-placeholder",
|
1008
|
+
"default": "`Area`",
|
1009
|
+
"description": "placeholder of area input field",
|
1116
1010
|
"options": [],
|
1117
1011
|
"value": {
|
1118
1012
|
"type": "string",
|
@@ -1120,29 +1014,29 @@
|
|
1120
1014
|
}
|
1121
1015
|
},
|
1122
1016
|
{
|
1123
|
-
"name": "
|
1124
|
-
"default": "
|
1125
|
-
"description": "
|
1017
|
+
"name": "address-info",
|
1018
|
+
"default": "`{}`",
|
1019
|
+
"description": "Address Info",
|
1126
1020
|
"options": [],
|
1127
1021
|
"value": {
|
1128
|
-
"type": "
|
1022
|
+
"type": "AddressEditInfo",
|
1129
1023
|
"kind": "expression"
|
1130
1024
|
}
|
1131
1025
|
},
|
1132
1026
|
{
|
1133
|
-
"name": "
|
1134
|
-
"default": "
|
1135
|
-
"description": "
|
1027
|
+
"name": "search-result",
|
1028
|
+
"default": "`[]`",
|
1029
|
+
"description": "Address search result",
|
1136
1030
|
"options": [],
|
1137
1031
|
"value": {
|
1138
|
-
"type": "
|
1032
|
+
"type": "AddressEditSearchItem[]",
|
1139
1033
|
"kind": "expression"
|
1140
1034
|
}
|
1141
1035
|
},
|
1142
1036
|
{
|
1143
|
-
"name": "
|
1144
|
-
"default": "`
|
1145
|
-
"description": "Whether to show
|
1037
|
+
"name": "show-postal",
|
1038
|
+
"default": "`false`",
|
1039
|
+
"description": "Whether to show postal field",
|
1146
1040
|
"options": [],
|
1147
1041
|
"value": {
|
1148
1042
|
"type": "boolean",
|
@@ -1150,29 +1044,29 @@
|
|
1150
1044
|
}
|
1151
1045
|
},
|
1152
1046
|
{
|
1153
|
-
"name": "
|
1154
|
-
"default": "`
|
1155
|
-
"description": "
|
1047
|
+
"name": "show-delete",
|
1048
|
+
"default": "`false`",
|
1049
|
+
"description": "Whether to show delete button",
|
1156
1050
|
"options": [],
|
1157
1051
|
"value": {
|
1158
|
-
"type": "
|
1052
|
+
"type": "boolean",
|
1159
1053
|
"kind": "expression"
|
1160
1054
|
}
|
1161
1055
|
},
|
1162
1056
|
{
|
1163
|
-
"name": "
|
1164
|
-
"default": "`
|
1165
|
-
"description": "
|
1057
|
+
"name": "show-set-default",
|
1058
|
+
"default": "`false`",
|
1059
|
+
"description": "Whether to show default address switch",
|
1166
1060
|
"options": [],
|
1167
1061
|
"value": {
|
1168
|
-
"type": "
|
1062
|
+
"type": "boolean",
|
1169
1063
|
"kind": "expression"
|
1170
1064
|
}
|
1171
1065
|
},
|
1172
1066
|
{
|
1173
|
-
"name": "
|
1174
|
-
"default": "`
|
1175
|
-
"description": "Whether to show
|
1067
|
+
"name": "show-search-result",
|
1068
|
+
"default": "`false`",
|
1069
|
+
"description": "Whether to show address search result",
|
1176
1070
|
"options": [],
|
1177
1071
|
"value": {
|
1178
1072
|
"type": "boolean",
|
@@ -1180,9 +1074,9 @@
|
|
1180
1074
|
}
|
1181
1075
|
},
|
1182
1076
|
{
|
1183
|
-
"name": "
|
1077
|
+
"name": "show-area",
|
1184
1078
|
"default": "`true`",
|
1185
|
-
"description": "Whether to show
|
1079
|
+
"description": "Whether to show area cell",
|
1186
1080
|
"options": [],
|
1187
1081
|
"value": {
|
1188
1082
|
"type": "boolean",
|
@@ -1190,59 +1084,69 @@
|
|
1190
1084
|
}
|
1191
1085
|
},
|
1192
1086
|
{
|
1193
|
-
"name": "
|
1194
|
-
"default": "
|
1195
|
-
"description": "
|
1087
|
+
"name": "show-detail",
|
1088
|
+
"default": "`true`",
|
1089
|
+
"description": "Whether to show detail field",
|
1196
1090
|
"options": [],
|
1197
1091
|
"value": {
|
1198
|
-
"type": "
|
1092
|
+
"type": "boolean",
|
1199
1093
|
"kind": "expression"
|
1200
1094
|
}
|
1201
1095
|
},
|
1202
1096
|
{
|
1203
|
-
"name": "
|
1204
|
-
"default": "
|
1205
|
-
"description": "
|
1206
|
-
"options": [],
|
1097
|
+
"name": "disable-area",
|
1098
|
+
"default": "`false`",
|
1099
|
+
"description": "Whether to disable area select",
|
1100
|
+
"options": [],
|
1207
1101
|
"value": {
|
1208
|
-
"type": "
|
1102
|
+
"type": "boolean",
|
1209
1103
|
"kind": "expression"
|
1210
1104
|
}
|
1211
1105
|
},
|
1212
1106
|
{
|
1213
|
-
"name": "
|
1214
|
-
"default": "`
|
1215
|
-
"description": "
|
1107
|
+
"name": "save-button-text",
|
1108
|
+
"default": "`Save`",
|
1109
|
+
"description": "Save button text",
|
1216
1110
|
"options": [],
|
1217
1111
|
"value": {
|
1218
|
-
"type": "
|
1112
|
+
"type": "string",
|
1219
1113
|
"kind": "expression"
|
1220
1114
|
}
|
1221
1115
|
},
|
1222
1116
|
{
|
1223
|
-
"name": "
|
1224
|
-
"default": "`
|
1225
|
-
"description": "
|
1117
|
+
"name": "delete-button-text",
|
1118
|
+
"default": "`Delete`",
|
1119
|
+
"description": "Delete button text",
|
1226
1120
|
"options": [],
|
1227
1121
|
"value": {
|
1228
|
-
"type": "
|
1122
|
+
"type": "string",
|
1229
1123
|
"kind": "expression"
|
1230
1124
|
}
|
1231
1125
|
},
|
1232
1126
|
{
|
1233
|
-
"name": "
|
1234
|
-
"default": "`
|
1235
|
-
"description": "
|
1127
|
+
"name": "detail-rows",
|
1128
|
+
"default": "`1`",
|
1129
|
+
"description": "Detail input rows",
|
1236
1130
|
"options": [],
|
1237
1131
|
"value": {
|
1238
|
-
"type": "
|
1132
|
+
"type": "number | string",
|
1239
1133
|
"kind": "expression"
|
1240
1134
|
}
|
1241
1135
|
},
|
1242
1136
|
{
|
1243
|
-
"name": "
|
1137
|
+
"name": "detail-maxlength",
|
1138
|
+
"default": "`200`",
|
1139
|
+
"description": "Detail maxlength",
|
1140
|
+
"options": [],
|
1141
|
+
"value": {
|
1142
|
+
"type": "number | string",
|
1143
|
+
"kind": "expression"
|
1144
|
+
}
|
1145
|
+
},
|
1146
|
+
{
|
1147
|
+
"name": "is-saving",
|
1244
1148
|
"default": "`false`",
|
1245
|
-
"description": "Whether to
|
1149
|
+
"description": "Whether to show save button loading status",
|
1246
1150
|
"options": [],
|
1247
1151
|
"value": {
|
1248
1152
|
"type": "boolean",
|
@@ -1250,9 +1154,9 @@
|
|
1250
1154
|
}
|
1251
1155
|
},
|
1252
1156
|
{
|
1253
|
-
"name": "
|
1254
|
-
"default": "`
|
1255
|
-
"description": "Whether to
|
1157
|
+
"name": "is-deleting",
|
1158
|
+
"default": "`false`",
|
1159
|
+
"description": "Whether to show delete button loading status",
|
1256
1160
|
"options": [],
|
1257
1161
|
"value": {
|
1258
1162
|
"type": "boolean",
|
@@ -1260,9 +1164,85 @@
|
|
1260
1164
|
}
|
1261
1165
|
},
|
1262
1166
|
{
|
1263
|
-
"name": "
|
1264
|
-
"default": "
|
1265
|
-
"description": "
|
1167
|
+
"name": "tel-validator",
|
1168
|
+
"default": "-",
|
1169
|
+
"description": "The method to validate tel",
|
1170
|
+
"options": [],
|
1171
|
+
"value": {
|
1172
|
+
"type": "(tel: string) => boolean",
|
1173
|
+
"kind": "expression"
|
1174
|
+
}
|
1175
|
+
},
|
1176
|
+
{
|
1177
|
+
"name": "tel-maxlength",
|
1178
|
+
"default": "-",
|
1179
|
+
"description": "Tel maxlength",
|
1180
|
+
"options": [],
|
1181
|
+
"value": {
|
1182
|
+
"type": "number | string",
|
1183
|
+
"kind": "expression"
|
1184
|
+
}
|
1185
|
+
},
|
1186
|
+
{
|
1187
|
+
"name": "postal-validator",
|
1188
|
+
"default": "-",
|
1189
|
+
"description": "The method to validate postal",
|
1190
|
+
"options": [],
|
1191
|
+
"value": {
|
1192
|
+
"type": "(tel: string) => boolean",
|
1193
|
+
"kind": "expression"
|
1194
|
+
}
|
1195
|
+
},
|
1196
|
+
{
|
1197
|
+
"name": "validator",
|
1198
|
+
"default": "-",
|
1199
|
+
"description": "Custom validator",
|
1200
|
+
"options": [],
|
1201
|
+
"value": {
|
1202
|
+
"type": "(key, val) => string",
|
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": [
|
1222
|
+
{
|
1223
|
+
"name": "content",
|
1224
|
+
"default": "-",
|
1225
|
+
"description": "Badge content",
|
1226
|
+
"options": [],
|
1227
|
+
"value": {
|
1228
|
+
"type": "number | string",
|
1229
|
+
"kind": "expression"
|
1230
|
+
}
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
"name": "color",
|
1234
|
+
"default": "`#ee0a24`",
|
1235
|
+
"description": "Background color",
|
1236
|
+
"options": [],
|
1237
|
+
"value": {
|
1238
|
+
"type": "string",
|
1239
|
+
"kind": "expression"
|
1240
|
+
}
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"name": "dot",
|
1244
|
+
"default": "`false`",
|
1245
|
+
"description": "Whether to show dot",
|
1266
1246
|
"options": [],
|
1267
1247
|
"value": {
|
1268
1248
|
"type": "boolean",
|
@@ -1270,22 +1250,42 @@
|
|
1270
1250
|
}
|
1271
1251
|
},
|
1272
1252
|
{
|
1273
|
-
"name": "
|
1253
|
+
"name": "max",
|
1274
1254
|
"default": "-",
|
1275
|
-
"description": "
|
1255
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1276
1256
|
"options": [],
|
1277
1257
|
"value": {
|
1278
|
-
"type": "
|
1258
|
+
"type": "number | string",
|
1279
1259
|
"kind": "expression"
|
1280
1260
|
}
|
1281
1261
|
},
|
1282
1262
|
{
|
1283
|
-
"name": "
|
1263
|
+
"name": "offset",
|
1284
1264
|
"default": "-",
|
1285
|
-
"description": "
|
1265
|
+
"description": "Offset of badge dot",
|
1286
1266
|
"options": [],
|
1287
1267
|
"value": {
|
1288
|
-
"type": "
|
1268
|
+
"type": "[number | string, number | string]",
|
1269
|
+
"kind": "expression"
|
1270
|
+
}
|
1271
|
+
},
|
1272
|
+
{
|
1273
|
+
"name": "show-zero",
|
1274
|
+
"default": "`true`",
|
1275
|
+
"description": "Whether to show badge when content is zero",
|
1276
|
+
"options": [],
|
1277
|
+
"value": {
|
1278
|
+
"type": "boolean",
|
1279
|
+
"kind": "expression"
|
1280
|
+
}
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"name": "position",
|
1284
|
+
"default": "`top-right`",
|
1285
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1286
|
+
"options": [],
|
1287
|
+
"value": {
|
1288
|
+
"type": "string",
|
1289
1289
|
"kind": "expression"
|
1290
1290
|
}
|
1291
1291
|
}
|
@@ -2316,83 +2316,31 @@
|
|
2316
2316
|
]
|
2317
2317
|
},
|
2318
2318
|
{
|
2319
|
-
"name": "van-
|
2319
|
+
"name": "van-checkbox",
|
2320
2320
|
"slots": [
|
2321
2321
|
{
|
2322
2322
|
"name": "default",
|
2323
|
-
"description": "Default slot"
|
2324
|
-
},
|
2325
|
-
{
|
2326
|
-
"name": "title",
|
2327
|
-
"description": "Custom title"
|
2328
|
-
}
|
2329
|
-
],
|
2330
|
-
"events": [],
|
2331
|
-
"attributes": [
|
2332
|
-
{
|
2333
|
-
"name": "title",
|
2334
|
-
"default": "-",
|
2335
|
-
"description": "Group title",
|
2336
|
-
"options": [],
|
2337
|
-
"value": {
|
2338
|
-
"type": "string",
|
2339
|
-
"kind": "expression"
|
2340
|
-
}
|
2341
|
-
},
|
2342
|
-
{
|
2343
|
-
"name": "inset",
|
2344
|
-
"default": "`false`",
|
2345
|
-
"description": "Whether to be inset grouped",
|
2346
|
-
"options": [],
|
2347
|
-
"value": {
|
2348
|
-
"type": "boolean",
|
2349
|
-
"kind": "expression"
|
2350
|
-
}
|
2351
|
-
},
|
2352
|
-
{
|
2353
|
-
"name": "border",
|
2354
|
-
"default": "`true`",
|
2355
|
-
"description": "Whether to show outer border",
|
2356
|
-
"options": [],
|
2357
|
-
"value": {
|
2358
|
-
"type": "boolean",
|
2359
|
-
"kind": "expression"
|
2360
|
-
}
|
2361
|
-
}
|
2362
|
-
]
|
2363
|
-
},
|
2364
|
-
{
|
2365
|
-
"name": "van-cell",
|
2366
|
-
"slots": [
|
2367
|
-
{
|
2368
|
-
"name": "title",
|
2369
|
-
"description": "Custom title"
|
2370
|
-
},
|
2371
|
-
{
|
2372
|
-
"name": "value",
|
2373
|
-
"description": "Custom value"
|
2374
|
-
},
|
2375
|
-
{
|
2376
|
-
"name": "label",
|
2377
2323
|
"description": "Custom label"
|
2378
2324
|
},
|
2379
2325
|
{
|
2380
2326
|
"name": "icon",
|
2381
|
-
"description": "Custom
|
2382
|
-
},
|
2383
|
-
{
|
2384
|
-
"name": "right-icon",
|
2385
|
-
"description": "Custom right icon"
|
2386
|
-
},
|
2387
|
-
{
|
2388
|
-
"name": "extra",
|
2389
|
-
"description": "Custom extra content on the right"
|
2327
|
+
"description": "Custom icon"
|
2390
2328
|
}
|
2391
2329
|
],
|
2392
2330
|
"events": [
|
2331
|
+
{
|
2332
|
+
"name": "change",
|
2333
|
+
"description": "Emitted when value changed",
|
2334
|
+
"arguments": [
|
2335
|
+
{
|
2336
|
+
"name": "checked",
|
2337
|
+
"type": "boolean"
|
2338
|
+
}
|
2339
|
+
]
|
2340
|
+
},
|
2393
2341
|
{
|
2394
2342
|
"name": "click",
|
2395
|
-
"description": "Emitted when
|
2343
|
+
"description": "Emitted when the checkbox is clicked",
|
2396
2344
|
"arguments": [
|
2397
2345
|
{
|
2398
2346
|
"name": "event",
|
@@ -2403,29 +2351,29 @@
|
|
2403
2351
|
],
|
2404
2352
|
"attributes": [
|
2405
2353
|
{
|
2406
|
-
"name": "
|
2407
|
-
"default": "
|
2408
|
-
"description": "
|
2354
|
+
"name": "v-model",
|
2355
|
+
"default": "`false`",
|
2356
|
+
"description": "Check status",
|
2409
2357
|
"options": [],
|
2410
2358
|
"value": {
|
2411
|
-
"type": "
|
2359
|
+
"type": "boolean",
|
2412
2360
|
"kind": "expression"
|
2413
2361
|
}
|
2414
2362
|
},
|
2415
2363
|
{
|
2416
|
-
"name": "
|
2364
|
+
"name": "name",
|
2417
2365
|
"default": "-",
|
2418
|
-
"description": "
|
2366
|
+
"description": "Checkbox name, usually a unique string or number",
|
2419
2367
|
"options": [],
|
2420
2368
|
"value": {
|
2421
|
-
"type": "
|
2369
|
+
"type": "any",
|
2422
2370
|
"kind": "expression"
|
2423
2371
|
}
|
2424
2372
|
},
|
2425
2373
|
{
|
2426
|
-
"name": "
|
2427
|
-
"default": "
|
2428
|
-
"description": "
|
2374
|
+
"name": "shape",
|
2375
|
+
"default": "`round`",
|
2376
|
+
"description": "Can be set to `square`",
|
2429
2377
|
"options": [],
|
2430
2378
|
"value": {
|
2431
2379
|
"type": "string",
|
@@ -2433,29 +2381,29 @@
|
|
2433
2381
|
}
|
2434
2382
|
},
|
2435
2383
|
{
|
2436
|
-
"name": "
|
2437
|
-
"default": "
|
2438
|
-
"description": "
|
2384
|
+
"name": "disabled",
|
2385
|
+
"default": "`false`",
|
2386
|
+
"description": "Disable checkbox",
|
2439
2387
|
"options": [],
|
2440
2388
|
"value": {
|
2441
|
-
"type": "
|
2389
|
+
"type": "boolean",
|
2442
2390
|
"kind": "expression"
|
2443
2391
|
}
|
2444
2392
|
},
|
2445
2393
|
{
|
2446
|
-
"name": "
|
2447
|
-
"default": "
|
2448
|
-
"description": "
|
2394
|
+
"name": "label-disabled",
|
2395
|
+
"default": "`false`",
|
2396
|
+
"description": "Whether to disable label click",
|
2449
2397
|
"options": [],
|
2450
2398
|
"value": {
|
2451
|
-
"type": "
|
2399
|
+
"type": "boolean",
|
2452
2400
|
"kind": "expression"
|
2453
2401
|
}
|
2454
2402
|
},
|
2455
2403
|
{
|
2456
|
-
"name": "
|
2457
|
-
"default": "`
|
2458
|
-
"description": "
|
2404
|
+
"name": "label-position",
|
2405
|
+
"default": "`right`",
|
2406
|
+
"description": "Can be set to `left`",
|
2459
2407
|
"options": [],
|
2460
2408
|
"value": {
|
2461
2409
|
"type": "string",
|
@@ -2463,49 +2411,67 @@
|
|
2463
2411
|
}
|
2464
2412
|
},
|
2465
2413
|
{
|
2466
|
-
"name": "
|
2467
|
-
"default": "`
|
2468
|
-
"description": "
|
2414
|
+
"name": "icon-size",
|
2415
|
+
"default": "`20px`",
|
2416
|
+
"description": "Icon size",
|
2469
2417
|
"options": [],
|
2470
2418
|
"value": {
|
2471
|
-
"type": "
|
2419
|
+
"type": "number | string",
|
2472
2420
|
"kind": "expression"
|
2473
2421
|
}
|
2474
2422
|
},
|
2475
2423
|
{
|
2476
|
-
"name": "
|
2477
|
-
"default": "`
|
2478
|
-
"description": "
|
2424
|
+
"name": "checked-color",
|
2425
|
+
"default": "`#1989fa`",
|
2426
|
+
"description": "Checked color",
|
2479
2427
|
"options": [],
|
2480
2428
|
"value": {
|
2481
|
-
"type": "
|
2429
|
+
"type": "string",
|
2482
2430
|
"kind": "expression"
|
2483
2431
|
}
|
2484
2432
|
},
|
2485
2433
|
{
|
2486
|
-
"name": "
|
2487
|
-
"default": "
|
2488
|
-
"description": "
|
2434
|
+
"name": "bind-group",
|
2435
|
+
"default": "`true`",
|
2436
|
+
"description": "Whether to bind with CheckboxGroup",
|
2489
2437
|
"options": [],
|
2490
2438
|
"value": {
|
2491
|
-
"type": "
|
2439
|
+
"type": "boolean",
|
2492
2440
|
"kind": "expression"
|
2493
2441
|
}
|
2494
|
-
}
|
2442
|
+
}
|
2443
|
+
]
|
2444
|
+
},
|
2445
|
+
{
|
2446
|
+
"name": "van-checkbox-group",
|
2447
|
+
"slots": [],
|
2448
|
+
"events": [
|
2495
2449
|
{
|
2496
|
-
"name": "
|
2450
|
+
"name": "change",
|
2451
|
+
"description": "Emitted when value changed",
|
2452
|
+
"arguments": [
|
2453
|
+
{
|
2454
|
+
"name": "names",
|
2455
|
+
"type": "any[]"
|
2456
|
+
}
|
2457
|
+
]
|
2458
|
+
}
|
2459
|
+
],
|
2460
|
+
"attributes": [
|
2461
|
+
{
|
2462
|
+
"name": "v-model",
|
2497
2463
|
"default": "-",
|
2498
|
-
"description": "
|
2464
|
+
"description": "Names of all checked checkboxes",
|
2499
2465
|
"options": [],
|
2500
2466
|
"value": {
|
2501
|
-
"type": "
|
2467
|
+
"type": "any[]",
|
2502
2468
|
"kind": "expression"
|
2503
2469
|
}
|
2504
2470
|
},
|
2505
2471
|
{
|
2506
|
-
"name": "
|
2472
|
+
"name": "disabled",
|
2507
2473
|
"default": "`false`",
|
2508
|
-
"description": "
|
2474
|
+
"description": "Whether to disable all checkboxes",
|
2509
2475
|
"options": [],
|
2510
2476
|
"value": {
|
2511
2477
|
"type": "boolean",
|
@@ -2513,113 +2479,125 @@
|
|
2513
2479
|
}
|
2514
2480
|
},
|
2515
2481
|
{
|
2516
|
-
"name": "
|
2517
|
-
"default": "`
|
2518
|
-
"description": "
|
2482
|
+
"name": "max",
|
2483
|
+
"default": "`0`(Unlimited)",
|
2484
|
+
"description": "Maximum amount of checked options",
|
2519
2485
|
"options": [],
|
2520
2486
|
"value": {
|
2521
|
-
"type": "
|
2487
|
+
"type": "number | string",
|
2522
2488
|
"kind": "expression"
|
2523
2489
|
}
|
2524
2490
|
},
|
2525
2491
|
{
|
2526
|
-
"name": "
|
2527
|
-
"default": "`
|
2528
|
-
"description": "
|
2492
|
+
"name": "direction",
|
2493
|
+
"default": "`vertical`",
|
2494
|
+
"description": "Direction, can be set to `horizontal`",
|
2529
2495
|
"options": [],
|
2530
2496
|
"value": {
|
2531
|
-
"type": "
|
2497
|
+
"type": "string",
|
2532
2498
|
"kind": "expression"
|
2533
2499
|
}
|
2534
2500
|
},
|
2535
2501
|
{
|
2536
|
-
"name": "
|
2537
|
-
"default": "`
|
2538
|
-
"description": "
|
2502
|
+
"name": "icon-size",
|
2503
|
+
"default": "`20px`",
|
2504
|
+
"description": "Icon size of all checkboxes",
|
2539
2505
|
"options": [],
|
2540
2506
|
"value": {
|
2541
|
-
"type": "
|
2507
|
+
"type": "number | string",
|
2542
2508
|
"kind": "expression"
|
2543
2509
|
}
|
2544
2510
|
},
|
2545
2511
|
{
|
2546
|
-
"name": "
|
2547
|
-
"default": "`
|
2548
|
-
"description": "
|
2512
|
+
"name": "checked-color",
|
2513
|
+
"default": "`#1989fa`",
|
2514
|
+
"description": "Checked color of all checkboxes",
|
2549
2515
|
"options": [],
|
2550
2516
|
"value": {
|
2551
2517
|
"type": "string",
|
2552
2518
|
"kind": "expression"
|
2553
2519
|
}
|
2554
|
-
}
|
2520
|
+
}
|
2521
|
+
]
|
2522
|
+
},
|
2523
|
+
{
|
2524
|
+
"name": "van-cell-group",
|
2525
|
+
"slots": [
|
2555
2526
|
{
|
2556
|
-
"name": "
|
2557
|
-
"
|
2558
|
-
"description": "Title style",
|
2559
|
-
"options": [],
|
2560
|
-
"value": {
|
2561
|
-
"type": "string | Array | object",
|
2562
|
-
"kind": "expression"
|
2563
|
-
}
|
2527
|
+
"name": "default",
|
2528
|
+
"description": "Default slot"
|
2564
2529
|
},
|
2565
2530
|
{
|
2566
|
-
"name": "title
|
2531
|
+
"name": "title",
|
2532
|
+
"description": "Custom title"
|
2533
|
+
}
|
2534
|
+
],
|
2535
|
+
"events": [],
|
2536
|
+
"attributes": [
|
2537
|
+
{
|
2538
|
+
"name": "title",
|
2567
2539
|
"default": "-",
|
2568
|
-
"description": "
|
2540
|
+
"description": "Group title",
|
2569
2541
|
"options": [],
|
2570
2542
|
"value": {
|
2571
|
-
"type": "string
|
2543
|
+
"type": "string",
|
2572
2544
|
"kind": "expression"
|
2573
2545
|
}
|
2574
2546
|
},
|
2575
2547
|
{
|
2576
|
-
"name": "
|
2577
|
-
"default": "
|
2578
|
-
"description": "
|
2548
|
+
"name": "inset",
|
2549
|
+
"default": "`false`",
|
2550
|
+
"description": "Whether to be inset grouped",
|
2579
2551
|
"options": [],
|
2580
2552
|
"value": {
|
2581
|
-
"type": "
|
2553
|
+
"type": "boolean",
|
2582
2554
|
"kind": "expression"
|
2583
2555
|
}
|
2584
2556
|
},
|
2585
2557
|
{
|
2586
|
-
"name": "
|
2587
|
-
"default": "
|
2588
|
-
"description": "
|
2558
|
+
"name": "border",
|
2559
|
+
"default": "`true`",
|
2560
|
+
"description": "Whether to show outer border",
|
2589
2561
|
"options": [],
|
2590
2562
|
"value": {
|
2591
|
-
"type": "
|
2563
|
+
"type": "boolean",
|
2592
2564
|
"kind": "expression"
|
2593
2565
|
}
|
2594
2566
|
}
|
2595
2567
|
]
|
2596
2568
|
},
|
2597
2569
|
{
|
2598
|
-
"name": "van-
|
2570
|
+
"name": "van-cell",
|
2599
2571
|
"slots": [
|
2600
2572
|
{
|
2601
|
-
"name": "
|
2573
|
+
"name": "title",
|
2574
|
+
"description": "Custom title"
|
2575
|
+
},
|
2576
|
+
{
|
2577
|
+
"name": "value",
|
2578
|
+
"description": "Custom value"
|
2579
|
+
},
|
2580
|
+
{
|
2581
|
+
"name": "label",
|
2602
2582
|
"description": "Custom label"
|
2603
2583
|
},
|
2604
2584
|
{
|
2605
2585
|
"name": "icon",
|
2606
|
-
"description": "Custom icon"
|
2586
|
+
"description": "Custom left icon"
|
2587
|
+
},
|
2588
|
+
{
|
2589
|
+
"name": "right-icon",
|
2590
|
+
"description": "Custom right icon"
|
2591
|
+
},
|
2592
|
+
{
|
2593
|
+
"name": "extra",
|
2594
|
+
"description": "Custom extra content on the right"
|
2607
2595
|
}
|
2608
2596
|
],
|
2609
2597
|
"events": [
|
2610
|
-
{
|
2611
|
-
"name": "change",
|
2612
|
-
"description": "Emitted when value changed",
|
2613
|
-
"arguments": [
|
2614
|
-
{
|
2615
|
-
"name": "checked",
|
2616
|
-
"type": "boolean"
|
2617
|
-
}
|
2618
|
-
]
|
2619
|
-
},
|
2620
2598
|
{
|
2621
2599
|
"name": "click",
|
2622
|
-
"description": "Emitted when
|
2600
|
+
"description": "Emitted when cell is clicked",
|
2623
2601
|
"arguments": [
|
2624
2602
|
{
|
2625
2603
|
"name": "event",
|
@@ -2630,29 +2608,29 @@
|
|
2630
2608
|
],
|
2631
2609
|
"attributes": [
|
2632
2610
|
{
|
2633
|
-
"name": "
|
2634
|
-
"default": "
|
2635
|
-
"description": "
|
2611
|
+
"name": "title",
|
2612
|
+
"default": "-",
|
2613
|
+
"description": "Title",
|
2636
2614
|
"options": [],
|
2637
2615
|
"value": {
|
2638
|
-
"type": "
|
2616
|
+
"type": "number | string",
|
2639
2617
|
"kind": "expression"
|
2640
2618
|
}
|
2641
2619
|
},
|
2642
2620
|
{
|
2643
|
-
"name": "
|
2621
|
+
"name": "value",
|
2644
2622
|
"default": "-",
|
2645
|
-
"description": "
|
2623
|
+
"description": "Right text",
|
2646
2624
|
"options": [],
|
2647
2625
|
"value": {
|
2648
|
-
"type": "
|
2626
|
+
"type": "number | string",
|
2649
2627
|
"kind": "expression"
|
2650
2628
|
}
|
2651
2629
|
},
|
2652
2630
|
{
|
2653
|
-
"name": "
|
2654
|
-
"default": "
|
2655
|
-
"description": "
|
2631
|
+
"name": "label",
|
2632
|
+
"default": "-",
|
2633
|
+
"description": "Description below the title",
|
2656
2634
|
"options": [],
|
2657
2635
|
"value": {
|
2658
2636
|
"type": "string",
|
@@ -2660,29 +2638,29 @@
|
|
2660
2638
|
}
|
2661
2639
|
},
|
2662
2640
|
{
|
2663
|
-
"name": "
|
2664
|
-
"default": "
|
2665
|
-
"description": "
|
2641
|
+
"name": "size",
|
2642
|
+
"default": "-",
|
2643
|
+
"description": "Size, can be set to `large`",
|
2666
2644
|
"options": [],
|
2667
2645
|
"value": {
|
2668
|
-
"type": "
|
2646
|
+
"type": "string",
|
2669
2647
|
"kind": "expression"
|
2670
2648
|
}
|
2671
2649
|
},
|
2672
2650
|
{
|
2673
|
-
"name": "
|
2674
|
-
"default": "
|
2675
|
-
"description": "
|
2651
|
+
"name": "icon",
|
2652
|
+
"default": "-",
|
2653
|
+
"description": "Left Icon",
|
2676
2654
|
"options": [],
|
2677
2655
|
"value": {
|
2678
|
-
"type": "
|
2656
|
+
"type": "string",
|
2679
2657
|
"kind": "expression"
|
2680
2658
|
}
|
2681
2659
|
},
|
2682
2660
|
{
|
2683
|
-
"name": "
|
2684
|
-
"default": "`
|
2685
|
-
"description": "
|
2661
|
+
"name": "icon-prefix",
|
2662
|
+
"default": "`van-icon`",
|
2663
|
+
"description": "Icon className prefix",
|
2686
2664
|
"options": [],
|
2687
2665
|
"value": {
|
2688
2666
|
"type": "string",
|
@@ -2690,67 +2668,49 @@
|
|
2690
2668
|
}
|
2691
2669
|
},
|
2692
2670
|
{
|
2693
|
-
"name": "
|
2694
|
-
"default": "`
|
2695
|
-
"description": "
|
2671
|
+
"name": "border",
|
2672
|
+
"default": "`true`",
|
2673
|
+
"description": "Whether to show inner border",
|
2696
2674
|
"options": [],
|
2697
2675
|
"value": {
|
2698
|
-
"type": "
|
2676
|
+
"type": "boolean",
|
2699
2677
|
"kind": "expression"
|
2700
2678
|
}
|
2701
2679
|
},
|
2702
2680
|
{
|
2703
|
-
"name": "
|
2704
|
-
"default": "
|
2705
|
-
"description": "
|
2681
|
+
"name": "center",
|
2682
|
+
"default": "`false`",
|
2683
|
+
"description": "Whether to center content vertically",
|
2706
2684
|
"options": [],
|
2707
2685
|
"value": {
|
2708
|
-
"type": "
|
2686
|
+
"type": "boolean",
|
2709
2687
|
"kind": "expression"
|
2710
2688
|
}
|
2711
2689
|
},
|
2712
2690
|
{
|
2713
|
-
"name": "
|
2714
|
-
"default": "
|
2715
|
-
"description": "
|
2691
|
+
"name": "url",
|
2692
|
+
"default": "-",
|
2693
|
+
"description": "Link URL",
|
2716
2694
|
"options": [],
|
2717
2695
|
"value": {
|
2718
|
-
"type": "
|
2696
|
+
"type": "string",
|
2719
2697
|
"kind": "expression"
|
2720
2698
|
}
|
2721
|
-
}
|
2722
|
-
]
|
2723
|
-
},
|
2724
|
-
{
|
2725
|
-
"name": "van-checkbox-group",
|
2726
|
-
"slots": [],
|
2727
|
-
"events": [
|
2728
|
-
{
|
2729
|
-
"name": "change",
|
2730
|
-
"description": "Emitted when value changed",
|
2731
|
-
"arguments": [
|
2732
|
-
{
|
2733
|
-
"name": "names",
|
2734
|
-
"type": "any[]"
|
2735
|
-
}
|
2736
|
-
]
|
2737
|
-
}
|
2738
|
-
],
|
2739
|
-
"attributes": [
|
2699
|
+
},
|
2740
2700
|
{
|
2741
|
-
"name": "
|
2701
|
+
"name": "to",
|
2742
2702
|
"default": "-",
|
2743
|
-
"description": "
|
2703
|
+
"description": "Target route of the link, same as to of vue-router",
|
2744
2704
|
"options": [],
|
2745
2705
|
"value": {
|
2746
|
-
"type": "
|
2706
|
+
"type": "string | object",
|
2747
2707
|
"kind": "expression"
|
2748
2708
|
}
|
2749
2709
|
},
|
2750
2710
|
{
|
2751
|
-
"name": "
|
2711
|
+
"name": "replace",
|
2752
2712
|
"default": "`false`",
|
2753
|
-
"description": "
|
2713
|
+
"description": "If true, the navigation will not leave a history record",
|
2754
2714
|
"options": [],
|
2755
2715
|
"value": {
|
2756
2716
|
"type": "boolean",
|
@@ -2758,44 +2718,84 @@
|
|
2758
2718
|
}
|
2759
2719
|
},
|
2760
2720
|
{
|
2761
|
-
"name": "
|
2762
|
-
"default": "`
|
2763
|
-
"description": "
|
2721
|
+
"name": "clickable",
|
2722
|
+
"default": "`null`",
|
2723
|
+
"description": "Whether to show click feedback when clicked",
|
2764
2724
|
"options": [],
|
2765
2725
|
"value": {
|
2766
|
-
"type": "
|
2726
|
+
"type": "boolean",
|
2767
2727
|
"kind": "expression"
|
2768
2728
|
}
|
2769
2729
|
},
|
2770
2730
|
{
|
2771
|
-
"name": "
|
2772
|
-
"default": "`
|
2773
|
-
"description": "
|
2731
|
+
"name": "is-link",
|
2732
|
+
"default": "`false`",
|
2733
|
+
"description": "Whether to show link icon",
|
2774
2734
|
"options": [],
|
2775
2735
|
"value": {
|
2776
|
-
"type": "
|
2736
|
+
"type": "boolean",
|
2777
2737
|
"kind": "expression"
|
2778
2738
|
}
|
2779
2739
|
},
|
2780
2740
|
{
|
2781
|
-
"name": "
|
2782
|
-
"default": "`
|
2783
|
-
"description": "
|
2741
|
+
"name": "required",
|
2742
|
+
"default": "`false`",
|
2743
|
+
"description": "Whether to show required mark",
|
2784
2744
|
"options": [],
|
2785
2745
|
"value": {
|
2786
|
-
"type": "
|
2746
|
+
"type": "boolean",
|
2787
2747
|
"kind": "expression"
|
2788
2748
|
}
|
2789
2749
|
},
|
2790
2750
|
{
|
2791
|
-
"name": "
|
2792
|
-
"default": "
|
2793
|
-
"description": "
|
2751
|
+
"name": "arrow-direction",
|
2752
|
+
"default": "`right`",
|
2753
|
+
"description": "Can be set to `left` `up` `down`",
|
2794
2754
|
"options": [],
|
2795
2755
|
"value": {
|
2796
2756
|
"type": "string",
|
2797
2757
|
"kind": "expression"
|
2798
2758
|
}
|
2759
|
+
},
|
2760
|
+
{
|
2761
|
+
"name": "title-style",
|
2762
|
+
"default": "-",
|
2763
|
+
"description": "Title style",
|
2764
|
+
"options": [],
|
2765
|
+
"value": {
|
2766
|
+
"type": "string | Array | object",
|
2767
|
+
"kind": "expression"
|
2768
|
+
}
|
2769
|
+
},
|
2770
|
+
{
|
2771
|
+
"name": "title-class",
|
2772
|
+
"default": "-",
|
2773
|
+
"description": "Title className",
|
2774
|
+
"options": [],
|
2775
|
+
"value": {
|
2776
|
+
"type": "string | Array | object",
|
2777
|
+
"kind": "expression"
|
2778
|
+
}
|
2779
|
+
},
|
2780
|
+
{
|
2781
|
+
"name": "value-class",
|
2782
|
+
"default": "-",
|
2783
|
+
"description": "Value className",
|
2784
|
+
"options": [],
|
2785
|
+
"value": {
|
2786
|
+
"type": "string | Array | object",
|
2787
|
+
"kind": "expression"
|
2788
|
+
}
|
2789
|
+
},
|
2790
|
+
{
|
2791
|
+
"name": "label-class",
|
2792
|
+
"default": "-",
|
2793
|
+
"description": "Label className",
|
2794
|
+
"options": [],
|
2795
|
+
"value": {
|
2796
|
+
"type": "string | Array | object",
|
2797
|
+
"kind": "expression"
|
2798
|
+
}
|
2799
2799
|
}
|
2800
2800
|
]
|
2801
2801
|
},
|
@@ -3630,69 +3630,111 @@
|
|
3630
3630
|
]
|
3631
3631
|
},
|
3632
3632
|
{
|
3633
|
-
"name": "van-
|
3634
|
-
"slots": [
|
3633
|
+
"name": "van-coupon-cell",
|
3634
|
+
"slots": [],
|
3635
|
+
"events": [],
|
3636
|
+
"attributes": [
|
3635
3637
|
{
|
3636
|
-
"name": "
|
3637
|
-
"
|
3638
|
+
"name": "title",
|
3639
|
+
"default": "`Coupon`",
|
3640
|
+
"description": "Cell title",
|
3641
|
+
"options": [],
|
3642
|
+
"value": {
|
3643
|
+
"type": "string",
|
3644
|
+
"kind": "expression"
|
3645
|
+
}
|
3638
3646
|
},
|
3639
3647
|
{
|
3640
|
-
"name": "
|
3641
|
-
"
|
3648
|
+
"name": "chosen-coupon",
|
3649
|
+
"default": "`-1`",
|
3650
|
+
"description": "Index of chosen coupon",
|
3651
|
+
"options": [],
|
3652
|
+
"value": {
|
3653
|
+
"type": "number | string",
|
3654
|
+
"kind": "expression"
|
3655
|
+
}
|
3642
3656
|
},
|
3643
3657
|
{
|
3644
|
-
"name": "
|
3645
|
-
"
|
3658
|
+
"name": "coupons",
|
3659
|
+
"default": "`[]`",
|
3660
|
+
"description": "Coupon list",
|
3661
|
+
"options": [],
|
3662
|
+
"value": {
|
3663
|
+
"type": "Coupon[]",
|
3664
|
+
"kind": "expression"
|
3665
|
+
}
|
3646
3666
|
},
|
3647
3667
|
{
|
3648
|
-
"name": "
|
3649
|
-
"
|
3668
|
+
"name": "editable",
|
3669
|
+
"default": "`true`",
|
3670
|
+
"description": "Cell editable",
|
3671
|
+
"options": [],
|
3672
|
+
"value": {
|
3673
|
+
"type": "boolean",
|
3674
|
+
"kind": "expression"
|
3675
|
+
}
|
3650
3676
|
},
|
3651
3677
|
{
|
3652
|
-
"name": "
|
3653
|
-
"
|
3678
|
+
"name": "border",
|
3679
|
+
"default": "`true`",
|
3680
|
+
"description": "Whether to show inner border",
|
3681
|
+
"options": [],
|
3682
|
+
"value": {
|
3683
|
+
"type": "boolean",
|
3684
|
+
"kind": "expression"
|
3685
|
+
}
|
3654
3686
|
},
|
3655
3687
|
{
|
3656
|
-
"name": "
|
3657
|
-
"
|
3688
|
+
"name": "currency",
|
3689
|
+
"default": "`¥`",
|
3690
|
+
"description": "Currency symbol",
|
3691
|
+
"options": [],
|
3692
|
+
"value": {
|
3693
|
+
"type": "string",
|
3694
|
+
"kind": "expression"
|
3695
|
+
}
|
3696
|
+
}
|
3697
|
+
]
|
3698
|
+
},
|
3699
|
+
{
|
3700
|
+
"name": "van-coupon-list",
|
3701
|
+
"slots": [
|
3702
|
+
{
|
3703
|
+
"name": "list-footer",
|
3704
|
+
"description": "Coupon list bottom"
|
3658
3705
|
},
|
3659
3706
|
{
|
3660
|
-
"name": "
|
3661
|
-
"description": "
|
3707
|
+
"name": "disabled-list-footer",
|
3708
|
+
"description": "Unavailable coupons list bottom"
|
3662
3709
|
}
|
3663
3710
|
],
|
3664
3711
|
"events": [
|
3665
3712
|
{
|
3666
3713
|
"name": "change",
|
3667
|
-
"description": "Emitted when
|
3714
|
+
"description": "Emitted when chosen coupon changed",
|
3668
3715
|
"arguments": [
|
3669
3716
|
{
|
3670
|
-
"name": "
|
3671
|
-
"type": "
|
3717
|
+
"name": "index",
|
3718
|
+
"type": "index of chosen coupon"
|
3672
3719
|
}
|
3673
3720
|
]
|
3674
3721
|
},
|
3675
3722
|
{
|
3676
|
-
"name": "
|
3677
|
-
"description": "Emitted when
|
3723
|
+
"name": "exchange",
|
3724
|
+
"description": "Emitted when exchanging coupon",
|
3678
3725
|
"arguments": [
|
3679
3726
|
{
|
3680
|
-
"name": "
|
3681
|
-
"type": "
|
3727
|
+
"name": "code",
|
3728
|
+
"type": "exchange code"
|
3682
3729
|
}
|
3683
3730
|
]
|
3684
|
-
},
|
3685
|
-
{
|
3686
|
-
"name": "cancel",
|
3687
|
-
"description": "Emitted when the cancel button is clicked",
|
3688
|
-
"arguments": []
|
3689
3731
|
}
|
3690
3732
|
],
|
3691
3733
|
"attributes": [
|
3692
3734
|
{
|
3693
|
-
"name": "
|
3694
|
-
"default": "
|
3695
|
-
"description": "
|
3735
|
+
"name": "v-model",
|
3736
|
+
"default": "-",
|
3737
|
+
"description": "Current exchange code",
|
3696
3738
|
"options": [],
|
3697
3739
|
"value": {
|
3698
3740
|
"type": "string",
|
@@ -3700,307 +3742,221 @@
|
|
3700
3742
|
}
|
3701
3743
|
},
|
3702
3744
|
{
|
3703
|
-
"name": "
|
3704
|
-
"default": "`
|
3705
|
-
"description": "
|
3745
|
+
"name": "chosen-coupon",
|
3746
|
+
"default": "`-1`",
|
3747
|
+
"description": "Index of chosen coupon",
|
3706
3748
|
"options": [],
|
3707
3749
|
"value": {
|
3708
|
-
"type": "
|
3750
|
+
"type": "number",
|
3709
3751
|
"kind": "expression"
|
3710
3752
|
}
|
3711
3753
|
},
|
3712
3754
|
{
|
3713
|
-
"name": "
|
3714
|
-
"default": "`
|
3715
|
-
"description": "
|
3755
|
+
"name": "coupons",
|
3756
|
+
"default": "`[]`",
|
3757
|
+
"description": "Coupon list",
|
3716
3758
|
"options": [],
|
3717
3759
|
"value": {
|
3718
|
-
"type": "
|
3760
|
+
"type": "Coupon[]",
|
3719
3761
|
"kind": "expression"
|
3720
3762
|
}
|
3721
3763
|
},
|
3722
3764
|
{
|
3723
|
-
"name": "
|
3724
|
-
"default": "`
|
3725
|
-
"description": "
|
3765
|
+
"name": "disabled-coupons",
|
3766
|
+
"default": "`[]`",
|
3767
|
+
"description": "Disabled coupon list",
|
3726
3768
|
"options": [],
|
3727
3769
|
"value": {
|
3728
|
-
"type": "
|
3770
|
+
"type": "Coupon[]",
|
3729
3771
|
"kind": "expression"
|
3730
3772
|
}
|
3731
3773
|
},
|
3732
3774
|
{
|
3733
|
-
"name": "
|
3734
|
-
"default": "`
|
3735
|
-
"description": "
|
3775
|
+
"name": "enabled-title",
|
3776
|
+
"default": "`Available`",
|
3777
|
+
"description": "Title of coupon list",
|
3736
3778
|
"options": [],
|
3737
3779
|
"value": {
|
3738
|
-
"type": "
|
3780
|
+
"type": "string",
|
3739
3781
|
"kind": "expression"
|
3740
3782
|
}
|
3741
3783
|
},
|
3742
3784
|
{
|
3743
|
-
"name": "
|
3744
|
-
"default": "`
|
3745
|
-
"description": "
|
3785
|
+
"name": "disabled-title",
|
3786
|
+
"default": "`Unavailable`",
|
3787
|
+
"description": "Title of disabled coupon list",
|
3746
3788
|
"options": [],
|
3747
3789
|
"value": {
|
3748
|
-
"type": "
|
3790
|
+
"type": "string",
|
3749
3791
|
"kind": "expression"
|
3750
3792
|
}
|
3751
3793
|
},
|
3752
3794
|
{
|
3753
|
-
"name": "
|
3754
|
-
"default": "`
|
3755
|
-
"description": "
|
3795
|
+
"name": "exchange-button-text",
|
3796
|
+
"default": "`Exchange`",
|
3797
|
+
"description": "Exchange button text",
|
3756
3798
|
"options": [],
|
3757
3799
|
"value": {
|
3758
|
-
"type": "
|
3800
|
+
"type": "string",
|
3759
3801
|
"kind": "expression"
|
3760
3802
|
}
|
3761
3803
|
},
|
3762
3804
|
{
|
3763
|
-
"name": "
|
3764
|
-
"default": "
|
3765
|
-
"description": "
|
3766
|
-
"options": [],
|
3767
|
-
"value": {
|
3768
|
-
"type": "(type: string, values: string[]) => string[]",
|
3769
|
-
"kind": "expression"
|
3770
|
-
}
|
3771
|
-
},
|
3772
|
-
{
|
3773
|
-
"name": "formatter",
|
3774
|
-
"default": "-",
|
3775
|
-
"description": "Option text formatter",
|
3805
|
+
"name": "exchange-button-loading",
|
3806
|
+
"default": "`false`",
|
3807
|
+
"description": "Whether to show loading in exchange button",
|
3776
3808
|
"options": [],
|
3777
3809
|
"value": {
|
3778
|
-
"type": "
|
3810
|
+
"type": "boolean",
|
3779
3811
|
"kind": "expression"
|
3780
3812
|
}
|
3781
3813
|
},
|
3782
3814
|
{
|
3783
|
-
"name": "
|
3784
|
-
"default": "
|
3785
|
-
"description": "
|
3815
|
+
"name": "exchange-button-disabled",
|
3816
|
+
"default": "`false`",
|
3817
|
+
"description": "Whether to disable exchange button",
|
3786
3818
|
"options": [],
|
3787
3819
|
"value": {
|
3788
|
-
"type": "
|
3820
|
+
"type": "boolean",
|
3789
3821
|
"kind": "expression"
|
3790
3822
|
}
|
3791
3823
|
},
|
3792
3824
|
{
|
3793
|
-
"name": "
|
3794
|
-
"default": "`
|
3795
|
-
"description": "
|
3825
|
+
"name": "exchange-min-length",
|
3826
|
+
"default": "`1`",
|
3827
|
+
"description": "Min length to enable exchange button",
|
3796
3828
|
"options": [],
|
3797
3829
|
"value": {
|
3798
|
-
"type": "number
|
3830
|
+
"type": "number",
|
3799
3831
|
"kind": "expression"
|
3800
3832
|
}
|
3801
3833
|
},
|
3802
3834
|
{
|
3803
|
-
"name": "
|
3804
|
-
"default": "
|
3805
|
-
"description": "
|
3835
|
+
"name": "displayed-coupon-index",
|
3836
|
+
"default": "-",
|
3837
|
+
"description": "Index of displayed coupon",
|
3806
3838
|
"options": [],
|
3807
3839
|
"value": {
|
3808
|
-
"type": "number
|
3840
|
+
"type": "number",
|
3809
3841
|
"kind": "expression"
|
3810
3842
|
}
|
3811
3843
|
},
|
3812
3844
|
{
|
3813
|
-
"name": "
|
3814
|
-
"default": "`
|
3815
|
-
"description": "
|
3816
|
-
"options": [],
|
3817
|
-
"value": {
|
3818
|
-
"type": "number | string",
|
3819
|
-
"kind": "expression"
|
3820
|
-
}
|
3821
|
-
}
|
3822
|
-
]
|
3823
|
-
},
|
3824
|
-
{
|
3825
|
-
"name": "van-date-picker",
|
3826
|
-
"slots": [],
|
3827
|
-
"events": [],
|
3828
|
-
"attributes": [
|
3829
|
-
{
|
3830
|
-
"name": "min-date",
|
3831
|
-
"default": "Ten years ago on January 1",
|
3832
|
-
"description": "Min date",
|
3845
|
+
"name": "close-button-text",
|
3846
|
+
"default": "`Close`",
|
3847
|
+
"description": "Close button text",
|
3833
3848
|
"options": [],
|
3834
3849
|
"value": {
|
3835
|
-
"type": "
|
3850
|
+
"type": "string",
|
3836
3851
|
"kind": "expression"
|
3837
3852
|
}
|
3838
3853
|
},
|
3839
3854
|
{
|
3840
|
-
"name": "
|
3841
|
-
"default": "
|
3842
|
-
"description": "
|
3843
|
-
"options": [],
|
3844
|
-
"value": {
|
3845
|
-
"type": "Date",
|
3846
|
-
"kind": "expression"
|
3847
|
-
}
|
3848
|
-
}
|
3849
|
-
]
|
3850
|
-
},
|
3851
|
-
{
|
3852
|
-
"name": "van-time-picker",
|
3853
|
-
"slots": [],
|
3854
|
-
"events": [],
|
3855
|
-
"attributes": [
|
3856
|
-
{
|
3857
|
-
"name": "min-hour",
|
3858
|
-
"default": "`0`",
|
3859
|
-
"description": "Min hour for `time` type",
|
3855
|
+
"name": "input-placeholder",
|
3856
|
+
"default": "`Coupon code`",
|
3857
|
+
"description": "Input placeholder",
|
3860
3858
|
"options": [],
|
3861
3859
|
"value": {
|
3862
|
-
"type": "
|
3860
|
+
"type": "string",
|
3863
3861
|
"kind": "expression"
|
3864
3862
|
}
|
3865
3863
|
},
|
3866
3864
|
{
|
3867
|
-
"name": "
|
3868
|
-
"default": "
|
3869
|
-
"description": "
|
3865
|
+
"name": "currency",
|
3866
|
+
"default": "`¥`",
|
3867
|
+
"description": "Currency symbol",
|
3870
3868
|
"options": [],
|
3871
3869
|
"value": {
|
3872
|
-
"type": "
|
3870
|
+
"type": "string",
|
3873
3871
|
"kind": "expression"
|
3874
3872
|
}
|
3875
3873
|
},
|
3876
3874
|
{
|
3877
|
-
"name": "
|
3878
|
-
"default": "
|
3879
|
-
"description": "
|
3875
|
+
"name": "empty-image",
|
3876
|
+
"default": "-",
|
3877
|
+
"description": "Placeholder image when list is empty",
|
3880
3878
|
"options": [],
|
3881
3879
|
"value": {
|
3882
|
-
"type": "
|
3880
|
+
"type": "string",
|
3883
3881
|
"kind": "expression"
|
3884
3882
|
}
|
3885
3883
|
},
|
3886
3884
|
{
|
3887
|
-
"name": "
|
3888
|
-
"default": "`
|
3889
|
-
"description": "
|
3885
|
+
"name": "show-count",
|
3886
|
+
"default": "`true`",
|
3887
|
+
"description": "Whether to show coupon count in tab title",
|
3890
3888
|
"options": [],
|
3891
3889
|
"value": {
|
3892
|
-
"type": "
|
3890
|
+
"type": "boolean",
|
3893
3891
|
"kind": "expression"
|
3894
3892
|
}
|
3895
3893
|
}
|
3896
3894
|
]
|
3897
3895
|
},
|
3898
3896
|
{
|
3899
|
-
"name": "van-
|
3900
|
-
"slots": [
|
3901
|
-
"events": [],
|
3902
|
-
"attributes": [
|
3897
|
+
"name": "van-datetime-picker",
|
3898
|
+
"slots": [
|
3903
3899
|
{
|
3904
|
-
"name": "
|
3905
|
-
"
|
3906
|
-
"description": "Cell title",
|
3907
|
-
"options": [],
|
3908
|
-
"value": {
|
3909
|
-
"type": "string",
|
3910
|
-
"kind": "expression"
|
3911
|
-
}
|
3900
|
+
"name": "default",
|
3901
|
+
"description": "Custom toolbar content"
|
3912
3902
|
},
|
3913
3903
|
{
|
3914
|
-
"name": "
|
3915
|
-
"
|
3916
|
-
"description": "Index of chosen coupon",
|
3917
|
-
"options": [],
|
3918
|
-
"value": {
|
3919
|
-
"type": "number | string",
|
3920
|
-
"kind": "expression"
|
3921
|
-
}
|
3904
|
+
"name": "title",
|
3905
|
+
"description": "Custom title"
|
3922
3906
|
},
|
3923
3907
|
{
|
3924
|
-
"name": "
|
3925
|
-
"
|
3926
|
-
"description": "Coupon list",
|
3927
|
-
"options": [],
|
3928
|
-
"value": {
|
3929
|
-
"type": "Coupon[]",
|
3930
|
-
"kind": "expression"
|
3931
|
-
}
|
3908
|
+
"name": "confirm",
|
3909
|
+
"description": "Custom confirm button text"
|
3932
3910
|
},
|
3933
3911
|
{
|
3934
|
-
"name": "
|
3935
|
-
"
|
3936
|
-
"description": "Cell editable",
|
3937
|
-
"options": [],
|
3938
|
-
"value": {
|
3939
|
-
"type": "boolean",
|
3940
|
-
"kind": "expression"
|
3941
|
-
}
|
3912
|
+
"name": "cancel",
|
3913
|
+
"description": "Custom cancel button text"
|
3942
3914
|
},
|
3943
3915
|
{
|
3944
|
-
"name": "
|
3945
|
-
"
|
3946
|
-
"description": "Whether to show inner border",
|
3947
|
-
"options": [],
|
3948
|
-
"value": {
|
3949
|
-
"type": "boolean",
|
3950
|
-
"kind": "expression"
|
3951
|
-
}
|
3916
|
+
"name": "option",
|
3917
|
+
"description": "Custom option content"
|
3952
3918
|
},
|
3953
3919
|
{
|
3954
|
-
"name": "
|
3955
|
-
"
|
3956
|
-
"description": "Currency symbol",
|
3957
|
-
"options": [],
|
3958
|
-
"value": {
|
3959
|
-
"type": "string",
|
3960
|
-
"kind": "expression"
|
3961
|
-
}
|
3962
|
-
}
|
3963
|
-
]
|
3964
|
-
},
|
3965
|
-
{
|
3966
|
-
"name": "van-coupon-list",
|
3967
|
-
"slots": [
|
3968
|
-
{
|
3969
|
-
"name": "list-footer",
|
3970
|
-
"description": "Coupon list bottom"
|
3920
|
+
"name": "columns-top",
|
3921
|
+
"description": "Custom content above columns"
|
3971
3922
|
},
|
3972
3923
|
{
|
3973
|
-
"name": "
|
3974
|
-
"description": "
|
3924
|
+
"name": "columns-bottom",
|
3925
|
+
"description": "Custom content below columns"
|
3975
3926
|
}
|
3976
3927
|
],
|
3977
3928
|
"events": [
|
3978
3929
|
{
|
3979
3930
|
"name": "change",
|
3980
|
-
"description": "Emitted when
|
3931
|
+
"description": "Emitted when value changed",
|
3981
3932
|
"arguments": [
|
3982
3933
|
{
|
3983
|
-
"name": "
|
3984
|
-
"type": "
|
3934
|
+
"name": "value",
|
3935
|
+
"type": "current value"
|
3985
3936
|
}
|
3986
3937
|
]
|
3987
3938
|
},
|
3988
3939
|
{
|
3989
|
-
"name": "
|
3990
|
-
"description": "Emitted when
|
3940
|
+
"name": "confirm",
|
3941
|
+
"description": "Emitted when the confirm button is clicked",
|
3991
3942
|
"arguments": [
|
3992
3943
|
{
|
3993
|
-
"name": "
|
3994
|
-
"type": "
|
3944
|
+
"name": "value",
|
3945
|
+
"type": "current value"
|
3995
3946
|
}
|
3996
3947
|
]
|
3948
|
+
},
|
3949
|
+
{
|
3950
|
+
"name": "cancel",
|
3951
|
+
"description": "Emitted when the cancel button is clicked",
|
3952
|
+
"arguments": []
|
3997
3953
|
}
|
3998
3954
|
],
|
3999
3955
|
"attributes": [
|
4000
3956
|
{
|
4001
|
-
"name": "
|
4002
|
-
"default": "
|
4003
|
-
"description": "
|
3957
|
+
"name": "type",
|
3958
|
+
"default": "`datetime`",
|
3959
|
+
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
|
4004
3960
|
"options": [],
|
4005
3961
|
"value": {
|
4006
3962
|
"type": "string",
|
@@ -4008,152 +3964,196 @@
|
|
4008
3964
|
}
|
4009
3965
|
},
|
4010
3966
|
{
|
4011
|
-
"name": "
|
4012
|
-
"default": "
|
4013
|
-
"description": "
|
3967
|
+
"name": "title",
|
3968
|
+
"default": "`''`",
|
3969
|
+
"description": "Toolbar title",
|
4014
3970
|
"options": [],
|
4015
3971
|
"value": {
|
4016
|
-
"type": "
|
3972
|
+
"type": "string",
|
4017
3973
|
"kind": "expression"
|
4018
3974
|
}
|
4019
3975
|
},
|
4020
3976
|
{
|
4021
|
-
"name": "
|
4022
|
-
"default": "`
|
4023
|
-
"description": "
|
3977
|
+
"name": "confirm-button-text",
|
3978
|
+
"default": "`Confirm`",
|
3979
|
+
"description": "Text of confirm button",
|
4024
3980
|
"options": [],
|
4025
3981
|
"value": {
|
4026
|
-
"type": "
|
3982
|
+
"type": "string",
|
4027
3983
|
"kind": "expression"
|
4028
3984
|
}
|
4029
3985
|
},
|
4030
3986
|
{
|
4031
|
-
"name": "
|
4032
|
-
"default": "`
|
4033
|
-
"description": "
|
3987
|
+
"name": "cancel-button-text",
|
3988
|
+
"default": "`Cancel`",
|
3989
|
+
"description": "Text of cancel button",
|
4034
3990
|
"options": [],
|
4035
3991
|
"value": {
|
4036
|
-
"type": "
|
3992
|
+
"type": "string",
|
4037
3993
|
"kind": "expression"
|
4038
3994
|
}
|
4039
3995
|
},
|
4040
3996
|
{
|
4041
|
-
"name": "
|
4042
|
-
"default": "`
|
4043
|
-
"description": "
|
3997
|
+
"name": "show-toolbar",
|
3998
|
+
"default": "`true`",
|
3999
|
+
"description": "Whether to show toolbar",
|
4044
4000
|
"options": [],
|
4045
4001
|
"value": {
|
4046
|
-
"type": "
|
4002
|
+
"type": "boolean",
|
4047
4003
|
"kind": "expression"
|
4048
4004
|
}
|
4049
4005
|
},
|
4050
4006
|
{
|
4051
|
-
"name": "
|
4052
|
-
"default": "`
|
4053
|
-
"description": "
|
4007
|
+
"name": "loading",
|
4008
|
+
"default": "`false`",
|
4009
|
+
"description": "Whether to show loading prompt",
|
4054
4010
|
"options": [],
|
4055
4011
|
"value": {
|
4056
|
-
"type": "
|
4012
|
+
"type": "boolean",
|
4057
4013
|
"kind": "expression"
|
4058
4014
|
}
|
4059
4015
|
},
|
4060
4016
|
{
|
4061
|
-
"name": "
|
4062
|
-
"default": "`
|
4063
|
-
"description": "
|
4017
|
+
"name": "readonly",
|
4018
|
+
"default": "`false`",
|
4019
|
+
"description": "Whether to be readonly",
|
4064
4020
|
"options": [],
|
4065
4021
|
"value": {
|
4066
|
-
"type": "
|
4022
|
+
"type": "boolean",
|
4067
4023
|
"kind": "expression"
|
4068
4024
|
}
|
4069
4025
|
},
|
4070
4026
|
{
|
4071
|
-
"name": "
|
4072
|
-
"default": "
|
4073
|
-
"description": "
|
4027
|
+
"name": "filter",
|
4028
|
+
"default": "-",
|
4029
|
+
"description": "Option filter",
|
4074
4030
|
"options": [],
|
4075
4031
|
"value": {
|
4076
|
-
"type": "
|
4032
|
+
"type": "(type: string, values: string[]) => string[]",
|
4077
4033
|
"kind": "expression"
|
4078
4034
|
}
|
4079
4035
|
},
|
4080
4036
|
{
|
4081
|
-
"name": "
|
4082
|
-
"default": "
|
4083
|
-
"description": "
|
4037
|
+
"name": "formatter",
|
4038
|
+
"default": "-",
|
4039
|
+
"description": "Option text formatter",
|
4084
4040
|
"options": [],
|
4085
4041
|
"value": {
|
4086
|
-
"type": "
|
4042
|
+
"type": "(type: string, value: string) => string",
|
4087
4043
|
"kind": "expression"
|
4088
4044
|
}
|
4089
4045
|
},
|
4090
4046
|
{
|
4091
|
-
"name": "
|
4092
|
-
"default": "
|
4093
|
-
"description": "
|
4047
|
+
"name": "columns-order",
|
4048
|
+
"default": "-",
|
4049
|
+
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
|
4094
4050
|
"options": [],
|
4095
4051
|
"value": {
|
4096
|
-
"type": "
|
4052
|
+
"type": "string[]",
|
4097
4053
|
"kind": "expression"
|
4098
4054
|
}
|
4099
4055
|
},
|
4100
4056
|
{
|
4101
|
-
"name": "
|
4102
|
-
"default": "
|
4103
|
-
"description": "
|
4057
|
+
"name": "item-height",
|
4058
|
+
"default": "`44`",
|
4059
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
4104
4060
|
"options": [],
|
4105
4061
|
"value": {
|
4106
|
-
"type": "number",
|
4062
|
+
"type": "number | string",
|
4107
4063
|
"kind": "expression"
|
4108
4064
|
}
|
4109
4065
|
},
|
4110
4066
|
{
|
4111
|
-
"name": "
|
4112
|
-
"default": "`
|
4113
|
-
"description": "
|
4067
|
+
"name": "visible-item-count",
|
4068
|
+
"default": "`6`",
|
4069
|
+
"description": "Count of visible columns",
|
4114
4070
|
"options": [],
|
4115
4071
|
"value": {
|
4116
|
-
"type": "string",
|
4072
|
+
"type": "number | string",
|
4117
4073
|
"kind": "expression"
|
4118
4074
|
}
|
4119
4075
|
},
|
4120
4076
|
{
|
4121
|
-
"name": "
|
4122
|
-
"default": "`
|
4123
|
-
"description": "
|
4077
|
+
"name": "swipe-duration",
|
4078
|
+
"default": "`1000`",
|
4079
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
4124
4080
|
"options": [],
|
4125
4081
|
"value": {
|
4126
|
-
"type": "string",
|
4082
|
+
"type": "number | string",
|
4083
|
+
"kind": "expression"
|
4084
|
+
}
|
4085
|
+
}
|
4086
|
+
]
|
4087
|
+
},
|
4088
|
+
{
|
4089
|
+
"name": "van-date-picker",
|
4090
|
+
"slots": [],
|
4091
|
+
"events": [],
|
4092
|
+
"attributes": [
|
4093
|
+
{
|
4094
|
+
"name": "min-date",
|
4095
|
+
"default": "Ten years ago on January 1",
|
4096
|
+
"description": "Min date",
|
4097
|
+
"options": [],
|
4098
|
+
"value": {
|
4099
|
+
"type": "Date",
|
4127
4100
|
"kind": "expression"
|
4128
4101
|
}
|
4129
4102
|
},
|
4130
4103
|
{
|
4131
|
-
"name": "
|
4132
|
-
"default": "
|
4133
|
-
"description": "
|
4104
|
+
"name": "max-date",
|
4105
|
+
"default": "Ten years later on December 31",
|
4106
|
+
"description": "Max date",
|
4134
4107
|
"options": [],
|
4135
4108
|
"value": {
|
4136
|
-
"type": "
|
4109
|
+
"type": "Date",
|
4110
|
+
"kind": "expression"
|
4111
|
+
}
|
4112
|
+
}
|
4113
|
+
]
|
4114
|
+
},
|
4115
|
+
{
|
4116
|
+
"name": "van-time-picker",
|
4117
|
+
"slots": [],
|
4118
|
+
"events": [],
|
4119
|
+
"attributes": [
|
4120
|
+
{
|
4121
|
+
"name": "min-hour",
|
4122
|
+
"default": "`0`",
|
4123
|
+
"description": "Min hour for `time` type",
|
4124
|
+
"options": [],
|
4125
|
+
"value": {
|
4126
|
+
"type": "number | string",
|
4137
4127
|
"kind": "expression"
|
4138
4128
|
}
|
4139
4129
|
},
|
4140
4130
|
{
|
4141
|
-
"name": "
|
4142
|
-
"default": "
|
4143
|
-
"description": "
|
4131
|
+
"name": "max-hour",
|
4132
|
+
"default": "`23`",
|
4133
|
+
"description": "Max hour for `time` type",
|
4144
4134
|
"options": [],
|
4145
4135
|
"value": {
|
4146
|
-
"type": "string",
|
4136
|
+
"type": "number | string",
|
4147
4137
|
"kind": "expression"
|
4148
4138
|
}
|
4149
4139
|
},
|
4150
4140
|
{
|
4151
|
-
"name": "
|
4152
|
-
"default": "`
|
4153
|
-
"description": "
|
4141
|
+
"name": "min-minute",
|
4142
|
+
"default": "`0`",
|
4143
|
+
"description": "Max minute for `time` type",
|
4154
4144
|
"options": [],
|
4155
4145
|
"value": {
|
4156
|
-
"type": "
|
4146
|
+
"type": "number | string",
|
4147
|
+
"kind": "expression"
|
4148
|
+
}
|
4149
|
+
},
|
4150
|
+
{
|
4151
|
+
"name": "max-minute",
|
4152
|
+
"default": "`59`",
|
4153
|
+
"description": "Max minute for `time` type",
|
4154
|
+
"options": [],
|
4155
|
+
"value": {
|
4156
|
+
"type": "number | string",
|
4157
4157
|
"kind": "expression"
|
4158
4158
|
}
|
4159
4159
|
}
|
@@ -4251,7 +4251,7 @@
|
|
4251
4251
|
{
|
4252
4252
|
"name": "message-align",
|
4253
4253
|
"default": "`center`",
|
4254
|
-
"description": "Message align, can be set to `left` `right`",
|
4254
|
+
"description": "Message align, can be set to `left` `right` `justify`",
|
4255
4255
|
"options": [],
|
4256
4256
|
"value": {
|
4257
4257
|
"type": "string",
|
@@ -5865,6 +5865,16 @@
|
|
5865
5865
|
"kind": "expression"
|
5866
5866
|
}
|
5867
5867
|
},
|
5868
|
+
{
|
5869
|
+
"name": "block",
|
5870
|
+
"default": "`false`",
|
5871
|
+
"description": "Whether the root node is a block element",
|
5872
|
+
"options": [],
|
5873
|
+
"value": {
|
5874
|
+
"type": "boolean",
|
5875
|
+
"kind": "expression"
|
5876
|
+
}
|
5877
|
+
},
|
5868
5878
|
{
|
5869
5879
|
"name": "lazy-load",
|
5870
5880
|
"default": "`false`",
|
@@ -7486,72 +7496,74 @@
|
|
7486
7496
|
]
|
7487
7497
|
},
|
7488
7498
|
{
|
7489
|
-
"name": "van-
|
7499
|
+
"name": "van-popup",
|
7490
7500
|
"slots": [
|
7491
7501
|
{
|
7492
7502
|
"name": "default",
|
7493
|
-
"description": "
|
7494
|
-
},
|
7495
|
-
{
|
7496
|
-
"name": "reference",
|
7497
|
-
"description": "Reference Element"
|
7503
|
+
"description": "Content of Popup"
|
7498
7504
|
},
|
7499
7505
|
{
|
7500
|
-
"name": "
|
7501
|
-
"description": "
|
7506
|
+
"name": "overlay-content",
|
7507
|
+
"description": "Content of Popup overlay"
|
7502
7508
|
}
|
7503
7509
|
],
|
7504
7510
|
"events": [
|
7505
7511
|
{
|
7506
|
-
"name": "
|
7507
|
-
"description": "Emitted when
|
7512
|
+
"name": "click",
|
7513
|
+
"description": "Emitted when Popup is clicked",
|
7508
7514
|
"arguments": [
|
7509
7515
|
{
|
7510
|
-
"name": "
|
7511
|
-
"type": "
|
7512
|
-
}
|
7516
|
+
"name": "event",
|
7517
|
+
"type": "MouseEvent"
|
7518
|
+
}
|
7519
|
+
]
|
7520
|
+
},
|
7521
|
+
{
|
7522
|
+
"name": "click-overlay",
|
7523
|
+
"description": "Emitted when overlay is clicked",
|
7524
|
+
"arguments": [
|
7513
7525
|
{
|
7514
|
-
"name": "
|
7515
|
-
"type": "
|
7526
|
+
"name": "event",
|
7527
|
+
"type": "MouseEvent"
|
7528
|
+
}
|
7529
|
+
]
|
7530
|
+
},
|
7531
|
+
{
|
7532
|
+
"name": "click-close-icon",
|
7533
|
+
"description": "Emitted when close icon is clicked",
|
7534
|
+
"arguments": [
|
7535
|
+
{
|
7536
|
+
"name": "event",
|
7537
|
+
"type": "MouseEvent"
|
7516
7538
|
}
|
7517
7539
|
]
|
7518
7540
|
},
|
7519
7541
|
{
|
7520
7542
|
"name": "open",
|
7521
|
-
"description": "Emitted when opening
|
7543
|
+
"description": "Emitted when opening Popup",
|
7522
7544
|
"arguments": []
|
7523
7545
|
},
|
7524
7546
|
{
|
7525
7547
|
"name": "close",
|
7526
|
-
"description": "Emitted when closing
|
7548
|
+
"description": "Emitted when closing Popup",
|
7527
7549
|
"arguments": []
|
7528
7550
|
},
|
7529
7551
|
{
|
7530
7552
|
"name": "opened",
|
7531
|
-
"description": "Emitted when
|
7553
|
+
"description": "Emitted when Popup is opened",
|
7532
7554
|
"arguments": []
|
7533
7555
|
},
|
7534
7556
|
{
|
7535
7557
|
"name": "closed",
|
7536
|
-
"description": "Emitted when
|
7558
|
+
"description": "Emitted when Popup is closed",
|
7537
7559
|
"arguments": []
|
7538
|
-
},
|
7539
|
-
{
|
7540
|
-
"name": "click-overlay",
|
7541
|
-
"description": "Emitted when overlay is clicked",
|
7542
|
-
"arguments": [
|
7543
|
-
{
|
7544
|
-
"name": "event",
|
7545
|
-
"type": "MouseEvent"
|
7546
|
-
}
|
7547
|
-
]
|
7548
7560
|
}
|
7549
7561
|
],
|
7550
7562
|
"attributes": [
|
7551
7563
|
{
|
7552
7564
|
"name": "v-model:show",
|
7553
7565
|
"default": "`false`",
|
7554
|
-
"description": "Whether to show
|
7566
|
+
"description": "Whether to show popup",
|
7555
7567
|
"options": [],
|
7556
7568
|
"value": {
|
7557
7569
|
"type": "boolean",
|
@@ -7559,42 +7571,42 @@
|
|
7559
7571
|
}
|
7560
7572
|
},
|
7561
7573
|
{
|
7562
|
-
"name": "
|
7563
|
-
"default": "`
|
7564
|
-
"description": "
|
7574
|
+
"name": "overlay",
|
7575
|
+
"default": "`true`",
|
7576
|
+
"description": "Whether to show overlay",
|
7565
7577
|
"options": [],
|
7566
7578
|
"value": {
|
7567
|
-
"type": "
|
7579
|
+
"type": "boolean",
|
7568
7580
|
"kind": "expression"
|
7569
7581
|
}
|
7570
7582
|
},
|
7571
7583
|
{
|
7572
|
-
"name": "
|
7573
|
-
"default": "`
|
7574
|
-
"description": "
|
7584
|
+
"name": "position",
|
7585
|
+
"default": "`center`",
|
7586
|
+
"description": "Can be set to `top` `bottom` `right` `left`",
|
7575
7587
|
"options": [],
|
7576
7588
|
"value": {
|
7577
|
-
"type": "
|
7589
|
+
"type": "string",
|
7578
7590
|
"kind": "expression"
|
7579
7591
|
}
|
7580
7592
|
},
|
7581
7593
|
{
|
7582
|
-
"name": "
|
7583
|
-
"default": "
|
7584
|
-
"description": "
|
7594
|
+
"name": "overlay-class",
|
7595
|
+
"default": "-",
|
7596
|
+
"description": "Custom overlay class",
|
7585
7597
|
"options": [],
|
7586
7598
|
"value": {
|
7587
|
-
"type": "
|
7599
|
+
"type": "string | Array | object",
|
7588
7600
|
"kind": "expression"
|
7589
7601
|
}
|
7590
7602
|
},
|
7591
7603
|
{
|
7592
|
-
"name": "
|
7593
|
-
"default": "
|
7594
|
-
"description": "
|
7604
|
+
"name": "overlay-style",
|
7605
|
+
"default": "-",
|
7606
|
+
"description": "Custom overlay style",
|
7595
7607
|
"options": [],
|
7596
7608
|
"value": {
|
7597
|
-
"type": "
|
7609
|
+
"type": "object",
|
7598
7610
|
"kind": "expression"
|
7599
7611
|
}
|
7600
7612
|
},
|
@@ -7609,19 +7621,19 @@
|
|
7609
7621
|
}
|
7610
7622
|
},
|
7611
7623
|
{
|
7612
|
-
"name": "
|
7613
|
-
"default": "`
|
7614
|
-
"description": "
|
7624
|
+
"name": "round",
|
7625
|
+
"default": "`false`",
|
7626
|
+
"description": "Whether to show round corner",
|
7615
7627
|
"options": [],
|
7616
7628
|
"value": {
|
7617
|
-
"type": "
|
7629
|
+
"type": "boolean",
|
7618
7630
|
"kind": "expression"
|
7619
7631
|
}
|
7620
7632
|
},
|
7621
7633
|
{
|
7622
|
-
"name": "
|
7623
|
-
"default": "`
|
7624
|
-
"description": "Whether to
|
7634
|
+
"name": "lock-scroll",
|
7635
|
+
"default": "`true`",
|
7636
|
+
"description": "Whether to lock background scroll",
|
7625
7637
|
"options": [],
|
7626
7638
|
"value": {
|
7627
7639
|
"type": "boolean",
|
@@ -7629,29 +7641,29 @@
|
|
7629
7641
|
}
|
7630
7642
|
},
|
7631
7643
|
{
|
7632
|
-
"name": "
|
7633
|
-
"default": "
|
7634
|
-
"description": "
|
7644
|
+
"name": "lazy-render",
|
7645
|
+
"default": "`true`",
|
7646
|
+
"description": "Whether to lazy render util appeared",
|
7635
7647
|
"options": [],
|
7636
7648
|
"value": {
|
7637
|
-
"type": "
|
7649
|
+
"type": "boolean",
|
7638
7650
|
"kind": "expression"
|
7639
7651
|
}
|
7640
7652
|
},
|
7641
7653
|
{
|
7642
|
-
"name": "
|
7643
|
-
"default": "
|
7644
|
-
"description": "
|
7654
|
+
"name": "close-on-popstate",
|
7655
|
+
"default": "`false`",
|
7656
|
+
"description": "Whether to close when popstate",
|
7645
7657
|
"options": [],
|
7646
7658
|
"value": {
|
7647
|
-
"type": "
|
7659
|
+
"type": "boolean",
|
7648
7660
|
"kind": "expression"
|
7649
7661
|
}
|
7650
7662
|
},
|
7651
7663
|
{
|
7652
|
-
"name": "
|
7664
|
+
"name": "close-on-click-overlay",
|
7653
7665
|
"default": "`true`",
|
7654
|
-
"description": "Whether to
|
7666
|
+
"description": "Whether to close when overlay is clicked",
|
7655
7667
|
"options": [],
|
7656
7668
|
"value": {
|
7657
7669
|
"type": "boolean",
|
@@ -7659,9 +7671,9 @@
|
|
7659
7671
|
}
|
7660
7672
|
},
|
7661
7673
|
{
|
7662
|
-
"name": "
|
7663
|
-
"default": "`
|
7664
|
-
"description": "Whether to close
|
7674
|
+
"name": "closeable",
|
7675
|
+
"default": "`false`",
|
7676
|
+
"description": "Whether to show close icon",
|
7665
7677
|
"options": [],
|
7666
7678
|
"value": {
|
7667
7679
|
"type": "boolean",
|
@@ -7669,32 +7681,32 @@
|
|
7669
7681
|
}
|
7670
7682
|
},
|
7671
7683
|
{
|
7672
|
-
"name": "close-
|
7673
|
-
"default": "`
|
7674
|
-
"description": "
|
7684
|
+
"name": "close-icon",
|
7685
|
+
"default": "`cross`",
|
7686
|
+
"description": "Close icon name",
|
7675
7687
|
"options": [],
|
7676
7688
|
"value": {
|
7677
|
-
"type": "
|
7689
|
+
"type": "string",
|
7678
7690
|
"kind": "expression"
|
7679
7691
|
}
|
7680
7692
|
},
|
7681
7693
|
{
|
7682
|
-
"name": "close-
|
7683
|
-
"default": "`
|
7684
|
-
"description": "
|
7694
|
+
"name": "close-icon-position",
|
7695
|
+
"default": "`top-right`",
|
7696
|
+
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
|
7685
7697
|
"options": [],
|
7686
7698
|
"value": {
|
7687
|
-
"type": "
|
7699
|
+
"type": "string",
|
7688
7700
|
"kind": "expression"
|
7689
7701
|
}
|
7690
7702
|
},
|
7691
7703
|
{
|
7692
|
-
"name": "
|
7693
|
-
"default": "
|
7694
|
-
"description": "
|
7704
|
+
"name": "before-close",
|
7705
|
+
"default": "-",
|
7706
|
+
"description": "Callback function before close",
|
7695
7707
|
"options": [],
|
7696
7708
|
"value": {
|
7697
|
-
"type": "string |
|
7709
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
7698
7710
|
"kind": "expression"
|
7699
7711
|
}
|
7700
7712
|
},
|
@@ -7707,188 +7719,196 @@
|
|
7707
7719
|
"type": "string",
|
7708
7720
|
"kind": "expression"
|
7709
7721
|
}
|
7722
|
+
},
|
7723
|
+
{
|
7724
|
+
"name": "transition",
|
7725
|
+
"default": "-",
|
7726
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
7727
|
+
"options": [],
|
7728
|
+
"value": {
|
7729
|
+
"type": "string",
|
7730
|
+
"kind": "expression"
|
7731
|
+
}
|
7732
|
+
},
|
7733
|
+
{
|
7734
|
+
"name": "transition-appear",
|
7735
|
+
"default": "`false`",
|
7736
|
+
"description": "Whether to apply transition on initial render",
|
7737
|
+
"options": [],
|
7738
|
+
"value": {
|
7739
|
+
"type": "boolean",
|
7740
|
+
"kind": "expression"
|
7741
|
+
}
|
7742
|
+
},
|
7743
|
+
{
|
7744
|
+
"name": "teleport",
|
7745
|
+
"default": "-",
|
7746
|
+
"description": "Specifies a target element where Popup will be mounted",
|
7747
|
+
"options": [],
|
7748
|
+
"value": {
|
7749
|
+
"type": "string | Element",
|
7750
|
+
"kind": "expression"
|
7751
|
+
}
|
7752
|
+
},
|
7753
|
+
{
|
7754
|
+
"name": "safe-area-inset-top",
|
7755
|
+
"default": "`false`",
|
7756
|
+
"description": "Whether to enable top safe area adaptation",
|
7757
|
+
"options": [],
|
7758
|
+
"value": {
|
7759
|
+
"type": "boolean",
|
7760
|
+
"kind": "expression"
|
7761
|
+
}
|
7762
|
+
},
|
7763
|
+
{
|
7764
|
+
"name": "safe-area-inset-bottom",
|
7765
|
+
"default": "`false`",
|
7766
|
+
"description": "Whether to enable bottom safe area adaptation",
|
7767
|
+
"options": [],
|
7768
|
+
"value": {
|
7769
|
+
"type": "boolean",
|
7770
|
+
"kind": "expression"
|
7771
|
+
}
|
7710
7772
|
}
|
7711
7773
|
]
|
7712
7774
|
},
|
7713
7775
|
{
|
7714
|
-
"name": "van-
|
7776
|
+
"name": "van-popover",
|
7715
7777
|
"slots": [
|
7716
7778
|
{
|
7717
7779
|
"name": "default",
|
7718
|
-
"description": "
|
7780
|
+
"description": "Custom content"
|
7719
7781
|
},
|
7720
7782
|
{
|
7721
|
-
"name": "
|
7722
|
-
"description": "
|
7783
|
+
"name": "reference",
|
7784
|
+
"description": "Reference Element"
|
7785
|
+
},
|
7786
|
+
{
|
7787
|
+
"name": "action",
|
7788
|
+
"description": "Custom the content of option"
|
7723
7789
|
}
|
7724
7790
|
],
|
7725
7791
|
"events": [
|
7726
7792
|
{
|
7727
|
-
"name": "
|
7728
|
-
"description": "Emitted when
|
7729
|
-
"arguments": [
|
7730
|
-
{
|
7731
|
-
"name": "event",
|
7732
|
-
"type": "MouseEvent"
|
7733
|
-
}
|
7734
|
-
]
|
7735
|
-
},
|
7736
|
-
{
|
7737
|
-
"name": "click-overlay",
|
7738
|
-
"description": "Emitted when overlay is clicked",
|
7793
|
+
"name": "select",
|
7794
|
+
"description": "Emitted when an action is clicked",
|
7739
7795
|
"arguments": [
|
7740
7796
|
{
|
7741
|
-
"name": "
|
7742
|
-
"type": "
|
7743
|
-
}
|
7744
|
-
]
|
7745
|
-
},
|
7746
|
-
{
|
7747
|
-
"name": "click-close-icon",
|
7748
|
-
"description": "Emitted when close icon is clicked",
|
7749
|
-
"arguments": [
|
7797
|
+
"name": "action",
|
7798
|
+
"type": "PopoverAction"
|
7799
|
+
},
|
7750
7800
|
{
|
7751
|
-
"name": "
|
7752
|
-
"type": "
|
7801
|
+
"name": "index",
|
7802
|
+
"type": "number"
|
7753
7803
|
}
|
7754
7804
|
]
|
7755
7805
|
},
|
7756
7806
|
{
|
7757
7807
|
"name": "open",
|
7758
|
-
"description": "Emitted when opening
|
7808
|
+
"description": "Emitted when opening Popover",
|
7759
7809
|
"arguments": []
|
7760
7810
|
},
|
7761
7811
|
{
|
7762
7812
|
"name": "close",
|
7763
|
-
"description": "Emitted when closing
|
7813
|
+
"description": "Emitted when closing Popover",
|
7764
7814
|
"arguments": []
|
7765
7815
|
},
|
7766
7816
|
{
|
7767
7817
|
"name": "opened",
|
7768
|
-
"description": "Emitted when
|
7818
|
+
"description": "Emitted when Popover is opened",
|
7769
7819
|
"arguments": []
|
7770
7820
|
},
|
7771
7821
|
{
|
7772
7822
|
"name": "closed",
|
7773
|
-
"description": "Emitted when
|
7823
|
+
"description": "Emitted when Popover is closed",
|
7774
7824
|
"arguments": []
|
7775
|
-
}
|
7776
|
-
],
|
7777
|
-
"attributes": [
|
7778
|
-
{
|
7779
|
-
"name": "v-model:show",
|
7780
|
-
"default": "`false`",
|
7781
|
-
"description": "Whether to show popup",
|
7782
|
-
"options": [],
|
7783
|
-
"value": {
|
7784
|
-
"type": "boolean",
|
7785
|
-
"kind": "expression"
|
7786
|
-
}
|
7787
|
-
},
|
7788
|
-
{
|
7789
|
-
"name": "overlay",
|
7790
|
-
"default": "`true`",
|
7791
|
-
"description": "Whether to show overlay",
|
7792
|
-
"options": [],
|
7793
|
-
"value": {
|
7794
|
-
"type": "boolean",
|
7795
|
-
"kind": "expression"
|
7796
|
-
}
|
7797
|
-
},
|
7798
|
-
{
|
7799
|
-
"name": "position",
|
7800
|
-
"default": "`center`",
|
7801
|
-
"description": "Can be set to `top` `bottom` `right` `left`",
|
7802
|
-
"options": [],
|
7803
|
-
"value": {
|
7804
|
-
"type": "string",
|
7805
|
-
"kind": "expression"
|
7806
|
-
}
|
7807
7825
|
},
|
7808
7826
|
{
|
7809
|
-
"name": "overlay
|
7810
|
-
"
|
7811
|
-
"
|
7812
|
-
|
7813
|
-
|
7814
|
-
|
7815
|
-
|
7816
|
-
|
7817
|
-
}
|
7827
|
+
"name": "click-overlay",
|
7828
|
+
"description": "Emitted when overlay is clicked",
|
7829
|
+
"arguments": [
|
7830
|
+
{
|
7831
|
+
"name": "event",
|
7832
|
+
"type": "MouseEvent"
|
7833
|
+
}
|
7834
|
+
]
|
7835
|
+
}
|
7836
|
+
],
|
7837
|
+
"attributes": [
|
7818
7838
|
{
|
7819
|
-
"name": "
|
7820
|
-
"default": "
|
7821
|
-
"description": "
|
7839
|
+
"name": "v-model:show",
|
7840
|
+
"default": "`false`",
|
7841
|
+
"description": "Whether to show Popover",
|
7822
7842
|
"options": [],
|
7823
7843
|
"value": {
|
7824
|
-
"type": "
|
7844
|
+
"type": "boolean",
|
7825
7845
|
"kind": "expression"
|
7826
7846
|
}
|
7827
7847
|
},
|
7828
7848
|
{
|
7829
|
-
"name": "
|
7830
|
-
"default": "`
|
7831
|
-
"description": "
|
7849
|
+
"name": "actions",
|
7850
|
+
"default": "`[]`",
|
7851
|
+
"description": "Actions",
|
7832
7852
|
"options": [],
|
7833
7853
|
"value": {
|
7834
|
-
"type": "
|
7854
|
+
"type": "PopoverAction[]",
|
7835
7855
|
"kind": "expression"
|
7836
7856
|
}
|
7837
7857
|
},
|
7838
7858
|
{
|
7839
|
-
"name": "
|
7840
|
-
"default": "`
|
7841
|
-
"description": "
|
7859
|
+
"name": "placement",
|
7860
|
+
"default": "`bottom`",
|
7861
|
+
"description": "Placement",
|
7842
7862
|
"options": [],
|
7843
7863
|
"value": {
|
7844
|
-
"type": "
|
7864
|
+
"type": "PopoverPlacement",
|
7845
7865
|
"kind": "expression"
|
7846
7866
|
}
|
7847
7867
|
},
|
7848
7868
|
{
|
7849
|
-
"name": "
|
7850
|
-
"default": "`
|
7851
|
-
"description": "
|
7869
|
+
"name": "theme",
|
7870
|
+
"default": "`light`",
|
7871
|
+
"description": "Theme, can be set to `dark`",
|
7852
7872
|
"options": [],
|
7853
7873
|
"value": {
|
7854
|
-
"type": "
|
7874
|
+
"type": "PopoverTheme",
|
7855
7875
|
"kind": "expression"
|
7856
7876
|
}
|
7857
7877
|
},
|
7858
7878
|
{
|
7859
|
-
"name": "
|
7860
|
-
"default": "`
|
7861
|
-
"description": "
|
7879
|
+
"name": "trigger",
|
7880
|
+
"default": "`click`",
|
7881
|
+
"description": "Trigger mode, can be set to `manual`",
|
7862
7882
|
"options": [],
|
7863
7883
|
"value": {
|
7864
|
-
"type": "
|
7884
|
+
"type": "PopoverTrigger",
|
7865
7885
|
"kind": "expression"
|
7866
7886
|
}
|
7867
7887
|
},
|
7868
7888
|
{
|
7869
|
-
"name": "
|
7870
|
-
"default": "`
|
7871
|
-
"description": "
|
7889
|
+
"name": "duration",
|
7890
|
+
"default": "`0.3`",
|
7891
|
+
"description": "Transition duration, unit second",
|
7872
7892
|
"options": [],
|
7873
7893
|
"value": {
|
7874
|
-
"type": "
|
7894
|
+
"type": "number | string",
|
7875
7895
|
"kind": "expression"
|
7876
7896
|
}
|
7877
7897
|
},
|
7878
7898
|
{
|
7879
|
-
"name": "
|
7880
|
-
"default": "`
|
7881
|
-
"description": "
|
7899
|
+
"name": "offset",
|
7900
|
+
"default": "`[0, 8]`",
|
7901
|
+
"description": "Distance to reference",
|
7882
7902
|
"options": [],
|
7883
7903
|
"value": {
|
7884
|
-
"type": "
|
7904
|
+
"type": "[number, number]",
|
7885
7905
|
"kind": "expression"
|
7886
7906
|
}
|
7887
7907
|
},
|
7888
7908
|
{
|
7889
|
-
"name": "
|
7909
|
+
"name": "overlay",
|
7890
7910
|
"default": "`false`",
|
7891
|
-
"description": "Whether to show
|
7911
|
+
"description": "Whether to show overlay",
|
7892
7912
|
"options": [],
|
7893
7913
|
"value": {
|
7894
7914
|
"type": "boolean",
|
@@ -7896,59 +7916,59 @@
|
|
7896
7916
|
}
|
7897
7917
|
},
|
7898
7918
|
{
|
7899
|
-
"name": "
|
7900
|
-
"default": "
|
7901
|
-
"description": "
|
7919
|
+
"name": "overlay-class",
|
7920
|
+
"default": "-",
|
7921
|
+
"description": "Custom overlay class",
|
7902
7922
|
"options": [],
|
7903
7923
|
"value": {
|
7904
|
-
"type": "string",
|
7924
|
+
"type": "string | Array | object",
|
7905
7925
|
"kind": "expression"
|
7906
7926
|
}
|
7907
7927
|
},
|
7908
7928
|
{
|
7909
|
-
"name": "
|
7910
|
-
"default": "
|
7911
|
-
"description": "
|
7929
|
+
"name": "overlay-style",
|
7930
|
+
"default": "-",
|
7931
|
+
"description": "Custom overlay style",
|
7912
7932
|
"options": [],
|
7913
7933
|
"value": {
|
7914
|
-
"type": "
|
7934
|
+
"type": "object",
|
7915
7935
|
"kind": "expression"
|
7916
7936
|
}
|
7917
7937
|
},
|
7918
7938
|
{
|
7919
|
-
"name": "
|
7920
|
-
"default": "
|
7921
|
-
"description": "
|
7939
|
+
"name": "show-arrow",
|
7940
|
+
"default": "`true`",
|
7941
|
+
"description": "Whether to show arrow",
|
7922
7942
|
"options": [],
|
7923
7943
|
"value": {
|
7924
|
-
"type": "
|
7944
|
+
"type": "boolean",
|
7925
7945
|
"kind": "expression"
|
7926
7946
|
}
|
7927
7947
|
},
|
7928
7948
|
{
|
7929
|
-
"name": "
|
7930
|
-
"default": "`
|
7931
|
-
"description": "
|
7949
|
+
"name": "close-on-click-action",
|
7950
|
+
"default": "`true`",
|
7951
|
+
"description": "Whether to close when clicking action",
|
7932
7952
|
"options": [],
|
7933
7953
|
"value": {
|
7934
|
-
"type": "
|
7954
|
+
"type": "boolean",
|
7935
7955
|
"kind": "expression"
|
7936
7956
|
}
|
7937
7957
|
},
|
7938
7958
|
{
|
7939
|
-
"name": "
|
7940
|
-
"default": "
|
7941
|
-
"description": "
|
7959
|
+
"name": "close-on-click-outside",
|
7960
|
+
"default": "`true`",
|
7961
|
+
"description": "Whether to close when clicking outside",
|
7942
7962
|
"options": [],
|
7943
7963
|
"value": {
|
7944
|
-
"type": "
|
7964
|
+
"type": "boolean",
|
7945
7965
|
"kind": "expression"
|
7946
7966
|
}
|
7947
7967
|
},
|
7948
7968
|
{
|
7949
|
-
"name": "
|
7950
|
-
"default": "`
|
7951
|
-
"description": "Whether to
|
7969
|
+
"name": "close-on-click-overlay",
|
7970
|
+
"default": "`true`",
|
7971
|
+
"description": "Whether to close when clicking overlay",
|
7952
7972
|
"options": [],
|
7953
7973
|
"value": {
|
7954
7974
|
"type": "boolean",
|
@@ -7957,8 +7977,8 @@
|
|
7957
7977
|
},
|
7958
7978
|
{
|
7959
7979
|
"name": "teleport",
|
7960
|
-
"default": "
|
7961
|
-
"description": "Specifies a target element where
|
7980
|
+
"default": "`body`",
|
7981
|
+
"description": "Specifies a target element where Popover will be mounted",
|
7962
7982
|
"options": [],
|
7963
7983
|
"value": {
|
7964
7984
|
"type": "string | Element",
|
@@ -7966,22 +7986,12 @@
|
|
7966
7986
|
}
|
7967
7987
|
},
|
7968
7988
|
{
|
7969
|
-
"name": "
|
7970
|
-
"default": "`
|
7971
|
-
"description": "
|
7972
|
-
"options": [],
|
7973
|
-
"value": {
|
7974
|
-
"type": "boolean",
|
7975
|
-
"kind": "expression"
|
7976
|
-
}
|
7977
|
-
},
|
7978
|
-
{
|
7979
|
-
"name": "safe-area-inset-bottom",
|
7980
|
-
"default": "`false`",
|
7981
|
-
"description": "Whether to enable bottom safe area adaptation",
|
7989
|
+
"name": "icon-prefix",
|
7990
|
+
"default": "`van-icon`",
|
7991
|
+
"description": "Icon className prefix",
|
7982
7992
|
"options": [],
|
7983
7993
|
"value": {
|
7984
|
-
"type": "
|
7994
|
+
"type": "string",
|
7985
7995
|
"kind": "expression"
|
7986
7996
|
}
|
7987
7997
|
}
|
@@ -9386,6 +9396,68 @@
|
|
9386
9396
|
}
|
9387
9397
|
]
|
9388
9398
|
},
|
9399
|
+
{
|
9400
|
+
"name": "van-space",
|
9401
|
+
"slots": [
|
9402
|
+
{
|
9403
|
+
"name": "default",
|
9404
|
+
"description": "Default slot"
|
9405
|
+
}
|
9406
|
+
],
|
9407
|
+
"events": [],
|
9408
|
+
"attributes": [
|
9409
|
+
{
|
9410
|
+
"name": "direction",
|
9411
|
+
"default": "`horizontal`",
|
9412
|
+
"description": "Spacing direction",
|
9413
|
+
"options": [],
|
9414
|
+
"value": {
|
9415
|
+
"type": "vertical | horizontal",
|
9416
|
+
"kind": "expression"
|
9417
|
+
}
|
9418
|
+
},
|
9419
|
+
{
|
9420
|
+
"name": "size",
|
9421
|
+
"default": "`8px`",
|
9422
|
+
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9423
|
+
"options": [],
|
9424
|
+
"value": {
|
9425
|
+
"type": "number | string | number[] | string[]",
|
9426
|
+
"kind": "expression"
|
9427
|
+
}
|
9428
|
+
},
|
9429
|
+
{
|
9430
|
+
"name": "align",
|
9431
|
+
"default": "-",
|
9432
|
+
"description": "Spacing alignment",
|
9433
|
+
"options": [],
|
9434
|
+
"value": {
|
9435
|
+
"type": "start | end | center | baseline",
|
9436
|
+
"kind": "expression"
|
9437
|
+
}
|
9438
|
+
},
|
9439
|
+
{
|
9440
|
+
"name": "wrap",
|
9441
|
+
"default": "`false`",
|
9442
|
+
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9443
|
+
"options": [],
|
9444
|
+
"value": {
|
9445
|
+
"type": "boolean",
|
9446
|
+
"kind": "expression"
|
9447
|
+
}
|
9448
|
+
},
|
9449
|
+
{
|
9450
|
+
"name": "fill",
|
9451
|
+
"default": "`false`",
|
9452
|
+
"description": "Whether to render Space as a block element and fill the parent element",
|
9453
|
+
"options": [],
|
9454
|
+
"value": {
|
9455
|
+
"type": "boolean",
|
9456
|
+
"kind": "expression"
|
9457
|
+
}
|
9458
|
+
}
|
9459
|
+
]
|
9460
|
+
},
|
9389
9461
|
{
|
9390
9462
|
"name": "van-slider",
|
9391
9463
|
"slots": [
|
@@ -9576,68 +9648,6 @@
|
|
9576
9648
|
}
|
9577
9649
|
]
|
9578
9650
|
},
|
9579
|
-
{
|
9580
|
-
"name": "van-space",
|
9581
|
-
"slots": [
|
9582
|
-
{
|
9583
|
-
"name": "default",
|
9584
|
-
"description": "Default slot"
|
9585
|
-
}
|
9586
|
-
],
|
9587
|
-
"events": [],
|
9588
|
-
"attributes": [
|
9589
|
-
{
|
9590
|
-
"name": "direction",
|
9591
|
-
"default": "`horizontal`",
|
9592
|
-
"description": "Spacing direction",
|
9593
|
-
"options": [],
|
9594
|
-
"value": {
|
9595
|
-
"type": "vertical | horizontal",
|
9596
|
-
"kind": "expression"
|
9597
|
-
}
|
9598
|
-
},
|
9599
|
-
{
|
9600
|
-
"name": "size",
|
9601
|
-
"default": "`8px`",
|
9602
|
-
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9603
|
-
"options": [],
|
9604
|
-
"value": {
|
9605
|
-
"type": "number | string | number[] | string[]",
|
9606
|
-
"kind": "expression"
|
9607
|
-
}
|
9608
|
-
},
|
9609
|
-
{
|
9610
|
-
"name": "align",
|
9611
|
-
"default": "-",
|
9612
|
-
"description": "Spacing alignment",
|
9613
|
-
"options": [],
|
9614
|
-
"value": {
|
9615
|
-
"type": "start | end | center | baseline",
|
9616
|
-
"kind": "expression"
|
9617
|
-
}
|
9618
|
-
},
|
9619
|
-
{
|
9620
|
-
"name": "wrap",
|
9621
|
-
"default": "`false`",
|
9622
|
-
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9623
|
-
"options": [],
|
9624
|
-
"value": {
|
9625
|
-
"type": "boolean",
|
9626
|
-
"kind": "expression"
|
9627
|
-
}
|
9628
|
-
},
|
9629
|
-
{
|
9630
|
-
"name": "fill",
|
9631
|
-
"default": "`false`",
|
9632
|
-
"description": "Whether to render Space as a block element and fill the parent element",
|
9633
|
-
"options": [],
|
9634
|
-
"value": {
|
9635
|
-
"type": "boolean",
|
9636
|
-
"kind": "expression"
|
9637
|
-
}
|
9638
|
-
}
|
9639
|
-
]
|
9640
|
-
},
|
9641
9651
|
{
|
9642
9652
|
"name": "van-stepper",
|
9643
9653
|
"slots": [],
|