vant 2.12.38 → 2.12.39

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": "2.12.38",
5
+ "version": "2.12.39",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -253,204 +253,6 @@
253
253
  }
254
254
  ]
255
255
  },
256
- {
257
- "name": "van-action-sheet",
258
- "slots": [
259
- {
260
- "name": "default",
261
- "description": "自定义面板的展示内容"
262
- },
263
- {
264
- "name": "description",
265
- "description": "自定义描述文案"
266
- }
267
- ],
268
- "events": [
269
- {
270
- "name": "select",
271
- "description": "点击选项时触发,禁用或加载状态下不会触发"
272
- },
273
- {
274
- "name": "cancel",
275
- "description": "点击取消按钮时触发"
276
- },
277
- {
278
- "name": "open",
279
- "description": "打开面板时触发"
280
- },
281
- {
282
- "name": "close",
283
- "description": "关闭面板时触发"
284
- },
285
- {
286
- "name": "opened",
287
- "description": "打开面板且动画结束后触发"
288
- },
289
- {
290
- "name": "closed",
291
- "description": "关闭面板且动画结束后触发"
292
- },
293
- {
294
- "name": "click-overlay",
295
- "description": "点击遮罩层时触发"
296
- }
297
- ],
298
- "attributes": [
299
- {
300
- "name": "v-model (value)",
301
- "default": "`false`",
302
- "description": "是否显示动作面板",
303
- "value": {
304
- "type": "boolean",
305
- "kind": "expression"
306
- }
307
- },
308
- {
309
- "name": "actions",
310
- "default": "`[]`",
311
- "description": "面板选项列表",
312
- "value": {
313
- "type": "Action[]",
314
- "kind": "expression"
315
- }
316
- },
317
- {
318
- "name": "title",
319
- "default": "-",
320
- "description": "顶部标题",
321
- "value": {
322
- "type": "string",
323
- "kind": "expression"
324
- }
325
- },
326
- {
327
- "name": "cancel-text",
328
- "default": "-",
329
- "description": "取消按钮文字",
330
- "value": {
331
- "type": "string",
332
- "kind": "expression"
333
- }
334
- },
335
- {
336
- "name": "description",
337
- "default": "-",
338
- "description": "选项上方的描述信息",
339
- "value": {
340
- "type": "string",
341
- "kind": "expression"
342
- }
343
- },
344
- {
345
- "name": "closeable",
346
- "default": "`true`",
347
- "description": "是否显示关闭图标",
348
- "value": {
349
- "type": "boolean",
350
- "kind": "expression"
351
- }
352
- },
353
- {
354
- "name": "close-icon",
355
- "default": "`cross`",
356
- "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
357
- "value": {
358
- "type": "string",
359
- "kind": "expression"
360
- }
361
- },
362
- {
363
- "name": "duration",
364
- "default": "`0.3`",
365
- "description": "动画时长,单位秒",
366
- "value": {
367
- "type": "number | string",
368
- "kind": "expression"
369
- }
370
- },
371
- {
372
- "name": "round",
373
- "default": "`true`",
374
- "description": "是否显示圆角",
375
- "value": {
376
- "type": "boolean",
377
- "kind": "expression"
378
- }
379
- },
380
- {
381
- "name": "overlay",
382
- "default": "`true`",
383
- "description": "是否显示遮罩层",
384
- "value": {
385
- "type": "boolean",
386
- "kind": "expression"
387
- }
388
- },
389
- {
390
- "name": "lock-scroll",
391
- "default": "`true`",
392
- "description": "是否锁定背景滚动",
393
- "value": {
394
- "type": "boolean",
395
- "kind": "expression"
396
- }
397
- },
398
- {
399
- "name": "lazy-render",
400
- "default": "`true`",
401
- "description": "是否在显示弹层时才渲染节点",
402
- "value": {
403
- "type": "boolean",
404
- "kind": "expression"
405
- }
406
- },
407
- {
408
- "name": "close-on-popstate",
409
- "default": "`false`",
410
- "description": "是否在页面回退时自动关闭",
411
- "value": {
412
- "type": "boolean",
413
- "kind": "expression"
414
- }
415
- },
416
- {
417
- "name": "close-on-click-action",
418
- "default": "`false`",
419
- "description": "是否在点击选项后关闭",
420
- "value": {
421
- "type": "boolean",
422
- "kind": "expression"
423
- }
424
- },
425
- {
426
- "name": "close-on-click-overlay",
427
- "default": "`true`",
428
- "description": "是否在点击遮罩层后关闭",
429
- "value": {
430
- "type": "boolean",
431
- "kind": "expression"
432
- }
433
- },
434
- {
435
- "name": "safe-area-inset-bottom",
436
- "default": "`true`",
437
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
438
- "value": {
439
- "type": "boolean",
440
- "kind": "expression"
441
- }
442
- },
443
- {
444
- "name": "get-container",
445
- "default": "-",
446
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
447
- "value": {
448
- "type": "string | () => Element",
449
- "kind": "expression"
450
- }
451
- }
452
- ]
453
- },
454
256
  {
455
257
  "name": "van-address-list",
456
258
  "slots": [
@@ -1341,44 +1143,136 @@
1341
1143
  ]
1342
1144
  },
