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/tags.json
CHANGED
@@ -32,6 +32,54 @@
|
|
32
32
|
"replace"
|
33
33
|
]
|
34
34
|
},
|
35
|
+
"van-address-edit": {
|
36
|
+
"attributes": [
|
37
|
+
"area-list",
|
38
|
+
"area-columns-placeholder",
|
39
|
+
"area-placeholder",
|
40
|
+
"address-info",
|
41
|
+
"search-result",
|
42
|
+
"show-postal",
|
43
|
+
"show-delete",
|
44
|
+
"show-set-default",
|
45
|
+
"show-search-result",
|
46
|
+
"show-area",
|
47
|
+
"show-detail",
|
48
|
+
"disable-area",
|
49
|
+
"save-button-text",
|
50
|
+
"delete-button-text",
|
51
|
+
"detail-rows",
|
52
|
+
"detail-maxlength",
|
53
|
+
"is-saving",
|
54
|
+
"is-deleting",
|
55
|
+
"tel-validator",
|
56
|
+
"tel-maxlength",
|
57
|
+
"postal-validator",
|
58
|
+
"validator"
|
59
|
+
]
|
60
|
+
},
|
61
|
+
"van-address-list": {
|
62
|
+
"attributes": [
|
63
|
+
"v-model",
|
64
|
+
"list",
|
65
|
+
"disabled-list",
|
66
|
+
"disabled-text",
|
67
|
+
"switchable",
|
68
|
+
"add-button-text",
|
69
|
+
"default-tag-text"
|
70
|
+
]
|
71
|
+
},
|
72
|
+
"van-badge": {
|
73
|
+
"attributes": [
|
74
|
+
"content",
|
75
|
+
"color",
|
76
|
+
"dot",
|
77
|
+
"max",
|
78
|
+
"offset",
|
79
|
+
"show-zero",
|
80
|
+
"position"
|
81
|
+
]
|
82
|
+
},
|
35
83
|
"van-action-sheet": {
|
36
84
|
"attributes": [
|
37
85
|
"v-model:show",
|
@@ -73,28 +121,6 @@
|
|
73
121
|
"is-oversea-code"
|
74
122
|
]
|
75
123
|
},
|
76
|
-
"van-address-list": {
|
77
|
-
"attributes": [
|
78
|
-
"v-model",
|
79
|
-
"list",
|
80
|
-
"disabled-list",
|
81
|
-
"disabled-text",
|
82
|
-
"switchable",
|
83
|
-
"add-button-text",
|
84
|
-
"default-tag-text"
|
85
|
-
]
|
86
|
-
},
|
87
|
-
"van-badge": {
|
88
|
-
"attributes": [
|
89
|
-
"content",
|
90
|
-
"color",
|
91
|
-
"dot",
|
92
|
-
"max",
|
93
|
-
"offset",
|
94
|
-
"show-zero",
|
95
|
-
"position"
|
96
|
-
]
|
97
|
-
},
|
98
124
|
"van-button": {
|
99
125
|
"attributes": [
|
100
126
|
"type",
|
@@ -145,6 +171,7 @@
|
|
145
171
|
"round",
|
146
172
|
"close-on-popstate",
|
147
173
|
"close-on-click-overlay",
|
174
|
+
"safe-area-inset-top",
|
148
175
|
"safe-area-inset-bottom",
|
149
176
|
"teleport",
|
150
177
|
"max-range",
|
@@ -170,32 +197,6 @@
|
|
170
197
|
"lazy-load"
|
171
198
|
]
|
172
199
|
},
|
173
|
-
"van-address-edit": {
|
174
|
-
"attributes": [
|
175
|
-
"area-list",
|
176
|
-
"area-columns-placeholder",
|
177
|
-
"area-placeholder",
|
178
|
-
"address-info",
|
179
|
-
"search-result",
|
180
|
-
"show-postal",
|
181
|
-
"show-delete",
|
182
|
-
"show-set-default",
|
183
|
-
"show-search-result",
|
184
|
-
"show-area",
|
185
|
-
"show-detail",
|
186
|
-
"disable-area",
|
187
|
-
"save-button-text",
|
188
|
-
"delete-button-text",
|
189
|
-
"detail-rows",
|
190
|
-
"detail-maxlength",
|
191
|
-
"is-saving",
|
192
|
-
"is-deleting",
|
193
|
-
"tel-validator",
|
194
|
-
"tel-maxlength",
|
195
|
-
"postal-validator",
|
196
|
-
"validator"
|
197
|
-
]
|
198
|
-
},
|
199
200
|
"van-cascader": {
|
200
201
|
"attributes": [
|
201
202
|
"title",
|
@@ -263,22 +264,6 @@
|
|
263
264
|
"checked-color"
|
264
265
|
]
|
265
266
|
},
|
266
|
-
"van-circle": {
|
267
|
-
"attributes": [
|
268
|
-
"v-model:current-rate",
|
269
|
-
"rate",
|
270
|
-
"size",
|
271
|
-
"color",
|
272
|
-
"layer-color",
|
273
|
-
"fill",
|
274
|
-
"speed",
|
275
|
-
"text",
|
276
|
-
"stroke-width",
|
277
|
-
"stroke-linecap",
|
278
|
-
"clockwise",
|
279
|
-
"start-position"
|
280
|
-
]
|
281
|
-
},
|
282
267
|
"van-row": {
|
283
268
|
"attributes": [
|
284
269
|
"gutter",
|
@@ -295,6 +280,22 @@
|
|
295
280
|
"tag"
|
296
281
|
]
|
297
282
|
},
|
283
|
+
"van-circle": {
|
284
|
+
"attributes": [
|
285
|
+
"v-model:current-rate",
|
286
|
+
"rate",
|
287
|
+
"size",
|
288
|
+
"color",
|
289
|
+
"layer-color",
|
290
|
+
"fill",
|
291
|
+
"speed",
|
292
|
+
"text",
|
293
|
+
"stroke-width",
|
294
|
+
"stroke-linecap",
|
295
|
+
"clockwise",
|
296
|
+
"start-position"
|
297
|
+
]
|
298
|
+
},
|
298
299
|
"van-collapse": {
|
299
300
|
"attributes": [
|
300
301
|
"v-model",
|
@@ -314,6 +315,7 @@
|
|
314
315
|
"disabled",
|
315
316
|
"readonly",
|
316
317
|
"is-link",
|
318
|
+
"lazy-render",
|
317
319
|
"title-class",
|
318
320
|
"value-class",
|
319
321
|
"label-class"
|
@@ -334,6 +336,14 @@
|
|
334
336
|
"add-text"
|
335
337
|
]
|
336
338
|
},
|
339
|
+
"van-contact-list": {
|
340
|
+
"attributes": [
|
341
|
+
"v-model",
|
342
|
+
"list",
|
343
|
+
"add-text",
|
344
|
+
"default-tag-text"
|
345
|
+
]
|
346
|
+
},
|
337
347
|
"van-contact-edit": {
|
338
348
|
"attributes": [
|
339
349
|
"contact-info",
|
@@ -345,14 +355,6 @@
|
|
345
355
|
"set-default-label"
|
346
356
|
]
|
347
357
|
},
|
348
|
-
"van-contact-list": {
|
349
|
-
"attributes": [
|
350
|
-
"v-model",
|
351
|
-
"list",
|
352
|
-
"add-text",
|
353
|
-
"default-tag-text"
|
354
|
-
]
|
355
|
-
},
|
356
358
|
"van-count-down": {
|
357
359
|
"attributes": [
|
358
360
|
"time",
|
@@ -391,37 +393,6 @@
|
|
391
393
|
"show-count"
|
392
394
|
]
|
393
395
|
},
|
394
|
-
"van-datetime-picker": {
|
395
|
-
"attributes": [
|
396
|
-
"type",
|
397
|
-
"title",
|
398
|
-
"confirm-button-text",
|
399
|
-
"cancel-button-text",
|
400
|
-
"show-toolbar",
|
401
|
-
"loading",
|
402
|
-
"readonly",
|
403
|
-
"filter",
|
404
|
-
"formatter",
|
405
|
-
"columns-order",
|
406
|
-
"item-height",
|
407
|
-
"visible-item-count",
|
408
|
-
"swipe-duration"
|
409
|
-
]
|
410
|
-
},
|
411
|
-
"van-date-picker": {
|
412
|
-
"attributes": [
|
413
|
-
"min-date",
|
414
|
-
"max-date"
|
415
|
-
]
|
416
|
-
},
|
417
|
-
"van-time-picker": {
|
418
|
-
"attributes": [
|
419
|
-
"min-hour",
|
420
|
-
"max-hour",
|
421
|
-
"min-minute",
|
422
|
-
"max-minute"
|
423
|
-
]
|
424
|
-
},
|
425
396
|
"van-dialog": {
|
426
397
|
"attributes": [
|
427
398
|
"v-model:show",
|
@@ -449,35 +420,6 @@
|
|
449
420
|
"teleport"
|
450
421
|
]
|
451
422
|
},
|
452
|
-
"van-divider": {
|
453
|
-
"attributes": [
|
454
|
-
"dashed",
|
455
|
-
"hairline",
|
456
|
-
"content-position"
|
457
|
-
]
|
458
|
-
},
|
459
|
-
"van-dropdown-menu": {
|
460
|
-
"attributes": [
|
461
|
-
"active-color",
|
462
|
-
"direction",
|
463
|
-
"z-index",
|
464
|
-
"duration",
|
465
|
-
"overlay",
|
466
|
-
"close-on-click-overlay",
|
467
|
-
"close-on-click-outside"
|
468
|
-
]
|
469
|
-
},
|
470
|
-
"van-dropdown-item": {
|
471
|
-
"attributes": [
|
472
|
-
"v-model",
|
473
|
-
"title",
|
474
|
-
"options",
|
475
|
-
"disabled",
|
476
|
-
"lazy-render",
|
477
|
-
"title-class",
|
478
|
-
"teleport"
|
479
|
-
]
|
480
|
-
},
|
481
423
|
"van-empty": {
|
482
424
|
"attributes": [
|
483
425
|
"image",
|
@@ -526,6 +468,66 @@
|
|
526
468
|
"autocomplete"
|
527
469
|
]
|
528
470
|
},
|
471
|
+
"van-dropdown-menu": {
|
472
|
+
"attributes": [
|
473
|
+
"active-color",
|
474
|
+
"direction",
|
475
|
+
"z-index",
|
476
|
+
"duration",
|
477
|
+
"overlay",
|
478
|
+
"close-on-click-overlay",
|
479
|
+
"close-on-click-outside"
|
480
|
+
]
|
481
|
+
},
|
482
|
+
"van-dropdown-item": {
|
483
|
+
"attributes": [
|
484
|
+
"v-model",
|
485
|
+
"title",
|
486
|
+
"options",
|
487
|
+
"disabled",
|
488
|
+
"lazy-render",
|
489
|
+
"title-class",
|
490
|
+
"teleport"
|
491
|
+
]
|
492
|
+
},
|
493
|
+
"van-datetime-picker": {
|
494
|
+
"attributes": [
|
495
|
+
"type",
|
496
|
+
"title",
|
497
|
+
"confirm-button-text",
|
498
|
+
"cancel-button-text",
|
499
|
+
"show-toolbar",
|
500
|
+
"loading",
|
501
|
+
"readonly",
|
502
|
+
"filter",
|
503
|
+
"formatter",
|
504
|
+
"columns-order",
|
505
|
+
"item-height",
|
506
|
+
"visible-item-count",
|
507
|
+
"swipe-duration"
|
508
|
+
]
|
509
|
+
},
|
510
|
+
"van-date-picker": {
|
511
|
+
"attributes": [
|
512
|
+
"min-date",
|
513
|
+
"max-date"
|
514
|
+
]
|
515
|
+
},
|
516
|
+
"van-time-picker": {
|
517
|
+
"attributes": [
|
518
|
+
"min-hour",
|
519
|
+
"max-hour",
|
520
|
+
"min-minute",
|
521
|
+
"max-minute"
|
522
|
+
]
|
523
|
+
},
|
524
|
+
"van-divider": {
|
525
|
+
"attributes": [
|
526
|
+
"dashed",
|
527
|
+
"hairline",
|
528
|
+
"content-position"
|
529
|
+
]
|
530
|
+
},
|
529
531
|
"van-form": {
|
530
532
|
"attributes": [
|
531
533
|
"label-width",
|
@@ -552,7 +554,8 @@
|
|
552
554
|
"center",
|
553
555
|
"square",
|
554
556
|
"clickable",
|
555
|
-
"direction"
|
557
|
+
"direction",
|
558
|
+
"reverse"
|
556
559
|
]
|
557
560
|
},
|
558
561
|
"van-grid-item": {
|
@@ -561,7 +564,6 @@
|
|
561
564
|
"icon",
|
562
565
|
"icon-prefix",
|
563
566
|
"icon-color",
|
564
|
-
"reverse",
|
565
567
|
"dot",
|
566
568
|
"badge",
|
567
569
|
"badge-props",
|
@@ -570,18 +572,6 @@
|
|
570
572
|
"replace"
|
571
573
|
]
|
572
574
|
},
|
573
|
-
"van-icon": {
|
574
|
-
"attributes": [
|
575
|
-
"name",
|
576
|
-
"dot",
|
577
|
-
"badge",
|
578
|
-
"badge-props",
|
579
|
-
"color",
|
580
|
-
"size",
|
581
|
-
"class-prefix",
|
582
|
-
"tag"
|
583
|
-
]
|
584
|
-
},
|
585
575
|
"van-image": {
|
586
576
|
"attributes": [
|
587
577
|
"src",
|
@@ -601,6 +591,18 @@
|
|
601
591
|
"icon-prefix"
|
602
592
|
]
|
603
593
|
},
|
594
|
+
"van-icon": {
|
595
|
+
"attributes": [
|
596
|
+
"name",
|
597
|
+
"dot",
|
598
|
+
"badge",
|
599
|
+
"badge-props",
|
600
|
+
"color",
|
601
|
+
"size",
|
602
|
+
"class-prefix",
|
603
|
+
"tag"
|
604
|
+
]
|
605
|
+
},
|
604
606
|
"van-image-preview": {
|
605
607
|
"attributes": [
|
606
608
|
"v-model:show",
|
@@ -639,6 +641,16 @@
|
|
639
641
|
"index"
|
640
642
|
]
|
641
643
|
},
|
644
|
+
"van-loading": {
|
645
|
+
"attributes": [
|
646
|
+
"color",
|
647
|
+
"type",
|
648
|
+
"size",
|
649
|
+
"text-size",
|
650
|
+
"text-color",
|
651
|
+
"vertical"
|
652
|
+
]
|
653
|
+
},
|
642
654
|
"van-list": {
|
643
655
|
"attributes": [
|
644
656
|
"v-model:loading",
|
@@ -652,16 +664,6 @@
|
|
652
664
|
"direction"
|
653
665
|
]
|
654
666
|
},
|
655
|
-
"van-loading": {
|
656
|
-
"attributes": [
|
657
|
-
"color",
|
658
|
-
"type",
|
659
|
-
"size",
|
660
|
-
"text-size",
|
661
|
-
"text-color",
|
662
|
-
"vertical"
|
663
|
-
]
|
664
|
-
},
|
665
667
|
"van-nav-bar": {
|
666
668
|
"attributes": [
|
667
669
|
"title",
|
@@ -688,6 +690,30 @@
|
|
688
690
|
"wrapable"
|
689
691
|
]
|
690
692
|
},
|
693
|
+
"van-pagination": {
|
694
|
+
"attributes": [
|
695
|
+
"v-model",
|
696
|
+
"mode",
|
697
|
+
"prev-text",
|
698
|
+
"next-text",
|
699
|
+
"total-items",
|
700
|
+
"items-per-page",
|
701
|
+
"page-count",
|
702
|
+
"show-page-size",
|
703
|
+
"force-ellipses"
|
704
|
+
]
|
705
|
+
},
|
706
|
+
"van-overlay": {
|
707
|
+
"attributes": [
|
708
|
+
"show",
|
709
|
+
"z-index",
|
710
|
+
"duration",
|
711
|
+
"class-name",
|
712
|
+
"custom-class",
|
713
|
+
"lock-scroll",
|
714
|
+
"lazy-render"
|
715
|
+
]
|
716
|
+
},
|
691
717
|
"van-number-keyboard": {
|
692
718
|
"attributes": [
|
693
719
|
"v-model",
|
@@ -709,30 +735,6 @@
|
|
709
735
|
"random-key-order"
|
710
736
|
]
|
711
737
|
},
|
712
|
-
"van-overlay": {
|
713
|
-
"attributes": [
|
714
|
-
"show",
|
715
|
-
"z-index",
|
716
|
-
"duration",
|
717
|
-
"class-name",
|
718
|
-
"custom-class",
|
719
|
-
"lock-scroll",
|
720
|
-
"lazy-render"
|
721
|
-
]
|
722
|
-
},
|
723
|
-
"van-pagination": {
|
724
|
-
"attributes": [
|
725
|
-
"v-model",
|
726
|
-
"mode",
|
727
|
-
"prev-text",
|
728
|
-
"next-text",
|
729
|
-
"total-items",
|
730
|
-
"items-per-page",
|
731
|
-
"page-count",
|
732
|
-
"show-page-size",
|
733
|
-
"force-ellipses"
|
734
|
-
]
|
735
|
-
},
|
736
738
|
"van-password-input": {
|
737
739
|
"attributes": [
|
738
740
|
"value",
|
@@ -781,6 +783,19 @@
|
|
781
783
|
"icon-prefix"
|
782
784
|
]
|
783
785
|
},
|
786
|
+
"van-progress": {
|
787
|
+
"attributes": [
|
788
|
+
"percentage",
|
789
|
+
"stroke-width",
|
790
|
+
"color",
|
791
|
+
"track-color",
|
792
|
+
"pivot-text",
|
793
|
+
"pivot-color",
|
794
|
+
"text-color",
|
795
|
+
"inactive",
|
796
|
+
"show-pivot"
|
797
|
+
]
|
798
|
+
},
|
784
799
|
"van-popup": {
|
785
800
|
"attributes": [
|
786
801
|
"v-model:show",
|
@@ -802,36 +817,10 @@
|
|
802
817
|
"transition",
|
803
818
|
"transition-appear",
|
804
819
|
"teleport",
|
820
|
+
"safe-area-inset-top",
|
805
821
|
"safe-area-inset-bottom"
|
806
822
|
]
|
807
823
|
},
|
808
|
-
"van-progress": {
|
809
|
-
"attributes": [
|
810
|
-
"percentage",
|
811
|
-
"stroke-width",
|
812
|
-
"color",
|
813
|
-
"track-color",
|
814
|
-
"pivot-text",
|
815
|
-
"pivot-color",
|
816
|
-
"text-color",
|
817
|
-
"inactive",
|
818
|
-
"show-pivot"
|
819
|
-
]
|
820
|
-
},
|
821
|
-
"van-pull-refresh": {
|
822
|
-
"attributes": [
|
823
|
-
"v-model",
|
824
|
-
"pulling-text",
|
825
|
-
"loosing-text",
|
826
|
-
"loading-text",
|
827
|
-
"success-text",
|
828
|
-
"success-duration",
|
829
|
-
"animation-duration",
|
830
|
-
"head-height",
|
831
|
-
"pull-distance",
|
832
|
-
"disabled"
|
833
|
-
]
|
834
|
-
},
|
835
824
|
"van-radio": {
|
836
825
|
"attributes": [
|
837
826
|
"name",
|
@@ -870,6 +859,20 @@
|
|
870
859
|
"touchable"
|
871
860
|
]
|
872
861
|
},
|
862
|
+
"van-pull-refresh": {
|
863
|
+
"attributes": [
|
864
|
+
"v-model",
|
865
|
+
"pulling-text",
|
866
|
+
"loosing-text",
|
867
|
+
"loading-text",
|
868
|
+
"success-text",
|
869
|
+
"success-duration",
|
870
|
+
"animation-duration",
|
871
|
+
"head-height",
|
872
|
+
"pull-distance",
|
873
|
+
"disabled"
|
874
|
+
]
|
875
|
+
},
|
873
876
|
"van-search": {
|
874
877
|
"attributes": [
|
875
878
|
"v-model",
|
@@ -1054,16 +1057,6 @@
|
|
1054
1057
|
"van-swipe-item": {
|
1055
1058
|
"attributes": []
|
1056
1059
|
},
|
1057
|
-
"van-swipe-cell": {
|
1058
|
-
"attributes": [
|
1059
|
-
"name",
|
1060
|
-
"left-width",
|
1061
|
-
"right-width",
|
1062
|
-
"before-close",
|
1063
|
-
"disabled",
|
1064
|
-
"stop-propagation"
|
1065
|
-
]
|
1066
|
-
},
|
1067
1060
|
"van-switch": {
|
1068
1061
|
"attributes": [
|
1069
1062
|
"v-model",
|
@@ -1076,6 +1069,16 @@
|
|
1076
1069
|
"inactive-value"
|
1077
1070
|
]
|
1078
1071
|
},
|
1072
|
+
"van-swipe-cell": {
|
1073
|
+
"attributes": [
|
1074
|
+
"name",
|
1075
|
+
"left-width",
|
1076
|
+
"right-width",
|
1077
|
+
"before-close",
|
1078
|
+
"disabled",
|
1079
|
+
"stop-propagation"
|
1080
|
+
]
|
1081
|
+
},
|
1079
1082
|
"van-tabs": {
|
1080
1083
|
"attributes": [
|
1081
1084
|
"v-model:active",
|