vant 2.13.0 → 2.13.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.
@@ -155,22 +155,6 @@
155
155
  "type": "(key, val) => string",
156
156
  "description": "自定义校验函数, 默认值: -"
157
157
  },
158
- "van-badge/content": {
159
- "type": "number | string",
160
- "description": "徽标内容, 默认值: -"
161
- },
162
- "van-badge/color": {
163
- "type": "string",
164
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
165
- },
166
- "van-badge/dot": {
167
- "type": "boolean",
168
- "description": "是否展示为小红点, 默认值: `false`"
169
- },
170
- "van-badge/max": {
171
- "type": "number | string",
172
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
173
- },
174
158
  "van-address-list/v-model": {
175
159
  "type": "string",
176
160
  "description": "当前选中地址的 id, 默认值: -"
@@ -199,6 +183,58 @@
199
183
  "type": "string",
200
184
  "description": "默认地址标签文字, 默认值: -"
201
185
  },
186
+ "van-area/value": {
187
+ "type": "string",
188
+ "description": "当前选中的省市区`code`, 默认值: -"
189
+ },
190
+ "van-area/title": {
191
+ "type": "string",
192
+ "description": "顶部栏标题, 默认值: -"
193
+ },
194
+ "van-area/confirm-button-text": {
195
+ "type": "string",
196
+ "description": "确认按钮文字, 默认值: `确认`"
197
+ },
198
+ "van-area/cancel-button-text": {
199
+ "type": "string",
200
+ "description": "取消按钮文字, 默认值: `取消`"
201
+ },
202
+ "van-area/area-list": {
203
+ "type": "object",
204
+ "description": "省市区数据,格式见下方, 默认值: -"
205
+ },
206
+ "van-area/columns-placeholder": {
207
+ "type": "string[]",
208
+ "description": "列占位提示文字, 默认值: `[]`"
209
+ },
210
+ "van-area/loading": {
211
+ "type": "boolean",
212
+ "description": "是否显示加载状态, 默认值: `false`"
213
+ },
214
+ "van-area/readonly": {
215
+ "type": "boolean",
216
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
217
+ },
218
+ "van-area/item-height": {
219
+ "type": "number | string",
220
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
221
+ },
222
+ "van-area/columns-num": {
223
+ "type": "number | string",
224
+ "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
225
+ },
226
+ "van-area/visible-item-count": {
227
+ "type": "number | string",
228
+ "description": "可见的选项个数, 默认值: `6`"
229
+ },
230
+ "van-area/swipe-duration": {
231
+ "type": "number | string",
232
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
233
+ },
234
+ "van-area/is-oversea-code": {
235
+ "type": "() => boolean",
236
+ "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
237
+ },
202
238
  "van-button/type": {
203
239
  "type": "string",
204
240
  "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
@@ -287,57 +323,21 @@
287
323
  "type": "boolean",
288
324
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
289
325
  },