1343
1145
  {
1344
- "name": "van-card",
1146
+ "name": "van-cascader",
1345
1147
  "slots": [
1346
1148
  {
1347
1149
  "name": "title",
1348
- "description": "自定义标题"
1150
+ "description": "自定义顶部标题"
1349
1151
  },
1350
1152
  {
1351
- "name": "desc",
1352
- "description": "自定义描述"
1353
- },
1153
+ "name": "option",
1154
+ "description": "自定义选项文字"
1155
+ }
1156
+ ],
1157
+ "events": [
1354
1158
  {
1355
- "name": "num",
1356
- "description": "自定义数量"
1159
+ "name": "change",
1160
+ "description": "选中项变化时触发"
1357
1161
  },
1358
1162
  {
1359
- "name": "price",
1360
- "description": "自定义价格"
1163
+ "name": "finish",
1164
+ "description": "全部选项选择完成后触发"
1361
1165
  },
1362
1166
  {
1363
- "name": "origin-price",
1364
- "description": "自定义商品原价"
1365
- },
1167
+ "name": "close",
1168
+ "description": "点击关闭图标时触发"
1169
+ }
1170
+ ],
1171
+ "attributes": [
1366
1172
  {
1367
- "name": "price-top",
1368
- "description": "自定义价格上方区域"
1173
+ "name": "title",
1174
+ "default": "-",
1175
+ "description": "顶部标题",
1176
+ "value": {
1177
+ "type": "string",
1178
+ "kind": "expression"
1179
+ }
1369
1180
  },
1370
1181
  {
1371
- "name": "bottom",
1372
- "description": "自定义价格下方区域"
1182
+ "name": "value",
1183
+ "default": "-",
1184
+ "description": "选中项的值",
1185
+ "value": {
1186
+ "type": "string | number",
1187
+ "kind": "expression"
1188
+ }
1373
1189
  },
1374
1190
  {
1375
- "name": "thumb",
1376
- "description": "自定义图片"
1191
+ "name": "options",
1192
+ "default": "`[]`",
1193
+ "description": "可选项数据源",
1194
+ "value": {
1195
+ "type": "Option[]",
1196
+ "kind": "expression"
1197
+ }
1377
1198
  },
1378
1199
  {
1379
- "name": "tag",
1380
- "description": "自定义图片角标"
1381
- },
1200
+ "name": "placeholder",
1201
+ "default": "`请选择`",
1202
+ "description": "未选中时的提示文案",
1203
+ "value": {
1204
+ "type": "string",
1205
+ "kind": "expression"
1206
+ }
1207
+ },
1208
+ {
1209
+ "name": "active-color",
1210
+ "default": "`#ee0a24`",
1211
+ "description": "选中状态的高亮颜色",
1212
+ "value": {
1213
+ "type": "string",
1214
+ "kind": "expression"
1215
+ }
1216
+ },
1217
+ {
1218
+ "name": "closeable",
1219
+ "default": "`true`",
1220
+ "description": "是否显示关闭图标",
1221
+ "value": {
1222
+ "type": "boolean",
1223
+ "kind": "expression"
1224
+ }
1225
+ },
1226
+ {
1227
+ "name": "field-names",
1228
+ "default": "`{ text: 'text', value: 'value', children: 'children' }`",
1229
+ "description": "自定义 `options` 结构中的字段",
1230
+ "value": {
1231
+ "type": "object",
1232
+ "kind": "expression"
1233
+ }
1234
+ }
1235
+ ]
1236
+ },
1237
+ {
1238
+ "name": "van-card",
1239
+ "slots": [
1240
+ {
1241
+ "name": "title",
1242
+ "description": "自定义标题"
1243
+ },
1244
+ {
1245
+ "name": "desc",
1246
+ "description": "自定义描述"
1247
+ },
1248
+ {
1249
+ "name": "num",
1250
+ "description": "自定义数量"
1251
+ },
1252
+ {
1253
+ "name": "price",
1254
+ "description": "自定义价格"
1255
+ },
1256
+ {
1257
+ "name": "origin-price",
1258
+ "description": "自定义商品原价"
1259
+ },
1260
+ {
1261
+ "name": "price-top",
1262
+ "description": "自定义价格上方区域"
1263
+ },
1264
+ {
1265
+ "name": "bottom",
1266
+ "description": "自定义价格下方区域"
1267
+ },
1268
+ {
1269
+ "name": "thumb",
1270
+ "description": "自定义图片"
1271
+ },
1272
+ {
1273
+ "name": "tag",
1274
+ "description": "自定义图片角标"
1275
+ },
1382
1276
  {
1383
1277
  "name": "tags",
1384
1278
  "description": "自定义描述下方标签区域"
@@ -1501,334 +1395,440 @@
1501
1395
  ]
1502
1396
  },
1503
1397
  {
1504
- "name": "van-cascader",
1398
+ "name": "van-cell-group",
1505
1399
  "slots": [
1506
1400
  {
1507
- "name": "title",
1508
- "description": "自定义顶部标题"
1401
+ "name": "default",
1402
+ "description": "默认插槽"
1509
1403
  },
1510
1404
  {
1511
- "name": "option",
1512
- "description": "自定义选项文字"
1405
+ "name": "title",
1406
+ "description": "自定义分组标题"
1513
1407
  }
1514
1408
  ],
1515
- "events": [
1409
+ "events": [],
1410
+ "attributes": [
1516
1411
  {
1517
- "name": "change",
1518
- "description": "选中项变化时触发"
1412
+ "name": "title",
1413
+ "default": "`-`",
1414
+ "description": "分组标题",
1415
+ "value": {
1416
+ "type": "string",
1417
+ "kind": "expression"
1418
+ }
1519
1419
  },
1520
1420
  {
1521
- "name": "finish",
1522
- "description": "全部选项选择完成后触发"
1421
+ "name": "border",
1422
+ "default": "`true`",
1423
+ "description": "是否显示外边框",
1424
+ "value": {
1425
+ "type": "boolean",
1426
+ "kind": "expression"
1427
+ }
1428
+ }
1429
+ ]
1430
+ },
1431
+ {
1432
+ "name": "van-cell",
1433
+ "slots": [
1434
+ {
1435
+ "name": "default",
1436
+ "description": "自定义右侧 value 的内容"
1523
1437
  },
1524
1438
  {
1525
- "name": "close",
1526
- "description": "点击关闭图标时触发"
1439
+ "name": "title",
1440
+ "description": "自定义左侧 title 的内容"
1441
+ },
1442
+ {
1443
+ "name": "label",
1444
+ "description": "自定义标题下方 label 的内容"
1445
+ },
1446
+ {
1447
+ "name": "icon",
1448
+ "description": "自定义左侧图标"
1449
+ },
1450
+ {
1451
+ "name": "right-icon",
1452
+ "description": "自定义右侧按钮,默认为`arrow`"
1453
+ },
1454
+ {
1455
+ "name": "extra",
1456
+ "description": "自定义单元格最右侧的额外内容"
1457
+ }
1458
+ ],
1459
+ "events": [
1460
+ {
1461
+ "name": "click",
1462
+ "description": "点击单元格时触发"
1527
1463
  }
1528
1464
  ],
1529
1465
  "attributes": [
1530
1466
  {
1531
1467
  "name": "title",
1532
1468
  "default": "-",
1533
- "description": "顶部标题",
1469
+ "description": "左侧标题",
1534
1470
  "value": {
1535
- "type": "string",
1471
+ "type": "number | string",
1536
1472
  "kind": "expression"
1537
1473
  }
1538
1474
  },
1539
1475
  {
1540
1476
  "name": "value",
1541
1477
  "default": "-",
1542
- "description": "选中项的值",
1478
+ "description": "右侧内容",
1543
1479
  "value": {
1544
- "type": "string | number",
1480
+ "type": "number | string",
1545
1481
  "kind": "expression"
1546
1482
  }
1547
1483
  },
1548
1484
  {
1549
- "name": "options",
1550
- "default": "`[]`",
1551
- "description": "可选项数据源",
1485
+ "name": "label",
1486
+ "default": "-",
1487
+ "description": "标题下方的描述信息",
1552
1488
  "value": {
1553
- "type": "Option[]",
1489
+ "type": "string",
1554
1490
  "kind": "expression"
1555
1491
  }
1556
1492
  },
1557
1493
  {
1558
- "name": "placeholder",
1559
- "default": "`请选择`",
1560
- "description": "未选中时的提示文案",
1494
+ "name": "size",
1495
+ "default": "-",
1496
+ "description": "单元格大小,可选值为 `large`",
1561
1497
  "value": {
1562
1498
  "type": "string",
1563
1499
  "kind": "expression"
1564
1500
  }
1565
1501
  },
1566
1502
  {
1567
- "name": "active-color",
1568
- "default": "`#ee0a24`",
1569
- "description": "选中状态的高亮颜色",
1503
+ "name": "icon",
1504
+ "default": "-",
1505
+ "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
1570
1506
  "value": {
1571
1507
  "type": "string",
1572
1508
  "kind": "expression"
1573
1509
  }
1574
1510
  },
1575
1511
  {
1576
- "name": "closeable",
1512
+ "name": "icon-prefix",
1513
+ "default": "`van-icon`",
1514
+ "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
1515
+ "value": {
1516
+ "type": "string",
1517
+ "kind": "expression"
1518
+ }
1519
+ },
1520
+ {
1521
+ "name": "url",
1522
+ "default": "-",
1523
+ "description": "点击后跳转的链接地址",
1524
+ "value": {
1525
+ "type": "string",
1526
+ "kind": "expression"
1527
+ }
1528
+ },
1529
+ {
1530
+ "name": "to",
1531
+ "default": "-",
1532
+ "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
1533
+ "value": {
1534
+ "type": "string | object",
1535
+ "kind": "expression"
1536
+ }
1537
+ },
1538
+ {
1539
+ "name": "border",
1577
1540
  "default": "`true`",
1578
- "description": "是否显示关闭图标",
1541
+ "description": "是否显示内边框",
1579
1542
  "value": {
1580
1543
  "type": "boolean",
1581
1544
  "kind": "expression"
1582
1545
  }
1583
1546
  },
1584
1547
  {
1585
- "name": "field-names",
1586
- "default": "`{ text: 'text', value: 'value', children: 'children' }`",
1587
- "description": "自定义 `options` 结构中的字段",
1548
+ "name": "replace",
1549
+ "default": "`false`",
1550
+ "description": "是否在跳转时替换当前页面历史",
1588
1551
  "value": {
1589
- "type": "object",
1552
+ "type": "boolean",
1590
1553
  "kind": "expression"
1591
1554
  }
1592
- }
1593
- ]
1594
- },
1595
- {
1596
- "name": "van-cell-group",
1597
- "slots": [
1555
+ },
1598
1556
  {
1599
- "name": "default",
1600
- "description": "默认插槽"
1557
+ "name": "clickable",
1558
+ "default": "`null`",
1559
+ "description": "是否开启点击反馈",
1560
+ "value": {
1561
+ "type": "boolean",
1562
+ "kind": "expression"
1563
+ }
1601
1564
  },
1602
1565
  {
1603
- "name": "title",
1604
- "description": "自定义分组标题"
1605
- }
1606
- ],
1607
- "events": [],
1608
- "attributes": [
1566
+ "name": "is-link",
1567
+ "default": "`false`",
1568
+ "description": "是否展示右侧箭头并开启点击反馈",
1569
+ "value": {
1570
+ "type": "boolean",
1571
+ "kind": "expression"
1572
+ }
1573
+ },
1609
1574
  {
1610
- "name": "title",
1611
- "default": "`-`",
1612
- "description": "分组标题",
1575
+ "name": "required",
1576
+ "default": "`false`",
1577
+ "description": "是否显示表单必填星号",
1613
1578
  "value": {
1614
- "type": "string",
1579
+ "type": "boolean",
1615
1580
  "kind": "expression"
1616
1581
  }
1617
1582
  },
1618
1583
  {
1619
- "name": "border",
1620
- "default": "`true`",
1621
- "description": "是否显示外边框",
1584
+ "name": "center",
1585
+ "default": "`false`",
1586
+ "description": "是否使内容垂直居中",
1622
1587
  "value": {
1623
1588
  "type": "boolean",
1624
1589
  "kind": "expression"
1625
1590
  }
1591
+ },
1592
+ {
1593
+ "name": "arrow-direction",
1594
+ "default": "`right`",
1595
+ "description": "箭头方向,可选值为 `left` `up` `down`",
1596
+ "value": {
1597
+ "type": "string",
1598
+ "kind": "expression"
1599
+ }
1600
+ },
1601
+ {
1602
+ "name": "title-style",
1603
+ "default": "-",
1604
+ "description": "左侧标题额外样式",
1605
+ "value": {
1606
+ "type": "any",
1607
+ "kind": "expression"
1608
+ }
1609
+ },
1610
+ {
1611
+ "name": "title-class",
1612
+ "default": "-",
1613
+ "description": "左侧标题额外类名",
1614
+ "value": {
1615
+ "type": "any",
1616
+ "kind": "expression"
1617
+ }
1618
+ },
1619
+ {
1620
+ "name": "value-class",
1621
+ "default": "-",
1622
+ "description": "右侧内容额外类名",
1623
+ "value": {
1624
+ "type": "any",
1625
+ "kind": "expression"
1626
+ }
1627
+ },
1628
+ {
1629
+ "name": "label-class",
1630
+ "default": "-",
1631
+ "description": "描述信息额外类名",
1632
+ "value": {
1633
+ "type": "any",
1634
+ "kind": "expression"
1635
+ }
1626
1636
  }
1627
1637
  ]
1628
1638
  },
