vant 3.6.8 → 3.6.10

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.
@@ -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.8",
5
+ "version": "3.6.10",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -739,92 +739,6 @@
739
739
  }
740
740
  ]
741
741
  },
742
- {
743
- "name": "van-badge",
744
- "slots": [
745
- {
746
- "name": "default",
747
- "description": "Default slot"
748
- },
749
- {
750
- "name": "content",
751
- "description": "Custom badge content"
752
- }
753
- ],
754
- "events": [],
755
- "attributes": [
756
- {
757
- "name": "content",
758
- "default": "-",
759
- "description": "Badge content",
760
- "options": [],
761
- "value": {
762
- "type": "number | string",
763
- "kind": "expression"
764
- }
765
- },
766
- {
767
- "name": "color",
768
- "default": "`#ee0a24`",
769
- "description": "Background color",
770
- "options": [],
771
- "value": {
772
- "type": "string",
773
- "kind": "expression"
774
- }
775
- },
776
- {
777
- "name": "dot",
778
- "default": "`false`",
779
- "description": "Whether to show dot",
780
- "options": [],
781
- "value": {
782
- "type": "boolean",
783
- "kind": "expression"
784
- }
785
- },
786
- {
787
- "name": "max",
788
- "default": "-",
789
- "description": "Max value, show `{max}+` when exceed, only works when content is number",
790
- "options": [],
791
- "value": {
792
- "type": "number | string",
793
- "kind": "expression"
794
- }
795
- },
796
- {
797
- "name": "offset",
798
- "default": "-",
799
- "description": "Offset of badge dot",
800
- "options": [],
801
- "value": {
802
- "type": "[number | string, number | string]",
803
- "kind": "expression"
804
- }
805
- },
806
- {
807
- "name": "show-zero",
808
- "default": "`true`",
809
- "description": "Whether to show badge when content is zero",
810
- "options": [],
811
- "value": {
812
- "type": "boolean",
813
- "kind": "expression"
814
- }
815
- },
816
- {
817
- "name": "position",
818
- "default": "`top-right`",
819
- "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
820
- "options": [],
821
- "value": {
822
- "type": "string",
823
- "kind": "expression"
824
- }
825
- }
826
- ]
827
- },
828
742
  {
829
743
  "name": "van-action-sheet",
830
744
  "slots": [
@@ -1100,58 +1014,33 @@
1100
1014
  ]
1101
1015
  },
1102
1016
  {
1103
- "name": "van-button",
1017
+ "name": "van-badge",
1104
1018
  "slots": [
1105
1019
  {
1106
1020
  "name": "default",
1107
1021
  "description": "Default slot"
1108
1022
  },
1109
1023
  {
1110
- "name": "icon",
1111
- "description": "Custom icon"
1112
- },
1113
- {
1114
- "name": "loading",
1115
- "description": "Custom loading icon"
1116
- }
1117
- ],
1118
- "events": [
1119
- {
1120
- "name": "click",
1121
- "description": "Emitted when button is clicked and not disabled or loading",
1122
- "arguments": [
1123
- {
1124
- "name": "event",
1125
- "type": "MouseEvent"
1126
- }
1127
- ]
1128
- },
1129
- {
1130
- "name": "touchstart",
1131
- "description": "Emitted when button is touched",
1132
- "arguments": [
1133
- {
1134
- "name": "event",
1135
- "type": "TouchEvent"
1136
- }
1137
- ]
1024
+ "name": "content",
1025
+ "description": "Custom badge content"
1138
1026
  }
1139
1027
  ],
1028
+ "events": [],
1140
1029
  "attributes": [
1141
1030
  {
1142
- "name": "type",
1143
- "default": "`default`",
1144
- "description": "Can be set to `primary` `success` `warning` `danger`",
1031
+ "name": "content",
1032
+ "default": "-",
1033
+ "description": "Badge content",
1145
1034
  "options": [],
1146
1035
  "value": {
1147
- "type": "string",
1036
+ "type": "number | string",
1148
1037
  "kind": "expression"
1149
1038
  }
1150
1039
  },
1151
1040
  {
1152
- "name": "size",
1153
- "default": "`normal`",
1154
- "description": "Can be set to `large` `small` `mini`",
1041
+ "name": "color",
1042
+ "default": "`#ee0a24`",
1043
+ "description": "Background color",
1155
1044
  "options": [],
1156
1045
  "value": {
1157
1046
  "type": "string",
@@ -1159,59 +1048,121 @@
1159
1048
  }
1160
1049
  },
1161
1050
  {
1162
- "name": "text",
1163
- "default": "-",
1164
- "description": "Text",
1051
+ "name": "dot",
1052
+ "default": "`false`",
1053
+ "description": "Whether to show dot",
1165
1054
  "options": [],
1166
1055
  "value": {
1167
- "type": "string",
1056
+ "type": "boolean",
1168
1057
  "kind": "expression"
1169
1058
  }
1170
1059
  },
1171
1060
  {
1172
- "name": "color",
1061
+ "name": "max",
1173
1062
  "default": "-",
1174
- "description": "Color, support linear-gradient",
1063
+ "description": "Max value, show `{max}+` when exceed, only works when content is number",
1175
1064
  "options": [],
1176
1065
  "value": {
1177
- "type": "string",
1066
+ "type": "number | string",
1178
1067
  "kind": "expression"
1179
1068
  }
1180
1069
  },
1181
1070
  {
1182
- "name": "icon",
1071
+ "name": "offset",
1183
1072
  "default": "-",
1184
- "description": "Left Icon",
1073
+ "description": "Offset of badge dot",
1185
1074
  "options": [],
1186
1075
  "value": {
1187
- "type": "string",
1076
+ "type": "[number | string, number | string]",
1188
1077
  "kind": "expression"
1189
1078
  }
1190
1079
  },
1191
1080
  {
1192
- "name": "icon-prefix",
1193
- "default": "`van-icon`",
1194
- "description": "Icon className prefix",
1081
+ "name": "show-zero",
1082
+ "default": "`true`",
1083
+ "description": "Whether to show badge when content is zero",
1195
1084
  "options": [],
1196
1085
  "value": {
1197
- "type": "string",
1086
+ "type": "boolean",
1198
1087
  "kind": "expression"
1199
1088
  }
1200
1089
  },
1201
1090
  {
1202
- "name": "icon-position",
1203
- "default": "`left`",
1204
- "description": "Icon position, can be set to `right`",
1091
+ "name": "position",
1092
+ "default": "`top-right`",
1093
+ "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
1205
1094
  "options": [],
1206
1095
  "value": {
1207
1096
  "type": "string",
1208
1097
  "kind": "expression"
1209
1098
  }
1099
+ }
1100
+ ]
1101
+ },
1102
+ {
1103
+ "name": "van-area",
1104
+ "slots": [
1105
+ {
1106
+ "name": "toolbar",
1107
+ "description": "Custom toolbar content"
1210
1108
  },
1211
1109
  {
1212
- "name": "tag",
1213
- "default": "`button`",
1214
- "description": "HTML Tag",
1110
+ "name": "title",
1111
+ "description": "Custom title"
1112
+ },
1113
+ {
1114
+ "name": "confirm",
1115
+ "description": "Custom confirm button text"
1116
+ },
1117
+ {
1118
+ "name": "cancel",
1119
+ "description": "Custom cancel button text"
1120
+ },
1121
+ {
1122
+ "name": "columns-top",
1123
+ "description": "Custom content above columns"
1124
+ },
1125
+ {
1126
+ "name": "columns-bottom",
1127
+ "description": "Custom content below columns"
1128
+ }
1129
+ ],
1130
+ "events": [
1131
+ {
1132
+ "name": "confirm",
1133
+ "description": "Emitted when the confirm button is clicked",
1134
+ "arguments": [
1135
+ {
1136
+ "name": "result",
1137
+ "type": "ConfirmResult"
1138
+ }
1139
+ ]
1140
+ },
1141
+ {
1142
+ "name": "cancel",
1143
+ "description": "Emitted when the cancel button is clicked",
1144
+ "arguments": []
1145
+ },
1146
+ {
1147
+ "name": "change",
1148
+ "description": "Emitted when current option changed",
1149
+ "arguments": [
1150
+ {
1151
+ "name": "current",
1152
+ "type": "values"
1153
+ },
1154
+ {
1155
+ "name": "column",
1156
+ "type": "index"
1157
+ }
1158
+ ]
1159
+ }
1160
+ ],
1161
+ "attributes": [
1162
+ {
1163
+ "name": "value",
1164
+ "default": "-",
1165
+ "description": "the `code` of selected area",
1215
1166
  "options": [],
1216
1167
  "value": {
1217
1168
  "type": "string",
@@ -1219,9 +1170,9 @@
1219
1170
  }
1220
1171
  },
1221
1172
  {
1222
- "name": "native-type",
1223
- "default": "`button`",
1224
- "description": "Native Type Attribute",
1173
+ "name": "title",
1174
+ "default": "-",
1175
+ "description": "Toolbar title",
1225
1176
  "options": [],
1226
1177
  "value": {
1227
1178
  "type": "string",
@@ -1229,49 +1180,49 @@
1229
1180
  }
1230
1181
  },
1231
1182
  {
1232
- "name": "plain",
1233
- "default": "`false`",
1234
- "description": "Whether to be plain button",
1183
+ "name": "confirm-button-text",
1184
+ "default": "`Confirm`",
1185
+ "description": "Text of confirm button",
1235
1186
  "options": [],
1236
1187
  "value": {
1237
- "type": "boolean",
1188
+ "type": "string",
1238
1189
  "kind": "expression"
1239
1190
  }
1240
1191
  },
1241
1192
  {
1242
- "name": "block",
1243
- "default": "`false`",
1244
- "description": "Whether to set display block",
1193
+ "name": "cancel-button-text",
1194
+ "default": "`Cancel`",
1195
+ "description": "Text of cancel button",
1245
1196
  "options": [],
1246
1197
  "value": {
1247
- "type": "boolean",
1198
+ "type": "string",
1248
1199
  "kind": "expression"
1249
1200
  }
1250
1201
  },
1251
1202
  {
1252
- "name": "round",
1253
- "default": "`false`",
1254
- "description": "Whether to be round button",
1203
+ "name": "area-list",
1204
+ "default": "-",
1205
+ "description": "Area list data",
1255
1206
  "options": [],
1256
1207
  "value": {
1257
- "type": "boolean",
1208
+ "type": "object",
1258
1209
  "kind": "expression"
1259
1210
  }
1260
1211
  },
1261
1212
  {
1262
- "name": "square",
1263
- "default": "`false`",
1264
- "description": "Whether to be square button",
1213
+ "name": "columns-placeholder",
1214
+ "default": "`[]`",
1215
+ "description": "Placeholder of columns",
1265
1216
  "options": [],
1266
1217
  "value": {
1267
- "type": "boolean",
1218
+ "type": "string[]",
1268
1219
  "kind": "expression"
1269
1220
  }
1270
1221
  },
1271
1222
  {
1272
- "name": "disabled",
1223
+ "name": "loading",
1273
1224
  "default": "`false`",
1274
- "description": "Whether to disable button",
1225
+ "description": "Whether to show loading prompt",
1275
1226
  "options": [],
1276
1227
  "value": {
1277
1228
  "type": "boolean",
@@ -1279,9 +1230,9 @@
1279
1230
  }
1280
1231
  },
1281
1232
  {
1282
- "name": "loading",
1233
+ "name": "readonly",
1283
1234
  "default": "`false`",
1284
- "description": "Whether to show loading status",
1235
+ "description": "Whether to be readonly",
1285
1236
  "options": [],
1286
1237
  "value": {
1287
1238
  "type": "boolean",
@@ -1289,29 +1240,29 @@
1289
1240
  }
1290
1241
  },
1291
1242
  {
1292
- "name": "loading-text",
1293
- "default": "-",
1294
- "description": "Loading text",
1243
+ "name": "item-height",
1244
+ "default": "`44`",
1245
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
1295
1246
  "options": [],
1296
1247
  "value": {
1297
- "type": "string",
1248
+ "type": "number | string",
1298
1249
  "kind": "expression"
1299
1250
  }
1300
1251
  },
1301
1252
  {
1302
- "name": "loading-type",
1303
- "default": "`circular`",
1304
- "description": "Loading type, can be set to `spinner`",
1253
+ "name": "columns-num",
1254
+ "default": "`3`",
1255
+ "description": "Level of picker",
1305
1256
  "options": [],
1306
1257
  "value": {
1307
- "type": "string",
1258
+ "type": "number | string",
1308
1259
  "kind": "expression"
1309
1260
  }
1310
1261
  },
1311
1262
  {
1312
- "name": "loading-size",
1313
- "default": "`20px`",
1314
- "description": "Loading icon size",
1263
+ "name": "visible-item-count",
1264
+ "default": "`6`",
1265
+ "description": "Count of visible columns",
1315
1266
  "options": [],
1316
1267
  "value": {
1317
1268
  "type": "number | string",
@@ -1319,101 +1270,90 @@
1319
1270
  }
1320
1271
  },
1321
1272
  {
1322
- "name": "url",
1323
- "default": "-",
1324
- "description": "Link URL",
1273
+ "name": "swipe-duration",
1274
+ "default": "`1000`",
1275
+ "description": "Duration of the momentum animation, unit `ms`",
1325
1276
  "options": [],
1326
1277
  "value": {
1327
- "type": "string",
1278
+ "type": "number | string",
1328
1279
  "kind": "expression"
1329
1280
  }
1330
1281
  },
1331
1282
  {
1332
- "name": "to",
1283
+ "name": "is-oversea-code",
1333
1284
  "default": "-",
1334
- "description": "Target route of the link, same as using vue-router",
1335
- "options": [],
1336
- "value": {
1337
- "type": "string | object",
1338
- "kind": "expression"
1339
- }
1340
- },
1341
- {
1342
- "name": "replace",
1343
- "default": "`false`",
1344
- "description": "If true, the navigation will not leave a history record",
1285
+ "description": "The method to validate oversea code",
1345
1286
  "options": [],
1346
1287
  "value": {
1347
- "type": "boolean",
1288
+ "type": "() => boolean",
1348
1289
  "kind": "expression"
1349
1290
  }
1350
1291
  }
1351
1292
  ]
1352
1293
  },
