vant 3.4.4 → 3.4.7
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/changelog.generated.md +81 -0
- package/es/address-list/AddressListItem.d.ts +3 -2
- package/es/address-list/AddressListItem.js +1 -1
- package/es/badge/Badge.d.ts +4 -3
- package/es/badge/index.d.ts +2 -2
- package/es/calendar/Calendar.d.ts +4 -0
- package/es/calendar/Calendar.js +3 -1
- package/es/calendar/index.d.ts +3 -0
- package/es/calendar/types.d.ts +2 -1
- package/es/cascader/types.d.ts +2 -1
- package/es/checkbox/Checker.d.ts +2 -1
- package/es/collapse/Collapse.d.ts +7 -6
- package/es/collapse/index.d.ts +3 -3
- package/es/collapse-item/CollapseItem.d.ts +13 -0
- package/es/collapse-item/CollapseItem.js +3 -2
- package/es/collapse-item/index.d.ts +9 -0
- package/es/composables/use-touch.js +1 -1
- package/es/config-provider/ConfigProvider.d.ts +4 -3
- package/es/config-provider/index.d.ts +2 -2
- package/es/contact-list/ContactList.d.ts +3 -2
- package/es/coupon/Coupon.d.ts +2 -1
- package/es/coupon-list/CouponList.d.ts +3 -13
- package/es/coupon-list/CouponList.js +9 -7
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +2 -9
- package/es/coupon-list/index.less +4 -16
- package/es/coupon-list/style/index.js +1 -0
- package/es/coupon-list/style/less.js +1 -0
- package/es/coupon-list/var.less +0 -1
- package/es/datetime-picker/DatePicker.js +1 -2
- package/es/dialog/Dialog.d.ts +2 -1
- package/es/dialog/Dialog.js +19 -3
- package/es/dialog/function-call.d.ts +2 -1
- package/es/dialog/types.d.ts +2 -2
- package/es/dropdown-item/types.d.ts +2 -1
- package/es/index-bar/IndexBar.d.ts +5 -4
- package/es/index-bar/IndexBar.js +25 -4
- package/es/index-bar/index.d.ts +3 -3
- package/es/index-bar/types.d.ts +2 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- 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.js +1 -1
- package/es/locale/lang/de-DE.js +1 -1
- package/es/locale/lang/en-US.js +1 -1
- package/es/locale/lang/es-ES.js +1 -1
- package/es/locale/lang/fr-FR.js +1 -1
- package/es/locale/lang/hi-IN.js +1 -1
- package/es/locale/lang/id-ID.d.ts +64 -0
- package/es/locale/lang/id-ID.js +66 -0
- package/es/locale/lang/is-IS.d.ts +64 -0
- package/es/locale/lang/is-IS.js +74 -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.js +1 -1
- package/es/locale/lang/ko-KR.js +1 -1
- package/es/locale/lang/la-LA.d.ts +64 -0
- package/es/locale/lang/la-LA.js +66 -0
- package/es/locale/lang/nb-NO.js +1 -1
- package/es/locale/lang/pt-BR.js +1 -1
- package/es/locale/lang/ro-RO.js +1 -1
- package/es/locale/lang/ru-RU.js +1 -1
- package/es/locale/lang/sv-SE.d.ts +64 -0
- package/es/locale/lang/sv-SE.js +66 -0
- package/es/locale/lang/th-TH.js +1 -1
- 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.js +1 -1
- package/es/locale/lang/zh-HK.js +1 -1
- package/es/locale/lang/zh-TW.js +1 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/NavBar.js +3 -3
- package/es/nav-bar/index.d.ts +1 -1
- package/es/notify/types.d.ts +2 -1
- package/es/number-keyboard/NumberKeyboard.js +10 -1
- package/es/picker/types.d.ts +3 -2
- package/es/popup/Popup.d.ts +6 -1
- package/es/popup/Popup.js +14 -3
- package/es/popup/index.d.ts +5 -1
- package/es/popup/types.d.ts +5 -2
- package/es/progress/Progress.d.ts +4 -3
- package/es/progress/index.d.ts +2 -2
- package/es/skeleton/Skeleton.d.ts +5 -4
- package/es/skeleton/Skeleton.js +6 -4
- package/es/skeleton/index.d.ts +3 -3
- package/es/style/base.css +1 -1
- package/es/style/base.less +5 -0
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.less +1 -0
- package/es/swipe-cell/SwipeCell.js +1 -1
- package/es/tabbar/Tabbar.d.ts +2 -2
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.js +1 -0
- package/es/tabs/types.d.ts +5 -4
- package/es/toast/Toast.d.ts +3 -0
- package/es/toast/Toast.js +3 -1
- package/es/toast/types.d.ts +3 -2
- package/es/tree-select/TreeSelect.d.ts +7 -6
- package/es/tree-select/index.d.ts +3 -3
- package/es/uploader/Uploader.d.ts +4 -4
- package/es/uploader/Uploader.js +2 -2
- package/es/uploader/UploaderPreviewItem.d.ts +3 -3
- package/es/uploader/UploaderPreviewItem.js +9 -6
- package/es/uploader/index.d.ts +2 -2
- package/es/uploader/types.d.ts +6 -8
- package/es/utils/basic.d.ts +1 -0
- package/es/utils/format.d.ts +7 -6
- package/es/utils/format.js +6 -0
- package/es/utils/interceptor.d.ts +1 -1
- package/es/utils/validate.d.ts +2 -1
- package/lib/action-bar/ActionBar.js +14 -13
- package/lib/action-bar/index.js +14 -8
- package/lib/action-bar-button/ActionBarButton.js +18 -17
- package/lib/action-bar-button/index.js +14 -8
- package/lib/action-bar-icon/ActionBarIcon.js +18 -17
- package/lib/action-bar-icon/index.js +14 -8
- package/lib/action-sheet/ActionSheet.js +17 -16
- package/lib/action-sheet/index.js +14 -8
- package/lib/address-edit/AddressEdit.js +25 -19
- package/lib/address-edit/AddressEditDetail.js +15 -14
- package/lib/address-edit/index.js +14 -8
- package/lib/address-edit/types.js +18 -1
- package/lib/address-list/AddressList.js +18 -12
- package/lib/address-list/AddressListItem.d.ts +3 -2
- package/lib/address-list/AddressListItem.js +17 -16
- package/lib/address-list/index.js +14 -8
- package/lib/area/Area.js +17 -16
- package/lib/area/index.js +14 -8
- package/lib/area/types.js +18 -1
- package/lib/badge/Badge.d.ts +4 -3
- package/lib/badge/Badge.js +13 -12
- package/lib/badge/index.d.ts +2 -2
- package/lib/badge/index.js +14 -8
- package/lib/button/Button.js +16 -15
- package/lib/button/index.js +14 -8
- package/lib/button/types.js +18 -1
- package/lib/calendar/Calendar.d.ts +4 -0
- package/lib/calendar/Calendar.js +27 -19
- package/lib/calendar/CalendarDay.js +14 -13
- package/lib/calendar/CalendarHeader.js +14 -13
- package/lib/calendar/CalendarMonth.js +21 -15
- package/lib/calendar/index.d.ts +3 -0
- package/lib/calendar/index.js +14 -8
- package/lib/calendar/types.d.ts +2 -1
- package/lib/calendar/types.js +18 -1
- package/lib/calendar/utils.js +11 -10
- package/lib/card/Card.js +15 -14
- package/lib/card/index.js +14 -8
- package/lib/cascader/Cascader.js +16 -15
- package/lib/cascader/index.js +14 -8
- package/lib/cascader/types.d.ts +2 -1
- package/lib/cascader/types.js +18 -1
- package/lib/cell/Cell.js +15 -14
- package/lib/cell/index.js +14 -8
- package/lib/cell-group/CellGroup.js +13 -12
- package/lib/cell-group/index.js +14 -8
- package/lib/checkbox/Checkbox.js +19 -13
- package/lib/checkbox/Checker.d.ts +2 -1
- package/lib/checkbox/Checker.js +14 -13
- package/lib/checkbox/index.js +14 -8
- package/lib/checkbox/types.js +18 -1
- package/lib/checkbox-group/CheckboxGroup.js +15 -14
- package/lib/checkbox-group/index.js +14 -8
- package/lib/checkbox-group/types.js +18 -1
- package/lib/circle/Circle.js +14 -13
- package/lib/circle/index.js +14 -8
- package/lib/col/Col.js +15 -14
- package/lib/col/index.js +14 -8
- package/lib/collapse/Collapse.d.ts +7 -6
- package/lib/collapse/Collapse.js +14 -13
- package/lib/collapse/index.d.ts +3 -3
- package/lib/collapse/index.js +14 -8
- package/lib/collapse-item/CollapseItem.d.ts +13 -0
- package/lib/collapse-item/CollapseItem.js +22 -20
- package/lib/collapse-item/index.d.ts +9 -0
- 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 +12 -11
- 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 +12 -11
- package/lib/composables/use-visibility-change.js +13 -12
- package/lib/config-provider/ConfigProvider.d.ts +4 -3
- package/lib/config-provider/ConfigProvider.js +13 -12
- package/lib/config-provider/index.d.ts +2 -2
- package/lib/config-provider/index.js +14 -8
- package/lib/contact-card/ContactCard.js +14 -13
- package/lib/contact-card/index.js +14 -8
- package/lib/contact-edit/ContactEdit.js +18 -17
- package/lib/contact-edit/index.js +14 -8
- package/lib/contact-list/ContactList.d.ts +3 -2
- package/lib/contact-list/ContactList.js +19 -18
- package/lib/contact-list/index.js +14 -8
- package/lib/count-down/CountDown.js +16 -15
- 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 +2 -1
- package/lib/coupon/Coupon.js +15 -14
- package/lib/coupon/index.js +14 -8
- package/lib/coupon/utils.js +11 -10
- package/lib/coupon-cell/CouponCell.js +14 -13
- package/lib/coupon-cell/index.js +14 -8
- package/lib/coupon-list/CouponList.d.ts +3 -13
- package/lib/coupon-list/CouponList.js +29 -26
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +2 -9
- package/lib/coupon-list/index.js +14 -8
- package/lib/coupon-list/index.less +4 -16
- package/lib/coupon-list/style/index.js +1 -0
- package/lib/coupon-list/style/less.js +1 -0
- package/lib/coupon-list/var.less +0 -1
- package/lib/datetime-picker/DatePicker.js +17 -17
- package/lib/datetime-picker/DatetimePicker.js +18 -12
- 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 +2 -1
- package/lib/dialog/Dialog.js +35 -18
- package/lib/dialog/function-call.d.ts +2 -1
- package/lib/dialog/function-call.js +16 -10
- package/lib/dialog/index.js +11 -10
- package/lib/dialog/types.d.ts +2 -2
- package/lib/dialog/types.js +18 -1
- package/lib/divider/Divider.js +13 -12
- package/lib/divider/index.js +14 -8
- package/lib/dropdown-item/DropdownItem.js +19 -18
- package/lib/dropdown-item/index.js +14 -8
- package/lib/dropdown-item/types.d.ts +2 -1
- package/lib/dropdown-item/types.js +18 -1
- package/lib/dropdown-menu/DropdownMenu.js +15 -14
- package/lib/dropdown-menu/index.js +14 -8
- package/lib/dropdown-menu/types.js +18 -1
- package/lib/empty/Empty.js +14 -13
- package/lib/empty/Network.js +11 -10
- package/lib/empty/index.js +14 -8
- package/lib/field/Field.js +20 -19
- package/lib/field/index.js +14 -8
- package/lib/field/types.js +18 -1
- package/lib/field/utils.js +11 -10
- package/lib/form/Form.js +15 -14
- package/lib/form/index.js +14 -8
- package/lib/form/types.js +18 -1
- package/lib/grid/Grid.js +15 -14
- package/lib/grid/index.js +14 -8
- package/lib/grid-item/GridItem.js +18 -17
- package/lib/grid-item/index.js +14 -8
- package/lib/icon/Icon.js +15 -14
- package/lib/icon/index.js +14 -8
- package/lib/image/Image.js +14 -13
- package/lib/image/index.js +14 -8
- package/lib/image-preview/ImagePreview.js +21 -15
- package/lib/image-preview/ImagePreviewItem.js +17 -16
- package/lib/image-preview/function-call.js +16 -10
- package/lib/image-preview/index.js +11 -10
- package/lib/image-preview/types.js +18 -1
- package/lib/index-anchor/IndexAnchor.js +17 -16
- package/lib/index-anchor/index.js +14 -8
- package/lib/index-bar/IndexBar.d.ts +5 -4
- package/lib/index-bar/IndexBar.js +41 -19
- package/lib/index-bar/index.d.ts +3 -3
- package/lib/index-bar/index.js +14 -8
- package/lib/index-bar/types.d.ts +2 -1
- 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/index.less +2 -2
- 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.js +17 -16
- package/lib/list/index.js +14 -8
- package/lib/list/types.js +18 -1
- package/lib/loading/Loading.js +13 -12
- 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.js +20 -3
- package/lib/locale/lang/de-DE.js +20 -3
- package/lib/locale/lang/en-US.js +20 -3
- package/lib/locale/lang/es-ES.js +20 -3
- package/lib/locale/lang/fr-FR.js +20 -3
- package/lib/locale/lang/hi-IN.js +20 -3
- package/lib/locale/lang/id-ID.d.ts +64 -0
- package/lib/locale/lang/id-ID.js +90 -0
- package/lib/locale/lang/is-IS.d.ts +64 -0
- package/lib/locale/lang/is-IS.js +98 -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.js +20 -3
- package/lib/locale/lang/ko-KR.js +20 -3
- package/lib/locale/lang/la-LA.d.ts +64 -0
- package/lib/locale/lang/la-LA.js +90 -0
- package/lib/locale/lang/nb-NO.js +20 -3
- package/lib/locale/lang/pt-BR.js +20 -3
- package/lib/locale/lang/ro-RO.js +20 -3
- package/lib/locale/lang/ru-RU.js +20 -3
- package/lib/locale/lang/sv-SE.d.ts +64 -0
- package/lib/locale/lang/sv-SE.js +90 -0
- package/lib/locale/lang/th-TH.js +20 -3
- package/lib/locale/lang/tr-TR.js +19 -2
- 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.js +20 -3
- package/lib/locale/lang/zh-HK.js +20 -3
- package/lib/locale/lang/zh-TW.js +20 -3
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/NavBar.js +18 -17
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/nav-bar/index.js +14 -8
- package/lib/notice-bar/NoticeBar.js +17 -16
- package/lib/notice-bar/index.js +14 -8
- package/lib/notice-bar/types.js +18 -1
- package/lib/notify/Notify.js +15 -14
- package/lib/notify/function-call.js +16 -10
- package/lib/notify/index.js +11 -10
- package/lib/notify/types.d.ts +2 -1
- package/lib/notify/types.js +18 -1
- package/lib/number-keyboard/NumberKeyboard.js +27 -12
- package/lib/number-keyboard/NumberKeyboardKey.js +15 -14
- package/lib/number-keyboard/index.js +14 -8
- package/lib/overlay/Overlay.js +14 -13
- package/lib/overlay/index.js +14 -8
- package/lib/pagination/Pagination.js +13 -12
- package/lib/pagination/index.js +14 -8
- package/lib/password-input/PasswordInput.js +13 -12
- package/lib/password-input/index.js +14 -8
- package/lib/picker/Picker.js +19 -13
- package/lib/picker/PickerColumn.js +17 -16
- package/lib/picker/index.js +14 -8
- package/lib/picker/types.d.ts +3 -2
- package/lib/picker/types.js +18 -1
- package/lib/popover/Popover.js +17 -16
- package/lib/popover/index.js +14 -8
- package/lib/popover/types.js +18 -1
- package/lib/popup/Popup.d.ts +6 -1
- package/lib/popup/Popup.js +34 -22
- package/lib/popup/index.d.ts +5 -1
- package/lib/popup/index.js +14 -8
- 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 +4 -3
- package/lib/progress/Progress.js +13 -12
- package/lib/progress/index.d.ts +2 -2
- package/lib/progress/index.js +14 -8
- package/lib/progress/types.js +18 -1
- package/lib/pull-refresh/PullRefresh.js +16 -15
- package/lib/pull-refresh/index.js +14 -8
- package/lib/radio/Radio.js +18 -12
- package/lib/radio/index.js +14 -8
- package/lib/radio-group/RadioGroup.js +14 -13
- package/lib/radio-group/index.js +14 -8
- package/lib/rate/Rate.js +17 -16
- package/lib/rate/index.js +14 -8
- package/lib/row/Row.js +14 -13
- package/lib/row/index.js +14 -8
- package/lib/search/Search.js +17 -16
- package/lib/search/index.js +14 -8
- package/lib/search/types.js +18 -1
- package/lib/share-sheet/ShareSheet.js +15 -14
- package/lib/share-sheet/index.js +14 -8
- package/lib/sidebar/Sidebar.js +14 -13
- package/lib/sidebar/index.js +14 -8
- package/lib/sidebar-item/SidebarItem.js +17 -16
- package/lib/sidebar-item/index.js +14 -8
- package/lib/skeleton/Skeleton.d.ts +5 -4
- package/lib/skeleton/Skeleton.js +18 -15
- package/lib/skeleton/index.d.ts +3 -3
- package/lib/skeleton/index.js +14 -8
- package/lib/slider/Slider.js +15 -14
- package/lib/slider/index.js +14 -8
- package/lib/step/Step.js +16 -15
- package/lib/step/index.js +14 -8
- package/lib/stepper/Stepper.js +14 -13
- package/lib/stepper/index.js +14 -8
- package/lib/steps/Steps.js +14 -13
- package/lib/steps/index.js +14 -8
- package/lib/sticky/Sticky.js +15 -14
- package/lib/sticky/index.js +14 -8
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +5 -0
- package/lib/submit-bar/SubmitBar.js +15 -14
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.js +14 -8
- package/lib/submit-bar/index.less +1 -0
- package/lib/swipe/Swipe.js +17 -16
- package/lib/swipe/index.js +14 -8
- package/lib/swipe/types.js +18 -1
- package/lib/swipe-cell/SwipeCell.js +17 -16
- package/lib/swipe-cell/index.js +14 -8
- package/lib/swipe-cell/types.js +18 -1
- package/lib/swipe-item/SwipeItem.js +16 -15
- package/lib/swipe-item/index.js +14 -8
- package/lib/switch/Switch.js +15 -14
- package/lib/switch/index.js +14 -8
- package/lib/tab/Tab.js +20 -19
- package/lib/tab/index.js +14 -8
- package/lib/tabbar/Tabbar.d.ts +2 -2
- package/lib/tabbar/Tabbar.js +15 -14
- package/lib/tabbar/index.js +14 -8
- package/lib/tabbar-item/TabbarItem.js +18 -17
- package/lib/tabbar-item/index.js +14 -8
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +26 -19
- package/lib/tabs/TabsContent.js +14 -13
- package/lib/tabs/TabsTitle.js +14 -13
- package/lib/tabs/index.js +14 -8
- package/lib/tabs/types.d.ts +5 -4
- package/lib/tabs/types.js +18 -1
- package/lib/tabs/utils.js +12 -11
- package/lib/tag/Tag.js +14 -13
- package/lib/tag/index.js +14 -8
- package/lib/toast/Toast.d.ts +3 -0
- package/lib/toast/Toast.js +20 -17
- package/lib/toast/function-call.js +17 -11
- package/lib/toast/index.js +11 -10
- package/lib/toast/lock-click.js +19 -2
- package/lib/toast/types.d.ts +3 -2
- package/lib/toast/types.js +18 -1
- package/lib/tree-select/TreeSelect.d.ts +7 -6
- package/lib/tree-select/TreeSelect.js +16 -15
- package/lib/tree-select/index.d.ts +3 -3
- package/lib/tree-select/index.js +14 -8
- package/lib/uploader/Uploader.d.ts +4 -4
- package/lib/uploader/Uploader.js +22 -16
- package/lib/uploader/UploaderPreviewItem.d.ts +3 -3
- package/lib/uploader/UploaderPreviewItem.js +26 -22
- package/lib/uploader/index.d.ts +2 -2
- package/lib/uploader/index.js +14 -8
- package/lib/uploader/types.d.ts +6 -8
- package/lib/uploader/types.js +18 -1
- package/lib/uploader/utils.js +11 -10
- package/lib/utils/basic.d.ts +1 -0
- 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.d.ts +7 -6
- package/lib/utils/format.js +19 -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.d.ts +2 -1
- package/lib/utils/validate.js +11 -10
- package/lib/utils/with-install.js +11 -10
- package/lib/vant.cjs.js +317 -243
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +318 -244
- package/lib/vant.es.min.js +318 -244
- package/lib/vant.js +320 -246
- package/lib/vant.min.js +1 -1
- package/package.json +2 -2
- package/vetur/attributes.json +631 -616
- package/vetur/tags.json +220 -217
- package/vetur/web-types.json +2358 -2326
package/vetur/attributes.json
CHANGED
@@ -86,6 +86,153 @@
|
|
86
86
|
"type": "boolean",
|
87
87
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
88
88
|
},
|
89
|
+
"van-address-edit/area-list": {
|
90
|
+
"type": "object",
|
91
|
+
"description": "Area List, Default: -"
|
92
|
+
},
|
93
|
+
"van-address-edit/area-columns-placeholder": {
|
94
|
+
"type": "string[]",
|
95
|
+
"description": "placeholder of area columns, Default: `[]`"
|
96
|
+
},
|
97
|
+
"van-address-edit/area-placeholder": {
|
98
|
+
"type": "string",
|
99
|
+
"description": "placeholder of area input field, Default: `Area`"
|
100
|
+
},
|
101
|
+
"van-address-edit/address-info": {
|
102
|
+
"type": "AddressEditInfo",
|
103
|
+
"description": "Address Info, Default: `{}`"
|
104
|
+
},
|
105
|
+
"van-address-edit/search-result": {
|
106
|
+
"type": "AddressEditSearchItem[]",
|
107
|
+
"description": "Address search result, Default: `[]`"
|
108
|
+
},
|
109
|
+
"van-address-edit/show-postal": {
|
110
|
+
"type": "boolean",
|
111
|
+
"description": "Whether to show postal field, Default: `false`"
|
112
|
+
},
|
113
|
+
"van-address-edit/show-delete": {
|
114
|
+
"type": "boolean",
|
115
|
+
"description": "Whether to show delete button, Default: `false`"
|
116
|
+
},
|
117
|
+
"van-address-edit/show-set-default": {
|
118
|
+
"type": "boolean",
|
119
|
+
"description": "Whether to show default address switch, Default: `false`"
|
120
|
+
},
|
121
|
+
"van-address-edit/show-search-result": {
|
122
|
+
"type": "boolean",
|
123
|
+
"description": "Whether to show address search result, Default: `false`"
|
124
|
+
},
|
125
|
+
"van-address-edit/show-area": {
|
126
|
+
"type": "boolean",
|
127
|
+
"description": "Whether to show area cell, Default: `true`"
|
128
|
+
},
|
129
|
+
"van-address-edit/show-detail": {
|
130
|
+
"type": "boolean",
|
131
|
+
"description": "Whether to show detail field, Default: `true`"
|
132
|
+
},
|
133
|
+
"van-address-edit/disable-area": {
|
134
|
+
"type": "boolean",
|
135
|
+
"description": "Whether to disable area select, Default: `false`"
|
136
|
+
},
|
137
|
+
"van-address-edit/save-button-text": {
|
138
|
+
"type": "string",
|
139
|
+
"description": "Save button text, Default: `Save`"
|
140
|
+
},
|
141
|
+
"van-address-edit/delete-button-text": {
|
142
|
+
"type": "string",
|
143
|
+
"description": "Delete button text, Default: `Delete`"
|
144
|
+
},
|
145
|
+
"van-address-edit/detail-rows": {
|
146
|
+
"type": "number | string",
|
147
|
+
"description": "Detail input rows, Default: `1`"
|
148
|
+
},
|
149
|
+
"van-address-edit/detail-maxlength": {
|
150
|
+
"type": "number | string",
|
151
|
+
"description": "Detail maxlength, Default: `200`"
|
152
|
+
},
|
153
|
+
"van-address-edit/is-saving": {
|
154
|
+
"type": "boolean",
|
155
|
+
"description": "Whether to show save button loading status, Default: `false`"
|
156
|
+
},
|
157
|
+
"van-address-edit/is-deleting": {
|
158
|
+
"type": "boolean",
|
159
|
+
"description": "Whether to show delete button loading status, Default: `false`"
|
160
|
+
},
|
161
|
+
"van-address-edit/tel-validator": {
|
162
|
+
"type": "(tel: string) => boolean",
|
163
|
+
"description": "The method to validate tel, Default: -"
|
164
|
+
},
|
165
|
+
"van-address-edit/tel-maxlength": {
|
166
|
+
"type": "number | string",
|
167
|
+
"description": "Tel maxlength, Default: -"
|
168
|
+
},
|
169
|
+
"van-address-edit/postal-validator": {
|
170
|
+
"type": "(tel: string) => boolean",
|
171
|
+
"description": "The method to validate postal, Default: -"
|
172
|
+
},
|
173
|
+
"van-address-edit/validator": {
|
174
|
+
"type": "(key, val) => string",
|
175
|
+
"description": "Custom validator, Default: -"
|
176
|
+
},
|
177
|
+
"van-address-list/v-model": {
|
178
|
+
"type": "string",
|
179
|
+
"description": "Id of chosen address, Default: -"
|
180
|
+
},
|
181
|
+
"van-address-list/list": {
|
182
|
+
"type": "Address[]",
|
183
|
+
"description": "Address list, Default: `[]`"
|
184
|
+
},
|
185
|
+
"van-address-list/disabled-list": {
|
186
|
+
"type": "Address[]",
|
187
|
+
"description": "Disabled address list, Default: `[]`"
|
188
|
+
},
|
189
|
+
"van-address-list/disabled-text": {
|
190
|
+
"type": "string",
|
191
|
+
"description": "Disabled text, Default: -"
|
192
|
+
},
|
193
|
+
"van-address-list/switchable": {
|
194
|
+
"type": "boolean",
|
195
|
+
"description": "Whether to allow switch address, Default: `true`"
|
196
|
+
},
|
197
|
+
"van-address-list/add-button-text": {
|
198
|
+
"type": "string",
|
199
|
+
"description": "Add button text, Default: `Add new address`"
|
200
|
+
},
|
201
|
+
"van-address-list/default-tag-text": {
|
202
|
+
"type": "string",
|
203
|
+
"description": "Default tag text, Default: -"
|
204
|
+
},
|
205
|
+
"van-badge/content": {
|
206
|
+
"type": "number | string",
|
207
|
+
"description": "Badge content, Default: -"
|
208
|
+
},
|
209
|
+
"van-badge/color": {
|
210
|
+
"type": "string",
|
211
|
+
"description": "Background color, Default: `#ee0a24`"
|
212
|
+
},
|
213
|
+
"van-badge/dot": {
|
214
|
+
"type": "boolean",
|
215
|
+
"description": "Whether to show dot, Default: `false`"
|
216
|
+
},
|
217
|
+
"van-badge/max": {
|
218
|
+
"type": "number | string",
|
219
|
+
"description": "Max value,show `{max}+` when exceed,only works when content is number, Default: -"
|
220
|
+
},
|
221
|
+
"van-badge/offset": {
|
222
|
+
"type": "[number | string, number \\",
|
223
|
+
"description": "Offset of badge dot, Default: string]_",
|
224
|
+
"options": [
|
225
|
+
"-"
|
226
|
+
]
|
227
|
+
},
|
228
|
+
"van-badge/show-zero": {
|
229
|
+
"type": "boolean",
|
230
|
+
"description": "Whether to show badge when content is zero, Default: `true`"
|
231
|
+
},
|
232
|
+
"van-badge/position": {
|
233
|
+
"type": "string",
|
234
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
235
|
+
},
|
89
236
|
"van-action-sheet/v-model:show": {
|
90
237
|
"type": "boolean",
|
91
238
|
"description": "Whether to show ActionSheet, Default: `false`"
|
@@ -221,65 +368,6 @@
|
|
221
368
|
"type": "() => boolean",
|
222
369
|
"description": "The method to validate oversea code, Default: -"
|
223
370
|
},
|
224
|
-
"van-address-list/v-model": {
|
225
|
-
"type": "string",
|
226
|
-
"description": "Id of chosen address, Default: -"
|
227
|
-
},
|
228
|
-
"van-address-list/list": {
|
229
|
-
"type": "Address[]",
|
230
|
-
"description": "Address list, Default: `[]`"
|
231
|
-
},
|
232
|
-
"van-address-list/disabled-list": {
|
233
|
-
"type": "Address[]",
|
234
|
-
"description": "Disabled address list, Default: `[]`"
|
235
|
-
},
|
236
|
-
"van-address-list/disabled-text": {
|
237
|
-
"type": "string",
|
238
|
-
"description": "Disabled text, Default: -"
|
239
|
-
},
|
240
|
-
"van-address-list/switchable": {
|
241
|
-
"type": "boolean",
|
242
|
-
"description": "Whether to allow switch address, Default: `true`"
|
243
|
-
},
|
244
|
-
"van-address-list/add-button-text": {
|
245
|
-
"type": "string",
|
246
|
-
"description": "Add button text, Default: `Add new address`"
|
247
|
-
},
|
248
|
-
"van-address-list/default-tag-text": {
|
249
|
-
"type": "string",
|
250
|
-
"description": "Default tag text, Default: -"
|
251
|
-
},
|
252
|
-
"van-badge/content": {
|
253
|
-
"type": "number | string",
|
254
|
-
"description": "Badge content, Default: -"
|
255
|
-
},
|
256
|
-
"van-badge/color": {
|
257
|
-
"type": "string",
|
258
|
-
"description": "Background color, Default: `#ee0a24`"
|
259
|
-
},
|
260
|
-
"van-badge/dot": {
|
261
|
-
"type": "boolean",
|
262
|
-
"description": "Whether to show dot, Default: `false`"
|
263
|
-
},
|
264
|
-
"van-badge/max": {
|
265
|
-
"type": "number | string",
|
266
|
-
"description": "Max value,show `{max}+` when exceed,only works when content is number, Default: -"
|
267
|
-
},
|
268
|
-
"van-badge/offset": {
|
269
|
-
"type": "[number | string, number \\",
|
270
|
-
"description": "Offset of badge dot, Default: string]_",
|
271
|
-
"options": [
|
272
|
-
"-"
|
273
|
-
]
|
274
|
-
},
|
275
|
-
"van-badge/show-zero": {
|
276
|
-
"type": "boolean",
|
277
|
-
"description": "Whether to show badge when content is zero, Default: `true`"
|
278
|
-
},
|
279
|
-
"van-badge/position": {
|
280
|
-
"type": "string",
|
281
|
-
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
282
|
-
},
|
283
371
|
"van-button/type": {
|
284
372
|
"type": "string",
|
285
373
|
"description": "Can be set to `primary` `success` `warning` `danger`, Default: `default`"
|
@@ -459,6 +547,10 @@
|
|
459
547
|
"type": "boolean",
|
460
548
|
"description": "Whether to close when overlay is clicked, Default: `true`"
|
461
549
|
},
|
550
|
+
"van-calendar/safe-area-inset-top": {
|
551
|
+
"type": "boolean",
|
552
|
+
"description": "Whether to enable top safe area adaptation, Default: `false`"
|
553
|
+
},
|
462
554
|
"van-calendar/safe-area-inset-bottom": {
|
463
555
|
"type": "boolean",
|
464
556
|
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
@@ -527,123 +619,35 @@
|
|
527
619
|
"type": "boolean",
|
528
620
|
"description": "Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
529
621
|
},
|
530
|
-
"van-
|
531
|
-
"type": "object",
|
532
|
-
"description": "Area List, Default: -"
|
533
|
-
},
|
534
|
-
"van-address-edit/area-columns-placeholder": {
|
535
|
-
"type": "string[]",
|
536
|
-
"description": "placeholder of area columns, Default: `[]`"
|
537
|
-
},
|
538
|
-
"van-address-edit/area-placeholder": {
|
622
|
+
"van-cascader/title": {
|
539
623
|
"type": "string",
|
540
|
-
"description": "
|
624
|
+
"description": "Title, Default: -"
|
541
625
|
},
|
542
|
-
"van-
|
543
|
-
"type": "
|
544
|
-
"description": "
|
626
|
+
"van-cascader/value": {
|
627
|
+
"type": "string | number",
|
628
|
+
"description": "Value of selected option, Default: -"
|
545
629
|
},
|
546
|
-
"van-
|
547
|
-
"type": "
|
548
|
-
"description": "
|
630
|
+
"van-cascader/options": {
|
631
|
+
"type": "CascaderOption[]",
|
632
|
+
"description": "Options, Default: `[]`"
|
549
633
|
},
|
550
|
-
"van-
|
551
|
-
"type": "
|
552
|
-
"description": "
|
634
|
+
"van-cascader/placeholder": {
|
635
|
+
"type": "string",
|
636
|
+
"description": "Placeholder of unselected tab, Default: `Select`"
|
553
637
|
},
|
554
|
-
"van-
|
555
|
-
"type": "
|
556
|
-
"description": "
|
638
|
+
"van-cascader/active-color": {
|
639
|
+
"type": "string",
|
640
|
+
"description": "Active color, Default: `#ee0a24`"
|
557
641
|
},
|
558
|
-
"van-
|
642
|
+
"van-cascader/swipeable": {
|
559
643
|
"type": "boolean",
|
560
|
-
"description": "Whether to
|
644
|
+
"description": "Whether to enable gestures to slide left and right, Default: `false`"
|
561
645
|
},
|
562
|
-
"van-
|
646
|
+
"van-cascader/closeable": {
|
563
647
|
"type": "boolean",
|
564
|
-
"description": "Whether to show
|
648
|
+
"description": "Whether to show close icon, Default: `true`"
|
565
649
|
},
|
566
|
-
"van-
|
567
|
-
"type": "boolean",
|
568
|
-
"description": "Whether to show area cell, Default: `true`"
|
569
|
-
},
|
570
|
-
"van-address-edit/show-detail": {
|
571
|
-
"type": "boolean",
|
572
|
-
"description": "Whether to show detail field, Default: `true`"
|
573
|
-
},
|
574
|
-
"van-address-edit/disable-area": {
|
575
|
-
"type": "boolean",
|
576
|
-
"description": "Whether to disable area select, Default: `false`"
|
577
|
-
},
|
578
|
-
"van-address-edit/save-button-text": {
|
579
|
-
"type": "string",
|
580
|
-
"description": "Save button text, Default: `Save`"
|
581
|
-
},
|
582
|
-
"van-address-edit/delete-button-text": {
|
583
|
-
"type": "string",
|
584
|
-
"description": "Delete button text, Default: `Delete`"
|
585
|
-
},
|
586
|
-
"van-address-edit/detail-rows": {
|
587
|
-
"type": "number | string",
|
588
|
-
"description": "Detail input rows, Default: `1`"
|
589
|
-
},
|
590
|
-
"van-address-edit/detail-maxlength": {
|
591
|
-
"type": "number | string",
|
592
|
-
"description": "Detail maxlength, Default: `200`"
|
593
|
-
},
|
594
|
-
"van-address-edit/is-saving": {
|
595
|
-
"type": "boolean",
|
596
|
-
"description": "Whether to show save button loading status, Default: `false`"
|
597
|
-
},
|
598
|
-
"van-address-edit/is-deleting": {
|
599
|
-
"type": "boolean",
|
600
|
-
"description": "Whether to show delete button loading status, Default: `false`"
|
601
|
-
},
|
602
|
-
"van-address-edit/tel-validator": {
|
603
|
-
"type": "(tel: string) => boolean",
|
604
|
-
"description": "The method to validate tel, Default: -"
|
605
|
-
},
|
606
|
-
"van-address-edit/tel-maxlength": {
|
607
|
-
"type": "number | string",
|
608
|
-
"description": "Tel maxlength, Default: -"
|
609
|
-
},
|
610
|
-
"van-address-edit/postal-validator": {
|
611
|
-
"type": "(tel: string) => boolean",
|
612
|
-
"description": "The method to validate postal, Default: -"
|
613
|
-
},
|
614
|
-
"van-address-edit/validator": {
|
615
|
-
"type": "(key, val) => string",
|
616
|
-
"description": "Custom validator, Default: -"
|
617
|
-
},
|
618
|
-
"van-cascader/title": {
|
619
|
-
"type": "string",
|
620
|
-
"description": "Title, Default: -"
|
621
|
-
},
|
622
|
-
"van-cascader/value": {
|
623
|
-
"type": "string | number",
|
624
|
-
"description": "Value of selected option, Default: -"
|
625
|
-
},
|
626
|
-
"van-cascader/options": {
|
627
|
-
"type": "CascaderOption[]",
|
628
|
-
"description": "Options, Default: `[]`"
|
629
|
-
},
|
630
|
-
"van-cascader/placeholder": {
|
631
|
-
"type": "string",
|
632
|
-
"description": "Placeholder of unselected tab, Default: `Select`"
|
633
|
-
},
|
634
|
-
"van-cascader/active-color": {
|
635
|
-
"type": "string",
|
636
|
-
"description": "Active color, Default: `#ee0a24`"
|
637
|
-
},
|
638
|
-
"van-cascader/swipeable": {
|
639
|
-
"type": "boolean",
|
640
|
-
"description": "Whether to enable gestures to slide left and right, Default: `false`"
|
641
|
-
},
|
642
|
-
"van-cascader/closeable": {
|
643
|
-
"type": "boolean",
|
644
|
-
"description": "Whether to show close icon, Default: `true`"
|
645
|
-
},
|
646
|
-
"van-cascader/show-header": {
|
650
|
+
"van-cascader/show-header": {
|
647
651
|
"type": "boolean",
|
648
652
|
"description": "Whether to show header, Default: `true`"
|
649
653
|
},
|
@@ -815,6 +819,38 @@
|
|
815
819
|
"type": "string",
|
816
820
|
"description": "Checked color of all checkboxes, Default: `#1989fa`"
|
817
821
|
},
|
822
|
+
"van-row/gutter": {
|
823
|
+
"type": "number | string",
|
824
|
+
"description": "Grid spacing(px), Default: -"
|
825
|
+
},
|
826
|
+
"van-row/tag": {
|
827
|
+
"type": "string",
|
828
|
+
"description": "Custom element tag, Default: `div`"
|
829
|
+
},
|
830
|
+
"van-row/justify": {
|
831
|
+
"type": "string",
|
832
|
+
"description": "Flex main axis,can be set to end/center/space-around/space-between, Default: `start`"
|
833
|
+
},
|
834
|
+
"van-row/align": {
|
835
|
+
"type": "string",
|
836
|
+
"description": "Flex cross axis, be set to center/bottom, Default: `top`"
|
837
|
+
},
|
838
|
+
"van-row/wrap": {
|
839
|
+
"type": "boolean",
|
840
|
+
"description": "Whether to wrap, Default: `true`"
|
841
|
+
},
|
842
|
+
"van-col/span": {
|
843
|
+
"type": "number | string",
|
844
|
+
"description": "number of column the grid spans, Default: -"
|
845
|
+
},
|
846
|
+
"van-col/offset": {
|
847
|
+
"type": "number | string",
|
848
|
+
"description": "number of spacing on the left side of the grid, Default: -"
|
849
|
+
},
|
850
|
+
"van-col/tag": {
|
851
|
+
"type": "string",
|
852
|
+
"description": "Custom element tag, Default: `div`"
|
853
|
+
},
|
818
854
|
"van-circle/v-model:current-rate": {
|
819
855
|
"type": "number",
|
820
856
|
"description": "Current rate, Default: -"
|
@@ -863,38 +899,6 @@
|
|
863
899
|
"type": "CircleStartPosition",
|
864
900
|
"description": "Progress start position,can be set to `left`、`right`、`bottom`, Default: `top`"
|
865
901
|
},
|
866
|
-
"van-row/gutter": {
|
867
|
-
"type": "number | string",
|
868
|
-
"description": "Grid spacing(px), Default: -"
|
869
|
-
},
|
870
|
-
"van-row/tag": {
|
871
|
-
"type": "string",
|
872
|
-
"description": "Custom element tag, Default: `div`"
|
873
|
-
},
|
874
|
-
"van-row/justify": {
|
875
|
-
"type": "string",
|
876
|
-
"description": "Flex main axis,can be set to end/center/space-around/space-between, Default: `start`"
|
877
|
-
},
|
878
|
-
"van-row/align": {
|
879
|
-
"type": "string",
|
880
|
-
"description": "Flex cross axis, be set to center/bottom, Default: `top`"
|
881
|
-
},
|
882
|
-
"van-row/wrap": {
|
883
|
-
"type": "boolean",
|
884
|
-
"description": "Whether to wrap, Default: `true`"
|
885
|
-
},
|
886
|
-
"van-col/span": {
|
887
|
-
"type": "number | string",
|
888
|
-
"description": "number of column the grid spans, Default: -"
|
889
|
-
},
|
890
|
-
"van-col/offset": {
|
891
|
-
"type": "number | string",
|
892
|
-
"description": "number of spacing on the left side of the grid, Default: -"
|
893
|
-
},
|
894
|
-
"van-col/tag": {
|
895
|
-
"type": "string",
|
896
|
-
"description": "Custom element tag, Default: `div`"
|
897
|
-
},
|
898
902
|
"van-collapse/v-model": {
|
899
903
|
"type": "accordion mode: _number | string_<br>non-accordion mode:_(number \\",
|
900
904
|
"description": "Names of current active panels, Default: string)[]_",
|
@@ -950,6 +954,10 @@
|
|
950
954
|
"type": "boolean",
|
951
955
|
"description": "Whether to show link icon, Default: `true`"
|
952
956
|
},
|
957
|
+
"van-collapse-item/lazy-render": {
|
958
|
+
"type": "boolean",
|
959
|
+
"description": "Whether to lazy render util opened, Default: `true`"
|
960
|
+
},
|
953
961
|
"van-collapse-item/title-class": {
|
954
962
|
"type": "string",
|
955
963
|
"description": "Title className, Default: -"
|
@@ -990,6 +998,22 @@
|
|
990
998
|
"type": "string",
|
991
999
|
"description": "Add card text, Default: `Add contact info`"
|
992
1000
|
},
|
1001
|
+
"van-contact-list/v-model": {
|
1002
|
+
"type": "number | string",
|
1003
|
+
"description": "Id of chosen contact, Default: -"
|
1004
|
+
},
|
1005
|
+
"van-contact-list/list": {
|
1006
|
+
"type": "Contact[]",
|
1007
|
+
"description": "Contact list, Default: `[]`"
|
1008
|
+
},
|
1009
|
+
"van-contact-list/add-text": {
|
1010
|
+
"type": "string",
|
1011
|
+
"description": "Add button text, Default: `Add new contact`"
|
1012
|
+
},
|
1013
|
+
"van-contact-list/default-tag-text": {
|
1014
|
+
"type": "string",
|
1015
|
+
"description": "Default tag text, Default: -"
|
1016
|
+
},
|
993
1017
|
"van-contact-edit/contact-info": {
|
994
1018
|
"type": "Contact",
|
995
1019
|
"description": "Contact Info, Default: `[]`"
|
@@ -1018,22 +1042,6 @@
|
|
1018
1042
|
"type": "string",
|
1019
1043
|
"description": "default contact switch label, Default: -"
|
1020
1044
|
},
|
1021
|
-
"van-contact-list/v-model": {
|
1022
|
-
"type": "number | string",
|
1023
|
-
"description": "Id of chosen contact, Default: -"
|
1024
|
-
},
|
1025
|
-
"van-contact-list/list": {
|
1026
|
-
"type": "Contact[]",
|
1027
|
-
"description": "Contact list, Default: `[]`"
|
1028
|
-
},
|
1029
|
-
"van-contact-list/add-text": {
|
1030
|
-
"type": "string",
|
1031
|
-
"description": "Add button text, Default: `Add new contact`"
|
1032
|
-
},
|
1033
|
-
"van-contact-list/default-tag-text": {
|
1034
|
-
"type": "string",
|
1035
|
-
"description": "Default tag text, Default: -"
|
1036
|
-
},
|
1037
1045
|
"van-count-down/time": {
|
1038
1046
|
"type": "number | string",
|
1039
1047
|
"description": "Total time, unit milliseconds, Default: `0`"
|
@@ -1132,88 +1140,12 @@
|
|
1132
1140
|
},
|
1133
1141
|
"van-coupon-list/empty-image": {
|
1134
1142
|
"type": "string",
|
1135
|
-
"description": "Placeholder image when list is empty, Default:
|
1143
|
+
"description": "Placeholder image when list is empty, Default: -"
|
1136
1144
|
},
|
1137
1145
|
"van-coupon-list/show-count": {
|
1138
1146
|
"type": "boolean",
|
1139
1147
|
"description": "Whether to show coupon count in tab title, Default: `true`"
|
1140
1148
|
},
|
1141
|
-
"van-datetime-picker/type": {
|
1142
|
-
"type": "string",
|
1143
|
-
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`, Default: `datetime`"
|
1144
|
-
},
|
1145
|
-
"van-datetime-picker/title": {
|
1146
|
-
"type": "string",
|
1147
|
-
"description": "Toolbar title, Default: `''`"
|
1148
|
-
},
|
1149
|
-
"van-datetime-picker/confirm-button-text": {
|
1150
|
-
"type": "string",
|
1151
|
-
"description": "Text of confirm button, Default: `Confirm`"
|
1152
|
-
},
|
1153
|
-
"van-datetime-picker/cancel-button-text": {
|
1154
|
-
"type": "string",
|
1155
|
-
"description": "Text of cancel button, Default: `Cancel`"
|
1156
|
-
},
|
1157
|
-
"van-datetime-picker/show-toolbar": {
|
1158
|
-
"type": "boolean",
|
1159
|
-
"description": "Whether to show toolbar, Default: `true`"
|
1160
|
-
},
|
1161
|
-
"van-datetime-picker/loading": {
|
1162
|
-
"type": "boolean",
|
1163
|
-
"description": "Whether to show loading prompt, Default: `false`"
|
1164
|
-
},
|
1165
|
-
"van-datetime-picker/readonly": {
|
1166
|
-
"type": "boolean",
|
1167
|
-
"description": "Whether to be readonly, Default: `false`"
|
1168
|
-
},
|
1169
|
-
"van-datetime-picker/filter": {
|
1170
|
-
"type": "(type: string, values: string[]) => string[]",
|
1171
|
-
"description": "Option filter, Default: -"
|
1172
|
-
},
|
1173
|
-
"van-datetime-picker/formatter": {
|
1174
|
-
"type": "(type: string, value: string) => string",
|
1175
|
-
"description": "Option text formatter, Default: -"
|
1176
|
-
},
|
1177
|
-
"van-datetime-picker/columns-order": {
|
1178
|
-
"type": "string[]",
|
1179
|
-
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`, Default: -"
|
1180
|
-
},
|
1181
|
-
"van-datetime-picker/item-height": {
|
1182
|
-
"type": "number | string",
|
1183
|
-
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
1184
|
-
},
|
1185
|
-
"van-datetime-picker/visible-item-count": {
|
1186
|
-
"type": "number | string",
|
1187
|
-
"description": "Count of visible columns, Default: `6`"
|
1188
|
-
},
|
1189
|
-
"van-datetime-picker/swipe-duration": {
|
1190
|
-
"type": "number | string",
|
1191
|
-
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
1192
|
-
},
|
1193
|
-
"van-date-picker/min-date": {
|
1194
|
-
"type": "Date",
|
1195
|
-
"description": "Min date, Default: Ten years ago on January 1"
|
1196
|
-
},
|
1197
|
-
"van-date-picker/max-date": {
|
1198
|
-
"type": "Date",
|
1199
|
-
"description": "Max date, Default: Ten years later on December 31"
|
1200
|
-
},
|
1201
|
-
"van-time-picker/min-hour": {
|
1202
|
-
"type": "number | string",
|
1203
|
-
"description": "Min hour for `time` type, Default: `0`"
|
1204
|
-
},
|
1205
|
-
"van-time-picker/max-hour": {
|
1206
|
-
"type": "number | string",
|
1207
|
-
"description": "Max hour for `time` type, Default: `23`"
|
1208
|
-
},
|
1209
|
-
"van-time-picker/min-minute": {
|
1210
|
-
"type": "number | string",
|
1211
|
-
"description": "Max minute for `time` type, Default: `0`"
|
1212
|
-
},
|
1213
|
-
"van-time-picker/max-minute": {
|
1214
|
-
"type": "number | string",
|
1215
|
-
"description": "Max minute for `time` type, Default: `59`"
|
1216
|
-
},
|
1217
1149
|
"van-dialog/v-model:show": {
|
1218
1150
|
"type": "boolean",
|
1219
1151
|
"description": "Whether to show dialog, Default: -"
|
@@ -1306,77 +1238,6 @@
|
|
1306
1238
|
"type": "string | Element",
|
1307
1239
|
"description": "Specifies a target element where Dialog will be mounted, Default: -"
|
1308
1240
|
},
|
1309
|
-
"van-divider/dashed": {
|
1310
|
-
"type": "boolean",
|
1311
|
-
"description": "Whether to use dashed border, Default: `false`"
|
1312
|
-
},
|
1313
|
-
"van-divider/hairline": {
|
1314
|
-
"type": "boolean",
|
1315
|
-
"description": "Whether to use hairline, Default: `true`"
|
1316
|
-
},
|
1317
|
-
"van-divider/content-position": {
|
1318
|
-
"type": "string",
|
1319
|
-
"description": "Content position,can be set to `left` `right`, Default: `center`"
|
1320
|
-
},
|
1321
|
-
"van-dropdown-menu/active-color": {
|
1322
|
-
"type": "string",
|
1323
|
-
"description": "Active color of title and option, Default: `#ee0a24`"
|
1324
|
-
},
|
1325
|
-
"van-dropdown-menu/direction": {
|
1326
|
-
"type": "string",
|
1327
|
-
"description": "Expand direction, can be set to `up`, Default: `down`"
|
1328
|
-
},
|
1329
|
-
"van-dropdown-menu/z-index": {
|
1330
|
-
"type": "number | string",
|
1331
|
-
"description": "z-index of menu item, Default: `10`"
|
1332
|
-
},
|
1333
|
-
"van-dropdown-menu/duration": {
|
1334
|
-
"type": "number | string",
|
1335
|
-
"description": "Transition duration, unit second, Default: `0.2`"
|
1336
|
-
},
|
1337
|
-
"van-dropdown-menu/overlay": {
|
1338
|
-
"type": "boolean",
|
1339
|
-
"description": "Whether to show overlay, Default: `true`"
|
1340
|
-
},
|
1341
|
-
"van-dropdown-menu/close-on-click-overlay": {
|
1342
|
-
"type": "boolean",
|
1343
|
-
"description": "Whether to close when overlay is clicked, Default: `true`"
|
1344
|
-
},
|
1345
|
-
"van-dropdown-menu/close-on-click-outside": {
|
1346
|
-
"type": "boolean",
|
1347
|
-
"description": "Whether to close when outside is clicked, Default: `true`"
|
1348
|
-
},
|
1349
|
-
"van-dropdown-item/v-model": {
|
1350
|
-
"type": "number | string",
|
1351
|
-
"description": "Value of current option, Default: -"
|
1352
|
-
},
|
1353
|
-
"van-dropdown-item/title": {
|
1354
|
-
"type": "string",
|
1355
|
-
"description": "Item title, Default: Text of selected option"
|
1356
|
-
},
|
1357
|
-
"van-dropdown-item/options": {
|
1358
|
-
"type": "Option[]",
|
1359
|
-
"description": "Options, Default: `[]`"
|
1360
|
-
},
|
1361
|
-
"van-dropdown-item/disabled": {
|
1362
|
-
"type": "boolean",
|
1363
|
-
"description": "Whether to disable dropdown item, Default: `false`"
|
1364
|
-
},
|
1365
|
-
"van-dropdown-item/lazy-render": {
|
1366
|
-
"type": "boolean",
|
1367
|
-
"description": "Whether to lazy render util opened, Default: `true`"
|
1368
|
-
},
|
1369
|
-
"van-dropdown-item/title-class": {
|
1370
|
-
"type": "string | Array \\",
|
1371
|
-
"description": "Title class, Default: object_",
|
1372
|
-
"options": [
|
1373
|
-
"-"
|
1374
|
-
]
|
1375
|
-
},
|
1376
|
-
"van-dropdown-item/teleport": {
|
1377
|
-
"type": "string | Element",
|
1378
|
-
"description": "Specifies a target element where DropdownItem will be mounted, Default: -"
|
1379
|
-
},
|
1380
1241
|
"van-empty/image": {
|
1381
1242
|
"type": "string",
|
1382
1243
|
"description": "Image type,can be set to `error` `network` `search` or image URL, Default: `default`"
|
@@ -1520,25 +1381,172 @@
|
|
1520
1381
|
"type": "boolean | FieldAutosizeConfig",
|
1521
1382
|
"description": "Textarea auto resize,can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
|
1522
1383
|
},
|
1523
|
-
"van-field/left-icon": {
|
1524
|
-
"type": "string",
|
1525
|
-
"description": "Left side icon name, Default: -"
|
1384
|
+
"van-field/left-icon": {
|
1385
|
+
"type": "string",
|
1386
|
+
"description": "Left side icon name, Default: -"
|
1387
|
+
},
|
1388
|
+
"van-field/right-icon": {
|
1389
|
+
"type": "string",
|
1390
|
+
"description": "Right side icon name, Default: -"
|
1391
|
+
},
|
1392
|
+
"van-field/icon-prefix": {
|
1393
|
+
"type": "string",
|
1394
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
1395
|
+
},
|
1396
|
+
"van-field/rules": {
|
1397
|
+
"type": "FieldRule[]",
|
1398
|
+
"description": "Form validation rules, Default: -"
|
1399
|
+
},
|
1400
|
+
"van-field/autocomplete": {
|
1401
|
+
"type": "string",
|
1402
|
+
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
|
1403
|
+
},
|
1404
|
+
"van-dropdown-menu/active-color": {
|
1405
|
+
"type": "string",
|
1406
|
+
"description": "Active color of title and option, Default: `#ee0a24`"
|
1407
|
+
},
|
1408
|
+
"van-dropdown-menu/direction": {
|
1409
|
+
"type": "string",
|
1410
|
+
"description": "Expand direction, can be set to `up`, Default: `down`"
|
1411
|
+
},
|
1412
|
+
"van-dropdown-menu/z-index": {
|
1413
|
+
"type": "number | string",
|
1414
|
+
"description": "z-index of menu item, Default: `10`"
|
1415
|
+
},
|
1416
|
+
"van-dropdown-menu/duration": {
|
1417
|
+
"type": "number | string",
|
1418
|
+
"description": "Transition duration, unit second, Default: `0.2`"
|
1419
|
+
},
|
1420
|
+
"van-dropdown-menu/overlay": {
|
1421
|
+
"type": "boolean",
|
1422
|
+
"description": "Whether to show overlay, Default: `true`"
|
1423
|
+
},
|
1424
|
+
"van-dropdown-menu/close-on-click-overlay": {
|
1425
|
+
"type": "boolean",
|
1426
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
1427
|
+
},
|
1428
|
+
"van-dropdown-menu/close-on-click-outside": {
|
1429
|
+
"type": "boolean",
|
1430
|
+
"description": "Whether to close when outside is clicked, Default: `true`"
|
1431
|
+
},
|
1432
|
+
"van-dropdown-item/v-model": {
|
1433
|
+
"type": "number | string",
|
1434
|
+
"description": "Value of current option, Default: -"
|
1435
|
+
},
|
1436
|
+
"van-dropdown-item/title": {
|
1437
|
+
"type": "string",
|
1438
|
+
"description": "Item title, Default: Text of selected option"
|
1439
|
+
},
|
1440
|
+
"van-dropdown-item/options": {
|
1441
|
+
"type": "Option[]",
|
1442
|
+
"description": "Options, Default: `[]`"
|
1443
|
+
},
|
1444
|
+
"van-dropdown-item/disabled": {
|
1445
|
+
"type": "boolean",
|
1446
|
+
"description": "Whether to disable dropdown item, Default: `false`"
|
1447
|
+
},
|
1448
|
+
"van-dropdown-item/lazy-render": {
|
1449
|
+
"type": "boolean",
|
1450
|
+
"description": "Whether to lazy render util opened, Default: `true`"
|
1451
|
+
},
|
1452
|
+
"van-dropdown-item/title-class": {
|
1453
|
+
"type": "string | Array \\",
|
1454
|
+
"description": "Title class, Default: object_",
|
1455
|
+
"options": [
|
1456
|
+
"-"
|
1457
|
+
]
|
1458
|
+
},
|
1459
|
+
"van-dropdown-item/teleport": {
|
1460
|
+
"type": "string | Element",
|
1461
|
+
"description": "Specifies a target element where DropdownItem will be mounted, Default: -"
|
1462
|
+
},
|
1463
|
+
"van-datetime-picker/type": {
|
1464
|
+
"type": "string",
|
1465
|
+
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`, Default: `datetime`"
|
1466
|
+
},
|
1467
|
+
"van-datetime-picker/title": {
|
1468
|
+
"type": "string",
|
1469
|
+
"description": "Toolbar title, Default: `''`"
|
1470
|
+
},
|
1471
|
+
"van-datetime-picker/confirm-button-text": {
|
1472
|
+
"type": "string",
|
1473
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
1474
|
+
},
|
1475
|
+
"van-datetime-picker/cancel-button-text": {
|
1476
|
+
"type": "string",
|
1477
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
1478
|
+
},
|
1479
|
+
"van-datetime-picker/show-toolbar": {
|
1480
|
+
"type": "boolean",
|
1481
|
+
"description": "Whether to show toolbar, Default: `true`"
|
1482
|
+
},
|
1483
|
+
"van-datetime-picker/loading": {
|
1484
|
+
"type": "boolean",
|
1485
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
1486
|
+
},
|
1487
|
+
"van-datetime-picker/readonly": {
|
1488
|
+
"type": "boolean",
|
1489
|
+
"description": "Whether to be readonly, Default: `false`"
|
1490
|
+
},
|
1491
|
+
"van-datetime-picker/filter": {
|
1492
|
+
"type": "(type: string, values: string[]) => string[]",
|
1493
|
+
"description": "Option filter, Default: -"
|
1494
|
+
},
|
1495
|
+
"van-datetime-picker/formatter": {
|
1496
|
+
"type": "(type: string, value: string) => string",
|
1497
|
+
"description": "Option text formatter, Default: -"
|
1498
|
+
},
|
1499
|
+
"van-datetime-picker/columns-order": {
|
1500
|
+
"type": "string[]",
|
1501
|
+
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`, Default: -"
|
1502
|
+
},
|
1503
|
+
"van-datetime-picker/item-height": {
|
1504
|
+
"type": "number | string",
|
1505
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
1506
|
+
},
|
1507
|
+
"van-datetime-picker/visible-item-count": {
|
1508
|
+
"type": "number | string",
|
1509
|
+
"description": "Count of visible columns, Default: `6`"
|
1510
|
+
},
|
1511
|
+
"van-datetime-picker/swipe-duration": {
|
1512
|
+
"type": "number | string",
|
1513
|
+
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
1514
|
+
},
|
1515
|
+
"van-date-picker/min-date": {
|
1516
|
+
"type": "Date",
|
1517
|
+
"description": "Min date, Default: Ten years ago on January 1"
|
1518
|
+
},
|
1519
|
+
"van-date-picker/max-date": {
|
1520
|
+
"type": "Date",
|
1521
|
+
"description": "Max date, Default: Ten years later on December 31"
|
1522
|
+
},
|
1523
|
+
"van-time-picker/min-hour": {
|
1524
|
+
"type": "number | string",
|
1525
|
+
"description": "Min hour for `time` type, Default: `0`"
|
1526
|
+
},
|
1527
|
+
"van-time-picker/max-hour": {
|
1528
|
+
"type": "number | string",
|
1529
|
+
"description": "Max hour for `time` type, Default: `23`"
|
1530
|
+
},
|
1531
|
+
"van-time-picker/min-minute": {
|
1532
|
+
"type": "number | string",
|
1533
|
+
"description": "Max minute for `time` type, Default: `0`"
|
1526
1534
|
},
|
1527
|
-
"van-
|
1528
|
-
"type": "string",
|
1529
|
-
"description": "
|
1535
|
+
"van-time-picker/max-minute": {
|
1536
|
+
"type": "number | string",
|
1537
|
+
"description": "Max minute for `time` type, Default: `59`"
|
1530
1538
|
},
|
1531
|
-
"van-
|
1532
|
-
"type": "
|
1533
|
-
"description": "
|
1539
|
+
"van-divider/dashed": {
|
1540
|
+
"type": "boolean",
|
1541
|
+
"description": "Whether to use dashed border, Default: `false`"
|
1534
1542
|
},
|
1535
|
-
"van-
|
1536
|
-
"type": "
|
1537
|
-
"description": "
|
1543
|
+
"van-divider/hairline": {
|
1544
|
+
"type": "boolean",
|
1545
|
+
"description": "Whether to use hairline, Default: `true`"
|
1538
1546
|
},
|
1539
|
-
"van-
|
1547
|
+
"van-divider/content-position": {
|
1540
1548
|
"type": "string",
|
1541
|
-
"description": "
|
1549
|
+
"description": "Content position,can be set to `left` `right`, Default: `center`"
|
1542
1550
|
},
|
1543
1551
|
"van-form/label-width": {
|
1544
1552
|
"type": "number | string",
|
@@ -1624,6 +1632,10 @@
|
|
1624
1632
|
"type": "string",
|
1625
1633
|
"description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
|
1626
1634
|
},
|
1635
|
+
"van-grid/reverse": {
|
1636
|
+
"type": "boolean",
|
1637
|
+
"description": "Whether to reverse the position of icon and text, Default: `false`"
|
1638
|
+
},
|
1627
1639
|
"van-grid-item/text": {
|
1628
1640
|
"type": "string",
|
1629
1641
|
"description": "Text, Default: -"
|
@@ -1640,10 +1652,6 @@
|
|
1640
1652
|
"type": "string",
|
1641
1653
|
"description": "Icon color, Default: -"
|
1642
1654
|
},
|
1643
|
-
"van-grid-item/reverse": {
|
1644
|
-
"type": "boolean",
|
1645
|
-
"description": "Whether to reverse the position of icon and text, Default: `false`"
|
1646
|
-
},
|
1647
1655
|
"van-grid-item/dot": {
|
1648
1656
|
"type": "boolean",
|
1649
1657
|
"description": "Whether to show red dot, Default: `false`"
|
@@ -1668,38 +1676,6 @@
|
|
1668
1676
|
"type": "boolean",
|
1669
1677
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
1670
1678
|
},
|
1671
|
-
"van-icon/name": {
|
1672
|
-
"type": "string",
|
1673
|
-
"description": "Icon name or URL, Default: `''`"
|
1674
|
-
},
|
1675
|
-
"van-icon/dot": {
|
1676
|
-
"type": "boolean",
|
1677
|
-
"description": "Whether to show red dot, Default: `false`"
|
1678
|
-
},
|
1679
|
-
"van-icon/badge": {
|
1680
|
-
"type": "number | string",
|
1681
|
-
"description": "Content of the badge, Default: `''`"
|
1682
|
-
},
|
1683
|
-
"van-icon/badge-props": {
|
1684
|
-
"type": "BadgeProps",
|
1685
|
-
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
1686
|
-
},
|
1687
|
-
"van-icon/color": {
|
1688
|
-
"type": "string",
|
1689
|
-
"description": "Icon color, Default: `inherit`"
|
1690
|
-
},
|
1691
|
-
"van-icon/size": {
|
1692
|
-
"type": "number | string",
|
1693
|
-
"description": "Icon size, Default: `inherit`"
|
1694
|
-
},
|
1695
|
-
"van-icon/class-prefix": {
|
1696
|
-
"type": "string",
|
1697
|
-
"description": "ClassName prefix, Default: `van-icon`"
|
1698
|
-
},
|
1699
|
-
"van-icon/tag": {
|
1700
|
-
"type": "string",
|
1701
|
-
"description": "HTML Tag of root element, Default: `i`"
|
1702
|
-
},
|
1703
1679
|
"van-image/src": {
|
1704
1680
|
"type": "string",
|
1705
1681
|
"description": "Src, Default: -"
|
@@ -1760,6 +1736,38 @@
|
|
1760
1736
|
"type": "string",
|
1761
1737
|
"description": "Icon className prefix, Default: `van-icon`"
|
1762
1738
|
},
|
1739
|
+
"van-icon/name": {
|
1740
|
+
"type": "string",
|
1741
|
+
"description": "Icon name or URL, Default: `''`"
|
1742
|
+
},
|
1743
|
+
"van-icon/dot": {
|
1744
|
+
"type": "boolean",
|
1745
|
+
"description": "Whether to show red dot, Default: `false`"
|
1746
|
+
},
|
1747
|
+
"van-icon/badge": {
|
1748
|
+
"type": "number | string",
|
1749
|
+
"description": "Content of the badge, Default: `''`"
|
1750
|
+
},
|
1751
|
+
"van-icon/badge-props": {
|
1752
|
+
"type": "BadgeProps",
|
1753
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
1754
|
+
},
|
1755
|
+
"van-icon/color": {
|
1756
|
+
"type": "string",
|
1757
|
+
"description": "Icon color, Default: `inherit`"
|
1758
|
+
},
|
1759
|
+
"van-icon/size": {
|
1760
|
+
"type": "number | string",
|
1761
|
+
"description": "Icon size, Default: `inherit`"
|
1762
|
+
},
|
1763
|
+
"van-icon/class-prefix": {
|
1764
|
+
"type": "string",
|
1765
|
+
"description": "ClassName prefix, Default: `van-icon`"
|
1766
|
+
},
|
1767
|
+
"van-icon/tag": {
|
1768
|
+
"type": "string",
|
1769
|
+
"description": "HTML Tag of root element, Default: `i`"
|
1770
|
+
},
|
1763
1771
|
"van-image-preview/v-model:show": {
|
1764
1772
|
"type": "boolean",
|
1765
1773
|
"description": "Whether to show ImagePreview, Default: `false`"
|
@@ -1870,6 +1878,30 @@
|
|
1870
1878
|
"type": "number | string",
|
1871
1879
|
"description": "Index, Default: -"
|
1872
1880
|
},
|
1881
|
+
"van-loading/color": {
|
1882
|
+
"type": "string",
|
1883
|
+
"description": "Loading color, Default: `#c9c9c9`"
|
1884
|
+
},
|
1885
|
+
"van-loading/type": {
|
1886
|
+
"type": "string",
|
1887
|
+
"description": "Can be set to `spinner`, Default: `circular`"
|
1888
|
+
},
|
1889
|
+
"van-loading/size": {
|
1890
|
+
"type": "number | string",
|
1891
|
+
"description": "Icon size, Default: `30px`"
|
1892
|
+
},
|
1893
|
+
"van-loading/text-size": {
|
1894
|
+
"type": "number | string",
|
1895
|
+
"description": "Text font size, Default: `14px`"
|
1896
|
+
},
|
1897
|
+
"van-loading/text-color": {
|
1898
|
+
"type": "string",
|
1899
|
+
"description": "Text color, Default: `#c9c9c9`"
|
1900
|
+
},
|
1901
|
+
"van-loading/vertical": {
|
1902
|
+
"type": "boolean",
|
1903
|
+
"description": "Whether to arrange icons and text content vertically, Default: `false`"
|
1904
|
+
},
|
1873
1905
|
"van-list/v-model:loading": {
|
1874
1906
|
"type": "boolean",
|
1875
1907
|
"description": "Whether to show loading info,the `load` event will not be Emitted when loading, Default: `false`"
|
@@ -1906,30 +1938,6 @@
|
|
1906
1938
|
"type": "string",
|
1907
1939
|
"description": "Scroll direction,can be set to `up`, Default: `down`"
|
1908
1940
|
},
|
1909
|
-
"van-loading/color": {
|
1910
|
-
"type": "string",
|
1911
|
-
"description": "Loading color, Default: `#c9c9c9`"
|
1912
|
-
},
|
1913
|
-
"van-loading/type": {
|
1914
|
-
"type": "string",
|
1915
|
-
"description": "Can be set to `spinner`, Default: `circular`"
|
1916
|
-
},
|
1917
|
-
"van-loading/size": {
|
1918
|
-
"type": "number | string",
|
1919
|
-
"description": "Icon size, Default: `30px`"
|
1920
|
-
},
|
1921
|
-
"van-loading/text-size": {
|
1922
|
-
"type": "number | string",
|
1923
|
-
"description": "Text font size, Default: `14px`"
|
1924
|
-
},
|
1925
|
-
"van-loading/text-color": {
|
1926
|
-
"type": "string",
|
1927
|
-
"description": "Text color, Default: `#c9c9c9`"
|
1928
|
-
},
|
1929
|
-
"van-loading/vertical": {
|
1930
|
-
"type": "boolean",
|
1931
|
-
"description": "Whether to arrange icons and text content vertically, Default: `false`"
|
1932
|
-
},
|
1933
1941
|
"van-nav-bar/title": {
|
1934
1942
|
"type": "string",
|
1935
1943
|
"description": "Title, Default: `''`"
|
@@ -2002,73 +2010,41 @@
|
|
2002
2010
|
"type": "boolean",
|
2003
2011
|
"description": "Whether to enable text wrap, Default: `false`"
|
2004
2012
|
},
|
2005
|
-
"van-
|
2006
|
-
"type": "
|
2007
|
-
"description": "Current
|
2013
|
+
"van-pagination/v-model": {
|
2014
|
+
"type": "number",
|
2015
|
+
"description": "Current page number, Default: -"
|
2008
2016
|
},
|
2009
|
-
"van-
|
2010
|
-
"type": "
|
2011
|
-
"description": "
|
2017
|
+
"van-pagination/mode": {
|
2018
|
+
"type": "string",
|
2019
|
+
"description": "Mode, can be set to `simple` `multi`, Default: `multi`"
|
2012
2020
|
},
|
2013
|
-
"van-
|
2021
|
+
"van-pagination/prev-text": {
|
2014
2022
|
"type": "string",
|
2015
|
-
"description": "
|
2023
|
+
"description": "Previous text, Default: `Previous`"
|
2016
2024
|
},
|
2017
|
-
"van-
|
2025
|
+
"van-pagination/next-text": {
|
2018
2026
|
"type": "string",
|
2019
|
-
"description": "
|
2027
|
+
"description": "Next text, Default: `Next`"
|
2020
2028
|
},
|
2021
|
-
"van-
|
2029
|
+
"van-pagination/total-items": {
|
2022
2030
|
"type": "number | string",
|
2023
|
-
"description": "
|
2024
|
-
},
|
2025
|
-
"van-number-keyboard/transition": {
|
2026
|
-
"type": "boolean",
|
2027
|
-
"description": "Whether to show transition animation, Default: `true`"
|
2031
|
+
"description": "Total items, Default: `0`"
|
2028
2032
|
},
|
2029
|
-
"van-
|
2033
|
+
"van-pagination/items-per-page": {
|
2030
2034
|
"type": "number | string",
|
2031
|
-
"description": "
|
2032
|
-
},
|
2033
|
-
"van-number-keyboard/extra-key": {
|
2034
|
-
"type": "string | string[]",
|
2035
|
-
"description": "Content of bottom left key, Default: `''`"
|
2036
|
-
},
|
2037
|
-
"van-number-keyboard/close-button-text": {
|
2038
|
-
"type": "string",
|
2039
|
-
"description": "Close button text, Default: -"
|
2040
|
-
},
|
2041
|
-
"van-number-keyboard/delete-button-text": {
|
2042
|
-
"type": "string",
|
2043
|
-
"description": "Delete button text, Default: Delete Icon"
|
2044
|
-
},
|
2045
|
-
"van-number-keyboard/close-button-loading": {
|
2046
|
-
"type": "boolean",
|
2047
|
-
"description": "Whether to show loading close button in custom theme, Default: `false`"
|
2048
|
-
},
|
2049
|
-
"van-number-keyboard/show-delete-key": {
|
2050
|
-
"type": "boolean",
|
2051
|
-
"description": "Whether to show delete button, Default: `true`"
|
2052
|
-
},
|
2053
|
-
"van-number-keyboard/blur-on-close": {
|
2054
|
-
"type": "boolean",
|
2055
|
-
"description": "Whether to emit blur event when clicking close button, Default: `true`"
|
2056
|
-
},
|
2057
|
-
"van-number-keyboard/hide-on-click-outside": {
|
2058
|
-
"type": "boolean",
|
2059
|
-
"description": "Whether to hide keyboard when outside is clicked, Default: `true`"
|
2035
|
+
"description": "Item number per page, Default: `10`"
|
2060
2036
|
},
|
2061
|
-
"van-
|
2062
|
-
"type": "
|
2063
|
-
"description": "
|
2037
|
+
"van-pagination/page-count": {
|
2038
|
+
"type": "number | string",
|
2039
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
|
2064
2040
|
},
|
2065
|
-
"van-
|
2066
|
-
"type": "
|
2067
|
-
"description": "
|
2041
|
+
"van-pagination/show-page-size": {
|
2042
|
+
"type": "number | string",
|
2043
|
+
"description": "Count of page size to show, Default: `5`"
|
2068
2044
|
},
|
2069
|
-
"van-
|
2045
|
+
"van-pagination/force-ellipses": {
|
2070
2046
|
"type": "boolean",
|
2071
|
-
"description": "Whether to
|
2047
|
+
"description": "Whether to show ellipses, Default: `false`"
|
2072
2048
|
},
|
2073
2049
|
"van-overlay/show": {
|
2074
2050
|
"type": "boolean",
|
@@ -2098,41 +2074,73 @@
|
|
2098
2074
|
"type": "boolean",
|
2099
2075
|
"description": "Whether to lazy render util appeared, Default: `true`"
|
2100
2076
|
},
|
2101
|
-
"van-
|
2102
|
-
"type": "
|
2103
|
-
"description": "Current
|
2077
|
+
"van-number-keyboard/v-model": {
|
2078
|
+
"type": "string",
|
2079
|
+
"description": "Current value, Default: -"
|
2080
|
+
},
|
2081
|
+
"van-number-keyboard/show": {
|
2082
|
+
"type": "boolean",
|
2083
|
+
"description": "Whether to show keyboard, Default: -"
|
2084
|
+
},
|
2085
|
+
"van-number-keyboard/title": {
|
2086
|
+
"type": "string",
|
2087
|
+
"description": "Keyboard title, Default: -"
|
2088
|
+
},
|
2089
|
+
"van-number-keyboard/theme": {
|
2090
|
+
"type": "string",
|
2091
|
+
"description": "Keyboard theme,can be set to `custom`, Default: `default`"
|
2092
|
+
},
|
2093
|
+
"van-number-keyboard/maxlength": {
|
2094
|
+
"type": "number | string",
|
2095
|
+
"description": "Value maxlength, Default: `Infinity`"
|
2096
|
+
},
|
2097
|
+
"van-number-keyboard/transition": {
|
2098
|
+
"type": "boolean",
|
2099
|
+
"description": "Whether to show transition animation, Default: `true`"
|
2100
|
+
},
|
2101
|
+
"van-number-keyboard/z-index": {
|
2102
|
+
"type": "number | string",
|
2103
|
+
"description": "Keyboard z-index, Default: `100`"
|
2104
|
+
},
|
2105
|
+
"van-number-keyboard/extra-key": {
|
2106
|
+
"type": "string | string[]",
|
2107
|
+
"description": "Content of bottom left key, Default: `''`"
|
2104
2108
|
},
|
2105
|
-
"van-
|
2109
|
+
"van-number-keyboard/close-button-text": {
|
2106
2110
|
"type": "string",
|
2107
|
-
"description": "
|
2111
|
+
"description": "Close button text, Default: -"
|
2108
2112
|
},
|
2109
|
-
"van-
|
2113
|
+
"van-number-keyboard/delete-button-text": {
|
2110
2114
|
"type": "string",
|
2111
|
-
"description": "
|
2115
|
+
"description": "Delete button text, Default: Delete Icon"
|
2112
2116
|
},
|
2113
|
-
"van-
|
2114
|
-
"type": "
|
2115
|
-
"description": "
|
2117
|
+
"van-number-keyboard/close-button-loading": {
|
2118
|
+
"type": "boolean",
|
2119
|
+
"description": "Whether to show loading close button in custom theme, Default: `false`"
|
2116
2120
|
},
|
2117
|
-
"van-
|
2118
|
-
"type": "
|
2119
|
-
"description": "
|
2121
|
+
"van-number-keyboard/show-delete-key": {
|
2122
|
+
"type": "boolean",
|
2123
|
+
"description": "Whether to show delete button, Default: `true`"
|
2120
2124
|
},
|
2121
|
-
"van-
|
2122
|
-
"type": "
|
2123
|
-
"description": "
|
2125
|
+
"van-number-keyboard/blur-on-close": {
|
2126
|
+
"type": "boolean",
|
2127
|
+
"description": "Whether to emit blur event when clicking close button, Default: `true`"
|
2124
2128
|
},
|
2125
|
-
"van-
|
2126
|
-
"type": "
|
2127
|
-
"description": "
|
2129
|
+
"van-number-keyboard/hide-on-click-outside": {
|
2130
|
+
"type": "boolean",
|
2131
|
+
"description": "Whether to hide keyboard when outside is clicked, Default: `true`"
|
2128
2132
|
},
|
2129
|
-
"van-
|
2130
|
-
"type": "
|
2131
|
-
"description": "
|
2133
|
+
"van-number-keyboard/teleport": {
|
2134
|
+
"type": "string | Element",
|
2135
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted, Default: -"
|
2132
2136
|
},
|
2133
|
-
"van-
|
2137
|
+
"van-number-keyboard/safe-area-inset-bottom": {
|
2134
2138
|
"type": "boolean",
|
2135
|
-
"description": "Whether to
|
2139
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
2140
|
+
},
|
2141
|
+
"van-number-keyboard/random-key-order": {
|
2142
|
+
"type": "boolean",
|
2143
|
+
"description": "Whether to shuffle the order of keys, Default: `false`"
|
2136
2144
|
},
|
2137
2145
|
"van-password-input/value": {
|
2138
2146
|
"type": "string",
|
@@ -2281,6 +2289,42 @@
|
|
2281
2289
|
"type": "string",
|
2282
2290
|
"description": "Icon className prefix, Default: `van-icon`"
|
2283
2291
|
},
|
2292
|
+
"van-progress/percentage": {
|
2293
|
+
"type": "number | string",
|
2294
|
+
"description": "Percentage, Default: `0`"
|
2295
|
+
},
|
2296
|
+
"van-progress/stroke-width": {
|
2297
|
+
"type": "number | string",
|
2298
|
+
"description": "Stroke width, Default: `4px`"
|
2299
|
+
},
|
2300
|
+
"van-progress/color": {
|
2301
|
+
"type": "string",
|
2302
|
+
"description": "Color, Default: `#1989fa`"
|
2303
|
+
},
|
2304
|
+
"van-progress/track-color": {
|
2305
|
+
"type": "string",
|
2306
|
+
"description": "Track color, Default: `#e5e5e5`"
|
2307
|
+
},
|
2308
|
+
"van-progress/pivot-text": {
|
2309
|
+
"type": "string",
|
2310
|
+
"description": "Pivot text, Default: percentage"
|
2311
|
+
},
|
2312
|
+
"van-progress/pivot-color": {
|
2313
|
+
"type": "string",
|
2314
|
+
"description": "Pivot text background color, Default: inherit progress color"
|
2315
|
+
},
|
2316
|
+
"van-progress/text-color": {
|
2317
|
+
"type": "string",
|
2318
|
+
"description": "Pivot text color, Default: `white`"
|
2319
|
+
},
|
2320
|
+
"van-progress/inactive": {
|
2321
|
+
"type": "boolean",
|
2322
|
+
"description": "Whether to be gray, Default: `false`"
|
2323
|
+
},
|
2324
|
+
"van-progress/show-pivot": {
|
2325
|
+
"type": "boolean",
|
2326
|
+
"description": "Whether to show text, Default: `true`"
|
2327
|
+
},
|
2284
2328
|
"van-popup/v-model:show": {
|
2285
2329
|
"type": "boolean",
|
2286
2330
|
"description": "Whether to show popup, Default: `false`"
|
@@ -2360,85 +2404,13 @@
|
|
2360
2404
|
"type": "string | Element",
|
2361
2405
|
"description": "Specifies a target element where Popup will be mounted, Default: -"
|
2362
2406
|
},
|
2363
|
-
"van-popup/safe-area-inset-
|
2364
|
-
"type": "boolean",
|
2365
|
-
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
2366
|
-
},
|
2367
|
-
"van-progress/percentage": {
|
2368
|
-
"type": "number | string",
|
2369
|
-
"description": "Percentage, Default: `0`"
|
2370
|
-
},
|
2371
|
-
"van-progress/stroke-width": {
|
2372
|
-
"type": "number | string",
|
2373
|
-
"description": "Stroke width, Default: `4px`"
|
2374
|
-
},
|
2375
|
-
"van-progress/color": {
|
2376
|
-
"type": "string",
|
2377
|
-
"description": "Color, Default: `#1989fa`"
|
2378
|
-
},
|
2379
|
-
"van-progress/track-color": {
|
2380
|
-
"type": "string",
|
2381
|
-
"description": "Track color, Default: `#e5e5e5`"
|
2382
|
-
},
|
2383
|
-
"van-progress/pivot-text": {
|
2384
|
-
"type": "string",
|
2385
|
-
"description": "Pivot text, Default: percentage"
|
2386
|
-
},
|
2387
|
-
"van-progress/pivot-color": {
|
2388
|
-
"type": "string",
|
2389
|
-
"description": "Pivot text background color, Default: inherit progress color"
|
2390
|
-
},
|
2391
|
-
"van-progress/text-color": {
|
2392
|
-
"type": "string",
|
2393
|
-
"description": "Pivot text color, Default: `white`"
|
2394
|
-
},
|
2395
|
-
"van-progress/inactive": {
|
2396
|
-
"type": "boolean",
|
2397
|
-
"description": "Whether to be gray, Default: `false`"
|
2398
|
-
},
|
2399
|
-
"van-progress/show-pivot": {
|
2400
|
-
"type": "boolean",
|
2401
|
-
"description": "Whether to show text, Default: `true`"
|
2402
|
-
},
|
2403
|
-
"van-pull-refresh/v-model": {
|
2407
|
+
"van-popup/safe-area-inset-top": {
|
2404
2408
|
"type": "boolean",
|
2405
|
-
"description": "
|
2406
|
-
},
|
2407
|
-
"van-pull-refresh/pulling-text": {
|
2408
|
-
"type": "string",
|
2409
|
-
"description": "Text to show when pulling, Default: `Pull to refresh...`"
|
2410
|
-
},
|
2411
|
-
"van-pull-refresh/loosing-text": {
|
2412
|
-
"type": "string",
|
2413
|
-
"description": "Text to show when loosing, Default: `Loose to refresh...`"
|
2414
|
-
},
|
2415
|
-
"van-pull-refresh/loading-text": {
|
2416
|
-
"type": "string",
|
2417
|
-
"description": "Text to show when loading, Default: `Loading...`"
|
2418
|
-
},
|
2419
|
-
"van-pull-refresh/success-text": {
|
2420
|
-
"type": "string",
|
2421
|
-
"description": "Text to show when loading success, Default: -"
|
2422
|
-
},
|
2423
|
-
"van-pull-refresh/success-duration": {
|
2424
|
-
"type": "number | string",
|
2425
|
-
"description": "Success text display duration(ms), Default: `500`"
|
2426
|
-
},
|
2427
|
-
"van-pull-refresh/animation-duration": {
|
2428
|
-
"type": "number | string",
|
2429
|
-
"description": "Animation duration, Default: `300`"
|
2430
|
-
},
|
2431
|
-
"van-pull-refresh/head-height": {
|
2432
|
-
"type": "number | string",
|
2433
|
-
"description": "Height of head, Default: `50`"
|
2434
|
-
},
|
2435
|
-
"van-pull-refresh/pull-distance": {
|
2436
|
-
"type": "number | string",
|
2437
|
-
"description": "The distance to trigger the pull refresh, Default: same as `head-height`"
|
2409
|
+
"description": "Whether to enable top safe area adaptation, Default: `false`"
|
2438
2410
|
},
|
2439
|
-
"van-
|
2411
|
+
"van-popup/safe-area-inset-bottom": {
|
2440
2412
|
"type": "boolean",
|
2441
|
-
"description": "Whether to
|
2413
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
2442
2414
|
},
|
2443
2415
|
"van-radio/name": {
|
2444
2416
|
"type": "any",
|
@@ -2544,6 +2516,46 @@
|
|
2544
2516
|
"type": "boolean",
|
2545
2517
|
"description": "Whether to allow select rate by touch gesture, Default: `true`"
|
2546
2518
|
},
|
2519
|
+
"van-pull-refresh/v-model": {
|
2520
|
+
"type": "boolean",
|
2521
|
+
"description": "Loading status, Default: -"
|
2522
|
+
},
|
2523
|
+
"van-pull-refresh/pulling-text": {
|
2524
|
+
"type": "string",
|
2525
|
+
"description": "Text to show when pulling, Default: `Pull to refresh...`"
|
2526
|
+
},
|
2527
|
+
"van-pull-refresh/loosing-text": {
|
2528
|
+
"type": "string",
|
2529
|
+
"description": "Text to show when loosing, Default: `Loose to refresh...`"
|
2530
|
+
},
|
2531
|
+
"van-pull-refresh/loading-text": {
|
2532
|
+
"type": "string",
|
2533
|
+
"description": "Text to show when loading, Default: `Loading...`"
|
2534
|
+
},
|
2535
|
+
"van-pull-refresh/success-text": {
|
2536
|
+
"type": "string",
|
2537
|
+
"description": "Text to show when loading success, Default: -"
|
2538
|
+
},
|
2539
|
+
"van-pull-refresh/success-duration": {
|
2540
|
+
"type": "number | string",
|
2541
|
+
"description": "Success text display duration(ms), Default: `500`"
|
2542
|
+
},
|
2543
|
+
"van-pull-refresh/animation-duration": {
|
2544
|
+
"type": "number | string",
|
2545
|
+
"description": "Animation duration, Default: `300`"
|
2546
|
+
},
|
2547
|
+
"van-pull-refresh/head-height": {
|
2548
|
+
"type": "number | string",
|
2549
|
+
"description": "Height of head, Default: `50`"
|
2550
|
+
},
|
2551
|
+
"van-pull-refresh/pull-distance": {
|
2552
|
+
"type": "number | string",
|
2553
|
+
"description": "The distance to trigger the pull refresh, Default: same as `head-height`"
|
2554
|
+
},
|
2555
|
+
"van-pull-refresh/disabled": {
|
2556
|
+
"type": "boolean",
|
2557
|
+
"description": "Whether to disable pull refresh, Default: `false`"
|
2558
|
+
},
|
2547
2559
|
"van-search/v-model": {
|
2548
2560
|
"type": "number | string",
|
2549
2561
|
"description": "Input value, Default: -"
|
@@ -3089,30 +3101,6 @@
|
|
3089
3101
|
"type": "string",
|
3090
3102
|
"description": "Indicator color, Default: `#1989fa`"
|
3091
3103
|
},
|
3092
|
-
"van-swipe-cell/name": {
|
3093
|
-
"type": "number | string",
|
3094
|
-
"description": "Identifier of SwipeCell, Default: -"
|
3095
|
-
},
|
3096
|
-
"van-swipe-cell/left-width": {
|
3097
|
-
"type": "number | string",
|
3098
|
-
"description": "Width of the left swipe area, Default: `auto`"
|
3099
|
-
},
|
3100
|
-
"van-swipe-cell/right-width": {
|
3101
|
-
"type": "number | string",
|
3102
|
-
"description": "Width of the right swipe area, Default: `auto`"
|
3103
|
-
},
|
3104
|
-
"van-swipe-cell/before-close": {
|
3105
|
-
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3106
|
-
"description": "Callback function before close, Default: -"
|
3107
|
-
},
|
3108
|
-
"van-swipe-cell/disabled": {
|
3109
|
-
"type": "boolean",
|
3110
|
-
"description": "Whether to disabled swipe, Default: `false`"
|
3111
|
-
},
|
3112
|
-
"van-swipe-cell/stop-propagation": {
|
3113
|
-
"type": "boolean",
|
3114
|
-
"description": "Whether to stop touchmove event propagation, Default: `false`"
|
3115
|
-
},
|
3116
3104
|
"van-switch/v-model": {
|
3117
3105
|
"type": "ActiveValue | InactiveValue",
|
3118
3106
|
"description": "Check status of Switch, Default: `false`"
|
@@ -3145,6 +3133,30 @@
|
|
3145
3133
|
"type": "any",
|
3146
3134
|
"description": "Value when inactive, Default: `false`"
|
3147
3135
|
},
|
3136
|
+
"van-swipe-cell/name": {
|
3137
|
+
"type": "number | string",
|
3138
|
+
"description": "Identifier of SwipeCell, Default: -"
|
3139
|
+
},
|
3140
|
+
"van-swipe-cell/left-width": {
|
3141
|
+
"type": "number | string",
|
3142
|
+
"description": "Width of the left swipe area, Default: `auto`"
|
3143
|
+
},
|
3144
|
+
"van-swipe-cell/right-width": {
|
3145
|
+
"type": "number | string",
|
3146
|
+
"description": "Width of the right swipe area, Default: `auto`"
|
3147
|
+
},
|
3148
|
+
"van-swipe-cell/before-close": {
|
3149
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3150
|
+
"description": "Callback function before close, Default: -"
|
3151
|
+
},
|
3152
|
+
"van-swipe-cell/disabled": {
|
3153
|
+
"type": "boolean",
|
3154
|
+
"description": "Whether to disabled swipe, Default: `false`"
|
3155
|
+
},
|
3156
|
+
"van-swipe-cell/stop-propagation": {
|
3157
|
+
"type": "boolean",
|
3158
|
+
"description": "Whether to stop touchmove event propagation, Default: `false`"
|
3159
|
+
},
|
3148
3160
|
"van-tabs/v-model:active": {
|
3149
3161
|
"type": "number | string",
|
3150
3162
|
"description": "Index of active tab, Default: `0`"
|
@@ -3433,8 +3445,11 @@
|
|
3433
3445
|
"description": "Input name, Default: -"
|
3434
3446
|
},
|
3435
3447
|
"van-uploader/preview-size": {
|
3436
|
-
"type": "number | string",
|
3437
|
-
"description": "Size of preview image, Default:
|
3448
|
+
"type": "number | string \\",
|
3449
|
+
"description": "Size of preview image, Default: Array_",
|
3450
|
+
"options": [
|
3451
|
+
"80px"
|
3452
|
+
]
|
3438
3453
|
},
|
3439
3454
|
"van-uploader/preview-image": {
|
3440
3455
|
"type": "boolean",
|