1629
1639
  {
1630
- "name": "van-cell",
1640
+ "name": "van-action-sheet",
1631
1641
  "slots": [
1632
1642
  {
1633
1643
  "name": "default",
1634
- "description": "自定义右侧 value 的内容"
1644
+ "description": "自定义面板的展示内容"
1635
1645
  },
1636
1646
  {
1637
- "name": "title",
1638
- "description": "自定义左侧 title 的内容"
1647
+ "name": "description",
1648
+ "description": "自定义描述文案"
1649
+ }
1650
+ ],
1651
+ "events": [
1652
+ {
1653
+ "name": "select",
1654
+ "description": "点击选项时触发,禁用或加载状态下不会触发"
1639
1655
  },
1640
1656
  {
1641
- "name": "label",
1642
- "description": "自定义标题下方 label 的内容"
1657
+ "name": "cancel",
1658
+ "description": "点击取消按钮时触发"
1643
1659
  },
1644
1660
  {
1645
- "name": "icon",
1646
- "description": "自定义左侧图标"
1661
+ "name": "open",
1662
+ "description": "打开面板时触发"
1647
1663
  },
1648
1664
  {
1649
- "name": "right-icon",
1650
- "description": "自定义右侧按钮,默认为`arrow`"
1665
+ "name": "close",
1666
+ "description": "关闭面板时触发"
1651
1667
  },
1652
1668
  {
1653
- "name": "extra",
1654
- "description": "自定义单元格最右侧的额外内容"
1655
- }
1656
- ],
1657
- "events": [
1669
+ "name": "opened",
1670
+ "description": "打开面板且动画结束后触发"
1671
+ },
1658
1672
  {
1659
- "name": "click",
1660
- "description": "点击单元格时触发"
1673
+ "name": "closed",
1674
+ "description": "关闭面板且动画结束后触发"
1675
+ },
1676
+ {
1677
+ "name": "click-overlay",
1678
+ "description": "点击遮罩层时触发"
1661
1679
  }
1662
1680
  ],