1353
1294
  {
1354
- "name": "van-area",
1295
+ "name": "van-button",
1355
1296
  "slots": [
1356
1297
  {
1357
- "name": "toolbar",
1358
- "description": "Custom toolbar content"
1359
- },
1360
- {
1361
- "name": "title",
1362
- "description": "Custom title"
1363
- },
1364
- {
1365
- "name": "confirm",
1366
- "description": "Custom confirm button text"
1367
- },
1368
- {
1369
- "name": "cancel",
1370
- "description": "Custom cancel button text"
1298
+ "name": "default",
1299
+ "description": "Default slot"
1371
1300
  },
1372
1301
  {
1373
- "name": "columns-top",
1374
- "description": "Custom content above columns"
1302
+ "name": "icon",
1303
+ "description": "Custom icon"
1375
1304
  },
1376
1305
  {
1377
- "name": "columns-bottom",
1378
- "description": "Custom content below columns"
1306
+ "name": "loading",
1307
+ "description": "Custom loading icon"
1379
1308
  }
1380
1309
  ],
1381
1310
  "events": [
1382
1311
  {
1383
- "name": "confirm",
1384
- "description": "Emitted when the confirm button is clicked",
1312
+ "name": "click",
1313
+ "description": "Emitted when button is clicked and not disabled or loading",
1385
1314
  "arguments": [
1386
1315
  {
1387
- "name": "result",
1388
- "type": "ConfirmResult"
1316
+ "name": "event",
1317
+ "type": "MouseEvent"
1389
1318
  }
1390
1319
  ]
1391
1320
  },
1392
1321
  {
1393
- "name": "cancel",
1394
- "description": "Emitted when the cancel button is clicked",
1395
- "arguments": []
1396
- },
1397
- {
1398
- "name": "change",
1399
- "description": "Emitted when current option changed",
1322
+ "name": "touchstart",
1323
+ "description": "Emitted when button is touched",
1400
1324
  "arguments": [
1401
1325
  {
1402
- "name": "current",
1403
- "type": "values"
1404
- },
1405
- {
1406
- "name": "column",
1407
- "type": "index"
1326
+ "name": "event",
1327
+ "type": "TouchEvent"
1408
1328
  }
1409
1329
  ]
1410
1330
  }
1411
1331
  ],
1412
1332
  "attributes": [
1413
1333
  {
1414
- "name": "value",
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",
1415
1355
  "default": "-",
1416
- "description": "the `code` of selected area",
1356
+ "description": "Text",
1417
1357
  "options": [],
1418
1358
  "value": {
1419
1359
  "type": "string",
@@ -1421,9 +1361,9 @@
1421
1361
  }
1422
1362
  },
1423
1363
  {
1424
- "name": "title",
1364
+ "name": "color",
1425
1365
  "default": "-",
1426
- "description": "Toolbar title",
1366
+ "description": "Color, support linear-gradient",
1427
1367
  "options": [],
1428
1368
  "value": {
1429
1369
  "type": "string",
@@ -1431,9 +1371,9 @@
1431
1371
  }
1432
1372
  },
1433
1373
  {
1434
- "name": "confirm-button-text",
1435
- "default": "`Confirm`",
1436
- "description": "Text of confirm button",
1374
+ "name": "icon",
1375
+ "default": "-",
1376
+ "description": "Left Icon",
1437
1377
  "options": [],
1438
1378
  "value": {
1439
1379
  "type": "string",
@@ -1441,9 +1381,9 @@
1441
1381
  }
1442
1382
  },
1443
1383
  {
1444
- "name": "cancel-button-text",
1445
- "default": "`Cancel`",
1446
- "description": "Text of cancel button",
1384
+ "name": "icon-prefix",
1385
+ "default": "`van-icon`",
1386
+ "description": "Icon className prefix",
1447
1387
  "options": [],
1448
1388
  "value": {
1449
1389
  "type": "string",
@@ -1451,29 +1391,39 @@
1451
1391
  }
1452
1392
  },
1453
1393
  {
1454
- "name": "area-list",
1455
- "default": "-",
1456
- "description": "Area list data",
1394
+ "name": "icon-position",
1395
+ "default": "`left`",
1396
+ "description": "Icon position, can be set to `right`",
1457
1397
  "options": [],
1458
1398
  "value": {
1459
- "type": "object",
1399
+ "type": "string",
1460
1400
  "kind": "expression"
1461
1401
  }
1462
1402
  },
1463
1403
  {
1464
- "name": "columns-placeholder",
1465
- "default": "`[]`",
1466
- "description": "Placeholder of columns",
1404
+ "name": "tag",
1405
+ "default": "`button`",
1406
+ "description": "HTML Tag",
1467
1407
  "options": [],
1468
1408
  "value": {
1469
- "type": "string[]",
1409
+ "type": "string",
1470
1410
  "kind": "expression"
1471
1411
  }
1472
1412
  },
1473
1413
  {
1474
- "name": "loading",
1414
+ "name": "native-type",
1415
+ "default": "`button`",
1416
+ "description": "Native Type Attribute",
1417
+ "options": [],
1418
+ "value": {
1419
+ "type": "string",
1420
+ "kind": "expression"
1421
+ }
1422
+ },
1423
+ {
1424
+ "name": "plain",
1475
1425
  "default": "`false`",
1476
- "description": "Whether to show loading prompt",
1426
+ "description": "Whether to be plain button",
1477
1427
  "options": [],
1478
1428
  "value": {
1479
1429
  "type": "boolean",
@@ -1481,9 +1431,9 @@
1481
1431
  }
1482
1432
  },
1483
1433
  {
1484
- "name": "readonly",
1434
+ "name": "block",
1485
1435
  "default": "`false`",
1486
- "description": "Whether to be readonly",
1436
+ "description": "Whether to set display block",
1487
1437
  "options": [],
1488
1438
  "value": {
1489
1439
  "type": "boolean",
@@ -1491,72 +1441,122 @@
1491
1441
  }
1492
1442
  },
1493
1443
  {
1494
- "name": "item-height",
1495
- "default": "`44`",
1496
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
1444
+ "name": "round",
1445
+ "default": "`false`",
1446
+ "description": "Whether to be round button",
1497
1447
  "options": [],
1498
1448
  "value": {
1499
- "type": "number | string",
1449
+ "type": "boolean",
1500
1450
  "kind": "expression"
1501
1451
  }
1502
1452
  },
1503
1453
  {
1504
- "name": "columns-num",
1505
- "default": "`3`",
1506
- "description": "Level of picker",
1454
+ "name": "square",
1455
+ "default": "`false`",
1456
+ "description": "Whether to be square button",
1507
1457
  "options": [],
1508
1458
  "value": {
1509
- "type": "number | string",
1459
+ "type": "boolean",
1510
1460
  "kind": "expression"
1511
1461
  }
1512
1462
  },
1513
1463
  {
1514
- "name": "visible-item-count",
1515
- "default": "`6`",
1516
- "description": "Count of visible columns",
1464
+ "name": "disabled",
1465
+ "default": "`false`",
1466
+ "description": "Whether to disable button",
1517
1467
  "options": [],
1518
1468
  "value": {
1519
- "type": "number | string",
1469
+ "type": "boolean",
1520
1470
  "kind": "expression"
1521
1471
  }
1522
1472
  },
1523
1473
  {
1524
- "name": "swipe-duration",
1525
- "default": "`1000`",
1526
- "description": "Duration of the momentum animation, unit `ms`",
1474
+ "name": "loading",
1475
+ "default": "`false`",
1476
+ "description": "Whether to show loading status",
1527
1477
  "options": [],
1528
1478
  "value": {
1529
- "type": "number | string",
1479
+ "type": "boolean",
1530
1480
  "kind": "expression"
1531
1481
  }
1532
1482
  },
1533
1483
  {
1534
- "name": "is-oversea-code",
1484
+ "name": "loading-text",
1535
1485
  "default": "-",
1536
- "description": "The method to validate oversea code",
1486
+ "description": "Loading text",
1537
1487
  "options": [],
1538
1488
  "value": {
1539
- "type": "() => boolean",
1489
+ "type": "string",
1540
1490
  "kind": "expression"
1541
1491
  }
1542
- }
1543
- ]
1544
- },
1545
- {
1546
- "name": "van-calendar",
1547
- "slots": [
1548
- {
1549
- "name": "title",
1550
- "description": "Custom title"
1551
1492
  },
1552
1493
  {
1553
- "name": "subtitle",
1554
- "description": "Custom subtitle"
1494
+ "name": "loading-type",
1495
+ "default": "`circular`",
1496
+ "description": "Loading type, can be set to `spinner`",
1497
+ "options": [],
1498
+ "value": {
1499
+ "type": "string",
1500
+ "kind": "expression"
1501
+ }
1555
1502
  },
1556
1503
  {
1557
- "name": "footer",
1558
- "description": "Custom footer"
1559
- },
1504
+ "name": "loading-size",
1505
+ "default": "`20px`",
1506
+ "description": "Loading icon size",
1507
+ "options": [],
1508
+ "value": {
1509
+ "type": "number | string",
1510
+ "kind": "expression"
1511
+ }
1512
+ },
1513
+ {
1514
+ "name": "url",
1515
+ "default": "-",
1516
+ "description": "Link URL",
1517
+ "options": [],
1518
+ "value": {
1519
+ "type": "string",
1520
+ "kind": "expression"
1521
+ }
1522
+ },
1523
+ {
1524
+ "name": "to",
1525
+ "default": "-",
1526
+ "description": "Target route of the link, same as using vue-router",
1527
+ "options": [],
1528
+ "value": {
1529
+ "type": "string | object",
1530
+ "kind": "expression"
1531
+ }
1532
+ },
1533
+ {
1534
+ "name": "replace",
1535
+ "default": "`false`",
1536
+ "description": "If true, the navigation will not leave a history record",
1537
+ "options": [],
1538
+ "value": {
1539
+ "type": "boolean",
1540
+ "kind": "expression"
1541
+ }
1542
+ }
1543
+ ]
1544
+ },
1545
+ {
1546
+ "name": "van-calendar",
1547
+ "slots": [
1548
+ {
1549
+ "name": "title",
1550
+ "description": "Custom title"
1551
+ },
1552
+ {
1553
+ "name": "subtitle",
1554
+ "description": "Custom subtitle"
1555
+ },
1556
+ {
1557
+ "name": "footer",
1558
+ "description": "Custom footer"
1559
+ },
1560
1560
  {
1561
1561
  "name": "confirm-text",
1562
1562
  "description": "Custom confirm text"
@@ -3382,104 +3382,6 @@
3382
3382
  }
3383
3383
  ]
3384
3384
  },
3385
- {
3386
- "name": "van-contact-edit",
3387
- "slots": [],
3388
- "events": [
3389
- {
3390
- "name": "save",
3391
- "description": "Emitted when the save button is clicked",
3392
- "arguments": [
3393
- {
3394
- "name": "content",
3395
- "type": "contact info"
3396
- }
3397
- ]
3398
- },
3399
- {
3400
- "name": "delete",
3401
- "description": "Emitted when the delete button is clicked",
3402
- "arguments": [
3403
- {
3404
- "name": "content",
3405
- "type": "contact info"
3406
- }
3407
- ]
3408
- }
3409
- ],
3410
- "attributes": [
3411
- {
3412
- "name": "contact-info",
3413
- "default": "`[]`",
3414
- "description": "Contact Info",
3415
- "options": [],
3416
- "value": {
3417
- "type": "Contact",
3418
- "kind": "expression"
3419
- }
3420
- },
3421
- {
3422
- "name": "is-edit",
3423
- "default": "`false`",
3424
- "description": "Whether is editing",
3425
- "options": [],
3426
- "value": {
3427
- "type": "boolean",
3428
- "kind": "expression"
3429
- }
3430
- },
3431
- {
3432
- "name": "is-saving",
3433
- "default": "`false`",
3434
- "description": "Whether to show save button loading status",
3435
- "options": [],
3436
- "value": {
3437
- "type": "boolean",
3438
- "kind": "expression"
3439
- }
3440
- },
3441
- {
3442
- "name": "is-deleting",
3443
- "default": "`false`",
3444
- "description": "Whether to show delete button loading status",
3445
- "options": [],
3446
- "value": {
3447
- "type": "boolean",
3448
- "kind": "expression"
3449
- }
3450
- },
3451
- {
3452
- "name": "tel-validator",
3453
- "default": "-",
3454
- "description": "The method to validate tel",
3455
- "options": [],
3456
- "value": {
3457
- "type": "(tel: string) => boolean",
3458
- "kind": "expression"
3459
- }
3460
- },
3461
- {
3462
- "name": "show-set-default",
3463
- "default": "`false`",
3464
- "description": "Whether to show default contact switch",
3465
- "options": [],
3466
- "value": {
3467
- "type": "boolean",
3468
- "kind": "expression"
3469
- }
3470
- },
3471
- {
3472
- "name": "set-default-label",
3473
- "default": "-",
3474
- "description": "default contact switch label",
3475
- "options": [],
3476
- "value": {
3477
- "type": "string",
3478
- "kind": "expression"
3479
- }
3480
- }
3481
- ]
3482
- },
3483
3385
  {
3484
3386
  "name": "van-contact-list",
3485
3387
  "slots": [],
@@ -3894,119 +3796,85 @@
3894
3796
  ]
3895
3797
  },
3896
3798
  {
3897
- "name": "van-datetime-picker",
3898
- "slots": [
3899
- {
3900
- "name": "default",
3901
- "description": "Custom toolbar content"
3902
- },
3903
- {
3904
- "name": "title",
3905
- "description": "Custom title"
3906
- },
3907
- {
3908
- "name": "confirm",
3909
- "description": "Custom confirm button text"
3910
- },
3911
- {
3912
- "name": "cancel",
3913
- "description": "Custom cancel button text"
3914
- },
3915
- {
3916
- "name": "option",
3917
- "description": "Custom option content"
3918
- },
3919
- {
3920
- "name": "columns-top",
3921
- "description": "Custom content above columns"
3922
- },
3923
- {
3924
- "name": "columns-bottom",
3925
- "description": "Custom content below columns"
3926
- }
3927
- ],
3799
+ "name": "van-contact-edit",
3800
+ "slots": [],
3928
3801
  "events": [
3929
3802
  {
3930
- "name": "change",
3931
- "description": "Emitted when value changed",
3803
+ "name": "save",
3804
+ "description": "Emitted when the save button is clicked",
3932
3805
  "arguments": [
3933
3806
  {
3934
- "name": "value",
3935
- "type": "current value"
3807
+ "name": "content",
3808
+ "type": "contact info"
3936
3809
  }
3937
3810
  ]
3938
3811
  },
3939
3812
  {
3940
- "name": "confirm",
3941
- "description": "Emitted when the confirm button is clicked",
3813
+ "name": "delete",
3814
+ "description": "Emitted when the delete button is clicked",
3942
3815
  "arguments": [
3943
3816
  {
3944
- "name": "value",
3945
- "type": "current value"
3817
+ "name": "content",
3818
+ "type": "contact info"
3946
3819
  }
3947
3820
  ]
3948
- },
3949
- {
3950
- "name": "cancel",
3951
- "description": "Emitted when the cancel button is clicked",
3952
- "arguments": []
3953
3821
  }
3954
3822
  ],
3955
3823
  "attributes": [
3956
3824
  {
3957
- "name": "type",
3958
- "default": "`datetime`",
3959
- "description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
3825
+ "name": "contact-info",
3826
+ "default": "`[]`",
3827
+ "description": "Contact Info",
3960
3828
  "options": [],
3961
3829
  "value": {
3962
- "type": "string",
3830
+ "type": "Contact",
3963
3831
  "kind": "expression"
3964
3832
  }
3965
3833
  },
3966
3834
  {
3967
- "name": "title",
3968
- "default": "`''`",
3969
- "description": "Toolbar title",
3835
+ "name": "is-edit",
3836
+ "default": "`false`",
3837
+ "description": "Whether is editing",
3970
3838
  "options": [],
3971
3839
  "value": {
3972
- "type": "string",
3840
+ "type": "boolean",
3973
3841
  "kind": "expression"
3974
3842
  }
3975
3843
  },
3976
3844
  {
3977
- "name": "confirm-button-text",
3978
- "default": "`Confirm`",
3979
- "description": "Text of confirm button",
3845
+ "name": "is-saving",
3846
+ "default": "`false`",
3847
+ "description": "Whether to show save button loading status",
3980
3848
  "options": [],
3981
3849
  "value": {
3982
- "type": "string",
3850
+ "type": "boolean",
3983
3851
  "kind": "expression"
3984
3852
  }
3985
3853
  },
3986
3854
  {
3987
- "name": "cancel-button-text",
3988
- "default": "`Cancel`",
3989
- "description": "Text of cancel button",
3855
+ "name": "is-deleting",
3856
+ "default": "`false`",
3857
+ "description": "Whether to show delete button loading status",
3990
3858
  "options": [],
3991
3859
  "value": {
3992
- "type": "string",
3860
+ "type": "boolean",
3993
3861
  "kind": "expression"
3994
3862
  }
3995
3863
  },
3996
3864
  {
3997
- "name": "show-toolbar",
3998
- "default": "`true`",
3999
- "description": "Whether to show toolbar",
3865
+ "name": "tel-validator",
3866
+ "default": "-",
3867
+ "description": "The method to validate tel",
4000
3868
  "options": [],
4001
3869
  "value": {
4002
- "type": "boolean",
3870
+ "type": "(tel: string) => boolean",
4003
3871
  "kind": "expression"
4004
3872
  }
4005
3873
  },
4006
3874
  {
4007
- "name": "loading",
3875
+ "name": "show-set-default",
4008
3876
  "default": "`false`",
4009
- "description": "Whether to show loading prompt",
3877
+ "description": "Whether to show default contact switch",
4010
3878
  "options": [],
4011
3879
  "value": {
4012
3880
  "type": "boolean",
@@ -4014,146 +3882,12 @@
4014
3882
  }
4015
3883
  },
4016
3884
  {
4017
- "name": "readonly",
4018
- "default": "`false`",
4019
- "description": "Whether to be readonly",
4020
- "options": [],
4021
- "value": {
4022
- "type": "boolean",
4023
- "kind": "expression"
4024
- }
4025
- },
4026
- {
4027
- "name": "filter",
4028
- "default": "-",
4029
- "description": "Option filter",
4030
- "options": [],
4031
- "value": {
4032
- "type": "(type: string, values: string[]) => string[]",
4033
- "kind": "expression"
4034
- }
4035
- },
4036
- {
4037
- "name": "formatter",
4038
- "default": "-",
4039
- "description": "Option text formatter",
4040
- "options": [],
4041
- "value": {
4042
- "type": "(type: string, value: string) => string",
4043
- "kind": "expression"
4044
- }
4045
- },
4046
- {
4047
- "name": "columns-order",
3885
+ "name": "set-default-label",
4048
3886
  "default": "-",
4049
- "description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
4050
- "options": [],
4051
- "value": {
4052
- "type": "string[]",
4053
- "kind": "expression"
4054
- }
4055
- },
4056
- {
4057
- "name": "item-height",
4058
- "default": "`44`",
4059
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
4060
- "options": [],
4061
- "value": {
4062
- "type": "number | string",
4063
- "kind": "expression"
4064
- }
4065
- },
4066
- {
4067
- "name": "visible-item-count",
4068
- "default": "`6`",
4069
- "description": "Count of visible columns",
4070
- "options": [],
4071
- "value": {
4072
- "type": "number | string",
4073
- "kind": "expression"
4074
- }
4075
- },
4076
- {
4077
- "name": "swipe-duration",
4078
- "default": "`1000`",
4079
- "description": "Duration of the momentum animation, unit `ms`",
4080
- "options": [],
4081
- "value": {
4082
- "type": "number | string",
4083
- "kind": "expression"
4084
- }
4085
- }
4086
- ]
4087
- },
4088
- {
4089
- "name": "van-date-picker",
4090
- "slots": [],
4091
- "events": [],
4092
- "attributes": [
4093
- {
4094
- "name": "min-date",
4095
- "default": "Ten years ago on January 1",
4096
- "description": "Min date",
4097
- "options": [],
4098
- "value": {
4099
- "type": "Date",
4100
- "kind": "expression"
4101
- }
4102
- },
4103
- {
4104
- "name": "max-date",
4105
- "default": "Ten years later on December 31",
4106
- "description": "Max date",
4107
- "options": [],
4108
- "value": {
4109
- "type": "Date",
4110
- "kind": "expression"
4111
- }
4112
- }
4113
- ]
4114
- },
4115
- {
4116
- "name": "van-time-picker",
4117
- "slots": [],
4118
- "events": [],
4119
- "attributes": [
4120
- {
4121
- "name": "min-hour",
4122
- "default": "`0`",
4123
- "description": "Min hour for `time` type",
4124
- "options": [],
4125
- "value": {
4126
- "type": "number | string",
4127
- "kind": "expression"
4128
- }
4129
- },
4130
- {
4131
- "name": "max-hour",
4132
- "default": "`23`",
4133
- "description": "Max hour for `time` type",
4134
- "options": [],
4135
- "value": {
4136
- "type": "number | string",
4137
- "kind": "expression"
4138
- }
4139
- },
4140
- {
4141
- "name": "min-minute",
4142
- "default": "`0`",
4143
- "description": "Max minute for `time` type",
4144
- "options": [],
4145
- "value": {
4146
- "type": "number | string",
4147
- "kind": "expression"
4148
- }
4149
- },
4150
- {
4151
- "name": "max-minute",
4152
- "default": "`59`",
4153
- "description": "Max minute for `time` type",
3887
+ "description": "default contact switch label",
4154
3888
  "options": [],
4155
3889
  "value": {
4156
- "type": "number | string",
3890
+ "type": "string",
4157
3891
  "kind": "expression"
4158
3892
  }
4159
3893
  }
@@ -4461,56 +4195,69 @@
4461
4195
  ]
4462
4196
  },
