vant 3.6.11 → 3.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/uploader/Uploader.mjs +6 -4
- package/es/uploader/UploaderPreviewItem.mjs +1 -1
- package/es/uploader/types.d.ts +1 -0
- package/es/uploader/utils.mjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/uploader/Uploader.js +6 -4
- package/lib/uploader/UploaderPreviewItem.js +1 -1
- package/lib/uploader/types.d.ts +1 -0
- package/lib/uploader/utils.js +1 -1
- package/lib/vant.cjs.js +9 -7
- package/lib/vant.es.js +9 -7
- package/lib/vant.js +9 -7
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1648 -1648
- package/package.json +1 -1
package/lib/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.6.
|
5
|
+
"version": "3.6.12",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -843,176 +843,6 @@
|
|
843
843
|
}
|
844
844
|
]
|
845
845
|
},
|
846
|
-
{
|
847
|
-
"name": "van-address-list",
|
848
|
-
"slots": [
|
849
|
-
{
|
850
|
-
"name": "default",
|
851
|
-
"description": "Custom content after list"
|
852
|
-
},
|
853
|
-
{
|
854
|
-
"name": "top",
|
855
|
-
"description": "Custom content before list"
|
856
|
-
},
|
857
|
-
{
|
858
|
-
"name": "item-bottom",
|
859
|
-
"description": "Custom content after list item"
|
860
|
-
},
|
861
|
-
{
|
862
|
-
"name": "tag",
|
863
|
-
"description": "Custom tag of list item"
|
864
|
-
}
|
865
|
-
],
|
866
|
-
"events": [
|
867
|
-
{
|
868
|
-
"name": "add",
|
869
|
-
"description": "Emitted when the add button is clicked",
|
870
|
-
"arguments": []
|
871
|
-
},
|
872
|
-
{
|
873
|
-
"name": "edit",
|
874
|
-
"description": "Emitted when the edit icon of address is clicked",
|
875
|
-
"arguments": [
|
876
|
-
{
|
877
|
-
"name": "item",
|
878
|
-
"type": "Address"
|
879
|
-
},
|
880
|
-
{
|
881
|
-
"name": "index",
|
882
|
-
"type": "number"
|
883
|
-
}
|
884
|
-
]
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"name": "select",
|
888
|
-
"description": "Emitted when an address is selected",
|
889
|
-
"arguments": [
|
890
|
-
{
|
891
|
-
"name": "item",
|
892
|
-
"type": "Address"
|
893
|
-
},
|
894
|
-
{
|
895
|
-
"name": "index",
|
896
|
-
"type": "number"
|
897
|
-
}
|
898
|
-
]
|
899
|
-
},
|
900
|
-
{
|
901
|
-
"name": "edit-disabled",
|
902
|
-
"description": "Emitted when the edit icon of disabled address is clicked",
|
903
|
-
"arguments": [
|
904
|
-
{
|
905
|
-
"name": "item",
|
906
|
-
"type": "Address"
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"name": "index",
|
910
|
-
"type": "number"
|
911
|
-
}
|
912
|
-
]
|
913
|
-
},
|
914
|
-
{
|
915
|
-
"name": "select-disabled",
|
916
|
-
"description": "Emitted when a disabled address is selected",
|
917
|
-
"arguments": [
|
918
|
-
{
|
919
|
-
"name": "item",
|
920
|
-
"type": "Address"
|
921
|
-
},
|
922
|
-
{
|
923
|
-
"name": "index",
|
924
|
-
"type": "number"
|
925
|
-
}
|
926
|
-
]
|
927
|
-
},
|
928
|
-
{
|
929
|
-
"name": "click-item",
|
930
|
-
"description": "Emitted when an address item is clicked",
|
931
|
-
"arguments": [
|
932
|
-
{
|
933
|
-
"name": "item",
|
934
|
-
"type": "Address"
|
935
|
-
},
|
936
|
-
{
|
937
|
-
"name": "index",
|
938
|
-
"type": "number"
|
939
|
-
}
|
940
|
-
]
|
941
|
-
}
|
942
|
-
],
|
943
|
-
"attributes": [
|
944
|
-
{
|
945
|
-
"name": "v-model",
|
946
|
-
"default": "-",
|
947
|
-
"description": "Id of chosen address",
|
948
|
-
"options": [],
|
949
|
-
"value": {
|
950
|
-
"type": "string",
|
951
|
-
"kind": "expression"
|
952
|
-
}
|
953
|
-
},
|
954
|
-
{
|
955
|
-
"name": "list",
|
956
|
-
"default": "`[]`",
|
957
|
-
"description": "Address list",
|
958
|
-
"options": [],
|
959
|
-
"value": {
|
960
|
-
"type": "Address[]",
|
961
|
-
"kind": "expression"
|
962
|
-
}
|
963
|
-
},
|
964
|
-
{
|
965
|
-
"name": "disabled-list",
|
966
|
-
"default": "`[]`",
|
967
|
-
"description": "Disabled address list",
|
968
|
-
"options": [],
|
969
|
-
"value": {
|
970
|
-
"type": "Address[]",
|
971
|
-
"kind": "expression"
|
972
|
-
}
|
973
|
-
},
|
974
|
-
{
|
975
|
-
"name": "disabled-text",
|
976
|
-
"default": "-",
|
977
|
-
"description": "Disabled text",
|
978
|
-
"options": [],
|
979
|
-
"value": {
|
980
|
-
"type": "string",
|
981
|
-
"kind": "expression"
|
982
|
-
}
|
983
|
-
},
|
984
|
-
{
|
985
|
-
"name": "switchable",
|
986
|
-
"default": "`true`",
|
987
|
-
"description": "Whether to allow switch address",
|
988
|
-
"options": [],
|
989
|
-
"value": {
|
990
|
-
"type": "boolean",
|
991
|
-
"kind": "expression"
|
992
|
-
}
|
993
|
-
},
|
994
|
-
{
|
995
|
-
"name": "add-button-text",
|
996
|
-
"default": "`Add new address`",
|
997
|
-
"description": "Add button text",
|
998
|
-
"options": [],
|
999
|
-
"value": {
|
1000
|
-
"type": "string",
|
1001
|
-
"kind": "expression"
|
1002
|
-
}
|
1003
|
-
},
|
1004
|
-
{
|
1005
|
-
"name": "default-tag-text",
|
1006
|
-
"default": "-",
|
1007
|
-
"description": "Default tag text",
|
1008
|
-
"options": [],
|
1009
|
-
"value": {
|
1010
|
-
"type": "string",
|
1011
|
-
"kind": "expression"
|
1012
|
-
}
|
1013
|
-
}
|
1014
|
-
]
|
1015
|
-
},
|
1016
846
|
{
|
1017
847
|
"name": "van-area",
|
1018
848
|
"slots": [
|
@@ -1292,74 +1122,244 @@
|
|
1292
1122
|
]
|
1293
1123
|
},
|
1294
1124
|
{
|
1295
|
-
"name": "van-
|
1125
|
+
"name": "van-address-list",
|
1296
1126
|
"slots": [
|
1297
1127
|
{
|
1298
1128
|
"name": "default",
|
1299
|
-
"description": "
|
1129
|
+
"description": "Custom content after list"
|
1300
1130
|
},
|
1301
1131
|
{
|
1302
|
-
"name": "
|
1303
|
-
"description": "Custom
|
1132
|
+
"name": "top",
|
1133
|
+
"description": "Custom content before list"
|
1304
1134
|
},
|
1305
1135
|
{
|
1306
|
-
"name": "
|
1307
|
-
"description": "Custom
|
1136
|
+
"name": "item-bottom",
|
1137
|
+
"description": "Custom content after list item"
|
1138
|
+
},
|
1139
|
+
{
|
1140
|
+
"name": "tag",
|
1141
|
+
"description": "Custom tag of list item"
|
1308
1142
|
}
|
1309
1143
|
],
|
1310
1144
|
"events": [
|
1311
1145
|
{
|
1312
|
-
"name": "
|
1313
|
-
"description": "Emitted when button is clicked
|
1146
|
+
"name": "add",
|
1147
|
+
"description": "Emitted when the add button is clicked",
|
1148
|
+
"arguments": []
|
1149
|
+
},
|
1150
|
+
{
|
1151
|
+
"name": "edit",
|
1152
|
+
"description": "Emitted when the edit icon of address is clicked",
|
1314
1153
|
"arguments": [
|
1315
1154
|
{
|
1316
|
-
"name": "
|
1317
|
-
"type": "
|
1155
|
+
"name": "item",
|
1156
|
+
"type": "Address"
|
1157
|
+
},
|
1158
|
+
{
|
1159
|
+
"name": "index",
|
1160
|
+
"type": "number"
|
1318
1161
|
}
|
1319
1162
|
]
|
1320
1163
|
},
|
1321
1164
|
{
|
1322
|
-
"name": "
|
1323
|
-
"description": "Emitted when
|
1165
|
+
"name": "select",
|
1166
|
+
"description": "Emitted when an address is selected",
|
1324
1167
|
"arguments": [
|
1325
1168
|
{
|
1326
|
-
"name": "
|
1327
|
-
"type": "
|
1169
|
+
"name": "item",
|
1170
|
+
"type": "Address"
|
1171
|
+
},
|
1172
|
+
{
|
1173
|
+
"name": "index",
|
1174
|
+
"type": "number"
|
1328
1175
|
}
|
1329
1176
|
]
|
1330
|
-
}
|
1331
|
-
],
|
1332
|
-
"attributes": [
|
1333
|
-
{
|
1334
|
-
"name": "type",
|
1335
|
-
"default": "`default`",
|
1336
|
-
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1337
|
-
"options": [],
|
1338
|
-
"value": {
|
1339
|
-
"type": "string",
|
1340
|
-
"kind": "expression"
|
1341
|
-
}
|
1342
1177
|
},
|
1343
1178
|
{
|
1344
|
-
"name": "
|
1345
|
-
"
|
1346
|
-
"
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1179
|
+
"name": "edit-disabled",
|
1180
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
1181
|
+
"arguments": [
|
1182
|
+
{
|
1183
|
+
"name": "item",
|
1184
|
+
"type": "Address"
|
1185
|
+
},
|
1186
|
+
{
|
1187
|
+
"name": "index",
|
1188
|
+
"type": "number"
|
1189
|
+
}
|
1190
|
+
]
|
1352
1191
|
},
|
1353
1192
|
{
|
1354
|
-
"name": "
|
1355
|
-
"
|
1356
|
-
"
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1193
|
+
"name": "select-disabled",
|
1194
|
+
"description": "Emitted when a disabled address is selected",
|
1195
|
+
"arguments": [
|
1196
|
+
{
|
1197
|
+
"name": "item",
|
1198
|
+
"type": "Address"
|
1199
|
+
},
|
1200
|
+
{
|
1201
|
+
"name": "index",
|
1202
|
+
"type": "number"
|
1203
|
+
}
|
1204
|
+
]
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"name": "click-item",
|
1208
|
+
"description": "Emitted when an address item is clicked",
|
1209
|
+
"arguments": [
|
1210
|
+
{
|
1211
|
+
"name": "item",
|
1212
|
+
"type": "Address"
|
1213
|
+
},
|
1214
|
+
{
|
1215
|
+
"name": "index",
|
1216
|
+
"type": "number"
|
1217
|
+
}
|
1218
|
+
]
|
1219
|
+
}
|
1220
|
+
],
|
1221
|
+
"attributes": [
|
1222
|
+
{
|
1223
|
+
"name": "v-model",
|
1224
|
+
"default": "-",
|
1225
|
+
"description": "Id of chosen address",
|
1226
|
+
"options": [],
|
1227
|
+
"value": {
|
1228
|
+
"type": "string",
|
1229
|
+
"kind": "expression"
|
1230
|
+
}
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
"name": "list",
|
1234
|
+
"default": "`[]`",
|
1235
|
+
"description": "Address list",
|
1236
|
+
"options": [],
|
1237
|
+
"value": {
|
1238
|
+
"type": "Address[]",
|
1239
|
+
"kind": "expression"
|
1240
|
+
}
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"name": "disabled-list",
|
1244
|
+
"default": "`[]`",
|
1245
|
+
"description": "Disabled address list",
|
1246
|
+
"options": [],
|
1247
|
+
"value": {
|
1248
|
+
"type": "Address[]",
|
1249
|
+
"kind": "expression"
|
1250
|
+
}
|
1251
|
+
},
|
1252
|
+
{
|
1253
|
+
"name": "disabled-text",
|
1254
|
+
"default": "-",
|
1255
|
+
"description": "Disabled text",
|
1256
|
+
"options": [],
|
1257
|
+
"value": {
|
1258
|
+
"type": "string",
|
1259
|
+
"kind": "expression"
|
1260
|
+
}
|
1261
|
+
},
|
1262
|
+
{
|
1263
|
+
"name": "switchable",
|
1264
|
+
"default": "`true`",
|
1265
|
+
"description": "Whether to allow switch address",
|
1266
|
+
"options": [],
|
1267
|
+
"value": {
|
1268
|
+
"type": "boolean",
|
1269
|
+
"kind": "expression"
|
1270
|
+
}
|
1271
|
+
},
|
1272
|
+
{
|
1273
|
+
"name": "add-button-text",
|
1274
|
+
"default": "`Add new address`",
|
1275
|
+
"description": "Add button text",
|
1276
|
+
"options": [],
|
1277
|
+
"value": {
|
1278
|
+
"type": "string",
|
1279
|
+
"kind": "expression"
|
1280
|
+
}
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"name": "default-tag-text",
|
1284
|
+
"default": "-",
|
1285
|
+
"description": "Default tag text",
|
1286
|
+
"options": [],
|
1287
|
+
"value": {
|
1288
|
+
"type": "string",
|
1289
|
+
"kind": "expression"
|
1290
|
+
}
|
1291
|
+
}
|
1292
|
+
]
|
1293
|
+
},
|
1294
|
+
{
|
1295
|
+
"name": "van-button",
|
1296
|
+
"slots": [
|
1297
|
+
{
|
1298
|
+
"name": "default",
|
1299
|
+
"description": "Default slot"
|
1300
|
+
},
|
1301
|
+
{
|
1302
|
+
"name": "icon",
|
1303
|
+
"description": "Custom icon"
|
1304
|
+
},
|
1305
|
+
{
|
1306
|
+
"name": "loading",
|
1307
|
+
"description": "Custom loading icon"
|
1308
|
+
}
|
1309
|
+
],
|
1310
|
+
"events": [
|
1311
|
+
{
|
1312
|
+
"name": "click",
|
1313
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1314
|
+
"arguments": [
|
1315
|
+
{
|
1316
|
+
"name": "event",
|
1317
|
+
"type": "MouseEvent"
|
1318
|
+
}
|
1319
|
+
]
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
"name": "touchstart",
|
1323
|
+
"description": "Emitted when button is touched",
|
1324
|
+
"arguments": [
|
1325
|
+
{
|
1326
|
+
"name": "event",
|
1327
|
+
"type": "TouchEvent"
|
1328
|
+
}
|
1329
|
+
]
|
1330
|
+
}
|
1331
|
+
],
|
1332
|
+
"attributes": [
|
1333
|
+
{
|
1334
|
+
"name": "type",
|
1335
|
+
"default": "`default`",
|
1336
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1337
|
+
"options": [],
|
1338
|
+
"value": {
|
1339
|
+
"type": "string",
|
1340
|
+
"kind": "expression"
|
1341
|
+
}
|
1342
|
+
},
|
1343
|
+
{
|
1344
|
+
"name": "size",
|
1345
|
+
"default": "`normal`",
|
1346
|
+
"description": "Can be set to `large` `small` `mini`",
|
1347
|
+
"options": [],
|
1348
|
+
"value": {
|
1349
|
+
"type": "string",
|
1350
|
+
"kind": "expression"
|
1351
|
+
}
|
1352
|
+
},
|
1353
|
+
{
|
1354
|
+
"name": "text",
|
1355
|
+
"default": "-",
|
1356
|
+
"description": "Text",
|
1357
|
+
"options": [],
|
1358
|
+
"value": {
|
1359
|
+
"type": "string",
|
1360
|
+
"kind": "expression"
|
1361
|
+
}
|
1362
|
+
},
|
1363
1363
|
{
|
1364
1364
|
"name": "color",
|
1365
1365
|
"default": "-",
|
@@ -2154,69 +2154,23 @@
|
|
2154
2154
|
]
|
2155
2155
|
},
|
2156
2156
|
{
|
2157
|
-
"name": "van-
|
2157
|
+
"name": "van-cell-group",
|
2158
2158
|
"slots": [
|
2159
2159
|
{
|
2160
|
-
"name": "
|
2161
|
-
"description": "
|
2162
|
-
},
|
2163
|
-
{
|
2164
|
-
"name": "option",
|
2165
|
-
"description": "Custom option text"
|
2166
|
-
},
|
2167
|
-
{
|
2168
|
-
"name": "options-top",
|
2169
|
-
"description": "Custom the content above the options"
|
2170
|
-
},
|
2171
|
-
{
|
2172
|
-
"name": "options-bottom",
|
2173
|
-
"description": "Custom the content below the options"
|
2174
|
-
}
|
2175
|
-
],
|
2176
|
-
"events": [
|
2177
|
-
{
|
2178
|
-
"name": "change",
|
2179
|
-
"description": "Emitted when active option changed",
|
2180
|
-
"arguments": [
|
2181
|
-
{
|
2182
|
-
"name": "{ value: string | number, selectedOptions: CascaderOption[], tabIndex: number }"
|
2183
|
-
}
|
2184
|
-
]
|
2185
|
-
},
|
2186
|
-
{
|
2187
|
-
"name": "finish",
|
2188
|
-
"description": "Emitted when all options is selected",
|
2189
|
-
"arguments": [
|
2190
|
-
{
|
2191
|
-
"name": "{ value: string | number, selectedOptions: CascaderOption[], tabIndex: number }"
|
2192
|
-
}
|
2193
|
-
]
|
2194
|
-
},
|
2195
|
-
{
|
2196
|
-
"name": "close",
|
2197
|
-
"description": "Emitted when the close icon is clicked",
|
2198
|
-
"arguments": []
|
2160
|
+
"name": "default",
|
2161
|
+
"description": "Default slot"
|
2199
2162
|
},
|
2200
2163
|
{
|
2201
|
-
"name": "
|
2202
|
-
"description": "
|
2203
|
-
"arguments": [
|
2204
|
-
{
|
2205
|
-
"name": "activeTab",
|
2206
|
-
"type": "number"
|
2207
|
-
},
|
2208
|
-
{
|
2209
|
-
"name": "title",
|
2210
|
-
"type": "string"
|
2211
|
-
}
|
2212
|
-
]
|
2164
|
+
"name": "title",
|
2165
|
+
"description": "Custom title"
|
2213
2166
|
}
|
2214
2167
|
],
|
2168
|
+
"events": [],
|
2215
2169
|
"attributes": [
|
2216
2170
|
{
|
2217
2171
|
"name": "title",
|
2218
2172
|
"default": "-",
|
2219
|
-
"description": "
|
2173
|
+
"description": "Group title",
|
2220
2174
|
"options": [],
|
2221
2175
|
"value": {
|
2222
2176
|
"type": "string",
|
@@ -2224,149 +2178,33 @@
|
|
2224
2178
|
}
|
2225
2179
|
},
|
2226
2180
|
{
|
2227
|
-
"name": "
|
2228
|
-
"default": "
|
2229
|
-
"description": "
|
2181
|
+
"name": "inset",
|
2182
|
+
"default": "`false`",
|
2183
|
+
"description": "Whether to be inset grouped",
|
2230
2184
|
"options": [],
|
2231
2185
|
"value": {
|
2232
|
-
"type": "
|
2186
|
+
"type": "boolean",
|
2233
2187
|
"kind": "expression"
|
2234
2188
|
}
|
2235
2189
|
},
|
2236
2190
|
{
|
2237
|
-
"name": "
|
2238
|
-
"default": "`
|
2239
|
-
"description": "
|
2191
|
+
"name": "border",
|
2192
|
+
"default": "`true`",
|
2193
|
+
"description": "Whether to show outer border",
|
2240
2194
|
"options": [],
|
2241
2195
|
"value": {
|
2242
|
-
"type": "
|
2196
|
+
"type": "boolean",
|
2243
2197
|
"kind": "expression"
|
2244
2198
|
}
|
2245
|
-
}
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
|
2250
|
-
|
2251
|
-
|
2252
|
-
|
2253
|
-
|
2254
|
-
}
|
2255
|
-
},
|
2256
|
-
{
|
2257
|
-
"name": "active-color",
|
2258
|
-
"default": "`#ee0a24`",
|
2259
|
-
"description": "Active color",
|
2260
|
-
"options": [],
|
2261
|
-
"value": {
|
2262
|
-
"type": "string",
|
2263
|
-
"kind": "expression"
|
2264
|
-
}
|
2265
|
-
},
|
2266
|
-
{
|
2267
|
-
"name": "swipeable",
|
2268
|
-
"default": "`false`",
|
2269
|
-
"description": "Whether to enable gestures to slide left and right",
|
2270
|
-
"options": [],
|
2271
|
-
"value": {
|
2272
|
-
"type": "boolean",
|
2273
|
-
"kind": "expression"
|
2274
|
-
}
|
2275
|
-
},
|
2276
|
-
{
|
2277
|
-
"name": "closeable",
|
2278
|
-
"default": "`true`",
|
2279
|
-
"description": "Whether to show close icon",
|
2280
|
-
"options": [],
|
2281
|
-
"value": {
|
2282
|
-
"type": "boolean",
|
2283
|
-
"kind": "expression"
|
2284
|
-
}
|
2285
|
-
},
|
2286
|
-
{
|
2287
|
-
"name": "show-header",
|
2288
|
-
"default": "`true`",
|
2289
|
-
"description": "Whether to show header",
|
2290
|
-
"options": [],
|
2291
|
-
"value": {
|
2292
|
-
"type": "boolean",
|
2293
|
-
"kind": "expression"
|
2294
|
-
}
|
2295
|
-
},
|
2296
|
-
{
|
2297
|
-
"name": "close-icon",
|
2298
|
-
"default": "`cross`",
|
2299
|
-
"description": "Close icon name",
|
2300
|
-
"options": [],
|
2301
|
-
"value": {
|
2302
|
-
"type": "string",
|
2303
|
-
"kind": "expression"
|
2304
|
-
}
|
2305
|
-
},
|
2306
|
-
{
|
2307
|
-
"name": "field-names",
|
2308
|
-
"default": "`{ text: 'text', value: 'value', children: 'children' }`",
|
2309
|
-
"description": "Custom the fields of options",
|
2310
|
-
"options": [],
|
2311
|
-
"value": {
|
2312
|
-
"type": "object",
|
2313
|
-
"kind": "expression"
|
2314
|
-
}
|
2315
|
-
}
|
2316
|
-
]
|
2317
|
-
},
|
2318
|
-
{
|
2319
|
-
"name": "van-cell-group",
|
2320
|
-
"slots": [
|
2321
|
-
{
|
2322
|
-
"name": "default",
|
2323
|
-
"description": "Default slot"
|
2324
|
-
},
|
2325
|
-
{
|
2326
|
-
"name": "title",
|
2327
|
-
"description": "Custom title"
|
2328
|
-
}
|
2329
|
-
],
|
2330
|
-
"events": [],
|
2331
|
-
"attributes": [
|
2332
|
-
{
|
2333
|
-
"name": "title",
|
2334
|
-
"default": "-",
|
2335
|
-
"description": "Group title",
|
2336
|
-
"options": [],
|
2337
|
-
"value": {
|
2338
|
-
"type": "string",
|
2339
|
-
"kind": "expression"
|
2340
|
-
}
|
2341
|
-
},
|
2342
|
-
{
|
2343
|
-
"name": "inset",
|
2344
|
-
"default": "`false`",
|
2345
|
-
"description": "Whether to be inset grouped",
|
2346
|
-
"options": [],
|
2347
|
-
"value": {
|
2348
|
-
"type": "boolean",
|
2349
|
-
"kind": "expression"
|
2350
|
-
}
|
2351
|
-
},
|
2352
|
-
{
|
2353
|
-
"name": "border",
|
2354
|
-
"default": "`true`",
|
2355
|
-
"description": "Whether to show outer border",
|
2356
|
-
"options": [],
|
2357
|
-
"value": {
|
2358
|
-
"type": "boolean",
|
2359
|
-
"kind": "expression"
|
2360
|
-
}
|
2361
|
-
}
|
2362
|
-
]
|
2363
|
-
},
|
2364
|
-
{
|
2365
|
-
"name": "van-cell",
|
2366
|
-
"slots": [
|
2367
|
-
{
|
2368
|
-
"name": "title",
|
2369
|
-
"description": "Custom title"
|
2199
|
+
}
|
2200
|
+
]
|
2201
|
+
},
|
2202
|
+
{
|
2203
|
+
"name": "van-cell",
|
2204
|
+
"slots": [
|
2205
|
+
{
|
2206
|
+
"name": "title",
|
2207
|
+
"description": "Custom title"
|
2370
2208
|
},
|
2371
2209
|
{
|
2372
2210
|
"name": "value",
|
@@ -2595,64 +2433,99 @@
|
|
2595
2433
|
]
|
2596
2434
|
},
|
2597
2435
|
{
|
2598
|
-
"name": "van-
|
2436
|
+
"name": "van-cascader",
|
2599
2437
|
"slots": [
|
2600
2438
|
{
|
2601
|
-
"name": "
|
2602
|
-
"description": "Custom
|
2439
|
+
"name": "title",
|
2440
|
+
"description": "Custom title"
|
2603
2441
|
},
|
2604
2442
|
{
|
2605
|
-
"name": "
|
2606
|
-
"description": "Custom
|
2443
|
+
"name": "option",
|
2444
|
+
"description": "Custom option text"
|
2445
|
+
},
|
2446
|
+
{
|
2447
|
+
"name": "options-top",
|
2448
|
+
"description": "Custom the content above the options"
|
2449
|
+
},
|
2450
|
+
{
|
2451
|
+
"name": "options-bottom",
|
2452
|
+
"description": "Custom the content below the options"
|
2607
2453
|
}
|
2608
2454
|
],
|
2609
2455
|
"events": [
|
2610
2456
|
{
|
2611
2457
|
"name": "change",
|
2612
|
-
"description": "Emitted when
|
2458
|
+
"description": "Emitted when active option changed",
|
2613
2459
|
"arguments": [
|
2614
2460
|
{
|
2615
|
-
"name": "
|
2616
|
-
"type": "boolean"
|
2461
|
+
"name": "{ value: string | number, selectedOptions: CascaderOption[], tabIndex: number }"
|
2617
2462
|
}
|
2618
2463
|
]
|
2619
2464
|
},
|
2620
2465
|
{
|
2621
|
-
"name": "
|
2622
|
-
"description": "Emitted when
|
2466
|
+
"name": "finish",
|
2467
|
+
"description": "Emitted when all options is selected",
|
2623
2468
|
"arguments": [
|
2624
2469
|
{
|
2625
|
-
"name": "
|
2626
|
-
|
2470
|
+
"name": "{ value: string | number, selectedOptions: CascaderOption[], tabIndex: number }"
|
2471
|
+
}
|
2472
|
+
]
|
2473
|
+
},
|
2474
|
+
{
|
2475
|
+
"name": "close",
|
2476
|
+
"description": "Emitted when the close icon is clicked",
|
2477
|
+
"arguments": []
|
2478
|
+
},
|
2479
|
+
{
|
2480
|
+
"name": "click-tab",
|
2481
|
+
"description": "Emitted when a tab is clicked",
|
2482
|
+
"arguments": [
|
2483
|
+
{
|
2484
|
+
"name": "activeTab",
|
2485
|
+
"type": "number"
|
2486
|
+
},
|
2487
|
+
{
|
2488
|
+
"name": "title",
|
2489
|
+
"type": "string"
|
2627
2490
|
}
|
2628
2491
|
]
|
2629
2492
|
}
|
2630
2493
|
],
|
2631
2494
|
"attributes": [
|
2632
2495
|
{
|
2633
|
-
"name": "
|
2634
|
-
"default": "
|
2635
|
-
"description": "
|
2496
|
+
"name": "title",
|
2497
|
+
"default": "-",
|
2498
|
+
"description": "Title",
|
2636
2499
|
"options": [],
|
2637
2500
|
"value": {
|
2638
|
-
"type": "
|
2501
|
+
"type": "string",
|
2639
2502
|
"kind": "expression"
|
2640
2503
|
}
|
2641
2504
|
},
|
2642
2505
|
{
|
2643
|
-
"name": "
|
2506
|
+
"name": "value",
|
2644
2507
|
"default": "-",
|
2645
|
-
"description": "
|
2508
|
+
"description": "Value of selected option",
|
2646
2509
|
"options": [],
|
2647
2510
|
"value": {
|
2648
|
-
"type": "
|
2511
|
+
"type": "string | number",
|
2649
2512
|
"kind": "expression"
|
2650
2513
|
}
|
2651
2514
|
},
|
2652
2515
|
{
|
2653
|
-
"name": "
|
2654
|
-
"default": "`
|
2655
|
-
"description": "
|
2516
|
+
"name": "options",
|
2517
|
+
"default": "`[]`",
|
2518
|
+
"description": "Options",
|
2519
|
+
"options": [],
|
2520
|
+
"value": {
|
2521
|
+
"type": "CascaderOption[]",
|
2522
|
+
"kind": "expression"
|
2523
|
+
}
|
2524
|
+
},
|
2525
|
+
{
|
2526
|
+
"name": "placeholder",
|
2527
|
+
"default": "`Select`",
|
2528
|
+
"description": "Placeholder of unselected tab",
|
2656
2529
|
"options": [],
|
2657
2530
|
"value": {
|
2658
2531
|
"type": "string",
|
@@ -2660,19 +2533,19 @@
|
|
2660
2533
|
}
|
2661
2534
|
},
|
2662
2535
|
{
|
2663
|
-
"name": "
|
2664
|
-
"default": "`
|
2665
|
-
"description": "
|
2536
|
+
"name": "active-color",
|
2537
|
+
"default": "`#ee0a24`",
|
2538
|
+
"description": "Active color",
|
2666
2539
|
"options": [],
|
2667
2540
|
"value": {
|
2668
|
-
"type": "
|
2541
|
+
"type": "string",
|
2669
2542
|
"kind": "expression"
|
2670
2543
|
}
|
2671
2544
|
},
|
2672
2545
|
{
|
2673
|
-
"name": "
|
2546
|
+
"name": "swipeable",
|
2674
2547
|
"default": "`false`",
|
2675
|
-
"description": "Whether to
|
2548
|
+
"description": "Whether to enable gestures to slide left and right",
|
2676
2549
|
"options": [],
|
2677
2550
|
"value": {
|
2678
2551
|
"type": "boolean",
|
@@ -2680,29 +2553,29 @@
|
|
2680
2553
|
}
|
2681
2554
|
},
|
2682
2555
|
{
|
2683
|
-
"name": "
|
2684
|
-
"default": "`
|
2685
|
-
"description": "
|
2556
|
+
"name": "closeable",
|
2557
|
+
"default": "`true`",
|
2558
|
+
"description": "Whether to show close icon",
|
2686
2559
|
"options": [],
|
2687
2560
|
"value": {
|
2688
|
-
"type": "
|
2561
|
+
"type": "boolean",
|
2689
2562
|
"kind": "expression"
|
2690
2563
|
}
|
2691
2564
|
},
|
2692
2565
|
{
|
2693
|
-
"name": "
|
2694
|
-
"default": "`
|
2695
|
-
"description": "
|
2566
|
+
"name": "show-header",
|
2567
|
+
"default": "`true`",
|
2568
|
+
"description": "Whether to show header",
|
2696
2569
|
"options": [],
|
2697
2570
|
"value": {
|
2698
|
-
"type": "
|
2571
|
+
"type": "boolean",
|
2699
2572
|
"kind": "expression"
|
2700
2573
|
}
|
2701
2574
|
},
|
2702
2575
|
{
|
2703
|
-
"name": "
|
2704
|
-
"default": "
|
2705
|
-
"description": "
|
2576
|
+
"name": "close-icon",
|
2577
|
+
"default": "`cross`",
|
2578
|
+
"description": "Close icon name",
|
2706
2579
|
"options": [],
|
2707
2580
|
"value": {
|
2708
2581
|
"type": "string",
|
@@ -2710,28 +2583,155 @@
|
|
2710
2583
|
}
|
2711
2584
|
},
|
2712
2585
|
{
|
2713
|
-
"name": "
|
2714
|
-
"default": "`
|
2715
|
-
"description": "
|
2586
|
+
"name": "field-names",
|
2587
|
+
"default": "`{ text: 'text', value: 'value', children: 'children' }`",
|
2588
|
+
"description": "Custom the fields of options",
|
2716
2589
|
"options": [],
|
2717
2590
|
"value": {
|
2718
|
-
"type": "
|
2591
|
+
"type": "object",
|
2719
2592
|
"kind": "expression"
|
2720
2593
|
}
|
2721
2594
|
}
|
2722
2595
|
]
|
2723
2596
|
},
|
2724
2597
|
{
|
2725
|
-
"name": "van-checkbox
|
2726
|
-
"slots": [
|
2727
|
-
"events": [
|
2598
|
+
"name": "van-checkbox",
|
2599
|
+
"slots": [
|
2728
2600
|
{
|
2729
|
-
"name": "
|
2730
|
-
"description": "
|
2731
|
-
|
2732
|
-
|
2733
|
-
|
2734
|
-
|
2601
|
+
"name": "default",
|
2602
|
+
"description": "Custom label"
|
2603
|
+
},
|
2604
|
+
{
|
2605
|
+
"name": "icon",
|
2606
|
+
"description": "Custom icon"
|
2607
|
+
}
|
2608
|
+
],
|
2609
|
+
"events": [
|
2610
|
+
{
|
2611
|
+
"name": "change",
|
2612
|
+
"description": "Emitted when value changed",
|
2613
|
+
"arguments": [
|
2614
|
+
{
|
2615
|
+
"name": "checked",
|
2616
|
+
"type": "boolean"
|
2617
|
+
}
|
2618
|
+
]
|
2619
|
+
},
|
2620
|
+
{
|
2621
|
+
"name": "click",
|
2622
|
+
"description": "Emitted when the checkbox is clicked",
|
2623
|
+
"arguments": [
|
2624
|
+
{
|
2625
|
+
"name": "event",
|
2626
|
+
"type": "MouseEvent"
|
2627
|
+
}
|
2628
|
+
]
|
2629
|
+
}
|
2630
|
+
],
|
2631
|
+
"attributes": [
|
2632
|
+
{
|
2633
|
+
"name": "v-model",
|
2634
|
+
"default": "`false`",
|
2635
|
+
"description": "Check status",
|
2636
|
+
"options": [],
|
2637
|
+
"value": {
|
2638
|
+
"type": "boolean",
|
2639
|
+
"kind": "expression"
|
2640
|
+
}
|
2641
|
+
},
|
2642
|
+
{
|
2643
|
+
"name": "name",
|
2644
|
+
"default": "-",
|
2645
|
+
"description": "Checkbox name, usually a unique string or number",
|
2646
|
+
"options": [],
|
2647
|
+
"value": {
|
2648
|
+
"type": "any",
|
2649
|
+
"kind": "expression"
|
2650
|
+
}
|
2651
|
+
},
|
2652
|
+
{
|
2653
|
+
"name": "shape",
|
2654
|
+
"default": "`round`",
|
2655
|
+
"description": "Can be set to `square`",
|
2656
|
+
"options": [],
|
2657
|
+
"value": {
|
2658
|
+
"type": "string",
|
2659
|
+
"kind": "expression"
|
2660
|
+
}
|
2661
|
+
},
|
2662
|
+
{
|
2663
|
+
"name": "disabled",
|
2664
|
+
"default": "`false`",
|
2665
|
+
"description": "Disable checkbox",
|
2666
|
+
"options": [],
|
2667
|
+
"value": {
|
2668
|
+
"type": "boolean",
|
2669
|
+
"kind": "expression"
|
2670
|
+
}
|
2671
|
+
},
|
2672
|
+
{
|
2673
|
+
"name": "label-disabled",
|
2674
|
+
"default": "`false`",
|
2675
|
+
"description": "Whether to disable label click",
|
2676
|
+
"options": [],
|
2677
|
+
"value": {
|
2678
|
+
"type": "boolean",
|
2679
|
+
"kind": "expression"
|
2680
|
+
}
|
2681
|
+
},
|
2682
|
+
{
|
2683
|
+
"name": "label-position",
|
2684
|
+
"default": "`right`",
|
2685
|
+
"description": "Can be set to `left`",
|
2686
|
+
"options": [],
|
2687
|
+
"value": {
|
2688
|
+
"type": "string",
|
2689
|
+
"kind": "expression"
|
2690
|
+
}
|
2691
|
+
},
|
2692
|
+
{
|
2693
|
+
"name": "icon-size",
|
2694
|
+
"default": "`20px`",
|
2695
|
+
"description": "Icon size",
|
2696
|
+
"options": [],
|
2697
|
+
"value": {
|
2698
|
+
"type": "number | string",
|
2699
|
+
"kind": "expression"
|
2700
|
+
}
|
2701
|
+
},
|
2702
|
+
{
|
2703
|
+
"name": "checked-color",
|
2704
|
+
"default": "`#1989fa`",
|
2705
|
+
"description": "Checked color",
|
2706
|
+
"options": [],
|
2707
|
+
"value": {
|
2708
|
+
"type": "string",
|
2709
|
+
"kind": "expression"
|
2710
|
+
}
|
2711
|
+
},
|
2712
|
+
{
|
2713
|
+
"name": "bind-group",
|
2714
|
+
"default": "`true`",
|
2715
|
+
"description": "Whether to bind with CheckboxGroup",
|
2716
|
+
"options": [],
|
2717
|
+
"value": {
|
2718
|
+
"type": "boolean",
|
2719
|
+
"kind": "expression"
|
2720
|
+
}
|
2721
|
+
}
|
2722
|
+
]
|
2723
|
+
},
|
2724
|
+
{
|
2725
|
+
"name": "van-checkbox-group",
|
2726
|
+
"slots": [],
|
2727
|
+
"events": [
|
2728
|
+
{
|
2729
|
+
"name": "change",
|
2730
|
+
"description": "Emitted when value changed",
|
2731
|
+
"arguments": [
|
2732
|
+
{
|
2733
|
+
"name": "names",
|
2734
|
+
"type": "any[]"
|
2735
2735
|
}
|
2736
2736
|
]
|
2737
2737
|
}
|
@@ -5258,40 +5258,14 @@
|
|
5258
5258
|
]
|
5259
5259
|
},
|
5260
5260
|
{
|
5261
|
-
"name": "van-
|
5262
|
-
"slots": [
|
5263
|
-
|
5264
|
-
"name": "default",
|
5265
|
-
"description": "Form content"
|
5266
|
-
}
|
5267
|
-
],
|
5268
|
-
"events": [
|
5269
|
-
{
|
5270
|
-
"name": "submit",
|
5271
|
-
"description": "Emitted after submitting the form and validation passed",
|
5272
|
-
"arguments": [
|
5273
|
-
{
|
5274
|
-
"name": "values",
|
5275
|
-
"type": "object"
|
5276
|
-
}
|
5277
|
-
]
|
5278
|
-
},
|
5279
|
-
{
|
5280
|
-
"name": "failed",
|
5281
|
-
"description": "Emitted after submitting the form and validation failed",
|
5282
|
-
"arguments": [
|
5283
|
-
{
|
5284
|
-
"name": "errorInfo",
|
5285
|
-
"type": "{ values: object, errors: object[] }"
|
5286
|
-
}
|
5287
|
-
]
|
5288
|
-
}
|
5289
|
-
],
|
5261
|
+
"name": "van-grid",
|
5262
|
+
"slots": [],
|
5263
|
+
"events": [],
|
5290
5264
|
"attributes": [
|
5291
5265
|
{
|
5292
|
-
"name": "
|
5293
|
-
"default": "`
|
5294
|
-
"description": "
|
5266
|
+
"name": "column-num",
|
5267
|
+
"default": "`4`",
|
5268
|
+
"description": "Column Num",
|
5295
5269
|
"options": [],
|
5296
5270
|
"value": {
|
5297
5271
|
"type": "number | string",
|
@@ -5299,49 +5273,39 @@
|
|
5299
5273
|
}
|
5300
5274
|
},
|
5301
5275
|
{
|
5302
|
-
"name": "
|
5303
|
-
"default": "`
|
5304
|
-
"description": "
|
5305
|
-
"options": [],
|
5306
|
-
"value": {
|
5307
|
-
"type": "string",
|
5308
|
-
"kind": "expression"
|
5309
|
-
}
|
5310
|
-
},
|
5311
|
-
{
|
5312
|
-
"name": "input-align",
|
5313
|
-
"default": "`left`",
|
5314
|
-
"description": "Field input align, can be set to `center` `right`",
|
5276
|
+
"name": "icon-size",
|
5277
|
+
"default": "`28px`",
|
5278
|
+
"description": "Icon size",
|
5315
5279
|
"options": [],
|
5316
5280
|
"value": {
|
5317
|
-
"type": "string",
|
5281
|
+
"type": "number | string",
|
5318
5282
|
"kind": "expression"
|
5319
5283
|
}
|
5320
5284
|
},
|
5321
5285
|
{
|
5322
|
-
"name": "
|
5323
|
-
"default": "`
|
5324
|
-
"description": "
|
5286
|
+
"name": "gutter",
|
5287
|
+
"default": "`0`",
|
5288
|
+
"description": "Gutter",
|
5325
5289
|
"options": [],
|
5326
5290
|
"value": {
|
5327
|
-
"type": "string",
|
5291
|
+
"type": "number | string",
|
5328
5292
|
"kind": "expression"
|
5329
5293
|
}
|
5330
5294
|
},
|
5331
5295
|
{
|
5332
|
-
"name": "
|
5333
|
-
"default": "`
|
5334
|
-
"description": "
|
5296
|
+
"name": "border",
|
5297
|
+
"default": "`true`",
|
5298
|
+
"description": "Whether to show border",
|
5335
5299
|
"options": [],
|
5336
5300
|
"value": {
|
5337
|
-
"type": "
|
5301
|
+
"type": "boolean",
|
5338
5302
|
"kind": "expression"
|
5339
5303
|
}
|
5340
5304
|
},
|
5341
5305
|
{
|
5342
|
-
"name": "
|
5343
|
-
"default": "`
|
5344
|
-
"description": "Whether to
|
5306
|
+
"name": "center",
|
5307
|
+
"default": "`true`",
|
5308
|
+
"description": "Whether to center content",
|
5345
5309
|
"options": [],
|
5346
5310
|
"value": {
|
5347
5311
|
"type": "boolean",
|
@@ -5349,9 +5313,9 @@
|
|
5349
5313
|
}
|
5350
5314
|
},
|
5351
5315
|
{
|
5352
|
-
"name": "
|
5316
|
+
"name": "square",
|
5353
5317
|
"default": "`false`",
|
5354
|
-
"description": "Whether to
|
5318
|
+
"description": "Whether to be square shape",
|
5355
5319
|
"options": [],
|
5356
5320
|
"value": {
|
5357
5321
|
"type": "boolean",
|
@@ -5359,9 +5323,9 @@
|
|
5359
5323
|
}
|
5360
5324
|
},
|
5361
5325
|
{
|
5362
|
-
"name": "
|
5326
|
+
"name": "clickable",
|
5363
5327
|
"default": "`false`",
|
5364
|
-
"description": "Whether to
|
5328
|
+
"description": "Whether to show click feedback when clicked",
|
5365
5329
|
"options": [],
|
5366
5330
|
"value": {
|
5367
5331
|
"type": "boolean",
|
@@ -5369,96 +5333,100 @@
|
|
5369
5333
|
}
|
5370
5334
|
},
|
5371
5335
|
{
|
5372
|
-
"name": "
|
5373
|
-
"default": "`
|
5374
|
-
"description": "
|
5336
|
+
"name": "direction",
|
5337
|
+
"default": "`vertical`",
|
5338
|
+
"description": "Content arrangement direction, can be set to `horizontal`",
|
5375
5339
|
"options": [],
|
5376
5340
|
"value": {
|
5377
|
-
"type": "
|
5341
|
+
"type": "string",
|
5378
5342
|
"kind": "expression"
|
5379
5343
|
}
|
5380
5344
|
},
|
5381
5345
|
{
|
5382
|
-
"name": "
|
5346
|
+
"name": "reverse",
|
5383
5347
|
"default": "`false`",
|
5384
|
-
"description": "Whether to
|
5348
|
+
"description": "Whether to reverse the position of icon and text",
|
5385
5349
|
"options": [],
|
5386
5350
|
"value": {
|
5387
5351
|
"type": "boolean",
|
5388
5352
|
"kind": "expression"
|
5389
5353
|
}
|
5354
|
+
}
|
5355
|
+
]
|
5356
|
+
},
|
5357
|
+
{
|
5358
|
+
"name": "van-grid-item",
|
5359
|
+
"slots": [
|
5360
|
+
{
|
5361
|
+
"name": "default",
|
5362
|
+
"description": "Custom content"
|
5390
5363
|
},
|
5391
5364
|
{
|
5392
|
-
"name": "
|
5393
|
-
"
|
5394
|
-
"description": "Whether to highlight input when validation failed",
|
5395
|
-
"options": [],
|
5396
|
-
"value": {
|
5397
|
-
"type": "boolean",
|
5398
|
-
"kind": "expression"
|
5399
|
-
}
|
5365
|
+
"name": "icon",
|
5366
|
+
"description": "Custom icon"
|
5400
5367
|
},
|
5401
5368
|
{
|
5402
|
-
"name": "
|
5403
|
-
"
|
5404
|
-
|
5405
|
-
|
5406
|
-
|
5407
|
-
"type": "boolean",
|
5408
|
-
"kind": "expression"
|
5409
|
-
}
|
5410
|
-
},
|
5369
|
+
"name": "text",
|
5370
|
+
"description": "Custom text"
|
5371
|
+
}
|
5372
|
+
],
|
5373
|
+
"events": [
|
5411
5374
|
{
|
5412
|
-
"name": "
|
5413
|
-
"
|
5414
|
-
"
|
5375
|
+
"name": "click",
|
5376
|
+
"description": "Emitted when component is clicked",
|
5377
|
+
"arguments": [
|
5378
|
+
{
|
5379
|
+
"name": "event",
|
5380
|
+
"type": "MouseEvent"
|
5381
|
+
}
|
5382
|
+
]
|
5383
|
+
}
|
5384
|
+
],
|
5385
|
+
"attributes": [
|
5386
|
+
{
|
5387
|
+
"name": "text",
|
5388
|
+
"default": "-",
|
5389
|
+
"description": "Text",
|
5415
5390
|
"options": [],
|
5416
5391
|
"value": {
|
5417
|
-
"type": "
|
5392
|
+
"type": "string",
|
5418
5393
|
"kind": "expression"
|
5419
5394
|
}
|
5420
|
-
}
|
5421
|
-
]
|
5422
|
-
},
|
5423
|
-
{
|
5424
|
-
"name": "van-grid",
|
5425
|
-
"slots": [],
|
5426
|
-
"events": [],
|
5427
|
-
"attributes": [
|
5395
|
+
},
|
5428
5396
|
{
|
5429
|
-
"name": "
|
5430
|
-
"default": "
|
5431
|
-
"description": "
|
5397
|
+
"name": "icon",
|
5398
|
+
"default": "-",
|
5399
|
+
"description": "Icon name or URL",
|
5432
5400
|
"options": [],
|
5433
5401
|
"value": {
|
5434
|
-
"type": "
|
5402
|
+
"type": "string",
|
5435
5403
|
"kind": "expression"
|
5436
5404
|
}
|
5437
5405
|
},
|
5438
5406
|
{
|
5439
|
-
"name": "icon-
|
5440
|
-
"default": "`
|
5441
|
-
"description": "Icon
|
5407
|
+
"name": "icon-prefix",
|
5408
|
+
"default": "`van-icon`",
|
5409
|
+
"description": "Icon className prefix",
|
5442
5410
|
"options": [],
|
5443
5411
|
"value": {
|
5444
|
-
"type": "
|
5412
|
+
"type": "string",
|
5445
5413
|
"kind": "expression"
|
5446
5414
|
}
|
5447
5415
|
},
|
5448
5416
|
{
|
5449
|
-
"name": "
|
5450
|
-
"default": "
|
5451
|
-
"description": "
|
5417
|
+
"name": "icon-color",
|
5418
|
+
"default": "-",
|
5419
|
+
"description": "Icon color",
|
5452
5420
|
"options": [],
|
5453
5421
|
"value": {
|
5454
|
-
"type": "
|
5422
|
+
"type": "string",
|
5455
5423
|
"kind": "expression"
|
5456
5424
|
}
|
5457
5425
|
},
|
5458
5426
|
{
|
5459
|
-
"name": "
|
5460
|
-
"default": "`
|
5461
|
-
"description": "Whether to show
|
5427
|
+
"name": "dot",
|
5428
|
+
"default": "`false`",
|
5429
|
+
"description": "Whether to show red dot",
|
5462
5430
|
"options": [],
|
5463
5431
|
"value": {
|
5464
5432
|
"type": "boolean",
|
@@ -5466,49 +5434,49 @@
|
|
5466
5434
|
}
|
5467
5435
|
},
|
5468
5436
|
{
|
5469
|
-
"name": "
|
5470
|
-
"default": "
|
5471
|
-
"description": "
|
5437
|
+
"name": "badge",
|
5438
|
+
"default": "-",
|
5439
|
+
"description": "Content of the badge",
|
5472
5440
|
"options": [],
|
5473
5441
|
"value": {
|
5474
|
-
"type": "
|
5442
|
+
"type": "number | string",
|
5475
5443
|
"kind": "expression"
|
5476
5444
|
}
|
5477
5445
|
},
|
5478
5446
|
{
|
5479
|
-
"name": "
|
5480
|
-
"default": "
|
5481
|
-
"description": "
|
5447
|
+
"name": "badge-props",
|
5448
|
+
"default": "-",
|
5449
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
5482
5450
|
"options": [],
|
5483
5451
|
"value": {
|
5484
|
-
"type": "
|
5452
|
+
"type": "BadgeProps",
|
5485
5453
|
"kind": "expression"
|
5486
5454
|
}
|
5487
5455
|
},
|
5488
5456
|
{
|
5489
|
-
"name": "
|
5490
|
-
"default": "
|
5491
|
-
"description": "
|
5457
|
+
"name": "url",
|
5458
|
+
"default": "-",
|
5459
|
+
"description": "Link URL",
|
5492
5460
|
"options": [],
|
5493
5461
|
"value": {
|
5494
|
-
"type": "
|
5462
|
+
"type": "string",
|
5495
5463
|
"kind": "expression"
|
5496
5464
|
}
|
5497
5465
|
},
|
5498
5466
|
{
|
5499
|
-
"name": "
|
5500
|
-
"default": "
|
5501
|
-
"description": "
|
5467
|
+
"name": "to",
|
5468
|
+
"default": "-",
|
5469
|
+
"description": "Target route of the link, same as to of vue-router",
|
5502
5470
|
"options": [],
|
5503
5471
|
"value": {
|
5504
|
-
"type": "string",
|
5472
|
+
"type": "string | object",
|
5505
5473
|
"kind": "expression"
|
5506
5474
|
}
|
5507
5475
|
},
|
5508
5476
|
{
|
5509
|
-
"name": "
|
5477
|
+
"name": "replace",
|
5510
5478
|
"default": "`false`",
|
5511
|
-
"description": "
|
5479
|
+
"description": "If true, the navigation will not leave a history record",
|
5512
5480
|
"options": [],
|
5513
5481
|
"value": {
|
5514
5482
|
"type": "boolean",
|
@@ -5518,48 +5486,50 @@
|
|
5518
5486
|
]
|
5519
5487
|
},
|
5520
5488
|
{
|
5521
|
-
"name": "van-
|
5489
|
+
"name": "van-form",
|
5522
5490
|
"slots": [
|
5523
5491
|
{
|
5524
5492
|
"name": "default",
|
5525
|
-
"description": "
|
5526
|
-
},
|
5527
|
-
{
|
5528
|
-
"name": "icon",
|
5529
|
-
"description": "Custom icon"
|
5530
|
-
},
|
5531
|
-
{
|
5532
|
-
"name": "text",
|
5533
|
-
"description": "Custom text"
|
5493
|
+
"description": "Form content"
|
5534
5494
|
}
|
5535
5495
|
],
|
5536
5496
|
"events": [
|
5537
5497
|
{
|
5538
|
-
"name": "
|
5539
|
-
"description": "Emitted
|
5498
|
+
"name": "submit",
|
5499
|
+
"description": "Emitted after submitting the form and validation passed",
|
5540
5500
|
"arguments": [
|
5541
5501
|
{
|
5542
|
-
"name": "
|
5543
|
-
"type": "
|
5502
|
+
"name": "values",
|
5503
|
+
"type": "object"
|
5504
|
+
}
|
5505
|
+
]
|
5506
|
+
},
|
5507
|
+
{
|
5508
|
+
"name": "failed",
|
5509
|
+
"description": "Emitted after submitting the form and validation failed",
|
5510
|
+
"arguments": [
|
5511
|
+
{
|
5512
|
+
"name": "errorInfo",
|
5513
|
+
"type": "{ values: object, errors: object[] }"
|
5544
5514
|
}
|
5545
5515
|
]
|
5546
5516
|
}
|
5547
5517
|
],
|
5548
5518
|
"attributes": [
|
5549
5519
|
{
|
5550
|
-
"name": "
|
5551
|
-
"default": "
|
5552
|
-
"description": "
|
5520
|
+
"name": "label-width",
|
5521
|
+
"default": "`6.2em`",
|
5522
|
+
"description": "Field label width",
|
5553
5523
|
"options": [],
|
5554
5524
|
"value": {
|
5555
|
-
"type": "string",
|
5525
|
+
"type": "number | string",
|
5556
5526
|
"kind": "expression"
|
5557
5527
|
}
|
5558
5528
|
},
|
5559
5529
|
{
|
5560
|
-
"name": "
|
5561
|
-
"default": "
|
5562
|
-
"description": "
|
5530
|
+
"name": "label-align",
|
5531
|
+
"default": "`left`",
|
5532
|
+
"description": "Field label align, can be set to `center` `right`",
|
5563
5533
|
"options": [],
|
5564
5534
|
"value": {
|
5565
5535
|
"type": "string",
|
@@ -5567,9 +5537,9 @@
|
|
5567
5537
|
}
|
5568
5538
|
},
|
5569
5539
|
{
|
5570
|
-
"name": "
|
5571
|
-
"default": "`
|
5572
|
-
"description": "
|
5540
|
+
"name": "input-align",
|
5541
|
+
"default": "`left`",
|
5542
|
+
"description": "Field input align, can be set to `center` `right`",
|
5573
5543
|
"options": [],
|
5574
5544
|
"value": {
|
5575
5545
|
"type": "string",
|
@@ -5577,9 +5547,9 @@
|
|
5577
5547
|
}
|
5578
5548
|
},
|
5579
5549
|
{
|
5580
|
-
"name": "
|
5581
|
-
"default": "
|
5582
|
-
"description": "
|
5550
|
+
"name": "error-message-align",
|
5551
|
+
"default": "`left`",
|
5552
|
+
"description": "Error message align, can be set to `center` `right`",
|
5583
5553
|
"options": [],
|
5584
5554
|
"value": {
|
5585
5555
|
"type": "string",
|
@@ -5587,9 +5557,19 @@
|
|
5587
5557
|
}
|
5588
5558
|
},
|
5589
5559
|
{
|
5590
|
-
"name": "
|
5560
|
+
"name": "validate-trigger",
|
5561
|
+
"default": "`onBlur`",
|
5562
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
|
5563
|
+
"options": [],
|
5564
|
+
"value": {
|
5565
|
+
"type": "string | string[]",
|
5566
|
+
"kind": "expression"
|
5567
|
+
}
|
5568
|
+
},
|
5569
|
+
{
|
5570
|
+
"name": "colon",
|
5591
5571
|
"default": "`false`",
|
5592
|
-
"description": "Whether to
|
5572
|
+
"description": "Whether to display colon after label",
|
5593
5573
|
"options": [],
|
5594
5574
|
"value": {
|
5595
5575
|
"type": "boolean",
|
@@ -5597,49 +5577,69 @@
|
|
5597
5577
|
}
|
5598
5578
|
},
|
5599
5579
|
{
|
5600
|
-
"name": "
|
5601
|
-
"default": "
|
5602
|
-
"description": "
|
5580
|
+
"name": "disabled",
|
5581
|
+
"default": "`false`",
|
5582
|
+
"description": "Whether to disable form",
|
5603
5583
|
"options": [],
|
5604
5584
|
"value": {
|
5605
|
-
"type": "
|
5585
|
+
"type": "boolean",
|
5606
5586
|
"kind": "expression"
|
5607
5587
|
}
|
5608
5588
|
},
|
5609
5589
|
{
|
5610
|
-
"name": "
|
5611
|
-
"default": "
|
5612
|
-
"description": "
|
5590
|
+
"name": "readonly",
|
5591
|
+
"default": "`false`",
|
5592
|
+
"description": "Whether to be readonly",
|
5613
5593
|
"options": [],
|
5614
5594
|
"value": {
|
5615
|
-
"type": "
|
5595
|
+
"type": "boolean",
|
5616
5596
|
"kind": "expression"
|
5617
5597
|
}
|
5618
5598
|
},
|
5619
5599
|
{
|
5620
|
-
"name": "
|
5621
|
-
"default": "
|
5622
|
-
"description": "
|
5600
|
+
"name": "validate-first",
|
5601
|
+
"default": "`false`",
|
5602
|
+
"description": "Whether to stop the validation when a rule fails",
|
5623
5603
|
"options": [],
|
5624
5604
|
"value": {
|
5625
|
-
"type": "
|
5605
|
+
"type": "boolean",
|
5626
5606
|
"kind": "expression"
|
5627
5607
|
}
|
5628
5608
|
},
|
5629
5609
|
{
|
5630
|
-
"name": "to",
|
5631
|
-
"default": "
|
5632
|
-
"description": "
|
5610
|
+
"name": "scroll-to-error",
|
5611
|
+
"default": "`false`",
|
5612
|
+
"description": "Whether to scroll to the error field when validation failed",
|
5633
5613
|
"options": [],
|
5634
5614
|
"value": {
|
5635
|
-
"type": "
|
5615
|
+
"type": "boolean",
|
5636
5616
|
"kind": "expression"
|
5637
5617
|
}
|
5638
5618
|
},
|
5639
5619
|
{
|
5640
|
-
"name": "
|
5620
|
+
"name": "show-error",
|
5641
5621
|
"default": "`false`",
|
5642
|
-
"description": "
|
5622
|
+
"description": "Whether to highlight input when validation failed",
|
5623
|
+
"options": [],
|
5624
|
+
"value": {
|
5625
|
+
"type": "boolean",
|
5626
|
+
"kind": "expression"
|
5627
|
+
}
|
5628
|
+
},
|
5629
|
+
{
|
5630
|
+
"name": "show-error-message",
|
5631
|
+
"default": "`true`",
|
5632
|
+
"description": "Whether to show error message when validation failed",
|
5633
|
+
"options": [],
|
5634
|
+
"value": {
|
5635
|
+
"type": "boolean",
|
5636
|
+
"kind": "expression"
|
5637
|
+
}
|
5638
|
+
},
|
5639
|
+
{
|
5640
|
+
"name": "submit-on-enter",
|
5641
|
+
"default": "`true`",
|
5642
|
+
"description": "Whether to submit form on enter",
|
5643
5643
|
"options": [],
|
5644
5644
|
"value": {
|
5645
5645
|
"type": "boolean",
|
@@ -5747,153 +5747,118 @@
|
|
5747
5747
|
]
|
5748
5748
|
},
|
5749
5749
|
{
|
5750
|
-
"name": "van-image
|
5750
|
+
"name": "van-image",
|
5751
5751
|
"slots": [
|
5752
5752
|
{
|
5753
|
-
"name": "
|
5754
|
-
"description": "Custom
|
5753
|
+
"name": "default",
|
5754
|
+
"description": "Custom the content below the image"
|
5755
5755
|
},
|
5756
5756
|
{
|
5757
|
-
"name": "
|
5758
|
-
"description": "Custom
|
5757
|
+
"name": "loading",
|
5758
|
+
"description": "Custom loading placeholder"
|
5759
5759
|
},
|
5760
5760
|
{
|
5761
|
-
"name": "
|
5762
|
-
"description": "Custom
|
5761
|
+
"name": "error",
|
5762
|
+
"description": "Custom error placeholder"
|
5763
5763
|
}
|
5764
5764
|
],
|
5765
5765
|
"events": [
|
5766
5766
|
{
|
5767
|
-
"name": "
|
5768
|
-
"description": "Emitted when
|
5767
|
+
"name": "click",
|
5768
|
+
"description": "Emitted when image is clicked",
|
5769
5769
|
"arguments": [
|
5770
5770
|
{
|
5771
|
-
"name": "
|
5772
|
-
"type": "
|
5771
|
+
"name": "event",
|
5772
|
+
"type": "MouseEvent"
|
5773
5773
|
}
|
5774
5774
|
]
|
5775
5775
|
},
|
5776
5776
|
{
|
5777
|
-
"name": "
|
5778
|
-
"description": "Emitted when
|
5777
|
+
"name": "load",
|
5778
|
+
"description": "Emitted when image loaded",
|
5779
5779
|
"arguments": []
|
5780
5780
|
},
|
5781
5781
|
{
|
5782
|
-
"name": "
|
5783
|
-
"description": "Emitted when
|
5784
|
-
"arguments": [
|
5785
|
-
{
|
5786
|
-
"name": "index",
|
5787
|
-
"type": "number"
|
5788
|
-
}
|
5789
|
-
]
|
5790
|
-
},
|
5791
|
-
{
|
5792
|
-
"name": "scale",
|
5793
|
-
"description": "Emitted when scaling current image",
|
5794
|
-
"arguments": [
|
5795
|
-
{
|
5796
|
-
"name": "value",
|
5797
|
-
"type": "ImagePreviewScaleEventParams"
|
5798
|
-
}
|
5799
|
-
]
|
5800
|
-
},
|
5801
|
-
{
|
5802
|
-
"name": "scale",
|
5803
|
-
"description": "Emitted when scaling current image",
|
5804
|
-
"arguments": [
|
5805
|
-
{
|
5806
|
-
"name": "value",
|
5807
|
-
"type": "ImagePreviewScaleEventParams"
|
5808
|
-
}
|
5809
|
-
]
|
5782
|
+
"name": "error",
|
5783
|
+
"description": "Emitted when image load failed",
|
5784
|
+
"arguments": []
|
5810
5785
|
}
|
5811
5786
|
],
|
5812
5787
|
"attributes": [
|
5813
5788
|
{
|
5814
|
-
"name": "
|
5815
|
-
"default": "
|
5816
|
-
"description": "
|
5817
|
-
"options": [],
|
5818
|
-
"value": {
|
5819
|
-
"type": "boolean",
|
5820
|
-
"kind": "expression"
|
5821
|
-
}
|
5822
|
-
},
|
5823
|
-
{
|
5824
|
-
"name": "images",
|
5825
|
-
"default": "`[]`",
|
5826
|
-
"description": "Images URL list",
|
5789
|
+
"name": "src",
|
5790
|
+
"default": "-",
|
5791
|
+
"description": "Src",
|
5827
5792
|
"options": [],
|
5828
5793
|
"value": {
|
5829
|
-
"type": "string
|
5794
|
+
"type": "string",
|
5830
5795
|
"kind": "expression"
|
5831
5796
|
}
|
5832
5797
|
},
|
5833
5798
|
{
|
5834
|
-
"name": "
|
5835
|
-
"default": "`
|
5836
|
-
"description": "
|
5799
|
+
"name": "fit",
|
5800
|
+
"default": "`fill`",
|
5801
|
+
"description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)",
|
5837
5802
|
"options": [],
|
5838
5803
|
"value": {
|
5839
|
-
"type": "
|
5804
|
+
"type": "string",
|
5840
5805
|
"kind": "expression"
|
5841
5806
|
}
|
5842
5807
|
},
|
5843
5808
|
{
|
5844
|
-
"name": "
|
5845
|
-
"default": "`
|
5846
|
-
"description": "
|
5809
|
+
"name": "position",
|
5810
|
+
"default": "`center`",
|
5811
|
+
"description": "Position, same as [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position), can be set to `top` `right` `bottom` `left` or `string`",
|
5847
5812
|
"options": [],
|
5848
5813
|
"value": {
|
5849
|
-
"type": "
|
5814
|
+
"type": "string",
|
5850
5815
|
"kind": "expression"
|
5851
5816
|
}
|
5852
5817
|
},
|
5853
5818
|
{
|
5854
|
-
"name": "
|
5855
|
-
"default": "
|
5856
|
-
"description": "
|
5819
|
+
"name": "alt",
|
5820
|
+
"default": "-",
|
5821
|
+
"description": "Alt",
|
5857
5822
|
"options": [],
|
5858
5823
|
"value": {
|
5859
|
-
"type": "
|
5824
|
+
"type": "string",
|
5860
5825
|
"kind": "expression"
|
5861
5826
|
}
|
5862
5827
|
},
|
5863
5828
|
{
|
5864
|
-
"name": "
|
5865
|
-
"default": "
|
5866
|
-
"description": "
|
5829
|
+
"name": "width",
|
5830
|
+
"default": "-",
|
5831
|
+
"description": "Width",
|
5867
5832
|
"options": [],
|
5868
5833
|
"value": {
|
5869
|
-
"type": "
|
5834
|
+
"type": "number | string",
|
5870
5835
|
"kind": "expression"
|
5871
5836
|
}
|
5872
5837
|
},
|
5873
5838
|
{
|
5874
|
-
"name": "
|
5875
|
-
"default": "
|
5876
|
-
"description": "
|
5839
|
+
"name": "height",
|
5840
|
+
"default": "-",
|
5841
|
+
"description": "Height",
|
5877
5842
|
"options": [],
|
5878
5843
|
"value": {
|
5879
|
-
"type": "
|
5844
|
+
"type": "number | string",
|
5880
5845
|
"kind": "expression"
|
5881
5846
|
}
|
5882
5847
|
},
|
5883
5848
|
{
|
5884
|
-
"name": "
|
5885
|
-
"default": "
|
5886
|
-
"description": "
|
5849
|
+
"name": "radius",
|
5850
|
+
"default": "`0`",
|
5851
|
+
"description": "Border Radius",
|
5887
5852
|
"options": [],
|
5888
5853
|
"value": {
|
5889
|
-
"type": "
|
5854
|
+
"type": "number | string",
|
5890
5855
|
"kind": "expression"
|
5891
5856
|
}
|
5892
5857
|
},
|
5893
5858
|
{
|
5894
|
-
"name": "
|
5895
|
-
"default": "`
|
5896
|
-
"description": "Whether to
|
5859
|
+
"name": "round",
|
5860
|
+
"default": "`false`",
|
5861
|
+
"description": "Whether to be round",
|
5897
5862
|
"options": [],
|
5898
5863
|
"value": {
|
5899
5864
|
"type": "boolean",
|
@@ -5901,39 +5866,39 @@
|
|
5901
5866
|
}
|
5902
5867
|
},
|
5903
5868
|
{
|
5904
|
-
"name": "
|
5905
|
-
"default": "
|
5906
|
-
"description": "
|
5869
|
+
"name": "block",
|
5870
|
+
"default": "`false`",
|
5871
|
+
"description": "Whether the root node is a block element",
|
5907
5872
|
"options": [],
|
5908
5873
|
"value": {
|
5909
|
-
"type": "
|
5874
|
+
"type": "boolean",
|
5910
5875
|
"kind": "expression"
|
5911
5876
|
}
|
5912
5877
|
},
|
5913
5878
|
{
|
5914
|
-
"name": "
|
5915
|
-
"default": "`
|
5916
|
-
"description": "
|
5879
|
+
"name": "lazy-load",
|
5880
|
+
"default": "`false`",
|
5881
|
+
"description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component",
|
5917
5882
|
"options": [],
|
5918
5883
|
"value": {
|
5919
|
-
"type": "
|
5884
|
+
"type": "boolean",
|
5920
5885
|
"kind": "expression"
|
5921
5886
|
}
|
5922
5887
|
},
|
5923
5888
|
{
|
5924
|
-
"name": "
|
5925
|
-
"default": "`
|
5926
|
-
"description": "
|
5889
|
+
"name": "show-error",
|
5890
|
+
"default": "`true`",
|
5891
|
+
"description": "Whether to show error placeholder",
|
5927
5892
|
"options": [],
|
5928
5893
|
"value": {
|
5929
|
-
"type": "
|
5894
|
+
"type": "boolean",
|
5930
5895
|
"kind": "expression"
|
5931
5896
|
}
|
5932
5897
|
},
|
5933
5898
|
{
|
5934
|
-
"name": "
|
5935
|
-
"default": "`
|
5936
|
-
"description": "Whether to show
|
5899
|
+
"name": "show-loading",
|
5900
|
+
"default": "`true`",
|
5901
|
+
"description": "Whether to show loading placeholder",
|
5937
5902
|
"options": [],
|
5938
5903
|
"value": {
|
5939
5904
|
"type": "boolean",
|
@@ -5941,9 +5906,9 @@
|
|
5941
5906
|
}
|
5942
5907
|
},
|
5943
5908
|
{
|
5944
|
-
"name": "
|
5945
|
-
"default": "`
|
5946
|
-
"description": "
|
5909
|
+
"name": "error-icon",
|
5910
|
+
"default": "`photo-fail`",
|
5911
|
+
"description": "Error icon",
|
5947
5912
|
"options": [],
|
5948
5913
|
"value": {
|
5949
5914
|
"type": "string",
|
@@ -5951,9 +5916,9 @@
|
|
5951
5916
|
}
|
5952
5917
|
},
|
5953
5918
|
{
|
5954
|
-
"name": "
|
5955
|
-
"default": "`
|
5956
|
-
"description": "
|
5919
|
+
"name": "loading-icon",
|
5920
|
+
"default": "`photo`",
|
5921
|
+
"description": "Loading icon",
|
5957
5922
|
"options": [],
|
5958
5923
|
"value": {
|
5959
5924
|
"type": "string",
|
@@ -5961,97 +5926,95 @@
|
|
5961
5926
|
}
|
5962
5927
|
},
|
5963
5928
|
{
|
5964
|
-
"name": "
|
5965
|
-
"default": "`
|
5966
|
-
"description": "
|
5929
|
+
"name": "icon-size",
|
5930
|
+
"default": "`32px`",
|
5931
|
+
"description": "Icon size",
|
5967
5932
|
"options": [],
|
5968
5933
|
"value": {
|
5969
|
-
"type": "string",
|
5934
|
+
"type": "number | string",
|
5970
5935
|
"kind": "expression"
|
5971
5936
|
}
|
5972
5937
|
},
|
5973
5938
|
{
|
5974
|
-
"name": "
|
5975
|
-
"default": "-",
|
5976
|
-
"description": "
|
5939
|
+
"name": "icon-prefix",
|
5940
|
+
"default": "`van-icon`",
|
5941
|
+
"description": "Icon className prefix",
|
5977
5942
|
"options": [],
|
5978
5943
|
"value": {
|
5979
|
-
"type": "string
|
5944
|
+
"type": "string",
|
5980
5945
|
"kind": "expression"
|
5981
5946
|
}
|
5947
|
+
}
|
5948
|
+
]
|
5949
|
+
},
|
5950
|
+
{
|
5951
|
+
"name": "van-image-preview",
|
5952
|
+
"slots": [
|
5953
|
+
{
|
5954
|
+
"name": "index",
|
5955
|
+
"description": "Custom index"
|
5982
5956
|
},
|
5983
5957
|
{
|
5984
|
-
"name": "
|
5985
|
-
"
|
5986
|
-
"description": "Custom overlay style",
|
5987
|
-
"options": [],
|
5988
|
-
"value": {
|
5989
|
-
"type": "object",
|
5990
|
-
"kind": "expression"
|
5991
|
-
}
|
5958
|
+
"name": "cover",
|
5959
|
+
"description": "Custom content that covers the image preview"
|
5992
5960
|
},
|
5993
5961
|
{
|
5994
|
-
"name": "
|
5995
|
-
"
|
5996
|
-
"description": "Specifies a target element where ImagePreview will be mounted",
|
5997
|
-
"options": [],
|
5998
|
-
"value": {
|
5999
|
-
"type": "string | Element",
|
6000
|
-
"kind": "expression"
|
6001
|
-
}
|
5962
|
+
"name": "image",
|
5963
|
+
"description": "Custom image content"
|
6002
5964
|
}
|
6003
|
-
]
|
6004
|
-
},
|
6005
|
-
{
|
6006
|
-
"name": "van-index-bar",
|
6007
|
-
"slots": [],
|
5965
|
+
],
|
6008
5966
|
"events": [
|
6009
5967
|
{
|
6010
|
-
"name": "
|
6011
|
-
"description": "Emitted when
|
5968
|
+
"name": "close",
|
5969
|
+
"description": "Emitted when closing ImagePreview",
|
6012
5970
|
"arguments": [
|
6013
5971
|
{
|
6014
|
-
"name": "
|
6015
|
-
"type": "
|
5972
|
+
"name": "value",
|
5973
|
+
"type": "{ index, url }"
|
6016
5974
|
}
|
6017
5975
|
]
|
6018
5976
|
},
|
5977
|
+
{
|
5978
|
+
"name": "closed",
|
5979
|
+
"description": "Emitted when ImagePreview is closed",
|
5980
|
+
"arguments": []
|
5981
|
+
},
|
6019
5982
|
{
|
6020
5983
|
"name": "change",
|
6021
|
-
"description": "Emitted when
|
5984
|
+
"description": "Emitted when current image changed",
|
6022
5985
|
"arguments": [
|
6023
5986
|
{
|
6024
5987
|
"name": "index",
|
6025
|
-
"type": "number
|
5988
|
+
"type": "number"
|
6026
5989
|
}
|
6027
5990
|
]
|
6028
|
-
}
|
6029
|
-
],
|
6030
|
-
"attributes": [
|
6031
|
-
{
|
6032
|
-
"name": "index-list",
|
6033
|
-
"default": "`A-Z`",
|
6034
|
-
"description": "Index List",
|
6035
|
-
"options": [],
|
6036
|
-
"value": {
|
6037
|
-
"type": "string[] | number[]",
|
6038
|
-
"kind": "expression"
|
6039
|
-
}
|
6040
5991
|
},
|
6041
5992
|
{
|
6042
|
-
"name": "
|
6043
|
-
"
|
6044
|
-
"
|
6045
|
-
|
6046
|
-
|
6047
|
-
|
6048
|
-
|
6049
|
-
|
5993
|
+
"name": "scale",
|
5994
|
+
"description": "Emitted when scaling current image",
|
5995
|
+
"arguments": [
|
5996
|
+
{
|
5997
|
+
"name": "value",
|
5998
|
+
"type": "ImagePreviewScaleEventParams"
|
5999
|
+
}
|
6000
|
+
]
|
6050
6001
|
},
|
6051
6002
|
{
|
6052
|
-
"name": "
|
6053
|
-
"
|
6054
|
-
"
|
6003
|
+
"name": "scale",
|
6004
|
+
"description": "Emitted when scaling current image",
|
6005
|
+
"arguments": [
|
6006
|
+
{
|
6007
|
+
"name": "value",
|
6008
|
+
"type": "ImagePreviewScaleEventParams"
|
6009
|
+
}
|
6010
|
+
]
|
6011
|
+
}
|
6012
|
+
],
|
6013
|
+
"attributes": [
|
6014
|
+
{
|
6015
|
+
"name": "v-model:show",
|
6016
|
+
"default": "`false`",
|
6017
|
+
"description": "Whether to show ImagePreview",
|
6055
6018
|
"options": [],
|
6056
6019
|
"value": {
|
6057
6020
|
"type": "boolean",
|
@@ -6059,162 +6022,99 @@
|
|
6059
6022
|
}
|
6060
6023
|
},
|
6061
6024
|
{
|
6062
|
-
"name": "
|
6063
|
-
"default": "`
|
6064
|
-
"description": "
|
6025
|
+
"name": "images",
|
6026
|
+
"default": "`[]`",
|
6027
|
+
"description": "Images URL list",
|
6065
6028
|
"options": [],
|
6066
6029
|
"value": {
|
6067
|
-
"type": "
|
6030
|
+
"type": "string[]",
|
6068
6031
|
"kind": "expression"
|
6069
6032
|
}
|
6070
6033
|
},
|
6071
6034
|
{
|
6072
|
-
"name": "
|
6073
|
-
"default": "
|
6074
|
-
"description": "
|
6035
|
+
"name": "start-position",
|
6036
|
+
"default": "`0`",
|
6037
|
+
"description": "Start position",
|
6075
6038
|
"options": [],
|
6076
6039
|
"value": {
|
6077
|
-
"type": "string",
|
6040
|
+
"type": "number | string",
|
6078
6041
|
"kind": "expression"
|
6079
6042
|
}
|
6080
6043
|
},
|
6081
6044
|
{
|
6082
|
-
"name": "
|
6083
|
-
"default": "
|
6084
|
-
"description": "
|
6085
|
-
"options": [],
|
6086
|
-
"value": {
|
6087
|
-
"type": "string | Element",
|
6088
|
-
"kind": "expression"
|
6089
|
-
}
|
6090
|
-
}
|
6091
|
-
]
|
6092
|
-
},
|
6093
|
-
{
|
6094
|
-
"name": "van-index-anchor",
|
6095
|
-
"slots": [
|
6096
|
-
{
|
6097
|
-
"name": "default",
|
6098
|
-
"description": "Anchor content, show index by default"
|
6099
|
-
}
|
6100
|
-
],
|
6101
|
-
"events": [],
|
6102
|
-
"attributes": [
|
6103
|
-
{
|
6104
|
-
"name": "index",
|
6105
|
-
"default": "-",
|
6106
|
-
"description": "Index",
|
6045
|
+
"name": "swipe-duration",
|
6046
|
+
"default": "`300`",
|
6047
|
+
"description": "Animation duration (ms)",
|
6107
6048
|
"options": [],
|
6108
6049
|
"value": {
|
6109
6050
|
"type": "number | string",
|
6110
6051
|
"kind": "expression"
|
6111
6052
|
}
|
6112
|
-
}
|
6113
|
-
]
|
6114
|
-
},
|
6115
|
-
{
|
6116
|
-
"name": "van-image",
|
6117
|
-
"slots": [
|
6118
|
-
{
|
6119
|
-
"name": "default",
|
6120
|
-
"description": "Custom the content below the image"
|
6121
|
-
},
|
6122
|
-
{
|
6123
|
-
"name": "loading",
|
6124
|
-
"description": "Custom loading placeholder"
|
6125
|
-
},
|
6126
|
-
{
|
6127
|
-
"name": "error",
|
6128
|
-
"description": "Custom error placeholder"
|
6129
|
-
}
|
6130
|
-
],
|
6131
|
-
"events": [
|
6132
|
-
{
|
6133
|
-
"name": "click",
|
6134
|
-
"description": "Emitted when image is clicked",
|
6135
|
-
"arguments": [
|
6136
|
-
{
|
6137
|
-
"name": "event",
|
6138
|
-
"type": "MouseEvent"
|
6139
|
-
}
|
6140
|
-
]
|
6141
|
-
},
|
6142
|
-
{
|
6143
|
-
"name": "load",
|
6144
|
-
"description": "Emitted when image loaded",
|
6145
|
-
"arguments": []
|
6146
6053
|
},
|
6147
6054
|
{
|
6148
|
-
"name": "
|
6149
|
-
"
|
6150
|
-
"
|
6151
|
-
}
|
6152
|
-
],
|
6153
|
-
"attributes": [
|
6154
|
-
{
|
6155
|
-
"name": "src",
|
6156
|
-
"default": "-",
|
6157
|
-
"description": "Src",
|
6055
|
+
"name": "show-index",
|
6056
|
+
"default": "`true`",
|
6057
|
+
"description": "Whether to show index",
|
6158
6058
|
"options": [],
|
6159
6059
|
"value": {
|
6160
|
-
"type": "
|
6060
|
+
"type": "boolean",
|
6161
6061
|
"kind": "expression"
|
6162
6062
|
}
|
6163
6063
|
},
|
6164
6064
|
{
|
6165
|
-
"name": "
|
6166
|
-
"default": "`
|
6167
|
-
"description": "
|
6065
|
+
"name": "show-indicators",
|
6066
|
+
"default": "`false`",
|
6067
|
+
"description": "Whether to show indicators",
|
6168
6068
|
"options": [],
|
6169
6069
|
"value": {
|
6170
|
-
"type": "
|
6070
|
+
"type": "boolean",
|
6171
6071
|
"kind": "expression"
|
6172
6072
|
}
|
6173
6073
|
},
|
6174
6074
|
{
|
6175
|
-
"name": "
|
6176
|
-
"default": "`
|
6177
|
-
"description": "
|
6075
|
+
"name": "loop",
|
6076
|
+
"default": "`true`",
|
6077
|
+
"description": "Whether to enable loop",
|
6178
6078
|
"options": [],
|
6179
6079
|
"value": {
|
6180
|
-
"type": "
|
6080
|
+
"type": "boolean",
|
6181
6081
|
"kind": "expression"
|
6182
6082
|
}
|
6183
6083
|
},
|
6184
6084
|
{
|
6185
|
-
"name": "
|
6085
|
+
"name": "before-close",
|
6186
6086
|
"default": "-",
|
6187
|
-
"description": "
|
6087
|
+
"description": "Callback function before close",
|
6188
6088
|
"options": [],
|
6189
6089
|
"value": {
|
6190
|
-
"type": "
|
6090
|
+
"type": "(action: number) => boolean | Promise\\<boolean\\>",
|
6191
6091
|
"kind": "expression"
|
6192
6092
|
}
|
6193
6093
|
},
|
6194
6094
|
{
|
6195
|
-
"name": "
|
6196
|
-
"default": "
|
6197
|
-
"description": "
|
6095
|
+
"name": "close-on-popstate",
|
6096
|
+
"default": "`true`",
|
6097
|
+
"description": "Whether to close when popstate",
|
6198
6098
|
"options": [],
|
6199
6099
|
"value": {
|
6200
|
-
"type": "
|
6100
|
+
"type": "boolean",
|
6201
6101
|
"kind": "expression"
|
6202
6102
|
}
|
6203
6103
|
},
|
6204
6104
|
{
|
6205
|
-
"name": "
|
6105
|
+
"name": "class-name",
|
6206
6106
|
"default": "-",
|
6207
|
-
"description": "
|
6107
|
+
"description": "Custom className",
|
6208
6108
|
"options": [],
|
6209
6109
|
"value": {
|
6210
|
-
"type": "
|
6110
|
+
"type": "string | Array | object",
|
6211
6111
|
"kind": "expression"
|
6212
6112
|
}
|
6213
6113
|
},
|
6214
6114
|
{
|
6215
|
-
"name": "
|
6216
|
-
"default": "`
|
6217
|
-
"description": "
|
6115
|
+
"name": "max-zoom",
|
6116
|
+
"default": "`3`",
|
6117
|
+
"description": "Max zoom",
|
6218
6118
|
"options": [],
|
6219
6119
|
"value": {
|
6220
6120
|
"type": "number | string",
|
@@ -6222,29 +6122,19 @@
|
|
6222
6122
|
}
|
6223
6123
|
},
|
6224
6124
|
{
|
6225
|
-
"name": "
|
6226
|
-
"default": "`
|
6227
|
-
"description": "
|
6228
|
-
"options": [],
|
6229
|
-
"value": {
|
6230
|
-
"type": "boolean",
|
6231
|
-
"kind": "expression"
|
6232
|
-
}
|
6233
|
-
},
|
6234
|
-
{
|
6235
|
-
"name": "block",
|
6236
|
-
"default": "`false`",
|
6237
|
-
"description": "Whether the root node is a block element",
|
6125
|
+
"name": "min-zoom",
|
6126
|
+
"default": "`1/3`",
|
6127
|
+
"description": "Min zoom",
|
6238
6128
|
"options": [],
|
6239
6129
|
"value": {
|
6240
|
-
"type": "
|
6130
|
+
"type": "number | string",
|
6241
6131
|
"kind": "expression"
|
6242
6132
|
}
|
6243
6133
|
},
|
6244
6134
|
{
|
6245
|
-
"name": "
|
6135
|
+
"name": "closeable",
|
6246
6136
|
"default": "`false`",
|
6247
|
-
"description": "Whether to
|
6137
|
+
"description": "Whether to show close icon",
|
6248
6138
|
"options": [],
|
6249
6139
|
"value": {
|
6250
6140
|
"type": "boolean",
|
@@ -6252,29 +6142,29 @@
|
|
6252
6142
|
}
|
6253
6143
|
},
|
6254
6144
|
{
|
6255
|
-
"name": "
|
6256
|
-
"default": "`
|
6257
|
-
"description": "
|
6145
|
+
"name": "close-icon",
|
6146
|
+
"default": "`clear`",
|
6147
|
+
"description": "Close icon name",
|
6258
6148
|
"options": [],
|
6259
6149
|
"value": {
|
6260
|
-
"type": "
|
6150
|
+
"type": "string",
|
6261
6151
|
"kind": "expression"
|
6262
6152
|
}
|
6263
6153
|
},
|
6264
6154
|
{
|
6265
|
-
"name": "
|
6266
|
-
"default": "`
|
6267
|
-
"description": "
|
6155
|
+
"name": "close-icon-position",
|
6156
|
+
"default": "`top-right`",
|
6157
|
+
"description": "Close icon position, can be set to `top-left` `bottom-left` `bottom-right`",
|
6268
6158
|
"options": [],
|
6269
6159
|
"value": {
|
6270
|
-
"type": "
|
6160
|
+
"type": "string",
|
6271
6161
|
"kind": "expression"
|
6272
6162
|
}
|
6273
6163
|
},
|
6274
6164
|
{
|
6275
|
-
"name": "
|
6276
|
-
"default": "`
|
6277
|
-
"description": "
|
6165
|
+
"name": "transition",
|
6166
|
+
"default": "`van-fade`",
|
6167
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
6278
6168
|
"options": [],
|
6279
6169
|
"value": {
|
6280
6170
|
"type": "string",
|
@@ -6282,91 +6172,107 @@
|
|
6282
6172
|
}
|
6283
6173
|
},
|
6284
6174
|
{
|
6285
|
-
"name": "
|
6286
|
-
"default": "
|
6287
|
-
"description": "
|
6175
|
+
"name": "overlay-class",
|
6176
|
+
"default": "-",
|
6177
|
+
"description": "Custom overlay class",
|
6288
6178
|
"options": [],
|
6289
6179
|
"value": {
|
6290
|
-
"type": "string",
|
6180
|
+
"type": "string | Array | object",
|
6291
6181
|
"kind": "expression"
|
6292
6182
|
}
|
6293
6183
|
},
|
6294
6184
|
{
|
6295
|
-
"name": "
|
6296
|
-
"default": "
|
6297
|
-
"description": "
|
6185
|
+
"name": "overlay-style",
|
6186
|
+
"default": "-",
|
6187
|
+
"description": "Custom overlay style",
|
6298
6188
|
"options": [],
|
6299
6189
|
"value": {
|
6300
|
-
"type": "
|
6190
|
+
"type": "object",
|
6301
6191
|
"kind": "expression"
|
6302
6192
|
}
|
6303
6193
|
},
|
6304
6194
|
{
|
6305
|
-
"name": "
|
6306
|
-
"default": "
|
6307
|
-
"description": "
|
6195
|
+
"name": "teleport",
|
6196
|
+
"default": "-",
|
6197
|
+
"description": "Specifies a target element where ImagePreview will be mounted",
|
6308
6198
|
"options": [],
|
6309
6199
|
"value": {
|
6310
|
-
"type": "string",
|
6200
|
+
"type": "string | Element",
|
6311
6201
|
"kind": "expression"
|
6312
6202
|
}
|
6313
6203
|
}
|
6314
6204
|
]
|
6315
6205
|
},
|
6316
6206
|
{
|
6317
|
-
"name": "van-
|
6318
|
-
"slots": [
|
6207
|
+
"name": "van-index-bar",
|
6208
|
+
"slots": [],
|
6209
|
+
"events": [
|
6319
6210
|
{
|
6320
|
-
"name": "
|
6321
|
-
"description": "
|
6211
|
+
"name": "select",
|
6212
|
+
"description": "Emitted when an index is selected",
|
6213
|
+
"arguments": [
|
6214
|
+
{
|
6215
|
+
"name": "index",
|
6216
|
+
"type": "number | string"
|
6217
|
+
}
|
6218
|
+
]
|
6219
|
+
},
|
6220
|
+
{
|
6221
|
+
"name": "change",
|
6222
|
+
"description": "Emitted when active index changed",
|
6223
|
+
"arguments": [
|
6224
|
+
{
|
6225
|
+
"name": "index",
|
6226
|
+
"type": "number | string"
|
6227
|
+
}
|
6228
|
+
]
|
6322
6229
|
}
|
6323
6230
|
],
|
6324
|
-
"events": [],
|
6325
6231
|
"attributes": [
|
6326
6232
|
{
|
6327
|
-
"name": "
|
6328
|
-
"default": "
|
6329
|
-
"description": "
|
6233
|
+
"name": "index-list",
|
6234
|
+
"default": "`A-Z`",
|
6235
|
+
"description": "Index List",
|
6330
6236
|
"options": [],
|
6331
6237
|
"value": {
|
6332
|
-
"type": "string",
|
6238
|
+
"type": "string[] | number[]",
|
6333
6239
|
"kind": "expression"
|
6334
6240
|
}
|
6335
6241
|
},
|
6336
6242
|
{
|
6337
|
-
"name": "
|
6338
|
-
"default": "`
|
6339
|
-
"description": "
|
6243
|
+
"name": "z-index",
|
6244
|
+
"default": "`1`",
|
6245
|
+
"description": "z-index",
|
6340
6246
|
"options": [],
|
6341
6247
|
"value": {
|
6342
|
-
"type": "string",
|
6248
|
+
"type": "number | string",
|
6343
6249
|
"kind": "expression"
|
6344
6250
|
}
|
6345
6251
|
},
|
6346
6252
|
{
|
6347
|
-
"name": "
|
6348
|
-
"default": "`
|
6349
|
-
"description": "
|
6253
|
+
"name": "sticky",
|
6254
|
+
"default": "`true`",
|
6255
|
+
"description": "Whether to enable anchor sticky top",
|
6350
6256
|
"options": [],
|
6351
6257
|
"value": {
|
6352
|
-
"type": "
|
6258
|
+
"type": "boolean",
|
6353
6259
|
"kind": "expression"
|
6354
6260
|
}
|
6355
6261
|
},
|
6356
6262
|
{
|
6357
|
-
"name": "
|
6358
|
-
"default": "`
|
6359
|
-
"description": "
|
6263
|
+
"name": "sticky-offset-top",
|
6264
|
+
"default": "`0`",
|
6265
|
+
"description": "Anchor offset top when sticky",
|
6360
6266
|
"options": [],
|
6361
6267
|
"value": {
|
6362
|
-
"type": "number
|
6268
|
+
"type": "number",
|
6363
6269
|
"kind": "expression"
|
6364
6270
|
}
|
6365
6271
|
},
|
6366
6272
|
{
|
6367
|
-
"name": "
|
6368
|
-
"default": "`#
|
6369
|
-
"description": "
|
6273
|
+
"name": "highlight-color",
|
6274
|
+
"default": "`#ee0a24`",
|
6275
|
+
"description": "Index character highlight color",
|
6370
6276
|
"options": [],
|
6371
6277
|
"value": {
|
6372
6278
|
"type": "string",
|
@@ -6374,12 +6280,34 @@
|
|
6374
6280
|
}
|
6375
6281
|
},
|
6376
6282
|
{
|
6377
|
-
"name": "
|
6378
|
-
"default": "
|
6379
|
-
"description": "
|
6283
|
+
"name": "teleport",
|
6284
|
+
"default": "-",
|
6285
|
+
"description": "Specifies a target element where IndexBar will be mounted",
|
6380
6286
|
"options": [],
|
6381
6287
|
"value": {
|
6382
|
-
"type": "
|
6288
|
+
"type": "string | Element",
|
6289
|
+
"kind": "expression"
|
6290
|
+
}
|
6291
|
+
}
|
6292
|
+
]
|
6293
|
+
},
|
6294
|
+
{
|
6295
|
+
"name": "van-index-anchor",
|
6296
|
+
"slots": [
|
6297
|
+
{
|
6298
|
+
"name": "default",
|
6299
|
+
"description": "Anchor content, show index by default"
|
6300
|
+
}
|
6301
|
+
],
|
6302
|
+
"events": [],
|
6303
|
+
"attributes": [
|
6304
|
+
{
|
6305
|
+
"name": "index",
|
6306
|
+
"default": "-",
|
6307
|
+
"description": "Index",
|
6308
|
+
"options": [],
|
6309
|
+
"value": {
|
6310
|
+
"type": "number | string",
|
6383
6311
|
"kind": "expression"
|
6384
6312
|
}
|
6385
6313
|
}
|
@@ -6505,6 +6433,78 @@
|
|
6505
6433
|
}
|
6506
6434
|
]
|
6507
6435
|
},
|
6436
|
+
{
|
6437
|
+
"name": "van-loading",
|
6438
|
+
"slots": [
|
6439
|
+
{
|
6440
|
+
"name": "default",
|
6441
|
+
"description": "Loading text"
|
6442
|
+
}
|
6443
|
+
],
|
6444
|
+
"events": [],
|
6445
|
+
"attributes": [
|
6446
|
+
{
|
6447
|
+
"name": "color",
|
6448
|
+
"default": "`#c9c9c9`",
|
6449
|
+
"description": "Loading color",
|
6450
|
+
"options": [],
|
6451
|
+
"value": {
|
6452
|
+
"type": "string",
|
6453
|
+
"kind": "expression"
|
6454
|
+
}
|
6455
|
+
},
|
6456
|
+
{
|
6457
|
+
"name": "type",
|
6458
|
+
"default": "`circular`",
|
6459
|
+
"description": "Can be set to `spinner`",
|
6460
|
+
"options": [],
|
6461
|
+
"value": {
|
6462
|
+
"type": "string",
|
6463
|
+
"kind": "expression"
|
6464
|
+
}
|
6465
|
+
},
|
6466
|
+
{
|
6467
|
+
"name": "size",
|
6468
|
+
"default": "`30px`",
|
6469
|
+
"description": "Icon size",
|
6470
|
+
"options": [],
|
6471
|
+
"value": {
|
6472
|
+
"type": "number | string",
|
6473
|
+
"kind": "expression"
|
6474
|
+
}
|
6475
|
+
},
|
6476
|
+
{
|
6477
|
+
"name": "text-size",
|
6478
|
+
"default": "`14px`",
|
6479
|
+
"description": "Text font size",
|
6480
|
+
"options": [],
|
6481
|
+
"value": {
|
6482
|
+
"type": "number | string",
|
6483
|
+
"kind": "expression"
|
6484
|
+
}
|
6485
|
+
},
|
6486
|
+
{
|
6487
|
+
"name": "text-color",
|
6488
|
+
"default": "`#c9c9c9`",
|
6489
|
+
"description": "Text color",
|
6490
|
+
"options": [],
|
6491
|
+
"value": {
|
6492
|
+
"type": "string",
|
6493
|
+
"kind": "expression"
|
6494
|
+
}
|
6495
|
+
},
|
6496
|
+
{
|
6497
|
+
"name": "vertical",
|
6498
|
+
"default": "`false`",
|
6499
|
+
"description": "Whether to arrange icons and text content vertically",
|
6500
|
+
"options": [],
|
6501
|
+
"value": {
|
6502
|
+
"type": "boolean",
|
6503
|
+
"kind": "expression"
|
6504
|
+
}
|
6505
|
+
}
|
6506
|
+
]
|
6507
|
+
},
|
6508
6508
|
{
|
6509
6509
|
"name": "van-nav-bar",
|
6510
6510
|
"slots": [
|
@@ -6687,146 +6687,43 @@
|
|
6687
6687
|
"options": [],
|
6688
6688
|
"value": {
|
6689
6689
|
"type": "string",
|
6690
|
-
"kind": "expression"
|
6691
|
-
}
|
6692
|
-
},
|
6693
|
-
{
|
6694
|
-
"name": "text",
|
6695
|
-
"default": "`''`",
|
6696
|
-
"description": "Notice text content",
|
6697
|
-
"options": [],
|
6698
|
-
"value": {
|
6699
|
-
"type": "string",
|
6700
|
-
"kind": "expression"
|
6701
|
-
}
|
6702
|
-
},
|
6703
|
-
{
|
6704
|
-
"name": "color",
|
6705
|
-
"default": "`#ed6a0c`",
|
6706
|
-
"description": "Text color",
|
6707
|
-
"options": [],
|
6708
|
-
"value": {
|
6709
|
-
"type": "string",
|
6710
|
-
"kind": "expression"
|
6711
|
-
}
|
6712
|
-
},
|
6713
|
-
{
|
6714
|
-
"name": "background",
|
6715
|
-
"default": "`#fffbe8`",
|
6716
|
-
"description": "Background color",
|
6717
|
-
"options": [],
|
6718
|
-
"value": {
|
6719
|
-
"type": "string",
|
6720
|
-
"kind": "expression"
|
6721
|
-
}
|
6722
|
-
},
|
6723
|
-
{
|
6724
|
-
"name": "left-icon",
|
6725
|
-
"default": "-",
|
6726
|
-
"description": "Left Icon",
|
6727
|
-
"options": [],
|
6728
|
-
"value": {
|
6729
|
-
"type": "string",
|
6730
|
-
"kind": "expression"
|
6731
|
-
}
|
6732
|
-
},
|
6733
|
-
{
|
6734
|
-
"name": "delay",
|
6735
|
-
"default": "`1`",
|
6736
|
-
"description": "Animation delay (s)",
|
6737
|
-
"options": [],
|
6738
|
-
"value": {
|
6739
|
-
"type": "number | string",
|
6740
|
-
"kind": "expression"
|
6741
|
-
}
|
6742
|
-
},
|
6743
|
-
{
|
6744
|
-
"name": "speed",
|
6745
|
-
"default": "`60`",
|
6746
|
-
"description": "Scroll speed (px/s)",
|
6747
|
-
"options": [],
|
6748
|
-
"value": {
|
6749
|
-
"type": "number | string",
|
6750
|
-
"kind": "expression"
|
6751
|
-
}
|
6752
|
-
},
|
6753
|
-
{
|
6754
|
-
"name": "scrollable",
|
6755
|
-
"default": "-",
|
6756
|
-
"description": "Whether to scroll content",
|
6757
|
-
"options": [],
|
6758
|
-
"value": {
|
6759
|
-
"type": "boolean",
|
6760
|
-
"kind": "expression"
|
6761
|
-
}
|
6762
|
-
},
|
6763
|
-
{
|
6764
|
-
"name": "wrapable",
|
6765
|
-
"default": "`false`",
|
6766
|
-
"description": "Whether to enable text wrap",
|
6767
|
-
"options": [],
|
6768
|
-
"value": {
|
6769
|
-
"type": "boolean",
|
6770
|
-
"kind": "expression"
|
6771
|
-
}
|
6772
|
-
}
|
6773
|
-
]
|
6774
|
-
},
|
6775
|
-
{
|
6776
|
-
"name": "van-overlay",
|
6777
|
-
"slots": [
|
6778
|
-
{
|
6779
|
-
"name": "default",
|
6780
|
-
"description": "Default slot"
|
6781
|
-
}
|
6782
|
-
],
|
6783
|
-
"events": [
|
6784
|
-
{
|
6785
|
-
"name": "click",
|
6786
|
-
"description": "Emitted when component is clicked",
|
6787
|
-
"arguments": [
|
6788
|
-
{
|
6789
|
-
"name": "event",
|
6790
|
-
"type": "MouseEvent"
|
6791
|
-
}
|
6792
|
-
]
|
6793
|
-
}
|
6794
|
-
],
|
6795
|
-
"attributes": [
|
6690
|
+
"kind": "expression"
|
6691
|
+
}
|
6692
|
+
},
|
6796
6693
|
{
|
6797
|
-
"name": "
|
6798
|
-
"default": "`
|
6799
|
-
"description": "
|
6694
|
+
"name": "text",
|
6695
|
+
"default": "`''`",
|
6696
|
+
"description": "Notice text content",
|
6800
6697
|
"options": [],
|
6801
6698
|
"value": {
|
6802
|
-
"type": "
|
6699
|
+
"type": "string",
|
6803
6700
|
"kind": "expression"
|
6804
6701
|
}
|
6805
6702
|
},
|
6806
6703
|
{
|
6807
|
-
"name": "
|
6808
|
-
"default": "`
|
6809
|
-
"description": "
|
6704
|
+
"name": "color",
|
6705
|
+
"default": "`#ed6a0c`",
|
6706
|
+
"description": "Text color",
|
6810
6707
|
"options": [],
|
6811
6708
|
"value": {
|
6812
|
-
"type": "
|
6709
|
+
"type": "string",
|
6813
6710
|
"kind": "expression"
|
6814
6711
|
}
|
6815
6712
|
},
|
6816
6713
|
{
|
6817
|
-
"name": "
|
6818
|
-
"default": "`
|
6819
|
-
"description": "
|
6714
|
+
"name": "background",
|
6715
|
+
"default": "`#fffbe8`",
|
6716
|
+
"description": "Background color",
|
6820
6717
|
"options": [],
|
6821
6718
|
"value": {
|
6822
|
-
"type": "
|
6719
|
+
"type": "string",
|
6823
6720
|
"kind": "expression"
|
6824
6721
|
}
|
6825
6722
|
},
|
6826
6723
|
{
|
6827
|
-
"name": "
|
6724
|
+
"name": "left-icon",
|
6828
6725
|
"default": "-",
|
6829
|
-
"description": "
|
6726
|
+
"description": "Left Icon",
|
6830
6727
|
"options": [],
|
6831
6728
|
"value": {
|
6832
6729
|
"type": "string",
|
@@ -6834,19 +6731,29 @@
|
|
6834
6731
|
}
|
6835
6732
|
},
|
6836
6733
|
{
|
6837
|
-
"name": "
|
6838
|
-
"default": "
|
6839
|
-
"description": "
|
6734
|
+
"name": "delay",
|
6735
|
+
"default": "`1`",
|
6736
|
+
"description": "Animation delay (s)",
|
6840
6737
|
"options": [],
|
6841
6738
|
"value": {
|
6842
|
-
"type": "
|
6739
|
+
"type": "number | string",
|
6843
6740
|
"kind": "expression"
|
6844
6741
|
}
|
6845
6742
|
},
|
6846
6743
|
{
|
6847
|
-
"name": "
|
6848
|
-
"default": "`
|
6849
|
-
"description": "
|
6744
|
+
"name": "speed",
|
6745
|
+
"default": "`60`",
|
6746
|
+
"description": "Scroll speed (px/s)",
|
6747
|
+
"options": [],
|
6748
|
+
"value": {
|
6749
|
+
"type": "number | string",
|
6750
|
+
"kind": "expression"
|
6751
|
+
}
|
6752
|
+
},
|
6753
|
+
{
|
6754
|
+
"name": "scrollable",
|
6755
|
+
"default": "-",
|
6756
|
+
"description": "Whether to scroll content",
|
6850
6757
|
"options": [],
|
6851
6758
|
"value": {
|
6852
6759
|
"type": "boolean",
|
@@ -6854,9 +6761,9 @@
|
|
6854
6761
|
}
|
6855
6762
|
},
|
6856
6763
|
{
|
6857
|
-
"name": "
|
6858
|
-
"default": "`
|
6859
|
-
"description": "Whether to
|
6764
|
+
"name": "wrapable",
|
6765
|
+
"default": "`false`",
|
6766
|
+
"description": "Whether to enable text wrap",
|
6860
6767
|
"options": [],
|
6861
6768
|
"value": {
|
6862
6769
|
"type": "boolean",
|
@@ -7207,6 +7114,99 @@
|
|
7207
7114
|
}
|
7208
7115
|
]
|
7209
7116
|
},
|
7117
|
+
{
|
7118
|
+
"name": "van-overlay",
|
7119
|
+
"slots": [
|
7120
|
+
{
|
7121
|
+
"name": "default",
|
7122
|
+
"description": "Default slot"
|
7123
|
+
}
|
7124
|
+
],
|
7125
|
+
"events": [
|
7126
|
+
{
|
7127
|
+
"name": "click",
|
7128
|
+
"description": "Emitted when component is clicked",
|
7129
|
+
"arguments": [
|
7130
|
+
{
|
7131
|
+
"name": "event",
|
7132
|
+
"type": "MouseEvent"
|
7133
|
+
}
|
7134
|
+
]
|
7135
|
+
}
|
7136
|
+
],
|
7137
|
+
"attributes": [
|
7138
|
+
{
|
7139
|
+
"name": "show",
|
7140
|
+
"default": "`false`",
|
7141
|
+
"description": "Whether to show overlay",
|
7142
|
+
"options": [],
|
7143
|
+
"value": {
|
7144
|
+
"type": "boolean",
|
7145
|
+
"kind": "expression"
|
7146
|
+
}
|
7147
|
+
},
|
7148
|
+
{
|
7149
|
+
"name": "z-index",
|
7150
|
+
"default": "`1`",
|
7151
|
+
"description": "z-index",
|
7152
|
+
"options": [],
|
7153
|
+
"value": {
|
7154
|
+
"type": "number | string",
|
7155
|
+
"kind": "expression"
|
7156
|
+
}
|
7157
|
+
},
|
7158
|
+
{
|
7159
|
+
"name": "duration",
|
7160
|
+
"default": "`0.3`",
|
7161
|
+
"description": "Animation duration",
|
7162
|
+
"options": [],
|
7163
|
+
"value": {
|
7164
|
+
"type": "number | string",
|
7165
|
+
"kind": "expression"
|
7166
|
+
}
|
7167
|
+
},
|
7168
|
+
{
|
7169
|
+
"name": "class-name",
|
7170
|
+
"default": "-",
|
7171
|
+
"description": "ClassName",
|
7172
|
+
"options": [],
|
7173
|
+
"value": {
|
7174
|
+
"type": "string",
|
7175
|
+
"kind": "expression"
|
7176
|
+
}
|
7177
|
+
},
|
7178
|
+
{
|
7179
|
+
"name": "custom-class",
|
7180
|
+
"default": "-",
|
7181
|
+
"description": "Custom style",
|
7182
|
+
"options": [],
|
7183
|
+
"value": {
|
7184
|
+
"type": "object",
|
7185
|
+
"kind": "expression"
|
7186
|
+
}
|
7187
|
+
},
|
7188
|
+
{
|
7189
|
+
"name": "lock-scroll",
|
7190
|
+
"default": "`true`",
|
7191
|
+
"description": "Whether to lock background scroll",
|
7192
|
+
"options": [],
|
7193
|
+
"value": {
|
7194
|
+
"type": "boolean",
|
7195
|
+
"kind": "expression"
|
7196
|
+
}
|
7197
|
+
},
|
7198
|
+
{
|
7199
|
+
"name": "lazy-render",
|
7200
|
+
"default": "`true`",
|
7201
|
+
"description": "Whether to lazy render util appeared",
|
7202
|
+
"options": [],
|
7203
|
+
"value": {
|
7204
|
+
"type": "boolean",
|
7205
|
+
"kind": "expression"
|
7206
|
+
}
|
7207
|
+
}
|
7208
|
+
]
|
7209
|
+
},
|
7210
7210
|
{
|
7211
7211
|
"name": "van-password-input",
|
7212
7212
|
"slots": [],
|
@@ -7671,151 +7671,54 @@
|
|
7671
7671
|
"type": "boolean",
|
7672
7672
|
"kind": "expression"
|
7673
7673
|
}
|
7674
|
-
},
|
7675
|
-
{
|
7676
|
-
"name": "close-on-click-action",
|
7677
|
-
"default": "`true`",
|
7678
|
-
"description": "Whether to close when clicking action",
|
7679
|
-
"options": [],
|
7680
|
-
"value": {
|
7681
|
-
"type": "boolean",
|
7682
|
-
"kind": "expression"
|
7683
|
-
}
|
7684
|
-
},
|
7685
|
-
{
|
7686
|
-
"name": "close-on-click-outside",
|
7687
|
-
"default": "`true`",
|
7688
|
-
"description": "Whether to close when clicking outside",
|
7689
|
-
"options": [],
|
7690
|
-
"value": {
|
7691
|
-
"type": "boolean",
|
7692
|
-
"kind": "expression"
|
7693
|
-
}
|
7694
|
-
},
|
7695
|
-
{
|
7696
|
-
"name": "close-on-click-overlay",
|
7697
|
-
"default": "`true`",
|
7698
|
-
"description": "Whether to close when clicking overlay",
|
7699
|
-
"options": [],
|
7700
|
-
"value": {
|
7701
|
-
"type": "boolean",
|
7702
|
-
"kind": "expression"
|
7703
|
-
}
|
7704
|
-
},
|
7705
|
-
{
|
7706
|
-
"name": "teleport",
|
7707
|
-
"default": "`body`",
|
7708
|
-
"description": "Specifies a target element where Popover will be mounted",
|
7709
|
-
"options": [],
|
7710
|
-
"value": {
|
7711
|
-
"type": "string | Element",
|
7712
|
-
"kind": "expression"
|
7713
|
-
}
|
7714
|
-
},
|
7715
|
-
{
|
7716
|
-
"name": "icon-prefix",
|
7717
|
-
"default": "`van-icon`",
|
7718
|
-
"description": "Icon className prefix",
|
7719
|
-
"options": [],
|
7720
|
-
"value": {
|
7721
|
-
"type": "string",
|
7722
|
-
"kind": "expression"
|
7723
|
-
}
|
7724
|
-
}
|
7725
|
-
]
|
7726
|
-
},
|
7727
|
-
{
|
7728
|
-
"name": "van-progress",
|
7729
|
-
"slots": [],
|
7730
|
-
"events": [],
|
7731
|
-
"attributes": [
|
7732
|
-
{
|
7733
|
-
"name": "percentage",
|
7734
|
-
"default": "`0`",
|
7735
|
-
"description": "Percentage",
|
7736
|
-
"options": [],
|
7737
|
-
"value": {
|
7738
|
-
"type": "number | string",
|
7739
|
-
"kind": "expression"
|
7740
|
-
}
|
7741
|
-
},
|
7742
|
-
{
|
7743
|
-
"name": "stroke-width",
|
7744
|
-
"default": "`4px`",
|
7745
|
-
"description": "Stroke width",
|
7746
|
-
"options": [],
|
7747
|
-
"value": {
|
7748
|
-
"type": "number | string",
|
7749
|
-
"kind": "expression"
|
7750
|
-
}
|
7751
|
-
},
|
7752
|
-
{
|
7753
|
-
"name": "color",
|
7754
|
-
"default": "`#1989fa`",
|
7755
|
-
"description": "Color",
|
7756
|
-
"options": [],
|
7757
|
-
"value": {
|
7758
|
-
"type": "string",
|
7759
|
-
"kind": "expression"
|
7760
|
-
}
|
7761
|
-
},
|
7762
|
-
{
|
7763
|
-
"name": "track-color",
|
7764
|
-
"default": "`#e5e5e5`",
|
7765
|
-
"description": "Track color",
|
7766
|
-
"options": [],
|
7767
|
-
"value": {
|
7768
|
-
"type": "string",
|
7769
|
-
"kind": "expression"
|
7770
|
-
}
|
7771
|
-
},
|
7772
|
-
{
|
7773
|
-
"name": "pivot-text",
|
7774
|
-
"default": "percentage",
|
7775
|
-
"description": "Pivot text",
|
7674
|
+
},
|
7675
|
+
{
|
7676
|
+
"name": "close-on-click-action",
|
7677
|
+
"default": "`true`",
|
7678
|
+
"description": "Whether to close when clicking action",
|
7776
7679
|
"options": [],
|
7777
7680
|
"value": {
|
7778
|
-
"type": "
|
7681
|
+
"type": "boolean",
|
7779
7682
|
"kind": "expression"
|
7780
7683
|
}
|
7781
7684
|
},
|
7782
7685
|
{
|
7783
|
-
"name": "
|
7784
|
-
"default": "
|
7785
|
-
"description": "
|
7686
|
+
"name": "close-on-click-outside",
|
7687
|
+
"default": "`true`",
|
7688
|
+
"description": "Whether to close when clicking outside",
|
7786
7689
|
"options": [],
|
7787
7690
|
"value": {
|
7788
|
-
"type": "
|
7691
|
+
"type": "boolean",
|
7789
7692
|
"kind": "expression"
|
7790
7693
|
}
|
7791
7694
|
},
|
7792
7695
|
{
|
7793
|
-
"name": "
|
7794
|
-
"default": "`
|
7795
|
-
"description": "
|
7696
|
+
"name": "close-on-click-overlay",
|
7697
|
+
"default": "`true`",
|
7698
|
+
"description": "Whether to close when clicking overlay",
|
7796
7699
|
"options": [],
|
7797
7700
|
"value": {
|
7798
|
-
"type": "
|
7701
|
+
"type": "boolean",
|
7799
7702
|
"kind": "expression"
|
7800
7703
|
}
|
7801
7704
|
},
|
7802
7705
|
{
|
7803
|
-
"name": "
|
7804
|
-
"default": "`
|
7805
|
-
"description": "
|
7706
|
+
"name": "teleport",
|
7707
|
+
"default": "`body`",
|
7708
|
+
"description": "Specifies a target element where Popover will be mounted",
|
7806
7709
|
"options": [],
|
7807
7710
|
"value": {
|
7808
|
-
"type": "
|
7711
|
+
"type": "string | Element",
|
7809
7712
|
"kind": "expression"
|
7810
7713
|
}
|
7811
7714
|
},
|
7812
7715
|
{
|
7813
|
-
"name": "
|
7814
|
-
"default": "`
|
7815
|
-
"description": "
|
7716
|
+
"name": "icon-prefix",
|
7717
|
+
"default": "`van-icon`",
|
7718
|
+
"description": "Icon className prefix",
|
7816
7719
|
"options": [],
|
7817
7720
|
"value": {
|
7818
|
-
"type": "
|
7721
|
+
"type": "string",
|
7819
7722
|
"kind": "expression"
|
7820
7723
|
}
|
7821
7724
|
}
|
@@ -8098,6 +8001,103 @@
|
|
8098
8001
|
}
|
8099
8002
|
]
|
8100
8003
|
},
|
8004
|
+
{
|
8005
|
+
"name": "van-progress",
|
8006
|
+
"slots": [],
|
8007
|
+
"events": [],
|
8008
|
+
"attributes": [
|
8009
|
+
{
|
8010
|
+
"name": "percentage",
|
8011
|
+
"default": "`0`",
|
8012
|
+
"description": "Percentage",
|
8013
|
+
"options": [],
|
8014
|
+
"value": {
|
8015
|
+
"type": "number | string",
|
8016
|
+
"kind": "expression"
|
8017
|
+
}
|
8018
|
+
},
|
8019
|
+
{
|
8020
|
+
"name": "stroke-width",
|
8021
|
+
"default": "`4px`",
|
8022
|
+
"description": "Stroke width",
|
8023
|
+
"options": [],
|
8024
|
+
"value": {
|
8025
|
+
"type": "number | string",
|
8026
|
+
"kind": "expression"
|
8027
|
+
}
|
8028
|
+
},
|
8029
|
+
{
|
8030
|
+
"name": "color",
|
8031
|
+
"default": "`#1989fa`",
|
8032
|
+
"description": "Color",
|
8033
|
+
"options": [],
|
8034
|
+
"value": {
|
8035
|
+
"type": "string",
|
8036
|
+
"kind": "expression"
|
8037
|
+
}
|
8038
|
+
},
|
8039
|
+
{
|
8040
|
+
"name": "track-color",
|
8041
|
+
"default": "`#e5e5e5`",
|
8042
|
+
"description": "Track color",
|
8043
|
+
"options": [],
|
8044
|
+
"value": {
|
8045
|
+
"type": "string",
|
8046
|
+
"kind": "expression"
|
8047
|
+
}
|
8048
|
+
},
|
8049
|
+
{
|
8050
|
+
"name": "pivot-text",
|
8051
|
+
"default": "percentage",
|
8052
|
+
"description": "Pivot text",
|
8053
|
+
"options": [],
|
8054
|
+
"value": {
|
8055
|
+
"type": "string",
|
8056
|
+
"kind": "expression"
|
8057
|
+
}
|
8058
|
+
},
|
8059
|
+
{
|
8060
|
+
"name": "pivot-color",
|
8061
|
+
"default": "inherit progress color",
|
8062
|
+
"description": "Pivot text background color",
|
8063
|
+
"options": [],
|
8064
|
+
"value": {
|
8065
|
+
"type": "string",
|
8066
|
+
"kind": "expression"
|
8067
|
+
}
|
8068
|
+
},
|
8069
|
+
{
|
8070
|
+
"name": "text-color",
|
8071
|
+
"default": "`white`",
|
8072
|
+
"description": "Pivot text color",
|
8073
|
+
"options": [],
|
8074
|
+
"value": {
|
8075
|
+
"type": "string",
|
8076
|
+
"kind": "expression"
|
8077
|
+
}
|
8078
|
+
},
|
8079
|
+
{
|
8080
|
+
"name": "inactive",
|
8081
|
+
"default": "`false`",
|
8082
|
+
"description": "Whether to be gray",
|
8083
|
+
"options": [],
|
8084
|
+
"value": {
|
8085
|
+
"type": "boolean",
|
8086
|
+
"kind": "expression"
|
8087
|
+
}
|
8088
|
+
},
|
8089
|
+
{
|
8090
|
+
"name": "show-pivot",
|
8091
|
+
"default": "`true`",
|
8092
|
+
"description": "Whether to show text",
|
8093
|
+
"options": [],
|
8094
|
+
"value": {
|
8095
|
+
"type": "boolean",
|
8096
|
+
"kind": "expression"
|
8097
|
+
}
|
8098
|
+
}
|
8099
|
+
]
|
8100
|
+
},
|
8101
8101
|
{
|
8102
8102
|
"name": "van-pull-refresh",
|
8103
8103
|
"slots": [
|
@@ -9641,16 +9641,137 @@
|
|
9641
9641
|
}
|
9642
9642
|
},
|
9643
9643
|
{
|
9644
|
-
"name": "fill",
|
9645
|
-
"default": "`false`",
|
9646
|
-
"description": "Whether to render Space as a block element and fill the parent element",
|
9647
|
-
"options": [],
|
9648
|
-
"value": {
|
9649
|
-
"type": "boolean",
|
9650
|
-
"kind": "expression"
|
9651
|
-
}
|
9644
|
+
"name": "fill",
|
9645
|
+
"default": "`false`",
|
9646
|
+
"description": "Whether to render Space as a block element and fill the parent element",
|
9647
|
+
"options": [],
|
9648
|
+
"value": {
|
9649
|
+
"type": "boolean",
|
9650
|
+
"kind": "expression"
|
9651
|
+
}
|
9652
|
+
}
|
9653
|
+
]
|
9654
|
+
},
|
9655
|
+
{
|
9656
|
+
"name": "van-steps",
|
9657
|
+
"slots": [],
|
9658
|
+
"events": [
|
9659
|
+
{
|
9660
|
+
"name": "click-step",
|
9661
|
+
"description": "Emitted when a step's title or icon is clicked",
|
9662
|
+
"arguments": [
|
9663
|
+
{
|
9664
|
+
"name": "index",
|
9665
|
+
"type": "number"
|
9666
|
+
}
|
9667
|
+
]
|
9668
|
+
}
|
9669
|
+
],
|
9670
|
+
"attributes": [
|
9671
|
+
{
|
9672
|
+
"name": "active",
|
9673
|
+
"default": "`0`",
|
9674
|
+
"description": "Active step",
|
9675
|
+
"options": [],
|
9676
|
+
"value": {
|
9677
|
+
"type": "number | string",
|
9678
|
+
"kind": "expression"
|
9679
|
+
}
|
9680
|
+
},
|
9681
|
+
{
|
9682
|
+
"name": "direction",
|
9683
|
+
"default": "`horizontal`",
|
9684
|
+
"description": "Can be set to `vertical`",
|
9685
|
+
"options": [],
|
9686
|
+
"value": {
|
9687
|
+
"type": "string",
|
9688
|
+
"kind": "expression"
|
9689
|
+
}
|
9690
|
+
},
|
9691
|
+
{
|
9692
|
+
"name": "active-color",
|
9693
|
+
"default": "`#07c160`",
|
9694
|
+
"description": "Active step color",
|
9695
|
+
"options": [],
|
9696
|
+
"value": {
|
9697
|
+
"type": "string",
|
9698
|
+
"kind": "expression"
|
9699
|
+
}
|
9700
|
+
},
|
9701
|
+
{
|
9702
|
+
"name": "inactive-color",
|
9703
|
+
"default": "`#969799`",
|
9704
|
+
"description": "Inactive step color",
|
9705
|
+
"options": [],
|
9706
|
+
"value": {
|
9707
|
+
"type": "string",
|
9708
|
+
"kind": "expression"
|
9709
|
+
}
|
9710
|
+
},
|
9711
|
+
{
|
9712
|
+
"name": "active-icon",
|
9713
|
+
"default": "`checked`",
|
9714
|
+
"description": "Active icon name",
|
9715
|
+
"options": [],
|
9716
|
+
"value": {
|
9717
|
+
"type": "string",
|
9718
|
+
"kind": "expression"
|
9719
|
+
}
|
9720
|
+
},
|
9721
|
+
{
|
9722
|
+
"name": "inactive-icon",
|
9723
|
+
"default": "-",
|
9724
|
+
"description": "Inactive icon name",
|
9725
|
+
"options": [],
|
9726
|
+
"value": {
|
9727
|
+
"type": "string",
|
9728
|
+
"kind": "expression"
|
9729
|
+
}
|
9730
|
+
},
|
9731
|
+
{
|
9732
|
+
"name": "finish-icon",
|
9733
|
+
"default": "-",
|
9734
|
+
"description": "Finish icon name",
|
9735
|
+
"options": [],
|
9736
|
+
"value": {
|
9737
|
+
"type": "string",
|
9738
|
+
"kind": "expression"
|
9739
|
+
}
|
9740
|
+
},
|
9741
|
+
{
|
9742
|
+
"name": "icon-prefix",
|
9743
|
+
"default": "`van-icon`",
|
9744
|
+
"description": "Icon className prefix",
|
9745
|
+
"options": [],
|
9746
|
+
"value": {
|
9747
|
+
"type": "string",
|
9748
|
+
"kind": "expression"
|
9749
|
+
}
|
9750
|
+
}
|
9751
|
+
]
|
9752
|
+
},
|
9753
|
+
{
|
9754
|
+
"name": "van-step",
|
9755
|
+
"slots": [
|
9756
|
+
{
|
9757
|
+
"name": "default",
|
9758
|
+
"description": "Step content"
|
9759
|
+
},
|
9760
|
+
{
|
9761
|
+
"name": "active-icon",
|
9762
|
+
"description": "Custom active icon"
|
9763
|
+
},
|
9764
|
+
{
|
9765
|
+
"name": "inactive-icon",
|
9766
|
+
"description": "Custom inactive icon"
|
9767
|
+
},
|
9768
|
+
{
|
9769
|
+
"name": "finish-icon",
|
9770
|
+
"description": "Custom finish icon"
|
9652
9771
|
}
|
9653
|
-
]
|
9772
|
+
],
|
9773
|
+
"events": [],
|
9774
|
+
"attributes": []
|
9654
9775
|
},
|
9655
9776
|
{
|
9656
9777
|
"name": "van-stepper",
|
@@ -9929,127 +10050,6 @@
|
|
9929
10050
|
}
|
9930
10051
|
]
|
9931
10052
|
},
|
9932
|
-
{
|
9933
|
-
"name": "van-steps",
|
9934
|
-
"slots": [],
|
9935
|
-
"events": [
|
9936
|
-
{
|
9937
|
-
"name": "click-step",
|
9938
|
-
"description": "Emitted when a step's title or icon is clicked",
|
9939
|
-
"arguments": [
|
9940
|
-
{
|
9941
|
-
"name": "index",
|
9942
|
-
"type": "number"
|
9943
|
-
}
|
9944
|
-
]
|
9945
|
-
}
|
9946
|
-
],
|
9947
|
-
"attributes": [
|
9948
|
-
{
|
9949
|
-
"name": "active",
|
9950
|
-
"default": "`0`",
|
9951
|
-
"description": "Active step",
|
9952
|
-
"options": [],
|
9953
|
-
"value": {
|
9954
|
-
"type": "number | string",
|
9955
|
-
"kind": "expression"
|
9956
|
-
}
|
9957
|
-
},
|
9958
|
-
{
|
9959
|
-
"name": "direction",
|
9960
|
-
"default": "`horizontal`",
|
9961
|
-
"description": "Can be set to `vertical`",
|
9962
|
-
"options": [],
|
9963
|
-
"value": {
|
9964
|
-
"type": "string",
|
9965
|
-
"kind": "expression"
|
9966
|
-
}
|
9967
|
-
},
|
9968
|
-
{
|
9969
|
-
"name": "active-color",
|
9970
|
-
"default": "`#07c160`",
|
9971
|
-
"description": "Active step color",
|
9972
|
-
"options": [],
|
9973
|
-
"value": {
|
9974
|
-
"type": "string",
|
9975
|
-
"kind": "expression"
|
9976
|
-
}
|
9977
|
-
},
|
9978
|
-
{
|
9979
|
-
"name": "inactive-color",
|
9980
|
-
"default": "`#969799`",
|
9981
|
-
"description": "Inactive step color",
|
9982
|
-
"options": [],
|
9983
|
-
"value": {
|
9984
|
-
"type": "string",
|
9985
|
-
"kind": "expression"
|
9986
|
-
}
|
9987
|
-
},
|
9988
|
-
{
|
9989
|
-
"name": "active-icon",
|
9990
|
-
"default": "`checked`",
|
9991
|
-
"description": "Active icon name",
|
9992
|
-
"options": [],
|
9993
|
-
"value": {
|
9994
|
-
"type": "string",
|
9995
|
-
"kind": "expression"
|
9996
|
-
}
|
9997
|
-
},
|
9998
|
-
{
|
9999
|
-
"name": "inactive-icon",
|
10000
|
-
"default": "-",
|
10001
|
-
"description": "Inactive icon name",
|
10002
|
-
"options": [],
|
10003
|
-
"value": {
|
10004
|
-
"type": "string",
|
10005
|
-
"kind": "expression"
|
10006
|
-
}
|
10007
|
-
},
|
10008
|
-
{
|
10009
|
-
"name": "finish-icon",
|
10010
|
-
"default": "-",
|
10011
|
-
"description": "Finish icon name",
|
10012
|
-
"options": [],
|
10013
|
-
"value": {
|
10014
|
-
"type": "string",
|
10015
|
-
"kind": "expression"
|
10016
|
-
}
|
10017
|
-
},
|
10018
|
-
{
|
10019
|
-
"name": "icon-prefix",
|
10020
|
-
"default": "`van-icon`",
|
10021
|
-
"description": "Icon className prefix",
|
10022
|
-
"options": [],
|
10023
|
-
"value": {
|
10024
|
-
"type": "string",
|
10025
|
-
"kind": "expression"
|
10026
|
-
}
|
10027
|
-
}
|
10028
|
-
]
|
10029
|
-
},
|
10030
|
-
{
|
10031
|
-
"name": "van-step",
|
10032
|
-
"slots": [
|
10033
|
-
{
|
10034
|
-
"name": "default",
|
10035
|
-
"description": "Step content"
|
10036
|
-
},
|
10037
|
-
{
|
10038
|
-
"name": "active-icon",
|
10039
|
-
"description": "Custom active icon"
|
10040
|
-
},
|
10041
|
-
{
|
10042
|
-
"name": "inactive-icon",
|
10043
|
-
"description": "Custom inactive icon"
|
10044
|
-
},
|
10045
|
-
{
|
10046
|
-
"name": "finish-icon",
|
10047
|
-
"description": "Custom finish icon"
|
10048
|
-
}
|
10049
|
-
],
|
10050
|
-
"events": [],
|
10051
|
-
"attributes": []
|
10052
|
-
},
|
10053
10053
|
{
|
10054
10054
|
"name": "van-sticky",
|
10055
10055
|
"slots": [],
|
@@ -10274,132 +10274,21 @@
|
|
10274
10274
|
"type": "boolean",
|
10275
10275
|
"kind": "expression"
|
10276
10276
|
}
|
10277
|
-
},
|
10278
|
-
{
|
10279
|
-
"name": "loading",
|
10280
|
-
"default": "`false`",
|
10281
|
-
"description": "Whether to show loading icon",
|
10282
|
-
"options": [],
|
10283
|
-
"value": {
|
10284
|
-
"type": "boolean",
|
10285
|
-
"kind": "expression"
|
10286
|
-
}
|
10287
|
-
},
|
10288
|
-
{
|
10289
|
-
"name": "safe-area-inset-bottom",
|
10290
|
-
"default": "`true`",
|
10291
|
-
"description": "Whether to enable bottom safe area adaptation",
|
10292
|
-
"options": [],
|
10293
|
-
"value": {
|
10294
|
-
"type": "boolean",
|
10295
|
-
"kind": "expression"
|
10296
|
-
}
|
10297
|
-
},
|
10298
|
-
{
|
10299
|
-
"name": "placeholder",
|
10300
|
-
"default": "`false`",
|
10301
|
-
"description": "Whether to generate a placeholder element",
|
10302
|
-
"options": [],
|
10303
|
-
"value": {
|
10304
|
-
"type": "boolean",
|
10305
|
-
"kind": "expression"
|
10306
|
-
}
|
10307
|
-
}
|
10308
|
-
]
|
10309
|
-
},
|
10310
|
-
{
|
10311
|
-
"name": "van-swipe-cell",
|
10312
|
-
"slots": [
|
10313
|
-
{
|
10314
|
-
"name": "default",
|
10315
|
-
"description": "custom content"
|
10316
|
-
},
|
10317
|
-
{
|
10318
|
-
"name": "left",
|
10319
|
-
"description": "content of left scrollable area"
|
10320
|
-
},
|
10321
|
-
{
|
10322
|
-
"name": "right",
|
10323
|
-
"description": "content of right scrollable area"
|
10324
|
-
}
|
10325
|
-
],
|
10326
|
-
"events": [
|
10327
|
-
{
|
10328
|
-
"name": "click",
|
10329
|
-
"description": "Emitted when SwipeCell is clicked",
|
10330
|
-
"arguments": [
|
10331
|
-
{
|
10332
|
-
"name": "position",
|
10333
|
-
"type": "'left' | 'right' | 'cell' | 'outside'"
|
10334
|
-
}
|
10335
|
-
]
|
10336
|
-
},
|
10337
|
-
{
|
10338
|
-
"name": "open",
|
10339
|
-
"description": "Emitted when SwipeCell is opened",
|
10340
|
-
"arguments": [
|
10341
|
-
{
|
10342
|
-
"name": "value",
|
10343
|
-
"type": "{ name: string | number, position: 'left' | 'right' }"
|
10344
|
-
}
|
10345
|
-
]
|
10346
|
-
},
|
10347
|
-
{
|
10348
|
-
"name": "close",
|
10349
|
-
"description": "Emitted when SwipeCell is closed",
|
10350
|
-
"arguments": [
|
10351
|
-
{
|
10352
|
-
"name": "value",
|
10353
|
-
"type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
|
10354
|
-
}
|
10355
|
-
]
|
10356
|
-
}
|
10357
|
-
],
|
10358
|
-
"attributes": [
|
10359
|
-
{
|
10360
|
-
"name": "name",
|
10361
|
-
"default": "-",
|
10362
|
-
"description": "Identifier of SwipeCell, usually a unique string or number",
|
10363
|
-
"options": [],
|
10364
|
-
"value": {
|
10365
|
-
"type": "number | string",
|
10366
|
-
"kind": "expression"
|
10367
|
-
}
|
10368
|
-
},
|
10369
|
-
{
|
10370
|
-
"name": "left-width",
|
10371
|
-
"default": "`auto`",
|
10372
|
-
"description": "Width of the left swipe area",
|
10373
|
-
"options": [],
|
10374
|
-
"value": {
|
10375
|
-
"type": "number | string",
|
10376
|
-
"kind": "expression"
|
10377
|
-
}
|
10378
|
-
},
|
10379
|
-
{
|
10380
|
-
"name": "right-width",
|
10381
|
-
"default": "`auto`",
|
10382
|
-
"description": "Width of the right swipe area",
|
10383
|
-
"options": [],
|
10384
|
-
"value": {
|
10385
|
-
"type": "number | string",
|
10386
|
-
"kind": "expression"
|
10387
|
-
}
|
10388
|
-
},
|
10389
|
-
{
|
10390
|
-
"name": "before-close",
|
10391
|
-
"default": "-",
|
10392
|
-
"description": "Callback function before close",
|
10277
|
+
},
|
10278
|
+
{
|
10279
|
+
"name": "loading",
|
10280
|
+
"default": "`false`",
|
10281
|
+
"description": "Whether to show loading icon",
|
10393
10282
|
"options": [],
|
10394
10283
|
"value": {
|
10395
|
-
"type": "
|
10284
|
+
"type": "boolean",
|
10396
10285
|
"kind": "expression"
|
10397
10286
|
}
|
10398
10287
|
},
|
10399
10288
|
{
|
10400
|
-
"name": "
|
10401
|
-
"default": "`
|
10402
|
-
"description": "Whether to
|
10289
|
+
"name": "safe-area-inset-bottom",
|
10290
|
+
"default": "`true`",
|
10291
|
+
"description": "Whether to enable bottom safe area adaptation",
|
10403
10292
|
"options": [],
|
10404
10293
|
"value": {
|
10405
10294
|
"type": "boolean",
|
@@ -10407,9 +10296,9 @@
|
|
10407
10296
|
}
|
10408
10297
|
},
|
10409
10298
|
{
|
10410
|
-
"name": "
|
10299
|
+
"name": "placeholder",
|
10411
10300
|
"default": "`false`",
|
10412
|
-
"description": "Whether to
|
10301
|
+
"description": "Whether to generate a placeholder element",
|
10413
10302
|
"options": [],
|
10414
10303
|
"value": {
|
10415
10304
|
"type": "boolean",
|
@@ -10583,74 +10472,68 @@
|
|
10583
10472
|
"attributes": []
|
10584
10473
|
},
|
10585
10474
|
{
|
10586
|
-
"name": "van-
|
10475
|
+
"name": "van-swipe-cell",
|
10587
10476
|
"slots": [
|
10588
10477
|
{
|
10589
|
-
"name": "
|
10590
|
-
"description": "
|
10478
|
+
"name": "default",
|
10479
|
+
"description": "custom content"
|
10591
10480
|
},
|
10592
10481
|
{
|
10593
|
-
"name": "
|
10594
|
-
"description": "
|
10482
|
+
"name": "left",
|
10483
|
+
"description": "content of left scrollable area"
|
10484
|
+
},
|
10485
|
+
{
|
10486
|
+
"name": "right",
|
10487
|
+
"description": "content of right scrollable area"
|
10595
10488
|
}
|
10596
10489
|
],
|
10597
10490
|
"events": [
|
10598
10491
|
{
|
10599
|
-
"name": "
|
10600
|
-
"description": "Emitted when
|
10492
|
+
"name": "click",
|
10493
|
+
"description": "Emitted when SwipeCell is clicked",
|
10494
|
+
"arguments": [
|
10495
|
+
{
|
10496
|
+
"name": "position",
|
10497
|
+
"type": "'left' | 'right' | 'cell' | 'outside'"
|
10498
|
+
}
|
10499
|
+
]
|
10500
|
+
},
|
10501
|
+
{
|
10502
|
+
"name": "open",
|
10503
|
+
"description": "Emitted when SwipeCell is opened",
|
10601
10504
|
"arguments": [
|
10602
10505
|
{
|
10603
10506
|
"name": "value",
|
10604
|
-
"type": "
|
10507
|
+
"type": "{ name: string | number, position: 'left' | 'right' }"
|
10605
10508
|
}
|
10606
10509
|
]
|
10607
10510
|
},
|
10608
10511
|
{
|
10609
|
-
"name": "
|
10610
|
-
"description": "Emitted when
|
10512
|
+
"name": "close",
|
10513
|
+
"description": "Emitted when SwipeCell is closed",
|
10611
10514
|
"arguments": [
|
10612
10515
|
{
|
10613
|
-
"name": "
|
10614
|
-
"type": "
|
10516
|
+
"name": "value",
|
10517
|
+
"type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
|
10615
10518
|
}
|
10616
10519
|
]
|
10617
10520
|
}
|
10618
10521
|
],
|
10619
10522
|
"attributes": [
|
10620
10523
|
{
|
10621
|
-
"name": "
|
10622
|
-
"default": "
|
10623
|
-
"description": "
|
10624
|
-
"options": [],
|
10625
|
-
"value": {
|
10626
|
-
"type": "ActiveValue | InactiveValue",
|
10627
|
-
"kind": "expression"
|
10628
|
-
}
|
10629
|
-
},
|
10630
|
-
{
|
10631
|
-
"name": "loading",
|
10632
|
-
"default": "`false`",
|
10633
|
-
"description": "Whether to show loading icon",
|
10634
|
-
"options": [],
|
10635
|
-
"value": {
|
10636
|
-
"type": "boolean",
|
10637
|
-
"kind": "expression"
|
10638
|
-
}
|
10639
|
-
},
|
10640
|
-
{
|
10641
|
-
"name": "disabled",
|
10642
|
-
"default": "`false`",
|
10643
|
-
"description": "Whether to disable switch",
|
10524
|
+
"name": "name",
|
10525
|
+
"default": "-",
|
10526
|
+
"description": "Identifier of SwipeCell, usually a unique string or number",
|
10644
10527
|
"options": [],
|
10645
10528
|
"value": {
|
10646
|
-
"type": "
|
10529
|
+
"type": "number | string",
|
10647
10530
|
"kind": "expression"
|
10648
10531
|
}
|
10649
10532
|
},
|
10650
10533
|
{
|
10651
|
-
"name": "
|
10652
|
-
"default": "`
|
10653
|
-
"description": "
|
10534
|
+
"name": "left-width",
|
10535
|
+
"default": "`auto`",
|
10536
|
+
"description": "Width of the left swipe area",
|
10654
10537
|
"options": [],
|
10655
10538
|
"value": {
|
10656
10539
|
"type": "number | string",
|
@@ -10658,42 +10541,42 @@
|
|
10658
10541
|
}
|
10659
10542
|
},
|
10660
10543
|
{
|
10661
|
-
"name": "
|
10662
|
-
"default": "
|
10663
|
-
"description": "
|
10544
|
+
"name": "right-width",
|
10545
|
+
"default": "`auto`",
|
10546
|
+
"description": "Width of the right swipe area",
|
10664
10547
|
"options": [],
|
10665
10548
|
"value": {
|
10666
|
-
"type": "string",
|
10549
|
+
"type": "number | string",
|
10667
10550
|
"kind": "expression"
|
10668
10551
|
}
|
10669
10552
|
},
|
10670
10553
|
{
|
10671
|
-
"name": "
|
10672
|
-
"default": "
|
10673
|
-
"description": "
|
10554
|
+
"name": "before-close",
|
10555
|
+
"default": "-",
|
10556
|
+
"description": "Callback function before close",
|
10674
10557
|
"options": [],
|
10675
10558
|
"value": {
|
10676
|
-
"type": "
|
10559
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
10677
10560
|
"kind": "expression"
|
10678
10561
|
}
|
10679
10562
|
},
|
10680
10563
|
{
|
10681
|
-
"name": "
|
10682
|
-
"default": "`
|
10683
|
-
"description": "
|
10564
|
+
"name": "disabled",
|
10565
|
+
"default": "`false`",
|
10566
|
+
"description": "Whether to disabled swipe",
|
10684
10567
|
"options": [],
|
10685
10568
|
"value": {
|
10686
|
-
"type": "
|
10569
|
+
"type": "boolean",
|
10687
10570
|
"kind": "expression"
|
10688
10571
|
}
|
10689
10572
|
},
|
10690
10573
|
{
|
10691
|
-
"name": "
|
10574
|
+
"name": "stop-propagation",
|
10692
10575
|
"default": "`false`",
|
10693
|
-
"description": "
|
10576
|
+
"description": "Whether to stop touchmove event propagation",
|
10694
10577
|
"options": [],
|
10695
10578
|
"value": {
|
10696
|
-
"type": "
|
10579
|
+
"type": "boolean",
|
10697
10580
|
"kind": "expression"
|
10698
10581
|
}
|
10699
10582
|
}
|
@@ -10996,14 +10879,151 @@
|
|
10996
10879
|
"description": "Whether to disable tab",
|
10997
10880
|
"options": [],
|
10998
10881
|
"value": {
|
10999
|
-
"type": "boolean",
|
10882
|
+
"type": "boolean",
|
10883
|
+
"kind": "expression"
|
10884
|
+
}
|
10885
|
+
},
|
10886
|
+
{
|
10887
|
+
"name": "dot",
|
10888
|
+
"default": "`false`",
|
10889
|
+
"description": "Whether to show red dot on the title",
|
10890
|
+
"options": [],
|
10891
|
+
"value": {
|
10892
|
+
"type": "boolean",
|
10893
|
+
"kind": "expression"
|
10894
|
+
}
|
10895
|
+
},
|
10896
|
+
{
|
10897
|
+
"name": "badge",
|
10898
|
+
"default": "-",
|
10899
|
+
"description": "Content of the badge on the title",
|
10900
|
+
"options": [],
|
10901
|
+
"value": {
|
10902
|
+
"type": "number | string",
|
10903
|
+
"kind": "expression"
|
10904
|
+
}
|
10905
|
+
},
|
10906
|
+
{
|
10907
|
+
"name": "name",
|
10908
|
+
"default": "Index of tab",
|
10909
|
+
"description": "Identifier",
|
10910
|
+
"options": [],
|
10911
|
+
"value": {
|
10912
|
+
"type": "number | string",
|
10913
|
+
"kind": "expression"
|
10914
|
+
}
|
10915
|
+
},
|
10916
|
+
{
|
10917
|
+
"name": "url",
|
10918
|
+
"default": "-",
|
10919
|
+
"description": "Link",
|
10920
|
+
"options": [],
|
10921
|
+
"value": {
|
10922
|
+
"type": "string",
|
10923
|
+
"kind": "expression"
|
10924
|
+
}
|
10925
|
+
},
|
10926
|
+
{
|
10927
|
+
"name": "to",
|
10928
|
+
"default": "-",
|
10929
|
+
"description": "Target route of the link, same as to of vue-router",
|
10930
|
+
"options": [],
|
10931
|
+
"value": {
|
10932
|
+
"type": "string | object",
|
10933
|
+
"kind": "expression"
|
10934
|
+
}
|
10935
|
+
},
|
10936
|
+
{
|
10937
|
+
"name": "replace",
|
10938
|
+
"default": "`false`",
|
10939
|
+
"description": "If true, the navigation will not leave a history record",
|
10940
|
+
"options": [],
|
10941
|
+
"value": {
|
10942
|
+
"type": "boolean",
|
10943
|
+
"kind": "expression"
|
10944
|
+
}
|
10945
|
+
},
|
10946
|
+
{
|
10947
|
+
"name": "title-style",
|
10948
|
+
"default": "-",
|
10949
|
+
"description": "Custom title style",
|
10950
|
+
"options": [],
|
10951
|
+
"value": {
|
10952
|
+
"type": "string | Array | object",
|
10953
|
+
"kind": "expression"
|
10954
|
+
}
|
10955
|
+
},
|
10956
|
+
{
|
10957
|
+
"name": "title-class",
|
10958
|
+
"default": "-",
|
10959
|
+
"description": "Custom title class name",
|
10960
|
+
"options": [],
|
10961
|
+
"value": {
|
10962
|
+
"type": "string | Array | object",
|
10963
|
+
"kind": "expression"
|
10964
|
+
}
|
10965
|
+
},
|
10966
|
+
{
|
10967
|
+
"name": "show-zero-badge",
|
10968
|
+
"default": "`true`",
|
10969
|
+
"description": "Whether to show badge when the value is zero",
|
10970
|
+
"options": [],
|
10971
|
+
"value": {
|
10972
|
+
"type": "boolean",
|
10973
|
+
"kind": "expression"
|
10974
|
+
}
|
10975
|
+
}
|
10976
|
+
]
|
10977
|
+
},
|
10978
|
+
{
|
10979
|
+
"name": "van-switch",
|
10980
|
+
"slots": [
|
10981
|
+
{
|
10982
|
+
"name": "node",
|
10983
|
+
"description": "Custom the content of node"
|
10984
|
+
},
|
10985
|
+
{
|
10986
|
+
"name": "background",
|
10987
|
+
"description": "Custom the background of switch"
|
10988
|
+
}
|
10989
|
+
],
|
10990
|
+
"events": [
|
10991
|
+
{
|
10992
|
+
"name": "change",
|
10993
|
+
"description": "Emitted when check status changed",
|
10994
|
+
"arguments": [
|
10995
|
+
{
|
10996
|
+
"name": "value",
|
10997
|
+
"type": "any"
|
10998
|
+
}
|
10999
|
+
]
|
11000
|
+
},
|
11001
|
+
{
|
11002
|
+
"name": "click",
|
11003
|
+
"description": "Emitted when component is clicked",
|
11004
|
+
"arguments": [
|
11005
|
+
{
|
11006
|
+
"name": "event",
|
11007
|
+
"type": "MouseEvent"
|
11008
|
+
}
|
11009
|
+
]
|
11010
|
+
}
|
11011
|
+
],
|
11012
|
+
"attributes": [
|
11013
|
+
{
|
11014
|
+
"name": "v-model",
|
11015
|
+
"default": "`false`",
|
11016
|
+
"description": "Check status of Switch",
|
11017
|
+
"options": [],
|
11018
|
+
"value": {
|
11019
|
+
"type": "ActiveValue | InactiveValue",
|
11000
11020
|
"kind": "expression"
|
11001
11021
|
}
|
11002
11022
|
},
|
11003
11023
|
{
|
11004
|
-
"name": "
|
11024
|
+
"name": "loading",
|
11005
11025
|
"default": "`false`",
|
11006
|
-
"description": "Whether to show
|
11026
|
+
"description": "Whether to show loading icon",
|
11007
11027
|
"options": [],
|
11008
11028
|
"value": {
|
11009
11029
|
"type": "boolean",
|
@@ -11011,19 +11031,19 @@
|
|
11011
11031
|
}
|
11012
11032
|
},
|
11013
11033
|
{
|
11014
|
-
"name": "
|
11015
|
-
"default": "
|
11016
|
-
"description": "
|
11034
|
+
"name": "disabled",
|
11035
|
+
"default": "`false`",
|
11036
|
+
"description": "Whether to disable switch",
|
11017
11037
|
"options": [],
|
11018
11038
|
"value": {
|
11019
|
-
"type": "
|
11039
|
+
"type": "boolean",
|
11020
11040
|
"kind": "expression"
|
11021
11041
|
}
|
11022
11042
|
},
|
11023
11043
|
{
|
11024
|
-
"name": "
|
11025
|
-
"default": "
|
11026
|
-
"description": "
|
11044
|
+
"name": "size",
|
11045
|
+
"default": "`30px`",
|
11046
|
+
"description": "Size of switch",
|
11027
11047
|
"options": [],
|
11028
11048
|
"value": {
|
11029
11049
|
"type": "number | string",
|
@@ -11031,9 +11051,9 @@
|
|
11031
11051
|
}
|
11032
11052
|
},
|
11033
11053
|
{
|
11034
|
-
"name": "
|
11035
|
-
"default": "
|
11036
|
-
"description": "
|
11054
|
+
"name": "active-color",
|
11055
|
+
"default": "`#1989fa`",
|
11056
|
+
"description": "Background color when active",
|
11037
11057
|
"options": [],
|
11038
11058
|
"value": {
|
11039
11059
|
"type": "string",
|
@@ -11041,52 +11061,32 @@
|
|
11041
11061
|
}
|
11042
11062
|
},
|
11043
11063
|
{
|
11044
|
-
"name": "
|
11045
|
-
"default": "
|
11046
|
-
"description": "
|
11047
|
-
"options": [],
|
11048
|
-
"value": {
|
11049
|
-
"type": "string | object",
|
11050
|
-
"kind": "expression"
|
11051
|
-
}
|
11052
|
-
},
|
11053
|
-
{
|
11054
|
-
"name": "replace",
|
11055
|
-
"default": "`false`",
|
11056
|
-
"description": "If true, the navigation will not leave a history record",
|
11057
|
-
"options": [],
|
11058
|
-
"value": {
|
11059
|
-
"type": "boolean",
|
11060
|
-
"kind": "expression"
|
11061
|
-
}
|
11062
|
-
},
|
11063
|
-
{
|
11064
|
-
"name": "title-style",
|
11065
|
-
"default": "-",
|
11066
|
-
"description": "Custom title style",
|
11064
|
+
"name": "inactive-color",
|
11065
|
+
"default": "`white`",
|
11066
|
+
"description": "Background color when inactive",
|
11067
11067
|
"options": [],
|
11068
11068
|
"value": {
|
11069
|
-
"type": "string
|
11069
|
+
"type": "string",
|
11070
11070
|
"kind": "expression"
|
11071
11071
|
}
|
11072
11072
|
},
|
11073
11073
|
{
|
11074
|
-
"name": "
|
11075
|
-
"default": "
|
11076
|
-
"description": "
|
11074
|
+
"name": "active-value",
|
11075
|
+
"default": "`true`",
|
11076
|
+
"description": "Value when active",
|
11077
11077
|
"options": [],
|
11078
11078
|
"value": {
|
11079
|
-
"type": "
|
11079
|
+
"type": "any",
|
11080
11080
|
"kind": "expression"
|
11081
11081
|
}
|
11082
11082
|
},
|
11083
11083
|
{
|
11084
|
-
"name": "
|
11085
|
-
"default": "`
|
11086
|
-
"description": "
|
11084
|
+
"name": "inactive-value",
|
11085
|
+
"default": "`false`",
|
11086
|
+
"description": "Value when inactive",
|
11087
11087
|
"options": [],
|
11088
11088
|
"value": {
|
11089
|
-
"type": "
|
11089
|
+
"type": "any",
|
11090
11090
|
"kind": "expression"
|
11091
11091
|
}
|
11092
11092
|
}
|
@@ -11435,6 +11435,99 @@
|
|
11435
11435
|
}
|
11436
11436
|
]
|
11437
11437
|
},
|
11438
|
+
{
|
11439
|
+
"name": "van-tree-select",
|
11440
|
+
"slots": [
|
11441
|
+
{
|
11442
|
+
"name": "content",
|
11443
|
+
"description": "Custom right content"
|
11444
|
+
}
|
11445
|
+
],
|
11446
|
+
"events": [
|
11447
|
+
{
|
11448
|
+
"name": "click-nav",
|
11449
|
+
"description": "Emitted when parent node is selected",
|
11450
|
+
"arguments": [
|
11451
|
+
{
|
11452
|
+
"name": "index",
|
11453
|
+
"type": "number"
|
11454
|
+
}
|
11455
|
+
]
|
11456
|
+
},
|
11457
|
+
{
|
11458
|
+
"name": "click-item",
|
11459
|
+
"description": "Emitted when item is selected",
|
11460
|
+
"arguments": [
|
11461
|
+
{
|
11462
|
+
"name": "item",
|
11463
|
+
"type": "TreeSelectChild"
|
11464
|
+
}
|
11465
|
+
]
|
11466
|
+
}
|
11467
|
+
],
|
11468
|
+
"attributes": [
|
11469
|
+
{
|
11470
|
+
"name": "items",
|
11471
|
+
"default": "`[]`",
|
11472
|
+
"description": "Required datasets for the component",
|
11473
|
+
"options": [],
|
11474
|
+
"value": {
|
11475
|
+
"type": "TreeSelectItem[]",
|
11476
|
+
"kind": "expression"
|
11477
|
+
}
|
11478
|
+
},
|
11479
|
+
{
|
11480
|
+
"name": "height",
|
11481
|
+
"default": "`300`",
|
11482
|
+
"description": "Height",
|
11483
|
+
"options": [],
|
11484
|
+
"value": {
|
11485
|
+
"type": "number | string",
|
11486
|
+
"kind": "expression"
|
11487
|
+
}
|
11488
|
+
},
|
11489
|
+
{
|
11490
|
+
"name": "main-active-index",
|
11491
|
+
"default": "`0`",
|
11492
|
+
"description": "The index of selected parent node",
|
11493
|
+
"options": [],
|
11494
|
+
"value": {
|
11495
|
+
"type": "number | string",
|
11496
|
+
"kind": "expression"
|
11497
|
+
}
|
11498
|
+
},
|
11499
|
+
{
|
11500
|
+
"name": "active-id",
|
11501
|
+
"default": "`0`",
|
11502
|
+
"description": "Id of selected item",
|
11503
|
+
"options": [],
|
11504
|
+
"value": {
|
11505
|
+
"type": "number | string |<br>(number | string)[]",
|
11506
|
+
"kind": "expression"
|
11507
|
+
}
|
11508
|
+
},
|
11509
|
+
{
|
11510
|
+
"name": "max",
|
11511
|
+
"default": "`Infinity`",
|
11512
|
+
"description": "Maximum number of selected items",
|
11513
|
+
"options": [],
|
11514
|
+
"value": {
|
11515
|
+
"type": "number | string",
|
11516
|
+
"kind": "expression"
|
11517
|
+
}
|
11518
|
+
},
|
11519
|
+
{
|
11520
|
+
"name": "selected-icon",
|
11521
|
+
"default": "`success`",
|
11522
|
+
"description": "Selected icon",
|
11523
|
+
"options": [],
|
11524
|
+
"value": {
|
11525
|
+
"type": "string",
|
11526
|
+
"kind": "expression"
|
11527
|
+
}
|
11528
|
+
}
|
11529
|
+
]
|
11530
|
+
},
|
11438
11531
|
{
|
11439
11532
|
"name": "van-uploader",
|
11440
11533
|
"slots": [
|
@@ -11739,99 +11832,6 @@
|
|
11739
11832
|
}
|
11740
11833
|
}
|
11741
11834
|
]
|
11742
|
-
},
|
11743
|
-
{
|
11744
|
-
"name": "van-tree-select",
|
11745
|
-
"slots": [
|
11746
|
-
{
|
11747
|
-
"name": "content",
|
11748
|
-
"description": "Custom right content"
|
11749
|
-
}
|
11750
|
-
],
|
11751
|
-
"events": [
|
11752
|
-
{
|
11753
|
-
"name": "click-nav",
|
11754
|
-
"description": "Emitted when parent node is selected",
|
11755
|
-
"arguments": [
|
11756
|
-
{
|
11757
|
-
"name": "index",
|
11758
|
-
"type": "number"
|
11759
|
-
}
|
11760
|
-
]
|
11761
|
-
},
|
11762
|
-
{
|
11763
|
-
"name": "click-item",
|
11764
|
-
"description": "Emitted when item is selected",
|
11765
|
-
"arguments": [
|
11766
|
-
{
|
11767
|
-
"name": "item",
|
11768
|
-
"type": "TreeSelectChild"
|
11769
|
-
}
|
11770
|
-
]
|
11771
|
-
}
|
11772
|
-
],
|
11773
|
-
"attributes": [
|
11774
|
-
{
|
11775
|
-
"name": "items",
|
11776
|
-
"default": "`[]`",
|
11777
|
-
"description": "Required datasets for the component",
|
11778
|
-
"options": [],
|
11779
|
-
"value": {
|
11780
|
-
"type": "TreeSelectItem[]",
|
11781
|
-
"kind": "expression"
|
11782
|
-
}
|
11783
|
-
},
|
11784
|
-
{
|
11785
|
-
"name": "height",
|
11786
|
-
"default": "`300`",
|
11787
|
-
"description": "Height",
|
11788
|
-
"options": [],
|
11789
|
-
"value": {
|
11790
|
-
"type": "number | string",
|
11791
|
-
"kind": "expression"
|
11792
|
-
}
|
11793
|
-
},
|
11794
|
-
{
|
11795
|
-
"name": "main-active-index",
|
11796
|
-
"default": "`0`",
|
11797
|
-
"description": "The index of selected parent node",
|
11798
|
-
"options": [],
|
11799
|
-
"value": {
|
11800
|
-
"type": "number | string",
|
11801
|
-
"kind": "expression"
|
11802
|
-
}
|
11803
|
-
},
|
11804
|
-
{
|
11805
|
-
"name": "active-id",
|
11806
|
-
"default": "`0`",
|
11807
|
-
"description": "Id of selected item",
|
11808
|
-
"options": [],
|
11809
|
-
"value": {
|
11810
|
-
"type": "number | string |<br>(number | string)[]",
|
11811
|
-
"kind": "expression"
|
11812
|
-
}
|
11813
|
-
},
|
11814
|
-
{
|
11815
|
-
"name": "max",
|
11816
|
-
"default": "`Infinity`",
|
11817
|
-
"description": "Maximum number of selected items",
|
11818
|
-
"options": [],
|
11819
|
-
"value": {
|
11820
|
-
"type": "number | string",
|
11821
|
-
"kind": "expression"
|
11822
|
-
}
|
11823
|
-
},
|
11824
|
-
{
|
11825
|
-
"name": "selected-icon",
|
11826
|
-
"default": "`success`",
|
11827
|
-
"description": "Selected icon",
|
11828
|
-
"options": [],
|
11829
|
-
"value": {
|
11830
|
-
"type": "string",
|
11831
|
-
"kind": "expression"
|
11832
|
-
}
|
11833
|
-
}
|
11834
|
-
]
|
11835
11835
|
}
|
11836
11836
|
],
|
11837
11837
|
"attributes": [],
|