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/locale/lang/zh-HK.js
CHANGED
@@ -5,11 +5,9 @@ export default {
|
|
5
5
|
confirm: '確認',
|
6
6
|
cancel: '取消',
|
7
7
|
delete: '刪除',
|
8
|
-
complete: '完成',
|
9
8
|
loading: '加載中...',
|
10
|
-
|
9
|
+
noCoupon: '暫無優惠券',
|
11
10
|
nameEmpty: '請填寫姓名',
|
12
|
-
nameInvalid: '請輸入正確的姓名',
|
13
11
|
confirmDelete: '確定要刪除嗎',
|
14
12
|
telInvalid: '請填寫正確的電話',
|
15
13
|
vanCalendar: {
|
@@ -20,7 +18,7 @@ export default {
|
|
20
18
|
startEnd: '開始/結束',
|
21
19
|
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
22
20
|
monthTitle: (year, month) => year + "\u5E74" + month + "\u6708",
|
23
|
-
rangePrompt: maxRange => "\u9078\u64C7
|
21
|
+
rangePrompt: maxRange => "\u6700\u591A\u9078\u64C7 " + maxRange + " \u5929"
|
24
22
|
},
|
25
23
|
vanCascader: {
|
26
24
|
select: '請選擇'
|
@@ -49,11 +47,9 @@ export default {
|
|
49
47
|
},
|
50
48
|
vanCouponCell: {
|
51
49
|
title: '優惠券',
|
52
|
-
tips: '暫無可用',
|
53
50
|
count: count => count + "\u5F35\u53EF\u7528"
|
54
51
|
},
|
55
52
|
vanCouponList: {
|
56
|
-
empty: '暫無優惠券',
|
57
53
|
exchange: '兌換',
|
58
54
|
close: '不使用優惠',
|
59
55
|
enable: '可使用優惠券',
|
@@ -65,15 +61,12 @@ export default {
|
|
65
61
|
postal: '郵政編碼',
|
66
62
|
areaEmpty: '請選擇地區',
|
67
63
|
addressEmpty: '請填寫詳細地址',
|
68
|
-
postalEmpty: '
|
69
|
-
defaultAddress: '設為默認收貨地址'
|
70
|
-
telPlaceholder: '收貨人手機號',
|
71
|
-
namePlaceholder: '收貨人姓名',
|
72
|
-
areaPlaceholder: '選擇省 / 市 / 區'
|
64
|
+
postalEmpty: '郵政編碼不正確',
|
65
|
+
defaultAddress: '設為默認收貨地址'
|
73
66
|
},
|
74
67
|
vanAddressEditDetail: {
|
75
68
|
label: '詳細地址',
|
76
|
-
placeholder: '
|
69
|
+
placeholder: '街道門牌信息'
|
77
70
|
},
|
78
71
|
vanAddressList: {
|
79
72
|
add: '新增地址'
|
@@ -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: {
|
@@ -49,11 +47,9 @@ declare const _default: {
|
|
49
47
|
};
|
50
48
|
vanCouponCell: {
|
51
49
|
title: string;
|
52
|
-
tips: string;
|
53
50
|
count: (count: number) => string;
|
54
51
|
};
|
55
52
|
vanCouponList: {
|
56
|
-
empty: string;
|
57
53
|
exchange: string;
|
58
54
|
close: string;
|
59
55
|
enable: string;
|
@@ -67,9 +63,6 @@ declare const _default: {
|
|
67
63
|
addressEmpty: string;
|
68
64
|
postalEmpty: string;
|
69
65
|
defaultAddress: string;
|
70
|
-
telPlaceholder: string;
|
71
|
-
namePlaceholder: string;
|
72
|
-
areaPlaceholder: string;
|
73
66
|
};
|
74
67
|
vanAddressEditDetail: {
|
75
68
|
label: string;
|
package/es/locale/lang/zh-TW.js
CHANGED
@@ -5,11 +5,9 @@ export default {
|
|
5
5
|
confirm: '確認',
|
6
6
|
cancel: '取消',
|
7
7
|
delete: '刪除',
|
8
|
-
complete: '完成',
|
9
8
|
loading: '載入中...',
|
10
|
-
|
9
|
+
noCoupon: '暫無優惠券',
|
11
10
|
nameEmpty: '請填寫姓名',
|
12
|
-
nameInvalid: '請輸入正確的姓名',
|
13
11
|
confirmDelete: '確定要刪除嗎',
|
14
12
|
telInvalid: '請填寫正確的電話',
|
15
13
|
vanCalendar: {
|
@@ -20,7 +18,7 @@ export default {
|
|
20
18
|
startEnd: '開始/結束',
|
21
19
|
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
22
20
|
monthTitle: (year, month) => year + "\u5E74" + month + "\u6708",
|
23
|
-
rangePrompt: maxRange => "\u9078\u64C7
|
21
|
+
rangePrompt: maxRange => "\u6700\u591A\u9078\u64C7 " + maxRange + " \u5929"
|
24
22
|
},
|
25
23
|
vanCascader: {
|
26
24
|
select: '請選擇'
|
@@ -49,11 +47,9 @@ export default {
|
|
49
47
|
},
|
50
48
|
vanCouponCell: {
|
51
49
|
title: '優惠券',
|
52
|
-
tips: '暫無可用',
|
53
50
|
count: count => count + "\u5F35\u53EF\u7528"
|
54
51
|
},
|
55
52
|
vanCouponList: {
|
56
|
-
empty: '暫無優惠券',
|
57
53
|
exchange: '兌換',
|
58
54
|
close: '不使用優惠',
|
59
55
|
enable: '可使用優惠券',
|
@@ -65,15 +61,12 @@ export default {
|
|
65
61
|
postal: '郵遞區號',
|
66
62
|
areaEmpty: '請選擇地區',
|
67
63
|
addressEmpty: '請填寫詳細地址',
|
68
|
-
postalEmpty: '
|
69
|
-
defaultAddress: '設為預設收貨地址'
|
70
|
-
telPlaceholder: '收貨人手機號碼',
|
71
|
-
namePlaceholder: '收貨人姓名',
|
72
|
-
areaPlaceholder: '選擇縣 / 市'
|
64
|
+
postalEmpty: '郵遞區號不正確',
|
65
|
+
defaultAddress: '設為預設收貨地址'
|
73
66
|
},
|
74
67
|
vanAddressEditDetail: {
|
75
68
|
label: '詳細地址',
|
76
|
-
placeholder: '
|
69
|
+
placeholder: '街道門牌資訊'
|
77
70
|
},
|
78
71
|
vanAddressList: {
|
79
72
|
add: '新增地址'
|
package/es/nav-bar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const NavBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const NavBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
title: StringConstructor;
|
3
3
|
fixed: BooleanConstructor;
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
@@ -43,4 +43,3 @@ declare const NavBar: import("../utils").WithInstall<import("vue").DefineCompone
|
|
43
43
|
safeAreaInsetTop: boolean;
|
44
44
|
}>>;
|
45
45
|
export default NavBar;
|
46
|
-
export { NavBar };
|
package/es/nav-bar/index.js
CHANGED
package/es/notice-bar/index.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
import { NoticeBarProps } from './NoticeBar';
|
2
|
+
export declare const NoticeBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
3
|
text: StringConstructor;
|
3
4
|
mode: import("vue").PropType<import("./types").NoticeBarMode>;
|
4
5
|
color: StringConstructor;
|
@@ -48,5 +49,5 @@ declare const NoticeBar: import("../utils").WithInstall<import("vue").DefineComp
|
|
48
49
|
delay: string | number;
|
49
50
|
}>>;
|
50
51
|
export default NoticeBar;
|
51
|
-
export {
|
52
|
+
export type { NoticeBarProps };
|
52
53
|
export type { NoticeBarMode, NoticeBarInstance } from './types';
|
package/es/notice-bar/index.js
CHANGED
package/es/notify/Notify.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PropType } from 'vue';
|
2
|
-
|
2
|
+
import type { NotifyType } from './types';
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
4
4
|
show: BooleanConstructor;
|
5
5
|
zIndex: (NumberConstructor | StringConstructor)[];
|
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
72
72
|
overlayClass?: unknown;
|
73
73
|
className?: unknown;
|
74
74
|
background?: string | undefined;
|
75
|
-
}
|
75
|
+
}>, {
|
76
76
|
type: NotifyType;
|
77
77
|
overlay: boolean;
|
78
78
|
show: boolean;
|
package/es/notify/Notify.js
CHANGED
@@ -21,23 +21,20 @@ export default defineComponent({
|
|
21
21
|
setup(props, {
|
22
22
|
slots
|
23
23
|
}) {
|
24
|
-
return () => {
|
25
|
-
|
24
|
+
return () => _createVNode(Popup, {
|
25
|
+
"show": props.show,
|
26
|
+
"class": [bem([props.type]), props.className],
|
27
|
+
"style": {
|
26
28
|
color: props.color,
|
27
29
|
background: props.background
|
28
|
-
}
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
"lockScroll": props.lockScroll
|
37
|
-
}, {
|
38
|
-
default: () => [slots.default ? slots.default() : props.message]
|
39
|
-
});
|
40
|
-
};
|
30
|
+
},
|
31
|
+
"overlay": false,
|
32
|
+
"position": "top",
|
33
|
+
"duration": 0.2,
|
34
|
+
"lockScroll": props.lockScroll
|
35
|
+
}, {
|
36
|
+
default: () => [slots.default ? slots.default() : props.message]
|
37
|
+
});
|
41
38
|
}
|
42
39
|
|
43
40
|
});
|
@@ -1,26 +1,12 @@
|
|
1
1
|
import { App } from 'vue';
|
2
2
|
import { ComponentInstance } from '../utils';
|
3
|
-
import {
|
4
|
-
export declare type NotifyMessage = string | number;
|
5
|
-
export declare type NotifyOptions = {
|
6
|
-
type?: NotifyType;
|
7
|
-
color?: string;
|
8
|
-
message?: NotifyMessage;
|
9
|
-
duration?: number;
|
10
|
-
className?: unknown;
|
11
|
-
background?: string;
|
12
|
-
lockScroll?: boolean;
|
13
|
-
onClick?: (event: MouseEvent) => void;
|
14
|
-
onClose?: () => void;
|
15
|
-
onOpened?: () => void;
|
16
|
-
};
|
3
|
+
import type { NotifyMessage, NotifyOptions } from './types';
|
17
4
|
declare function Notify(options: NotifyMessage | NotifyOptions): ComponentInstance | undefined;
|
18
5
|
declare namespace Notify {
|
19
6
|
var clear: () => void;
|
20
7
|
var currentOptions: NotifyOptions;
|
21
8
|
var setDefaultOptions: (options: NotifyOptions) => void;
|
22
9
|
var resetDefaultOptions: () => void;
|
23
|
-
var install: (app: App<any>) => void;
|
24
10
|
var Component: import("../utils").WithInstall<import("vue").DefineComponent<{
|
25
11
|
show: BooleanConstructor;
|
26
12
|
zIndex: (NumberConstructor | StringConstructor)[];
|
@@ -53,7 +39,7 @@ declare namespace Notify {
|
|
53
39
|
background: StringConstructor;
|
54
40
|
lockScroll: BooleanConstructor;
|
55
41
|
type: {
|
56
|
-
type: import("vue").PropType<NotifyType>;
|
42
|
+
type: import("vue").PropType<import("./types").NotifyType>;
|
57
43
|
default: string;
|
58
44
|
};
|
59
45
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
|
@@ -75,7 +61,7 @@ declare namespace Notify {
|
|
75
61
|
background?: unknown;
|
76
62
|
type?: unknown;
|
77
63
|
} & {
|
78
|
-
type: NotifyType;
|
64
|
+
type: import("./types").NotifyType;
|
79
65
|
overlay: boolean;
|
80
66
|
show: boolean;
|
81
67
|
lockScroll: boolean;
|
@@ -93,8 +79,8 @@ declare namespace Notify {
|
|
93
79
|
overlayClass?: unknown;
|
94
80
|
className?: unknown;
|
95
81
|
background?: string | undefined;
|
96
|
-
}
|
97
|
-
type: NotifyType;
|
82
|
+
}>, {
|
83
|
+
type: import("./types").NotifyType;
|
98
84
|
overlay: boolean;
|
99
85
|
show: boolean;
|
100
86
|
lockScroll: boolean;
|
@@ -102,5 +88,6 @@ declare namespace Notify {
|
|
102
88
|
transitionAppear: boolean;
|
103
89
|
closeOnClickOverlay: boolean;
|
104
90
|
}>>;
|
91
|
+
var install: (app: App<any>) => void;
|
105
92
|
}
|
106
93
|
export { Notify };
|
@@ -79,10 +79,11 @@ Notify.resetDefaultOptions = () => {
|
|
79
79
|
Notify.currentOptions = defaultOptions();
|
80
80
|
};
|
81
81
|
|
82
|
+
Notify.Component = withInstall(VanNotify);
|
83
|
+
|
82
84
|
Notify.install = app => {
|
83
|
-
app.use(
|
85
|
+
app.use(Notify.Component);
|
84
86
|
app.config.globalProperties.$notify = Notify;
|
85
87
|
};
|
86
88
|
|
87
|
-
Notify.Component = withInstall(VanNotify);
|
88
89
|
export { Notify };
|
package/es/notify/index.d.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
import { Notify
|
2
|
-
import type { NotifyType } from './Notify';
|
1
|
+
import { Notify } from './function-call';
|
3
2
|
export default Notify;
|
4
3
|
export { Notify };
|
5
|
-
export type { NotifyType, NotifyOptions };
|
4
|
+
export type { NotifyType, NotifyOptions } from './types';
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { Notify } from './function-call';
|
2
|
+
export declare type NotifyMessage = string | number;
|
3
|
+
export declare type NotifyType = 'primary' | 'success' | 'danger' | 'warning';
|
4
|
+
export declare type NotifyOptions = {
|
5
|
+
type?: NotifyType;
|
6
|
+
color?: string;
|
7
|
+
message?: NotifyMessage;
|
8
|
+
duration?: number;
|
9
|
+
className?: unknown;
|
10
|
+
background?: string;
|
11
|
+
lockScroll?: boolean;
|
12
|
+
onClick?: (event: MouseEvent) => void;
|
13
|
+
onClose?: () => void;
|
14
|
+
onOpened?: () => void;
|
15
|
+
};
|
16
|
+
declare module '@vue/runtime-core' {
|
17
|
+
interface ComponentCustomProperties {
|
18
|
+
$notify: typeof Notify;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
:root{--van-number-keyboard-background-color:var(--van-gray-2);--van-number-keyboard-key-height:48px;--van-number-keyboard-key-font-size:28px;--van-number-keyboard-key-active-color:var(--van-gray-3);--van-number-keyboard-delete-font-size:var(--van-font-size-lg);--van-number-keyboard-title-color:var(--van-gray-7);--van-number-keyboard-title-height:34px;--van-number-keyboard-title-font-size:var(--van-font-size-lg);--van-number-keyboard-close-padding:0 var(--van-padding-md);--van-number-keyboard-close-color:var(--van-text-link-color);--van-number-keyboard-close-font-size:var(--van-font-size-md);--van-number-keyboard-button-text-color:var(--van-white);--van-number-keyboard-button-background-color:var(--van-primary-color);--van-number-keyboard-z-index:100}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:22px;background-color:var(--van-number-keyboard-background-color);-webkit-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:20px 20px 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:6px;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:6px 0 0 6px}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none;cursor:pointer}.van-number-keyboard__close:active{opacity:var(--van-active-opacity)}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background-color:var(--van-
|
1
|
+
:root{--van-number-keyboard-background-color:var(--van-gray-2);--van-number-keyboard-key-height:48px;--van-number-keyboard-key-font-size:28px;--van-number-keyboard-key-active-color:var(--van-gray-3);--van-number-keyboard-key-background-color:var(--van-white);--van-number-keyboard-delete-font-size:var(--van-font-size-lg);--van-number-keyboard-title-color:var(--van-gray-7);--van-number-keyboard-title-height:34px;--van-number-keyboard-title-font-size:var(--van-font-size-lg);--van-number-keyboard-close-padding:0 var(--van-padding-md);--van-number-keyboard-close-color:var(--van-text-link-color);--van-number-keyboard-close-font-size:var(--van-font-size-md);--van-number-keyboard-button-text-color:var(--van-white);--van-number-keyboard-button-background-color:var(--van-primary-color);--van-number-keyboard-z-index:100}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:22px;background-color:var(--van-number-keyboard-background-color);-webkit-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:20px 20px 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:6px;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:6px 0 0 6px}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none;cursor:pointer}.van-number-keyboard__close:active{opacity:var(--van-active-opacity)}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background-color:var(--van-number-keyboard-key-background-color);border-radius:var(--van-border-radius-lg);cursor:pointer}.van-key--large{position:absolute;top:0;right:6px;bottom:6px;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:var(--van-number-keyboard-delete-font-size)}.van-key--active{background-color:var(--van-number-keyboard-key-active-color)}.van-key--blue{color:var(--van-number-keyboard-button-text-color);background-color:var(--van-number-keyboard-button-background-color)}.van-key--blue.van-key--active{opacity:var(--van-active-opacity)}.van-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:0 6px 6px 0}.van-key__wrapper--wider{flex-basis:66%}.van-key__delete-icon{width:32px;height:22px}.van-key__collapse-icon{width:30px;height:24px}.van-key__loading-icon{color:var(--van-number-keyboard-button-text-color)}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const NumberKeyboard: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const NumberKeyboard: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
title: StringConstructor;
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
@@ -103,5 +103,4 @@ declare const NumberKeyboard: import("../utils").WithInstall<import("vue").Defin
|
|
103
103
|
extraKey: string | string[];
|
104
104
|
}>>;
|
105
105
|
export default NumberKeyboard;
|
106
|
-
export { NumberKeyboard };
|
107
106
|
export type { NumberKeyboardTheme } from './NumberKeyboard';
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { withInstall } from '../utils';
|
2
2
|
import _NumberKeyboard from './NumberKeyboard';
|
3
|
-
var NumberKeyboard = withInstall(_NumberKeyboard);
|
4
|
-
export default NumberKeyboard;
|
5
|
-
export { NumberKeyboard };
|
3
|
+
export var NumberKeyboard = withInstall(_NumberKeyboard);
|
4
|
+
export default NumberKeyboard;
|
@@ -5,6 +5,7 @@
|
|
5
5
|
--van-number-keyboard-key-height: @number-keyboard-key-height;
|
6
6
|
--van-number-keyboard-key-font-size: @number-keyboard-key-font-size;
|
7
7
|
--van-number-keyboard-key-active-color: @number-keyboard-key-active-color;
|
8
|
+
--van-number-keyboard-key-background-color: @number-keyboard-key-background-color;
|
8
9
|
--van-number-keyboard-delete-font-size: @number-keyboard-delete-font-size;
|
9
10
|
--van-number-keyboard-title-color: @number-keyboard-title-color;
|
10
11
|
--van-number-keyboard-title-height: @number-keyboard-title-height;
|
@@ -98,7 +99,7 @@
|
|
98
99
|
height: var(--van-number-keyboard-key-height);
|
99
100
|
font-size: var(--van-number-keyboard-key-font-size);
|
100
101
|
line-height: 1.5;
|
101
|
-
background-color: var(--van-
|
102
|
+
background-color: var(--van-number-keyboard-key-background-color);
|
102
103
|
border-radius: var(--van-border-radius-lg);
|
103
104
|
cursor: pointer;
|
104
105
|
|
@@ -3,6 +3,7 @@
|
|
3
3
|
@number-keyboard-background-color: var(--van-gray-2);
|
4
4
|
@number-keyboard-key-height: 48px;
|
5
5
|
@number-keyboard-key-font-size: 28px;
|
6
|
+
@number-keyboard-key-background-color: var(--van-white);
|
6
7
|
@number-keyboard-key-active-color: var(--van-gray-3);
|
7
8
|
@number-keyboard-delete-font-size: var(--van-font-size-lg);
|
8
9
|
@number-keyboard-title-color: var(--van-gray-7);
|
package/es/overlay/Overlay.d.ts
CHANGED
package/es/overlay/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const Overlay: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const Overlay: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
duration: (NumberConstructor | StringConstructor)[];
|
@@ -23,9 +23,8 @@ declare const Overlay: import("../utils").WithInstall<import("vue").DefineCompon
|
|
23
23
|
duration?: string | number | undefined;
|
24
24
|
className?: unknown;
|
25
25
|
customStyle?: import("vue").CSSProperties | undefined;
|
26
|
-
}
|
26
|
+
}>, {
|
27
27
|
show: boolean;
|
28
28
|
lockScroll: boolean;
|
29
29
|
}>>;
|
30
30
|
export default Overlay;
|
31
|
-
export { Overlay };
|
package/es/overlay/index.js
CHANGED
package/es/pagination/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const Pagination: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const Pagination: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
prevText: StringConstructor;
|
3
3
|
nextText: StringConstructor;
|
4
4
|
forceEllipses: BooleanConstructor;
|
@@ -60,5 +60,4 @@ declare const Pagination: import("../utils").WithInstall<import("vue").DefineCom
|
|
60
60
|
showPageSize: string | number;
|
61
61
|
}>>;
|
62
62
|
export default Pagination;
|
63
|
-
export { Pagination };
|
64
63
|
export type { PaginationMode } from './Pagination';
|
package/es/pagination/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-password-input-height:50px;--van-password-input-margin:0 var(--van-padding-md);--van-password-input-font-size:20px;--van-password-input-border-radius:6px;--van-password-input-background-color:var(--van-white);--van-password-input-info-color:var(--van-gray-6);--van-password-input-info-font-size:var(--van-font-size-md);--van-password-input-error-info-color:var(--van-danger-color);--van-password-input-dot-size:10px;--van-password-input-dot-color:var(--van-black);--van-password-input-cursor-color:var(--van-text-color);--van-password-input-cursor-width:1px;--van-password-input-cursor-height:40%;--van-password-input-cursor-animation-duration:1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;user-select:none}.van-password-input__error-info,.van-password-input__info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security::after{border-radius:var(--van-password-input-border-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;font-size:var(--van-password-input-font-size);line-height:1.2;background-color:var(--van-password-input-background-color)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background-color:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background-color:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-animation-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{from{opacity:0}50%{opacity:1}100%{opacity:0}}
|
1
|
+
:root{--van-password-input-height:50px;--van-password-input-margin:0 var(--van-padding-md);--van-password-input-font-size:20px;--van-password-input-border-radius:6px;--van-password-input-background-color:var(--van-white);--van-password-input-info-color:var(--van-gray-6);--van-password-input-info-font-size:var(--van-font-size-md);--van-password-input-error-info-color:var(--van-danger-color);--van-password-input-dot-size:10px;--van-password-input-dot-color:var(--van-black);--van-password-input-text-color:var(--van-text-color);--van-password-input-cursor-color:var(--van-text-color);--van-password-input-cursor-width:1px;--van-password-input-cursor-height:40%;--van-password-input-cursor-animation-duration:1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;user-select:none}.van-password-input__error-info,.van-password-input__info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security::after{border-radius:var(--van-password-input-border-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--van-password-input-text-color);font-size:var(--van-password-input-font-size);line-height:1.2;background-color:var(--van-password-input-background-color)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background-color:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background-color:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-animation-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{from{opacity:0}50%{opacity:1}100%{opacity:0}}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const PasswordInput: import("../utils").WithInstall<import("vue").DefineComponent<{
|
1
|
+
export declare const PasswordInput: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
info: StringConstructor;
|
3
3
|
mask: {
|
4
4
|
type: BooleanConstructor;
|
@@ -41,4 +41,3 @@ declare const PasswordInput: import("../utils").WithInstall<import("vue").Define
|
|
41
41
|
focused: boolean;
|
42
42
|
}>>;
|
43
43
|
export default PasswordInput;
|
44
|
-
export { PasswordInput };
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { withInstall } from '../utils';
|
2
2
|
import _PasswordInput from './PasswordInput';
|
3
|
-
var PasswordInput = withInstall(_PasswordInput);
|
4
|
-
export default PasswordInput;
|
5
|
-
export { PasswordInput };
|
3
|
+
export var PasswordInput = withInstall(_PasswordInput);
|
4
|
+
export default PasswordInput;
|
@@ -11,6 +11,7 @@
|
|
11
11
|
--van-password-input-error-info-color: @password-input-error-info-color;
|
12
12
|
--van-password-input-dot-size: @password-input-dot-size;
|
13
13
|
--van-password-input-dot-color: @password-input-dot-color;
|
14
|
+
--van-password-input-text-color: @password-input-text-color;
|
14
15
|
--van-password-input-cursor-color: @password-input-cursor-color;
|
15
16
|
--van-password-input-cursor-width: @password-input-cursor-width;
|
16
17
|
--van-password-input-cursor-height: @password-input-cursor-height;
|
@@ -54,6 +55,7 @@
|
|
54
55
|
align-items: center;
|
55
56
|
justify-content: center;
|
56
57
|
height: 100%;
|
58
|
+
color: var(--van-password-input-text-color);
|
57
59
|
font-size: var(--van-password-input-font-size);
|
58
60
|
line-height: 1.2;
|
59
61
|
background-color: var(--van-password-input-background-color);
|
@@ -10,6 +10,7 @@
|
|
10
10
|
@password-input-error-info-color: var(--van-danger-color);
|
11
11
|
@password-input-dot-size: 10px;
|
12
12
|
@password-input-dot-color: var(--van-black);
|
13
|
+
@password-input-text-color: var(--van-text-color);
|
13
14
|
@password-input-cursor-color: var(--van-text-color);
|
14
15
|
@password-input-cursor-width: 1px;
|
15
16
|
@password-input-cursor-height: 40%;
|
package/es/picker/Picker.d.ts
CHANGED
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
63
63
|
type: PropType<PickerToolbarPosition>;
|
64
64
|
default: string;
|
65
65
|
};
|
66
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
66
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "cancel" | "confirm")[], "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
|
67
67
|
title?: unknown;
|
68
68
|
loading?: unknown;
|
69
69
|
readonly?: unknown;
|
@@ -82,12 +82,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
82
82
|
} & {
|
83
83
|
readonly: boolean;
|
84
84
|
loading: boolean;
|
85
|
+
defaultIndex: string | number;
|
85
86
|
allowHtml: boolean;
|
86
87
|
showToolbar: boolean;
|
87
88
|
itemHeight: string | number;
|
88
89
|
visibleItemCount: string | number;
|
89
90
|
swipeDuration: string | number;
|
90
|
-
defaultIndex: string | number;
|
91
91
|
columns: PickerOption[] | PickerColumn[];
|
92
92
|
toolbarPosition: PickerToolbarPosition;
|
93
93
|
} & {
|
@@ -103,12 +103,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
103
103
|
}, {
|
104
104
|
readonly: boolean;
|
105
105
|
loading: boolean;
|
106
|
+
defaultIndex: string | number;
|
106
107
|
allowHtml: boolean;
|
107
108
|
showToolbar: boolean;
|
108
109
|
itemHeight: string | number;
|
109
110
|
visibleItemCount: string | number;
|
110
111
|
swipeDuration: string | number;
|
111
|
-
defaultIndex: string | number;
|
112
112
|
columns: PickerOption[] | PickerColumn[];
|
113
113
|
toolbarPosition: PickerToolbarPosition;
|
114
114
|
}>;
|
@@ -41,12 +41,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
41
41
|
initialOptions?: unknown;
|
42
42
|
} & {
|
43
43
|
readonly: boolean;
|
44
|
+
defaultIndex: number;
|
44
45
|
allowHtml: boolean;
|
45
46
|
itemHeight: number;
|
46
47
|
visibleItemCount: string | number;
|
47
48
|
swipeDuration: string | number;
|
48
49
|
textKey: string;
|
49
|
-
defaultIndex: number;
|
50
50
|
initialOptions: PickerOption[];
|
51
51
|
} & {
|
52
52
|
className?: unknown;
|
@@ -54,8 +54,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
54
54
|
onChange?: ((...args: any[]) => any) | undefined;
|
55
55
|
}, {
|
56
56
|
readonly: boolean;
|
57
|
-
allowHtml: boolean;
|
58
57
|
defaultIndex: number;
|
58
|
+
allowHtml: boolean;
|
59
59
|
initialOptions: PickerOption[];
|
60
60
|
}>;
|
61
61
|
export default _default;
|
package/es/picker/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-picker-background-color:var(--van-white);--van-picker-toolbar-height:44px;--van-picker-title-font-size:var(--van-font-size-lg);--van-picker-title-line-height:var(--van-line-height-md);--van-picker-action-padding:0 var(--van-padding-md);--van-picker-action-font-size:var(--van-font-size-md);--van-picker-confirm-action-color:var(--van-text-link-color);--van-picker-cancel-action-color:var(--van-gray-6);--van-picker-option-font-size:var(--van-font-size-lg);--van-picker-option-padding:0 var(--van-padding-base);--van-picker-option-text-color:var(--van-black);--van-picker-option-disabled-opacity:0.3;--van-picker-loading-icon-color:var(--van-primary-color);--van-picker-loading-mask-color:rgba(255, 255, 255, 0.9)}.van-picker{position:relative;background-color:var(--van-picker-background-color);-webkit-user-select:none;user-select:none}.van-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none;cursor:pointer}.van-picker__cancel:active,.van-picker__confirm:active{opacity:var(--van-active-opacity)}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{max-width:50%;font-weight:var(--van-font-weight-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center}.van-picker__columns{position:relative;display:flex;cursor:-webkit-grab;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background-color:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:linear-gradient(180deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4)),linear-gradient(0deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4));background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1
|
1
|
+
:root{--van-picker-background-color:var(--van-white);--van-picker-toolbar-height:44px;--van-picker-title-font-size:var(--van-font-size-lg);--van-picker-title-line-height:var(--van-line-height-md);--van-picker-action-padding:0 var(--van-padding-md);--van-picker-action-font-size:var(--van-font-size-md);--van-picker-confirm-action-color:var(--van-text-link-color);--van-picker-cancel-action-color:var(--van-gray-6);--van-picker-option-font-size:var(--van-font-size-lg);--van-picker-option-padding:0 var(--van-padding-base);--van-picker-option-text-color:var(--van-black);--van-picker-option-disabled-opacity:0.3;--van-picker-loading-icon-color:var(--van-primary-color);--van-picker-loading-mask-color:rgba(255, 255, 255, 0.9)}.van-picker{position:relative;background-color:var(--van-picker-background-color);-webkit-user-select:none;user-select:none}.van-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none;cursor:pointer}.van-picker__cancel:active,.van-picker__confirm:active{opacity:var(--van-active-opacity)}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{max-width:50%;font-weight:var(--van-font-weight-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center}.van-picker__columns{position:relative;display:flex;cursor:-webkit-grab;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background-color:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:linear-gradient(180deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4)),linear-gradient(0deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4));background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(0.23,1,0.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}
|