vant 2.13.1 → 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,6 +155,34 @@
155
155
  "type": "(key, val) => string",
156
156
  "description": "自定义校验函数, 默认值: -"
157
157
  },
158
+ "van-address-list/v-model": {
159
+ "type": "string",
160
+ "description": "当前选中地址的 id, 默认值: -"
161
+ },
162
+ "van-address-list/list": {
163
+ "type": "Address[]",
164
+ "description": "地址列表, 默认值: `[]`"
165
+ },
166
+ "van-address-list/disabled-list": {
167
+ "type": "Address[]",
168
+ "description": "不可配送地址列表, 默认值: `[]`"
169
+ },
170
+ "van-address-list/disabled-text": {
171
+ "type": "string",
172
+ "description": "不可配送提示文案, 默认值: -"
173
+ },
174
+ "van-address-list/switchable": {
175
+ "type": "boolean",
176
+ "description": "是否允许切换地址, 默认值: `true`"
177
+ },
178
+ "van-address-list/add-button-text": {
179
+ "type": "string",
180
+ "description": "底部按钮文字, 默认值: `新增地址`"
181
+ },
182
+ "van-address-list/default-tag-text": {
183
+ "type": "string",
184
+ "description": "默认地址标签文字, 默认值: -"
185
+ },
158
186
  "van-area/value": {
159
187
  "type": "string",
160
188
  "description": "当前选中的省市区`code`, 默认值: -"
@@ -207,34 +235,6 @@
207
235
  "type": "() => boolean",
208
236
  "description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
209
237
  },
