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