vant 3.5.0-beta.0 → 3.5.0-beta.1
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.
- package/es/action-bar/ActionBar.mjs +1 -1
- package/es/action-bar/index.mjs +2 -2
- package/es/action-bar-button/ActionBarButton.mjs +5 -5
- package/es/action-bar-button/index.mjs +2 -2
- package/es/action-bar-icon/ActionBarIcon.mjs +5 -5
- package/es/action-bar-icon/index.mjs +2 -2
- package/es/action-sheet/ActionSheet.mjs +5 -5
- package/es/action-sheet/index.mjs +2 -2
- package/es/address-edit/AddressEdit.mjs +11 -11
- package/es/address-edit/AddressEditDetail.mjs +3 -3
- package/es/address-edit/index.mjs +2 -2
- package/es/address-list/AddressList.mjs +4 -4
- package/es/address-list/AddressListItem.mjs +5 -5
- package/es/address-list/index.mjs +2 -2
- package/es/area/Area.mjs +5 -5
- package/es/area/index.mjs +2 -2
- package/es/badge/Badge.mjs +1 -1
- package/es/badge/index.mjs +2 -2
- package/es/button/Button.mjs +4 -4
- package/es/button/index.mjs +2 -2
- package/es/calendar/Calendar.mjs +9 -9
- package/es/calendar/CalendarDay.mjs +2 -2
- package/es/calendar/CalendarHeader.mjs +2 -2
- package/es/calendar/CalendarMonth.mjs +6 -6
- package/es/calendar/index.mjs +2 -2
- package/es/calendar/utils.mjs +1 -1
- package/es/card/Card.mjs +3 -3
- package/es/card/index.mjs +2 -2
- package/es/cascader/Cascader.mjs +4 -4
- package/es/cascader/index.mjs +2 -2
- package/es/cell/Cell.mjs +3 -3
- package/es/cell/index.mjs +2 -2
- package/es/cell-group/CellGroup.mjs +1 -1
- package/es/cell-group/index.mjs +2 -2
- package/es/checkbox/Checkbox.mjs +4 -4
- package/es/checkbox/Checker.mjs +2 -2
- package/es/checkbox/index.mjs +2 -2
- package/es/checkbox-group/CheckboxGroup.mjs +2 -2
- package/es/checkbox-group/index.mjs +2 -2
- package/es/circle/Circle.mjs +1 -1
- package/es/circle/index.mjs +2 -2
- package/es/col/Col.mjs +2 -2
- package/es/col/index.mjs +2 -2
- package/es/collapse/Collapse.mjs +1 -1
- package/es/collapse/index.mjs +2 -2
- package/es/collapse-item/CollapseItem.mjs +6 -6
- package/es/collapse-item/index.mjs +2 -2
- package/es/composables/use-expose.mjs +1 -1
- package/es/composables/use-lock-scroll.mjs +2 -2
- package/es/composables/use-placeholder.mjs +1 -1
- package/es/composables/use-visibility-change.mjs +1 -1
- package/es/config-provider/ConfigProvider.mjs +1 -1
- package/es/config-provider/index.mjs +2 -2
- package/es/contact-card/ContactCard.mjs +2 -2
- package/es/contact-card/index.mjs +2 -2
- package/es/contact-edit/ContactEdit.mjs +6 -6
- package/es/contact-edit/index.mjs +2 -2
- package/es/contact-list/ContactList.mjs +7 -7
- package/es/contact-list/index.mjs +2 -2
- package/es/count-down/CountDown.mjs +3 -3
- package/es/count-down/index.mjs +2 -2
- package/es/count-down/utils.mjs +1 -1
- package/es/coupon/Coupon.mjs +3 -3
- package/es/coupon/index.mjs +2 -2
- package/es/coupon/utils.mjs +1 -1
- package/es/coupon-cell/CouponCell.mjs +2 -2
- package/es/coupon-cell/index.mjs +2 -2
- package/es/coupon-list/CouponList.mjs +8 -8
- package/es/coupon-list/index.mjs +2 -2
- package/es/datetime-picker/DatePicker.mjs +4 -4
- package/es/datetime-picker/DatetimePicker.mjs +4 -4
- package/es/datetime-picker/TimePicker.mjs +4 -4
- package/es/datetime-picker/index.mjs +2 -2
- package/es/datetime-picker/utils.mjs +2 -2
- package/es/dialog/Dialog.mjs +6 -6
- package/es/dialog/function-call.mjs +3 -3
- package/es/dialog/index.mjs +1 -1
- package/es/divider/Divider.mjs +1 -1
- package/es/divider/index.mjs +2 -2
- package/es/dropdown-item/DropdownItem.mjs +6 -6
- package/es/dropdown-item/index.mjs +2 -2
- package/es/dropdown-menu/DropdownMenu.mjs +2 -2
- package/es/dropdown-menu/index.mjs +2 -2
- package/es/empty/Empty.mjs +2 -2
- package/es/empty/index.mjs +2 -2
- package/es/field/Field.mjs +7 -7
- package/es/field/index.mjs +2 -2
- package/es/field/utils.mjs +1 -1
- package/es/form/Form.mjs +2 -2
- package/es/form/index.mjs +2 -2
- package/es/grid/Grid.mjs +2 -2
- package/es/grid/index.mjs +2 -2
- package/es/grid-item/GridItem.mjs +5 -5
- package/es/grid-item/index.mjs +2 -2
- package/es/icon/Icon.mjs +3 -3
- package/es/icon/index.mjs +2 -2
- package/es/image/Image.mjs +2 -2
- package/es/image/index.mjs +2 -2
- package/es/image-preview/ImagePreview.mjs +6 -6
- package/es/image-preview/ImagePreviewItem.mjs +5 -5
- package/es/image-preview/function-call.mjs +3 -3
- package/es/image-preview/index.mjs +1 -1
- package/es/index-anchor/IndexAnchor.mjs +4 -4
- package/es/index-anchor/index.mjs +2 -2
- package/es/index-bar/IndexBar.mjs +3 -3
- package/es/index-bar/index.mjs +2 -2
- package/es/index.d.ts +1 -1
- package/es/index.mjs +172 -172
- package/es/lazyload/index.mjs +1 -1
- package/es/lazyload/vue-lazyload/index.mjs +4 -4
- package/es/lazyload/vue-lazyload/lazy-container.mjs +1 -1
- package/es/lazyload/vue-lazyload/lazy-image.mjs +2 -2
- package/es/lazyload/vue-lazyload/lazy.mjs +3 -3
- package/es/lazyload/vue-lazyload/listener.mjs +2 -2
- package/es/list/List.mjs +4 -4
- package/es/list/index.mjs +2 -2
- package/es/loading/Loading.mjs +1 -1
- package/es/loading/index.mjs +2 -2
- package/es/locale/index.mjs +2 -2
- package/es/nav-bar/NavBar.mjs +3 -3
- package/es/nav-bar/index.mjs +2 -2
- package/es/notice-bar/NoticeBar.mjs +4 -4
- package/es/notice-bar/index.mjs +2 -2
- package/es/notify/Notify.mjs +3 -3
- package/es/notify/function-call.mjs +3 -3
- package/es/notify/index.mjs +1 -1
- package/es/number-keyboard/NumberKeyboard.mjs +2 -2
- package/es/number-keyboard/NumberKeyboardKey.mjs +3 -3
- package/es/number-keyboard/index.mjs +2 -2
- package/es/overlay/Overlay.mjs +2 -2
- package/es/overlay/index.mjs +2 -2
- package/es/pagination/Pagination.mjs +1 -1
- package/es/pagination/index.mjs +2 -2
- package/es/password-input/PasswordInput.mjs +1 -1
- package/es/password-input/index.mjs +2 -2
- package/es/picker/Picker.mjs +4 -4
- package/es/picker/PickerColumn.mjs +4 -4
- package/es/picker/index.mjs +2 -2
- package/es/popover/Popover.mjs +3 -3
- package/es/popover/index.mjs +2 -2
- package/es/popup/Popup.mjs +8 -8
- package/es/popup/index.mjs +2 -2
- package/es/popup/shared.mjs +1 -1
- package/es/progress/Progress.mjs +1 -1
- package/es/progress/index.mjs +2 -2
- package/es/pull-refresh/PullRefresh.mjs +3 -3
- package/es/pull-refresh/index.mjs +2 -2
- package/es/radio/Radio.mjs +3 -3
- package/es/radio/index.mjs +2 -2
- package/es/radio-group/RadioGroup.mjs +1 -1
- package/es/radio-group/index.mjs +2 -2
- package/es/rate/Rate.mjs +4 -4
- package/es/rate/index.mjs +2 -2
- package/es/row/Row.mjs +1 -1
- package/es/row/index.mjs +2 -2
- package/es/search/Search.mjs +5 -5
- package/es/search/index.mjs +2 -2
- package/es/share-sheet/ShareSheet.mjs +4 -4
- package/es/share-sheet/index.mjs +2 -2
- package/es/sidebar/Sidebar.mjs +1 -1
- package/es/sidebar/index.mjs +2 -2
- package/es/sidebar-item/SidebarItem.mjs +4 -4
- package/es/sidebar-item/index.mjs +2 -2
- package/es/skeleton/Skeleton.mjs +1 -1
- package/es/skeleton/index.mjs +2 -2
- package/es/slider/Slider.mjs +2 -2
- package/es/slider/index.mjs +2 -2
- package/es/step/Step.mjs +3 -3
- package/es/step/index.mjs +2 -2
- package/es/stepper/Stepper.mjs +1 -1
- package/es/stepper/index.mjs +2 -2
- package/es/steps/Steps.mjs +1 -1
- package/es/steps/index.mjs +2 -2
- package/es/sticky/Sticky.mjs +2 -2
- package/es/sticky/index.mjs +2 -2
- package/es/submit-bar/SubmitBar.mjs +3 -3
- package/es/submit-bar/index.mjs +2 -2
- package/es/swipe/Swipe.mjs +4 -4
- package/es/swipe/index.mjs +2 -2
- package/es/swipe-cell/SwipeCell.mjs +3 -3
- package/es/swipe-cell/index.mjs +2 -2
- package/es/swipe-item/SwipeItem.mjs +3 -3
- package/es/swipe-item/index.mjs +2 -2
- package/es/switch/Switch.mjs +2 -2
- package/es/switch/index.mjs +2 -2
- package/es/tab/Tab.mjs +7 -7
- package/es/tab/index.mjs +2 -2
- package/es/tabbar/Tabbar.mjs +2 -2
- package/es/tabbar/index.mjs +2 -2
- package/es/tabbar-item/TabbarItem.mjs +5 -5
- package/es/tabbar-item/index.mjs +2 -2
- package/es/tabs/Tabs.mjs +10 -10
- package/es/tabs/TabsContent.mjs +2 -2
- package/es/tabs/TabsTitle.mjs +2 -2
- package/es/tabs/index.mjs +2 -2
- package/es/tabs/utils.mjs +1 -1
- package/es/tag/Tag.mjs +2 -2
- package/es/tag/index.mjs +2 -2
- package/es/toast/Toast.mjs +5 -5
- package/es/toast/function-call.mjs +3 -3
- package/es/toast/index.mjs +1 -1
- package/es/tree-select/TreeSelect.mjs +4 -4
- package/es/tree-select/index.mjs +2 -2
- package/es/uploader/Uploader.mjs +6 -6
- package/es/uploader/UploaderPreviewItem.mjs +5 -5
- package/es/uploader/index.mjs +2 -2
- package/es/uploader/utils.mjs +1 -1
- package/es/utils/create.mjs +4 -4
- package/es/utils/deep-assign.mjs +1 -1
- package/es/utils/deep-clone.mjs +1 -1
- package/es/utils/dom.mjs +1 -1
- package/es/utils/format.mjs +3 -3
- package/es/utils/index.mjs +9 -9
- package/es/utils/interceptor.mjs +2 -2
- package/es/utils/mount-component.mjs +2 -2
- package/es/utils/validate.mjs +1 -1
- package/es/utils/with-install.mjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.cjs.js +1 -1
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +1 -1
- package/lib/vant.es.min.js +1 -1
- package/lib/vant.js +1 -1
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +281 -281
- package/vetur/tags.json +86 -86
- package/vetur/web-types.json +996 -996
package/vetur/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.5.0-beta.
|
5
|
+
"version": "3.5.0-beta.1",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -252,101 +252,115 @@
|
|
252
252
|
]
|
253
253
|
},
|
254
254
|
{
|
255
|
-
"name": "van-
|
255
|
+
"name": "van-address-edit",
|
256
256
|
"slots": [
|
257
257
|
{
|
258
258
|
"name": "default",
|
259
|
-
"description": "Custom content"
|
260
|
-
},
|
261
|
-
{
|
262
|
-
"name": "description",
|
263
|
-
"description": "Custom description above the options"
|
264
|
-
},
|
265
|
-
{
|
266
|
-
"name": "cancel",
|
267
|
-
"description": "Custom the content of cancel button"
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"name": "action",
|
271
|
-
"description": "Custom the content of action"
|
259
|
+
"description": "Custom content below postal"
|
272
260
|
}
|
273
261
|
],
|
274
262
|
"events": [
|
275
263
|
{
|
276
|
-
"name": "
|
277
|
-
"description": "Emitted when
|
264
|
+
"name": "save",
|
265
|
+
"description": "Emitted when the save button is clicked",
|
278
266
|
"arguments": [
|
279
267
|
{
|
280
|
-
"name": "
|
281
|
-
"type": "
|
282
|
-
}
|
268
|
+
"name": "content",
|
269
|
+
"type": "form content"
|
270
|
+
}
|
271
|
+
]
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"name": "focus",
|
275
|
+
"description": "Emitted when field is focused",
|
276
|
+
"arguments": [
|
283
277
|
{
|
284
|
-
"name": "
|
285
|
-
"type": "
|
278
|
+
"name": "key",
|
279
|
+
"type": "field name"
|
286
280
|
}
|
287
281
|
]
|
288
282
|
},
|
289
283
|
{
|
290
|
-
"name": "
|
291
|
-
"description": "Emitted when
|
292
|
-
"arguments": [
|
284
|
+
"name": "delete",
|
285
|
+
"description": "Emitted when confirming delete",
|
286
|
+
"arguments": [
|
287
|
+
{
|
288
|
+
"name": "content",
|
289
|
+
"type": "form content"
|
290
|
+
}
|
291
|
+
]
|
293
292
|
},
|
294
293
|
{
|
295
|
-
"name": "
|
296
|
-
"description": "Emitted when
|
297
|
-
"arguments": [
|
294
|
+
"name": "select-search",
|
295
|
+
"description": "Emitted when a search result is selected",
|
296
|
+
"arguments": [
|
297
|
+
{
|
298
|
+
"name": "value",
|
299
|
+
"type": "search content"
|
300
|
+
}
|
301
|
+
]
|
298
302
|
},
|
299
303
|
{
|
300
|
-
"name": "
|
301
|
-
"description": "Emitted when
|
304
|
+
"name": "click-area",
|
305
|
+
"description": "Emitted when the area field is clicked",
|
302
306
|
"arguments": []
|
303
307
|
},
|
304
308
|
{
|
305
|
-
"name": "
|
306
|
-
"description": "Emitted when
|
307
|
-
"arguments": [
|
309
|
+
"name": "change-area",
|
310
|
+
"description": "Emitted when area changed",
|
311
|
+
"arguments": [
|
312
|
+
{
|
313
|
+
"name": "values",
|
314
|
+
"type": "area values"
|
315
|
+
}
|
316
|
+
]
|
308
317
|
},
|
309
318
|
{
|
310
|
-
"name": "
|
311
|
-
"description": "Emitted when
|
312
|
-
"arguments": [
|
319
|
+
"name": "change-detail",
|
320
|
+
"description": "Emitted when address detail changed",
|
321
|
+
"arguments": [
|
322
|
+
{
|
323
|
+
"name": "value",
|
324
|
+
"type": "address detail"
|
325
|
+
}
|
326
|
+
]
|
313
327
|
},
|
314
328
|
{
|
315
|
-
"name": "
|
316
|
-
"description": "Emitted when
|
329
|
+
"name": "change-default",
|
330
|
+
"description": "Emitted when switching default address",
|
317
331
|
"arguments": [
|
318
332
|
{
|
319
|
-
"name": "
|
320
|
-
"type": "
|
333
|
+
"name": "value",
|
334
|
+
"type": "checked"
|
321
335
|
}
|
322
336
|
]
|
323
337
|
}
|
324
338
|
],
|
325
339
|
"attributes": [
|
326
340
|
{
|
327
|
-
"name": "
|
328
|
-
"default": "
|
329
|
-
"description": "
|
341
|
+
"name": "area-list",
|
342
|
+
"default": "-",
|
343
|
+
"description": "Area List",
|
330
344
|
"options": [],
|
331
345
|
"value": {
|
332
|
-
"type": "
|
346
|
+
"type": "object",
|
333
347
|
"kind": "expression"
|
334
348
|
}
|
335
349
|
},
|
336
350
|
{
|
337
|
-
"name": "
|
351
|
+
"name": "area-columns-placeholder",
|
338
352
|
"default": "`[]`",
|
339
|
-
"description": "
|
353
|
+
"description": "placeholder of area columns",
|
340
354
|
"options": [],
|
341
355
|
"value": {
|
342
|
-
"type": "
|
356
|
+
"type": "string[]",
|
343
357
|
"kind": "expression"
|
344
358
|
}
|
345
359
|
},
|
346
360
|
{
|
347
|
-
"name": "
|
348
|
-
"default": "
|
349
|
-
"description": "
|
361
|
+
"name": "area-placeholder",
|
362
|
+
"default": "`Area`",
|
363
|
+
"description": "placeholder of area input field",
|
350
364
|
"options": [],
|
351
365
|
"value": {
|
352
366
|
"type": "string",
|
@@ -354,29 +368,29 @@
|
|
354
368
|
}
|
355
369
|
},
|
356
370
|
{
|
357
|
-
"name": "
|
358
|
-
"default": "
|
359
|
-
"description": "
|
371
|
+
"name": "address-info",
|
372
|
+
"default": "`{}`",
|
373
|
+
"description": "Address Info",
|
360
374
|
"options": [],
|
361
375
|
"value": {
|
362
|
-
"type": "
|
376
|
+
"type": "AddressEditInfo",
|
363
377
|
"kind": "expression"
|
364
378
|
}
|
365
379
|
},
|
366
380
|
{
|
367
|
-
"name": "
|
368
|
-
"default": "
|
369
|
-
"description": "
|
381
|
+
"name": "search-result",
|
382
|
+
"default": "`[]`",
|
383
|
+
"description": "Address search result",
|
370
384
|
"options": [],
|
371
385
|
"value": {
|
372
|
-
"type": "
|
386
|
+
"type": "AddressEditSearchItem[]",
|
373
387
|
"kind": "expression"
|
374
388
|
}
|
375
389
|
},
|
376
390
|
{
|
377
|
-
"name": "
|
378
|
-
"default": "`
|
379
|
-
"description": "Whether to show
|
391
|
+
"name": "show-postal",
|
392
|
+
"default": "`false`",
|
393
|
+
"description": "Whether to show postal field",
|
380
394
|
"options": [],
|
381
395
|
"value": {
|
382
396
|
"type": "boolean",
|
@@ -384,29 +398,39 @@
|
|
384
398
|
}
|
385
399
|
},
|
386
400
|
{
|
387
|
-
"name": "
|
388
|
-
"default": "`
|
389
|
-
"description": "
|
401
|
+
"name": "show-delete",
|
402
|
+
"default": "`false`",
|
403
|
+
"description": "Whether to show delete button",
|
390
404
|
"options": [],
|
391
405
|
"value": {
|
392
|
-
"type": "
|
406
|
+
"type": "boolean",
|
393
407
|
"kind": "expression"
|
394
408
|
}
|
395
409
|
},
|
396
410
|
{
|
397
|
-
"name": "
|
398
|
-
"default": "`
|
399
|
-
"description": "
|
411
|
+
"name": "show-set-default",
|
412
|
+
"default": "`false`",
|
413
|
+
"description": "Whether to show default address switch",
|
400
414
|
"options": [],
|
401
415
|
"value": {
|
402
|
-
"type": "
|
416
|
+
"type": "boolean",
|
403
417
|
"kind": "expression"
|
404
418
|
}
|
405
419
|
},
|
406
420
|
{
|
407
|
-
"name": "
|
421
|
+
"name": "show-search-result",
|
422
|
+
"default": "`false`",
|
423
|
+
"description": "Whether to show address search result",
|
424
|
+
"options": [],
|
425
|
+
"value": {
|
426
|
+
"type": "boolean",
|
427
|
+
"kind": "expression"
|
428
|
+
}
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"name": "show-area",
|
408
432
|
"default": "`true`",
|
409
|
-
"description": "Whether to show
|
433
|
+
"description": "Whether to show area cell",
|
410
434
|
"options": [],
|
411
435
|
"value": {
|
412
436
|
"type": "boolean",
|
@@ -414,9 +438,9 @@
|
|
414
438
|
}
|
415
439
|
},
|
416
440
|
{
|
417
|
-
"name": "
|
441
|
+
"name": "show-detail",
|
418
442
|
"default": "`true`",
|
419
|
-
"description": "Whether to show
|
443
|
+
"description": "Whether to show detail field",
|
420
444
|
"options": [],
|
421
445
|
"value": {
|
422
446
|
"type": "boolean",
|
@@ -424,59 +448,59 @@
|
|
424
448
|
}
|
425
449
|
},
|
426
450
|
{
|
427
|
-
"name": "
|
428
|
-
"default": "
|
429
|
-
"description": "
|
451
|
+
"name": "disable-area",
|
452
|
+
"default": "`false`",
|
453
|
+
"description": "Whether to disable area select",
|
430
454
|
"options": [],
|
431
455
|
"value": {
|
432
|
-
"type": "
|
456
|
+
"type": "boolean",
|
433
457
|
"kind": "expression"
|
434
458
|
}
|
435
459
|
},
|
436
460
|
{
|
437
|
-
"name": "
|
438
|
-
"default": "
|
439
|
-
"description": "
|
461
|
+
"name": "save-button-text",
|
462
|
+
"default": "`Save`",
|
463
|
+
"description": "Save button text",
|
440
464
|
"options": [],
|
441
465
|
"value": {
|
442
|
-
"type": "
|
466
|
+
"type": "string",
|
443
467
|
"kind": "expression"
|
444
468
|
}
|
445
469
|
},
|
446
470
|
{
|
447
|
-
"name": "
|
448
|
-
"default": "`
|
449
|
-
"description": "
|
471
|
+
"name": "delete-button-text",
|
472
|
+
"default": "`Delete`",
|
473
|
+
"description": "Delete button text",
|
450
474
|
"options": [],
|
451
475
|
"value": {
|
452
|
-
"type": "
|
476
|
+
"type": "string",
|
453
477
|
"kind": "expression"
|
454
478
|
}
|
455
479
|
},
|
456
480
|
{
|
457
|
-
"name": "
|
458
|
-
"default": "`
|
459
|
-
"description": "
|
481
|
+
"name": "detail-rows",
|
482
|
+
"default": "`1`",
|
483
|
+
"description": "Detail input rows",
|
460
484
|
"options": [],
|
461
485
|
"value": {
|
462
|
-
"type": "
|
486
|
+
"type": "number | string",
|
463
487
|
"kind": "expression"
|
464
488
|
}
|
465
489
|
},
|
466
490
|
{
|
467
|
-
"name": "
|
468
|
-
"default": "`
|
469
|
-
"description": "
|
491
|
+
"name": "detail-maxlength",
|
492
|
+
"default": "`200`",
|
493
|
+
"description": "Detail maxlength",
|
470
494
|
"options": [],
|
471
495
|
"value": {
|
472
|
-
"type": "
|
496
|
+
"type": "number | string",
|
473
497
|
"kind": "expression"
|
474
498
|
}
|
475
499
|
},
|
476
500
|
{
|
477
|
-
"name": "
|
501
|
+
"name": "is-saving",
|
478
502
|
"default": "`false`",
|
479
|
-
"description": "Whether to
|
503
|
+
"description": "Whether to show save button loading status",
|
480
504
|
"options": [],
|
481
505
|
"value": {
|
482
506
|
"type": "boolean",
|
@@ -484,9 +508,9 @@
|
|
484
508
|
}
|
485
509
|
},
|
486
510
|
{
|
487
|
-
"name": "
|
488
|
-
"default": "`
|
489
|
-
"description": "Whether to
|
511
|
+
"name": "is-deleting",
|
512
|
+
"default": "`false`",
|
513
|
+
"description": "Whether to show delete button loading status",
|
490
514
|
"options": [],
|
491
515
|
"value": {
|
492
516
|
"type": "boolean",
|
@@ -494,147 +518,149 @@
|
|
494
518
|
}
|
495
519
|
},
|
496
520
|
{
|
497
|
-
"name": "
|
498
|
-
"default": "
|
499
|
-
"description": "
|
521
|
+
"name": "tel-validator",
|
522
|
+
"default": "-",
|
523
|
+
"description": "The method to validate tel",
|
500
524
|
"options": [],
|
501
525
|
"value": {
|
502
|
-
"type": "boolean",
|
526
|
+
"type": "(tel: string) => boolean",
|
503
527
|
"kind": "expression"
|
504
528
|
}
|
505
529
|
},
|
506
530
|
{
|
507
|
-
"name": "
|
531
|
+
"name": "tel-maxlength",
|
508
532
|
"default": "-",
|
509
|
-
"description": "
|
533
|
+
"description": "Tel maxlength",
|
510
534
|
"options": [],
|
511
535
|
"value": {
|
512
|
-
"type": "
|
536
|
+
"type": "number | string",
|
513
537
|
"kind": "expression"
|
514
538
|
}
|
515
539
|
},
|
516
540
|
{
|
517
|
-
"name": "
|
541
|
+
"name": "postal-validator",
|
518
542
|
"default": "-",
|
519
|
-
"description": "
|
543
|
+
"description": "The method to validate postal",
|
520
544
|
"options": [],
|
521
545
|
"value": {
|
522
|
-
"type": "(
|
546
|
+
"type": "(tel: string) => boolean",
|
547
|
+
"kind": "expression"
|
548
|
+
}
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"name": "validator",
|
552
|
+
"default": "-",
|
553
|
+
"description": "Custom validator",
|
554
|
+
"options": [],
|
555
|
+
"value": {
|
556
|
+
"type": "(key, val) => string",
|
523
557
|
"kind": "expression"
|
524
558
|
}
|
525
559
|
}
|
526
560
|
]
|
527
561
|
},
|
528
562
|
{
|
529
|
-
"name": "van-address-
|
563
|
+
"name": "van-address-list",
|
530
564
|
"slots": [
|
531
565
|
{
|
532
566
|
"name": "default",
|
533
|
-
"description": "Custom content
|
534
|
-
}
|
535
|
-
],
|
536
|
-
"events": [
|
567
|
+
"description": "Custom content after list"
|
568
|
+
},
|
537
569
|
{
|
538
|
-
"name": "
|
539
|
-
"description": "
|
540
|
-
"arguments": [
|
541
|
-
{
|
542
|
-
"name": "content",
|
543
|
-
"type": "form content"
|
544
|
-
}
|
545
|
-
]
|
570
|
+
"name": "top",
|
571
|
+
"description": "Custom content before list"
|
546
572
|
},
|
547
573
|
{
|
548
|
-
"name": "
|
549
|
-
"description": "
|
550
|
-
"arguments": [
|
551
|
-
{
|
552
|
-
"name": "key",
|
553
|
-
"type": "field name"
|
554
|
-
}
|
555
|
-
]
|
574
|
+
"name": "item-bottom",
|
575
|
+
"description": "Custom content after list item"
|
556
576
|
},
|
557
577
|
{
|
558
|
-
"name": "
|
559
|
-
"description": "
|
578
|
+
"name": "tag",
|
579
|
+
"description": "Custom tag of list item"
|
580
|
+
}
|
581
|
+
],
|
582
|
+
"events": [
|
583
|
+
{
|
584
|
+
"name": "add",
|
585
|
+
"description": "Emitted when the add button is clicked",
|
586
|
+
"arguments": []
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"name": "edit",
|
590
|
+
"description": "Emitted when the edit icon of address is clicked",
|
560
591
|
"arguments": [
|
561
592
|
{
|
562
|
-
"name": "
|
563
|
-
"type": "
|
593
|
+
"name": "item",
|
594
|
+
"type": "Address"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"name": "index",
|
598
|
+
"type": "number"
|
564
599
|
}
|
565
600
|
]
|
566
601
|
},
|
567
602
|
{
|
568
|
-
"name": "select
|
569
|
-
"description": "Emitted when
|
603
|
+
"name": "select",
|
604
|
+
"description": "Emitted when an address is selected",
|
570
605
|
"arguments": [
|
571
606
|
{
|
572
|
-
"name": "
|
573
|
-
"type": "
|
607
|
+
"name": "item",
|
608
|
+
"type": "Address"
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"name": "index",
|
612
|
+
"type": "number"
|
574
613
|
}
|
575
614
|
]
|
576
615
|
},
|
577
616
|
{
|
578
|
-
"name": "
|
579
|
-
"description": "Emitted when the
|
580
|
-
"arguments": []
|
581
|
-
},
|
582
|
-
{
|
583
|
-
"name": "change-area",
|
584
|
-
"description": "Emitted when area changed",
|
617
|
+
"name": "edit-disabled",
|
618
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
585
619
|
"arguments": [
|
586
620
|
{
|
587
|
-
"name": "
|
588
|
-
"type": "
|
621
|
+
"name": "item",
|
622
|
+
"type": "Address"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"name": "index",
|
626
|
+
"type": "number"
|
589
627
|
}
|
590
628
|
]
|
591
629
|
},
|
592
630
|
{
|
593
|
-
"name": "
|
594
|
-
"description": "Emitted when address
|
631
|
+
"name": "select-disabled",
|
632
|
+
"description": "Emitted when a disabled address is selected",
|
595
633
|
"arguments": [
|
596
634
|
{
|
597
|
-
"name": "
|
598
|
-
"type": "
|
635
|
+
"name": "item",
|
636
|
+
"type": "Address"
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"name": "index",
|
640
|
+
"type": "number"
|
599
641
|
}
|
600
642
|
]
|
601
643
|
},
|
602
644
|
{
|
603
|
-
"name": "
|
604
|
-
"description": "Emitted when
|
645
|
+
"name": "click-item",
|
646
|
+
"description": "Emitted when an address item is clicked",
|
605
647
|
"arguments": [
|
606
648
|
{
|
607
|
-
"name": "
|
608
|
-
"type": "
|
649
|
+
"name": "item",
|
650
|
+
"type": "Address"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"name": "index",
|
654
|
+
"type": "number"
|
609
655
|
}
|
610
656
|
]
|
611
657
|
}
|
612
658
|
],
|
613
659
|
"attributes": [
|
614
660
|
{
|
615
|
-
"name": "
|
661
|
+
"name": "v-model",
|
616
662
|
"default": "-",
|
617
|
-
"description": "
|
618
|
-
"options": [],
|
619
|
-
"value": {
|
620
|
-
"type": "object",
|
621
|
-
"kind": "expression"
|
622
|
-
}
|
623
|
-
},
|
624
|
-
{
|
625
|
-
"name": "area-columns-placeholder",
|
626
|
-
"default": "`[]`",
|
627
|
-
"description": "placeholder of area columns",
|
628
|
-
"options": [],
|
629
|
-
"value": {
|
630
|
-
"type": "string[]",
|
631
|
-
"kind": "expression"
|
632
|
-
}
|
633
|
-
},
|
634
|
-
{
|
635
|
-
"name": "area-placeholder",
|
636
|
-
"default": "`Area`",
|
637
|
-
"description": "placeholder of area input field",
|
663
|
+
"description": "Id of chosen address",
|
638
664
|
"options": [],
|
639
665
|
"value": {
|
640
666
|
"type": "string",
|
@@ -642,89 +668,39 @@
|
|
642
668
|
}
|
643
669
|
},
|
644
670
|
{
|
645
|
-
"name": "
|
646
|
-
"default": "`{}`",
|
647
|
-
"description": "Address Info",
|
648
|
-
"options": [],
|
649
|
-
"value": {
|
650
|
-
"type": "AddressEditInfo",
|
651
|
-
"kind": "expression"
|
652
|
-
}
|
653
|
-
},
|
654
|
-
{
|
655
|
-
"name": "search-result",
|
671
|
+
"name": "list",
|
656
672
|
"default": "`[]`",
|
657
|
-
"description": "Address
|
658
|
-
"options": [],
|
659
|
-
"value": {
|
660
|
-
"type": "AddressEditSearchItem[]",
|
661
|
-
"kind": "expression"
|
662
|
-
}
|
663
|
-
},
|
664
|
-
{
|
665
|
-
"name": "show-postal",
|
666
|
-
"default": "`false`",
|
667
|
-
"description": "Whether to show postal field",
|
668
|
-
"options": [],
|
669
|
-
"value": {
|
670
|
-
"type": "boolean",
|
671
|
-
"kind": "expression"
|
672
|
-
}
|
673
|
-
},
|
674
|
-
{
|
675
|
-
"name": "show-delete",
|
676
|
-
"default": "`false`",
|
677
|
-
"description": "Whether to show delete button",
|
678
|
-
"options": [],
|
679
|
-
"value": {
|
680
|
-
"type": "boolean",
|
681
|
-
"kind": "expression"
|
682
|
-
}
|
683
|
-
},
|
684
|
-
{
|
685
|
-
"name": "show-set-default",
|
686
|
-
"default": "`false`",
|
687
|
-
"description": "Whether to show default address switch",
|
673
|
+
"description": "Address list",
|
688
674
|
"options": [],
|
689
675
|
"value": {
|
690
|
-
"type": "
|
676
|
+
"type": "Address[]",
|
691
677
|
"kind": "expression"
|
692
678
|
}
|
693
679
|
},
|
694
680
|
{
|
695
|
-
"name": "
|
696
|
-
"default": "`
|
697
|
-
"description": "
|
681
|
+
"name": "disabled-list",
|
682
|
+
"default": "`[]`",
|
683
|
+
"description": "Disabled address list",
|
698
684
|
"options": [],
|
699
685
|
"value": {
|
700
|
-
"type": "
|
686
|
+
"type": "Address[]",
|
701
687
|
"kind": "expression"
|
702
688
|
}
|
703
689
|
},
|
704
690
|
{
|
705
|
-
"name": "
|
706
|
-
"default": "
|
707
|
-
"description": "
|
691
|
+
"name": "disabled-text",
|
692
|
+
"default": "-",
|
693
|
+
"description": "Disabled text",
|
708
694
|
"options": [],
|
709
695
|
"value": {
|
710
|
-
"type": "
|
696
|
+
"type": "string",
|
711
697
|
"kind": "expression"
|
712
698
|
}
|
713
699
|
},
|
714
700
|
{
|
715
|
-
"name": "
|
701
|
+
"name": "switchable",
|
716
702
|
"default": "`true`",
|
717
|
-
"description": "Whether to
|
718
|
-
"options": [],
|
719
|
-
"value": {
|
720
|
-
"type": "boolean",
|
721
|
-
"kind": "expression"
|
722
|
-
}
|
723
|
-
},
|
724
|
-
{
|
725
|
-
"name": "disable-area",
|
726
|
-
"default": "`false`",
|
727
|
-
"description": "Whether to disable area select",
|
703
|
+
"description": "Whether to allow switch address",
|
728
704
|
"options": [],
|
729
705
|
"value": {
|
730
706
|
"type": "boolean",
|
@@ -732,19 +708,9 @@
|
|
732
708
|
}
|
733
709
|
},
|
734
710
|
{
|
735
|
-
"name": "
|
736
|
-
"default": "`
|
737
|
-
"description": "
|
738
|
-
"options": [],
|
739
|
-
"value": {
|
740
|
-
"type": "string",
|
741
|
-
"kind": "expression"
|
742
|
-
}
|
743
|
-
},
|
744
|
-
{
|
745
|
-
"name": "delete-button-text",
|
746
|
-
"default": "`Delete`",
|
747
|
-
"description": "Delete button text",
|
711
|
+
"name": "add-button-text",
|
712
|
+
"default": "`Add new address`",
|
713
|
+
"description": "Add button text",
|
748
714
|
"options": [],
|
749
715
|
"value": {
|
750
716
|
"type": "string",
|
@@ -752,82 +718,12 @@
|
|
752
718
|
}
|
753
719
|
},
|
754
720
|
{
|
755
|
-
"name": "
|
756
|
-
"default": "`1`",
|
757
|
-
"description": "Detail input rows",
|
758
|
-
"options": [],
|
759
|
-
"value": {
|
760
|
-
"type": "number | string",
|
761
|
-
"kind": "expression"
|
762
|
-
}
|
763
|
-
},
|
764
|
-
{
|
765
|
-
"name": "detail-maxlength",
|
766
|
-
"default": "`200`",
|
767
|
-
"description": "Detail maxlength",
|
768
|
-
"options": [],
|
769
|
-
"value": {
|
770
|
-
"type": "number | string",
|
771
|
-
"kind": "expression"
|
772
|
-
}
|
773
|
-
},
|
774
|
-
{
|
775
|
-
"name": "is-saving",
|
776
|
-
"default": "`false`",
|
777
|
-
"description": "Whether to show save button loading status",
|
778
|
-
"options": [],
|
779
|
-
"value": {
|
780
|
-
"type": "boolean",
|
781
|
-
"kind": "expression"
|
782
|
-
}
|
783
|
-
},
|
784
|
-
{
|
785
|
-
"name": "is-deleting",
|
786
|
-
"default": "`false`",
|
787
|
-
"description": "Whether to show delete button loading status",
|
788
|
-
"options": [],
|
789
|
-
"value": {
|
790
|
-
"type": "boolean",
|
791
|
-
"kind": "expression"
|
792
|
-
}
|
793
|
-
},
|
794
|
-
{
|
795
|
-
"name": "tel-validator",
|
796
|
-
"default": "-",
|
797
|
-
"description": "The method to validate tel",
|
798
|
-
"options": [],
|
799
|
-
"value": {
|
800
|
-
"type": "(tel: string) => boolean",
|
801
|
-
"kind": "expression"
|
802
|
-
}
|
803
|
-
},
|
804
|
-
{
|
805
|
-
"name": "tel-maxlength",
|
806
|
-
"default": "-",
|
807
|
-
"description": "Tel maxlength",
|
808
|
-
"options": [],
|
809
|
-
"value": {
|
810
|
-
"type": "number | string",
|
811
|
-
"kind": "expression"
|
812
|
-
}
|
813
|
-
},
|
814
|
-
{
|
815
|
-
"name": "postal-validator",
|
816
|
-
"default": "-",
|
817
|
-
"description": "The method to validate postal",
|
818
|
-
"options": [],
|
819
|
-
"value": {
|
820
|
-
"type": "(tel: string) => boolean",
|
821
|
-
"kind": "expression"
|
822
|
-
}
|
823
|
-
},
|
824
|
-
{
|
825
|
-
"name": "validator",
|
721
|
+
"name": "default-tag-text",
|
826
722
|
"default": "-",
|
827
|
-
"description": "
|
723
|
+
"description": "Default tag text",
|
828
724
|
"options": [],
|
829
725
|
"value": {
|
830
|
-
"type": "
|
726
|
+
"type": "string",
|
831
727
|
"kind": "expression"
|
832
728
|
}
|
833
729
|
}
|
@@ -1112,137 +1008,198 @@
|
|
1112
1008
|
]
|
1113
1009
|
},
|
1114
1010
|
{
|
1115
|
-
"name": "van-
|
1011
|
+
"name": "van-button",
|
1116
1012
|
"slots": [
|
1117
1013
|
{
|
1118
1014
|
"name": "default",
|
1119
|
-
"description": "
|
1120
|
-
},
|
1121
|
-
{
|
1122
|
-
"name": "top",
|
1123
|
-
"description": "Custom content before list"
|
1015
|
+
"description": "Default slot"
|
1124
1016
|
},
|
1125
1017
|
{
|
1126
|
-
"name": "
|
1127
|
-
"description": "Custom
|
1018
|
+
"name": "icon",
|
1019
|
+
"description": "Custom icon"
|
1128
1020
|
},
|
1129
1021
|
{
|
1130
|
-
"name": "
|
1131
|
-
"description": "Custom
|
1022
|
+
"name": "loading",
|
1023
|
+
"description": "Custom loading icon"
|
1132
1024
|
}
|
1133
1025
|
],
|
1134
1026
|
"events": [
|
1135
1027
|
{
|
1136
|
-
"name": "
|
1137
|
-
"description": "Emitted when
|
1138
|
-
"arguments": []
|
1139
|
-
},
|
1140
|
-
{
|
1141
|
-
"name": "edit",
|
1142
|
-
"description": "Emitted when the edit icon of address is clicked",
|
1028
|
+
"name": "click",
|
1029
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1143
1030
|
"arguments": [
|
1144
1031
|
{
|
1145
|
-
"name": "
|
1146
|
-
"type": "
|
1147
|
-
},
|
1148
|
-
{
|
1149
|
-
"name": "index",
|
1150
|
-
"type": "number"
|
1032
|
+
"name": "event",
|
1033
|
+
"type": "MouseEvent"
|
1151
1034
|
}
|
1152
1035
|
]
|
1153
1036
|
},
|
1154
1037
|
{
|
1155
|
-
"name": "
|
1156
|
-
"description": "Emitted when
|
1038
|
+
"name": "touchstart",
|
1039
|
+
"description": "Emitted when button is touched",
|
1157
1040
|
"arguments": [
|
1158
1041
|
{
|
1159
|
-
"name": "
|
1160
|
-
"type": "
|
1161
|
-
},
|
1162
|
-
{
|
1163
|
-
"name": "index",
|
1164
|
-
"type": "number"
|
1042
|
+
"name": "event",
|
1043
|
+
"type": "TouchEvent"
|
1165
1044
|
}
|
1166
1045
|
]
|
1046
|
+
}
|
1047
|
+
],
|
1048
|
+
"attributes": [
|
1049
|
+
{
|
1050
|
+
"name": "type",
|
1051
|
+
"default": "`default`",
|
1052
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1053
|
+
"options": [],
|
1054
|
+
"value": {
|
1055
|
+
"type": "string",
|
1056
|
+
"kind": "expression"
|
1057
|
+
}
|
1167
1058
|
},
|
1168
1059
|
{
|
1169
|
-
"name": "
|
1170
|
-
"
|
1171
|
-
"
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
"name": "index",
|
1178
|
-
"type": "number"
|
1179
|
-
}
|
1180
|
-
]
|
1060
|
+
"name": "size",
|
1061
|
+
"default": "`normal`",
|
1062
|
+
"description": "Can be set to `large` `small` `mini`",
|
1063
|
+
"options": [],
|
1064
|
+
"value": {
|
1065
|
+
"type": "string",
|
1066
|
+
"kind": "expression"
|
1067
|
+
}
|
1181
1068
|
},
|
1182
1069
|
{
|
1183
|
-
"name": "
|
1184
|
-
"
|
1185
|
-
"
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1070
|
+
"name": "text",
|
1071
|
+
"default": "-",
|
1072
|
+
"description": "Text",
|
1073
|
+
"options": [],
|
1074
|
+
"value": {
|
1075
|
+
"type": "string",
|
1076
|
+
"kind": "expression"
|
1077
|
+
}
|
1078
|
+
},
|
1079
|
+
{
|
1080
|
+
"name": "color",
|
1081
|
+
"default": "-",
|
1082
|
+
"description": "Color, support linear-gradient",
|
1083
|
+
"options": [],
|
1084
|
+
"value": {
|
1085
|
+
"type": "string",
|
1086
|
+
"kind": "expression"
|
1087
|
+
}
|
1088
|
+
},
|
1089
|
+
{
|
1090
|
+
"name": "icon",
|
1091
|
+
"default": "-",
|
1092
|
+
"description": "Left Icon",
|
1093
|
+
"options": [],
|
1094
|
+
"value": {
|
1095
|
+
"type": "string",
|
1096
|
+
"kind": "expression"
|
1097
|
+
}
|
1098
|
+
},
|
1099
|
+
{
|
1100
|
+
"name": "icon-prefix",
|
1101
|
+
"default": "`van-icon`",
|
1102
|
+
"description": "Icon className prefix",
|
1103
|
+
"options": [],
|
1104
|
+
"value": {
|
1105
|
+
"type": "string",
|
1106
|
+
"kind": "expression"
|
1107
|
+
}
|
1108
|
+
},
|
1109
|
+
{
|
1110
|
+
"name": "icon-position",
|
1111
|
+
"default": "`left`",
|
1112
|
+
"description": "Icon position, can be set to `right`",
|
1113
|
+
"options": [],
|
1114
|
+
"value": {
|
1115
|
+
"type": "string",
|
1116
|
+
"kind": "expression"
|
1117
|
+
}
|
1118
|
+
},
|
1119
|
+
{
|
1120
|
+
"name": "tag",
|
1121
|
+
"default": "`button`",
|
1122
|
+
"description": "HTML Tag",
|
1123
|
+
"options": [],
|
1124
|
+
"value": {
|
1125
|
+
"type": "string",
|
1126
|
+
"kind": "expression"
|
1127
|
+
}
|
1128
|
+
},
|
1129
|
+
{
|
1130
|
+
"name": "native-type",
|
1131
|
+
"default": "`button`",
|
1132
|
+
"description": "Native Type Attribute",
|
1133
|
+
"options": [],
|
1134
|
+
"value": {
|
1135
|
+
"type": "string",
|
1136
|
+
"kind": "expression"
|
1137
|
+
}
|
1138
|
+
},
|
1139
|
+
{
|
1140
|
+
"name": "plain",
|
1141
|
+
"default": "`false`",
|
1142
|
+
"description": "Whether to be plain button",
|
1143
|
+
"options": [],
|
1144
|
+
"value": {
|
1145
|
+
"type": "boolean",
|
1146
|
+
"kind": "expression"
|
1147
|
+
}
|
1195
1148
|
},
|
1196
1149
|
{
|
1197
|
-
"name": "
|
1198
|
-
"
|
1199
|
-
"
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
"type": "number"
|
1207
|
-
}
|
1208
|
-
]
|
1209
|
-
}
|
1210
|
-
],
|
1211
|
-
"attributes": [
|
1150
|
+
"name": "block",
|
1151
|
+
"default": "`false`",
|
1152
|
+
"description": "Whether to set display block",
|
1153
|
+
"options": [],
|
1154
|
+
"value": {
|
1155
|
+
"type": "boolean",
|
1156
|
+
"kind": "expression"
|
1157
|
+
}
|
1158
|
+
},
|
1212
1159
|
{
|
1213
|
-
"name": "
|
1214
|
-
"default": "
|
1215
|
-
"description": "
|
1160
|
+
"name": "round",
|
1161
|
+
"default": "`false`",
|
1162
|
+
"description": "Whether to be round button",
|
1216
1163
|
"options": [],
|
1217
1164
|
"value": {
|
1218
|
-
"type": "
|
1165
|
+
"type": "boolean",
|
1219
1166
|
"kind": "expression"
|
1220
1167
|
}
|
1221
1168
|
},
|
1222
1169
|
{
|
1223
|
-
"name": "
|
1224
|
-
"default": "`
|
1225
|
-
"description": "
|
1170
|
+
"name": "square",
|
1171
|
+
"default": "`false`",
|
1172
|
+
"description": "Whether to be square button",
|
1226
1173
|
"options": [],
|
1227
1174
|
"value": {
|
1228
|
-
"type": "
|
1175
|
+
"type": "boolean",
|
1229
1176
|
"kind": "expression"
|
1230
1177
|
}
|
1231
1178
|
},
|
1232
1179
|
{
|
1233
|
-
"name": "disabled
|
1234
|
-
"default": "`
|
1235
|
-
"description": "
|
1180
|
+
"name": "disabled",
|
1181
|
+
"default": "`false`",
|
1182
|
+
"description": "Whether to disable button",
|
1236
1183
|
"options": [],
|
1237
1184
|
"value": {
|
1238
|
-
"type": "
|
1185
|
+
"type": "boolean",
|
1239
1186
|
"kind": "expression"
|
1240
1187
|
}
|
1241
1188
|
},
|
1242
1189
|
{
|
1243
|
-
"name": "
|
1190
|
+
"name": "loading",
|
1191
|
+
"default": "`false`",
|
1192
|
+
"description": "Whether to show loading status",
|
1193
|
+
"options": [],
|
1194
|
+
"value": {
|
1195
|
+
"type": "boolean",
|
1196
|
+
"kind": "expression"
|
1197
|
+
}
|
1198
|
+
},
|
1199
|
+
{
|
1200
|
+
"name": "loading-text",
|
1244
1201
|
"default": "-",
|
1245
|
-
"description": "
|
1202
|
+
"description": "Loading text",
|
1246
1203
|
"options": [],
|
1247
1204
|
"value": {
|
1248
1205
|
"type": "string",
|
@@ -1250,100 +1207,153 @@
|
|
1250
1207
|
}
|
1251
1208
|
},
|
1252
1209
|
{
|
1253
|
-
"name": "
|
1254
|
-
"default": "`
|
1255
|
-
"description": "
|
1210
|
+
"name": "loading-type",
|
1211
|
+
"default": "`circular`",
|
1212
|
+
"description": "Loading type, can be set to `spinner`",
|
1256
1213
|
"options": [],
|
1257
1214
|
"value": {
|
1258
|
-
"type": "
|
1215
|
+
"type": "string",
|
1259
1216
|
"kind": "expression"
|
1260
1217
|
}
|
1261
1218
|
},
|
1262
1219
|
{
|
1263
|
-
"name": "
|
1264
|
-
"default": "`
|
1265
|
-
"description": "
|
1220
|
+
"name": "loading-size",
|
1221
|
+
"default": "`20px`",
|
1222
|
+
"description": "Loading icon size",
|
1266
1223
|
"options": [],
|
1267
1224
|
"value": {
|
1268
|
-
"type": "string",
|
1225
|
+
"type": "number | string",
|
1269
1226
|
"kind": "expression"
|
1270
1227
|
}
|
1271
1228
|
},
|
1272
1229
|
{
|
1273
|
-
"name": "
|
1230
|
+
"name": "url",
|
1274
1231
|
"default": "-",
|
1275
|
-
"description": "
|
1232
|
+
"description": "Link URL",
|
1276
1233
|
"options": [],
|
1277
1234
|
"value": {
|
1278
1235
|
"type": "string",
|
1279
1236
|
"kind": "expression"
|
1280
1237
|
}
|
1238
|
+
},
|
1239
|
+
{
|
1240
|
+
"name": "to",
|
1241
|
+
"default": "-",
|
1242
|
+
"description": "Target route of the link, same as using vue-router",
|
1243
|
+
"options": [],
|
1244
|
+
"value": {
|
1245
|
+
"type": "string | object",
|
1246
|
+
"kind": "expression"
|
1247
|
+
}
|
1248
|
+
},
|
1249
|
+
{
|
1250
|
+
"name": "replace",
|
1251
|
+
"default": "`false`",
|
1252
|
+
"description": "If true, the navigation will not leave a history record",
|
1253
|
+
"options": [],
|
1254
|
+
"value": {
|
1255
|
+
"type": "boolean",
|
1256
|
+
"kind": "expression"
|
1257
|
+
}
|
1281
1258
|
}
|
1282
1259
|
]
|
1283
1260
|
},
|
1284
1261
|
{
|
1285
|
-
"name": "van-
|
1262
|
+
"name": "van-action-sheet",
|
1286
1263
|
"slots": [
|
1287
1264
|
{
|
1288
1265
|
"name": "default",
|
1289
|
-
"description": "
|
1266
|
+
"description": "Custom content"
|
1290
1267
|
},
|
1291
1268
|
{
|
1292
|
-
"name": "
|
1293
|
-
"description": "Custom
|
1269
|
+
"name": "description",
|
1270
|
+
"description": "Custom description above the options"
|
1294
1271
|
},
|
1295
1272
|
{
|
1296
|
-
"name": "
|
1297
|
-
"description": "Custom
|
1273
|
+
"name": "cancel",
|
1274
|
+
"description": "Custom the content of cancel button"
|
1275
|
+
},
|
1276
|
+
{
|
1277
|
+
"name": "action",
|
1278
|
+
"description": "Custom the content of action"
|
1298
1279
|
}
|
1299
1280
|
],
|
1300
1281
|
"events": [
|
1301
1282
|
{
|
1302
|
-
"name": "
|
1303
|
-
"description": "Emitted when
|
1283
|
+
"name": "select",
|
1284
|
+
"description": "Emitted when an option is clicked",
|
1304
1285
|
"arguments": [
|
1305
1286
|
{
|
1306
|
-
"name": "
|
1307
|
-
"type": "
|
1287
|
+
"name": "action",
|
1288
|
+
"type": "ActionSheetAction"
|
1289
|
+
},
|
1290
|
+
{
|
1291
|
+
"name": "index",
|
1292
|
+
"type": "number"
|
1308
1293
|
}
|
1309
1294
|
]
|
1310
1295
|
},
|
1311
1296
|
{
|
1312
|
-
"name": "
|
1313
|
-
"description": "Emitted when button is
|
1297
|
+
"name": "cancel",
|
1298
|
+
"description": "Emitted when the cancel button is clicked",
|
1299
|
+
"arguments": []
|
1300
|
+
},
|
1301
|
+
{
|
1302
|
+
"name": "open",
|
1303
|
+
"description": "Emitted when opening ActionSheet",
|
1304
|
+
"arguments": []
|
1305
|
+
},
|
1306
|
+
{
|
1307
|
+
"name": "close",
|
1308
|
+
"description": "Emitted when closing ActionSheet",
|
1309
|
+
"arguments": []
|
1310
|
+
},
|
1311
|
+
{
|
1312
|
+
"name": "opened",
|
1313
|
+
"description": "Emitted when ActionSheet is opened",
|
1314
|
+
"arguments": []
|
1315
|
+
},
|
1316
|
+
{
|
1317
|
+
"name": "closed",
|
1318
|
+
"description": "Emitted when ActionSheet is closed",
|
1319
|
+
"arguments": []
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
"name": "click-overlay",
|
1323
|
+
"description": "Emitted when overlay is clicked",
|
1314
1324
|
"arguments": [
|
1315
1325
|
{
|
1316
1326
|
"name": "event",
|
1317
|
-
"type": "
|
1327
|
+
"type": "MouseEvent"
|
1318
1328
|
}
|
1319
1329
|
]
|
1320
1330
|
}
|
1321
1331
|
],
|
1322
1332
|
"attributes": [
|
1323
1333
|
{
|
1324
|
-
"name": "
|
1325
|
-
"default": "`
|
1326
|
-
"description": "
|
1334
|
+
"name": "v-model:show",
|
1335
|
+
"default": "`false`",
|
1336
|
+
"description": "Whether to show ActionSheet",
|
1327
1337
|
"options": [],
|
1328
1338
|
"value": {
|
1329
|
-
"type": "
|
1339
|
+
"type": "boolean",
|
1330
1340
|
"kind": "expression"
|
1331
1341
|
}
|
1332
1342
|
},
|
1333
1343
|
{
|
1334
|
-
"name": "
|
1335
|
-
"default": "`
|
1336
|
-
"description": "
|
1344
|
+
"name": "actions",
|
1345
|
+
"default": "`[]`",
|
1346
|
+
"description": "Options",
|
1337
1347
|
"options": [],
|
1338
1348
|
"value": {
|
1339
|
-
"type": "
|
1349
|
+
"type": "ActionSheetAction[]",
|
1340
1350
|
"kind": "expression"
|
1341
1351
|
}
|
1342
1352
|
},
|
1343
1353
|
{
|
1344
|
-
"name": "
|
1354
|
+
"name": "title",
|
1345
1355
|
"default": "-",
|
1346
|
-
"description": "
|
1356
|
+
"description": "Title",
|
1347
1357
|
"options": [],
|
1348
1358
|
"value": {
|
1349
1359
|
"type": "string",
|
@@ -1351,9 +1361,9 @@
|
|
1351
1361
|
}
|
1352
1362
|
},
|
1353
1363
|
{
|
1354
|
-
"name": "
|
1364
|
+
"name": "cancel-text",
|
1355
1365
|
"default": "-",
|
1356
|
-
"description": "
|
1366
|
+
"description": "Text of cancel button",
|
1357
1367
|
"options": [],
|
1358
1368
|
"value": {
|
1359
1369
|
"type": "string",
|
@@ -1361,19 +1371,9 @@
|
|
1361
1371
|
}
|
1362
1372
|
},
|
1363
1373
|
{
|
1364
|
-
"name": "
|
1374
|
+
"name": "description",
|
1365
1375
|
"default": "-",
|
1366
|
-
"description": "
|
1367
|
-
"options": [],
|
1368
|
-
"value": {
|
1369
|
-
"type": "string",
|
1370
|
-
"kind": "expression"
|
1371
|
-
}
|
1372
|
-
},
|
1373
|
-
{
|
1374
|
-
"name": "icon-prefix",
|
1375
|
-
"default": "`van-icon`",
|
1376
|
-
"description": "Icon className prefix",
|
1376
|
+
"description": "Description above the options",
|
1377
1377
|
"options": [],
|
1378
1378
|
"value": {
|
1379
1379
|
"type": "string",
|
@@ -1381,19 +1381,19 @@
|
|
1381
1381
|
}
|
1382
1382
|
},
|
1383
1383
|
{
|
1384
|
-
"name": "
|
1385
|
-
"default": "`
|
1386
|
-
"description": "
|
1384
|
+
"name": "closeable",
|
1385
|
+
"default": "`true`",
|
1386
|
+
"description": "Whether to show close icon",
|
1387
1387
|
"options": [],
|
1388
1388
|
"value": {
|
1389
|
-
"type": "
|
1389
|
+
"type": "boolean",
|
1390
1390
|
"kind": "expression"
|
1391
1391
|
}
|
1392
1392
|
},
|
1393
1393
|
{
|
1394
|
-
"name": "
|
1395
|
-
"default": "`
|
1396
|
-
"description": "
|
1394
|
+
"name": "close-icon",
|
1395
|
+
"default": "`cross`",
|
1396
|
+
"description": "Close icon name",
|
1397
1397
|
"options": [],
|
1398
1398
|
"value": {
|
1399
1399
|
"type": "string",
|
@@ -1401,19 +1401,19 @@
|
|
1401
1401
|
}
|
1402
1402
|
},
|
1403
1403
|
{
|
1404
|
-
"name": "
|
1405
|
-
"default": "`
|
1406
|
-
"description": "
|
1404
|
+
"name": "duration",
|
1405
|
+
"default": "`0.3`",
|
1406
|
+
"description": "Transition duration, unit second",
|
1407
1407
|
"options": [],
|
1408
1408
|
"value": {
|
1409
|
-
"type": "string",
|
1409
|
+
"type": "number | string",
|
1410
1410
|
"kind": "expression"
|
1411
1411
|
}
|
1412
1412
|
},
|
1413
1413
|
{
|
1414
|
-
"name": "
|
1415
|
-
"default": "`
|
1416
|
-
"description": "Whether to
|
1414
|
+
"name": "round",
|
1415
|
+
"default": "`true`",
|
1416
|
+
"description": "Whether to show round corner",
|
1417
1417
|
"options": [],
|
1418
1418
|
"value": {
|
1419
1419
|
"type": "boolean",
|
@@ -1421,9 +1421,9 @@
|
|
1421
1421
|
}
|
1422
1422
|
},
|
1423
1423
|
{
|
1424
|
-
"name": "
|
1425
|
-
"default": "`
|
1426
|
-
"description": "Whether to
|
1424
|
+
"name": "overlay",
|
1425
|
+
"default": "`true`",
|
1426
|
+
"description": "Whether to show overlay",
|
1427
1427
|
"options": [],
|
1428
1428
|
"value": {
|
1429
1429
|
"type": "boolean",
|
@@ -1431,29 +1431,29 @@
|
|
1431
1431
|
}
|
1432
1432
|
},
|
1433
1433
|
{
|
1434
|
-
"name": "
|
1435
|
-
"default": "
|
1436
|
-
"description": "
|
1434
|
+
"name": "overlay-class",
|
1435
|
+
"default": "-",
|
1436
|
+
"description": "Custom overlay class",
|
1437
1437
|
"options": [],
|
1438
1438
|
"value": {
|
1439
|
-
"type": "
|
1439
|
+
"type": "string | Array | object",
|
1440
1440
|
"kind": "expression"
|
1441
1441
|
}
|
1442
1442
|
},
|
1443
1443
|
{
|
1444
|
-
"name": "
|
1445
|
-
"default": "
|
1446
|
-
"description": "
|
1444
|
+
"name": "overlay-style",
|
1445
|
+
"default": "-",
|
1446
|
+
"description": "Custom overlay style",
|
1447
1447
|
"options": [],
|
1448
1448
|
"value": {
|
1449
|
-
"type": "
|
1449
|
+
"type": "object",
|
1450
1450
|
"kind": "expression"
|
1451
1451
|
}
|
1452
1452
|
},
|
1453
1453
|
{
|
1454
|
-
"name": "
|
1455
|
-
"default": "`
|
1456
|
-
"description": "Whether to
|
1454
|
+
"name": "lock-scroll",
|
1455
|
+
"default": "`true`",
|
1456
|
+
"description": "Whether to lock background scroll",
|
1457
1457
|
"options": [],
|
1458
1458
|
"value": {
|
1459
1459
|
"type": "boolean",
|
@@ -1461,9 +1461,9 @@
|
|
1461
1461
|
}
|
1462
1462
|
},
|
1463
1463
|
{
|
1464
|
-
"name": "
|
1465
|
-
"default": "`
|
1466
|
-
"description": "Whether to
|
1464
|
+
"name": "lazy-render",
|
1465
|
+
"default": "`true`",
|
1466
|
+
"description": "Whether to lazy render util appeared",
|
1467
1467
|
"options": [],
|
1468
1468
|
"value": {
|
1469
1469
|
"type": "boolean",
|
@@ -1471,62 +1471,62 @@
|
|
1471
1471
|
}
|
1472
1472
|
},
|
1473
1473
|
{
|
1474
|
-
"name": "
|
1475
|
-
"default": "
|
1476
|
-
"description": "
|
1474
|
+
"name": "close-on-popstate",
|
1475
|
+
"default": "`true`",
|
1476
|
+
"description": "Whether to close when popstate",
|
1477
1477
|
"options": [],
|
1478
1478
|
"value": {
|
1479
|
-
"type": "
|
1479
|
+
"type": "boolean",
|
1480
1480
|
"kind": "expression"
|
1481
1481
|
}
|
1482
1482
|
},
|
1483
1483
|
{
|
1484
|
-
"name": "
|
1485
|
-
"default": "`
|
1486
|
-
"description": "
|
1484
|
+
"name": "close-on-click-action",
|
1485
|
+
"default": "`false`",
|
1486
|
+
"description": "Whether to close when an action is clicked",
|
1487
1487
|
"options": [],
|
1488
1488
|
"value": {
|
1489
|
-
"type": "
|
1489
|
+
"type": "boolean",
|
1490
1490
|
"kind": "expression"
|
1491
1491
|
}
|
1492
1492
|
},
|
1493
1493
|
{
|
1494
|
-
"name": "
|
1495
|
-
"default": "`
|
1496
|
-
"description": "
|
1494
|
+
"name": "close-on-click-overlay",
|
1495
|
+
"default": "`true`",
|
1496
|
+
"description": "Whether to close when overlay is clicked",
|
1497
1497
|
"options": [],
|
1498
1498
|
"value": {
|
1499
|
-
"type": "
|
1499
|
+
"type": "boolean",
|
1500
1500
|
"kind": "expression"
|
1501
1501
|
}
|
1502
1502
|
},
|
1503
1503
|
{
|
1504
|
-
"name": "
|
1505
|
-
"default": "
|
1506
|
-
"description": "
|
1504
|
+
"name": "safe-area-inset-bottom",
|
1505
|
+
"default": "`true`",
|
1506
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1507
1507
|
"options": [],
|
1508
1508
|
"value": {
|
1509
|
-
"type": "
|
1509
|
+
"type": "boolean",
|
1510
1510
|
"kind": "expression"
|
1511
1511
|
}
|
1512
1512
|
},
|
1513
1513
|
{
|
1514
|
-
"name": "
|
1514
|
+
"name": "teleport",
|
1515
1515
|
"default": "-",
|
1516
|
-
"description": "
|
1516
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1517
1517
|
"options": [],
|
1518
1518
|
"value": {
|
1519
|
-
"type": "string |
|
1519
|
+
"type": "string | Element",
|
1520
1520
|
"kind": "expression"
|
1521
1521
|
}
|
1522
1522
|
},
|
1523
1523
|
{
|
1524
|
-
"name": "
|
1525
|
-
"default": "
|
1526
|
-
"description": "
|
1524
|
+
"name": "before-close",
|
1525
|
+
"default": "-",
|
1526
|
+
"description": "Callback function before close",
|
1527
1527
|
"options": [],
|
1528
1528
|
"value": {
|
1529
|
-
"type": "boolean",
|
1529
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1530
1530
|
"kind": "expression"
|
1531
1531
|
}
|
1532
1532
|
}
|
@@ -6673,9 +6673,218 @@
|
|
6673
6673
|
}
|
6674
6674
|
},
|
6675
6675
|
{
|
6676
|
-
"name": "speed",
|
6677
|
-
"default": "`60`",
|
6678
|
-
"description": "Scroll speed (px/s)",
|
6676
|
+
"name": "speed",
|
6677
|
+
"default": "`60`",
|
6678
|
+
"description": "Scroll speed (px/s)",
|
6679
|
+
"options": [],
|
6680
|
+
"value": {
|
6681
|
+
"type": "number | string",
|
6682
|
+
"kind": "expression"
|
6683
|
+
}
|
6684
|
+
},
|
6685
|
+
{
|
6686
|
+
"name": "scrollable",
|
6687
|
+
"default": "-",
|
6688
|
+
"description": "Whether to scroll content",
|
6689
|
+
"options": [],
|
6690
|
+
"value": {
|
6691
|
+
"type": "boolean",
|
6692
|
+
"kind": "expression"
|
6693
|
+
}
|
6694
|
+
},
|
6695
|
+
{
|
6696
|
+
"name": "wrapable",
|
6697
|
+
"default": "`false`",
|
6698
|
+
"description": "Whether to enable text wrap",
|
6699
|
+
"options": [],
|
6700
|
+
"value": {
|
6701
|
+
"type": "boolean",
|
6702
|
+
"kind": "expression"
|
6703
|
+
}
|
6704
|
+
}
|
6705
|
+
]
|
6706
|
+
},
|
6707
|
+
{
|
6708
|
+
"name": "van-overlay",
|
6709
|
+
"slots": [
|
6710
|
+
{
|
6711
|
+
"name": "default",
|
6712
|
+
"description": "Default slot"
|
6713
|
+
}
|
6714
|
+
],
|
6715
|
+
"events": [
|
6716
|
+
{
|
6717
|
+
"name": "click",
|
6718
|
+
"description": "Emitted when component is clicked",
|
6719
|
+
"arguments": [
|
6720
|
+
{
|
6721
|
+
"name": "event",
|
6722
|
+
"type": "MouseEvent"
|
6723
|
+
}
|
6724
|
+
]
|
6725
|
+
}
|
6726
|
+
],
|
6727
|
+
"attributes": [
|
6728
|
+
{
|
6729
|
+
"name": "show",
|
6730
|
+
"default": "`false`",
|
6731
|
+
"description": "Whether to show overlay",
|
6732
|
+
"options": [],
|
6733
|
+
"value": {
|
6734
|
+
"type": "boolean",
|
6735
|
+
"kind": "expression"
|
6736
|
+
}
|
6737
|
+
},
|
6738
|
+
{
|
6739
|
+
"name": "z-index",
|
6740
|
+
"default": "`1`",
|
6741
|
+
"description": "z-index",
|
6742
|
+
"options": [],
|
6743
|
+
"value": {
|
6744
|
+
"type": "number | string",
|
6745
|
+
"kind": "expression"
|
6746
|
+
}
|
6747
|
+
},
|
6748
|
+
{
|
6749
|
+
"name": "duration",
|
6750
|
+
"default": "`0.3`",
|
6751
|
+
"description": "Animation duration",
|
6752
|
+
"options": [],
|
6753
|
+
"value": {
|
6754
|
+
"type": "number | string",
|
6755
|
+
"kind": "expression"
|
6756
|
+
}
|
6757
|
+
},
|
6758
|
+
{
|
6759
|
+
"name": "class-name",
|
6760
|
+
"default": "-",
|
6761
|
+
"description": "ClassName",
|
6762
|
+
"options": [],
|
6763
|
+
"value": {
|
6764
|
+
"type": "string",
|
6765
|
+
"kind": "expression"
|
6766
|
+
}
|
6767
|
+
},
|
6768
|
+
{
|
6769
|
+
"name": "custom-class",
|
6770
|
+
"default": "-",
|
6771
|
+
"description": "Custom style",
|
6772
|
+
"options": [],
|
6773
|
+
"value": {
|
6774
|
+
"type": "object",
|
6775
|
+
"kind": "expression"
|
6776
|
+
}
|
6777
|
+
},
|
6778
|
+
{
|
6779
|
+
"name": "lock-scroll",
|
6780
|
+
"default": "`true`",
|
6781
|
+
"description": "Whether to lock background scroll",
|
6782
|
+
"options": [],
|
6783
|
+
"value": {
|
6784
|
+
"type": "boolean",
|
6785
|
+
"kind": "expression"
|
6786
|
+
}
|
6787
|
+
},
|
6788
|
+
{
|
6789
|
+
"name": "lazy-render",
|
6790
|
+
"default": "`true`",
|
6791
|
+
"description": "Whether to lazy render util appeared",
|
6792
|
+
"options": [],
|
6793
|
+
"value": {
|
6794
|
+
"type": "boolean",
|
6795
|
+
"kind": "expression"
|
6796
|
+
}
|
6797
|
+
}
|
6798
|
+
]
|
6799
|
+
},
|
6800
|
+
{
|
6801
|
+
"name": "van-pagination",
|
6802
|
+
"slots": [
|
6803
|
+
{
|
6804
|
+
"name": "page",
|
6805
|
+
"description": "Custom pagination item"
|
6806
|
+
},
|
6807
|
+
{
|
6808
|
+
"name": "prev-text",
|
6809
|
+
"description": "Custom prev text"
|
6810
|
+
},
|
6811
|
+
{
|
6812
|
+
"name": "next-text",
|
6813
|
+
"description": "Custom next text"
|
6814
|
+
}
|
6815
|
+
],
|
6816
|
+
"events": [
|
6817
|
+
{
|
6818
|
+
"name": "change",
|
6819
|
+
"description": "Emitted when current page changed",
|
6820
|
+
"arguments": []
|
6821
|
+
}
|
6822
|
+
],
|
6823
|
+
"attributes": [
|
6824
|
+
{
|
6825
|
+
"name": "v-model",
|
6826
|
+
"default": "-",
|
6827
|
+
"description": "Current page number",
|
6828
|
+
"options": [],
|
6829
|
+
"value": {
|
6830
|
+
"type": "number",
|
6831
|
+
"kind": "expression"
|
6832
|
+
}
|
6833
|
+
},
|
6834
|
+
{
|
6835
|
+
"name": "mode",
|
6836
|
+
"default": "`multi`",
|
6837
|
+
"description": "Mode, can be set to `simple` `multi`",
|
6838
|
+
"options": [],
|
6839
|
+
"value": {
|
6840
|
+
"type": "string",
|
6841
|
+
"kind": "expression"
|
6842
|
+
}
|
6843
|
+
},
|
6844
|
+
{
|
6845
|
+
"name": "prev-text",
|
6846
|
+
"default": "`Previous`",
|
6847
|
+
"description": "Previous text",
|
6848
|
+
"options": [],
|
6849
|
+
"value": {
|
6850
|
+
"type": "string",
|
6851
|
+
"kind": "expression"
|
6852
|
+
}
|
6853
|
+
},
|
6854
|
+
{
|
6855
|
+
"name": "next-text",
|
6856
|
+
"default": "`Next`",
|
6857
|
+
"description": "Next text",
|
6858
|
+
"options": [],
|
6859
|
+
"value": {
|
6860
|
+
"type": "string",
|
6861
|
+
"kind": "expression"
|
6862
|
+
}
|
6863
|
+
},
|
6864
|
+
{
|
6865
|
+
"name": "total-items",
|
6866
|
+
"default": "`0`",
|
6867
|
+
"description": "Total items",
|
6868
|
+
"options": [],
|
6869
|
+
"value": {
|
6870
|
+
"type": "number | string",
|
6871
|
+
"kind": "expression"
|
6872
|
+
}
|
6873
|
+
},
|
6874
|
+
{
|
6875
|
+
"name": "items-per-page",
|
6876
|
+
"default": "`10`",
|
6877
|
+
"description": "Item number per page",
|
6878
|
+
"options": [],
|
6879
|
+
"value": {
|
6880
|
+
"type": "number | string",
|
6881
|
+
"kind": "expression"
|
6882
|
+
}
|
6883
|
+
},
|
6884
|
+
{
|
6885
|
+
"name": "page-count",
|
6886
|
+
"default": "`-`",
|
6887
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
|
6679
6888
|
"options": [],
|
6680
6889
|
"value": {
|
6681
6890
|
"type": "number | string",
|
@@ -6683,19 +6892,19 @@
|
|
6683
6892
|
}
|
6684
6893
|
},
|
6685
6894
|
{
|
6686
|
-
"name": "
|
6687
|
-
"default": "
|
6688
|
-
"description": "
|
6895
|
+
"name": "show-page-size",
|
6896
|
+
"default": "`5`",
|
6897
|
+
"description": "Count of page size to show",
|
6689
6898
|
"options": [],
|
6690
6899
|
"value": {
|
6691
|
-
"type": "
|
6900
|
+
"type": "number | string",
|
6692
6901
|
"kind": "expression"
|
6693
6902
|
}
|
6694
6903
|
},
|
6695
6904
|
{
|
6696
|
-
"name": "
|
6905
|
+
"name": "force-ellipses",
|
6697
6906
|
"default": "`false`",
|
6698
|
-
"description": "Whether to
|
6907
|
+
"description": "Whether to show ellipses",
|
6699
6908
|
"options": [],
|
6700
6909
|
"value": {
|
6701
6910
|
"type": "boolean",
|
@@ -6931,80 +7140,70 @@
|
|
6931
7140
|
]
|
6932
7141
|
},
|
6933
7142
|
{
|
6934
|
-
"name": "van-
|
6935
|
-
"slots": [
|
6936
|
-
{
|
6937
|
-
"name": "default",
|
6938
|
-
"description": "Default slot"
|
6939
|
-
}
|
6940
|
-
],
|
7143
|
+
"name": "van-password-input",
|
7144
|
+
"slots": [],
|
6941
7145
|
"events": [
|
6942
7146
|
{
|
6943
|
-
"name": "
|
6944
|
-
"description": "Emitted when
|
6945
|
-
"arguments": [
|
6946
|
-
{
|
6947
|
-
"name": "event",
|
6948
|
-
"type": "MouseEvent"
|
6949
|
-
}
|
6950
|
-
]
|
7147
|
+
"name": "focus",
|
7148
|
+
"description": "Emitted when input is focused",
|
7149
|
+
"arguments": []
|
6951
7150
|
}
|
6952
7151
|
],
|
6953
7152
|
"attributes": [
|
6954
7153
|
{
|
6955
|
-
"name": "
|
6956
|
-
"default": "`
|
6957
|
-
"description": "
|
7154
|
+
"name": "value",
|
7155
|
+
"default": "`''`",
|
7156
|
+
"description": "Password value",
|
6958
7157
|
"options": [],
|
6959
7158
|
"value": {
|
6960
|
-
"type": "
|
7159
|
+
"type": "string",
|
6961
7160
|
"kind": "expression"
|
6962
7161
|
}
|
6963
7162
|
},
|
6964
7163
|
{
|
6965
|
-
"name": "
|
6966
|
-
"default": "
|
6967
|
-
"description": "
|
7164
|
+
"name": "info",
|
7165
|
+
"default": "-",
|
7166
|
+
"description": "Bottom info",
|
6968
7167
|
"options": [],
|
6969
7168
|
"value": {
|
6970
|
-
"type": "
|
7169
|
+
"type": "string",
|
6971
7170
|
"kind": "expression"
|
6972
7171
|
}
|
6973
7172
|
},
|
6974
7173
|
{
|
6975
|
-
"name": "
|
6976
|
-
"default": "
|
6977
|
-
"description": "
|
7174
|
+
"name": "error-info",
|
7175
|
+
"default": "-",
|
7176
|
+
"description": "Bottom error info",
|
6978
7177
|
"options": [],
|
6979
7178
|
"value": {
|
6980
|
-
"type": "
|
7179
|
+
"type": "string",
|
6981
7180
|
"kind": "expression"
|
6982
7181
|
}
|
6983
7182
|
},
|
6984
7183
|
{
|
6985
|
-
"name": "
|
6986
|
-
"default": "
|
6987
|
-
"description": "
|
7184
|
+
"name": "length",
|
7185
|
+
"default": "`6`",
|
7186
|
+
"description": "Maxlength of password",
|
6988
7187
|
"options": [],
|
6989
7188
|
"value": {
|
6990
|
-
"type": "string",
|
7189
|
+
"type": "number | string",
|
6991
7190
|
"kind": "expression"
|
6992
7191
|
}
|
6993
7192
|
},
|
6994
7193
|
{
|
6995
|
-
"name": "
|
6996
|
-
"default": "
|
6997
|
-
"description": "
|
7194
|
+
"name": "gutter",
|
7195
|
+
"default": "`0`",
|
7196
|
+
"description": "Gutter of input",
|
6998
7197
|
"options": [],
|
6999
7198
|
"value": {
|
7000
|
-
"type": "
|
7199
|
+
"type": "number | string",
|
7001
7200
|
"kind": "expression"
|
7002
7201
|
}
|
7003
7202
|
},
|
7004
7203
|
{
|
7005
|
-
"name": "
|
7204
|
+
"name": "mask",
|
7006
7205
|
"default": "`true`",
|
7007
|
-
"description": "Whether to
|
7206
|
+
"description": "Whether to mask value",
|
7008
7207
|
"options": [],
|
7009
7208
|
"value": {
|
7010
7209
|
"type": "boolean",
|
@@ -7012,9 +7211,9 @@
|
|
7012
7211
|
}
|
7013
7212
|
},
|
7014
7213
|
{
|
7015
|
-
"name": "
|
7016
|
-
"default": "`
|
7017
|
-
"description": "Whether to
|
7214
|
+
"name": "focused",
|
7215
|
+
"default": "`false`",
|
7216
|
+
"description": "Whether to show focused cursor",
|
7018
7217
|
"options": [],
|
7019
7218
|
"value": {
|
7020
7219
|
"type": "boolean",
|
@@ -7024,53 +7223,106 @@
|
|
7024
7223
|
]
|
7025
7224
|
},
|
7026
7225
|
{
|
7027
|
-
"name": "van-
|
7226
|
+
"name": "van-picker",
|
7028
7227
|
"slots": [
|
7029
7228
|
{
|
7030
|
-
"name": "
|
7031
|
-
"description": "Custom
|
7229
|
+
"name": "toolbar",
|
7230
|
+
"description": "Custom toolbar content"
|
7032
7231
|
},
|
7033
7232
|
{
|
7034
|
-
"name": "
|
7035
|
-
"description": "Custom
|
7233
|
+
"name": "title",
|
7234
|
+
"description": "Custom title"
|
7036
7235
|
},
|
7037
7236
|
{
|
7038
|
-
"name": "
|
7039
|
-
"description": "Custom
|
7237
|
+
"name": "confirm",
|
7238
|
+
"description": "Custom confirm button text"
|
7239
|
+
},
|
7240
|
+
{
|
7241
|
+
"name": "cancel",
|
7242
|
+
"description": "Custom cancel button text"
|
7243
|
+
},
|
7244
|
+
{
|
7245
|
+
"name": "option",
|
7246
|
+
"description": "Custom option content"
|
7247
|
+
},
|
7248
|
+
{
|
7249
|
+
"name": "columns-top",
|
7250
|
+
"description": "Custom content above columns"
|
7251
|
+
},
|
7252
|
+
{
|
7253
|
+
"name": "columns-bottom",
|
7254
|
+
"description": "Custom content below columns"
|
7040
7255
|
}
|
7041
7256
|
],
|
7042
7257
|
"events": [
|
7258
|
+
{
|
7259
|
+
"name": "confirm",
|
7260
|
+
"description": "Emitted when click confirm button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7261
|
+
"arguments": [
|
7262
|
+
{
|
7263
|
+
"name": "currentValue",
|
7264
|
+
"type": "PickerOption | PickerOption[]"
|
7265
|
+
},
|
7266
|
+
{
|
7267
|
+
"name": "currentIndex",
|
7268
|
+
"type": "number | number[]"
|
7269
|
+
}
|
7270
|
+
]
|
7271
|
+
},
|
7272
|
+
{
|
7273
|
+
"name": "cancel",
|
7274
|
+
"description": "Emitted when click cancel button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7275
|
+
"arguments": [
|
7276
|
+
{
|
7277
|
+
"name": "currentValue",
|
7278
|
+
"type": "PickerOption | PickerOption[]"
|
7279
|
+
},
|
7280
|
+
{
|
7281
|
+
"name": "currentIndex",
|
7282
|
+
"type": "number | number[]"
|
7283
|
+
}
|
7284
|
+
]
|
7285
|
+
},
|
7043
7286
|
{
|
7044
7287
|
"name": "change",
|
7045
|
-
"description": "Emitted when current
|
7046
|
-
"arguments": [
|
7288
|
+
"description": "Emitted when current option changed.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7289
|
+
"arguments": [
|
7290
|
+
{
|
7291
|
+
"name": "currentValue",
|
7292
|
+
"type": "PickerOption | PickerOption[]"
|
7293
|
+
},
|
7294
|
+
{
|
7295
|
+
"name": "currentIndex",
|
7296
|
+
"type": "number | number[]"
|
7297
|
+
}
|
7298
|
+
]
|
7047
7299
|
}
|
7048
7300
|
],
|
7049
7301
|
"attributes": [
|
7050
7302
|
{
|
7051
|
-
"name": "
|
7052
|
-
"default": "
|
7053
|
-
"description": "
|
7303
|
+
"name": "columns",
|
7304
|
+
"default": "`[]`",
|
7305
|
+
"description": "Columns data",
|
7054
7306
|
"options": [],
|
7055
7307
|
"value": {
|
7056
|
-
"type": "
|
7308
|
+
"type": "Column[]",
|
7057
7309
|
"kind": "expression"
|
7058
7310
|
}
|
7059
7311
|
},
|
7060
7312
|
{
|
7061
|
-
"name": "
|
7062
|
-
"default": "`
|
7063
|
-
"description": "
|
7313
|
+
"name": "columns-field-names",
|
7314
|
+
"default": "`{ text: 'text', values: 'values', children: 'children' }`",
|
7315
|
+
"description": "custom columns field",
|
7064
7316
|
"options": [],
|
7065
7317
|
"value": {
|
7066
|
-
"type": "
|
7318
|
+
"type": "object",
|
7067
7319
|
"kind": "expression"
|
7068
7320
|
}
|
7069
7321
|
},
|
7070
7322
|
{
|
7071
|
-
"name": "
|
7072
|
-
"default": "
|
7073
|
-
"description": "
|
7323
|
+
"name": "title",
|
7324
|
+
"default": "-",
|
7325
|
+
"description": "Toolbar title",
|
7074
7326
|
"options": [],
|
7075
7327
|
"value": {
|
7076
7328
|
"type": "string",
|
@@ -7078,9 +7330,9 @@
|
|
7078
7330
|
}
|
7079
7331
|
},
|
7080
7332
|
{
|
7081
|
-
"name": "
|
7082
|
-
"default": "`
|
7083
|
-
"description": "
|
7333
|
+
"name": "confirm-button-text",
|
7334
|
+
"default": "`Confirm`",
|
7335
|
+
"description": "Text of confirm button",
|
7084
7336
|
"options": [],
|
7085
7337
|
"value": {
|
7086
7338
|
"type": "string",
|
@@ -7088,102 +7340,59 @@
|
|
7088
7340
|
}
|
7089
7341
|
},
|
7090
7342
|
{
|
7091
|
-
"name": "
|
7092
|
-
"default": "`
|
7093
|
-
"description": "
|
7094
|
-
"options": [],
|
7095
|
-
"value": {
|
7096
|
-
"type": "number | string",
|
7097
|
-
"kind": "expression"
|
7098
|
-
}
|
7099
|
-
},
|
7100
|
-
{
|
7101
|
-
"name": "items-per-page",
|
7102
|
-
"default": "`10`",
|
7103
|
-
"description": "Item number per page",
|
7104
|
-
"options": [],
|
7105
|
-
"value": {
|
7106
|
-
"type": "number | string",
|
7107
|
-
"kind": "expression"
|
7108
|
-
}
|
7109
|
-
},
|
7110
|
-
{
|
7111
|
-
"name": "page-count",
|
7112
|
-
"default": "`-`",
|
7113
|
-
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
|
7343
|
+
"name": "cancel-button-text",
|
7344
|
+
"default": "`Cancel`",
|
7345
|
+
"description": "Text of cancel button",
|
7114
7346
|
"options": [],
|
7115
7347
|
"value": {
|
7116
|
-
"type": "
|
7348
|
+
"type": "string",
|
7117
7349
|
"kind": "expression"
|
7118
7350
|
}
|
7119
7351
|
},
|
7120
7352
|
{
|
7121
|
-
"name": "
|
7122
|
-
"default": "`
|
7123
|
-
"description": "
|
7353
|
+
"name": "toolbar-position",
|
7354
|
+
"default": "`top`",
|
7355
|
+
"description": "Toolbar position, cat be set to `bottom`",
|
7124
7356
|
"options": [],
|
7125
7357
|
"value": {
|
7126
|
-
"type": "
|
7358
|
+
"type": "string",
|
7127
7359
|
"kind": "expression"
|
7128
7360
|
}
|
7129
7361
|
},
|
7130
7362
|
{
|
7131
|
-
"name": "
|
7363
|
+
"name": "loading",
|
7132
7364
|
"default": "`false`",
|
7133
|
-
"description": "Whether to show
|
7134
|
-
"options": [],
|
7135
|
-
"value": {
|
7136
|
-
"type": "boolean",
|
7137
|
-
"kind": "expression"
|
7138
|
-
}
|
7139
|
-
}
|
7140
|
-
]
|
7141
|
-
},
|
7142
|
-
{
|
7143
|
-
"name": "van-password-input",
|
7144
|
-
"slots": [],
|
7145
|
-
"events": [
|
7146
|
-
{
|
7147
|
-
"name": "focus",
|
7148
|
-
"description": "Emitted when input is focused",
|
7149
|
-
"arguments": []
|
7150
|
-
}
|
7151
|
-
],
|
7152
|
-
"attributes": [
|
7153
|
-
{
|
7154
|
-
"name": "value",
|
7155
|
-
"default": "`''`",
|
7156
|
-
"description": "Password value",
|
7365
|
+
"description": "Whether to show loading prompt",
|
7157
7366
|
"options": [],
|
7158
7367
|
"value": {
|
7159
|
-
"type": "
|
7368
|
+
"type": "boolean",
|
7160
7369
|
"kind": "expression"
|
7161
7370
|
}
|
7162
7371
|
},
|
7163
7372
|
{
|
7164
|
-
"name": "
|
7165
|
-
"default": "
|
7166
|
-
"description": "
|
7373
|
+
"name": "show-toolbar",
|
7374
|
+
"default": "`true`",
|
7375
|
+
"description": "Whether to show toolbar",
|
7167
7376
|
"options": [],
|
7168
7377
|
"value": {
|
7169
|
-
"type": "
|
7378
|
+
"type": "boolean",
|
7170
7379
|
"kind": "expression"
|
7171
7380
|
}
|
7172
7381
|
},
|
7173
7382
|
{
|
7174
|
-
"name": "
|
7175
|
-
"default": "
|
7176
|
-
"description": "
|
7383
|
+
"name": "allow-html",
|
7384
|
+
"default": "`false`",
|
7385
|
+
"description": "Whether to allow HTML in option text",
|
7177
7386
|
"options": [],
|
7178
7387
|
"value": {
|
7179
|
-
"type": "
|
7388
|
+
"type": "boolean",
|
7180
7389
|
"kind": "expression"
|
7181
7390
|
}
|
7182
7391
|
},
|
7183
7392
|
{
|
7184
|
-
"name": "
|
7185
|
-
"default": "`
|
7186
|
-
"description": "
|
7393
|
+
"name": "default-index",
|
7394
|
+
"default": "`0`",
|
7395
|
+
"description": "Default value index of single column picker",
|
7187
7396
|
"options": [],
|
7188
7397
|
"value": {
|
7189
7398
|
"type": "number | string",
|
@@ -7191,9 +7400,9 @@
|
|
7191
7400
|
}
|
7192
7401
|
},
|
7193
7402
|
{
|
7194
|
-
"name": "
|
7195
|
-
"default": "`
|
7196
|
-
"description": "
|
7403
|
+
"name": "item-height",
|
7404
|
+
"default": "`44`",
|
7405
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
7197
7406
|
"options": [],
|
7198
7407
|
"value": {
|
7199
7408
|
"type": "number | string",
|
@@ -7201,22 +7410,22 @@
|
|
7201
7410
|
}
|
7202
7411
|
},
|
7203
7412
|
{
|
7204
|
-
"name": "
|
7205
|
-
"default": "`
|
7206
|
-
"description": "
|
7413
|
+
"name": "visible-item-count",
|
7414
|
+
"default": "`6`",
|
7415
|
+
"description": "Count of visible columns",
|
7207
7416
|
"options": [],
|
7208
7417
|
"value": {
|
7209
|
-
"type": "
|
7418
|
+
"type": "number | string",
|
7210
7419
|
"kind": "expression"
|
7211
7420
|
}
|
7212
7421
|
},
|
7213
7422
|
{
|
7214
|
-
"name": "
|
7215
|
-
"default": "`
|
7216
|
-
"description": "
|
7423
|
+
"name": "swipe-duration",
|
7424
|
+
"default": "`1000`",
|
7425
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
7217
7426
|
"options": [],
|
7218
7427
|
"value": {
|
7219
|
-
"type": "
|
7428
|
+
"type": "number | string",
|
7220
7429
|
"kind": "expression"
|
7221
7430
|
}
|
7222
7431
|
}
|
@@ -7357,247 +7566,38 @@
|
|
7357
7566
|
},
|
7358
7567
|
{
|
7359
7568
|
"name": "overlay",
|
7360
|
-
"default": "`false`",
|
7361
|
-
"description": "Whether to show overlay",
|
7362
|
-
"options": [],
|
7363
|
-
"value": {
|
7364
|
-
"type": "boolean",
|
7365
|
-
"kind": "expression"
|
7366
|
-
}
|
7367
|
-
},
|
7368
|
-
{
|
7369
|
-
"name": "overlay-class",
|
7370
|
-
"default": "-",
|
7371
|
-
"description": "Custom overlay class",
|
7372
|
-
"options": [],
|
7373
|
-
"value": {
|
7374
|
-
"type": "string | Array | object",
|
7375
|
-
"kind": "expression"
|
7376
|
-
}
|
7377
|
-
},
|
7378
|
-
{
|
7379
|
-
"name": "overlay-style",
|
7380
|
-
"default": "-",
|
7381
|
-
"description": "Custom overlay style",
|
7382
|
-
"options": [],
|
7383
|
-
"value": {
|
7384
|
-
"type": "object",
|
7385
|
-
"kind": "expression"
|
7386
|
-
}
|
7387
|
-
},
|
7388
|
-
{
|
7389
|
-
"name": "show-arrow",
|
7390
|
-
"default": "`true`",
|
7391
|
-
"description": "Whether to show arrow",
|
7392
|
-
"options": [],
|
7393
|
-
"value": {
|
7394
|
-
"type": "boolean",
|
7395
|
-
"kind": "expression"
|
7396
|
-
}
|
7397
|
-
},
|
7398
|
-
{
|
7399
|
-
"name": "close-on-click-action",
|
7400
|
-
"default": "`true`",
|
7401
|
-
"description": "Whether to close when clicking action",
|
7402
|
-
"options": [],
|
7403
|
-
"value": {
|
7404
|
-
"type": "boolean",
|
7405
|
-
"kind": "expression"
|
7406
|
-
}
|
7407
|
-
},
|
7408
|
-
{
|
7409
|
-
"name": "close-on-click-outside",
|
7410
|
-
"default": "`true`",
|
7411
|
-
"description": "Whether to close when clicking outside",
|
7412
|
-
"options": [],
|
7413
|
-
"value": {
|
7414
|
-
"type": "boolean",
|
7415
|
-
"kind": "expression"
|
7416
|
-
}
|
7417
|
-
},
|
7418
|
-
{
|
7419
|
-
"name": "close-on-click-overlay",
|
7420
|
-
"default": "`true`",
|
7421
|
-
"description": "Whether to close when clicking overlay",
|
7422
|
-
"options": [],
|
7423
|
-
"value": {
|
7424
|
-
"type": "boolean",
|
7425
|
-
"kind": "expression"
|
7426
|
-
}
|
7427
|
-
},
|
7428
|
-
{
|
7429
|
-
"name": "teleport",
|
7430
|
-
"default": "`body`",
|
7431
|
-
"description": "Specifies a target element where Popover will be mounted",
|
7432
|
-
"options": [],
|
7433
|
-
"value": {
|
7434
|
-
"type": "string | Element",
|
7435
|
-
"kind": "expression"
|
7436
|
-
}
|
7437
|
-
},
|
7438
|
-
{
|
7439
|
-
"name": "icon-prefix",
|
7440
|
-
"default": "`van-icon`",
|
7441
|
-
"description": "Icon className prefix",
|
7442
|
-
"options": [],
|
7443
|
-
"value": {
|
7444
|
-
"type": "string",
|
7445
|
-
"kind": "expression"
|
7446
|
-
}
|
7447
|
-
}
|
7448
|
-
]
|
7449
|
-
},
|
7450
|
-
{
|
7451
|
-
"name": "van-picker",
|
7452
|
-
"slots": [
|
7453
|
-
{
|
7454
|
-
"name": "toolbar",
|
7455
|
-
"description": "Custom toolbar content"
|
7456
|
-
},
|
7457
|
-
{
|
7458
|
-
"name": "title",
|
7459
|
-
"description": "Custom title"
|
7460
|
-
},
|
7461
|
-
{
|
7462
|
-
"name": "confirm",
|
7463
|
-
"description": "Custom confirm button text"
|
7464
|
-
},
|
7465
|
-
{
|
7466
|
-
"name": "cancel",
|
7467
|
-
"description": "Custom cancel button text"
|
7468
|
-
},
|
7469
|
-
{
|
7470
|
-
"name": "option",
|
7471
|
-
"description": "Custom option content"
|
7472
|
-
},
|
7473
|
-
{
|
7474
|
-
"name": "columns-top",
|
7475
|
-
"description": "Custom content above columns"
|
7476
|
-
},
|
7477
|
-
{
|
7478
|
-
"name": "columns-bottom",
|
7479
|
-
"description": "Custom content below columns"
|
7480
|
-
}
|
7481
|
-
],
|
7482
|
-
"events": [
|
7483
|
-
{
|
7484
|
-
"name": "confirm",
|
7485
|
-
"description": "Emitted when click confirm button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7486
|
-
"arguments": [
|
7487
|
-
{
|
7488
|
-
"name": "currentValue",
|
7489
|
-
"type": "PickerOption | PickerOption[]"
|
7490
|
-
},
|
7491
|
-
{
|
7492
|
-
"name": "currentIndex",
|
7493
|
-
"type": "number | number[]"
|
7494
|
-
}
|
7495
|
-
]
|
7496
|
-
},
|
7497
|
-
{
|
7498
|
-
"name": "cancel",
|
7499
|
-
"description": "Emitted when click cancel button.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7500
|
-
"arguments": [
|
7501
|
-
{
|
7502
|
-
"name": "currentValue",
|
7503
|
-
"type": "PickerOption | PickerOption[]"
|
7504
|
-
},
|
7505
|
-
{
|
7506
|
-
"name": "currentIndex",
|
7507
|
-
"type": "number | number[]"
|
7508
|
-
}
|
7509
|
-
]
|
7510
|
-
},
|
7511
|
-
{
|
7512
|
-
"name": "change",
|
7513
|
-
"description": "Emitted when current option changed.<br>**Notice: the arguments return an array when the multiple columns mode.**",
|
7514
|
-
"arguments": [
|
7515
|
-
{
|
7516
|
-
"name": "currentValue",
|
7517
|
-
"type": "PickerOption | PickerOption[]"
|
7518
|
-
},
|
7519
|
-
{
|
7520
|
-
"name": "currentIndex",
|
7521
|
-
"type": "number | number[]"
|
7522
|
-
}
|
7523
|
-
]
|
7524
|
-
}
|
7525
|
-
],
|
7526
|
-
"attributes": [
|
7527
|
-
{
|
7528
|
-
"name": "columns",
|
7529
|
-
"default": "`[]`",
|
7530
|
-
"description": "Columns data",
|
7531
|
-
"options": [],
|
7532
|
-
"value": {
|
7533
|
-
"type": "Column[]",
|
7534
|
-
"kind": "expression"
|
7535
|
-
}
|
7536
|
-
},
|
7537
|
-
{
|
7538
|
-
"name": "columns-field-names",
|
7539
|
-
"default": "`{ text: 'text', values: 'values', children: 'children' }`",
|
7540
|
-
"description": "custom columns field",
|
7541
|
-
"options": [],
|
7542
|
-
"value": {
|
7543
|
-
"type": "object",
|
7544
|
-
"kind": "expression"
|
7545
|
-
}
|
7546
|
-
},
|
7547
|
-
{
|
7548
|
-
"name": "title",
|
7549
|
-
"default": "-",
|
7550
|
-
"description": "Toolbar title",
|
7551
|
-
"options": [],
|
7552
|
-
"value": {
|
7553
|
-
"type": "string",
|
7554
|
-
"kind": "expression"
|
7555
|
-
}
|
7556
|
-
},
|
7557
|
-
{
|
7558
|
-
"name": "confirm-button-text",
|
7559
|
-
"default": "`Confirm`",
|
7560
|
-
"description": "Text of confirm button",
|
7561
|
-
"options": [],
|
7562
|
-
"value": {
|
7563
|
-
"type": "string",
|
7564
|
-
"kind": "expression"
|
7565
|
-
}
|
7566
|
-
},
|
7567
|
-
{
|
7568
|
-
"name": "cancel-button-text",
|
7569
|
-
"default": "`Cancel`",
|
7570
|
-
"description": "Text of cancel button",
|
7569
|
+
"default": "`false`",
|
7570
|
+
"description": "Whether to show overlay",
|
7571
7571
|
"options": [],
|
7572
7572
|
"value": {
|
7573
|
-
"type": "
|
7573
|
+
"type": "boolean",
|
7574
7574
|
"kind": "expression"
|
7575
7575
|
}
|
7576
7576
|
},
|
7577
7577
|
{
|
7578
|
-
"name": "
|
7579
|
-
"default": "
|
7580
|
-
"description": "
|
7578
|
+
"name": "overlay-class",
|
7579
|
+
"default": "-",
|
7580
|
+
"description": "Custom overlay class",
|
7581
7581
|
"options": [],
|
7582
7582
|
"value": {
|
7583
|
-
"type": "string",
|
7583
|
+
"type": "string | Array | object",
|
7584
7584
|
"kind": "expression"
|
7585
7585
|
}
|
7586
7586
|
},
|
7587
7587
|
{
|
7588
|
-
"name": "
|
7589
|
-
"default": "
|
7590
|
-
"description": "
|
7588
|
+
"name": "overlay-style",
|
7589
|
+
"default": "-",
|
7590
|
+
"description": "Custom overlay style",
|
7591
7591
|
"options": [],
|
7592
7592
|
"value": {
|
7593
|
-
"type": "
|
7593
|
+
"type": "object",
|
7594
7594
|
"kind": "expression"
|
7595
7595
|
}
|
7596
7596
|
},
|
7597
7597
|
{
|
7598
|
-
"name": "show-
|
7598
|
+
"name": "show-arrow",
|
7599
7599
|
"default": "`true`",
|
7600
|
-
"description": "Whether to show
|
7600
|
+
"description": "Whether to show arrow",
|
7601
7601
|
"options": [],
|
7602
7602
|
"value": {
|
7603
7603
|
"type": "boolean",
|
@@ -7605,9 +7605,9 @@
|
|
7605
7605
|
}
|
7606
7606
|
},
|
7607
7607
|
{
|
7608
|
-
"name": "
|
7609
|
-
"default": "`
|
7610
|
-
"description": "Whether to
|
7608
|
+
"name": "close-on-click-action",
|
7609
|
+
"default": "`true`",
|
7610
|
+
"description": "Whether to close when clicking action",
|
7611
7611
|
"options": [],
|
7612
7612
|
"value": {
|
7613
7613
|
"type": "boolean",
|
@@ -7615,42 +7615,42 @@
|
|
7615
7615
|
}
|
7616
7616
|
},
|
7617
7617
|
{
|
7618
|
-
"name": "
|
7619
|
-
"default": "`
|
7620
|
-
"description": "
|
7618
|
+
"name": "close-on-click-outside",
|
7619
|
+
"default": "`true`",
|
7620
|
+
"description": "Whether to close when clicking outside",
|
7621
7621
|
"options": [],
|
7622
7622
|
"value": {
|
7623
|
-
"type": "
|
7623
|
+
"type": "boolean",
|
7624
7624
|
"kind": "expression"
|
7625
7625
|
}
|
7626
7626
|
},
|
7627
7627
|
{
|
7628
|
-
"name": "
|
7629
|
-
"default": "`
|
7630
|
-
"description": "
|
7628
|
+
"name": "close-on-click-overlay",
|
7629
|
+
"default": "`true`",
|
7630
|
+
"description": "Whether to close when clicking overlay",
|
7631
7631
|
"options": [],
|
7632
7632
|
"value": {
|
7633
|
-
"type": "
|
7633
|
+
"type": "boolean",
|
7634
7634
|
"kind": "expression"
|
7635
7635
|
}
|
7636
7636
|
},
|
7637
7637
|
{
|
7638
|
-
"name": "
|
7639
|
-
"default": "`
|
7640
|
-
"description": "
|
7638
|
+
"name": "teleport",
|
7639
|
+
"default": "`body`",
|
7640
|
+
"description": "Specifies a target element where Popover will be mounted",
|
7641
7641
|
"options": [],
|
7642
7642
|
"value": {
|
7643
|
-
"type": "
|
7643
|
+
"type": "string | Element",
|
7644
7644
|
"kind": "expression"
|
7645
7645
|
}
|
7646
7646
|
},
|
7647
7647
|
{
|
7648
|
-
"name": "
|
7649
|
-
"default": "`
|
7650
|
-
"description": "
|
7648
|
+
"name": "icon-prefix",
|
7649
|
+
"default": "`van-icon`",
|
7650
|
+
"description": "Icon className prefix",
|
7651
7651
|
"options": [],
|
7652
7652
|
"value": {
|
7653
|
-
"type": "
|
7653
|
+
"type": "string",
|
7654
7654
|
"kind": "expression"
|
7655
7655
|
}
|
7656
7656
|
}
|
@@ -7933,103 +7933,6 @@
|
|
7933
7933
|
}
|
7934
7934
|
]
|
7935
7935
|
},
|
7936
|
-
{
|
7937
|
-
"name": "van-progress",
|
7938
|
-
"slots": [],
|
7939
|
-
"events": [],
|
7940
|
-
"attributes": [
|
7941
|
-
{
|
7942
|
-
"name": "percentage",
|
7943
|
-
"default": "`0`",
|
7944
|
-
"description": "Percentage",
|
7945
|
-
"options": [],
|
7946
|
-
"value": {
|
7947
|
-
"type": "number | string",
|
7948
|
-
"kind": "expression"
|
7949
|
-
}
|
7950
|
-
},
|
7951
|
-
{
|
7952
|
-
"name": "stroke-width",
|
7953
|
-
"default": "`4px`",
|
7954
|
-
"description": "Stroke width",
|
7955
|
-
"options": [],
|
7956
|
-
"value": {
|
7957
|
-
"type": "number | string",
|
7958
|
-
"kind": "expression"
|
7959
|
-
}
|
7960
|
-
},
|
7961
|
-
{
|
7962
|
-
"name": "color",
|
7963
|
-
"default": "`#1989fa`",
|
7964
|
-
"description": "Color",
|
7965
|
-
"options": [],
|
7966
|
-
"value": {
|
7967
|
-
"type": "string",
|
7968
|
-
"kind": "expression"
|
7969
|
-
}
|
7970
|
-
},
|
7971
|
-
{
|
7972
|
-
"name": "track-color",
|
7973
|
-
"default": "`#e5e5e5`",
|
7974
|
-
"description": "Track color",
|
7975
|
-
"options": [],
|
7976
|
-
"value": {
|
7977
|
-
"type": "string",
|
7978
|
-
"kind": "expression"
|
7979
|
-
}
|
7980
|
-
},
|
7981
|
-
{
|
7982
|
-
"name": "pivot-text",
|
7983
|
-
"default": "percentage",
|
7984
|
-
"description": "Pivot text",
|
7985
|
-
"options": [],
|
7986
|
-
"value": {
|
7987
|
-
"type": "string",
|
7988
|
-
"kind": "expression"
|
7989
|
-
}
|
7990
|
-
},
|
7991
|
-
{
|
7992
|
-
"name": "pivot-color",
|
7993
|
-
"default": "inherit progress color",
|
7994
|
-
"description": "Pivot text background color",
|
7995
|
-
"options": [],
|
7996
|
-
"value": {
|
7997
|
-
"type": "string",
|
7998
|
-
"kind": "expression"
|
7999
|
-
}
|
8000
|
-
},
|
8001
|
-
{
|
8002
|
-
"name": "text-color",
|
8003
|
-
"default": "`white`",
|
8004
|
-
"description": "Pivot text color",
|
8005
|
-
"options": [],
|
8006
|
-
"value": {
|
8007
|
-
"type": "string",
|
8008
|
-
"kind": "expression"
|
8009
|
-
}
|
8010
|
-
},
|
8011
|
-
{
|
8012
|
-
"name": "inactive",
|
8013
|
-
"default": "`false`",
|
8014
|
-
"description": "Whether to be gray",
|
8015
|
-
"options": [],
|
8016
|
-
"value": {
|
8017
|
-
"type": "boolean",
|
8018
|
-
"kind": "expression"
|
8019
|
-
}
|
8020
|
-
},
|
8021
|
-
{
|
8022
|
-
"name": "show-pivot",
|
8023
|
-
"default": "`true`",
|
8024
|
-
"description": "Whether to show text",
|
8025
|
-
"options": [],
|
8026
|
-
"value": {
|
8027
|
-
"type": "boolean",
|
8028
|
-
"kind": "expression"
|
8029
|
-
}
|
8030
|
-
}
|
8031
|
-
]
|
8032
|
-
},
|
8033
7936
|
{
|
8034
7937
|
"name": "van-pull-refresh",
|
8035
7938
|
"slots": [
|
@@ -8168,6 +8071,103 @@
|
|
8168
8071
|
}
|
8169
8072
|
]
|
8170
8073
|
},
|
8074
|
+
{
|
8075
|
+
"name": "van-progress",
|
8076
|
+
"slots": [],
|
8077
|
+
"events": [],
|
8078
|
+
"attributes": [
|
8079
|
+
{
|
8080
|
+
"name": "percentage",
|
8081
|
+
"default": "`0`",
|
8082
|
+
"description": "Percentage",
|
8083
|
+
"options": [],
|
8084
|
+
"value": {
|
8085
|
+
"type": "number | string",
|
8086
|
+
"kind": "expression"
|
8087
|
+
}
|
8088
|
+
},
|
8089
|
+
{
|
8090
|
+
"name": "stroke-width",
|
8091
|
+
"default": "`4px`",
|
8092
|
+
"description": "Stroke width",
|
8093
|
+
"options": [],
|
8094
|
+
"value": {
|
8095
|
+
"type": "number | string",
|
8096
|
+
"kind": "expression"
|
8097
|
+
}
|
8098
|
+
},
|
8099
|
+
{
|
8100
|
+
"name": "color",
|
8101
|
+
"default": "`#1989fa`",
|
8102
|
+
"description": "Color",
|
8103
|
+
"options": [],
|
8104
|
+
"value": {
|
8105
|
+
"type": "string",
|
8106
|
+
"kind": "expression"
|
8107
|
+
}
|
8108
|
+
},
|
8109
|
+
{
|
8110
|
+
"name": "track-color",
|
8111
|
+
"default": "`#e5e5e5`",
|
8112
|
+
"description": "Track color",
|
8113
|
+
"options": [],
|
8114
|
+
"value": {
|
8115
|
+
"type": "string",
|
8116
|
+
"kind": "expression"
|
8117
|
+
}
|
8118
|
+
},
|
8119
|
+
{
|
8120
|
+
"name": "pivot-text",
|
8121
|
+
"default": "percentage",
|
8122
|
+
"description": "Pivot text",
|
8123
|
+
"options": [],
|
8124
|
+
"value": {
|
8125
|
+
"type": "string",
|
8126
|
+
"kind": "expression"
|
8127
|
+
}
|
8128
|
+
},
|
8129
|
+
{
|
8130
|
+
"name": "pivot-color",
|
8131
|
+
"default": "inherit progress color",
|
8132
|
+
"description": "Pivot text background color",
|
8133
|
+
"options": [],
|
8134
|
+
"value": {
|
8135
|
+
"type": "string",
|
8136
|
+
"kind": "expression"
|
8137
|
+
}
|
8138
|
+
},
|
8139
|
+
{
|
8140
|
+
"name": "text-color",
|
8141
|
+
"default": "`white`",
|
8142
|
+
"description": "Pivot text color",
|
8143
|
+
"options": [],
|
8144
|
+
"value": {
|
8145
|
+
"type": "string",
|
8146
|
+
"kind": "expression"
|
8147
|
+
}
|
8148
|
+
},
|
8149
|
+
{
|
8150
|
+
"name": "inactive",
|
8151
|
+
"default": "`false`",
|
8152
|
+
"description": "Whether to be gray",
|
8153
|
+
"options": [],
|
8154
|
+
"value": {
|
8155
|
+
"type": "boolean",
|
8156
|
+
"kind": "expression"
|
8157
|
+
}
|
8158
|
+
},
|
8159
|
+
{
|
8160
|
+
"name": "show-pivot",
|
8161
|
+
"default": "`true`",
|
8162
|
+
"description": "Whether to show text",
|
8163
|
+
"options": [],
|
8164
|
+
"value": {
|
8165
|
+
"type": "boolean",
|
8166
|
+
"kind": "expression"
|
8167
|
+
}
|
8168
|
+
}
|
8169
|
+
]
|
8170
|
+
},
|
8171
8171
|
{
|
8172
8172
|
"name": "van-radio",
|
8173
8173
|
"slots": [
|