vant 4.0.0-rc.1 → 4.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/changelog.generated.md +18 -265
  2. package/es/action-bar/index.css +1 -1
  3. package/es/action-bar-button/index.css +1 -1
  4. package/es/action-bar-icon/index.css +1 -1
  5. package/es/action-sheet/index.css +1 -1
  6. package/es/address-edit/index.css +1 -1
  7. package/es/address-list/index.css +1 -1
  8. package/es/badge/index.css +1 -1
  9. package/es/button/index.css +1 -1
  10. package/es/calendar/index.css +1 -1
  11. package/es/card/index.css +1 -1
  12. package/es/cascader/index.css +1 -1
  13. package/es/cell/index.css +1 -1
  14. package/es/cell-group/index.css +1 -1
  15. package/es/checkbox/index.css +1 -1
  16. package/es/circle/index.css +1 -1
  17. package/es/collapse-item/index.css +1 -1
  18. package/es/config-provider/ConfigProvider.mjs +2 -2
  19. package/es/contact-card/index.css +1 -1
  20. package/es/contact-edit/index.css +1 -1
  21. package/es/contact-list/index.css +1 -1
  22. package/es/count-down/index.css +1 -1
  23. package/es/coupon/index.css +1 -1
  24. package/es/coupon-cell/index.css +1 -1
  25. package/es/coupon-list/index.css +1 -1
  26. package/es/dialog/index.css +1 -1
  27. package/es/divider/index.css +1 -1
  28. package/es/dropdown-item/index.css +1 -1
  29. package/es/dropdown-menu/index.css +1 -1
  30. package/es/empty/index.css +1 -1
  31. package/es/field/index.css +1 -1
  32. package/es/grid-item/index.css +1 -1
  33. package/es/image/index.css +1 -1
  34. package/es/image-preview/index.css +1 -1
  35. package/es/index-anchor/index.css +1 -1
  36. package/es/index-bar/index.css +1 -1
  37. package/es/index.d.ts +1 -1
  38. package/es/index.mjs +1 -1
  39. package/es/list/index.css +1 -1
  40. package/es/loading/index.css +1 -1
  41. package/es/nav-bar/index.css +1 -1
  42. package/es/notice-bar/index.css +1 -1
  43. package/es/notify/index.css +1 -1
  44. package/es/number-keyboard/index.css +1 -1
  45. package/es/overlay/index.css +1 -1
  46. package/es/pagination/index.css +1 -1
  47. package/es/password-input/index.css +1 -1
  48. package/es/picker/index.css +1 -1
  49. package/es/picker-group/index.css +1 -1
  50. package/es/popover/index.css +1 -1
  51. package/es/popup/index.css +1 -1
  52. package/es/progress/index.css +1 -1
  53. package/es/pull-refresh/index.css +1 -1
  54. package/es/radio/index.css +1 -1
  55. package/es/rate/index.css +1 -1
  56. package/es/search/index.css +1 -1
  57. package/es/share-sheet/index.css +1 -1
  58. package/es/sidebar/index.css +1 -1
  59. package/es/sidebar-item/index.css +1 -1
  60. package/es/skeleton/index.css +1 -1
  61. package/es/slider/index.css +1 -1
  62. package/es/step/index.css +1 -1
  63. package/es/stepper/index.css +1 -1
  64. package/es/steps/index.css +1 -1
  65. package/es/sticky/index.css +1 -1
  66. package/es/style/base.css +1 -1
  67. package/es/style/css-variables.css +1 -1
  68. package/es/style/normalize.css +1 -1
  69. package/es/submit-bar/index.css +1 -1
  70. package/es/swipe/index.css +1 -1
  71. package/es/switch/index.css +1 -1
  72. package/es/tabbar/index.css +1 -1
  73. package/es/tabbar-item/index.css +1 -1
  74. package/es/tabs/index.css +1 -1
  75. package/es/tag/index.css +1 -1
  76. package/es/toast/index.css +1 -1
  77. package/es/tree-select/index.css +1 -1
  78. package/es/uploader/index.css +1 -1
  79. package/lib/action-bar/index.css +1 -1
  80. package/lib/action-bar-button/index.css +1 -1
  81. package/lib/action-bar-icon/index.css +1 -1
  82. package/lib/action-sheet/index.css +1 -1
  83. package/lib/address-edit/index.css +1 -1
  84. package/lib/address-list/index.css +1 -1
  85. package/lib/badge/index.css +1 -1
  86. package/lib/button/index.css +1 -1
  87. package/lib/calendar/index.css +1 -1
  88. package/lib/card/index.css +1 -1
  89. package/lib/cascader/index.css +1 -1
  90. package/lib/cell/index.css +1 -1
  91. package/lib/cell-group/index.css +1 -1
  92. package/lib/checkbox/index.css +1 -1
  93. package/lib/circle/index.css +1 -1
  94. package/lib/collapse-item/index.css +1 -1
  95. package/lib/config-provider/ConfigProvider.js +2 -2
  96. package/lib/contact-card/index.css +1 -1
  97. package/lib/contact-edit/index.css +1 -1
  98. package/lib/contact-list/index.css +1 -1
  99. package/lib/count-down/index.css +1 -1
  100. package/lib/coupon/index.css +1 -1
  101. package/lib/coupon-cell/index.css +1 -1
  102. package/lib/coupon-list/index.css +1 -1
  103. package/lib/dialog/index.css +1 -1
  104. package/lib/divider/index.css +1 -1
  105. package/lib/dropdown-item/index.css +1 -1
  106. package/lib/dropdown-menu/index.css +1 -1
  107. package/lib/empty/index.css +1 -1
  108. package/lib/field/index.css +1 -1
  109. package/lib/grid-item/index.css +1 -1
  110. package/lib/image/index.css +1 -1
  111. package/lib/image-preview/index.css +1 -1
  112. package/lib/index-anchor/index.css +1 -1
  113. package/lib/index-bar/index.css +1 -1
  114. package/lib/index.css +1 -1
  115. package/lib/index.d.ts +1 -1
  116. package/lib/index.js +1 -1
  117. package/lib/list/index.css +1 -1
  118. package/lib/loading/index.css +1 -1
  119. package/lib/nav-bar/index.css +1 -1
  120. package/lib/notice-bar/index.css +1 -1
  121. package/lib/notify/index.css +1 -1
  122. package/lib/number-keyboard/index.css +1 -1
  123. package/lib/overlay/index.css +1 -1
  124. package/lib/pagination/index.css +1 -1
  125. package/lib/password-input/index.css +1 -1
  126. package/lib/picker/index.css +1 -1
  127. package/lib/picker-group/index.css +1 -1
  128. package/lib/popover/index.css +1 -1
  129. package/lib/popup/index.css +1 -1
  130. package/lib/progress/index.css +1 -1
  131. package/lib/pull-refresh/index.css +1 -1
  132. package/lib/radio/index.css +1 -1
  133. package/lib/rate/index.css +1 -1
  134. package/lib/search/index.css +1 -1
  135. package/lib/share-sheet/index.css +1 -1
  136. package/lib/sidebar/index.css +1 -1
  137. package/lib/sidebar-item/index.css +1 -1
  138. package/lib/skeleton/index.css +1 -1
  139. package/lib/slider/index.css +1 -1
  140. package/lib/step/index.css +1 -1
  141. package/lib/stepper/index.css +1 -1
  142. package/lib/steps/index.css +1 -1
  143. package/lib/sticky/index.css +1 -1
  144. package/lib/style/base.css +1 -1
  145. package/lib/style/css-variables.css +1 -1
  146. package/lib/style/normalize.css +1 -1
  147. package/lib/submit-bar/index.css +1 -1
  148. package/lib/swipe/index.css +1 -1
  149. package/lib/switch/index.css +1 -1
  150. package/lib/tabbar/index.css +1 -1
  151. package/lib/tabbar-item/index.css +1 -1
  152. package/lib/tabs/index.css +1 -1
  153. package/lib/tag/index.css +1 -1
  154. package/lib/toast/index.css +1 -1
  155. package/lib/tree-select/index.css +1 -1
  156. package/lib/uploader/index.css +1 -1
  157. package/lib/vant.cjs.js +3 -3
  158. package/lib/vant.es.js +3 -3
  159. package/lib/vant.js +3 -3
  160. package/lib/vant.min.js +1 -1
  161. package/lib/web-types.json +1726 -1726
  162. package/package.json +1 -1
@@ -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": "4.0.0-rc.1",
5
+ "version": "4.0.0-rc.2",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -993,6 +993,186 @@
993
993
  }
994
994
  ]
995
995
  },