290
- "van-area/value": {
291
- "type": "string",
292
- "description": "当前选中的省市区`code`, 默认值: -"
293
- },
294
- "van-area/title": {
295
- "type": "string",
296
- "description": "顶部栏标题, 默认值: -"
297
- },
298
- "van-area/confirm-button-text": {
299
- "type": "string",
300
- "description": "确认按钮文字, 默认值: `确认`"
326
+ "van-badge/content": {
327
+ "type": "number | string",
328
+ "description": "徽标内容, 默认值: -"
301
329
  },
302
- "van-area/cancel-button-text": {
330
+ "van-badge/color": {
303
331
  "type": "string",
304
- "description": "取消按钮文字, 默认值: `取消`"
305
- },
306
- "van-area/area-list": {
307
- "type": "object",
308
- "description": "省市区数据,格式见下方, 默认值: -"
309
- },
310
- "van-area/columns-placeholder": {
311
- "type": "string[]",
312
- "description": "列占位提示文字, 默认值: `[]`"
313
- },
314
- "van-area/loading": {
315
- "type": "boolean",
316
- "description": "是否显示加载状态, 默认值: `false`"
332
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
317
333
  },
318
- "van-area/readonly": {
334
+ "van-badge/dot": {
319
335
  "type": "boolean",
320
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
321
- },
322
- "van-area/item-height": {
323
- "type": "number | string",
324
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
325
- },
326
- "van-area/columns-num": {
327
- "type": "number | string",
328
- "description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
329
- },
330
- "van-area/visible-item-count": {
331
- "type": "number | string",
332
- "description": "可见的选项个数, 默认值: `6`"
336
+ "description": "是否展示为小红点, 默认值: `false`"
333
337
  },
334
- "van-area/swipe-duration": {
338
+ "van-badge/max": {
335
339
  "type": "number | string",
336
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
337
- },
338
- "van-area/is-oversea-code": {
339
- "type": "() => boolean",
340
- "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
340
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
341
341
  },
342
342
  "van-calendar/type": {
343
343
  "type": "string",
@@ -779,22 +779,6 @@
779
779
  "type": "string",
780
780
  "description": "描述信息额外类名, 默认值: -"
781
781
  },
782
- "van-contact-card/type": {
783
- "type": "string",
784
- "description": "卡片类型,可选值为 `edit`, 默认值: `add`"
785
- },
786
- "van-contact-card/name": {
787
- "type": "string",
788
- "description": "联系人姓名, 默认值: -"
789
- },
790
- "van-contact-card/tel": {
791
- "type": "string",
792
- "description": "联系人手机号, 默认值: -"
793
- },
794
- "van-contact-card/add-text": {
795
- "type": "string",
796
- "description": "添加时的文案提示, 默认值: `添加联系人`"
797
- },
798
782
  "van-contact-edit/contact-info": {
799
783
  "type": "Contact",
800
784
  "description": "联系人信息, 默认值: `{}`"
@@ -839,6 +823,22 @@
839
823
  "type": "string",
840
824
  "description": "默认联系人标签文案, 默认值: -"
841
825
  },
826
+ "van-contact-card/type": {
827
+ "type": "string",
828
+ "description": "卡片类型,可选值为 `edit`, 默认值: `add`"
829
+ },
830
+ "van-contact-card/name": {
831
+ "type": "string",
832
+ "description": "联系人姓名, 默认值: -"
833
+ },
834
+ "van-contact-card/tel": {
835
+ "type": "string",
836
+ "description": "联系人手机号, 默认值: -"
837
+ },
838
+ "van-contact-card/add-text": {
839
+ "type": "string",
840
+ "description": "添加时的文案提示, 默认值: `添加联系人`"
841
+ },
842
842
  "van-count-down/time": {
843
843
  "type": "number | string",
844
844
  "description": "倒计时时长,单位毫秒, 默认值: `0`"
@@ -1015,6 +1015,18 @@
1015
1015
  "type": "number | string",
1016
1016
  "description": "可选的最大分钟, 默认值: `59`"
1017
1017
  },
1018
+ "van-divider/dashed": {
1019
+ "type": "boolean",
1020
+ "description": "是否使用虚线, 默认值: `false`"
1021
+ },
1022
+ "van-divider/hairline": {
1023
+ "type": "boolean",
1024
+ "description": "是否使用 0.5px 线, 默认值: `true`"
1025
+ },
1026
+ "van-divider/content-position": {
1027
+ "type": "string",
1028
+ "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1029
+ },
1018
1030
  "van-dialog/v-model": {
1019
1031
  "type": "boolean",
1020
1032
  "description": "是否显示弹窗, 默认值: -"
@@ -1107,18 +1119,6 @@
1107
1119
  "type": "string | () => Element",
1108
1120
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1109
1121
  },
1110
- "van-divider/dashed": {
1111
- "type": "boolean",
1112
- "description": "是否使用虚线, 默认值: `false`"
1113
- },
1114
- "van-divider/hairline": {
1115
- "type": "boolean",
1116
- "description": "是否使用 0.5px 线, 默认值: `true`"
1117
- },
1118
- "van-divider/content-position": {
1119
- "type": "string",
1120
- "description": "内容位置,可选值为`left` `right`, 默认值: `center`"
1121
- },
1122
1122
  "van-dropdown-menu/active-color": {
1123
1123
  "type": "string",
1124
1124
  "description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
@@ -1503,6 +1503,38 @@
1503
1503
  "type": "boolean",
1504
1504
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1505
1505
  },
1506
+ "van-icon/name": {
1507
+ "type": "string",
1508
+ "description": "图标名称或图片链接, 默认值: -"
1509
+ },
1510
+ "van-icon/dot": {
1511
+ "type": "boolean",
1512
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1513
+ },
1514
+ "van-icon/badge": {
1515
+ "type": "number | string",
1516
+ "description": "图标右上角徽标的内容, 默认值: -"
1517
+ },
1518
+ "van-icon/info": {
1519
+ "type": "number | string",
1520
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1521
+ },
1522
+ "van-icon/color": {
1523
+ "type": "string",
1524
+ "description": "图标颜色, 默认值: `inherit`"
1525
+ },
1526
+ "van-icon/size": {
1527
+ "type": "number | string",
1528
+ "description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
1529
+ },
1530
+ "van-icon/class-prefix": {
1531
+ "type": "string",
1532
+ "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1533
+ },
1534
+ "van-icon/tag": {
1535
+ "type": "string",
1536
+ "description": "HTML 标签, 默认值: `i`"
1537
+ },
1506
1538
  "van-image/src": {
1507
1539
  "type": "string",
1508
1540
  "description": "图片链接, 默认值: -"
@@ -1555,38 +1587,6 @@
1555
1587
  "type": "string",
1556
1588
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
1557
1589
  },
1558
- "van-icon/name": {
1559
- "type": "string",
1560
- "description": "图标名称或图片链接, 默认值: -"
1561
- },
1562
- "van-icon/dot": {
1563
- "type": "boolean",
1564
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1565
- },
1566
- "van-icon/badge": {
1567
- "type": "number | string",
1568
- "description": "图标右上角徽标的内容, 默认值: -"
1569
- },
1570
- "van-icon/info": {
1571
- "type": "number | string",
1572
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1573
- },
1574
- "van-icon/color": {
1575
- "type": "string",
1576
- "description": "图标颜色, 默认值: `inherit`"
1577
- },
1578
- "van-icon/size": {
1579
- "type": "number | string",
1580
- "description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
1581
- },
1582
- "van-icon/class-prefix": {
1583
- "type": "string",
1584
- "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1585
- },
1586
- "van-icon/tag": {
1587
- "type": "string",
1588
- "description": "HTML 标签, 默认值: `i`"
1589
- },
1590
1590
  "van-image-preview/images": {
1591
1591
  "type": "string[]",
1592
1592
  "description": "需要预览的图片 URL 数组, 默认值: `[]`"
@@ -1899,41 +1899,61 @@
1899
1899
  "type": "boolean",
1900
1900
  "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
1901
1901
  },
1902
- "van-pagination/v-model": {
1903
- "type": "number",
1904
- "description": "当前页码, 默认值: -"
1902
+ "van-picker/columns": {
1903
+ "type": "Column[]",
1904
+ "description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
1905
1905
  },
1906
- "van-pagination/mode": {
1906
+ "van-picker/title": {
1907
1907
  "type": "string",
1908
- "description": "显示模式,可选值为 `simple`, 默认值: `multi`"
1908
+ "description": "顶部栏标题, 默认值: -"
1909
1909
  },
1910
- "van-pagination/prev-text": {
1910
+ "van-picker/confirm-button-text": {
1911
1911
  "type": "string",
1912
- "description": "上一页按钮文字, 默认值: `上一页`"
1912
+ "description": "确认按钮文字, 默认值: `确认`"
1913
1913
  },
1914
- "van-pagination/next-text": {
1914
+ "van-picker/cancel-button-text": {
1915
1915
  "type": "string",
1916
- "description": "下一页按钮文字, 默认值: `下一页`"
1916
+ "description": "取消按钮文字, 默认值: `取消`"
1917
1917
  },
1918
- "van-pagination/page-count": {
1919
- "type": "number | string",
1920
- "description": "总页数, 默认值: 根据页数计算"
1918
+ "van-picker/value-key": {
1919
+ "type": "string",
1920
+ "description": "选项对象中,选项文字对应的键名, 默认值: `text`"
1921
1921
  },
1922
- "van-pagination/total-items": {
1922
+ "van-picker/toolbar-position": {
1923
+ "type": "string",
1924
+ "description": "顶部栏位置,可选值为`bottom`, 默认值: `top`"
1925
+ },
1926
+ "van-picker/loading": {
1927
+ "type": "boolean",
1928
+ "description": "是否显示加载状态, 默认值: `false`"
1929
+ },
1930
+ "van-picker/readonly": {
1931
+ "type": "boolean",
1932
+ "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
1933
+ },
1934
+ "van-picker/show-toolbar": {
1935
+ "type": "boolean",
1936
+ "description": "是否显示顶部栏, 默认值: `false`"
1937
+ },
1938
+ "van-picker/allow-html": {
1939
+ "type": "boolean",
1940
+ "description": "是否允许选项内容中渲染 HTML, 默认值: `true`"
1941
+ },
1942
+ "van-picker/default-index": {
1923
1943
  "type": "number | string",
1924
- "description": "总记录数, 默认值: `0`"
1944
+ "description": "单列选择时,默认选中项的索引, 默认值: `0`"
1925
1945
  },
1926
- "van-pagination/items-per-page": {
1946
+ "van-picker/item-height": {
1927
1947
  "type": "number | string",
1928
- "description": "每页记录数, 默认值: `10`"
1948
+ "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
1929
1949
  },
1930
- "van-pagination/show-page-size": {
1950
+ "van-picker/visible-item-count": {
1931
1951
  "type": "number | string",
1932
- "description": "显示的页码个数, 默认值: `5`"
1952
+ "description": "可见的选项个数, 默认值: `6`"
1933
1953
  },
1934
- "van-pagination/force-ellipses": {
1935
- "type": "boolean",
1936
- "description": "是否显示省略号, 默认值: `false`"
1954
+ "van-picker/swipe-duration": {
1955
+ "type": "number | string",
1956
+ "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
1937
1957
  },
1938
1958
  "van-panel/title": {
1939
1959
  "type": "string",
@@ -1951,6 +1971,42 @@
1951
1971
  "type": "string",
1952
1972
  "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1953
1973
  },
1974
+ "van-pagination/v-model": {
1975
+ "type": "number",
1976
+ "description": "当前页码, 默认值: -"
1977
+ },
1978
+ "van-pagination/mode": {
1979
+ "type": "string",
1980
+ "description": "显示模式,可选值为 `simple`, 默认值: `multi`"
1981
+ },
1982
+ "van-pagination/prev-text": {
1983
+ "type": "string",
1984
+ "description": "上一页按钮文字, 默认值: `上一页`"
1985
+ },
1986
+ "van-pagination/next-text": {
1987
+ "type": "string",
1988
+ "description": "下一页按钮文字, 默认值: `下一页`"
1989
+ },
1990
+ "van-pagination/page-count": {
1991
+ "type": "number | string",
1992
+ "description": "总页数, 默认值: 根据页数计算"
1993
+ },
1994
+ "van-pagination/total-items": {
1995
+ "type": "number | string",
1996
+ "description": "总记录数, 默认值: `0`"
1997
+ },
1998
+ "van-pagination/items-per-page": {
1999
+ "type": "number | string",
2000
+ "description": "每页记录数, 默认值: `10`"
2001
+ },
2002
+ "van-pagination/show-page-size": {
2003
+ "type": "number | string",
2004
+ "description": "显示的页码个数, 默认值: `5`"
2005
+ },
2006
+ "van-pagination/force-ellipses": {
2007
+ "type": "boolean",
2008
+ "description": "是否显示省略号, 默认值: `false`"
2009
+ },
1954
2010
  "van-password-input/value": {
1955
2011
  "type": "string",
1956
2012
  "description": "密码值, 默认值: `''`"
@@ -1979,62 +2035,6 @@
1979
2035
  "type": "boolean",
1980
2036
  "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
1981
2037
  },
1982
- "van-picker/columns": {
1983
- "type": "Column[]",
1984
- "description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
1985
- },
1986
- "van-picker/title": {
1987
- "type": "string",
1988
- "description": "顶部栏标题, 默认值: -"
1989
- },
1990
- "van-picker/confirm-button-text": {
1991
- "type": "string",
1992
- "description": "确认按钮文字, 默认值: `确认`"
1993
- },
1994
- "van-picker/cancel-button-text": {
1995
- "type": "string",
1996
- "description": "取消按钮文字, 默认值: `取消`"
1997
- },
1998
- "van-picker/value-key": {
1999
- "type": "string",
2000
- "description": "选项对象中,选项文字对应的键名, 默认值: `text`"
2001
- },
2002
- "van-picker/toolbar-position": {
2003
- "type": "string",
2004
- "description": "顶部栏位置,可选值为`bottom`, 默认值: `top`"
2005
- },
2006
- "van-picker/loading": {
2007
- "type": "boolean",
2008
- "description": "是否显示加载状态, 默认值: `false`"
2009
- },
2010
- "van-picker/readonly": {
2011
- "type": "boolean",
2012
- "description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
2013
- },
2014
- "van-picker/show-toolbar": {
2015
- "type": "boolean",
2016
- "description": "是否显示顶部栏, 默认值: `false`"
2017
- },
2018
- "van-picker/allow-html": {
2019
- "type": "boolean",
2020
- "description": "是否允许选项内容中渲染 HTML, 默认值: `true`"
2021
- },
2022
- "van-picker/default-index": {
2023
- "type": "number | string",
2024
- "description": "单列选择时,默认选中项的索引, 默认值: `0`"
2025
- },
2026
- "van-picker/item-height": {
2027
- "type": "number | string",
2028
- "description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
2029
- },
2030
- "van-picker/visible-item-count": {
2031
- "type": "number | string",
2032
- "description": "可见的选项个数, 默认值: `6`"
2033
- },
2034
- "van-picker/swipe-duration": {
2035
- "type": "number | string",
2036
- "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2037
- },
2038
2038
  "van-popover/v-model": {
2039
2039
  "type": "boolean",
2040
2040
  "description": "是否展示气泡弹出层, 默认值: `false`"
@@ -2379,54 +2379,6 @@
2379
2379
  "type": "string",
2380
2380
  "description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2381
2381
  },
2382
- "van-share-sheet/options": {
2383
- "type": "Option[]",
2384
- "description": "分享选项, 默认值: `[]`"
2385
- },
2386
- "van-share-sheet/title": {
2387
- "type": "string",
2388
- "description": "顶部标题, 默认值: -"
2389
- },
2390
- "van-share-sheet/cancel-text": {
2391
- "type": "string",
2392
- "description": "取消按钮文字,传入空字符串可以隐藏按钮, 默认值: `'取消'`"
2393
- },
2394
- "van-share-sheet/description": {
2395
- "type": "string",
2396
- "description": "标题下方的辅助描述文字, 默认值: -"
2397
- },
2398
- "van-share-sheet/duration": {
2399
- "type": "number | string",
2400
- "description": "动画时长,单位秒, 默认值: `0.3`"
2401
- },
2402
- "van-share-sheet/overlay": {
2403
- "type": "boolean",
2404
- "description": "是否显示遮罩层, 默认值: `true`"
2405
- },
2406
- "van-share-sheet/lock-scroll": {
2407
- "type": "boolean",
2408
- "description": "是否锁定背景滚动, 默认值: `true`"
2409
- },
2410
- "van-share-sheet/lazy-render": {
2411
- "type": "boolean",
2412
- "description": "是否在显示弹层时才渲染内容, 默认值: `true`"
2413
- },
2414
- "van-share-sheet/close-on-popstate": {
2415
- "type": "boolean",
2416
- "description": "是否在页面回退时自动关闭, 默认值: `true`"
2417
- },
2418
- "van-share-sheet/close-on-click-overlay": {
2419
- "type": "boolean",
2420
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
2421
- },
2422
- "van-share-sheet/safe-area-inset-bottom": {
2423
- "type": "boolean",
2424
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
2425
- },
2426
- "van-share-sheet/get-container": {
2427
- "type": "string | () => Element",
2428
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
2429
- },
2430
2382
  "van-sidebar/v-model": {
2431
2383
  "type": "number | string",
2432
2384
  "description": "当前导航项的索引, 默认值: `0`"
@@ -2463,45 +2415,53 @@
2463
2415
  "type": "boolean",
2464
2416
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
2465
2417
  },
2466
- "van-skeleton/row": {
2467
- "type": "number | string",
2468
- "description": "段落占位图行数, 默认值: `0`"
2418
+ "van-share-sheet/options": {
2419
+ "type": "Option[]",
2420
+ "description": "分享选项, 默认值: `[]`"
2469
2421
  },
2470
- "van-skeleton/row-width": {
2471
- "type": "number | string \\",
2472
- "description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\"
2422
+ "van-share-sheet/title": {
2423
+ "type": "string",
2424
+ "description": "顶部标题, 默认值: -"
2473
2425
  },
2474
- "van-skeleton/title": {
2475
- "type": "boolean",
2476
- "description": "是否显示标题占位图, 默认值: `false`"
2426
+ "van-share-sheet/cancel-text": {
2427
+ "type": "string",
2428
+ "description": "取消按钮文字,传入空字符串可以隐藏按钮, 默认值: `'取消'`"
2477
2429
  },
2478
- "van-skeleton/avatar": {
2430
+ "van-share-sheet/description": {
2431
+ "type": "string",
2432
+ "description": "标题下方的辅助描述文字, 默认值: -"
2433
+ },
2434
+ "van-share-sheet/duration": {
2435
+ "type": "number | string",
2436
+ "description": "动画时长,单位秒, 默认值: `0.3`"
2437
+ },
2438
+ "van-share-sheet/overlay": {
2479
2439
  "type": "boolean",
2480
- "description": "是否显示头像占位图, 默认值: `false`"
2440
+ "description": "是否显示遮罩层, 默认值: `true`"
2481
2441
  },
2482
- "van-skeleton/loading": {
2442
+ "van-share-sheet/lock-scroll": {
2483
2443
  "type": "boolean",
2484
- "description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
2444
+ "description": "是否锁定背景滚动, 默认值: `true`"
2485
2445
  },
2486
- "van-skeleton/animate": {
2446
+ "van-share-sheet/lazy-render": {
2487
2447
  "type": "boolean",
2488
- "description": "是否开启动画, 默认值: `true`"
2448
+ "description": "是否在显示弹层时才渲染内容, 默认值: `true`"
2489
2449
  },
2490
- "van-skeleton/round": {
2450
+ "van-share-sheet/close-on-popstate": {
2491
2451
  "type": "boolean",
2492
- "description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
2452
+ "description": "是否在页面回退时自动关闭, 默认值: `true`"
2493
2453
  },
2494
- "van-skeleton/title-width": {
2495
- "type": "number | string",
2496
- "description": "标题占位图宽度, 默认值: `40%`"
2454
+ "van-share-sheet/close-on-click-overlay": {
2455
+ "type": "boolean",
2456
+ "description": "是否在点击遮罩层后关闭, 默认值: `true`"
2497
2457
  },
2498
- "van-skeleton/avatar-size": {
2499
- "type": "number | string",
2500
- "description": "头像占位图大小, 默认值: `32px`"
2458
+ "van-share-sheet/safe-area-inset-bottom": {
2459
+ "type": "boolean",
2460
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
2501
2461
  },
2502
- "van-skeleton/avatar-shape": {
2503
- "type": "string",
2504
- "description": "头像占位图形状,可选值为`square`, 默认值: `round`"
2462
+ "van-share-sheet/get-container": {
2463
+ "type": "string | () => Element",
2464
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
2505
2465
  },
2506
2466
  "van-sku/v-model": {
2507
2467
  "type": "boolean",
@@ -2627,49 +2587,45 @@
2627
2587
  "type": "boolean",
2628
2588
  "description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
2629
2589
  },
2630
- "van-slider/value": {
2631
- "type": "number | array",
2632
- "description": "当前进度百分比, 默认值: `0`"
2633
- },
2634
- "van-slider/max": {
2635
- "type": "number | string",
2636
- "description": "最大值, 默认值: `100`"
2637
- },
2638
- "van-slider/min": {
2639
- "type": "number | string",
2640
- "description": "最小值, 默认值: `0`"
2641
- },
2642
- "van-slider/step": {
2643
- "type": "number | string",
2644
- "description": "步长, 默认值: `1`"
2645
- },
2646
- "van-slider/bar-height": {
2590
+ "van-skeleton/row": {
2647
2591
  "type": "number | string",
2648
- "description": "进度条高度,默认单位为`px`, 默认值: `2px`"
2592
+ "description": "段落占位图行数, 默认值: `0`"
2649
2593
  },
2650
- "van-slider/button-size": {
2651
- "type": "number | string",
2652
- "description": "滑块按钮大小,默认单位为`px`, 默认值: `24px`"
2594
+ "van-skeleton/row-width": {
2595
+ "type": "number | string \\",
2596
+ "description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\"
2653
2597
  },
2654
- "van-slider/active-color": {
2655
- "type": "string",
2656
- "description": "进度条激活态颜色, 默认值: `#1989fa`"
2598
+ "van-skeleton/title": {
2599
+ "type": "boolean",
2600
+ "description": "是否显示标题占位图, 默认值: `false`"
2657
2601
  },
2658
- "van-slider/inactive-color": {
2659
- "type": "string",
2660
- "description": "进度条非激活态颜色, 默认值: `#e5e5e5`"
2602
+ "van-skeleton/avatar": {
2603
+ "type": "boolean",
2604
+ "description": "是否显示头像占位图, 默认值: `false`"
2661
2605
  },
2662
- "van-slider/range": {
2606
+ "van-skeleton/loading": {
2663
2607
  "type": "boolean",
2664
- "description": "是否开启双滑块模式, 默认值: `false`"
2608
+ "description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
2665
2609
  },
2666
- "van-slider/disabled": {
2610
+ "van-skeleton/animate": {
2667
2611
  "type": "boolean",
2668
- "description": "是否禁用滑块, 默认值: `false`"
2612
+ "description": "是否开启动画, 默认值: `true`"
2669
2613
  },
2670
- "van-slider/vertical": {
2614
+ "van-skeleton/round": {
2671
2615
  "type": "boolean",
2672
- "description": "是否垂直展示, 默认值: `false`"
2616
+ "description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
2617
+ },
2618
+ "van-skeleton/title-width": {
2619
+ "type": "number | string",
2620
+ "description": "标题占位图宽度, 默认值: `40%`"
2621
+ },
2622
+ "van-skeleton/avatar-size": {
2623
+ "type": "number | string",
2624
+ "description": "头像占位图大小, 默认值: `32px`"
2625
+ },
2626
+ "van-skeleton/avatar-shape": {
2627
+ "type": "string",
2628
+ "description": "头像占位图形状,可选值为`square`, 默认值: `round`"
2673
2629
  },
2674
2630
  "van-stepper/v-model": {
2675
2631
  "type": "number | string",
@@ -2759,6 +2715,50 @@
2759
2715
  "type": "boolean",
2760
2716
  "description": "是否允许输入的值为空, 默认值: `false`"
2761
2717
  },
2718
+ "van-slider/value": {
2719
+ "type": "number | array",
2720
+ "description": "当前进度百分比, 默认值: `0`"
2721
+ },
2722
+ "van-slider/max": {
2723
+ "type": "number | string",
2724
+ "description": "最大值, 默认值: `100`"
2725
+ },
2726
+ "van-slider/min": {
2727
+ "type": "number | string",
2728
+ "description": "最小值, 默认值: `0`"
2729
+ },
2730
+ "van-slider/step": {
2731
+ "type": "number | string",
2732
+ "description": "步长, 默认值: `1`"
2733
+ },
2734
+ "van-slider/bar-height": {
2735
+ "type": "number | string",
2736
+ "description": "进度条高度,默认单位为`px`, 默认值: `2px`"
2737
+ },
2738
+ "van-slider/button-size": {
2739
+ "type": "number | string",
2740
+ "description": "滑块按钮大小,默认单位为`px`, 默认值: `24px`"
2741
+ },
2742
+ "van-slider/active-color": {
2743
+ "type": "string",
2744
+ "description": "进度条激活态颜色, 默认值: `#1989fa`"
2745
+ },
2746
+ "van-slider/inactive-color": {
2747
+ "type": "string",
2748
+ "description": "进度条非激活态颜色, 默认值: `#e5e5e5`"
2749
+ },
2750
+ "van-slider/range": {
2751
+ "type": "boolean",
2752
+ "description": "是否开启双滑块模式, 默认值: `false`"
2753
+ },
2754
+ "van-slider/disabled": {
2755
+ "type": "boolean",
2756
+ "description": "是否禁用滑块, 默认值: `false`"
2757
+ },
2758
+ "van-slider/vertical": {
2759
+ "type": "boolean",
2760
+ "description": "是否垂直展示, 默认值: `false`"
2761
+ },
2762
2762
  "van-steps/active": {
2763
2763
  "type": "number | string",
2764
2764
  "description": "当前步骤, 默认值: `0`"
@@ -3131,6 +3131,38 @@
3131
3131
  "type": "any",
3132
3132
  "description": "自定义标题类名, 默认值: -"
3133
3133
  },
3134
+ "van-tag/type": {
3135
+ "type": "string",
3136
+ "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"
3137
+ },
3138
+ "van-tag/size": {
3139
+ "type": "string",
3140
+ "description": "大小, 可选值为`large` `medium`, 默认值: -"
3141
+ },
3142
+ "van-tag/color": {
3143
+ "type": "string",
3144
+ "description": "标签颜色, 默认值: -"
3145
+ },
3146
+ "van-tag/plain": {
3147
+ "type": "boolean",
3148
+ "description": "是否为空心样式, 默认值: `false`"
3149
+ },
3150
+ "van-tag/round": {
3151
+ "type": "boolean",
3152
+ "description": "是否为圆角样式, 默认值: `false`"
3153
+ },
3154
+ "van-tag/mark": {
3155
+ "type": "boolean",
3156
+ "description": "是否为标记样式, 默认值: `false`"
3157
+ },
3158
+ "van-tag/text-color": {
3159
+ "type": "string",
3160
+ "description": "文本颜色,优先级高于`color`属性, 默认值: `white`"
3161
+ },
3162
+ "van-tag/closeable": {
3163
+ "type": "boolean",
3164
+ "description": "是否为可关闭标签, 默认值: `false`"
3165
+ },
3134
3166
  "van-tabbar/v-model": {
3135
3167
  "type": "number | string",
3136
3168
  "description": "当前选中标签的名称或索引值, 默认值: `0`"
@@ -3207,38 +3239,6 @@
3207
3239
  "type": "boolean",
3208
3240
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
3209
3241
  },
3210
- "van-tag/type": {
3211
- "type": "string",
3212
- "description": "类型,可选值为`primary` `success` `danger` `warning`, 默认值: `default`"
3213
- },
3214
- "van-tag/size": {
3215
- "type": "string",
3216
- "description": "大小, 可选值为`large` `medium`, 默认值: -"
3217
- },
3218
- "van-tag/color": {
3219
- "type": "string",
3220
- "description": "标签颜色, 默认值: -"
3221
- },
3222
- "van-tag/plain": {
3223
- "type": "boolean",
3224
- "description": "是否为空心样式, 默认值: `false`"
3225
- },
3226
- "van-tag/round": {
3227
- "type": "boolean",
3228
- "description": "是否为圆角样式, 默认值: `false`"
3229
- },
3230
- "van-tag/mark": {
3231
- "type": "boolean",
3232
- "description": "是否为标记样式, 默认值: `false`"
3233
- },
3234
- "van-tag/text-color": {
3235
- "type": "string",
3236
- "description": "文本颜色,优先级高于`color`属性, 默认值: `white`"
3237
- },
3238
- "van-tag/closeable": {
3239
- "type": "boolean",
3240
- "description": "是否为可关闭标签, 默认值: `false`"
3241
- },
3242
3242
  "van-tree-select/items": {
3243
3243
  "type": "Item[]",
3244
3244
  "description": "分类显示所需的数据, 默认值: `[]`"