vant 4.0.0-beta.1 → 4.0.0-rc.2
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 +24 -268
- package/es/action-bar/ActionBar.d.ts +2 -2
- package/es/action-bar/ActionBar.mjs +1 -0
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.d.ts +2 -1
- package/es/action-bar/index.mjs +2 -0
- package/es/action-bar-button/ActionBarButton.d.ts +2 -2
- package/es/action-bar-button/ActionBarButton.mjs +1 -0
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-button/index.d.ts +2 -1
- package/es/action-bar-button/index.mjs +2 -0
- package/es/action-bar-icon/ActionBarIcon.d.ts +2 -2
- package/es/action-bar-icon/ActionBarIcon.mjs +1 -0
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +2 -1
- package/es/action-bar-icon/index.mjs +2 -0
- package/es/action-sheet/ActionSheet.d.ts +1 -1
- package/es/action-sheet/ActionSheet.mjs +1 -0
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +1 -0
- package/es/action-sheet/index.mjs +2 -0
- package/es/address-edit/AddressEdit.d.ts +1 -1
- package/es/address-edit/AddressEdit.mjs +1 -0
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +1 -0
- package/es/address-edit/index.mjs +2 -0
- package/es/address-edit/style/index.mjs +7 -1
- package/es/address-list/AddressList.d.ts +1 -1
- package/es/address-list/AddressList.mjs +1 -0
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +1 -0
- package/es/address-list/index.mjs +2 -0
- package/es/area/Area.d.ts +7 -4
- package/es/area/Area.mjs +1 -0
- package/es/area/index.d.ts +5 -2
- package/es/area/index.mjs +2 -0
- package/es/area/style/index.mjs +7 -0
- package/es/area/utils.mjs +9 -2
- package/es/badge/Badge.d.ts +2 -2
- package/es/badge/Badge.mjs +1 -0
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +2 -1
- package/es/badge/index.mjs +2 -0
- package/es/button/Button.d.ts +1 -1
- package/es/button/Button.mjs +1 -0
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +1 -0
- package/es/button/index.mjs +2 -0
- package/es/calendar/Calendar.d.ts +1 -1
- package/es/calendar/Calendar.mjs +5 -3
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +1 -0
- package/es/calendar/index.mjs +2 -0
- package/es/calendar/style/index.mjs +7 -1
- package/es/card/Card.d.ts +1 -1
- package/es/card/Card.mjs +1 -0
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +1 -0
- package/es/card/index.mjs +2 -0
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/Cascader.mjs +1 -0
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +1 -0
- package/es/cascader/index.mjs +2 -0
- package/es/cell/Cell.d.ts +2 -2
- package/es/cell/Cell.mjs +1 -0
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +2 -1
- package/es/cell/index.mjs +2 -0
- package/es/cell-group/CellGroup.d.ts +2 -2
- package/es/cell-group/CellGroup.mjs +1 -0
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.d.ts +2 -1
- package/es/cell-group/index.mjs +2 -0
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checkbox.mjs +1 -0
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +1 -0
- package/es/checkbox/index.mjs +2 -0
- package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/es/checkbox-group/CheckboxGroup.mjs +1 -0
- package/es/checkbox-group/index.d.ts +1 -0
- package/es/checkbox-group/index.mjs +2 -0
- package/es/circle/Circle.d.ts +1 -1
- package/es/circle/Circle.mjs +1 -0
- package/es/circle/index.css +1 -1
- package/es/circle/index.d.ts +1 -0
- package/es/circle/index.mjs +2 -0
- package/es/col/Col.d.ts +2 -2
- package/es/col/Col.mjs +1 -0
- package/es/col/index.d.ts +2 -1
- package/es/col/index.mjs +2 -0
- package/es/collapse/Collapse.d.ts +1 -1
- package/es/collapse/Collapse.mjs +1 -0
- package/es/collapse/index.d.ts +1 -0
- package/es/collapse/index.mjs +2 -0
- package/es/collapse-item/CollapseItem.d.ts +2 -2
- package/es/collapse-item/CollapseItem.mjs +1 -0
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +2 -1
- package/es/collapse-item/index.mjs +2 -0
- package/es/composables/use-lazy-render.mjs +9 -5
- package/es/composables/use-lock-scroll.mjs +4 -1
- package/es/composables/use-visibility-change.mjs +6 -3
- package/es/config-provider/ConfigProvider.d.ts +2 -2
- package/es/config-provider/ConfigProvider.mjs +3 -2
- package/es/config-provider/index.d.ts +2 -1
- package/es/config-provider/index.mjs +2 -0
- package/es/contact-card/ContactCard.d.ts +1 -1
- package/es/contact-card/ContactCard.mjs +1 -0
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.d.ts +1 -0
- package/es/contact-card/index.mjs +2 -0
- package/es/contact-edit/ContactEdit.d.ts +1 -1
- package/es/contact-edit/ContactEdit.mjs +1 -0
- package/es/contact-edit/index.css +1 -1
- package/es/contact-edit/index.d.ts +1 -0
- package/es/contact-edit/index.mjs +2 -0
- package/es/contact-list/ContactList.d.ts +1 -1
- package/es/contact-list/ContactList.mjs +1 -0
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.d.ts +1 -0
- package/es/contact-list/index.mjs +2 -0
- package/es/count-down/CountDown.d.ts +1 -1
- package/es/count-down/CountDown.mjs +1 -0
- package/es/count-down/index.css +1 -1
- package/es/count-down/index.d.ts +1 -0
- package/es/count-down/index.mjs +2 -0
- package/es/coupon/Coupon.d.ts +1 -1
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.d.ts +1 -1
- package/es/coupon/utils.mjs +3 -1
- package/es/coupon-cell/CouponCell.d.ts +2 -2
- package/es/coupon-cell/CouponCell.mjs +1 -0
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-cell/index.d.ts +2 -1
- package/es/coupon-cell/index.mjs +2 -0
- package/es/coupon-list/CouponList.d.ts +1 -1
- package/es/coupon-list/CouponList.mjs +1 -0
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +1 -0
- package/es/coupon-list/index.mjs +2 -0
- package/es/coupon-list/style/index.mjs +3 -3
- package/es/date-picker/DatePicker.d.ts +7 -4
- package/es/date-picker/DatePicker.mjs +11 -10
- package/es/date-picker/index.d.ts +5 -2
- package/es/date-picker/index.mjs +2 -0
- package/es/date-picker/style/index.mjs +7 -0
- package/es/date-picker/utils.d.ts +2 -1
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/dialog/Dialog.mjs +2 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +1 -0
- package/es/dialog/index.mjs +2 -0
- package/es/dialog/types.d.ts +1 -1
- package/es/divider/Divider.d.ts +2 -2
- package/es/divider/Divider.mjs +2 -1
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +2 -1
- package/es/divider/index.mjs +3 -1
- package/es/dropdown-item/DropdownItem.d.ts +3 -3
- package/es/dropdown-item/DropdownItem.mjs +2 -1
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +3 -2
- package/es/dropdown-item/index.mjs +3 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/es/dropdown-menu/DropdownMenu.mjs +2 -1
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +2 -1
- package/es/dropdown-menu/index.mjs +3 -1
- package/es/empty/Empty.d.ts +2 -2
- package/es/empty/Empty.mjs +2 -1
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +2 -1
- package/es/empty/index.mjs +3 -1
- package/es/field/Field.d.ts +1 -1
- package/es/field/Field.mjs +11 -3
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +1 -0
- package/es/field/index.mjs +3 -1
- package/es/form/Form.d.ts +1 -1
- package/es/form/Form.mjs +2 -1
- package/es/form/index.d.ts +1 -0
- package/es/form/index.mjs +3 -1
- package/es/grid/Grid.d.ts +2 -2
- package/es/grid/Grid.mjs +2 -1
- package/es/grid/index.d.ts +2 -1
- package/es/grid/index.mjs +3 -1
- package/es/grid-item/GridItem.d.ts +2 -2
- package/es/grid-item/GridItem.mjs +2 -1
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +2 -1
- package/es/grid-item/index.mjs +3 -1
- package/es/icon/Icon.d.ts +2 -2
- package/es/icon/Icon.mjs +2 -1
- package/es/icon/index.d.ts +2 -1
- package/es/icon/index.mjs +3 -1
- package/es/image/Image.d.ts +5 -1
- package/es/image/Image.mjs +5 -2
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +4 -0
- package/es/image/index.mjs +3 -1
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/ImagePreview.mjs +2 -1
- package/es/image-preview/ImagePreviewItem.mjs +10 -2
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.d.ts +1 -0
- package/es/image-preview/index.mjs +2 -0
- package/es/index-anchor/IndexAnchor.d.ts +2 -2
- package/es/index-anchor/IndexAnchor.mjs +2 -1
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.d.ts +2 -1
- package/es/index-anchor/index.mjs +3 -1
- package/es/index-bar/IndexBar.d.ts +1 -1
- package/es/index-bar/IndexBar.mjs +9 -4
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +1 -0
- package/es/index-bar/index.mjs +3 -1
- package/es/index.d.ts +2 -1
- package/es/index.mjs +4 -1
- package/es/lazyload/vue-lazyload/lazy-component.mjs +4 -1
- package/es/lazyload/vue-lazyload/lazy-container.mjs +11 -7
- package/es/lazyload/vue-lazyload/lazy-image.mjs +24 -14
- package/es/lazyload/vue-lazyload/lazy.mjs +11 -3
- package/es/lazyload/vue-lazyload/listener.mjs +45 -33
- package/es/lazyload/vue-lazyload/util.mjs +4 -1
- package/es/list/List.d.ts +1 -1
- package/es/list/List.mjs +2 -1
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +1 -0
- package/es/list/index.mjs +3 -1
- package/es/loading/Loading.d.ts +2 -2
- package/es/loading/Loading.mjs +2 -1
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +2 -1
- package/es/loading/index.mjs +3 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/NavBar.mjs +2 -1
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +1 -0
- package/es/nav-bar/index.mjs +3 -1
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/NoticeBar.mjs +2 -1
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +1 -0
- package/es/notice-bar/index.mjs +3 -1
- package/es/notify/Notify.d.ts +1 -1
- package/es/notify/Notify.mjs +2 -1
- package/es/notify/index.css +1 -1
- package/es/notify/index.d.ts +1 -0
- package/es/notify/index.mjs +2 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/es/number-keyboard/NumberKeyboard.mjs +2 -1
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +2 -1
- package/es/number-keyboard/index.mjs +3 -1
- package/es/overlay/Overlay.d.ts +2 -2
- package/es/overlay/Overlay.mjs +15 -7
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +2 -1
- package/es/overlay/index.mjs +3 -1
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/Pagination.mjs +2 -1
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +1 -0
- package/es/pagination/index.mjs +3 -1
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/PasswordInput.mjs +2 -1
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +1 -0
- package/es/password-input/index.mjs +3 -1
- package/es/picker/Picker.d.ts +9 -5
- package/es/picker/Picker.mjs +47 -68
- package/es/picker/PickerColumn.mjs +6 -2
- package/es/picker/PickerToolbar.d.ts +21 -0
- package/es/picker/PickerToolbar.mjs +59 -0
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +5 -2
- package/es/picker/index.mjs +3 -1
- package/es/picker/style/index.mjs +7 -0
- package/es/picker/utils.d.ts +2 -0
- package/es/picker/utils.mjs +14 -7
- package/es/picker-group/PickerGroup.d.ts +39 -0
- package/es/picker-group/PickerGroup.mjs +57 -0
- package/es/picker-group/index.css +1 -0
- package/es/picker-group/index.d.ts +33 -0
- package/es/picker-group/index.mjs +10 -0
- package/es/picker-group/style/index.d.ts +1 -0
- package/es/picker-group/style/index.mjs +9 -0
- package/es/popover/Popover.d.ts +1 -1
- package/es/popover/Popover.mjs +2 -1
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +1 -0
- package/es/popover/index.mjs +3 -1
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/Popup.mjs +2 -1
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +3 -2
- package/es/popup/index.mjs +3 -1
- package/es/popup/shared.mjs +3 -1
- package/es/progress/Progress.d.ts +2 -2
- package/es/progress/Progress.mjs +2 -1
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +2 -1
- package/es/progress/index.mjs +3 -1
- package/es/pull-refresh/PullRefresh.d.ts +1 -1
- package/es/pull-refresh/PullRefresh.mjs +2 -1
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +1 -0
- package/es/pull-refresh/index.mjs +3 -1
- package/es/radio/Radio.d.ts +15 -2
- package/es/radio/Radio.mjs +3 -1
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +1 -0
- package/es/radio/index.mjs +3 -1
- package/es/radio-group/RadioGroup.d.ts +1 -1
- package/es/radio-group/RadioGroup.mjs +2 -1
- package/es/radio-group/index.d.ts +1 -0
- package/es/radio-group/index.mjs +3 -1
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/Rate.mjs +7 -4
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +1 -0
- package/es/rate/index.mjs +3 -1
- package/es/row/Row.d.ts +2 -2
- package/es/row/Row.mjs +2 -1
- package/es/row/index.d.ts +2 -1
- package/es/row/index.mjs +3 -1
- package/es/search/Search.d.ts +1 -1
- package/es/search/Search.mjs +2 -1
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +1 -0
- package/es/search/index.mjs +3 -1
- package/es/share-sheet/ShareSheet.d.ts +1 -1
- package/es/share-sheet/ShareSheet.mjs +2 -1
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.d.ts +1 -0
- package/es/share-sheet/index.mjs +3 -1
- package/es/sidebar/Sidebar.d.ts +1 -1
- package/es/sidebar/Sidebar.mjs +2 -1
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.d.ts +1 -0
- package/es/sidebar/index.mjs +3 -1
- package/es/sidebar-item/SidebarItem.d.ts +1 -1
- package/es/sidebar-item/SidebarItem.mjs +2 -1
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.d.ts +1 -0
- package/es/sidebar-item/index.mjs +3 -1
- package/es/skeleton/Skeleton.d.ts +2 -2
- package/es/skeleton/Skeleton.mjs +2 -1
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +2 -1
- package/es/skeleton/index.mjs +3 -1
- package/es/slider/Slider.d.ts +1 -1
- package/es/slider/Slider.mjs +8 -3
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +1 -0
- package/es/slider/index.mjs +3 -1
- package/es/space/Space.d.ts +2 -2
- package/es/space/Space.mjs +2 -1
- package/es/space/index.d.ts +2 -1
- package/es/space/index.mjs +3 -1
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +1 -1
- package/es/stepper/Stepper.mjs +2 -1
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +1 -0
- package/es/stepper/index.mjs +3 -1
- package/es/steps/Steps.d.ts +1 -1
- package/es/steps/Steps.mjs +2 -1
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +1 -0
- package/es/steps/index.mjs +3 -1
- package/es/sticky/Sticky.d.ts +1 -1
- package/es/sticky/Sticky.mjs +2 -1
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.d.ts +1 -0
- package/es/sticky/index.mjs +3 -1
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/submit-bar/SubmitBar.d.ts +1 -1
- package/es/submit-bar/SubmitBar.mjs +2 -1
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +1 -0
- package/es/submit-bar/index.mjs +3 -1
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/Swipe.mjs +15 -7
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +1 -0
- package/es/swipe/index.mjs +3 -1
- package/es/swipe-cell/SwipeCell.d.ts +3 -3
- package/es/swipe-cell/SwipeCell.mjs +6 -3
- package/es/swipe-cell/index.d.ts +3 -2
- package/es/swipe-cell/index.mjs +3 -1
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +1 -1
- package/es/switch/Switch.mjs +2 -1
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +1 -0
- package/es/switch/index.mjs +3 -1
- package/es/tab/Tab.d.ts +2 -2
- package/es/tab/Tab.mjs +2 -1
- package/es/tab/index.d.ts +2 -1
- package/es/tab/index.mjs +3 -1
- package/es/tabbar/Tabbar.d.ts +1 -1
- package/es/tabbar/Tabbar.mjs +2 -1
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.d.ts +1 -0
- package/es/tabbar/index.mjs +3 -1
- package/es/tabbar-item/TabbarItem.d.ts +1 -1
- package/es/tabbar-item/TabbarItem.mjs +2 -1
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +1 -0
- package/es/tabbar-item/index.mjs +3 -1
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.mjs +2 -1
- package/es/tabs/TabsTitle.d.ts +1 -1
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +1 -0
- package/es/tabs/index.mjs +3 -1
- package/es/tag/Tag.d.ts +1 -1
- package/es/tag/Tag.mjs +2 -1
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +1 -0
- package/es/tag/index.mjs +3 -1
- package/es/time-picker/TimePicker.d.ts +7 -4
- package/es/time-picker/TimePicker.mjs +2 -1
- package/es/time-picker/index.d.ts +5 -2
- package/es/time-picker/index.mjs +3 -1
- package/es/time-picker/style/index.mjs +7 -0
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/Toast.mjs +9 -2
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +1 -0
- package/es/toast/index.mjs +3 -1
- package/es/tree-select/TreeSelect.d.ts +1 -1
- package/es/tree-select/TreeSelect.mjs +2 -1
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +1 -0
- package/es/tree-select/index.mjs +3 -1
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/Uploader.mjs +2 -1
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +1 -0
- package/es/uploader/index.mjs +3 -1
- package/es/utils/basic.mjs +2 -1
- package/es/utils/create.mjs +8 -2
- package/es/utils/with-install.d.ts +2 -2
- package/es/utils/with-install.mjs +4 -2
- package/lib/action-bar/ActionBar.d.ts +2 -2
- package/lib/action-bar/ActionBar.js +1 -0
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.d.ts +2 -1
- package/lib/action-bar/index.js +6 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +2 -2
- package/lib/action-bar-button/ActionBarButton.js +1 -0
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-button/index.d.ts +2 -1
- package/lib/action-bar-button/index.js +6 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +2 -2
- package/lib/action-bar-icon/ActionBarIcon.js +1 -0
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +2 -1
- package/lib/action-bar-icon/index.js +6 -1
- package/lib/action-sheet/ActionSheet.d.ts +1 -1
- package/lib/action-sheet/ActionSheet.js +1 -0
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +1 -0
- package/lib/action-sheet/index.js +6 -1
- package/lib/address-edit/AddressEdit.d.ts +1 -1
- package/lib/address-edit/AddressEdit.js +5 -1
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +1 -0
- package/lib/address-edit/index.js +6 -1
- package/lib/address-edit/style/index.js +7 -1
- package/lib/address-list/AddressList.d.ts +1 -1
- package/lib/address-list/AddressList.js +5 -1
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +1 -0
- package/lib/address-list/index.js +6 -1
- package/lib/area/Area.d.ts +7 -4
- package/lib/area/Area.js +1 -0
- package/lib/area/index.d.ts +5 -2
- package/lib/area/index.js +6 -1
- package/lib/area/style/index.js +7 -0
- package/lib/area/utils.js +9 -2
- package/lib/badge/Badge.d.ts +2 -2
- package/lib/badge/Badge.js +1 -0
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +2 -1
- package/lib/badge/index.js +6 -1
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/Button.js +1 -0
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +1 -0
- package/lib/button/index.js +6 -1
- package/lib/calendar/Calendar.d.ts +1 -1
- package/lib/calendar/Calendar.js +9 -4
- package/lib/calendar/CalendarMonth.js +4 -1
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +1 -0
- package/lib/calendar/index.js +6 -1
- package/lib/calendar/style/index.js +7 -1
- package/lib/card/Card.d.ts +1 -1
- package/lib/card/Card.js +1 -0
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +1 -0
- package/lib/card/index.js +6 -1
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/Cascader.js +1 -0
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +1 -0
- package/lib/cascader/index.js +6 -1
- package/lib/cell/Cell.d.ts +2 -2
- package/lib/cell/Cell.js +1 -0
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +2 -1
- package/lib/cell/index.js +6 -1
- package/lib/cell-group/CellGroup.d.ts +2 -2
- package/lib/cell-group/CellGroup.js +1 -0
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.d.ts +2 -1
- package/lib/cell-group/index.js +6 -1
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checkbox.js +5 -1
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/checkbox/index.js +6 -1
- package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox-group/CheckboxGroup.js +1 -0
- package/lib/checkbox-group/index.d.ts +1 -0
- package/lib/checkbox-group/index.js +6 -1
- package/lib/circle/Circle.d.ts +1 -1
- package/lib/circle/Circle.js +1 -0
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.d.ts +1 -0
- package/lib/circle/index.js +6 -1
- package/lib/col/Col.d.ts +2 -2
- package/lib/col/Col.js +1 -0
- package/lib/col/index.d.ts +2 -1
- package/lib/col/index.js +6 -1
- package/lib/collapse/Collapse.d.ts +1 -1
- package/lib/collapse/Collapse.js +1 -0
- package/lib/collapse/index.d.ts +1 -0
- package/lib/collapse/index.js +6 -1
- package/lib/collapse-item/CollapseItem.d.ts +2 -2
- package/lib/collapse-item/CollapseItem.js +1 -0
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +2 -1
- package/lib/collapse-item/index.js +6 -1
- package/lib/composables/use-lazy-render.js +9 -5
- package/lib/composables/use-lock-scroll.js +4 -1
- package/lib/composables/use-visibility-change.js +6 -3
- package/lib/config-provider/ConfigProvider.d.ts +2 -2
- package/lib/config-provider/ConfigProvider.js +3 -2
- package/lib/config-provider/index.d.ts +2 -1
- package/lib/config-provider/index.js +6 -1
- package/lib/contact-card/ContactCard.d.ts +1 -1
- package/lib/contact-card/ContactCard.js +1 -0
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.d.ts +1 -0
- package/lib/contact-card/index.js +6 -1
- package/lib/contact-edit/ContactEdit.d.ts +1 -1
- package/lib/contact-edit/ContactEdit.js +1 -0
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-edit/index.d.ts +1 -0
- package/lib/contact-edit/index.js +6 -1
- package/lib/contact-list/ContactList.d.ts +1 -1
- package/lib/contact-list/ContactList.js +1 -0
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.d.ts +1 -0
- package/lib/contact-list/index.js +6 -1
- package/lib/count-down/CountDown.d.ts +1 -1
- package/lib/count-down/CountDown.js +1 -0
- package/lib/count-down/index.css +1 -1
- package/lib/count-down/index.d.ts +1 -0
- package/lib/count-down/index.js +6 -1
- package/lib/coupon/Coupon.d.ts +1 -1
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.d.ts +1 -1
- package/lib/coupon/index.js +4 -1
- package/lib/coupon/utils.js +3 -1
- package/lib/coupon-cell/CouponCell.d.ts +2 -2
- package/lib/coupon-cell/CouponCell.js +1 -0
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-cell/index.d.ts +2 -1
- package/lib/coupon-cell/index.js +6 -1
- package/lib/coupon-list/CouponList.d.ts +1 -1
- package/lib/coupon-list/CouponList.js +1 -0
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +1 -0
- package/lib/coupon-list/index.js +6 -1
- package/lib/coupon-list/style/index.js +3 -3
- package/lib/date-picker/DatePicker.d.ts +7 -4
- package/lib/date-picker/DatePicker.js +11 -10
- package/lib/date-picker/index.d.ts +5 -2
- package/lib/date-picker/index.js +6 -1
- package/lib/date-picker/style/index.js +7 -0
- package/lib/date-picker/utils.d.ts +2 -1
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/dialog/Dialog.js +2 -1
- package/lib/dialog/function-call.js +4 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +1 -0
- package/lib/dialog/index.js +6 -1
- package/lib/dialog/types.d.ts +1 -1
- package/lib/divider/Divider.d.ts +2 -2
- package/lib/divider/Divider.js +2 -1
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +2 -1
- package/lib/divider/index.js +7 -2
- package/lib/dropdown-item/DropdownItem.d.ts +3 -3
- package/lib/dropdown-item/DropdownItem.js +2 -1
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +3 -2
- package/lib/dropdown-item/index.js +7 -2
- package/lib/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/lib/dropdown-menu/DropdownMenu.js +2 -1
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +2 -1
- package/lib/dropdown-menu/index.js +7 -2
- package/lib/empty/Empty.d.ts +2 -2
- package/lib/empty/Empty.js +2 -1
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +2 -1
- package/lib/empty/index.js +7 -2
- package/lib/field/Field.d.ts +1 -1
- package/lib/field/Field.js +10 -2
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +1 -0
- package/lib/field/index.js +7 -2
- package/lib/form/Form.d.ts +1 -1
- package/lib/form/Form.js +2 -1
- package/lib/form/index.d.ts +1 -0
- package/lib/form/index.js +7 -2
- package/lib/grid/Grid.d.ts +2 -2
- package/lib/grid/Grid.js +2 -1
- package/lib/grid/index.d.ts +2 -1
- package/lib/grid/index.js +7 -2
- package/lib/grid-item/GridItem.d.ts +2 -2
- package/lib/grid-item/GridItem.js +2 -1
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +2 -1
- package/lib/grid-item/index.js +7 -2
- package/lib/icon/Icon.d.ts +2 -2
- package/lib/icon/Icon.js +2 -1
- package/lib/icon/index.d.ts +2 -1
- package/lib/icon/index.js +7 -2
- package/lib/image/Image.d.ts +5 -1
- package/lib/image/Image.js +5 -2
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +4 -0
- package/lib/image/index.js +7 -2
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/ImagePreview.js +6 -2
- package/lib/image-preview/ImagePreviewItem.js +9 -1
- package/lib/image-preview/function-call.js +4 -1
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.d.ts +1 -0
- package/lib/image-preview/index.js +6 -1
- package/lib/index-anchor/IndexAnchor.d.ts +2 -2
- package/lib/index-anchor/IndexAnchor.js +2 -1
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.d.ts +2 -1
- package/lib/index-anchor/index.js +7 -2
- package/lib/index-bar/IndexBar.d.ts +1 -1
- package/lib/index-bar/IndexBar.js +9 -4
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +1 -0
- package/lib/index-bar/index.js +7 -2
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -1
- package/lib/lazyload/vue-lazyload/index.js +4 -1
- package/lib/lazyload/vue-lazyload/lazy-component.js +4 -1
- package/lib/lazyload/vue-lazyload/lazy-container.js +11 -7
- package/lib/lazyload/vue-lazyload/lazy-image.js +24 -14
- package/lib/lazyload/vue-lazyload/lazy.js +15 -4
- package/lib/lazyload/vue-lazyload/listener.js +45 -33
- package/lib/lazyload/vue-lazyload/util.js +4 -1
- package/lib/list/List.d.ts +1 -1
- package/lib/list/List.js +2 -1
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +1 -0
- package/lib/list/index.js +7 -2
- package/lib/loading/Loading.d.ts +2 -2
- package/lib/loading/Loading.js +2 -1
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +2 -1
- package/lib/loading/index.js +7 -2
- package/lib/locale/index.js +4 -1
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/NavBar.js +2 -1
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +1 -0
- package/lib/nav-bar/index.js +7 -2
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/NoticeBar.js +2 -1
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +1 -0
- package/lib/notice-bar/index.js +7 -2
- package/lib/notify/Notify.d.ts +1 -1
- package/lib/notify/Notify.js +2 -1
- package/lib/notify/function-call.js +4 -1
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.d.ts +1 -0
- package/lib/notify/index.js +6 -1
- package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/lib/number-keyboard/NumberKeyboard.js +6 -2
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +2 -1
- package/lib/number-keyboard/index.js +7 -2
- package/lib/overlay/Overlay.d.ts +2 -2
- package/lib/overlay/Overlay.js +13 -5
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +2 -1
- package/lib/overlay/index.js +7 -2
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/Pagination.js +2 -1
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/index.js +7 -2
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/PasswordInput.js +2 -1
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +1 -0
- package/lib/password-input/index.js +7 -2
- package/lib/picker/Picker.d.ts +9 -5
- package/lib/picker/Picker.js +53 -71
- package/lib/picker/PickerColumn.js +5 -1
- package/lib/picker/PickerToolbar.d.ts +21 -0
- package/lib/picker/PickerToolbar.js +78 -0
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +5 -2
- package/lib/picker/index.js +7 -2
- package/lib/picker/style/index.js +7 -0
- package/lib/picker/utils.d.ts +2 -0
- package/lib/picker/utils.js +15 -8
- package/lib/picker-group/PickerGroup.d.ts +39 -0
- package/lib/picker-group/PickerGroup.js +82 -0
- package/lib/picker-group/index.css +1 -0
- package/lib/picker-group/index.d.ts +33 -0
- package/lib/picker-group/index.js +35 -0
- package/lib/picker-group/style/index.d.ts +1 -0
- package/lib/picker-group/style/index.js +9 -0
- package/lib/popover/Popover.d.ts +1 -1
- package/lib/popover/Popover.js +2 -1
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +1 -0
- package/lib/popover/index.js +7 -2
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/Popup.js +2 -1
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +3 -2
- package/lib/popup/index.js +7 -2
- package/lib/popup/shared.js +3 -1
- package/lib/progress/Progress.d.ts +2 -2
- package/lib/progress/Progress.js +2 -1
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +2 -1
- package/lib/progress/index.js +7 -2
- package/lib/pull-refresh/PullRefresh.d.ts +1 -1
- package/lib/pull-refresh/PullRefresh.js +2 -1
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +1 -0
- package/lib/pull-refresh/index.js +7 -2
- package/lib/radio/Radio.d.ts +15 -2
- package/lib/radio/Radio.js +7 -2
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/index.js +7 -2
- package/lib/radio-group/RadioGroup.d.ts +1 -1
- package/lib/radio-group/RadioGroup.js +2 -1
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/radio-group/index.js +7 -2
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/Rate.js +6 -3
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +1 -0
- package/lib/rate/index.js +7 -2
- package/lib/row/Row.d.ts +2 -2
- package/lib/row/Row.js +2 -1
- package/lib/row/index.d.ts +2 -1
- package/lib/row/index.js +7 -2
- package/lib/search/Search.d.ts +1 -1
- package/lib/search/Search.js +2 -1
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +1 -0
- package/lib/search/index.js +7 -2
- package/lib/share-sheet/ShareSheet.d.ts +1 -1
- package/lib/share-sheet/ShareSheet.js +2 -1
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.d.ts +1 -0
- package/lib/share-sheet/index.js +7 -2
- package/lib/sidebar/Sidebar.d.ts +1 -1
- package/lib/sidebar/Sidebar.js +2 -1
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.d.ts +1 -0
- package/lib/sidebar/index.js +7 -2
- package/lib/sidebar-item/SidebarItem.d.ts +1 -1
- package/lib/sidebar-item/SidebarItem.js +2 -1
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.d.ts +1 -0
- package/lib/sidebar-item/index.js +7 -2
- package/lib/skeleton/Skeleton.d.ts +2 -2
- package/lib/skeleton/Skeleton.js +2 -1
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +2 -1
- package/lib/skeleton/index.js +7 -2
- package/lib/slider/Slider.d.ts +1 -1
- package/lib/slider/Slider.js +7 -2
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/index.js +7 -2
- package/lib/space/Space.d.ts +2 -2
- package/lib/space/Space.js +2 -1
- package/lib/space/index.d.ts +2 -1
- package/lib/space/index.js +7 -2
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/step/index.js +4 -1
- package/lib/stepper/Stepper.d.ts +1 -1
- package/lib/stepper/Stepper.js +2 -1
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +1 -0
- package/lib/stepper/index.js +7 -2
- package/lib/steps/Steps.d.ts +1 -1
- package/lib/steps/Steps.js +2 -1
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +1 -0
- package/lib/steps/index.js +7 -2
- package/lib/sticky/Sticky.d.ts +1 -1
- package/lib/sticky/Sticky.js +2 -1
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.d.ts +1 -0
- package/lib/sticky/index.js +7 -2
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +1 -1
- package/lib/submit-bar/SubmitBar.js +2 -1
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +1 -0
- package/lib/submit-bar/index.js +7 -2
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/Swipe.js +14 -6
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +1 -0
- package/lib/swipe/index.js +7 -2
- package/lib/swipe-cell/SwipeCell.d.ts +3 -3
- package/lib/swipe-cell/SwipeCell.js +5 -2
- package/lib/swipe-cell/index.d.ts +3 -2
- package/lib/swipe-cell/index.js +7 -2
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/swipe-item/index.js +4 -1
- package/lib/switch/Switch.d.ts +1 -1
- package/lib/switch/Switch.js +2 -1
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/index.js +7 -2
- package/lib/tab/Tab.d.ts +2 -2
- package/lib/tab/Tab.js +2 -1
- package/lib/tab/index.d.ts +2 -1
- package/lib/tab/index.js +7 -2
- package/lib/tabbar/Tabbar.d.ts +1 -1
- package/lib/tabbar/Tabbar.js +2 -1
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.d.ts +1 -0
- package/lib/tabbar/index.js +7 -2
- package/lib/tabbar-item/TabbarItem.d.ts +1 -1
- package/lib/tabbar-item/TabbarItem.js +2 -1
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +1 -0
- package/lib/tabbar-item/index.js +7 -2
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +6 -2
- package/lib/tabs/TabsTitle.d.ts +1 -1
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/index.js +7 -2
- package/lib/tag/Tag.d.ts +1 -1
- package/lib/tag/Tag.js +2 -1
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +1 -0
- package/lib/tag/index.js +7 -2
- package/lib/time-picker/TimePicker.d.ts +7 -4
- package/lib/time-picker/TimePicker.js +2 -1
- package/lib/time-picker/index.d.ts +5 -2
- package/lib/time-picker/index.js +7 -2
- package/lib/time-picker/style/index.js +7 -0
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/Toast.js +9 -2
- package/lib/toast/function-call.js +4 -1
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +1 -0
- package/lib/toast/index.js +7 -2
- package/lib/tree-select/TreeSelect.d.ts +1 -1
- package/lib/tree-select/TreeSelect.js +2 -1
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +1 -0
- package/lib/tree-select/index.js +7 -2
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/Uploader.js +6 -2
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +1 -0
- package/lib/uploader/index.js +7 -2
- package/lib/utils/basic.js +2 -1
- package/lib/utils/create.js +12 -3
- package/lib/utils/with-install.d.ts +2 -2
- package/lib/utils/with-install.js +4 -2
- package/lib/vant.cjs.js +4481 -4198
- package/lib/vant.es.js +4483 -4200
- package/lib/vant.js +4509 -4209
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +2445 -2370
- package/package.json +9 -9
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-image-preview-index-text-color: var(--van-white);--van-image-preview-index-font-size: var(--van-font-size-md);--van-image-preview-index-line-height: var(--van-line-height-md);--van-image-preview-index-text-shadow: 0 1px 1px var(--van-gray-8);--van-image-preview-overlay-background: rgba(0, 0, 0, .9);--van-image-preview-close-icon-size: 22px;--van-image-preview-close-icon-color: var(--van-gray-5);--van-image-preview-close-icon-margin: var(--van-padding-md);--van-image-preview-close-icon-z-index: 1}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;max-width:none;background-color:transparent;transform:none}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:flex;align-items:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image{width:100%;transition-property:transform}.van-image-preview__image--vertical{width:auto;height:100%}.van-image-preview__image img{-webkit-user-drag:none}.van-image-preview__image .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon{font-size:36px}.van-image-preview__image .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:var(--van-padding-md);left:50%;color:var(--van-image-preview-index-text-color);font-size:var(--van-image-preview-index-font-size);line-height:var(--van-image-preview-index-line-height);text-shadow:var(--van-image-preview-index-text-shadow);transform:translate(-50%)}.van-image-preview__overlay{background:var(--van-image-preview-overlay-background)}.van-image-preview__close-icon{position:absolute;z-index:var(--van-image-preview-close-icon-z-index);color:var(--van-image-preview-close-icon-color);font-size:var(--van-image-preview-close-icon-size)}.van-image-preview__close-icon--top-left{top:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--top-right{top:var(--van-image-preview-close-icon-margin);right:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-left{bottom:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-right{right:var(--van-image-preview-close-icon-margin);bottom:var(--van-image-preview-close-icon-margin)}
|
@@ -128,6 +128,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
|
|
128
128
|
showIndex: boolean;
|
129
129
|
}>>;
|
130
130
|
export default ImagePreview;
|
131
|
+
export { imagePreviewProps } from './ImagePreview';
|
131
132
|
export { showImagePreview } from './function-call';
|
132
133
|
export type { ImagePreviewProps };
|
133
134
|
export type { ImagePreviewOptions, ImagePreviewInstance, ImagePreviewScaleEventParams, } from './types';
|
@@ -16,17 +16,22 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
ImagePreview: () => ImagePreview,
|
24
27
|
default: () => stdin_default,
|
28
|
+
imagePreviewProps: () => import_ImagePreview2.imagePreviewProps,
|
25
29
|
showImagePreview: () => import_function_call.showImagePreview
|
26
30
|
});
|
27
31
|
module.exports = __toCommonJS(stdin_exports);
|
28
32
|
var import_utils = require("../utils");
|
29
33
|
var import_ImagePreview = __toESM(require("./ImagePreview"));
|
34
|
+
var import_ImagePreview2 = require("./ImagePreview");
|
30
35
|
var import_function_call = require("./function-call");
|
31
36
|
const ImagePreview = (0, import_utils.withInstall)(import_ImagePreview.default);
|
32
37
|
var stdin_default = ImagePreview;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { type ExtractPropTypes } from 'vue';
|
2
|
-
declare const indexAnchorProps: {
|
2
|
+
export declare const indexAnchorProps: {
|
3
3
|
index: (NumberConstructor | StringConstructor)[];
|
4
4
|
};
|
5
5
|
export declare type IndexAnchorProps = ExtractPropTypes<typeof indexAnchorProps>;
|
6
6
|
declare const _default: import("vue").DefineComponent<{
|
7
7
|
index: (NumberConstructor | StringConstructor)[];
|
8
|
-
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
8
|
+
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
9
9
|
index: (NumberConstructor | StringConstructor)[];
|
10
10
|
}>>, {}>;
|
11
11
|
export default _default;
|
@@ -17,7 +17,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
|
-
default: () => stdin_default
|
20
|
+
default: () => stdin_default,
|
21
|
+
indexAnchorProps: () => indexAnchorProps
|
21
22
|
});
|
22
23
|
module.exports = __toCommonJS(stdin_exports);
|
23
24
|
var import_vue = require("vue");
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-index-anchor-z-index: 1;--van-index-anchor-padding: 0 var(--van-padding-md);--van-index-anchor-text-color: var(--van-text-color);--van-index-anchor-font-weight: var(--van-font-bold);--van-index-anchor-font-size: var(--van-font-size-md);--van-index-anchor-line-height: 32px;--van-index-anchor-background: transparent;--van-index-anchor-sticky-text-color: var(--van-primary-color);--van-index-anchor-sticky-background: var(--van-background-2)}.van-index-anchor{z-index:var(--van-index-anchor-z-index);box-sizing:border-box;padding:var(--van-index-anchor-padding);color:var(--van-index-anchor-text-color);font-weight:var(--van-index-anchor-font-weight);font-size:var(--van-index-anchor-font-size);line-height:var(--van-index-anchor-line-height);background:var(--van-index-anchor-background)}.van-index-anchor--sticky{position:fixed;top:0;right:0;left:0;color:var(--van-index-anchor-sticky-text-color);background:var(--van-index-anchor-sticky-background)}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
export declare const IndexAnchor: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
index: (NumberConstructor | StringConstructor)[];
|
3
|
-
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
3
|
+
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
4
4
|
index: (NumberConstructor | StringConstructor)[];
|
5
5
|
}>>, {}>>;
|
6
6
|
export default IndexAnchor;
|
7
|
+
export { indexAnchorProps } from './IndexAnchor';
|
7
8
|
export type { IndexAnchorProps } from './IndexAnchor';
|
8
9
|
declare module 'vue' {
|
9
10
|
interface GlobalComponents {
|
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
IndexAnchor: () => IndexAnchor,
|
24
|
-
default: () => stdin_default
|
27
|
+
default: () => stdin_default,
|
28
|
+
indexAnchorProps: () => import_IndexAnchor2.indexAnchorProps
|
25
29
|
});
|
26
30
|
module.exports = __toCommonJS(stdin_exports);
|
27
31
|
var import_utils = require("../utils");
|
28
32
|
var import_IndexAnchor = __toESM(require("./IndexAnchor"));
|
33
|
+
var import_IndexAnchor2 = require("./IndexAnchor");
|
29
34
|
const IndexAnchor = (0, import_utils.withInstall)(import_IndexAnchor.default);
|
30
35
|
var stdin_default = IndexAnchor;
|
@@ -2,7 +2,7 @@ import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
|
|
2
2
|
import { type Numeric } from '../utils';
|
3
3
|
import { IndexBarProvide } from './types';
|
4
4
|
declare function genAlphabet(): string[];
|
5
|
-
declare const indexBarProps: {
|
5
|
+
export declare const indexBarProps: {
|
6
6
|
sticky: {
|
7
7
|
type: BooleanConstructor;
|
8
8
|
default: true;
|
@@ -18,7 +18,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
20
|
INDEX_BAR_KEY: () => INDEX_BAR_KEY,
|
21
|
-
default: () => stdin_default
|
21
|
+
default: () => stdin_default,
|
22
|
+
indexBarProps: () => indexBarProps
|
22
23
|
});
|
23
24
|
module.exports = __toCommonJS(stdin_exports);
|
24
25
|
var import_vue = require("vue");
|
@@ -54,6 +55,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
54
55
|
slots
|
55
56
|
}) {
|
56
57
|
const root = (0, import_vue2.ref)();
|
58
|
+
const sidebar = (0, import_vue2.ref)();
|
57
59
|
const activeAnchor = (0, import_vue2.ref)("");
|
58
60
|
const touch = (0, import_use_touch.useTouch)();
|
59
61
|
const scrollParent = (0, import_use.useScrollParent)(root);
|
@@ -173,11 +175,11 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
173
175
|
const {
|
174
176
|
offsetHeight
|
175
177
|
} = document.documentElement;
|
178
|
+
match.$el.scrollIntoView();
|
176
179
|
if (scrollTop === offsetHeight - scrollParentRect.height) {
|
177
180
|
onScroll();
|
178
181
|
return;
|
179
182
|
}
|
180
|
-
match.$el.scrollIntoView();
|
181
183
|
if (props.sticky && props.stickyOffsetTop) {
|
182
184
|
(0, import_utils.setRootScrollTop)((0, import_utils.getRootScrollTop)() - props.stickyOffsetTop);
|
183
185
|
}
|
@@ -217,15 +219,18 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
217
219
|
}
|
218
220
|
};
|
219
221
|
const renderSidebar = () => (0, import_vue.createVNode)("div", {
|
222
|
+
"ref": sidebar,
|
220
223
|
"class": bem("sidebar"),
|
221
224
|
"style": sidebarStyle.value,
|
222
225
|
"onClick": onClickSidebar,
|
223
|
-
"onTouchstartPassive": touch.start
|
224
|
-
"onTouchmove": onTouchMove
|
226
|
+
"onTouchstartPassive": touch.start
|
225
227
|
}, [renderIndexes()]);
|
226
228
|
(0, import_use_expose.useExpose)({
|
227
229
|
scrollTo
|
228
230
|
});
|
231
|
+
(0, import_use.useEventListener)("touchmove", onTouchMove, {
|
232
|
+
target: sidebar
|
233
|
+
});
|
229
234
|
return () => {
|
230
235
|
var _a;
|
231
236
|
return (0, import_vue.createVNode)("div", {
|
package/lib/index-bar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-index-bar-sidebar-z-index: 2;--van-index-bar-index-font-size: var(--van-font-size-xs);--van-index-bar-index-line-height: var(--van-line-height-xs);--van-index-bar-index-active-color: var(--van-primary-color)}.van-index-bar__sidebar{position:fixed;top:50%;right:0;z-index:var(--van-index-bar-sidebar-z-index);display:flex;flex-direction:column;text-align:center;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.van-index-bar__index{padding:0 var(--van-padding-xs) 0 var(--van-padding-md);font-weight:var(--van-font-bold);font-size:var(--van-index-bar-index-font-size);line-height:var(--van-index-bar-index-line-height)}.van-index-bar__index--active{color:var(--van-index-bar-index-active-color);font-weight:700}
|
package/lib/index-bar/index.d.ts
CHANGED
@@ -40,6 +40,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
|
|
40
40
|
indexList: import("../utils").Numeric[];
|
41
41
|
}>>;
|
42
42
|
export default IndexBar;
|
43
|
+
export { indexBarProps } from './IndexBar';
|
43
44
|
export type { IndexBarProps };
|
44
45
|
export type { IndexBarInstance } from './types';
|
45
46
|
declare module 'vue' {
|
package/lib/index-bar/index.js
CHANGED
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
}
|
17
17
|
return to;
|
18
18
|
};
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
20
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
24
|
var stdin_exports = {};
|
22
25
|
__export(stdin_exports, {
|
23
26
|
IndexBar: () => IndexBar,
|
24
|
-
default: () => stdin_default
|
27
|
+
default: () => stdin_default,
|
28
|
+
indexBarProps: () => import_IndexBar2.indexBarProps
|
25
29
|
});
|
26
30
|
module.exports = __toCommonJS(stdin_exports);
|
27
31
|
var import_utils = require("../utils");
|
28
32
|
var import_IndexBar = __toESM(require("./IndexBar"));
|
33
|
+
var import_IndexBar2 = require("./IndexBar");
|
29
34
|
const IndexBar = (0, import_utils.withInstall)(import_IndexBar.default);
|
30
35
|
var stdin_default = IndexBar;
|