vant 3.3.7 → 3.4.0
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 +2 -2
- package/es/action-bar/index.d.ts +6 -1
- package/es/action-bar-button/ActionBarButton.d.ts +4 -4
- package/es/action-bar-button/index.d.ts +8 -3
- package/es/action-bar-icon/ActionBarIcon.d.ts +69 -8
- package/es/action-bar-icon/ActionBarIcon.js +8 -5
- package/es/action-bar-icon/index.d.ts +49 -3
- package/es/action-sheet/ActionSheet.d.ts +2 -2
- package/es/action-sheet/ActionSheet.js +27 -15
- package/es/action-sheet/index.d.ts +6 -1
- package/es/address-edit/AddressEdit.d.ts +2 -2
- package/es/address-edit/AddressEditDetail.d.ts +2 -2
- package/es/address-edit/index.d.ts +6 -1
- package/es/address-list/AddressList.d.ts +2 -2
- package/es/address-list/AddressListItem.d.ts +2 -2
- package/es/address-list/index.d.ts +6 -1
- package/es/area/Area.d.ts +2 -2
- package/es/area/index.d.ts +6 -1
- package/es/badge/Badge.d.ts +3 -3
- package/es/badge/index.d.ts +7 -2
- package/es/button/Button.d.ts +4 -4
- package/es/button/index.d.ts +8 -3
- package/es/calendar/Calendar.d.ts +3 -3
- package/es/calendar/CalendarDay.d.ts +2 -2
- package/es/calendar/CalendarHeader.d.ts +1 -1
- package/es/calendar/CalendarMonth.d.ts +4 -4
- package/es/calendar/index.d.ts +7 -2
- package/es/card/Card.d.ts +2 -2
- package/es/card/index.d.ts +6 -1
- package/es/cascader/Cascader.d.ts +2 -2
- package/es/cascader/Cascader.js +1 -1
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +6 -1
- package/es/cascader/index.less +0 -10
- package/es/cell/Cell.d.ts +2 -2
- package/es/cell/index.d.ts +6 -1
- package/es/cell-group/CellGroup.d.ts +2 -2
- package/es/cell-group/index.d.ts +6 -1
- package/es/checkbox/Checkbox.d.ts +2 -2
- package/es/checkbox/Checker.d.ts +2 -2
- package/es/checkbox/index.d.ts +6 -1
- package/es/checkbox-group/CheckboxGroup.d.ts +2 -2
- package/es/checkbox-group/index.d.ts +6 -1
- package/es/circle/Circle.d.ts +2 -2
- package/es/circle/index.d.ts +6 -1
- package/es/col/Col.d.ts +2 -2
- package/es/col/index.d.ts +6 -1
- package/es/collapse/Collapse.d.ts +2 -2
- package/es/collapse/index.d.ts +6 -1
- package/es/collapse-item/CollapseItem.d.ts +2 -2
- package/es/collapse-item/index.d.ts +6 -1
- package/es/composables/use-refs.js +9 -2
- package/es/composables/use-route.d.ts +1 -1
- package/es/composables/use-touch.js +7 -6
- package/es/config-provider/ConfigProvider.d.ts +2 -2
- package/es/config-provider/index.d.ts +6 -1
- package/es/contact-card/ContactCard.d.ts +2 -2
- package/es/contact-card/index.d.ts +6 -1
- package/es/contact-edit/ContactEdit.d.ts +2 -2
- package/es/contact-edit/index.d.ts +6 -1
- package/es/contact-list/ContactList.d.ts +2 -2
- package/es/contact-list/index.d.ts +6 -1
- package/es/count-down/CountDown.d.ts +2 -2
- package/es/count-down/index.d.ts +6 -1
- package/es/coupon/Coupon.d.ts +2 -2
- package/es/coupon/index.d.ts +6 -1
- package/es/coupon-cell/CouponCell.d.ts +2 -2
- package/es/coupon-cell/index.d.ts +6 -1
- package/es/coupon-list/CouponList.d.ts +2 -2
- package/es/coupon-list/index.d.ts +6 -1
- package/es/datetime-picker/DatePicker.d.ts +1 -1
- package/es/datetime-picker/DatetimePicker.d.ts +2 -2
- package/es/datetime-picker/TimePicker.d.ts +1 -1
- package/es/datetime-picker/index.d.ts +6 -1
- package/es/datetime-picker/utils.d.ts +1 -1
- package/es/dialog/Dialog.d.ts +2 -2
- package/es/dialog/function-call.d.ts +1 -1
- package/es/dialog/index.d.ts +5 -0
- package/es/divider/Divider.d.ts +2 -2
- package/es/divider/index.d.ts +6 -1
- package/es/dropdown-item/DropdownItem.d.ts +2 -2
- package/es/dropdown-item/index.d.ts +6 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/es/dropdown-menu/index.d.ts +6 -1
- package/es/empty/Empty.d.ts +2 -2
- package/es/empty/index.d.ts +6 -1
- package/es/field/Field.d.ts +2 -2
- package/es/field/index.d.ts +6 -1
- package/es/field/types.d.ts +1 -1
- package/es/form/Form.d.ts +2 -2
- package/es/form/index.d.ts +6 -1
- package/es/grid/Grid.d.ts +2 -2
- package/es/grid/index.d.ts +6 -1
- package/es/grid-item/GridItem.d.ts +66 -5
- package/es/grid-item/GridItem.js +8 -6
- package/es/grid-item/index.d.ts +48 -2
- package/es/icon/Icon.d.ts +66 -5
- package/es/icon/Icon.js +7 -6
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +48 -2
- package/es/image/Image.d.ts +2 -2
- package/es/image/index.d.ts +6 -1
- package/es/image-preview/ImagePreview.d.ts +6 -2
- package/es/image-preview/ImagePreview.js +2 -1
- package/es/image-preview/ImagePreviewItem.d.ts +1 -1
- package/es/image-preview/function-call.d.ts +4 -1
- package/es/image-preview/function-call.js +1 -0
- package/es/image-preview/index.d.ts +5 -0
- package/es/image-preview/types.d.ts +1 -0
- package/es/index-anchor/IndexAnchor.d.ts +2 -2
- package/es/index-anchor/index.d.ts +6 -1
- package/es/index-bar/IndexBar.d.ts +2 -2
- package/es/index-bar/index.d.ts +6 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/list/List.d.ts +2 -2
- package/es/list/index.d.ts +6 -1
- package/es/loading/Loading.d.ts +2 -2
- package/es/loading/index.d.ts +6 -1
- package/es/nav-bar/NavBar.d.ts +2 -2
- package/es/nav-bar/index.d.ts +6 -1
- package/es/notice-bar/NoticeBar.d.ts +2 -2
- package/es/notice-bar/index.d.ts +6 -1
- package/es/notify/Notify.d.ts +14 -3
- package/es/notify/Notify.js +2 -1
- package/es/notify/function-call.d.ts +9 -2
- package/es/notify/function-call.js +1 -0
- package/es/notify/index.d.ts +5 -0
- package/es/notify/types.d.ts +2 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/es/number-keyboard/NumberKeyboardKey.d.ts +3 -3
- package/es/number-keyboard/index.d.ts +6 -1
- package/es/overlay/Overlay.d.ts +2 -2
- package/es/overlay/index.d.ts +6 -1
- package/es/pagination/Pagination.d.ts +2 -2
- package/es/pagination/index.d.ts +6 -1
- package/es/password-input/PasswordInput.d.ts +2 -2
- package/es/password-input/index.d.ts +6 -1
- package/es/picker/Picker.d.ts +2 -2
- package/es/picker/Picker.js +21 -13
- package/es/picker/PickerColumn.d.ts +1 -1
- package/es/picker/index.d.ts +6 -1
- package/es/popover/Popover.d.ts +2 -2
- package/es/popover/Popover.js +19 -9
- package/es/popover/index.d.ts +6 -1
- package/es/popup/Popup.d.ts +3 -4
- package/es/popup/Popup.js +7 -4
- package/es/popup/index.d.ts +16 -10
- package/es/popup/shared.d.ts +1 -1
- package/es/popup/types.d.ts +5 -0
- package/es/popup/types.js +1 -0
- package/es/progress/Progress.d.ts +2 -2
- package/es/progress/index.d.ts +6 -1
- package/es/pull-refresh/PullRefresh.d.ts +2 -2
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +6 -1
- package/es/pull-refresh/index.less +0 -1
- package/es/radio/Radio.d.ts +2 -2
- package/es/radio/index.d.ts +6 -1
- package/es/radio-group/RadioGroup.d.ts +2 -2
- package/es/radio-group/index.d.ts +6 -1
- package/es/rate/Rate.d.ts +2 -2
- package/es/rate/index.d.ts +6 -1
- package/es/row/Row.d.ts +2 -2
- package/es/row/index.d.ts +6 -1
- package/es/search/Search.d.ts +8 -2
- package/es/search/Search.js +19 -1
- package/es/search/index.d.ts +12 -1
- package/es/share-sheet/ShareSheet.d.ts +2 -2
- package/es/share-sheet/index.d.ts +6 -1
- package/es/sidebar/Sidebar.d.ts +2 -2
- package/es/sidebar/index.d.ts +6 -1
- package/es/sidebar-item/SidebarItem.d.ts +65 -4
- package/es/sidebar-item/SidebarItem.js +7 -6
- package/es/sidebar-item/index.d.ts +47 -1
- package/es/skeleton/Skeleton.d.ts +2 -2
- package/es/skeleton/index.d.ts +6 -1
- package/es/slider/Slider.d.ts +4 -4
- package/es/slider/index.d.ts +8 -3
- package/es/step/Step.d.ts +1 -1
- package/es/step/Step.js +1 -1
- package/es/step/index.d.ts +6 -1
- package/es/stepper/Stepper.d.ts +2 -2
- package/es/stepper/index.d.ts +6 -1
- package/es/steps/Steps.d.ts +2 -2
- package/es/steps/index.d.ts +6 -1
- package/es/sticky/Sticky.d.ts +2 -2
- package/es/sticky/index.d.ts +6 -1
- package/es/submit-bar/SubmitBar.d.ts +2 -2
- package/es/submit-bar/index.d.ts +6 -1
- package/es/swipe/Swipe.d.ts +2 -2
- package/es/swipe/Swipe.js +34 -30
- package/es/swipe/index.d.ts +6 -1
- package/es/swipe-cell/SwipeCell.d.ts +2 -2
- package/es/swipe-cell/SwipeCell.js +8 -5
- package/es/swipe-cell/index.d.ts +6 -1
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.d.ts +6 -1
- package/es/switch/Switch.d.ts +2 -2
- package/es/switch/index.d.ts +6 -1
- package/es/tab/Tab.d.ts +2 -2
- package/es/tab/index.d.ts +6 -1
- package/es/tabbar/Tabbar.d.ts +2 -2
- package/es/tabbar/index.d.ts +6 -1
- package/es/tabbar-item/TabbarItem.d.ts +65 -4
- package/es/tabbar-item/TabbarItem.js +6 -5
- package/es/tabbar-item/index.d.ts +47 -1
- package/es/tabs/Tabs.d.ts +7 -2
- package/es/tabs/Tabs.js +19 -11
- package/es/tabs/TabsContent.d.ts +1 -1
- package/es/tabs/TabsTitle.d.ts +6 -5
- package/es/tabs/TabsTitle.js +10 -5
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +10 -1
- package/es/tabs/index.less +43 -35
- package/es/tag/Tag.d.ts +2 -2
- package/es/tag/index.d.ts +6 -1
- package/es/toast/Toast.d.ts +2 -2
- package/es/toast/function-call.d.ts +2 -2
- package/es/toast/function-call.js +1 -1
- package/es/tree-select/TreeSelect.d.ts +2 -2
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +6 -1
- package/es/tree-select/index.less +1 -1
- package/es/uploader/Uploader.d.ts +3 -3
- package/es/uploader/UploaderPreviewItem.d.ts +2 -2
- package/es/uploader/index.d.ts +6 -1
- package/lib/action-bar/ActionBar.d.ts +2 -2
- package/lib/action-bar/index.d.ts +6 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +4 -4
- package/lib/action-bar-button/index.d.ts +8 -3
- package/lib/action-bar-icon/ActionBarIcon.d.ts +69 -8
- package/lib/action-bar-icon/ActionBarIcon.js +7 -4
- package/lib/action-bar-icon/index.d.ts +49 -3
- package/lib/action-sheet/ActionSheet.d.ts +2 -2
- package/lib/action-sheet/ActionSheet.js +27 -15
- package/lib/action-sheet/index.d.ts +6 -1
- package/lib/address-edit/AddressEdit.d.ts +2 -2
- package/lib/address-edit/AddressEditDetail.d.ts +2 -2
- package/lib/address-edit/index.d.ts +6 -1
- package/lib/address-list/AddressList.d.ts +2 -2
- package/lib/address-list/AddressListItem.d.ts +2 -2
- package/lib/address-list/index.d.ts +6 -1
- package/lib/area/Area.d.ts +2 -2
- package/lib/area/index.d.ts +6 -1
- package/lib/badge/Badge.d.ts +3 -3
- package/lib/badge/index.d.ts +7 -2
- package/lib/button/Button.d.ts +4 -4
- package/lib/button/index.d.ts +8 -3
- package/lib/calendar/Calendar.d.ts +3 -3
- package/lib/calendar/CalendarDay.d.ts +2 -2
- package/lib/calendar/CalendarHeader.d.ts +1 -1
- package/lib/calendar/CalendarMonth.d.ts +4 -4
- package/lib/calendar/index.d.ts +7 -2
- package/lib/card/Card.d.ts +2 -2
- package/lib/card/index.d.ts +6 -1
- package/lib/cascader/Cascader.d.ts +2 -2
- package/lib/cascader/Cascader.js +1 -1
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +6 -1
- package/lib/cascader/index.less +0 -10
- package/lib/cell/Cell.d.ts +2 -2
- package/lib/cell/index.d.ts +6 -1
- package/lib/cell-group/CellGroup.d.ts +2 -2
- package/lib/cell-group/index.d.ts +6 -1
- package/lib/checkbox/Checkbox.d.ts +2 -2
- package/lib/checkbox/Checker.d.ts +2 -2
- package/lib/checkbox/index.d.ts +6 -1
- package/lib/checkbox-group/CheckboxGroup.d.ts +2 -2
- package/lib/checkbox-group/index.d.ts +6 -1
- package/lib/circle/Circle.d.ts +2 -2
- package/lib/circle/index.d.ts +6 -1
- package/lib/col/Col.d.ts +2 -2
- package/lib/col/index.d.ts +6 -1
- package/lib/collapse/Collapse.d.ts +2 -2
- package/lib/collapse/index.d.ts +6 -1
- package/lib/collapse-item/CollapseItem.d.ts +2 -2
- package/lib/collapse-item/index.d.ts +6 -1
- package/lib/composables/use-refs.js +9 -2
- package/lib/composables/use-route.d.ts +1 -1
- package/lib/composables/use-touch.js +7 -7
- package/lib/config-provider/ConfigProvider.d.ts +2 -2
- package/lib/config-provider/index.d.ts +6 -1
- package/lib/contact-card/ContactCard.d.ts +2 -2
- package/lib/contact-card/index.d.ts +6 -1
- package/lib/contact-edit/ContactEdit.d.ts +2 -2
- package/lib/contact-edit/index.d.ts +6 -1
- package/lib/contact-list/ContactList.d.ts +2 -2
- package/lib/contact-list/index.d.ts +6 -1
- package/lib/count-down/CountDown.d.ts +2 -2
- package/lib/count-down/index.d.ts +6 -1
- package/lib/coupon/Coupon.d.ts +2 -2
- package/lib/coupon/index.d.ts +6 -1
- package/lib/coupon-cell/CouponCell.d.ts +2 -2
- package/lib/coupon-cell/index.d.ts +6 -1
- package/lib/coupon-list/CouponList.d.ts +2 -2
- package/lib/coupon-list/index.d.ts +6 -1
- package/lib/datetime-picker/DatePicker.d.ts +1 -1
- package/lib/datetime-picker/DatetimePicker.d.ts +2 -2
- package/lib/datetime-picker/TimePicker.d.ts +1 -1
- package/lib/datetime-picker/index.d.ts +6 -1
- package/lib/datetime-picker/utils.d.ts +1 -1
- package/lib/dialog/Dialog.d.ts +2 -2
- package/lib/dialog/function-call.d.ts +1 -1
- package/lib/dialog/index.d.ts +5 -0
- package/lib/divider/Divider.d.ts +2 -2
- package/lib/divider/index.d.ts +6 -1
- package/lib/dropdown-item/DropdownItem.d.ts +2 -2
- package/lib/dropdown-item/index.d.ts +6 -1
- package/lib/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/lib/dropdown-menu/index.d.ts +6 -1
- package/lib/empty/Empty.d.ts +2 -2
- package/lib/empty/index.d.ts +6 -1
- package/lib/field/Field.d.ts +2 -2
- package/lib/field/index.d.ts +6 -1
- package/lib/field/types.d.ts +1 -1
- package/lib/form/Form.d.ts +2 -2
- package/lib/form/index.d.ts +6 -1
- package/lib/grid/Grid.d.ts +2 -2
- package/lib/grid/index.d.ts +6 -1
- package/lib/grid-item/GridItem.d.ts +66 -5
- package/lib/grid-item/GridItem.js +7 -5
- package/lib/grid-item/index.d.ts +48 -2
- package/lib/icon/Icon.d.ts +66 -5
- package/lib/icon/Icon.js +5 -4
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +48 -2
- package/lib/image/Image.d.ts +2 -2
- package/lib/image/index.d.ts +6 -1
- package/lib/image-preview/ImagePreview.d.ts +6 -2
- package/lib/image-preview/ImagePreview.js +2 -1
- package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
- package/lib/image-preview/function-call.d.ts +4 -1
- package/lib/image-preview/function-call.js +1 -0
- package/lib/image-preview/index.d.ts +5 -0
- package/lib/image-preview/types.d.ts +1 -0
- package/lib/index-anchor/IndexAnchor.d.ts +2 -2
- package/lib/index-anchor/index.d.ts +6 -1
- package/lib/index-bar/IndexBar.d.ts +2 -2
- package/lib/index-bar/index.d.ts +6 -1
- 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 +2 -2
- package/lib/list/index.d.ts +6 -1
- package/lib/loading/Loading.d.ts +2 -2
- package/lib/loading/index.d.ts +6 -1
- package/lib/nav-bar/NavBar.d.ts +2 -2
- package/lib/nav-bar/index.d.ts +6 -1
- package/lib/notice-bar/NoticeBar.d.ts +2 -2
- package/lib/notice-bar/index.d.ts +6 -1
- package/lib/notify/Notify.d.ts +14 -3
- package/lib/notify/Notify.js +2 -1
- package/lib/notify/function-call.d.ts +9 -2
- package/lib/notify/function-call.js +1 -0
- package/lib/notify/index.d.ts +5 -0
- package/lib/notify/types.d.ts +2 -0
- package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +3 -3
- package/lib/number-keyboard/index.d.ts +6 -1
- package/lib/overlay/Overlay.d.ts +2 -2
- package/lib/overlay/index.d.ts +6 -1
- package/lib/pagination/Pagination.d.ts +2 -2
- package/lib/pagination/index.d.ts +6 -1
- package/lib/password-input/PasswordInput.d.ts +2 -2
- package/lib/password-input/index.d.ts +6 -1
- package/lib/picker/Picker.d.ts +2 -2
- package/lib/picker/Picker.js +21 -13
- package/lib/picker/PickerColumn.d.ts +1 -1
- package/lib/picker/index.d.ts +6 -1
- package/lib/popover/Popover.d.ts +2 -2
- package/lib/popover/Popover.js +18 -8
- package/lib/popover/index.d.ts +6 -1
- package/lib/popup/Popup.d.ts +3 -4
- package/lib/popup/Popup.js +5 -3
- package/lib/popup/index.d.ts +16 -10
- package/lib/popup/shared.d.ts +1 -1
- package/lib/popup/types.d.ts +5 -0
- package/lib/popup/types.js +3 -0
- package/lib/progress/Progress.d.ts +2 -2
- package/lib/progress/index.d.ts +6 -1
- package/lib/pull-refresh/PullRefresh.d.ts +2 -2
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +6 -1
- package/lib/pull-refresh/index.less +0 -1
- package/lib/radio/Radio.d.ts +2 -2
- package/lib/radio/index.d.ts +6 -1
- package/lib/radio-group/RadioGroup.d.ts +2 -2
- package/lib/radio-group/index.d.ts +6 -1
- package/lib/rate/Rate.d.ts +2 -2
- package/lib/rate/index.d.ts +6 -1
- package/lib/row/Row.d.ts +2 -2
- package/lib/row/index.d.ts +6 -1
- package/lib/search/Search.d.ts +8 -2
- package/lib/search/Search.js +19 -1
- package/lib/search/index.d.ts +12 -1
- package/lib/share-sheet/ShareSheet.d.ts +2 -2
- package/lib/share-sheet/index.d.ts +6 -1
- package/lib/sidebar/Sidebar.d.ts +2 -2
- package/lib/sidebar/index.d.ts +6 -1
- package/lib/sidebar-item/SidebarItem.d.ts +65 -4
- package/lib/sidebar-item/SidebarItem.js +6 -5
- package/lib/sidebar-item/index.d.ts +47 -1
- package/lib/skeleton/Skeleton.d.ts +2 -2
- package/lib/skeleton/index.d.ts +6 -1
- package/lib/slider/Slider.d.ts +4 -4
- package/lib/slider/index.d.ts +8 -3
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/Step.js +1 -1
- package/lib/step/index.d.ts +6 -1
- package/lib/stepper/Stepper.d.ts +2 -2
- package/lib/stepper/index.d.ts +6 -1
- package/lib/steps/Steps.d.ts +2 -2
- package/lib/steps/index.d.ts +6 -1
- package/lib/sticky/Sticky.d.ts +2 -2
- package/lib/sticky/index.d.ts +6 -1
- package/lib/submit-bar/SubmitBar.d.ts +2 -2
- package/lib/submit-bar/index.d.ts +6 -1
- package/lib/swipe/Swipe.d.ts +2 -2
- package/lib/swipe/Swipe.js +34 -30
- package/lib/swipe/index.d.ts +6 -1
- package/lib/swipe-cell/SwipeCell.d.ts +2 -2
- package/lib/swipe-cell/SwipeCell.js +8 -5
- package/lib/swipe-cell/index.d.ts +6 -1
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.d.ts +6 -1
- package/lib/switch/Switch.d.ts +2 -2
- package/lib/switch/index.d.ts +6 -1
- package/lib/tab/Tab.d.ts +2 -2
- package/lib/tab/index.d.ts +6 -1
- package/lib/tabbar/Tabbar.d.ts +2 -2
- package/lib/tabbar/index.d.ts +6 -1
- package/lib/tabbar-item/TabbarItem.d.ts +65 -4
- package/lib/tabbar-item/TabbarItem.js +5 -4
- package/lib/tabbar-item/index.d.ts +47 -1
- package/lib/tabs/Tabs.d.ts +7 -2
- package/lib/tabs/Tabs.js +18 -10
- package/lib/tabs/TabsContent.d.ts +1 -1
- package/lib/tabs/TabsTitle.d.ts +6 -5
- package/lib/tabs/TabsTitle.js +10 -5
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +10 -1
- package/lib/tabs/index.less +43 -35
- package/lib/tag/Tag.d.ts +2 -2
- package/lib/tag/index.d.ts +6 -1
- package/lib/toast/Toast.d.ts +2 -2
- package/lib/toast/function-call.d.ts +2 -2
- package/lib/tree-select/TreeSelect.d.ts +2 -2
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +6 -1
- package/lib/tree-select/index.less +1 -1
- package/lib/uploader/Uploader.d.ts +3 -3
- package/lib/uploader/UploaderPreviewItem.d.ts +2 -2
- package/lib/uploader/index.d.ts +6 -1
- package/lib/vant.cjs.js +190 -117
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +191 -118
- package/lib/vant.es.min.js +191 -118
- package/lib/vant.js +190 -117
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +178 -147
- package/vetur/tags.json +48 -41
- package/vetur/web-types.json +491 -403
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
1
|
+
import { type ExtractPropTypes } from 'vue';
|
2
2
|
export declare const ACTION_BAR_KEY: unique symbol;
|
3
3
|
declare const actionBarProps: {
|
4
4
|
safeAreaInsetBottom: {
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
12
12
|
type: BooleanConstructor;
|
13
13
|
default: true;
|
14
14
|
};
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
15
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
16
16
|
safeAreaInsetBottom?: unknown;
|
17
17
|
} & {
|
18
18
|
safeAreaInsetBottom: boolean;
|
package/es/action-bar/index.d.ts
CHANGED
@@ -3,7 +3,7 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
|
|
3
3
|
type: BooleanConstructor;
|
4
4
|
default: true;
|
5
5
|
};
|
6
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
6
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
7
7
|
safeAreaInsetBottom?: unknown;
|
8
8
|
} & {
|
9
9
|
safeAreaInsetBottom: boolean;
|
@@ -12,3 +12,8 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
|
|
12
12
|
}>>;
|
13
13
|
export default ActionBar;
|
14
14
|
export type { ActionBarProps } from './ActionBar';
|
15
|
+
declare module 'vue' {
|
16
|
+
interface GlobalComponents {
|
17
|
+
VanActionBar: typeof ActionBar;
|
18
|
+
}
|
19
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PropType, ExtractPropTypes } from 'vue';
|
1
|
+
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { ButtonType } from '../button';
|
3
3
|
declare const actionBarButtonProps: {
|
4
4
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
24
24
|
color: StringConstructor;
|
25
25
|
loading: BooleanConstructor;
|
26
26
|
disabled: BooleanConstructor;
|
27
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
27
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
28
28
|
to?: unknown;
|
29
29
|
url?: unknown;
|
30
30
|
replace?: unknown;
|
@@ -39,11 +39,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
39
|
disabled: boolean;
|
40
40
|
loading: boolean;
|
41
41
|
} & {
|
42
|
+
url?: string | undefined;
|
42
43
|
text?: string | undefined;
|
44
|
+
color?: string | undefined;
|
43
45
|
type?: ButtonType | undefined;
|
44
|
-
url?: string | undefined;
|
45
46
|
to?: import("vue-router").RouteLocationRaw | undefined;
|
46
|
-
color?: string | undefined;
|
47
47
|
icon?: string | undefined;
|
48
48
|
}>, {
|
49
49
|
replace: boolean;
|
@@ -9,7 +9,7 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
|
|
9
9
|
color: StringConstructor;
|
10
10
|
loading: BooleanConstructor;
|
11
11
|
disabled: BooleanConstructor;
|
12
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
12
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
13
13
|
to?: unknown;
|
14
14
|
url?: unknown;
|
15
15
|
replace?: unknown;
|
@@ -24,11 +24,11 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
|
|
24
24
|
disabled: boolean;
|
25
25
|
loading: boolean;
|
26
26
|
} & {
|
27
|
+
url?: string | undefined;
|
27
28
|
text?: string | undefined;
|
29
|
+
color?: string | undefined;
|
28
30
|
type?: import("..").ButtonType | undefined;
|
29
|
-
url?: string | undefined;
|
30
31
|
to?: import("vue-router").RouteLocationRaw | undefined;
|
31
|
-
color?: string | undefined;
|
32
32
|
icon?: string | undefined;
|
33
33
|
}>, {
|
34
34
|
replace: boolean;
|
@@ -37,3 +37,8 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
|
|
37
37
|
}>>;
|
38
38
|
export default ActionBarButton;
|
39
39
|
export type { ActionBarButtonProps } from './ActionBarButton';
|
40
|
+
declare module 'vue' {
|
41
|
+
interface GlobalComponents {
|
42
|
+
VanActionBarButton: typeof ActionBarButton;
|
43
|
+
}
|
44
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
1
|
+
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
declare const actionBarIconProps: {
|
3
|
-
to:
|
3
|
+
to: PropType<import("vue-router").RouteLocationRaw>;
|
4
4
|
url: StringConstructor;
|
5
5
|
replace: BooleanConstructor;
|
6
6
|
} & {
|
@@ -9,12 +9,32 @@ declare const actionBarIconProps: {
|
|
9
9
|
icon: StringConstructor;
|
10
10
|
color: StringConstructor;
|
11
11
|
badge: (NumberConstructor | StringConstructor)[];
|
12
|
-
iconClass:
|
12
|
+
iconClass: PropType<unknown>;
|
13
|
+
badgeProps: PropType<Partial<{
|
14
|
+
dot?: unknown;
|
15
|
+
max?: unknown;
|
16
|
+
tag?: unknown;
|
17
|
+
color?: unknown;
|
18
|
+
offset?: unknown;
|
19
|
+
content?: unknown;
|
20
|
+
showZero?: unknown;
|
21
|
+
position?: unknown;
|
22
|
+
} & {
|
23
|
+
dot: boolean;
|
24
|
+
tag: keyof HTMLElementTagNameMap;
|
25
|
+
showZero: boolean;
|
26
|
+
position: import("../badge").BadgePosition;
|
27
|
+
} & {
|
28
|
+
color?: string | undefined;
|
29
|
+
max?: string | number | undefined;
|
30
|
+
offset?: [string | number, string | number] | undefined;
|
31
|
+
content?: string | number | undefined;
|
32
|
+
}>>;
|
13
33
|
iconPrefix: StringConstructor;
|
14
34
|
};
|
15
35
|
export declare type ActionBarIconProps = ExtractPropTypes<typeof actionBarIconProps>;
|
16
36
|
declare const _default: import("vue").DefineComponent<{
|
17
|
-
to:
|
37
|
+
to: PropType<import("vue-router").RouteLocationRaw>;
|
18
38
|
url: StringConstructor;
|
19
39
|
replace: BooleanConstructor;
|
20
40
|
} & {
|
@@ -23,9 +43,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
43
|
icon: StringConstructor;
|
24
44
|
color: StringConstructor;
|
25
45
|
badge: (NumberConstructor | StringConstructor)[];
|
26
|
-
iconClass:
|
46
|
+
iconClass: PropType<unknown>;
|
47
|
+
badgeProps: PropType<Partial<{
|
48
|
+
dot?: unknown;
|
49
|
+
max?: unknown;
|
50
|
+
tag?: unknown;
|
51
|
+
color?: unknown;
|
52
|
+
offset?: unknown;
|
53
|
+
content?: unknown;
|
54
|
+
showZero?: unknown;
|
55
|
+
position?: unknown;
|
56
|
+
} & {
|
57
|
+
dot: boolean;
|
58
|
+
tag: keyof HTMLElementTagNameMap;
|
59
|
+
showZero: boolean;
|
60
|
+
position: import("../badge").BadgePosition;
|
61
|
+
} & {
|
62
|
+
color?: string | undefined;
|
63
|
+
max?: string | number | undefined;
|
64
|
+
offset?: [string | number, string | number] | undefined;
|
65
|
+
content?: string | number | undefined;
|
66
|
+
}>>;
|
27
67
|
iconPrefix: StringConstructor;
|
28
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
68
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
29
69
|
to?: unknown;
|
30
70
|
url?: unknown;
|
31
71
|
replace?: unknown;
|
@@ -35,18 +75,39 @@ declare const _default: import("vue").DefineComponent<{
|
|
35
75
|
color?: unknown;
|
36
76
|
badge?: unknown;
|
37
77
|
iconClass?: unknown;
|
78
|
+
badgeProps?: unknown;
|
38
79
|
iconPrefix?: unknown;
|
39
80
|
} & {
|
40
81
|
replace: boolean;
|
41
82
|
dot: boolean;
|
42
83
|
} & {
|
43
|
-
text?: string | undefined;
|
44
84
|
url?: string | undefined;
|
85
|
+
text?: string | undefined;
|
86
|
+
color?: string | undefined;
|
45
87
|
to?: import("vue-router").RouteLocationRaw | undefined;
|
46
88
|
badge?: string | number | undefined;
|
47
|
-
color?: string | undefined;
|
48
89
|
iconPrefix?: string | undefined;
|
49
90
|
icon?: string | undefined;
|
91
|
+
badgeProps?: Partial<{
|
92
|
+
dot?: unknown;
|
93
|
+
max?: unknown;
|
94
|
+
tag?: unknown;
|
95
|
+
color?: unknown;
|
96
|
+
offset?: unknown;
|
97
|
+
content?: unknown;
|
98
|
+
showZero?: unknown;
|
99
|
+
position?: unknown;
|
100
|
+
} & {
|
101
|
+
dot: boolean;
|
102
|
+
tag: keyof HTMLElementTagNameMap;
|
103
|
+
showZero: boolean;
|
104
|
+
position: import("../badge").BadgePosition;
|
105
|
+
} & {
|
106
|
+
color?: string | undefined;
|
107
|
+
max?: string | number | undefined;
|
108
|
+
offset?: [string | number, string | number] | undefined;
|
109
|
+
content?: string | number | undefined;
|
110
|
+
}> | undefined;
|
50
111
|
iconClass?: unknown;
|
51
112
|
}>, {
|
52
113
|
replace: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createVNode as _createVNode, resolveDirective as _resolveDirective } from "vue";
|
1
|
+
import { createVNode as _createVNode, mergeProps as _mergeProps, resolveDirective as _resolveDirective } from "vue";
|
2
2
|
import { defineComponent } from 'vue';
|
3
3
|
import { extend, createNamespace, unknownProp, numericProp } from '../utils';
|
4
4
|
import { ACTION_BAR_KEY } from '../action-bar/ActionBar'; // Composables
|
@@ -16,6 +16,7 @@ var actionBarIconProps = extend({}, routeProps, {
|
|
16
16
|
color: String,
|
17
17
|
badge: numericProp,
|
18
18
|
iconClass: unknownProp,
|
19
|
+
badgeProps: Object,
|
19
20
|
iconPrefix: String
|
20
21
|
});
|
21
22
|
export default defineComponent({
|
@@ -36,15 +37,16 @@ export default defineComponent({
|
|
36
37
|
icon,
|
37
38
|
color,
|
38
39
|
iconClass,
|
40
|
+
badgeProps,
|
39
41
|
iconPrefix
|
40
42
|
} = props;
|
41
43
|
|
42
44
|
if (slots.icon) {
|
43
|
-
return _createVNode(Badge, {
|
45
|
+
return _createVNode(Badge, _mergeProps({
|
44
46
|
"dot": dot,
|
45
|
-
"
|
46
|
-
"
|
47
|
-
}, {
|
47
|
+
"class": bem('icon'),
|
48
|
+
"content": badge
|
49
|
+
}, badgeProps), {
|
48
50
|
default: slots.icon
|
49
51
|
});
|
50
52
|
}
|
@@ -56,6 +58,7 @@ export default defineComponent({
|
|
56
58
|
"badge": badge,
|
57
59
|
"color": color,
|
58
60
|
"class": [bem('icon'), iconClass],
|
61
|
+
"badgeProps": badgeProps,
|
59
62
|
"classPrefix": iconPrefix
|
60
63
|
}, null);
|
61
64
|
};
|
@@ -9,8 +9,28 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
|
|
9
9
|
color: StringConstructor;
|
10
10
|
badge: (NumberConstructor | StringConstructor)[];
|
11
11
|
iconClass: import("vue").PropType<unknown>;
|
12
|
+
badgeProps: import("vue").PropType<Partial<{
|
13
|
+
dot?: unknown;
|
14
|
+
max?: unknown;
|
15
|
+
tag?: unknown;
|
16
|
+
color?: unknown;
|
17
|
+
offset?: unknown;
|
18
|
+
content?: unknown;
|
19
|
+
showZero?: unknown;
|
20
|
+
position?: unknown;
|
21
|
+
} & {
|
22
|
+
dot: boolean;
|
23
|
+
tag: keyof HTMLElementTagNameMap;
|
24
|
+
showZero: boolean;
|
25
|
+
position: import("..").BadgePosition;
|
26
|
+
} & {
|
27
|
+
color?: string | undefined;
|
28
|
+
max?: string | number | undefined;
|
29
|
+
offset?: [string | number, string | number] | undefined;
|
30
|
+
content?: string | number | undefined;
|
31
|
+
}>>;
|
12
32
|
iconPrefix: StringConstructor;
|
13
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
33
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
14
34
|
to?: unknown;
|
15
35
|
url?: unknown;
|
16
36
|
replace?: unknown;
|
@@ -20,18 +40,39 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
|
|
20
40
|
color?: unknown;
|
21
41
|
badge?: unknown;
|
22
42
|
iconClass?: unknown;
|
43
|
+
badgeProps?: unknown;
|
23
44
|
iconPrefix?: unknown;
|
24
45
|
} & {
|
25
46
|
replace: boolean;
|
26
47
|
dot: boolean;
|
27
48
|
} & {
|
28
|
-
text?: string | undefined;
|
29
49
|
url?: string | undefined;
|
50
|
+
text?: string | undefined;
|
51
|
+
color?: string | undefined;
|
30
52
|
to?: import("vue-router").RouteLocationRaw | undefined;
|
31
53
|
badge?: string | number | undefined;
|
32
|
-
color?: string | undefined;
|
33
54
|
iconPrefix?: string | undefined;
|
34
55
|
icon?: string | undefined;
|
56
|
+
badgeProps?: Partial<{
|
57
|
+
dot?: unknown;
|
58
|
+
max?: unknown;
|
59
|
+
tag?: unknown;
|
60
|
+
color?: unknown;
|
61
|
+
offset?: unknown;
|
62
|
+
content?: unknown;
|
63
|
+
showZero?: unknown;
|
64
|
+
position?: unknown;
|
65
|
+
} & {
|
66
|
+
dot: boolean;
|
67
|
+
tag: keyof HTMLElementTagNameMap;
|
68
|
+
showZero: boolean;
|
69
|
+
position: import("..").BadgePosition;
|
70
|
+
} & {
|
71
|
+
color?: string | undefined;
|
72
|
+
max?: string | number | undefined;
|
73
|
+
offset?: [string | number, string | number] | undefined;
|
74
|
+
content?: string | number | undefined;
|
75
|
+
}> | undefined;
|
35
76
|
iconClass?: unknown;
|
36
77
|
}>, {
|
37
78
|
replace: boolean;
|
@@ -39,3 +80,8 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
|
|
39
80
|
}>>;
|
40
81
|
export default ActionBarIcon;
|
41
82
|
export type { ActionBarIconProps } from './ActionBarIcon';
|
83
|
+
declare module 'vue' {
|
84
|
+
interface GlobalComponents {
|
85
|
+
VanActionBarIcon: typeof ActionBarIcon;
|
86
|
+
}
|
87
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
1
|
+
import { type ExtractPropTypes } from 'vue';
|
2
2
|
export declare type ActionSheetAction = {
|
3
3
|
name?: string;
|
4
4
|
color?: string;
|
@@ -118,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
118
118
|
type: BooleanConstructor;
|
119
119
|
default: true;
|
120
120
|
};
|
121
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "cancel")[], "select" | "update:show" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
121
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "cancel")[], "select" | "update:show" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
122
122
|
show?: unknown;
|
123
123
|
zIndex?: unknown;
|
124
124
|
overlay?: unknown;
|
@@ -63,23 +63,35 @@ export default defineComponent({
|
|
63
63
|
}
|
64
64
|
};
|
65
65
|
|
66
|
-
var
|
66
|
+
var renderActionContent = (action, index) => {
|
67
|
+
if (action.loading) {
|
68
|
+
return _createVNode(Loading, {
|
69
|
+
"class": bem('loading-icon')
|
70
|
+
}, null);
|
71
|
+
}
|
72
|
+
|
73
|
+
if (slots.action) {
|
74
|
+
return slots.action({
|
75
|
+
action,
|
76
|
+
index
|
77
|
+
});
|
78
|
+
}
|
79
|
+
|
80
|
+
return [_createVNode("span", {
|
81
|
+
"class": bem('name')
|
82
|
+
}, [action.name]), action.subname && _createVNode("div", {
|
83
|
+
"class": bem('subname')
|
84
|
+
}, [action.subname])];
|
85
|
+
};
|
86
|
+
|
87
|
+
var renderAction = (action, index) => {
|
67
88
|
var {
|
68
|
-
name,
|
69
89
|
color,
|
70
|
-
subname,
|
71
90
|
loading,
|
72
91
|
callback,
|
73
92
|
disabled,
|
74
93
|
className
|
75
|
-
} =
|
76
|
-
var Content = loading ? _createVNode(Loading, {
|
77
|
-
"class": bem('loading-icon')
|
78
|
-
}, null) : [_createVNode("span", {
|
79
|
-
"class": bem('name')
|
80
|
-
}, [name]), subname && _createVNode("div", {
|
81
|
-
"class": bem('subname')
|
82
|
-
}, [subname])];
|
94
|
+
} = action;
|
83
95
|
|
84
96
|
var onClick = () => {
|
85
97
|
if (disabled || loading) {
|
@@ -87,14 +99,14 @@ export default defineComponent({
|
|
87
99
|
}
|
88
100
|
|
89
101
|
if (callback) {
|
90
|
-
callback(
|
102
|
+
callback(action);
|
91
103
|
}
|
92
104
|
|
93
105
|
if (props.closeOnClickAction) {
|
94
106
|
updateShow(false);
|
95
107
|
}
|
96
108
|
|
97
|
-
nextTick(() => emit('select',
|
109
|
+
nextTick(() => emit('select', action, index));
|
98
110
|
};
|
99
111
|
|
100
112
|
return _createVNode("button", {
|
@@ -107,7 +119,7 @@ export default defineComponent({
|
|
107
119
|
disabled
|
108
120
|
}), className],
|
109
121
|
"onClick": onClick
|
110
|
-
}, [
|
122
|
+
}, [renderActionContent(action, index)]);
|
111
123
|
};
|
112
124
|
|
113
125
|
var renderDescription = () => {
|
@@ -126,7 +138,7 @@ export default defineComponent({
|
|
126
138
|
}, pick(props, popupInheritKeys)), {
|
127
139
|
default: () => [renderHeader(), renderDescription(), _createVNode("div", {
|
128
140
|
"class": bem('content')
|
129
|
-
}, [props.actions.map(
|
141
|
+
}, [props.actions.map(renderAction), slots.default == null ? void 0 : slots.default()]), renderCancel()]
|
130
142
|
});
|
131
143
|
}
|
132
144
|
|
@@ -52,7 +52,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
|
|
52
52
|
type: BooleanConstructor;
|
53
53
|
default: true;
|
54
54
|
};
|
55
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "cancel")[], "select" | "update:show" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
55
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "cancel")[], "select" | "update:show" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
56
56
|
show?: unknown;
|
57
57
|
zIndex?: unknown;
|
58
58
|
overlay?: unknown;
|
@@ -120,3 +120,8 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
|
|
120
120
|
}>>;
|
121
121
|
export default ActionSheet;
|
122
122
|
export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
|
123
|
+
declare module 'vue' {
|
124
|
+
interface GlobalComponents {
|
125
|
+
VanActionSheet: typeof ActionSheet;
|
126
|
+
}
|
127
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PropType, ExtractPropTypes } from 'vue';
|
1
|
+
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { isMobile } from '../utils';
|
3
3
|
import { AreaList } from '../area';
|
4
4
|
import type { AddressEditInfo, AddressEditSearchItem } from './types';
|
@@ -98,7 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
98
98
|
type: PropType<(val: string) => boolean>;
|
99
99
|
default: (value: string) => boolean;
|
100
100
|
};
|
101
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "select-search" | "save" | "delete" | "click-area" | "change-area" | "change-detail" | "change-default")[], "focus" | "select-search" | "save" | "delete" | "click-area" | "change-area" | "change-detail" | "change-default", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
101
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "select-search" | "save" | "delete" | "click-area" | "change-area" | "change-detail" | "change-default")[], "focus" | "select-search" | "save" | "delete" | "click-area" | "change-area" | "change-detail" | "change-default", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
102
102
|
areaList?: unknown;
|
103
103
|
isSaving?: unknown;
|
104
104
|
isDeleting?: unknown;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PropType } from 'vue';
|
1
|
+
import { type PropType } from 'vue';
|
2
2
|
import type { AddressEditSearchItem } from './types';
|
3
3
|
import type { FieldRule } from '../field/types';
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
maxlength: (NumberConstructor | StringConstructor)[];
|
11
11
|
searchResult: PropType<AddressEditSearchItem[]>;
|
12
12
|
showSearchResult: BooleanConstructor;
|
13
|
-
}, () => JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "select-search")[], "input" | "focus" | "blur" | "select-search", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
13
|
+
}, () => JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "select-search")[], "input" | "focus" | "blur" | "select-search", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
14
14
|
show?: unknown;
|
15
15
|
rows?: unknown;
|
16
16
|
value?: unknown;
|
@@ -46,7 +46,7 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
46
46
|
type: import("vue").PropType<(val: string) => boolean>;
|
47
47
|
default: (value: string) => boolean;
|
48
48
|
};
|
49
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "select-search" | "save" | "delete" | "click-area" | "change-area" | "change-detail" | "change-default")[], "focus" | "select-search" | "save" | "delete" | "click-area" | "change-area" | "change-detail" | "change-default", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
49
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "select-search" | "save" | "delete" | "click-area" | "change-area" | "change-detail" | "change-default")[], "focus" | "select-search" | "save" | "delete" | "click-area" | "change-area" | "change-detail" | "change-default", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
50
50
|
areaList?: unknown;
|
51
51
|
isSaving?: unknown;
|
52
52
|
isDeleting?: unknown;
|
@@ -122,3 +122,8 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
122
122
|
export default AddressEdit;
|
123
123
|
export type { AddressEditProps };
|
124
124
|
export type { AddressEditInfo, AddressEditInstance, AddressEditSearchItem, } from './types';
|
125
|
+
declare module 'vue' {
|
126
|
+
interface GlobalComponents {
|
127
|
+
VanAddressEdit: typeof AddressEdit;
|
128
|
+
}
|
129
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
1
|
+
import { type ExtractPropTypes } from 'vue';
|
2
2
|
import { AddressListAddress } from './AddressListItem';
|
3
3
|
declare const addressListProps: {
|
4
4
|
list: {
|
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
36
36
|
};
|
37
37
|
addButtonText: StringConstructor;
|
38
38
|
defaultTagText: StringConstructor;
|
39
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit" | "click-item" | "edit-disabled" | "select-disabled")[], "select" | "update:modelValue" | "add" | "edit" | "click-item" | "edit-disabled" | "select-disabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
39
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit" | "click-item" | "edit-disabled" | "select-disabled")[], "select" | "update:modelValue" | "add" | "edit" | "click-item" | "edit-disabled" | "select-disabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
40
40
|
list?: unknown;
|
41
41
|
modelValue?: unknown;
|
42
42
|
switchable?: unknown;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PropType } from 'vue';
|
1
|
+
import { type PropType } from 'vue';
|
2
2
|
export declare type AddressListAddress = {
|
3
3
|
id: number | string;
|
4
4
|
tel: number | string;
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
14
14
|
disabled: BooleanConstructor;
|
15
15
|
switchable: BooleanConstructor;
|
16
16
|
defaultTagText: StringConstructor;
|
17
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "click" | "edit")[], "select" | "click" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
17
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "click" | "edit")[], "select" | "click" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
18
18
|
address?: unknown;
|
19
19
|
disabled?: unknown;
|
20
20
|
switchable?: unknown;
|
@@ -15,7 +15,7 @@ export declare const AddressList: import("../utils").WithInstall<import("vue").D
|
|
15
15
|
};
|
16
16
|
addButtonText: StringConstructor;
|
17
17
|
defaultTagText: StringConstructor;
|
18
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit" | "click-item" | "edit-disabled" | "select-disabled")[], "select" | "update:modelValue" | "add" | "edit" | "click-item" | "edit-disabled" | "select-disabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
18
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit" | "click-item" | "edit-disabled" | "select-disabled")[], "select" | "update:modelValue" | "add" | "edit" | "click-item" | "edit-disabled" | "select-disabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
19
19
|
list?: unknown;
|
20
20
|
modelValue?: unknown;
|
21
21
|
switchable?: unknown;
|
@@ -48,3 +48,8 @@ export declare const AddressList: import("../utils").WithInstall<import("vue").D
|
|
48
48
|
export default AddressList;
|
49
49
|
export type { AddressListProps } from './AddressList';
|
50
50
|
export type { AddressListAddress } from './AddressListItem';
|
51
|
+
declare module 'vue' {
|
52
|
+
interface GlobalComponents {
|
53
|
+
VanAddressList: typeof AddressList;
|
54
|
+
}
|
55
|
+
}
|
package/es/area/Area.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PropType, ExtractPropTypes } from 'vue';
|
1
|
+
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import type { AreaList } from './types';
|
3
3
|
declare const areaProps: {
|
4
4
|
title: StringConstructor;
|
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
84
84
|
type: PropType<(code: string) => boolean>;
|
85
85
|
default: (code: string) => boolean;
|
86
86
|
};
|
87
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "cancel" | "confirm")[], "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
87
|
+
}, () => 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<{
|
88
88
|
title?: unknown;
|
89
89
|
loading?: unknown;
|
90
90
|
readonly?: unknown;
|
package/es/area/index.d.ts
CHANGED
@@ -39,7 +39,7 @@ export declare const Area: import("../utils").WithInstall<import("vue").DefineCo
|
|
39
39
|
type: import("vue").PropType<(code: string) => boolean>;
|
40
40
|
default: (code: string) => boolean;
|
41
41
|
};
|
42
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "cancel" | "confirm")[], "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
42
|
+
}, () => 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<{
|
43
43
|
title?: unknown;
|
44
44
|
loading?: unknown;
|
45
45
|
readonly?: unknown;
|
@@ -92,3 +92,8 @@ export declare const Area: import("../utils").WithInstall<import("vue").DefineCo
|
|
92
92
|
export default Area;
|
93
93
|
export type { AreaProps } from './Area';
|
94
94
|
export type { AreaList, AreaInstance, AreaColumnOption } from './types';
|
95
|
+
declare module 'vue' {
|
96
|
+
interface GlobalComponents {
|
97
|
+
VanArea: typeof Area;
|
98
|
+
}
|
99
|
+
}
|
package/es/badge/Badge.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PropType, ExtractPropTypes } from 'vue';
|
1
|
+
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
export declare type BadgePosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
3
3
|
declare const badgeProps: {
|
4
4
|
dot: BooleanConstructor;
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
38
38
|
type: PropType<BadgePosition>;
|
39
39
|
default: BadgePosition;
|
40
40
|
};
|
41
|
-
}, () => JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
41
|
+
}, () => JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
42
42
|
dot?: unknown;
|
43
43
|
max?: unknown;
|
44
44
|
tag?: unknown;
|
@@ -53,8 +53,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
53
53
|
showZero: boolean;
|
54
54
|
position: BadgePosition;
|
55
55
|
} & {
|
56
|
-
max?: string | number | undefined;
|
57
56
|
color?: string | undefined;
|
57
|
+
max?: string | number | undefined;
|
58
58
|
offset?: [string | number, string | number] | undefined;
|
59
59
|
content?: string | number | undefined;
|
60
60
|
}>, {
|
package/es/badge/index.d.ts
CHANGED
@@ -16,7 +16,7 @@ export declare const Badge: import("../utils").WithInstall<import("vue").DefineC
|
|
16
16
|
type: import("vue").PropType<import("./Badge").BadgePosition>;
|
17
17
|
default: import("./Badge").BadgePosition;
|
18
18
|
};
|
19
|
-
}, () => JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("
|
19
|
+
}, () => JSX.Element | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
20
20
|
dot?: unknown;
|
21
21
|
max?: unknown;
|
22
22
|
tag?: unknown;
|
@@ -31,8 +31,8 @@ export declare const Badge: import("../utils").WithInstall<import("vue").DefineC
|
|
31
31
|
showZero: boolean;
|
32
32
|
position: import("./Badge").BadgePosition;
|
33
33
|
} & {
|
34
|
-
max?: string | number | undefined;
|
35
34
|
color?: string | undefined;
|
35
|
+
max?: string | number | undefined;
|
36
36
|
offset?: [string | number, string | number] | undefined;
|
37
37
|
content?: string | number | undefined;
|
38
38
|
}>, {
|
@@ -43,3 +43,8 @@ export declare const Badge: import("../utils").WithInstall<import("vue").DefineC
|
|
43
43
|
}>>;
|
44
44
|
export default Badge;
|
45
45
|
export type { BadgeProps, BadgePosition } from './Badge';
|
46
|
+
declare module 'vue' {
|
47
|
+
interface GlobalComponents {
|
48
|
+
VanBadge: typeof Badge;
|
49
|
+
}
|
50
|
+
}
|