vant 3.4.1 → 3.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-bar/ActionBar.d.ts +6 -5
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.d.ts +6 -5
- package/es/action-bar-button/ActionBarButton.d.ts +11 -21
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-button/index.d.ts +11 -21
- package/es/action-bar-icon/ActionBarIcon.d.ts +16 -84
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +14 -64
- package/es/action-sheet/ActionSheet.d.ts +54 -47
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +54 -47
- package/es/address-edit/AddressEdit.d.ts +48 -48
- package/es/address-edit/AddressEditDetail.d.ts +10 -20
- package/es/address-edit/AddressEditDetail.js +4 -3
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +48 -48
- package/es/address-list/AddressList.d.ts +18 -18
- package/es/address-list/AddressListItem.d.ts +9 -12
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +18 -18
- package/es/address-list/index.less +1 -1
- package/es/area/Area.d.ts +41 -33
- package/es/area/Area.js +3 -1
- package/es/area/index.d.ts +41 -33
- package/es/badge/Badge.d.ts +19 -20
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +19 -20
- package/es/button/Button.d.ts +39 -47
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +39 -47
- package/es/calendar/Calendar.d.ts +85 -62
- package/es/calendar/Calendar.js +6 -1
- package/es/calendar/CalendarDay.d.ts +13 -14
- package/es/calendar/CalendarHeader.d.ts +7 -14
- package/es/calendar/CalendarMonth.d.ts +25 -32
- package/es/calendar/CalendarMonth.js +1 -1
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +85 -62
- package/es/card/Card.d.ts +16 -26
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +16 -26
- package/es/cascader/Cascader.d.ts +36 -22
- package/es/cascader/Cascader.js +3 -2
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +32 -22
- package/es/cell/Cell.d.ts +27 -41
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +27 -41
- package/es/cell-group/CellGroup.d.ts +8 -10
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.d.ts +8 -10
- package/es/checkbox/Checkbox.d.ts +17 -21
- package/es/checkbox/Checker.d.ts +24 -29
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +17 -21
- package/es/checkbox-group/CheckboxGroup.d.ts +11 -16
- package/es/checkbox-group/index.css +1 -1
- package/es/checkbox-group/index.d.ts +11 -16
- package/es/circle/Circle.d.ts +35 -28
- package/es/circle/index.css +1 -1
- package/es/circle/index.d.ts +35 -28
- package/es/col/Col.d.ts +11 -10
- package/es/col/index.css +1 -1
- package/es/col/index.d.ts +11 -10
- package/es/collapse/Collapse.d.ts +11 -9
- package/es/collapse/index.d.ts +11 -9
- package/es/collapse-item/CollapseItem.d.ts +44 -41
- package/es/collapse-item/CollapseItem.js +3 -2
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +40 -41
- package/es/composables/use-height.js +6 -2
- package/es/config-provider/ConfigProvider.d.ts +8 -10
- package/es/config-provider/index.d.ts +8 -10
- package/es/contact-card/ContactCard.d.ts +13 -14
- package/es/contact-card/ContactCard.js +1 -1
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.d.ts +13 -14
- package/es/contact-edit/ContactEdit.d.ts +15 -18
- package/es/contact-edit/index.css +1 -1
- package/es/contact-edit/index.d.ts +15 -18
- package/es/contact-list/ContactList.d.ts +6 -11
- package/es/contact-list/ContactList.js +1 -1
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.d.ts +6 -11
- package/es/count-down/CountDown.d.ts +15 -11
- package/es/count-down/index.css +1 -1
- package/es/count-down/index.d.ts +15 -11
- package/es/coupon/Coupon.d.ts +12 -11
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.d.ts +12 -11
- package/es/coupon-cell/CouponCell.d.ts +23 -16
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-cell/index.d.ts +23 -16
- package/es/coupon-list/CouponList.d.ts +53 -40
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +53 -40
- package/es/datetime-picker/DatePicker.d.ts +45 -36
- package/es/datetime-picker/TimePicker.d.ts +47 -38
- package/es/dialog/Dialog.d.ts +53 -59
- package/es/dialog/Dialog.js +19 -3
- package/es/dialog/function-call.d.ts +53 -59
- package/es/dialog/index.css +1 -1
- package/es/divider/Divider.d.ts +11 -9
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +11 -9
- package/es/dropdown-item/DropdownItem.d.ts +15 -18
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +15 -18
- package/es/dropdown-menu/DropdownMenu.d.ts +24 -18
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +24 -18
- package/es/dropdown-menu/index.less +0 -1
- package/es/empty/Empty.d.ts +8 -10
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +8 -10
- package/es/field/Field.d.ts +80 -90
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +80 -90
- package/es/field/utils.js +2 -1
- package/es/form/Form.d.ts +24 -30
- package/es/form/index.d.ts +24 -30
- package/es/grid/Grid.d.ts +20 -22
- package/es/grid/index.css +1 -1
- package/es/grid/index.d.ts +20 -22
- package/es/grid-item/GridItem.d.ts +15 -82
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +13 -62
- package/es/icon/Icon.d.ts +16 -79
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +14 -59
- package/es/icon/index.less +1 -0
- package/es/image/Image.d.ts +32 -32
- package/es/image/Image.js +13 -4
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +30 -32
- package/es/image-preview/ImagePreview.d.ts +54 -42
- package/es/image-preview/ImagePreviewItem.d.ts +21 -18
- package/es/image-preview/ImagePreviewItem.js +12 -4
- package/es/image-preview/function-call.d.ts +54 -42
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.less +0 -1
- package/es/index-anchor/IndexAnchor.d.ts +3 -5
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.d.ts +3 -5
- package/es/index-bar/IndexBar.d.ts +20 -19
- package/es/index-bar/IndexBar.js +3 -1
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +19 -18
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/list/List.d.ts +20 -22
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +20 -22
- package/es/loading/Loading.d.ts +11 -16
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +11 -16
- package/es/locale/lang/bn-BD.d.ts +64 -0
- package/es/locale/lang/bn-BD.js +74 -0
- package/es/locale/lang/de-DE-formal.d.ts +2 -11
- package/es/locale/lang/de-DE-formal.js +3 -12
- package/es/locale/lang/de-DE.d.ts +2 -11
- package/es/locale/lang/de-DE.js +3 -12
- package/es/locale/lang/en-US.d.ts +2 -11
- package/es/locale/lang/en-US.js +3 -12
- package/es/locale/lang/es-ES.d.ts +2 -11
- package/es/locale/lang/es-ES.js +3 -12
- package/es/locale/lang/fr-FR.d.ts +2 -11
- package/es/locale/lang/fr-FR.js +3 -12
- package/es/locale/lang/hi-IN.d.ts +64 -0
- package/es/locale/lang/hi-IN.js +74 -0
- package/es/locale/lang/id-ID.d.ts +64 -0
- package/es/locale/lang/id-ID.js +66 -0
- package/es/locale/lang/it-IT.d.ts +64 -0
- package/es/locale/lang/it-IT.js +74 -0
- package/es/locale/lang/ja-JP.d.ts +2 -12
- package/es/locale/lang/ja-JP.js +5 -15
- package/es/locale/lang/ko-KR.d.ts +64 -0
- package/es/locale/lang/ko-KR.js +74 -0
- package/es/locale/lang/nb-NO.d.ts +2 -11
- package/es/locale/lang/nb-NO.js +3 -12
- package/es/locale/lang/pt-BR.d.ts +2 -11
- package/es/locale/lang/pt-BR.js +3 -12
- package/es/locale/lang/ro-RO.d.ts +2 -11
- package/es/locale/lang/ro-RO.js +3 -12
- package/es/locale/lang/ru-RU.d.ts +2 -11
- package/es/locale/lang/ru-RU.js +3 -12
- package/es/locale/lang/th-TH.d.ts +2 -12
- package/es/locale/lang/th-TH.js +5 -15
- package/es/locale/lang/tr-TR.d.ts +2 -11
- package/es/locale/lang/tr-TR.js +2 -11
- package/es/locale/lang/uk-UA.d.ts +64 -0
- package/es/locale/lang/uk-UA.js +74 -0
- package/es/locale/lang/vi-VN.d.ts +64 -0
- package/es/locale/lang/vi-VN.js +74 -0
- package/es/locale/lang/zh-CN.d.ts +2 -12
- package/es/locale/lang/zh-CN.js +6 -16
- package/es/locale/lang/zh-HK.d.ts +2 -12
- package/es/locale/lang/zh-HK.js +6 -16
- package/es/locale/lang/zh-TW.d.ts +2 -12
- package/es/locale/lang/zh-TW.js +6 -16
- package/es/nav-bar/NavBar.d.ts +14 -22
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +14 -22
- package/es/nav-bar/index.less +0 -1
- package/es/notice-bar/NoticeBar.d.ts +20 -22
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +20 -22
- package/es/notify/Notify.d.ts +39 -39
- package/es/notify/function-call.d.ts +39 -39
- package/es/notify/index.css +1 -1
- package/es/number-keyboard/NumberKeyboard.d.ts +46 -38
- package/es/number-keyboard/NumberKeyboardKey.d.ts +8 -16
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +46 -38
- package/es/number-keyboard/index.less +0 -1
- package/es/overlay/Overlay.d.ts +24 -16
- package/es/overlay/Overlay.js +2 -1
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +20 -16
- package/es/pagination/Pagination.d.ts +29 -22
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +29 -22
- package/es/password-input/PasswordInput.d.ts +18 -18
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +18 -18
- package/es/picker/Picker.d.ts +38 -33
- package/es/picker/PickerColumn.d.ts +29 -22
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +38 -33
- package/es/picker/index.less +0 -1
- package/es/popover/Popover.d.ts +48 -36
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +48 -36
- package/es/popup/Popup.d.ts +45 -45
- package/es/popup/Popup.js +11 -3
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +45 -45
- package/es/popup/index.less +0 -1
- package/es/popup/types.d.ts +5 -2
- package/es/progress/Progress.d.ts +18 -22
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +18 -22
- package/es/pull-refresh/PullRefresh.d.ts +21 -24
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +21 -24
- package/es/radio/Radio.d.ts +13 -20
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +13 -20
- package/es/radio-group/RadioGroup.d.ts +7 -14
- package/es/radio-group/index.css +1 -1
- package/es/radio-group/index.d.ts +7 -14
- package/es/rate/Rate.d.ts +31 -32
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +31 -32
- package/es/row/Row.d.ts +16 -14
- package/es/row/index.css +1 -1
- package/es/row/index.d.ts +16 -14
- package/es/search/Search.d.ts +58 -51
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +58 -51
- package/es/share-sheet/ShareSheet.d.ts +45 -41
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.d.ts +45 -41
- package/es/share-sheet/index.less +0 -1
- package/es/sidebar/Sidebar.d.ts +6 -5
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.d.ts +6 -5
- package/es/sidebar-item/SidebarItem.d.ts +13 -78
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.d.ts +11 -58
- package/es/skeleton/Skeleton.d.ts +27 -24
- package/es/skeleton/Skeleton.js +1 -1
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +27 -24
- package/es/slider/Slider.d.ts +27 -30
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +27 -30
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +51 -48
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +51 -48
- package/es/stepper/index.less +0 -1
- package/es/steps/Steps.d.ts +19 -20
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +19 -20
- package/es/sticky/Sticky.d.ts +16 -14
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.d.ts +16 -14
- package/es/style/animation.css +1 -1
- package/es/style/base.css +1 -1
- package/es/style/base.less +6 -2
- package/es/style/css-variables.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/submit-bar/SubmitBar.d.ts +28 -32
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +28 -32
- package/es/submit-bar/index.less +1 -0
- package/es/swipe/Swipe.d.ts +35 -28
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +35 -28
- package/es/swipe-cell/SwipeCell.d.ts +11 -16
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/index.d.ts +11 -16
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.css +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +16 -20
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +16 -20
- package/es/tab/Tab.d.ts +16 -25
- package/es/tab/index.css +1 -1
- package/es/tab/index.d.ts +16 -25
- package/es/tabbar/Tabbar.d.ts +24 -24
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.d.ts +24 -24
- package/es/tabbar-item/TabbarItem.d.ts +14 -80
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +12 -60
- package/es/tabs/Tabs.d.ts +43 -44
- package/es/tabs/TabsContent.d.ts +18 -17
- package/es/tabs/TabsTitle.d.ts +19 -32
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +43 -44
- package/es/tag/Tag.d.ts +17 -22
- package/es/tag/Tag.js +2 -2
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +17 -22
- package/es/tag/index.less +0 -1
- package/es/toast/Toast.d.ts +34 -38
- package/es/toast/Toast.js +2 -1
- package/es/toast/index.css +1 -1
- package/es/tree-select/TreeSelect.d.ts +26 -15
- package/es/tree-select/TreeSelect.js +3 -2
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +26 -15
- package/es/uploader/Uploader.d.ts +61 -50
- package/es/uploader/UploaderPreviewItem.d.ts +13 -20
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +61 -50
- package/es/uploader/types.d.ts +1 -3
- package/es/utils/interceptor.d.ts +1 -1
- package/lib/action-bar/ActionBar.d.ts +6 -5
- package/lib/action-bar/ActionBar.js +14 -13
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.d.ts +6 -5
- package/lib/action-bar/index.js +14 -8
- package/lib/action-bar-button/ActionBarButton.d.ts +11 -21
- package/lib/action-bar-button/ActionBarButton.js +18 -17
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-button/index.d.ts +11 -21
- package/lib/action-bar-button/index.js +14 -8
- package/lib/action-bar-icon/ActionBarIcon.d.ts +16 -84
- package/lib/action-bar-icon/ActionBarIcon.js +18 -17
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +14 -64
- package/lib/action-bar-icon/index.js +14 -8
- package/lib/action-sheet/ActionSheet.d.ts +54 -47
- package/lib/action-sheet/ActionSheet.js +17 -16
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +54 -47
- package/lib/action-sheet/index.js +14 -8
- package/lib/address-edit/AddressEdit.d.ts +48 -48
- package/lib/address-edit/AddressEdit.js +25 -19
- package/lib/address-edit/AddressEditDetail.d.ts +10 -20
- package/lib/address-edit/AddressEditDetail.js +19 -17
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +48 -48
- package/lib/address-edit/index.js +14 -8
- package/lib/address-edit/types.js +18 -1
- package/lib/address-list/AddressList.d.ts +18 -18
- package/lib/address-list/AddressList.js +18 -12
- package/lib/address-list/AddressListItem.d.ts +9 -12
- package/lib/address-list/AddressListItem.js +17 -16
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +18 -18
- package/lib/address-list/index.js +14 -8
- package/lib/address-list/index.less +1 -1
- package/lib/area/Area.d.ts +41 -33
- package/lib/area/Area.js +20 -17
- package/lib/area/index.d.ts +41 -33
- package/lib/area/index.js +14 -8
- package/lib/area/types.js +18 -1
- package/lib/badge/Badge.d.ts +19 -20
- package/lib/badge/Badge.js +13 -12
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +19 -20
- package/lib/badge/index.js +14 -8
- package/lib/button/Button.d.ts +39 -47
- package/lib/button/Button.js +16 -15
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +39 -47
- package/lib/button/index.js +14 -8
- package/lib/button/types.js +18 -1
- package/lib/calendar/Calendar.d.ts +85 -62
- package/lib/calendar/Calendar.js +30 -19
- package/lib/calendar/CalendarDay.d.ts +13 -14
- package/lib/calendar/CalendarDay.js +14 -13
- package/lib/calendar/CalendarHeader.d.ts +7 -14
- package/lib/calendar/CalendarHeader.js +14 -13
- package/lib/calendar/CalendarMonth.d.ts +25 -32
- package/lib/calendar/CalendarMonth.js +22 -16
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +85 -62
- package/lib/calendar/index.js +14 -8
- package/lib/calendar/types.js +18 -1
- package/lib/calendar/utils.js +11 -10
- package/lib/card/Card.d.ts +16 -26
- package/lib/card/Card.js +15 -14
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +16 -26
- package/lib/card/index.js +14 -8
- package/lib/cascader/Cascader.d.ts +36 -22
- package/lib/cascader/Cascader.js +19 -17
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +32 -22
- package/lib/cascader/index.js +14 -8
- package/lib/cascader/types.js +18 -1
- package/lib/cell/Cell.d.ts +27 -41
- package/lib/cell/Cell.js +15 -14
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +27 -41
- package/lib/cell/index.js +14 -8
- package/lib/cell-group/CellGroup.d.ts +8 -10
- package/lib/cell-group/CellGroup.js +13 -12
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.d.ts +8 -10
- package/lib/cell-group/index.js +14 -8
- package/lib/checkbox/Checkbox.d.ts +17 -21
- package/lib/checkbox/Checkbox.js +19 -13
- package/lib/checkbox/Checker.d.ts +24 -29
- package/lib/checkbox/Checker.js +14 -13
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +17 -21
- package/lib/checkbox/index.js +14 -8
- package/lib/checkbox/types.js +18 -1
- package/lib/checkbox-group/CheckboxGroup.d.ts +11 -16
- package/lib/checkbox-group/CheckboxGroup.js +15 -14
- package/lib/checkbox-group/index.css +1 -1
- package/lib/checkbox-group/index.d.ts +11 -16
- package/lib/checkbox-group/index.js +14 -8
- package/lib/checkbox-group/types.js +18 -1
- package/lib/circle/Circle.d.ts +35 -28
- package/lib/circle/Circle.js +14 -13
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.d.ts +35 -28
- package/lib/circle/index.js +14 -8
- package/lib/col/Col.d.ts +11 -10
- package/lib/col/Col.js +15 -14
- package/lib/col/index.css +1 -1
- package/lib/col/index.d.ts +11 -10
- package/lib/col/index.js +14 -8
- package/lib/collapse/Collapse.d.ts +11 -9
- package/lib/collapse/Collapse.js +14 -13
- package/lib/collapse/index.d.ts +11 -9
- package/lib/collapse/index.js +14 -8
- package/lib/collapse-item/CollapseItem.d.ts +44 -41
- package/lib/collapse-item/CollapseItem.js +22 -20
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +40 -41
- package/lib/collapse-item/index.js +14 -8
- package/lib/collapse-item/types.js +18 -1
- package/lib/composables/on-popup-reopen.js +11 -10
- package/lib/composables/use-expose.js +12 -11
- package/lib/composables/use-height.js +18 -13
- package/lib/composables/use-id.js +11 -10
- package/lib/composables/use-lazy-render.js +11 -10
- package/lib/composables/use-lock-scroll.js +14 -13
- package/lib/composables/use-placeholder.js +12 -11
- package/lib/composables/use-refs.js +11 -10
- package/lib/composables/use-route.js +11 -10
- package/lib/composables/use-tab-status.js +11 -10
- package/lib/composables/use-touch.js +11 -10
- package/lib/composables/use-visibility-change.js +13 -12
- package/lib/config-provider/ConfigProvider.d.ts +8 -10
- package/lib/config-provider/ConfigProvider.js +13 -12
- package/lib/config-provider/index.d.ts +8 -10
- package/lib/config-provider/index.js +14 -8
- package/lib/contact-card/ContactCard.d.ts +13 -14
- package/lib/contact-card/ContactCard.js +15 -14
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.d.ts +13 -14
- package/lib/contact-card/index.js +14 -8
- package/lib/contact-edit/ContactEdit.d.ts +15 -18
- package/lib/contact-edit/ContactEdit.js +18 -17
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-edit/index.d.ts +15 -18
- package/lib/contact-edit/index.js +14 -8
- package/lib/contact-list/ContactList.d.ts +6 -11
- package/lib/contact-list/ContactList.js +20 -19
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.d.ts +6 -11
- package/lib/contact-list/index.js +14 -8
- package/lib/count-down/CountDown.d.ts +15 -11
- package/lib/count-down/CountDown.js +16 -15
- package/lib/count-down/index.css +1 -1
- package/lib/count-down/index.d.ts +15 -11
- package/lib/count-down/index.js +14 -8
- package/lib/count-down/types.js +18 -1
- package/lib/count-down/utils.js +11 -10
- package/lib/coupon/Coupon.d.ts +12 -11
- package/lib/coupon/Coupon.js +15 -14
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.d.ts +12 -11
- package/lib/coupon/index.js +14 -8
- package/lib/coupon/utils.js +11 -10
- package/lib/coupon-cell/CouponCell.d.ts +23 -16
- package/lib/coupon-cell/CouponCell.js +14 -13
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-cell/index.d.ts +23 -16
- package/lib/coupon-cell/index.js +14 -8
- package/lib/coupon-list/CouponList.d.ts +53 -40
- package/lib/coupon-list/CouponList.js +20 -19
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +53 -40
- package/lib/coupon-list/index.js +14 -8
- package/lib/datetime-picker/DatePicker.d.ts +45 -36
- package/lib/datetime-picker/DatePicker.js +16 -15
- package/lib/datetime-picker/DatetimePicker.js +18 -12
- package/lib/datetime-picker/TimePicker.d.ts +47 -38
- package/lib/datetime-picker/TimePicker.js +16 -15
- package/lib/datetime-picker/index.js +14 -8
- package/lib/datetime-picker/types.js +18 -1
- package/lib/datetime-picker/utils.js +12 -11
- package/lib/dialog/Dialog.d.ts +53 -59
- package/lib/dialog/Dialog.js +35 -18
- package/lib/dialog/function-call.d.ts +53 -59
- package/lib/dialog/function-call.js +16 -10
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.js +11 -10
- package/lib/dialog/types.js +18 -1
- package/lib/divider/Divider.d.ts +11 -9
- package/lib/divider/Divider.js +13 -12
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +11 -9
- package/lib/divider/index.js +14 -8
- package/lib/dropdown-item/DropdownItem.d.ts +15 -18
- package/lib/dropdown-item/DropdownItem.js +19 -18
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +15 -18
- package/lib/dropdown-item/index.js +14 -8
- package/lib/dropdown-item/types.js +18 -1
- package/lib/dropdown-menu/DropdownMenu.d.ts +24 -18
- package/lib/dropdown-menu/DropdownMenu.js +15 -14
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +24 -18
- package/lib/dropdown-menu/index.js +14 -8
- package/lib/dropdown-menu/index.less +0 -1
- package/lib/dropdown-menu/types.js +18 -1
- package/lib/empty/Empty.d.ts +8 -10
- package/lib/empty/Empty.js +14 -13
- package/lib/empty/Network.js +11 -10
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +8 -10
- package/lib/empty/index.js +14 -8
- package/lib/field/Field.d.ts +80 -90
- package/lib/field/Field.js +20 -19
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +80 -90
- package/lib/field/index.js +14 -8
- package/lib/field/types.js +18 -1
- package/lib/field/utils.js +13 -11
- package/lib/form/Form.d.ts +24 -30
- package/lib/form/Form.js +15 -14
- package/lib/form/index.d.ts +24 -30
- package/lib/form/index.js +14 -8
- package/lib/form/types.js +18 -1
- package/lib/grid/Grid.d.ts +20 -22
- package/lib/grid/Grid.js +15 -14
- package/lib/grid/index.css +1 -1
- package/lib/grid/index.d.ts +20 -22
- package/lib/grid/index.js +14 -8
- package/lib/grid-item/GridItem.d.ts +15 -82
- package/lib/grid-item/GridItem.js +18 -17
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +13 -62
- package/lib/grid-item/index.js +14 -8
- package/lib/icon/Icon.d.ts +16 -79
- package/lib/icon/Icon.js +15 -14
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +14 -59
- package/lib/icon/index.js +14 -8
- package/lib/icon/index.less +1 -0
- package/lib/image/Image.d.ts +32 -32
- package/lib/image/Image.js +26 -16
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +30 -32
- package/lib/image/index.js +14 -8
- package/lib/image-preview/ImagePreview.d.ts +54 -42
- package/lib/image-preview/ImagePreview.js +21 -15
- package/lib/image-preview/ImagePreviewItem.d.ts +21 -18
- package/lib/image-preview/ImagePreviewItem.js +29 -20
- package/lib/image-preview/function-call.d.ts +54 -42
- package/lib/image-preview/function-call.js +16 -10
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.js +11 -10
- package/lib/image-preview/index.less +0 -1
- package/lib/image-preview/types.js +18 -1
- package/lib/index-anchor/IndexAnchor.d.ts +3 -5
- package/lib/index-anchor/IndexAnchor.js +17 -16
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.d.ts +3 -5
- package/lib/index-anchor/index.js +14 -8
- package/lib/index-bar/IndexBar.d.ts +20 -19
- package/lib/index-bar/IndexBar.js +19 -16
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +19 -18
- package/lib/index-bar/index.js +14 -8
- package/lib/index-bar/types.js +18 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +182 -181
- package/lib/lazyload/index.js +11 -10
- package/lib/lazyload/vue-lazyload/index.js +16 -10
- package/lib/lazyload/vue-lazyload/lazy-component.js +12 -11
- package/lib/lazyload/vue-lazyload/lazy-container.js +11 -10
- package/lib/lazyload/vue-lazyload/lazy-image.js +13 -12
- package/lib/lazyload/vue-lazyload/lazy.js +17 -11
- package/lib/lazyload/vue-lazyload/listener.js +13 -12
- package/lib/lazyload/vue-lazyload/util.js +11 -10
- package/lib/list/List.d.ts +20 -22
- package/lib/list/List.js +17 -16
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +20 -22
- package/lib/list/index.js +14 -8
- package/lib/list/types.js +18 -1
- package/lib/loading/Loading.d.ts +11 -16
- package/lib/loading/Loading.js +13 -12
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +11 -16
- package/lib/loading/index.js +14 -8
- package/lib/locale/index.js +15 -9
- package/lib/locale/lang/bn-BD.d.ts +64 -0
- package/lib/locale/lang/bn-BD.js +98 -0
- package/lib/locale/lang/de-DE-formal.d.ts +2 -11
- package/lib/locale/lang/de-DE-formal.js +22 -14
- package/lib/locale/lang/de-DE.d.ts +2 -11
- package/lib/locale/lang/de-DE.js +22 -14
- package/lib/locale/lang/en-US.d.ts +2 -11
- package/lib/locale/lang/en-US.js +22 -14
- package/lib/locale/lang/es-ES.d.ts +2 -11
- package/lib/locale/lang/es-ES.js +22 -14
- package/lib/locale/lang/fr-FR.d.ts +2 -11
- package/lib/locale/lang/fr-FR.js +22 -14
- package/lib/locale/lang/hi-IN.d.ts +64 -0
- package/lib/locale/lang/hi-IN.js +98 -0
- package/lib/locale/lang/id-ID.d.ts +64 -0
- package/lib/locale/lang/id-ID.js +90 -0
- package/lib/locale/lang/it-IT.d.ts +64 -0
- package/lib/locale/lang/it-IT.js +98 -0
- package/lib/locale/lang/ja-JP.d.ts +2 -12
- package/lib/locale/lang/ja-JP.js +24 -17
- package/lib/locale/lang/ko-KR.d.ts +64 -0
- package/lib/locale/lang/ko-KR.js +98 -0
- package/lib/locale/lang/nb-NO.d.ts +2 -11
- package/lib/locale/lang/nb-NO.js +22 -14
- package/lib/locale/lang/pt-BR.d.ts +2 -11
- package/lib/locale/lang/pt-BR.js +22 -14
- package/lib/locale/lang/ro-RO.d.ts +2 -11
- package/lib/locale/lang/ro-RO.js +22 -14
- package/lib/locale/lang/ru-RU.d.ts +2 -11
- package/lib/locale/lang/ru-RU.js +22 -14
- package/lib/locale/lang/th-TH.d.ts +2 -12
- package/lib/locale/lang/th-TH.js +24 -17
- package/lib/locale/lang/tr-TR.d.ts +2 -11
- package/lib/locale/lang/tr-TR.js +21 -13
- package/lib/locale/lang/uk-UA.d.ts +64 -0
- package/lib/locale/lang/uk-UA.js +98 -0
- package/lib/locale/lang/vi-VN.d.ts +64 -0
- package/lib/locale/lang/vi-VN.js +98 -0
- package/lib/locale/lang/zh-CN.d.ts +2 -12
- package/lib/locale/lang/zh-CN.js +25 -18
- package/lib/locale/lang/zh-HK.d.ts +2 -12
- package/lib/locale/lang/zh-HK.js +25 -18
- package/lib/locale/lang/zh-TW.d.ts +2 -12
- package/lib/locale/lang/zh-TW.js +25 -18
- package/lib/nav-bar/NavBar.d.ts +14 -22
- package/lib/nav-bar/NavBar.js +15 -14
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +14 -22
- package/lib/nav-bar/index.js +14 -8
- package/lib/nav-bar/index.less +0 -1
- package/lib/notice-bar/NoticeBar.d.ts +20 -22
- package/lib/notice-bar/NoticeBar.js +17 -16
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +20 -22
- package/lib/notice-bar/index.js +14 -8
- package/lib/notice-bar/types.js +18 -1
- package/lib/notify/Notify.d.ts +39 -39
- package/lib/notify/Notify.js +15 -14
- package/lib/notify/function-call.d.ts +39 -39
- package/lib/notify/function-call.js +16 -10
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.js +11 -10
- package/lib/notify/types.js +18 -1
- package/lib/number-keyboard/NumberKeyboard.d.ts +46 -38
- package/lib/number-keyboard/NumberKeyboard.js +17 -11
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +8 -16
- package/lib/number-keyboard/NumberKeyboardKey.js +15 -14
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +46 -38
- package/lib/number-keyboard/index.js +14 -8
- package/lib/number-keyboard/index.less +0 -1
- package/lib/overlay/Overlay.d.ts +24 -16
- package/lib/overlay/Overlay.js +16 -14
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +20 -16
- package/lib/overlay/index.js +14 -8
- package/lib/pagination/Pagination.d.ts +29 -22
- package/lib/pagination/Pagination.js +13 -12
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +29 -22
- package/lib/pagination/index.js +14 -8
- package/lib/password-input/PasswordInput.d.ts +18 -18
- package/lib/password-input/PasswordInput.js +13 -12
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +18 -18
- package/lib/password-input/index.js +14 -8
- package/lib/picker/Picker.d.ts +38 -33
- package/lib/picker/Picker.js +19 -13
- package/lib/picker/PickerColumn.d.ts +29 -22
- package/lib/picker/PickerColumn.js +17 -16
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +38 -33
- package/lib/picker/index.js +14 -8
- package/lib/picker/index.less +0 -1
- package/lib/picker/types.js +18 -1
- package/lib/popover/Popover.d.ts +48 -36
- package/lib/popover/Popover.js +17 -16
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +48 -36
- package/lib/popover/index.js +14 -8
- package/lib/popover/types.js +18 -1
- package/lib/popup/Popup.d.ts +45 -45
- package/lib/popup/Popup.js +31 -22
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +45 -45
- package/lib/popup/index.js +14 -8
- package/lib/popup/index.less +0 -1
- package/lib/popup/shared.js +11 -10
- package/lib/popup/types.d.ts +5 -2
- package/lib/popup/types.js +18 -1
- package/lib/progress/Progress.d.ts +18 -22
- package/lib/progress/Progress.js +13 -12
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +18 -22
- package/lib/progress/index.js +14 -8
- package/lib/progress/types.js +18 -1
- package/lib/pull-refresh/PullRefresh.d.ts +21 -24
- package/lib/pull-refresh/PullRefresh.js +16 -15
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +21 -24
- package/lib/pull-refresh/index.js +14 -8
- package/lib/radio/Radio.d.ts +13 -20
- package/lib/radio/Radio.js +18 -12
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +13 -20
- package/lib/radio/index.js +14 -8
- package/lib/radio-group/RadioGroup.d.ts +7 -14
- package/lib/radio-group/RadioGroup.js +14 -13
- package/lib/radio-group/index.css +1 -1
- package/lib/radio-group/index.d.ts +7 -14
- package/lib/radio-group/index.js +14 -8
- package/lib/rate/Rate.d.ts +31 -32
- package/lib/rate/Rate.js +17 -16
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +31 -32
- package/lib/rate/index.js +14 -8
- package/lib/row/Row.d.ts +16 -14
- package/lib/row/Row.js +14 -13
- package/lib/row/index.css +1 -1
- package/lib/row/index.d.ts +16 -14
- package/lib/row/index.js +14 -8
- package/lib/search/Search.d.ts +58 -51
- package/lib/search/Search.js +17 -16
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +58 -51
- package/lib/search/index.js +14 -8
- package/lib/search/types.js +18 -1
- package/lib/share-sheet/ShareSheet.d.ts +45 -41
- package/lib/share-sheet/ShareSheet.js +15 -14
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.d.ts +45 -41
- package/lib/share-sheet/index.js +14 -8
- package/lib/share-sheet/index.less +0 -1
- package/lib/sidebar/Sidebar.d.ts +6 -5
- package/lib/sidebar/Sidebar.js +14 -13
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.d.ts +6 -5
- package/lib/sidebar/index.js +14 -8
- package/lib/sidebar-item/SidebarItem.d.ts +13 -78
- package/lib/sidebar-item/SidebarItem.js +17 -16
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.d.ts +11 -58
- package/lib/sidebar-item/index.js +14 -8
- package/lib/skeleton/Skeleton.d.ts +27 -24
- package/lib/skeleton/Skeleton.js +14 -13
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +27 -24
- package/lib/skeleton/index.js +14 -8
- package/lib/slider/Slider.d.ts +27 -30
- package/lib/slider/Slider.js +15 -14
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +27 -30
- package/lib/slider/index.js +14 -8
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/Step.js +16 -15
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/step/index.js +14 -8
- package/lib/stepper/Stepper.d.ts +51 -48
- package/lib/stepper/Stepper.js +14 -13
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +51 -48
- package/lib/stepper/index.js +14 -8
- package/lib/stepper/index.less +0 -1
- package/lib/steps/Steps.d.ts +19 -20
- package/lib/steps/Steps.js +14 -13
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +19 -20
- package/lib/steps/index.js +14 -8
- package/lib/sticky/Sticky.d.ts +16 -14
- package/lib/sticky/Sticky.js +15 -14
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.d.ts +16 -14
- package/lib/sticky/index.js +14 -8
- package/lib/style/animation.css +1 -1
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +6 -2
- package/lib/style/css-variables.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +28 -32
- package/lib/submit-bar/SubmitBar.js +15 -14
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +28 -32
- package/lib/submit-bar/index.js +14 -8
- package/lib/submit-bar/index.less +1 -0
- package/lib/swipe/Swipe.d.ts +35 -28
- package/lib/swipe/Swipe.js +17 -16
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +35 -28
- package/lib/swipe/index.js +14 -8
- package/lib/swipe/types.js +18 -1
- package/lib/swipe-cell/SwipeCell.d.ts +11 -16
- package/lib/swipe-cell/SwipeCell.js +16 -15
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.d.ts +11 -16
- package/lib/swipe-cell/index.js +14 -8
- package/lib/swipe-cell/types.js +18 -1
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/SwipeItem.js +16 -15
- package/lib/swipe-item/index.css +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/swipe-item/index.js +14 -8
- package/lib/switch/Switch.d.ts +16 -20
- package/lib/switch/Switch.js +15 -14
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +16 -20
- package/lib/switch/index.js +14 -8
- package/lib/tab/Tab.d.ts +16 -25
- package/lib/tab/Tab.js +20 -19
- package/lib/tab/index.css +1 -1
- package/lib/tab/index.d.ts +16 -25
- package/lib/tab/index.js +14 -8
- package/lib/tabbar/Tabbar.d.ts +24 -24
- package/lib/tabbar/Tabbar.js +15 -14
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.d.ts +24 -24
- package/lib/tabbar/index.js +14 -8
- package/lib/tabbar-item/TabbarItem.d.ts +14 -80
- package/lib/tabbar-item/TabbarItem.js +18 -17
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +12 -60
- package/lib/tabbar-item/index.js +14 -8
- package/lib/tabs/Tabs.d.ts +43 -44
- package/lib/tabs/Tabs.js +25 -19
- package/lib/tabs/TabsContent.d.ts +18 -17
- package/lib/tabs/TabsContent.js +14 -13
- package/lib/tabs/TabsTitle.d.ts +19 -32
- package/lib/tabs/TabsTitle.js +14 -13
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +43 -44
- package/lib/tabs/index.js +14 -8
- package/lib/tabs/types.js +18 -1
- package/lib/tabs/utils.js +12 -11
- package/lib/tag/Tag.d.ts +17 -22
- package/lib/tag/Tag.js +15 -14
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +17 -22
- package/lib/tag/index.js +14 -8
- package/lib/tag/index.less +0 -1
- package/lib/toast/Toast.d.ts +34 -38
- package/lib/toast/Toast.js +19 -17
- package/lib/toast/function-call.js +17 -11
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.js +11 -10
- package/lib/toast/lock-click.js +19 -2
- package/lib/toast/types.js +18 -1
- package/lib/tree-select/TreeSelect.d.ts +26 -15
- package/lib/tree-select/TreeSelect.js +19 -17
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +26 -15
- package/lib/tree-select/index.js +14 -8
- package/lib/uploader/Uploader.d.ts +61 -50
- package/lib/uploader/Uploader.js +21 -15
- package/lib/uploader/UploaderPreviewItem.d.ts +13 -20
- package/lib/uploader/UploaderPreviewItem.js +17 -16
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +61 -50
- package/lib/uploader/index.js +14 -8
- package/lib/uploader/types.d.ts +1 -3
- package/lib/uploader/types.js +18 -1
- package/lib/uploader/utils.js +11 -10
- package/lib/utils/basic.js +19 -2
- package/lib/utils/constant.js +19 -2
- package/lib/utils/create.js +16 -10
- package/lib/utils/deep-assign.js +11 -10
- package/lib/utils/deep-clone.js +11 -10
- package/lib/utils/dom.js +13 -12
- package/lib/utils/format.js +13 -12
- package/lib/utils/index.js +18 -17
- package/lib/utils/interceptor.d.ts +1 -1
- package/lib/utils/interceptor.js +12 -11
- package/lib/utils/mount-component.js +13 -12
- package/lib/utils/props.js +19 -2
- package/lib/utils/validate.js +11 -10
- package/lib/utils/with-install.js +11 -10
- package/lib/vant.cjs.js +100 -49
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +101 -50
- package/lib/vant.es.min.js +101 -50
- package/lib/vant.js +104 -52
- package/lib/vant.min.js +1 -1
- package/package.json +6 -9
- package/vetur/attributes.json +1031 -1027
- package/vetur/tags.json +77 -76
- package/vetur/web-types.json +1952 -1942
package/lib/swipe-cell/index.js
CHANGED
@@ -6,26 +6,32 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
7
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
8
|
var __export = (target, all) => {
|
9
|
-
__markAsModule(target);
|
10
9
|
for (var name in all)
|
11
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
12
11
|
};
|
13
|
-
var __reExport = (target, module2, desc) => {
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
14
13
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
15
14
|
for (let key of __getOwnPropNames(module2))
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
17
16
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
18
17
|
}
|
19
18
|
return target;
|
20
19
|
};
|
21
|
-
var
|
22
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default",
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
23
22
|
};
|
24
|
-
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
24
|
+
return (module2, temp) => {
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
26
|
+
};
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
28
|
+
var stdin_exports = {};
|
29
|
+
__export(stdin_exports, {
|
25
30
|
SwipeCell: () => SwipeCell,
|
26
31
|
default: () => stdin_default
|
27
32
|
});
|
28
|
-
var import_utils =
|
29
|
-
var import_SwipeCell =
|
33
|
+
var import_utils = require("../utils");
|
34
|
+
var import_SwipeCell = __toESM(require("./SwipeCell"));
|
30
35
|
const SwipeCell = (0, import_utils.withInstall)(import_SwipeCell.default);
|
31
36
|
var stdin_default = SwipeCell;
|
37
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/swipe-cell/types.js
CHANGED
@@ -1,3 +1,20 @@
|
|
1
1
|
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
2
5
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
3
|
-
|
6
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
7
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
8
|
+
for (let key of __getOwnPropNames(module2))
|
9
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
10
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
11
|
+
}
|
12
|
+
return target;
|
13
|
+
};
|
14
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
15
|
+
return (module2, temp) => {
|
16
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
17
|
+
};
|
18
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
19
|
+
var stdin_exports = {};
|
20
|
+
module.exports = __toCommonJS(stdin_exports);
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{}
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
2
|
export default _default;
|
@@ -1,35 +1,35 @@
|
|
1
|
-
var __create = Object.create;
|
2
1
|
var __defProp = Object.defineProperty;
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
6
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
5
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
6
|
var __export = (target, all) => {
|
9
|
-
__markAsModule(target);
|
10
7
|
for (var name2 in all)
|
11
8
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
12
9
|
};
|
13
|
-
var __reExport = (target, module2, desc) => {
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
14
11
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
15
12
|
for (let key of __getOwnPropNames(module2))
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
17
14
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
18
15
|
}
|
19
16
|
return target;
|
20
17
|
};
|
21
|
-
var
|
22
|
-
return
|
23
|
-
};
|
24
|
-
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
19
|
+
return (module2, temp) => {
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
21
|
+
};
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
23
|
+
var stdin_exports = {};
|
24
|
+
__export(stdin_exports, {
|
25
25
|
default: () => stdin_default
|
26
26
|
});
|
27
|
-
var import_vue =
|
28
|
-
var import_vue2 =
|
29
|
-
var import_utils =
|
30
|
-
var import_Swipe =
|
31
|
-
var import_use =
|
32
|
-
var import_use_expose =
|
27
|
+
var import_vue = require("vue");
|
28
|
+
var import_vue2 = require("vue");
|
29
|
+
var import_utils = require("../utils");
|
30
|
+
var import_Swipe = require("../swipe/Swipe");
|
31
|
+
var import_use = require("@vant/use");
|
32
|
+
var import_use_expose = require("../composables/use-expose");
|
33
33
|
const [name, bem] = (0, import_utils.createNamespace)("swipe-item");
|
34
34
|
var stdin_default = (0, import_vue2.defineComponent)({
|
35
35
|
name,
|
@@ -103,3 +103,4 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
103
103
|
};
|
104
104
|
}
|
105
105
|
});
|
106
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/swipe-item/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}
|
1
|
+
.van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SwipeItem: import("../utils").WithInstall<import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{}
|
1
|
+
export declare const SwipeItem: import("../utils").WithInstall<import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
2
2
|
export default SwipeItem;
|
3
3
|
declare module 'vue' {
|
4
4
|
interface GlobalComponents {
|
package/lib/swipe-item/index.js
CHANGED
@@ -6,26 +6,32 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
7
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
8
|
var __export = (target, all) => {
|
9
|
-
__markAsModule(target);
|
10
9
|
for (var name in all)
|
11
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
12
11
|
};
|
13
|
-
var __reExport = (target, module2, desc) => {
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
14
13
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
15
14
|
for (let key of __getOwnPropNames(module2))
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
17
16
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
18
17
|
}
|
19
18
|
return target;
|
20
19
|
};
|
21
|
-
var
|
22
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default",
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
23
22
|
};
|
24
|
-
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
24
|
+
return (module2, temp) => {
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
26
|
+
};
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
28
|
+
var stdin_exports = {};
|
29
|
+
__export(stdin_exports, {
|
25
30
|
SwipeItem: () => SwipeItem,
|
26
31
|
default: () => stdin_default
|
27
32
|
});
|
28
|
-
var import_utils =
|
29
|
-
var import_SwipeItem =
|
33
|
+
var import_utils = require("../utils");
|
34
|
+
var import_SwipeItem = __toESM(require("./SwipeItem"));
|
30
35
|
const SwipeItem = (0, import_utils.withInstall)(import_SwipeItem.default);
|
31
36
|
var stdin_default = SwipeItem;
|
37
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/switch/Switch.d.ts
CHANGED
@@ -31,26 +31,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
31
31
|
type: import("vue").PropType<unknown>;
|
32
32
|
default: unknown;
|
33
33
|
};
|
34
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
35
|
-
size
|
36
|
-
loading
|
37
|
-
disabled
|
38
|
-
modelValue
|
39
|
-
activeColor
|
40
|
-
inactiveColor
|
41
|
-
activeValue
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
}
|
49
|
-
|
50
|
-
modelValue?: unknown;
|
51
|
-
activeColor?: string | undefined;
|
52
|
-
inactiveColor?: string | undefined;
|
53
|
-
}> & {
|
34
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
35
|
+
size: (NumberConstructor | StringConstructor)[];
|
36
|
+
loading: BooleanConstructor;
|
37
|
+
disabled: BooleanConstructor;
|
38
|
+
modelValue: import("vue").PropType<unknown>;
|
39
|
+
activeColor: StringConstructor;
|
40
|
+
inactiveColor: StringConstructor;
|
41
|
+
activeValue: {
|
42
|
+
type: import("vue").PropType<unknown>;
|
43
|
+
default: unknown;
|
44
|
+
};
|
45
|
+
inactiveValue: {
|
46
|
+
type: import("vue").PropType<unknown>;
|
47
|
+
default: unknown;
|
48
|
+
};
|
49
|
+
}>> & {
|
54
50
|
onChange?: ((...args: any[]) => any) | undefined;
|
55
51
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
56
52
|
}, {
|
package/lib/switch/Switch.js
CHANGED
@@ -1,34 +1,34 @@
|
|
1
|
-
var __create = Object.create;
|
2
1
|
var __defProp = Object.defineProperty;
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
6
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
5
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
6
|
var __export = (target, all) => {
|
9
|
-
__markAsModule(target);
|
10
7
|
for (var name2 in all)
|
11
8
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
12
9
|
};
|
13
|
-
var __reExport = (target, module2, desc) => {
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
14
11
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
15
12
|
for (let key of __getOwnPropNames(module2))
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
17
14
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
18
15
|
}
|
19
16
|
return target;
|
20
17
|
};
|
21
|
-
var
|
22
|
-
return
|
23
|
-
};
|
24
|
-
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
19
|
+
return (module2, temp) => {
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
21
|
+
};
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
23
|
+
var stdin_exports = {};
|
24
|
+
__export(stdin_exports, {
|
25
25
|
default: () => stdin_default
|
26
26
|
});
|
27
|
-
var import_vue =
|
28
|
-
var import_vue2 =
|
29
|
-
var import_utils =
|
30
|
-
var import_use =
|
31
|
-
var import_loading =
|
27
|
+
var import_vue = require("vue");
|
28
|
+
var import_vue2 = require("vue");
|
29
|
+
var import_utils = require("../utils");
|
30
|
+
var import_use = require("@vant/use");
|
31
|
+
var import_loading = require("../loading");
|
32
32
|
const [name, bem] = (0, import_utils.createNamespace)("switch");
|
33
33
|
const switchProps = {
|
34
34
|
size: import_utils.numericProp,
|
@@ -101,3 +101,4 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
101
101
|
};
|
102
102
|
}
|
103
103
|
});
|
104
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/switch/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-switch-size:30px;--van-switch-width:2em;--van-switch-height:1em;--van-switch-node-size:1em;--van-switch-node-background-color:var(--van-white);--van-switch-node-box-shadow:0 3px 1px 0 rgba(0, 0, 0,
|
1
|
+
:root{--van-switch-size: 30px;--van-switch-width: 2em;--van-switch-height: 1em;--van-switch-node-size: 1em;--van-switch-node-background-color: var(--van-white);--van-switch-node-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, .05), 0 2px 2px 0 rgba(0, 0, 0, .1), 0 3px 3px 0 rgba(0, 0, 0, .05);--van-switch-background-color: var(--van-background-color-light);--van-switch-on-background-color: var(--van-primary-color);--van-switch-transition-duration: var(--van-animation-duration-base);--van-switch-disabled-opacity: var(--van-disabled-opacity);--van-switch-border: var(--van-border-width-base) solid rgba(0, 0, 0, .1)}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:var(--van-switch-width);height:var(--van-switch-height);font-size:var(--van-switch-size);background:var(--van-switch-background-color);border:var(--van-switch-border);border-radius:var(--van-switch-node-size);cursor:pointer;transition:background-color var(--van-switch-transition-duration)}.van-switch__node{position:absolute;top:0;left:0;width:var(--van-switch-node-size);height:var(--van-switch-node-size);font-size:inherit;background:var(--van-switch-node-background-color);border-radius:100%;box-shadow:var(--van-switch-node-box-shadow);transition:transform var(--van-switch-transition-duration) cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background:var(--van-switch-on-background-color)}.van-switch--on .van-switch__node{transform:translate(calc(var(--van-switch-width) - var(--van-switch-node-size)))}.van-switch--on .van-switch__loading{color:var(--van-switch-on-background-color)}.van-switch--disabled{cursor:not-allowed;opacity:var(--van-switch-disabled-opacity)}.van-switch--loading{cursor:default}
|
package/lib/switch/index.d.ts
CHANGED
@@ -13,26 +13,22 @@ export declare const Switch: import("../utils").WithInstall<import("vue").Define
|
|
13
13
|
type: import("vue").PropType<unknown>;
|
14
14
|
default: unknown;
|
15
15
|
};
|
16
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
17
|
-
size
|
18
|
-
loading
|
19
|
-
disabled
|
20
|
-
modelValue
|
21
|
-
activeColor
|
22
|
-
inactiveColor
|
23
|
-
activeValue
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
}
|
31
|
-
|
32
|
-
modelValue?: unknown;
|
33
|
-
activeColor?: string | undefined;
|
34
|
-
inactiveColor?: string | undefined;
|
35
|
-
}> & {
|
16
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
17
|
+
size: (NumberConstructor | StringConstructor)[];
|
18
|
+
loading: BooleanConstructor;
|
19
|
+
disabled: BooleanConstructor;
|
20
|
+
modelValue: import("vue").PropType<unknown>;
|
21
|
+
activeColor: StringConstructor;
|
22
|
+
inactiveColor: StringConstructor;
|
23
|
+
activeValue: {
|
24
|
+
type: import("vue").PropType<unknown>;
|
25
|
+
default: unknown;
|
26
|
+
};
|
27
|
+
inactiveValue: {
|
28
|
+
type: import("vue").PropType<unknown>;
|
29
|
+
default: unknown;
|
30
|
+
};
|
31
|
+
}>> & {
|
36
32
|
onChange?: ((...args: any[]) => any) | undefined;
|
37
33
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
38
34
|
}, {
|
package/lib/switch/index.js
CHANGED
@@ -6,26 +6,32 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
7
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
8
|
var __export = (target, all) => {
|
9
|
-
__markAsModule(target);
|
10
9
|
for (var name in all)
|
11
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
12
11
|
};
|
13
|
-
var __reExport = (target, module2, desc) => {
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
14
13
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
15
14
|
for (let key of __getOwnPropNames(module2))
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
17
16
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
18
17
|
}
|
19
18
|
return target;
|
20
19
|
};
|
21
|
-
var
|
22
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default",
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
23
22
|
};
|
24
|
-
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
24
|
+
return (module2, temp) => {
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
26
|
+
};
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
28
|
+
var stdin_exports = {};
|
29
|
+
__export(stdin_exports, {
|
25
30
|
Switch: () => Switch,
|
26
31
|
default: () => stdin_default
|
27
32
|
});
|
28
|
-
var import_utils =
|
29
|
-
var import_Switch =
|
33
|
+
var import_utils = require("../utils");
|
34
|
+
var import_Switch = __toESM(require("./Switch"));
|
30
35
|
const Switch = (0, import_utils.withInstall)(import_Switch.default);
|
31
36
|
var stdin_default = Switch;
|
37
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/tab/Tab.d.ts
CHANGED
@@ -33,32 +33,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
33
33
|
type: BooleanConstructor;
|
34
34
|
default: true;
|
35
35
|
};
|
36
|
-
}, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
37
|
-
to
|
38
|
-
url
|
39
|
-
replace
|
40
|
-
dot?: unknown;
|
41
|
-
name?: unknown;
|
42
|
-
badge?: unknown;
|
43
|
-
title?: unknown;
|
44
|
-
disabled?: unknown;
|
45
|
-
titleClass?: unknown;
|
46
|
-
titleStyle?: unknown;
|
47
|
-
showZeroBadge?: unknown;
|
48
|
-
} & {
|
49
|
-
replace: boolean;
|
50
|
-
dot: boolean;
|
51
|
-
disabled: boolean;
|
52
|
-
showZeroBadge: boolean;
|
36
|
+
}, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
37
|
+
to: PropType<import("vue-router").RouteLocationRaw>;
|
38
|
+
url: StringConstructor;
|
39
|
+
replace: BooleanConstructor;
|
53
40
|
} & {
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
titleClass
|
60
|
-
titleStyle
|
61
|
-
|
41
|
+
dot: BooleanConstructor;
|
42
|
+
name: (NumberConstructor | StringConstructor)[];
|
43
|
+
badge: (NumberConstructor | StringConstructor)[];
|
44
|
+
title: StringConstructor;
|
45
|
+
disabled: BooleanConstructor;
|
46
|
+
titleClass: PropType<unknown>;
|
47
|
+
titleStyle: PropType<string | CSSProperties>;
|
48
|
+
showZeroBadge: {
|
49
|
+
type: BooleanConstructor;
|
50
|
+
default: true;
|
51
|
+
};
|
52
|
+
}>>, {
|
62
53
|
replace: boolean;
|
63
54
|
dot: boolean;
|
64
55
|
disabled: boolean;
|
package/lib/tab/Tab.js
CHANGED
@@ -1,39 +1,39 @@
|
|
1
|
-
var __create = Object.create;
|
2
1
|
var __defProp = Object.defineProperty;
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
6
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
5
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
6
|
var __export = (target, all) => {
|
9
|
-
__markAsModule(target);
|
10
7
|
for (var name2 in all)
|
11
8
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
12
9
|
};
|
13
|
-
var __reExport = (target, module2, desc) => {
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
14
11
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
15
12
|
for (let key of __getOwnPropNames(module2))
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
17
14
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
18
15
|
}
|
19
16
|
return target;
|
20
17
|
};
|
21
|
-
var
|
22
|
-
return
|
23
|
-
};
|
24
|
-
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
19
|
+
return (module2, temp) => {
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
21
|
+
};
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
23
|
+
var stdin_exports = {};
|
24
|
+
__export(stdin_exports, {
|
25
25
|
default: () => stdin_default
|
26
26
|
});
|
27
|
-
var import_vue =
|
28
|
-
var import_vue2 =
|
29
|
-
var import_utils =
|
30
|
-
var import_Tabs =
|
31
|
-
var import_use =
|
32
|
-
var import_use_id =
|
33
|
-
var import_use_expose =
|
34
|
-
var import_use_route =
|
35
|
-
var import_use_tab_status =
|
36
|
-
var import_swipe_item =
|
27
|
+
var import_vue = require("vue");
|
28
|
+
var import_vue2 = require("vue");
|
29
|
+
var import_utils = require("../utils");
|
30
|
+
var import_Tabs = require("../tabs/Tabs");
|
31
|
+
var import_use = require("@vant/use");
|
32
|
+
var import_use_id = require("../composables/use-id");
|
33
|
+
var import_use_expose = require("../composables/use-expose");
|
34
|
+
var import_use_route = require("../composables/use-route");
|
35
|
+
var import_use_tab_status = require("../composables/use-tab-status");
|
36
|
+
var import_swipe_item = require("../swipe-item");
|
37
37
|
const [name, bem] = (0, import_utils.createNamespace)("tab");
|
38
38
|
const tabProps = (0, import_utils.extend)({}, import_use_route.routeProps, {
|
39
39
|
dot: Boolean,
|
@@ -134,3 +134,4 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
134
134
|
};
|
135
135
|
}
|
136
136
|
});
|
137
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/tab/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}
|
1
|
+
.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}
|
package/lib/tab/index.d.ts
CHANGED
@@ -14,32 +14,23 @@ export declare const Tab: import("../utils").WithInstall<import("vue").DefineCom
|
|
14
14
|
type: BooleanConstructor;
|
15
15
|
default: true;
|
16
16
|
};
|
17
|
-
}, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
18
|
-
to
|
19
|
-
url
|
20
|
-
replace
|
21
|
-
dot?: unknown;
|
22
|
-
name?: unknown;
|
23
|
-
badge?: unknown;
|
24
|
-
title?: unknown;
|
25
|
-
disabled?: unknown;
|
26
|
-
titleClass?: unknown;
|
27
|
-
titleStyle?: unknown;
|
28
|
-
showZeroBadge?: unknown;
|
29
|
-
} & {
|
30
|
-
replace: boolean;
|
31
|
-
dot: boolean;
|
32
|
-
disabled: boolean;
|
33
|
-
showZeroBadge: boolean;
|
17
|
+
}, (() => JSX.Element | undefined) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
18
|
+
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
19
|
+
url: StringConstructor;
|
20
|
+
replace: BooleanConstructor;
|
34
21
|
} & {
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
titleClass
|
41
|
-
titleStyle
|
42
|
-
|
22
|
+
dot: BooleanConstructor;
|
23
|
+
name: (NumberConstructor | StringConstructor)[];
|
24
|
+
badge: (NumberConstructor | StringConstructor)[];
|
25
|
+
title: StringConstructor;
|
26
|
+
disabled: BooleanConstructor;
|
27
|
+
titleClass: import("vue").PropType<unknown>;
|
28
|
+
titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
29
|
+
showZeroBadge: {
|
30
|
+
type: BooleanConstructor;
|
31
|
+
default: true;
|
32
|
+
};
|
33
|
+
}>>, {
|
43
34
|
replace: boolean;
|
44
35
|
dot: boolean;
|
45
36
|
disabled: boolean;
|
package/lib/tab/index.js
CHANGED
@@ -6,26 +6,32 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
7
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
8
|
var __export = (target, all) => {
|
9
|
-
__markAsModule(target);
|
10
9
|
for (var name in all)
|
11
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
12
11
|
};
|
13
|
-
var __reExport = (target, module2, desc) => {
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
14
13
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
15
14
|
for (let key of __getOwnPropNames(module2))
|
16
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
17
16
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
18
17
|
}
|
19
18
|
return target;
|
20
19
|
};
|
21
|
-
var
|
22
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default",
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
23
22
|
};
|
24
|
-
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
24
|
+
return (module2, temp) => {
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
26
|
+
};
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
28
|
+
var stdin_exports = {};
|
29
|
+
__export(stdin_exports, {
|
25
30
|
Tab: () => Tab,
|
26
31
|
default: () => stdin_default
|
27
32
|
});
|
28
|
-
var import_utils =
|
29
|
-
var import_Tab =
|
33
|
+
var import_utils = require("../utils");
|
34
|
+
var import_Tab = __toESM(require("./Tab"));
|
30
35
|
const Tab = (0, import_utils.withInstall)(import_Tab.default);
|
31
36
|
var stdin_default = Tab;
|
37
|
+
module.exports = __toCommonJS(stdin_exports);
|