vant 3.4.1 → 3.4.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/es/action-bar/ActionBar.d.ts +6 -5
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.d.ts +6 -5
- package/es/action-bar-button/ActionBarButton.d.ts +11 -21
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-button/index.d.ts +11 -21
- package/es/action-bar-icon/ActionBarIcon.d.ts +16 -84
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +14 -64
- package/es/action-sheet/ActionSheet.d.ts +54 -47
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +54 -47
- package/es/address-edit/AddressEdit.d.ts +48 -48
- package/es/address-edit/AddressEditDetail.d.ts +10 -20
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +48 -48
- package/es/address-list/AddressList.d.ts +18 -18
- package/es/address-list/AddressListItem.d.ts +9 -12
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +18 -18
- package/es/address-list/index.less +1 -1
- package/es/area/Area.d.ts +41 -33
- package/es/area/index.d.ts +41 -33
- package/es/badge/Badge.d.ts +19 -20
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +19 -20
- package/es/button/Button.d.ts +39 -47
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +39 -47
- package/es/calendar/Calendar.d.ts +85 -62
- package/es/calendar/Calendar.js +6 -1
- package/es/calendar/CalendarDay.d.ts +13 -14
- package/es/calendar/CalendarHeader.d.ts +7 -14
- package/es/calendar/CalendarMonth.d.ts +25 -32
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +85 -62
- package/es/card/Card.d.ts +16 -26
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +16 -26
- package/es/cascader/Cascader.d.ts +36 -22
- package/es/cascader/Cascader.js +3 -2
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +32 -22
- package/es/cell/Cell.d.ts +27 -41
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +27 -41
- package/es/cell-group/CellGroup.d.ts +8 -10
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.d.ts +8 -10
- package/es/checkbox/Checkbox.d.ts +17 -21
- package/es/checkbox/Checker.d.ts +24 -29
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +17 -21
- package/es/checkbox-group/CheckboxGroup.d.ts +11 -16
- package/es/checkbox-group/index.css +1 -1
- package/es/checkbox-group/index.d.ts +11 -16
- package/es/circle/Circle.d.ts +35 -28
- package/es/circle/index.css +1 -1
- package/es/circle/index.d.ts +35 -28
- package/es/col/Col.d.ts +11 -10
- package/es/col/index.css +1 -1
- package/es/col/index.d.ts +11 -10
- package/es/collapse/Collapse.d.ts +11 -9
- package/es/collapse/index.d.ts +11 -9
- package/es/collapse-item/CollapseItem.d.ts +31 -41
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +31 -41
- package/es/composables/use-height.js +6 -2
- package/es/config-provider/ConfigProvider.d.ts +8 -10
- package/es/config-provider/index.d.ts +8 -10
- package/es/contact-card/ContactCard.d.ts +13 -14
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.d.ts +13 -14
- package/es/contact-edit/ContactEdit.d.ts +15 -18
- package/es/contact-edit/index.css +1 -1
- package/es/contact-edit/index.d.ts +15 -18
- package/es/contact-list/ContactList.d.ts +6 -11
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.d.ts +6 -11
- package/es/count-down/CountDown.d.ts +15 -11
- package/es/count-down/index.css +1 -1
- package/es/count-down/index.d.ts +15 -11
- package/es/coupon/Coupon.d.ts +12 -11
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.d.ts +12 -11
- package/es/coupon-cell/CouponCell.d.ts +23 -16
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-cell/index.d.ts +23 -16
- package/es/coupon-list/CouponList.d.ts +53 -40
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +53 -40
- package/es/datetime-picker/DatePicker.d.ts +45 -36
- package/es/datetime-picker/TimePicker.d.ts +47 -38
- package/es/dialog/Dialog.d.ts +52 -59
- package/es/dialog/function-call.d.ts +52 -59
- package/es/dialog/index.css +1 -1
- package/es/divider/Divider.d.ts +11 -9
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +11 -9
- package/es/dropdown-item/DropdownItem.d.ts +15 -18
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +15 -18
- package/es/dropdown-menu/DropdownMenu.d.ts +24 -18
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +24 -18
- package/es/empty/Empty.d.ts +8 -10
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +8 -10
- package/es/field/Field.d.ts +80 -90
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +80 -90
- package/es/form/Form.d.ts +24 -30
- package/es/form/index.d.ts +24 -30
- package/es/grid/Grid.d.ts +20 -22
- package/es/grid/index.css +1 -1
- package/es/grid/index.d.ts +20 -22
- package/es/grid-item/GridItem.d.ts +15 -82
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +13 -62
- package/es/icon/Icon.d.ts +16 -79
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +14 -59
- package/es/image/Image.d.ts +32 -32
- package/es/image/Image.js +13 -4
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +30 -32
- package/es/image-preview/ImagePreview.d.ts +54 -42
- package/es/image-preview/ImagePreviewItem.d.ts +21 -18
- package/es/image-preview/ImagePreviewItem.js +12 -4
- package/es/image-preview/function-call.d.ts +54 -42
- package/es/image-preview/index.css +1 -1
- package/es/index-anchor/IndexAnchor.d.ts +3 -5
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.d.ts +3 -5
- package/es/index-bar/IndexBar.d.ts +17 -16
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +17 -16
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/list/List.d.ts +20 -22
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +20 -22
- package/es/loading/Loading.d.ts +11 -16
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +11 -16
- package/es/nav-bar/NavBar.d.ts +14 -22
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +14 -22
- package/es/notice-bar/NoticeBar.d.ts +20 -22
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +20 -22
- package/es/notify/Notify.d.ts +39 -39
- package/es/notify/function-call.d.ts +39 -39
- package/es/notify/index.css +1 -1
- package/es/number-keyboard/NumberKeyboard.d.ts +46 -38
- package/es/number-keyboard/NumberKeyboardKey.d.ts +8 -16
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +46 -38
- package/es/overlay/Overlay.d.ts +24 -16
- package/es/overlay/Overlay.js +2 -1
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +20 -16
- package/es/pagination/Pagination.d.ts +29 -22
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +29 -22
- package/es/password-input/PasswordInput.d.ts +18 -18
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +18 -18
- package/es/picker/Picker.d.ts +38 -33
- package/es/picker/PickerColumn.d.ts +29 -22
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +38 -33
- package/es/popover/Popover.d.ts +48 -36
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +48 -36
- package/es/popup/Popup.d.ts +44 -45
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +44 -45
- package/es/progress/Progress.d.ts +18 -22
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +18 -22
- package/es/pull-refresh/PullRefresh.d.ts +21 -24
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +21 -24
- package/es/radio/Radio.d.ts +13 -20
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +13 -20
- package/es/radio-group/RadioGroup.d.ts +7 -14
- package/es/radio-group/index.css +1 -1
- package/es/radio-group/index.d.ts +7 -14
- package/es/rate/Rate.d.ts +31 -32
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +31 -32
- package/es/row/Row.d.ts +16 -14
- package/es/row/index.css +1 -1
- package/es/row/index.d.ts +16 -14
- package/es/search/Search.d.ts +58 -51
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +58 -51
- package/es/share-sheet/ShareSheet.d.ts +45 -41
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.d.ts +45 -41
- package/es/sidebar/Sidebar.d.ts +6 -5
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.d.ts +6 -5
- package/es/sidebar-item/SidebarItem.d.ts +13 -78
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.d.ts +11 -58
- package/es/skeleton/Skeleton.d.ts +27 -24
- package/es/skeleton/Skeleton.js +1 -1
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +27 -24
- package/es/slider/Slider.d.ts +27 -30
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +27 -30
- 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 +51 -48
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +51 -48
- package/es/steps/Steps.d.ts +19 -20
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +19 -20
- package/es/sticky/Sticky.d.ts +16 -14
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.d.ts +16 -14
- package/es/style/animation.css +1 -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 +28 -32
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +28 -32
- package/es/swipe/Swipe.d.ts +35 -28
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +35 -28
- package/es/swipe-cell/SwipeCell.d.ts +11 -16
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/index.d.ts +11 -16
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.css +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +16 -20
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +16 -20
- package/es/tab/Tab.d.ts +16 -25
- package/es/tab/index.css +1 -1
- package/es/tab/index.d.ts +16 -25
- package/es/tabbar/Tabbar.d.ts +24 -24
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.d.ts +24 -24
- package/es/tabbar-item/TabbarItem.d.ts +14 -80
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +12 -60
- package/es/tabs/Tabs.d.ts +43 -44
- package/es/tabs/TabsContent.d.ts +18 -17
- package/es/tabs/TabsTitle.d.ts +19 -32
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +43 -44
- package/es/tag/Tag.d.ts +17 -22
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +17 -22
- package/es/toast/Toast.d.ts +31 -38
- package/es/toast/index.css +1 -1
- package/es/tree-select/TreeSelect.d.ts +26 -15
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +26 -15
- package/es/uploader/Uploader.d.ts +61 -50
- package/es/uploader/UploaderPreviewItem.d.ts +13 -20
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +61 -50
- package/lib/action-bar/ActionBar.d.ts +6 -5
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.d.ts +6 -5
- package/lib/action-bar-button/ActionBarButton.d.ts +11 -21
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-button/index.d.ts +11 -21
- package/lib/action-bar-icon/ActionBarIcon.d.ts +16 -84
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +14 -64
- package/lib/action-sheet/ActionSheet.d.ts +54 -47
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +54 -47
- package/lib/address-edit/AddressEdit.d.ts +48 -48
- package/lib/address-edit/AddressEditDetail.d.ts +10 -20
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +48 -48
- package/lib/address-list/AddressList.d.ts +18 -18
- package/lib/address-list/AddressListItem.d.ts +9 -12
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +18 -18
- package/lib/address-list/index.less +1 -1
- package/lib/area/Area.d.ts +41 -33
- package/lib/area/index.d.ts +41 -33
- package/lib/badge/Badge.d.ts +19 -20
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +19 -20
- package/lib/button/Button.d.ts +39 -47
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +39 -47
- package/lib/calendar/Calendar.d.ts +85 -62
- package/lib/calendar/Calendar.js +6 -1
- package/lib/calendar/CalendarDay.d.ts +13 -14
- package/lib/calendar/CalendarHeader.d.ts +7 -14
- package/lib/calendar/CalendarMonth.d.ts +25 -32
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +85 -62
- package/lib/card/Card.d.ts +16 -26
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +16 -26
- package/lib/cascader/Cascader.d.ts +36 -22
- package/lib/cascader/Cascader.js +3 -2
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +32 -22
- package/lib/cell/Cell.d.ts +27 -41
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +27 -41
- package/lib/cell-group/CellGroup.d.ts +8 -10
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.d.ts +8 -10
- package/lib/checkbox/Checkbox.d.ts +17 -21
- package/lib/checkbox/Checker.d.ts +24 -29
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +17 -21
- package/lib/checkbox-group/CheckboxGroup.d.ts +11 -16
- package/lib/checkbox-group/index.css +1 -1
- package/lib/checkbox-group/index.d.ts +11 -16
- package/lib/circle/Circle.d.ts +35 -28
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.d.ts +35 -28
- package/lib/col/Col.d.ts +11 -10
- package/lib/col/index.css +1 -1
- package/lib/col/index.d.ts +11 -10
- package/lib/collapse/Collapse.d.ts +11 -9
- package/lib/collapse/index.d.ts +11 -9
- package/lib/collapse-item/CollapseItem.d.ts +31 -41
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +31 -41
- package/lib/composables/use-height.js +6 -2
- package/lib/config-provider/ConfigProvider.d.ts +8 -10
- package/lib/config-provider/index.d.ts +8 -10
- package/lib/contact-card/ContactCard.d.ts +13 -14
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.d.ts +13 -14
- package/lib/contact-edit/ContactEdit.d.ts +15 -18
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-edit/index.d.ts +15 -18
- package/lib/contact-list/ContactList.d.ts +6 -11
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.d.ts +6 -11
- package/lib/count-down/CountDown.d.ts +15 -11
- package/lib/count-down/index.css +1 -1
- package/lib/count-down/index.d.ts +15 -11
- package/lib/coupon/Coupon.d.ts +12 -11
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.d.ts +12 -11
- package/lib/coupon-cell/CouponCell.d.ts +23 -16
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-cell/index.d.ts +23 -16
- package/lib/coupon-list/CouponList.d.ts +53 -40
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +53 -40
- package/lib/datetime-picker/DatePicker.d.ts +45 -36
- package/lib/datetime-picker/TimePicker.d.ts +47 -38
- package/lib/dialog/Dialog.d.ts +52 -59
- package/lib/dialog/function-call.d.ts +52 -59
- package/lib/dialog/index.css +1 -1
- package/lib/divider/Divider.d.ts +11 -9
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +11 -9
- package/lib/dropdown-item/DropdownItem.d.ts +15 -18
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +15 -18
- package/lib/dropdown-menu/DropdownMenu.d.ts +24 -18
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +24 -18
- package/lib/empty/Empty.d.ts +8 -10
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +8 -10
- package/lib/field/Field.d.ts +80 -90
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +80 -90
- package/lib/form/Form.d.ts +24 -30
- package/lib/form/index.d.ts +24 -30
- package/lib/grid/Grid.d.ts +20 -22
- package/lib/grid/index.css +1 -1
- package/lib/grid/index.d.ts +20 -22
- package/lib/grid-item/GridItem.d.ts +15 -82
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +13 -62
- package/lib/icon/Icon.d.ts +16 -79
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +14 -59
- package/lib/image/Image.d.ts +32 -32
- package/lib/image/Image.js +12 -3
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +30 -32
- package/lib/image-preview/ImagePreview.d.ts +54 -42
- package/lib/image-preview/ImagePreviewItem.d.ts +21 -18
- package/lib/image-preview/ImagePreviewItem.js +12 -4
- package/lib/image-preview/function-call.d.ts +54 -42
- package/lib/image-preview/index.css +1 -1
- package/lib/index-anchor/IndexAnchor.d.ts +3 -5
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.d.ts +3 -5
- package/lib/index-bar/IndexBar.d.ts +17 -16
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +17 -16
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/List.d.ts +20 -22
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +20 -22
- package/lib/loading/Loading.d.ts +11 -16
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +11 -16
- package/lib/nav-bar/NavBar.d.ts +14 -22
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +14 -22
- package/lib/notice-bar/NoticeBar.d.ts +20 -22
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +20 -22
- package/lib/notify/Notify.d.ts +39 -39
- package/lib/notify/function-call.d.ts +39 -39
- package/lib/notify/index.css +1 -1
- package/lib/number-keyboard/NumberKeyboard.d.ts +46 -38
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +8 -16
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +46 -38
- package/lib/overlay/Overlay.d.ts +24 -16
- package/lib/overlay/Overlay.js +2 -1
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +20 -16
- package/lib/pagination/Pagination.d.ts +29 -22
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +29 -22
- package/lib/password-input/PasswordInput.d.ts +18 -18
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +18 -18
- package/lib/picker/Picker.d.ts +38 -33
- package/lib/picker/PickerColumn.d.ts +29 -22
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +38 -33
- package/lib/popover/Popover.d.ts +48 -36
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +48 -36
- package/lib/popup/Popup.d.ts +44 -45
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +44 -45
- package/lib/progress/Progress.d.ts +18 -22
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +18 -22
- package/lib/pull-refresh/PullRefresh.d.ts +21 -24
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +21 -24
- package/lib/radio/Radio.d.ts +13 -20
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +13 -20
- package/lib/radio-group/RadioGroup.d.ts +7 -14
- package/lib/radio-group/index.css +1 -1
- package/lib/radio-group/index.d.ts +7 -14
- package/lib/rate/Rate.d.ts +31 -32
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +31 -32
- package/lib/row/Row.d.ts +16 -14
- package/lib/row/index.css +1 -1
- package/lib/row/index.d.ts +16 -14
- package/lib/search/Search.d.ts +58 -51
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +58 -51
- package/lib/share-sheet/ShareSheet.d.ts +45 -41
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.d.ts +45 -41
- package/lib/sidebar/Sidebar.d.ts +6 -5
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.d.ts +6 -5
- package/lib/sidebar-item/SidebarItem.d.ts +13 -78
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.d.ts +11 -58
- package/lib/skeleton/Skeleton.d.ts +27 -24
- package/lib/skeleton/Skeleton.js +1 -1
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +27 -24
- package/lib/slider/Slider.d.ts +27 -30
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +27 -30
- 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/stepper/Stepper.d.ts +51 -48
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +51 -48
- package/lib/steps/Steps.d.ts +19 -20
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +19 -20
- package/lib/sticky/Sticky.d.ts +16 -14
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.d.ts +16 -14
- package/lib/style/animation.css +1 -1
- 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 +28 -32
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +28 -32
- package/lib/swipe/Swipe.d.ts +35 -28
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +35 -28
- package/lib/swipe-cell/SwipeCell.d.ts +11 -16
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.d.ts +11 -16
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.css +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +16 -20
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +16 -20
- package/lib/tab/Tab.d.ts +16 -25
- package/lib/tab/index.css +1 -1
- package/lib/tab/index.d.ts +16 -25
- package/lib/tabbar/Tabbar.d.ts +24 -24
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.d.ts +24 -24
- package/lib/tabbar-item/TabbarItem.d.ts +14 -80
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +12 -60
- package/lib/tabs/Tabs.d.ts +43 -44
- package/lib/tabs/TabsContent.d.ts +18 -17
- package/lib/tabs/TabsTitle.d.ts +19 -32
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +43 -44
- package/lib/tag/Tag.d.ts +17 -22
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +17 -22
- package/lib/toast/Toast.d.ts +31 -38
- package/lib/toast/index.css +1 -1
- package/lib/tree-select/TreeSelect.d.ts +26 -15
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +26 -15
- package/lib/uploader/Uploader.d.ts +61 -50
- package/lib/uploader/UploaderPreviewItem.d.ts +13 -20
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +61 -50
- package/lib/vant.cjs.js +43 -15
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +43 -15
- package/lib/vant.es.min.js +43 -15
- package/lib/vant.js +43 -15
- package/lib/vant.min.js +1 -1
- package/package.json +3 -3
- package/vetur/attributes.json +939 -939
- package/vetur/tags.json +31 -31
- package/vetur/web-types.json +1511 -1511
package/lib/swipe/index.d.ts
CHANGED
@@ -33,34 +33,41 @@ export declare const Swipe: import("../utils").WithInstall<import("vue").DefineC
|
|
33
33
|
type: BooleanConstructor;
|
34
34
|
default: true;
|
35
35
|
};
|
36
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
37
|
-
loop
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
36
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
37
|
+
loop: {
|
38
|
+
type: BooleanConstructor;
|
39
|
+
default: true;
|
40
|
+
};
|
41
|
+
width: (NumberConstructor | StringConstructor)[];
|
42
|
+
height: (NumberConstructor | StringConstructor)[];
|
43
|
+
vertical: BooleanConstructor;
|
44
|
+
autoplay: {
|
45
|
+
type: (NumberConstructor | StringConstructor)[];
|
46
|
+
default: number;
|
47
|
+
};
|
48
|
+
duration: {
|
49
|
+
type: (NumberConstructor | StringConstructor)[];
|
50
|
+
default: number;
|
51
|
+
};
|
52
|
+
touchable: {
|
53
|
+
type: BooleanConstructor;
|
54
|
+
default: true;
|
55
|
+
};
|
56
|
+
lazyRender: BooleanConstructor;
|
57
|
+
initialSwipe: {
|
58
|
+
type: (NumberConstructor | StringConstructor)[];
|
59
|
+
default: number;
|
60
|
+
};
|
61
|
+
indicatorColor: StringConstructor;
|
62
|
+
showIndicators: {
|
63
|
+
type: BooleanConstructor;
|
64
|
+
default: true;
|
65
|
+
};
|
66
|
+
stopPropagation: {
|
67
|
+
type: BooleanConstructor;
|
68
|
+
default: true;
|
69
|
+
};
|
70
|
+
}>> & {
|
64
71
|
onChange?: ((...args: any[]) => any) | undefined;
|
65
72
|
}, {
|
66
73
|
autoplay: string | number;
|
@@ -22,22 +22,17 @@ 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, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
26
|
-
name
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
} & {
|
37
|
-
beforeClose?: Interceptor | undefined;
|
38
|
-
leftWidth?: string | number | undefined;
|
39
|
-
rightWidth?: string | number | undefined;
|
40
|
-
}> & {
|
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
|
+
name: {
|
27
|
+
type: (NumberConstructor | StringConstructor)[];
|
28
|
+
default: string;
|
29
|
+
};
|
30
|
+
disabled: BooleanConstructor;
|
31
|
+
leftWidth: (NumberConstructor | StringConstructor)[];
|
32
|
+
rightWidth: (NumberConstructor | StringConstructor)[];
|
33
|
+
beforeClose: PropType<Interceptor>;
|
34
|
+
stopPropagation: BooleanConstructor;
|
35
|
+
}>> & {
|
41
36
|
onClick?: ((...args: any[]) => any) | undefined;
|
42
37
|
onOpen?: ((...args: any[]) => any) | undefined;
|
43
38
|
onClose?: ((...args: any[]) => any) | undefined;
|
package/lib/swipe-cell/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.van-swipe-cell{position:relative;overflow:hidden;cursor:-webkit-grab;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(
|
1
|
+
.van-swipe-cell{position:relative;overflow:hidden;cursor:-webkit-grab;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-property:transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;transform:translate(-100%)}.van-swipe-cell__right{right:0;transform:translate(100%)}
|
@@ -9,22 +9,17 @@ 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, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
13
|
-
name
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
} & {
|
24
|
-
beforeClose?: import("../utils").Interceptor | undefined;
|
25
|
-
leftWidth?: string | number | undefined;
|
26
|
-
rightWidth?: string | number | undefined;
|
27
|
-
}> & {
|
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
|
+
name: {
|
14
|
+
type: (NumberConstructor | StringConstructor)[];
|
15
|
+
default: string;
|
16
|
+
};
|
17
|
+
disabled: BooleanConstructor;
|
18
|
+
leftWidth: (NumberConstructor | StringConstructor)[];
|
19
|
+
rightWidth: (NumberConstructor | StringConstructor)[];
|
20
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
21
|
+
stopPropagation: BooleanConstructor;
|
22
|
+
}>> & {
|
28
23
|
onClick?: ((...args: any[]) => any) | undefined;
|
29
24
|
onOpen?: ((...args: any[]) => any) | undefined;
|
30
25
|
onClose?: ((...args: any[]) => any) | undefined;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{}
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
2
|
export default _default;
|
package/lib/swipe-item/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}
|
1
|
+
.van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SwipeItem: import("../utils").WithInstall<import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{}
|
1
|
+
export declare const SwipeItem: import("../utils").WithInstall<import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
2
2
|
export default SwipeItem;
|
3
3
|
declare module 'vue' {
|
4
4
|
interface GlobalComponents {
|
package/lib/switch/Switch.d.ts
CHANGED
@@ -31,26 +31,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
31
31
|
type: import("vue").PropType<unknown>;
|
32
32
|
default: unknown;
|
33
33
|
};
|
34
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
35
|
-
size
|
36
|
-
loading
|
37
|
-
disabled
|
38
|
-
modelValue
|
39
|
-
activeColor
|
40
|
-
inactiveColor
|
41
|
-
activeValue
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
}
|
49
|
-
|
50
|
-
modelValue?: unknown;
|
51
|
-
activeColor?: string | undefined;
|
52
|
-
inactiveColor?: string | undefined;
|
53
|
-
}> & {
|
34
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
35
|
+
size: (NumberConstructor | StringConstructor)[];
|
36
|
+
loading: BooleanConstructor;
|
37
|
+
disabled: BooleanConstructor;
|
38
|
+
modelValue: import("vue").PropType<unknown>;
|
39
|
+
activeColor: StringConstructor;
|
40
|
+
inactiveColor: StringConstructor;
|
41
|
+
activeValue: {
|
42
|
+
type: import("vue").PropType<unknown>;
|
43
|
+
default: unknown;
|
44
|
+
};
|
45
|
+
inactiveValue: {
|
46
|
+
type: import("vue").PropType<unknown>;
|
47
|
+
default: unknown;
|
48
|
+
};
|
49
|
+
}>> & {
|
54
50
|
onChange?: ((...args: any[]) => any) | undefined;
|
55
51
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
56
52
|
}, {
|
package/lib/switch/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-switch-size:30px;--van-switch-width:2em;--van-switch-height:1em;--van-switch-node-size:1em;--van-switch-node-background-color:var(--van-white);--van-switch-node-box-shadow:0 3px 1px 0 rgba(0, 0, 0,
|
1
|
+
:root{--van-switch-size: 30px;--van-switch-width: 2em;--van-switch-height: 1em;--van-switch-node-size: 1em;--van-switch-node-background-color: var(--van-white);--van-switch-node-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, .05), 0 2px 2px 0 rgba(0, 0, 0, .1), 0 3px 3px 0 rgba(0, 0, 0, .05);--van-switch-background-color: var(--van-background-color-light);--van-switch-on-background-color: var(--van-primary-color);--van-switch-transition-duration: var(--van-animation-duration-base);--van-switch-disabled-opacity: var(--van-disabled-opacity);--van-switch-border: var(--van-border-width-base) solid rgba(0, 0, 0, .1)}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:var(--van-switch-width);height:var(--van-switch-height);font-size:var(--van-switch-size);background:var(--van-switch-background-color);border:var(--van-switch-border);border-radius:var(--van-switch-node-size);cursor:pointer;transition:background-color var(--van-switch-transition-duration)}.van-switch__node{position:absolute;top:0;left:0;width:var(--van-switch-node-size);height:var(--van-switch-node-size);font-size:inherit;background:var(--van-switch-node-background-color);border-radius:100%;box-shadow:var(--van-switch-node-box-shadow);transition:transform var(--van-switch-transition-duration) cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background:var(--van-switch-on-background-color)}.van-switch--on .van-switch__node{transform:translate(calc(var(--van-switch-width) - var(--van-switch-node-size)))}.van-switch--on .van-switch__loading{color:var(--van-switch-on-background-color)}.van-switch--disabled{cursor:not-allowed;opacity:var(--van-switch-disabled-opacity)}.van-switch--loading{cursor:default}
|
package/lib/switch/index.d.ts
CHANGED
@@ -13,26 +13,22 @@ export declare const Switch: import("../utils").WithInstall<import("vue").Define
|
|
13
13
|
type: import("vue").PropType<unknown>;
|
14
14
|
default: unknown;
|
15
15
|
};
|
16
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
17
|
-
size
|
18
|
-
loading
|
19
|
-
disabled
|
20
|
-
modelValue
|
21
|
-
activeColor
|
22
|
-
inactiveColor
|
23
|
-
activeValue
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
}
|
31
|
-
|
32
|
-
modelValue?: unknown;
|
33
|
-
activeColor?: string | undefined;
|
34
|
-
inactiveColor?: string | undefined;
|
35
|
-
}> & {
|
16
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
17
|
+
size: (NumberConstructor | StringConstructor)[];
|
18
|
+
loading: BooleanConstructor;
|
19
|
+
disabled: BooleanConstructor;
|
20
|
+
modelValue: import("vue").PropType<unknown>;
|
21
|
+
activeColor: StringConstructor;
|
22
|
+
inactiveColor: StringConstructor;
|
23
|
+
activeValue: {
|
24
|
+
type: import("vue").PropType<unknown>;
|
25
|
+
default: unknown;
|
26
|
+
};
|
27
|
+
inactiveValue: {
|
28
|
+
type: import("vue").PropType<unknown>;
|
29
|
+
default: unknown;
|
30
|
+
};
|
31
|
+
}>> & {
|
36
32
|
onChange?: ((...args: any[]) => any) | undefined;
|
37
33
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
38
34
|
}, {
|
package/lib/tab/Tab.d.ts
CHANGED
@@ -33,32 +33,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
33
33
|
type: BooleanConstructor;
|
34
34
|
default: true;
|
35
35
|
};
|
36
|
-
}, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
37
|
-
to
|
38
|
-
url
|
39
|
-
replace
|
40
|
-
dot?: unknown;
|
41
|
-
name?: unknown;
|
42
|
-
badge?: unknown;
|
43
|
-
title?: unknown;
|
44
|
-
disabled?: unknown;
|
45
|
-
titleClass?: unknown;
|
46
|
-
titleStyle?: unknown;
|
47
|
-
showZeroBadge?: unknown;
|
48
|
-
} & {
|
49
|
-
replace: boolean;
|
50
|
-
dot: boolean;
|
51
|
-
disabled: boolean;
|
52
|
-
showZeroBadge: boolean;
|
36
|
+
}, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
37
|
+
to: PropType<import("vue-router").RouteLocationRaw>;
|
38
|
+
url: StringConstructor;
|
39
|
+
replace: BooleanConstructor;
|
53
40
|
} & {
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
titleClass
|
60
|
-
titleStyle
|
61
|
-
|
41
|
+
dot: BooleanConstructor;
|
42
|
+
name: (NumberConstructor | StringConstructor)[];
|
43
|
+
badge: (NumberConstructor | StringConstructor)[];
|
44
|
+
title: StringConstructor;
|
45
|
+
disabled: BooleanConstructor;
|
46
|
+
titleClass: PropType<unknown>;
|
47
|
+
titleStyle: PropType<string | CSSProperties>;
|
48
|
+
showZeroBadge: {
|
49
|
+
type: BooleanConstructor;
|
50
|
+
default: true;
|
51
|
+
};
|
52
|
+
}>>, {
|
62
53
|
replace: boolean;
|
63
54
|
dot: boolean;
|
64
55
|
disabled: boolean;
|
package/lib/tab/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}
|
1
|
+
.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}
|
package/lib/tab/index.d.ts
CHANGED
@@ -14,32 +14,23 @@ export declare const Tab: import("../utils").WithInstall<import("vue").DefineCom
|
|
14
14
|
type: BooleanConstructor;
|
15
15
|
default: true;
|
16
16
|
};
|
17
|
-
}, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
18
|
-
to
|
19
|
-
url
|
20
|
-
replace
|
21
|
-
dot?: unknown;
|
22
|
-
name?: unknown;
|
23
|
-
badge?: unknown;
|
24
|
-
title?: unknown;
|
25
|
-
disabled?: unknown;
|
26
|
-
titleClass?: unknown;
|
27
|
-
titleStyle?: unknown;
|
28
|
-
showZeroBadge?: unknown;
|
29
|
-
} & {
|
30
|
-
replace: boolean;
|
31
|
-
dot: boolean;
|
32
|
-
disabled: boolean;
|
33
|
-
showZeroBadge: boolean;
|
17
|
+
}, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
18
|
+
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
19
|
+
url: StringConstructor;
|
20
|
+
replace: BooleanConstructor;
|
34
21
|
} & {
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
titleClass
|
41
|
-
titleStyle
|
42
|
-
|
22
|
+
dot: BooleanConstructor;
|
23
|
+
name: (NumberConstructor | StringConstructor)[];
|
24
|
+
badge: (NumberConstructor | StringConstructor)[];
|
25
|
+
title: StringConstructor;
|
26
|
+
disabled: BooleanConstructor;
|
27
|
+
titleClass: import("vue").PropType<unknown>;
|
28
|
+
titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
29
|
+
showZeroBadge: {
|
30
|
+
type: BooleanConstructor;
|
31
|
+
default: true;
|
32
|
+
};
|
33
|
+
}>>, {
|
43
34
|
replace: boolean;
|
44
35
|
dot: boolean;
|
45
36
|
disabled: boolean;
|
package/lib/tabbar/Tabbar.d.ts
CHANGED
@@ -53,30 +53,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
53
53
|
type: PropType<boolean | null>;
|
54
54
|
default: null;
|
55
55
|
};
|
56
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
57
|
-
route
|
58
|
-
fixed
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
}
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}
|
56
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
57
|
+
route: BooleanConstructor;
|
58
|
+
fixed: {
|
59
|
+
type: BooleanConstructor;
|
60
|
+
default: true;
|
61
|
+
};
|
62
|
+
border: {
|
63
|
+
type: BooleanConstructor;
|
64
|
+
default: true;
|
65
|
+
};
|
66
|
+
zIndex: (NumberConstructor | StringConstructor)[];
|
67
|
+
placeholder: BooleanConstructor;
|
68
|
+
activeColor: StringConstructor;
|
69
|
+
beforeChange: PropType<Interceptor>;
|
70
|
+
inactiveColor: StringConstructor;
|
71
|
+
modelValue: {
|
72
|
+
type: (NumberConstructor | StringConstructor)[];
|
73
|
+
default: number;
|
74
|
+
};
|
75
|
+
safeAreaInsetBottom: {
|
76
|
+
type: PropType<boolean | null>;
|
77
|
+
default: null;
|
78
|
+
};
|
79
|
+
}>> & {
|
80
80
|
onChange?: ((...args: any[]) => any) | undefined;
|
81
81
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
82
82
|
}, {
|
package/lib/tabbar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-tabbar-height:50px;--van-tabbar-z-index:1;--van-tabbar-background-color:var(--van-background-color-light)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background-color)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}
|
1
|
+
:root{--van-tabbar-height: 50px;--van-tabbar-z-index: 1;--van-tabbar-background-color: var(--van-background-color-light)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background-color)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}
|
package/lib/tabbar/index.d.ts
CHANGED
@@ -21,30 +21,30 @@ export declare const Tabbar: import("../utils").WithInstall<import("vue").Define
|
|
21
21
|
type: import("vue").PropType<boolean | null>;
|
22
22
|
default: null;
|
23
23
|
};
|
24
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
25
|
-
route
|
26
|
-
fixed
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
}
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
}
|
24
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
25
|
+
route: BooleanConstructor;
|
26
|
+
fixed: {
|
27
|
+
type: BooleanConstructor;
|
28
|
+
default: true;
|
29
|
+
};
|
30
|
+
border: {
|
31
|
+
type: BooleanConstructor;
|
32
|
+
default: true;
|
33
|
+
};
|
34
|
+
zIndex: (NumberConstructor | StringConstructor)[];
|
35
|
+
placeholder: BooleanConstructor;
|
36
|
+
activeColor: StringConstructor;
|
37
|
+
beforeChange: import("vue").PropType<import("../utils").Interceptor>;
|
38
|
+
inactiveColor: StringConstructor;
|
39
|
+
modelValue: {
|
40
|
+
type: (NumberConstructor | StringConstructor)[];
|
41
|
+
default: number;
|
42
|
+
};
|
43
|
+
safeAreaInsetBottom: {
|
44
|
+
type: import("vue").PropType<boolean | null>;
|
45
|
+
default: null;
|
46
|
+
};
|
47
|
+
}>> & {
|
48
48
|
onChange?: ((...args: any[]) => any) | undefined;
|
49
49
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
50
50
|
}, {
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
|
+
import { type BadgeProps } from '../badge';
|
2
3
|
declare const tabbarItemProps: {
|
3
4
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
4
5
|
url: StringConstructor;
|
@@ -8,26 +9,7 @@ declare const tabbarItemProps: {
|
|
8
9
|
icon: StringConstructor;
|
9
10
|
name: (NumberConstructor | StringConstructor)[];
|
10
11
|
badge: (NumberConstructor | StringConstructor)[];
|
11
|
-
badgeProps: PropType<Partial<
|
12
|
-
dot?: unknown;
|
13
|
-
max?: unknown;
|
14
|
-
tag?: unknown;
|
15
|
-
color?: unknown;
|
16
|
-
offset?: unknown;
|
17
|
-
content?: unknown;
|
18
|
-
showZero?: unknown;
|
19
|
-
position?: unknown;
|
20
|
-
} & {
|
21
|
-
dot: boolean;
|
22
|
-
tag: keyof HTMLElementTagNameMap;
|
23
|
-
showZero: boolean;
|
24
|
-
position: import("../badge").BadgePosition;
|
25
|
-
} & {
|
26
|
-
color?: string | undefined;
|
27
|
-
max?: string | number | undefined;
|
28
|
-
offset?: [string | number, string | number] | undefined;
|
29
|
-
content?: string | number | undefined;
|
30
|
-
}>>;
|
12
|
+
badgeProps: PropType<Partial<BadgeProps>>;
|
31
13
|
iconPrefix: StringConstructor;
|
32
14
|
};
|
33
15
|
export declare type TabbarItemProps = ExtractPropTypes<typeof tabbarItemProps>;
|
@@ -40,68 +22,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
40
22
|
icon: StringConstructor;
|
41
23
|
name: (NumberConstructor | StringConstructor)[];
|
42
24
|
badge: (NumberConstructor | StringConstructor)[];
|
43
|
-
badgeProps: PropType<Partial<
|
44
|
-
dot?: unknown;
|
45
|
-
max?: unknown;
|
46
|
-
tag?: unknown;
|
47
|
-
color?: unknown;
|
48
|
-
offset?: unknown;
|
49
|
-
content?: unknown;
|
50
|
-
showZero?: unknown;
|
51
|
-
position?: unknown;
|
52
|
-
} & {
|
53
|
-
dot: boolean;
|
54
|
-
tag: keyof HTMLElementTagNameMap;
|
55
|
-
showZero: boolean;
|
56
|
-
position: import("../badge").BadgePosition;
|
57
|
-
} & {
|
58
|
-
color?: string | undefined;
|
59
|
-
max?: string | number | undefined;
|
60
|
-
offset?: [string | number, string | number] | undefined;
|
61
|
-
content?: string | number | undefined;
|
62
|
-
}>>;
|
25
|
+
badgeProps: PropType<Partial<BadgeProps>>;
|
63
26
|
iconPrefix: StringConstructor;
|
64
|
-
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
65
|
-
to
|
66
|
-
url
|
67
|
-
replace
|
68
|
-
dot?: unknown;
|
69
|
-
icon?: unknown;
|
70
|
-
name?: unknown;
|
71
|
-
badge?: unknown;
|
72
|
-
badgeProps?: unknown;
|
73
|
-
iconPrefix?: unknown;
|
74
|
-
} & {
|
75
|
-
replace: boolean;
|
76
|
-
dot: boolean;
|
27
|
+
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
28
|
+
to: PropType<import("vue-router").RouteLocationRaw>;
|
29
|
+
url: StringConstructor;
|
30
|
+
replace: BooleanConstructor;
|
77
31
|
} & {
|
78
|
-
|
79
|
-
|
80
|
-
name
|
81
|
-
badge
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
dot?: unknown;
|
86
|
-
max?: unknown;
|
87
|
-
tag?: unknown;
|
88
|
-
color?: unknown;
|
89
|
-
offset?: unknown;
|
90
|
-
content?: unknown;
|
91
|
-
showZero?: unknown;
|
92
|
-
position?: unknown;
|
93
|
-
} & {
|
94
|
-
dot: boolean;
|
95
|
-
tag: keyof HTMLElementTagNameMap;
|
96
|
-
showZero: boolean;
|
97
|
-
position: import("../badge").BadgePosition;
|
98
|
-
} & {
|
99
|
-
color?: string | undefined;
|
100
|
-
max?: string | number | undefined;
|
101
|
-
offset?: [string | number, string | number] | undefined;
|
102
|
-
content?: string | number | undefined;
|
103
|
-
}> | undefined;
|
104
|
-
}> & {
|
32
|
+
dot: BooleanConstructor;
|
33
|
+
icon: StringConstructor;
|
34
|
+
name: (NumberConstructor | StringConstructor)[];
|
35
|
+
badge: (NumberConstructor | StringConstructor)[];
|
36
|
+
badgeProps: PropType<Partial<BadgeProps>>;
|
37
|
+
iconPrefix: StringConstructor;
|
38
|
+
}>> & {
|
105
39
|
onClick?: ((...args: any[]) => any) | undefined;
|
106
40
|
}, {
|
107
41
|
replace: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
:root{--van-tabbar-item-font-size:var(--van-font-size-sm);--van-tabbar-item-text-color:var(--van-gray-7);--van-tabbar-item-active-color:var(--van-primary-color);--van-tabbar-item-active-background-color:var(--van-background-color-light);--van-tabbar-item-line-height:1;--van-tabbar-item-icon-size:22px;--van-tabbar-item-icon-margin-bottom:var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background-color)}
|
1
|
+
:root{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-gray-7);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background-color: var(--van-background-color-light);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: 22px;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background-color)}
|