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
package/README.md
ADDED
@@ -0,0 +1,141 @@
|
|
1
|
+
<p align="center">
|
2
|
+
<img alt="logo" src="https://fastly.jsdelivr.net/npm/@vant/assets/logo.png" width="120" height="120" style="margin-bottom: 10px;">
|
3
|
+
</p>
|
4
|
+
|
5
|
+
<h1 align="center">Vant</h1>
|
6
|
+
|
7
|
+
<p align="center">Mobile UI Components built on Vue</p>
|
8
|
+
|
9
|
+
<p align="center">
|
10
|
+
<img src="https://img.shields.io/npm/v/vant?style=flat-square" alt="npm version" />
|
11
|
+
<img src="https://img.shields.io/github/workflow/status/youzan/vant/CI/dev?style=flat-square" alt="CI Status" />
|
12
|
+
<img src="https://img.shields.io/codecov/c/github/youzan/vant/dev.svg?style=flat-square&color=#4fc08d" alt="Coverage Status" />
|
13
|
+
<img src="https://img.shields.io/npm/dm/vant.svg?style=flat-square&color=#4fc08d" alt="downloads" />
|
14
|
+
<img src="https://img.shields.io/jsdelivr/npm/hm/vant?style=flat-square" alt="Jsdelivr Hits">
|
15
|
+
<img src="https://img.badgesize.io/https://unpkg.com/vant@3/lib/vant.min.js?compression=gzip&style=flat-square&label=gzip%20size&color=#4fc08d" alt="Gzip Size" />
|
16
|
+
</p>
|
17
|
+
|
18
|
+
<p align="center">
|
19
|
+
🔥 <a href="https://vant-contrib.gitee.io/vant">文档网站(国内)</a>
|
20
|
+
|
21
|
+
🌈 <a href="https://youzan.github.io/vant">文档网站(GitHub)</a>
|
22
|
+
|
23
|
+
🇨🇳 <a href="./README.zh-CN.md">中文版介绍</a>
|
24
|
+
</p>
|
25
|
+
|
26
|
+
---
|
27
|
+
|
28
|
+
## Features
|
29
|
+
|
30
|
+
- 🚀 1KB Component average size (min+gzip)
|
31
|
+
- 🚀 70+ High quality components
|
32
|
+
- 💪 90%+ Unit test coverage
|
33
|
+
- 💪 Written in TypeScript
|
34
|
+
- 📖 Extensive documentation and demos
|
35
|
+
- 📖 Provide Sketch and Axure design resources
|
36
|
+
- 🍭 Support Vue 2 & Vue 3
|
37
|
+
- 🍭 Support Tree Shaking
|
38
|
+
- 🍭 Support Custom Theme
|
39
|
+
- 🍭 Support Accessibility (still improving)
|
40
|
+
- 🍭 Support Dark Mode (Requires upgrade to [Vant 4](https://vant-contrib.gitee.io/vant/v4/#/en-US/config-provider))
|
41
|
+
- 🍭 Support SSR
|
42
|
+
- 🌍 Support i18n, built-in 20+ languages
|
43
|
+
|
44
|
+
## Install
|
45
|
+
|
46
|
+
Using `npm` to install:
|
47
|
+
|
48
|
+
```bash
|
49
|
+
# install latest Vant for Vue 3 project
|
50
|
+
npm i vant
|
51
|
+
|
52
|
+
# install Vant 2 for Vue 2 project
|
53
|
+
npm i vant@latest-v2
|
54
|
+
```
|
55
|
+
|
56
|
+
Using `yarn` or `pnpm`:
|
57
|
+
|
58
|
+
```bash
|
59
|
+
# with yarn
|
60
|
+
yarn add vant
|
61
|
+
|
62
|
+
# with pnpm
|
63
|
+
pnpm add vant
|
64
|
+
```
|
65
|
+
|
66
|
+
## Quickstart
|
67
|
+
|
68
|
+
```js
|
69
|
+
import { createApp } from 'vue';
|
70
|
+
import { Button } from 'vant';
|
71
|
+
import 'vant/lib/index.css';
|
72
|
+
|
73
|
+
const app = createApp();
|
74
|
+
app.use(Button);
|
75
|
+
```
|
76
|
+
|
77
|
+
See more in [Quickstart](https://youzan.github.io/vant#/en-US/quickstart).
|
78
|
+
|
79
|
+
## Browser Support
|
80
|
+
|
81
|
+
Vant 2 supports modern browsers and Android >= 4.0、iOS >= 8.0.
|
82
|
+
|
83
|
+
Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3).
|
84
|
+
|
85
|
+
## Official Ecosystem
|
86
|
+
|
87
|
+
| Project | Description |
|
88
|
+
| --- | --- |
|
89
|
+
| [vant-weapp](https://github.com/youzan/vant-weapp) | WeChat MiniProgram UI |
|
90
|
+
| [vant-demo](https://github.com/vant-ui/vant-demo) | Collection of Vant demos |
|
91
|
+
| [vant-cli](https://github.com/youzan/vant/tree/dev/packages/vant-cli) | Scaffold for UI library |
|
92
|
+
| [vant-icons](https://github.com/youzan/vant/tree/dev/packages/vant-icons) | Vant icons |
|
93
|
+
| [vant-touch-emulator](https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator) | Using vant in desktop browsers |
|
94
|
+
|
95
|
+
## Community Ecosystem
|
96
|
+
|
97
|
+
| Project | Description |
|
98
|
+
| --- | --- |
|
99
|
+
| [3lang3/react-vant](https://github.com/3lang3/react-vant) | React mobile UI Components based on Vant |
|
100
|
+
| [rc-ui-lib](https://github.com/rancui/rc-ui-lib) | React mobile UI Components based on Vant |
|
101
|
+
| [vant-aliapp](https://github.com/ant-move/Vant-Aliapp) | Alipay MiniProgram UI |
|
102
|
+
| [taroify](https://gitee.com/mallfoundry/taroify) | Vant Taro |
|
103
|
+
| [vant-theme](https://github.com/Aisen60/vant-theme) | Online theme preview built on Vant UI |
|
104
|
+
| [@antmjs/vantui](https://github.com/antmjs/vantui) | Mobile UI Components based on Vant, supporting Taro and React |
|
105
|
+
| [sfc-playground-vant](https://github.com/zhixiaoqiang/sfc-playground-vant) | Try Vant in the Playground. Currently only Vant 3+ is supported |
|
106
|
+
|
107
|
+
## Links
|
108
|
+
|
109
|
+
- [Documentation](https://youzan.github.io/vant)
|
110
|
+
- [Changelog](https://youzan.github.io/vant#/en-US/changelog)
|
111
|
+
- [Gitter](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
|
112
|
+
|
113
|
+
## Preview
|
114
|
+
|
115
|
+
You can scan the following QR code to access the demo:
|
116
|
+
|
117
|
+
<img src="https://fastly.jsdelivr.net/npm/@vant/assets/preview-qrcode.png" width="220" height="220" >
|
118
|
+
|
119
|
+
## Core Team
|
120
|
+
|
121
|
+
Core contributors of Vant and Vant Weapp:
|
122
|
+
|
123
|
+
| [](https://github.com/chenjiahan/) | [](https://github.com/cookfront/) | [](https://github.com/w91/) | [](https://github.com/pangxie1991/) | [](https://github.com/rex-zsd/) | [](https://github.com/nemo-shen/) | [](https://github.com/Lindysen/) | [](https://github.com/JakeLaoyu/) |
|
124
|
+
| :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: |
|
125
|
+
| [chenjiahan](https://github.com/chenjiahan/) | [cookfront](https://github.com/cookfront/) | [wangnaiyi](https://github.com/w91/) | [pangxie](https://github.com/pangxie1991/) | [rex-zsd](https://github.com/rex-zsd/) | [nemo-shen](https://github.com/nemo-shen/) | [Lindysen](https://github.com/Lindysen/) | [JakeLaoyu](https://github.com/JakeLaoyu/) |
|
126
|
+
|
127
|
+
## All Contributors
|
128
|
+
|
129
|
+
Thanks to the following friends for their contributions to Vant:
|
130
|
+
|
131
|
+
<a href="https://github.com/youzan/vant/graphs/contributors">
|
132
|
+
<img src="https://opencollective.com/vant/contributors.svg?width=890&button=false" alt="contributors">
|
133
|
+
</a>
|
134
|
+
|
135
|
+
## Contribution Guide
|
136
|
+
|
137
|
+
Please make sure to read the [Contributing Guide](./.github/CONTRIBUTING.md) before making a pull request.
|
138
|
+
|
139
|
+
## LICENSE
|
140
|
+
|
141
|
+
[MIT](https://en.wikipedia.org/wiki/MIT_License)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import { truthProp, createNamespace } from "../utils";
|
3
|
+
import { truthProp, createNamespace } from "../utils/index.mjs";
|
4
4
|
import { useChildren } from "@vant/use";
|
5
5
|
const [name, bem] = createNamespace("action-bar");
|
6
6
|
const ACTION_BAR_KEY = Symbol(name);
|
File without changes
|
File without changes
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { computed, defineComponent } from "vue";
|
3
|
-
import { extend, createNamespace } from "../utils";
|
4
|
-
import { ACTION_BAR_KEY } from "../action-bar/ActionBar";
|
3
|
+
import { extend, createNamespace } from "../utils/index.mjs";
|
4
|
+
import { ACTION_BAR_KEY } from "../action-bar/ActionBar.mjs";
|
5
5
|
import { useParent } from "@vant/use";
|
6
|
-
import { useExpose } from "../composables/use-expose";
|
7
|
-
import { useRoute, routeProps } from "../composables/use-route";
|
8
|
-
import { Button } from "../button";
|
6
|
+
import { useExpose } from "../composables/use-expose.mjs";
|
7
|
+
import { useRoute, routeProps } from "../composables/use-route.mjs";
|
8
|
+
import { Button } from "../button/index.mjs";
|
9
9
|
const [name, bem] = createNamespace("action-bar-button");
|
10
10
|
const actionBarButtonProps = extend({}, routeProps, {
|
11
11
|
type: String,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _ActionBarButton from "./ActionBarButton";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _ActionBarButton from "./ActionBarButton.mjs";
|
3
3
|
const ActionBarButton = withInstall(_ActionBarButton);
|
4
4
|
var stdin_default = ActionBarButton;
|
5
5
|
export {
|
File without changes
|
File without changes
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import { extend, createNamespace, unknownProp, numericProp } from "../utils";
|
4
|
-
import { ACTION_BAR_KEY } from "../action-bar/ActionBar";
|
3
|
+
import { extend, createNamespace, unknownProp, numericProp } from "../utils/index.mjs";
|
4
|
+
import { ACTION_BAR_KEY } from "../action-bar/ActionBar.mjs";
|
5
5
|
import { useParent } from "@vant/use";
|
6
|
-
import { useRoute, routeProps } from "../composables/use-route";
|
7
|
-
import { Icon } from "../icon";
|
8
|
-
import { Badge } from "../badge";
|
6
|
+
import { useRoute, routeProps } from "../composables/use-route.mjs";
|
7
|
+
import { Icon } from "../icon/index.mjs";
|
8
|
+
import { Badge } from "../badge/index.mjs";
|
9
9
|
const [name, bem] = createNamespace("action-bar-icon");
|
10
10
|
const actionBarIconProps = extend({}, routeProps, {
|
11
11
|
dot: Boolean,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _ActionBarIcon from "./ActionBarIcon";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _ActionBarIcon from "./ActionBarIcon.mjs";
|
3
3
|
const ActionBarIcon = withInstall(_ActionBarIcon);
|
4
4
|
var stdin_default = ActionBarIcon;
|
5
5
|
export {
|
File without changes
|
File without changes
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
2
2
|
import { nextTick, defineComponent } from "vue";
|
3
|
-
import { pick, extend, truthProp, makeArrayProp, makeStringProp, createNamespace, HAPTICS_FEEDBACK } from "../utils";
|
4
|
-
import { Icon } from "../icon";
|
5
|
-
import { Popup } from "../popup";
|
6
|
-
import { Loading } from "../loading";
|
7
|
-
import { popupSharedProps, popupSharedPropKeys } from "../popup/shared";
|
3
|
+
import { pick, extend, truthProp, makeArrayProp, makeStringProp, createNamespace, HAPTICS_FEEDBACK } from "../utils/index.mjs";
|
4
|
+
import { Icon } from "../icon/index.mjs";
|
5
|
+
import { Popup } from "../popup/index.mjs";
|
6
|
+
import { Loading } from "../loading/index.mjs";
|
7
|
+
import { popupSharedProps, popupSharedPropKeys } from "../popup/shared.mjs";
|
8
8
|
const [name, bem] = createNamespace("action-sheet");
|
9
9
|
const actionSheetProps = extend({}, popupSharedProps, {
|
10
10
|
title: String,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _ActionSheet from "./ActionSheet";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _ActionSheet from "./ActionSheet.mjs";
|
3
3
|
const ActionSheet = withInstall(_ActionSheet);
|
4
4
|
var stdin_default = ActionSheet;
|
5
5
|
export {
|
File without changes
|
File without changes
|
@@ -16,7 +16,6 @@ declare const addressEditProps: {
|
|
16
16
|
default: true;
|
17
17
|
};
|
18
18
|
showDelete: BooleanConstructor;
|
19
|
-
showPostal: BooleanConstructor;
|
20
19
|
disableArea: BooleanConstructor;
|
21
20
|
searchResult: PropType<AddressEditSearchItem[]>;
|
22
21
|
telMaxlength: (NumberConstructor | StringConstructor)[];
|
@@ -45,10 +44,6 @@ declare const addressEditProps: {
|
|
45
44
|
type: PropType<(val: string) => boolean>;
|
46
45
|
default: typeof isMobile;
|
47
46
|
};
|
48
|
-
postalValidator: {
|
49
|
-
type: PropType<(val: string) => boolean>;
|
50
|
-
default: (value: string) => boolean;
|
51
|
-
};
|
52
47
|
};
|
53
48
|
export declare type AddressEditProps = ExtractPropTypes<typeof addressEditProps>;
|
54
49
|
declare const _default: import("vue").DefineComponent<{
|
@@ -65,7 +60,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
65
60
|
default: true;
|
66
61
|
};
|
67
62
|
showDelete: BooleanConstructor;
|
68
|
-
showPostal: BooleanConstructor;
|
69
63
|
disableArea: BooleanConstructor;
|
70
64
|
searchResult: PropType<AddressEditSearchItem[]>;
|
71
65
|
telMaxlength: (NumberConstructor | StringConstructor)[];
|
@@ -94,10 +88,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
94
88
|
type: PropType<(val: string) => boolean>;
|
95
89
|
default: typeof isMobile;
|
96
90
|
};
|
97
|
-
postalValidator: {
|
98
|
-
type: PropType<(val: string) => boolean>;
|
99
|
-
default: (value: string) => boolean;
|
100
|
-
};
|
101
91
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
102
92
|
areaList: PropType<AreaList>;
|
103
93
|
isSaving: BooleanConstructor;
|
@@ -112,7 +102,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
112
102
|
default: true;
|
113
103
|
};
|
114
104
|
showDelete: BooleanConstructor;
|
115
|
-
showPostal: BooleanConstructor;
|
116
105
|
disableArea: BooleanConstructor;
|
117
106
|
searchResult: PropType<AddressEditSearchItem[]>;
|
118
107
|
telMaxlength: (NumberConstructor | StringConstructor)[];
|
@@ -141,10 +130,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
141
130
|
type: PropType<(val: string) => boolean>;
|
142
131
|
default: typeof isMobile;
|
143
132
|
};
|
144
|
-
postalValidator: {
|
145
|
-
type: PropType<(val: string) => boolean>;
|
146
|
-
default: (value: string) => boolean;
|
147
|
-
};
|
148
133
|
}>> & {
|
149
134
|
onFocus?: ((...args: any[]) => any) | undefined;
|
150
135
|
onSelectSearch?: ((...args: any[]) => any) | undefined;
|
@@ -160,7 +145,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
160
145
|
showArea: boolean;
|
161
146
|
showDetail: boolean;
|
162
147
|
showDelete: boolean;
|
163
|
-
showPostal: boolean;
|
164
148
|
disableArea: boolean;
|
165
149
|
showSetDefault: boolean;
|
166
150
|
showSearchResult: boolean;
|
@@ -169,6 +153,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
169
153
|
areaColumnsPlaceholder: string[];
|
170
154
|
addressInfo: Partial<AddressEditInfo>;
|
171
155
|
telValidator: (val: string) => boolean;
|
172
|
-
postalValidator: (val: string) => boolean;
|
173
156
|
}>;
|
174
157
|
export default _default;
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import { withDirectives as _withDirectives, vShow as _vShow, createVNode as _createVNode } from "vue";
|
2
2
|
import { ref, watch, computed, nextTick, reactive, defineComponent } from "vue";
|
3
|
-
import { extend, isObject, isMobile, truthProp, numericProp, makeArrayProp, makeNumericProp, createNamespace } from "../utils";
|
4
|
-
import { useExpose } from "../composables/use-expose";
|
5
|
-
import { Area } from "../area";
|
6
|
-
import { Cell } from "../cell";
|
7
|
-
import { Form } from "../form";
|
8
|
-
import { Field } from "../field";
|
9
|
-
import { Popup } from "../popup";
|
10
|
-
import { Toast } from "../toast";
|
11
|
-
import { Button } from "../button";
|
12
|
-
import { Switch } from "../switch";
|
13
|
-
import AddressEditDetail from "./AddressEditDetail";
|
14
|
-
import { AREA_EMPTY_CODE } from "../area/utils";
|
3
|
+
import { extend, isObject, isMobile, truthProp, numericProp, makeArrayProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
|
4
|
+
import { useExpose } from "../composables/use-expose.mjs";
|
5
|
+
import { Area } from "../area/index.mjs";
|
6
|
+
import { Cell } from "../cell/index.mjs";
|
7
|
+
import { Form } from "../form/index.mjs";
|
8
|
+
import { Field } from "../field/index.mjs";
|
9
|
+
import { Popup } from "../popup/index.mjs";
|
10
|
+
import { Toast } from "../toast/index.mjs";
|
11
|
+
import { Button } from "../button/index.mjs";
|
12
|
+
import { Switch } from "../switch/index.mjs";
|
13
|
+
import AddressEditDetail from "./AddressEditDetail.mjs";
|
14
|
+
import { AREA_EMPTY_CODE } from "../area/utils.mjs";
|
15
15
|
const [name, bem, t] = createNamespace("address-edit");
|
16
16
|
const DEFAULT_DATA = {
|
17
17
|
name: "",
|
@@ -22,10 +22,8 @@ const DEFAULT_DATA = {
|
|
22
22
|
province: "",
|
23
23
|
areaCode: "",
|
24
24
|
isDefault: false,
|
25
|
-
postalCode: "",
|
26
25
|
addressDetail: ""
|
27
26
|
};
|
28
|
-
const isPostal = (value) => /^\d{6}$/.test(value);
|
29
27
|
const addressEditProps = {
|
30
28
|
areaList: Object,
|
31
29
|
isSaving: Boolean,
|
@@ -34,7 +32,6 @@ const addressEditProps = {
|
|
34
32
|
showArea: truthProp,
|
35
33
|
showDetail: truthProp,
|
36
34
|
showDelete: Boolean,
|
37
|
-
showPostal: Boolean,
|
38
35
|
disableArea: Boolean,
|
39
36
|
searchResult: Array,
|
40
37
|
telMaxlength: numericProp,
|
@@ -53,10 +50,6 @@ const addressEditProps = {
|
|
53
50
|
telValidator: {
|
54
51
|
type: Function,
|
55
52
|
default: isMobile
|
56
|
-
},
|
57
|
-
postalValidator: {
|
58
|
-
type: Function,
|
59
|
-
default: isPostal
|
60
53
|
}
|
61
54
|
};
|
62
55
|
var stdin_default = defineComponent({
|
@@ -99,8 +92,7 @@ var stdin_default = defineComponent({
|
|
99
92
|
const rules = computed(() => {
|
100
93
|
const {
|
101
94
|
validator,
|
102
|
-
telValidator
|
103
|
-
postalValidator
|
95
|
+
telValidator
|
104
96
|
} = props;
|
105
97
|
const makeRule = (name2, emptyMessage) => ({
|
106
98
|
validator: (value) => {
|
@@ -123,11 +115,7 @@ var stdin_default = defineComponent({
|
|
123
115
|
message: t("telInvalid")
|
124
116
|
}],
|
125
117
|
areaCode: [makeRule("areaCode", t("areaEmpty"))],
|
126
|
-
addressDetail: [makeRule("addressDetail", t("addressEmpty"))]
|
127
|
-
postalCode: [makeRule("addressDetail", t("postalEmpty")), {
|
128
|
-
validator: postalValidator,
|
129
|
-
message: t("postalEmpty")
|
130
|
-
}]
|
118
|
+
addressDetail: [makeRule("addressDetail", t("addressEmpty"))]
|
131
119
|
};
|
132
120
|
});
|
133
121
|
const onSave = () => emit("save", data);
|
@@ -252,16 +240,7 @@ var stdin_default = defineComponent({
|
|
252
240
|
"onFocus": () => onFocus("addressDetail"),
|
253
241
|
"onInput": onChangeDetail,
|
254
242
|
"onSelectSearch": (event) => emit("selectSearch", event)
|
255
|
-
}, null),
|
256
|
-
"modelValue": data.postalCode,
|
257
|
-
"onUpdate:modelValue": ($event) => data.postalCode = $event,
|
258
|
-
"type": "tel",
|
259
|
-
"rules": rules.value.postalCode,
|
260
|
-
"label": t("postal"),
|
261
|
-
"maxlength": "6",
|
262
|
-
"placeholder": t("postal"),
|
263
|
-
"onFocus": () => onFocus("postalCode")
|
264
|
-
}, null), [[_vShow, !hideBottomFields.value]]), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), _withDirectives(_createVNode("div", {
|
243
|
+
}, null), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), _withDirectives(_createVNode("div", {
|
265
244
|
"class": bem("buttons")
|
266
245
|
}, [_createVNode(Button, {
|
267
246
|
"block": true,
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Fragment as _Fragment, createVNode as _createVNode } from "vue";
|
2
2
|
import { ref, defineComponent } from "vue";
|
3
|
-
import { createNamespace, numericProp } from "../utils";
|
4
|
-
import { Cell } from "../cell";
|
5
|
-
import { Field } from "../field";
|
3
|
+
import { createNamespace, numericProp } from "../utils/index.mjs";
|
4
|
+
import { Cell } from "../cell/index.mjs";
|
5
|
+
import { Field } from "../field/index.mjs";
|
6
6
|
const [name, bem] = createNamespace("address-edit-detail");
|
7
7
|
const t = createNamespace("address-edit")[2];
|
8
8
|
var stdin_default = defineComponent({
|
@@ -13,7 +13,6 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
13
13
|
default: true;
|
14
14
|
};
|
15
15
|
showDelete: BooleanConstructor;
|
16
|
-
showPostal: BooleanConstructor;
|
17
16
|
disableArea: BooleanConstructor;
|
18
17
|
searchResult: import("vue").PropType<import("./types").AddressEditSearchItem[]>;
|
19
18
|
telMaxlength: (NumberConstructor | StringConstructor)[];
|
@@ -42,10 +41,6 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
42
41
|
type: import("vue").PropType<(val: string) => boolean>;
|
43
42
|
default: typeof import("../utils").isMobile;
|
44
43
|
};
|
45
|
-
postalValidator: {
|
46
|
-
type: import("vue").PropType<(val: string) => boolean>;
|
47
|
-
default: (value: string) => boolean;
|
48
|
-
};
|
49
44
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
50
45
|
areaList: import("vue").PropType<import("..").AreaList>;
|
51
46
|
isSaving: BooleanConstructor;
|
@@ -60,7 +55,6 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
60
55
|
default: true;
|
61
56
|
};
|
62
57
|
showDelete: BooleanConstructor;
|
63
|
-
showPostal: BooleanConstructor;
|
64
58
|
disableArea: BooleanConstructor;
|
65
59
|
searchResult: import("vue").PropType<import("./types").AddressEditSearchItem[]>;
|
66
60
|
telMaxlength: (NumberConstructor | StringConstructor)[];
|
@@ -89,10 +83,6 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
89
83
|
type: import("vue").PropType<(val: string) => boolean>;
|
90
84
|
default: typeof import("../utils").isMobile;
|
91
85
|
};
|
92
|
-
postalValidator: {
|
93
|
-
type: import("vue").PropType<(val: string) => boolean>;
|
94
|
-
default: (value: string) => boolean;
|
95
|
-
};
|
96
86
|
}>> & {
|
97
87
|
onFocus?: ((...args: any[]) => any) | undefined;
|
98
88
|
onSelectSearch?: ((...args: any[]) => any) | undefined;
|
@@ -108,7 +98,6 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
108
98
|
showArea: boolean;
|
109
99
|
showDetail: boolean;
|
110
100
|
showDelete: boolean;
|
111
|
-
showPostal: boolean;
|
112
101
|
disableArea: boolean;
|
113
102
|
showSetDefault: boolean;
|
114
103
|
showSearchResult: boolean;
|
@@ -117,7 +106,6 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
117
106
|
areaColumnsPlaceholder: string[];
|
118
107
|
addressInfo: Partial<import("./types").AddressEditInfo>;
|
119
108
|
telValidator: (val: string) => boolean;
|
120
|
-
postalValidator: (val: string) => boolean;
|
121
109
|
}>>;
|
122
110
|
export default AddressEdit;
|
123
111
|
export type { AddressEditProps };
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _AddressEdit from "./AddressEdit";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _AddressEdit from "./AddressEdit.mjs";
|
3
3
|
const AddressEdit = withInstall(_AddressEdit);
|
4
4
|
var stdin_default = AddressEdit;
|
5
5
|
export {
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import { truthProp, numericProp, makeArrayProp, createNamespace } from "../utils";
|
4
|
-
import { Button } from "../button";
|
5
|
-
import { RadioGroup } from "../radio-group";
|
6
|
-
import AddressListItem from "./AddressListItem";
|
3
|
+
import { truthProp, numericProp, makeArrayProp, createNamespace } from "../utils/index.mjs";
|
4
|
+
import { Button } from "../button/index.mjs";
|
5
|
+
import { RadioGroup } from "../radio-group/index.mjs";
|
6
|
+
import AddressListItem from "./AddressListItem.mjs";
|
7
7
|
const [name, bem, t] = createNamespace("address-list");
|
8
8
|
const addressListProps = {
|
9
9
|
list: makeArrayProp(),
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import {
|
4
|
-
import { Tag } from "../tag";
|
5
|
-
import { Icon } from "../icon";
|
6
|
-
import { Cell } from "../cell";
|
7
|
-
import { Radio } from "../radio";
|
3
|
+
import { extend, createNamespace, makeRequiredProp } from "../utils/index.mjs";
|
4
|
+
import { Tag } from "../tag/index.mjs";
|
5
|
+
import { Icon } from "../icon/index.mjs";
|
6
|
+
import { Cell } from "../cell/index.mjs";
|
7
|
+
import { Radio } from "../radio/index.mjs";
|
8
8
|
const [name, bem] = createNamespace("address-item");
|
9
9
|
var stdin_default = defineComponent({
|
10
10
|
name,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _AddressList from "./AddressList";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _AddressList from "./AddressList.mjs";
|
3
3
|
const AddressList = withInstall(_AddressList);
|
4
4
|
var stdin_default = AddressList;
|
5
5
|
export {
|
File without changes
|
File without changes
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
2
2
|
import { ref, watch, computed, defineComponent } from "vue";
|
3
|
-
import { pick, extend, makeArrayProp, makeNumericProp, createNamespace } from "../utils";
|
4
|
-
import { pickerSharedProps } from "../picker/Picker";
|
5
|
-
import { INHERIT_PROPS, INHERIT_SLOTS, formatDataForCascade } from "./utils";
|
6
|
-
import { useExpose } from "../composables/use-expose";
|
7
|
-
import { Picker } from "../picker";
|
3
|
+
import { pick, extend, makeArrayProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
|
4
|
+
import { pickerSharedProps } from "../picker/Picker.mjs";
|
5
|
+
import { INHERIT_PROPS, INHERIT_SLOTS, formatDataForCascade } from "./utils.mjs";
|
6
|
+
import { useExpose } from "../composables/use-expose.mjs";
|
7
|
+
import { Picker } from "../picker/index.mjs";
|
8
8
|
const [name, bem] = createNamespace("area");
|
9
9
|
const areaProps = extend({}, pickerSharedProps, {
|
10
10
|
modelValue: String,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|