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
@@ -1 +1 @@
|
|
1
|
-
:root{--van-password-input-height:50px;--van-password-input-margin:0 var(--van-padding-md);--van-password-input-font-size:20px;--van-password-input-border-radius:6px;--van-password-input-background-color:var(--van-background-color-light);--van-password-input-info-color:var(--van-text-color-2);--van-password-input-info-font-size:var(--van-font-size-md);--van-password-input-error-info-color:var(--van-danger-color);--van-password-input-dot-size:10px;--van-password-input-dot-color:var(--van-text-color);--van-password-input-text-color:var(--van-text-color);--van-password-input-cursor-color:var(--van-text-color);--van-password-input-cursor-width:1px;--van-password-input-cursor-height:40%;--van-password-input-cursor-animation-duration:1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;user-select:none}.van-password-
|
1
|
+
:root{--van-password-input-height: 50px;--van-password-input-margin: 0 var(--van-padding-md);--van-password-input-font-size: 20px;--van-password-input-border-radius: 6px;--van-password-input-background-color: var(--van-background-color-light);--van-password-input-info-color: var(--van-text-color-2);--van-password-input-info-font-size: var(--van-font-size-md);--van-password-input-error-info-color: var(--van-danger-color);--van-password-input-dot-size: 10px;--van-password-input-dot-color: var(--van-text-color);--van-password-input-text-color: var(--van-text-color);--van-password-input-cursor-color: var(--van-text-color);--van-password-input-cursor-width: 1px;--van-password-input-cursor-height: 40%;--van-password-input-cursor-animation-duration: 1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;user-select:none}.van-password-input__info,.van-password-input__error-info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security:after{border-radius:var(--van-password-input-border-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--van-password-input-text-color);font-size:var(--van-password-input-font-size);line-height:1.2;background:var(--van-password-input-background-color)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-animation-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}
|
@@ -15,24 +15,24 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
|
|
15
15
|
};
|
16
16
|
focused: BooleanConstructor;
|
17
17
|
errorInfo: StringConstructor;
|
18
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
19
|
-
info
|
20
|
-
mask
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
errorInfo
|
35
|
-
}
|
18
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
19
|
+
info: StringConstructor;
|
20
|
+
mask: {
|
21
|
+
type: BooleanConstructor;
|
22
|
+
default: true;
|
23
|
+
};
|
24
|
+
value: {
|
25
|
+
type: import("vue").PropType<string>;
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
gutter: (NumberConstructor | StringConstructor)[];
|
29
|
+
length: {
|
30
|
+
type: (NumberConstructor | StringConstructor)[];
|
31
|
+
default: number;
|
32
|
+
};
|
33
|
+
focused: BooleanConstructor;
|
34
|
+
errorInfo: StringConstructor;
|
35
|
+
}>> & {
|
36
36
|
onFocus?: ((...args: any[]) => any) | undefined;
|
37
37
|
}, {
|
38
38
|
length: string | number;
|
package/es/picker/Picker.d.ts
CHANGED
@@ -102,40 +102,45 @@ declare const _default: import("vue").DefineComponent<{
|
|
102
102
|
default: PickerToolbarPosition;
|
103
103
|
};
|
104
104
|
columnsFieldNames: PropType<PickerFieldNames>;
|
105
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "cancel" | "confirm")[], "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
106
|
-
title
|
107
|
-
loading
|
108
|
-
readonly
|
109
|
-
allowHtml
|
110
|
-
itemHeight
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
}
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
swipeDuration: string | number;
|
129
|
-
visibleItemCount: string | number;
|
130
|
-
columns: (PickerOption | PickerColumn)[];
|
131
|
-
toolbarPosition: PickerToolbarPosition;
|
105
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "cancel" | "confirm")[], "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
106
|
+
title: StringConstructor;
|
107
|
+
loading: BooleanConstructor;
|
108
|
+
readonly: BooleanConstructor;
|
109
|
+
allowHtml: BooleanConstructor;
|
110
|
+
itemHeight: {
|
111
|
+
type: (NumberConstructor | StringConstructor)[];
|
112
|
+
default: number;
|
113
|
+
};
|
114
|
+
showToolbar: {
|
115
|
+
type: BooleanConstructor;
|
116
|
+
default: true;
|
117
|
+
};
|
118
|
+
swipeDuration: {
|
119
|
+
type: (NumberConstructor | StringConstructor)[];
|
120
|
+
default: number;
|
121
|
+
};
|
122
|
+
visibleItemCount: {
|
123
|
+
type: (NumberConstructor | StringConstructor)[];
|
124
|
+
default: number;
|
125
|
+
};
|
126
|
+
cancelButtonText: StringConstructor;
|
127
|
+
confirmButtonText: StringConstructor;
|
132
128
|
} & {
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
129
|
+
columns: {
|
130
|
+
type: PropType<(PickerOption | PickerColumn)[]>;
|
131
|
+
default: () => never[];
|
132
|
+
};
|
133
|
+
valueKey: StringConstructor;
|
134
|
+
defaultIndex: {
|
135
|
+
type: (NumberConstructor | StringConstructor)[];
|
136
|
+
default: number;
|
137
|
+
};
|
138
|
+
toolbarPosition: {
|
139
|
+
type: PropType<PickerToolbarPosition>;
|
140
|
+
default: PickerToolbarPosition;
|
141
|
+
};
|
142
|
+
columnsFieldNames: PropType<PickerFieldNames>;
|
143
|
+
}>> & {
|
139
144
|
onChange?: ((...args: any[]) => any) | undefined;
|
140
145
|
onCancel?: ((...args: any[]) => any) | undefined;
|
141
146
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
@@ -29,28 +29,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
29
29
|
type: (NumberConstructor | StringConstructor)[];
|
30
30
|
required: true;
|
31
31
|
};
|
32
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
33
|
-
textKey
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
defaultIndex:
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
}
|
52
|
-
|
53
|
-
|
32
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
33
|
+
textKey: {
|
34
|
+
type: StringConstructor;
|
35
|
+
required: true;
|
36
|
+
};
|
37
|
+
readonly: BooleanConstructor;
|
38
|
+
allowHtml: BooleanConstructor;
|
39
|
+
className: import("vue").PropType<unknown>;
|
40
|
+
itemHeight: {
|
41
|
+
type: NumberConstructor;
|
42
|
+
required: true;
|
43
|
+
};
|
44
|
+
defaultIndex: {
|
45
|
+
type: NumberConstructor;
|
46
|
+
default: number;
|
47
|
+
};
|
48
|
+
swipeDuration: {
|
49
|
+
type: (NumberConstructor | StringConstructor)[];
|
50
|
+
required: true;
|
51
|
+
};
|
52
|
+
initialOptions: {
|
53
|
+
type: import("vue").PropType<PickerOption[]>;
|
54
|
+
default: () => never[];
|
55
|
+
};
|
56
|
+
visibleItemCount: {
|
57
|
+
type: (NumberConstructor | StringConstructor)[];
|
58
|
+
required: true;
|
59
|
+
};
|
60
|
+
}>> & {
|
54
61
|
onChange?: ((...args: any[]) => any) | undefined;
|
55
62
|
}, {
|
56
63
|
readonly: boolean;
|
package/es/picker/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-picker-background-color:var(--van-background-color-light);--van-picker-toolbar-height:44px;--van-picker-title-font-size:var(--van-font-size-lg);--van-picker-title-line-height:var(--van-line-height-md);--van-picker-action-padding:0 var(--van-padding-md);--van-picker-action-font-size:var(--van-font-size-md);--van-picker-confirm-action-color:var(--van-text-link-color);--van-picker-cancel-action-color:var(--van-text-color-2);--van-picker-option-font-size:var(--van-font-size-lg);--van-picker-option-padding:0 var(--van-padding-base);--van-picker-option-text-color:var(--van-text-color);--van-picker-option-disabled-opacity:
|
1
|
+
:root{--van-picker-background-color: var(--van-background-color-light);--van-picker-toolbar-height: 44px;--van-picker-title-font-size: var(--van-font-size-lg);--van-picker-title-line-height: var(--van-line-height-md);--van-picker-action-padding: 0 var(--van-padding-md);--van-picker-action-font-size: var(--van-font-size-md);--van-picker-confirm-action-color: var(--van-text-link-color);--van-picker-cancel-action-color: var(--van-text-color-2);--van-picker-option-font-size: var(--van-font-size-lg);--van-picker-option-padding: 0 var(--van-padding-base);--van-picker-option-text-color: var(--van-text-color);--van-picker-option-disabled-opacity: .3;--van-picker-loading-icon-color: var(--van-primary-color);--van-picker-loading-mask-color: rgba(255, 255, 255, .9);--van-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.van-picker{position:relative;background:var(--van-picker-background-color);-webkit-user-select:none;user-select:none}.van-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none;cursor:pointer}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{max-width:50%;font-weight:var(--van-font-weight-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center}.van-picker__columns{position:relative;display:flex;cursor:-webkit-grab;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--van-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}
|
package/es/picker/index.d.ts
CHANGED
@@ -37,40 +37,45 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
37
37
|
default: import("./types").PickerToolbarPosition;
|
38
38
|
};
|
39
39
|
columnsFieldNames: import("vue").PropType<import("./types").PickerFieldNames>;
|
40
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "cancel" | "confirm")[], "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
41
|
-
title
|
42
|
-
loading
|
43
|
-
readonly
|
44
|
-
allowHtml
|
45
|
-
itemHeight
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
}
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
swipeDuration: string | number;
|
64
|
-
visibleItemCount: string | number;
|
65
|
-
columns: (import("./types").PickerOption | import("./types").PickerColumn)[];
|
66
|
-
toolbarPosition: import("./types").PickerToolbarPosition;
|
40
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "cancel" | "confirm")[], "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
41
|
+
title: StringConstructor;
|
42
|
+
loading: BooleanConstructor;
|
43
|
+
readonly: BooleanConstructor;
|
44
|
+
allowHtml: BooleanConstructor;
|
45
|
+
itemHeight: {
|
46
|
+
type: (NumberConstructor | StringConstructor)[];
|
47
|
+
default: number;
|
48
|
+
};
|
49
|
+
showToolbar: {
|
50
|
+
type: BooleanConstructor;
|
51
|
+
default: true;
|
52
|
+
};
|
53
|
+
swipeDuration: {
|
54
|
+
type: (NumberConstructor | StringConstructor)[];
|
55
|
+
default: number;
|
56
|
+
};
|
57
|
+
visibleItemCount: {
|
58
|
+
type: (NumberConstructor | StringConstructor)[];
|
59
|
+
default: number;
|
60
|
+
};
|
61
|
+
cancelButtonText: StringConstructor;
|
62
|
+
confirmButtonText: StringConstructor;
|
67
63
|
} & {
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
64
|
+
columns: {
|
65
|
+
type: import("vue").PropType<(import("./types").PickerOption | import("./types").PickerColumn)[]>;
|
66
|
+
default: () => never[];
|
67
|
+
};
|
68
|
+
valueKey: StringConstructor;
|
69
|
+
defaultIndex: {
|
70
|
+
type: (NumberConstructor | StringConstructor)[];
|
71
|
+
default: number;
|
72
|
+
};
|
73
|
+
toolbarPosition: {
|
74
|
+
type: import("vue").PropType<import("./types").PickerToolbarPosition>;
|
75
|
+
default: import("./types").PickerToolbarPosition;
|
76
|
+
};
|
77
|
+
columnsFieldNames: import("vue").PropType<import("./types").PickerFieldNames>;
|
78
|
+
}>> & {
|
74
79
|
onChange?: ((...args: any[]) => any) | undefined;
|
75
80
|
onCancel?: ((...args: any[]) => any) | undefined;
|
76
81
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
package/es/popover/Popover.d.ts
CHANGED
@@ -96,42 +96,54 @@ declare const _default: import("vue").DefineComponent<{
|
|
96
96
|
type: PropType<string | import("vue").RendererElement | null | undefined>;
|
97
97
|
default: string;
|
98
98
|
};
|
99
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "touchstart" | "update:show")[], "select" | "touchstart" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
100
|
-
show
|
101
|
-
theme
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
}
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
99
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "touchstart" | "update:show")[], "select" | "touchstart" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
100
|
+
show: BooleanConstructor;
|
101
|
+
theme: {
|
102
|
+
type: PropType<PopoverTheme>;
|
103
|
+
default: PopoverTheme;
|
104
|
+
};
|
105
|
+
overlay: BooleanConstructor;
|
106
|
+
actions: {
|
107
|
+
type: PropType<PopoverAction[]>;
|
108
|
+
default: () => never[];
|
109
|
+
};
|
110
|
+
trigger: {
|
111
|
+
type: PropType<PopoverTrigger>;
|
112
|
+
default: PopoverTrigger;
|
113
|
+
};
|
114
|
+
duration: (NumberConstructor | StringConstructor)[];
|
115
|
+
showArrow: {
|
116
|
+
type: BooleanConstructor;
|
117
|
+
default: true;
|
118
|
+
};
|
119
|
+
placement: {
|
120
|
+
type: PropType<PopoverPlacement>;
|
121
|
+
default: PopoverPlacement;
|
122
|
+
};
|
123
|
+
iconPrefix: StringConstructor;
|
124
|
+
overlayClass: PropType<unknown>;
|
125
|
+
overlayStyle: PropType<CSSProperties>;
|
126
|
+
closeOnClickAction: {
|
127
|
+
type: BooleanConstructor;
|
128
|
+
default: true;
|
129
|
+
};
|
130
|
+
closeOnClickOverlay: {
|
131
|
+
type: BooleanConstructor;
|
132
|
+
default: true;
|
133
|
+
};
|
134
|
+
closeOnClickOutside: {
|
135
|
+
type: BooleanConstructor;
|
136
|
+
default: true;
|
137
|
+
};
|
138
|
+
offset: {
|
139
|
+
type: PropType<[number, number]>;
|
140
|
+
default: () => number[];
|
141
|
+
};
|
142
|
+
teleport: {
|
143
|
+
type: PropType<string | import("vue").RendererElement | null | undefined>;
|
144
|
+
default: string;
|
145
|
+
};
|
146
|
+
}>> & {
|
135
147
|
onSelect?: ((...args: any[]) => any) | undefined;
|
136
148
|
onTouchstart?: ((...args: any[]) => any) | undefined;
|
137
149
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
package/es/popover/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-popover-arrow-size:6px;--van-popover-border-radius:var(--van-border-radius-lg);--van-popover-action-width:128px;--van-popover-action-height:44px;--van-popover-action-font-size:var(--van-font-size-md);--van-popover-action-line-height:var(--van-line-height-md);--van-popover-action-icon-size:20px;--van-popover-light-text-color:var(--van-text-color);--van-popover-light-background-color:var(--van-background-color-light);--van-popover-light-action-disabled-text-color:var(--van-text-color-3);--van-popover-dark-text-color:var(--van-white);--van-popover-dark-background-color
|
1
|
+
:root{--van-popover-arrow-size: 6px;--van-popover-border-radius: var(--van-border-radius-lg);--van-popover-action-width: 128px;--van-popover-action-height: 44px;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size: 20px;--van-popover-light-text-color: var(--van-text-color);--van-popover-light-background-color: var(--van-background-color-light);--van-popover-light-action-disabled-text-color: var(--van-text-color-3);--van-popover-dark-text-color: var(--van-white);--van-popover-dark-background-color: #4a4a4a;--van-popover-dark-action-disabled-text-color: var(--van-text-color-2)}.van-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--van-popover-arrow-size)}.van-popover__content{overflow:hidden;border-radius:var(--van-popover-border-radius)}.van-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--van-popover-action-width);height:var(--van-popover-action-height);padding:0 var(--van-padding-md);font-size:var(--van-popover-action-font-size);line-height:var(--van-line-height-md);cursor:pointer}.van-popover__action:last-child .van-popover__action-text:after{display:none}.van-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:var(--van-padding-xs);font-size:var(--van-popover-action-icon-size)}.van-popover__action--with-icon .van-popover__action-text{justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;transform:translate(-50%);margin-bottom:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=top]{transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=left]{transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=right]{transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=right-end]{transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=bottom]{transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover--light{color:var(--van-popover-light-text-color)}.van-popover--light .van-popover__content{background:var(--van-popover-light-background-color);box-shadow:0 2px 12px rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:var(--van-popover-light-background-color)}.van-popover--light .van-popover__action:active{background-color:var(--van-active-color)}.van-popover--light .van-popover__action--disabled{color:var(--van-popover-light-action-disabled-text-color);cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:var(--van-popover-dark-text-color)}.van-popover--dark .van-popover__content{background:var(--van-popover-dark-background-color)}.van-popover--dark .van-popover__arrow{color:var(--van-popover-dark-background-color)}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:var(--van-popover-dark-action-disabled-text-color)}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text:after{border-color:var(--van-gray-7)}.van-popover-zoom-enter-from,.van-popover-zoom-leave-active{transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{transition-timing-function:var(--van-animation-timing-function-enter)}.van-popover-zoom-leave-active{transition-timing-function:var(--van-animation-timing-function-leave)}
|
package/es/popover/index.d.ts
CHANGED
@@ -45,42 +45,54 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
|
|
45
45
|
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
46
46
|
default: string;
|
47
47
|
};
|
48
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "touchstart" | "update:show")[], "select" | "touchstart" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
49
|
-
show
|
50
|
-
theme
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
}
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
48
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "touchstart" | "update:show")[], "select" | "touchstart" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
49
|
+
show: BooleanConstructor;
|
50
|
+
theme: {
|
51
|
+
type: import("vue").PropType<import("./types").PopoverTheme>;
|
52
|
+
default: import("./types").PopoverTheme;
|
53
|
+
};
|
54
|
+
overlay: BooleanConstructor;
|
55
|
+
actions: {
|
56
|
+
type: import("vue").PropType<import("./types").PopoverAction[]>;
|
57
|
+
default: () => never[];
|
58
|
+
};
|
59
|
+
trigger: {
|
60
|
+
type: import("vue").PropType<import("./types").PopoverTrigger>;
|
61
|
+
default: import("./types").PopoverTrigger;
|
62
|
+
};
|
63
|
+
duration: (NumberConstructor | StringConstructor)[];
|
64
|
+
showArrow: {
|
65
|
+
type: BooleanConstructor;
|
66
|
+
default: true;
|
67
|
+
};
|
68
|
+
placement: {
|
69
|
+
type: import("vue").PropType<import("./types").PopoverPlacement>;
|
70
|
+
default: import("./types").PopoverPlacement;
|
71
|
+
};
|
72
|
+
iconPrefix: StringConstructor;
|
73
|
+
overlayClass: import("vue").PropType<unknown>;
|
74
|
+
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
75
|
+
closeOnClickAction: {
|
76
|
+
type: BooleanConstructor;
|
77
|
+
default: true;
|
78
|
+
};
|
79
|
+
closeOnClickOverlay: {
|
80
|
+
type: BooleanConstructor;
|
81
|
+
default: true;
|
82
|
+
};
|
83
|
+
closeOnClickOutside: {
|
84
|
+
type: BooleanConstructor;
|
85
|
+
default: true;
|
86
|
+
};
|
87
|
+
offset: {
|
88
|
+
type: import("vue").PropType<[number, number]>;
|
89
|
+
default: () => number[];
|
90
|
+
};
|
91
|
+
teleport: {
|
92
|
+
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
93
|
+
default: string;
|
94
|
+
};
|
95
|
+
}>> & {
|
84
96
|
onSelect?: ((...args: any[]) => any) | undefined;
|
85
97
|
onTouchstart?: ((...args: any[]) => any) | undefined;
|
86
98
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
package/es/popup/Popup.d.ts
CHANGED
@@ -90,52 +90,51 @@ declare const _default: import("vue").DefineComponent<{
|
|
90
90
|
default: PopupCloseIconPosition;
|
91
91
|
};
|
92
92
|
safeAreaInsetBottom: BooleanConstructor;
|
93
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "opened" | "closed" | "update:show" | "click-overlay" | "click-close-icon")[], "open" | "close" | "opened" | "closed" | "update:show" | "click-overlay" | "click-close-icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
94
|
-
show
|
95
|
-
zIndex
|
96
|
-
overlay
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
safeAreaInsetBottom: boolean;
|
119
|
-
overlay: boolean;
|
120
|
-
show: boolean;
|
121
|
-
lockScroll: boolean;
|
122
|
-
lazyRender: boolean;
|
123
|
-
transitionAppear: boolean;
|
124
|
-
closeOnClickOverlay: boolean;
|
125
|
-
closeIcon: string;
|
126
|
-
closeable: boolean;
|
127
|
-
closeOnPopstate: boolean;
|
128
|
-
closeIconPosition: PopupCloseIconPosition;
|
93
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "opened" | "closed" | "update:show" | "click-overlay" | "click-close-icon")[], "open" | "close" | "opened" | "closed" | "update:show" | "click-overlay" | "click-close-icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
94
|
+
show: BooleanConstructor;
|
95
|
+
zIndex: (NumberConstructor | StringConstructor)[];
|
96
|
+
overlay: {
|
97
|
+
type: BooleanConstructor;
|
98
|
+
default: true;
|
99
|
+
};
|
100
|
+
duration: (NumberConstructor | StringConstructor)[];
|
101
|
+
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
102
|
+
lockScroll: {
|
103
|
+
type: BooleanConstructor;
|
104
|
+
default: true;
|
105
|
+
};
|
106
|
+
lazyRender: {
|
107
|
+
type: BooleanConstructor;
|
108
|
+
default: true;
|
109
|
+
};
|
110
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
111
|
+
overlayStyle: import("vue").PropType<CSSProperties>;
|
112
|
+
overlayClass: import("vue").PropType<unknown>;
|
113
|
+
transitionAppear: BooleanConstructor;
|
114
|
+
closeOnClickOverlay: {
|
115
|
+
type: BooleanConstructor;
|
116
|
+
default: true;
|
117
|
+
};
|
129
118
|
} & {
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
}
|
119
|
+
round: BooleanConstructor;
|
120
|
+
position: {
|
121
|
+
type: import("vue").PropType<PopupPosition>;
|
122
|
+
default: PopupPosition;
|
123
|
+
};
|
124
|
+
closeIcon: {
|
125
|
+
type: import("vue").PropType<string>;
|
126
|
+
default: string;
|
127
|
+
};
|
128
|
+
closeable: BooleanConstructor;
|
129
|
+
transition: StringConstructor;
|
130
|
+
iconPrefix: StringConstructor;
|
131
|
+
closeOnPopstate: BooleanConstructor;
|
132
|
+
closeIconPosition: {
|
133
|
+
type: import("vue").PropType<PopupCloseIconPosition>;
|
134
|
+
default: PopupCloseIconPosition;
|
135
|
+
};
|
136
|
+
safeAreaInsetBottom: BooleanConstructor;
|
137
|
+
}>> & {
|
139
138
|
onOpen?: ((...args: any[]) => any) | undefined;
|
140
139
|
onClose?: ((...args: any[]) => any) | undefined;
|
141
140
|
onOpened?: ((...args: any[]) => any) | undefined;
|
package/es/popup/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-popup-background-color:var(--van-background-color-light);--van-popup-transition:transform var(--van-animation-duration-base);--van-popup-round-border-radius:16px;--van-popup-close-icon-size:22px;--van-popup-close-icon-color:var(--van-gray-5);--van-popup-close-icon-margin:16px;--van-popup-close-icon-z-index:1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;background:var(--van-popup-background-color);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:50%;transform:
|
1
|
+
:root{--van-popup-background-color: var(--van-background-color-light);--van-popup-transition: transform var(--van-animation-duration-base);--van-popup-round-border-radius: 16px;--van-popup-close-icon-size: 22px;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: 16px;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;background:var(--van-popup-background-color);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:50%;transform:translate(-50%,-50%)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-border-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-border-radius) var(--van-popup-round-border-radius)}.van-popup--right{top:50%;right:0;transform:translateY(-50%)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-border-radius) 0 0 var(--van-popup-round-border-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-border-radius) var(--van-popup-round-border-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translateY(-50%)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-border-radius) var(--van-popup-round-border-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-animation-timing-function-enter)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-animation-timing-function-leave)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translateY(-100%)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate(100%,-50%)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translateY(100%)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate(-100%,-50%)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size);cursor:pointer}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}
|