vant 3.5.1 → 3.5.2
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/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/field/Field.d.ts +3 -1
- package/es/field/Field.mjs +7 -1
- package/es/field/index.d.ts +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +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/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/field/Field.d.ts +3 -1
- package/lib/field/Field.js +7 -1
- package/lib/field/index.d.ts +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +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/vant.cjs.js +50 -24
- package/lib/vant.es.js +51 -25
- package/lib/vant.js +51 -25
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +365 -357
- package/vetur/tags.json +130 -128
- package/vetur/web-types.json +1205 -1171
- 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/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.5.
|
5
|
+
"version": "3.5.2",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -20,6 +20,16 @@
|
|
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
|
},
|
@@ -833,92 +843,6 @@
|
|
833
843
|
}
|
834
844
|
]
|
835
845
|
},
|
836
|
-
{
|
837
|
-
"name": "van-badge",
|
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
846
|
{
|
923
847
|
"name": "van-address-list",
|
924
848
|
"slots": [
|
@@ -1281,6 +1205,92 @@
|
|
1281
1205
|
}
|
1282
1206
|
]
|
1283
1207
|
},
|
1208
|
+
{
|
1209
|
+
"name": "van-badge",
|
1210
|
+
"slots": [
|
1211
|
+
{
|
1212
|
+
"name": "default",
|
1213
|
+
"description": "Default slot"
|
1214
|
+
},
|
1215
|
+
{
|
1216
|
+
"name": "content",
|
1217
|
+
"description": "Custom badge content"
|
1218
|
+
}
|
1219
|
+
],
|
1220
|
+
"events": [],
|
1221
|
+
"attributes": [
|
1222
|
+
{
|
1223
|
+
"name": "content",
|
1224
|
+
"default": "-",
|
1225
|
+
"description": "Badge content",
|
1226
|
+
"options": [],
|
1227
|
+
"value": {
|
1228
|
+
"type": "number | string",
|
1229
|
+
"kind": "expression"
|
1230
|
+
}
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
"name": "color",
|
1234
|
+
"default": "`#ee0a24`",
|
1235
|
+
"description": "Background color",
|
1236
|
+
"options": [],
|
1237
|
+
"value": {
|
1238
|
+
"type": "string",
|
1239
|
+
"kind": "expression"
|
1240
|
+
}
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"name": "dot",
|
1244
|
+
"default": "`false`",
|
1245
|
+
"description": "Whether to show dot",
|
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
|
+
},
|
1284
1294
|
{
|
1285
1295
|
"name": "van-button",
|
1286
1296
|
"slots": [
|
@@ -2922,45 +2932,65 @@
|
|
2922
2932
|
]
|
2923
2933
|
},
|
2924
2934
|
{
|
2925
|
-
"name": "van-
|
2935
|
+
"name": "van-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": "
|
2971
|
+
"name": "justify",
|
2972
|
+
"default": "`start`",
|
2973
|
+
"description": "Flex main axis, can be set to end/center/space-around/space-between",
|
2974
|
+
"options": [],
|
2975
|
+
"value": {
|
2976
|
+
"type": "string",
|
2977
|
+
"kind": "expression"
|
2978
|
+
}
|
2979
|
+
},
|
2980
|
+
{
|
2981
|
+
"name": "align",
|
2982
|
+
"default": "`top`",
|
2983
|
+
"description": "Flex cross axis, be set to center/bottom",
|
2984
|
+
"options": [],
|
2985
|
+
"value": {
|
2986
|
+
"type": "string",
|
2987
|
+
"kind": "expression"
|
2988
|
+
}
|
2989
|
+
},
|
2990
|
+
{
|
2991
|
+
"name": "wrap",
|
2962
2992
|
"default": "`true`",
|
2963
|
-
"description": "Whether to
|
2993
|
+
"description": "Whether to wrap",
|
2964
2994
|
"options": [],
|
2965
2995
|
"value": {
|
2966
2996
|
"type": "boolean",
|
@@ -2970,11 +3000,107 @@
|
|
2970
3000
|
]
|
2971
3001
|
},
|
2972
3002
|
{
|
2973
|
-
"name": "van-
|
2974
|
-
"slots": [
|
3003
|
+
"name": "van-col",
|
3004
|
+
"slots": [],
|
3005
|
+
"events": [
|
2975
3006
|
{
|
2976
|
-
"name": "
|
2977
|
-
"description": "
|
3007
|
+
"name": "click",
|
3008
|
+
"description": "Emitted when the col is clicked",
|
3009
|
+
"arguments": [
|
3010
|
+
{
|
3011
|
+
"name": "event",
|
3012
|
+
"type": "MouseEvent"
|
3013
|
+
}
|
3014
|
+
]
|
3015
|
+
}
|
3016
|
+
],
|
3017
|
+
"attributes": [
|
3018
|
+
{
|
3019
|
+
"name": "span",
|
3020
|
+
"default": "-",
|
3021
|
+
"description": "number of column the grid spans",
|
3022
|
+
"options": [],
|
3023
|
+
"value": {
|
3024
|
+
"type": "number | string",
|
3025
|
+
"kind": "expression"
|
3026
|
+
}
|
3027
|
+
},
|
3028
|
+
{
|
3029
|
+
"name": "offset",
|
3030
|
+
"default": "-",
|
3031
|
+
"description": "number of spacing on the left side of the grid",
|
3032
|
+
"options": [],
|
3033
|
+
"value": {
|
3034
|
+
"type": "number | string",
|
3035
|
+
"kind": "expression"
|
3036
|
+
}
|
3037
|
+
},
|
3038
|
+
{
|
3039
|
+
"name": "tag",
|
3040
|
+
"default": "`div`",
|
3041
|
+
"description": "Custom element tag",
|
3042
|
+
"options": [],
|
3043
|
+
"value": {
|
3044
|
+
"type": "string",
|
3045
|
+
"kind": "expression"
|
3046
|
+
}
|
3047
|
+
}
|
3048
|
+
]
|
3049
|
+
},
|
3050
|
+
{
|
3051
|
+
"name": "van-collapse",
|
3052
|
+
"slots": [],
|
3053
|
+
"events": [
|
3054
|
+
{
|
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",
|
3068
|
+
"default": "-",
|
3069
|
+
"description": "Names of current active panels",
|
3070
|
+
"options": [],
|
3071
|
+
"value": {
|
3072
|
+
"type": "accordion mode: _number | string_<br>non-accordion mode: _(number | string)[]",
|
3073
|
+
"kind": "expression"
|
3074
|
+
}
|
3075
|
+
},
|
3076
|
+
{
|
3077
|
+
"name": "accordion",
|
3078
|
+
"default": "`false`",
|
3079
|
+
"description": "Whether to be accordion mode",
|
3080
|
+
"options": [],
|
3081
|
+
"value": {
|
3082
|
+
"type": "boolean",
|
3083
|
+
"kind": "expression"
|
3084
|
+
}
|
3085
|
+
},
|
3086
|
+
{
|
3087
|
+
"name": "border",
|
3088
|
+
"default": "`true`",
|
3089
|
+
"description": "Whether to show outer border",
|
3090
|
+
"options": [],
|
3091
|
+
"value": {
|
3092
|
+
"type": "boolean",
|
3093
|
+
"kind": "expression"
|
3094
|
+
}
|
3095
|
+
}
|
3096
|
+
]
|
3097
|
+
},
|
3098
|
+
{
|
3099
|
+
"name": "van-collapse-item",
|
3100
|
+
"slots": [
|
3101
|
+
{
|
3102
|
+
"name": "default",
|
3103
|
+
"description": "Content"
|
2978
3104
|
},
|
2979
3105
|
{
|
2980
3106
|
"name": "title",
|
@@ -3141,122 +3267,6 @@
|
|
3141
3267
|
}
|
3142
3268
|
]
|
3143
3269
|
},
|
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": [
|
3160
|
-
{
|
3161
|
-
"name": "gutter",
|
3162
|
-
"default": "-",
|
3163
|
-
"description": "Grid spacing(px)",
|
3164
|
-
"options": [],
|
3165
|
-
"value": {
|
3166
|
-
"type": "number | string",
|
3167
|
-
"kind": "expression"
|
3168
|
-
}
|
3169
|
-
},
|
3170
|
-
{
|
3171
|
-
"name": "tag",
|
3172
|
-
"default": "`div`",
|
3173
|
-
"description": "Custom element tag",
|
3174
|
-
"options": [],
|
3175
|
-
"value": {
|
3176
|
-
"type": "string",
|
3177
|
-
"kind": "expression"
|
3178
|
-
}
|
3179
|
-
},
|
3180
|
-
{
|
3181
|
-
"name": "justify",
|
3182
|
-
"default": "`start`",
|
3183
|
-
"description": "Flex main axis, can be set to end/center/space-around/space-between",
|
3184
|
-
"options": [],
|
3185
|
-
"value": {
|
3186
|
-
"type": "string",
|
3187
|
-
"kind": "expression"
|
3188
|
-
}
|
3189
|
-
},
|
3190
|
-
{
|
3191
|
-
"name": "align",
|
3192
|
-
"default": "`top`",
|
3193
|
-
"description": "Flex cross axis, be set to center/bottom",
|
3194
|
-
"options": [],
|
3195
|
-
"value": {
|
3196
|
-
"type": "string",
|
3197
|
-
"kind": "expression"
|
3198
|
-
}
|
3199
|
-
},
|
3200
|
-
{
|
3201
|
-
"name": "wrap",
|
3202
|
-
"default": "`true`",
|
3203
|
-
"description": "Whether to wrap",
|
3204
|
-
"options": [],
|
3205
|
-
"value": {
|
3206
|
-
"type": "boolean",
|
3207
|
-
"kind": "expression"
|
3208
|
-
}
|
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": [
|
3228
|
-
{
|
3229
|
-
"name": "span",
|
3230
|
-
"default": "-",
|
3231
|
-
"description": "number of column the grid spans",
|
3232
|
-
"options": [],
|
3233
|
-
"value": {
|
3234
|
-
"type": "number | string",
|
3235
|
-
"kind": "expression"
|
3236
|
-
}
|
3237
|
-
},
|
3238
|
-
{
|
3239
|
-
"name": "offset",
|
3240
|
-
"default": "-",
|
3241
|
-
"description": "number of spacing on the left side of the grid",
|
3242
|
-
"options": [],
|
3243
|
-
"value": {
|
3244
|
-
"type": "number | string",
|
3245
|
-
"kind": "expression"
|
3246
|
-
}
|
3247
|
-
},
|
3248
|
-
{
|
3249
|
-
"name": "tag",
|
3250
|
-
"default": "`div`",
|
3251
|
-
"description": "Custom element tag",
|
3252
|
-
"options": [],
|
3253
|
-
"value": {
|
3254
|
-
"type": "string",
|
3255
|
-
"kind": "expression"
|
3256
|
-
}
|
3257
|
-
}
|
3258
|
-
]
|
3259
|
-
},
|
3260
3270
|
{
|
3261
3271
|
"name": "van-config-provider",
|
3262
3272
|
"slots": [],
|
@@ -3461,48 +3471,35 @@
|
|
3461
3471
|
]
|
3462
3472
|
},
|
3463
3473
|
{
|
3464
|
-
"name": "van-
|
3465
|
-
"slots": [
|
3474
|
+
"name": "van-count-down",
|
3475
|
+
"slots": [
|
3476
|
+
{
|
3477
|
+
"name": "default",
|
3478
|
+
"description": "Custom Content"
|
3479
|
+
}
|
3480
|
+
],
|
3466
3481
|
"events": [
|
3467
3482
|
{
|
3468
|
-
"name": "
|
3469
|
-
"description": "Emitted when
|
3483
|
+
"name": "finish",
|
3484
|
+
"description": "Emitted when count down finished",
|
3470
3485
|
"arguments": []
|
3471
3486
|
},
|
3472
3487
|
{
|
3473
|
-
"name": "
|
3474
|
-
"description": "Emitted when
|
3475
|
-
"arguments": [
|
3476
|
-
{
|
3477
|
-
"name": "contact",
|
3478
|
-
"type": "Contact"
|
3479
|
-
},
|
3480
|
-
{
|
3481
|
-
"name": "index",
|
3482
|
-
"type": "number"
|
3483
|
-
}
|
3484
|
-
]
|
3485
|
-
},
|
3486
|
-
{
|
3487
|
-
"name": "select",
|
3488
|
-
"description": "Emitted when a contact is selected",
|
3488
|
+
"name": "change",
|
3489
|
+
"description": "Emitted when count down changed",
|
3489
3490
|
"arguments": [
|
3490
3491
|
{
|
3491
|
-
"name": "
|
3492
|
-
"type": "
|
3493
|
-
},
|
3494
|
-
{
|
3495
|
-
"name": "index",
|
3496
|
-
"type": "number"
|
3492
|
+
"name": "currentTime",
|
3493
|
+
"type": "CurrentTime"
|
3497
3494
|
}
|
3498
3495
|
]
|
3499
3496
|
}
|
3500
3497
|
],
|
3501
3498
|
"attributes": [
|
3502
3499
|
{
|
3503
|
-
"name": "
|
3504
|
-
"default": "
|
3505
|
-
"description": "
|
3500
|
+
"name": "time",
|
3501
|
+
"default": "`0`",
|
3502
|
+
"description": "Total time, unit milliseconds",
|
3506
3503
|
"options": [],
|
3507
3504
|
"value": {
|
3508
3505
|
"type": "number | string",
|
@@ -3510,90 +3507,22 @@
|
|
3510
3507
|
}
|
3511
3508
|
},
|
3512
3509
|
{
|
3513
|
-
"name": "
|
3514
|
-
"default": "`
|
3515
|
-
"description": "
|
3510
|
+
"name": "format",
|
3511
|
+
"default": "`HH:mm:ss`",
|
3512
|
+
"description": "Time format",
|
3516
3513
|
"options": [],
|
3517
3514
|
"value": {
|
3518
|
-
"type": "
|
3515
|
+
"type": "string",
|
3519
3516
|
"kind": "expression"
|
3520
3517
|
}
|
3521
3518
|
},
|
3522
3519
|
{
|
3523
|
-
"name": "
|
3524
|
-
"default": "`
|
3525
|
-
"description": "
|
3520
|
+
"name": "auto-start",
|
3521
|
+
"default": "`true`",
|
3522
|
+
"description": "Whether to auto start count down",
|
3526
3523
|
"options": [],
|
3527
3524
|
"value": {
|
3528
|
-
"type": "
|
3529
|
-
"kind": "expression"
|
3530
|
-
}
|
3531
|
-
},
|
3532
|
-
{
|
3533
|
-
"name": "default-tag-text",
|
3534
|
-
"default": "-",
|
3535
|
-
"description": "Default tag text",
|
3536
|
-
"options": [],
|
3537
|
-
"value": {
|
3538
|
-
"type": "string",
|
3539
|
-
"kind": "expression"
|
3540
|
-
}
|
3541
|
-
}
|
3542
|
-
]
|
3543
|
-
},
|
3544
|
-
{
|
3545
|
-
"name": "van-count-down",
|
3546
|
-
"slots": [
|
3547
|
-
{
|
3548
|
-
"name": "default",
|
3549
|
-
"description": "Custom Content"
|
3550
|
-
}
|
3551
|
-
],
|
3552
|
-
"events": [
|
3553
|
-
{
|
3554
|
-
"name": "finish",
|
3555
|
-
"description": "Emitted when count down finished",
|
3556
|
-
"arguments": []
|
3557
|
-
},
|
3558
|
-
{
|
3559
|
-
"name": "change",
|
3560
|
-
"description": "Emitted when count down changed",
|
3561
|
-
"arguments": [
|
3562
|
-
{
|
3563
|
-
"name": "currentTime",
|
3564
|
-
"type": "CurrentTime"
|
3565
|
-
}
|
3566
|
-
]
|
3567
|
-
}
|
3568
|
-
],
|
3569
|
-
"attributes": [
|
3570
|
-
{
|
3571
|
-
"name": "time",
|
3572
|
-
"default": "`0`",
|
3573
|
-
"description": "Total time, unit milliseconds",
|
3574
|
-
"options": [],
|
3575
|
-
"value": {
|
3576
|
-
"type": "number | string",
|
3577
|
-
"kind": "expression"
|
3578
|
-
}
|
3579
|
-
},
|
3580
|
-
{
|
3581
|
-
"name": "format",
|
3582
|
-
"default": "`HH:mm:ss`",
|
3583
|
-
"description": "Time format",
|
3584
|
-
"options": [],
|
3585
|
-
"value": {
|
3586
|
-
"type": "string",
|
3587
|
-
"kind": "expression"
|
3588
|
-
}
|
3589
|
-
},
|
3590
|
-
{
|
3591
|
-
"name": "auto-start",
|
3592
|
-
"default": "`true`",
|
3593
|
-
"description": "Whether to auto start count down",
|
3594
|
-
"options": [],
|
3595
|
-
"value": {
|
3596
|
-
"type": "boolean",
|
3525
|
+
"type": "boolean",
|
3597
3526
|
"kind": "expression"
|
3598
3527
|
}
|
3599
3528
|
},
|
@@ -3610,233 +3539,48 @@
|
|
3610
3539
|
]
|
3611
3540
|
},
|
3612
3541
|
{
|
3613
|
-
"name": "van-
|
3614
|
-
"slots": [
|
3615
|
-
|
3616
|
-
"name": "default",
|
3617
|
-
"description": "Custom toolbar content"
|
3618
|
-
},
|
3619
|
-
{
|
3620
|
-
"name": "title",
|
3621
|
-
"description": "Custom title"
|
3622
|
-
},
|
3623
|
-
{
|
3624
|
-
"name": "confirm",
|
3625
|
-
"description": "Custom confirm button text"
|
3626
|
-
},
|
3627
|
-
{
|
3628
|
-
"name": "cancel",
|
3629
|
-
"description": "Custom cancel button text"
|
3630
|
-
},
|
3631
|
-
{
|
3632
|
-
"name": "option",
|
3633
|
-
"description": "Custom option content"
|
3634
|
-
},
|
3542
|
+
"name": "van-contact-list",
|
3543
|
+
"slots": [],
|
3544
|
+
"events": [
|
3635
3545
|
{
|
3636
|
-
"name": "
|
3637
|
-
"description": "
|
3546
|
+
"name": "add",
|
3547
|
+
"description": "Emitted when the add button is clicked",
|
3548
|
+
"arguments": []
|
3638
3549
|
},
|
3639
3550
|
{
|
3640
|
-
"name": "
|
3641
|
-
"description": "
|
3642
|
-
}
|
3643
|
-
],
|
3644
|
-
"events": [
|
3645
|
-
{
|
3646
|
-
"name": "change",
|
3647
|
-
"description": "Emitted when value changed",
|
3551
|
+
"name": "edit",
|
3552
|
+
"description": "Emitted when the edit button is clicked",
|
3648
3553
|
"arguments": [
|
3649
3554
|
{
|
3650
|
-
"name": "
|
3651
|
-
"type": "
|
3555
|
+
"name": "contact",
|
3556
|
+
"type": "Contact"
|
3557
|
+
},
|
3558
|
+
{
|
3559
|
+
"name": "index",
|
3560
|
+
"type": "number"
|
3652
3561
|
}
|
3653
3562
|
]
|
3654
3563
|
},
|
3655
3564
|
{
|
3656
|
-
"name": "
|
3657
|
-
"description": "Emitted when
|
3565
|
+
"name": "select",
|
3566
|
+
"description": "Emitted when a contact is selected",
|
3658
3567
|
"arguments": [
|
3659
3568
|
{
|
3660
|
-
"name": "
|
3661
|
-
"type": "
|
3569
|
+
"name": "contact",
|
3570
|
+
"type": "Contact"
|
3571
|
+
},
|
3572
|
+
{
|
3573
|
+
"name": "index",
|
3574
|
+
"type": "number"
|
3662
3575
|
}
|
3663
3576
|
]
|
3664
|
-
},
|
3665
|
-
{
|
3666
|
-
"name": "cancel",
|
3667
|
-
"description": "Emitted when the cancel button is clicked",
|
3668
|
-
"arguments": []
|
3669
3577
|
}
|
3670
3578
|
],
|
3671
3579
|
"attributes": [
|
3672
3580
|
{
|
3673
|
-
"name": "
|
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",
|
3696
|
-
"options": [],
|
3697
|
-
"value": {
|
3698
|
-
"type": "string",
|
3699
|
-
"kind": "expression"
|
3700
|
-
}
|
3701
|
-
},
|
3702
|
-
{
|
3703
|
-
"name": "cancel-button-text",
|
3704
|
-
"default": "`Cancel`",
|
3705
|
-
"description": "Text of cancel button",
|
3706
|
-
"options": [],
|
3707
|
-
"value": {
|
3708
|
-
"type": "string",
|
3709
|
-
"kind": "expression"
|
3710
|
-
}
|
3711
|
-
},
|
3712
|
-
{
|
3713
|
-
"name": "show-toolbar",
|
3714
|
-
"default": "`true`",
|
3715
|
-
"description": "Whether to show toolbar",
|
3716
|
-
"options": [],
|
3717
|
-
"value": {
|
3718
|
-
"type": "boolean",
|
3719
|
-
"kind": "expression"
|
3720
|
-
}
|
3721
|
-
},
|
3722
|
-
{
|
3723
|
-
"name": "loading",
|
3724
|
-
"default": "`false`",
|
3725
|
-
"description": "Whether to show loading prompt",
|
3726
|
-
"options": [],
|
3727
|
-
"value": {
|
3728
|
-
"type": "boolean",
|
3729
|
-
"kind": "expression"
|
3730
|
-
}
|
3731
|
-
},
|
3732
|
-
{
|
3733
|
-
"name": "readonly",
|
3734
|
-
"default": "`false`",
|
3735
|
-
"description": "Whether to be readonly",
|
3736
|
-
"options": [],
|
3737
|
-
"value": {
|
3738
|
-
"type": "boolean",
|
3739
|
-
"kind": "expression"
|
3740
|
-
}
|
3741
|
-
},
|
3742
|
-
{
|
3743
|
-
"name": "filter",
|
3744
|
-
"default": "-",
|
3745
|
-
"description": "Option filter",
|
3746
|
-
"options": [],
|
3747
|
-
"value": {
|
3748
|
-
"type": "(type: string, values: string[]) => string[]",
|
3749
|
-
"kind": "expression"
|
3750
|
-
}
|
3751
|
-
},
|
3752
|
-
{
|
3753
|
-
"name": "formatter",
|
3754
|
-
"default": "-",
|
3755
|
-
"description": "Option text formatter",
|
3756
|
-
"options": [],
|
3757
|
-
"value": {
|
3758
|
-
"type": "(type: string, value: string) => string",
|
3759
|
-
"kind": "expression"
|
3760
|
-
}
|
3761
|
-
},
|
3762
|
-
{
|
3763
|
-
"name": "columns-order",
|
3581
|
+
"name": "v-model",
|
3764
3582
|
"default": "-",
|
3765
|
-
"description": "
|
3766
|
-
"options": [],
|
3767
|
-
"value": {
|
3768
|
-
"type": "string[]",
|
3769
|
-
"kind": "expression"
|
3770
|
-
}
|
3771
|
-
},
|
3772
|
-
{
|
3773
|
-
"name": "item-height",
|
3774
|
-
"default": "`44`",
|
3775
|
-
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
3776
|
-
"options": [],
|
3777
|
-
"value": {
|
3778
|
-
"type": "number | string",
|
3779
|
-
"kind": "expression"
|
3780
|
-
}
|
3781
|
-
},
|
3782
|
-
{
|
3783
|
-
"name": "visible-item-count",
|
3784
|
-
"default": "`6`",
|
3785
|
-
"description": "Count of visible columns",
|
3786
|
-
"options": [],
|
3787
|
-
"value": {
|
3788
|
-
"type": "number | string",
|
3789
|
-
"kind": "expression"
|
3790
|
-
}
|
3791
|
-
},
|
3792
|
-
{
|
3793
|
-
"name": "swipe-duration",
|
3794
|
-
"default": "`1000`",
|
3795
|
-
"description": "Duration of the momentum animation, unit `ms`",
|
3796
|
-
"options": [],
|
3797
|
-
"value": {
|
3798
|
-
"type": "number | string",
|
3799
|
-
"kind": "expression"
|
3800
|
-
}
|
3801
|
-
}
|
3802
|
-
]
|
3803
|
-
},
|
3804
|
-
{
|
3805
|
-
"name": "van-date-picker",
|
3806
|
-
"slots": [],
|
3807
|
-
"events": [],
|
3808
|
-
"attributes": [
|
3809
|
-
{
|
3810
|
-
"name": "min-date",
|
3811
|
-
"default": "Ten years ago on January 1",
|
3812
|
-
"description": "Min date",
|
3813
|
-
"options": [],
|
3814
|
-
"value": {
|
3815
|
-
"type": "Date",
|
3816
|
-
"kind": "expression"
|
3817
|
-
}
|
3818
|
-
},
|
3819
|
-
{
|
3820
|
-
"name": "max-date",
|
3821
|
-
"default": "Ten years later on December 31",
|
3822
|
-
"description": "Max date",
|
3823
|
-
"options": [],
|
3824
|
-
"value": {
|
3825
|
-
"type": "Date",
|
3826
|
-
"kind": "expression"
|
3827
|
-
}
|
3828
|
-
}
|
3829
|
-
]
|
3830
|
-
},
|
3831
|
-
{
|
3832
|
-
"name": "van-time-picker",
|
3833
|
-
"slots": [],
|
3834
|
-
"events": [],
|
3835
|
-
"attributes": [
|
3836
|
-
{
|
3837
|
-
"name": "min-hour",
|
3838
|
-
"default": "`0`",
|
3839
|
-
"description": "Min hour for `time` type",
|
3583
|
+
"description": "Id of chosen contact",
|
3840
3584
|
"options": [],
|
3841
3585
|
"value": {
|
3842
3586
|
"type": "number | string",
|
@@ -3844,32 +3588,32 @@
|
|
3844
3588
|
}
|
3845
3589
|
},
|
3846
3590
|
{
|
3847
|
-
"name": "
|
3848
|
-
"default": "`
|
3849
|
-
"description": "
|
3591
|
+
"name": "list",
|
3592
|
+
"default": "`[]`",
|
3593
|
+
"description": "Contact list",
|
3850
3594
|
"options": [],
|
3851
3595
|
"value": {
|
3852
|
-
"type": "
|
3596
|
+
"type": "Contact[]",
|
3853
3597
|
"kind": "expression"
|
3854
3598
|
}
|
3855
3599
|
},
|
3856
3600
|
{
|
3857
|
-
"name": "
|
3858
|
-
"default": "`
|
3859
|
-
"description": "
|
3601
|
+
"name": "add-text",
|
3602
|
+
"default": "`Add new contact`",
|
3603
|
+
"description": "Add button text",
|
3860
3604
|
"options": [],
|
3861
3605
|
"value": {
|
3862
|
-
"type": "
|
3606
|
+
"type": "string",
|
3863
3607
|
"kind": "expression"
|
3864
3608
|
}
|
3865
3609
|
},
|
3866
|
-
{
|
3867
|
-
"name": "
|
3868
|
-
"default": "
|
3869
|
-
"description": "
|
3610
|
+
{
|
3611
|
+
"name": "default-tag-text",
|
3612
|
+
"default": "-",
|
3613
|
+
"description": "Default tag text",
|
3870
3614
|
"options": [],
|
3871
3615
|
"value": {
|
3872
|
-
"type": "
|
3616
|
+
"type": "string",
|
3873
3617
|
"kind": "expression"
|
3874
3618
|
}
|
3875
3619
|
}
|
@@ -4053,87 +3797,353 @@
|
|
4053
3797
|
"description": "Whether to show loading in exchange button",
|
4054
3798
|
"options": [],
|
4055
3799
|
"value": {
|
4056
|
-
"type": "boolean",
|
3800
|
+
"type": "boolean",
|
3801
|
+
"kind": "expression"
|
3802
|
+
}
|
3803
|
+
},
|
3804
|
+
{
|
3805
|
+
"name": "exchange-button-disabled",
|
3806
|
+
"default": "`false`",
|
3807
|
+
"description": "Whether to disable exchange button",
|
3808
|
+
"options": [],
|
3809
|
+
"value": {
|
3810
|
+
"type": "boolean",
|
3811
|
+
"kind": "expression"
|
3812
|
+
}
|
3813
|
+
},
|
3814
|
+
{
|
3815
|
+
"name": "exchange-min-length",
|
3816
|
+
"default": "`1`",
|
3817
|
+
"description": "Min length to enable exchange button",
|
3818
|
+
"options": [],
|
3819
|
+
"value": {
|
3820
|
+
"type": "number",
|
3821
|
+
"kind": "expression"
|
3822
|
+
}
|
3823
|
+
},
|
3824
|
+
{
|
3825
|
+
"name": "displayed-coupon-index",
|
3826
|
+
"default": "-",
|
3827
|
+
"description": "Index of displayed coupon",
|
3828
|
+
"options": [],
|
3829
|
+
"value": {
|
3830
|
+
"type": "number",
|
3831
|
+
"kind": "expression"
|
3832
|
+
}
|
3833
|
+
},
|
3834
|
+
{
|
3835
|
+
"name": "close-button-text",
|
3836
|
+
"default": "`Close`",
|
3837
|
+
"description": "Close button text",
|
3838
|
+
"options": [],
|
3839
|
+
"value": {
|
3840
|
+
"type": "string",
|
3841
|
+
"kind": "expression"
|
3842
|
+
}
|
3843
|
+
},
|
3844
|
+
{
|
3845
|
+
"name": "input-placeholder",
|
3846
|
+
"default": "`Coupon code`",
|
3847
|
+
"description": "Input placeholder",
|
3848
|
+
"options": [],
|
3849
|
+
"value": {
|
3850
|
+
"type": "string",
|
3851
|
+
"kind": "expression"
|
3852
|
+
}
|
3853
|
+
},
|
3854
|
+
{
|
3855
|
+
"name": "currency",
|
3856
|
+
"default": "`¥`",
|
3857
|
+
"description": "Currency symbol",
|
3858
|
+
"options": [],
|
3859
|
+
"value": {
|
3860
|
+
"type": "string",
|
3861
|
+
"kind": "expression"
|
3862
|
+
}
|
3863
|
+
},
|
3864
|
+
{
|
3865
|
+
"name": "empty-image",
|
3866
|
+
"default": "-",
|
3867
|
+
"description": "Placeholder image when list is empty",
|
3868
|
+
"options": [],
|
3869
|
+
"value": {
|
3870
|
+
"type": "string",
|
3871
|
+
"kind": "expression"
|
3872
|
+
}
|
3873
|
+
},
|
3874
|
+
{
|
3875
|
+
"name": "show-count",
|
3876
|
+
"default": "`true`",
|
3877
|
+
"description": "Whether to show coupon count in tab title",
|
3878
|
+
"options": [],
|
3879
|
+
"value": {
|
3880
|
+
"type": "boolean",
|
3881
|
+
"kind": "expression"
|
3882
|
+
}
|
3883
|
+
}
|
3884
|
+
]
|
3885
|
+
},
|
3886
|
+
{
|
3887
|
+
"name": "van-datetime-picker",
|
3888
|
+
"slots": [
|
3889
|
+
{
|
3890
|
+
"name": "default",
|
3891
|
+
"description": "Custom toolbar content"
|
3892
|
+
},
|
3893
|
+
{
|
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"
|
3916
|
+
}
|
3917
|
+
],
|
3918
|
+
"events": [
|
3919
|
+
{
|
3920
|
+
"name": "change",
|
3921
|
+
"description": "Emitted when value changed",
|
3922
|
+
"arguments": [
|
3923
|
+
{
|
3924
|
+
"name": "value",
|
3925
|
+
"type": "current value"
|
3926
|
+
}
|
3927
|
+
]
|
3928
|
+
},
|
3929
|
+
{
|
3930
|
+
"name": "confirm",
|
3931
|
+
"description": "Emitted when the confirm button is clicked",
|
3932
|
+
"arguments": [
|
3933
|
+
{
|
3934
|
+
"name": "value",
|
3935
|
+
"type": "current value"
|
3936
|
+
}
|
3937
|
+
]
|
3938
|
+
},
|
3939
|
+
{
|
3940
|
+
"name": "cancel",
|
3941
|
+
"description": "Emitted when the cancel button is clicked",
|
3942
|
+
"arguments": []
|
3943
|
+
}
|
3944
|
+
],
|
3945
|
+
"attributes": [
|
3946
|
+
{
|
3947
|
+
"name": "type",
|
3948
|
+
"default": "`datetime`",
|
3949
|
+
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
|
3950
|
+
"options": [],
|
3951
|
+
"value": {
|
3952
|
+
"type": "string",
|
3953
|
+
"kind": "expression"
|
3954
|
+
}
|
3955
|
+
},
|
3956
|
+
{
|
3957
|
+
"name": "title",
|
3958
|
+
"default": "`''`",
|
3959
|
+
"description": "Toolbar title",
|
3960
|
+
"options": [],
|
3961
|
+
"value": {
|
3962
|
+
"type": "string",
|
3963
|
+
"kind": "expression"
|
3964
|
+
}
|
3965
|
+
},
|
3966
|
+
{
|
3967
|
+
"name": "confirm-button-text",
|
3968
|
+
"default": "`Confirm`",
|
3969
|
+
"description": "Text of confirm button",
|
3970
|
+
"options": [],
|
3971
|
+
"value": {
|
3972
|
+
"type": "string",
|
3973
|
+
"kind": "expression"
|
3974
|
+
}
|
3975
|
+
},
|
3976
|
+
{
|
3977
|
+
"name": "cancel-button-text",
|
3978
|
+
"default": "`Cancel`",
|
3979
|
+
"description": "Text of cancel button",
|
3980
|
+
"options": [],
|
3981
|
+
"value": {
|
3982
|
+
"type": "string",
|
3983
|
+
"kind": "expression"
|
3984
|
+
}
|
3985
|
+
},
|
3986
|
+
{
|
3987
|
+
"name": "show-toolbar",
|
3988
|
+
"default": "`true`",
|
3989
|
+
"description": "Whether to show toolbar",
|
3990
|
+
"options": [],
|
3991
|
+
"value": {
|
3992
|
+
"type": "boolean",
|
3993
|
+
"kind": "expression"
|
3994
|
+
}
|
3995
|
+
},
|
3996
|
+
{
|
3997
|
+
"name": "loading",
|
3998
|
+
"default": "`false`",
|
3999
|
+
"description": "Whether to show loading prompt",
|
4000
|
+
"options": [],
|
4001
|
+
"value": {
|
4002
|
+
"type": "boolean",
|
4003
|
+
"kind": "expression"
|
4004
|
+
}
|
4005
|
+
},
|
4006
|
+
{
|
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`",
|
4040
|
+
"options": [],
|
4041
|
+
"value": {
|
4042
|
+
"type": "string[]",
|
4043
|
+
"kind": "expression"
|
4044
|
+
}
|
4045
|
+
},
|
4046
|
+
{
|
4047
|
+
"name": "item-height",
|
4048
|
+
"default": "`44`",
|
4049
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
4050
|
+
"options": [],
|
4051
|
+
"value": {
|
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": "van-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": "van-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
|
}
|
@@ -4838,6 +4848,20 @@
|
|
4838
4848
|
"type": "MouseEvent"
|
4839
4849
|
}
|
4840
4850
|
]
|
4851
|
+
},
|
4852
|
+
{
|
4853
|
+
"name": "start-validate",
|
4854
|
+
"description": "Emitted when start validation",
|
4855
|
+
"arguments": []
|
4856
|
+
},
|
4857
|
+
{
|
4858
|
+
"name": "end-validate",
|
4859
|
+
"description": "Emitted when end validation",
|
4860
|
+
"arguments": [
|
4861
|
+
{
|
4862
|
+
"name": "{ status: string }"
|
4863
|
+
}
|
4864
|
+
]
|
4841
4865
|
}
|
4842
4866
|
],
|
4843
4867
|
"attributes": [
|
@@ -5112,112 +5136,275 @@
|
|
5112
5136
|
}
|
5113
5137
|
},
|
5114
5138
|
{
|
5115
|
-
"name": "label-class",
|
5116
|
-
"default": "-",
|
5117
|
-
"description": "Label className",
|
5139
|
+
"name": "label-class",
|
5140
|
+
"default": "-",
|
5141
|
+
"description": "Label className",
|
5142
|
+
"options": [],
|
5143
|
+
"value": {
|
5144
|
+
"type": "string | Array | object",
|
5145
|
+
"kind": "expression"
|
5146
|
+
}
|
5147
|
+
},
|
5148
|
+
{
|
5149
|
+
"name": "label-width",
|
5150
|
+
"default": "`6.2em`",
|
5151
|
+
"description": "Label width",
|
5152
|
+
"options": [],
|
5153
|
+
"value": {
|
5154
|
+
"type": "number | string",
|
5155
|
+
"kind": "expression"
|
5156
|
+
}
|
5157
|
+
},
|
5158
|
+
{
|
5159
|
+
"name": "label-align",
|
5160
|
+
"default": "`left`",
|
5161
|
+
"description": "Label align, can be set to `center` `right`",
|
5162
|
+
"options": [],
|
5163
|
+
"value": {
|
5164
|
+
"type": "FieldTextAlign",
|
5165
|
+
"kind": "expression"
|
5166
|
+
}
|
5167
|
+
},
|
5168
|
+
{
|
5169
|
+
"name": "input-align",
|
5170
|
+
"default": "`left`",
|
5171
|
+
"description": "Input align, can be set to `center` `right`",
|
5172
|
+
"options": [],
|
5173
|
+
"value": {
|
5174
|
+
"type": "FieldTextAlign",
|
5175
|
+
"kind": "expression"
|
5176
|
+
}
|
5177
|
+
},
|
5178
|
+
{
|
5179
|
+
"name": "autosize",
|
5180
|
+
"default": "`false`",
|
5181
|
+
"description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }",
|
5182
|
+
"options": [],
|
5183
|
+
"value": {
|
5184
|
+
"type": "boolean | FieldAutosizeConfig",
|
5185
|
+
"kind": "expression"
|
5186
|
+
}
|
5187
|
+
},
|
5188
|
+
{
|
5189
|
+
"name": "left-icon",
|
5190
|
+
"default": "-",
|
5191
|
+
"description": "Left side icon name",
|
5192
|
+
"options": [],
|
5193
|
+
"value": {
|
5194
|
+
"type": "string",
|
5195
|
+
"kind": "expression"
|
5196
|
+
}
|
5197
|
+
},
|
5198
|
+
{
|
5199
|
+
"name": "right-icon",
|
5200
|
+
"default": "-",
|
5201
|
+
"description": "Right side icon name",
|
5202
|
+
"options": [],
|
5203
|
+
"value": {
|
5204
|
+
"type": "string",
|
5205
|
+
"kind": "expression"
|
5206
|
+
}
|
5207
|
+
},
|
5208
|
+
{
|
5209
|
+
"name": "icon-prefix",
|
5210
|
+
"default": "`van-icon`",
|
5211
|
+
"description": "Icon className prefix",
|
5212
|
+
"options": [],
|
5213
|
+
"value": {
|
5214
|
+
"type": "string",
|
5215
|
+
"kind": "expression"
|
5216
|
+
}
|
5217
|
+
},
|
5218
|
+
{
|
5219
|
+
"name": "rules",
|
5220
|
+
"default": "-",
|
5221
|
+
"description": "Form validation rules",
|
5222
|
+
"options": [],
|
5223
|
+
"value": {
|
5224
|
+
"type": "FieldRule[]",
|
5225
|
+
"kind": "expression"
|
5226
|
+
}
|
5227
|
+
},
|
5228
|
+
{
|
5229
|
+
"name": "autocomplete",
|
5230
|
+
"default": "-",
|
5231
|
+
"description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
5232
|
+
"options": [],
|
5233
|
+
"value": {
|
5234
|
+
"type": "string",
|
5235
|
+
"kind": "expression"
|
5236
|
+
}
|
5237
|
+
},
|
5238
|
+
{
|
5239
|
+
"name": "enterkeyhint",
|
5240
|
+
"default": "-",
|
5241
|
+
"description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>",
|
5242
|
+
"options": [],
|
5243
|
+
"value": {
|
5244
|
+
"type": "string",
|
5245
|
+
"kind": "expression"
|
5246
|
+
}
|
5247
|
+
}
|
5248
|
+
]
|
5249
|
+
},
|
5250
|
+
{
|
5251
|
+
"name": "van-form",
|
5252
|
+
"slots": [
|
5253
|
+
{
|
5254
|
+
"name": "default",
|
5255
|
+
"description": "Form content"
|
5256
|
+
}
|
5257
|
+
],
|
5258
|
+
"events": [
|
5259
|
+
{
|
5260
|
+
"name": "submit",
|
5261
|
+
"description": "Emitted after submitting the form and validation passed",
|
5262
|
+
"arguments": [
|
5263
|
+
{
|
5264
|
+
"name": "values",
|
5265
|
+
"type": "object"
|
5266
|
+
}
|
5267
|
+
]
|
5268
|
+
},
|
5269
|
+
{
|
5270
|
+
"name": "failed",
|
5271
|
+
"description": "Emitted after submitting the form and validation failed",
|
5272
|
+
"arguments": [
|
5273
|
+
{
|
5274
|
+
"name": "errorInfo",
|
5275
|
+
"type": "{ values: object, errors: object[] }"
|
5276
|
+
}
|
5277
|
+
]
|
5278
|
+
}
|
5279
|
+
],
|
5280
|
+
"attributes": [
|
5281
|
+
{
|
5282
|
+
"name": "label-width",
|
5283
|
+
"default": "`6.2em`",
|
5284
|
+
"description": "Field label width",
|
5285
|
+
"options": [],
|
5286
|
+
"value": {
|
5287
|
+
"type": "number | string",
|
5288
|
+
"kind": "expression"
|
5289
|
+
}
|
5290
|
+
},
|
5291
|
+
{
|
5292
|
+
"name": "label-align",
|
5293
|
+
"default": "`left`",
|
5294
|
+
"description": "Field label align, can be set to `center` `right`",
|
5295
|
+
"options": [],
|
5296
|
+
"value": {
|
5297
|
+
"type": "string",
|
5298
|
+
"kind": "expression"
|
5299
|
+
}
|
5300
|
+
},
|
5301
|
+
{
|
5302
|
+
"name": "input-align",
|
5303
|
+
"default": "`left`",
|
5304
|
+
"description": "Field input align, can be set to `center` `right`",
|
5118
5305
|
"options": [],
|
5119
5306
|
"value": {
|
5120
|
-
"type": "string
|
5307
|
+
"type": "string",
|
5121
5308
|
"kind": "expression"
|
5122
5309
|
}
|
5123
5310
|
},
|
5124
5311
|
{
|
5125
|
-
"name": "
|
5126
|
-
"default": "`
|
5127
|
-
"description": "
|
5312
|
+
"name": "error-message-align",
|
5313
|
+
"default": "`left`",
|
5314
|
+
"description": "Error message align, can be set to `center` `right`",
|
5128
5315
|
"options": [],
|
5129
5316
|
"value": {
|
5130
|
-
"type": "
|
5317
|
+
"type": "string",
|
5131
5318
|
"kind": "expression"
|
5132
5319
|
}
|
5133
5320
|
},
|
5134
5321
|
{
|
5135
|
-
"name": "
|
5136
|
-
"default": "`
|
5137
|
-
"description": "
|
5322
|
+
"name": "validate-trigger",
|
5323
|
+
"default": "`onBlur`",
|
5324
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
|
5138
5325
|
"options": [],
|
5139
5326
|
"value": {
|
5140
|
-
"type": "
|
5327
|
+
"type": "string | string[]",
|
5141
5328
|
"kind": "expression"
|
5142
5329
|
}
|
5143
5330
|
},
|
5144
5331
|
{
|
5145
|
-
"name": "
|
5146
|
-
"default": "`
|
5147
|
-
"description": "
|
5332
|
+
"name": "colon",
|
5333
|
+
"default": "`false`",
|
5334
|
+
"description": "Whether to display colon after label",
|
5148
5335
|
"options": [],
|
5149
5336
|
"value": {
|
5150
|
-
"type": "
|
5337
|
+
"type": "boolean",
|
5151
5338
|
"kind": "expression"
|
5152
5339
|
}
|
5153
5340
|
},
|
5154
5341
|
{
|
5155
|
-
"name": "
|
5342
|
+
"name": "disabled",
|
5156
5343
|
"default": "`false`",
|
5157
|
-
"description": "
|
5344
|
+
"description": "Whether to disable form",
|
5158
5345
|
"options": [],
|
5159
5346
|
"value": {
|
5160
|
-
"type": "boolean
|
5347
|
+
"type": "boolean",
|
5161
5348
|
"kind": "expression"
|
5162
5349
|
}
|
5163
5350
|
},
|
5164
5351
|
{
|
5165
|
-
"name": "
|
5166
|
-
"default": "
|
5167
|
-
"description": "
|
5352
|
+
"name": "readonly",
|
5353
|
+
"default": "`false`",
|
5354
|
+
"description": "Whether to be readonly",
|
5168
5355
|
"options": [],
|
5169
5356
|
"value": {
|
5170
|
-
"type": "
|
5357
|
+
"type": "boolean",
|
5171
5358
|
"kind": "expression"
|
5172
5359
|
}
|
5173
5360
|
},
|
5174
5361
|
{
|
5175
|
-
"name": "
|
5176
|
-
"default": "
|
5177
|
-
"description": "
|
5362
|
+
"name": "validate-first",
|
5363
|
+
"default": "`false`",
|
5364
|
+
"description": "Whether to stop the validation when a rule fails",
|
5178
5365
|
"options": [],
|
5179
5366
|
"value": {
|
5180
|
-
"type": "
|
5367
|
+
"type": "boolean",
|
5181
5368
|
"kind": "expression"
|
5182
5369
|
}
|
5183
5370
|
},
|
5184
5371
|
{
|
5185
|
-
"name": "
|
5186
|
-
"default": "`
|
5187
|
-
"description": "
|
5372
|
+
"name": "scroll-to-error",
|
5373
|
+
"default": "`false`",
|
5374
|
+
"description": "Whether to scroll to the error field when validation failed",
|
5188
5375
|
"options": [],
|
5189
5376
|
"value": {
|
5190
|
-
"type": "
|
5377
|
+
"type": "boolean",
|
5191
5378
|
"kind": "expression"
|
5192
5379
|
}
|
5193
5380
|
},
|
5194
5381
|
{
|
5195
|
-
"name": "
|
5196
|
-
"default": "
|
5197
|
-
"description": "
|
5382
|
+
"name": "show-error",
|
5383
|
+
"default": "`false`",
|
5384
|
+
"description": "Whether to highlight input when validation failed",
|
5198
5385
|
"options": [],
|
5199
5386
|
"value": {
|
5200
|
-
"type": "
|
5387
|
+
"type": "boolean",
|
5201
5388
|
"kind": "expression"
|
5202
5389
|
}
|
5203
5390
|
},
|
5204
5391
|
{
|
5205
|
-
"name": "
|
5206
|
-
"default": "
|
5207
|
-
"description": "
|
5392
|
+
"name": "show-error-message",
|
5393
|
+
"default": "`true`",
|
5394
|
+
"description": "Whether to show error message when validation failed",
|
5208
5395
|
"options": [],
|
5209
5396
|
"value": {
|
5210
|
-
"type": "
|
5397
|
+
"type": "boolean",
|
5211
5398
|
"kind": "expression"
|
5212
5399
|
}
|
5213
5400
|
},
|
5214
5401
|
{
|
5215
|
-
"name": "
|
5216
|
-
"default": "
|
5217
|
-
"description": "
|
5402
|
+
"name": "submit-on-enter",
|
5403
|
+
"default": "`true`",
|
5404
|
+
"description": "Whether to submit form on enter",
|
5218
5405
|
"options": [],
|
5219
5406
|
"value": {
|
5220
|
-
"type": "
|
5407
|
+
"type": "boolean",
|
5221
5408
|
"kind": "expression"
|
5222
5409
|
}
|
5223
5410
|
}
|
@@ -5348,174 +5535,11 @@
|
|
5348
5535
|
]
|
5349
5536
|
}
|
5350
5537
|
],
|
5351
|
-
"attributes": [
|
5352
|
-
{
|
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`",
|
5499
|
-
"options": [],
|
5500
|
-
"value": {
|
5501
|
-
"type": "string",
|
5502
|
-
"kind": "expression"
|
5503
|
-
}
|
5504
|
-
},
|
5505
|
-
{
|
5506
|
-
"name": "input-align",
|
5507
|
-
"default": "`left`",
|
5508
|
-
"description": "Field input align, can be set to `center` `right`",
|
5509
|
-
"options": [],
|
5510
|
-
"value": {
|
5511
|
-
"type": "string",
|
5512
|
-
"kind": "expression"
|
5513
|
-
}
|
5514
|
-
},
|
5515
|
-
{
|
5516
|
-
"name": "error-message-align",
|
5517
|
-
"default": "`left`",
|
5518
|
-
"description": "Error message align, can be set to `center` `right`",
|
5538
|
+
"attributes": [
|
5539
|
+
{
|
5540
|
+
"name": "text",
|
5541
|
+
"default": "-",
|
5542
|
+
"description": "Text",
|
5519
5543
|
"options": [],
|
5520
5544
|
"value": {
|
5521
5545
|
"type": "string",
|
@@ -5523,39 +5547,39 @@
|
|
5523
5547
|
}
|
5524
5548
|
},
|
5525
5549
|
{
|
5526
|
-
"name": "
|
5527
|
-
"default": "
|
5528
|
-
"description": "
|
5550
|
+
"name": "icon",
|
5551
|
+
"default": "-",
|
5552
|
+
"description": "Icon name or URL",
|
5529
5553
|
"options": [],
|
5530
5554
|
"value": {
|
5531
|
-
"type": "string
|
5555
|
+
"type": "string",
|
5532
5556
|
"kind": "expression"
|
5533
5557
|
}
|
5534
5558
|
},
|
5535
5559
|
{
|
5536
|
-
"name": "
|
5537
|
-
"default": "`
|
5538
|
-
"description": "
|
5560
|
+
"name": "icon-prefix",
|
5561
|
+
"default": "`van-icon`",
|
5562
|
+
"description": "Icon className prefix",
|
5539
5563
|
"options": [],
|
5540
5564
|
"value": {
|
5541
|
-
"type": "
|
5565
|
+
"type": "string",
|
5542
5566
|
"kind": "expression"
|
5543
5567
|
}
|
5544
5568
|
},
|
5545
5569
|
{
|
5546
|
-
"name": "
|
5547
|
-
"default": "
|
5548
|
-
"description": "
|
5570
|
+
"name": "icon-color",
|
5571
|
+
"default": "-",
|
5572
|
+
"description": "Icon color",
|
5549
5573
|
"options": [],
|
5550
5574
|
"value": {
|
5551
|
-
"type": "
|
5575
|
+
"type": "string",
|
5552
5576
|
"kind": "expression"
|
5553
5577
|
}
|
5554
5578
|
},
|
5555
5579
|
{
|
5556
|
-
"name": "
|
5580
|
+
"name": "dot",
|
5557
5581
|
"default": "`false`",
|
5558
|
-
"description": "Whether to
|
5582
|
+
"description": "Whether to show red dot",
|
5559
5583
|
"options": [],
|
5560
5584
|
"value": {
|
5561
5585
|
"type": "boolean",
|
@@ -5563,49 +5587,49 @@
|
|
5563
5587
|
}
|
5564
5588
|
},
|
5565
5589
|
{
|
5566
|
-
"name": "
|
5567
|
-
"default": "
|
5568
|
-
"description": "
|
5590
|
+
"name": "badge",
|
5591
|
+
"default": "-",
|
5592
|
+
"description": "Content of the badge",
|
5569
5593
|
"options": [],
|
5570
5594
|
"value": {
|
5571
|
-
"type": "
|
5595
|
+
"type": "number | string",
|
5572
5596
|
"kind": "expression"
|
5573
5597
|
}
|
5574
5598
|
},
|
5575
5599
|
{
|
5576
|
-
"name": "
|
5577
|
-
"default": "
|
5578
|
-
"description": "
|
5600
|
+
"name": "badge-props",
|
5601
|
+
"default": "-",
|
5602
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
5579
5603
|
"options": [],
|
5580
5604
|
"value": {
|
5581
|
-
"type": "
|
5605
|
+
"type": "BadgeProps",
|
5582
5606
|
"kind": "expression"
|
5583
5607
|
}
|
5584
5608
|
},
|
5585
5609
|
{
|
5586
|
-
"name": "
|
5587
|
-
"default": "
|
5588
|
-
"description": "
|
5610
|
+
"name": "url",
|
5611
|
+
"default": "-",
|
5612
|
+
"description": "Link URL",
|
5589
5613
|
"options": [],
|
5590
5614
|
"value": {
|
5591
|
-
"type": "
|
5615
|
+
"type": "string",
|
5592
5616
|
"kind": "expression"
|
5593
5617
|
}
|
5594
5618
|
},
|
5595
5619
|
{
|
5596
|
-
"name": "
|
5597
|
-
"default": "
|
5598
|
-
"description": "
|
5620
|
+
"name": "to",
|
5621
|
+
"default": "-",
|
5622
|
+
"description": "Target route of the link, same as to of vue-router",
|
5599
5623
|
"options": [],
|
5600
5624
|
"value": {
|
5601
|
-
"type": "
|
5625
|
+
"type": "string | object",
|
5602
5626
|
"kind": "expression"
|
5603
5627
|
}
|
5604
5628
|
},
|
5605
5629
|
{
|
5606
|
-
"name": "
|
5607
|
-
"default": "`
|
5608
|
-
"description": "
|
5630
|
+
"name": "replace",
|
5631
|
+
"default": "`false`",
|
5632
|
+
"description": "If true, the navigation will not leave a history record",
|
5609
5633
|
"options": [],
|
5610
5634
|
"value": {
|
5611
5635
|
"type": "boolean",
|
@@ -7677,54 +7701,74 @@
|
|
7677
7701
|
]
|
7678
7702
|
},
|
7679
7703
|
{
|
7680
|
-
"name": "van-
|
7704
|
+
"name": "van-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
7868
|
{
|
7862
|
-
"name": "
|
7863
|
-
"default": "`
|
7864
|
-
"description": "
|
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,32 +7946,32 @@
|
|
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
|
}
|
@@ -8086,74 +8075,54 @@
|
|
8086
8075
|
]
|
8087
8076
|
},
|
8088
8077
|
{
|
8089
|
-
"name": "van-
|
8078
|
+
"name": "van-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,59 +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",
|
8227
8196
|
"options": [],
|
8228
8197
|
"value": {
|
8229
|
-
"type": "
|
8198
|
+
"type": "number | string",
|
8230
8199
|
"kind": "expression"
|
8231
8200
|
}
|
8232
8201
|
},
|
8233
8202
|
{
|
8234
|
-
"name": "
|
8235
|
-
"default": "`
|
8236
|
-
"description": "
|
8203
|
+
"name": "pull-distance",
|
8204
|
+
"default": "same as `head-height`",
|
8205
|
+
"description": "The distance to trigger the pull refresh",
|
8237
8206
|
"options": [],
|
8238
8207
|
"value": {
|
8239
|
-
"type": "
|
8208
|
+
"type": "number | string",
|
8240
8209
|
"kind": "expression"
|
8241
8210
|
}
|
8242
8211
|
},
|
8243
8212
|
{
|
8244
|
-
"name": "
|
8213
|
+
"name": "disabled",
|
8245
8214
|
"default": "`false`",
|
8246
|
-
"description": "Whether to
|
8215
|
+
"description": "Whether to disable pull refresh",
|
8247
8216
|
"options": [],
|
8248
8217
|
"value": {
|
8249
8218
|
"type": "boolean",
|
8250
8219
|
"kind": "expression"
|
8251
8220
|
}
|
8221
|
+
}
|
8222
|
+
]
|
8223
|
+
},
|
8224
|
+
{
|
8225
|
+
"name": "van-radio",
|
8226
|
+
"slots": [
|
8227
|
+
{
|
8228
|
+
"name": "default",
|
8229
|
+
"description": "Custom label"
|
8252
8230
|
},
|
8253
8231
|
{
|
8254
|
-
"name": "
|
8255
|
-
"
|
8256
|
-
|
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",
|
8253
|
+
"options": [],
|
8254
|
+
"value": {
|
8255
|
+
"type": "any",
|
8256
|
+
"kind": "expression"
|
8257
|
+
}
|
8258
|
+
},
|
8259
|
+
{
|
8260
|
+
"name": "shape",
|
8261
|
+
"default": "`round`",
|
8262
|
+
"description": "Can be set to `square`",
|
8257
8263
|
"options": [],
|
8258
8264
|
"value": {
|
8259
|
-
"type": "
|
8265
|
+
"type": "string",
|
8260
8266
|
"kind": "expression"
|
8261
8267
|
}
|
8262
8268
|
},
|
8263
8269
|
{
|
8264
|
-
"name": "
|
8270
|
+
"name": "disabled",
|
8265
8271
|
"default": "`false`",
|
8266
|
-
"description": "Whether to
|
8272
|
+
"description": "Whether to disable radio",
|
8267
8273
|
"options": [],
|
8268
8274
|
"value": {
|
8269
8275
|
"type": "boolean",
|
@@ -8271,19 +8277,19 @@
|
|
8271
8277
|
}
|
8272
8278
|
},
|
8273
8279
|
{
|
8274
|
-
"name": "
|
8275
|
-
"default": "`
|
8276
|
-
"description": "
|
8280
|
+
"name": "label-disabled",
|
8281
|
+
"default": "`false`",
|
8282
|
+
"description": "Whether to disable label click",
|
8277
8283
|
"options": [],
|
8278
8284
|
"value": {
|
8279
|
-
"type": "
|
8285
|
+
"type": "boolean",
|
8280
8286
|
"kind": "expression"
|
8281
8287
|
}
|
8282
8288
|
},
|
8283
8289
|
{
|
8284
|
-
"name": "
|
8285
|
-
"default": "`
|
8286
|
-
"description": "
|
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": "van-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,32 +8355,32 @@
|
|
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
|
}
|
@@ -9542,83 +9566,6 @@
|
|
9542
9566
|
}
|
9543
9567
|
]
|
9544
9568
|
},
|
9545
|
-
{
|
9546
|
-
"name": "van-sticky",
|
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
9569
|
{
|
9623
9570
|
"name": "van-stepper",
|
9624
9571
|
"slots": [],
|
@@ -10017,6 +9964,83 @@
|
|
10017
9964
|
"events": [],
|
10018
9965
|
"attributes": []
|
10019
9966
|
},
|
9967
|
+
{
|
9968
|
+
"name": "van-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
|
+
}
|
10041
|
+
}
|
10042
|
+
]
|
10043
|
+
},
|
10020
10044
|
{
|
10021
10045
|
"name": "van-submit-bar",
|
10022
10046
|
"slots": [
|
@@ -10184,6 +10208,16 @@
|
|
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
|
},
|