1663
1681
  "attributes": [
1664
1682
  {
1665
- "name": "title",
1666
- "default": "-",
1667
- "description": "左侧标题",
1683
+ "name": "v-model (value)",
1684
+ "default": "`false`",
1685
+ "description": "是否显示动作面板",
1668
1686
  "value": {
1669
- "type": "number | string",
1687
+ "type": "boolean",
1670
1688
  "kind": "expression"
1671
1689
  }
1672
1690
  },
1673
1691
  {
1674
- "name": "value",
1675
- "default": "-",
1676
- "description": "右侧内容",
1692
+ "name": "actions",
1693
+ "default": "`[]`",
1694
+ "description": "面板选项列表",
1677
1695
  "value": {
1678
- "type": "number | string",
1696
+ "type": "Action[]",
1679
1697
  "kind": "expression"
1680
1698
  }
1681
1699
  },
1682
1700
  {
1683
- "name": "label",
1701
+ "name": "title",
1684
1702
  "default": "-",
1685
- "description": "标题下方的描述信息",
1703
+ "description": "顶部标题",
1686
1704
  "value": {
1687
1705
  "type": "string",
1688
1706
  "kind": "expression"
1689
1707
  }
1690
1708
  },
1691
1709
  {
1692
- "name": "size",
1710
+ "name": "cancel-text",
1693
1711
  "default": "-",
1694
- "description": "单元格大小,可选值为 `large`",
1712
+ "description": "取消按钮文字",
1695
1713
  "value": {
1696
1714
  "type": "string",
1697
1715
  "kind": "expression"
1698
1716
  }
1699
1717
  },
1700
1718
  {
1701
- "name": "icon",
1719
+ "name": "description",
1702
1720
  "default": "-",
1703
- "description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
1721
+ "description": "选项上方的描述信息",
1704
1722
  "value": {
1705
1723
  "type": "string",
1706
1724
  "kind": "expression"
1707
1725
  }
1708
1726
  },
1709
1727
  {
1710
- "name": "icon-prefix",
1711
- "default": "`van-icon`",
1712
- "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
1728
+ "name": "closeable",
1729
+ "default": "`true`",
1730
+ "description": "是否显示关闭图标",
1713
1731
  "value": {
1714
- "type": "string",
1732
+ "type": "boolean",
1715
1733
  "kind": "expression"
1716
1734
  }
1717
1735
  },
1718
1736
  {
1719
- "name": "url",
1720
- "default": "-",
1721
- "description": "点击后跳转的链接地址",
1737
+ "name": "close-icon",
1738
+ "default": "`cross`",
1739
+ "description": "关闭[图标名称](#/zh-CN/icon)或图片链接",
1722
1740
  "value": {
1723
1741
  "type": "string",
1724
1742
  "kind": "expression"
1725
1743
  }
1726
1744
  },
1727
1745
  {
1728
- "name": "to",
1729
- "default": "-",
1730
- "description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
1746
+ "name": "duration",
1747
+ "default": "`0.3`",
1748
+ "description": "动画时长,单位秒",
1731
1749
  "value": {
1732
- "type": "string | object",
1750
+ "type": "number | string",
1733
1751
  "kind": "expression"
1734
1752
  }
1735
1753
  },
1736
1754
  {
1737
- "name": "border",
1755
+ "name": "round",
1738
1756
  "default": "`true`",
1739
- "description": "是否显示内边框",
1757
+ "description": "是否显示圆角",
1740
1758
  "value": {
1741
1759
  "type": "boolean",
1742
1760
  "kind": "expression"
1743
1761
  }
1744
1762
  },
1745
1763
  {
1746
- "name": "replace",
1747
- "default": "`false`",
1748
- "description": "是否在跳转时替换当前页面历史",
1764
+ "name": "overlay",
1765
+ "default": "`true`",
1766
+ "description": "是否显示遮罩层",
1749
1767
  "value": {
1750
1768
  "type": "boolean",
1751
1769
  "kind": "expression"
1752
1770
  }
1753
1771
  },
1754
1772
  {
1755
- "name": "clickable",
1756
- "default": "`null`",
1757
- "description": "是否开启点击反馈",
1773
+ "name": "lock-scroll",
1774
+ "default": "`true`",
1775
+ "description": "是否锁定背景滚动",
1758
1776
  "value": {
1759
1777
  "type": "boolean",
1760
1778
  "kind": "expression"
1761
1779
  }
1762
1780
  },
1763
1781
  {
1764
- "name": "is-link",
1765
- "default": "`false`",
1766
- "description": "是否展示右侧箭头并开启点击反馈",
1782
+ "name": "lazy-render",
1783
+ "default": "`true`",
1784
+ "description": "是否在显示弹层时才渲染节点",
1767
1785
  "value": {
1768
1786
  "type": "boolean",
1769
1787
  "kind": "expression"
1770
1788
  }
1771
1789
  },
1772
1790
  {
1773
- "name": "required",
1791
+ "name": "close-on-popstate",
1774
1792
  "default": "`false`",
1775
- "description": "是否显示表单必填星号",
1793
+ "description": "是否在页面回退时自动关闭",
1776
1794
  "value": {
1777
1795
  "type": "boolean",
1778
1796
  "kind": "expression"
1779
1797
  }
1780
1798
  },
1781
1799
  {
1782
- "name": "center",
1800
+ "name": "close-on-click-action",
1783
1801
  "default": "`false`",
1784
- "description": "是否使内容垂直居中",
1802
+ "description": "是否在点击选项后关闭",
1785
1803
  "value": {
1786
1804
  "type": "boolean",
1787
1805
  "kind": "expression"
1788
1806
  }
1789
1807
  },
1790
1808
  {
1791
- "name": "arrow-direction",
1792
- "default": "`right`",
1793
- "description": "箭头方向,可选值为 `left` `up` `down`",
1794
- "value": {
1795
- "type": "string",
1796
- "kind": "expression"
1797
- }
1798
- },
1799
- {
1800
- "name": "title-style",
1801
- "default": "-",
1802
- "description": "左侧标题额外样式",
1803
- "value": {
1804
- "type": "any",
1805
- "kind": "expression"
1806
- }
1807
- },
1808
- {
1809
- "name": "title-class",
1810
- "default": "-",
1811
- "description": "左侧标题额外类名",
1809
+ "name": "close-on-click-overlay",
1810
+ "default": "`true`",
1811
+ "description": "是否在点击遮罩层后关闭",
1812
1812
  "value": {
1813
- "type": "any",
1813
+ "type": "boolean",
1814
1814
  "kind": "expression"
1815
1815
  }
1816
1816
  },
1817
1817
  {
1818
- "name": "value-class",
1819
- "default": "-",
1820
- "description": "右侧内容额外类名",
1818
+ "name": "safe-area-inset-bottom",
1819
+ "default": "`true`",
1820
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
1821
1821
  "value": {
1822
- "type": "any",
1822
+ "type": "boolean",
1823
1823
  "kind": "expression"
1824
1824
  }
1825
1825
  },
1826
1826
  {
1827
- "name": "label-class",
1827
+ "name": "get-container",
1828
1828
  "default": "-",
1829
- "description": "描述信息额外类名",
1829
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi)",
1830
1830
  "value": {
1831
- "type": "any",
1831
+ "type": "string | () => Element",
1832
1832
  "kind": "expression"
1833
1833
  }
1834
1834
  }
