vant 3.5.1 → 3.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +10 -0
- package/README.md +13 -13
- package/changelog.generated.md +54 -0
- package/es/action-bar/ActionBar.d.ts +4 -0
- package/es/action-bar/ActionBar.mjs +13 -2
- package/es/action-bar/index.d.ts +3 -0
- package/es/button/index.less +1 -1
- package/es/calendar/Calendar.mjs +3 -1
- package/es/calendar/types.d.ts +1 -0
- package/es/cell/Cell.d.ts +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/collapse/Collapse.d.ts +8 -1
- package/es/collapse/Collapse.mjs +28 -1
- package/es/collapse/index.d.ts +1 -1
- package/es/collapse-item/CollapseItem.d.ts +1 -1
- package/es/collapse-item/CollapseItem.mjs +3 -1
- package/es/collapse-item/index.d.ts +1 -1
- package/es/collapse-item/index.less +1 -1
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-height.mjs +6 -2
- package/es/composables/use-placeholder.mjs +1 -1
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/field/Field.d.ts +4 -2
- package/es/field/Field.mjs +7 -1
- package/es/field/index.d.ts +4 -2
- package/es/field/index.less +1 -1
- package/es/grid-item/index.less +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/index.d.ts +1 -1
- package/es/popover/Popover.mjs +17 -18
- package/es/sidebar-item/index.less +1 -1
- package/es/submit-bar/SubmitBar.d.ts +4 -0
- package/es/submit-bar/SubmitBar.mjs +13 -2
- package/es/submit-bar/index.d.ts +3 -0
- package/es/swipe/index.less +1 -1
- package/es/switch/index.less +1 -1
- package/es/toast/index.less +1 -1
- package/es/uploader/Uploader.mjs +1 -1
- package/es/utils/basic.d.ts +3 -3
- package/es/utils/create.d.ts +1 -1
- package/lib/action-bar/ActionBar.d.ts +4 -0
- package/lib/action-bar/ActionBar.js +12 -1
- package/lib/action-bar/index.d.ts +3 -0
- package/lib/button/index.less +1 -1
- package/lib/calendar/Calendar.js +3 -1
- package/lib/calendar/types.d.ts +1 -0
- package/lib/cell/Cell.d.ts +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/collapse/Collapse.d.ts +8 -1
- package/lib/collapse/Collapse.js +28 -1
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse-item/CollapseItem.d.ts +1 -1
- package/lib/collapse-item/CollapseItem.js +3 -1
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/index.less +1 -1
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-height.js +6 -2
- package/lib/composables/use-placeholder.js +1 -1
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/field/Field.d.ts +4 -2
- package/lib/field/Field.js +7 -1
- package/lib/field/index.d.ts +4 -2
- package/lib/field/index.less +1 -1
- package/lib/grid-item/index.less +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/index.d.ts +1 -1
- package/lib/popover/Popover.js +17 -18
- package/lib/sidebar-item/index.less +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +4 -0
- package/lib/submit-bar/SubmitBar.js +12 -1
- package/lib/submit-bar/index.d.ts +3 -0
- package/lib/swipe/index.less +1 -1
- package/lib/switch/index.less +1 -1
- package/lib/toast/index.less +1 -1
- package/lib/uploader/Uploader.js +1 -1
- package/lib/utils/basic.d.ts +3 -3
- package/lib/utils/create.d.ts +1 -1
- package/lib/vant.cjs.js +182 -50
- package/lib/vant.es.js +271 -49
- package/lib/vant.js +107 -48
- package/lib/vant.min.js +1 -1
- package/{vetur → lib}/web-types.json +1346 -1312
- package/package.json +9 -14
- package/lib/ssr.js +0 -7
- package/lib/ssr.mjs +0 -1
- package/lib/vant.cjs.min.js +0 -1
- package/lib/vant.es.min.js +0 -14667
- package/vetur/attributes.json +0 -3474
- package/vetur/tags.json +0 -1202
@@ -2,12 +2,12 @@
|
|
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.5.
|
5
|
+
"version": "3.5.4",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
9
|
{
|
10
|
-
"name": "
|
10
|
+
"name": "action-bar",
|
11
11
|
"slots": [],
|
12
12
|
"events": [],
|
13
13
|
"attributes": [
|
@@ -20,11 +20,21 @@
|
|
20
20
|
"type": "boolean",
|
21
21
|
"kind": "expression"
|
22
22
|
}
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "placeholder",
|
26
|
+
"default": "`false`",
|
27
|
+
"description": "Whether to generate a placeholder element",
|
28
|
+
"options": [],
|
29
|
+
"value": {
|
30
|
+
"type": "boolean",
|
31
|
+
"kind": "expression"
|
32
|
+
}
|
23
33
|
}
|
24
34
|
]
|
25
35
|
},
|
26
36
|
{
|
27
|
-
"name": "
|
37
|
+
"name": "action-bar-icon",
|
28
38
|
"slots": [
|
29
39
|
{
|
30
40
|
"name": "default",
|
@@ -150,7 +160,7 @@
|
|
150
160
|
]
|
151
161
|
},
|
152
162
|
{
|
153
|
-
"name": "
|
163
|
+
"name": "action-bar-button",
|
154
164
|
"slots": [
|
155
165
|
{
|
156
166
|
"name": "default",
|
@@ -252,7 +262,7 @@
|
|
252
262
|
]
|
253
263
|
},
|
254
264
|
{
|
255
|
-
"name": "
|
265
|
+
"name": "action-sheet",
|
256
266
|
"slots": [
|
257
267
|
{
|
258
268
|
"name": "default",
|
@@ -526,7 +536,7 @@
|
|
526
536
|
]
|
527
537
|
},
|
528
538
|
{
|
529
|
-
"name": "
|
539
|
+
"name": "address-edit",
|
530
540
|
"slots": [
|
531
541
|
{
|
532
542
|
"name": "default",
|
@@ -834,93 +844,7 @@
|
|
834
844
|
]
|
835
845
|
},
|
836
846
|
{
|
837
|
-
"name": "
|
838
|
-
"slots": [
|
839
|
-
{
|
840
|
-
"name": "default",
|
841
|
-
"description": "Default slot"
|
842
|
-
},
|
843
|
-
{
|
844
|
-
"name": "content",
|
845
|
-
"description": "Custom badge content"
|
846
|
-
}
|
847
|
-
],
|
848
|
-
"events": [],
|
849
|
-
"attributes": [
|
850
|
-
{
|
851
|
-
"name": "content",
|
852
|
-
"default": "-",
|
853
|
-
"description": "Badge content",
|
854
|
-
"options": [],
|
855
|
-
"value": {
|
856
|
-
"type": "number | string",
|
857
|
-
"kind": "expression"
|
858
|
-
}
|
859
|
-
},
|
860
|
-
{
|
861
|
-
"name": "color",
|
862
|
-
"default": "`#ee0a24`",
|
863
|
-
"description": "Background color",
|
864
|
-
"options": [],
|
865
|
-
"value": {
|
866
|
-
"type": "string",
|
867
|
-
"kind": "expression"
|
868
|
-
}
|
869
|
-
},
|
870
|
-
{
|
871
|
-
"name": "dot",
|
872
|
-
"default": "`false`",
|
873
|
-
"description": "Whether to show dot",
|
874
|
-
"options": [],
|
875
|
-
"value": {
|
876
|
-
"type": "boolean",
|
877
|
-
"kind": "expression"
|
878
|
-
}
|
879
|
-
},
|
880
|
-
{
|
881
|
-
"name": "max",
|
882
|
-
"default": "-",
|
883
|
-
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
884
|
-
"options": [],
|
885
|
-
"value": {
|
886
|
-
"type": "number | string",
|
887
|
-
"kind": "expression"
|
888
|
-
}
|
889
|
-
},
|
890
|
-
{
|
891
|
-
"name": "offset",
|
892
|
-
"default": "-",
|
893
|
-
"description": "Offset of badge dot",
|
894
|
-
"options": [],
|
895
|
-
"value": {
|
896
|
-
"type": "[number | string, number | string]",
|
897
|
-
"kind": "expression"
|
898
|
-
}
|
899
|
-
},
|
900
|
-
{
|
901
|
-
"name": "show-zero",
|
902
|
-
"default": "`true`",
|
903
|
-
"description": "Whether to show badge when content is zero",
|
904
|
-
"options": [],
|
905
|
-
"value": {
|
906
|
-
"type": "boolean",
|
907
|
-
"kind": "expression"
|
908
|
-
}
|
909
|
-
},
|
910
|
-
{
|
911
|
-
"name": "position",
|
912
|
-
"default": "`top-right`",
|
913
|
-
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
914
|
-
"options": [],
|
915
|
-
"value": {
|
916
|
-
"type": "string",
|
917
|
-
"kind": "expression"
|
918
|
-
}
|
919
|
-
}
|
920
|
-
]
|
921
|
-
},
|
922
|
-
{
|
923
|
-
"name": "van-address-list",
|
847
|
+
"name": "address-list",
|
924
848
|
"slots": [
|
925
849
|
{
|
926
850
|
"name": "default",
|
@@ -1090,7 +1014,7 @@
|
|
1090
1014
|
]
|
1091
1015
|
},
|
1092
1016
|
{
|
1093
|
-
"name": "
|
1017
|
+
"name": "area",
|
1094
1018
|
"slots": [
|
1095
1019
|
{
|
1096
1020
|
"name": "toolbar",
|
@@ -1282,7 +1206,93 @@
|
|
1282
1206
|
]
|
1283
1207
|
},
|
1284
1208
|
{
|
1285
|
-
"name": "
|
1209
|
+
"name": "badge",
|
1210
|
+
"slots": [
|
1211
|
+
{
|
1212
|
+
"name": "default",
|
1213
|
+
"description": "Default slot"
|
1214
|
+
},
|
1215
|
+
{
|
1216
|
+
"name": "content",
|
1217
|
+
"description": "Custom badge content"
|
1218
|
+
}
|
1219
|
+
],
|
1220
|
+
"events": [],
|
1221
|
+
"attributes": [
|
1222
|
+
{
|
1223
|
+
"name": "content",
|
1224
|
+
"default": "-",
|
1225
|
+
"description": "Badge content",
|
1226
|
+
"options": [],
|
1227
|
+
"value": {
|
1228
|
+
"type": "number | string",
|
1229
|
+
"kind": "expression"
|
1230
|
+
}
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
"name": "color",
|
1234
|
+
"default": "`#ee0a24`",
|
1235
|
+
"description": "Background color",
|
1236
|
+
"options": [],
|
1237
|
+
"value": {
|
1238
|
+
"type": "string",
|
1239
|
+
"kind": "expression"
|
1240
|
+
}
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"name": "dot",
|
1244
|
+
"default": "`false`",
|
1245
|
+
"description": "Whether to show dot",
|
1246
|
+
"options": [],
|
1247
|
+
"value": {
|
1248
|
+
"type": "boolean",
|
1249
|
+
"kind": "expression"
|
1250
|
+
}
|
1251
|
+
},
|
1252
|
+
{
|
1253
|
+
"name": "max",
|
1254
|
+
"default": "-",
|
1255
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1256
|
+
"options": [],
|
1257
|
+
"value": {
|
1258
|
+
"type": "number | string",
|
1259
|
+
"kind": "expression"
|
1260
|
+
}
|
1261
|
+
},
|
1262
|
+
{
|
1263
|
+
"name": "offset",
|
1264
|
+
"default": "-",
|
1265
|
+
"description": "Offset of badge dot",
|
1266
|
+
"options": [],
|
1267
|
+
"value": {
|
1268
|
+
"type": "[number | string, number | string]",
|
1269
|
+
"kind": "expression"
|
1270
|
+
}
|
1271
|
+
},
|
1272
|
+
{
|
1273
|
+
"name": "show-zero",
|
1274
|
+
"default": "`true`",
|
1275
|
+
"description": "Whether to show badge when content is zero",
|
1276
|
+
"options": [],
|
1277
|
+
"value": {
|
1278
|
+
"type": "boolean",
|
1279
|
+
"kind": "expression"
|
1280
|
+
}
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"name": "position",
|
1284
|
+
"default": "`top-right`",
|
1285
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1286
|
+
"options": [],
|
1287
|
+
"value": {
|
1288
|
+
"type": "string",
|
1289
|
+
"kind": "expression"
|
1290
|
+
}
|
1291
|
+
}
|
1292
|
+
]
|
1293
|
+
},
|
1294
|
+
{
|
1295
|
+
"name": "button",
|
1286
1296
|
"slots": [
|
1287
1297
|
{
|
1288
1298
|
"name": "default",
|
@@ -1533,7 +1543,7 @@
|
|
1533
1543
|
]
|
1534
1544
|
},
|
1535
1545
|
{
|
1536
|
-
"name": "
|
1546
|
+
"name": "calendar",
|
1537
1547
|
"slots": [
|
1538
1548
|
{
|
1539
1549
|
"name": "title",
|
@@ -1961,7 +1971,7 @@
|
|
1961
1971
|
]
|
1962
1972
|
},
|
1963
1973
|
{
|
1964
|
-
"name": "
|
1974
|
+
"name": "card",
|
1965
1975
|
"slots": [
|
1966
1976
|
{
|
1967
1977
|
"name": "title",
|
@@ -2144,7 +2154,7 @@
|
|
2144
2154
|
]
|
2145
2155
|
},
|
2146
2156
|
{
|
2147
|
-
"name": "
|
2157
|
+
"name": "cascader",
|
2148
2158
|
"slots": [
|
2149
2159
|
{
|
2150
2160
|
"name": "title",
|
@@ -2306,7 +2316,7 @@
|
|
2306
2316
|
]
|
2307
2317
|
},
|
2308
2318
|
{
|
2309
|
-
"name": "
|
2319
|
+
"name": "cell-group",
|
2310
2320
|
"slots": [
|
2311
2321
|
{
|
2312
2322
|
"name": "default",
|
@@ -2352,7 +2362,7 @@
|
|
2352
2362
|
]
|
2353
2363
|
},
|
2354
2364
|
{
|
2355
|
-
"name": "
|
2365
|
+
"name": "cell",
|
2356
2366
|
"slots": [
|
2357
2367
|
{
|
2358
2368
|
"name": "title",
|
@@ -2585,7 +2595,7 @@
|
|
2585
2595
|
]
|
2586
2596
|
},
|
2587
2597
|
{
|
2588
|
-
"name": "
|
2598
|
+
"name": "checkbox",
|
2589
2599
|
"slots": [
|
2590
2600
|
{
|
2591
2601
|
"name": "default",
|
@@ -2632,7 +2642,7 @@
|
|
2632
2642
|
{
|
2633
2643
|
"name": "name",
|
2634
2644
|
"default": "-",
|
2635
|
-
"description": "Checkbox name",
|
2645
|
+
"description": "Checkbox name, usually a unique string or number",
|
2636
2646
|
"options": [],
|
2637
2647
|
"value": {
|
2638
2648
|
"type": "any",
|
@@ -2712,7 +2722,7 @@
|
|
2712
2722
|
]
|
2713
2723
|
},
|
2714
2724
|
{
|
2715
|
-
"name": "
|
2725
|
+
"name": "checkbox-group",
|
2716
2726
|
"slots": [],
|
2717
2727
|
"events": [
|
2718
2728
|
{
|
@@ -2790,7 +2800,7 @@
|
|
2790
2800
|
]
|
2791
2801
|
},
|
2792
2802
|
{
|
2793
|
-
"name": "
|
2803
|
+
"name": "circle",
|
2794
2804
|
"slots": [
|
2795
2805
|
{
|
2796
2806
|
"name": "default",
|
@@ -2922,117 +2932,103 @@
|
|
2922
2932
|
]
|
2923
2933
|
},
|
2924
2934
|
{
|
2925
|
-
"name": "
|
2935
|
+
"name": "row",
|
2926
2936
|
"slots": [],
|
2927
2937
|
"events": [
|
2928
2938
|
{
|
2929
|
-
"name": "
|
2930
|
-
"description": "Emitted when
|
2939
|
+
"name": "click",
|
2940
|
+
"description": "Emitted when the row is clicked",
|
2931
2941
|
"arguments": [
|
2932
2942
|
{
|
2933
|
-
"name": "
|
2934
|
-
"type": "
|
2943
|
+
"name": "event",
|
2944
|
+
"type": "MouseEvent"
|
2935
2945
|
}
|
2936
2946
|
]
|
2937
2947
|
}
|
2938
2948
|
],
|
2939
2949
|
"attributes": [
|
2940
2950
|
{
|
2941
|
-
"name": "
|
2951
|
+
"name": "gutter",
|
2942
2952
|
"default": "-",
|
2943
|
-
"description": "
|
2953
|
+
"description": "Grid spacing(px)",
|
2944
2954
|
"options": [],
|
2945
2955
|
"value": {
|
2946
|
-
"type": "
|
2956
|
+
"type": "number | string",
|
2947
2957
|
"kind": "expression"
|
2948
2958
|
}
|
2949
2959
|
},
|
2950
2960
|
{
|
2951
|
-
"name": "
|
2952
|
-
"default": "`
|
2953
|
-
"description": "
|
2961
|
+
"name": "tag",
|
2962
|
+
"default": "`div`",
|
2963
|
+
"description": "Custom element tag",
|
2954
2964
|
"options": [],
|
2955
2965
|
"value": {
|
2956
|
-
"type": "
|
2966
|
+
"type": "string",
|
2957
2967
|
"kind": "expression"
|
2958
2968
|
}
|
2959
2969
|
},
|
2960
2970
|
{
|
2961
|
-
"name": "
|
2962
|
-
"default": "`
|
2963
|
-
"description": "
|
2971
|
+
"name": "justify",
|
2972
|
+
"default": "`start`",
|
2973
|
+
"description": "Flex main axis, can be set to end/center/space-around/space-between",
|
2964
2974
|
"options": [],
|
2965
2975
|
"value": {
|
2966
|
-
"type": "
|
2976
|
+
"type": "string",
|
2967
2977
|
"kind": "expression"
|
2968
2978
|
}
|
2969
|
-
}
|
2970
|
-
]
|
2971
|
-
},
|
2972
|
-
{
|
2973
|
-
"name": "van-collapse-item",
|
2974
|
-
"slots": [
|
2975
|
-
{
|
2976
|
-
"name": "default",
|
2977
|
-
"description": "Content"
|
2978
|
-
},
|
2979
|
-
{
|
2980
|
-
"name": "title",
|
2981
|
-
"description": "Custom header title"
|
2982
|
-
},
|
2983
|
-
{
|
2984
|
-
"name": "value",
|
2985
|
-
"description": "Custom header value"
|
2986
|
-
},
|
2987
|
-
{
|
2988
|
-
"name": "label",
|
2989
|
-
"description": "Custom header label"
|
2990
|
-
},
|
2991
|
-
{
|
2992
|
-
"name": "icon",
|
2993
|
-
"description": "Custom header left icon"
|
2994
2979
|
},
|
2995
2980
|
{
|
2996
|
-
"name": "
|
2997
|
-
"
|
2998
|
-
|
2999
|
-
],
|
3000
|
-
"events": [],
|
3001
|
-
"attributes": [
|
3002
|
-
{
|
3003
|
-
"name": "name",
|
3004
|
-
"default": "`index`",
|
3005
|
-
"description": "Name",
|
2981
|
+
"name": "align",
|
2982
|
+
"default": "`top`",
|
2983
|
+
"description": "Flex cross axis, be set to center/bottom",
|
3006
2984
|
"options": [],
|
3007
2985
|
"value": {
|
3008
|
-
"type": "
|
2986
|
+
"type": "string",
|
3009
2987
|
"kind": "expression"
|
3010
2988
|
}
|
3011
2989
|
},
|
3012
2990
|
{
|
3013
|
-
"name": "
|
3014
|
-
"default": "
|
3015
|
-
"description": "
|
2991
|
+
"name": "wrap",
|
2992
|
+
"default": "`true`",
|
2993
|
+
"description": "Whether to wrap",
|
3016
2994
|
"options": [],
|
3017
2995
|
"value": {
|
3018
|
-
"type": "
|
2996
|
+
"type": "boolean",
|
3019
2997
|
"kind": "expression"
|
3020
2998
|
}
|
3021
|
-
}
|
2999
|
+
}
|
3000
|
+
]
|
3001
|
+
},
|
3002
|
+
{
|
3003
|
+
"name": "col",
|
3004
|
+
"slots": [],
|
3005
|
+
"events": [
|
3022
3006
|
{
|
3023
|
-
"name": "
|
3007
|
+
"name": "click",
|
3008
|
+
"description": "Emitted when the col is clicked",
|
3009
|
+
"arguments": [
|
3010
|
+
{
|
3011
|
+
"name": "event",
|
3012
|
+
"type": "MouseEvent"
|
3013
|
+
}
|
3014
|
+
]
|
3015
|
+
}
|
3016
|
+
],
|
3017
|
+
"attributes": [
|
3018
|
+
{
|
3019
|
+
"name": "span",
|
3024
3020
|
"default": "-",
|
3025
|
-
"description": "
|
3021
|
+
"description": "number of column the grid spans",
|
3026
3022
|
"options": [],
|
3027
3023
|
"value": {
|
3028
|
-
"type": "string",
|
3024
|
+
"type": "number | string",
|
3029
3025
|
"kind": "expression"
|
3030
3026
|
}
|
3031
3027
|
},
|
3032
3028
|
{
|
3033
|
-
"name": "
|
3029
|
+
"name": "offset",
|
3034
3030
|
"default": "-",
|
3035
|
-
"description": "
|
3031
|
+
"description": "number of spacing on the left side of the grid",
|
3036
3032
|
"options": [],
|
3037
3033
|
"value": {
|
3038
3034
|
"type": "number | string",
|
@@ -3040,29 +3036,47 @@
|
|
3040
3036
|
}
|
3041
3037
|
},
|
3042
3038
|
{
|
3043
|
-
"name": "
|
3044
|
-
"default": "
|
3045
|
-
"description": "
|
3039
|
+
"name": "tag",
|
3040
|
+
"default": "`div`",
|
3041
|
+
"description": "Custom element tag",
|
3046
3042
|
"options": [],
|
3047
3043
|
"value": {
|
3048
|
-
"type": "
|
3044
|
+
"type": "string",
|
3049
3045
|
"kind": "expression"
|
3050
3046
|
}
|
3051
|
-
}
|
3047
|
+
}
|
3048
|
+
]
|
3049
|
+
},
|
3050
|
+
{
|
3051
|
+
"name": "collapse",
|
3052
|
+
"slots": [],
|
3053
|
+
"events": [
|
3052
3054
|
{
|
3053
|
-
"name": "
|
3055
|
+
"name": "change",
|
3056
|
+
"description": "Emitted when switching panel",
|
3057
|
+
"arguments": [
|
3058
|
+
{
|
3059
|
+
"name": "activeNames",
|
3060
|
+
"type": "string | number | Array<string | number>"
|
3061
|
+
}
|
3062
|
+
]
|
3063
|
+
}
|
3064
|
+
],
|
3065
|
+
"attributes": [
|
3066
|
+
{
|
3067
|
+
"name": "v-model",
|
3054
3068
|
"default": "-",
|
3055
|
-
"description": "
|
3069
|
+
"description": "Names of current active panels",
|
3056
3070
|
"options": [],
|
3057
3071
|
"value": {
|
3058
|
-
"type": "string",
|
3072
|
+
"type": "accordion mode: _number | string_<br>non-accordion mode: _(number | string)[]",
|
3059
3073
|
"kind": "expression"
|
3060
3074
|
}
|
3061
3075
|
},
|
3062
3076
|
{
|
3063
|
-
"name": "
|
3064
|
-
"default": "`
|
3065
|
-
"description": "Whether to
|
3077
|
+
"name": "accordion",
|
3078
|
+
"default": "`false`",
|
3079
|
+
"description": "Whether to be accordion mode",
|
3066
3080
|
"options": [],
|
3067
3081
|
"value": {
|
3068
3082
|
"type": "boolean",
|
@@ -3070,185 +3084,181 @@
|
|
3070
3084
|
}
|
3071
3085
|
},
|
3072
3086
|
{
|
3073
|
-
"name": "
|
3074
|
-
"default": "`
|
3075
|
-
"description": "Whether to
|
3087
|
+
"name": "border",
|
3088
|
+
"default": "`true`",
|
3089
|
+
"description": "Whether to show outer border",
|
3076
3090
|
"options": [],
|
3077
3091
|
"value": {
|
3078
3092
|
"type": "boolean",
|
3079
3093
|
"kind": "expression"
|
3080
3094
|
}
|
3095
|
+
}
|
3096
|
+
]
|
3097
|
+
},
|
3098
|
+
{
|
3099
|
+
"name": "collapse-item",
|
3100
|
+
"slots": [
|
3101
|
+
{
|
3102
|
+
"name": "default",
|
3103
|
+
"description": "Content"
|
3081
3104
|
},
|
3082
3105
|
{
|
3083
|
-
"name": "
|
3084
|
-
"
|
3085
|
-
|
3106
|
+
"name": "title",
|
3107
|
+
"description": "Custom header title"
|
3108
|
+
},
|
3109
|
+
{
|
3110
|
+
"name": "value",
|
3111
|
+
"description": "Custom header value"
|
3112
|
+
},
|
3113
|
+
{
|
3114
|
+
"name": "label",
|
3115
|
+
"description": "Custom header label"
|
3116
|
+
},
|
3117
|
+
{
|
3118
|
+
"name": "icon",
|
3119
|
+
"description": "Custom header left icon"
|
3120
|
+
},
|
3121
|
+
{
|
3122
|
+
"name": "right-icon",
|
3123
|
+
"description": "Custom header right icon"
|
3124
|
+
}
|
3125
|
+
],
|
3126
|
+
"events": [],
|
3127
|
+
"attributes": [
|
3128
|
+
{
|
3129
|
+
"name": "name",
|
3130
|
+
"default": "`index`",
|
3131
|
+
"description": "Name",
|
3086
3132
|
"options": [],
|
3087
3133
|
"value": {
|
3088
|
-
"type": "
|
3134
|
+
"type": "number | string",
|
3089
3135
|
"kind": "expression"
|
3090
3136
|
}
|
3091
3137
|
},
|
3092
3138
|
{
|
3093
|
-
"name": "
|
3094
|
-
"default": "
|
3095
|
-
"description": "
|
3139
|
+
"name": "icon",
|
3140
|
+
"default": "-",
|
3141
|
+
"description": "Left Icon",
|
3096
3142
|
"options": [],
|
3097
3143
|
"value": {
|
3098
|
-
"type": "
|
3144
|
+
"type": "string",
|
3099
3145
|
"kind": "expression"
|
3100
3146
|
}
|
3101
3147
|
},
|
3102
3148
|
{
|
3103
|
-
"name": "
|
3104
|
-
"default": "
|
3105
|
-
"description": "
|
3149
|
+
"name": "size",
|
3150
|
+
"default": "-",
|
3151
|
+
"description": "Title size, can be set to `large`",
|
3106
3152
|
"options": [],
|
3107
3153
|
"value": {
|
3108
|
-
"type": "
|
3154
|
+
"type": "string",
|
3109
3155
|
"kind": "expression"
|
3110
3156
|
}
|
3111
3157
|
},
|
3112
3158
|
{
|
3113
|
-
"name": "title
|
3159
|
+
"name": "title",
|
3114
3160
|
"default": "-",
|
3115
|
-
"description": "Title
|
3161
|
+
"description": "Title",
|
3116
3162
|
"options": [],
|
3117
3163
|
"value": {
|
3118
|
-
"type": "string",
|
3164
|
+
"type": "number | string",
|
3119
3165
|
"kind": "expression"
|
3120
3166
|
}
|
3121
3167
|
},
|
3122
3168
|
{
|
3123
|
-
"name": "value
|
3169
|
+
"name": "value",
|
3124
3170
|
"default": "-",
|
3125
|
-
"description": "
|
3171
|
+
"description": "Right text",
|
3126
3172
|
"options": [],
|
3127
3173
|
"value": {
|
3128
|
-
"type": "string",
|
3174
|
+
"type": "number | string",
|
3129
3175
|
"kind": "expression"
|
3130
3176
|
}
|
3131
3177
|
},
|
3132
3178
|
{
|
3133
|
-
"name": "label
|
3179
|
+
"name": "label",
|
3134
3180
|
"default": "-",
|
3135
|
-
"description": "
|
3181
|
+
"description": "Description below the title",
|
3136
3182
|
"options": [],
|
3137
3183
|
"value": {
|
3138
3184
|
"type": "string",
|
3139
3185
|
"kind": "expression"
|
3140
3186
|
}
|
3141
|
-
}
|
3142
|
-
]
|
3143
|
-
},
|
3144
|
-
{
|
3145
|
-
"name": "van-row",
|
3146
|
-
"slots": [],
|
3147
|
-
"events": [
|
3148
|
-
{
|
3149
|
-
"name": "click",
|
3150
|
-
"description": "Emitted when the row is clicked",
|
3151
|
-
"arguments": [
|
3152
|
-
{
|
3153
|
-
"name": "event",
|
3154
|
-
"type": "MouseEvent"
|
3155
|
-
}
|
3156
|
-
]
|
3157
|
-
}
|
3158
|
-
],
|
3159
|
-
"attributes": [
|
3187
|
+
},
|
3160
3188
|
{
|
3161
|
-
"name": "
|
3162
|
-
"default": "
|
3163
|
-
"description": "
|
3189
|
+
"name": "border",
|
3190
|
+
"default": "`true`",
|
3191
|
+
"description": "Whether to show inner border",
|
3164
3192
|
"options": [],
|
3165
3193
|
"value": {
|
3166
|
-
"type": "
|
3194
|
+
"type": "boolean",
|
3167
3195
|
"kind": "expression"
|
3168
3196
|
}
|
3169
3197
|
},
|
3170
3198
|
{
|
3171
|
-
"name": "
|
3172
|
-
"default": "`
|
3173
|
-
"description": "
|
3199
|
+
"name": "disabled",
|
3200
|
+
"default": "`false`",
|
3201
|
+
"description": "Whether to disabled collapse",
|
3174
3202
|
"options": [],
|
3175
3203
|
"value": {
|
3176
|
-
"type": "
|
3204
|
+
"type": "boolean",
|
3177
3205
|
"kind": "expression"
|
3178
3206
|
}
|
3179
3207
|
},
|
3180
3208
|
{
|
3181
|
-
"name": "
|
3182
|
-
"default": "`
|
3183
|
-
"description": "
|
3209
|
+
"name": "readonly",
|
3210
|
+
"default": "`false`",
|
3211
|
+
"description": "Whether to be readonly",
|
3184
3212
|
"options": [],
|
3185
3213
|
"value": {
|
3186
|
-
"type": "
|
3214
|
+
"type": "boolean",
|
3187
3215
|
"kind": "expression"
|
3188
3216
|
}
|
3189
3217
|
},
|
3190
3218
|
{
|
3191
|
-
"name": "
|
3192
|
-
"default": "`
|
3193
|
-
"description": "
|
3219
|
+
"name": "is-link",
|
3220
|
+
"default": "`true`",
|
3221
|
+
"description": "Whether to show link icon",
|
3194
3222
|
"options": [],
|
3195
3223
|
"value": {
|
3196
|
-
"type": "
|
3224
|
+
"type": "boolean",
|
3197
3225
|
"kind": "expression"
|
3198
3226
|
}
|
3199
3227
|
},
|
3200
3228
|
{
|
3201
|
-
"name": "
|
3229
|
+
"name": "lazy-render",
|
3202
3230
|
"default": "`true`",
|
3203
|
-
"description": "Whether to
|
3231
|
+
"description": "Whether to lazy render util opened",
|
3204
3232
|
"options": [],
|
3205
3233
|
"value": {
|
3206
3234
|
"type": "boolean",
|
3207
3235
|
"kind": "expression"
|
3208
3236
|
}
|
3209
|
-
}
|
3210
|
-
]
|
3211
|
-
},
|
3212
|
-
{
|
3213
|
-
"name": "van-col",
|
3214
|
-
"slots": [],
|
3215
|
-
"events": [
|
3216
|
-
{
|
3217
|
-
"name": "click",
|
3218
|
-
"description": "Emitted when the col is clicked",
|
3219
|
-
"arguments": [
|
3220
|
-
{
|
3221
|
-
"name": "event",
|
3222
|
-
"type": "MouseEvent"
|
3223
|
-
}
|
3224
|
-
]
|
3225
|
-
}
|
3226
|
-
],
|
3227
|
-
"attributes": [
|
3237
|
+
},
|
3228
3238
|
{
|
3229
|
-
"name": "
|
3239
|
+
"name": "title-class",
|
3230
3240
|
"default": "-",
|
3231
|
-
"description": "
|
3241
|
+
"description": "Title className",
|
3232
3242
|
"options": [],
|
3233
3243
|
"value": {
|
3234
|
-
"type": "
|
3244
|
+
"type": "string",
|
3235
3245
|
"kind": "expression"
|
3236
3246
|
}
|
3237
3247
|
},
|
3238
3248
|
{
|
3239
|
-
"name": "
|
3249
|
+
"name": "value-class",
|
3240
3250
|
"default": "-",
|
3241
|
-
"description": "
|
3251
|
+
"description": "Value className",
|
3242
3252
|
"options": [],
|
3243
3253
|
"value": {
|
3244
|
-
"type": "
|
3254
|
+
"type": "string",
|
3245
3255
|
"kind": "expression"
|
3246
3256
|
}
|
3247
3257
|
},
|
3248
3258
|
{
|
3249
|
-
"name": "
|
3250
|
-
"default": "
|
3251
|
-
"description": "
|
3259
|
+
"name": "label-class",
|
3260
|
+
"default": "-",
|
3261
|
+
"description": "Label className",
|
3252
3262
|
"options": [],
|
3253
3263
|
"value": {
|
3254
3264
|
"type": "string",
|
@@ -3258,7 +3268,7 @@
|
|
3258
3268
|
]
|
3259
3269
|
},
|
3260
3270
|
{
|
3261
|
-
"name": "
|
3271
|
+
"name": "config-provider",
|
3262
3272
|
"slots": [],
|
3263
3273
|
"events": [],
|
3264
3274
|
"attributes": [
|
@@ -3295,7 +3305,7 @@
|
|
3295
3305
|
]
|
3296
3306
|
},
|
3297
3307
|
{
|
3298
|
-
"name": "
|
3308
|
+
"name": "contact-card",
|
3299
3309
|
"slots": [],
|
3300
3310
|
"events": [
|
3301
3311
|
{
|
@@ -3363,7 +3373,7 @@
|
|
3363
3373
|
]
|
3364
3374
|
},
|
3365
3375
|
{
|
3366
|
-
"name": "
|
3376
|
+
"name": "contact-edit",
|
3367
3377
|
"slots": [],
|
3368
3378
|
"events": [
|
3369
3379
|
{
|
@@ -3461,7 +3471,7 @@
|
|
3461
3471
|
]
|
3462
3472
|
},
|
3463
3473
|
{
|
3464
|
-
"name": "
|
3474
|
+
"name": "contact-list",
|
3465
3475
|
"slots": [],
|
3466
3476
|
"events": [
|
3467
3477
|
{
|
@@ -3542,7 +3552,7 @@
|
|
3542
3552
|
]
|
3543
3553
|
},
|
3544
3554
|
{
|
3545
|
-
"name": "
|
3555
|
+
"name": "count-down",
|
3546
3556
|
"slots": [
|
3547
3557
|
{
|
3548
3558
|
"name": "default",
|
@@ -3610,109 +3620,44 @@
|
|
3610
3620
|
]
|
3611
3621
|
},
|
3612
3622
|
{
|
3613
|
-
"name": "
|
3614
|
-
"slots": [
|
3615
|
-
|
3616
|
-
|
3617
|
-
"description": "Custom toolbar content"
|
3618
|
-
},
|
3623
|
+
"name": "coupon-cell",
|
3624
|
+
"slots": [],
|
3625
|
+
"events": [],
|
3626
|
+
"attributes": [
|
3619
3627
|
{
|
3620
3628
|
"name": "title",
|
3621
|
-
"
|
3629
|
+
"default": "`Coupon`",
|
3630
|
+
"description": "Cell title",
|
3631
|
+
"options": [],
|
3632
|
+
"value": {
|
3633
|
+
"type": "string",
|
3634
|
+
"kind": "expression"
|
3635
|
+
}
|
3622
3636
|
},
|
3623
3637
|
{
|
3624
|
-
"name": "
|
3625
|
-
"
|
3626
|
-
|
3627
|
-
{
|
3628
|
-
"name": "cancel",
|
3629
|
-
"description": "Custom cancel button text"
|
3630
|
-
},
|
3631
|
-
{
|
3632
|
-
"name": "option",
|
3633
|
-
"description": "Custom option content"
|
3634
|
-
},
|
3635
|
-
{
|
3636
|
-
"name": "columns-top",
|
3637
|
-
"description": "Custom content above columns"
|
3638
|
-
},
|
3639
|
-
{
|
3640
|
-
"name": "columns-bottom",
|
3641
|
-
"description": "Custom content below columns"
|
3642
|
-
}
|
3643
|
-
],
|
3644
|
-
"events": [
|
3645
|
-
{
|
3646
|
-
"name": "change",
|
3647
|
-
"description": "Emitted when value changed",
|
3648
|
-
"arguments": [
|
3649
|
-
{
|
3650
|
-
"name": "value",
|
3651
|
-
"type": "current value"
|
3652
|
-
}
|
3653
|
-
]
|
3654
|
-
},
|
3655
|
-
{
|
3656
|
-
"name": "confirm",
|
3657
|
-
"description": "Emitted when the confirm button is clicked",
|
3658
|
-
"arguments": [
|
3659
|
-
{
|
3660
|
-
"name": "value",
|
3661
|
-
"type": "current value"
|
3662
|
-
}
|
3663
|
-
]
|
3664
|
-
},
|
3665
|
-
{
|
3666
|
-
"name": "cancel",
|
3667
|
-
"description": "Emitted when the cancel button is clicked",
|
3668
|
-
"arguments": []
|
3669
|
-
}
|
3670
|
-
],
|
3671
|
-
"attributes": [
|
3672
|
-
{
|
3673
|
-
"name": "type",
|
3674
|
-
"default": "`datetime`",
|
3675
|
-
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
|
3676
|
-
"options": [],
|
3677
|
-
"value": {
|
3678
|
-
"type": "string",
|
3679
|
-
"kind": "expression"
|
3680
|
-
}
|
3681
|
-
},
|
3682
|
-
{
|
3683
|
-
"name": "title",
|
3684
|
-
"default": "`''`",
|
3685
|
-
"description": "Toolbar title",
|
3686
|
-
"options": [],
|
3687
|
-
"value": {
|
3688
|
-
"type": "string",
|
3689
|
-
"kind": "expression"
|
3690
|
-
}
|
3691
|
-
},
|
3692
|
-
{
|
3693
|
-
"name": "confirm-button-text",
|
3694
|
-
"default": "`Confirm`",
|
3695
|
-
"description": "Text of confirm button",
|
3638
|
+
"name": "chosen-coupon",
|
3639
|
+
"default": "`-1`",
|
3640
|
+
"description": "Index of chosen coupon",
|
3696
3641
|
"options": [],
|
3697
3642
|
"value": {
|
3698
|
-
"type": "string",
|
3643
|
+
"type": "number | string",
|
3699
3644
|
"kind": "expression"
|
3700
3645
|
}
|
3701
3646
|
},
|
3702
3647
|
{
|
3703
|
-
"name": "
|
3704
|
-
"default": "`
|
3705
|
-
"description": "
|
3648
|
+
"name": "coupons",
|
3649
|
+
"default": "`[]`",
|
3650
|
+
"description": "Coupon list",
|
3706
3651
|
"options": [],
|
3707
3652
|
"value": {
|
3708
|
-
"type": "
|
3653
|
+
"type": "Coupon[]",
|
3709
3654
|
"kind": "expression"
|
3710
3655
|
}
|
3711
3656
|
},
|
3712
3657
|
{
|
3713
|
-
"name": "
|
3658
|
+
"name": "editable",
|
3714
3659
|
"default": "`true`",
|
3715
|
-
"description": "
|
3660
|
+
"description": "Cell editable",
|
3716
3661
|
"options": [],
|
3717
3662
|
"value": {
|
3718
3663
|
"type": "boolean",
|
@@ -3720,9 +3665,9 @@
|
|
3720
3665
|
}
|
3721
3666
|
},
|
3722
3667
|
{
|
3723
|
-
"name": "
|
3724
|
-
"default": "`
|
3725
|
-
"description": "Whether to show
|
3668
|
+
"name": "border",
|
3669
|
+
"default": "`true`",
|
3670
|
+
"description": "Whether to show inner border",
|
3726
3671
|
"options": [],
|
3727
3672
|
"value": {
|
3728
3673
|
"type": "boolean",
|
@@ -3730,160 +3675,166 @@
|
|
3730
3675
|
}
|
3731
3676
|
},
|
3732
3677
|
{
|
3733
|
-
"name": "
|
3734
|
-
"default": "
|
3735
|
-
"description": "
|
3678
|
+
"name": "currency",
|
3679
|
+
"default": "`¥`",
|
3680
|
+
"description": "Currency symbol",
|
3736
3681
|
"options": [],
|
3737
3682
|
"value": {
|
3738
|
-
"type": "
|
3683
|
+
"type": "string",
|
3739
3684
|
"kind": "expression"
|
3740
3685
|
}
|
3686
|
+
}
|
3687
|
+
]
|
3688
|
+
},
|
3689
|
+
{
|
3690
|
+
"name": "coupon-list",
|
3691
|
+
"slots": [
|
3692
|
+
{
|
3693
|
+
"name": "list-footer",
|
3694
|
+
"description": "Coupon list bottom"
|
3741
3695
|
},
|
3742
3696
|
{
|
3743
|
-
"name": "
|
3744
|
-
"
|
3745
|
-
|
3746
|
-
|
3747
|
-
|
3748
|
-
|
3749
|
-
|
3750
|
-
|
3697
|
+
"name": "disabled-list-footer",
|
3698
|
+
"description": "Unavailable coupons list bottom"
|
3699
|
+
}
|
3700
|
+
],
|
3701
|
+
"events": [
|
3702
|
+
{
|
3703
|
+
"name": "change",
|
3704
|
+
"description": "Emitted when chosen coupon changed",
|
3705
|
+
"arguments": [
|
3706
|
+
{
|
3707
|
+
"name": "index",
|
3708
|
+
"type": "index of chosen coupon"
|
3709
|
+
}
|
3710
|
+
]
|
3751
3711
|
},
|
3752
3712
|
{
|
3753
|
-
"name": "
|
3713
|
+
"name": "exchange",
|
3714
|
+
"description": "Emitted when exchanging coupon",
|
3715
|
+
"arguments": [
|
3716
|
+
{
|
3717
|
+
"name": "code",
|
3718
|
+
"type": "exchange code"
|
3719
|
+
}
|
3720
|
+
]
|
3721
|
+
}
|
3722
|
+
],
|
3723
|
+
"attributes": [
|
3724
|
+
{
|
3725
|
+
"name": "v-model",
|
3754
3726
|
"default": "-",
|
3755
|
-
"description": "
|
3727
|
+
"description": "Current exchange code",
|
3756
3728
|
"options": [],
|
3757
3729
|
"value": {
|
3758
|
-
"type": "
|
3730
|
+
"type": "string",
|
3759
3731
|
"kind": "expression"
|
3760
3732
|
}
|
3761
3733
|
},
|
3762
3734
|
{
|
3763
|
-
"name": "
|
3764
|
-
"default": "
|
3765
|
-
"description": "
|
3735
|
+
"name": "chosen-coupon",
|
3736
|
+
"default": "`-1`",
|
3737
|
+
"description": "Index of chosen coupon",
|
3766
3738
|
"options": [],
|
3767
3739
|
"value": {
|
3768
|
-
"type": "
|
3740
|
+
"type": "number",
|
3769
3741
|
"kind": "expression"
|
3770
3742
|
}
|
3771
3743
|
},
|
3772
3744
|
{
|
3773
|
-
"name": "
|
3774
|
-
"default": "`
|
3775
|
-
"description": "
|
3745
|
+
"name": "coupons",
|
3746
|
+
"default": "`[]`",
|
3747
|
+
"description": "Coupon list",
|
3776
3748
|
"options": [],
|
3777
3749
|
"value": {
|
3778
|
-
"type": "
|
3750
|
+
"type": "Coupon[]",
|
3779
3751
|
"kind": "expression"
|
3780
3752
|
}
|
3781
3753
|
},
|
3782
3754
|
{
|
3783
|
-
"name": "
|
3784
|
-
"default": "`
|
3785
|
-
"description": "
|
3755
|
+
"name": "disabled-coupons",
|
3756
|
+
"default": "`[]`",
|
3757
|
+
"description": "Disabled coupon list",
|
3786
3758
|
"options": [],
|
3787
3759
|
"value": {
|
3788
|
-
"type": "
|
3760
|
+
"type": "Coupon[]",
|
3789
3761
|
"kind": "expression"
|
3790
3762
|
}
|
3791
3763
|
},
|
3792
3764
|
{
|
3793
|
-
"name": "
|
3794
|
-
"default": "`
|
3795
|
-
"description": "
|
3765
|
+
"name": "enabled-title",
|
3766
|
+
"default": "`Available`",
|
3767
|
+
"description": "Title of coupon list",
|
3796
3768
|
"options": [],
|
3797
3769
|
"value": {
|
3798
|
-
"type": "
|
3770
|
+
"type": "string",
|
3799
3771
|
"kind": "expression"
|
3800
3772
|
}
|
3801
|
-
}
|
3802
|
-
]
|
3803
|
-
},
|
3804
|
-
{
|
3805
|
-
"name": "van-date-picker",
|
3806
|
-
"slots": [],
|
3807
|
-
"events": [],
|
3808
|
-
"attributes": [
|
3773
|
+
},
|
3809
3774
|
{
|
3810
|
-
"name": "
|
3811
|
-
"default": "
|
3812
|
-
"description": "
|
3775
|
+
"name": "disabled-title",
|
3776
|
+
"default": "`Unavailable`",
|
3777
|
+
"description": "Title of disabled coupon list",
|
3813
3778
|
"options": [],
|
3814
3779
|
"value": {
|
3815
|
-
"type": "
|
3780
|
+
"type": "string",
|
3816
3781
|
"kind": "expression"
|
3817
3782
|
}
|
3818
3783
|
},
|
3819
3784
|
{
|
3820
|
-
"name": "
|
3821
|
-
"default": "
|
3822
|
-
"description": "
|
3785
|
+
"name": "exchange-button-text",
|
3786
|
+
"default": "`Exchange`",
|
3787
|
+
"description": "Exchange button text",
|
3823
3788
|
"options": [],
|
3824
3789
|
"value": {
|
3825
|
-
"type": "
|
3790
|
+
"type": "string",
|
3826
3791
|
"kind": "expression"
|
3827
3792
|
}
|
3828
|
-
}
|
3829
|
-
]
|
3830
|
-
},
|
3831
|
-
{
|
3832
|
-
"name": "van-time-picker",
|
3833
|
-
"slots": [],
|
3834
|
-
"events": [],
|
3835
|
-
"attributes": [
|
3793
|
+
},
|
3836
3794
|
{
|
3837
|
-
"name": "
|
3838
|
-
"default": "`
|
3839
|
-
"description": "
|
3795
|
+
"name": "exchange-button-loading",
|
3796
|
+
"default": "`false`",
|
3797
|
+
"description": "Whether to show loading in exchange button",
|
3840
3798
|
"options": [],
|
3841
3799
|
"value": {
|
3842
|
-
"type": "
|
3800
|
+
"type": "boolean",
|
3843
3801
|
"kind": "expression"
|
3844
3802
|
}
|
3845
3803
|
},
|
3846
3804
|
{
|
3847
|
-
"name": "
|
3848
|
-
"default": "`
|
3849
|
-
"description": "
|
3805
|
+
"name": "exchange-button-disabled",
|
3806
|
+
"default": "`false`",
|
3807
|
+
"description": "Whether to disable exchange button",
|
3850
3808
|
"options": [],
|
3851
3809
|
"value": {
|
3852
|
-
"type": "
|
3810
|
+
"type": "boolean",
|
3853
3811
|
"kind": "expression"
|
3854
3812
|
}
|
3855
3813
|
},
|
3856
3814
|
{
|
3857
|
-
"name": "min-
|
3858
|
-
"default": "`
|
3859
|
-
"description": "
|
3815
|
+
"name": "exchange-min-length",
|
3816
|
+
"default": "`1`",
|
3817
|
+
"description": "Min length to enable exchange button",
|
3860
3818
|
"options": [],
|
3861
3819
|
"value": {
|
3862
|
-
"type": "number
|
3820
|
+
"type": "number",
|
3863
3821
|
"kind": "expression"
|
3864
3822
|
}
|
3865
3823
|
},
|
3866
3824
|
{
|
3867
|
-
"name": "
|
3868
|
-
"default": "
|
3869
|
-
"description": "
|
3825
|
+
"name": "displayed-coupon-index",
|
3826
|
+
"default": "-",
|
3827
|
+
"description": "Index of displayed coupon",
|
3870
3828
|
"options": [],
|
3871
3829
|
"value": {
|
3872
|
-
"type": "number
|
3830
|
+
"type": "number",
|
3873
3831
|
"kind": "expression"
|
3874
3832
|
}
|
3875
|
-
}
|
3876
|
-
]
|
3877
|
-
},
|
3878
|
-
{
|
3879
|
-
"name": "van-coupon-cell",
|
3880
|
-
"slots": [],
|
3881
|
-
"events": [],
|
3882
|
-
"attributes": [
|
3833
|
+
},
|
3883
3834
|
{
|
3884
|
-
"name": "
|
3885
|
-
"default": "`
|
3886
|
-
"description": "
|
3835
|
+
"name": "close-button-text",
|
3836
|
+
"default": "`Close`",
|
3837
|
+
"description": "Close button text",
|
3887
3838
|
"options": [],
|
3888
3839
|
"value": {
|
3889
3840
|
"type": "string",
|
@@ -3891,96 +3842,111 @@
|
|
3891
3842
|
}
|
3892
3843
|
},
|
3893
3844
|
{
|
3894
|
-
"name": "
|
3895
|
-
"default": "
|
3896
|
-
"description": "
|
3845
|
+
"name": "input-placeholder",
|
3846
|
+
"default": "`Coupon code`",
|
3847
|
+
"description": "Input placeholder",
|
3897
3848
|
"options": [],
|
3898
3849
|
"value": {
|
3899
|
-
"type": "
|
3850
|
+
"type": "string",
|
3900
3851
|
"kind": "expression"
|
3901
3852
|
}
|
3902
3853
|
},
|
3903
3854
|
{
|
3904
|
-
"name": "
|
3905
|
-
"default": "
|
3906
|
-
"description": "
|
3855
|
+
"name": "currency",
|
3856
|
+
"default": "`¥`",
|
3857
|
+
"description": "Currency symbol",
|
3907
3858
|
"options": [],
|
3908
3859
|
"value": {
|
3909
|
-
"type": "
|
3860
|
+
"type": "string",
|
3910
3861
|
"kind": "expression"
|
3911
3862
|
}
|
3912
3863
|
},
|
3913
3864
|
{
|
3914
|
-
"name": "
|
3915
|
-
"default": "
|
3916
|
-
"description": "
|
3865
|
+
"name": "empty-image",
|
3866
|
+
"default": "-",
|
3867
|
+
"description": "Placeholder image when list is empty",
|
3917
3868
|
"options": [],
|
3918
3869
|
"value": {
|
3919
|
-
"type": "
|
3870
|
+
"type": "string",
|
3920
3871
|
"kind": "expression"
|
3921
3872
|
}
|
3922
3873
|
},
|
3923
3874
|
{
|
3924
|
-
"name": "
|
3875
|
+
"name": "show-count",
|
3925
3876
|
"default": "`true`",
|
3926
|
-
"description": "Whether to show
|
3877
|
+
"description": "Whether to show coupon count in tab title",
|
3927
3878
|
"options": [],
|
3928
3879
|
"value": {
|
3929
3880
|
"type": "boolean",
|
3930
3881
|
"kind": "expression"
|
3931
3882
|
}
|
3932
|
-
},
|
3933
|
-
{
|
3934
|
-
"name": "currency",
|
3935
|
-
"default": "`¥`",
|
3936
|
-
"description": "Currency symbol",
|
3937
|
-
"options": [],
|
3938
|
-
"value": {
|
3939
|
-
"type": "string",
|
3940
|
-
"kind": "expression"
|
3941
|
-
}
|
3942
3883
|
}
|
3943
3884
|
]
|
3944
3885
|
},
|
3945
3886
|
{
|
3946
|
-
"name": "
|
3887
|
+
"name": "datetime-picker",
|
3947
3888
|
"slots": [
|
3948
3889
|
{
|
3949
|
-
"name": "
|
3950
|
-
"description": "
|
3890
|
+
"name": "default",
|
3891
|
+
"description": "Custom toolbar content"
|
3951
3892
|
},
|
3952
3893
|
{
|
3953
|
-
"name": "
|
3954
|
-
"description": "
|
3894
|
+
"name": "title",
|
3895
|
+
"description": "Custom title"
|
3896
|
+
},
|
3897
|
+
{
|
3898
|
+
"name": "confirm",
|
3899
|
+
"description": "Custom confirm button text"
|
3900
|
+
},
|
3901
|
+
{
|
3902
|
+
"name": "cancel",
|
3903
|
+
"description": "Custom cancel button text"
|
3904
|
+
},
|
3905
|
+
{
|
3906
|
+
"name": "option",
|
3907
|
+
"description": "Custom option content"
|
3908
|
+
},
|
3909
|
+
{
|
3910
|
+
"name": "columns-top",
|
3911
|
+
"description": "Custom content above columns"
|
3912
|
+
},
|
3913
|
+
{
|
3914
|
+
"name": "columns-bottom",
|
3915
|
+
"description": "Custom content below columns"
|
3955
3916
|
}
|
3956
3917
|
],
|
3957
3918
|
"events": [
|
3958
3919
|
{
|
3959
3920
|
"name": "change",
|
3960
|
-
"description": "Emitted when
|
3921
|
+
"description": "Emitted when value changed",
|
3961
3922
|
"arguments": [
|
3962
3923
|
{
|
3963
|
-
"name": "
|
3964
|
-
"type": "
|
3924
|
+
"name": "value",
|
3925
|
+
"type": "current value"
|
3965
3926
|
}
|
3966
3927
|
]
|
3967
3928
|
},
|
3968
3929
|
{
|
3969
|
-
"name": "
|
3970
|
-
"description": "Emitted when
|
3930
|
+
"name": "confirm",
|
3931
|
+
"description": "Emitted when the confirm button is clicked",
|
3971
3932
|
"arguments": [
|
3972
3933
|
{
|
3973
|
-
"name": "
|
3974
|
-
"type": "
|
3934
|
+
"name": "value",
|
3935
|
+
"type": "current value"
|
3975
3936
|
}
|
3976
3937
|
]
|
3938
|
+
},
|
3939
|
+
{
|
3940
|
+
"name": "cancel",
|
3941
|
+
"description": "Emitted when the cancel button is clicked",
|
3942
|
+
"arguments": []
|
3977
3943
|
}
|
3978
3944
|
],
|
3979
3945
|
"attributes": [
|
3980
3946
|
{
|
3981
|
-
"name": "
|
3982
|
-
"default": "
|
3983
|
-
"description": "
|
3947
|
+
"name": "type",
|
3948
|
+
"default": "`datetime`",
|
3949
|
+
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
|
3984
3950
|
"options": [],
|
3985
3951
|
"value": {
|
3986
3952
|
"type": "string",
|
@@ -3988,159 +3954,203 @@
|
|
3988
3954
|
}
|
3989
3955
|
},
|
3990
3956
|
{
|
3991
|
-
"name": "
|
3992
|
-
"default": "
|
3993
|
-
"description": "
|
3957
|
+
"name": "title",
|
3958
|
+
"default": "`''`",
|
3959
|
+
"description": "Toolbar title",
|
3994
3960
|
"options": [],
|
3995
3961
|
"value": {
|
3996
|
-
"type": "
|
3962
|
+
"type": "string",
|
3997
3963
|
"kind": "expression"
|
3998
3964
|
}
|
3999
3965
|
},
|
4000
3966
|
{
|
4001
|
-
"name": "
|
4002
|
-
"default": "`
|
4003
|
-
"description": "
|
3967
|
+
"name": "confirm-button-text",
|
3968
|
+
"default": "`Confirm`",
|
3969
|
+
"description": "Text of confirm button",
|
4004
3970
|
"options": [],
|
4005
3971
|
"value": {
|
4006
|
-
"type": "
|
3972
|
+
"type": "string",
|
4007
3973
|
"kind": "expression"
|
4008
3974
|
}
|
4009
3975
|
},
|
4010
3976
|
{
|
4011
|
-
"name": "
|
4012
|
-
"default": "`
|
4013
|
-
"description": "
|
3977
|
+
"name": "cancel-button-text",
|
3978
|
+
"default": "`Cancel`",
|
3979
|
+
"description": "Text of cancel button",
|
4014
3980
|
"options": [],
|
4015
3981
|
"value": {
|
4016
|
-
"type": "
|
3982
|
+
"type": "string",
|
4017
3983
|
"kind": "expression"
|
4018
3984
|
}
|
4019
3985
|
},
|
4020
3986
|
{
|
4021
|
-
"name": "
|
4022
|
-
"default": "`
|
4023
|
-
"description": "
|
3987
|
+
"name": "show-toolbar",
|
3988
|
+
"default": "`true`",
|
3989
|
+
"description": "Whether to show toolbar",
|
4024
3990
|
"options": [],
|
4025
3991
|
"value": {
|
4026
|
-
"type": "
|
3992
|
+
"type": "boolean",
|
4027
3993
|
"kind": "expression"
|
4028
3994
|
}
|
4029
3995
|
},
|
4030
3996
|
{
|
4031
|
-
"name": "
|
4032
|
-
"default": "`
|
4033
|
-
"description": "
|
3997
|
+
"name": "loading",
|
3998
|
+
"default": "`false`",
|
3999
|
+
"description": "Whether to show loading prompt",
|
4034
4000
|
"options": [],
|
4035
4001
|
"value": {
|
4036
|
-
"type": "
|
4002
|
+
"type": "boolean",
|
4037
4003
|
"kind": "expression"
|
4038
4004
|
}
|
4039
4005
|
},
|
4040
4006
|
{
|
4041
|
-
"name": "
|
4042
|
-
"default": "`
|
4043
|
-
"description": "
|
4007
|
+
"name": "readonly",
|
4008
|
+
"default": "`false`",
|
4009
|
+
"description": "Whether to be readonly",
|
4010
|
+
"options": [],
|
4011
|
+
"value": {
|
4012
|
+
"type": "boolean",
|
4013
|
+
"kind": "expression"
|
4014
|
+
}
|
4015
|
+
},
|
4016
|
+
{
|
4017
|
+
"name": "filter",
|
4018
|
+
"default": "-",
|
4019
|
+
"description": "Option filter",
|
4020
|
+
"options": [],
|
4021
|
+
"value": {
|
4022
|
+
"type": "(type: string, values: string[]) => string[]",
|
4023
|
+
"kind": "expression"
|
4024
|
+
}
|
4025
|
+
},
|
4026
|
+
{
|
4027
|
+
"name": "formatter",
|
4028
|
+
"default": "-",
|
4029
|
+
"description": "Option text formatter",
|
4030
|
+
"options": [],
|
4031
|
+
"value": {
|
4032
|
+
"type": "(type: string, value: string) => string",
|
4033
|
+
"kind": "expression"
|
4034
|
+
}
|
4035
|
+
},
|
4036
|
+
{
|
4037
|
+
"name": "columns-order",
|
4038
|
+
"default": "-",
|
4039
|
+
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
|
4044
4040
|
"options": [],
|
4045
4041
|
"value": {
|
4046
|
-
"type": "string",
|
4042
|
+
"type": "string[]",
|
4047
4043
|
"kind": "expression"
|
4048
4044
|
}
|
4049
4045
|
},
|
4050
4046
|
{
|
4051
|
-
"name": "
|
4052
|
-
"default": "`
|
4053
|
-
"description": "
|
4047
|
+
"name": "item-height",
|
4048
|
+
"default": "`44`",
|
4049
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
4054
4050
|
"options": [],
|
4055
4051
|
"value": {
|
4056
|
-
"type": "
|
4052
|
+
"type": "number | string",
|
4057
4053
|
"kind": "expression"
|
4058
4054
|
}
|
4059
4055
|
},
|
4060
4056
|
{
|
4061
|
-
"name": "
|
4062
|
-
"default": "`
|
4063
|
-
"description": "
|
4057
|
+
"name": "visible-item-count",
|
4058
|
+
"default": "`6`",
|
4059
|
+
"description": "Count of visible columns",
|
4064
4060
|
"options": [],
|
4065
4061
|
"value": {
|
4066
|
-
"type": "
|
4062
|
+
"type": "number | string",
|
4067
4063
|
"kind": "expression"
|
4068
4064
|
}
|
4069
4065
|
},
|
4070
4066
|
{
|
4071
|
-
"name": "
|
4072
|
-
"default": "`
|
4073
|
-
"description": "
|
4067
|
+
"name": "swipe-duration",
|
4068
|
+
"default": "`1000`",
|
4069
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
4074
4070
|
"options": [],
|
4075
4071
|
"value": {
|
4076
|
-
"type": "number",
|
4072
|
+
"type": "number | string",
|
4077
4073
|
"kind": "expression"
|
4078
4074
|
}
|
4079
|
-
}
|
4075
|
+
}
|
4076
|
+
]
|
4077
|
+
},
|
4078
|
+
{
|
4079
|
+
"name": "date-picker",
|
4080
|
+
"slots": [],
|
4081
|
+
"events": [],
|
4082
|
+
"attributes": [
|
4080
4083
|
{
|
4081
|
-
"name": "
|
4082
|
-
"default": "
|
4083
|
-
"description": "
|
4084
|
+
"name": "min-date",
|
4085
|
+
"default": "Ten years ago on January 1",
|
4086
|
+
"description": "Min date",
|
4084
4087
|
"options": [],
|
4085
4088
|
"value": {
|
4086
|
-
"type": "
|
4089
|
+
"type": "Date",
|
4087
4090
|
"kind": "expression"
|
4088
4091
|
}
|
4089
4092
|
},
|
4090
4093
|
{
|
4091
|
-
"name": "
|
4092
|
-
"default": "
|
4093
|
-
"description": "
|
4094
|
+
"name": "max-date",
|
4095
|
+
"default": "Ten years later on December 31",
|
4096
|
+
"description": "Max date",
|
4094
4097
|
"options": [],
|
4095
4098
|
"value": {
|
4096
|
-
"type": "
|
4099
|
+
"type": "Date",
|
4097
4100
|
"kind": "expression"
|
4098
4101
|
}
|
4099
|
-
}
|
4102
|
+
}
|
4103
|
+
]
|
4104
|
+
},
|
4105
|
+
{
|
4106
|
+
"name": "time-picker",
|
4107
|
+
"slots": [],
|
4108
|
+
"events": [],
|
4109
|
+
"attributes": [
|
4100
4110
|
{
|
4101
|
-
"name": "
|
4102
|
-
"default": "`
|
4103
|
-
"description": "
|
4111
|
+
"name": "min-hour",
|
4112
|
+
"default": "`0`",
|
4113
|
+
"description": "Min hour for `time` type",
|
4104
4114
|
"options": [],
|
4105
4115
|
"value": {
|
4106
|
-
"type": "string",
|
4116
|
+
"type": "number | string",
|
4107
4117
|
"kind": "expression"
|
4108
4118
|
}
|
4109
4119
|
},
|
4110
4120
|
{
|
4111
|
-
"name": "
|
4112
|
-
"default": "
|
4113
|
-
"description": "
|
4121
|
+
"name": "max-hour",
|
4122
|
+
"default": "`23`",
|
4123
|
+
"description": "Max hour for `time` type",
|
4114
4124
|
"options": [],
|
4115
4125
|
"value": {
|
4116
|
-
"type": "string",
|
4126
|
+
"type": "number | string",
|
4117
4127
|
"kind": "expression"
|
4118
4128
|
}
|
4119
4129
|
},
|
4120
4130
|
{
|
4121
|
-
"name": "
|
4122
|
-
"default": "
|
4123
|
-
"description": "
|
4131
|
+
"name": "min-minute",
|
4132
|
+
"default": "`0`",
|
4133
|
+
"description": "Max minute for `time` type",
|
4124
4134
|
"options": [],
|
4125
4135
|
"value": {
|
4126
|
-
"type": "string",
|
4136
|
+
"type": "number | string",
|
4127
4137
|
"kind": "expression"
|
4128
4138
|
}
|
4129
4139
|
},
|
4130
4140
|
{
|
4131
|
-
"name": "
|
4132
|
-
"default": "`
|
4133
|
-
"description": "
|
4141
|
+
"name": "max-minute",
|
4142
|
+
"default": "`59`",
|
4143
|
+
"description": "Max minute for `time` type",
|
4134
4144
|
"options": [],
|
4135
4145
|
"value": {
|
4136
|
-
"type": "
|
4146
|
+
"type": "number | string",
|
4137
4147
|
"kind": "expression"
|
4138
4148
|
}
|
4139
4149
|
}
|
4140
4150
|
]
|
4141
4151
|
},
|
4142
4152
|
{
|
4143
|
-
"name": "
|
4153
|
+
"name": "dialog",
|
4144
4154
|
"slots": [
|
4145
4155
|
{
|
4146
4156
|
"name": "default",
|
@@ -4441,7 +4451,7 @@
|
|
4441
4451
|
]
|
4442
4452
|
},
|
4443
4453
|
{
|
4444
|
-
"name": "
|
4454
|
+
"name": "divider",
|
4445
4455
|
"slots": [
|
4446
4456
|
{
|
4447
4457
|
"name": "default",
|
@@ -4483,7 +4493,7 @@
|
|
4483
4493
|
]
|
4484
4494
|
},
|
4485
4495
|
{
|
4486
|
-
"name": "
|
4496
|
+
"name": "dropdown-menu",
|
4487
4497
|
"slots": [],
|
4488
4498
|
"events": [],
|
4489
4499
|
"attributes": [
|
@@ -4560,7 +4570,7 @@
|
|
4560
4570
|
]
|
4561
4571
|
},
|
4562
4572
|
{
|
4563
|
-
"name": "
|
4573
|
+
"name": "dropdown-item",
|
4564
4574
|
"slots": [
|
4565
4575
|
{
|
4566
4576
|
"name": "default",
|
@@ -4605,19 +4615,192 @@
|
|
4605
4615
|
],
|
4606
4616
|
"attributes": [
|
4607
4617
|
{
|
4608
|
-
"name": "v-model",
|
4609
|
-
"default": "-",
|
4610
|
-
"description": "Value of current option",
|
4618
|
+
"name": "v-model",
|
4619
|
+
"default": "-",
|
4620
|
+
"description": "Value of current option",
|
4621
|
+
"options": [],
|
4622
|
+
"value": {
|
4623
|
+
"type": "number | string",
|
4624
|
+
"kind": "expression"
|
4625
|
+
}
|
4626
|
+
},
|
4627
|
+
{
|
4628
|
+
"name": "title",
|
4629
|
+
"default": "Text of selected option",
|
4630
|
+
"description": "Item title",
|
4631
|
+
"options": [],
|
4632
|
+
"value": {
|
4633
|
+
"type": "string",
|
4634
|
+
"kind": "expression"
|
4635
|
+
}
|
4636
|
+
},
|
4637
|
+
{
|
4638
|
+
"name": "options",
|
4639
|
+
"default": "`[]`",
|
4640
|
+
"description": "Options",
|
4641
|
+
"options": [],
|
4642
|
+
"value": {
|
4643
|
+
"type": "Option[]",
|
4644
|
+
"kind": "expression"
|
4645
|
+
}
|
4646
|
+
},
|
4647
|
+
{
|
4648
|
+
"name": "disabled",
|
4649
|
+
"default": "`false`",
|
4650
|
+
"description": "Whether to disable dropdown item",
|
4651
|
+
"options": [],
|
4652
|
+
"value": {
|
4653
|
+
"type": "boolean",
|
4654
|
+
"kind": "expression"
|
4655
|
+
}
|
4656
|
+
},
|
4657
|
+
{
|
4658
|
+
"name": "lazy-render",
|
4659
|
+
"default": "`true`",
|
4660
|
+
"description": "Whether to lazy render util opened",
|
4661
|
+
"options": [],
|
4662
|
+
"value": {
|
4663
|
+
"type": "boolean",
|
4664
|
+
"kind": "expression"
|
4665
|
+
}
|
4666
|
+
},
|
4667
|
+
{
|
4668
|
+
"name": "title-class",
|
4669
|
+
"default": "-",
|
4670
|
+
"description": "Title class",
|
4671
|
+
"options": [],
|
4672
|
+
"value": {
|
4673
|
+
"type": "string | Array | object",
|
4674
|
+
"kind": "expression"
|
4675
|
+
}
|
4676
|
+
},
|
4677
|
+
{
|
4678
|
+
"name": "teleport",
|
4679
|
+
"default": "-",
|
4680
|
+
"description": "Specifies a target element where DropdownItem will be mounted",
|
4681
|
+
"options": [],
|
4682
|
+
"value": {
|
4683
|
+
"type": "string | Element",
|
4684
|
+
"kind": "expression"
|
4685
|
+
}
|
4686
|
+
}
|
4687
|
+
]
|
4688
|
+
},
|
4689
|
+
{
|
4690
|
+
"name": "empty",
|
4691
|
+
"slots": [
|
4692
|
+
{
|
4693
|
+
"name": "default",
|
4694
|
+
"description": "Custom bottom content"
|
4695
|
+
},
|
4696
|
+
{
|
4697
|
+
"name": "image",
|
4698
|
+
"description": "Custom image"
|
4699
|
+
},
|
4700
|
+
{
|
4701
|
+
"name": "description",
|
4702
|
+
"description": "Custom description"
|
4703
|
+
}
|
4704
|
+
],
|
4705
|
+
"events": [],
|
4706
|
+
"attributes": [
|
4707
|
+
{
|
4708
|
+
"name": "image",
|
4709
|
+
"default": "`default`",
|
4710
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4711
|
+
"options": [],
|
4712
|
+
"value": {
|
4713
|
+
"type": "string",
|
4714
|
+
"kind": "expression"
|
4715
|
+
}
|
4716
|
+
},
|
4717
|
+
{
|
4718
|
+
"name": "image-size",
|
4719
|
+
"default": "-",
|
4720
|
+
"description": "Image size",
|
4721
|
+
"options": [],
|
4722
|
+
"value": {
|
4723
|
+
"type": "number | string | Array",
|
4724
|
+
"kind": "expression"
|
4725
|
+
}
|
4726
|
+
},
|
4727
|
+
{
|
4728
|
+
"name": "description",
|
4729
|
+
"default": "-",
|
4730
|
+
"description": "Description",
|
4731
|
+
"options": [],
|
4732
|
+
"value": {
|
4733
|
+
"type": "string",
|
4734
|
+
"kind": "expression"
|
4735
|
+
}
|
4736
|
+
}
|
4737
|
+
]
|
4738
|
+
},
|
4739
|
+
{
|
4740
|
+
"name": "form",
|
4741
|
+
"slots": [
|
4742
|
+
{
|
4743
|
+
"name": "default",
|
4744
|
+
"description": "Form content"
|
4745
|
+
}
|
4746
|
+
],
|
4747
|
+
"events": [
|
4748
|
+
{
|
4749
|
+
"name": "submit",
|
4750
|
+
"description": "Emitted after submitting the form and validation passed",
|
4751
|
+
"arguments": [
|
4752
|
+
{
|
4753
|
+
"name": "values",
|
4754
|
+
"type": "object"
|
4755
|
+
}
|
4756
|
+
]
|
4757
|
+
},
|
4758
|
+
{
|
4759
|
+
"name": "failed",
|
4760
|
+
"description": "Emitted after submitting the form and validation failed",
|
4761
|
+
"arguments": [
|
4762
|
+
{
|
4763
|
+
"name": "errorInfo",
|
4764
|
+
"type": "{ values: object, errors: object[] }"
|
4765
|
+
}
|
4766
|
+
]
|
4767
|
+
}
|
4768
|
+
],
|
4769
|
+
"attributes": [
|
4770
|
+
{
|
4771
|
+
"name": "label-width",
|
4772
|
+
"default": "`6.2em`",
|
4773
|
+
"description": "Field label width",
|
4774
|
+
"options": [],
|
4775
|
+
"value": {
|
4776
|
+
"type": "number | string",
|
4777
|
+
"kind": "expression"
|
4778
|
+
}
|
4779
|
+
},
|
4780
|
+
{
|
4781
|
+
"name": "label-align",
|
4782
|
+
"default": "`left`",
|
4783
|
+
"description": "Field label align, can be set to `center` `right`",
|
4784
|
+
"options": [],
|
4785
|
+
"value": {
|
4786
|
+
"type": "string",
|
4787
|
+
"kind": "expression"
|
4788
|
+
}
|
4789
|
+
},
|
4790
|
+
{
|
4791
|
+
"name": "input-align",
|
4792
|
+
"default": "`left`",
|
4793
|
+
"description": "Field input align, can be set to `center` `right`",
|
4611
4794
|
"options": [],
|
4612
4795
|
"value": {
|
4613
|
-
"type": "
|
4796
|
+
"type": "string",
|
4614
4797
|
"kind": "expression"
|
4615
4798
|
}
|
4616
4799
|
},
|
4617
4800
|
{
|
4618
|
-
"name": "
|
4619
|
-
"default": "
|
4620
|
-
"description": "
|
4801
|
+
"name": "error-message-align",
|
4802
|
+
"default": "`left`",
|
4803
|
+
"description": "Error message align, can be set to `center` `right`",
|
4621
4804
|
"options": [],
|
4622
4805
|
"value": {
|
4623
4806
|
"type": "string",
|
@@ -4625,19 +4808,19 @@
|
|
4625
4808
|
}
|
4626
4809
|
},
|
4627
4810
|
{
|
4628
|
-
"name": "
|
4629
|
-
"default": "`
|
4630
|
-
"description": "
|
4811
|
+
"name": "validate-trigger",
|
4812
|
+
"default": "`onBlur`",
|
4813
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
|
4631
4814
|
"options": [],
|
4632
4815
|
"value": {
|
4633
|
-
"type": "
|
4816
|
+
"type": "string | string[]",
|
4634
4817
|
"kind": "expression"
|
4635
4818
|
}
|
4636
4819
|
},
|
4637
4820
|
{
|
4638
|
-
"name": "
|
4821
|
+
"name": "colon",
|
4639
4822
|
"default": "`false`",
|
4640
|
-
"description": "Whether to
|
4823
|
+
"description": "Whether to display colon after label",
|
4641
4824
|
"options": [],
|
4642
4825
|
"value": {
|
4643
4826
|
"type": "boolean",
|
@@ -4645,9 +4828,9 @@
|
|
4645
4828
|
}
|
4646
4829
|
},
|
4647
4830
|
{
|
4648
|
-
"name": "
|
4649
|
-
"default": "`
|
4650
|
-
"description": "Whether to
|
4831
|
+
"name": "disabled",
|
4832
|
+
"default": "`false`",
|
4833
|
+
"description": "Whether to disable form",
|
4651
4834
|
"options": [],
|
4652
4835
|
"value": {
|
4653
4836
|
"type": "boolean",
|
@@ -4655,79 +4838,69 @@
|
|
4655
4838
|
}
|
4656
4839
|
},
|
4657
4840
|
{
|
4658
|
-
"name": "
|
4659
|
-
"default": "
|
4660
|
-
"description": "
|
4841
|
+
"name": "readonly",
|
4842
|
+
"default": "`false`",
|
4843
|
+
"description": "Whether to be readonly",
|
4661
4844
|
"options": [],
|
4662
4845
|
"value": {
|
4663
|
-
"type": "
|
4846
|
+
"type": "boolean",
|
4664
4847
|
"kind": "expression"
|
4665
4848
|
}
|
4666
4849
|
},
|
4667
4850
|
{
|
4668
|
-
"name": "
|
4669
|
-
"default": "
|
4670
|
-
"description": "
|
4851
|
+
"name": "validate-first",
|
4852
|
+
"default": "`false`",
|
4853
|
+
"description": "Whether to stop the validation when a rule fails",
|
4671
4854
|
"options": [],
|
4672
4855
|
"value": {
|
4673
|
-
"type": "
|
4856
|
+
"type": "boolean",
|
4674
4857
|
"kind": "expression"
|
4675
4858
|
}
|
4676
|
-
}
|
4677
|
-
]
|
4678
|
-
},
|
4679
|
-
{
|
4680
|
-
"name": "van-empty",
|
4681
|
-
"slots": [
|
4682
|
-
{
|
4683
|
-
"name": "default",
|
4684
|
-
"description": "Custom bottom content"
|
4685
4859
|
},
|
4686
4860
|
{
|
4687
|
-
"name": "
|
4688
|
-
"
|
4861
|
+
"name": "scroll-to-error",
|
4862
|
+
"default": "`false`",
|
4863
|
+
"description": "Whether to scroll to the error field when validation failed",
|
4864
|
+
"options": [],
|
4865
|
+
"value": {
|
4866
|
+
"type": "boolean",
|
4867
|
+
"kind": "expression"
|
4868
|
+
}
|
4689
4869
|
},
|
4690
4870
|
{
|
4691
|
-
"name": "
|
4692
|
-
"
|
4693
|
-
|
4694
|
-
],
|
4695
|
-
"events": [],
|
4696
|
-
"attributes": [
|
4697
|
-
{
|
4698
|
-
"name": "image",
|
4699
|
-
"default": "`default`",
|
4700
|
-
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4871
|
+
"name": "show-error",
|
4872
|
+
"default": "`false`",
|
4873
|
+
"description": "Whether to highlight input when validation failed",
|
4701
4874
|
"options": [],
|
4702
4875
|
"value": {
|
4703
|
-
"type": "
|
4876
|
+
"type": "boolean",
|
4704
4877
|
"kind": "expression"
|
4705
4878
|
}
|
4706
4879
|
},
|
4707
4880
|
{
|
4708
|
-
"name": "
|
4709
|
-
"default": "
|
4710
|
-
"description": "
|
4881
|
+
"name": "show-error-message",
|
4882
|
+
"default": "`true`",
|
4883
|
+
"description": "Whether to show error message when validation failed",
|
4711
4884
|
"options": [],
|
4712
4885
|
"value": {
|
4713
|
-
"type": "
|
4886
|
+
"type": "boolean",
|
4714
4887
|
"kind": "expression"
|
4715
4888
|
}
|
4716
4889
|
},
|
4717
4890
|
{
|
4718
|
-
"name": "
|
4719
|
-
"default": "
|
4720
|
-
"description": "
|
4891
|
+
"name": "submit-on-enter",
|
4892
|
+
"default": "`true`",
|
4893
|
+
"description": "Whether to submit form on enter",
|
4721
4894
|
"options": [],
|
4722
4895
|
"value": {
|
4723
|
-
"type": "
|
4896
|
+
"type": "boolean",
|
4724
4897
|
"kind": "expression"
|
4725
4898
|
}
|
4726
4899
|
}
|
4727
4900
|
]
|
4728
4901
|
},
|
4729
4902
|
{
|
4730
|
-
"name": "
|
4903
|
+
"name": "field",
|
4731
4904
|
"slots": [
|
4732
4905
|
{
|
4733
4906
|
"name": "label",
|
@@ -4838,6 +5011,20 @@
|
|
4838
5011
|
"type": "MouseEvent"
|
4839
5012
|
}
|
4840
5013
|
]
|
5014
|
+
},
|
5015
|
+
{
|
5016
|
+
"name": "start-validate",
|
5017
|
+
"description": "Emitted when start validation",
|
5018
|
+
"arguments": []
|
5019
|
+
},
|
5020
|
+
{
|
5021
|
+
"name": "end-validate",
|
5022
|
+
"description": "Emitted when end validation",
|
5023
|
+
"arguments": [
|
5024
|
+
{
|
5025
|
+
"name": "{ status: string }"
|
5026
|
+
}
|
5027
|
+
]
|
4841
5028
|
}
|
4842
5029
|
],
|
4843
5030
|
"attributes": [
|
@@ -5224,7 +5411,7 @@
|
|
5224
5411
|
]
|
5225
5412
|
},
|
5226
5413
|
{
|
5227
|
-
"name": "
|
5414
|
+
"name": "grid",
|
5228
5415
|
"slots": [],
|
5229
5416
|
"events": [],
|
5230
5417
|
"attributes": [
|
@@ -5321,7 +5508,7 @@
|
|
5321
5508
|
]
|
5322
5509
|
},
|
5323
5510
|
{
|
5324
|
-
"name": "
|
5511
|
+
"name": "grid-item",
|
5325
5512
|
"slots": [
|
5326
5513
|
{
|
5327
5514
|
"name": "default",
|
@@ -5350,152 +5537,9 @@
|
|
5350
5537
|
],
|
5351
5538
|
"attributes": [
|
5352
5539
|
{
|
5353
|
-
"name": "text",
|
5354
|
-
"default": "-",
|
5355
|
-
"description": "Text",
|
5356
|
-
"options": [],
|
5357
|
-
"value": {
|
5358
|
-
"type": "string",
|
5359
|
-
"kind": "expression"
|
5360
|
-
}
|
5361
|
-
},
|
5362
|
-
{
|
5363
|
-
"name": "icon",
|
5364
|
-
"default": "-",
|
5365
|
-
"description": "Icon name or URL",
|
5366
|
-
"options": [],
|
5367
|
-
"value": {
|
5368
|
-
"type": "string",
|
5369
|
-
"kind": "expression"
|
5370
|
-
}
|
5371
|
-
},
|
5372
|
-
{
|
5373
|
-
"name": "icon-prefix",
|
5374
|
-
"default": "`van-icon`",
|
5375
|
-
"description": "Icon className prefix",
|
5376
|
-
"options": [],
|
5377
|
-
"value": {
|
5378
|
-
"type": "string",
|
5379
|
-
"kind": "expression"
|
5380
|
-
}
|
5381
|
-
},
|
5382
|
-
{
|
5383
|
-
"name": "icon-color",
|
5384
|
-
"default": "-",
|
5385
|
-
"description": "Icon color",
|
5386
|
-
"options": [],
|
5387
|
-
"value": {
|
5388
|
-
"type": "string",
|
5389
|
-
"kind": "expression"
|
5390
|
-
}
|
5391
|
-
},
|
5392
|
-
{
|
5393
|
-
"name": "dot",
|
5394
|
-
"default": "`false`",
|
5395
|
-
"description": "Whether to show red dot",
|
5396
|
-
"options": [],
|
5397
|
-
"value": {
|
5398
|
-
"type": "boolean",
|
5399
|
-
"kind": "expression"
|
5400
|
-
}
|
5401
|
-
},
|
5402
|
-
{
|
5403
|
-
"name": "badge",
|
5404
|
-
"default": "-",
|
5405
|
-
"description": "Content of the badge",
|
5406
|
-
"options": [],
|
5407
|
-
"value": {
|
5408
|
-
"type": "number | string",
|
5409
|
-
"kind": "expression"
|
5410
|
-
}
|
5411
|
-
},
|
5412
|
-
{
|
5413
|
-
"name": "badge-props",
|
5414
|
-
"default": "-",
|
5415
|
-
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
5416
|
-
"options": [],
|
5417
|
-
"value": {
|
5418
|
-
"type": "BadgeProps",
|
5419
|
-
"kind": "expression"
|
5420
|
-
}
|
5421
|
-
},
|
5422
|
-
{
|
5423
|
-
"name": "url",
|
5424
|
-
"default": "-",
|
5425
|
-
"description": "Link URL",
|
5426
|
-
"options": [],
|
5427
|
-
"value": {
|
5428
|
-
"type": "string",
|
5429
|
-
"kind": "expression"
|
5430
|
-
}
|
5431
|
-
},
|
5432
|
-
{
|
5433
|
-
"name": "to",
|
5434
|
-
"default": "-",
|
5435
|
-
"description": "Target route of the link, same as to of vue-router",
|
5436
|
-
"options": [],
|
5437
|
-
"value": {
|
5438
|
-
"type": "string | object",
|
5439
|
-
"kind": "expression"
|
5440
|
-
}
|
5441
|
-
},
|
5442
|
-
{
|
5443
|
-
"name": "replace",
|
5444
|
-
"default": "`false`",
|
5445
|
-
"description": "If true, the navigation will not leave a history record",
|
5446
|
-
"options": [],
|
5447
|
-
"value": {
|
5448
|
-
"type": "boolean",
|
5449
|
-
"kind": "expression"
|
5450
|
-
}
|
5451
|
-
}
|
5452
|
-
]
|
5453
|
-
},
|
5454
|
-
{
|
5455
|
-
"name": "van-form",
|
5456
|
-
"slots": [
|
5457
|
-
{
|
5458
|
-
"name": "default",
|
5459
|
-
"description": "Form content"
|
5460
|
-
}
|
5461
|
-
],
|
5462
|
-
"events": [
|
5463
|
-
{
|
5464
|
-
"name": "submit",
|
5465
|
-
"description": "Emitted after submitting the form and validation passed",
|
5466
|
-
"arguments": [
|
5467
|
-
{
|
5468
|
-
"name": "values",
|
5469
|
-
"type": "object"
|
5470
|
-
}
|
5471
|
-
]
|
5472
|
-
},
|
5473
|
-
{
|
5474
|
-
"name": "failed",
|
5475
|
-
"description": "Emitted after submitting the form and validation failed",
|
5476
|
-
"arguments": [
|
5477
|
-
{
|
5478
|
-
"name": "errorInfo",
|
5479
|
-
"type": "{ values: object, errors: object[] }"
|
5480
|
-
}
|
5481
|
-
]
|
5482
|
-
}
|
5483
|
-
],
|
5484
|
-
"attributes": [
|
5485
|
-
{
|
5486
|
-
"name": "label-width",
|
5487
|
-
"default": "`6.2em`",
|
5488
|
-
"description": "Field label width",
|
5489
|
-
"options": [],
|
5490
|
-
"value": {
|
5491
|
-
"type": "number | string",
|
5492
|
-
"kind": "expression"
|
5493
|
-
}
|
5494
|
-
},
|
5495
|
-
{
|
5496
|
-
"name": "label-align",
|
5497
|
-
"default": "`left`",
|
5498
|
-
"description": "Field label align, can be set to `center` `right`",
|
5540
|
+
"name": "text",
|
5541
|
+
"default": "-",
|
5542
|
+
"description": "Text",
|
5499
5543
|
"options": [],
|
5500
5544
|
"value": {
|
5501
5545
|
"type": "string",
|
@@ -5503,9 +5547,9 @@
|
|
5503
5547
|
}
|
5504
5548
|
},
|
5505
5549
|
{
|
5506
|
-
"name": "
|
5507
|
-
"default": "
|
5508
|
-
"description": "
|
5550
|
+
"name": "icon",
|
5551
|
+
"default": "-",
|
5552
|
+
"description": "Icon name or URL",
|
5509
5553
|
"options": [],
|
5510
5554
|
"value": {
|
5511
5555
|
"type": "string",
|
@@ -5513,9 +5557,9 @@
|
|
5513
5557
|
}
|
5514
5558
|
},
|
5515
5559
|
{
|
5516
|
-
"name": "
|
5517
|
-
"default": "`
|
5518
|
-
"description": "
|
5560
|
+
"name": "icon-prefix",
|
5561
|
+
"default": "`van-icon`",
|
5562
|
+
"description": "Icon className prefix",
|
5519
5563
|
"options": [],
|
5520
5564
|
"value": {
|
5521
5565
|
"type": "string",
|
@@ -5523,19 +5567,19 @@
|
|
5523
5567
|
}
|
5524
5568
|
},
|
5525
5569
|
{
|
5526
|
-
"name": "
|
5527
|
-
"default": "
|
5528
|
-
"description": "
|
5570
|
+
"name": "icon-color",
|
5571
|
+
"default": "-",
|
5572
|
+
"description": "Icon color",
|
5529
5573
|
"options": [],
|
5530
5574
|
"value": {
|
5531
|
-
"type": "string
|
5575
|
+
"type": "string",
|
5532
5576
|
"kind": "expression"
|
5533
5577
|
}
|
5534
5578
|
},
|
5535
5579
|
{
|
5536
|
-
"name": "
|
5580
|
+
"name": "dot",
|
5537
5581
|
"default": "`false`",
|
5538
|
-
"description": "Whether to
|
5582
|
+
"description": "Whether to show red dot",
|
5539
5583
|
"options": [],
|
5540
5584
|
"value": {
|
5541
5585
|
"type": "boolean",
|
@@ -5543,69 +5587,49 @@
|
|
5543
5587
|
}
|
5544
5588
|
},
|
5545
5589
|
{
|
5546
|
-
"name": "
|
5547
|
-
"default": "
|
5548
|
-
"description": "
|
5590
|
+
"name": "badge",
|
5591
|
+
"default": "-",
|
5592
|
+
"description": "Content of the badge",
|
5549
5593
|
"options": [],
|
5550
5594
|
"value": {
|
5551
|
-
"type": "
|
5595
|
+
"type": "number | string",
|
5552
5596
|
"kind": "expression"
|
5553
5597
|
}
|
5554
5598
|
},
|
5555
5599
|
{
|
5556
|
-
"name": "
|
5557
|
-
"default": "
|
5558
|
-
"description": "
|
5600
|
+
"name": "badge-props",
|
5601
|
+
"default": "-",
|
5602
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
5559
5603
|
"options": [],
|
5560
5604
|
"value": {
|
5561
|
-
"type": "
|
5605
|
+
"type": "BadgeProps",
|
5562
5606
|
"kind": "expression"
|
5563
5607
|
}
|
5564
5608
|
},
|
5565
5609
|
{
|
5566
|
-
"name": "
|
5567
|
-
"default": "
|
5568
|
-
"description": "
|
5610
|
+
"name": "url",
|
5611
|
+
"default": "-",
|
5612
|
+
"description": "Link URL",
|
5569
5613
|
"options": [],
|
5570
5614
|
"value": {
|
5571
|
-
"type": "
|
5615
|
+
"type": "string",
|
5572
5616
|
"kind": "expression"
|
5573
5617
|
}
|
5574
5618
|
},
|
5575
5619
|
{
|
5576
|
-
"name": "
|
5577
|
-
"default": "
|
5578
|
-
"description": "
|
5620
|
+
"name": "to",
|
5621
|
+
"default": "-",
|
5622
|
+
"description": "Target route of the link, same as to of vue-router",
|
5579
5623
|
"options": [],
|
5580
5624
|
"value": {
|
5581
|
-
"type": "
|
5625
|
+
"type": "string | object",
|
5582
5626
|
"kind": "expression"
|
5583
5627
|
}
|
5584
5628
|
},
|
5585
5629
|
{
|
5586
|
-
"name": "
|
5630
|
+
"name": "replace",
|
5587
5631
|
"default": "`false`",
|
5588
|
-
"description": "
|
5589
|
-
"options": [],
|
5590
|
-
"value": {
|
5591
|
-
"type": "boolean",
|
5592
|
-
"kind": "expression"
|
5593
|
-
}
|
5594
|
-
},
|
5595
|
-
{
|
5596
|
-
"name": "show-error-message",
|
5597
|
-
"default": "`true`",
|
5598
|
-
"description": "Whether to show error message when validation failed",
|
5599
|
-
"options": [],
|
5600
|
-
"value": {
|
5601
|
-
"type": "boolean",
|
5602
|
-
"kind": "expression"
|
5603
|
-
}
|
5604
|
-
},
|
5605
|
-
{
|
5606
|
-
"name": "submit-on-enter",
|
5607
|
-
"default": "`true`",
|
5608
|
-
"description": "Whether to submit form on enter",
|
5632
|
+
"description": "If true, the navigation will not leave a history record",
|
5609
5633
|
"options": [],
|
5610
5634
|
"value": {
|
5611
5635
|
"type": "boolean",
|
@@ -5615,7 +5639,7 @@
|
|
5615
5639
|
]
|
5616
5640
|
},
|
5617
5641
|
{
|
5618
|
-
"name": "
|
5642
|
+
"name": "icon",
|
5619
5643
|
"slots": [],
|
5620
5644
|
"events": [
|
5621
5645
|
{
|
@@ -5713,7 +5737,7 @@
|
|
5713
5737
|
]
|
5714
5738
|
},
|
5715
5739
|
{
|
5716
|
-
"name": "
|
5740
|
+
"name": "image",
|
5717
5741
|
"slots": [
|
5718
5742
|
{
|
5719
5743
|
"name": "default",
|
@@ -5904,7 +5928,7 @@
|
|
5904
5928
|
]
|
5905
5929
|
},
|
5906
5930
|
{
|
5907
|
-
"name": "
|
5931
|
+
"name": "image-preview",
|
5908
5932
|
"slots": [
|
5909
5933
|
{
|
5910
5934
|
"name": "index",
|
@@ -6156,7 +6180,7 @@
|
|
6156
6180
|
]
|
6157
6181
|
},
|
6158
6182
|
{
|
6159
|
-
"name": "
|
6183
|
+
"name": "index-bar",
|
6160
6184
|
"slots": [],
|
6161
6185
|
"events": [
|
6162
6186
|
{
|
@@ -6244,7 +6268,7 @@
|
|
6244
6268
|
]
|
6245
6269
|
},
|
6246
6270
|
{
|
6247
|
-
"name": "
|
6271
|
+
"name": "index-anchor",
|
6248
6272
|
"slots": [
|
6249
6273
|
{
|
6250
6274
|
"name": "default",
|
@@ -6266,7 +6290,7 @@
|
|
6266
6290
|
]
|
6267
6291
|
},
|
6268
6292
|
{
|
6269
|
-
"name": "
|
6293
|
+
"name": "list",
|
6270
6294
|
"slots": [
|
6271
6295
|
{
|
6272
6296
|
"name": "default",
|
@@ -6386,7 +6410,7 @@
|
|
6386
6410
|
]
|
6387
6411
|
},
|
6388
6412
|
{
|
6389
|
-
"name": "
|
6413
|
+
"name": "loading",
|
6390
6414
|
"slots": [
|
6391
6415
|
{
|
6392
6416
|
"name": "default",
|
@@ -6458,7 +6482,7 @@
|
|
6458
6482
|
]
|
6459
6483
|
},
|
6460
6484
|
{
|
6461
|
-
"name": "
|
6485
|
+
"name": "nav-bar",
|
6462
6486
|
"slots": [
|
6463
6487
|
{
|
6464
6488
|
"name": "title",
|
@@ -6589,7 +6613,7 @@
|
|
6589
6613
|
]
|
6590
6614
|
},
|
6591
6615
|
{
|
6592
|
-
"name": "
|
6616
|
+
"name": "notice-bar",
|
6593
6617
|
"slots": [
|
6594
6618
|
{
|
6595
6619
|
"name": "default",
|
@@ -6725,7 +6749,7 @@
|
|
6725
6749
|
]
|
6726
6750
|
},
|
6727
6751
|
{
|
6728
|
-
"name": "
|
6752
|
+
"name": "number-keyboard",
|
6729
6753
|
"slots": [
|
6730
6754
|
{
|
6731
6755
|
"name": "delete",
|
@@ -6951,7 +6975,7 @@
|
|
6951
6975
|
]
|
6952
6976
|
},
|
6953
6977
|
{
|
6954
|
-
"name": "
|
6978
|
+
"name": "overlay",
|
6955
6979
|
"slots": [
|
6956
6980
|
{
|
6957
6981
|
"name": "default",
|
@@ -7044,7 +7068,7 @@
|
|
7044
7068
|
]
|
7045
7069
|
},
|
7046
7070
|
{
|
7047
|
-
"name": "
|
7071
|
+
"name": "pagination",
|
7048
7072
|
"slots": [
|
7049
7073
|
{
|
7050
7074
|
"name": "page",
|
@@ -7160,7 +7184,7 @@
|
|
7160
7184
|
]
|
7161
7185
|
},
|
7162
7186
|
{
|
7163
|
-
"name": "
|
7187
|
+
"name": "password-input",
|
7164
7188
|
"slots": [],
|
7165
7189
|
"events": [
|
7166
7190
|
{
|
@@ -7243,7 +7267,7 @@
|
|
7243
7267
|
]
|
7244
7268
|
},
|
7245
7269
|
{
|
7246
|
-
"name": "
|
7270
|
+
"name": "picker",
|
7247
7271
|
"slots": [
|
7248
7272
|
{
|
7249
7273
|
"name": "toolbar",
|
@@ -7452,7 +7476,7 @@
|
|
7452
7476
|
]
|
7453
7477
|
},
|
7454
7478
|
{
|
7455
|
-
"name": "
|
7479
|
+
"name": "popover",
|
7456
7480
|
"slots": [
|
7457
7481
|
{
|
7458
7482
|
"name": "default",
|
@@ -7677,54 +7701,74 @@
|
|
7677
7701
|
]
|
7678
7702
|
},
|
7679
7703
|
{
|
7680
|
-
"name": "
|
7704
|
+
"name": "popup",
|
7681
7705
|
"slots": [
|
7682
7706
|
{
|
7683
7707
|
"name": "default",
|
7684
|
-
"description": "
|
7708
|
+
"description": "Content of Popup"
|
7685
7709
|
},
|
7686
7710
|
{
|
7687
|
-
"name": "
|
7688
|
-
"description": "Content of
|
7711
|
+
"name": "overlay-content",
|
7712
|
+
"description": "Content of Popup overlay"
|
7713
|
+
}
|
7714
|
+
],
|
7715
|
+
"events": [
|
7716
|
+
{
|
7717
|
+
"name": "click",
|
7718
|
+
"description": "Emitted when Popup is clicked",
|
7719
|
+
"arguments": [
|
7720
|
+
{
|
7721
|
+
"name": "event",
|
7722
|
+
"type": "MouseEvent"
|
7723
|
+
}
|
7724
|
+
]
|
7689
7725
|
},
|
7690
7726
|
{
|
7691
|
-
"name": "
|
7692
|
-
"description": "
|
7727
|
+
"name": "click-overlay",
|
7728
|
+
"description": "Emitted when overlay is clicked",
|
7729
|
+
"arguments": [
|
7730
|
+
{
|
7731
|
+
"name": "event",
|
7732
|
+
"type": "MouseEvent"
|
7733
|
+
}
|
7734
|
+
]
|
7693
7735
|
},
|
7694
7736
|
{
|
7695
|
-
"name": "
|
7696
|
-
"description": "
|
7737
|
+
"name": "click-close-icon",
|
7738
|
+
"description": "Emitted when close icon is clicked",
|
7739
|
+
"arguments": [
|
7740
|
+
{
|
7741
|
+
"name": "event",
|
7742
|
+
"type": "MouseEvent"
|
7743
|
+
}
|
7744
|
+
]
|
7697
7745
|
},
|
7698
7746
|
{
|
7699
|
-
"name": "
|
7700
|
-
"description": "
|
7747
|
+
"name": "open",
|
7748
|
+
"description": "Emitted when opening Popup",
|
7749
|
+
"arguments": []
|
7701
7750
|
},
|
7702
7751
|
{
|
7703
|
-
"name": "
|
7704
|
-
"description": "
|
7705
|
-
|
7706
|
-
|
7707
|
-
"events": [
|
7752
|
+
"name": "close",
|
7753
|
+
"description": "Emitted when closing Popup",
|
7754
|
+
"arguments": []
|
7755
|
+
},
|
7708
7756
|
{
|
7709
|
-
"name": "
|
7710
|
-
"description": "Emitted
|
7757
|
+
"name": "opened",
|
7758
|
+
"description": "Emitted when Popup is opened",
|
7711
7759
|
"arguments": []
|
7712
7760
|
},
|
7713
7761
|
{
|
7714
|
-
"name": "
|
7715
|
-
"description": "Emitted when
|
7716
|
-
"arguments": [
|
7717
|
-
{
|
7718
|
-
"name": "{ status: string, distance: number }"
|
7719
|
-
}
|
7720
|
-
]
|
7762
|
+
"name": "closed",
|
7763
|
+
"description": "Emitted when Popup is closed",
|
7764
|
+
"arguments": []
|
7721
7765
|
}
|
7722
7766
|
],
|
7723
7767
|
"attributes": [
|
7724
7768
|
{
|
7725
|
-
"name": "v-model",
|
7726
|
-
"default": "
|
7727
|
-
"description": "
|
7769
|
+
"name": "v-model:show",
|
7770
|
+
"default": "`false`",
|
7771
|
+
"description": "Whether to show popup",
|
7728
7772
|
"options": [],
|
7729
7773
|
"value": {
|
7730
7774
|
"type": "boolean",
|
@@ -7732,19 +7776,19 @@
|
|
7732
7776
|
}
|
7733
7777
|
},
|
7734
7778
|
{
|
7735
|
-
"name": "
|
7736
|
-
"default": "`
|
7737
|
-
"description": "
|
7779
|
+
"name": "overlay",
|
7780
|
+
"default": "`true`",
|
7781
|
+
"description": "Whether to show overlay",
|
7738
7782
|
"options": [],
|
7739
7783
|
"value": {
|
7740
|
-
"type": "
|
7784
|
+
"type": "boolean",
|
7741
7785
|
"kind": "expression"
|
7742
7786
|
}
|
7743
7787
|
},
|
7744
7788
|
{
|
7745
|
-
"name": "
|
7746
|
-
"default": "`
|
7747
|
-
"description": "
|
7789
|
+
"name": "position",
|
7790
|
+
"default": "`center`",
|
7791
|
+
"description": "Can be set to `top` `bottom` `right` `left`",
|
7748
7792
|
"options": [],
|
7749
7793
|
"value": {
|
7750
7794
|
"type": "string",
|
@@ -7752,29 +7796,29 @@
|
|
7752
7796
|
}
|
7753
7797
|
},
|
7754
7798
|
{
|
7755
|
-
"name": "
|
7756
|
-
"default": "
|
7757
|
-
"description": "
|
7799
|
+
"name": "overlay-class",
|
7800
|
+
"default": "-",
|
7801
|
+
"description": "Custom overlay class",
|
7758
7802
|
"options": [],
|
7759
7803
|
"value": {
|
7760
|
-
"type": "string",
|
7804
|
+
"type": "string | Array | object",
|
7761
7805
|
"kind": "expression"
|
7762
7806
|
}
|
7763
7807
|
},
|
7764
7808
|
{
|
7765
|
-
"name": "
|
7809
|
+
"name": "overlay-style",
|
7766
7810
|
"default": "-",
|
7767
|
-
"description": "
|
7811
|
+
"description": "Custom overlay style",
|
7768
7812
|
"options": [],
|
7769
7813
|
"value": {
|
7770
|
-
"type": "
|
7814
|
+
"type": "object",
|
7771
7815
|
"kind": "expression"
|
7772
7816
|
}
|
7773
7817
|
},
|
7774
7818
|
{
|
7775
|
-
"name": "
|
7776
|
-
"default": "`
|
7777
|
-
"description": "
|
7819
|
+
"name": "duration",
|
7820
|
+
"default": "`0.3`",
|
7821
|
+
"description": "Transition duration, unit second",
|
7778
7822
|
"options": [],
|
7779
7823
|
"value": {
|
7780
7824
|
"type": "number | string",
|
@@ -7782,96 +7826,59 @@
|
|
7782
7826
|
}
|
7783
7827
|
},
|
7784
7828
|
{
|
7785
|
-
"name": "
|
7786
|
-
"default": "`
|
7787
|
-
"description": "
|
7829
|
+
"name": "round",
|
7830
|
+
"default": "`false`",
|
7831
|
+
"description": "Whether to show round corner",
|
7788
7832
|
"options": [],
|
7789
7833
|
"value": {
|
7790
|
-
"type": "
|
7834
|
+
"type": "boolean",
|
7791
7835
|
"kind": "expression"
|
7792
7836
|
}
|
7793
7837
|
},
|
7794
7838
|
{
|
7795
|
-
"name": "
|
7796
|
-
"default": "`
|
7797
|
-
"description": "
|
7839
|
+
"name": "lock-scroll",
|
7840
|
+
"default": "`true`",
|
7841
|
+
"description": "Whether to lock background scroll",
|
7798
7842
|
"options": [],
|
7799
7843
|
"value": {
|
7800
|
-
"type": "
|
7844
|
+
"type": "boolean",
|
7801
7845
|
"kind": "expression"
|
7802
7846
|
}
|
7803
7847
|
},
|
7804
7848
|
{
|
7805
|
-
"name": "
|
7806
|
-
"default": "
|
7807
|
-
"description": "
|
7849
|
+
"name": "lazy-render",
|
7850
|
+
"default": "`true`",
|
7851
|
+
"description": "Whether to lazy render util appeared",
|
7808
7852
|
"options": [],
|
7809
7853
|
"value": {
|
7810
|
-
"type": "
|
7854
|
+
"type": "boolean",
|
7811
7855
|
"kind": "expression"
|
7812
7856
|
}
|
7813
7857
|
},
|
7814
7858
|
{
|
7815
|
-
"name": "
|
7859
|
+
"name": "close-on-popstate",
|
7816
7860
|
"default": "`false`",
|
7817
|
-
"description": "Whether to
|
7861
|
+
"description": "Whether to close when popstate",
|
7818
7862
|
"options": [],
|
7819
7863
|
"value": {
|
7820
7864
|
"type": "boolean",
|
7821
7865
|
"kind": "expression"
|
7822
7866
|
}
|
7823
|
-
}
|
7824
|
-
]
|
7825
|
-
},
|
7826
|
-
{
|
7827
|
-
"name": "van-radio",
|
7828
|
-
"slots": [
|
7829
|
-
{
|
7830
|
-
"name": "default",
|
7831
|
-
"description": "Custom label"
|
7832
|
-
},
|
7833
|
-
{
|
7834
|
-
"name": "icon",
|
7835
|
-
"description": "Custom icon"
|
7836
|
-
}
|
7837
|
-
],
|
7838
|
-
"events": [
|
7839
|
-
{
|
7840
|
-
"name": "click",
|
7841
|
-
"description": "Emitted when radio is clicked",
|
7842
|
-
"arguments": [
|
7843
|
-
{
|
7844
|
-
"name": "event",
|
7845
|
-
"type": "MouseEvent"
|
7846
|
-
}
|
7847
|
-
]
|
7848
|
-
}
|
7849
|
-
],
|
7850
|
-
"attributes": [
|
7851
|
-
{
|
7852
|
-
"name": "name",
|
7853
|
-
"default": "-",
|
7854
|
-
"description": "Radio name",
|
7855
|
-
"options": [],
|
7856
|
-
"value": {
|
7857
|
-
"type": "any",
|
7858
|
-
"kind": "expression"
|
7859
|
-
}
|
7860
7867
|
},
|
7861
|
-
{
|
7862
|
-
"name": "
|
7863
|
-
"default": "`
|
7864
|
-
"description": "
|
7868
|
+
{
|
7869
|
+
"name": "close-on-click-overlay",
|
7870
|
+
"default": "`true`",
|
7871
|
+
"description": "Whether to close when overlay is clicked",
|
7865
7872
|
"options": [],
|
7866
7873
|
"value": {
|
7867
|
-
"type": "
|
7874
|
+
"type": "boolean",
|
7868
7875
|
"kind": "expression"
|
7869
7876
|
}
|
7870
7877
|
},
|
7871
7878
|
{
|
7872
|
-
"name": "
|
7879
|
+
"name": "closeable",
|
7873
7880
|
"default": "`false`",
|
7874
|
-
"description": "Whether to
|
7881
|
+
"description": "Whether to show close icon",
|
7875
7882
|
"options": [],
|
7876
7883
|
"value": {
|
7877
7884
|
"type": "boolean",
|
@@ -7879,19 +7886,19 @@
|
|
7879
7886
|
}
|
7880
7887
|
},
|
7881
7888
|
{
|
7882
|
-
"name": "
|
7883
|
-
"default": "`
|
7884
|
-
"description": "
|
7889
|
+
"name": "close-icon",
|
7890
|
+
"default": "`cross`",
|
7891
|
+
"description": "Close icon name",
|
7885
7892
|
"options": [],
|
7886
7893
|
"value": {
|
7887
|
-
"type": "
|
7894
|
+
"type": "string",
|
7888
7895
|
"kind": "expression"
|
7889
7896
|
}
|
7890
7897
|
},
|
7891
7898
|
{
|
7892
|
-
"name": "
|
7893
|
-
"default": "`right`",
|
7894
|
-
"description": "
|
7899
|
+
"name": "close-icon-position",
|
7900
|
+
"default": "`top-right`",
|
7901
|
+
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
|
7895
7902
|
"options": [],
|
7896
7903
|
"value": {
|
7897
7904
|
"type": "string",
|
@@ -7899,57 +7906,39 @@
|
|
7899
7906
|
}
|
7900
7907
|
},
|
7901
7908
|
{
|
7902
|
-
"name": "
|
7903
|
-
"default": "
|
7904
|
-
"description": "
|
7909
|
+
"name": "before-close",
|
7910
|
+
"default": "-",
|
7911
|
+
"description": "Callback function before close",
|
7905
7912
|
"options": [],
|
7906
7913
|
"value": {
|
7907
|
-
"type": "
|
7914
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
7908
7915
|
"kind": "expression"
|
7909
7916
|
}
|
7910
7917
|
},
|
7911
7918
|
{
|
7912
|
-
"name": "
|
7913
|
-
"default": "
|
7914
|
-
"description": "
|
7919
|
+
"name": "icon-prefix",
|
7920
|
+
"default": "`van-icon`",
|
7921
|
+
"description": "Icon className prefix",
|
7915
7922
|
"options": [],
|
7916
7923
|
"value": {
|
7917
7924
|
"type": "string",
|
7918
7925
|
"kind": "expression"
|
7919
7926
|
}
|
7920
|
-
}
|
7921
|
-
]
|
7922
|
-
},
|
7923
|
-
{
|
7924
|
-
"name": "van-radio-group",
|
7925
|
-
"slots": [],
|
7926
|
-
"events": [
|
7927
|
-
{
|
7928
|
-
"name": "change",
|
7929
|
-
"description": "Emitted when value changed",
|
7930
|
-
"arguments": [
|
7931
|
-
{
|
7932
|
-
"name": "name",
|
7933
|
-
"type": "string"
|
7934
|
-
}
|
7935
|
-
]
|
7936
|
-
}
|
7937
|
-
],
|
7938
|
-
"attributes": [
|
7927
|
+
},
|
7939
7928
|
{
|
7940
|
-
"name": "
|
7929
|
+
"name": "transition",
|
7941
7930
|
"default": "-",
|
7942
|
-
"description": "
|
7931
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
7943
7932
|
"options": [],
|
7944
7933
|
"value": {
|
7945
|
-
"type": "
|
7934
|
+
"type": "string",
|
7946
7935
|
"kind": "expression"
|
7947
7936
|
}
|
7948
7937
|
},
|
7949
7938
|
{
|
7950
|
-
"name": "
|
7939
|
+
"name": "transition-appear",
|
7951
7940
|
"default": "`false`",
|
7952
|
-
"description": "
|
7941
|
+
"description": "Whether to apply transition on initial render",
|
7953
7942
|
"options": [],
|
7954
7943
|
"value": {
|
7955
7944
|
"type": "boolean",
|
@@ -7957,39 +7946,39 @@
|
|
7957
7946
|
}
|
7958
7947
|
},
|
7959
7948
|
{
|
7960
|
-
"name": "
|
7961
|
-
"default": "
|
7962
|
-
"description": "
|
7949
|
+
"name": "teleport",
|
7950
|
+
"default": "-",
|
7951
|
+
"description": "Specifies a target element where Popup will be mounted",
|
7963
7952
|
"options": [],
|
7964
7953
|
"value": {
|
7965
|
-
"type": "string",
|
7954
|
+
"type": "string | Element",
|
7966
7955
|
"kind": "expression"
|
7967
7956
|
}
|
7968
7957
|
},
|
7969
7958
|
{
|
7970
|
-
"name": "
|
7971
|
-
"default": "`
|
7972
|
-
"description": "
|
7959
|
+
"name": "safe-area-inset-top",
|
7960
|
+
"default": "`false`",
|
7961
|
+
"description": "Whether to enable top safe area adaptation",
|
7973
7962
|
"options": [],
|
7974
7963
|
"value": {
|
7975
|
-
"type": "
|
7964
|
+
"type": "boolean",
|
7976
7965
|
"kind": "expression"
|
7977
7966
|
}
|
7978
7967
|
},
|
7979
7968
|
{
|
7980
|
-
"name": "
|
7981
|
-
"default": "
|
7982
|
-
"description": "
|
7969
|
+
"name": "safe-area-inset-bottom",
|
7970
|
+
"default": "`false`",
|
7971
|
+
"description": "Whether to enable bottom safe area adaptation",
|
7983
7972
|
"options": [],
|
7984
7973
|
"value": {
|
7985
|
-
"type": "
|
7974
|
+
"type": "boolean",
|
7986
7975
|
"kind": "expression"
|
7987
7976
|
}
|
7988
7977
|
}
|
7989
7978
|
]
|
7990
7979
|
},
|
7991
7980
|
{
|
7992
|
-
"name": "
|
7981
|
+
"name": "progress",
|
7993
7982
|
"slots": [],
|
7994
7983
|
"events": [],
|
7995
7984
|
"attributes": [
|
@@ -8086,74 +8075,54 @@
|
|
8086
8075
|
]
|
8087
8076
|
},
|
8088
8077
|
{
|
8089
|
-
"name": "
|
8078
|
+
"name": "pull-refresh",
|
8090
8079
|
"slots": [
|
8091
8080
|
{
|
8092
8081
|
"name": "default",
|
8093
|
-
"description": "
|
8082
|
+
"description": "Default slot"
|
8094
8083
|
},
|
8095
8084
|
{
|
8096
|
-
"name": "
|
8097
|
-
"description": "Content of
|
8098
|
-
}
|
8099
|
-
],
|
8100
|
-
"events": [
|
8101
|
-
{
|
8102
|
-
"name": "click",
|
8103
|
-
"description": "Emitted when Popup is clicked",
|
8104
|
-
"arguments": [
|
8105
|
-
{
|
8106
|
-
"name": "event",
|
8107
|
-
"type": "MouseEvent"
|
8108
|
-
}
|
8109
|
-
]
|
8085
|
+
"name": "normal",
|
8086
|
+
"description": "Content of head when at normal status"
|
8110
8087
|
},
|
8111
8088
|
{
|
8112
|
-
"name": "
|
8113
|
-
"description": "
|
8114
|
-
"arguments": [
|
8115
|
-
{
|
8116
|
-
"name": "event",
|
8117
|
-
"type": "MouseEvent"
|
8118
|
-
}
|
8119
|
-
]
|
8089
|
+
"name": "pulling",
|
8090
|
+
"description": "Content of head when at pulling"
|
8120
8091
|
},
|
8121
8092
|
{
|
8122
|
-
"name": "
|
8123
|
-
"description": "
|
8124
|
-
"arguments": [
|
8125
|
-
{
|
8126
|
-
"name": "event",
|
8127
|
-
"type": "MouseEvent"
|
8128
|
-
}
|
8129
|
-
]
|
8093
|
+
"name": "loosing",
|
8094
|
+
"description": "Content of head when at loosing"
|
8130
8095
|
},
|
8131
8096
|
{
|
8132
|
-
"name": "
|
8133
|
-
"description": "
|
8134
|
-
"arguments": []
|
8097
|
+
"name": "loading",
|
8098
|
+
"description": "Content of head when at loading"
|
8135
8099
|
},
|
8136
8100
|
{
|
8137
|
-
"name": "
|
8138
|
-
"description": "
|
8139
|
-
|
8140
|
-
|
8101
|
+
"name": "success",
|
8102
|
+
"description": "Content of head when succeed"
|
8103
|
+
}
|
8104
|
+
],
|
8105
|
+
"events": [
|
8141
8106
|
{
|
8142
|
-
"name": "
|
8143
|
-
"description": "Emitted
|
8107
|
+
"name": "refresh",
|
8108
|
+
"description": "Emitted after pulling refresh",
|
8144
8109
|
"arguments": []
|
8145
8110
|
},
|
8146
8111
|
{
|
8147
|
-
"name": "
|
8148
|
-
"description": "Emitted when
|
8149
|
-
"arguments": [
|
8112
|
+
"name": "change",
|
8113
|
+
"description": "Emitted when draging or status changed",
|
8114
|
+
"arguments": [
|
8115
|
+
{
|
8116
|
+
"name": "{ status: string, distance: number }"
|
8117
|
+
}
|
8118
|
+
]
|
8150
8119
|
}
|
8151
8120
|
],
|
8152
8121
|
"attributes": [
|
8153
8122
|
{
|
8154
|
-
"name": "v-model
|
8155
|
-
"default": "
|
8156
|
-
"description": "
|
8123
|
+
"name": "v-model",
|
8124
|
+
"default": "-",
|
8125
|
+
"description": "Loading status",
|
8157
8126
|
"options": [],
|
8158
8127
|
"value": {
|
8159
8128
|
"type": "boolean",
|
@@ -8161,19 +8130,19 @@
|
|
8161
8130
|
}
|
8162
8131
|
},
|
8163
8132
|
{
|
8164
|
-
"name": "
|
8165
|
-
"default": "`
|
8166
|
-
"description": "
|
8133
|
+
"name": "pulling-text",
|
8134
|
+
"default": "`Pull to refresh...`",
|
8135
|
+
"description": "Text to show when pulling",
|
8167
8136
|
"options": [],
|
8168
8137
|
"value": {
|
8169
|
-
"type": "
|
8138
|
+
"type": "string",
|
8170
8139
|
"kind": "expression"
|
8171
8140
|
}
|
8172
8141
|
},
|
8173
8142
|
{
|
8174
|
-
"name": "
|
8175
|
-
"default": "`
|
8176
|
-
"description": "
|
8143
|
+
"name": "loosing-text",
|
8144
|
+
"default": "`Loose to refresh...`",
|
8145
|
+
"description": "Text to show when loosing",
|
8177
8146
|
"options": [],
|
8178
8147
|
"value": {
|
8179
8148
|
"type": "string",
|
@@ -8181,29 +8150,29 @@
|
|
8181
8150
|
}
|
8182
8151
|
},
|
8183
8152
|
{
|
8184
|
-
"name": "
|
8185
|
-
"default": "
|
8186
|
-
"description": "
|
8153
|
+
"name": "loading-text",
|
8154
|
+
"default": "`Loading...`",
|
8155
|
+
"description": "Text to show when loading",
|
8187
8156
|
"options": [],
|
8188
8157
|
"value": {
|
8189
|
-
"type": "string
|
8158
|
+
"type": "string",
|
8190
8159
|
"kind": "expression"
|
8191
8160
|
}
|
8192
8161
|
},
|
8193
8162
|
{
|
8194
|
-
"name": "
|
8163
|
+
"name": "success-text",
|
8195
8164
|
"default": "-",
|
8196
|
-
"description": "
|
8165
|
+
"description": "Text to show when loading success",
|
8197
8166
|
"options": [],
|
8198
8167
|
"value": {
|
8199
|
-
"type": "
|
8168
|
+
"type": "string",
|
8200
8169
|
"kind": "expression"
|
8201
8170
|
}
|
8202
8171
|
},
|
8203
8172
|
{
|
8204
|
-
"name": "duration",
|
8205
|
-
"default": "`
|
8206
|
-
"description": "
|
8173
|
+
"name": "success-duration",
|
8174
|
+
"default": "`500`",
|
8175
|
+
"description": "Success text display duration(ms)",
|
8207
8176
|
"options": [],
|
8208
8177
|
"value": {
|
8209
8178
|
"type": "number | string",
|
@@ -8211,49 +8180,96 @@
|
|
8211
8180
|
}
|
8212
8181
|
},
|
8213
8182
|
{
|
8214
|
-
"name": "
|
8215
|
-
"default": "`
|
8216
|
-
"description": "
|
8183
|
+
"name": "animation-duration",
|
8184
|
+
"default": "`300`",
|
8185
|
+
"description": "Animation duration",
|
8217
8186
|
"options": [],
|
8218
8187
|
"value": {
|
8219
|
-
"type": "
|
8188
|
+
"type": "number | string",
|
8220
8189
|
"kind": "expression"
|
8221
8190
|
}
|
8222
8191
|
},
|
8223
8192
|
{
|
8224
|
-
"name": "
|
8225
|
-
"default": "`
|
8226
|
-
"description": "
|
8193
|
+
"name": "head-height",
|
8194
|
+
"default": "`50`",
|
8195
|
+
"description": "Height of head",
|
8196
|
+
"options": [],
|
8197
|
+
"value": {
|
8198
|
+
"type": "number | string",
|
8199
|
+
"kind": "expression"
|
8200
|
+
}
|
8201
|
+
},
|
8202
|
+
{
|
8203
|
+
"name": "pull-distance",
|
8204
|
+
"default": "same as `head-height`",
|
8205
|
+
"description": "The distance to trigger the pull refresh",
|
8206
|
+
"options": [],
|
8207
|
+
"value": {
|
8208
|
+
"type": "number | string",
|
8209
|
+
"kind": "expression"
|
8210
|
+
}
|
8211
|
+
},
|
8212
|
+
{
|
8213
|
+
"name": "disabled",
|
8214
|
+
"default": "`false`",
|
8215
|
+
"description": "Whether to disable pull refresh",
|
8227
8216
|
"options": [],
|
8228
8217
|
"value": {
|
8229
8218
|
"type": "boolean",
|
8230
8219
|
"kind": "expression"
|
8231
8220
|
}
|
8221
|
+
}
|
8222
|
+
]
|
8223
|
+
},
|
8224
|
+
{
|
8225
|
+
"name": "radio",
|
8226
|
+
"slots": [
|
8227
|
+
{
|
8228
|
+
"name": "default",
|
8229
|
+
"description": "Custom label"
|
8232
8230
|
},
|
8233
8231
|
{
|
8234
|
-
"name": "
|
8235
|
-
"
|
8236
|
-
|
8232
|
+
"name": "icon",
|
8233
|
+
"description": "Custom icon"
|
8234
|
+
}
|
8235
|
+
],
|
8236
|
+
"events": [
|
8237
|
+
{
|
8238
|
+
"name": "click",
|
8239
|
+
"description": "Emitted when radio is clicked",
|
8240
|
+
"arguments": [
|
8241
|
+
{
|
8242
|
+
"name": "event",
|
8243
|
+
"type": "MouseEvent"
|
8244
|
+
}
|
8245
|
+
]
|
8246
|
+
}
|
8247
|
+
],
|
8248
|
+
"attributes": [
|
8249
|
+
{
|
8250
|
+
"name": "name",
|
8251
|
+
"default": "-",
|
8252
|
+
"description": "Radio name, usually a unique string or number",
|
8237
8253
|
"options": [],
|
8238
8254
|
"value": {
|
8239
|
-
"type": "
|
8255
|
+
"type": "any",
|
8240
8256
|
"kind": "expression"
|
8241
8257
|
}
|
8242
8258
|
},
|
8243
8259
|
{
|
8244
|
-
"name": "
|
8245
|
-
"default": "`
|
8246
|
-
"description": "
|
8260
|
+
"name": "shape",
|
8261
|
+
"default": "`round`",
|
8262
|
+
"description": "Can be set to `square`",
|
8247
8263
|
"options": [],
|
8248
8264
|
"value": {
|
8249
|
-
"type": "
|
8265
|
+
"type": "string",
|
8250
8266
|
"kind": "expression"
|
8251
8267
|
}
|
8252
8268
|
},
|
8253
8269
|
{
|
8254
|
-
"name": "
|
8255
|
-
"default": "`
|
8256
|
-
"description": "Whether to
|
8270
|
+
"name": "disabled",
|
8271
|
+
"default": "`false`",
|
8272
|
+
"description": "Whether to disable radio",
|
8257
8273
|
"options": [],
|
8258
8274
|
"value": {
|
8259
8275
|
"type": "boolean",
|
@@ -8261,9 +8277,9 @@
|
|
8261
8277
|
}
|
8262
8278
|
},
|
8263
8279
|
{
|
8264
|
-
"name": "
|
8280
|
+
"name": "label-disabled",
|
8265
8281
|
"default": "`false`",
|
8266
|
-
"description": "Whether to
|
8282
|
+
"description": "Whether to disable label click",
|
8267
8283
|
"options": [],
|
8268
8284
|
"value": {
|
8269
8285
|
"type": "boolean",
|
@@ -8271,19 +8287,9 @@
|
|
8271
8287
|
}
|
8272
8288
|
},
|
8273
8289
|
{
|
8274
|
-
"name": "
|
8275
|
-
"default": "`
|
8276
|
-
"description": "
|
8277
|
-
"options": [],
|
8278
|
-
"value": {
|
8279
|
-
"type": "string",
|
8280
|
-
"kind": "expression"
|
8281
|
-
}
|
8282
|
-
},
|
8283
|
-
{
|
8284
|
-
"name": "close-icon-position",
|
8285
|
-
"default": "`top-right`",
|
8286
|
-
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
|
8290
|
+
"name": "label-position",
|
8291
|
+
"default": "`right`",
|
8292
|
+
"description": "Can be set to `left`",
|
8287
8293
|
"options": [],
|
8288
8294
|
"value": {
|
8289
8295
|
"type": "string",
|
@@ -8291,39 +8297,57 @@
|
|
8291
8297
|
}
|
8292
8298
|
},
|
8293
8299
|
{
|
8294
|
-
"name": "
|
8295
|
-
"default": "
|
8296
|
-
"description": "
|
8300
|
+
"name": "icon-size",
|
8301
|
+
"default": "`20px`",
|
8302
|
+
"description": "Icon size",
|
8297
8303
|
"options": [],
|
8298
8304
|
"value": {
|
8299
|
-
"type": "
|
8305
|
+
"type": "number | string",
|
8300
8306
|
"kind": "expression"
|
8301
8307
|
}
|
8302
8308
|
},
|
8303
8309
|
{
|
8304
|
-
"name": "
|
8305
|
-
"default": "`
|
8306
|
-
"description": "
|
8310
|
+
"name": "checked-color",
|
8311
|
+
"default": "`#1989fa`",
|
8312
|
+
"description": "Checked color",
|
8307
8313
|
"options": [],
|
8308
8314
|
"value": {
|
8309
8315
|
"type": "string",
|
8310
8316
|
"kind": "expression"
|
8311
8317
|
}
|
8312
|
-
}
|
8318
|
+
}
|
8319
|
+
]
|
8320
|
+
},
|
8321
|
+
{
|
8322
|
+
"name": "radio-group",
|
8323
|
+
"slots": [],
|
8324
|
+
"events": [
|
8313
8325
|
{
|
8314
|
-
"name": "
|
8326
|
+
"name": "change",
|
8327
|
+
"description": "Emitted when value changed",
|
8328
|
+
"arguments": [
|
8329
|
+
{
|
8330
|
+
"name": "name",
|
8331
|
+
"type": "string"
|
8332
|
+
}
|
8333
|
+
]
|
8334
|
+
}
|
8335
|
+
],
|
8336
|
+
"attributes": [
|
8337
|
+
{
|
8338
|
+
"name": "v-model",
|
8315
8339
|
"default": "-",
|
8316
|
-
"description": "
|
8340
|
+
"description": "Name of checked radio",
|
8317
8341
|
"options": [],
|
8318
8342
|
"value": {
|
8319
|
-
"type": "
|
8343
|
+
"type": "any",
|
8320
8344
|
"kind": "expression"
|
8321
8345
|
}
|
8322
8346
|
},
|
8323
8347
|
{
|
8324
|
-
"name": "
|
8348
|
+
"name": "disabled",
|
8325
8349
|
"default": "`false`",
|
8326
|
-
"description": "
|
8350
|
+
"description": "Disable all radios",
|
8327
8351
|
"options": [],
|
8328
8352
|
"value": {
|
8329
8353
|
"type": "boolean",
|
@@ -8331,39 +8355,39 @@
|
|
8331
8355
|
}
|
8332
8356
|
},
|
8333
8357
|
{
|
8334
|
-
"name": "
|
8335
|
-
"default": "
|
8336
|
-
"description": "
|
8358
|
+
"name": "direction",
|
8359
|
+
"default": "`vertical`",
|
8360
|
+
"description": "Direction, can be set to `horizontal`",
|
8337
8361
|
"options": [],
|
8338
8362
|
"value": {
|
8339
|
-
"type": "string
|
8363
|
+
"type": "string",
|
8340
8364
|
"kind": "expression"
|
8341
8365
|
}
|
8342
8366
|
},
|
8343
8367
|
{
|
8344
|
-
"name": "
|
8345
|
-
"default": "`
|
8346
|
-
"description": "
|
8368
|
+
"name": "icon-size",
|
8369
|
+
"default": "`20px`",
|
8370
|
+
"description": "Icon size of all radios",
|
8347
8371
|
"options": [],
|
8348
8372
|
"value": {
|
8349
|
-
"type": "
|
8373
|
+
"type": "number | string",
|
8350
8374
|
"kind": "expression"
|
8351
8375
|
}
|
8352
8376
|
},
|
8353
8377
|
{
|
8354
|
-
"name": "
|
8355
|
-
"default": "`
|
8356
|
-
"description": "
|
8378
|
+
"name": "checked-color",
|
8379
|
+
"default": "`#1989fa`",
|
8380
|
+
"description": "Checked color of all radios",
|
8357
8381
|
"options": [],
|
8358
8382
|
"value": {
|
8359
|
-
"type": "
|
8383
|
+
"type": "string",
|
8360
8384
|
"kind": "expression"
|
8361
8385
|
}
|
8362
8386
|
}
|
8363
8387
|
]
|
8364
8388
|
},
|
8365
8389
|
{
|
8366
|
-
"name": "
|
8390
|
+
"name": "rate",
|
8367
8391
|
"slots": [],
|
8368
8392
|
"events": [
|
8369
8393
|
{
|
@@ -8521,7 +8545,7 @@
|
|
8521
8545
|
]
|
8522
8546
|
},
|
8523
8547
|
{
|
8524
|
-
"name": "
|
8548
|
+
"name": "search",
|
8525
8549
|
"slots": [
|
8526
8550
|
{
|
8527
8551
|
"name": "left",
|
@@ -8875,7 +8899,7 @@
|
|
8875
8899
|
]
|
8876
8900
|
},
|
8877
8901
|
{
|
8878
|
-
"name": "
|
8902
|
+
"name": "share-sheet",
|
8879
8903
|
"slots": [
|
8880
8904
|
{
|
8881
8905
|
"name": "title",
|
@@ -9115,7 +9139,7 @@
|
|
9115
9139
|
]
|
9116
9140
|
},
|
9117
9141
|
{
|
9118
|
-
"name": "
|
9142
|
+
"name": "sidebar",
|
9119
9143
|
"slots": [],
|
9120
9144
|
"events": [
|
9121
9145
|
{
|
@@ -9143,7 +9167,7 @@
|
|
9143
9167
|
]
|
9144
9168
|
},
|
9145
9169
|
{
|
9146
|
-
"name": "
|
9170
|
+
"name": "sidebar-item",
|
9147
9171
|
"slots": [
|
9148
9172
|
{
|
9149
9173
|
"name": "title",
|
@@ -9246,7 +9270,7 @@
|
|
9246
9270
|
]
|
9247
9271
|
},
|
9248
9272
|
{
|
9249
|
-
"name": "
|
9273
|
+
"name": "skeleton",
|
9250
9274
|
"slots": [],
|
9251
9275
|
"events": [],
|
9252
9276
|
"attributes": [
|
@@ -9353,7 +9377,7 @@
|
|
9353
9377
|
]
|
9354
9378
|
},
|
9355
9379
|
{
|
9356
|
-
"name": "
|
9380
|
+
"name": "slider",
|
9357
9381
|
"slots": [
|
9358
9382
|
{
|
9359
9383
|
"name": "button",
|
@@ -9543,84 +9567,7 @@
|
|
9543
9567
|
]
|
9544
9568
|
},
|
9545
9569
|
{
|
9546
|
-
"name": "
|
9547
|
-
"slots": [],
|
9548
|
-
"events": [
|
9549
|
-
{
|
9550
|
-
"name": "change",
|
9551
|
-
"description": "Emitted when sticky status changed",
|
9552
|
-
"arguments": [
|
9553
|
-
{
|
9554
|
-
"name": "isFixed",
|
9555
|
-
"type": "boolean"
|
9556
|
-
}
|
9557
|
-
]
|
9558
|
-
},
|
9559
|
-
{
|
9560
|
-
"name": "scroll",
|
9561
|
-
"description": "Emitted when scrolling",
|
9562
|
-
"arguments": [
|
9563
|
-
{
|
9564
|
-
"name": "{ scrollTop: number, isFixed: boolean }"
|
9565
|
-
}
|
9566
|
-
]
|
9567
|
-
}
|
9568
|
-
],
|
9569
|
-
"attributes": [
|
9570
|
-
{
|
9571
|
-
"name": "position",
|
9572
|
-
"default": "`top`",
|
9573
|
-
"description": "Offset position, can be set to `bottom`",
|
9574
|
-
"options": [],
|
9575
|
-
"value": {
|
9576
|
-
"type": "string",
|
9577
|
-
"kind": "expression"
|
9578
|
-
}
|
9579
|
-
},
|
9580
|
-
{
|
9581
|
-
"name": "offset-top",
|
9582
|
-
"default": "`0`",
|
9583
|
-
"description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
|
9584
|
-
"options": [],
|
9585
|
-
"value": {
|
9586
|
-
"type": "number | string",
|
9587
|
-
"kind": "expression"
|
9588
|
-
}
|
9589
|
-
},
|
9590
|
-
{
|
9591
|
-
"name": "offset-bottom",
|
9592
|
-
"default": "`0`",
|
9593
|
-
"description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
|
9594
|
-
"options": [],
|
9595
|
-
"value": {
|
9596
|
-
"type": "number | string",
|
9597
|
-
"kind": "expression"
|
9598
|
-
}
|
9599
|
-
},
|
9600
|
-
{
|
9601
|
-
"name": "z-index",
|
9602
|
-
"default": "`99`",
|
9603
|
-
"description": "z-index when sticky",
|
9604
|
-
"options": [],
|
9605
|
-
"value": {
|
9606
|
-
"type": "number | string",
|
9607
|
-
"kind": "expression"
|
9608
|
-
}
|
9609
|
-
},
|
9610
|
-
{
|
9611
|
-
"name": "container",
|
9612
|
-
"default": "-",
|
9613
|
-
"description": "Container DOM",
|
9614
|
-
"options": [],
|
9615
|
-
"value": {
|
9616
|
-
"type": "Element",
|
9617
|
-
"kind": "expression"
|
9618
|
-
}
|
9619
|
-
}
|
9620
|
-
]
|
9621
|
-
},
|
9622
|
-
{
|
9623
|
-
"name": "van-stepper",
|
9570
|
+
"name": "stepper",
|
9624
9571
|
"slots": [],
|
9625
9572
|
"events": [
|
9626
9573
|
{
|
@@ -9727,7 +9674,7 @@
|
|
9727
9674
|
{
|
9728
9675
|
"name": "name",
|
9729
9676
|
"default": "-",
|
9730
|
-
"description": "Stepper name",
|
9677
|
+
"description": "Stepper name, usually a unique string or number",
|
9731
9678
|
"options": [],
|
9732
9679
|
"value": {
|
9733
9680
|
"type": "number | string",
|
@@ -9897,7 +9844,7 @@
|
|
9897
9844
|
]
|
9898
9845
|
},
|
9899
9846
|
{
|
9900
|
-
"name": "
|
9847
|
+
"name": "steps",
|
9901
9848
|
"slots": [],
|
9902
9849
|
"events": [
|
9903
9850
|
{
|
@@ -9995,7 +9942,7 @@
|
|
9995
9942
|
]
|
9996
9943
|
},
|
9997
9944
|
{
|
9998
|
-
"name": "
|
9945
|
+
"name": "step",
|
9999
9946
|
"slots": [
|
10000
9947
|
{
|
10001
9948
|
"name": "default",
|
@@ -10010,15 +9957,92 @@
|
|
10010
9957
|
"description": "Custom inactive icon"
|
10011
9958
|
},
|
10012
9959
|
{
|
10013
|
-
"name": "finish-icon",
|
10014
|
-
"description": "Custom finish icon"
|
9960
|
+
"name": "finish-icon",
|
9961
|
+
"description": "Custom finish icon"
|
9962
|
+
}
|
9963
|
+
],
|
9964
|
+
"events": [],
|
9965
|
+
"attributes": []
|
9966
|
+
},
|
9967
|
+
{
|
9968
|
+
"name": "sticky",
|
9969
|
+
"slots": [],
|
9970
|
+
"events": [
|
9971
|
+
{
|
9972
|
+
"name": "change",
|
9973
|
+
"description": "Emitted when sticky status changed",
|
9974
|
+
"arguments": [
|
9975
|
+
{
|
9976
|
+
"name": "isFixed",
|
9977
|
+
"type": "boolean"
|
9978
|
+
}
|
9979
|
+
]
|
9980
|
+
},
|
9981
|
+
{
|
9982
|
+
"name": "scroll",
|
9983
|
+
"description": "Emitted when scrolling",
|
9984
|
+
"arguments": [
|
9985
|
+
{
|
9986
|
+
"name": "{ scrollTop: number, isFixed: boolean }"
|
9987
|
+
}
|
9988
|
+
]
|
9989
|
+
}
|
9990
|
+
],
|
9991
|
+
"attributes": [
|
9992
|
+
{
|
9993
|
+
"name": "position",
|
9994
|
+
"default": "`top`",
|
9995
|
+
"description": "Offset position, can be set to `bottom`",
|
9996
|
+
"options": [],
|
9997
|
+
"value": {
|
9998
|
+
"type": "string",
|
9999
|
+
"kind": "expression"
|
10000
|
+
}
|
10001
|
+
},
|
10002
|
+
{
|
10003
|
+
"name": "offset-top",
|
10004
|
+
"default": "`0`",
|
10005
|
+
"description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
|
10006
|
+
"options": [],
|
10007
|
+
"value": {
|
10008
|
+
"type": "number | string",
|
10009
|
+
"kind": "expression"
|
10010
|
+
}
|
10011
|
+
},
|
10012
|
+
{
|
10013
|
+
"name": "offset-bottom",
|
10014
|
+
"default": "`0`",
|
10015
|
+
"description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
|
10016
|
+
"options": [],
|
10017
|
+
"value": {
|
10018
|
+
"type": "number | string",
|
10019
|
+
"kind": "expression"
|
10020
|
+
}
|
10021
|
+
},
|
10022
|
+
{
|
10023
|
+
"name": "z-index",
|
10024
|
+
"default": "`99`",
|
10025
|
+
"description": "z-index when sticky",
|
10026
|
+
"options": [],
|
10027
|
+
"value": {
|
10028
|
+
"type": "number | string",
|
10029
|
+
"kind": "expression"
|
10030
|
+
}
|
10031
|
+
},
|
10032
|
+
{
|
10033
|
+
"name": "container",
|
10034
|
+
"default": "-",
|
10035
|
+
"description": "Container DOM",
|
10036
|
+
"options": [],
|
10037
|
+
"value": {
|
10038
|
+
"type": "Element",
|
10039
|
+
"kind": "expression"
|
10040
|
+
}
|
10015
10041
|
}
|
10016
|
-
]
|
10017
|
-
"events": [],
|
10018
|
-
"attributes": []
|
10042
|
+
]
|
10019
10043
|
},
|
10020
10044
|
{
|
10021
|
-
"name": "
|
10045
|
+
"name": "submit-bar",
|
10022
10046
|
"slots": [
|
10023
10047
|
{
|
10024
10048
|
"name": "default",
|
@@ -10184,11 +10208,21 @@
|
|
10184
10208
|
"type": "boolean",
|
10185
10209
|
"kind": "expression"
|
10186
10210
|
}
|
10211
|
+
},
|
10212
|
+
{
|
10213
|
+
"name": "placeholder",
|
10214
|
+
"default": "`false`",
|
10215
|
+
"description": "Whether to generate a placeholder element",
|
10216
|
+
"options": [],
|
10217
|
+
"value": {
|
10218
|
+
"type": "boolean",
|
10219
|
+
"kind": "expression"
|
10220
|
+
}
|
10187
10221
|
}
|
10188
10222
|
]
|
10189
10223
|
},
|
10190
10224
|
{
|
10191
|
-
"name": "
|
10225
|
+
"name": "swipe",
|
10192
10226
|
"slots": [
|
10193
10227
|
{
|
10194
10228
|
"name": "default",
|
@@ -10335,7 +10369,7 @@
|
|
10335
10369
|
]
|
10336
10370
|
},
|
10337
10371
|
{
|
10338
|
-
"name": "
|
10372
|
+
"name": "swipe-item",
|
10339
10373
|
"slots": [],
|
10340
10374
|
"events": [
|
10341
10375
|
{
|
@@ -10352,7 +10386,7 @@
|
|
10352
10386
|
"attributes": []
|
10353
10387
|
},
|
10354
10388
|
{
|
10355
|
-
"name": "
|
10389
|
+
"name": "swipe-cell",
|
10356
10390
|
"slots": [
|
10357
10391
|
{
|
10358
10392
|
"name": "default",
|
@@ -10403,7 +10437,7 @@
|
|
10403
10437
|
{
|
10404
10438
|
"name": "name",
|
10405
10439
|
"default": "-",
|
10406
|
-
"description": "Identifier of SwipeCell",
|
10440
|
+
"description": "Identifier of SwipeCell, usually a unique string or number",
|
10407
10441
|
"options": [],
|
10408
10442
|
"value": {
|
10409
10443
|
"type": "number | string",
|
@@ -10463,124 +10497,7 @@
|
|
10463
10497
|
]
|
10464
10498
|
},
|
10465
10499
|
{
|
10466
|
-
"name": "
|
10467
|
-
"slots": [
|
10468
|
-
{
|
10469
|
-
"name": "node",
|
10470
|
-
"description": "Custom the content of node"
|
10471
|
-
},
|
10472
|
-
{
|
10473
|
-
"name": "background",
|
10474
|
-
"description": "Custom the background of switch"
|
10475
|
-
}
|
10476
|
-
],
|
10477
|
-
"events": [
|
10478
|
-
{
|
10479
|
-
"name": "change",
|
10480
|
-
"description": "Emitted when check status changed",
|
10481
|
-
"arguments": [
|
10482
|
-
{
|
10483
|
-
"name": "value",
|
10484
|
-
"type": "any"
|
10485
|
-
}
|
10486
|
-
]
|
10487
|
-
},
|
10488
|
-
{
|
10489
|
-
"name": "click",
|
10490
|
-
"description": "Emitted when component is clicked",
|
10491
|
-
"arguments": [
|
10492
|
-
{
|
10493
|
-
"name": "event",
|
10494
|
-
"type": "MouseEvent"
|
10495
|
-
}
|
10496
|
-
]
|
10497
|
-
}
|
10498
|
-
],
|
10499
|
-
"attributes": [
|
10500
|
-
{
|
10501
|
-
"name": "v-model",
|
10502
|
-
"default": "`false`",
|
10503
|
-
"description": "Check status of Switch",
|
10504
|
-
"options": [],
|
10505
|
-
"value": {
|
10506
|
-
"type": "ActiveValue | InactiveValue",
|
10507
|
-
"kind": "expression"
|
10508
|
-
}
|
10509
|
-
},
|
10510
|
-
{
|
10511
|
-
"name": "loading",
|
10512
|
-
"default": "`false`",
|
10513
|
-
"description": "Whether to show loading icon",
|
10514
|
-
"options": [],
|
10515
|
-
"value": {
|
10516
|
-
"type": "boolean",
|
10517
|
-
"kind": "expression"
|
10518
|
-
}
|
10519
|
-
},
|
10520
|
-
{
|
10521
|
-
"name": "disabled",
|
10522
|
-
"default": "`false`",
|
10523
|
-
"description": "Whether to disable switch",
|
10524
|
-
"options": [],
|
10525
|
-
"value": {
|
10526
|
-
"type": "boolean",
|
10527
|
-
"kind": "expression"
|
10528
|
-
}
|
10529
|
-
},
|
10530
|
-
{
|
10531
|
-
"name": "size",
|
10532
|
-
"default": "`30px`",
|
10533
|
-
"description": "Size of switch",
|
10534
|
-
"options": [],
|
10535
|
-
"value": {
|
10536
|
-
"type": "number | string",
|
10537
|
-
"kind": "expression"
|
10538
|
-
}
|
10539
|
-
},
|
10540
|
-
{
|
10541
|
-
"name": "active-color",
|
10542
|
-
"default": "`#1989fa`",
|
10543
|
-
"description": "Background color when active",
|
10544
|
-
"options": [],
|
10545
|
-
"value": {
|
10546
|
-
"type": "string",
|
10547
|
-
"kind": "expression"
|
10548
|
-
}
|
10549
|
-
},
|
10550
|
-
{
|
10551
|
-
"name": "inactive-color",
|
10552
|
-
"default": "`white`",
|
10553
|
-
"description": "Background color when inactive",
|
10554
|
-
"options": [],
|
10555
|
-
"value": {
|
10556
|
-
"type": "string",
|
10557
|
-
"kind": "expression"
|
10558
|
-
}
|
10559
|
-
},
|
10560
|
-
{
|
10561
|
-
"name": "active-value",
|
10562
|
-
"default": "`true`",
|
10563
|
-
"description": "Value when active",
|
10564
|
-
"options": [],
|
10565
|
-
"value": {
|
10566
|
-
"type": "any",
|
10567
|
-
"kind": "expression"
|
10568
|
-
}
|
10569
|
-
},
|
10570
|
-
{
|
10571
|
-
"name": "inactive-value",
|
10572
|
-
"default": "`false`",
|
10573
|
-
"description": "Value when inactive",
|
10574
|
-
"options": [],
|
10575
|
-
"value": {
|
10576
|
-
"type": "any",
|
10577
|
-
"kind": "expression"
|
10578
|
-
}
|
10579
|
-
}
|
10580
|
-
]
|
10581
|
-
},
|
10582
|
-
{
|
10583
|
-
"name": "van-tabs",
|
10500
|
+
"name": "tabs",
|
10584
10501
|
"slots": [
|
10585
10502
|
{
|
10586
10503
|
"name": "nav-left",
|
@@ -10847,7 +10764,7 @@
|
|
10847
10764
|
]
|
10848
10765
|
},
|
10849
10766
|
{
|
10850
|
-
"name": "
|
10767
|
+
"name": "tab",
|
10851
10768
|
"slots": [
|
10852
10769
|
{
|
10853
10770
|
"name": "default",
|
@@ -10973,7 +10890,124 @@
|
|
10973
10890
|
]
|
10974
10891
|
},
|
10975
10892
|
{
|
10976
|
-
"name": "
|
10893
|
+
"name": "switch",
|
10894
|
+
"slots": [
|
10895
|
+
{
|
10896
|
+
"name": "node",
|
10897
|
+
"description": "Custom the content of node"
|
10898
|
+
},
|
10899
|
+
{
|
10900
|
+
"name": "background",
|
10901
|
+
"description": "Custom the background of switch"
|
10902
|
+
}
|
10903
|
+
],
|
10904
|
+
"events": [
|
10905
|
+
{
|
10906
|
+
"name": "change",
|
10907
|
+
"description": "Emitted when check status changed",
|
10908
|
+
"arguments": [
|
10909
|
+
{
|
10910
|
+
"name": "value",
|
10911
|
+
"type": "any"
|
10912
|
+
}
|
10913
|
+
]
|
10914
|
+
},
|
10915
|
+
{
|
10916
|
+
"name": "click",
|
10917
|
+
"description": "Emitted when component is clicked",
|
10918
|
+
"arguments": [
|
10919
|
+
{
|
10920
|
+
"name": "event",
|
10921
|
+
"type": "MouseEvent"
|
10922
|
+
}
|
10923
|
+
]
|
10924
|
+
}
|
10925
|
+
],
|
10926
|
+
"attributes": [
|
10927
|
+
{
|
10928
|
+
"name": "v-model",
|
10929
|
+
"default": "`false`",
|
10930
|
+
"description": "Check status of Switch",
|
10931
|
+
"options": [],
|
10932
|
+
"value": {
|
10933
|
+
"type": "ActiveValue | InactiveValue",
|
10934
|
+
"kind": "expression"
|
10935
|
+
}
|
10936
|
+
},
|
10937
|
+
{
|
10938
|
+
"name": "loading",
|
10939
|
+
"default": "`false`",
|
10940
|
+
"description": "Whether to show loading icon",
|
10941
|
+
"options": [],
|
10942
|
+
"value": {
|
10943
|
+
"type": "boolean",
|
10944
|
+
"kind": "expression"
|
10945
|
+
}
|
10946
|
+
},
|
10947
|
+
{
|
10948
|
+
"name": "disabled",
|
10949
|
+
"default": "`false`",
|
10950
|
+
"description": "Whether to disable switch",
|
10951
|
+
"options": [],
|
10952
|
+
"value": {
|
10953
|
+
"type": "boolean",
|
10954
|
+
"kind": "expression"
|
10955
|
+
}
|
10956
|
+
},
|
10957
|
+
{
|
10958
|
+
"name": "size",
|
10959
|
+
"default": "`30px`",
|
10960
|
+
"description": "Size of switch",
|
10961
|
+
"options": [],
|
10962
|
+
"value": {
|
10963
|
+
"type": "number | string",
|
10964
|
+
"kind": "expression"
|
10965
|
+
}
|
10966
|
+
},
|
10967
|
+
{
|
10968
|
+
"name": "active-color",
|
10969
|
+
"default": "`#1989fa`",
|
10970
|
+
"description": "Background color when active",
|
10971
|
+
"options": [],
|
10972
|
+
"value": {
|
10973
|
+
"type": "string",
|
10974
|
+
"kind": "expression"
|
10975
|
+
}
|
10976
|
+
},
|
10977
|
+
{
|
10978
|
+
"name": "inactive-color",
|
10979
|
+
"default": "`white`",
|
10980
|
+
"description": "Background color when inactive",
|
10981
|
+
"options": [],
|
10982
|
+
"value": {
|
10983
|
+
"type": "string",
|
10984
|
+
"kind": "expression"
|
10985
|
+
}
|
10986
|
+
},
|
10987
|
+
{
|
10988
|
+
"name": "active-value",
|
10989
|
+
"default": "`true`",
|
10990
|
+
"description": "Value when active",
|
10991
|
+
"options": [],
|
10992
|
+
"value": {
|
10993
|
+
"type": "any",
|
10994
|
+
"kind": "expression"
|
10995
|
+
}
|
10996
|
+
},
|
10997
|
+
{
|
10998
|
+
"name": "inactive-value",
|
10999
|
+
"default": "`false`",
|
11000
|
+
"description": "Value when inactive",
|
11001
|
+
"options": [],
|
11002
|
+
"value": {
|
11003
|
+
"type": "any",
|
11004
|
+
"kind": "expression"
|
11005
|
+
}
|
11006
|
+
}
|
11007
|
+
]
|
11008
|
+
},
|
11009
|
+
{
|
11010
|
+
"name": "tabbar",
|
10977
11011
|
"slots": [],
|
10978
11012
|
"events": [
|
10979
11013
|
{
|
@@ -11091,7 +11125,7 @@
|
|
11091
11125
|
]
|
11092
11126
|
},
|
11093
11127
|
{
|
11094
|
-
"name": "
|
11128
|
+
"name": "tabbar-item",
|
11095
11129
|
"slots": [
|
11096
11130
|
{
|
11097
11131
|
"name": "icon",
|
@@ -11193,7 +11227,7 @@
|
|
11193
11227
|
]
|
11194
11228
|
},
|
11195
11229
|
{
|
11196
|
-
"name": "
|
11230
|
+
"name": "tag",
|
11197
11231
|
"slots": [
|
11198
11232
|
{
|
11199
11233
|
"name": "default",
|
@@ -11316,7 +11350,7 @@
|
|
11316
11350
|
]
|
11317
11351
|
},
|
11318
11352
|
{
|
11319
|
-
"name": "
|
11353
|
+
"name": "tree-select",
|
11320
11354
|
"slots": [
|
11321
11355
|
{
|
11322
11356
|
"name": "content",
|
@@ -11409,7 +11443,7 @@
|
|
11409
11443
|
]
|
11410
11444
|
},
|
11411
11445
|
{
|
11412
|
-
"name": "
|
11446
|
+
"name": "uploader",
|
11413
11447
|
"slots": [
|
11414
11448
|
{
|
11415
11449
|
"name": "default",
|
@@ -11504,7 +11538,7 @@
|
|
11504
11538
|
{
|
11505
11539
|
"name": "name",
|
11506
11540
|
"default": "-",
|
11507
|
-
"description": "Input name",
|
11541
|
+
"description": "Input name, usually a unique string or number",
|
11508
11542
|
"options": [],
|
11509
11543
|
"value": {
|
11510
11544
|
"type": "number | string",
|