4463
4197
  {
4464
- "name": "van-divider",
4198
+ "name": "van-datetime-picker",
4465
4199
  "slots": [
4466
4200
  {
4467
4201
  "name": "default",
4468
- "description": "content"
4202
+ "description": "Custom toolbar content"
4203
+ },
4204
+ {
4205
+ "name": "title",
4206
+ "description": "Custom title"
4207
+ },
4208
+ {
4209
+ "name": "confirm",
4210
+ "description": "Custom confirm button text"
4211
+ },
4212
+ {
4213
+ "name": "cancel",
4214
+ "description": "Custom cancel button text"
4215
+ },
4216
+ {
4217
+ "name": "option",
4218
+ "description": "Custom option content"
4219
+ },
4220
+ {
4221
+ "name": "columns-top",
4222
+ "description": "Custom content above columns"
4223
+ },
4224
+ {
4225
+ "name": "columns-bottom",
4226
+ "description": "Custom content below columns"
4469
4227
  }
4470
4228
  ],
4471
- "events": [],
4472
- "attributes": [
4229
+ "events": [
4473
4230
  {
4474
- "name": "dashed",
4475
- "default": "`false`",
4476
- "description": "Whether to use dashed border",
4477
- "options": [],
4478
- "value": {
4479
- "type": "boolean",
4480
- "kind": "expression"
4481
- }
4231
+ "name": "change",
4232
+ "description": "Emitted when value changed",
4233
+ "arguments": [
4234
+ {
4235
+ "name": "value",
4236
+ "type": "current value"
4237
+ }
4238
+ ]
4482
4239
  },
4483
4240
  {
4484
- "name": "hairline",
4485
- "default": "`true`",
4486
- "description": "Whether to use hairline",
4487
- "options": [],
4488
- "value": {
4489
- "type": "boolean",
4490
- "kind": "expression"
4491
- }
4241
+ "name": "confirm",
4242
+ "description": "Emitted when the confirm button is clicked",
4243
+ "arguments": [
4244
+ {
4245
+ "name": "value",
4246
+ "type": "current value"
4247
+ }
4248
+ ]
4492
4249
  },
4493
4250
  {
4494
- "name": "content-position",
4495
- "default": "`center`",
4496
- "description": "Content position, can be set to `left` `right`",
4497
- "options": [],
4498
- "value": {
4499
- "type": "string",
4500
- "kind": "expression"
4501
- }
4251
+ "name": "cancel",
4252
+ "description": "Emitted when the cancel button is clicked",
4253
+ "arguments": []
4502
4254
  }
4503
- ]
4504
- },
4505
- {
4506
- "name": "van-dropdown-menu",
4507
- "slots": [],
4508
- "events": [],
4255
+ ],
4509
4256
  "attributes": [
4510
4257
  {
4511
- "name": "active-color",
4512
- "default": "`#ee0a24`",
4513
- "description": "Active color of title and option",
4258
+ "name": "type",
4259
+ "default": "`datetime`",
4260
+ "description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
4514
4261
  "options": [],
4515
4262
  "value": {
4516
4263
  "type": "string",
@@ -4518,9 +4265,9 @@
4518
4265
  }
4519
4266
  },
4520
4267
  {
4521
- "name": "direction",
4522
- "default": "`down`",
4523
- "description": "Expand direction, can be set to `up`",
4268
+ "name": "title",
4269
+ "default": "`''`",
4270
+ "description": "Toolbar title",
4524
4271
  "options": [],
4525
4272
  "value": {
4526
4273
  "type": "string",
@@ -4528,29 +4275,29 @@
4528
4275
  }
4529
4276
  },
4530
4277
  {
4531
- "name": "z-index",
4532
- "default": "`10`",
4533
- "description": "z-index of menu item",
4278
+ "name": "confirm-button-text",
4279
+ "default": "`Confirm`",
4280
+ "description": "Text of confirm button",
4534
4281
  "options": [],
4535
4282
  "value": {
4536
- "type": "number | string",
4283
+ "type": "string",
4537
4284
  "kind": "expression"
4538
4285
  }
4539
4286
  },
4540
4287
  {
4541
- "name": "duration",
4542
- "default": "`0.2`",
4543
- "description": "Transition duration, unit second",
4288
+ "name": "cancel-button-text",
4289
+ "default": "`Cancel`",
4290
+ "description": "Text of cancel button",
4544
4291
  "options": [],
4545
4292
  "value": {
4546
- "type": "number | string",
4293
+ "type": "string",
4547
4294
  "kind": "expression"
4548
4295
  }
4549
4296
  },
4550
4297
  {
4551
- "name": "overlay",
4298
+ "name": "show-toolbar",
4552
4299
  "default": "`true`",
4553
- "description": "Whether to show overlay",
4300
+ "description": "Whether to show toolbar",
4554
4301
  "options": [],
4555
4302
  "value": {
4556
4303
  "type": "boolean",
@@ -4558,9 +4305,9 @@
4558
4305
  }
4559
4306
  },
4560
4307
  {
4561
- "name": "close-on-click-overlay",
4562
- "default": "`true`",
4563
- "description": "Whether to close when overlay is clicked",
4308
+ "name": "loading",
4309
+ "default": "`false`",
4310
+ "description": "Whether to show loading prompt",
4564
4311
  "options": [],
4565
4312
  "value": {
4566
4313
  "type": "boolean",
@@ -4568,7 +4315,260 @@
4568
4315
  }
4569
4316
  },
4570
4317
  {
4571
- "name": "close-on-click-outside",
4318
+ "name": "readonly",
4319
+ "default": "`false`",
4320
+ "description": "Whether to be readonly",
4321
+ "options": [],
4322
+ "value": {
4323
+ "type": "boolean",
4324
+ "kind": "expression"
4325
+ }
4326
+ },
4327
+ {
4328
+ "name": "filter",
4329
+ "default": "-",
4330
+ "description": "Option filter",
4331
+ "options": [],
4332
+ "value": {
4333
+ "type": "(type: string, values: string[]) => string[]",
4334
+ "kind": "expression"
4335
+ }
4336
+ },
4337
+ {
4338
+ "name": "formatter",
4339
+ "default": "-",
4340
+ "description": "Option text formatter",
4341
+ "options": [],
4342
+ "value": {
4343
+ "type": "(type: string, value: string) => string",
4344
+ "kind": "expression"
4345
+ }
4346
+ },
4347
+ {
4348
+ "name": "columns-order",
4349
+ "default": "-",
4350
+ "description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
4351
+ "options": [],
4352
+ "value": {
4353
+ "type": "string[]",
4354
+ "kind": "expression"
4355
+ }
4356
+ },
4357
+ {
4358
+ "name": "item-height",
4359
+ "default": "`44`",
4360
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
4361
+ "options": [],
4362
+ "value": {
4363
+ "type": "number | string",
4364
+ "kind": "expression"
4365
+ }
4366
+ },
4367
+ {
4368
+ "name": "visible-item-count",
4369
+ "default": "`6`",
4370
+ "description": "Count of visible columns",
4371
+ "options": [],
4372
+ "value": {
4373
+ "type": "number | string",
4374
+ "kind": "expression"
4375
+ }
4376
+ },
4377
+ {
4378
+ "name": "swipe-duration",
4379
+ "default": "`1000`",
4380
+ "description": "Duration of the momentum animation, unit `ms`",
4381
+ "options": [],
4382
+ "value": {
4383
+ "type": "number | string",
4384
+ "kind": "expression"
4385
+ }
4386
+ }
4387
+ ]
4388
+ },
4389
+ {
4390
+ "name": "van-date-picker",
4391
+ "slots": [],
4392
+ "events": [],
4393
+ "attributes": [
4394
+ {
4395
+ "name": "min-date",
4396
+ "default": "Ten years ago on January 1",
4397
+ "description": "Min date",
4398
+ "options": [],
4399
+ "value": {
4400
+ "type": "Date",
4401
+ "kind": "expression"
4402
+ }
4403
+ },
4404
+ {
4405
+ "name": "max-date",
4406
+ "default": "Ten years later on December 31",
4407
+ "description": "Max date",
4408
+ "options": [],
4409
+ "value": {
4410
+ "type": "Date",
4411
+ "kind": "expression"
4412
+ }
4413
+ }
4414
+ ]
4415
+ },
4416
+ {
4417
+ "name": "van-time-picker",
4418
+ "slots": [],
4419
+ "events": [],
4420
+ "attributes": [
4421
+ {
4422
+ "name": "min-hour",
4423
+ "default": "`0`",
4424
+ "description": "Min hour for `time` type",
4425
+ "options": [],
4426
+ "value": {
4427
+ "type": "number | string",
4428
+ "kind": "expression"
4429
+ }
4430
+ },
4431
+ {
4432
+ "name": "max-hour",
4433
+ "default": "`23`",
4434
+ "description": "Max hour for `time` type",
4435
+ "options": [],
4436
+ "value": {
4437
+ "type": "number | string",
4438
+ "kind": "expression"
4439
+ }
4440
+ },
4441
+ {
4442
+ "name": "min-minute",
4443
+ "default": "`0`",
4444
+ "description": "Max minute for `time` type",
4445
+ "options": [],
4446
+ "value": {
4447
+ "type": "number | string",
4448
+ "kind": "expression"
4449
+ }
4450
+ },
4451
+ {
4452
+ "name": "max-minute",
4453
+ "default": "`59`",
4454
+ "description": "Max minute for `time` type",
4455
+ "options": [],
4456
+ "value": {
4457
+ "type": "number | string",
4458
+ "kind": "expression"
4459
+ }
4460
+ }
4461
+ ]
4462
+ },
4463
+ {
4464
+ "name": "van-divider",
4465
+ "slots": [
4466
+ {
4467
+ "name": "default",
4468
+ "description": "content"
4469
+ }
4470
+ ],
4471
+ "events": [],
4472
+ "attributes": [
4473
+ {
4474
+ "name": "dashed",
4475
+ "default": "`false`",
4476
+ "description": "Whether to use dashed border",
4477
+ "options": [],
4478
+ "value": {
4479
+ "type": "boolean",
4480
+ "kind": "expression"
4481
+ }
4482
+ },
4483
+ {
4484
+ "name": "hairline",
4485
+ "default": "`true`",
4486
+ "description": "Whether to use hairline",
4487
+ "options": [],
4488
+ "value": {
4489
+ "type": "boolean",
4490
+ "kind": "expression"
4491
+ }
4492
+ },
4493
+ {
4494
+ "name": "content-position",
4495
+ "default": "`center`",
4496
+ "description": "Content position, can be set to `left` `right`",
4497
+ "options": [],
4498
+ "value": {
4499
+ "type": "string",
4500
+ "kind": "expression"
4501
+ }
4502
+ }
4503
+ ]
4504
+ },
4505
+ {
4506
+ "name": "van-dropdown-menu",
4507
+ "slots": [],
4508
+ "events": [],
4509
+ "attributes": [
4510
+ {
4511
+ "name": "active-color",
4512
+ "default": "`#ee0a24`",
4513
+ "description": "Active color of title and option",
4514
+ "options": [],
4515
+ "value": {
4516
+ "type": "string",
4517
+ "kind": "expression"
4518
+ }
4519
+ },
4520
+ {
4521
+ "name": "direction",
4522
+ "default": "`down`",
4523
+ "description": "Expand direction, can be set to `up`",
4524
+ "options": [],
4525
+ "value": {
4526
+ "type": "string",
4527
+ "kind": "expression"
4528
+ }
4529
+ },
4530
+ {
4531
+ "name": "z-index",
4532
+ "default": "`10`",
4533
+ "description": "z-index of menu item",
4534
+ "options": [],
4535
+ "value": {
4536
+ "type": "number | string",
4537
+ "kind": "expression"
4538
+ }
4539
+ },
4540
+ {
4541
+ "name": "duration",
4542
+ "default": "`0.2`",
4543
+ "description": "Transition duration, unit second",
4544
+ "options": [],
4545
+ "value": {
4546
+ "type": "number | string",
4547
+ "kind": "expression"
4548
+ }
4549
+ },
4550
+ {
4551
+ "name": "overlay",
4552
+ "default": "`true`",
4553
+ "description": "Whether to show overlay",
4554
+ "options": [],
4555
+ "value": {
4556
+ "type": "boolean",
4557
+ "kind": "expression"
4558
+ }
4559
+ },
4560
+ {
4561
+ "name": "close-on-click-overlay",
4562
+ "default": "`true`",
4563
+ "description": "Whether to close when overlay is clicked",
4564
+ "options": [],
4565
+ "value": {
4566
+ "type": "boolean",
4567
+ "kind": "expression"
4568
+ }
4569
+ },
4570
+ {
4571
+ "name": "close-on-click-outside",
4572
4572
  "default": "`true`",
4573
4573
  "description": "Whether to close when outside is clicked",
4574
4574
  "options": [],
@@ -5258,8 +5258,171 @@
5258
5258
  ]
5259
5259
  },
5260
5260
  {
5261
- "name": "van-grid",
5262
- "slots": [],
5261
+ "name": "van-form",
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
+ ],
5290
+ "attributes": [
5291
+ {
5292
+ "name": "label-width",
5293
+ "default": "`6.2em`",
5294
+ "description": "Field label width",
5295
+ "options": [],
5296
+ "value": {
5297
+ "type": "number | string",
5298
+ "kind": "expression"
5299
+ }
5300
+ },
5301
+ {
5302
+ "name": "label-align",
5303
+ "default": "`left`",
5304
+ "description": "Field label align, can be set to `center` `right`",
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`",
5315
+ "options": [],
5316
+ "value": {
5317
+ "type": "string",
5318
+ "kind": "expression"
5319
+ }
5320
+ },
5321
+ {
5322
+ "name": "error-message-align",
5323
+ "default": "`left`",
5324
+ "description": "Error message align, can be set to `center` `right`",
5325
+ "options": [],
5326
+ "value": {
5327
+ "type": "string",
5328
+ "kind": "expression"
5329
+ }
5330
+ },
5331
+ {
5332
+ "name": "validate-trigger",
5333
+ "default": "`onBlur`",
5334
+ "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
5335
+ "options": [],
5336
+ "value": {
5337
+ "type": "string | string[]",
5338
+ "kind": "expression"
5339
+ }
5340
+ },
5341
+ {
5342
+ "name": "colon",
5343
+ "default": "`false`",
5344
+ "description": "Whether to display colon after label",
5345
+ "options": [],
5346
+ "value": {
5347
+ "type": "boolean",
5348
+ "kind": "expression"
5349
+ }
5350
+ },
5351
+ {
5352
+ "name": "disabled",
5353
+ "default": "`false`",
5354
+ "description": "Whether to disable form",
5355
+ "options": [],
5356
+ "value": {
5357
+ "type": "boolean",
5358
+ "kind": "expression"
5359
+ }
5360
+ },
5361
+ {
5362
+ "name": "readonly",
5363
+ "default": "`false`",
5364
+ "description": "Whether to be readonly",
5365
+ "options": [],
5366
+ "value": {
5367
+ "type": "boolean",
5368
+ "kind": "expression"
5369
+ }
5370
+ },
5371
+ {
5372
+ "name": "validate-first",
5373
+ "default": "`false`",
5374
+ "description": "Whether to stop the validation when a rule fails",
5375
+ "options": [],
5376
+ "value": {
5377
+ "type": "boolean",
5378
+ "kind": "expression"
5379
+ }
5380
+ },
5381
+ {
5382
+ "name": "scroll-to-error",
5383
+ "default": "`false`",
5384
+ "description": "Whether to scroll to the error field when validation failed",
5385
+ "options": [],
5386
+ "value": {
5387
+ "type": "boolean",
5388
+ "kind": "expression"
5389
+ }
5390
+ },
5391
+ {
5392
+ "name": "show-error",
5393
+ "default": "`false`",
5394
+ "description": "Whether to highlight input when validation failed",
5395
+ "options": [],
5396
+ "value": {
5397
+ "type": "boolean",
5398
+ "kind": "expression"
5399
+ }
5400
+ },
5401
+ {
5402
+ "name": "show-error-message",
5403
+ "default": "`true`",
5404
+ "description": "Whether to show error message when validation failed",
5405
+ "options": [],
5406
+ "value": {
5407
+ "type": "boolean",
5408
+ "kind": "expression"
5409
+ }
5410
+ },
5411
+ {
5412
+ "name": "submit-on-enter",
5413
+ "default": "`true`",
5414
+ "description": "Whether to submit form on enter",
5415
+ "options": [],
5416
+ "value": {
5417
+ "type": "boolean",
5418
+ "kind": "expression"
5419
+ }
5420
+ }
5421
+ ]
5422
+ },
5423
+ {
5424
+ "name": "van-grid",
5425
+ "slots": [],
5263
5426
  "events": [],
5264
5427
  "attributes": [
5265
5428
  {
@@ -5584,50 +5747,58 @@
5584
5747
  ]
5585
5748
  },
5586
5749
  {
5587
- "name": "van-form",
5750
+ "name": "van-image",
5588
5751
  "slots": [
5589
5752
  {
5590
5753
  "name": "default",
5591
- "description": "Form content"
5754
+ "description": "Custom the content below the image"
5755
+ },
5756
+ {
5757
+ "name": "loading",
5758
+ "description": "Custom loading placeholder"
5759
+ },
5760
+ {
5761
+ "name": "error",
5762
+ "description": "Custom error placeholder"
5592
5763
  }
5593
5764
  ],
5594
5765
  "events": [
5595
5766
  {
5596
- "name": "submit",
5597
- "description": "Emitted after submitting the form and validation passed",
5767
+ "name": "click",
5768
+ "description": "Emitted when image is clicked",
5598
5769
  "arguments": [
5599
5770
  {
5600
- "name": "values",
5601
- "type": "object"
5771
+ "name": "event",
5772
+ "type": "MouseEvent"
5602
5773
  }
5603
5774
  ]
5604
5775
  },
5605
5776
  {
5606
- "name": "failed",
5607
- "description": "Emitted after submitting the form and validation failed",
5608
- "arguments": [
5609
- {
5610
- "name": "errorInfo",
5611
- "type": "{ values: object, errors: object[] }"
5612
- }
5613
- ]
5777
+ "name": "load",
5778
+ "description": "Emitted when image loaded",
5779
+ "arguments": []
5780
+ },
5781
+ {
5782
+ "name": "error",
5783
+ "description": "Emitted when image load failed",
5784
+ "arguments": []
5614
5785
  }
5615
5786
  ],
5616
5787
  "attributes": [
5617
5788
  {
5618
- "name": "label-width",
5619
- "default": "`6.2em`",
5620
- "description": "Field label width",
5789
+ "name": "src",
5790
+ "default": "-",
5791
+ "description": "Src",
5621
5792
  "options": [],
5622
5793
  "value": {
5623
- "type": "number | string",
5794
+ "type": "string",
5624
5795
  "kind": "expression"
5625
5796
  }
5626
5797
  },
5627
5798
  {
5628
- "name": "label-align",
5629
- "default": "`left`",
5630
- "description": "Field label align, can be set to `center` `right`",
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)",
5631
5802
  "options": [],
5632
5803
  "value": {
5633
5804
  "type": "string",
@@ -5635,9 +5806,9 @@
5635
5806
  }
5636
5807
  },
5637
5808
  {
5638
- "name": "input-align",
5639
- "default": "`left`",
5640
- "description": "Field input align, can be set to `center` `right`",
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`",
5641
5812
  "options": [],
5642
5813
  "value": {
5643
5814
  "type": "string",
@@ -5645,9 +5816,9 @@
5645
5816
  }
5646
5817
  },
5647
5818
  {
5648
- "name": "error-message-align",
5649
- "default": "`left`",
5650
- "description": "Error message align, can be set to `center` `right`",
5819
+ "name": "alt",
5820
+ "default": "-",
5821
+ "description": "Alt",
5651
5822
  "options": [],
5652
5823
  "value": {
5653
5824
  "type": "string",
@@ -5655,210 +5826,39 @@
5655
5826
  }
5656
5827
  },
5657
5828
  {
5658
- "name": "validate-trigger",
5659
- "default": "`onBlur`",
5660
- "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
5829
+ "name": "width",
5830
+ "default": "-",
5831
+ "description": "Width",
5661
5832
  "options": [],
5662
5833
  "value": {
5663
- "type": "string | string[]",
5834
+ "type": "number | string",
5664
5835
  "kind": "expression"
5665
5836
  }
5666
5837
  },
5667
5838
  {
5668
- "name": "colon",
5669
- "default": "`false`",
5670
- "description": "Whether to display colon after label",
5839
+ "name": "height",
5840
+ "default": "-",
5841
+ "description": "Height",
5671
5842
  "options": [],
5672
5843
  "value": {
5673
- "type": "boolean",
5844
+ "type": "number | string",
5674
5845
  "kind": "expression"
5675
5846
  }
5676
5847
  },
5677
5848
  {
5678
- "name": "disabled",
5679
- "default": "`false`",
5680
- "description": "Whether to disable form",
5849
+ "name": "radius",
5850
+ "default": "`0`",
5851
+ "description": "Border Radius",
5681
5852
  "options": [],
5682
5853
  "value": {
5683
- "type": "boolean",
5854
+ "type": "number | string",
5684
5855
  "kind": "expression"
5685
5856
  }
5686
5857
  },
5687
5858
  {
5688
- "name": "readonly",
5859
+ "name": "round",
5689
5860
  "default": "`false`",
5690
- "description": "Whether to be readonly",
5691
- "options": [],
5692
- "value": {
5693
- "type": "boolean",
5694
- "kind": "expression"
5695
- }
5696
- },
5697
- {
5698
- "name": "validate-first",
5699
- "default": "`false`",
5700
- "description": "Whether to stop the validation when a rule fails",
5701
- "options": [],
5702
- "value": {
5703
- "type": "boolean",
5704
- "kind": "expression"
5705
- }
5706
- },
5707
- {
5708
- "name": "scroll-to-error",
5709
- "default": "`false`",
5710
- "description": "Whether to scroll to the error field when validation failed",
5711
- "options": [],
5712
- "value": {
5713
- "type": "boolean",
5714
- "kind": "expression"
5715
- }
5716
- },
5717
- {
5718
- "name": "show-error",
5719
- "default": "`false`",
5720
- "description": "Whether to highlight input when validation failed",
5721
- "options": [],
5722
- "value": {
5723
- "type": "boolean",
5724
- "kind": "expression"
5725
- }
5726
- },
5727
- {
5728
- "name": "show-error-message",
5729
- "default": "`true`",
5730
- "description": "Whether to show error message when validation failed",
5731
- "options": [],
5732
- "value": {
5733
- "type": "boolean",
5734
- "kind": "expression"
5735
- }
5736
- },
5737
- {
5738
- "name": "submit-on-enter",
5739
- "default": "`true`",
5740
- "description": "Whether to submit form on enter",
5741
- "options": [],
5742
- "value": {
5743
- "type": "boolean",
5744
- "kind": "expression"
5745
- }
5746
- }
5747
- ]
5748
- },
5749
- {
5750
- "name": "van-image",
5751
- "slots": [
5752
- {
5753
- "name": "default",
5754
- "description": "Custom the content below the image"
5755
- },
5756
- {
5757
- "name": "loading",
5758
- "description": "Custom loading placeholder"
5759
- },
5760
- {
5761
- "name": "error",
5762
- "description": "Custom error placeholder"
5763
- }
5764
- ],
5765
- "events": [
5766
- {
5767
- "name": "click",
5768
- "description": "Emitted when image is clicked",
5769
- "arguments": [
5770
- {
5771
- "name": "event",
5772
- "type": "MouseEvent"
5773
- }
5774
- ]
5775
- },
5776
- {
5777
- "name": "load",
5778
- "description": "Emitted when image loaded",
5779
- "arguments": []
5780
- },
5781
- {
5782
- "name": "error",
5783
- "description": "Emitted when image load failed",
5784
- "arguments": []
5785
- }
5786
- ],
5787
- "attributes": [
5788
- {
5789
- "name": "src",
5790
- "default": "-",
5791
- "description": "Src",
5792
- "options": [],
5793
- "value": {
5794
- "type": "string",
5795
- "kind": "expression"
5796
- }
5797
- },
5798
- {
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)",
5802
- "options": [],
5803
- "value": {
5804
- "type": "string",
5805
- "kind": "expression"
5806
- }
5807
- },
5808
- {
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`",
5812
- "options": [],
5813
- "value": {
5814
- "type": "string",
5815
- "kind": "expression"
5816
- }
5817
- },
5818
- {
5819
- "name": "alt",
5820
- "default": "-",
5821
- "description": "Alt",
5822
- "options": [],
5823
- "value": {
5824
- "type": "string",
5825
- "kind": "expression"
5826
- }
5827
- },
5828
- {
5829
- "name": "width",
5830
- "default": "-",
5831
- "description": "Width",
5832
- "options": [],
5833
- "value": {
5834
- "type": "number | string",
5835
- "kind": "expression"
5836
- }
5837
- },
5838
- {
5839
- "name": "height",
5840
- "default": "-",
5841
- "description": "Height",
5842
- "options": [],
5843
- "value": {
5844
- "type": "number | string",
5845
- "kind": "expression"
5846
- }
5847
- },
5848
- {
5849
- "name": "radius",
5850
- "default": "`0`",
5851
- "description": "Border Radius",
5852
- "options": [],
5853
- "value": {
5854
- "type": "number | string",
5855
- "kind": "expression"
5856
- }
5857
- },
5858
- {
5859
- "name": "round",
5860
- "default": "`false`",
5861
- "description": "Whether to be round",
5861
+ "description": "Whether to be round",
5862
5862
  "options": [],
5863
5863
  "value": {
5864
5864
  "type": "boolean",
@@ -6313,78 +6313,6 @@
6313
6313
  }
6314
6314
  ]
6315
6315
  },
6316
- {
6317
- "name": "van-loading",
6318
- "slots": [
6319
- {
6320
- "name": "default",
6321
- "description": "Loading text"
6322
- }
6323
- ],
6324
- "events": [],
6325
- "attributes": [
6326
- {
6327
- "name": "color",
6328
- "default": "`#c9c9c9`",
6329
- "description": "Loading color",
6330
- "options": [],
6331
- "value": {
6332
- "type": "string",
6333
- "kind": "expression"
6334
- }
6335
- },
6336
- {
6337
- "name": "type",
6338
- "default": "`circular`",
6339
- "description": "Can be set to `spinner`",
6340
- "options": [],
6341
- "value": {
6342
- "type": "string",
6343
- "kind": "expression"
6344
- }
6345
- },
6346
- {
6347
- "name": "size",
6348
- "default": "`30px`",
6349
- "description": "Icon size",
6350
- "options": [],
6351
- "value": {
6352
- "type": "number | string",
6353
- "kind": "expression"
6354
- }
6355
- },
6356
- {
6357
- "name": "text-size",
6358
- "default": "`14px`",
6359
- "description": "Text font size",
6360
- "options": [],
6361
- "value": {
6362
- "type": "number | string",
6363
- "kind": "expression"
6364
- }
6365
- },
6366
- {
6367
- "name": "text-color",
6368
- "default": "`#c9c9c9`",
6369
- "description": "Text color",
6370
- "options": [],
6371
- "value": {
6372
- "type": "string",
6373
- "kind": "expression"
6374
- }
6375
- },
6376
- {
6377
- "name": "vertical",
6378
- "default": "`false`",
6379
- "description": "Whether to arrange icons and text content vertically",
6380
- "options": [],
6381
- "value": {
6382
- "type": "boolean",
6383
- "kind": "expression"
6384
- }
6385
- }
6386
- ]
6387
- },
6388
6316
  {
6389
6317
  "name": "van-list",
6390
6318
  "slots": [
@@ -6506,19 +6434,91 @@
6506
6434
  ]
6507
6435
  },
