vant 4.0.0-alpha.2 → 4.0.0-alpha.3

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 (52) hide show
  1. package/changelog.generated.md +33 -29
  2. package/es/empty/Empty.js +10 -13
  3. package/es/empty/Images.d.ts +4 -0
  4. package/es/empty/Images.js +271 -0
  5. package/es/field/Field.js +6 -3
  6. package/es/field/types.d.ts +1 -1
  7. package/es/form/Form.d.ts +13 -13
  8. package/es/form/Form.js +6 -3
  9. package/es/form/index.d.ts +9 -9
  10. package/es/index.d.ts +1 -1
  11. package/es/index.js +1 -1
  12. package/es/loading/Loading.js +3 -1
  13. package/es/search/index.css +1 -1
  14. package/es/search/index.less +1 -1
  15. package/es/uploader/Uploader.js +2 -2
  16. package/es/uploader/utils.d.ts +0 -1
  17. package/es/uploader/utils.js +2 -4
  18. package/es/utils/basic.d.ts +1 -0
  19. package/es/utils/basic.js +3 -1
  20. package/lib/empty/Empty.js +10 -13
  21. package/lib/empty/Images.d.ts +4 -0
  22. package/lib/empty/Images.js +290 -0
  23. package/lib/field/Field.js +5 -2
  24. package/lib/field/types.d.ts +1 -1
  25. package/lib/form/Form.d.ts +13 -13
  26. package/lib/form/Form.js +5 -2
  27. package/lib/form/index.d.ts +9 -9
  28. package/lib/index.css +1 -1
  29. package/lib/index.d.ts +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/loading/Loading.js +3 -1
  32. package/lib/search/index.css +1 -1
  33. package/lib/search/index.less +1 -1
  34. package/lib/uploader/Uploader.js +1 -1
  35. package/lib/uploader/utils.d.ts +0 -1
  36. package/lib/uploader/utils.js +2 -4
  37. package/lib/utils/basic.d.ts +1 -0
  38. package/lib/utils/basic.js +3 -1
  39. package/lib/vant.cjs.js +233 -49
  40. package/lib/vant.cjs.min.js +1 -1
  41. package/lib/vant.es.js +233 -49
  42. package/lib/vant.es.min.js +233 -49
  43. package/lib/vant.js +233 -49
  44. package/lib/vant.min.js +1 -1
  45. package/package.json +1 -1
  46. package/vetur/attributes.json +551 -551
  47. package/vetur/tags.json +200 -200
  48. package/vetur/web-types.json +1778 -1778
  49. package/es/empty/Network.d.ts +0 -1
  50. package/es/empty/Network.js +0 -89
  51. package/lib/empty/Network.d.ts +0 -1
  52. package/lib/empty/Network.js +0 -108
@@ -163,82 +163,6 @@
163
163
  "type": "(action: string) => boolean | Promise\\<boolean\\>",
164
164
  "description": "Callback function before close, Default: -"
165
165
  },
166
- "van-address-list/v-model": {
167
- "type": "string",
168
- "description": "Id of chosen address, Default: -"
169
- },
170
- "van-address-list/list": {
171
- "type": "Address[]",
172
- "description": "Address list, Default: `[]`"
173
- },
174
- "van-address-list/disabled-list": {
175
- "type": "Address[]",
176
- "description": "Disabled address list, Default: `[]`"
177
- },
178
- "van-address-list/disabled-text": {
179
- "type": "string",
180
- "description": "Disabled text, Default: -"
181
- },
182
- "van-address-list/switchable": {
183
- "type": "boolean",
184
- "description": "Whether to allow switch address, Default: `true`"
185
- },
186
- "van-address-list/add-button-text": {
187
- "type": "string",
188
- "description": "Add button text, Default: `Add new address`"
189
- },
190
- "van-address-list/default-tag-text": {
191
- "type": "string",
192
- "description": "Default tag text, Default: -"
193
- },
194
- "van-area/v-model": {
195
- "type": "string",
196
- "description": "the `code` of selected area, Default: -"
197
- },
198
- "van-area/title": {
199
- "type": "string",
200
- "description": "Toolbar title, Default: -"
201
- },
202
- "van-area/confirm-button-text": {
203
- "type": "string",
204
- "description": "Text of confirm button, Default: `Confirm`"
205
- },
206
- "van-area/cancel-button-text": {
207
- "type": "string",
208
- "description": "Text of cancel button, Default: `Cancel`"
209
- },
210
- "van-area/area-list": {
211
- "type": "object",
212
- "description": "Area list data, Default: -"
213
- },
214
- "van-area/columns-placeholder": {
215
- "type": "string[]",
216
- "description": "Placeholder of columns, Default: `[]`"
217
- },
218
- "van-area/loading": {
219
- "type": "boolean",
220
- "description": "Whether to show loading prompt, Default: `false`"
221
- },
222
- "van-area/readonly": {
223
- "type": "boolean",
224
- "description": "Whether to be readonly, Default: `false`"
225
- },
226
- "van-area/option-height": {
227
- "type": "number | string",
228
- "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
229
- },
230
- "van-area/columns-num": {
231
- "type": "number | string",
232
- "description": "Level of picker, Default: `3`"
233
- },
234
- "van-area/visible-option-num": {
235
- "type": "number | string",
236
- "description": "Count of visible columns, Default: `6`"
237
- },
238
- "van-area/swipe-duration": {
239
- "type": "number | string",
240
- "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
241
- },
242
166
  "van-address-edit/area-list": {
243
167
  "type": "object",
244
168
  "description": "Area List, Default: -"
@@ -319,6 +243,34 @@
319
243
  "type": "(key, val) => string",
320
244
  "description": "Custom validator, Default: -"
321
245
  },
246
+ "van-address-list/v-model": {
247
+ "type": "string",
248
+ "description": "Id of chosen address, Default: -"
249
+ },
250
+ "van-address-list/list": {
251
+ "type": "Address[]",
252
+ "description": "Address list, Default: `[]`"
253
+ },
254
+ "van-address-list/disabled-list": {
255
+ "type": "Address[]",
256
+ "description": "Disabled address list, Default: `[]`"
257
+ },
258
+ "van-address-list/disabled-text": {
259
+ "type": "string",
260
+ "description": "Disabled text, Default: -"
261
+ },
262
+ "van-address-list/switchable": {
263
+ "type": "boolean",
264
+ "description": "Whether to allow switch address, Default: `true`"
265
+ },
266
+ "van-address-list/add-button-text": {
267
+ "type": "string",
268
+ "description": "Add button text, Default: `Add new address`"
269
+ },
270
+ "van-address-list/default-tag-text": {
271
+ "type": "string",
272
+ "description": "Default tag text, Default: -"
273
+ },
322
274
  "van-badge/content": {
323
275
  "type": "number | string",
324
276
  "description": "Badge content, Default: -"
@@ -347,6 +299,54 @@
347
299
  "type": "string",
348
300
  "description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
349
301
  },
