vant 4.0.0-alpha.1 → 4.0.0-alpha.4
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/README.md +141 -0
- package/es/action-bar/{ActionBar.js → ActionBar.mjs} +1 -1
- package/es/action-bar/{index.js → index.mjs} +2 -2
- package/es/action-bar/style/{index.js → index.mjs} +0 -0
- package/es/action-bar/style/{less.js → less.mjs} +0 -0
- package/es/action-bar-button/{ActionBarButton.js → ActionBarButton.mjs} +5 -5
- package/es/action-bar-button/{index.js → index.mjs} +2 -2
- package/es/action-bar-button/style/{index.js → index.mjs} +0 -0
- package/es/action-bar-button/style/{less.js → less.mjs} +0 -0
- package/es/action-bar-icon/{ActionBarIcon.js → ActionBarIcon.mjs} +5 -5
- package/es/action-bar-icon/{index.js → index.mjs} +2 -2
- package/es/action-bar-icon/style/{index.js → index.mjs} +0 -0
- package/es/action-bar-icon/style/{less.js → less.mjs} +0 -0
- package/es/action-sheet/{ActionSheet.js → ActionSheet.mjs} +5 -5
- package/es/action-sheet/{index.js → index.mjs} +2 -2
- package/es/action-sheet/style/{index.js → index.mjs} +0 -0
- package/es/action-sheet/style/{less.js → less.mjs} +0 -0
- package/es/address-edit/AddressEdit.d.ts +0 -17
- package/es/address-edit/{AddressEdit.js → AddressEdit.mjs} +15 -36
- package/es/address-edit/{AddressEditDetail.js → AddressEditDetail.mjs} +3 -3
- package/es/address-edit/index.d.ts +0 -12
- package/es/address-edit/{index.js → index.mjs} +2 -2
- package/es/address-edit/style/{index.js → index.mjs} +0 -0
- package/es/address-edit/style/{less.js → less.mjs} +0 -0
- package/es/address-edit/types.d.ts +0 -1
- package/es/address-edit/{types.js → types.mjs} +0 -0
- package/es/address-list/{AddressList.js → AddressList.mjs} +4 -4
- package/es/address-list/AddressListItem.d.ts +3 -2
- package/es/address-list/{AddressListItem.js → AddressListItem.mjs} +5 -5
- package/es/address-list/{index.js → index.mjs} +2 -2
- package/es/address-list/style/{index.js → index.mjs} +0 -0
- package/es/address-list/style/{less.js → less.mjs} +0 -0
- package/es/area/{Area.js → Area.mjs} +5 -5
- package/es/area/{index.js → index.mjs} +2 -2
- package/es/area/style/{index.js → index.mjs} +0 -0
- package/es/area/style/{less.js → less.mjs} +0 -0
- package/es/area/{types.js → types.mjs} +0 -0
- package/es/area/{utils.js → utils.mjs} +0 -0
- package/es/badge/Badge.d.ts +4 -3
- package/es/badge/{Badge.js → Badge.mjs} +1 -1
- package/es/badge/index.d.ts +2 -2
- package/es/badge/{index.js → index.mjs} +2 -2
- package/es/badge/style/{index.js → index.mjs} +0 -0
- package/es/badge/style/{less.js → less.mjs} +0 -0
- package/es/button/{Button.js → Button.mjs} +4 -4
- package/es/button/{index.js → index.mjs} +2 -2
- package/es/button/style/{index.js → index.mjs} +0 -0
- package/es/button/style/{less.js → less.mjs} +0 -0
- package/es/button/{types.js → types.mjs} +0 -0
- package/es/calendar/{Calendar.js → Calendar.mjs} +10 -10
- package/es/calendar/{CalendarDay.js → CalendarDay.mjs} +6 -2
- package/es/calendar/{CalendarHeader.js → CalendarHeader.mjs} +2 -2
- package/es/calendar/{CalendarMonth.js → CalendarMonth.mjs} +6 -6
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.less +2 -0
- package/es/calendar/{index.js → index.mjs} +2 -2
- package/es/calendar/style/{index.js → index.mjs} +0 -0
- package/es/calendar/style/{less.js → less.mjs} +0 -0
- package/es/calendar/types.d.ts +2 -1
- package/es/calendar/{types.js → types.mjs} +0 -0
- package/es/calendar/{utils.js → utils.mjs} +1 -1
- package/es/card/{Card.js → Card.mjs} +3 -3
- package/es/card/{index.js → index.mjs} +2 -2
- package/es/card/style/{index.js → index.mjs} +0 -0
- package/es/card/style/{less.js → less.mjs} +0 -0
- package/es/cascader/{Cascader.js → Cascader.mjs} +4 -4
- package/es/cascader/{index.js → index.mjs} +2 -2
- package/es/cascader/style/{index.js → index.mjs} +0 -0
- package/es/cascader/style/{less.js → less.mjs} +0 -0
- package/es/cascader/types.d.ts +2 -1
- package/es/cascader/{types.js → types.mjs} +0 -0
- package/es/cell/{Cell.js → Cell.mjs} +3 -3
- package/es/cell/{index.js → index.mjs} +2 -2
- package/es/cell/style/{index.js → index.mjs} +0 -0
- package/es/cell/style/{less.js → less.mjs} +0 -0
- package/es/cell-group/{CellGroup.js → CellGroup.mjs} +1 -1
- package/es/cell-group/{index.js → index.mjs} +2 -2
- package/es/cell-group/style/{index.js → index.mjs} +0 -0
- package/es/cell-group/style/{less.js → less.mjs} +0 -0
- package/es/checkbox/{Checkbox.js → Checkbox.mjs} +4 -4
- package/es/checkbox/Checker.d.ts +2 -1
- package/es/checkbox/{Checker.js → Checker.mjs} +2 -2
- package/es/checkbox/{index.js → index.mjs} +2 -2
- package/es/checkbox/style/{index.js → index.mjs} +0 -0
- package/es/checkbox/style/{less.js → less.mjs} +0 -0
- package/es/checkbox/{types.js → types.mjs} +0 -0
- package/es/checkbox-group/{CheckboxGroup.js → CheckboxGroup.mjs} +2 -2
- package/es/checkbox-group/{index.js → index.mjs} +2 -2
- package/es/checkbox-group/style/{index.js → index.mjs} +0 -0
- package/es/checkbox-group/style/{less.js → less.mjs} +0 -0
- package/es/checkbox-group/{types.js → types.mjs} +0 -0
- package/es/circle/{Circle.js → Circle.mjs} +1 -1
- package/es/circle/{index.js → index.mjs} +2 -2
- package/es/circle/style/{index.js → index.mjs} +0 -0
- package/es/circle/style/{less.js → less.mjs} +0 -0
- package/es/col/{Col.js → Col.mjs} +2 -2
- package/es/col/{index.js → index.mjs} +2 -2
- package/es/col/style/{index.js → index.mjs} +0 -0
- package/es/col/style/{less.js → less.mjs} +0 -0
- package/es/collapse/Collapse.d.ts +7 -6
- package/es/collapse/{Collapse.js → Collapse.mjs} +1 -1
- package/es/collapse/index.d.ts +3 -3
- package/es/collapse/{index.js → index.mjs} +2 -2
- package/es/collapse/style/{index.js → index.mjs} +0 -0
- package/es/collapse/style/{less.js → less.mjs} +0 -0
- package/es/collapse-item/{CollapseItem.js → CollapseItem.mjs} +6 -6
- package/es/collapse-item/{index.js → index.mjs} +2 -2
- package/es/collapse-item/style/{index.js → index.mjs} +0 -0
- package/es/collapse-item/style/{less.js → less.mjs} +0 -0
- package/es/collapse-item/{types.js → types.mjs} +0 -0
- package/es/composables/{on-popup-reopen.js → on-popup-reopen.mjs} +0 -0
- package/es/composables/{use-expose.js → use-expose.mjs} +1 -1
- package/es/composables/{use-height.js → use-height.mjs} +0 -0
- package/es/composables/{use-id.js → use-id.mjs} +0 -0
- package/es/composables/{use-lazy-render.js → use-lazy-render.mjs} +0 -0
- package/es/composables/{use-lock-scroll.js → use-lock-scroll.mjs} +2 -2
- package/es/composables/{use-placeholder.js → use-placeholder.mjs} +1 -1
- package/es/composables/{use-refs.js → use-refs.mjs} +0 -0
- package/es/composables/{use-route.js → use-route.mjs} +0 -0
- package/es/composables/{use-tab-status.js → use-tab-status.mjs} +0 -0
- package/es/composables/{use-touch.js → use-touch.mjs} +1 -1
- package/es/composables/{use-visibility-change.js → use-visibility-change.mjs} +1 -1
- package/es/config-provider/ConfigProvider.d.ts +4 -3
- package/es/config-provider/{ConfigProvider.js → ConfigProvider.mjs} +1 -1
- package/es/config-provider/index.d.ts +2 -2
- package/es/config-provider/{index.js → index.mjs} +2 -2
- package/es/config-provider/style/{index.js → index.mjs} +0 -0
- package/es/config-provider/style/{less.js → less.mjs} +0 -0
- package/es/contact-card/{ContactCard.js → ContactCard.mjs} +2 -2
- package/es/contact-card/{index.js → index.mjs} +2 -2
- package/es/contact-card/style/{index.js → index.mjs} +0 -0
- package/es/contact-card/style/{less.js → less.mjs} +0 -0
- package/es/contact-edit/{ContactEdit.js → ContactEdit.mjs} +6 -6
- package/es/contact-edit/{index.js → index.mjs} +2 -2
- package/es/contact-edit/style/{index.js → index.mjs} +0 -0
- package/es/contact-edit/style/{less.js → less.mjs} +0 -0
- package/es/contact-list/ContactList.d.ts +3 -2
- package/es/contact-list/{ContactList.js → ContactList.mjs} +7 -7
- package/es/contact-list/{index.js → index.mjs} +2 -2
- package/es/contact-list/style/{index.js → index.mjs} +0 -0
- package/es/contact-list/style/{less.js → less.mjs} +0 -0
- package/es/count-down/{CountDown.js → CountDown.mjs} +3 -3
- package/es/count-down/{index.js → index.mjs} +2 -2
- package/es/count-down/style/{index.js → index.mjs} +0 -0
- package/es/count-down/style/{less.js → less.mjs} +0 -0
- package/es/count-down/{types.js → types.mjs} +0 -0
- package/es/count-down/{utils.js → utils.mjs} +1 -1
- package/es/coupon/Coupon.d.ts +2 -1
- package/es/coupon/{Coupon.js → Coupon.mjs} +3 -3
- package/es/coupon/{index.js → index.mjs} +2 -2
- package/es/coupon/style/{index.js → index.mjs} +0 -0
- package/es/coupon/style/{less.js → less.mjs} +0 -0
- package/es/coupon/{utils.js → utils.mjs} +1 -1
- package/es/coupon-cell/{CouponCell.js → CouponCell.mjs} +2 -2
- package/es/coupon-cell/{index.js → index.mjs} +2 -2
- package/es/coupon-cell/style/{index.js → index.mjs} +0 -0
- package/es/coupon-cell/style/{less.js → less.mjs} +0 -0
- package/es/coupon-list/CouponList.d.ts +3 -13
- package/es/coupon-list/{CouponList.js → CouponList.mjs} +16 -14
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +2 -9
- package/es/coupon-list/index.less +4 -16
- package/es/coupon-list/{index.js → index.mjs} +2 -2
- package/es/coupon-list/style/{index.js → index.mjs} +1 -0
- package/es/coupon-list/style/{less.js → less.mjs} +1 -0
- package/es/date-picker/{DatePicker.js → DatePicker.mjs} +3 -3
- package/es/date-picker/{index.js → index.mjs} +2 -2
- package/es/date-picker/style/{index.js → index.mjs} +0 -0
- package/es/date-picker/style/{less.js → less.mjs} +0 -0
- package/es/date-picker/{utils.js → utils.mjs} +2 -2
- package/es/dialog/{Dialog.js → Dialog.mjs} +6 -6
- package/es/dialog/{function-call.js → function-call.mjs} +3 -3
- package/es/dialog/index.css +1 -1
- package/es/dialog/{index.js → index.mjs} +1 -1
- package/es/dialog/style/{index.js → index.mjs} +0 -0
- package/es/dialog/style/{less.js → less.mjs} +0 -0
- package/es/dialog/types.d.ts +2 -2
- package/es/dialog/{types.js → types.mjs} +0 -0
- package/es/divider/{Divider.js → Divider.mjs} +1 -1
- package/es/divider/{index.js → index.mjs} +2 -2
- package/es/divider/style/{index.js → index.mjs} +0 -0
- package/es/divider/style/{less.js → less.mjs} +0 -0
- package/es/dropdown-item/{DropdownItem.js → DropdownItem.mjs} +6 -6
- package/es/dropdown-item/{index.js → index.mjs} +2 -2
- package/es/dropdown-item/style/{index.js → index.mjs} +0 -0
- package/es/dropdown-item/style/{less.js → less.mjs} +0 -0
- package/es/dropdown-item/types.d.ts +2 -1
- package/es/dropdown-item/{types.js → types.mjs} +0 -0
- package/es/dropdown-menu/{DropdownMenu.js → DropdownMenu.mjs} +2 -2
- package/es/dropdown-menu/{index.js → index.mjs} +2 -2
- package/es/dropdown-menu/style/{index.js → index.mjs} +0 -0
- package/es/dropdown-menu/style/{less.js → less.mjs} +0 -0
- package/es/dropdown-menu/{types.js → types.mjs} +0 -0
- package/es/empty/Empty.d.ts +8 -7
- package/es/empty/{Empty.js → Empty.mjs} +12 -15
- package/es/empty/Images.d.ts +4 -0
- package/es/empty/Images.mjs +271 -0
- package/es/empty/index.d.ts +2 -2
- package/es/empty/{index.js → index.mjs} +2 -2
- package/es/empty/style/{index.js → index.mjs} +0 -0
- package/es/empty/style/{less.js → less.mjs} +0 -0
- package/es/field/Field.d.ts +4 -0
- package/es/field/{Field.js → Field.mjs} +27 -22
- package/es/field/index.d.ts +3 -1
- package/es/field/{index.js → index.mjs} +2 -2
- package/es/field/style/{index.js → index.mjs} +0 -0
- package/es/field/style/{less.js → less.mjs} +0 -0
- package/es/field/types.d.ts +3 -1
- package/es/field/{types.js → types.mjs} +0 -0
- package/es/field/{utils.js → utils.mjs} +1 -1
- package/es/form/Form.d.ts +13 -13
- package/es/form/{Form.js → Form.mjs} +14 -5
- package/es/form/index.d.ts +9 -9
- package/es/form/{index.js → index.mjs} +2 -2
- package/es/form/style/{index.js → index.mjs} +0 -0
- package/es/form/style/{less.js → less.mjs} +0 -0
- package/es/form/types.d.ts +3 -0
- package/es/form/{types.js → types.mjs} +0 -0
- package/es/grid/{Grid.js → Grid.mjs} +2 -2
- package/es/grid/{index.js → index.mjs} +2 -2
- package/es/grid/style/{index.js → index.mjs} +0 -0
- package/es/grid/style/{less.js → less.mjs} +0 -0
- package/es/grid-item/{GridItem.js → GridItem.mjs} +5 -5
- package/es/grid-item/{index.js → index.mjs} +2 -2
- package/es/grid-item/style/{index.js → index.mjs} +0 -0
- package/es/grid-item/style/{less.js → less.mjs} +0 -0
- package/es/icon/{Icon.js → Icon.mjs} +3 -3
- package/es/icon/index.css +1 -1
- package/es/icon/{index.js → index.mjs} +2 -2
- package/es/icon/style/{index.js → index.mjs} +0 -0
- package/es/icon/style/{less.js → less.mjs} +0 -0
- package/es/image/{Image.js → Image.mjs} +2 -2
- package/es/image/{index.js → index.mjs} +2 -2
- package/es/image/style/{index.js → index.mjs} +0 -0
- package/es/image/style/{less.js → less.mjs} +0 -0
- package/es/image-preview/{ImagePreview.js → ImagePreview.mjs} +6 -6
- package/es/image-preview/{ImagePreviewItem.js → ImagePreviewItem.mjs} +5 -5
- package/es/image-preview/{function-call.js → function-call.mjs} +3 -3
- package/es/image-preview/{index.js → index.mjs} +1 -1
- package/es/image-preview/style/{index.js → index.mjs} +0 -0
- package/es/image-preview/style/{less.js → less.mjs} +0 -0
- package/es/image-preview/{types.js → types.mjs} +0 -0
- package/es/index-anchor/{IndexAnchor.js → IndexAnchor.mjs} +4 -4
- package/es/index-anchor/{index.js → index.mjs} +2 -2
- package/es/index-anchor/style/{index.js → index.mjs} +0 -0
- package/es/index-anchor/style/{less.js → less.mjs} +0 -0
- package/es/index-bar/IndexBar.d.ts +5 -4
- package/es/index-bar/{IndexBar.js → IndexBar.mjs} +3 -3
- package/es/index-bar/index.d.ts +3 -3
- package/es/index-bar/{index.js → index.mjs} +2 -2
- package/es/index-bar/style/{index.js → index.mjs} +0 -0
- package/es/index-bar/style/{less.js → less.mjs} +0 -0
- package/es/index-bar/types.d.ts +2 -1
- package/es/index-bar/{types.js → types.mjs} +0 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +280 -0
- package/es/lazyload/{index.js → index.mjs} +1 -1
- package/es/lazyload/style/{index.js → index.mjs} +0 -0
- package/es/lazyload/style/{less.js → less.mjs} +0 -0
- package/es/lazyload/vue-lazyload/{index.js → index.mjs} +4 -4
- package/es/lazyload/vue-lazyload/{lazy-component.js → lazy-component.mjs} +0 -0
- package/es/lazyload/vue-lazyload/{lazy-container.js → lazy-container.mjs} +1 -1
- package/es/lazyload/vue-lazyload/{lazy-image.js → lazy-image.mjs} +2 -2
- package/es/lazyload/vue-lazyload/{lazy.js → lazy.mjs} +3 -3
- package/es/lazyload/vue-lazyload/{listener.js → listener.mjs} +2 -2
- package/es/lazyload/vue-lazyload/{util.js → util.mjs} +0 -0
- package/es/list/{List.js → List.mjs} +4 -4
- package/es/list/{index.js → index.mjs} +2 -2
- package/es/list/style/{index.js → index.mjs} +0 -0
- package/es/list/style/{less.js → less.mjs} +0 -0
- package/es/list/{types.js → types.mjs} +0 -0
- package/es/loading/{Loading.js → Loading.mjs} +4 -2
- package/es/loading/{index.js → index.mjs} +2 -2
- package/es/loading/style/{index.js → index.mjs} +0 -0
- package/es/loading/style/{less.js → less.mjs} +0 -0
- package/es/locale/{index.js → index.mjs} +2 -2
- package/es/locale/lang/bg-BG.d.ts +64 -0
- package/es/locale/lang/bg-BG.mjs +74 -0
- package/es/locale/lang/bn-BD.d.ts +0 -2
- package/es/locale/lang/{bn-BD.js → bn-BD.mjs} +0 -2
- package/es/locale/lang/da-DK.d.ts +64 -0
- package/es/locale/lang/da-DK.mjs +66 -0
- package/es/locale/lang/de-DE-formal.d.ts +0 -2
- package/es/locale/lang/{de-DE-formal.js → de-DE-formal.mjs} +0 -2
- package/es/locale/lang/de-DE.d.ts +0 -2
- package/es/locale/lang/{de-DE.js → de-DE.mjs} +0 -2
- package/es/locale/lang/el-GR.d.ts +64 -0
- package/es/locale/lang/el-GR.mjs +74 -0
- package/es/locale/lang/en-US.d.ts +0 -2
- package/es/locale/lang/{en-US.js → en-US.mjs} +0 -2
- package/es/locale/lang/es-ES.d.ts +0 -2
- package/es/locale/lang/{es-ES.js → es-ES.mjs} +0 -2
- package/es/locale/lang/fa-IR.d.ts +64 -0
- package/es/locale/lang/fa-IR.mjs +74 -0
- package/es/locale/lang/fr-FR.d.ts +0 -2
- package/es/locale/lang/{fr-FR.js → fr-FR.mjs} +0 -2
- package/es/locale/lang/he-IL.d.ts +64 -0
- package/es/locale/lang/he-IL.mjs +66 -0
- package/es/locale/lang/hi-IN.d.ts +0 -2
- package/es/locale/lang/{hi-IN.js → hi-IN.mjs} +0 -2
- package/es/locale/lang/id-ID.d.ts +0 -2
- package/es/locale/lang/{id-ID.js → id-ID.mjs} +0 -2
- package/es/locale/lang/is-IS.d.ts +62 -0
- package/es/locale/lang/is-IS.mjs +72 -0
- package/es/locale/lang/it-IT.d.ts +0 -2
- package/es/locale/lang/{it-IT.js → it-IT.mjs} +0 -2
- package/es/locale/lang/ja-JP.d.ts +0 -2
- package/es/locale/lang/{ja-JP.js → ja-JP.mjs} +0 -2
- package/es/locale/lang/ko-KR.d.ts +0 -2
- package/es/locale/lang/{ko-KR.js → ko-KR.mjs} +0 -2
- package/es/locale/lang/la-LA.d.ts +0 -2
- package/es/locale/lang/{la-LA.js → la-LA.mjs} +0 -2
- package/es/locale/lang/nb-NO.d.ts +0 -2
- package/es/locale/lang/{nb-NO.js → nb-NO.mjs} +0 -2
- package/es/locale/lang/pt-BR.d.ts +0 -2
- package/es/locale/lang/{pt-BR.js → pt-BR.mjs} +0 -2
- package/es/locale/lang/ro-RO.d.ts +0 -2
- package/es/locale/lang/{ro-RO.js → ro-RO.mjs} +0 -2
- package/es/locale/lang/ru-RU.d.ts +0 -2
- package/es/locale/lang/{ru-RU.js → ru-RU.mjs} +0 -2
- package/es/locale/lang/sv-SE.d.ts +62 -0
- package/es/locale/lang/sv-SE.mjs +64 -0
- package/es/locale/lang/th-TH.d.ts +0 -2
- package/es/locale/lang/{th-TH.js → th-TH.mjs} +0 -2
- package/es/locale/lang/tr-TR.d.ts +0 -2
- package/es/locale/lang/{tr-TR.js → tr-TR.mjs} +0 -2
- package/es/locale/lang/uk-UA.d.ts +0 -2
- package/es/locale/lang/{uk-UA.js → uk-UA.mjs} +0 -2
- package/es/locale/lang/vi-VN.d.ts +0 -2
- package/es/locale/lang/{vi-VN.js → vi-VN.mjs} +0 -2
- package/es/locale/lang/zh-CN.d.ts +0 -2
- package/es/locale/lang/{zh-CN.js → zh-CN.mjs} +0 -2
- package/es/locale/lang/zh-HK.d.ts +0 -2
- package/es/locale/lang/{zh-HK.js → zh-HK.mjs} +0 -2
- package/es/locale/lang/zh-TW.d.ts +0 -2
- package/es/locale/lang/{zh-TW.js → zh-TW.mjs} +0 -2
- package/es/locale/style/{index.js → index.mjs} +0 -0
- package/es/locale/style/{less.js → less.mjs} +0 -0
- package/es/nav-bar/{NavBar.js → NavBar.mjs} +3 -3
- package/es/nav-bar/{index.js → index.mjs} +2 -2
- package/es/nav-bar/style/{index.js → index.mjs} +0 -0
- package/es/nav-bar/style/{less.js → less.mjs} +0 -0
- package/es/notice-bar/{NoticeBar.js → NoticeBar.mjs} +4 -4
- package/es/notice-bar/{index.js → index.mjs} +2 -2
- package/es/notice-bar/style/{index.js → index.mjs} +0 -0
- package/es/notice-bar/style/{less.js → less.mjs} +0 -0
- package/es/notice-bar/{types.js → types.mjs} +0 -0
- package/es/notify/{Notify.js → Notify.mjs} +3 -3
- package/es/notify/{function-call.js → function-call.mjs} +3 -3
- package/es/notify/{index.js → index.mjs} +1 -1
- package/es/notify/style/{index.js → index.mjs} +0 -0
- package/es/notify/style/{less.js → less.mjs} +0 -0
- package/es/notify/types.d.ts +2 -1
- package/es/notify/{types.js → types.mjs} +0 -0
- package/es/number-keyboard/{NumberKeyboard.js → NumberKeyboard.mjs} +12 -3
- package/es/number-keyboard/{NumberKeyboardKey.js → NumberKeyboardKey.mjs} +3 -3
- package/es/number-keyboard/{index.js → index.mjs} +2 -2
- package/es/number-keyboard/style/{index.js → index.mjs} +0 -0
- package/es/number-keyboard/style/{less.js → less.mjs} +0 -0
- package/es/overlay/{Overlay.js → Overlay.mjs} +2 -2
- package/es/overlay/{index.js → index.mjs} +2 -2
- package/es/overlay/style/{index.js → index.mjs} +0 -0
- package/es/overlay/style/{less.js → less.mjs} +0 -0
- package/es/pagination/{Pagination.js → Pagination.mjs} +1 -1
- package/es/pagination/{index.js → index.mjs} +2 -2
- package/es/pagination/style/{index.js → index.mjs} +0 -0
- package/es/pagination/style/{less.js → less.mjs} +0 -0
- package/es/password-input/{PasswordInput.js → PasswordInput.mjs} +1 -1
- package/es/password-input/{index.js → index.mjs} +2 -2
- package/es/password-input/style/{index.js → index.mjs} +0 -0
- package/es/password-input/style/{less.js → less.mjs} +0 -0
- package/es/picker/Picker.d.ts +5 -4
- package/es/picker/{Picker.js → Picker.mjs} +5 -5
- package/es/picker/{PickerColumn.js → PickerColumn.mjs} +4 -4
- package/es/picker/index.d.ts +3 -3
- package/es/picker/{index.js → index.mjs} +2 -2
- package/es/picker/style/{index.js → index.mjs} +0 -0
- package/es/picker/style/{less.js → less.mjs} +0 -0
- package/es/picker/types.d.ts +4 -3
- package/es/picker/{types.js → types.mjs} +0 -0
- package/es/picker/utils.d.ts +4 -3
- package/es/picker/{utils.js → utils.mjs} +1 -1
- package/es/popover/{Popover.js → Popover.mjs} +3 -3
- package/es/popover/{index.js → index.mjs} +2 -2
- package/es/popover/style/{index.js → index.mjs} +0 -0
- package/es/popover/style/{less.js → less.mjs} +0 -0
- package/es/popover/{types.js → types.mjs} +0 -0
- package/es/popup/{Popup.js → Popup.mjs} +8 -8
- package/es/popup/index.css +1 -1
- package/es/popup/{index.js → index.mjs} +2 -2
- package/es/popup/{shared.js → shared.mjs} +1 -1
- package/es/popup/style/{index.js → index.mjs} +0 -0
- package/es/popup/style/{less.js → less.mjs} +0 -0
- package/es/popup/{types.js → types.mjs} +0 -0
- package/es/progress/Progress.d.ts +4 -3
- package/es/progress/{Progress.js → Progress.mjs} +1 -1
- package/es/progress/index.d.ts +2 -2
- package/es/progress/{index.js → index.mjs} +2 -2
- package/es/progress/style/{index.js → index.mjs} +0 -0
- package/es/progress/style/{less.js → less.mjs} +0 -0
- package/es/progress/{types.js → types.mjs} +0 -0
- package/es/pull-refresh/{PullRefresh.js → PullRefresh.mjs} +3 -3
- package/es/pull-refresh/{index.js → index.mjs} +2 -2
- package/es/pull-refresh/style/{index.js → index.mjs} +0 -0
- package/es/pull-refresh/style/{less.js → less.mjs} +0 -0
- package/es/radio/{Radio.js → Radio.mjs} +3 -3
- package/es/radio/{index.js → index.mjs} +2 -2
- package/es/radio/style/{index.js → index.mjs} +0 -0
- package/es/radio/style/{less.js → less.mjs} +0 -0
- package/es/radio-group/{RadioGroup.js → RadioGroup.mjs} +1 -1
- package/es/radio-group/{index.js → index.mjs} +2 -2
- package/es/radio-group/style/{index.js → index.mjs} +0 -0
- package/es/radio-group/style/{less.js → less.mjs} +0 -0
- package/es/rate/{Rate.js → Rate.mjs} +36 -14
- package/es/rate/{index.js → index.mjs} +2 -2
- package/es/rate/style/{index.js → index.mjs} +0 -0
- package/es/rate/style/{less.js → less.mjs} +0 -0
- package/es/row/{Row.js → Row.mjs} +1 -1
- package/es/row/{index.js → index.mjs} +2 -2
- package/es/row/style/{index.js → index.mjs} +0 -0
- package/es/row/style/{less.js → less.mjs} +0 -0
- package/es/search/Search.d.ts +3 -0
- package/es/search/{Search.js → Search.mjs} +5 -5
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +2 -0
- package/es/search/index.less +1 -1
- package/es/search/{index.js → index.mjs} +2 -2
- package/es/search/style/{index.js → index.mjs} +0 -0
- package/es/search/style/{less.js → less.mjs} +0 -0
- package/es/search/{types.js → types.mjs} +0 -0
- package/es/share-sheet/{ShareSheet.js → ShareSheet.mjs} +28 -14
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.less +45 -1
- package/es/share-sheet/{index.js → index.mjs} +2 -2
- package/es/share-sheet/style/{index.js → index.mjs} +0 -0
- package/es/share-sheet/style/{less.js → less.mjs} +0 -0
- package/es/sidebar/{Sidebar.js → Sidebar.mjs} +1 -1
- package/es/sidebar/{index.js → index.mjs} +2 -2
- package/es/sidebar/style/{index.js → index.mjs} +0 -0
- package/es/sidebar/style/{less.js → less.mjs} +0 -0
- package/es/sidebar-item/{SidebarItem.js → SidebarItem.mjs} +4 -4
- package/es/sidebar-item/{index.js → index.mjs} +2 -2
- package/es/sidebar-item/style/{index.js → index.mjs} +0 -0
- package/es/sidebar-item/style/{less.js → less.mjs} +0 -0
- package/es/skeleton/Skeleton.d.ts +5 -4
- package/es/skeleton/{Skeleton.js → Skeleton.mjs} +1 -1
- package/es/skeleton/index.d.ts +3 -3
- package/es/skeleton/{index.js → index.mjs} +2 -2
- package/es/skeleton/style/{index.js → index.mjs} +0 -0
- package/es/skeleton/style/{less.js → less.mjs} +0 -0
- package/es/slider/{Slider.js → Slider.mjs} +2 -2
- package/es/slider/index.css +1 -1
- package/es/slider/{index.js → index.mjs} +2 -2
- package/es/slider/style/{index.js → index.mjs} +0 -0
- package/es/slider/style/{less.js → less.mjs} +0 -0
- package/es/step/{Step.js → Step.mjs} +3 -3
- package/es/step/{index.js → index.mjs} +2 -2
- package/es/step/style/{index.js → index.mjs} +0 -0
- package/es/step/style/{less.js → less.mjs} +0 -0
- package/es/stepper/{Stepper.js → Stepper.mjs} +1 -1
- package/es/stepper/{index.js → index.mjs} +2 -2
- package/es/stepper/style/{index.js → index.mjs} +0 -0
- package/es/stepper/style/{less.js → less.mjs} +0 -0
- package/es/steps/{Steps.js → Steps.mjs} +1 -1
- package/es/steps/{index.js → index.mjs} +2 -2
- package/es/steps/style/{index.js → index.mjs} +0 -0
- package/es/steps/style/{less.js → less.mjs} +0 -0
- package/es/sticky/{Sticky.js → Sticky.mjs} +2 -2
- package/es/sticky/{index.js → index.mjs} +2 -2
- package/es/sticky/style/{index.js → index.mjs} +0 -0
- package/es/sticky/style/{less.js → less.mjs} +0 -0
- package/es/style/animation.css +1 -1
- package/es/style/base.css +1 -1
- package/es/submit-bar/{SubmitBar.js → SubmitBar.mjs} +3 -3
- package/es/submit-bar/{index.js → index.mjs} +2 -2
- package/es/submit-bar/style/{index.js → index.mjs} +0 -0
- package/es/submit-bar/style/{less.js → less.mjs} +0 -0
- package/es/swipe/{Swipe.js → Swipe.mjs} +4 -4
- package/es/swipe/{index.js → index.mjs} +2 -2
- package/es/swipe/style/{index.js → index.mjs} +0 -0
- package/es/swipe/style/{less.js → less.mjs} +0 -0
- package/es/swipe/{types.js → types.mjs} +0 -0
- package/es/swipe-cell/{SwipeCell.js → SwipeCell.mjs} +3 -3
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/{index.js → index.mjs} +2 -2
- package/es/swipe-cell/style/{index.js → index.mjs} +0 -0
- package/es/swipe-cell/style/{less.js → less.mjs} +0 -0
- package/es/swipe-cell/{types.js → types.mjs} +0 -0
- package/es/swipe-item/{SwipeItem.js → SwipeItem.mjs} +3 -3
- package/es/swipe-item/{index.js → index.mjs} +2 -2
- package/es/swipe-item/style/{index.js → index.mjs} +0 -0
- package/es/swipe-item/style/{less.js → less.mjs} +0 -0
- package/es/switch/{Switch.js → Switch.mjs} +7 -3
- package/es/switch/{index.js → index.mjs} +2 -2
- package/es/switch/style/{index.js → index.mjs} +0 -0
- package/es/switch/style/{less.js → less.mjs} +0 -0
- package/es/tab/{Tab.js → Tab.mjs} +7 -7
- package/es/tab/{index.js → index.mjs} +2 -2
- package/es/tab/style/{index.js → index.mjs} +0 -0
- package/es/tab/style/{less.js → less.mjs} +0 -0
- package/es/tabbar/Tabbar.d.ts +2 -2
- package/es/tabbar/{Tabbar.js → Tabbar.mjs} +2 -2
- package/es/tabbar/{index.js → index.mjs} +2 -2
- package/es/tabbar/style/{index.js → index.mjs} +0 -0
- package/es/tabbar/style/{less.js → less.mjs} +0 -0
- package/es/tabbar-item/{TabbarItem.js → TabbarItem.mjs} +5 -5
- package/es/tabbar-item/{index.js → index.mjs} +2 -2
- package/es/tabbar-item/style/{index.js → index.mjs} +0 -0
- package/es/tabbar-item/style/{less.js → less.mjs} +0 -0
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/{Tabs.js → Tabs.mjs} +11 -10
- package/es/tabs/{TabsContent.js → TabsContent.mjs} +2 -2
- package/es/tabs/{TabsTitle.js → TabsTitle.mjs} +2 -2
- package/es/tabs/{index.js → index.mjs} +2 -2
- package/es/tabs/style/{index.js → index.mjs} +0 -0
- package/es/tabs/style/{less.js → less.mjs} +0 -0
- package/es/tabs/types.d.ts +5 -4
- package/es/tabs/{types.js → types.mjs} +0 -0
- package/es/tabs/{utils.js → utils.mjs} +1 -1
- package/es/tag/{Tag.js → Tag.mjs} +2 -2
- package/es/tag/{index.js → index.mjs} +2 -2
- package/es/tag/style/{index.js → index.mjs} +0 -0
- package/es/tag/style/{less.js → less.mjs} +0 -0
- package/es/time-picker/{TimePicker.js → TimePicker.mjs} +3 -3
- package/es/time-picker/{index.js → index.mjs} +2 -2
- package/es/time-picker/style/{index.js → index.mjs} +0 -0
- package/es/time-picker/style/{less.js → less.mjs} +0 -0
- package/es/toast/{Toast.js → Toast.mjs} +5 -5
- package/es/toast/{function-call.js → function-call.mjs} +3 -3
- package/es/toast/{index.js → index.mjs} +1 -1
- package/es/toast/{lock-click.js → lock-click.mjs} +0 -0
- package/es/toast/style/{index.js → index.mjs} +0 -0
- package/es/toast/style/{less.js → less.mjs} +0 -0
- package/es/toast/types.d.ts +3 -2
- package/es/toast/{types.js → types.mjs} +0 -0
- package/es/tree-select/TreeSelect.d.ts +7 -6
- package/es/tree-select/{TreeSelect.js → TreeSelect.mjs} +4 -4
- package/es/tree-select/index.d.ts +3 -3
- package/es/tree-select/{index.js → index.mjs} +2 -2
- package/es/tree-select/style/{index.js → index.mjs} +0 -0
- package/es/tree-select/style/{less.js → less.mjs} +0 -0
- package/es/uploader/Uploader.d.ts +4 -4
- package/es/uploader/{Uploader.js → Uploader.mjs} +8 -10
- package/es/uploader/UploaderPreviewItem.d.ts +3 -3
- package/es/uploader/{UploaderPreviewItem.js → UploaderPreviewItem.mjs} +19 -13
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +2 -2
- package/es/uploader/index.less +7 -4
- package/es/uploader/{index.js → index.mjs} +2 -2
- package/es/uploader/style/{index.js → index.mjs} +0 -0
- package/es/uploader/style/{less.js → less.mjs} +0 -0
- package/es/uploader/types.d.ts +5 -5
- package/es/uploader/{types.js → types.mjs} +0 -0
- package/es/uploader/utils.d.ts +0 -1
- package/es/uploader/{utils.js → utils.mjs} +2 -4
- package/es/utils/basic.d.ts +2 -0
- package/es/utils/{basic.js → basic.mjs} +3 -1
- package/es/utils/{constant.js → constant.mjs} +0 -0
- package/es/utils/{create.js → create.mjs} +4 -4
- package/es/utils/{deep-assign.js → deep-assign.mjs} +1 -1
- package/es/utils/{deep-clone.js → deep-clone.mjs} +1 -1
- package/es/utils/{dom.js → dom.mjs} +1 -1
- package/es/utils/format.d.ts +7 -6
- package/es/utils/{format.js → format.mjs} +9 -3
- package/es/utils/index.mjs +9 -0
- package/es/utils/{interceptor.js → interceptor.mjs} +2 -2
- package/es/utils/{mount-component.js → mount-component.mjs} +2 -2
- package/es/utils/{props.js → props.mjs} +0 -0
- package/es/utils/validate.d.ts +2 -1
- package/es/utils/{validate.js → validate.mjs} +1 -1
- package/es/utils/{with-install.js → with-install.mjs} +1 -1
- package/lib/action-bar/ActionBar.js +8 -13
- package/lib/action-bar/index.js +9 -16
- package/lib/action-bar-button/ActionBarButton.js +8 -13
- package/lib/action-bar-button/index.js +9 -16
- package/lib/action-bar-icon/ActionBarIcon.js +8 -13
- package/lib/action-bar-icon/index.js +9 -16
- package/lib/action-sheet/ActionSheet.js +8 -13
- package/lib/action-sheet/index.js +9 -16
- package/lib/address-edit/AddressEdit.d.ts +0 -17
- package/lib/address-edit/AddressEdit.js +12 -40
- package/lib/address-edit/AddressEditDetail.js +8 -13
- package/lib/address-edit/index.d.ts +0 -12
- package/lib/address-edit/index.js +9 -16
- package/lib/address-edit/types.d.ts +0 -1
- package/lib/address-edit/types.js +7 -12
- package/lib/address-list/AddressList.js +9 -16
- package/lib/address-list/AddressListItem.d.ts +3 -2
- package/lib/address-list/AddressListItem.js +8 -13
- package/lib/address-list/index.js +9 -16
- package/lib/area/Area.js +8 -13
- package/lib/area/index.js +9 -16
- package/lib/area/types.js +7 -12
- package/lib/area/utils.js +8 -13
- package/lib/badge/Badge.d.ts +4 -3
- package/lib/badge/Badge.js +8 -13
- package/lib/badge/index.d.ts +2 -2
- package/lib/badge/index.js +9 -16
- package/lib/button/Button.js +8 -13
- package/lib/button/index.js +9 -16
- package/lib/button/types.js +7 -12
- package/lib/calendar/Calendar.js +10 -17
- package/lib/calendar/CalendarDay.js +12 -13
- package/lib/calendar/CalendarHeader.js +8 -13
- package/lib/calendar/CalendarMonth.js +9 -16
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.js +9 -16
- package/lib/calendar/index.less +2 -0
- package/lib/calendar/types.d.ts +2 -1
- package/lib/calendar/types.js +7 -12
- package/lib/calendar/utils.js +8 -13
- package/lib/card/Card.js +8 -13
- package/lib/card/index.js +9 -16
- package/lib/cascader/Cascader.js +8 -13
- package/lib/cascader/index.js +9 -16
- package/lib/cascader/types.d.ts +2 -1
- package/lib/cascader/types.js +7 -12
- package/lib/cell/Cell.js +8 -13
- package/lib/cell/index.js +9 -16
- package/lib/cell-group/CellGroup.js +8 -13
- package/lib/cell-group/index.js +9 -16
- package/lib/checkbox/Checkbox.js +9 -16
- package/lib/checkbox/Checker.d.ts +2 -1
- package/lib/checkbox/Checker.js +8 -13
- package/lib/checkbox/index.js +9 -16
- package/lib/checkbox/types.js +7 -12
- package/lib/checkbox-group/CheckboxGroup.js +8 -13
- package/lib/checkbox-group/index.js +9 -16
- package/lib/checkbox-group/types.js +7 -12
- package/lib/circle/Circle.js +8 -13
- package/lib/circle/index.js +9 -16
- package/lib/col/Col.js +8 -13
- package/lib/col/index.js +9 -16
- package/lib/collapse/Collapse.d.ts +7 -6
- package/lib/collapse/Collapse.js +8 -13
- package/lib/collapse/index.d.ts +3 -3
- package/lib/collapse/index.js +9 -16
- package/lib/collapse-item/CollapseItem.js +8 -13
- package/lib/collapse-item/index.js +9 -16
- package/lib/collapse-item/types.js +7 -12
- package/lib/composables/on-popup-reopen.js +8 -13
- package/lib/composables/use-expose.js +8 -13
- package/lib/composables/use-height.js +8 -13
- package/lib/composables/use-id.js +8 -13
- package/lib/composables/use-lazy-render.js +8 -13
- package/lib/composables/use-lock-scroll.js +8 -13
- package/lib/composables/use-placeholder.js +8 -13
- package/lib/composables/use-refs.js +8 -13
- package/lib/composables/use-route.js +8 -13
- package/lib/composables/use-tab-status.js +8 -13
- package/lib/composables/use-touch.js +9 -14
- package/lib/composables/use-visibility-change.js +8 -13
- package/lib/config-provider/ConfigProvider.d.ts +4 -3
- package/lib/config-provider/ConfigProvider.js +8 -13
- package/lib/config-provider/index.d.ts +2 -2
- package/lib/config-provider/index.js +9 -16
- package/lib/contact-card/ContactCard.js +8 -13
- package/lib/contact-card/index.js +9 -16
- package/lib/contact-edit/ContactEdit.js +8 -13
- package/lib/contact-edit/index.js +9 -16
- package/lib/contact-list/ContactList.d.ts +3 -2
- package/lib/contact-list/ContactList.js +8 -13
- package/lib/contact-list/index.js +9 -16
- package/lib/count-down/CountDown.js +8 -13
- package/lib/count-down/index.js +9 -16
- package/lib/count-down/types.js +7 -12
- package/lib/count-down/utils.js +8 -13
- package/lib/coupon/Coupon.d.ts +2 -1
- package/lib/coupon/Coupon.js +8 -13
- package/lib/coupon/index.js +9 -16
- package/lib/coupon/utils.js +8 -13
- package/lib/coupon-cell/CouponCell.js +8 -13
- package/lib/coupon-cell/index.js +9 -16
- package/lib/coupon-list/CouponList.d.ts +3 -13
- package/lib/coupon-list/CouponList.js +17 -20
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +2 -9
- package/lib/coupon-list/index.js +9 -16
- package/lib/coupon-list/index.less +4 -16
- package/lib/coupon-list/style/index.js +1 -0
- package/lib/coupon-list/style/less.js +1 -0
- package/lib/date-picker/DatePicker.js +8 -13
- package/lib/date-picker/index.js +9 -16
- package/lib/date-picker/utils.js +8 -13
- package/lib/dialog/Dialog.js +8 -13
- package/lib/dialog/function-call.js +9 -16
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.js +8 -13
- package/lib/dialog/types.d.ts +2 -2
- package/lib/dialog/types.js +7 -12
- package/lib/divider/Divider.js +8 -13
- package/lib/divider/index.js +9 -16
- package/lib/dropdown-item/DropdownItem.js +8 -13
- package/lib/dropdown-item/index.js +9 -16
- package/lib/dropdown-item/types.d.ts +2 -1
- package/lib/dropdown-item/types.js +7 -12
- package/lib/dropdown-menu/DropdownMenu.js +8 -13
- package/lib/dropdown-menu/index.js +9 -16
- package/lib/dropdown-menu/types.js +7 -12
- package/lib/empty/Empty.d.ts +8 -7
- package/lib/empty/Empty.js +19 -27
- package/lib/empty/Images.d.ts +4 -0
- package/lib/empty/Images.js +290 -0
- package/lib/empty/index.d.ts +2 -2
- package/lib/empty/index.js +9 -16
- package/lib/field/Field.d.ts +4 -0
- package/lib/field/Field.js +28 -28
- package/lib/field/index.d.ts +3 -1
- package/lib/field/index.js +9 -16
- package/lib/field/types.d.ts +3 -1
- package/lib/field/types.js +7 -12
- package/lib/field/utils.js +8 -13
- package/lib/form/Form.d.ts +13 -13
- package/lib/form/Form.js +20 -16
- package/lib/form/index.d.ts +9 -9
- package/lib/form/index.js +9 -16
- package/lib/form/types.d.ts +3 -0
- package/lib/form/types.js +7 -12
- package/lib/grid/Grid.js +8 -13
- package/lib/grid/index.js +9 -16
- package/lib/grid-item/GridItem.js +8 -13
- package/lib/grid-item/index.js +9 -16
- package/lib/icon/Icon.js +8 -13
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.js +9 -16
- package/lib/image/Image.js +8 -13
- package/lib/image/index.js +9 -16
- package/lib/image-preview/ImagePreview.js +9 -16
- package/lib/image-preview/ImagePreviewItem.js +8 -13
- package/lib/image-preview/function-call.js +9 -16
- package/lib/image-preview/index.js +8 -13
- package/lib/image-preview/types.js +7 -12
- package/lib/index-anchor/IndexAnchor.js +8 -13
- package/lib/index-anchor/index.js +9 -16
- package/lib/index-bar/IndexBar.d.ts +5 -4
- package/lib/index-bar/IndexBar.js +8 -13
- package/lib/index-bar/index.d.ts +3 -3
- package/lib/index-bar/index.js +9 -16
- package/lib/index-bar/types.d.ts +2 -1
- package/lib/index-bar/types.js +7 -12
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +97 -101
- package/lib/index.less +2 -2
- package/lib/lazyload/index.js +8 -13
- package/lib/lazyload/vue-lazyload/index.js +9 -16
- package/lib/lazyload/vue-lazyload/lazy-component.js +8 -13
- package/lib/lazyload/vue-lazyload/lazy-container.js +8 -13
- package/lib/lazyload/vue-lazyload/lazy-image.js +8 -13
- package/lib/lazyload/vue-lazyload/lazy.js +9 -16
- package/lib/lazyload/vue-lazyload/listener.js +8 -13
- package/lib/lazyload/vue-lazyload/util.js +8 -13
- package/lib/list/List.js +8 -13
- package/lib/list/index.js +9 -16
- package/lib/list/types.js +7 -12
- package/lib/loading/Loading.js +11 -14
- package/lib/loading/index.js +9 -16
- package/lib/locale/index.js +9 -16
- package/lib/locale/lang/bg-BG.d.ts +64 -0
- package/lib/locale/lang/bg-BG.js +93 -0
- package/lib/locale/lang/bn-BD.d.ts +0 -2
- package/lib/locale/lang/bn-BD.js +8 -15
- package/lib/locale/lang/da-DK.d.ts +64 -0
- package/lib/locale/lang/da-DK.js +85 -0
- package/lib/locale/lang/de-DE-formal.d.ts +0 -2
- package/lib/locale/lang/de-DE-formal.js +8 -15
- package/lib/locale/lang/de-DE.d.ts +0 -2
- package/lib/locale/lang/de-DE.js +8 -15
- package/lib/locale/lang/el-GR.d.ts +64 -0
- package/lib/locale/lang/el-GR.js +93 -0
- package/lib/locale/lang/en-US.d.ts +0 -2
- package/lib/locale/lang/en-US.js +8 -15
- package/lib/locale/lang/es-ES.d.ts +0 -2
- package/lib/locale/lang/es-ES.js +8 -15
- package/lib/locale/lang/fa-IR.d.ts +64 -0
- package/lib/locale/lang/fa-IR.js +93 -0
- package/lib/locale/lang/fr-FR.d.ts +0 -2
- package/lib/locale/lang/fr-FR.js +8 -15
- package/lib/locale/lang/he-IL.d.ts +64 -0
- package/lib/locale/lang/he-IL.js +85 -0
- package/lib/locale/lang/hi-IN.d.ts +0 -2
- package/lib/locale/lang/hi-IN.js +8 -15
- package/lib/locale/lang/id-ID.d.ts +0 -2
- package/lib/locale/lang/id-ID.js +8 -15
- package/lib/locale/lang/is-IS.d.ts +62 -0
- package/lib/locale/lang/is-IS.js +91 -0
- package/lib/locale/lang/it-IT.d.ts +0 -2
- package/lib/locale/lang/it-IT.js +8 -15
- package/lib/locale/lang/ja-JP.d.ts +0 -2
- package/lib/locale/lang/ja-JP.js +8 -15
- package/lib/locale/lang/ko-KR.d.ts +0 -2
- package/lib/locale/lang/ko-KR.js +8 -15
- package/lib/locale/lang/la-LA.d.ts +0 -2
- package/lib/locale/lang/la-LA.js +8 -15
- package/lib/locale/lang/nb-NO.d.ts +0 -2
- package/lib/locale/lang/nb-NO.js +8 -15
- package/lib/locale/lang/pt-BR.d.ts +0 -2
- package/lib/locale/lang/pt-BR.js +8 -15
- package/lib/locale/lang/ro-RO.d.ts +0 -2
- package/lib/locale/lang/ro-RO.js +8 -15
- package/lib/locale/lang/ru-RU.d.ts +0 -2
- package/lib/locale/lang/ru-RU.js +8 -15
- package/lib/locale/lang/sv-SE.d.ts +62 -0
- package/lib/locale/lang/sv-SE.js +83 -0
- package/lib/locale/lang/th-TH.d.ts +0 -2
- package/lib/locale/lang/th-TH.js +8 -15
- package/lib/locale/lang/tr-TR.d.ts +0 -2
- package/lib/locale/lang/tr-TR.js +8 -15
- package/lib/locale/lang/uk-UA.d.ts +0 -2
- package/lib/locale/lang/uk-UA.js +8 -15
- package/lib/locale/lang/vi-VN.d.ts +0 -2
- package/lib/locale/lang/vi-VN.js +8 -15
- package/lib/locale/lang/zh-CN.d.ts +0 -2
- package/lib/locale/lang/zh-CN.js +8 -15
- package/lib/locale/lang/zh-HK.d.ts +0 -2
- package/lib/locale/lang/zh-HK.js +8 -15
- package/lib/locale/lang/zh-TW.d.ts +0 -2
- package/lib/locale/lang/zh-TW.js +8 -15
- package/lib/nav-bar/NavBar.js +8 -13
- package/lib/nav-bar/index.js +9 -16
- package/lib/notice-bar/NoticeBar.js +8 -13
- package/lib/notice-bar/index.js +9 -16
- package/lib/notice-bar/types.js +7 -12
- package/lib/notify/Notify.js +8 -13
- package/lib/notify/function-call.js +9 -16
- package/lib/notify/index.js +8 -13
- package/lib/notify/types.d.ts +2 -1
- package/lib/notify/types.js +7 -12
- package/lib/number-keyboard/NumberKeyboard.js +19 -17
- package/lib/number-keyboard/NumberKeyboardKey.js +8 -13
- package/lib/number-keyboard/index.js +9 -16
- package/lib/overlay/Overlay.js +8 -13
- package/lib/overlay/index.js +9 -16
- package/lib/pagination/Pagination.js +8 -13
- package/lib/pagination/index.js +9 -16
- package/lib/password-input/PasswordInput.js +8 -13
- package/lib/password-input/index.js +9 -16
- package/lib/picker/Picker.d.ts +5 -4
- package/lib/picker/Picker.js +9 -16
- package/lib/picker/PickerColumn.js +8 -13
- package/lib/picker/index.d.ts +3 -3
- package/lib/picker/index.js +9 -16
- package/lib/picker/types.d.ts +4 -3
- package/lib/picker/types.js +7 -12
- package/lib/picker/utils.d.ts +4 -3
- package/lib/picker/utils.js +8 -13
- package/lib/popover/Popover.js +8 -13
- package/lib/popover/index.js +9 -16
- package/lib/popover/types.js +7 -12
- package/lib/popup/Popup.js +8 -13
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.js +9 -16
- package/lib/popup/shared.js +8 -13
- package/lib/popup/types.js +7 -12
- package/lib/progress/Progress.d.ts +4 -3
- package/lib/progress/Progress.js +8 -13
- package/lib/progress/index.d.ts +2 -2
- package/lib/progress/index.js +9 -16
- package/lib/progress/types.js +7 -12
- package/lib/pull-refresh/PullRefresh.js +8 -13
- package/lib/pull-refresh/index.js +9 -16
- package/lib/radio/Radio.js +9 -16
- package/lib/radio/index.js +9 -16
- package/lib/radio-group/RadioGroup.js +8 -13
- package/lib/radio-group/index.js +9 -16
- package/lib/rate/Rate.js +39 -22
- package/lib/rate/index.js +9 -16
- package/lib/row/Row.js +8 -13
- package/lib/row/index.js +9 -16
- package/lib/search/Search.d.ts +3 -0
- package/lib/search/Search.js +8 -13
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +2 -0
- package/lib/search/index.js +9 -16
- package/lib/search/index.less +1 -1
- package/lib/search/types.js +7 -12
- package/lib/share-sheet/ShareSheet.js +33 -24
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.js +9 -16
- package/lib/share-sheet/index.less +45 -1
- package/lib/sidebar/Sidebar.js +8 -13
- package/lib/sidebar/index.js +9 -16
- package/lib/sidebar-item/SidebarItem.js +8 -13
- package/lib/sidebar-item/index.js +9 -16
- package/lib/skeleton/Skeleton.d.ts +5 -4
- package/lib/skeleton/Skeleton.js +8 -13
- package/lib/skeleton/index.d.ts +3 -3
- package/lib/skeleton/index.js +9 -16
- package/lib/slider/Slider.js +8 -13
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.js +9 -16
- package/lib/step/Step.js +8 -13
- package/lib/step/index.js +9 -16
- package/lib/stepper/Stepper.js +8 -13
- package/lib/stepper/index.js +9 -16
- package/lib/steps/Steps.js +8 -13
- package/lib/steps/index.js +9 -16
- package/lib/sticky/Sticky.js +8 -13
- package/lib/sticky/index.js +9 -16
- package/lib/style/animation.css +1 -1
- package/lib/style/base.css +1 -1
- package/lib/submit-bar/SubmitBar.js +8 -13
- package/lib/submit-bar/index.js +9 -16
- package/lib/swipe/Swipe.js +8 -13
- package/lib/swipe/index.js +9 -16
- package/lib/swipe/types.js +7 -12
- package/lib/swipe-cell/SwipeCell.js +8 -13
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.js +9 -16
- package/lib/swipe-cell/types.js +7 -12
- package/lib/swipe-item/SwipeItem.js +8 -13
- package/lib/swipe-item/index.js +9 -16
- package/lib/switch/Switch.js +13 -14
- package/lib/switch/index.js +9 -16
- package/lib/tab/Tab.js +8 -13
- package/lib/tab/index.js +9 -16
- package/lib/tabbar/Tabbar.d.ts +2 -2
- package/lib/tabbar/Tabbar.js +8 -13
- package/lib/tabbar/index.js +9 -16
- package/lib/tabbar-item/TabbarItem.js +8 -13
- package/lib/tabbar-item/index.js +9 -16
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +10 -16
- package/lib/tabs/TabsContent.js +8 -13
- package/lib/tabs/TabsTitle.js +8 -13
- package/lib/tabs/index.js +9 -16
- package/lib/tabs/types.d.ts +5 -4
- package/lib/tabs/types.js +7 -12
- package/lib/tabs/utils.js +8 -13
- package/lib/tag/Tag.js +8 -13
- package/lib/tag/index.js +9 -16
- package/lib/time-picker/TimePicker.js +8 -13
- package/lib/time-picker/index.js +9 -16
- package/lib/toast/Toast.js +8 -13
- package/lib/toast/function-call.js +9 -16
- package/lib/toast/index.js +8 -13
- package/lib/toast/lock-click.js +8 -13
- package/lib/toast/types.d.ts +3 -2
- package/lib/toast/types.js +7 -12
- package/lib/tree-select/TreeSelect.d.ts +7 -6
- package/lib/tree-select/TreeSelect.js +8 -13
- package/lib/tree-select/index.d.ts +3 -3
- package/lib/tree-select/index.js +9 -16
- package/lib/uploader/Uploader.d.ts +4 -4
- package/lib/uploader/Uploader.js +12 -21
- package/lib/uploader/UploaderPreviewItem.d.ts +3 -3
- package/lib/uploader/UploaderPreviewItem.js +22 -21
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +2 -2
- package/lib/uploader/index.js +9 -16
- package/lib/uploader/index.less +7 -4
- package/lib/uploader/types.d.ts +5 -5
- package/lib/uploader/types.js +7 -12
- package/lib/uploader/utils.d.ts +0 -1
- package/lib/uploader/utils.js +10 -17
- package/lib/utils/basic.d.ts +2 -0
- package/lib/utils/basic.js +11 -14
- package/lib/utils/constant.js +8 -13
- package/lib/utils/create.js +9 -16
- package/lib/utils/deep-assign.js +8 -13
- package/lib/utils/deep-clone.js +8 -13
- package/lib/utils/dom.js +8 -13
- package/lib/utils/format.d.ts +7 -6
- package/lib/utils/format.js +14 -13
- package/lib/utils/index.js +17 -21
- package/lib/utils/interceptor.js +8 -13
- package/lib/utils/mount-component.js +8 -13
- package/lib/utils/props.js +8 -13
- package/lib/utils/validate.d.ts +2 -1
- package/lib/utils/validate.js +8 -13
- package/lib/utils/with-install.js +8 -13
- package/lib/vant.cjs.js +526 -294
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +525 -292
- package/lib/vant.es.min.js +525 -292
- package/lib/vant.js +602 -333
- package/lib/vant.min.js +1 -1
- package/package.json +8 -23
- package/vetur/attributes.json +350 -422
- package/vetur/tags.json +101 -101
- package/vetur/web-types.json +1928 -1084
- package/changelog.generated.md +0 -197
- package/es/empty/Network.d.ts +0 -1
- package/es/empty/Network.js +0 -89
- package/es/index.js +0 -280
- package/es/utils/index.js +0 -9
- package/lib/empty/Network.d.ts +0 -1
- package/lib/empty/Network.js +0 -113
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
7
|
var __export = (target, all) => {
|
9
8
|
for (var name in all)
|
10
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
11
10
|
};
|
12
|
-
var
|
13
|
-
if (
|
14
|
-
for (let key of __getOwnPropNames(
|
15
|
-
if (!__hasOwnProp.call(
|
16
|
-
__defProp(
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
16
|
}
|
18
|
-
return
|
17
|
+
return to;
|
19
18
|
};
|
20
|
-
var __toESM = (
|
21
|
-
|
22
|
-
};
|
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);
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
28
21
|
var stdin_exports = {};
|
29
22
|
__export(stdin_exports, {
|
30
23
|
ContactList: () => ContactList,
|
31
24
|
default: () => stdin_default
|
32
25
|
});
|
26
|
+
module.exports = __toCommonJS(stdin_exports);
|
33
27
|
var import_utils = require("../utils");
|
34
28
|
var import_ContactList = __toESM(require("./ContactList"));
|
35
29
|
const ContactList = (0, import_utils.withInstall)(import_ContactList.default);
|
36
30
|
var stdin_default = ContactList;
|
37
|
-
module.exports = __toCommonJS(stdin_exports);
|
@@ -2,28 +2,24 @@ var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
6
5
|
var __export = (target, all) => {
|
7
6
|
for (var name2 in all)
|
8
7
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
9
8
|
};
|
10
|
-
var
|
11
|
-
if (
|
12
|
-
for (let key of __getOwnPropNames(
|
13
|
-
if (!__hasOwnProp.call(
|
14
|
-
__defProp(
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
14
|
}
|
16
|
-
return
|
15
|
+
return to;
|
17
16
|
};
|
18
|
-
var __toCommonJS =
|
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);
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
23
18
|
var stdin_exports = {};
|
24
19
|
__export(stdin_exports, {
|
25
20
|
default: () => stdin_default
|
26
21
|
});
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
27
23
|
var import_vue = require("vue");
|
28
24
|
var import_vue2 = require("vue");
|
29
25
|
var import_utils = require("../utils");
|
@@ -77,4 +73,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
77
73
|
}, [slots.default ? slots.default(current.value) : timeText.value]);
|
78
74
|
}
|
79
75
|
});
|
80
|
-
module.exports = __toCommonJS(stdin_exports);
|
package/lib/count-down/index.js
CHANGED
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
7
|
var __export = (target, all) => {
|
9
8
|
for (var name in all)
|
10
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
11
10
|
};
|
12
|
-
var
|
13
|
-
if (
|
14
|
-
for (let key of __getOwnPropNames(
|
15
|
-
if (!__hasOwnProp.call(
|
16
|
-
__defProp(
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
16
|
}
|
18
|
-
return
|
17
|
+
return to;
|
19
18
|
};
|
20
|
-
var __toESM = (
|
21
|
-
|
22
|
-
};
|
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);
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
28
21
|
var stdin_exports = {};
|
29
22
|
__export(stdin_exports, {
|
30
23
|
CountDown: () => CountDown,
|
31
24
|
default: () => stdin_default
|
32
25
|
});
|
26
|
+
module.exports = __toCommonJS(stdin_exports);
|
33
27
|
var import_utils = require("../utils");
|
34
28
|
var import_CountDown = __toESM(require("./CountDown"));
|
35
29
|
const CountDown = (0, import_utils.withInstall)(import_CountDown.default);
|
36
30
|
var stdin_default = CountDown;
|
37
|
-
module.exports = __toCommonJS(stdin_exports);
|
package/lib/count-down/types.js
CHANGED
@@ -2,19 +2,14 @@ var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
11
10
|
}
|
12
|
-
return
|
11
|
+
return to;
|
13
12
|
};
|
14
|
-
var __toCommonJS =
|
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);
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
14
|
var stdin_exports = {};
|
20
15
|
module.exports = __toCommonJS(stdin_exports);
|
package/lib/count-down/utils.js
CHANGED
@@ -2,28 +2,24 @@ var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
6
5
|
var __export = (target, all) => {
|
7
6
|
for (var name in all)
|
8
7
|
__defProp(target, name, { get: all[name], enumerable: true });
|
9
8
|
};
|
10
|
-
var
|
11
|
-
if (
|
12
|
-
for (let key of __getOwnPropNames(
|
13
|
-
if (!__hasOwnProp.call(
|
14
|
-
__defProp(
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
14
|
}
|
16
|
-
return
|
15
|
+
return to;
|
17
16
|
};
|
18
|
-
var __toCommonJS =
|
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);
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
23
18
|
var stdin_exports = {};
|
24
19
|
__export(stdin_exports, {
|
25
20
|
parseFormat: () => parseFormat
|
26
21
|
});
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
27
23
|
var import_utils = require("../utils");
|
28
24
|
function parseFormat(format, currentTime) {
|
29
25
|
const { days } = currentTime;
|
@@ -60,4 +56,3 @@ function parseFormat(format, currentTime) {
|
|
60
56
|
}
|
61
57
|
return format;
|
62
58
|
}
|
63
|
-
module.exports = __toCommonJS(stdin_exports);
|
package/lib/coupon/Coupon.d.ts
CHANGED
package/lib/coupon/Coupon.js
CHANGED
@@ -2,28 +2,24 @@ var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
6
5
|
var __export = (target, all) => {
|
7
6
|
for (var name2 in all)
|
8
7
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
9
8
|
};
|
10
|
-
var
|
11
|
-
if (
|
12
|
-
for (let key of __getOwnPropNames(
|
13
|
-
if (!__hasOwnProp.call(
|
14
|
-
__defProp(
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
14
|
}
|
16
|
-
return
|
15
|
+
return to;
|
17
16
|
};
|
18
|
-
var __toCommonJS =
|
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);
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
23
18
|
var stdin_exports = {};
|
24
19
|
__export(stdin_exports, {
|
25
20
|
default: () => stdin_default
|
26
21
|
});
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
27
23
|
var import_vue = require("vue");
|
28
24
|
var import_vue2 = require("vue");
|
29
25
|
var import_utils = require("../utils");
|
@@ -101,4 +97,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
101
97
|
};
|
102
98
|
}
|
103
99
|
});
|
104
|
-
module.exports = __toCommonJS(stdin_exports);
|
package/lib/coupon/index.js
CHANGED
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
7
|
var __export = (target, all) => {
|
9
8
|
for (var name in all)
|
10
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
11
10
|
};
|
12
|
-
var
|
13
|
-
if (
|
14
|
-
for (let key of __getOwnPropNames(
|
15
|
-
if (!__hasOwnProp.call(
|
16
|
-
__defProp(
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
16
|
}
|
18
|
-
return
|
17
|
+
return to;
|
19
18
|
};
|
20
|
-
var __toESM = (
|
21
|
-
|
22
|
-
};
|
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);
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
28
21
|
var stdin_exports = {};
|
29
22
|
__export(stdin_exports, {
|
30
23
|
Coupon: () => Coupon,
|
31
24
|
default: () => stdin_default
|
32
25
|
});
|
26
|
+
module.exports = __toCommonJS(stdin_exports);
|
33
27
|
var import_utils = require("../utils");
|
34
28
|
var import_Coupon = __toESM(require("./Coupon"));
|
35
29
|
const Coupon = (0, import_utils.withInstall)(import_Coupon.default);
|
36
30
|
var stdin_default = Coupon;
|
37
|
-
module.exports = __toCommonJS(stdin_exports);
|
package/lib/coupon/utils.js
CHANGED
@@ -2,30 +2,26 @@ var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
6
5
|
var __export = (target, all) => {
|
7
6
|
for (var name in all)
|
8
7
|
__defProp(target, name, { get: all[name], enumerable: true });
|
9
8
|
};
|
10
|
-
var
|
11
|
-
if (
|
12
|
-
for (let key of __getOwnPropNames(
|
13
|
-
if (!__hasOwnProp.call(
|
14
|
-
__defProp(
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
14
|
}
|
16
|
-
return
|
15
|
+
return to;
|
17
16
|
};
|
18
|
-
var __toCommonJS =
|
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);
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
23
18
|
var stdin_exports = {};
|
24
19
|
__export(stdin_exports, {
|
25
20
|
formatAmount: () => formatAmount,
|
26
21
|
formatDiscount: () => formatDiscount,
|
27
22
|
getDate: () => getDate
|
28
23
|
});
|
24
|
+
module.exports = __toCommonJS(stdin_exports);
|
29
25
|
var import_utils = require("../utils");
|
30
26
|
function getDate(timeStamp) {
|
31
27
|
const date = new Date(timeStamp * 1e3);
|
@@ -33,4 +29,3 @@ function getDate(timeStamp) {
|
|
33
29
|
}
|
34
30
|
const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
|
35
31
|
const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
|
36
|
-
module.exports = __toCommonJS(stdin_exports);
|
@@ -2,28 +2,24 @@ var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
6
5
|
var __export = (target, all) => {
|
7
6
|
for (var name2 in all)
|
8
7
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
9
8
|
};
|
10
|
-
var
|
11
|
-
if (
|
12
|
-
for (let key of __getOwnPropNames(
|
13
|
-
if (!__hasOwnProp.call(
|
14
|
-
__defProp(
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
14
|
}
|
16
|
-
return
|
15
|
+
return to;
|
17
16
|
};
|
18
|
-
var __toCommonJS =
|
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);
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
23
18
|
var stdin_exports = {};
|
24
19
|
__export(stdin_exports, {
|
25
20
|
default: () => stdin_default
|
26
21
|
});
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
27
23
|
var import_vue = require("vue");
|
28
24
|
var import_vue2 = require("vue");
|
29
25
|
var import_utils = require("../utils");
|
@@ -75,4 +71,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
75
71
|
};
|
76
72
|
}
|
77
73
|
});
|
78
|
-
module.exports = __toCommonJS(stdin_exports);
|
package/lib/coupon-cell/index.js
CHANGED
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
8
7
|
var __export = (target, all) => {
|
9
8
|
for (var name in all)
|
10
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
11
10
|
};
|
12
|
-
var
|
13
|
-
if (
|
14
|
-
for (let key of __getOwnPropNames(
|
15
|
-
if (!__hasOwnProp.call(
|
16
|
-
__defProp(
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
16
|
}
|
18
|
-
return
|
17
|
+
return to;
|
19
18
|
};
|
20
|
-
var __toESM = (
|
21
|
-
|
22
|
-
};
|
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);
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
28
21
|
var stdin_exports = {};
|
29
22
|
__export(stdin_exports, {
|
30
23
|
CouponCell: () => CouponCell,
|
31
24
|
default: () => stdin_default
|
32
25
|
});
|
26
|
+
module.exports = __toCommonJS(stdin_exports);
|
33
27
|
var import_utils = require("../utils");
|
34
28
|
var import_CouponCell = __toESM(require("./CouponCell"));
|
35
29
|
const CouponCell = (0, import_utils.withInstall)(import_CouponCell.default);
|
36
30
|
var stdin_default = CouponCell;
|
37
|
-
module.exports = __toCommonJS(stdin_exports);
|
@@ -17,10 +17,7 @@ declare const couponListProps: {
|
|
17
17
|
type: BooleanConstructor;
|
18
18
|
default: true;
|
19
19
|
};
|
20
|
-
emptyImage:
|
21
|
-
type: import("vue").PropType<string>;
|
22
|
-
default: string;
|
23
|
-
};
|
20
|
+
emptyImage: StringConstructor;
|
24
21
|
chosenCoupon: {
|
25
22
|
type: NumberConstructor;
|
26
23
|
default: number;
|
@@ -71,10 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
71
68
|
type: BooleanConstructor;
|
72
69
|
default: true;
|
73
70
|
};
|
74
|
-
emptyImage:
|
75
|
-
type: import("vue").PropType<string>;
|
76
|
-
default: string;
|
77
|
-
};
|
71
|
+
emptyImage: StringConstructor;
|
78
72
|
chosenCoupon: {
|
79
73
|
type: NumberConstructor;
|
80
74
|
default: number;
|
@@ -123,10 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
123
117
|
type: BooleanConstructor;
|
124
118
|
default: true;
|
125
119
|
};
|
126
|
-
emptyImage:
|
127
|
-
type: import("vue").PropType<string>;
|
128
|
-
default: string;
|
129
|
-
};
|
120
|
+
emptyImage: StringConstructor;
|
130
121
|
chosenCoupon: {
|
131
122
|
type: NumberConstructor;
|
132
123
|
default: number;
|
@@ -168,7 +159,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
168
159
|
coupons: CouponInfo[];
|
169
160
|
chosenCoupon: number;
|
170
161
|
showCount: boolean;
|
171
|
-
emptyImage: string;
|
172
162
|
disabledCoupons: CouponInfo[];
|
173
163
|
showExchangeBar: boolean;
|
174
164
|
showCloseButton: boolean;
|
@@ -2,46 +2,42 @@ var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
6
5
|
var __export = (target, all) => {
|
7
6
|
for (var name2 in all)
|
8
7
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
9
8
|
};
|
10
|
-
var
|
11
|
-
if (
|
12
|
-
for (let key of __getOwnPropNames(
|
13
|
-
if (!__hasOwnProp.call(
|
14
|
-
__defProp(
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
14
|
}
|
16
|
-
return
|
15
|
+
return to;
|
17
16
|
};
|
18
|
-
var __toCommonJS =
|
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);
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
23
18
|
var stdin_exports = {};
|
24
19
|
__export(stdin_exports, {
|
25
20
|
default: () => stdin_default
|
26
21
|
});
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
27
23
|
var import_vue = require("vue");
|
28
24
|
var import_vue2 = require("vue");
|
29
25
|
var import_utils = require("../utils");
|
30
26
|
var import_use_refs = require("../composables/use-refs");
|
31
27
|
var import_tab = require("../tab");
|
32
28
|
var import_tabs = require("../tabs");
|
29
|
+
var import_empty = require("../empty");
|
33
30
|
var import_field = require("../field");
|
34
31
|
var import_button = require("../button");
|
35
32
|
var import_coupon = require("../coupon");
|
36
33
|
var import_use = require("@vant/use");
|
37
34
|
const [name, bem, t] = (0, import_utils.createNamespace)("coupon-list");
|
38
|
-
const EMPTY_IMAGE = "https://img.yzcdn.cn/vant/coupon-empty.png";
|
39
35
|
const couponListProps = {
|
40
36
|
code: (0, import_utils.makeStringProp)(""),
|
41
37
|
coupons: (0, import_utils.makeArrayProp)(),
|
42
38
|
currency: (0, import_utils.makeStringProp)("\xA5"),
|
43
39
|
showCount: import_utils.truthProp,
|
44
|
-
emptyImage:
|
40
|
+
emptyImage: String,
|
45
41
|
chosenCoupon: (0, import_utils.makeNumberProp)(-1),
|
46
42
|
enabledTitle: String,
|
47
43
|
disabledTitle: String,
|
@@ -89,11 +85,13 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
89
85
|
return (_a = couponRefs.value[index]) == null ? void 0 : _a.scrollIntoView();
|
90
86
|
});
|
91
87
|
};
|
92
|
-
const renderEmpty = () => (0, import_vue.createVNode)(
|
93
|
-
"
|
94
|
-
},
|
95
|
-
"
|
96
|
-
|
88
|
+
const renderEmpty = () => (0, import_vue.createVNode)(import_empty.Empty, {
|
89
|
+
"image": props.emptyImage
|
90
|
+
}, {
|
91
|
+
default: () => [(0, import_vue.createVNode)("p", {
|
92
|
+
"class": bem("empty-tip")
|
93
|
+
}, [t("noCoupon")])]
|
94
|
+
});
|
97
95
|
const renderExchangeBar = () => {
|
98
96
|
if (props.showExchangeBar) {
|
99
97
|
return (0, import_vue.createVNode)("div", {
|
@@ -205,4 +203,3 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
205
203
|
}, null), [[import_vue.vShow, props.showCloseButton]])])]);
|
206
204
|
}
|
207
205
|
});
|
208
|
-
module.exports = __toCommonJS(stdin_exports);
|
@@ -1 +1 @@
|
|
1
|
-
body{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);--van-coupon-list-exchange-button-height: 32px;--van-coupon-list-close-button-height: 40px;--van-coupon-list-empty-
|
1
|
+
body{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);--van-coupon-list-exchange-button-height: 32px;--van-coupon-list-close-button-height: 40px;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__body{height:34px;padding-left:var(--van-padding-sm);line-height:34px;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__body::-webkit-input-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__body::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - 2px);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 6px 12px -12px var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:50px}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:5px var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}
|
@@ -15,10 +15,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
15
15
|
type: BooleanConstructor;
|
16
16
|
default: true;
|
17
17
|
};
|
18
|
-
emptyImage:
|
19
|
-
type: import("vue").PropType<string>;
|
20
|
-
default: string;
|
21
|
-
};
|
18
|
+
emptyImage: StringConstructor;
|
22
19
|
chosenCoupon: {
|
23
20
|
type: NumberConstructor;
|
24
21
|
default: number;
|
@@ -67,10 +64,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
67
64
|
type: BooleanConstructor;
|
68
65
|
default: true;
|
69
66
|
};
|
70
|
-
emptyImage:
|
71
|
-
type: import("vue").PropType<string>;
|
72
|
-
default: string;
|
73
|
-
};
|
67
|
+
emptyImage: StringConstructor;
|
74
68
|
chosenCoupon: {
|
75
69
|
type: NumberConstructor;
|
76
70
|
default: number;
|
@@ -112,7 +106,6 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
112
106
|
coupons: import("..").CouponInfo[];
|
113
107
|
chosenCoupon: number;
|
114
108
|
showCount: boolean;
|
115
|
-
emptyImage: string;
|
116
109
|
disabledCoupons: import("..").CouponInfo[];
|
117
110
|
showExchangeBar: boolean;
|
118
111
|
showCloseButton: boolean;
|