210
- "van-address-list/v-model": {
211
- "type": "string",
212
- "description": "当前选中地址的 id, 默认值: -"
213
- },
214
- "van-address-list/list": {
215
- "type": "Address[]",
216
- "description": "地址列表, 默认值: `[]`"
217
- },
218
- "van-address-list/disabled-list": {
219
- "type": "Address[]",
220
- "description": "不可配送地址列表, 默认值: `[]`"
221
- },
222
- "van-address-list/disabled-text": {
223
- "type": "string",
224
- "description": "不可配送提示文案, 默认值: -"
225
- },
226
- "van-address-list/switchable": {
227
- "type": "boolean",
228
- "description": "是否允许切换地址, 默认值: `true`"
229
- },
230
- "van-address-list/add-button-text": {
231
- "type": "string",
232
- "description": "底部按钮文字, 默认值: `新增地址`"
233
- },
234
- "van-address-list/default-tag-text": {
235
- "type": "string",
236
- "description": "默认地址标签文字, 默认值: -"
237
- },
238
238
  "van-button/type": {
239
239
  "type": "string",
240
240
  "description": "类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
@@ -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`"
@@ -1811,66 +1811,6 @@
1811
1811
  "type": "boolean",
1812
1812
  "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1813
1813
  },
1814
- "van-overlay/show": {
1815
- "type": "boolean",
1816
- "description": "是否展示遮罩层, 默认值: `false`"
1817
- },
1818
- "van-overlay/z-index": {
1819
- "type": "number | string",
1820
- "description": "z-index 层级, 默认值: `1`"
1821
- },
1822
- "van-overlay/duration": {
1823
- "type": "number | string",
1824
- "description": "动画时长,单位秒, 默认值: `0.3`"
1825
- },
1826
- "van-overlay/class-name": {
1827
- "type": "string",
1828
- "description": "自定义类名, 默认值: -"
1829
- },
1830
- "van-overlay/custom-style": {
1831
- "type": "object",
1832
- "description": "自定义样式, 默认值: -"
1833
- },
1834
- "van-overlay/lock-scroll": {
1835
- "type": "boolean",
1836
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
1837
- },
1838
- "van-pagination/v-model": {
1839
- "type": "number",
1840
- "description": "当前页码, 默认值: -"
1841
- },
1842
- "van-pagination/mode": {
1843
- "type": "string",
1844
- "description": "显示模式,可选值为 `simple`, 默认值: `multi`"
1845
- },
1846
- "van-pagination/prev-text": {
1847
- "type": "string",
1848
- "description": "上一页按钮文字, 默认值: `上一页`"
1849
- },
1850
- "van-pagination/next-text": {
1851
- "type": "string",
1852
- "description": "下一页按钮文字, 默认值: `下一页`"
1853
- },
1854
- "van-pagination/page-count": {
1855
- "type": "number | string",
1856
- "description": "总页数, 默认值: 根据页数计算"
1857
- },
1858
- "van-pagination/total-items": {
1859
- "type": "number | string",
1860
- "description": "总记录数, 默认值: `0`"
1861
- },
1862
- "van-pagination/items-per-page": {
1863
- "type": "number | string",
1864
- "description": "每页记录数, 默认值: `10`"
1865
- },
1866
- "van-pagination/show-page-size": {
1867
- "type": "number | string",
1868
- "description": "显示的页码个数, 默认值: `5`"
1869
- },
1870
- "van-pagination/force-ellipses": {
1871
- "type": "boolean",
1872
- "description": "是否显示省略号, 默认值: `false`"
1873
- },
1874
1814
  "van-number-keyboard/v-model (value)": {
1875
1815
  "type": "string",
1876
1816
  "description": "当前输入值, 默认值: -"
@@ -1935,49 +1875,29 @@
1935
1875
  "type": "boolean",
1936
1876
  "description": "是否将通过随机顺序展示按键, 默认值: `false`"
1937
1877
  },
1938
- "van-panel/title": {
1939
- "type": "string",
1940
- "description": "标题, 默认值: -"
1941
- },
1942
- "van-panel/desc": {
1943
- "type": "string",
1944
- "description": "描述, 默认值: -"
1945
- },
1946
- "van-panel/status": {
1947
- "type": "string",
1948
- "description": "状态, 默认值: -"
1949
- },
1950
- "van-panel/icon": {
1951
- "type": "string",
1952
- "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
1953
- },
1954
- "van-password-input/value": {
1955
- "type": "string",
1956
- "description": "密码值, 默认值: `''`"
1957
- },
1958
- "van-password-input/info": {
1959
- "type": "string",
1960
- "description": "输入框下方文字提示, 默认值: -"
1961
- },
1962
- "van-password-input/error-info": {
1963
- "type": "string",
1964
- "description": "输入框下方错误提示, 默认值: -"
1878
+ "van-overlay/show": {
1879
+ "type": "boolean",
1880
+ "description": "是否展示遮罩层, 默认值: `false`"
1965
1881
  },
1966
- "van-password-input/length": {
1882
+ "van-overlay/z-index": {
1967
1883
  "type": "number | string",
1968
- "description": "密码最大长度, 默认值: `6`"
1884
+ "description": "z-index 层级, 默认值: `1`"
1969
1885
  },
1970
- "van-password-input/gutter": {
1886
+ "van-overlay/duration": {
1971
1887
  "type": "number | string",
1972
- "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
1888
+ "description": "动画时长,单位秒, 默认值: `0.3`"
1973
1889
  },
1974
- "van-password-input/mask": {
1975
- "type": "boolean",
1976
- "description": "是否隐藏密码内容, 默认值: `true`"
1890
+ "van-overlay/class-name": {
1891
+ "type": "string",
1892
+ "description": "自定义类名, 默认值: -"
1977
1893
  },
1978
- "van-password-input/focused": {
1894
+ "van-overlay/custom-style": {
1895
+ "type": "object",
1896
+ "description": "自定义样式, 默认值: -"
1897
+ },
1898
+ "van-overlay/lock-scroll": {
1979
1899
  "type": "boolean",
1980
- "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
1900
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
1981
1901
  },
1982
1902
  "van-picker/columns": {
1983
1903
  "type": "Column[]",
@@ -2035,77 +1955,85 @@
2035
1955
  "type": "number | string",
2036
1956
  "description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
2037
1957
  },
2038
- "van-popup/v-model (value)": {
2039
- "type": "boolean",
2040
- "description": "是否显示弹出层, 默认值: `false`"
1958
+ "van-panel/title": {
1959
+ "type": "string",
1960
+ "description": "标题, 默认值: -"
2041
1961
  },
2042
- "van-popup/overlay": {
2043
- "type": "boolean",
2044
- "description": "是否显示遮罩层, 默认值: `true`"
1962
+ "van-panel/desc": {
1963
+ "type": "string",
1964
+ "description": "描述, 默认值: -"
2045
1965
  },
2046
- "van-popup/position": {
1966
+ "van-panel/status": {
2047
1967
  "type": "string",
2048
- "description": "弹出位置,可选值为 `top` `bottom` `right` `left`, 默认值: `center`"
1968
+ "description": "状态, 默认值: -"
2049
1969
  },
2050
- "van-popup/overlay-class": {
1970
+ "van-panel/icon": {
2051
1971
  "type": "string",
2052
- "description": "自定义遮罩层类名, 默认值: -"
1972
+ "description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
2053
1973
  },
2054
- "van-popup/overlay-style": {
2055
- "type": "object",
2056
- "description": "自定义遮罩层样式, 默认值: -"
1974
+ "van-pagination/v-model": {
1975
+ "type": "number",
1976
+ "description": "当前页码, 默认值: -"
2057
1977
  },
2058
- "van-popup/duration": {
2059
- "type": "number | string",
2060
- "description": "动画时长,单位秒, 默认值: `0.3`"
1978
+ "van-pagination/mode": {
1979
+ "type": "string",
1980
+ "description": "显示模式,可选值为 `simple`, 默认值: `multi`"
2061
1981
  },
2062
- "van-popup/round": {
2063
- "type": "boolean",
2064
- "description": "是否显示圆角, 默认值: `false`"
1982
+ "van-pagination/prev-text": {
1983
+ "type": "string",
1984
+ "description": "上一页按钮文字, 默认值: `上一页`"
2065
1985
  },
2066
- "van-popup/lock-scroll": {
2067
- "type": "boolean",
2068
- "description": "是否锁定背景滚动, 默认值: `true`"
1986
+ "van-pagination/next-text": {
1987
+ "type": "string",
1988
+ "description": "下一页按钮文字, 默认值: `下一页`"
2069
1989
  },
2070
- "van-popup/lazy-render": {
2071
- "type": "boolean",
2072
- "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
1990
+ "van-pagination/page-count": {
1991
+ "type": "number | string",
1992
+ "description": "总页数, 默认值: 根据页数计算"
2073
1993
  },
2074
- "van-popup/close-on-popstate": {
2075
- "type": "boolean",
2076
- "description": "是否在页面回退时自动关闭, 默认值: `false`"
1994
+ "van-pagination/total-items": {
1995
+ "type": "number | string",
1996
+ "description": "总记录数, 默认值: `0`"
2077
1997
  },
2078
- "van-popup/close-on-click-overlay": {
2079
- "type": "boolean",
2080
- "description": "是否在点击遮罩层后关闭, 默认值: `true`"
1998
+ "van-pagination/items-per-page": {
1999
+ "type": "number | string",
2000
+ "description": "每页记录数, 默认值: `10`"
2081
2001
  },
2082
- "van-popup/closeable": {
2002
+ "van-pagination/show-page-size": {
2003
+ "type": "number | string",
2004
+ "description": "显示的页码个数, 默认值: `5`"
2005
+ },
2006
+ "van-pagination/force-ellipses": {
2083
2007
  "type": "boolean",
2084
- "description": "是否显示关闭图标, 默认值: `false`"
2008
+ "description": "是否显示省略号, 默认值: `false`"
2085
2009
  },
2086
- "van-popup/close-icon": {
2010
+ "van-password-input/value": {
2087
2011
  "type": "string",
2088
- "description": "关闭图标名称或图片链接, 默认值: `cross`"
2012
+ "description": "密码值, 默认值: `''`"
2089
2013
  },
2090
- "van-popup/close-icon-position": {
2014
+ "van-password-input/info": {
2091
2015
  "type": "string",
2092
- "description": "关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right`, 默认值: `top-right`"
2016
+ "description": "输入框下方文字提示, 默认值: -"
2093
2017
  },
