vant 3.6.1 → 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/changelog.generated.md +33 -43
- package/es/action-bar/ActionBar.d.ts +1 -1
- package/es/action-bar/index.d.ts +1 -1
- package/es/action-bar-button/ActionBarButton.d.ts +1 -1
- package/es/action-bar-button/index.d.ts +1 -1
- package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/es/action-bar-icon/index.d.ts +1 -1
- package/es/badge/Badge.d.ts +1 -1
- package/es/badge/index.d.ts +1 -1
- package/es/calendar/Calendar.mjs +4 -3
- package/es/cell/Cell.d.ts +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell-group/CellGroup.d.ts +1 -1
- package/es/cell-group/index.d.ts +1 -1
- package/es/col/Col.d.ts +1 -1
- package/es/col/index.d.ts +1 -1
- package/es/collapse-item/CollapseItem.d.ts +1 -1
- package/es/collapse-item/index.d.ts +1 -1
- package/es/composables/use-lazy-render.mjs +9 -5
- package/es/composables/use-lock-scroll.mjs +4 -1
- package/es/composables/use-visibility-change.mjs +6 -3
- package/es/config-provider/ConfigProvider.d.ts +1 -1
- package/es/config-provider/index.d.ts +1 -1
- package/es/coupon/Coupon.d.ts +1 -1
- package/es/coupon/index.d.ts +1 -1
- package/es/coupon/utils.mjs +3 -1
- package/es/coupon-cell/CouponCell.d.ts +1 -1
- package/es/coupon-cell/index.d.ts +1 -1
- package/es/datetime-picker/DatetimePicker.d.ts +1 -1
- package/es/datetime-picker/index.d.ts +1 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.less +4 -0
- package/es/dialog/types.d.ts +1 -1
- package/es/divider/Divider.d.ts +1 -1
- package/es/divider/index.d.ts +1 -1
- package/es/dropdown-item/DropdownItem.d.ts +2 -2
- package/es/dropdown-item/index.d.ts +2 -2
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/index.d.ts +1 -1
- package/es/empty/Empty.d.ts +1 -1
- package/es/empty/index.d.ts +1 -1
- package/es/field/Field.mjs +10 -3
- package/es/grid/Grid.d.ts +1 -1
- package/es/grid/index.d.ts +1 -1
- package/es/grid-item/GridItem.d.ts +1 -1
- package/es/grid-item/index.d.ts +1 -1
- package/es/icon/Icon.d.ts +1 -1
- package/es/icon/index.d.ts +1 -1
- package/es/image/Image.d.ts +4 -0
- package/es/image/Image.mjs +3 -1
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +3 -0
- package/es/image/index.less +4 -0
- package/es/image-preview/ImagePreviewItem.mjs +10 -2
- package/es/index-anchor/IndexAnchor.d.ts +1 -1
- package/es/index-anchor/index.d.ts +1 -1
- package/es/index-bar/IndexBar.mjs +7 -3
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/lazyload/vue-lazyload/lazy-component.mjs +4 -1
- package/es/lazyload/vue-lazyload/lazy-container.mjs +11 -7
- package/es/lazyload/vue-lazyload/lazy-image.mjs +24 -14
- package/es/lazyload/vue-lazyload/lazy.mjs +11 -3
- package/es/lazyload/vue-lazyload/listener.mjs +45 -33
- package/es/lazyload/vue-lazyload/util.mjs +4 -1
- package/es/loading/Loading.d.ts +1 -1
- package/es/loading/index.d.ts +1 -1
- package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/es/number-keyboard/index.d.ts +1 -1
- package/es/overlay/Overlay.d.ts +1 -1
- package/es/overlay/Overlay.mjs +13 -6
- package/es/overlay/index.d.ts +1 -1
- package/es/picker/Picker.mjs +7 -3
- package/es/picker/PickerColumn.mjs +6 -2
- package/es/popup/Popup.d.ts +2 -2
- package/es/popup/index.d.ts +2 -2
- package/es/popup/shared.mjs +3 -1
- package/es/progress/Progress.d.ts +1 -1
- package/es/progress/index.d.ts +1 -1
- package/es/rate/Rate.mjs +5 -3
- package/es/row/Row.d.ts +1 -1
- package/es/row/index.d.ts +1 -1
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/index.d.ts +1 -1
- package/es/slider/Slider.mjs +6 -2
- package/es/space/Space.d.ts +1 -1
- package/es/space/index.d.ts +1 -1
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/swipe/Swipe.mjs +13 -6
- package/es/swipe-cell/SwipeCell.d.ts +2 -2
- package/es/swipe-cell/SwipeCell.mjs +4 -2
- package/es/swipe-cell/index.d.ts +2 -2
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/tab/Tab.d.ts +1 -1
- package/es/tab/Tab.mjs +12 -2
- package/es/tab/index.d.ts +1 -1
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.mjs +11 -11
- package/es/tabs/TabsTitle.d.ts +1 -1
- package/es/tabs/index.d.ts +1 -1
- package/es/utils/basic.mjs +2 -1
- package/es/utils/create.mjs +8 -2
- package/es/utils/with-install.d.ts +2 -2
- package/es/utils/with-install.mjs +4 -2
- package/lib/action-bar/ActionBar.d.ts +1 -1
- package/lib/action-bar/index.d.ts +1 -1
- package/lib/action-bar/index.js +4 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
- package/lib/action-bar-button/index.d.ts +1 -1
- package/lib/action-bar-button/index.js +4 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/lib/action-bar-icon/index.d.ts +1 -1
- package/lib/action-bar-icon/index.js +4 -1
- package/lib/action-sheet/index.js +4 -1
- package/lib/address-edit/AddressEdit.js +4 -1
- package/lib/address-edit/index.js +4 -1
- package/lib/address-list/AddressList.js +4 -1
- package/lib/address-list/index.js +4 -1
- package/lib/area/index.js +4 -1
- package/lib/badge/Badge.d.ts +1 -1
- package/lib/badge/index.d.ts +1 -1
- package/lib/badge/index.js +4 -1
- package/lib/button/index.js +4 -1
- package/lib/calendar/Calendar.js +8 -4
- package/lib/calendar/CalendarMonth.js +4 -1
- package/lib/calendar/index.js +4 -1
- package/lib/card/index.js +4 -1
- package/lib/cascader/index.js +4 -1
- package/lib/cell/Cell.d.ts +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell/index.js +4 -1
- package/lib/cell-group/CellGroup.d.ts +1 -1
- package/lib/cell-group/index.d.ts +1 -1
- package/lib/cell-group/index.js +4 -1
- package/lib/checkbox/Checkbox.js +4 -1
- package/lib/checkbox/index.js +4 -1
- package/lib/checkbox-group/index.js +4 -1
- package/lib/circle/index.js +4 -1
- package/lib/col/Col.d.ts +1 -1
- package/lib/col/index.d.ts +1 -1
- package/lib/col/index.js +4 -1
- package/lib/collapse/index.js +4 -1
- package/lib/collapse-item/CollapseItem.d.ts +1 -1
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/index.js +4 -1
- package/lib/composables/use-lazy-render.js +9 -5
- package/lib/composables/use-lock-scroll.js +4 -1
- package/lib/composables/use-visibility-change.js +6 -3
- package/lib/config-provider/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +4 -1
- package/lib/contact-card/index.js +4 -1
- package/lib/contact-edit/index.js +4 -1
- package/lib/contact-list/index.js +4 -1
- package/lib/count-down/index.js +4 -1
- package/lib/coupon/Coupon.d.ts +1 -1
- package/lib/coupon/index.d.ts +1 -1
- package/lib/coupon/index.js +4 -1
- package/lib/coupon/utils.js +3 -1
- package/lib/coupon-cell/CouponCell.d.ts +1 -1
- package/lib/coupon-cell/index.d.ts +1 -1
- package/lib/coupon-cell/index.js +4 -1
- package/lib/coupon-list/index.js +4 -1
- package/lib/datetime-picker/DatetimePicker.d.ts +1 -1
- package/lib/datetime-picker/DatetimePicker.js +4 -1
- package/lib/datetime-picker/index.d.ts +1 -1
- package/lib/datetime-picker/index.js +4 -1
- package/lib/dialog/function-call.js +4 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.less +4 -0
- package/lib/dialog/types.d.ts +1 -1
- package/lib/divider/Divider.d.ts +1 -1
- package/lib/divider/index.d.ts +1 -1
- package/lib/divider/index.js +4 -1
- package/lib/dropdown-item/DropdownItem.d.ts +2 -2
- package/lib/dropdown-item/index.d.ts +2 -2
- package/lib/dropdown-item/index.js +4 -1
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/index.d.ts +1 -1
- package/lib/dropdown-menu/index.js +4 -1
- package/lib/empty/Empty.d.ts +1 -1
- package/lib/empty/index.d.ts +1 -1
- package/lib/empty/index.js +4 -1
- package/lib/field/Field.js +9 -2
- package/lib/field/index.js +4 -1
- package/lib/form/index.js +4 -1
- package/lib/grid/Grid.d.ts +1 -1
- package/lib/grid/index.d.ts +1 -1
- package/lib/grid/index.js +4 -1
- package/lib/grid-item/GridItem.d.ts +1 -1
- package/lib/grid-item/index.d.ts +1 -1
- package/lib/grid-item/index.js +4 -1
- package/lib/icon/Icon.d.ts +1 -1
- package/lib/icon/index.d.ts +1 -1
- package/lib/icon/index.js +4 -1
- package/lib/image/Image.d.ts +4 -0
- package/lib/image/Image.js +3 -1
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +3 -0
- package/lib/image/index.js +4 -1
- package/lib/image/index.less +4 -0
- package/lib/image-preview/ImagePreview.js +4 -1
- package/lib/image-preview/ImagePreviewItem.js +9 -1
- package/lib/image-preview/function-call.js +4 -1
- package/lib/index-anchor/IndexAnchor.d.ts +1 -1
- package/lib/index-anchor/index.d.ts +1 -1
- package/lib/index-anchor/index.js +4 -1
- package/lib/index-bar/IndexBar.js +7 -3
- package/lib/index-bar/index.js +4 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/lazyload/vue-lazyload/index.js +4 -1
- package/lib/lazyload/vue-lazyload/lazy-component.js +4 -1
- package/lib/lazyload/vue-lazyload/lazy-container.js +11 -7
- package/lib/lazyload/vue-lazyload/lazy-image.js +24 -14
- package/lib/lazyload/vue-lazyload/lazy.js +15 -4
- package/lib/lazyload/vue-lazyload/listener.js +45 -33
- package/lib/lazyload/vue-lazyload/util.js +4 -1
- package/lib/list/index.js +4 -1
- package/lib/loading/Loading.d.ts +1 -1
- package/lib/loading/index.d.ts +1 -1
- package/lib/loading/index.js +4 -1
- package/lib/locale/index.js +4 -1
- package/lib/nav-bar/index.js +4 -1
- package/lib/notice-bar/index.js +4 -1
- package/lib/notify/function-call.js +4 -1
- package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/lib/number-keyboard/NumberKeyboard.js +4 -1
- package/lib/number-keyboard/index.d.ts +1 -1
- package/lib/number-keyboard/index.js +4 -1
- package/lib/overlay/Overlay.d.ts +1 -1
- package/lib/overlay/Overlay.js +11 -4
- package/lib/overlay/index.d.ts +1 -1
- package/lib/overlay/index.js +4 -1
- package/lib/pagination/index.js +4 -1
- package/lib/password-input/index.js +4 -1
- package/lib/picker/Picker.js +10 -3
- package/lib/picker/PickerColumn.js +5 -1
- package/lib/picker/index.js +4 -1
- package/lib/popover/index.js +4 -1
- package/lib/popup/Popup.d.ts +2 -2
- package/lib/popup/index.d.ts +2 -2
- package/lib/popup/index.js +4 -1
- package/lib/popup/shared.js +3 -1
- package/lib/progress/Progress.d.ts +1 -1
- package/lib/progress/index.d.ts +1 -1
- package/lib/progress/index.js +4 -1
- package/lib/pull-refresh/index.js +4 -1
- package/lib/radio/Radio.js +4 -1
- package/lib/radio/index.js +4 -1
- package/lib/radio-group/index.js +4 -1
- package/lib/rate/Rate.js +4 -2
- package/lib/rate/index.js +4 -1
- package/lib/row/Row.d.ts +1 -1
- package/lib/row/index.d.ts +1 -1
- package/lib/row/index.js +4 -1
- package/lib/search/index.js +4 -1
- package/lib/share-sheet/index.js +4 -1
- package/lib/sidebar/index.js +4 -1
- package/lib/sidebar-item/index.js +4 -1
- package/lib/skeleton/Skeleton.d.ts +1 -1
- package/lib/skeleton/index.d.ts +1 -1
- package/lib/skeleton/index.js +4 -1
- package/lib/slider/Slider.js +5 -1
- package/lib/slider/index.js +4 -1
- package/lib/space/Space.d.ts +1 -1
- package/lib/space/index.d.ts +1 -1
- package/lib/space/index.js +4 -1
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/step/index.js +4 -1
- package/lib/stepper/index.js +4 -1
- package/lib/steps/index.js +4 -1
- package/lib/sticky/index.js +4 -1
- package/lib/submit-bar/index.js +4 -1
- package/lib/swipe/Swipe.js +12 -5
- package/lib/swipe/index.js +4 -1
- package/lib/swipe-cell/SwipeCell.d.ts +2 -2
- package/lib/swipe-cell/SwipeCell.js +3 -1
- package/lib/swipe-cell/index.d.ts +2 -2
- package/lib/swipe-cell/index.js +4 -1
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/swipe-item/index.js +4 -1
- package/lib/switch/index.js +4 -1
- package/lib/tab/Tab.d.ts +1 -1
- package/lib/tab/Tab.js +11 -1
- package/lib/tab/index.d.ts +1 -1
- package/lib/tab/index.js +4 -1
- package/lib/tabbar/index.js +4 -1
- package/lib/tabbar-item/index.js +4 -1
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +15 -12
- package/lib/tabs/TabsTitle.d.ts +1 -1
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/index.js +4 -1
- package/lib/tag/index.js +4 -1
- package/lib/toast/function-call.js +4 -1
- package/lib/tree-select/index.js +4 -1
- package/lib/uploader/Uploader.js +4 -1
- package/lib/uploader/index.js +4 -1
- package/lib/utils/basic.js +2 -1
- package/lib/utils/create.js +12 -3
- package/lib/utils/with-install.d.ts +2 -2
- package/lib/utils/with-install.js +4 -2
- package/lib/vant.cjs.js +248 -126
- package/lib/vant.es.js +248 -126
- package/lib/vant.js +290 -151
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1389 -1379
- package/package.json +8 -7
package/lib/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.6.
|
5
|
+
"version": "3.6.3",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -262,38 +262,33 @@
|
|
262
262
|
]
|
263
263
|
},
|
264
264
|
{
|
265
|
-
"name": "van-
|
265
|
+
"name": "van-action-sheet",
|
266
266
|
"slots": [
|
267
267
|
{
|
268
268
|
"name": "default",
|
269
|
-
"description": "Custom content
|
269
|
+
"description": "Custom content"
|
270
270
|
},
|
271
271
|
{
|
272
|
-
"name": "
|
273
|
-
"description": "Custom
|
272
|
+
"name": "description",
|
273
|
+
"description": "Custom description above the options"
|
274
274
|
},
|
275
275
|
{
|
276
|
-
"name": "
|
277
|
-
"description": "Custom content
|
276
|
+
"name": "cancel",
|
277
|
+
"description": "Custom the content of cancel button"
|
278
278
|
},
|
279
279
|
{
|
280
|
-
"name": "
|
281
|
-
"description": "Custom
|
280
|
+
"name": "action",
|
281
|
+
"description": "Custom the content of action"
|
282
282
|
}
|
283
283
|
],
|
284
284
|
"events": [
|
285
285
|
{
|
286
|
-
"name": "
|
287
|
-
"description": "Emitted when
|
288
|
-
"arguments": []
|
289
|
-
},
|
290
|
-
{
|
291
|
-
"name": "edit",
|
292
|
-
"description": "Emitted when the edit icon of address is clicked",
|
286
|
+
"name": "select",
|
287
|
+
"description": "Emitted when an option is clicked",
|
293
288
|
"arguments": [
|
294
289
|
{
|
295
|
-
"name": "
|
296
|
-
"type": "
|
290
|
+
"name": "action",
|
291
|
+
"type": "ActionSheetAction"
|
297
292
|
},
|
298
293
|
{
|
299
294
|
"name": "index",
|
@@ -302,97 +297,76 @@
|
|
302
297
|
]
|
303
298
|
},
|
304
299
|
{
|
305
|
-
"name": "
|
306
|
-
"description": "Emitted when
|
307
|
-
"arguments": [
|
308
|
-
{
|
309
|
-
"name": "item",
|
310
|
-
"type": "Address"
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"name": "index",
|
314
|
-
"type": "number"
|
315
|
-
}
|
316
|
-
]
|
300
|
+
"name": "cancel",
|
301
|
+
"description": "Emitted when the cancel button is clicked",
|
302
|
+
"arguments": []
|
317
303
|
},
|
318
304
|
{
|
319
|
-
"name": "
|
320
|
-
"description": "Emitted when
|
321
|
-
"arguments": [
|
322
|
-
{
|
323
|
-
"name": "item",
|
324
|
-
"type": "Address"
|
325
|
-
},
|
326
|
-
{
|
327
|
-
"name": "index",
|
328
|
-
"type": "number"
|
329
|
-
}
|
330
|
-
]
|
305
|
+
"name": "open",
|
306
|
+
"description": "Emitted when opening ActionSheet",
|
307
|
+
"arguments": []
|
331
308
|
},
|
332
309
|
{
|
333
|
-
"name": "
|
334
|
-
"description": "Emitted when
|
335
|
-
"arguments": [
|
336
|
-
{
|
337
|
-
"name": "item",
|
338
|
-
"type": "Address"
|
339
|
-
},
|
340
|
-
{
|
341
|
-
"name": "index",
|
342
|
-
"type": "number"
|
343
|
-
}
|
344
|
-
]
|
310
|
+
"name": "close",
|
311
|
+
"description": "Emitted when closing ActionSheet",
|
312
|
+
"arguments": []
|
345
313
|
},
|
346
314
|
{
|
347
|
-
"name": "
|
348
|
-
"description": "Emitted when
|
315
|
+
"name": "opened",
|
316
|
+
"description": "Emitted when ActionSheet is opened",
|
317
|
+
"arguments": []
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"name": "closed",
|
321
|
+
"description": "Emitted when ActionSheet is closed",
|
322
|
+
"arguments": []
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"name": "click-overlay",
|
326
|
+
"description": "Emitted when overlay is clicked",
|
349
327
|
"arguments": [
|
350
328
|
{
|
351
|
-
"name": "
|
352
|
-
"type": "
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"name": "index",
|
356
|
-
"type": "number"
|
329
|
+
"name": "event",
|
330
|
+
"type": "MouseEvent"
|
357
331
|
}
|
358
332
|
]
|
359
333
|
}
|
360
334
|
],
|
361
335
|
"attributes": [
|
362
336
|
{
|
363
|
-
"name": "v-model",
|
364
|
-
"default": "
|
365
|
-
"description": "
|
337
|
+
"name": "v-model:show",
|
338
|
+
"default": "`false`",
|
339
|
+
"description": "Whether to show ActionSheet",
|
366
340
|
"options": [],
|
367
341
|
"value": {
|
368
|
-
"type": "
|
342
|
+
"type": "boolean",
|
369
343
|
"kind": "expression"
|
370
344
|
}
|
371
345
|
},
|
372
346
|
{
|
373
|
-
"name": "
|
347
|
+
"name": "actions",
|
374
348
|
"default": "`[]`",
|
375
|
-
"description": "
|
349
|
+
"description": "Options",
|
376
350
|
"options": [],
|
377
351
|
"value": {
|
378
|
-
"type": "
|
352
|
+
"type": "ActionSheetAction[]",
|
379
353
|
"kind": "expression"
|
380
354
|
}
|
381
355
|
},
|
382
356
|
{
|
383
|
-
"name": "
|
384
|
-
"default": "
|
385
|
-
"description": "
|
357
|
+
"name": "title",
|
358
|
+
"default": "-",
|
359
|
+
"description": "Title",
|
386
360
|
"options": [],
|
387
361
|
"value": {
|
388
|
-
"type": "
|
362
|
+
"type": "string",
|
389
363
|
"kind": "expression"
|
390
364
|
}
|
391
365
|
},
|
392
366
|
{
|
393
|
-
"name": "
|
367
|
+
"name": "cancel-text",
|
394
368
|
"default": "-",
|
395
|
-
"description": "
|
369
|
+
"description": "Text of cancel button",
|
396
370
|
"options": [],
|
397
371
|
"value": {
|
398
372
|
"type": "string",
|
@@ -400,177 +374,89 @@
|
|
400
374
|
}
|
401
375
|
},
|
402
376
|
{
|
403
|
-
"name": "
|
404
|
-
"default": "
|
405
|
-
"description": "
|
377
|
+
"name": "description",
|
378
|
+
"default": "-",
|
379
|
+
"description": "Description above the options",
|
406
380
|
"options": [],
|
407
381
|
"value": {
|
408
|
-
"type": "
|
382
|
+
"type": "string",
|
409
383
|
"kind": "expression"
|
410
384
|
}
|
411
385
|
},
|
412
386
|
{
|
413
|
-
"name": "
|
414
|
-
"default": "`
|
415
|
-
"description": "
|
387
|
+
"name": "closeable",
|
388
|
+
"default": "`true`",
|
389
|
+
"description": "Whether to show close icon",
|
416
390
|
"options": [],
|
417
391
|
"value": {
|
418
|
-
"type": "
|
392
|
+
"type": "boolean",
|
419
393
|
"kind": "expression"
|
420
394
|
}
|
421
395
|
},
|
422
396
|
{
|
423
|
-
"name": "
|
424
|
-
"default": "
|
425
|
-
"description": "
|
397
|
+
"name": "close-icon",
|
398
|
+
"default": "`cross`",
|
399
|
+
"description": "Close icon name",
|
426
400
|
"options": [],
|
427
401
|
"value": {
|
428
402
|
"type": "string",
|
429
403
|
"kind": "expression"
|
430
404
|
}
|
431
|
-
}
|
432
|
-
]
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"name": "van-address-edit",
|
436
|
-
"slots": [
|
437
|
-
{
|
438
|
-
"name": "default",
|
439
|
-
"description": "Custom content below postal"
|
440
|
-
}
|
441
|
-
],
|
442
|
-
"events": [
|
443
|
-
{
|
444
|
-
"name": "save",
|
445
|
-
"description": "Emitted when the save button is clicked",
|
446
|
-
"arguments": [
|
447
|
-
{
|
448
|
-
"name": "content",
|
449
|
-
"type": "form content"
|
450
|
-
}
|
451
|
-
]
|
452
405
|
},
|
453
406
|
{
|
454
|
-
"name": "
|
455
|
-
"
|
456
|
-
"
|
457
|
-
{
|
458
|
-
"name": "key",
|
459
|
-
"type": "field name"
|
460
|
-
}
|
461
|
-
]
|
462
|
-
},
|
463
|
-
{
|
464
|
-
"name": "delete",
|
465
|
-
"description": "Emitted when confirming delete",
|
466
|
-
"arguments": [
|
467
|
-
{
|
468
|
-
"name": "content",
|
469
|
-
"type": "form content"
|
470
|
-
}
|
471
|
-
]
|
472
|
-
},
|
473
|
-
{
|
474
|
-
"name": "select-search",
|
475
|
-
"description": "Emitted when a search result is selected",
|
476
|
-
"arguments": [
|
477
|
-
{
|
478
|
-
"name": "value",
|
479
|
-
"type": "search content"
|
480
|
-
}
|
481
|
-
]
|
482
|
-
},
|
483
|
-
{
|
484
|
-
"name": "click-area",
|
485
|
-
"description": "Emitted when the area field is clicked",
|
486
|
-
"arguments": []
|
487
|
-
},
|
488
|
-
{
|
489
|
-
"name": "change-area",
|
490
|
-
"description": "Emitted when area changed",
|
491
|
-
"arguments": [
|
492
|
-
{
|
493
|
-
"name": "values",
|
494
|
-
"type": "area values"
|
495
|
-
}
|
496
|
-
]
|
497
|
-
},
|
498
|
-
{
|
499
|
-
"name": "change-detail",
|
500
|
-
"description": "Emitted when address detail changed",
|
501
|
-
"arguments": [
|
502
|
-
{
|
503
|
-
"name": "value",
|
504
|
-
"type": "address detail"
|
505
|
-
}
|
506
|
-
]
|
507
|
-
},
|
508
|
-
{
|
509
|
-
"name": "change-default",
|
510
|
-
"description": "Emitted when switching default address",
|
511
|
-
"arguments": [
|
512
|
-
{
|
513
|
-
"name": "value",
|
514
|
-
"type": "checked"
|
515
|
-
}
|
516
|
-
]
|
517
|
-
}
|
518
|
-
],
|
519
|
-
"attributes": [
|
520
|
-
{
|
521
|
-
"name": "area-list",
|
522
|
-
"default": "-",
|
523
|
-
"description": "Area List",
|
407
|
+
"name": "duration",
|
408
|
+
"default": "`0.3`",
|
409
|
+
"description": "Transition duration, unit second",
|
524
410
|
"options": [],
|
525
411
|
"value": {
|
526
|
-
"type": "
|
412
|
+
"type": "number | string",
|
527
413
|
"kind": "expression"
|
528
414
|
}
|
529
415
|
},
|
530
416
|
{
|
531
|
-
"name": "
|
532
|
-
"default": "`
|
533
|
-
"description": "
|
417
|
+
"name": "round",
|
418
|
+
"default": "`true`",
|
419
|
+
"description": "Whether to show round corner",
|
534
420
|
"options": [],
|
535
421
|
"value": {
|
536
|
-
"type": "
|
422
|
+
"type": "boolean",
|
537
423
|
"kind": "expression"
|
538
424
|
}
|
539
425
|
},
|
540
426
|
{
|
541
|
-
"name": "
|
542
|
-
"default": "`
|
543
|
-
"description": "
|
427
|
+
"name": "overlay",
|
428
|
+
"default": "`true`",
|
429
|
+
"description": "Whether to show overlay",
|
544
430
|
"options": [],
|
545
431
|
"value": {
|
546
|
-
"type": "
|
432
|
+
"type": "boolean",
|
547
433
|
"kind": "expression"
|
548
434
|
}
|
549
435
|
},
|
550
436
|
{
|
551
|
-
"name": "
|
552
|
-
"default": "
|
553
|
-
"description": "
|
437
|
+
"name": "overlay-class",
|
438
|
+
"default": "-",
|
439
|
+
"description": "Custom overlay class",
|
554
440
|
"options": [],
|
555
441
|
"value": {
|
556
|
-
"type": "
|
442
|
+
"type": "string | Array | object",
|
557
443
|
"kind": "expression"
|
558
444
|
}
|
559
445
|
},
|
560
446
|
{
|
561
|
-
"name": "
|
562
|
-
"default": "
|
563
|
-
"description": "
|
447
|
+
"name": "overlay-style",
|
448
|
+
"default": "-",
|
449
|
+
"description": "Custom overlay style",
|
564
450
|
"options": [],
|
565
451
|
"value": {
|
566
|
-
"type": "
|
452
|
+
"type": "object",
|
567
453
|
"kind": "expression"
|
568
454
|
}
|
569
455
|
},
|
570
456
|
{
|
571
|
-
"name": "
|
572
|
-
"default": "`
|
573
|
-
"description": "Whether to
|
457
|
+
"name": "lock-scroll",
|
458
|
+
"default": "`true`",
|
459
|
+
"description": "Whether to lock background scroll",
|
574
460
|
"options": [],
|
575
461
|
"value": {
|
576
462
|
"type": "boolean",
|
@@ -578,9 +464,9 @@
|
|
578
464
|
}
|
579
465
|
},
|
580
466
|
{
|
581
|
-
"name": "
|
582
|
-
"default": "`
|
583
|
-
"description": "Whether to
|
467
|
+
"name": "lazy-render",
|
468
|
+
"default": "`true`",
|
469
|
+
"description": "Whether to lazy render util appeared",
|
584
470
|
"options": [],
|
585
471
|
"value": {
|
586
472
|
"type": "boolean",
|
@@ -588,9 +474,9 @@
|
|
588
474
|
}
|
589
475
|
},
|
590
476
|
{
|
591
|
-
"name": "
|
592
|
-
"default": "`
|
593
|
-
"description": "Whether to
|
477
|
+
"name": "close-on-popstate",
|
478
|
+
"default": "`true`",
|
479
|
+
"description": "Whether to close when popstate",
|
594
480
|
"options": [],
|
595
481
|
"value": {
|
596
482
|
"type": "boolean",
|
@@ -598,9 +484,9 @@
|
|
598
484
|
}
|
599
485
|
},
|
600
486
|
{
|
601
|
-
"name": "
|
487
|
+
"name": "close-on-click-action",
|
602
488
|
"default": "`false`",
|
603
|
-
"description": "Whether to
|
489
|
+
"description": "Whether to close when an action is clicked",
|
604
490
|
"options": [],
|
605
491
|
"value": {
|
606
492
|
"type": "boolean",
|
@@ -608,9 +494,9 @@
|
|
608
494
|
}
|
609
495
|
},
|
610
496
|
{
|
611
|
-
"name": "
|
497
|
+
"name": "close-on-click-overlay",
|
612
498
|
"default": "`true`",
|
613
|
-
"description": "Whether to
|
499
|
+
"description": "Whether to close when overlay is clicked",
|
614
500
|
"options": [],
|
615
501
|
"value": {
|
616
502
|
"type": "boolean",
|
@@ -618,9 +504,9 @@
|
|
618
504
|
}
|
619
505
|
},
|
620
506
|
{
|
621
|
-
"name": "
|
507
|
+
"name": "safe-area-inset-bottom",
|
622
508
|
"default": "`true`",
|
623
|
-
"description": "Whether to
|
509
|
+
"description": "Whether to enable bottom safe area adaptation",
|
624
510
|
"options": [],
|
625
511
|
"value": {
|
626
512
|
"type": "boolean",
|
@@ -628,112 +514,192 @@
|
|
628
514
|
}
|
629
515
|
},
|
630
516
|
{
|
631
|
-
"name": "
|
632
|
-
"default": "
|
633
|
-
"description": "
|
517
|
+
"name": "teleport",
|
518
|
+
"default": "-",
|
519
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
634
520
|
"options": [],
|
635
521
|
"value": {
|
636
|
-
"type": "
|
522
|
+
"type": "string | Element",
|
637
523
|
"kind": "expression"
|
638
524
|
}
|
639
525
|
},
|
640
526
|
{
|
641
|
-
"name": "
|
642
|
-
"default": "
|
643
|
-
"description": "
|
527
|
+
"name": "before-close",
|
528
|
+
"default": "-",
|
529
|
+
"description": "Callback function before close",
|
644
530
|
"options": [],
|
645
531
|
"value": {
|
646
|
-
"type": "string",
|
532
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
647
533
|
"kind": "expression"
|
648
534
|
}
|
535
|
+
}
|
536
|
+
]
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"name": "van-address-list",
|
540
|
+
"slots": [
|
541
|
+
{
|
542
|
+
"name": "default",
|
543
|
+
"description": "Custom content after list"
|
649
544
|
},
|
650
545
|
{
|
651
|
-
"name": "
|
652
|
-
"
|
653
|
-
"description": "Delete button text",
|
654
|
-
"options": [],
|
655
|
-
"value": {
|
656
|
-
"type": "string",
|
657
|
-
"kind": "expression"
|
658
|
-
}
|
546
|
+
"name": "top",
|
547
|
+
"description": "Custom content before list"
|
659
548
|
},
|
660
549
|
{
|
661
|
-
"name": "
|
662
|
-
"
|
663
|
-
"description": "Detail input rows",
|
664
|
-
"options": [],
|
665
|
-
"value": {
|
666
|
-
"type": "number | string",
|
667
|
-
"kind": "expression"
|
668
|
-
}
|
550
|
+
"name": "item-bottom",
|
551
|
+
"description": "Custom content after list item"
|
669
552
|
},
|
670
553
|
{
|
671
|
-
"name": "
|
672
|
-
"
|
673
|
-
|
554
|
+
"name": "tag",
|
555
|
+
"description": "Custom tag of list item"
|
556
|
+
}
|
557
|
+
],
|
558
|
+
"events": [
|
559
|
+
{
|
560
|
+
"name": "add",
|
561
|
+
"description": "Emitted when the add button is clicked",
|
562
|
+
"arguments": []
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"name": "edit",
|
566
|
+
"description": "Emitted when the edit icon of address is clicked",
|
567
|
+
"arguments": [
|
568
|
+
{
|
569
|
+
"name": "item",
|
570
|
+
"type": "Address"
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"name": "index",
|
574
|
+
"type": "number"
|
575
|
+
}
|
576
|
+
]
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"name": "select",
|
580
|
+
"description": "Emitted when an address is selected",
|
581
|
+
"arguments": [
|
582
|
+
{
|
583
|
+
"name": "item",
|
584
|
+
"type": "Address"
|
585
|
+
},
|
586
|
+
{
|
587
|
+
"name": "index",
|
588
|
+
"type": "number"
|
589
|
+
}
|
590
|
+
]
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"name": "edit-disabled",
|
594
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
595
|
+
"arguments": [
|
596
|
+
{
|
597
|
+
"name": "item",
|
598
|
+
"type": "Address"
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"name": "index",
|
602
|
+
"type": "number"
|
603
|
+
}
|
604
|
+
]
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"name": "select-disabled",
|
608
|
+
"description": "Emitted when a disabled address is selected",
|
609
|
+
"arguments": [
|
610
|
+
{
|
611
|
+
"name": "item",
|
612
|
+
"type": "Address"
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"name": "index",
|
616
|
+
"type": "number"
|
617
|
+
}
|
618
|
+
]
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"name": "click-item",
|
622
|
+
"description": "Emitted when an address item is clicked",
|
623
|
+
"arguments": [
|
624
|
+
{
|
625
|
+
"name": "item",
|
626
|
+
"type": "Address"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"name": "index",
|
630
|
+
"type": "number"
|
631
|
+
}
|
632
|
+
]
|
633
|
+
}
|
634
|
+
],
|
635
|
+
"attributes": [
|
636
|
+
{
|
637
|
+
"name": "v-model",
|
638
|
+
"default": "-",
|
639
|
+
"description": "Id of chosen address",
|
674
640
|
"options": [],
|
675
641
|
"value": {
|
676
|
-
"type": "
|
642
|
+
"type": "string",
|
677
643
|
"kind": "expression"
|
678
644
|
}
|
679
645
|
},
|
680
646
|
{
|
681
|
-
"name": "
|
682
|
-
"default": "`
|
683
|
-
"description": "
|
647
|
+
"name": "list",
|
648
|
+
"default": "`[]`",
|
649
|
+
"description": "Address list",
|
684
650
|
"options": [],
|
685
651
|
"value": {
|
686
|
-
"type": "
|
652
|
+
"type": "Address[]",
|
687
653
|
"kind": "expression"
|
688
654
|
}
|
689
655
|
},
|
690
656
|
{
|
691
|
-
"name": "
|
692
|
-
"default": "`
|
693
|
-
"description": "
|
657
|
+
"name": "disabled-list",
|
658
|
+
"default": "`[]`",
|
659
|
+
"description": "Disabled address list",
|
694
660
|
"options": [],
|
695
661
|
"value": {
|
696
|
-
"type": "
|
662
|
+
"type": "Address[]",
|
697
663
|
"kind": "expression"
|
698
664
|
}
|
699
665
|
},
|
700
666
|
{
|
701
|
-
"name": "
|
667
|
+
"name": "disabled-text",
|
702
668
|
"default": "-",
|
703
|
-
"description": "
|
669
|
+
"description": "Disabled text",
|
704
670
|
"options": [],
|
705
671
|
"value": {
|
706
|
-
"type": "
|
672
|
+
"type": "string",
|
707
673
|
"kind": "expression"
|
708
674
|
}
|
709
675
|
},
|
710
676
|
{
|
711
|
-
"name": "
|
712
|
-
"default": "
|
713
|
-
"description": "
|
677
|
+
"name": "switchable",
|
678
|
+
"default": "`true`",
|
679
|
+
"description": "Whether to allow switch address",
|
714
680
|
"options": [],
|
715
681
|
"value": {
|
716
|
-
"type": "
|
682
|
+
"type": "boolean",
|
717
683
|
"kind": "expression"
|
718
684
|
}
|
719
685
|
},
|
720
686
|
{
|
721
|
-
"name": "
|
722
|
-
"default": "
|
723
|
-
"description": "
|
687
|
+
"name": "add-button-text",
|
688
|
+
"default": "`Add new address`",
|
689
|
+
"description": "Add button text",
|
724
690
|
"options": [],
|
725
691
|
"value": {
|
726
|
-
"type": "
|
692
|
+
"type": "string",
|
727
693
|
"kind": "expression"
|
728
694
|
}
|
729
695
|
},
|
730
696
|
{
|
731
|
-
"name": "
|
697
|
+
"name": "default-tag-text",
|
732
698
|
"default": "-",
|
733
|
-
"description": "
|
699
|
+
"description": "Default tag text",
|
734
700
|
"options": [],
|
735
701
|
"value": {
|
736
|
-
"type": "
|
702
|
+
"type": "string",
|
737
703
|
"kind": "expression"
|
738
704
|
}
|
739
705
|
}
|
@@ -932,73 +898,145 @@
|
|
932
898
|
]
|
933
899
|
},
|
934
900
|
{
|
935
|
-
"name": "van-
|
901
|
+
"name": "van-address-edit",
|
936
902
|
"slots": [
|
937
903
|
{
|
938
904
|
"name": "default",
|
939
|
-
"description": "
|
905
|
+
"description": "Custom content below postal"
|
906
|
+
}
|
907
|
+
],
|
908
|
+
"events": [
|
909
|
+
{
|
910
|
+
"name": "save",
|
911
|
+
"description": "Emitted when the save button is clicked",
|
912
|
+
"arguments": [
|
913
|
+
{
|
914
|
+
"name": "content",
|
915
|
+
"type": "form content"
|
916
|
+
}
|
917
|
+
]
|
940
918
|
},
|
941
919
|
{
|
942
|
-
"name": "
|
943
|
-
"description": "
|
920
|
+
"name": "focus",
|
921
|
+
"description": "Emitted when field is focused",
|
922
|
+
"arguments": [
|
923
|
+
{
|
924
|
+
"name": "key",
|
925
|
+
"type": "field name"
|
926
|
+
}
|
927
|
+
]
|
928
|
+
},
|
929
|
+
{
|
930
|
+
"name": "delete",
|
931
|
+
"description": "Emitted when confirming delete",
|
932
|
+
"arguments": [
|
933
|
+
{
|
934
|
+
"name": "content",
|
935
|
+
"type": "form content"
|
936
|
+
}
|
937
|
+
]
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"name": "select-search",
|
941
|
+
"description": "Emitted when a search result is selected",
|
942
|
+
"arguments": [
|
943
|
+
{
|
944
|
+
"name": "value",
|
945
|
+
"type": "search content"
|
946
|
+
}
|
947
|
+
]
|
948
|
+
},
|
949
|
+
{
|
950
|
+
"name": "click-area",
|
951
|
+
"description": "Emitted when the area field is clicked",
|
952
|
+
"arguments": []
|
953
|
+
},
|
954
|
+
{
|
955
|
+
"name": "change-area",
|
956
|
+
"description": "Emitted when area changed",
|
957
|
+
"arguments": [
|
958
|
+
{
|
959
|
+
"name": "values",
|
960
|
+
"type": "area values"
|
961
|
+
}
|
962
|
+
]
|
963
|
+
},
|
964
|
+
{
|
965
|
+
"name": "change-detail",
|
966
|
+
"description": "Emitted when address detail changed",
|
967
|
+
"arguments": [
|
968
|
+
{
|
969
|
+
"name": "value",
|
970
|
+
"type": "address detail"
|
971
|
+
}
|
972
|
+
]
|
973
|
+
},
|
974
|
+
{
|
975
|
+
"name": "change-default",
|
976
|
+
"description": "Emitted when switching default address",
|
977
|
+
"arguments": [
|
978
|
+
{
|
979
|
+
"name": "value",
|
980
|
+
"type": "checked"
|
981
|
+
}
|
982
|
+
]
|
944
983
|
}
|
945
984
|
],
|
946
|
-
"events": [],
|
947
985
|
"attributes": [
|
948
986
|
{
|
949
|
-
"name": "
|
987
|
+
"name": "area-list",
|
950
988
|
"default": "-",
|
951
|
-
"description": "
|
989
|
+
"description": "Area List",
|
952
990
|
"options": [],
|
953
991
|
"value": {
|
954
|
-
"type": "
|
992
|
+
"type": "object",
|
955
993
|
"kind": "expression"
|
956
994
|
}
|
957
995
|
},
|
958
996
|
{
|
959
|
-
"name": "
|
960
|
-
"default": "
|
961
|
-
"description": "
|
997
|
+
"name": "area-columns-placeholder",
|
998
|
+
"default": "`[]`",
|
999
|
+
"description": "placeholder of area columns",
|
962
1000
|
"options": [],
|
963
1001
|
"value": {
|
964
|
-
"type": "string",
|
1002
|
+
"type": "string[]",
|
965
1003
|
"kind": "expression"
|
966
1004
|
}
|
967
1005
|
},
|
968
1006
|
{
|
969
|
-
"name": "
|
970
|
-
"default": "`
|
971
|
-
"description": "
|
1007
|
+
"name": "area-placeholder",
|
1008
|
+
"default": "`Area`",
|
1009
|
+
"description": "placeholder of area input field",
|
972
1010
|
"options": [],
|
973
1011
|
"value": {
|
974
|
-
"type": "
|
1012
|
+
"type": "string",
|
975
1013
|
"kind": "expression"
|
976
1014
|
}
|
977
1015
|
},
|
978
1016
|
{
|
979
|
-
"name": "
|
980
|
-
"default": "
|
981
|
-
"description": "
|
1017
|
+
"name": "address-info",
|
1018
|
+
"default": "`{}`",
|
1019
|
+
"description": "Address Info",
|
982
1020
|
"options": [],
|
983
1021
|
"value": {
|
984
|
-
"type": "
|
1022
|
+
"type": "AddressEditInfo",
|
985
1023
|
"kind": "expression"
|
986
1024
|
}
|
987
1025
|
},
|
988
1026
|
{
|
989
|
-
"name": "
|
990
|
-
"default": "
|
991
|
-
"description": "
|
1027
|
+
"name": "search-result",
|
1028
|
+
"default": "`[]`",
|
1029
|
+
"description": "Address search result",
|
992
1030
|
"options": [],
|
993
1031
|
"value": {
|
994
|
-
"type": "[
|
1032
|
+
"type": "AddressEditSearchItem[]",
|
995
1033
|
"kind": "expression"
|
996
1034
|
}
|
997
1035
|
},
|
998
1036
|
{
|
999
|
-
"name": "show-
|
1000
|
-
"default": "`
|
1001
|
-
"description": "Whether to show
|
1037
|
+
"name": "show-postal",
|
1038
|
+
"default": "`false`",
|
1039
|
+
"description": "Whether to show postal field",
|
1002
1040
|
"options": [],
|
1003
1041
|
"value": {
|
1004
1042
|
"type": "boolean",
|
@@ -1006,110 +1044,69 @@
|
|
1006
1044
|
}
|
1007
1045
|
},
|
1008
1046
|
{
|
1009
|
-
"name": "
|
1010
|
-
"default": "`
|
1011
|
-
"description": "
|
1047
|
+
"name": "show-delete",
|
1048
|
+
"default": "`false`",
|
1049
|
+
"description": "Whether to show delete button",
|
1012
1050
|
"options": [],
|
1013
1051
|
"value": {
|
1014
|
-
"type": "
|
1052
|
+
"type": "boolean",
|
1015
1053
|
"kind": "expression"
|
1016
1054
|
}
|
1017
|
-
}
|
1018
|
-
]
|
1019
|
-
},
|
1020
|
-
{
|
1021
|
-
"name": "van-button",
|
1022
|
-
"slots": [
|
1023
|
-
{
|
1024
|
-
"name": "default",
|
1025
|
-
"description": "Default slot"
|
1026
|
-
},
|
1027
|
-
{
|
1028
|
-
"name": "icon",
|
1029
|
-
"description": "Custom icon"
|
1030
|
-
},
|
1031
|
-
{
|
1032
|
-
"name": "loading",
|
1033
|
-
"description": "Custom loading icon"
|
1034
|
-
}
|
1035
|
-
],
|
1036
|
-
"events": [
|
1037
|
-
{
|
1038
|
-
"name": "click",
|
1039
|
-
"description": "Emitted when button is clicked and not disabled or loading",
|
1040
|
-
"arguments": [
|
1041
|
-
{
|
1042
|
-
"name": "event",
|
1043
|
-
"type": "MouseEvent"
|
1044
|
-
}
|
1045
|
-
]
|
1046
1055
|
},
|
1047
1056
|
{
|
1048
|
-
"name": "
|
1049
|
-
"
|
1050
|
-
"
|
1051
|
-
{
|
1052
|
-
"name": "event",
|
1053
|
-
"type": "TouchEvent"
|
1054
|
-
}
|
1055
|
-
]
|
1056
|
-
}
|
1057
|
-
],
|
1058
|
-
"attributes": [
|
1059
|
-
{
|
1060
|
-
"name": "type",
|
1061
|
-
"default": "`default`",
|
1062
|
-
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1057
|
+
"name": "show-set-default",
|
1058
|
+
"default": "`false`",
|
1059
|
+
"description": "Whether to show default address switch",
|
1063
1060
|
"options": [],
|
1064
1061
|
"value": {
|
1065
|
-
"type": "
|
1062
|
+
"type": "boolean",
|
1066
1063
|
"kind": "expression"
|
1067
1064
|
}
|
1068
1065
|
},
|
1069
1066
|
{
|
1070
|
-
"name": "
|
1071
|
-
"default": "`
|
1072
|
-
"description": "
|
1067
|
+
"name": "show-search-result",
|
1068
|
+
"default": "`false`",
|
1069
|
+
"description": "Whether to show address search result",
|
1073
1070
|
"options": [],
|
1074
1071
|
"value": {
|
1075
|
-
"type": "
|
1072
|
+
"type": "boolean",
|
1076
1073
|
"kind": "expression"
|
1077
1074
|
}
|
1078
1075
|
},
|
1079
1076
|
{
|
1080
|
-
"name": "
|
1081
|
-
"default": "
|
1082
|
-
"description": "
|
1077
|
+
"name": "show-area",
|
1078
|
+
"default": "`true`",
|
1079
|
+
"description": "Whether to show area cell",
|
1083
1080
|
"options": [],
|
1084
1081
|
"value": {
|
1085
|
-
"type": "
|
1082
|
+
"type": "boolean",
|
1086
1083
|
"kind": "expression"
|
1087
1084
|
}
|
1088
1085
|
},
|
1089
1086
|
{
|
1090
|
-
"name": "
|
1091
|
-
"default": "
|
1092
|
-
"description": "
|
1087
|
+
"name": "show-detail",
|
1088
|
+
"default": "`true`",
|
1089
|
+
"description": "Whether to show detail field",
|
1093
1090
|
"options": [],
|
1094
1091
|
"value": {
|
1095
|
-
"type": "
|
1092
|
+
"type": "boolean",
|
1096
1093
|
"kind": "expression"
|
1097
1094
|
}
|
1098
1095
|
},
|
1099
1096
|
{
|
1100
|
-
"name": "
|
1101
|
-
"default": "
|
1102
|
-
"description": "
|
1097
|
+
"name": "disable-area",
|
1098
|
+
"default": "`false`",
|
1099
|
+
"description": "Whether to disable area select",
|
1103
1100
|
"options": [],
|
1104
1101
|
"value": {
|
1105
|
-
"type": "
|
1102
|
+
"type": "boolean",
|
1106
1103
|
"kind": "expression"
|
1107
1104
|
}
|
1108
1105
|
},
|
1109
1106
|
{
|
1110
|
-
"name": "
|
1111
|
-
"default": "`
|
1112
|
-
"description": "
|
1107
|
+
"name": "save-button-text",
|
1108
|
+
"default": "`Save`",
|
1109
|
+
"description": "Save button text",
|
1113
1110
|
"options": [],
|
1114
1111
|
"value": {
|
1115
1112
|
"type": "string",
|
@@ -1117,9 +1114,9 @@
|
|
1117
1114
|
}
|
1118
1115
|
},
|
1119
1116
|
{
|
1120
|
-
"name": "
|
1121
|
-
"default": "`
|
1122
|
-
"description": "
|
1117
|
+
"name": "delete-button-text",
|
1118
|
+
"default": "`Delete`",
|
1119
|
+
"description": "Delete button text",
|
1123
1120
|
"options": [],
|
1124
1121
|
"value": {
|
1125
1122
|
"type": "string",
|
@@ -1127,29 +1124,29 @@
|
|
1127
1124
|
}
|
1128
1125
|
},
|
1129
1126
|
{
|
1130
|
-
"name": "
|
1131
|
-
"default": "`
|
1132
|
-
"description": "
|
1127
|
+
"name": "detail-rows",
|
1128
|
+
"default": "`1`",
|
1129
|
+
"description": "Detail input rows",
|
1133
1130
|
"options": [],
|
1134
1131
|
"value": {
|
1135
|
-
"type": "string",
|
1132
|
+
"type": "number | string",
|
1136
1133
|
"kind": "expression"
|
1137
1134
|
}
|
1138
1135
|
},
|
1139
1136
|
{
|
1140
|
-
"name": "
|
1141
|
-
"default": "`
|
1142
|
-
"description": "
|
1137
|
+
"name": "detail-maxlength",
|
1138
|
+
"default": "`200`",
|
1139
|
+
"description": "Detail maxlength",
|
1143
1140
|
"options": [],
|
1144
1141
|
"value": {
|
1145
|
-
"type": "string",
|
1142
|
+
"type": "number | string",
|
1146
1143
|
"kind": "expression"
|
1147
1144
|
}
|
1148
1145
|
},
|
1149
1146
|
{
|
1150
|
-
"name": "
|
1147
|
+
"name": "is-saving",
|
1151
1148
|
"default": "`false`",
|
1152
|
-
"description": "Whether to
|
1149
|
+
"description": "Whether to show save button loading status",
|
1153
1150
|
"options": [],
|
1154
1151
|
"value": {
|
1155
1152
|
"type": "boolean",
|
@@ -1157,9 +1154,9 @@
|
|
1157
1154
|
}
|
1158
1155
|
},
|
1159
1156
|
{
|
1160
|
-
"name": "
|
1157
|
+
"name": "is-deleting",
|
1161
1158
|
"default": "`false`",
|
1162
|
-
"description": "Whether to
|
1159
|
+
"description": "Whether to show delete button loading status",
|
1163
1160
|
"options": [],
|
1164
1161
|
"value": {
|
1165
1162
|
"type": "boolean",
|
@@ -1167,59 +1164,75 @@
|
|
1167
1164
|
}
|
1168
1165
|
},
|
1169
1166
|
{
|
1170
|
-
"name": "
|
1171
|
-
"default": "
|
1172
|
-
"description": "
|
1167
|
+
"name": "tel-validator",
|
1168
|
+
"default": "-",
|
1169
|
+
"description": "The method to validate tel",
|
1173
1170
|
"options": [],
|
1174
1171
|
"value": {
|
1175
|
-
"type": "boolean",
|
1172
|
+
"type": "(tel: string) => boolean",
|
1176
1173
|
"kind": "expression"
|
1177
1174
|
}
|
1178
1175
|
},
|
1179
1176
|
{
|
1180
|
-
"name": "
|
1181
|
-
"default": "
|
1182
|
-
"description": "
|
1177
|
+
"name": "tel-maxlength",
|
1178
|
+
"default": "-",
|
1179
|
+
"description": "Tel maxlength",
|
1183
1180
|
"options": [],
|
1184
1181
|
"value": {
|
1185
|
-
"type": "
|
1182
|
+
"type": "number | string",
|
1186
1183
|
"kind": "expression"
|
1187
1184
|
}
|
1188
1185
|
},
|
1189
1186
|
{
|
1190
|
-
"name": "
|
1191
|
-
"default": "
|
1192
|
-
"description": "
|
1187
|
+
"name": "postal-validator",
|
1188
|
+
"default": "-",
|
1189
|
+
"description": "The method to validate postal",
|
1193
1190
|
"options": [],
|
1194
1191
|
"value": {
|
1195
|
-
"type": "boolean",
|
1192
|
+
"type": "(tel: string) => boolean",
|
1196
1193
|
"kind": "expression"
|
1197
1194
|
}
|
1198
1195
|
},
|
1199
1196
|
{
|
1200
|
-
"name": "
|
1201
|
-
"default": "
|
1202
|
-
"description": "
|
1197
|
+
"name": "validator",
|
1198
|
+
"default": "-",
|
1199
|
+
"description": "Custom validator",
|
1203
1200
|
"options": [],
|
1204
1201
|
"value": {
|
1205
|
-
"type": "
|
1202
|
+
"type": "(key, val) => string",
|
1206
1203
|
"kind": "expression"
|
1207
1204
|
}
|
1205
|
+
}
|
1206
|
+
]
|
1207
|
+
},
|
1208
|
+
{
|
1209
|
+
"name": "van-badge",
|
1210
|
+
"slots": [
|
1211
|
+
{
|
1212
|
+
"name": "default",
|
1213
|
+
"description": "Default slot"
|
1208
1214
|
},
|
1209
1215
|
{
|
1210
|
-
"name": "
|
1216
|
+
"name": "content",
|
1217
|
+
"description": "Custom badge content"
|
1218
|
+
}
|
1219
|
+
],
|
1220
|
+
"events": [],
|
1221
|
+
"attributes": [
|
1222
|
+
{
|
1223
|
+
"name": "content",
|
1211
1224
|
"default": "-",
|
1212
|
-
"description": "
|
1225
|
+
"description": "Badge content",
|
1213
1226
|
"options": [],
|
1214
1227
|
"value": {
|
1215
|
-
"type": "string",
|
1228
|
+
"type": "number | string",
|
1216
1229
|
"kind": "expression"
|
1217
1230
|
}
|
1218
1231
|
},
|
1219
1232
|
{
|
1220
|
-
"name": "
|
1221
|
-
"default": "`
|
1222
|
-
"description": "
|
1233
|
+
"name": "color",
|
1234
|
+
"default": "`#ee0a24`",
|
1235
|
+
"description": "Background color",
|
1223
1236
|
"options": [],
|
1224
1237
|
"value": {
|
1225
1238
|
"type": "string",
|
@@ -1227,143 +1240,120 @@
|
|
1227
1240
|
}
|
1228
1241
|
},
|
1229
1242
|
{
|
1230
|
-
"name": "
|
1231
|
-
"default": "`
|
1232
|
-
"description": "
|
1243
|
+
"name": "dot",
|
1244
|
+
"default": "`false`",
|
1245
|
+
"description": "Whether to show dot",
|
1233
1246
|
"options": [],
|
1234
1247
|
"value": {
|
1235
|
-
"type": "
|
1248
|
+
"type": "boolean",
|
1236
1249
|
"kind": "expression"
|
1237
1250
|
}
|
1238
1251
|
},
|
1239
1252
|
{
|
1240
|
-
"name": "
|
1253
|
+
"name": "max",
|
1241
1254
|
"default": "-",
|
1242
|
-
"description": "
|
1255
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1243
1256
|
"options": [],
|
1244
1257
|
"value": {
|
1245
|
-
"type": "string",
|
1258
|
+
"type": "number | string",
|
1246
1259
|
"kind": "expression"
|
1247
1260
|
}
|
1248
1261
|
},
|
1249
1262
|
{
|
1250
|
-
"name": "
|
1263
|
+
"name": "offset",
|
1251
1264
|
"default": "-",
|
1252
|
-
"description": "
|
1265
|
+
"description": "Offset of badge dot",
|
1253
1266
|
"options": [],
|
1254
1267
|
"value": {
|
1255
|
-
"type": "string |
|
1268
|
+
"type": "[number | string, number | string]",
|
1256
1269
|
"kind": "expression"
|
1257
1270
|
}
|
1258
1271
|
},
|
1259
1272
|
{
|
1260
|
-
"name": "
|
1261
|
-
"default": "`
|
1262
|
-
"description": "
|
1273
|
+
"name": "show-zero",
|
1274
|
+
"default": "`true`",
|
1275
|
+
"description": "Whether to show badge when content is zero",
|
1263
1276
|
"options": [],
|
1264
1277
|
"value": {
|
1265
1278
|
"type": "boolean",
|
1266
1279
|
"kind": "expression"
|
1267
1280
|
}
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"name": "position",
|
1284
|
+
"default": "`top-right`",
|
1285
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1286
|
+
"options": [],
|
1287
|
+
"value": {
|
1288
|
+
"type": "string",
|
1289
|
+
"kind": "expression"
|
1290
|
+
}
|
1268
1291
|
}
|
1269
1292
|
]
|
1270
1293
|
},
|
1271
1294
|
{
|
1272
|
-
"name": "van-
|
1295
|
+
"name": "van-button",
|
1273
1296
|
"slots": [
|
1274
1297
|
{
|
1275
1298
|
"name": "default",
|
1276
|
-
"description": "
|
1277
|
-
},
|
1278
|
-
{
|
1279
|
-
"name": "description",
|
1280
|
-
"description": "Custom description above the options"
|
1299
|
+
"description": "Default slot"
|
1281
1300
|
},
|
1282
1301
|
{
|
1283
|
-
"name": "
|
1284
|
-
"description": "Custom
|
1302
|
+
"name": "icon",
|
1303
|
+
"description": "Custom icon"
|
1285
1304
|
},
|
1286
1305
|
{
|
1287
|
-
"name": "
|
1288
|
-
"description": "Custom
|
1306
|
+
"name": "loading",
|
1307
|
+
"description": "Custom loading icon"
|
1289
1308
|
}
|
1290
1309
|
],
|
1291
1310
|
"events": [
|
1292
1311
|
{
|
1293
|
-
"name": "
|
1294
|
-
"description": "Emitted when
|
1312
|
+
"name": "click",
|
1313
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1295
1314
|
"arguments": [
|
1296
1315
|
{
|
1297
|
-
"name": "
|
1298
|
-
"type": "
|
1299
|
-
},
|
1300
|
-
{
|
1301
|
-
"name": "index",
|
1302
|
-
"type": "number"
|
1316
|
+
"name": "event",
|
1317
|
+
"type": "MouseEvent"
|
1303
1318
|
}
|
1304
1319
|
]
|
1305
1320
|
},
|
1306
1321
|
{
|
1307
|
-
"name": "
|
1308
|
-
"description": "Emitted when
|
1309
|
-
"arguments": []
|
1310
|
-
},
|
1311
|
-
{
|
1312
|
-
"name": "open",
|
1313
|
-
"description": "Emitted when opening ActionSheet",
|
1314
|
-
"arguments": []
|
1315
|
-
},
|
1316
|
-
{
|
1317
|
-
"name": "close",
|
1318
|
-
"description": "Emitted when closing ActionSheet",
|
1319
|
-
"arguments": []
|
1320
|
-
},
|
1321
|
-
{
|
1322
|
-
"name": "opened",
|
1323
|
-
"description": "Emitted when ActionSheet is opened",
|
1324
|
-
"arguments": []
|
1325
|
-
},
|
1326
|
-
{
|
1327
|
-
"name": "closed",
|
1328
|
-
"description": "Emitted when ActionSheet is closed",
|
1329
|
-
"arguments": []
|
1330
|
-
},
|
1331
|
-
{
|
1332
|
-
"name": "click-overlay",
|
1333
|
-
"description": "Emitted when overlay is clicked",
|
1322
|
+
"name": "touchstart",
|
1323
|
+
"description": "Emitted when button is touched",
|
1334
1324
|
"arguments": [
|
1335
1325
|
{
|
1336
1326
|
"name": "event",
|
1337
|
-
"type": "
|
1327
|
+
"type": "TouchEvent"
|
1338
1328
|
}
|
1339
1329
|
]
|
1340
1330
|
}
|
1341
1331
|
],
|
1342
1332
|
"attributes": [
|
1343
1333
|
{
|
1344
|
-
"name": "
|
1345
|
-
"default": "`
|
1346
|
-
"description": "
|
1334
|
+
"name": "type",
|
1335
|
+
"default": "`default`",
|
1336
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1347
1337
|
"options": [],
|
1348
1338
|
"value": {
|
1349
|
-
"type": "
|
1339
|
+
"type": "string",
|
1350
1340
|
"kind": "expression"
|
1351
1341
|
}
|
1352
1342
|
},
|
1353
1343
|
{
|
1354
|
-
"name": "
|
1355
|
-
"default": "`
|
1356
|
-
"description": "
|
1344
|
+
"name": "size",
|
1345
|
+
"default": "`normal`",
|
1346
|
+
"description": "Can be set to `large` `small` `mini`",
|
1357
1347
|
"options": [],
|
1358
1348
|
"value": {
|
1359
|
-
"type": "
|
1349
|
+
"type": "string",
|
1360
1350
|
"kind": "expression"
|
1361
1351
|
}
|
1362
1352
|
},
|
1363
1353
|
{
|
1364
|
-
"name": "
|
1354
|
+
"name": "text",
|
1365
1355
|
"default": "-",
|
1366
|
-
"description": "
|
1356
|
+
"description": "Text",
|
1367
1357
|
"options": [],
|
1368
1358
|
"value": {
|
1369
1359
|
"type": "string",
|
@@ -1371,9 +1361,9 @@
|
|
1371
1361
|
}
|
1372
1362
|
},
|
1373
1363
|
{
|
1374
|
-
"name": "
|
1364
|
+
"name": "color",
|
1375
1365
|
"default": "-",
|
1376
|
-
"description": "
|
1366
|
+
"description": "Color, support linear-gradient",
|
1377
1367
|
"options": [],
|
1378
1368
|
"value": {
|
1379
1369
|
"type": "string",
|
@@ -1381,9 +1371,9 @@
|
|
1381
1371
|
}
|
1382
1372
|
},
|
1383
1373
|
{
|
1384
|
-
"name": "
|
1374
|
+
"name": "icon",
|
1385
1375
|
"default": "-",
|
1386
|
-
"description": "
|
1376
|
+
"description": "Left Icon",
|
1387
1377
|
"options": [],
|
1388
1378
|
"value": {
|
1389
1379
|
"type": "string",
|
@@ -1391,19 +1381,19 @@
|
|
1391
1381
|
}
|
1392
1382
|
},
|
1393
1383
|
{
|
1394
|
-
"name": "
|
1395
|
-
"default": "`
|
1396
|
-
"description": "
|
1384
|
+
"name": "icon-prefix",
|
1385
|
+
"default": "`van-icon`",
|
1386
|
+
"description": "Icon className prefix",
|
1397
1387
|
"options": [],
|
1398
1388
|
"value": {
|
1399
|
-
"type": "
|
1389
|
+
"type": "string",
|
1400
1390
|
"kind": "expression"
|
1401
1391
|
}
|
1402
1392
|
},
|
1403
1393
|
{
|
1404
|
-
"name": "
|
1405
|
-
"default": "`
|
1406
|
-
"description": "
|
1394
|
+
"name": "icon-position",
|
1395
|
+
"default": "`left`",
|
1396
|
+
"description": "Icon position, can be set to `right`",
|
1407
1397
|
"options": [],
|
1408
1398
|
"value": {
|
1409
1399
|
"type": "string",
|
@@ -1411,19 +1401,29 @@
|
|
1411
1401
|
}
|
1412
1402
|
},
|
1413
1403
|
{
|
1414
|
-
"name": "
|
1415
|
-
"default": "`
|
1416
|
-
"description": "
|
1404
|
+
"name": "tag",
|
1405
|
+
"default": "`button`",
|
1406
|
+
"description": "HTML Tag",
|
1417
1407
|
"options": [],
|
1418
1408
|
"value": {
|
1419
|
-
"type": "
|
1409
|
+
"type": "string",
|
1420
1410
|
"kind": "expression"
|
1421
1411
|
}
|
1422
1412
|
},
|
1423
1413
|
{
|
1424
|
-
"name": "
|
1425
|
-
"default": "`
|
1426
|
-
"description": "
|
1414
|
+
"name": "native-type",
|
1415
|
+
"default": "`button`",
|
1416
|
+
"description": "Native Type Attribute",
|
1417
|
+
"options": [],
|
1418
|
+
"value": {
|
1419
|
+
"type": "string",
|
1420
|
+
"kind": "expression"
|
1421
|
+
}
|
1422
|
+
},
|
1423
|
+
{
|
1424
|
+
"name": "plain",
|
1425
|
+
"default": "`false`",
|
1426
|
+
"description": "Whether to be plain button",
|
1427
1427
|
"options": [],
|
1428
1428
|
"value": {
|
1429
1429
|
"type": "boolean",
|
@@ -1431,9 +1431,9 @@
|
|
1431
1431
|
}
|
1432
1432
|
},
|
1433
1433
|
{
|
1434
|
-
"name": "
|
1435
|
-
"default": "`
|
1436
|
-
"description": "Whether to
|
1434
|
+
"name": "block",
|
1435
|
+
"default": "`false`",
|
1436
|
+
"description": "Whether to set display block",
|
1437
1437
|
"options": [],
|
1438
1438
|
"value": {
|
1439
1439
|
"type": "boolean",
|
@@ -1441,29 +1441,29 @@
|
|
1441
1441
|
}
|
1442
1442
|
},
|
1443
1443
|
{
|
1444
|
-
"name": "
|
1445
|
-
"default": "
|
1446
|
-
"description": "
|
1444
|
+
"name": "round",
|
1445
|
+
"default": "`false`",
|
1446
|
+
"description": "Whether to be round button",
|
1447
1447
|
"options": [],
|
1448
1448
|
"value": {
|
1449
|
-
"type": "
|
1449
|
+
"type": "boolean",
|
1450
1450
|
"kind": "expression"
|
1451
1451
|
}
|
1452
1452
|
},
|
1453
1453
|
{
|
1454
|
-
"name": "
|
1455
|
-
"default": "
|
1456
|
-
"description": "
|
1454
|
+
"name": "square",
|
1455
|
+
"default": "`false`",
|
1456
|
+
"description": "Whether to be square button",
|
1457
1457
|
"options": [],
|
1458
1458
|
"value": {
|
1459
|
-
"type": "
|
1459
|
+
"type": "boolean",
|
1460
1460
|
"kind": "expression"
|
1461
1461
|
}
|
1462
1462
|
},
|
1463
1463
|
{
|
1464
|
-
"name": "
|
1465
|
-
"default": "`
|
1466
|
-
"description": "Whether to
|
1464
|
+
"name": "disabled",
|
1465
|
+
"default": "`false`",
|
1466
|
+
"description": "Whether to disable button",
|
1467
1467
|
"options": [],
|
1468
1468
|
"value": {
|
1469
1469
|
"type": "boolean",
|
@@ -1471,9 +1471,9 @@
|
|
1471
1471
|
}
|
1472
1472
|
},
|
1473
1473
|
{
|
1474
|
-
"name": "
|
1475
|
-
"default": "`
|
1476
|
-
"description": "Whether to
|
1474
|
+
"name": "loading",
|
1475
|
+
"default": "`false`",
|
1476
|
+
"description": "Whether to show loading status",
|
1477
1477
|
"options": [],
|
1478
1478
|
"value": {
|
1479
1479
|
"type": "boolean",
|
@@ -1481,62 +1481,62 @@
|
|
1481
1481
|
}
|
1482
1482
|
},
|
1483
1483
|
{
|
1484
|
-
"name": "
|
1485
|
-
"default": "
|
1486
|
-
"description": "
|
1484
|
+
"name": "loading-text",
|
1485
|
+
"default": "-",
|
1486
|
+
"description": "Loading text",
|
1487
1487
|
"options": [],
|
1488
1488
|
"value": {
|
1489
|
-
"type": "
|
1489
|
+
"type": "string",
|
1490
1490
|
"kind": "expression"
|
1491
1491
|
}
|
1492
1492
|
},
|
1493
1493
|
{
|
1494
|
-
"name": "
|
1495
|
-
"default": "`
|
1496
|
-
"description": "
|
1494
|
+
"name": "loading-type",
|
1495
|
+
"default": "`circular`",
|
1496
|
+
"description": "Loading type, can be set to `spinner`",
|
1497
1497
|
"options": [],
|
1498
1498
|
"value": {
|
1499
|
-
"type": "
|
1499
|
+
"type": "string",
|
1500
1500
|
"kind": "expression"
|
1501
1501
|
}
|
1502
1502
|
},
|
1503
1503
|
{
|
1504
|
-
"name": "
|
1505
|
-
"default": "`
|
1506
|
-
"description": "
|
1504
|
+
"name": "loading-size",
|
1505
|
+
"default": "`20px`",
|
1506
|
+
"description": "Loading icon size",
|
1507
1507
|
"options": [],
|
1508
1508
|
"value": {
|
1509
|
-
"type": "
|
1509
|
+
"type": "number | string",
|
1510
1510
|
"kind": "expression"
|
1511
1511
|
}
|
1512
1512
|
},
|
1513
1513
|
{
|
1514
|
-
"name": "
|
1515
|
-
"default": "
|
1516
|
-
"description": "
|
1514
|
+
"name": "url",
|
1515
|
+
"default": "-",
|
1516
|
+
"description": "Link URL",
|
1517
1517
|
"options": [],
|
1518
1518
|
"value": {
|
1519
|
-
"type": "
|
1519
|
+
"type": "string",
|
1520
1520
|
"kind": "expression"
|
1521
1521
|
}
|
1522
1522
|
},
|
1523
1523
|
{
|
1524
|
-
"name": "
|
1524
|
+
"name": "to",
|
1525
1525
|
"default": "-",
|
1526
|
-
"description": "
|
1526
|
+
"description": "Target route of the link, same as using vue-router",
|
1527
1527
|
"options": [],
|
1528
1528
|
"value": {
|
1529
|
-
"type": "string |
|
1529
|
+
"type": "string | object",
|
1530
1530
|
"kind": "expression"
|
1531
1531
|
}
|
1532
1532
|
},
|
1533
1533
|
{
|
1534
|
-
"name": "
|
1535
|
-
"default": "
|
1536
|
-
"description": "
|
1534
|
+
"name": "replace",
|
1535
|
+
"default": "`false`",
|
1536
|
+
"description": "If true, the navigation will not leave a history record",
|
1537
1537
|
"options": [],
|
1538
1538
|
"value": {
|
1539
|
-
"type": "
|
1539
|
+
"type": "boolean",
|
1540
1540
|
"kind": "expression"
|
1541
1541
|
}
|
1542
1542
|
}
|
@@ -2254,19 +2254,224 @@
|
|
2254
2254
|
}
|
2255
2255
|
},
|
2256
2256
|
{
|
2257
|
-
"name": "active-color",
|
2258
|
-
"default": "`#ee0a24`",
|
2259
|
-
"description": "Active color",
|
2257
|
+
"name": "active-color",
|
2258
|
+
"default": "`#ee0a24`",
|
2259
|
+
"description": "Active color",
|
2260
|
+
"options": [],
|
2261
|
+
"value": {
|
2262
|
+
"type": "string",
|
2263
|
+
"kind": "expression"
|
2264
|
+
}
|
2265
|
+
},
|
2266
|
+
{
|
2267
|
+
"name": "swipeable",
|
2268
|
+
"default": "`false`",
|
2269
|
+
"description": "Whether to enable gestures to slide left and right",
|
2270
|
+
"options": [],
|
2271
|
+
"value": {
|
2272
|
+
"type": "boolean",
|
2273
|
+
"kind": "expression"
|
2274
|
+
}
|
2275
|
+
},
|
2276
|
+
{
|
2277
|
+
"name": "closeable",
|
2278
|
+
"default": "`true`",
|
2279
|
+
"description": "Whether to show close icon",
|
2280
|
+
"options": [],
|
2281
|
+
"value": {
|
2282
|
+
"type": "boolean",
|
2283
|
+
"kind": "expression"
|
2284
|
+
}
|
2285
|
+
},
|
2286
|
+
{
|
2287
|
+
"name": "show-header",
|
2288
|
+
"default": "`true`",
|
2289
|
+
"description": "Whether to show header",
|
2290
|
+
"options": [],
|
2291
|
+
"value": {
|
2292
|
+
"type": "boolean",
|
2293
|
+
"kind": "expression"
|
2294
|
+
}
|
2295
|
+
},
|
2296
|
+
{
|
2297
|
+
"name": "close-icon",
|
2298
|
+
"default": "`cross`",
|
2299
|
+
"description": "Close icon name",
|
2300
|
+
"options": [],
|
2301
|
+
"value": {
|
2302
|
+
"type": "string",
|
2303
|
+
"kind": "expression"
|
2304
|
+
}
|
2305
|
+
},
|
2306
|
+
{
|
2307
|
+
"name": "field-names",
|
2308
|
+
"default": "`{ text: 'text', value: 'value', children: 'children' }`",
|
2309
|
+
"description": "Custom the fields of options",
|
2310
|
+
"options": [],
|
2311
|
+
"value": {
|
2312
|
+
"type": "object",
|
2313
|
+
"kind": "expression"
|
2314
|
+
}
|
2315
|
+
}
|
2316
|
+
]
|
2317
|
+
},
|
2318
|
+
{
|
2319
|
+
"name": "van-checkbox",
|
2320
|
+
"slots": [
|
2321
|
+
{
|
2322
|
+
"name": "default",
|
2323
|
+
"description": "Custom label"
|
2324
|
+
},
|
2325
|
+
{
|
2326
|
+
"name": "icon",
|
2327
|
+
"description": "Custom icon"
|
2328
|
+
}
|
2329
|
+
],
|
2330
|
+
"events": [
|
2331
|
+
{
|
2332
|
+
"name": "change",
|
2333
|
+
"description": "Emitted when value changed",
|
2334
|
+
"arguments": [
|
2335
|
+
{
|
2336
|
+
"name": "checked",
|
2337
|
+
"type": "boolean"
|
2338
|
+
}
|
2339
|
+
]
|
2340
|
+
},
|
2341
|
+
{
|
2342
|
+
"name": "click",
|
2343
|
+
"description": "Emitted when the checkbox is clicked",
|
2344
|
+
"arguments": [
|
2345
|
+
{
|
2346
|
+
"name": "event",
|
2347
|
+
"type": "MouseEvent"
|
2348
|
+
}
|
2349
|
+
]
|
2350
|
+
}
|
2351
|
+
],
|
2352
|
+
"attributes": [
|
2353
|
+
{
|
2354
|
+
"name": "v-model",
|
2355
|
+
"default": "`false`",
|
2356
|
+
"description": "Check status",
|
2357
|
+
"options": [],
|
2358
|
+
"value": {
|
2359
|
+
"type": "boolean",
|
2360
|
+
"kind": "expression"
|
2361
|
+
}
|
2362
|
+
},
|
2363
|
+
{
|
2364
|
+
"name": "name",
|
2365
|
+
"default": "-",
|
2366
|
+
"description": "Checkbox name, usually a unique string or number",
|
2367
|
+
"options": [],
|
2368
|
+
"value": {
|
2369
|
+
"type": "any",
|
2370
|
+
"kind": "expression"
|
2371
|
+
}
|
2372
|
+
},
|
2373
|
+
{
|
2374
|
+
"name": "shape",
|
2375
|
+
"default": "`round`",
|
2376
|
+
"description": "Can be set to `square`",
|
2377
|
+
"options": [],
|
2378
|
+
"value": {
|
2379
|
+
"type": "string",
|
2380
|
+
"kind": "expression"
|
2381
|
+
}
|
2382
|
+
},
|
2383
|
+
{
|
2384
|
+
"name": "disabled",
|
2385
|
+
"default": "`false`",
|
2386
|
+
"description": "Disable checkbox",
|
2387
|
+
"options": [],
|
2388
|
+
"value": {
|
2389
|
+
"type": "boolean",
|
2390
|
+
"kind": "expression"
|
2391
|
+
}
|
2392
|
+
},
|
2393
|
+
{
|
2394
|
+
"name": "label-disabled",
|
2395
|
+
"default": "`false`",
|
2396
|
+
"description": "Whether to disable label click",
|
2397
|
+
"options": [],
|
2398
|
+
"value": {
|
2399
|
+
"type": "boolean",
|
2400
|
+
"kind": "expression"
|
2401
|
+
}
|
2402
|
+
},
|
2403
|
+
{
|
2404
|
+
"name": "label-position",
|
2405
|
+
"default": "`right`",
|
2406
|
+
"description": "Can be set to `left`",
|
2407
|
+
"options": [],
|
2408
|
+
"value": {
|
2409
|
+
"type": "string",
|
2410
|
+
"kind": "expression"
|
2411
|
+
}
|
2412
|
+
},
|
2413
|
+
{
|
2414
|
+
"name": "icon-size",
|
2415
|
+
"default": "`20px`",
|
2416
|
+
"description": "Icon size",
|
2417
|
+
"options": [],
|
2418
|
+
"value": {
|
2419
|
+
"type": "number | string",
|
2420
|
+
"kind": "expression"
|
2421
|
+
}
|
2422
|
+
},
|
2423
|
+
{
|
2424
|
+
"name": "checked-color",
|
2425
|
+
"default": "`#1989fa`",
|
2426
|
+
"description": "Checked color",
|
2427
|
+
"options": [],
|
2428
|
+
"value": {
|
2429
|
+
"type": "string",
|
2430
|
+
"kind": "expression"
|
2431
|
+
}
|
2432
|
+
},
|
2433
|
+
{
|
2434
|
+
"name": "bind-group",
|
2435
|
+
"default": "`true`",
|
2436
|
+
"description": "Whether to bind with CheckboxGroup",
|
2437
|
+
"options": [],
|
2438
|
+
"value": {
|
2439
|
+
"type": "boolean",
|
2440
|
+
"kind": "expression"
|
2441
|
+
}
|
2442
|
+
}
|
2443
|
+
]
|
2444
|
+
},
|
2445
|
+
{
|
2446
|
+
"name": "van-checkbox-group",
|
2447
|
+
"slots": [],
|
2448
|
+
"events": [
|
2449
|
+
{
|
2450
|
+
"name": "change",
|
2451
|
+
"description": "Emitted when value changed",
|
2452
|
+
"arguments": [
|
2453
|
+
{
|
2454
|
+
"name": "names",
|
2455
|
+
"type": "any[]"
|
2456
|
+
}
|
2457
|
+
]
|
2458
|
+
}
|
2459
|
+
],
|
2460
|
+
"attributes": [
|
2461
|
+
{
|
2462
|
+
"name": "v-model",
|
2463
|
+
"default": "-",
|
2464
|
+
"description": "Names of all checked checkboxes",
|
2260
2465
|
"options": [],
|
2261
2466
|
"value": {
|
2262
|
-
"type": "
|
2467
|
+
"type": "any[]",
|
2263
2468
|
"kind": "expression"
|
2264
2469
|
}
|
2265
2470
|
},
|
2266
2471
|
{
|
2267
|
-
"name": "
|
2472
|
+
"name": "disabled",
|
2268
2473
|
"default": "`false`",
|
2269
|
-
"description": "Whether to
|
2474
|
+
"description": "Whether to disable all checkboxes",
|
2270
2475
|
"options": [],
|
2271
2476
|
"value": {
|
2272
2477
|
"type": "boolean",
|
@@ -2274,42 +2479,42 @@
|
|
2274
2479
|
}
|
2275
2480
|
},
|
2276
2481
|
{
|
2277
|
-
"name": "
|
2278
|
-
"default": "`
|
2279
|
-
"description": "
|
2482
|
+
"name": "max",
|
2483
|
+
"default": "`0`(Unlimited)",
|
2484
|
+
"description": "Maximum amount of checked options",
|
2280
2485
|
"options": [],
|
2281
2486
|
"value": {
|
2282
|
-
"type": "
|
2487
|
+
"type": "number | string",
|
2283
2488
|
"kind": "expression"
|
2284
2489
|
}
|
2285
2490
|
},
|
2286
2491
|
{
|
2287
|
-
"name": "
|
2288
|
-
"default": "`
|
2289
|
-
"description": "
|
2492
|
+
"name": "direction",
|
2493
|
+
"default": "`vertical`",
|
2494
|
+
"description": "Direction, can be set to `horizontal`",
|
2290
2495
|
"options": [],
|
2291
2496
|
"value": {
|
2292
|
-
"type": "
|
2497
|
+
"type": "string",
|
2293
2498
|
"kind": "expression"
|
2294
2499
|
}
|
2295
2500
|
},
|
2296
2501
|
{
|
2297
|
-
"name": "
|
2298
|
-
"default": "`
|
2299
|
-
"description": "
|
2502
|
+
"name": "icon-size",
|
2503
|
+
"default": "`20px`",
|
2504
|
+
"description": "Icon size of all checkboxes",
|
2300
2505
|
"options": [],
|
2301
2506
|
"value": {
|
2302
|
-
"type": "string",
|
2507
|
+
"type": "number | string",
|
2303
2508
|
"kind": "expression"
|
2304
2509
|
}
|
2305
2510
|
},
|
2306
2511
|
{
|
2307
|
-
"name": "
|
2308
|
-
"default": "`
|
2309
|
-
"description": "
|
2512
|
+
"name": "checked-color",
|
2513
|
+
"default": "`#1989fa`",
|
2514
|
+
"description": "Checked color of all checkboxes",
|
2310
2515
|
"options": [],
|
2311
2516
|
"value": {
|
2312
|
-
"type": "
|
2517
|
+
"type": "string",
|
2313
2518
|
"kind": "expression"
|
2314
2519
|
}
|
2315
2520
|
}
|
@@ -2453,206 +2658,9 @@
|
|
2453
2658
|
}
|
2454
2659
|
},
|
2455
2660
|
{
|
2456
|
-
"name": "icon-prefix",
|
2457
|
-
"default": "`van-icon`",
|
2458
|
-
"description": "Icon className prefix",
|
2459
|
-
"options": [],
|
2460
|
-
"value": {
|
2461
|
-
"type": "string",
|
2462
|
-
"kind": "expression"
|
2463
|
-
}
|
2464
|
-
},
|
2465
|
-
{
|
2466
|
-
"name": "border",
|
2467
|
-
"default": "`true`",
|
2468
|
-
"description": "Whether to show inner border",
|
2469
|
-
"options": [],
|
2470
|
-
"value": {
|
2471
|
-
"type": "boolean",
|
2472
|
-
"kind": "expression"
|
2473
|
-
}
|
2474
|
-
},
|
2475
|
-
{
|
2476
|
-
"name": "center",
|
2477
|
-
"default": "`false`",
|
2478
|
-
"description": "Whether to center content vertically",
|
2479
|
-
"options": [],
|
2480
|
-
"value": {
|
2481
|
-
"type": "boolean",
|
2482
|
-
"kind": "expression"
|
2483
|
-
}
|
2484
|
-
},
|
2485
|
-
{
|
2486
|
-
"name": "url",
|
2487
|
-
"default": "-",
|
2488
|
-
"description": "Link URL",
|
2489
|
-
"options": [],
|
2490
|
-
"value": {
|
2491
|
-
"type": "string",
|
2492
|
-
"kind": "expression"
|
2493
|
-
}
|
2494
|
-
},
|
2495
|
-
{
|
2496
|
-
"name": "to",
|
2497
|
-
"default": "-",
|
2498
|
-
"description": "Target route of the link, same as to of vue-router",
|
2499
|
-
"options": [],
|
2500
|
-
"value": {
|
2501
|
-
"type": "string | object",
|
2502
|
-
"kind": "expression"
|
2503
|
-
}
|
2504
|
-
},
|
2505
|
-
{
|
2506
|
-
"name": "replace",
|
2507
|
-
"default": "`false`",
|
2508
|
-
"description": "If true, the navigation will not leave a history record",
|
2509
|
-
"options": [],
|
2510
|
-
"value": {
|
2511
|
-
"type": "boolean",
|
2512
|
-
"kind": "expression"
|
2513
|
-
}
|
2514
|
-
},
|
2515
|
-
{
|
2516
|
-
"name": "clickable",
|
2517
|
-
"default": "`null`",
|
2518
|
-
"description": "Whether to show click feedback when clicked",
|
2519
|
-
"options": [],
|
2520
|
-
"value": {
|
2521
|
-
"type": "boolean",
|
2522
|
-
"kind": "expression"
|
2523
|
-
}
|
2524
|
-
},
|
2525
|
-
{
|
2526
|
-
"name": "is-link",
|
2527
|
-
"default": "`false`",
|
2528
|
-
"description": "Whether to show link icon",
|
2529
|
-
"options": [],
|
2530
|
-
"value": {
|
2531
|
-
"type": "boolean",
|
2532
|
-
"kind": "expression"
|
2533
|
-
}
|
2534
|
-
},
|
2535
|
-
{
|
2536
|
-
"name": "required",
|
2537
|
-
"default": "`false`",
|
2538
|
-
"description": "Whether to show required mark",
|
2539
|
-
"options": [],
|
2540
|
-
"value": {
|
2541
|
-
"type": "boolean",
|
2542
|
-
"kind": "expression"
|
2543
|
-
}
|
2544
|
-
},
|
2545
|
-
{
|
2546
|
-
"name": "arrow-direction",
|
2547
|
-
"default": "`right`",
|
2548
|
-
"description": "Can be set to `left` `up` `down`",
|
2549
|
-
"options": [],
|
2550
|
-
"value": {
|
2551
|
-
"type": "string",
|
2552
|
-
"kind": "expression"
|
2553
|
-
}
|
2554
|
-
},
|
2555
|
-
{
|
2556
|
-
"name": "title-style",
|
2557
|
-
"default": "-",
|
2558
|
-
"description": "Title style",
|
2559
|
-
"options": [],
|
2560
|
-
"value": {
|
2561
|
-
"type": "string | Array | object",
|
2562
|
-
"kind": "expression"
|
2563
|
-
}
|
2564
|
-
},
|
2565
|
-
{
|
2566
|
-
"name": "title-class",
|
2567
|
-
"default": "-",
|
2568
|
-
"description": "Title className",
|
2569
|
-
"options": [],
|
2570
|
-
"value": {
|
2571
|
-
"type": "string | Array | object",
|
2572
|
-
"kind": "expression"
|
2573
|
-
}
|
2574
|
-
},
|
2575
|
-
{
|
2576
|
-
"name": "value-class",
|
2577
|
-
"default": "-",
|
2578
|
-
"description": "Value className",
|
2579
|
-
"options": [],
|
2580
|
-
"value": {
|
2581
|
-
"type": "string | Array | object",
|
2582
|
-
"kind": "expression"
|
2583
|
-
}
|
2584
|
-
},
|
2585
|
-
{
|
2586
|
-
"name": "label-class",
|
2587
|
-
"default": "-",
|
2588
|
-
"description": "Label className",
|
2589
|
-
"options": [],
|
2590
|
-
"value": {
|
2591
|
-
"type": "string | Array | object",
|
2592
|
-
"kind": "expression"
|
2593
|
-
}
|
2594
|
-
}
|
2595
|
-
]
|
2596
|
-
},
|
2597
|
-
{
|
2598
|
-
"name": "van-checkbox",
|
2599
|
-
"slots": [
|
2600
|
-
{
|
2601
|
-
"name": "default",
|
2602
|
-
"description": "Custom label"
|
2603
|
-
},
|
2604
|
-
{
|
2605
|
-
"name": "icon",
|
2606
|
-
"description": "Custom icon"
|
2607
|
-
}
|
2608
|
-
],
|
2609
|
-
"events": [
|
2610
|
-
{
|
2611
|
-
"name": "change",
|
2612
|
-
"description": "Emitted when value changed",
|
2613
|
-
"arguments": [
|
2614
|
-
{
|
2615
|
-
"name": "checked",
|
2616
|
-
"type": "boolean"
|
2617
|
-
}
|
2618
|
-
]
|
2619
|
-
},
|
2620
|
-
{
|
2621
|
-
"name": "click",
|
2622
|
-
"description": "Emitted when the checkbox is clicked",
|
2623
|
-
"arguments": [
|
2624
|
-
{
|
2625
|
-
"name": "event",
|
2626
|
-
"type": "MouseEvent"
|
2627
|
-
}
|
2628
|
-
]
|
2629
|
-
}
|
2630
|
-
],
|
2631
|
-
"attributes": [
|
2632
|
-
{
|
2633
|
-
"name": "v-model",
|
2634
|
-
"default": "`false`",
|
2635
|
-
"description": "Check status",
|
2636
|
-
"options": [],
|
2637
|
-
"value": {
|
2638
|
-
"type": "boolean",
|
2639
|
-
"kind": "expression"
|
2640
|
-
}
|
2641
|
-
},
|
2642
|
-
{
|
2643
|
-
"name": "name",
|
2644
|
-
"default": "-",
|
2645
|
-
"description": "Checkbox name, usually a unique string or number",
|
2646
|
-
"options": [],
|
2647
|
-
"value": {
|
2648
|
-
"type": "any",
|
2649
|
-
"kind": "expression"
|
2650
|
-
}
|
2651
|
-
},
|
2652
|
-
{
|
2653
|
-
"name": "shape",
|
2654
|
-
"default": "`round`",
|
2655
|
-
"description": "Can be set to `square`",
|
2661
|
+
"name": "icon-prefix",
|
2662
|
+
"default": "`van-icon`",
|
2663
|
+
"description": "Icon className prefix",
|
2656
2664
|
"options": [],
|
2657
2665
|
"value": {
|
2658
2666
|
"type": "string",
|
@@ -2660,9 +2668,9 @@
|
|
2660
2668
|
}
|
2661
2669
|
},
|
2662
2670
|
{
|
2663
|
-
"name": "
|
2664
|
-
"default": "`
|
2665
|
-
"description": "
|
2671
|
+
"name": "border",
|
2672
|
+
"default": "`true`",
|
2673
|
+
"description": "Whether to show inner border",
|
2666
2674
|
"options": [],
|
2667
2675
|
"value": {
|
2668
2676
|
"type": "boolean",
|
@@ -2670,9 +2678,9 @@
|
|
2670
2678
|
}
|
2671
2679
|
},
|
2672
2680
|
{
|
2673
|
-
"name": "
|
2681
|
+
"name": "center",
|
2674
2682
|
"default": "`false`",
|
2675
|
-
"description": "Whether to
|
2683
|
+
"description": "Whether to center content vertically",
|
2676
2684
|
"options": [],
|
2677
2685
|
"value": {
|
2678
2686
|
"type": "boolean",
|
@@ -2680,9 +2688,9 @@
|
|
2680
2688
|
}
|
2681
2689
|
},
|
2682
2690
|
{
|
2683
|
-
"name": "
|
2684
|
-
"default": "
|
2685
|
-
"description": "
|
2691
|
+
"name": "url",
|
2692
|
+
"default": "-",
|
2693
|
+
"description": "Link URL",
|
2686
2694
|
"options": [],
|
2687
2695
|
"value": {
|
2688
2696
|
"type": "string",
|
@@ -2690,67 +2698,49 @@
|
|
2690
2698
|
}
|
2691
2699
|
},
|
2692
2700
|
{
|
2693
|
-
"name": "
|
2694
|
-
"default": "
|
2695
|
-
"description": "
|
2701
|
+
"name": "to",
|
2702
|
+
"default": "-",
|
2703
|
+
"description": "Target route of the link, same as to of vue-router",
|
2696
2704
|
"options": [],
|
2697
2705
|
"value": {
|
2698
|
-
"type": "
|
2706
|
+
"type": "string | object",
|
2699
2707
|
"kind": "expression"
|
2700
2708
|
}
|
2701
2709
|
},
|
2702
2710
|
{
|
2703
|
-
"name": "
|
2704
|
-
"default": "
|
2705
|
-
"description": "
|
2711
|
+
"name": "replace",
|
2712
|
+
"default": "`false`",
|
2713
|
+
"description": "If true, the navigation will not leave a history record",
|
2706
2714
|
"options": [],
|
2707
2715
|
"value": {
|
2708
|
-
"type": "
|
2716
|
+
"type": "boolean",
|
2709
2717
|
"kind": "expression"
|
2710
2718
|
}
|
2711
2719
|
},
|
2712
2720
|
{
|
2713
|
-
"name": "
|
2714
|
-
"default": "`
|
2715
|
-
"description": "Whether to
|
2721
|
+
"name": "clickable",
|
2722
|
+
"default": "`null`",
|
2723
|
+
"description": "Whether to show click feedback when clicked",
|
2716
2724
|
"options": [],
|
2717
2725
|
"value": {
|
2718
2726
|
"type": "boolean",
|
2719
2727
|
"kind": "expression"
|
2720
2728
|
}
|
2721
|
-
}
|
2722
|
-
]
|
2723
|
-
},
|
2724
|
-
{
|
2725
|
-
"name": "van-checkbox-group",
|
2726
|
-
"slots": [],
|
2727
|
-
"events": [
|
2728
|
-
{
|
2729
|
-
"name": "change",
|
2730
|
-
"description": "Emitted when value changed",
|
2731
|
-
"arguments": [
|
2732
|
-
{
|
2733
|
-
"name": "names",
|
2734
|
-
"type": "any[]"
|
2735
|
-
}
|
2736
|
-
]
|
2737
|
-
}
|
2738
|
-
],
|
2739
|
-
"attributes": [
|
2729
|
+
},
|
2740
2730
|
{
|
2741
|
-
"name": "
|
2742
|
-
"default": "
|
2743
|
-
"description": "
|
2731
|
+
"name": "is-link",
|
2732
|
+
"default": "`false`",
|
2733
|
+
"description": "Whether to show link icon",
|
2744
2734
|
"options": [],
|
2745
2735
|
"value": {
|
2746
|
-
"type": "
|
2736
|
+
"type": "boolean",
|
2747
2737
|
"kind": "expression"
|
2748
2738
|
}
|
2749
2739
|
},
|
2750
2740
|
{
|
2751
|
-
"name": "
|
2741
|
+
"name": "required",
|
2752
2742
|
"default": "`false`",
|
2753
|
-
"description": "Whether to
|
2743
|
+
"description": "Whether to show required mark",
|
2754
2744
|
"options": [],
|
2755
2745
|
"value": {
|
2756
2746
|
"type": "boolean",
|
@@ -2758,42 +2748,52 @@
|
|
2758
2748
|
}
|
2759
2749
|
},
|
2760
2750
|
{
|
2761
|
-
"name": "
|
2762
|
-
"default": "`
|
2763
|
-
"description": "
|
2751
|
+
"name": "arrow-direction",
|
2752
|
+
"default": "`right`",
|
2753
|
+
"description": "Can be set to `left` `up` `down`",
|
2764
2754
|
"options": [],
|
2765
2755
|
"value": {
|
2766
|
-
"type": "
|
2756
|
+
"type": "string",
|
2767
2757
|
"kind": "expression"
|
2768
2758
|
}
|
2769
2759
|
},
|
2770
2760
|
{
|
2771
|
-
"name": "
|
2772
|
-
"default": "
|
2773
|
-
"description": "
|
2761
|
+
"name": "title-style",
|
2762
|
+
"default": "-",
|
2763
|
+
"description": "Title style",
|
2774
2764
|
"options": [],
|
2775
2765
|
"value": {
|
2776
|
-
"type": "string",
|
2766
|
+
"type": "string | Array | object",
|
2777
2767
|
"kind": "expression"
|
2778
2768
|
}
|
2779
2769
|
},
|
2780
2770
|
{
|
2781
|
-
"name": "
|
2782
|
-
"default": "
|
2783
|
-
"description": "
|
2771
|
+
"name": "title-class",
|
2772
|
+
"default": "-",
|
2773
|
+
"description": "Title className",
|
2784
2774
|
"options": [],
|
2785
2775
|
"value": {
|
2786
|
-
"type": "
|
2776
|
+
"type": "string | Array | object",
|
2787
2777
|
"kind": "expression"
|
2788
2778
|
}
|
2789
2779
|
},
|
2790
2780
|
{
|
2791
|
-
"name": "
|
2792
|
-
"default": "
|
2793
|
-
"description": "
|
2781
|
+
"name": "value-class",
|
2782
|
+
"default": "-",
|
2783
|
+
"description": "Value className",
|
2794
2784
|
"options": [],
|
2795
2785
|
"value": {
|
2796
|
-
"type": "string",
|
2786
|
+
"type": "string | Array | object",
|
2787
|
+
"kind": "expression"
|
2788
|
+
}
|
2789
|
+
},
|
2790
|
+
{
|
2791
|
+
"name": "label-class",
|
2792
|
+
"default": "-",
|
2793
|
+
"description": "Label className",
|
2794
|
+
"options": [],
|
2795
|
+
"value": {
|
2796
|
+
"type": "string | Array | object",
|
2797
2797
|
"kind": "expression"
|
2798
2798
|
}
|
2799
2799
|
}
|
@@ -4251,7 +4251,7 @@
|
|
4251
4251
|
{
|
4252
4252
|
"name": "message-align",
|
4253
4253
|
"default": "`center`",
|
4254
|
-
"description": "Message align, can be set to `left` `right`",
|
4254
|
+
"description": "Message align, can be set to `left` `right` `justify`",
|
4255
4255
|
"options": [],
|
4256
4256
|
"value": {
|
4257
4257
|
"type": "string",
|
@@ -5865,6 +5865,16 @@
|
|
5865
5865
|
"kind": "expression"
|
5866
5866
|
}
|
5867
5867
|
},
|
5868
|
+
{
|
5869
|
+
"name": "block",
|
5870
|
+
"default": "`false`",
|
5871
|
+
"description": "Whether the root node is a block element",
|
5872
|
+
"options": [],
|
5873
|
+
"value": {
|
5874
|
+
"type": "boolean",
|
5875
|
+
"kind": "expression"
|
5876
|
+
}
|
5877
|
+
},
|
5868
5878
|
{
|
5869
5879
|
"name": "lazy-load",
|
5870
5880
|
"default": "`false`",
|
@@ -6432,188 +6442,57 @@
|
|
6432
6442
|
{
|
6433
6443
|
"name": "color",
|
6434
6444
|
"default": "`#c9c9c9`",
|
6435
|
-
"description": "Loading color",
|
6436
|
-
"options": [],
|
6437
|
-
"value": {
|
6438
|
-
"type": "string",
|
6439
|
-
"kind": "expression"
|
6440
|
-
}
|
6441
|
-
},
|
6442
|
-
{
|
6443
|
-
"name": "type",
|
6444
|
-
"default": "`circular`",
|
6445
|
-
"description": "Can be set to `spinner`",
|
6446
|
-
"options": [],
|
6447
|
-
"value": {
|
6448
|
-
"type": "string",
|
6449
|
-
"kind": "expression"
|
6450
|
-
}
|
6451
|
-
},
|
6452
|
-
{
|
6453
|
-
"name": "size",
|
6454
|
-
"default": "`30px`",
|
6455
|
-
"description": "Icon size",
|
6456
|
-
"options": [],
|
6457
|
-
"value": {
|
6458
|
-
"type": "number | string",
|
6459
|
-
"kind": "expression"
|
6460
|
-
}
|
6461
|
-
},
|
6462
|
-
{
|
6463
|
-
"name": "text-size",
|
6464
|
-
"default": "`14px`",
|
6465
|
-
"description": "Text font size",
|
6466
|
-
"options": [],
|
6467
|
-
"value": {
|
6468
|
-
"type": "number | string",
|
6469
|
-
"kind": "expression"
|
6470
|
-
}
|
6471
|
-
},
|
6472
|
-
{
|
6473
|
-
"name": "text-color",
|
6474
|
-
"default": "`#c9c9c9`",
|
6475
|
-
"description": "Text color",
|
6476
|
-
"options": [],
|
6477
|
-
"value": {
|
6478
|
-
"type": "string",
|
6479
|
-
"kind": "expression"
|
6480
|
-
}
|
6481
|
-
},
|
6482
|
-
{
|
6483
|
-
"name": "vertical",
|
6484
|
-
"default": "`false`",
|
6485
|
-
"description": "Whether to arrange icons and text content vertically",
|
6486
|
-
"options": [],
|
6487
|
-
"value": {
|
6488
|
-
"type": "boolean",
|
6489
|
-
"kind": "expression"
|
6490
|
-
}
|
6491
|
-
}
|
6492
|
-
]
|
6493
|
-
},
|
6494
|
-
{
|
6495
|
-
"name": "van-nav-bar",
|
6496
|
-
"slots": [
|
6497
|
-
{
|
6498
|
-
"name": "title",
|
6499
|
-
"description": "Custom title"
|
6500
|
-
},
|
6501
|
-
{
|
6502
|
-
"name": "left",
|
6503
|
-
"description": "Custom left side content"
|
6504
|
-
},
|
6505
|
-
{
|
6506
|
-
"name": "right",
|
6507
|
-
"description": "Custom right side content"
|
6508
|
-
}
|
6509
|
-
],
|
6510
|
-
"events": [
|
6511
|
-
{
|
6512
|
-
"name": "click-left",
|
6513
|
-
"description": "Emitted when the left button is clicked",
|
6514
|
-
"arguments": [
|
6515
|
-
{
|
6516
|
-
"name": "event",
|
6517
|
-
"type": "MouseEvent"
|
6518
|
-
}
|
6519
|
-
]
|
6520
|
-
},
|
6521
|
-
{
|
6522
|
-
"name": "click-right",
|
6523
|
-
"description": "Emitted when the right button is clicked",
|
6524
|
-
"arguments": [
|
6525
|
-
{
|
6526
|
-
"name": "event",
|
6527
|
-
"type": "MouseEvent"
|
6528
|
-
}
|
6529
|
-
]
|
6530
|
-
}
|
6531
|
-
],
|
6532
|
-
"attributes": [
|
6533
|
-
{
|
6534
|
-
"name": "title",
|
6535
|
-
"default": "`''`",
|
6536
|
-
"description": "Title",
|
6537
|
-
"options": [],
|
6538
|
-
"value": {
|
6539
|
-
"type": "string",
|
6540
|
-
"kind": "expression"
|
6541
|
-
}
|
6542
|
-
},
|
6543
|
-
{
|
6544
|
-
"name": "left-text",
|
6545
|
-
"default": "`''`",
|
6546
|
-
"description": "Left Text",
|
6547
|
-
"options": [],
|
6548
|
-
"value": {
|
6549
|
-
"type": "string",
|
6550
|
-
"kind": "expression"
|
6551
|
-
}
|
6552
|
-
},
|
6553
|
-
{
|
6554
|
-
"name": "right-text",
|
6555
|
-
"default": "`''`",
|
6556
|
-
"description": "Right Text",
|
6557
|
-
"options": [],
|
6558
|
-
"value": {
|
6559
|
-
"type": "string",
|
6560
|
-
"kind": "expression"
|
6561
|
-
}
|
6562
|
-
},
|
6563
|
-
{
|
6564
|
-
"name": "left-arrow",
|
6565
|
-
"default": "`false`",
|
6566
|
-
"description": "Whether to show left arrow",
|
6445
|
+
"description": "Loading color",
|
6567
6446
|
"options": [],
|
6568
6447
|
"value": {
|
6569
|
-
"type": "
|
6448
|
+
"type": "string",
|
6570
6449
|
"kind": "expression"
|
6571
6450
|
}
|
6572
6451
|
},
|
6573
6452
|
{
|
6574
|
-
"name": "
|
6575
|
-
"default": "`
|
6576
|
-
"description": "
|
6453
|
+
"name": "type",
|
6454
|
+
"default": "`circular`",
|
6455
|
+
"description": "Can be set to `spinner`",
|
6577
6456
|
"options": [],
|
6578
6457
|
"value": {
|
6579
|
-
"type": "
|
6458
|
+
"type": "string",
|
6580
6459
|
"kind": "expression"
|
6581
6460
|
}
|
6582
6461
|
},
|
6583
6462
|
{
|
6584
|
-
"name": "
|
6585
|
-
"default": "`
|
6586
|
-
"description": "
|
6463
|
+
"name": "size",
|
6464
|
+
"default": "`30px`",
|
6465
|
+
"description": "Icon size",
|
6587
6466
|
"options": [],
|
6588
6467
|
"value": {
|
6589
|
-
"type": "
|
6468
|
+
"type": "number | string",
|
6590
6469
|
"kind": "expression"
|
6591
6470
|
}
|
6592
6471
|
},
|
6593
6472
|
{
|
6594
|
-
"name": "
|
6595
|
-
"default": "`
|
6596
|
-
"description": "
|
6473
|
+
"name": "text-size",
|
6474
|
+
"default": "`14px`",
|
6475
|
+
"description": "Text font size",
|
6597
6476
|
"options": [],
|
6598
6477
|
"value": {
|
6599
|
-
"type": "
|
6478
|
+
"type": "number | string",
|
6600
6479
|
"kind": "expression"
|
6601
6480
|
}
|
6602
6481
|
},
|
6603
6482
|
{
|
6604
|
-
"name": "
|
6605
|
-
"default": "`
|
6606
|
-
"description": "
|
6483
|
+
"name": "text-color",
|
6484
|
+
"default": "`#c9c9c9`",
|
6485
|
+
"description": "Text color",
|
6607
6486
|
"options": [],
|
6608
6487
|
"value": {
|
6609
|
-
"type": "
|
6488
|
+
"type": "string",
|
6610
6489
|
"kind": "expression"
|
6611
6490
|
}
|
6612
6491
|
},
|
6613
6492
|
{
|
6614
|
-
"name": "
|
6493
|
+
"name": "vertical",
|
6615
6494
|
"default": "`false`",
|
6616
|
-
"description": "Whether to
|
6495
|
+
"description": "Whether to arrange icons and text content vertically",
|
6617
6496
|
"options": [],
|
6618
6497
|
"value": {
|
6619
6498
|
"type": "boolean",
|
@@ -6623,25 +6502,25 @@
|
|
6623
6502
|
]
|
6624
6503
|
},
|
6625
6504
|
{
|
6626
|
-
"name": "van-
|
6505
|
+
"name": "van-nav-bar",
|
6627
6506
|
"slots": [
|
6628
6507
|
{
|
6629
|
-
"name": "
|
6630
|
-
"description": "
|
6508
|
+
"name": "title",
|
6509
|
+
"description": "Custom title"
|
6631
6510
|
},
|
6632
6511
|
{
|
6633
|
-
"name": "left
|
6634
|
-
"description": "Custom left
|
6512
|
+
"name": "left",
|
6513
|
+
"description": "Custom left side content"
|
6635
6514
|
},
|
6636
6515
|
{
|
6637
|
-
"name": "right
|
6638
|
-
"description": "Custom right
|
6516
|
+
"name": "right",
|
6517
|
+
"description": "Custom right side content"
|
6639
6518
|
}
|
6640
6519
|
],
|
6641
6520
|
"events": [
|
6642
6521
|
{
|
6643
|
-
"name": "click",
|
6644
|
-
"description": "Emitted when
|
6522
|
+
"name": "click-left",
|
6523
|
+
"description": "Emitted when the left button is clicked",
|
6645
6524
|
"arguments": [
|
6646
6525
|
{
|
6647
6526
|
"name": "event",
|
@@ -6650,26 +6529,21 @@
|
|
6650
6529
|
]
|
6651
6530
|
},
|
6652
6531
|
{
|
6653
|
-
"name": "
|
6654
|
-
"description": "Emitted when
|
6532
|
+
"name": "click-right",
|
6533
|
+
"description": "Emitted when the right button is clicked",
|
6655
6534
|
"arguments": [
|
6656
6535
|
{
|
6657
6536
|
"name": "event",
|
6658
6537
|
"type": "MouseEvent"
|
6659
6538
|
}
|
6660
6539
|
]
|
6661
|
-
},
|
6662
|
-
{
|
6663
|
-
"name": "replay",
|
6664
|
-
"description": "Emitted when NoticeBar is replayed",
|
6665
|
-
"arguments": []
|
6666
6540
|
}
|
6667
6541
|
],
|
6668
6542
|
"attributes": [
|
6669
6543
|
{
|
6670
|
-
"name": "
|
6544
|
+
"name": "title",
|
6671
6545
|
"default": "`''`",
|
6672
|
-
"description": "
|
6546
|
+
"description": "Title",
|
6673
6547
|
"options": [],
|
6674
6548
|
"value": {
|
6675
6549
|
"type": "string",
|
@@ -6677,9 +6551,9 @@
|
|
6677
6551
|
}
|
6678
6552
|
},
|
6679
6553
|
{
|
6680
|
-
"name": "text",
|
6554
|
+
"name": "left-text",
|
6681
6555
|
"default": "`''`",
|
6682
|
-
"description": "
|
6556
|
+
"description": "Left Text",
|
6683
6557
|
"options": [],
|
6684
6558
|
"value": {
|
6685
6559
|
"type": "string",
|
@@ -6687,9 +6561,9 @@
|
|
6687
6561
|
}
|
6688
6562
|
},
|
6689
6563
|
{
|
6690
|
-
"name": "
|
6691
|
-
"default": "
|
6692
|
-
"description": "Text
|
6564
|
+
"name": "right-text",
|
6565
|
+
"default": "`''`",
|
6566
|
+
"description": "Right Text",
|
6693
6567
|
"options": [],
|
6694
6568
|
"value": {
|
6695
6569
|
"type": "string",
|
@@ -6697,59 +6571,59 @@
|
|
6697
6571
|
}
|
6698
6572
|
},
|
6699
6573
|
{
|
6700
|
-
"name": "
|
6701
|
-
"default": "
|
6702
|
-
"description": "
|
6574
|
+
"name": "left-arrow",
|
6575
|
+
"default": "`false`",
|
6576
|
+
"description": "Whether to show left arrow",
|
6703
6577
|
"options": [],
|
6704
6578
|
"value": {
|
6705
|
-
"type": "
|
6579
|
+
"type": "boolean",
|
6706
6580
|
"kind": "expression"
|
6707
6581
|
}
|
6708
6582
|
},
|
6709
6583
|
{
|
6710
|
-
"name": "
|
6711
|
-
"default": "
|
6712
|
-
"description": "
|
6584
|
+
"name": "border",
|
6585
|
+
"default": "`true`",
|
6586
|
+
"description": "Whether to show bottom border",
|
6713
6587
|
"options": [],
|
6714
6588
|
"value": {
|
6715
|
-
"type": "
|
6589
|
+
"type": "boolean",
|
6716
6590
|
"kind": "expression"
|
6717
6591
|
}
|
6718
6592
|
},
|
6719
6593
|
{
|
6720
|
-
"name": "
|
6721
|
-
"default": "`
|
6722
|
-
"description": "
|
6594
|
+
"name": "fixed",
|
6595
|
+
"default": "`false`",
|
6596
|
+
"description": "Whether to fixed top",
|
6723
6597
|
"options": [],
|
6724
6598
|
"value": {
|
6725
|
-
"type": "
|
6599
|
+
"type": "boolean",
|
6726
6600
|
"kind": "expression"
|
6727
6601
|
}
|
6728
6602
|
},
|
6729
6603
|
{
|
6730
|
-
"name": "
|
6731
|
-
"default": "`
|
6732
|
-
"description": "
|
6604
|
+
"name": "placeholder",
|
6605
|
+
"default": "`false`",
|
6606
|
+
"description": "Whether to generate a placeholder element when fixed",
|
6733
6607
|
"options": [],
|
6734
6608
|
"value": {
|
6735
|
-
"type": "
|
6609
|
+
"type": "boolean",
|
6736
6610
|
"kind": "expression"
|
6737
6611
|
}
|
6738
6612
|
},
|
6739
6613
|
{
|
6740
|
-
"name": "
|
6741
|
-
"default": "
|
6742
|
-
"description": "
|
6614
|
+
"name": "z-index",
|
6615
|
+
"default": "`1`",
|
6616
|
+
"description": "Z-index",
|
6743
6617
|
"options": [],
|
6744
6618
|
"value": {
|
6745
|
-
"type": "
|
6619
|
+
"type": "number | string",
|
6746
6620
|
"kind": "expression"
|
6747
6621
|
}
|
6748
6622
|
},
|
6749
6623
|
{
|
6750
|
-
"name": "
|
6624
|
+
"name": "safe-area-inset-top",
|
6751
6625
|
"default": "`false`",
|
6752
|
-
"description": "Whether to enable
|
6626
|
+
"description": "Whether to enable top safe area adaptation",
|
6753
6627
|
"options": [],
|
6754
6628
|
"value": {
|
6755
6629
|
"type": "boolean",
|
@@ -6928,44 +6802,180 @@
|
|
6928
6802
|
"description": "Whether to show delete button",
|
6929
6803
|
"options": [],
|
6930
6804
|
"value": {
|
6931
|
-
"type": "boolean",
|
6805
|
+
"type": "boolean",
|
6806
|
+
"kind": "expression"
|
6807
|
+
}
|
6808
|
+
},
|
6809
|
+
{
|
6810
|
+
"name": "blur-on-close",
|
6811
|
+
"default": "`true`",
|
6812
|
+
"description": "Whether to emit blur event when clicking close button",
|
6813
|
+
"options": [],
|
6814
|
+
"value": {
|
6815
|
+
"type": "boolean",
|
6816
|
+
"kind": "expression"
|
6817
|
+
}
|
6818
|
+
},
|
6819
|
+
{
|
6820
|
+
"name": "hide-on-click-outside",
|
6821
|
+
"default": "`true`",
|
6822
|
+
"description": "Whether to hide keyboard when outside is clicked",
|
6823
|
+
"options": [],
|
6824
|
+
"value": {
|
6825
|
+
"type": "boolean",
|
6826
|
+
"kind": "expression"
|
6827
|
+
}
|
6828
|
+
},
|
6829
|
+
{
|
6830
|
+
"name": "teleport",
|
6831
|
+
"default": "-",
|
6832
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6833
|
+
"options": [],
|
6834
|
+
"value": {
|
6835
|
+
"type": "string | Element",
|
6836
|
+
"kind": "expression"
|
6837
|
+
}
|
6838
|
+
},
|
6839
|
+
{
|
6840
|
+
"name": "safe-area-inset-bottom",
|
6841
|
+
"default": "`true`",
|
6842
|
+
"description": "Whether to enable bottom safe area adaptation",
|
6843
|
+
"options": [],
|
6844
|
+
"value": {
|
6845
|
+
"type": "boolean",
|
6846
|
+
"kind": "expression"
|
6847
|
+
}
|
6848
|
+
},
|
6849
|
+
{
|
6850
|
+
"name": "random-key-order",
|
6851
|
+
"default": "`false`",
|
6852
|
+
"description": "Whether to shuffle the order of keys",
|
6853
|
+
"options": [],
|
6854
|
+
"value": {
|
6855
|
+
"type": "boolean",
|
6856
|
+
"kind": "expression"
|
6857
|
+
}
|
6858
|
+
}
|
6859
|
+
]
|
6860
|
+
},
|
6861
|
+
{
|
6862
|
+
"name": "van-notice-bar",
|
6863
|
+
"slots": [
|
6864
|
+
{
|
6865
|
+
"name": "default",
|
6866
|
+
"description": "Notice text content"
|
6867
|
+
},
|
6868
|
+
{
|
6869
|
+
"name": "left-icon",
|
6870
|
+
"description": "Custom left icon"
|
6871
|
+
},
|
6872
|
+
{
|
6873
|
+
"name": "right-icon",
|
6874
|
+
"description": "Custom right icon"
|
6875
|
+
}
|
6876
|
+
],
|
6877
|
+
"events": [
|
6878
|
+
{
|
6879
|
+
"name": "click",
|
6880
|
+
"description": "Emitted when NoticeBar is clicked",
|
6881
|
+
"arguments": [
|
6882
|
+
{
|
6883
|
+
"name": "event",
|
6884
|
+
"type": "MouseEvent"
|
6885
|
+
}
|
6886
|
+
]
|
6887
|
+
},
|
6888
|
+
{
|
6889
|
+
"name": "close",
|
6890
|
+
"description": "Emitted when NoticeBar is closed",
|
6891
|
+
"arguments": [
|
6892
|
+
{
|
6893
|
+
"name": "event",
|
6894
|
+
"type": "MouseEvent"
|
6895
|
+
}
|
6896
|
+
]
|
6897
|
+
},
|
6898
|
+
{
|
6899
|
+
"name": "replay",
|
6900
|
+
"description": "Emitted when NoticeBar is replayed",
|
6901
|
+
"arguments": []
|
6902
|
+
}
|
6903
|
+
],
|
6904
|
+
"attributes": [
|
6905
|
+
{
|
6906
|
+
"name": "mode",
|
6907
|
+
"default": "`''`",
|
6908
|
+
"description": "Mode, can be set to `closeable` `link`",
|
6909
|
+
"options": [],
|
6910
|
+
"value": {
|
6911
|
+
"type": "string",
|
6912
|
+
"kind": "expression"
|
6913
|
+
}
|
6914
|
+
},
|
6915
|
+
{
|
6916
|
+
"name": "text",
|
6917
|
+
"default": "`''`",
|
6918
|
+
"description": "Notice text content",
|
6919
|
+
"options": [],
|
6920
|
+
"value": {
|
6921
|
+
"type": "string",
|
6922
|
+
"kind": "expression"
|
6923
|
+
}
|
6924
|
+
},
|
6925
|
+
{
|
6926
|
+
"name": "color",
|
6927
|
+
"default": "`#ed6a0c`",
|
6928
|
+
"description": "Text color",
|
6929
|
+
"options": [],
|
6930
|
+
"value": {
|
6931
|
+
"type": "string",
|
6932
|
+
"kind": "expression"
|
6933
|
+
}
|
6934
|
+
},
|
6935
|
+
{
|
6936
|
+
"name": "background",
|
6937
|
+
"default": "`#fffbe8`",
|
6938
|
+
"description": "Background color",
|
6939
|
+
"options": [],
|
6940
|
+
"value": {
|
6941
|
+
"type": "string",
|
6932
6942
|
"kind": "expression"
|
6933
6943
|
}
|
6934
6944
|
},
|
6935
6945
|
{
|
6936
|
-
"name": "
|
6937
|
-
"default": "
|
6938
|
-
"description": "
|
6946
|
+
"name": "left-icon",
|
6947
|
+
"default": "-",
|
6948
|
+
"description": "Left Icon",
|
6939
6949
|
"options": [],
|
6940
6950
|
"value": {
|
6941
|
-
"type": "
|
6951
|
+
"type": "string",
|
6942
6952
|
"kind": "expression"
|
6943
6953
|
}
|
6944
6954
|
},
|
6945
6955
|
{
|
6946
|
-
"name": "
|
6947
|
-
"default": "`
|
6948
|
-
"description": "
|
6956
|
+
"name": "delay",
|
6957
|
+
"default": "`1`",
|
6958
|
+
"description": "Animation delay (s)",
|
6949
6959
|
"options": [],
|
6950
6960
|
"value": {
|
6951
|
-
"type": "
|
6961
|
+
"type": "number | string",
|
6952
6962
|
"kind": "expression"
|
6953
6963
|
}
|
6954
6964
|
},
|
6955
6965
|
{
|
6956
|
-
"name": "
|
6957
|
-
"default": "
|
6958
|
-
"description": "
|
6966
|
+
"name": "speed",
|
6967
|
+
"default": "`60`",
|
6968
|
+
"description": "Scroll speed (px/s)",
|
6959
6969
|
"options": [],
|
6960
6970
|
"value": {
|
6961
|
-
"type": "
|
6971
|
+
"type": "number | string",
|
6962
6972
|
"kind": "expression"
|
6963
6973
|
}
|
6964
6974
|
},
|
6965
6975
|
{
|
6966
|
-
"name": "
|
6967
|
-
"default": "
|
6968
|
-
"description": "Whether to
|
6976
|
+
"name": "scrollable",
|
6977
|
+
"default": "-",
|
6978
|
+
"description": "Whether to scroll content",
|
6969
6979
|
"options": [],
|
6970
6980
|
"value": {
|
6971
6981
|
"type": "boolean",
|
@@ -6973,9 +6983,9 @@
|
|
6973
6983
|
}
|
6974
6984
|
},
|
6975
6985
|
{
|
6976
|
-
"name": "
|
6986
|
+
"name": "wrapable",
|
6977
6987
|
"default": "`false`",
|
6978
|
-
"description": "Whether to
|
6988
|
+
"description": "Whether to enable text wrap",
|
6979
6989
|
"options": [],
|
6980
6990
|
"value": {
|
6981
6991
|
"type": "boolean",
|
@@ -7193,89 +7203,6 @@
|
|
7193
7203
|
}
|
7194
7204
|
]
|
7195
7205
|
},
|
7196
|
-
{
|
7197
|
-
"name": "van-password-input",
|
7198
|
-
"slots": [],
|
7199
|
-
"events": [
|
7200
|
-
{
|
7201
|
-
"name": "focus",
|
7202
|
-
"description": "Emitted when input is focused",
|
7203
|
-
"arguments": []
|
7204
|
-
}
|
7205
|
-
],
|
7206
|
-
"attributes": [
|
7207
|
-
{
|
7208
|
-
"name": "value",
|
7209
|
-
"default": "`''`",
|
7210
|
-
"description": "Password value",
|
7211
|
-
"options": [],
|
7212
|
-
"value": {
|
7213
|
-
"type": "string",
|
7214
|
-
"kind": "expression"
|
7215
|
-
}
|
7216
|
-
},
|
7217
|
-
{
|
7218
|
-
"name": "info",
|
7219
|
-
"default": "-",
|
7220
|
-
"description": "Bottom info",
|
7221
|
-
"options": [],
|
7222
|
-
"value": {
|
7223
|
-
"type": "string",
|
7224
|
-
"kind": "expression"
|
7225
|
-
}
|
7226
|
-
},
|
7227
|
-
{
|
7228
|
-
"name": "error-info",
|
7229
|
-
"default": "-",
|
7230
|
-
"description": "Bottom error info",
|
7231
|
-
"options": [],
|
7232
|
-
"value": {
|
7233
|
-
"type": "string",
|
7234
|
-
"kind": "expression"
|
7235
|
-
}
|
7236
|
-
},
|
7237
|
-
{
|
7238
|
-
"name": "length",
|
7239
|
-
"default": "`6`",
|
7240
|
-
"description": "Maxlength of password",
|
7241
|
-
"options": [],
|
7242
|
-
"value": {
|
7243
|
-
"type": "number | string",
|
7244
|
-
"kind": "expression"
|
7245
|
-
}
|
7246
|
-
},
|
7247
|
-
{
|
7248
|
-
"name": "gutter",
|
7249
|
-
"default": "`0`",
|
7250
|
-
"description": "Gutter of input",
|
7251
|
-
"options": [],
|
7252
|
-
"value": {
|
7253
|
-
"type": "number | string",
|
7254
|
-
"kind": "expression"
|
7255
|
-
}
|
7256
|
-
},
|
7257
|
-
{
|
7258
|
-
"name": "mask",
|
7259
|
-
"default": "`true`",
|
7260
|
-
"description": "Whether to mask value",
|
7261
|
-
"options": [],
|
7262
|
-
"value": {
|
7263
|
-
"type": "boolean",
|
7264
|
-
"kind": "expression"
|
7265
|
-
}
|
7266
|
-
},
|
7267
|
-
{
|
7268
|
-
"name": "focused",
|
7269
|
-
"default": "`false`",
|
7270
|
-
"description": "Whether to show focused cursor",
|
7271
|
-
"options": [],
|
7272
|
-
"value": {
|
7273
|
-
"type": "boolean",
|
7274
|
-
"kind": "expression"
|
7275
|
-
}
|
7276
|
-
}
|
7277
|
-
]
|
7278
|
-
},
|
7279
7206
|
{
|
7280
7207
|
"name": "van-picker",
|
7281
7208
|
"slots": [
|
@@ -7486,72 +7413,157 @@
|
|
7486
7413
|
]
|
7487
7414
|
},
|
7488
7415
|
{
|
7489
|
-
"name": "van-
|
7490
|
-
"slots": [
|
7416
|
+
"name": "van-password-input",
|
7417
|
+
"slots": [],
|
7418
|
+
"events": [
|
7491
7419
|
{
|
7492
|
-
"name": "
|
7493
|
-
"description": "
|
7420
|
+
"name": "focus",
|
7421
|
+
"description": "Emitted when input is focused",
|
7422
|
+
"arguments": []
|
7423
|
+
}
|
7424
|
+
],
|
7425
|
+
"attributes": [
|
7426
|
+
{
|
7427
|
+
"name": "value",
|
7428
|
+
"default": "`''`",
|
7429
|
+
"description": "Password value",
|
7430
|
+
"options": [],
|
7431
|
+
"value": {
|
7432
|
+
"type": "string",
|
7433
|
+
"kind": "expression"
|
7434
|
+
}
|
7494
7435
|
},
|
7495
7436
|
{
|
7496
|
-
"name": "
|
7497
|
-
"
|
7437
|
+
"name": "info",
|
7438
|
+
"default": "-",
|
7439
|
+
"description": "Bottom info",
|
7440
|
+
"options": [],
|
7441
|
+
"value": {
|
7442
|
+
"type": "string",
|
7443
|
+
"kind": "expression"
|
7444
|
+
}
|
7498
7445
|
},
|
7499
7446
|
{
|
7500
|
-
"name": "
|
7501
|
-
"
|
7447
|
+
"name": "error-info",
|
7448
|
+
"default": "-",
|
7449
|
+
"description": "Bottom error info",
|
7450
|
+
"options": [],
|
7451
|
+
"value": {
|
7452
|
+
"type": "string",
|
7453
|
+
"kind": "expression"
|
7454
|
+
}
|
7455
|
+
},
|
7456
|
+
{
|
7457
|
+
"name": "length",
|
7458
|
+
"default": "`6`",
|
7459
|
+
"description": "Maxlength of password",
|
7460
|
+
"options": [],
|
7461
|
+
"value": {
|
7462
|
+
"type": "number | string",
|
7463
|
+
"kind": "expression"
|
7464
|
+
}
|
7465
|
+
},
|
7466
|
+
{
|
7467
|
+
"name": "gutter",
|
7468
|
+
"default": "`0`",
|
7469
|
+
"description": "Gutter of input",
|
7470
|
+
"options": [],
|
7471
|
+
"value": {
|
7472
|
+
"type": "number | string",
|
7473
|
+
"kind": "expression"
|
7474
|
+
}
|
7475
|
+
},
|
7476
|
+
{
|
7477
|
+
"name": "mask",
|
7478
|
+
"default": "`true`",
|
7479
|
+
"description": "Whether to mask value",
|
7480
|
+
"options": [],
|
7481
|
+
"value": {
|
7482
|
+
"type": "boolean",
|
7483
|
+
"kind": "expression"
|
7484
|
+
}
|
7485
|
+
},
|
7486
|
+
{
|
7487
|
+
"name": "focused",
|
7488
|
+
"default": "`false`",
|
7489
|
+
"description": "Whether to show focused cursor",
|
7490
|
+
"options": [],
|
7491
|
+
"value": {
|
7492
|
+
"type": "boolean",
|
7493
|
+
"kind": "expression"
|
7494
|
+
}
|
7495
|
+
}
|
7496
|
+
]
|
7497
|
+
},
|
7498
|
+
{
|
7499
|
+
"name": "van-popup",
|
7500
|
+
"slots": [
|
7501
|
+
{
|
7502
|
+
"name": "default",
|
7503
|
+
"description": "Content of Popup"
|
7504
|
+
},
|
7505
|
+
{
|
7506
|
+
"name": "overlay-content",
|
7507
|
+
"description": "Content of Popup overlay"
|
7502
7508
|
}
|
7503
7509
|
],
|
7504
7510
|
"events": [
|
7505
7511
|
{
|
7506
|
-
"name": "
|
7507
|
-
"description": "Emitted when
|
7512
|
+
"name": "click",
|
7513
|
+
"description": "Emitted when Popup is clicked",
|
7508
7514
|
"arguments": [
|
7509
7515
|
{
|
7510
|
-
"name": "
|
7511
|
-
"type": "
|
7512
|
-
}
|
7516
|
+
"name": "event",
|
7517
|
+
"type": "MouseEvent"
|
7518
|
+
}
|
7519
|
+
]
|
7520
|
+
},
|
7521
|
+
{
|
7522
|
+
"name": "click-overlay",
|
7523
|
+
"description": "Emitted when overlay is clicked",
|
7524
|
+
"arguments": [
|
7513
7525
|
{
|
7514
|
-
"name": "
|
7515
|
-
"type": "
|
7526
|
+
"name": "event",
|
7527
|
+
"type": "MouseEvent"
|
7528
|
+
}
|
7529
|
+
]
|
7530
|
+
},
|
7531
|
+
{
|
7532
|
+
"name": "click-close-icon",
|
7533
|
+
"description": "Emitted when close icon is clicked",
|
7534
|
+
"arguments": [
|
7535
|
+
{
|
7536
|
+
"name": "event",
|
7537
|
+
"type": "MouseEvent"
|
7516
7538
|
}
|
7517
7539
|
]
|
7518
7540
|
},
|
7519
7541
|
{
|
7520
7542
|
"name": "open",
|
7521
|
-
"description": "Emitted when opening
|
7543
|
+
"description": "Emitted when opening Popup",
|
7522
7544
|
"arguments": []
|
7523
7545
|
},
|
7524
7546
|
{
|
7525
7547
|
"name": "close",
|
7526
|
-
"description": "Emitted when closing
|
7548
|
+
"description": "Emitted when closing Popup",
|
7527
7549
|
"arguments": []
|
7528
7550
|
},
|
7529
7551
|
{
|
7530
7552
|
"name": "opened",
|
7531
|
-
"description": "Emitted when
|
7553
|
+
"description": "Emitted when Popup is opened",
|
7532
7554
|
"arguments": []
|
7533
7555
|
},
|
7534
7556
|
{
|
7535
7557
|
"name": "closed",
|
7536
|
-
"description": "Emitted when
|
7558
|
+
"description": "Emitted when Popup is closed",
|
7537
7559
|
"arguments": []
|
7538
|
-
},
|
7539
|
-
{
|
7540
|
-
"name": "click-overlay",
|
7541
|
-
"description": "Emitted when overlay is clicked",
|
7542
|
-
"arguments": [
|
7543
|
-
{
|
7544
|
-
"name": "event",
|
7545
|
-
"type": "MouseEvent"
|
7546
|
-
}
|
7547
|
-
]
|
7548
7560
|
}
|
7549
7561
|
],
|
7550
7562
|
"attributes": [
|
7551
7563
|
{
|
7552
7564
|
"name": "v-model:show",
|
7553
7565
|
"default": "`false`",
|
7554
|
-
"description": "Whether to show
|
7566
|
+
"description": "Whether to show popup",
|
7555
7567
|
"options": [],
|
7556
7568
|
"value": {
|
7557
7569
|
"type": "boolean",
|
@@ -7559,42 +7571,42 @@
|
|
7559
7571
|
}
|
7560
7572
|
},
|
7561
7573
|
{
|
7562
|
-
"name": "
|
7563
|
-
"default": "`
|
7564
|
-
"description": "
|
7574
|
+
"name": "overlay",
|
7575
|
+
"default": "`true`",
|
7576
|
+
"description": "Whether to show overlay",
|
7565
7577
|
"options": [],
|
7566
7578
|
"value": {
|
7567
|
-
"type": "
|
7579
|
+
"type": "boolean",
|
7568
7580
|
"kind": "expression"
|
7569
7581
|
}
|
7570
7582
|
},
|
7571
7583
|
{
|
7572
|
-
"name": "
|
7573
|
-
"default": "`
|
7574
|
-
"description": "
|
7584
|
+
"name": "position",
|
7585
|
+
"default": "`center`",
|
7586
|
+
"description": "Can be set to `top` `bottom` `right` `left`",
|
7575
7587
|
"options": [],
|
7576
7588
|
"value": {
|
7577
|
-
"type": "
|
7589
|
+
"type": "string",
|
7578
7590
|
"kind": "expression"
|
7579
7591
|
}
|
7580
7592
|
},
|
7581
7593
|
{
|
7582
|
-
"name": "
|
7583
|
-
"default": "
|
7584
|
-
"description": "
|
7594
|
+
"name": "overlay-class",
|
7595
|
+
"default": "-",
|
7596
|
+
"description": "Custom overlay class",
|
7585
7597
|
"options": [],
|
7586
7598
|
"value": {
|
7587
|
-
"type": "
|
7599
|
+
"type": "string | Array | object",
|
7588
7600
|
"kind": "expression"
|
7589
7601
|
}
|
7590
7602
|
},
|
7591
7603
|
{
|
7592
|
-
"name": "
|
7593
|
-
"default": "
|
7594
|
-
"description": "
|
7604
|
+
"name": "overlay-style",
|
7605
|
+
"default": "-",
|
7606
|
+
"description": "Custom overlay style",
|
7595
7607
|
"options": [],
|
7596
7608
|
"value": {
|
7597
|
-
"type": "
|
7609
|
+
"type": "object",
|
7598
7610
|
"kind": "expression"
|
7599
7611
|
}
|
7600
7612
|
},
|
@@ -7609,19 +7621,19 @@
|
|
7609
7621
|
}
|
7610
7622
|
},
|
7611
7623
|
{
|
7612
|
-
"name": "
|
7613
|
-
"default": "`
|
7614
|
-
"description": "
|
7624
|
+
"name": "round",
|
7625
|
+
"default": "`false`",
|
7626
|
+
"description": "Whether to show round corner",
|
7615
7627
|
"options": [],
|
7616
7628
|
"value": {
|
7617
|
-
"type": "
|
7629
|
+
"type": "boolean",
|
7618
7630
|
"kind": "expression"
|
7619
7631
|
}
|
7620
7632
|
},
|
7621
7633
|
{
|
7622
|
-
"name": "
|
7623
|
-
"default": "`
|
7624
|
-
"description": "Whether to
|
7634
|
+
"name": "lock-scroll",
|
7635
|
+
"default": "`true`",
|
7636
|
+
"description": "Whether to lock background scroll",
|
7625
7637
|
"options": [],
|
7626
7638
|
"value": {
|
7627
7639
|
"type": "boolean",
|
@@ -7629,29 +7641,29 @@
|
|
7629
7641
|
}
|
7630
7642
|
},
|
7631
7643
|
{
|
7632
|
-
"name": "
|
7633
|
-
"default": "
|
7634
|
-
"description": "
|
7644
|
+
"name": "lazy-render",
|
7645
|
+
"default": "`true`",
|
7646
|
+
"description": "Whether to lazy render util appeared",
|
7635
7647
|
"options": [],
|
7636
7648
|
"value": {
|
7637
|
-
"type": "
|
7649
|
+
"type": "boolean",
|
7638
7650
|
"kind": "expression"
|
7639
7651
|
}
|
7640
7652
|
},
|
7641
7653
|
{
|
7642
|
-
"name": "
|
7643
|
-
"default": "
|
7644
|
-
"description": "
|
7654
|
+
"name": "close-on-popstate",
|
7655
|
+
"default": "`false`",
|
7656
|
+
"description": "Whether to close when popstate",
|
7645
7657
|
"options": [],
|
7646
7658
|
"value": {
|
7647
|
-
"type": "
|
7659
|
+
"type": "boolean",
|
7648
7660
|
"kind": "expression"
|
7649
7661
|
}
|
7650
7662
|
},
|
7651
7663
|
{
|
7652
|
-
"name": "
|
7664
|
+
"name": "close-on-click-overlay",
|
7653
7665
|
"default": "`true`",
|
7654
|
-
"description": "Whether to
|
7666
|
+
"description": "Whether to close when overlay is clicked",
|
7655
7667
|
"options": [],
|
7656
7668
|
"value": {
|
7657
7669
|
"type": "boolean",
|
@@ -7659,9 +7671,9 @@
|
|
7659
7671
|
}
|
7660
7672
|
},
|
7661
7673
|
{
|
7662
|
-
"name": "
|
7663
|
-
"default": "`
|
7664
|
-
"description": "Whether to close
|
7674
|
+
"name": "closeable",
|
7675
|
+
"default": "`false`",
|
7676
|
+
"description": "Whether to show close icon",
|
7665
7677
|
"options": [],
|
7666
7678
|
"value": {
|
7667
7679
|
"type": "boolean",
|
@@ -7669,32 +7681,32 @@
|
|
7669
7681
|
}
|
7670
7682
|
},
|
7671
7683
|
{
|
7672
|
-
"name": "close-
|
7673
|
-
"default": "`
|
7674
|
-
"description": "
|
7684
|
+
"name": "close-icon",
|
7685
|
+
"default": "`cross`",
|
7686
|
+
"description": "Close icon name",
|
7675
7687
|
"options": [],
|
7676
7688
|
"value": {
|
7677
|
-
"type": "
|
7689
|
+
"type": "string",
|
7678
7690
|
"kind": "expression"
|
7679
7691
|
}
|
7680
7692
|
},
|
7681
7693
|
{
|
7682
|
-
"name": "close-
|
7683
|
-
"default": "`
|
7684
|
-
"description": "
|
7694
|
+
"name": "close-icon-position",
|
7695
|
+
"default": "`top-right`",
|
7696
|
+
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
|
7685
7697
|
"options": [],
|
7686
7698
|
"value": {
|
7687
|
-
"type": "
|
7699
|
+
"type": "string",
|
7688
7700
|
"kind": "expression"
|
7689
7701
|
}
|
7690
7702
|
},
|
7691
7703
|
{
|
7692
|
-
"name": "
|
7693
|
-
"default": "
|
7694
|
-
"description": "
|
7704
|
+
"name": "before-close",
|
7705
|
+
"default": "-",
|
7706
|
+
"description": "Callback function before close",
|
7695
7707
|
"options": [],
|
7696
7708
|
"value": {
|
7697
|
-
"type": "string |
|
7709
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
7698
7710
|
"kind": "expression"
|
7699
7711
|
}
|
7700
7712
|
},
|
@@ -7707,188 +7719,196 @@
|
|
7707
7719
|
"type": "string",
|
7708
7720
|
"kind": "expression"
|
7709
7721
|
}
|
7722
|
+
},
|
7723
|
+
{
|
7724
|
+
"name": "transition",
|
7725
|
+
"default": "-",
|
7726
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
7727
|
+
"options": [],
|
7728
|
+
"value": {
|
7729
|
+
"type": "string",
|
7730
|
+
"kind": "expression"
|
7731
|
+
}
|
7732
|
+
},
|
7733
|
+
{
|
7734
|
+
"name": "transition-appear",
|
7735
|
+
"default": "`false`",
|
7736
|
+
"description": "Whether to apply transition on initial render",
|
7737
|
+
"options": [],
|
7738
|
+
"value": {
|
7739
|
+
"type": "boolean",
|
7740
|
+
"kind": "expression"
|
7741
|
+
}
|
7742
|
+
},
|
7743
|
+
{
|
7744
|
+
"name": "teleport",
|
7745
|
+
"default": "-",
|
7746
|
+
"description": "Specifies a target element where Popup will be mounted",
|
7747
|
+
"options": [],
|
7748
|
+
"value": {
|
7749
|
+
"type": "string | Element",
|
7750
|
+
"kind": "expression"
|
7751
|
+
}
|
7752
|
+
},
|
7753
|
+
{
|
7754
|
+
"name": "safe-area-inset-top",
|
7755
|
+
"default": "`false`",
|
7756
|
+
"description": "Whether to enable top safe area adaptation",
|
7757
|
+
"options": [],
|
7758
|
+
"value": {
|
7759
|
+
"type": "boolean",
|
7760
|
+
"kind": "expression"
|
7761
|
+
}
|
7762
|
+
},
|
7763
|
+
{
|
7764
|
+
"name": "safe-area-inset-bottom",
|
7765
|
+
"default": "`false`",
|
7766
|
+
"description": "Whether to enable bottom safe area adaptation",
|
7767
|
+
"options": [],
|
7768
|
+
"value": {
|
7769
|
+
"type": "boolean",
|
7770
|
+
"kind": "expression"
|
7771
|
+
}
|
7710
7772
|
}
|
7711
7773
|
]
|
7712
7774
|
},
|
7713
7775
|
{
|
7714
|
-
"name": "van-
|
7776
|
+
"name": "van-popover",
|
7715
7777
|
"slots": [
|
7716
7778
|
{
|
7717
7779
|
"name": "default",
|
7718
|
-
"description": "
|
7780
|
+
"description": "Custom content"
|
7719
7781
|
},
|
7720
7782
|
{
|
7721
|
-
"name": "
|
7722
|
-
"description": "
|
7783
|
+
"name": "reference",
|
7784
|
+
"description": "Reference Element"
|
7785
|
+
},
|
7786
|
+
{
|
7787
|
+
"name": "action",
|
7788
|
+
"description": "Custom the content of option"
|
7723
7789
|
}
|
7724
7790
|
],
|
7725
7791
|
"events": [
|
7726
7792
|
{
|
7727
|
-
"name": "
|
7728
|
-
"description": "Emitted when
|
7729
|
-
"arguments": [
|
7730
|
-
{
|
7731
|
-
"name": "event",
|
7732
|
-
"type": "MouseEvent"
|
7733
|
-
}
|
7734
|
-
]
|
7735
|
-
},
|
7736
|
-
{
|
7737
|
-
"name": "click-overlay",
|
7738
|
-
"description": "Emitted when overlay is clicked",
|
7793
|
+
"name": "select",
|
7794
|
+
"description": "Emitted when an action is clicked",
|
7739
7795
|
"arguments": [
|
7740
7796
|
{
|
7741
|
-
"name": "
|
7742
|
-
"type": "
|
7743
|
-
}
|
7744
|
-
]
|
7745
|
-
},
|
7746
|
-
{
|
7747
|
-
"name": "click-close-icon",
|
7748
|
-
"description": "Emitted when close icon is clicked",
|
7749
|
-
"arguments": [
|
7797
|
+
"name": "action",
|
7798
|
+
"type": "PopoverAction"
|
7799
|
+
},
|
7750
7800
|
{
|
7751
|
-
"name": "
|
7752
|
-
"type": "
|
7801
|
+
"name": "index",
|
7802
|
+
"type": "number"
|
7753
7803
|
}
|
7754
7804
|
]
|
7755
7805
|
},
|
7756
7806
|
{
|
7757
7807
|
"name": "open",
|
7758
|
-
"description": "Emitted when opening
|
7808
|
+
"description": "Emitted when opening Popover",
|
7759
7809
|
"arguments": []
|
7760
7810
|
},
|
7761
7811
|
{
|
7762
7812
|
"name": "close",
|
7763
|
-
"description": "Emitted when closing
|
7813
|
+
"description": "Emitted when closing Popover",
|
7764
7814
|
"arguments": []
|
7765
7815
|
},
|
7766
7816
|
{
|
7767
7817
|
"name": "opened",
|
7768
|
-
"description": "Emitted when
|
7818
|
+
"description": "Emitted when Popover is opened",
|
7769
7819
|
"arguments": []
|
7770
7820
|
},
|
7771
7821
|
{
|
7772
7822
|
"name": "closed",
|
7773
|
-
"description": "Emitted when
|
7823
|
+
"description": "Emitted when Popover is closed",
|
7774
7824
|
"arguments": []
|
7775
|
-
}
|
7776
|
-
],
|
7777
|
-
"attributes": [
|
7778
|
-
{
|
7779
|
-
"name": "v-model:show",
|
7780
|
-
"default": "`false`",
|
7781
|
-
"description": "Whether to show popup",
|
7782
|
-
"options": [],
|
7783
|
-
"value": {
|
7784
|
-
"type": "boolean",
|
7785
|
-
"kind": "expression"
|
7786
|
-
}
|
7787
|
-
},
|
7788
|
-
{
|
7789
|
-
"name": "overlay",
|
7790
|
-
"default": "`true`",
|
7791
|
-
"description": "Whether to show overlay",
|
7792
|
-
"options": [],
|
7793
|
-
"value": {
|
7794
|
-
"type": "boolean",
|
7795
|
-
"kind": "expression"
|
7796
|
-
}
|
7797
|
-
},
|
7798
|
-
{
|
7799
|
-
"name": "position",
|
7800
|
-
"default": "`center`",
|
7801
|
-
"description": "Can be set to `top` `bottom` `right` `left`",
|
7802
|
-
"options": [],
|
7803
|
-
"value": {
|
7804
|
-
"type": "string",
|
7805
|
-
"kind": "expression"
|
7806
|
-
}
|
7807
7825
|
},
|
7808
7826
|
{
|
7809
|
-
"name": "overlay
|
7810
|
-
"
|
7811
|
-
"
|
7812
|
-
|
7813
|
-
|
7814
|
-
|
7815
|
-
|
7816
|
-
|
7817
|
-
}
|
7827
|
+
"name": "click-overlay",
|
7828
|
+
"description": "Emitted when overlay is clicked",
|
7829
|
+
"arguments": [
|
7830
|
+
{
|
7831
|
+
"name": "event",
|
7832
|
+
"type": "MouseEvent"
|
7833
|
+
}
|
7834
|
+
]
|
7835
|
+
}
|
7836
|
+
],
|
7837
|
+
"attributes": [
|
7818
7838
|
{
|
7819
|
-
"name": "
|
7820
|
-
"default": "
|
7821
|
-
"description": "
|
7839
|
+
"name": "v-model:show",
|
7840
|
+
"default": "`false`",
|
7841
|
+
"description": "Whether to show Popover",
|
7822
7842
|
"options": [],
|
7823
7843
|
"value": {
|
7824
|
-
"type": "
|
7844
|
+
"type": "boolean",
|
7825
7845
|
"kind": "expression"
|
7826
7846
|
}
|
7827
7847
|
},
|
7828
7848
|
{
|
7829
|
-
"name": "
|
7830
|
-
"default": "`
|
7831
|
-
"description": "
|
7849
|
+
"name": "actions",
|
7850
|
+
"default": "`[]`",
|
7851
|
+
"description": "Actions",
|
7832
7852
|
"options": [],
|
7833
7853
|
"value": {
|
7834
|
-
"type": "
|
7854
|
+
"type": "PopoverAction[]",
|
7835
7855
|
"kind": "expression"
|
7836
7856
|
}
|
7837
7857
|
},
|
7838
7858
|
{
|
7839
|
-
"name": "
|
7840
|
-
"default": "`
|
7841
|
-
"description": "
|
7859
|
+
"name": "placement",
|
7860
|
+
"default": "`bottom`",
|
7861
|
+
"description": "Placement",
|
7842
7862
|
"options": [],
|
7843
7863
|
"value": {
|
7844
|
-
"type": "
|
7864
|
+
"type": "PopoverPlacement",
|
7845
7865
|
"kind": "expression"
|
7846
7866
|
}
|
7847
7867
|
},
|
7848
7868
|
{
|
7849
|
-
"name": "
|
7850
|
-
"default": "`
|
7851
|
-
"description": "
|
7869
|
+
"name": "theme",
|
7870
|
+
"default": "`light`",
|
7871
|
+
"description": "Theme, can be set to `dark`",
|
7852
7872
|
"options": [],
|
7853
7873
|
"value": {
|
7854
|
-
"type": "
|
7874
|
+
"type": "PopoverTheme",
|
7855
7875
|
"kind": "expression"
|
7856
7876
|
}
|
7857
7877
|
},
|
7858
7878
|
{
|
7859
|
-
"name": "
|
7860
|
-
"default": "`
|
7861
|
-
"description": "
|
7879
|
+
"name": "trigger",
|
7880
|
+
"default": "`click`",
|
7881
|
+
"description": "Trigger mode, can be set to `manual`",
|
7862
7882
|
"options": [],
|
7863
7883
|
"value": {
|
7864
|
-
"type": "
|
7884
|
+
"type": "PopoverTrigger",
|
7865
7885
|
"kind": "expression"
|
7866
7886
|
}
|
7867
7887
|
},
|
7868
7888
|
{
|
7869
|
-
"name": "
|
7870
|
-
"default": "`
|
7871
|
-
"description": "
|
7889
|
+
"name": "duration",
|
7890
|
+
"default": "`0.3`",
|
7891
|
+
"description": "Transition duration, unit second",
|
7872
7892
|
"options": [],
|
7873
7893
|
"value": {
|
7874
|
-
"type": "
|
7894
|
+
"type": "number | string",
|
7875
7895
|
"kind": "expression"
|
7876
7896
|
}
|
7877
7897
|
},
|
7878
7898
|
{
|
7879
|
-
"name": "
|
7880
|
-
"default": "`
|
7881
|
-
"description": "
|
7899
|
+
"name": "offset",
|
7900
|
+
"default": "`[0, 8]`",
|
7901
|
+
"description": "Distance to reference",
|
7882
7902
|
"options": [],
|
7883
7903
|
"value": {
|
7884
|
-
"type": "
|
7904
|
+
"type": "[number, number]",
|
7885
7905
|
"kind": "expression"
|
7886
7906
|
}
|
7887
7907
|
},
|
7888
7908
|
{
|
7889
|
-
"name": "
|
7909
|
+
"name": "overlay",
|
7890
7910
|
"default": "`false`",
|
7891
|
-
"description": "Whether to show
|
7911
|
+
"description": "Whether to show overlay",
|
7892
7912
|
"options": [],
|
7893
7913
|
"value": {
|
7894
7914
|
"type": "boolean",
|
@@ -7896,59 +7916,59 @@
|
|
7896
7916
|
}
|
7897
7917
|
},
|
7898
7918
|
{
|
7899
|
-
"name": "
|
7900
|
-
"default": "
|
7901
|
-
"description": "
|
7919
|
+
"name": "overlay-class",
|
7920
|
+
"default": "-",
|
7921
|
+
"description": "Custom overlay class",
|
7902
7922
|
"options": [],
|
7903
7923
|
"value": {
|
7904
|
-
"type": "string",
|
7924
|
+
"type": "string | Array | object",
|
7905
7925
|
"kind": "expression"
|
7906
7926
|
}
|
7907
7927
|
},
|
7908
7928
|
{
|
7909
|
-
"name": "
|
7910
|
-
"default": "
|
7911
|
-
"description": "
|
7929
|
+
"name": "overlay-style",
|
7930
|
+
"default": "-",
|
7931
|
+
"description": "Custom overlay style",
|
7912
7932
|
"options": [],
|
7913
7933
|
"value": {
|
7914
|
-
"type": "
|
7934
|
+
"type": "object",
|
7915
7935
|
"kind": "expression"
|
7916
7936
|
}
|
7917
7937
|
},
|
7918
7938
|
{
|
7919
|
-
"name": "
|
7920
|
-
"default": "
|
7921
|
-
"description": "
|
7939
|
+
"name": "show-arrow",
|
7940
|
+
"default": "`true`",
|
7941
|
+
"description": "Whether to show arrow",
|
7922
7942
|
"options": [],
|
7923
7943
|
"value": {
|
7924
|
-
"type": "
|
7944
|
+
"type": "boolean",
|
7925
7945
|
"kind": "expression"
|
7926
7946
|
}
|
7927
7947
|
},
|
7928
7948
|
{
|
7929
|
-
"name": "
|
7930
|
-
"default": "`
|
7931
|
-
"description": "
|
7949
|
+
"name": "close-on-click-action",
|
7950
|
+
"default": "`true`",
|
7951
|
+
"description": "Whether to close when clicking action",
|
7932
7952
|
"options": [],
|
7933
7953
|
"value": {
|
7934
|
-
"type": "
|
7954
|
+
"type": "boolean",
|
7935
7955
|
"kind": "expression"
|
7936
7956
|
}
|
7937
7957
|
},
|
7938
7958
|
{
|
7939
|
-
"name": "
|
7940
|
-
"default": "
|
7941
|
-
"description": "
|
7959
|
+
"name": "close-on-click-outside",
|
7960
|
+
"default": "`true`",
|
7961
|
+
"description": "Whether to close when clicking outside",
|
7942
7962
|
"options": [],
|
7943
7963
|
"value": {
|
7944
|
-
"type": "
|
7964
|
+
"type": "boolean",
|
7945
7965
|
"kind": "expression"
|
7946
7966
|
}
|
7947
7967
|
},
|
7948
7968
|
{
|
7949
|
-
"name": "
|
7950
|
-
"default": "`
|
7951
|
-
"description": "Whether to
|
7969
|
+
"name": "close-on-click-overlay",
|
7970
|
+
"default": "`true`",
|
7971
|
+
"description": "Whether to close when clicking overlay",
|
7952
7972
|
"options": [],
|
7953
7973
|
"value": {
|
7954
7974
|
"type": "boolean",
|
@@ -7957,8 +7977,8 @@
|
|
7957
7977
|
},
|
7958
7978
|
{
|
7959
7979
|
"name": "teleport",
|
7960
|
-
"default": "
|
7961
|
-
"description": "Specifies a target element where
|
7980
|
+
"default": "`body`",
|
7981
|
+
"description": "Specifies a target element where Popover will be mounted",
|
7962
7982
|
"options": [],
|
7963
7983
|
"value": {
|
7964
7984
|
"type": "string | Element",
|
@@ -7966,22 +7986,12 @@
|
|
7966
7986
|
}
|
7967
7987
|
},
|
7968
7988
|
{
|
7969
|
-
"name": "
|
7970
|
-
"default": "`
|
7971
|
-
"description": "
|
7972
|
-
"options": [],
|
7973
|
-
"value": {
|
7974
|
-
"type": "boolean",
|
7975
|
-
"kind": "expression"
|
7976
|
-
}
|
7977
|
-
},
|
7978
|
-
{
|
7979
|
-
"name": "safe-area-inset-bottom",
|
7980
|
-
"default": "`false`",
|
7981
|
-
"description": "Whether to enable bottom safe area adaptation",
|
7989
|
+
"name": "icon-prefix",
|
7990
|
+
"default": "`van-icon`",
|
7991
|
+
"description": "Icon className prefix",
|
7982
7992
|
"options": [],
|
7983
7993
|
"value": {
|
7984
|
-
"type": "
|
7994
|
+
"type": "string",
|
7985
7995
|
"kind": "expression"
|
7986
7996
|
}
|
7987
7997
|
}
|
@@ -9386,6 +9396,68 @@
|
|
9386
9396
|
}
|
9387
9397
|
]
|
9388
9398
|
},
|
9399
|
+
{
|
9400
|
+
"name": "van-space",
|
9401
|
+
"slots": [
|
9402
|
+
{
|
9403
|
+
"name": "default",
|
9404
|
+
"description": "Default slot"
|
9405
|
+
}
|
9406
|
+
],
|
9407
|
+
"events": [],
|
9408
|
+
"attributes": [
|
9409
|
+
{
|
9410
|
+
"name": "direction",
|
9411
|
+
"default": "`horizontal`",
|
9412
|
+
"description": "Spacing direction",
|
9413
|
+
"options": [],
|
9414
|
+
"value": {
|
9415
|
+
"type": "vertical | horizontal",
|
9416
|
+
"kind": "expression"
|
9417
|
+
}
|
9418
|
+
},
|
9419
|
+
{
|
9420
|
+
"name": "size",
|
9421
|
+
"default": "`8px`",
|
9422
|
+
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9423
|
+
"options": [],
|
9424
|
+
"value": {
|
9425
|
+
"type": "number | string | number[] | string[]",
|
9426
|
+
"kind": "expression"
|
9427
|
+
}
|
9428
|
+
},
|
9429
|
+
{
|
9430
|
+
"name": "align",
|
9431
|
+
"default": "-",
|
9432
|
+
"description": "Spacing alignment",
|
9433
|
+
"options": [],
|
9434
|
+
"value": {
|
9435
|
+
"type": "start | end | center | baseline",
|
9436
|
+
"kind": "expression"
|
9437
|
+
}
|
9438
|
+
},
|
9439
|
+
{
|
9440
|
+
"name": "wrap",
|
9441
|
+
"default": "`false`",
|
9442
|
+
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9443
|
+
"options": [],
|
9444
|
+
"value": {
|
9445
|
+
"type": "boolean",
|
9446
|
+
"kind": "expression"
|
9447
|
+
}
|
9448
|
+
},
|
9449
|
+
{
|
9450
|
+
"name": "fill",
|
9451
|
+
"default": "`false`",
|
9452
|
+
"description": "Whether to render Space as a block element and fill the parent element",
|
9453
|
+
"options": [],
|
9454
|
+
"value": {
|
9455
|
+
"type": "boolean",
|
9456
|
+
"kind": "expression"
|
9457
|
+
}
|
9458
|
+
}
|
9459
|
+
]
|
9460
|
+
},
|
9389
9461
|
{
|
9390
9462
|
"name": "van-slider",
|
9391
9463
|
"slots": [
|
@@ -9576,68 +9648,6 @@
|
|
9576
9648
|
}
|
9577
9649
|
]
|
9578
9650
|
},
|
9579
|
-
{
|
9580
|
-
"name": "van-space",
|
9581
|
-
"slots": [
|
9582
|
-
{
|
9583
|
-
"name": "default",
|
9584
|
-
"description": "Default slot"
|
9585
|
-
}
|
9586
|
-
],
|
9587
|
-
"events": [],
|
9588
|
-
"attributes": [
|
9589
|
-
{
|
9590
|
-
"name": "direction",
|
9591
|
-
"default": "`horizontal`",
|
9592
|
-
"description": "Spacing direction",
|
9593
|
-
"options": [],
|
9594
|
-
"value": {
|
9595
|
-
"type": "vertical | horizontal",
|
9596
|
-
"kind": "expression"
|
9597
|
-
}
|
9598
|
-
},
|
9599
|
-
{
|
9600
|
-
"name": "size",
|
9601
|
-
"default": "`8px`",
|
9602
|
-
"description": "Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing",
|
9603
|
-
"options": [],
|
9604
|
-
"value": {
|
9605
|
-
"type": "number | string | number[] | string[]",
|
9606
|
-
"kind": "expression"
|
9607
|
-
}
|
9608
|
-
},
|
9609
|
-
{
|
9610
|
-
"name": "align",
|
9611
|
-
"default": "-",
|
9612
|
-
"description": "Spacing alignment",
|
9613
|
-
"options": [],
|
9614
|
-
"value": {
|
9615
|
-
"type": "start | end | center | baseline",
|
9616
|
-
"kind": "expression"
|
9617
|
-
}
|
9618
|
-
},
|
9619
|
-
{
|
9620
|
-
"name": "wrap",
|
9621
|
-
"default": "`false`",
|
9622
|
-
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9623
|
-
"options": [],
|
9624
|
-
"value": {
|
9625
|
-
"type": "boolean",
|
9626
|
-
"kind": "expression"
|
9627
|
-
}
|
9628
|
-
},
|
9629
|
-
{
|
9630
|
-
"name": "fill",
|
9631
|
-
"default": "`false`",
|
9632
|
-
"description": "Whether to render Space as a block element and fill the parent element",
|
9633
|
-
"options": [],
|
9634
|
-
"value": {
|
9635
|
-
"type": "boolean",
|
9636
|
-
"kind": "expression"
|
9637
|
-
}
|
9638
|
-
}
|
9639
|
-
]
|
9640
|
-
},
|
9641
9651
|
{
|
9642
9652
|
"name": "van-stepper",
|
9643
9653
|
"slots": [],
|