vant 3.2.0 → 3.2.4
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 +128 -61
- package/es/action-bar/ActionBar.d.ts +1 -1
- package/es/action-bar/index.d.ts +2 -3
- package/es/action-bar/index.js +2 -3
- package/es/action-bar-button/ActionBarButton.d.ts +1 -1
- package/es/action-bar-button/index.d.ts +2 -3
- package/es/action-bar-button/index.js +2 -3
- package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/es/action-bar-icon/index.d.ts +2 -3
- package/es/action-bar-icon/index.js +2 -3
- package/es/action-sheet/ActionSheet.d.ts +1 -1
- package/es/action-sheet/index.d.ts +2 -3
- package/es/action-sheet/index.js +2 -3
- package/es/address-edit/AddressEdit.js +3 -3
- package/es/address-edit/AddressEditDetail.js +3 -19
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +3 -2
- package/es/address-edit/index.js +2 -3
- package/es/address-edit/index.less +0 -7
- package/es/address-edit/var.less +0 -2
- package/es/address-list/index.d.ts +1 -2
- package/es/address-list/index.js +2 -3
- package/es/area/Area.d.ts +1 -1
- package/es/area/Area.js +5 -2
- package/es/area/index.d.ts +4 -3
- package/es/area/index.js +2 -3
- package/es/badge/Badge.d.ts +2 -2
- package/es/badge/index.d.ts +3 -4
- package/es/badge/index.js +2 -3
- package/es/button/Button.d.ts +2 -2
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +3 -4
- package/es/button/index.js +2 -3
- package/es/button/index.less +7 -7
- package/es/calendar/Calendar.d.ts +3 -4
- package/es/calendar/Calendar.js +62 -56
- package/es/calendar/CalendarMonth.d.ts +29 -3
- package/es/calendar/CalendarMonth.js +34 -28
- package/es/calendar/index.d.ts +5 -5
- package/es/calendar/index.js +2 -3
- package/es/calendar/types.d.ts +10 -1
- package/es/card/index.d.ts +1 -2
- package/es/card/index.js +2 -3
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/index.d.ts +2 -3
- package/es/cascader/index.js +2 -3
- package/es/cell/Cell.d.ts +2 -2
- package/es/cell/index.d.ts +3 -4
- package/es/cell/index.js +2 -3
- package/es/cell-group/CellGroup.d.ts +1 -1
- package/es/cell-group/index.d.ts +2 -3
- package/es/cell-group/index.js +2 -3
- package/es/checkbox/Checkbox.d.ts +2 -2
- package/es/checkbox/Checker.d.ts +4 -4
- package/es/checkbox/Checker.js +1 -1
- package/es/checkbox/index.d.ts +5 -4
- package/es/checkbox/index.js +2 -3
- package/es/checkbox-group/index.d.ts +3 -2
- package/es/checkbox-group/index.js +2 -3
- package/es/circle/Circle.d.ts +8 -0
- package/es/circle/Circle.js +21 -1
- package/es/circle/index.d.ts +9 -2
- package/es/circle/index.js +2 -3
- package/es/col/Col.d.ts +1 -1
- package/es/col/index.d.ts +2 -3
- package/es/col/index.js +2 -3
- package/es/collapse/index.d.ts +1 -2
- package/es/collapse/index.js +2 -3
- package/es/collapse-item/CollapseItem.d.ts +4 -4
- package/es/collapse-item/CollapseItem.js +4 -2
- package/es/collapse-item/index.d.ts +7 -6
- package/es/collapse-item/index.js +2 -3
- package/es/composables/use-height.js +3 -5
- package/es/composables/use-lock-scroll.js +2 -10
- package/es/config-provider/ConfigProvider.d.ts +2 -2
- package/es/config-provider/index.d.ts +3 -4
- package/es/config-provider/index.js +2 -3
- package/es/contact-card/index.d.ts +1 -2
- package/es/contact-card/index.js +2 -3
- package/es/contact-edit/ContactEdit.js +6 -8
- package/es/contact-edit/index.d.ts +1 -2
- package/es/contact-edit/index.js +2 -3
- package/es/contact-list/index.d.ts +1 -2
- package/es/contact-list/index.js +2 -3
- package/es/count-down/CountDown.d.ts +2 -10
- package/es/count-down/index.d.ts +4 -3
- package/es/count-down/index.js +2 -3
- package/es/count-down/types.d.ts +11 -0
- package/es/count-down/types.js +1 -0
- package/es/coupon/Coupon.d.ts +1 -1
- package/es/coupon/index.d.ts +2 -3
- package/es/coupon/index.js +2 -3
- package/es/coupon-cell/CouponCell.d.ts +1 -1
- package/es/coupon-cell/CouponCell.js +1 -1
- package/es/coupon-cell/index.d.ts +2 -3
- package/es/coupon-cell/index.js +2 -3
- package/es/coupon-list/CouponList.js +5 -12
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +1 -2
- package/es/coupon-list/index.js +2 -3
- package/es/coupon-list/index.less +6 -1
- package/es/datetime-picker/DatePicker.d.ts +1 -1
- package/es/datetime-picker/DatePicker.js +4 -3
- package/es/datetime-picker/DatetimePicker.d.ts +3 -2
- package/es/datetime-picker/DatetimePicker.js +1 -1
- package/es/datetime-picker/TimePicker.d.ts +1 -1
- package/es/datetime-picker/TimePicker.js +3 -1
- package/es/datetime-picker/index.d.ts +6 -4
- package/es/datetime-picker/index.js +2 -3
- package/es/dialog/Dialog.d.ts +3 -6
- package/es/dialog/Dialog.js +2 -1
- package/es/dialog/function-call.d.ts +15 -40
- package/es/dialog/function-call.js +3 -2
- package/es/dialog/index.d.ts +2 -3
- package/es/dialog/types.d.ts +36 -0
- package/es/dialog/types.js +1 -0
- package/es/divider/Divider.d.ts +1 -1
- package/es/divider/index.d.ts +2 -3
- package/es/divider/index.js +2 -3
- package/es/dropdown-item/DropdownItem.d.ts +1 -1
- package/es/dropdown-item/index.d.ts +4 -3
- package/es/dropdown-item/index.js +2 -3
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/index.d.ts +4 -3
- package/es/dropdown-menu/index.js +2 -3
- package/es/empty/Empty.d.ts +1 -1
- package/es/empty/index.d.ts +2 -3
- package/es/empty/index.js +2 -3
- package/es/field/Field.d.ts +19 -12
- package/es/field/Field.js +8 -3
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +17 -13
- package/es/field/index.js +2 -3
- package/es/field/index.less +5 -3
- package/es/field/var.less +1 -1
- package/es/form/index.d.ts +3 -2
- package/es/form/index.js +2 -3
- package/es/grid/Grid.d.ts +3 -3
- package/es/grid/index.d.ts +4 -5
- package/es/grid/index.js +2 -3
- package/es/grid-item/GridItem.d.ts +1 -1
- package/es/grid-item/index.d.ts +2 -3
- package/es/grid-item/index.js +2 -3
- package/es/icon/Icon.d.ts +1 -1
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +2 -3
- package/es/icon/index.js +2 -3
- package/es/icon/index.less +1 -1
- package/es/image/Image.d.ts +5 -5
- package/es/image/Image.js +1 -2
- package/es/image/index.d.ts +6 -7
- package/es/image/index.js +2 -3
- package/es/image-preview/ImagePreview.d.ts +4 -4
- package/es/image-preview/ImagePreviewItem.d.ts +1 -1
- package/es/image-preview/function-call.d.ts +5 -5
- package/es/image-preview/function-call.js +5 -5
- package/es/image-preview/index.d.ts +2 -0
- package/es/index-anchor/IndexAnchor.d.ts +1 -1
- package/es/index-anchor/index.d.ts +2 -3
- package/es/index-anchor/index.js +2 -3
- package/es/index-bar/index.d.ts +3 -2
- package/es/index-bar/index.js +2 -3
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/list/index.d.ts +3 -2
- package/es/list/index.js +2 -3
- package/es/loading/Loading.d.ts +1 -1
- package/es/loading/index.d.ts +2 -3
- package/es/loading/index.js +2 -3
- package/es/locale/index.d.ts +1 -2
- package/es/locale/index.js +2 -3
- package/es/locale/lang/de-DE-formal.d.ts +1 -8
- package/es/locale/lang/de-DE-formal.js +2 -9
- package/es/locale/lang/de-DE.d.ts +1 -8
- package/es/locale/lang/de-DE.js +2 -9
- package/es/locale/lang/en-US.d.ts +1 -8
- package/es/locale/lang/en-US.js +2 -9
- package/es/locale/lang/es-ES.d.ts +1 -8
- package/es/locale/lang/es-ES.js +2 -9
- package/es/locale/lang/fr-FR.d.ts +1 -8
- package/es/locale/lang/fr-FR.js +2 -9
- package/es/locale/lang/ja-JP.d.ts +1 -8
- package/es/locale/lang/ja-JP.js +4 -11
- package/es/locale/lang/nb-NO.d.ts +1 -8
- package/es/locale/lang/nb-NO.js +2 -9
- package/es/locale/lang/ro-RO.d.ts +1 -8
- package/es/locale/lang/ro-RO.js +2 -9
- package/es/locale/lang/ru-RU.d.ts +1 -8
- package/es/locale/lang/ru-RU.js +2 -9
- package/es/locale/lang/th-TH.d.ts +1 -8
- package/es/locale/lang/th-TH.js +2 -9
- package/es/locale/lang/tr-TR.d.ts +1 -8
- package/es/locale/lang/tr-TR.js +2 -9
- package/es/locale/lang/zh-CN.d.ts +1 -8
- package/es/locale/lang/zh-CN.js +6 -13
- package/es/locale/lang/zh-HK.d.ts +1 -8
- package/es/locale/lang/zh-HK.js +5 -12
- package/es/locale/lang/zh-TW.d.ts +1 -8
- package/es/locale/lang/zh-TW.js +5 -12
- package/es/nav-bar/index.d.ts +1 -2
- package/es/nav-bar/index.js +2 -3
- package/es/notice-bar/index.d.ts +3 -2
- package/es/notice-bar/index.js +2 -3
- package/es/notify/Notify.d.ts +2 -2
- package/es/notify/Notify.js +12 -15
- package/es/notify/function-call.d.ts +6 -19
- package/es/notify/function-call.js +3 -2
- package/es/notify/index.d.ts +2 -3
- package/es/notify/types.d.ts +20 -0
- package/es/notify/types.js +1 -0
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +1 -2
- package/es/number-keyboard/index.js +2 -3
- package/es/number-keyboard/index.less +2 -1
- package/es/number-keyboard/var.less +1 -0
- package/es/overlay/Overlay.d.ts +1 -1
- package/es/overlay/index.d.ts +2 -3
- package/es/overlay/index.js +2 -3
- package/es/pagination/index.d.ts +1 -2
- package/es/pagination/index.js +2 -3
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +1 -2
- package/es/password-input/index.js +2 -3
- package/es/password-input/index.less +2 -0
- package/es/password-input/var.less +1 -0
- package/es/picker/Picker.d.ts +3 -3
- package/es/picker/PickerColumn.d.ts +2 -2
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +6 -5
- package/es/picker/index.js +2 -3
- package/es/picker/types.d.ts +3 -3
- package/es/popover/Popover.d.ts +8 -0
- package/es/popover/Popover.js +25 -15
- package/es/popover/index.d.ts +8 -2
- package/es/popover/index.js +2 -3
- package/es/popup/Popup.js +9 -8
- package/es/popup/index.d.ts +1 -2
- package/es/popup/index.js +2 -3
- package/es/progress/Progress.d.ts +5 -2
- package/es/progress/Progress.js +7 -32
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +7 -4
- package/es/progress/index.js +2 -3
- package/es/progress/index.less +6 -1
- package/es/pull-refresh/index.d.ts +1 -2
- package/es/pull-refresh/index.js +2 -3
- package/es/radio/Radio.d.ts +2 -2
- package/es/radio/index.d.ts +3 -4
- package/es/radio/index.js +2 -3
- package/es/radio-group/index.d.ts +1 -2
- package/es/radio-group/index.js +2 -3
- package/es/rate/Rate.d.ts +2 -2
- package/es/rate/Rate.js +1 -1
- package/es/rate/index.d.ts +3 -4
- package/es/rate/index.js +2 -3
- package/es/row/Row.d.ts +2 -2
- package/es/row/index.d.ts +3 -4
- package/es/row/index.js +2 -3
- package/es/search/Search.d.ts +18 -6
- package/es/search/Search.js +4 -3
- package/es/search/index.d.ts +18 -8
- package/es/search/index.js +2 -3
- package/es/share-sheet/ShareSheet.d.ts +1 -1
- package/es/share-sheet/index.d.ts +2 -3
- package/es/share-sheet/index.js +2 -3
- package/es/sidebar/index.d.ts +1 -2
- package/es/sidebar/index.js +2 -3
- package/es/sidebar-item/index.d.ts +1 -2
- package/es/sidebar-item/index.js +2 -3
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/index.d.ts +2 -3
- package/es/skeleton/index.js +2 -3
- package/es/slider/Slider.d.ts +6 -1
- package/es/slider/Slider.js +53 -17
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +5 -2
- package/es/slider/index.js +2 -3
- package/es/slider/index.less +19 -23
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +1 -2
- package/es/step/index.js +2 -3
- package/es/step/index.less +1 -1
- package/es/stepper/index.d.ts +1 -2
- package/es/stepper/index.js +2 -3
- package/es/steps/index.d.ts +1 -2
- package/es/steps/index.js +2 -3
- package/es/sticky/index.d.ts +1 -2
- package/es/sticky/index.js +2 -3
- package/es/style/animation.css +1 -1
- package/es/style/animation.less +20 -20
- package/es/style/base.css +1 -1
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +1 -2
- package/es/submit-bar/index.js +2 -3
- package/es/submit-bar/index.less +3 -4
- package/es/swipe/Swipe.d.ts +5 -5
- package/es/swipe/Swipe.js +2 -1
- package/es/swipe/index.d.ts +8 -7
- package/es/swipe/index.js +2 -3
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/index.d.ts +3 -2
- package/es/swipe-cell/index.js +2 -3
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.d.ts +1 -2
- package/es/swipe-item/index.js +2 -3
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +1 -2
- package/es/switch/index.js +2 -3
- package/es/tab/Tab.d.ts +8 -1
- package/es/tab/Tab.js +3 -2
- package/es/tab/index.d.ts +9 -3
- package/es/tab/index.js +2 -3
- package/es/tabbar/index.d.ts +1 -2
- package/es/tabbar/index.js +2 -3
- package/es/tabbar-item/index.d.ts +1 -2
- package/es/tabbar-item/index.js +2 -3
- package/es/tabs/Tabs.js +4 -8
- package/es/tabs/TabsTitle.d.ts +8 -1
- package/es/tabs/TabsTitle.js +5 -3
- package/es/tabs/index.d.ts +3 -2
- package/es/tabs/index.js +2 -3
- package/es/tabs/utils.js +2 -4
- package/es/tag/index.d.ts +1 -2
- package/es/tag/index.js +2 -3
- package/es/toast/Toast.d.ts +1 -2
- package/es/toast/Toast.js +3 -4
- package/es/toast/function-call.d.ts +2 -25
- package/es/toast/function-call.js +3 -1
- package/es/toast/index.d.ts +2 -3
- package/es/toast/types.d.ts +32 -0
- package/es/toast/types.js +1 -0
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +1 -2
- package/es/tree-select/index.js +2 -3
- package/es/tree-select/index.less +1 -1
- package/es/uploader/Uploader.d.ts +3 -3
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +6 -5
- package/es/uploader/index.js +2 -3
- package/es/uploader/index.less +4 -5
- package/es/utils/validate.d.ts +0 -1
- package/es/utils/validate.js +0 -3
- package/es/utils/with-install.d.ts +1 -1
- package/es/utils/with-install.js +0 -1
- package/lib/action-bar/ActionBar.d.ts +1 -1
- package/lib/action-bar/index.d.ts +2 -3
- package/lib/action-bar/index.js +1 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
- package/lib/action-bar-button/index.d.ts +2 -3
- package/lib/action-bar-button/index.js +1 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/lib/action-bar-icon/index.d.ts +2 -3
- package/lib/action-bar-icon/index.js +1 -1
- package/lib/action-sheet/ActionSheet.d.ts +1 -1
- package/lib/action-sheet/index.d.ts +2 -3
- package/lib/action-sheet/index.js +1 -1
- package/lib/address-edit/AddressEdit.js +3 -3
- package/lib/address-edit/AddressEditDetail.js +2 -18
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +3 -2
- package/lib/address-edit/index.js +1 -1
- package/lib/address-edit/index.less +0 -7
- package/lib/address-edit/var.less +0 -2
- package/lib/address-list/index.d.ts +1 -2
- package/lib/address-list/index.js +1 -1
- package/lib/area/Area.d.ts +1 -1
- package/lib/area/Area.js +5 -2
- package/lib/area/index.d.ts +4 -3
- package/lib/area/index.js +1 -1
- package/lib/badge/Badge.d.ts +2 -2
- package/lib/badge/index.d.ts +3 -4
- package/lib/badge/index.js +1 -1
- package/lib/button/Button.d.ts +2 -2
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +3 -4
- package/lib/button/index.js +1 -1
- package/lib/button/index.less +7 -7
- package/lib/calendar/Calendar.d.ts +3 -4
- package/lib/calendar/Calendar.js +60 -54
- package/lib/calendar/CalendarMonth.d.ts +29 -3
- package/lib/calendar/CalendarMonth.js +34 -28
- package/lib/calendar/index.d.ts +5 -5
- package/lib/calendar/index.js +1 -1
- package/lib/calendar/types.d.ts +10 -1
- package/lib/card/index.d.ts +1 -2
- package/lib/card/index.js +1 -1
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/index.d.ts +2 -3
- package/lib/cascader/index.js +1 -1
- package/lib/cell/Cell.d.ts +2 -2
- package/lib/cell/index.d.ts +3 -4
- package/lib/cell/index.js +1 -1
- package/lib/cell-group/CellGroup.d.ts +1 -1
- package/lib/cell-group/index.d.ts +2 -3
- package/lib/cell-group/index.js +1 -1
- package/lib/checkbox/Checkbox.d.ts +2 -2
- package/lib/checkbox/Checker.d.ts +4 -4
- package/lib/checkbox/Checker.js +1 -1
- package/lib/checkbox/index.d.ts +5 -4
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox-group/index.d.ts +3 -2
- package/lib/checkbox-group/index.js +1 -1
- package/lib/circle/Circle.d.ts +8 -0
- package/lib/circle/Circle.js +21 -1
- package/lib/circle/index.d.ts +9 -2
- package/lib/circle/index.js +1 -1
- package/lib/col/Col.d.ts +1 -1
- package/lib/col/index.d.ts +2 -3
- package/lib/col/index.js +1 -1
- package/lib/collapse/index.d.ts +1 -2
- package/lib/collapse/index.js +1 -1
- package/lib/collapse-item/CollapseItem.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.js +4 -2
- package/lib/collapse-item/index.d.ts +7 -6
- package/lib/collapse-item/index.js +1 -1
- package/lib/composables/use-height.js +3 -5
- package/lib/composables/use-lock-scroll.js +2 -10
- package/lib/config-provider/ConfigProvider.d.ts +2 -2
- package/lib/config-provider/index.d.ts +3 -4
- package/lib/config-provider/index.js +1 -1
- package/lib/contact-card/index.d.ts +1 -2
- package/lib/contact-card/index.js +1 -1
- package/lib/contact-edit/ContactEdit.js +6 -8
- package/lib/contact-edit/index.d.ts +1 -2
- package/lib/contact-edit/index.js +1 -1
- package/lib/contact-list/index.d.ts +1 -2
- package/lib/contact-list/index.js +1 -1
- package/lib/count-down/CountDown.d.ts +2 -10
- package/lib/count-down/index.d.ts +4 -3
- package/lib/count-down/index.js +1 -1
- package/lib/count-down/types.d.ts +11 -0
- package/lib/count-down/types.js +3 -0
- package/lib/coupon/Coupon.d.ts +1 -1
- package/lib/coupon/index.d.ts +2 -3
- package/lib/coupon/index.js +1 -1
- package/lib/coupon-cell/CouponCell.d.ts +1 -1
- package/lib/coupon-cell/CouponCell.js +1 -1
- package/lib/coupon-cell/index.d.ts +2 -3
- package/lib/coupon-cell/index.js +1 -1
- package/lib/coupon-list/CouponList.js +5 -13
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +1 -2
- package/lib/coupon-list/index.js +1 -1
- package/lib/coupon-list/index.less +6 -1
- package/lib/datetime-picker/DatePicker.d.ts +1 -1
- package/lib/datetime-picker/DatePicker.js +4 -3
- package/lib/datetime-picker/DatetimePicker.d.ts +3 -2
- package/lib/datetime-picker/TimePicker.d.ts +1 -1
- package/lib/datetime-picker/TimePicker.js +3 -1
- package/lib/datetime-picker/index.d.ts +6 -4
- package/lib/datetime-picker/index.js +1 -1
- package/lib/dialog/Dialog.d.ts +3 -6
- package/lib/dialog/function-call.d.ts +15 -40
- package/lib/dialog/function-call.js +4 -4
- package/lib/dialog/index.d.ts +2 -3
- package/lib/dialog/types.d.ts +36 -0
- package/lib/dialog/types.js +3 -0
- package/lib/divider/Divider.d.ts +1 -1
- package/lib/divider/index.d.ts +2 -3
- package/lib/divider/index.js +1 -1
- package/lib/dropdown-item/DropdownItem.d.ts +1 -1
- package/lib/dropdown-item/index.d.ts +4 -3
- package/lib/dropdown-item/index.js +1 -1
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/index.d.ts +4 -3
- package/lib/dropdown-menu/index.js +1 -1
- package/lib/empty/Empty.d.ts +1 -1
- package/lib/empty/index.d.ts +2 -3
- package/lib/empty/index.js +1 -1
- package/lib/field/Field.d.ts +19 -12
- package/lib/field/Field.js +8 -3
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +17 -13
- package/lib/field/index.js +1 -1
- package/lib/field/index.less +5 -3
- package/lib/field/var.less +1 -1
- package/lib/form/index.d.ts +3 -2
- package/lib/form/index.js +1 -1
- package/lib/grid/Grid.d.ts +3 -3
- package/lib/grid/index.d.ts +4 -5
- package/lib/grid/index.js +1 -1
- package/lib/grid-item/GridItem.d.ts +1 -1
- package/lib/grid-item/index.d.ts +2 -3
- package/lib/grid-item/index.js +1 -1
- package/lib/icon/Icon.d.ts +1 -1
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +2 -3
- package/lib/icon/index.js +1 -1
- package/lib/icon/index.less +1 -1
- package/lib/image/Image.d.ts +5 -5
- package/lib/image/Image.js +1 -2
- package/lib/image/index.d.ts +6 -7
- package/lib/image/index.js +1 -1
- package/lib/image-preview/ImagePreview.d.ts +4 -4
- package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
- package/lib/image-preview/function-call.d.ts +5 -5
- package/lib/image-preview/function-call.js +5 -5
- package/lib/image-preview/index.d.ts +2 -0
- package/lib/index-anchor/IndexAnchor.d.ts +1 -1
- package/lib/index-anchor/index.d.ts +2 -3
- package/lib/index-anchor/index.js +1 -1
- package/lib/index-bar/index.d.ts +3 -2
- package/lib/index-bar/index.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/index.d.ts +3 -2
- package/lib/list/index.js +1 -1
- package/lib/loading/Loading.d.ts +1 -1
- package/lib/loading/index.d.ts +2 -3
- package/lib/loading/index.js +1 -1
- package/lib/locale/index.d.ts +1 -2
- package/lib/locale/index.js +1 -1
- package/lib/locale/lang/de-DE-formal.d.ts +1 -8
- package/lib/locale/lang/de-DE-formal.js +2 -9
- package/lib/locale/lang/de-DE.d.ts +1 -8
- package/lib/locale/lang/de-DE.js +2 -9
- package/lib/locale/lang/en-US.d.ts +1 -8
- package/lib/locale/lang/en-US.js +2 -9
- package/lib/locale/lang/es-ES.d.ts +1 -8
- package/lib/locale/lang/es-ES.js +2 -9
- package/lib/locale/lang/fr-FR.d.ts +1 -8
- package/lib/locale/lang/fr-FR.js +2 -9
- package/lib/locale/lang/ja-JP.d.ts +1 -8
- package/lib/locale/lang/ja-JP.js +4 -11
- package/lib/locale/lang/nb-NO.d.ts +1 -8
- package/lib/locale/lang/nb-NO.js +2 -9
- package/lib/locale/lang/ro-RO.d.ts +1 -8
- package/lib/locale/lang/ro-RO.js +2 -9
- package/lib/locale/lang/ru-RU.d.ts +1 -8
- package/lib/locale/lang/ru-RU.js +2 -9
- package/lib/locale/lang/th-TH.d.ts +1 -8
- package/lib/locale/lang/th-TH.js +2 -9
- package/lib/locale/lang/tr-TR.d.ts +1 -8
- package/lib/locale/lang/tr-TR.js +2 -9
- package/lib/locale/lang/zh-CN.d.ts +1 -8
- package/lib/locale/lang/zh-CN.js +6 -13
- package/lib/locale/lang/zh-HK.d.ts +1 -8
- package/lib/locale/lang/zh-HK.js +5 -12
- package/lib/locale/lang/zh-TW.d.ts +1 -8
- package/lib/locale/lang/zh-TW.js +5 -12
- package/lib/nav-bar/index.d.ts +1 -2
- package/lib/nav-bar/index.js +1 -1
- package/lib/notice-bar/index.d.ts +3 -2
- package/lib/notice-bar/index.js +1 -1
- package/lib/notify/Notify.d.ts +2 -2
- package/lib/notify/Notify.js +12 -15
- package/lib/notify/function-call.d.ts +6 -19
- package/lib/notify/function-call.js +4 -4
- package/lib/notify/index.d.ts +2 -3
- package/lib/notify/types.d.ts +20 -0
- package/lib/notify/types.js +3 -0
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +1 -2
- package/lib/number-keyboard/index.js +1 -1
- package/lib/number-keyboard/index.less +2 -1
- package/lib/number-keyboard/var.less +1 -0
- package/lib/overlay/Overlay.d.ts +1 -1
- package/lib/overlay/index.d.ts +2 -3
- package/lib/overlay/index.js +1 -1
- package/lib/pagination/index.d.ts +1 -2
- package/lib/pagination/index.js +1 -1
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +1 -2
- package/lib/password-input/index.js +1 -1
- package/lib/password-input/index.less +2 -0
- package/lib/password-input/var.less +1 -0
- package/lib/picker/Picker.d.ts +3 -3
- package/lib/picker/PickerColumn.d.ts +2 -2
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +6 -5
- package/lib/picker/index.js +1 -1
- package/lib/picker/types.d.ts +3 -3
- package/lib/popover/Popover.d.ts +8 -0
- package/lib/popover/Popover.js +25 -15
- package/lib/popover/index.d.ts +8 -2
- package/lib/popover/index.js +1 -1
- package/lib/popup/Popup.js +9 -8
- package/lib/popup/index.d.ts +1 -2
- package/lib/popup/index.js +1 -1
- package/lib/progress/Progress.d.ts +5 -2
- package/lib/progress/Progress.js +6 -32
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +7 -4
- package/lib/progress/index.js +1 -1
- package/lib/progress/index.less +6 -1
- package/lib/pull-refresh/index.d.ts +1 -2
- package/lib/pull-refresh/index.js +1 -1
- package/lib/radio/Radio.d.ts +2 -2
- package/lib/radio/index.d.ts +3 -4
- package/lib/radio/index.js +1 -1
- package/lib/radio-group/index.d.ts +1 -2
- package/lib/radio-group/index.js +1 -1
- package/lib/rate/Rate.d.ts +2 -2
- package/lib/rate/Rate.js +1 -1
- package/lib/rate/index.d.ts +3 -4
- package/lib/rate/index.js +1 -1
- package/lib/row/Row.d.ts +2 -2
- package/lib/row/index.d.ts +3 -4
- package/lib/row/index.js +1 -1
- package/lib/search/Search.d.ts +18 -6
- package/lib/search/Search.js +3 -2
- package/lib/search/index.d.ts +18 -8
- package/lib/search/index.js +1 -1
- package/lib/share-sheet/ShareSheet.d.ts +1 -1
- package/lib/share-sheet/index.d.ts +2 -3
- package/lib/share-sheet/index.js +1 -1
- package/lib/sidebar/index.d.ts +1 -2
- package/lib/sidebar/index.js +1 -1
- package/lib/sidebar-item/index.d.ts +1 -2
- package/lib/sidebar-item/index.js +1 -1
- package/lib/skeleton/Skeleton.d.ts +1 -1
- package/lib/skeleton/index.d.ts +2 -3
- package/lib/skeleton/index.js +1 -1
- package/lib/slider/Slider.d.ts +6 -1
- package/lib/slider/Slider.js +53 -17
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +5 -2
- package/lib/slider/index.js +1 -1
- package/lib/slider/index.less +19 -23
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +1 -2
- package/lib/step/index.js +1 -1
- package/lib/step/index.less +1 -1
- package/lib/stepper/index.d.ts +1 -2
- package/lib/stepper/index.js +1 -1
- package/lib/steps/index.d.ts +1 -2
- package/lib/steps/index.js +1 -1
- package/lib/sticky/index.d.ts +1 -2
- package/lib/sticky/index.js +1 -1
- package/lib/style/animation.css +1 -1
- package/lib/style/animation.less +20 -20
- package/lib/style/base.css +1 -1
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +1 -2
- package/lib/submit-bar/index.js +1 -1
- package/lib/submit-bar/index.less +3 -4
- package/lib/swipe/Swipe.d.ts +5 -5
- package/lib/swipe/Swipe.js +2 -1
- package/lib/swipe/index.d.ts +8 -7
- package/lib/swipe/index.js +1 -1
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.d.ts +3 -2
- package/lib/swipe-cell/index.js +1 -1
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.d.ts +1 -2
- package/lib/swipe-item/index.js +1 -1
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +1 -2
- package/lib/switch/index.js +1 -1
- package/lib/tab/Tab.d.ts +8 -1
- package/lib/tab/Tab.js +2 -1
- package/lib/tab/index.d.ts +9 -3
- package/lib/tab/index.js +1 -1
- package/lib/tabbar/index.d.ts +1 -2
- package/lib/tabbar/index.js +1 -1
- package/lib/tabbar-item/index.d.ts +1 -2
- package/lib/tabbar-item/index.js +1 -1
- package/lib/tabs/Tabs.js +2 -6
- package/lib/tabs/TabsTitle.d.ts +8 -1
- package/lib/tabs/TabsTitle.js +4 -2
- package/lib/tabs/index.d.ts +3 -2
- package/lib/tabs/index.js +1 -1
- package/lib/tabs/utils.js +1 -4
- package/lib/tag/index.d.ts +1 -2
- package/lib/tag/index.js +1 -1
- package/lib/toast/Toast.d.ts +1 -2
- package/lib/toast/Toast.js +1 -3
- package/lib/toast/function-call.d.ts +2 -25
- package/lib/toast/function-call.js +3 -1
- package/lib/toast/index.d.ts +2 -3
- package/lib/toast/types.d.ts +32 -0
- package/lib/toast/types.js +3 -0
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +1 -2
- package/lib/tree-select/index.js +1 -1
- package/lib/tree-select/index.less +1 -1
- package/lib/uploader/Uploader.d.ts +3 -3
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +6 -5
- package/lib/uploader/index.js +1 -1
- package/lib/uploader/index.less +4 -5
- package/lib/utils/validate.d.ts +0 -1
- package/lib/utils/validate.js +0 -5
- package/lib/utils/with-install.d.ts +1 -1
- package/lib/utils/with-install.js +0 -1
- package/lib/vant.es.js +15826 -0
- package/lib/vant.es.min.js +1 -0
- package/lib/vant.js +15157 -19779
- package/lib/vant.min.js +1 -1
- package/package.json +12 -18
- package/vetur/attributes.json +714 -684
- package/vetur/tags.json +243 -234
- package/vetur/web-types.json +2207 -2121
- package/LICENSE +0 -7
- package/README.md +0 -106
- package/README.zh-CN.md +0 -116
package/es/image/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const Image: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const Image: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
src: StringConstructor;
|
3
3
|
alt: StringConstructor;
|
4
4
|
fit: import("vue").PropType<import("./Image").ImageFit>;
|
@@ -49,13 +49,13 @@ declare const Image: import("../utils").WithInstall<import("vue").DefineComponen
|
|
49
49
|
loadingIcon: string;
|
50
50
|
} & {
|
51
51
|
iconPrefix?: string | undefined;
|
52
|
-
iconSize?: string | number | undefined;
|
53
|
-
width?: string | number | undefined;
|
54
|
-
src?: string | undefined;
|
55
|
-
alt?: string | undefined;
|
56
|
-
fit?: import("./Image").ImageFit | undefined;
|
57
52
|
height?: string | number | undefined;
|
53
|
+
alt?: string | undefined;
|
54
|
+
src?: string | undefined;
|
55
|
+
width?: string | number | undefined;
|
56
|
+
iconSize?: string | number | undefined;
|
58
57
|
radius?: string | number | undefined;
|
58
|
+
fit?: import("./Image").ImageFit | undefined;
|
59
59
|
}> & {
|
60
60
|
onLoad?: ((...args: any[]) => any) | undefined;
|
61
61
|
onError?: ((...args: any[]) => any) | undefined;
|
@@ -68,5 +68,4 @@ declare const Image: import("../utils").WithInstall<import("vue").DefineComponen
|
|
68
68
|
loadingIcon: string;
|
69
69
|
}>>;
|
70
70
|
export default Image;
|
71
|
-
export { Image };
|
72
71
|
export type { ImageFit } from './Image';
|
package/es/image/index.js
CHANGED
@@ -127,6 +127,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
127
127
|
closeIcon?: unknown;
|
128
128
|
closeIconPosition?: unknown;
|
129
129
|
} & {
|
130
|
+
loop: boolean;
|
130
131
|
overlay: boolean;
|
131
132
|
show: boolean;
|
132
133
|
closeable: boolean;
|
@@ -134,13 +135,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
134
135
|
closeIcon: string;
|
135
136
|
closeIconPosition: PopupCloseIconPosition;
|
136
137
|
swipeDuration: string | number;
|
137
|
-
loop: boolean;
|
138
138
|
showIndicators: boolean;
|
139
|
+
startPosition: string | number;
|
139
140
|
minZoom: string | number;
|
140
141
|
maxZoom: string | number;
|
141
142
|
showIndex: boolean;
|
142
143
|
images: string[];
|
143
|
-
startPosition: string | number;
|
144
144
|
} & {
|
145
145
|
beforeClose?: Interceptor | undefined;
|
146
146
|
overlayStyle?: CSSProperties | undefined;
|
@@ -153,6 +153,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
153
153
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
154
154
|
onScale?: ((...args: any[]) => any) | undefined;
|
155
155
|
}, {
|
156
|
+
loop: boolean;
|
156
157
|
overlay: boolean;
|
157
158
|
show: boolean;
|
158
159
|
closeable: boolean;
|
@@ -160,12 +161,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
160
161
|
closeIcon: string;
|
161
162
|
closeIconPosition: PopupCloseIconPosition;
|
162
163
|
swipeDuration: string | number;
|
163
|
-
loop: boolean;
|
164
164
|
showIndicators: boolean;
|
165
|
+
startPosition: string | number;
|
165
166
|
minZoom: string | number;
|
166
167
|
maxZoom: string | number;
|
167
168
|
showIndex: boolean;
|
168
169
|
images: string[];
|
169
|
-
startPosition: string | number;
|
170
170
|
}>;
|
171
171
|
export default _default;
|
@@ -33,8 +33,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
33
33
|
rootWidth: number;
|
34
34
|
rootHeight: number;
|
35
35
|
} & {
|
36
|
-
active?: number | undefined;
|
37
36
|
src?: string | undefined;
|
37
|
+
active?: number | undefined;
|
38
38
|
}> & {
|
39
39
|
onClose?: ((...args: any[]) => any) | undefined;
|
40
40
|
onScale?: ((...args: any[]) => any) | undefined;
|
@@ -2,7 +2,7 @@ import { ComponentInstance } from '../utils';
|
|
2
2
|
import type { App } from 'vue';
|
3
3
|
import type { ImagePreviewOptions } from './types';
|
4
4
|
declare const ImagePreview: {
|
5
|
-
(
|
5
|
+
(options: string[] | ImagePreviewOptions, startPosition?: number): ComponentInstance | undefined;
|
6
6
|
Component: import("../utils").WithInstall<import("vue").DefineComponent<{
|
7
7
|
show: BooleanConstructor;
|
8
8
|
loop: {
|
@@ -75,6 +75,7 @@ declare const ImagePreview: {
|
|
75
75
|
closeIcon?: unknown;
|
76
76
|
closeIconPosition?: unknown;
|
77
77
|
} & {
|
78
|
+
loop: boolean;
|
78
79
|
overlay: boolean;
|
79
80
|
show: boolean;
|
80
81
|
closeable: boolean;
|
@@ -82,13 +83,12 @@ declare const ImagePreview: {
|
|
82
83
|
closeIcon: string;
|
83
84
|
closeIconPosition: import("..").PopupCloseIconPosition;
|
84
85
|
swipeDuration: string | number;
|
85
|
-
loop: boolean;
|
86
86
|
showIndicators: boolean;
|
87
|
+
startPosition: string | number;
|
87
88
|
minZoom: string | number;
|
88
89
|
maxZoom: string | number;
|
89
90
|
showIndex: boolean;
|
90
91
|
images: string[];
|
91
|
-
startPosition: string | number;
|
92
92
|
} & {
|
93
93
|
beforeClose?: import("../utils").Interceptor | undefined;
|
94
94
|
overlayStyle?: import("vue").CSSProperties | undefined;
|
@@ -101,6 +101,7 @@ declare const ImagePreview: {
|
|
101
101
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
102
102
|
onScale?: ((...args: any[]) => any) | undefined;
|
103
103
|
}, {
|
104
|
+
loop: boolean;
|
104
105
|
overlay: boolean;
|
105
106
|
show: boolean;
|
106
107
|
closeable: boolean;
|
@@ -108,13 +109,12 @@ declare const ImagePreview: {
|
|
108
109
|
closeIcon: string;
|
109
110
|
closeIconPosition: import("..").PopupCloseIconPosition;
|
110
111
|
swipeDuration: string | number;
|
111
|
-
loop: boolean;
|
112
112
|
showIndicators: boolean;
|
113
|
+
startPosition: string | number;
|
113
114
|
minZoom: string | number;
|
114
115
|
maxZoom: string | number;
|
115
116
|
showIndex: boolean;
|
116
117
|
images: string[];
|
117
|
-
startPosition: string | number;
|
118
118
|
}>>;
|
119
119
|
install(app: App): void;
|
120
120
|
};
|
@@ -49,7 +49,7 @@ function initInstance() {
|
|
49
49
|
}));
|
50
50
|
}
|
51
51
|
|
52
|
-
var ImagePreview = (
|
52
|
+
var ImagePreview = (options, startPosition = 0) => {
|
53
53
|
/* istanbul ignore if */
|
54
54
|
if (!inBrowser) {
|
55
55
|
return;
|
@@ -59,10 +59,10 @@ var ImagePreview = (images, startPosition = 0) => {
|
|
59
59
|
initInstance();
|
60
60
|
}
|
61
61
|
|
62
|
-
|
63
|
-
images,
|
62
|
+
options = Array.isArray(options) ? {
|
63
|
+
images: options,
|
64
64
|
startPosition
|
65
|
-
} :
|
65
|
+
} : options;
|
66
66
|
instance.open(extend({}, defaultConfig, options));
|
67
67
|
return instance;
|
68
68
|
};
|
@@ -70,7 +70,7 @@ var ImagePreview = (images, startPosition = 0) => {
|
|
70
70
|
ImagePreview.Component = withInstall(VanImagePreview);
|
71
71
|
|
72
72
|
ImagePreview.install = app => {
|
73
|
-
app.use(
|
73
|
+
app.use(ImagePreview.Component);
|
74
74
|
};
|
75
75
|
|
76
76
|
export { ImagePreview };
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { ImagePreview } from './function-call';
|
2
|
+
import type { ImagePreviewProps } from './ImagePreview';
|
2
3
|
export default ImagePreview;
|
3
4
|
export { ImagePreview };
|
5
|
+
export type { ImagePreviewProps };
|
4
6
|
export type { ImagePreviewOptions, ImagePreviewInstance, ImagePreviewScaleEventParams, } from './types';
|
@@ -1,9 +1,8 @@
|
|
1
|
-
declare const IndexAnchor: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const IndexAnchor: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
index: (NumberConstructor | StringConstructor)[];
|
3
3
|
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
|
4
4
|
index?: unknown;
|
5
5
|
} & {} & {
|
6
6
|
index?: string | number | undefined;
|
7
|
-
}
|
7
|
+
}>, {}>>;
|
8
8
|
export default IndexAnchor;
|
9
|
-
export { IndexAnchor };
|
package/es/index-anchor/index.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { withInstall } from '../utils';
|
2
2
|
import _IndexAnchor from './IndexAnchor';
|
3
|
-
var IndexAnchor = withInstall(_IndexAnchor);
|
4
|
-
export default IndexAnchor;
|
5
|
-
export { IndexAnchor };
|
3
|
+
export var IndexAnchor = withInstall(_IndexAnchor);
|
4
|
+
export default IndexAnchor;
|
package/es/index-bar/index.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
import { IndexBarProps } from './IndexBar';
|
2
|
+
export declare const IndexBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
3
|
sticky: {
|
3
4
|
type: BooleanConstructor;
|
4
5
|
default: true;
|
@@ -38,5 +39,5 @@ declare const IndexBar: import("../utils").WithInstall<import("vue").DefineCompo
|
|
38
39
|
indexList: string[];
|
39
40
|
}>>;
|
40
41
|
export default IndexBar;
|
41
|
-
export {
|
42
|
+
export type { IndexBarProps };
|
42
43
|
export type { IndexBarInstance } from './types';
|
package/es/index-bar/index.js
CHANGED
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
@@ -84,7 +84,7 @@ import { Tag } from './tag';
|
|
84
84
|
import { Toast } from './toast';
|
85
85
|
import { TreeSelect } from './tree-select';
|
86
86
|
import { Uploader } from './uploader';
|
87
|
-
var version = '3.2.
|
87
|
+
var version = '3.2.4';
|
88
88
|
|
89
89
|
function install(app) {
|
90
90
|
var components = [ActionBar, ActionBarButton, ActionBarIcon, ActionSheet, AddressEdit, AddressList, Area, Badge, Button, Calendar, Card, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, ConfigProvider, ContactCard, ContactEdit, ContactList, CountDown, Coupon, CouponCell, CouponList, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, Form, Grid, GridItem, Icon, Image, ImagePreview, IndexAnchor, IndexBar, List, Loading, Locale, NavBar, NoticeBar, Notify, NumberKeyboard, Overlay, Pagination, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rate, Row, Search, ShareSheet, Sidebar, SidebarItem, Skeleton, Slider, Step, Stepper, Steps, Sticky, SubmitBar, Swipe, SwipeCell, SwipeItem, Switch, Tab, Tabbar, TabbarItem, Tabs, Tag, Toast, TreeSelect, Uploader];
|
package/es/list/index.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
import { ListProps } from './List';
|
2
|
+
export declare const List: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
3
|
error: BooleanConstructor;
|
3
4
|
loading: BooleanConstructor;
|
4
5
|
finished: BooleanConstructor;
|
@@ -51,5 +52,5 @@ declare const List: import("../utils").WithInstall<import("vue").DefineComponent
|
|
51
52
|
immediateCheck: boolean;
|
52
53
|
}>>;
|
53
54
|
export default List;
|
54
|
-
export {
|
55
|
+
export type { ListProps };
|
55
56
|
export type { ListInstance, ListDirection } from './types';
|
package/es/list/index.js
CHANGED
package/es/loading/Loading.d.ts
CHANGED
package/es/loading/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const Loading: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const Loading: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
size: (NumberConstructor | StringConstructor)[];
|
3
3
|
color: StringConstructor;
|
4
4
|
vertical: BooleanConstructor;
|
@@ -23,10 +23,9 @@ declare const Loading: import("../utils").WithInstall<import("vue").DefineCompon
|
|
23
23
|
size?: string | number | undefined;
|
24
24
|
textSize?: string | number | undefined;
|
25
25
|
textColor?: string | undefined;
|
26
|
-
}
|
26
|
+
}>, {
|
27
27
|
type: import("./Loading").LoadingType;
|
28
28
|
vertical: boolean;
|
29
29
|
}>>;
|
30
30
|
export default Loading;
|
31
|
-
export { Loading };
|
32
31
|
export type { LoadingType } from './Loading';
|
package/es/loading/index.js
CHANGED
package/es/locale/index.d.ts
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
declare type Message = Record<string, any>;
|
2
|
-
declare const Locale: {
|
2
|
+
export declare const Locale: {
|
3
3
|
messages(): Message;
|
4
4
|
use(newLang: string, newMessages?: Message | undefined): void;
|
5
5
|
add(newMessages?: Message): void;
|
6
6
|
};
|
7
7
|
export default Locale;
|
8
|
-
export { Locale };
|
package/es/locale/index.js
CHANGED
@@ -5,7 +5,7 @@ var lang = ref('zh-CN');
|
|
5
5
|
var messages = reactive({
|
6
6
|
'zh-CN': defaultMessages
|
7
7
|
});
|
8
|
-
var Locale = {
|
8
|
+
export var Locale = {
|
9
9
|
messages() {
|
10
10
|
return messages[lang.value];
|
11
11
|
},
|
@@ -22,5 +22,4 @@ var Locale = {
|
|
22
22
|
}
|
23
23
|
|
24
24
|
};
|
25
|
-
export default Locale;
|
26
|
-
export { Locale };
|
25
|
+
export default Locale;
|
@@ -5,11 +5,9 @@ declare const _default: {
|
|
5
5
|
confirm: string;
|
6
6
|
cancel: string;
|
7
7
|
delete: string;
|
8
|
-
complete: string;
|
9
8
|
loading: string;
|
10
|
-
|
9
|
+
noCoupon: string;
|
11
10
|
nameEmpty: string;
|
12
|
-
nameInvalid: string;
|
13
11
|
confirmDelete: string;
|
14
12
|
telInvalid: string;
|
15
13
|
vanCalendar: {
|
@@ -48,11 +46,9 @@ declare const _default: {
|
|
48
46
|
};
|
49
47
|
vanCouponCell: {
|
50
48
|
title: string;
|
51
|
-
tips: string;
|
52
49
|
count: (count: number) => string;
|
53
50
|
};
|
54
51
|
vanCouponList: {
|
55
|
-
empty: string;
|
56
52
|
exchange: string;
|
57
53
|
close: string;
|
58
54
|
enable: string;
|
@@ -66,9 +62,6 @@ declare const _default: {
|
|
66
62
|
addressEmpty: string;
|
67
63
|
postalEmpty: string;
|
68
64
|
defaultAddress: string;
|
69
|
-
telPlaceholder: string;
|
70
|
-
namePlaceholder: string;
|
71
|
-
areaPlaceholder: string;
|
72
65
|
};
|
73
66
|
vanAddressEditDetail: {
|
74
67
|
label: string;
|
@@ -5,11 +5,9 @@ export default {
|
|
5
5
|
confirm: 'Bestätigen',
|
6
6
|
cancel: 'Abbrechen',
|
7
7
|
delete: 'Löschen',
|
8
|
-
complete: 'Complete',
|
9
8
|
loading: 'Laden...',
|
10
|
-
|
9
|
+
noCoupon: 'Keine Coupons',
|
11
10
|
nameEmpty: 'Bitte geben Sie den Name an',
|
12
|
-
nameInvalid: 'Ungültiger Name',
|
13
11
|
confirmDelete: 'Sind Sie sicher, dass Sie löschen möchten?',
|
14
12
|
telInvalid: 'Ungültige Telefonnummer',
|
15
13
|
vanCalendar: {
|
@@ -48,11 +46,9 @@ export default {
|
|
48
46
|
},
|
49
47
|
vanCouponCell: {
|
50
48
|
title: 'Coupon',
|
51
|
-
tips: 'Keine Coupons',
|
52
49
|
count: count => "Sie haben " + count + " Coupons"
|
53
50
|
},
|
54
51
|
vanCouponList: {
|
55
|
-
empty: 'Keine Coupons',
|
56
52
|
exchange: 'Austauschen',
|
57
53
|
close: 'Schließen',
|
58
54
|
enable: 'Verfügbar',
|
@@ -65,10 +61,7 @@ export default {
|
|
65
61
|
areaEmpty: 'Bitte geben Sie Ihren Standort an',
|
66
62
|
addressEmpty: 'Adresse darf nicht leer sein',
|
67
63
|
postalEmpty: 'Falsche Postleitzahl',
|
68
|
-
defaultAddress: 'Als Standardadresse festgelegen'
|
69
|
-
telPlaceholder: 'Telefon',
|
70
|
-
namePlaceholder: 'Name',
|
71
|
-
areaPlaceholder: 'Ort'
|
64
|
+
defaultAddress: 'Als Standardadresse festgelegen'
|
72
65
|
},
|
73
66
|
vanAddressEditDetail: {
|
74
67
|
label: 'Adresse',
|
@@ -5,11 +5,9 @@ declare const _default: {
|
|
5
5
|
confirm: string;
|
6
6
|
cancel: string;
|
7
7
|
delete: string;
|
8
|
-
complete: string;
|
9
8
|
loading: string;
|
10
|
-
|
9
|
+
noCoupon: string;
|
11
10
|
nameEmpty: string;
|
12
|
-
nameInvalid: string;
|
13
11
|
confirmDelete: string;
|
14
12
|
telInvalid: string;
|
15
13
|
vanCalendar: {
|
@@ -48,11 +46,9 @@ declare const _default: {
|
|
48
46
|
};
|
49
47
|
vanCouponCell: {
|
50
48
|
title: string;
|
51
|
-
tips: string;
|
52
49
|
count: (count: number) => string;
|
53
50
|
};
|
54
51
|
vanCouponList: {
|
55
|
-
empty: string;
|
56
52
|
exchange: string;
|
57
53
|
close: string;
|
58
54
|
enable: string;
|
@@ -66,9 +62,6 @@ declare const _default: {
|
|
66
62
|
addressEmpty: string;
|
67
63
|
postalEmpty: string;
|
68
64
|
defaultAddress: string;
|
69
|
-
telPlaceholder: string;
|
70
|
-
namePlaceholder: string;
|
71
|
-
areaPlaceholder: string;
|
72
65
|
};
|
73
66
|
vanAddressEditDetail: {
|
74
67
|
label: string;
|
package/es/locale/lang/de-DE.js
CHANGED
@@ -5,11 +5,9 @@ export default {
|
|
5
5
|
confirm: 'Bestätigen',
|
6
6
|
cancel: 'Abbrechen',
|
7
7
|
delete: 'Löschen',
|
8
|
-
complete: 'Complete',
|
9
8
|
loading: 'Laden...',
|
10
|
-
|
9
|
+
noCoupon: 'Keine Coupons',
|
11
10
|
nameEmpty: 'Bitte den Name angeben',
|
12
|
-
nameInvalid: 'Ungültiger Name',
|
13
11
|
confirmDelete: 'Bist du sicher, dass du löschen möchtest?',
|
14
12
|
telInvalid: 'Ungültige Telefonnummer',
|
15
13
|
vanCalendar: {
|
@@ -48,11 +46,9 @@ export default {
|
|
48
46
|
},
|
49
47
|
vanCouponCell: {
|
50
48
|
title: 'Coupon',
|
51
|
-
tips: 'Keine Coupons',
|
52
49
|
count: count => "Du hast " + count + " Coupons"
|
53
50
|
},
|
54
51
|
vanCouponList: {
|
55
|
-
empty: 'Keine Coupons',
|
56
52
|
exchange: 'Austauschen',
|
57
53
|
close: 'Schließen',
|
58
54
|
enable: 'Verfügbar',
|
@@ -65,10 +61,7 @@ export default {
|
|
65
61
|
areaEmpty: 'Bitte deinen Ort angeben',
|
66
62
|
addressEmpty: 'Adresse darf nicht leer sein',
|
67
63
|
postalEmpty: 'Falsche Postleitzahl',
|
68
|
-
defaultAddress: 'Als Standardadresse festgelegen'
|
69
|
-
telPlaceholder: 'Telefon',
|
70
|
-
namePlaceholder: 'Name',
|
71
|
-
areaPlaceholder: 'Ort'
|
64
|
+
defaultAddress: 'Als Standardadresse festgelegen'
|
72
65
|
},
|
73
66
|
vanAddressEditDetail: {
|
74
67
|
label: 'Adresse',
|
@@ -5,11 +5,9 @@ declare const _default: {
|
|
5
5
|
confirm: string;
|
6
6
|
cancel: string;
|
7
7
|
delete: string;
|
8
|
-
complete: string;
|
9
8
|
loading: string;
|
10
|
-
|
9
|
+
noCoupon: string;
|
11
10
|
nameEmpty: string;
|
12
|
-
nameInvalid: string;
|
13
11
|
confirmDelete: string;
|
14
12
|
telInvalid: string;
|
15
13
|
vanCalendar: {
|
@@ -48,11 +46,9 @@ declare const _default: {
|
|
48
46
|
};
|
49
47
|
vanCouponCell: {
|
50
48
|
title: string;
|
51
|
-
tips: string;
|
52
49
|
count: (count: number) => string;
|
53
50
|
};
|
54
51
|
vanCouponList: {
|
55
|
-
empty: string;
|
56
52
|
exchange: string;
|
57
53
|
close: string;
|
58
54
|
enable: string;
|
@@ -66,9 +62,6 @@ declare const _default: {
|
|
66
62
|
addressEmpty: string;
|
67
63
|
postalEmpty: string;
|
68
64
|
defaultAddress: string;
|
69
|
-
telPlaceholder: string;
|
70
|
-
namePlaceholder: string;
|
71
|
-
areaPlaceholder: string;
|
72
65
|
};
|
73
66
|
vanAddressEditDetail: {
|
74
67
|
label: string;
|
package/es/locale/lang/en-US.js
CHANGED
@@ -5,11 +5,9 @@ export default {
|
|
5
5
|
confirm: 'Confirm',
|
6
6
|
cancel: 'Cancel',
|
7
7
|
delete: 'Delete',
|
8
|
-
complete: 'Complete',
|
9
8
|
loading: 'Loading...',
|
10
|
-
|
9
|
+
noCoupon: 'No coupons',
|
11
10
|
nameEmpty: 'Please fill in the name',
|
12
|
-
nameInvalid: 'Malformed name',
|
13
11
|
confirmDelete: 'Are you sure you want to delete?',
|
14
12
|
telInvalid: 'Malformed phone number',
|
15
13
|
vanCalendar: {
|
@@ -48,11 +46,9 @@ export default {
|
|
48
46
|
},
|
49
47
|
vanCouponCell: {
|
50
48
|
title: 'Coupon',
|
51
|
-
tips: 'No coupons',
|
52
49
|
count: count => "You have " + count + " coupons"
|
53
50
|
},
|
54
51
|
vanCouponList: {
|
55
|
-
empty: 'No coupons',
|
56
52
|
exchange: 'Exchange',
|
57
53
|
close: 'Close',
|
58
54
|
enable: 'Available',
|
@@ -65,10 +61,7 @@ export default {
|
|
65
61
|
areaEmpty: 'Please select a receiving area',
|
66
62
|
addressEmpty: 'Address can not be empty',
|
67
63
|
postalEmpty: 'Wrong postal code',
|
68
|
-
defaultAddress: 'Set as the default address'
|
69
|
-
telPlaceholder: 'Phone',
|
70
|
-
namePlaceholder: 'Name',
|
71
|
-
areaPlaceholder: 'Area'
|
64
|
+
defaultAddress: 'Set as the default address'
|
72
65
|
},
|
73
66
|
vanAddressEditDetail: {
|
74
67
|
label: 'Address',
|
@@ -5,11 +5,9 @@ declare const _default: {
|
|
5
5
|
confirm: string;
|
6
6
|
cancel: string;
|
7
7
|
delete: string;
|
8
|
-
complete: string;
|
9
8
|
loading: string;
|
10
|
-
|
9
|
+
noCoupon: string;
|
11
10
|
nameEmpty: string;
|
12
|
-
nameInvalid: string;
|
13
11
|
confirmDelete: string;
|
14
12
|
telInvalid: string;
|
15
13
|
vanCalendar: {
|
@@ -48,11 +46,9 @@ declare const _default: {
|
|
48
46
|
};
|
49
47
|
vanCouponCell: {
|
50
48
|
title: string;
|
51
|
-
tips: string;
|
52
49
|
count: (count: number) => string;
|
53
50
|
};
|
54
51
|
vanCouponList: {
|
55
|
-
empty: string;
|
56
52
|
exchange: string;
|
57
53
|
close: string;
|
58
54
|
enable: string;
|
@@ -66,9 +62,6 @@ declare const _default: {
|
|
66
62
|
addressEmpty: string;
|
67
63
|
postalEmpty: string;
|
68
64
|
defaultAddress: string;
|
69
|
-
telPlaceholder: string;
|
70
|
-
namePlaceholder: string;
|
71
|
-
areaPlaceholder: string;
|
72
65
|
};
|
73
66
|
vanAddressEditDetail: {
|
74
67
|
label: string;
|
package/es/locale/lang/es-ES.js
CHANGED
@@ -5,11 +5,9 @@ export default {
|
|
5
5
|
confirm: 'Confirmar',
|
6
6
|
cancel: 'Cancelar',
|
7
7
|
delete: 'Eliminar',
|
8
|
-
complete: 'Completado',
|
9
8
|
loading: 'Cargando...',
|
10
|
-
|
9
|
+
noCoupon: 'Sin cupones',
|
11
10
|
nameEmpty: 'Por favor rellena el nombre',
|
12
|
-
nameInvalid: 'nombre inválido',
|
13
11
|
confirmDelete: 'Estás seguro de eliminarlo?',
|
14
12
|
telInvalid: 'Teléfono inválido',
|
15
13
|
vanCalendar: {
|
@@ -48,11 +46,9 @@ export default {
|
|
48
46
|
},
|
49
47
|
vanCouponCell: {
|
50
48
|
title: 'Cupón',
|
51
|
-
tips: 'Sin cupones',
|
52
49
|
count: count => "You have " + count + " coupons"
|
53
50
|
},
|
54
51
|
vanCouponList: {
|
55
|
-
empty: 'Sin cupones',
|
56
52
|
exchange: 'Intercambio',
|
57
53
|
close: 'Cerrar',
|
58
54
|
enable: 'Disponible',
|
@@ -65,10 +61,7 @@ export default {
|
|
65
61
|
areaEmpty: 'Por favor selecciona una área de recogida',
|
66
62
|
addressEmpty: 'La dirección no puede estar vacia',
|
67
63
|
postalEmpty: 'Código postal inválido',
|
68
|
-
defaultAddress: 'Establecer como dirección por defecto'
|
69
|
-
telPlaceholder: 'Teléfono',
|
70
|
-
namePlaceholder: 'Nombre',
|
71
|
-
areaPlaceholder: 'Área'
|
64
|
+
defaultAddress: 'Establecer como dirección por defecto'
|
72
65
|
},
|
73
66
|
vanAddressEditDetail: {
|
74
67
|
label: 'Dirección',
|