302
+ "van-area/v-model": {
303
+ "type": "string",
304
+ "description": "the `code` of selected area, Default: -"
305
+ },
306
+ "van-area/title": {
307
+ "type": "string",
308
+ "description": "Toolbar title, Default: -"
309
+ },
310
+ "van-area/confirm-button-text": {
311
+ "type": "string",
312
+ "description": "Text of confirm button, Default: `Confirm`"
313
+ },
314
+ "van-area/cancel-button-text": {
315
+ "type": "string",
316
+ "description": "Text of cancel button, Default: `Cancel`"
317
+ },
318
+ "van-area/area-list": {
319
+ "type": "object",
320
+ "description": "Area list data, Default: -"
321
+ },
322
+ "van-area/columns-placeholder": {
323
+ "type": "string[]",
324
+ "description": "Placeholder of columns, Default: `[]`"
325
+ },
326
+ "van-area/loading": {
327
+ "type": "boolean",
328
+ "description": "Whether to show loading prompt, Default: `false`"
329
+ },
330
+ "van-area/readonly": {
331
+ "type": "boolean",
332
+ "description": "Whether to be readonly, Default: `false`"
333
+ },
334
+ "van-area/option-height": {
335
+ "type": "number | string",
336
+ "description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
337
+ },
338
+ "van-area/columns-num": {
339
+ "type": "number | string",
340
+ "description": "Level of picker, Default: `3`"
341
+ },
342
+ "van-area/visible-option-num": {
343
+ "type": "number | string",
344
+ "description": "Count of visible columns, Default: `6`"
345
+ },
346
+ "van-area/swipe-duration": {
347
+ "type": "number | string",
348
+ "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
349
+ },
350
350
  "van-button/type": {
351
351
  "type": "string",
352
352
  "description": "Can be set to `primary` `success` `warning` `danger`, Default: `default`"
@@ -931,25 +931,21 @@
931
931
  "type": "string",
932
932
  "description": "Label className, Default: -"
933
933
  },
