vant 4.0.0-rc.7 → 4.0.0-rc.9
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/es/action-bar/ActionBar.d.ts +1 -1
- package/es/action-bar/types.d.ts +1 -1
- package/es/action-bar-button/ActionBarButton.d.ts +1 -1
- package/es/action-bar-button/types.d.ts +1 -1
- package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/es/action-bar-icon/types.d.ts +1 -1
- package/es/action-sheet/ActionSheet.d.ts +3 -3
- package/es/action-sheet/index.d.ts +1 -1
- package/es/action-sheet/types.d.ts +1 -1
- package/es/address-edit/AddressEdit.d.ts +1 -1
- package/es/address-edit/types.d.ts +5 -5
- package/es/address-list/AddressList.d.ts +1 -1
- package/es/address-list/AddressListItem.d.ts +1 -1
- package/es/address-list/types.d.ts +1 -1
- package/es/area/Area.d.ts +2 -2
- package/es/area/index.d.ts +1 -1
- package/es/area/types.d.ts +2 -2
- package/es/back-top/BackTop.d.ts +66 -0
- package/es/back-top/BackTop.mjs +99 -0
- package/es/back-top/index.css +1 -0
- package/es/back-top/index.d.ts +53 -0
- package/es/back-top/index.mjs +10 -0
- package/es/back-top/style/index.d.ts +1 -0
- package/es/back-top/style/index.mjs +4 -0
- package/es/back-top/types.d.ts +6 -0
- package/es/back-top/types.mjs +0 -0
- package/es/badge/Badge.d.ts +2 -2
- package/es/badge/types.d.ts +1 -1
- package/es/button/Button.d.ts +1 -1
- package/es/button/types.d.ts +5 -5
- package/es/calendar/Calendar.d.ts +1 -1
- package/es/calendar/CalendarMonth.d.ts +1 -1
- package/es/calendar/types.d.ts +7 -7
- package/es/card/Card.d.ts +1 -1
- package/es/card/types.d.ts +1 -1
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/types.d.ts +4 -4
- package/es/cell/Cell.d.ts +4 -4
- package/es/cell/Cell.mjs +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell/types.d.ts +1 -1
- package/es/cell-group/CellGroup.d.ts +1 -1
- package/es/cell-group/types.d.ts +1 -1
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checker.d.ts +4 -4
- package/es/checkbox/types.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/es/checkbox-group/types.d.ts +5 -5
- package/es/circle/Circle.d.ts +2 -2
- package/es/circle/types.d.ts +1 -1
- package/es/col/Col.d.ts +1 -1
- package/es/collapse/Collapse.d.ts +4 -4
- package/es/collapse-item/CollapseItem.d.ts +2 -2
- package/es/collapse-item/index.d.ts +1 -1
- package/es/collapse-item/types.d.ts +3 -3
- package/es/composables/use-route.d.ts +1 -1
- package/es/composables/use-touch.d.ts +1 -1
- package/es/config-provider/ConfigProvider.d.ts +4 -4
- package/es/config-provider/types.d.ts +1 -1
- package/es/contact-card/ContactCard.d.ts +2 -2
- package/es/contact-card/types.d.ts +1 -1
- package/es/contact-edit/ContactEdit.d.ts +2 -2
- package/es/contact-edit/types.d.ts +1 -1
- package/es/contact-list/ContactList.d.ts +2 -2
- package/es/contact-list/types.d.ts +1 -1
- package/es/count-down/CountDown.d.ts +1 -1
- package/es/count-down/types.d.ts +4 -4
- package/es/coupon/Coupon.d.ts +1 -1
- package/es/coupon/types.d.ts +1 -1
- package/es/coupon-cell/CouponCell.d.ts +1 -1
- package/es/coupon-cell/types.d.ts +1 -1
- package/es/coupon-list/CouponList.d.ts +1 -1
- package/es/coupon-list/types.d.ts +1 -1
- package/es/date-picker/DatePicker.d.ts +3 -3
- package/es/date-picker/index.d.ts +1 -1
- package/es/date-picker/utils.d.ts +2 -2
- package/es/dialog/Dialog.d.ts +2 -2
- package/es/dialog/index.d.ts +1 -1
- package/es/dialog/types.d.ts +6 -6
- package/es/divider/Divider.d.ts +2 -2
- package/es/divider/types.d.ts +1 -1
- package/es/dropdown-item/DropdownItem.d.ts +3 -3
- package/es/dropdown-item/DropdownItem.mjs +6 -4
- package/es/dropdown-item/index.d.ts +2 -2
- package/es/dropdown-item/types.d.ts +4 -4
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/types.d.ts +3 -3
- package/es/empty/Empty.d.ts +1 -1
- package/es/empty/types.d.ts +1 -1
- package/es/field/Field.d.ts +2 -2
- package/es/field/index.d.ts +1 -1
- package/es/field/types.d.ts +16 -16
- package/es/form/Form.d.ts +1 -1
- package/es/form/types.d.ts +3 -3
- package/es/grid/Grid.d.ts +3 -3
- package/es/grid-item/GridItem.d.ts +1 -1
- package/es/grid-item/types.d.ts +1 -1
- package/es/icon/Icon.d.ts +1 -1
- package/es/image/Image.d.ts +3 -3
- package/es/image/types.d.ts +1 -1
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/types.d.ts +5 -5
- package/es/index-anchor/IndexAnchor.d.ts +1 -1
- package/es/index-anchor/types.d.ts +1 -1
- package/es/index-bar/IndexBar.d.ts +1 -1
- package/es/index-bar/types.d.ts +4 -4
- package/es/index.d.ts +2 -1
- package/es/index.mjs +4 -1
- package/es/lazyload/vue-lazyload/util.d.ts +25 -0
- package/es/list/List.d.ts +1 -1
- package/es/list/List.mjs +1 -1
- package/es/list/types.d.ts +4 -4
- package/es/loading/Loading.d.ts +2 -2
- package/es/loading/types.d.ts +1 -1
- package/es/locale/index.d.ts +1 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/types.d.ts +1 -1
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/types.d.ts +4 -4
- package/es/notify/Notify.d.ts +1 -1
- package/es/notify/types.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/es/number-keyboard/NumberKeyboard.mjs +6 -4
- package/es/number-keyboard/NumberKeyboardKey.d.ts +1 -1
- package/es/number-keyboard/types.d.ts +1 -1
- package/es/overlay/Overlay.d.ts +1 -1
- package/es/overlay/types.d.ts +1 -1
- package/es/pagination/Pagination.d.ts +2 -2
- package/es/pagination/types.d.ts +1 -1
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/types.d.ts +1 -1
- package/es/picker/Picker.d.ts +2 -2
- package/es/picker/PickerToolbar.d.ts +1 -1
- package/es/picker/index.d.ts +1 -1
- package/es/picker/types.d.ts +11 -11
- package/es/picker-group/PickerGroup.d.ts +2 -2
- package/es/picker-group/types.d.ts +1 -1
- package/es/popover/Popover.d.ts +1 -1
- package/es/popover/types.d.ts +5 -5
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/index.d.ts +2 -2
- package/es/popup/shared.d.ts +1 -1
- package/es/popup/types.d.ts +5 -5
- package/es/progress/Progress.d.ts +1 -1
- package/es/progress/types.d.ts +3 -3
- package/es/pull-refresh/PullRefresh.d.ts +1 -1
- package/es/pull-refresh/types.d.ts +1 -1
- package/es/radio/Radio.d.ts +3 -3
- package/es/radio/types.d.ts +1 -1
- package/es/radio-group/RadioGroup.d.ts +3 -3
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/types.d.ts +1 -1
- package/es/row/Row.d.ts +5 -5
- package/es/search/Search.d.ts +1 -1
- package/es/search/types.d.ts +4 -4
- package/es/share-sheet/ShareSheet.d.ts +4 -4
- package/es/share-sheet/index.d.ts +1 -1
- package/es/share-sheet/types.d.ts +1 -1
- package/es/sidebar/Sidebar.d.ts +2 -2
- package/es/sidebar/types.d.ts +1 -1
- package/es/sidebar-item/SidebarItem.d.ts +1 -1
- package/es/sidebar-item/types.d.ts +1 -1
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/SkeletonAvatar.d.ts +1 -1
- package/es/skeleton/SkeletonImage.d.ts +1 -1
- package/es/skeleton/SkeletonParagraph.d.ts +1 -1
- package/es/skeleton/SkeletonTitle.d.ts +1 -1
- package/es/skeleton/types.d.ts +3 -3
- package/es/slider/Slider.d.ts +3 -3
- package/es/slider/types.d.ts +1 -1
- package/es/space/Space.d.ts +3 -3
- package/es/step/types.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +2 -2
- package/es/stepper/types.d.ts +1 -1
- package/es/steps/Steps.d.ts +3 -3
- package/es/steps/types.d.ts +1 -1
- package/es/sticky/Sticky.d.ts +2 -2
- package/es/sticky/types.d.ts +1 -1
- package/es/style/base.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/submit-bar/SubmitBar.d.ts +2 -2
- package/es/submit-bar/types.d.ts +1 -1
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/types.d.ts +6 -6
- package/es/swipe-cell/SwipeCell.d.ts +3 -3
- package/es/swipe-cell/index.d.ts +2 -2
- package/es/swipe-cell/types.d.ts +4 -4
- package/es/switch/Switch.d.ts +1 -1
- package/es/switch/types.d.ts +1 -1
- package/es/tab/Tab.d.ts +1 -1
- package/es/tabbar/Tabbar.d.ts +2 -2
- package/es/tabbar/types.d.ts +1 -1
- package/es/tabbar-item/TabbarItem.d.ts +1 -1
- package/es/tabbar-item/types.d.ts +1 -1
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/types.d.ts +6 -6
- package/es/tag/Tag.d.ts +1 -1
- package/es/tag/types.d.ts +3 -3
- package/es/time-picker/TimePicker.d.ts +3 -3
- package/es/time-picker/index.d.ts +1 -1
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/types.d.ts +6 -6
- package/es/tree-select/TreeSelect.d.ts +3 -3
- package/es/tree-select/types.d.ts +1 -1
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/types.d.ts +8 -8
- package/es/utils/basic.d.ts +3 -3
- package/es/utils/create.d.ts +4 -4
- package/es/utils/deep-assign.d.ts +1 -1
- package/es/utils/dom.d.ts +1 -1
- package/es/utils/interceptor.d.ts +1 -1
- package/es/utils/mount-component.d.ts +1 -1
- package/es/utils/with-install.d.ts +2 -2
- package/lib/action-bar/ActionBar.d.ts +1 -1
- package/lib/action-bar/types.d.ts +1 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
- package/lib/action-bar-button/types.d.ts +1 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/lib/action-bar-icon/types.d.ts +1 -1
- package/lib/action-sheet/ActionSheet.d.ts +3 -3
- package/lib/action-sheet/index.d.ts +1 -1
- package/lib/action-sheet/types.d.ts +1 -1
- package/lib/address-edit/AddressEdit.d.ts +1 -1
- package/lib/address-edit/types.d.ts +5 -5
- package/lib/address-list/AddressList.d.ts +1 -1
- package/lib/address-list/AddressListItem.d.ts +1 -1
- package/lib/address-list/types.d.ts +1 -1
- package/lib/area/Area.d.ts +2 -2
- package/lib/area/index.d.ts +1 -1
- package/lib/area/types.d.ts +2 -2
- package/lib/back-top/BackTop.d.ts +66 -0
- package/lib/back-top/BackTop.js +118 -0
- package/lib/back-top/index.css +1 -0
- package/lib/back-top/index.d.ts +53 -0
- package/lib/back-top/index.js +35 -0
- package/lib/back-top/style/index.d.ts +1 -0
- package/lib/back-top/style/index.js +4 -0
- package/lib/back-top/types.d.ts +6 -0
- package/lib/back-top/types.js +15 -0
- package/lib/badge/Badge.d.ts +2 -2
- package/lib/badge/types.d.ts +1 -1
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/types.d.ts +5 -5
- package/lib/calendar/Calendar.d.ts +1 -1
- package/lib/calendar/CalendarMonth.d.ts +1 -1
- package/lib/calendar/types.d.ts +7 -7
- package/lib/card/Card.d.ts +1 -1
- package/lib/card/types.d.ts +1 -1
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/types.d.ts +4 -4
- package/lib/cell/Cell.d.ts +4 -4
- package/lib/cell/Cell.js +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell/types.d.ts +1 -1
- package/lib/cell-group/CellGroup.d.ts +1 -1
- package/lib/cell-group/types.d.ts +1 -1
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checker.d.ts +4 -4
- package/lib/checkbox/types.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox-group/types.d.ts +5 -5
- package/lib/circle/Circle.d.ts +2 -2
- package/lib/circle/types.d.ts +1 -1
- package/lib/col/Col.d.ts +1 -1
- package/lib/collapse/Collapse.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.d.ts +2 -2
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/types.d.ts +3 -3
- package/lib/composables/use-route.d.ts +1 -1
- package/lib/composables/use-touch.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +4 -4
- package/lib/config-provider/types.d.ts +1 -1
- package/lib/contact-card/ContactCard.d.ts +2 -2
- package/lib/contact-card/types.d.ts +1 -1
- package/lib/contact-edit/ContactEdit.d.ts +2 -2
- package/lib/contact-edit/types.d.ts +1 -1
- package/lib/contact-list/ContactList.d.ts +2 -2
- package/lib/contact-list/types.d.ts +1 -1
- package/lib/count-down/CountDown.d.ts +1 -1
- package/lib/count-down/types.d.ts +4 -4
- package/lib/coupon/Coupon.d.ts +1 -1
- package/lib/coupon/types.d.ts +1 -1
- package/lib/coupon-cell/CouponCell.d.ts +1 -1
- package/lib/coupon-cell/types.d.ts +1 -1
- package/lib/coupon-list/CouponList.d.ts +1 -1
- package/lib/coupon-list/types.d.ts +1 -1
- package/lib/date-picker/DatePicker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +2 -2
- package/lib/dialog/Dialog.d.ts +2 -2
- package/lib/dialog/index.d.ts +1 -1
- package/lib/dialog/types.d.ts +6 -6
- package/lib/divider/Divider.d.ts +2 -2
- package/lib/divider/types.d.ts +1 -1
- package/lib/dropdown-item/DropdownItem.d.ts +3 -3
- package/lib/dropdown-item/DropdownItem.js +5 -3
- package/lib/dropdown-item/index.d.ts +2 -2
- package/lib/dropdown-item/types.d.ts +4 -4
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/types.d.ts +3 -3
- package/lib/empty/Empty.d.ts +1 -1
- package/lib/empty/types.d.ts +1 -1
- package/lib/field/Field.d.ts +2 -2
- package/lib/field/index.d.ts +1 -1
- package/lib/field/types.d.ts +16 -16
- package/lib/form/Form.d.ts +1 -1
- package/lib/form/types.d.ts +3 -3
- package/lib/grid/Grid.d.ts +3 -3
- package/lib/grid-item/GridItem.d.ts +1 -1
- package/lib/grid-item/types.d.ts +1 -1
- package/lib/icon/Icon.d.ts +1 -1
- package/lib/image/Image.d.ts +3 -3
- package/lib/image/types.d.ts +1 -1
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/types.d.ts +5 -5
- package/lib/index-anchor/IndexAnchor.d.ts +1 -1
- package/lib/index-anchor/types.d.ts +1 -1
- package/lib/index-bar/IndexBar.d.ts +1 -1
- package/lib/index-bar/types.d.ts +4 -4
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -1
- package/lib/lazyload/vue-lazyload/util.d.ts +25 -0
- package/lib/list/List.d.ts +1 -1
- package/lib/list/List.js +1 -1
- package/lib/list/types.d.ts +4 -4
- package/lib/loading/Loading.d.ts +2 -2
- package/lib/loading/types.d.ts +1 -1
- package/lib/locale/index.d.ts +1 -1
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/types.d.ts +1 -1
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/types.d.ts +4 -4
- package/lib/notify/Notify.d.ts +1 -1
- package/lib/notify/types.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/lib/number-keyboard/NumberKeyboard.js +5 -3
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +1 -1
- package/lib/number-keyboard/types.d.ts +1 -1
- package/lib/overlay/Overlay.d.ts +1 -1
- package/lib/overlay/types.d.ts +1 -1
- package/lib/pagination/Pagination.d.ts +2 -2
- package/lib/pagination/types.d.ts +1 -1
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/types.d.ts +1 -1
- package/lib/picker/Picker.d.ts +2 -2
- package/lib/picker/PickerToolbar.d.ts +1 -1
- package/lib/picker/index.d.ts +1 -1
- package/lib/picker/types.d.ts +11 -11
- package/lib/picker-group/PickerGroup.d.ts +2 -2
- package/lib/picker-group/types.d.ts +1 -1
- package/lib/popover/Popover.d.ts +1 -1
- package/lib/popover/types.d.ts +5 -5
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/index.d.ts +2 -2
- package/lib/popup/shared.d.ts +1 -1
- package/lib/popup/types.d.ts +5 -5
- package/lib/progress/Progress.d.ts +1 -1
- package/lib/progress/types.d.ts +3 -3
- package/lib/pull-refresh/PullRefresh.d.ts +1 -1
- package/lib/pull-refresh/types.d.ts +1 -1
- package/lib/radio/Radio.d.ts +3 -3
- package/lib/radio/types.d.ts +1 -1
- package/lib/radio-group/RadioGroup.d.ts +3 -3
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/types.d.ts +1 -1
- package/lib/row/Row.d.ts +5 -5
- package/lib/search/Search.d.ts +1 -1
- package/lib/search/types.d.ts +4 -4
- package/lib/share-sheet/ShareSheet.d.ts +4 -4
- package/lib/share-sheet/index.d.ts +1 -1
- package/lib/share-sheet/types.d.ts +1 -1
- package/lib/sidebar/Sidebar.d.ts +2 -2
- package/lib/sidebar/types.d.ts +1 -1
- package/lib/sidebar-item/SidebarItem.d.ts +1 -1
- package/lib/sidebar-item/types.d.ts +1 -1
- package/lib/skeleton/Skeleton.d.ts +1 -1
- package/lib/skeleton/SkeletonAvatar.d.ts +1 -1
- package/lib/skeleton/SkeletonImage.d.ts +1 -1
- package/lib/skeleton/SkeletonParagraph.d.ts +1 -1
- package/lib/skeleton/SkeletonTitle.d.ts +1 -1
- package/lib/skeleton/types.d.ts +3 -3
- package/lib/slider/Slider.d.ts +3 -3
- package/lib/slider/types.d.ts +1 -1
- package/lib/space/Space.d.ts +3 -3
- package/lib/step/types.d.ts +1 -1
- package/lib/stepper/Stepper.d.ts +2 -2
- package/lib/stepper/types.d.ts +1 -1
- package/lib/steps/Steps.d.ts +3 -3
- package/lib/steps/types.d.ts +1 -1
- package/lib/sticky/Sticky.d.ts +2 -2
- package/lib/sticky/types.d.ts +1 -1
- package/lib/style/base.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +2 -2
- package/lib/submit-bar/types.d.ts +1 -1
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/types.d.ts +6 -6
- package/lib/swipe-cell/SwipeCell.d.ts +3 -3
- package/lib/swipe-cell/index.d.ts +2 -2
- package/lib/swipe-cell/types.d.ts +4 -4
- package/lib/switch/Switch.d.ts +1 -1
- package/lib/switch/types.d.ts +1 -1
- package/lib/tab/Tab.d.ts +1 -1
- package/lib/tabbar/Tabbar.d.ts +2 -2
- package/lib/tabbar/types.d.ts +1 -1
- package/lib/tabbar-item/TabbarItem.d.ts +1 -1
- package/lib/tabbar-item/types.d.ts +1 -1
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/types.d.ts +6 -6
- package/lib/tag/Tag.d.ts +1 -1
- package/lib/tag/types.d.ts +3 -3
- package/lib/time-picker/TimePicker.d.ts +3 -3
- package/lib/time-picker/index.d.ts +1 -1
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/types.d.ts +6 -6
- package/lib/tree-select/TreeSelect.d.ts +3 -3
- package/lib/tree-select/types.d.ts +1 -1
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/types.d.ts +8 -8
- package/lib/utils/basic.d.ts +3 -3
- package/lib/utils/create.d.ts +4 -4
- package/lib/utils/deep-assign.d.ts +1 -1
- package/lib/utils/dom.d.ts +1 -1
- package/lib/utils/interceptor.d.ts +1 -1
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/utils/with-install.d.ts +2 -2
- package/lib/vant.cjs.js +533 -436
- package/lib/vant.es.js +534 -437
- package/lib/vant.js +533 -436
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +2 -2
package/lib/radio/types.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
|
2
2
|
import type { CheckerDirection } from '../checkbox/Checker';
|
3
|
-
export
|
3
|
+
export type RadioGroupDirection = CheckerDirection;
|
4
4
|
export declare const radioGroupProps: {
|
5
5
|
disabled: BooleanConstructor;
|
6
6
|
iconSize: (NumberConstructor | StringConstructor)[];
|
@@ -8,8 +8,8 @@ export declare const radioGroupProps: {
|
|
8
8
|
modelValue: PropType<unknown>;
|
9
9
|
checkedColor: StringConstructor;
|
10
10
|
};
|
11
|
-
export
|
12
|
-
export
|
11
|
+
export type RadioGroupProps = ExtractPropTypes<typeof radioGroupProps>;
|
12
|
+
export type RadioGroupProvide = {
|
13
13
|
props: RadioGroupProps;
|
14
14
|
updateValue: (value: unknown) => void;
|
15
15
|
};
|
package/lib/rate/Rate.d.ts
CHANGED
@@ -30,7 +30,7 @@ export declare const rateProps: {
|
|
30
30
|
};
|
31
31
|
disabledColor: StringConstructor;
|
32
32
|
};
|
33
|
-
export
|
33
|
+
export type RateProps = ExtractPropTypes<typeof rateProps>;
|
34
34
|
declare const _default: import("vue").DefineComponent<{
|
35
35
|
size: (NumberConstructor | StringConstructor)[];
|
36
36
|
icon: {
|
package/lib/rate/types.d.ts
CHANGED
package/lib/row/Row.d.ts
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { type PropType, type ComputedRef, type InjectionKey, type ExtractPropTypes } from 'vue';
|
2
|
-
export
|
2
|
+
export type RowSpaces = {
|
3
3
|
left?: number;
|
4
4
|
right: number;
|
5
5
|
}[];
|
6
|
-
export
|
6
|
+
export type RowProvide = {
|
7
7
|
spaces: ComputedRef<RowSpaces>;
|
8
8
|
};
|
9
9
|
export declare const ROW_KEY: InjectionKey<RowProvide>;
|
10
|
-
export
|
11
|
-
export
|
10
|
+
export type RowAlign = 'top' | 'center' | 'bottom';
|
11
|
+
export type RowJustify = 'start' | 'end' | 'center' | 'space-around' | 'space-between';
|
12
12
|
export declare const rowProps: {
|
13
13
|
tag: {
|
14
14
|
type: PropType<keyof HTMLElementTagNameMap>;
|
@@ -25,7 +25,7 @@ export declare const rowProps: {
|
|
25
25
|
};
|
26
26
|
justify: PropType<RowJustify>;
|
27
27
|
};
|
28
|
-
export
|
28
|
+
export type RowProps = ExtractPropTypes<typeof rowProps>;
|
29
29
|
declare const _default: import("vue").DefineComponent<{
|
30
30
|
tag: {
|
31
31
|
type: PropType<keyof HTMLElementTagNameMap>;
|
package/lib/search/Search.d.ts
CHANGED
@@ -60,7 +60,7 @@ export declare const searchProps: {
|
|
60
60
|
background: StringConstructor;
|
61
61
|
showAction: BooleanConstructor;
|
62
62
|
};
|
63
|
-
export
|
63
|
+
export type SearchProps = ExtractPropTypes<typeof searchProps>;
|
64
64
|
declare const _default: import("vue").DefineComponent<{
|
65
65
|
id: StringConstructor;
|
66
66
|
name: StringConstructor;
|
package/lib/search/types.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
2
2
|
import type { SearchProps } from './Search';
|
3
|
-
export
|
4
|
-
export
|
3
|
+
export type SearchShape = 'square' | 'round';
|
4
|
+
export type SearchExpose = {
|
5
5
|
focus: () => void;
|
6
6
|
blur: () => void;
|
7
7
|
};
|
8
|
-
export
|
9
|
-
export
|
8
|
+
export type SearchInstance = ComponentPublicInstance<SearchProps, SearchExpose>;
|
9
|
+
export type SearchThemeVars = {
|
10
10
|
searchPadding?: string;
|
11
11
|
searchBackground?: string;
|
12
12
|
searchContentBackground?: string;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { type ExtractPropTypes } from 'vue';
|
2
|
-
export
|
2
|
+
export type ShareSheetOption = {
|
3
3
|
name: string;
|
4
4
|
icon: string;
|
5
5
|
className?: string;
|
6
6
|
description?: string;
|
7
7
|
};
|
8
|
-
export
|
8
|
+
export type ShareSheetOptions = ShareSheetOption[] | ShareSheetOption[][];
|
9
9
|
export declare const shareSheetProps: {
|
10
10
|
show: BooleanConstructor;
|
11
11
|
zIndex: (NumberConstructor | StringConstructor)[];
|
@@ -52,7 +52,7 @@ export declare const shareSheetProps: {
|
|
52
52
|
default: true;
|
53
53
|
};
|
54
54
|
};
|
55
|
-
export
|
55
|
+
export type ShareSheetProps = ExtractPropTypes<typeof shareSheetProps>;
|
56
56
|
declare const _default: import("vue").DefineComponent<{
|
57
57
|
show: BooleanConstructor;
|
58
58
|
zIndex: (NumberConstructor | StringConstructor)[];
|
@@ -98,7 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
98
98
|
type: BooleanConstructor;
|
99
99
|
default: true;
|
100
100
|
};
|
101
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "
|
101
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show")[], "select" | "cancel" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
102
102
|
show: BooleanConstructor;
|
103
103
|
zIndex: (NumberConstructor | StringConstructor)[];
|
104
104
|
overlay: {
|
@@ -43,7 +43,7 @@ export declare const ShareSheet: import("../utils").WithInstall<import("vue").De
|
|
43
43
|
type: BooleanConstructor;
|
44
44
|
default: true;
|
45
45
|
};
|
46
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "
|
46
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show")[], "select" | "cancel" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
47
47
|
show: BooleanConstructor;
|
48
48
|
zIndex: (NumberConstructor | StringConstructor)[];
|
49
49
|
overlay: {
|
package/lib/sidebar/Sidebar.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type InjectionKey, type ExtractPropTypes } from 'vue';
|
2
|
-
export
|
2
|
+
export type SidebarProvide = {
|
3
3
|
getActive: () => number;
|
4
4
|
setActive: (value: number) => void;
|
5
5
|
};
|
@@ -10,7 +10,7 @@ export declare const sidebarProps: {
|
|
10
10
|
default: number;
|
11
11
|
};
|
12
12
|
};
|
13
|
-
export
|
13
|
+
export type SidebarProps = ExtractPropTypes<typeof sidebarProps>;
|
14
14
|
declare const _default: import("vue").DefineComponent<{
|
15
15
|
modelValue: {
|
16
16
|
type: (NumberConstructor | StringConstructor)[];
|
package/lib/sidebar/types.d.ts
CHANGED
@@ -11,7 +11,7 @@ export declare const sidebarItemProps: {
|
|
11
11
|
disabled: BooleanConstructor;
|
12
12
|
badgeProps: PropType<Partial<BadgeProps>>;
|
13
13
|
};
|
14
|
-
export
|
14
|
+
export type SidebarItemProps = ExtractPropTypes<typeof sidebarItemProps>;
|
15
15
|
declare const _default: import("vue").DefineComponent<{
|
16
16
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
17
17
|
url: StringConstructor;
|
@@ -28,7 +28,7 @@ export declare const skeletonProps: {
|
|
28
28
|
default: string;
|
29
29
|
};
|
30
30
|
};
|
31
|
-
export
|
31
|
+
export type SkeletonProps = ExtractPropTypes<typeof skeletonProps>;
|
32
32
|
declare const _default: import("vue").DefineComponent<{
|
33
33
|
row: {
|
34
34
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -7,7 +7,7 @@ export declare const skeletonAvatarProps: {
|
|
7
7
|
default: SkeletonAvatarShape;
|
8
8
|
};
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export type SkeletonAvatarProps = ExtractPropTypes<typeof skeletonAvatarProps>;
|
11
11
|
declare const _default: import("vue").DefineComponent<{
|
12
12
|
avatarSize: (NumberConstructor | StringConstructor)[];
|
13
13
|
avatarShape: {
|
@@ -7,7 +7,7 @@ export declare const skeletonImageProps: {
|
|
7
7
|
default: SkeletonImageShape;
|
8
8
|
};
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export type SkeletonImageProps = ExtractPropTypes<typeof skeletonImageProps>;
|
11
11
|
declare const _default: import("vue").DefineComponent<{
|
12
12
|
imageSize: (NumberConstructor | StringConstructor)[];
|
13
13
|
imageShape: {
|
@@ -7,7 +7,7 @@ export declare const skeletonParagraphProps: {
|
|
7
7
|
default: string;
|
8
8
|
};
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export type SkeletonParagraphProps = ExtractPropTypes<typeof skeletonParagraphProps>;
|
11
11
|
declare const _default: import("vue").DefineComponent<{
|
12
12
|
round: BooleanConstructor;
|
13
13
|
rowWidth: {
|
@@ -3,7 +3,7 @@ export declare const skeletonTitleProps: {
|
|
3
3
|
round: BooleanConstructor;
|
4
4
|
titleWidth: (NumberConstructor | StringConstructor)[];
|
5
5
|
};
|
6
|
-
export
|
6
|
+
export type SkeletonTitleProps = ExtractPropTypes<typeof skeletonTitleProps>;
|
7
7
|
declare const _default: import("vue").DefineComponent<{
|
8
8
|
round: BooleanConstructor;
|
9
9
|
titleWidth: (NumberConstructor | StringConstructor)[];
|
package/lib/skeleton/types.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export
|
2
|
-
export
|
3
|
-
export
|
1
|
+
export type SkeletonAvatarShape = 'square' | 'round';
|
2
|
+
export type SkeletonImageShape = 'square' | 'round';
|
3
|
+
export type SkeletonThemeVars = {
|
4
4
|
skeletonParagraphHeight?: string;
|
5
5
|
skeletonParagraphBackground?: string;
|
6
6
|
skeletonParagraphMarginTop?: string;
|
package/lib/slider/Slider.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
|
-
|
3
|
-
|
2
|
+
type NumberRange = [number, number];
|
3
|
+
type SliderValue = number | NumberRange;
|
4
4
|
export declare const sliderProps: {
|
5
5
|
min: {
|
6
6
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -28,7 +28,7 @@ export declare const sliderProps: {
|
|
28
28
|
default: number;
|
29
29
|
};
|
30
30
|
};
|
31
|
-
export
|
31
|
+
export type SliderProps = ExtractPropTypes<typeof sliderProps>;
|
32
32
|
declare const _default: import("vue").DefineComponent<{
|
33
33
|
min: {
|
34
34
|
type: (NumberConstructor | StringConstructor)[];
|
package/lib/slider/types.d.ts
CHANGED
package/lib/space/Space.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
export
|
3
|
-
export
|
2
|
+
export type SpaceSize = number | string;
|
3
|
+
export type SpaceAlign = 'start' | 'end' | 'center' | 'baseline';
|
4
4
|
export declare const spaceProps: {
|
5
5
|
align: PropType<SpaceAlign>;
|
6
6
|
direction: {
|
@@ -14,7 +14,7 @@ export declare const spaceProps: {
|
|
14
14
|
wrap: BooleanConstructor;
|
15
15
|
fill: BooleanConstructor;
|
16
16
|
};
|
17
|
-
export
|
17
|
+
export type SpaceProps = ExtractPropTypes<typeof spaceProps>;
|
18
18
|
declare const _default: import("vue").DefineComponent<{
|
19
19
|
align: PropType<SpaceAlign>;
|
20
20
|
direction: {
|
package/lib/step/types.d.ts
CHANGED
package/lib/stepper/Stepper.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { Interceptor } from '../utils';
|
3
|
-
export
|
3
|
+
export type StepperTheme = 'default' | 'round';
|
4
4
|
export declare const stepperProps: {
|
5
5
|
min: {
|
6
6
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -56,7 +56,7 @@ export declare const stepperProps: {
|
|
56
56
|
};
|
57
57
|
decimalLength: (NumberConstructor | StringConstructor)[];
|
58
58
|
};
|
59
|
-
export
|
59
|
+
export type StepperProps = ExtractPropTypes<typeof stepperProps>;
|
60
60
|
declare const _default: import("vue").DefineComponent<{
|
61
61
|
min: {
|
62
62
|
type: (NumberConstructor | StringConstructor)[];
|
package/lib/stepper/types.d.ts
CHANGED
package/lib/steps/Steps.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type ExtractPropTypes, type InjectionKey } from 'vue';
|
2
|
-
export
|
2
|
+
export type StepsDirection = 'horizontal' | 'vertical';
|
3
3
|
export declare const stepsProps: {
|
4
4
|
active: {
|
5
5
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -19,8 +19,8 @@ export declare const stepsProps: {
|
|
19
19
|
inactiveIcon: StringConstructor;
|
20
20
|
inactiveColor: StringConstructor;
|
21
21
|
};
|
22
|
-
export
|
23
|
-
export
|
22
|
+
export type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
23
|
+
export type StepsProvide = {
|
24
24
|
props: StepsProps;
|
25
25
|
onClickStep: (index: number) => void;
|
26
26
|
};
|
package/lib/steps/types.d.ts
CHANGED
package/lib/sticky/Sticky.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
|
-
export
|
2
|
+
export type StickyPosition = 'top' | 'bottom';
|
3
3
|
export declare const stickyProps: {
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
5
5
|
position: {
|
@@ -16,7 +16,7 @@ export declare const stickyProps: {
|
|
16
16
|
default: number;
|
17
17
|
};
|
18
18
|
};
|
19
|
-
export
|
19
|
+
export type StickyProps = ExtractPropTypes<typeof stickyProps>;
|
20
20
|
declare const _default: import("vue").DefineComponent<{
|
21
21
|
zIndex: (NumberConstructor | StringConstructor)[];
|
22
22
|
position: {
|
package/lib/sticky/types.d.ts
CHANGED
package/lib/style/base.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-bold: 600;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: 1px;--van-radius-sm: 2px;--van-radius-md: 4px;--van-radius-lg: 8px;--van-radius-max: 999px}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}
|
1
|
+
:root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-bold: 600;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: 1px;--van-radius-sm: 2px;--van-radius-md: 4px;--van-radius-lg: 8px;--van-radius-max: 999px}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}
|
package/lib/style/normalize.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
html{-webkit-tap-highlight-color:transparent}
|
1
|
+
html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { ButtonType } from '../button';
|
3
|
-
export
|
3
|
+
export type SubmitBarTextAlign = 'left' | 'right';
|
4
4
|
export declare const submitBarProps: {
|
5
5
|
tip: StringConstructor;
|
6
6
|
label: StringConstructor;
|
@@ -30,7 +30,7 @@ export declare const submitBarProps: {
|
|
30
30
|
default: true;
|
31
31
|
};
|
32
32
|
};
|
33
|
-
export
|
33
|
+
export type SubmitBarProps = ExtractPropTypes<typeof submitBarProps>;
|
34
34
|
declare const _default: import("vue").DefineComponent<{
|
35
35
|
tip: StringConstructor;
|
36
36
|
label: StringConstructor;
|
package/lib/swipe/Swipe.d.ts
CHANGED
@@ -35,7 +35,7 @@ export declare const swipeProps: {
|
|
35
35
|
default: true;
|
36
36
|
};
|
37
37
|
};
|
38
|
-
export
|
38
|
+
export type SwipeProps = ExtractPropTypes<typeof swipeProps>;
|
39
39
|
export declare const SWIPE_KEY: InjectionKey<SwipeProvide>;
|
40
40
|
declare const _default: import("vue").DefineComponent<{
|
41
41
|
loop: {
|
package/lib/swipe/types.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { ComponentPublicInstance, ComputedRef } from 'vue';
|
2
2
|
import type { SwipeProps } from './Swipe';
|
3
|
-
export
|
3
|
+
export type SwipeState = {
|
4
4
|
rect: {
|
5
5
|
width: number;
|
6
6
|
height: number;
|
@@ -11,10 +11,10 @@ export declare type SwipeState = {
|
|
11
11
|
active: number;
|
12
12
|
swiping: boolean;
|
13
13
|
};
|
14
|
-
export
|
14
|
+
export type SwipeToOptions = {
|
15
15
|
immediate?: boolean;
|
16
16
|
};
|
17
|
-
export
|
17
|
+
export type SwipeExpose = {
|
18
18
|
prev: () => void;
|
19
19
|
next: () => void;
|
20
20
|
resize: () => void;
|
@@ -22,14 +22,14 @@ export declare type SwipeExpose = {
|
|
22
22
|
/** @private */
|
23
23
|
state: SwipeState;
|
24
24
|
};
|
25
|
-
export
|
25
|
+
export type SwipeProvide = {
|
26
26
|
props: SwipeProps;
|
27
27
|
size: ComputedRef<number>;
|
28
28
|
count: ComputedRef<number>;
|
29
29
|
activeIndicator: ComputedRef<number>;
|
30
30
|
};
|
31
|
-
export
|
32
|
-
export
|
31
|
+
export type SwipeInstance = ComponentPublicInstance<SwipeProps, SwipeExpose>;
|
32
|
+
export type SwipeThemeVars = {
|
33
33
|
swipeIndicatorSize?: string;
|
34
34
|
swipeIndicatorMargin?: string;
|
35
35
|
swipeIndicatorActiveOpacity?: number | string;
|
@@ -11,7 +11,7 @@ export declare const swipeCellProps: {
|
|
11
11
|
beforeClose: PropType<Interceptor>;
|
12
12
|
stopPropagation: BooleanConstructor;
|
13
13
|
};
|
14
|
-
export
|
14
|
+
export type SwipeCellProps = ExtractPropTypes<typeof swipeCellProps>;
|
15
15
|
declare const _default: import("vue").DefineComponent<{
|
16
16
|
name: {
|
17
17
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
22
22
|
rightWidth: (NumberConstructor | StringConstructor)[];
|
23
23
|
beforeClose: PropType<Interceptor>;
|
24
24
|
stopPropagation: BooleanConstructor;
|
25
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
25
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
26
26
|
name: {
|
27
27
|
type: (NumberConstructor | StringConstructor)[];
|
28
28
|
default: string;
|
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
34
34
|
stopPropagation: BooleanConstructor;
|
35
35
|
}>> & {
|
36
36
|
onClick?: ((...args: any[]) => any) | undefined;
|
37
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
38
37
|
onOpen?: ((...args: any[]) => any) | undefined;
|
38
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
39
39
|
}, {
|
40
40
|
name: string | number;
|
41
41
|
disabled: boolean;
|
@@ -9,7 +9,7 @@ export declare const SwipeCell: import("../utils").WithInstall<import("vue").Def
|
|
9
9
|
rightWidth: (NumberConstructor | StringConstructor)[];
|
10
10
|
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
11
11
|
stopPropagation: BooleanConstructor;
|
12
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
12
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
13
13
|
name: {
|
14
14
|
type: (NumberConstructor | StringConstructor)[];
|
15
15
|
default: string;
|
@@ -21,8 +21,8 @@ export declare const SwipeCell: import("../utils").WithInstall<import("vue").Def
|
|
21
21
|
stopPropagation: BooleanConstructor;
|
22
22
|
}>> & {
|
23
23
|
onClick?: ((...args: any[]) => any) | undefined;
|
24
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
25
24
|
onOpen?: ((...args: any[]) => any) | undefined;
|
25
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
26
26
|
}, {
|
27
27
|
name: string | number;
|
28
28
|
disabled: boolean;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
2
2
|
import type { SwipeCellProps } from './SwipeCell';
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
3
|
+
export type SwipeCellSide = 'left' | 'right';
|
4
|
+
export type SwipeCellPosition = SwipeCellSide | 'cell' | 'outside';
|
5
|
+
export type SwipeCellExpose = {
|
6
6
|
open: (side: SwipeCellSide) => void;
|
7
7
|
close: (position: SwipeCellPosition) => void;
|
8
8
|
};
|
9
|
-
export
|
9
|
+
export type SwipeCellInstance = ComponentPublicInstance<SwipeCellProps, SwipeCellExpose>;
|
package/lib/switch/Switch.d.ts
CHANGED
@@ -15,7 +15,7 @@ export declare const switchProps: {
|
|
15
15
|
default: unknown;
|
16
16
|
};
|
17
17
|
};
|
18
|
-
export
|
18
|
+
export type SwitchProps = ExtractPropTypes<typeof switchProps>;
|
19
19
|
declare const _default: import("vue").DefineComponent<{
|
20
20
|
size: (NumberConstructor | StringConstructor)[];
|
21
21
|
loading: BooleanConstructor;
|
package/lib/switch/types.d.ts
CHANGED
package/lib/tab/Tab.d.ts
CHANGED
@@ -16,7 +16,7 @@ export declare const tabProps: {
|
|
16
16
|
default: true;
|
17
17
|
};
|
18
18
|
};
|
19
|
-
export
|
19
|
+
export type TabProps = ExtractPropTypes<typeof tabProps>;
|
20
20
|
declare const _default: import("vue").DefineComponent<{
|
21
21
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
22
22
|
url: StringConstructor;
|
package/lib/tabbar/Tabbar.d.ts
CHANGED
@@ -24,8 +24,8 @@ export declare const tabbarProps: {
|
|
24
24
|
default: null;
|
25
25
|
};
|
26
26
|
};
|
27
|
-
export
|
28
|
-
export
|
27
|
+
export type TabbarProps = ExtractPropTypes<typeof tabbarProps>;
|
28
|
+
export type TabbarProvide = {
|
29
29
|
props: TabbarProps;
|
30
30
|
setActive: (active: Numeric, afterChange: () => void) => void;
|
31
31
|
};
|
package/lib/tabbar/types.d.ts
CHANGED
@@ -12,7 +12,7 @@ export declare const tabbarItemProps: {
|
|
12
12
|
badgeProps: PropType<Partial<BadgeProps>>;
|
13
13
|
iconPrefix: StringConstructor;
|
14
14
|
};
|
15
|
-
export
|
15
|
+
export type TabbarItemProps = ExtractPropTypes<typeof tabbarItemProps>;
|
16
16
|
declare const _default: import("vue").DefineComponent<{
|
17
17
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
18
18
|
url: StringConstructor;
|
package/lib/tabs/Tabs.d.ts
CHANGED
@@ -44,7 +44,7 @@ export declare const tabsProps: {
|
|
44
44
|
titleActiveColor: StringConstructor;
|
45
45
|
titleInactiveColor: StringConstructor;
|
46
46
|
};
|
47
|
-
export
|
47
|
+
export type TabsProps = ExtractPropTypes<typeof tabsProps>;
|
48
48
|
export declare const TABS_KEY: InjectionKey<TabsProvide>;
|
49
49
|
declare const _default: import("vue").DefineComponent<{
|
50
50
|
type: {
|