vant 3.3.1 → 3.3.4

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.
@@ -82,94 +82,6 @@
82
82
  "type": "boolean",
83
83
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
84
84
  },
85
- "van-address-edit/area-list": {
86
- "type": "object",
87
- "description": "地区列表, 默认值: -"
88
- },
89
- "van-address-edit/area-columns-placeholder": {
90
- "type": "string[]",
91
- "description": "地区选择列占位提示文字, 默认值: `[]`"
92
- },
93
- "van-address-edit/area-placeholder": {
94
- "type": "string",
95
- "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
96
- },
97
- "van-address-edit/address-info": {
98
- "type": "AddressEditInfo",
99
- "description": "地址信息初始值, 默认值: `{}`"
100
- },
101
- "van-address-edit/search-result": {
102
- "type": "AddressEditSearchItem[]",
103
- "description": "详细地址搜索结果, 默认值: `[]`"
104
- },
105
- "van-address-edit/show-postal": {
106
- "type": "boolean",
107
- "description": "是否显示邮政编码, 默认值: `false`"
108
- },
109
- "van-address-edit/show-delete": {
110
- "type": "boolean",
111
- "description": "是否显示删除按钮, 默认值: `false`"
112
- },
113
- "van-address-edit/show-set-default": {
114
- "type": "boolean",
115
- "description": "是否显示默认地址栏, 默认值: `false`"
116
- },
117
- "van-address-edit/show-search-result": {
118
- "type": "boolean",
119
- "description": "是否显示搜索结果, 默认值: `false`"
120
- },
121
- "van-address-edit/show-area": {
122
- "type": "boolean",
123
- "description": "是否显示地区, 默认值: `true`"
124
- },
125
- "van-address-edit/show-detail": {
126
- "type": "boolean",
127
- "description": "是否显示详细地址, 默认值: `true`"
128
- },
129
- "van-address-edit/disable-area": {
130
- "type": "boolean",
131
- "description": "是否禁用地区选择, 默认值: `false`"
132
- },
133
- "van-address-edit/save-button-text": {
134
- "type": "string",
135
- "description": "保存按钮文字, 默认值: `保存`"
136
- },
137
- "van-address-edit/delete-button-text": {
138
- "type": "string",
139
- "description": "删除按钮文字, 默认值: `删除`"
140
- },
141
- "van-address-edit/detail-rows": {
142
- "type": "number | string",
143
- "description": "详细地址输入框行数, 默认值: `1`"
144
- },
145
- "van-address-edit/detail-maxlength": {
146
- "type": "number | string",
147
- "description": "详细地址最大长度, 默认值: `200`"
148
- },
149
- "van-address-edit/is-saving": {
150
- "type": "boolean",
151
- "description": "是否显示保存按钮加载动画, 默认值: `false`"
152
- },
153
- "van-address-edit/is-deleting": {
154
- "type": "boolean",
155
- "description": "是否显示删除按钮加载动画, 默认值: `false`"
156
- },
157
- "van-address-edit/tel-validator": {
158
- "type": "string => boolean",
159
- "description": "手机号格式校验函数, 默认值: -"
160
- },
161
- "van-address-edit/tel-maxlength": {
162
- "type": "number | string",
163
- "description": "手机号最大长度, 默认值: -"
164
- },
165
- "van-address-edit/postal-validator": {
166
- "type": "string => boolean",
167
- "description": "邮政编码格式校验函数, 默认值: -"
168
- },
169
- "van-address-edit/validator": {
170
- "type": "(key, val) => string",
171
- "description": "自定义校验函数, 默认值: -"
172
- },
173
85
  "van-action-sheet/v-model:show": {
174
86
  "type": "boolean",
175
87
  "description": "是否显示动作面板, 默认值: `false`"
@@ -281,6 +193,121 @@
281
193
  "type": "string",
282
194
  "description": "默认地址标签文字, 默认值: -"
283
195
  },