@@ -5434,77 +5434,6 @@
5434
5434
  }
5435
5435
  ]
5436
5436
  },
5437
- {
5438
- "name": "van-overlay",
5439
- "slots": [
5440
- {
5441
- "name": "default",
5442
- "description": "默认插槽,用于在遮罩层上方嵌入内容"
5443
- }
5444
- ],
5445
- "events": [
5446
- {
5447
- "name": "click",
5448
- "description": "点击时触发"
5449
- }
5450
- ],
5451
- "attributes": [
5452
- {
5453
- "name": "show",
5454
- "default": "`false`",
5455
- "description": "是否展示遮罩层",
5456
- "value": {
5457
- "type": "boolean",
5458
- "kind": "expression"
5459
- }
5460
- },
5461
- {
5462
- "name": "z-index",
5463
- "default": "`1`",
5464
- "description": "z-index 层级",
5465
- "value": {
5466
- "type": "number | string",
5467
- "kind": "expression"
5468
- }
5469
- },
5470
- {
5471
- "name": "duration",
5472
- "default": "`0.3`",
5473
- "description": "动画时长,单位秒",
5474
- "value": {
5475
- "type": "number | string",
5476
- "kind": "expression"
5477
- }
5478
- },
5479
- {
5480
- "name": "class-name",
5481
- "default": "-",
5482
- "description": "自定义类名",
5483
- "value": {
5484
- "type": "string",
5485
- "kind": "expression"
5486
- }
5487
- },
5488
- {
5489
- "name": "custom-style",
5490
- "default": "-",
5491
- "description": "自定义样式",
5492
- "value": {
5493
- "type": "object",
5494
- "kind": "expression"
5495
- }
5496
- },
5497
- {
5498
- "name": "lock-scroll",
5499
- "default": "`true`",
5500
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5501
- "value": {
5502
- "type": "boolean",
5503
- "kind": "expression"
5504
- }
5505
- }
5506
- ]
5507
- },
5508
5437
  {
5509
5438
  "name": "van-number-keyboard",
5510
5439
  "slots": [
@@ -5694,6 +5623,77 @@
5694
5623
  }
5695
5624
  ]