934
- "van-contact-card/type": {
935
- "type": "string",
936
- "description": "Can be set to `edit`, Default: `add`"
934
+ "van-config-provider/theme": {
935
+ "type": "ConfigProviderTheme",
936
+ "description": "Theme mode, can be set to `dark`, Default: `light`"
937
937
  },
938
- "van-contact-card/name": {
939
- "type": "string",
940
- "description": "Name, Default: -"
938
+ "van-config-provider/theme-vars": {
939
+ "type": "object",
940
+ "description": "Theme variables, Default: -"
941
941
  },
942
- "van-contact-card/tel": {
942
+ "van-config-provider/tag": {
943
943
  "type": "string",
944
- "description": "Phone, Default: -"
944
+ "description": "HTML Tag of root element, Default: `div`"
945
945
  },
946
- "van-contact-card/add-text": {
946
+ "van-config-provider/icon-prefix": {
947
947
  "type": "string",
948
- "description": "Add card text, Default: `Add contact info`"
949
- },
950
- "van-contact-card/editable": {
951
- "type": "boolean",
952
- "description": "Whether to allow editing of contacts, Default: `true`"
948
+ "description": "Icon className prefix, Default: `van-icon`"
953
949
  },
954
950
  "van-contact-edit/contact-info": {
955
951
  "type": "Contact",
@@ -979,21 +975,25 @@
979
975
  "type": "string",
980
976
  "description": "default contact switch label, Default: -"
981
977
  },
982
- "van-config-provider/theme": {
983
- "type": "ConfigProviderTheme",
984
- "description": "Theme mode, can be set to `dark`, Default: `light`"
978
+ "van-contact-card/type": {
979
+ "type": "string",
980
+ "description": "Can be set to `edit`, Default: `add`"
985
981
  },
986
- "van-config-provider/theme-vars": {
987
- "type": "object",
988
- "description": "Theme variables, Default: -"
982
+ "van-contact-card/name": {
983
+ "type": "string",
984
+ "description": "Name, Default: -"
989
985
  },
990
- "van-config-provider/tag": {
986
+ "van-contact-card/tel": {
991
987
  "type": "string",
992
- "description": "HTML Tag of root element, Default: `div`"
988
+ "description": "Phone, Default: -"
993
989
  },
994
- "van-config-provider/icon-prefix": {
990
+ "van-contact-card/add-text": {
995
991
  "type": "string",
996
- "description": "Icon className prefix, Default: `van-icon`"
992
+ "description": "Add card text, Default: `Add contact info`"
993
+ },
994
+ "van-contact-card/editable": {
995
+ "type": "boolean",
996
+ "description": "Whether to allow editing of contacts, Default: `true`"
997
997
  },
998
998
  "van-contact-list/v-model": {
999
999
  "type": "number | string",
@@ -1175,6 +1175,18 @@
1175
1175
  "type": "number | string",
1176
1176
  "description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
1177
1177
  },
1178
+ "van-divider/dashed": {
1179
+ "type": "boolean",
1180
+ "description": "Whether to use dashed border, Default: `false`"
1181
+ },
1182
+ "van-divider/hairline": {
1183
+ "type": "boolean",
1184
+ "description": "Whether to use hairline, Default: `true`"
1185
+ },
1186
+ "van-divider/content-position": {
1187
+ "type": "string",
1188
+ "description": "Content position, can be set to `left` `right`, Default: `center`"
1189
+ },
1178
1190
  "van-dialog/v-model:show": {
1179
1191
  "type": "boolean",
1180
1192
  "description": "Whether to show dialog, Default: -"
@@ -1267,18 +1279,6 @@
1267
1279
  "type": "string | Element",
1268
1280
  "description": "Specifies a target element where Dialog will be mounted, Default: -"
1269
1281
  },
1270
- "van-divider/dashed": {
1271
- "type": "boolean",
1272
- "description": "Whether to use dashed border, Default: `false`"
1273
- },
1274
- "van-divider/hairline": {
1275
- "type": "boolean",
1276
- "description": "Whether to use hairline, Default: `true`"
1277
- },
1278
- "van-divider/content-position": {
1279
- "type": "string",
1280
- "description": "Content position, can be set to `left` `right`, Default: `center`"
1281
- },
1282
1282
  "van-dropdown-menu/active-color": {
1283
1283
  "type": "string",
1284
1284
  "description": "Active color of title and option, Default: `#1989fa`"
@@ -1487,81 +1487,49 @@
1487
1487
  "type": "string",
1488
1488
  "description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>, Default: -"
1489
1489
  },
1490
- "van-grid/column-num": {
1491
- "type": "number | string",
1492
- "description": "Column Num, Default: `4`"
1493
- },
1494
- "van-grid/icon-size": {
1495
- "type": "number | string",
1496
- "description": "Icon size, Default: `28px`"
1490
+ "van-empty/image": {
1491
+ "type": "string",
1492
+ "description": "Image type, can be set to `error` `network` `search` or image URL, Default: `default`"
1497
1493
  },
1498
- "van-grid/gutter": {
1499
- "type": "number | string",
1500
- "description": "Gutter, Default: `0`"
1494
+ "van-empty/image-size": {
1495
+ "type": "number | string | Array",
1496
+ "description": "Image size, Default: -"
1501
1497
  },
1502
- "van-grid/border": {
1503
- "type": "boolean",
1504
- "description": "Whether to show border, Default: `true`"
1498
+ "van-empty/description": {
1499
+ "type": "string",
1500
+ "description": "Description, Default: -"
1505
1501
  },
1506
- "van-grid/center": {
1507
- "type": "boolean",
1508
- "description": "Whether to center content, Default: `true`"
1502
+ "van-icon/name": {
1503
+ "type": "string",
1504
+ "description": "Icon name or URL, Default: `''`"
1509
1505
  },
1510
- "van-grid/square": {
1506
+ "van-icon/dot": {
1511
1507
  "type": "boolean",
1512
- "description": "Whether to be square shape, Default: `false`"
1508
+ "description": "Whether to show red dot, Default: `false`"
1513
1509
  },
1514
- "van-grid/clickable": {
1515
- "type": "boolean",
1516
- "description": "Whether to show click feedback when clicked, Default: `false`"
1517
- },
1518
- "van-grid/direction": {
1519
- "type": "string",
1520
- "description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
1521
- },
1522
- "van-grid/reverse": {
1523
- "type": "boolean",
1524
- "description": "Whether to reverse the position of icon and text, Default: `false`"
1525
- },
1526
- "van-grid-item/text": {
1527
- "type": "string",
1528
- "description": "Text, Default: -"
1529
- },
1530
- "van-grid-item/icon": {
1531
- "type": "string",
1532
- "description": "Icon name or URL, Default: -"
1533
- },
1534
- "van-grid-item/icon-prefix": {
1535
- "type": "string",
1536
- "description": "Icon className prefix, Default: `van-icon`"
1537
- },
1538
- "van-grid-item/icon-color": {
1539
- "type": "string",
1540
- "description": "Icon color, Default: -"
1541
- },
1542
- "van-grid-item/dot": {
1543
- "type": "boolean",
1544
- "description": "Whether to show red dot, Default: `false`"
1545
- },
1546
- "van-grid-item/badge": {
1510
+ "van-icon/badge": {
1547
1511
  "type": "number | string",
1548
- "description": "Content of the badge, Default: -"
1512
+ "description": "Content of the badge, Default: `''`"
1549
1513
  },
1550
- "van-grid-item/badge-props": {
1514
+ "van-icon/badge-props": {
1551
1515
  "type": "BadgeProps",
1552
1516
  "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
1553
1517
  },
1554
- "van-grid-item/url": {
1518
+ "van-icon/color": {
1555
1519
  "type": "string",
1556
- "description": "Link URL, Default: -"
1520
+ "description": "Icon color, Default: `inherit`"
1557
1521
  },
1558
- "van-grid-item/to": {
1559
- "type": "string | object",
1560
- "description": "Target route of the link, same as to of vue-router, Default: -"
1522
+ "van-icon/size": {
1523
+ "type": "number | string",
1524
+ "description": "Icon size, Default: `inherit`"
1561
1525
  },
1562
- "van-grid-item/replace": {
1563
- "type": "boolean",
1564
- "description": "If true, the navigation will not leave a history record, Default: `false`"
1526
+ "van-icon/class-prefix": {
1527
+ "type": "string",
1528
+ "description": "ClassName prefix, Default: `van-icon`"
1529
+ },
1530
+ "van-icon/tag": {
1531
+ "type": "string",
1532
+ "description": "HTML Tag of root element, Default: `i`"
1565
1533
  },
1566
1534
  "van-form/label-width": {
1567
1535
  "type": "number | string",
@@ -1580,8 +1548,8 @@
1580
1548
  "description": "Error message align, can be set to `center` `right`, Default: `left`"
1581
1549
  },
1582
1550
  "van-form/validate-trigger": {
1583
- "type": "string",
1584
- "description": "When to validate the form, can be set to `onChange`、`onSubmit`, Default: `onBlur`"
1551
+ "type": "string | string[]",
1552
+ "description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values, Default: `onBlur`"
1585
1553
  },
1586
1554
  "van-form/colon": {
1587
1555
  "type": "boolean",
@@ -1615,50 +1583,6 @@
1615
1583
  "type": "boolean",
1616
1584
  "description": "Whether to submit form on enter, Default: `true`"
1617
1585
  },
1618
- "van-empty/image": {
1619
- "type": "string",
1620
- "description": "Image type, can be set to `error` `network` `search` or image URL, Default: `default`"
1621
- },
1622
- "van-empty/image-size": {
1623
- "type": "number | string | Array",
1624
- "description": "Image size, Default: -"
1625
- },
1626
- "van-empty/description": {
1627
- "type": "string",
1628
- "description": "Description, Default: -"
1629
- },
1630
- "van-icon/name": {
1631
- "type": "string",
1632
- "description": "Icon name or URL, Default: `''`"
1633
- },
1634
- "van-icon/dot": {
1635
- "type": "boolean",
1636
- "description": "Whether to show red dot, Default: `false`"
1637
- },
1638
- "van-icon/badge": {
1639
- "type": "number | string",
1640
- "description": "Content of the badge, Default: `''`"
1641
- },
1642
- "van-icon/badge-props": {
1643
- "type": "BadgeProps",
1644
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
1645
- },
1646
- "van-icon/color": {
1647
- "type": "string",
1648
- "description": "Icon color, Default: `inherit`"
1649
- },
1650
- "van-icon/size": {
1651
- "type": "number | string",
1652
- "description": "Icon size, Default: `inherit`"
1653
- },
1654
- "van-icon/class-prefix": {
1655
- "type": "string",
1656
- "description": "ClassName prefix, Default: `van-icon`"
1657
- },
1658
- "van-icon/tag": {
1659
- "type": "string",
1660
- "description": "HTML Tag of root element, Default: `i`"
1661
- },
1662
1586
  "van-image/src": {
1663
1587
  "type": "string",
1664
1588
  "description": "Src, Default: -"
@@ -1719,6 +1643,82 @@
1719
1643
  "type": "string",
1720
1644
  "description": "Icon className prefix, Default: `van-icon`"
1721
1645
  },
1646
+ "van-grid/column-num": {
1647
+ "type": "number | string",
1648
+ "description": "Column Num, Default: `4`"
1649
+ },
1650
+ "van-grid/icon-size": {
1651
+ "type": "number | string",
1652
+ "description": "Icon size, Default: `28px`"
1653
+ },
1654
+ "van-grid/gutter": {
1655
+ "type": "number | string",
1656
+ "description": "Gutter, Default: `0`"
1657
+ },
1658
+ "van-grid/border": {
1659
+ "type": "boolean",
1660
+ "description": "Whether to show border, Default: `true`"
1661
+ },
1662
+ "van-grid/center": {
1663
+ "type": "boolean",
1664
+ "description": "Whether to center content, Default: `true`"
1665
+ },
1666
+ "van-grid/square": {
1667
+ "type": "boolean",
1668
+ "description": "Whether to be square shape, Default: `false`"
1669
+ },
1670
+ "van-grid/clickable": {
1671
+ "type": "boolean",
1672
+ "description": "Whether to show click feedback when clicked, Default: `false`"
1673
+ },
1674
+ "van-grid/direction": {
1675
+ "type": "string",
1676
+ "description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
1677
+ },
1678
+ "van-grid/reverse": {
1679
+ "type": "boolean",
1680
+ "description": "Whether to reverse the position of icon and text, Default: `false`"
1681
+ },
1682
+ "van-grid-item/text": {
1683
+ "type": "string",
1684
+ "description": "Text, Default: -"
1685
+ },
1686
+ "van-grid-item/icon": {
1687
+ "type": "string",
1688
+ "description": "Icon name or URL, Default: -"
1689
+ },
1690
+ "van-grid-item/icon-prefix": {
1691
+ "type": "string",
1692
+ "description": "Icon className prefix, Default: `van-icon`"
1693
+ },
1694
+ "van-grid-item/icon-color": {
1695
+ "type": "string",
1696
+ "description": "Icon color, Default: -"
1697
+ },
1698
+ "van-grid-item/dot": {
1699
+ "type": "boolean",
1700
+ "description": "Whether to show red dot, Default: `false`"
1701
+ },
1702
+ "van-grid-item/badge": {
1703
+ "type": "number | string",
1704
+ "description": "Content of the badge, Default: -"
1705
+ },
1706
+ "van-grid-item/badge-props": {
1707
+ "type": "BadgeProps",
1708
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
1709
+ },
1710
+ "van-grid-item/url": {
1711
+ "type": "string",
1712
+ "description": "Link URL, Default: -"
1713
+ },
1714
+ "van-grid-item/to": {
1715
+ "type": "string | object",
1716
+ "description": "Target route of the link, same as to of vue-router, Default: -"
1717
+ },
1718
+ "van-grid-item/replace": {
1719
+ "type": "boolean",
1720
+ "description": "If true, the navigation will not leave a history record, Default: `false`"
1721
+ },
1722
1722
  "van-image-preview/v-model:show": {
1723
1723
  "type": "boolean",
1724
1724
  "description": "Whether to show ImagePreview, Default: `false`"
@@ -1859,30 +1859,6 @@
1859
1859
  "type": "string",
1860
1860
  "description": "Scroll direction, can be set to `up`, Default: `down`"
1861
1861
  },
1862
- "van-loading/color": {
1863
- "type": "string",
1864
- "description": "Loading color, Default: `#c9c9c9`"
1865
- },
1866
- "van-loading/type": {
1867
- "type": "string",
1868
- "description": "Can be set to `spinner`, Default: `circular`"
1869
- },
1870
- "van-loading/size": {
1871
- "type": "number | string",
1872
- "description": "Icon size, Default: `30px`"
1873
- },
1874
- "van-loading/text-size": {
1875
- "type": "number | string",
1876
- "description": "Text font size, Default: `14px`"
1877
- },
1878
- "van-loading/text-color": {
1879
- "type": "string",
1880
- "description": "Text color, Default: `#c9c9c9`"
1881
- },
1882
- "van-loading/vertical": {
1883
- "type": "boolean",
1884
- "description": "Whether to arrange icons and text content vertically, Default: `false`"
1885
- },
1886
1862
  "van-nav-bar/title": {
1887
1863
  "type": "string",
1888
1864
  "description": "Title, Default: `''`"
@@ -1919,6 +1895,30 @@
1919
1895
  "type": "boolean",
1920
1896
  "description": "Whether to enable top safe area adaptation, Default: `false`"
1921
1897
  },
1898
+ "van-loading/color": {
1899
+ "type": "string",
1900
+ "description": "Loading color, Default: `#c9c9c9`"
1901
+ },
1902
+ "van-loading/type": {
1903
+ "type": "string",
1904
+ "description": "Can be set to `spinner`, Default: `circular`"
1905
+ },
1906
+ "van-loading/size": {
1907
+ "type": "number | string",
1908
+ "description": "Icon size, Default: `30px`"
1909
+ },
1910
+ "van-loading/text-size": {
1911
+ "type": "number | string",
1912
+ "description": "Text font size, Default: `14px`"
1913
+ },
1914
+ "van-loading/text-color": {
1915
+ "type": "string",
1916
+ "description": "Text color, Default: `#c9c9c9`"
1917
+ },
1918
+ "van-loading/vertical": {
1919
+ "type": "boolean",
1920
+ "description": "Whether to arrange icons and text content vertically, Default: `false`"
1921
+ },
1922
1922
  "van-notice-bar/mode": {
1923
1923
  "type": "string",
1924
1924
  "description": "Mode, can be set to `closeable` `link`, Default: `''`"
@@ -2023,6 +2023,34 @@
2023
2023
  "type": "boolean",
2024
2024
  "description": "Whether to shuffle the order of keys, Default: `false`"
2025
2025
  },
2026
+ "van-overlay/show": {
2027
+ "type": "boolean",
2028
+ "description": "Whether to show overlay, Default: `false`"
2029
+ },
2030
+ "van-overlay/z-index": {
2031
+ "type": "number | string",
2032
+ "description": "z-index, Default: `1`"
2033
+ },
2034
+ "van-overlay/duration": {
2035
+ "type": "number | string",
2036
+ "description": "Animation duration, Default: `0.3`"
2037
+ },
2038
+ "van-overlay/class-name": {
2039
+ "type": "string",
2040
+ "description": "ClassName, Default: -"
2041
+ },
2042
+ "van-overlay/custom-class": {
2043
+ "type": "object",
2044
+ "description": "Custom style, Default: -"
2045
+ },
2046
+ "van-overlay/lock-scroll": {
2047
+ "type": "boolean",
2048
+ "description": "Whether to lock background scroll, Default: `true`"
2049
+ },
2050
+ "van-overlay/lazy-render": {
2051
+ "type": "boolean",
2052
+ "description": "Whether to lazy render util appeared, Default: `true`"
2053
+ },
2026
2054
  "van-pagination/v-model": {
2027
2055
  "type": "number",
2028
2056
  "description": "Current page number, Default: -"
@@ -2059,6 +2087,34 @@
2059
2087
  "type": "boolean",
2060
2088
  "description": "Whether to show ellipses, Default: `false`"
2061
2089
  },
2090
+ "van-password-input/value": {
2091
+ "type": "string",
2092
+ "description": "Password value, Default: `''`"
2093
+ },
2094
+ "van-password-input/info": {
2095
+ "type": "string",
2096
+ "description": "Bottom info, Default: -"
2097
+ },
2098
+ "van-password-input/error-info": {
2099
+ "type": "string",
2100
+ "description": "Bottom error info, Default: -"
2101
+ },
2102
+ "van-password-input/length": {
2103
+ "type": "number | string",
2104
+ "description": "Maxlength of password, Default: `6`"
2105
+ },
2106
+ "van-password-input/gutter": {
2107
+ "type": "number | string",
2108
+ "description": "Gutter of input, Default: `0`"
2109
+ },
2110
+ "van-password-input/mask": {
2111
+ "type": "boolean",
2112
+ "description": "Whether to mask value, Default: `true`"
2113
+ },
2114
+ "van-password-input/focused": {
2115
+ "type": "boolean",
2116
+ "description": "Whether to show focused cursor, Default: `false`"
2117
+ },
2062
2118
  "van-picker/columns": {
2063
2119
  "type": "PickerOption[] | PickerOption[][]",
2064
2120
  "description": "Columns data, Default: `[]`"
@@ -2255,34 +2311,6 @@
2255
2311
  "type": "boolean",
2256
2312
  "description": "Whether to enable bottom safe area adaptation, Default: `false`"
2257
2313
  },
2258
- "van-password-input/value": {
2259
- "type": "string",
2260
- "description": "Password value, Default: `''`"
2261
- },
2262
- "van-password-input/info": {
2263
- "type": "string",
2264
- "description": "Bottom info, Default: -"
2265
- },
2266
- "van-password-input/error-info": {
2267
- "type": "string",
2268
- "description": "Bottom error info, Default: -"
2269
- },
2270
- "van-password-input/length": {
2271
- "type": "number | string",
2272
- "description": "Maxlength of password, Default: `6`"
2273
- },
2274
- "van-password-input/gutter": {
2275
- "type": "number | string",
2276
- "description": "Gutter of input, Default: `0`"
2277
- },
2278
- "van-password-input/mask": {
2279
- "type": "boolean",
2280
- "description": "Whether to mask value, Default: `true`"
2281
- },
2282
- "van-password-input/focused": {
2283
- "type": "boolean",
2284
- "description": "Whether to show focused cursor, Default: `false`"
2285
- },
2286
2314
  "van-progress/percentage": {
2287
2315
  "type": "number | string",
2288
2316
  "description": "Percentage, Default: `0`"
@@ -2319,33 +2347,45 @@
2319
2347
  "type": "boolean",
2320
2348
  "description": "Whether to show text, Default: `true`"
2321
2349
  },
2322
- "van-overlay/show": {
2350
+ "van-pull-refresh/v-model": {
2323
2351
  "type": "boolean",
2324
- "description": "Whether to show overlay, Default: `false`"
2352
+ "description": "Loading status, Default: -"
2325
2353
  },
2326
- "van-overlay/z-index": {
2327
- "type": "number | string",
2328
- "description": "z-index, Default: `1`"
2354
+ "van-pull-refresh/pulling-text": {
2355
+ "type": "string",
2356
+ "description": "Text to show when pulling, Default: `Pull to refresh...`"
2329
2357
  },
2330
- "van-overlay/duration": {
2331
- "type": "number | string",
2332
- "description": "Animation duration, Default: `0.3`"
2358
+ "van-pull-refresh/loosing-text": {
2359
+ "type": "string",
2360
+ "description": "Text to show when loosing, Default: `Loose to refresh...`"
2333
2361
  },
2334
- "van-overlay/class-name": {
2362
+ "van-pull-refresh/loading-text": {
2335
2363
  "type": "string",
2336
- "description": "ClassName, Default: -"
2364
+ "description": "Text to show when loading, Default: `Loading...`"
2337
2365
  },
2338
- "van-overlay/custom-class": {
2339
- "type": "object",
2340
- "description": "Custom style, Default: -"
2366
+ "van-pull-refresh/success-text": {
2367
+ "type": "string",
2368
+ "description": "Text to show when loading success, Default: -"
2341
2369
  },
2342
- "van-overlay/lock-scroll": {
2343
- "type": "boolean",
2344
- "description": "Whether to lock background scroll, Default: `true`"
2370
+ "van-pull-refresh/success-duration": {
2371
+ "type": "number | string",
2372
+ "description": "Success text display duration(ms), Default: `500`"
2345
2373
  },
2346
- "van-overlay/lazy-render": {
2374
+ "van-pull-refresh/animation-duration": {
2375
+ "type": "number | string",
2376
+ "description": "Animation duration, Default: `300`"
2377
+ },
2378
+ "van-pull-refresh/head-height": {
2379
+ "type": "number | string",
2380
+ "description": "Height of head, Default: `50`"
2381
+ },
2382
+ "van-pull-refresh/pull-distance": {
2383
+ "type": "number | string",
2384
+ "description": "The distance to trigger the pull refresh, Default: same as `head-height`"
2385
+ },
2386
+ "van-pull-refresh/disabled": {
2347
2387
  "type": "boolean",
2348
- "description": "Whether to lazy render util appeared, Default: `true`"
2388
+ "description": "Whether to disable pull refresh, Default: `false`"
2349
2389
  },
2350
2390
  "van-radio/name": {
2351
2391
  "type": "any",
@@ -2395,46 +2435,6 @@
2395
2435
  "type": "string",
2396
2436
  "description": "Checked color of all radios, Default: `#1989fa`"
2397
2437
  },
2398
- "van-pull-refresh/v-model": {
2399
- "type": "boolean",
2400
- "description": "Loading status, Default: -"
2401
- },
2402
- "van-pull-refresh/pulling-text": {
2403
- "type": "string",
2404
- "description": "Text to show when pulling, Default: `Pull to refresh...`"
2405
- },
2406
- "van-pull-refresh/loosing-text": {
2407
- "type": "string",
2408
- "description": "Text to show when loosing, Default: `Loose to refresh...`"
2409
- },
2410
- "van-pull-refresh/loading-text": {
2411
- "type": "string",
2412
- "description": "Text to show when loading, Default: `Loading...`"
2413
- },
2414
- "van-pull-refresh/success-text": {
2415
- "type": "string",
2416
- "description": "Text to show when loading success, Default: -"
2417
- },
2418
- "van-pull-refresh/success-duration": {
2419
- "type": "number | string",
2420
- "description": "Success text display duration(ms), Default: `500`"
2421
- },
2422
- "van-pull-refresh/animation-duration": {
2423
- "type": "number | string",
2424
- "description": "Animation duration, Default: `300`"
2425
- },
2426
- "van-pull-refresh/head-height": {
2427
- "type": "number | string",
2428
- "description": "Height of head, Default: `50`"
2429
- },
2430
- "van-pull-refresh/pull-distance": {
2431
- "type": "number | string",
2432
- "description": "The distance to trigger the pull refresh, Default: same as `head-height`"
2433
- },
2434
- "van-pull-refresh/disabled": {
2435
- "type": "boolean",
2436
- "description": "Whether to disable pull refresh, Default: `false`"
2437
- },
2438
2438
  "van-rate/v-model": {
2439
2439
  "type": "number",
2440
2440
  "description": "Current rate, Default: -"
@@ -2587,6 +2587,74 @@
2587
2587
  "type": "string",
2588
2588
  "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
2589
2589
  },
2590
+ "van-share-sheet/v-model:show": {
2591
+ "type": "boolean",
2592
+ "description": "Whether to show ShareSheet, Default: `false`"
2593
+ },
2594
+ "van-share-sheet/options": {
2595
+ "type": "Option[]",
2596
+ "description": "Share options, Default: `[]`"
2597
+ },
2598
+ "van-share-sheet/title": {
2599
+ "type": "string",
2600
+ "description": "Title, Default: -"
2601
+ },
2602
+ "van-share-sheet/cancel-text": {
2603
+ "type": "string",
2604
+ "description": "Cancel button text, Default: `'Cancel'`"
2605
+ },
2606
+ "van-share-sheet/description": {
2607
+ "type": "string",
2608
+ "description": "Description, Default: -"
2609
+ },
2610
+ "van-share-sheet/duration": {
2611
+ "type": "number | string",
2612
+ "description": "Transition duration, unit second, Default: `0.3`"
2613
+ },
2614
+ "van-share-sheet/round": {
2615
+ "type": "boolean",
2616
+ "description": "Whether to show round corner, Default: `true`"
2617
+ },
2618
+ "van-share-sheet/overlay": {
2619
+ "type": "boolean",
2620
+ "description": "Whether to show overlay, Default: `true`"
2621
+ },
2622
+ "van-share-sheet/overlay-class": {
2623
+ "type": "string | Array | object",
2624
+ "description": "Custom overlay class, Default: -"
2625
+ },
2626
+ "van-share-sheet/overlay-style": {
2627
+ "type": "object",
2628
+ "description": "Custom overlay style, Default: -"
2629
+ },
2630
+ "van-share-sheet/lock-scroll": {
2631
+ "type": "boolean",
2632
+ "description": "Whether to lock background scroll, Default: `true`"
2633
+ },
2634
+ "van-share-sheet/lazy-render": {
2635
+ "type": "boolean",
2636
+ "description": "Whether to lazy render util appeared, Default: `true`"
2637
+ },
2638
+ "van-share-sheet/close-on-popstate": {
2639
+ "type": "boolean",
2640
+ "description": "Whether to close when popstate, Default: `true`"
2641
+ },
2642
+ "van-share-sheet/close-on-click-overlay": {
2643
+ "type": "boolean",
2644
+ "description": "Whether to close when overlay is clicked, Default: `true`"
2645
+ },
2646
+ "van-share-sheet/safe-area-inset-bottom": {
2647
+ "type": "boolean",
2648
+ "description": "Whether to enable bottom safe area adaptation, Default: `true`"
2649
+ },
2650
+ "van-share-sheet/teleport": {
2651
+ "type": "string | Element",
2652
+ "description": "Specifies a target element where ShareSheet will be mounted, Default: -"
2653
+ },
2654
+ "van-share-sheet/before-close": {
2655
+ "type": "(action: string) => boolean | Promise\\<boolean\\>",
2656
+ "description": "Callback function before close, Default: -"
2657
+ },
2590
2658
  "van-sidebar/v-model": {
2591
2659
  "type": "number | string",
2592
2660
  "description": "Index of chosen item, Default: `0`"
@@ -2663,101 +2731,33 @@
2663
2731
  "type": "string",
2664
2732
  "description": "Shape of avatar placeholder, can be set to `square`, Default: `round`"
2665
2733
  },
2666
- "van-share-sheet/v-model:show": {
2667
- "type": "boolean",
2668
- "description": "Whether to show ShareSheet, Default: `false`"
2669
- },
2670
- "van-share-sheet/options": {
2671
- "type": "Option[]",
2672
- "description": "Share options, Default: `[]`"
2734
+ "van-slider/v-model": {
2735
+ "type": "number | [number, number]",
2736
+ "description": "Current value, Default: `0`"
2673
2737
  },
2674
- "van-share-sheet/title": {
2675
- "type": "string",
2676
- "description": "Title, Default: -"
2738
+ "van-slider/max": {
2739
+ "type": "number | string",
2740
+ "description": "Max value, Default: `100`"
2677
2741
  },
2678
- "van-share-sheet/cancel-text": {
2679
- "type": "string",
2680
- "description": "Cancel button text, Default: `'Cancel'`"
2742
+ "van-slider/min": {
2743
+ "type": "number | string",
2744
+ "description": "Min value, Default: `0`"
2681
2745
  },
2682
- "van-share-sheet/description": {
2683
- "type": "string",
2684
- "description": "Description, Default: -"
2746
+ "van-slider/step": {
2747
+ "type": "number | string",
2748
+ "description": "Step size, Default: `1`"
2685
2749
  },
2686
- "van-share-sheet/duration": {
2750
+ "van-slider/bar-height": {
2687
2751
  "type": "number | string",
2688
- "description": "Transition duration, unit second, Default: `0.3`"
2752
+ "description": "Height of bar, Default: `2px`"
2689
2753
  },
2690
- "van-share-sheet/round": {
2691
- "type": "boolean",
2692
- "description": "Whether to show round corner, Default: `true`"
2754
+ "van-slider/button-size": {
2755
+ "type": "number | string",
2756
+ "description": "Button size, Default: `24px`"
2693
2757
  },
2694
- "van-share-sheet/overlay": {
2695
- "type": "boolean",
2696
- "description": "Whether to show overlay, Default: `true`"
2697
- },
2698
- "van-share-sheet/overlay-class": {
2699
- "type": "string | Array | object",
2700
- "description": "Custom overlay class, Default: -"
2701
- },
2702
- "van-share-sheet/overlay-style": {
2703
- "type": "object",
2704
- "description": "Custom overlay style, Default: -"
2705
- },
2706
- "van-share-sheet/lock-scroll": {
2707
- "type": "boolean",
2708
- "description": "Whether to lock background scroll, Default: `true`"
2709
- },
2710
- "van-share-sheet/lazy-render": {
2711
- "type": "boolean",
2712
- "description": "Whether to lazy render util appeared, Default: `true`"
2713
- },
2714
- "van-share-sheet/close-on-popstate": {
2715
- "type": "boolean",
2716
- "description": "Whether to close when popstate, Default: `true`"
2717
- },
2718
- "van-share-sheet/close-on-click-overlay": {
2719
- "type": "boolean",
2720
- "description": "Whether to close when overlay is clicked, Default: `true`"
2721
- },
2722
- "van-share-sheet/safe-area-inset-bottom": {
2723
- "type": "boolean",
2724
- "description": "Whether to enable bottom safe area adaptation, Default: `true`"
2725
- },
2726
- "van-share-sheet/teleport": {
2727
- "type": "string | Element",
2728
- "description": "Specifies a target element where ShareSheet will be mounted, Default: -"
2729
- },
2730
- "van-share-sheet/before-close": {
2731
- "type": "(action: string) => boolean | Promise\\<boolean\\>",
2732
- "description": "Callback function before close, Default: -"
2733
- },
2734
- "van-slider/v-model": {
2735
- "type": "number | [number, number]",
2736
- "description": "Current value, Default: `0`"
2737
- },
2738
- "van-slider/max": {
2739
- "type": "number | string",
2740
- "description": "Max value, Default: `100`"
2741
- },
2742
- "van-slider/min": {
2743
- "type": "number | string",
2744
- "description": "Min value, Default: `0`"
2745
- },
2746
- "van-slider/step": {
2747
- "type": "number | string",
2748
- "description": "Step size, Default: `1`"
2749
- },
2750
- "van-slider/bar-height": {
2751
- "type": "number | string",
2752
- "description": "Height of bar, Default: `2px`"
2753
- },
2754
- "van-slider/button-size": {
2755
- "type": "number | string",
2756
- "description": "Button size, Default: `24px`"
2757
- },
2758
- "van-slider/active-color": {
2759
- "type": "string",
2760
- "description": "Active color of bar, Default: `#1989fa`"
2758
+ "van-slider/active-color": {
2759
+ "type": "string",
2760
+ "description": "Active color of bar, Default: `#1989fa`"
2761
2761
  },
2762
2762
  "van-slider/inactive-color": {
2763
2763
  "type": "string",
@@ -2871,6 +2871,58 @@
2871
2871
  "type": "boolean",
2872
2872
  "description": "Whether to allow the input to be empty, Default: `false`"
2873
2873
  },
2874
+ "van-steps/active": {
2875
+ "type": "number | string",
2876
+ "description": "Active step, Default: `0`"
2877
+ },
2878
+ "van-steps/direction": {
2879
+ "type": "string",
2880
+ "description": "Can be set to `vertical`, Default: `horizontal`"
2881
+ },
2882
+ "van-steps/active-color": {
2883
+ "type": "string",
2884
+ "description": "Active step color, Default: `#07c160`"
2885
+ },
2886
+ "van-steps/inactive-color": {
2887
+ "type": "string",
2888
+ "description": "Inactive step color, Default: `#969799`"
2889
+ },
2890
+ "van-steps/active-icon": {
2891
+ "type": "string",
2892
+ "description": "Active icon name, Default: `checked`"
2893
+ },
2894
+ "van-steps/inactive-icon": {
2895
+ "type": "string",
2896
+ "description": "Inactive icon name, Default: -"
2897
+ },
2898
+ "van-steps/finish-icon": {
2899
+ "type": "string",
2900
+ "description": "Finish icon name, Default: -"
2901
+ },
2902
+ "van-steps/icon-prefix": {
2903
+ "type": "string",
2904
+ "description": "Icon className prefix, Default: `van-icon`"
2905
+ },
2906
+ "van-sticky/position": {
2907
+ "type": "string",
2908
+ "description": "Offset position, can be set to `bottom`, Default: `top`"
2909
+ },
2910
+ "van-sticky/offset-top": {
2911
+ "type": "number | string",
2912
+ "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
2913
+ },
2914
+ "van-sticky/offset-bottom": {
2915
+ "type": "number | string",
2916
+ "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
2917
+ },
2918
+ "van-sticky/z-index": {
2919
+ "type": "number | string",
2920
+ "description": "z-index when sticky, Default: `99`"
2921
+ },
2922
+ "van-sticky/container": {
2923
+ "type": "Element",
2924
+ "description": "Container DOM, Default: -"
2925
+ },
2874
2926
  "van-submit-bar/price": {
2875
2927
  "type": "number",
2876
2928
  "description": "Price, Default: -"
@@ -2927,38 +2979,6 @@
2927
2979
  "type": "boolean",
2928
2980
  "description": "Whether to enable bottom safe area adaptation, Default: `true`"
2929
2981
  },
2930
- "van-steps/active": {
2931
- "type": "number | string",
2932
- "description": "Active step, Default: `0`"
2933
- },
2934
- "van-steps/direction": {
2935
- "type": "string",
2936
- "description": "Can be set to `vertical`, Default: `horizontal`"
2937
- },
2938
- "van-steps/active-color": {
2939
- "type": "string",
2940
- "description": "Active step color, Default: `#07c160`"
2941
- },
2942
- "van-steps/inactive-color": {
2943
- "type": "string",
2944
- "description": "Inactive step color, Default: `#969799`"
2945
- },
2946
- "van-steps/active-icon": {
2947
- "type": "string",
2948
- "description": "Active icon name, Default: `checked`"
2949
- },
2950
- "van-steps/inactive-icon": {
2951
- "type": "string",
2952
- "description": "Inactive icon name, Default: -"
2953
- },
2954
- "van-steps/finish-icon": {
2955
- "type": "string",
2956
- "description": "Finish icon name, Default: -"
2957
- },
2958
- "van-steps/icon-prefix": {
2959
- "type": "string",
2960
- "description": "Icon className prefix, Default: `van-icon`"
2961
- },
2962
2982
  "van-swipe/autoplay": {
2963
2983
  "type": "number | string",
2964
2984
  "description": "Autoplay interval (ms), Default: -"
@@ -3007,25 +3027,29 @@
3007
3027
  "type": "string",
3008
3028
  "description": "Indicator color, Default: `#1989fa`"
3009
3029
  },
3010
- "van-sticky/position": {
3011
- "type": "string",
3012
- "description": "Offset position, can be set to `bottom`, Default: `top`"
3013
- },
3014
- "van-sticky/offset-top": {
3030
+ "van-swipe-cell/name": {
3015
3031
  "type": "number | string",
3016
- "description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
3032
+ "description": "Identifier of SwipeCell, Default: -"
3017
3033
  },
3018
- "van-sticky/offset-bottom": {
3034
+ "van-swipe-cell/left-width": {
3019
3035
  "type": "number | string",
3020
- "description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
3036
+ "description": "Width of the left swipe area, Default: `auto`"
3021
3037
  },
3022
- "van-sticky/z-index": {
3038
+ "van-swipe-cell/right-width": {
3023
3039
  "type": "number | string",
3024
- "description": "z-index when sticky, Default: `99`"
3040
+ "description": "Width of the right swipe area, Default: `auto`"
3025
3041
  },
3026
- "van-sticky/container": {
3027
- "type": "Element",
3028
- "description": "Container DOM, Default: -"
3042
+ "van-swipe-cell/before-close": {
3043
+ "type": "(args) => boolean | Promise\\<boolean\\>",
3044
+ "description": "Callback function before close, Default: -"
3045
+ },
3046
+ "van-swipe-cell/disabled": {
3047
+ "type": "boolean",
3048
+ "description": "Whether to disabled swipe, Default: `false`"
3049
+ },
3050
+ "van-swipe-cell/stop-propagation": {
3051
+ "type": "boolean",
3052
+ "description": "Whether to stop touchmove event propagation, Default: `false`"
3029
3053
  },
3030
3054
  "van-switch/v-model": {
3031
3055
  "type": "ActiveValue | InactiveValue",
@@ -3059,29 +3083,81 @@
3059
3083
  "type": "any",
3060
3084
  "description": "Value when inactive, Default: `false`"
3061
3085
  },
3062
- "van-swipe-cell/name": {
3086
+ "van-tabbar/v-model": {
3063
3087
  "type": "number | string",
3064
- "description": "Identifier of SwipeCell, Default: -"
3088
+ "description": "Identifier of current tab, Default: `0`"
3065
3089
  },
3066
- "van-swipe-cell/left-width": {
3090
+ "van-tabbar/fixed": {
3091
+ "type": "boolean",
3092
+ "description": "Whether to fixed bottom, Default: `true`"
3093
+ },
3094
+ "van-tabbar/border": {
3095
+ "type": "boolean",
3096
+ "description": "Whether to show border, Default: `true`"
3097
+ },
3098
+ "van-tabbar/z-index": {
3067
3099
  "type": "number | string",
3068
- "description": "Width of the left swipe area, Default: `auto`"
3100
+ "description": "Z-index, Default: `1`"
3069
3101
  },
3070
- "van-swipe-cell/right-width": {
3102
+ "van-tabbar/active-color": {
3103
+ "type": "string",
3104
+ "description": "Color of active tab item, Default: `#1989fa`"
3105
+ },
3106
+ "van-tabbar/inactive-color": {
3107
+ "type": "string",
3108
+ "description": "Color of inactive tab item, Default: `#7d7e80`"
3109
+ },
3110
+ "van-tabbar/route": {
3111
+ "type": "boolean",
3112
+ "description": "Whether to enable route mode, Default: `false`"
3113
+ },
3114
+ "van-tabbar/placeholder": {
3115
+ "type": "boolean",
3116
+ "description": "Whether to generate a placeholder element when fixed, Default: `false`"
3117
+ },
3118
+ "van-tabbar/safe-area-inset-bottom": {
3119
+ "type": "boolean",
3120
+ "description": "Whether to enable bottom safe area adaptation, Default: `false`"
3121
+ },
3122
+ "van-tabbar/before-change": {
3123
+ "type": "(name: number | string) => boolean | Promise\\<boolean\\>",
3124
+ "description": "Callback function before changing tab, return `false` to prevent change, support return Promise, Default: -"
3125
+ },
3126
+ "van-tabbar-item/name": {
3071
3127
  "type": "number | string",
3072
- "description": "Width of the right swipe area, Default: `auto`"
3128
+ "description": "Identifier, Default: Item index"
3073
3129
  },
3074
- "van-swipe-cell/before-close": {
3075
- "type": "(args) => boolean | Promise\\<boolean\\>",
3076
- "description": "Callback function before close, Default: -"
3130
+ "van-tabbar-item/icon": {
3131
+ "type": "string",
3132
+ "description": "Icon name, Default: -"
3077
3133
  },
3078
- "van-swipe-cell/disabled": {
3134
+ "van-tabbar-item/icon-prefix": {
3135
+ "type": "string",
3136
+ "description": "Icon className prefix, Default: `van-icon`"
3137
+ },
3138
+ "van-tabbar-item/dot": {
3079
3139
  "type": "boolean",
3080
- "description": "Whether to disabled swipe, Default: `false`"
3140
+ "description": "Whether to show red dot, Default: -"
3081
3141
  },
3082
- "van-swipe-cell/stop-propagation": {
3142
+ "van-tabbar-item/badge": {
3143
+ "type": "number | string",
3144
+ "description": "Content of the badge, Default: `''`"
3145
+ },
3146
+ "van-tabbar-item/badge-props": {
3147
+ "type": "BadgeProps",
3148
+ "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
3149
+ },
3150
+ "van-tabbar-item/url": {
3151
+ "type": "string",
3152
+ "description": "Link, Default: -"
3153
+ },
3154
+ "van-tabbar-item/to": {
3155
+ "type": "string | object",
3156
+ "description": "Target route of the link, same as to of vue-router, Default: -"
3157
+ },
3158
+ "van-tabbar-item/replace": {
3083
3159
  "type": "boolean",
3084
- "description": "Whether to stop touchmove event propagation, Default: `false`"
3160
+ "description": "If true, the navigation will not leave a history record, Default: `false`"
3085
3161
  },
3086
3162
  "van-tabs/v-model:active": {
3087
3163
  "type": "number | string",
@@ -3207,82 +3283,6 @@
3207
3283
  "type": "boolean",
3208
3284
  "description": "Whether to show badge when the value is zero, Default: `true`"
3209
3285
  },
3210
- "van-tabbar/v-model": {
3211
- "type": "number | string",
3212
- "description": "Identifier of current tab, Default: `0`"
3213
- },
3214
- "van-tabbar/fixed": {
3215
- "type": "boolean",
3216
- "description": "Whether to fixed bottom, Default: `true`"
3217
- },
3218
- "van-tabbar/border": {
3219
- "type": "boolean",
3220
- "description": "Whether to show border, Default: `true`"
3221
- },
3222
- "van-tabbar/z-index": {
3223
- "type": "number | string",
3224
- "description": "Z-index, Default: `1`"
3225
- },
3226
- "van-tabbar/active-color": {
3227
- "type": "string",
3228
- "description": "Color of active tab item, Default: `#1989fa`"
3229
- },
3230
- "van-tabbar/inactive-color": {
3231
- "type": "string",
3232
- "description": "Color of inactive tab item, Default: `#7d7e80`"
3233
- },
3234
- "van-tabbar/route": {
3235
- "type": "boolean",
3236
- "description": "Whether to enable route mode, Default: `false`"
3237
- },
3238
- "van-tabbar/placeholder": {
3239
- "type": "boolean",
3240
- "description": "Whether to generate a placeholder element when fixed, Default: `false`"
3241
- },
3242
- "van-tabbar/safe-area-inset-bottom": {
3243
- "type": "boolean",
3244
- "description": "Whether to enable bottom safe area adaptation, Default: `false`"
3245
- },
3246
- "van-tabbar/before-change": {
3247
- "type": "(name: number | string) => boolean | Promise\\<boolean\\>",
3248
- "description": "Callback function before changing tab, return `false` to prevent change, support return Promise, Default: -"
3249
- },
3250
- "van-tabbar-item/name": {
3251
- "type": "number | string",
3252
- "description": "Identifier, Default: Item index"
3253
- },
3254
- "van-tabbar-item/icon": {
3255
- "type": "string",
3256
- "description": "Icon name, Default: -"
3257
- },
3258
- "van-tabbar-item/icon-prefix": {
3259
- "type": "string",
3260
- "description": "Icon className prefix, Default: `van-icon`"
3261
- },
3262
- "van-tabbar-item/dot": {
3263
- "type": "boolean",
3264
- "description": "Whether to show red dot, Default: -"
3265
- },
3266
- "van-tabbar-item/badge": {
3267
- "type": "number | string",
3268
- "description": "Content of the badge, Default: `''`"
3269
- },
3270
- "van-tabbar-item/badge-props": {
3271
- "type": "BadgeProps",
3272
- "description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
3273
- },
3274
- "van-tabbar-item/url": {
3275
- "type": "string",
3276
- "description": "Link, Default: -"
3277
- },
3278
- "van-tabbar-item/to": {
3279
- "type": "string | object",
3280
- "description": "Target route of the link, same as to of vue-router, Default: -"
3281
- },
3282
- "van-tabbar-item/replace": {
3283
- "type": "boolean",
3284
- "description": "If true, the navigation will not leave a history record, Default: `false`"
3285
- },
3286
3286
  "van-tag/type": {
3287
3287
  "type": "string",
3288
3288
  "description": "Type, can be set to `primary` `success` `danger` `warning`, Default: `default`"