vant 3.6.9 → 3.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/field/Field.mjs +44 -7
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/lib/field/Field.js +44 -7
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.cjs.js +45 -8
- package/lib/vant.es.js +45 -8
- package/lib/vant.js +45 -8
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1639 -1639
- package/package.json +1 -1
package/lib/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.6.
|
5
|
+
"version": "3.6.11",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -2315,211 +2315,6 @@
|
|
2315
2315
|
}
|
2316
2316
|
]
|
2317
2317
|
},
|
2318
|
-
{
|
2319
|
-
"name": "van-checkbox",
|
2320
|
-
"slots": [
|
2321
|
-
{
|
2322
|
-
"name": "default",
|
2323
|
-
"description": "Custom label"
|
2324
|
-
},
|
2325
|
-
{
|
2326
|
-
"name": "icon",
|
2327
|
-
"description": "Custom icon"
|
2328
|
-
}
|
2329
|
-
],
|
2330
|
-
"events": [
|
2331
|
-
{
|
2332
|
-
"name": "change",
|
2333
|
-
"description": "Emitted when value changed",
|
2334
|
-
"arguments": [
|
2335
|
-
{
|
2336
|
-
"name": "checked",
|
2337
|
-
"type": "boolean"
|
2338
|
-
}
|
2339
|
-
]
|
2340
|
-
},
|
2341
|
-
{
|
2342
|
-
"name": "click",
|
2343
|
-
"description": "Emitted when the checkbox is clicked",
|
2344
|
-
"arguments": [
|
2345
|
-
{
|
2346
|
-
"name": "event",
|
2347
|
-
"type": "MouseEvent"
|
2348
|
-
}
|
2349
|
-
]
|
2350
|
-
}
|
2351
|
-
],
|
2352
|
-
"attributes": [
|
2353
|
-
{
|
2354
|
-
"name": "v-model",
|
2355
|
-
"default": "`false`",
|
2356
|
-
"description": "Check status",
|
2357
|
-
"options": [],
|
2358
|
-
"value": {
|
2359
|
-
"type": "boolean",
|
2360
|
-
"kind": "expression"
|
2361
|
-
}
|
2362
|
-
},
|
2363
|
-
{
|
2364
|
-
"name": "name",
|
2365
|
-
"default": "-",
|
2366
|
-
"description": "Checkbox name, usually a unique string or number",
|
2367
|
-
"options": [],
|
2368
|
-
"value": {
|
2369
|
-
"type": "any",
|
2370
|
-
"kind": "expression"
|
2371
|
-
}
|
2372
|
-
},
|
2373
|
-
{
|
2374
|
-
"name": "shape",
|
2375
|
-
"default": "`round`",
|
2376
|
-
"description": "Can be set to `square`",
|
2377
|
-
"options": [],
|
2378
|
-
"value": {
|
2379
|
-
"type": "string",
|
2380
|
-
"kind": "expression"
|
2381
|
-
}
|
2382
|
-
},
|
2383
|
-
{
|
2384
|
-
"name": "disabled",
|
2385
|
-
"default": "`false`",
|
2386
|
-
"description": "Disable checkbox",
|
2387
|
-
"options": [],
|
2388
|
-
"value": {
|
2389
|
-
"type": "boolean",
|
2390
|
-
"kind": "expression"
|
2391
|
-
}
|
2392
|
-
},
|
2393
|
-
{
|
2394
|
-
"name": "label-disabled",
|
2395
|
-
"default": "`false`",
|
2396
|
-
"description": "Whether to disable label click",
|
2397
|
-
"options": [],
|
2398
|
-
"value": {
|
2399
|
-
"type": "boolean",
|
2400
|
-
"kind": "expression"
|
2401
|
-
}
|
2402
|
-
},
|
2403
|
-
{
|
2404
|
-
"name": "label-position",
|
2405
|
-
"default": "`right`",
|
2406
|
-
"description": "Can be set to `left`",
|
2407
|
-
"options": [],
|
2408
|
-
"value": {
|
2409
|
-
"type": "string",
|
2410
|
-
"kind": "expression"
|
2411
|
-
}
|
2412
|
-
},
|
2413
|
-
{
|
2414
|
-
"name": "icon-size",
|
2415
|
-
"default": "`20px`",
|
2416
|
-
"description": "Icon size",
|
2417
|
-
"options": [],
|
2418
|
-
"value": {
|
2419
|
-
"type": "number | string",
|
2420
|
-
"kind": "expression"
|
2421
|
-
}
|
2422
|
-
},
|
2423
|
-
{
|
2424
|
-
"name": "checked-color",
|
2425
|
-
"default": "`#1989fa`",
|
2426
|
-
"description": "Checked color",
|
2427
|
-
"options": [],
|
2428
|
-
"value": {
|
2429
|
-
"type": "string",
|
2430
|
-
"kind": "expression"
|
2431
|
-
}
|
2432
|
-
},
|
2433
|
-
{
|
2434
|
-
"name": "bind-group",
|
2435
|
-
"default": "`true`",
|
2436
|
-
"description": "Whether to bind with CheckboxGroup",
|
2437
|
-
"options": [],
|
2438
|
-
"value": {
|
2439
|
-
"type": "boolean",
|
2440
|
-
"kind": "expression"
|
2441
|
-
}
|
2442
|
-
}
|
2443
|
-
]
|
2444
|
-
},
|
2445
|
-
{
|
2446
|
-
"name": "van-checkbox-group",
|
2447
|
-
"slots": [],
|
2448
|
-
"events": [
|
2449
|
-
{
|
2450
|
-
"name": "change",
|
2451
|
-
"description": "Emitted when value changed",
|
2452
|
-
"arguments": [
|
2453
|
-
{
|
2454
|
-
"name": "names",
|
2455
|
-
"type": "any[]"
|
2456
|
-
}
|
2457
|
-
]
|
2458
|
-
}
|
2459
|
-
],
|
2460
|
-
"attributes": [
|
2461
|
-
{
|
2462
|
-
"name": "v-model",
|
2463
|
-
"default": "-",
|
2464
|
-
"description": "Names of all checked checkboxes",
|
2465
|
-
"options": [],
|
2466
|
-
"value": {
|
2467
|
-
"type": "any[]",
|
2468
|
-
"kind": "expression"
|
2469
|
-
}
|
2470
|
-
},
|
2471
|
-
{
|
2472
|
-
"name": "disabled",
|
2473
|
-
"default": "`false`",
|
2474
|
-
"description": "Whether to disable all checkboxes",
|
2475
|
-
"options": [],
|
2476
|
-
"value": {
|
2477
|
-
"type": "boolean",
|
2478
|
-
"kind": "expression"
|
2479
|
-
}
|
2480
|
-
},
|
2481
|
-
{
|
2482
|
-
"name": "max",
|
2483
|
-
"default": "`0`(Unlimited)",
|
2484
|
-
"description": "Maximum amount of checked options",
|
2485
|
-
"options": [],
|
2486
|
-
"value": {
|
2487
|
-
"type": "number | string",
|
2488
|
-
"kind": "expression"
|
2489
|
-
}
|
2490
|
-
},
|
2491
|
-
{
|
2492
|
-
"name": "direction",
|
2493
|
-
"default": "`vertical`",
|
2494
|
-
"description": "Direction, can be set to `horizontal`",
|
2495
|
-
"options": [],
|
2496
|
-
"value": {
|
2497
|
-
"type": "string",
|
2498
|
-
"kind": "expression"
|
2499
|
-
}
|
2500
|
-
},
|
2501
|
-
{
|
2502
|
-
"name": "icon-size",
|
2503
|
-
"default": "`20px`",
|
2504
|
-
"description": "Icon size of all checkboxes",
|
2505
|
-
"options": [],
|
2506
|
-
"value": {
|
2507
|
-
"type": "number | string",
|
2508
|
-
"kind": "expression"
|
2509
|
-
}
|
2510
|
-
},
|
2511
|
-
{
|
2512
|
-
"name": "checked-color",
|
2513
|
-
"default": "`#1989fa`",
|
2514
|
-
"description": "Checked color of all checkboxes",
|
2515
|
-
"options": [],
|
2516
|
-
"value": {
|
2517
|
-
"type": "string",
|
2518
|
-
"kind": "expression"
|
2519
|
-
}
|
2520
|
-
}
|
2521
|
-
]
|
2522
|
-
},
|
2523
2318
|
{
|
2524
2319
|
"name": "van-cell-group",
|
2525
2320
|
"slots": [
|
@@ -2800,40 +2595,245 @@
|
|
2800
2595
|
]
|
2801
2596
|
},
|
2802
2597
|
{
|
2803
|
-
"name": "van-
|
2598
|
+
"name": "van-checkbox",
|
2804
2599
|
"slots": [
|
2805
2600
|
{
|
2806
2601
|
"name": "default",
|
2807
|
-
"description": "
|
2602
|
+
"description": "Custom label"
|
2603
|
+
},
|
2604
|
+
{
|
2605
|
+
"name": "icon",
|
2606
|
+
"description": "Custom icon"
|
2607
|
+
}
|
2608
|
+
],
|
2609
|
+
"events": [
|
2610
|
+
{
|
2611
|
+
"name": "change",
|
2612
|
+
"description": "Emitted when value changed",
|
2613
|
+
"arguments": [
|
2614
|
+
{
|
2615
|
+
"name": "checked",
|
2616
|
+
"type": "boolean"
|
2617
|
+
}
|
2618
|
+
]
|
2619
|
+
},
|
2620
|
+
{
|
2621
|
+
"name": "click",
|
2622
|
+
"description": "Emitted when the checkbox is clicked",
|
2623
|
+
"arguments": [
|
2624
|
+
{
|
2625
|
+
"name": "event",
|
2626
|
+
"type": "MouseEvent"
|
2627
|
+
}
|
2628
|
+
]
|
2808
2629
|
}
|
2809
2630
|
],
|
2810
|
-
"events": [],
|
2811
2631
|
"attributes": [
|
2812
2632
|
{
|
2813
|
-
"name": "v-model
|
2814
|
-
"default": "
|
2815
|
-
"description": "
|
2633
|
+
"name": "v-model",
|
2634
|
+
"default": "`false`",
|
2635
|
+
"description": "Check status",
|
2816
2636
|
"options": [],
|
2817
2637
|
"value": {
|
2818
|
-
"type": "
|
2638
|
+
"type": "boolean",
|
2819
2639
|
"kind": "expression"
|
2820
2640
|
}
|
2821
2641
|
},
|
2822
2642
|
{
|
2823
|
-
"name": "
|
2824
|
-
"default": "
|
2825
|
-
"description": "
|
2643
|
+
"name": "name",
|
2644
|
+
"default": "-",
|
2645
|
+
"description": "Checkbox name, usually a unique string or number",
|
2826
2646
|
"options": [],
|
2827
2647
|
"value": {
|
2828
|
-
"type": "
|
2648
|
+
"type": "any",
|
2829
2649
|
"kind": "expression"
|
2830
2650
|
}
|
2831
2651
|
},
|
2832
2652
|
{
|
2833
|
-
"name": "
|
2834
|
-
"default": "`
|
2835
|
-
"description": "
|
2836
|
-
"options": [],
|
2653
|
+
"name": "shape",
|
2654
|
+
"default": "`round`",
|
2655
|
+
"description": "Can be set to `square`",
|
2656
|
+
"options": [],
|
2657
|
+
"value": {
|
2658
|
+
"type": "string",
|
2659
|
+
"kind": "expression"
|
2660
|
+
}
|
2661
|
+
},
|
2662
|
+
{
|
2663
|
+
"name": "disabled",
|
2664
|
+
"default": "`false`",
|
2665
|
+
"description": "Disable checkbox",
|
2666
|
+
"options": [],
|
2667
|
+
"value": {
|
2668
|
+
"type": "boolean",
|
2669
|
+
"kind": "expression"
|
2670
|
+
}
|
2671
|
+
},
|
2672
|
+
{
|
2673
|
+
"name": "label-disabled",
|
2674
|
+
"default": "`false`",
|
2675
|
+
"description": "Whether to disable label click",
|
2676
|
+
"options": [],
|
2677
|
+
"value": {
|
2678
|
+
"type": "boolean",
|
2679
|
+
"kind": "expression"
|
2680
|
+
}
|
2681
|
+
},
|
2682
|
+
{
|
2683
|
+
"name": "label-position",
|
2684
|
+
"default": "`right`",
|
2685
|
+
"description": "Can be set to `left`",
|
2686
|
+
"options": [],
|
2687
|
+
"value": {
|
2688
|
+
"type": "string",
|
2689
|
+
"kind": "expression"
|
2690
|
+
}
|
2691
|
+
},
|
2692
|
+
{
|
2693
|
+
"name": "icon-size",
|
2694
|
+
"default": "`20px`",
|
2695
|
+
"description": "Icon size",
|
2696
|
+
"options": [],
|
2697
|
+
"value": {
|
2698
|
+
"type": "number | string",
|
2699
|
+
"kind": "expression"
|
2700
|
+
}
|
2701
|
+
},
|
2702
|
+
{
|
2703
|
+
"name": "checked-color",
|
2704
|
+
"default": "`#1989fa`",
|
2705
|
+
"description": "Checked color",
|
2706
|
+
"options": [],
|
2707
|
+
"value": {
|
2708
|
+
"type": "string",
|
2709
|
+
"kind": "expression"
|
2710
|
+
}
|
2711
|
+
},
|
2712
|
+
{
|
2713
|
+
"name": "bind-group",
|
2714
|
+
"default": "`true`",
|
2715
|
+
"description": "Whether to bind with CheckboxGroup",
|
2716
|
+
"options": [],
|
2717
|
+
"value": {
|
2718
|
+
"type": "boolean",
|
2719
|
+
"kind": "expression"
|
2720
|
+
}
|
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": [
|
2740
|
+
{
|
2741
|
+
"name": "v-model",
|
2742
|
+
"default": "-",
|
2743
|
+
"description": "Names of all checked checkboxes",
|
2744
|
+
"options": [],
|
2745
|
+
"value": {
|
2746
|
+
"type": "any[]",
|
2747
|
+
"kind": "expression"
|
2748
|
+
}
|
2749
|
+
},
|
2750
|
+
{
|
2751
|
+
"name": "disabled",
|
2752
|
+
"default": "`false`",
|
2753
|
+
"description": "Whether to disable all checkboxes",
|
2754
|
+
"options": [],
|
2755
|
+
"value": {
|
2756
|
+
"type": "boolean",
|
2757
|
+
"kind": "expression"
|
2758
|
+
}
|
2759
|
+
},
|
2760
|
+
{
|
2761
|
+
"name": "max",
|
2762
|
+
"default": "`0`(Unlimited)",
|
2763
|
+
"description": "Maximum amount of checked options",
|
2764
|
+
"options": [],
|
2765
|
+
"value": {
|
2766
|
+
"type": "number | string",
|
2767
|
+
"kind": "expression"
|
2768
|
+
}
|
2769
|
+
},
|
2770
|
+
{
|
2771
|
+
"name": "direction",
|
2772
|
+
"default": "`vertical`",
|
2773
|
+
"description": "Direction, can be set to `horizontal`",
|
2774
|
+
"options": [],
|
2775
|
+
"value": {
|
2776
|
+
"type": "string",
|
2777
|
+
"kind": "expression"
|
2778
|
+
}
|
2779
|
+
},
|
2780
|
+
{
|
2781
|
+
"name": "icon-size",
|
2782
|
+
"default": "`20px`",
|
2783
|
+
"description": "Icon size of all checkboxes",
|
2784
|
+
"options": [],
|
2785
|
+
"value": {
|
2786
|
+
"type": "number | string",
|
2787
|
+
"kind": "expression"
|
2788
|
+
}
|
2789
|
+
},
|
2790
|
+
{
|
2791
|
+
"name": "checked-color",
|
2792
|
+
"default": "`#1989fa`",
|
2793
|
+
"description": "Checked color of all checkboxes",
|
2794
|
+
"options": [],
|
2795
|
+
"value": {
|
2796
|
+
"type": "string",
|
2797
|
+
"kind": "expression"
|
2798
|
+
}
|
2799
|
+
}
|
2800
|
+
]
|
2801
|
+
},
|
2802
|
+
{
|
2803
|
+
"name": "van-circle",
|
2804
|
+
"slots": [
|
2805
|
+
{
|
2806
|
+
"name": "default",
|
2807
|
+
"description": "custom text content"
|
2808
|
+
}
|
2809
|
+
],
|
2810
|
+
"events": [],
|
2811
|
+
"attributes": [
|
2812
|
+
{
|
2813
|
+
"name": "v-model:current-rate",
|
2814
|
+
"default": "-",
|
2815
|
+
"description": "Current rate",
|
2816
|
+
"options": [],
|
2817
|
+
"value": {
|
2818
|
+
"type": "number",
|
2819
|
+
"kind": "expression"
|
2820
|
+
}
|
2821
|
+
},
|
2822
|
+
{
|
2823
|
+
"name": "rate",
|
2824
|
+
"default": "`100`",
|
2825
|
+
"description": "Target rate",
|
2826
|
+
"options": [],
|
2827
|
+
"value": {
|
2828
|
+
"type": "number | string",
|
2829
|
+
"kind": "expression"
|
2830
|
+
}
|
2831
|
+
},
|
2832
|
+
{
|
2833
|
+
"name": "size",
|
2834
|
+
"default": "`100px`",
|
2835
|
+
"description": "Circle size",
|
2836
|
+
"options": [],
|
2837
2837
|
"value": {
|
2838
2838
|
"type": "number | string",
|
2839
2839
|
"kind": "expression"
|
@@ -3382,74 +3382,6 @@
|
|
3382
3382
|
}
|
3383
3383
|
]
|
3384
3384
|
},
|
3385
|
-
{
|
3386
|
-
"name": "van-count-down",
|
3387
|
-
"slots": [
|
3388
|
-
{
|
3389
|
-
"name": "default",
|
3390
|
-
"description": "Custom Content"
|
3391
|
-
}
|
3392
|
-
],
|
3393
|
-
"events": [
|
3394
|
-
{
|
3395
|
-
"name": "finish",
|
3396
|
-
"description": "Emitted when count down finished",
|
3397
|
-
"arguments": []
|
3398
|
-
},
|
3399
|
-
{
|
3400
|
-
"name": "change",
|
3401
|
-
"description": "Emitted when count down changed",
|
3402
|
-
"arguments": [
|
3403
|
-
{
|
3404
|
-
"name": "currentTime",
|
3405
|
-
"type": "CurrentTime"
|
3406
|
-
}
|
3407
|
-
]
|
3408
|
-
}
|
3409
|
-
],
|
3410
|
-
"attributes": [
|
3411
|
-
{
|
3412
|
-
"name": "time",
|
3413
|
-
"default": "`0`",
|
3414
|
-
"description": "Total time, unit milliseconds",
|
3415
|
-
"options": [],
|
3416
|
-
"value": {
|
3417
|
-
"type": "number | string",
|
3418
|
-
"kind": "expression"
|
3419
|
-
}
|
3420
|
-
},
|
3421
|
-
{
|
3422
|
-
"name": "format",
|
3423
|
-
"default": "`HH:mm:ss`",
|
3424
|
-
"description": "Time format",
|
3425
|
-
"options": [],
|
3426
|
-
"value": {
|
3427
|
-
"type": "string",
|
3428
|
-
"kind": "expression"
|
3429
|
-
}
|
3430
|
-
},
|
3431
|
-
{
|
3432
|
-
"name": "auto-start",
|
3433
|
-
"default": "`true`",
|
3434
|
-
"description": "Whether to auto start count down",
|
3435
|
-
"options": [],
|
3436
|
-
"value": {
|
3437
|
-
"type": "boolean",
|
3438
|
-
"kind": "expression"
|
3439
|
-
}
|
3440
|
-
},
|
3441
|
-
{
|
3442
|
-
"name": "millisecond",
|
3443
|
-
"default": "`false`",
|
3444
|
-
"description": "Whether to enable millisecond render",
|
3445
|
-
"options": [],
|
3446
|
-
"value": {
|
3447
|
-
"type": "boolean",
|
3448
|
-
"kind": "expression"
|
3449
|
-
}
|
3450
|
-
}
|
3451
|
-
]
|
3452
|
-
},
|
3453
3385
|
{
|
3454
3386
|
"name": "van-contact-edit",
|
3455
3387
|
"slots": [],
|
@@ -3630,10 +3562,78 @@
|
|
3630
3562
|
]
|
3631
3563
|
},
|
3632
3564
|
{
|
3633
|
-
"name": "van-
|
3634
|
-
"slots": [
|
3635
|
-
|
3636
|
-
|
3565
|
+
"name": "van-count-down",
|
3566
|
+
"slots": [
|
3567
|
+
{
|
3568
|
+
"name": "default",
|
3569
|
+
"description": "Custom Content"
|
3570
|
+
}
|
3571
|
+
],
|
3572
|
+
"events": [
|
3573
|
+
{
|
3574
|
+
"name": "finish",
|
3575
|
+
"description": "Emitted when count down finished",
|
3576
|
+
"arguments": []
|
3577
|
+
},
|
3578
|
+
{
|
3579
|
+
"name": "change",
|
3580
|
+
"description": "Emitted when count down changed",
|
3581
|
+
"arguments": [
|
3582
|
+
{
|
3583
|
+
"name": "currentTime",
|
3584
|
+
"type": "CurrentTime"
|
3585
|
+
}
|
3586
|
+
]
|
3587
|
+
}
|
3588
|
+
],
|
3589
|
+
"attributes": [
|
3590
|
+
{
|
3591
|
+
"name": "time",
|
3592
|
+
"default": "`0`",
|
3593
|
+
"description": "Total time, unit milliseconds",
|
3594
|
+
"options": [],
|
3595
|
+
"value": {
|
3596
|
+
"type": "number | string",
|
3597
|
+
"kind": "expression"
|
3598
|
+
}
|
3599
|
+
},
|
3600
|
+
{
|
3601
|
+
"name": "format",
|
3602
|
+
"default": "`HH:mm:ss`",
|
3603
|
+
"description": "Time format",
|
3604
|
+
"options": [],
|
3605
|
+
"value": {
|
3606
|
+
"type": "string",
|
3607
|
+
"kind": "expression"
|
3608
|
+
}
|
3609
|
+
},
|
3610
|
+
{
|
3611
|
+
"name": "auto-start",
|
3612
|
+
"default": "`true`",
|
3613
|
+
"description": "Whether to auto start count down",
|
3614
|
+
"options": [],
|
3615
|
+
"value": {
|
3616
|
+
"type": "boolean",
|
3617
|
+
"kind": "expression"
|
3618
|
+
}
|
3619
|
+
},
|
3620
|
+
{
|
3621
|
+
"name": "millisecond",
|
3622
|
+
"default": "`false`",
|
3623
|
+
"description": "Whether to enable millisecond render",
|
3624
|
+
"options": [],
|
3625
|
+
"value": {
|
3626
|
+
"type": "boolean",
|
3627
|
+
"kind": "expression"
|
3628
|
+
}
|
3629
|
+
}
|
3630
|
+
]
|
3631
|
+
},
|
3632
|
+
{
|
3633
|
+
"name": "van-coupon-cell",
|
3634
|
+
"slots": [],
|
3635
|
+
"events": [],
|
3636
|
+
"attributes": [
|
3637
3637
|
{
|
3638
3638
|
"name": "title",
|
3639
3639
|
"default": "`Coupon`",
|
@@ -4460,56 +4460,6 @@
|
|
4460
4460
|
}
|
4461
4461
|
]
|
4462
4462
|
},
|
4463
|
-
{
|
4464
|
-
"name": "van-empty",
|
4465
|
-
"slots": [
|
4466
|
-
{
|
4467
|
-
"name": "default",
|
4468
|
-
"description": "Custom bottom content"
|
4469
|
-
},
|
4470
|
-
{
|
4471
|
-
"name": "image",
|
4472
|
-
"description": "Custom image"
|
4473
|
-
},
|
4474
|
-
{
|
4475
|
-
"name": "description",
|
4476
|
-
"description": "Custom description"
|
4477
|
-
}
|
4478
|
-
],
|
4479
|
-
"events": [],
|
4480
|
-
"attributes": [
|
4481
|
-
{
|
4482
|
-
"name": "image",
|
4483
|
-
"default": "`default`",
|
4484
|
-
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4485
|
-
"options": [],
|
4486
|
-
"value": {
|
4487
|
-
"type": "string",
|
4488
|
-
"kind": "expression"
|
4489
|
-
}
|
4490
|
-
},
|
4491
|
-
{
|
4492
|
-
"name": "image-size",
|
4493
|
-
"default": "-",
|
4494
|
-
"description": "Image size",
|
4495
|
-
"options": [],
|
4496
|
-
"value": {
|
4497
|
-
"type": "number | string | Array",
|
4498
|
-
"kind": "expression"
|
4499
|
-
}
|
4500
|
-
},
|
4501
|
-
{
|
4502
|
-
"name": "description",
|
4503
|
-
"default": "-",
|
4504
|
-
"description": "Description",
|
4505
|
-
"options": [],
|
4506
|
-
"value": {
|
4507
|
-
"type": "string",
|
4508
|
-
"kind": "expression"
|
4509
|
-
}
|
4510
|
-
}
|
4511
|
-
]
|
4512
|
-
},
|
4513
4463
|
{
|
4514
4464
|
"name": "van-divider",
|
4515
4465
|
"slots": [
|
@@ -4746,6 +4696,56 @@
|
|
4746
4696
|
}
|
4747
4697
|
]
|
4748
4698
|
},
|
4699
|
+
{
|
4700
|
+
"name": "van-empty",
|
4701
|
+
"slots": [
|
4702
|
+
{
|
4703
|
+
"name": "default",
|
4704
|
+
"description": "Custom bottom content"
|
4705
|
+
},
|
4706
|
+
{
|
4707
|
+
"name": "image",
|
4708
|
+
"description": "Custom image"
|
4709
|
+
},
|
4710
|
+
{
|
4711
|
+
"name": "description",
|
4712
|
+
"description": "Custom description"
|
4713
|
+
}
|
4714
|
+
],
|
4715
|
+
"events": [],
|
4716
|
+
"attributes": [
|
4717
|
+
{
|
4718
|
+
"name": "image",
|
4719
|
+
"default": "`default`",
|
4720
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4721
|
+
"options": [],
|
4722
|
+
"value": {
|
4723
|
+
"type": "string",
|
4724
|
+
"kind": "expression"
|
4725
|
+
}
|
4726
|
+
},
|
4727
|
+
{
|
4728
|
+
"name": "image-size",
|
4729
|
+
"default": "-",
|
4730
|
+
"description": "Image size",
|
4731
|
+
"options": [],
|
4732
|
+
"value": {
|
4733
|
+
"type": "number | string | Array",
|
4734
|
+
"kind": "expression"
|
4735
|
+
}
|
4736
|
+
},
|
4737
|
+
{
|
4738
|
+
"name": "description",
|
4739
|
+
"default": "-",
|
4740
|
+
"description": "Description",
|
4741
|
+
"options": [],
|
4742
|
+
"value": {
|
4743
|
+
"type": "string",
|
4744
|
+
"kind": "expression"
|
4745
|
+
}
|
4746
|
+
}
|
4747
|
+
]
|
4748
|
+
},
|
4749
4749
|
{
|
4750
4750
|
"name": "van-field",
|
4751
4751
|
"slots": [
|
@@ -5649,93 +5649,45 @@
|
|
5649
5649
|
]
|
5650
5650
|
},
|
5651
5651
|
{
|
5652
|
-
"name": "van-
|
5653
|
-
"slots": [
|
5654
|
-
{
|
5655
|
-
"name": "index",
|
5656
|
-
"description": "Custom index"
|
5657
|
-
},
|
5658
|
-
{
|
5659
|
-
"name": "cover",
|
5660
|
-
"description": "Custom content that covers the image preview"
|
5661
|
-
},
|
5662
|
-
{
|
5663
|
-
"name": "image",
|
5664
|
-
"description": "Custom image content"
|
5665
|
-
}
|
5666
|
-
],
|
5652
|
+
"name": "van-icon",
|
5653
|
+
"slots": [],
|
5667
5654
|
"events": [
|
5668
5655
|
{
|
5669
|
-
"name": "
|
5670
|
-
"description": "Emitted when
|
5671
|
-
"arguments": [
|
5672
|
-
{
|
5673
|
-
"name": "value",
|
5674
|
-
"type": "{ index, url }"
|
5675
|
-
}
|
5676
|
-
]
|
5677
|
-
},
|
5678
|
-
{
|
5679
|
-
"name": "closed",
|
5680
|
-
"description": "Emitted when ImagePreview is closed",
|
5681
|
-
"arguments": []
|
5682
|
-
},
|
5683
|
-
{
|
5684
|
-
"name": "change",
|
5685
|
-
"description": "Emitted when current image changed",
|
5686
|
-
"arguments": [
|
5687
|
-
{
|
5688
|
-
"name": "index",
|
5689
|
-
"type": "number"
|
5690
|
-
}
|
5691
|
-
]
|
5692
|
-
},
|
5693
|
-
{
|
5694
|
-
"name": "scale",
|
5695
|
-
"description": "Emitted when scaling current image",
|
5696
|
-
"arguments": [
|
5697
|
-
{
|
5698
|
-
"name": "value",
|
5699
|
-
"type": "ImagePreviewScaleEventParams"
|
5700
|
-
}
|
5701
|
-
]
|
5702
|
-
},
|
5703
|
-
{
|
5704
|
-
"name": "scale",
|
5705
|
-
"description": "Emitted when scaling current image",
|
5656
|
+
"name": "click",
|
5657
|
+
"description": "Emitted when icon is clicked",
|
5706
5658
|
"arguments": [
|
5707
5659
|
{
|
5708
|
-
"name": "
|
5709
|
-
"type": "
|
5660
|
+
"name": "event",
|
5661
|
+
"type": "MouseEvent"
|
5710
5662
|
}
|
5711
5663
|
]
|
5712
5664
|
}
|
5713
5665
|
],
|
5714
5666
|
"attributes": [
|
5715
5667
|
{
|
5716
|
-
"name": "
|
5717
|
-
"default": "`
|
5718
|
-
"description": "
|
5668
|
+
"name": "name",
|
5669
|
+
"default": "`''`",
|
5670
|
+
"description": "Icon name or URL",
|
5719
5671
|
"options": [],
|
5720
5672
|
"value": {
|
5721
|
-
"type": "
|
5673
|
+
"type": "string",
|
5722
5674
|
"kind": "expression"
|
5723
5675
|
}
|
5724
5676
|
},
|
5725
5677
|
{
|
5726
|
-
"name": "
|
5727
|
-
"default": "`
|
5728
|
-
"description": "
|
5678
|
+
"name": "dot",
|
5679
|
+
"default": "`false`",
|
5680
|
+
"description": "Whether to show red dot",
|
5729
5681
|
"options": [],
|
5730
5682
|
"value": {
|
5731
|
-
"type": "
|
5683
|
+
"type": "boolean",
|
5732
5684
|
"kind": "expression"
|
5733
5685
|
}
|
5734
5686
|
},
|
5735
5687
|
{
|
5736
|
-
"name": "
|
5737
|
-
"default": "`
|
5738
|
-
"description": "
|
5688
|
+
"name": "badge",
|
5689
|
+
"default": "`''`",
|
5690
|
+
"description": "Content of the badge",
|
5739
5691
|
"options": [],
|
5740
5692
|
"value": {
|
5741
5693
|
"type": "number | string",
|
@@ -5743,8 +5695,154 @@
|
|
5743
5695
|
}
|
5744
5696
|
},
|
5745
5697
|
{
|
5746
|
-
"name": "
|
5747
|
-
"default": "
|
5698
|
+
"name": "badge-props",
|
5699
|
+
"default": "-",
|
5700
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
5701
|
+
"options": [],
|
5702
|
+
"value": {
|
5703
|
+
"type": "BadgeProps",
|
5704
|
+
"kind": "expression"
|
5705
|
+
}
|
5706
|
+
},
|
5707
|
+
{
|
5708
|
+
"name": "color",
|
5709
|
+
"default": "`inherit`",
|
5710
|
+
"description": "Icon color",
|
5711
|
+
"options": [],
|
5712
|
+
"value": {
|
5713
|
+
"type": "string",
|
5714
|
+
"kind": "expression"
|
5715
|
+
}
|
5716
|
+
},
|
5717
|
+
{
|
5718
|
+
"name": "size",
|
5719
|
+
"default": "`inherit`",
|
5720
|
+
"description": "Icon size",
|
5721
|
+
"options": [],
|
5722
|
+
"value": {
|
5723
|
+
"type": "number | string",
|
5724
|
+
"kind": "expression"
|
5725
|
+
}
|
5726
|
+
},
|
5727
|
+
{
|
5728
|
+
"name": "class-prefix",
|
5729
|
+
"default": "`van-icon`",
|
5730
|
+
"description": "ClassName prefix",
|
5731
|
+
"options": [],
|
5732
|
+
"value": {
|
5733
|
+
"type": "string",
|
5734
|
+
"kind": "expression"
|
5735
|
+
}
|
5736
|
+
},
|
5737
|
+
{
|
5738
|
+
"name": "tag",
|
5739
|
+
"default": "`i`",
|
5740
|
+
"description": "HTML Tag of root element",
|
5741
|
+
"options": [],
|
5742
|
+
"value": {
|
5743
|
+
"type": "string",
|
5744
|
+
"kind": "expression"
|
5745
|
+
}
|
5746
|
+
}
|
5747
|
+
]
|
5748
|
+
},
|
5749
|
+
{
|
5750
|
+
"name": "van-image-preview",
|
5751
|
+
"slots": [
|
5752
|
+
{
|
5753
|
+
"name": "index",
|
5754
|
+
"description": "Custom index"
|
5755
|
+
},
|
5756
|
+
{
|
5757
|
+
"name": "cover",
|
5758
|
+
"description": "Custom content that covers the image preview"
|
5759
|
+
},
|
5760
|
+
{
|
5761
|
+
"name": "image",
|
5762
|
+
"description": "Custom image content"
|
5763
|
+
}
|
5764
|
+
],
|
5765
|
+
"events": [
|
5766
|
+
{
|
5767
|
+
"name": "close",
|
5768
|
+
"description": "Emitted when closing ImagePreview",
|
5769
|
+
"arguments": [
|
5770
|
+
{
|
5771
|
+
"name": "value",
|
5772
|
+
"type": "{ index, url }"
|
5773
|
+
}
|
5774
|
+
]
|
5775
|
+
},
|
5776
|
+
{
|
5777
|
+
"name": "closed",
|
5778
|
+
"description": "Emitted when ImagePreview is closed",
|
5779
|
+
"arguments": []
|
5780
|
+
},
|
5781
|
+
{
|
5782
|
+
"name": "change",
|
5783
|
+
"description": "Emitted when current image changed",
|
5784
|
+
"arguments": [
|
5785
|
+
{
|
5786
|
+
"name": "index",
|
5787
|
+
"type": "number"
|
5788
|
+
}
|
5789
|
+
]
|
5790
|
+
},
|
5791
|
+
{
|
5792
|
+
"name": "scale",
|
5793
|
+
"description": "Emitted when scaling current image",
|
5794
|
+
"arguments": [
|
5795
|
+
{
|
5796
|
+
"name": "value",
|
5797
|
+
"type": "ImagePreviewScaleEventParams"
|
5798
|
+
}
|
5799
|
+
]
|
5800
|
+
},
|
5801
|
+
{
|
5802
|
+
"name": "scale",
|
5803
|
+
"description": "Emitted when scaling current image",
|
5804
|
+
"arguments": [
|
5805
|
+
{
|
5806
|
+
"name": "value",
|
5807
|
+
"type": "ImagePreviewScaleEventParams"
|
5808
|
+
}
|
5809
|
+
]
|
5810
|
+
}
|
5811
|
+
],
|
5812
|
+
"attributes": [
|
5813
|
+
{
|
5814
|
+
"name": "v-model:show",
|
5815
|
+
"default": "`false`",
|
5816
|
+
"description": "Whether to show ImagePreview",
|
5817
|
+
"options": [],
|
5818
|
+
"value": {
|
5819
|
+
"type": "boolean",
|
5820
|
+
"kind": "expression"
|
5821
|
+
}
|
5822
|
+
},
|
5823
|
+
{
|
5824
|
+
"name": "images",
|
5825
|
+
"default": "`[]`",
|
5826
|
+
"description": "Images URL list",
|
5827
|
+
"options": [],
|
5828
|
+
"value": {
|
5829
|
+
"type": "string[]",
|
5830
|
+
"kind": "expression"
|
5831
|
+
}
|
5832
|
+
},
|
5833
|
+
{
|
5834
|
+
"name": "start-position",
|
5835
|
+
"default": "`0`",
|
5836
|
+
"description": "Start position",
|
5837
|
+
"options": [],
|
5838
|
+
"value": {
|
5839
|
+
"type": "number | string",
|
5840
|
+
"kind": "expression"
|
5841
|
+
}
|
5842
|
+
},
|
5843
|
+
{
|
5844
|
+
"name": "swipe-duration",
|
5845
|
+
"default": "`300`",
|
5748
5846
|
"description": "Animation duration (ms)",
|
5749
5847
|
"options": [],
|
5750
5848
|
"value": {
|
@@ -5905,65 +6003,75 @@
|
|
5905
6003
|
]
|
5906
6004
|
},
|
5907
6005
|
{
|
5908
|
-
"name": "van-
|
6006
|
+
"name": "van-index-bar",
|
5909
6007
|
"slots": [],
|
5910
6008
|
"events": [
|
5911
6009
|
{
|
5912
|
-
"name": "
|
5913
|
-
"description": "Emitted when
|
6010
|
+
"name": "select",
|
6011
|
+
"description": "Emitted when an index is selected",
|
5914
6012
|
"arguments": [
|
5915
6013
|
{
|
5916
|
-
"name": "
|
5917
|
-
"type": "
|
6014
|
+
"name": "index",
|
6015
|
+
"type": "number | string"
|
6016
|
+
}
|
6017
|
+
]
|
6018
|
+
},
|
6019
|
+
{
|
6020
|
+
"name": "change",
|
6021
|
+
"description": "Emitted when active index changed",
|
6022
|
+
"arguments": [
|
6023
|
+
{
|
6024
|
+
"name": "index",
|
6025
|
+
"type": "number | string"
|
5918
6026
|
}
|
5919
6027
|
]
|
5920
6028
|
}
|
5921
6029
|
],
|
5922
6030
|
"attributes": [
|
5923
6031
|
{
|
5924
|
-
"name": "
|
5925
|
-
"default": "`
|
5926
|
-
"description": "
|
6032
|
+
"name": "index-list",
|
6033
|
+
"default": "`A-Z`",
|
6034
|
+
"description": "Index List",
|
5927
6035
|
"options": [],
|
5928
6036
|
"value": {
|
5929
|
-
"type": "string",
|
6037
|
+
"type": "string[] | number[]",
|
5930
6038
|
"kind": "expression"
|
5931
6039
|
}
|
5932
6040
|
},
|
5933
6041
|
{
|
5934
|
-
"name": "
|
5935
|
-
"default": "`
|
5936
|
-
"description": "
|
6042
|
+
"name": "z-index",
|
6043
|
+
"default": "`1`",
|
6044
|
+
"description": "z-index",
|
5937
6045
|
"options": [],
|
5938
6046
|
"value": {
|
5939
|
-
"type": "
|
6047
|
+
"type": "number | string",
|
5940
6048
|
"kind": "expression"
|
5941
6049
|
}
|
5942
6050
|
},
|
5943
6051
|
{
|
5944
|
-
"name": "
|
5945
|
-
"default": "`
|
5946
|
-
"description": "
|
6052
|
+
"name": "sticky",
|
6053
|
+
"default": "`true`",
|
6054
|
+
"description": "Whether to enable anchor sticky top",
|
5947
6055
|
"options": [],
|
5948
6056
|
"value": {
|
5949
|
-
"type": "
|
6057
|
+
"type": "boolean",
|
5950
6058
|
"kind": "expression"
|
5951
6059
|
}
|
5952
6060
|
},
|
5953
6061
|
{
|
5954
|
-
"name": "
|
5955
|
-
"default": "
|
5956
|
-
"description": "
|
6062
|
+
"name": "sticky-offset-top",
|
6063
|
+
"default": "`0`",
|
6064
|
+
"description": "Anchor offset top when sticky",
|
5957
6065
|
"options": [],
|
5958
6066
|
"value": {
|
5959
|
-
"type": "
|
6067
|
+
"type": "number",
|
5960
6068
|
"kind": "expression"
|
5961
6069
|
}
|
5962
6070
|
},
|
5963
6071
|
{
|
5964
|
-
"name": "color",
|
5965
|
-
"default": "`
|
5966
|
-
"description": "
|
6072
|
+
"name": "highlight-color",
|
6073
|
+
"default": "`#ee0a24`",
|
6074
|
+
"description": "Index character highlight color",
|
5967
6075
|
"options": [],
|
5968
6076
|
"value": {
|
5969
6077
|
"type": "string",
|
@@ -5971,32 +6079,34 @@
|
|
5971
6079
|
}
|
5972
6080
|
},
|
5973
6081
|
{
|
5974
|
-
"name": "
|
5975
|
-
"default": "
|
5976
|
-
"description": "
|
6082
|
+
"name": "teleport",
|
6083
|
+
"default": "-",
|
6084
|
+
"description": "Specifies a target element where IndexBar will be mounted",
|
5977
6085
|
"options": [],
|
5978
6086
|
"value": {
|
5979
|
-
"type": "
|
6087
|
+
"type": "string | Element",
|
5980
6088
|
"kind": "expression"
|
5981
6089
|
}
|
5982
|
-
}
|
6090
|
+
}
|
6091
|
+
]
|
6092
|
+
},
|
6093
|
+
{
|
6094
|
+
"name": "van-index-anchor",
|
6095
|
+
"slots": [
|
5983
6096
|
{
|
5984
|
-
"name": "
|
5985
|
-
"
|
5986
|
-
|
5987
|
-
|
5988
|
-
|
5989
|
-
|
5990
|
-
"kind": "expression"
|
5991
|
-
}
|
5992
|
-
},
|
6097
|
+
"name": "default",
|
6098
|
+
"description": "Anchor content, show index by default"
|
6099
|
+
}
|
6100
|
+
],
|
6101
|
+
"events": [],
|
6102
|
+
"attributes": [
|
5993
6103
|
{
|
5994
|
-
"name": "
|
5995
|
-
"default": "
|
5996
|
-
"description": "
|
6104
|
+
"name": "index",
|
6105
|
+
"default": "-",
|
6106
|
+
"description": "Index",
|
5997
6107
|
"options": [],
|
5998
6108
|
"value": {
|
5999
|
-
"type": "string",
|
6109
|
+
"type": "number | string",
|
6000
6110
|
"kind": "expression"
|
6001
6111
|
}
|
6002
6112
|
}
|
@@ -6204,75 +6314,59 @@
|
|
6204
6314
|
]
|
6205
6315
|
},
|
6206
6316
|
{
|
6207
|
-
"name": "van-
|
6208
|
-
"slots": [
|
6209
|
-
"events": [
|
6317
|
+
"name": "van-loading",
|
6318
|
+
"slots": [
|
6210
6319
|
{
|
6211
|
-
"name": "
|
6212
|
-
"description": "
|
6213
|
-
"arguments": [
|
6214
|
-
{
|
6215
|
-
"name": "index",
|
6216
|
-
"type": "number | string"
|
6217
|
-
}
|
6218
|
-
]
|
6219
|
-
},
|
6220
|
-
{
|
6221
|
-
"name": "change",
|
6222
|
-
"description": "Emitted when active index changed",
|
6223
|
-
"arguments": [
|
6224
|
-
{
|
6225
|
-
"name": "index",
|
6226
|
-
"type": "number | string"
|
6227
|
-
}
|
6228
|
-
]
|
6320
|
+
"name": "default",
|
6321
|
+
"description": "Loading text"
|
6229
6322
|
}
|
6230
6323
|
],
|
6324
|
+
"events": [],
|
6231
6325
|
"attributes": [
|
6232
6326
|
{
|
6233
|
-
"name": "
|
6234
|
-
"default": "`
|
6235
|
-
"description": "
|
6327
|
+
"name": "color",
|
6328
|
+
"default": "`#c9c9c9`",
|
6329
|
+
"description": "Loading color",
|
6236
6330
|
"options": [],
|
6237
6331
|
"value": {
|
6238
|
-
"type": "string
|
6332
|
+
"type": "string",
|
6239
6333
|
"kind": "expression"
|
6240
6334
|
}
|
6241
6335
|
},
|
6242
6336
|
{
|
6243
|
-
"name": "
|
6244
|
-
"default": "`
|
6245
|
-
"description": "
|
6337
|
+
"name": "type",
|
6338
|
+
"default": "`circular`",
|
6339
|
+
"description": "Can be set to `spinner`",
|
6246
6340
|
"options": [],
|
6247
6341
|
"value": {
|
6248
|
-
"type": "
|
6342
|
+
"type": "string",
|
6249
6343
|
"kind": "expression"
|
6250
6344
|
}
|
6251
6345
|
},
|
6252
6346
|
{
|
6253
|
-
"name": "
|
6254
|
-
"default": "`
|
6255
|
-
"description": "
|
6347
|
+
"name": "size",
|
6348
|
+
"default": "`30px`",
|
6349
|
+
"description": "Icon size",
|
6256
6350
|
"options": [],
|
6257
6351
|
"value": {
|
6258
|
-
"type": "
|
6352
|
+
"type": "number | string",
|
6259
6353
|
"kind": "expression"
|
6260
6354
|
}
|
6261
6355
|
},
|
6262
6356
|
{
|
6263
|
-
"name": "
|
6264
|
-
"default": "`
|
6265
|
-
"description": "
|
6357
|
+
"name": "text-size",
|
6358
|
+
"default": "`14px`",
|
6359
|
+
"description": "Text font size",
|
6266
6360
|
"options": [],
|
6267
6361
|
"value": {
|
6268
|
-
"type": "number",
|
6362
|
+
"type": "number | string",
|
6269
6363
|
"kind": "expression"
|
6270
6364
|
}
|
6271
6365
|
},
|
6272
6366
|
{
|
6273
|
-
"name": "
|
6274
|
-
"default": "`#
|
6275
|
-
"description": "
|
6367
|
+
"name": "text-color",
|
6368
|
+
"default": "`#c9c9c9`",
|
6369
|
+
"description": "Text color",
|
6276
6370
|
"options": [],
|
6277
6371
|
"value": {
|
6278
6372
|
"type": "string",
|
@@ -6280,34 +6374,12 @@
|
|
6280
6374
|
}
|
6281
6375
|
},
|
6282
6376
|
{
|
6283
|
-
"name": "
|
6284
|
-
"default": "
|
6285
|
-
"description": "
|
6286
|
-
"options": [],
|
6287
|
-
"value": {
|
6288
|
-
"type": "string | Element",
|
6289
|
-
"kind": "expression"
|
6290
|
-
}
|
6291
|
-
}
|
6292
|
-
]
|
6293
|
-
},
|
6294
|
-
{
|
6295
|
-
"name": "van-index-anchor",
|
6296
|
-
"slots": [
|
6297
|
-
{
|
6298
|
-
"name": "default",
|
6299
|
-
"description": "Anchor content, show index by default"
|
6300
|
-
}
|
6301
|
-
],
|
6302
|
-
"events": [],
|
6303
|
-
"attributes": [
|
6304
|
-
{
|
6305
|
-
"name": "index",
|
6306
|
-
"default": "-",
|
6307
|
-
"description": "Index",
|
6377
|
+
"name": "vertical",
|
6378
|
+
"default": "`false`",
|
6379
|
+
"description": "Whether to arrange icons and text content vertically",
|
6308
6380
|
"options": [],
|
6309
6381
|
"value": {
|
6310
|
-
"type": "
|
6382
|
+
"type": "boolean",
|
6311
6383
|
"kind": "expression"
|
6312
6384
|
}
|
6313
6385
|
}
|
@@ -6434,19 +6506,48 @@
|
|
6434
6506
|
]
|
6435
6507
|
},
|
6436
6508
|
{
|
6437
|
-
"name": "van-
|
6509
|
+
"name": "van-nav-bar",
|
6438
6510
|
"slots": [
|
6439
6511
|
{
|
6440
|
-
"name": "
|
6441
|
-
"description": "
|
6512
|
+
"name": "title",
|
6513
|
+
"description": "Custom title"
|
6514
|
+
},
|
6515
|
+
{
|
6516
|
+
"name": "left",
|
6517
|
+
"description": "Custom left side content"
|
6518
|
+
},
|
6519
|
+
{
|
6520
|
+
"name": "right",
|
6521
|
+
"description": "Custom right side content"
|
6522
|
+
}
|
6523
|
+
],
|
6524
|
+
"events": [
|
6525
|
+
{
|
6526
|
+
"name": "click-left",
|
6527
|
+
"description": "Emitted when the left button is clicked",
|
6528
|
+
"arguments": [
|
6529
|
+
{
|
6530
|
+
"name": "event",
|
6531
|
+
"type": "MouseEvent"
|
6532
|
+
}
|
6533
|
+
]
|
6534
|
+
},
|
6535
|
+
{
|
6536
|
+
"name": "click-right",
|
6537
|
+
"description": "Emitted when the right button is clicked",
|
6538
|
+
"arguments": [
|
6539
|
+
{
|
6540
|
+
"name": "event",
|
6541
|
+
"type": "MouseEvent"
|
6542
|
+
}
|
6543
|
+
]
|
6442
6544
|
}
|
6443
6545
|
],
|
6444
|
-
"events": [],
|
6445
6546
|
"attributes": [
|
6446
6547
|
{
|
6447
|
-
"name": "
|
6448
|
-
"default": "
|
6449
|
-
"description": "
|
6548
|
+
"name": "title",
|
6549
|
+
"default": "`''`",
|
6550
|
+
"description": "Title",
|
6450
6551
|
"options": [],
|
6451
6552
|
"value": {
|
6452
6553
|
"type": "string",
|
@@ -6454,9 +6555,9 @@
|
|
6454
6555
|
}
|
6455
6556
|
},
|
6456
6557
|
{
|
6457
|
-
"name": "
|
6458
|
-
"default": "`
|
6459
|
-
"description": "
|
6558
|
+
"name": "left-text",
|
6559
|
+
"default": "`''`",
|
6560
|
+
"description": "Left Text",
|
6460
6561
|
"options": [],
|
6461
6562
|
"value": {
|
6462
6563
|
"type": "string",
|
@@ -6464,39 +6565,69 @@
|
|
6464
6565
|
}
|
6465
6566
|
},
|
6466
6567
|
{
|
6467
|
-
"name": "
|
6468
|
-
"default": "`
|
6469
|
-
"description": "
|
6568
|
+
"name": "right-text",
|
6569
|
+
"default": "`''`",
|
6570
|
+
"description": "Right Text",
|
6470
6571
|
"options": [],
|
6471
6572
|
"value": {
|
6472
|
-
"type": "
|
6573
|
+
"type": "string",
|
6473
6574
|
"kind": "expression"
|
6474
6575
|
}
|
6475
6576
|
},
|
6476
6577
|
{
|
6477
|
-
"name": "
|
6478
|
-
"default": "`
|
6479
|
-
"description": "
|
6578
|
+
"name": "left-arrow",
|
6579
|
+
"default": "`false`",
|
6580
|
+
"description": "Whether to show left arrow",
|
6480
6581
|
"options": [],
|
6481
6582
|
"value": {
|
6482
|
-
"type": "
|
6583
|
+
"type": "boolean",
|
6483
6584
|
"kind": "expression"
|
6484
6585
|
}
|
6485
6586
|
},
|
6486
6587
|
{
|
6487
|
-
"name": "
|
6488
|
-
"default": "
|
6489
|
-
"description": "
|
6588
|
+
"name": "border",
|
6589
|
+
"default": "`true`",
|
6590
|
+
"description": "Whether to show bottom border",
|
6490
6591
|
"options": [],
|
6491
6592
|
"value": {
|
6492
|
-
"type": "
|
6593
|
+
"type": "boolean",
|
6493
6594
|
"kind": "expression"
|
6494
6595
|
}
|
6495
6596
|
},
|
6496
6597
|
{
|
6497
|
-
"name": "
|
6598
|
+
"name": "fixed",
|
6498
6599
|
"default": "`false`",
|
6499
|
-
"description": "Whether to
|
6600
|
+
"description": "Whether to fixed top",
|
6601
|
+
"options": [],
|
6602
|
+
"value": {
|
6603
|
+
"type": "boolean",
|
6604
|
+
"kind": "expression"
|
6605
|
+
}
|
6606
|
+
},
|
6607
|
+
{
|
6608
|
+
"name": "placeholder",
|
6609
|
+
"default": "`false`",
|
6610
|
+
"description": "Whether to generate a placeholder element when fixed",
|
6611
|
+
"options": [],
|
6612
|
+
"value": {
|
6613
|
+
"type": "boolean",
|
6614
|
+
"kind": "expression"
|
6615
|
+
}
|
6616
|
+
},
|
6617
|
+
{
|
6618
|
+
"name": "z-index",
|
6619
|
+
"default": "`1`",
|
6620
|
+
"description": "Z-index",
|
6621
|
+
"options": [],
|
6622
|
+
"value": {
|
6623
|
+
"type": "number | string",
|
6624
|
+
"kind": "expression"
|
6625
|
+
}
|
6626
|
+
},
|
6627
|
+
{
|
6628
|
+
"name": "safe-area-inset-top",
|
6629
|
+
"default": "`false`",
|
6630
|
+
"description": "Whether to enable top safe area adaptation",
|
6500
6631
|
"options": [],
|
6501
6632
|
"value": {
|
6502
6633
|
"type": "boolean",
|
@@ -6642,35 +6773,17 @@
|
|
6642
6773
|
]
|
6643
6774
|
},
|
6644
6775
|
{
|
6645
|
-
"name": "van-
|
6776
|
+
"name": "van-overlay",
|
6646
6777
|
"slots": [
|
6647
6778
|
{
|
6648
|
-
"name": "
|
6649
|
-
"description": "
|
6650
|
-
},
|
6651
|
-
{
|
6652
|
-
"name": "left",
|
6653
|
-
"description": "Custom left side content"
|
6654
|
-
},
|
6655
|
-
{
|
6656
|
-
"name": "right",
|
6657
|
-
"description": "Custom right side content"
|
6779
|
+
"name": "default",
|
6780
|
+
"description": "Default slot"
|
6658
6781
|
}
|
6659
6782
|
],
|
6660
6783
|
"events": [
|
6661
6784
|
{
|
6662
|
-
"name": "click
|
6663
|
-
"description": "Emitted when
|
6664
|
-
"arguments": [
|
6665
|
-
{
|
6666
|
-
"name": "event",
|
6667
|
-
"type": "MouseEvent"
|
6668
|
-
}
|
6669
|
-
]
|
6670
|
-
},
|
6671
|
-
{
|
6672
|
-
"name": "click-right",
|
6673
|
-
"description": "Emitted when the right button is clicked",
|
6785
|
+
"name": "click",
|
6786
|
+
"description": "Emitted when component is clicked",
|
6674
6787
|
"arguments": [
|
6675
6788
|
{
|
6676
6789
|
"name": "event",
|
@@ -6681,162 +6794,49 @@
|
|
6681
6794
|
],
|
6682
6795
|
"attributes": [
|
6683
6796
|
{
|
6684
|
-
"name": "
|
6685
|
-
"default": "`
|
6686
|
-
"description": "
|
6797
|
+
"name": "show",
|
6798
|
+
"default": "`false`",
|
6799
|
+
"description": "Whether to show overlay",
|
6687
6800
|
"options": [],
|
6688
6801
|
"value": {
|
6689
|
-
"type": "
|
6802
|
+
"type": "boolean",
|
6690
6803
|
"kind": "expression"
|
6691
6804
|
}
|
6692
6805
|
},
|
6693
6806
|
{
|
6694
|
-
"name": "
|
6695
|
-
"default": "`
|
6696
|
-
"description": "
|
6807
|
+
"name": "z-index",
|
6808
|
+
"default": "`1`",
|
6809
|
+
"description": "z-index",
|
6697
6810
|
"options": [],
|
6698
6811
|
"value": {
|
6699
|
-
"type": "string",
|
6812
|
+
"type": "number | string",
|
6700
6813
|
"kind": "expression"
|
6701
6814
|
}
|
6702
6815
|
},
|
6703
6816
|
{
|
6704
|
-
"name": "
|
6705
|
-
"default": "`
|
6706
|
-
"description": "
|
6817
|
+
"name": "duration",
|
6818
|
+
"default": "`0.3`",
|
6819
|
+
"description": "Animation duration",
|
6707
6820
|
"options": [],
|
6708
6821
|
"value": {
|
6709
|
-
"type": "string",
|
6822
|
+
"type": "number | string",
|
6710
6823
|
"kind": "expression"
|
6711
6824
|
}
|
6712
6825
|
},
|
6713
6826
|
{
|
6714
|
-
"name": "
|
6715
|
-
"default": "
|
6716
|
-
"description": "
|
6827
|
+
"name": "class-name",
|
6828
|
+
"default": "-",
|
6829
|
+
"description": "ClassName",
|
6717
6830
|
"options": [],
|
6718
6831
|
"value": {
|
6719
|
-
"type": "
|
6832
|
+
"type": "string",
|
6720
6833
|
"kind": "expression"
|
6721
6834
|
}
|
6722
6835
|
},
|
6723
6836
|
{
|
6724
|
-
"name": "
|
6725
|
-
"default": "
|
6726
|
-
"description": "
|
6727
|
-
"options": [],
|
6728
|
-
"value": {
|
6729
|
-
"type": "boolean",
|
6730
|
-
"kind": "expression"
|
6731
|
-
}
|
6732
|
-
},
|
6733
|
-
{
|
6734
|
-
"name": "fixed",
|
6735
|
-
"default": "`false`",
|
6736
|
-
"description": "Whether to fixed top",
|
6737
|
-
"options": [],
|
6738
|
-
"value": {
|
6739
|
-
"type": "boolean",
|
6740
|
-
"kind": "expression"
|
6741
|
-
}
|
6742
|
-
},
|
6743
|
-
{
|
6744
|
-
"name": "placeholder",
|
6745
|
-
"default": "`false`",
|
6746
|
-
"description": "Whether to generate a placeholder element when fixed",
|
6747
|
-
"options": [],
|
6748
|
-
"value": {
|
6749
|
-
"type": "boolean",
|
6750
|
-
"kind": "expression"
|
6751
|
-
}
|
6752
|
-
},
|
6753
|
-
{
|
6754
|
-
"name": "z-index",
|
6755
|
-
"default": "`1`",
|
6756
|
-
"description": "Z-index",
|
6757
|
-
"options": [],
|
6758
|
-
"value": {
|
6759
|
-
"type": "number | string",
|
6760
|
-
"kind": "expression"
|
6761
|
-
}
|
6762
|
-
},
|
6763
|
-
{
|
6764
|
-
"name": "safe-area-inset-top",
|
6765
|
-
"default": "`false`",
|
6766
|
-
"description": "Whether to enable top safe area adaptation",
|
6767
|
-
"options": [],
|
6768
|
-
"value": {
|
6769
|
-
"type": "boolean",
|
6770
|
-
"kind": "expression"
|
6771
|
-
}
|
6772
|
-
}
|
6773
|
-
]
|
6774
|
-
},
|
6775
|
-
{
|
6776
|
-
"name": "van-overlay",
|
6777
|
-
"slots": [
|
6778
|
-
{
|
6779
|
-
"name": "default",
|
6780
|
-
"description": "Default slot"
|
6781
|
-
}
|
6782
|
-
],
|
6783
|
-
"events": [
|
6784
|
-
{
|
6785
|
-
"name": "click",
|
6786
|
-
"description": "Emitted when component is clicked",
|
6787
|
-
"arguments": [
|
6788
|
-
{
|
6789
|
-
"name": "event",
|
6790
|
-
"type": "MouseEvent"
|
6791
|
-
}
|
6792
|
-
]
|
6793
|
-
}
|
6794
|
-
],
|
6795
|
-
"attributes": [
|
6796
|
-
{
|
6797
|
-
"name": "show",
|
6798
|
-
"default": "`false`",
|
6799
|
-
"description": "Whether to show overlay",
|
6800
|
-
"options": [],
|
6801
|
-
"value": {
|
6802
|
-
"type": "boolean",
|
6803
|
-
"kind": "expression"
|
6804
|
-
}
|
6805
|
-
},
|
6806
|
-
{
|
6807
|
-
"name": "z-index",
|
6808
|
-
"default": "`1`",
|
6809
|
-
"description": "z-index",
|
6810
|
-
"options": [],
|
6811
|
-
"value": {
|
6812
|
-
"type": "number | string",
|
6813
|
-
"kind": "expression"
|
6814
|
-
}
|
6815
|
-
},
|
6816
|
-
{
|
6817
|
-
"name": "duration",
|
6818
|
-
"default": "`0.3`",
|
6819
|
-
"description": "Animation duration",
|
6820
|
-
"options": [],
|
6821
|
-
"value": {
|
6822
|
-
"type": "number | string",
|
6823
|
-
"kind": "expression"
|
6824
|
-
}
|
6825
|
-
},
|
6826
|
-
{
|
6827
|
-
"name": "class-name",
|
6828
|
-
"default": "-",
|
6829
|
-
"description": "ClassName",
|
6830
|
-
"options": [],
|
6831
|
-
"value": {
|
6832
|
-
"type": "string",
|
6833
|
-
"kind": "expression"
|
6834
|
-
}
|
6835
|
-
},
|
6836
|
-
{
|
6837
|
-
"name": "custom-class",
|
6838
|
-
"default": "-",
|
6839
|
-
"description": "Custom style",
|
6837
|
+
"name": "custom-class",
|
6838
|
+
"default": "-",
|
6839
|
+
"description": "Custom style",
|
6840
6840
|
"options": [],
|
6841
6841
|
"value": {
|
6842
6842
|
"type": "object",
|
@@ -7208,122 +7208,60 @@
|
|
7208
7208
|
]
|
7209
7209
|
},
|
7210
7210
|
{
|
7211
|
-
"name": "van-
|
7212
|
-
"slots": [
|
7213
|
-
{
|
7214
|
-
"name": "default",
|
7215
|
-
"description": "Custom content"
|
7216
|
-
},
|
7217
|
-
{
|
7218
|
-
"name": "reference",
|
7219
|
-
"description": "Reference Element"
|
7220
|
-
},
|
7221
|
-
{
|
7222
|
-
"name": "action",
|
7223
|
-
"description": "Custom the content of option"
|
7224
|
-
}
|
7225
|
-
],
|
7211
|
+
"name": "van-password-input",
|
7212
|
+
"slots": [],
|
7226
7213
|
"events": [
|
7227
7214
|
{
|
7228
|
-
"name": "
|
7229
|
-
"description": "Emitted when
|
7230
|
-
"arguments": [
|
7231
|
-
{
|
7232
|
-
"name": "action",
|
7233
|
-
"type": "PopoverAction"
|
7234
|
-
},
|
7235
|
-
{
|
7236
|
-
"name": "index",
|
7237
|
-
"type": "number"
|
7238
|
-
}
|
7239
|
-
]
|
7240
|
-
},
|
7241
|
-
{
|
7242
|
-
"name": "open",
|
7243
|
-
"description": "Emitted when opening Popover",
|
7244
|
-
"arguments": []
|
7245
|
-
},
|
7246
|
-
{
|
7247
|
-
"name": "close",
|
7248
|
-
"description": "Emitted when closing Popover",
|
7249
|
-
"arguments": []
|
7250
|
-
},
|
7251
|
-
{
|
7252
|
-
"name": "opened",
|
7253
|
-
"description": "Emitted when Popover is opened",
|
7254
|
-
"arguments": []
|
7255
|
-
},
|
7256
|
-
{
|
7257
|
-
"name": "closed",
|
7258
|
-
"description": "Emitted when Popover is closed",
|
7215
|
+
"name": "focus",
|
7216
|
+
"description": "Emitted when input is focused",
|
7259
7217
|
"arguments": []
|
7260
|
-
},
|
7261
|
-
{
|
7262
|
-
"name": "click-overlay",
|
7263
|
-
"description": "Emitted when overlay is clicked",
|
7264
|
-
"arguments": [
|
7265
|
-
{
|
7266
|
-
"name": "event",
|
7267
|
-
"type": "MouseEvent"
|
7268
|
-
}
|
7269
|
-
]
|
7270
7218
|
}
|
7271
7219
|
],
|
7272
7220
|
"attributes": [
|
7273
7221
|
{
|
7274
|
-
"name": "
|
7275
|
-
"default": "`
|
7276
|
-
"description": "
|
7277
|
-
"options": [],
|
7278
|
-
"value": {
|
7279
|
-
"type": "boolean",
|
7280
|
-
"kind": "expression"
|
7281
|
-
}
|
7282
|
-
},
|
7283
|
-
{
|
7284
|
-
"name": "actions",
|
7285
|
-
"default": "`[]`",
|
7286
|
-
"description": "Actions",
|
7222
|
+
"name": "value",
|
7223
|
+
"default": "`''`",
|
7224
|
+
"description": "Password value",
|
7287
7225
|
"options": [],
|
7288
7226
|
"value": {
|
7289
|
-
"type": "
|
7227
|
+
"type": "string",
|
7290
7228
|
"kind": "expression"
|
7291
7229
|
}
|
7292
7230
|
},
|
7293
7231
|
{
|
7294
|
-
"name": "
|
7295
|
-
"default": "
|
7296
|
-
"description": "
|
7232
|
+
"name": "info",
|
7233
|
+
"default": "-",
|
7234
|
+
"description": "Bottom info",
|
7297
7235
|
"options": [],
|
7298
7236
|
"value": {
|
7299
|
-
"type": "
|
7237
|
+
"type": "string",
|
7300
7238
|
"kind": "expression"
|
7301
7239
|
}
|
7302
7240
|
},
|
7303
7241
|
{
|
7304
|
-
"name": "
|
7305
|
-
"default": "
|
7306
|
-
"description": "
|
7242
|
+
"name": "error-info",
|
7243
|
+
"default": "-",
|
7244
|
+
"description": "Bottom error info",
|
7307
7245
|
"options": [],
|
7308
7246
|
"value": {
|
7309
|
-
"type": "
|
7247
|
+
"type": "string",
|
7310
7248
|
"kind": "expression"
|
7311
7249
|
}
|
7312
7250
|
},
|
7313
7251
|
{
|
7314
|
-
"name": "
|
7315
|
-
"default": "`
|
7316
|
-
"description": "
|
7252
|
+
"name": "length",
|
7253
|
+
"default": "`6`",
|
7254
|
+
"description": "Maxlength of password",
|
7317
7255
|
"options": [],
|
7318
7256
|
"value": {
|
7319
|
-
"type": "
|
7257
|
+
"type": "number | string",
|
7320
7258
|
"kind": "expression"
|
7321
7259
|
}
|
7322
7260
|
},
|
7323
7261
|
{
|
7324
|
-
"name": "
|
7325
|
-
"default": "`0
|
7326
|
-
"description": "
|
7262
|
+
"name": "gutter",
|
7263
|
+
"default": "`0`",
|
7264
|
+
"description": "Gutter of input",
|
7327
7265
|
"options": [],
|
7328
7266
|
"value": {
|
7329
7267
|
"type": "number | string",
|
@@ -7331,152 +7269,198 @@
|
|
7331
7269
|
}
|
7332
7270
|
},
|
7333
7271
|
{
|
7334
|
-
"name": "
|
7335
|
-
"default": "`
|
7336
|
-
"description": "
|
7272
|
+
"name": "mask",
|
7273
|
+
"default": "`true`",
|
7274
|
+
"description": "Whether to mask value",
|
7337
7275
|
"options": [],
|
7338
7276
|
"value": {
|
7339
|
-
"type": "
|
7277
|
+
"type": "boolean",
|
7340
7278
|
"kind": "expression"
|
7341
7279
|
}
|
7342
7280
|
},
|
7343
7281
|
{
|
7344
|
-
"name": "
|
7282
|
+
"name": "focused",
|
7345
7283
|
"default": "`false`",
|
7346
|
-
"description": "Whether to show
|
7284
|
+
"description": "Whether to show focused cursor",
|
7347
7285
|
"options": [],
|
7348
7286
|
"value": {
|
7349
7287
|
"type": "boolean",
|
7350
7288
|
"kind": "expression"
|
7351
7289
|
}
|
7290
|
+
}
|
7291
|
+
]
|
7292
|
+
},
|
7293
|
+
{
|
7294
|
+
"name": "van-picker",
|
7295
|
+
"slots": [
|
7296
|
+
{
|
7297
|
+
"name": "toolbar",
|
7298
|
+
"description": "Custom toolbar content"
|
7352
7299
|
},
|
7353
7300
|
{
|
7354
|
-
"name": "
|
7355
|
-
"
|
7356
|
-
"description": "Custom overlay class",
|
7357
|
-
"options": [],
|
7358
|
-
"value": {
|
7359
|
-
"type": "string | Array | object",
|
7360
|
-
"kind": "expression"
|
7361
|
-
}
|
7301
|
+
"name": "title",
|
7302
|
+
"description": "Custom title"
|
7362
7303
|
},
|
7363
7304
|
{
|
7364
|
-
"name": "
|
7365
|
-
"
|
7366
|
-
"description": "Custom overlay style",
|
7367
|
-
"options": [],
|
7368
|
-
"value": {
|
7369
|
-
"type": "object",
|
7370
|
-
"kind": "expression"
|
7371
|
-
}
|
7305
|
+
"name": "confirm",
|
7306
|
+
"description": "Custom confirm button text"
|
7372
7307
|
},
|
7373
7308
|
{
|
7374
|
-
"name": "
|
7375
|
-
"
|
7376
|
-
|
7309
|
+
"name": "cancel",
|
7310
|
+
"description": "Custom cancel button text"
|
7311
|
+
},
|
7312
|
+
{
|
7313
|
+
"name": "option",
|
7314
|
+
"description": "Custom option content"
|
7315
|
+
},
|
7316
|
+
{
|
7317
|
+
"name": "columns-top",
|
7318
|
+
"description": "Custom content above columns"
|
7319
|
+
},
|
7320
|
+
{
|
7321
|
+
"name": "columns-bottom",
|
7322
|
+
"description": "Custom content below columns"
|
7323
|
+
}
|
7324
|
+
],
|
7325
|
+
"events": [
|
7326
|
+
{
|
7327
|
+
"name": "confirm",
|
7328
|
+
"description": "Emitted when click confirm button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7329
|
+
"arguments": [
|
7330
|
+
{
|
7331
|
+
"name": "currentValue",
|
7332
|
+
"type": "PickerOption | PickerOption[]"
|
7333
|
+
},
|
7334
|
+
{
|
7335
|
+
"name": "currentIndex",
|
7336
|
+
"type": "number | number[]"
|
7337
|
+
}
|
7338
|
+
]
|
7339
|
+
},
|
7340
|
+
{
|
7341
|
+
"name": "cancel",
|
7342
|
+
"description": "Emitted when click cancel button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7343
|
+
"arguments": [
|
7344
|
+
{
|
7345
|
+
"name": "currentValue",
|
7346
|
+
"type": "PickerOption | PickerOption[]"
|
7347
|
+
},
|
7348
|
+
{
|
7349
|
+
"name": "currentIndex",
|
7350
|
+
"type": "number | number[]"
|
7351
|
+
}
|
7352
|
+
]
|
7353
|
+
},
|
7354
|
+
{
|
7355
|
+
"name": "change",
|
7356
|
+
"description": "Emitted when current option changed.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7357
|
+
"arguments": [
|
7358
|
+
{
|
7359
|
+
"name": "currentValue",
|
7360
|
+
"type": "PickerOption | PickerOption[]"
|
7361
|
+
},
|
7362
|
+
{
|
7363
|
+
"name": "currentIndex",
|
7364
|
+
"type": "number | number[]"
|
7365
|
+
}
|
7366
|
+
]
|
7367
|
+
}
|
7368
|
+
],
|
7369
|
+
"attributes": [
|
7370
|
+
{
|
7371
|
+
"name": "columns",
|
7372
|
+
"default": "`[]`",
|
7373
|
+
"description": "Columns data",
|
7377
7374
|
"options": [],
|
7378
7375
|
"value": {
|
7379
|
-
"type": "
|
7376
|
+
"type": "Column[]",
|
7380
7377
|
"kind": "expression"
|
7381
7378
|
}
|
7382
7379
|
},
|
7383
7380
|
{
|
7384
|
-
"name": "
|
7385
|
-
"default": "`
|
7386
|
-
"description": "
|
7381
|
+
"name": "columns-field-names",
|
7382
|
+
"default": "`{ text: 'text', values: 'values', children: 'children' }`",
|
7383
|
+
"description": "custom columns field",
|
7387
7384
|
"options": [],
|
7388
7385
|
"value": {
|
7389
|
-
"type": "
|
7386
|
+
"type": "object",
|
7390
7387
|
"kind": "expression"
|
7391
7388
|
}
|
7392
7389
|
},
|
7393
7390
|
{
|
7394
|
-
"name": "
|
7395
|
-
"default": "
|
7396
|
-
"description": "
|
7391
|
+
"name": "title",
|
7392
|
+
"default": "-",
|
7393
|
+
"description": "Toolbar title",
|
7397
7394
|
"options": [],
|
7398
7395
|
"value": {
|
7399
|
-
"type": "
|
7396
|
+
"type": "string",
|
7400
7397
|
"kind": "expression"
|
7401
7398
|
}
|
7402
7399
|
},
|
7403
7400
|
{
|
7404
|
-
"name": "
|
7405
|
-
"default": "`
|
7406
|
-
"description": "
|
7401
|
+
"name": "confirm-button-text",
|
7402
|
+
"default": "`Confirm`",
|
7403
|
+
"description": "Text of confirm button",
|
7407
7404
|
"options": [],
|
7408
7405
|
"value": {
|
7409
|
-
"type": "
|
7406
|
+
"type": "string",
|
7410
7407
|
"kind": "expression"
|
7411
7408
|
}
|
7412
7409
|
},
|
7413
7410
|
{
|
7414
|
-
"name": "
|
7415
|
-
"default": "`
|
7416
|
-
"description": "
|
7411
|
+
"name": "cancel-button-text",
|
7412
|
+
"default": "`Cancel`",
|
7413
|
+
"description": "Text of cancel button",
|
7417
7414
|
"options": [],
|
7418
7415
|
"value": {
|
7419
|
-
"type": "string
|
7416
|
+
"type": "string",
|
7420
7417
|
"kind": "expression"
|
7421
7418
|
}
|
7422
7419
|
},
|
7423
7420
|
{
|
7424
|
-
"name": "
|
7425
|
-
"default": "`
|
7426
|
-
"description": "
|
7421
|
+
"name": "toolbar-position",
|
7422
|
+
"default": "`top`",
|
7423
|
+
"description": "Toolbar position, cat be set to `bottom`",
|
7427
7424
|
"options": [],
|
7428
7425
|
"value": {
|
7429
7426
|
"type": "string",
|
7430
7427
|
"kind": "expression"
|
7431
7428
|
}
|
7432
|
-
}
|
7433
|
-
]
|
7434
|
-
},
|
7435
|
-
{
|
7436
|
-
"name": "van-password-input",
|
7437
|
-
"slots": [],
|
7438
|
-
"events": [
|
7439
|
-
{
|
7440
|
-
"name": "focus",
|
7441
|
-
"description": "Emitted when input is focused",
|
7442
|
-
"arguments": []
|
7443
|
-
}
|
7444
|
-
],
|
7445
|
-
"attributes": [
|
7429
|
+
},
|
7446
7430
|
{
|
7447
|
-
"name": "
|
7448
|
-
"default": "`
|
7449
|
-
"description": "
|
7431
|
+
"name": "loading",
|
7432
|
+
"default": "`false`",
|
7433
|
+
"description": "Whether to show loading prompt",
|
7450
7434
|
"options": [],
|
7451
7435
|
"value": {
|
7452
|
-
"type": "
|
7436
|
+
"type": "boolean",
|
7453
7437
|
"kind": "expression"
|
7454
7438
|
}
|
7455
7439
|
},
|
7456
7440
|
{
|
7457
|
-
"name": "
|
7458
|
-
"default": "
|
7459
|
-
"description": "
|
7441
|
+
"name": "show-toolbar",
|
7442
|
+
"default": "`true`",
|
7443
|
+
"description": "Whether to show toolbar",
|
7460
7444
|
"options": [],
|
7461
7445
|
"value": {
|
7462
|
-
"type": "
|
7446
|
+
"type": "boolean",
|
7463
7447
|
"kind": "expression"
|
7464
7448
|
}
|
7465
7449
|
},
|
7466
7450
|
{
|
7467
|
-
"name": "
|
7468
|
-
"default": "
|
7469
|
-
"description": "
|
7451
|
+
"name": "allow-html",
|
7452
|
+
"default": "`false`",
|
7453
|
+
"description": "Whether to allow HTML in option text",
|
7470
7454
|
"options": [],
|
7471
7455
|
"value": {
|
7472
|
-
"type": "
|
7456
|
+
"type": "boolean",
|
7473
7457
|
"kind": "expression"
|
7474
7458
|
}
|
7475
7459
|
},
|
7476
7460
|
{
|
7477
|
-
"name": "
|
7478
|
-
"default": "`
|
7479
|
-
"description": "
|
7461
|
+
"name": "default-index",
|
7462
|
+
"default": "`0`",
|
7463
|
+
"description": "Default value index of single column picker",
|
7480
7464
|
"options": [],
|
7481
7465
|
"value": {
|
7482
7466
|
"type": "number | string",
|
@@ -7484,9 +7468,9 @@
|
|
7484
7468
|
}
|
7485
7469
|
},
|
7486
7470
|
{
|
7487
|
-
"name": "
|
7488
|
-
"default": "`
|
7489
|
-
"description": "
|
7471
|
+
"name": "item-height",
|
7472
|
+
"default": "`44`",
|
7473
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
7490
7474
|
"options": [],
|
7491
7475
|
"value": {
|
7492
7476
|
"type": "number | string",
|
@@ -7494,168 +7478,164 @@
|
|
7494
7478
|
}
|
7495
7479
|
},
|
7496
7480
|
{
|
7497
|
-
"name": "
|
7498
|
-
"default": "`
|
7499
|
-
"description": "
|
7481
|
+
"name": "visible-item-count",
|
7482
|
+
"default": "`6`",
|
7483
|
+
"description": "Count of visible columns",
|
7500
7484
|
"options": [],
|
7501
7485
|
"value": {
|
7502
|
-
"type": "
|
7486
|
+
"type": "number | string",
|
7503
7487
|
"kind": "expression"
|
7504
7488
|
}
|
7505
7489
|
},
|
7506
7490
|
{
|
7507
|
-
"name": "
|
7508
|
-
"default": "`
|
7509
|
-
"description": "
|
7491
|
+
"name": "swipe-duration",
|
7492
|
+
"default": "`1000`",
|
7493
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
7510
7494
|
"options": [],
|
7511
7495
|
"value": {
|
7512
|
-
"type": "
|
7496
|
+
"type": "number | string",
|
7513
7497
|
"kind": "expression"
|
7514
7498
|
}
|
7515
7499
|
}
|
7516
7500
|
]
|
7517
7501
|
},
|
7518
7502
|
{
|
7519
|
-
"name": "van-
|
7503
|
+
"name": "van-popover",
|
7520
7504
|
"slots": [
|
7521
7505
|
{
|
7522
|
-
"name": "
|
7523
|
-
"description": "Custom
|
7524
|
-
},
|
7525
|
-
{
|
7526
|
-
"name": "title",
|
7527
|
-
"description": "Custom title"
|
7528
|
-
},
|
7529
|
-
{
|
7530
|
-
"name": "confirm",
|
7531
|
-
"description": "Custom confirm button text"
|
7532
|
-
},
|
7533
|
-
{
|
7534
|
-
"name": "cancel",
|
7535
|
-
"description": "Custom cancel button text"
|
7536
|
-
},
|
7537
|
-
{
|
7538
|
-
"name": "option",
|
7539
|
-
"description": "Custom option content"
|
7506
|
+
"name": "default",
|
7507
|
+
"description": "Custom content"
|
7540
7508
|
},
|
7541
7509
|
{
|
7542
|
-
"name": "
|
7543
|
-
"description": "
|
7510
|
+
"name": "reference",
|
7511
|
+
"description": "Reference Element"
|
7544
7512
|
},
|
7545
7513
|
{
|
7546
|
-
"name": "
|
7547
|
-
"description": "Custom content
|
7514
|
+
"name": "action",
|
7515
|
+
"description": "Custom the content of option"
|
7548
7516
|
}
|
7549
7517
|
],
|
7550
7518
|
"events": [
|
7551
7519
|
{
|
7552
|
-
"name": "
|
7553
|
-
"description": "Emitted when
|
7520
|
+
"name": "select",
|
7521
|
+
"description": "Emitted when an action is clicked",
|
7554
7522
|
"arguments": [
|
7555
7523
|
{
|
7556
|
-
"name": "
|
7557
|
-
"type": "
|
7524
|
+
"name": "action",
|
7525
|
+
"type": "PopoverAction"
|
7558
7526
|
},
|
7559
7527
|
{
|
7560
|
-
"name": "
|
7561
|
-
"type": "number
|
7528
|
+
"name": "index",
|
7529
|
+
"type": "number"
|
7562
7530
|
}
|
7563
7531
|
]
|
7564
7532
|
},
|
7565
7533
|
{
|
7566
|
-
"name": "
|
7567
|
-
"description": "Emitted when
|
7568
|
-
"arguments": [
|
7569
|
-
{
|
7570
|
-
"name": "currentValue",
|
7571
|
-
"type": "PickerOption | PickerOption[]"
|
7572
|
-
},
|
7573
|
-
{
|
7574
|
-
"name": "currentIndex",
|
7575
|
-
"type": "number | number[]"
|
7576
|
-
}
|
7577
|
-
]
|
7534
|
+
"name": "open",
|
7535
|
+
"description": "Emitted when opening Popover",
|
7536
|
+
"arguments": []
|
7578
7537
|
},
|
7579
7538
|
{
|
7580
|
-
"name": "
|
7581
|
-
"description": "Emitted when
|
7539
|
+
"name": "close",
|
7540
|
+
"description": "Emitted when closing Popover",
|
7541
|
+
"arguments": []
|
7542
|
+
},
|
7543
|
+
{
|
7544
|
+
"name": "opened",
|
7545
|
+
"description": "Emitted when Popover is opened",
|
7546
|
+
"arguments": []
|
7547
|
+
},
|
7548
|
+
{
|
7549
|
+
"name": "closed",
|
7550
|
+
"description": "Emitted when Popover is closed",
|
7551
|
+
"arguments": []
|
7552
|
+
},
|
7553
|
+
{
|
7554
|
+
"name": "click-overlay",
|
7555
|
+
"description": "Emitted when overlay is clicked",
|
7582
7556
|
"arguments": [
|
7583
7557
|
{
|
7584
|
-
"name": "
|
7585
|
-
"type": "
|
7586
|
-
},
|
7587
|
-
{
|
7588
|
-
"name": "currentIndex",
|
7589
|
-
"type": "number | number[]"
|
7558
|
+
"name": "event",
|
7559
|
+
"type": "MouseEvent"
|
7590
7560
|
}
|
7591
7561
|
]
|
7592
7562
|
}
|
7593
7563
|
],
|
7594
7564
|
"attributes": [
|
7595
7565
|
{
|
7596
|
-
"name": "
|
7566
|
+
"name": "v-model:show",
|
7567
|
+
"default": "`false`",
|
7568
|
+
"description": "Whether to show Popover",
|
7569
|
+
"options": [],
|
7570
|
+
"value": {
|
7571
|
+
"type": "boolean",
|
7572
|
+
"kind": "expression"
|
7573
|
+
}
|
7574
|
+
},
|
7575
|
+
{
|
7576
|
+
"name": "actions",
|
7597
7577
|
"default": "`[]`",
|
7598
|
-
"description": "
|
7578
|
+
"description": "Actions",
|
7599
7579
|
"options": [],
|
7600
7580
|
"value": {
|
7601
|
-
"type": "
|
7581
|
+
"type": "PopoverAction[]",
|
7602
7582
|
"kind": "expression"
|
7603
7583
|
}
|
7604
7584
|
},
|
7605
7585
|
{
|
7606
|
-
"name": "
|
7607
|
-
"default": "`
|
7608
|
-
"description": "
|
7586
|
+
"name": "placement",
|
7587
|
+
"default": "`bottom`",
|
7588
|
+
"description": "Placement",
|
7609
7589
|
"options": [],
|
7610
7590
|
"value": {
|
7611
|
-
"type": "
|
7591
|
+
"type": "PopoverPlacement",
|
7612
7592
|
"kind": "expression"
|
7613
7593
|
}
|
7614
7594
|
},
|
7615
7595
|
{
|
7616
|
-
"name": "
|
7617
|
-
"default": "
|
7618
|
-
"description": "
|
7596
|
+
"name": "theme",
|
7597
|
+
"default": "`light`",
|
7598
|
+
"description": "Theme, can be set to `dark`",
|
7619
7599
|
"options": [],
|
7620
7600
|
"value": {
|
7621
|
-
"type": "
|
7601
|
+
"type": "PopoverTheme",
|
7622
7602
|
"kind": "expression"
|
7623
7603
|
}
|
7624
7604
|
},
|
7625
7605
|
{
|
7626
|
-
"name": "
|
7627
|
-
"default": "`
|
7628
|
-
"description": "
|
7606
|
+
"name": "trigger",
|
7607
|
+
"default": "`click`",
|
7608
|
+
"description": "Trigger mode, can be set to `manual`",
|
7629
7609
|
"options": [],
|
7630
7610
|
"value": {
|
7631
|
-
"type": "
|
7611
|
+
"type": "PopoverTrigger",
|
7632
7612
|
"kind": "expression"
|
7633
7613
|
}
|
7634
7614
|
},
|
7635
7615
|
{
|
7636
|
-
"name": "
|
7637
|
-
"default": "`
|
7638
|
-
"description": "
|
7616
|
+
"name": "duration",
|
7617
|
+
"default": "`0.3`",
|
7618
|
+
"description": "Transition duration, unit second",
|
7639
7619
|
"options": [],
|
7640
7620
|
"value": {
|
7641
|
-
"type": "string",
|
7621
|
+
"type": "number | string",
|
7642
7622
|
"kind": "expression"
|
7643
7623
|
}
|
7644
7624
|
},
|
7645
7625
|
{
|
7646
|
-
"name": "
|
7647
|
-
"default": "`
|
7648
|
-
"description": "
|
7626
|
+
"name": "offset",
|
7627
|
+
"default": "`[0, 8]`",
|
7628
|
+
"description": "Distance to reference",
|
7649
7629
|
"options": [],
|
7650
7630
|
"value": {
|
7651
|
-
"type": "
|
7631
|
+
"type": "[number, number]",
|
7652
7632
|
"kind": "expression"
|
7653
7633
|
}
|
7654
7634
|
},
|
7655
7635
|
{
|
7656
|
-
"name": "
|
7636
|
+
"name": "overlay",
|
7657
7637
|
"default": "`false`",
|
7658
|
-
"description": "Whether to show
|
7638
|
+
"description": "Whether to show overlay",
|
7659
7639
|
"options": [],
|
7660
7640
|
"value": {
|
7661
7641
|
"type": "boolean",
|
@@ -7663,9 +7643,29 @@
|
|
7663
7643
|
}
|
7664
7644
|
},
|
7665
7645
|
{
|
7666
|
-
"name": "
|
7646
|
+
"name": "overlay-class",
|
7647
|
+
"default": "-",
|
7648
|
+
"description": "Custom overlay class",
|
7649
|
+
"options": [],
|
7650
|
+
"value": {
|
7651
|
+
"type": "string | Array | object",
|
7652
|
+
"kind": "expression"
|
7653
|
+
}
|
7654
|
+
},
|
7655
|
+
{
|
7656
|
+
"name": "overlay-style",
|
7657
|
+
"default": "-",
|
7658
|
+
"description": "Custom overlay style",
|
7659
|
+
"options": [],
|
7660
|
+
"value": {
|
7661
|
+
"type": "object",
|
7662
|
+
"kind": "expression"
|
7663
|
+
}
|
7664
|
+
},
|
7665
|
+
{
|
7666
|
+
"name": "show-arrow",
|
7667
7667
|
"default": "`true`",
|
7668
|
-
"description": "Whether to show
|
7668
|
+
"description": "Whether to show arrow",
|
7669
7669
|
"options": [],
|
7670
7670
|
"value": {
|
7671
7671
|
"type": "boolean",
|
@@ -7673,9 +7673,9 @@
|
|
7673
7673
|
}
|
7674
7674
|
},
|
7675
7675
|
{
|
7676
|
-
"name": "
|
7677
|
-
"default": "`
|
7678
|
-
"description": "Whether to
|
7676
|
+
"name": "close-on-click-action",
|
7677
|
+
"default": "`true`",
|
7678
|
+
"description": "Whether to close when clicking action",
|
7679
7679
|
"options": [],
|
7680
7680
|
"value": {
|
7681
7681
|
"type": "boolean",
|
@@ -7683,9 +7683,56 @@
|
|
7683
7683
|
}
|
7684
7684
|
},
|
7685
7685
|
{
|
7686
|
-
"name": "
|
7686
|
+
"name": "close-on-click-outside",
|
7687
|
+
"default": "`true`",
|
7688
|
+
"description": "Whether to close when clicking outside",
|
7689
|
+
"options": [],
|
7690
|
+
"value": {
|
7691
|
+
"type": "boolean",
|
7692
|
+
"kind": "expression"
|
7693
|
+
}
|
7694
|
+
},
|
7695
|
+
{
|
7696
|
+
"name": "close-on-click-overlay",
|
7697
|
+
"default": "`true`",
|
7698
|
+
"description": "Whether to close when clicking overlay",
|
7699
|
+
"options": [],
|
7700
|
+
"value": {
|
7701
|
+
"type": "boolean",
|
7702
|
+
"kind": "expression"
|
7703
|
+
}
|
7704
|
+
},
|
7705
|
+
{
|
7706
|
+
"name": "teleport",
|
7707
|
+
"default": "`body`",
|
7708
|
+
"description": "Specifies a target element where Popover will be mounted",
|
7709
|
+
"options": [],
|
7710
|
+
"value": {
|
7711
|
+
"type": "string | Element",
|
7712
|
+
"kind": "expression"
|
7713
|
+
}
|
7714
|
+
},
|
7715
|
+
{
|
7716
|
+
"name": "icon-prefix",
|
7717
|
+
"default": "`van-icon`",
|
7718
|
+
"description": "Icon className prefix",
|
7719
|
+
"options": [],
|
7720
|
+
"value": {
|
7721
|
+
"type": "string",
|
7722
|
+
"kind": "expression"
|
7723
|
+
}
|
7724
|
+
}
|
7725
|
+
]
|
7726
|
+
},
|
7727
|
+
{
|
7728
|
+
"name": "van-progress",
|
7729
|
+
"slots": [],
|
7730
|
+
"events": [],
|
7731
|
+
"attributes": [
|
7732
|
+
{
|
7733
|
+
"name": "percentage",
|
7687
7734
|
"default": "`0`",
|
7688
|
-
"description": "
|
7735
|
+
"description": "Percentage",
|
7689
7736
|
"options": [],
|
7690
7737
|
"value": {
|
7691
7738
|
"type": "number | string",
|
@@ -7693,9 +7740,9 @@
|
|
7693
7740
|
}
|
7694
7741
|
},
|
7695
7742
|
{
|
7696
|
-
"name": "
|
7697
|
-
"default": "`
|
7698
|
-
"description": "
|
7743
|
+
"name": "stroke-width",
|
7744
|
+
"default": "`4px`",
|
7745
|
+
"description": "Stroke width",
|
7699
7746
|
"options": [],
|
7700
7747
|
"value": {
|
7701
7748
|
"type": "number | string",
|
@@ -7703,22 +7750,72 @@
|
|
7703
7750
|
}
|
7704
7751
|
},
|
7705
7752
|
{
|
7706
|
-
"name": "
|
7707
|
-
"default": "`
|
7708
|
-
"description": "
|
7753
|
+
"name": "color",
|
7754
|
+
"default": "`#1989fa`",
|
7755
|
+
"description": "Color",
|
7756
|
+
"options": [],
|
7757
|
+
"value": {
|
7758
|
+
"type": "string",
|
7759
|
+
"kind": "expression"
|
7760
|
+
}
|
7761
|
+
},
|
7762
|
+
{
|
7763
|
+
"name": "track-color",
|
7764
|
+
"default": "`#e5e5e5`",
|
7765
|
+
"description": "Track color",
|
7766
|
+
"options": [],
|
7767
|
+
"value": {
|
7768
|
+
"type": "string",
|
7769
|
+
"kind": "expression"
|
7770
|
+
}
|
7771
|
+
},
|
7772
|
+
{
|
7773
|
+
"name": "pivot-text",
|
7774
|
+
"default": "percentage",
|
7775
|
+
"description": "Pivot text",
|
7776
|
+
"options": [],
|
7777
|
+
"value": {
|
7778
|
+
"type": "string",
|
7779
|
+
"kind": "expression"
|
7780
|
+
}
|
7781
|
+
},
|
7782
|
+
{
|
7783
|
+
"name": "pivot-color",
|
7784
|
+
"default": "inherit progress color",
|
7785
|
+
"description": "Pivot text background color",
|
7786
|
+
"options": [],
|
7787
|
+
"value": {
|
7788
|
+
"type": "string",
|
7789
|
+
"kind": "expression"
|
7790
|
+
}
|
7791
|
+
},
|
7792
|
+
{
|
7793
|
+
"name": "text-color",
|
7794
|
+
"default": "`white`",
|
7795
|
+
"description": "Pivot text color",
|
7796
|
+
"options": [],
|
7797
|
+
"value": {
|
7798
|
+
"type": "string",
|
7799
|
+
"kind": "expression"
|
7800
|
+
}
|
7801
|
+
},
|
7802
|
+
{
|
7803
|
+
"name": "inactive",
|
7804
|
+
"default": "`false`",
|
7805
|
+
"description": "Whether to be gray",
|
7709
7806
|
"options": [],
|
7710
7807
|
"value": {
|
7711
|
-
"type": "
|
7808
|
+
"type": "boolean",
|
7712
7809
|
"kind": "expression"
|
7713
7810
|
}
|
7714
7811
|
},
|
7715
7812
|
{
|
7716
|
-
"name": "
|
7717
|
-
"default": "`
|
7718
|
-
"description": "
|
7813
|
+
"name": "show-pivot",
|
7814
|
+
"default": "`true`",
|
7815
|
+
"description": "Whether to show text",
|
7719
7816
|
"options": [],
|
7720
7817
|
"value": {
|
7721
|
-
"type": "
|
7818
|
+
"type": "boolean",
|
7722
7819
|
"kind": "expression"
|
7723
7820
|
}
|
7724
7821
|
}
|
@@ -8002,113 +8099,45 @@
|
|
8002
8099
|
]
|
8003
8100
|
},
|
8004
8101
|
{
|
8005
|
-
"name": "van-
|
8102
|
+
"name": "van-pull-refresh",
|
8006
8103
|
"slots": [
|
8007
8104
|
{
|
8008
8105
|
"name": "default",
|
8009
|
-
"description": "
|
8010
|
-
},
|
8011
|
-
{
|
8012
|
-
"name": "icon",
|
8013
|
-
"description": "Custom icon"
|
8014
|
-
}
|
8015
|
-
],
|
8016
|
-
"events": [
|
8017
|
-
{
|
8018
|
-
"name": "click",
|
8019
|
-
"description": "Emitted when radio is clicked",
|
8020
|
-
"arguments": [
|
8021
|
-
{
|
8022
|
-
"name": "event",
|
8023
|
-
"type": "MouseEvent"
|
8024
|
-
}
|
8025
|
-
]
|
8026
|
-
}
|
8027
|
-
],
|
8028
|
-
"attributes": [
|
8029
|
-
{
|
8030
|
-
"name": "name",
|
8031
|
-
"default": "-",
|
8032
|
-
"description": "Radio name, usually a unique string or number",
|
8033
|
-
"options": [],
|
8034
|
-
"value": {
|
8035
|
-
"type": "any",
|
8036
|
-
"kind": "expression"
|
8037
|
-
}
|
8038
|
-
},
|
8039
|
-
{
|
8040
|
-
"name": "shape",
|
8041
|
-
"default": "`round`",
|
8042
|
-
"description": "Can be set to `square`",
|
8043
|
-
"options": [],
|
8044
|
-
"value": {
|
8045
|
-
"type": "string",
|
8046
|
-
"kind": "expression"
|
8047
|
-
}
|
8106
|
+
"description": "Default slot"
|
8048
8107
|
},
|
8049
8108
|
{
|
8050
|
-
"name": "
|
8051
|
-
"
|
8052
|
-
"description": "Whether to disable radio",
|
8053
|
-
"options": [],
|
8054
|
-
"value": {
|
8055
|
-
"type": "boolean",
|
8056
|
-
"kind": "expression"
|
8057
|
-
}
|
8109
|
+
"name": "normal",
|
8110
|
+
"description": "Content of head when at normal status"
|
8058
8111
|
},
|
8059
8112
|
{
|
8060
|
-
"name": "
|
8061
|
-
"
|
8062
|
-
"description": "Whether to disable label click",
|
8063
|
-
"options": [],
|
8064
|
-
"value": {
|
8065
|
-
"type": "boolean",
|
8066
|
-
"kind": "expression"
|
8067
|
-
}
|
8113
|
+
"name": "pulling",
|
8114
|
+
"description": "Content of head when at pulling"
|
8068
8115
|
},
|
8069
8116
|
{
|
8070
|
-
"name": "
|
8071
|
-
"
|
8072
|
-
"description": "Can be set to `left`",
|
8073
|
-
"options": [],
|
8074
|
-
"value": {
|
8075
|
-
"type": "string",
|
8076
|
-
"kind": "expression"
|
8077
|
-
}
|
8117
|
+
"name": "loosing",
|
8118
|
+
"description": "Content of head when at loosing"
|
8078
8119
|
},
|
8079
8120
|
{
|
8080
|
-
"name": "
|
8081
|
-
"
|
8082
|
-
"description": "Icon size",
|
8083
|
-
"options": [],
|
8084
|
-
"value": {
|
8085
|
-
"type": "number | string",
|
8086
|
-
"kind": "expression"
|
8087
|
-
}
|
8121
|
+
"name": "loading",
|
8122
|
+
"description": "Content of head when at loading"
|
8088
8123
|
},
|
8089
8124
|
{
|
8090
|
-
"name": "
|
8091
|
-
"
|
8092
|
-
"description": "Checked color",
|
8093
|
-
"options": [],
|
8094
|
-
"value": {
|
8095
|
-
"type": "string",
|
8096
|
-
"kind": "expression"
|
8097
|
-
}
|
8125
|
+
"name": "success",
|
8126
|
+
"description": "Content of head when succeed"
|
8098
8127
|
}
|
8099
|
-
]
|
8100
|
-
},
|
8101
|
-
{
|
8102
|
-
"name": "van-radio-group",
|
8103
|
-
"slots": [],
|
8128
|
+
],
|
8104
8129
|
"events": [
|
8130
|
+
{
|
8131
|
+
"name": "refresh",
|
8132
|
+
"description": "Emitted after pulling refresh",
|
8133
|
+
"arguments": []
|
8134
|
+
},
|
8105
8135
|
{
|
8106
8136
|
"name": "change",
|
8107
|
-
"description": "Emitted when
|
8137
|
+
"description": "Emitted when draging or status changed",
|
8108
8138
|
"arguments": [
|
8109
8139
|
{
|
8110
|
-
"name": "
|
8111
|
-
"type": "string"
|
8140
|
+
"name": "{ status: string, distance: number }"
|
8112
8141
|
}
|
8113
8142
|
]
|
8114
8143
|
}
|
@@ -8117,17 +8146,7 @@
|
|
8117
8146
|
{
|
8118
8147
|
"name": "v-model",
|
8119
8148
|
"default": "-",
|
8120
|
-
"description": "
|
8121
|
-
"options": [],
|
8122
|
-
"value": {
|
8123
|
-
"type": "any",
|
8124
|
-
"kind": "expression"
|
8125
|
-
}
|
8126
|
-
},
|
8127
|
-
{
|
8128
|
-
"name": "disabled",
|
8129
|
-
"default": "`false`",
|
8130
|
-
"description": "Disable all radios",
|
8149
|
+
"description": "Loading status",
|
8131
8150
|
"options": [],
|
8132
8151
|
"value": {
|
8133
8152
|
"type": "boolean",
|
@@ -8135,9 +8154,9 @@
|
|
8135
8154
|
}
|
8136
8155
|
},
|
8137
8156
|
{
|
8138
|
-
"name": "
|
8139
|
-
"default": "`
|
8140
|
-
"description": "
|
8157
|
+
"name": "pulling-text",
|
8158
|
+
"default": "`Pull to refresh...`",
|
8159
|
+
"description": "Text to show when pulling",
|
8141
8160
|
"options": [],
|
8142
8161
|
"value": {
|
8143
8162
|
"type": "string",
|
@@ -8145,56 +8164,19 @@
|
|
8145
8164
|
}
|
8146
8165
|
},
|
8147
8166
|
{
|
8148
|
-
"name": "
|
8149
|
-
"default": "`
|
8150
|
-
"description": "
|
8151
|
-
"options": [],
|
8152
|
-
"value": {
|
8153
|
-
"type": "number | string",
|
8154
|
-
"kind": "expression"
|
8155
|
-
}
|
8156
|
-
},
|
8157
|
-
{
|
8158
|
-
"name": "checked-color",
|
8159
|
-
"default": "`#1989fa`",
|
8160
|
-
"description": "Checked color of all radios",
|
8167
|
+
"name": "loosing-text",
|
8168
|
+
"default": "`Loose to refresh...`",
|
8169
|
+
"description": "Text to show when loosing",
|
8161
8170
|
"options": [],
|
8162
8171
|
"value": {
|
8163
8172
|
"type": "string",
|
8164
8173
|
"kind": "expression"
|
8165
8174
|
}
|
8166
|
-
}
|
8167
|
-
]
|
8168
|
-
},
|
8169
|
-
{
|
8170
|
-
"name": "van-progress",
|
8171
|
-
"slots": [],
|
8172
|
-
"events": [],
|
8173
|
-
"attributes": [
|
8174
|
-
{
|
8175
|
-
"name": "percentage",
|
8176
|
-
"default": "`0`",
|
8177
|
-
"description": "Percentage",
|
8178
|
-
"options": [],
|
8179
|
-
"value": {
|
8180
|
-
"type": "number | string",
|
8181
|
-
"kind": "expression"
|
8182
|
-
}
|
8183
8175
|
},
|
8184
8176
|
{
|
8185
|
-
"name": "
|
8186
|
-
"default": "`
|
8187
|
-
"description": "
|
8188
|
-
"options": [],
|
8189
|
-
"value": {
|
8190
|
-
"type": "number | string",
|
8191
|
-
"kind": "expression"
|
8192
|
-
}
|
8193
|
-
},
|
8194
|
-
{
|
8195
|
-
"name": "color",
|
8196
|
-
"default": "`#1989fa`",
|
8197
|
-
"description": "Color",
|
8177
|
+
"name": "loading-text",
|
8178
|
+
"default": "`Loading...`",
|
8179
|
+
"description": "Text to show when loading",
|
8198
8180
|
"options": [],
|
8199
8181
|
"value": {
|
8200
8182
|
"type": "string",
|
@@ -8202,9 +8184,9 @@
|
|
8202
8184
|
}
|
8203
8185
|
},
|
8204
8186
|
{
|
8205
|
-
"name": "
|
8206
|
-
"default": "
|
8207
|
-
"description": "
|
8187
|
+
"name": "success-text",
|
8188
|
+
"default": "-",
|
8189
|
+
"description": "Text to show when loading success",
|
8208
8190
|
"options": [],
|
8209
8191
|
"value": {
|
8210
8192
|
"type": "string",
|
@@ -8212,49 +8194,49 @@
|
|
8212
8194
|
}
|
8213
8195
|
},
|
8214
8196
|
{
|
8215
|
-
"name": "
|
8216
|
-
"default": "
|
8217
|
-
"description": "
|
8197
|
+
"name": "success-duration",
|
8198
|
+
"default": "`500`",
|
8199
|
+
"description": "Success text display duration(ms)",
|
8218
8200
|
"options": [],
|
8219
8201
|
"value": {
|
8220
|
-
"type": "string",
|
8202
|
+
"type": "number | string",
|
8221
8203
|
"kind": "expression"
|
8222
8204
|
}
|
8223
8205
|
},
|
8224
8206
|
{
|
8225
|
-
"name": "
|
8226
|
-
"default": "
|
8227
|
-
"description": "
|
8207
|
+
"name": "animation-duration",
|
8208
|
+
"default": "`300`",
|
8209
|
+
"description": "Animation duration",
|
8228
8210
|
"options": [],
|
8229
8211
|
"value": {
|
8230
|
-
"type": "string",
|
8212
|
+
"type": "number | string",
|
8231
8213
|
"kind": "expression"
|
8232
8214
|
}
|
8233
8215
|
},
|
8234
8216
|
{
|
8235
|
-
"name": "
|
8236
|
-
"default": "`
|
8237
|
-
"description": "
|
8217
|
+
"name": "head-height",
|
8218
|
+
"default": "`50`",
|
8219
|
+
"description": "Height of head",
|
8238
8220
|
"options": [],
|
8239
8221
|
"value": {
|
8240
|
-
"type": "string",
|
8222
|
+
"type": "number | string",
|
8241
8223
|
"kind": "expression"
|
8242
8224
|
}
|
8243
8225
|
},
|
8244
8226
|
{
|
8245
|
-
"name": "
|
8246
|
-
"default": "`
|
8247
|
-
"description": "
|
8227
|
+
"name": "pull-distance",
|
8228
|
+
"default": "same as `head-height`",
|
8229
|
+
"description": "The distance to trigger the pull refresh",
|
8248
8230
|
"options": [],
|
8249
8231
|
"value": {
|
8250
|
-
"type": "
|
8232
|
+
"type": "number | string",
|
8251
8233
|
"kind": "expression"
|
8252
8234
|
}
|
8253
8235
|
},
|
8254
8236
|
{
|
8255
|
-
"name": "
|
8256
|
-
"default": "`
|
8257
|
-
"description": "Whether to
|
8237
|
+
"name": "disabled",
|
8238
|
+
"default": "`false`",
|
8239
|
+
"description": "Whether to disable pull refresh",
|
8258
8240
|
"options": [],
|
8259
8241
|
"value": {
|
8260
8242
|
"type": "boolean",
|
@@ -8264,64 +8246,44 @@
|
|
8264
8246
|
]
|
8265
8247
|
},
|
8266
8248
|
{
|
8267
|
-
"name": "van-
|
8249
|
+
"name": "van-radio",
|
8268
8250
|
"slots": [
|
8269
8251
|
{
|
8270
8252
|
"name": "default",
|
8271
|
-
"description": "
|
8272
|
-
},
|
8273
|
-
{
|
8274
|
-
"name": "normal",
|
8275
|
-
"description": "Content of head when at normal status"
|
8276
|
-
},
|
8277
|
-
{
|
8278
|
-
"name": "pulling",
|
8279
|
-
"description": "Content of head when at pulling"
|
8280
|
-
},
|
8281
|
-
{
|
8282
|
-
"name": "loosing",
|
8283
|
-
"description": "Content of head when at loosing"
|
8284
|
-
},
|
8285
|
-
{
|
8286
|
-
"name": "loading",
|
8287
|
-
"description": "Content of head when at loading"
|
8253
|
+
"description": "Custom label"
|
8288
8254
|
},
|
8289
8255
|
{
|
8290
|
-
"name": "
|
8291
|
-
"description": "
|
8256
|
+
"name": "icon",
|
8257
|
+
"description": "Custom icon"
|
8292
8258
|
}
|
8293
8259
|
],
|
8294
8260
|
"events": [
|
8295
8261
|
{
|
8296
|
-
"name": "
|
8297
|
-
"description": "Emitted
|
8298
|
-
"arguments": []
|
8299
|
-
},
|
8300
|
-
{
|
8301
|
-
"name": "change",
|
8302
|
-
"description": "Emitted when draging or status changed",
|
8262
|
+
"name": "click",
|
8263
|
+
"description": "Emitted when radio is clicked",
|
8303
8264
|
"arguments": [
|
8304
8265
|
{
|
8305
|
-
"name": "
|
8266
|
+
"name": "event",
|
8267
|
+
"type": "MouseEvent"
|
8306
8268
|
}
|
8307
8269
|
]
|
8308
8270
|
}
|
8309
8271
|
],
|
8310
8272
|
"attributes": [
|
8311
8273
|
{
|
8312
|
-
"name": "
|
8274
|
+
"name": "name",
|
8313
8275
|
"default": "-",
|
8314
|
-
"description": "
|
8276
|
+
"description": "Radio name, usually a unique string or number",
|
8315
8277
|
"options": [],
|
8316
8278
|
"value": {
|
8317
|
-
"type": "
|
8279
|
+
"type": "any",
|
8318
8280
|
"kind": "expression"
|
8319
8281
|
}
|
8320
8282
|
},
|
8321
8283
|
{
|
8322
|
-
"name": "
|
8323
|
-
"default": "`
|
8324
|
-
"description": "
|
8284
|
+
"name": "shape",
|
8285
|
+
"default": "`round`",
|
8286
|
+
"description": "Can be set to `square`",
|
8325
8287
|
"options": [],
|
8326
8288
|
"value": {
|
8327
8289
|
"type": "string",
|
@@ -8329,29 +8291,29 @@
|
|
8329
8291
|
}
|
8330
8292
|
},
|
8331
8293
|
{
|
8332
|
-
"name": "
|
8333
|
-
"default": "`
|
8334
|
-
"description": "
|
8294
|
+
"name": "disabled",
|
8295
|
+
"default": "`false`",
|
8296
|
+
"description": "Whether to disable radio",
|
8335
8297
|
"options": [],
|
8336
8298
|
"value": {
|
8337
|
-
"type": "
|
8299
|
+
"type": "boolean",
|
8338
8300
|
"kind": "expression"
|
8339
8301
|
}
|
8340
8302
|
},
|
8341
8303
|
{
|
8342
|
-
"name": "
|
8343
|
-
"default": "`
|
8344
|
-
"description": "
|
8304
|
+
"name": "label-disabled",
|
8305
|
+
"default": "`false`",
|
8306
|
+
"description": "Whether to disable label click",
|
8345
8307
|
"options": [],
|
8346
8308
|
"value": {
|
8347
|
-
"type": "
|
8309
|
+
"type": "boolean",
|
8348
8310
|
"kind": "expression"
|
8349
8311
|
}
|
8350
8312
|
},
|
8351
8313
|
{
|
8352
|
-
"name": "
|
8353
|
-
"default": "
|
8354
|
-
"description": "
|
8314
|
+
"name": "label-position",
|
8315
|
+
"default": "`right`",
|
8316
|
+
"description": "Can be set to `left`",
|
8355
8317
|
"options": [],
|
8356
8318
|
"value": {
|
8357
8319
|
"type": "string",
|
@@ -8359,9 +8321,9 @@
|
|
8359
8321
|
}
|
8360
8322
|
},
|
8361
8323
|
{
|
8362
|
-
"name": "
|
8363
|
-
"default": "`
|
8364
|
-
"description": "
|
8324
|
+
"name": "icon-size",
|
8325
|
+
"default": "`20px`",
|
8326
|
+
"description": "Icon size",
|
8365
8327
|
"options": [],
|
8366
8328
|
"value": {
|
8367
8329
|
"type": "number | string",
|
@@ -8369,29 +8331,67 @@
|
|
8369
8331
|
}
|
8370
8332
|
},
|
8371
8333
|
{
|
8372
|
-
"name": "
|
8373
|
-
"default": "`
|
8374
|
-
"description": "
|
8334
|
+
"name": "checked-color",
|
8335
|
+
"default": "`#1989fa`",
|
8336
|
+
"description": "Checked color",
|
8375
8337
|
"options": [],
|
8376
8338
|
"value": {
|
8377
|
-
"type": "
|
8339
|
+
"type": "string",
|
8340
|
+
"kind": "expression"
|
8341
|
+
}
|
8342
|
+
}
|
8343
|
+
]
|
8344
|
+
},
|
8345
|
+
{
|
8346
|
+
"name": "van-radio-group",
|
8347
|
+
"slots": [],
|
8348
|
+
"events": [
|
8349
|
+
{
|
8350
|
+
"name": "change",
|
8351
|
+
"description": "Emitted when value changed",
|
8352
|
+
"arguments": [
|
8353
|
+
{
|
8354
|
+
"name": "name",
|
8355
|
+
"type": "string"
|
8356
|
+
}
|
8357
|
+
]
|
8358
|
+
}
|
8359
|
+
],
|
8360
|
+
"attributes": [
|
8361
|
+
{
|
8362
|
+
"name": "v-model",
|
8363
|
+
"default": "-",
|
8364
|
+
"description": "Name of checked radio",
|
8365
|
+
"options": [],
|
8366
|
+
"value": {
|
8367
|
+
"type": "any",
|
8378
8368
|
"kind": "expression"
|
8379
8369
|
}
|
8380
8370
|
},
|
8381
8371
|
{
|
8382
|
-
"name": "
|
8383
|
-
"default": "`
|
8384
|
-
"description": "
|
8372
|
+
"name": "disabled",
|
8373
|
+
"default": "`false`",
|
8374
|
+
"description": "Disable all radios",
|
8385
8375
|
"options": [],
|
8386
8376
|
"value": {
|
8387
|
-
"type": "
|
8377
|
+
"type": "boolean",
|
8388
8378
|
"kind": "expression"
|
8389
8379
|
}
|
8390
8380
|
},
|
8391
8381
|
{
|
8392
|
-
"name": "
|
8393
|
-
"default": "
|
8394
|
-
"description": "
|
8382
|
+
"name": "direction",
|
8383
|
+
"default": "`vertical`",
|
8384
|
+
"description": "Direction, can be set to `horizontal`",
|
8385
|
+
"options": [],
|
8386
|
+
"value": {
|
8387
|
+
"type": "string",
|
8388
|
+
"kind": "expression"
|
8389
|
+
}
|
8390
|
+
},
|
8391
|
+
{
|
8392
|
+
"name": "icon-size",
|
8393
|
+
"default": "`20px`",
|
8394
|
+
"description": "Icon size of all radios",
|
8395
8395
|
"options": [],
|
8396
8396
|
"value": {
|
8397
8397
|
"type": "number | string",
|
@@ -8399,12 +8399,12 @@
|
|
8399
8399
|
}
|
8400
8400
|
},
|
8401
8401
|
{
|
8402
|
-
"name": "
|
8403
|
-
"default": "`
|
8404
|
-
"description": "
|
8402
|
+
"name": "checked-color",
|
8403
|
+
"default": "`#1989fa`",
|
8404
|
+
"description": "Checked color of all radios",
|
8405
8405
|
"options": [],
|
8406
8406
|
"value": {
|
8407
|
-
"type": "
|
8407
|
+
"type": "string",
|
8408
8408
|
"kind": "expression"
|
8409
8409
|
}
|
8410
8410
|
}
|
@@ -8913,141 +8913,10 @@
|
|
8913
8913
|
{
|
8914
8914
|
"name": "autocomplete",
|
8915
8915
|
"default": "-",
|
8916
|
-
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
|
8917
|
-
"options": [],
|
8918
|
-
"value": {
|
8919
|
-
"type": "string",
|
8920
|
-
"kind": "expression"
|
8921
|
-
}
|
8922
|
-
}
|
8923
|
-
]
|
8924
|
-
},
|
8925
|
-
{
|
8926
|
-
"name": "van-sidebar",
|
8927
|
-
"slots": [],
|
8928
|
-
"events": [
|
8929
|
-
{
|
8930
|
-
"name": "change",
|
8931
|
-
"description": "Emitted when chosen item changed",
|
8932
|
-
"arguments": [
|
8933
|
-
{
|
8934
|
-
"name": "index",
|
8935
|
-
"type": "number"
|
8936
|
-
}
|
8937
|
-
]
|
8938
|
-
}
|
8939
|
-
],
|
8940
|
-
"attributes": [
|
8941
|
-
{
|
8942
|
-
"name": "v-model",
|
8943
|
-
"default": "`0`",
|
8944
|
-
"description": "Index of chosen item",
|
8945
|
-
"options": [],
|
8946
|
-
"value": {
|
8947
|
-
"type": "number | string",
|
8948
|
-
"kind": "expression"
|
8949
|
-
}
|
8950
|
-
}
|
8951
|
-
]
|
8952
|
-
},
|
8953
|
-
{
|
8954
|
-
"name": "van-sidebar-item",
|
8955
|
-
"slots": [
|
8956
|
-
{
|
8957
|
-
"name": "title",
|
8958
|
-
"description": "Custom item title"
|
8959
|
-
}
|
8960
|
-
],
|
8961
|
-
"events": [
|
8962
|
-
{
|
8963
|
-
"name": "click",
|
8964
|
-
"description": "Emitted when an item is clicked",
|
8965
|
-
"arguments": [
|
8966
|
-
{
|
8967
|
-
"name": "index",
|
8968
|
-
"type": "number"
|
8969
|
-
}
|
8970
|
-
]
|
8971
|
-
}
|
8972
|
-
],
|
8973
|
-
"attributes": [
|
8974
|
-
{
|
8975
|
-
"name": "title",
|
8976
|
-
"default": "`''`",
|
8977
|
-
"description": "Content",
|
8978
|
-
"options": [],
|
8979
|
-
"value": {
|
8980
|
-
"type": "string",
|
8981
|
-
"kind": "expression"
|
8982
|
-
}
|
8983
|
-
},
|
8984
|
-
{
|
8985
|
-
"name": "dot",
|
8986
|
-
"default": "`false`",
|
8987
|
-
"description": "Whether to show red dot",
|
8988
|
-
"options": [],
|
8989
|
-
"value": {
|
8990
|
-
"type": "boolean",
|
8991
|
-
"kind": "expression"
|
8992
|
-
}
|
8993
|
-
},
|
8994
|
-
{
|
8995
|
-
"name": "badge",
|
8996
|
-
"default": "`''`",
|
8997
|
-
"description": "Content of the badge",
|
8998
|
-
"options": [],
|
8999
|
-
"value": {
|
9000
|
-
"type": "number | string",
|
9001
|
-
"kind": "expression"
|
9002
|
-
}
|
9003
|
-
},
|
9004
|
-
{
|
9005
|
-
"name": "badge-props",
|
9006
|
-
"default": "-",
|
9007
|
-
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
9008
|
-
"options": [],
|
9009
|
-
"value": {
|
9010
|
-
"type": "BadgeProps",
|
9011
|
-
"kind": "expression"
|
9012
|
-
}
|
9013
|
-
},
|
9014
|
-
{
|
9015
|
-
"name": "disabled",
|
9016
|
-
"default": "`false`",
|
9017
|
-
"description": "Whether to be disabled",
|
9018
|
-
"options": [],
|
9019
|
-
"value": {
|
9020
|
-
"type": "boolean",
|
9021
|
-
"kind": "expression"
|
9022
|
-
}
|
9023
|
-
},
|
9024
|
-
{
|
9025
|
-
"name": "url",
|
9026
|
-
"default": "-",
|
9027
|
-
"description": "Link",
|
9028
|
-
"options": [],
|
9029
|
-
"value": {
|
9030
|
-
"type": "string",
|
9031
|
-
"kind": "expression"
|
9032
|
-
}
|
9033
|
-
},
|
9034
|
-
{
|
9035
|
-
"name": "to",
|
9036
|
-
"default": "-",
|
9037
|
-
"description": "Target route of the link, same as to of vue-router",
|
9038
|
-
"options": [],
|
9039
|
-
"value": {
|
9040
|
-
"type": "string | object",
|
9041
|
-
"kind": "expression"
|
9042
|
-
}
|
9043
|
-
},
|
9044
|
-
{
|
9045
|
-
"name": "replace",
|
9046
|
-
"default": "`false`",
|
9047
|
-
"description": "If true, the navigation will not leave a history record",
|
8916
|
+
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
|
9048
8917
|
"options": [],
|
9049
8918
|
"value": {
|
9050
|
-
"type": "
|
8919
|
+
"type": "string",
|
9051
8920
|
"kind": "expression"
|
9052
8921
|
}
|
9053
8922
|
}
|
@@ -9293,6 +9162,137 @@
|
|
9293
9162
|
}
|
9294
9163
|
]
|
9295
9164
|
},
|
9165
|
+
{
|
9166
|
+
"name": "van-sidebar",
|
9167
|
+
"slots": [],
|
9168
|
+
"events": [
|
9169
|
+
{
|
9170
|
+
"name": "change",
|
9171
|
+
"description": "Emitted when chosen item changed",
|
9172
|
+
"arguments": [
|
9173
|
+
{
|
9174
|
+
"name": "index",
|
9175
|
+
"type": "number"
|
9176
|
+
}
|
9177
|
+
]
|
9178
|
+
}
|
9179
|
+
],
|
9180
|
+
"attributes": [
|
9181
|
+
{
|
9182
|
+
"name": "v-model",
|
9183
|
+
"default": "`0`",
|
9184
|
+
"description": "Index of chosen item",
|
9185
|
+
"options": [],
|
9186
|
+
"value": {
|
9187
|
+
"type": "number | string",
|
9188
|
+
"kind": "expression"
|
9189
|
+
}
|
9190
|
+
}
|
9191
|
+
]
|
9192
|
+
},
|
9193
|
+
{
|
9194
|
+
"name": "van-sidebar-item",
|
9195
|
+
"slots": [
|
9196
|
+
{
|
9197
|
+
"name": "title",
|
9198
|
+
"description": "Custom item title"
|
9199
|
+
}
|
9200
|
+
],
|
9201
|
+
"events": [
|
9202
|
+
{
|
9203
|
+
"name": "click",
|
9204
|
+
"description": "Emitted when an item is clicked",
|
9205
|
+
"arguments": [
|
9206
|
+
{
|
9207
|
+
"name": "index",
|
9208
|
+
"type": "number"
|
9209
|
+
}
|
9210
|
+
]
|
9211
|
+
}
|
9212
|
+
],
|
9213
|
+
"attributes": [
|
9214
|
+
{
|
9215
|
+
"name": "title",
|
9216
|
+
"default": "`''`",
|
9217
|
+
"description": "Content",
|
9218
|
+
"options": [],
|
9219
|
+
"value": {
|
9220
|
+
"type": "string",
|
9221
|
+
"kind": "expression"
|
9222
|
+
}
|
9223
|
+
},
|
9224
|
+
{
|
9225
|
+
"name": "dot",
|
9226
|
+
"default": "`false`",
|
9227
|
+
"description": "Whether to show red dot",
|
9228
|
+
"options": [],
|
9229
|
+
"value": {
|
9230
|
+
"type": "boolean",
|
9231
|
+
"kind": "expression"
|
9232
|
+
}
|
9233
|
+
},
|
9234
|
+
{
|
9235
|
+
"name": "badge",
|
9236
|
+
"default": "`''`",
|
9237
|
+
"description": "Content of the badge",
|
9238
|
+
"options": [],
|
9239
|
+
"value": {
|
9240
|
+
"type": "number | string",
|
9241
|
+
"kind": "expression"
|
9242
|
+
}
|
9243
|
+
},
|
9244
|
+
{
|
9245
|
+
"name": "badge-props",
|
9246
|
+
"default": "-",
|
9247
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
9248
|
+
"options": [],
|
9249
|
+
"value": {
|
9250
|
+
"type": "BadgeProps",
|
9251
|
+
"kind": "expression"
|
9252
|
+
}
|
9253
|
+
},
|
9254
|
+
{
|
9255
|
+
"name": "disabled",
|
9256
|
+
"default": "`false`",
|
9257
|
+
"description": "Whether to be disabled",
|
9258
|
+
"options": [],
|
9259
|
+
"value": {
|
9260
|
+
"type": "boolean",
|
9261
|
+
"kind": "expression"
|
9262
|
+
}
|
9263
|
+
},
|
9264
|
+
{
|
9265
|
+
"name": "url",
|
9266
|
+
"default": "-",
|
9267
|
+
"description": "Link",
|
9268
|
+
"options": [],
|
9269
|
+
"value": {
|
9270
|
+
"type": "string",
|
9271
|
+
"kind": "expression"
|
9272
|
+
}
|
9273
|
+
},
|
9274
|
+
{
|
9275
|
+
"name": "to",
|
9276
|
+
"default": "-",
|
9277
|
+
"description": "Target route of the link, same as to of vue-router",
|
9278
|
+
"options": [],
|
9279
|
+
"value": {
|
9280
|
+
"type": "string | object",
|
9281
|
+
"kind": "expression"
|
9282
|
+
}
|
9283
|
+
},
|
9284
|
+
{
|
9285
|
+
"name": "replace",
|
9286
|
+
"default": "`false`",
|
9287
|
+
"description": "If true, the navigation will not leave a history record",
|
9288
|
+
"options": [],
|
9289
|
+
"value": {
|
9290
|
+
"type": "boolean",
|
9291
|
+
"kind": "expression"
|
9292
|
+
}
|
9293
|
+
}
|
9294
|
+
]
|
9295
|
+
},
|
9296
9296
|
{
|
9297
9297
|
"name": "van-skeleton",
|
9298
9298
|
"slots": [],
|
@@ -9400,68 +9400,6 @@
|
|
9400
9400
|
}
|
9401
9401
|
]
|
9402
9402
|
},
|
9403
|
-
{
|
9404
|
-
"name": "van-space",
|
9405
|
-
"slots": [
|
9406
|
-
{
|
9407
|
-
"name": "default",
|
9408
|
-
"description": "Default slot"
|
9409
|
-
}
|
9410
|
-
],
|
9411
|
-
"events": [],
|
9412
|
-
"attributes": [
|
9413
|
-
{
|
9414
|
-
"name": "direction",
|
9415
|
-
"default": "`horizontal`",
|
9416
|
-
"description": "Spacing direction",
|
9417
|
-
"options": [],
|
9418
|
-
"value": {
|
9419
|
-
"type": "vertical | horizontal",
|
9420
|
-
"kind": "expression"
|
9421
|
-
}
|
9422
|
-
},
|
9423
|
-
{
|
9424
|
-
"name": "size",
|
9425
|
-
"default": "`8px`",
|
9426
|
-
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9427
|
-
"options": [],
|
9428
|
-
"value": {
|
9429
|
-
"type": "number | string | number[] | string[]",
|
9430
|
-
"kind": "expression"
|
9431
|
-
}
|
9432
|
-
},
|
9433
|
-
{
|
9434
|
-
"name": "align",
|
9435
|
-
"default": "-",
|
9436
|
-
"description": "Spacing alignment",
|
9437
|
-
"options": [],
|
9438
|
-
"value": {
|
9439
|
-
"type": "start | end | center | baseline",
|
9440
|
-
"kind": "expression"
|
9441
|
-
}
|
9442
|
-
},
|
9443
|
-
{
|
9444
|
-
"name": "wrap",
|
9445
|
-
"default": "`false`",
|
9446
|
-
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9447
|
-
"options": [],
|
9448
|
-
"value": {
|
9449
|
-
"type": "boolean",
|
9450
|
-
"kind": "expression"
|
9451
|
-
}
|
9452
|
-
},
|
9453
|
-
{
|
9454
|
-
"name": "fill",
|
9455
|
-
"default": "`false`",
|
9456
|
-
"description": "Whether to render Space as a block element and fill the parent element",
|
9457
|
-
"options": [],
|
9458
|
-
"value": {
|
9459
|
-
"type": "boolean",
|
9460
|
-
"kind": "expression"
|
9461
|
-
}
|
9462
|
-
}
|
9463
|
-
]
|
9464
|
-
},
|
9465
9403
|
{
|
9466
9404
|
"name": "van-slider",
|
9467
9405
|
"slots": [
|
@@ -9602,38 +9540,100 @@
|
|
9602
9540
|
}
|
9603
9541
|
},
|
9604
9542
|
{
|
9605
|
-
"name": "range",
|
9606
|
-
"default": "`false`",
|
9607
|
-
"description": "Whether to enable dual thumb mode",
|
9543
|
+
"name": "range",
|
9544
|
+
"default": "`false`",
|
9545
|
+
"description": "Whether to enable dual thumb mode",
|
9546
|
+
"options": [],
|
9547
|
+
"value": {
|
9548
|
+
"type": "boolean",
|
9549
|
+
"kind": "expression"
|
9550
|
+
}
|
9551
|
+
},
|
9552
|
+
{
|
9553
|
+
"name": "reverse",
|
9554
|
+
"description": "Whether to reverse slider",
|
9555
|
+
"options": [],
|
9556
|
+
"value": {
|
9557
|
+
"type": "`false`",
|
9558
|
+
"kind": "expression"
|
9559
|
+
}
|
9560
|
+
},
|
9561
|
+
{
|
9562
|
+
"name": "disabled",
|
9563
|
+
"default": "`false`",
|
9564
|
+
"description": "Whether to disable slider",
|
9565
|
+
"options": [],
|
9566
|
+
"value": {
|
9567
|
+
"type": "boolean",
|
9568
|
+
"kind": "expression"
|
9569
|
+
}
|
9570
|
+
},
|
9571
|
+
{
|
9572
|
+
"name": "readonly",
|
9573
|
+
"default": "`false`",
|
9574
|
+
"description": "Whether to be readonly",
|
9575
|
+
"options": [],
|
9576
|
+
"value": {
|
9577
|
+
"type": "boolean",
|
9578
|
+
"kind": "expression"
|
9579
|
+
}
|
9580
|
+
},
|
9581
|
+
{
|
9582
|
+
"name": "vertical",
|
9583
|
+
"default": "`false`",
|
9584
|
+
"description": "Whether to display slider vertically",
|
9585
|
+
"options": [],
|
9586
|
+
"value": {
|
9587
|
+
"type": "boolean",
|
9588
|
+
"kind": "expression"
|
9589
|
+
}
|
9590
|
+
}
|
9591
|
+
]
|
9592
|
+
},
|
9593
|
+
{
|
9594
|
+
"name": "van-space",
|
9595
|
+
"slots": [
|
9596
|
+
{
|
9597
|
+
"name": "default",
|
9598
|
+
"description": "Default slot"
|
9599
|
+
}
|
9600
|
+
],
|
9601
|
+
"events": [],
|
9602
|
+
"attributes": [
|
9603
|
+
{
|
9604
|
+
"name": "direction",
|
9605
|
+
"default": "`horizontal`",
|
9606
|
+
"description": "Spacing direction",
|
9608
9607
|
"options": [],
|
9609
9608
|
"value": {
|
9610
|
-
"type": "
|
9609
|
+
"type": "vertical | horizontal",
|
9611
9610
|
"kind": "expression"
|
9612
9611
|
}
|
9613
9612
|
},
|
9614
9613
|
{
|
9615
|
-
"name": "
|
9616
|
-
"
|
9614
|
+
"name": "size",
|
9615
|
+
"default": "`8px`",
|
9616
|
+
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9617
9617
|
"options": [],
|
9618
9618
|
"value": {
|
9619
|
-
"type": "
|
9619
|
+
"type": "number | string | number[] | string[]",
|
9620
9620
|
"kind": "expression"
|
9621
9621
|
}
|
9622
9622
|
},
|
9623
9623
|
{
|
9624
|
-
"name": "
|
9625
|
-
"default": "
|
9626
|
-
"description": "
|
9624
|
+
"name": "align",
|
9625
|
+
"default": "-",
|
9626
|
+
"description": "Spacing alignment",
|
9627
9627
|
"options": [],
|
9628
9628
|
"value": {
|
9629
|
-
"type": "
|
9629
|
+
"type": "start | end | center | baseline",
|
9630
9630
|
"kind": "expression"
|
9631
9631
|
}
|
9632
9632
|
},
|
9633
9633
|
{
|
9634
|
-
"name": "
|
9634
|
+
"name": "wrap",
|
9635
9635
|
"default": "`false`",
|
9636
|
-
"description": "Whether to
|
9636
|
+
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9637
9637
|
"options": [],
|
9638
9638
|
"value": {
|
9639
9639
|
"type": "boolean",
|
@@ -9641,9 +9641,9 @@
|
|
9641
9641
|
}
|
9642
9642
|
},
|
9643
9643
|
{
|
9644
|
-
"name": "
|
9644
|
+
"name": "fill",
|
9645
9645
|
"default": "`false`",
|
9646
|
-
"description": "Whether to
|
9646
|
+
"description": "Whether to render Space as a block element and fill the parent element",
|
9647
9647
|
"options": [],
|
9648
9648
|
"value": {
|
9649
9649
|
"type": "boolean",
|
@@ -10308,54 +10308,58 @@
|
|
10308
10308
|
]
|
10309
10309
|
},
|
10310
10310
|
{
|
10311
|
-
"name": "van-swipe",
|
10311
|
+
"name": "van-swipe-cell",
|
10312
10312
|
"slots": [
|
10313
10313
|
{
|
10314
10314
|
"name": "default",
|
10315
|
-
"description": "
|
10315
|
+
"description": "custom content"
|
10316
10316
|
},
|
10317
10317
|
{
|
10318
|
-
"name": "
|
10319
|
-
"description": "
|
10318
|
+
"name": "left",
|
10319
|
+
"description": "content of left scrollable area"
|
10320
|
+
},
|
10321
|
+
{
|
10322
|
+
"name": "right",
|
10323
|
+
"description": "content of right scrollable area"
|
10320
10324
|
}
|
10321
10325
|
],
|
10322
10326
|
"events": [
|
10323
10327
|
{
|
10324
|
-
"name": "
|
10325
|
-
"description": "Emitted when
|
10328
|
+
"name": "click",
|
10329
|
+
"description": "Emitted when SwipeCell is clicked",
|
10326
10330
|
"arguments": [
|
10327
10331
|
{
|
10328
|
-
"name": "
|
10329
|
-
"type": "
|
10332
|
+
"name": "position",
|
10333
|
+
"type": "'left' | 'right' | 'cell' | 'outside'"
|
10334
|
+
}
|
10335
|
+
]
|
10336
|
+
},
|
10337
|
+
{
|
10338
|
+
"name": "open",
|
10339
|
+
"description": "Emitted when SwipeCell is opened",
|
10340
|
+
"arguments": [
|
10341
|
+
{
|
10342
|
+
"name": "value",
|
10343
|
+
"type": "{ name: string | number, position: 'left' | 'right' }"
|
10344
|
+
}
|
10345
|
+
]
|
10346
|
+
},
|
10347
|
+
{
|
10348
|
+
"name": "close",
|
10349
|
+
"description": "Emitted when SwipeCell is closed",
|
10350
|
+
"arguments": [
|
10351
|
+
{
|
10352
|
+
"name": "value",
|
10353
|
+
"type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
|
10330
10354
|
}
|
10331
10355
|
]
|
10332
10356
|
}
|
10333
10357
|
],
|
10334
10358
|
"attributes": [
|
10335
10359
|
{
|
10336
|
-
"name": "
|
10360
|
+
"name": "name",
|
10337
10361
|
"default": "-",
|
10338
|
-
"description": "
|
10339
|
-
"options": [],
|
10340
|
-
"value": {
|
10341
|
-
"type": "number | string",
|
10342
|
-
"kind": "expression"
|
10343
|
-
}
|
10344
|
-
},
|
10345
|
-
{
|
10346
|
-
"name": "duration",
|
10347
|
-
"default": "`500`",
|
10348
|
-
"description": "Animation duration (ms)",
|
10349
|
-
"options": [],
|
10350
|
-
"value": {
|
10351
|
-
"type": "number | string",
|
10352
|
-
"kind": "expression"
|
10353
|
-
}
|
10354
|
-
},
|
10355
|
-
{
|
10356
|
-
"name": "initial-swipe",
|
10357
|
-
"default": "`0`",
|
10358
|
-
"description": "Index of initial swipe, start from 0",
|
10362
|
+
"description": "Identifier of SwipeCell, usually a unique string or number",
|
10359
10363
|
"options": [],
|
10360
10364
|
"value": {
|
10361
10365
|
"type": "number | string",
|
@@ -10363,9 +10367,9 @@
|
|
10363
10367
|
}
|
10364
10368
|
},
|
10365
10369
|
{
|
10366
|
-
"name": "width",
|
10367
|
-
"default": "`
|
10368
|
-
"description": "Width of swipe
|
10370
|
+
"name": "left-width",
|
10371
|
+
"default": "`auto`",
|
10372
|
+
"description": "Width of the left swipe area",
|
10369
10373
|
"options": [],
|
10370
10374
|
"value": {
|
10371
10375
|
"type": "number | string",
|
@@ -10373,9 +10377,9 @@
|
|
10373
10377
|
}
|
10374
10378
|
},
|
10375
10379
|
{
|
10376
|
-
"name": "
|
10377
|
-
"default": "`
|
10378
|
-
"description": "
|
10380
|
+
"name": "right-width",
|
10381
|
+
"default": "`auto`",
|
10382
|
+
"description": "Width of the right swipe area",
|
10379
10383
|
"options": [],
|
10380
10384
|
"value": {
|
10381
10385
|
"type": "number | string",
|
@@ -10383,19 +10387,19 @@
|
|
10383
10387
|
}
|
10384
10388
|
},
|
10385
10389
|
{
|
10386
|
-
"name": "
|
10387
|
-
"default": "
|
10388
|
-
"description": "
|
10390
|
+
"name": "before-close",
|
10391
|
+
"default": "-",
|
10392
|
+
"description": "Callback function before close",
|
10389
10393
|
"options": [],
|
10390
10394
|
"value": {
|
10391
|
-
"type": "boolean",
|
10395
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
10392
10396
|
"kind": "expression"
|
10393
10397
|
}
|
10394
10398
|
},
|
10395
10399
|
{
|
10396
|
-
"name": "
|
10397
|
-
"default": "`
|
10398
|
-
"description": "Whether to
|
10400
|
+
"name": "disabled",
|
10401
|
+
"default": "`false`",
|
10402
|
+
"description": "Whether to disabled swipe",
|
10399
10403
|
"options": [],
|
10400
10404
|
"value": {
|
10401
10405
|
"type": "boolean",
|
@@ -10403,127 +10407,86 @@
|
|
10403
10407
|
}
|
10404
10408
|
},
|
10405
10409
|
{
|
10406
|
-
"name": "
|
10410
|
+
"name": "stop-propagation",
|
10407
10411
|
"default": "`false`",
|
10408
|
-
"description": "Whether to
|
10412
|
+
"description": "Whether to stop touchmove event propagation",
|
10409
10413
|
"options": [],
|
10410
10414
|
"value": {
|
10411
10415
|
"type": "boolean",
|
10412
10416
|
"kind": "expression"
|
10413
10417
|
}
|
10418
|
+
}
|
10419
|
+
]
|
10420
|
+
},
|
10421
|
+
{
|
10422
|
+
"name": "van-swipe",
|
10423
|
+
"slots": [
|
10424
|
+
{
|
10425
|
+
"name": "default",
|
10426
|
+
"description": "Content"
|
10414
10427
|
},
|
10415
10428
|
{
|
10416
|
-
"name": "
|
10417
|
-
"
|
10418
|
-
|
10429
|
+
"name": "indicator",
|
10430
|
+
"description": "Custom indicator"
|
10431
|
+
}
|
10432
|
+
],
|
10433
|
+
"events": [
|
10434
|
+
{
|
10435
|
+
"name": "change",
|
10436
|
+
"description": "Emitted when current swipe changed",
|
10437
|
+
"arguments": [
|
10438
|
+
{
|
10439
|
+
"name": "index",
|
10440
|
+
"type": "index of current swipe"
|
10441
|
+
}
|
10442
|
+
]
|
10443
|
+
}
|
10444
|
+
],
|
10445
|
+
"attributes": [
|
10446
|
+
{
|
10447
|
+
"name": "autoplay",
|
10448
|
+
"default": "-",
|
10449
|
+
"description": "Autoplay interval (ms)",
|
10419
10450
|
"options": [],
|
10420
10451
|
"value": {
|
10421
|
-
"type": "
|
10452
|
+
"type": "number | string",
|
10422
10453
|
"kind": "expression"
|
10423
10454
|
}
|
10424
10455
|
},
|
10425
10456
|
{
|
10426
|
-
"name": "
|
10427
|
-
"default": "`
|
10428
|
-
"description": "
|
10457
|
+
"name": "duration",
|
10458
|
+
"default": "`500`",
|
10459
|
+
"description": "Animation duration (ms)",
|
10429
10460
|
"options": [],
|
10430
10461
|
"value": {
|
10431
|
-
"type": "
|
10462
|
+
"type": "number | string",
|
10432
10463
|
"kind": "expression"
|
10433
10464
|
}
|
10434
10465
|
},
|
10435
10466
|
{
|
10436
|
-
"name": "
|
10437
|
-
"default": "`
|
10438
|
-
"description": "
|
10467
|
+
"name": "initial-swipe",
|
10468
|
+
"default": "`0`",
|
10469
|
+
"description": "Index of initial swipe, start from 0",
|
10439
10470
|
"options": [],
|
10440
10471
|
"value": {
|
10441
|
-
"type": "
|
10472
|
+
"type": "number | string",
|
10442
10473
|
"kind": "expression"
|
10443
10474
|
}
|
10444
10475
|
},
|
10445
10476
|
{
|
10446
|
-
"name": "
|
10447
|
-
"default": "
|
10448
|
-
"description": "
|
10477
|
+
"name": "width",
|
10478
|
+
"default": "`0`",
|
10479
|
+
"description": "Width of swipe item",
|
10449
10480
|
"options": [],
|
10450
10481
|
"value": {
|
10451
|
-
"type": "string",
|
10482
|
+
"type": "number | string",
|
10452
10483
|
"kind": "expression"
|
10453
10484
|
}
|
10454
|
-
}
|
10455
|
-
]
|
10456
|
-
},
|
10457
|
-
{
|
10458
|
-
"name": "van-swipe-item",
|
10459
|
-
"slots": [],
|
10460
|
-
"events": [
|
10461
|
-
{
|
10462
|
-
"name": "click",
|
10463
|
-
"description": "Emitted when component is clicked",
|
10464
|
-
"arguments": [
|
10465
|
-
{
|
10466
|
-
"name": "event",
|
10467
|
-
"type": "MouseEvent"
|
10468
|
-
}
|
10469
|
-
]
|
10470
|
-
}
|
10471
|
-
],
|
10472
|
-
"attributes": []
|
10473
|
-
},
|
10474
|
-
{
|
10475
|
-
"name": "van-swipe-cell",
|
10476
|
-
"slots": [
|
10477
|
-
{
|
10478
|
-
"name": "default",
|
10479
|
-
"description": "custom content"
|
10480
|
-
},
|
10481
|
-
{
|
10482
|
-
"name": "left",
|
10483
|
-
"description": "content of left scrollable area"
|
10484
|
-
},
|
10485
|
-
{
|
10486
|
-
"name": "right",
|
10487
|
-
"description": "content of right scrollable area"
|
10488
|
-
}
|
10489
|
-
],
|
10490
|
-
"events": [
|
10491
|
-
{
|
10492
|
-
"name": "click",
|
10493
|
-
"description": "Emitted when SwipeCell is clicked",
|
10494
|
-
"arguments": [
|
10495
|
-
{
|
10496
|
-
"name": "position",
|
10497
|
-
"type": "'left' | 'right' | 'cell' | 'outside'"
|
10498
|
-
}
|
10499
|
-
]
|
10500
|
-
},
|
10501
|
-
{
|
10502
|
-
"name": "open",
|
10503
|
-
"description": "Emitted when SwipeCell is opened",
|
10504
|
-
"arguments": [
|
10505
|
-
{
|
10506
|
-
"name": "value",
|
10507
|
-
"type": "{ name: string | number, position: 'left' | 'right' }"
|
10508
|
-
}
|
10509
|
-
]
|
10510
10485
|
},
|
10511
10486
|
{
|
10512
|
-
"name": "
|
10513
|
-
"
|
10514
|
-
"
|
10515
|
-
{
|
10516
|
-
"name": "value",
|
10517
|
-
"type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
|
10518
|
-
}
|
10519
|
-
]
|
10520
|
-
}
|
10521
|
-
],
|
10522
|
-
"attributes": [
|
10523
|
-
{
|
10524
|
-
"name": "name",
|
10525
|
-
"default": "-",
|
10526
|
-
"description": "Identifier of SwipeCell, usually a unique string or number",
|
10487
|
+
"name": "height",
|
10488
|
+
"default": "`0`",
|
10489
|
+
"description": "Height of swipe item",
|
10527
10490
|
"options": [],
|
10528
10491
|
"value": {
|
10529
10492
|
"type": "number | string",
|
@@ -10531,39 +10494,39 @@
|
|
10531
10494
|
}
|
10532
10495
|
},
|
10533
10496
|
{
|
10534
|
-
"name": "
|
10535
|
-
"default": "`
|
10536
|
-
"description": "
|
10497
|
+
"name": "loop",
|
10498
|
+
"default": "`true`",
|
10499
|
+
"description": "Whether to enable loop",
|
10537
10500
|
"options": [],
|
10538
10501
|
"value": {
|
10539
|
-
"type": "
|
10502
|
+
"type": "boolean",
|
10540
10503
|
"kind": "expression"
|
10541
10504
|
}
|
10542
10505
|
},
|
10543
10506
|
{
|
10544
|
-
"name": "
|
10545
|
-
"default": "`
|
10546
|
-
"description": "
|
10507
|
+
"name": "show-indicators",
|
10508
|
+
"default": "`true`",
|
10509
|
+
"description": "Whether to show indicators",
|
10547
10510
|
"options": [],
|
10548
10511
|
"value": {
|
10549
|
-
"type": "
|
10512
|
+
"type": "boolean",
|
10550
10513
|
"kind": "expression"
|
10551
10514
|
}
|
10552
10515
|
},
|
10553
10516
|
{
|
10554
|
-
"name": "
|
10555
|
-
"default": "
|
10556
|
-
"description": "
|
10517
|
+
"name": "vertical",
|
10518
|
+
"default": "`false`",
|
10519
|
+
"description": "Whether to be vertical Scrolling",
|
10557
10520
|
"options": [],
|
10558
10521
|
"value": {
|
10559
|
-
"type": "
|
10522
|
+
"type": "boolean",
|
10560
10523
|
"kind": "expression"
|
10561
10524
|
}
|
10562
10525
|
},
|
10563
10526
|
{
|
10564
|
-
"name": "
|
10565
|
-
"default": "`
|
10566
|
-
"description": "Whether to
|
10527
|
+
"name": "touchable",
|
10528
|
+
"default": "`true`",
|
10529
|
+
"description": "Whether to allow swipe by touch gesture",
|
10567
10530
|
"options": [],
|
10568
10531
|
"value": {
|
10569
10532
|
"type": "boolean",
|
@@ -10579,9 +10542,46 @@
|
|
10579
10542
|
"type": "boolean",
|
10580
10543
|
"kind": "expression"
|
10581
10544
|
}
|
10545
|
+
},
|
10546
|
+
{
|
10547
|
+
"name": "lazy-render",
|
10548
|
+
"default": "`false`",
|
10549
|
+
"description": "Whether to enable lazy render",
|
10550
|
+
"options": [],
|
10551
|
+
"value": {
|
10552
|
+
"type": "boolean",
|
10553
|
+
"kind": "expression"
|
10554
|
+
}
|
10555
|
+
},
|
10556
|
+
{
|
10557
|
+
"name": "indicator-color",
|
10558
|
+
"default": "`#1989fa`",
|
10559
|
+
"description": "Indicator color",
|
10560
|
+
"options": [],
|
10561
|
+
"value": {
|
10562
|
+
"type": "string",
|
10563
|
+
"kind": "expression"
|
10564
|
+
}
|
10582
10565
|
}
|
10583
10566
|
]
|
10584
10567
|
},
|
10568
|
+
{
|
10569
|
+
"name": "van-swipe-item",
|
10570
|
+
"slots": [],
|
10571
|
+
"events": [
|
10572
|
+
{
|
10573
|
+
"name": "click",
|
10574
|
+
"description": "Emitted when component is clicked",
|
10575
|
+
"arguments": [
|
10576
|
+
{
|
10577
|
+
"name": "event",
|
10578
|
+
"type": "MouseEvent"
|
10579
|
+
}
|
10580
|
+
]
|
10581
|
+
}
|
10582
|
+
],
|
10583
|
+
"attributes": []
|
10584
|
+
},
|
10585
10585
|
{
|
10586
10586
|
"name": "van-switch",
|
10587
10587
|
"slots": [
|
@@ -11435,99 +11435,6 @@
|
|
11435
11435
|
}
|
11436
11436
|
]
|
11437
11437
|
},
|
11438
|
-
{
|
11439
|
-
"name": "van-tree-select",
|
11440
|
-
"slots": [
|
11441
|
-
{
|
11442
|
-
"name": "content",
|
11443
|
-
"description": "Custom right content"
|
11444
|
-
}
|
11445
|
-
],
|
11446
|
-
"events": [
|
11447
|
-
{
|
11448
|
-
"name": "click-nav",
|
11449
|
-
"description": "Emitted when parent node is selected",
|
11450
|
-
"arguments": [
|
11451
|
-
{
|
11452
|
-
"name": "index",
|
11453
|
-
"type": "number"
|
11454
|
-
}
|
11455
|
-
]
|
11456
|
-
},
|
11457
|
-
{
|
11458
|
-
"name": "click-item",
|
11459
|
-
"description": "Emitted when item is selected",
|
11460
|
-
"arguments": [
|
11461
|
-
{
|
11462
|
-
"name": "item",
|
11463
|
-
"type": "TreeSelectChild"
|
11464
|
-
}
|
11465
|
-
]
|
11466
|
-
}
|
11467
|
-
],
|
11468
|
-
"attributes": [
|
11469
|
-
{
|
11470
|
-
"name": "items",
|
11471
|
-
"default": "`[]`",
|
11472
|
-
"description": "Required datasets for the component",
|
11473
|
-
"options": [],
|
11474
|
-
"value": {
|
11475
|
-
"type": "TreeSelectItem[]",
|
11476
|
-
"kind": "expression"
|
11477
|
-
}
|
11478
|
-
},
|
11479
|
-
{
|
11480
|
-
"name": "height",
|
11481
|
-
"default": "`300`",
|
11482
|
-
"description": "Height",
|
11483
|
-
"options": [],
|
11484
|
-
"value": {
|
11485
|
-
"type": "number | string",
|
11486
|
-
"kind": "expression"
|
11487
|
-
}
|
11488
|
-
},
|
11489
|
-
{
|
11490
|
-
"name": "main-active-index",
|
11491
|
-
"default": "`0`",
|
11492
|
-
"description": "The index of selected parent node",
|
11493
|
-
"options": [],
|
11494
|
-
"value": {
|
11495
|
-
"type": "number | string",
|
11496
|
-
"kind": "expression"
|
11497
|
-
}
|
11498
|
-
},
|
11499
|
-
{
|
11500
|
-
"name": "active-id",
|
11501
|
-
"default": "`0`",
|
11502
|
-
"description": "Id of selected item",
|
11503
|
-
"options": [],
|
11504
|
-
"value": {
|
11505
|
-
"type": "number | string |<br>(number | string)[]",
|
11506
|
-
"kind": "expression"
|
11507
|
-
}
|
11508
|
-
},
|
11509
|
-
{
|
11510
|
-
"name": "max",
|
11511
|
-
"default": "`Infinity`",
|
11512
|
-
"description": "Maximum number of selected items",
|
11513
|
-
"options": [],
|
11514
|
-
"value": {
|
11515
|
-
"type": "number | string",
|
11516
|
-
"kind": "expression"
|
11517
|
-
}
|
11518
|
-
},
|
11519
|
-
{
|
11520
|
-
"name": "selected-icon",
|
11521
|
-
"default": "`success`",
|
11522
|
-
"description": "Selected icon",
|
11523
|
-
"options": [],
|
11524
|
-
"value": {
|
11525
|
-
"type": "string",
|
11526
|
-
"kind": "expression"
|
11527
|
-
}
|
11528
|
-
}
|
11529
|
-
]
|
11530
|
-
},
|
11531
11438
|
{
|
11532
11439
|
"name": "van-uploader",
|
11533
11440
|
"slots": [
|
@@ -11832,6 +11739,99 @@
|
|
11832
11739
|
}
|
11833
11740
|
}
|
11834
11741
|
]
|
11742
|
+
},
|
11743
|
+
{
|
11744
|
+
"name": "van-tree-select",
|
11745
|
+
"slots": [
|
11746
|
+
{
|
11747
|
+
"name": "content",
|
11748
|
+
"description": "Custom right content"
|
11749
|
+
}
|
11750
|
+
],
|
11751
|
+
"events": [
|
11752
|
+
{
|
11753
|
+
"name": "click-nav",
|
11754
|
+
"description": "Emitted when parent node is selected",
|
11755
|
+
"arguments": [
|
11756
|
+
{
|
11757
|
+
"name": "index",
|
11758
|
+
"type": "number"
|
11759
|
+
}
|
11760
|
+
]
|
11761
|
+
},
|
11762
|
+
{
|
11763
|
+
"name": "click-item",
|
11764
|
+
"description": "Emitted when item is selected",
|
11765
|
+
"arguments": [
|
11766
|
+
{
|
11767
|
+
"name": "item",
|
11768
|
+
"type": "TreeSelectChild"
|
11769
|
+
}
|
11770
|
+
]
|
11771
|
+
}
|
11772
|
+
],
|
11773
|
+
"attributes": [
|
11774
|
+
{
|
11775
|
+
"name": "items",
|
11776
|
+
"default": "`[]`",
|
11777
|
+
"description": "Required datasets for the component",
|
11778
|
+
"options": [],
|
11779
|
+
"value": {
|
11780
|
+
"type": "TreeSelectItem[]",
|
11781
|
+
"kind": "expression"
|
11782
|
+
}
|
11783
|
+
},
|
11784
|
+
{
|
11785
|
+
"name": "height",
|
11786
|
+
"default": "`300`",
|
11787
|
+
"description": "Height",
|
11788
|
+
"options": [],
|
11789
|
+
"value": {
|
11790
|
+
"type": "number | string",
|
11791
|
+
"kind": "expression"
|
11792
|
+
}
|
11793
|
+
},
|
11794
|
+
{
|
11795
|
+
"name": "main-active-index",
|
11796
|
+
"default": "`0`",
|
11797
|
+
"description": "The index of selected parent node",
|
11798
|
+
"options": [],
|
11799
|
+
"value": {
|
11800
|
+
"type": "number | string",
|
11801
|
+
"kind": "expression"
|
11802
|
+
}
|
11803
|
+
},
|
11804
|
+
{
|
11805
|
+
"name": "active-id",
|
11806
|
+
"default": "`0`",
|
11807
|
+
"description": "Id of selected item",
|
11808
|
+
"options": [],
|
11809
|
+
"value": {
|
11810
|
+
"type": "number | string |<br>(number | string)[]",
|
11811
|
+
"kind": "expression"
|
11812
|
+
}
|
11813
|
+
},
|
11814
|
+
{
|
11815
|
+
"name": "max",
|
11816
|
+
"default": "`Infinity`",
|
11817
|
+
"description": "Maximum number of selected items",
|
11818
|
+
"options": [],
|
11819
|
+
"value": {
|
11820
|
+
"type": "number | string",
|
11821
|
+
"kind": "expression"
|
11822
|
+
}
|
11823
|
+
},
|
11824
|
+
{
|
11825
|
+
"name": "selected-icon",
|
11826
|
+
"default": "`success`",
|
11827
|
+
"description": "Selected icon",
|
11828
|
+
"options": [],
|
11829
|
+
"value": {
|
11830
|
+
"type": "string",
|
11831
|
+
"kind": "expression"
|
11832
|
+
}
|
11833
|
+
}
|
11834
|
+
]
|
11835
11835
|
}
|
11836
11836
|
],
|
11837
11837
|
"attributes": [],
|