196
+ "van-address-edit/area-list": {
197
+ "type": "object",
198
+ "description": "地区列表, 默认值: -"
199
+ },
200
+ "van-address-edit/area-columns-placeholder": {
201
+ "type": "string[]",
202
+ "description": "地区选择列占位提示文字, 默认值: `[]`"
203
+ },
204
+ "van-address-edit/area-placeholder": {
205
+ "type": "string",
206
+ "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
207
+ },
208
+ "van-address-edit/address-info": {
209
+ "type": "AddressEditInfo",
210
+ "description": "地址信息初始值, 默认值: `{}`"
211
+ },
212
+ "van-address-edit/search-result": {
213
+ "type": "AddressEditSearchItem[]",
214
+ "description": "详细地址搜索结果, 默认值: `[]`"
215
+ },
216
+ "van-address-edit/show-postal": {
217
+ "type": "boolean",
218
+ "description": "是否显示邮政编码, 默认值: `false`"
219
+ },
220
+ "van-address-edit/show-delete": {
221
+ "type": "boolean",
222
+ "description": "是否显示删除按钮, 默认值: `false`"
223
+ },
224
+ "van-address-edit/show-set-default": {
225
+ "type": "boolean",
226
+ "description": "是否显示默认地址栏, 默认值: `false`"
227
+ },
228
+ "van-address-edit/show-search-result": {
229
+ "type": "boolean",
230
+ "description": "是否显示搜索结果, 默认值: `false`"
231
+ },
232
+ "van-address-edit/show-area": {
233
+ "type": "boolean",
234
+ "description": "是否显示地区, 默认值: `true`"
235
+ },
236
+ "van-address-edit/show-detail": {
237
+ "type": "boolean",
238
+ "description": "是否显示详细地址, 默认值: `true`"
239
+ },
240
+ "van-address-edit/disable-area": {
241
+ "type": "boolean",
242
+ "description": "是否禁用地区选择, 默认值: `false`"
243
+ },
244
+ "van-address-edit/save-button-text": {
245
+ "type": "string",
246
+ "description": "保存按钮文字, 默认值: `保存`"
247
+ },
248
+ "van-address-edit/delete-button-text": {
249
+ "type": "string",
250
+ "description": "删除按钮文字, 默认值: `删除`"
251
+ },
252
+ "van-address-edit/detail-rows": {
253
+ "type": "number | string",
254
+ "description": "详细地址输入框行数, 默认值: `1`"
255
+ },
256
+ "van-address-edit/detail-maxlength": {
257
+ "type": "number | string",
258
+ "description": "详细地址最大长度, 默认值: `200`"
259
+ },
260
+ "van-address-edit/is-saving": {
261
+ "type": "boolean",
262
+ "description": "是否显示保存按钮加载动画, 默认值: `false`"
263
+ },
264
+ "van-address-edit/is-deleting": {
265
+ "type": "boolean",
266
+ "description": "是否显示删除按钮加载动画, 默认值: `false`"
267
+ },
268
+ "van-address-edit/tel-validator": {
269
+ "type": "string => boolean",
270
+ "description": "手机号格式校验函数, 默认值: -"
271
+ },
272
+ "van-address-edit/tel-maxlength": {
273
+ "type": "number | string",
274
+ "description": "手机号最大长度, 默认值: -"
275
+ },
276
+ "van-address-edit/postal-validator": {
277
+ "type": "string => boolean",
278
+ "description": "邮政编码格式校验函数, 默认值: -"
279
+ },
280
+ "van-address-edit/validator": {
281
+ "type": "(key, val) => string",
282
+ "description": "自定义校验函数, 默认值: -"
283
+ },
284
+ "van-badge/content": {
285
+ "type": "number | string",
286
+ "description": "徽标内容, 默认值: -"
287
+ },
288
+ "van-badge/color": {
289
+ "type": "string",
290
+ "description": "徽标背景颜色, 默认值: `#ee0a24`"
291
+ },
292
+ "van-badge/dot": {
293
+ "type": "boolean",
294
+ "description": "是否展示为小红点, 默认值: `false`"
295
+ },
296
+ "van-badge/max": {
297
+ "type": "number | string",
298
+ "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
299
+ },
300
+ "van-badge/offset": {
301
+ "type": "[number | string, number \\",
302
+ "description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
303
+ "options": [
304
+ "-"
305
+ ]
306
+ },
307
+ "van-badge/show-zero": {
308
+ "type": "boolean",
309
+ "description": "当 content 为数字 0 时,是否展示徽标, 默认值: `true`"
310
+ },
284
311
  "van-area/value": {
285
312
  "type": "string",
286
313
  "description": "当前选中项对应的地区码, 默认值: -"
@@ -333,33 +360,6 @@
333
360
  "type": "() => boolean",
334
361
  "description": "根据地区码校验海外地址,海外地址会划分至单独的分类, 默认值: -"
335
362
  },
