vant 3.4.7 → 3.5.0-beta.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 +141 -0
- package/es/action-bar/{ActionBar.js → ActionBar.mjs} +0 -0
- package/es/action-bar/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/action-bar-button/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/action-bar-icon/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/action-sheet/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/address-edit/{AddressEditDetail.js → AddressEditDetail.mjs} +0 -0
- package/es/address-edit/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/address-list/{AddressListItem.js → AddressListItem.mjs} +0 -0
- package/es/address-list/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/area/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/badge/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/button/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/calendar/{CalendarDay.js → CalendarDay.mjs} +4 -0
- package/es/calendar/{CalendarHeader.js → CalendarHeader.mjs} +0 -0
- package/es/calendar/{CalendarMonth.js → CalendarMonth.mjs} +0 -0
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.less +2 -0
- package/es/calendar/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/calendar/var.less +1 -0
- package/es/card/{Card.js → Card.mjs} +0 -0
- package/es/card/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/cascader/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/cell/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/cell-group/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/checkbox/{Checker.js → Checker.mjs} +0 -0
- package/es/checkbox/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/checkbox-group/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/circle/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/col/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/collapse/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/collapse-item/{index.js → index.mjs} +0 -0
- 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} +0 -0
- 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} +0 -0
- package/es/composables/{use-placeholder.js → use-placeholder.mjs} +0 -0
- 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} +0 -0
- package/es/config-provider/{ConfigProvider.js → ConfigProvider.mjs} +0 -0
- package/es/config-provider/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/contact-card/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/contact-edit/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/contact-list/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/count-down/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/coupon/{Coupon.js → Coupon.mjs} +0 -0
- package/es/coupon/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/coupon-cell/{CouponCell.js → CouponCell.mjs} +0 -0
- package/es/coupon-cell/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/coupon-list/{index.js → index.mjs} +0 -0
- 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} +1 -0
- package/es/datetime-picker/{DatetimePicker.js → DatetimePicker.mjs} +0 -0
- package/es/datetime-picker/{TimePicker.js → TimePicker.mjs} +0 -0
- package/es/datetime-picker/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/dialog/{Dialog.js → Dialog.mjs} +0 -0
- package/es/dialog/{function-call.js → function-call.mjs} +0 -0
- package/es/dialog/index.css +1 -1
- package/es/dialog/{index.js → index.mjs} +0 -0
- package/es/dialog/style/{index.js → index.mjs} +0 -0
- package/es/dialog/style/{less.js → less.mjs} +0 -0
- package/es/dialog/{types.js → types.mjs} +0 -0
- package/es/divider/{Divider.js → Divider.mjs} +0 -0
- package/es/divider/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/dropdown-item/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/dropdown-menu/{index.js → index.mjs} +0 -0
- 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} +0 -0
- 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} +21 -16
- package/es/field/index.d.ts +3 -1
- package/es/field/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/form/Form.d.ts +13 -13
- package/es/form/{Form.js → Form.mjs} +13 -4
- package/es/form/index.d.ts +9 -9
- package/es/form/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/grid/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/grid-item/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/icon/index.css +1 -1
- package/es/icon/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/image/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/image-preview/{ImagePreviewItem.js → ImagePreviewItem.mjs} +0 -0
- package/es/image-preview/{function-call.js → function-call.mjs} +0 -0
- package/es/image-preview/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/index-anchor/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/index-bar/{index.js → index.mjs} +0 -0
- 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.js → index.mjs} +1 -1
- package/es/lazyload/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/lazyload/vue-lazyload/{lazy-component.js → lazy-component.mjs} +0 -0
- package/es/lazyload/vue-lazyload/{lazy-container.js → lazy-container.mjs} +0 -0
- package/es/lazyload/vue-lazyload/{lazy-image.js → lazy-image.mjs} +0 -0
- package/es/lazyload/vue-lazyload/{lazy.js → lazy.mjs} +0 -0
- package/es/lazyload/vue-lazyload/{listener.js → listener.mjs} +0 -0
- package/es/lazyload/vue-lazyload/{util.js → util.mjs} +0 -0
- package/es/list/{List.js → List.mjs} +0 -0
- package/es/list/{index.js → index.mjs} +0 -0
- 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} +3 -1
- package/es/loading/{index.js → index.mjs} +0 -0
- 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} +0 -0
- 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.d.ts +64 -0
- package/es/locale/lang/da-DK.mjs +66 -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} +0 -0
- package/es/nav-bar/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/notice-bar/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/notify/{function-call.js → function-call.mjs} +0 -0
- package/es/notify/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/number-keyboard/{NumberKeyboardKey.js → NumberKeyboardKey.mjs} +0 -0
- package/es/number-keyboard/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/overlay/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/pagination/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/password-input/{index.js → index.mjs} +0 -0
- 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} +25 -24
- package/es/picker/{PickerColumn.js → PickerColumn.mjs} +0 -0
- package/es/picker/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/popover/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/popup/index.css +1 -1
- package/es/popup/{index.js → index.mjs} +0 -0
- package/es/popup/{shared.js → shared.mjs} +0 -0
- 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} +0 -0
- package/es/progress/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/pull-refresh/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/radio/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/radio-group/{index.js → index.mjs} +0 -0
- 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} +32 -10
- package/es/rate/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/row/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/search/index.d.ts +2 -0
- package/es/search/{index.js → index.mjs} +0 -0
- 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} +25 -11
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.less +45 -1
- package/es/share-sheet/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/sidebar/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/sidebar-item/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/skeleton/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/slider/index.css +1 -1
- package/es/slider/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/step/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/stepper/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/steps/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/sticky/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/submit-bar/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/swipe/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/swipe-item/{index.js → index.mjs} +0 -0
- 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} +5 -1
- package/es/switch/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/tab/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/tabbar/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/tabbar-item/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/tabs/{TabsContent.js → TabsContent.mjs} +0 -0
- package/es/tabs/{TabsTitle.js → TabsTitle.mjs} +0 -0
- package/es/tabs/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/tag/{Tag.js → Tag.mjs} +0 -0
- package/es/tag/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/toast/{function-call.js → function-call.mjs} +0 -0
- package/es/toast/{index.js → index.mjs} +0 -0
- 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} +0 -0
- package/es/tree-select/{index.js → index.mjs} +0 -0
- 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} +3 -5
- package/es/uploader/{UploaderPreviewItem.js → UploaderPreviewItem.mjs} +5 -2
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.less +7 -4
- package/es/uploader/{index.js → index.mjs} +0 -0
- 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.d.ts +0 -1
- package/es/uploader/{utils.js → utils.mjs} +2 -4
- package/es/utils/basic.d.ts +1 -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} +0 -0
- package/es/utils/{deep-assign.js → deep-assign.mjs} +0 -0
- package/es/utils/{deep-clone.js → deep-clone.mjs} +0 -0
- package/es/utils/{dom.js → dom.mjs} +0 -0
- package/es/utils/{format.js → format.mjs} +0 -0
- package/es/utils/{index.js → index.mjs} +0 -0
- package/es/utils/{interceptor.js → interceptor.mjs} +0 -0
- package/es/utils/{mount-component.js → mount-component.mjs} +0 -0
- package/es/utils/{props.js → props.mjs} +0 -0
- package/es/utils/{validate.js → validate.mjs} +0 -0
- package/es/utils/{with-install.js → with-install.mjs} +0 -0
- 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.js +9 -16
- package/lib/address-edit/AddressEditDetail.js +8 -13
- package/lib/address-edit/index.js +9 -16
- package/lib/address-edit/types.js +7 -12
- package/lib/address-list/AddressList.js +9 -16
- 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/badge/Badge.js +8 -13
- 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 +9 -16
- 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.js +7 -12
- package/lib/calendar/utils.js +8 -13
- package/lib/calendar/var.less +1 -0
- 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.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.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.js +8 -13
- 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 +8 -13
- package/lib/composables/use-visibility-change.js +8 -13
- package/lib/config-provider/ConfigProvider.js +8 -13
- 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.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.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.js +8 -13
- package/lib/coupon-list/index.js +9 -16
- package/lib/datetime-picker/DatePicker.js +9 -13
- package/lib/datetime-picker/DatetimePicker.js +9 -16
- package/lib/datetime-picker/TimePicker.js +8 -13
- package/lib/datetime-picker/index.js +9 -16
- package/lib/datetime-picker/types.js +7 -12
- package/lib/datetime-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.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.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.js +8 -13
- package/lib/index-bar/index.js +9 -16
- 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 +96 -100
- 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.js +8 -13
- 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.js +8 -13
- package/lib/locale/lang/de-DE.js +8 -13
- 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.js +8 -13
- package/lib/locale/lang/es-ES.js +8 -13
- package/lib/locale/lang/fa-IR.d.ts +64 -0
- package/lib/locale/lang/fa-IR.js +85 -0
- package/lib/locale/lang/fr-FR.js +8 -13
- 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.js +8 -13
- package/lib/locale/lang/id-ID.js +8 -13
- package/lib/locale/lang/is-IS.js +8 -13
- package/lib/locale/lang/it-IT.js +8 -13
- package/lib/locale/lang/ja-JP.js +8 -13
- package/lib/locale/lang/ko-KR.js +8 -13
- package/lib/locale/lang/la-LA.js +8 -13
- package/lib/locale/lang/nb-NO.js +8 -13
- package/lib/locale/lang/pt-BR.js +8 -13
- package/lib/locale/lang/ro-RO.js +8 -13
- package/lib/locale/lang/ru-RU.js +8 -13
- package/lib/locale/lang/sv-SE.js +8 -13
- package/lib/locale/lang/th-TH.js +8 -13
- package/lib/locale/lang/tr-TR.js +8 -13
- package/lib/locale/lang/uk-UA.js +8 -13
- package/lib/locale/lang/vi-VN.js +8 -13
- package/lib/locale/lang/zh-CN.js +8 -13
- package/lib/locale/lang/zh-HK.js +8 -13
- package/lib/locale/lang/zh-TW.js +8 -13
- 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.js +7 -12
- package/lib/number-keyboard/NumberKeyboard.js +9 -16
- 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.js +34 -40
- package/lib/picker/PickerColumn.js +8 -13
- package/lib/picker/index.js +9 -16
- package/lib/picker/types.js +7 -12
- 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.js +8 -13
- 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.d.ts +2 -0
- package/lib/search/index.js +9 -16
- 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.js +8 -13
- 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.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.js +9 -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.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/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.js +7 -12
- package/lib/tree-select/TreeSelect.js +8 -13
- package/lib/tree-select/index.js +9 -16
- package/lib/uploader/Uploader.js +11 -20
- package/lib/uploader/UploaderPreviewItem.js +13 -15
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.js +9 -16
- package/lib/uploader/index.less +7 -4
- 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 +1 -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.js +8 -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.js +8 -13
- package/lib/utils/with-install.js +8 -13
- package/lib/vant.cjs.js +353 -116
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +352 -114
- package/lib/vant.es.min.js +352 -114
- package/lib/vant.js +429 -155
- package/lib/vant.min.js +1 -1
- package/package.json +8 -23
- package/vetur/attributes.json +696 -763
- package/vetur/tags.json +230 -228
- package/vetur/web-types.json +3925 -3063
- package/changelog.generated.md +0 -81
- package/es/empty/Network.d.ts +0 -1
- package/es/empty/Network.js +0 -89
- package/lib/empty/Network.d.ts +0 -1
- package/lib/empty/Network.js +0 -113
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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);
|
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
|
}, {
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/es/popup/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-popup-background-color: var(--van-background-color-light);--van-popup-transition: transform var(--van-animation-duration-base);--van-popup-round-border-radius: 16px;--van-popup-close-icon-size: 22px;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: 16px;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;background:var(--van-popup-background-color);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:50%;transform:
|
1
|
+
:root{--van-popup-background-color: var(--van-background-color-light);--van-popup-transition: transform var(--van-animation-duration-base);--van-popup-round-border-radius: 16px;--van-popup-close-icon-size: 22px;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: 16px;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;background:var(--van-popup-background-color);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:50%;transform:translate3d(-50%,-50%,0)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-border-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-border-radius) var(--van-popup-round-border-radius)}.van-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-border-radius) 0 0 var(--van-popup-round-border-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-border-radius) var(--van-popup-round-border-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-border-radius) var(--van-popup-round-border-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-animation-timing-function-enter)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-animation-timing-function-leave)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size)}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
|
-
import { computed, defineComponent } from "vue";
|
2
|
+
import { computed, defineComponent, ref } from "vue";
|
3
3
|
import { addUnit, truthProp, numericProp, preventDefault, makeStringProp, makeNumberProp, makeNumericProp, createNamespace } from "../utils";
|
4
4
|
import { useRect, useCustomFieldValue } from "@vant/use";
|
5
5
|
import { useRefs } from "../composables/use-refs";
|
@@ -56,33 +56,53 @@ var stdin_default = defineComponent({
|
|
56
56
|
}) {
|
57
57
|
const touch = useTouch();
|
58
58
|
const [itemRefs, setItemRefs] = useRefs();
|
59
|
+
const groupRef = ref();
|
59
60
|
const untouchable = () => props.readonly || props.disabled || !props.touchable;
|
60
61
|
const list = computed(() => Array(+props.count).fill("").map((_, i) => getRateStatus(props.modelValue, i + 1, props.allowHalf, props.readonly)));
|
61
62
|
let ranges;
|
63
|
+
let groupRefRect;
|
64
|
+
let minRectTop = Number.MAX_SAFE_INTEGER;
|
65
|
+
let maxRectTop = Number.MIN_SAFE_INTEGER;
|
62
66
|
const updateRanges = () => {
|
67
|
+
groupRefRect = useRect(groupRef);
|
63
68
|
const rects = itemRefs.value.map(useRect);
|
64
69
|
ranges = [];
|
65
70
|
rects.forEach((rect, index) => {
|
71
|
+
minRectTop = Math.min(rect.top, minRectTop);
|
72
|
+
maxRectTop = Math.max(rect.top, maxRectTop);
|
66
73
|
if (props.allowHalf) {
|
67
74
|
ranges.push({
|
68
75
|
score: index + 0.5,
|
69
|
-
left: rect.left
|
76
|
+
left: rect.left,
|
77
|
+
top: rect.top,
|
78
|
+
height: rect.height
|
70
79
|
}, {
|
71
80
|
score: index + 1,
|
72
|
-
left: rect.left + rect.width / 2
|
81
|
+
left: rect.left + rect.width / 2,
|
82
|
+
top: rect.top,
|
83
|
+
height: rect.height
|
73
84
|
});
|
74
85
|
} else {
|
75
86
|
ranges.push({
|
76
87
|
score: index + 1,
|
77
|
-
left: rect.left
|
88
|
+
left: rect.left,
|
89
|
+
top: rect.top,
|
90
|
+
height: rect.height
|
78
91
|
});
|
79
92
|
}
|
80
93
|
});
|
81
94
|
};
|
82
|
-
const getScoreByPosition = (x) => {
|
95
|
+
const getScoreByPosition = (x, y) => {
|
83
96
|
for (let i = ranges.length - 1; i > 0; i--) {
|
84
|
-
if (
|
85
|
-
|
97
|
+
if (y >= groupRefRect.top && y <= groupRefRect.bottom) {
|
98
|
+
if (x > ranges[i].left && y >= ranges[i].top && y <= ranges[i].top + ranges[i].height) {
|
99
|
+
return ranges[i].score;
|
100
|
+
}
|
101
|
+
} else {
|
102
|
+
const curTop = y < groupRefRect.top ? minRectTop : maxRectTop;
|
103
|
+
if (x > ranges[i].left && ranges[i].top === curTop) {
|
104
|
+
return ranges[i].score;
|
105
|
+
}
|
86
106
|
}
|
87
107
|
}
|
88
108
|
return props.allowHalf ? 0.5 : 1;
|
@@ -107,10 +127,11 @@ var stdin_default = defineComponent({
|
|
107
127
|
touch.move(event);
|
108
128
|
if (touch.isHorizontal()) {
|
109
129
|
const {
|
110
|
-
clientX
|
130
|
+
clientX,
|
131
|
+
clientY
|
111
132
|
} = event.touches[0];
|
112
133
|
preventDefault(event);
|
113
|
-
select(getScoreByPosition(clientX));
|
134
|
+
select(getScoreByPosition(clientX, clientY));
|
114
135
|
}
|
115
136
|
};
|
116
137
|
const renderStar = (item, index) => {
|
@@ -139,7 +160,7 @@ var stdin_default = defineComponent({
|
|
139
160
|
}
|
140
161
|
const onClickItem = (event) => {
|
141
162
|
updateRanges();
|
142
|
-
select(allowHalf ? getScoreByPosition(event.clientX) : score);
|
163
|
+
select(allowHalf ? getScoreByPosition(event.clientX, event.clientY) : score);
|
143
164
|
};
|
144
165
|
return _createVNode("div", {
|
145
166
|
"key": index,
|
@@ -177,6 +198,7 @@ var stdin_default = defineComponent({
|
|
177
198
|
};
|
178
199
|
useCustomFieldValue(() => props.modelValue);
|
179
200
|
return () => _createVNode("div", {
|
201
|
+
"ref": groupRef,
|
180
202
|
"role": "radiogroup",
|
181
203
|
"class": bem({
|
182
204
|
readonly: props.readonly,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/es/search/Search.d.ts
CHANGED
@@ -21,6 +21,7 @@ declare const searchProps: {
|
|
21
21
|
placeholder: StringConstructor;
|
22
22
|
autocomplete: StringConstructor;
|
23
23
|
errorMessage: StringConstructor;
|
24
|
+
enterkeyhint: StringConstructor;
|
24
25
|
clearTrigger: {
|
25
26
|
type: import("vue").PropType<import("../field").FieldClearTrigger>;
|
26
27
|
default: import("../field").FieldClearTrigger;
|
@@ -81,6 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
81
82
|
placeholder: StringConstructor;
|
82
83
|
autocomplete: StringConstructor;
|
83
84
|
errorMessage: StringConstructor;
|
85
|
+
enterkeyhint: StringConstructor;
|
84
86
|
clearTrigger: {
|
85
87
|
type: import("vue").PropType<import("../field").FieldClearTrigger>;
|
86
88
|
default: import("../field").FieldClearTrigger;
|
@@ -139,6 +141,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
139
141
|
placeholder: StringConstructor;
|
140
142
|
autocomplete: StringConstructor;
|
141
143
|
errorMessage: StringConstructor;
|
144
|
+
enterkeyhint: StringConstructor;
|
142
145
|
clearTrigger: {
|
143
146
|
type: import("vue").PropType<import("../field").FieldClearTrigger>;
|
144
147
|
default: import("../field").FieldClearTrigger;
|
File without changes
|
package/es/search/index.d.ts
CHANGED
@@ -20,6 +20,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
|
|
20
20
|
placeholder: StringConstructor;
|
21
21
|
autocomplete: StringConstructor;
|
22
22
|
errorMessage: StringConstructor;
|
23
|
+
enterkeyhint: StringConstructor;
|
23
24
|
clearTrigger: {
|
24
25
|
type: import("vue").PropType<import("..").FieldClearTrigger>;
|
25
26
|
default: import("..").FieldClearTrigger;
|
@@ -78,6 +79,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
|
|
78
79
|
placeholder: StringConstructor;
|
79
80
|
autocomplete: StringConstructor;
|
80
81
|
errorMessage: StringConstructor;
|
82
|
+
enterkeyhint: StringConstructor;
|
81
83
|
clearTrigger: {
|
82
84
|
type: import("vue").PropType<import("..").FieldClearTrigger>;
|
83
85
|
default: import("..").FieldClearTrigger;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -2,15 +2,19 @@ import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
|
2
2
|
import { defineComponent } from "vue";
|
3
3
|
import { pick, extend, truthProp, makeArrayProp, createNamespace, HAPTICS_FEEDBACK } from "../utils";
|
4
4
|
import { popupSharedProps, popupSharedPropKeys } from "../popup/shared";
|
5
|
+
import { Icon } from "../icon";
|
5
6
|
import { Popup } from "../popup";
|
6
|
-
const PRESET_ICONS = ["qq", "link", "weibo", "wechat", "poster", "qrcode", "weapp-qrcode", "wechat-moments"];
|
7
7
|
const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
const iconMap = {
|
9
|
+
qq: "qq",
|
10
|
+
link: "link-o",
|
11
|
+
weibo: "weibo",
|
12
|
+
qrcode: "qr",
|
13
|
+
poster: "photo-o",
|
14
|
+
wechat: "wechat",
|
15
|
+
"weapp-qrcode": "miniprogram-o",
|
16
|
+
"wechat-moments": "wechat-moments"
|
17
|
+
};
|
14
18
|
const [name, bem, t] = createNamespace("share-sheet");
|
15
19
|
const shareSheetProps = extend({}, popupSharedProps, {
|
16
20
|
title: String,
|
@@ -48,6 +52,19 @@ var stdin_default = defineComponent({
|
|
48
52
|
}, [description])]);
|
49
53
|
}
|
50
54
|
};
|
55
|
+
const renderIcon = (icon) => {
|
56
|
+
if (iconMap[icon]) {
|
57
|
+
return _createVNode("div", {
|
58
|
+
"class": bem("icon", [icon])
|
59
|
+
}, [_createVNode(Icon, {
|
60
|
+
"name": iconMap[icon] || icon
|
61
|
+
}, null)]);
|
62
|
+
}
|
63
|
+
return _createVNode("img", {
|
64
|
+
"src": icon,
|
65
|
+
"class": bem("image-icon")
|
66
|
+
}, null);
|
67
|
+
};
|
51
68
|
const renderOption = (option, index) => {
|
52
69
|
const {
|
53
70
|
name: name2,
|
@@ -60,10 +77,7 @@ var stdin_default = defineComponent({
|
|
60
77
|
"tabindex": 0,
|
61
78
|
"class": [bem("option"), className, HAPTICS_FEEDBACK],
|
62
79
|
"onClick": () => onSelect(option, index)
|
63
|
-
}, [_createVNode("
|
64
|
-
"src": getIconURL(icon),
|
65
|
-
"class": bem("icon")
|
66
|
-
}, null), name2 && _createVNode("span", {
|
80
|
+
}, [renderIcon(icon), name2 && _createVNode("span", {
|
67
81
|
"class": bem("name")
|
68
82
|
}, [name2]), description && _createVNode("span", {
|
69
83
|
"class": bem("option-description")
|
package/es/share-sheet/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-share-sheet-header-padding: var(--van-padding-sm) var(--van-padding-md) var(--van-padding-base);--van-share-sheet-title-color: var(--van-text-color);--van-share-sheet-title-font-size: var(--van-font-size-md);--van-share-sheet-title-line-height: var(--van-line-height-md);--van-share-sheet-description-color: var(--van-text-color-2);--van-share-sheet-description-font-size: var(--van-font-size-sm);--van-share-sheet-description-line-height: 16px;--van-share-sheet-icon-size: 48px;--van-share-sheet-option-name-color: var(--van-gray-7);--van-share-sheet-option-name-font-size: var(--van-font-size-sm);--van-share-sheet-option-description-color: var(--van-text-color-3);--van-share-sheet-option-description-font-size: var(--van-font-size-sm);--van-share-sheet-cancel-button-font-size: var(--van-font-size-lg);--van-share-sheet-cancel-button-height: 48px;--van-share-sheet-cancel-button-background: var(--van-background-color-light)}.van-share-sheet__header{padding:var(--van-share-sheet-header-padding);text-align:center}.van-share-sheet__title{margin-top:var(--van-padding-xs);color:var(--van-share-sheet-title-color);font-weight:400;font-size:var(--van-share-sheet-title-font-size);line-height:var(--van-share-sheet-title-line-height)}.van-share-sheet__description{display:block;margin-top:var(--van-padding-xs);color:var(--van-share-sheet-description-color);font-size:var(--van-share-sheet-description-font-size);line-height:var(--van-share-sheet-description-line-height)}.van-share-sheet__options{position:relative;display:flex;padding:var(--van-padding-md) 0 var(--van-padding-md) var(--van-padding-xs);overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:var(--van-padding-md);border-top:1px solid var(--van-border-color);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:flex;flex-direction:column;align-items:center;-webkit-user-select:none;user-select:none}.van-share-sheet__icon{width:var(--van-share-sheet-icon-size);height:var(--van-share-sheet-icon-size);margin:0 var(--van-padding-md)}.van-share-sheet__name{margin-top:var(--van-padding-xs);padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-name-color);font-size:var(--van-share-sheet-option-name-font-size)}.van-share-sheet__option-description{padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-description-color);font-size:var(--van-share-sheet-option-description-font-size)}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:var(--van-share-sheet-cancel-button-font-size);line-height:var(--van-share-sheet-cancel-button-height);text-align:center;background:var(--van-share-sheet-cancel-button-background);border:none;cursor:pointer}.van-share-sheet__cancel:before{display:block;height:var(--van-padding-xs);background-color:var(--van-background-color);content:" "}.van-share-sheet__cancel:active{background-color:var(--van-active-color)}
|
1
|
+
:root{--van-share-sheet-header-padding: var(--van-padding-sm) var(--van-padding-md) var(--van-padding-base);--van-share-sheet-title-color: var(--van-text-color);--van-share-sheet-title-font-size: var(--van-font-size-md);--van-share-sheet-title-line-height: var(--van-line-height-md);--van-share-sheet-description-color: var(--van-text-color-2);--van-share-sheet-description-font-size: var(--van-font-size-sm);--van-share-sheet-description-line-height: 16px;--van-share-sheet-icon-size: 48px;--van-share-sheet-option-name-color: var(--van-gray-7);--van-share-sheet-option-name-font-size: var(--van-font-size-sm);--van-share-sheet-option-description-color: var(--van-text-color-3);--van-share-sheet-option-description-font-size: var(--van-font-size-sm);--van-share-sheet-cancel-button-font-size: var(--van-font-size-lg);--van-share-sheet-cancel-button-height: 48px;--van-share-sheet-cancel-button-background: var(--van-background-color-light)}.van-share-sheet__header{padding:var(--van-share-sheet-header-padding);text-align:center}.van-share-sheet__title{margin-top:var(--van-padding-xs);color:var(--van-share-sheet-title-color);font-weight:400;font-size:var(--van-share-sheet-title-font-size);line-height:var(--van-share-sheet-title-line-height)}.van-share-sheet__description{display:block;margin-top:var(--van-padding-xs);color:var(--van-share-sheet-description-color);font-size:var(--van-share-sheet-description-font-size);line-height:var(--van-share-sheet-description-line-height)}.van-share-sheet__options{position:relative;display:flex;padding:var(--van-padding-md) 0 var(--van-padding-md) var(--van-padding-xs);overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:var(--van-padding-md);border-top:1px solid var(--van-border-color);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:flex;flex-direction:column;align-items:center;-webkit-user-select:none;user-select:none}.van-share-sheet__icon,.van-share-sheet__image-icon{width:var(--van-share-sheet-icon-size);height:var(--van-share-sheet-icon-size);margin:0 var(--van-padding-md)}.van-share-sheet__icon{display:flex;align-items:center;justify-content:center;color:var(--van-gray-7);border-radius:100%;background-color:var(--van-gray-2)}.van-share-sheet__icon--link,.van-share-sheet__icon--poster,.van-share-sheet__icon--qrcode{font-size:26px}.van-share-sheet__icon--weapp-qrcode{font-size:28px}.van-share-sheet__icon--qq,.van-share-sheet__icon--weibo,.van-share-sheet__icon--wechat,.van-share-sheet__icon--wechat-moments{font-size:30px;color:var(--van-white)}.van-share-sheet__icon--qq{background-color:#38b9fa}.van-share-sheet__icon--wechat{background-color:#0bc15f}.van-share-sheet__icon--weibo{background-color:#ee575e}.van-share-sheet__icon--wechat-moments{background-color:#7bc845}.van-share-sheet__name{margin-top:var(--van-padding-xs);padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-name-color);font-size:var(--van-share-sheet-option-name-font-size)}.van-share-sheet__option-description{padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-description-color);font-size:var(--van-share-sheet-option-description-font-size)}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:var(--van-share-sheet-cancel-button-font-size);line-height:var(--van-share-sheet-cancel-button-height);text-align:center;background:var(--van-share-sheet-cancel-button-background);border:none;cursor:pointer}.van-share-sheet__cancel:before{display:block;height:var(--van-padding-xs);background-color:var(--van-background-color);content:" "}.van-share-sheet__cancel:active{background-color:var(--van-active-color)}
|