6508
6436
  {
6509
- "name": "van-nav-bar",
6437
+ "name": "van-loading",
6510
6438
  "slots": [
6511
6439
  {
6512
- "name": "title",
6513
- "description": "Custom title"
6514
- },
6515
- {
6516
- "name": "left",
6517
- "description": "Custom left side content"
6518
- },
6519
- {
6520
- "name": "right",
6521
- "description": "Custom right side content"
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
+ {
6509
+ "name": "van-nav-bar",
6510
+ "slots": [
6511
+ {
6512
+ "name": "title",
6513
+ "description": "Custom title"
6514
+ },
6515
+ {
6516
+ "name": "left",
6517
+ "description": "Custom left side content"
6518
+ },
6519
+ {
6520
+ "name": "right",
6521
+ "description": "Custom right side content"
6522
6522
  }
6523
6523
  ],
6524
6524
  "events": [
@@ -6999,70 +6999,80 @@
6999
6999
  ]
7000
7000
  },
7001
7001
  {
7002
- "name": "van-password-input",
7003
- "slots": [],
7002
+ "name": "van-overlay",
7003
+ "slots": [
7004
+ {
7005
+ "name": "default",
7006
+ "description": "Default slot"
7007
+ }
7008
+ ],
7004
7009
  "events": [
7005
7010
  {
7006
- "name": "focus",
7007
- "description": "Emitted when input is focused",
7008
- "arguments": []
7011
+ "name": "click",
7012
+ "description": "Emitted when component is clicked",
7013
+ "arguments": [
7014
+ {
7015
+ "name": "event",
7016
+ "type": "MouseEvent"
7017
+ }
7018
+ ]
7009
7019
  }
7010
7020
  ],
7011
7021
  "attributes": [
7012
7022
  {
7013
- "name": "value",
7014
- "default": "`''`",
7015
- "description": "Password value",
7023
+ "name": "show",
7024
+ "default": "`false`",
7025
+ "description": "Whether to show overlay",
7016
7026
  "options": [],
7017
7027
  "value": {
7018
- "type": "string",
7028
+ "type": "boolean",
7019
7029
  "kind": "expression"
7020
7030
  }
7021
7031
  },
7022
7032
  {
7023
- "name": "info",
7024
- "default": "-",
7025
- "description": "Bottom info",
7033
+ "name": "z-index",
7034
+ "default": "`1`",
7035
+ "description": "z-index",
7026
7036
  "options": [],
7027
7037
  "value": {
7028
- "type": "string",
7038
+ "type": "number | string",
7029
7039
  "kind": "expression"
7030
7040
  }
7031
7041
  },
7032
7042
  {
7033
- "name": "error-info",
7034
- "default": "-",
7035
- "description": "Bottom error info",
7043
+ "name": "duration",
7044
+ "default": "`0.3`",
7045
+ "description": "Animation duration",
7036
7046
  "options": [],
7037
7047
  "value": {
7038
- "type": "string",
7048
+ "type": "number | string",
7039
7049
  "kind": "expression"
7040
7050
  }
7041
7051
  },
7042
7052
  {
7043
- "name": "length",
7044
- "default": "`6`",
7045
- "description": "Maxlength of password",
7053
+ "name": "class-name",
7054
+ "default": "-",
7055
+ "description": "ClassName",
7046
7056
  "options": [],
7047
7057
  "value": {
7048
- "type": "number | string",
7058
+ "type": "string",
7049
7059
  "kind": "expression"
7050
7060
  }
7051
7061
  },
7052
7062
  {
7053
- "name": "gutter",
7054
- "default": "`0`",
7055
- "description": "Gutter of input",
7063
+ "name": "custom-class",
7064
+ "default": "-",
7065
+ "description": "Custom style",
7056
7066
  "options": [],
7057
7067
  "value": {
7058
- "type": "number | string",
7068
+ "type": "object",
7059
7069
  "kind": "expression"
7060
7070
  }
7061
7071
  },
7062
7072
  {
7063
- "name": "mask",
7073
+ "name": "lock-scroll",
7064
7074
  "default": "`true`",
7065
- "description": "Whether to mask value",
7075
+ "description": "Whether to lock background scroll",
7066
7076
  "options": [],
7067
7077
  "value": {
7068
7078
  "type": "boolean",
@@ -7070,9 +7080,9 @@
7070
7080
  }
7071
7081
  },
7072
7082
  {
7073
- "name": "focused",
7074
- "default": "`false`",
7075
- "description": "Whether to show focused cursor",
7083
+ "name": "lazy-render",
7084
+ "default": "`true`",
7085
+ "description": "Whether to lazy render util appeared",
7076
7086
  "options": [],
7077
7087
  "value": {
7078
7088
  "type": "boolean",
@@ -7082,106 +7092,53 @@
7082
7092
  ]
7083
7093
  },
7084
7094
  {
7085
- "name": "van-picker",
7095
+ "name": "van-pagination",
7086
7096
  "slots": [
7087
7097
  {
7088
- "name": "toolbar",
7089
- "description": "Custom toolbar content"
7090
- },
7091
- {
7092
- "name": "title",
7093
- "description": "Custom title"
7094
- },
7095
- {
7096
- "name": "confirm",
7097
- "description": "Custom confirm button text"
7098
- },
7099
- {
7100
- "name": "cancel",
7101
- "description": "Custom cancel button text"
7102
- },
7103
- {
7104
- "name": "option",
7105
- "description": "Custom option content"
7098
+ "name": "page",
7099
+ "description": "Custom pagination item"
7106
7100
  },
7107
7101
  {
7108
- "name": "columns-top",
7109
- "description": "Custom content above columns"
7102
+ "name": "prev-text",
7103
+ "description": "Custom prev text"
7110
7104
  },
7111
7105
  {
7112
- "name": "columns-bottom",
7113
- "description": "Custom content below columns"
7106
+ "name": "next-text",
7107
+ "description": "Custom next text"
7114
7108
  }
7115
7109
  ],
7116
7110
  "events": [
7117
- {
7118
- "name": "confirm",
7119
- "description": "Emitted when click confirm button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
7120
- "arguments": [
7121
- {
7122
- "name": "currentValue",
7123
- "type": "PickerOption | PickerOption[]"
7124
- },
7125
- {
7126
- "name": "currentIndex",
7127
- "type": "number | number[]"
7128
- }
7129
- ]
7130
- },
7131
- {
7132
- "name": "cancel",
7133
- "description": "Emitted when click cancel button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
7134
- "arguments": [
7135
- {
7136
- "name": "currentValue",
7137
- "type": "PickerOption | PickerOption[]"
7138
- },
7139
- {
7140
- "name": "currentIndex",
7141
- "type": "number | number[]"
7142
- }
7143
- ]
7144
- },
7145
7111
  {
7146
7112
  "name": "change",
7147
- "description": "Emitted when current option changed.<br>**Notice: the arguments return an array when the multiple columns mode.**",
7148
- "arguments": [
7149
- {
7150
- "name": "currentValue",
7151
- "type": "PickerOption | PickerOption[]"
7152
- },
7153
- {
7154
- "name": "currentIndex",
7155
- "type": "number | number[]"
7156
- }
7157
- ]
7113
+ "description": "Emitted when current page changed",
7114
+ "arguments": []
7158
7115
  }
7159
7116
  ],
7160
7117
  "attributes": [
7161
7118
  {
7162
- "name": "columns",
7163
- "default": "`[]`",
7164
- "description": "Columns data",
7119
+ "name": "v-model",
7120
+ "default": "-",
7121
+ "description": "Current page number",
7165
7122
  "options": [],
7166
7123
  "value": {
7167
- "type": "Column[]",
7124
+ "type": "number",
7168
7125
  "kind": "expression"
7169
7126
  }
7170
7127
  },
7171
7128
  {
7172
- "name": "columns-field-names",
7173
- "default": "`{ text: 'text', values: 'values', children: 'children' }`",
7174
- "description": "custom columns field",
7129
+ "name": "mode",
7130
+ "default": "`multi`",
7131
+ "description": "Mode, can be set to `simple` `multi`",
7175
7132
  "options": [],
7176
7133
  "value": {
7177
- "type": "object",
7134
+ "type": "string",
7178
7135
  "kind": "expression"
7179
7136
  }
7180
7137
  },
7181
7138
  {
7182
- "name": "title",
7183
- "default": "-",
7184
- "description": "Toolbar title",
7139
+ "name": "prev-text",
7140
+ "default": "`Previous`",
7141
+ "description": "Previous text",
7185
7142
  "options": [],
7186
7143
  "value": {
7187
7144
  "type": "string",
@@ -7189,9 +7146,9 @@
7189
7146
  }
7190
7147
  },
7191
7148
  {
7192
- "name": "confirm-button-text",
7193
- "default": "`Confirm`",
7194
- "description": "Text of confirm button",
7149
+ "name": "next-text",
7150
+ "default": "`Next`",
7151
+ "description": "Next text",
7195
7152
  "options": [],
7196
7153
  "value": {
7197
7154
  "type": "string",
@@ -7199,79 +7156,102 @@
7199
7156
  }
7200
7157
  },
7201
7158
  {
7202
- "name": "cancel-button-text",
7203
- "default": "`Cancel`",
7204
- "description": "Text of cancel button",
7159
+ "name": "total-items",
7160
+ "default": "`0`",
7161
+ "description": "Total items",
7205
7162
  "options": [],
7206
7163
  "value": {
7207
- "type": "string",
7164
+ "type": "number | string",
7208
7165
  "kind": "expression"
7209
7166
  }
7210
7167
  },
7211
7168
  {
7212
- "name": "toolbar-position",
7213
- "default": "`top`",
7214
- "description": "Toolbar position, cat be set to `bottom`",
7169
+ "name": "items-per-page",
7170
+ "default": "`10`",
7171
+ "description": "Item number per page",
7215
7172
  "options": [],
7216
7173
  "value": {
7217
- "type": "string",
7174
+ "type": "number | string",
7218
7175
  "kind": "expression"
7219
7176
  }
7220
7177
  },
7221
7178
  {
7222
- "name": "loading",
7223
- "default": "`false`",
7224
- "description": "Whether to show loading prompt",
7179
+ "name": "page-count",
7180
+ "default": "`-`",
7181
+ "description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
7225
7182
  "options": [],
7226
7183
  "value": {
7227
- "type": "boolean",
7184
+ "type": "number | string",
7228
7185
  "kind": "expression"
7229
7186
  }
7230
7187
  },
7231
7188
  {
7232
- "name": "show-toolbar",
7233
- "default": "`true`",
7234
- "description": "Whether to show toolbar",
7189
+ "name": "show-page-size",
7190
+ "default": "`5`",
7191
+ "description": "Count of page size to show",
7235
7192
  "options": [],
7236
7193
  "value": {
7237
- "type": "boolean",
7194
+ "type": "number | string",
7238
7195
  "kind": "expression"
7239
7196
  }
7240
7197
  },
7241
7198
  {
7242
- "name": "allow-html",
7199
+ "name": "force-ellipses",
7243
7200
  "default": "`false`",
7244
- "description": "Whether to allow HTML in option text",
7201
+ "description": "Whether to show ellipses",
7245
7202
  "options": [],
7246
7203
  "value": {
7247
7204
  "type": "boolean",
7248
7205
  "kind": "expression"
7249
7206
  }
7207
+ }
7208
+ ]
7209
+ },
7210
+ {
7211
+ "name": "van-password-input",
7212
+ "slots": [],
7213
+ "events": [
7214
+ {
7215
+ "name": "focus",
7216
+ "description": "Emitted when input is focused",
7217
+ "arguments": []
7218
+ }
7219
+ ],
7220
+ "attributes": [
7221
+ {
7222
+ "name": "value",
7223
+ "default": "`''`",
7224
+ "description": "Password value",
7225
+ "options": [],
7226
+ "value": {
7227
+ "type": "string",
7228
+ "kind": "expression"
7229
+ }
7250
7230
  },
7251
7231
  {
7252
- "name": "default-index",
7253
- "default": "`0`",
7254
- "description": "Default value index of single column picker",
7232
+ "name": "info",
7233
+ "default": "-",
7234
+ "description": "Bottom info",
7255
7235
  "options": [],
7256
7236
  "value": {
7257
- "type": "number | string",
7237
+ "type": "string",
7258
7238
  "kind": "expression"
7259
7239
  }
7260
7240
  },
7261
7241
  {
7262
- "name": "item-height",
7263
- "default": "`44`",
7264
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
7242
+ "name": "error-info",
7243
+ "default": "-",
7244
+ "description": "Bottom error info",
7265
7245
  "options": [],
7266
7246
  "value": {
7267
- "type": "number | string",
7247
+ "type": "string",
7268
7248
  "kind": "expression"
7269
7249
  }
7270
7250
  },
7271
7251
  {
7272
- "name": "visible-item-count",
7252
+ "name": "length",
7273
7253
  "default": "`6`",
7274
- "description": "Count of visible columns",
7254
+ "description": "Maxlength of password",
7275
7255
  "options": [],
7276
7256
  "value": {
7277
7257
  "type": "number | string",
@@ -7279,65 +7259,138 @@
7279
7259
  }
7280
7260
  },
7281
7261
  {
7282
- "name": "swipe-duration",
7283
- "default": "`1000`",
7284
- "description": "Duration of the momentum animation, unit `ms`",
7262
+ "name": "gutter",
7263
+ "default": "`0`",
7264
+ "description": "Gutter of input",
7285
7265
  "options": [],
7286
7266
  "value": {
7287
7267
  "type": "number | string",
7288
7268
  "kind": "expression"
7289
7269
  }
7270
+ },
7271
+ {
7272
+ "name": "mask",
7273
+ "default": "`true`",
7274
+ "description": "Whether to mask value",
7275
+ "options": [],
7276
+ "value": {
7277
+ "type": "boolean",
7278
+ "kind": "expression"
7279
+ }
7280
+ },
7281
+ {
7282
+ "name": "focused",
7283
+ "default": "`false`",
7284
+ "description": "Whether to show focused cursor",
7285
+ "options": [],
7286
+ "value": {
7287
+ "type": "boolean",
7288
+ "kind": "expression"
7289
+ }
7290
7290
  }
7291
7291
  ]
7292
7292
  },
7293
7293
  {
7294
- "name": "van-pagination",
7294
+ "name": "van-picker",
7295
7295
  "slots": [
7296
7296
  {
7297
- "name": "page",
7298
- "description": "Custom pagination item"
7297
+ "name": "toolbar",
7298
+ "description": "Custom toolbar content"
7299
7299
  },
7300
7300
  {
7301
- "name": "prev-text",
7302
- "description": "Custom prev text"
7301
+ "name": "title",
7302
+ "description": "Custom title"
7303
7303
  },
7304
7304
  {
7305
- "name": "next-text",
7306
- "description": "Custom next text"
7305
+ "name": "confirm",
7306
+ "description": "Custom confirm button text"
7307
+ },
7308
+ {
7309
+ "name": "cancel",
7310
+ "description": "Custom cancel button text"
7311
+ },
7312
+ {
7313
+ "name": "option",
7314
+ "description": "Custom option content"
7315
+ },
7316
+ {
7317
+ "name": "columns-top",
7318
+ "description": "Custom content above columns"
7319
+ },
7320
+ {
7321
+ "name": "columns-bottom",
7322
+ "description": "Custom content below columns"
7307
7323
  }
7308
7324
  ],
7309
7325
  "events": [
7326
+ {
7327
+ "name": "confirm",
7328
+ "description": "Emitted when click confirm button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
7329
+ "arguments": [
7330
+ {
7331
+ "name": "currentValue",
7332
+ "type": "PickerOption | PickerOption[]"
7333
+ },
7334
+ {
7335
+ "name": "currentIndex",
7336
+ "type": "number | number[]"
7337
+ }
7338
+ ]
7339
+ },
7340
+ {
7341
+ "name": "cancel",
7342
+ "description": "Emitted when click cancel button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
7343
+ "arguments": [
7344
+ {
7345
+ "name": "currentValue",
7346
+ "type": "PickerOption | PickerOption[]"
7347
+ },
7348
+ {
7349
+ "name": "currentIndex",
7350
+ "type": "number | number[]"
7351
+ }
7352
+ ]
7353
+ },
7310
7354
  {
7311
7355
  "name": "change",
7312
- "description": "Emitted when current page changed",
7313
- "arguments": []
7356
+ "description": "Emitted when current option changed.<br>**Notice: the arguments return an array when the multiple columns mode.**",
7357
+ "arguments": [
7358
+ {
7359
+ "name": "currentValue",
7360
+ "type": "PickerOption | PickerOption[]"
7361
+ },
7362
+ {
7363
+ "name": "currentIndex",
7364
+ "type": "number | number[]"
7365
+ }
7366
+ ]
7314
7367
  }
7315
7368
  ],
7316
7369
  "attributes": [
7317
7370
  {
7318
- "name": "v-model",
7319
- "default": "-",
7320
- "description": "Current page number",
7371
+ "name": "columns",
7372
+ "default": "`[]`",
7373
+ "description": "Columns data",
7321
7374
  "options": [],
7322
7375
  "value": {
7323
- "type": "number",
7376
+ "type": "Column[]",
7324
7377
  "kind": "expression"
7325
7378
  }
7326
7379
  },
7327
7380
  {
7328
- "name": "mode",
7329
- "default": "`multi`",
7330
- "description": "Mode, can be set to `simple` `multi`",
7381
+ "name": "columns-field-names",
7382
+ "default": "`{ text: 'text', values: 'values', children: 'children' }`",
7383
+ "description": "custom columns field",
7331
7384
  "options": [],
7332
7385
  "value": {
7333
- "type": "string",
7386
+ "type": "object",
7334
7387
  "kind": "expression"
7335
7388
  }
7336
7389
  },
7337
7390
  {
7338
- "name": "prev-text",
7339
- "default": "`Previous`",
7340
- "description": "Previous text",
7391
+ "name": "title",
7392
+ "default": "-",
7393
+ "description": "Toolbar title",
7341
7394
  "options": [],
7342
7395
  "value": {
7343
7396
  "type": "string",
@@ -7345,9 +7398,9 @@
7345
7398
  }
7346
7399
  },
7347
7400
  {
7348
- "name": "next-text",
7349
- "default": "`Next`",
7350
- "description": "Next text",
7401
+ "name": "confirm-button-text",
7402
+ "default": "`Confirm`",
7403
+ "description": "Text of confirm button",
7351
7404
  "options": [],
7352
7405
  "value": {
7353
7406
  "type": "string",
@@ -7355,82 +7408,49 @@
7355
7408
  }
7356
7409
  },
7357
7410
  {
7358
- "name": "total-items",
7359
- "default": "`0`",
7360
- "description": "Total items",
7361
- "options": [],
7362
- "value": {
7363
- "type": "number | string",
7364
- "kind": "expression"
7365
- }
7366
- },
7367
- {
7368
- "name": "items-per-page",
7369
- "default": "`10`",
7370
- "description": "Item number per page",
7411
+ "name": "cancel-button-text",
7412
+ "default": "`Cancel`",
7413
+ "description": "Text of cancel button",
7371
7414
  "options": [],
7372
7415
  "value": {
7373
- "type": "number | string",
7416
+ "type": "string",
7374
7417
  "kind": "expression"
7375
7418
  }
7376
7419
  },
7377
7420
  {
7378
- "name": "page-count",
7379
- "default": "`-`",
7380
- "description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
7421
+ "name": "toolbar-position",
7422
+ "default": "`top`",
7423
+ "description": "Toolbar position, cat be set to `bottom`",
7381
7424
  "options": [],
7382
7425
  "value": {
7383
- "type": "number | string",
7426
+ "type": "string",
7384
7427
  "kind": "expression"
7385
7428
  }
7386
7429
  },
7387
7430
  {
7388
- "name": "show-page-size",
7389
- "default": "`5`",
7390
- "description": "Count of page size to show",
7431
+ "name": "loading",
7432
+ "default": "`false`",
7433
+ "description": "Whether to show loading prompt",
7391
7434
  "options": [],
7392
7435
  "value": {
7393
- "type": "number | string",
7436
+ "type": "boolean",
7394
7437
  "kind": "expression"
7395
7438
  }
7396
7439
  },
7397
7440
  {
7398
- "name": "force-ellipses",
7399
- "default": "`false`",
7400
- "description": "Whether to show ellipses",
7441
+ "name": "show-toolbar",
7442
+ "default": "`true`",
7443
+ "description": "Whether to show toolbar",
7401
7444
  "options": [],
7402
7445
  "value": {
7403
7446
  "type": "boolean",
7404
7447
  "kind": "expression"
7405
7448
  }
7406
- }
7407
- ]
7408
- },
7409
- {
7410
- "name": "van-overlay",
7411
- "slots": [
7412
- {
7413
- "name": "default",
7414
- "description": "Default slot"
7415
- }
7416
- ],
7417
- "events": [
7418
- {
7419
- "name": "click",
7420
- "description": "Emitted when component is clicked",
7421
- "arguments": [
7422
- {
7423
- "name": "event",
7424
- "type": "MouseEvent"
7425
- }
7426
- ]
7427
- }
7428
- ],
7429
- "attributes": [
7449
+ },
7430
7450
  {
7431
- "name": "show",
7451
+ "name": "allow-html",
7432
7452
  "default": "`false`",
7433
- "description": "Whether to show overlay",
7453
+ "description": "Whether to allow HTML in option text",
7434
7454
  "options": [],
7435
7455
  "value": {
7436
7456
  "type": "boolean",
@@ -7438,9 +7458,9 @@
7438
7458
  }
7439
7459
  },
7440
7460
  {
7441
- "name": "z-index",
7442
- "default": "`1`",
7443
- "description": "z-index",
7461
+ "name": "default-index",
7462
+ "default": "`0`",
7463
+ "description": "Default value index of single column picker",
7444
7464
  "options": [],
7445
7465
  "value": {
7446
7466
  "type": "number | string",
@@ -7448,9 +7468,9 @@
7448
7468
  }
7449
7469
  },
7450
7470
  {
7451
- "name": "duration",
7452
- "default": "`0.3`",
7453
- "description": "Animation duration",
7471
+ "name": "item-height",
7472
+ "default": "`44`",
7473
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
7454
7474
  "options": [],
7455
7475
  "value": {
7456
7476
  "type": "number | string",
@@ -7458,42 +7478,22 @@
7458
7478
  }
7459
7479
  },
7460
7480
  {
7461
- "name": "class-name",
7462
- "default": "-",
7463
- "description": "ClassName",
7464
- "options": [],
7465
- "value": {
7466
- "type": "string",
7467
- "kind": "expression"
7468
- }
7469
- },
7470
- {
7471
- "name": "custom-class",
7472
- "default": "-",
7473
- "description": "Custom style",
7474
- "options": [],
7475
- "value": {
7476
- "type": "object",
7477
- "kind": "expression"
7478
- }
7479
- },
7480
- {
7481
- "name": "lock-scroll",
7482
- "default": "`true`",
7483
- "description": "Whether to lock background scroll",
7481
+ "name": "visible-item-count",
7482
+ "default": "`6`",
7483
+ "description": "Count of visible columns",
7484
7484
  "options": [],
7485
7485
  "value": {
7486
- "type": "boolean",
7486
+ "type": "number | string",
7487
7487
  "kind": "expression"
7488
7488
  }
7489
7489
  },
7490
7490
  {
7491
- "name": "lazy-render",
7492
- "default": "`true`",
7493
- "description": "Whether to lazy render util appeared",
7491
+ "name": "swipe-duration",
7492
+ "default": "`1000`",
7493
+ "description": "Duration of the momentum animation, unit `ms`",
7494
7494
  "options": [],
7495
7495
  "value": {
7496
- "type": "boolean",
7496
+ "type": "number | string",
7497
7497
  "kind": "expression"
7498
7498
  }
7499
7499
  }
@@ -7692,277 +7692,33 @@
7692
7692
  "kind": "expression"
7693
7693
  }
7694
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",
7776
- "options": [],
7777
- "value": {
7778
- "type": "string",
7779
- "kind": "expression"
7780
- }
7781
- },
7782
- {
7783
- "name": "pivot-color",
7784
- "default": "inherit progress color",
7785
- "description": "Pivot text background color",
7786
- "options": [],
7787
- "value": {
7788
- "type": "string",
7789
- "kind": "expression"
7790
- }
7791
- },
7792
- {
7793
- "name": "text-color",
7794
- "default": "`white`",
7795
- "description": "Pivot text color",
7796
- "options": [],
7797
- "value": {
7798
- "type": "string",
7799
- "kind": "expression"
7800
- }
7801
- },
7802
- {
7803
- "name": "inactive",
7804
- "default": "`false`",
7805
- "description": "Whether to be gray",
7806
- "options": [],
7807
- "value": {
7808
- "type": "boolean",
7809
- "kind": "expression"
7810
- }
7811
- },
7812
- {
7813
- "name": "show-pivot",
7814
- "default": "`true`",
7815
- "description": "Whether to show text",
7816
- "options": [],
7817
- "value": {
7818
- "type": "boolean",
7819
- "kind": "expression"
7820
- }
7821
- }
7822
- ]
7823
- },
7824
- {
7825
- "name": "van-pull-refresh",
7826
- "slots": [
7827
- {
7828
- "name": "default",
7829
- "description": "Default slot"
7830
- },
7831
- {
7832
- "name": "normal",
7833
- "description": "Content of head when at normal status"
7834
- },
7835
- {
7836
- "name": "pulling",
7837
- "description": "Content of head when at pulling"
7838
- },
7839
- {
7840
- "name": "loosing",
7841
- "description": "Content of head when at loosing"
7842
- },
7843
- {
7844
- "name": "loading",
7845
- "description": "Content of head when at loading"
7846
- },
7847
- {
7848
- "name": "success",
7849
- "description": "Content of head when succeed"
7850
- }
7851
- ],
7852
- "events": [
7853
- {
7854
- "name": "refresh",
7855
- "description": "Emitted after pulling refresh",
7856
- "arguments": []
7857
- },
7858
- {
7859
- "name": "change",
7860
- "description": "Emitted when draging or status changed",
7861
- "arguments": [
7862
- {
7863
- "name": "{ status: string, distance: number }"
7864
- }
7865
- ]
7866
- }
7867
- ],
7868
- "attributes": [
7869
- {
7870
- "name": "v-model",
7871
- "default": "-",
7872
- "description": "Loading status",
7873
- "options": [],
7874
- "value": {
7875
- "type": "boolean",
7876
- "kind": "expression"
7877
- }
7878
- },
7879
- {
7880
- "name": "pulling-text",
7881
- "default": "`Pull to refresh...`",
7882
- "description": "Text to show when pulling",
7883
- "options": [],
7884
- "value": {
7885
- "type": "string",
7886
- "kind": "expression"
7887
- }
7888
- },
7889
- {
7890
- "name": "loosing-text",
7891
- "default": "`Loose to refresh...`",
7892
- "description": "Text to show when loosing",
7893
- "options": [],
7894
- "value": {
7895
- "type": "string",
7896
- "kind": "expression"
7897
- }
7898
- },
7899
- {
7900
- "name": "loading-text",
7901
- "default": "`Loading...`",
7902
- "description": "Text to show when loading",
7903
- "options": [],
7904
- "value": {
7905
- "type": "string",
7906
- "kind": "expression"
7907
- }
7908
- },
7909
- {
7910
- "name": "success-text",
7911
- "default": "-",
7912
- "description": "Text to show when loading success",
7913
- "options": [],
7914
- "value": {
7915
- "type": "string",
7916
- "kind": "expression"
7917
- }
7918
- },
7919
- {
7920
- "name": "success-duration",
7921
- "default": "`500`",
7922
- "description": "Success text display duration(ms)",
7923
- "options": [],
7924
- "value": {
7925
- "type": "number | string",
7926
- "kind": "expression"
7927
- }
7928
- },
7929
- {
7930
- "name": "animation-duration",
7931
- "default": "`300`",
7932
- "description": "Animation duration",
7933
- "options": [],
7934
- "value": {
7935
- "type": "number | string",
7936
- "kind": "expression"
7937
- }
7938
- },
7939
- {
7940
- "name": "head-height",
7941
- "default": "`50`",
7942
- "description": "Height of head",
7695
+ {
7696
+ "name": "close-on-click-overlay",
7697
+ "default": "`true`",
7698
+ "description": "Whether to close when clicking overlay",
7943
7699
  "options": [],
7944
7700
  "value": {
7945
- "type": "number | string",
7701
+ "type": "boolean",
7946
7702
  "kind": "expression"
7947
7703
  }
7948
7704
  },
7949
7705
  {
7950
- "name": "pull-distance",
7951
- "default": "same as `head-height`",
7952
- "description": "The distance to trigger the pull refresh",
7706
+ "name": "teleport",
7707
+ "default": "`body`",
7708
+ "description": "Specifies a target element where Popover will be mounted",
7953
7709
  "options": [],
7954
7710
  "value": {
7955
- "type": "number | string",
7711
+ "type": "string | Element",
7956
7712
  "kind": "expression"
7957
7713
  }
7958
7714
  },
7959
7715
  {
7960
- "name": "disabled",
7961
- "default": "`false`",
7962
- "description": "Whether to disable pull refresh",
7716
+ "name": "icon-prefix",
7717
+ "default": "`van-icon`",
7718
+ "description": "Icon className prefix",
7963
7719
  "options": [],
7964
7720
  "value": {
7965
- "type": "boolean",
7721
+ "type": "string",
7966
7722
  "kind": "expression"
7967
7723
  }
7968
7724
  }
@@ -8124,29 +7880,273 @@
8124
7880
  }
8125
7881
  },
8126
7882
  {
8127
- "name": "close-on-popstate",
8128
- "default": "`false`",
8129
- "description": "Whether to close when popstate",
8130
- "options": [],
8131
- "value": {
8132
- "type": "boolean",
8133
- "kind": "expression"
8134
- }
7883
+ "name": "close-on-popstate",
7884
+ "default": "`false`",
7885
+ "description": "Whether to close when popstate",
7886
+ "options": [],
7887
+ "value": {
7888
+ "type": "boolean",
7889
+ "kind": "expression"
7890
+ }
7891
+ },
7892
+ {
7893
+ "name": "close-on-click-overlay",
7894
+ "default": "`true`",
7895
+ "description": "Whether to close when overlay is clicked",
7896
+ "options": [],
7897
+ "value": {
7898
+ "type": "boolean",
7899
+ "kind": "expression"
7900
+ }
7901
+ },
7902
+ {
7903
+ "name": "closeable",
7904
+ "default": "`false`",
7905
+ "description": "Whether to show close icon",
7906
+ "options": [],
7907
+ "value": {
7908
+ "type": "boolean",
7909
+ "kind": "expression"
7910
+ }
7911
+ },
7912
+ {
7913
+ "name": "close-icon",
7914
+ "default": "`cross`",
7915
+ "description": "Close icon name",
7916
+ "options": [],
7917
+ "value": {
7918
+ "type": "string",
7919
+ "kind": "expression"
7920
+ }
7921
+ },
7922
+ {
7923
+ "name": "close-icon-position",
7924
+ "default": "`top-right`",
7925
+ "description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
7926
+ "options": [],
7927
+ "value": {
7928
+ "type": "string",
7929
+ "kind": "expression"
7930
+ }
7931
+ },
7932
+ {
7933
+ "name": "before-close",
7934
+ "default": "-",
7935
+ "description": "Callback function before close",
7936
+ "options": [],
7937
+ "value": {
7938
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
7939
+ "kind": "expression"
7940
+ }
7941
+ },
7942
+ {
7943
+ "name": "icon-prefix",
7944
+ "default": "`van-icon`",
7945
+ "description": "Icon className prefix",
7946
+ "options": [],
7947
+ "value": {
7948
+ "type": "string",
7949
+ "kind": "expression"
7950
+ }
7951
+ },
7952
+ {
7953
+ "name": "transition",
7954
+ "default": "-",
7955
+ "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
7956
+ "options": [],
7957
+ "value": {
7958
+ "type": "string",
7959
+ "kind": "expression"
7960
+ }
7961
+ },
7962
+ {
7963
+ "name": "transition-appear",
7964
+ "default": "`false`",
7965
+ "description": "Whether to apply transition on initial render",
7966
+ "options": [],
7967
+ "value": {
7968
+ "type": "boolean",
7969
+ "kind": "expression"
7970
+ }
7971
+ },
7972
+ {
7973
+ "name": "teleport",
7974
+ "default": "-",
7975
+ "description": "Specifies a target element where Popup will be mounted",
7976
+ "options": [],
7977
+ "value": {
7978
+ "type": "string | Element",
7979
+ "kind": "expression"
7980
+ }
7981
+ },
7982
+ {
7983
+ "name": "safe-area-inset-top",
7984
+ "default": "`false`",
7985
+ "description": "Whether to enable top safe area adaptation",
7986
+ "options": [],
7987
+ "value": {
7988
+ "type": "boolean",
7989
+ "kind": "expression"
7990
+ }
7991
+ },
7992
+ {
7993
+ "name": "safe-area-inset-bottom",
7994
+ "default": "`false`",
7995
+ "description": "Whether to enable bottom safe area adaptation",
7996
+ "options": [],
7997
+ "value": {
7998
+ "type": "boolean",
7999
+ "kind": "expression"
8000
+ }
8001
+ }
8002
+ ]
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
+ {
8102
+ "name": "van-pull-refresh",
8103
+ "slots": [
8104
+ {
8105
+ "name": "default",
8106
+ "description": "Default slot"
8107
+ },
8108
+ {
8109
+ "name": "normal",
8110
+ "description": "Content of head when at normal status"
8111
+ },
8112
+ {
8113
+ "name": "pulling",
8114
+ "description": "Content of head when at pulling"
8115
+ },
8116
+ {
8117
+ "name": "loosing",
8118
+ "description": "Content of head when at loosing"
8135
8119
  },
8136
8120
  {
8137
- "name": "close-on-click-overlay",
8138
- "default": "`true`",
8139
- "description": "Whether to close when overlay is clicked",
8140
- "options": [],
8141
- "value": {
8142
- "type": "boolean",
8143
- "kind": "expression"
8144
- }
8121
+ "name": "loading",
8122
+ "description": "Content of head when at loading"
8145
8123
  },
8146
8124
  {
8147
- "name": "closeable",
8148
- "default": "`false`",
8149
- "description": "Whether to show close icon",
8125
+ "name": "success",
8126
+ "description": "Content of head when succeed"
8127
+ }
8128
+ ],
8129
+ "events": [
8130
+ {
8131
+ "name": "refresh",
8132
+ "description": "Emitted after pulling refresh",
8133
+ "arguments": []
8134
+ },
8135
+ {
8136
+ "name": "change",
8137
+ "description": "Emitted when draging or status changed",
8138
+ "arguments": [
8139
+ {
8140
+ "name": "{ status: string, distance: number }"
8141
+ }
8142
+ ]
8143
+ }
8144
+ ],
8145
+ "attributes": [
8146
+ {
8147
+ "name": "v-model",
8148
+ "default": "-",
8149
+ "description": "Loading status",
8150
8150
  "options": [],
8151
8151
  "value": {
8152
8152
  "type": "boolean",
@@ -8154,9 +8154,9 @@
8154
8154
  }
8155
8155
  },
8156
8156
  {
8157
- "name": "close-icon",
8158
- "default": "`cross`",
8159
- "description": "Close icon name",
8157
+ "name": "pulling-text",
8158
+ "default": "`Pull to refresh...`",
8159
+ "description": "Text to show when pulling",
8160
8160
  "options": [],
8161
8161
  "value": {
8162
8162
  "type": "string",
@@ -8164,9 +8164,9 @@
8164
8164
  }
8165
8165
  },
8166
8166
  {
8167
- "name": "close-icon-position",
8168
- "default": "`top-right`",
8169
- "description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
8167
+ "name": "loosing-text",
8168
+ "default": "`Loose to refresh...`",
8169
+ "description": "Text to show when loosing",
8170
8170
  "options": [],
8171
8171
  "value": {
8172
8172
  "type": "string",
@@ -8174,19 +8174,19 @@
8174
8174
  }
8175
8175
  },
8176
8176
  {
8177
- "name": "before-close",
8178
- "default": "-",
8179
- "description": "Callback function before close",
8177
+ "name": "loading-text",
8178
+ "default": "`Loading...`",
8179
+ "description": "Text to show when loading",
8180
8180
  "options": [],
8181
8181
  "value": {
8182
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
8182
+ "type": "string",
8183
8183
  "kind": "expression"
8184
8184
  }
8185
8185
  },
8186
8186
  {
8187
- "name": "icon-prefix",
8188
- "default": "`van-icon`",
8189
- "description": "Icon className prefix",
8187
+ "name": "success-text",
8188
+ "default": "-",
8189
+ "description": "Text to show when loading success",
8190
8190
  "options": [],
8191
8191
  "value": {
8192
8192
  "type": "string",
@@ -8194,49 +8194,49 @@
8194
8194
  }
8195
8195
  },
8196
8196
  {
8197
- "name": "transition",
8198
- "default": "-",
8199
- "description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
8197
+ "name": "success-duration",
8198
+ "default": "`500`",
8199
+ "description": "Success text display duration(ms)",
8200
8200
  "options": [],
8201
8201
  "value": {
8202
- "type": "string",
8202
+ "type": "number | string",
8203
8203
  "kind": "expression"
8204
8204
  }
8205
8205
  },
8206
8206
  {
8207
- "name": "transition-appear",
8208
- "default": "`false`",
8209
- "description": "Whether to apply transition on initial render",
8207
+ "name": "animation-duration",
8208
+ "default": "`300`",
8209
+ "description": "Animation duration",
8210
8210
  "options": [],
8211
8211
  "value": {
8212
- "type": "boolean",
8212
+ "type": "number | string",
8213
8213
  "kind": "expression"
8214
8214
  }
8215
8215
  },
8216
8216
  {
8217
- "name": "teleport",
8218
- "default": "-",
8219
- "description": "Specifies a target element where Popup will be mounted",
8217
+ "name": "head-height",
8218
+ "default": "`50`",
8219
+ "description": "Height of head",
8220
8220
  "options": [],
8221
8221
  "value": {
8222
- "type": "string | Element",
8222
+ "type": "number | string",
8223
8223
  "kind": "expression"
8224
8224
  }
8225
8225
  },
8226
8226
  {
8227
- "name": "safe-area-inset-top",
8228
- "default": "`false`",
8229
- "description": "Whether to enable top safe area adaptation",
8227
+ "name": "pull-distance",
8228
+ "default": "same as `head-height`",
8229
+ "description": "The distance to trigger the pull refresh",
8230
8230
  "options": [],
8231
8231
  "value": {
8232
- "type": "boolean",
8232
+ "type": "number | string",
8233
8233
  "kind": "expression"
8234
8234
  }
8235
8235
  },
8236
8236
  {
8237
- "name": "safe-area-inset-bottom",
8237
+ "name": "disabled",
8238
8238
  "default": "`false`",
8239
- "description": "Whether to enable bottom safe area adaptation",
8239
+ "description": "Whether to disable pull refresh",
8240
8240
  "options": [],
8241
8241
  "value": {
8242
8242
  "type": "boolean",
@@ -8829,162 +8829,21 @@
8829
8829
  "type": "boolean",
8830
8830
  "kind": "expression"
8831
8831
  }
8832
- },
8833
- {
8834
- "name": "readonly",
8835
- "default": "`false`",
8836
- "description": "Whether to be readonly",
8837
- "options": [],
8838
- "value": {
8839
- "type": "boolean",
8840
- "kind": "expression"
8841
- }
8842
- },
8843
- {
8844
- "name": "error",
8845
- "default": "`false`",
8846
- "description": "Whether to mark the input content in red",
8847
- "options": [],
8848
- "value": {
8849
- "type": "boolean",
8850
- "kind": "expression"
8851
- }
8852
- },
8853
- {
8854
- "name": "error-message",
8855
- "default": "-",
8856
- "description": "Error message",
8857
- "options": [],
8858
- "value": {
8859
- "type": "string",
8860
- "kind": "expression"
8861
- }
8862
- },
8863
- {
8864
- "name": "formatter",
8865
- "default": "-",
8866
- "description": "Input value formatter",
8867
- "options": [],
8868
- "value": {
8869
- "type": "(val: string) => string",
8870
- "kind": "expression"
8871
- }
8872
- },
8873
- {
8874
- "name": "format-trigger",
8875
- "default": "`onChange`",
8876
- "description": "When to format value, can be set to `onBlur`",
8877
- "options": [],
8878
- "value": {
8879
- "type": "string",
8880
- "kind": "expression"
8881
- }
8882
- },
8883
- {
8884
- "name": "input-align",
8885
- "default": "`left`",
8886
- "description": "Text align of field, can be set to `center` `right`",
8887
- "options": [],
8888
- "value": {
8889
- "type": "string",
8890
- "kind": "expression"
8891
- }
8892
- },
8893
- {
8894
- "name": "left-icon",
8895
- "default": "`search`",
8896
- "description": "Left icon name",
8897
- "options": [],
8898
- "value": {
8899
- "type": "string",
8900
- "kind": "expression"
8901
- }
8902
- },
8903
- {
8904
- "name": "right-icon",
8905
- "default": "-",
8906
- "description": "Right icon name",
8907
- "options": [],
8908
- "value": {
8909
- "type": "string",
8910
- "kind": "expression"
8911
- }
8912
- },
8913
- {
8914
- "name": "autocomplete",
8915
- "default": "-",
8916
- "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
8917
- "options": [],
8918
- "value": {
8919
- "type": "string",
8920
- "kind": "expression"
8921
- }
8922
- }
8923
- ]
8924
- },
8925
- {
8926
- "name": "van-sidebar",
8927
- "slots": [],
8928
- "events": [
8929
- {
8930
- "name": "change",
8931
- "description": "Emitted when chosen item changed",
8932
- "arguments": [
8933
- {
8934
- "name": "index",
8935
- "type": "number"
8936
- }
8937
- ]
8938
- }
8939
- ],
8940
- "attributes": [
8941
- {
8942
- "name": "v-model",
8943
- "default": "`0`",
8944
- "description": "Index of chosen item",
8945
- "options": [],
8946
- "value": {
8947
- "type": "number | string",
8948
- "kind": "expression"
8949
- }
8950
- }
8951
- ]
8952
- },
8953
- {
8954
- "name": "van-sidebar-item",
8955
- "slots": [
8956
- {
8957
- "name": "title",
8958
- "description": "Custom item title"
8959
- }
8960
- ],
8961
- "events": [
8962
- {
8963
- "name": "click",
8964
- "description": "Emitted when an item is clicked",
8965
- "arguments": [
8966
- {
8967
- "name": "index",
8968
- "type": "number"
8969
- }
8970
- ]
8971
- }
8972
- ],
8973
- "attributes": [
8974
- {
8975
- "name": "title",
8976
- "default": "`''`",
8977
- "description": "Content",
8832
+ },
8833
+ {
8834
+ "name": "readonly",
8835
+ "default": "`false`",
8836
+ "description": "Whether to be readonly",
8978
8837
  "options": [],
8979
8838
  "value": {
8980
- "type": "string",
8839
+ "type": "boolean",
8981
8840
  "kind": "expression"
8982
8841
  }
8983
8842
  },
8984
8843
  {
8985
- "name": "dot",
8844
+ "name": "error",
8986
8845
  "default": "`false`",
8987
- "description": "Whether to show red dot",
8846
+ "description": "Whether to mark the input content in red",
8988
8847
  "options": [],
8989
8848
  "value": {
8990
8849
  "type": "boolean",
@@ -8992,39 +8851,39 @@
8992
8851
  }
8993
8852
  },
8994
8853
  {
8995
- "name": "badge",
8996
- "default": "`''`",
8997
- "description": "Content of the badge",
8854
+ "name": "error-message",
8855
+ "default": "-",
8856
+ "description": "Error message",
8998
8857
  "options": [],
8999
8858
  "value": {
9000
- "type": "number | string",
8859
+ "type": "string",
9001
8860
  "kind": "expression"
9002
8861
  }
9003
8862
  },
9004
8863
  {
9005
- "name": "badge-props",
8864
+ "name": "formatter",
9006
8865
  "default": "-",
9007
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
8866
+ "description": "Input value formatter",
9008
8867
  "options": [],
9009
8868
  "value": {
9010
- "type": "BadgeProps",
8869
+ "type": "(val: string) => string",
9011
8870
  "kind": "expression"
9012
8871
  }
9013
8872
  },
9014
8873
  {
9015
- "name": "disabled",
9016
- "default": "`false`",
9017
- "description": "Whether to be disabled",
8874
+ "name": "format-trigger",
8875
+ "default": "`onChange`",
8876
+ "description": "When to format value, can be set to `onBlur`",
9018
8877
  "options": [],
9019
8878
  "value": {
9020
- "type": "boolean",
8879
+ "type": "string",
9021
8880
  "kind": "expression"
9022
8881
  }
9023
8882
  },
9024
8883
  {
9025
- "name": "url",
9026
- "default": "-",
9027
- "description": "Link",
8884
+ "name": "input-align",
8885
+ "default": "`left`",
8886
+ "description": "Text align of field, can be set to `center` `right`",
9028
8887
  "options": [],
9029
8888
  "value": {
9030
8889
  "type": "string",
@@ -9032,22 +8891,32 @@
9032
8891
  }
9033
8892
  },
9034
8893
  {
9035
- "name": "to",
8894
+ "name": "left-icon",
8895
+ "default": "`search`",
8896
+ "description": "Left icon name",
8897
+ "options": [],
8898
+ "value": {
8899
+ "type": "string",
8900
+ "kind": "expression"
8901
+ }
8902
+ },
8903
+ {
8904
+ "name": "right-icon",
9036
8905
  "default": "-",
9037
- "description": "Target route of the link, same as to of vue-router",
8906
+ "description": "Right icon name",
9038
8907
  "options": [],
9039
8908
  "value": {
9040
- "type": "string | object",
8909
+ "type": "string",
9041
8910
  "kind": "expression"
9042
8911
  }
9043
8912
  },
9044
8913
  {
9045
- "name": "replace",
9046
- "default": "`false`",
9047
- "description": "If true, the navigation will not leave a history record",
8914
+ "name": "autocomplete",
8915
+ "default": "-",
8916
+ "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
9048
8917
  "options": [],
9049
8918
  "value": {
9050
- "type": "boolean",
8919
+ "type": "string",
9051
8920
  "kind": "expression"
9052
8921
  }
9053
8922
  }
@@ -9293,6 +9162,137 @@
9293
9162
  }
9294
9163
  ]
9295
9164
  },
9165
+ {
9166
+ "name": "van-sidebar",
9167
+ "slots": [],
9168
+ "events": [
9169
+ {
9170
+ "name": "change",
9171
+ "description": "Emitted when chosen item changed",
9172
+ "arguments": [
9173
+ {
9174
+ "name": "index",
9175
+ "type": "number"
9176
+ }
9177
+ ]
9178
+ }
9179
+ ],
9180
+ "attributes": [
9181
+ {
9182
+ "name": "v-model",
9183
+ "default": "`0`",
9184
+ "description": "Index of chosen item",
9185
+ "options": [],
9186
+ "value": {
9187
+ "type": "number | string",
9188
+ "kind": "expression"
9189
+ }
9190
+ }
9191
+ ]
9192
+ },
9193
+ {
9194
+ "name": "van-sidebar-item",
9195
+ "slots": [
9196
+ {
9197
+ "name": "title",
9198
+ "description": "Custom item title"
9199
+ }
9200
+ ],
9201
+ "events": [
9202
+ {
9203
+ "name": "click",
9204
+ "description": "Emitted when an item is clicked",
9205
+ "arguments": [
9206
+ {
9207
+ "name": "index",
9208
+ "type": "number"
9209
+ }
9210
+ ]
9211
+ }
9212
+ ],
9213
+ "attributes": [
9214
+ {
9215
+ "name": "title",
9216
+ "default": "`''`",
9217
+ "description": "Content",
9218
+ "options": [],
9219
+ "value": {
9220
+ "type": "string",
9221
+ "kind": "expression"
9222
+ }
9223
+ },
9224
+ {
9225
+ "name": "dot",
9226
+ "default": "`false`",
9227
+ "description": "Whether to show red dot",
9228
+ "options": [],
9229
+ "value": {
9230
+ "type": "boolean",
9231
+ "kind": "expression"
9232
+ }
9233
+ },
9234
+ {
9235
+ "name": "badge",
9236
+ "default": "`''`",
9237
+ "description": "Content of the badge",
9238
+ "options": [],
9239
+ "value": {
9240
+ "type": "number | string",
9241
+ "kind": "expression"
9242
+ }
9243
+ },
9244
+ {
9245
+ "name": "badge-props",
9246
+ "default": "-",
9247
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
9248
+ "options": [],
9249
+ "value": {
9250
+ "type": "BadgeProps",
9251
+ "kind": "expression"
9252
+ }
9253
+ },
9254
+ {
9255
+ "name": "disabled",
9256
+ "default": "`false`",
9257
+ "description": "Whether to be disabled",
9258
+ "options": [],
9259
+ "value": {
9260
+ "type": "boolean",
9261
+ "kind": "expression"
9262
+ }
9263
+ },
9264
+ {
9265
+ "name": "url",
9266
+ "default": "-",
9267
+ "description": "Link",
9268
+ "options": [],
9269
+ "value": {
9270
+ "type": "string",
9271
+ "kind": "expression"
9272
+ }
9273
+ },
9274
+ {
9275
+ "name": "to",
9276
+ "default": "-",
9277
+ "description": "Target route of the link, same as to of vue-router",
9278
+ "options": [],
9279
+ "value": {
9280
+ "type": "string | object",
9281
+ "kind": "expression"
9282
+ }
9283
+ },
9284
+ {
9285
+ "name": "replace",
9286
+ "default": "`false`",
9287
+ "description": "If true, the navigation will not leave a history record",
9288
+ "options": [],
9289
+ "value": {
9290
+ "type": "boolean",
9291
+ "kind": "expression"
9292
+ }
9293
+ }
9294
+ ]
9295
+ },
9296
9296
  {
9297
9297
  "name": "van-skeleton",
9298
9298
  "slots": [],
@@ -9374,27 +9374,89 @@
9374
9374
  "description": "Title width",
9375
9375
  "options": [],
9376
9376
  "value": {
9377
- "type": "number | string",
9377
+ "type": "number | string",
9378
+ "kind": "expression"
9379
+ }
9380
+ },
9381
+ {
9382
+ "name": "avatar-size",
9383
+ "default": "`32px`",
9384
+ "description": "Size of avatar placeholder",
9385
+ "options": [],
9386
+ "value": {
9387
+ "type": "number | string",
9388
+ "kind": "expression"
9389
+ }
9390
+ },
9391
+ {
9392
+ "name": "avatar-shape",
9393
+ "default": "`round`",
9394
+ "description": "Shape of avatar placeholder, can be set to `square`",
9395
+ "options": [],
9396
+ "value": {
9397
+ "type": "string",
9398
+ "kind": "expression"
9399
+ }
9400
+ }
9401
+ ]
9402
+ },
9403
+ {
9404
+ "name": "van-space",
9405
+ "slots": [
9406
+ {
9407
+ "name": "default",
9408
+ "description": "Default slot"
9409
+ }
9410
+ ],
9411
+ "events": [],
9412
+ "attributes": [
9413
+ {
9414
+ "name": "direction",
9415
+ "default": "`horizontal`",
9416
+ "description": "Spacing direction",
9417
+ "options": [],
9418
+ "value": {
9419
+ "type": "vertical | horizontal",
9420
+ "kind": "expression"
9421
+ }
9422
+ },
9423
+ {
9424
+ "name": "size",
9425
+ "default": "`8px`",
9426
+ "description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
9427
+ "options": [],
9428
+ "value": {
9429
+ "type": "number | string | number[] | string[]",
9430
+ "kind": "expression"
9431
+ }
9432
+ },
9433
+ {
9434
+ "name": "align",
9435
+ "default": "-",
9436
+ "description": "Spacing alignment",
9437
+ "options": [],
9438
+ "value": {
9439
+ "type": "start | end | center | baseline",
9378
9440
  "kind": "expression"
9379
9441
  }
9380
9442
  },
9381
9443
  {
9382
- "name": "avatar-size",
9383
- "default": "`32px`",
9384
- "description": "Size of avatar placeholder",
9444
+ "name": "wrap",
9445
+ "default": "`false`",
9446
+ "description": "Whether to wrap automatically, only for horizontal alignment",
9385
9447
  "options": [],
9386
9448
  "value": {
9387
- "type": "number | string",
9449
+ "type": "boolean",
9388
9450
  "kind": "expression"
9389
9451
  }
9390
9452
  },
9391
9453
  {
9392
- "name": "avatar-shape",
9393
- "default": "`round`",
9394
- "description": "Shape of avatar placeholder, can be set to `square`",
9454
+ "name": "fill",
9455
+ "default": "`false`",
9456
+ "description": "Whether to render Space as a block element and fill the parent element",
9395
9457
  "options": [],
9396
9458
  "value": {
9397
- "type": "string",
9459
+ "type": "boolean",
9398
9460
  "kind": "expression"
9399
9461
  }
9400
9462
  }
@@ -9590,68 +9652,6 @@
9590
9652
  }
9591
9653
  ]