2094
- "van-popup/transition": {
2018
+ "van-password-input/error-info": {
2095
2019
  "type": "string",
2096
- "description": "动画类名,等价于 [transition](https://cn.vuejs.org/v2/api/index.html#transition) 的`name`属性, 默认值: -"
2020
+ "description": "输入框下方错误提示, 默认值: -"
2097
2021
  },
2098
- "van-popup/transition-appear": {
2099
- "type": "boolean",
2100
- "description": "是否在初始渲染时启用过渡动画, 默认值: `false`"
2022
+ "van-password-input/length": {
2023
+ "type": "number | string",
2024
+ "description": "密码最大长度, 默认值: `6`"
2101
2025
  },
2102
- "van-popup/get-container": {
2103
- "type": "string | () => Element",
2104
- "description": "指定挂载的节点, 默认值: -"
2026
+ "van-password-input/gutter": {
2027
+ "type": "number | string",
2028
+ "description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
2105
2029
  },
2106
- "van-popup/safe-area-inset-bottom": {
2030
+ "van-password-input/mask": {
2107
2031
  "type": "boolean",
2108
- "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
2032
+ "description": "是否隐藏密码内容, 默认值: `true`"
2033
+ },
2034
+ "van-password-input/focused": {
2035
+ "type": "boolean",
2036
+ "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2109
2037
  },
2110
2038
  "van-popover/v-model": {
2111
2039
  "type": "boolean",
@@ -2147,6 +2075,78 @@
2147
2075
  "type": "string | () => Element",
2148
2076
  "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: `body`"
2149
2077
  },
2078
+ "van-popup/v-model (value)": {
2079
+ "type": "boolean",
2080
+ "description": "是否显示弹出层, 默认值: `false`"
2081
+ },
2082
+ "van-popup/overlay": {
2083
+ "type": "boolean",
2084
+ "description": "是否显示遮罩层, 默认值: `true`"
2085
+ },
2086
+ "van-popup/position": {
2087
+ "type": "string",
2088
+ "description": "弹出位置,可选值为 `top` `bottom` `right` `left`, 默认值: `center`"
2089
+ },
2090
+ "van-popup/overlay-class": {
2091
+ "type": "string",
2092
+ "description": "自定义遮罩层类名, 默认值: -"
2093
+ },
2094
+ "van-popup/overlay-style": {
2095
+ "type": "object",
2096
+ "description": "自定义遮罩层样式, 默认值: -"
2097
+ },
2098
+ "van-popup/duration": {
2099
+ "type": "number | string",
2100
+ "description": "动画时长,单位秒, 默认值: `0.3`"
2101
+ },
2102
+ "van-popup/round": {
2103
+ "type": "boolean",
2104
+ "description": "是否显示圆角, 默认值: `false`"
2105
+ },
2106
+ "van-popup/lock-scroll": {
2107
+ "type": "boolean",
2108
+ "description": "是否锁定背景滚动, 默认值: `true`"
2109
+ },
2110
+ "van-popup/lazy-render": {
2111
+ "type": "boolean",
2112
+ "description": "是否在显示弹层时才渲染节点, 默认值: `true`"
2113
+ },
2114
+ "van-popup/close-on-popstate": {
2115
+ "type": "boolean",
2116
+ "description": "是否在页面回退时自动关闭, 默认值: `false`"
2117
+ },
2118
+ "van-popup/close-on-click-overlay": {
2119
+ "type": "boolean",
2120
+ "description": "是否在点击遮罩层后关闭, 默认值: `true`"
2121
+ },
2122
+ "van-popup/closeable": {
2123
+ "type": "boolean",
2124
+ "description": "是否显示关闭图标, 默认值: `false`"
2125
+ },
2126
+ "van-popup/close-icon": {
2127
+ "type": "string",
2128
+ "description": "关闭图标名称或图片链接, 默认值: `cross`"
2129
+ },
2130
+ "van-popup/close-icon-position": {
2131
+ "type": "string",
2132
+ "description": "关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right`, 默认值: `top-right`"
2133
+ },
2134
+ "van-popup/transition": {
2135
+ "type": "string",
2136
+ "description": "动画类名,等价于 [transition](https://cn.vuejs.org/v2/api/index.html#transition) 的`name`属性, 默认值: -"
2137
+ },
2138
+ "van-popup/transition-appear": {
2139
+ "type": "boolean",
2140
+ "description": "是否在初始渲染时启用过渡动画, 默认值: `false`"
2141
+ },
2142
+ "van-popup/get-container": {
2143
+ "type": "string | () => Element",
2144
+ "description": "指定挂载的节点, 默认值: -"
2145
+ },
2146
+ "van-popup/safe-area-inset-bottom": {
2147
+ "type": "boolean",
2148
+ "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
2149
+ },
2150
2150
  "van-progress/percentage": {
2151
2151
  "type": "number | string",
2152
2152
  "description": "进度百分比, 默认值: `0`"
@@ -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,17 +2715,49 @@
2759
2715
  "type": "boolean",
2760
2716
  "description": "是否允许输入的值为空, 默认值: `false`"
2761
2717
  },
2762
- "van-sticky/offset-top": {
2718
+ "van-slider/value": {
2719
+ "type": "number | array",
2720
+ "description": "当前进度百分比, 默认值: `0`"
2721
+ },
2722
+ "van-slider/max": {
2763
2723
  "type": "number | string",
2764
- "description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
2724
+ "description": "最大值, 默认值: `100`"
2765
2725
  },
2766
- "van-sticky/z-index": {
2726
+ "van-slider/min": {
2767
2727
  "type": "number | string",
2768
- "description": "吸顶时的 z-index, 默认值: `99`"
2728
+ "description": "最小值, 默认值: `0`"
2769
2729
  },
2770
- "van-sticky/container": {
2771
- "type": "Element",
2772
- "description": "容器对应的 HTML 节点, 默认值: -"
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`"
2773
2761
  },
2774
2762
  "van-steps/active": {
2775
2763
  "type": "number | string",
@@ -2807,6 +2795,18 @@
2807
2795
  "type": "boolean",
2808
2796
  "description": "是否进行居中对齐,仅在竖向展示时有效, 默认值: `false`"
2809
2797
  },
2798
+ "van-sticky/offset-top": {
2799
+ "type": "number | string",
2800
+ "description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
2801
+ },
2802
+ "van-sticky/z-index": {
2803
+ "type": "number | string",
2804
+ "description": "吸顶时的 z-index, 默认值: `99`"
2805
+ },
2806
+ "van-sticky/container": {
2807
+ "type": "Element",
2808
+ "description": "容器对应的 HTML 节点, 默认值: -"
2809
+ },
2810
2810
  "van-submit-bar/price": {
2811
2811
  "type": "number",
2812
2812
  "description": "价格(单位分), 默认值: -"
@@ -2863,30 +2863,6 @@
2863
2863
  "type": "boolean",
2864
2864
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
2865
2865
  },
2866
- "van-swipe-cell/name": {
2867
- "type": "number | string",
2868
- "description": "标识符,可以在事件参数中获取到, 默认值: -"
2869
- },
2870
- "van-swipe-cell/left-width": {
2871
- "type": "number | string",
2872
- "description": "指定左侧滑动区域宽度,单位为`px`, 默认值: `auto`"
2873
- },
2874
- "van-swipe-cell/right-width": {
2875
- "type": "number | string",
2876
- "description": "指定右侧滑动区域宽度,单位为`px`, 默认值: `auto`"
2877
- },
2878
- "van-swipe-cell/before-close": {
2879
- "type": "Function",
2880
- "description": "关闭前的回调函数, 默认值: -"
2881
- },
2882
- "van-swipe-cell/disabled": {
2883
- "type": "boolean",
2884
- "description": "是否禁用滑动, 默认值: `false`"
2885
- },
2886
- "van-swipe-cell/stop-propagation": {
2887
- "type": "boolean",
2888
- "description": "是否阻止滑动事件冒泡, 默认值: `false`"
2889
- },
2890
2866
  "van-swipe/autoplay": {
2891
2867
  "type": "number | string",
2892
2868
  "description": "自动轮播间隔,单位为 ms, 默认值: -"
@@ -2935,6 +2911,62 @@
2935
2911
  "type": "string",
2936
2912
  "description": "指示器颜色, 默认值: `#1989fa`"
2937
2913
  },
2914
+ "van-swipe-cell/name": {
2915
+ "type": "number | string",
2916
+ "description": "标识符,可以在事件参数中获取到, 默认值: -"
2917
+ },
2918
+ "van-swipe-cell/left-width": {
2919
+ "type": "number | string",
2920
+ "description": "指定左侧滑动区域宽度,单位为`px`, 默认值: `auto`"
2921
+ },
2922
+ "van-swipe-cell/right-width": {
2923
+ "type": "number | string",
2924
+ "description": "指定右侧滑动区域宽度,单位为`px`, 默认值: `auto`"
2925
+ },
2926
+ "van-swipe-cell/before-close": {
2927
+ "type": "Function",
2928
+ "description": "关闭前的回调函数, 默认值: -"
2929
+ },
2930
+ "van-swipe-cell/disabled": {
2931
+ "type": "boolean",
2932
+ "description": "是否禁用滑动, 默认值: `false`"
2933
+ },
2934
+ "van-swipe-cell/stop-propagation": {
2935
+ "type": "boolean",
2936
+ "description": "是否阻止滑动事件冒泡, 默认值: `false`"
2937
+ },
2938
+ "van-switch/v-model": {
2939
+ "type": "any",
2940
+ "description": "开关选中状态, 默认值: `false`"
2941
+ },
2942
+ "van-switch/loading": {
2943
+ "type": "boolean",
2944
+ "description": "是否为加载状态, 默认值: `false`"
2945
+ },
2946
+ "van-switch/disabled": {
2947
+ "type": "boolean",
2948
+ "description": "是否为禁用状态, 默认值: `false`"
2949
+ },
2950
+ "van-switch/size": {
2951
+ "type": "number | string",
2952
+ "description": "开关尺寸,默认单位为`px`, 默认值: `30px`"
2953
+ },
2954
+ "van-switch/active-color": {
2955
+ "type": "string",
2956
+ "description": "打开时的背景色, 默认值: `#1989fa`"
2957
+ },
2958
+ "van-switch/inactive-color": {
2959
+ "type": "string",
2960
+ "description": "关闭时的背景色, 默认值: `white`"
2961
+ },
2962
+ "van-switch/active-value": {
2963
+ "type": "any",
2964
+ "description": "打开时对应的值, 默认值: `true`"
2965
+ },
2966
+ "van-switch/inactive-value": {
2967
+ "type": "any",
2968
+ "description": "关闭时对应的值, 默认值: `false`"
2969
+ },
2938
2970
  "van-switch-cell/v-model": {
2939
2971
  "type": "any",
2940
2972
  "description": "开关状态, 默认值: `false`"
@@ -2979,38 +3011,6 @@
2979
3011
  "type": "any",
2980
3012
  "description": "关闭时的值, 默认值: `false`"
2981
3013
  },
2982
- "van-switch/v-model": {
2983
- "type": "any",
2984
- "description": "开关选中状态, 默认值: `false`"
2985
- },
2986
- "van-switch/loading": {
2987
- "type": "boolean",
2988
- "description": "是否为加载状态, 默认值: `false`"
2989
- },
2990
- "van-switch/disabled": {
2991
- "type": "boolean",
2992
- "description": "是否为禁用状态, 默认值: `false`"
2993
- },
2994
- "van-switch/size": {
2995
- "type": "number | string",
2996
- "description": "开关尺寸,默认单位为`px`, 默认值: `30px`"
2997
- },
2998
- "van-switch/active-color": {
2999
- "type": "string",
3000
- "description": "打开时的背景色, 默认值: `#1989fa`"
3001
- },
3002
- "van-switch/inactive-color": {
3003
- "type": "string",
3004
- "description": "关闭时的背景色, 默认值: `white`"
3005
- },
3006
- "van-switch/active-value": {
3007
- "type": "any",
3008
- "description": "打开时对应的值, 默认值: `true`"
3009
- },
3010
- "van-switch/inactive-value": {
3011
- "type": "any",
3012
- "description": "关闭时对应的值, 默认值: `false`"
3013
- },
3014
3014
  "van-tab/v-model": {
3015
3015
  "type": "number | string",
3016
3016
  "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": "分类显示所需的数据, 默认值: `[]`"