5696
5625
  },
5626
+ {
5627
+ "name": "van-overlay",
5628
+ "slots": [
5629
+ {
5630
+ "name": "default",
5631
+ "description": "默认插槽,用于在遮罩层上方嵌入内容"
5632
+ }
5633
+ ],
5634
+ "events": [
5635
+ {
5636
+ "name": "click",
5637
+ "description": "点击时触发"
5638
+ }
5639
+ ],
5640
+ "attributes": [
5641
+ {
5642
+ "name": "show",
5643
+ "default": "`false`",
5644
+ "description": "是否展示遮罩层",
5645
+ "value": {
5646
+ "type": "boolean",
5647
+ "kind": "expression"
5648
+ }
5649
+ },
5650
+ {
5651
+ "name": "z-index",
5652
+ "default": "`1`",
5653
+ "description": "z-index 层级",
5654
+ "value": {
5655
+ "type": "number | string",
5656
+ "kind": "expression"
5657
+ }
5658
+ },
5659
+ {
5660
+ "name": "duration",
5661
+ "default": "`0.3`",
5662
+ "description": "动画时长,单位秒",
5663
+ "value": {
5664
+ "type": "number | string",
5665
+ "kind": "expression"
5666
+ }
5667
+ },
5668
+ {
5669
+ "name": "class-name",
5670
+ "default": "-",
5671
+ "description": "自定义类名",
5672
+ "value": {
5673
+ "type": "string",
5674
+ "kind": "expression"
5675
+ }
5676
+ },
5677
+ {
5678
+ "name": "custom-style",
5679
+ "default": "-",
5680
+ "description": "自定义样式",
5681
+ "value": {
5682
+ "type": "object",
5683
+ "kind": "expression"
5684
+ }
5685
+ },
5686
+ {
5687
+ "name": "lock-scroll",
5688
+ "default": "`true`",
5689
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
5690
+ "value": {
5691
+ "type": "boolean",
5692
+ "kind": "expression"
5693
+ }
5694
+ }
5695
+ ]
5696
+ },
5697
5697
  {
5698
5698
  "name": "van-pagination",
5699
5699
  "slots": [