vant 3.3.5 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-bar/ActionBar.d.ts +2 -2
- package/es/action-bar/ActionBar.js +24 -20
- package/es/action-bar/index.d.ts +6 -1
- 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 +4 -4
- package/es/action-bar-button/ActionBarButton.js +26 -28
- package/es/action-bar-button/index.d.ts +8 -3
- 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 +69 -8
- package/es/action-bar-icon/ActionBarIcon.js +29 -32
- package/es/action-bar-icon/index.d.ts +49 -3
- 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 +2 -2
- package/es/action-sheet/ActionSheet.js +64 -66
- package/es/action-sheet/index.d.ts +6 -1
- 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 +2 -2
- package/es/address-edit/AddressEdit.js +186 -219
- package/es/address-edit/AddressEditDetail.d.ts +2 -2
- package/es/address-edit/AddressEditDetail.js +31 -43
- package/es/address-edit/index.d.ts +6 -1
- 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 +2 -2
- package/es/address-list/AddressList.js +38 -49
- package/es/address-list/AddressListItem.d.ts +2 -2
- package/es/address-list/AddressListItem.js +39 -49
- package/es/address-list/index.d.ts +6 -1
- package/es/address-list/index.js +8 -4
- package/es/address-list/style/index.js +11 -11
- package/es/address-list/style/less.js +11 -11
- package/es/area/Area.d.ts +2 -2
- package/es/area/Area.js +99 -161
- package/es/area/index.d.ts +6 -1
- 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 +15 -3
- package/es/badge/Badge.js +36 -49
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +15 -3
- 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 +4 -4
- package/es/button/Button.js +43 -63
- package/es/button/index.d.ts +8 -3
- 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 +5 -5
- package/es/calendar/Calendar.js +123 -221
- package/es/calendar/CalendarDay.d.ts +2 -2
- package/es/calendar/CalendarDay.js +54 -70
- package/es/calendar/CalendarHeader.d.ts +1 -1
- package/es/calendar/CalendarHeader.js +30 -35
- package/es/calendar/CalendarMonth.d.ts +4 -4
- package/es/calendar/CalendarMonth.js +97 -140
- package/es/calendar/index.d.ts +9 -4
- 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 +2 -2
- package/es/card/Card.js +53 -72
- package/es/card/index.d.ts +6 -1
- 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 +2 -2
- package/es/cascader/Cascader.js +85 -119
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +6 -1
- 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 +2 -2
- package/es/cell/Cell.js +42 -59
- package/es/cell/index.d.ts +6 -1
- 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 +2 -2
- package/es/cell-group/CellGroup.js +25 -26
- package/es/cell-group/index.d.ts +6 -1
- 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 +2 -2
- package/es/checkbox/Checkbox.js +35 -53
- package/es/checkbox/Checker.d.ts +2 -2
- package/es/checkbox/Checker.js +37 -45
- package/es/checkbox/index.d.ts +6 -1
- 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 +2 -2
- package/es/checkbox-group/CheckboxGroup.js +32 -41
- package/es/checkbox-group/index.d.ts +6 -1
- 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 +2 -2
- package/es/circle/Circle.js +60 -76
- package/es/circle/index.d.ts +6 -1
- 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 +2 -2
- package/es/col/Col.js +27 -26
- package/es/col/index.d.ts +6 -1
- 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 +2 -2
- package/es/collapse/Collapse.js +39 -46
- package/es/collapse/index.d.ts +6 -1
- 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 +2 -2
- package/es/collapse-item/CollapseItem.js +57 -81
- package/es/collapse-item/index.d.ts +6 -1
- 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 +8 -5
- 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 +2 -2
- package/es/config-provider/ConfigProvider.js +23 -21
- package/es/config-provider/index.d.ts +6 -1
- 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 +2 -2
- package/es/contact-card/ContactCard.js +24 -28
- package/es/contact-card/index.d.ts +6 -1
- 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 +2 -2
- package/es/contact-edit/ContactEdit.js +48 -56
- package/es/contact-edit/index.d.ts +6 -1
- 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 +2 -2
- package/es/contact-list/ContactList.js +41 -51
- package/es/contact-list/index.d.ts +6 -1
- 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 +2 -2
- package/es/count-down/CountDown.js +23 -28
- package/es/count-down/index.d.ts +6 -1
- 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 +2 -2
- package/es/coupon/Coupon.js +35 -38
- package/es/coupon/index.d.ts +6 -1
- 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 +2 -2
- package/es/coupon-cell/CouponCell.js +23 -32
- package/es/coupon-cell/index.d.ts +6 -1
- 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 +2 -2
- package/es/coupon-list/CouponList.js +101 -112
- package/es/coupon-list/index.d.ts +6 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- package/es/dialog/Dialog.js +58 -83
- package/es/dialog/function-call.d.ts +1 -1
- package/es/dialog/function-call.js +25 -37
- 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 +2 -2
- package/es/divider/Divider.js +24 -21
- package/es/divider/index.d.ts +6 -1
- 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 +2 -2
- package/es/dropdown-item/DropdownItem.js +62 -94
- package/es/dropdown-item/index.d.ts +6 -1
- 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 +2 -2
- package/es/dropdown-menu/DropdownMenu.js +55 -61
- package/es/dropdown-menu/index.d.ts +6 -1
- 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 +2 -2
- package/es/empty/Empty.js +25 -34
- package/es/empty/Network.js +24 -23
- package/es/empty/index.d.ts +6 -1
- 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 +2 -2
- package/es/field/Field.js +157 -246
- package/es/field/index.d.ts +6 -1
- 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 +2 -2
- package/es/form/Form.js +55 -74
- package/es/form/index.d.ts +6 -1
- 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 +2 -2
- package/es/grid/Grid.js +28 -24
- package/es/grid/index.d.ts +6 -1
- 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 +66 -5
- package/es/grid-item/GridItem.js +47 -62
- package/es/grid-item/index.d.ts +48 -2
- 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 +66 -5
- package/es/icon/Icon.js +34 -32
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +48 -2
- 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 +2 -2
- package/es/image/Image.js +59 -78
- package/es/image/index.d.ts +6 -1
- 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 +6 -2
- package/es/image-preview/ImagePreview.js +52 -69
- package/es/image-preview/ImagePreviewItem.d.ts +1 -1
- package/es/image-preview/ImagePreviewItem.js +72 -105
- package/es/image-preview/function-call.d.ts +4 -1
- package/es/image-preview/function-call.js +23 -35
- 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 +2 -2
- package/es/index-anchor/IndexAnchor.js +31 -42
- package/es/index-anchor/index.d.ts +6 -1
- 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 +2 -2
- package/es/index-bar/IndexBar.js +73 -98
- package/es/index-bar/index.d.ts +6 -1
- 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 +2 -2
- package/es/list/List.js +52 -74
- package/es/list/index.d.ts +6 -1
- 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 +2 -2
- package/es/loading/Loading.js +25 -30
- package/es/loading/index.d.ts +6 -1
- 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 +2 -2
- package/es/nav-bar/NavBar.js +35 -47
- package/es/nav-bar/index.d.ts +6 -1
- 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 +2 -2
- package/es/notice-bar/NoticeBar.js +62 -85
- package/es/notice-bar/index.d.ts +6 -1
- 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 +14 -3
- package/es/notify/Notify.js +20 -21
- package/es/notify/function-call.d.ts +9 -2
- package/es/notify/function-call.js +23 -36
- 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 +2 -2
- package/es/number-keyboard/NumberKeyboard.js +81 -114
- package/es/number-keyboard/NumberKeyboardKey.d.ts +3 -3
- package/es/number-keyboard/NumberKeyboardKey.js +32 -48
- package/es/number-keyboard/index.d.ts +6 -1
- 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 +2 -2
- package/es/overlay/Overlay.js +21 -24
- package/es/overlay/index.d.ts +6 -1
- 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 +2 -2
- package/es/pagination/Pagination.js +65 -87
- package/es/pagination/index.d.ts +6 -1
- 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 +2 -2
- package/es/password-input/PasswordInput.js +30 -37
- package/es/password-input/index.d.ts +6 -1
- 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 +2 -2
- package/es/picker/Picker.js +136 -198
- package/es/picker/PickerColumn.d.ts +4 -3
- package/es/picker/PickerColumn.js +86 -133
- package/es/picker/index.d.ts +6 -1
- 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 +2 -2
- package/es/popover/Popover.js +84 -90
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +6 -1
- 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 +5 -6
- package/es/popup/Popup.js +70 -88
- package/es/popup/index.d.ts +16 -10
- 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 +2 -2
- package/es/progress/Progress.js +23 -25
- package/es/progress/index.d.ts +6 -1
- 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 +2 -2
- package/es/pull-refresh/PullRefresh.js +66 -96
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +6 -1
- 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 +2 -2
- package/es/radio/Radio.js +23 -29
- package/es/radio/index.d.ts +6 -1
- 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 +2 -2
- package/es/radio-group/RadioGroup.js +27 -25
- package/es/radio-group/index.d.ts +6 -1
- 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 +2 -2
- package/es/rate/Rate.js +53 -77
- package/es/rate/index.d.ts +6 -1
- 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 +2 -2
- package/es/row/Row.js +41 -40
- package/es/row/index.d.ts +6 -1
- 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 +8 -2
- package/es/search/Search.js +73 -77
- package/es/search/index.d.ts +12 -1
- 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 +2 -2
- package/es/share-sheet/ShareSheet.js +46 -65
- package/es/share-sheet/index.d.ts +6 -1
- 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 +2 -2
- package/es/sidebar/Sidebar.js +29 -28
- package/es/sidebar/index.d.ts +6 -1
- 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 +65 -4
- package/es/sidebar-item/SidebarItem.js +34 -41
- package/es/sidebar-item/index.d.ts +47 -1
- 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 +2 -2
- package/es/skeleton/Skeleton.js +26 -34
- package/es/skeleton/index.d.ts +6 -1
- 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 +4 -4
- package/es/slider/Slider.js +99 -158
- package/es/slider/index.d.ts +8 -3
- 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.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 +2 -2
- package/es/stepper/Stepper.js +82 -123
- package/es/stepper/index.d.ts +6 -1
- 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 +2 -2
- package/es/steps/Steps.js +29 -27
- package/es/steps/index.d.ts +6 -1
- 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 +2 -2
- package/es/sticky/Sticky.js +58 -73
- package/es/sticky/index.d.ts +6 -1
- 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/submit-bar/SubmitBar.d.ts +2 -2
- package/es/submit-bar/SubmitBar.js +48 -53
- package/es/submit-bar/index.d.ts +6 -1
- 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 +2 -2
- package/es/swipe/Swipe.js +140 -203
- package/es/swipe/index.d.ts +6 -1
- 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 +2 -2
- package/es/swipe-cell/SwipeCell.js +66 -92
- package/es/swipe-cell/index.d.ts +6 -1
- 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.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 +2 -2
- package/es/switch/Switch.js +28 -32
- package/es/switch/index.d.ts +6 -1
- 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 +2 -2
- package/es/tab/Tab.js +44 -56
- package/es/tab/index.d.ts +6 -1
- 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 +2 -2
- package/es/tabbar/Tabbar.js +32 -40
- package/es/tabbar/index.d.ts +6 -1
- 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 +65 -4
- package/es/tabbar-item/TabbarItem.js +53 -66
- package/es/tabbar-item/index.d.ts +47 -1
- 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 +7 -2
- package/es/tabs/Tabs.js +146 -198
- package/es/tabs/TabsContent.d.ts +1 -1
- package/es/tabs/TabsContent.js +24 -30
- package/es/tabs/TabsTitle.d.ts +6 -5
- package/es/tabs/TabsTitle.js +34 -38
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +10 -1
- 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 +2 -2
- package/es/tag/Tag.js +27 -34
- package/es/tag/index.d.ts +6 -1
- 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 +4 -4
- 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.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 +2 -2
- package/es/tree-select/TreeSelect.js +37 -52
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +6 -1
- 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 +3 -3
- package/es/uploader/Uploader.js +87 -134
- package/es/uploader/UploaderPreviewItem.d.ts +2 -2
- package/es/uploader/UploaderPreviewItem.js +47 -60
- package/es/uploader/index.d.ts +6 -1
- 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 +2 -2
- package/lib/action-bar/ActionBar.js +49 -33
- package/lib/action-bar/index.d.ts +6 -1
- 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 +4 -4
- package/lib/action-bar-button/ActionBarButton.js +52 -45
- package/lib/action-bar-button/index.d.ts +8 -3
- 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 +69 -8
- package/lib/action-bar-icon/ActionBarIcon.js +56 -50
- package/lib/action-bar-icon/index.d.ts +49 -3
- 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 +2 -2
- package/lib/action-sheet/ActionSheet.js +100 -92
- package/lib/action-sheet/index.d.ts +6 -1
- 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 +2 -2
- package/lib/address-edit/AddressEdit.js +223 -253
- package/lib/address-edit/AddressEditDetail.d.ts +2 -2
- package/lib/address-edit/AddressEditDetail.js +57 -56
- package/lib/address-edit/index.d.ts +6 -1
- 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 +2 -2
- package/lib/address-list/AddressList.js +67 -67
- package/lib/address-list/AddressListItem.d.ts +2 -2
- package/lib/address-list/AddressListItem.js +66 -66
- package/lib/address-list/index.d.ts +6 -1
- package/lib/address-list/index.js +31 -15
- package/lib/address-list/style/index.js +11 -23
- package/lib/address-list/style/less.js +11 -23
- package/lib/area/Area.d.ts +2 -2
- package/lib/area/Area.js +130 -181
- package/lib/area/index.d.ts +6 -1
- 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 +15 -3
- package/lib/badge/Badge.js +64 -63
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +15 -3
- 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 +4 -4
- package/lib/button/Button.js +75 -83
- package/lib/button/index.d.ts +8 -3
- 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 +5 -5
- package/lib/calendar/Calendar.js +183 -277
- package/lib/calendar/CalendarDay.d.ts +2 -2
- package/lib/calendar/CalendarDay.js +84 -87
- package/lib/calendar/CalendarHeader.d.ts +1 -1
- package/lib/calendar/CalendarHeader.js +57 -49
- package/lib/calendar/CalendarMonth.d.ts +4 -4
- package/lib/calendar/CalendarMonth.js +130 -166
- package/lib/calendar/index.d.ts +9 -4
- 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 +2 -2
- package/lib/card/Card.js +91 -92
- package/lib/card/index.d.ts +6 -1
- 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 +2 -2
- package/lib/cascader/Cascader.js +123 -145
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +6 -1
- 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 +2 -2
- package/lib/cell/Cell.js +81 -87
- package/lib/cell/index.d.ts +6 -1
- 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 +2 -2
- package/lib/cell-group/CellGroup.js +50 -37
- package/lib/cell-group/index.d.ts +6 -1
- 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 +2 -2
- package/lib/checkbox/Checkbox.js +62 -73
- package/lib/checkbox/Checker.d.ts +2 -2
- package/lib/checkbox/Checker.js +71 -67
- package/lib/checkbox/index.d.ts +6 -1
- 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 +2 -2
- package/lib/checkbox-group/CheckboxGroup.js +61 -58
- package/lib/checkbox-group/index.d.ts +6 -1
- 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 +2 -2
- package/lib/circle/Circle.js +100 -103
- package/lib/circle/index.d.ts +6 -1
- 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 +2 -2
- package/lib/col/Col.js +54 -41
- package/lib/col/index.d.ts +6 -1
- 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 +2 -2
- package/lib/collapse/Collapse.js +64 -58
- package/lib/collapse/index.d.ts +6 -1
- 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 +2 -2
- package/lib/collapse-item/CollapseItem.js +88 -104
- package/lib/collapse-item/index.d.ts +6 -1
- 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 +32 -15
- 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 +2 -2
- package/lib/config-provider/ConfigProvider.js +48 -32
- package/lib/config-provider/index.d.ts +6 -1
- 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 +2 -2
- package/lib/contact-card/ContactCard.js +48 -39
- package/lib/contact-card/index.d.ts +6 -1
- 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 +2 -2
- package/lib/contact-edit/ContactEdit.js +79 -78
- package/lib/contact-edit/index.d.ts +6 -1
- 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 +2 -2
- package/lib/contact-list/ContactList.js +70 -72
- package/lib/contact-list/index.d.ts +6 -1
- 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 +2 -2
- package/lib/count-down/CountDown.js +52 -46
- package/lib/count-down/index.d.ts +6 -1
- 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 +2 -2
- package/lib/coupon/Coupon.js +69 -60
- package/lib/coupon/index.d.ts +6 -1
- 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 +2 -2
- package/lib/coupon-cell/CouponCell.js +53 -47
- package/lib/coupon-cell/index.d.ts +6 -1
- 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 +2 -2
- package/lib/coupon-list/CouponList.js +149 -153
- package/lib/coupon-list/index.d.ts +6 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- package/lib/dialog/Dialog.js +99 -114
- package/lib/dialog/function-call.d.ts +1 -1
- package/lib/dialog/function-call.js +59 -57
- 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 +2 -2
- package/lib/divider/Divider.js +48 -31
- package/lib/divider/index.d.ts +6 -1
- 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 +2 -2
- package/lib/dropdown-item/DropdownItem.js +96 -119
- package/lib/dropdown-item/index.d.ts +6 -1
- 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 +2 -2
- package/lib/dropdown-menu/DropdownMenu.js +91 -85
- package/lib/dropdown-menu/index.d.ts +6 -1
- 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 +2 -2
- package/lib/empty/Empty.js +56 -52
- package/lib/empty/Network.js +62 -45
- package/lib/empty/index.d.ts +6 -1
- 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 +2 -2
- package/lib/field/Field.js +220 -302
- package/lib/field/index.d.ts +6 -1
- 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 +2 -2
- package/lib/form/Form.js +84 -90
- package/lib/form/index.d.ts +6 -1
- 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 +2 -2
- package/lib/grid/Grid.js +57 -42
- package/lib/grid/index.d.ts +6 -1
- 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 +66 -5
- package/lib/grid-item/GridItem.js +76 -82
- package/lib/grid-item/index.d.ts +48 -2
- 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 +66 -5
- package/lib/icon/Icon.js +59 -45
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +48 -2
- 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 +2 -2
- package/lib/image/Image.js +101 -107
- package/lib/image/index.d.ts +6 -1
- 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 +6 -2
- package/lib/image-preview/ImagePreview.js +95 -105
- package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
- package/lib/image-preview/ImagePreviewItem.js +109 -131
- package/lib/image-preview/function-call.d.ts +4 -1
- package/lib/image-preview/function-call.js +54 -53
- 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 +2 -2
- package/lib/index-anchor/IndexAnchor.js +63 -64
- package/lib/index-anchor/index.d.ts +6 -1
- 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 +2 -2
- package/lib/index-bar/IndexBar.js +108 -122
- package/lib/index-bar/index.d.ts +6 -1
- 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 +2 -2
- package/lib/list/List.js +88 -97
- package/lib/list/index.d.ts +6 -1
- 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 +2 -2
- package/lib/loading/Loading.js +56 -45
- package/lib/loading/index.d.ts +6 -1
- 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 +2 -2
- package/lib/nav-bar/NavBar.js +69 -69
- package/lib/nav-bar/index.d.ts +6 -1
- 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 +2 -2
- package/lib/notice-bar/NoticeBar.js +99 -111
- package/lib/notice-bar/index.d.ts +6 -1
- 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 +14 -3
- package/lib/notify/Notify.js +46 -35
- package/lib/notify/function-call.d.ts +9 -2
- package/lib/notify/function-call.js +55 -54
- 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 +2 -2
- package/lib/number-keyboard/NumberKeyboard.js +126 -148
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +3 -3
- package/lib/number-keyboard/NumberKeyboardKey.js +62 -63
- package/lib/number-keyboard/index.d.ts +6 -1
- 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 +2 -2
- package/lib/overlay/Overlay.js +52 -42
- package/lib/overlay/index.d.ts +6 -1
- 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 +2 -2
- package/lib/pagination/Pagination.js +105 -113
- package/lib/pagination/index.d.ts +6 -1
- 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 +2 -2
- package/lib/password-input/PasswordInput.js +65 -58
- package/lib/password-input/index.d.ts +6 -1
- 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 +2 -2
- package/lib/picker/Picker.js +175 -231
- package/lib/picker/PickerColumn.d.ts +4 -3
- package/lib/picker/PickerColumn.js +128 -164
- package/lib/picker/index.d.ts +6 -1
- 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 +2 -2
- package/lib/popover/Popover.js +122 -117
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +6 -1
- 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 +5 -6
- package/lib/popup/Popup.js +106 -118
- package/lib/popup/index.d.ts +16 -10
- 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 +2 -2
- package/lib/progress/Progress.js +53 -41
- package/lib/progress/index.d.ts +6 -1
- 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 +2 -2
- package/lib/pull-refresh/PullRefresh.js +99 -118
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +6 -1
- 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 +2 -2
- package/lib/radio/Radio.js +48 -47
- package/lib/radio/index.d.ts +6 -1
- 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 +2 -2
- package/lib/radio-group/RadioGroup.js +54 -40
- package/lib/radio-group/index.d.ts +6 -1
- 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 +2 -2
- package/lib/rate/Rate.js +88 -102
- package/lib/rate/index.d.ts +6 -1
- 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 +2 -2
- package/lib/row/Row.js +68 -55
- package/lib/row/index.d.ts +6 -1
- 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 +8 -2
- package/lib/search/Search.js +101 -94
- package/lib/search/index.d.ts +12 -1
- 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 +2 -2
- package/lib/share-sheet/ShareSheet.js +81 -88
- package/lib/share-sheet/index.d.ts +6 -1
- 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 +2 -2
- package/lib/sidebar/Sidebar.js +54 -41
- package/lib/sidebar/index.d.ts +6 -1
- 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 +65 -4
- package/lib/sidebar-item/SidebarItem.js +59 -56
- package/lib/sidebar-item/index.d.ts +47 -1
- 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 +2 -2
- package/lib/skeleton/Skeleton.js +61 -55
- package/lib/skeleton/index.d.ts +6 -1
- 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 +4 -4
- package/lib/slider/Slider.js +138 -185
- package/lib/slider/index.d.ts +8 -3
- 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/ssr.js +2 -2
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/Step.js +79 -89
- 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 +2 -2
- package/lib/stepper/Stepper.js +134 -162
- package/lib/stepper/index.d.ts +6 -1
- 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 +2 -2
- package/lib/steps/Steps.js +54 -40
- package/lib/steps/index.d.ts +6 -1
- 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 +2 -2
- package/lib/sticky/Sticky.js +86 -89
- package/lib/sticky/index.d.ts +6 -1
- 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/submit-bar/SubmitBar.d.ts +2 -2
- package/lib/submit-bar/SubmitBar.js +80 -73
- package/lib/submit-bar/index.d.ts +6 -1
- 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 +2 -2
- package/lib/swipe/Swipe.js +191 -244
- package/lib/swipe/index.d.ts +6 -1
- 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 +2 -2
- package/lib/swipe-cell/SwipeCell.js +98 -112
- package/lib/swipe-cell/index.d.ts +6 -1
- 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.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 +2 -2
- package/lib/switch/Switch.js +60 -52
- package/lib/switch/index.d.ts +6 -1
- 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 +2 -2
- package/lib/tab/Tab.js +79 -84
- package/lib/tab/index.d.ts +6 -1
- 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 +2 -2
- package/lib/tabbar/Tabbar.js +64 -61
- package/lib/tabbar/index.d.ts +6 -1
- 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 +65 -4
- package/lib/tabbar-item/TabbarItem.js +81 -85
- package/lib/tabbar-item/index.d.ts +47 -1
- 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 +7 -2
- package/lib/tabs/Tabs.js +203 -253
- package/lib/tabs/TabsContent.d.ts +1 -1
- package/lib/tabs/TabsContent.js +54 -47
- package/lib/tabs/TabsTitle.d.ts +6 -5
- package/lib/tabs/TabsTitle.js +61 -52
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +10 -1
- 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 +2 -2
- package/lib/tag/Tag.js +53 -46
- package/lib/tag/index.d.ts +6 -1
- 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 +4 -4
- 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.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 +2 -2
- package/lib/tree-select/TreeSelect.js +70 -74
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +6 -1
- 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 +3 -3
- package/lib/uploader/Uploader.js +133 -173
- package/lib/uploader/UploaderPreviewItem.d.ts +2 -2
- package/lib/uploader/UploaderPreviewItem.js +86 -87
- package/lib/uploader/index.d.ts +6 -1
- 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 +5791 -5805
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +5791 -5805
- package/lib/vant.es.min.js +5791 -5805
- package/lib/vant.js +5186 -5074
- package/lib/vant.min.js +1 -1
- package/package.json +16 -15
- package/vetur/attributes.json +559 -524
- package/vetur/tags.json +190 -182
- package/vetur/web-types.json +1634 -1536
package/vetur/attributes.json
CHANGED
@@ -1,87 +1,4 @@
|
|
1
1
|
{
|
2
|
-
"van-action-sheet/v-model:show": {
|
3
|
-
"type": "boolean",
|
4
|
-
"description": "是否显示动作面板, 默认值: `false`"
|
5
|
-
},
|
6
|
-
"van-action-sheet/actions": {
|
7
|
-
"type": "ActionSheetAction[]",
|
8
|
-
"description": "面板选项列表, 默认值: `[]`"
|
9
|
-
},
|
10
|
-
"van-action-sheet/title": {
|
11
|
-
"type": "string",
|
12
|
-
"description": "顶部标题, 默认值: -"
|
13
|
-
},
|
14
|
-
"van-action-sheet/cancel-text": {
|
15
|
-
"type": "string",
|
16
|
-
"description": "取消按钮文字, 默认值: -"
|
17
|
-
},
|
18
|
-
"van-action-sheet/description": {
|
19
|
-
"type": "string",
|
20
|
-
"description": "选项上方的描述信息, 默认值: -"
|
21
|
-
},
|
22
|
-
"van-action-sheet/closeable": {
|
23
|
-
"type": "boolean",
|
24
|
-
"description": "是否显示关闭图标, 默认值: `true`"
|
25
|
-
},
|
26
|
-
"van-action-sheet/close-icon": {
|
27
|
-
"type": "string",
|
28
|
-
"description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
|
29
|
-
},
|
30
|
-
"van-action-sheet/duration": {
|
31
|
-
"type": "number | string",
|
32
|
-
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
33
|
-
},
|
34
|
-
"van-action-sheet/round": {
|
35
|
-
"type": "boolean",
|
36
|
-
"description": "是否显示圆角, 默认值: `true`"
|
37
|
-
},
|
38
|
-
"van-action-sheet/overlay": {
|
39
|
-
"type": "boolean",
|
40
|
-
"description": "是否显示遮罩层, 默认值: `true`"
|
41
|
-
},
|
42
|
-
"van-action-sheet/overlay-class": {
|
43
|
-
"type": "string | Array \\",
|
44
|
-
"description": "自定义遮罩层类名, 默认值: object_",
|
45
|
-
"options": [
|
46
|
-
"-"
|
47
|
-
]
|
48
|
-
},
|
49
|
-
"van-action-sheet/overlay-style": {
|
50
|
-
"type": "object",
|
51
|
-
"description": "自定义遮罩层样式, 默认值: -"
|
52
|
-
},
|
53
|
-
"van-action-sheet/lock-scroll": {
|
54
|
-
"type": "boolean",
|
55
|
-
"description": "是否锁定背景滚动, 默认值: `true`"
|
56
|
-
},
|
57
|
-
"van-action-sheet/lazy-render": {
|
58
|
-
"type": "boolean",
|
59
|
-
"description": "是否在显示弹层时才渲染节点, 默认值: `true`"
|
60
|
-
},
|
61
|
-
"van-action-sheet/close-on-popstate": {
|
62
|
-
"type": "boolean",
|
63
|
-
"description": "是否在页面回退时自动关闭, 默认值: `true`"
|
64
|
-
},
|
65
|
-
"van-action-sheet/close-on-click-action": {
|
66
|
-
"type": "boolean",
|
67
|
-
"description": "是否在点击选项后关闭, 默认值: `false`"
|
68
|
-
},
|
69
|
-
"van-action-sheet/close-on-click-overlay": {
|
70
|
-
"type": "boolean",
|
71
|
-
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
72
|
-
},
|
73
|
-
"van-action-sheet/safe-area-inset-bottom": {
|
74
|
-
"type": "boolean",
|
75
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
76
|
-
},
|
77
|
-
"van-action-sheet/teleport": {
|
78
|
-
"type": "string | Element",
|
79
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
80
|
-
},
|
81
|
-
"van-action-sheet/before-close": {
|
82
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
83
|
-
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
84
|
-
},
|
85
2
|
"van-action-bar/safe-area-inset-bottom": {
|
86
3
|
"type": "boolean",
|
87
4
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
@@ -117,6 +34,10 @@
|
|
117
34
|
"type": "number | string",
|
118
35
|
"description": "图标右上角徽标的内容, 默认值: -"
|
119
36
|
},
|
37
|
+
"van-action-bar-icon/badge-props": {
|
38
|
+
"type": "BadgeProps",
|
39
|
+
"description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props), 默认值: -"
|
40
|
+
},
|
120
41
|
"van-action-bar-icon/url": {
|
121
42
|
"type": "string",
|
122
43
|
"description": "点击后跳转的链接地址, 默认值: -"
|
@@ -143,7 +64,7 @@
|
|
143
64
|
},
|
144
65
|
"van-action-bar-button/icon": {
|
145
66
|
"type": "string",
|
146
|
-
"description": "
|
67
|
+
"description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
147
68
|
},
|
148
69
|
"van-action-bar-button/disabled": {
|
149
70
|
"type": "boolean",
|
@@ -165,6 +86,89 @@
|
|
165
86
|
"type": "boolean",
|
166
87
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
167
88
|
},
|
89
|
+
"van-action-sheet/v-model:show": {
|
90
|
+
"type": "boolean",
|
91
|
+
"description": "是否显示动作面板, 默认值: `false`"
|
92
|
+
},
|
93
|
+
"van-action-sheet/actions": {
|
94
|
+
"type": "ActionSheetAction[]",
|
95
|
+
"description": "面板选项列表, 默认值: `[]`"
|
96
|
+
},
|
97
|
+
"van-action-sheet/title": {
|
98
|
+
"type": "string",
|
99
|
+
"description": "顶部标题, 默认值: -"
|
100
|
+
},
|
101
|
+
"van-action-sheet/cancel-text": {
|
102
|
+
"type": "string",
|
103
|
+
"description": "取消按钮文字, 默认值: -"
|
104
|
+
},
|
105
|
+
"van-action-sheet/description": {
|
106
|
+
"type": "string",
|
107
|
+
"description": "选项上方的描述信息, 默认值: -"
|
108
|
+
},
|
109
|
+
"van-action-sheet/closeable": {
|
110
|
+
"type": "boolean",
|
111
|
+
"description": "是否显示关闭图标, 默认值: `true`"
|
112
|
+
},
|
113
|
+
"van-action-sheet/close-icon": {
|
114
|
+
"type": "string",
|
115
|
+
"description": "关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `cross`"
|
116
|
+
},
|
117
|
+
"van-action-sheet/duration": {
|
118
|
+
"type": "number | string",
|
119
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
120
|
+
},
|
121
|
+
"van-action-sheet/round": {
|
122
|
+
"type": "boolean",
|
123
|
+
"description": "是否显示圆角, 默认值: `true`"
|
124
|
+
},
|
125
|
+
"van-action-sheet/overlay": {
|
126
|
+
"type": "boolean",
|
127
|
+
"description": "是否显示遮罩层, 默认值: `true`"
|
128
|
+
},
|
129
|
+
"van-action-sheet/overlay-class": {
|
130
|
+
"type": "string | Array \\",
|
131
|
+
"description": "自定义遮罩层类名, 默认值: object_",
|
132
|
+
"options": [
|
133
|
+
"-"
|
134
|
+
]
|
135
|
+
},
|
136
|
+
"van-action-sheet/overlay-style": {
|
137
|
+
"type": "object",
|
138
|
+
"description": "自定义遮罩层样式, 默认值: -"
|
139
|
+
},
|
140
|
+
"van-action-sheet/lock-scroll": {
|
141
|
+
"type": "boolean",
|
142
|
+
"description": "是否锁定背景滚动, 默认值: `true`"
|
143
|
+
},
|
144
|
+
"van-action-sheet/lazy-render": {
|
145
|
+
"type": "boolean",
|
146
|
+
"description": "是否在显示弹层时才渲染节点, 默认值: `true`"
|
147
|
+
},
|
148
|
+
"van-action-sheet/close-on-popstate": {
|
149
|
+
"type": "boolean",
|
150
|
+
"description": "是否在页面回退时自动关闭, 默认值: `true`"
|
151
|
+
},
|
152
|
+
"van-action-sheet/close-on-click-action": {
|
153
|
+
"type": "boolean",
|
154
|
+
"description": "是否在点击选项后关闭, 默认值: `false`"
|
155
|
+
},
|
156
|
+
"van-action-sheet/close-on-click-overlay": {
|
157
|
+
"type": "boolean",
|
158
|
+
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
159
|
+
},
|
160
|
+
"van-action-sheet/safe-area-inset-bottom": {
|
161
|
+
"type": "boolean",
|
162
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
163
|
+
},
|
164
|
+
"van-action-sheet/teleport": {
|
165
|
+
"type": "string | Element",
|
166
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
167
|
+
},
|
168
|
+
"van-action-sheet/before-close": {
|
169
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
170
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
171
|
+
},
|
168
172
|
"van-address-list/v-model": {
|
169
173
|
"type": "string",
|
170
174
|
"description": "当前选中地址的 id, 默认值: -"
|
@@ -360,6 +364,10 @@
|
|
360
364
|
"type": "boolean",
|
361
365
|
"description": "当 content 为数字 0 时,是否展示徽标, 默认值: `true`"
|
362
366
|
},
|
367
|
+
"van-badge/position": {
|
368
|
+
"type": "string",
|
369
|
+
"description": "徽标位置,可选值为 `top-left` `bottom-left` `bottom-right`, 默认值: `top-right`"
|
370
|
+
},
|
363
371
|
"van-button/type": {
|
364
372
|
"type": "string",
|
365
373
|
"description": "类型,可选值为 `primary` `success` `warning` `danger`, 默认值: `default`"
|
@@ -378,7 +386,7 @@
|
|
378
386
|
},
|
379
387
|
"van-button/icon": {
|
380
388
|
"type": "string",
|
381
|
-
"description": "
|
389
|
+
"description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
382
390
|
},
|
383
391
|
"van-button/icon-prefix": {
|
384
392
|
"type": "string",
|
@@ -620,7 +628,7 @@
|
|
620
628
|
"description": "选中项的值, 默认值: -"
|
621
629
|
},
|
622
630
|
"van-cascader/options": {
|
623
|
-
"type": "
|
631
|
+
"type": "CascaderOption[]",
|
624
632
|
"description": "可选项数据源, 默认值: `[]`"
|
625
633
|
},
|
626
634
|
"van-cascader/placeholder": {
|
@@ -641,7 +649,7 @@
|
|
641
649
|
},
|
642
650
|
"van-cascader/close-icon": {
|
643
651
|
"type": "string",
|
644
|
-
"description": "
|
652
|
+
"description": "关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `cross`"
|
645
653
|
},
|
646
654
|
"van-cascader/field-names": {
|
647
655
|
"type": "object",
|
@@ -677,7 +685,7 @@
|
|
677
685
|
},
|
678
686
|
"van-cell/icon": {
|
679
687
|
"type": "string",
|
680
|
-
"description": "
|
688
|
+
"description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
681
689
|
},
|
682
690
|
"van-cell/icon-prefix": {
|
683
691
|
"type": "string",
|
@@ -747,6 +755,66 @@
|
|
747
755
|
"-"
|
748
756
|
]
|
749
757
|
},
|
758
|
+
"van-checkbox/v-model": {
|
759
|
+
"type": "boolean",
|
760
|
+
"description": "是否为选中状态, 默认值: `false`"
|
761
|
+
},
|
762
|
+
"van-checkbox/name": {
|
763
|
+
"type": "any",
|
764
|
+
"description": "标识符, 默认值: -"
|
765
|
+
},
|
766
|
+
"van-checkbox/shape": {
|
767
|
+
"type": "string",
|
768
|
+
"description": "形状,可选值为 `square`, 默认值: `round`"
|
769
|
+
},
|
770
|
+
"van-checkbox/disabled": {
|
771
|
+
"type": "boolean",
|
772
|
+
"description": "是否禁用复选框, 默认值: `false`"
|
773
|
+
},
|
774
|
+
"van-checkbox/label-disabled": {
|
775
|
+
"type": "boolean",
|
776
|
+
"description": "是否禁用复选框文本点击, 默认值: `false`"
|
777
|
+
},
|
778
|
+
"van-checkbox/label-position": {
|
779
|
+
"type": "string",
|
780
|
+
"description": "文本位置,可选值为 `left`, 默认值: `right`"
|
781
|
+
},
|
782
|
+
"van-checkbox/icon-size": {
|
783
|
+
"type": "number | string",
|
784
|
+
"description": "图标大小,默认单位为 `px`, 默认值: `20px`"
|
785
|
+
},
|
786
|
+
"van-checkbox/checked-color": {
|
787
|
+
"type": "string",
|
788
|
+
"description": "选中状态颜色, 默认值: `#1989fa`"
|
789
|
+
},
|
790
|
+
"van-checkbox/bind-group": {
|
791
|
+
"type": "boolean",
|
792
|
+
"description": "是否与复选框组绑定, 默认值: `true`"
|
793
|
+
},
|
794
|
+
"van-checkbox-group/v-model": {
|
795
|
+
"type": "any[]",
|
796
|
+
"description": "所有选中项的标识符, 默认值: -"
|
797
|
+
},
|
798
|
+
"van-checkbox-group/disabled": {
|
799
|
+
"type": "boolean",
|
800
|
+
"description": "是否禁用所有复选框, 默认值: `false`"
|
801
|
+
},
|
802
|
+
"van-checkbox-group/max": {
|
803
|
+
"type": "number | string",
|
804
|
+
"description": "最大可选数,`0` 为无限制, 默认值: `0`"
|
805
|
+
},
|
806
|
+
"van-checkbox-group/direction": {
|
807
|
+
"type": "string",
|
808
|
+
"description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
|
809
|
+
},
|
810
|
+
"van-checkbox-group/icon-size": {
|
811
|
+
"type": "number | string",
|
812
|
+
"description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
|
813
|
+
},
|
814
|
+
"van-checkbox-group/checked-color": {
|
815
|
+
"type": "string",
|
816
|
+
"description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
|
817
|
+
},
|
750
818
|
"van-circle/v-model:current-rate": {
|
751
819
|
"type": "number",
|
752
820
|
"description": "当前进度, 默认值: -"
|
@@ -827,80 +895,20 @@
|
|
827
895
|
"type": "string",
|
828
896
|
"description": "自定义元素标签, 默认值: `div`"
|
829
897
|
},
|
830
|
-
"van-
|
831
|
-
"type": "
|
832
|
-
"description": "
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
"description": "标识符, 默认值: -"
|
837
|
-
},
|
838
|
-
"van-checkbox/shape": {
|
839
|
-
"type": "string",
|
840
|
-
"description": "形状,可选值为 `square`, 默认值: `round`"
|
898
|
+
"van-collapse/v-model": {
|
899
|
+
"type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
|
900
|
+
"description": "当前展开面板的 name, 默认值: string)[]_",
|
901
|
+
"options": [
|
902
|
+
"-"
|
903
|
+
]
|
841
904
|
},
|
842
|
-
"van-
|
905
|
+
"van-collapse/accordion": {
|
843
906
|
"type": "boolean",
|
844
|
-
"description": "
|
907
|
+
"description": "是否开启手风琴模式, 默认值: `false`"
|
845
908
|
},
|
846
|
-
"van-
|
909
|
+
"van-collapse/border": {
|
847
910
|
"type": "boolean",
|
848
|
-
"description": "
|
849
|
-
},
|
850
|
-
"van-checkbox/label-position": {
|
851
|
-
"type": "string",
|
852
|
-
"description": "文本位置,可选值为 `left`, 默认值: `right`"
|
853
|
-
},
|
854
|
-
"van-checkbox/icon-size": {
|
855
|
-
"type": "number | string",
|
856
|
-
"description": "图标大小,默认单位为 `px`, 默认值: `20px`"
|
857
|
-
},
|
858
|
-
"van-checkbox/checked-color": {
|
859
|
-
"type": "string",
|
860
|
-
"description": "选中状态颜色, 默认值: `#1989fa`"
|
861
|
-
},
|
862
|
-
"van-checkbox/bind-group": {
|
863
|
-
"type": "boolean",
|
864
|
-
"description": "是否与复选框组绑定, 默认值: `true`"
|
865
|
-
},
|
866
|
-
"van-checkbox-group/v-model": {
|
867
|
-
"type": "any[]",
|
868
|
-
"description": "所有选中项的标识符, 默认值: -"
|
869
|
-
},
|
870
|
-
"van-checkbox-group/disabled": {
|
871
|
-
"type": "boolean",
|
872
|
-
"description": "是否禁用所有复选框, 默认值: `false`"
|
873
|
-
},
|
874
|
-
"van-checkbox-group/max": {
|
875
|
-
"type": "number | string",
|
876
|
-
"description": "最大可选数,`0` 为无限制, 默认值: `0`"
|
877
|
-
},
|
878
|
-
"van-checkbox-group/direction": {
|
879
|
-
"type": "string",
|
880
|
-
"description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
|
881
|
-
},
|
882
|
-
"van-checkbox-group/icon-size": {
|
883
|
-
"type": "number | string",
|
884
|
-
"description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
|
885
|
-
},
|
886
|
-
"van-checkbox-group/checked-color": {
|
887
|
-
"type": "string",
|
888
|
-
"description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
|
889
|
-
},
|
890
|
-
"van-collapse/v-model": {
|
891
|
-
"type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
|
892
|
-
"description": "当前展开面板的 name, 默认值: string)[]_",
|
893
|
-
"options": [
|
894
|
-
"-"
|
895
|
-
]
|
896
|
-
},
|
897
|
-
"van-collapse/accordion": {
|
898
|
-
"type": "boolean",
|
899
|
-
"description": "是否开启手风琴模式, 默认值: `false`"
|
900
|
-
},
|
901
|
-
"van-collapse/border": {
|
902
|
-
"type": "boolean",
|
903
|
-
"description": "是否显示外边框, 默认值: `true`"
|
911
|
+
"description": "是否显示外边框, 默认值: `true`"
|
904
912
|
},
|
905
913
|
"van-collapse-item/name": {
|
906
914
|
"type": "number | string",
|
@@ -908,7 +916,7 @@
|
|
908
916
|
},
|
909
917
|
"van-collapse-item/icon": {
|
910
918
|
"type": "string",
|
911
|
-
"description": "
|
919
|
+
"description": "标题栏左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
912
920
|
},
|
913
921
|
"van-collapse-item/size": {
|
914
922
|
"type": "string",
|
@@ -966,21 +974,21 @@
|
|
966
974
|
"type": "string",
|
967
975
|
"description": "所有图标的类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
968
976
|
},
|
969
|
-
"van-contact-
|
970
|
-
"type": "
|
971
|
-
"description": "
|
977
|
+
"van-contact-card/type": {
|
978
|
+
"type": "string",
|
979
|
+
"description": "卡片类型,可选值为 `edit`, 默认值: `add`"
|
972
980
|
},
|
973
|
-
"van-contact-
|
974
|
-
"type": "
|
975
|
-
"description": "
|
981
|
+
"van-contact-card/name": {
|
982
|
+
"type": "string",
|
983
|
+
"description": "联系人姓名, 默认值: -"
|
976
984
|
},
|
977
|
-
"van-contact-
|
985
|
+
"van-contact-card/tel": {
|
978
986
|
"type": "string",
|
979
|
-
"description": "
|
987
|
+
"description": "联系人手机号, 默认值: -"
|
980
988
|
},
|
981
|
-
"van-contact-
|
989
|
+
"van-contact-card/add-text": {
|
982
990
|
"type": "string",
|
983
|
-
"description": "
|
991
|
+
"description": "添加时的文案提示, 默认值: `添加联系人`"
|
984
992
|
},
|
985
993
|
"van-contact-edit/contact-info": {
|
986
994
|
"type": "Contact",
|
@@ -1010,21 +1018,21 @@
|
|
1010
1018
|
"type": "string",
|
1011
1019
|
"description": "默认联系人栏文案, 默认值: -"
|
1012
1020
|
},
|
1013
|
-
"van-contact-
|
1014
|
-
"type": "string",
|
1015
|
-
"description": "
|
1021
|
+
"van-contact-list/v-model": {
|
1022
|
+
"type": "number | string",
|
1023
|
+
"description": "当前选中联系人的 id, 默认值: -"
|
1016
1024
|
},
|
1017
|
-
"van-contact-
|
1018
|
-
"type": "
|
1019
|
-
"description": "
|
1025
|
+
"van-contact-list/list": {
|
1026
|
+
"type": "Contact[]",
|
1027
|
+
"description": "联系人列表, 默认值: `[]`"
|
1020
1028
|
},
|
1021
|
-
"van-contact-
|
1029
|
+
"van-contact-list/add-text": {
|
1022
1030
|
"type": "string",
|
1023
|
-
"description": "
|
1031
|
+
"description": "新建按钮文案, 默认值: `新建联系人`"
|
1024
1032
|
},
|
1025
|
-
"van-contact-
|
1033
|
+
"van-contact-list/default-tag-text": {
|
1026
1034
|
"type": "string",
|
1027
|
-
"description": "
|
1035
|
+
"description": "默认联系人标签文案, 默认值: -"
|
1028
1036
|
},
|
1029
1037
|
"van-count-down/time": {
|
1030
1038
|
"type": "number | string",
|
@@ -1214,77 +1222,6 @@
|
|
1214
1222
|
"type": "number | string",
|
1215
1223
|
"description": "可选的最大分钟, 默认值: `59`"
|
1216
1224
|
},
|
1217
|
-
"van-divider/dashed": {
|
1218
|
-
"type": "boolean",
|
1219
|
-
"description": "是否使用虚线, 默认值: `false`"
|
1220
|
-
},
|
1221
|
-
"van-divider/hairline": {
|
1222
|
-
"type": "boolean",
|
1223
|
-
"description": "是否使用 0.5px 线, 默认值: `true`"
|
1224
|
-
},
|
1225
|
-
"van-divider/content-position": {
|
1226
|
-
"type": "string",
|
1227
|
-
"description": "内容位置,可选值为 `left` `right`, 默认值: `center`"
|
1228
|
-
},
|
1229
|
-
"van-dropdown-menu/active-color": {
|
1230
|
-
"type": "string",
|
1231
|
-
"description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
|
1232
|
-
},
|
1233
|
-
"van-dropdown-menu/direction": {
|
1234
|
-
"type": "string",
|
1235
|
-
"description": "菜单展开方向,可选值为`up`, 默认值: `down`"
|
1236
|
-
},
|
1237
|
-
"van-dropdown-menu/z-index": {
|
1238
|
-
"type": "number | string",
|
1239
|
-
"description": "菜单栏 z-index 层级, 默认值: `10`"
|
1240
|
-
},
|
1241
|
-
"van-dropdown-menu/duration": {
|
1242
|
-
"type": "number | string",
|
1243
|
-
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.2`"
|
1244
|
-
},
|
1245
|
-
"van-dropdown-menu/overlay": {
|
1246
|
-
"type": "boolean",
|
1247
|
-
"description": "是否显示遮罩层, 默认值: `true`"
|
1248
|
-
},
|
1249
|
-
"van-dropdown-menu/close-on-click-overlay": {
|
1250
|
-
"type": "boolean",
|
1251
|
-
"description": "是否在点击遮罩层后关闭菜单, 默认值: `true`"
|
1252
|
-
},
|
1253
|
-
"van-dropdown-menu/close-on-click-outside": {
|
1254
|
-
"type": "boolean",
|
1255
|
-
"description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
|
1256
|
-
},
|
1257
|
-
"van-dropdown-item/v-model": {
|
1258
|
-
"type": "number | string",
|
1259
|
-
"description": "当前选中项对应的 value, 默认值: -"
|
1260
|
-
},
|
1261
|
-
"van-dropdown-item/title": {
|
1262
|
-
"type": "string",
|
1263
|
-
"description": "菜单项标题, 默认值: 当前选中项文字"
|
1264
|
-
},
|
1265
|
-
"van-dropdown-item/options": {
|
1266
|
-
"type": "Option[]",
|
1267
|
-
"description": "选项数组, 默认值: `[]`"
|
1268
|
-
},
|
1269
|
-
"van-dropdown-item/disabled": {
|
1270
|
-
"type": "boolean",
|
1271
|
-
"description": "是否禁用菜单, 默认值: `false`"
|
1272
|
-
},
|
1273
|
-
"van-dropdown-item/lazy-render": {
|
1274
|
-
"type": "boolean",
|
1275
|
-
"description": "是否在首次展开时才渲染菜单内容, 默认值: `true`"
|
1276
|
-
},
|
1277
|
-
"van-dropdown-item/title-class": {
|
1278
|
-
"type": "string | Array \\",
|
1279
|
-
"description": "标题额外类名, 默认值: object_",
|
1280
|
-
"options": [
|
1281
|
-
"-"
|
1282
|
-
]
|
1283
|
-
},
|
1284
|
-
"van-dropdown-item/teleport": {
|
1285
|
-
"type": "string | Element",
|
1286
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1287
|
-
},
|
1288
1225
|
"van-dialog/v-model:show": {
|
1289
1226
|
"type": "boolean",
|
1290
1227
|
"description": "是否显示弹窗, 默认值: -"
|
@@ -1377,6 +1314,77 @@
|
|
1377
1314
|
"type": "string | Element",
|
1378
1315
|
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1379
1316
|
},
|
1317
|
+
"van-divider/dashed": {
|
1318
|
+
"type": "boolean",
|
1319
|
+
"description": "是否使用虚线, 默认值: `false`"
|
1320
|
+
},
|
1321
|
+
"van-divider/hairline": {
|
1322
|
+
"type": "boolean",
|
1323
|
+
"description": "是否使用 0.5px 线, 默认值: `true`"
|
1324
|
+
},
|
1325
|
+
"van-divider/content-position": {
|
1326
|
+
"type": "string",
|
1327
|
+
"description": "内容位置,可选值为 `left` `right`, 默认值: `center`"
|
1328
|
+
},
|
1329
|
+
"van-dropdown-menu/active-color": {
|
1330
|
+
"type": "string",
|
1331
|
+
"description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
|
1332
|
+
},
|
1333
|
+
"van-dropdown-menu/direction": {
|
1334
|
+
"type": "string",
|
1335
|
+
"description": "菜单展开方向,可选值为`up`, 默认值: `down`"
|
1336
|
+
},
|
1337
|
+
"van-dropdown-menu/z-index": {
|
1338
|
+
"type": "number | string",
|
1339
|
+
"description": "菜单栏 z-index 层级, 默认值: `10`"
|
1340
|
+
},
|
1341
|
+
"van-dropdown-menu/duration": {
|
1342
|
+
"type": "number | string",
|
1343
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.2`"
|
1344
|
+
},
|
1345
|
+
"van-dropdown-menu/overlay": {
|
1346
|
+
"type": "boolean",
|
1347
|
+
"description": "是否显示遮罩层, 默认值: `true`"
|
1348
|
+
},
|
1349
|
+
"van-dropdown-menu/close-on-click-overlay": {
|
1350
|
+
"type": "boolean",
|
1351
|
+
"description": "是否在点击遮罩层后关闭菜单, 默认值: `true`"
|
1352
|
+
},
|
1353
|
+
"van-dropdown-menu/close-on-click-outside": {
|
1354
|
+
"type": "boolean",
|
1355
|
+
"description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
|
1356
|
+
},
|
1357
|
+
"van-dropdown-item/v-model": {
|
1358
|
+
"type": "number | string",
|
1359
|
+
"description": "当前选中项对应的 value, 默认值: -"
|
1360
|
+
},
|
1361
|
+
"van-dropdown-item/title": {
|
1362
|
+
"type": "string",
|
1363
|
+
"description": "菜单项标题, 默认值: 当前选中项文字"
|
1364
|
+
},
|
1365
|
+
"van-dropdown-item/options": {
|
1366
|
+
"type": "Option[]",
|
1367
|
+
"description": "选项数组, 默认值: `[]`"
|
1368
|
+
},
|
1369
|
+
"van-dropdown-item/disabled": {
|
1370
|
+
"type": "boolean",
|
1371
|
+
"description": "是否禁用菜单, 默认值: `false`"
|
1372
|
+
},
|
1373
|
+
"van-dropdown-item/lazy-render": {
|
1374
|
+
"type": "boolean",
|
1375
|
+
"description": "是否在首次展开时才渲染菜单内容, 默认值: `true`"
|
1376
|
+
},
|
1377
|
+
"van-dropdown-item/title-class": {
|
1378
|
+
"type": "string | Array \\",
|
1379
|
+
"description": "标题额外类名, 默认值: object_",
|
1380
|
+
"options": [
|
1381
|
+
"-"
|
1382
|
+
]
|
1383
|
+
},
|
1384
|
+
"van-dropdown-item/teleport": {
|
1385
|
+
"type": "string | Element",
|
1386
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1387
|
+
},
|
1380
1388
|
"van-empty/image": {
|
1381
1389
|
"type": "string",
|
1382
1390
|
"description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
|
@@ -1406,8 +1414,8 @@
|
|
1406
1414
|
"description": "输入框 id,同时会设置 label 的 for 属性, 默认值: `van-field-n-input`"
|
1407
1415
|
},
|
1408
1416
|
"van-field/type": {
|
1409
|
-
"type": "
|
1410
|
-
"description": "输入框类型,
|
1417
|
+
"type": "FieldType",
|
1418
|
+
"description": "输入框类型, 支持原生 input 标签的所有 [type 属性](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/input#%3Cinput%3E_types),额外支持了 `digit` 类型, 默认值: `text`"
|
1411
1419
|
},
|
1412
1420
|
"van-field/size": {
|
1413
1421
|
"type": "string",
|
@@ -1451,10 +1459,10 @@
|
|
1451
1459
|
},
|
1452
1460
|
"van-field/clear-icon": {
|
1453
1461
|
"type": "string",
|
1454
|
-
"description": "
|
1462
|
+
"description": "清除图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `clear`"
|
1455
1463
|
},
|
1456
1464
|
"van-field/clear-trigger": {
|
1457
|
-
"type": "
|
1465
|
+
"type": "FieldClearTrigger",
|
1458
1466
|
"description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示, 默认值: `focus`"
|
1459
1467
|
},
|
1460
1468
|
"van-field/clickable": {
|
@@ -1482,7 +1490,7 @@
|
|
1482
1490
|
"description": "底部错误提示文案,为空时不展示, 默认值: -"
|
1483
1491
|
},
|
1484
1492
|
"van-field/error-message-align": {
|
1485
|
-
"type": "
|
1493
|
+
"type": "FieldTextAlign",
|
1486
1494
|
"description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1487
1495
|
},
|
1488
1496
|
"van-field/formatter": {
|
@@ -1490,7 +1498,7 @@
|
|
1490
1498
|
"description": "输入内容格式化函数, 默认值: -"
|
1491
1499
|
},
|
1492
1500
|
"van-field/format-trigger": {
|
1493
|
-
"type": "
|
1501
|
+
"type": "FieldFormatTrigger",
|
1494
1502
|
"description": "格式化函数触发的时机,可选值为 `onBlur`, 默认值: `onChange`"
|
1495
1503
|
},
|
1496
1504
|
"van-field/arrow-direction": {
|
@@ -1509,31 +1517,31 @@
|
|
1509
1517
|
"description": "左侧文本宽度,默认单位为 `px`, 默认值: `6.2em`"
|
1510
1518
|
},
|
1511
1519
|
"van-field/label-align": {
|
1512
|
-
"type": "
|
1520
|
+
"type": "FieldTextAlign",
|
1513
1521
|
"description": "左侧文本对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1514
1522
|
},
|
1515
1523
|
"van-field/input-align": {
|
1516
|
-
"type": "
|
1524
|
+
"type": "FieldTextAlign",
|
1517
1525
|
"description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1518
1526
|
},
|
1519
1527
|
"van-field/autosize": {
|
1520
|
-
"type": "boolean |
|
1528
|
+
"type": "boolean | FieldAutosizeConfig",
|
1521
1529
|
"description": "是否自适应内容高度,只对 textarea 有效,<br>可传入对象,如 { maxHeight: 100, minHeight: 50 },<br>单位为`px`, 默认值: `false`"
|
1522
1530
|
},
|
1523
1531
|
"van-field/left-icon": {
|
1524
1532
|
"type": "string",
|
1525
|
-
"description": "
|
1533
|
+
"description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
1526
1534
|
},
|
1527
1535
|
"van-field/right-icon": {
|
1528
1536
|
"type": "string",
|
1529
|
-
"description": "
|
1537
|
+
"description": "右侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
1530
1538
|
},
|
1531
1539
|
"van-field/icon-prefix": {
|
1532
1540
|
"type": "string",
|
1533
1541
|
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
1534
1542
|
},
|
1535
1543
|
"van-field/rules": {
|
1536
|
-
"type": "
|
1544
|
+
"type": "FieldRule[]",
|
1537
1545
|
"description": "表单校验规则,详见 [Form 组件](#/zh-CN/form#rule-shu-ju-jie-gou), 默认值: -"
|
1538
1546
|
},
|
1539
1547
|
"van-field/autocomplete": {
|
@@ -1546,7 +1554,7 @@
|
|
1546
1554
|
},
|
1547
1555
|
"van-form/label-align": {
|
1548
1556
|
"type": "string",
|
1549
|
-
"description": "
|
1557
|
+
"description": "表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1550
1558
|
},
|
1551
1559
|
"van-form/input-align": {
|
1552
1560
|
"type": "string",
|
@@ -1630,7 +1638,7 @@
|
|
1630
1638
|
},
|
1631
1639
|
"van-grid-item/icon": {
|
1632
1640
|
"type": "string",
|
1633
|
-
"description": "[
|
1641
|
+
"description": "图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
1634
1642
|
},
|
1635
1643
|
"van-grid-item/icon-prefix": {
|
1636
1644
|
"type": "string",
|
@@ -1652,6 +1660,10 @@
|
|
1652
1660
|
"type": "number | string",
|
1653
1661
|
"description": "图标右上角徽标的内容, 默认值: -"
|
1654
1662
|
},
|
1663
|
+
"van-grid-item/badge-props": {
|
1664
|
+
"type": "BadgeProps",
|
1665
|
+
"description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props), 默认值: -"
|
1666
|
+
},
|
1655
1667
|
"van-grid-item/url": {
|
1656
1668
|
"type": "string",
|
1657
1669
|
"description": "点击后跳转的链接地址, 默认值: -"
|
@@ -1676,6 +1688,10 @@
|
|
1676
1688
|
"type": "number | string",
|
1677
1689
|
"description": "图标右上角徽标的内容, 默认值: -"
|
1678
1690
|
},
|
1691
|
+
"van-icon/badge-props": {
|
1692
|
+
"type": "BadgeProps",
|
1693
|
+
"description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props), 默认值: -"
|
1694
|
+
},
|
1679
1695
|
"van-icon/color": {
|
1680
1696
|
"type": "string",
|
1681
1697
|
"description": "图标颜色, 默认值: `inherit`"
|
@@ -1692,41 +1708,13 @@
|
|
1692
1708
|
"type": "string",
|
1693
1709
|
"description": "根节点对应的 HTML 标签名, 默认值: `i`"
|
1694
1710
|
},
|
1695
|
-
"van-
|
1696
|
-
"type": "string
|
1697
|
-
"description": "
|
1711
|
+
"van-image/src": {
|
1712
|
+
"type": "string",
|
1713
|
+
"description": "图片链接, 默认值: -"
|
1698
1714
|
},
|
1699
|
-
"van-
|
1700
|
-
"type": "
|
1701
|
-
"description": "
|
1702
|
-
},
|
1703
|
-
"van-index-bar/sticky": {
|
1704
|
-
"type": "boolean",
|
1705
|
-
"description": "是否开启锚点自动吸顶, 默认值: `true`"
|
1706
|
-
},
|
1707
|
-
"van-index-bar/sticky-offset-top": {
|
1708
|
-
"type": "number",
|
1709
|
-
"description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
|
1710
|
-
},
|
1711
|
-
"van-index-bar/highlight-color": {
|
1712
|
-
"type": "string",
|
1713
|
-
"description": "索引字符高亮颜色, 默认值: `#ee0a24`"
|
1714
|
-
},
|
1715
|
-
"van-index-bar/teleport": {
|
1716
|
-
"type": "string | Element",
|
1717
|
-
"description": "指定索引栏挂载的节点, 默认值: -"
|
1718
|
-
},
|
1719
|
-
"van-index-anchor/index": {
|
1720
|
-
"type": "number | string",
|
1721
|
-
"description": "索引字符, 默认值: -"
|
1722
|
-
},
|
1723
|
-
"van-image/src": {
|
1724
|
-
"type": "string",
|
1725
|
-
"description": "图片链接, 默认值: -"
|
1726
|
-
},
|
1727
|
-
"van-image/fit": {
|
1728
|
-
"type": "string",
|
1729
|
-
"description": "图片填充模式, 默认值: `fill`"
|
1715
|
+
"van-image/fit": {
|
1716
|
+
"type": "string",
|
1717
|
+
"description": "图片填充模式, 默认值: `fill`"
|
1730
1718
|
},
|
1731
1719
|
"van-image/alt": {
|
1732
1720
|
"type": "string",
|
@@ -1762,11 +1750,11 @@
|
|
1762
1750
|
},
|
1763
1751
|
"van-image/error-icon": {
|
1764
1752
|
"type": "string",
|
1765
|
-
"description": "
|
1753
|
+
"description": "失败时提示的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `photo-fail`"
|
1766
1754
|
},
|
1767
1755
|
"van-image/loading-icon": {
|
1768
1756
|
"type": "string",
|
1769
|
-
"description": "
|
1757
|
+
"description": "加载时提示的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `photo`"
|
1770
1758
|
},
|
1771
1759
|
"van-image/icon-size": {
|
1772
1760
|
"type": "number | string",
|
@@ -1843,6 +1831,13 @@
|
|
1843
1831
|
"type": "string",
|
1844
1832
|
"description": "动画类名,等价于 [transition](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性, 默认值: `van-fade`"
|
1845
1833
|
},
|
1834
|
+
"van-image-preview/overlay-class": {
|
1835
|
+
"type": "string | Array \\",
|
1836
|
+
"description": "自定义遮罩层类名, 默认值: object_",
|
1837
|
+
"options": [
|
1838
|
+
"-"
|
1839
|
+
]
|
1840
|
+
},
|
1846
1841
|
"van-image-preview/overlay-style": {
|
1847
1842
|
"type": "object",
|
1848
1843
|
"description": "自定义遮罩层样式, 默认值: -"
|
@@ -1851,6 +1846,34 @@
|
|
1851
1846
|
"type": "string | Element",
|
1852
1847
|
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1853
1848
|
},
|
1849
|
+
"van-index-bar/index-list": {
|
1850
|
+
"type": "string[] | number[]",
|
1851
|
+
"description": "索引字符列表, 默认值: `A-Z`"
|
1852
|
+
},
|
1853
|
+
"van-index-bar/z-index": {
|
1854
|
+
"type": "number | string",
|
1855
|
+
"description": "z-index 层级, 默认值: `1`"
|
1856
|
+
},
|
1857
|
+
"van-index-bar/sticky": {
|
1858
|
+
"type": "boolean",
|
1859
|
+
"description": "是否开启锚点自动吸顶, 默认值: `true`"
|
1860
|
+
},
|
1861
|
+
"van-index-bar/sticky-offset-top": {
|
1862
|
+
"type": "number",
|
1863
|
+
"description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
|
1864
|
+
},
|
1865
|
+
"van-index-bar/highlight-color": {
|
1866
|
+
"type": "string",
|
1867
|
+
"description": "索引字符高亮颜色, 默认值: `#ee0a24`"
|
1868
|
+
},
|
1869
|
+
"van-index-bar/teleport": {
|
1870
|
+
"type": "string | Element",
|
1871
|
+
"description": "指定索引栏挂载的节点, 默认值: -"
|
1872
|
+
},
|
1873
|
+
"van-index-anchor/index": {
|
1874
|
+
"type": "number | string",
|
1875
|
+
"description": "索引字符, 默认值: -"
|
1876
|
+
},
|
1854
1877
|
"van-list/v-model:loading": {
|
1855
1878
|
"type": "boolean",
|
1856
1879
|
"description": "是否处于加载状态,加载过程中不触发 `load` 事件, 默认值: `false`"
|
@@ -1965,7 +1988,7 @@
|
|
1965
1988
|
},
|
1966
1989
|
"van-notice-bar/left-icon": {
|
1967
1990
|
"type": "string",
|
1968
|
-
"description": "
|
1991
|
+
"description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
1969
1992
|
},
|
1970
1993
|
"van-notice-bar/delay": {
|
1971
1994
|
"type": "number | string",
|
@@ -2258,42 +2281,6 @@
|
|
2258
2281
|
"type": "string",
|
2259
2282
|
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
2260
2283
|
},
|
2261
|
-
"van-progress/percentage": {
|
2262
|
-
"type": "number | string",
|
2263
|
-
"description": "进度百分比, 默认值: `0`"
|
2264
|
-
},
|
2265
|
-
"van-progress/stroke-width": {
|
2266
|
-
"type": "number | string",
|
2267
|
-
"description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
|
2268
|
-
},
|
2269
|
-
"van-progress/color": {
|
2270
|
-
"type": "string",
|
2271
|
-
"description": "进度条颜色, 默认值: `#1989fa`"
|
2272
|
-
},
|
2273
|
-
"van-progress/track-color": {
|
2274
|
-
"type": "string",
|
2275
|
-
"description": "轨道颜色, 默认值: `#e5e5e5`"
|
2276
|
-
},
|
2277
|
-
"van-progress/pivot-text": {
|
2278
|
-
"type": "string",
|
2279
|
-
"description": "进度文字内容, 默认值: 百分比"
|
2280
|
-
},
|
2281
|
-
"van-progress/pivot-color": {
|
2282
|
-
"type": "string",
|
2283
|
-
"description": "进度文字背景色, 默认值: 同进度条颜色"
|
2284
|
-
},
|
2285
|
-
"van-progress/text-color": {
|
2286
|
-
"type": "string",
|
2287
|
-
"description": "进度文字颜色, 默认值: `white`"
|
2288
|
-
},
|
2289
|
-
"van-progress/inactive": {
|
2290
|
-
"type": "boolean",
|
2291
|
-
"description": "是否置灰, 默认值: `false`"
|
2292
|
-
},
|
2293
|
-
"van-progress/show-pivot": {
|
2294
|
-
"type": "boolean",
|
2295
|
-
"description": "是否显示进度文字, 默认值: `true`"
|
2296
|
-
},
|
2297
2284
|
"van-popup/v-model:show": {
|
2298
2285
|
"type": "boolean",
|
2299
2286
|
"description": "是否显示弹出层, 默认值: `false`"
|
@@ -2347,7 +2334,7 @@
|
|
2347
2334
|
},
|
2348
2335
|
"van-popup/close-icon": {
|
2349
2336
|
"type": "string",
|
2350
|
-
"description": "
|
2337
|
+
"description": "关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `cross`"
|
2351
2338
|
},
|
2352
2339
|
"van-popup/close-icon-position": {
|
2353
2340
|
"type": "string",
|
@@ -2377,6 +2364,42 @@
|
|
2377
2364
|
"type": "boolean",
|
2378
2365
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
|
2379
2366
|
},
|
2367
|
+
"van-progress/percentage": {
|
2368
|
+
"type": "number | string",
|
2369
|
+
"description": "进度百分比, 默认值: `0`"
|
2370
|
+
},
|
2371
|
+
"van-progress/stroke-width": {
|
2372
|
+
"type": "number | string",
|
2373
|
+
"description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
|
2374
|
+
},
|
2375
|
+
"van-progress/color": {
|
2376
|
+
"type": "string",
|
2377
|
+
"description": "进度条颜色, 默认值: `#1989fa`"
|
2378
|
+
},
|
2379
|
+
"van-progress/track-color": {
|
2380
|
+
"type": "string",
|
2381
|
+
"description": "轨道颜色, 默认值: `#e5e5e5`"
|
2382
|
+
},
|
2383
|
+
"van-progress/pivot-text": {
|
2384
|
+
"type": "string",
|
2385
|
+
"description": "进度文字内容, 默认值: 百分比"
|
2386
|
+
},
|
2387
|
+
"van-progress/pivot-color": {
|
2388
|
+
"type": "string",
|
2389
|
+
"description": "进度文字背景色, 默认值: 同进度条颜色"
|
2390
|
+
},
|
2391
|
+
"van-progress/text-color": {
|
2392
|
+
"type": "string",
|
2393
|
+
"description": "进度文字颜色, 默认值: `white`"
|
2394
|
+
},
|
2395
|
+
"van-progress/inactive": {
|
2396
|
+
"type": "boolean",
|
2397
|
+
"description": "是否置灰, 默认值: `false`"
|
2398
|
+
},
|
2399
|
+
"van-progress/show-pivot": {
|
2400
|
+
"type": "boolean",
|
2401
|
+
"description": "是否显示进度文字, 默认值: `true`"
|
2402
|
+
},
|
2380
2403
|
"van-pull-refresh/v-model": {
|
2381
2404
|
"type": "boolean",
|
2382
2405
|
"description": "是否处于加载中状态, 默认值: -"
|
@@ -2465,76 +2488,61 @@
|
|
2465
2488
|
"type": "string",
|
2466
2489
|
"description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
|
2467
2490
|
},
|
2468
|
-
"van-
|
2469
|
-
"type": "
|
2470
|
-
"description": "
|
2491
|
+
"van-rate/v-model": {
|
2492
|
+
"type": "number",
|
2493
|
+
"description": "当前分值, 默认值: -"
|
2471
2494
|
},
|
2472
|
-
"van-
|
2473
|
-
"type": "
|
2474
|
-
"description": "
|
2495
|
+
"van-rate/count": {
|
2496
|
+
"type": "number | string",
|
2497
|
+
"description": "图标总数, 默认值: `5`"
|
2475
2498
|
},
|
2476
|
-
"van-
|
2477
|
-
"type": "string",
|
2478
|
-
"description": "
|
2499
|
+
"van-rate/size": {
|
2500
|
+
"type": "number | string",
|
2501
|
+
"description": "图标大小,默认单位为`px`, 默认值: `20px`"
|
2479
2502
|
},
|
2480
|
-
"van-
|
2481
|
-
"type": "string",
|
2482
|
-
"description": "
|
2503
|
+
"van-rate/gutter": {
|
2504
|
+
"type": "number | string",
|
2505
|
+
"description": "图标间距,默认单位为`px`, 默认值: `4px`"
|
2483
2506
|
},
|
2484
|
-
"van-
|
2507
|
+
"van-rate/color": {
|
2485
2508
|
"type": "string",
|
2486
|
-
"description": "
|
2487
|
-
},
|
2488
|
-
"van-share-sheet/duration": {
|
2489
|
-
"type": "number | string",
|
2490
|
-
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
2509
|
+
"description": "选中时的颜色, 默认值: `#ee0a24`"
|
2491
2510
|
},
|
2492
|
-
"van-
|
2493
|
-
"type": "
|
2494
|
-
"description": "
|
2511
|
+
"van-rate/void-color": {
|
2512
|
+
"type": "string",
|
2513
|
+
"description": "未选中时的颜色, 默认值: `#c8c9cc`"
|
2495
2514
|
},
|
2496
|
-
"van-
|
2497
|
-
"type": "
|
2498
|
-
"description": "
|
2515
|
+
"van-rate/disabled-color": {
|
2516
|
+
"type": "string",
|
2517
|
+
"description": "禁用时的颜色, 默认值: `#c8c9cc`"
|
2499
2518
|
},
|
2500
|
-
"van-
|
2501
|
-
"type": "string
|
2502
|
-
"description": "
|
2503
|
-
"options": [
|
2504
|
-
"-"
|
2505
|
-
]
|
2519
|
+
"van-rate/icon": {
|
2520
|
+
"type": "string",
|
2521
|
+
"description": "选中时的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `star`"
|
2506
2522
|
},
|
2507
|
-
"van-
|
2508
|
-
"type": "
|
2509
|
-
"description": "
|
2523
|
+
"van-rate/void-icon": {
|
2524
|
+
"type": "string",
|
2525
|
+
"description": "未选中时的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `star-o`"
|
2510
2526
|
},
|
2511
|
-
"van-
|
2512
|
-
"type": "
|
2513
|
-
"description": "
|
2527
|
+
"van-rate/icon-prefix": {
|
2528
|
+
"type": "string",
|
2529
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
2514
2530
|
},
|
2515
|
-
"van-
|
2531
|
+
"van-rate/allow-half": {
|
2516
2532
|
"type": "boolean",
|
2517
|
-
"description": "
|
2533
|
+
"description": "是否允许半选, 默认值: `false`"
|
2518
2534
|
},
|
2519
|
-
"van-
|
2535
|
+
"van-rate/readonly": {
|
2520
2536
|
"type": "boolean",
|
2521
|
-
"description": "
|
2537
|
+
"description": "是否为只读状态,只读状态下无法修改评分, 默认值: `false`"
|
2522
2538
|
},
|
2523
|
-
"van-
|
2539
|
+
"van-rate/disabled": {
|
2524
2540
|
"type": "boolean",
|
2525
|
-
"description": "
|
2541
|
+
"description": "是否禁用评分, 默认值: `false`"
|
2526
2542
|
},
|
2527
|
-
"van-
|
2543
|
+
"van-rate/touchable": {
|
2528
2544
|
"type": "boolean",
|
2529
|
-
"description": "
|
2530
|
-
},
|
2531
|
-
"van-share-sheet/teleport": {
|
2532
|
-
"type": "string | Element",
|
2533
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
2534
|
-
},
|
2535
|
-
"van-share-sheet/before-close": {
|
2536
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
2537
|
-
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
2545
|
+
"description": "是否可以通过滑动手势选择评分, 默认值: `true`"
|
2538
2546
|
},
|
2539
2547
|
"van-search/v-model": {
|
2540
2548
|
"type": "number | string",
|
@@ -2574,7 +2582,7 @@
|
|
2574
2582
|
},
|
2575
2583
|
"van-search/clear-icon": {
|
2576
2584
|
"type": "string",
|
2577
|
-
"description": "
|
2585
|
+
"description": "清除图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `clear`"
|
2578
2586
|
},
|
2579
2587
|
"van-search/clear-trigger": {
|
2580
2588
|
"type": "string",
|
@@ -2622,123 +2630,86 @@
|
|
2622
2630
|
},
|
2623
2631
|
"van-search/left-icon": {
|
2624
2632
|
"type": "string",
|
2625
|
-
"description": "
|
2633
|
+
"description": "输入框左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `search`"
|
2626
2634
|
},
|
2627
2635
|
"van-search/right-icon": {
|
2628
2636
|
"type": "string",
|
2629
|
-
"description": "
|
2637
|
+
"description": "输入框右侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
2630
2638
|
},
|
2631
2639
|
"van-search/autocomplete": {
|
2632
2640
|
"type": "string",
|
2633
2641
|
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
2634
2642
|
},
|
2635
|
-
"van-
|
2636
|
-
"type": "
|
2637
|
-
"description": "
|
2638
|
-
},
|
2639
|
-
"van-rate/count": {
|
2640
|
-
"type": "number | string",
|
2641
|
-
"description": "图标总数, 默认值: `5`"
|
2642
|
-
},
|
2643
|
-
"van-rate/size": {
|
2644
|
-
"type": "number | string",
|
2645
|
-
"description": "图标大小,默认单位为`px`, 默认值: `20px`"
|
2646
|
-
},
|
2647
|
-
"van-rate/gutter": {
|
2648
|
-
"type": "number | string",
|
2649
|
-
"description": "图标间距,默认单位为`px`, 默认值: `4px`"
|
2650
|
-
},
|
2651
|
-
"van-rate/color": {
|
2652
|
-
"type": "string",
|
2653
|
-
"description": "选中时的颜色, 默认值: `#ee0a24`"
|
2654
|
-
},
|
2655
|
-
"van-rate/void-color": {
|
2656
|
-
"type": "string",
|
2657
|
-
"description": "未选中时的颜色, 默认值: `#c8c9cc`"
|
2643
|
+
"van-share-sheet/v-model:show": {
|
2644
|
+
"type": "boolean",
|
2645
|
+
"description": "是否显示分享面板, 默认值: `false`"
|
2658
2646
|
},
|
2659
|
-
"van-
|
2660
|
-
"type": "
|
2661
|
-
"description": "
|
2647
|
+
"van-share-sheet/options": {
|
2648
|
+
"type": "Option[]",
|
2649
|
+
"description": "分享选项, 默认值: `[]`"
|
2662
2650
|
},
|
2663
|
-
"van-
|
2651
|
+
"van-share-sheet/title": {
|
2664
2652
|
"type": "string",
|
2665
|
-
"description": "
|
2653
|
+
"description": "顶部标题, 默认值: -"
|
2666
2654
|
},
|
2667
|
-
"van-
|
2655
|
+
"van-share-sheet/cancel-text": {
|
2668
2656
|
"type": "string",
|
2669
|
-
"description": "
|
2657
|
+
"description": "取消按钮文字,传入空字符串可以隐藏按钮, 默认值: `'取消'`"
|
2670
2658
|
},
|
2671
|
-
"van-
|
2659
|
+
"van-share-sheet/description": {
|
2672
2660
|
"type": "string",
|
2673
|
-
"description": "
|
2674
|
-
},
|
2675
|
-
"van-rate/allow-half": {
|
2676
|
-
"type": "boolean",
|
2677
|
-
"description": "是否允许半选, 默认值: `false`"
|
2661
|
+
"description": "标题下方的辅助描述文字, 默认值: -"
|
2678
2662
|
},
|
2679
|
-
"van-
|
2680
|
-
"type": "
|
2681
|
-
"description": "
|
2663
|
+
"van-share-sheet/duration": {
|
2664
|
+
"type": "number | string",
|
2665
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
2682
2666
|
},
|
2683
|
-
"van-
|
2667
|
+
"van-share-sheet/round": {
|
2684
2668
|
"type": "boolean",
|
2685
|
-
"description": "
|
2669
|
+
"description": "是否显示圆角, 默认值: `true`"
|
2686
2670
|
},
|
2687
|
-
"van-
|
2671
|
+
"van-share-sheet/overlay": {
|
2688
2672
|
"type": "boolean",
|
2689
|
-
"description": "
|
2690
|
-
},
|
2691
|
-
"van-slider/v-model": {
|
2692
|
-
"type": "number | [number, number]",
|
2693
|
-
"description": "当前进度百分比,在双滑块模式下为数组格式, 默认值: `0`"
|
2694
|
-
},
|
2695
|
-
"van-slider/max": {
|
2696
|
-
"type": "number | string",
|
2697
|
-
"description": "最大值, 默认值: `100`"
|
2698
|
-
},
|
2699
|
-
"van-slider/min": {
|
2700
|
-
"type": "number | string",
|
2701
|
-
"description": "最小值, 默认值: `0`"
|
2702
|
-
},
|
2703
|
-
"van-slider/step": {
|
2704
|
-
"type": "number | string",
|
2705
|
-
"description": "步长, 默认值: `1`"
|
2706
|
-
},
|
2707
|
-
"van-slider/bar-height": {
|
2708
|
-
"type": "number | string",
|
2709
|
-
"description": "进度条高度,默认单位为 `px`, 默认值: `2px`"
|
2710
|
-
},
|
2711
|
-
"van-slider/button-size": {
|
2712
|
-
"type": "number | string",
|
2713
|
-
"description": "滑块按钮大小,默认单位为 `px`, 默认值: `24px`"
|
2673
|
+
"description": "是否显示遮罩层, 默认值: `true`"
|
2714
2674
|
},
|
2715
|
-
"van-
|
2716
|
-
"type": "string",
|
2717
|
-
"description": "
|
2675
|
+
"van-share-sheet/overlay-class": {
|
2676
|
+
"type": "string | Array \\",
|
2677
|
+
"description": "自定义遮罩层类名, 默认值: object_",
|
2678
|
+
"options": [
|
2679
|
+
"-"
|
2680
|
+
]
|
2718
2681
|
},
|
2719
|
-
"van-
|
2720
|
-
"type": "
|
2721
|
-
"description": "
|
2682
|
+
"van-share-sheet/overlay-style": {
|
2683
|
+
"type": "object",
|
2684
|
+
"description": "自定义遮罩层样式, 默认值: -"
|
2722
2685
|
},
|
2723
|
-
"van-
|
2686
|
+
"van-share-sheet/lock-scroll": {
|
2724
2687
|
"type": "boolean",
|
2725
|
-
"description": "
|
2688
|
+
"description": "是否锁定背景滚动, 默认值: `true`"
|
2726
2689
|
},
|
2727
|
-
"van-
|
2728
|
-
"type": "
|
2729
|
-
"description": "
|
2690
|
+
"van-share-sheet/lazy-render": {
|
2691
|
+
"type": "boolean",
|
2692
|
+
"description": "是否在显示弹层时才渲染内容, 默认值: `true`"
|
2730
2693
|
},
|
2731
|
-
"van-
|
2694
|
+
"van-share-sheet/close-on-popstate": {
|
2732
2695
|
"type": "boolean",
|
2733
|
-
"description": "
|
2696
|
+
"description": "是否在页面回退时自动关闭, 默认值: `true`"
|
2734
2697
|
},
|
2735
|
-
"van-
|
2698
|
+
"van-share-sheet/close-on-click-overlay": {
|
2736
2699
|
"type": "boolean",
|
2737
|
-
"description": "
|
2700
|
+
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
2738
2701
|
},
|
2739
|
-
"van-
|
2702
|
+
"van-share-sheet/safe-area-inset-bottom": {
|
2740
2703
|
"type": "boolean",
|
2741
|
-
"description": "
|
2704
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
2705
|
+
},
|
2706
|
+
"van-share-sheet/teleport": {
|
2707
|
+
"type": "string | Element",
|
2708
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
2709
|
+
},
|
2710
|
+
"van-share-sheet/before-close": {
|
2711
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
2712
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
2742
2713
|
},
|
2743
2714
|
"van-sidebar/v-model": {
|
2744
2715
|
"type": "number | string",
|
@@ -2756,6 +2727,10 @@
|
|
2756
2727
|
"type": "number | string",
|
2757
2728
|
"description": "图标右上角徽标的内容, 默认值: -"
|
2758
2729
|
},
|
2730
|
+
"van-sidebar-item/badge-props": {
|
2731
|
+
"type": "BadgeProps",
|
2732
|
+
"description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props), 默认值: -"
|
2733
|
+
},
|
2759
2734
|
"van-sidebar-item/disabled": {
|
2760
2735
|
"type": "boolean",
|
2761
2736
|
"description": "是否禁用该项, 默认值: `false`"
|
@@ -2815,6 +2790,58 @@
|
|
2815
2790
|
"type": "string",
|
2816
2791
|
"description": "头像占位图形状,可选值为 `square`, 默认值: `round`"
|
2817
2792
|
},
|
2793
|
+
"van-slider/v-model": {
|
2794
|
+
"type": "number | [number, number]",
|
2795
|
+
"description": "当前进度百分比,在双滑块模式下为数组格式, 默认值: `0`"
|
2796
|
+
},
|
2797
|
+
"van-slider/max": {
|
2798
|
+
"type": "number | string",
|
2799
|
+
"description": "最大值, 默认值: `100`"
|
2800
|
+
},
|
2801
|
+
"van-slider/min": {
|
2802
|
+
"type": "number | string",
|
2803
|
+
"description": "最小值, 默认值: `0`"
|
2804
|
+
},
|
2805
|
+
"van-slider/step": {
|
2806
|
+
"type": "number | string",
|
2807
|
+
"description": "步长, 默认值: `1`"
|
2808
|
+
},
|
2809
|
+
"van-slider/bar-height": {
|
2810
|
+
"type": "number | string",
|
2811
|
+
"description": "进度条高度,默认单位为 `px`, 默认值: `2px`"
|
2812
|
+
},
|
2813
|
+
"van-slider/button-size": {
|
2814
|
+
"type": "number | string",
|
2815
|
+
"description": "滑块按钮大小,默认单位为 `px`, 默认值: `24px`"
|
2816
|
+
},
|
2817
|
+
"van-slider/active-color": {
|
2818
|
+
"type": "string",
|
2819
|
+
"description": "进度条激活态颜色, 默认值: `#1989fa`"
|
2820
|
+
},
|
2821
|
+
"van-slider/inactive-color": {
|
2822
|
+
"type": "string",
|
2823
|
+
"description": "进度条非激活态颜色, 默认值: `#e5e5e5`"
|
2824
|
+
},
|
2825
|
+
"van-slider/range": {
|
2826
|
+
"type": "boolean",
|
2827
|
+
"description": "是否开启双滑块模式, 默认值: `false`"
|
2828
|
+
},
|
2829
|
+
"van-slider/reverse": {
|
2830
|
+
"type": "`false`",
|
2831
|
+
"description": "是否将进度条反转, 默认值: undefined"
|
2832
|
+
},
|
2833
|
+
"van-slider/disabled": {
|
2834
|
+
"type": "boolean",
|
2835
|
+
"description": "是否禁用滑块, 默认值: `false`"
|
2836
|
+
},
|
2837
|
+
"van-slider/readonly": {
|
2838
|
+
"type": "boolean",
|
2839
|
+
"description": "是否为只读状态,只读状态下无法修改滑块的值, 默认值: `false`"
|
2840
|
+
},
|
2841
|
+
"van-slider/vertical": {
|
2842
|
+
"type": "boolean",
|
2843
|
+
"description": "是否垂直展示, 默认值: `false`"
|
2844
|
+
},
|
2818
2845
|
"van-stepper/v-model": {
|
2819
2846
|
"type": "number | string",
|
2820
2847
|
"description": "当前输入的值, 默认值: -"
|
@@ -2906,26 +2933,6 @@
|
|
2906
2933
|
"type": "boolean",
|
2907
2934
|
"description": "是否允许输入的值为空, 默认值: `false`"
|
2908
2935
|
},
|
2909
|
-
"van-sticky/position": {
|
2910
|
-
"type": "string",
|
2911
|
-
"description": "吸附位置,可选值为 `bottom`, 默认值: `top`"
|
2912
|
-
},
|
2913
|
-
"van-sticky/offset-top": {
|
2914
|
-
"type": "number | string",
|
2915
|
-
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2916
|
-
},
|
2917
|
-
"van-sticky/offset-bottom": {
|
2918
|
-
"type": "number | string",
|
2919
|
-
"description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2920
|
-
},
|
2921
|
-
"van-sticky/z-index": {
|
2922
|
-
"type": "number | string",
|
2923
|
-
"description": "吸顶时的 z-index, 默认值: `99`"
|
2924
|
-
},
|
2925
|
-
"van-sticky/container": {
|
2926
|
-
"type": "Element",
|
2927
|
-
"description": "容器对应的 HTML 节点, 默认值: -"
|
2928
|
-
},
|
2929
2936
|
"van-steps/active": {
|
2930
2937
|
"type": "number | string",
|
2931
2938
|
"description": "当前步骤对应的索引值, 默认值: `0`"
|
@@ -2958,6 +2965,26 @@
|
|
2958
2965
|
"type": "string",
|
2959
2966
|
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
2960
2967
|
},
|
2968
|
+
"van-sticky/position": {
|
2969
|
+
"type": "string",
|
2970
|
+
"description": "吸附位置,可选值为 `bottom`, 默认值: `top`"
|
2971
|
+
},
|
2972
|
+
"van-sticky/offset-top": {
|
2973
|
+
"type": "number | string",
|
2974
|
+
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2975
|
+
},
|
2976
|
+
"van-sticky/offset-bottom": {
|
2977
|
+
"type": "number | string",
|
2978
|
+
"description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2979
|
+
},
|
2980
|
+
"van-sticky/z-index": {
|
2981
|
+
"type": "number | string",
|
2982
|
+
"description": "吸顶时的 z-index, 默认值: `99`"
|
2983
|
+
},
|
2984
|
+
"van-sticky/container": {
|
2985
|
+
"type": "Element",
|
2986
|
+
"description": "容器对应的 HTML 节点, 默认值: -"
|
2987
|
+
},
|
2961
2988
|
"van-submit-bar/price": {
|
2962
2989
|
"type": "number",
|
2963
2990
|
"description": "金额(单位分), 默认值: -"
|
@@ -2996,7 +3023,7 @@
|
|
2996
3023
|
},
|
2997
3024
|
"van-submit-bar/tip-icon": {
|
2998
3025
|
"type": "string",
|
2999
|
-
"description": "
|
3026
|
+
"description": "提示文案左侧的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
3000
3027
|
},
|
3001
3028
|
"van-submit-bar/currency": {
|
3002
3029
|
"type": "string",
|
@@ -3014,30 +3041,6 @@
|
|
3014
3041
|
"type": "boolean",
|
3015
3042
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
3016
3043
|
},
|
3017
|
-
"van-swipe-cell/name": {
|
3018
|
-
"type": "number | string",
|
3019
|
-
"description": "标识符,可以在事件参数中获取到, 默认值: `''`"
|
3020
|
-
},
|
3021
|
-
"van-swipe-cell/left-width": {
|
3022
|
-
"type": "number | string",
|
3023
|
-
"description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
|
3024
|
-
},
|
3025
|
-
"van-swipe-cell/right-width": {
|
3026
|
-
"type": "number | string",
|
3027
|
-
"description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
|
3028
|
-
},
|
3029
|
-
"van-swipe-cell/before-close": {
|
3030
|
-
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3031
|
-
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
3032
|
-
},
|
3033
|
-
"van-swipe-cell/disabled": {
|
3034
|
-
"type": "boolean",
|
3035
|
-
"description": "是否禁用滑动, 默认值: `false`"
|
3036
|
-
},
|
3037
|
-
"van-swipe-cell/stop-propagation": {
|
3038
|
-
"type": "boolean",
|
3039
|
-
"description": "是否阻止滑动事件冒泡, 默认值: `false`"
|
3040
|
-
},
|
3041
3044
|
"van-swipe/autoplay": {
|
3042
3045
|
"type": "number | string",
|
3043
3046
|
"description": "自动轮播间隔,单位为 ms, 默认值: -"
|
@@ -3086,6 +3089,30 @@
|
|
3086
3089
|
"type": "string",
|
3087
3090
|
"description": "指示器颜色, 默认值: `#1989fa`"
|
3088
3091
|
},
|
3092
|
+
"van-swipe-cell/name": {
|
3093
|
+
"type": "number | string",
|
3094
|
+
"description": "标识符,可以在事件参数中获取到, 默认值: `''`"
|
3095
|
+
},
|
3096
|
+
"van-swipe-cell/left-width": {
|
3097
|
+
"type": "number | string",
|
3098
|
+
"description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
|
3099
|
+
},
|
3100
|
+
"van-swipe-cell/right-width": {
|
3101
|
+
"type": "number | string",
|
3102
|
+
"description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
|
3103
|
+
},
|
3104
|
+
"van-swipe-cell/before-close": {
|
3105
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3106
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
3107
|
+
},
|
3108
|
+
"van-swipe-cell/disabled": {
|
3109
|
+
"type": "boolean",
|
3110
|
+
"description": "是否禁用滑动, 默认值: `false`"
|
3111
|
+
},
|
3112
|
+
"van-swipe-cell/stop-propagation": {
|
3113
|
+
"type": "boolean",
|
3114
|
+
"description": "是否阻止滑动事件冒泡, 默认值: `false`"
|
3115
|
+
},
|
3089
3116
|
"van-switch/v-model": {
|
3090
3117
|
"type": "any",
|
3091
3118
|
"description": "开关选中状态, 默认值: `false`"
|
@@ -3162,6 +3189,10 @@
|
|
3162
3189
|
"type": "boolean",
|
3163
3190
|
"description": "是否使用粘性布局, 默认值: `false`"
|
3164
3191
|
},
|
3192
|
+
"van-tabs/shrink": {
|
3193
|
+
"type": "boolean",
|
3194
|
+
"description": "是否开启左侧收缩布局, 默认值: `false`"
|
3195
|
+
},
|
3165
3196
|
"van-tabs/swipeable": {
|
3166
3197
|
"type": "boolean",
|
3167
3198
|
"description": "是否开启手势左右滑动切换, 默认值: `false`"
|
@@ -3296,7 +3327,7 @@
|
|
3296
3327
|
},
|
3297
3328
|
"van-tabbar-item/icon": {
|
3298
3329
|
"type": "string",
|
3299
|
-
"description": "[
|
3330
|
+
"description": "图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: -"
|
3300
3331
|
},
|
3301
3332
|
"van-tabbar-item/icon-prefix": {
|
3302
3333
|
"type": "string",
|
@@ -3310,6 +3341,10 @@
|
|
3310
3341
|
"type": "number | string",
|
3311
3342
|
"description": "图标右上角徽标的内容, 默认值: -"
|
3312
3343
|
},
|
3344
|
+
"van-tabbar-item/badge-props": {
|
3345
|
+
"type": "BadgeProps",
|
3346
|
+
"description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/zh-CN/badge#props), 默认值: -"
|
3347
|
+
},
|
3313
3348
|
"van-tabbar-item/url": {
|
3314
3349
|
"type": "string",
|
3315
3350
|
"description": "点击后跳转的链接地址, 默认值: -"
|
@@ -3478,6 +3513,6 @@
|
|
3478
3513
|
},
|
3479
3514
|
"van-uploader/upload-icon": {
|
3480
3515
|
"type": "string",
|
3481
|
-
"description": "
|
3516
|
+
"description": "上传区域图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props), 默认值: `photograph`"
|
3482
3517
|
}
|
3483
3518
|
}
|