vant 3.4.9 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- 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.js → AddressEdit.mjs} +11 -11
- package/es/address-edit/{AddressEditDetail.js → AddressEditDetail.mjs} +3 -3
- 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.js → types.mjs} +0 -0
- package/es/address-list/{AddressList.js → AddressList.mjs} +4 -4
- 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/badge/{Badge.js → Badge.mjs} +1 -1
- 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} +9 -9
- package/es/calendar/{CalendarDay.js → CalendarDay.mjs} +2 -2
- package/es/calendar/{CalendarHeader.js → CalendarHeader.mjs} +2 -2
- package/es/calendar/{CalendarMonth.js → CalendarMonth.mjs} +6 -6
- 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.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.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.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.js → Collapse.mjs} +1 -1
- 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} +0 -0
- package/es/composables/{use-visibility-change.js → use-visibility-change.mjs} +1 -1
- package/es/config-provider/{ConfigProvider.js → ConfigProvider.mjs} +1 -1
- 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.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.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.js → CouponList.mjs} +8 -8
- package/es/coupon-list/{index.js → index.mjs} +2 -2
- package/es/coupon-list/style/{index.js → index.mjs} +0 -0
- package/es/coupon-list/style/{less.js → less.mjs} +0 -0
- package/es/datetime-picker/{DatePicker.js → DatePicker.mjs} +4 -4
- package/es/datetime-picker/{DatetimePicker.js → DatetimePicker.mjs} +4 -4
- package/es/datetime-picker/{TimePicker.js → TimePicker.mjs} +4 -4
- package/es/datetime-picker/{index.js → index.mjs} +2 -2
- package/es/datetime-picker/style/{index.js → index.mjs} +0 -0
- package/es/datetime-picker/style/{less.js → less.mjs} +0 -0
- package/es/datetime-picker/{types.js → types.mjs} +0 -0
- package/es/datetime-picker/{utils.js → utils.mjs} +2 -2
- package/es/dialog/Dialog.d.ts +8 -0
- package/es/dialog/{Dialog.js → Dialog.mjs} +12 -6
- package/es/dialog/function-call.d.ts +10 -0
- package/es/dialog/{function-call.js → function-call.mjs} +5 -3
- 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 +3 -1
- 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.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.js → Empty.mjs} +2 -2
- package/es/empty/{Images.js → Images.mjs} +0 -0
- 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.js → Field.mjs} +20 -20
- package/es/field/index.d.ts +1 -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 +2 -0
- package/es/field/{types.js → types.mjs} +0 -0
- package/es/field/{utils.js → utils.mjs} +1 -1
- package/es/form/{Form.js → Form.mjs} +8 -3
- 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 +2 -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.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.js → IndexBar.mjs} +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.js → types.mjs} +0 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +277 -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} +1 -1
- 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.js → bn-BD.mjs} +0 -0
- package/es/locale/lang/{da-DK.js → da-DK.mjs} +0 -0
- package/es/locale/lang/{de-DE-formal.js → de-DE-formal.mjs} +0 -0
- package/es/locale/lang/{de-DE.js → de-DE.mjs} +0 -0
- 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.js → en-US.mjs} +0 -0
- package/es/locale/lang/{es-ES.js → es-ES.mjs} +0 -0
- package/es/locale/lang/fa-IR.d.ts +64 -0
- package/es/locale/lang/fa-IR.mjs +66 -0
- package/es/locale/lang/{fr-FR.js → fr-FR.mjs} +0 -0
- 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.js → hi-IN.mjs} +0 -0
- package/es/locale/lang/{id-ID.js → id-ID.mjs} +0 -0
- package/es/locale/lang/{is-IS.js → is-IS.mjs} +0 -0
- package/es/locale/lang/{it-IT.js → it-IT.mjs} +0 -0
- package/es/locale/lang/{ja-JP.js → ja-JP.mjs} +0 -0
- package/es/locale/lang/{ko-KR.js → ko-KR.mjs} +0 -0
- package/es/locale/lang/{la-LA.js → la-LA.mjs} +0 -0
- package/es/locale/lang/{nb-NO.js → nb-NO.mjs} +0 -0
- package/es/locale/lang/{pt-BR.js → pt-BR.mjs} +0 -0
- package/es/locale/lang/{ro-RO.js → ro-RO.mjs} +0 -0
- package/es/locale/lang/{ru-RU.js → ru-RU.mjs} +0 -0
- package/es/locale/lang/{sv-SE.js → sv-SE.mjs} +0 -0
- package/es/locale/lang/{th-TH.js → th-TH.mjs} +0 -0
- package/es/locale/lang/{tr-TR.js → tr-TR.mjs} +0 -0
- package/es/locale/lang/{uk-UA.js → uk-UA.mjs} +0 -0
- package/es/locale/lang/{vi-VN.js → vi-VN.mjs} +0 -0
- package/es/locale/lang/{zh-CN.js → zh-CN.mjs} +0 -0
- package/es/locale/lang/{zh-HK.js → zh-HK.mjs} +0 -0
- package/es/locale/lang/{zh-TW.js → zh-TW.mjs} +0 -0
- 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.js → types.mjs} +0 -0
- package/es/number-keyboard/{NumberKeyboard.js → NumberKeyboard.mjs} +2 -2
- 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.js → Picker.mjs} +29 -28
- package/es/picker/{PickerColumn.js → PickerColumn.mjs} +6 -4
- 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.js → types.mjs} +0 -0
- 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.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.js → Progress.mjs} +1 -1
- 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} +4 -4
- 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.js → Search.mjs} +5 -5
- 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} +4 -4
- 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.js → Skeleton.mjs} +1 -1
- 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.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/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.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} +9 -4
- 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.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.js → Tabs.mjs} +10 -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.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/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.js → types.mjs} +0 -0
- package/es/tree-select/{TreeSelect.js → TreeSelect.mjs} +4 -4
- 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.js → Uploader.mjs} +7 -9
- package/es/uploader/{UploaderPreviewItem.js → UploaderPreviewItem.mjs} +10 -7
- package/es/uploader/index.css +1 -1
- 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.js → types.mjs} +0 -0
- package/es/uploader/{utils.js → utils.mjs} +1 -1
- package/es/utils/{basic.js → basic.mjs} +0 -0
- 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.js → format.mjs} +3 -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.js → validate.mjs} +1 -1
- package/es/utils/{with-install.js → with-install.mjs} +1 -1
- package/lib/dialog/Dialog.d.ts +8 -0
- package/lib/dialog/Dialog.js +6 -0
- package/lib/dialog/function-call.d.ts +10 -0
- package/lib/dialog/function-call.js +2 -0
- package/lib/dialog/types.d.ts +3 -1
- package/lib/field/Field.js +13 -13
- package/lib/field/index.d.ts +1 -1
- package/lib/field/types.d.ts +2 -0
- package/lib/form/Form.js +6 -1
- package/lib/form/types.d.ts +2 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/bg-BG.d.ts +64 -0
- package/lib/locale/lang/bg-BG.js +93 -0
- package/lib/locale/lang/el-GR.d.ts +64 -0
- package/lib/locale/lang/el-GR.js +93 -0
- package/lib/locale/lang/fa-IR.d.ts +64 -0
- package/lib/locale/lang/fa-IR.js +85 -0
- package/lib/locale/lang/he-IL.d.ts +64 -0
- package/lib/locale/lang/he-IL.js +85 -0
- package/lib/picker/Picker.js +25 -24
- package/lib/picker/PickerColumn.js +2 -0
- package/lib/switch/Switch.js +7 -2
- package/lib/uploader/Uploader.js +1 -3
- package/lib/uploader/UploaderPreviewItem.js +5 -2
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.less +7 -4
- package/lib/vant.cjs.js +69 -48
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +68 -46
- package/lib/vant.es.min.js +68 -46
- package/lib/vant.js +145 -87
- package/lib/vant.min.js +1 -1
- package/package.json +6 -21
- package/vetur/attributes.json +259 -251
- package/vetur/tags.json +92 -90
- package/vetur/web-types.json +1049 -1016
- package/changelog.generated.md +0 -71
- package/es/index.js +0 -277
- package/es/utils/index.js +0 -9
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import { addUnit, truthProp, numericProp, BORDER_LEFT, makeStringProp, BORDER_SURROUND, createNamespace, makeNumericProp } from "../utils";
|
3
|
+
import { addUnit, truthProp, numericProp, BORDER_LEFT, makeStringProp, BORDER_SURROUND, createNamespace, makeNumericProp } from "../utils/index.mjs";
|
4
4
|
const [name, bem] = createNamespace("password-input");
|
5
5
|
const passwordInputProps = {
|
6
6
|
info: String,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _PasswordInput from "./PasswordInput";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _PasswordInput from "./PasswordInput.mjs";
|
3
3
|
const PasswordInput = withInstall(_PasswordInput);
|
4
4
|
var stdin_default = PasswordInput;
|
5
5
|
export {
|
File without changes
|
File without changes
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { ref, watch, computed, defineComponent } from "vue";
|
3
|
-
import { extend, unitToPx, truthProp, makeArrayProp, preventDefault, makeStringProp, makeNumericProp, createNamespace, HAPTICS_FEEDBACK, BORDER_UNSET_TOP_BOTTOM } from "../utils";
|
3
|
+
import { extend, unitToPx, truthProp, makeArrayProp, preventDefault, makeStringProp, makeNumericProp, createNamespace, HAPTICS_FEEDBACK, BORDER_UNSET_TOP_BOTTOM } from "../utils/index.mjs";
|
4
4
|
import { useChildren } from "@vant/use";
|
5
|
-
import { useExpose } from "../composables/use-expose";
|
6
|
-
import { Loading } from "../loading";
|
7
|
-
import Column, { PICKER_KEY } from "./PickerColumn";
|
5
|
+
import { useExpose } from "../composables/use-expose.mjs";
|
6
|
+
import { Loading } from "../loading/index.mjs";
|
7
|
+
import Column, { PICKER_KEY } from "./PickerColumn.mjs";
|
8
8
|
const [name, bem, t] = createNamespace("picker");
|
9
9
|
const pickerSharedProps = {
|
10
10
|
title: String,
|
@@ -43,15 +43,16 @@ var stdin_default = defineComponent({
|
|
43
43
|
}
|
44
44
|
const hasOptions = ref(false);
|
45
45
|
const formattedColumns = ref([]);
|
46
|
-
const {
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
46
|
+
const columnsFieldNames = computed(() => {
|
47
|
+
const {
|
48
|
+
columnsFieldNames: columnsFieldNames2
|
49
|
+
} = props;
|
50
|
+
return {
|
51
|
+
text: (columnsFieldNames2 == null ? void 0 : columnsFieldNames2.text) || props.valueKey || "text",
|
52
|
+
values: (columnsFieldNames2 == null ? void 0 : columnsFieldNames2.values) || "values",
|
53
|
+
children: (columnsFieldNames2 == null ? void 0 : columnsFieldNames2.children) || "children"
|
54
|
+
};
|
55
|
+
});
|
55
56
|
const {
|
56
57
|
children,
|
57
58
|
linkChildren
|
@@ -61,10 +62,10 @@ var stdin_default = defineComponent({
|
|
61
62
|
const dataType = computed(() => {
|
62
63
|
const firstColumn = props.columns[0];
|
63
64
|
if (typeof firstColumn === "object") {
|
64
|
-
if (
|
65
|
+
if (columnsFieldNames.value.children in firstColumn) {
|
65
66
|
return "cascade";
|
66
67
|
}
|
67
|
-
if (
|
68
|
+
if (columnsFieldNames.value.values in firstColumn) {
|
68
69
|
return "object";
|
69
70
|
}
|
70
71
|
}
|
@@ -74,10 +75,10 @@ var stdin_default = defineComponent({
|
|
74
75
|
var _a;
|
75
76
|
const formatted = [];
|
76
77
|
let cursor = {
|
77
|
-
[
|
78
|
+
[columnsFieldNames.value.children]: props.columns
|
78
79
|
};
|
79
|
-
while (cursor && cursor[
|
80
|
-
const children2 = cursor[
|
80
|
+
while (cursor && cursor[columnsFieldNames.value.children]) {
|
81
|
+
const children2 = cursor[columnsFieldNames.value.children];
|
81
82
|
let defaultIndex = (_a = cursor.defaultIndex) != null ? _a : +props.defaultIndex;
|
82
83
|
while (children2[defaultIndex] && children2[defaultIndex].disabled) {
|
83
84
|
if (defaultIndex < children2.length - 1) {
|
@@ -88,7 +89,7 @@ var stdin_default = defineComponent({
|
|
88
89
|
}
|
89
90
|
}
|
90
91
|
formatted.push({
|
91
|
-
[
|
92
|
+
[columnsFieldNames.value.values]: cursor[columnsFieldNames.value.children],
|
92
93
|
className: cursor.className,
|
93
94
|
defaultIndex
|
94
95
|
});
|
@@ -102,14 +103,14 @@ var stdin_default = defineComponent({
|
|
102
103
|
} = props;
|
103
104
|
if (dataType.value === "plain") {
|
104
105
|
formattedColumns.value = [{
|
105
|
-
[
|
106
|
+
[columnsFieldNames.value.values]: columns
|
106
107
|
}];
|
107
108
|
} else if (dataType.value === "cascade") {
|
108
109
|
formatCascade();
|
109
110
|
} else {
|
110
111
|
formattedColumns.value = columns;
|
111
112
|
}
|
112
|
-
hasOptions.value = formattedColumns.value.some((item) => item[
|
113
|
+
hasOptions.value = formattedColumns.value.some((item) => item[columnsFieldNames.value.values] && item[columnsFieldNames.value.values].length !== 0) || children.some((item) => item.hasOptions);
|
113
114
|
};
|
114
115
|
const getIndexes = () => children.map((child) => child.state.index);
|
115
116
|
const setColumnValues = (index, options) => {
|
@@ -121,16 +122,16 @@ var stdin_default = defineComponent({
|
|
121
122
|
};
|
122
123
|
const onCascadeChange = (columnIndex) => {
|
123
124
|
let cursor = {
|
124
|
-
[
|
125
|
+
[columnsFieldNames.value.children]: props.columns
|
125
126
|
};
|
126
127
|
const indexes = getIndexes();
|
127
128
|
for (let i = 0; i <= columnIndex; i++) {
|
128
|
-
cursor = cursor[
|
129
|
+
cursor = cursor[columnsFieldNames.value.children][indexes[i]];
|
129
130
|
}
|
130
|
-
while (cursor && cursor[
|
131
|
+
while (cursor && cursor[columnsFieldNames.value.children]) {
|
131
132
|
columnIndex++;
|
132
|
-
setColumnValues(columnIndex, cursor[
|
133
|
-
cursor = cursor[
|
133
|
+
setColumnValues(columnIndex, cursor[columnsFieldNames.value.children]);
|
134
|
+
cursor = cursor[columnsFieldNames.value.children][cursor.defaultIndex || 0];
|
134
135
|
}
|
135
136
|
};
|
136
137
|
const getChild = (index) => children[index];
|
@@ -240,14 +241,14 @@ var stdin_default = defineComponent({
|
|
240
241
|
const renderColumnItems = () => formattedColumns.value.map((item, columnIndex) => {
|
241
242
|
var _a;
|
242
243
|
return _createVNode(Column, {
|
243
|
-
"textKey":
|
244
|
+
"textKey": columnsFieldNames.value.text,
|
244
245
|
"readonly": props.readonly,
|
245
246
|
"allowHtml": props.allowHtml,
|
246
247
|
"className": item.className,
|
247
248
|
"itemHeight": itemHeight.value,
|
248
249
|
"defaultIndex": (_a = item.defaultIndex) != null ? _a : +props.defaultIndex,
|
249
250
|
"swipeDuration": props.swipeDuration,
|
250
|
-
"initialOptions": item[
|
251
|
+
"initialOptions": item[columnsFieldNames.value.values],
|
251
252
|
"visibleItemCount": props.visibleItemCount,
|
252
253
|
"onChange": () => onChange(columnIndex)
|
253
254
|
}, {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { ref, watch, reactive, defineComponent } from "vue";
|
3
|
-
import { deepClone } from "../utils/deep-clone";
|
4
|
-
import { clamp, isObject, unknownProp, numericProp, makeArrayProp, makeNumberProp, preventDefault, createNamespace, makeRequiredProp } from "../utils";
|
3
|
+
import { deepClone } from "../utils/deep-clone.mjs";
|
4
|
+
import { clamp, isObject, unknownProp, numericProp, makeArrayProp, makeNumberProp, preventDefault, createNamespace, makeRequiredProp } from "../utils/index.mjs";
|
5
5
|
import { useParent } from "@vant/use";
|
6
|
-
import { useTouch } from "../composables/use-touch";
|
7
|
-
import { useExpose } from "../composables/use-expose";
|
6
|
+
import { useTouch } from "../composables/use-touch.mjs";
|
7
|
+
import { useExpose } from "../composables/use-expose.mjs";
|
8
8
|
const DEFAULT_DURATION = 200;
|
9
9
|
const MOMENTUM_LIMIT_TIME = 300;
|
10
10
|
const MOMENTUM_LIMIT_DISTANCE = 15;
|
@@ -202,6 +202,7 @@ var stdin_default = defineComponent({
|
|
202
202
|
}
|
203
203
|
};
|
204
204
|
const getValue = () => state.options[state.index];
|
205
|
+
const hasOptions = () => state.options.length;
|
205
206
|
setIndex(state.index);
|
206
207
|
useParent(PICKER_KEY);
|
207
208
|
useExpose({
|
@@ -210,6 +211,7 @@ var stdin_default = defineComponent({
|
|
210
211
|
getValue,
|
211
212
|
setValue,
|
212
213
|
setOptions,
|
214
|
+
hasOptions,
|
213
215
|
stopMomentum
|
214
216
|
});
|
215
217
|
watch(() => props.initialOptions, setOptions);
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { mergeProps as _mergeProps, Fragment as _Fragment, createVNode as _createVNode } from "vue";
|
2
2
|
import { ref, watch, nextTick, onMounted, onBeforeUnmount, defineComponent } from "vue";
|
3
3
|
import { createPopper, offsetModifier } from "@vant/popperjs";
|
4
|
-
import { pick, extend, truthProp, numericProp, unknownProp, BORDER_BOTTOM, makeArrayProp, makeStringProp, createNamespace } from "../utils";
|
4
|
+
import { pick, extend, truthProp, numericProp, unknownProp, BORDER_BOTTOM, makeArrayProp, makeStringProp, createNamespace } from "../utils/index.mjs";
|
5
5
|
import { useClickAway } from "@vant/use";
|
6
|
-
import { Icon } from "../icon";
|
7
|
-
import { Popup } from "../popup";
|
6
|
+
import { Icon } from "../icon/index.mjs";
|
7
|
+
import { Popup } from "../popup/index.mjs";
|
8
8
|
const [name, bem] = createNamespace("popover");
|
9
9
|
const popupProps = ["show", "overlay", "duration", "teleport", "overlayStyle", "overlayClass", "closeOnClickOverlay"];
|
10
10
|
const popoverProps = {
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { Fragment as _Fragment, withDirectives as _withDirectives, mergeProps as _mergeProps, vShow as _vShow, createVNode as _createVNode } from "vue";
|
2
2
|
import { ref, watch, provide, Teleport, nextTick, computed, onMounted, Transition, onActivated, onDeactivated, defineComponent } from "vue";
|
3
|
-
import { popupSharedProps } from "./shared";
|
4
|
-
import { isDef, extend, makeStringProp, callInterceptor, createNamespace, HAPTICS_FEEDBACK } from "../utils";
|
3
|
+
import { popupSharedProps } from "./shared.mjs";
|
4
|
+
import { isDef, extend, makeStringProp, callInterceptor, createNamespace, HAPTICS_FEEDBACK } from "../utils/index.mjs";
|
5
5
|
import { useEventListener } from "@vant/use";
|
6
|
-
import { useExpose } from "../composables/use-expose";
|
7
|
-
import { useLockScroll } from "../composables/use-lock-scroll";
|
8
|
-
import { useLazyRender } from "../composables/use-lazy-render";
|
9
|
-
import { POPUP_TOGGLE_KEY } from "../composables/on-popup-reopen";
|
10
|
-
import { Icon } from "../icon";
|
11
|
-
import { Overlay } from "../overlay";
|
6
|
+
import { useExpose } from "../composables/use-expose.mjs";
|
7
|
+
import { useLockScroll } from "../composables/use-lock-scroll.mjs";
|
8
|
+
import { useLazyRender } from "../composables/use-lazy-render.mjs";
|
9
|
+
import { POPUP_TOGGLE_KEY } from "../composables/on-popup-reopen.mjs";
|
10
|
+
import { Icon } from "../icon/index.mjs";
|
11
|
+
import { Overlay } from "../overlay/index.mjs";
|
12
12
|
const popupProps = extend({}, popupSharedProps, {
|
13
13
|
round: Boolean,
|
14
14
|
position: makeStringProp("center"),
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { computed, defineComponent } from "vue";
|
3
|
-
import { addUnit, truthProp, numericProp, createNamespace } from "../utils";
|
3
|
+
import { addUnit, truthProp, numericProp, createNamespace } from "../utils/index.mjs";
|
4
4
|
const [name, bem] = createNamespace("progress");
|
5
5
|
const progressProps = {
|
6
6
|
color: String,
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { ref, watch, reactive, nextTick, defineComponent } from "vue";
|
3
|
-
import { numericProp, getScrollTop, preventDefault, createNamespace, makeNumericProp } from "../utils";
|
3
|
+
import { numericProp, getScrollTop, preventDefault, createNamespace, makeNumericProp } from "../utils/index.mjs";
|
4
4
|
import { useScrollParent } from "@vant/use";
|
5
|
-
import { useTouch } from "../composables/use-touch";
|
6
|
-
import { Loading } from "../loading";
|
5
|
+
import { useTouch } from "../composables/use-touch.mjs";
|
6
|
+
import { Loading } from "../loading/index.mjs";
|
7
7
|
const [name, bem, t] = createNamespace("pull-refresh");
|
8
8
|
const DEFAULT_HEAD_HEIGHT = 50;
|
9
9
|
const TEXT_STATUS = ["pulling", "loosing", "success"];
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _PullRefresh from "./PullRefresh";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _PullRefresh from "./PullRefresh.mjs";
|
3
3
|
const PullRefresh = withInstall(_PullRefresh);
|
4
4
|
var stdin_default = PullRefresh;
|
5
5
|
export {
|
File without changes
|
File without changes
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import { pick, createNamespace } from "../utils";
|
4
|
-
import { RADIO_KEY } from "../radio-group/RadioGroup";
|
3
|
+
import { pick, createNamespace } from "../utils/index.mjs";
|
4
|
+
import { RADIO_KEY } from "../radio-group/RadioGroup.mjs";
|
5
5
|
import { useParent } from "@vant/use";
|
6
|
-
import Checker, { checkerProps } from "../checkbox/Checker";
|
6
|
+
import Checker, { checkerProps } from "../checkbox/Checker.mjs";
|
7
7
|
const [name, bem] = createNamespace("radio");
|
8
8
|
var stdin_default = defineComponent({
|
9
9
|
name,
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { watch, defineComponent } from "vue";
|
3
|
-
import { unknownProp, numericProp, createNamespace } from "../utils";
|
3
|
+
import { unknownProp, numericProp, createNamespace } from "../utils/index.mjs";
|
4
4
|
import { useChildren, useCustomFieldValue } from "@vant/use";
|
5
5
|
const [name, bem] = createNamespace("radio-group");
|
6
6
|
const radioGroupProps = {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _RadioGroup from "./RadioGroup";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _RadioGroup from "./RadioGroup.mjs";
|
3
3
|
const RadioGroup = withInstall(_RadioGroup);
|
4
4
|
var stdin_default = RadioGroup;
|
5
5
|
export {
|
File without changes
|
File without changes
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { computed, defineComponent, ref } from "vue";
|
3
|
-
import { addUnit, truthProp, numericProp, preventDefault, makeStringProp, makeNumberProp, makeNumericProp, createNamespace } from "../utils";
|
3
|
+
import { addUnit, truthProp, numericProp, preventDefault, makeStringProp, makeNumberProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
|
4
4
|
import { useRect, useCustomFieldValue } from "@vant/use";
|
5
|
-
import { useRefs } from "../composables/use-refs";
|
6
|
-
import { useTouch } from "../composables/use-touch";
|
7
|
-
import { Icon } from "../icon";
|
5
|
+
import { useRefs } from "../composables/use-refs.mjs";
|
6
|
+
import { useTouch } from "../composables/use-touch.mjs";
|
7
|
+
import { Icon } from "../icon/index.mjs";
|
8
8
|
const [name, bem] = createNamespace("rate");
|
9
9
|
function getRateStatus(value, index, allowHalf, readonly) {
|
10
10
|
if (value >= index) {
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { computed, defineComponent } from "vue";
|
3
|
-
import { truthProp, makeStringProp, makeNumericProp, createNamespace } from "../utils";
|
3
|
+
import { truthProp, makeStringProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
|
4
4
|
import { useChildren } from "@vant/use";
|
5
5
|
const [name, bem] = createNamespace("row");
|
6
6
|
const ROW_KEY = Symbol(name);
|
File without changes
|
File without changes
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
2
2
|
import { ref, defineComponent } from "vue";
|
3
|
-
import { pick, extend, truthProp, preventDefault, makeStringProp, createNamespace } from "../utils";
|
4
|
-
import { fieldSharedProps } from "../field/Field";
|
5
|
-
import { useId } from "../composables/use-id";
|
6
|
-
import { useExpose } from "../composables/use-expose";
|
7
|
-
import { Field } from "../field";
|
3
|
+
import { pick, extend, truthProp, preventDefault, makeStringProp, createNamespace } from "../utils/index.mjs";
|
4
|
+
import { fieldSharedProps } from "../field/Field.mjs";
|
5
|
+
import { useId } from "../composables/use-id.mjs";
|
6
|
+
import { useExpose } from "../composables/use-expose.mjs";
|
7
|
+
import { Field } from "../field/index.mjs";
|
8
8
|
const [name, bem, t] = createNamespace("search");
|
9
9
|
const searchProps = extend({}, fieldSharedProps, {
|
10
10
|
label: String,
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import { pick, extend, truthProp, makeArrayProp, createNamespace, HAPTICS_FEEDBACK } from "../utils";
|
4
|
-
import { popupSharedProps, popupSharedPropKeys } from "../popup/shared";
|
5
|
-
import { Icon } from "../icon";
|
6
|
-
import { Popup } from "../popup";
|
3
|
+
import { pick, extend, truthProp, makeArrayProp, createNamespace, HAPTICS_FEEDBACK } from "../utils/index.mjs";
|
4
|
+
import { popupSharedProps, popupSharedPropKeys } from "../popup/shared.mjs";
|
5
|
+
import { Icon } from "../icon/index.mjs";
|
6
|
+
import { Popup } from "../popup/index.mjs";
|
7
7
|
const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
|
8
8
|
const iconMap = {
|
9
9
|
qq: "qq",
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _ShareSheet from "./ShareSheet";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _ShareSheet from "./ShareSheet.mjs";
|
3
3
|
const ShareSheet = withInstall(_ShareSheet);
|
4
4
|
var stdin_default = ShareSheet;
|
5
5
|
export {
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import { makeNumericProp, createNamespace } from "../utils";
|
3
|
+
import { makeNumericProp, createNamespace } from "../utils/index.mjs";
|
4
4
|
import { useChildren } from "@vant/use";
|
5
5
|
const [name, bem] = createNamespace("sidebar");
|
6
6
|
const SIDEBAR_KEY = Symbol(name);
|
File without changes
|
File without changes
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import { extend, numericProp, createNamespace } from "../utils";
|
4
|
-
import { SIDEBAR_KEY } from "../sidebar/Sidebar";
|
3
|
+
import { extend, numericProp, createNamespace } from "../utils/index.mjs";
|
4
|
+
import { SIDEBAR_KEY } from "../sidebar/Sidebar.mjs";
|
5
5
|
import { useParent } from "@vant/use";
|
6
|
-
import { useRoute, routeProps } from "../composables/use-route";
|
7
|
-
import { Badge } from "../badge";
|
6
|
+
import { useRoute, routeProps } from "../composables/use-route.mjs";
|
7
|
+
import { Badge } from "../badge/index.mjs";
|
8
8
|
const [name, bem] = createNamespace("sidebar-item");
|
9
9
|
const sidebarItemProps = extend({}, routeProps, {
|
10
10
|
dot: Boolean,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withInstall } from "../utils";
|
2
|
-
import _SidebarItem from "./SidebarItem";
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
2
|
+
import _SidebarItem from "./SidebarItem.mjs";
|
3
3
|
const SidebarItem = withInstall(_SidebarItem);
|
4
4
|
var stdin_default = SidebarItem;
|
5
5
|
export {
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
2
2
|
import { defineComponent } from "vue";
|
3
|
-
import { addUnit, truthProp, numericProp, getSizeStyle, makeStringProp, makeNumericProp, createNamespace } from "../utils";
|
3
|
+
import { addUnit, truthProp, numericProp, getSizeStyle, makeStringProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
|
4
4
|
const [name, bem] = createNamespace("skeleton");
|
5
5
|
const DEFAULT_ROW_WIDTH = "100%";
|
6
6
|
const DEFAULT_LAST_ROW_WIDTH = "60%";
|
File without changes
|
File without changes
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
2
|
import { ref, computed, defineComponent } from "vue";
|
3
|
-
import { clamp, addUnit, addNumber, numericProp, getSizeStyle, preventDefault, stopPropagation, createNamespace, makeNumericProp } from "../utils";
|
3
|
+
import { clamp, addUnit, addNumber, numericProp, getSizeStyle, preventDefault, stopPropagation, createNamespace, makeNumericProp } from "../utils/index.mjs";
|
4
4
|
import { useRect, useCustomFieldValue } from "@vant/use";
|
5
|
-
import { useTouch } from "../composables/use-touch";
|
5
|
+
import { useTouch } from "../composables/use-touch.mjs";
|
6
6
|
const [name, bem] = createNamespace("slider");
|
7
7
|
const sliderProps = {
|
8
8
|
min: makeNumericProp(0),
|
File without changes
|
File without changes
|