996
+ {
997
+ "name": "van-area",
998
+ "slots": [
999
+ {
1000
+ "name": "toolbar",
1001
+ "description": "Custom toolbar content"
1002
+ },
1003
+ {
1004
+ "name": "title",
1005
+ "description": "Custom title"
1006
+ },
1007
+ {
1008
+ "name": "confirm",
1009
+ "description": "Custom confirm button text"
1010
+ },
1011
+ {
1012
+ "name": "cancel",
1013
+ "description": "Custom cancel button text"
1014
+ },
1015
+ {
1016
+ "name": "columns-top",
1017
+ "description": "Custom content above columns"
1018
+ },
1019
+ {
1020
+ "name": "columns-bottom",
1021
+ "description": "Custom content below columns"
1022
+ }
1023
+ ],
1024
+ "events": [
1025
+ {
1026
+ "name": "confirm",
1027
+ "description": "Emitted when the confirm button is clicked",
1028
+ "arguments": [
1029
+ {
1030
+ "name": "{ selectedValues, selectedOptions }"
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "name": "cancel",
1036
+ "description": "Emitted when the cancel button is clicked",
1037
+ "arguments": [
1038
+ {
1039
+ "name": "{ selectedValues, selectedOptions }"
1040
+ }
1041
+ ]
1042
+ },
1043
+ {
1044
+ "name": "change",
1045
+ "description": "Emitted when current option is changed",
1046
+ "arguments": [
1047
+ {
1048
+ "name": "{ selectedValues, selectedOptions, columnIndex }"
1049
+ }
1050
+ ]
1051
+ }
1052
+ ],
1053
+ "attributes": [
1054
+ {
1055
+ "name": "v-model",
1056
+ "default": "-",
1057
+ "description": "the `code` of selected area",
1058
+ "options": [],
1059
+ "value": {
1060
+ "type": "string",
1061
+ "kind": "expression"
1062
+ }
1063
+ },
1064
+ {
1065
+ "name": "title",
1066
+ "default": "-",
1067
+ "description": "Toolbar title",
1068
+ "options": [],
1069
+ "value": {
1070
+ "type": "string",
1071
+ "kind": "expression"
1072
+ }
1073
+ },
1074
+ {
1075
+ "name": "confirm-button-text",
1076
+ "default": "`Confirm`",
1077
+ "description": "Text of confirm button",
1078
+ "options": [],
1079
+ "value": {
1080
+ "type": "string",
1081
+ "kind": "expression"
1082
+ }
1083
+ },
1084
+ {
1085
+ "name": "cancel-button-text",
1086
+ "default": "`Cancel`",
1087
+ "description": "Text of cancel button",
1088
+ "options": [],
1089
+ "value": {
1090
+ "type": "string",
1091
+ "kind": "expression"
1092
+ }
1093
+ },
1094
+ {
1095
+ "name": "area-list",
1096
+ "default": "-",
1097
+ "description": "Area list data",
1098
+ "options": [],
1099
+ "value": {
1100
+ "type": "object",
1101
+ "kind": "expression"
1102
+ }
1103
+ },
1104
+ {
1105
+ "name": "columns-placeholder",
1106
+ "default": "`[]`",
1107
+ "description": "Placeholder of columns",
1108
+ "options": [],
1109
+ "value": {
1110
+ "type": "string[]",
1111
+ "kind": "expression"
1112
+ }
1113
+ },
1114
+ {
1115
+ "name": "loading",
1116
+ "default": "`false`",
1117
+ "description": "Whether to show loading prompt",
1118
+ "options": [],
1119
+ "value": {
1120
+ "type": "boolean",
1121
+ "kind": "expression"
1122
+ }
1123
+ },
1124
+ {
1125
+ "name": "readonly",
1126
+ "default": "`false`",
1127
+ "description": "Whether to be readonly",
1128
+ "options": [],
1129
+ "value": {
1130
+ "type": "boolean",
1131
+ "kind": "expression"
1132
+ }
1133
+ },
1134
+ {
1135
+ "name": "option-height",
1136
+ "default": "`44`",
1137
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
1138
+ "options": [],
1139
+ "value": {
1140
+ "type": "number | string",
1141
+ "kind": "expression"
1142
+ }
1143
+ },
1144
+ {
1145
+ "name": "columns-num",
1146
+ "default": "`3`",
1147
+ "description": "Level of picker",
1148
+ "options": [],
1149
+ "value": {
1150
+ "type": "number | string",
1151
+ "kind": "expression"
1152
+ }
1153
+ },
1154
+ {
1155
+ "name": "visible-option-num",
1156
+ "default": "`6`",
1157
+ "description": "Count of visible columns",
1158
+ "options": [],
1159
+ "value": {
1160
+ "type": "number | string",
1161
+ "kind": "expression"
1162
+ }
1163
+ },
1164
+ {
1165
+ "name": "swipe-duration",
1166
+ "default": "`1000`",
1167
+ "description": "Duration of the momentum animation, unit `ms`",
1168
+ "options": [],
1169
+ "value": {
1170
+ "type": "number | string",
1171
+ "kind": "expression"
1172
+ }
1173
+ }
1174
+ ]
1175
+ },
996
1176
  {
997
1177
  "name": "van-badge",
998
1178
  "slots": [
@@ -1331,248 +1511,68 @@
1331
1511
  ]
1332
1512
  },
1333
1513
  {
1334
- "name": "van-area",
1514
+ "name": "van-calendar",
1335
1515
  "slots": [
1336
- {
1337
- "name": "toolbar",
1338
- "description": "Custom toolbar content"
1339
- },
1340
1516
  {
1341
1517
  "name": "title",
1342
1518
  "description": "Custom title"
1343
1519
  },
1344
1520
  {
1345
- "name": "confirm",
1346
- "description": "Custom confirm button text"
1521
+ "name": "subtitle",
1522
+ "description": "Custom subtitle"
1347
1523
  },
1348
1524
  {
1349
- "name": "cancel",
1350
- "description": "Custom cancel button text"
1525
+ "name": "footer",
1526
+ "description": "Custom footer"
1351
1527
  },
1352
1528
  {
1353
- "name": "columns-top",
1354
- "description": "Custom content above columns"
1529
+ "name": "confirm-text",
1530
+ "description": "Custom confirm text"
1355
1531
  },
1356
1532
  {
1357
- "name": "columns-bottom",
1358
- "description": "Custom content below columns"
1533
+ "name": "top-info",
1534
+ "description": "Custom top info of day"
1535
+ },
1536
+ {
1537
+ "name": "bottom-info",
1538
+ "description": "Custom bottom info of day"
1359
1539
  }
1360
1540
  ],
1361
1541
  "events": [
1362
1542
  {
1363
- "name": "confirm",
1364
- "description": "Emitted when the confirm button is clicked",
1543
+ "name": "select",
1544
+ "description": "Emitted when date is selected",
1365
1545
  "arguments": [
1366
1546
  {
1367
- "name": "{ selectedValues, selectedOptions }"
1547
+ "name": "value",
1548
+ "type": "Date | Date[]"
1368
1549
  }
1369
1550
  ]
1370
1551
  },
1371
1552
  {
1372
- "name": "cancel",
1373
- "description": "Emitted when the cancel button is clicked",
1553
+ "name": "confirm",
1554
+ "description": "Emitted after date selection is complete, if `show-confirm` is `true`, it is Emitted after clicking the confirm button",
1374
1555
  "arguments": [
1375
1556
  {
1376
- "name": "{ selectedValues, selectedOptions }"
1557
+ "name": "value",
1558
+ "type": "Date | Date[]"
1377
1559
  }
1378
1560
  ]
1379
1561
  },
1380
1562
  {
1381
- "name": "change",
1382
- "description": "Emitted when current option is changed",
1383
- "arguments": [
1384
- {
1385
- "name": "{ selectedValues, selectedOptions, columnIndex }"
1386
- }
1387
- ]
1388
- }
1389
- ],
1390
- "attributes": [
1563
+ "name": "open",
1564
+ "description": "Emitted when opening Popup",
1565
+ "arguments": []
1566
+ },
1391
1567
  {
1392
- "name": "v-model",
1393
- "default": "-",
1394
- "description": "the `code` of selected area",
1395
- "options": [],
1396
- "value": {
1397
- "type": "string",
1398
- "kind": "expression"
1399
- }
1568
+ "name": "close",
1569
+ "description": "Emitted when closing Popup",
1570
+ "arguments": []
1400
1571
  },
1401
1572
  {
1402
- "name": "title",
1403
- "default": "-",
1404
- "description": "Toolbar title",
1405
- "options": [],
1406
- "value": {
1407
- "type": "string",
1408
- "kind": "expression"
1409
- }
1410
- },
1411
- {
1412
- "name": "confirm-button-text",
1413
- "default": "`Confirm`",
1414
- "description": "Text of confirm button",
1415
- "options": [],
1416
- "value": {
1417
- "type": "string",
1418
- "kind": "expression"
1419
- }
1420
- },
1421
- {
1422
- "name": "cancel-button-text",
1423
- "default": "`Cancel`",
1424
- "description": "Text of cancel button",
1425
- "options": [],
1426
- "value": {
1427
- "type": "string",
1428
- "kind": "expression"
1429
- }
1430
- },
1431
- {
1432
- "name": "area-list",
1433
- "default": "-",
1434
- "description": "Area list data",
1435
- "options": [],
1436
- "value": {
1437
- "type": "object",
1438
- "kind": "expression"
1439
- }
1440
- },
1441
- {
1442
- "name": "columns-placeholder",
1443
- "default": "`[]`",
1444
- "description": "Placeholder of columns",
1445
- "options": [],
1446
- "value": {
1447
- "type": "string[]",
1448
- "kind": "expression"
1449
- }
1450
- },
1451
- {
1452
- "name": "loading",
1453
- "default": "`false`",
1454
- "description": "Whether to show loading prompt",
1455
- "options": [],
1456
- "value": {
1457
- "type": "boolean",
1458
- "kind": "expression"
1459
- }
1460
- },
1461
- {
1462
- "name": "readonly",
1463
- "default": "`false`",
1464
- "description": "Whether to be readonly",
1465
- "options": [],
1466
- "value": {
1467
- "type": "boolean",
1468
- "kind": "expression"
1469
- }
1470
- },
1471
- {
1472
- "name": "option-height",
1473
- "default": "`44`",
1474
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
1475
- "options": [],
1476
- "value": {
1477
- "type": "number | string",
1478
- "kind": "expression"
1479
- }
1480
- },
1481
- {
1482
- "name": "columns-num",
1483
- "default": "`3`",
1484
- "description": "Level of picker",
1485
- "options": [],
1486
- "value": {
1487
- "type": "number | string",
1488
- "kind": "expression"
1489
- }
1490
- },
1491
- {
1492
- "name": "visible-option-num",
1493
- "default": "`6`",
1494
- "description": "Count of visible columns",
1495
- "options": [],
1496
- "value": {
1497
- "type": "number | string",
1498
- "kind": "expression"
1499
- }
1500
- },
1501
- {
1502
- "name": "swipe-duration",
1503
- "default": "`1000`",
1504
- "description": "Duration of the momentum animation, unit `ms`",
1505
- "options": [],
1506
- "value": {
1507
- "type": "number | string",
1508
- "kind": "expression"
1509
- }
1510
- }
1511
- ]
1512
- },
1513
- {
1514
- "name": "van-calendar",
1515
- "slots": [
1516
- {
1517
- "name": "title",
1518
- "description": "Custom title"
1519
- },
1520
- {
1521
- "name": "subtitle",
1522
- "description": "Custom subtitle"
1523
- },
1524
- {
1525
- "name": "footer",
1526
- "description": "Custom footer"
1527
- },
1528
- {
1529
- "name": "confirm-text",
1530
- "description": "Custom confirm text"
1531
- },
1532
- {
1533
- "name": "top-info",
1534
- "description": "Custom top info of day"
1535
- },
1536
- {
1537
- "name": "bottom-info",
1538
- "description": "Custom bottom info of day"
1539
- }
1540
- ],
1541
- "events": [
1542
- {
1543
- "name": "select",
1544
- "description": "Emitted when date is selected",
1545
- "arguments": [
1546
- {
1547
- "name": "value",
1548
- "type": "Date | Date[]"
1549
- }
1550
- ]
1551
- },
1552
- {
1553
- "name": "confirm",
1554
- "description": "Emitted after date selection is complete, if `show-confirm` is `true`, it is Emitted after clicking the confirm button",
1555
- "arguments": [
1556
- {
1557
- "name": "value",
1558
- "type": "Date | Date[]"
1559
- }
1560
- ]
1561
- },
1562
- {
1563
- "name": "open",
1564
- "description": "Emitted when opening Popup",
1565
- "arguments": []
1566
- },
1567
- {
1568
- "name": "close",
1569
- "description": "Emitted when closing Popup",
1570
- "arguments": []
1571
- },
1572
- {
1573
- "name": "opened",
1574
- "description": "Emitted when Popup is opened",
1575
- "arguments": []
1573
+ "name": "opened",
1574
+ "description": "Emitted when Popup is opened",
1575
+ "arguments": []
1576
1576
  },
1577
1577
  {
1578
1578
  "name": "closed",
@@ -2284,23 +2284,64 @@
2284
2284
  ]
2285
2285
  },
2286
2286
  {
2287
- "name": "van-cell-group",
2287
+ "name": "van-checkbox",
2288
2288
  "slots": [
2289
2289
  {
2290
2290
  "name": "default",
2291
- "description": "Default slot"
2291
+ "description": "Custom label"
2292
2292
  },
2293
2293
  {
2294
- "name": "title",
2295
- "description": "Custom title"
2294
+ "name": "icon",
2295
+ "description": "Custom icon"
2296
+ }
2297
+ ],
2298
+ "events": [
2299
+ {
2300
+ "name": "change",
2301
+ "description": "Emitted when value changed",
2302
+ "arguments": [
2303
+ {
2304
+ "name": "checked",
2305
+ "type": "boolean"
2306
+ }
2307
+ ]
2308
+ },
2309
+ {
2310
+ "name": "click",
2311
+ "description": "Emitted when the checkbox is clicked",
2312
+ "arguments": [
2313
+ {
2314
+ "name": "event",
2315
+ "type": "MouseEvent"
2316
+ }
2317
+ ]
2296
2318
  }
2297
2319
  ],
2298
- "events": [],
2299
2320
  "attributes": [
2300
2321
  {
2301
- "name": "title",
2322
+ "name": "v-model",
2323
+ "default": "`false`",
2324
+ "description": "Check status",
2325
+ "options": [],
2326
+ "value": {
2327
+ "type": "boolean",
2328
+ "kind": "expression"
2329
+ }
2330
+ },
2331
+ {
2332
+ "name": "name",
2302
2333
  "default": "-",
2303
- "description": "Group title",
2334
+ "description": "Checkbox name, usually a unique string or number",
2335
+ "options": [],
2336
+ "value": {
2337
+ "type": "any",
2338
+ "kind": "expression"
2339
+ }
2340
+ },
2341
+ {
2342
+ "name": "shape",
2343
+ "default": "`round`",
2344
+ "description": "Can be set to `square`",
2304
2345
  "options": [],
2305
2346
  "value": {
2306
2347
  "type": "string",
@@ -2308,9 +2349,9 @@
2308
2349
  }
2309
2350
  },
2310
2351
  {
2311
- "name": "inset",
2352
+ "name": "disabled",
2312
2353
  "default": "`false`",
2313
- "description": "Whether to be inset grouped",
2354
+ "description": "Disable checkbox",
2314
2355
  "options": [],
2315
2356
  "value": {
2316
2357
  "type": "boolean",
@@ -2318,35 +2359,199 @@
2318
2359
  }
2319
2360
  },
2320
2361
  {
2321
- "name": "border",
2322
- "default": "`true`",
2323
- "description": "Whether to show outer border",
2362
+ "name": "label-disabled",
2363
+ "default": "`false`",
2364
+ "description": "Whether to disable label click",
2324
2365
  "options": [],
2325
2366
  "value": {
2326
2367
  "type": "boolean",
2327
2368
  "kind": "expression"
2328
2369
  }
2329
- }
2330
- ]
2331
- },
2332
- {
2333
- "name": "van-cell",
2334
- "slots": [
2335
- {
2336
- "name": "title",
2337
- "description": "Custom title"
2338
2370
  },
2339
2371
  {
2340
- "name": "value",
2341
- "description": "Custom value"
2342
- },
2343
- {
2344
- "name": "label",
2345
- "description": "Custom label"
2372
+ "name": "label-position",
2373
+ "default": "`right`",
2374
+ "description": "Can be set to `left`",
2375
+ "options": [],
2376
+ "value": {
2377
+ "type": "string",
2378
+ "kind": "expression"
2379
+ }
2346
2380
  },
2347
2381
  {
2348
- "name": "icon",
2349
- "description": "Custom left icon"
2382
+ "name": "icon-size",
2383
+ "default": "`20px`",
2384
+ "description": "Icon size",
2385
+ "options": [],
2386
+ "value": {
2387
+ "type": "number | string",
2388
+ "kind": "expression"
2389
+ }
2390
+ },
2391
+ {
2392
+ "name": "checked-color",
2393
+ "default": "`#1989fa`",
2394
+ "description": "Checked color",
2395
+ "options": [],
2396
+ "value": {
2397
+ "type": "string",
2398
+ "kind": "expression"
2399
+ }
2400
+ },
2401
+ {
2402
+ "name": "bind-group",
2403
+ "default": "`true`",
2404
+ "description": "Whether to bind with CheckboxGroup",
2405
+ "options": [],
2406
+ "value": {
2407
+ "type": "boolean",
2408
+ "kind": "expression"
2409
+ }
2410
+ }
2411
+ ]
2412
+ },
2413
+ {
2414
+ "name": "van-checkbox-group",
2415
+ "slots": [],
2416
+ "events": [
2417
+ {
2418
+ "name": "change",
2419
+ "description": "Emitted when value changed",
2420
+ "arguments": [
2421
+ {
2422
+ "name": "names",
2423
+ "type": "any[]"
2424
+ }
2425
+ ]
2426
+ }
2427
+ ],
2428
+ "attributes": [
2429
+ {
2430
+ "name": "v-model",
2431
+ "default": "-",
2432
+ "description": "Names of all checked checkboxes",
2433
+ "options": [],
2434
+ "value": {
2435
+ "type": "any[]",
2436
+ "kind": "expression"
2437
+ }
2438
+ },
2439
+ {
2440
+ "name": "disabled",
2441
+ "default": "`false`",
2442
+ "description": "Whether to disable all checkboxes",
2443
+ "options": [],
2444
+ "value": {
2445
+ "type": "boolean",
2446
+ "kind": "expression"
2447
+ }
2448
+ },
2449
+ {
2450
+ "name": "max",
2451
+ "default": "`0`(Unlimited)",
2452
+ "description": "Maximum amount of checked options",
2453
+ "options": [],
2454
+ "value": {
2455
+ "type": "number | string",
2456
+ "kind": "expression"
2457
+ }
2458
+ },
2459
+ {
2460
+ "name": "direction",
2461
+ "default": "`vertical`",
2462
+ "description": "Direction, can be set to `horizontal`",
2463
+ "options": [],
2464
+ "value": {
2465
+ "type": "string",
2466
+ "kind": "expression"
2467
+ }
2468
+ },
2469
+ {
2470
+ "name": "icon-size",
2471
+ "default": "`20px`",
2472
+ "description": "Icon size of all checkboxes",
2473
+ "options": [],
2474
+ "value": {
2475
+ "type": "number | string",
2476
+ "kind": "expression"
2477
+ }
2478
+ },
2479
+ {
2480
+ "name": "checked-color",
2481
+ "default": "`#1989fa`",
2482
+ "description": "Checked color of all checkboxes",
2483
+ "options": [],
2484
+ "value": {
2485
+ "type": "string",
2486
+ "kind": "expression"
2487
+ }
2488
+ }
2489
+ ]
2490
+ },
2491
+ {
2492
+ "name": "van-cell-group",
2493
+ "slots": [
2494
+ {
2495
+ "name": "default",
2496
+ "description": "Default slot"
2497
+ },
2498
+ {
2499
+ "name": "title",
2500
+ "description": "Custom title"
2501
+ }
2502
+ ],
2503
+ "events": [],
2504
+ "attributes": [
2505
+ {
2506
+ "name": "title",
2507
+ "default": "-",
2508
+ "description": "Group title",
2509
+ "options": [],
2510
+ "value": {
2511
+ "type": "string",
2512
+ "kind": "expression"
2513
+ }
2514
+ },
2515
+ {
2516
+ "name": "inset",
2517
+ "default": "`false`",
2518
+ "description": "Whether to be inset grouped",
2519
+ "options": [],
2520
+ "value": {
2521
+ "type": "boolean",
2522
+ "kind": "expression"
2523
+ }
2524
+ },
2525
+ {
2526
+ "name": "border",
2527
+ "default": "`true`",
2528
+ "description": "Whether to show outer border",
2529
+ "options": [],
2530
+ "value": {
2531
+ "type": "boolean",
2532
+ "kind": "expression"
2533
+ }
2534
+ }
2535
+ ]
2536
+ },
2537
+ {
2538
+ "name": "van-cell",
2539
+ "slots": [
2540
+ {
2541
+ "name": "title",
2542
+ "description": "Custom title"
2543
+ },
2544
+ {
2545
+ "name": "value",
2546
+ "description": "Custom value"
2547
+ },
2548
+ {
2549
+ "name": "label",
2550
+ "description": "Custom label"
2551
+ },
2552
+ {
2553
+ "name": "icon",
2554
+ "description": "Custom left icon"
2350
2555
  },
2351
2556
  {
2352
2557
  "name": "right-icon",
@@ -2563,94 +2768,69 @@
2563
2768
  ]
2564
2769
  },
2565
2770
  {
2566
- "name": "van-checkbox",
2771
+ "name": "van-circle",
2567
2772
  "slots": [
2568
2773
  {
2569
2774
  "name": "default",
2570
- "description": "Custom label"
2571
- },
2572
- {
2573
- "name": "icon",
2574
- "description": "Custom icon"
2575
- }
2576
- ],
2577
- "events": [
2578
- {
2579
- "name": "change",
2580
- "description": "Emitted when value changed",
2581
- "arguments": [
2582
- {
2583
- "name": "checked",
2584
- "type": "boolean"
2585
- }
2586
- ]
2587
- },
2588
- {
2589
- "name": "click",
2590
- "description": "Emitted when the checkbox is clicked",
2591
- "arguments": [
2592
- {
2593
- "name": "event",
2594
- "type": "MouseEvent"
2595
- }
2596
- ]
2775
+ "description": "custom text content"
2597
2776
  }
2598
2777
  ],
2778
+ "events": [],
2599
2779
  "attributes": [
2600
2780
  {
2601
- "name": "v-model",
2602
- "default": "`false`",
2603
- "description": "Check status",
2781
+ "name": "v-model:current-rate",
2782
+ "default": "-",
2783
+ "description": "Current rate",
2604
2784
  "options": [],
2605
2785
  "value": {
2606
- "type": "boolean",
2786
+ "type": "number",
2607
2787
  "kind": "expression"
2608
2788
  }
2609
2789
  },
2610
2790
  {
2611
- "name": "name",
2612
- "default": "-",
2613
- "description": "Checkbox name, usually a unique string or number",
2791
+ "name": "rate",
2792
+ "default": "`100`",
2793
+ "description": "Target rate",
2614
2794
  "options": [],
2615
2795
  "value": {
2616
- "type": "any",
2796
+ "type": "number | string",
2617
2797
  "kind": "expression"
2618
2798
  }
2619
2799
  },
2620
2800
  {
2621
- "name": "shape",
2622
- "default": "`round`",
2623
- "description": "Can be set to `square`",
2801
+ "name": "size",
2802
+ "default": "`100px`",
2803
+ "description": "Circle size",
2624
2804
  "options": [],
2625
2805
  "value": {
2626
- "type": "string",
2806
+ "type": "number | string",
2627
2807
  "kind": "expression"
2628
2808
  }
2629
2809
  },
2630
2810
  {
2631
- "name": "disabled",
2632
- "default": "`false`",
2633
- "description": "Disable checkbox",
2811
+ "name": "color",
2812
+ "default": "`#1989fa`",
2813
+ "description": "Progress color, passing object to render gradient",
2634
2814
  "options": [],
2635
2815
  "value": {
2636
- "type": "boolean",
2816
+ "type": "string | object",
2637
2817
  "kind": "expression"
2638
2818
  }
2639
2819
  },
2640
2820
  {
2641
- "name": "label-disabled",
2642
- "default": "`false`",
2643
- "description": "Whether to disable label click",
2821
+ "name": "layer-color",
2822
+ "default": "`white`",
2823
+ "description": "Layer color",
2644
2824
  "options": [],
2645
2825
  "value": {
2646
- "type": "boolean",
2826
+ "type": "string",
2647
2827
  "kind": "expression"
2648
2828
  }
2649
2829
  },
2650
2830
  {
2651
- "name": "label-position",
2652
- "default": "`right`",
2653
- "description": "Can be set to `left`",
2831
+ "name": "fill",
2832
+ "default": "`none`",
2833
+ "description": "Fill color",
2654
2834
  "options": [],
2655
2835
  "value": {
2656
2836
  "type": "string",
@@ -2658,189 +2838,9 @@
2658
2838
  }
2659
2839
  },
2660
2840
  {
2661
- "name": "icon-size",
2662
- "default": "`20px`",
2663
- "description": "Icon size",
2664
- "options": [],
2665
- "value": {
2666
- "type": "number | string",
2667
- "kind": "expression"
2668
- }
2669
- },
2670
- {
2671
- "name": "checked-color",
2672
- "default": "`#1989fa`",
2673
- "description": "Checked color",
2674
- "options": [],
2675
- "value": {
2676
- "type": "string",
2677
- "kind": "expression"
2678
- }
2679
- },
2680
- {
2681
- "name": "bind-group",
2682
- "default": "`true`",
2683
- "description": "Whether to bind with CheckboxGroup",
2684
- "options": [],
2685
- "value": {
2686
- "type": "boolean",
2687
- "kind": "expression"
2688
- }
2689
- }
2690
- ]
2691
- },
2692
- {
2693
- "name": "van-checkbox-group",
2694
- "slots": [],
2695
- "events": [
2696
- {
2697
- "name": "change",
2698
- "description": "Emitted when value changed",
2699
- "arguments": [
2700
- {
2701
- "name": "names",
2702
- "type": "any[]"
2703
- }
2704
- ]
2705
- }
2706
- ],
2707
- "attributes": [
2708
- {
2709
- "name": "v-model",
2710
- "default": "-",
2711
- "description": "Names of all checked checkboxes",
2712
- "options": [],
2713
- "value": {
2714
- "type": "any[]",
2715
- "kind": "expression"
2716
- }
2717
- },
2718
- {
2719
- "name": "disabled",
2720
- "default": "`false`",
2721
- "description": "Whether to disable all checkboxes",
2722
- "options": [],
2723
- "value": {
2724
- "type": "boolean",
2725
- "kind": "expression"
2726
- }
2727
- },
2728
- {
2729
- "name": "max",
2730
- "default": "`0`(Unlimited)",
2731
- "description": "Maximum amount of checked options",
2732
- "options": [],
2733
- "value": {
2734
- "type": "number | string",
2735
- "kind": "expression"
2736
- }
2737
- },
2738
- {
2739
- "name": "direction",
2740
- "default": "`vertical`",
2741
- "description": "Direction, can be set to `horizontal`",
2742
- "options": [],
2743
- "value": {
2744
- "type": "string",
2745
- "kind": "expression"
2746
- }
2747
- },
2748
- {
2749
- "name": "icon-size",
2750
- "default": "`20px`",
2751
- "description": "Icon size of all checkboxes",
2752
- "options": [],
2753
- "value": {
2754
- "type": "number | string",
2755
- "kind": "expression"
2756
- }
2757
- },
2758
- {
2759
- "name": "checked-color",
2760
- "default": "`#1989fa`",
2761
- "description": "Checked color of all checkboxes",
2762
- "options": [],
2763
- "value": {
2764
- "type": "string",
2765
- "kind": "expression"
2766
- }
2767
- }
2768
- ]
2769
- },
2770
- {
2771
- "name": "van-circle",
2772
- "slots": [
2773
- {
2774
- "name": "default",
2775
- "description": "custom text content"
2776
- }
2777
- ],
2778
- "events": [],
2779
- "attributes": [
2780
- {
2781
- "name": "v-model:current-rate",
2782
- "default": "-",
2783
- "description": "Current rate",
2784
- "options": [],
2785
- "value": {
2786
- "type": "number",
2787
- "kind": "expression"
2788
- }
2789
- },
2790
- {
2791
- "name": "rate",
2792
- "default": "`100`",
2793
- "description": "Target rate",
2794
- "options": [],
2795
- "value": {
2796
- "type": "number | string",
2797
- "kind": "expression"
2798
- }
2799
- },
2800
- {
2801
- "name": "size",
2802
- "default": "`100px`",
2803
- "description": "Circle size",
2804
- "options": [],
2805
- "value": {
2806
- "type": "number | string",
2807
- "kind": "expression"
2808
- }
2809
- },
2810
- {
2811
- "name": "color",
2812
- "default": "`#1989fa`",
2813
- "description": "Progress color, passing object to render gradient",
2814
- "options": [],
2815
- "value": {
2816
- "type": "string | object",
2817
- "kind": "expression"
2818
- }
2819
- },
2820
- {
2821
- "name": "layer-color",
2822
- "default": "`white`",
2823
- "description": "Layer color",
2824
- "options": [],
2825
- "value": {
2826
- "type": "string",
2827
- "kind": "expression"
2828
- }
2829
- },
2830
- {
2831
- "name": "fill",
2832
- "default": "`none`",
2833
- "description": "Fill color",
2834
- "options": [],
2835
- "value": {
2836
- "type": "string",
2837
- "kind": "expression"
2838
- }
2839
- },
2840
- {
2841
- "name": "speed",
2842
- "default": "`0`",
2843
- "description": "Animate speed(rate/s)",
2841
+ "name": "speed",
2842
+ "default": "`0`",
2843
+ "description": "Animate speed(rate/s)",
2844
2844
  "options": [],
2845
2845
  "value": {
2846
2846
  "type": "number | string",
@@ -3313,136 +3313,153 @@
3313
3313
  ]
3314
3314
  },
3315
3315
  {
3316
- "name": "van-contact-card",
3316
+ "name": "van-contact-edit",
3317
3317
  "slots": [],
3318
3318
  "events": [
3319
3319
  {
3320
- "name": "click",
3321
- "description": "Emitted when component is clicked",
3320
+ "name": "save",
3321
+ "description": "Emitted when the save button is clicked",
3322
3322
  "arguments": [
3323
3323
  {
3324
- "name": "event",
3325
- "type": "MouseEvent"
3324
+ "name": "content",
3325
+ "type": "contact info"
3326
+ }
3327
+ ]
3328
+ },
3329
+ {
3330
+ "name": "delete",
3331
+ "description": "Emitted when the delete button is clicked",
3332
+ "arguments": [
3333
+ {
3334
+ "name": "content",
3335
+ "type": "contact info"
3326
3336
  }
3327
3337
  ]
3328
3338
  }
3329
3339
  ],
3330
3340
  "attributes": [
3331
3341
  {
3332
- "name": "type",
3333
- "default": "`add`",
3334
- "description": "Can be set to `edit`",
3342
+ "name": "contact-info",
3343
+ "default": "`[]`",
3344
+ "description": "Contact Info",
3335
3345
  "options": [],
3336
3346
  "value": {
3337
- "type": "string",
3347
+ "type": "Contact",
3338
3348
  "kind": "expression"
3339
3349
  }
3340
3350
  },
3341
3351
  {
3342
- "name": "name",
3343
- "default": "-",
3344
- "description": "Name",
3352
+ "name": "is-edit",
3353
+ "default": "`false`",
3354
+ "description": "Whether is editing",
3345
3355
  "options": [],
3346
3356
  "value": {
3347
- "type": "string",
3357
+ "type": "boolean",
3348
3358
  "kind": "expression"
3349
3359
  }
3350
3360
  },
3351
3361
  {
3352
- "name": "tel",
3353
- "default": "-",
3354
- "description": "Phone",
3362
+ "name": "is-saving",
3363
+ "default": "`false`",
3364
+ "description": "Whether to show save button loading status",
3355
3365
  "options": [],
3356
3366
  "value": {
3357
- "type": "string",
3367
+ "type": "boolean",
3358
3368
  "kind": "expression"
3359
3369
  }
3360
3370
  },
3361
3371
  {
3362
- "name": "add-text",
3363
- "default": "`Add contact info`",
3364
- "description": "Add card text",
3372
+ "name": "is-deleting",
3373
+ "default": "`false`",
3374
+ "description": "Whether to show delete button loading status",
3365
3375
  "options": [],
3366
3376
  "value": {
3367
- "type": "string",
3377
+ "type": "boolean",
3368
3378
  "kind": "expression"
3369
3379
  }
3370
3380
  },
3371
3381
  {
3372
- "name": "editable",
3373
- "default": "`true`",
3374
- "description": "Whether to allow editing of contacts",
3382
+ "name": "tel-validator",
3383
+ "default": "-",
3384
+ "description": "The method to validate tel",
3375
3385
  "options": [],
3376
3386
  "value": {
3377
- "type": "boolean",
3387
+ "type": "(tel: string) => boolean",
3378
3388
  "kind": "expression"
3379
3389
  }
3380
- }
3381
- ]
3382
- },
3383
- {
3384
- "name": "van-contact-list",
3385
- "slots": [],
3386
- "events": [
3387
- {
3388
- "name": "add",
3389
- "description": "Emitted when the add button is clicked",
3390
- "arguments": []
3391
3390
  },
3392
3391
  {
3393
- "name": "edit",
3394
- "description": "Emitted when the edit button is clicked",
3395
- "arguments": [
3396
- {
3397
- "name": "contact",
3398
- "type": "Contact"
3399
- },
3400
- {
3401
- "name": "index",
3402
- "type": "number"
3403
- }
3404
- ]
3392
+ "name": "show-set-default",
3393
+ "default": "`false`",
3394
+ "description": "Whether to show default contact switch",
3395
+ "options": [],
3396
+ "value": {
3397
+ "type": "boolean",
3398
+ "kind": "expression"
3399
+ }
3405
3400
  },
3406
3401
  {
3407
- "name": "select",
3408
- "description": "Emitted when a contact is selected",
3402
+ "name": "set-default-label",
3403
+ "default": "-",
3404
+ "description": "default contact switch label",
3405
+ "options": [],
3406
+ "value": {
3407
+ "type": "string",
3408
+ "kind": "expression"
3409
+ }
3410
+ }
3411
+ ]
3412
+ },
3413
+ {
3414
+ "name": "van-contact-card",
3415
+ "slots": [],
3416
+ "events": [
3417
+ {
3418
+ "name": "click",
3419
+ "description": "Emitted when component is clicked",
3409
3420
  "arguments": [
3410
3421
  {
3411
- "name": "contact",
3412
- "type": "Contact"
3413
- },
3414
- {
3415
- "name": "index",
3416
- "type": "number"
3422
+ "name": "event",
3423
+ "type": "MouseEvent"
3417
3424
  }
3418
3425
  ]
3419
3426
  }
3420
3427
  ],
3421
3428
  "attributes": [
3422
3429
  {
3423
- "name": "v-model",
3430
+ "name": "type",
3431
+ "default": "`add`",
3432
+ "description": "Can be set to `edit`",
3433
+ "options": [],
3434
+ "value": {
3435
+ "type": "string",
3436
+ "kind": "expression"
3437
+ }
3438
+ },
3439
+ {
3440
+ "name": "name",
3424
3441
  "default": "-",
3425
- "description": "Id of chosen contact",
3442
+ "description": "Name",
3426
3443
  "options": [],
3427
3444
  "value": {
3428
- "type": "number | string",
3445
+ "type": "string",
3429
3446
  "kind": "expression"
3430
3447
  }
3431
3448
  },
3432
3449
  {
3433
- "name": "list",
3434
- "default": "`[]`",
3435
- "description": "Contact list",
3450
+ "name": "tel",
3451
+ "default": "-",
3452
+ "description": "Phone",
3436
3453
  "options": [],
3437
3454
  "value": {
3438
- "type": "Contact[]",
3455
+ "type": "string",
3439
3456
  "kind": "expression"
3440
3457
  }
3441
3458
  },
3442
3459
  {
3443
3460
  "name": "add-text",
3444
- "default": "`Add new contact`",
3445
- "description": "Add button text",
3461
+ "default": "`Add contact info`",
3462
+ "description": "Add card text",
3446
3463
  "options": [],
3447
3464
  "value": {
3448
3465
  "type": "string",
@@ -3450,12 +3467,12 @@
3450
3467
  }
3451
3468
  },
3452
3469
  {
3453
- "name": "default-tag-text",
3454
- "default": "-",
3455
- "description": "Default tag text",
3470
+ "name": "editable",
3471
+ "default": "`true`",
3472
+ "description": "Whether to allow editing of contacts",
3456
3473
  "options": [],
3457
3474
  "value": {
3458
- "type": "string",
3475
+ "type": "boolean",
3459
3476
  "kind": "expression"
3460
3477
  }
3461
3478
  }
@@ -3530,95 +3547,78 @@
3530
3547
  ]
3531
3548
  },
3532
3549
  {
3533
- "name": "van-contact-edit",
3550
+ "name": "van-contact-list",
3534
3551
  "slots": [],
3535
3552
  "events": [
3536
3553
  {
3537
- "name": "save",
3538
- "description": "Emitted when the save button is clicked",
3554
+ "name": "add",
3555
+ "description": "Emitted when the add button is clicked",
3556
+ "arguments": []
3557
+ },
3558
+ {
3559
+ "name": "edit",
3560
+ "description": "Emitted when the edit button is clicked",
3539
3561
  "arguments": [
3540
3562
  {
3541
- "name": "content",
3542
- "type": "contact info"
3563
+ "name": "contact",
3564
+ "type": "Contact"
3565
+ },
3566
+ {
3567
+ "name": "index",
3568
+ "type": "number"
3543
3569
  }
3544
3570
  ]
3545
3571
  },
3546
3572
  {
3547
- "name": "delete",
3548
- "description": "Emitted when the delete button is clicked",
3573
+ "name": "select",
3574
+ "description": "Emitted when a contact is selected",
3549
3575
  "arguments": [
3550
3576
  {
3551
- "name": "content",
3552
- "type": "contact info"
3577
+ "name": "contact",
3578
+ "type": "Contact"
3579
+ },
3580
+ {
3581
+ "name": "index",
3582
+ "type": "number"
3553
3583
  }
3554
3584
  ]
3555
3585
  }
3556
3586
  ],
3557
3587
  "attributes": [
3558
3588
  {
3559
- "name": "contact-info",
3560
- "default": "`[]`",
3561
- "description": "Contact Info",
3562
- "options": [],
3563
- "value": {
3564
- "type": "Contact",
3565
- "kind": "expression"
3566
- }
3567
- },
3568
- {
3569
- "name": "is-edit",
3570
- "default": "`false`",
3571
- "description": "Whether is editing",
3572
- "options": [],
3573
- "value": {
3574
- "type": "boolean",
3575
- "kind": "expression"
3576
- }
3577
- },
3578
- {
3579
- "name": "is-saving",
3580
- "default": "`false`",
3581
- "description": "Whether to show save button loading status",
3582
- "options": [],
3583
- "value": {
3584
- "type": "boolean",
3585
- "kind": "expression"
3586
- }
3587
- },
3588
- {
3589
- "name": "is-deleting",
3590
- "default": "`false`",
3591
- "description": "Whether to show delete button loading status",
3589
+ "name": "v-model",
3590
+ "default": "-",
3591
+ "description": "Id of chosen contact",
3592
3592
  "options": [],
3593
3593
  "value": {
3594
- "type": "boolean",
3594
+ "type": "number | string",
3595
3595
  "kind": "expression"
3596
3596
  }
3597
3597
  },
3598
3598
  {
3599
- "name": "tel-validator",
3600
- "default": "-",
3601
- "description": "The method to validate tel",
3599
+ "name": "list",
3600
+ "default": "`[]`",
3601
+ "description": "Contact list",
3602
3602
  "options": [],
3603
3603
  "value": {
3604
- "type": "(tel: string) => boolean",
3604
+ "type": "Contact[]",
3605
3605
  "kind": "expression"
3606
3606
  }
3607
3607
  },
3608
3608
  {
3609
- "name": "show-set-default",
3610
- "default": "`false`",
3611
- "description": "Whether to show default contact switch",
3609
+ "name": "add-text",
3610
+ "default": "`Add new contact`",
3611
+ "description": "Add button text",
3612
3612
  "options": [],
3613
3613
  "value": {
3614
- "type": "boolean",
3614
+ "type": "string",
3615
3615
  "kind": "expression"
3616
3616
  }
3617
3617
  },
3618
3618
  {
3619
- "name": "set-default-label",
3619
+ "name": "default-tag-text",
3620
3620
  "default": "-",
3621
- "description": "default contact switch label",
3621
+ "description": "Default tag text",
3622
3622
  "options": [],
3623
3623
  "value": {
3624
3624
  "type": "string",
@@ -6715,60 +6715,93 @@
6715
6715
  ]
6716
6716
  },
6717
6717
  {
6718
- "name": "van-overlay",
6718
+ "name": "van-number-keyboard",
6719
6719
  "slots": [
6720
6720
  {
6721
- "name": "default",
6722
- "description": "Default slot"
6721
+ "name": "delete",
6722
+ "description": "Custom delete key content"
6723
+ },
6724
+ {
6725
+ "name": "extra-key",
6726
+ "description": "Custom extra key content"
6727
+ },
6728
+ {
6729
+ "name": "title-left",
6730
+ "description": "Custom title left content"
6723
6731
  }
6724
6732
  ],
6725
6733
  "events": [
6726
6734
  {
6727
- "name": "click",
6728
- "description": "Emitted when component is clicked",
6735
+ "name": "input",
6736
+ "description": "Emitted when a key is pressed",
6729
6737
  "arguments": [
6730
6738
  {
6731
- "name": "event",
6732
- "type": "MouseEvent"
6739
+ "name": "key",
6740
+ "type": "string"
6733
6741
  }
6734
6742
  ]
6743
+ },
6744
+ {
6745
+ "name": "delete",
6746
+ "description": "Emitted when the delete key is pressed",
6747
+ "arguments": []
6748
+ },
6749
+ {
6750
+ "name": "close",
6751
+ "description": "Emitted when the close button is clicked",
6752
+ "arguments": []
6753
+ },
6754
+ {
6755
+ "name": "blur",
6756
+ "description": "Emitted when the close button is clicked or the keyboard is blurred",
6757
+ "arguments": []
6758
+ },
6759
+ {
6760
+ "name": "show",
6761
+ "description": "Emitted when keyboard is fully displayed",
6762
+ "arguments": []
6763
+ },
6764
+ {
6765
+ "name": "hide",
6766
+ "description": "Emitted when keyboard is fully hidden",
6767
+ "arguments": []
6735
6768
  }
6736
6769
  ],
6737
6770
  "attributes": [
6738
6771
  {
6739
- "name": "show",
6740
- "default": "`false`",
6741
- "description": "Whether to show overlay",
6772
+ "name": "v-model",
6773
+ "default": "-",
6774
+ "description": "Current value",
6742
6775
  "options": [],
6743
6776
  "value": {
6744
- "type": "boolean",
6777
+ "type": "string",
6745
6778
  "kind": "expression"
6746
6779
  }
6747
6780
  },
6748
6781
  {
6749
- "name": "z-index",
6750
- "default": "`1`",
6751
- "description": "z-index",
6782
+ "name": "show",
6783
+ "default": "-",
6784
+ "description": "Whether to show keyboard",
6752
6785
  "options": [],
6753
6786
  "value": {
6754
- "type": "number | string",
6787
+ "type": "boolean",
6755
6788
  "kind": "expression"
6756
6789
  }
6757
6790
  },
6758
6791
  {
6759
- "name": "duration",
6760
- "default": "`0.3`",
6761
- "description": "Animation duration",
6792
+ "name": "title",
6793
+ "default": "-",
6794
+ "description": "Keyboard title",
6762
6795
  "options": [],
6763
6796
  "value": {
6764
- "type": "number | string",
6797
+ "type": "string",
6765
6798
  "kind": "expression"
6766
6799
  }
6767
6800
  },
6768
6801
  {
6769
- "name": "class-name",
6770
- "default": "-",
6771
- "description": "ClassName",
6802
+ "name": "theme",
6803
+ "default": "`default`",
6804
+ "description": "Keyboard theme, can be set to `custom`",
6772
6805
  "options": [],
6773
6806
  "value": {
6774
6807
  "type": "string",
@@ -6776,143 +6809,17 @@
6776
6809
  }
6777
6810
  },
6778
6811
  {
6779
- "name": "custom-class",
6780
- "default": "-",
6781
- "description": "Custom style",
6812
+ "name": "maxlength",
6813
+ "default": "`Infinity`",
6814
+ "description": "Value maxlength",
6782
6815
  "options": [],
6783
6816
  "value": {
6784
- "type": "object",
6817
+ "type": "number | string",
6785
6818
  "kind": "expression"
6786
6819
  }
6787
6820
  },
6788
6821
  {
6789
- "name": "lock-scroll",
6790
- "default": "`true`",
6791
- "description": "Whether to lock background scroll",
6792
- "options": [],
6793
- "value": {
6794
- "type": "boolean",
6795
- "kind": "expression"
6796
- }
6797
- },
6798
- {
6799
- "name": "lazy-render",
6800
- "default": "`true`",
6801
- "description": "Whether to lazy render util appeared",
6802
- "options": [],
6803
- "value": {
6804
- "type": "boolean",
6805
- "kind": "expression"
6806
- }
6807
- }
6808
- ]
6809
- },
6810
- {
6811
- "name": "van-number-keyboard",
6812
- "slots": [
6813
- {
6814
- "name": "delete",
6815
- "description": "Custom delete key content"
6816
- },
6817
- {
6818
- "name": "extra-key",
6819
- "description": "Custom extra key content"
6820
- },
6821
- {
6822
- "name": "title-left",
6823
- "description": "Custom title left content"
6824
- }
6825
- ],
6826
- "events": [
6827
- {
6828
- "name": "input",
6829
- "description": "Emitted when a key is pressed",
6830
- "arguments": [
6831
- {
6832
- "name": "key",
6833
- "type": "string"
6834
- }
6835
- ]
6836
- },
6837
- {
6838
- "name": "delete",
6839
- "description": "Emitted when the delete key is pressed",
6840
- "arguments": []
6841
- },
6842
- {
6843
- "name": "close",
6844
- "description": "Emitted when the close button is clicked",
6845
- "arguments": []
6846
- },
6847
- {
6848
- "name": "blur",
6849
- "description": "Emitted when the close button is clicked or the keyboard is blurred",
6850
- "arguments": []
6851
- },
6852
- {
6853
- "name": "show",
6854
- "description": "Emitted when keyboard is fully displayed",
6855
- "arguments": []
6856
- },
6857
- {
6858
- "name": "hide",
6859
- "description": "Emitted when keyboard is fully hidden",
6860
- "arguments": []
6861
- }
6862
- ],
6863
- "attributes": [
6864
- {
6865
- "name": "v-model",
6866
- "default": "-",
6867
- "description": "Current value",
6868
- "options": [],
6869
- "value": {
6870
- "type": "string",
6871
- "kind": "expression"
6872
- }
6873
- },
6874
- {
6875
- "name": "show",
6876
- "default": "-",
6877
- "description": "Whether to show keyboard",
6878
- "options": [],
6879
- "value": {
6880
- "type": "boolean",
6881
- "kind": "expression"
6882
- }
6883
- },
6884
- {
6885
- "name": "title",
6886
- "default": "-",
6887
- "description": "Keyboard title",
6888
- "options": [],
6889
- "value": {
6890
- "type": "string",
6891
- "kind": "expression"
6892
- }
6893
- },
6894
- {
6895
- "name": "theme",
6896
- "default": "`default`",
6897
- "description": "Keyboard theme, can be set to `custom`",
6898
- "options": [],
6899
- "value": {
6900
- "type": "string",
6901
- "kind": "expression"
6902
- }
6903
- },
6904
- {
6905
- "name": "maxlength",
6906
- "default": "`Infinity`",
6907
- "description": "Value maxlength",
6908
- "options": [],
6909
- "value": {
6910
- "type": "number | string",
6911
- "kind": "expression"
6912
- }
6913
- },
6914
- {
6915
- "name": "transition",
6822
+ "name": "transition",
6916
6823
  "default": "`true`",
6917
6824
  "description": "Whether to show transition animation",
6918
6825
  "options": [],
@@ -7149,6 +7056,99 @@
7149
7056
  }
7150
7057
  ]
7151
7058
  },
7059
+ {
7060
+ "name": "van-overlay",
7061
+ "slots": [
7062
+ {
7063
+ "name": "default",
7064
+ "description": "Default slot"
7065
+ }
7066
+ ],
7067
+ "events": [
7068
+ {
7069
+ "name": "click",
7070
+ "description": "Emitted when component is clicked",
7071
+ "arguments": [
7072
+ {
7073
+ "name": "event",
7074
+ "type": "MouseEvent"
7075
+ }
7076
+ ]
7077
+ }
7078
+ ],
7079
+ "attributes": [
7080
+ {
7081
+ "name": "show",
7082
+ "default": "`false`",
7083
+ "description": "Whether to show overlay",
7084
+ "options": [],
7085
+ "value": {
7086
+ "type": "boolean",
7087
+ "kind": "expression"
7088
+ }
7089
+ },
7090
+ {
7091
+ "name": "z-index",
7092
+ "default": "`1`",
7093
+ "description": "z-index",
7094
+ "options": [],
7095
+ "value": {
7096
+ "type": "number | string",
7097
+ "kind": "expression"
7098
+ }
7099
+ },
7100
+ {
7101
+ "name": "duration",
7102
+ "default": "`0.3`",
7103
+ "description": "Animation duration",
7104
+ "options": [],
7105
+ "value": {
7106
+ "type": "number | string",
7107
+ "kind": "expression"
7108
+ }
7109
+ },
7110
+ {
7111
+ "name": "class-name",
7112
+ "default": "-",
7113
+ "description": "ClassName",
7114
+ "options": [],
7115
+ "value": {
7116
+ "type": "string",
7117
+ "kind": "expression"
7118
+ }
7119
+ },
7120
+ {
7121
+ "name": "custom-class",
7122
+ "default": "-",
7123
+ "description": "Custom style",
7124
+ "options": [],
7125
+ "value": {
7126
+ "type": "object",
7127
+ "kind": "expression"
7128
+ }
7129
+ },
7130
+ {
7131
+ "name": "lock-scroll",
7132
+ "default": "`true`",
7133
+ "description": "Whether to lock background scroll",
7134
+ "options": [],
7135
+ "value": {
7136
+ "type": "boolean",
7137
+ "kind": "expression"
7138
+ }
7139
+ },
7140
+ {
7141
+ "name": "lazy-render",
7142
+ "default": "`true`",
7143
+ "description": "Whether to lazy render util appeared",
7144
+ "options": [],
7145
+ "value": {
7146
+ "type": "boolean",
7147
+ "kind": "expression"
7148
+ }
7149
+ }
7150
+ ]
7151
+ },
7152
7152
  {
7153
7153
  "name": "van-password-input",
7154
7154
  "slots": [],
@@ -7705,27 +7705,124 @@
7705
7705
  ]
7706
7706
  },
7707
7707
  {
7708
- "name": "van-popup",
7709
- "slots": [
7708
+ "name": "van-progress",
7709
+ "slots": [],
7710
+ "events": [],
7711
+ "attributes": [
7710
7712
  {
7711
- "name": "default",
7712
- "description": "Content of Popup"
7713
+ "name": "percentage",
7714
+ "default": "`0`",
7715
+ "description": "Percentage",
7716
+ "options": [],
7717
+ "value": {
7718
+ "type": "number | string",
7719
+ "kind": "expression"
7720
+ }
7713
7721
  },
7714
7722
  {
7715
- "name": "overlay-content",
7716
- "description": "Content of Popup overlay"
7717
- }
7718
- ],
7719
- "events": [
7720
- {
7721
- "name": "click",
7722
- "description": "Emitted when Popup is clicked",
7723
- "arguments": [
7724
- {
7725
- "name": "event",
7726
- "type": "MouseEvent"
7727
- }
7728
- ]
7723
+ "name": "stroke-width",
7724
+ "default": "`4px`",
7725
+ "description": "Stroke width",
7726
+ "options": [],
7727
+ "value": {
7728
+ "type": "number | string",
7729
+ "kind": "expression"
7730
+ }
7731
+ },
7732
+ {
7733
+ "name": "color",
7734
+ "default": "`#1989fa`",
7735
+ "description": "Color",
7736
+ "options": [],
7737
+ "value": {
7738
+ "type": "string",
7739
+ "kind": "expression"
7740
+ }
7741
+ },
7742
+ {
7743
+ "name": "track-color",
7744
+ "default": "`#e5e5e5`",
7745
+ "description": "Track color",
7746
+ "options": [],
7747
+ "value": {
7748
+ "type": "string",
7749
+ "kind": "expression"
7750
+ }
7751
+ },
7752
+ {
7753
+ "name": "pivot-text",
7754
+ "default": "percentage",
7755
+ "description": "Pivot text",
7756
+ "options": [],
7757
+ "value": {
7758
+ "type": "string",
7759
+ "kind": "expression"
7760
+ }
7761
+ },
7762
+ {
7763
+ "name": "pivot-color",
7764
+ "default": "inherit progress color",
7765
+ "description": "Pivot text background color",
7766
+ "options": [],
7767
+ "value": {
7768
+ "type": "string",
7769
+ "kind": "expression"
7770
+ }
7771
+ },
7772
+ {
7773
+ "name": "text-color",
7774
+ "default": "`white`",
7775
+ "description": "Pivot text color",
7776
+ "options": [],
7777
+ "value": {
7778
+ "type": "string",
7779
+ "kind": "expression"
7780
+ }
7781
+ },
7782
+ {
7783
+ "name": "inactive",
7784
+ "default": "`false`",
7785
+ "description": "Whether to be gray",
7786
+ "options": [],
7787
+ "value": {
7788
+ "type": "boolean",
7789
+ "kind": "expression"
7790
+ }
7791
+ },
7792
+ {
7793
+ "name": "show-pivot",
7794
+ "default": "`true`",
7795
+ "description": "Whether to show text",
7796
+ "options": [],
7797
+ "value": {
7798
+ "type": "boolean",
7799
+ "kind": "expression"
7800
+ }
7801
+ }
7802
+ ]
7803
+ },
7804
+ {
7805
+ "name": "van-popup",
7806
+ "slots": [
7807
+ {
7808
+ "name": "default",
7809
+ "description": "Content of Popup"
7810
+ },
7811
+ {
7812
+ "name": "overlay-content",
7813
+ "description": "Content of Popup overlay"
7814
+ }
7815
+ ],
7816
+ "events": [
7817
+ {
7818
+ "name": "click",
7819
+ "description": "Emitted when Popup is clicked",
7820
+ "arguments": [
7821
+ {
7822
+ "name": "event",
7823
+ "type": "MouseEvent"
7824
+ }
7825
+ ]
7729
7826
  },
7730
7827
  {
7731
7828
  "name": "click-overlay",
@@ -7981,103 +8078,6 @@
7981
8078
  }
7982
8079
  ]
7983
8080
  },
7984
- {
7985
- "name": "van-progress",
7986
- "slots": [],
7987
- "events": [],
7988
- "attributes": [
7989
- {
7990
- "name": "percentage",
7991
- "default": "`0`",
7992
- "description": "Percentage",
7993
- "options": [],
7994
- "value": {
7995
- "type": "number | string",
7996
- "kind": "expression"
7997
- }
7998
- },
7999
- {
8000
- "name": "stroke-width",
8001
- "default": "`4px`",
8002
- "description": "Stroke width",
8003
- "options": [],
8004
- "value": {
8005
- "type": "number | string",
8006
- "kind": "expression"
8007
- }
8008
- },
8009
- {
8010
- "name": "color",
8011
- "default": "`#1989fa`",
8012
- "description": "Color",
8013
- "options": [],
8014
- "value": {
8015
- "type": "string",
8016
- "kind": "expression"
8017
- }
8018
- },
8019
- {
8020
- "name": "track-color",
8021
- "default": "`#e5e5e5`",
8022
- "description": "Track color",
8023
- "options": [],
8024
- "value": {
8025
- "type": "string",
8026
- "kind": "expression"
8027
- }
8028
- },
8029
- {
8030
- "name": "pivot-text",
8031
- "default": "percentage",
8032
- "description": "Pivot text",
8033
- "options": [],
8034
- "value": {
8035
- "type": "string",
8036
- "kind": "expression"
8037
- }
8038
- },
8039
- {
8040
- "name": "pivot-color",
8041
- "default": "inherit progress color",
8042
- "description": "Pivot text background color",
8043
- "options": [],
8044
- "value": {
8045
- "type": "string",
8046
- "kind": "expression"
8047
- }
8048
- },
8049
- {
8050
- "name": "text-color",
8051
- "default": "`white`",
8052
- "description": "Pivot text color",
8053
- "options": [],
8054
- "value": {
8055
- "type": "string",
8056
- "kind": "expression"
8057
- }
8058
- },
8059
- {
8060
- "name": "inactive",
8061
- "default": "`false`",
8062
- "description": "Whether to be gray",
8063
- "options": [],
8064
- "value": {
8065
- "type": "boolean",
8066
- "kind": "expression"
8067
- }
8068
- },
8069
- {
8070
- "name": "show-pivot",
8071
- "default": "`true`",
8072
- "description": "Whether to show text",
8073
- "options": [],
8074
- "value": {
8075
- "type": "boolean",
8076
- "kind": "expression"
8077
- }
8078
- }
8079
- ]
8080
- },
8081
8081
  {
8082
8082
  "name": "van-pull-refresh",
8083
8083
  "slots": [
@@ -8549,97 +8549,141 @@
8549
8549
  ]
8550
8550
  },
8551
8551
  {
8552
- "name": "van-share-sheet",
8552
+ "name": "van-search",
8553
8553
  "slots": [
8554
8554
  {
8555
- "name": "title",
8556
- "description": "Custom title"
8555
+ "name": "left",
8556
+ "description": "Custom left side content"
8557
8557
  },
8558
8558
  {
8559
- "name": "description",
8560
- "description": "Custom description"
8559
+ "name": "action",
8560
+ "description": "Custom right button, displayed when `show-action` is `true`"
8561
8561
  },
8562
8562
  {
8563
- "name": "cancel",
8564
- "description": "Custom the content of cancel button"
8563
+ "name": "label",
8564
+ "description": "Custom Search label"
8565
+ },
8566
+ {
8567
+ "name": "left-icon",
8568
+ "description": "Custom left icon"
8569
+ },
8570
+ {
8571
+ "name": "right-icon",
8572
+ "description": "Custom right icon"
8565
8573
  }
8566
8574
  ],
8567
8575
  "events": [
8568
8576
  {
8569
- "name": "select",
8570
- "description": "Emitted when an option is clicked",
8577
+ "name": "search",
8578
+ "description": "Emitted when confirming search",
8571
8579
  "arguments": [
8572
8580
  {
8573
- "name": "option",
8574
- "type": "Option"
8575
- },
8581
+ "name": "value",
8582
+ "type": "string"
8583
+ }
8584
+ ]
8585
+ },
8586
+ {
8587
+ "name": "update:model-value",
8588
+ "description": "Emitted when input value changed",
8589
+ "arguments": [
8576
8590
  {
8577
- "name": "index",
8578
- "type": "number"
8591
+ "name": "value",
8592
+ "type": "string"
8579
8593
  }
8580
8594
  ]
8581
8595
  },
8582
8596
  {
8583
- "name": "cancel",
8584
- "description": "Emitted when the cancel button is clicked",
8585
- "arguments": []
8597
+ "name": "focus",
8598
+ "description": "Emitted when input is focused",
8599
+ "arguments": [
8600
+ {
8601
+ "name": "event",
8602
+ "type": "Event"
8603
+ }
8604
+ ]
8586
8605
  },
8587
8606
  {
8588
- "name": "open",
8589
- "description": "Emitted when opening ShareSheet",
8590
- "arguments": []
8607
+ "name": "blur",
8608
+ "description": "Emitted when input is blurred",
8609
+ "arguments": [
8610
+ {
8611
+ "name": "event",
8612
+ "type": "Event"
8613
+ }
8614
+ ]
8591
8615
  },
8592
8616
  {
8593
- "name": "close",
8594
- "description": "Emitted when closing ShareSheet",
8595
- "arguments": []
8617
+ "name": "click-input",
8618
+ "description": "Emitted when the input is clicked",
8619
+ "arguments": [
8620
+ {
8621
+ "name": "event",
8622
+ "type": "MouseEvent"
8623
+ }
8624
+ ]
8596
8625
  },
8597
8626
  {
8598
- "name": "opened",
8599
- "description": "Emitted when ShareSheet is opened",
8600
- "arguments": []
8627
+ "name": "click-left-icon",
8628
+ "description": "Emitted when the left icon is clicked",
8629
+ "arguments": [
8630
+ {
8631
+ "name": "event",
8632
+ "type": "MouseEvent"
8633
+ }
8634
+ ]
8601
8635
  },
8602
8636
  {
8603
- "name": "closed",
8604
- "description": "Emitted when ShareSheet is closed",
8605
- "arguments": []
8637
+ "name": "click-right-icon",
8638
+ "description": "Emitted when the right icon is clicked",
8639
+ "arguments": [
8640
+ {
8641
+ "name": "event",
8642
+ "type": "MouseEvent"
8643
+ }
8644
+ ]
8606
8645
  },
8607
8646
  {
8608
- "name": "click-overlay",
8609
- "description": "Emitted when overlay is clicked",
8647
+ "name": "clear",
8648
+ "description": "Emitted when the clear icon is clicked",
8610
8649
  "arguments": [
8611
8650
  {
8612
8651
  "name": "event",
8613
8652
  "type": "MouseEvent"
8614
8653
  }
8615
8654
  ]
8655
+ },
8656
+ {
8657
+ "name": "cancel",
8658
+ "description": "Emitted when the cancel button is clicked",
8659
+ "arguments": []
8616
8660
  }
8617
8661
  ],
8618
8662
  "attributes": [
8619
8663
  {
8620
- "name": "v-model:show",
8621
- "default": "`false`",
8622
- "description": "Whether to show ShareSheet",
8664
+ "name": "v-model",
8665
+ "default": "-",
8666
+ "description": "Input value",
8623
8667
  "options": [],
8624
8668
  "value": {
8625
- "type": "boolean",
8669
+ "type": "number | string",
8626
8670
  "kind": "expression"
8627
8671
  }
8628
8672
  },
8629
8673
  {
8630
- "name": "options",
8631
- "default": "`[]`",
8632
- "description": "Share options",
8674
+ "name": "label",
8675
+ "default": "-",
8676
+ "description": "Left side label",
8633
8677
  "options": [],
8634
8678
  "value": {
8635
- "type": "Option[]",
8679
+ "type": "string",
8636
8680
  "kind": "expression"
8637
8681
  }
8638
8682
  },
8639
8683
  {
8640
- "name": "title",
8684
+ "name": "name",
8641
8685
  "default": "-",
8642
- "description": "Title",
8686
+ "description": "As the identifier when submitting the form",
8643
8687
  "options": [],
8644
8688
  "value": {
8645
8689
  "type": "string",
@@ -8647,9 +8691,9 @@
8647
8691
  }
8648
8692
  },
8649
8693
  {
8650
- "name": "cancel-text",
8651
- "default": "`'Cancel'`",
8652
- "description": "Cancel button text",
8694
+ "name": "shape",
8695
+ "default": "`square`",
8696
+ "description": "Shape of field, can be set to `round`",
8653
8697
  "options": [],
8654
8698
  "value": {
8655
8699
  "type": "string",
@@ -8657,9 +8701,9 @@
8657
8701
  }
8658
8702
  },
8659
8703
  {
8660
- "name": "description",
8661
- "default": "-",
8662
- "description": "Description",
8704
+ "name": "id",
8705
+ "default": "`van-search-n-input`",
8706
+ "description": "Input id, the for attribute of the label also will be set",
8663
8707
  "options": [],
8664
8708
  "value": {
8665
8709
  "type": "string",
@@ -8667,9 +8711,19 @@
8667
8711
  }
8668
8712
  },
8669
8713
  {
8670
- "name": "duration",
8671
- "default": "`0.3`",
8672
- "description": "Transition duration, unit second",
8714
+ "name": "background",
8715
+ "default": "`#f2f2f2`",
8716
+ "description": "Background color of field",
8717
+ "options": [],
8718
+ "value": {
8719
+ "type": "string",
8720
+ "kind": "expression"
8721
+ }
8722
+ },
8723
+ {
8724
+ "name": "maxlength",
8725
+ "default": "-",
8726
+ "description": "Max length of value",
8673
8727
  "options": [],
8674
8728
  "value": {
8675
8729
  "type": "number | string",
@@ -8677,19 +8731,19 @@
8677
8731
  }
8678
8732
  },
8679
8733
  {
8680
- "name": "round",
8681
- "default": "`true`",
8682
- "description": "Whether to show round corner",
8734
+ "name": "placeholder",
8735
+ "default": "-",
8736
+ "description": "Placeholder",
8683
8737
  "options": [],
8684
8738
  "value": {
8685
- "type": "boolean",
8739
+ "type": "string",
8686
8740
  "kind": "expression"
8687
8741
  }
8688
8742
  },
8689
8743
  {
8690
- "name": "overlay",
8744
+ "name": "clearable",
8691
8745
  "default": "`true`",
8692
- "description": "Whether to show overlay",
8746
+ "description": "Whether to be clearable",
8693
8747
  "options": [],
8694
8748
  "value": {
8695
8749
  "type": "boolean",
@@ -8697,29 +8751,29 @@
8697
8751
  }
8698
8752
  },
8699
8753
  {
8700
- "name": "overlay-class",
8701
- "default": "-",
8702
- "description": "Custom overlay class",
8754
+ "name": "clear-icon",
8755
+ "default": "`clear`",
8756
+ "description": "Clear icon name",
8703
8757
  "options": [],
8704
8758
  "value": {
8705
- "type": "string | Array | object",
8759
+ "type": "string",
8706
8760
  "kind": "expression"
8707
8761
  }
8708
8762
  },
8709
8763
  {
8710
- "name": "overlay-style",
8711
- "default": "-",
8712
- "description": "Custom overlay style",
8764
+ "name": "clear-trigger",
8765
+ "default": "`focus`",
8766
+ "description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused",
8713
8767
  "options": [],
8714
8768
  "value": {
8715
- "type": "object",
8769
+ "type": "string",
8716
8770
  "kind": "expression"
8717
8771
  }
8718
8772
  },
8719
8773
  {
8720
- "name": "lock-scroll",
8721
- "default": "`true`",
8722
- "description": "Whether to lock background scroll",
8774
+ "name": "autofocus",
8775
+ "default": "`false`",
8776
+ "description": "Whether to auto focus, unsupported in iOS",
8723
8777
  "options": [],
8724
8778
  "value": {
8725
8779
  "type": "boolean",
@@ -8727,9 +8781,9 @@
8727
8781
  }
8728
8782
  },
8729
8783
  {
8730
- "name": "lazy-render",
8731
- "default": "`true`",
8732
- "description": "Whether to lazy render util appeared",
8784
+ "name": "show-action",
8785
+ "default": "`false`",
8786
+ "description": "Whether to show right action button",
8733
8787
  "options": [],
8734
8788
  "value": {
8735
8789
  "type": "boolean",
@@ -8737,9 +8791,19 @@
8737
8791
  }
8738
8792
  },
8739
8793
  {
8740
- "name": "close-on-popstate",
8741
- "default": "`true`",
8742
- "description": "Whether to close when popstate",
8794
+ "name": "action-text",
8795
+ "default": "`Cancel`",
8796
+ "description": "Text of action button",
8797
+ "options": [],
8798
+ "value": {
8799
+ "type": "string",
8800
+ "kind": "expression"
8801
+ }
8802
+ },
8803
+ {
8804
+ "name": "disabled",
8805
+ "default": "`false`",
8806
+ "description": "Whether to disable field",
8743
8807
  "options": [],
8744
8808
  "value": {
8745
8809
  "type": "boolean",
@@ -8747,9 +8811,9 @@
8747
8811
  }
8748
8812
  },
8749
8813
  {
8750
- "name": "close-on-click-overlay",
8751
- "default": "`true`",
8752
- "description": "Whether to close when overlay is clicked",
8814
+ "name": "readonly",
8815
+ "default": "`false`",
8816
+ "description": "Whether to be readonly",
8753
8817
  "options": [],
8754
8818
  "value": {
8755
8819
  "type": "boolean",
@@ -8757,9 +8821,9 @@
8757
8821
  }
8758
8822
  },
8759
8823
  {
8760
- "name": "safe-area-inset-bottom",
8761
- "default": "`true`",
8762
- "description": "Whether to enable bottom safe area adaptation",
8824
+ "name": "error",
8825
+ "default": "`false`",
8826
+ "description": "Whether to mark the input content in red",
8763
8827
  "options": [],
8764
8828
  "value": {
8765
8829
  "type": "boolean",
@@ -8767,213 +8831,169 @@
8767
8831
  }
8768
8832
  },
8769
8833
  {
8770
- "name": "teleport",
8834
+ "name": "error-message",
8771
8835
  "default": "-",
8772
- "description": "Specifies a target element where ShareSheet will be mounted",
8836
+ "description": "Error message",
8773
8837
  "options": [],
8774
8838
  "value": {
8775
- "type": "string | Element",
8839
+ "type": "string",
8776
8840
  "kind": "expression"
8777
8841
  }
8778
8842
  },
8779
8843
  {
8780
- "name": "before-close",
8844
+ "name": "formatter",
8781
8845
  "default": "-",
8782
- "description": "Callback function before close",
8846
+ "description": "Input value formatter",
8783
8847
  "options": [],
8784
8848
  "value": {
8785
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
8849
+ "type": "(val: string) => string",
8786
8850
  "kind": "expression"
8787
8851
  }
8788
- }
8789
- ]
8790
- },
8791
- {
8792
- "name": "van-search",
8793
- "slots": [
8794
- {
8795
- "name": "left",
8796
- "description": "Custom left side content"
8797
8852
  },
8798
8853
  {
8799
- "name": "action",
8800
- "description": "Custom right button, displayed when `show-action` is `true`"
8854
+ "name": "format-trigger",
8855
+ "default": "`onChange`",
8856
+ "description": "When to format value, can be set to `onBlur`",
8857
+ "options": [],
8858
+ "value": {
8859
+ "type": "string",
8860
+ "kind": "expression"
8861
+ }
8801
8862
  },
8802
8863
  {
8803
- "name": "label",
8804
- "description": "Custom Search label"
8864
+ "name": "input-align",
8865
+ "default": "`left`",
8866
+ "description": "Text align of field, can be set to `center` `right`",
8867
+ "options": [],
8868
+ "value": {
8869
+ "type": "string",
8870
+ "kind": "expression"
8871
+ }
8805
8872
  },
8806
8873
  {
8807
8874
  "name": "left-icon",
8808
- "description": "Custom left icon"
8875
+ "default": "`search`",
8876
+ "description": "Left icon name",
8877
+ "options": [],
8878
+ "value": {
8879
+ "type": "string",
8880
+ "kind": "expression"
8881
+ }
8809
8882
  },
8810
8883
  {
8811
8884
  "name": "right-icon",
8812
- "description": "Custom right icon"
8885
+ "default": "-",
8886
+ "description": "Right icon name",
8887
+ "options": [],
8888
+ "value": {
8889
+ "type": "string",
8890
+ "kind": "expression"
8891
+ }
8892
+ },
8893
+ {
8894
+ "name": "autocomplete",
8895
+ "default": "-",
8896
+ "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
8897
+ "options": [],
8898
+ "value": {
8899
+ "type": "string",
8900
+ "kind": "expression"
8901
+ }
8902
+ }
8903
+ ]
8904
+ },
8905
+ {
8906
+ "name": "van-share-sheet",
8907
+ "slots": [
8908
+ {
8909
+ "name": "title",
8910
+ "description": "Custom title"
8911
+ },
8912
+ {
8913
+ "name": "description",
8914
+ "description": "Custom description"
8915
+ },
8916
+ {
8917
+ "name": "cancel",
8918
+ "description": "Custom the content of cancel button"
8813
8919
  }
8814
8920
  ],
8815
8921
  "events": [
8816
8922
  {
8817
- "name": "search",
8818
- "description": "Emitted when confirming search",
8923
+ "name": "select",
8924
+ "description": "Emitted when an option is clicked",
8819
8925
  "arguments": [
8820
8926
  {
8821
- "name": "value",
8822
- "type": "string"
8823
- }
8824
- ]
8825
- },
8826
- {
8827
- "name": "update:model-value",
8828
- "description": "Emitted when input value changed",
8829
- "arguments": [
8927
+ "name": "option",
8928
+ "type": "Option"
8929
+ },
8830
8930
  {
8831
- "name": "value",
8832
- "type": "string"
8931
+ "name": "index",
8932
+ "type": "number"
8833
8933
  }
8834
8934
  ]
8835
8935
  },
8836
8936
  {
8837
- "name": "focus",
8838
- "description": "Emitted when input is focused",
8839
- "arguments": [
8840
- {
8841
- "name": "event",
8842
- "type": "Event"
8843
- }
8844
- ]
8937
+ "name": "cancel",
8938
+ "description": "Emitted when the cancel button is clicked",
8939
+ "arguments": []
8845
8940
  },
8846
8941
  {
8847
- "name": "blur",
8848
- "description": "Emitted when input is blurred",
8849
- "arguments": [
8850
- {
8851
- "name": "event",
8852
- "type": "Event"
8853
- }
8854
- ]
8942
+ "name": "open",
8943
+ "description": "Emitted when opening ShareSheet",
8944
+ "arguments": []
8855
8945
  },
8856
8946
  {
8857
- "name": "click-input",
8858
- "description": "Emitted when the input is clicked",
8859
- "arguments": [
8860
- {
8861
- "name": "event",
8862
- "type": "MouseEvent"
8863
- }
8864
- ]
8947
+ "name": "close",
8948
+ "description": "Emitted when closing ShareSheet",
8949
+ "arguments": []
8865
8950
  },
8866
8951
  {
8867
- "name": "click-left-icon",
8868
- "description": "Emitted when the left icon is clicked",
8869
- "arguments": [
8870
- {
8871
- "name": "event",
8872
- "type": "MouseEvent"
8873
- }
8874
- ]
8952
+ "name": "opened",
8953
+ "description": "Emitted when ShareSheet is opened",
8954
+ "arguments": []
8875
8955
  },
8876
8956
  {
8877
- "name": "click-right-icon",
8878
- "description": "Emitted when the right icon is clicked",
8879
- "arguments": [
8880
- {
8881
- "name": "event",
8882
- "type": "MouseEvent"
8883
- }
8884
- ]
8957
+ "name": "closed",
8958
+ "description": "Emitted when ShareSheet is closed",
8959
+ "arguments": []
8885
8960
  },
8886
8961
  {
8887
- "name": "clear",
8888
- "description": "Emitted when the clear icon is clicked",
8962
+ "name": "click-overlay",
8963
+ "description": "Emitted when overlay is clicked",
8889
8964
  "arguments": [
8890
8965
  {
8891
8966
  "name": "event",
8892
8967
  "type": "MouseEvent"
8893
8968
  }
8894
8969
  ]
8895
- },
8896
- {
8897
- "name": "cancel",
8898
- "description": "Emitted when the cancel button is clicked",
8899
- "arguments": []
8900
8970
  }
8901
- ],
8902
- "attributes": [
8903
- {
8904
- "name": "v-model",
8905
- "default": "-",
8906
- "description": "Input value",
8907
- "options": [],
8908
- "value": {
8909
- "type": "number | string",
8910
- "kind": "expression"
8911
- }
8912
- },
8913
- {
8914
- "name": "label",
8915
- "default": "-",
8916
- "description": "Left side label",
8917
- "options": [],
8918
- "value": {
8919
- "type": "string",
8920
- "kind": "expression"
8921
- }
8922
- },
8923
- {
8924
- "name": "name",
8925
- "default": "-",
8926
- "description": "As the identifier when submitting the form",
8927
- "options": [],
8928
- "value": {
8929
- "type": "string",
8930
- "kind": "expression"
8931
- }
8932
- },
8933
- {
8934
- "name": "shape",
8935
- "default": "`square`",
8936
- "description": "Shape of field, can be set to `round`",
8937
- "options": [],
8938
- "value": {
8939
- "type": "string",
8940
- "kind": "expression"
8941
- }
8942
- },
8943
- {
8944
- "name": "id",
8945
- "default": "`van-search-n-input`",
8946
- "description": "Input id, the for attribute of the label also will be set",
8947
- "options": [],
8948
- "value": {
8949
- "type": "string",
8950
- "kind": "expression"
8951
- }
8952
- },
8971
+ ],
8972
+ "attributes": [
8953
8973
  {
8954
- "name": "background",
8955
- "default": "`#f2f2f2`",
8956
- "description": "Background color of field",
8974
+ "name": "v-model:show",
8975
+ "default": "`false`",
8976
+ "description": "Whether to show ShareSheet",
8957
8977
  "options": [],
8958
8978
  "value": {
8959
- "type": "string",
8979
+ "type": "boolean",
8960
8980
  "kind": "expression"
8961
8981
  }
8962
8982
  },
8963
8983
  {
8964
- "name": "maxlength",
8965
- "default": "-",
8966
- "description": "Max length of value",
8984
+ "name": "options",
8985
+ "default": "`[]`",
8986
+ "description": "Share options",
8967
8987
  "options": [],
8968
8988
  "value": {
8969
- "type": "number | string",
8989
+ "type": "Option[]",
8970
8990
  "kind": "expression"
8971
8991
  }
8972
8992
  },
8973
8993
  {
8974
- "name": "placeholder",
8994
+ "name": "title",
8975
8995
  "default": "-",
8976
- "description": "Placeholder",
8996
+ "description": "Title",
8977
8997
  "options": [],
8978
8998
  "value": {
8979
8999
  "type": "string",
@@ -8981,19 +9001,19 @@
8981
9001
  }
8982
9002
  },
8983
9003
  {
8984
- "name": "clearable",
8985
- "default": "`true`",
8986
- "description": "Whether to be clearable",
9004
+ "name": "cancel-text",
9005
+ "default": "`'Cancel'`",
9006
+ "description": "Cancel button text",
8987
9007
  "options": [],
8988
9008
  "value": {
8989
- "type": "boolean",
9009
+ "type": "string",
8990
9010
  "kind": "expression"
8991
9011
  }
8992
9012
  },
8993
9013
  {
8994
- "name": "clear-icon",
8995
- "default": "`clear`",
8996
- "description": "Clear icon name",
9014
+ "name": "description",
9015
+ "default": "-",
9016
+ "description": "Description",
8997
9017
  "options": [],
8998
9018
  "value": {
8999
9019
  "type": "string",
@@ -9001,19 +9021,19 @@
9001
9021
  }
9002
9022
  },
9003
9023
  {
9004
- "name": "clear-trigger",
9005
- "default": "`focus`",
9006
- "description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused",
9024
+ "name": "duration",
9025
+ "default": "`0.3`",
9026
+ "description": "Transition duration, unit second",
9007
9027
  "options": [],
9008
9028
  "value": {
9009
- "type": "string",
9029
+ "type": "number | string",
9010
9030
  "kind": "expression"
9011
9031
  }
9012
9032
  },
9013
9033
  {
9014
- "name": "autofocus",
9015
- "default": "`false`",
9016
- "description": "Whether to auto focus, unsupported in iOS",
9034
+ "name": "round",
9035
+ "default": "`true`",
9036
+ "description": "Whether to show round corner",
9017
9037
  "options": [],
9018
9038
  "value": {
9019
9039
  "type": "boolean",
@@ -9021,9 +9041,9 @@
9021
9041
  }
9022
9042
  },
9023
9043
  {
9024
- "name": "show-action",
9025
- "default": "`false`",
9026
- "description": "Whether to show right action button",
9044
+ "name": "overlay",
9045
+ "default": "`true`",
9046
+ "description": "Whether to show overlay",
9027
9047
  "options": [],
9028
9048
  "value": {
9029
9049
  "type": "boolean",
@@ -9031,29 +9051,29 @@
9031
9051
  }
9032
9052
  },
9033
9053
  {
9034
- "name": "action-text",
9035
- "default": "`Cancel`",
9036
- "description": "Text of action button",
9054
+ "name": "overlay-class",
9055
+ "default": "-",
9056
+ "description": "Custom overlay class",
9037
9057
  "options": [],
9038
9058
  "value": {
9039
- "type": "string",
9059
+ "type": "string | Array | object",
9040
9060
  "kind": "expression"
9041
9061
  }
9042
9062
  },
9043
9063
  {
9044
- "name": "disabled",
9045
- "default": "`false`",
9046
- "description": "Whether to disable field",
9064
+ "name": "overlay-style",
9065
+ "default": "-",
9066
+ "description": "Custom overlay style",
9047
9067
  "options": [],
9048
9068
  "value": {
9049
- "type": "boolean",
9069
+ "type": "object",
9050
9070
  "kind": "expression"
9051
9071
  }
9052
9072
  },
9053
9073
  {
9054
- "name": "readonly",
9055
- "default": "`false`",
9056
- "description": "Whether to be readonly",
9074
+ "name": "lock-scroll",
9075
+ "default": "`true`",
9076
+ "description": "Whether to lock background scroll",
9057
9077
  "options": [],
9058
9078
  "value": {
9059
9079
  "type": "boolean",
@@ -9061,9 +9081,9 @@
9061
9081
  }
9062
9082
  },
9063
9083
  {
9064
- "name": "error",
9065
- "default": "`false`",
9066
- "description": "Whether to mark the input content in red",
9084
+ "name": "lazy-render",
9085
+ "default": "`true`",
9086
+ "description": "Whether to lazy render util appeared",
9067
9087
  "options": [],
9068
9088
  "value": {
9069
9089
  "type": "boolean",
@@ -9071,72 +9091,52 @@
9071
9091
  }
9072
9092
  },
9073
9093
  {
9074
- "name": "error-message",
9075
- "default": "-",
9076
- "description": "Error message",
9077
- "options": [],
9078
- "value": {
9079
- "type": "string",
9080
- "kind": "expression"
9081
- }
9082
- },
9083
- {
9084
- "name": "formatter",
9085
- "default": "-",
9086
- "description": "Input value formatter",
9087
- "options": [],
9088
- "value": {
9089
- "type": "(val: string) => string",
9090
- "kind": "expression"
9091
- }
9092
- },
9093
- {
9094
- "name": "format-trigger",
9095
- "default": "`onChange`",
9096
- "description": "When to format value, can be set to `onBlur`",
9094
+ "name": "close-on-popstate",
9095
+ "default": "`true`",
9096
+ "description": "Whether to close when popstate",
9097
9097
  "options": [],
9098
9098
  "value": {
9099
- "type": "string",
9099
+ "type": "boolean",
9100
9100
  "kind": "expression"
9101
9101
  }
9102
9102
  },
9103
9103
  {
9104
- "name": "input-align",
9105
- "default": "`left`",
9106
- "description": "Text align of field, can be set to `center` `right`",
9104
+ "name": "close-on-click-overlay",
9105
+ "default": "`true`",
9106
+ "description": "Whether to close when overlay is clicked",
9107
9107
  "options": [],
9108
9108
  "value": {
9109
- "type": "string",
9109
+ "type": "boolean",
9110
9110
  "kind": "expression"
9111
9111
  }
9112
9112
  },
9113
9113
  {
9114
- "name": "left-icon",
9115
- "default": "`search`",
9116
- "description": "Left icon name",
9114
+ "name": "safe-area-inset-bottom",
9115
+ "default": "`true`",
9116
+ "description": "Whether to enable bottom safe area adaptation",
9117
9117
  "options": [],
9118
9118
  "value": {
9119
- "type": "string",
9119
+ "type": "boolean",
9120
9120
  "kind": "expression"
9121
9121
  }
9122
9122
  },
9123
9123
  {
9124
- "name": "right-icon",
9124
+ "name": "teleport",
9125
9125
  "default": "-",
9126
- "description": "Right icon name",
9126
+ "description": "Specifies a target element where ShareSheet will be mounted",
9127
9127
  "options": [],
9128
9128
  "value": {
9129
- "type": "string",
9129
+ "type": "string | Element",
9130
9130
  "kind": "expression"
9131
9131
  }
9132
9132
  },
9133
9133
  {
9134
- "name": "autocomplete",
9134
+ "name": "before-close",
9135
9135
  "default": "-",
9136
- "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element",
9136
+ "description": "Callback function before close",
9137
9137
  "options": [],
9138
9138
  "value": {
9139
- "type": "string",
9139
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
9140
9140
  "kind": "expression"
9141
9141
  }
9142
9142
  }
@@ -9380,6 +9380,68 @@
9380
9380
  }
9381
9381
  ]
9382
9382
  },
9383
+ {
9384
+ "name": "van-space",
9385
+ "slots": [
9386
+ {
9387
+ "name": "default",
9388
+ "description": "Default slot"
9389
+ }
9390
+ ],
9391
+ "events": [],
9392
+ "attributes": [
9393
+ {
9394
+ "name": "direction",
9395
+ "default": "`horizontal`",
9396
+ "description": "Spacing direction",
9397
+ "options": [],
9398
+ "value": {
9399
+ "type": "vertical | horizontal",
9400
+ "kind": "expression"
9401
+ }
9402
+ },
9403
+ {
9404
+ "name": "size",
9405
+ "default": "`8px`",
9406
+ "description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
9407
+ "options": [],
9408
+ "value": {
9409
+ "type": "number | string | number[] | string[]",
9410
+ "kind": "expression"
9411
+ }
9412
+ },
9413
+ {
9414
+ "name": "align",
9415
+ "default": "-",
9416
+ "description": "Spacing alignment",
9417
+ "options": [],
9418
+ "value": {
9419
+ "type": "start | end | center | baseline",
9420
+ "kind": "expression"
9421
+ }
9422
+ },
9423
+ {
9424
+ "name": "wrap",
9425
+ "default": "`false`",
9426
+ "description": "Whether to wrap automatically, only for horizontal alignment",
9427
+ "options": [],
9428
+ "value": {
9429
+ "type": "boolean",
9430
+ "kind": "expression"
9431
+ }
9432
+ },
9433
+ {
9434
+ "name": "fill",
9435
+ "default": "`false`",
9436
+ "description": "Whether to render Space as a block element and fill the parent element",
9437
+ "options": [],
9438
+ "value": {
9439
+ "type": "boolean",
9440
+ "kind": "expression"
9441
+ }
9442
+ }
9443
+ ]
9444
+ },
9383
9445
  {
9384
9446
  "name": "van-slider",
9385
9447
  "slots": [
@@ -9571,62 +9633,77 @@
9571
9633
  ]
9572
9634
  },
9573
9635
  {
9574
- "name": "van-space",
9575
- "slots": [
9636
+ "name": "van-sticky",
9637
+ "slots": [],
9638
+ "events": [
9576
9639
  {
9577
- "name": "default",
9578
- "description": "Default slot"
9640
+ "name": "change",
9641
+ "description": "Emitted when sticky status changed",
9642
+ "arguments": [
9643
+ {
9644
+ "name": "isFixed",
9645
+ "type": "boolean"
9646
+ }
9647
+ ]
9648
+ },
9649
+ {
9650
+ "name": "scroll",
9651
+ "description": "Emitted when scrolling",
9652
+ "arguments": [
9653
+ {
9654
+ "name": "{ scrollTop: number, isFixed: boolean }"
9655
+ }
9656
+ ]
9579
9657
  }
9580
9658
  ],
9581
- "events": [],
9582
9659
  "attributes": [
9583
9660
  {
9584
- "name": "direction",
9585
- "default": "`horizontal`",
9586
- "description": "Spacing direction",
9661
+ "name": "position",
9662
+ "default": "`top`",
9663
+ "description": "Offset position, can be set to `bottom`",
9587
9664
  "options": [],
9588
9665
  "value": {
9589
- "type": "vertical | horizontal",
9666
+ "type": "string",
9590
9667
  "kind": "expression"
9591
9668
  }
9592
9669
  },
9593
9670
  {
9594
- "name": "size",
9595
- "default": "`8px`",
9596
- "description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
9671
+ "name": "offset-top",
9672
+ "default": "`0`",
9673
+ "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
9597
9674
  "options": [],
9598
9675
  "value": {
9599
- "type": "number | string | number[] | string[]",
9676
+ "type": "number | string",
9600
9677
  "kind": "expression"
9601
9678
  }
9602
9679
  },
9603
9680
  {
9604
- "name": "align",
9605
- "default": "-",
9606
- "description": "Spacing alignment",
9681
+ "name": "offset-bottom",
9682
+ "default": "`0`",
9683
+ "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
9607
9684
  "options": [],
9608
9685
  "value": {
9609
- "type": "start | end | center | baseline",
9686
+ "type": "number | string",
9610
9687
  "kind": "expression"
9611
9688
  }
9612
- },
9613
- {
9614
- "name": "wrap",
9615
- "default": "`false`",
9616
- "description": "Whether to wrap automatically, only for horizontal alignment",
9689
+ },
9690
+ {
9691
+ "name": "z-index",
9692
+ "default": "`99`",
9693
+ "description": "z-index when sticky",
9617
9694
  "options": [],
9618
9695
  "value": {
9619
- "type": "boolean",
9696
+ "type": "number | string",
9620
9697
  "kind": "expression"
9621
9698
  }
9622
9699
  },
9623
9700
  {
9624
- "name": "fill",
9625
- "default": "`false`",
9626
- "description": "Whether to render Space as a block element and fill the parent element",
9701
+ "name": "container",
9702
+ "default": "-",
9703
+ "description": "Container DOM",
9627
9704
  "options": [],
9628
9705
  "value": {
9629
- "type": "boolean",
9706
+ "type": "Element",
9630
9707
  "kind": "expression"
9631
9708
  }
9632
9709
  }
@@ -10031,44 +10108,44 @@
10031
10108
  "attributes": []
10032
10109
  },
10033
10110
  {
10034
- "name": "van-sticky",
10035
- "slots": [],
10036
- "events": [
10111
+ "name": "van-swipe",
10112
+ "slots": [
10037
10113
  {
10038
- "name": "change",
10039
- "description": "Emitted when sticky status changed",
10040
- "arguments": [
10041
- {
10042
- "name": "isFixed",
10043
- "type": "boolean"
10044
- }
10045
- ]
10114
+ "name": "default",
10115
+ "description": "Content"
10046
10116
  },
10047
10117
  {
10048
- "name": "scroll",
10049
- "description": "Emitted when scrolling",
10118
+ "name": "indicator",
10119
+ "description": "Custom indicator"
10120
+ }
10121
+ ],
10122
+ "events": [
10123
+ {
10124
+ "name": "change",
10125
+ "description": "Emitted when current swipe changed",
10050
10126
  "arguments": [
10051
10127
  {
10052
- "name": "{ scrollTop: number, isFixed: boolean }"
10128
+ "name": "index",
10129
+ "type": "index of current swipe"
10053
10130
  }
10054
10131
  ]
10055
10132
  }
10056
10133
  ],
10057
10134
  "attributes": [
10058
10135
  {
10059
- "name": "position",
10060
- "default": "`top`",
10061
- "description": "Offset position, can be set to `bottom`",
10136
+ "name": "autoplay",
10137
+ "default": "-",
10138
+ "description": "Autoplay interval (ms)",
10062
10139
  "options": [],
10063
10140
  "value": {
10064
- "type": "string",
10141
+ "type": "number | string",
10065
10142
  "kind": "expression"
10066
10143
  }
10067
10144
  },
10068
10145
  {
10069
- "name": "offset-top",
10070
- "default": "`0`",
10071
- "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
10146
+ "name": "duration",
10147
+ "default": "`500`",
10148
+ "description": "Animation duration (ms)",
10072
10149
  "options": [],
10073
10150
  "value": {
10074
10151
  "type": "number | string",
@@ -10076,9 +10153,9 @@
10076
10153
  }
10077
10154
  },
10078
10155
  {
10079
- "name": "offset-bottom",
10156
+ "name": "initial-swipe",
10080
10157
  "default": "`0`",
10081
- "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
10158
+ "description": "Index of initial swipe, start from 0",
10082
10159
  "options": [],
10083
10160
  "value": {
10084
10161
  "type": "number | string",
@@ -10086,9 +10163,9 @@
10086
10163
  }
10087
10164
  },
10088
10165
  {
10089
- "name": "z-index",
10090
- "default": "`99`",
10091
- "description": "z-index when sticky",
10166
+ "name": "width",
10167
+ "default": "`0`",
10168
+ "description": "Width of swipe item",
10092
10169
  "options": [],
10093
10170
  "value": {
10094
10171
  "type": "number | string",
@@ -10096,306 +10173,246 @@
10096
10173
  }
10097
10174
  },
10098
10175
  {
10099
- "name": "container",
10100
- "default": "-",
10101
- "description": "Container DOM",
10176
+ "name": "height",
10177
+ "default": "`0`",
10178
+ "description": "Height of swipe item",
10102
10179
  "options": [],
10103
10180
  "value": {
10104
- "type": "Element",
10181
+ "type": "number | string",
10105
10182
  "kind": "expression"
10106
10183
  }
10107
- }
10108
- ]
10109
- },
10110
- {
10111
- "name": "van-submit-bar",
10112
- "slots": [
10113
- {
10114
- "name": "default",
10115
- "description": "Custom left content"
10116
- },
10117
- {
10118
- "name": "button",
10119
- "description": "Custom button"
10120
10184
  },
10121
10185
  {
10122
- "name": "top",
10123
- "description": "Custom top content"
10124
- },
10125
- {
10126
- "name": "tip",
10127
- "description": "Custom tips"
10128
- }
10129
- ],
10130
- "events": [
10131
- {
10132
- "name": "submit",
10133
- "description": "Triggered when click submit button",
10134
- "arguments": []
10135
- }
10136
- ],
10137
- "attributes": [
10138
- {
10139
- "name": "price",
10140
- "default": "-",
10141
- "description": "Price",
10186
+ "name": "loop",
10187
+ "default": "`true`",
10188
+ "description": "Whether to enable loop",
10142
10189
  "options": [],
10143
10190
  "value": {
10144
- "type": "number",
10191
+ "type": "boolean",
10145
10192
  "kind": "expression"
10146
10193
  }
10147
10194
  },
10148
10195
  {
10149
- "name": "decimal-length",
10150
- "default": "`2`",
10151
- "description": "Price decimal length",
10196
+ "name": "show-indicators",
10197
+ "default": "`true`",
10198
+ "description": "Whether to show indicators",
10152
10199
  "options": [],
10153
10200
  "value": {
10154
- "type": "number | string",
10201
+ "type": "boolean",
10155
10202
  "kind": "expression"
10156
10203
  }
10157
10204
  },
10158
10205
  {
10159
- "name": "label",
10160
- "default": "`Total: `",
10161
- "description": "Price left label",
10206
+ "name": "vertical",
10207
+ "default": "`false`",
10208
+ "description": "Whether to be vertical Scrolling",
10162
10209
  "options": [],
10163
10210
  "value": {
10164
- "type": "string",
10211
+ "type": "boolean",
10165
10212
  "kind": "expression"
10166
10213
  }
10167
10214
  },
10168
10215
  {
10169
- "name": "suffix-label",
10170
- "default": "-",
10171
- "description": "Price right label",
10216
+ "name": "touchable",
10217
+ "default": "`true`",
10218
+ "description": "Whether to allow swipe by touch gesture",
10172
10219
  "options": [],
10173
10220
  "value": {
10174
- "type": "string",
10221
+ "type": "boolean",
10175
10222
  "kind": "expression"
10176
10223
  }
10177
10224
  },
10178
10225
  {
10179
- "name": "text-align",
10180
- "default": "`right`",
10181
- "description": "Price label text align can be set to `left`",
10226
+ "name": "stop-propagation",
10227
+ "default": "`false`",
10228
+ "description": "Whether to stop touchmove event propagation",
10182
10229
  "options": [],
10183
10230
  "value": {
10184
- "type": "string",
10231
+ "type": "boolean",
10185
10232
  "kind": "expression"
10186
10233
  }
10187
10234
  },
10188
10235
  {
10189
- "name": "button-text",
10190
- "default": "-",
10191
- "description": "Button text",
10236
+ "name": "lazy-render",
10237
+ "default": "`false`",
10238
+ "description": "Whether to enable lazy render",
10192
10239
  "options": [],
10193
10240
  "value": {
10194
- "type": "string",
10241
+ "type": "boolean",
10195
10242
  "kind": "expression"
10196
10243
  }
10197
10244
  },
10198
10245
  {
10199
- "name": "button-type",
10200
- "default": "`danger`",
10201
- "description": "Button type",
10246
+ "name": "indicator-color",
10247
+ "default": "`#1989fa`",
10248
+ "description": "Indicator color",
10202
10249
  "options": [],
10203
10250
  "value": {
10204
10251
  "type": "string",
10205
10252
  "kind": "expression"
10206
10253
  }
10207
- },
10254
+ }
10255
+ ]
10256
+ },
10257
+ {
10258
+ "name": "van-swipe-item",
10259
+ "slots": [],
10260
+ "events": [
10208
10261
  {
10209
- "name": "button-color",
10210
- "default": "-",
10211
- "description": "Button color",
10212
- "options": [],
10213
- "value": {
10214
- "type": "string",
10215
- "kind": "expression"
10216
- }
10217
- },
10262
+ "name": "click",
10263
+ "description": "Emitted when component is clicked",
10264
+ "arguments": [
10265
+ {
10266
+ "name": "event",
10267
+ "type": "MouseEvent"
10268
+ }
10269
+ ]
10270
+ }
10271
+ ],
10272
+ "attributes": []
10273
+ },
10274
+ {
10275
+ "name": "van-submit-bar",
10276
+ "slots": [
10218
10277
  {
10219
- "name": "tip",
10220
- "default": "-",
10221
- "description": "Tip",
10222
- "options": [],
10223
- "value": {
10224
- "type": "string",
10225
- "kind": "expression"
10226
- }
10278
+ "name": "default",
10279
+ "description": "Custom left content"
10227
10280
  },
10228
10281
  {
10229
- "name": "tip-icon",
10230
- "default": "-",
10231
- "description": "Tip left icon",
10232
- "options": [],
10233
- "value": {
10234
- "type": "string",
10235
- "kind": "expression"
10236
- }
10282
+ "name": "button",
10283
+ "description": "Custom button"
10237
10284
  },
10238
10285
  {
10239
- "name": "currency",
10240
- "default": "`¥`",
10241
- "description": "Currency symbol",
10242
- "options": [],
10243
- "value": {
10244
- "type": "string",
10245
- "kind": "expression"
10246
- }
10286
+ "name": "top",
10287
+ "description": "Custom top content"
10247
10288
  },
10248
10289
  {
10249
- "name": "disabled",
10250
- "default": "`false`",
10251
- "description": "Whether to disable button",
10252
- "options": [],
10253
- "value": {
10254
- "type": "boolean",
10255
- "kind": "expression"
10256
- }
10257
- },
10290
+ "name": "tip",
10291
+ "description": "Custom tips"
10292
+ }
10293
+ ],
10294
+ "events": [
10258
10295
  {
10259
- "name": "loading",
10260
- "default": "`false`",
10261
- "description": "Whether to show loading icon",
10296
+ "name": "submit",
10297
+ "description": "Triggered when click submit button",
10298
+ "arguments": []
10299
+ }
10300
+ ],
10301
+ "attributes": [
10302
+ {
10303
+ "name": "price",
10304
+ "default": "-",
10305
+ "description": "Price",
10262
10306
  "options": [],
10263
10307
  "value": {
10264
- "type": "boolean",
10308
+ "type": "number",
10265
10309
  "kind": "expression"
10266
10310
  }
10267
10311
  },
10268
10312
  {
10269
- "name": "safe-area-inset-bottom",
10270
- "default": "`true`",
10271
- "description": "Whether to enable bottom safe area adaptation",
10313
+ "name": "decimal-length",
10314
+ "default": "`2`",
10315
+ "description": "Price decimal length",
10272
10316
  "options": [],
10273
10317
  "value": {
10274
- "type": "boolean",
10318
+ "type": "number | string",
10275
10319
  "kind": "expression"
10276
10320
  }
10277
10321
  },
10278
10322
  {
10279
- "name": "placeholder",
10280
- "default": "`false`",
10281
- "description": "Whether to generate a placeholder element",
10323
+ "name": "label",
10324
+ "default": "`Total: `",
10325
+ "description": "Price left label",
10282
10326
  "options": [],
10283
10327
  "value": {
10284
- "type": "boolean",
10328
+ "type": "string",
10285
10329
  "kind": "expression"
10286
10330
  }
10287
- }
10288
- ]
10289
- },
10290
- {
10291
- "name": "van-swipe",
10292
- "slots": [
10293
- {
10294
- "name": "default",
10295
- "description": "Content"
10296
10331
  },
10297
10332
  {
10298
- "name": "indicator",
10299
- "description": "Custom indicator"
10300
- }
10301
- ],
10302
- "events": [
10303
- {
10304
- "name": "change",
10305
- "description": "Emitted when current swipe changed",
10306
- "arguments": [
10307
- {
10308
- "name": "index",
10309
- "type": "index of current swipe"
10310
- }
10311
- ]
10312
- }
10313
- ],
10314
- "attributes": [
10315
- {
10316
- "name": "autoplay",
10333
+ "name": "suffix-label",
10317
10334
  "default": "-",
10318
- "description": "Autoplay interval (ms)",
10335
+ "description": "Price right label",
10319
10336
  "options": [],
10320
10337
  "value": {
10321
- "type": "number | string",
10338
+ "type": "string",
10322
10339
  "kind": "expression"
10323
10340
  }
10324
10341
  },
10325
10342
  {
10326
- "name": "duration",
10327
- "default": "`500`",
10328
- "description": "Animation duration (ms)",
10343
+ "name": "text-align",
10344
+ "default": "`right`",
10345
+ "description": "Price label text align can be set to `left`",
10329
10346
  "options": [],
10330
10347
  "value": {
10331
- "type": "number | string",
10348
+ "type": "string",
10332
10349
  "kind": "expression"
10333
10350
  }
10334
10351
  },
10335
10352
  {
10336
- "name": "initial-swipe",
10337
- "default": "`0`",
10338
- "description": "Index of initial swipe, start from 0",
10353
+ "name": "button-text",
10354
+ "default": "-",
10355
+ "description": "Button text",
10339
10356
  "options": [],
10340
10357
  "value": {
10341
- "type": "number | string",
10358
+ "type": "string",
10342
10359
  "kind": "expression"
10343
10360
  }
10344
10361
  },
10345
10362
  {
10346
- "name": "width",
10347
- "default": "`0`",
10348
- "description": "Width of swipe item",
10363
+ "name": "button-type",
10364
+ "default": "`danger`",
10365
+ "description": "Button type",
10349
10366
  "options": [],
10350
10367
  "value": {
10351
- "type": "number | string",
10368
+ "type": "string",
10352
10369
  "kind": "expression"
10353
10370
  }
10354
10371
  },
10355
10372
  {
10356
- "name": "height",
10357
- "default": "`0`",
10358
- "description": "Height of swipe item",
10373
+ "name": "button-color",
10374
+ "default": "-",
10375
+ "description": "Button color",
10359
10376
  "options": [],
10360
10377
  "value": {
10361
- "type": "number | string",
10378
+ "type": "string",
10362
10379
  "kind": "expression"
10363
10380
  }
10364
10381
  },
10365
10382
  {
10366
- "name": "loop",
10367
- "default": "`true`",
10368
- "description": "Whether to enable loop",
10383
+ "name": "tip",
10384
+ "default": "-",
10385
+ "description": "Tip",
10369
10386
  "options": [],
10370
10387
  "value": {
10371
- "type": "boolean",
10388
+ "type": "string",
10372
10389
  "kind": "expression"
10373
10390
  }
10374
10391
  },
10375
10392
  {
10376
- "name": "show-indicators",
10377
- "default": "`true`",
10378
- "description": "Whether to show indicators",
10393
+ "name": "tip-icon",
10394
+ "default": "-",
10395
+ "description": "Tip left icon",
10379
10396
  "options": [],
10380
10397
  "value": {
10381
- "type": "boolean",
10398
+ "type": "string",
10382
10399
  "kind": "expression"
10383
10400
  }
10384
10401
  },
10385
10402
  {
10386
- "name": "vertical",
10387
- "default": "`false`",
10388
- "description": "Whether to be vertical Scrolling",
10403
+ "name": "currency",
10404
+ "default": "`¥`",
10405
+ "description": "Currency symbol",
10389
10406
  "options": [],
10390
10407
  "value": {
10391
- "type": "boolean",
10408
+ "type": "string",
10392
10409
  "kind": "expression"
10393
10410
  }
10394
10411
  },
10395
10412
  {
10396
- "name": "touchable",
10397
- "default": "`true`",
10398
- "description": "Whether to allow swipe by touch gesture",
10413
+ "name": "disabled",
10414
+ "default": "`false`",
10415
+ "description": "Whether to disable button",
10399
10416
  "options": [],
10400
10417
  "value": {
10401
10418
  "type": "boolean",
@@ -10403,9 +10420,9 @@
10403
10420
  }
10404
10421
  },
10405
10422
  {
10406
- "name": "stop-propagation",
10423
+ "name": "loading",
10407
10424
  "default": "`false`",
10408
- "description": "Whether to stop touchmove event propagation",
10425
+ "description": "Whether to show loading icon",
10409
10426
  "options": [],
10410
10427
  "value": {
10411
10428
  "type": "boolean",
@@ -10413,9 +10430,9 @@
10413
10430
  }
10414
10431
  },
10415
10432
  {
10416
- "name": "lazy-render",
10417
- "default": "`false`",
10418
- "description": "Whether to enable lazy render",
10433
+ "name": "safe-area-inset-bottom",
10434
+ "default": "`true`",
10435
+ "description": "Whether to enable bottom safe area adaptation",
10419
10436
  "options": [],
10420
10437
  "value": {
10421
10438
  "type": "boolean",
@@ -10423,34 +10440,17 @@
10423
10440
  }
10424
10441
  },
10425
10442
  {
10426
- "name": "indicator-color",
10427
- "default": "`#1989fa`",
10428
- "description": "Indicator color",
10443
+ "name": "placeholder",
10444
+ "default": "`false`",
10445
+ "description": "Whether to generate a placeholder element",
10429
10446
  "options": [],
10430
10447
  "value": {
10431
- "type": "string",
10448
+ "type": "boolean",
10432
10449
  "kind": "expression"
10433
10450
  }
10434
10451
  }
10435
10452
  ]
10436
10453
  },
10437
- {
10438
- "name": "van-swipe-item",
10439
- "slots": [],
10440
- "events": [
10441
- {
10442
- "name": "click",
10443
- "description": "Emitted when component is clicked",
10444
- "arguments": [
10445
- {
10446
- "name": "event",
10447
- "type": "MouseEvent"
10448
- }
10449
- ]
10450
- }
10451
- ],
10452
- "attributes": []
10453
- },
10454
10454
  {
10455
10455
  "name": "van-swipe-cell",
10456
10456
  "slots": [
@@ -11194,26 +11194,149 @@
11194
11194
  "name": "van-tabbar-item",
11195
11195
  "slots": [
11196
11196
  {
11197
- "name": "icon",
11198
- "description": "Custom icon"
11197
+ "name": "icon",
11198
+ "description": "Custom icon"
11199
+ }
11200
+ ],
11201
+ "events": [],
11202
+ "attributes": [
11203
+ {
11204
+ "name": "name",
11205
+ "default": "Item index",
11206
+ "description": "Identifier",
11207
+ "options": [],
11208
+ "value": {
11209
+ "type": "number | string",
11210
+ "kind": "expression"
11211
+ }
11212
+ },
11213
+ {
11214
+ "name": "icon",
11215
+ "default": "-",
11216
+ "description": "Icon name",
11217
+ "options": [],
11218
+ "value": {
11219
+ "type": "string",
11220
+ "kind": "expression"
11221
+ }
11222
+ },
11223
+ {
11224
+ "name": "icon-prefix",
11225
+ "default": "`van-icon`",
11226
+ "description": "Icon className prefix",
11227
+ "options": [],
11228
+ "value": {
11229
+ "type": "string",
11230
+ "kind": "expression"
11231
+ }
11232
+ },
11233
+ {
11234
+ "name": "dot",
11235
+ "default": "-",
11236
+ "description": "Whether to show red dot",
11237
+ "options": [],
11238
+ "value": {
11239
+ "type": "boolean",
11240
+ "kind": "expression"
11241
+ }
11242
+ },
11243
+ {
11244
+ "name": "badge",
11245
+ "default": "`''`",
11246
+ "description": "Content of the badge",
11247
+ "options": [],
11248
+ "value": {
11249
+ "type": "number | string",
11250
+ "kind": "expression"
11251
+ }
11252
+ },
11253
+ {
11254
+ "name": "badge-props",
11255
+ "default": "-",
11256
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
11257
+ "options": [],
11258
+ "value": {
11259
+ "type": "BadgeProps",
11260
+ "kind": "expression"
11261
+ }
11262
+ },
11263
+ {
11264
+ "name": "url",
11265
+ "default": "-",
11266
+ "description": "Link",
11267
+ "options": [],
11268
+ "value": {
11269
+ "type": "string",
11270
+ "kind": "expression"
11271
+ }
11272
+ },
11273
+ {
11274
+ "name": "to",
11275
+ "default": "-",
11276
+ "description": "Target route of the link, same as to of vue-router",
11277
+ "options": [],
11278
+ "value": {
11279
+ "type": "string | object",
11280
+ "kind": "expression"
11281
+ }
11282
+ },
11283
+ {
11284
+ "name": "replace",
11285
+ "default": "`false`",
11286
+ "description": "If true, the navigation will not leave a history record",
11287
+ "options": [],
11288
+ "value": {
11289
+ "type": "boolean",
11290
+ "kind": "expression"
11291
+ }
11292
+ }
11293
+ ]
11294
+ },
11295
+ {
11296
+ "name": "van-tag",
11297
+ "slots": [
11298
+ {
11299
+ "name": "default",
11300
+ "description": "Default slot"
11301
+ }
11302
+ ],
11303
+ "events": [
11304
+ {
11305
+ "name": "click",
11306
+ "description": "Emitted when component is clicked",
11307
+ "arguments": [
11308
+ {
11309
+ "name": "event",
11310
+ "type": "MouseEvent"
11311
+ }
11312
+ ]
11313
+ },
11314
+ {
11315
+ "name": "close",
11316
+ "description": "Emitted when close icon is clicked",
11317
+ "arguments": [
11318
+ {
11319
+ "name": "event",
11320
+ "type": "MouseEvent"
11321
+ }
11322
+ ]
11199
11323
  }
11200
11324
  ],
11201
- "events": [],
11202
11325
  "attributes": [
11203
11326
  {
11204
- "name": "name",
11205
- "default": "Item index",
11206
- "description": "Identifier",
11327
+ "name": "type",
11328
+ "default": "`default`",
11329
+ "description": "Type, can be set to `primary` `success` `danger` `warning`",
11207
11330
  "options": [],
11208
11331
  "value": {
11209
- "type": "number | string",
11332
+ "type": "string",
11210
11333
  "kind": "expression"
11211
11334
  }
11212
11335
  },
11213
11336
  {
11214
- "name": "icon",
11337
+ "name": "size",
11215
11338
  "default": "-",
11216
- "description": "Icon name",
11339
+ "description": "Size, can be set to `large` `medium`",
11217
11340
  "options": [],
11218
11341
  "value": {
11219
11342
  "type": "string",
@@ -11221,9 +11344,9 @@
11221
11344
  }
11222
11345
  },
11223
11346
  {
11224
- "name": "icon-prefix",
11225
- "default": "`van-icon`",
11226
- "description": "Icon className prefix",
11347
+ "name": "color",
11348
+ "default": "-",
11349
+ "description": "Custom color",
11227
11350
  "options": [],
11228
11351
  "value": {
11229
11352
  "type": "string",
@@ -11231,9 +11354,9 @@
11231
11354
  }
11232
11355
  },
11233
11356
  {
11234
- "name": "dot",
11235
- "default": "-",
11236
- "description": "Whether to show red dot",
11357
+ "name": "show",
11358
+ "default": "`true`",
11359
+ "description": "Whether to show tag",
11237
11360
  "options": [],
11238
11361
  "value": {
11239
11362
  "type": "boolean",
@@ -11241,49 +11364,49 @@
11241
11364
  }
11242
11365
  },
11243
11366
  {
11244
- "name": "badge",
11245
- "default": "`''`",
11246
- "description": "Content of the badge",
11367
+ "name": "plain",
11368
+ "default": "`false`",
11369
+ "description": "Whether to be plain style",
11247
11370
  "options": [],
11248
11371
  "value": {
11249
- "type": "number | string",
11372
+ "type": "boolean",
11250
11373
  "kind": "expression"
11251
11374
  }
11252
11375
  },
11253
11376
  {
11254
- "name": "badge-props",
11255
- "default": "-",
11256
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
11377
+ "name": "round",
11378
+ "default": "`false`",
11379
+ "description": "Whether to be round style",
11257
11380
  "options": [],
11258
11381
  "value": {
11259
- "type": "BadgeProps",
11382
+ "type": "boolean",
11260
11383
  "kind": "expression"
11261
11384
  }
11262
11385
  },
11263
11386
  {
11264
- "name": "url",
11265
- "default": "-",
11266
- "description": "Link",
11387
+ "name": "mark",
11388
+ "default": "`false`",
11389
+ "description": "Whether to be mark style",
11267
11390
  "options": [],
11268
11391
  "value": {
11269
- "type": "string",
11392
+ "type": "boolean",
11270
11393
  "kind": "expression"
11271
11394
  }
11272
11395
  },
11273
11396
  {
11274
- "name": "to",
11275
- "default": "-",
11276
- "description": "Target route of the link, same as to of vue-router",
11397
+ "name": "text-color",
11398
+ "default": "`white`",
11399
+ "description": "Text color",
11277
11400
  "options": [],
11278
11401
  "value": {
11279
- "type": "string | object",
11402
+ "type": "string",
11280
11403
  "kind": "expression"
11281
11404
  }
11282
11405
  },
11283
11406
  {
11284
- "name": "replace",
11407
+ "name": "closeable",
11285
11408
  "default": "`false`",
11286
- "description": "If true, the navigation will not leave a history record",
11409
+ "description": "Whether to be closeable",
11287
11410
  "options": [],
11288
11411
  "value": {
11289
11412
  "type": "boolean",
@@ -11400,361 +11523,134 @@
11400
11523
  "description": "Min minute",
11401
11524
  "options": [],
11402
11525
  "value": {
11403
- "type": "number | string",
11404
- "kind": "expression"
11405
- }
11406
- },
11407
- {
11408
- "name": "max-minute",
11409
- "default": "`59`",
11410
- "description": "Max minute",
11411
- "options": [],
11412
- "value": {
11413
- "type": "number | string",
11414
- "kind": "expression"
11415
- }
11416
- },
11417
- {
11418
- "name": "min-second",
11419
- "default": "`0`",
11420
- "description": "Min second",
11421
- "options": [],
11422
- "value": {
11423
- "type": "number | string",
11424
- "kind": "expression"
11425
- }
11426
- },
11427
- {
11428
- "name": "max-second",
11429
- "default": "`59`",
11430
- "description": "Max second",
11431
- "options": [],
11432
- "value": {
11433
- "type": "number | string",
11434
- "kind": "expression"
11435
- }
11436
- },
11437
- {
11438
- "name": "title",
11439
- "default": "`''`",
11440
- "description": "Toolbar title",
11441
- "options": [],
11442
- "value": {
11443
- "type": "string",
11444
- "kind": "expression"
11445
- }
11446
- },
11447
- {
11448
- "name": "confirm-button-text",
11449
- "default": "`Confirm`",
11450
- "description": "Text of confirm button",
11451
- "options": [],
11452
- "value": {
11453
- "type": "string",
11454
- "kind": "expression"
11455
- }
11456
- },
11457
- {
11458
- "name": "cancel-button-text",
11459
- "default": "`Cancel`",
11460
- "description": "Text of cancel button",
11461
- "options": [],
11462
- "value": {
11463
- "type": "string",
11464
- "kind": "expression"
11465
- }
11466
- },
11467
- {
11468
- "name": "show-toolbar",
11469
- "default": "`true`",
11470
- "description": "Whether to show toolbar",
11471
- "options": [],
11472
- "value": {
11473
- "type": "boolean",
11474
- "kind": "expression"
11475
- }
11476
- },
11477
- {
11478
- "name": "loading",
11479
- "default": "`false`",
11480
- "description": "Whether to show loading prompt",
11481
- "options": [],
11482
- "value": {
11483
- "type": "boolean",
11484
- "kind": "expression"
11485
- }
11486
- },
11487
- {
11488
- "name": "readonly",
11489
- "default": "`false`",
11490
- "description": "Whether to be readonly",
11491
- "options": [],
11492
- "value": {
11493
- "type": "boolean",
11494
- "kind": "expression"
11495
- }
11496
- },
11497
- {
11498
- "name": "filter",
11499
- "default": "-",
11500
- "description": "Option filter",
11501
- "options": [],
11502
- "value": {
11503
- "type": "(type: string, options: PickerOption[]) => PickerOption[]",
11504
- "kind": "expression"
11505
- }
11506
- },
11507
- {
11508
- "name": "formatter",
11509
- "default": "-",
11510
- "description": "Option text formatter",
11511
- "options": [],
11512
- "value": {
11513
- "type": "(type: string, option: PickerOption) => PickerOption",
11514
- "kind": "expression"
11515
- }
11516
- },
11517
- {
11518
- "name": "option-height",
11519
- "default": "`44`",
11520
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
11521
- "options": [],
11522
- "value": {
11523
- "type": "number | string",
11524
- "kind": "expression"
11525
- }
11526
- },
11527
- {
11528
- "name": "visible-option-num",
11529
- "default": "`6`",
11530
- "description": "Count of visible columns",
11531
- "options": [],
11532
- "value": {
11533
- "type": "number | string",
11534
- "kind": "expression"
11535
- }
11536
- },
11537
- {
11538
- "name": "swipe-duration",
11539
- "default": "`1000`",
11540
- "description": "Duration of the momentum animation, unit `ms`",
11541
- "options": [],
11542
- "value": {
11543
- "type": "number | string",
11544
- "kind": "expression"
11545
- }
11546
- }
11547
- ]
11548
- },
11549
- {
11550
- "name": "van-tag",
11551
- "slots": [
11552
- {
11553
- "name": "default",
11554
- "description": "Default slot"
11555
- }
11556
- ],
11557
- "events": [
11558
- {
11559
- "name": "click",
11560
- "description": "Emitted when component is clicked",
11561
- "arguments": [
11562
- {
11563
- "name": "event",
11564
- "type": "MouseEvent"
11565
- }
11566
- ]
11567
- },
11568
- {
11569
- "name": "close",
11570
- "description": "Emitted when close icon is clicked",
11571
- "arguments": [
11572
- {
11573
- "name": "event",
11574
- "type": "MouseEvent"
11575
- }
11576
- ]
11577
- }
11578
- ],
11579
- "attributes": [
11580
- {
11581
- "name": "type",
11582
- "default": "`default`",
11583
- "description": "Type, can be set to `primary` `success` `danger` `warning`",
11584
- "options": [],
11585
- "value": {
11586
- "type": "string",
11526
+ "type": "number | string",
11587
11527
  "kind": "expression"
11588
11528
  }
11589
11529
  },
11590
11530
  {
11591
- "name": "size",
11592
- "default": "-",
11593
- "description": "Size, can be set to `large` `medium`",
11531
+ "name": "max-minute",
11532
+ "default": "`59`",
11533
+ "description": "Max minute",
11594
11534
  "options": [],
11595
11535
  "value": {
11596
- "type": "string",
11536
+ "type": "number | string",
11597
11537
  "kind": "expression"
11598
11538
  }
11599
11539
  },
11600
11540
  {
11601
- "name": "color",
11602
- "default": "-",
11603
- "description": "Custom color",
11541
+ "name": "min-second",
11542
+ "default": "`0`",
11543
+ "description": "Min second",
11604
11544
  "options": [],
11605
11545
  "value": {
11606
- "type": "string",
11546
+ "type": "number | string",
11607
11547
  "kind": "expression"
11608
11548
  }
11609
11549
  },
11610
11550
  {
11611
- "name": "show",
11612
- "default": "`true`",
11613
- "description": "Whether to show tag",
11551
+ "name": "max-second",
11552
+ "default": "`59`",
11553
+ "description": "Max second",
11614
11554
  "options": [],
11615
11555
  "value": {
11616
- "type": "boolean",
11556
+ "type": "number | string",
11617
11557
  "kind": "expression"
11618
11558
  }
11619
11559
  },
11620
11560
  {
11621
- "name": "plain",
11622
- "default": "`false`",
11623
- "description": "Whether to be plain style",
11561
+ "name": "title",
11562
+ "default": "`''`",
11563
+ "description": "Toolbar title",
11624
11564
  "options": [],
11625
11565
  "value": {
11626
- "type": "boolean",
11566
+ "type": "string",
11627
11567
  "kind": "expression"
11628
11568
  }
11629
11569
  },
11630
11570
  {
11631
- "name": "round",
11632
- "default": "`false`",
11633
- "description": "Whether to be round style",
11571
+ "name": "confirm-button-text",
11572
+ "default": "`Confirm`",
11573
+ "description": "Text of confirm button",
11634
11574
  "options": [],
11635
11575
  "value": {
11636
- "type": "boolean",
11576
+ "type": "string",
11637
11577
  "kind": "expression"
11638
11578
  }
11639
11579
  },
11640
11580
  {
11641
- "name": "mark",
11642
- "default": "`false`",
11643
- "description": "Whether to be mark style",
11581
+ "name": "cancel-button-text",
11582
+ "default": "`Cancel`",
11583
+ "description": "Text of cancel button",
11644
11584
  "options": [],
11645
11585
  "value": {
11646
- "type": "boolean",
11586
+ "type": "string",
11647
11587
  "kind": "expression"
11648
11588
  }
11649
11589
  },
11650
11590
  {
11651
- "name": "text-color",
11652
- "default": "`white`",
11653
- "description": "Text color",
11591
+ "name": "show-toolbar",
11592
+ "default": "`true`",
11593
+ "description": "Whether to show toolbar",
11654
11594
  "options": [],
11655
11595
  "value": {
11656
- "type": "string",
11596
+ "type": "boolean",
11657
11597
  "kind": "expression"
11658
11598
  }
11659
11599
  },
11660
11600
  {
11661
- "name": "closeable",
11601
+ "name": "loading",
11662
11602
  "default": "`false`",
11663
- "description": "Whether to be closeable",
11603
+ "description": "Whether to show loading prompt",
11664
11604
  "options": [],
11665
11605
  "value": {
11666
11606
  "type": "boolean",
11667
11607
  "kind": "expression"
11668
11608
  }
11669
- }
11670
- ]
11671
- },
11672
- {
11673
- "name": "van-toast",
11674
- "slots": [
11675
- {
11676
- "name": "message",
11677
- "description": "Custom message"
11678
- }
11679
- ],
11680
- "events": [],
11681
- "attributes": []
11682
- },
11683
- {
11684
- "name": "van-tree-select",
11685
- "slots": [
11686
- {
11687
- "name": "content",
11688
- "description": "Custom right content"
11689
- }
11690
- ],
11691
- "events": [
11692
- {
11693
- "name": "click-nav",
11694
- "description": "Emitted when parent node is selected",
11695
- "arguments": [
11696
- {
11697
- "name": "index",
11698
- "type": "number"
11699
- }
11700
- ]
11701
11609
  },
11702
11610
  {
11703
- "name": "click-item",
11704
- "description": "Emitted when item is selected",
11705
- "arguments": [
11706
- {
11707
- "name": "item",
11708
- "type": "TreeSelectChild"
11709
- }
11710
- ]
11711
- }
11712
- ],
11713
- "attributes": [
11714
- {
11715
- "name": "items",
11716
- "default": "`[]`",
11717
- "description": "Required datasets for the component",
11611
+ "name": "readonly",
11612
+ "default": "`false`",
11613
+ "description": "Whether to be readonly",
11718
11614
  "options": [],
11719
11615
  "value": {
11720
- "type": "TreeSelectItem[]",
11616
+ "type": "boolean",
11721
11617
  "kind": "expression"
11722
11618
  }
11723
11619
  },
11724
11620
  {
11725
- "name": "height",
11726
- "default": "`300`",
11727
- "description": "Height",
11621
+ "name": "filter",
11622
+ "default": "-",
11623
+ "description": "Option filter",
11728
11624
  "options": [],
11729
11625
  "value": {
11730
- "type": "number | string",
11626
+ "type": "(type: string, options: PickerOption[]) => PickerOption[]",
11731
11627
  "kind": "expression"
11732
11628
  }
11733
11629
  },
11734
11630
  {
11735
- "name": "main-active-index",
11736
- "default": "`0`",
11737
- "description": "The index of selected parent node",
11631
+ "name": "formatter",
11632
+ "default": "-",
11633
+ "description": "Option text formatter",
11738
11634
  "options": [],
11739
11635
  "value": {
11740
- "type": "number | string",
11636
+ "type": "(type: string, option: PickerOption) => PickerOption",
11741
11637
  "kind": "expression"
11742
11638
  }
11743
11639
  },
11744
11640
  {
11745
- "name": "active-id",
11746
- "default": "`0`",
11747
- "description": "Id of selected item",
11641
+ "name": "option-height",
11642
+ "default": "`44`",
11643
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
11748
11644
  "options": [],
11749
11645
  "value": {
11750
- "type": "number | string |<br>(number | string)[]",
11646
+ "type": "number | string",
11751
11647
  "kind": "expression"
11752
11648
  }
11753
11649
  },
11754
11650
  {
11755
- "name": "max",
11756
- "default": "`Infinity`",
11757
- "description": "Maximum number of selected items",
11651
+ "name": "visible-option-num",
11652
+ "default": "`6`",
11653
+ "description": "Count of visible columns",
11758
11654
  "options": [],
11759
11655
  "value": {
11760
11656
  "type": "number | string",
@@ -11762,17 +11658,28 @@
11762
11658
  }
11763
11659
  },
11764
11660
  {
11765
- "name": "selected-icon",
11766
- "default": "`success`",
11767
- "description": "Selected icon",
11661
+ "name": "swipe-duration",
11662
+ "default": "`1000`",
11663
+ "description": "Duration of the momentum animation, unit `ms`",
11768
11664
  "options": [],
11769
11665
  "value": {
11770
- "type": "string",
11666
+ "type": "number | string",
11771
11667
  "kind": "expression"
11772
11668
  }
11773
11669
  }
11774
11670
  ]
11775
11671
  },
11672
+ {
11673
+ "name": "van-toast",
11674
+ "slots": [
11675
+ {
11676
+ "name": "message",
11677
+ "description": "Custom message"
11678
+ }
11679
+ ],
11680
+ "events": [],
11681
+ "attributes": []
11682
+ },
11776
11683
  {
11777
11684
  "name": "van-uploader",
11778
11685
  "slots": [
@@ -12077,6 +11984,99 @@
12077
11984
  }
12078
11985
  }
12079
11986
  ]
11987
+ },
11988
+ {
11989
+ "name": "van-tree-select",
11990
+ "slots": [
11991
+ {
11992
+ "name": "content",
11993
+ "description": "Custom right content"
11994
+ }
11995
+ ],
11996
+ "events": [
11997
+ {
11998
+ "name": "click-nav",
11999
+ "description": "Emitted when parent node is selected",
12000
+ "arguments": [
12001
+ {
12002
+ "name": "index",
12003
+ "type": "number"
12004
+ }
12005
+ ]
12006
+ },
12007
+ {
12008
+ "name": "click-item",
12009
+ "description": "Emitted when item is selected",
12010
+ "arguments": [
12011
+ {
12012
+ "name": "item",
12013
+ "type": "TreeSelectChild"
12014
+ }
12015
+ ]
12016
+ }
12017
+ ],
12018
+ "attributes": [
12019
+ {
12020
+ "name": "items",
12021
+ "default": "`[]`",
12022
+ "description": "Required datasets for the component",
12023
+ "options": [],
12024
+ "value": {
12025
+ "type": "TreeSelectItem[]",
12026
+ "kind": "expression"
12027
+ }
12028
+ },
12029
+ {
12030
+ "name": "height",
12031
+ "default": "`300`",
12032
+ "description": "Height",
12033
+ "options": [],
12034
+ "value": {
12035
+ "type": "number | string",
12036
+ "kind": "expression"
12037
+ }
12038
+ },
12039
+ {
12040
+ "name": "main-active-index",
12041
+ "default": "`0`",
12042
+ "description": "The index of selected parent node",
12043
+ "options": [],
12044
+ "value": {
12045
+ "type": "number | string",
12046
+ "kind": "expression"
12047
+ }
12048
+ },
12049
+ {
12050
+ "name": "active-id",
12051
+ "default": "`0`",
12052
+ "description": "Id of selected item",
12053
+ "options": [],
12054
+ "value": {
12055
+ "type": "number | string |<br>(number | string)[]",
12056
+ "kind": "expression"
12057
+ }
12058
+ },
12059
+ {
12060
+ "name": "max",
12061
+ "default": "`Infinity`",
12062
+ "description": "Maximum number of selected items",
12063
+ "options": [],
12064
+ "value": {
12065
+ "type": "number | string",
12066
+ "kind": "expression"
12067
+ }
12068
+ },
12069
+ {
12070
+ "name": "selected-icon",
12071
+ "default": "`success`",
12072
+ "description": "Selected icon",
12073
+ "options": [],
12074
+ "value": {
12075
+ "type": "string",
12076
+ "kind": "expression"
12077
+ }
12078
+ }
12079
+ ]
12080
12080
  }
12081
12081
  ],
12082
12082
  "attributes": [],