vant 3.3.7 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-bar/ActionBar.d.ts +7 -6
- package/es/action-bar/ActionBar.js +24 -20
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.d.ts +11 -5
- package/es/action-bar/index.js +8 -4
- package/es/action-bar/style/index.js +2 -2
- package/es/action-bar/style/less.js +2 -2
- package/es/action-bar-button/ActionBarButton.d.ts +12 -22
- package/es/action-bar-button/ActionBarButton.js +26 -28
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-button/index.d.ts +16 -21
- package/es/action-bar-button/index.js +8 -4
- package/es/action-bar-button/style/index.js +7 -7
- package/es/action-bar-button/style/less.js +7 -7
- package/es/action-bar-icon/ActionBarIcon.d.ts +21 -28
- package/es/action-bar-icon/ActionBarIcon.js +29 -32
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +19 -23
- package/es/action-bar-icon/index.js +8 -4
- package/es/action-bar-icon/style/index.js +5 -5
- package/es/action-bar-icon/style/less.js +5 -5
- package/es/action-sheet/ActionSheet.d.ts +55 -48
- package/es/action-sheet/ActionSheet.js +64 -66
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +59 -47
- package/es/action-sheet/index.js +8 -4
- package/es/action-sheet/style/index.js +7 -7
- package/es/action-sheet/style/less.js +7 -7
- package/es/address-edit/AddressEdit.d.ts +49 -49
- package/es/address-edit/AddressEdit.js +186 -219
- package/es/address-edit/AddressEditDetail.d.ts +11 -21
- package/es/address-edit/AddressEditDetail.js +32 -43
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +53 -48
- package/es/address-edit/index.js +8 -4
- package/es/address-edit/style/index.js +13 -13
- package/es/address-edit/style/less.js +13 -13
- package/es/address-edit/types.js +0 -1
- package/es/address-list/AddressList.d.ts +19 -19
- package/es/address-list/AddressList.js +38 -49
- package/es/address-list/AddressListItem.d.ts +10 -13
- package/es/address-list/AddressListItem.js +39 -49
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +23 -18
- package/es/address-list/index.js +8 -4
- package/es/address-list/index.less +1 -1
- package/es/address-list/style/index.js +11 -11
- package/es/address-list/style/less.js +11 -11
- package/es/area/Area.d.ts +42 -34
- package/es/area/Area.js +99 -161
- package/es/area/index.d.ts +46 -33
- package/es/area/index.js +8 -4
- package/es/area/style/index.js +3 -3
- package/es/area/style/less.js +3 -3
- package/es/area/types.js +0 -1
- package/es/badge/Badge.d.ts +20 -21
- package/es/badge/Badge.js +33 -47
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +24 -20
- package/es/badge/index.js +8 -4
- package/es/badge/style/index.js +2 -2
- package/es/badge/style/less.js +2 -2
- package/es/button/Button.d.ts +40 -48
- package/es/button/Button.js +43 -63
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +44 -47
- package/es/button/index.js +8 -4
- package/es/button/style/index.js +5 -5
- package/es/button/style/less.js +5 -5
- package/es/button/types.js +0 -1
- package/es/calendar/Calendar.d.ts +86 -63
- package/es/calendar/Calendar.js +129 -222
- package/es/calendar/CalendarDay.d.ts +14 -15
- package/es/calendar/CalendarDay.js +54 -70
- package/es/calendar/CalendarHeader.d.ts +7 -14
- package/es/calendar/CalendarHeader.js +30 -35
- package/es/calendar/CalendarMonth.d.ts +26 -33
- package/es/calendar/CalendarMonth.js +97 -140
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +90 -62
- package/es/calendar/index.js +8 -4
- package/es/calendar/style/index.js +10 -10
- package/es/calendar/style/less.js +10 -10
- package/es/calendar/types.js +0 -1
- package/es/calendar/utils.js +40 -30
- package/es/card/Card.d.ts +17 -27
- package/es/card/Card.js +53 -72
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +21 -26
- package/es/card/index.js +8 -4
- package/es/card/style/index.js +6 -6
- package/es/card/style/less.js +6 -6
- package/es/cascader/Cascader.d.ts +37 -23
- package/es/cascader/Cascader.js +87 -120
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +37 -22
- package/es/cascader/index.js +8 -4
- package/es/cascader/index.less +0 -10
- package/es/cascader/style/index.js +9 -9
- package/es/cascader/style/less.js +9 -9
- package/es/cascader/types.js +0 -1
- package/es/cell/Cell.d.ts +28 -42
- package/es/cell/Cell.js +42 -59
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +32 -41
- package/es/cell/index.js +8 -4
- package/es/cell/style/index.js +4 -4
- package/es/cell/style/less.js +4 -4
- package/es/cell-group/CellGroup.d.ts +9 -11
- package/es/cell-group/CellGroup.js +25 -26
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.d.ts +13 -10
- package/es/cell-group/index.js +8 -4
- package/es/cell-group/style/index.js +2 -2
- package/es/cell-group/style/less.js +2 -2
- package/es/checkbox/Checkbox.d.ts +18 -22
- package/es/checkbox/Checkbox.js +35 -53
- package/es/checkbox/Checker.d.ts +25 -30
- package/es/checkbox/Checker.js +37 -45
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +22 -21
- package/es/checkbox/index.js +8 -4
- package/es/checkbox/style/index.js +5 -5
- package/es/checkbox/style/less.js +5 -5
- package/es/checkbox/types.js +0 -1
- package/es/checkbox-group/CheckboxGroup.d.ts +12 -17
- package/es/checkbox-group/CheckboxGroup.js +32 -41
- package/es/checkbox-group/index.css +1 -1
- package/es/checkbox-group/index.d.ts +16 -16
- package/es/checkbox-group/index.js +8 -4
- package/es/checkbox-group/style/index.js +2 -2
- package/es/checkbox-group/style/less.js +2 -2
- package/es/checkbox-group/types.js +0 -1
- package/es/circle/Circle.d.ts +36 -29
- package/es/circle/Circle.js +60 -76
- package/es/circle/index.css +1 -1
- package/es/circle/index.d.ts +40 -28
- package/es/circle/index.js +8 -4
- package/es/circle/style/index.js +2 -2
- package/es/circle/style/less.js +2 -2
- package/es/col/Col.d.ts +12 -11
- package/es/col/Col.js +27 -26
- package/es/col/index.css +1 -1
- package/es/col/index.d.ts +16 -10
- package/es/col/index.js +8 -4
- package/es/col/style/index.js +3 -3
- package/es/col/style/less.js +3 -3
- package/es/collapse/Collapse.d.ts +12 -10
- package/es/collapse/Collapse.js +39 -46
- package/es/collapse/index.d.ts +16 -9
- package/es/collapse/index.js +8 -4
- package/es/collapse/style/index.js +1 -1
- package/es/collapse/style/less.js +1 -1
- package/es/collapse-item/CollapseItem.d.ts +32 -42
- package/es/collapse-item/CollapseItem.js +57 -81
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +36 -41
- package/es/collapse-item/index.js +8 -4
- package/es/collapse-item/style/index.js +5 -5
- package/es/collapse-item/style/less.js +5 -5
- package/es/collapse-item/types.js +0 -1
- package/es/composables/on-popup-reopen.js +10 -8
- package/es/composables/use-expose.js +8 -7
- package/es/composables/use-height.js +14 -7
- package/es/composables/use-id.js +11 -12
- package/es/composables/use-lazy-render.js +10 -9
- package/es/composables/use-lock-scroll.js +29 -43
- package/es/composables/use-placeholder.js +10 -7
- package/es/composables/use-refs.js +15 -8
- package/es/composables/use-route.d.ts +1 -1
- package/es/composables/use-route.js +19 -17
- package/es/composables/use-tab-status.js +7 -4
- package/es/composables/use-touch.js +27 -36
- package/es/composables/use-visibility-change.js +12 -18
- package/es/config-provider/ConfigProvider.d.ts +9 -11
- package/es/config-provider/ConfigProvider.js +23 -21
- package/es/config-provider/index.d.ts +13 -10
- package/es/config-provider/index.js +8 -4
- package/es/config-provider/style/index.js +1 -1
- package/es/config-provider/style/less.js +1 -1
- package/es/contact-card/ContactCard.d.ts +14 -15
- package/es/contact-card/ContactCard.js +24 -28
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.d.ts +18 -14
- package/es/contact-card/index.js +8 -4
- package/es/contact-card/style/index.js +5 -5
- package/es/contact-card/style/less.js +5 -5
- package/es/contact-edit/ContactEdit.d.ts +16 -19
- package/es/contact-edit/ContactEdit.js +48 -56
- package/es/contact-edit/index.css +1 -1
- package/es/contact-edit/index.d.ts +20 -18
- package/es/contact-edit/index.js +8 -4
- package/es/contact-edit/style/index.js +9 -9
- package/es/contact-edit/style/less.js +9 -9
- package/es/contact-list/ContactList.d.ts +7 -12
- package/es/contact-list/ContactList.js +41 -51
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.d.ts +11 -11
- package/es/contact-list/index.js +8 -4
- package/es/contact-list/style/index.js +11 -11
- package/es/contact-list/style/less.js +11 -11
- package/es/count-down/CountDown.d.ts +16 -12
- package/es/count-down/CountDown.js +23 -28
- package/es/count-down/index.css +1 -1
- package/es/count-down/index.d.ts +20 -11
- package/es/count-down/index.js +8 -4
- package/es/count-down/style/index.js +2 -2
- package/es/count-down/style/less.js +2 -2
- package/es/count-down/types.js +0 -1
- package/es/count-down/utils.js +24 -35
- package/es/coupon/Coupon.d.ts +13 -12
- package/es/coupon/Coupon.js +35 -38
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.d.ts +17 -11
- package/es/coupon/index.js +8 -4
- package/es/coupon/style/index.js +6 -6
- package/es/coupon/style/less.js +6 -6
- package/es/coupon/utils.js +11 -6
- package/es/coupon-cell/CouponCell.d.ts +24 -17
- package/es/coupon-cell/CouponCell.js +23 -32
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-cell/index.d.ts +28 -16
- package/es/coupon-cell/index.js +8 -4
- package/es/coupon-cell/style/index.js +5 -5
- package/es/coupon-cell/style/less.js +5 -5
- package/es/coupon-list/CouponList.d.ts +54 -41
- package/es/coupon-list/CouponList.js +101 -112
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +58 -40
- package/es/coupon-list/index.js +8 -4
- package/es/coupon-list/style/index.js +16 -16
- package/es/coupon-list/style/less.js +16 -16
- package/es/datetime-picker/DatePicker.d.ts +45 -36
- package/es/datetime-picker/DatePicker.js +112 -157
- package/es/datetime-picker/DatetimePicker.d.ts +2 -2
- package/es/datetime-picker/DatetimePicker.js +25 -26
- package/es/datetime-picker/TimePicker.d.ts +47 -38
- package/es/datetime-picker/TimePicker.js +51 -69
- package/es/datetime-picker/index.d.ts +6 -1
- package/es/datetime-picker/index.js +8 -4
- package/es/datetime-picker/style/index.js +3 -3
- package/es/datetime-picker/style/less.js +3 -3
- package/es/datetime-picker/types.js +0 -1
- package/es/datetime-picker/utils.d.ts +1 -1
- package/es/datetime-picker/utils.js +30 -20
- package/es/dialog/Dialog.d.ts +53 -60
- package/es/dialog/Dialog.js +58 -83
- package/es/dialog/function-call.d.ts +52 -59
- package/es/dialog/function-call.js +25 -37
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +5 -0
- package/es/dialog/index.js +6 -3
- package/es/dialog/style/index.js +10 -10
- package/es/dialog/style/less.js +10 -10
- package/es/dialog/types.js +0 -1
- package/es/divider/Divider.d.ts +12 -10
- package/es/divider/Divider.js +24 -21
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +16 -9
- package/es/divider/index.js +8 -4
- package/es/divider/style/index.js +2 -2
- package/es/divider/style/less.js +2 -2
- package/es/dropdown-item/DropdownItem.d.ts +16 -19
- package/es/dropdown-item/DropdownItem.js +62 -94
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +20 -18
- package/es/dropdown-item/index.js +8 -4
- package/es/dropdown-item/style/index.js +8 -8
- package/es/dropdown-item/style/less.js +8 -8
- package/es/dropdown-item/types.js +0 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +25 -19
- package/es/dropdown-menu/DropdownMenu.js +55 -61
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +29 -18
- package/es/dropdown-menu/index.js +8 -4
- package/es/dropdown-menu/index.less +0 -1
- package/es/dropdown-menu/style/index.js +2 -2
- package/es/dropdown-menu/style/less.js +2 -2
- package/es/dropdown-menu/types.js +0 -1
- package/es/empty/Empty.d.ts +9 -11
- package/es/empty/Empty.js +25 -34
- package/es/empty/Network.js +24 -23
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +13 -10
- package/es/empty/index.js +8 -4
- package/es/empty/style/index.js +2 -2
- package/es/empty/style/less.js +2 -2
- package/es/field/Field.d.ts +81 -91
- package/es/field/Field.js +154 -243
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +85 -90
- package/es/field/index.js +8 -4
- package/es/field/style/index.js +5 -5
- package/es/field/style/less.js +5 -5
- package/es/field/types.d.ts +1 -1
- package/es/field/types.js +0 -1
- package/es/field/utils.js +50 -69
- package/es/form/Form.d.ts +25 -31
- package/es/form/Form.js +55 -74
- package/es/form/index.d.ts +29 -30
- package/es/form/index.js +8 -4
- package/es/form/style/index.js +1 -1
- package/es/form/style/less.js +1 -1
- package/es/form/types.js +0 -1
- package/es/grid/Grid.d.ts +21 -23
- package/es/grid/Grid.js +28 -24
- package/es/grid/index.css +1 -1
- package/es/grid/index.d.ts +25 -22
- package/es/grid/index.js +8 -4
- package/es/grid/style/index.js +2 -2
- package/es/grid/style/less.js +2 -2
- package/es/grid-item/GridItem.d.ts +18 -24
- package/es/grid-item/GridItem.js +47 -62
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +18 -21
- package/es/grid-item/index.js +8 -4
- package/es/grid-item/style/index.js +5 -5
- package/es/grid-item/style/less.js +5 -5
- package/es/icon/Icon.d.ts +19 -21
- package/es/icon/Icon.js +34 -32
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +19 -18
- package/es/icon/index.js +8 -4
- package/es/icon/index.less +1 -0
- package/es/icon/style/index.js +3 -3
- package/es/icon/style/less.js +3 -3
- package/es/image/Image.d.ts +33 -33
- package/es/image/Image.js +71 -81
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +35 -32
- package/es/image/index.js +8 -4
- package/es/image/style/index.js +4 -4
- package/es/image/style/less.js +4 -4
- package/es/image-preview/ImagePreview.d.ts +57 -41
- package/es/image-preview/ImagePreview.js +52 -69
- package/es/image-preview/ImagePreviewItem.d.ts +21 -18
- package/es/image-preview/ImagePreviewItem.js +83 -108
- package/es/image-preview/function-call.d.ts +55 -40
- package/es/image-preview/function-call.js +23 -35
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.d.ts +5 -0
- package/es/image-preview/index.js +6 -3
- package/es/image-preview/index.less +0 -1
- package/es/image-preview/style/index.js +10 -10
- package/es/image-preview/style/less.js +10 -10
- package/es/image-preview/types.d.ts +1 -0
- package/es/image-preview/types.js +0 -1
- package/es/index-anchor/IndexAnchor.d.ts +4 -6
- package/es/index-anchor/IndexAnchor.js +31 -42
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.d.ts +8 -5
- package/es/index-anchor/index.js +8 -4
- package/es/index-anchor/style/index.js +3 -3
- package/es/index-anchor/style/less.js +3 -3
- package/es/index-bar/IndexBar.d.ts +18 -17
- package/es/index-bar/IndexBar.js +73 -98
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +22 -16
- package/es/index-bar/index.js +8 -4
- package/es/index-bar/style/index.js +2 -2
- package/es/index-bar/style/less.js +2 -2
- package/es/index-bar/types.js +0 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +267 -180
- package/es/lazyload/index.js +6 -3
- package/es/lazyload/style/index.js +1 -1
- package/es/lazyload/style/less.js +1 -1
- package/es/lazyload/vue-lazyload/index.js +17 -32
- package/es/lazyload/vue-lazyload/lazy-component.js +11 -16
- package/es/lazyload/vue-lazyload/lazy-container.js +28 -56
- package/es/lazyload/vue-lazyload/lazy-image.js +21 -46
- package/es/lazyload/vue-lazyload/lazy.js +113 -264
- package/es/lazyload/vue-lazyload/listener.js +50 -130
- package/es/lazyload/vue-lazyload/util.js +67 -87
- package/es/list/List.d.ts +21 -23
- package/es/list/List.js +52 -74
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +25 -22
- package/es/list/index.js +8 -4
- package/es/list/style/index.js +3 -3
- package/es/list/style/less.js +3 -3
- package/es/list/types.js +0 -1
- package/es/loading/Loading.d.ts +12 -17
- package/es/loading/Loading.js +25 -30
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +16 -16
- package/es/loading/index.js +8 -4
- package/es/loading/style/index.js +2 -2
- package/es/loading/style/less.js +2 -2
- package/es/locale/index.js +14 -19
- package/es/locale/lang/de-DE-formal.d.ts +2 -11
- package/es/locale/lang/de-DE-formal.js +46 -52
- package/es/locale/lang/de-DE.d.ts +2 -11
- package/es/locale/lang/de-DE.js +46 -52
- package/es/locale/lang/en-US.d.ts +2 -11
- package/es/locale/lang/en-US.js +46 -52
- package/es/locale/lang/es-ES.d.ts +2 -11
- package/es/locale/lang/es-ES.js +46 -52
- package/es/locale/lang/fr-FR.d.ts +2 -11
- package/es/locale/lang/fr-FR.js +46 -52
- package/es/locale/lang/hi-IN.d.ts +64 -0
- package/es/locale/lang/hi-IN.js +74 -0
- package/es/locale/lang/ja-JP.d.ts +2 -12
- package/es/locale/lang/ja-JP.js +46 -53
- package/es/locale/lang/ko-KR.d.ts +64 -0
- package/es/locale/lang/ko-KR.js +74 -0
- package/es/locale/lang/nb-NO.d.ts +2 -11
- package/es/locale/lang/nb-NO.js +46 -52
- package/es/locale/lang/pt-BR.d.ts +2 -11
- package/es/locale/lang/pt-BR.js +46 -52
- package/es/locale/lang/ro-RO.d.ts +2 -11
- package/es/locale/lang/ro-RO.js +46 -52
- package/es/locale/lang/ru-RU.d.ts +2 -11
- package/es/locale/lang/ru-RU.js +46 -52
- package/es/locale/lang/th-TH.d.ts +2 -12
- package/es/locale/lang/th-TH.js +46 -53
- package/es/locale/lang/tr-TR.d.ts +2 -11
- package/es/locale/lang/tr-TR.js +46 -52
- package/es/locale/lang/zh-CN.d.ts +2 -12
- package/es/locale/lang/zh-CN.js +46 -53
- package/es/locale/lang/zh-HK.d.ts +2 -12
- package/es/locale/lang/zh-HK.js +46 -53
- package/es/locale/lang/zh-TW.d.ts +2 -12
- package/es/locale/lang/zh-TW.js +46 -53
- package/es/locale/style/index.js +1 -1
- package/es/locale/style/less.js +1 -1
- package/es/nav-bar/NavBar.d.ts +15 -23
- package/es/nav-bar/NavBar.js +35 -47
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +19 -22
- package/es/nav-bar/index.js +8 -4
- package/es/nav-bar/index.less +0 -1
- package/es/nav-bar/style/index.js +4 -4
- package/es/nav-bar/style/less.js +4 -4
- package/es/notice-bar/NoticeBar.d.ts +21 -23
- package/es/notice-bar/NoticeBar.js +62 -85
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +25 -22
- package/es/notice-bar/index.js +8 -4
- package/es/notice-bar/style/index.js +4 -4
- package/es/notice-bar/style/less.js +4 -4
- package/es/notice-bar/types.js +0 -1
- package/es/notify/Notify.d.ts +50 -39
- package/es/notify/Notify.js +20 -21
- package/es/notify/function-call.d.ts +45 -38
- package/es/notify/function-call.js +23 -36
- package/es/notify/index.css +1 -1
- package/es/notify/index.d.ts +5 -0
- package/es/notify/index.js +6 -3
- package/es/notify/style/index.js +6 -6
- package/es/notify/style/less.js +6 -6
- package/es/notify/types.d.ts +2 -0
- package/es/notify/types.js +0 -1
- package/es/number-keyboard/NumberKeyboard.d.ts +47 -39
- package/es/number-keyboard/NumberKeyboard.js +81 -114
- package/es/number-keyboard/NumberKeyboardKey.d.ts +9 -17
- package/es/number-keyboard/NumberKeyboardKey.js +32 -48
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +51 -38
- package/es/number-keyboard/index.js +8 -4
- package/es/number-keyboard/index.less +0 -1
- package/es/number-keyboard/style/index.js +3 -3
- package/es/number-keyboard/style/less.js +3 -3
- package/es/overlay/Overlay.d.ts +25 -17
- package/es/overlay/Overlay.js +22 -24
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +25 -16
- package/es/overlay/index.js +8 -4
- package/es/overlay/style/index.js +2 -2
- package/es/overlay/style/less.js +2 -2
- package/es/pagination/Pagination.d.ts +30 -23
- package/es/pagination/Pagination.js +62 -84
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +34 -22
- package/es/pagination/index.js +8 -4
- package/es/pagination/style/index.js +2 -2
- package/es/pagination/style/less.js +2 -2
- package/es/password-input/PasswordInput.d.ts +19 -19
- package/es/password-input/PasswordInput.js +30 -37
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +23 -18
- package/es/password-input/index.js +8 -4
- package/es/password-input/style/index.js +2 -2
- package/es/password-input/style/less.js +2 -2
- package/es/picker/Picker.d.ts +39 -34
- package/es/picker/Picker.js +136 -198
- package/es/picker/PickerColumn.d.ts +32 -24
- package/es/picker/PickerColumn.js +86 -133
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +43 -33
- package/es/picker/index.js +8 -4
- package/es/picker/index.less +0 -1
- package/es/picker/style/index.js +3 -3
- package/es/picker/style/less.js +3 -3
- package/es/picker/types.d.ts +13 -0
- package/es/picker/types.js +0 -1
- package/es/popover/Popover.d.ts +49 -37
- package/es/popover/Popover.js +84 -90
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +53 -36
- package/es/popover/index.js +8 -4
- package/es/popover/index.less +8 -4
- package/es/popover/style/index.js +6 -6
- package/es/popover/style/less.js +6 -6
- package/es/popover/types.js +0 -1
- package/es/popup/Popup.d.ts +46 -48
- package/es/popup/Popup.js +70 -88
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +57 -52
- package/es/popup/index.js +8 -4
- package/es/popup/index.less +0 -1
- package/es/popup/shared.d.ts +1 -1
- package/es/popup/shared.js +7 -15
- package/es/popup/style/index.js +5 -5
- package/es/popup/style/less.js +5 -5
- package/es/popup/types.d.ts +5 -0
- package/es/popup/types.js +0 -0
- package/es/progress/Progress.d.ts +19 -23
- package/es/progress/Progress.js +23 -25
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +23 -22
- package/es/progress/index.js +8 -4
- package/es/progress/style/index.js +2 -2
- package/es/progress/style/less.js +2 -2
- package/es/progress/types.js +0 -1
- package/es/pull-refresh/PullRefresh.d.ts +22 -25
- package/es/pull-refresh/PullRefresh.js +66 -96
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +26 -24
- package/es/pull-refresh/index.js +8 -4
- package/es/pull-refresh/index.less +0 -1
- package/es/pull-refresh/style/index.js +3 -3
- package/es/pull-refresh/style/less.js +3 -3
- package/es/radio/Radio.d.ts +14 -21
- package/es/radio/Radio.js +23 -29
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +18 -20
- package/es/radio/index.js +8 -4
- package/es/radio/style/index.js +6 -6
- package/es/radio/style/less.js +6 -6
- package/es/radio-group/RadioGroup.d.ts +8 -15
- package/es/radio-group/RadioGroup.js +27 -25
- package/es/radio-group/index.css +1 -1
- package/es/radio-group/index.d.ts +12 -14
- package/es/radio-group/index.js +8 -4
- package/es/radio-group/style/index.js +2 -2
- package/es/radio-group/style/less.js +2 -2
- package/es/rate/Rate.d.ts +32 -33
- package/es/rate/Rate.js +53 -77
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +36 -32
- package/es/rate/index.js +8 -4
- package/es/rate/style/index.js +4 -4
- package/es/rate/style/less.js +4 -4
- package/es/row/Row.d.ts +17 -15
- package/es/row/Row.js +41 -40
- package/es/row/index.css +1 -1
- package/es/row/index.d.ts +21 -14
- package/es/row/index.js +8 -4
- package/es/row/style/index.js +2 -2
- package/es/row/style/less.js +2 -2
- package/es/search/Search.d.ts +65 -52
- package/es/search/Search.js +73 -77
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +69 -51
- package/es/search/index.js +8 -4
- package/es/search/style/index.js +6 -6
- package/es/search/style/less.js +6 -6
- package/es/search/types.js +0 -1
- package/es/share-sheet/ShareSheet.d.ts +46 -42
- package/es/share-sheet/ShareSheet.js +46 -65
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.d.ts +50 -41
- package/es/share-sheet/index.js +8 -4
- package/es/share-sheet/index.less +0 -1
- package/es/share-sheet/style/index.js +6 -6
- package/es/share-sheet/style/less.js +6 -6
- package/es/sidebar/Sidebar.d.ts +7 -6
- package/es/sidebar/Sidebar.js +29 -28
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.d.ts +11 -5
- package/es/sidebar/index.js +8 -4
- package/es/sidebar/style/index.js +2 -2
- package/es/sidebar/style/less.js +2 -2
- package/es/sidebar-item/SidebarItem.d.ts +16 -20
- package/es/sidebar-item/SidebarItem.js +34 -41
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.d.ts +16 -17
- package/es/sidebar-item/index.js +8 -4
- package/es/sidebar-item/style/index.js +4 -4
- package/es/sidebar-item/style/less.js +4 -4
- package/es/skeleton/Skeleton.d.ts +28 -25
- package/es/skeleton/Skeleton.js +26 -34
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +32 -24
- package/es/skeleton/index.js +8 -4
- package/es/skeleton/style/index.js +2 -2
- package/es/skeleton/style/less.js +2 -2
- package/es/slider/Slider.d.ts +29 -32
- package/es/slider/Slider.js +99 -158
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +33 -31
- package/es/slider/index.js +8 -4
- package/es/slider/style/index.js +2 -2
- package/es/slider/style/less.js +2 -2
- package/es/step/Step.d.ts +1 -1
- package/es/step/Step.js +47 -68
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +6 -1
- package/es/step/index.js +8 -4
- package/es/step/style/index.js +5 -5
- package/es/step/style/less.js +5 -5
- package/es/stepper/Stepper.d.ts +52 -49
- package/es/stepper/Stepper.js +82 -123
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +56 -48
- package/es/stepper/index.js +8 -4
- package/es/stepper/index.less +0 -1
- package/es/stepper/style/index.js +2 -2
- package/es/stepper/style/less.js +2 -2
- package/es/steps/Steps.d.ts +20 -21
- package/es/steps/Steps.js +29 -27
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +24 -20
- package/es/steps/index.js +8 -4
- package/es/steps/style/index.js +2 -2
- package/es/steps/style/less.js +2 -2
- package/es/sticky/Sticky.d.ts +17 -15
- package/es/sticky/Sticky.js +58 -73
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.d.ts +21 -14
- package/es/sticky/index.js +8 -4
- package/es/sticky/style/index.js +2 -2
- package/es/sticky/style/less.js +2 -2
- package/es/style/animation.css +1 -1
- package/es/style/base.css +1 -1
- package/es/style/base.less +6 -2
- package/es/style/css-variables.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/submit-bar/SubmitBar.d.ts +29 -33
- package/es/submit-bar/SubmitBar.js +48 -53
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +33 -32
- package/es/submit-bar/index.js +8 -4
- package/es/submit-bar/style/index.js +6 -6
- package/es/submit-bar/style/less.js +6 -6
- package/es/swipe/Swipe.d.ts +36 -29
- package/es/swipe/Swipe.js +140 -203
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +40 -28
- package/es/swipe/index.js +8 -4
- package/es/swipe/style/index.js +2 -2
- package/es/swipe/style/less.js +2 -2
- package/es/swipe/types.js +0 -1
- package/es/swipe-cell/SwipeCell.d.ts +12 -17
- package/es/swipe-cell/SwipeCell.js +66 -92
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/index.d.ts +16 -16
- package/es/swipe-cell/index.js +8 -4
- package/es/swipe-cell/style/index.js +2 -2
- package/es/swipe-cell/style/less.js +2 -2
- package/es/swipe-cell/types.js +0 -1
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/SwipeItem.js +40 -51
- package/es/swipe-item/index.css +1 -1
- package/es/swipe-item/index.d.ts +6 -1
- package/es/swipe-item/index.js +8 -4
- package/es/swipe-item/style/index.js +3 -3
- package/es/swipe-item/style/less.js +3 -3
- package/es/switch/Switch.d.ts +17 -21
- package/es/switch/Switch.js +28 -32
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +21 -20
- package/es/switch/index.js +8 -4
- package/es/switch/style/index.js +3 -3
- package/es/switch/style/less.js +3 -3
- package/es/tab/Tab.d.ts +17 -26
- package/es/tab/Tab.js +44 -56
- package/es/tab/index.css +1 -1
- package/es/tab/index.d.ts +21 -25
- package/es/tab/index.js +8 -4
- package/es/tab/style/index.js +7 -7
- package/es/tab/style/less.js +7 -7
- package/es/tabbar/Tabbar.d.ts +25 -25
- package/es/tabbar/Tabbar.js +32 -40
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.d.ts +29 -24
- package/es/tabbar/index.js +8 -4
- package/es/tabbar/style/index.js +2 -2
- package/es/tabbar/style/less.js +2 -2
- package/es/tabbar-item/TabbarItem.d.ts +17 -22
- package/es/tabbar-item/TabbarItem.js +53 -66
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +17 -19
- package/es/tabbar-item/index.js +8 -4
- package/es/tabbar-item/style/index.js +5 -5
- package/es/tabbar-item/style/less.js +5 -5
- package/es/tabs/Tabs.d.ts +47 -43
- package/es/tabs/Tabs.js +146 -198
- package/es/tabs/TabsContent.d.ts +18 -17
- package/es/tabs/TabsContent.js +24 -30
- package/es/tabs/TabsTitle.d.ts +21 -33
- package/es/tabs/TabsTitle.js +34 -38
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +50 -42
- package/es/tabs/index.js +8 -4
- package/es/tabs/index.less +43 -35
- package/es/tabs/style/index.js +5 -5
- package/es/tabs/style/less.js +5 -5
- package/es/tabs/types.js +0 -1
- package/es/tabs/utils.js +16 -20
- package/es/tag/Tag.d.ts +18 -23
- package/es/tag/Tag.js +27 -34
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +22 -22
- package/es/tag/index.js +8 -4
- package/es/tag/index.less +0 -1
- package/es/tag/style/index.js +4 -4
- package/es/tag/style/less.js +4 -4
- package/es/toast/Toast.d.ts +32 -39
- package/es/toast/Toast.js +41 -56
- package/es/toast/function-call.d.ts +2 -2
- package/es/toast/function-call.js +55 -85
- package/es/toast/index.css +1 -1
- package/es/toast/index.js +6 -3
- package/es/toast/lock-click.js +8 -7
- package/es/toast/style/index.js +7 -7
- package/es/toast/style/less.js +7 -7
- package/es/toast/types.js +0 -1
- package/es/tree-select/TreeSelect.d.ts +27 -16
- package/es/tree-select/TreeSelect.js +39 -53
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +31 -15
- package/es/tree-select/index.js +8 -4
- package/es/tree-select/index.less +1 -1
- package/es/tree-select/style/index.js +6 -6
- package/es/tree-select/style/less.js +6 -6
- package/es/uploader/Uploader.d.ts +63 -52
- package/es/uploader/Uploader.js +87 -134
- package/es/uploader/UploaderPreviewItem.d.ts +14 -21
- package/es/uploader/UploaderPreviewItem.js +47 -60
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +66 -50
- package/es/uploader/index.js +8 -4
- package/es/uploader/style/index.js +11 -11
- package/es/uploader/style/less.js +11 -11
- package/es/uploader/types.js +0 -1
- package/es/uploader/utils.js +35 -39
- package/es/utils/basic.js +20 -15
- package/es/utils/constant.js +20 -9
- package/es/utils/create.js +32 -43
- package/es/utils/deep-assign.js +9 -13
- package/es/utils/deep-clone.js +9 -9
- package/es/utils/dom.js +36 -38
- package/es/utils/format.js +56 -82
- package/es/utils/index.js +9 -9
- package/es/utils/interceptor.js +13 -14
- package/es/utils/mount-component.js +18 -26
- package/es/utils/props.js +19 -13
- package/es/utils/validate.js +20 -11
- package/es/utils/with-install.js +9 -10
- package/lib/action-bar/ActionBar.d.ts +7 -6
- package/lib/action-bar/ActionBar.js +49 -33
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.d.ts +11 -5
- package/lib/action-bar/index.js +31 -15
- package/lib/action-bar/style/index.js +2 -5
- package/lib/action-bar/style/less.js +2 -5
- package/lib/action-bar-button/ActionBarButton.d.ts +12 -22
- package/lib/action-bar-button/ActionBarButton.js +52 -45
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-button/index.d.ts +16 -21
- package/lib/action-bar-button/index.js +31 -15
- package/lib/action-bar-button/style/index.js +7 -15
- package/lib/action-bar-button/style/less.js +7 -15
- package/lib/action-bar-icon/ActionBarIcon.d.ts +21 -28
- package/lib/action-bar-icon/ActionBarIcon.js +56 -50
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +19 -23
- package/lib/action-bar-icon/index.js +31 -15
- package/lib/action-bar-icon/style/index.js +5 -11
- package/lib/action-bar-icon/style/less.js +5 -11
- package/lib/action-sheet/ActionSheet.d.ts +55 -48
- package/lib/action-sheet/ActionSheet.js +100 -92
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +59 -47
- package/lib/action-sheet/index.js +31 -15
- package/lib/action-sheet/style/index.js +7 -15
- package/lib/action-sheet/style/less.js +7 -15
- package/lib/address-edit/AddressEdit.d.ts +49 -49
- package/lib/address-edit/AddressEdit.js +223 -253
- package/lib/address-edit/AddressEditDetail.d.ts +11 -21
- package/lib/address-edit/AddressEditDetail.js +58 -56
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +53 -48
- package/lib/address-edit/index.js +31 -15
- package/lib/address-edit/style/index.js +13 -27
- package/lib/address-edit/style/less.js +13 -27
- package/lib/address-edit/types.js +3 -3
- package/lib/address-list/AddressList.d.ts +19 -19
- package/lib/address-list/AddressList.js +67 -67
- package/lib/address-list/AddressListItem.d.ts +10 -13
- package/lib/address-list/AddressListItem.js +66 -66
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +23 -18
- package/lib/address-list/index.js +31 -15
- package/lib/address-list/index.less +1 -1
- package/lib/address-list/style/index.js +11 -23
- package/lib/address-list/style/less.js +11 -23
- package/lib/area/Area.d.ts +42 -34
- package/lib/area/Area.js +130 -181
- package/lib/area/index.d.ts +46 -33
- package/lib/area/index.js +31 -15
- package/lib/area/style/index.js +3 -7
- package/lib/area/style/less.js +3 -7
- package/lib/area/types.js +3 -3
- package/lib/badge/Badge.d.ts +20 -21
- package/lib/badge/Badge.js +62 -62
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +24 -20
- package/lib/badge/index.js +31 -15
- package/lib/badge/style/index.js +2 -5
- package/lib/badge/style/less.js +2 -5
- package/lib/button/Button.d.ts +40 -48
- package/lib/button/Button.js +75 -83
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +44 -47
- package/lib/button/index.js +31 -15
- package/lib/button/style/index.js +5 -11
- package/lib/button/style/less.js +5 -11
- package/lib/button/types.js +3 -3
- package/lib/calendar/Calendar.d.ts +86 -63
- package/lib/calendar/Calendar.js +188 -277
- package/lib/calendar/CalendarDay.d.ts +14 -15
- package/lib/calendar/CalendarDay.js +84 -87
- package/lib/calendar/CalendarHeader.d.ts +7 -14
- package/lib/calendar/CalendarHeader.js +57 -49
- package/lib/calendar/CalendarMonth.d.ts +26 -33
- package/lib/calendar/CalendarMonth.js +130 -166
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +90 -62
- package/lib/calendar/index.js +31 -15
- package/lib/calendar/style/index.js +10 -21
- package/lib/calendar/style/less.js +10 -21
- package/lib/calendar/types.js +3 -3
- package/lib/calendar/utils.js +59 -63
- package/lib/card/Card.d.ts +17 -27
- package/lib/card/Card.js +91 -92
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +21 -26
- package/lib/card/index.js +31 -15
- package/lib/card/style/index.js +6 -13
- package/lib/card/style/less.js +6 -13
- package/lib/cascader/Cascader.d.ts +37 -23
- package/lib/cascader/Cascader.js +125 -146
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +37 -22
- package/lib/cascader/index.js +31 -15
- package/lib/cascader/index.less +0 -10
- package/lib/cascader/style/index.js +9 -19
- package/lib/cascader/style/less.js +9 -19
- package/lib/cascader/types.js +3 -3
- package/lib/cell/Cell.d.ts +28 -42
- package/lib/cell/Cell.js +81 -87
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +32 -41
- package/lib/cell/index.js +31 -15
- package/lib/cell/style/index.js +4 -9
- package/lib/cell/style/less.js +4 -9
- package/lib/cell-group/CellGroup.d.ts +9 -11
- package/lib/cell-group/CellGroup.js +50 -37
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.d.ts +13 -10
- package/lib/cell-group/index.js +31 -15
- package/lib/cell-group/style/index.js +2 -5
- package/lib/cell-group/style/less.js +2 -5
- package/lib/checkbox/Checkbox.d.ts +18 -22
- package/lib/checkbox/Checkbox.js +62 -73
- package/lib/checkbox/Checker.d.ts +25 -30
- package/lib/checkbox/Checker.js +71 -67
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +22 -21
- package/lib/checkbox/index.js +31 -15
- package/lib/checkbox/style/index.js +5 -11
- package/lib/checkbox/style/less.js +5 -11
- package/lib/checkbox/types.js +3 -3
- package/lib/checkbox-group/CheckboxGroup.d.ts +12 -17
- package/lib/checkbox-group/CheckboxGroup.js +61 -58
- package/lib/checkbox-group/index.css +1 -1
- package/lib/checkbox-group/index.d.ts +16 -16
- package/lib/checkbox-group/index.js +31 -15
- package/lib/checkbox-group/style/index.js +2 -5
- package/lib/checkbox-group/style/less.js +2 -5
- package/lib/checkbox-group/types.js +3 -3
- package/lib/circle/Circle.d.ts +36 -29
- package/lib/circle/Circle.js +100 -103
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.d.ts +40 -28
- package/lib/circle/index.js +31 -15
- package/lib/circle/style/index.js +2 -5
- package/lib/circle/style/less.js +2 -5
- package/lib/col/Col.d.ts +12 -11
- package/lib/col/Col.js +54 -41
- package/lib/col/index.css +1 -1
- package/lib/col/index.d.ts +16 -10
- package/lib/col/index.js +31 -15
- package/lib/col/style/index.js +3 -7
- package/lib/col/style/less.js +3 -7
- package/lib/collapse/Collapse.d.ts +12 -10
- package/lib/collapse/Collapse.js +64 -58
- package/lib/collapse/index.d.ts +16 -9
- package/lib/collapse/index.js +31 -15
- package/lib/collapse/style/index.js +1 -3
- package/lib/collapse/style/less.js +1 -3
- package/lib/collapse-item/CollapseItem.d.ts +32 -42
- package/lib/collapse-item/CollapseItem.js +88 -104
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +36 -41
- package/lib/collapse-item/index.js +31 -15
- package/lib/collapse-item/style/index.js +5 -11
- package/lib/collapse-item/style/less.js +5 -11
- package/lib/collapse-item/types.js +3 -3
- package/lib/composables/on-popup-reopen.js +32 -16
- package/lib/composables/use-expose.js +31 -14
- package/lib/composables/use-height.js +37 -16
- package/lib/composables/use-id.js +33 -18
- package/lib/composables/use-lazy-render.js +32 -14
- package/lib/composables/use-lock-scroll.js +55 -56
- package/lib/composables/use-placeholder.js +33 -14
- package/lib/composables/use-refs.js +38 -14
- package/lib/composables/use-route.d.ts +1 -1
- package/lib/composables/use-route.js +39 -27
- package/lib/composables/use-tab-status.js +30 -14
- package/lib/composables/use-touch.js +49 -41
- package/lib/composables/use-visibility-change.js +38 -29
- package/lib/config-provider/ConfigProvider.d.ts +9 -11
- package/lib/config-provider/ConfigProvider.js +48 -32
- package/lib/config-provider/index.d.ts +13 -10
- package/lib/config-provider/index.js +31 -15
- package/lib/config-provider/style/index.js +1 -3
- package/lib/config-provider/style/less.js +1 -3
- package/lib/contact-card/ContactCard.d.ts +14 -15
- package/lib/contact-card/ContactCard.js +48 -39
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.d.ts +18 -14
- package/lib/contact-card/index.js +31 -15
- package/lib/contact-card/style/index.js +5 -11
- package/lib/contact-card/style/less.js +5 -11
- package/lib/contact-edit/ContactEdit.d.ts +16 -19
- package/lib/contact-edit/ContactEdit.js +79 -78
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-edit/index.d.ts +20 -18
- package/lib/contact-edit/index.js +31 -15
- package/lib/contact-edit/style/index.js +9 -19
- package/lib/contact-edit/style/less.js +9 -19
- package/lib/contact-list/ContactList.d.ts +7 -12
- package/lib/contact-list/ContactList.js +70 -72
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.d.ts +11 -11
- package/lib/contact-list/index.js +31 -15
- package/lib/contact-list/style/index.js +11 -23
- package/lib/contact-list/style/less.js +11 -23
- package/lib/count-down/CountDown.d.ts +16 -12
- package/lib/count-down/CountDown.js +52 -46
- package/lib/count-down/index.css +1 -1
- package/lib/count-down/index.d.ts +20 -11
- package/lib/count-down/index.js +31 -15
- package/lib/count-down/style/index.js +2 -5
- package/lib/count-down/style/less.js +2 -5
- package/lib/count-down/types.js +3 -3
- package/lib/count-down/utils.js +46 -40
- package/lib/coupon/Coupon.d.ts +13 -12
- package/lib/coupon/Coupon.js +69 -60
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.d.ts +17 -11
- package/lib/coupon/index.js +31 -15
- package/lib/coupon/style/index.js +6 -13
- package/lib/coupon/style/less.js +6 -13
- package/lib/coupon/utils.js +33 -18
- package/lib/coupon-cell/CouponCell.d.ts +24 -17
- package/lib/coupon-cell/CouponCell.js +53 -47
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-cell/index.d.ts +28 -16
- package/lib/coupon-cell/index.js +31 -15
- package/lib/coupon-cell/style/index.js +5 -11
- package/lib/coupon-cell/style/less.js +5 -11
- package/lib/coupon-list/CouponList.d.ts +54 -41
- package/lib/coupon-list/CouponList.js +149 -153
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +58 -40
- package/lib/coupon-list/index.js +31 -15
- package/lib/coupon-list/style/index.js +16 -33
- package/lib/coupon-list/style/less.js +16 -33
- package/lib/datetime-picker/DatePicker.d.ts +45 -36
- package/lib/datetime-picker/DatePicker.js +152 -185
- package/lib/datetime-picker/DatetimePicker.d.ts +2 -2
- package/lib/datetime-picker/DatetimePicker.js +49 -41
- package/lib/datetime-picker/TimePicker.d.ts +47 -38
- package/lib/datetime-picker/TimePicker.js +92 -99
- package/lib/datetime-picker/index.d.ts +6 -1
- package/lib/datetime-picker/index.js +31 -15
- package/lib/datetime-picker/style/index.js +3 -7
- package/lib/datetime-picker/style/less.js +3 -7
- package/lib/datetime-picker/types.js +3 -3
- package/lib/datetime-picker/utils.d.ts +1 -1
- package/lib/datetime-picker/utils.js +50 -37
- package/lib/dialog/Dialog.d.ts +53 -60
- package/lib/dialog/Dialog.js +99 -114
- package/lib/dialog/function-call.d.ts +52 -59
- package/lib/dialog/function-call.js +59 -57
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +5 -0
- package/lib/dialog/index.js +29 -10
- package/lib/dialog/style/index.js +10 -21
- package/lib/dialog/style/less.js +10 -21
- package/lib/dialog/types.js +3 -3
- package/lib/divider/Divider.d.ts +12 -10
- package/lib/divider/Divider.js +48 -31
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +16 -9
- package/lib/divider/index.js +31 -15
- package/lib/divider/style/index.js +2 -5
- package/lib/divider/style/less.js +2 -5
- package/lib/dropdown-item/DropdownItem.d.ts +16 -19
- package/lib/dropdown-item/DropdownItem.js +96 -119
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +20 -18
- package/lib/dropdown-item/index.js +31 -15
- package/lib/dropdown-item/style/index.js +8 -17
- package/lib/dropdown-item/style/less.js +8 -17
- package/lib/dropdown-item/types.js +3 -3
- package/lib/dropdown-menu/DropdownMenu.d.ts +25 -19
- package/lib/dropdown-menu/DropdownMenu.js +91 -85
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +29 -18
- package/lib/dropdown-menu/index.js +31 -15
- package/lib/dropdown-menu/index.less +0 -1
- package/lib/dropdown-menu/style/index.js +2 -5
- package/lib/dropdown-menu/style/less.js +2 -5
- package/lib/dropdown-menu/types.js +3 -3
- package/lib/empty/Empty.d.ts +9 -11
- package/lib/empty/Empty.js +56 -52
- package/lib/empty/Network.js +62 -45
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +13 -10
- package/lib/empty/index.js +31 -15
- package/lib/empty/style/index.js +2 -5
- package/lib/empty/style/less.js +2 -5
- package/lib/field/Field.d.ts +81 -91
- package/lib/field/Field.js +220 -302
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +85 -90
- package/lib/field/index.js +31 -15
- package/lib/field/style/index.js +5 -11
- package/lib/field/style/less.js +5 -11
- package/lib/field/types.d.ts +1 -1
- package/lib/field/types.js +3 -3
- package/lib/field/utils.js +64 -87
- package/lib/form/Form.d.ts +25 -31
- package/lib/form/Form.js +84 -90
- package/lib/form/index.d.ts +29 -30
- package/lib/form/index.js +31 -15
- package/lib/form/style/index.js +1 -3
- package/lib/form/style/less.js +1 -3
- package/lib/form/types.js +3 -3
- package/lib/grid/Grid.d.ts +21 -23
- package/lib/grid/Grid.js +57 -42
- package/lib/grid/index.css +1 -1
- package/lib/grid/index.d.ts +25 -22
- package/lib/grid/index.js +31 -15
- package/lib/grid/style/index.js +2 -5
- package/lib/grid/style/less.js +2 -5
- package/lib/grid-item/GridItem.d.ts +18 -24
- package/lib/grid-item/GridItem.js +76 -82
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +18 -21
- package/lib/grid-item/index.js +31 -15
- package/lib/grid-item/style/index.js +5 -11
- package/lib/grid-item/style/less.js +5 -11
- package/lib/icon/Icon.d.ts +19 -21
- package/lib/icon/Icon.js +59 -45
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +19 -18
- package/lib/icon/index.js +31 -15
- package/lib/icon/index.less +1 -0
- package/lib/icon/style/index.js +3 -7
- package/lib/icon/style/less.js +3 -7
- package/lib/image/Image.d.ts +33 -33
- package/lib/image/Image.js +113 -110
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +35 -32
- package/lib/image/index.js +31 -15
- package/lib/image/style/index.js +4 -9
- package/lib/image/style/less.js +4 -9
- package/lib/image-preview/ImagePreview.d.ts +57 -41
- package/lib/image-preview/ImagePreview.js +95 -105
- package/lib/image-preview/ImagePreviewItem.d.ts +21 -18
- package/lib/image-preview/ImagePreviewItem.js +119 -133
- package/lib/image-preview/function-call.d.ts +55 -40
- package/lib/image-preview/function-call.js +54 -53
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.d.ts +5 -0
- package/lib/image-preview/index.js +29 -10
- package/lib/image-preview/index.less +0 -1
- package/lib/image-preview/style/index.js +10 -21
- package/lib/image-preview/style/less.js +10 -21
- package/lib/image-preview/types.d.ts +1 -0
- package/lib/image-preview/types.js +3 -3
- package/lib/index-anchor/IndexAnchor.d.ts +4 -6
- package/lib/index-anchor/IndexAnchor.js +63 -64
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.d.ts +8 -5
- package/lib/index-anchor/index.js +31 -15
- package/lib/index-anchor/style/index.js +3 -7
- package/lib/index-anchor/style/less.js +3 -7
- package/lib/index-bar/IndexBar.d.ts +18 -17
- package/lib/index-bar/IndexBar.js +108 -122
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +22 -16
- package/lib/index-bar/index.js +31 -15
- package/lib/index-bar/style/index.js +2 -5
- package/lib/index-bar/style/less.js +2 -5
- package/lib/index-bar/types.js +3 -3
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +288 -791
- package/lib/lazyload/index.js +29 -10
- package/lib/lazyload/style/index.js +1 -3
- package/lib/lazyload/style/less.js +1 -3
- package/lib/lazyload/vue-lazyload/index.js +39 -43
- package/lib/lazyload/vue-lazyload/lazy-component.js +35 -26
- package/lib/lazyload/vue-lazyload/lazy-container.js +50 -63
- package/lib/lazyload/vue-lazyload/lazy-image.js +43 -55
- package/lib/lazyload/vue-lazyload/lazy.js +149 -301
- package/lib/lazyload/vue-lazyload/listener.js +73 -140
- package/lib/lazyload/vue-lazyload/util.js +82 -109
- package/lib/list/List.d.ts +21 -23
- package/lib/list/List.js +88 -97
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +25 -22
- package/lib/list/index.js +31 -15
- package/lib/list/style/index.js +3 -7
- package/lib/list/style/less.js +3 -7
- package/lib/list/types.js +3 -3
- package/lib/loading/Loading.d.ts +12 -17
- package/lib/loading/Loading.js +56 -45
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +16 -16
- package/lib/loading/index.js +31 -15
- package/lib/loading/style/index.js +2 -5
- package/lib/loading/style/less.js +2 -5
- package/lib/locale/index.js +38 -32
- package/lib/locale/lang/de-DE-formal.d.ts +2 -11
- package/lib/locale/lang/de-DE-formal.js +52 -56
- package/lib/locale/lang/de-DE.d.ts +2 -11
- package/lib/locale/lang/de-DE.js +52 -56
- package/lib/locale/lang/en-US.d.ts +2 -11
- package/lib/locale/lang/en-US.js +52 -56
- package/lib/locale/lang/es-ES.d.ts +2 -11
- package/lib/locale/lang/es-ES.js +52 -56
- package/lib/locale/lang/fr-FR.d.ts +2 -11
- package/lib/locale/lang/fr-FR.js +52 -56
- package/lib/locale/lang/hi-IN.d.ts +64 -0
- package/lib/locale/lang/hi-IN.js +81 -0
- package/lib/locale/lang/ja-JP.d.ts +2 -12
- package/lib/locale/lang/ja-JP.js +52 -57
- package/lib/locale/lang/ko-KR.d.ts +64 -0
- package/lib/locale/lang/ko-KR.js +81 -0
- package/lib/locale/lang/nb-NO.d.ts +2 -11
- package/lib/locale/lang/nb-NO.js +52 -56
- package/lib/locale/lang/pt-BR.d.ts +2 -11
- package/lib/locale/lang/pt-BR.js +52 -56
- package/lib/locale/lang/ro-RO.d.ts +2 -11
- package/lib/locale/lang/ro-RO.js +52 -56
- package/lib/locale/lang/ru-RU.d.ts +2 -11
- package/lib/locale/lang/ru-RU.js +52 -56
- package/lib/locale/lang/th-TH.d.ts +2 -12
- package/lib/locale/lang/th-TH.js +52 -57
- package/lib/locale/lang/tr-TR.d.ts +2 -11
- package/lib/locale/lang/tr-TR.js +52 -56
- package/lib/locale/lang/zh-CN.d.ts +2 -12
- package/lib/locale/lang/zh-CN.js +52 -57
- package/lib/locale/lang/zh-HK.d.ts +2 -12
- package/lib/locale/lang/zh-HK.js +52 -57
- package/lib/locale/lang/zh-TW.d.ts +2 -12
- package/lib/locale/lang/zh-TW.js +52 -57
- package/lib/locale/style/index.js +1 -3
- package/lib/locale/style/less.js +1 -3
- package/lib/nav-bar/NavBar.d.ts +15 -23
- package/lib/nav-bar/NavBar.js +69 -69
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +19 -22
- package/lib/nav-bar/index.js +31 -15
- package/lib/nav-bar/index.less +0 -1
- package/lib/nav-bar/style/index.js +4 -9
- package/lib/nav-bar/style/less.js +4 -9
- package/lib/notice-bar/NoticeBar.d.ts +21 -23
- package/lib/notice-bar/NoticeBar.js +99 -111
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +25 -22
- package/lib/notice-bar/index.js +31 -15
- package/lib/notice-bar/style/index.js +4 -9
- package/lib/notice-bar/style/less.js +4 -9
- package/lib/notice-bar/types.js +3 -3
- package/lib/notify/Notify.d.ts +50 -39
- package/lib/notify/Notify.js +46 -35
- package/lib/notify/function-call.d.ts +45 -38
- package/lib/notify/function-call.js +55 -54
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.d.ts +5 -0
- package/lib/notify/index.js +29 -10
- package/lib/notify/style/index.js +6 -13
- package/lib/notify/style/less.js +6 -13
- package/lib/notify/types.d.ts +2 -0
- package/lib/notify/types.js +3 -3
- package/lib/number-keyboard/NumberKeyboard.d.ts +47 -39
- package/lib/number-keyboard/NumberKeyboard.js +126 -148
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +9 -17
- package/lib/number-keyboard/NumberKeyboardKey.js +62 -63
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +51 -38
- package/lib/number-keyboard/index.js +31 -15
- package/lib/number-keyboard/index.less +0 -1
- package/lib/number-keyboard/style/index.js +3 -7
- package/lib/number-keyboard/style/less.js +3 -7
- package/lib/overlay/Overlay.d.ts +25 -17
- package/lib/overlay/Overlay.js +53 -42
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +25 -16
- package/lib/overlay/index.js +31 -15
- package/lib/overlay/style/index.js +2 -5
- package/lib/overlay/style/less.js +2 -5
- package/lib/pagination/Pagination.d.ts +30 -23
- package/lib/pagination/Pagination.js +102 -110
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +34 -22
- package/lib/pagination/index.js +31 -15
- package/lib/pagination/style/index.js +2 -5
- package/lib/pagination/style/less.js +2 -5
- package/lib/password-input/PasswordInput.d.ts +19 -19
- package/lib/password-input/PasswordInput.js +65 -58
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +23 -18
- package/lib/password-input/index.js +31 -15
- package/lib/password-input/style/index.js +2 -5
- package/lib/password-input/style/less.js +2 -5
- package/lib/picker/Picker.d.ts +39 -34
- package/lib/picker/Picker.js +175 -231
- package/lib/picker/PickerColumn.d.ts +32 -24
- package/lib/picker/PickerColumn.js +128 -164
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +43 -33
- package/lib/picker/index.js +31 -15
- package/lib/picker/index.less +0 -1
- package/lib/picker/style/index.js +3 -7
- package/lib/picker/style/less.js +3 -7
- package/lib/picker/types.d.ts +13 -0
- package/lib/picker/types.js +3 -3
- package/lib/popover/Popover.d.ts +49 -37
- package/lib/popover/Popover.js +122 -117
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +53 -36
- package/lib/popover/index.js +31 -15
- package/lib/popover/index.less +8 -4
- package/lib/popover/style/index.js +6 -13
- package/lib/popover/style/less.js +6 -13
- package/lib/popover/types.js +3 -3
- package/lib/popup/Popup.d.ts +46 -48
- package/lib/popup/Popup.js +106 -118
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +57 -52
- package/lib/popup/index.js +31 -15
- package/lib/popup/index.less +0 -1
- package/lib/popup/shared.d.ts +1 -1
- package/lib/popup/shared.js +37 -30
- package/lib/popup/style/index.js +5 -11
- package/lib/popup/style/less.js +5 -11
- package/lib/popup/types.d.ts +5 -0
- package/lib/popup/types.js +3 -0
- package/lib/progress/Progress.d.ts +19 -23
- package/lib/progress/Progress.js +53 -41
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +23 -22
- package/lib/progress/index.js +31 -15
- package/lib/progress/style/index.js +2 -5
- package/lib/progress/style/less.js +2 -5
- package/lib/progress/types.js +3 -3
- package/lib/pull-refresh/PullRefresh.d.ts +22 -25
- package/lib/pull-refresh/PullRefresh.js +99 -118
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +26 -24
- package/lib/pull-refresh/index.js +31 -15
- package/lib/pull-refresh/index.less +0 -1
- package/lib/pull-refresh/style/index.js +3 -7
- package/lib/pull-refresh/style/less.js +3 -7
- package/lib/radio/Radio.d.ts +14 -21
- package/lib/radio/Radio.js +48 -47
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +18 -20
- package/lib/radio/index.js +31 -15
- package/lib/radio/style/index.js +6 -13
- package/lib/radio/style/less.js +6 -13
- package/lib/radio-group/RadioGroup.d.ts +8 -15
- package/lib/radio-group/RadioGroup.js +54 -40
- package/lib/radio-group/index.css +1 -1
- package/lib/radio-group/index.d.ts +12 -14
- package/lib/radio-group/index.js +31 -15
- package/lib/radio-group/style/index.js +2 -5
- package/lib/radio-group/style/less.js +2 -5
- package/lib/rate/Rate.d.ts +32 -33
- package/lib/rate/Rate.js +88 -102
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +36 -32
- package/lib/rate/index.js +31 -15
- package/lib/rate/style/index.js +4 -9
- package/lib/rate/style/less.js +4 -9
- package/lib/row/Row.d.ts +17 -15
- package/lib/row/Row.js +68 -55
- package/lib/row/index.css +1 -1
- package/lib/row/index.d.ts +21 -14
- package/lib/row/index.js +31 -15
- package/lib/row/style/index.js +2 -5
- package/lib/row/style/less.js +2 -5
- package/lib/search/Search.d.ts +65 -52
- package/lib/search/Search.js +101 -94
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +69 -51
- package/lib/search/index.js +31 -15
- package/lib/search/style/index.js +6 -13
- package/lib/search/style/less.js +6 -13
- package/lib/search/types.js +3 -3
- package/lib/share-sheet/ShareSheet.d.ts +46 -42
- package/lib/share-sheet/ShareSheet.js +81 -88
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.d.ts +50 -41
- package/lib/share-sheet/index.js +31 -15
- package/lib/share-sheet/index.less +0 -1
- package/lib/share-sheet/style/index.js +6 -13
- package/lib/share-sheet/style/less.js +6 -13
- package/lib/sidebar/Sidebar.d.ts +7 -6
- package/lib/sidebar/Sidebar.js +54 -41
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.d.ts +11 -5
- package/lib/sidebar/index.js +31 -15
- package/lib/sidebar/style/index.js +2 -5
- package/lib/sidebar/style/less.js +2 -5
- package/lib/sidebar-item/SidebarItem.d.ts +16 -20
- package/lib/sidebar-item/SidebarItem.js +59 -56
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.d.ts +16 -17
- package/lib/sidebar-item/index.js +31 -15
- package/lib/sidebar-item/style/index.js +4 -9
- package/lib/sidebar-item/style/less.js +4 -9
- package/lib/skeleton/Skeleton.d.ts +28 -25
- package/lib/skeleton/Skeleton.js +61 -55
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +32 -24
- package/lib/skeleton/index.js +31 -15
- package/lib/skeleton/style/index.js +2 -5
- package/lib/skeleton/style/less.js +2 -5
- package/lib/slider/Slider.d.ts +29 -32
- package/lib/slider/Slider.js +138 -185
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +33 -31
- package/lib/slider/index.js +31 -15
- package/lib/slider/style/index.js +2 -5
- package/lib/slider/style/less.js +2 -5
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/Step.js +79 -89
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +6 -1
- package/lib/step/index.js +31 -15
- package/lib/step/style/index.js +5 -11
- package/lib/step/style/less.js +5 -11
- package/lib/stepper/Stepper.d.ts +52 -49
- package/lib/stepper/Stepper.js +134 -162
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +56 -48
- package/lib/stepper/index.js +31 -15
- package/lib/stepper/index.less +0 -1
- package/lib/stepper/style/index.js +2 -5
- package/lib/stepper/style/less.js +2 -5
- package/lib/steps/Steps.d.ts +20 -21
- package/lib/steps/Steps.js +54 -40
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +24 -20
- package/lib/steps/index.js +31 -15
- package/lib/steps/style/index.js +2 -5
- package/lib/steps/style/less.js +2 -5
- package/lib/sticky/Sticky.d.ts +17 -15
- package/lib/sticky/Sticky.js +86 -89
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.d.ts +21 -14
- package/lib/sticky/index.js +31 -15
- package/lib/sticky/style/index.js +2 -5
- package/lib/sticky/style/less.js +2 -5
- package/lib/style/animation.css +1 -1
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +6 -2
- package/lib/style/css-variables.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +29 -33
- package/lib/submit-bar/SubmitBar.js +80 -73
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +33 -32
- package/lib/submit-bar/index.js +31 -15
- package/lib/submit-bar/style/index.js +6 -13
- package/lib/submit-bar/style/less.js +6 -13
- package/lib/swipe/Swipe.d.ts +36 -29
- package/lib/swipe/Swipe.js +191 -244
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +40 -28
- package/lib/swipe/index.js +31 -15
- package/lib/swipe/style/index.js +2 -5
- package/lib/swipe/style/less.js +2 -5
- package/lib/swipe/types.js +3 -3
- package/lib/swipe-cell/SwipeCell.d.ts +12 -17
- package/lib/swipe-cell/SwipeCell.js +98 -112
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.d.ts +16 -16
- package/lib/swipe-cell/index.js +31 -15
- package/lib/swipe-cell/style/index.js +2 -5
- package/lib/swipe-cell/style/less.js +2 -5
- package/lib/swipe-cell/types.js +3 -3
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/SwipeItem.js +67 -67
- package/lib/swipe-item/index.css +1 -1
- package/lib/swipe-item/index.d.ts +6 -1
- package/lib/swipe-item/index.js +31 -15
- package/lib/swipe-item/style/index.js +3 -7
- package/lib/swipe-item/style/less.js +3 -7
- package/lib/switch/Switch.d.ts +17 -21
- package/lib/switch/Switch.js +60 -52
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +21 -20
- package/lib/switch/index.js +31 -15
- package/lib/switch/style/index.js +3 -7
- package/lib/switch/style/less.js +3 -7
- package/lib/tab/Tab.d.ts +17 -26
- package/lib/tab/Tab.js +79 -84
- package/lib/tab/index.css +1 -1
- package/lib/tab/index.d.ts +21 -25
- package/lib/tab/index.js +31 -15
- package/lib/tab/style/index.js +7 -15
- package/lib/tab/style/less.js +7 -15
- package/lib/tabbar/Tabbar.d.ts +25 -25
- package/lib/tabbar/Tabbar.js +64 -61
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.d.ts +29 -24
- package/lib/tabbar/index.js +31 -15
- package/lib/tabbar/style/index.js +2 -5
- package/lib/tabbar/style/less.js +2 -5
- package/lib/tabbar-item/TabbarItem.d.ts +17 -22
- package/lib/tabbar-item/TabbarItem.js +81 -85
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +17 -19
- package/lib/tabbar-item/index.js +31 -15
- package/lib/tabbar-item/style/index.js +5 -11
- package/lib/tabbar-item/style/less.js +5 -11
- package/lib/tabs/Tabs.d.ts +47 -43
- package/lib/tabs/Tabs.js +203 -253
- package/lib/tabs/TabsContent.d.ts +18 -17
- package/lib/tabs/TabsContent.js +54 -47
- package/lib/tabs/TabsTitle.d.ts +21 -33
- package/lib/tabs/TabsTitle.js +61 -52
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +50 -42
- package/lib/tabs/index.js +31 -15
- package/lib/tabs/index.less +43 -35
- package/lib/tabs/style/index.js +5 -11
- package/lib/tabs/style/less.js +5 -11
- package/lib/tabs/types.js +3 -3
- package/lib/tabs/utils.js +41 -31
- package/lib/tag/Tag.d.ts +18 -23
- package/lib/tag/Tag.js +53 -46
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +22 -22
- package/lib/tag/index.js +31 -15
- package/lib/tag/index.less +0 -1
- package/lib/tag/style/index.js +4 -9
- package/lib/tag/style/less.js +4 -9
- package/lib/toast/Toast.d.ts +32 -39
- package/lib/toast/Toast.js +78 -82
- package/lib/toast/function-call.d.ts +2 -2
- package/lib/toast/function-call.js +90 -105
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.js +29 -10
- package/lib/toast/lock-click.js +14 -11
- package/lib/toast/style/index.js +7 -15
- package/lib/toast/style/less.js +7 -15
- package/lib/toast/types.js +3 -3
- package/lib/tree-select/TreeSelect.d.ts +27 -16
- package/lib/tree-select/TreeSelect.js +72 -75
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +31 -15
- package/lib/tree-select/index.js +31 -15
- package/lib/tree-select/index.less +1 -1
- package/lib/tree-select/style/index.js +6 -13
- package/lib/tree-select/style/less.js +6 -13
- package/lib/uploader/Uploader.d.ts +63 -52
- package/lib/uploader/Uploader.js +133 -173
- package/lib/uploader/UploaderPreviewItem.d.ts +14 -21
- package/lib/uploader/UploaderPreviewItem.js +86 -87
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +66 -50
- package/lib/uploader/index.js +31 -15
- package/lib/uploader/style/index.js +11 -23
- package/lib/uploader/style/less.js +11 -23
- package/lib/uploader/types.js +3 -3
- package/lib/uploader/utils.js +55 -62
- package/lib/utils/basic.js +25 -27
- package/lib/utils/constant.js +27 -22
- package/lib/utils/create.js +53 -56
- package/lib/utils/deep-assign.js +33 -20
- package/lib/utils/deep-clone.js +33 -16
- package/lib/utils/dom.js +52 -60
- package/lib/utils/format.js +79 -113
- package/lib/utils/index.js +28 -75
- package/lib/utils/interceptor.js +38 -23
- package/lib/utils/mount-component.js +39 -34
- package/lib/utils/props.js +25 -35
- package/lib/utils/validate.js +42 -39
- package/lib/utils/with-install.js +31 -14
- package/lib/vant.cjs.js +5034 -5049
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +5034 -5049
- package/lib/vant.es.min.js +5034 -5049
- package/lib/vant.js +5060 -5074
- package/lib/vant.min.js +1 -1
- package/package.json +4 -5
- package/vetur/attributes.json +1022 -991
- package/vetur/tags.json +60 -53
- package/vetur/web-types.json +1726 -1638
package/vetur/attributes.json
CHANGED
@@ -1,3487 +1,3518 @@
|
|
1
1
|
{
|
2
2
|
"van-action-bar/safe-area-inset-bottom": {
|
3
3
|
"type": "boolean",
|
4
|
-
"description": "
|
4
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
5
5
|
},
|
6
6
|
"van-action-bar-icon/text": {
|
7
7
|
"type": "string",
|
8
|
-
"description": "
|
8
|
+
"description": "Button text, Default: -"
|
9
9
|
},
|
10
10
|
"van-action-bar-icon/icon": {
|
11
11
|
"type": "string",
|
12
|
-
"description": "
|
12
|
+
"description": "Icon, Default: -"
|
13
13
|
},
|
14
14
|
"van-action-bar-icon/color": {
|
15
15
|
"type": "string",
|
16
|
-
"description": "
|
16
|
+
"description": "Icon color, Default: `#323233`"
|
17
17
|
},
|
18
18
|
"van-action-bar-icon/icon-class": {
|
19
19
|
"type": "string | Array \\",
|
20
|
-
"description": "
|
20
|
+
"description": "Icon class name, Default: object_",
|
21
21
|
"options": [
|
22
|
-
"
|
22
|
+
"''"
|
23
23
|
]
|
24
24
|
},
|
25
25
|
"van-action-bar-icon/icon-prefix": {
|
26
26
|
"type": "string",
|
27
|
-
"description": "
|
27
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
28
28
|
},
|
29
29
|
"van-action-bar-icon/dot": {
|
30
30
|
"type": "boolean",
|
31
|
-
"description": "
|
31
|
+
"description": "Whether to show red dot, Default: -"
|
32
32
|
},
|
33
33
|
"van-action-bar-icon/badge": {
|
34
34
|
"type": "number | string",
|
35
|
-
"description": "
|
35
|
+
"description": "Content of the badge, Default: -"
|
36
|
+
},
|
37
|
+
"van-action-bar-icon/badge-props": {
|
38
|
+
"type": "BadgeProps",
|
39
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
36
40
|
},
|
37
41
|
"van-action-bar-icon/url": {
|
38
42
|
"type": "string",
|
39
|
-
"description": "
|
43
|
+
"description": "Link URL, Default: -"
|
40
44
|
},
|
41
45
|
"van-action-bar-icon/to": {
|
42
46
|
"type": "string | object",
|
43
|
-
"description": "
|
47
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
44
48
|
},
|
45
49
|
"van-action-bar-icon/replace": {
|
46
50
|
"type": "boolean",
|
47
|
-
"description": "
|
51
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
48
52
|
},
|
49
53
|
"van-action-bar-button/text": {
|
50
54
|
"type": "string",
|
51
|
-
"description": "
|
55
|
+
"description": "Button text, Default: -"
|
52
56
|
},
|
53
57
|
"van-action-bar-button/type": {
|
54
58
|
"type": "string",
|
55
|
-
"description": "
|
59
|
+
"description": "Button type, Can be set to `primary` `info` `warning` `danger`, Default: `default`"
|
56
60
|
},
|
57
61
|
"van-action-bar-button/color": {
|
58
62
|
"type": "string",
|
59
|
-
"description": "
|
63
|
+
"description": "Button color, support linear-gradient, Default: -"
|
60
64
|
},
|
61
65
|
"van-action-bar-button/icon": {
|
62
66
|
"type": "string",
|
63
|
-
"description": "
|
67
|
+
"description": "Left Icon, Default: -"
|
64
68
|
},
|
65
69
|
"van-action-bar-button/disabled": {
|
66
70
|
"type": "boolean",
|
67
|
-
"description": "
|
71
|
+
"description": "Whether to disable button, Default: `false`"
|
68
72
|
},
|
69
73
|
"van-action-bar-button/loading": {
|
70
74
|
"type": "boolean",
|
71
|
-
"description": "
|
75
|
+
"description": "Whether to show loading status, Default: `false`"
|
72
76
|
},
|
73
77
|
"van-action-bar-button/url": {
|
74
78
|
"type": "string",
|
75
|
-
"description": "
|
79
|
+
"description": "Link, Default: -"
|
76
80
|
},
|
77
81
|
"van-action-bar-button/to": {
|
78
82
|
"type": "string | object",
|
79
|
-
"description": "
|
83
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
80
84
|
},
|
81
85
|
"van-action-bar-button/replace": {
|
82
86
|
"type": "boolean",
|
83
|
-
"description": "
|
84
|
-
},
|
85
|
-
"van-address-edit/area-list": {
|
86
|
-
"type": "object",
|
87
|
-
"description": "地区列表, 默认值: -"
|
88
|
-
},
|
89
|
-
"van-address-edit/area-columns-placeholder": {
|
90
|
-
"type": "string[]",
|
91
|
-
"description": "地区选择列占位提示文字, 默认值: `[]`"
|
92
|
-
},
|
93
|
-
"van-address-edit/area-placeholder": {
|
94
|
-
"type": "string",
|
95
|
-
"description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
|
96
|
-
},
|
97
|
-
"van-address-edit/address-info": {
|
98
|
-
"type": "AddressEditInfo",
|
99
|
-
"description": "地址信息初始值, 默认值: `{}`"
|
100
|
-
},
|
101
|
-
"van-address-edit/search-result": {
|
102
|
-
"type": "AddressEditSearchItem[]",
|
103
|
-
"description": "详细地址搜索结果, 默认值: `[]`"
|
104
|
-
},
|
105
|
-
"van-address-edit/show-postal": {
|
106
|
-
"type": "boolean",
|
107
|
-
"description": "是否显示邮政编码, 默认值: `false`"
|
108
|
-
},
|
109
|
-
"van-address-edit/show-delete": {
|
110
|
-
"type": "boolean",
|
111
|
-
"description": "是否显示删除按钮, 默认值: `false`"
|
112
|
-
},
|
113
|
-
"van-address-edit/show-set-default": {
|
114
|
-
"type": "boolean",
|
115
|
-
"description": "是否显示默认地址栏, 默认值: `false`"
|
116
|
-
},
|
117
|
-
"van-address-edit/show-search-result": {
|
118
|
-
"type": "boolean",
|
119
|
-
"description": "是否显示搜索结果, 默认值: `false`"
|
120
|
-
},
|
121
|
-
"van-address-edit/show-area": {
|
122
|
-
"type": "boolean",
|
123
|
-
"description": "是否显示地区, 默认值: `true`"
|
124
|
-
},
|
125
|
-
"van-address-edit/show-detail": {
|
126
|
-
"type": "boolean",
|
127
|
-
"description": "是否显示详细地址, 默认值: `true`"
|
128
|
-
},
|
129
|
-
"van-address-edit/disable-area": {
|
130
|
-
"type": "boolean",
|
131
|
-
"description": "是否禁用地区选择, 默认值: `false`"
|
132
|
-
},
|
133
|
-
"van-address-edit/save-button-text": {
|
134
|
-
"type": "string",
|
135
|
-
"description": "保存按钮文字, 默认值: `保存`"
|
136
|
-
},
|
137
|
-
"van-address-edit/delete-button-text": {
|
138
|
-
"type": "string",
|
139
|
-
"description": "删除按钮文字, 默认值: `删除`"
|
140
|
-
},
|
141
|
-
"van-address-edit/detail-rows": {
|
142
|
-
"type": "number | string",
|
143
|
-
"description": "详细地址输入框行数, 默认值: `1`"
|
144
|
-
},
|
145
|
-
"van-address-edit/detail-maxlength": {
|
146
|
-
"type": "number | string",
|
147
|
-
"description": "详细地址最大长度, 默认值: `200`"
|
148
|
-
},
|
149
|
-
"van-address-edit/is-saving": {
|
150
|
-
"type": "boolean",
|
151
|
-
"description": "是否显示保存按钮加载动画, 默认值: `false`"
|
152
|
-
},
|
153
|
-
"van-address-edit/is-deleting": {
|
154
|
-
"type": "boolean",
|
155
|
-
"description": "是否显示删除按钮加载动画, 默认值: `false`"
|
156
|
-
},
|
157
|
-
"van-address-edit/tel-validator": {
|
158
|
-
"type": "string => boolean",
|
159
|
-
"description": "手机号格式校验函数, 默认值: -"
|
160
|
-
},
|
161
|
-
"van-address-edit/tel-maxlength": {
|
162
|
-
"type": "number | string",
|
163
|
-
"description": "手机号最大长度, 默认值: -"
|
164
|
-
},
|
165
|
-
"van-address-edit/postal-validator": {
|
166
|
-
"type": "string => boolean",
|
167
|
-
"description": "邮政编码格式校验函数, 默认值: -"
|
168
|
-
},
|
169
|
-
"van-address-edit/validator": {
|
170
|
-
"type": "(key, val) => string",
|
171
|
-
"description": "自定义校验函数, 默认值: -"
|
87
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
172
88
|
},
|
173
89
|
"van-action-sheet/v-model:show": {
|
174
90
|
"type": "boolean",
|
175
|
-
"description": "
|
91
|
+
"description": "Whether to show ActionSheet, Default: `false`"
|
176
92
|
},
|
177
93
|
"van-action-sheet/actions": {
|
178
94
|
"type": "ActionSheetAction[]",
|
179
|
-
"description": "
|
95
|
+
"description": "Options, Default: `[]`"
|
180
96
|
},
|
181
97
|
"van-action-sheet/title": {
|
182
98
|
"type": "string",
|
183
|
-
"description": "
|
99
|
+
"description": "Title, Default: -"
|
184
100
|
},
|
185
101
|
"van-action-sheet/cancel-text": {
|
186
102
|
"type": "string",
|
187
|
-
"description": "
|
103
|
+
"description": "Text of cancel button, Default: -"
|
188
104
|
},
|
189
105
|
"van-action-sheet/description": {
|
190
106
|
"type": "string",
|
191
|
-
"description": "
|
107
|
+
"description": "Description above the options, Default: -"
|
192
108
|
},
|
193
109
|
"van-action-sheet/closeable": {
|
194
110
|
"type": "boolean",
|
195
|
-
"description": "
|
111
|
+
"description": "Whether to show close icon, Default: `true`"
|
196
112
|
},
|
197
113
|
"van-action-sheet/close-icon": {
|
198
114
|
"type": "string",
|
199
|
-
"description": "
|
115
|
+
"description": "Close icon name, Default: `cross`"
|
200
116
|
},
|
201
117
|
"van-action-sheet/duration": {
|
202
118
|
"type": "number | string",
|
203
|
-
"description": "
|
119
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
204
120
|
},
|
205
121
|
"van-action-sheet/round": {
|
206
122
|
"type": "boolean",
|
207
|
-
"description": "
|
123
|
+
"description": "Whether to show round corner, Default: `true`"
|
208
124
|
},
|
209
125
|
"van-action-sheet/overlay": {
|
210
126
|
"type": "boolean",
|
211
|
-
"description": "
|
127
|
+
"description": "Whether to show overlay, Default: `true`"
|
212
128
|
},
|
213
129
|
"van-action-sheet/overlay-class": {
|
214
130
|
"type": "string | Array \\",
|
215
|
-
"description": "
|
131
|
+
"description": "Custom overlay class, Default: object_",
|
216
132
|
"options": [
|
217
133
|
"-"
|
218
134
|
]
|
219
135
|
},
|
220
136
|
"van-action-sheet/overlay-style": {
|
221
137
|
"type": "object",
|
222
|
-
"description": "
|
138
|
+
"description": "Custom overlay style, Default: -"
|
223
139
|
},
|
224
140
|
"van-action-sheet/lock-scroll": {
|
225
141
|
"type": "boolean",
|
226
|
-
"description": "
|
142
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
227
143
|
},
|
228
144
|
"van-action-sheet/lazy-render": {
|
229
145
|
"type": "boolean",
|
230
|
-
"description": "
|
146
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
231
147
|
},
|
232
148
|
"van-action-sheet/close-on-popstate": {
|
233
149
|
"type": "boolean",
|
234
|
-
"description": "
|
150
|
+
"description": "Whether to close when popstate, Default: `true`"
|
235
151
|
},
|
236
152
|
"van-action-sheet/close-on-click-action": {
|
237
153
|
"type": "boolean",
|
238
|
-
"description": "
|
154
|
+
"description": "Whether to close when an action is clicked, Default: `false`"
|
239
155
|
},
|
240
156
|
"van-action-sheet/close-on-click-overlay": {
|
241
157
|
"type": "boolean",
|
242
|
-
"description": "
|
158
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
243
159
|
},
|
244
160
|
"van-action-sheet/safe-area-inset-bottom": {
|
245
161
|
"type": "boolean",
|
246
|
-
"description": "
|
162
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
247
163
|
},
|
248
164
|
"van-action-sheet/teleport": {
|
249
165
|
"type": "string | Element",
|
250
|
-
"description": "
|
166
|
+
"description": "Specifies a target element where ActionSheet will be mounted, Default: -"
|
251
167
|
},
|
252
168
|
"van-action-sheet/before-close": {
|
253
169
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
254
|
-
"description": "
|
170
|
+
"description": "Callback function before close, Default: -"
|
255
171
|
},
|
256
172
|
"van-address-list/v-model": {
|
257
173
|
"type": "string",
|
258
|
-
"description": "
|
174
|
+
"description": "Id of chosen address, Default: -"
|
259
175
|
},
|
260
176
|
"van-address-list/list": {
|
261
|
-
"type": "
|
262
|
-
"description": "
|
177
|
+
"type": "Address[]",
|
178
|
+
"description": "Address list, Default: `[]`"
|
263
179
|
},
|
264
180
|
"van-address-list/disabled-list": {
|
265
|
-
"type": "
|
266
|
-
"description": "
|
181
|
+
"type": "Address[]",
|
182
|
+
"description": "Disabled address list, Default: `[]`"
|
267
183
|
},
|
268
184
|
"van-address-list/disabled-text": {
|
269
185
|
"type": "string",
|
270
|
-
"description": "
|
186
|
+
"description": "Disabled text, Default: -"
|
271
187
|
},
|
272
188
|
"van-address-list/switchable": {
|
273
189
|
"type": "boolean",
|
274
|
-
"description": "
|
190
|
+
"description": "Whether to allow switch address, Default: `true`"
|
275
191
|
},
|
276
192
|
"van-address-list/add-button-text": {
|
277
193
|
"type": "string",
|
278
|
-
"description": "
|
194
|
+
"description": "Add button text, Default: `Add new address`"
|
279
195
|
},
|
280
196
|
"van-address-list/default-tag-text": {
|
281
197
|
"type": "string",
|
282
|
-
"description": "
|
198
|
+
"description": "Default tag text, Default: -"
|
283
199
|
},
|
284
|
-
"van-area
|
285
|
-
"type": "
|
286
|
-
"description": "
|
200
|
+
"van-address-edit/area-list": {
|
201
|
+
"type": "object",
|
202
|
+
"description": "Area List, Default: -"
|
287
203
|
},
|
288
|
-
"van-area
|
289
|
-
"type": "string",
|
290
|
-
"description": "
|
204
|
+
"van-address-edit/area-columns-placeholder": {
|
205
|
+
"type": "string[]",
|
206
|
+
"description": "placeholder of area columns, Default: `[]`"
|
291
207
|
},
|
292
|
-
"van-area
|
208
|
+
"van-address-edit/area-placeholder": {
|
293
209
|
"type": "string",
|
294
|
-
"description": "
|
210
|
+
"description": "placeholder of area input field, Default: `Area`"
|
295
211
|
},
|
296
|
-
"van-
|
297
|
-
"type": "
|
298
|
-
"description": "
|
212
|
+
"van-address-edit/address-info": {
|
213
|
+
"type": "AddressEditInfo",
|
214
|
+
"description": "Address Info, Default: `{}`"
|
299
215
|
},
|
300
|
-
"van-
|
301
|
-
"type": "
|
302
|
-
"description": "
|
216
|
+
"van-address-edit/search-result": {
|
217
|
+
"type": "AddressEditSearchItem[]",
|
218
|
+
"description": "Address search result, Default: `[]`"
|
303
219
|
},
|
304
|
-
"van-
|
305
|
-
"type": "
|
306
|
-
"description": "
|
220
|
+
"van-address-edit/show-postal": {
|
221
|
+
"type": "boolean",
|
222
|
+
"description": "Whether to show postal field, Default: `false`"
|
307
223
|
},
|
308
|
-
"van-
|
224
|
+
"van-address-edit/show-delete": {
|
309
225
|
"type": "boolean",
|
310
|
-
"description": "
|
226
|
+
"description": "Whether to show delete button, Default: `false`"
|
311
227
|
},
|
312
|
-
"van-
|
228
|
+
"van-address-edit/show-set-default": {
|
313
229
|
"type": "boolean",
|
314
|
-
"description": "
|
230
|
+
"description": "Whether to show default address switch, Default: `false`"
|
315
231
|
},
|
316
|
-
"van-
|
317
|
-
"type": "
|
318
|
-
"description": "
|
232
|
+
"van-address-edit/show-search-result": {
|
233
|
+
"type": "boolean",
|
234
|
+
"description": "Whether to show address search result, Default: `false`"
|
319
235
|
},
|
320
|
-
"van-
|
236
|
+
"van-address-edit/show-area": {
|
237
|
+
"type": "boolean",
|
238
|
+
"description": "Whether to show area cell, Default: `true`"
|
239
|
+
},
|
240
|
+
"van-address-edit/show-detail": {
|
241
|
+
"type": "boolean",
|
242
|
+
"description": "Whether to show detail field, Default: `true`"
|
243
|
+
},
|
244
|
+
"van-address-edit/disable-area": {
|
245
|
+
"type": "boolean",
|
246
|
+
"description": "Whether to disable area select, Default: `false`"
|
247
|
+
},
|
248
|
+
"van-address-edit/save-button-text": {
|
249
|
+
"type": "string",
|
250
|
+
"description": "Save button text, Default: `Save`"
|
251
|
+
},
|
252
|
+
"van-address-edit/delete-button-text": {
|
253
|
+
"type": "string",
|
254
|
+
"description": "Delete button text, Default: `Delete`"
|
255
|
+
},
|
256
|
+
"van-address-edit/detail-rows": {
|
321
257
|
"type": "number | string",
|
322
|
-
"description": "
|
258
|
+
"description": "Detail input rows, Default: `1`"
|
323
259
|
},
|
324
|
-
"van-
|
260
|
+
"van-address-edit/detail-maxlength": {
|
325
261
|
"type": "number | string",
|
326
|
-
"description": "
|
262
|
+
"description": "Detail maxlength, Default: `200`"
|
327
263
|
},
|
328
|
-
"van-
|
264
|
+
"van-address-edit/is-saving": {
|
265
|
+
"type": "boolean",
|
266
|
+
"description": "Whether to show save button loading status, Default: `false`"
|
267
|
+
},
|
268
|
+
"van-address-edit/is-deleting": {
|
269
|
+
"type": "boolean",
|
270
|
+
"description": "Whether to show delete button loading status, Default: `false`"
|
271
|
+
},
|
272
|
+
"van-address-edit/tel-validator": {
|
273
|
+
"type": "(tel: string) => boolean",
|
274
|
+
"description": "The method to validate tel, Default: -"
|
275
|
+
},
|
276
|
+
"van-address-edit/tel-maxlength": {
|
329
277
|
"type": "number | string",
|
330
|
-
"description": "
|
278
|
+
"description": "Tel maxlength, Default: -"
|
331
279
|
},
|
332
|
-
"van-
|
333
|
-
"type": "() => boolean",
|
334
|
-
"description": "
|
280
|
+
"van-address-edit/postal-validator": {
|
281
|
+
"type": "(tel: string) => boolean",
|
282
|
+
"description": "The method to validate postal, Default: -"
|
283
|
+
},
|
284
|
+
"van-address-edit/validator": {
|
285
|
+
"type": "(key, val) => string",
|
286
|
+
"description": "Custom validator, Default: -"
|
335
287
|
},
|
336
288
|
"van-badge/content": {
|
337
289
|
"type": "number | string",
|
338
|
-
"description": "
|
290
|
+
"description": "Badge content, Default: -"
|
339
291
|
},
|
340
292
|
"van-badge/color": {
|
341
293
|
"type": "string",
|
342
|
-
"description": "
|
294
|
+
"description": "Background color, Default: `#ee0a24`"
|
343
295
|
},
|
344
296
|
"van-badge/dot": {
|
345
297
|
"type": "boolean",
|
346
|
-
"description": "
|
298
|
+
"description": "Whether to show dot, Default: `false`"
|
347
299
|
},
|
348
300
|
"van-badge/max": {
|
349
301
|
"type": "number | string",
|
350
|
-
"description": "
|
302
|
+
"description": "Max value,show `{max}+` when exceed,only works when content is number, Default: -"
|
351
303
|
},
|
352
304
|
"van-badge/offset": {
|
353
305
|
"type": "[number | string, number \\",
|
354
|
-
"description": "
|
306
|
+
"description": "Offset of badge dot, Default: string]_",
|
355
307
|
"options": [
|
356
308
|
"-"
|
357
309
|
]
|
358
310
|
},
|
359
311
|
"van-badge/show-zero": {
|
360
312
|
"type": "boolean",
|
361
|
-
"description": "
|
313
|
+
"description": "Whether to show badge when content is zero, Default: `true`"
|
362
314
|
},
|
363
315
|
"van-badge/position": {
|
364
316
|
"type": "string",
|
365
|
-
"description": "
|
317
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
318
|
+
},
|
319
|
+
"van-area/value": {
|
320
|
+
"type": "string",
|
321
|
+
"description": "the `code` of selected area, Default: -"
|
322
|
+
},
|
323
|
+
"van-area/title": {
|
324
|
+
"type": "string",
|
325
|
+
"description": "Toolbar title, Default: -"
|
326
|
+
},
|
327
|
+
"van-area/confirm-button-text": {
|
328
|
+
"type": "string",
|
329
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
330
|
+
},
|
331
|
+
"van-area/cancel-button-text": {
|
332
|
+
"type": "string",
|
333
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
334
|
+
},
|
335
|
+
"van-area/area-list": {
|
336
|
+
"type": "object",
|
337
|
+
"description": "Area list data, Default: -"
|
338
|
+
},
|
339
|
+
"van-area/columns-placeholder": {
|
340
|
+
"type": "string[]",
|
341
|
+
"description": "Placeholder of columns, Default: `[]`"
|
342
|
+
},
|
343
|
+
"van-area/loading": {
|
344
|
+
"type": "boolean",
|
345
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
346
|
+
},
|
347
|
+
"van-area/readonly": {
|
348
|
+
"type": "boolean",
|
349
|
+
"description": "Whether to be readonly, Default: `false`"
|
350
|
+
},
|
351
|
+
"van-area/item-height": {
|
352
|
+
"type": "number | string",
|
353
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
354
|
+
},
|
355
|
+
"van-area/columns-num": {
|
356
|
+
"type": "number | string",
|
357
|
+
"description": "Level of picker, Default: `3`"
|
358
|
+
},
|
359
|
+
"van-area/visible-item-count": {
|
360
|
+
"type": "number | string",
|
361
|
+
"description": "Count of visible columns, Default: `6`"
|
362
|
+
},
|
363
|
+
"van-area/swipe-duration": {
|
364
|
+
"type": "number | string",
|
365
|
+
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
366
|
+
},
|
367
|
+
"van-area/is-oversea-code": {
|
368
|
+
"type": "() => boolean",
|
369
|
+
"description": "The method to validate oversea code, Default: -"
|
366
370
|
},
|
367
371
|
"van-button/type": {
|
368
372
|
"type": "string",
|
369
|
-
"description": "
|
373
|
+
"description": "Can be set to `primary` `success` `warning` `danger`, Default: `default`"
|
370
374
|
},
|
371
375
|
"van-button/size": {
|
372
376
|
"type": "string",
|
373
|
-
"description": "
|
377
|
+
"description": "Can be set to `large` `small` `mini`, Default: `normal`"
|
374
378
|
},
|
375
379
|
"van-button/text": {
|
376
380
|
"type": "string",
|
377
|
-
"description": "
|
381
|
+
"description": "Text, Default: -"
|
378
382
|
},
|
379
383
|
"van-button/color": {
|
380
384
|
"type": "string",
|
381
|
-
"description": "
|
385
|
+
"description": "Color, support linear-gradient, Default: -"
|
382
386
|
},
|
383
387
|
"van-button/icon": {
|
384
388
|
"type": "string",
|
385
|
-
"description": "
|
389
|
+
"description": "Left Icon, Default: -"
|
386
390
|
},
|
387
391
|
"van-button/icon-prefix": {
|
388
392
|
"type": "string",
|
389
|
-
"description": "
|
393
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
390
394
|
},
|
391
395
|
"van-button/icon-position": {
|
392
396
|
"type": "string",
|
393
|
-
"description": "
|
397
|
+
"description": "Icon position, can be set to `right`, Default: `left`"
|
394
398
|
},
|
395
399
|
"van-button/tag": {
|
396
400
|
"type": "string",
|
397
|
-
"description": "
|
401
|
+
"description": "HTML Tag, Default: `button`"
|
398
402
|
},
|
399
403
|
"van-button/native-type": {
|
400
404
|
"type": "string",
|
401
|
-
"description": "
|
402
|
-
},
|
403
|
-
"van-button/block": {
|
404
|
-
"type": "boolean",
|
405
|
-
"description": "是否为块级元素, 默认值: `false`"
|
405
|
+
"description": "Native Type Attribute, Default: `button`"
|
406
406
|
},
|
407
407
|
"van-button/plain": {
|
408
408
|
"type": "boolean",
|
409
|
-
"description": "
|
409
|
+
"description": "Whether to be plain button, Default: `false`"
|
410
410
|
},
|
411
|
-
"van-button/
|
411
|
+
"van-button/block": {
|
412
412
|
"type": "boolean",
|
413
|
-
"description": "
|
413
|
+
"description": "Whether to set display block, Default: `false`"
|
414
414
|
},
|
415
415
|
"van-button/round": {
|
416
416
|
"type": "boolean",
|
417
|
-
"description": "
|
417
|
+
"description": "Whether to be round button, Default: `false`"
|
418
418
|
},
|
419
|
-
"van-button/
|
419
|
+
"van-button/square": {
|
420
420
|
"type": "boolean",
|
421
|
-
"description": "
|
421
|
+
"description": "Whether to be square button, Default: `false`"
|
422
422
|
},
|
423
|
-
"van-button/
|
423
|
+
"van-button/disabled": {
|
424
424
|
"type": "boolean",
|
425
|
-
"description": "
|
425
|
+
"description": "Whether to disable button, Default: `false`"
|
426
426
|
},
|
427
427
|
"van-button/loading": {
|
428
428
|
"type": "boolean",
|
429
|
-
"description": "
|
429
|
+
"description": "Whether to show loading status, Default: `false`"
|
430
430
|
},
|
431
431
|
"van-button/loading-text": {
|
432
432
|
"type": "string",
|
433
|
-
"description": "
|
433
|
+
"description": "Loading text, Default: -"
|
434
434
|
},
|
435
435
|
"van-button/loading-type": {
|
436
436
|
"type": "string",
|
437
|
-
"description": "
|
437
|
+
"description": "Loading type, can be set to `spinner`, Default: `circular`"
|
438
438
|
},
|
439
439
|
"van-button/loading-size": {
|
440
440
|
"type": "number | string",
|
441
|
-
"description": "
|
441
|
+
"description": "Loading icon size, Default: `20px`"
|
442
442
|
},
|
443
443
|
"van-button/url": {
|
444
444
|
"type": "string",
|
445
|
-
"description": "
|
445
|
+
"description": "Link URL, Default: -"
|
446
446
|
},
|
447
447
|
"van-button/to": {
|
448
448
|
"type": "string | object",
|
449
|
-
"description": "
|
449
|
+
"description": "Target route of the link, same as using vue-router, Default: -"
|
450
450
|
},
|
451
451
|
"van-button/replace": {
|
452
452
|
"type": "boolean",
|
453
|
-
"description": "
|
453
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
454
454
|
},
|
455
455
|
"van-calendar/type": {
|
456
456
|
"type": "string",
|
457
|
-
"description": "
|
457
|
+
"description": "Type,can be set to `range` `multiple`, Default: `single`"
|
458
458
|
},
|
459
459
|
"van-calendar/title": {
|
460
460
|
"type": "string",
|
461
|
-
"description": "
|
461
|
+
"description": "Title of calendar, Default: `Calendar`"
|
462
462
|
},
|
463
463
|
"van-calendar/color": {
|
464
464
|
"type": "string",
|
465
|
-
"description": "
|
465
|
+
"description": "Color for the bottom button and selected date, Default: `#ee0a24`"
|
466
466
|
},
|
467
467
|
"van-calendar/min-date": {
|
468
468
|
"type": "Date",
|
469
|
-
"description": "
|
469
|
+
"description": "Min date, Default: Today"
|
470
470
|
},
|
471
471
|
"van-calendar/max-date": {
|
472
472
|
"type": "Date",
|
473
|
-
"description": "
|
473
|
+
"description": "Max date, Default: Six months after the today"
|
474
474
|
},
|
475
475
|
"van-calendar/default-date": {
|
476
476
|
"type": "Date | Date[] \\",
|
477
|
-
"description": "
|
477
|
+
"description": "Default selected date, Default: null_",
|
478
478
|
"options": [
|
479
|
-
"
|
479
|
+
"Today"
|
480
480
|
]
|
481
481
|
},
|
482
482
|
"van-calendar/row-height": {
|
483
483
|
"type": "number | string",
|
484
|
-
"description": "
|
484
|
+
"description": "Row height, Default: `64`"
|
485
485
|
},
|
486
486
|
"van-calendar/formatter": {
|
487
487
|
"type": "(day: Day) => Day",
|
488
|
-
"description": "
|
488
|
+
"description": "Day formatter, Default: -"
|
489
489
|
},
|
490
490
|
"van-calendar/poppable": {
|
491
491
|
"type": "boolean",
|
492
|
-
"description": "
|
492
|
+
"description": "Whether to show the calendar inside a popup, Default: `true`"
|
493
493
|
},
|
494
494
|
"van-calendar/lazy-render": {
|
495
495
|
"type": "boolean",
|
496
|
-
"description": "
|
496
|
+
"description": "Whether to enable lazy render, Default: `true`"
|
497
497
|
},
|
498
498
|
"van-calendar/show-mark": {
|
499
499
|
"type": "boolean",
|
500
|
-
"description": "
|
500
|
+
"description": "Whether to show background month mark, Default: `true`"
|
501
501
|
},
|
502
502
|
"van-calendar/show-title": {
|
503
503
|
"type": "boolean",
|
504
|
-
"description": "
|
504
|
+
"description": "Whether to show title, Default: `true`"
|
505
505
|
},
|
506
506
|
"van-calendar/show-subtitle": {
|
507
507
|
"type": "boolean",
|
508
|
-
"description": "
|
508
|
+
"description": "Whether to show subtitle, Default: `true`"
|
509
509
|
},
|
510
510
|
"van-calendar/show-confirm": {
|
511
511
|
"type": "boolean",
|
512
|
-
"description": "
|
512
|
+
"description": "Whether to show confirm button, Default: `true`"
|
513
513
|
},
|
514
514
|
"van-calendar/readonly": {
|
515
515
|
"type": "boolean",
|
516
|
-
"description": "
|
516
|
+
"description": "Whether to be readonly, Default: `false`"
|
517
517
|
},
|
518
518
|
"van-calendar/confirm-text": {
|
519
519
|
"type": "string",
|
520
|
-
"description": "
|
520
|
+
"description": "Confirm button text, Default: `Confirm`"
|
521
521
|
},
|
522
522
|
"van-calendar/confirm-disabled-text": {
|
523
523
|
"type": "string",
|
524
|
-
"description": "
|
524
|
+
"description": "Confirm button text when disabled, Default: `Confirm`"
|
525
525
|
},
|
526
526
|
"van-calendar/first-day-of-week": {
|
527
527
|
"type": "0-6",
|
528
|
-
"description": "
|
528
|
+
"description": "Set the start day of week, Default: `0`"
|
529
529
|
},
|
530
530
|
"van-calendar/v-model:show": {
|
531
531
|
"type": "boolean",
|
532
|
-
"description": "
|
532
|
+
"description": "Whether to show calendar, Default: `false`"
|
533
533
|
},
|
534
534
|
"van-calendar/position": {
|
535
535
|
"type": "string",
|
536
|
-
"description": "
|
536
|
+
"description": "Popup position, can be set to `top` `right` `left`, Default: `bottom`"
|
537
537
|
},
|
538
538
|
"van-calendar/round": {
|
539
539
|
"type": "boolean",
|
540
|
-
"description": "
|
540
|
+
"description": "Whether to show round corner, Default: `true`"
|
541
541
|
},
|
542
542
|
"van-calendar/close-on-popstate": {
|
543
543
|
"type": "boolean",
|
544
|
-
"description": "
|
544
|
+
"description": "Whether to close when popstate, Default: `true`"
|
545
545
|
},
|
546
546
|
"van-calendar/close-on-click-overlay": {
|
547
547
|
"type": "boolean",
|
548
|
-
"description": "
|
548
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
549
549
|
},
|
550
550
|
"van-calendar/safe-area-inset-bottom": {
|
551
551
|
"type": "boolean",
|
552
|
-
"description": "
|
552
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
553
553
|
},
|
554
554
|
"van-calendar/teleport": {
|
555
555
|
"type": "string | Element",
|
556
|
-
"description": "
|
556
|
+
"description": "Specifies a target element where Calendar will be mounted, Default: -"
|
557
557
|
},
|
558
558
|
"van-calendar/max-range": {
|
559
559
|
"type": "number | string",
|
560
|
-
"description": "
|
560
|
+
"description": "Max count of selectable days, Default: Unlimited"
|
561
561
|
},
|
562
562
|
"van-calendar/range-prompt": {
|
563
563
|
"type": "string",
|
564
|
-
"description": "
|
564
|
+
"description": "Error message when exceeded max count, Default: `Choose no more than xx days`"
|
565
565
|
},
|
566
566
|
"van-calendar/show-range-prompt": {
|
567
567
|
"type": "boolean",
|
568
|
-
"description": "
|
568
|
+
"description": "Whether prompt error message when exceeded max range, Default: `true`"
|
569
569
|
},
|
570
570
|
"van-calendar/allow-same-day": {
|
571
571
|
"type": "boolean",
|
572
|
-
"description": "
|
572
|
+
"description": "Whether the start and end time of the range is allowed on the same day, Default: `false`"
|
573
573
|
},
|
574
574
|
"van-card/thumb": {
|
575
575
|
"type": "string",
|
576
|
-
"description": "
|
576
|
+
"description": "Left thumb image URL, Default: -"
|
577
577
|
},
|
578
578
|
"van-card/title": {
|
579
579
|
"type": "string",
|
580
|
-
"description": "
|
580
|
+
"description": "Title, Default: -"
|
581
581
|
},
|
582
582
|
"van-card/desc": {
|
583
583
|
"type": "string",
|
584
|
-
"description": "
|
584
|
+
"description": "Description, Default: -"
|
585
585
|
},
|
586
586
|
"van-card/tag": {
|
587
587
|
"type": "string",
|
588
|
-
"description": "
|
588
|
+
"description": "Tag, Default: -"
|
589
589
|
},
|
590
590
|
"van-card/num": {
|
591
591
|
"type": "number | string",
|
592
|
-
"description": "
|
592
|
+
"description": "number, Default: -"
|
593
593
|
},
|
594
594
|
"van-card/price": {
|
595
595
|
"type": "number | string",
|
596
|
-
"description": "
|
596
|
+
"description": "Price, Default: -"
|
597
597
|
},
|
598
598
|
"van-card/origin-price": {
|
599
599
|
"type": "number | string",
|
600
|
-
"description": "
|
600
|
+
"description": "Origin price, Default: -"
|
601
601
|
},
|
602
602
|
"van-card/centered": {
|
603
603
|
"type": "boolean",
|
604
|
-
"description": "
|
604
|
+
"description": "Whether content vertical centered, Default: `false`"
|
605
605
|
},
|
606
606
|
"van-card/currency": {
|
607
607
|
"type": "string",
|
608
|
-
"description": "
|
608
|
+
"description": "Currency symbol, Default: `¥`"
|
609
609
|
},
|
610
610
|
"van-card/thumb-link": {
|
611
611
|
"type": "string",
|
612
|
-
"description": "
|
612
|
+
"description": "Thumb link URL, Default: -"
|
613
613
|
},
|
614
614
|
"van-card/lazy-load": {
|
615
615
|
"type": "boolean",
|
616
|
-
"description": "
|
616
|
+
"description": "Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
617
617
|
},
|
618
618
|
"van-cascader/title": {
|
619
619
|
"type": "string",
|
620
|
-
"description": "
|
620
|
+
"description": "Title, Default: -"
|
621
621
|
},
|
622
622
|
"van-cascader/value": {
|
623
623
|
"type": "string | number",
|
624
|
-
"description": "
|
624
|
+
"description": "Value of selected option, Default: -"
|
625
625
|
},
|
626
626
|
"van-cascader/options": {
|
627
627
|
"type": "CascaderOption[]",
|
628
|
-
"description": "
|
628
|
+
"description": "Options, Default: `[]`"
|
629
629
|
},
|
630
630
|
"van-cascader/placeholder": {
|
631
631
|
"type": "string",
|
632
|
-
"description": "
|
632
|
+
"description": "Placeholder of unselected tab, Default: `Select`"
|
633
633
|
},
|
634
634
|
"van-cascader/active-color": {
|
635
635
|
"type": "string",
|
636
|
-
"description": "
|
636
|
+
"description": "Active color, Default: `#ee0a24`"
|
637
637
|
},
|
638
638
|
"van-cascader/swipeable": {
|
639
639
|
"type": "boolean",
|
640
|
-
"description": "
|
640
|
+
"description": "Whether to enable gestures to slide left and right, Default: `false`"
|
641
641
|
},
|
642
642
|
"van-cascader/closeable": {
|
643
643
|
"type": "boolean",
|
644
|
-
"description": "
|
644
|
+
"description": "Whether to show close icon, Default: `true`"
|
645
|
+
},
|
646
|
+
"van-cascader/show-header": {
|
647
|
+
"type": "boolean",
|
648
|
+
"description": "Whether to show header, Default: `true`"
|
645
649
|
},
|
646
650
|
"van-cascader/close-icon": {
|
647
651
|
"type": "string",
|
648
|
-
"description": "
|
652
|
+
"description": "Close icon name, Default: `cross`"
|
649
653
|
},
|
650
654
|
"van-cascader/field-names": {
|
651
655
|
"type": "object",
|
652
|
-
"description": "
|
656
|
+
"description": "Custom the fields of options, Default: `{ text: 'text', value: 'value', children: 'children' }`"
|
653
657
|
},
|
654
658
|
"van-cell-group/title": {
|
655
659
|
"type": "string",
|
656
|
-
"description": "
|
660
|
+
"description": "Group title, Default: -"
|
657
661
|
},
|
658
662
|
"van-cell-group/inset": {
|
659
663
|
"type": "boolean",
|
660
|
-
"description": "
|
664
|
+
"description": "Whether to be inset grouped, Default: `false`"
|
661
665
|
},
|
662
666
|
"van-cell-group/border": {
|
663
667
|
"type": "boolean",
|
664
|
-
"description": "
|
668
|
+
"description": "Whether to show outer border, Default: `true`"
|
665
669
|
},
|
666
670
|
"van-cell/title": {
|
667
671
|
"type": "number | string",
|
668
|
-
"description": "
|
672
|
+
"description": "Title, Default: -"
|
669
673
|
},
|
670
674
|
"van-cell/value": {
|
671
675
|
"type": "number | string",
|
672
|
-
"description": "
|
676
|
+
"description": "Right text, Default: -"
|
673
677
|
},
|
674
678
|
"van-cell/label": {
|
675
679
|
"type": "string",
|
676
|
-
"description": "
|
680
|
+
"description": "Description below the title, Default: -"
|
677
681
|
},
|
678
682
|
"van-cell/size": {
|
679
683
|
"type": "string",
|
680
|
-
"description": "
|
684
|
+
"description": "Size,can be set to `large`, Default: -"
|
681
685
|
},
|
682
686
|
"van-cell/icon": {
|
683
687
|
"type": "string",
|
684
|
-
"description": "
|
688
|
+
"description": "Left Icon, Default: -"
|
685
689
|
},
|
686
690
|
"van-cell/icon-prefix": {
|
687
691
|
"type": "string",
|
688
|
-
"description": "
|
692
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
693
|
+
},
|
694
|
+
"van-cell/border": {
|
695
|
+
"type": "boolean",
|
696
|
+
"description": "Whether to show inner border, Default: `true`"
|
697
|
+
},
|
698
|
+
"van-cell/center": {
|
699
|
+
"type": "boolean",
|
700
|
+
"description": "Whether to center content vertically, Default: `true`"
|
689
701
|
},
|
690
702
|
"van-cell/url": {
|
691
703
|
"type": "string",
|
692
|
-
"description": "
|
704
|
+
"description": "Link URL, Default: -"
|
693
705
|
},
|
694
706
|
"van-cell/to": {
|
695
707
|
"type": "string | object",
|
696
|
-
"description": "
|
697
|
-
},
|
698
|
-
"van-cell/border": {
|
699
|
-
"type": "boolean",
|
700
|
-
"description": "是否显示内边框, 默认值: `true`"
|
708
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
701
709
|
},
|
702
710
|
"van-cell/replace": {
|
703
711
|
"type": "boolean",
|
704
|
-
"description": "
|
712
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
705
713
|
},
|
706
714
|
"van-cell/clickable": {
|
707
715
|
"type": "boolean",
|
708
|
-
"description": "
|
716
|
+
"description": "Whether to show click feedback when clicked, Default: `null`"
|
709
717
|
},
|
710
718
|
"van-cell/is-link": {
|
711
719
|
"type": "boolean",
|
712
|
-
"description": "
|
720
|
+
"description": "Whether to show link icon, Default: `false`"
|
713
721
|
},
|
714
722
|
"van-cell/required": {
|
715
723
|
"type": "boolean",
|
716
|
-
"description": "
|
717
|
-
},
|
718
|
-
"van-cell/center": {
|
719
|
-
"type": "boolean",
|
720
|
-
"description": "是否使内容垂直居中, 默认值: `false`"
|
724
|
+
"description": "Whether to show required mark, Default: `false`"
|
721
725
|
},
|
722
726
|
"van-cell/arrow-direction": {
|
723
727
|
"type": "string",
|
724
|
-
"description": "
|
728
|
+
"description": "Can be set to `left` `up` `down`, Default: `right`"
|
725
729
|
},
|
726
730
|
"van-cell/title-style": {
|
727
731
|
"type": "string | Array \\",
|
728
|
-
"description": "
|
732
|
+
"description": "Title style, Default: object_",
|
729
733
|
"options": [
|
730
734
|
"-"
|
731
735
|
]
|
732
736
|
},
|
733
737
|
"van-cell/title-class": {
|
734
738
|
"type": "string | Array \\",
|
735
|
-
"description": "
|
739
|
+
"description": "Title className, Default: object_",
|
736
740
|
"options": [
|
737
741
|
"-"
|
738
742
|
]
|
739
743
|
},
|
740
744
|
"van-cell/value-class": {
|
741
745
|
"type": "string | Array \\",
|
742
|
-
"description": "
|
746
|
+
"description": "Value className, Default: object_",
|
743
747
|
"options": [
|
744
748
|
"-"
|
745
749
|
]
|
746
750
|
},
|
747
751
|
"van-cell/label-class": {
|
748
752
|
"type": "string | Array \\",
|
749
|
-
"description": "
|
753
|
+
"description": "Label className, Default: object_",
|
750
754
|
"options": [
|
751
755
|
"-"
|
752
756
|
]
|
753
757
|
},
|
754
758
|
"van-checkbox/v-model": {
|
755
759
|
"type": "boolean",
|
756
|
-
"description": "
|
760
|
+
"description": "Check status, Default: `false`"
|
757
761
|
},
|
758
762
|
"van-checkbox/name": {
|
759
763
|
"type": "any",
|
760
|
-
"description": "
|
764
|
+
"description": "Checkbox name, Default: -"
|
761
765
|
},
|
762
766
|
"van-checkbox/shape": {
|
763
767
|
"type": "string",
|
764
|
-
"description": "
|
768
|
+
"description": "Can be set to `square`, Default: `round`"
|
765
769
|
},
|
766
770
|
"van-checkbox/disabled": {
|
767
771
|
"type": "boolean",
|
768
|
-
"description": "
|
772
|
+
"description": "Disable checkbox, Default: `false`"
|
769
773
|
},
|
770
774
|
"van-checkbox/label-disabled": {
|
771
775
|
"type": "boolean",
|
772
|
-
"description": "
|
776
|
+
"description": "Whether to disable label click, Default: `false`"
|
773
777
|
},
|
774
778
|
"van-checkbox/label-position": {
|
775
779
|
"type": "string",
|
776
|
-
"description": "
|
780
|
+
"description": "Can be set to `left`, Default: `right`"
|
777
781
|
},
|
778
782
|
"van-checkbox/icon-size": {
|
779
783
|
"type": "number | string",
|
780
|
-
"description": "
|
784
|
+
"description": "Icon size, Default: `20px`"
|
781
785
|
},
|
782
786
|
"van-checkbox/checked-color": {
|
783
787
|
"type": "string",
|
784
|
-
"description": "
|
788
|
+
"description": "Checked color, Default: `#1989fa`"
|
785
789
|
},
|
786
790
|
"van-checkbox/bind-group": {
|
787
791
|
"type": "boolean",
|
788
|
-
"description": "
|
792
|
+
"description": "Whether to bind with CheckboxGroup, Default: `true`"
|
789
793
|
},
|
790
794
|
"van-checkbox-group/v-model": {
|
791
795
|
"type": "any[]",
|
792
|
-
"description": "
|
796
|
+
"description": "Names of all checked checkboxes, Default: -"
|
793
797
|
},
|
794
798
|
"van-checkbox-group/disabled": {
|
795
799
|
"type": "boolean",
|
796
|
-
"description": "
|
800
|
+
"description": "Whether to disable all checkboxes, Default: `false`"
|
797
801
|
},
|
798
802
|
"van-checkbox-group/max": {
|
799
803
|
"type": "number | string",
|
800
|
-
"description": "
|
804
|
+
"description": "Maximum amount of checked options, Default: `0`(Unlimited)"
|
801
805
|
},
|
802
806
|
"van-checkbox-group/direction": {
|
803
807
|
"type": "string",
|
804
|
-
"description": "
|
808
|
+
"description": "Direction, can be set to `horizontal`, Default: `vertical`"
|
805
809
|
},
|
806
810
|
"van-checkbox-group/icon-size": {
|
807
811
|
"type": "number | string",
|
808
|
-
"description": "
|
812
|
+
"description": "Icon size of all checkboxes, Default: `20px`"
|
809
813
|
},
|
810
814
|
"van-checkbox-group/checked-color": {
|
811
815
|
"type": "string",
|
812
|
-
"description": "
|
816
|
+
"description": "Checked color of all checkboxes, Default: `#1989fa`"
|
813
817
|
},
|
814
818
|
"van-circle/v-model:current-rate": {
|
815
819
|
"type": "number",
|
816
|
-
"description": "
|
820
|
+
"description": "Current rate, Default: -"
|
817
821
|
},
|
818
822
|
"van-circle/rate": {
|
819
823
|
"type": "number | string",
|
820
|
-
"description": "
|
824
|
+
"description": "Target rate, Default: `100`"
|
821
825
|
},
|
822
826
|
"van-circle/size": {
|
823
827
|
"type": "number | string",
|
824
|
-
"description": "
|
828
|
+
"description": "Circle size, Default: `100px`"
|
825
829
|
},
|
826
830
|
"van-circle/color": {
|
827
831
|
"type": "string | object",
|
828
|
-
"description": "
|
832
|
+
"description": "Progress color, passing object to render gradient, Default: `#1989fa`"
|
829
833
|
},
|
830
834
|
"van-circle/layer-color": {
|
831
835
|
"type": "string",
|
832
|
-
"description": "
|
836
|
+
"description": "Layer color, Default: `white`"
|
833
837
|
},
|
834
838
|
"van-circle/fill": {
|
835
839
|
"type": "string",
|
836
|
-
"description": "
|
840
|
+
"description": "Fill color, Default: `none`"
|
837
841
|
},
|
838
842
|
"van-circle/speed": {
|
839
843
|
"type": "number | string",
|
840
|
-
"description": "
|
844
|
+
"description": "Animate speed(rate/s), Default: `0`"
|
841
845
|
},
|
842
846
|
"van-circle/text": {
|
843
847
|
"type": "string",
|
844
|
-
"description": "
|
848
|
+
"description": "Text, Default: -"
|
845
849
|
},
|
846
850
|
"van-circle/stroke-width": {
|
847
851
|
"type": "number | string",
|
848
|
-
"description": "
|
852
|
+
"description": "Stroke width, Default: `40`"
|
849
853
|
},
|
850
854
|
"van-circle/stroke-linecap": {
|
851
855
|
"type": "string",
|
852
|
-
"description": "
|
856
|
+
"description": "Stroke linecap,can be set to `square` `butt`, Default: `round`"
|
853
857
|
},
|
854
858
|
"van-circle/clockwise": {
|
855
859
|
"type": "boolean",
|
856
|
-
"description": "
|
860
|
+
"description": "Whether to be clockwise, Default: `true`"
|
857
861
|
},
|
858
862
|
"van-circle/start-position": {
|
859
863
|
"type": "CircleStartPosition",
|
860
|
-
"description": "
|
864
|
+
"description": "Progress start position,can be set to `left`、`right`、`bottom`, Default: `top`"
|
861
865
|
},
|
862
866
|
"van-row/gutter": {
|
863
867
|
"type": "number | string",
|
864
|
-
"description": "
|
868
|
+
"description": "Grid spacing(px), Default: -"
|
865
869
|
},
|
866
870
|
"van-row/tag": {
|
867
871
|
"type": "string",
|
868
|
-
"description": "
|
872
|
+
"description": "Custom element tag, Default: `div`"
|
869
873
|
},
|
870
874
|
"van-row/justify": {
|
871
875
|
"type": "string",
|
872
|
-
"description": "
|
876
|
+
"description": "Flex main axis,can be set to end/center/space-around/space-between, Default: `start`"
|
873
877
|
},
|
874
878
|
"van-row/align": {
|
875
879
|
"type": "string",
|
876
|
-
"description": "
|
880
|
+
"description": "Flex cross axis, be set to center/bottom, Default: `top`"
|
877
881
|
},
|
878
882
|
"van-row/wrap": {
|
879
883
|
"type": "boolean",
|
880
|
-
"description": "
|
884
|
+
"description": "Whether to wrap, Default: `true`"
|
881
885
|
},
|
882
886
|
"van-col/span": {
|
883
887
|
"type": "number | string",
|
884
|
-
"description": "
|
888
|
+
"description": "number of column the grid spans, Default: -"
|
885
889
|
},
|
886
890
|
"van-col/offset": {
|
887
891
|
"type": "number | string",
|
888
|
-
"description": "
|
892
|
+
"description": "number of spacing on the left side of the grid, Default: -"
|
889
893
|
},
|
890
894
|
"van-col/tag": {
|
891
895
|
"type": "string",
|
892
|
-
"description": "
|
896
|
+
"description": "Custom element tag, Default: `div`"
|
893
897
|
},
|
894
898
|
"van-collapse/v-model": {
|
895
|
-
"type": "
|
896
|
-
"description": "
|
899
|
+
"type": "accordion mode: _number | string_<br>non-accordion mode:_(number \\",
|
900
|
+
"description": "Names of current active panels, Default: string)[]_",
|
897
901
|
"options": [
|
898
902
|
"-"
|
899
903
|
]
|
900
904
|
},
|
901
905
|
"van-collapse/accordion": {
|
902
906
|
"type": "boolean",
|
903
|
-
"description": "
|
907
|
+
"description": "Whether to be accordion mode, Default: `false`"
|
904
908
|
},
|
905
909
|
"van-collapse/border": {
|
906
910
|
"type": "boolean",
|
907
|
-
"description": "
|
911
|
+
"description": "Whether to show outer border, Default: `true`"
|
908
912
|
},
|
909
913
|
"van-collapse-item/name": {
|
910
914
|
"type": "number | string",
|
911
|
-
"description": "
|
915
|
+
"description": "Name, Default: `index`"
|
912
916
|
},
|
913
917
|
"van-collapse-item/icon": {
|
914
918
|
"type": "string",
|
915
|
-
"description": "
|
919
|
+
"description": "Left Icon, Default: -"
|
916
920
|
},
|
917
921
|
"van-collapse-item/size": {
|
918
922
|
"type": "string",
|
919
|
-
"description": "
|
923
|
+
"description": "Title size,can be set to `large`, Default: -"
|
920
924
|
},
|
921
925
|
"van-collapse-item/title": {
|
922
926
|
"type": "number | string",
|
923
|
-
"description": "
|
927
|
+
"description": "Title, Default: -"
|
924
928
|
},
|
925
929
|
"van-collapse-item/value": {
|
926
930
|
"type": "number | string",
|
927
|
-
"description": "
|
931
|
+
"description": "Right text, Default: -"
|
928
932
|
},
|
929
933
|
"van-collapse-item/label": {
|
930
|
-
"type": "
|
931
|
-
"description": "
|
934
|
+
"type": "string",
|
935
|
+
"description": "Description below the title, Default: -"
|
932
936
|
},
|
933
937
|
"van-collapse-item/border": {
|
934
938
|
"type": "boolean",
|
935
|
-
"description": "
|
936
|
-
},
|
937
|
-
"van-collapse-item/is-link": {
|
938
|
-
"type": "boolean",
|
939
|
-
"description": "是否展示标题栏右侧箭头并开启点击反馈, 默认值: `true`"
|
939
|
+
"description": "Whether to show inner border, Default: `true`"
|
940
940
|
},
|
941
941
|
"van-collapse-item/disabled": {
|
942
942
|
"type": "boolean",
|
943
|
-
"description": "
|
943
|
+
"description": "Whether to disabled collapse, Default: `false`"
|
944
944
|
},
|
945
945
|
"van-collapse-item/readonly": {
|
946
946
|
"type": "boolean",
|
947
|
-
"description": "
|
947
|
+
"description": "Whether to be readonly, Default: `false`"
|
948
|
+
},
|
949
|
+
"van-collapse-item/is-link": {
|
950
|
+
"type": "boolean",
|
951
|
+
"description": "Whether to show link icon, Default: `true`"
|
948
952
|
},
|
949
953
|
"van-collapse-item/title-class": {
|
950
954
|
"type": "string",
|
951
|
-
"description": "
|
955
|
+
"description": "Title className, Default: -"
|
952
956
|
},
|
953
957
|
"van-collapse-item/value-class": {
|
954
958
|
"type": "string",
|
955
|
-
"description": "
|
959
|
+
"description": "Value className, Default: -"
|
956
960
|
},
|
957
961
|
"van-collapse-item/label-class": {
|
958
962
|
"type": "string",
|
959
|
-
"description": "
|
963
|
+
"description": "Label className, Default: -"
|
960
964
|
},
|
961
965
|
"van-config-provider/theme-vars": {
|
962
966
|
"type": "object",
|
963
|
-
"description": "
|
967
|
+
"description": "Theme variables, Default: -"
|
964
968
|
},
|
965
969
|
"van-config-provider/tag": {
|
966
970
|
"type": "string",
|
967
|
-
"description": "
|
971
|
+
"description": "HTML Tag of root element, Default: `div`"
|
968
972
|
},
|
969
973
|
"van-config-provider/icon-prefix": {
|
970
974
|
"type": "string",
|
971
|
-
"description": "
|
975
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
972
976
|
},
|
973
977
|
"van-contact-card/type": {
|
974
978
|
"type": "string",
|
975
|
-
"description": "
|
979
|
+
"description": "Can be set to `edit`, Default: `add`"
|
976
980
|
},
|
977
981
|
"van-contact-card/name": {
|
978
982
|
"type": "string",
|
979
|
-
"description": "
|
983
|
+
"description": "Name, Default: -"
|
980
984
|
},
|
981
985
|
"van-contact-card/tel": {
|
982
986
|
"type": "string",
|
983
|
-
"description": "
|
987
|
+
"description": "Phone, Default: -"
|
984
988
|
},
|
985
989
|
"van-contact-card/add-text": {
|
986
990
|
"type": "string",
|
987
|
-
"description": "
|
991
|
+
"description": "Add card text, Default: `Add contact info`"
|
988
992
|
},
|
989
993
|
"van-contact-edit/contact-info": {
|
990
994
|
"type": "Contact",
|
991
|
-
"description": "
|
995
|
+
"description": "Contact Info, Default: `[]`"
|
992
996
|
},
|
993
997
|
"van-contact-edit/is-edit": {
|
994
998
|
"type": "boolean",
|
995
|
-
"description": "
|
999
|
+
"description": "Whether is editing, Default: `false`"
|
996
1000
|
},
|
997
1001
|
"van-contact-edit/is-saving": {
|
998
1002
|
"type": "boolean",
|
999
|
-
"description": "
|
1003
|
+
"description": "Whether to show save button loading status, Default: `false`"
|
1000
1004
|
},
|
1001
1005
|
"van-contact-edit/is-deleting": {
|
1002
1006
|
"type": "boolean",
|
1003
|
-
"description": "
|
1007
|
+
"description": "Whether to show delete button loading status, Default: `false`"
|
1004
1008
|
},
|
1005
1009
|
"van-contact-edit/tel-validator": {
|
1006
1010
|
"type": "(tel: string) => boolean",
|
1007
|
-
"description": "
|
1011
|
+
"description": "The method to validate tel, Default: -"
|
1008
1012
|
},
|
1009
1013
|
"van-contact-edit/show-set-default": {
|
1010
1014
|
"type": "boolean",
|
1011
|
-
"description": "
|
1015
|
+
"description": "Whether to show default contact switch, Default: `false`"
|
1012
1016
|
},
|
1013
1017
|
"van-contact-edit/set-default-label": {
|
1014
1018
|
"type": "string",
|
1015
|
-
"description": "
|
1019
|
+
"description": "default contact switch label, Default: -"
|
1016
1020
|
},
|
1017
1021
|
"van-contact-list/v-model": {
|
1018
1022
|
"type": "number | string",
|
1019
|
-
"description": "
|
1023
|
+
"description": "Id of chosen contact, Default: -"
|
1020
1024
|
},
|
1021
1025
|
"van-contact-list/list": {
|
1022
1026
|
"type": "Contact[]",
|
1023
|
-
"description": "
|
1027
|
+
"description": "Contact list, Default: `[]`"
|
1024
1028
|
},
|
1025
1029
|
"van-contact-list/add-text": {
|
1026
1030
|
"type": "string",
|
1027
|
-
"description": "
|
1031
|
+
"description": "Add button text, Default: `Add new contact`"
|
1028
1032
|
},
|
1029
1033
|
"van-contact-list/default-tag-text": {
|
1030
1034
|
"type": "string",
|
1031
|
-
"description": "
|
1035
|
+
"description": "Default tag text, Default: -"
|
1032
1036
|
},
|
1033
1037
|
"van-count-down/time": {
|
1034
1038
|
"type": "number | string",
|
1035
|
-
"description": "
|
1039
|
+
"description": "Total time, unit milliseconds, Default: `0`"
|
1036
1040
|
},
|
1037
1041
|
"van-count-down/format": {
|
1038
1042
|
"type": "string",
|
1039
|
-
"description": "
|
1043
|
+
"description": "Time format, Default: `HH:mm:ss`"
|
1040
1044
|
},
|
1041
1045
|
"van-count-down/auto-start": {
|
1042
1046
|
"type": "boolean",
|
1043
|
-
"description": "
|
1047
|
+
"description": "Whether to auto start count down, Default: `true`"
|
1044
1048
|
},
|
1045
1049
|
"van-count-down/millisecond": {
|
1046
1050
|
"type": "boolean",
|
1047
|
-
"description": "
|
1051
|
+
"description": "Whether to enable millisecond render, Default: `false`"
|
1048
1052
|
},
|
1049
1053
|
"van-coupon-cell/title": {
|
1050
1054
|
"type": "string",
|
1051
|
-
"description": "
|
1055
|
+
"description": "Cell title, Default: `Coupon`"
|
1052
1056
|
},
|
1053
1057
|
"van-coupon-cell/chosen-coupon": {
|
1054
1058
|
"type": "number | string",
|
1055
|
-
"description": "
|
1059
|
+
"description": "Index of chosen coupon, Default: `-1`"
|
1056
1060
|
},
|
1057
1061
|
"van-coupon-cell/coupons": {
|
1058
1062
|
"type": "Coupon[]",
|
1059
|
-
"description": "
|
1063
|
+
"description": "Coupon list, Default: `[]`"
|
1060
1064
|
},
|
1061
1065
|
"van-coupon-cell/editable": {
|
1062
1066
|
"type": "boolean",
|
1063
|
-
"description": "
|
1067
|
+
"description": "Cell editable, Default: `true`"
|
1064
1068
|
},
|
1065
1069
|
"van-coupon-cell/border": {
|
1066
1070
|
"type": "boolean",
|
1067
|
-
"description": "
|
1071
|
+
"description": "Whether to show inner border, Default: `true`"
|
1068
1072
|
},
|
1069
1073
|
"van-coupon-cell/currency": {
|
1070
1074
|
"type": "string",
|
1071
|
-
"description": "
|
1075
|
+
"description": "Currency symbol, Default: `¥`"
|
1072
1076
|
},
|
1073
|
-
"van-coupon-list/v-model
|
1077
|
+
"van-coupon-list/v-model": {
|
1074
1078
|
"type": "string",
|
1075
|
-
"description": "
|
1079
|
+
"description": "Current exchange code, Default: -"
|
1076
1080
|
},
|
1077
1081
|
"van-coupon-list/chosen-coupon": {
|
1078
1082
|
"type": "number",
|
1079
|
-
"description": "
|
1083
|
+
"description": "Index of chosen coupon, Default: `-1`"
|
1080
1084
|
},
|
1081
1085
|
"van-coupon-list/coupons": {
|
1082
1086
|
"type": "Coupon[]",
|
1083
|
-
"description": "
|
1087
|
+
"description": "Coupon list, Default: `[]`"
|
1084
1088
|
},
|
1085
1089
|
"van-coupon-list/disabled-coupons": {
|
1086
1090
|
"type": "Coupon[]",
|
1087
|
-
"description": "
|
1091
|
+
"description": "Disabled coupon list, Default: `[]`"
|
1088
1092
|
},
|
1089
1093
|
"van-coupon-list/enabled-title": {
|
1090
1094
|
"type": "string",
|
1091
|
-
"description": "
|
1095
|
+
"description": "Title of coupon list, Default: `Available`"
|
1092
1096
|
},
|
1093
1097
|
"van-coupon-list/disabled-title": {
|
1094
1098
|
"type": "string",
|
1095
|
-
"description": "
|
1099
|
+
"description": "Title of disabled coupon list, Default: `Unavailable`"
|
1096
1100
|
},
|
1097
1101
|
"van-coupon-list/exchange-button-text": {
|
1098
1102
|
"type": "string",
|
1099
|
-
"description": "
|
1103
|
+
"description": "Exchange button text, Default: `Exchange`"
|
1100
1104
|
},
|
1101
1105
|
"van-coupon-list/exchange-button-loading": {
|
1102
1106
|
"type": "boolean",
|
1103
|
-
"description": "
|
1107
|
+
"description": "Whether to show loading in exchange button, Default: `false`"
|
1104
1108
|
},
|
1105
1109
|
"van-coupon-list/exchange-button-disabled": {
|
1106
1110
|
"type": "boolean",
|
1107
|
-
"description": "
|
1111
|
+
"description": "Whether to disable exchange button, Default: `false`"
|
1108
1112
|
},
|
1109
1113
|
"van-coupon-list/exchange-min-length": {
|
1110
1114
|
"type": "number",
|
1111
|
-
"description": "
|
1115
|
+
"description": "Min length to enable exchange button, Default: `1`"
|
1112
1116
|
},
|
1113
1117
|
"van-coupon-list/displayed-coupon-index": {
|
1114
1118
|
"type": "number",
|
1115
|
-
"description": "
|
1116
|
-
},
|
1117
|
-
"van-coupon-list/show-close-button": {
|
1118
|
-
"type": "boolean",
|
1119
|
-
"description": "是否显示列表底部按钮, 默认值: `true`"
|
1119
|
+
"description": "Index of displayed coupon, Default: -"
|
1120
1120
|
},
|
1121
1121
|
"van-coupon-list/close-button-text": {
|
1122
1122
|
"type": "string",
|
1123
|
-
"description": "
|
1123
|
+
"description": "Close button text, Default: `Close`"
|
1124
1124
|
},
|
1125
1125
|
"van-coupon-list/input-placeholder": {
|
1126
1126
|
"type": "string",
|
1127
|
-
"description": "
|
1128
|
-
},
|
1129
|
-
"van-coupon-list/show-exchange-bar": {
|
1130
|
-
"type": "boolean",
|
1131
|
-
"description": "是否展示兑换栏, 默认值: `true`"
|
1127
|
+
"description": "Input placeholder, Default: `Coupon code`"
|
1132
1128
|
},
|
1133
1129
|
"van-coupon-list/currency": {
|
1134
1130
|
"type": "string",
|
1135
|
-
"description": "
|
1131
|
+
"description": "Currency symbol, Default: `¥`"
|
1136
1132
|
},
|
1137
1133
|
"van-coupon-list/empty-image": {
|
1138
1134
|
"type": "string",
|
1139
|
-
"description": "
|
1135
|
+
"description": "Placeholder image when list is empty, Default: `https://img.yzcdn.cn/vant/coupon-empty.png`"
|
1140
1136
|
},
|
1141
1137
|
"van-coupon-list/show-count": {
|
1142
1138
|
"type": "boolean",
|
1143
|
-
"description": "
|
1139
|
+
"description": "Whether to show coupon count in tab title, Default: `true`"
|
1144
1140
|
},
|
1145
1141
|
"van-datetime-picker/type": {
|
1146
1142
|
"type": "string",
|
1147
|
-
"description": "
|
1143
|
+
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`, Default: `datetime`"
|
1148
1144
|
},
|
1149
1145
|
"van-datetime-picker/title": {
|
1150
1146
|
"type": "string",
|
1151
|
-
"description": "
|
1147
|
+
"description": "Toolbar title, Default: `''`"
|
1152
1148
|
},
|
1153
1149
|
"van-datetime-picker/confirm-button-text": {
|
1154
1150
|
"type": "string",
|
1155
|
-
"description": "
|
1151
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
1156
1152
|
},
|
1157
1153
|
"van-datetime-picker/cancel-button-text": {
|
1158
1154
|
"type": "string",
|
1159
|
-
"description": "
|
1155
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
1160
1156
|
},
|
1161
1157
|
"van-datetime-picker/show-toolbar": {
|
1162
1158
|
"type": "boolean",
|
1163
|
-
"description": "
|
1159
|
+
"description": "Whether to show toolbar, Default: `true`"
|
1164
1160
|
},
|
1165
1161
|
"van-datetime-picker/loading": {
|
1166
1162
|
"type": "boolean",
|
1167
|
-
"description": "
|
1163
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
1168
1164
|
},
|
1169
1165
|
"van-datetime-picker/readonly": {
|
1170
1166
|
"type": "boolean",
|
1171
|
-
"description": "
|
1167
|
+
"description": "Whether to be readonly, Default: `false`"
|
1172
1168
|
},
|
1173
1169
|
"van-datetime-picker/filter": {
|
1174
1170
|
"type": "(type: string, values: string[]) => string[]",
|
1175
|
-
"description": "
|
1171
|
+
"description": "Option filter, Default: -"
|
1176
1172
|
},
|
1177
1173
|
"van-datetime-picker/formatter": {
|
1178
1174
|
"type": "(type: string, value: string) => string",
|
1179
|
-
"description": "
|
1175
|
+
"description": "Option text formatter, Default: -"
|
1180
1176
|
},
|
1181
1177
|
"van-datetime-picker/columns-order": {
|
1182
1178
|
"type": "string[]",
|
1183
|
-
"description": "
|
1179
|
+
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`, Default: -"
|
1184
1180
|
},
|
1185
1181
|
"van-datetime-picker/item-height": {
|
1186
1182
|
"type": "number | string",
|
1187
|
-
"description": "
|
1183
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
1188
1184
|
},
|
1189
1185
|
"van-datetime-picker/visible-item-count": {
|
1190
1186
|
"type": "number | string",
|
1191
|
-
"description": "
|
1187
|
+
"description": "Count of visible columns, Default: `6`"
|
1192
1188
|
},
|
1193
1189
|
"van-datetime-picker/swipe-duration": {
|
1194
1190
|
"type": "number | string",
|
1195
|
-
"description": "
|
1191
|
+
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
1196
1192
|
},
|
1197
1193
|
"van-date-picker/min-date": {
|
1198
1194
|
"type": "Date",
|
1199
|
-
"description": "
|
1195
|
+
"description": "Min date, Default: Ten years ago on January 1"
|
1200
1196
|
},
|
1201
1197
|
"van-date-picker/max-date": {
|
1202
1198
|
"type": "Date",
|
1203
|
-
"description": "
|
1199
|
+
"description": "Max date, Default: Ten years later on December 31"
|
1204
1200
|
},
|
1205
1201
|
"van-time-picker/min-hour": {
|
1206
1202
|
"type": "number | string",
|
1207
|
-
"description": "
|
1203
|
+
"description": "Min hour for `time` type, Default: `0`"
|
1208
1204
|
},
|
1209
1205
|
"van-time-picker/max-hour": {
|
1210
1206
|
"type": "number | string",
|
1211
|
-
"description": "
|
1207
|
+
"description": "Max hour for `time` type, Default: `23`"
|
1212
1208
|
},
|
1213
1209
|
"van-time-picker/min-minute": {
|
1214
1210
|
"type": "number | string",
|
1215
|
-
"description": "
|
1211
|
+
"description": "Max minute for `time` type, Default: `0`"
|
1216
1212
|
},
|
1217
1213
|
"van-time-picker/max-minute": {
|
1218
1214
|
"type": "number | string",
|
1219
|
-
"description": "
|
1215
|
+
"description": "Max minute for `time` type, Default: `59`"
|
1220
1216
|
},
|
1221
1217
|
"van-dialog/v-model:show": {
|
1222
1218
|
"type": "boolean",
|
1223
|
-
"description": "
|
1219
|
+
"description": "Whether to show dialog, Default: -"
|
1224
1220
|
},
|
1225
1221
|
"van-dialog/title": {
|
1226
1222
|
"type": "string",
|
1227
|
-
"description": "
|
1223
|
+
"description": "Title, Default: -"
|
1228
1224
|
},
|
1229
1225
|
"van-dialog/width": {
|
1230
1226
|
"type": "number | string",
|
1231
|
-
"description": "
|
1227
|
+
"description": "Width, Default: `320px`"
|
1232
1228
|
},
|
1233
1229
|
"van-dialog/message": {
|
1234
1230
|
"type": "string | () => JSX.ELement",
|
1235
|
-
"description": "
|
1231
|
+
"description": "Message, Default: -"
|
1236
1232
|
},
|
1237
1233
|
"van-dialog/message-align": {
|
1238
1234
|
"type": "string",
|
1239
|
-
"description": "
|
1235
|
+
"description": "Message align,can be set to `left` `right`, Default: `center`"
|
1240
1236
|
},
|
1241
1237
|
"van-dialog/theme": {
|
1242
1238
|
"type": "string",
|
1243
|
-
"description": "
|
1239
|
+
"description": "Theme style,can be set to `round-button`, Default: `default`"
|
1244
1240
|
},
|
1245
1241
|
"van-dialog/show-confirm-button": {
|
1246
1242
|
"type": "boolean",
|
1247
|
-
"description": "
|
1243
|
+
"description": "Whether to show confirm button, Default: `true`"
|
1248
1244
|
},
|
1249
1245
|
"van-dialog/show-cancel-button": {
|
1250
1246
|
"type": "boolean",
|
1251
|
-
"description": "
|
1247
|
+
"description": "Whether to show cancel button, Default: `false`"
|
1252
1248
|
},
|
1253
|
-
"van-dialog/
|
1249
|
+
"van-dialog/cancel-button-text": {
|
1254
1250
|
"type": "string",
|
1255
|
-
"description": "
|
1251
|
+
"description": "Cancel button text, Default: `Cancel`"
|
1256
1252
|
},
|
1257
|
-
"van-dialog/
|
1253
|
+
"van-dialog/cancel-button-color": {
|
1258
1254
|
"type": "string",
|
1259
|
-
"description": "
|
1255
|
+
"description": "Cancel button color, Default: `black`"
|
1260
1256
|
},
|
1261
|
-
"van-dialog/
|
1257
|
+
"van-dialog/confirm-button-text": {
|
1262
1258
|
"type": "string",
|
1263
|
-
"description": "
|
1259
|
+
"description": "Confirm button text, Default: `Confirm`"
|
1264
1260
|
},
|
1265
|
-
"van-dialog/
|
1261
|
+
"van-dialog/confirm-button-color": {
|
1266
1262
|
"type": "string",
|
1267
|
-
"description": "
|
1263
|
+
"description": "Confirm button color, Default: `#ee0a24`"
|
1268
1264
|
},
|
1269
1265
|
"van-dialog/overlay": {
|
1270
1266
|
"type": "boolean",
|
1271
|
-
"description": "
|
1267
|
+
"description": "Whether to show overlay, Default: `true`"
|
1272
1268
|
},
|
1273
1269
|
"van-dialog/overlay-class": {
|
1274
1270
|
"type": "string",
|
1275
|
-
"description": "
|
1271
|
+
"description": "Custom overlay class, Default: -"
|
1276
1272
|
},
|
1277
1273
|
"van-dialog/overlay-style": {
|
1278
1274
|
"type": "object",
|
1279
|
-
"description": "
|
1275
|
+
"description": "Custom overlay style, Default: -"
|
1280
1276
|
},
|
1281
1277
|
"van-dialog/close-on-popstate": {
|
1282
1278
|
"type": "boolean",
|
1283
|
-
"description": "
|
1279
|
+
"description": "Whether to close when popstate, Default: `true`"
|
1284
1280
|
},
|
1285
1281
|
"van-dialog/close-on-click-overlay": {
|
1286
1282
|
"type": "boolean",
|
1287
|
-
"description": "
|
1283
|
+
"description": "Whether to close when overlay is clicked, Default: `false`"
|
1288
1284
|
},
|
1289
1285
|
"van-dialog/lazy-render": {
|
1290
1286
|
"type": "boolean",
|
1291
|
-
"description": "
|
1287
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
1292
1288
|
},
|
1293
1289
|
"van-dialog/lock-scroll": {
|
1294
1290
|
"type": "boolean",
|
1295
|
-
"description": "
|
1291
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
1296
1292
|
},
|
1297
1293
|
"van-dialog/allow-html": {
|
1298
1294
|
"type": "boolean",
|
1299
|
-
"description": "
|
1295
|
+
"description": "Whether to allow HTML rendering in message, Default: `false`"
|
1300
1296
|
},
|
1301
1297
|
"van-dialog/before-close": {
|
1302
1298
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1303
|
-
"description": "
|
1299
|
+
"description": "Callback function before close, Default: -"
|
1304
1300
|
},
|
1305
1301
|
"van-dialog/transition": {
|
1306
1302
|
"type": "string",
|
1307
|
-
"description": "
|
1303
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: -"
|
1308
1304
|
},
|
1309
1305
|
"van-dialog/teleport": {
|
1310
1306
|
"type": "string | Element",
|
1311
|
-
"description": "
|
1307
|
+
"description": "Specifies a target element where Dialog will be mounted, Default: -"
|
1312
1308
|
},
|
1313
1309
|
"van-divider/dashed": {
|
1314
1310
|
"type": "boolean",
|
1315
|
-
"description": "
|
1311
|
+
"description": "Whether to use dashed border, Default: `false`"
|
1316
1312
|
},
|
1317
1313
|
"van-divider/hairline": {
|
1318
1314
|
"type": "boolean",
|
1319
|
-
"description": "
|
1315
|
+
"description": "Whether to use hairline, Default: `true`"
|
1320
1316
|
},
|
1321
1317
|
"van-divider/content-position": {
|
1322
1318
|
"type": "string",
|
1323
|
-
"description": "
|
1319
|
+
"description": "Content position,can be set to `left` `right`, Default: `center`"
|
1324
1320
|
},
|
1325
1321
|
"van-dropdown-menu/active-color": {
|
1326
1322
|
"type": "string",
|
1327
|
-
"description": "
|
1323
|
+
"description": "Active color of title and option, Default: `#ee0a24`"
|
1328
1324
|
},
|
1329
1325
|
"van-dropdown-menu/direction": {
|
1330
1326
|
"type": "string",
|
1331
|
-
"description": "
|
1327
|
+
"description": "Expand direction, can be set to `up`, Default: `down`"
|
1332
1328
|
},
|
1333
1329
|
"van-dropdown-menu/z-index": {
|
1334
1330
|
"type": "number | string",
|
1335
|
-
"description": "
|
1331
|
+
"description": "z-index of menu item, Default: `10`"
|
1336
1332
|
},
|
1337
1333
|
"van-dropdown-menu/duration": {
|
1338
1334
|
"type": "number | string",
|
1339
|
-
"description": "
|
1335
|
+
"description": "Transition duration, unit second, Default: `0.2`"
|
1340
1336
|
},
|
1341
1337
|
"van-dropdown-menu/overlay": {
|
1342
1338
|
"type": "boolean",
|
1343
|
-
"description": "
|
1339
|
+
"description": "Whether to show overlay, Default: `true`"
|
1344
1340
|
},
|
1345
1341
|
"van-dropdown-menu/close-on-click-overlay": {
|
1346
1342
|
"type": "boolean",
|
1347
|
-
"description": "
|
1343
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
1348
1344
|
},
|
1349
1345
|
"van-dropdown-menu/close-on-click-outside": {
|
1350
1346
|
"type": "boolean",
|
1351
|
-
"description": "
|
1347
|
+
"description": "Whether to close when outside is clicked, Default: `true`"
|
1352
1348
|
},
|
1353
1349
|
"van-dropdown-item/v-model": {
|
1354
1350
|
"type": "number | string",
|
1355
|
-
"description": "
|
1351
|
+
"description": "Value of current option, Default: -"
|
1356
1352
|
},
|
1357
1353
|
"van-dropdown-item/title": {
|
1358
1354
|
"type": "string",
|
1359
|
-
"description": "
|
1355
|
+
"description": "Item title, Default: Text of selected option"
|
1360
1356
|
},
|
1361
1357
|
"van-dropdown-item/options": {
|
1362
1358
|
"type": "Option[]",
|
1363
|
-
"description": "
|
1359
|
+
"description": "Options, Default: `[]`"
|
1364
1360
|
},
|
1365
1361
|
"van-dropdown-item/disabled": {
|
1366
1362
|
"type": "boolean",
|
1367
|
-
"description": "
|
1363
|
+
"description": "Whether to disable dropdown item, Default: `false`"
|
1368
1364
|
},
|
1369
1365
|
"van-dropdown-item/lazy-render": {
|
1370
1366
|
"type": "boolean",
|
1371
|
-
"description": "
|
1367
|
+
"description": "Whether to lazy render util opened, Default: `true`"
|
1372
1368
|
},
|
1373
1369
|
"van-dropdown-item/title-class": {
|
1374
1370
|
"type": "string | Array \\",
|
1375
|
-
"description": "
|
1371
|
+
"description": "Title class, Default: object_",
|
1376
1372
|
"options": [
|
1377
1373
|
"-"
|
1378
1374
|
]
|
1379
1375
|
},
|
1380
1376
|
"van-dropdown-item/teleport": {
|
1381
1377
|
"type": "string | Element",
|
1382
|
-
"description": "
|
1378
|
+
"description": "Specifies a target element where DropdownItem will be mounted, Default: -"
|
1383
1379
|
},
|
1384
1380
|
"van-empty/image": {
|
1385
1381
|
"type": "string",
|
1386
|
-
"description": "
|
1382
|
+
"description": "Image type,can be set to `error` `network` `search` or image URL, Default: `default`"
|
1387
1383
|
},
|
1388
1384
|
"van-empty/image-size": {
|
1389
1385
|
"type": "number | string",
|
1390
|
-
"description": "
|
1386
|
+
"description": "Image size, Default: -"
|
1391
1387
|
},
|
1392
1388
|
"van-empty/description": {
|
1393
1389
|
"type": "string",
|
1394
|
-
"description": "
|
1390
|
+
"description": "Description, Default: -"
|
1395
1391
|
},
|
1396
1392
|
"van-field/v-model": {
|
1397
1393
|
"type": "number | string",
|
1398
|
-
"description": "
|
1394
|
+
"description": "Input value, Default: -"
|
1399
1395
|
},
|
1400
1396
|
"van-field/label": {
|
1401
1397
|
"type": "string",
|
1402
|
-
"description": "
|
1398
|
+
"description": "Left side label, Default: -"
|
1403
1399
|
},
|
1404
1400
|
"van-field/name": {
|
1405
1401
|
"type": "string",
|
1406
|
-
"description": "
|
1402
|
+
"description": "As the identifier when submitting the form, Default: -"
|
1407
1403
|
},
|
1408
1404
|
"van-field/id": {
|
1409
1405
|
"type": "string",
|
1410
|
-
"description": "
|
1406
|
+
"description": "Input id, the for attribute of the label also will be set, Default: `van-field-n-input`"
|
1411
1407
|
},
|
1412
1408
|
"van-field/type": {
|
1413
|
-
"type": "
|
1414
|
-
"description": "
|
1409
|
+
"type": "FieldType",
|
1410
|
+
"description": "Input type, support all [native types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types) and `digit` type, Default: `text`"
|
1415
1411
|
},
|
1416
1412
|
"van-field/size": {
|
1417
1413
|
"type": "string",
|
1418
|
-
"description": "
|
1414
|
+
"description": "Size,can be set to `large`, Default: -"
|
1419
1415
|
},
|
1420
1416
|
"van-field/maxlength": {
|
1421
1417
|
"type": "number | string",
|
1422
|
-
"description": "
|
1418
|
+
"description": "Max length of value, Default: -"
|
1423
1419
|
},
|
1424
1420
|
"van-field/placeholder": {
|
1425
1421
|
"type": "string",
|
1426
|
-
"description": "
|
1422
|
+
"description": "Input placeholder, Default: -"
|
1427
1423
|
},
|
1428
1424
|
"van-field/border": {
|
1429
1425
|
"type": "boolean",
|
1430
|
-
"description": "
|
1426
|
+
"description": "Whether to show inner border, Default: `true`"
|
1431
1427
|
},
|
1432
1428
|
"van-field/disabled": {
|
1433
1429
|
"type": "boolean",
|
1434
|
-
"description": "
|
1430
|
+
"description": "Whether to disable field, Default: `false`"
|
1435
1431
|
},
|
1436
1432
|
"van-field/readonly": {
|
1437
1433
|
"type": "boolean",
|
1438
|
-
"description": "
|
1434
|
+
"description": "Whether to be readonly, Default: `false`"
|
1439
1435
|
},
|
1440
1436
|
"van-field/colon": {
|
1441
1437
|
"type": "boolean",
|
1442
|
-
"description": "
|
1438
|
+
"description": "Whether to display colon after label, Default: `false`"
|
1443
1439
|
},
|
1444
1440
|
"van-field/required": {
|
1445
1441
|
"type": "boolean",
|
1446
|
-
"description": "
|
1442
|
+
"description": "Whether to show required mark, Default: `false`"
|
1447
1443
|
},
|
1448
1444
|
"van-field/center": {
|
1449
1445
|
"type": "boolean",
|
1450
|
-
"description": "
|
1446
|
+
"description": "Whether to center content vertically, Default: `true`"
|
1451
1447
|
},
|
1452
1448
|
"van-field/clearable": {
|
1453
1449
|
"type": "boolean",
|
1454
|
-
"description": "
|
1450
|
+
"description": "Whether to be clearable, Default: `false`"
|
1455
1451
|
},
|
1456
1452
|
"van-field/clear-icon": {
|
1457
1453
|
"type": "string",
|
1458
|
-
"description": "
|
1454
|
+
"description": "Clear icon name, Default: `clear`"
|
1459
1455
|
},
|
1460
1456
|
"van-field/clear-trigger": {
|
1461
|
-
"type": "
|
1462
|
-
"description": "
|
1457
|
+
"type": "FieldClearTrigger",
|
1458
|
+
"description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused, Default: `focus`"
|
1463
1459
|
},
|
1464
1460
|
"van-field/clickable": {
|
1465
1461
|
"type": "boolean",
|
1466
|
-
"description": "
|
1462
|
+
"description": "Whether to show click feedback when clicked, Default: `false`"
|
1467
1463
|
},
|
1468
1464
|
"van-field/is-link": {
|
1469
1465
|
"type": "boolean",
|
1470
|
-
"description": "
|
1466
|
+
"description": "Whether to show link icon, Default: `false`"
|
1471
1467
|
},
|
1472
1468
|
"van-field/autofocus": {
|
1473
1469
|
"type": "boolean",
|
1474
|
-
"description": "
|
1470
|
+
"description": "Whether to auto focus, unsupported in iOS, Default: `false`"
|
1475
1471
|
},
|
1476
1472
|
"van-field/show-word-limit": {
|
1477
1473
|
"type": "boolean",
|
1478
|
-
"description": "
|
1474
|
+
"description": "Whether to show word limit, need to set the `maxlength` prop, Default: `false`"
|
1479
1475
|
},
|
1480
1476
|
"van-field/error": {
|
1481
1477
|
"type": "boolean",
|
1482
|
-
"description": "
|
1478
|
+
"description": "Whether to mark the input content in red, Default: `false`"
|
1483
1479
|
},
|
1484
1480
|
"van-field/error-message": {
|
1485
1481
|
"type": "string",
|
1486
|
-
"description": "
|
1482
|
+
"description": "Error message, Default: -"
|
1487
1483
|
},
|
1488
1484
|
"van-field/error-message-align": {
|
1489
|
-
"type": "
|
1490
|
-
"description": "
|
1485
|
+
"type": "FieldTextAlign",
|
1486
|
+
"description": "Error message align, can be set to `center` `right`, Default: `left`"
|
1491
1487
|
},
|
1492
1488
|
"van-field/formatter": {
|
1493
1489
|
"type": "(val: string) => string",
|
1494
|
-
"description": "
|
1490
|
+
"description": "Input value formatter, Default: -"
|
1495
1491
|
},
|
1496
1492
|
"van-field/format-trigger": {
|
1497
|
-
"type": "
|
1498
|
-
"description": "
|
1493
|
+
"type": "FieldFormatTrigger",
|
1494
|
+
"description": "When to format value,can be set to `onBlur`, Default: `onChange`"
|
1499
1495
|
},
|
1500
1496
|
"van-field/arrow-direction": {
|
1501
1497
|
"type": "string",
|
1502
|
-
"description": "
|
1498
|
+
"description": "Can be set to `left` `up` `down`, Default: `right`"
|
1503
1499
|
},
|
1504
1500
|
"van-field/label-class": {
|
1505
1501
|
"type": "string | Array \\",
|
1506
|
-
"description": "
|
1502
|
+
"description": "Label className, Default: object_",
|
1507
1503
|
"options": [
|
1508
1504
|
"-"
|
1509
1505
|
]
|
1510
1506
|
},
|
1511
1507
|
"van-field/label-width": {
|
1512
1508
|
"type": "number | string",
|
1513
|
-
"description": "
|
1509
|
+
"description": "Label width, Default: `6.2em`"
|
1514
1510
|
},
|
1515
1511
|
"van-field/label-align": {
|
1516
|
-
"type": "
|
1517
|
-
"description": "
|
1512
|
+
"type": "FieldTextAlign",
|
1513
|
+
"description": "Label align, can be set to `center` `right`, Default: `left`"
|
1518
1514
|
},
|
1519
1515
|
"van-field/input-align": {
|
1520
|
-
"type": "
|
1521
|
-
"description": "
|
1516
|
+
"type": "FieldTextAlign",
|
1517
|
+
"description": "Input align, can be set to `center` `right`, Default: `left`"
|
1522
1518
|
},
|
1523
1519
|
"van-field/autosize": {
|
1524
|
-
"type": "boolean |
|
1525
|
-
"description": "
|
1520
|
+
"type": "boolean | FieldAutosizeConfig",
|
1521
|
+
"description": "Textarea auto resize,can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
|
1526
1522
|
},
|
1527
1523
|
"van-field/left-icon": {
|
1528
1524
|
"type": "string",
|
1529
|
-
"description": "
|
1525
|
+
"description": "Left side icon name, Default: -"
|
1530
1526
|
},
|
1531
1527
|
"van-field/right-icon": {
|
1532
1528
|
"type": "string",
|
1533
|
-
"description": "
|
1529
|
+
"description": "Right side icon name, Default: -"
|
1534
1530
|
},
|
1535
1531
|
"van-field/icon-prefix": {
|
1536
1532
|
"type": "string",
|
1537
|
-
"description": "
|
1533
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
1538
1534
|
},
|
1539
1535
|
"van-field/rules": {
|
1540
|
-
"type": "
|
1541
|
-
"description": "
|
1536
|
+
"type": "FieldRule[]",
|
1537
|
+
"description": "Form validation rules, Default: -"
|
1542
1538
|
},
|
1543
1539
|
"van-field/autocomplete": {
|
1544
1540
|
"type": "string",
|
1545
|
-
"description": "
|
1541
|
+
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
|
1546
1542
|
},
|
1547
1543
|
"van-form/label-width": {
|
1548
1544
|
"type": "number | string",
|
1549
|
-
"description": "
|
1545
|
+
"description": "Field label width, Default: `6.2em`"
|
1550
1546
|
},
|
1551
1547
|
"van-form/label-align": {
|
1552
1548
|
"type": "string",
|
1553
|
-
"description": "
|
1549
|
+
"description": "Field label align, can be set to `center` `right`, Default: `left`"
|
1554
1550
|
},
|
1555
1551
|
"van-form/input-align": {
|
1556
1552
|
"type": "string",
|
1557
|
-
"description": "
|
1553
|
+
"description": "Field input align, can be set to `center` `right`, Default: `left`"
|
1558
1554
|
},
|
1559
1555
|
"van-form/error-message-align": {
|
1560
1556
|
"type": "string",
|
1561
|
-
"description": "
|
1557
|
+
"description": "Error message align, can be set to `center` `right`, Default: `left`"
|
1562
1558
|
},
|
1563
1559
|
"van-form/validate-trigger": {
|
1564
1560
|
"type": "string",
|
1565
|
-
"description": "
|
1561
|
+
"description": "When to validate the form,can be set to `onChange`、`onSubmit`, Default: `onBlur`"
|
1566
1562
|
},
|
1567
1563
|
"van-form/colon": {
|
1568
1564
|
"type": "boolean",
|
1569
|
-
"description": "
|
1565
|
+
"description": "Whether to display colon after label, Default: `false`"
|
1570
1566
|
},
|
1571
1567
|
"van-form/disabled": {
|
1572
1568
|
"type": "boolean",
|
1573
|
-
"description": "
|
1569
|
+
"description": "Whether to disable form, Default: `false`"
|
1574
1570
|
},
|
1575
1571
|
"van-form/readonly": {
|
1576
1572
|
"type": "boolean",
|
1577
|
-
"description": "
|
1573
|
+
"description": "Whether to be readonly, Default: `false`"
|
1578
1574
|
},
|
1579
1575
|
"van-form/validate-first": {
|
1580
1576
|
"type": "boolean",
|
1581
|
-
"description": "
|
1577
|
+
"description": "Whether to stop the validation when a rule fails, Default: `false`"
|
1582
1578
|
},
|
1583
1579
|
"van-form/scroll-to-error": {
|
1584
1580
|
"type": "boolean",
|
1585
|
-
"description": "
|
1581
|
+
"description": "Whether to scroll to the error field when validation failed, Default: `false`"
|
1586
1582
|
},
|
1587
1583
|
"van-form/show-error": {
|
1588
1584
|
"type": "boolean",
|
1589
|
-
"description": "
|
1585
|
+
"description": "Whether to highlight input when validation failed, Default: `false`"
|
1590
1586
|
},
|
1591
1587
|
"van-form/show-error-message": {
|
1592
1588
|
"type": "boolean",
|
1593
|
-
"description": "
|
1589
|
+
"description": "Whether to show error message when validation failed, Default: `true`"
|
1594
1590
|
},
|
1595
1591
|
"van-form/submit-on-enter": {
|
1596
1592
|
"type": "boolean",
|
1597
|
-
"description": "
|
1593
|
+
"description": "Whether to submit form on enter, Default: `true`"
|
1598
1594
|
},
|
1599
1595
|
"van-grid/column-num": {
|
1600
1596
|
"type": "number | string",
|
1601
|
-
"description": "
|
1597
|
+
"description": "Column Num, Default: `4`"
|
1602
1598
|
},
|
1603
1599
|
"van-grid/icon-size": {
|
1604
1600
|
"type": "number | string",
|
1605
|
-
"description": "
|
1601
|
+
"description": "Icon size, Default: `28px`"
|
1606
1602
|
},
|
1607
1603
|
"van-grid/gutter": {
|
1608
1604
|
"type": "number | string",
|
1609
|
-
"description": "
|
1605
|
+
"description": "Gutter, Default: `0`"
|
1610
1606
|
},
|
1611
1607
|
"van-grid/border": {
|
1612
1608
|
"type": "boolean",
|
1613
|
-
"description": "
|
1609
|
+
"description": "Whether to show border, Default: `true`"
|
1614
1610
|
},
|
1615
1611
|
"van-grid/center": {
|
1616
1612
|
"type": "boolean",
|
1617
|
-
"description": "
|
1613
|
+
"description": "Whether to center content, Default: `true`"
|
1618
1614
|
},
|
1619
1615
|
"van-grid/square": {
|
1620
1616
|
"type": "boolean",
|
1621
|
-
"description": "
|
1617
|
+
"description": "Whether to be square shape, Default: `false`"
|
1622
1618
|
},
|
1623
1619
|
"van-grid/clickable": {
|
1624
1620
|
"type": "boolean",
|
1625
|
-
"description": "
|
1621
|
+
"description": "Whether to show click feedback when clicked, Default: `false`"
|
1626
1622
|
},
|
1627
1623
|
"van-grid/direction": {
|
1628
1624
|
"type": "string",
|
1629
|
-
"description": "
|
1625
|
+
"description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
|
1630
1626
|
},
|
1631
1627
|
"van-grid-item/text": {
|
1632
1628
|
"type": "string",
|
1633
|
-
"description": "
|
1629
|
+
"description": "Text, Default: -"
|
1634
1630
|
},
|
1635
1631
|
"van-grid-item/icon": {
|
1636
1632
|
"type": "string",
|
1637
|
-
"description": "
|
1633
|
+
"description": "Icon name or URL, Default: -"
|
1638
1634
|
},
|
1639
1635
|
"van-grid-item/icon-prefix": {
|
1640
1636
|
"type": "string",
|
1641
|
-
"description": "
|
1637
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
1642
1638
|
},
|
1643
1639
|
"van-grid-item/icon-color": {
|
1644
1640
|
"type": "string",
|
1645
|
-
"description": "
|
1641
|
+
"description": "Icon color, Default: -"
|
1646
1642
|
},
|
1647
1643
|
"van-grid-item/reverse": {
|
1648
1644
|
"type": "boolean",
|
1649
|
-
"description": "
|
1645
|
+
"description": "Whether to reverse the position of icon and text, Default: `false`"
|
1650
1646
|
},
|
1651
1647
|
"van-grid-item/dot": {
|
1652
1648
|
"type": "boolean",
|
1653
|
-
"description": "
|
1649
|
+
"description": "Whether to show red dot, Default: `false`"
|
1654
1650
|
},
|
1655
1651
|
"van-grid-item/badge": {
|
1656
1652
|
"type": "number | string",
|
1657
|
-
"description": "
|
1653
|
+
"description": "Content of the badge, Default: -"
|
1654
|
+
},
|
1655
|
+
"van-grid-item/badge-props": {
|
1656
|
+
"type": "BadgeProps",
|
1657
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
1658
1658
|
},
|
1659
1659
|
"van-grid-item/url": {
|
1660
1660
|
"type": "string",
|
1661
|
-
"description": "
|
1661
|
+
"description": "Link URL, Default: -"
|
1662
1662
|
},
|
1663
1663
|
"van-grid-item/to": {
|
1664
1664
|
"type": "string | object",
|
1665
|
-
"description": "
|
1665
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
1666
1666
|
},
|
1667
1667
|
"van-grid-item/replace": {
|
1668
1668
|
"type": "boolean",
|
1669
|
-
"description": "
|
1669
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
1670
1670
|
},
|
1671
1671
|
"van-icon/name": {
|
1672
1672
|
"type": "string",
|
1673
|
-
"description": "
|
1673
|
+
"description": "Icon name or URL, Default: `''`"
|
1674
1674
|
},
|
1675
1675
|
"van-icon/dot": {
|
1676
1676
|
"type": "boolean",
|
1677
|
-
"description": "
|
1677
|
+
"description": "Whether to show red dot, Default: `false`"
|
1678
1678
|
},
|
1679
1679
|
"van-icon/badge": {
|
1680
1680
|
"type": "number | string",
|
1681
|
-
"description": "
|
1681
|
+
"description": "Content of the badge, Default: `''`"
|
1682
|
+
},
|
1683
|
+
"van-icon/badge-props": {
|
1684
|
+
"type": "BadgeProps",
|
1685
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
1682
1686
|
},
|
1683
1687
|
"van-icon/color": {
|
1684
1688
|
"type": "string",
|
1685
|
-
"description": "
|
1689
|
+
"description": "Icon color, Default: `inherit`"
|
1686
1690
|
},
|
1687
1691
|
"van-icon/size": {
|
1688
1692
|
"type": "number | string",
|
1689
|
-
"description": "
|
1693
|
+
"description": "Icon size, Default: `inherit`"
|
1690
1694
|
},
|
1691
1695
|
"van-icon/class-prefix": {
|
1692
1696
|
"type": "string",
|
1693
|
-
"description": "
|
1697
|
+
"description": "ClassName prefix, Default: `van-icon`"
|
1694
1698
|
},
|
1695
1699
|
"van-icon/tag": {
|
1696
1700
|
"type": "string",
|
1697
|
-
"description": "
|
1701
|
+
"description": "HTML Tag of root element, Default: `i`"
|
1698
1702
|
},
|
1699
1703
|
"van-image/src": {
|
1700
1704
|
"type": "string",
|
1701
|
-
"description": "
|
1705
|
+
"description": "Src, Default: -"
|
1702
1706
|
},
|
1703
1707
|
"van-image/fit": {
|
1704
1708
|
"type": "string",
|
1705
|
-
"description": "
|
1709
|
+
"description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit), Default: `fill`"
|
1710
|
+
},
|
1711
|
+
"van-image/position": {
|
1712
|
+
"type": "string",
|
1713
|
+
"description": "Position, same as [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position), can be set to `top` `right` `bottom` `left` or `string`, Default: `center`"
|
1706
1714
|
},
|
1707
1715
|
"van-image/alt": {
|
1708
1716
|
"type": "string",
|
1709
|
-
"description": "
|
1717
|
+
"description": "Alt, Default: -"
|
1710
1718
|
},
|
1711
1719
|
"van-image/width": {
|
1712
1720
|
"type": "number | string",
|
1713
|
-
"description": "
|
1721
|
+
"description": "Width, Default: -"
|
1714
1722
|
},
|
1715
1723
|
"van-image/height": {
|
1716
1724
|
"type": "number | string",
|
1717
|
-
"description": "
|
1725
|
+
"description": "Height, Default: -"
|
1718
1726
|
},
|
1719
1727
|
"van-image/radius": {
|
1720
1728
|
"type": "number | string",
|
1721
|
-
"description": "
|
1729
|
+
"description": "Border Radius, Default: `0`"
|
1722
1730
|
},
|
1723
1731
|
"van-image/round": {
|
1724
1732
|
"type": "boolean",
|
1725
|
-
"description": "
|
1733
|
+
"description": "Whether to be round, Default: `false`"
|
1726
1734
|
},
|
1727
1735
|
"van-image/lazy-load": {
|
1728
1736
|
"type": "boolean",
|
1729
|
-
"description": "
|
1737
|
+
"description": "Whether to enable lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
1730
1738
|
},
|
1731
1739
|
"van-image/show-error": {
|
1732
1740
|
"type": "boolean",
|
1733
|
-
"description": "
|
1741
|
+
"description": "Whether to show error placeholder, Default: `true`"
|
1734
1742
|
},
|
1735
1743
|
"van-image/show-loading": {
|
1736
1744
|
"type": "boolean",
|
1737
|
-
"description": "
|
1745
|
+
"description": "Whether to show loading placeholder, Default: `true`"
|
1738
1746
|
},
|
1739
1747
|
"van-image/error-icon": {
|
1740
1748
|
"type": "string",
|
1741
|
-
"description": "
|
1749
|
+
"description": "Error icon, Default: `photo-fail`"
|
1742
1750
|
},
|
1743
1751
|
"van-image/loading-icon": {
|
1744
1752
|
"type": "string",
|
1745
|
-
"description": "
|
1753
|
+
"description": "Loading icon, Default: `photo`"
|
1746
1754
|
},
|
1747
1755
|
"van-image/icon-size": {
|
1748
1756
|
"type": "number | string",
|
1749
|
-
"description": "
|
1757
|
+
"description": "Icon size, Default: `32px`"
|
1750
1758
|
},
|
1751
1759
|
"van-image/icon-prefix": {
|
1752
1760
|
"type": "string",
|
1753
|
-
"description": "
|
1761
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
1754
1762
|
},
|
1755
1763
|
"van-image-preview/v-model:show": {
|
1756
1764
|
"type": "boolean",
|
1757
|
-
"description": "
|
1765
|
+
"description": "Whether to show ImagePreview, Default: `false`"
|
1758
1766
|
},
|
1759
1767
|
"van-image-preview/images": {
|
1760
1768
|
"type": "string[]",
|
1761
|
-
"description": "
|
1769
|
+
"description": "Images URL list, Default: `[]`"
|
1762
1770
|
},
|
1763
1771
|
"van-image-preview/start-position": {
|
1764
1772
|
"type": "number | string",
|
1765
|
-
"description": "
|
1773
|
+
"description": "Start position, Default: `0`"
|
1766
1774
|
},
|
1767
1775
|
"van-image-preview/swipe-duration": {
|
1768
1776
|
"type": "number | string",
|
1769
|
-
"description": "
|
1777
|
+
"description": "Animation duration (ms), Default: `300`"
|
1770
1778
|
},
|
1771
1779
|
"van-image-preview/show-index": {
|
1772
1780
|
"type": "boolean",
|
1773
|
-
"description": "
|
1781
|
+
"description": "Whether to show index, Default: `true`"
|
1774
1782
|
},
|
1775
1783
|
"van-image-preview/show-indicators": {
|
1776
1784
|
"type": "boolean",
|
1777
|
-
"description": "
|
1785
|
+
"description": "Whether to show indicators, Default: `false`"
|
1778
1786
|
},
|
1779
1787
|
"van-image-preview/loop": {
|
1780
1788
|
"type": "boolean",
|
1781
|
-
"description": "
|
1789
|
+
"description": "Whether to enable loop, Default: `true`"
|
1782
1790
|
},
|
1783
1791
|
"van-image-preview/before-close": {
|
1784
|
-
"type": "(
|
1785
|
-
"description": "
|
1792
|
+
"type": "(action: number) => boolean | Promise\\<boolean\\>",
|
1793
|
+
"description": "Callback function before close, Default: -"
|
1786
1794
|
},
|
1787
1795
|
"van-image-preview/close-on-popstate": {
|
1788
1796
|
"type": "boolean",
|
1789
|
-
"description": "
|
1797
|
+
"description": "Whether to close when popstate, Default: `true`"
|
1790
1798
|
},
|
1791
1799
|
"van-image-preview/class-name": {
|
1792
1800
|
"type": "string | Array \\",
|
1793
|
-
"description": "
|
1801
|
+
"description": "Custom className, Default: object_",
|
1794
1802
|
"options": [
|
1795
1803
|
"-"
|
1796
1804
|
]
|
1797
1805
|
},
|
1798
1806
|
"van-image-preview/max-zoom": {
|
1799
1807
|
"type": "number | string",
|
1800
|
-
"description": "
|
1808
|
+
"description": "Max zoom, Default: `3`"
|
1801
1809
|
},
|
1802
1810
|
"van-image-preview/min-zoom": {
|
1803
1811
|
"type": "number | string",
|
1804
|
-
"description": "
|
1812
|
+
"description": "Min zoom, Default: `1/3`"
|
1805
1813
|
},
|
1806
1814
|
"van-image-preview/closeable": {
|
1807
1815
|
"type": "boolean",
|
1808
|
-
"description": "
|
1816
|
+
"description": "Whether to show close icon, Default: `false`"
|
1809
1817
|
},
|
1810
1818
|
"van-image-preview/close-icon": {
|
1811
1819
|
"type": "string",
|
1812
|
-
"description": "
|
1820
|
+
"description": "Close icon name, Default: `clear`"
|
1813
1821
|
},
|
1814
1822
|
"van-image-preview/close-icon-position": {
|
1815
1823
|
"type": "string",
|
1816
|
-
"description": "
|
1824
|
+
"description": "Close icon position,can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
1817
1825
|
},
|
1818
1826
|
"van-image-preview/transition": {
|
1819
1827
|
"type": "string",
|
1820
|
-
"description": "
|
1828
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: `van-fade`"
|
1829
|
+
},
|
1830
|
+
"van-image-preview/overlay-class": {
|
1831
|
+
"type": "string | Array \\",
|
1832
|
+
"description": "Custom overlay class, Default: object_",
|
1833
|
+
"options": [
|
1834
|
+
"-"
|
1835
|
+
]
|
1821
1836
|
},
|
1822
1837
|
"van-image-preview/overlay-style": {
|
1823
1838
|
"type": "object",
|
1824
|
-
"description": "
|
1839
|
+
"description": "Custom overlay style, Default: -"
|
1825
1840
|
},
|
1826
1841
|
"van-image-preview/teleport": {
|
1827
1842
|
"type": "string | Element",
|
1828
|
-
"description": "
|
1843
|
+
"description": "Specifies a target element where ImagePreview will be mounted, Default: -"
|
1829
1844
|
},
|
1830
1845
|
"van-index-bar/index-list": {
|
1831
1846
|
"type": "string[] | number[]",
|
1832
|
-
"description": "
|
1847
|
+
"description": "Index List, Default: `A-Z`"
|
1833
1848
|
},
|
1834
1849
|
"van-index-bar/z-index": {
|
1835
1850
|
"type": "number | string",
|
1836
|
-
"description": "z-index
|
1851
|
+
"description": "z-index, Default: `1`"
|
1837
1852
|
},
|
1838
1853
|
"van-index-bar/sticky": {
|
1839
1854
|
"type": "boolean",
|
1840
|
-
"description": "
|
1855
|
+
"description": "Whether to enable anchor sticky top, Default: `true`"
|
1841
1856
|
},
|
1842
1857
|
"van-index-bar/sticky-offset-top": {
|
1843
1858
|
"type": "number",
|
1844
|
-
"description": "
|
1859
|
+
"description": "Anchor offset top when sticky, Default: `0`"
|
1845
1860
|
},
|
1846
1861
|
"van-index-bar/highlight-color": {
|
1847
1862
|
"type": "string",
|
1848
|
-
"description": "
|
1863
|
+
"description": "Index character highlight color, Default: `#ee0a24`"
|
1849
1864
|
},
|
1850
1865
|
"van-index-bar/teleport": {
|
1851
1866
|
"type": "string | Element",
|
1852
|
-
"description": "
|
1867
|
+
"description": "Specifies a target element where IndexBar will be mounted, Default: -"
|
1853
1868
|
},
|
1854
1869
|
"van-index-anchor/index": {
|
1855
1870
|
"type": "number | string",
|
1856
|
-
"description": "
|
1871
|
+
"description": "Index, Default: -"
|
1857
1872
|
},
|
1858
1873
|
"van-list/v-model:loading": {
|
1859
1874
|
"type": "boolean",
|
1860
|
-
"description": "
|
1875
|
+
"description": "Whether to show loading info,the `load` event will not be Emitted when loading, Default: `false`"
|
1861
1876
|
},
|
1862
1877
|
"van-list/v-model:error": {
|
1863
1878
|
"type": "boolean",
|
1864
|
-
"description": "
|
1879
|
+
"description": "Whether loading is error,the `load` event will be Emitted only when error text clicked, Default: `false`"
|
1865
1880
|
},
|
1866
1881
|
"van-list/finished": {
|
1867
1882
|
"type": "boolean",
|
1868
|
-
"description": "
|
1883
|
+
"description": "Whether loading is finished,the `load` event will not be Emitted when finished, Default: `false`"
|
1869
1884
|
},
|
1870
1885
|
"van-list/offset": {
|
1871
1886
|
"type": "number | string",
|
1872
|
-
"description": "
|
1887
|
+
"description": "The load event will be Emitted when the distance between the scrollbar and the bottom is less than offset, Default: `300`"
|
1873
1888
|
},
|
1874
1889
|
"van-list/loading-text": {
|
1875
1890
|
"type": "string",
|
1876
|
-
"description": "
|
1891
|
+
"description": "Loading text, Default: `Loading...`"
|
1877
1892
|
},
|
1878
1893
|
"van-list/finished-text": {
|
1879
1894
|
"type": "string",
|
1880
|
-
"description": "
|
1895
|
+
"description": "Finished text, Default: -"
|
1881
1896
|
},
|
1882
1897
|
"van-list/error-text": {
|
1883
1898
|
"type": "string",
|
1884
|
-
"description": "
|
1899
|
+
"description": "Error loaded text, Default: -"
|
1885
1900
|
},
|
1886
1901
|
"van-list/immediate-check": {
|
1887
1902
|
"type": "boolean",
|
1888
|
-
"description": "
|
1903
|
+
"description": "Whether to check loading position immediately after mounted, Default: `true`"
|
1889
1904
|
},
|
1890
1905
|
"van-list/direction": {
|
1891
1906
|
"type": "string",
|
1892
|
-
"description": "
|
1907
|
+
"description": "Scroll direction,can be set to `up`, Default: `down`"
|
1893
1908
|
},
|
1894
1909
|
"van-loading/color": {
|
1895
1910
|
"type": "string",
|
1896
|
-
"description": "
|
1911
|
+
"description": "Loading color, Default: `#c9c9c9`"
|
1897
1912
|
},
|
1898
1913
|
"van-loading/type": {
|
1899
1914
|
"type": "string",
|
1900
|
-
"description": "
|
1915
|
+
"description": "Can be set to `spinner`, Default: `circular`"
|
1901
1916
|
},
|
1902
1917
|
"van-loading/size": {
|
1903
1918
|
"type": "number | string",
|
1904
|
-
"description": "
|
1919
|
+
"description": "Icon size, Default: `30px`"
|
1905
1920
|
},
|
1906
1921
|
"van-loading/text-size": {
|
1907
1922
|
"type": "number | string",
|
1908
|
-
"description": "
|
1923
|
+
"description": "Text font size, Default: `14px`"
|
1909
1924
|
},
|
1910
1925
|
"van-loading/text-color": {
|
1911
1926
|
"type": "string",
|
1912
|
-
"description": "
|
1927
|
+
"description": "Text color, Default: `#c9c9c9`"
|
1913
1928
|
},
|
1914
1929
|
"van-loading/vertical": {
|
1915
1930
|
"type": "boolean",
|
1916
|
-
"description": "
|
1931
|
+
"description": "Whether to arrange icons and text content vertically, Default: `false`"
|
1917
1932
|
},
|
1918
1933
|
"van-nav-bar/title": {
|
1919
1934
|
"type": "string",
|
1920
|
-
"description": "
|
1935
|
+
"description": "Title, Default: `''`"
|
1921
1936
|
},
|
1922
1937
|
"van-nav-bar/left-text": {
|
1923
1938
|
"type": "string",
|
1924
|
-
"description": "
|
1939
|
+
"description": "Left Text, Default: `''`"
|
1925
1940
|
},
|
1926
1941
|
"van-nav-bar/right-text": {
|
1927
1942
|
"type": "string",
|
1928
|
-
"description": "
|
1943
|
+
"description": "Right Text, Default: `''`"
|
1929
1944
|
},
|
1930
1945
|
"van-nav-bar/left-arrow": {
|
1931
1946
|
"type": "boolean",
|
1932
|
-
"description": "
|
1947
|
+
"description": "Whether to show left arrow, Default: `false`"
|
1933
1948
|
},
|
1934
1949
|
"van-nav-bar/border": {
|
1935
1950
|
"type": "boolean",
|
1936
|
-
"description": "
|
1951
|
+
"description": "Whether to show bottom border, Default: `true`"
|
1937
1952
|
},
|
1938
1953
|
"van-nav-bar/fixed": {
|
1939
1954
|
"type": "boolean",
|
1940
|
-
"description": "
|
1955
|
+
"description": "Whether to fixed top, Default: `false`"
|
1941
1956
|
},
|
1942
1957
|
"van-nav-bar/placeholder": {
|
1943
1958
|
"type": "boolean",
|
1944
|
-
"description": "
|
1959
|
+
"description": "Whether to generate a placeholder element when fixed, Default: `false`"
|
1945
1960
|
},
|
1946
1961
|
"van-nav-bar/z-index": {
|
1947
1962
|
"type": "number | string",
|
1948
|
-
"description": "
|
1963
|
+
"description": "Z-index, Default: `1`"
|
1949
1964
|
},
|
1950
1965
|
"van-nav-bar/safe-area-inset-top": {
|
1951
1966
|
"type": "boolean",
|
1952
|
-
"description": "
|
1967
|
+
"description": "Whether to enable top safe area adaptation, Default: `false`"
|
1953
1968
|
},
|
1954
1969
|
"van-notice-bar/mode": {
|
1955
1970
|
"type": "string",
|
1956
|
-
"description": "
|
1971
|
+
"description": "Mode, can be set to `closeable` `link`, Default: `''`"
|
1957
1972
|
},
|
1958
1973
|
"van-notice-bar/text": {
|
1959
1974
|
"type": "string",
|
1960
|
-
"description": "
|
1975
|
+
"description": "Notice text content, Default: `''`"
|
1961
1976
|
},
|
1962
1977
|
"van-notice-bar/color": {
|
1963
1978
|
"type": "string",
|
1964
|
-
"description": "
|
1979
|
+
"description": "Text color, Default: `#ed6a0c`"
|
1965
1980
|
},
|
1966
1981
|
"van-notice-bar/background": {
|
1967
1982
|
"type": "string",
|
1968
|
-
"description": "
|
1983
|
+
"description": "Background color, Default: `#fffbe8`"
|
1969
1984
|
},
|
1970
1985
|
"van-notice-bar/left-icon": {
|
1971
1986
|
"type": "string",
|
1972
|
-
"description": "
|
1987
|
+
"description": "Left Icon, Default: -"
|
1973
1988
|
},
|
1974
1989
|
"van-notice-bar/delay": {
|
1975
1990
|
"type": "number | string",
|
1976
|
-
"description": "
|
1991
|
+
"description": "Animation delay (s), Default: `1`"
|
1977
1992
|
},
|
1978
1993
|
"van-notice-bar/speed": {
|
1979
1994
|
"type": "number | string",
|
1980
|
-
"description": "
|
1995
|
+
"description": "Scroll speed (px/s), Default: `60`"
|
1981
1996
|
},
|
1982
1997
|
"van-notice-bar/scrollable": {
|
1983
1998
|
"type": "boolean",
|
1984
|
-
"description": "
|
1999
|
+
"description": "Whether to scroll content, Default: -"
|
1985
2000
|
},
|
1986
2001
|
"van-notice-bar/wrapable": {
|
1987
2002
|
"type": "boolean",
|
1988
|
-
"description": "
|
2003
|
+
"description": "Whether to enable text wrap, Default: `false`"
|
1989
2004
|
},
|
1990
2005
|
"van-number-keyboard/v-model": {
|
1991
2006
|
"type": "string",
|
1992
|
-
"description": "
|
2007
|
+
"description": "Current value, Default: -"
|
1993
2008
|
},
|
1994
2009
|
"van-number-keyboard/show": {
|
1995
2010
|
"type": "boolean",
|
1996
|
-
"description": "
|
2011
|
+
"description": "Whether to show keyboard, Default: -"
|
1997
2012
|
},
|
1998
2013
|
"van-number-keyboard/title": {
|
1999
2014
|
"type": "string",
|
2000
|
-
"description": "
|
2015
|
+
"description": "Keyboard title, Default: -"
|
2001
2016
|
},
|
2002
2017
|
"van-number-keyboard/theme": {
|
2003
2018
|
"type": "string",
|
2004
|
-
"description": "
|
2019
|
+
"description": "Keyboard theme,can be set to `custom`, Default: `default`"
|
2005
2020
|
},
|
2006
2021
|
"van-number-keyboard/maxlength": {
|
2007
2022
|
"type": "number | string",
|
2008
|
-
"description": "
|
2023
|
+
"description": "Value maxlength, Default: `Infinity`"
|
2009
2024
|
},
|
2010
2025
|
"van-number-keyboard/transition": {
|
2011
2026
|
"type": "boolean",
|
2012
|
-
"description": "
|
2027
|
+
"description": "Whether to show transition animation, Default: `true`"
|
2013
2028
|
},
|
2014
2029
|
"van-number-keyboard/z-index": {
|
2015
2030
|
"type": "number | string",
|
2016
|
-
"description": "
|
2031
|
+
"description": "Keyboard z-index, Default: `100`"
|
2017
2032
|
},
|
2018
2033
|
"van-number-keyboard/extra-key": {
|
2019
2034
|
"type": "string | string[]",
|
2020
|
-
"description": "
|
2035
|
+
"description": "Content of bottom left key, Default: `''`"
|
2021
2036
|
},
|
2022
2037
|
"van-number-keyboard/close-button-text": {
|
2023
2038
|
"type": "string",
|
2024
|
-
"description": "
|
2039
|
+
"description": "Close button text, Default: -"
|
2025
2040
|
},
|
2026
2041
|
"van-number-keyboard/delete-button-text": {
|
2027
2042
|
"type": "string",
|
2028
|
-
"description": "
|
2043
|
+
"description": "Delete button text, Default: Delete Icon"
|
2029
2044
|
},
|
2030
2045
|
"van-number-keyboard/close-button-loading": {
|
2031
2046
|
"type": "boolean",
|
2032
|
-
"description": "
|
2047
|
+
"description": "Whether to show loading close button in custom theme, Default: `false`"
|
2033
2048
|
},
|
2034
2049
|
"van-number-keyboard/show-delete-key": {
|
2035
2050
|
"type": "boolean",
|
2036
|
-
"description": "
|
2051
|
+
"description": "Whether to show delete button, Default: `true`"
|
2037
2052
|
},
|
2038
2053
|
"van-number-keyboard/blur-on-close": {
|
2039
2054
|
"type": "boolean",
|
2040
|
-
"description": "
|
2055
|
+
"description": "Whether to emit blur event when clicking close button, Default: `true`"
|
2041
2056
|
},
|
2042
2057
|
"van-number-keyboard/hide-on-click-outside": {
|
2043
2058
|
"type": "boolean",
|
2044
|
-
"description": "
|
2059
|
+
"description": "Whether to hide keyboard when outside is clicked, Default: `true`"
|
2045
2060
|
},
|
2046
2061
|
"van-number-keyboard/teleport": {
|
2047
2062
|
"type": "string | Element",
|
2048
|
-
"description": "
|
2063
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted, Default: -"
|
2049
2064
|
},
|
2050
2065
|
"van-number-keyboard/safe-area-inset-bottom": {
|
2051
2066
|
"type": "boolean",
|
2052
|
-
"description": "
|
2067
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
2053
2068
|
},
|
2054
2069
|
"van-number-keyboard/random-key-order": {
|
2055
2070
|
"type": "boolean",
|
2056
|
-
"description": "
|
2071
|
+
"description": "Whether to shuffle the order of keys, Default: `false`"
|
2057
2072
|
},
|
2058
2073
|
"van-overlay/show": {
|
2059
2074
|
"type": "boolean",
|
2060
|
-
"description": "
|
2075
|
+
"description": "Whether to show overlay, Default: `false`"
|
2061
2076
|
},
|
2062
2077
|
"van-overlay/z-index": {
|
2063
2078
|
"type": "number | string",
|
2064
|
-
"description": "z-index
|
2079
|
+
"description": "z-index, Default: `1`"
|
2065
2080
|
},
|
2066
2081
|
"van-overlay/duration": {
|
2067
2082
|
"type": "number | string",
|
2068
|
-
"description": "
|
2083
|
+
"description": "Animation duration, Default: `0.3`"
|
2069
2084
|
},
|
2070
2085
|
"van-overlay/class-name": {
|
2071
2086
|
"type": "string",
|
2072
|
-
"description": "
|
2087
|
+
"description": "ClassName, Default: -"
|
2073
2088
|
},
|
2074
|
-
"van-overlay/custom-
|
2089
|
+
"van-overlay/custom-class": {
|
2075
2090
|
"type": "object",
|
2076
|
-
"description": "
|
2091
|
+
"description": "Custom style, Default: -"
|
2077
2092
|
},
|
2078
2093
|
"van-overlay/lock-scroll": {
|
2079
2094
|
"type": "boolean",
|
2080
|
-
"description": "
|
2095
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
2096
|
+
},
|
2097
|
+
"van-overlay/lazy-render": {
|
2098
|
+
"type": "boolean",
|
2099
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
2081
2100
|
},
|
2082
2101
|
"van-pagination/v-model": {
|
2083
2102
|
"type": "number",
|
2084
|
-
"description": "
|
2103
|
+
"description": "Current page number, Default: -"
|
2085
2104
|
},
|
2086
2105
|
"van-pagination/mode": {
|
2087
2106
|
"type": "string",
|
2088
|
-
"description": "
|
2107
|
+
"description": "Mode, can be set to `simple` `multi`, Default: `multi`"
|
2089
2108
|
},
|
2090
2109
|
"van-pagination/prev-text": {
|
2091
2110
|
"type": "string",
|
2092
|
-
"description": "
|
2111
|
+
"description": "Previous text, Default: `Previous`"
|
2093
2112
|
},
|
2094
2113
|
"van-pagination/next-text": {
|
2095
2114
|
"type": "string",
|
2096
|
-
"description": "
|
2097
|
-
},
|
2098
|
-
"van-pagination/page-count": {
|
2099
|
-
"type": "number | string",
|
2100
|
-
"description": "总页数, 默认值: 根据页数计算"
|
2115
|
+
"description": "Next text, Default: `Next`"
|
2101
2116
|
},
|
2102
2117
|
"van-pagination/total-items": {
|
2103
2118
|
"type": "number | string",
|
2104
|
-
"description": "
|
2119
|
+
"description": "Total items, Default: `0`"
|
2105
2120
|
},
|
2106
2121
|
"van-pagination/items-per-page": {
|
2107
2122
|
"type": "number | string",
|
2108
|
-
"description": "
|
2123
|
+
"description": "Item number per page, Default: `10`"
|
2124
|
+
},
|
2125
|
+
"van-pagination/page-count": {
|
2126
|
+
"type": "number | string",
|
2127
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
|
2109
2128
|
},
|
2110
2129
|
"van-pagination/show-page-size": {
|
2111
2130
|
"type": "number | string",
|
2112
|
-
"description": "
|
2131
|
+
"description": "Count of page size to show, Default: `5`"
|
2113
2132
|
},
|
2114
2133
|
"van-pagination/force-ellipses": {
|
2115
2134
|
"type": "boolean",
|
2116
|
-
"description": "
|
2135
|
+
"description": "Whether to show ellipses, Default: `false`"
|
2117
2136
|
},
|
2118
2137
|
"van-password-input/value": {
|
2119
2138
|
"type": "string",
|
2120
|
-
"description": "
|
2139
|
+
"description": "Password value, Default: `''`"
|
2121
2140
|
},
|
2122
2141
|
"van-password-input/info": {
|
2123
2142
|
"type": "string",
|
2124
|
-
"description": "
|
2143
|
+
"description": "Bottom info, Default: -"
|
2125
2144
|
},
|
2126
2145
|
"van-password-input/error-info": {
|
2127
2146
|
"type": "string",
|
2128
|
-
"description": "
|
2147
|
+
"description": "Bottom error info, Default: -"
|
2129
2148
|
},
|
2130
2149
|
"van-password-input/length": {
|
2131
2150
|
"type": "number | string",
|
2132
|
-
"description": "
|
2151
|
+
"description": "Maxlength of password, Default: `6`"
|
2133
2152
|
},
|
2134
2153
|
"van-password-input/gutter": {
|
2135
2154
|
"type": "number | string",
|
2136
|
-
"description": "
|
2155
|
+
"description": "Gutter of input, Default: `0`"
|
2137
2156
|
},
|
2138
2157
|
"van-password-input/mask": {
|
2139
2158
|
"type": "boolean",
|
2140
|
-
"description": "
|
2159
|
+
"description": "Whether to mask value, Default: `true`"
|
2141
2160
|
},
|
2142
2161
|
"van-password-input/focused": {
|
2143
2162
|
"type": "boolean",
|
2144
|
-
"description": "
|
2163
|
+
"description": "Whether to show focused cursor, Default: `false`"
|
2145
2164
|
},
|
2146
2165
|
"van-picker/columns": {
|
2147
2166
|
"type": "Column[]",
|
2148
|
-
"description": "
|
2167
|
+
"description": "Columns data, Default: `[]`"
|
2149
2168
|
},
|
2150
2169
|
"van-picker/columns-field-names": {
|
2151
2170
|
"type": "object",
|
2152
|
-
"description": "
|
2171
|
+
"description": "custom columns field, Default: `{ text: 'text', values: 'values', children: 'children' }`"
|
2153
2172
|
},
|
2154
2173
|
"van-picker/title": {
|
2155
2174
|
"type": "string",
|
2156
|
-
"description": "
|
2175
|
+
"description": "Toolbar title, Default: -"
|
2157
2176
|
},
|
2158
2177
|
"van-picker/confirm-button-text": {
|
2159
2178
|
"type": "string",
|
2160
|
-
"description": "
|
2179
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
2161
2180
|
},
|
2162
2181
|
"van-picker/cancel-button-text": {
|
2163
2182
|
"type": "string",
|
2164
|
-
"description": "
|
2183
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
2165
2184
|
},
|
2166
2185
|
"van-picker/toolbar-position": {
|
2167
2186
|
"type": "string",
|
2168
|
-
"description": "
|
2187
|
+
"description": "Toolbar position, cat be set to `bottom`, Default: `top`"
|
2169
2188
|
},
|
2170
2189
|
"van-picker/loading": {
|
2171
2190
|
"type": "boolean",
|
2172
|
-
"description": "
|
2191
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
2173
2192
|
},
|
2174
2193
|
"van-picker/show-toolbar": {
|
2175
2194
|
"type": "boolean",
|
2176
|
-
"description": "
|
2195
|
+
"description": "Whether to show toolbar, Default: `true`"
|
2177
2196
|
},
|
2178
2197
|
"van-picker/allow-html": {
|
2179
2198
|
"type": "boolean",
|
2180
|
-
"description": "
|
2199
|
+
"description": "Whether to allow HTML in option text, Default: `false`"
|
2181
2200
|
},
|
2182
2201
|
"van-picker/default-index": {
|
2183
2202
|
"type": "number | string",
|
2184
|
-
"description": "
|
2203
|
+
"description": "Default value index of single column picker, Default: `0`"
|
2185
2204
|
},
|
2186
2205
|
"van-picker/item-height": {
|
2187
2206
|
"type": "number | string",
|
2188
|
-
"description": "
|
2207
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
2189
2208
|
},
|
2190
2209
|
"van-picker/visible-item-count": {
|
2191
2210
|
"type": "number | string",
|
2192
|
-
"description": "
|
2211
|
+
"description": "Count of visible columns, Default: `6`"
|
2193
2212
|
},
|
2194
2213
|
"van-picker/swipe-duration": {
|
2195
2214
|
"type": "number | string",
|
2196
|
-
"description": "
|
2215
|
+
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
2197
2216
|
},
|
2198
2217
|
"van-popover/v-model:show": {
|
2199
2218
|
"type": "boolean",
|
2200
|
-
"description": "
|
2219
|
+
"description": "Whether to show Popover, Default: `false`"
|
2201
2220
|
},
|
2202
2221
|
"van-popover/actions": {
|
2203
2222
|
"type": "PopoverAction[]",
|
2204
|
-
"description": "
|
2223
|
+
"description": "Actions, Default: `[]`"
|
2205
2224
|
},
|
2206
2225
|
"van-popover/placement": {
|
2207
2226
|
"type": "PopoverPlacement",
|
2208
|
-
"description": "
|
2227
|
+
"description": "Placement, Default: `bottom`"
|
2209
2228
|
},
|
2210
2229
|
"van-popover/theme": {
|
2211
2230
|
"type": "PopoverTheme",
|
2212
|
-
"description": "
|
2231
|
+
"description": "Theme,can be set to `dark`, Default: `light`"
|
2213
2232
|
},
|
2214
2233
|
"van-popover/trigger": {
|
2215
2234
|
"type": "PopoverTrigger",
|
2216
|
-
"description": "
|
2235
|
+
"description": "Trigger mode,can be set to `manual`, Default: `click`"
|
2217
2236
|
},
|
2218
2237
|
"van-popover/duration": {
|
2219
2238
|
"type": "number | string",
|
2220
|
-
"description": "
|
2239
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
2221
2240
|
},
|
2222
2241
|
"van-popover/offset": {
|
2223
2242
|
"type": "[number, number]",
|
2224
|
-
"description": "
|
2243
|
+
"description": "Distance to reference, Default: `[0, 8]`"
|
2225
2244
|
},
|
2226
2245
|
"van-popover/overlay": {
|
2227
2246
|
"type": "boolean",
|
2228
|
-
"description": "
|
2247
|
+
"description": "Whether to show overlay, Default: `false`"
|
2229
2248
|
},
|
2230
2249
|
"van-popover/overlay-class": {
|
2231
2250
|
"type": "string | Array \\",
|
2232
|
-
"description": "
|
2251
|
+
"description": "Custom overlay class, Default: object_",
|
2233
2252
|
"options": [
|
2234
2253
|
"-"
|
2235
2254
|
]
|
2236
2255
|
},
|
2237
2256
|
"van-popover/overlay-style": {
|
2238
2257
|
"type": "object",
|
2239
|
-
"description": "
|
2258
|
+
"description": "Custom overlay style, Default: -"
|
2240
2259
|
},
|
2241
2260
|
"van-popover/show-arrow": {
|
2242
2261
|
"type": "boolean",
|
2243
|
-
"description": "
|
2262
|
+
"description": "Whether to show arrow, Default: `true`"
|
2244
2263
|
},
|
2245
2264
|
"van-popover/close-on-click-action": {
|
2246
2265
|
"type": "boolean",
|
2247
|
-
"description": "
|
2266
|
+
"description": "Whether to close when clicking action, Default: `true`"
|
2248
2267
|
},
|
2249
2268
|
"van-popover/close-on-click-outside": {
|
2250
2269
|
"type": "boolean",
|
2251
|
-
"description": "
|
2270
|
+
"description": "Whether to close when clicking outside, Default: `true`"
|
2252
2271
|
},
|
2253
2272
|
"van-popover/close-on-click-overlay": {
|
2254
2273
|
"type": "boolean",
|
2255
|
-
"description": "
|
2274
|
+
"description": "Whether to close when clicking overlay, Default: `true`"
|
2256
2275
|
},
|
2257
2276
|
"van-popover/teleport": {
|
2258
2277
|
"type": "string | Element",
|
2259
|
-
"description": "
|
2278
|
+
"description": "Specifies a target element where Popover will be mounted, Default: `body`"
|
2260
2279
|
},
|
2261
2280
|
"van-popover/icon-prefix": {
|
2262
2281
|
"type": "string",
|
2263
|
-
"description": "
|
2282
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
2264
2283
|
},
|
2265
2284
|
"van-popup/v-model:show": {
|
2266
2285
|
"type": "boolean",
|
2267
|
-
"description": "
|
2286
|
+
"description": "Whether to show popup, Default: `false`"
|
2268
2287
|
},
|
2269
2288
|
"van-popup/overlay": {
|
2270
2289
|
"type": "boolean",
|
2271
|
-
"description": "
|
2290
|
+
"description": "Whether to show overlay, Default: `true`"
|
2272
2291
|
},
|
2273
2292
|
"van-popup/position": {
|
2274
2293
|
"type": "string",
|
2275
|
-
"description": "
|
2294
|
+
"description": "Can be set to `top` `bottom` `right` `left`, Default: `center`"
|
2276
2295
|
},
|
2277
2296
|
"van-popup/overlay-class": {
|
2278
2297
|
"type": "string | Array \\",
|
2279
|
-
"description": "
|
2298
|
+
"description": "Custom overlay class, Default: object_",
|
2280
2299
|
"options": [
|
2281
2300
|
"-"
|
2282
2301
|
]
|
2283
2302
|
},
|
2284
2303
|
"van-popup/overlay-style": {
|
2285
2304
|
"type": "object",
|
2286
|
-
"description": "
|
2305
|
+
"description": "Custom overlay style, Default: -"
|
2287
2306
|
},
|
2288
2307
|
"van-popup/duration": {
|
2289
2308
|
"type": "number | string",
|
2290
|
-
"description": "
|
2309
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
2291
2310
|
},
|
2292
2311
|
"van-popup/round": {
|
2293
2312
|
"type": "boolean",
|
2294
|
-
"description": "
|
2313
|
+
"description": "Whether to show round corner, Default: `false`"
|
2295
2314
|
},
|
2296
2315
|
"van-popup/lock-scroll": {
|
2297
2316
|
"type": "boolean",
|
2298
|
-
"description": "
|
2317
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
2299
2318
|
},
|
2300
2319
|
"van-popup/lazy-render": {
|
2301
2320
|
"type": "boolean",
|
2302
|
-
"description": "
|
2321
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
2303
2322
|
},
|
2304
2323
|
"van-popup/close-on-popstate": {
|
2305
2324
|
"type": "boolean",
|
2306
|
-
"description": "
|
2325
|
+
"description": "Whether to close when popstate, Default: `false`"
|
2307
2326
|
},
|
2308
2327
|
"van-popup/close-on-click-overlay": {
|
2309
2328
|
"type": "boolean",
|
2310
|
-
"description": "
|
2329
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
2311
2330
|
},
|
2312
2331
|
"van-popup/closeable": {
|
2313
2332
|
"type": "boolean",
|
2314
|
-
"description": "
|
2333
|
+
"description": "Whether to show close icon, Default: `false`"
|
2315
2334
|
},
|
2316
2335
|
"van-popup/close-icon": {
|
2317
2336
|
"type": "string",
|
2318
|
-
"description": "
|
2337
|
+
"description": "Close icon name, Default: `cross`"
|
2319
2338
|
},
|
2320
2339
|
"van-popup/close-icon-position": {
|
2321
2340
|
"type": "string",
|
2322
|
-
"description": "
|
2341
|
+
"description": "Close Icon Position,can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
2323
2342
|
},
|
2324
2343
|
"van-popup/before-close": {
|
2325
2344
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
2326
|
-
"description": "
|
2345
|
+
"description": "Callback function before close, Default: -"
|
2327
2346
|
},
|
2328
2347
|
"van-popup/icon-prefix": {
|
2329
2348
|
"type": "string",
|
2330
|
-
"description": "
|
2349
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
2331
2350
|
},
|
2332
2351
|
"van-popup/transition": {
|
2333
2352
|
"type": "string",
|
2334
|
-
"description": "
|
2353
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: -"
|
2335
2354
|
},
|
2336
2355
|
"van-popup/transition-appear": {
|
2337
2356
|
"type": "boolean",
|
2338
|
-
"description": "
|
2357
|
+
"description": "Whether to apply transition on initial render, Default: `false`"
|
2339
2358
|
},
|
2340
2359
|
"van-popup/teleport": {
|
2341
2360
|
"type": "string | Element",
|
2342
|
-
"description": "
|
2361
|
+
"description": "Specifies a target element where Popup will be mounted, Default: -"
|
2343
2362
|
},
|
2344
2363
|
"van-popup/safe-area-inset-bottom": {
|
2345
2364
|
"type": "boolean",
|
2346
|
-
"description": "
|
2365
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
2347
2366
|
},
|
2348
2367
|
"van-progress/percentage": {
|
2349
2368
|
"type": "number | string",
|
2350
|
-
"description": "
|
2369
|
+
"description": "Percentage, Default: `0`"
|
2351
2370
|
},
|
2352
2371
|
"van-progress/stroke-width": {
|
2353
2372
|
"type": "number | string",
|
2354
|
-
"description": "
|
2373
|
+
"description": "Stroke width, Default: `4px`"
|
2355
2374
|
},
|
2356
2375
|
"van-progress/color": {
|
2357
2376
|
"type": "string",
|
2358
|
-
"description": "
|
2377
|
+
"description": "Color, Default: `#1989fa`"
|
2359
2378
|
},
|
2360
2379
|
"van-progress/track-color": {
|
2361
2380
|
"type": "string",
|
2362
|
-
"description": "
|
2381
|
+
"description": "Track color, Default: `#e5e5e5`"
|
2363
2382
|
},
|
2364
2383
|
"van-progress/pivot-text": {
|
2365
2384
|
"type": "string",
|
2366
|
-
"description": "
|
2385
|
+
"description": "Pivot text, Default: percentage"
|
2367
2386
|
},
|
2368
2387
|
"van-progress/pivot-color": {
|
2369
2388
|
"type": "string",
|
2370
|
-
"description": "
|
2389
|
+
"description": "Pivot text background color, Default: inherit progress color"
|
2371
2390
|
},
|
2372
2391
|
"van-progress/text-color": {
|
2373
2392
|
"type": "string",
|
2374
|
-
"description": "
|
2393
|
+
"description": "Pivot text color, Default: `white`"
|
2375
2394
|
},
|
2376
2395
|
"van-progress/inactive": {
|
2377
2396
|
"type": "boolean",
|
2378
|
-
"description": "
|
2397
|
+
"description": "Whether to be gray, Default: `false`"
|
2379
2398
|
},
|
2380
2399
|
"van-progress/show-pivot": {
|
2381
2400
|
"type": "boolean",
|
2382
|
-
"description": "
|
2401
|
+
"description": "Whether to show text, Default: `true`"
|
2383
2402
|
},
|
2384
2403
|
"van-pull-refresh/v-model": {
|
2385
2404
|
"type": "boolean",
|
2386
|
-
"description": "
|
2405
|
+
"description": "Loading status, Default: -"
|
2387
2406
|
},
|
2388
2407
|
"van-pull-refresh/pulling-text": {
|
2389
2408
|
"type": "string",
|
2390
|
-
"description": "
|
2409
|
+
"description": "Text to show when pulling, Default: `Pull to refresh...`"
|
2391
2410
|
},
|
2392
2411
|
"van-pull-refresh/loosing-text": {
|
2393
2412
|
"type": "string",
|
2394
|
-
"description": "
|
2413
|
+
"description": "Text to show when loosing, Default: `Loose to refresh...`"
|
2395
2414
|
},
|
2396
2415
|
"van-pull-refresh/loading-text": {
|
2397
2416
|
"type": "string",
|
2398
|
-
"description": "
|
2417
|
+
"description": "Text to show when loading, Default: `Loading...`"
|
2399
2418
|
},
|
2400
2419
|
"van-pull-refresh/success-text": {
|
2401
2420
|
"type": "string",
|
2402
|
-
"description": "
|
2421
|
+
"description": "Text to show when loading success, Default: -"
|
2403
2422
|
},
|
2404
2423
|
"van-pull-refresh/success-duration": {
|
2405
2424
|
"type": "number | string",
|
2406
|
-
"description": "
|
2425
|
+
"description": "Success text display duration(ms), Default: `500`"
|
2407
2426
|
},
|
2408
2427
|
"van-pull-refresh/animation-duration": {
|
2409
2428
|
"type": "number | string",
|
2410
|
-
"description": "
|
2429
|
+
"description": "Animation duration, Default: `300`"
|
2411
2430
|
},
|
2412
2431
|
"van-pull-refresh/head-height": {
|
2413
2432
|
"type": "number | string",
|
2414
|
-
"description": "
|
2433
|
+
"description": "Height of head, Default: `50`"
|
2415
2434
|
},
|
2416
2435
|
"van-pull-refresh/pull-distance": {
|
2417
2436
|
"type": "number | string",
|
2418
|
-
"description": "
|
2437
|
+
"description": "The distance to trigger the pull refresh, Default: same as `head-height`"
|
2419
2438
|
},
|
2420
2439
|
"van-pull-refresh/disabled": {
|
2421
2440
|
"type": "boolean",
|
2422
|
-
"description": "
|
2441
|
+
"description": "Whether to disable pull refresh, Default: `false`"
|
2423
2442
|
},
|
2424
2443
|
"van-radio/name": {
|
2425
2444
|
"type": "any",
|
2426
|
-
"description": "
|
2445
|
+
"description": "Radio name, Default: -"
|
2427
2446
|
},
|
2428
2447
|
"van-radio/shape": {
|
2429
2448
|
"type": "string",
|
2430
|
-
"description": "
|
2449
|
+
"description": "Can be set to `square`, Default: `round`"
|
2431
2450
|
},
|
2432
2451
|
"van-radio/disabled": {
|
2433
2452
|
"type": "boolean",
|
2434
|
-
"description": "
|
2453
|
+
"description": "Whether to disable radio, Default: `false`"
|
2435
2454
|
},
|
2436
2455
|
"van-radio/label-disabled": {
|
2437
2456
|
"type": "boolean",
|
2438
|
-
"description": "
|
2457
|
+
"description": "Whether to disable label click, Default: `false`"
|
2439
2458
|
},
|
2440
2459
|
"van-radio/label-position": {
|
2441
2460
|
"type": "string",
|
2442
|
-
"description": "
|
2461
|
+
"description": "Can be set to `left`, Default: `right`"
|
2443
2462
|
},
|
2444
2463
|
"van-radio/icon-size": {
|
2445
2464
|
"type": "number | string",
|
2446
|
-
"description": "
|
2465
|
+
"description": "Icon size, Default: `20px`"
|
2447
2466
|
},
|
2448
2467
|
"van-radio/checked-color": {
|
2449
2468
|
"type": "string",
|
2450
|
-
"description": "
|
2469
|
+
"description": "Checked color, Default: `#1989fa`"
|
2451
2470
|
},
|
2452
2471
|
"van-radio-group/v-model": {
|
2453
2472
|
"type": "any",
|
2454
|
-
"description": "
|
2473
|
+
"description": "Name of checked radio, Default: -"
|
2455
2474
|
},
|
2456
2475
|
"van-radio-group/disabled": {
|
2457
2476
|
"type": "boolean",
|
2458
|
-
"description": "
|
2477
|
+
"description": "Disable all radios, Default: `false`"
|
2459
2478
|
},
|
2460
2479
|
"van-radio-group/direction": {
|
2461
2480
|
"type": "string",
|
2462
|
-
"description": "
|
2481
|
+
"description": "Direction, can be set to `horizontal`, Default: `vertical`"
|
2463
2482
|
},
|
2464
2483
|
"van-radio-group/icon-size": {
|
2465
2484
|
"type": "number | string",
|
2466
|
-
"description": "
|
2485
|
+
"description": "Icon size of all radios, Default: `20px`"
|
2467
2486
|
},
|
2468
2487
|
"van-radio-group/checked-color": {
|
2469
2488
|
"type": "string",
|
2470
|
-
"description": "
|
2489
|
+
"description": "Checked color of all radios, Default: `#1989fa`"
|
2471
2490
|
},
|
2472
2491
|
"van-rate/v-model": {
|
2473
2492
|
"type": "number",
|
2474
|
-
"description": "
|
2493
|
+
"description": "Current rate, Default: -"
|
2475
2494
|
},
|
2476
2495
|
"van-rate/count": {
|
2477
2496
|
"type": "number | string",
|
2478
|
-
"description": "
|
2497
|
+
"description": "Count, Default: `5`"
|
2479
2498
|
},
|
2480
2499
|
"van-rate/size": {
|
2481
2500
|
"type": "number | string",
|
2482
|
-
"description": "
|
2501
|
+
"description": "Icon size, Default: `20px`"
|
2483
2502
|
},
|
2484
2503
|
"van-rate/gutter": {
|
2485
2504
|
"type": "number | string",
|
2486
|
-
"description": "
|
2505
|
+
"description": "Icon gutter, Default: `4px`"
|
2487
2506
|
},
|
2488
2507
|
"van-rate/color": {
|
2489
2508
|
"type": "string",
|
2490
|
-
"description": "
|
2509
|
+
"description": "Selected color, Default: `#ee0a24`"
|
2491
2510
|
},
|
2492
2511
|
"van-rate/void-color": {
|
2493
2512
|
"type": "string",
|
2494
|
-
"description": "
|
2513
|
+
"description": "Void color, Default: `#c8c9cc`"
|
2495
2514
|
},
|
2496
2515
|
"van-rate/disabled-color": {
|
2497
2516
|
"type": "string",
|
2498
|
-
"description": "
|
2517
|
+
"description": "Disabled color, Default: `#c8c9cc`"
|
2499
2518
|
},
|
2500
2519
|
"van-rate/icon": {
|
2501
2520
|
"type": "string",
|
2502
|
-
"description": "
|
2521
|
+
"description": "Selected icon, Default: `star`"
|
2503
2522
|
},
|
2504
2523
|
"van-rate/void-icon": {
|
2505
2524
|
"type": "string",
|
2506
|
-
"description": "
|
2525
|
+
"description": "Void icon, Default: `star-o`"
|
2507
2526
|
},
|
2508
2527
|
"van-rate/icon-prefix": {
|
2509
2528
|
"type": "string",
|
2510
|
-
"description": "
|
2529
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
2511
2530
|
},
|
2512
2531
|
"van-rate/allow-half": {
|
2513
2532
|
"type": "boolean",
|
2514
|
-
"description": "
|
2533
|
+
"description": "Whether to allow half star, Default: `false`"
|
2515
2534
|
},
|
2516
2535
|
"van-rate/readonly": {
|
2517
2536
|
"type": "boolean",
|
2518
|
-
"description": "
|
2537
|
+
"description": "Whether to be readonly, Default: `false`"
|
2519
2538
|
},
|
2520
2539
|
"van-rate/disabled": {
|
2521
2540
|
"type": "boolean",
|
2522
|
-
"description": "
|
2541
|
+
"description": "Whether to disable rate, Default: `false`"
|
2523
2542
|
},
|
2524
2543
|
"van-rate/touchable": {
|
2525
2544
|
"type": "boolean",
|
2526
|
-
"description": "
|
2545
|
+
"description": "Whether to allow select rate by touch gesture, Default: `true`"
|
2527
2546
|
},
|
2528
2547
|
"van-search/v-model": {
|
2529
2548
|
"type": "number | string",
|
2530
|
-
"description": "
|
2549
|
+
"description": "Input value, Default: -"
|
2531
2550
|
},
|
2532
2551
|
"van-search/label": {
|
2533
2552
|
"type": "string",
|
2534
|
-
"description": "
|
2553
|
+
"description": "Left side label, Default: -"
|
2535
2554
|
},
|
2536
2555
|
"van-search/name": {
|
2537
2556
|
"type": "string",
|
2538
|
-
"description": "
|
2557
|
+
"description": "As the identifier when submitting the form, Default: -"
|
2539
2558
|
},
|
2540
2559
|
"van-search/shape": {
|
2541
2560
|
"type": "string",
|
2542
|
-
"description": "
|
2561
|
+
"description": "Shape of field, can be set to `round`, Default: `square`"
|
2543
2562
|
},
|
2544
2563
|
"van-search/id": {
|
2545
2564
|
"type": "string",
|
2546
|
-
"description": "
|
2565
|
+
"description": "Input id, the for attribute of the label also will be set, Default: `van-search-n-input`"
|
2547
2566
|
},
|
2548
2567
|
"van-search/background": {
|
2549
2568
|
"type": "string",
|
2550
|
-
"description": "
|
2569
|
+
"description": "Background color of field, Default: `#f2f2f2`"
|
2551
2570
|
},
|
2552
2571
|
"van-search/maxlength": {
|
2553
2572
|
"type": "number | string",
|
2554
|
-
"description": "
|
2573
|
+
"description": "Max length of value, Default: -"
|
2555
2574
|
},
|
2556
2575
|
"van-search/placeholder": {
|
2557
2576
|
"type": "string",
|
2558
|
-
"description": "
|
2577
|
+
"description": "Placeholder, Default: -"
|
2559
2578
|
},
|
2560
2579
|
"van-search/clearable": {
|
2561
2580
|
"type": "boolean",
|
2562
|
-
"description": "
|
2581
|
+
"description": "Whether to be clearable, Default: `true`"
|
2563
2582
|
},
|
2564
2583
|
"van-search/clear-icon": {
|
2565
2584
|
"type": "string",
|
2566
|
-
"description": "
|
2585
|
+
"description": "Clear icon name, Default: `clear`"
|
2567
2586
|
},
|
2568
2587
|
"van-search/clear-trigger": {
|
2569
2588
|
"type": "string",
|
2570
|
-
"description": "
|
2589
|
+
"description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused, Default: `focus`"
|
2571
2590
|
},
|
2572
2591
|
"van-search/autofocus": {
|
2573
2592
|
"type": "boolean",
|
2574
|
-
"description": "
|
2593
|
+
"description": "Whether to auto focus, unsupported in iOS, Default: `false`"
|
2575
2594
|
},
|
2576
2595
|
"van-search/show-action": {
|
2577
2596
|
"type": "boolean",
|
2578
|
-
"description": "
|
2597
|
+
"description": "Whether to show right action button, Default: `false`"
|
2579
2598
|
},
|
2580
2599
|
"van-search/action-text": {
|
2581
2600
|
"type": "boolean",
|
2582
|
-
"description": "
|
2601
|
+
"description": "Text of action button, Default: `Cancel`"
|
2583
2602
|
},
|
2584
2603
|
"van-search/disabled": {
|
2585
2604
|
"type": "boolean",
|
2586
|
-
"description": "
|
2605
|
+
"description": "Whether to disable field, Default: `false`"
|
2587
2606
|
},
|
2588
2607
|
"van-search/readonly": {
|
2589
2608
|
"type": "boolean",
|
2590
|
-
"description": "
|
2609
|
+
"description": "Whether to be readonly, Default: `false`"
|
2591
2610
|
},
|
2592
2611
|
"van-search/error": {
|
2593
2612
|
"type": "boolean",
|
2594
|
-
"description": "
|
2613
|
+
"description": "Whether to mark the input content in red, Default: `false`"
|
2595
2614
|
},
|
2596
2615
|
"van-search/error-message": {
|
2597
2616
|
"type": "string",
|
2598
|
-
"description": "
|
2617
|
+
"description": "Error message, Default: -"
|
2599
2618
|
},
|
2600
2619
|
"van-search/formatter": {
|
2601
2620
|
"type": "(val: string) => string",
|
2602
|
-
"description": "
|
2621
|
+
"description": "Input value formatter, Default: -"
|
2603
2622
|
},
|
2604
2623
|
"van-search/format-trigger": {
|
2605
2624
|
"type": "string",
|
2606
|
-
"description": "
|
2625
|
+
"description": "When to format value,can be set to `onBlur`, Default: `onChange`"
|
2607
2626
|
},
|
2608
2627
|
"van-search/input-align": {
|
2609
2628
|
"type": "string",
|
2610
|
-
"description": "
|
2629
|
+
"description": "Text align of field, can be set to `center` `right`, Default: `left`"
|
2611
2630
|
},
|
2612
2631
|
"van-search/left-icon": {
|
2613
2632
|
"type": "string",
|
2614
|
-
"description": "
|
2633
|
+
"description": "Left icon name, Default: `search`"
|
2615
2634
|
},
|
2616
2635
|
"van-search/right-icon": {
|
2617
2636
|
"type": "string",
|
2618
|
-
"description": "
|
2637
|
+
"description": "Right icon name, Default: -"
|
2619
2638
|
},
|
2620
2639
|
"van-search/autocomplete": {
|
2621
2640
|
"type": "string",
|
2622
|
-
"description": "
|
2641
|
+
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
|
2623
2642
|
},
|
2624
2643
|
"van-share-sheet/v-model:show": {
|
2625
2644
|
"type": "boolean",
|
2626
|
-
"description": "
|
2645
|
+
"description": "Whether to show ShareSheet, Default: `false`"
|
2627
2646
|
},
|
2628
2647
|
"van-share-sheet/options": {
|
2629
2648
|
"type": "Option[]",
|
2630
|
-
"description": "
|
2649
|
+
"description": "Share options, Default: `[]`"
|
2631
2650
|
},
|
2632
2651
|
"van-share-sheet/title": {
|
2633
2652
|
"type": "string",
|
2634
|
-
"description": "
|
2653
|
+
"description": "Title, Default: -"
|
2635
2654
|
},
|
2636
2655
|
"van-share-sheet/cancel-text": {
|
2637
2656
|
"type": "string",
|
2638
|
-
"description": "
|
2657
|
+
"description": "Cancel button text, Default: `'Cancel'`"
|
2639
2658
|
},
|
2640
2659
|
"van-share-sheet/description": {
|
2641
2660
|
"type": "string",
|
2642
|
-
"description": "
|
2661
|
+
"description": "Description, Default: -"
|
2643
2662
|
},
|
2644
2663
|
"van-share-sheet/duration": {
|
2645
2664
|
"type": "number | string",
|
2646
|
-
"description": "
|
2665
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
2647
2666
|
},
|
2648
2667
|
"van-share-sheet/round": {
|
2649
2668
|
"type": "boolean",
|
2650
|
-
"description": "
|
2669
|
+
"description": "Whether to show round corner, Default: `true`"
|
2651
2670
|
},
|
2652
2671
|
"van-share-sheet/overlay": {
|
2653
2672
|
"type": "boolean",
|
2654
|
-
"description": "
|
2673
|
+
"description": "Whether to show overlay, Default: `true`"
|
2655
2674
|
},
|
2656
2675
|
"van-share-sheet/overlay-class": {
|
2657
2676
|
"type": "string | Array \\",
|
2658
|
-
"description": "
|
2677
|
+
"description": "Custom overlay class, Default: object_",
|
2659
2678
|
"options": [
|
2660
2679
|
"-"
|
2661
2680
|
]
|
2662
2681
|
},
|
2663
2682
|
"van-share-sheet/overlay-style": {
|
2664
2683
|
"type": "object",
|
2665
|
-
"description": "
|
2684
|
+
"description": "Custom overlay style, Default: -"
|
2666
2685
|
},
|
2667
2686
|
"van-share-sheet/lock-scroll": {
|
2668
2687
|
"type": "boolean",
|
2669
|
-
"description": "
|
2688
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
2670
2689
|
},
|
2671
2690
|
"van-share-sheet/lazy-render": {
|
2672
2691
|
"type": "boolean",
|
2673
|
-
"description": "
|
2692
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
2674
2693
|
},
|
2675
2694
|
"van-share-sheet/close-on-popstate": {
|
2676
2695
|
"type": "boolean",
|
2677
|
-
"description": "
|
2696
|
+
"description": "Whether to close when popstate, Default: `true`"
|
2678
2697
|
},
|
2679
2698
|
"van-share-sheet/close-on-click-overlay": {
|
2680
2699
|
"type": "boolean",
|
2681
|
-
"description": "
|
2700
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
2682
2701
|
},
|
2683
2702
|
"van-share-sheet/safe-area-inset-bottom": {
|
2684
2703
|
"type": "boolean",
|
2685
|
-
"description": "
|
2704
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
2686
2705
|
},
|
2687
2706
|
"van-share-sheet/teleport": {
|
2688
2707
|
"type": "string | Element",
|
2689
|
-
"description": "
|
2708
|
+
"description": "Specifies a target element where ShareSheet will be mounted, Default: -"
|
2690
2709
|
},
|
2691
2710
|
"van-share-sheet/before-close": {
|
2692
2711
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
2693
|
-
"description": "
|
2712
|
+
"description": "Callback function before close, Default: -"
|
2694
2713
|
},
|
2695
2714
|
"van-sidebar/v-model": {
|
2696
2715
|
"type": "number | string",
|
2697
|
-
"description": "
|
2716
|
+
"description": "Index of chosen item, Default: `0`"
|
2698
2717
|
},
|
2699
2718
|
"van-sidebar-item/title": {
|
2700
2719
|
"type": "string",
|
2701
|
-
"description": "
|
2720
|
+
"description": "Content, Default: `''`"
|
2702
2721
|
},
|
2703
2722
|
"van-sidebar-item/dot": {
|
2704
2723
|
"type": "boolean",
|
2705
|
-
"description": "
|
2724
|
+
"description": "Whether to show red dot, Default: `false`"
|
2706
2725
|
},
|
2707
2726
|
"van-sidebar-item/badge": {
|
2708
2727
|
"type": "number | string",
|
2709
|
-
"description": "
|
2728
|
+
"description": "Content of the badge, Default: `''`"
|
2729
|
+
},
|
2730
|
+
"van-sidebar-item/badge-props": {
|
2731
|
+
"type": "BadgeProps",
|
2732
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
2710
2733
|
},
|
2711
2734
|
"van-sidebar-item/disabled": {
|
2712
2735
|
"type": "boolean",
|
2713
|
-
"description": "
|
2736
|
+
"description": "Whether to be disabled, Default: `false`"
|
2714
2737
|
},
|
2715
2738
|
"van-sidebar-item/url": {
|
2716
2739
|
"type": "string",
|
2717
|
-
"description": "
|
2740
|
+
"description": "Link, Default: -"
|
2718
2741
|
},
|
2719
2742
|
"van-sidebar-item/to": {
|
2720
2743
|
"type": "string | object",
|
2721
|
-
"description": "
|
2744
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
2722
2745
|
},
|
2723
2746
|
"van-sidebar-item/replace": {
|
2724
2747
|
"type": "boolean",
|
2725
|
-
"description": "
|
2748
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
2726
2749
|
},
|
2727
2750
|
"van-skeleton/row": {
|
2728
2751
|
"type": "number | string",
|
2729
|
-
"description": "
|
2752
|
+
"description": "Row count, Default: `0`"
|
2730
2753
|
},
|
2731
2754
|
"van-skeleton/row-width": {
|
2732
2755
|
"type": "number | string \\",
|
2733
|
-
"description": "
|
2756
|
+
"description": "Row width, can be array, Default: <br>(number \\",
|
2734
2757
|
"options": [
|
2735
2758
|
"string)[]_"
|
2736
2759
|
]
|
2737
2760
|
},
|
2738
2761
|
"van-skeleton/title": {
|
2739
2762
|
"type": "boolean",
|
2740
|
-
"description": "
|
2763
|
+
"description": "Whether to show title placeholder, Default: `false`"
|
2741
2764
|
},
|
2742
2765
|
"van-skeleton/avatar": {
|
2743
2766
|
"type": "boolean",
|
2744
|
-
"description": "
|
2767
|
+
"description": "Whether to show avatar placeholder, Default: `false`"
|
2745
2768
|
},
|
2746
2769
|
"van-skeleton/loading": {
|
2747
2770
|
"type": "boolean",
|
2748
|
-
"description": "
|
2771
|
+
"description": "Whether to show skeleton,pass `false` to show child component, Default: `true`"
|
2749
2772
|
},
|
2750
2773
|
"van-skeleton/animate": {
|
2751
2774
|
"type": "boolean",
|
2752
|
-
"description": "
|
2775
|
+
"description": "Whether to enable animation, Default: `true`"
|
2753
2776
|
},
|
2754
2777
|
"van-skeleton/round": {
|
2755
2778
|
"type": "boolean",
|
2756
|
-
"description": "
|
2779
|
+
"description": "Whether to show round title and row, Default: `false`"
|
2757
2780
|
},
|
2758
2781
|
"van-skeleton/title-width": {
|
2759
2782
|
"type": "number | string",
|
2760
|
-
"description": "
|
2783
|
+
"description": "Title width, Default: `40%`"
|
2761
2784
|
},
|
2762
2785
|
"van-skeleton/avatar-size": {
|
2763
2786
|
"type": "number | string",
|
2764
|
-
"description": "
|
2787
|
+
"description": "Size of avatar placeholder, Default: `32px`"
|
2765
2788
|
},
|
2766
2789
|
"van-skeleton/avatar-shape": {
|
2767
2790
|
"type": "string",
|
2768
|
-
"description": "
|
2791
|
+
"description": "Shape of avatar placeholder,can be set to `square`, Default: `round`"
|
2769
2792
|
},
|
2770
2793
|
"van-slider/v-model": {
|
2771
2794
|
"type": "number | [number, number]",
|
2772
|
-
"description": "
|
2795
|
+
"description": "Current value, Default: `0`"
|
2773
2796
|
},
|
2774
2797
|
"van-slider/max": {
|
2775
2798
|
"type": "number | string",
|
2776
|
-
"description": "
|
2799
|
+
"description": "Max value, Default: `100`"
|
2777
2800
|
},
|
2778
2801
|
"van-slider/min": {
|
2779
2802
|
"type": "number | string",
|
2780
|
-
"description": "
|
2803
|
+
"description": "Min value, Default: `0`"
|
2781
2804
|
},
|
2782
2805
|
"van-slider/step": {
|
2783
2806
|
"type": "number | string",
|
2784
|
-
"description": "
|
2807
|
+
"description": "Step size, Default: `1`"
|
2785
2808
|
},
|
2786
2809
|
"van-slider/bar-height": {
|
2787
2810
|
"type": "number | string",
|
2788
|
-
"description": "
|
2811
|
+
"description": "Height of bar, Default: `2px`"
|
2789
2812
|
},
|
2790
2813
|
"van-slider/button-size": {
|
2791
2814
|
"type": "number | string",
|
2792
|
-
"description": "
|
2815
|
+
"description": "Button size, Default: `24px`"
|
2793
2816
|
},
|
2794
2817
|
"van-slider/active-color": {
|
2795
2818
|
"type": "string",
|
2796
|
-
"description": "
|
2819
|
+
"description": "Active color of bar, Default: `#1989fa`"
|
2797
2820
|
},
|
2798
2821
|
"van-slider/inactive-color": {
|
2799
2822
|
"type": "string",
|
2800
|
-
"description": "
|
2823
|
+
"description": "Inactive color of bar, Default: `#e5e5e5`"
|
2801
2824
|
},
|
2802
2825
|
"van-slider/range": {
|
2803
2826
|
"type": "boolean",
|
2804
|
-
"description": "
|
2827
|
+
"description": "Whether to enable dual thumb mode, Default: `false`"
|
2805
2828
|
},
|
2806
2829
|
"van-slider/reverse": {
|
2807
2830
|
"type": "`false`",
|
2808
|
-
"description": "
|
2831
|
+
"description": "Whether to reverse slider, Default: undefined"
|
2809
2832
|
},
|
2810
2833
|
"van-slider/disabled": {
|
2811
2834
|
"type": "boolean",
|
2812
|
-
"description": "
|
2835
|
+
"description": "Whether to disable slider, Default: `false`"
|
2813
2836
|
},
|
2814
2837
|
"van-slider/readonly": {
|
2815
2838
|
"type": "boolean",
|
2816
|
-
"description": "
|
2839
|
+
"description": "Whether to be readonly, Default: `false`"
|
2817
2840
|
},
|
2818
2841
|
"van-slider/vertical": {
|
2819
2842
|
"type": "boolean",
|
2820
|
-
"description": "
|
2843
|
+
"description": "Whether to display slider vertically, Default: `false`"
|
2821
2844
|
},
|
2822
2845
|
"van-stepper/v-model": {
|
2823
2846
|
"type": "number | string",
|
2824
|
-
"description": "
|
2847
|
+
"description": "Current value, Default: -"
|
2825
2848
|
},
|
2826
2849
|
"van-stepper/min": {
|
2827
2850
|
"type": "number | string",
|
2828
|
-
"description": "
|
2851
|
+
"description": "Min value, Default: `1`"
|
2829
2852
|
},
|
2830
2853
|
"van-stepper/max": {
|
2831
2854
|
"type": "number | string",
|
2832
|
-
"description": "
|
2855
|
+
"description": "Max value, Default: -"
|
2833
2856
|
},
|
2834
2857
|
"van-stepper/default-value": {
|
2835
2858
|
"type": "number | string",
|
2836
|
-
"description": "
|
2859
|
+
"description": "Default value, valid when v-model is empty, Default: `1`"
|
2837
2860
|
},
|
2838
2861
|
"van-stepper/step": {
|
2839
2862
|
"type": "number | string",
|
2840
|
-
"description": "
|
2863
|
+
"description": "Value change step, Default: `1`"
|
2841
2864
|
},
|
2842
2865
|
"van-stepper/name": {
|
2843
2866
|
"type": "number | string",
|
2844
|
-
"description": "
|
2867
|
+
"description": "Stepper name, Default: -"
|
2845
2868
|
},
|
2846
2869
|
"van-stepper/input-width": {
|
2847
2870
|
"type": "number | string",
|
2848
|
-
"description": "
|
2871
|
+
"description": "Input width, Default: `32px`"
|
2849
2872
|
},
|
2850
2873
|
"van-stepper/button-size": {
|
2851
2874
|
"type": "number | string",
|
2852
|
-
"description": "
|
2875
|
+
"description": "Button size, Default: `28px`"
|
2853
2876
|
},
|
2854
2877
|
"van-stepper/decimal-length": {
|
2855
2878
|
"type": "number | string",
|
2856
|
-
"description": "
|
2879
|
+
"description": "Decimal length, Default: -"
|
2857
2880
|
},
|
2858
2881
|
"van-stepper/theme": {
|
2859
2882
|
"type": "string",
|
2860
|
-
"description": "
|
2883
|
+
"description": "Theme, can be set to `round`, Default: -"
|
2861
2884
|
},
|
2862
2885
|
"van-stepper/placeholder": {
|
2863
2886
|
"type": "string",
|
2864
|
-
"description": "
|
2887
|
+
"description": "Input placeholder, Default: -"
|
2865
2888
|
},
|
2866
2889
|
"van-stepper/integer": {
|
2867
2890
|
"type": "boolean",
|
2868
|
-
"description": "
|
2891
|
+
"description": "Whether to allow only integers, Default: `false`"
|
2869
2892
|
},
|
2870
2893
|
"van-stepper/disabled": {
|
2871
2894
|
"type": "boolean",
|
2872
|
-
"description": "
|
2895
|
+
"description": "Whether to disable value change, Default: `false`"
|
2873
2896
|
},
|
2874
2897
|
"van-stepper/disable-plus": {
|
2875
2898
|
"type": "boolean",
|
2876
|
-
"description": "
|
2899
|
+
"description": "Whether to disable plus button, Default: `false`"
|
2877
2900
|
},
|
2878
2901
|
"van-stepper/disable-minus": {
|
2879
2902
|
"type": "boolean",
|
2880
|
-
"description": "
|
2903
|
+
"description": "Whether to disable minus button, Default: `false`"
|
2881
2904
|
},
|
2882
2905
|
"van-stepper/disable-input": {
|
2883
2906
|
"type": "boolean",
|
2884
|
-
"description": "
|
2907
|
+
"description": "Whether to disable input, Default: `false`"
|
2885
2908
|
},
|
2886
2909
|
"van-stepper/before-change": {
|
2887
2910
|
"type": "(value: number | string) => boolean \\",
|
2888
|
-
"description": "
|
2911
|
+
"description": "Callback function before changing,return `false` to prevent change,support return Promise, Default: Promise\\<boolean\\>_",
|
2889
2912
|
"options": [
|
2890
2913
|
"false"
|
2891
2914
|
]
|
2892
2915
|
},
|
2893
2916
|
"van-stepper/show-plus": {
|
2894
2917
|
"type": "boolean",
|
2895
|
-
"description": "
|
2918
|
+
"description": "Whether to show plus button, Default: `true`"
|
2896
2919
|
},
|
2897
2920
|
"van-stepper/show-minus": {
|
2898
2921
|
"type": "boolean",
|
2899
|
-
"description": "
|
2922
|
+
"description": "Whether to show minus button, Default: `true`"
|
2900
2923
|
},
|
2901
2924
|
"van-stepper/show-input": {
|
2902
2925
|
"type": "boolean",
|
2903
|
-
"description": "
|
2926
|
+
"description": "Whether to show input, Default: `true`"
|
2904
2927
|
},
|
2905
2928
|
"van-stepper/long-press": {
|
2906
2929
|
"type": "boolean",
|
2907
|
-
"description": "
|
2930
|
+
"description": "Whether to allow long press, Default: `true`"
|
2908
2931
|
},
|
2909
2932
|
"van-stepper/allow-empty": {
|
2910
2933
|
"type": "boolean",
|
2911
|
-
"description": "
|
2934
|
+
"description": "Whether to allow the input to be empty, Default: `false`"
|
2912
2935
|
},
|
2913
2936
|
"van-steps/active": {
|
2914
2937
|
"type": "number | string",
|
2915
|
-
"description": "
|
2938
|
+
"description": "Active step, Default: `0`"
|
2916
2939
|
},
|
2917
2940
|
"van-steps/direction": {
|
2918
2941
|
"type": "string",
|
2919
|
-
"description": "
|
2942
|
+
"description": "Can be set to `vertical`, Default: `horizontal`"
|
2920
2943
|
},
|
2921
|
-
"van-steps/active-
|
2944
|
+
"van-steps/active-color": {
|
2922
2945
|
"type": "string",
|
2923
|
-
"description": "
|
2946
|
+
"description": "Active step color, Default: `#07c160`"
|
2924
2947
|
},
|
2925
|
-
"van-steps/inactive-
|
2948
|
+
"van-steps/inactive-color": {
|
2926
2949
|
"type": "string",
|
2927
|
-
"description": "
|
2950
|
+
"description": "Inactive step color, Default: `#969799`"
|
2928
2951
|
},
|
2929
|
-
"van-steps/
|
2952
|
+
"van-steps/active-icon": {
|
2930
2953
|
"type": "string",
|
2931
|
-
"description": "
|
2954
|
+
"description": "Active icon name, Default: `checked`"
|
2932
2955
|
},
|
2933
|
-
"van-steps/
|
2956
|
+
"van-steps/inactive-icon": {
|
2934
2957
|
"type": "string",
|
2935
|
-
"description": "
|
2958
|
+
"description": "Inactive icon name, Default: -"
|
2936
2959
|
},
|
2937
|
-
"van-steps/
|
2960
|
+
"van-steps/finish-icon": {
|
2938
2961
|
"type": "string",
|
2939
|
-
"description": "
|
2962
|
+
"description": "Finish icon name, Default: -"
|
2940
2963
|
},
|
2941
2964
|
"van-steps/icon-prefix": {
|
2942
2965
|
"type": "string",
|
2943
|
-
"description": "
|
2966
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
2944
2967
|
},
|
2945
2968
|
"van-sticky/position": {
|
2946
2969
|
"type": "string",
|
2947
|
-
"description": "
|
2970
|
+
"description": "Offset position, can be set to `bottom`, Default: `top`"
|
2948
2971
|
},
|
2949
2972
|
"van-sticky/offset-top": {
|
2950
2973
|
"type": "number | string",
|
2951
|
-
"description": "
|
2974
|
+
"description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
|
2952
2975
|
},
|
2953
2976
|
"van-sticky/offset-bottom": {
|
2954
2977
|
"type": "number | string",
|
2955
|
-
"description": "
|
2978
|
+
"description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
|
2956
2979
|
},
|
2957
2980
|
"van-sticky/z-index": {
|
2958
2981
|
"type": "number | string",
|
2959
|
-
"description": "
|
2982
|
+
"description": "z-index when sticky, Default: `99`"
|
2960
2983
|
},
|
2961
2984
|
"van-sticky/container": {
|
2962
2985
|
"type": "Element",
|
2963
|
-
"description": "
|
2986
|
+
"description": "Container DOM, Default: -"
|
2964
2987
|
},
|
2965
2988
|
"van-submit-bar/price": {
|
2966
2989
|
"type": "number",
|
2967
|
-
"description": "
|
2990
|
+
"description": "Price, Default: -"
|
2968
2991
|
},
|
2969
2992
|
"van-submit-bar/decimal-length": {
|
2970
2993
|
"type": "number | string",
|
2971
|
-
"description": "
|
2994
|
+
"description": "Price decimal length, Default: `2`"
|
2972
2995
|
},
|
2973
2996
|
"van-submit-bar/label": {
|
2974
2997
|
"type": "string",
|
2975
|
-
"description": "
|
2998
|
+
"description": "Price left label, Default: `Total:`"
|
2976
2999
|
},
|
2977
3000
|
"van-submit-bar/suffix-label": {
|
2978
3001
|
"type": "string",
|
2979
|
-
"description": "
|
3002
|
+
"description": "Price right label, Default: -"
|
2980
3003
|
},
|
2981
3004
|
"van-submit-bar/text-align": {
|
2982
3005
|
"type": "string",
|
2983
|
-
"description": "
|
3006
|
+
"description": "Price label text align can be set to `left`, Default: `right`"
|
2984
3007
|
},
|
2985
3008
|
"van-submit-bar/button-text": {
|
2986
3009
|
"type": "string",
|
2987
|
-
"description": "
|
3010
|
+
"description": "Button text, Default: -"
|
2988
3011
|
},
|
2989
3012
|
"van-submit-bar/button-type": {
|
2990
3013
|
"type": "string",
|
2991
|
-
"description": "
|
3014
|
+
"description": "Button type, Default: `danger`"
|
2992
3015
|
},
|
2993
3016
|
"van-submit-bar/button-color": {
|
2994
3017
|
"type": "string",
|
2995
|
-
"description": "
|
3018
|
+
"description": "Button color, Default: -"
|
2996
3019
|
},
|
2997
3020
|
"van-submit-bar/tip": {
|
2998
3021
|
"type": "string",
|
2999
|
-
"description": "
|
3022
|
+
"description": "Tip, Default: -"
|
3000
3023
|
},
|
3001
3024
|
"van-submit-bar/tip-icon": {
|
3002
3025
|
"type": "string",
|
3003
|
-
"description": "
|
3026
|
+
"description": "Tip left icon, Default: -"
|
3004
3027
|
},
|
3005
3028
|
"van-submit-bar/currency": {
|
3006
3029
|
"type": "string",
|
3007
|
-
"description": "
|
3030
|
+
"description": "Currency symbol, Default: `¥`"
|
3008
3031
|
},
|
3009
3032
|
"van-submit-bar/disabled": {
|
3010
3033
|
"type": "boolean",
|
3011
|
-
"description": "
|
3034
|
+
"description": "Whether to disable button, Default: `false`"
|
3012
3035
|
},
|
3013
3036
|
"van-submit-bar/loading": {
|
3014
3037
|
"type": "boolean",
|
3015
|
-
"description": "
|
3038
|
+
"description": "Whether to show loading icon, Default: `false`"
|
3016
3039
|
},
|
3017
3040
|
"van-submit-bar/safe-area-inset-bottom": {
|
3018
3041
|
"type": "boolean",
|
3019
|
-
"description": "
|
3042
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
3020
3043
|
},
|
3021
3044
|
"van-swipe/autoplay": {
|
3022
3045
|
"type": "number | string",
|
3023
|
-
"description": "
|
3046
|
+
"description": "Autoplay interval (ms), Default: -"
|
3024
3047
|
},
|
3025
3048
|
"van-swipe/duration": {
|
3026
3049
|
"type": "number | string",
|
3027
|
-
"description": "
|
3050
|
+
"description": "Animation duration (ms), Default: `500`"
|
3028
3051
|
},
|
3029
3052
|
"van-swipe/initial-swipe": {
|
3030
3053
|
"type": "number | string",
|
3031
|
-
"description": "
|
3054
|
+
"description": "Index of initial swipe, start from 0, Default: `0`"
|
3032
3055
|
},
|
3033
3056
|
"van-swipe/width": {
|
3034
3057
|
"type": "number | string",
|
3035
|
-
"description": "
|
3058
|
+
"description": "Width of swipe item, Default: `0`"
|
3036
3059
|
},
|
3037
3060
|
"van-swipe/height": {
|
3038
3061
|
"type": "number | string",
|
3039
|
-
"description": "
|
3062
|
+
"description": "Height of swipe item, Default: `0`"
|
3040
3063
|
},
|
3041
3064
|
"van-swipe/loop": {
|
3042
3065
|
"type": "boolean",
|
3043
|
-
"description": "
|
3066
|
+
"description": "Whether to enable loop, Default: `true`"
|
3044
3067
|
},
|
3045
3068
|
"van-swipe/show-indicators": {
|
3046
3069
|
"type": "boolean",
|
3047
|
-
"description": "
|
3070
|
+
"description": "Whether to show indicators, Default: `true`"
|
3048
3071
|
},
|
3049
3072
|
"van-swipe/vertical": {
|
3050
3073
|
"type": "boolean",
|
3051
|
-
"description": "
|
3074
|
+
"description": "Whether to be vertical Scrolling, Default: `false`"
|
3052
3075
|
},
|
3053
3076
|
"van-swipe/touchable": {
|
3054
3077
|
"type": "boolean",
|
3055
|
-
"description": "
|
3078
|
+
"description": "Whether to allow swipe by touch gesture, Default: `true`"
|
3056
3079
|
},
|
3057
3080
|
"van-swipe/stop-propagation": {
|
3058
3081
|
"type": "boolean",
|
3059
|
-
"description": "
|
3082
|
+
"description": "Whether to stop touchmove event propagation, Default: `false`"
|
3060
3083
|
},
|
3061
3084
|
"van-swipe/lazy-render": {
|
3062
3085
|
"type": "boolean",
|
3063
|
-
"description": "
|
3086
|
+
"description": "Whether to enable lazy render, Default: `false`"
|
3064
3087
|
},
|
3065
3088
|
"van-swipe/indicator-color": {
|
3066
3089
|
"type": "string",
|
3067
|
-
"description": "
|
3090
|
+
"description": "Indicator color, Default: `#1989fa`"
|
3068
3091
|
},
|
3069
3092
|
"van-swipe-cell/name": {
|
3070
3093
|
"type": "number | string",
|
3071
|
-
"description": "
|
3094
|
+
"description": "Identifier of SwipeCell, Default: -"
|
3072
3095
|
},
|
3073
3096
|
"van-swipe-cell/left-width": {
|
3074
3097
|
"type": "number | string",
|
3075
|
-
"description": "
|
3098
|
+
"description": "Width of the left swipe area, Default: `auto`"
|
3076
3099
|
},
|
3077
3100
|
"van-swipe-cell/right-width": {
|
3078
3101
|
"type": "number | string",
|
3079
|
-
"description": "
|
3102
|
+
"description": "Width of the right swipe area, Default: `auto`"
|
3080
3103
|
},
|
3081
3104
|
"van-swipe-cell/before-close": {
|
3082
3105
|
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3083
|
-
"description": "
|
3106
|
+
"description": "Callback function before close, Default: -"
|
3084
3107
|
},
|
3085
3108
|
"van-swipe-cell/disabled": {
|
3086
3109
|
"type": "boolean",
|
3087
|
-
"description": "
|
3110
|
+
"description": "Whether to disabled swipe, Default: `false`"
|
3088
3111
|
},
|
3089
3112
|
"van-swipe-cell/stop-propagation": {
|
3090
3113
|
"type": "boolean",
|
3091
|
-
"description": "
|
3114
|
+
"description": "Whether to stop touchmove event propagation, Default: `false`"
|
3092
3115
|
},
|
3093
3116
|
"van-switch/v-model": {
|
3094
|
-
"type": "
|
3095
|
-
"description": "
|
3117
|
+
"type": "ActiveValue | InactiveValue",
|
3118
|
+
"description": "Check status of Switch, Default: `false`"
|
3096
3119
|
},
|
3097
3120
|
"van-switch/loading": {
|
3098
3121
|
"type": "boolean",
|
3099
|
-
"description": "
|
3122
|
+
"description": "Whether to show loading icon, Default: `false`"
|
3100
3123
|
},
|
3101
3124
|
"van-switch/disabled": {
|
3102
3125
|
"type": "boolean",
|
3103
|
-
"description": "
|
3126
|
+
"description": "Whether to disable switch, Default: `false`"
|
3104
3127
|
},
|
3105
3128
|
"van-switch/size": {
|
3106
3129
|
"type": "number | string",
|
3107
|
-
"description": "
|
3130
|
+
"description": "Size of switch, Default: `30px`"
|
3108
3131
|
},
|
3109
3132
|
"van-switch/active-color": {
|
3110
3133
|
"type": "string",
|
3111
|
-
"description": "
|
3134
|
+
"description": "Background color when active, Default: `#1989fa`"
|
3112
3135
|
},
|
3113
3136
|
"van-switch/inactive-color": {
|
3114
3137
|
"type": "string",
|
3115
|
-
"description": "
|
3138
|
+
"description": "Background color when inactive, Default: `white`"
|
3116
3139
|
},
|
3117
3140
|
"van-switch/active-value": {
|
3118
3141
|
"type": "any",
|
3119
|
-
"description": "
|
3142
|
+
"description": "Value when active, Default: `true`"
|
3120
3143
|
},
|
3121
3144
|
"van-switch/inactive-value": {
|
3122
3145
|
"type": "any",
|
3123
|
-
"description": "
|
3146
|
+
"description": "Value when inactive, Default: `false`"
|
3124
3147
|
},
|
3125
3148
|
"van-tabs/v-model:active": {
|
3126
3149
|
"type": "number | string",
|
3127
|
-
"description": "
|
3150
|
+
"description": "Index of active tab, Default: `0`"
|
3128
3151
|
},
|
3129
3152
|
"van-tabs/type": {
|
3130
3153
|
"type": "string",
|
3131
|
-
"description": "
|
3154
|
+
"description": "Can be set to `line` `card`, Default: `line`"
|
3132
3155
|
},
|
3133
3156
|
"van-tabs/color": {
|
3134
3157
|
"type": "string",
|
3135
|
-
"description": "
|
3158
|
+
"description": "Tab color, Default: `#ee0a24`"
|
3136
3159
|
},
|
3137
3160
|
"van-tabs/background": {
|
3138
3161
|
"type": "string",
|
3139
|
-
"description": "
|
3162
|
+
"description": "Background color, Default: `white`"
|
3140
3163
|
},
|
3141
3164
|
"van-tabs/duration": {
|
3142
3165
|
"type": "number | string",
|
3143
|
-
"description": "
|
3166
|
+
"description": "Toggle tab's animation time, Default: `0.3`"
|
3144
3167
|
},
|
3145
3168
|
"van-tabs/line-width": {
|
3146
3169
|
"type": "number | string",
|
3147
|
-
"description": "
|
3170
|
+
"description": "Width of tab line, Default: `40px`"
|
3148
3171
|
},
|
3149
3172
|
"van-tabs/line-height": {
|
3150
3173
|
"type": "number | string",
|
3151
|
-
"description": "
|
3174
|
+
"description": "Height of tab line, Default: `3px`"
|
3152
3175
|
},
|
3153
3176
|
"van-tabs/animated": {
|
3154
3177
|
"type": "boolean",
|
3155
|
-
"description": "
|
3178
|
+
"description": "Whether to change tabs with animation, Default: `false`"
|
3156
3179
|
},
|
3157
3180
|
"van-tabs/border": {
|
3158
3181
|
"type": "boolean",
|
3159
|
-
"description": "
|
3182
|
+
"description": "Whether to show border when `type=\"line\"`, Default: `false`"
|
3160
3183
|
},
|
3161
3184
|
"van-tabs/ellipsis": {
|
3162
3185
|
"type": "boolean",
|
3163
|
-
"description": "
|
3186
|
+
"description": "Whether to ellipsis too long title, Default: `true`"
|
3164
3187
|
},
|
3165
3188
|
"van-tabs/sticky": {
|
3166
3189
|
"type": "boolean",
|
3167
|
-
"description": "
|
3190
|
+
"description": "Whether to use sticky mode, Default: `false`"
|
3191
|
+
},
|
3192
|
+
"van-tabs/shrink": {
|
3193
|
+
"type": "boolean",
|
3194
|
+
"description": "Whether to shrink the the tabs to the left, Default: `false`"
|
3168
3195
|
},
|
3169
3196
|
"van-tabs/swipeable": {
|
3170
3197
|
"type": "boolean",
|
3171
|
-
"description": "
|
3198
|
+
"description": "Whether to enable gestures to slide left and right, Default: `false`"
|
3172
3199
|
},
|
3173
3200
|
"van-tabs/lazy-render": {
|
3174
3201
|
"type": "boolean",
|
3175
|
-
"description": "
|
3202
|
+
"description": "Whether to enable tab content lazy render, Default: `true`"
|
3176
3203
|
},
|
3177
3204
|
"van-tabs/scrollspy": {
|
3178
3205
|
"type": "boolean",
|
3179
|
-
"description": "
|
3206
|
+
"description": "Whether to use scrollspy mode, Default: `false`"
|
3180
3207
|
},
|
3181
3208
|
"van-tabs/offset-top": {
|
3182
3209
|
"type": "number | string",
|
3183
|
-
"description": "
|
3210
|
+
"description": "Sticky offset top , supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
|
3184
3211
|
},
|
3185
3212
|
"van-tabs/swipe-threshold": {
|
3186
3213
|
"type": "number | string",
|
3187
|
-
"description": "
|
3214
|
+
"description": "Set swipe tabs threshold, Default: `5`"
|
3188
3215
|
},
|
3189
3216
|
"van-tabs/title-active-color": {
|
3190
3217
|
"type": "string",
|
3191
|
-
"description": "
|
3218
|
+
"description": "Title active color, Default: -"
|
3192
3219
|
},
|
3193
3220
|
"van-tabs/title-inactive-color": {
|
3194
3221
|
"type": "string",
|
3195
|
-
"description": "
|
3222
|
+
"description": "Title inactive color, Default: -"
|
3196
3223
|
},
|
3197
3224
|
"van-tabs/before-change": {
|
3198
3225
|
"type": "(name: number | string) => boolean \\",
|
3199
|
-
"description": "
|
3226
|
+
"description": "Callback function before changing tabs,return `false` to prevent change,support return Promise, Default: Promise\\<boolean\\>_",
|
3200
3227
|
"options": [
|
3201
3228
|
"-"
|
3202
3229
|
]
|
3203
3230
|
},
|
3204
3231
|
"van-tab/title": {
|
3205
3232
|
"type": "string",
|
3206
|
-
"description": "
|
3233
|
+
"description": "Title, Default: -"
|
3207
3234
|
},
|
3208
3235
|
"van-tab/disabled": {
|
3209
3236
|
"type": "boolean",
|
3210
|
-
"description": "
|
3237
|
+
"description": "Whether to disable tab, Default: `false`"
|
3211
3238
|
},
|
3212
3239
|
"van-tab/dot": {
|
3213
3240
|
"type": "boolean",
|
3214
|
-
"description": "
|
3241
|
+
"description": "Whether to show red dot on the title, Default: `false`"
|
3215
3242
|
},
|
3216
3243
|
"van-tab/badge": {
|
3217
3244
|
"type": "number | string",
|
3218
|
-
"description": "
|
3245
|
+
"description": "Content of the badge on the title, Default: -"
|
3219
3246
|
},
|
3220
3247
|
"van-tab/name": {
|
3221
3248
|
"type": "number | string",
|
3222
|
-
"description": "
|
3249
|
+
"description": "Identifier, Default: Index of tab"
|
3223
3250
|
},
|
3224
3251
|
"van-tab/url": {
|
3225
3252
|
"type": "string",
|
3226
|
-
"description": "
|
3253
|
+
"description": "Link, Default: -"
|
3227
3254
|
},
|
3228
3255
|
"van-tab/to": {
|
3229
3256
|
"type": "string | object",
|
3230
|
-
"description": "
|
3257
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
3231
3258
|
},
|
3232
3259
|
"van-tab/replace": {
|
3233
3260
|
"type": "boolean",
|
3234
|
-
"description": "
|
3261
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
3235
3262
|
},
|
3236
3263
|
"van-tab/title-style": {
|
3237
3264
|
"type": "string | Array \\",
|
3238
|
-
"description": "
|
3265
|
+
"description": "Custom title style, Default: object_",
|
3239
3266
|
"options": [
|
3240
3267
|
"-"
|
3241
3268
|
]
|
3242
3269
|
},
|
3243
3270
|
"van-tab/title-class": {
|
3244
3271
|
"type": "string | Array \\",
|
3245
|
-
"description": "
|
3272
|
+
"description": "Custom title class name, Default: object_",
|
3246
3273
|
"options": [
|
3247
3274
|
"-"
|
3248
3275
|
]
|
3249
3276
|
},
|
3250
3277
|
"van-tab/show-zero-badge": {
|
3251
3278
|
"type": "boolean",
|
3252
|
-
"description": "
|
3279
|
+
"description": "Whether to show badge when the value is zero, Default: `true`"
|
3253
3280
|
},
|
3254
3281
|
"van-tabbar/v-model": {
|
3255
3282
|
"type": "number | string",
|
3256
|
-
"description": "
|
3283
|
+
"description": "Identifier of current tab, Default: `0`"
|
3257
3284
|
},
|
3258
3285
|
"van-tabbar/fixed": {
|
3259
3286
|
"type": "boolean",
|
3260
|
-
"description": "
|
3287
|
+
"description": "Whether to fixed bottom, Default: `true`"
|
3261
3288
|
},
|
3262
3289
|
"van-tabbar/border": {
|
3263
3290
|
"type": "boolean",
|
3264
|
-
"description": "
|
3291
|
+
"description": "Whether to show border, Default: `true`"
|
3265
3292
|
},
|
3266
3293
|
"van-tabbar/z-index": {
|
3267
3294
|
"type": "number | string",
|
3268
|
-
"description": "
|
3295
|
+
"description": "Z-index, Default: `1`"
|
3269
3296
|
},
|
3270
3297
|
"van-tabbar/active-color": {
|
3271
3298
|
"type": "string",
|
3272
|
-
"description": "
|
3299
|
+
"description": "Color of active tab item, Default: `#1989fa`"
|
3273
3300
|
},
|
3274
3301
|
"van-tabbar/inactive-color": {
|
3275
3302
|
"type": "string",
|
3276
|
-
"description": "
|
3303
|
+
"description": "Color of inactive tab item, Default: `#7d7e80`"
|
3277
3304
|
},
|
3278
3305
|
"van-tabbar/route": {
|
3279
3306
|
"type": "boolean",
|
3280
|
-
"description": "
|
3307
|
+
"description": "Whether to enable route mode, Default: `false`"
|
3281
3308
|
},
|
3282
3309
|
"van-tabbar/placeholder": {
|
3283
3310
|
"type": "boolean",
|
3284
|
-
"description": "
|
3311
|
+
"description": "Whether to generate a placeholder element when fixed, Default: `false`"
|
3285
3312
|
},
|
3286
3313
|
"van-tabbar/safe-area-inset-bottom": {
|
3287
3314
|
"type": "boolean",
|
3288
|
-
"description": "
|
3315
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
3289
3316
|
},
|
3290
3317
|
"van-tabbar/before-change": {
|
3291
3318
|
"type": "(name: number | string) => boolean \\",
|
3292
|
-
"description": "
|
3319
|
+
"description": "Callback function before changing tab,return `false` to prevent change,support return Promise, Default: Promise\\<boolean\\>_",
|
3293
3320
|
"options": [
|
3294
3321
|
"-"
|
3295
3322
|
]
|
3296
3323
|
},
|
3297
3324
|
"van-tabbar-item/name": {
|
3298
3325
|
"type": "number | string",
|
3299
|
-
"description": "
|
3326
|
+
"description": "Identifier, Default: Item index"
|
3300
3327
|
},
|
3301
3328
|
"van-tabbar-item/icon": {
|
3302
3329
|
"type": "string",
|
3303
|
-
"description": "
|
3330
|
+
"description": "Icon name, Default: -"
|
3304
3331
|
},
|
3305
3332
|
"van-tabbar-item/icon-prefix": {
|
3306
3333
|
"type": "string",
|
3307
|
-
"description": "
|
3334
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
3308
3335
|
},
|
3309
3336
|
"van-tabbar-item/dot": {
|
3310
3337
|
"type": "boolean",
|
3311
|
-
"description": "
|
3338
|
+
"description": "Whether to show red dot, Default: -"
|
3312
3339
|
},
|
3313
3340
|
"van-tabbar-item/badge": {
|
3314
3341
|
"type": "number | string",
|
3315
|
-
"description": "
|
3342
|
+
"description": "Content of the badge, Default: `''`"
|
3343
|
+
},
|
3344
|
+
"van-tabbar-item/badge-props": {
|
3345
|
+
"type": "BadgeProps",
|
3346
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
3316
3347
|
},
|
3317
3348
|
"van-tabbar-item/url": {
|
3318
3349
|
"type": "string",
|
3319
|
-
"description": "
|
3350
|
+
"description": "Link, Default: -"
|
3320
3351
|
},
|
3321
3352
|
"van-tabbar-item/to": {
|
3322
3353
|
"type": "string | object",
|
3323
|
-
"description": "
|
3354
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
3324
3355
|
},
|
3325
3356
|
"van-tabbar-item/replace": {
|
3326
3357
|
"type": "boolean",
|
3327
|
-
"description": "
|
3358
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
3328
3359
|
},
|
3329
3360
|
"van-tag/type": {
|
3330
3361
|
"type": "string",
|
3331
|
-
"description": "
|
3362
|
+
"description": "Type, can be set to `primary` `success` `danger` `warning`, Default: `default`"
|
3332
3363
|
},
|
3333
3364
|
"van-tag/size": {
|
3334
3365
|
"type": "string",
|
3335
|
-
"description": "
|
3366
|
+
"description": "Size, can be set to `large` `medium`, Default: -"
|
3336
3367
|
},
|
3337
3368
|
"van-tag/color": {
|
3338
3369
|
"type": "string",
|
3339
|
-
"description": "
|
3370
|
+
"description": "Custom color, Default: -"
|
3340
3371
|
},
|
3341
3372
|
"van-tag/show": {
|
3342
3373
|
"type": "boolean",
|
3343
|
-
"description": "
|
3374
|
+
"description": "Whether to show tag, Default: `true`"
|
3344
3375
|
},
|
3345
3376
|
"van-tag/plain": {
|
3346
3377
|
"type": "boolean",
|
3347
|
-
"description": "
|
3378
|
+
"description": "Whether to be plain style, Default: `false`"
|
3348
3379
|
},
|
3349
3380
|
"van-tag/round": {
|
3350
3381
|
"type": "boolean",
|
3351
|
-
"description": "
|
3382
|
+
"description": "Whether to be round style, Default: `false`"
|
3352
3383
|
},
|
3353
3384
|
"van-tag/mark": {
|
3354
3385
|
"type": "boolean",
|
3355
|
-
"description": "
|
3386
|
+
"description": "Whether to be mark style, Default: `false`"
|
3356
3387
|
},
|
3357
3388
|
"van-tag/text-color": {
|
3358
3389
|
"type": "string",
|
3359
|
-
"description": "
|
3390
|
+
"description": "Text color, Default: `white`"
|
3360
3391
|
},
|
3361
3392
|
"van-tag/closeable": {
|
3362
3393
|
"type": "boolean",
|
3363
|
-
"description": "
|
3394
|
+
"description": "Whether to be closeable, Default: `false`"
|
3364
3395
|
},
|
3365
3396
|
"van-tree-select/items": {
|
3366
3397
|
"type": "TreeSelectItem[]",
|
3367
|
-
"description": "
|
3398
|
+
"description": "Required datasets for the component, Default: `[]`"
|
3368
3399
|
},
|
3369
3400
|
"van-tree-select/height": {
|
3370
3401
|
"type": "number | string",
|
3371
|
-
"description": "
|
3402
|
+
"description": "Height, Default: `300`"
|
3372
3403
|
},
|
3373
3404
|
"van-tree-select/main-active-index": {
|
3374
3405
|
"type": "number | string",
|
3375
|
-
"description": "
|
3406
|
+
"description": "The index of selected parent node, Default: `0`"
|
3376
3407
|
},
|
3377
3408
|
"van-tree-select/active-id": {
|
3378
3409
|
"type": "number | string \\",
|
3379
|
-
"description": "
|
3410
|
+
"description": "Id of selected item, Default: <br>(number \\",
|
3380
3411
|
"options": [
|
3381
3412
|
"string)[]_"
|
3382
3413
|
]
|
3383
3414
|
},
|
3384
3415
|
"van-tree-select/max": {
|
3385
3416
|
"type": "number | string",
|
3386
|
-
"description": "
|
3417
|
+
"description": "Maximum number of selected items, Default: `Infinity`"
|
3387
3418
|
},
|
3388
3419
|
"van-tree-select/selected-icon": {
|
3389
3420
|
"type": "string",
|
3390
|
-
"description": "
|
3421
|
+
"description": "Selected icon, Default: `success`"
|
3391
3422
|
},
|
3392
3423
|
"van-uploader/v-model": {
|
3393
3424
|
"type": "FileListItem[]",
|
3394
|
-
"description": "
|
3425
|
+
"description": "List of uploaded files, Default: -"
|
3395
3426
|
},
|
3396
3427
|
"van-uploader/accept": {
|
3397
3428
|
"type": "string",
|
3398
|
-
"description": "
|
3429
|
+
"description": "Accepted [file type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Unique_file_type_specifiers), Default: `image/*`"
|
3399
3430
|
},
|
3400
3431
|
"van-uploader/name": {
|
3401
3432
|
"type": "number | string",
|
3402
|
-
"description": "
|
3433
|
+
"description": "Input name, Default: -"
|
3403
3434
|
},
|
3404
3435
|
"van-uploader/preview-size": {
|
3405
3436
|
"type": "number | string",
|
3406
|
-
"description": "
|
3437
|
+
"description": "Size of preview image, Default: `80px`"
|
3407
3438
|
},
|
3408
3439
|
"van-uploader/preview-image": {
|
3409
3440
|
"type": "boolean",
|
3410
|
-
"description": "
|
3441
|
+
"description": "Whether to show image preview, Default: `true`"
|
3411
3442
|
},
|
3412
3443
|
"van-uploader/preview-full-image": {
|
3413
3444
|
"type": "boolean",
|
3414
|
-
"description": "
|
3445
|
+
"description": "Whether to show full screen image preview when image is clicked, Default: `true`"
|
3415
3446
|
},
|
3416
3447
|
"van-uploader/preview-options": {
|
3417
3448
|
"type": "object",
|
3418
|
-
"description": "
|
3449
|
+
"description": "Options of full screen image preview,see [ImagePreview](#/en-US/image-preview), Default: -"
|
3419
3450
|
},
|
3420
3451
|
"van-uploader/multiple": {
|
3421
3452
|
"type": "boolean",
|
3422
|
-
"description": "
|
3453
|
+
"description": "Whether to enable multiple selection pictures, Default: `false`"
|
3423
3454
|
},
|
3424
3455
|
"van-uploader/disabled": {
|
3425
3456
|
"type": "boolean",
|
3426
|
-
"description": "
|
3457
|
+
"description": "Whether to disabled the upload, Default: `false`"
|
3427
3458
|
},
|
3428
3459
|
"van-uploader/readonly": {
|
3429
3460
|
"type": "boolean",
|
3430
|
-
"description": "
|
3461
|
+
"description": "Whether to make upload area readonly, Default: `false`"
|
3431
3462
|
},
|
3432
3463
|
"van-uploader/deletable": {
|
3433
3464
|
"type": "boolean",
|
3434
|
-
"description": "
|
3465
|
+
"description": "Whether to show delete icon, Default: `true`"
|
3435
3466
|
},
|
3436
3467
|
"van-uploader/show-upload": {
|
3437
3468
|
"type": "boolean",
|
3438
|
-
"description": "
|
3469
|
+
"description": "Whether to show upload area, Default: `true`"
|
3439
3470
|
},
|
3440
3471
|
"van-uploader/lazy-load": {
|
3441
3472
|
"type": "boolean",
|
3442
|
-
"description": "
|
3473
|
+
"description": "Whether to enable lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
3443
3474
|
},
|
3444
3475
|
"van-uploader/capture": {
|
3445
3476
|
"type": "string",
|
3446
|
-
"description": "
|
3477
|
+
"description": "Capture,can be set to `camera`, Default: -"
|
3447
3478
|
},
|
3448
3479
|
"van-uploader/after-read": {
|
3449
3480
|
"type": "Function",
|
3450
|
-
"description": "
|
3481
|
+
"description": "Hook after reading the file, Default: -"
|
3451
3482
|
},
|
3452
3483
|
"van-uploader/before-read": {
|
3453
3484
|
"type": "Function",
|
3454
|
-
"description": "
|
3485
|
+
"description": "Hook before reading the file, return false to stop reading the file, can return Promise, Default: -"
|
3455
3486
|
},
|
3456
3487
|
"van-uploader/before-delete": {
|
3457
3488
|
"type": "Function",
|
3458
|
-
"description": "
|
3489
|
+
"description": "Hook before delete the file, return false to stop reading the file, can return Promise, Default: -"
|
3459
3490
|
},
|
3460
3491
|
"van-uploader/max-size": {
|
3461
3492
|
"type": "number | string \\",
|
3462
|
-
"description": "
|
3493
|
+
"description": "Max size of file, Default: (file: File) => boolean_",
|
3463
3494
|
"options": [
|
3464
3495
|
"Infinity"
|
3465
3496
|
]
|
3466
3497
|
},
|
3467
3498
|
"van-uploader/max-count": {
|
3468
3499
|
"type": "number | string",
|
3469
|
-
"description": "
|
3500
|
+
"description": "Max count of image, Default: `Infinity`"
|
3470
3501
|
},
|
3471
3502
|
"van-uploader/result-type": {
|
3472
3503
|
"type": "string",
|
3473
|
-
"description": "
|
3504
|
+
"description": "Type of file read result, can be set to `file` `text`, Default: `dataUrl`"
|
3474
3505
|
},
|
3475
3506
|
"van-uploader/upload-text": {
|
3476
3507
|
"type": "string",
|
3477
|
-
"description": "
|
3508
|
+
"description": "Upload text, Default: -"
|
3478
3509
|
},
|
3479
3510
|
"van-uploader/image-fit": {
|
3480
3511
|
"type": "string",
|
3481
|
-
"description": "
|
3512
|
+
"description": "Preview image fit mode, Default: `cover`"
|
3482
3513
|
},
|
3483
3514
|
"van-uploader/upload-icon": {
|
3484
3515
|
"type": "string",
|
3485
|
-
"description": "
|
3516
|
+
"description": "Upload icon, Default: `photograph`"
|
3486
3517
|
}
|
3487
3518
|
}
|