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
package/vetur/attributes.json
CHANGED
@@ -16,11 +16,8 @@
|
|
16
16
|
"description": "Icon color, Default: `#323233`"
|
17
17
|
},
|
18
18
|
"van-action-bar-icon/icon-class": {
|
19
|
-
"type": "string | Array
|
20
|
-
"description": "Icon class name, Default:
|
21
|
-
"options": [
|
22
|
-
"''"
|
23
|
-
]
|
19
|
+
"type": "string | Array | object",
|
20
|
+
"description": "Icon class name, Default: `''`"
|
24
21
|
},
|
25
22
|
"van-action-bar-icon/icon-prefix": {
|
26
23
|
"type": "string",
|
@@ -36,7 +33,7 @@
|
|
36
33
|
},
|
37
34
|
"van-action-bar-icon/badge-props": {
|
38
35
|
"type": "BadgeProps",
|
39
|
-
"description": "Props of Badge
|
36
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
|
40
37
|
},
|
41
38
|
"van-action-bar-icon/url": {
|
42
39
|
"type": "string",
|
@@ -86,6 +83,86 @@
|
|
86
83
|
"type": "boolean",
|
87
84
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
88
85
|
},
|
86
|
+
"van-action-sheet/v-model:show": {
|
87
|
+
"type": "boolean",
|
88
|
+
"description": "Whether to show ActionSheet, Default: `false`"
|
89
|
+
},
|
90
|
+
"van-action-sheet/actions": {
|
91
|
+
"type": "ActionSheetAction[]",
|
92
|
+
"description": "Options, Default: `[]`"
|
93
|
+
},
|
94
|
+
"van-action-sheet/title": {
|
95
|
+
"type": "string",
|
96
|
+
"description": "Title, Default: -"
|
97
|
+
},
|
98
|
+
"van-action-sheet/cancel-text": {
|
99
|
+
"type": "string",
|
100
|
+
"description": "Text of cancel button, Default: -"
|
101
|
+
},
|
102
|
+
"van-action-sheet/description": {
|
103
|
+
"type": "string",
|
104
|
+
"description": "Description above the options, Default: -"
|
105
|
+
},
|
106
|
+
"van-action-sheet/closeable": {
|
107
|
+
"type": "boolean",
|
108
|
+
"description": "Whether to show close icon, Default: `true`"
|
109
|
+
},
|
110
|
+
"van-action-sheet/close-icon": {
|
111
|
+
"type": "string",
|
112
|
+
"description": "Close icon name, Default: `cross`"
|
113
|
+
},
|
114
|
+
"van-action-sheet/duration": {
|
115
|
+
"type": "number | string",
|
116
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
117
|
+
},
|
118
|
+
"van-action-sheet/round": {
|
119
|
+
"type": "boolean",
|
120
|
+
"description": "Whether to show round corner, Default: `true`"
|
121
|
+
},
|
122
|
+
"van-action-sheet/overlay": {
|
123
|
+
"type": "boolean",
|
124
|
+
"description": "Whether to show overlay, Default: `true`"
|
125
|
+
},
|
126
|
+
"van-action-sheet/overlay-class": {
|
127
|
+
"type": "string | Array | object",
|
128
|
+
"description": "Custom overlay class, Default: -"
|
129
|
+
},
|
130
|
+
"van-action-sheet/overlay-style": {
|
131
|
+
"type": "object",
|
132
|
+
"description": "Custom overlay style, Default: -"
|
133
|
+
},
|
134
|
+
"van-action-sheet/lock-scroll": {
|
135
|
+
"type": "boolean",
|
136
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
137
|
+
},
|
138
|
+
"van-action-sheet/lazy-render": {
|
139
|
+
"type": "boolean",
|
140
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
141
|
+
},
|
142
|
+
"van-action-sheet/close-on-popstate": {
|
143
|
+
"type": "boolean",
|
144
|
+
"description": "Whether to close when popstate, Default: `true`"
|
145
|
+
},
|
146
|
+
"van-action-sheet/close-on-click-action": {
|
147
|
+
"type": "boolean",
|
148
|
+
"description": "Whether to close when an action is clicked, Default: `false`"
|
149
|
+
},
|
150
|
+
"van-action-sheet/close-on-click-overlay": {
|
151
|
+
"type": "boolean",
|
152
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
153
|
+
},
|
154
|
+
"van-action-sheet/safe-area-inset-bottom": {
|
155
|
+
"type": "boolean",
|
156
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
157
|
+
},
|
158
|
+
"van-action-sheet/teleport": {
|
159
|
+
"type": "string | Element",
|
160
|
+
"description": "Specifies a target element where ActionSheet will be mounted, Default: -"
|
161
|
+
},
|
162
|
+
"van-action-sheet/before-close": {
|
163
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
164
|
+
"description": "Callback function before close, Default: -"
|
165
|
+
},
|
89
166
|
"van-address-edit/area-list": {
|
90
167
|
"type": "object",
|
91
168
|
"description": "Area List, Default: -"
|
@@ -174,148 +251,6 @@
|
|
174
251
|
"type": "(key, val) => string",
|
175
252
|
"description": "Custom validator, Default: -"
|
176
253
|
},
|
177
|
-
"van-address-list/v-model": {
|
178
|
-
"type": "string",
|
179
|
-
"description": "Id of chosen address, Default: -"
|
180
|
-
},
|
181
|
-
"van-address-list/list": {
|
182
|
-
"type": "Address[]",
|
183
|
-
"description": "Address list, Default: `[]`"
|
184
|
-
},
|
185
|
-
"van-address-list/disabled-list": {
|
186
|
-
"type": "Address[]",
|
187
|
-
"description": "Disabled address list, Default: `[]`"
|
188
|
-
},
|
189
|
-
"van-address-list/disabled-text": {
|
190
|
-
"type": "string",
|
191
|
-
"description": "Disabled text, Default: -"
|
192
|
-
},
|
193
|
-
"van-address-list/switchable": {
|
194
|
-
"type": "boolean",
|
195
|
-
"description": "Whether to allow switch address, Default: `true`"
|
196
|
-
},
|
197
|
-
"van-address-list/add-button-text": {
|
198
|
-
"type": "string",
|
199
|
-
"description": "Add button text, Default: `Add new address`"
|
200
|
-
},
|
201
|
-
"van-address-list/default-tag-text": {
|
202
|
-
"type": "string",
|
203
|
-
"description": "Default tag text, Default: -"
|
204
|
-
},
|
205
|
-
"van-badge/content": {
|
206
|
-
"type": "number | string",
|
207
|
-
"description": "Badge content, Default: -"
|
208
|
-
},
|
209
|
-
"van-badge/color": {
|
210
|
-
"type": "string",
|
211
|
-
"description": "Background color, Default: `#ee0a24`"
|
212
|
-
},
|
213
|
-
"van-badge/dot": {
|
214
|
-
"type": "boolean",
|
215
|
-
"description": "Whether to show dot, Default: `false`"
|
216
|
-
},
|
217
|
-
"van-badge/max": {
|
218
|
-
"type": "number | string",
|
219
|
-
"description": "Max value,show `{max}+` when exceed,only works when content is number, Default: -"
|
220
|
-
},
|
221
|
-
"van-badge/offset": {
|
222
|
-
"type": "[number | string, number \\",
|
223
|
-
"description": "Offset of badge dot, Default: string]_",
|
224
|
-
"options": [
|
225
|
-
"-"
|
226
|
-
]
|
227
|
-
},
|
228
|
-
"van-badge/show-zero": {
|
229
|
-
"type": "boolean",
|
230
|
-
"description": "Whether to show badge when content is zero, Default: `true`"
|
231
|
-
},
|
232
|
-
"van-badge/position": {
|
233
|
-
"type": "string",
|
234
|
-
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
235
|
-
},
|
236
|
-
"van-action-sheet/v-model:show": {
|
237
|
-
"type": "boolean",
|
238
|
-
"description": "Whether to show ActionSheet, Default: `false`"
|
239
|
-
},
|
240
|
-
"van-action-sheet/actions": {
|
241
|
-
"type": "ActionSheetAction[]",
|
242
|
-
"description": "Options, Default: `[]`"
|
243
|
-
},
|
244
|
-
"van-action-sheet/title": {
|
245
|
-
"type": "string",
|
246
|
-
"description": "Title, Default: -"
|
247
|
-
},
|
248
|
-
"van-action-sheet/cancel-text": {
|
249
|
-
"type": "string",
|
250
|
-
"description": "Text of cancel button, Default: -"
|
251
|
-
},
|
252
|
-
"van-action-sheet/description": {
|
253
|
-
"type": "string",
|
254
|
-
"description": "Description above the options, Default: -"
|
255
|
-
},
|
256
|
-
"van-action-sheet/closeable": {
|
257
|
-
"type": "boolean",
|
258
|
-
"description": "Whether to show close icon, Default: `true`"
|
259
|
-
},
|
260
|
-
"van-action-sheet/close-icon": {
|
261
|
-
"type": "string",
|
262
|
-
"description": "Close icon name, Default: `cross`"
|
263
|
-
},
|
264
|
-
"van-action-sheet/duration": {
|
265
|
-
"type": "number | string",
|
266
|
-
"description": "Transition duration, unit second, Default: `0.3`"
|
267
|
-
},
|
268
|
-
"van-action-sheet/round": {
|
269
|
-
"type": "boolean",
|
270
|
-
"description": "Whether to show round corner, Default: `true`"
|
271
|
-
},
|
272
|
-
"van-action-sheet/overlay": {
|
273
|
-
"type": "boolean",
|
274
|
-
"description": "Whether to show overlay, Default: `true`"
|
275
|
-
},
|
276
|
-
"van-action-sheet/overlay-class": {
|
277
|
-
"type": "string | Array \\",
|
278
|
-
"description": "Custom overlay class, Default: object_",
|
279
|
-
"options": [
|
280
|
-
"-"
|
281
|
-
]
|
282
|
-
},
|
283
|
-
"van-action-sheet/overlay-style": {
|
284
|
-
"type": "object",
|
285
|
-
"description": "Custom overlay style, Default: -"
|
286
|
-
},
|
287
|
-
"van-action-sheet/lock-scroll": {
|
288
|
-
"type": "boolean",
|
289
|
-
"description": "Whether to lock background scroll, Default: `true`"
|
290
|
-
},
|
291
|
-
"van-action-sheet/lazy-render": {
|
292
|
-
"type": "boolean",
|
293
|
-
"description": "Whether to lazy render util appeared, Default: `true`"
|
294
|
-
},
|
295
|
-
"van-action-sheet/close-on-popstate": {
|
296
|
-
"type": "boolean",
|
297
|
-
"description": "Whether to close when popstate, Default: `true`"
|
298
|
-
},
|
299
|
-
"van-action-sheet/close-on-click-action": {
|
300
|
-
"type": "boolean",
|
301
|
-
"description": "Whether to close when an action is clicked, Default: `false`"
|
302
|
-
},
|
303
|
-
"van-action-sheet/close-on-click-overlay": {
|
304
|
-
"type": "boolean",
|
305
|
-
"description": "Whether to close when overlay is clicked, Default: `true`"
|
306
|
-
},
|
307
|
-
"van-action-sheet/safe-area-inset-bottom": {
|
308
|
-
"type": "boolean",
|
309
|
-
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
310
|
-
},
|
311
|
-
"van-action-sheet/teleport": {
|
312
|
-
"type": "string | Element",
|
313
|
-
"description": "Specifies a target element where ActionSheet will be mounted, Default: -"
|
314
|
-
},
|
315
|
-
"van-action-sheet/before-close": {
|
316
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
317
|
-
"description": "Callback function before close, Default: -"
|
318
|
-
},
|
319
254
|
"van-area/value": {
|
320
255
|
"type": "string",
|
321
256
|
"description": "the `code` of selected area, Default: -"
|
@@ -362,12 +297,68 @@
|
|
362
297
|
},
|
363
298
|
"van-area/swipe-duration": {
|
364
299
|
"type": "number | string",
|
365
|
-
"description": "Duration of the momentum animation
|
300
|
+
"description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
|
366
301
|
},
|
367
302
|
"van-area/is-oversea-code": {
|
368
303
|
"type": "() => boolean",
|
369
304
|
"description": "The method to validate oversea code, Default: -"
|
370
305
|
},
|
306
|
+
"van-badge/content": {
|
307
|
+
"type": "number | string",
|
308
|
+
"description": "Badge content, Default: -"
|
309
|
+
},
|
310
|
+
"van-badge/color": {
|
311
|
+
"type": "string",
|
312
|
+
"description": "Background color, Default: `#ee0a24`"
|
313
|
+
},
|
314
|
+
"van-badge/dot": {
|
315
|
+
"type": "boolean",
|
316
|
+
"description": "Whether to show dot, Default: `false`"
|
317
|
+
},
|
318
|
+
"van-badge/max": {
|
319
|
+
"type": "number | string",
|
320
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number, Default: -"
|
321
|
+
},
|
322
|
+
"van-badge/offset": {
|
323
|
+
"type": "[number | string, number | string]",
|
324
|
+
"description": "Offset of badge dot, Default: -"
|
325
|
+
},
|
326
|
+
"van-badge/show-zero": {
|
327
|
+
"type": "boolean",
|
328
|
+
"description": "Whether to show badge when content is zero, Default: `true`"
|
329
|
+
},
|
330
|
+
"van-badge/position": {
|
331
|
+
"type": "string",
|
332
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
333
|
+
},
|
334
|
+
"van-address-list/v-model": {
|
335
|
+
"type": "string",
|
336
|
+
"description": "Id of chosen address, Default: -"
|
337
|
+
},
|
338
|
+
"van-address-list/list": {
|
339
|
+
"type": "Address[]",
|
340
|
+
"description": "Address list, Default: `[]`"
|
341
|
+
},
|
342
|
+
"van-address-list/disabled-list": {
|
343
|
+
"type": "Address[]",
|
344
|
+
"description": "Disabled address list, Default: `[]`"
|
345
|
+
},
|
346
|
+
"van-address-list/disabled-text": {
|
347
|
+
"type": "string",
|
348
|
+
"description": "Disabled text, Default: -"
|
349
|
+
},
|
350
|
+
"van-address-list/switchable": {
|
351
|
+
"type": "boolean",
|
352
|
+
"description": "Whether to allow switch address, Default: `true`"
|
353
|
+
},
|
354
|
+
"van-address-list/add-button-text": {
|
355
|
+
"type": "string",
|
356
|
+
"description": "Add button text, Default: `Add new address`"
|
357
|
+
},
|
358
|
+
"van-address-list/default-tag-text": {
|
359
|
+
"type": "string",
|
360
|
+
"description": "Default tag text, Default: -"
|
361
|
+
},
|
371
362
|
"van-button/type": {
|
372
363
|
"type": "string",
|
373
364
|
"description": "Can be set to `primary` `success` `warning` `danger`, Default: `default`"
|
@@ -454,7 +445,7 @@
|
|
454
445
|
},
|
455
446
|
"van-calendar/type": {
|
456
447
|
"type": "string",
|
457
|
-
"description": "Type
|
448
|
+
"description": "Type, can be set to `range` `multiple`, Default: `single`"
|
458
449
|
},
|
459
450
|
"van-calendar/title": {
|
460
451
|
"type": "string",
|
@@ -473,11 +464,8 @@
|
|
473
464
|
"description": "Max date, Default: Six months after the today"
|
474
465
|
},
|
475
466
|
"van-calendar/default-date": {
|
476
|
-
"type": "Date | Date[]
|
477
|
-
"description": "Default selected date, Default:
|
478
|
-
"options": [
|
479
|
-
"Today"
|
480
|
-
]
|
467
|
+
"type": "Date | Date[] | null",
|
468
|
+
"description": "Default selected date, Default: Today"
|
481
469
|
},
|
482
470
|
"van-calendar/row-height": {
|
483
471
|
"type": "number | string",
|
@@ -617,7 +605,7 @@
|
|
617
605
|
},
|
618
606
|
"van-card/lazy-load": {
|
619
607
|
"type": "boolean",
|
620
|
-
"description": "Whether to enable thumb lazy load
|
608
|
+
"description": "Whether to enable thumb lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
621
609
|
},
|
622
610
|
"van-cascader/title": {
|
623
611
|
"type": "string",
|
@@ -685,7 +673,7 @@
|
|
685
673
|
},
|
686
674
|
"van-cell/size": {
|
687
675
|
"type": "string",
|
688
|
-
"description": "Size
|
676
|
+
"description": "Size, can be set to `large`, Default: -"
|
689
677
|
},
|
690
678
|
"van-cell/icon": {
|
691
679
|
"type": "string",
|
@@ -701,7 +689,7 @@
|
|
701
689
|
},
|
702
690
|
"van-cell/center": {
|
703
691
|
"type": "boolean",
|
704
|
-
"description": "Whether to center content vertically, Default: `
|
692
|
+
"description": "Whether to center content vertically, Default: `false`"
|
705
693
|
},
|
706
694
|
"van-cell/url": {
|
707
695
|
"type": "string",
|
@@ -732,32 +720,20 @@
|
|
732
720
|
"description": "Can be set to `left` `up` `down`, Default: `right`"
|
733
721
|
},
|
734
722
|
"van-cell/title-style": {
|
735
|
-
"type": "string | Array
|
736
|
-
"description": "Title style, Default:
|
737
|
-
"options": [
|
738
|
-
"-"
|
739
|
-
]
|
723
|
+
"type": "string | Array | object",
|
724
|
+
"description": "Title style, Default: -"
|
740
725
|
},
|
741
726
|
"van-cell/title-class": {
|
742
|
-
"type": "string | Array
|
743
|
-
"description": "Title className, Default:
|
744
|
-
"options": [
|
745
|
-
"-"
|
746
|
-
]
|
727
|
+
"type": "string | Array | object",
|
728
|
+
"description": "Title className, Default: -"
|
747
729
|
},
|
748
730
|
"van-cell/value-class": {
|
749
|
-
"type": "string | Array
|
750
|
-
"description": "Value className, Default:
|
751
|
-
"options": [
|
752
|
-
"-"
|
753
|
-
]
|
731
|
+
"type": "string | Array | object",
|
732
|
+
"description": "Value className, Default: -"
|
754
733
|
},
|
755
734
|
"van-cell/label-class": {
|
756
|
-
"type": "string | Array
|
757
|
-
"description": "Label className, Default:
|
758
|
-
"options": [
|
759
|
-
"-"
|
760
|
-
]
|
735
|
+
"type": "string | Array | object",
|
736
|
+
"description": "Label className, Default: -"
|
761
737
|
},
|
762
738
|
"van-checkbox/v-model": {
|
763
739
|
"type": "boolean",
|
@@ -819,38 +795,6 @@
|
|
819
795
|
"type": "string",
|
820
796
|
"description": "Checked color of all checkboxes, Default: `#1989fa`"
|
821
797
|
},
|
822
|
-
"van-row/gutter": {
|
823
|
-
"type": "number | string",
|
824
|
-
"description": "Grid spacing(px), Default: -"
|
825
|
-
},
|
826
|
-
"van-row/tag": {
|
827
|
-
"type": "string",
|
828
|
-
"description": "Custom element tag, Default: `div`"
|
829
|
-
},
|
830
|
-
"van-row/justify": {
|
831
|
-
"type": "string",
|
832
|
-
"description": "Flex main axis,can be set to end/center/space-around/space-between, Default: `start`"
|
833
|
-
},
|
834
|
-
"van-row/align": {
|
835
|
-
"type": "string",
|
836
|
-
"description": "Flex cross axis, be set to center/bottom, Default: `top`"
|
837
|
-
},
|
838
|
-
"van-row/wrap": {
|
839
|
-
"type": "boolean",
|
840
|
-
"description": "Whether to wrap, Default: `true`"
|
841
|
-
},
|
842
|
-
"van-col/span": {
|
843
|
-
"type": "number | string",
|
844
|
-
"description": "number of column the grid spans, Default: -"
|
845
|
-
},
|
846
|
-
"van-col/offset": {
|
847
|
-
"type": "number | string",
|
848
|
-
"description": "number of spacing on the left side of the grid, Default: -"
|
849
|
-
},
|
850
|
-
"van-col/tag": {
|
851
|
-
"type": "string",
|
852
|
-
"description": "Custom element tag, Default: `div`"
|
853
|
-
},
|
854
798
|
"van-circle/v-model:current-rate": {
|
855
799
|
"type": "number",
|
856
800
|
"description": "Current rate, Default: -"
|
@@ -889,7 +833,7 @@
|
|
889
833
|
},
|
890
834
|
"van-circle/stroke-linecap": {
|
891
835
|
"type": "string",
|
892
|
-
"description": "Stroke linecap
|
836
|
+
"description": "Stroke linecap, can be set to `square` `butt`, Default: `round`"
|
893
837
|
},
|
894
838
|
"van-circle/clockwise": {
|
895
839
|
"type": "boolean",
|
@@ -897,14 +841,43 @@
|
|
897
841
|
},
|
898
842
|
"van-circle/start-position": {
|
899
843
|
"type": "CircleStartPosition",
|
900
|
-
"description": "Progress start position
|
844
|
+
"description": "Progress start position, can be set to `left`、`right`、`bottom`, Default: `top`"
|
845
|
+
},
|
846
|
+
"van-row/gutter": {
|
847
|
+
"type": "number | string",
|
848
|
+
"description": "Grid spacing(px), Default: -"
|
849
|
+
},
|
850
|
+
"van-row/tag": {
|
851
|
+
"type": "string",
|
852
|
+
"description": "Custom element tag, Default: `div`"
|
853
|
+
},
|
854
|
+
"van-row/justify": {
|
855
|
+
"type": "string",
|
856
|
+
"description": "Flex main axis, can be set to end/center/space-around/space-between, Default: `start`"
|
857
|
+
},
|
858
|
+
"van-row/align": {
|
859
|
+
"type": "string",
|
860
|
+
"description": "Flex cross axis, be set to center/bottom, Default: `top`"
|
861
|
+
},
|
862
|
+
"van-row/wrap": {
|
863
|
+
"type": "boolean",
|
864
|
+
"description": "Whether to wrap, Default: `true`"
|
865
|
+
},
|
866
|
+
"van-col/span": {
|
867
|
+
"type": "number | string",
|
868
|
+
"description": "number of column the grid spans, Default: -"
|
869
|
+
},
|
870
|
+
"van-col/offset": {
|
871
|
+
"type": "number | string",
|
872
|
+
"description": "number of spacing on the left side of the grid, Default: -"
|
873
|
+
},
|
874
|
+
"van-col/tag": {
|
875
|
+
"type": "string",
|
876
|
+
"description": "Custom element tag, Default: `div`"
|
901
877
|
},
|
902
878
|
"van-collapse/v-model": {
|
903
|
-
"type": "accordion mode
|
904
|
-
"description": "Names of current active panels, Default:
|
905
|
-
"options": [
|
906
|
-
"-"
|
907
|
-
]
|
879
|
+
"type": "accordion mode: _number | string_<br>non-accordion mode: _(number | string)[]",
|
880
|
+
"description": "Names of current active panels, Default: -"
|
908
881
|
},
|
909
882
|
"van-collapse/accordion": {
|
910
883
|
"type": "boolean",
|
@@ -924,7 +897,7 @@
|
|
924
897
|
},
|
925
898
|
"van-collapse-item/size": {
|
926
899
|
"type": "string",
|
927
|
-
"description": "Title size
|
900
|
+
"description": "Title size, can be set to `large`, Default: -"
|
928
901
|
},
|
929
902
|
"van-collapse-item/title": {
|
930
903
|
"type": "number | string",
|
@@ -998,21 +971,9 @@
|
|
998
971
|
"type": "string",
|
999
972
|
"description": "Add card text, Default: `Add contact info`"
|
1000
973
|
},
|
1001
|
-
"van-contact-
|
1002
|
-
"type": "
|
1003
|
-
"description": "
|
1004
|
-
},
|
1005
|
-
"van-contact-list/list": {
|
1006
|
-
"type": "Contact[]",
|
1007
|
-
"description": "Contact list, Default: `[]`"
|
1008
|
-
},
|
1009
|
-
"van-contact-list/add-text": {
|
1010
|
-
"type": "string",
|
1011
|
-
"description": "Add button text, Default: `Add new contact`"
|
1012
|
-
},
|
1013
|
-
"van-contact-list/default-tag-text": {
|
1014
|
-
"type": "string",
|
1015
|
-
"description": "Default tag text, Default: -"
|
974
|
+
"van-contact-card/editable": {
|
975
|
+
"type": "boolean",
|
976
|
+
"description": "Whether to allow editing of contacts, Default: `true`"
|
1016
977
|
},
|
1017
978
|
"van-contact-edit/contact-info": {
|
1018
979
|
"type": "Contact",
|
@@ -1042,6 +1003,22 @@
|
|
1042
1003
|
"type": "string",
|
1043
1004
|
"description": "default contact switch label, Default: -"
|
1044
1005
|
},
|
1006
|
+
"van-contact-list/v-model": {
|
1007
|
+
"type": "number | string",
|
1008
|
+
"description": "Id of chosen contact, Default: -"
|
1009
|
+
},
|
1010
|
+
"van-contact-list/list": {
|
1011
|
+
"type": "Contact[]",
|
1012
|
+
"description": "Contact list, Default: `[]`"
|
1013
|
+
},
|
1014
|
+
"van-contact-list/add-text": {
|
1015
|
+
"type": "string",
|
1016
|
+
"description": "Add button text, Default: `Add new contact`"
|
1017
|
+
},
|
1018
|
+
"van-contact-list/default-tag-text": {
|
1019
|
+
"type": "string",
|
1020
|
+
"description": "Default tag text, Default: -"
|
1021
|
+
},
|
1045
1022
|
"van-count-down/time": {
|
1046
1023
|
"type": "number | string",
|
1047
1024
|
"description": "Total time, unit milliseconds, Default: `0`"
|
@@ -1134,17 +1111,93 @@
|
|
1134
1111
|
"type": "string",
|
1135
1112
|
"description": "Input placeholder, Default: `Coupon code`"
|
1136
1113
|
},
|
1137
|
-
"van-coupon-list/currency": {
|
1138
|
-
"type": "string",
|
1139
|
-
"description": "Currency symbol, Default: `¥`"
|
1114
|
+
"van-coupon-list/currency": {
|
1115
|
+
"type": "string",
|
1116
|
+
"description": "Currency symbol, Default: `¥`"
|
1117
|
+
},
|
1118
|
+
"van-coupon-list/empty-image": {
|
1119
|
+
"type": "string",
|
1120
|
+
"description": "Placeholder image when list is empty, Default: -"
|
1121
|
+
},
|
1122
|
+
"van-coupon-list/show-count": {
|
1123
|
+
"type": "boolean",
|
1124
|
+
"description": "Whether to show coupon count in tab title, Default: `true`"
|
1125
|
+
},
|
1126
|
+
"van-datetime-picker/type": {
|
1127
|
+
"type": "string",
|
1128
|
+
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`, Default: `datetime`"
|
1129
|
+
},
|
1130
|
+
"van-datetime-picker/title": {
|
1131
|
+
"type": "string",
|
1132
|
+
"description": "Toolbar title, Default: `''`"
|
1133
|
+
},
|
1134
|
+
"van-datetime-picker/confirm-button-text": {
|
1135
|
+
"type": "string",
|
1136
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
1137
|
+
},
|
1138
|
+
"van-datetime-picker/cancel-button-text": {
|
1139
|
+
"type": "string",
|
1140
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
1141
|
+
},
|
1142
|
+
"van-datetime-picker/show-toolbar": {
|
1143
|
+
"type": "boolean",
|
1144
|
+
"description": "Whether to show toolbar, Default: `true`"
|
1145
|
+
},
|
1146
|
+
"van-datetime-picker/loading": {
|
1147
|
+
"type": "boolean",
|
1148
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
1149
|
+
},
|
1150
|
+
"van-datetime-picker/readonly": {
|
1151
|
+
"type": "boolean",
|
1152
|
+
"description": "Whether to be readonly, Default: `false`"
|
1153
|
+
},
|
1154
|
+
"van-datetime-picker/filter": {
|
1155
|
+
"type": "(type: string, values: string[]) => string[]",
|
1156
|
+
"description": "Option filter, Default: -"
|
1157
|
+
},
|
1158
|
+
"van-datetime-picker/formatter": {
|
1159
|
+
"type": "(type: string, value: string) => string",
|
1160
|
+
"description": "Option text formatter, Default: -"
|
1161
|
+
},
|
1162
|
+
"van-datetime-picker/columns-order": {
|
1163
|
+
"type": "string[]",
|
1164
|
+
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`, Default: -"
|
1165
|
+
},
|
1166
|
+
"van-datetime-picker/item-height": {
|
1167
|
+
"type": "number | string",
|
1168
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
1169
|
+
},
|
1170
|
+
"van-datetime-picker/visible-item-count": {
|
1171
|
+
"type": "number | string",
|
1172
|
+
"description": "Count of visible columns, Default: `6`"
|
1173
|
+
},
|
1174
|
+
"van-datetime-picker/swipe-duration": {
|
1175
|
+
"type": "number | string",
|
1176
|
+
"description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
|
1177
|
+
},
|
1178
|
+
"van-date-picker/min-date": {
|
1179
|
+
"type": "Date",
|
1180
|
+
"description": "Min date, Default: Ten years ago on January 1"
|
1181
|
+
},
|
1182
|
+
"van-date-picker/max-date": {
|
1183
|
+
"type": "Date",
|
1184
|
+
"description": "Max date, Default: Ten years later on December 31"
|
1185
|
+
},
|
1186
|
+
"van-time-picker/min-hour": {
|
1187
|
+
"type": "number | string",
|
1188
|
+
"description": "Min hour for `time` type, Default: `0`"
|
1140
1189
|
},
|
1141
|
-
"van-
|
1142
|
-
"type": "string",
|
1143
|
-
"description": "
|
1190
|
+
"van-time-picker/max-hour": {
|
1191
|
+
"type": "number | string",
|
1192
|
+
"description": "Max hour for `time` type, Default: `23`"
|
1144
1193
|
},
|
1145
|
-
"van-
|
1146
|
-
"type": "
|
1147
|
-
"description": "
|
1194
|
+
"van-time-picker/min-minute": {
|
1195
|
+
"type": "number | string",
|
1196
|
+
"description": "Max minute for `time` type, Default: `0`"
|
1197
|
+
},
|
1198
|
+
"van-time-picker/max-minute": {
|
1199
|
+
"type": "number | string",
|
1200
|
+
"description": "Max minute for `time` type, Default: `59`"
|
1148
1201
|
},
|
1149
1202
|
"van-dialog/v-model:show": {
|
1150
1203
|
"type": "boolean",
|
@@ -1164,11 +1217,11 @@
|
|
1164
1217
|
},
|
1165
1218
|
"van-dialog/message-align": {
|
1166
1219
|
"type": "string",
|
1167
|
-
"description": "Message align
|
1220
|
+
"description": "Message align, can be set to `left` `right`, Default: `center`"
|
1168
1221
|
},
|
1169
1222
|
"van-dialog/theme": {
|
1170
1223
|
"type": "string",
|
1171
|
-
"description": "Theme style
|
1224
|
+
"description": "Theme style, can be set to `round-button`, Default: `default`"
|
1172
1225
|
},
|
1173
1226
|
"van-dialog/show-confirm-button": {
|
1174
1227
|
"type": "boolean",
|
@@ -1238,12 +1291,80 @@
|
|
1238
1291
|
"type": "string | Element",
|
1239
1292
|
"description": "Specifies a target element where Dialog will be mounted, Default: -"
|
1240
1293
|
},
|
1294
|
+
"van-divider/dashed": {
|
1295
|
+
"type": "boolean",
|
1296
|
+
"description": "Whether to use dashed border, Default: `false`"
|
1297
|
+
},
|
1298
|
+
"van-divider/hairline": {
|
1299
|
+
"type": "boolean",
|
1300
|
+
"description": "Whether to use hairline, Default: `true`"
|
1301
|
+
},
|
1302
|
+
"van-divider/content-position": {
|
1303
|
+
"type": "string",
|
1304
|
+
"description": "Content position, can be set to `left` `right`, Default: `center`"
|
1305
|
+
},
|
1306
|
+
"van-dropdown-menu/active-color": {
|
1307
|
+
"type": "string",
|
1308
|
+
"description": "Active color of title and option, Default: `#ee0a24`"
|
1309
|
+
},
|
1310
|
+
"van-dropdown-menu/direction": {
|
1311
|
+
"type": "string",
|
1312
|
+
"description": "Expand direction, can be set to `up`, Default: `down`"
|
1313
|
+
},
|
1314
|
+
"van-dropdown-menu/z-index": {
|
1315
|
+
"type": "number | string",
|
1316
|
+
"description": "z-index of menu item, Default: `10`"
|
1317
|
+
},
|
1318
|
+
"van-dropdown-menu/duration": {
|
1319
|
+
"type": "number | string",
|
1320
|
+
"description": "Transition duration, unit second, Default: `0.2`"
|
1321
|
+
},
|
1322
|
+
"van-dropdown-menu/overlay": {
|
1323
|
+
"type": "boolean",
|
1324
|
+
"description": "Whether to show overlay, Default: `true`"
|
1325
|
+
},
|
1326
|
+
"van-dropdown-menu/close-on-click-overlay": {
|
1327
|
+
"type": "boolean",
|
1328
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
1329
|
+
},
|
1330
|
+
"van-dropdown-menu/close-on-click-outside": {
|
1331
|
+
"type": "boolean",
|
1332
|
+
"description": "Whether to close when outside is clicked, Default: `true`"
|
1333
|
+
},
|
1334
|
+
"van-dropdown-item/v-model": {
|
1335
|
+
"type": "number | string",
|
1336
|
+
"description": "Value of current option, Default: -"
|
1337
|
+
},
|
1338
|
+
"van-dropdown-item/title": {
|
1339
|
+
"type": "string",
|
1340
|
+
"description": "Item title, Default: Text of selected option"
|
1341
|
+
},
|
1342
|
+
"van-dropdown-item/options": {
|
1343
|
+
"type": "Option[]",
|
1344
|
+
"description": "Options, Default: `[]`"
|
1345
|
+
},
|
1346
|
+
"van-dropdown-item/disabled": {
|
1347
|
+
"type": "boolean",
|
1348
|
+
"description": "Whether to disable dropdown item, Default: `false`"
|
1349
|
+
},
|
1350
|
+
"van-dropdown-item/lazy-render": {
|
1351
|
+
"type": "boolean",
|
1352
|
+
"description": "Whether to lazy render util opened, Default: `true`"
|
1353
|
+
},
|
1354
|
+
"van-dropdown-item/title-class": {
|
1355
|
+
"type": "string | Array | object",
|
1356
|
+
"description": "Title class, Default: -"
|
1357
|
+
},
|
1358
|
+
"van-dropdown-item/teleport": {
|
1359
|
+
"type": "string | Element",
|
1360
|
+
"description": "Specifies a target element where DropdownItem will be mounted, Default: -"
|
1361
|
+
},
|
1241
1362
|
"van-empty/image": {
|
1242
1363
|
"type": "string",
|
1243
|
-
"description": "Image type
|
1364
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL, Default: `default`"
|
1244
1365
|
},
|
1245
1366
|
"van-empty/image-size": {
|
1246
|
-
"type": "number | string",
|
1367
|
+
"type": "number | string | Array",
|
1247
1368
|
"description": "Image size, Default: -"
|
1248
1369
|
},
|
1249
1370
|
"van-empty/description": {
|
@@ -1272,7 +1393,7 @@
|
|
1272
1393
|
},
|
1273
1394
|
"van-field/size": {
|
1274
1395
|
"type": "string",
|
1275
|
-
"description": "Size
|
1396
|
+
"description": "Size, can be set to `large`, Default: -"
|
1276
1397
|
},
|
1277
1398
|
"van-field/maxlength": {
|
1278
1399
|
"type": "number | string",
|
@@ -1352,18 +1473,15 @@
|
|
1352
1473
|
},
|
1353
1474
|
"van-field/format-trigger": {
|
1354
1475
|
"type": "FieldFormatTrigger",
|
1355
|
-
"description": "When to format value
|
1476
|
+
"description": "When to format value, can be set to `onBlur`, Default: `onChange`"
|
1356
1477
|
},
|
1357
1478
|
"van-field/arrow-direction": {
|
1358
1479
|
"type": "string",
|
1359
1480
|
"description": "Can be set to `left` `up` `down`, Default: `right`"
|
1360
1481
|
},
|
1361
1482
|
"van-field/label-class": {
|
1362
|
-
"type": "string | Array
|
1363
|
-
"description": "Label className, Default:
|
1364
|
-
"options": [
|
1365
|
-
"-"
|
1366
|
-
]
|
1483
|
+
"type": "string | Array | object",
|
1484
|
+
"description": "Label className, Default: -"
|
1367
1485
|
},
|
1368
1486
|
"van-field/label-width": {
|
1369
1487
|
"type": "number | string",
|
@@ -1379,7 +1497,7 @@
|
|
1379
1497
|
},
|
1380
1498
|
"van-field/autosize": {
|
1381
1499
|
"type": "boolean | FieldAutosizeConfig",
|
1382
|
-
"description": "Textarea auto resize
|
1500
|
+
"description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
|
1383
1501
|
},
|
1384
1502
|
"van-field/left-icon": {
|
1385
1503
|
"type": "string",
|
@@ -1399,154 +1517,11 @@
|
|
1399
1517
|
},
|
1400
1518
|
"van-field/autocomplete": {
|
1401
1519
|
"type": "string",
|
1402
|
-
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
1403
|
-
},
|
1404
|
-
"van-dropdown-menu/active-color": {
|
1405
|
-
"type": "string",
|
1406
|
-
"description": "Active color of title and option, Default: `#ee0a24`"
|
1407
|
-
},
|
1408
|
-
"van-dropdown-menu/direction": {
|
1409
|
-
"type": "string",
|
1410
|
-
"description": "Expand direction, can be set to `up`, Default: `down`"
|
1411
|
-
},
|
1412
|
-
"van-dropdown-menu/z-index": {
|
1413
|
-
"type": "number | string",
|
1414
|
-
"description": "z-index of menu item, Default: `10`"
|
1415
|
-
},
|
1416
|
-
"van-dropdown-menu/duration": {
|
1417
|
-
"type": "number | string",
|
1418
|
-
"description": "Transition duration, unit second, Default: `0.2`"
|
1419
|
-
},
|
1420
|
-
"van-dropdown-menu/overlay": {
|
1421
|
-
"type": "boolean",
|
1422
|
-
"description": "Whether to show overlay, Default: `true`"
|
1423
|
-
},
|
1424
|
-
"van-dropdown-menu/close-on-click-overlay": {
|
1425
|
-
"type": "boolean",
|
1426
|
-
"description": "Whether to close when overlay is clicked, Default: `true`"
|
1427
|
-
},
|
1428
|
-
"van-dropdown-menu/close-on-click-outside": {
|
1429
|
-
"type": "boolean",
|
1430
|
-
"description": "Whether to close when outside is clicked, Default: `true`"
|
1431
|
-
},
|
1432
|
-
"van-dropdown-item/v-model": {
|
1433
|
-
"type": "number | string",
|
1434
|
-
"description": "Value of current option, Default: -"
|
1435
|
-
},
|
1436
|
-
"van-dropdown-item/title": {
|
1437
|
-
"type": "string",
|
1438
|
-
"description": "Item title, Default: Text of selected option"
|
1439
|
-
},
|
1440
|
-
"van-dropdown-item/options": {
|
1441
|
-
"type": "Option[]",
|
1442
|
-
"description": "Options, Default: `[]`"
|
1443
|
-
},
|
1444
|
-
"van-dropdown-item/disabled": {
|
1445
|
-
"type": "boolean",
|
1446
|
-
"description": "Whether to disable dropdown item, Default: `false`"
|
1447
|
-
},
|
1448
|
-
"van-dropdown-item/lazy-render": {
|
1449
|
-
"type": "boolean",
|
1450
|
-
"description": "Whether to lazy render util opened, Default: `true`"
|
1451
|
-
},
|
1452
|
-
"van-dropdown-item/title-class": {
|
1453
|
-
"type": "string | Array \\",
|
1454
|
-
"description": "Title class, Default: object_",
|
1455
|
-
"options": [
|
1456
|
-
"-"
|
1457
|
-
]
|
1458
|
-
},
|
1459
|
-
"van-dropdown-item/teleport": {
|
1460
|
-
"type": "string | Element",
|
1461
|
-
"description": "Specifies a target element where DropdownItem will be mounted, Default: -"
|
1462
|
-
},
|
1463
|
-
"van-datetime-picker/type": {
|
1464
|
-
"type": "string",
|
1465
|
-
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`, Default: `datetime`"
|
1466
|
-
},
|
1467
|
-
"van-datetime-picker/title": {
|
1468
|
-
"type": "string",
|
1469
|
-
"description": "Toolbar title, Default: `''`"
|
1470
|
-
},
|
1471
|
-
"van-datetime-picker/confirm-button-text": {
|
1472
|
-
"type": "string",
|
1473
|
-
"description": "Text of confirm button, Default: `Confirm`"
|
1474
|
-
},
|
1475
|
-
"van-datetime-picker/cancel-button-text": {
|
1476
|
-
"type": "string",
|
1477
|
-
"description": "Text of cancel button, Default: `Cancel`"
|
1478
|
-
},
|
1479
|
-
"van-datetime-picker/show-toolbar": {
|
1480
|
-
"type": "boolean",
|
1481
|
-
"description": "Whether to show toolbar, Default: `true`"
|
1482
|
-
},
|
1483
|
-
"van-datetime-picker/loading": {
|
1484
|
-
"type": "boolean",
|
1485
|
-
"description": "Whether to show loading prompt, Default: `false`"
|
1486
|
-
},
|
1487
|
-
"van-datetime-picker/readonly": {
|
1488
|
-
"type": "boolean",
|
1489
|
-
"description": "Whether to be readonly, Default: `false`"
|
1490
|
-
},
|
1491
|
-
"van-datetime-picker/filter": {
|
1492
|
-
"type": "(type: string, values: string[]) => string[]",
|
1493
|
-
"description": "Option filter, Default: -"
|
1494
|
-
},
|
1495
|
-
"van-datetime-picker/formatter": {
|
1496
|
-
"type": "(type: string, value: string) => string",
|
1497
|
-
"description": "Option text formatter, Default: -"
|
1498
|
-
},
|
1499
|
-
"van-datetime-picker/columns-order": {
|
1500
|
-
"type": "string[]",
|
1501
|
-
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`, Default: -"
|
1502
|
-
},
|
1503
|
-
"van-datetime-picker/item-height": {
|
1504
|
-
"type": "number | string",
|
1505
|
-
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
1506
|
-
},
|
1507
|
-
"van-datetime-picker/visible-item-count": {
|
1508
|
-
"type": "number | string",
|
1509
|
-
"description": "Count of visible columns, Default: `6`"
|
1520
|
+
"description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), Default: -"
|
1510
1521
|
},
|
1511
|
-
"van-
|
1512
|
-
"type": "number | string",
|
1513
|
-
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
1514
|
-
},
|
1515
|
-
"van-date-picker/min-date": {
|
1516
|
-
"type": "Date",
|
1517
|
-
"description": "Min date, Default: Ten years ago on January 1"
|
1518
|
-
},
|
1519
|
-
"van-date-picker/max-date": {
|
1520
|
-
"type": "Date",
|
1521
|
-
"description": "Max date, Default: Ten years later on December 31"
|
1522
|
-
},
|
1523
|
-
"van-time-picker/min-hour": {
|
1524
|
-
"type": "number | string",
|
1525
|
-
"description": "Min hour for `time` type, Default: `0`"
|
1526
|
-
},
|
1527
|
-
"van-time-picker/max-hour": {
|
1528
|
-
"type": "number | string",
|
1529
|
-
"description": "Max hour for `time` type, Default: `23`"
|
1530
|
-
},
|
1531
|
-
"van-time-picker/min-minute": {
|
1532
|
-
"type": "number | string",
|
1533
|
-
"description": "Max minute for `time` type, Default: `0`"
|
1534
|
-
},
|
1535
|
-
"van-time-picker/max-minute": {
|
1536
|
-
"type": "number | string",
|
1537
|
-
"description": "Max minute for `time` type, Default: `59`"
|
1538
|
-
},
|
1539
|
-
"van-divider/dashed": {
|
1540
|
-
"type": "boolean",
|
1541
|
-
"description": "Whether to use dashed border, Default: `false`"
|
1542
|
-
},
|
1543
|
-
"van-divider/hairline": {
|
1544
|
-
"type": "boolean",
|
1545
|
-
"description": "Whether to use hairline, Default: `true`"
|
1546
|
-
},
|
1547
|
-
"van-divider/content-position": {
|
1522
|
+
"van-field/enterkeyhint": {
|
1548
1523
|
"type": "string",
|
1549
|
-
"description": "
|
1524
|
+
"description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>, Default: -"
|
1550
1525
|
},
|
1551
1526
|
"van-form/label-width": {
|
1552
1527
|
"type": "number | string",
|
@@ -1565,8 +1540,8 @@
|
|
1565
1540
|
"description": "Error message align, can be set to `center` `right`, Default: `left`"
|
1566
1541
|
},
|
1567
1542
|
"van-form/validate-trigger": {
|
1568
|
-
"type": "string",
|
1569
|
-
"description": "When to validate the form
|
1543
|
+
"type": "string | string[]",
|
1544
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values, Default: `onBlur`"
|
1570
1545
|
},
|
1571
1546
|
"van-form/colon": {
|
1572
1547
|
"type": "boolean",
|
@@ -1656,25 +1631,57 @@
|
|
1656
1631
|
"type": "boolean",
|
1657
1632
|
"description": "Whether to show red dot, Default: `false`"
|
1658
1633
|
},
|
1659
|
-
"van-grid-item/badge": {
|
1634
|
+
"van-grid-item/badge": {
|
1635
|
+
"type": "number | string",
|
1636
|
+
"description": "Content of the badge, Default: -"
|
1637
|
+
},
|
1638
|
+
"van-grid-item/badge-props": {
|
1639
|
+
"type": "BadgeProps",
|
1640
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
|
1641
|
+
},
|
1642
|
+
"van-grid-item/url": {
|
1643
|
+
"type": "string",
|
1644
|
+
"description": "Link URL, Default: -"
|
1645
|
+
},
|
1646
|
+
"van-grid-item/to": {
|
1647
|
+
"type": "string | object",
|
1648
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
1649
|
+
},
|
1650
|
+
"van-grid-item/replace": {
|
1651
|
+
"type": "boolean",
|
1652
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
1653
|
+
},
|
1654
|
+
"van-icon/name": {
|
1655
|
+
"type": "string",
|
1656
|
+
"description": "Icon name or URL, Default: `''`"
|
1657
|
+
},
|
1658
|
+
"van-icon/dot": {
|
1659
|
+
"type": "boolean",
|
1660
|
+
"description": "Whether to show red dot, Default: `false`"
|
1661
|
+
},
|
1662
|
+
"van-icon/badge": {
|
1660
1663
|
"type": "number | string",
|
1661
|
-
"description": "Content of the badge, Default:
|
1664
|
+
"description": "Content of the badge, Default: `''`"
|
1662
1665
|
},
|
1663
|
-
"van-
|
1666
|
+
"van-icon/badge-props": {
|
1664
1667
|
"type": "BadgeProps",
|
1665
|
-
"description": "Props of Badge
|
1668
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
|
1666
1669
|
},
|
1667
|
-
"van-
|
1670
|
+
"van-icon/color": {
|
1668
1671
|
"type": "string",
|
1669
|
-
"description": "
|
1672
|
+
"description": "Icon color, Default: `inherit`"
|
1670
1673
|
},
|
1671
|
-
"van-
|
1672
|
-
"type": "
|
1673
|
-
"description": "
|
1674
|
+
"van-icon/size": {
|
1675
|
+
"type": "number | string",
|
1676
|
+
"description": "Icon size, Default: `inherit`"
|
1674
1677
|
},
|
1675
|
-
"van-
|
1676
|
-
"type": "
|
1677
|
-
"description": "
|
1678
|
+
"van-icon/class-prefix": {
|
1679
|
+
"type": "string",
|
1680
|
+
"description": "ClassName prefix, Default: `van-icon`"
|
1681
|
+
},
|
1682
|
+
"van-icon/tag": {
|
1683
|
+
"type": "string",
|
1684
|
+
"description": "HTML Tag of root element, Default: `i`"
|
1678
1685
|
},
|
1679
1686
|
"van-image/src": {
|
1680
1687
|
"type": "string",
|
@@ -1710,7 +1717,7 @@
|
|
1710
1717
|
},
|
1711
1718
|
"van-image/lazy-load": {
|
1712
1719
|
"type": "boolean",
|
1713
|
-
"description": "Whether to enable lazy load
|
1720
|
+
"description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
1714
1721
|
},
|
1715
1722
|
"van-image/show-error": {
|
1716
1723
|
"type": "boolean",
|
@@ -1736,38 +1743,6 @@
|
|
1736
1743
|
"type": "string",
|
1737
1744
|
"description": "Icon className prefix, Default: `van-icon`"
|
1738
1745
|
},
|
1739
|
-
"van-icon/name": {
|
1740
|
-
"type": "string",
|
1741
|
-
"description": "Icon name or URL, Default: `''`"
|
1742
|
-
},
|
1743
|
-
"van-icon/dot": {
|
1744
|
-
"type": "boolean",
|
1745
|
-
"description": "Whether to show red dot, Default: `false`"
|
1746
|
-
},
|
1747
|
-
"van-icon/badge": {
|
1748
|
-
"type": "number | string",
|
1749
|
-
"description": "Content of the badge, Default: `''`"
|
1750
|
-
},
|
1751
|
-
"van-icon/badge-props": {
|
1752
|
-
"type": "BadgeProps",
|
1753
|
-
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
1754
|
-
},
|
1755
|
-
"van-icon/color": {
|
1756
|
-
"type": "string",
|
1757
|
-
"description": "Icon color, Default: `inherit`"
|
1758
|
-
},
|
1759
|
-
"van-icon/size": {
|
1760
|
-
"type": "number | string",
|
1761
|
-
"description": "Icon size, Default: `inherit`"
|
1762
|
-
},
|
1763
|
-
"van-icon/class-prefix": {
|
1764
|
-
"type": "string",
|
1765
|
-
"description": "ClassName prefix, Default: `van-icon`"
|
1766
|
-
},
|
1767
|
-
"van-icon/tag": {
|
1768
|
-
"type": "string",
|
1769
|
-
"description": "HTML Tag of root element, Default: `i`"
|
1770
|
-
},
|
1771
1746
|
"van-image-preview/v-model:show": {
|
1772
1747
|
"type": "boolean",
|
1773
1748
|
"description": "Whether to show ImagePreview, Default: `false`"
|
@@ -1805,11 +1780,8 @@
|
|
1805
1780
|
"description": "Whether to close when popstate, Default: `true`"
|
1806
1781
|
},
|
1807
1782
|
"van-image-preview/class-name": {
|
1808
|
-
"type": "string | Array
|
1809
|
-
"description": "Custom className, Default:
|
1810
|
-
"options": [
|
1811
|
-
"-"
|
1812
|
-
]
|
1783
|
+
"type": "string | Array | object",
|
1784
|
+
"description": "Custom className, Default: -"
|
1813
1785
|
},
|
1814
1786
|
"van-image-preview/max-zoom": {
|
1815
1787
|
"type": "number | string",
|
@@ -1829,18 +1801,15 @@
|
|
1829
1801
|
},
|
1830
1802
|
"van-image-preview/close-icon-position": {
|
1831
1803
|
"type": "string",
|
1832
|
-
"description": "Close icon position
|
1804
|
+
"description": "Close icon position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
1833
1805
|
},
|
1834
1806
|
"van-image-preview/transition": {
|
1835
1807
|
"type": "string",
|
1836
1808
|
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: `van-fade`"
|
1837
1809
|
},
|
1838
1810
|
"van-image-preview/overlay-class": {
|
1839
|
-
"type": "string | Array
|
1840
|
-
"description": "Custom overlay class, Default:
|
1841
|
-
"options": [
|
1842
|
-
"-"
|
1843
|
-
]
|
1811
|
+
"type": "string | Array | object",
|
1812
|
+
"description": "Custom overlay class, Default: -"
|
1844
1813
|
},
|
1845
1814
|
"van-image-preview/overlay-style": {
|
1846
1815
|
"type": "object",
|
@@ -1878,41 +1847,17 @@
|
|
1878
1847
|
"type": "number | string",
|
1879
1848
|
"description": "Index, Default: -"
|
1880
1849
|
},
|
1881
|
-
"van-loading/color": {
|
1882
|
-
"type": "string",
|
1883
|
-
"description": "Loading color, Default: `#c9c9c9`"
|
1884
|
-
},
|
1885
|
-
"van-loading/type": {
|
1886
|
-
"type": "string",
|
1887
|
-
"description": "Can be set to `spinner`, Default: `circular`"
|
1888
|
-
},
|
1889
|
-
"van-loading/size": {
|
1890
|
-
"type": "number | string",
|
1891
|
-
"description": "Icon size, Default: `30px`"
|
1892
|
-
},
|
1893
|
-
"van-loading/text-size": {
|
1894
|
-
"type": "number | string",
|
1895
|
-
"description": "Text font size, Default: `14px`"
|
1896
|
-
},
|
1897
|
-
"van-loading/text-color": {
|
1898
|
-
"type": "string",
|
1899
|
-
"description": "Text color, Default: `#c9c9c9`"
|
1900
|
-
},
|
1901
|
-
"van-loading/vertical": {
|
1902
|
-
"type": "boolean",
|
1903
|
-
"description": "Whether to arrange icons and text content vertically, Default: `false`"
|
1904
|
-
},
|
1905
1850
|
"van-list/v-model:loading": {
|
1906
1851
|
"type": "boolean",
|
1907
|
-
"description": "Whether to show loading info
|
1852
|
+
"description": "Whether to show loading info, the `load` event will not be Emitted when loading, Default: `false`"
|
1908
1853
|
},
|
1909
1854
|
"van-list/v-model:error": {
|
1910
1855
|
"type": "boolean",
|
1911
|
-
"description": "Whether loading is error
|
1856
|
+
"description": "Whether loading is error, the `load` event will be Emitted only when error text clicked, Default: `false`"
|
1912
1857
|
},
|
1913
1858
|
"van-list/finished": {
|
1914
1859
|
"type": "boolean",
|
1915
|
-
"description": "Whether loading is finished
|
1860
|
+
"description": "Whether loading is finished, the `load` event will not be Emitted when finished, Default: `false`"
|
1916
1861
|
},
|
1917
1862
|
"van-list/offset": {
|
1918
1863
|
"type": "number | string",
|
@@ -1936,7 +1881,31 @@
|
|
1936
1881
|
},
|
1937
1882
|
"van-list/direction": {
|
1938
1883
|
"type": "string",
|
1939
|
-
"description": "Scroll direction
|
1884
|
+
"description": "Scroll direction, can be set to `up`, Default: `down`"
|
1885
|
+
},
|
1886
|
+
"van-loading/color": {
|
1887
|
+
"type": "string",
|
1888
|
+
"description": "Loading color, Default: `#c9c9c9`"
|
1889
|
+
},
|
1890
|
+
"van-loading/type": {
|
1891
|
+
"type": "string",
|
1892
|
+
"description": "Can be set to `spinner`, Default: `circular`"
|
1893
|
+
},
|
1894
|
+
"van-loading/size": {
|
1895
|
+
"type": "number | string",
|
1896
|
+
"description": "Icon size, Default: `30px`"
|
1897
|
+
},
|
1898
|
+
"van-loading/text-size": {
|
1899
|
+
"type": "number | string",
|
1900
|
+
"description": "Text font size, Default: `14px`"
|
1901
|
+
},
|
1902
|
+
"van-loading/text-color": {
|
1903
|
+
"type": "string",
|
1904
|
+
"description": "Text color, Default: `#c9c9c9`"
|
1905
|
+
},
|
1906
|
+
"van-loading/vertical": {
|
1907
|
+
"type": "boolean",
|
1908
|
+
"description": "Whether to arrange icons and text content vertically, Default: `false`"
|
1940
1909
|
},
|
1941
1910
|
"van-nav-bar/title": {
|
1942
1911
|
"type": "string",
|
@@ -2010,70 +1979,6 @@
|
|
2010
1979
|
"type": "boolean",
|
2011
1980
|
"description": "Whether to enable text wrap, Default: `false`"
|
2012
1981
|
},
|
2013
|
-
"van-pagination/v-model": {
|
2014
|
-
"type": "number",
|
2015
|
-
"description": "Current page number, Default: -"
|
2016
|
-
},
|
2017
|
-
"van-pagination/mode": {
|
2018
|
-
"type": "string",
|
2019
|
-
"description": "Mode, can be set to `simple` `multi`, Default: `multi`"
|
2020
|
-
},
|
2021
|
-
"van-pagination/prev-text": {
|
2022
|
-
"type": "string",
|
2023
|
-
"description": "Previous text, Default: `Previous`"
|
2024
|
-
},
|
2025
|
-
"van-pagination/next-text": {
|
2026
|
-
"type": "string",
|
2027
|
-
"description": "Next text, Default: `Next`"
|
2028
|
-
},
|
2029
|
-
"van-pagination/total-items": {
|
2030
|
-
"type": "number | string",
|
2031
|
-
"description": "Total items, Default: `0`"
|
2032
|
-
},
|
2033
|
-
"van-pagination/items-per-page": {
|
2034
|
-
"type": "number | string",
|
2035
|
-
"description": "Item number per page, Default: `10`"
|
2036
|
-
},
|
2037
|
-
"van-pagination/page-count": {
|
2038
|
-
"type": "number | string",
|
2039
|
-
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
|
2040
|
-
},
|
2041
|
-
"van-pagination/show-page-size": {
|
2042
|
-
"type": "number | string",
|
2043
|
-
"description": "Count of page size to show, Default: `5`"
|
2044
|
-
},
|
2045
|
-
"van-pagination/force-ellipses": {
|
2046
|
-
"type": "boolean",
|
2047
|
-
"description": "Whether to show ellipses, Default: `false`"
|
2048
|
-
},
|
2049
|
-
"van-overlay/show": {
|
2050
|
-
"type": "boolean",
|
2051
|
-
"description": "Whether to show overlay, Default: `false`"
|
2052
|
-
},
|
2053
|
-
"van-overlay/z-index": {
|
2054
|
-
"type": "number | string",
|
2055
|
-
"description": "z-index, Default: `1`"
|
2056
|
-
},
|
2057
|
-
"van-overlay/duration": {
|
2058
|
-
"type": "number | string",
|
2059
|
-
"description": "Animation duration, Default: `0.3`"
|
2060
|
-
},
|
2061
|
-
"van-overlay/class-name": {
|
2062
|
-
"type": "string",
|
2063
|
-
"description": "ClassName, Default: -"
|
2064
|
-
},
|
2065
|
-
"van-overlay/custom-class": {
|
2066
|
-
"type": "object",
|
2067
|
-
"description": "Custom style, Default: -"
|
2068
|
-
},
|
2069
|
-
"van-overlay/lock-scroll": {
|
2070
|
-
"type": "boolean",
|
2071
|
-
"description": "Whether to lock background scroll, Default: `true`"
|
2072
|
-
},
|
2073
|
-
"van-overlay/lazy-render": {
|
2074
|
-
"type": "boolean",
|
2075
|
-
"description": "Whether to lazy render util appeared, Default: `true`"
|
2076
|
-
},
|
2077
1982
|
"van-number-keyboard/v-model": {
|
2078
1983
|
"type": "string",
|
2079
1984
|
"description": "Current value, Default: -"
|
@@ -2088,7 +1993,7 @@
|
|
2088
1993
|
},
|
2089
1994
|
"van-number-keyboard/theme": {
|
2090
1995
|
"type": "string",
|
2091
|
-
"description": "Keyboard theme
|
1996
|
+
"description": "Keyboard theme, can be set to `custom`, Default: `default`"
|
2092
1997
|
},
|
2093
1998
|
"van-number-keyboard/maxlength": {
|
2094
1999
|
"type": "number | string",
|
@@ -2142,85 +2047,97 @@
|
|
2142
2047
|
"type": "boolean",
|
2143
2048
|
"description": "Whether to shuffle the order of keys, Default: `false`"
|
2144
2049
|
},
|
2145
|
-
"van-
|
2146
|
-
"type": "
|
2147
|
-
"description": "
|
2148
|
-
},
|
2149
|
-
"van-password-input/info": {
|
2150
|
-
"type": "string",
|
2151
|
-
"description": "Bottom info, Default: -"
|
2152
|
-
},
|
2153
|
-
"van-password-input/error-info": {
|
2154
|
-
"type": "string",
|
2155
|
-
"description": "Bottom error info, Default: -"
|
2050
|
+
"van-overlay/show": {
|
2051
|
+
"type": "boolean",
|
2052
|
+
"description": "Whether to show overlay, Default: `false`"
|
2156
2053
|
},
|
2157
|
-
"van-
|
2054
|
+
"van-overlay/z-index": {
|
2158
2055
|
"type": "number | string",
|
2159
|
-
"description": "
|
2056
|
+
"description": "z-index, Default: `1`"
|
2160
2057
|
},
|
2161
|
-
"van-
|
2058
|
+
"van-overlay/duration": {
|
2162
2059
|
"type": "number | string",
|
2163
|
-
"description": "
|
2060
|
+
"description": "Animation duration, Default: `0.3`"
|
2164
2061
|
},
|
2165
|
-
"van-
|
2166
|
-
"type": "
|
2167
|
-
"description": "
|
2062
|
+
"van-overlay/class-name": {
|
2063
|
+
"type": "string",
|
2064
|
+
"description": "ClassName, Default: -"
|
2168
2065
|
},
|
2169
|
-
"van-
|
2066
|
+
"van-overlay/custom-class": {
|
2067
|
+
"type": "object",
|
2068
|
+
"description": "Custom style, Default: -"
|
2069
|
+
},
|
2070
|
+
"van-overlay/lock-scroll": {
|
2170
2071
|
"type": "boolean",
|
2171
|
-
"description": "Whether to
|
2072
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
2172
2073
|
},
|
2173
|
-
"van-
|
2174
|
-
"type": "
|
2175
|
-
"description": "
|
2074
|
+
"van-overlay/lazy-render": {
|
2075
|
+
"type": "boolean",
|
2076
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
2176
2077
|
},
|
2177
|
-
"van-
|
2178
|
-
"type": "
|
2179
|
-
"description": "
|
2078
|
+
"van-pagination/v-model": {
|
2079
|
+
"type": "number",
|
2080
|
+
"description": "Current page number, Default: -"
|
2180
2081
|
},
|
2181
|
-
"van-
|
2082
|
+
"van-pagination/mode": {
|
2182
2083
|
"type": "string",
|
2183
|
-
"description": "
|
2084
|
+
"description": "Mode, can be set to `simple` `multi`, Default: `multi`"
|
2184
2085
|
},
|
2185
|
-
"van-
|
2086
|
+
"van-pagination/prev-text": {
|
2186
2087
|
"type": "string",
|
2187
|
-
"description": "
|
2088
|
+
"description": "Previous text, Default: `Previous`"
|
2188
2089
|
},
|
2189
|
-
"van-
|
2090
|
+
"van-pagination/next-text": {
|
2190
2091
|
"type": "string",
|
2191
|
-
"description": "
|
2092
|
+
"description": "Next text, Default: `Next`"
|
2192
2093
|
},
|
2193
|
-
"van-
|
2194
|
-
"type": "string",
|
2195
|
-
"description": "
|
2094
|
+
"van-pagination/total-items": {
|
2095
|
+
"type": "number | string",
|
2096
|
+
"description": "Total items, Default: `0`"
|
2196
2097
|
},
|
2197
|
-
"van-
|
2098
|
+
"van-pagination/items-per-page": {
|
2099
|
+
"type": "number | string",
|
2100
|
+
"description": "Item number per page, Default: `10`"
|
2101
|
+
},
|
2102
|
+
"van-pagination/page-count": {
|
2103
|
+
"type": "number | string",
|
2104
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
|
2105
|
+
},
|
2106
|
+
"van-pagination/show-page-size": {
|
2107
|
+
"type": "number | string",
|
2108
|
+
"description": "Count of page size to show, Default: `5`"
|
2109
|
+
},
|
2110
|
+
"van-pagination/force-ellipses": {
|
2198
2111
|
"type": "boolean",
|
2199
|
-
"description": "Whether to show
|
2112
|
+
"description": "Whether to show ellipses, Default: `false`"
|
2113
|
+
},
|
2114
|
+
"van-password-input/value": {
|
2115
|
+
"type": "string",
|
2116
|
+
"description": "Password value, Default: `''`"
|
2200
2117
|
},
|
2201
|
-
"van-
|
2202
|
-
"type": "
|
2203
|
-
"description": "
|
2118
|
+
"van-password-input/info": {
|
2119
|
+
"type": "string",
|
2120
|
+
"description": "Bottom info, Default: -"
|
2204
2121
|
},
|
2205
|
-
"van-
|
2206
|
-
"type": "
|
2207
|
-
"description": "
|
2122
|
+
"van-password-input/error-info": {
|
2123
|
+
"type": "string",
|
2124
|
+
"description": "Bottom error info, Default: -"
|
2208
2125
|
},
|
2209
|
-
"van-
|
2126
|
+
"van-password-input/length": {
|
2210
2127
|
"type": "number | string",
|
2211
|
-
"description": "
|
2128
|
+
"description": "Maxlength of password, Default: `6`"
|
2212
2129
|
},
|
2213
|
-
"van-
|
2130
|
+
"van-password-input/gutter": {
|
2214
2131
|
"type": "number | string",
|
2215
|
-
"description": "
|
2132
|
+
"description": "Gutter of input, Default: `0`"
|
2216
2133
|
},
|
2217
|
-
"van-
|
2218
|
-
"type": "
|
2219
|
-
"description": "
|
2134
|
+
"van-password-input/mask": {
|
2135
|
+
"type": "boolean",
|
2136
|
+
"description": "Whether to mask value, Default: `true`"
|
2220
2137
|
},
|
2221
|
-
"van-
|
2222
|
-
"type": "
|
2223
|
-
"description": "
|
2138
|
+
"van-password-input/focused": {
|
2139
|
+
"type": "boolean",
|
2140
|
+
"description": "Whether to show focused cursor, Default: `false`"
|
2224
2141
|
},
|
2225
2142
|
"van-popover/v-model:show": {
|
2226
2143
|
"type": "boolean",
|
@@ -2236,11 +2153,11 @@
|
|
2236
2153
|
},
|
2237
2154
|
"van-popover/theme": {
|
2238
2155
|
"type": "PopoverTheme",
|
2239
|
-
"description": "Theme
|
2156
|
+
"description": "Theme, can be set to `dark`, Default: `light`"
|
2240
2157
|
},
|
2241
2158
|
"van-popover/trigger": {
|
2242
2159
|
"type": "PopoverTrigger",
|
2243
|
-
"description": "Trigger mode
|
2160
|
+
"description": "Trigger mode, can be set to `manual`, Default: `click`"
|
2244
2161
|
},
|
2245
2162
|
"van-popover/duration": {
|
2246
2163
|
"type": "number | string",
|
@@ -2255,11 +2172,8 @@
|
|
2255
2172
|
"description": "Whether to show overlay, Default: `false`"
|
2256
2173
|
},
|
2257
2174
|
"van-popover/overlay-class": {
|
2258
|
-
"type": "string | Array
|
2259
|
-
"description": "Custom overlay class, Default:
|
2260
|
-
"options": [
|
2261
|
-
"-"
|
2262
|
-
]
|
2175
|
+
"type": "string | Array | object",
|
2176
|
+
"description": "Custom overlay class, Default: -"
|
2263
2177
|
},
|
2264
2178
|
"van-popover/overlay-style": {
|
2265
2179
|
"type": "object",
|
@@ -2289,41 +2203,57 @@
|
|
2289
2203
|
"type": "string",
|
2290
2204
|
"description": "Icon className prefix, Default: `van-icon`"
|
2291
2205
|
},
|
2292
|
-
"van-
|
2293
|
-
"type": "
|
2294
|
-
"description": "
|
2206
|
+
"van-picker/columns": {
|
2207
|
+
"type": "Column[]",
|
2208
|
+
"description": "Columns data, Default: `[]`"
|
2295
2209
|
},
|
2296
|
-
"van-
|
2297
|
-
"type": "
|
2298
|
-
"description": "
|
2210
|
+
"van-picker/columns-field-names": {
|
2211
|
+
"type": "object",
|
2212
|
+
"description": "custom columns field, Default: `{ text: 'text', values: 'values', children: 'children' }`"
|
2299
2213
|
},
|
2300
|
-
"van-
|
2214
|
+
"van-picker/title": {
|
2301
2215
|
"type": "string",
|
2302
|
-
"description": "
|
2216
|
+
"description": "Toolbar title, Default: -"
|
2303
2217
|
},
|
2304
|
-
"van-
|
2218
|
+
"van-picker/confirm-button-text": {
|
2305
2219
|
"type": "string",
|
2306
|
-
"description": "
|
2220
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
2307
2221
|
},
|
2308
|
-
"van-
|
2222
|
+
"van-picker/cancel-button-text": {
|
2309
2223
|
"type": "string",
|
2310
|
-
"description": "
|
2224
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
2311
2225
|
},
|
2312
|
-
"van-
|
2226
|
+
"van-picker/toolbar-position": {
|
2313
2227
|
"type": "string",
|
2314
|
-
"description": "
|
2228
|
+
"description": "Toolbar position, cat be set to `bottom`, Default: `top`"
|
2315
2229
|
},
|
2316
|
-
"van-
|
2317
|
-
"type": "
|
2318
|
-
"description": "
|
2230
|
+
"van-picker/loading": {
|
2231
|
+
"type": "boolean",
|
2232
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
2319
2233
|
},
|
2320
|
-
"van-
|
2234
|
+
"van-picker/show-toolbar": {
|
2321
2235
|
"type": "boolean",
|
2322
|
-
"description": "Whether to
|
2236
|
+
"description": "Whether to show toolbar, Default: `true`"
|
2323
2237
|
},
|
2324
|
-
"van-
|
2238
|
+
"van-picker/allow-html": {
|
2325
2239
|
"type": "boolean",
|
2326
|
-
"description": "Whether to
|
2240
|
+
"description": "Whether to allow HTML in option text, Default: `false`"
|
2241
|
+
},
|
2242
|
+
"van-picker/default-index": {
|
2243
|
+
"type": "number | string",
|
2244
|
+
"description": "Default value index of single column picker, Default: `0`"
|
2245
|
+
},
|
2246
|
+
"van-picker/item-height": {
|
2247
|
+
"type": "number | string",
|
2248
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
2249
|
+
},
|
2250
|
+
"van-picker/visible-item-count": {
|
2251
|
+
"type": "number | string",
|
2252
|
+
"description": "Count of visible columns, Default: `6`"
|
2253
|
+
},
|
2254
|
+
"van-picker/swipe-duration": {
|
2255
|
+
"type": "number | string",
|
2256
|
+
"description": "Duration of the momentum animation, unit `ms`, Default: `1000`"
|
2327
2257
|
},
|
2328
2258
|
"van-popup/v-model:show": {
|
2329
2259
|
"type": "boolean",
|
@@ -2338,11 +2268,8 @@
|
|
2338
2268
|
"description": "Can be set to `top` `bottom` `right` `left`, Default: `center`"
|
2339
2269
|
},
|
2340
2270
|
"van-popup/overlay-class": {
|
2341
|
-
"type": "string | Array
|
2342
|
-
"description": "Custom overlay class, Default:
|
2343
|
-
"options": [
|
2344
|
-
"-"
|
2345
|
-
]
|
2271
|
+
"type": "string | Array | object",
|
2272
|
+
"description": "Custom overlay class, Default: -"
|
2346
2273
|
},
|
2347
2274
|
"van-popup/overlay-style": {
|
2348
2275
|
"type": "object",
|
@@ -2382,7 +2309,7 @@
|
|
2382
2309
|
},
|
2383
2310
|
"van-popup/close-icon-position": {
|
2384
2311
|
"type": "string",
|
2385
|
-
"description": "Close Icon Position
|
2312
|
+
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
2386
2313
|
},
|
2387
2314
|
"van-popup/before-close": {
|
2388
2315
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
@@ -2412,6 +2339,82 @@
|
|
2412
2339
|
"type": "boolean",
|
2413
2340
|
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
2414
2341
|
},
|
2342
|
+
"van-progress/percentage": {
|
2343
|
+
"type": "number | string",
|
2344
|
+
"description": "Percentage, Default: `0`"
|
2345
|
+
},
|
2346
|
+
"van-progress/stroke-width": {
|
2347
|
+
"type": "number | string",
|
2348
|
+
"description": "Stroke width, Default: `4px`"
|
2349
|
+
},
|
2350
|
+
"van-progress/color": {
|
2351
|
+
"type": "string",
|
2352
|
+
"description": "Color, Default: `#1989fa`"
|
2353
|
+
},
|
2354
|
+
"van-progress/track-color": {
|
2355
|
+
"type": "string",
|
2356
|
+
"description": "Track color, Default: `#e5e5e5`"
|
2357
|
+
},
|
2358
|
+
"van-progress/pivot-text": {
|
2359
|
+
"type": "string",
|
2360
|
+
"description": "Pivot text, Default: percentage"
|
2361
|
+
},
|
2362
|
+
"van-progress/pivot-color": {
|
2363
|
+
"type": "string",
|
2364
|
+
"description": "Pivot text background color, Default: inherit progress color"
|
2365
|
+
},
|
2366
|
+
"van-progress/text-color": {
|
2367
|
+
"type": "string",
|
2368
|
+
"description": "Pivot text color, Default: `white`"
|
2369
|
+
},
|
2370
|
+
"van-progress/inactive": {
|
2371
|
+
"type": "boolean",
|
2372
|
+
"description": "Whether to be gray, Default: `false`"
|
2373
|
+
},
|
2374
|
+
"van-progress/show-pivot": {
|
2375
|
+
"type": "boolean",
|
2376
|
+
"description": "Whether to show text, Default: `true`"
|
2377
|
+
},
|
2378
|
+
"van-pull-refresh/v-model": {
|
2379
|
+
"type": "boolean",
|
2380
|
+
"description": "Loading status, Default: -"
|
2381
|
+
},
|
2382
|
+
"van-pull-refresh/pulling-text": {
|
2383
|
+
"type": "string",
|
2384
|
+
"description": "Text to show when pulling, Default: `Pull to refresh...`"
|
2385
|
+
},
|
2386
|
+
"van-pull-refresh/loosing-text": {
|
2387
|
+
"type": "string",
|
2388
|
+
"description": "Text to show when loosing, Default: `Loose to refresh...`"
|
2389
|
+
},
|
2390
|
+
"van-pull-refresh/loading-text": {
|
2391
|
+
"type": "string",
|
2392
|
+
"description": "Text to show when loading, Default: `Loading...`"
|
2393
|
+
},
|
2394
|
+
"van-pull-refresh/success-text": {
|
2395
|
+
"type": "string",
|
2396
|
+
"description": "Text to show when loading success, Default: -"
|
2397
|
+
},
|
2398
|
+
"van-pull-refresh/success-duration": {
|
2399
|
+
"type": "number | string",
|
2400
|
+
"description": "Success text display duration(ms), Default: `500`"
|
2401
|
+
},
|
2402
|
+
"van-pull-refresh/animation-duration": {
|
2403
|
+
"type": "number | string",
|
2404
|
+
"description": "Animation duration, Default: `300`"
|
2405
|
+
},
|
2406
|
+
"van-pull-refresh/head-height": {
|
2407
|
+
"type": "number | string",
|
2408
|
+
"description": "Height of head, Default: `50`"
|
2409
|
+
},
|
2410
|
+
"van-pull-refresh/pull-distance": {
|
2411
|
+
"type": "number | string",
|
2412
|
+
"description": "The distance to trigger the pull refresh, Default: same as `head-height`"
|
2413
|
+
},
|
2414
|
+
"van-pull-refresh/disabled": {
|
2415
|
+
"type": "boolean",
|
2416
|
+
"description": "Whether to disable pull refresh, Default: `false`"
|
2417
|
+
},
|
2415
2418
|
"van-radio/name": {
|
2416
2419
|
"type": "any",
|
2417
2420
|
"description": "Radio name, Default: -"
|
@@ -2516,46 +2519,6 @@
|
|
2516
2519
|
"type": "boolean",
|
2517
2520
|
"description": "Whether to allow select rate by touch gesture, Default: `true`"
|
2518
2521
|
},
|
2519
|
-
"van-pull-refresh/v-model": {
|
2520
|
-
"type": "boolean",
|
2521
|
-
"description": "Loading status, Default: -"
|
2522
|
-
},
|
2523
|
-
"van-pull-refresh/pulling-text": {
|
2524
|
-
"type": "string",
|
2525
|
-
"description": "Text to show when pulling, Default: `Pull to refresh...`"
|
2526
|
-
},
|
2527
|
-
"van-pull-refresh/loosing-text": {
|
2528
|
-
"type": "string",
|
2529
|
-
"description": "Text to show when loosing, Default: `Loose to refresh...`"
|
2530
|
-
},
|
2531
|
-
"van-pull-refresh/loading-text": {
|
2532
|
-
"type": "string",
|
2533
|
-
"description": "Text to show when loading, Default: `Loading...`"
|
2534
|
-
},
|
2535
|
-
"van-pull-refresh/success-text": {
|
2536
|
-
"type": "string",
|
2537
|
-
"description": "Text to show when loading success, Default: -"
|
2538
|
-
},
|
2539
|
-
"van-pull-refresh/success-duration": {
|
2540
|
-
"type": "number | string",
|
2541
|
-
"description": "Success text display duration(ms), Default: `500`"
|
2542
|
-
},
|
2543
|
-
"van-pull-refresh/animation-duration": {
|
2544
|
-
"type": "number | string",
|
2545
|
-
"description": "Animation duration, Default: `300`"
|
2546
|
-
},
|
2547
|
-
"van-pull-refresh/head-height": {
|
2548
|
-
"type": "number | string",
|
2549
|
-
"description": "Height of head, Default: `50`"
|
2550
|
-
},
|
2551
|
-
"van-pull-refresh/pull-distance": {
|
2552
|
-
"type": "number | string",
|
2553
|
-
"description": "The distance to trigger the pull refresh, Default: same as `head-height`"
|
2554
|
-
},
|
2555
|
-
"van-pull-refresh/disabled": {
|
2556
|
-
"type": "boolean",
|
2557
|
-
"description": "Whether to disable pull refresh, Default: `false`"
|
2558
|
-
},
|
2559
2522
|
"van-search/v-model": {
|
2560
2523
|
"type": "number | string",
|
2561
2524
|
"description": "Input value, Default: -"
|
@@ -2634,7 +2597,7 @@
|
|
2634
2597
|
},
|
2635
2598
|
"van-search/format-trigger": {
|
2636
2599
|
"type": "string",
|
2637
|
-
"description": "When to format value
|
2600
|
+
"description": "When to format value, can be set to `onBlur`, Default: `onChange`"
|
2638
2601
|
},
|
2639
2602
|
"van-search/input-align": {
|
2640
2603
|
"type": "string",
|
@@ -2685,11 +2648,8 @@
|
|
2685
2648
|
"description": "Whether to show overlay, Default: `true`"
|
2686
2649
|
},
|
2687
2650
|
"van-share-sheet/overlay-class": {
|
2688
|
-
"type": "string | Array
|
2689
|
-
"description": "Custom overlay class, Default:
|
2690
|
-
"options": [
|
2691
|
-
"-"
|
2692
|
-
]
|
2651
|
+
"type": "string | Array | object",
|
2652
|
+
"description": "Custom overlay class, Default: -"
|
2693
2653
|
},
|
2694
2654
|
"van-share-sheet/overlay-style": {
|
2695
2655
|
"type": "object",
|
@@ -2741,7 +2701,7 @@
|
|
2741
2701
|
},
|
2742
2702
|
"van-sidebar-item/badge-props": {
|
2743
2703
|
"type": "BadgeProps",
|
2744
|
-
"description": "Props of Badge
|
2704
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
|
2745
2705
|
},
|
2746
2706
|
"van-sidebar-item/disabled": {
|
2747
2707
|
"type": "boolean",
|
@@ -2764,11 +2724,8 @@
|
|
2764
2724
|
"description": "Row count, Default: `0`"
|
2765
2725
|
},
|
2766
2726
|
"van-skeleton/row-width": {
|
2767
|
-
"type": "number | string
|
2768
|
-
"description": "Row width, can be array, Default:
|
2769
|
-
"options": [
|
2770
|
-
"string)[]_"
|
2771
|
-
]
|
2727
|
+
"type": "number | string |<br>(number | string)[]",
|
2728
|
+
"description": "Row width, can be array, Default: `100%`"
|
2772
2729
|
},
|
2773
2730
|
"van-skeleton/title": {
|
2774
2731
|
"type": "boolean",
|
@@ -2780,7 +2737,7 @@
|
|
2780
2737
|
},
|
2781
2738
|
"van-skeleton/loading": {
|
2782
2739
|
"type": "boolean",
|
2783
|
-
"description": "Whether to show skeleton
|
2740
|
+
"description": "Whether to show skeleton, pass `false` to show child component, Default: `true`"
|
2784
2741
|
},
|
2785
2742
|
"van-skeleton/animate": {
|
2786
2743
|
"type": "boolean",
|
@@ -2800,7 +2757,7 @@
|
|
2800
2757
|
},
|
2801
2758
|
"van-skeleton/avatar-shape": {
|
2802
2759
|
"type": "string",
|
2803
|
-
"description": "Shape of avatar placeholder
|
2760
|
+
"description": "Shape of avatar placeholder, can be set to `square`, Default: `round`"
|
2804
2761
|
},
|
2805
2762
|
"van-slider/v-model": {
|
2806
2763
|
"type": "number | [number, number]",
|
@@ -2919,11 +2876,8 @@
|
|
2919
2876
|
"description": "Whether to disable input, Default: `false`"
|
2920
2877
|
},
|
2921
2878
|
"van-stepper/before-change": {
|
2922
|
-
"type": "(value: number | string) => boolean
|
2923
|
-
"description": "Callback function before changing
|
2924
|
-
"options": [
|
2925
|
-
"false"
|
2926
|
-
]
|
2879
|
+
"type": "(value: number | string) => boolean | Promise\\<boolean\\>",
|
2880
|
+
"description": "Callback function before changing, return `false` to prevent change, support return Promise, Default: `false`"
|
2927
2881
|
},
|
2928
2882
|
"van-stepper/show-plus": {
|
2929
2883
|
"type": "boolean",
|
@@ -2939,11 +2893,11 @@
|
|
2939
2893
|
},
|
2940
2894
|
"van-stepper/long-press": {
|
2941
2895
|
"type": "boolean",
|
2942
|
-
"description": "Whether to
|
2896
|
+
"description": "Whether to enable the long press gesture, when enabled you can long press the increase and decrease buttons, Default: `true`"
|
2943
2897
|
},
|
2944
2898
|
"van-stepper/allow-empty": {
|
2945
2899
|
"type": "boolean",
|
2946
|
-
"description": "Whether to allow the input to be empty, Default: `false`"
|
2900
|
+
"description": "Whether to allow the input value to be empty, set to `true` to allow an empty string to be passed in, Default: `false`"
|
2947
2901
|
},
|
2948
2902
|
"van-steps/active": {
|
2949
2903
|
"type": "number | string",
|
@@ -3007,7 +2961,7 @@
|
|
3007
2961
|
},
|
3008
2962
|
"van-submit-bar/label": {
|
3009
2963
|
"type": "string",
|
3010
|
-
"description": "Price left label, Default: `Total
|
2964
|
+
"description": "Price left label, Default: `Total: `"
|
3011
2965
|
},
|
3012
2966
|
"van-submit-bar/suffix-label": {
|
3013
2967
|
"type": "string",
|
@@ -3101,6 +3055,30 @@
|
|
3101
3055
|
"type": "string",
|
3102
3056
|
"description": "Indicator color, Default: `#1989fa`"
|
3103
3057
|
},
|
3058
|
+
"van-swipe-cell/name": {
|
3059
|
+
"type": "number | string",
|
3060
|
+
"description": "Identifier of SwipeCell, Default: -"
|
3061
|
+
},
|
3062
|
+
"van-swipe-cell/left-width": {
|
3063
|
+
"type": "number | string",
|
3064
|
+
"description": "Width of the left swipe area, Default: `auto`"
|
3065
|
+
},
|
3066
|
+
"van-swipe-cell/right-width": {
|
3067
|
+
"type": "number | string",
|
3068
|
+
"description": "Width of the right swipe area, Default: `auto`"
|
3069
|
+
},
|
3070
|
+
"van-swipe-cell/before-close": {
|
3071
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3072
|
+
"description": "Callback function before close, Default: -"
|
3073
|
+
},
|
3074
|
+
"van-swipe-cell/disabled": {
|
3075
|
+
"type": "boolean",
|
3076
|
+
"description": "Whether to disabled swipe, Default: `false`"
|
3077
|
+
},
|
3078
|
+
"van-swipe-cell/stop-propagation": {
|
3079
|
+
"type": "boolean",
|
3080
|
+
"description": "Whether to stop touchmove event propagation, Default: `false`"
|
3081
|
+
},
|
3104
3082
|
"van-switch/v-model": {
|
3105
3083
|
"type": "ActiveValue | InactiveValue",
|
3106
3084
|
"description": "Check status of Switch, Default: `false`"
|
@@ -3133,30 +3111,6 @@
|
|
3133
3111
|
"type": "any",
|
3134
3112
|
"description": "Value when inactive, Default: `false`"
|
3135
3113
|
},
|
3136
|
-
"van-swipe-cell/name": {
|
3137
|
-
"type": "number | string",
|
3138
|
-
"description": "Identifier of SwipeCell, Default: -"
|
3139
|
-
},
|
3140
|
-
"van-swipe-cell/left-width": {
|
3141
|
-
"type": "number | string",
|
3142
|
-
"description": "Width of the left swipe area, Default: `auto`"
|
3143
|
-
},
|
3144
|
-
"van-swipe-cell/right-width": {
|
3145
|
-
"type": "number | string",
|
3146
|
-
"description": "Width of the right swipe area, Default: `auto`"
|
3147
|
-
},
|
3148
|
-
"van-swipe-cell/before-close": {
|
3149
|
-
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3150
|
-
"description": "Callback function before close, Default: -"
|
3151
|
-
},
|
3152
|
-
"van-swipe-cell/disabled": {
|
3153
|
-
"type": "boolean",
|
3154
|
-
"description": "Whether to disabled swipe, Default: `false`"
|
3155
|
-
},
|
3156
|
-
"van-swipe-cell/stop-propagation": {
|
3157
|
-
"type": "boolean",
|
3158
|
-
"description": "Whether to stop touchmove event propagation, Default: `false`"
|
3159
|
-
},
|
3160
3114
|
"van-tabs/v-model:active": {
|
3161
3115
|
"type": "number | string",
|
3162
3116
|
"description": "Index of active tab, Default: `0`"
|
@@ -3234,11 +3188,8 @@
|
|
3234
3188
|
"description": "Title inactive color, Default: -"
|
3235
3189
|
},
|
3236
3190
|
"van-tabs/before-change": {
|
3237
|
-
"type": "(name: number | string) => boolean
|
3238
|
-
"description": "Callback function before changing tabs
|
3239
|
-
"options": [
|
3240
|
-
"-"
|
3241
|
-
]
|
3191
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
3192
|
+
"description": "Callback function before changing tabs, return `false` to prevent change, support return Promise, Default: -"
|
3242
3193
|
},
|
3243
3194
|
"van-tab/title": {
|
3244
3195
|
"type": "string",
|
@@ -3273,18 +3224,12 @@
|
|
3273
3224
|
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
3274
3225
|
},
|
3275
3226
|
"van-tab/title-style": {
|
3276
|
-
"type": "string | Array
|
3277
|
-
"description": "Custom title style, Default:
|
3278
|
-
"options": [
|
3279
|
-
"-"
|
3280
|
-
]
|
3227
|
+
"type": "string | Array | object",
|
3228
|
+
"description": "Custom title style, Default: -"
|
3281
3229
|
},
|
3282
3230
|
"van-tab/title-class": {
|
3283
|
-
"type": "string | Array
|
3284
|
-
"description": "Custom title class name, Default:
|
3285
|
-
"options": [
|
3286
|
-
"-"
|
3287
|
-
]
|
3231
|
+
"type": "string | Array | object",
|
3232
|
+
"description": "Custom title class name, Default: -"
|
3288
3233
|
},
|
3289
3234
|
"van-tab/show-zero-badge": {
|
3290
3235
|
"type": "boolean",
|
@@ -3327,11 +3272,8 @@
|
|
3327
3272
|
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
3328
3273
|
},
|
3329
3274
|
"van-tabbar/before-change": {
|
3330
|
-
"type": "(name: number | string) => boolean
|
3331
|
-
"description": "Callback function before changing tab
|
3332
|
-
"options": [
|
3333
|
-
"-"
|
3334
|
-
]
|
3275
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
3276
|
+
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise, Default: -"
|
3335
3277
|
},
|
3336
3278
|
"van-tabbar-item/name": {
|
3337
3279
|
"type": "number | string",
|
@@ -3355,7 +3297,7 @@
|
|
3355
3297
|
},
|
3356
3298
|
"van-tabbar-item/badge-props": {
|
3357
3299
|
"type": "BadgeProps",
|
3358
|
-
"description": "Props of Badge
|
3300
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props), Default: -"
|
3359
3301
|
},
|
3360
3302
|
"van-tabbar-item/url": {
|
3361
3303
|
"type": "string",
|
@@ -3418,11 +3360,8 @@
|
|
3418
3360
|
"description": "The index of selected parent node, Default: `0`"
|
3419
3361
|
},
|
3420
3362
|
"van-tree-select/active-id": {
|
3421
|
-
"type": "number | string
|
3422
|
-
"description": "Id of selected item, Default:
|
3423
|
-
"options": [
|
3424
|
-
"string)[]_"
|
3425
|
-
]
|
3363
|
+
"type": "number | string |<br>(number | string)[]",
|
3364
|
+
"description": "Id of selected item, Default: `0`"
|
3426
3365
|
},
|
3427
3366
|
"van-tree-select/max": {
|
3428
3367
|
"type": "number | string",
|
@@ -3445,11 +3384,8 @@
|
|
3445
3384
|
"description": "Input name, Default: -"
|
3446
3385
|
},
|
3447
3386
|
"van-uploader/preview-size": {
|
3448
|
-
"type": "number | string
|
3449
|
-
"description": "Size of preview image, Default:
|
3450
|
-
"options": [
|
3451
|
-
"80px"
|
3452
|
-
]
|
3387
|
+
"type": "number | string | Array",
|
3388
|
+
"description": "Size of preview image, Default: `80px`"
|
3453
3389
|
},
|
3454
3390
|
"van-uploader/preview-image": {
|
3455
3391
|
"type": "boolean",
|
@@ -3461,7 +3397,7 @@
|
|
3461
3397
|
},
|
3462
3398
|
"van-uploader/preview-options": {
|
3463
3399
|
"type": "object",
|
3464
|
-
"description": "Options of full screen image preview
|
3400
|
+
"description": "Options of full screen image preview, see [ImagePreview](#/en-US/image-preview), Default: -"
|
3465
3401
|
},
|
3466
3402
|
"van-uploader/multiple": {
|
3467
3403
|
"type": "boolean",
|
@@ -3485,11 +3421,11 @@
|
|
3485
3421
|
},
|
3486
3422
|
"van-uploader/lazy-load": {
|
3487
3423
|
"type": "boolean",
|
3488
|
-
"description": "Whether to enable lazy load
|
3424
|
+
"description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
3489
3425
|
},
|
3490
3426
|
"van-uploader/capture": {
|
3491
3427
|
"type": "string",
|
3492
|
-
"description": "Capture
|
3428
|
+
"description": "Capture, can be set to `camera`, Default: -"
|
3493
3429
|
},
|
3494
3430
|
"van-uploader/after-read": {
|
3495
3431
|
"type": "Function",
|
@@ -3504,11 +3440,8 @@
|
|
3504
3440
|
"description": "Hook before delete the file, return false to stop reading the file, can return Promise, Default: -"
|
3505
3441
|
},
|
3506
3442
|
"van-uploader/max-size": {
|
3507
|
-
"type": "number | string
|
3508
|
-
"description": "Max size of file, Default:
|
3509
|
-
"options": [
|
3510
|
-
"Infinity"
|
3511
|
-
]
|
3443
|
+
"type": "number | string | (file: File) => boolean",
|
3444
|
+
"description": "Max size of file, Default: `Infinity`"
|
3512
3445
|
},
|
3513
3446
|
"van-uploader/max-count": {
|
3514
3447
|
"type": "number | string",
|