9592
9654
  },
9593
- {
9594
- "name": "van-space",
9595
- "slots": [
9596
- {
9597
- "name": "default",
9598
- "description": "Default slot"
9599
- }
9600
- ],
9601
- "events": [],
9602
- "attributes": [
9603
- {
9604
- "name": "direction",
9605
- "default": "`horizontal`",
9606
- "description": "Spacing direction",
9607
- "options": [],
9608
- "value": {
9609
- "type": "vertical | horizontal",
9610
- "kind": "expression"
9611
- }
9612
- },
9613
- {
9614
- "name": "size",
9615
- "default": "`8px`",
9616
- "description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
9617
- "options": [],
9618
- "value": {
9619
- "type": "number | string | number[] | string[]",
9620
- "kind": "expression"
9621
- }
9622
- },
9623
- {
9624
- "name": "align",
9625
- "default": "-",
9626
- "description": "Spacing alignment",
9627
- "options": [],
9628
- "value": {
9629
- "type": "start | end | center | baseline",
9630
- "kind": "expression"
9631
- }
9632
- },
9633
- {
9634
- "name": "wrap",
9635
- "default": "`false`",
9636
- "description": "Whether to wrap automatically, only for horizontal alignment",
9637
- "options": [],
9638
- "value": {
9639
- "type": "boolean",
9640
- "kind": "expression"
9641
- }
9642
- },
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
- }
9652
- }
9653
- ]
9654
- },
9655
9655
  {
9656
9656
  "name": "van-stepper",
9657
9657
  "slots": [],
@@ -9929,83 +9929,6 @@
9929
9929
  }
