vant 4.0.0-rc.7 → 4.0.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-bar/ActionBar.d.ts +1 -1
- package/es/action-bar/types.d.ts +1 -1
- package/es/action-bar-button/ActionBarButton.d.ts +1 -1
- package/es/action-bar-button/types.d.ts +1 -1
- package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/es/action-bar-icon/types.d.ts +1 -1
- package/es/action-sheet/ActionSheet.d.ts +3 -3
- package/es/action-sheet/index.d.ts +1 -1
- package/es/action-sheet/types.d.ts +1 -1
- package/es/address-edit/AddressEdit.d.ts +1 -1
- package/es/address-edit/types.d.ts +5 -5
- package/es/address-list/AddressList.d.ts +1 -1
- package/es/address-list/AddressListItem.d.ts +1 -1
- package/es/address-list/types.d.ts +1 -1
- package/es/area/Area.d.ts +2 -2
- package/es/area/index.d.ts +1 -1
- package/es/area/types.d.ts +2 -2
- package/es/back-top/BackTop.d.ts +66 -0
- package/es/back-top/BackTop.mjs +99 -0
- package/es/back-top/index.css +1 -0
- package/es/back-top/index.d.ts +53 -0
- package/es/back-top/index.mjs +10 -0
- package/es/back-top/style/index.d.ts +1 -0
- package/es/back-top/style/index.mjs +4 -0
- package/es/back-top/types.d.ts +6 -0
- package/es/back-top/types.mjs +0 -0
- package/es/badge/Badge.d.ts +2 -2
- package/es/badge/types.d.ts +1 -1
- package/es/button/Button.d.ts +1 -1
- package/es/button/types.d.ts +5 -5
- package/es/calendar/Calendar.d.ts +1 -1
- package/es/calendar/CalendarMonth.d.ts +1 -1
- package/es/calendar/types.d.ts +7 -7
- package/es/card/Card.d.ts +1 -1
- package/es/card/types.d.ts +1 -1
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/types.d.ts +4 -4
- package/es/cell/Cell.d.ts +4 -4
- package/es/cell/Cell.mjs +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell/types.d.ts +1 -1
- package/es/cell-group/CellGroup.d.ts +1 -1
- package/es/cell-group/types.d.ts +1 -1
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checker.d.ts +4 -4
- package/es/checkbox/types.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/es/checkbox-group/types.d.ts +5 -5
- package/es/circle/Circle.d.ts +2 -2
- package/es/circle/types.d.ts +1 -1
- package/es/col/Col.d.ts +1 -1
- package/es/collapse/Collapse.d.ts +4 -4
- package/es/collapse-item/CollapseItem.d.ts +2 -2
- package/es/collapse-item/index.d.ts +1 -1
- package/es/collapse-item/types.d.ts +3 -3
- package/es/composables/use-route.d.ts +1 -1
- package/es/composables/use-touch.d.ts +1 -1
- package/es/config-provider/ConfigProvider.d.ts +4 -4
- package/es/config-provider/types.d.ts +1 -1
- package/es/contact-card/ContactCard.d.ts +2 -2
- package/es/contact-card/types.d.ts +1 -1
- package/es/contact-edit/ContactEdit.d.ts +2 -2
- package/es/contact-edit/types.d.ts +1 -1
- package/es/contact-list/ContactList.d.ts +2 -2
- package/es/contact-list/types.d.ts +1 -1
- package/es/count-down/CountDown.d.ts +1 -1
- package/es/count-down/types.d.ts +4 -4
- package/es/coupon/Coupon.d.ts +1 -1
- package/es/coupon/types.d.ts +1 -1
- package/es/coupon-cell/CouponCell.d.ts +1 -1
- package/es/coupon-cell/types.d.ts +1 -1
- package/es/coupon-list/CouponList.d.ts +1 -1
- package/es/coupon-list/types.d.ts +1 -1
- package/es/date-picker/DatePicker.d.ts +3 -3
- package/es/date-picker/index.d.ts +1 -1
- package/es/date-picker/utils.d.ts +2 -2
- package/es/dialog/Dialog.d.ts +2 -2
- package/es/dialog/index.d.ts +1 -1
- package/es/dialog/types.d.ts +6 -6
- package/es/divider/Divider.d.ts +2 -2
- package/es/divider/types.d.ts +1 -1
- package/es/dropdown-item/DropdownItem.d.ts +3 -3
- package/es/dropdown-item/DropdownItem.mjs +6 -4
- package/es/dropdown-item/index.d.ts +2 -2
- package/es/dropdown-item/types.d.ts +4 -4
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/types.d.ts +3 -3
- package/es/empty/Empty.d.ts +1 -1
- package/es/empty/types.d.ts +1 -1
- package/es/field/Field.d.ts +2 -2
- package/es/field/index.d.ts +1 -1
- package/es/field/types.d.ts +16 -16
- package/es/form/Form.d.ts +1 -1
- package/es/form/types.d.ts +3 -3
- package/es/grid/Grid.d.ts +3 -3
- package/es/grid-item/GridItem.d.ts +1 -1
- package/es/grid-item/types.d.ts +1 -1
- package/es/icon/Icon.d.ts +1 -1
- package/es/image/Image.d.ts +3 -3
- package/es/image/types.d.ts +1 -1
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/types.d.ts +5 -5
- package/es/index-anchor/IndexAnchor.d.ts +1 -1
- package/es/index-anchor/types.d.ts +1 -1
- package/es/index-bar/IndexBar.d.ts +1 -1
- package/es/index-bar/types.d.ts +4 -4
- package/es/index.d.ts +2 -1
- package/es/index.mjs +4 -1
- package/es/lazyload/vue-lazyload/util.d.ts +25 -0
- package/es/list/List.d.ts +1 -1
- package/es/list/List.mjs +1 -1
- package/es/list/types.d.ts +4 -4
- package/es/loading/Loading.d.ts +2 -2
- package/es/loading/types.d.ts +1 -1
- package/es/locale/index.d.ts +1 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/types.d.ts +1 -1
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/types.d.ts +4 -4
- package/es/notify/Notify.d.ts +1 -1
- package/es/notify/types.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/es/number-keyboard/NumberKeyboard.mjs +6 -4
- package/es/number-keyboard/NumberKeyboardKey.d.ts +1 -1
- package/es/number-keyboard/types.d.ts +1 -1
- package/es/overlay/Overlay.d.ts +1 -1
- package/es/overlay/types.d.ts +1 -1
- package/es/pagination/Pagination.d.ts +2 -2
- package/es/pagination/types.d.ts +1 -1
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/types.d.ts +1 -1
- package/es/picker/Picker.d.ts +2 -2
- package/es/picker/PickerToolbar.d.ts +1 -1
- package/es/picker/index.d.ts +1 -1
- package/es/picker/types.d.ts +11 -11
- package/es/picker-group/PickerGroup.d.ts +2 -2
- package/es/picker-group/types.d.ts +1 -1
- package/es/popover/Popover.d.ts +1 -1
- package/es/popover/types.d.ts +5 -5
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/index.d.ts +2 -2
- package/es/popup/shared.d.ts +1 -1
- package/es/popup/types.d.ts +5 -5
- package/es/progress/Progress.d.ts +1 -1
- package/es/progress/types.d.ts +3 -3
- package/es/pull-refresh/PullRefresh.d.ts +1 -1
- package/es/pull-refresh/types.d.ts +1 -1
- package/es/radio/Radio.d.ts +3 -3
- package/es/radio/types.d.ts +1 -1
- package/es/radio-group/RadioGroup.d.ts +3 -3
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/types.d.ts +1 -1
- package/es/row/Row.d.ts +5 -5
- package/es/search/Search.d.ts +1 -1
- package/es/search/types.d.ts +4 -4
- package/es/share-sheet/ShareSheet.d.ts +4 -4
- package/es/share-sheet/index.d.ts +1 -1
- package/es/share-sheet/types.d.ts +1 -1
- package/es/sidebar/Sidebar.d.ts +2 -2
- package/es/sidebar/types.d.ts +1 -1
- package/es/sidebar-item/SidebarItem.d.ts +1 -1
- package/es/sidebar-item/types.d.ts +1 -1
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/SkeletonAvatar.d.ts +1 -1
- package/es/skeleton/SkeletonImage.d.ts +1 -1
- package/es/skeleton/SkeletonParagraph.d.ts +1 -1
- package/es/skeleton/SkeletonTitle.d.ts +1 -1
- package/es/skeleton/types.d.ts +3 -3
- package/es/slider/Slider.d.ts +3 -3
- package/es/slider/types.d.ts +1 -1
- package/es/space/Space.d.ts +3 -3
- package/es/step/types.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +2 -2
- package/es/stepper/types.d.ts +1 -1
- package/es/steps/Steps.d.ts +3 -3
- package/es/steps/types.d.ts +1 -1
- package/es/sticky/Sticky.d.ts +2 -2
- package/es/sticky/types.d.ts +1 -1
- package/es/style/base.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/submit-bar/SubmitBar.d.ts +2 -2
- package/es/submit-bar/types.d.ts +1 -1
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/types.d.ts +6 -6
- package/es/swipe-cell/SwipeCell.d.ts +3 -3
- package/es/swipe-cell/index.d.ts +2 -2
- package/es/swipe-cell/types.d.ts +4 -4
- package/es/switch/Switch.d.ts +1 -1
- package/es/switch/types.d.ts +1 -1
- package/es/tab/Tab.d.ts +1 -1
- package/es/tabbar/Tabbar.d.ts +2 -2
- package/es/tabbar/types.d.ts +1 -1
- package/es/tabbar-item/TabbarItem.d.ts +1 -1
- package/es/tabbar-item/types.d.ts +1 -1
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/types.d.ts +6 -6
- package/es/tag/Tag.d.ts +1 -1
- package/es/tag/types.d.ts +3 -3
- package/es/time-picker/TimePicker.d.ts +3 -3
- package/es/time-picker/index.d.ts +1 -1
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/types.d.ts +6 -6
- package/es/tree-select/TreeSelect.d.ts +3 -3
- package/es/tree-select/types.d.ts +1 -1
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/types.d.ts +8 -8
- package/es/utils/basic.d.ts +3 -3
- package/es/utils/create.d.ts +4 -4
- package/es/utils/deep-assign.d.ts +1 -1
- package/es/utils/dom.d.ts +1 -1
- package/es/utils/interceptor.d.ts +1 -1
- package/es/utils/mount-component.d.ts +1 -1
- package/es/utils/with-install.d.ts +2 -2
- package/lib/action-bar/ActionBar.d.ts +1 -1
- package/lib/action-bar/types.d.ts +1 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
- package/lib/action-bar-button/types.d.ts +1 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/lib/action-bar-icon/types.d.ts +1 -1
- package/lib/action-sheet/ActionSheet.d.ts +3 -3
- package/lib/action-sheet/index.d.ts +1 -1
- package/lib/action-sheet/types.d.ts +1 -1
- package/lib/address-edit/AddressEdit.d.ts +1 -1
- package/lib/address-edit/types.d.ts +5 -5
- package/lib/address-list/AddressList.d.ts +1 -1
- package/lib/address-list/AddressListItem.d.ts +1 -1
- package/lib/address-list/types.d.ts +1 -1
- package/lib/area/Area.d.ts +2 -2
- package/lib/area/index.d.ts +1 -1
- package/lib/area/types.d.ts +2 -2
- package/lib/back-top/BackTop.d.ts +66 -0
- package/lib/back-top/BackTop.js +118 -0
- package/lib/back-top/index.css +1 -0
- package/lib/back-top/index.d.ts +53 -0
- package/lib/back-top/index.js +35 -0
- package/lib/back-top/style/index.d.ts +1 -0
- package/lib/back-top/style/index.js +4 -0
- package/lib/back-top/types.d.ts +6 -0
- package/lib/back-top/types.js +15 -0
- package/lib/badge/Badge.d.ts +2 -2
- package/lib/badge/types.d.ts +1 -1
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/types.d.ts +5 -5
- package/lib/calendar/Calendar.d.ts +1 -1
- package/lib/calendar/CalendarMonth.d.ts +1 -1
- package/lib/calendar/types.d.ts +7 -7
- package/lib/card/Card.d.ts +1 -1
- package/lib/card/types.d.ts +1 -1
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/types.d.ts +4 -4
- package/lib/cell/Cell.d.ts +4 -4
- package/lib/cell/Cell.js +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell/types.d.ts +1 -1
- package/lib/cell-group/CellGroup.d.ts +1 -1
- package/lib/cell-group/types.d.ts +1 -1
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checker.d.ts +4 -4
- package/lib/checkbox/types.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox-group/types.d.ts +5 -5
- package/lib/circle/Circle.d.ts +2 -2
- package/lib/circle/types.d.ts +1 -1
- package/lib/col/Col.d.ts +1 -1
- package/lib/collapse/Collapse.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.d.ts +2 -2
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/types.d.ts +3 -3
- package/lib/composables/use-route.d.ts +1 -1
- package/lib/composables/use-touch.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +4 -4
- package/lib/config-provider/types.d.ts +1 -1
- package/lib/contact-card/ContactCard.d.ts +2 -2
- package/lib/contact-card/types.d.ts +1 -1
- package/lib/contact-edit/ContactEdit.d.ts +2 -2
- package/lib/contact-edit/types.d.ts +1 -1
- package/lib/contact-list/ContactList.d.ts +2 -2
- package/lib/contact-list/types.d.ts +1 -1
- package/lib/count-down/CountDown.d.ts +1 -1
- package/lib/count-down/types.d.ts +4 -4
- package/lib/coupon/Coupon.d.ts +1 -1
- package/lib/coupon/types.d.ts +1 -1
- package/lib/coupon-cell/CouponCell.d.ts +1 -1
- package/lib/coupon-cell/types.d.ts +1 -1
- package/lib/coupon-list/CouponList.d.ts +1 -1
- package/lib/coupon-list/types.d.ts +1 -1
- package/lib/date-picker/DatePicker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +2 -2
- package/lib/dialog/Dialog.d.ts +2 -2
- package/lib/dialog/index.d.ts +1 -1
- package/lib/dialog/types.d.ts +6 -6
- package/lib/divider/Divider.d.ts +2 -2
- package/lib/divider/types.d.ts +1 -1
- package/lib/dropdown-item/DropdownItem.d.ts +3 -3
- package/lib/dropdown-item/DropdownItem.js +5 -3
- package/lib/dropdown-item/index.d.ts +2 -2
- package/lib/dropdown-item/types.d.ts +4 -4
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/types.d.ts +3 -3
- package/lib/empty/Empty.d.ts +1 -1
- package/lib/empty/types.d.ts +1 -1
- package/lib/field/Field.d.ts +2 -2
- package/lib/field/index.d.ts +1 -1
- package/lib/field/types.d.ts +16 -16
- package/lib/form/Form.d.ts +1 -1
- package/lib/form/types.d.ts +3 -3
- package/lib/grid/Grid.d.ts +3 -3
- package/lib/grid-item/GridItem.d.ts +1 -1
- package/lib/grid-item/types.d.ts +1 -1
- package/lib/icon/Icon.d.ts +1 -1
- package/lib/image/Image.d.ts +3 -3
- package/lib/image/types.d.ts +1 -1
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/types.d.ts +5 -5
- package/lib/index-anchor/IndexAnchor.d.ts +1 -1
- package/lib/index-anchor/types.d.ts +1 -1
- package/lib/index-bar/IndexBar.d.ts +1 -1
- package/lib/index-bar/types.d.ts +4 -4
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -1
- package/lib/lazyload/vue-lazyload/util.d.ts +25 -0
- package/lib/list/List.d.ts +1 -1
- package/lib/list/List.js +1 -1
- package/lib/list/types.d.ts +4 -4
- package/lib/loading/Loading.d.ts +2 -2
- package/lib/loading/types.d.ts +1 -1
- package/lib/locale/index.d.ts +1 -1
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/types.d.ts +1 -1
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/types.d.ts +4 -4
- package/lib/notify/Notify.d.ts +1 -1
- package/lib/notify/types.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/lib/number-keyboard/NumberKeyboard.js +5 -3
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +1 -1
- package/lib/number-keyboard/types.d.ts +1 -1
- package/lib/overlay/Overlay.d.ts +1 -1
- package/lib/overlay/types.d.ts +1 -1
- package/lib/pagination/Pagination.d.ts +2 -2
- package/lib/pagination/types.d.ts +1 -1
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/types.d.ts +1 -1
- package/lib/picker/Picker.d.ts +2 -2
- package/lib/picker/PickerToolbar.d.ts +1 -1
- package/lib/picker/index.d.ts +1 -1
- package/lib/picker/types.d.ts +11 -11
- package/lib/picker-group/PickerGroup.d.ts +2 -2
- package/lib/picker-group/types.d.ts +1 -1
- package/lib/popover/Popover.d.ts +1 -1
- package/lib/popover/types.d.ts +5 -5
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/index.d.ts +2 -2
- package/lib/popup/shared.d.ts +1 -1
- package/lib/popup/types.d.ts +5 -5
- package/lib/progress/Progress.d.ts +1 -1
- package/lib/progress/types.d.ts +3 -3
- package/lib/pull-refresh/PullRefresh.d.ts +1 -1
- package/lib/pull-refresh/types.d.ts +1 -1
- package/lib/radio/Radio.d.ts +3 -3
- package/lib/radio/types.d.ts +1 -1
- package/lib/radio-group/RadioGroup.d.ts +3 -3
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/types.d.ts +1 -1
- package/lib/row/Row.d.ts +5 -5
- package/lib/search/Search.d.ts +1 -1
- package/lib/search/types.d.ts +4 -4
- package/lib/share-sheet/ShareSheet.d.ts +4 -4
- package/lib/share-sheet/index.d.ts +1 -1
- package/lib/share-sheet/types.d.ts +1 -1
- package/lib/sidebar/Sidebar.d.ts +2 -2
- package/lib/sidebar/types.d.ts +1 -1
- package/lib/sidebar-item/SidebarItem.d.ts +1 -1
- package/lib/sidebar-item/types.d.ts +1 -1
- package/lib/skeleton/Skeleton.d.ts +1 -1
- package/lib/skeleton/SkeletonAvatar.d.ts +1 -1
- package/lib/skeleton/SkeletonImage.d.ts +1 -1
- package/lib/skeleton/SkeletonParagraph.d.ts +1 -1
- package/lib/skeleton/SkeletonTitle.d.ts +1 -1
- package/lib/skeleton/types.d.ts +3 -3
- package/lib/slider/Slider.d.ts +3 -3
- package/lib/slider/types.d.ts +1 -1
- package/lib/space/Space.d.ts +3 -3
- package/lib/step/types.d.ts +1 -1
- package/lib/stepper/Stepper.d.ts +2 -2
- package/lib/stepper/types.d.ts +1 -1
- package/lib/steps/Steps.d.ts +3 -3
- package/lib/steps/types.d.ts +1 -1
- package/lib/sticky/Sticky.d.ts +2 -2
- package/lib/sticky/types.d.ts +1 -1
- package/lib/style/base.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +2 -2
- package/lib/submit-bar/types.d.ts +1 -1
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/types.d.ts +6 -6
- package/lib/swipe-cell/SwipeCell.d.ts +3 -3
- package/lib/swipe-cell/index.d.ts +2 -2
- package/lib/swipe-cell/types.d.ts +4 -4
- package/lib/switch/Switch.d.ts +1 -1
- package/lib/switch/types.d.ts +1 -1
- package/lib/tab/Tab.d.ts +1 -1
- package/lib/tabbar/Tabbar.d.ts +2 -2
- package/lib/tabbar/types.d.ts +1 -1
- package/lib/tabbar-item/TabbarItem.d.ts +1 -1
- package/lib/tabbar-item/types.d.ts +1 -1
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/types.d.ts +6 -6
- package/lib/tag/Tag.d.ts +1 -1
- package/lib/tag/types.d.ts +3 -3
- package/lib/time-picker/TimePicker.d.ts +3 -3
- package/lib/time-picker/index.d.ts +1 -1
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/types.d.ts +6 -6
- package/lib/tree-select/TreeSelect.d.ts +3 -3
- package/lib/tree-select/types.d.ts +1 -1
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/types.d.ts +8 -8
- package/lib/utils/basic.d.ts +3 -3
- package/lib/utils/create.d.ts +4 -4
- package/lib/utils/deep-assign.d.ts +1 -1
- package/lib/utils/dom.d.ts +1 -1
- package/lib/utils/interceptor.d.ts +1 -1
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/utils/with-install.d.ts +2 -2
- package/lib/vant.cjs.js +533 -436
- package/lib/vant.es.js +534 -437
- package/lib/vant.js +533 -436
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +2 -2
package/lib/badge/Badge.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { type Numeric } from '../utils';
|
3
|
-
export
|
3
|
+
export type BadgePosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
4
4
|
export declare const badgeProps: {
|
5
5
|
dot: BooleanConstructor;
|
6
6
|
max: (NumberConstructor | StringConstructor)[];
|
@@ -20,7 +20,7 @@ export declare const badgeProps: {
|
|
20
20
|
default: BadgePosition;
|
21
21
|
};
|
22
22
|
};
|
23
|
-
export
|
23
|
+
export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
24
24
|
declare const _default: import("vue").DefineComponent<{
|
25
25
|
dot: BooleanConstructor;
|
26
26
|
max: (NumberConstructor | StringConstructor)[];
|
package/lib/badge/types.d.ts
CHANGED
package/lib/button/Button.d.ts
CHANGED
@@ -41,7 +41,7 @@ export declare const buttonProps: {
|
|
41
41
|
default: ButtonIconPosition;
|
42
42
|
};
|
43
43
|
};
|
44
|
-
export
|
44
|
+
export type ButtonProps = ExtractPropTypes<typeof buttonProps>;
|
45
45
|
declare const _default: import("vue").DefineComponent<{
|
46
46
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
47
47
|
url: StringConstructor;
|
package/lib/button/types.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { ButtonHTMLAttributes } from 'vue';
|
2
|
-
export
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export
|
2
|
+
export type ButtonType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
3
|
+
export type ButtonSize = 'large' | 'normal' | 'small' | 'mini';
|
4
|
+
export type ButtonNativeType = NonNullable<ButtonHTMLAttributes['type']>;
|
5
|
+
export type ButtonIconPosition = 'left' | 'right';
|
6
|
+
export type ButtonThemeVars = {
|
7
7
|
buttonMiniHeight?: string;
|
8
8
|
buttonMiniPadding?: string;
|
9
9
|
buttonMiniFontSize?: string;
|
@@ -87,7 +87,7 @@ export declare const calendarProps: {
|
|
87
87
|
validator: (val: number) => boolean;
|
88
88
|
};
|
89
89
|
};
|
90
|
-
export
|
90
|
+
export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
|
91
91
|
declare const _default: import("vue").DefineComponent<{
|
92
92
|
show: BooleanConstructor;
|
93
93
|
type: {
|
@@ -25,7 +25,7 @@ declare const calendarMonthProps: {
|
|
25
25
|
showMonthTitle: BooleanConstructor;
|
26
26
|
firstDayOfWeek: NumberConstructor;
|
27
27
|
};
|
28
|
-
export
|
28
|
+
export type CalendarMonthProps = ExtractPropTypes<typeof calendarMonthProps>;
|
29
29
|
declare const _default: import("vue").DefineComponent<{
|
30
30
|
date: {
|
31
31
|
type: DateConstructor;
|
package/lib/calendar/types.d.ts
CHANGED
@@ -2,9 +2,9 @@ import type { ComponentPublicInstance, ComputedRef, Ref } from 'vue';
|
|
2
2
|
import type { Numeric } from '../utils';
|
3
3
|
import type { CalendarProps } from './Calendar';
|
4
4
|
import type { CalendarMonthProps } from './CalendarMonth';
|
5
|
-
export
|
6
|
-
export
|
7
|
-
export
|
5
|
+
export type CalendarType = 'single' | 'range' | 'multiple';
|
6
|
+
export type CalendarDayType = '' | 'start' | 'start-end' | 'middle' | 'end' | 'selected' | 'multiple-middle' | 'multiple-selected' | 'disabled' | 'placeholder';
|
7
|
+
export type CalendarDayItem = {
|
8
8
|
date?: Date;
|
9
9
|
text?: Numeric;
|
10
10
|
type?: CalendarDayType;
|
@@ -12,13 +12,13 @@ export declare type CalendarDayItem = {
|
|
12
12
|
className?: unknown;
|
13
13
|
bottomInfo?: string;
|
14
14
|
};
|
15
|
-
export
|
15
|
+
export type CalendarExpose = {
|
16
16
|
reset: (date?: Date | Date[]) => void;
|
17
17
|
scrollToDate: (targetDate: Date) => void;
|
18
18
|
getSelectedDate: () => Date | Date[] | null;
|
19
19
|
};
|
20
|
-
export
|
21
|
-
export
|
20
|
+
export type CalendarInstance = ComponentPublicInstance<CalendarProps, CalendarExpose>;
|
21
|
+
export type CalendarMonthInstance = ComponentPublicInstance<CalendarMonthProps, {
|
22
22
|
showed?: boolean;
|
23
23
|
getTitle: () => string;
|
24
24
|
getHeight: () => number;
|
@@ -26,7 +26,7 @@ export declare type CalendarMonthInstance = ComponentPublicInstance<CalendarMont
|
|
26
26
|
scrollToDate: (body: Element, targetDate: Date) => void;
|
27
27
|
disabledDays: Ref<ComputedRef<CalendarDayItem[]>>;
|
28
28
|
}>;
|
29
|
-
export
|
29
|
+
export type CalendarThemeVars = {
|
30
30
|
calendarBackground?: string;
|
31
31
|
calendarPopupHeight?: string;
|
32
32
|
calendarHeaderShadow?: string;
|
package/lib/card/Card.d.ts
CHANGED
@@ -15,7 +15,7 @@ export declare const cardProps: {
|
|
15
15
|
thumbLink: StringConstructor;
|
16
16
|
originPrice: (NumberConstructor | StringConstructor)[];
|
17
17
|
};
|
18
|
-
export
|
18
|
+
export type CardProps = ExtractPropTypes<typeof cardProps>;
|
19
19
|
declare const _default: import("vue").DefineComponent<{
|
20
20
|
tag: StringConstructor;
|
21
21
|
num: (NumberConstructor | StringConstructor)[];
|
package/lib/card/types.d.ts
CHANGED
@@ -27,7 +27,7 @@ export declare const cascaderProps: {
|
|
27
27
|
placeholder: StringConstructor;
|
28
28
|
activeColor: StringConstructor;
|
29
29
|
};
|
30
|
-
export
|
30
|
+
export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
|
31
31
|
declare const _default: import("vue").DefineComponent<{
|
32
32
|
title: StringConstructor;
|
33
33
|
options: {
|
package/lib/cascader/types.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Numeric } from '../utils';
|
2
|
-
export
|
2
|
+
export type CascaderOption = {
|
3
3
|
text?: string;
|
4
4
|
value?: Numeric;
|
5
5
|
color?: string;
|
@@ -8,16 +8,16 @@ export declare type CascaderOption = {
|
|
8
8
|
className?: unknown;
|
9
9
|
[key: PropertyKey]: any;
|
10
10
|
};
|
11
|
-
export
|
11
|
+
export type CascaderTab = {
|
12
12
|
options: CascaderOption[];
|
13
13
|
selected: CascaderOption | null;
|
14
14
|
};
|
15
|
-
export
|
15
|
+
export type CascaderFieldNames = {
|
16
16
|
text?: string;
|
17
17
|
value?: string;
|
18
18
|
children?: string;
|
19
19
|
};
|
20
|
-
export
|
20
|
+
export type CascaderThemeVars = {
|
21
21
|
cascaderHeaderHeight?: string;
|
22
22
|
cascaderHeaderPadding?: string;
|
23
23
|
cascaderTitleFontSize?: string;
|
package/lib/cell/Cell.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type CSSProperties, type ExtractPropTypes } from 'vue';
|
2
|
-
export
|
3
|
-
export
|
2
|
+
export type CellSize = 'normal' | 'large';
|
3
|
+
export type CellArrowDirection = 'up' | 'down' | 'left' | 'right';
|
4
4
|
export declare const cellSharedProps: {
|
5
5
|
tag: {
|
6
6
|
type: PropType<keyof HTMLElementTagNameMap>;
|
@@ -61,7 +61,7 @@ export declare const cellProps: {
|
|
61
61
|
url: StringConstructor;
|
62
62
|
replace: BooleanConstructor;
|
63
63
|
};
|
64
|
-
export
|
64
|
+
export type CellProps = ExtractPropTypes<typeof cellProps>;
|
65
65
|
declare const _default: import("vue").DefineComponent<{
|
66
66
|
tag: {
|
67
67
|
type: PropType<keyof HTMLElementTagNameMap>;
|
@@ -126,11 +126,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
126
126
|
replace: BooleanConstructor;
|
127
127
|
}>>, {
|
128
128
|
replace: boolean;
|
129
|
-
required: boolean;
|
130
129
|
tag: keyof HTMLElementTagNameMap;
|
131
130
|
center: boolean;
|
132
131
|
isLink: boolean;
|
133
132
|
border: boolean;
|
133
|
+
required: boolean;
|
134
134
|
clickable: boolean | null;
|
135
135
|
}>;
|
136
136
|
export default _default;
|
package/lib/cell/Cell.js
CHANGED
@@ -100,7 +100,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
100
100
|
return slots["right-icon"]();
|
101
101
|
}
|
102
102
|
if (props.isLink) {
|
103
|
-
const name2 = props.arrowDirection ? `arrow-${props.arrowDirection}` : "arrow";
|
103
|
+
const name2 = props.arrowDirection && props.arrowDirection !== "right" ? `arrow-${props.arrowDirection}` : "arrow";
|
104
104
|
return (0, import_vue.createVNode)(import_icon.Icon, {
|
105
105
|
"name": name2,
|
106
106
|
"class": bem("right-icon")
|
package/lib/cell/index.d.ts
CHANGED
@@ -62,11 +62,11 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
|
|
62
62
|
replace: BooleanConstructor;
|
63
63
|
}>>, {
|
64
64
|
replace: boolean;
|
65
|
-
required: boolean;
|
66
65
|
tag: keyof HTMLElementTagNameMap;
|
67
66
|
center: boolean;
|
68
67
|
isLink: boolean;
|
69
68
|
border: boolean;
|
69
|
+
required: boolean;
|
70
70
|
clickable: boolean | null;
|
71
71
|
}>>;
|
72
72
|
export default Cell;
|
package/lib/cell/types.d.ts
CHANGED
@@ -7,7 +7,7 @@ export declare const cellGroupProps: {
|
|
7
7
|
default: true;
|
8
8
|
};
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export type CellGroupProps = ExtractPropTypes<typeof cellGroupProps>;
|
11
11
|
declare const _default: import("vue").DefineComponent<{
|
12
12
|
title: StringConstructor;
|
13
13
|
inset: BooleanConstructor;
|
@@ -17,7 +17,7 @@ export declare const checkboxProps: {
|
|
17
17
|
default: true;
|
18
18
|
};
|
19
19
|
};
|
20
|
-
export
|
20
|
+
export type CheckboxProps = ExtractPropTypes<typeof checkboxProps>;
|
21
21
|
declare const _default: import("vue").DefineComponent<{
|
22
22
|
name: import("vue").PropType<unknown>;
|
23
23
|
shape: {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { type PropType } from 'vue';
|
2
2
|
import { type Numeric } from '../utils';
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export
|
3
|
+
export type CheckerShape = 'square' | 'round';
|
4
|
+
export type CheckerDirection = 'horizontal' | 'vertical';
|
5
|
+
export type CheckerLabelPosition = 'left' | 'right';
|
6
|
+
export type CheckerParent = {
|
7
7
|
props: {
|
8
8
|
disabled?: boolean;
|
9
9
|
iconSize?: Numeric;
|
package/lib/checkbox/types.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
import type { ComponentPublicInstance, ComputedRef } from 'vue';
|
2
2
|
import type { CheckboxProps } from './Checkbox';
|
3
3
|
import type { CheckerShape, CheckerLabelPosition } from './Checker';
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export
|
4
|
+
export type CheckboxShape = CheckerShape;
|
5
|
+
export type CheckboxLabelPosition = CheckerLabelPosition;
|
6
|
+
export type CheckboxExpose = {
|
7
7
|
toggle: (newValue?: boolean) => void;
|
8
8
|
/** @private */
|
9
9
|
props: CheckboxProps;
|
10
10
|
/** @private */
|
11
11
|
checked: ComputedRef<boolean>;
|
12
12
|
};
|
13
|
-
export
|
14
|
-
export
|
13
|
+
export type CheckboxInstance = ComponentPublicInstance<CheckboxProps, CheckboxExpose>;
|
14
|
+
export type CheckboxThemeVars = {
|
15
15
|
checkboxSize?: string;
|
16
16
|
checkboxBorderColor?: string;
|
17
17
|
checkboxDuration?: string;
|
@@ -12,7 +12,7 @@ export declare const checkboxGroupProps: {
|
|
12
12
|
};
|
13
13
|
checkedColor: StringConstructor;
|
14
14
|
};
|
15
|
-
export
|
15
|
+
export type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>;
|
16
16
|
export declare const CHECKBOX_GROUP_KEY: InjectionKey<CheckboxGroupProvide>;
|
17
17
|
declare const _default: import("vue").DefineComponent<{
|
18
18
|
max: (NumberConstructor | StringConstructor)[];
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
2
2
|
import type { CheckboxGroupProps } from './CheckboxGroup';
|
3
3
|
import type { CheckerParent, CheckerDirection } from '../checkbox/Checker';
|
4
|
-
export
|
5
|
-
export
|
4
|
+
export type CheckboxGroupDirection = CheckerDirection;
|
5
|
+
export type CheckboxGroupToggleAllOptions = boolean | {
|
6
6
|
checked?: boolean;
|
7
7
|
skipDisabled?: boolean;
|
8
8
|
};
|
9
|
-
export
|
9
|
+
export type CheckboxGroupExpose = {
|
10
10
|
toggleAll: (options?: CheckboxGroupToggleAllOptions) => void;
|
11
11
|
};
|
12
|
-
export
|
13
|
-
export
|
12
|
+
export type CheckboxGroupInstance = ComponentPublicInstance<CheckboxGroupProps, CheckboxGroupExpose>;
|
13
|
+
export type CheckboxGroupProvide = CheckerParent & {
|
14
14
|
props: CheckboxGroupProps;
|
15
15
|
updateValue: (value: unknown[]) => void;
|
16
16
|
};
|
package/lib/circle/Circle.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
|
-
export
|
2
|
+
export type CircleStartPosition = 'top' | 'right' | 'bottom' | 'left';
|
3
3
|
export declare const circleProps: {
|
4
4
|
text: StringConstructor;
|
5
5
|
size: (NumberConstructor | StringConstructor)[];
|
@@ -35,7 +35,7 @@ export declare const circleProps: {
|
|
35
35
|
default: CircleStartPosition;
|
36
36
|
};
|
37
37
|
};
|
38
|
-
export
|
38
|
+
export type CircleProps = ExtractPropTypes<typeof circleProps>;
|
39
39
|
declare const _default: import("vue").DefineComponent<{
|
40
40
|
text: StringConstructor;
|
41
41
|
size: (NumberConstructor | StringConstructor)[];
|
package/lib/circle/types.d.ts
CHANGED
package/lib/col/Col.d.ts
CHANGED
@@ -10,7 +10,7 @@ export declare const colProps: {
|
|
10
10
|
};
|
11
11
|
offset: (NumberConstructor | StringConstructor)[];
|
12
12
|
};
|
13
|
-
export
|
13
|
+
export type ColProps = ExtractPropTypes<typeof colProps>;
|
14
14
|
declare const _default: import("vue").DefineComponent<{
|
15
15
|
tag: {
|
16
16
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { type PropType, type InjectionKey, type ExtractPropTypes, type ComponentPublicInstance } from 'vue';
|
2
2
|
import { type Numeric } from '../utils';
|
3
|
-
export
|
3
|
+
export type CollapseProvide = {
|
4
4
|
toggle: (name: Numeric, expanded: boolean) => void;
|
5
5
|
isExpanded: (name: Numeric) => boolean;
|
6
6
|
};
|
7
|
-
export
|
7
|
+
export type CollapseToggleAllOptions = boolean | {
|
8
8
|
expanded?: boolean;
|
9
9
|
skipDisabled?: boolean;
|
10
10
|
};
|
@@ -20,8 +20,8 @@ export declare const collapseProps: {
|
|
20
20
|
default: string;
|
21
21
|
};
|
22
22
|
};
|
23
|
-
export
|
24
|
-
export
|
23
|
+
export type CollapseProps = ExtractPropTypes<typeof collapseProps>;
|
24
|
+
export type CollapseInstance = ComponentPublicInstance<{
|
25
25
|
toggleAll: (options?: boolean | CollapseToggleAllOptions) => void;
|
26
26
|
}>;
|
27
27
|
declare const _default: import("vue").DefineComponent<{
|
@@ -39,7 +39,7 @@ export declare const collapseItemProps: {
|
|
39
39
|
default: true;
|
40
40
|
};
|
41
41
|
};
|
42
|
-
export
|
42
|
+
export type CollapseItemProps = ExtractPropTypes<typeof collapseItemProps>;
|
43
43
|
declare const _default: import("vue").DefineComponent<{
|
44
44
|
tag: {
|
45
45
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
@@ -119,12 +119,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
119
119
|
default: true;
|
120
120
|
};
|
121
121
|
}>>, {
|
122
|
-
required: boolean;
|
123
122
|
tag: keyof HTMLElementTagNameMap;
|
124
123
|
center: boolean;
|
125
124
|
disabled: boolean;
|
126
125
|
isLink: boolean;
|
127
126
|
border: boolean;
|
127
|
+
required: boolean;
|
128
128
|
clickable: boolean | null;
|
129
129
|
readonly: boolean;
|
130
130
|
lazyRender: boolean;
|
@@ -77,12 +77,12 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
|
|
77
77
|
default: true;
|
78
78
|
};
|
79
79
|
}>>, {
|
80
|
-
required: boolean;
|
81
80
|
tag: keyof HTMLElementTagNameMap;
|
82
81
|
center: boolean;
|
83
82
|
disabled: boolean;
|
84
83
|
isLink: boolean;
|
85
84
|
border: boolean;
|
85
|
+
required: boolean;
|
86
86
|
clickable: boolean | null;
|
87
87
|
readonly: boolean;
|
88
88
|
lazyRender: boolean;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
2
2
|
import type { CollapseItemProps } from './CollapseItem';
|
3
|
-
export
|
3
|
+
export type CollapseItemExpose = {
|
4
4
|
toggle: (newValue?: boolean) => void;
|
5
5
|
};
|
6
|
-
export
|
7
|
-
export
|
6
|
+
export type CollapseItemInstance = ComponentPublicInstance<CollapseItemProps, CollapseItemExpose>;
|
7
|
+
export type CollapseItemThemeVars = {
|
8
8
|
collapseItemDuration?: string;
|
9
9
|
collapseItemContentPadding?: string;
|
10
10
|
collapseItemContentFontSize?: string;
|
@@ -8,6 +8,6 @@ export declare const routeProps: {
|
|
8
8
|
url: StringConstructor;
|
9
9
|
replace: BooleanConstructor;
|
10
10
|
};
|
11
|
-
export
|
11
|
+
export type RouteProps = ExtractPropTypes<typeof routeProps>;
|
12
12
|
export declare function route({ to, url, replace, $router: router, }: ComponentPublicInstance<RouteProps>): void;
|
13
13
|
export declare function useRoute(): () => void;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
|
2
2
|
import { type Numeric } from '../utils';
|
3
|
-
export
|
4
|
-
export
|
3
|
+
export type ConfigProviderTheme = 'light' | 'dark';
|
4
|
+
export type ConfigProviderProvide = {
|
5
5
|
iconPrefix?: string;
|
6
6
|
};
|
7
7
|
export declare const CONFIG_PROVIDER_KEY: InjectionKey<ConfigProviderProvide>;
|
8
|
-
export
|
8
|
+
export type ThemeVars = PropType<Record<string, Numeric>>;
|
9
9
|
export declare const configProviderProps: {
|
10
10
|
tag: {
|
11
11
|
type: PropType<keyof HTMLElementTagNameMap>;
|
@@ -21,7 +21,7 @@ export declare const configProviderProps: {
|
|
21
21
|
themeVarsLight: ThemeVars;
|
22
22
|
iconPrefix: StringConstructor;
|
23
23
|
};
|
24
|
-
export
|
24
|
+
export type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>;
|
25
25
|
declare const _default: import("vue").DefineComponent<{
|
26
26
|
tag: {
|
27
27
|
type: PropType<keyof HTMLElementTagNameMap>;
|
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export type ConfigProviderThemeVars = import('../action-bar').ActionBarThemeVars & import('../action-bar-button').ActionBarButtonThemeVars & import('../action-bar-icon').ActionBarIconThemeVars & import('../action-sheet').ActionSheetThemeVars & import('../address-edit').AddressEditThemeVars & import('../address-list').AddressListThemeVars & import('../badge').BadgeThemeVars & import('../button').ButtonThemeVars & import('../calendar').CalendarThemeVars & import('../card').CardThemeVars & import('../cascader').CascaderThemeVars & import('../cell').CellThemeVars & import('../cell-group').CellGroupThemeVars & import('../checkbox').CheckboxThemeVars & import('../circle').CircleThemeVars & import('../collapse-item').CollapseItemThemeVars & import('../contact-card').ContactCardThemeVars & import('../contact-edit').ContactEditThemeVars & import('../contact-list').ContactListThemeVars & import('../count-down').CountDownThemeVars & import('../coupon').CouponThemeVars & import('../coupon-cell').CouponCellThemeVars & import('../coupon-list').CouponListThemeVars & import('../dialog').DialogThemeVars & import('../divider').DividerThemeVars & import('../dropdown-item').DropdownItemThemeVars & import('../dropdown-menu').DropdownMenuThemeVars & import('../empty').EmptyThemeVars & import('../field').FieldThemeVars & import('../grid-item').GridItemThemeVars & import('../image').ImageThemeVars & import('../image-preview').ImagePreviewThemeVars & import('../index-anchor').IndexAnchorThemeVars & import('../index-bar').IndexBarThemeVars & import('../list').ListThemeVars & import('../loading').LoadingThemeVars & import('../nav-bar').NavBarThemeVars & import('../notice-bar').NoticeBarThemeVars & import('../notify').NotifyThemeVars & import('../number-keyboard').NumberKeyboardThemeVars & import('../overlay').OverlayThemeVars & import('../pagination').PaginationThemeVars & import('../password-input').PasswordInputThemeVars & import('../picker').PickerThemeVars & import('../picker-group').PickerGroupThemeVars & import('../popover').PopoverThemeVars & import('../popup').PopupThemeVars & import('../progress').ProgressThemeVars & import('../pull-refresh').PullRefreshThemeVars & import('../radio').RadioThemeVars & import('../rate').RateThemeVars & import('../search').SearchThemeVars & import('../share-sheet').ShareSheetThemeVars & import('../sidebar').SidebarThemeVars & import('../sidebar-item').SidebarItemThemeVars & import('../skeleton').SkeletonThemeVars & import('../slider').SliderThemeVars & import('../step').StepThemeVars & import('../stepper').StepperThemeVars & import('../steps').StepsThemeVars & import('../sticky').StickyThemeVars & import('../submit-bar').SubmitBarThemeVars & import('../swipe').SwipeThemeVars & import('../switch').SwitchThemeVars & import('../tabbar').TabbarThemeVars & import('../tabbar-item').TabbarItemThemeVars & import('../tabs').TabsThemeVars & import('../tag').TagThemeVars & import('../toast').ToastThemeVars & import('../tree-select').TreeSelectThemeVars & import('../uploader').UploaderThemeVars;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type ExtractPropTypes } from 'vue';
|
2
|
-
export
|
2
|
+
export type ContactCardType = 'add' | 'edit';
|
3
3
|
export declare const contactCardProps: {
|
4
4
|
tel: StringConstructor;
|
5
5
|
name: StringConstructor;
|
@@ -13,7 +13,7 @@ export declare const contactCardProps: {
|
|
13
13
|
default: true;
|
14
14
|
};
|
15
15
|
};
|
16
|
-
export
|
16
|
+
export type ContactCardProps = ExtractPropTypes<typeof contactCardProps>;
|
17
17
|
declare const _default: import("vue").DefineComponent<{
|
18
18
|
tel: StringConstructor;
|
19
19
|
name: StringConstructor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { isMobile } from '../utils';
|
3
|
-
export
|
3
|
+
export type ContactEditInfo = {
|
4
4
|
tel: string;
|
5
5
|
name: string;
|
6
6
|
isDefault?: boolean;
|
@@ -20,7 +20,7 @@ export declare const contactEditProps: {
|
|
20
20
|
default: typeof isMobile;
|
21
21
|
};
|
22
22
|
};
|
23
|
-
export
|
23
|
+
export type ContactEditProps = ExtractPropTypes<typeof contactEditProps>;
|
24
24
|
declare const _default: import("vue").DefineComponent<{
|
25
25
|
isEdit: BooleanConstructor;
|
26
26
|
isSaving: BooleanConstructor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { type Numeric } from '../utils';
|
3
|
-
export
|
3
|
+
export type ContactListItem = {
|
4
4
|
id?: Numeric;
|
5
5
|
tel: Numeric;
|
6
6
|
name: string;
|
@@ -12,7 +12,7 @@ export declare const contactListProps: {
|
|
12
12
|
modelValue: PropType<unknown>;
|
13
13
|
defaultTagText: StringConstructor;
|
14
14
|
};
|
15
|
-
export
|
15
|
+
export type ContactListProps = ExtractPropTypes<typeof contactListProps>;
|
16
16
|
declare const _default: import("vue").DefineComponent<{
|
17
17
|
list: PropType<ContactListItem[]>;
|
18
18
|
addText: StringConstructor;
|
@@ -14,7 +14,7 @@ export declare const countDownProps: {
|
|
14
14
|
};
|
15
15
|
millisecond: BooleanConstructor;
|
16
16
|
};
|
17
|
-
export
|
17
|
+
export type CountDownProps = ExtractPropTypes<typeof countDownProps>;
|
18
18
|
declare const _default: import("vue").DefineComponent<{
|
19
19
|
time: {
|
20
20
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
2
2
|
import type { CurrentTime } from '@vant/use';
|
3
3
|
import type { CountDownProps } from './CountDown';
|
4
|
-
|
4
|
+
type CountDownExpose = {
|
5
5
|
start: () => void;
|
6
6
|
pause: () => void;
|
7
7
|
reset: () => void;
|
8
8
|
};
|
9
|
-
export
|
10
|
-
export
|
11
|
-
export
|
9
|
+
export type CountDownInstance = ComponentPublicInstance<CountDownProps, CountDownExpose>;
|
10
|
+
export type CountDownCurrentTime = CurrentTime;
|
11
|
+
export type CountDownThemeVars = {
|
12
12
|
countDownTextColor?: string;
|
13
13
|
countDownFontSize?: string;
|
14
14
|
countDownLineHeight?: number | string;
|
package/lib/coupon/Coupon.d.ts
CHANGED
package/lib/coupon/types.d.ts
CHANGED
@@ -23,7 +23,7 @@ export declare const couponCellProps: {
|
|
23
23
|
default: number;
|
24
24
|
};
|
25
25
|
};
|
26
|
-
export
|
26
|
+
export type CouponCellProps = ExtractPropTypes<typeof couponCellProps>;
|
27
27
|
declare const _default: import("vue").DefineComponent<{
|
28
28
|
title: StringConstructor;
|
29
29
|
border: {
|