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