9930
9930
  ]
9931
9931
  },
9932
- {
9933
- "name": "van-sticky",
9934
- "slots": [],
9935
- "events": [
9936
- {
9937
- "name": "change",
9938
- "description": "Emitted when sticky status changed",
9939
- "arguments": [
9940
- {
9941
- "name": "isFixed",
9942
- "type": "boolean"
9943
- }
9944
- ]
9945
- },
9946
- {
9947
- "name": "scroll",
9948
- "description": "Emitted when scrolling",
9949
- "arguments": [
9950
- {
9951
- "name": "{ scrollTop: number, isFixed: boolean }"
9952
- }
9953
- ]
9954
- }
9955
- ],
9956
- "attributes": [
9957
- {
9958
- "name": "position",
9959
- "default": "`top`",
9960
- "description": "Offset position, can be set to `bottom`",
9961
- "options": [],
9962
- "value": {
9963
- "type": "string",
9964
- "kind": "expression"
9965
- }
9966
- },
9967
- {
9968
- "name": "offset-top",
9969
- "default": "`0`",
9970
- "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
9971
- "options": [],
9972
- "value": {
9973
- "type": "number | string",
9974
- "kind": "expression"
9975
- }
9976
- },
9977
- {
9978
- "name": "offset-bottom",
9979
- "default": "`0`",
9980
- "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
9981
- "options": [],
9982
- "value": {
9983
- "type": "number | string",
9984
- "kind": "expression"
9985
- }
9986
- },
9987
- {
9988
- "name": "z-index",
9989
- "default": "`99`",
9990
- "description": "z-index when sticky",
9991
- "options": [],
9992
- "value": {
9993
- "type": "number | string",
9994
- "kind": "expression"
9995
- }
9996
- },
9997
- {
9998
- "name": "container",
9999
- "default": "-",
10000
- "description": "Container DOM",
10001
- "options": [],
10002
- "value": {
10003
- "type": "Element",
10004
- "kind": "expression"
10005
- }
10006
- }
10007
- ]
10008
- },
10009
9932
  {
10010
9933
  "name": "van-steps",
10011
9934
  "slots": [],
@@ -10088,45 +10011,122 @@
10088
10011
  "description": "Finish icon name",
10089
10012
  "options": [],
10090
10013
  "value": {
10091
- "type": "string",
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
+ {
10054
+ "name": "van-sticky",
10055
+ "slots": [],
10056
+ "events": [
10057
+ {
10058
+ "name": "change",
10059
+ "description": "Emitted when sticky status changed",
10060
+ "arguments": [
10061
+ {
10062
+ "name": "isFixed",
10063
+ "type": "boolean"
10064
+ }
10065
+ ]
10066
+ },
10067
+ {
10068
+ "name": "scroll",
10069
+ "description": "Emitted when scrolling",
10070
+ "arguments": [
10071
+ {
10072
+ "name": "{ scrollTop: number, isFixed: boolean }"
10073
+ }
10074
+ ]
10075
+ }
10076
+ ],
10077
+ "attributes": [
10078
+ {
10079
+ "name": "position",
10080
+ "default": "`top`",
10081
+ "description": "Offset position, can be set to `bottom`",
10082
+ "options": [],
10083
+ "value": {
10084
+ "type": "string",
10085
+ "kind": "expression"
10086
+ }
10087
+ },
10088
+ {
10089
+ "name": "offset-top",
10090
+ "default": "`0`",
10091
+ "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
10092
+ "options": [],
10093
+ "value": {
10094
+ "type": "number | string",
10095
+ "kind": "expression"
10096
+ }
10097
+ },
10098
+ {
10099
+ "name": "offset-bottom",
10100
+ "default": "`0`",
10101
+ "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
10102
+ "options": [],
10103
+ "value": {
10104
+ "type": "number | string",
10105
+ "kind": "expression"
10106
+ }
10107
+ },
10108
+ {
10109
+ "name": "z-index",
10110
+ "default": "`99`",
10111
+ "description": "z-index when sticky",
10112
+ "options": [],
10113
+ "value": {
10114
+ "type": "number | string",
10092
10115
  "kind": "expression"
10093
10116
  }
10094
10117
  },
10095
10118
  {
10096
- "name": "icon-prefix",
10097
- "default": "`van-icon`",
10098
- "description": "Icon className prefix",
10119
+ "name": "container",
10120
+ "default": "-",
10121
+ "description": "Container DOM",
10099
10122
  "options": [],
10100
10123
  "value": {
10101
- "type": "string",
10124
+ "type": "Element",
10102
10125
  "kind": "expression"
10103
10126
  }
10104
10127
  }
10105
10128
  ]
10106
10129
  },
10107
- {
10108
- "name": "van-step",
10109
- "slots": [
10110
- {
10111
- "name": "default",
10112
- "description": "Step content"
10113
- },
10114
- {
10115
- "name": "active-icon",
10116
- "description": "Custom active icon"
10117
- },
10118
- {
10119
- "name": "inactive-icon",
10120
- "description": "Custom inactive icon"
10121
- },
10122
- {
10123
- "name": "finish-icon",
10124
- "description": "Custom finish icon"
10125
- }
10126
- ],
10127
- "events": [],
10128
- "attributes": []
10129
- },
10130
10130
  {
10131
10131
  "name": "van-submit-bar",
10132
10132
  "slots": [
@@ -10307,6 +10307,117 @@
10307
10307
  }
10308
10308
  ]
10309
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",
10393
+ "options": [],
10394
+ "value": {
10395
+ "type": "(args) => boolean | Promise\\<boolean\\>",
10396
+ "kind": "expression"
10397
+ }
10398
+ },
10399
+ {
10400
+ "name": "disabled",
10401
+ "default": "`false`",
10402
+ "description": "Whether to disabled swipe",
10403
+ "options": [],
10404
+ "value": {
10405
+ "type": "boolean",
10406
+ "kind": "expression"
10407
+ }
10408
+ },
10409
+ {
10410
+ "name": "stop-propagation",
10411
+ "default": "`false`",
10412
+ "description": "Whether to stop touchmove event propagation",
10413
+ "options": [],
10414
+ "value": {
10415
+ "type": "boolean",
10416
+ "kind": "expression"
10417
+ }
10418
+ }
10419
+ ]
10420
+ },
10310
10421
  {
10311
10422
  "name": "van-swipe",
10312
10423
  "slots": [
@@ -10471,117 +10582,6 @@
10471
10582
  ],
10472
10583
  "attributes": []
10473
10584
  },
