vant 3.5.4 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/changelog.generated.md +30 -33
- 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/Badge.mjs +1 -1
- package/es/badge/index.d.ts +1 -1
- package/es/calendar/Calendar.mjs +7 -7
- 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-global-z-index.d.ts +4 -0
- package/es/composables/use-global-z-index.mjs +9 -0
- package/es/composables/use-height.mjs +2 -0
- package/es/composables/use-lazy-render.mjs +9 -5
- package/es/composables/use-lock-scroll.mjs +7 -2
- package/es/composables/use-visibility-change.mjs +6 -3
- package/es/config-provider/ConfigProvider.d.ts +4 -1
- package/es/config-provider/ConfigProvider.mjs +8 -1
- package/es/config-provider/index.d.ts +3 -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/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/DropdownMenu.mjs +2 -1
- package/es/dropdown-menu/index.d.ts +1 -1
- package/es/empty/Empty.d.ts +2 -2
- package/es/empty/Empty.mjs +281 -16
- package/es/empty/index.d.ts +1 -1
- package/es/field/Field.mjs +14 -4
- package/es/field/types.d.ts +1 -0
- package/es/field/utils.d.ts +1 -0
- package/es/field/utils.mjs +8 -2
- 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-preview/ImagePreviewItem.mjs +11 -3
- package/es/index-anchor/IndexAnchor.d.ts +1 -1
- package/es/index-anchor/index.d.ts +1 -1
- package/es/index-bar/IndexBar.mjs +9 -4
- package/es/index.d.ts +2 -1
- package/es/index.mjs +4 -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/list/List.mjs +2 -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/NumberKeyboard.mjs +1 -2
- package/es/number-keyboard/NumberKeyboardKey.mjs +2 -2
- 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/password-input/PasswordInput.mjs +1 -1
- package/es/picker/Picker.mjs +7 -3
- package/es/picker/PickerColumn.mjs +7 -3
- package/es/popover/Popover.mjs +11 -9
- package/es/popup/Popup.d.ts +2 -2
- package/es/popup/Popup.mjs +6 -5
- 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/pull-refresh/PullRefresh.mjs +7 -3
- 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/search/index.css +1 -1
- package/es/search/index.less +3 -1
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/index.d.ts +1 -1
- package/es/slider/Slider.mjs +7 -3
- package/es/space/Space.d.ts +48 -0
- package/es/space/Space.mjs +87 -0
- package/es/space/index.css +1 -0
- package/es/space/index.d.ts +37 -0
- package/es/space/index.less +38 -0
- package/es/space/index.mjs +8 -0
- package/es/space/style/index.d.ts +1 -0
- package/es/space/style/index.mjs +2 -0
- package/es/space/style/less.d.ts +1 -0
- package/es/space/style/less.mjs +2 -0
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.mjs +1 -1
- package/es/sticky/Sticky.mjs +2 -1
- package/es/swipe/Swipe.mjs +14 -7
- package/es/swipe-cell/SwipeCell.d.ts +2 -2
- package/es/swipe-cell/SwipeCell.mjs +5 -3
- 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/index.d.ts +1 -1
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.mjs +12 -2
- package/es/tabs/TabsContent.mjs +4 -0
- package/es/tabs/TabsTitle.d.ts +1 -1
- package/es/tabs/index.d.ts +1 -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/es/vue-tsx-shim.d.ts +7 -0
- 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/Badge.js +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 +11 -8
- 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-global-z-index.d.ts +4 -0
- package/lib/composables/use-global-z-index.js +28 -0
- package/lib/composables/use-height.js +2 -0
- package/lib/composables/use-lazy-render.js +9 -5
- package/lib/composables/use-lock-scroll.js +7 -2
- package/lib/composables/use-visibility-change.js +6 -3
- package/lib/config-provider/ConfigProvider.d.ts +4 -1
- package/lib/config-provider/ConfigProvider.js +7 -0
- package/lib/config-provider/index.d.ts +3 -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/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/DropdownMenu.js +2 -1
- package/lib/dropdown-menu/index.d.ts +1 -1
- package/lib/dropdown-menu/index.js +4 -1
- package/lib/empty/Empty.d.ts +2 -2
- package/lib/empty/Empty.js +281 -16
- package/lib/empty/index.d.ts +1 -1
- package/lib/empty/index.js +4 -1
- package/lib/field/Field.js +12 -2
- package/lib/field/index.js +4 -1
- package/lib/field/types.d.ts +1 -0
- package/lib/field/utils.d.ts +1 -0
- package/lib/field/utils.js +8 -2
- 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/index.js +4 -1
- package/lib/image-preview/ImagePreview.js +4 -1
- package/lib/image-preview/ImagePreviewItem.js +10 -2
- 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 +9 -4
- package/lib/index-bar/index.js +4 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -1
- package/lib/index.less +1 -0
- 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/List.js +2 -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 +5 -3
- package/lib/number-keyboard/NumberKeyboardKey.js +2 -2
- 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/PasswordInput.js +1 -1
- package/lib/password-input/index.js +4 -1
- package/lib/picker/Picker.js +10 -3
- package/lib/picker/PickerColumn.js +6 -2
- package/lib/picker/index.js +4 -1
- package/lib/popover/Popover.js +10 -8
- package/lib/popover/index.js +4 -1
- package/lib/popup/Popup.d.ts +2 -2
- package/lib/popup/Popup.js +6 -5
- 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/PullRefresh.js +6 -2
- 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.css +1 -1
- package/lib/search/index.js +4 -1
- package/lib/search/index.less +3 -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 +6 -2
- package/lib/slider/index.js +4 -1
- package/lib/space/Space.d.ts +48 -0
- package/lib/space/Space.js +106 -0
- package/lib/space/index.css +1 -0
- package/lib/space/index.d.ts +37 -0
- package/lib/space/index.js +33 -0
- package/lib/space/index.less +38 -0
- package/lib/space/style/index.d.ts +1 -0
- package/lib/space/style/index.js +2 -0
- package/lib/space/style/less.d.ts +1 -0
- package/lib/space/style/less.js +2 -0
- 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/Stepper.js +1 -1
- package/lib/stepper/index.js +4 -1
- package/lib/steps/index.js +4 -1
- package/lib/sticky/Sticky.js +2 -1
- package/lib/sticky/index.js +4 -1
- package/lib/submit-bar/index.js +4 -1
- package/lib/swipe/Swipe.js +13 -6
- package/lib/swipe/index.js +4 -1
- package/lib/swipe-cell/SwipeCell.d.ts +2 -2
- package/lib/swipe-cell/SwipeCell.js +4 -2
- 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/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 +16 -3
- package/lib/tabs/TabsContent.js +4 -0
- 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/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 +1408 -1170
- package/lib/vant.es.js +1409 -1171
- package/lib/vant.js +1460 -1198
- package/lib/vant.min.js +1 -1
- package/lib/vue-tsx-shim.d.ts +7 -0
- package/lib/web-types.json +1822 -1750
- package/package.json +8 -8
- package/es/empty/Images.d.ts +0 -4
- package/es/empty/Images.mjs +0 -271
- package/lib/empty/Images.d.ts +0 -4
- package/lib/empty/Images.js +0 -290
package/lib/web-types.json
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.
|
5
|
+
"version": "3.6.2",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
9
9
|
{
|
10
|
-
"name": "action-bar",
|
10
|
+
"name": "van-action-bar",
|
11
11
|
"slots": [],
|
12
12
|
"events": [],
|
13
13
|
"attributes": [
|
@@ -34,7 +34,7 @@
|
|
34
34
|
]
|
35
35
|
},
|
36
36
|
{
|
37
|
-
"name": "action-bar-icon",
|
37
|
+
"name": "van-action-bar-icon",
|
38
38
|
"slots": [
|
39
39
|
{
|
40
40
|
"name": "default",
|
@@ -160,7 +160,7 @@
|
|
160
160
|
]
|
161
161
|
},
|
162
162
|
{
|
163
|
-
"name": "action-bar-button",
|
163
|
+
"name": "van-action-bar-button",
|
164
164
|
"slots": [
|
165
165
|
{
|
166
166
|
"name": "default",
|
@@ -262,101 +262,115 @@
|
|
262
262
|
]
|
263
263
|
},
|
264
264
|
{
|
265
|
-
"name": "
|
265
|
+
"name": "van-address-edit",
|
266
266
|
"slots": [
|
267
267
|
{
|
268
268
|
"name": "default",
|
269
|
-
"description": "Custom content"
|
270
|
-
},
|
271
|
-
{
|
272
|
-
"name": "description",
|
273
|
-
"description": "Custom description above the options"
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"name": "cancel",
|
277
|
-
"description": "Custom the content of cancel button"
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"name": "action",
|
281
|
-
"description": "Custom the content of action"
|
269
|
+
"description": "Custom content below postal"
|
282
270
|
}
|
283
271
|
],
|
284
272
|
"events": [
|
285
273
|
{
|
286
|
-
"name": "
|
287
|
-
"description": "Emitted when
|
274
|
+
"name": "save",
|
275
|
+
"description": "Emitted when the save button is clicked",
|
288
276
|
"arguments": [
|
289
277
|
{
|
290
|
-
"name": "
|
291
|
-
"type": "
|
292
|
-
}
|
278
|
+
"name": "content",
|
279
|
+
"type": "form content"
|
280
|
+
}
|
281
|
+
]
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"name": "focus",
|
285
|
+
"description": "Emitted when field is focused",
|
286
|
+
"arguments": [
|
293
287
|
{
|
294
|
-
"name": "
|
295
|
-
"type": "
|
288
|
+
"name": "key",
|
289
|
+
"type": "field name"
|
296
290
|
}
|
297
291
|
]
|
298
292
|
},
|
299
293
|
{
|
300
|
-
"name": "
|
301
|
-
"description": "Emitted when
|
302
|
-
"arguments": [
|
294
|
+
"name": "delete",
|
295
|
+
"description": "Emitted when confirming delete",
|
296
|
+
"arguments": [
|
297
|
+
{
|
298
|
+
"name": "content",
|
299
|
+
"type": "form content"
|
300
|
+
}
|
301
|
+
]
|
303
302
|
},
|
304
303
|
{
|
305
|
-
"name": "
|
306
|
-
"description": "Emitted when
|
307
|
-
"arguments": [
|
304
|
+
"name": "select-search",
|
305
|
+
"description": "Emitted when a search result is selected",
|
306
|
+
"arguments": [
|
307
|
+
{
|
308
|
+
"name": "value",
|
309
|
+
"type": "search content"
|
310
|
+
}
|
311
|
+
]
|
308
312
|
},
|
309
313
|
{
|
310
|
-
"name": "
|
311
|
-
"description": "Emitted when
|
314
|
+
"name": "click-area",
|
315
|
+
"description": "Emitted when the area field is clicked",
|
312
316
|
"arguments": []
|
313
317
|
},
|
314
318
|
{
|
315
|
-
"name": "
|
316
|
-
"description": "Emitted when
|
317
|
-
"arguments": [
|
319
|
+
"name": "change-area",
|
320
|
+
"description": "Emitted when area changed",
|
321
|
+
"arguments": [
|
322
|
+
{
|
323
|
+
"name": "values",
|
324
|
+
"type": "area values"
|
325
|
+
}
|
326
|
+
]
|
318
327
|
},
|
319
328
|
{
|
320
|
-
"name": "
|
321
|
-
"description": "Emitted when
|
322
|
-
"arguments": [
|
329
|
+
"name": "change-detail",
|
330
|
+
"description": "Emitted when address detail changed",
|
331
|
+
"arguments": [
|
332
|
+
{
|
333
|
+
"name": "value",
|
334
|
+
"type": "address detail"
|
335
|
+
}
|
336
|
+
]
|
323
337
|
},
|
324
338
|
{
|
325
|
-
"name": "
|
326
|
-
"description": "Emitted when
|
339
|
+
"name": "change-default",
|
340
|
+
"description": "Emitted when switching default address",
|
327
341
|
"arguments": [
|
328
342
|
{
|
329
|
-
"name": "
|
330
|
-
"type": "
|
343
|
+
"name": "value",
|
344
|
+
"type": "checked"
|
331
345
|
}
|
332
346
|
]
|
333
347
|
}
|
334
348
|
],
|
335
349
|
"attributes": [
|
336
350
|
{
|
337
|
-
"name": "
|
338
|
-
"default": "
|
339
|
-
"description": "
|
351
|
+
"name": "area-list",
|
352
|
+
"default": "-",
|
353
|
+
"description": "Area List",
|
340
354
|
"options": [],
|
341
355
|
"value": {
|
342
|
-
"type": "
|
356
|
+
"type": "object",
|
343
357
|
"kind": "expression"
|
344
358
|
}
|
345
359
|
},
|
346
360
|
{
|
347
|
-
"name": "
|
361
|
+
"name": "area-columns-placeholder",
|
348
362
|
"default": "`[]`",
|
349
|
-
"description": "
|
363
|
+
"description": "placeholder of area columns",
|
350
364
|
"options": [],
|
351
365
|
"value": {
|
352
|
-
"type": "
|
366
|
+
"type": "string[]",
|
353
367
|
"kind": "expression"
|
354
368
|
}
|
355
369
|
},
|
356
370
|
{
|
357
|
-
"name": "
|
358
|
-
"default": "
|
359
|
-
"description": "
|
371
|
+
"name": "area-placeholder",
|
372
|
+
"default": "`Area`",
|
373
|
+
"description": "placeholder of area input field",
|
360
374
|
"options": [],
|
361
375
|
"value": {
|
362
376
|
"type": "string",
|
@@ -364,29 +378,29 @@
|
|
364
378
|
}
|
365
379
|
},
|
366
380
|
{
|
367
|
-
"name": "
|
368
|
-
"default": "
|
369
|
-
"description": "
|
381
|
+
"name": "address-info",
|
382
|
+
"default": "`{}`",
|
383
|
+
"description": "Address Info",
|
370
384
|
"options": [],
|
371
385
|
"value": {
|
372
|
-
"type": "
|
386
|
+
"type": "AddressEditInfo",
|
373
387
|
"kind": "expression"
|
374
388
|
}
|
375
389
|
},
|
376
390
|
{
|
377
|
-
"name": "
|
378
|
-
"default": "
|
379
|
-
"description": "
|
391
|
+
"name": "search-result",
|
392
|
+
"default": "`[]`",
|
393
|
+
"description": "Address search result",
|
380
394
|
"options": [],
|
381
395
|
"value": {
|
382
|
-
"type": "
|
396
|
+
"type": "AddressEditSearchItem[]",
|
383
397
|
"kind": "expression"
|
384
398
|
}
|
385
399
|
},
|
386
400
|
{
|
387
|
-
"name": "
|
388
|
-
"default": "`
|
389
|
-
"description": "Whether to show
|
401
|
+
"name": "show-postal",
|
402
|
+
"default": "`false`",
|
403
|
+
"description": "Whether to show postal field",
|
390
404
|
"options": [],
|
391
405
|
"value": {
|
392
406
|
"type": "boolean",
|
@@ -394,29 +408,39 @@
|
|
394
408
|
}
|
395
409
|
},
|
396
410
|
{
|
397
|
-
"name": "
|
398
|
-
"default": "`
|
399
|
-
"description": "
|
411
|
+
"name": "show-delete",
|
412
|
+
"default": "`false`",
|
413
|
+
"description": "Whether to show delete button",
|
400
414
|
"options": [],
|
401
415
|
"value": {
|
402
|
-
"type": "
|
416
|
+
"type": "boolean",
|
403
417
|
"kind": "expression"
|
404
418
|
}
|
405
419
|
},
|
406
420
|
{
|
407
|
-
"name": "
|
408
|
-
"default": "`
|
409
|
-
"description": "
|
421
|
+
"name": "show-set-default",
|
422
|
+
"default": "`false`",
|
423
|
+
"description": "Whether to show default address switch",
|
410
424
|
"options": [],
|
411
425
|
"value": {
|
412
|
-
"type": "
|
426
|
+
"type": "boolean",
|
413
427
|
"kind": "expression"
|
414
428
|
}
|
415
429
|
},
|
416
430
|
{
|
417
|
-
"name": "
|
431
|
+
"name": "show-search-result",
|
432
|
+
"default": "`false`",
|
433
|
+
"description": "Whether to show address search result",
|
434
|
+
"options": [],
|
435
|
+
"value": {
|
436
|
+
"type": "boolean",
|
437
|
+
"kind": "expression"
|
438
|
+
}
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"name": "show-area",
|
418
442
|
"default": "`true`",
|
419
|
-
"description": "Whether to show
|
443
|
+
"description": "Whether to show area cell",
|
420
444
|
"options": [],
|
421
445
|
"value": {
|
422
446
|
"type": "boolean",
|
@@ -424,9 +448,9 @@
|
|
424
448
|
}
|
425
449
|
},
|
426
450
|
{
|
427
|
-
"name": "
|
451
|
+
"name": "show-detail",
|
428
452
|
"default": "`true`",
|
429
|
-
"description": "Whether to show
|
453
|
+
"description": "Whether to show detail field",
|
430
454
|
"options": [],
|
431
455
|
"value": {
|
432
456
|
"type": "boolean",
|
@@ -434,59 +458,59 @@
|
|
434
458
|
}
|
435
459
|
},
|
436
460
|
{
|
437
|
-
"name": "
|
438
|
-
"default": "
|
439
|
-
"description": "
|
461
|
+
"name": "disable-area",
|
462
|
+
"default": "`false`",
|
463
|
+
"description": "Whether to disable area select",
|
440
464
|
"options": [],
|
441
465
|
"value": {
|
442
|
-
"type": "
|
466
|
+
"type": "boolean",
|
443
467
|
"kind": "expression"
|
444
468
|
}
|
445
469
|
},
|
446
470
|
{
|
447
|
-
"name": "
|
448
|
-
"default": "
|
449
|
-
"description": "
|
471
|
+
"name": "save-button-text",
|
472
|
+
"default": "`Save`",
|
473
|
+
"description": "Save button text",
|
450
474
|
"options": [],
|
451
475
|
"value": {
|
452
|
-
"type": "
|
476
|
+
"type": "string",
|
453
477
|
"kind": "expression"
|
454
478
|
}
|
455
479
|
},
|
456
480
|
{
|
457
|
-
"name": "
|
458
|
-
"default": "`
|
459
|
-
"description": "
|
481
|
+
"name": "delete-button-text",
|
482
|
+
"default": "`Delete`",
|
483
|
+
"description": "Delete button text",
|
460
484
|
"options": [],
|
461
485
|
"value": {
|
462
|
-
"type": "
|
486
|
+
"type": "string",
|
463
487
|
"kind": "expression"
|
464
488
|
}
|
465
489
|
},
|
466
490
|
{
|
467
|
-
"name": "
|
468
|
-
"default": "`
|
469
|
-
"description": "
|
491
|
+
"name": "detail-rows",
|
492
|
+
"default": "`1`",
|
493
|
+
"description": "Detail input rows",
|
470
494
|
"options": [],
|
471
495
|
"value": {
|
472
|
-
"type": "
|
496
|
+
"type": "number | string",
|
473
497
|
"kind": "expression"
|
474
498
|
}
|
475
499
|
},
|
476
500
|
{
|
477
|
-
"name": "
|
478
|
-
"default": "`
|
479
|
-
"description": "
|
501
|
+
"name": "detail-maxlength",
|
502
|
+
"default": "`200`",
|
503
|
+
"description": "Detail maxlength",
|
480
504
|
"options": [],
|
481
505
|
"value": {
|
482
|
-
"type": "
|
506
|
+
"type": "number | string",
|
483
507
|
"kind": "expression"
|
484
508
|
}
|
485
509
|
},
|
486
510
|
{
|
487
|
-
"name": "
|
511
|
+
"name": "is-saving",
|
488
512
|
"default": "`false`",
|
489
|
-
"description": "Whether to
|
513
|
+
"description": "Whether to show save button loading status",
|
490
514
|
"options": [],
|
491
515
|
"value": {
|
492
516
|
"type": "boolean",
|
@@ -494,9 +518,9 @@
|
|
494
518
|
}
|
495
519
|
},
|
496
520
|
{
|
497
|
-
"name": "
|
498
|
-
"default": "`
|
499
|
-
"description": "Whether to
|
521
|
+
"name": "is-deleting",
|
522
|
+
"default": "`false`",
|
523
|
+
"description": "Whether to show delete button loading status",
|
500
524
|
"options": [],
|
501
525
|
"value": {
|
502
526
|
"type": "boolean",
|
@@ -504,147 +528,149 @@
|
|
504
528
|
}
|
505
529
|
},
|
506
530
|
{
|
507
|
-
"name": "
|
508
|
-
"default": "
|
509
|
-
"description": "
|
531
|
+
"name": "tel-validator",
|
532
|
+
"default": "-",
|
533
|
+
"description": "The method to validate tel",
|
510
534
|
"options": [],
|
511
535
|
"value": {
|
512
|
-
"type": "boolean",
|
536
|
+
"type": "(tel: string) => boolean",
|
513
537
|
"kind": "expression"
|
514
538
|
}
|
515
539
|
},
|
516
540
|
{
|
517
|
-
"name": "
|
541
|
+
"name": "tel-maxlength",
|
518
542
|
"default": "-",
|
519
|
-
"description": "
|
543
|
+
"description": "Tel maxlength",
|
520
544
|
"options": [],
|
521
545
|
"value": {
|
522
|
-
"type": "
|
546
|
+
"type": "number | string",
|
523
547
|
"kind": "expression"
|
524
548
|
}
|
525
549
|
},
|
526
550
|
{
|
527
|
-
"name": "
|
551
|
+
"name": "postal-validator",
|
528
552
|
"default": "-",
|
529
|
-
"description": "
|
553
|
+
"description": "The method to validate postal",
|
530
554
|
"options": [],
|
531
555
|
"value": {
|
532
|
-
"type": "(
|
556
|
+
"type": "(tel: string) => boolean",
|
557
|
+
"kind": "expression"
|
558
|
+
}
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"name": "validator",
|
562
|
+
"default": "-",
|
563
|
+
"description": "Custom validator",
|
564
|
+
"options": [],
|
565
|
+
"value": {
|
566
|
+
"type": "(key, val) => string",
|
533
567
|
"kind": "expression"
|
534
568
|
}
|
535
569
|
}
|
536
570
|
]
|
537
571
|
},
|
538
572
|
{
|
539
|
-
"name": "address-
|
573
|
+
"name": "van-address-list",
|
540
574
|
"slots": [
|
541
575
|
{
|
542
576
|
"name": "default",
|
543
|
-
"description": "Custom content
|
544
|
-
}
|
545
|
-
],
|
546
|
-
"events": [
|
577
|
+
"description": "Custom content after list"
|
578
|
+
},
|
547
579
|
{
|
548
|
-
"name": "
|
549
|
-
"description": "
|
550
|
-
"arguments": [
|
551
|
-
{
|
552
|
-
"name": "content",
|
553
|
-
"type": "form content"
|
554
|
-
}
|
555
|
-
]
|
580
|
+
"name": "top",
|
581
|
+
"description": "Custom content before list"
|
556
582
|
},
|
557
583
|
{
|
558
|
-
"name": "
|
559
|
-
"description": "
|
560
|
-
"arguments": [
|
561
|
-
{
|
562
|
-
"name": "key",
|
563
|
-
"type": "field name"
|
564
|
-
}
|
565
|
-
]
|
584
|
+
"name": "item-bottom",
|
585
|
+
"description": "Custom content after list item"
|
566
586
|
},
|
567
587
|
{
|
568
|
-
"name": "
|
569
|
-
"description": "
|
588
|
+
"name": "tag",
|
589
|
+
"description": "Custom tag of list item"
|
590
|
+
}
|
591
|
+
],
|
592
|
+
"events": [
|
593
|
+
{
|
594
|
+
"name": "add",
|
595
|
+
"description": "Emitted when the add button is clicked",
|
596
|
+
"arguments": []
|
597
|
+
},
|
598
|
+
{
|
599
|
+
"name": "edit",
|
600
|
+
"description": "Emitted when the edit icon of address is clicked",
|
570
601
|
"arguments": [
|
571
602
|
{
|
572
|
-
"name": "
|
573
|
-
"type": "
|
603
|
+
"name": "item",
|
604
|
+
"type": "Address"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"name": "index",
|
608
|
+
"type": "number"
|
574
609
|
}
|
575
610
|
]
|
576
611
|
},
|
577
612
|
{
|
578
|
-
"name": "select
|
579
|
-
"description": "Emitted when
|
613
|
+
"name": "select",
|
614
|
+
"description": "Emitted when an address is selected",
|
580
615
|
"arguments": [
|
581
616
|
{
|
582
|
-
"name": "
|
583
|
-
"type": "
|
617
|
+
"name": "item",
|
618
|
+
"type": "Address"
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"name": "index",
|
622
|
+
"type": "number"
|
584
623
|
}
|
585
624
|
]
|
586
625
|
},
|
587
626
|
{
|
588
|
-
"name": "
|
589
|
-
"description": "Emitted when the
|
590
|
-
"arguments": []
|
591
|
-
},
|
592
|
-
{
|
593
|
-
"name": "change-area",
|
594
|
-
"description": "Emitted when area changed",
|
627
|
+
"name": "edit-disabled",
|
628
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
595
629
|
"arguments": [
|
596
630
|
{
|
597
|
-
"name": "
|
598
|
-
"type": "
|
631
|
+
"name": "item",
|
632
|
+
"type": "Address"
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"name": "index",
|
636
|
+
"type": "number"
|
599
637
|
}
|
600
638
|
]
|
601
639
|
},
|
602
640
|
{
|
603
|
-
"name": "
|
604
|
-
"description": "Emitted when address
|
641
|
+
"name": "select-disabled",
|
642
|
+
"description": "Emitted when a disabled address is selected",
|
605
643
|
"arguments": [
|
606
644
|
{
|
607
|
-
"name": "
|
608
|
-
"type": "
|
645
|
+
"name": "item",
|
646
|
+
"type": "Address"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"name": "index",
|
650
|
+
"type": "number"
|
609
651
|
}
|
610
652
|
]
|
611
653
|
},
|
612
654
|
{
|
613
|
-
"name": "
|
614
|
-
"description": "Emitted when
|
655
|
+
"name": "click-item",
|
656
|
+
"description": "Emitted when an address item is clicked",
|
615
657
|
"arguments": [
|
616
658
|
{
|
617
|
-
"name": "
|
618
|
-
"type": "
|
659
|
+
"name": "item",
|
660
|
+
"type": "Address"
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"name": "index",
|
664
|
+
"type": "number"
|
619
665
|
}
|
620
666
|
]
|
621
667
|
}
|
622
668
|
],
|
623
669
|
"attributes": [
|
624
670
|
{
|
625
|
-
"name": "
|
671
|
+
"name": "v-model",
|
626
672
|
"default": "-",
|
627
|
-
"description": "
|
628
|
-
"options": [],
|
629
|
-
"value": {
|
630
|
-
"type": "object",
|
631
|
-
"kind": "expression"
|
632
|
-
}
|
633
|
-
},
|
634
|
-
{
|
635
|
-
"name": "area-columns-placeholder",
|
636
|
-
"default": "`[]`",
|
637
|
-
"description": "placeholder of area columns",
|
638
|
-
"options": [],
|
639
|
-
"value": {
|
640
|
-
"type": "string[]",
|
641
|
-
"kind": "expression"
|
642
|
-
}
|
643
|
-
},
|
644
|
-
{
|
645
|
-
"name": "area-placeholder",
|
646
|
-
"default": "`Area`",
|
647
|
-
"description": "placeholder of area input field",
|
673
|
+
"description": "Id of chosen address",
|
648
674
|
"options": [],
|
649
675
|
"value": {
|
650
676
|
"type": "string",
|
@@ -652,39 +678,39 @@
|
|
652
678
|
}
|
653
679
|
},
|
654
680
|
{
|
655
|
-
"name": "
|
656
|
-
"default": "`
|
657
|
-
"description": "Address
|
681
|
+
"name": "list",
|
682
|
+
"default": "`[]`",
|
683
|
+
"description": "Address list",
|
658
684
|
"options": [],
|
659
685
|
"value": {
|
660
|
-
"type": "
|
686
|
+
"type": "Address[]",
|
661
687
|
"kind": "expression"
|
662
688
|
}
|
663
689
|
},
|
664
690
|
{
|
665
|
-
"name": "
|
691
|
+
"name": "disabled-list",
|
666
692
|
"default": "`[]`",
|
667
|
-
"description": "
|
693
|
+
"description": "Disabled address list",
|
668
694
|
"options": [],
|
669
695
|
"value": {
|
670
|
-
"type": "
|
696
|
+
"type": "Address[]",
|
671
697
|
"kind": "expression"
|
672
698
|
}
|
673
699
|
},
|
674
700
|
{
|
675
|
-
"name": "
|
676
|
-
"default": "
|
677
|
-
"description": "
|
701
|
+
"name": "disabled-text",
|
702
|
+
"default": "-",
|
703
|
+
"description": "Disabled text",
|
678
704
|
"options": [],
|
679
705
|
"value": {
|
680
|
-
"type": "
|
706
|
+
"type": "string",
|
681
707
|
"kind": "expression"
|
682
708
|
}
|
683
709
|
},
|
684
710
|
{
|
685
|
-
"name": "
|
686
|
-
"default": "`
|
687
|
-
"description": "Whether to
|
711
|
+
"name": "switchable",
|
712
|
+
"default": "`true`",
|
713
|
+
"description": "Whether to allow switch address",
|
688
714
|
"options": [],
|
689
715
|
"value": {
|
690
716
|
"type": "boolean",
|
@@ -692,49 +718,65 @@
|
|
692
718
|
}
|
693
719
|
},
|
694
720
|
{
|
695
|
-
"name": "
|
696
|
-
"default": "`
|
697
|
-
"description": "
|
721
|
+
"name": "add-button-text",
|
722
|
+
"default": "`Add new address`",
|
723
|
+
"description": "Add button text",
|
698
724
|
"options": [],
|
699
725
|
"value": {
|
700
|
-
"type": "
|
726
|
+
"type": "string",
|
701
727
|
"kind": "expression"
|
702
728
|
}
|
703
729
|
},
|
704
730
|
{
|
705
|
-
"name": "
|
706
|
-
"default": "
|
707
|
-
"description": "
|
731
|
+
"name": "default-tag-text",
|
732
|
+
"default": "-",
|
733
|
+
"description": "Default tag text",
|
708
734
|
"options": [],
|
709
735
|
"value": {
|
710
|
-
"type": "
|
736
|
+
"type": "string",
|
711
737
|
"kind": "expression"
|
712
738
|
}
|
739
|
+
}
|
740
|
+
]
|
741
|
+
},
|
742
|
+
{
|
743
|
+
"name": "van-badge",
|
744
|
+
"slots": [
|
745
|
+
{
|
746
|
+
"name": "default",
|
747
|
+
"description": "Default slot"
|
713
748
|
},
|
714
749
|
{
|
715
|
-
"name": "
|
716
|
-
"
|
717
|
-
|
750
|
+
"name": "content",
|
751
|
+
"description": "Custom badge content"
|
752
|
+
}
|
753
|
+
],
|
754
|
+
"events": [],
|
755
|
+
"attributes": [
|
756
|
+
{
|
757
|
+
"name": "content",
|
758
|
+
"default": "-",
|
759
|
+
"description": "Badge content",
|
718
760
|
"options": [],
|
719
761
|
"value": {
|
720
|
-
"type": "
|
762
|
+
"type": "number | string",
|
721
763
|
"kind": "expression"
|
722
764
|
}
|
723
765
|
},
|
724
766
|
{
|
725
|
-
"name": "
|
726
|
-
"default": "`
|
727
|
-
"description": "
|
767
|
+
"name": "color",
|
768
|
+
"default": "`#ee0a24`",
|
769
|
+
"description": "Background color",
|
728
770
|
"options": [],
|
729
771
|
"value": {
|
730
|
-
"type": "
|
772
|
+
"type": "string",
|
731
773
|
"kind": "expression"
|
732
774
|
}
|
733
775
|
},
|
734
776
|
{
|
735
|
-
"name": "
|
777
|
+
"name": "dot",
|
736
778
|
"default": "`false`",
|
737
|
-
"description": "Whether to
|
779
|
+
"description": "Whether to show dot",
|
738
780
|
"options": [],
|
739
781
|
"value": {
|
740
782
|
"type": "boolean",
|
@@ -742,291 +784,61 @@
|
|
742
784
|
}
|
743
785
|
},
|
744
786
|
{
|
745
|
-
"name": "
|
746
|
-
"default": "
|
747
|
-
"description": "
|
787
|
+
"name": "max",
|
788
|
+
"default": "-",
|
789
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
748
790
|
"options": [],
|
749
791
|
"value": {
|
750
|
-
"type": "string",
|
792
|
+
"type": "number | string",
|
751
793
|
"kind": "expression"
|
752
794
|
}
|
753
795
|
},
|
754
796
|
{
|
755
|
-
"name": "
|
756
|
-
"default": "
|
757
|
-
"description": "
|
797
|
+
"name": "offset",
|
798
|
+
"default": "-",
|
799
|
+
"description": "Offset of badge dot",
|
758
800
|
"options": [],
|
759
801
|
"value": {
|
760
|
-
"type": "string",
|
802
|
+
"type": "[number | string, number | string]",
|
761
803
|
"kind": "expression"
|
762
804
|
}
|
763
805
|
},
|
764
806
|
{
|
765
|
-
"name": "
|
766
|
-
"default": "`
|
767
|
-
"description": "
|
807
|
+
"name": "show-zero",
|
808
|
+
"default": "`true`",
|
809
|
+
"description": "Whether to show badge when content is zero",
|
768
810
|
"options": [],
|
769
811
|
"value": {
|
770
|
-
"type": "
|
812
|
+
"type": "boolean",
|
771
813
|
"kind": "expression"
|
772
814
|
}
|
773
815
|
},
|
774
816
|
{
|
775
|
-
"name": "
|
776
|
-
"default": "`
|
777
|
-
"description": "
|
817
|
+
"name": "position",
|
818
|
+
"default": "`top-right`",
|
819
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
778
820
|
"options": [],
|
779
821
|
"value": {
|
780
|
-
"type": "
|
822
|
+
"type": "string",
|
781
823
|
"kind": "expression"
|
782
824
|
}
|
825
|
+
}
|
826
|
+
]
|
827
|
+
},
|
828
|
+
{
|
829
|
+
"name": "van-area",
|
830
|
+
"slots": [
|
831
|
+
{
|
832
|
+
"name": "toolbar",
|
833
|
+
"description": "Custom toolbar content"
|
783
834
|
},
|
784
835
|
{
|
785
|
-
"name": "
|
786
|
-
"
|
787
|
-
"description": "Whether to show save button loading status",
|
788
|
-
"options": [],
|
789
|
-
"value": {
|
790
|
-
"type": "boolean",
|
791
|
-
"kind": "expression"
|
792
|
-
}
|
836
|
+
"name": "title",
|
837
|
+
"description": "Custom title"
|
793
838
|
},
|
794
839
|
{
|
795
|
-
"name": "
|
796
|
-
"
|
797
|
-
"description": "Whether to show delete button loading status",
|
798
|
-
"options": [],
|
799
|
-
"value": {
|
800
|
-
"type": "boolean",
|
801
|
-
"kind": "expression"
|
802
|
-
}
|
803
|
-
},
|
804
|
-
{
|
805
|
-
"name": "tel-validator",
|
806
|
-
"default": "-",
|
807
|
-
"description": "The method to validate tel",
|
808
|
-
"options": [],
|
809
|
-
"value": {
|
810
|
-
"type": "(tel: string) => boolean",
|
811
|
-
"kind": "expression"
|
812
|
-
}
|
813
|
-
},
|
814
|
-
{
|
815
|
-
"name": "tel-maxlength",
|
816
|
-
"default": "-",
|
817
|
-
"description": "Tel maxlength",
|
818
|
-
"options": [],
|
819
|
-
"value": {
|
820
|
-
"type": "number | string",
|
821
|
-
"kind": "expression"
|
822
|
-
}
|
823
|
-
},
|
824
|
-
{
|
825
|
-
"name": "postal-validator",
|
826
|
-
"default": "-",
|
827
|
-
"description": "The method to validate postal",
|
828
|
-
"options": [],
|
829
|
-
"value": {
|
830
|
-
"type": "(tel: string) => boolean",
|
831
|
-
"kind": "expression"
|
832
|
-
}
|
833
|
-
},
|
834
|
-
{
|
835
|
-
"name": "validator",
|
836
|
-
"default": "-",
|
837
|
-
"description": "Custom validator",
|
838
|
-
"options": [],
|
839
|
-
"value": {
|
840
|
-
"type": "(key, val) => string",
|
841
|
-
"kind": "expression"
|
842
|
-
}
|
843
|
-
}
|
844
|
-
]
|
845
|
-
},
|
846
|
-
{
|
847
|
-
"name": "address-list",
|
848
|
-
"slots": [
|
849
|
-
{
|
850
|
-
"name": "default",
|
851
|
-
"description": "Custom content after list"
|
852
|
-
},
|
853
|
-
{
|
854
|
-
"name": "top",
|
855
|
-
"description": "Custom content before list"
|
856
|
-
},
|
857
|
-
{
|
858
|
-
"name": "item-bottom",
|
859
|
-
"description": "Custom content after list item"
|
860
|
-
},
|
861
|
-
{
|
862
|
-
"name": "tag",
|
863
|
-
"description": "Custom tag of list item"
|
864
|
-
}
|
865
|
-
],
|
866
|
-
"events": [
|
867
|
-
{
|
868
|
-
"name": "add",
|
869
|
-
"description": "Emitted when the add button is clicked",
|
870
|
-
"arguments": []
|
871
|
-
},
|
872
|
-
{
|
873
|
-
"name": "edit",
|
874
|
-
"description": "Emitted when the edit icon of address is clicked",
|
875
|
-
"arguments": [
|
876
|
-
{
|
877
|
-
"name": "item",
|
878
|
-
"type": "Address"
|
879
|
-
},
|
880
|
-
{
|
881
|
-
"name": "index",
|
882
|
-
"type": "number"
|
883
|
-
}
|
884
|
-
]
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"name": "select",
|
888
|
-
"description": "Emitted when an address is selected",
|
889
|
-
"arguments": [
|
890
|
-
{
|
891
|
-
"name": "item",
|
892
|
-
"type": "Address"
|
893
|
-
},
|
894
|
-
{
|
895
|
-
"name": "index",
|
896
|
-
"type": "number"
|
897
|
-
}
|
898
|
-
]
|
899
|
-
},
|
900
|
-
{
|
901
|
-
"name": "edit-disabled",
|
902
|
-
"description": "Emitted when the edit icon of disabled address is clicked",
|
903
|
-
"arguments": [
|
904
|
-
{
|
905
|
-
"name": "item",
|
906
|
-
"type": "Address"
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"name": "index",
|
910
|
-
"type": "number"
|
911
|
-
}
|
912
|
-
]
|
913
|
-
},
|
914
|
-
{
|
915
|
-
"name": "select-disabled",
|
916
|
-
"description": "Emitted when a disabled address is selected",
|
917
|
-
"arguments": [
|
918
|
-
{
|
919
|
-
"name": "item",
|
920
|
-
"type": "Address"
|
921
|
-
},
|
922
|
-
{
|
923
|
-
"name": "index",
|
924
|
-
"type": "number"
|
925
|
-
}
|
926
|
-
]
|
927
|
-
},
|
928
|
-
{
|
929
|
-
"name": "click-item",
|
930
|
-
"description": "Emitted when an address item is clicked",
|
931
|
-
"arguments": [
|
932
|
-
{
|
933
|
-
"name": "item",
|
934
|
-
"type": "Address"
|
935
|
-
},
|
936
|
-
{
|
937
|
-
"name": "index",
|
938
|
-
"type": "number"
|
939
|
-
}
|
940
|
-
]
|
941
|
-
}
|
942
|
-
],
|
943
|
-
"attributes": [
|
944
|
-
{
|
945
|
-
"name": "v-model",
|
946
|
-
"default": "-",
|
947
|
-
"description": "Id of chosen address",
|
948
|
-
"options": [],
|
949
|
-
"value": {
|
950
|
-
"type": "string",
|
951
|
-
"kind": "expression"
|
952
|
-
}
|
953
|
-
},
|
954
|
-
{
|
955
|
-
"name": "list",
|
956
|
-
"default": "`[]`",
|
957
|
-
"description": "Address list",
|
958
|
-
"options": [],
|
959
|
-
"value": {
|
960
|
-
"type": "Address[]",
|
961
|
-
"kind": "expression"
|
962
|
-
}
|
963
|
-
},
|
964
|
-
{
|
965
|
-
"name": "disabled-list",
|
966
|
-
"default": "`[]`",
|
967
|
-
"description": "Disabled address list",
|
968
|
-
"options": [],
|
969
|
-
"value": {
|
970
|
-
"type": "Address[]",
|
971
|
-
"kind": "expression"
|
972
|
-
}
|
973
|
-
},
|
974
|
-
{
|
975
|
-
"name": "disabled-text",
|
976
|
-
"default": "-",
|
977
|
-
"description": "Disabled text",
|
978
|
-
"options": [],
|
979
|
-
"value": {
|
980
|
-
"type": "string",
|
981
|
-
"kind": "expression"
|
982
|
-
}
|
983
|
-
},
|
984
|
-
{
|
985
|
-
"name": "switchable",
|
986
|
-
"default": "`true`",
|
987
|
-
"description": "Whether to allow switch address",
|
988
|
-
"options": [],
|
989
|
-
"value": {
|
990
|
-
"type": "boolean",
|
991
|
-
"kind": "expression"
|
992
|
-
}
|
993
|
-
},
|
994
|
-
{
|
995
|
-
"name": "add-button-text",
|
996
|
-
"default": "`Add new address`",
|
997
|
-
"description": "Add button text",
|
998
|
-
"options": [],
|
999
|
-
"value": {
|
1000
|
-
"type": "string",
|
1001
|
-
"kind": "expression"
|
1002
|
-
}
|
1003
|
-
},
|
1004
|
-
{
|
1005
|
-
"name": "default-tag-text",
|
1006
|
-
"default": "-",
|
1007
|
-
"description": "Default tag text",
|
1008
|
-
"options": [],
|
1009
|
-
"value": {
|
1010
|
-
"type": "string",
|
1011
|
-
"kind": "expression"
|
1012
|
-
}
|
1013
|
-
}
|
1014
|
-
]
|
1015
|
-
},
|
1016
|
-
{
|
1017
|
-
"name": "area",
|
1018
|
-
"slots": [
|
1019
|
-
{
|
1020
|
-
"name": "toolbar",
|
1021
|
-
"description": "Custom toolbar content"
|
1022
|
-
},
|
1023
|
-
{
|
1024
|
-
"name": "title",
|
1025
|
-
"description": "Custom title"
|
1026
|
-
},
|
1027
|
-
{
|
1028
|
-
"name": "confirm",
|
1029
|
-
"description": "Custom confirm button text"
|
840
|
+
"name": "confirm",
|
841
|
+
"description": "Custom confirm button text"
|
1030
842
|
},
|
1031
843
|
{
|
1032
844
|
"name": "cancel",
|
@@ -1206,43 +1018,81 @@
|
|
1206
1018
|
]
|
1207
1019
|
},
|
1208
1020
|
{
|
1209
|
-
"name": "
|
1021
|
+
"name": "van-action-sheet",
|
1210
1022
|
"slots": [
|
1211
1023
|
{
|
1212
1024
|
"name": "default",
|
1213
|
-
"description": "
|
1025
|
+
"description": "Custom content"
|
1214
1026
|
},
|
1215
1027
|
{
|
1216
|
-
"name": "
|
1217
|
-
"description": "Custom
|
1218
|
-
}
|
1219
|
-
],
|
1220
|
-
"events": [],
|
1221
|
-
"attributes": [
|
1222
|
-
{
|
1223
|
-
"name": "content",
|
1224
|
-
"default": "-",
|
1225
|
-
"description": "Badge content",
|
1226
|
-
"options": [],
|
1227
|
-
"value": {
|
1228
|
-
"type": "number | string",
|
1229
|
-
"kind": "expression"
|
1230
|
-
}
|
1028
|
+
"name": "description",
|
1029
|
+
"description": "Custom description above the options"
|
1231
1030
|
},
|
1232
1031
|
{
|
1233
|
-
"name": "
|
1234
|
-
"
|
1235
|
-
"description": "Background color",
|
1236
|
-
"options": [],
|
1237
|
-
"value": {
|
1238
|
-
"type": "string",
|
1239
|
-
"kind": "expression"
|
1240
|
-
}
|
1032
|
+
"name": "cancel",
|
1033
|
+
"description": "Custom the content of cancel button"
|
1241
1034
|
},
|
1242
1035
|
{
|
1243
|
-
"name": "
|
1244
|
-
"
|
1245
|
-
|
1036
|
+
"name": "action",
|
1037
|
+
"description": "Custom the content of action"
|
1038
|
+
}
|
1039
|
+
],
|
1040
|
+
"events": [
|
1041
|
+
{
|
1042
|
+
"name": "select",
|
1043
|
+
"description": "Emitted when an option is clicked",
|
1044
|
+
"arguments": [
|
1045
|
+
{
|
1046
|
+
"name": "action",
|
1047
|
+
"type": "ActionSheetAction"
|
1048
|
+
},
|
1049
|
+
{
|
1050
|
+
"name": "index",
|
1051
|
+
"type": "number"
|
1052
|
+
}
|
1053
|
+
]
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"name": "cancel",
|
1057
|
+
"description": "Emitted when the cancel button is clicked",
|
1058
|
+
"arguments": []
|
1059
|
+
},
|
1060
|
+
{
|
1061
|
+
"name": "open",
|
1062
|
+
"description": "Emitted when opening ActionSheet",
|
1063
|
+
"arguments": []
|
1064
|
+
},
|
1065
|
+
{
|
1066
|
+
"name": "close",
|
1067
|
+
"description": "Emitted when closing ActionSheet",
|
1068
|
+
"arguments": []
|
1069
|
+
},
|
1070
|
+
{
|
1071
|
+
"name": "opened",
|
1072
|
+
"description": "Emitted when ActionSheet is opened",
|
1073
|
+
"arguments": []
|
1074
|
+
},
|
1075
|
+
{
|
1076
|
+
"name": "closed",
|
1077
|
+
"description": "Emitted when ActionSheet is closed",
|
1078
|
+
"arguments": []
|
1079
|
+
},
|
1080
|
+
{
|
1081
|
+
"name": "click-overlay",
|
1082
|
+
"description": "Emitted when overlay is clicked",
|
1083
|
+
"arguments": [
|
1084
|
+
{
|
1085
|
+
"name": "event",
|
1086
|
+
"type": "MouseEvent"
|
1087
|
+
}
|
1088
|
+
]
|
1089
|
+
}
|
1090
|
+
],
|
1091
|
+
"attributes": [
|
1092
|
+
{
|
1093
|
+
"name": "v-model:show",
|
1094
|
+
"default": "`false`",
|
1095
|
+
"description": "Whether to show ActionSheet",
|
1246
1096
|
"options": [],
|
1247
1097
|
"value": {
|
1248
1098
|
"type": "boolean",
|
@@ -1250,29 +1100,49 @@
|
|
1250
1100
|
}
|
1251
1101
|
},
|
1252
1102
|
{
|
1253
|
-
"name": "
|
1103
|
+
"name": "actions",
|
1104
|
+
"default": "`[]`",
|
1105
|
+
"description": "Options",
|
1106
|
+
"options": [],
|
1107
|
+
"value": {
|
1108
|
+
"type": "ActionSheetAction[]",
|
1109
|
+
"kind": "expression"
|
1110
|
+
}
|
1111
|
+
},
|
1112
|
+
{
|
1113
|
+
"name": "title",
|
1254
1114
|
"default": "-",
|
1255
|
-
"description": "
|
1115
|
+
"description": "Title",
|
1256
1116
|
"options": [],
|
1257
1117
|
"value": {
|
1258
|
-
"type": "
|
1118
|
+
"type": "string",
|
1259
1119
|
"kind": "expression"
|
1260
1120
|
}
|
1261
1121
|
},
|
1262
1122
|
{
|
1263
|
-
"name": "
|
1123
|
+
"name": "cancel-text",
|
1264
1124
|
"default": "-",
|
1265
|
-
"description": "
|
1125
|
+
"description": "Text of cancel button",
|
1266
1126
|
"options": [],
|
1267
1127
|
"value": {
|
1268
|
-
"type": "
|
1128
|
+
"type": "string",
|
1269
1129
|
"kind": "expression"
|
1270
1130
|
}
|
1271
1131
|
},
|
1272
1132
|
{
|
1273
|
-
"name": "
|
1133
|
+
"name": "description",
|
1134
|
+
"default": "-",
|
1135
|
+
"description": "Description above the options",
|
1136
|
+
"options": [],
|
1137
|
+
"value": {
|
1138
|
+
"type": "string",
|
1139
|
+
"kind": "expression"
|
1140
|
+
}
|
1141
|
+
},
|
1142
|
+
{
|
1143
|
+
"name": "closeable",
|
1274
1144
|
"default": "`true`",
|
1275
|
-
"description": "Whether to show
|
1145
|
+
"description": "Whether to show close icon",
|
1276
1146
|
"options": [],
|
1277
1147
|
"value": {
|
1278
1148
|
"type": "boolean",
|
@@ -1280,19 +1150,149 @@
|
|
1280
1150
|
}
|
1281
1151
|
},
|
1282
1152
|
{
|
1283
|
-
"name": "
|
1284
|
-
"default": "`
|
1285
|
-
"description": "
|
1153
|
+
"name": "close-icon",
|
1154
|
+
"default": "`cross`",
|
1155
|
+
"description": "Close icon name",
|
1286
1156
|
"options": [],
|
1287
1157
|
"value": {
|
1288
1158
|
"type": "string",
|
1289
1159
|
"kind": "expression"
|
1290
1160
|
}
|
1161
|
+
},
|
1162
|
+
{
|
1163
|
+
"name": "duration",
|
1164
|
+
"default": "`0.3`",
|
1165
|
+
"description": "Transition duration, unit second",
|
1166
|
+
"options": [],
|
1167
|
+
"value": {
|
1168
|
+
"type": "number | string",
|
1169
|
+
"kind": "expression"
|
1170
|
+
}
|
1171
|
+
},
|
1172
|
+
{
|
1173
|
+
"name": "round",
|
1174
|
+
"default": "`true`",
|
1175
|
+
"description": "Whether to show round corner",
|
1176
|
+
"options": [],
|
1177
|
+
"value": {
|
1178
|
+
"type": "boolean",
|
1179
|
+
"kind": "expression"
|
1180
|
+
}
|
1181
|
+
},
|
1182
|
+
{
|
1183
|
+
"name": "overlay",
|
1184
|
+
"default": "`true`",
|
1185
|
+
"description": "Whether to show overlay",
|
1186
|
+
"options": [],
|
1187
|
+
"value": {
|
1188
|
+
"type": "boolean",
|
1189
|
+
"kind": "expression"
|
1190
|
+
}
|
1191
|
+
},
|
1192
|
+
{
|
1193
|
+
"name": "overlay-class",
|
1194
|
+
"default": "-",
|
1195
|
+
"description": "Custom overlay class",
|
1196
|
+
"options": [],
|
1197
|
+
"value": {
|
1198
|
+
"type": "string | Array | object",
|
1199
|
+
"kind": "expression"
|
1200
|
+
}
|
1201
|
+
},
|
1202
|
+
{
|
1203
|
+
"name": "overlay-style",
|
1204
|
+
"default": "-",
|
1205
|
+
"description": "Custom overlay style",
|
1206
|
+
"options": [],
|
1207
|
+
"value": {
|
1208
|
+
"type": "object",
|
1209
|
+
"kind": "expression"
|
1210
|
+
}
|
1211
|
+
},
|
1212
|
+
{
|
1213
|
+
"name": "lock-scroll",
|
1214
|
+
"default": "`true`",
|
1215
|
+
"description": "Whether to lock background scroll",
|
1216
|
+
"options": [],
|
1217
|
+
"value": {
|
1218
|
+
"type": "boolean",
|
1219
|
+
"kind": "expression"
|
1220
|
+
}
|
1221
|
+
},
|
1222
|
+
{
|
1223
|
+
"name": "lazy-render",
|
1224
|
+
"default": "`true`",
|
1225
|
+
"description": "Whether to lazy render util appeared",
|
1226
|
+
"options": [],
|
1227
|
+
"value": {
|
1228
|
+
"type": "boolean",
|
1229
|
+
"kind": "expression"
|
1230
|
+
}
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
"name": "close-on-popstate",
|
1234
|
+
"default": "`true`",
|
1235
|
+
"description": "Whether to close when popstate",
|
1236
|
+
"options": [],
|
1237
|
+
"value": {
|
1238
|
+
"type": "boolean",
|
1239
|
+
"kind": "expression"
|
1240
|
+
}
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"name": "close-on-click-action",
|
1244
|
+
"default": "`false`",
|
1245
|
+
"description": "Whether to close when an action is clicked",
|
1246
|
+
"options": [],
|
1247
|
+
"value": {
|
1248
|
+
"type": "boolean",
|
1249
|
+
"kind": "expression"
|
1250
|
+
}
|
1251
|
+
},
|
1252
|
+
{
|
1253
|
+
"name": "close-on-click-overlay",
|
1254
|
+
"default": "`true`",
|
1255
|
+
"description": "Whether to close when overlay is clicked",
|
1256
|
+
"options": [],
|
1257
|
+
"value": {
|
1258
|
+
"type": "boolean",
|
1259
|
+
"kind": "expression"
|
1260
|
+
}
|
1261
|
+
},
|
1262
|
+
{
|
1263
|
+
"name": "safe-area-inset-bottom",
|
1264
|
+
"default": "`true`",
|
1265
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1266
|
+
"options": [],
|
1267
|
+
"value": {
|
1268
|
+
"type": "boolean",
|
1269
|
+
"kind": "expression"
|
1270
|
+
}
|
1271
|
+
},
|
1272
|
+
{
|
1273
|
+
"name": "teleport",
|
1274
|
+
"default": "-",
|
1275
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1276
|
+
"options": [],
|
1277
|
+
"value": {
|
1278
|
+
"type": "string | Element",
|
1279
|
+
"kind": "expression"
|
1280
|
+
}
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"name": "before-close",
|
1284
|
+
"default": "-",
|
1285
|
+
"description": "Callback function before close",
|
1286
|
+
"options": [],
|
1287
|
+
"value": {
|
1288
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1289
|
+
"kind": "expression"
|
1290
|
+
}
|
1291
1291
|
}
|
1292
1292
|
]
|
1293
1293
|
},
|
1294
1294
|
{
|
1295
|
-
"name": "button",
|
1295
|
+
"name": "van-button",
|
1296
1296
|
"slots": [
|
1297
1297
|
{
|
1298
1298
|
"name": "default",
|
@@ -1543,7 +1543,7 @@
|
|
1543
1543
|
]
|
1544
1544
|
},
|
1545
1545
|
{
|
1546
|
-
"name": "calendar",
|
1546
|
+
"name": "van-calendar",
|
1547
1547
|
"slots": [
|
1548
1548
|
{
|
1549
1549
|
"name": "title",
|
@@ -1971,7 +1971,7 @@
|
|
1971
1971
|
]
|
1972
1972
|
},
|
1973
1973
|
{
|
1974
|
-
"name": "card",
|
1974
|
+
"name": "van-card",
|
1975
1975
|
"slots": [
|
1976
1976
|
{
|
1977
1977
|
"name": "title",
|
@@ -2154,7 +2154,7 @@
|
|
2154
2154
|
]
|
2155
2155
|
},
|
2156
2156
|
{
|
2157
|
-
"name": "cascader",
|
2157
|
+
"name": "van-cascader",
|
2158
2158
|
"slots": [
|
2159
2159
|
{
|
2160
2160
|
"name": "title",
|
@@ -2316,7 +2316,7 @@
|
|
2316
2316
|
]
|
2317
2317
|
},
|
2318
2318
|
{
|
2319
|
-
"name": "cell-group",
|
2319
|
+
"name": "van-cell-group",
|
2320
2320
|
"slots": [
|
2321
2321
|
{
|
2322
2322
|
"name": "default",
|
@@ -2362,7 +2362,7 @@
|
|
2362
2362
|
]
|
2363
2363
|
},
|
2364
2364
|
{
|
2365
|
-
"name": "cell",
|
2365
|
+
"name": "van-cell",
|
2366
2366
|
"slots": [
|
2367
2367
|
{
|
2368
2368
|
"name": "title",
|
@@ -2595,7 +2595,7 @@
|
|
2595
2595
|
]
|
2596
2596
|
},
|
2597
2597
|
{
|
2598
|
-
"name": "checkbox",
|
2598
|
+
"name": "van-checkbox",
|
2599
2599
|
"slots": [
|
2600
2600
|
{
|
2601
2601
|
"name": "default",
|
@@ -2722,7 +2722,7 @@
|
|
2722
2722
|
]
|
2723
2723
|
},
|
2724
2724
|
{
|
2725
|
-
"name": "checkbox-group",
|
2725
|
+
"name": "van-checkbox-group",
|
2726
2726
|
"slots": [],
|
2727
2727
|
"events": [
|
2728
2728
|
{
|
@@ -2800,7 +2800,7 @@
|
|
2800
2800
|
]
|
2801
2801
|
},
|
2802
2802
|
{
|
2803
|
-
"name": "circle",
|
2803
|
+
"name": "van-circle",
|
2804
2804
|
"slots": [
|
2805
2805
|
{
|
2806
2806
|
"name": "default",
|
@@ -2932,7 +2932,7 @@
|
|
2932
2932
|
]
|
2933
2933
|
},
|
2934
2934
|
{
|
2935
|
-
"name": "row",
|
2935
|
+
"name": "van-row",
|
2936
2936
|
"slots": [],
|
2937
2937
|
"events": [
|
2938
2938
|
{
|
@@ -3000,7 +3000,7 @@
|
|
3000
3000
|
]
|
3001
3001
|
},
|
3002
3002
|
{
|
3003
|
-
"name": "col",
|
3003
|
+
"name": "van-col",
|
3004
3004
|
"slots": [],
|
3005
3005
|
"events": [
|
3006
3006
|
{
|
@@ -3048,7 +3048,7 @@
|
|
3048
3048
|
]
|
3049
3049
|
},
|
3050
3050
|
{
|
3051
|
-
"name": "collapse",
|
3051
|
+
"name": "van-collapse",
|
3052
3052
|
"slots": [],
|
3053
3053
|
"events": [
|
3054
3054
|
{
|
@@ -3096,7 +3096,7 @@
|
|
3096
3096
|
]
|
3097
3097
|
},
|
3098
3098
|
{
|
3099
|
-
"name": "collapse-item",
|
3099
|
+
"name": "van-collapse-item",
|
3100
3100
|
"slots": [
|
3101
3101
|
{
|
3102
3102
|
"name": "default",
|
@@ -3268,7 +3268,7 @@
|
|
3268
3268
|
]
|
3269
3269
|
},
|
3270
3270
|
{
|
3271
|
-
"name": "config-provider",
|
3271
|
+
"name": "van-config-provider",
|
3272
3272
|
"slots": [],
|
3273
3273
|
"events": [],
|
3274
3274
|
"attributes": [
|
@@ -3292,6 +3292,16 @@
|
|
3292
3292
|
"kind": "expression"
|
3293
3293
|
}
|
3294
3294
|
},
|
3295
|
+
{
|
3296
|
+
"name": "z-index",
|
3297
|
+
"default": "`2000`",
|
3298
|
+
"description": "Set the z-index of all popup components, this property takes effect globally",
|
3299
|
+
"options": [],
|
3300
|
+
"value": {
|
3301
|
+
"type": "number",
|
3302
|
+
"kind": "expression"
|
3303
|
+
}
|
3304
|
+
},
|
3295
3305
|
{
|
3296
3306
|
"name": "icon-prefix",
|
3297
3307
|
"default": "`van-icon`",
|
@@ -3305,25 +3315,384 @@
|
|
3305
3315
|
]
|
3306
3316
|
},
|
3307
3317
|
{
|
3308
|
-
"name": "contact-card",
|
3318
|
+
"name": "van-contact-card",
|
3309
3319
|
"slots": [],
|
3310
3320
|
"events": [
|
3311
3321
|
{
|
3312
|
-
"name": "click",
|
3313
|
-
"description": "Emitted when component is clicked",
|
3322
|
+
"name": "click",
|
3323
|
+
"description": "Emitted when component is clicked",
|
3324
|
+
"arguments": [
|
3325
|
+
{
|
3326
|
+
"name": "event",
|
3327
|
+
"type": "MouseEvent"
|
3328
|
+
}
|
3329
|
+
]
|
3330
|
+
}
|
3331
|
+
],
|
3332
|
+
"attributes": [
|
3333
|
+
{
|
3334
|
+
"name": "type",
|
3335
|
+
"default": "`add`",
|
3336
|
+
"description": "Can be set to `edit`",
|
3337
|
+
"options": [],
|
3338
|
+
"value": {
|
3339
|
+
"type": "string",
|
3340
|
+
"kind": "expression"
|
3341
|
+
}
|
3342
|
+
},
|
3343
|
+
{
|
3344
|
+
"name": "name",
|
3345
|
+
"default": "-",
|
3346
|
+
"description": "Name",
|
3347
|
+
"options": [],
|
3348
|
+
"value": {
|
3349
|
+
"type": "string",
|
3350
|
+
"kind": "expression"
|
3351
|
+
}
|
3352
|
+
},
|
3353
|
+
{
|
3354
|
+
"name": "tel",
|
3355
|
+
"default": "-",
|
3356
|
+
"description": "Phone",
|
3357
|
+
"options": [],
|
3358
|
+
"value": {
|
3359
|
+
"type": "string",
|
3360
|
+
"kind": "expression"
|
3361
|
+
}
|
3362
|
+
},
|
3363
|
+
{
|
3364
|
+
"name": "add-text",
|
3365
|
+
"default": "`Add contact info`",
|
3366
|
+
"description": "Add card text",
|
3367
|
+
"options": [],
|
3368
|
+
"value": {
|
3369
|
+
"type": "string",
|
3370
|
+
"kind": "expression"
|
3371
|
+
}
|
3372
|
+
},
|
3373
|
+
{
|
3374
|
+
"name": "editable",
|
3375
|
+
"default": "`true`",
|
3376
|
+
"description": "Whether to allow editing of contacts",
|
3377
|
+
"options": [],
|
3378
|
+
"value": {
|
3379
|
+
"type": "boolean",
|
3380
|
+
"kind": "expression"
|
3381
|
+
}
|
3382
|
+
}
|
3383
|
+
]
|
3384
|
+
},
|
3385
|
+
{
|
3386
|
+
"name": "van-contact-edit",
|
3387
|
+
"slots": [],
|
3388
|
+
"events": [
|
3389
|
+
{
|
3390
|
+
"name": "save",
|
3391
|
+
"description": "Emitted when the save button is clicked",
|
3392
|
+
"arguments": [
|
3393
|
+
{
|
3394
|
+
"name": "content",
|
3395
|
+
"type": "contact info"
|
3396
|
+
}
|
3397
|
+
]
|
3398
|
+
},
|
3399
|
+
{
|
3400
|
+
"name": "delete",
|
3401
|
+
"description": "Emitted when the delete button is clicked",
|
3402
|
+
"arguments": [
|
3403
|
+
{
|
3404
|
+
"name": "content",
|
3405
|
+
"type": "contact info"
|
3406
|
+
}
|
3407
|
+
]
|
3408
|
+
}
|
3409
|
+
],
|
3410
|
+
"attributes": [
|
3411
|
+
{
|
3412
|
+
"name": "contact-info",
|
3413
|
+
"default": "`[]`",
|
3414
|
+
"description": "Contact Info",
|
3415
|
+
"options": [],
|
3416
|
+
"value": {
|
3417
|
+
"type": "Contact",
|
3418
|
+
"kind": "expression"
|
3419
|
+
}
|
3420
|
+
},
|
3421
|
+
{
|
3422
|
+
"name": "is-edit",
|
3423
|
+
"default": "`false`",
|
3424
|
+
"description": "Whether is editing",
|
3425
|
+
"options": [],
|
3426
|
+
"value": {
|
3427
|
+
"type": "boolean",
|
3428
|
+
"kind": "expression"
|
3429
|
+
}
|
3430
|
+
},
|
3431
|
+
{
|
3432
|
+
"name": "is-saving",
|
3433
|
+
"default": "`false`",
|
3434
|
+
"description": "Whether to show save button loading status",
|
3435
|
+
"options": [],
|
3436
|
+
"value": {
|
3437
|
+
"type": "boolean",
|
3438
|
+
"kind": "expression"
|
3439
|
+
}
|
3440
|
+
},
|
3441
|
+
{
|
3442
|
+
"name": "is-deleting",
|
3443
|
+
"default": "`false`",
|
3444
|
+
"description": "Whether to show delete button loading status",
|
3445
|
+
"options": [],
|
3446
|
+
"value": {
|
3447
|
+
"type": "boolean",
|
3448
|
+
"kind": "expression"
|
3449
|
+
}
|
3450
|
+
},
|
3451
|
+
{
|
3452
|
+
"name": "tel-validator",
|
3453
|
+
"default": "-",
|
3454
|
+
"description": "The method to validate tel",
|
3455
|
+
"options": [],
|
3456
|
+
"value": {
|
3457
|
+
"type": "(tel: string) => boolean",
|
3458
|
+
"kind": "expression"
|
3459
|
+
}
|
3460
|
+
},
|
3461
|
+
{
|
3462
|
+
"name": "show-set-default",
|
3463
|
+
"default": "`false`",
|
3464
|
+
"description": "Whether to show default contact switch",
|
3465
|
+
"options": [],
|
3466
|
+
"value": {
|
3467
|
+
"type": "boolean",
|
3468
|
+
"kind": "expression"
|
3469
|
+
}
|
3470
|
+
},
|
3471
|
+
{
|
3472
|
+
"name": "set-default-label",
|
3473
|
+
"default": "-",
|
3474
|
+
"description": "default contact switch label",
|
3475
|
+
"options": [],
|
3476
|
+
"value": {
|
3477
|
+
"type": "string",
|
3478
|
+
"kind": "expression"
|
3479
|
+
}
|
3480
|
+
}
|
3481
|
+
]
|
3482
|
+
},
|
3483
|
+
{
|
3484
|
+
"name": "van-contact-list",
|
3485
|
+
"slots": [],
|
3486
|
+
"events": [
|
3487
|
+
{
|
3488
|
+
"name": "add",
|
3489
|
+
"description": "Emitted when the add button is clicked",
|
3490
|
+
"arguments": []
|
3491
|
+
},
|
3492
|
+
{
|
3493
|
+
"name": "edit",
|
3494
|
+
"description": "Emitted when the edit button is clicked",
|
3495
|
+
"arguments": [
|
3496
|
+
{
|
3497
|
+
"name": "contact",
|
3498
|
+
"type": "Contact"
|
3499
|
+
},
|
3500
|
+
{
|
3501
|
+
"name": "index",
|
3502
|
+
"type": "number"
|
3503
|
+
}
|
3504
|
+
]
|
3505
|
+
},
|
3506
|
+
{
|
3507
|
+
"name": "select",
|
3508
|
+
"description": "Emitted when a contact is selected",
|
3509
|
+
"arguments": [
|
3510
|
+
{
|
3511
|
+
"name": "contact",
|
3512
|
+
"type": "Contact"
|
3513
|
+
},
|
3514
|
+
{
|
3515
|
+
"name": "index",
|
3516
|
+
"type": "number"
|
3517
|
+
}
|
3518
|
+
]
|
3519
|
+
}
|
3520
|
+
],
|
3521
|
+
"attributes": [
|
3522
|
+
{
|
3523
|
+
"name": "v-model",
|
3524
|
+
"default": "-",
|
3525
|
+
"description": "Id of chosen contact",
|
3526
|
+
"options": [],
|
3527
|
+
"value": {
|
3528
|
+
"type": "number | string",
|
3529
|
+
"kind": "expression"
|
3530
|
+
}
|
3531
|
+
},
|
3532
|
+
{
|
3533
|
+
"name": "list",
|
3534
|
+
"default": "`[]`",
|
3535
|
+
"description": "Contact list",
|
3536
|
+
"options": [],
|
3537
|
+
"value": {
|
3538
|
+
"type": "Contact[]",
|
3539
|
+
"kind": "expression"
|
3540
|
+
}
|
3541
|
+
},
|
3542
|
+
{
|
3543
|
+
"name": "add-text",
|
3544
|
+
"default": "`Add new contact`",
|
3545
|
+
"description": "Add button text",
|
3546
|
+
"options": [],
|
3547
|
+
"value": {
|
3548
|
+
"type": "string",
|
3549
|
+
"kind": "expression"
|
3550
|
+
}
|
3551
|
+
},
|
3552
|
+
{
|
3553
|
+
"name": "default-tag-text",
|
3554
|
+
"default": "-",
|
3555
|
+
"description": "Default tag text",
|
3556
|
+
"options": [],
|
3557
|
+
"value": {
|
3558
|
+
"type": "string",
|
3559
|
+
"kind": "expression"
|
3560
|
+
}
|
3561
|
+
}
|
3562
|
+
]
|
3563
|
+
},
|
3564
|
+
{
|
3565
|
+
"name": "van-count-down",
|
3566
|
+
"slots": [
|
3567
|
+
{
|
3568
|
+
"name": "default",
|
3569
|
+
"description": "Custom Content"
|
3570
|
+
}
|
3571
|
+
],
|
3572
|
+
"events": [
|
3573
|
+
{
|
3574
|
+
"name": "finish",
|
3575
|
+
"description": "Emitted when count down finished",
|
3576
|
+
"arguments": []
|
3577
|
+
},
|
3578
|
+
{
|
3579
|
+
"name": "change",
|
3580
|
+
"description": "Emitted when count down changed",
|
3581
|
+
"arguments": [
|
3582
|
+
{
|
3583
|
+
"name": "currentTime",
|
3584
|
+
"type": "CurrentTime"
|
3585
|
+
}
|
3586
|
+
]
|
3587
|
+
}
|
3588
|
+
],
|
3589
|
+
"attributes": [
|
3590
|
+
{
|
3591
|
+
"name": "time",
|
3592
|
+
"default": "`0`",
|
3593
|
+
"description": "Total time, unit milliseconds",
|
3594
|
+
"options": [],
|
3595
|
+
"value": {
|
3596
|
+
"type": "number | string",
|
3597
|
+
"kind": "expression"
|
3598
|
+
}
|
3599
|
+
},
|
3600
|
+
{
|
3601
|
+
"name": "format",
|
3602
|
+
"default": "`HH:mm:ss`",
|
3603
|
+
"description": "Time format",
|
3604
|
+
"options": [],
|
3605
|
+
"value": {
|
3606
|
+
"type": "string",
|
3607
|
+
"kind": "expression"
|
3608
|
+
}
|
3609
|
+
},
|
3610
|
+
{
|
3611
|
+
"name": "auto-start",
|
3612
|
+
"default": "`true`",
|
3613
|
+
"description": "Whether to auto start count down",
|
3614
|
+
"options": [],
|
3615
|
+
"value": {
|
3616
|
+
"type": "boolean",
|
3617
|
+
"kind": "expression"
|
3618
|
+
}
|
3619
|
+
},
|
3620
|
+
{
|
3621
|
+
"name": "millisecond",
|
3622
|
+
"default": "`false`",
|
3623
|
+
"description": "Whether to enable millisecond render",
|
3624
|
+
"options": [],
|
3625
|
+
"value": {
|
3626
|
+
"type": "boolean",
|
3627
|
+
"kind": "expression"
|
3628
|
+
}
|
3629
|
+
}
|
3630
|
+
]
|
3631
|
+
},
|
3632
|
+
{
|
3633
|
+
"name": "van-datetime-picker",
|
3634
|
+
"slots": [
|
3635
|
+
{
|
3636
|
+
"name": "default",
|
3637
|
+
"description": "Custom toolbar content"
|
3638
|
+
},
|
3639
|
+
{
|
3640
|
+
"name": "title",
|
3641
|
+
"description": "Custom title"
|
3642
|
+
},
|
3643
|
+
{
|
3644
|
+
"name": "confirm",
|
3645
|
+
"description": "Custom confirm button text"
|
3646
|
+
},
|
3647
|
+
{
|
3648
|
+
"name": "cancel",
|
3649
|
+
"description": "Custom cancel button text"
|
3650
|
+
},
|
3651
|
+
{
|
3652
|
+
"name": "option",
|
3653
|
+
"description": "Custom option content"
|
3654
|
+
},
|
3655
|
+
{
|
3656
|
+
"name": "columns-top",
|
3657
|
+
"description": "Custom content above columns"
|
3658
|
+
},
|
3659
|
+
{
|
3660
|
+
"name": "columns-bottom",
|
3661
|
+
"description": "Custom content below columns"
|
3662
|
+
}
|
3663
|
+
],
|
3664
|
+
"events": [
|
3665
|
+
{
|
3666
|
+
"name": "change",
|
3667
|
+
"description": "Emitted when value changed",
|
3314
3668
|
"arguments": [
|
3315
3669
|
{
|
3316
|
-
"name": "
|
3317
|
-
"type": "
|
3670
|
+
"name": "value",
|
3671
|
+
"type": "current value"
|
3672
|
+
}
|
3673
|
+
]
|
3674
|
+
},
|
3675
|
+
{
|
3676
|
+
"name": "confirm",
|
3677
|
+
"description": "Emitted when the confirm button is clicked",
|
3678
|
+
"arguments": [
|
3679
|
+
{
|
3680
|
+
"name": "value",
|
3681
|
+
"type": "current value"
|
3318
3682
|
}
|
3319
3683
|
]
|
3684
|
+
},
|
3685
|
+
{
|
3686
|
+
"name": "cancel",
|
3687
|
+
"description": "Emitted when the cancel button is clicked",
|
3688
|
+
"arguments": []
|
3320
3689
|
}
|
3321
3690
|
],
|
3322
3691
|
"attributes": [
|
3323
3692
|
{
|
3324
3693
|
"name": "type",
|
3325
|
-
"default": "`
|
3326
|
-
"description": "Can be set to `
|
3694
|
+
"default": "`datetime`",
|
3695
|
+
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
|
3327
3696
|
"options": [],
|
3328
3697
|
"value": {
|
3329
3698
|
"type": "string",
|
@@ -3331,9 +3700,9 @@
|
|
3331
3700
|
}
|
3332
3701
|
},
|
3333
3702
|
{
|
3334
|
-
"name": "
|
3335
|
-
"default": "
|
3336
|
-
"description": "
|
3703
|
+
"name": "title",
|
3704
|
+
"default": "`''`",
|
3705
|
+
"description": "Toolbar title",
|
3337
3706
|
"options": [],
|
3338
3707
|
"value": {
|
3339
3708
|
"type": "string",
|
@@ -3341,9 +3710,9 @@
|
|
3341
3710
|
}
|
3342
3711
|
},
|
3343
3712
|
{
|
3344
|
-
"name": "
|
3345
|
-
"default": "
|
3346
|
-
"description": "
|
3713
|
+
"name": "confirm-button-text",
|
3714
|
+
"default": "`Confirm`",
|
3715
|
+
"description": "Text of confirm button",
|
3347
3716
|
"options": [],
|
3348
3717
|
"value": {
|
3349
3718
|
"type": "string",
|
@@ -3351,9 +3720,9 @@
|
|
3351
3720
|
}
|
3352
3721
|
},
|
3353
3722
|
{
|
3354
|
-
"name": "
|
3355
|
-
"default": "`
|
3356
|
-
"description": "
|
3723
|
+
"name": "cancel-button-text",
|
3724
|
+
"default": "`Cancel`",
|
3725
|
+
"description": "Text of cancel button",
|
3357
3726
|
"options": [],
|
3358
3727
|
"value": {
|
3359
3728
|
"type": "string",
|
@@ -3361,57 +3730,19 @@
|
|
3361
3730
|
}
|
3362
3731
|
},
|
3363
3732
|
{
|
3364
|
-
"name": "
|
3733
|
+
"name": "show-toolbar",
|
3365
3734
|
"default": "`true`",
|
3366
|
-
"description": "Whether to
|
3735
|
+
"description": "Whether to show toolbar",
|
3367
3736
|
"options": [],
|
3368
3737
|
"value": {
|
3369
3738
|
"type": "boolean",
|
3370
3739
|
"kind": "expression"
|
3371
3740
|
}
|
3372
|
-
}
|
3373
|
-
]
|
3374
|
-
},
|
3375
|
-
{
|
3376
|
-
"name": "contact-edit",
|
3377
|
-
"slots": [],
|
3378
|
-
"events": [
|
3379
|
-
{
|
3380
|
-
"name": "save",
|
3381
|
-
"description": "Emitted when the save button is clicked",
|
3382
|
-
"arguments": [
|
3383
|
-
{
|
3384
|
-
"name": "content",
|
3385
|
-
"type": "contact info"
|
3386
|
-
}
|
3387
|
-
]
|
3388
|
-
},
|
3389
|
-
{
|
3390
|
-
"name": "delete",
|
3391
|
-
"description": "Emitted when the delete button is clicked",
|
3392
|
-
"arguments": [
|
3393
|
-
{
|
3394
|
-
"name": "content",
|
3395
|
-
"type": "contact info"
|
3396
|
-
}
|
3397
|
-
]
|
3398
|
-
}
|
3399
|
-
],
|
3400
|
-
"attributes": [
|
3401
|
-
{
|
3402
|
-
"name": "contact-info",
|
3403
|
-
"default": "`[]`",
|
3404
|
-
"description": "Contact Info",
|
3405
|
-
"options": [],
|
3406
|
-
"value": {
|
3407
|
-
"type": "Contact",
|
3408
|
-
"kind": "expression"
|
3409
|
-
}
|
3410
3741
|
},
|
3411
3742
|
{
|
3412
|
-
"name": "
|
3743
|
+
"name": "loading",
|
3413
3744
|
"default": "`false`",
|
3414
|
-
"description": "Whether
|
3745
|
+
"description": "Whether to show loading prompt",
|
3415
3746
|
"options": [],
|
3416
3747
|
"value": {
|
3417
3748
|
"type": "boolean",
|
@@ -3419,9 +3750,9 @@
|
|
3419
3750
|
}
|
3420
3751
|
},
|
3421
3752
|
{
|
3422
|
-
"name": "
|
3753
|
+
"name": "readonly",
|
3423
3754
|
"default": "`false`",
|
3424
|
-
"description": "Whether to
|
3755
|
+
"description": "Whether to be readonly",
|
3425
3756
|
"options": [],
|
3426
3757
|
"value": {
|
3427
3758
|
"type": "boolean",
|
@@ -3429,90 +3760,49 @@
|
|
3429
3760
|
}
|
3430
3761
|
},
|
3431
3762
|
{
|
3432
|
-
"name": "
|
3433
|
-
"default": "
|
3434
|
-
"description": "
|
3763
|
+
"name": "filter",
|
3764
|
+
"default": "-",
|
3765
|
+
"description": "Option filter",
|
3435
3766
|
"options": [],
|
3436
3767
|
"value": {
|
3437
|
-
"type": "
|
3768
|
+
"type": "(type: string, values: string[]) => string[]",
|
3438
3769
|
"kind": "expression"
|
3439
3770
|
}
|
3440
3771
|
},
|
3441
3772
|
{
|
3442
|
-
"name": "
|
3773
|
+
"name": "formatter",
|
3443
3774
|
"default": "-",
|
3444
|
-
"description": "
|
3775
|
+
"description": "Option text formatter",
|
3445
3776
|
"options": [],
|
3446
3777
|
"value": {
|
3447
|
-
"type": "(
|
3778
|
+
"type": "(type: string, value: string) => string",
|
3448
3779
|
"kind": "expression"
|
3449
3780
|
}
|
3450
3781
|
},
|
3451
3782
|
{
|
3452
|
-
"name": "
|
3453
|
-
"default": "
|
3454
|
-
"description": "
|
3783
|
+
"name": "columns-order",
|
3784
|
+
"default": "-",
|
3785
|
+
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
|
3455
3786
|
"options": [],
|
3456
3787
|
"value": {
|
3457
|
-
"type": "
|
3788
|
+
"type": "string[]",
|
3458
3789
|
"kind": "expression"
|
3459
3790
|
}
|
3460
3791
|
},
|
3461
3792
|
{
|
3462
|
-
"name": "
|
3463
|
-
"default": "
|
3464
|
-
"description": "
|
3793
|
+
"name": "item-height",
|
3794
|
+
"default": "`44`",
|
3795
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
3465
3796
|
"options": [],
|
3466
3797
|
"value": {
|
3467
|
-
"type": "string",
|
3798
|
+
"type": "number | string",
|
3468
3799
|
"kind": "expression"
|
3469
3800
|
}
|
3470
|
-
}
|
3471
|
-
]
|
3472
|
-
},
|
3473
|
-
{
|
3474
|
-
"name": "contact-list",
|
3475
|
-
"slots": [],
|
3476
|
-
"events": [
|
3477
|
-
{
|
3478
|
-
"name": "add",
|
3479
|
-
"description": "Emitted when the add button is clicked",
|
3480
|
-
"arguments": []
|
3481
|
-
},
|
3482
|
-
{
|
3483
|
-
"name": "edit",
|
3484
|
-
"description": "Emitted when the edit button is clicked",
|
3485
|
-
"arguments": [
|
3486
|
-
{
|
3487
|
-
"name": "contact",
|
3488
|
-
"type": "Contact"
|
3489
|
-
},
|
3490
|
-
{
|
3491
|
-
"name": "index",
|
3492
|
-
"type": "number"
|
3493
|
-
}
|
3494
|
-
]
|
3495
3801
|
},
|
3496
3802
|
{
|
3497
|
-
"name": "
|
3498
|
-
"
|
3499
|
-
"
|
3500
|
-
{
|
3501
|
-
"name": "contact",
|
3502
|
-
"type": "Contact"
|
3503
|
-
},
|
3504
|
-
{
|
3505
|
-
"name": "index",
|
3506
|
-
"type": "number"
|
3507
|
-
}
|
3508
|
-
]
|
3509
|
-
}
|
3510
|
-
],
|
3511
|
-
"attributes": [
|
3512
|
-
{
|
3513
|
-
"name": "v-model",
|
3514
|
-
"default": "-",
|
3515
|
-
"description": "Id of chosen contact",
|
3803
|
+
"name": "visible-item-count",
|
3804
|
+
"default": "`6`",
|
3805
|
+
"description": "Count of visible columns",
|
3516
3806
|
"options": [],
|
3517
3807
|
"value": {
|
3518
3808
|
"type": "number | string",
|
@@ -3520,67 +3810,53 @@
|
|
3520
3810
|
}
|
3521
3811
|
},
|
3522
3812
|
{
|
3523
|
-
"name": "
|
3524
|
-
"default": "`
|
3525
|
-
"description": "
|
3813
|
+
"name": "swipe-duration",
|
3814
|
+
"default": "`1000`",
|
3815
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
3526
3816
|
"options": [],
|
3527
3817
|
"value": {
|
3528
|
-
"type": "
|
3818
|
+
"type": "number | string",
|
3529
3819
|
"kind": "expression"
|
3530
3820
|
}
|
3531
|
-
}
|
3821
|
+
}
|
3822
|
+
]
|
3823
|
+
},
|
3824
|
+
{
|
3825
|
+
"name": "van-date-picker",
|
3826
|
+
"slots": [],
|
3827
|
+
"events": [],
|
3828
|
+
"attributes": [
|
3532
3829
|
{
|
3533
|
-
"name": "
|
3534
|
-
"default": "
|
3535
|
-
"description": "
|
3830
|
+
"name": "min-date",
|
3831
|
+
"default": "Ten years ago on January 1",
|
3832
|
+
"description": "Min date",
|
3536
3833
|
"options": [],
|
3537
3834
|
"value": {
|
3538
|
-
"type": "
|
3835
|
+
"type": "Date",
|
3539
3836
|
"kind": "expression"
|
3540
3837
|
}
|
3541
3838
|
},
|
3542
3839
|
{
|
3543
|
-
"name": "
|
3544
|
-
"default": "
|
3545
|
-
"description": "
|
3840
|
+
"name": "max-date",
|
3841
|
+
"default": "Ten years later on December 31",
|
3842
|
+
"description": "Max date",
|
3546
3843
|
"options": [],
|
3547
3844
|
"value": {
|
3548
|
-
"type": "
|
3845
|
+
"type": "Date",
|
3549
3846
|
"kind": "expression"
|
3550
3847
|
}
|
3551
3848
|
}
|
3552
3849
|
]
|
3553
3850
|
},
|
3554
3851
|
{
|
3555
|
-
"name": "
|
3556
|
-
"slots": [
|
3557
|
-
|
3558
|
-
"name": "default",
|
3559
|
-
"description": "Custom Content"
|
3560
|
-
}
|
3561
|
-
],
|
3562
|
-
"events": [
|
3563
|
-
{
|
3564
|
-
"name": "finish",
|
3565
|
-
"description": "Emitted when count down finished",
|
3566
|
-
"arguments": []
|
3567
|
-
},
|
3568
|
-
{
|
3569
|
-
"name": "change",
|
3570
|
-
"description": "Emitted when count down changed",
|
3571
|
-
"arguments": [
|
3572
|
-
{
|
3573
|
-
"name": "currentTime",
|
3574
|
-
"type": "CurrentTime"
|
3575
|
-
}
|
3576
|
-
]
|
3577
|
-
}
|
3578
|
-
],
|
3852
|
+
"name": "van-time-picker",
|
3853
|
+
"slots": [],
|
3854
|
+
"events": [],
|
3579
3855
|
"attributes": [
|
3580
3856
|
{
|
3581
|
-
"name": "
|
3857
|
+
"name": "min-hour",
|
3582
3858
|
"default": "`0`",
|
3583
|
-
"description": "
|
3859
|
+
"description": "Min hour for `time` type",
|
3584
3860
|
"options": [],
|
3585
3861
|
"value": {
|
3586
3862
|
"type": "number | string",
|
@@ -3588,39 +3864,39 @@
|
|
3588
3864
|
}
|
3589
3865
|
},
|
3590
3866
|
{
|
3591
|
-
"name": "
|
3592
|
-
"default": "`
|
3593
|
-
"description": "
|
3867
|
+
"name": "max-hour",
|
3868
|
+
"default": "`23`",
|
3869
|
+
"description": "Max hour for `time` type",
|
3594
3870
|
"options": [],
|
3595
3871
|
"value": {
|
3596
|
-
"type": "string",
|
3872
|
+
"type": "number | string",
|
3597
3873
|
"kind": "expression"
|
3598
3874
|
}
|
3599
3875
|
},
|
3600
3876
|
{
|
3601
|
-
"name": "
|
3602
|
-
"default": "`
|
3603
|
-
"description": "
|
3877
|
+
"name": "min-minute",
|
3878
|
+
"default": "`0`",
|
3879
|
+
"description": "Max minute for `time` type",
|
3604
3880
|
"options": [],
|
3605
3881
|
"value": {
|
3606
|
-
"type": "
|
3882
|
+
"type": "number | string",
|
3607
3883
|
"kind": "expression"
|
3608
3884
|
}
|
3609
3885
|
},
|
3610
3886
|
{
|
3611
|
-
"name": "
|
3612
|
-
"default": "`
|
3613
|
-
"description": "
|
3887
|
+
"name": "max-minute",
|
3888
|
+
"default": "`59`",
|
3889
|
+
"description": "Max minute for `time` type",
|
3614
3890
|
"options": [],
|
3615
3891
|
"value": {
|
3616
|
-
"type": "
|
3892
|
+
"type": "number | string",
|
3617
3893
|
"kind": "expression"
|
3618
3894
|
}
|
3619
3895
|
}
|
3620
3896
|
]
|
3621
3897
|
},
|
3622
3898
|
{
|
3623
|
-
"name": "coupon-cell",
|
3899
|
+
"name": "van-coupon-cell",
|
3624
3900
|
"slots": [],
|
3625
3901
|
"events": [],
|
3626
3902
|
"attributes": [
|
@@ -3687,7 +3963,7 @@
|
|
3687
3963
|
]
|
3688
3964
|
},
|
3689
3965
|
{
|
3690
|
-
"name": "coupon-list",
|
3966
|
+
"name": "van-coupon-list",
|
3691
3967
|
"slots": [
|
3692
3968
|
{
|
3693
3969
|
"name": "list-footer",
|
@@ -3793,364 +4069,98 @@
|
|
3793
4069
|
},
|
3794
4070
|
{
|
3795
4071
|
"name": "exchange-button-loading",
|
3796
|
-
"default": "`false`",
|
3797
|
-
"description": "Whether to show loading in exchange button",
|
3798
|
-
"options": [],
|
3799
|
-
"value": {
|
3800
|
-
"type": "boolean",
|
3801
|
-
"kind": "expression"
|
3802
|
-
}
|
3803
|
-
},
|
3804
|
-
{
|
3805
|
-
"name": "exchange-button-disabled",
|
3806
|
-
"default": "`false`",
|
3807
|
-
"description": "Whether to disable exchange button",
|
3808
|
-
"options": [],
|
3809
|
-
"value": {
|
3810
|
-
"type": "boolean",
|
3811
|
-
"kind": "expression"
|
3812
|
-
}
|
3813
|
-
},
|
3814
|
-
{
|
3815
|
-
"name": "exchange-min-length",
|
3816
|
-
"default": "`1`",
|
3817
|
-
"description": "Min length to enable exchange button",
|
3818
|
-
"options": [],
|
3819
|
-
"value": {
|
3820
|
-
"type": "number",
|
3821
|
-
"kind": "expression"
|
3822
|
-
}
|
3823
|
-
},
|
3824
|
-
{
|
3825
|
-
"name": "displayed-coupon-index",
|
3826
|
-
"default": "-",
|
3827
|
-
"description": "Index of displayed coupon",
|
3828
|
-
"options": [],
|
3829
|
-
"value": {
|
3830
|
-
"type": "number",
|
3831
|
-
"kind": "expression"
|
3832
|
-
}
|
3833
|
-
},
|
3834
|
-
{
|
3835
|
-
"name": "close-button-text",
|
3836
|
-
"default": "`Close`",
|
3837
|
-
"description": "Close button text",
|
3838
|
-
"options": [],
|
3839
|
-
"value": {
|
3840
|
-
"type": "string",
|
3841
|
-
"kind": "expression"
|
3842
|
-
}
|
3843
|
-
},
|
3844
|
-
{
|
3845
|
-
"name": "input-placeholder",
|
3846
|
-
"default": "`Coupon code`",
|
3847
|
-
"description": "Input placeholder",
|
3848
|
-
"options": [],
|
3849
|
-
"value": {
|
3850
|
-
"type": "string",
|
3851
|
-
"kind": "expression"
|
3852
|
-
}
|
3853
|
-
},
|
3854
|
-
{
|
3855
|
-
"name": "currency",
|
3856
|
-
"default": "`¥`",
|
3857
|
-
"description": "Currency symbol",
|
3858
|
-
"options": [],
|
3859
|
-
"value": {
|
3860
|
-
"type": "string",
|
3861
|
-
"kind": "expression"
|
3862
|
-
}
|
3863
|
-
},
|
3864
|
-
{
|
3865
|
-
"name": "empty-image",
|
3866
|
-
"default": "-",
|
3867
|
-
"description": "Placeholder image when list is empty",
|
3868
|
-
"options": [],
|
3869
|
-
"value": {
|
3870
|
-
"type": "string",
|
3871
|
-
"kind": "expression"
|
3872
|
-
}
|
3873
|
-
},
|
3874
|
-
{
|
3875
|
-
"name": "show-count",
|
3876
|
-
"default": "`true`",
|
3877
|
-
"description": "Whether to show coupon count in tab title",
|
3878
|
-
"options": [],
|
3879
|
-
"value": {
|
3880
|
-
"type": "boolean",
|
3881
|
-
"kind": "expression"
|
3882
|
-
}
|
3883
|
-
}
|
3884
|
-
]
|
3885
|
-
},
|
3886
|
-
{
|
3887
|
-
"name": "datetime-picker",
|
3888
|
-
"slots": [
|
3889
|
-
{
|
3890
|
-
"name": "default",
|
3891
|
-
"description": "Custom toolbar content"
|
3892
|
-
},
|
3893
|
-
{
|
3894
|
-
"name": "title",
|
3895
|
-
"description": "Custom title"
|
3896
|
-
},
|
3897
|
-
{
|
3898
|
-
"name": "confirm",
|
3899
|
-
"description": "Custom confirm button text"
|
3900
|
-
},
|
3901
|
-
{
|
3902
|
-
"name": "cancel",
|
3903
|
-
"description": "Custom cancel button text"
|
3904
|
-
},
|
3905
|
-
{
|
3906
|
-
"name": "option",
|
3907
|
-
"description": "Custom option content"
|
3908
|
-
},
|
3909
|
-
{
|
3910
|
-
"name": "columns-top",
|
3911
|
-
"description": "Custom content above columns"
|
3912
|
-
},
|
3913
|
-
{
|
3914
|
-
"name": "columns-bottom",
|
3915
|
-
"description": "Custom content below columns"
|
3916
|
-
}
|
3917
|
-
],
|
3918
|
-
"events": [
|
3919
|
-
{
|
3920
|
-
"name": "change",
|
3921
|
-
"description": "Emitted when value changed",
|
3922
|
-
"arguments": [
|
3923
|
-
{
|
3924
|
-
"name": "value",
|
3925
|
-
"type": "current value"
|
3926
|
-
}
|
3927
|
-
]
|
3928
|
-
},
|
3929
|
-
{
|
3930
|
-
"name": "confirm",
|
3931
|
-
"description": "Emitted when the confirm button is clicked",
|
3932
|
-
"arguments": [
|
3933
|
-
{
|
3934
|
-
"name": "value",
|
3935
|
-
"type": "current value"
|
3936
|
-
}
|
3937
|
-
]
|
3938
|
-
},
|
3939
|
-
{
|
3940
|
-
"name": "cancel",
|
3941
|
-
"description": "Emitted when the cancel button is clicked",
|
3942
|
-
"arguments": []
|
3943
|
-
}
|
3944
|
-
],
|
3945
|
-
"attributes": [
|
3946
|
-
{
|
3947
|
-
"name": "type",
|
3948
|
-
"default": "`datetime`",
|
3949
|
-
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
|
3950
|
-
"options": [],
|
3951
|
-
"value": {
|
3952
|
-
"type": "string",
|
3953
|
-
"kind": "expression"
|
3954
|
-
}
|
3955
|
-
},
|
3956
|
-
{
|
3957
|
-
"name": "title",
|
3958
|
-
"default": "`''`",
|
3959
|
-
"description": "Toolbar title",
|
3960
|
-
"options": [],
|
3961
|
-
"value": {
|
3962
|
-
"type": "string",
|
3963
|
-
"kind": "expression"
|
3964
|
-
}
|
3965
|
-
},
|
3966
|
-
{
|
3967
|
-
"name": "confirm-button-text",
|
3968
|
-
"default": "`Confirm`",
|
3969
|
-
"description": "Text of confirm button",
|
3970
|
-
"options": [],
|
3971
|
-
"value": {
|
3972
|
-
"type": "string",
|
3973
|
-
"kind": "expression"
|
3974
|
-
}
|
3975
|
-
},
|
3976
|
-
{
|
3977
|
-
"name": "cancel-button-text",
|
3978
|
-
"default": "`Cancel`",
|
3979
|
-
"description": "Text of cancel button",
|
3980
|
-
"options": [],
|
3981
|
-
"value": {
|
3982
|
-
"type": "string",
|
3983
|
-
"kind": "expression"
|
3984
|
-
}
|
3985
|
-
},
|
3986
|
-
{
|
3987
|
-
"name": "show-toolbar",
|
3988
|
-
"default": "`true`",
|
3989
|
-
"description": "Whether to show toolbar",
|
3990
|
-
"options": [],
|
3991
|
-
"value": {
|
3992
|
-
"type": "boolean",
|
3993
|
-
"kind": "expression"
|
3994
|
-
}
|
3995
|
-
},
|
3996
|
-
{
|
3997
|
-
"name": "loading",
|
3998
|
-
"default": "`false`",
|
3999
|
-
"description": "Whether to show loading prompt",
|
4000
|
-
"options": [],
|
4001
|
-
"value": {
|
4002
|
-
"type": "boolean",
|
4003
|
-
"kind": "expression"
|
4004
|
-
}
|
4005
|
-
},
|
4006
|
-
{
|
4007
|
-
"name": "readonly",
|
4008
|
-
"default": "`false`",
|
4009
|
-
"description": "Whether to be readonly",
|
4010
|
-
"options": [],
|
4011
|
-
"value": {
|
4012
|
-
"type": "boolean",
|
4013
|
-
"kind": "expression"
|
4014
|
-
}
|
4015
|
-
},
|
4016
|
-
{
|
4017
|
-
"name": "filter",
|
4018
|
-
"default": "-",
|
4019
|
-
"description": "Option filter",
|
4020
|
-
"options": [],
|
4021
|
-
"value": {
|
4022
|
-
"type": "(type: string, values: string[]) => string[]",
|
4023
|
-
"kind": "expression"
|
4024
|
-
}
|
4025
|
-
},
|
4026
|
-
{
|
4027
|
-
"name": "formatter",
|
4028
|
-
"default": "-",
|
4029
|
-
"description": "Option text formatter",
|
4030
|
-
"options": [],
|
4031
|
-
"value": {
|
4032
|
-
"type": "(type: string, value: string) => string",
|
4033
|
-
"kind": "expression"
|
4034
|
-
}
|
4035
|
-
},
|
4036
|
-
{
|
4037
|
-
"name": "columns-order",
|
4038
|
-
"default": "-",
|
4039
|
-
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
|
4040
|
-
"options": [],
|
4041
|
-
"value": {
|
4042
|
-
"type": "string[]",
|
4043
|
-
"kind": "expression"
|
4044
|
-
}
|
4045
|
-
},
|
4046
|
-
{
|
4047
|
-
"name": "item-height",
|
4048
|
-
"default": "`44`",
|
4049
|
-
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
4072
|
+
"default": "`false`",
|
4073
|
+
"description": "Whether to show loading in exchange button",
|
4050
4074
|
"options": [],
|
4051
4075
|
"value": {
|
4052
|
-
"type": "
|
4076
|
+
"type": "boolean",
|
4053
4077
|
"kind": "expression"
|
4054
4078
|
}
|
4055
4079
|
},
|
4056
4080
|
{
|
4057
|
-
"name": "
|
4058
|
-
"default": "`
|
4059
|
-
"description": "
|
4081
|
+
"name": "exchange-button-disabled",
|
4082
|
+
"default": "`false`",
|
4083
|
+
"description": "Whether to disable exchange button",
|
4060
4084
|
"options": [],
|
4061
4085
|
"value": {
|
4062
|
-
"type": "
|
4086
|
+
"type": "boolean",
|
4063
4087
|
"kind": "expression"
|
4064
4088
|
}
|
4065
4089
|
},
|
4066
4090
|
{
|
4067
|
-
"name": "
|
4068
|
-
"default": "`
|
4069
|
-
"description": "
|
4091
|
+
"name": "exchange-min-length",
|
4092
|
+
"default": "`1`",
|
4093
|
+
"description": "Min length to enable exchange button",
|
4070
4094
|
"options": [],
|
4071
4095
|
"value": {
|
4072
|
-
"type": "number
|
4096
|
+
"type": "number",
|
4073
4097
|
"kind": "expression"
|
4074
4098
|
}
|
4075
|
-
}
|
4076
|
-
]
|
4077
|
-
},
|
4078
|
-
{
|
4079
|
-
"name": "date-picker",
|
4080
|
-
"slots": [],
|
4081
|
-
"events": [],
|
4082
|
-
"attributes": [
|
4099
|
+
},
|
4083
4100
|
{
|
4084
|
-
"name": "
|
4085
|
-
"default": "
|
4086
|
-
"description": "
|
4101
|
+
"name": "displayed-coupon-index",
|
4102
|
+
"default": "-",
|
4103
|
+
"description": "Index of displayed coupon",
|
4087
4104
|
"options": [],
|
4088
4105
|
"value": {
|
4089
|
-
"type": "
|
4106
|
+
"type": "number",
|
4090
4107
|
"kind": "expression"
|
4091
4108
|
}
|
4092
4109
|
},
|
4093
4110
|
{
|
4094
|
-
"name": "
|
4095
|
-
"default": "
|
4096
|
-
"description": "
|
4111
|
+
"name": "close-button-text",
|
4112
|
+
"default": "`Close`",
|
4113
|
+
"description": "Close button text",
|
4097
4114
|
"options": [],
|
4098
4115
|
"value": {
|
4099
|
-
"type": "
|
4116
|
+
"type": "string",
|
4100
4117
|
"kind": "expression"
|
4101
4118
|
}
|
4102
|
-
}
|
4103
|
-
]
|
4104
|
-
},
|
4105
|
-
{
|
4106
|
-
"name": "time-picker",
|
4107
|
-
"slots": [],
|
4108
|
-
"events": [],
|
4109
|
-
"attributes": [
|
4119
|
+
},
|
4110
4120
|
{
|
4111
|
-
"name": "
|
4112
|
-
"default": "`
|
4113
|
-
"description": "
|
4121
|
+
"name": "input-placeholder",
|
4122
|
+
"default": "`Coupon code`",
|
4123
|
+
"description": "Input placeholder",
|
4114
4124
|
"options": [],
|
4115
4125
|
"value": {
|
4116
|
-
"type": "
|
4126
|
+
"type": "string",
|
4117
4127
|
"kind": "expression"
|
4118
4128
|
}
|
4119
4129
|
},
|
4120
4130
|
{
|
4121
|
-
"name": "
|
4122
|
-
"default": "
|
4123
|
-
"description": "
|
4131
|
+
"name": "currency",
|
4132
|
+
"default": "`¥`",
|
4133
|
+
"description": "Currency symbol",
|
4124
4134
|
"options": [],
|
4125
4135
|
"value": {
|
4126
|
-
"type": "
|
4136
|
+
"type": "string",
|
4127
4137
|
"kind": "expression"
|
4128
4138
|
}
|
4129
4139
|
},
|
4130
4140
|
{
|
4131
|
-
"name": "
|
4132
|
-
"default": "
|
4133
|
-
"description": "
|
4141
|
+
"name": "empty-image",
|
4142
|
+
"default": "-",
|
4143
|
+
"description": "Placeholder image when list is empty",
|
4134
4144
|
"options": [],
|
4135
4145
|
"value": {
|
4136
|
-
"type": "
|
4146
|
+
"type": "string",
|
4137
4147
|
"kind": "expression"
|
4138
4148
|
}
|
4139
4149
|
},
|
4140
4150
|
{
|
4141
|
-
"name": "
|
4142
|
-
"default": "`
|
4143
|
-
"description": "
|
4151
|
+
"name": "show-count",
|
4152
|
+
"default": "`true`",
|
4153
|
+
"description": "Whether to show coupon count in tab title",
|
4144
4154
|
"options": [],
|
4145
4155
|
"value": {
|
4146
|
-
"type": "
|
4156
|
+
"type": "boolean",
|
4147
4157
|
"kind": "expression"
|
4148
4158
|
}
|
4149
4159
|
}
|
4150
4160
|
]
|
4151
4161
|
},
|
4152
4162
|
{
|
4153
|
-
"name": "dialog",
|
4163
|
+
"name": "van-dialog",
|
4154
4164
|
"slots": [
|
4155
4165
|
{
|
4156
4166
|
"name": "default",
|
@@ -4451,7 +4461,7 @@
|
|
4451
4461
|
]
|
4452
4462
|
},
|
4453
4463
|
{
|
4454
|
-
"name": "divider",
|
4464
|
+
"name": "van-divider",
|
4455
4465
|
"slots": [
|
4456
4466
|
{
|
4457
4467
|
"name": "default",
|
@@ -4493,7 +4503,7 @@
|
|
4493
4503
|
]
|
4494
4504
|
},
|
4495
4505
|
{
|
4496
|
-
"name": "dropdown-menu",
|
4506
|
+
"name": "van-dropdown-menu",
|
4497
4507
|
"slots": [],
|
4498
4508
|
"events": [],
|
4499
4509
|
"attributes": [
|
@@ -4570,7 +4580,7 @@
|
|
4570
4580
|
]
|
4571
4581
|
},
|
4572
4582
|
{
|
4573
|
-
"name": "dropdown-item",
|
4583
|
+
"name": "van-dropdown-item",
|
4574
4584
|
"slots": [
|
4575
4585
|
{
|
4576
4586
|
"name": "default",
|
@@ -4613,194 +4623,21 @@
|
|
4613
4623
|
"arguments": []
|
4614
4624
|
}
|
4615
4625
|
],
|
4616
|
-
"attributes": [
|
4617
|
-
{
|
4618
|
-
"name": "v-model",
|
4619
|
-
"default": "-",
|
4620
|
-
"description": "Value of current option",
|
4621
|
-
"options": [],
|
4622
|
-
"value": {
|
4623
|
-
"type": "number | string",
|
4624
|
-
"kind": "expression"
|
4625
|
-
}
|
4626
|
-
},
|
4627
|
-
{
|
4628
|
-
"name": "title",
|
4629
|
-
"default": "Text of selected option",
|
4630
|
-
"description": "Item title",
|
4631
|
-
"options": [],
|
4632
|
-
"value": {
|
4633
|
-
"type": "string",
|
4634
|
-
"kind": "expression"
|
4635
|
-
}
|
4636
|
-
},
|
4637
|
-
{
|
4638
|
-
"name": "options",
|
4639
|
-
"default": "`[]`",
|
4640
|
-
"description": "Options",
|
4641
|
-
"options": [],
|
4642
|
-
"value": {
|
4643
|
-
"type": "Option[]",
|
4644
|
-
"kind": "expression"
|
4645
|
-
}
|
4646
|
-
},
|
4647
|
-
{
|
4648
|
-
"name": "disabled",
|
4649
|
-
"default": "`false`",
|
4650
|
-
"description": "Whether to disable dropdown item",
|
4651
|
-
"options": [],
|
4652
|
-
"value": {
|
4653
|
-
"type": "boolean",
|
4654
|
-
"kind": "expression"
|
4655
|
-
}
|
4656
|
-
},
|
4657
|
-
{
|
4658
|
-
"name": "lazy-render",
|
4659
|
-
"default": "`true`",
|
4660
|
-
"description": "Whether to lazy render util opened",
|
4661
|
-
"options": [],
|
4662
|
-
"value": {
|
4663
|
-
"type": "boolean",
|
4664
|
-
"kind": "expression"
|
4665
|
-
}
|
4666
|
-
},
|
4667
|
-
{
|
4668
|
-
"name": "title-class",
|
4669
|
-
"default": "-",
|
4670
|
-
"description": "Title class",
|
4671
|
-
"options": [],
|
4672
|
-
"value": {
|
4673
|
-
"type": "string | Array | object",
|
4674
|
-
"kind": "expression"
|
4675
|
-
}
|
4676
|
-
},
|
4677
|
-
{
|
4678
|
-
"name": "teleport",
|
4679
|
-
"default": "-",
|
4680
|
-
"description": "Specifies a target element where DropdownItem will be mounted",
|
4681
|
-
"options": [],
|
4682
|
-
"value": {
|
4683
|
-
"type": "string | Element",
|
4684
|
-
"kind": "expression"
|
4685
|
-
}
|
4686
|
-
}
|
4687
|
-
]
|
4688
|
-
},
|
4689
|
-
{
|
4690
|
-
"name": "empty",
|
4691
|
-
"slots": [
|
4692
|
-
{
|
4693
|
-
"name": "default",
|
4694
|
-
"description": "Custom bottom content"
|
4695
|
-
},
|
4696
|
-
{
|
4697
|
-
"name": "image",
|
4698
|
-
"description": "Custom image"
|
4699
|
-
},
|
4700
|
-
{
|
4701
|
-
"name": "description",
|
4702
|
-
"description": "Custom description"
|
4703
|
-
}
|
4704
|
-
],
|
4705
|
-
"events": [],
|
4706
|
-
"attributes": [
|
4707
|
-
{
|
4708
|
-
"name": "image",
|
4709
|
-
"default": "`default`",
|
4710
|
-
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4711
|
-
"options": [],
|
4712
|
-
"value": {
|
4713
|
-
"type": "string",
|
4714
|
-
"kind": "expression"
|
4715
|
-
}
|
4716
|
-
},
|
4717
|
-
{
|
4718
|
-
"name": "image-size",
|
4719
|
-
"default": "-",
|
4720
|
-
"description": "Image size",
|
4721
|
-
"options": [],
|
4722
|
-
"value": {
|
4723
|
-
"type": "number | string | Array",
|
4724
|
-
"kind": "expression"
|
4725
|
-
}
|
4726
|
-
},
|
4727
|
-
{
|
4728
|
-
"name": "description",
|
4729
|
-
"default": "-",
|
4730
|
-
"description": "Description",
|
4731
|
-
"options": [],
|
4732
|
-
"value": {
|
4733
|
-
"type": "string",
|
4734
|
-
"kind": "expression"
|
4735
|
-
}
|
4736
|
-
}
|
4737
|
-
]
|
4738
|
-
},
|
4739
|
-
{
|
4740
|
-
"name": "form",
|
4741
|
-
"slots": [
|
4742
|
-
{
|
4743
|
-
"name": "default",
|
4744
|
-
"description": "Form content"
|
4745
|
-
}
|
4746
|
-
],
|
4747
|
-
"events": [
|
4748
|
-
{
|
4749
|
-
"name": "submit",
|
4750
|
-
"description": "Emitted after submitting the form and validation passed",
|
4751
|
-
"arguments": [
|
4752
|
-
{
|
4753
|
-
"name": "values",
|
4754
|
-
"type": "object"
|
4755
|
-
}
|
4756
|
-
]
|
4757
|
-
},
|
4758
|
-
{
|
4759
|
-
"name": "failed",
|
4760
|
-
"description": "Emitted after submitting the form and validation failed",
|
4761
|
-
"arguments": [
|
4762
|
-
{
|
4763
|
-
"name": "errorInfo",
|
4764
|
-
"type": "{ values: object, errors: object[] }"
|
4765
|
-
}
|
4766
|
-
]
|
4767
|
-
}
|
4768
|
-
],
|
4769
|
-
"attributes": [
|
4770
|
-
{
|
4771
|
-
"name": "label-width",
|
4772
|
-
"default": "`6.2em`",
|
4773
|
-
"description": "Field label width",
|
4774
|
-
"options": [],
|
4775
|
-
"value": {
|
4776
|
-
"type": "number | string",
|
4777
|
-
"kind": "expression"
|
4778
|
-
}
|
4779
|
-
},
|
4780
|
-
{
|
4781
|
-
"name": "label-align",
|
4782
|
-
"default": "`left`",
|
4783
|
-
"description": "Field label align, can be set to `center` `right`",
|
4784
|
-
"options": [],
|
4785
|
-
"value": {
|
4786
|
-
"type": "string",
|
4787
|
-
"kind": "expression"
|
4788
|
-
}
|
4789
|
-
},
|
4626
|
+
"attributes": [
|
4790
4627
|
{
|
4791
|
-
"name": "
|
4792
|
-
"default": "
|
4793
|
-
"description": "
|
4628
|
+
"name": "v-model",
|
4629
|
+
"default": "-",
|
4630
|
+
"description": "Value of current option",
|
4794
4631
|
"options": [],
|
4795
4632
|
"value": {
|
4796
|
-
"type": "string",
|
4633
|
+
"type": "number | string",
|
4797
4634
|
"kind": "expression"
|
4798
4635
|
}
|
4799
4636
|
},
|
4800
4637
|
{
|
4801
|
-
"name": "
|
4802
|
-
"default": "
|
4803
|
-
"description": "
|
4638
|
+
"name": "title",
|
4639
|
+
"default": "Text of selected option",
|
4640
|
+
"description": "Item title",
|
4804
4641
|
"options": [],
|
4805
4642
|
"value": {
|
4806
4643
|
"type": "string",
|
@@ -4808,19 +4645,19 @@
|
|
4808
4645
|
}
|
4809
4646
|
},
|
4810
4647
|
{
|
4811
|
-
"name": "
|
4812
|
-
"default": "`
|
4813
|
-
"description": "
|
4648
|
+
"name": "options",
|
4649
|
+
"default": "`[]`",
|
4650
|
+
"description": "Options",
|
4814
4651
|
"options": [],
|
4815
4652
|
"value": {
|
4816
|
-
"type": "
|
4653
|
+
"type": "Option[]",
|
4817
4654
|
"kind": "expression"
|
4818
4655
|
}
|
4819
4656
|
},
|
4820
4657
|
{
|
4821
|
-
"name": "
|
4658
|
+
"name": "disabled",
|
4822
4659
|
"default": "`false`",
|
4823
|
-
"description": "Whether to
|
4660
|
+
"description": "Whether to disable dropdown item",
|
4824
4661
|
"options": [],
|
4825
4662
|
"value": {
|
4826
4663
|
"type": "boolean",
|
@@ -4828,9 +4665,9 @@
|
|
4828
4665
|
}
|
4829
4666
|
},
|
4830
4667
|
{
|
4831
|
-
"name": "
|
4832
|
-
"default": "`
|
4833
|
-
"description": "Whether to
|
4668
|
+
"name": "lazy-render",
|
4669
|
+
"default": "`true`",
|
4670
|
+
"description": "Whether to lazy render util opened",
|
4834
4671
|
"options": [],
|
4835
4672
|
"value": {
|
4836
4673
|
"type": "boolean",
|
@@ -4838,69 +4675,79 @@
|
|
4838
4675
|
}
|
4839
4676
|
},
|
4840
4677
|
{
|
4841
|
-
"name": "
|
4842
|
-
"default": "
|
4843
|
-
"description": "
|
4678
|
+
"name": "title-class",
|
4679
|
+
"default": "-",
|
4680
|
+
"description": "Title class",
|
4844
4681
|
"options": [],
|
4845
4682
|
"value": {
|
4846
|
-
"type": "
|
4683
|
+
"type": "string | Array | object",
|
4847
4684
|
"kind": "expression"
|
4848
4685
|
}
|
4849
4686
|
},
|
4850
4687
|
{
|
4851
|
-
"name": "
|
4852
|
-
"default": "
|
4853
|
-
"description": "
|
4688
|
+
"name": "teleport",
|
4689
|
+
"default": "-",
|
4690
|
+
"description": "Specifies a target element where DropdownItem will be mounted",
|
4854
4691
|
"options": [],
|
4855
4692
|
"value": {
|
4856
|
-
"type": "
|
4693
|
+
"type": "string | Element",
|
4857
4694
|
"kind": "expression"
|
4858
4695
|
}
|
4696
|
+
}
|
4697
|
+
]
|
4698
|
+
},
|
4699
|
+
{
|
4700
|
+
"name": "van-empty",
|
4701
|
+
"slots": [
|
4702
|
+
{
|
4703
|
+
"name": "default",
|
4704
|
+
"description": "Custom bottom content"
|
4859
4705
|
},
|
4860
4706
|
{
|
4861
|
-
"name": "
|
4862
|
-
"
|
4863
|
-
"description": "Whether to scroll to the error field when validation failed",
|
4864
|
-
"options": [],
|
4865
|
-
"value": {
|
4866
|
-
"type": "boolean",
|
4867
|
-
"kind": "expression"
|
4868
|
-
}
|
4707
|
+
"name": "image",
|
4708
|
+
"description": "Custom image"
|
4869
4709
|
},
|
4870
4710
|
{
|
4871
|
-
"name": "
|
4872
|
-
"
|
4873
|
-
|
4711
|
+
"name": "description",
|
4712
|
+
"description": "Custom description"
|
4713
|
+
}
|
4714
|
+
],
|
4715
|
+
"events": [],
|
4716
|
+
"attributes": [
|
4717
|
+
{
|
4718
|
+
"name": "image",
|
4719
|
+
"default": "`default`",
|
4720
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4874
4721
|
"options": [],
|
4875
4722
|
"value": {
|
4876
|
-
"type": "
|
4723
|
+
"type": "string",
|
4877
4724
|
"kind": "expression"
|
4878
4725
|
}
|
4879
4726
|
},
|
4880
4727
|
{
|
4881
|
-
"name": "
|
4882
|
-
"default": "
|
4883
|
-
"description": "
|
4728
|
+
"name": "image-size",
|
4729
|
+
"default": "-",
|
4730
|
+
"description": "Image size",
|
4884
4731
|
"options": [],
|
4885
4732
|
"value": {
|
4886
|
-
"type": "
|
4733
|
+
"type": "number | string | Array",
|
4887
4734
|
"kind": "expression"
|
4888
4735
|
}
|
4889
4736
|
},
|
4890
4737
|
{
|
4891
|
-
"name": "
|
4892
|
-
"default": "
|
4893
|
-
"description": "
|
4738
|
+
"name": "description",
|
4739
|
+
"default": "-",
|
4740
|
+
"description": "Description",
|
4894
4741
|
"options": [],
|
4895
4742
|
"value": {
|
4896
|
-
"type": "
|
4743
|
+
"type": "string",
|
4897
4744
|
"kind": "expression"
|
4898
4745
|
}
|
4899
4746
|
}
|
4900
4747
|
]
|
4901
4748
|
},
|
4902
4749
|
{
|
4903
|
-
"name": "field",
|
4750
|
+
"name": "van-field",
|
4904
4751
|
"slots": [
|
4905
4752
|
{
|
4906
4753
|
"name": "label",
|
@@ -5269,29 +5116,192 @@
|
|
5269
5116
|
}
|
5270
5117
|
},
|
5271
5118
|
{
|
5272
|
-
"name": "formatter",
|
5273
|
-
"default": "-",
|
5274
|
-
"description": "Input value formatter",
|
5275
|
-
"options": [],
|
5276
|
-
"value": {
|
5277
|
-
"type": "(val: string) => string",
|
5278
|
-
"kind": "expression"
|
5279
|
-
}
|
5280
|
-
},
|
5119
|
+
"name": "formatter",
|
5120
|
+
"default": "-",
|
5121
|
+
"description": "Input value formatter",
|
5122
|
+
"options": [],
|
5123
|
+
"value": {
|
5124
|
+
"type": "(val: string) => string",
|
5125
|
+
"kind": "expression"
|
5126
|
+
}
|
5127
|
+
},
|
5128
|
+
{
|
5129
|
+
"name": "format-trigger",
|
5130
|
+
"default": "`onChange`",
|
5131
|
+
"description": "When to format value, can be set to `onBlur`",
|
5132
|
+
"options": [],
|
5133
|
+
"value": {
|
5134
|
+
"type": "FieldFormatTrigger",
|
5135
|
+
"kind": "expression"
|
5136
|
+
}
|
5137
|
+
},
|
5138
|
+
{
|
5139
|
+
"name": "arrow-direction",
|
5140
|
+
"default": "`right`",
|
5141
|
+
"description": "Can be set to `left` `up` `down`",
|
5142
|
+
"options": [],
|
5143
|
+
"value": {
|
5144
|
+
"type": "string",
|
5145
|
+
"kind": "expression"
|
5146
|
+
}
|
5147
|
+
},
|
5148
|
+
{
|
5149
|
+
"name": "label-class",
|
5150
|
+
"default": "-",
|
5151
|
+
"description": "Label className",
|
5152
|
+
"options": [],
|
5153
|
+
"value": {
|
5154
|
+
"type": "string | Array | object",
|
5155
|
+
"kind": "expression"
|
5156
|
+
}
|
5157
|
+
},
|
5158
|
+
{
|
5159
|
+
"name": "label-width",
|
5160
|
+
"default": "`6.2em`",
|
5161
|
+
"description": "Label width",
|
5162
|
+
"options": [],
|
5163
|
+
"value": {
|
5164
|
+
"type": "number | string",
|
5165
|
+
"kind": "expression"
|
5166
|
+
}
|
5167
|
+
},
|
5168
|
+
{
|
5169
|
+
"name": "label-align",
|
5170
|
+
"default": "`left`",
|
5171
|
+
"description": "Label align, can be set to `center` `right`",
|
5172
|
+
"options": [],
|
5173
|
+
"value": {
|
5174
|
+
"type": "FieldTextAlign",
|
5175
|
+
"kind": "expression"
|
5176
|
+
}
|
5177
|
+
},
|
5178
|
+
{
|
5179
|
+
"name": "input-align",
|
5180
|
+
"default": "`left`",
|
5181
|
+
"description": "Input align, can be set to `center` `right`",
|
5182
|
+
"options": [],
|
5183
|
+
"value": {
|
5184
|
+
"type": "FieldTextAlign",
|
5185
|
+
"kind": "expression"
|
5186
|
+
}
|
5187
|
+
},
|
5188
|
+
{
|
5189
|
+
"name": "autosize",
|
5190
|
+
"default": "`false`",
|
5191
|
+
"description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }",
|
5192
|
+
"options": [],
|
5193
|
+
"value": {
|
5194
|
+
"type": "boolean | FieldAutosizeConfig",
|
5195
|
+
"kind": "expression"
|
5196
|
+
}
|
5197
|
+
},
|
5198
|
+
{
|
5199
|
+
"name": "left-icon",
|
5200
|
+
"default": "-",
|
5201
|
+
"description": "Left side icon name",
|
5202
|
+
"options": [],
|
5203
|
+
"value": {
|
5204
|
+
"type": "string",
|
5205
|
+
"kind": "expression"
|
5206
|
+
}
|
5207
|
+
},
|
5208
|
+
{
|
5209
|
+
"name": "right-icon",
|
5210
|
+
"default": "-",
|
5211
|
+
"description": "Right side icon name",
|
5212
|
+
"options": [],
|
5213
|
+
"value": {
|
5214
|
+
"type": "string",
|
5215
|
+
"kind": "expression"
|
5216
|
+
}
|
5217
|
+
},
|
5218
|
+
{
|
5219
|
+
"name": "icon-prefix",
|
5220
|
+
"default": "`van-icon`",
|
5221
|
+
"description": "Icon className prefix",
|
5222
|
+
"options": [],
|
5223
|
+
"value": {
|
5224
|
+
"type": "string",
|
5225
|
+
"kind": "expression"
|
5226
|
+
}
|
5227
|
+
},
|
5228
|
+
{
|
5229
|
+
"name": "rules",
|
5230
|
+
"default": "-",
|
5231
|
+
"description": "Form validation rules",
|
5232
|
+
"options": [],
|
5233
|
+
"value": {
|
5234
|
+
"type": "FieldRule[]",
|
5235
|
+
"kind": "expression"
|
5236
|
+
}
|
5237
|
+
},
|
5238
|
+
{
|
5239
|
+
"name": "autocomplete",
|
5240
|
+
"default": "-",
|
5241
|
+
"description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
5242
|
+
"options": [],
|
5243
|
+
"value": {
|
5244
|
+
"type": "string",
|
5245
|
+
"kind": "expression"
|
5246
|
+
}
|
5247
|
+
},
|
5248
|
+
{
|
5249
|
+
"name": "enterkeyhint",
|
5250
|
+
"default": "-",
|
5251
|
+
"description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>",
|
5252
|
+
"options": [],
|
5253
|
+
"value": {
|
5254
|
+
"type": "string",
|
5255
|
+
"kind": "expression"
|
5256
|
+
}
|
5257
|
+
}
|
5258
|
+
]
|
5259
|
+
},
|
5260
|
+
{
|
5261
|
+
"name": "van-form",
|
5262
|
+
"slots": [
|
5263
|
+
{
|
5264
|
+
"name": "default",
|
5265
|
+
"description": "Form content"
|
5266
|
+
}
|
5267
|
+
],
|
5268
|
+
"events": [
|
5269
|
+
{
|
5270
|
+
"name": "submit",
|
5271
|
+
"description": "Emitted after submitting the form and validation passed",
|
5272
|
+
"arguments": [
|
5273
|
+
{
|
5274
|
+
"name": "values",
|
5275
|
+
"type": "object"
|
5276
|
+
}
|
5277
|
+
]
|
5278
|
+
},
|
5279
|
+
{
|
5280
|
+
"name": "failed",
|
5281
|
+
"description": "Emitted after submitting the form and validation failed",
|
5282
|
+
"arguments": [
|
5283
|
+
{
|
5284
|
+
"name": "errorInfo",
|
5285
|
+
"type": "{ values: object, errors: object[] }"
|
5286
|
+
}
|
5287
|
+
]
|
5288
|
+
}
|
5289
|
+
],
|
5290
|
+
"attributes": [
|
5281
5291
|
{
|
5282
|
-
"name": "
|
5283
|
-
"default": "`
|
5284
|
-
"description": "
|
5292
|
+
"name": "label-width",
|
5293
|
+
"default": "`6.2em`",
|
5294
|
+
"description": "Field label width",
|
5285
5295
|
"options": [],
|
5286
5296
|
"value": {
|
5287
|
-
"type": "
|
5297
|
+
"type": "number | string",
|
5288
5298
|
"kind": "expression"
|
5289
5299
|
}
|
5290
5300
|
},
|
5291
5301
|
{
|
5292
|
-
"name": "
|
5293
|
-
"default": "`
|
5294
|
-
"description": "
|
5302
|
+
"name": "label-align",
|
5303
|
+
"default": "`left`",
|
5304
|
+
"description": "Field label align, can be set to `center` `right`",
|
5295
5305
|
"options": [],
|
5296
5306
|
"value": {
|
5297
5307
|
"type": "string",
|
@@ -5299,119 +5309,119 @@
|
|
5299
5309
|
}
|
5300
5310
|
},
|
5301
5311
|
{
|
5302
|
-
"name": "
|
5303
|
-
"default": "
|
5304
|
-
"description": "
|
5312
|
+
"name": "input-align",
|
5313
|
+
"default": "`left`",
|
5314
|
+
"description": "Field input align, can be set to `center` `right`",
|
5305
5315
|
"options": [],
|
5306
5316
|
"value": {
|
5307
|
-
"type": "string
|
5317
|
+
"type": "string",
|
5308
5318
|
"kind": "expression"
|
5309
5319
|
}
|
5310
5320
|
},
|
5311
5321
|
{
|
5312
|
-
"name": "
|
5313
|
-
"default": "`
|
5314
|
-
"description": "
|
5322
|
+
"name": "error-message-align",
|
5323
|
+
"default": "`left`",
|
5324
|
+
"description": "Error message align, can be set to `center` `right`",
|
5315
5325
|
"options": [],
|
5316
5326
|
"value": {
|
5317
|
-
"type": "
|
5327
|
+
"type": "string",
|
5318
5328
|
"kind": "expression"
|
5319
5329
|
}
|
5320
5330
|
},
|
5321
5331
|
{
|
5322
|
-
"name": "
|
5323
|
-
"default": "`
|
5324
|
-
"description": "
|
5332
|
+
"name": "validate-trigger",
|
5333
|
+
"default": "`onBlur`",
|
5334
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
|
5325
5335
|
"options": [],
|
5326
5336
|
"value": {
|
5327
|
-
"type": "
|
5337
|
+
"type": "string | string[]",
|
5328
5338
|
"kind": "expression"
|
5329
5339
|
}
|
5330
5340
|
},
|
5331
5341
|
{
|
5332
|
-
"name": "
|
5333
|
-
"default": "`
|
5334
|
-
"description": "
|
5342
|
+
"name": "colon",
|
5343
|
+
"default": "`false`",
|
5344
|
+
"description": "Whether to display colon after label",
|
5335
5345
|
"options": [],
|
5336
5346
|
"value": {
|
5337
|
-
"type": "
|
5347
|
+
"type": "boolean",
|
5338
5348
|
"kind": "expression"
|
5339
5349
|
}
|
5340
5350
|
},
|
5341
5351
|
{
|
5342
|
-
"name": "
|
5352
|
+
"name": "disabled",
|
5343
5353
|
"default": "`false`",
|
5344
|
-
"description": "
|
5354
|
+
"description": "Whether to disable form",
|
5345
5355
|
"options": [],
|
5346
5356
|
"value": {
|
5347
|
-
"type": "boolean
|
5357
|
+
"type": "boolean",
|
5348
5358
|
"kind": "expression"
|
5349
5359
|
}
|
5350
5360
|
},
|
5351
5361
|
{
|
5352
|
-
"name": "
|
5353
|
-
"default": "
|
5354
|
-
"description": "
|
5362
|
+
"name": "readonly",
|
5363
|
+
"default": "`false`",
|
5364
|
+
"description": "Whether to be readonly",
|
5355
5365
|
"options": [],
|
5356
5366
|
"value": {
|
5357
|
-
"type": "
|
5367
|
+
"type": "boolean",
|
5358
5368
|
"kind": "expression"
|
5359
5369
|
}
|
5360
5370
|
},
|
5361
5371
|
{
|
5362
|
-
"name": "
|
5363
|
-
"default": "
|
5364
|
-
"description": "
|
5372
|
+
"name": "validate-first",
|
5373
|
+
"default": "`false`",
|
5374
|
+
"description": "Whether to stop the validation when a rule fails",
|
5365
5375
|
"options": [],
|
5366
5376
|
"value": {
|
5367
|
-
"type": "
|
5377
|
+
"type": "boolean",
|
5368
5378
|
"kind": "expression"
|
5369
5379
|
}
|
5370
5380
|
},
|
5371
5381
|
{
|
5372
|
-
"name": "
|
5373
|
-
"default": "`
|
5374
|
-
"description": "
|
5382
|
+
"name": "scroll-to-error",
|
5383
|
+
"default": "`false`",
|
5384
|
+
"description": "Whether to scroll to the error field when validation failed",
|
5375
5385
|
"options": [],
|
5376
5386
|
"value": {
|
5377
|
-
"type": "
|
5387
|
+
"type": "boolean",
|
5378
5388
|
"kind": "expression"
|
5379
5389
|
}
|
5380
5390
|
},
|
5381
5391
|
{
|
5382
|
-
"name": "
|
5383
|
-
"default": "
|
5384
|
-
"description": "
|
5392
|
+
"name": "show-error",
|
5393
|
+
"default": "`false`",
|
5394
|
+
"description": "Whether to highlight input when validation failed",
|
5385
5395
|
"options": [],
|
5386
5396
|
"value": {
|
5387
|
-
"type": "
|
5397
|
+
"type": "boolean",
|
5388
5398
|
"kind": "expression"
|
5389
5399
|
}
|
5390
5400
|
},
|
5391
5401
|
{
|
5392
|
-
"name": "
|
5393
|
-
"default": "
|
5394
|
-
"description": "
|
5402
|
+
"name": "show-error-message",
|
5403
|
+
"default": "`true`",
|
5404
|
+
"description": "Whether to show error message when validation failed",
|
5395
5405
|
"options": [],
|
5396
5406
|
"value": {
|
5397
|
-
"type": "
|
5407
|
+
"type": "boolean",
|
5398
5408
|
"kind": "expression"
|
5399
5409
|
}
|
5400
5410
|
},
|
5401
5411
|
{
|
5402
|
-
"name": "
|
5403
|
-
"default": "
|
5404
|
-
"description": "
|
5412
|
+
"name": "submit-on-enter",
|
5413
|
+
"default": "`true`",
|
5414
|
+
"description": "Whether to submit form on enter",
|
5405
5415
|
"options": [],
|
5406
5416
|
"value": {
|
5407
|
-
"type": "
|
5417
|
+
"type": "boolean",
|
5408
5418
|
"kind": "expression"
|
5409
5419
|
}
|
5410
5420
|
}
|
5411
5421
|
]
|
5412
5422
|
},
|
5413
5423
|
{
|
5414
|
-
"name": "grid",
|
5424
|
+
"name": "van-grid",
|
5415
5425
|
"slots": [],
|
5416
5426
|
"events": [],
|
5417
5427
|
"attributes": [
|
@@ -5508,7 +5518,7 @@
|
|
5508
5518
|
]
|
5509
5519
|
},
|
5510
5520
|
{
|
5511
|
-
"name": "grid-item",
|
5521
|
+
"name": "van-grid-item",
|
5512
5522
|
"slots": [
|
5513
5523
|
{
|
5514
5524
|
"name": "default",
|
@@ -5639,7 +5649,7 @@
|
|
5639
5649
|
]
|
5640
5650
|
},
|
5641
5651
|
{
|
5642
|
-
"name": "icon",
|
5652
|
+
"name": "van-icon",
|
5643
5653
|
"slots": [],
|
5644
5654
|
"events": [
|
5645
5655
|
{
|
@@ -5737,7 +5747,7 @@
|
|
5737
5747
|
]
|
5738
5748
|
},
|
5739
5749
|
{
|
5740
|
-
"name": "image",
|
5750
|
+
"name": "van-image",
|
5741
5751
|
"slots": [
|
5742
5752
|
{
|
5743
5753
|
"name": "default",
|
@@ -5928,7 +5938,7 @@
|
|
5928
5938
|
]
|
5929
5939
|
},
|
5930
5940
|
{
|
5931
|
-
"name": "image-preview",
|
5941
|
+
"name": "van-image-preview",
|
5932
5942
|
"slots": [
|
5933
5943
|
{
|
5934
5944
|
"name": "index",
|
@@ -6180,7 +6190,7 @@
|
|
6180
6190
|
]
|
6181
6191
|
},
|
6182
6192
|
{
|
6183
|
-
"name": "index-bar",
|
6193
|
+
"name": "van-index-bar",
|
6184
6194
|
"slots": [],
|
6185
6195
|
"events": [
|
6186
6196
|
{
|
@@ -6268,7 +6278,7 @@
|
|
6268
6278
|
]
|
6269
6279
|
},
|
6270
6280
|
{
|
6271
|
-
"name": "index-anchor",
|
6281
|
+
"name": "van-index-anchor",
|
6272
6282
|
"slots": [
|
6273
6283
|
{
|
6274
6284
|
"name": "default",
|
@@ -6290,7 +6300,7 @@
|
|
6290
6300
|
]
|
6291
6301
|
},
|
6292
6302
|
{
|
6293
|
-
"name": "list",
|
6303
|
+
"name": "van-list",
|
6294
6304
|
"slots": [
|
6295
6305
|
{
|
6296
6306
|
"name": "default",
|
@@ -6410,7 +6420,7 @@
|
|
6410
6420
|
]
|
6411
6421
|
},
|
6412
6422
|
{
|
6413
|
-
"name": "loading",
|
6423
|
+
"name": "van-loading",
|
6414
6424
|
"slots": [
|
6415
6425
|
{
|
6416
6426
|
"name": "default",
|
@@ -6419,191 +6429,60 @@
|
|
6419
6429
|
],
|
6420
6430
|
"events": [],
|
6421
6431
|
"attributes": [
|
6422
|
-
{
|
6423
|
-
"name": "color",
|
6424
|
-
"default": "`#c9c9c9`",
|
6425
|
-
"description": "Loading color",
|
6426
|
-
"options": [],
|
6427
|
-
"value": {
|
6428
|
-
"type": "string",
|
6429
|
-
"kind": "expression"
|
6430
|
-
}
|
6431
|
-
},
|
6432
|
-
{
|
6433
|
-
"name": "type",
|
6434
|
-
"default": "`circular`",
|
6435
|
-
"description": "Can be set to `spinner`",
|
6436
|
-
"options": [],
|
6437
|
-
"value": {
|
6438
|
-
"type": "string",
|
6439
|
-
"kind": "expression"
|
6440
|
-
}
|
6441
|
-
},
|
6442
|
-
{
|
6443
|
-
"name": "size",
|
6444
|
-
"default": "`30px`",
|
6445
|
-
"description": "Icon size",
|
6446
|
-
"options": [],
|
6447
|
-
"value": {
|
6448
|
-
"type": "number | string",
|
6449
|
-
"kind": "expression"
|
6450
|
-
}
|
6451
|
-
},
|
6452
|
-
{
|
6453
|
-
"name": "text-size",
|
6454
|
-
"default": "`14px`",
|
6455
|
-
"description": "Text font size",
|
6456
|
-
"options": [],
|
6457
|
-
"value": {
|
6458
|
-
"type": "number | string",
|
6459
|
-
"kind": "expression"
|
6460
|
-
}
|
6461
|
-
},
|
6462
|
-
{
|
6463
|
-
"name": "text-color",
|
6464
|
-
"default": "`#c9c9c9`",
|
6465
|
-
"description": "Text color",
|
6466
|
-
"options": [],
|
6467
|
-
"value": {
|
6468
|
-
"type": "string",
|
6469
|
-
"kind": "expression"
|
6470
|
-
}
|
6471
|
-
},
|
6472
|
-
{
|
6473
|
-
"name": "vertical",
|
6474
|
-
"default": "`false`",
|
6475
|
-
"description": "Whether to arrange icons and text content vertically",
|
6476
|
-
"options": [],
|
6477
|
-
"value": {
|
6478
|
-
"type": "boolean",
|
6479
|
-
"kind": "expression"
|
6480
|
-
}
|
6481
|
-
}
|
6482
|
-
]
|
6483
|
-
},
|
6484
|
-
{
|
6485
|
-
"name": "nav-bar",
|
6486
|
-
"slots": [
|
6487
|
-
{
|
6488
|
-
"name": "title",
|
6489
|
-
"description": "Custom title"
|
6490
|
-
},
|
6491
|
-
{
|
6492
|
-
"name": "left",
|
6493
|
-
"description": "Custom left side content"
|
6494
|
-
},
|
6495
|
-
{
|
6496
|
-
"name": "right",
|
6497
|
-
"description": "Custom right side content"
|
6498
|
-
}
|
6499
|
-
],
|
6500
|
-
"events": [
|
6501
|
-
{
|
6502
|
-
"name": "click-left",
|
6503
|
-
"description": "Emitted when the left button is clicked",
|
6504
|
-
"arguments": [
|
6505
|
-
{
|
6506
|
-
"name": "event",
|
6507
|
-
"type": "MouseEvent"
|
6508
|
-
}
|
6509
|
-
]
|
6510
|
-
},
|
6511
|
-
{
|
6512
|
-
"name": "click-right",
|
6513
|
-
"description": "Emitted when the right button is clicked",
|
6514
|
-
"arguments": [
|
6515
|
-
{
|
6516
|
-
"name": "event",
|
6517
|
-
"type": "MouseEvent"
|
6518
|
-
}
|
6519
|
-
]
|
6520
|
-
}
|
6521
|
-
],
|
6522
|
-
"attributes": [
|
6523
|
-
{
|
6524
|
-
"name": "title",
|
6525
|
-
"default": "`''`",
|
6526
|
-
"description": "Title",
|
6527
|
-
"options": [],
|
6528
|
-
"value": {
|
6529
|
-
"type": "string",
|
6530
|
-
"kind": "expression"
|
6531
|
-
}
|
6532
|
-
},
|
6533
|
-
{
|
6534
|
-
"name": "left-text",
|
6535
|
-
"default": "`''`",
|
6536
|
-
"description": "Left Text",
|
6537
|
-
"options": [],
|
6538
|
-
"value": {
|
6539
|
-
"type": "string",
|
6540
|
-
"kind": "expression"
|
6541
|
-
}
|
6542
|
-
},
|
6543
|
-
{
|
6544
|
-
"name": "right-text",
|
6545
|
-
"default": "`''`",
|
6546
|
-
"description": "Right Text",
|
6547
|
-
"options": [],
|
6548
|
-
"value": {
|
6549
|
-
"type": "string",
|
6550
|
-
"kind": "expression"
|
6551
|
-
}
|
6552
|
-
},
|
6553
|
-
{
|
6554
|
-
"name": "left-arrow",
|
6555
|
-
"default": "`false`",
|
6556
|
-
"description": "Whether to show left arrow",
|
6432
|
+
{
|
6433
|
+
"name": "color",
|
6434
|
+
"default": "`#c9c9c9`",
|
6435
|
+
"description": "Loading color",
|
6557
6436
|
"options": [],
|
6558
6437
|
"value": {
|
6559
|
-
"type": "
|
6438
|
+
"type": "string",
|
6560
6439
|
"kind": "expression"
|
6561
6440
|
}
|
6562
6441
|
},
|
6563
6442
|
{
|
6564
|
-
"name": "
|
6565
|
-
"default": "`
|
6566
|
-
"description": "
|
6443
|
+
"name": "type",
|
6444
|
+
"default": "`circular`",
|
6445
|
+
"description": "Can be set to `spinner`",
|
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": "size",
|
6454
|
+
"default": "`30px`",
|
6455
|
+
"description": "Icon size",
|
6577
6456
|
"options": [],
|
6578
6457
|
"value": {
|
6579
|
-
"type": "
|
6458
|
+
"type": "number | string",
|
6580
6459
|
"kind": "expression"
|
6581
6460
|
}
|
6582
6461
|
},
|
6583
6462
|
{
|
6584
|
-
"name": "
|
6585
|
-
"default": "`
|
6586
|
-
"description": "
|
6463
|
+
"name": "text-size",
|
6464
|
+
"default": "`14px`",
|
6465
|
+
"description": "Text font 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-color",
|
6474
|
+
"default": "`#c9c9c9`",
|
6475
|
+
"description": "Text color",
|
6597
6476
|
"options": [],
|
6598
6477
|
"value": {
|
6599
|
-
"type": "
|
6478
|
+
"type": "string",
|
6600
6479
|
"kind": "expression"
|
6601
6480
|
}
|
6602
6481
|
},
|
6603
6482
|
{
|
6604
|
-
"name": "
|
6483
|
+
"name": "vertical",
|
6605
6484
|
"default": "`false`",
|
6606
|
-
"description": "Whether to
|
6485
|
+
"description": "Whether to arrange icons and text content vertically",
|
6607
6486
|
"options": [],
|
6608
6487
|
"value": {
|
6609
6488
|
"type": "boolean",
|
@@ -6613,25 +6492,25 @@
|
|
6613
6492
|
]
|
6614
6493
|
},
|
6615
6494
|
{
|
6616
|
-
"name": "
|
6495
|
+
"name": "van-nav-bar",
|
6617
6496
|
"slots": [
|
6618
6497
|
{
|
6619
|
-
"name": "
|
6620
|
-
"description": "
|
6498
|
+
"name": "title",
|
6499
|
+
"description": "Custom title"
|
6621
6500
|
},
|
6622
6501
|
{
|
6623
|
-
"name": "left
|
6624
|
-
"description": "Custom left
|
6502
|
+
"name": "left",
|
6503
|
+
"description": "Custom left side content"
|
6625
6504
|
},
|
6626
6505
|
{
|
6627
|
-
"name": "right
|
6628
|
-
"description": "Custom right
|
6506
|
+
"name": "right",
|
6507
|
+
"description": "Custom right side content"
|
6629
6508
|
}
|
6630
6509
|
],
|
6631
6510
|
"events": [
|
6632
6511
|
{
|
6633
|
-
"name": "click",
|
6634
|
-
"description": "Emitted when
|
6512
|
+
"name": "click-left",
|
6513
|
+
"description": "Emitted when the left button is clicked",
|
6635
6514
|
"arguments": [
|
6636
6515
|
{
|
6637
6516
|
"name": "event",
|
@@ -6640,26 +6519,21 @@
|
|
6640
6519
|
]
|
6641
6520
|
},
|
6642
6521
|
{
|
6643
|
-
"name": "
|
6644
|
-
"description": "Emitted when
|
6522
|
+
"name": "click-right",
|
6523
|
+
"description": "Emitted when the right button is clicked",
|
6645
6524
|
"arguments": [
|
6646
6525
|
{
|
6647
6526
|
"name": "event",
|
6648
6527
|
"type": "MouseEvent"
|
6649
6528
|
}
|
6650
6529
|
]
|
6651
|
-
},
|
6652
|
-
{
|
6653
|
-
"name": "replay",
|
6654
|
-
"description": "Emitted when NoticeBar is replayed",
|
6655
|
-
"arguments": []
|
6656
6530
|
}
|
6657
6531
|
],
|
6658
6532
|
"attributes": [
|
6659
6533
|
{
|
6660
|
-
"name": "
|
6534
|
+
"name": "title",
|
6661
6535
|
"default": "`''`",
|
6662
|
-
"description": "
|
6536
|
+
"description": "Title",
|
6663
6537
|
"options": [],
|
6664
6538
|
"value": {
|
6665
6539
|
"type": "string",
|
@@ -6667,9 +6541,9 @@
|
|
6667
6541
|
}
|
6668
6542
|
},
|
6669
6543
|
{
|
6670
|
-
"name": "text",
|
6544
|
+
"name": "left-text",
|
6671
6545
|
"default": "`''`",
|
6672
|
-
"description": "
|
6546
|
+
"description": "Left Text",
|
6673
6547
|
"options": [],
|
6674
6548
|
"value": {
|
6675
6549
|
"type": "string",
|
@@ -6677,9 +6551,9 @@
|
|
6677
6551
|
}
|
6678
6552
|
},
|
6679
6553
|
{
|
6680
|
-
"name": "
|
6681
|
-
"default": "
|
6682
|
-
"description": "Text
|
6554
|
+
"name": "right-text",
|
6555
|
+
"default": "`''`",
|
6556
|
+
"description": "Right Text",
|
6683
6557
|
"options": [],
|
6684
6558
|
"value": {
|
6685
6559
|
"type": "string",
|
@@ -6687,59 +6561,59 @@
|
|
6687
6561
|
}
|
6688
6562
|
},
|
6689
6563
|
{
|
6690
|
-
"name": "
|
6691
|
-
"default": "
|
6692
|
-
"description": "
|
6564
|
+
"name": "left-arrow",
|
6565
|
+
"default": "`false`",
|
6566
|
+
"description": "Whether to show left arrow",
|
6693
6567
|
"options": [],
|
6694
6568
|
"value": {
|
6695
|
-
"type": "
|
6569
|
+
"type": "boolean",
|
6696
6570
|
"kind": "expression"
|
6697
6571
|
}
|
6698
6572
|
},
|
6699
6573
|
{
|
6700
|
-
"name": "
|
6701
|
-
"default": "
|
6702
|
-
"description": "
|
6574
|
+
"name": "border",
|
6575
|
+
"default": "`true`",
|
6576
|
+
"description": "Whether to show bottom border",
|
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": "fixed",
|
6585
|
+
"default": "`false`",
|
6586
|
+
"description": "Whether to fixed top",
|
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": "placeholder",
|
6595
|
+
"default": "`false`",
|
6596
|
+
"description": "Whether to generate a placeholder element when fixed",
|
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": "z-index",
|
6605
|
+
"default": "`1`",
|
6606
|
+
"description": "Z-index",
|
6733
6607
|
"options": [],
|
6734
6608
|
"value": {
|
6735
|
-
"type": "
|
6609
|
+
"type": "number | string",
|
6736
6610
|
"kind": "expression"
|
6737
6611
|
}
|
6738
6612
|
},
|
6739
6613
|
{
|
6740
|
-
"name": "
|
6614
|
+
"name": "safe-area-inset-top",
|
6741
6615
|
"default": "`false`",
|
6742
|
-
"description": "Whether to enable
|
6616
|
+
"description": "Whether to enable top safe area adaptation",
|
6743
6617
|
"options": [],
|
6744
6618
|
"value": {
|
6745
6619
|
"type": "boolean",
|
@@ -6749,7 +6623,7 @@
|
|
6749
6623
|
]
|
6750
6624
|
},
|
6751
6625
|
{
|
6752
|
-
"name": "number-keyboard",
|
6626
|
+
"name": "van-number-keyboard",
|
6753
6627
|
"slots": [
|
6754
6628
|
{
|
6755
6629
|
"name": "delete",
|
@@ -6928,34 +6802,170 @@
|
|
6928
6802
|
"description": "Whether to emit blur event when clicking close button",
|
6929
6803
|
"options": [],
|
6930
6804
|
"value": {
|
6931
|
-
"type": "boolean",
|
6805
|
+
"type": "boolean",
|
6806
|
+
"kind": "expression"
|
6807
|
+
}
|
6808
|
+
},
|
6809
|
+
{
|
6810
|
+
"name": "hide-on-click-outside",
|
6811
|
+
"default": "`true`",
|
6812
|
+
"description": "Whether to hide keyboard when outside is clicked",
|
6813
|
+
"options": [],
|
6814
|
+
"value": {
|
6815
|
+
"type": "boolean",
|
6816
|
+
"kind": "expression"
|
6817
|
+
}
|
6818
|
+
},
|
6819
|
+
{
|
6820
|
+
"name": "teleport",
|
6821
|
+
"default": "-",
|
6822
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6823
|
+
"options": [],
|
6824
|
+
"value": {
|
6825
|
+
"type": "string | Element",
|
6826
|
+
"kind": "expression"
|
6827
|
+
}
|
6828
|
+
},
|
6829
|
+
{
|
6830
|
+
"name": "safe-area-inset-bottom",
|
6831
|
+
"default": "`true`",
|
6832
|
+
"description": "Whether to enable bottom safe area adaptation",
|
6833
|
+
"options": [],
|
6834
|
+
"value": {
|
6835
|
+
"type": "boolean",
|
6836
|
+
"kind": "expression"
|
6837
|
+
}
|
6838
|
+
},
|
6839
|
+
{
|
6840
|
+
"name": "random-key-order",
|
6841
|
+
"default": "`false`",
|
6842
|
+
"description": "Whether to shuffle the order of keys",
|
6843
|
+
"options": [],
|
6844
|
+
"value": {
|
6845
|
+
"type": "boolean",
|
6846
|
+
"kind": "expression"
|
6847
|
+
}
|
6848
|
+
}
|
6849
|
+
]
|
6850
|
+
},
|
6851
|
+
{
|
6852
|
+
"name": "van-notice-bar",
|
6853
|
+
"slots": [
|
6854
|
+
{
|
6855
|
+
"name": "default",
|
6856
|
+
"description": "Notice text content"
|
6857
|
+
},
|
6858
|
+
{
|
6859
|
+
"name": "left-icon",
|
6860
|
+
"description": "Custom left icon"
|
6861
|
+
},
|
6862
|
+
{
|
6863
|
+
"name": "right-icon",
|
6864
|
+
"description": "Custom right icon"
|
6865
|
+
}
|
6866
|
+
],
|
6867
|
+
"events": [
|
6868
|
+
{
|
6869
|
+
"name": "click",
|
6870
|
+
"description": "Emitted when NoticeBar is clicked",
|
6871
|
+
"arguments": [
|
6872
|
+
{
|
6873
|
+
"name": "event",
|
6874
|
+
"type": "MouseEvent"
|
6875
|
+
}
|
6876
|
+
]
|
6877
|
+
},
|
6878
|
+
{
|
6879
|
+
"name": "close",
|
6880
|
+
"description": "Emitted when NoticeBar is closed",
|
6881
|
+
"arguments": [
|
6882
|
+
{
|
6883
|
+
"name": "event",
|
6884
|
+
"type": "MouseEvent"
|
6885
|
+
}
|
6886
|
+
]
|
6887
|
+
},
|
6888
|
+
{
|
6889
|
+
"name": "replay",
|
6890
|
+
"description": "Emitted when NoticeBar is replayed",
|
6891
|
+
"arguments": []
|
6892
|
+
}
|
6893
|
+
],
|
6894
|
+
"attributes": [
|
6895
|
+
{
|
6896
|
+
"name": "mode",
|
6897
|
+
"default": "`''`",
|
6898
|
+
"description": "Mode, can be set to `closeable` `link`",
|
6899
|
+
"options": [],
|
6900
|
+
"value": {
|
6901
|
+
"type": "string",
|
6902
|
+
"kind": "expression"
|
6903
|
+
}
|
6904
|
+
},
|
6905
|
+
{
|
6906
|
+
"name": "text",
|
6907
|
+
"default": "`''`",
|
6908
|
+
"description": "Notice text content",
|
6909
|
+
"options": [],
|
6910
|
+
"value": {
|
6911
|
+
"type": "string",
|
6912
|
+
"kind": "expression"
|
6913
|
+
}
|
6914
|
+
},
|
6915
|
+
{
|
6916
|
+
"name": "color",
|
6917
|
+
"default": "`#ed6a0c`",
|
6918
|
+
"description": "Text color",
|
6919
|
+
"options": [],
|
6920
|
+
"value": {
|
6921
|
+
"type": "string",
|
6922
|
+
"kind": "expression"
|
6923
|
+
}
|
6924
|
+
},
|
6925
|
+
{
|
6926
|
+
"name": "background",
|
6927
|
+
"default": "`#fffbe8`",
|
6928
|
+
"description": "Background color",
|
6929
|
+
"options": [],
|
6930
|
+
"value": {
|
6931
|
+
"type": "string",
|
6932
|
+
"kind": "expression"
|
6933
|
+
}
|
6934
|
+
},
|
6935
|
+
{
|
6936
|
+
"name": "left-icon",
|
6937
|
+
"default": "-",
|
6938
|
+
"description": "Left Icon",
|
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": "delay",
|
6947
|
+
"default": "`1`",
|
6948
|
+
"description": "Animation delay (s)",
|
6939
6949
|
"options": [],
|
6940
6950
|
"value": {
|
6941
|
-
"type": "
|
6951
|
+
"type": "number | string",
|
6942
6952
|
"kind": "expression"
|
6943
6953
|
}
|
6944
6954
|
},
|
6945
6955
|
{
|
6946
|
-
"name": "
|
6947
|
-
"default": "
|
6948
|
-
"description": "
|
6956
|
+
"name": "speed",
|
6957
|
+
"default": "`60`",
|
6958
|
+
"description": "Scroll speed (px/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": "Whether to
|
6966
|
+
"name": "scrollable",
|
6967
|
+
"default": "-",
|
6968
|
+
"description": "Whether to scroll content",
|
6959
6969
|
"options": [],
|
6960
6970
|
"value": {
|
6961
6971
|
"type": "boolean",
|
@@ -6963,9 +6973,9 @@
|
|
6963
6973
|
}
|
6964
6974
|
},
|
6965
6975
|
{
|
6966
|
-
"name": "
|
6976
|
+
"name": "wrapable",
|
6967
6977
|
"default": "`false`",
|
6968
|
-
"description": "Whether to
|
6978
|
+
"description": "Whether to enable text wrap",
|
6969
6979
|
"options": [],
|
6970
6980
|
"value": {
|
6971
6981
|
"type": "boolean",
|
@@ -6975,7 +6985,7 @@
|
|
6975
6985
|
]
|
6976
6986
|
},
|
6977
6987
|
{
|
6978
|
-
"name": "overlay",
|
6988
|
+
"name": "van-overlay",
|
6979
6989
|
"slots": [
|
6980
6990
|
{
|
6981
6991
|
"name": "default",
|
@@ -7068,7 +7078,7 @@
|
|
7068
7078
|
]
|
7069
7079
|
},
|
7070
7080
|
{
|
7071
|
-
"name": "pagination",
|
7081
|
+
"name": "van-pagination",
|
7072
7082
|
"slots": [
|
7073
7083
|
{
|
7074
7084
|
"name": "page",
|
@@ -7184,90 +7194,7 @@
|
|
7184
7194
|
]
|
7185
7195
|
},
|
7186
7196
|
{
|
7187
|
-
"name": "
|
7188
|
-
"slots": [],
|
7189
|
-
"events": [
|
7190
|
-
{
|
7191
|
-
"name": "focus",
|
7192
|
-
"description": "Emitted when input is focused",
|
7193
|
-
"arguments": []
|
7194
|
-
}
|
7195
|
-
],
|
7196
|
-
"attributes": [
|
7197
|
-
{
|
7198
|
-
"name": "value",
|
7199
|
-
"default": "`''`",
|
7200
|
-
"description": "Password value",
|
7201
|
-
"options": [],
|
7202
|
-
"value": {
|
7203
|
-
"type": "string",
|
7204
|
-
"kind": "expression"
|
7205
|
-
}
|
7206
|
-
},
|
7207
|
-
{
|
7208
|
-
"name": "info",
|
7209
|
-
"default": "-",
|
7210
|
-
"description": "Bottom info",
|
7211
|
-
"options": [],
|
7212
|
-
"value": {
|
7213
|
-
"type": "string",
|
7214
|
-
"kind": "expression"
|
7215
|
-
}
|
7216
|
-
},
|
7217
|
-
{
|
7218
|
-
"name": "error-info",
|
7219
|
-
"default": "-",
|
7220
|
-
"description": "Bottom error info",
|
7221
|
-
"options": [],
|
7222
|
-
"value": {
|
7223
|
-
"type": "string",
|
7224
|
-
"kind": "expression"
|
7225
|
-
}
|
7226
|
-
},
|
7227
|
-
{
|
7228
|
-
"name": "length",
|
7229
|
-
"default": "`6`",
|
7230
|
-
"description": "Maxlength of password",
|
7231
|
-
"options": [],
|
7232
|
-
"value": {
|
7233
|
-
"type": "number | string",
|
7234
|
-
"kind": "expression"
|
7235
|
-
}
|
7236
|
-
},
|
7237
|
-
{
|
7238
|
-
"name": "gutter",
|
7239
|
-
"default": "`0`",
|
7240
|
-
"description": "Gutter of input",
|
7241
|
-
"options": [],
|
7242
|
-
"value": {
|
7243
|
-
"type": "number | string",
|
7244
|
-
"kind": "expression"
|
7245
|
-
}
|
7246
|
-
},
|
7247
|
-
{
|
7248
|
-
"name": "mask",
|
7249
|
-
"default": "`true`",
|
7250
|
-
"description": "Whether to mask value",
|
7251
|
-
"options": [],
|
7252
|
-
"value": {
|
7253
|
-
"type": "boolean",
|
7254
|
-
"kind": "expression"
|
7255
|
-
}
|
7256
|
-
},
|
7257
|
-
{
|
7258
|
-
"name": "focused",
|
7259
|
-
"default": "`false`",
|
7260
|
-
"description": "Whether to show focused cursor",
|
7261
|
-
"options": [],
|
7262
|
-
"value": {
|
7263
|
-
"type": "boolean",
|
7264
|
-
"kind": "expression"
|
7265
|
-
}
|
7266
|
-
}
|
7267
|
-
]
|
7268
|
-
},
|
7269
|
-
{
|
7270
|
-
"name": "picker",
|
7197
|
+
"name": "van-picker",
|
7271
7198
|
"slots": [
|
7272
7199
|
{
|
7273
7200
|
"name": "toolbar",
|
@@ -7476,7 +7403,90 @@
|
|
7476
7403
|
]
|
7477
7404
|
},
|
7478
7405
|
{
|
7479
|
-
"name": "
|
7406
|
+
"name": "van-password-input",
|
7407
|
+
"slots": [],
|
7408
|
+
"events": [
|
7409
|
+
{
|
7410
|
+
"name": "focus",
|
7411
|
+
"description": "Emitted when input is focused",
|
7412
|
+
"arguments": []
|
7413
|
+
}
|
7414
|
+
],
|
7415
|
+
"attributes": [
|
7416
|
+
{
|
7417
|
+
"name": "value",
|
7418
|
+
"default": "`''`",
|
7419
|
+
"description": "Password value",
|
7420
|
+
"options": [],
|
7421
|
+
"value": {
|
7422
|
+
"type": "string",
|
7423
|
+
"kind": "expression"
|
7424
|
+
}
|
7425
|
+
},
|
7426
|
+
{
|
7427
|
+
"name": "info",
|
7428
|
+
"default": "-",
|
7429
|
+
"description": "Bottom info",
|
7430
|
+
"options": [],
|
7431
|
+
"value": {
|
7432
|
+
"type": "string",
|
7433
|
+
"kind": "expression"
|
7434
|
+
}
|
7435
|
+
},
|
7436
|
+
{
|
7437
|
+
"name": "error-info",
|
7438
|
+
"default": "-",
|
7439
|
+
"description": "Bottom error info",
|
7440
|
+
"options": [],
|
7441
|
+
"value": {
|
7442
|
+
"type": "string",
|
7443
|
+
"kind": "expression"
|
7444
|
+
}
|
7445
|
+
},
|
7446
|
+
{
|
7447
|
+
"name": "length",
|
7448
|
+
"default": "`6`",
|
7449
|
+
"description": "Maxlength of password",
|
7450
|
+
"options": [],
|
7451
|
+
"value": {
|
7452
|
+
"type": "number | string",
|
7453
|
+
"kind": "expression"
|
7454
|
+
}
|
7455
|
+
},
|
7456
|
+
{
|
7457
|
+
"name": "gutter",
|
7458
|
+
"default": "`0`",
|
7459
|
+
"description": "Gutter of input",
|
7460
|
+
"options": [],
|
7461
|
+
"value": {
|
7462
|
+
"type": "number | string",
|
7463
|
+
"kind": "expression"
|
7464
|
+
}
|
7465
|
+
},
|
7466
|
+
{
|
7467
|
+
"name": "mask",
|
7468
|
+
"default": "`true`",
|
7469
|
+
"description": "Whether to mask value",
|
7470
|
+
"options": [],
|
7471
|
+
"value": {
|
7472
|
+
"type": "boolean",
|
7473
|
+
"kind": "expression"
|
7474
|
+
}
|
7475
|
+
},
|
7476
|
+
{
|
7477
|
+
"name": "focused",
|
7478
|
+
"default": "`false`",
|
7479
|
+
"description": "Whether to show focused cursor",
|
7480
|
+
"options": [],
|
7481
|
+
"value": {
|
7482
|
+
"type": "boolean",
|
7483
|
+
"kind": "expression"
|
7484
|
+
}
|
7485
|
+
}
|
7486
|
+
]
|
7487
|
+
},
|
7488
|
+
{
|
7489
|
+
"name": "van-popover",
|
7480
7490
|
"slots": [
|
7481
7491
|
{
|
7482
7492
|
"name": "default",
|
@@ -7701,7 +7711,7 @@
|
|
7701
7711
|
]
|
7702
7712
|
},
|
7703
7713
|
{
|
7704
|
-
"name": "popup",
|
7714
|
+
"name": "van-popup",
|
7705
7715
|
"slots": [
|
7706
7716
|
{
|
7707
7717
|
"name": "default",
|
@@ -7978,7 +7988,7 @@
|
|
7978
7988
|
]
|
7979
7989
|
},
|
7980
7990
|
{
|
7981
|
-
"name": "progress",
|
7991
|
+
"name": "van-progress",
|
7982
7992
|
"slots": [],
|
7983
7993
|
"events": [],
|
7984
7994
|
"attributes": [
|
@@ -8075,7 +8085,7 @@
|
|
8075
8085
|
]
|
8076
8086
|
},
|
8077
8087
|
{
|
8078
|
-
"name": "pull-refresh",
|
8088
|
+
"name": "van-pull-refresh",
|
8079
8089
|
"slots": [
|
8080
8090
|
{
|
8081
8091
|
"name": "default",
|
@@ -8222,7 +8232,7 @@
|
|
8222
8232
|
]
|
8223
8233
|
},
|
8224
8234
|
{
|
8225
|
-
"name": "radio",
|
8235
|
+
"name": "van-radio",
|
8226
8236
|
"slots": [
|
8227
8237
|
{
|
8228
8238
|
"name": "default",
|
@@ -8319,7 +8329,7 @@
|
|
8319
8329
|
]
|
8320
8330
|
},
|
8321
8331
|
{
|
8322
|
-
"name": "radio-group",
|
8332
|
+
"name": "van-radio-group",
|
8323
8333
|
"slots": [],
|
8324
8334
|
"events": [
|
8325
8335
|
{
|
@@ -8387,7 +8397,7 @@
|
|
8387
8397
|
]
|
8388
8398
|
},
|
8389
8399
|
{
|
8390
|
-
"name": "rate",
|
8400
|
+
"name": "van-rate",
|
8391
8401
|
"slots": [],
|
8392
8402
|
"events": [
|
8393
8403
|
{
|
@@ -8545,7 +8555,7 @@
|
|
8545
8555
|
]
|
8546
8556
|
},
|
8547
8557
|
{
|
8548
|
-
"name": "search",
|
8558
|
+
"name": "van-search",
|
8549
8559
|
"slots": [
|
8550
8560
|
{
|
8551
8561
|
"name": "left",
|
@@ -8792,7 +8802,7 @@
|
|
8792
8802
|
"description": "Text of action button",
|
8793
8803
|
"options": [],
|
8794
8804
|
"value": {
|
8795
|
-
"type": "
|
8805
|
+
"type": "string",
|
8796
8806
|
"kind": "expression"
|
8797
8807
|
}
|
8798
8808
|
},
|
@@ -8899,7 +8909,7 @@
|
|
8899
8909
|
]
|
8900
8910
|
},
|
8901
8911
|
{
|
8902
|
-
"name": "share-sheet",
|
8912
|
+
"name": "van-share-sheet",
|
8903
8913
|
"slots": [
|
8904
8914
|
{
|
8905
8915
|
"name": "title",
|
@@ -9139,7 +9149,7 @@
|
|
9139
9149
|
]
|
9140
9150
|
},
|
9141
9151
|
{
|
9142
|
-
"name": "sidebar",
|
9152
|
+
"name": "van-sidebar",
|
9143
9153
|
"slots": [],
|
9144
9154
|
"events": [
|
9145
9155
|
{
|
@@ -9167,7 +9177,7 @@
|
|
9167
9177
|
]
|
9168
9178
|
},
|
9169
9179
|
{
|
9170
|
-
"name": "sidebar-item",
|
9180
|
+
"name": "van-sidebar-item",
|
9171
9181
|
"slots": [
|
9172
9182
|
{
|
9173
9183
|
"name": "title",
|
@@ -9270,7 +9280,7 @@
|
|
9270
9280
|
]
|
9271
9281
|
},
|
9272
9282
|
{
|
9273
|
-
"name": "skeleton",
|
9283
|
+
"name": "van-skeleton",
|
9274
9284
|
"slots": [],
|
9275
9285
|
"events": [],
|
9276
9286
|
"attributes": [
|
@@ -9377,7 +9387,7 @@
|
|
9377
9387
|
]
|
9378
9388
|
},
|
9379
9389
|
{
|
9380
|
-
"name": "slider",
|
9390
|
+
"name": "van-slider",
|
9381
9391
|
"slots": [
|
9382
9392
|
{
|
9383
9393
|
"name": "button",
|
@@ -9516,38 +9526,100 @@
|
|
9516
9526
|
}
|
9517
9527
|
},
|
9518
9528
|
{
|
9519
|
-
"name": "range",
|
9520
|
-
"default": "`false`",
|
9521
|
-
"description": "Whether to enable dual thumb mode",
|
9529
|
+
"name": "range",
|
9530
|
+
"default": "`false`",
|
9531
|
+
"description": "Whether to enable dual thumb mode",
|
9532
|
+
"options": [],
|
9533
|
+
"value": {
|
9534
|
+
"type": "boolean",
|
9535
|
+
"kind": "expression"
|
9536
|
+
}
|
9537
|
+
},
|
9538
|
+
{
|
9539
|
+
"name": "reverse",
|
9540
|
+
"description": "Whether to reverse slider",
|
9541
|
+
"options": [],
|
9542
|
+
"value": {
|
9543
|
+
"type": "`false`",
|
9544
|
+
"kind": "expression"
|
9545
|
+
}
|
9546
|
+
},
|
9547
|
+
{
|
9548
|
+
"name": "disabled",
|
9549
|
+
"default": "`false`",
|
9550
|
+
"description": "Whether to disable slider",
|
9551
|
+
"options": [],
|
9552
|
+
"value": {
|
9553
|
+
"type": "boolean",
|
9554
|
+
"kind": "expression"
|
9555
|
+
}
|
9556
|
+
},
|
9557
|
+
{
|
9558
|
+
"name": "readonly",
|
9559
|
+
"default": "`false`",
|
9560
|
+
"description": "Whether to be readonly",
|
9561
|
+
"options": [],
|
9562
|
+
"value": {
|
9563
|
+
"type": "boolean",
|
9564
|
+
"kind": "expression"
|
9565
|
+
}
|
9566
|
+
},
|
9567
|
+
{
|
9568
|
+
"name": "vertical",
|
9569
|
+
"default": "`false`",
|
9570
|
+
"description": "Whether to display slider vertically",
|
9571
|
+
"options": [],
|
9572
|
+
"value": {
|
9573
|
+
"type": "boolean",
|
9574
|
+
"kind": "expression"
|
9575
|
+
}
|
9576
|
+
}
|
9577
|
+
]
|
9578
|
+
},
|
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",
|
9522
9593
|
"options": [],
|
9523
9594
|
"value": {
|
9524
|
-
"type": "
|
9595
|
+
"type": "vertical | horizontal",
|
9525
9596
|
"kind": "expression"
|
9526
9597
|
}
|
9527
9598
|
},
|
9528
9599
|
{
|
9529
|
-
"name": "
|
9530
|
-
"
|
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",
|
9531
9603
|
"options": [],
|
9532
9604
|
"value": {
|
9533
|
-
"type": "
|
9605
|
+
"type": "number | string | number[] | string[]",
|
9534
9606
|
"kind": "expression"
|
9535
9607
|
}
|
9536
9608
|
},
|
9537
9609
|
{
|
9538
|
-
"name": "
|
9539
|
-
"default": "
|
9540
|
-
"description": "
|
9610
|
+
"name": "align",
|
9611
|
+
"default": "-",
|
9612
|
+
"description": "Spacing alignment",
|
9541
9613
|
"options": [],
|
9542
9614
|
"value": {
|
9543
|
-
"type": "
|
9615
|
+
"type": "start | end | center | baseline",
|
9544
9616
|
"kind": "expression"
|
9545
9617
|
}
|
9546
9618
|
},
|
9547
9619
|
{
|
9548
|
-
"name": "
|
9620
|
+
"name": "wrap",
|
9549
9621
|
"default": "`false`",
|
9550
|
-
"description": "Whether to
|
9622
|
+
"description": "Whether to wrap automatically, only for horizontal alignment",
|
9551
9623
|
"options": [],
|
9552
9624
|
"value": {
|
9553
9625
|
"type": "boolean",
|
@@ -9555,9 +9627,9 @@
|
|
9555
9627
|
}
|
9556
9628
|
},
|
9557
9629
|
{
|
9558
|
-
"name": "
|
9630
|
+
"name": "fill",
|
9559
9631
|
"default": "`false`",
|
9560
|
-
"description": "Whether to
|
9632
|
+
"description": "Whether to render Space as a block element and fill the parent element",
|
9561
9633
|
"options": [],
|
9562
9634
|
"value": {
|
9563
9635
|
"type": "boolean",
|
@@ -9567,7 +9639,7 @@
|
|
9567
9639
|
]
|
9568
9640
|
},
|
9569
9641
|
{
|
9570
|
-
"name": "stepper",
|
9642
|
+
"name": "van-stepper",
|
9571
9643
|
"slots": [],
|
9572
9644
|
"events": [
|
9573
9645
|
{
|
@@ -9844,7 +9916,7 @@
|
|
9844
9916
|
]
|
9845
9917
|
},
|
9846
9918
|
{
|
9847
|
-
"name": "steps",
|
9919
|
+
"name": "van-steps",
|
9848
9920
|
"slots": [],
|
9849
9921
|
"events": [
|
9850
9922
|
{
|
@@ -9942,7 +10014,7 @@
|
|
9942
10014
|
]
|
9943
10015
|
},
|
9944
10016
|
{
|
9945
|
-
"name": "step",
|
10017
|
+
"name": "van-step",
|
9946
10018
|
"slots": [
|
9947
10019
|
{
|
9948
10020
|
"name": "default",
|
@@ -9965,7 +10037,7 @@
|
|
9965
10037
|
"attributes": []
|
9966
10038
|
},
|
9967
10039
|
{
|
9968
|
-
"name": "sticky",
|
10040
|
+
"name": "van-sticky",
|
9969
10041
|
"slots": [],
|
9970
10042
|
"events": [
|
9971
10043
|
{
|
@@ -10042,7 +10114,7 @@
|
|
10042
10114
|
]
|
10043
10115
|
},
|
10044
10116
|
{
|
10045
|
-
"name": "submit-bar",
|
10117
|
+
"name": "van-submit-bar",
|
10046
10118
|
"slots": [
|
10047
10119
|
{
|
10048
10120
|
"name": "default",
|
@@ -10222,7 +10294,7 @@
|
|
10222
10294
|
]
|
10223
10295
|
},
|
10224
10296
|
{
|
10225
|
-
"name": "swipe",
|
10297
|
+
"name": "van-swipe",
|
10226
10298
|
"slots": [
|
10227
10299
|
{
|
10228
10300
|
"name": "default",
|
@@ -10369,7 +10441,7 @@
|
|
10369
10441
|
]
|
10370
10442
|
},
|
10371
10443
|
{
|
10372
|
-
"name": "swipe-item",
|
10444
|
+
"name": "van-swipe-item",
|
10373
10445
|
"slots": [],
|
10374
10446
|
"events": [
|
10375
10447
|
{
|
@@ -10386,7 +10458,7 @@
|
|
10386
10458
|
"attributes": []
|
10387
10459
|
},
|
10388
10460
|
{
|
10389
|
-
"name": "swipe-cell",
|
10461
|
+
"name": "van-swipe-cell",
|
10390
10462
|
"slots": [
|
10391
10463
|
{
|
10392
10464
|
"name": "default",
|
@@ -10497,7 +10569,124 @@
|
|
10497
10569
|
]
|
10498
10570
|
},
|
10499
10571
|
{
|
10500
|
-
"name": "
|
10572
|
+
"name": "van-switch",
|
10573
|
+
"slots": [
|
10574
|
+
{
|
10575
|
+
"name": "node",
|
10576
|
+
"description": "Custom the content of node"
|
10577
|
+
},
|
10578
|
+
{
|
10579
|
+
"name": "background",
|
10580
|
+
"description": "Custom the background of switch"
|
10581
|
+
}
|
10582
|
+
],
|
10583
|
+
"events": [
|
10584
|
+
{
|
10585
|
+
"name": "change",
|
10586
|
+
"description": "Emitted when check status changed",
|
10587
|
+
"arguments": [
|
10588
|
+
{
|
10589
|
+
"name": "value",
|
10590
|
+
"type": "any"
|
10591
|
+
}
|
10592
|
+
]
|
10593
|
+
},
|
10594
|
+
{
|
10595
|
+
"name": "click",
|
10596
|
+
"description": "Emitted when component is clicked",
|
10597
|
+
"arguments": [
|
10598
|
+
{
|
10599
|
+
"name": "event",
|
10600
|
+
"type": "MouseEvent"
|
10601
|
+
}
|
10602
|
+
]
|
10603
|
+
}
|
10604
|
+
],
|
10605
|
+
"attributes": [
|
10606
|
+
{
|
10607
|
+
"name": "v-model",
|
10608
|
+
"default": "`false`",
|
10609
|
+
"description": "Check status of Switch",
|
10610
|
+
"options": [],
|
10611
|
+
"value": {
|
10612
|
+
"type": "ActiveValue | InactiveValue",
|
10613
|
+
"kind": "expression"
|
10614
|
+
}
|
10615
|
+
},
|
10616
|
+
{
|
10617
|
+
"name": "loading",
|
10618
|
+
"default": "`false`",
|
10619
|
+
"description": "Whether to show loading icon",
|
10620
|
+
"options": [],
|
10621
|
+
"value": {
|
10622
|
+
"type": "boolean",
|
10623
|
+
"kind": "expression"
|
10624
|
+
}
|
10625
|
+
},
|
10626
|
+
{
|
10627
|
+
"name": "disabled",
|
10628
|
+
"default": "`false`",
|
10629
|
+
"description": "Whether to disable switch",
|
10630
|
+
"options": [],
|
10631
|
+
"value": {
|
10632
|
+
"type": "boolean",
|
10633
|
+
"kind": "expression"
|
10634
|
+
}
|
10635
|
+
},
|
10636
|
+
{
|
10637
|
+
"name": "size",
|
10638
|
+
"default": "`30px`",
|
10639
|
+
"description": "Size of switch",
|
10640
|
+
"options": [],
|
10641
|
+
"value": {
|
10642
|
+
"type": "number | string",
|
10643
|
+
"kind": "expression"
|
10644
|
+
}
|
10645
|
+
},
|
10646
|
+
{
|
10647
|
+
"name": "active-color",
|
10648
|
+
"default": "`#1989fa`",
|
10649
|
+
"description": "Background color when active",
|
10650
|
+
"options": [],
|
10651
|
+
"value": {
|
10652
|
+
"type": "string",
|
10653
|
+
"kind": "expression"
|
10654
|
+
}
|
10655
|
+
},
|
10656
|
+
{
|
10657
|
+
"name": "inactive-color",
|
10658
|
+
"default": "`white`",
|
10659
|
+
"description": "Background color when inactive",
|
10660
|
+
"options": [],
|
10661
|
+
"value": {
|
10662
|
+
"type": "string",
|
10663
|
+
"kind": "expression"
|
10664
|
+
}
|
10665
|
+
},
|
10666
|
+
{
|
10667
|
+
"name": "active-value",
|
10668
|
+
"default": "`true`",
|
10669
|
+
"description": "Value when active",
|
10670
|
+
"options": [],
|
10671
|
+
"value": {
|
10672
|
+
"type": "any",
|
10673
|
+
"kind": "expression"
|
10674
|
+
}
|
10675
|
+
},
|
10676
|
+
{
|
10677
|
+
"name": "inactive-value",
|
10678
|
+
"default": "`false`",
|
10679
|
+
"description": "Value when inactive",
|
10680
|
+
"options": [],
|
10681
|
+
"value": {
|
10682
|
+
"type": "any",
|
10683
|
+
"kind": "expression"
|
10684
|
+
}
|
10685
|
+
}
|
10686
|
+
]
|
10687
|
+
},
|
10688
|
+
{
|
10689
|
+
"name": "van-tabs",
|
10501
10690
|
"slots": [
|
10502
10691
|
{
|
10503
10692
|
"name": "nav-left",
|
@@ -10764,7 +10953,7 @@
|
|
10764
10953
|
]
|
10765
10954
|
},
|
10766
10955
|
{
|
10767
|
-
"name": "tab",
|
10956
|
+
"name": "van-tab",
|
10768
10957
|
"slots": [
|
10769
10958
|
{
|
10770
10959
|
"name": "default",
|
@@ -10890,124 +11079,7 @@
|
|
10890
11079
|
]
|
10891
11080
|
},
|
10892
11081
|
{
|
10893
|
-
"name": "
|
10894
|
-
"slots": [
|
10895
|
-
{
|
10896
|
-
"name": "node",
|
10897
|
-
"description": "Custom the content of node"
|
10898
|
-
},
|
10899
|
-
{
|
10900
|
-
"name": "background",
|
10901
|
-
"description": "Custom the background of switch"
|
10902
|
-
}
|
10903
|
-
],
|
10904
|
-
"events": [
|
10905
|
-
{
|
10906
|
-
"name": "change",
|
10907
|
-
"description": "Emitted when check status changed",
|
10908
|
-
"arguments": [
|
10909
|
-
{
|
10910
|
-
"name": "value",
|
10911
|
-
"type": "any"
|
10912
|
-
}
|
10913
|
-
]
|
10914
|
-
},
|
10915
|
-
{
|
10916
|
-
"name": "click",
|
10917
|
-
"description": "Emitted when component is clicked",
|
10918
|
-
"arguments": [
|
10919
|
-
{
|
10920
|
-
"name": "event",
|
10921
|
-
"type": "MouseEvent"
|
10922
|
-
}
|
10923
|
-
]
|
10924
|
-
}
|
10925
|
-
],
|
10926
|
-
"attributes": [
|
10927
|
-
{
|
10928
|
-
"name": "v-model",
|
10929
|
-
"default": "`false`",
|
10930
|
-
"description": "Check status of Switch",
|
10931
|
-
"options": [],
|
10932
|
-
"value": {
|
10933
|
-
"type": "ActiveValue | InactiveValue",
|
10934
|
-
"kind": "expression"
|
10935
|
-
}
|
10936
|
-
},
|
10937
|
-
{
|
10938
|
-
"name": "loading",
|
10939
|
-
"default": "`false`",
|
10940
|
-
"description": "Whether to show loading icon",
|
10941
|
-
"options": [],
|
10942
|
-
"value": {
|
10943
|
-
"type": "boolean",
|
10944
|
-
"kind": "expression"
|
10945
|
-
}
|
10946
|
-
},
|
10947
|
-
{
|
10948
|
-
"name": "disabled",
|
10949
|
-
"default": "`false`",
|
10950
|
-
"description": "Whether to disable switch",
|
10951
|
-
"options": [],
|
10952
|
-
"value": {
|
10953
|
-
"type": "boolean",
|
10954
|
-
"kind": "expression"
|
10955
|
-
}
|
10956
|
-
},
|
10957
|
-
{
|
10958
|
-
"name": "size",
|
10959
|
-
"default": "`30px`",
|
10960
|
-
"description": "Size of switch",
|
10961
|
-
"options": [],
|
10962
|
-
"value": {
|
10963
|
-
"type": "number | string",
|
10964
|
-
"kind": "expression"
|
10965
|
-
}
|
10966
|
-
},
|
10967
|
-
{
|
10968
|
-
"name": "active-color",
|
10969
|
-
"default": "`#1989fa`",
|
10970
|
-
"description": "Background color when active",
|
10971
|
-
"options": [],
|
10972
|
-
"value": {
|
10973
|
-
"type": "string",
|
10974
|
-
"kind": "expression"
|
10975
|
-
}
|
10976
|
-
},
|
10977
|
-
{
|
10978
|
-
"name": "inactive-color",
|
10979
|
-
"default": "`white`",
|
10980
|
-
"description": "Background color when inactive",
|
10981
|
-
"options": [],
|
10982
|
-
"value": {
|
10983
|
-
"type": "string",
|
10984
|
-
"kind": "expression"
|
10985
|
-
}
|
10986
|
-
},
|
10987
|
-
{
|
10988
|
-
"name": "active-value",
|
10989
|
-
"default": "`true`",
|
10990
|
-
"description": "Value when active",
|
10991
|
-
"options": [],
|
10992
|
-
"value": {
|
10993
|
-
"type": "any",
|
10994
|
-
"kind": "expression"
|
10995
|
-
}
|
10996
|
-
},
|
10997
|
-
{
|
10998
|
-
"name": "inactive-value",
|
10999
|
-
"default": "`false`",
|
11000
|
-
"description": "Value when inactive",
|
11001
|
-
"options": [],
|
11002
|
-
"value": {
|
11003
|
-
"type": "any",
|
11004
|
-
"kind": "expression"
|
11005
|
-
}
|
11006
|
-
}
|
11007
|
-
]
|
11008
|
-
},
|
11009
|
-
{
|
11010
|
-
"name": "tabbar",
|
11082
|
+
"name": "van-tabbar",
|
11011
11083
|
"slots": [],
|
11012
11084
|
"events": [
|
11013
11085
|
{
|
@@ -11125,7 +11197,7 @@
|
|
11125
11197
|
]
|
11126
11198
|
},
|
11127
11199
|
{
|
11128
|
-
"name": "tabbar-item",
|
11200
|
+
"name": "van-tabbar-item",
|
11129
11201
|
"slots": [
|
11130
11202
|
{
|
11131
11203
|
"name": "icon",
|
@@ -11227,7 +11299,7 @@
|
|
11227
11299
|
]
|
11228
11300
|
},
|
11229
11301
|
{
|
11230
|
-
"name": "tag",
|
11302
|
+
"name": "van-tag",
|
11231
11303
|
"slots": [
|
11232
11304
|
{
|
11233
11305
|
"name": "default",
|
@@ -11350,7 +11422,7 @@
|
|
11350
11422
|
]
|
11351
11423
|
},
|
11352
11424
|
{
|
11353
|
-
"name": "tree-select",
|
11425
|
+
"name": "van-tree-select",
|
11354
11426
|
"slots": [
|
11355
11427
|
{
|
11356
11428
|
"name": "content",
|
@@ -11443,7 +11515,7 @@
|
|
11443
11515
|
]
|
11444
11516
|
},
|
11445
11517
|
{
|
11446
|
-
"name": "uploader",
|
11518
|
+
"name": "van-uploader",
|
11447
11519
|
"slots": [
|
11448
11520
|
{
|
11449
11521
|
"name": "default",
|