336
- "van-badge/content": {
337
- "type": "number | string",
338
- "description": "徽标内容, 默认值: -"
339
- },
340
- "van-badge/color": {
341
- "type": "string",
342
- "description": "徽标背景颜色, 默认值: `#ee0a24`"
343
- },
344
- "van-badge/dot": {
345
- "type": "boolean",
346
- "description": "是否展示为小红点, 默认值: `false`"
347
- },
348
- "van-badge/max": {
349
- "type": "number | string",
350
- "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
351
- },
352
- "van-badge/offset": {
353
- "type": "[number | string, number \\",
354
- "description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
355
- "options": [
356
- "-"
357
- ]
358
- },
359
- "van-badge/show-zero": {
360
- "type": "boolean",
361
- "description": "当 content 为数字 0 时,是否展示徽标, 默认值: `true`"
362
- },
363
363
  "van-button/type": {
364
364
  "type": "string",
365
365
  "description": "类型,可选值为 `primary` `success` `warning` `danger`, 默认值: `default`"
@@ -1188,31 +1188,102 @@
1188
1188
  },
1189
1189
  "van-datetime-picker/swipe-duration": {
1190
1190
  "type": "number | string",
1191
- "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1191
+ "description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
1192
+ },
1193
+ "van-date-picker/min-date": {
1194
+ "type": "Date",
1195
+ "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1196
+ },
1197
+ "van-date-picker/max-date": {
1198
+ "type": "Date",
1199
+ "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1200
+ },
1201
+ "van-time-picker/min-hour": {
1202
+ "type": "number | string",
1203
+ "description": "可选的最小小时, 默认值: `0`"
1204
+ },
1205
+ "van-time-picker/max-hour": {
1206
+ "type": "number | string",
1207
+ "description": "可选的最大小时, 默认值: `23`"
1208
+ },
1209
+ "van-time-picker/min-minute": {
1210
+ "type": "number | string",
1211
+ "description": "可选的最小分钟, 默认值: `0`"
1212
+ },
1213
+ "van-time-picker/max-minute": {
1214
+ "type": "number | string",
1215
+ "description": "可选的最大分钟, 默认值: `59`"
1216
+ },
1217
+ "van-divider/dashed": {
1218
+ "type": "boolean",
1219
+ "description": "是否使用虚线, 默认值: `false`"
1220
+ },
1221
+ "van-divider/hairline": {
1222
+ "type": "boolean",
1223
+ "description": "是否使用 0.5px 线, 默认值: `true`"
1224
+ },
1225
+ "van-divider/content-position": {
1226
+ "type": "string",
1227
+ "description": "内容位置,可选值为 `left` `right`, 默认值: `center`"
1228
+ },
1229
+ "van-dropdown-menu/active-color": {
1230
+ "type": "string",
1231
+ "description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
1232
+ },
1233
+ "van-dropdown-menu/direction": {
1234
+ "type": "string",
1235
+ "description": "菜单展开方向,可选值为`up`, 默认值: `down`"
1236
+ },
1237
+ "van-dropdown-menu/z-index": {
1238
+ "type": "number | string",
1239
+ "description": "菜单栏 z-index 层级, 默认值: `10`"
1240
+ },
1241
+ "van-dropdown-menu/duration": {
1242
+ "type": "number | string",
1243
+ "description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.2`"
1244
+ },
1245
+ "van-dropdown-menu/overlay": {
1246
+ "type": "boolean",
1247
+ "description": "是否显示遮罩层, 默认值: `true`"
1248
+ },
1249
+ "van-dropdown-menu/close-on-click-overlay": {
1250
+ "type": "boolean",
1251
+ "description": "是否在点击遮罩层后关闭菜单, 默认值: `true`"
1252
+ },
1253
+ "van-dropdown-menu/close-on-click-outside": {
1254
+ "type": "boolean",
1255
+ "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
1256
+ },
1257
+ "van-dropdown-item/v-model": {
1258
+ "type": "number | string",
1259
+ "description": "当前选中项对应的 value, 默认值: -"
1192
1260
  },