10474
- {
10475
- "name": "van-swipe-cell",
10476
- "slots": [
10477
- {
10478
- "name": "default",
10479
- "description": "custom content"
10480
- },
10481
- {
10482
- "name": "left",
10483
- "description": "content of left scrollable area"
10484
- },
10485
- {
10486
- "name": "right",
10487
- "description": "content of right scrollable area"
10488
- }
10489
- ],
10490
- "events": [
10491
- {
10492
- "name": "click",
10493
- "description": "Emitted when SwipeCell is clicked",
10494
- "arguments": [
10495
- {
10496
- "name": "position",
10497
- "type": "'left' | 'right' | 'cell' | 'outside'"
10498
- }
10499
- ]
10500
- },
10501
- {
10502
- "name": "open",
10503
- "description": "Emitted when SwipeCell is opened",
10504
- "arguments": [
10505
- {
10506
- "name": "value",
10507
- "type": "{ name: string | number, position: 'left' | 'right' }"
10508
- }
10509
- ]
10510
- },
10511
- {
10512
- "name": "close",
10513
- "description": "Emitted when SwipeCell is closed",
10514
- "arguments": [
10515
- {
10516
- "name": "value",
10517
- "type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
10518
- }
10519
- ]
10520
- }
10521
- ],
10522
- "attributes": [
10523
- {
10524
- "name": "name",
10525
- "default": "-",
10526
- "description": "Identifier of SwipeCell, usually a unique string or number",
10527
- "options": [],
10528
- "value": {
10529
- "type": "number | string",
10530
- "kind": "expression"
10531
- }
10532
- },
10533
- {
10534
- "name": "left-width",
10535
- "default": "`auto`",
10536
- "description": "Width of the left swipe area",
10537
- "options": [],
10538
- "value": {
10539
- "type": "number | string",
10540
- "kind": "expression"
10541
- }
10542
- },
10543
- {
10544
- "name": "right-width",
10545
- "default": "`auto`",
10546
- "description": "Width of the right swipe area",
10547
- "options": [],
10548
- "value": {
10549
- "type": "number | string",
10550
- "kind": "expression"
10551
- }
10552
- },
10553
- {
10554
- "name": "before-close",
10555
- "default": "-",
10556
- "description": "Callback function before close",
10557
- "options": [],
10558
- "value": {
10559
- "type": "(args) => boolean | Promise\\<boolean\\>",
10560
- "kind": "expression"
10561
- }
10562
- },
10563
- {
10564
- "name": "disabled",
10565
- "default": "`false`",
10566
- "description": "Whether to disabled swipe",
10567
- "options": [],
10568
- "value": {
10569
- "type": "boolean",
10570
- "kind": "expression"
10571
- }
10572
- },
10573
- {
10574
- "name": "stop-propagation",
10575
- "default": "`false`",
10576
- "description": "Whether to stop touchmove event propagation",
10577
- "options": [],
10578
- "value": {
10579
- "type": "boolean",
10580
- "kind": "expression"
10581
- }
10582
- }
10583
- ]
10584
- },
10585
10585
  {
10586
10586
  "name": "van-switch",
10587
10587
  "slots": [