1193
- "van-date-picker/min-date": {
1194
- "type": "Date",
1195
- "description": "可选的最小时间,精确到分钟, 默认值: 十年前"
1261
+ "van-dropdown-item/title": {
1262
+ "type": "string",
1263
+ "description": "菜单项标题, 默认值: 当前选中项文字"
1196
1264
  },
1197
- "van-date-picker/max-date": {
1198
- "type": "Date",
1199
- "description": "可选的最大时间,精确到分钟, 默认值: 十年后"
1265
+ "van-dropdown-item/options": {
1266
+ "type": "Option[]",
1267
+ "description": "选项数组, 默认值: `[]`"
1200
1268
  },
1201
- "van-time-picker/min-hour": {
1202
- "type": "number | string",
1203
- "description": "可选的最小小时, 默认值: `0`"
1269
+ "van-dropdown-item/disabled": {
1270
+ "type": "boolean",
1271
+ "description": "是否禁用菜单, 默认值: `false`"
1204
1272
  },
1205
- "van-time-picker/max-hour": {
1206
- "type": "number | string",
1207
- "description": "可选的最大小时, 默认值: `23`"
1273
+ "van-dropdown-item/lazy-render": {
1274
+ "type": "boolean",
1275
+ "description": "是否在首次展开时才渲染菜单内容, 默认值: `true`"
1208
1276
  },
1209
- "van-time-picker/min-minute": {
1210
- "type": "number | string",
1211
- "description": "可选的最小分钟, 默认值: `0`"
1277
+ "van-dropdown-item/title-class": {
1278
+ "type": "string | Array \\",
1279
+ "description": "标题额外类名, 默认值: object_",
1280
+ "options": [
1281
+ "-"
1282
+ ]
1212
1283
  },
1213
- "van-time-picker/max-minute": {
1214
- "type": "number | string",
1215
- "description": "可选的最大分钟, 默认值: `59`"
1284
+ "van-dropdown-item/teleport": {
1285
+ "type": "string | Element",
1286
+ "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
1216
1287
  },
1217
1288
  "van-dialog/v-model:show": {
1218
1289
  "type": "boolean",
@@ -1306,77 +1377,6 @@
1306
1377
  "type": "string | Element",
1307
1378
  "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
1308
1379
  },
1309
- "van-divider/dashed": {
1310
- "type": "boolean",
1311
- "description": "是否使用虚线, 默认值: `false`"
1312
- },
1313
- "van-divider/hairline": {
1314
- "type": "boolean",
1315
- "description": "是否使用 0.5px 线, 默认值: `true`"
1316
- },
1317
- "van-divider/content-position": {
1318
- "type": "string",
1319
- "description": "内容位置,可选值为 `left` `right`, 默认值: `center`"
1320
- },
1321
- "van-dropdown-menu/active-color": {
1322
- "type": "string",
1323
- "description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
1324
- },
1325
- "van-dropdown-menu/direction": {
1326
- "type": "string",
1327
- "description": "菜单展开方向,可选值为`up`, 默认值: `down`"
1328
- },
1329
- "van-dropdown-menu/z-index": {
1330
- "type": "number | string",
1331
- "description": "菜单栏 z-index 层级, 默认值: `10`"
1332
- },
1333
- "van-dropdown-menu/duration": {
1334
- "type": "number | string",
1335
- "description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.2`"
1336
- },
1337
- "van-dropdown-menu/overlay": {
1338
- "type": "boolean",
1339
- "description": "是否显示遮罩层, 默认值: `true`"
1340
- },
1341
- "van-dropdown-menu/close-on-click-overlay": {
1342
- "type": "boolean",
1343
- "description": "是否在点击遮罩层后关闭菜单, 默认值: `true`"
1344
- },
1345
- "van-dropdown-menu/close-on-click-outside": {
1346
- "type": "boolean",
1347
- "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
1348
- },
1349
- "van-dropdown-item/v-model": {
1350
- "type": "number | string",
1351
- "description": "当前选中项对应的 value, 默认值: -"
1352
- },
1353
- "van-dropdown-item/title": {
1354
- "type": "string",
1355
- "description": "菜单项标题, 默认值: 当前选中项文字"
1356
- },
1357
- "van-dropdown-item/options": {
1358
- "type": "Option[]",
1359
- "description": "选项数组, 默认值: `[]`"
1360
- },
1361
- "van-dropdown-item/disabled": {
1362
- "type": "boolean",
1363
- "description": "是否禁用菜单, 默认值: `false`"
1364
- },
1365
- "van-dropdown-item/lazy-render": {
1366
- "type": "boolean",
1367
- "description": "是否在首次展开时才渲染菜单内容, 默认值: `true`"
1368
- },
1369
- "van-dropdown-item/title-class": {
1370
- "type": "string | Array \\",
1371
- "description": "标题额外类名, 默认值: object_",
1372
- "options": [
1373
- "-"
1374
- ]
1375
- },
1376
- "van-dropdown-item/teleport": {
1377
- "type": "string | Element",
1378
- "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
1379
- },
1380
1380
  "van-empty/image": {
1381
1381
  "type": "string",
1382
1382
  "description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
@@ -1592,6 +1592,34 @@
1592
1592
  "type": "boolean",
1593
1593
  "description": "是否在按下回车键时提交表单, 默认值: `true`"
1594
1594
  },
1595
+ "van-icon/name": {
1596
+ "type": "string",
1597
+ "description": "图标名称或图片链接, 默认值: -"
1598
+ },
1599
+ "van-icon/dot": {
1600
+ "type": "boolean",
1601
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1602
+ },
1603
+ "van-icon/badge": {
1604
+ "type": "number | string",
1605
+ "description": "图标右上角徽标的内容, 默认值: -"
1606
+ },
1607
+ "van-icon/color": {
1608
+ "type": "string",
1609
+ "description": "图标颜色, 默认值: `inherit`"
1610
+ },
1611
+ "van-icon/size": {
1612
+ "type": "number | string",
1613
+ "description": "图标大小,如 `20px` `2em`,默认单位为 `px`, 默认值: `inherit`"
1614
+ },
1615
+ "van-icon/class-prefix": {
1616
+ "type": "string",
1617
+ "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1618
+ },
1619
+ "van-icon/tag": {
1620
+ "type": "string",
1621
+ "description": "根节点对应的 HTML 标签名, 默认值: `i`"
1622
+ },
1595
1623
  "van-grid/column-num": {
1596
1624
  "type": "number | string",
1597
1625
  "description": "列数, 默认值: `4`"
@@ -1664,33 +1692,33 @@
1664
1692
  "type": "boolean",
1665
1693
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1666
1694
  },
1667
- "van-icon/name": {
1668
- "type": "string",
1669
- "description": "图标名称或图片链接, 默认值: -"
1670
- },
1671
- "van-icon/dot": {
1672
- "type": "boolean",
1673
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1695
+ "van-index-bar/index-list": {
1696
+ "type": "string[] | number[]",
1697
+ "description": "索引字符列表, 默认值: `A-Z`"
1674
1698
  },
1675
- "van-icon/badge": {
1699
+ "van-index-bar/z-index": {
1676
1700
  "type": "number | string",
1677
- "description": "图标右上角徽标的内容, 默认值: -"
1701
+ "description": "z-index 层级, 默认值: `1`"
1678
1702
  },
1679
- "van-icon/color": {
1680
- "type": "string",
1681
- "description": "图标颜色, 默认值: `inherit`"
1703
+ "van-index-bar/sticky": {
1704
+ "type": "boolean",
1705
+ "description": "是否开启锚点自动吸顶, 默认值: `true`"
1682
1706
  },
1683
- "van-icon/size": {
1684
- "type": "number | string",
1685
- "description": "图标大小,如 `20px` `2em`,默认单位为 `px`, 默认值: `inherit`"
1707
+ "van-index-bar/sticky-offset-top": {
1708
+ "type": "number",
1709
+ "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1686
1710
  },
1687
- "van-icon/class-prefix": {
1711
+ "van-index-bar/highlight-color": {
1688
1712
  "type": "string",
1689
- "description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
1713
+ "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1690
1714
  },
1691
- "van-icon/tag": {
1692
- "type": "string",
1693
- "description": "根节点对应的 HTML 标签名, 默认值: `i`"
1715
+ "van-index-bar/teleport": {
1716
+ "type": "string | Element",
1717
+ "description": "指定索引栏挂载的节点, 默认值: -"
1718
+ },
1719
+ "van-index-anchor/index": {
1720
+ "type": "number | string",
1721
+ "description": "索引字符, 默认值: -"
1694
1722
  },
1695
1723
  "van-image/src": {
1696
1724
  "type": "string",
@@ -1823,34 +1851,6 @@
1823
1851
  "type": "string | Element",
1824
1852
  "description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
1825
1853
  },
1826
- "van-index-bar/index-list": {
1827
- "type": "string[] | number[]",
1828
- "description": "索引字符列表, 默认值: `A-Z`"
1829
- },
1830
- "van-index-bar/z-index": {
1831
- "type": "number | string",
1832
- "description": "z-index 层级, 默认值: `1`"
1833
- },
1834
- "van-index-bar/sticky": {
1835
- "type": "boolean",
1836
- "description": "是否开启锚点自动吸顶, 默认值: `true`"
1837
- },
1838
- "van-index-bar/sticky-offset-top": {
1839
- "type": "number",
1840
- "description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
1841
- },
1842
- "van-index-bar/highlight-color": {
1843
- "type": "string",
1844
- "description": "索引字符高亮颜色, 默认值: `#ee0a24`"
1845
- },
1846
- "van-index-bar/teleport": {
1847
- "type": "string | Element",
1848
- "description": "指定索引栏挂载的节点, 默认值: -"
1849
- },
1850
- "van-index-anchor/index": {
1851
- "type": "number | string",
1852
- "description": "索引字符, 默认值: -"
1853
- },
1854
1854
  "van-list/v-model:loading": {
1855
1855
  "type": "boolean",
1856
1856
  "description": "是否处于加载状态,加载过程中不触发 `load` 事件, 默认值: `false`"
@@ -3014,6 +3014,30 @@
3014
3014
  "type": "boolean",
3015
3015
  "description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
3016
3016
  },
3017
+ "van-swipe-cell/name": {
3018
+ "type": "number | string",
3019
+ "description": "标识符,可以在事件参数中获取到, 默认值: `''`"
3020
+ },
3021
+ "van-swipe-cell/left-width": {
3022
+ "type": "number | string",
3023
+ "description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3024
+ },
3025
+ "van-swipe-cell/right-width": {
3026
+ "type": "number | string",
3027
+ "description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3028
+ },
3029
+ "van-swipe-cell/before-close": {
3030
+ "type": "(args) => boolean | Promise\\<boolean\\>",
3031
+ "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
3032
+ },
3033
+ "van-swipe-cell/disabled": {
3034
+ "type": "boolean",
3035
+ "description": "是否禁用滑动, 默认值: `false`"
3036
+ },
3037
+ "van-swipe-cell/stop-propagation": {
3038
+ "type": "boolean",
3039
+ "description": "是否阻止滑动事件冒泡, 默认值: `false`"
3040
+ },
3017
3041
  "van-swipe/autoplay": {
3018
3042
  "type": "number | string",
3019
3043
  "description": "自动轮播间隔,单位为 ms, 默认值: -"
@@ -3062,30 +3086,6 @@
3062
3086
  "type": "string",
3063
3087
  "description": "指示器颜色, 默认值: `#1989fa`"
3064
3088
  },
3065
- "van-swipe-cell/name": {
3066
- "type": "number | string",
3067
- "description": "标识符,可以在事件参数中获取到, 默认值: `''`"
3068
- },
3069
- "van-swipe-cell/left-width": {
3070
- "type": "number | string",
3071
- "description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3072
- },
3073
- "van-swipe-cell/right-width": {
3074
- "type": "number | string",
3075
- "description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
3076
- },
3077
- "van-swipe-cell/before-close": {
3078
- "type": "(args) => boolean | Promise\\<boolean\\>",
3079
- "description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
3080
- },
3081
- "van-swipe-cell/disabled": {
3082
- "type": "boolean",
3083
- "description": "是否禁用滑动, 默认值: `false`"
3084
- },
3085
- "van-swipe-cell/stop-propagation": {
3086
- "type": "boolean",
3087
- "description": "是否阻止滑动事件冒泡, 默认值: `false`"
3088
- },
3089
3089
  "van-switch/v-model": {
3090
3090
  "type": "any",
3091
3091
  "description": "开关选中状态, 默认值: `false`"