vant 3.4.9 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/es/action-bar/{ActionBar.js → ActionBar.mjs} +1 -1
- package/es/action-bar/{index.js → index.mjs} +2 -2
- package/es/action-bar/style/{index.js → index.mjs} +0 -0
- package/es/action-bar/style/{less.js → less.mjs} +0 -0
- package/es/action-bar-button/{ActionBarButton.js → ActionBarButton.mjs} +5 -5
- package/es/action-bar-button/{index.js → index.mjs} +2 -2
- package/es/action-bar-button/style/{index.js → index.mjs} +0 -0
- package/es/action-bar-button/style/{less.js → less.mjs} +0 -0
- package/es/action-bar-icon/{ActionBarIcon.js → ActionBarIcon.mjs} +5 -5
- package/es/action-bar-icon/{index.js → index.mjs} +2 -2
- package/es/action-bar-icon/style/{index.js → index.mjs} +0 -0
- package/es/action-bar-icon/style/{less.js → less.mjs} +0 -0
- package/es/action-sheet/{ActionSheet.js → ActionSheet.mjs} +5 -5
- package/es/action-sheet/{index.js → index.mjs} +2 -2
- package/es/action-sheet/style/{index.js → index.mjs} +0 -0
- package/es/action-sheet/style/{less.js → less.mjs} +0 -0
- package/es/address-edit/{AddressEdit.js → AddressEdit.mjs} +11 -11
- package/es/address-edit/{AddressEditDetail.js → AddressEditDetail.mjs} +3 -3
- package/es/address-edit/{index.js → index.mjs} +2 -2
- package/es/address-edit/style/{index.js → index.mjs} +0 -0
- package/es/address-edit/style/{less.js → less.mjs} +0 -0
- package/es/address-edit/{types.js → types.mjs} +0 -0
- package/es/address-list/{AddressList.js → AddressList.mjs} +4 -4
- package/es/address-list/{AddressListItem.js → AddressListItem.mjs} +5 -5
- package/es/address-list/{index.js → index.mjs} +2 -2
- package/es/address-list/style/{index.js → index.mjs} +0 -0
- package/es/address-list/style/{less.js → less.mjs} +0 -0
- package/es/area/{Area.js → Area.mjs} +5 -5
- package/es/area/{index.js → index.mjs} +2 -2
- package/es/area/style/{index.js → index.mjs} +0 -0
- package/es/area/style/{less.js → less.mjs} +0 -0
- package/es/area/{types.js → types.mjs} +0 -0
- package/es/badge/{Badge.js → Badge.mjs} +1 -1
- package/es/badge/{index.js → index.mjs} +2 -2
- package/es/badge/style/{index.js → index.mjs} +0 -0
- package/es/badge/style/{less.js → less.mjs} +0 -0
- package/es/button/{Button.js → Button.mjs} +4 -4
- package/es/button/{index.js → index.mjs} +2 -2
- package/es/button/style/{index.js → index.mjs} +0 -0
- package/es/button/style/{less.js → less.mjs} +0 -0
- package/es/button/{types.js → types.mjs} +0 -0
- package/es/calendar/{Calendar.js → Calendar.mjs} +9 -9
- package/es/calendar/{CalendarDay.js → CalendarDay.mjs} +2 -2
- package/es/calendar/{CalendarHeader.js → CalendarHeader.mjs} +2 -2
- package/es/calendar/{CalendarMonth.js → CalendarMonth.mjs} +6 -6
- package/es/calendar/{index.js → index.mjs} +2 -2
- package/es/calendar/style/{index.js → index.mjs} +0 -0
- package/es/calendar/style/{less.js → less.mjs} +0 -0
- package/es/calendar/{types.js → types.mjs} +0 -0
- package/es/calendar/{utils.js → utils.mjs} +1 -1
- package/es/card/{Card.js → Card.mjs} +3 -3
- package/es/card/{index.js → index.mjs} +2 -2
- package/es/card/style/{index.js → index.mjs} +0 -0
- package/es/card/style/{less.js → less.mjs} +0 -0
- package/es/cascader/{Cascader.js → Cascader.mjs} +4 -4
- package/es/cascader/{index.js → index.mjs} +2 -2
- package/es/cascader/style/{index.js → index.mjs} +0 -0
- package/es/cascader/style/{less.js → less.mjs} +0 -0
- package/es/cascader/{types.js → types.mjs} +0 -0
- package/es/cell/{Cell.js → Cell.mjs} +3 -3
- package/es/cell/{index.js → index.mjs} +2 -2
- package/es/cell/style/{index.js → index.mjs} +0 -0
- package/es/cell/style/{less.js → less.mjs} +0 -0
- package/es/cell-group/{CellGroup.js → CellGroup.mjs} +1 -1
- package/es/cell-group/{index.js → index.mjs} +2 -2
- package/es/cell-group/style/{index.js → index.mjs} +0 -0
- package/es/cell-group/style/{less.js → less.mjs} +0 -0
- package/es/checkbox/{Checkbox.js → Checkbox.mjs} +4 -4
- package/es/checkbox/{Checker.js → Checker.mjs} +2 -2
- package/es/checkbox/{index.js → index.mjs} +2 -2
- package/es/checkbox/style/{index.js → index.mjs} +0 -0
- package/es/checkbox/style/{less.js → less.mjs} +0 -0
- package/es/checkbox/{types.js → types.mjs} +0 -0
- package/es/checkbox-group/{CheckboxGroup.js → CheckboxGroup.mjs} +2 -2
- package/es/checkbox-group/{index.js → index.mjs} +2 -2
- package/es/checkbox-group/style/{index.js → index.mjs} +0 -0
- package/es/checkbox-group/style/{less.js → less.mjs} +0 -0
- package/es/checkbox-group/{types.js → types.mjs} +0 -0
- package/es/circle/{Circle.js → Circle.mjs} +1 -1
- package/es/circle/{index.js → index.mjs} +2 -2
- package/es/circle/style/{index.js → index.mjs} +0 -0
- package/es/circle/style/{less.js → less.mjs} +0 -0
- package/es/col/{Col.js → Col.mjs} +2 -2
- package/es/col/{index.js → index.mjs} +2 -2
- package/es/col/style/{index.js → index.mjs} +0 -0
- package/es/col/style/{less.js → less.mjs} +0 -0
- package/es/collapse/{Collapse.js → Collapse.mjs} +1 -1
- package/es/collapse/{index.js → index.mjs} +2 -2
- package/es/collapse/style/{index.js → index.mjs} +0 -0
- package/es/collapse/style/{less.js → less.mjs} +0 -0
- package/es/collapse-item/{CollapseItem.js → CollapseItem.mjs} +6 -6
- package/es/collapse-item/{index.js → index.mjs} +2 -2
- package/es/collapse-item/style/{index.js → index.mjs} +0 -0
- package/es/collapse-item/style/{less.js → less.mjs} +0 -0
- package/es/collapse-item/{types.js → types.mjs} +0 -0
- package/es/composables/{on-popup-reopen.js → on-popup-reopen.mjs} +0 -0
- package/es/composables/{use-expose.js → use-expose.mjs} +1 -1
- package/es/composables/{use-height.js → use-height.mjs} +0 -0
- package/es/composables/{use-id.js → use-id.mjs} +0 -0
- package/es/composables/{use-lazy-render.js → use-lazy-render.mjs} +0 -0
- package/es/composables/{use-lock-scroll.js → use-lock-scroll.mjs} +2 -2
- package/es/composables/{use-placeholder.js → use-placeholder.mjs} +1 -1
- package/es/composables/{use-refs.js → use-refs.mjs} +0 -0
- package/es/composables/{use-route.js → use-route.mjs} +0 -0
- package/es/composables/{use-tab-status.js → use-tab-status.mjs} +0 -0
- package/es/composables/{use-touch.js → use-touch.mjs} +0 -0
- package/es/composables/{use-visibility-change.js → use-visibility-change.mjs} +1 -1
- package/es/config-provider/{ConfigProvider.js → ConfigProvider.mjs} +1 -1
- package/es/config-provider/{index.js → index.mjs} +2 -2
- package/es/config-provider/style/{index.js → index.mjs} +0 -0
- package/es/config-provider/style/{less.js → less.mjs} +0 -0
- package/es/contact-card/{ContactCard.js → ContactCard.mjs} +2 -2
- package/es/contact-card/{index.js → index.mjs} +2 -2
- package/es/contact-card/style/{index.js → index.mjs} +0 -0
- package/es/contact-card/style/{less.js → less.mjs} +0 -0
- package/es/contact-edit/{ContactEdit.js → ContactEdit.mjs} +6 -6
- package/es/contact-edit/{index.js → index.mjs} +2 -2
- package/es/contact-edit/style/{index.js → index.mjs} +0 -0
- package/es/contact-edit/style/{less.js → less.mjs} +0 -0
- package/es/contact-list/{ContactList.js → ContactList.mjs} +7 -7
- package/es/contact-list/{index.js → index.mjs} +2 -2
- package/es/contact-list/style/{index.js → index.mjs} +0 -0
- package/es/contact-list/style/{less.js → less.mjs} +0 -0
- package/es/count-down/{CountDown.js → CountDown.mjs} +3 -3
- package/es/count-down/{index.js → index.mjs} +2 -2
- package/es/count-down/style/{index.js → index.mjs} +0 -0
- package/es/count-down/style/{less.js → less.mjs} +0 -0
- package/es/count-down/{types.js → types.mjs} +0 -0
- package/es/count-down/{utils.js → utils.mjs} +1 -1
- package/es/coupon/{Coupon.js → Coupon.mjs} +3 -3
- package/es/coupon/{index.js → index.mjs} +2 -2
- package/es/coupon/style/{index.js → index.mjs} +0 -0
- package/es/coupon/style/{less.js → less.mjs} +0 -0
- package/es/coupon/{utils.js → utils.mjs} +1 -1
- package/es/coupon-cell/{CouponCell.js → CouponCell.mjs} +2 -2
- package/es/coupon-cell/{index.js → index.mjs} +2 -2
- package/es/coupon-cell/style/{index.js → index.mjs} +0 -0
- package/es/coupon-cell/style/{less.js → less.mjs} +0 -0
- package/es/coupon-list/{CouponList.js → CouponList.mjs} +8 -8
- package/es/coupon-list/{index.js → index.mjs} +2 -2
- package/es/coupon-list/style/{index.js → index.mjs} +0 -0
- package/es/coupon-list/style/{less.js → less.mjs} +0 -0
- package/es/datetime-picker/{DatePicker.js → DatePicker.mjs} +4 -4
- package/es/datetime-picker/{DatetimePicker.js → DatetimePicker.mjs} +4 -4
- package/es/datetime-picker/{TimePicker.js → TimePicker.mjs} +4 -4
- package/es/datetime-picker/{index.js → index.mjs} +2 -2
- package/es/datetime-picker/style/{index.js → index.mjs} +0 -0
- package/es/datetime-picker/style/{less.js → less.mjs} +0 -0
- package/es/datetime-picker/{types.js → types.mjs} +0 -0
- package/es/datetime-picker/{utils.js → utils.mjs} +2 -2
- package/es/dialog/Dialog.d.ts +8 -0
- package/es/dialog/{Dialog.js → Dialog.mjs} +12 -6
- package/es/dialog/function-call.d.ts +10 -0
- package/es/dialog/{function-call.js → function-call.mjs} +5 -3
- package/es/dialog/{index.js → index.mjs} +1 -1
- package/es/dialog/style/{index.js → index.mjs} +0 -0
- package/es/dialog/style/{less.js → less.mjs} +0 -0
- package/es/dialog/types.d.ts +3 -1
- package/es/dialog/{types.js → types.mjs} +0 -0
- package/es/divider/{Divider.js → Divider.mjs} +1 -1
- package/es/divider/{index.js → index.mjs} +2 -2
- package/es/divider/style/{index.js → index.mjs} +0 -0
- package/es/divider/style/{less.js → less.mjs} +0 -0
- package/es/dropdown-item/{DropdownItem.js → DropdownItem.mjs} +6 -6
- package/es/dropdown-item/{index.js → index.mjs} +2 -2
- package/es/dropdown-item/style/{index.js → index.mjs} +0 -0
- package/es/dropdown-item/style/{less.js → less.mjs} +0 -0
- package/es/dropdown-item/{types.js → types.mjs} +0 -0
- package/es/dropdown-menu/{DropdownMenu.js → DropdownMenu.mjs} +2 -2
- package/es/dropdown-menu/{index.js → index.mjs} +2 -2
- package/es/dropdown-menu/style/{index.js → index.mjs} +0 -0
- package/es/dropdown-menu/style/{less.js → less.mjs} +0 -0
- package/es/dropdown-menu/{types.js → types.mjs} +0 -0
- package/es/empty/{Empty.js → Empty.mjs} +2 -2
- package/es/empty/{Images.js → Images.mjs} +0 -0
- package/es/empty/{index.js → index.mjs} +2 -2
- package/es/empty/style/{index.js → index.mjs} +0 -0
- package/es/empty/style/{less.js → less.mjs} +0 -0
- package/es/field/{Field.js → Field.mjs} +20 -20
- package/es/field/index.d.ts +1 -1
- package/es/field/{index.js → index.mjs} +2 -2
- package/es/field/style/{index.js → index.mjs} +0 -0
- package/es/field/style/{less.js → less.mjs} +0 -0
- package/es/field/types.d.ts +2 -0
- package/es/field/{types.js → types.mjs} +0 -0
- package/es/field/{utils.js → utils.mjs} +1 -1
- package/es/form/{Form.js → Form.mjs} +8 -3
- package/es/form/{index.js → index.mjs} +2 -2
- package/es/form/style/{index.js → index.mjs} +0 -0
- package/es/form/style/{less.js → less.mjs} +0 -0
- package/es/form/types.d.ts +2 -0
- package/es/form/{types.js → types.mjs} +0 -0
- package/es/grid/{Grid.js → Grid.mjs} +2 -2
- package/es/grid/{index.js → index.mjs} +2 -2
- package/es/grid/style/{index.js → index.mjs} +0 -0
- package/es/grid/style/{less.js → less.mjs} +0 -0
- package/es/grid-item/{GridItem.js → GridItem.mjs} +5 -5
- package/es/grid-item/{index.js → index.mjs} +2 -2
- package/es/grid-item/style/{index.js → index.mjs} +0 -0
- package/es/grid-item/style/{less.js → less.mjs} +0 -0
- package/es/icon/{Icon.js → Icon.mjs} +3 -3
- package/es/icon/{index.js → index.mjs} +2 -2
- package/es/icon/style/{index.js → index.mjs} +0 -0
- package/es/icon/style/{less.js → less.mjs} +0 -0
- package/es/image/{Image.js → Image.mjs} +2 -2
- package/es/image/{index.js → index.mjs} +2 -2
- package/es/image/style/{index.js → index.mjs} +0 -0
- package/es/image/style/{less.js → less.mjs} +0 -0
- package/es/image-preview/{ImagePreview.js → ImagePreview.mjs} +6 -6
- package/es/image-preview/{ImagePreviewItem.js → ImagePreviewItem.mjs} +5 -5
- package/es/image-preview/{function-call.js → function-call.mjs} +3 -3
- package/es/image-preview/{index.js → index.mjs} +1 -1
- package/es/image-preview/style/{index.js → index.mjs} +0 -0
- package/es/image-preview/style/{less.js → less.mjs} +0 -0
- package/es/image-preview/{types.js → types.mjs} +0 -0
- package/es/index-anchor/{IndexAnchor.js → IndexAnchor.mjs} +4 -4
- package/es/index-anchor/{index.js → index.mjs} +2 -2
- package/es/index-anchor/style/{index.js → index.mjs} +0 -0
- package/es/index-anchor/style/{less.js → less.mjs} +0 -0
- package/es/index-bar/{IndexBar.js → IndexBar.mjs} +3 -3
- package/es/index-bar/{index.js → index.mjs} +2 -2
- package/es/index-bar/style/{index.js → index.mjs} +0 -0
- package/es/index-bar/style/{less.js → less.mjs} +0 -0
- package/es/index-bar/{types.js → types.mjs} +0 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +277 -0
- package/es/lazyload/{index.js → index.mjs} +1 -1
- package/es/lazyload/style/{index.js → index.mjs} +0 -0
- package/es/lazyload/style/{less.js → less.mjs} +0 -0
- package/es/lazyload/vue-lazyload/{index.js → index.mjs} +4 -4
- package/es/lazyload/vue-lazyload/{lazy-component.js → lazy-component.mjs} +0 -0
- package/es/lazyload/vue-lazyload/{lazy-container.js → lazy-container.mjs} +1 -1
- package/es/lazyload/vue-lazyload/{lazy-image.js → lazy-image.mjs} +2 -2
- package/es/lazyload/vue-lazyload/{lazy.js → lazy.mjs} +3 -3
- package/es/lazyload/vue-lazyload/{listener.js → listener.mjs} +2 -2
- package/es/lazyload/vue-lazyload/{util.js → util.mjs} +0 -0
- package/es/list/{List.js → List.mjs} +4 -4
- package/es/list/{index.js → index.mjs} +2 -2
- package/es/list/style/{index.js → index.mjs} +0 -0
- package/es/list/style/{less.js → less.mjs} +0 -0
- package/es/list/{types.js → types.mjs} +0 -0
- package/es/loading/{Loading.js → Loading.mjs} +1 -1
- package/es/loading/{index.js → index.mjs} +2 -2
- package/es/loading/style/{index.js → index.mjs} +0 -0
- package/es/loading/style/{less.js → less.mjs} +0 -0
- package/es/locale/{index.js → index.mjs} +2 -2
- package/es/locale/lang/bg-BG.d.ts +64 -0
- package/es/locale/lang/bg-BG.mjs +74 -0
- package/es/locale/lang/{bn-BD.js → bn-BD.mjs} +0 -0
- package/es/locale/lang/{da-DK.js → da-DK.mjs} +0 -0
- package/es/locale/lang/{de-DE-formal.js → de-DE-formal.mjs} +0 -0
- package/es/locale/lang/{de-DE.js → de-DE.mjs} +0 -0
- package/es/locale/lang/el-GR.d.ts +64 -0
- package/es/locale/lang/el-GR.mjs +74 -0
- package/es/locale/lang/{en-US.js → en-US.mjs} +0 -0
- package/es/locale/lang/{es-ES.js → es-ES.mjs} +0 -0
- package/es/locale/lang/fa-IR.d.ts +64 -0
- package/es/locale/lang/fa-IR.mjs +66 -0
- package/es/locale/lang/{fr-FR.js → fr-FR.mjs} +0 -0
- package/es/locale/lang/he-IL.d.ts +64 -0
- package/es/locale/lang/he-IL.mjs +66 -0
- package/es/locale/lang/{hi-IN.js → hi-IN.mjs} +0 -0
- package/es/locale/lang/{id-ID.js → id-ID.mjs} +0 -0
- package/es/locale/lang/{is-IS.js → is-IS.mjs} +0 -0
- package/es/locale/lang/{it-IT.js → it-IT.mjs} +0 -0
- package/es/locale/lang/{ja-JP.js → ja-JP.mjs} +0 -0
- package/es/locale/lang/{ko-KR.js → ko-KR.mjs} +0 -0
- package/es/locale/lang/{la-LA.js → la-LA.mjs} +0 -0
- package/es/locale/lang/{nb-NO.js → nb-NO.mjs} +0 -0
- package/es/locale/lang/{pt-BR.js → pt-BR.mjs} +0 -0
- package/es/locale/lang/{ro-RO.js → ro-RO.mjs} +0 -0
- package/es/locale/lang/{ru-RU.js → ru-RU.mjs} +0 -0
- package/es/locale/lang/{sv-SE.js → sv-SE.mjs} +0 -0
- package/es/locale/lang/{th-TH.js → th-TH.mjs} +0 -0
- package/es/locale/lang/{tr-TR.js → tr-TR.mjs} +0 -0
- package/es/locale/lang/{uk-UA.js → uk-UA.mjs} +0 -0
- package/es/locale/lang/{vi-VN.js → vi-VN.mjs} +0 -0
- package/es/locale/lang/{zh-CN.js → zh-CN.mjs} +0 -0
- package/es/locale/lang/{zh-HK.js → zh-HK.mjs} +0 -0
- package/es/locale/lang/{zh-TW.js → zh-TW.mjs} +0 -0
- package/es/locale/style/{index.js → index.mjs} +0 -0
- package/es/locale/style/{less.js → less.mjs} +0 -0
- package/es/nav-bar/{NavBar.js → NavBar.mjs} +3 -3
- package/es/nav-bar/{index.js → index.mjs} +2 -2
- package/es/nav-bar/style/{index.js → index.mjs} +0 -0
- package/es/nav-bar/style/{less.js → less.mjs} +0 -0
- package/es/notice-bar/{NoticeBar.js → NoticeBar.mjs} +4 -4
- package/es/notice-bar/{index.js → index.mjs} +2 -2
- package/es/notice-bar/style/{index.js → index.mjs} +0 -0
- package/es/notice-bar/style/{less.js → less.mjs} +0 -0
- package/es/notice-bar/{types.js → types.mjs} +0 -0
- package/es/notify/{Notify.js → Notify.mjs} +3 -3
- package/es/notify/{function-call.js → function-call.mjs} +3 -3
- package/es/notify/{index.js → index.mjs} +1 -1
- package/es/notify/style/{index.js → index.mjs} +0 -0
- package/es/notify/style/{less.js → less.mjs} +0 -0
- package/es/notify/{types.js → types.mjs} +0 -0
- package/es/number-keyboard/{NumberKeyboard.js → NumberKeyboard.mjs} +2 -2
- package/es/number-keyboard/{NumberKeyboardKey.js → NumberKeyboardKey.mjs} +3 -3
- package/es/number-keyboard/{index.js → index.mjs} +2 -2
- package/es/number-keyboard/style/{index.js → index.mjs} +0 -0
- package/es/number-keyboard/style/{less.js → less.mjs} +0 -0
- package/es/overlay/{Overlay.js → Overlay.mjs} +2 -2
- package/es/overlay/{index.js → index.mjs} +2 -2
- package/es/overlay/style/{index.js → index.mjs} +0 -0
- package/es/overlay/style/{less.js → less.mjs} +0 -0
- package/es/pagination/{Pagination.js → Pagination.mjs} +1 -1
- package/es/pagination/{index.js → index.mjs} +2 -2
- package/es/pagination/style/{index.js → index.mjs} +0 -0
- package/es/pagination/style/{less.js → less.mjs} +0 -0
- package/es/password-input/{PasswordInput.js → PasswordInput.mjs} +1 -1
- package/es/password-input/{index.js → index.mjs} +2 -2
- package/es/password-input/style/{index.js → index.mjs} +0 -0
- package/es/password-input/style/{less.js → less.mjs} +0 -0
- package/es/picker/{Picker.js → Picker.mjs} +29 -28
- package/es/picker/{PickerColumn.js → PickerColumn.mjs} +6 -4
- package/es/picker/{index.js → index.mjs} +2 -2
- package/es/picker/style/{index.js → index.mjs} +0 -0
- package/es/picker/style/{less.js → less.mjs} +0 -0
- package/es/picker/{types.js → types.mjs} +0 -0
- package/es/popover/{Popover.js → Popover.mjs} +3 -3
- package/es/popover/{index.js → index.mjs} +2 -2
- package/es/popover/style/{index.js → index.mjs} +0 -0
- package/es/popover/style/{less.js → less.mjs} +0 -0
- package/es/popover/{types.js → types.mjs} +0 -0
- package/es/popup/{Popup.js → Popup.mjs} +8 -8
- package/es/popup/{index.js → index.mjs} +2 -2
- package/es/popup/{shared.js → shared.mjs} +1 -1
- package/es/popup/style/{index.js → index.mjs} +0 -0
- package/es/popup/style/{less.js → less.mjs} +0 -0
- package/es/popup/{types.js → types.mjs} +0 -0
- package/es/progress/{Progress.js → Progress.mjs} +1 -1
- package/es/progress/{index.js → index.mjs} +2 -2
- package/es/progress/style/{index.js → index.mjs} +0 -0
- package/es/progress/style/{less.js → less.mjs} +0 -0
- package/es/progress/{types.js → types.mjs} +0 -0
- package/es/pull-refresh/{PullRefresh.js → PullRefresh.mjs} +3 -3
- package/es/pull-refresh/{index.js → index.mjs} +2 -2
- package/es/pull-refresh/style/{index.js → index.mjs} +0 -0
- package/es/pull-refresh/style/{less.js → less.mjs} +0 -0
- package/es/radio/{Radio.js → Radio.mjs} +3 -3
- package/es/radio/{index.js → index.mjs} +2 -2
- package/es/radio/style/{index.js → index.mjs} +0 -0
- package/es/radio/style/{less.js → less.mjs} +0 -0
- package/es/radio-group/{RadioGroup.js → RadioGroup.mjs} +1 -1
- package/es/radio-group/{index.js → index.mjs} +2 -2
- package/es/radio-group/style/{index.js → index.mjs} +0 -0
- package/es/radio-group/style/{less.js → less.mjs} +0 -0
- package/es/rate/{Rate.js → Rate.mjs} +4 -4
- package/es/rate/{index.js → index.mjs} +2 -2
- package/es/rate/style/{index.js → index.mjs} +0 -0
- package/es/rate/style/{less.js → less.mjs} +0 -0
- package/es/row/{Row.js → Row.mjs} +1 -1
- package/es/row/{index.js → index.mjs} +2 -2
- package/es/row/style/{index.js → index.mjs} +0 -0
- package/es/row/style/{less.js → less.mjs} +0 -0
- package/es/search/{Search.js → Search.mjs} +5 -5
- package/es/search/{index.js → index.mjs} +2 -2
- package/es/search/style/{index.js → index.mjs} +0 -0
- package/es/search/style/{less.js → less.mjs} +0 -0
- package/es/search/{types.js → types.mjs} +0 -0
- package/es/share-sheet/{ShareSheet.js → ShareSheet.mjs} +4 -4
- package/es/share-sheet/{index.js → index.mjs} +2 -2
- package/es/share-sheet/style/{index.js → index.mjs} +0 -0
- package/es/share-sheet/style/{less.js → less.mjs} +0 -0
- package/es/sidebar/{Sidebar.js → Sidebar.mjs} +1 -1
- package/es/sidebar/{index.js → index.mjs} +2 -2
- package/es/sidebar/style/{index.js → index.mjs} +0 -0
- package/es/sidebar/style/{less.js → less.mjs} +0 -0
- package/es/sidebar-item/{SidebarItem.js → SidebarItem.mjs} +4 -4
- package/es/sidebar-item/{index.js → index.mjs} +2 -2
- package/es/sidebar-item/style/{index.js → index.mjs} +0 -0
- package/es/sidebar-item/style/{less.js → less.mjs} +0 -0
- package/es/skeleton/{Skeleton.js → Skeleton.mjs} +1 -1
- package/es/skeleton/{index.js → index.mjs} +2 -2
- package/es/skeleton/style/{index.js → index.mjs} +0 -0
- package/es/skeleton/style/{less.js → less.mjs} +0 -0
- package/es/slider/{Slider.js → Slider.mjs} +2 -2
- package/es/slider/{index.js → index.mjs} +2 -2
- package/es/slider/style/{index.js → index.mjs} +0 -0
- package/es/slider/style/{less.js → less.mjs} +0 -0
- package/es/step/{Step.js → Step.mjs} +3 -3
- package/es/step/{index.js → index.mjs} +2 -2
- package/es/step/style/{index.js → index.mjs} +0 -0
- package/es/step/style/{less.js → less.mjs} +0 -0
- package/es/stepper/{Stepper.js → Stepper.mjs} +1 -1
- package/es/stepper/{index.js → index.mjs} +2 -2
- package/es/stepper/style/{index.js → index.mjs} +0 -0
- package/es/stepper/style/{less.js → less.mjs} +0 -0
- package/es/steps/{Steps.js → Steps.mjs} +1 -1
- package/es/steps/{index.js → index.mjs} +2 -2
- package/es/steps/style/{index.js → index.mjs} +0 -0
- package/es/steps/style/{less.js → less.mjs} +0 -0
- package/es/sticky/{Sticky.js → Sticky.mjs} +2 -2
- package/es/sticky/{index.js → index.mjs} +2 -2
- package/es/sticky/style/{index.js → index.mjs} +0 -0
- package/es/sticky/style/{less.js → less.mjs} +0 -0
- package/es/submit-bar/{SubmitBar.js → SubmitBar.mjs} +3 -3
- package/es/submit-bar/{index.js → index.mjs} +2 -2
- package/es/submit-bar/style/{index.js → index.mjs} +0 -0
- package/es/submit-bar/style/{less.js → less.mjs} +0 -0
- package/es/swipe/{Swipe.js → Swipe.mjs} +4 -4
- package/es/swipe/{index.js → index.mjs} +2 -2
- package/es/swipe/style/{index.js → index.mjs} +0 -0
- package/es/swipe/style/{less.js → less.mjs} +0 -0
- package/es/swipe/{types.js → types.mjs} +0 -0
- package/es/swipe-cell/{SwipeCell.js → SwipeCell.mjs} +3 -3
- package/es/swipe-cell/{index.js → index.mjs} +2 -2
- package/es/swipe-cell/style/{index.js → index.mjs} +0 -0
- package/es/swipe-cell/style/{less.js → less.mjs} +0 -0
- package/es/swipe-cell/{types.js → types.mjs} +0 -0
- package/es/swipe-item/{SwipeItem.js → SwipeItem.mjs} +3 -3
- package/es/swipe-item/{index.js → index.mjs} +2 -2
- package/es/swipe-item/style/{index.js → index.mjs} +0 -0
- package/es/swipe-item/style/{less.js → less.mjs} +0 -0
- package/es/switch/{Switch.js → Switch.mjs} +9 -4
- package/es/switch/{index.js → index.mjs} +2 -2
- package/es/switch/style/{index.js → index.mjs} +0 -0
- package/es/switch/style/{less.js → less.mjs} +0 -0
- package/es/tab/{Tab.js → Tab.mjs} +7 -7
- package/es/tab/{index.js → index.mjs} +2 -2
- package/es/tab/style/{index.js → index.mjs} +0 -0
- package/es/tab/style/{less.js → less.mjs} +0 -0
- package/es/tabbar/{Tabbar.js → Tabbar.mjs} +2 -2
- package/es/tabbar/{index.js → index.mjs} +2 -2
- package/es/tabbar/style/{index.js → index.mjs} +0 -0
- package/es/tabbar/style/{less.js → less.mjs} +0 -0
- package/es/tabbar-item/{TabbarItem.js → TabbarItem.mjs} +5 -5
- package/es/tabbar-item/{index.js → index.mjs} +2 -2
- package/es/tabbar-item/style/{index.js → index.mjs} +0 -0
- package/es/tabbar-item/style/{less.js → less.mjs} +0 -0
- package/es/tabs/{Tabs.js → Tabs.mjs} +10 -10
- package/es/tabs/{TabsContent.js → TabsContent.mjs} +2 -2
- package/es/tabs/{TabsTitle.js → TabsTitle.mjs} +2 -2
- package/es/tabs/{index.js → index.mjs} +2 -2
- package/es/tabs/style/{index.js → index.mjs} +0 -0
- package/es/tabs/style/{less.js → less.mjs} +0 -0
- package/es/tabs/{types.js → types.mjs} +0 -0
- package/es/tabs/{utils.js → utils.mjs} +1 -1
- package/es/tag/{Tag.js → Tag.mjs} +2 -2
- package/es/tag/{index.js → index.mjs} +2 -2
- package/es/tag/style/{index.js → index.mjs} +0 -0
- package/es/tag/style/{less.js → less.mjs} +0 -0
- package/es/toast/{Toast.js → Toast.mjs} +5 -5
- package/es/toast/{function-call.js → function-call.mjs} +3 -3
- package/es/toast/{index.js → index.mjs} +1 -1
- package/es/toast/{lock-click.js → lock-click.mjs} +0 -0
- package/es/toast/style/{index.js → index.mjs} +0 -0
- package/es/toast/style/{less.js → less.mjs} +0 -0
- package/es/toast/{types.js → types.mjs} +0 -0
- package/es/tree-select/{TreeSelect.js → TreeSelect.mjs} +4 -4
- package/es/tree-select/{index.js → index.mjs} +2 -2
- package/es/tree-select/style/{index.js → index.mjs} +0 -0
- package/es/tree-select/style/{less.js → less.mjs} +0 -0
- package/es/uploader/{Uploader.js → Uploader.mjs} +7 -9
- package/es/uploader/{UploaderPreviewItem.js → UploaderPreviewItem.mjs} +10 -7
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.less +7 -4
- package/es/uploader/{index.js → index.mjs} +2 -2
- package/es/uploader/style/{index.js → index.mjs} +0 -0
- package/es/uploader/style/{less.js → less.mjs} +0 -0
- package/es/uploader/{types.js → types.mjs} +0 -0
- package/es/uploader/{utils.js → utils.mjs} +1 -1
- package/es/utils/{basic.js → basic.mjs} +0 -0
- package/es/utils/{constant.js → constant.mjs} +0 -0
- package/es/utils/{create.js → create.mjs} +4 -4
- package/es/utils/{deep-assign.js → deep-assign.mjs} +1 -1
- package/es/utils/{deep-clone.js → deep-clone.mjs} +1 -1
- package/es/utils/{dom.js → dom.mjs} +1 -1
- package/es/utils/{format.js → format.mjs} +3 -3
- package/es/utils/index.mjs +9 -0
- package/es/utils/{interceptor.js → interceptor.mjs} +2 -2
- package/es/utils/{mount-component.js → mount-component.mjs} +2 -2
- package/es/utils/{props.js → props.mjs} +0 -0
- package/es/utils/{validate.js → validate.mjs} +1 -1
- package/es/utils/{with-install.js → with-install.mjs} +1 -1
- package/lib/dialog/Dialog.d.ts +8 -0
- package/lib/dialog/Dialog.js +6 -0
- package/lib/dialog/function-call.d.ts +10 -0
- package/lib/dialog/function-call.js +2 -0
- package/lib/dialog/types.d.ts +3 -1
- package/lib/field/Field.js +13 -13
- package/lib/field/index.d.ts +1 -1
- package/lib/field/types.d.ts +2 -0
- package/lib/form/Form.js +6 -1
- package/lib/form/types.d.ts +2 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/bg-BG.d.ts +64 -0
- package/lib/locale/lang/bg-BG.js +93 -0
- package/lib/locale/lang/el-GR.d.ts +64 -0
- package/lib/locale/lang/el-GR.js +93 -0
- package/lib/locale/lang/fa-IR.d.ts +64 -0
- package/lib/locale/lang/fa-IR.js +85 -0
- package/lib/locale/lang/he-IL.d.ts +64 -0
- package/lib/locale/lang/he-IL.js +85 -0
- package/lib/picker/Picker.js +25 -24
- package/lib/picker/PickerColumn.js +2 -0
- package/lib/switch/Switch.js +7 -2
- package/lib/uploader/Uploader.js +1 -3
- package/lib/uploader/UploaderPreviewItem.js +5 -2
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.less +7 -4
- package/lib/vant.cjs.js +69 -48
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +68 -46
- package/lib/vant.es.min.js +68 -46
- package/lib/vant.js +145 -87
- package/lib/vant.min.js +1 -1
- package/package.json +6 -21
- package/vetur/attributes.json +259 -251
- package/vetur/tags.json +92 -90
- package/vetur/web-types.json +1049 -1016
- package/changelog.generated.md +0 -71
- package/es/index.js +0 -277
- package/es/utils/index.js +0 -9
package/vetur/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.
|
5
|
+
"version": "3.5.0",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -833,176 +833,6 @@
|
|
833
833
|
}
|
834
834
|
]
|
835
835
|
},
|
836
|
-
{
|
837
|
-
"name": "van-address-list",
|
838
|
-
"slots": [
|
839
|
-
{
|
840
|
-
"name": "default",
|
841
|
-
"description": "Custom content after list"
|
842
|
-
},
|
843
|
-
{
|
844
|
-
"name": "top",
|
845
|
-
"description": "Custom content before list"
|
846
|
-
},
|
847
|
-
{
|
848
|
-
"name": "item-bottom",
|
849
|
-
"description": "Custom content after list item"
|
850
|
-
},
|
851
|
-
{
|
852
|
-
"name": "tag",
|
853
|
-
"description": "Custom tag of list item"
|
854
|
-
}
|
855
|
-
],
|
856
|
-
"events": [
|
857
|
-
{
|
858
|
-
"name": "add",
|
859
|
-
"description": "Emitted when the add button is clicked",
|
860
|
-
"arguments": []
|
861
|
-
},
|
862
|
-
{
|
863
|
-
"name": "edit",
|
864
|
-
"description": "Emitted when the edit icon of address is clicked",
|
865
|
-
"arguments": [
|
866
|
-
{
|
867
|
-
"name": "item",
|
868
|
-
"type": "Address"
|
869
|
-
},
|
870
|
-
{
|
871
|
-
"name": "index",
|
872
|
-
"type": "number"
|
873
|
-
}
|
874
|
-
]
|
875
|
-
},
|
876
|
-
{
|
877
|
-
"name": "select",
|
878
|
-
"description": "Emitted when an address is selected",
|
879
|
-
"arguments": [
|
880
|
-
{
|
881
|
-
"name": "item",
|
882
|
-
"type": "Address"
|
883
|
-
},
|
884
|
-
{
|
885
|
-
"name": "index",
|
886
|
-
"type": "number"
|
887
|
-
}
|
888
|
-
]
|
889
|
-
},
|
890
|
-
{
|
891
|
-
"name": "edit-disabled",
|
892
|
-
"description": "Emitted when the edit icon of disabled address is clicked",
|
893
|
-
"arguments": [
|
894
|
-
{
|
895
|
-
"name": "item",
|
896
|
-
"type": "Address"
|
897
|
-
},
|
898
|
-
{
|
899
|
-
"name": "index",
|
900
|
-
"type": "number"
|
901
|
-
}
|
902
|
-
]
|
903
|
-
},
|
904
|
-
{
|
905
|
-
"name": "select-disabled",
|
906
|
-
"description": "Emitted when a disabled address is selected",
|
907
|
-
"arguments": [
|
908
|
-
{
|
909
|
-
"name": "item",
|
910
|
-
"type": "Address"
|
911
|
-
},
|
912
|
-
{
|
913
|
-
"name": "index",
|
914
|
-
"type": "number"
|
915
|
-
}
|
916
|
-
]
|
917
|
-
},
|
918
|
-
{
|
919
|
-
"name": "click-item",
|
920
|
-
"description": "Emitted when an address item is clicked",
|
921
|
-
"arguments": [
|
922
|
-
{
|
923
|
-
"name": "item",
|
924
|
-
"type": "Address"
|
925
|
-
},
|
926
|
-
{
|
927
|
-
"name": "index",
|
928
|
-
"type": "number"
|
929
|
-
}
|
930
|
-
]
|
931
|
-
}
|
932
|
-
],
|
933
|
-
"attributes": [
|
934
|
-
{
|
935
|
-
"name": "v-model",
|
936
|
-
"default": "-",
|
937
|
-
"description": "Id of chosen address",
|
938
|
-
"options": [],
|
939
|
-
"value": {
|
940
|
-
"type": "string",
|
941
|
-
"kind": "expression"
|
942
|
-
}
|
943
|
-
},
|
944
|
-
{
|
945
|
-
"name": "list",
|
946
|
-
"default": "`[]`",
|
947
|
-
"description": "Address list",
|
948
|
-
"options": [],
|
949
|
-
"value": {
|
950
|
-
"type": "Address[]",
|
951
|
-
"kind": "expression"
|
952
|
-
}
|
953
|
-
},
|
954
|
-
{
|
955
|
-
"name": "disabled-list",
|
956
|
-
"default": "`[]`",
|
957
|
-
"description": "Disabled address list",
|
958
|
-
"options": [],
|
959
|
-
"value": {
|
960
|
-
"type": "Address[]",
|
961
|
-
"kind": "expression"
|
962
|
-
}
|
963
|
-
},
|
964
|
-
{
|
965
|
-
"name": "disabled-text",
|
966
|
-
"default": "-",
|
967
|
-
"description": "Disabled text",
|
968
|
-
"options": [],
|
969
|
-
"value": {
|
970
|
-
"type": "string",
|
971
|
-
"kind": "expression"
|
972
|
-
}
|
973
|
-
},
|
974
|
-
{
|
975
|
-
"name": "switchable",
|
976
|
-
"default": "`true`",
|
977
|
-
"description": "Whether to allow switch address",
|
978
|
-
"options": [],
|
979
|
-
"value": {
|
980
|
-
"type": "boolean",
|
981
|
-
"kind": "expression"
|
982
|
-
}
|
983
|
-
},
|
984
|
-
{
|
985
|
-
"name": "add-button-text",
|
986
|
-
"default": "`Add new address`",
|
987
|
-
"description": "Add button text",
|
988
|
-
"options": [],
|
989
|
-
"value": {
|
990
|
-
"type": "string",
|
991
|
-
"kind": "expression"
|
992
|
-
}
|
993
|
-
},
|
994
|
-
{
|
995
|
-
"name": "default-tag-text",
|
996
|
-
"default": "-",
|
997
|
-
"description": "Default tag text",
|
998
|
-
"options": [],
|
999
|
-
"value": {
|
1000
|
-
"type": "string",
|
1001
|
-
"kind": "expression"
|
1002
|
-
}
|
1003
|
-
}
|
1004
|
-
]
|
1005
|
-
},
|
1006
836
|
{
|
1007
837
|
"name": "van-area",
|
1008
838
|
"slots": [
|
@@ -1196,78 +1026,248 @@
|
|
1196
1026
|
]
|
1197
1027
|
},
|
1198
1028
|
{
|
1199
|
-
"name": "van-
|
1029
|
+
"name": "van-address-list",
|
1200
1030
|
"slots": [
|
1201
1031
|
{
|
1202
1032
|
"name": "default",
|
1203
|
-
"description": "
|
1204
|
-
},
|
1205
|
-
{
|
1206
|
-
"name": "content",
|
1207
|
-
"description": "Custom badge content"
|
1208
|
-
}
|
1209
|
-
],
|
1210
|
-
"events": [],
|
1211
|
-
"attributes": [
|
1212
|
-
{
|
1213
|
-
"name": "content",
|
1214
|
-
"default": "-",
|
1215
|
-
"description": "Badge content",
|
1216
|
-
"options": [],
|
1217
|
-
"value": {
|
1218
|
-
"type": "number | string",
|
1219
|
-
"kind": "expression"
|
1220
|
-
}
|
1033
|
+
"description": "Custom content after list"
|
1221
1034
|
},
|
1222
1035
|
{
|
1223
|
-
"name": "
|
1224
|
-
"
|
1225
|
-
"description": "Background color",
|
1226
|
-
"options": [],
|
1227
|
-
"value": {
|
1228
|
-
"type": "string",
|
1229
|
-
"kind": "expression"
|
1230
|
-
}
|
1036
|
+
"name": "top",
|
1037
|
+
"description": "Custom content before list"
|
1231
1038
|
},
|
1232
1039
|
{
|
1233
|
-
"name": "
|
1234
|
-
"
|
1235
|
-
"description": "Whether to show dot",
|
1236
|
-
"options": [],
|
1237
|
-
"value": {
|
1238
|
-
"type": "boolean",
|
1239
|
-
"kind": "expression"
|
1240
|
-
}
|
1040
|
+
"name": "item-bottom",
|
1041
|
+
"description": "Custom content after list item"
|
1241
1042
|
},
|
1242
1043
|
{
|
1243
|
-
"name": "
|
1244
|
-
"
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
"type": "number | string",
|
1249
|
-
"kind": "expression"
|
1250
|
-
}
|
1251
|
-
},
|
1044
|
+
"name": "tag",
|
1045
|
+
"description": "Custom tag of list item"
|
1046
|
+
}
|
1047
|
+
],
|
1048
|
+
"events": [
|
1252
1049
|
{
|
1253
|
-
"name": "
|
1254
|
-
"
|
1255
|
-
"
|
1256
|
-
"options": [],
|
1257
|
-
"value": {
|
1258
|
-
"type": "[number | string, number | string]",
|
1259
|
-
"kind": "expression"
|
1260
|
-
}
|
1050
|
+
"name": "add",
|
1051
|
+
"description": "Emitted when the add button is clicked",
|
1052
|
+
"arguments": []
|
1261
1053
|
},
|
1262
1054
|
{
|
1263
|
-
"name": "
|
1264
|
-
"
|
1265
|
-
"
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1055
|
+
"name": "edit",
|
1056
|
+
"description": "Emitted when the edit icon of address is clicked",
|
1057
|
+
"arguments": [
|
1058
|
+
{
|
1059
|
+
"name": "item",
|
1060
|
+
"type": "Address"
|
1061
|
+
},
|
1062
|
+
{
|
1063
|
+
"name": "index",
|
1064
|
+
"type": "number"
|
1065
|
+
}
|
1066
|
+
]
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"name": "select",
|
1070
|
+
"description": "Emitted when an address is selected",
|
1071
|
+
"arguments": [
|
1072
|
+
{
|
1073
|
+
"name": "item",
|
1074
|
+
"type": "Address"
|
1075
|
+
},
|
1076
|
+
{
|
1077
|
+
"name": "index",
|
1078
|
+
"type": "number"
|
1079
|
+
}
|
1080
|
+
]
|
1081
|
+
},
|
1082
|
+
{
|
1083
|
+
"name": "edit-disabled",
|
1084
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
1085
|
+
"arguments": [
|
1086
|
+
{
|
1087
|
+
"name": "item",
|
1088
|
+
"type": "Address"
|
1089
|
+
},
|
1090
|
+
{
|
1091
|
+
"name": "index",
|
1092
|
+
"type": "number"
|
1093
|
+
}
|
1094
|
+
]
|
1095
|
+
},
|
1096
|
+
{
|
1097
|
+
"name": "select-disabled",
|
1098
|
+
"description": "Emitted when a disabled address is selected",
|
1099
|
+
"arguments": [
|
1100
|
+
{
|
1101
|
+
"name": "item",
|
1102
|
+
"type": "Address"
|
1103
|
+
},
|
1104
|
+
{
|
1105
|
+
"name": "index",
|
1106
|
+
"type": "number"
|
1107
|
+
}
|
1108
|
+
]
|
1109
|
+
},
|
1110
|
+
{
|
1111
|
+
"name": "click-item",
|
1112
|
+
"description": "Emitted when an address item is clicked",
|
1113
|
+
"arguments": [
|
1114
|
+
{
|
1115
|
+
"name": "item",
|
1116
|
+
"type": "Address"
|
1117
|
+
},
|
1118
|
+
{
|
1119
|
+
"name": "index",
|
1120
|
+
"type": "number"
|
1121
|
+
}
|
1122
|
+
]
|
1123
|
+
}
|
1124
|
+
],
|
1125
|
+
"attributes": [
|
1126
|
+
{
|
1127
|
+
"name": "v-model",
|
1128
|
+
"default": "-",
|
1129
|
+
"description": "Id of chosen address",
|
1130
|
+
"options": [],
|
1131
|
+
"value": {
|
1132
|
+
"type": "string",
|
1133
|
+
"kind": "expression"
|
1134
|
+
}
|
1135
|
+
},
|
1136
|
+
{
|
1137
|
+
"name": "list",
|
1138
|
+
"default": "`[]`",
|
1139
|
+
"description": "Address list",
|
1140
|
+
"options": [],
|
1141
|
+
"value": {
|
1142
|
+
"type": "Address[]",
|
1143
|
+
"kind": "expression"
|
1144
|
+
}
|
1145
|
+
},
|
1146
|
+
{
|
1147
|
+
"name": "disabled-list",
|
1148
|
+
"default": "`[]`",
|
1149
|
+
"description": "Disabled address list",
|
1150
|
+
"options": [],
|
1151
|
+
"value": {
|
1152
|
+
"type": "Address[]",
|
1153
|
+
"kind": "expression"
|
1154
|
+
}
|
1155
|
+
},
|
1156
|
+
{
|
1157
|
+
"name": "disabled-text",
|
1158
|
+
"default": "-",
|
1159
|
+
"description": "Disabled text",
|
1160
|
+
"options": [],
|
1161
|
+
"value": {
|
1162
|
+
"type": "string",
|
1163
|
+
"kind": "expression"
|
1164
|
+
}
|
1165
|
+
},
|
1166
|
+
{
|
1167
|
+
"name": "switchable",
|
1168
|
+
"default": "`true`",
|
1169
|
+
"description": "Whether to allow switch address",
|
1170
|
+
"options": [],
|
1171
|
+
"value": {
|
1172
|
+
"type": "boolean",
|
1173
|
+
"kind": "expression"
|
1174
|
+
}
|
1175
|
+
},
|
1176
|
+
{
|
1177
|
+
"name": "add-button-text",
|
1178
|
+
"default": "`Add new address`",
|
1179
|
+
"description": "Add button text",
|
1180
|
+
"options": [],
|
1181
|
+
"value": {
|
1182
|
+
"type": "string",
|
1183
|
+
"kind": "expression"
|
1184
|
+
}
|
1185
|
+
},
|
1186
|
+
{
|
1187
|
+
"name": "default-tag-text",
|
1188
|
+
"default": "-",
|
1189
|
+
"description": "Default tag text",
|
1190
|
+
"options": [],
|
1191
|
+
"value": {
|
1192
|
+
"type": "string",
|
1193
|
+
"kind": "expression"
|
1194
|
+
}
|
1195
|
+
}
|
1196
|
+
]
|
1197
|
+
},
|
1198
|
+
{
|
1199
|
+
"name": "van-badge",
|
1200
|
+
"slots": [
|
1201
|
+
{
|
1202
|
+
"name": "default",
|
1203
|
+
"description": "Default slot"
|
1204
|
+
},
|
1205
|
+
{
|
1206
|
+
"name": "content",
|
1207
|
+
"description": "Custom badge content"
|
1208
|
+
}
|
1209
|
+
],
|
1210
|
+
"events": [],
|
1211
|
+
"attributes": [
|
1212
|
+
{
|
1213
|
+
"name": "content",
|
1214
|
+
"default": "-",
|
1215
|
+
"description": "Badge content",
|
1216
|
+
"options": [],
|
1217
|
+
"value": {
|
1218
|
+
"type": "number | string",
|
1219
|
+
"kind": "expression"
|
1220
|
+
}
|
1221
|
+
},
|
1222
|
+
{
|
1223
|
+
"name": "color",
|
1224
|
+
"default": "`#ee0a24`",
|
1225
|
+
"description": "Background color",
|
1226
|
+
"options": [],
|
1227
|
+
"value": {
|
1228
|
+
"type": "string",
|
1229
|
+
"kind": "expression"
|
1230
|
+
}
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
"name": "dot",
|
1234
|
+
"default": "`false`",
|
1235
|
+
"description": "Whether to show dot",
|
1236
|
+
"options": [],
|
1237
|
+
"value": {
|
1238
|
+
"type": "boolean",
|
1239
|
+
"kind": "expression"
|
1240
|
+
}
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"name": "max",
|
1244
|
+
"default": "-",
|
1245
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1246
|
+
"options": [],
|
1247
|
+
"value": {
|
1248
|
+
"type": "number | string",
|
1249
|
+
"kind": "expression"
|
1250
|
+
}
|
1251
|
+
},
|
1252
|
+
{
|
1253
|
+
"name": "offset",
|
1254
|
+
"default": "-",
|
1255
|
+
"description": "Offset of badge dot",
|
1256
|
+
"options": [],
|
1257
|
+
"value": {
|
1258
|
+
"type": "[number | string, number | string]",
|
1259
|
+
"kind": "expression"
|
1260
|
+
}
|
1261
|
+
},
|
1262
|
+
{
|
1263
|
+
"name": "show-zero",
|
1264
|
+
"default": "`true`",
|
1265
|
+
"description": "Whether to show badge when content is zero",
|
1266
|
+
"options": [],
|
1267
|
+
"value": {
|
1268
|
+
"type": "boolean",
|
1269
|
+
"kind": "expression"
|
1270
|
+
}
|
1271
1271
|
},
|
1272
1272
|
{
|
1273
1273
|
"name": "position",
|
@@ -2464,7 +2464,7 @@
|
|
2464
2464
|
},
|
2465
2465
|
{
|
2466
2466
|
"name": "center",
|
2467
|
-
"default": "`
|
2467
|
+
"default": "`false`",
|
2468
2468
|
"description": "Whether to center content vertically",
|
2469
2469
|
"options": [],
|
2470
2470
|
"value": {
|
@@ -4288,6 +4288,16 @@
|
|
4288
4288
|
"kind": "expression"
|
4289
4289
|
}
|
4290
4290
|
},
|
4291
|
+
{
|
4292
|
+
"name": "cancel-button-disabled",
|
4293
|
+
"default": "`false`",
|
4294
|
+
"description": "Whether to disable cancel button",
|
4295
|
+
"options": [],
|
4296
|
+
"value": {
|
4297
|
+
"type": "boolean",
|
4298
|
+
"kind": "expression"
|
4299
|
+
}
|
4300
|
+
},
|
4291
4301
|
{
|
4292
4302
|
"name": "confirm-button-text",
|
4293
4303
|
"default": "`Confirm`",
|
@@ -4308,6 +4318,16 @@
|
|
4308
4318
|
"kind": "expression"
|
4309
4319
|
}
|
4310
4320
|
},
|
4321
|
+
{
|
4322
|
+
"name": "confirm-button-disabled",
|
4323
|
+
"default": "`false`",
|
4324
|
+
"description": "Whether to disable confirm button",
|
4325
|
+
"options": [],
|
4326
|
+
"value": {
|
4327
|
+
"type": "boolean",
|
4328
|
+
"kind": "expression"
|
4329
|
+
}
|
4330
|
+
},
|
4311
4331
|
{
|
4312
4332
|
"name": "overlay",
|
4313
4333
|
"default": "`true`",
|
@@ -4421,40 +4441,82 @@
|
|
4421
4441
|
]
|
4422
4442
|
},
|
4423
4443
|
{
|
4424
|
-
"name": "van-
|
4425
|
-
"slots": [
|
4444
|
+
"name": "van-divider",
|
4445
|
+
"slots": [
|
4446
|
+
{
|
4447
|
+
"name": "default",
|
4448
|
+
"description": "content"
|
4449
|
+
}
|
4450
|
+
],
|
4426
4451
|
"events": [],
|
4427
4452
|
"attributes": [
|
4428
4453
|
{
|
4429
|
-
"name": "
|
4430
|
-
"default": "
|
4431
|
-
"description": "
|
4454
|
+
"name": "dashed",
|
4455
|
+
"default": "`false`",
|
4456
|
+
"description": "Whether to use dashed border",
|
4432
4457
|
"options": [],
|
4433
4458
|
"value": {
|
4434
|
-
"type": "
|
4459
|
+
"type": "boolean",
|
4435
4460
|
"kind": "expression"
|
4436
4461
|
}
|
4437
4462
|
},
|
4438
4463
|
{
|
4439
|
-
"name": "
|
4440
|
-
"default": "`
|
4441
|
-
"description": "
|
4464
|
+
"name": "hairline",
|
4465
|
+
"default": "`true`",
|
4466
|
+
"description": "Whether to use hairline",
|
4442
4467
|
"options": [],
|
4443
4468
|
"value": {
|
4444
|
-
"type": "
|
4469
|
+
"type": "boolean",
|
4445
4470
|
"kind": "expression"
|
4446
4471
|
}
|
4447
4472
|
},
|
4448
4473
|
{
|
4449
|
-
"name": "
|
4450
|
-
"default": "`
|
4451
|
-
"description": "
|
4474
|
+
"name": "content-position",
|
4475
|
+
"default": "`center`",
|
4476
|
+
"description": "Content position, can be set to `left` `right`",
|
4452
4477
|
"options": [],
|
4453
4478
|
"value": {
|
4454
|
-
"type": "
|
4479
|
+
"type": "string",
|
4455
4480
|
"kind": "expression"
|
4456
4481
|
}
|
4457
|
-
}
|
4482
|
+
}
|
4483
|
+
]
|
4484
|
+
},
|
4485
|
+
{
|
4486
|
+
"name": "van-dropdown-menu",
|
4487
|
+
"slots": [],
|
4488
|
+
"events": [],
|
4489
|
+
"attributes": [
|
4490
|
+
{
|
4491
|
+
"name": "active-color",
|
4492
|
+
"default": "`#ee0a24`",
|
4493
|
+
"description": "Active color of title and option",
|
4494
|
+
"options": [],
|
4495
|
+
"value": {
|
4496
|
+
"type": "string",
|
4497
|
+
"kind": "expression"
|
4498
|
+
}
|
4499
|
+
},
|
4500
|
+
{
|
4501
|
+
"name": "direction",
|
4502
|
+
"default": "`down`",
|
4503
|
+
"description": "Expand direction, can be set to `up`",
|
4504
|
+
"options": [],
|
4505
|
+
"value": {
|
4506
|
+
"type": "string",
|
4507
|
+
"kind": "expression"
|
4508
|
+
}
|
4509
|
+
},
|
4510
|
+
{
|
4511
|
+
"name": "z-index",
|
4512
|
+
"default": "`10`",
|
4513
|
+
"description": "z-index of menu item",
|
4514
|
+
"options": [],
|
4515
|
+
"value": {
|
4516
|
+
"type": "number | string",
|
4517
|
+
"kind": "expression"
|
4518
|
+
}
|
4519
|
+
},
|
4458
4520
|
{
|
4459
4521
|
"name": "duration",
|
4460
4522
|
"default": "`0.2`",
|
@@ -4614,48 +4676,6 @@
|
|
4614
4676
|
}
|
4615
4677
|
]
|
4616
4678
|
},
|
4617
|
-
{
|
4618
|
-
"name": "van-divider",
|
4619
|
-
"slots": [
|
4620
|
-
{
|
4621
|
-
"name": "default",
|
4622
|
-
"description": "content"
|
4623
|
-
}
|
4624
|
-
],
|
4625
|
-
"events": [],
|
4626
|
-
"attributes": [
|
4627
|
-
{
|
4628
|
-
"name": "dashed",
|
4629
|
-
"default": "`false`",
|
4630
|
-
"description": "Whether to use dashed border",
|
4631
|
-
"options": [],
|
4632
|
-
"value": {
|
4633
|
-
"type": "boolean",
|
4634
|
-
"kind": "expression"
|
4635
|
-
}
|
4636
|
-
},
|
4637
|
-
{
|
4638
|
-
"name": "hairline",
|
4639
|
-
"default": "`true`",
|
4640
|
-
"description": "Whether to use hairline",
|
4641
|
-
"options": [],
|
4642
|
-
"value": {
|
4643
|
-
"type": "boolean",
|
4644
|
-
"kind": "expression"
|
4645
|
-
}
|
4646
|
-
},
|
4647
|
-
{
|
4648
|
-
"name": "content-position",
|
4649
|
-
"default": "`center`",
|
4650
|
-
"description": "Content position, can be set to `left` `right`",
|
4651
|
-
"options": [],
|
4652
|
-
"value": {
|
4653
|
-
"type": "string",
|
4654
|
-
"kind": "expression"
|
4655
|
-
}
|
4656
|
-
}
|
4657
|
-
]
|
4658
|
-
},
|
4659
4679
|
{
|
4660
4680
|
"name": "van-empty",
|
4661
4681
|
"slots": [
|
@@ -5693,149 +5713,128 @@
|
|
5693
5713
|
]
|
5694
5714
|
},
|
5695
5715
|
{
|
5696
|
-
"name": "van-image
|
5716
|
+
"name": "van-image",
|
5697
5717
|
"slots": [
|
5698
5718
|
{
|
5699
|
-
"name": "
|
5700
|
-
"description": "Custom
|
5719
|
+
"name": "default",
|
5720
|
+
"description": "Custom the content below the image"
|
5701
5721
|
},
|
5702
5722
|
{
|
5703
|
-
"name": "
|
5704
|
-
"description": "Custom
|
5723
|
+
"name": "loading",
|
5724
|
+
"description": "Custom loading placeholder"
|
5725
|
+
},
|
5726
|
+
{
|
5727
|
+
"name": "error",
|
5728
|
+
"description": "Custom error placeholder"
|
5705
5729
|
}
|
5706
5730
|
],
|
5707
5731
|
"events": [
|
5708
5732
|
{
|
5709
|
-
"name": "
|
5710
|
-
"description": "Emitted when
|
5733
|
+
"name": "click",
|
5734
|
+
"description": "Emitted when image is clicked",
|
5711
5735
|
"arguments": [
|
5712
5736
|
{
|
5713
|
-
"name": "
|
5714
|
-
"type": "
|
5737
|
+
"name": "event",
|
5738
|
+
"type": "MouseEvent"
|
5715
5739
|
}
|
5716
5740
|
]
|
5717
5741
|
},
|
5718
5742
|
{
|
5719
|
-
"name": "
|
5720
|
-
"description": "Emitted when
|
5743
|
+
"name": "load",
|
5744
|
+
"description": "Emitted when image loaded",
|
5721
5745
|
"arguments": []
|
5722
5746
|
},
|
5723
5747
|
{
|
5724
|
-
"name": "
|
5725
|
-
"description": "Emitted when
|
5726
|
-
"arguments": [
|
5727
|
-
{
|
5728
|
-
"name": "index",
|
5729
|
-
"type": "number"
|
5730
|
-
}
|
5731
|
-
]
|
5732
|
-
},
|
5733
|
-
{
|
5734
|
-
"name": "scale",
|
5735
|
-
"description": "Emitted when scaling current image",
|
5736
|
-
"arguments": [
|
5737
|
-
{
|
5738
|
-
"name": "value",
|
5739
|
-
"type": "ImagePreviewScaleEventParams"
|
5740
|
-
}
|
5741
|
-
]
|
5742
|
-
},
|
5743
|
-
{
|
5744
|
-
"name": "scale",
|
5745
|
-
"description": "Emitted when scaling current image",
|
5746
|
-
"arguments": [
|
5747
|
-
{
|
5748
|
-
"name": "value",
|
5749
|
-
"type": "ImagePreviewScaleEventParams"
|
5750
|
-
}
|
5751
|
-
]
|
5748
|
+
"name": "error",
|
5749
|
+
"description": "Emitted when image load failed",
|
5750
|
+
"arguments": []
|
5752
5751
|
}
|
5753
5752
|
],
|
5754
5753
|
"attributes": [
|
5755
5754
|
{
|
5756
|
-
"name": "
|
5757
|
-
"default": "
|
5758
|
-
"description": "
|
5755
|
+
"name": "src",
|
5756
|
+
"default": "-",
|
5757
|
+
"description": "Src",
|
5759
5758
|
"options": [],
|
5760
5759
|
"value": {
|
5761
|
-
"type": "
|
5760
|
+
"type": "string",
|
5762
5761
|
"kind": "expression"
|
5763
5762
|
}
|
5764
5763
|
},
|
5765
5764
|
{
|
5766
|
-
"name": "
|
5767
|
-
"default": "`
|
5768
|
-
"description": "
|
5765
|
+
"name": "fit",
|
5766
|
+
"default": "`fill`",
|
5767
|
+
"description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)",
|
5769
5768
|
"options": [],
|
5770
5769
|
"value": {
|
5771
|
-
"type": "string
|
5770
|
+
"type": "string",
|
5772
5771
|
"kind": "expression"
|
5773
5772
|
}
|
5774
5773
|
},
|
5775
5774
|
{
|
5776
|
-
"name": "
|
5777
|
-
"default": "`
|
5778
|
-
"description": "
|
5775
|
+
"name": "position",
|
5776
|
+
"default": "`center`",
|
5777
|
+
"description": "Position, same as [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position), can be set to `top` `right` `bottom` `left` or `string`",
|
5779
5778
|
"options": [],
|
5780
5779
|
"value": {
|
5781
|
-
"type": "
|
5780
|
+
"type": "string",
|
5782
5781
|
"kind": "expression"
|
5783
5782
|
}
|
5784
5783
|
},
|
5785
5784
|
{
|
5786
|
-
"name": "
|
5787
|
-
"default": "
|
5788
|
-
"description": "
|
5785
|
+
"name": "alt",
|
5786
|
+
"default": "-",
|
5787
|
+
"description": "Alt",
|
5789
5788
|
"options": [],
|
5790
5789
|
"value": {
|
5791
|
-
"type": "
|
5790
|
+
"type": "string",
|
5792
5791
|
"kind": "expression"
|
5793
5792
|
}
|
5794
5793
|
},
|
5795
5794
|
{
|
5796
|
-
"name": "
|
5797
|
-
"default": "
|
5798
|
-
"description": "
|
5795
|
+
"name": "width",
|
5796
|
+
"default": "-",
|
5797
|
+
"description": "Width",
|
5799
5798
|
"options": [],
|
5800
5799
|
"value": {
|
5801
|
-
"type": "
|
5800
|
+
"type": "number | string",
|
5802
5801
|
"kind": "expression"
|
5803
5802
|
}
|
5804
5803
|
},
|
5805
5804
|
{
|
5806
|
-
"name": "
|
5807
|
-
"default": "
|
5808
|
-
"description": "
|
5805
|
+
"name": "height",
|
5806
|
+
"default": "-",
|
5807
|
+
"description": "Height",
|
5809
5808
|
"options": [],
|
5810
5809
|
"value": {
|
5811
|
-
"type": "
|
5810
|
+
"type": "number | string",
|
5812
5811
|
"kind": "expression"
|
5813
5812
|
}
|
5814
5813
|
},
|
5815
5814
|
{
|
5816
|
-
"name": "
|
5817
|
-
"default": "`
|
5818
|
-
"description": "
|
5815
|
+
"name": "radius",
|
5816
|
+
"default": "`0`",
|
5817
|
+
"description": "Border Radius",
|
5819
5818
|
"options": [],
|
5820
5819
|
"value": {
|
5821
|
-
"type": "
|
5820
|
+
"type": "number | string",
|
5822
5821
|
"kind": "expression"
|
5823
5822
|
}
|
5824
5823
|
},
|
5825
5824
|
{
|
5826
|
-
"name": "
|
5827
|
-
"default": "
|
5828
|
-
"description": "
|
5825
|
+
"name": "round",
|
5826
|
+
"default": "`false`",
|
5827
|
+
"description": "Whether to be round",
|
5829
5828
|
"options": [],
|
5830
5829
|
"value": {
|
5831
|
-
"type": "
|
5830
|
+
"type": "boolean",
|
5832
5831
|
"kind": "expression"
|
5833
5832
|
}
|
5834
5833
|
},
|
5835
5834
|
{
|
5836
|
-
"name": "
|
5837
|
-
"default": "`
|
5838
|
-
"description": "Whether to
|
5835
|
+
"name": "lazy-load",
|
5836
|
+
"default": "`false`",
|
5837
|
+
"description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component",
|
5839
5838
|
"options": [],
|
5840
5839
|
"value": {
|
5841
5840
|
"type": "boolean",
|
@@ -5843,210 +5842,231 @@
|
|
5843
5842
|
}
|
5844
5843
|
},
|
5845
5844
|
{
|
5846
|
-
"name": "
|
5847
|
-
"default": "
|
5848
|
-
"description": "
|
5845
|
+
"name": "show-error",
|
5846
|
+
"default": "`true`",
|
5847
|
+
"description": "Whether to show error placeholder",
|
5849
5848
|
"options": [],
|
5850
5849
|
"value": {
|
5851
|
-
"type": "
|
5850
|
+
"type": "boolean",
|
5852
5851
|
"kind": "expression"
|
5853
5852
|
}
|
5854
5853
|
},
|
5855
5854
|
{
|
5856
|
-
"name": "
|
5857
|
-
"default": "`
|
5858
|
-
"description": "
|
5855
|
+
"name": "show-loading",
|
5856
|
+
"default": "`true`",
|
5857
|
+
"description": "Whether to show loading placeholder",
|
5859
5858
|
"options": [],
|
5860
5859
|
"value": {
|
5861
|
-
"type": "
|
5860
|
+
"type": "boolean",
|
5862
5861
|
"kind": "expression"
|
5863
5862
|
}
|
5864
5863
|
},
|
5865
5864
|
{
|
5866
|
-
"name": "
|
5867
|
-
"default": "`
|
5868
|
-
"description": "
|
5865
|
+
"name": "error-icon",
|
5866
|
+
"default": "`photo-fail`",
|
5867
|
+
"description": "Error icon",
|
5869
5868
|
"options": [],
|
5870
5869
|
"value": {
|
5871
|
-
"type": "
|
5870
|
+
"type": "string",
|
5872
5871
|
"kind": "expression"
|
5873
5872
|
}
|
5874
5873
|
},
|
5875
5874
|
{
|
5876
|
-
"name": "
|
5877
|
-
"default": "`
|
5878
|
-
"description": "
|
5875
|
+
"name": "loading-icon",
|
5876
|
+
"default": "`photo`",
|
5877
|
+
"description": "Loading icon",
|
5879
5878
|
"options": [],
|
5880
5879
|
"value": {
|
5881
|
-
"type": "
|
5880
|
+
"type": "string",
|
5882
5881
|
"kind": "expression"
|
5883
5882
|
}
|
5884
5883
|
},
|
5885
5884
|
{
|
5886
|
-
"name": "
|
5887
|
-
"default": "`
|
5888
|
-
"description": "
|
5885
|
+
"name": "icon-size",
|
5886
|
+
"default": "`32px`",
|
5887
|
+
"description": "Icon size",
|
5889
5888
|
"options": [],
|
5890
5889
|
"value": {
|
5891
|
-
"type": "string",
|
5890
|
+
"type": "number | string",
|
5892
5891
|
"kind": "expression"
|
5893
5892
|
}
|
5894
5893
|
},
|
5895
5894
|
{
|
5896
|
-
"name": "
|
5897
|
-
"default": "`
|
5898
|
-
"description": "
|
5895
|
+
"name": "icon-prefix",
|
5896
|
+
"default": "`van-icon`",
|
5897
|
+
"description": "Icon className prefix",
|
5899
5898
|
"options": [],
|
5900
5899
|
"value": {
|
5901
5900
|
"type": "string",
|
5902
5901
|
"kind": "expression"
|
5903
5902
|
}
|
5904
|
-
},
|
5905
|
-
{
|
5906
|
-
"name": "transition",
|
5907
|
-
"default": "`van-fade`",
|
5908
|
-
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
5909
|
-
"options": [],
|
5910
|
-
"value": {
|
5911
|
-
"type": "string",
|
5912
|
-
"kind": "expression"
|
5913
|
-
}
|
5914
|
-
},
|
5915
|
-
{
|
5916
|
-
"name": "overlay-class",
|
5917
|
-
"default": "-",
|
5918
|
-
"description": "Custom overlay class",
|
5919
|
-
"options": [],
|
5920
|
-
"value": {
|
5921
|
-
"type": "string | Array | object",
|
5922
|
-
"kind": "expression"
|
5923
|
-
}
|
5924
|
-
},
|
5925
|
-
{
|
5926
|
-
"name": "overlay-style",
|
5927
|
-
"default": "-",
|
5928
|
-
"description": "Custom overlay style",
|
5929
|
-
"options": [],
|
5930
|
-
"value": {
|
5931
|
-
"type": "object",
|
5932
|
-
"kind": "expression"
|
5933
|
-
}
|
5934
|
-
},
|
5935
|
-
{
|
5936
|
-
"name": "teleport",
|
5937
|
-
"default": "-",
|
5938
|
-
"description": "Specifies a target element where ImagePreview will be mounted",
|
5939
|
-
"options": [],
|
5940
|
-
"value": {
|
5941
|
-
"type": "string | Element",
|
5942
|
-
"kind": "expression"
|
5943
|
-
}
|
5944
5903
|
}
|
5945
5904
|
]
|
5946
5905
|
},
|
5947
5906
|
{
|
5948
|
-
"name": "van-image",
|
5907
|
+
"name": "van-image-preview",
|
5949
5908
|
"slots": [
|
5950
5909
|
{
|
5951
|
-
"name": "
|
5952
|
-
"description": "Custom
|
5953
|
-
},
|
5954
|
-
{
|
5955
|
-
"name": "loading",
|
5956
|
-
"description": "Custom loading placeholder"
|
5910
|
+
"name": "index",
|
5911
|
+
"description": "Custom index"
|
5957
5912
|
},
|
5958
5913
|
{
|
5959
|
-
"name": "
|
5960
|
-
"description": "Custom
|
5914
|
+
"name": "cover",
|
5915
|
+
"description": "Custom content that covers the image preview"
|
5961
5916
|
}
|
5962
5917
|
],
|
5963
5918
|
"events": [
|
5964
5919
|
{
|
5965
|
-
"name": "
|
5966
|
-
"description": "Emitted when
|
5920
|
+
"name": "close",
|
5921
|
+
"description": "Emitted when closing ImagePreview",
|
5967
5922
|
"arguments": [
|
5968
5923
|
{
|
5969
|
-
"name": "
|
5970
|
-
"type": "
|
5924
|
+
"name": "value",
|
5925
|
+
"type": "{ index, url }"
|
5971
5926
|
}
|
5972
5927
|
]
|
5973
5928
|
},
|
5974
5929
|
{
|
5975
|
-
"name": "
|
5976
|
-
"description": "Emitted when
|
5930
|
+
"name": "closed",
|
5931
|
+
"description": "Emitted when ImagePreview is closed",
|
5977
5932
|
"arguments": []
|
5978
5933
|
},
|
5979
5934
|
{
|
5980
|
-
"name": "
|
5981
|
-
"description": "Emitted when image
|
5982
|
-
"arguments": [
|
5935
|
+
"name": "change",
|
5936
|
+
"description": "Emitted when current image changed",
|
5937
|
+
"arguments": [
|
5938
|
+
{
|
5939
|
+
"name": "index",
|
5940
|
+
"type": "number"
|
5941
|
+
}
|
5942
|
+
]
|
5943
|
+
},
|
5944
|
+
{
|
5945
|
+
"name": "scale",
|
5946
|
+
"description": "Emitted when scaling current image",
|
5947
|
+
"arguments": [
|
5948
|
+
{
|
5949
|
+
"name": "value",
|
5950
|
+
"type": "ImagePreviewScaleEventParams"
|
5951
|
+
}
|
5952
|
+
]
|
5953
|
+
},
|
5954
|
+
{
|
5955
|
+
"name": "scale",
|
5956
|
+
"description": "Emitted when scaling current image",
|
5957
|
+
"arguments": [
|
5958
|
+
{
|
5959
|
+
"name": "value",
|
5960
|
+
"type": "ImagePreviewScaleEventParams"
|
5961
|
+
}
|
5962
|
+
]
|
5983
5963
|
}
|
5984
5964
|
],
|
5985
5965
|
"attributes": [
|
5986
5966
|
{
|
5987
|
-
"name": "
|
5988
|
-
"default": "
|
5989
|
-
"description": "
|
5967
|
+
"name": "v-model:show",
|
5968
|
+
"default": "`false`",
|
5969
|
+
"description": "Whether to show ImagePreview",
|
5990
5970
|
"options": [],
|
5991
5971
|
"value": {
|
5992
|
-
"type": "
|
5972
|
+
"type": "boolean",
|
5993
5973
|
"kind": "expression"
|
5994
5974
|
}
|
5995
5975
|
},
|
5996
5976
|
{
|
5997
|
-
"name": "
|
5998
|
-
"default": "`
|
5999
|
-
"description": "
|
5977
|
+
"name": "images",
|
5978
|
+
"default": "`[]`",
|
5979
|
+
"description": "Images URL list",
|
6000
5980
|
"options": [],
|
6001
5981
|
"value": {
|
6002
|
-
"type": "string",
|
5982
|
+
"type": "string[]",
|
6003
5983
|
"kind": "expression"
|
6004
5984
|
}
|
6005
5985
|
},
|
6006
5986
|
{
|
6007
|
-
"name": "position",
|
6008
|
-
"default": "`
|
6009
|
-
"description": "
|
5987
|
+
"name": "start-position",
|
5988
|
+
"default": "`0`",
|
5989
|
+
"description": "Start position",
|
6010
5990
|
"options": [],
|
6011
5991
|
"value": {
|
6012
|
-
"type": "string",
|
5992
|
+
"type": "number | string",
|
6013
5993
|
"kind": "expression"
|
6014
5994
|
}
|
6015
5995
|
},
|
6016
5996
|
{
|
6017
|
-
"name": "
|
6018
|
-
"default": "
|
6019
|
-
"description": "
|
5997
|
+
"name": "swipe-duration",
|
5998
|
+
"default": "`300`",
|
5999
|
+
"description": "Animation duration (ms)",
|
6020
6000
|
"options": [],
|
6021
6001
|
"value": {
|
6022
|
-
"type": "string",
|
6002
|
+
"type": "number | string",
|
6023
6003
|
"kind": "expression"
|
6024
6004
|
}
|
6025
6005
|
},
|
6026
6006
|
{
|
6027
|
-
"name": "
|
6007
|
+
"name": "show-index",
|
6008
|
+
"default": "`true`",
|
6009
|
+
"description": "Whether to show index",
|
6010
|
+
"options": [],
|
6011
|
+
"value": {
|
6012
|
+
"type": "boolean",
|
6013
|
+
"kind": "expression"
|
6014
|
+
}
|
6015
|
+
},
|
6016
|
+
{
|
6017
|
+
"name": "show-indicators",
|
6018
|
+
"default": "`false`",
|
6019
|
+
"description": "Whether to show indicators",
|
6020
|
+
"options": [],
|
6021
|
+
"value": {
|
6022
|
+
"type": "boolean",
|
6023
|
+
"kind": "expression"
|
6024
|
+
}
|
6025
|
+
},
|
6026
|
+
{
|
6027
|
+
"name": "loop",
|
6028
|
+
"default": "`true`",
|
6029
|
+
"description": "Whether to enable loop",
|
6030
|
+
"options": [],
|
6031
|
+
"value": {
|
6032
|
+
"type": "boolean",
|
6033
|
+
"kind": "expression"
|
6034
|
+
}
|
6035
|
+
},
|
6036
|
+
{
|
6037
|
+
"name": "before-close",
|
6028
6038
|
"default": "-",
|
6029
|
-
"description": "
|
6039
|
+
"description": "Callback function before close",
|
6030
6040
|
"options": [],
|
6031
6041
|
"value": {
|
6032
|
-
"type": "number |
|
6042
|
+
"type": "(action: number) => boolean | Promise\\<boolean\\>",
|
6033
6043
|
"kind": "expression"
|
6034
6044
|
}
|
6035
6045
|
},
|
6036
6046
|
{
|
6037
|
-
"name": "
|
6047
|
+
"name": "close-on-popstate",
|
6048
|
+
"default": "`true`",
|
6049
|
+
"description": "Whether to close when popstate",
|
6050
|
+
"options": [],
|
6051
|
+
"value": {
|
6052
|
+
"type": "boolean",
|
6053
|
+
"kind": "expression"
|
6054
|
+
}
|
6055
|
+
},
|
6056
|
+
{
|
6057
|
+
"name": "class-name",
|
6038
6058
|
"default": "-",
|
6039
|
-
"description": "
|
6059
|
+
"description": "Custom className",
|
6040
6060
|
"options": [],
|
6041
6061
|
"value": {
|
6042
|
-
"type": "
|
6062
|
+
"type": "string | Array | object",
|
6043
6063
|
"kind": "expression"
|
6044
6064
|
}
|
6045
6065
|
},
|
6046
6066
|
{
|
6047
|
-
"name": "
|
6048
|
-
"default": "`
|
6049
|
-
"description": "
|
6067
|
+
"name": "max-zoom",
|
6068
|
+
"default": "`3`",
|
6069
|
+
"description": "Max zoom",
|
6050
6070
|
"options": [],
|
6051
6071
|
"value": {
|
6052
6072
|
"type": "number | string",
|
@@ -6054,19 +6074,19 @@
|
|
6054
6074
|
}
|
6055
6075
|
},
|
6056
6076
|
{
|
6057
|
-
"name": "
|
6058
|
-
"default": "`
|
6059
|
-
"description": "
|
6077
|
+
"name": "min-zoom",
|
6078
|
+
"default": "`1/3`",
|
6079
|
+
"description": "Min zoom",
|
6060
6080
|
"options": [],
|
6061
6081
|
"value": {
|
6062
|
-
"type": "
|
6082
|
+
"type": "number | string",
|
6063
6083
|
"kind": "expression"
|
6064
6084
|
}
|
6065
6085
|
},
|
6066
6086
|
{
|
6067
|
-
"name": "
|
6087
|
+
"name": "closeable",
|
6068
6088
|
"default": "`false`",
|
6069
|
-
"description": "Whether to
|
6089
|
+
"description": "Whether to show close icon",
|
6070
6090
|
"options": [],
|
6071
6091
|
"value": {
|
6072
6092
|
"type": "boolean",
|
@@ -6074,29 +6094,29 @@
|
|
6074
6094
|
}
|
6075
6095
|
},
|
6076
6096
|
{
|
6077
|
-
"name": "
|
6078
|
-
"default": "`
|
6079
|
-
"description": "
|
6097
|
+
"name": "close-icon",
|
6098
|
+
"default": "`clear`",
|
6099
|
+
"description": "Close icon name",
|
6080
6100
|
"options": [],
|
6081
6101
|
"value": {
|
6082
|
-
"type": "
|
6102
|
+
"type": "string",
|
6083
6103
|
"kind": "expression"
|
6084
6104
|
}
|
6085
6105
|
},
|
6086
6106
|
{
|
6087
|
-
"name": "
|
6088
|
-
"default": "`
|
6089
|
-
"description": "
|
6107
|
+
"name": "close-icon-position",
|
6108
|
+
"default": "`top-right`",
|
6109
|
+
"description": "Close icon position, can be set to `top-left` `bottom-left` `bottom-right`",
|
6090
6110
|
"options": [],
|
6091
6111
|
"value": {
|
6092
|
-
"type": "
|
6112
|
+
"type": "string",
|
6093
6113
|
"kind": "expression"
|
6094
6114
|
}
|
6095
6115
|
},
|
6096
6116
|
{
|
6097
|
-
"name": "
|
6098
|
-
"default": "`
|
6099
|
-
"description": "
|
6117
|
+
"name": "transition",
|
6118
|
+
"default": "`van-fade`",
|
6119
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
6100
6120
|
"options": [],
|
6101
6121
|
"value": {
|
6102
6122
|
"type": "string",
|
@@ -6104,32 +6124,32 @@
|
|
6104
6124
|
}
|
6105
6125
|
},
|
6106
6126
|
{
|
6107
|
-
"name": "
|
6108
|
-
"default": "
|
6109
|
-
"description": "
|
6127
|
+
"name": "overlay-class",
|
6128
|
+
"default": "-",
|
6129
|
+
"description": "Custom overlay class",
|
6110
6130
|
"options": [],
|
6111
6131
|
"value": {
|
6112
|
-
"type": "string",
|
6132
|
+
"type": "string | Array | object",
|
6113
6133
|
"kind": "expression"
|
6114
6134
|
}
|
6115
6135
|
},
|
6116
6136
|
{
|
6117
|
-
"name": "
|
6118
|
-
"default": "
|
6119
|
-
"description": "
|
6137
|
+
"name": "overlay-style",
|
6138
|
+
"default": "-",
|
6139
|
+
"description": "Custom overlay style",
|
6120
6140
|
"options": [],
|
6121
6141
|
"value": {
|
6122
|
-
"type": "
|
6142
|
+
"type": "object",
|
6123
6143
|
"kind": "expression"
|
6124
6144
|
}
|
6125
6145
|
},
|
6126
6146
|
{
|
6127
|
-
"name": "
|
6128
|
-
"default": "
|
6129
|
-
"description": "
|
6147
|
+
"name": "teleport",
|
6148
|
+
"default": "-",
|
6149
|
+
"description": "Specifies a target element where ImagePreview will be mounted",
|
6130
6150
|
"options": [],
|
6131
6151
|
"value": {
|
6132
|
-
"type": "string",
|
6152
|
+
"type": "string | Element",
|
6133
6153
|
"kind": "expression"
|
6134
6154
|
}
|
6135
6155
|
}
|
@@ -6931,60 +6951,63 @@
|
|
6931
6951
|
]
|
6932
6952
|
},
|
6933
6953
|
{
|
6934
|
-
"name": "van-
|
6954
|
+
"name": "van-pagination",
|
6935
6955
|
"slots": [
|
6936
6956
|
{
|
6937
|
-
"name": "
|
6938
|
-
"description": "
|
6957
|
+
"name": "page",
|
6958
|
+
"description": "Custom pagination item"
|
6959
|
+
},
|
6960
|
+
{
|
6961
|
+
"name": "prev-text",
|
6962
|
+
"description": "Custom prev text"
|
6963
|
+
},
|
6964
|
+
{
|
6965
|
+
"name": "next-text",
|
6966
|
+
"description": "Custom next text"
|
6939
6967
|
}
|
6940
6968
|
],
|
6941
6969
|
"events": [
|
6942
6970
|
{
|
6943
|
-
"name": "
|
6944
|
-
"description": "Emitted when
|
6945
|
-
"arguments": [
|
6946
|
-
{
|
6947
|
-
"name": "event",
|
6948
|
-
"type": "MouseEvent"
|
6949
|
-
}
|
6950
|
-
]
|
6971
|
+
"name": "change",
|
6972
|
+
"description": "Emitted when current page changed",
|
6973
|
+
"arguments": []
|
6951
6974
|
}
|
6952
6975
|
],
|
6953
6976
|
"attributes": [
|
6954
6977
|
{
|
6955
|
-
"name": "
|
6956
|
-
"default": "
|
6957
|
-
"description": "
|
6978
|
+
"name": "v-model",
|
6979
|
+
"default": "-",
|
6980
|
+
"description": "Current page number",
|
6958
6981
|
"options": [],
|
6959
6982
|
"value": {
|
6960
|
-
"type": "
|
6983
|
+
"type": "number",
|
6961
6984
|
"kind": "expression"
|
6962
6985
|
}
|
6963
6986
|
},
|
6964
6987
|
{
|
6965
|
-
"name": "
|
6966
|
-
"default": "`
|
6967
|
-
"description": "
|
6988
|
+
"name": "mode",
|
6989
|
+
"default": "`multi`",
|
6990
|
+
"description": "Mode, can be set to `simple` `multi`",
|
6968
6991
|
"options": [],
|
6969
6992
|
"value": {
|
6970
|
-
"type": "
|
6993
|
+
"type": "string",
|
6971
6994
|
"kind": "expression"
|
6972
6995
|
}
|
6973
6996
|
},
|
6974
6997
|
{
|
6975
|
-
"name": "
|
6976
|
-
"default": "`
|
6977
|
-
"description": "
|
6998
|
+
"name": "prev-text",
|
6999
|
+
"default": "`Previous`",
|
7000
|
+
"description": "Previous text",
|
6978
7001
|
"options": [],
|
6979
7002
|
"value": {
|
6980
|
-
"type": "
|
7003
|
+
"type": "string",
|
6981
7004
|
"kind": "expression"
|
6982
7005
|
}
|
6983
7006
|
},
|
6984
7007
|
{
|
6985
|
-
"name": "
|
6986
|
-
"default": "
|
6987
|
-
"description": "
|
7008
|
+
"name": "next-text",
|
7009
|
+
"default": "`Next`",
|
7010
|
+
"description": "Next text",
|
6988
7011
|
"options": [],
|
6989
7012
|
"value": {
|
6990
7013
|
"type": "string",
|
@@ -6992,29 +7015,49 @@
|
|
6992
7015
|
}
|
6993
7016
|
},
|
6994
7017
|
{
|
6995
|
-
"name": "
|
6996
|
-
"default": "
|
6997
|
-
"description": "
|
7018
|
+
"name": "total-items",
|
7019
|
+
"default": "`0`",
|
7020
|
+
"description": "Total items",
|
6998
7021
|
"options": [],
|
6999
7022
|
"value": {
|
7000
|
-
"type": "
|
7023
|
+
"type": "number | string",
|
7001
7024
|
"kind": "expression"
|
7002
7025
|
}
|
7003
7026
|
},
|
7004
7027
|
{
|
7005
|
-
"name": "
|
7006
|
-
"default": "`
|
7007
|
-
"description": "
|
7028
|
+
"name": "items-per-page",
|
7029
|
+
"default": "`10`",
|
7030
|
+
"description": "Item number per page",
|
7008
7031
|
"options": [],
|
7009
7032
|
"value": {
|
7010
|
-
"type": "
|
7033
|
+
"type": "number | string",
|
7011
7034
|
"kind": "expression"
|
7012
7035
|
}
|
7013
7036
|
},
|
7014
7037
|
{
|
7015
|
-
"name": "
|
7016
|
-
"default": "
|
7017
|
-
"description": "
|
7038
|
+
"name": "page-count",
|
7039
|
+
"default": "`-`",
|
7040
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
|
7041
|
+
"options": [],
|
7042
|
+
"value": {
|
7043
|
+
"type": "number | string",
|
7044
|
+
"kind": "expression"
|
7045
|
+
}
|
7046
|
+
},
|
7047
|
+
{
|
7048
|
+
"name": "show-page-size",
|
7049
|
+
"default": "`5`",
|
7050
|
+
"description": "Count of page size to show",
|
7051
|
+
"options": [],
|
7052
|
+
"value": {
|
7053
|
+
"type": "number | string",
|
7054
|
+
"kind": "expression"
|
7055
|
+
}
|
7056
|
+
},
|
7057
|
+
{
|
7058
|
+
"name": "force-ellipses",
|
7059
|
+
"default": "`false`",
|
7060
|
+
"description": "Whether to show ellipses",
|
7018
7061
|
"options": [],
|
7019
7062
|
"value": {
|
7020
7063
|
"type": "boolean",
|
@@ -7024,73 +7067,50 @@
|
|
7024
7067
|
]
|
7025
7068
|
},
|
7026
7069
|
{
|
7027
|
-
"name": "van-
|
7070
|
+
"name": "van-overlay",
|
7028
7071
|
"slots": [
|
7029
7072
|
{
|
7030
|
-
"name": "
|
7031
|
-
"description": "
|
7032
|
-
},
|
7033
|
-
{
|
7034
|
-
"name": "prev-text",
|
7035
|
-
"description": "Custom prev text"
|
7036
|
-
},
|
7037
|
-
{
|
7038
|
-
"name": "next-text",
|
7039
|
-
"description": "Custom next text"
|
7073
|
+
"name": "default",
|
7074
|
+
"description": "Default slot"
|
7040
7075
|
}
|
7041
7076
|
],
|
7042
7077
|
"events": [
|
7043
7078
|
{
|
7044
|
-
"name": "
|
7045
|
-
"description": "Emitted when
|
7046
|
-
"arguments": [
|
7079
|
+
"name": "click",
|
7080
|
+
"description": "Emitted when component is clicked",
|
7081
|
+
"arguments": [
|
7082
|
+
{
|
7083
|
+
"name": "event",
|
7084
|
+
"type": "MouseEvent"
|
7085
|
+
}
|
7086
|
+
]
|
7047
7087
|
}
|
7048
7088
|
],
|
7049
7089
|
"attributes": [
|
7050
7090
|
{
|
7051
|
-
"name": "
|
7052
|
-
"default": "
|
7053
|
-
"description": "
|
7054
|
-
"options": [],
|
7055
|
-
"value": {
|
7056
|
-
"type": "number",
|
7057
|
-
"kind": "expression"
|
7058
|
-
}
|
7059
|
-
},
|
7060
|
-
{
|
7061
|
-
"name": "mode",
|
7062
|
-
"default": "`multi`",
|
7063
|
-
"description": "Mode, can be set to `simple` `multi`",
|
7064
|
-
"options": [],
|
7065
|
-
"value": {
|
7066
|
-
"type": "string",
|
7067
|
-
"kind": "expression"
|
7068
|
-
}
|
7069
|
-
},
|
7070
|
-
{
|
7071
|
-
"name": "prev-text",
|
7072
|
-
"default": "`Previous`",
|
7073
|
-
"description": "Previous text",
|
7091
|
+
"name": "show",
|
7092
|
+
"default": "`false`",
|
7093
|
+
"description": "Whether to show overlay",
|
7074
7094
|
"options": [],
|
7075
7095
|
"value": {
|
7076
|
-
"type": "
|
7096
|
+
"type": "boolean",
|
7077
7097
|
"kind": "expression"
|
7078
7098
|
}
|
7079
7099
|
},
|
7080
7100
|
{
|
7081
|
-
"name": "
|
7082
|
-
"default": "`
|
7083
|
-
"description": "
|
7101
|
+
"name": "z-index",
|
7102
|
+
"default": "`1`",
|
7103
|
+
"description": "z-index",
|
7084
7104
|
"options": [],
|
7085
7105
|
"value": {
|
7086
|
-
"type": "string",
|
7106
|
+
"type": "number | string",
|
7087
7107
|
"kind": "expression"
|
7088
7108
|
}
|
7089
7109
|
},
|
7090
7110
|
{
|
7091
|
-
"name": "
|
7092
|
-
"default": "`0`",
|
7093
|
-
"description": "
|
7111
|
+
"name": "duration",
|
7112
|
+
"default": "`0.3`",
|
7113
|
+
"description": "Animation duration",
|
7094
7114
|
"options": [],
|
7095
7115
|
"value": {
|
7096
7116
|
"type": "number | string",
|
@@ -7098,39 +7118,39 @@
|
|
7098
7118
|
}
|
7099
7119
|
},
|
7100
7120
|
{
|
7101
|
-
"name": "
|
7102
|
-
"default": "
|
7103
|
-
"description": "
|
7121
|
+
"name": "class-name",
|
7122
|
+
"default": "-",
|
7123
|
+
"description": "ClassName",
|
7104
7124
|
"options": [],
|
7105
7125
|
"value": {
|
7106
|
-
"type": "
|
7126
|
+
"type": "string",
|
7107
7127
|
"kind": "expression"
|
7108
7128
|
}
|
7109
7129
|
},
|
7110
7130
|
{
|
7111
|
-
"name": "
|
7112
|
-
"default": "
|
7113
|
-
"description": "
|
7131
|
+
"name": "custom-class",
|
7132
|
+
"default": "-",
|
7133
|
+
"description": "Custom style",
|
7114
7134
|
"options": [],
|
7115
7135
|
"value": {
|
7116
|
-
"type": "
|
7136
|
+
"type": "object",
|
7117
7137
|
"kind": "expression"
|
7118
7138
|
}
|
7119
7139
|
},
|
7120
7140
|
{
|
7121
|
-
"name": "
|
7122
|
-
"default": "`
|
7123
|
-
"description": "
|
7141
|
+
"name": "lock-scroll",
|
7142
|
+
"default": "`true`",
|
7143
|
+
"description": "Whether to lock background scroll",
|
7124
7144
|
"options": [],
|
7125
7145
|
"value": {
|
7126
|
-
"type": "
|
7146
|
+
"type": "boolean",
|
7127
7147
|
"kind": "expression"
|
7128
7148
|
}
|
7129
7149
|
},
|
7130
7150
|
{
|
7131
|
-
"name": "
|
7132
|
-
"default": "`
|
7133
|
-
"description": "Whether to
|
7151
|
+
"name": "lazy-render",
|
7152
|
+
"default": "`true`",
|
7153
|
+
"description": "Whether to lazy render util appeared",
|
7134
7154
|
"options": [],
|
7135
7155
|
"value": {
|
7136
7156
|
"type": "boolean",
|
@@ -7432,74 +7452,72 @@
|
|
7432
7452
|
]
|
7433
7453
|
},
|
7434
7454
|
{
|
7435
|
-
"name": "van-
|
7455
|
+
"name": "van-popover",
|
7436
7456
|
"slots": [
|
7437
7457
|
{
|
7438
7458
|
"name": "default",
|
7439
|
-
"description": "
|
7459
|
+
"description": "Custom content"
|
7440
7460
|
},
|
7441
7461
|
{
|
7442
|
-
"name": "
|
7443
|
-
"description": "
|
7462
|
+
"name": "reference",
|
7463
|
+
"description": "Reference Element"
|
7464
|
+
},
|
7465
|
+
{
|
7466
|
+
"name": "action",
|
7467
|
+
"description": "Custom the content of option"
|
7444
7468
|
}
|
7445
7469
|
],
|
7446
7470
|
"events": [
|
7447
7471
|
{
|
7448
|
-
"name": "
|
7449
|
-
"description": "Emitted when
|
7450
|
-
"arguments": [
|
7451
|
-
{
|
7452
|
-
"name": "event",
|
7453
|
-
"type": "MouseEvent"
|
7454
|
-
}
|
7455
|
-
]
|
7456
|
-
},
|
7457
|
-
{
|
7458
|
-
"name": "click-overlay",
|
7459
|
-
"description": "Emitted when overlay is clicked",
|
7472
|
+
"name": "select",
|
7473
|
+
"description": "Emitted when an action is clicked",
|
7460
7474
|
"arguments": [
|
7461
7475
|
{
|
7462
|
-
"name": "
|
7463
|
-
"type": "
|
7464
|
-
}
|
7465
|
-
]
|
7466
|
-
},
|
7467
|
-
{
|
7468
|
-
"name": "click-close-icon",
|
7469
|
-
"description": "Emitted when close icon is clicked",
|
7470
|
-
"arguments": [
|
7476
|
+
"name": "action",
|
7477
|
+
"type": "PopoverAction"
|
7478
|
+
},
|
7471
7479
|
{
|
7472
|
-
"name": "
|
7473
|
-
"type": "
|
7480
|
+
"name": "index",
|
7481
|
+
"type": "number"
|
7474
7482
|
}
|
7475
7483
|
]
|
7476
7484
|
},
|
7477
7485
|
{
|
7478
7486
|
"name": "open",
|
7479
|
-
"description": "Emitted when opening
|
7487
|
+
"description": "Emitted when opening Popover",
|
7480
7488
|
"arguments": []
|
7481
7489
|
},
|
7482
7490
|
{
|
7483
7491
|
"name": "close",
|
7484
|
-
"description": "Emitted when closing
|
7492
|
+
"description": "Emitted when closing Popover",
|
7485
7493
|
"arguments": []
|
7486
7494
|
},
|
7487
7495
|
{
|
7488
7496
|
"name": "opened",
|
7489
|
-
"description": "Emitted when
|
7497
|
+
"description": "Emitted when Popover is opened",
|
7490
7498
|
"arguments": []
|
7491
7499
|
},
|
7492
7500
|
{
|
7493
7501
|
"name": "closed",
|
7494
|
-
"description": "Emitted when
|
7502
|
+
"description": "Emitted when Popover is closed",
|
7495
7503
|
"arguments": []
|
7504
|
+
},
|
7505
|
+
{
|
7506
|
+
"name": "click-overlay",
|
7507
|
+
"description": "Emitted when overlay is clicked",
|
7508
|
+
"arguments": [
|
7509
|
+
{
|
7510
|
+
"name": "event",
|
7511
|
+
"type": "MouseEvent"
|
7512
|
+
}
|
7513
|
+
]
|
7496
7514
|
}
|
7497
7515
|
],
|
7498
7516
|
"attributes": [
|
7499
7517
|
{
|
7500
7518
|
"name": "v-model:show",
|
7501
7519
|
"default": "`false`",
|
7502
|
-
"description": "Whether to show
|
7520
|
+
"description": "Whether to show Popover",
|
7503
7521
|
"options": [],
|
7504
7522
|
"value": {
|
7505
7523
|
"type": "boolean",
|
@@ -7507,42 +7525,42 @@
|
|
7507
7525
|
}
|
7508
7526
|
},
|
7509
7527
|
{
|
7510
|
-
"name": "
|
7511
|
-
"default": "`
|
7512
|
-
"description": "
|
7528
|
+
"name": "actions",
|
7529
|
+
"default": "`[]`",
|
7530
|
+
"description": "Actions",
|
7513
7531
|
"options": [],
|
7514
7532
|
"value": {
|
7515
|
-
"type": "
|
7533
|
+
"type": "PopoverAction[]",
|
7516
7534
|
"kind": "expression"
|
7517
7535
|
}
|
7518
7536
|
},
|
7519
7537
|
{
|
7520
|
-
"name": "
|
7521
|
-
"default": "`
|
7522
|
-
"description": "
|
7538
|
+
"name": "placement",
|
7539
|
+
"default": "`bottom`",
|
7540
|
+
"description": "Placement",
|
7523
7541
|
"options": [],
|
7524
7542
|
"value": {
|
7525
|
-
"type": "
|
7543
|
+
"type": "PopoverPlacement",
|
7526
7544
|
"kind": "expression"
|
7527
7545
|
}
|
7528
7546
|
},
|
7529
7547
|
{
|
7530
|
-
"name": "
|
7531
|
-
"default": "
|
7532
|
-
"description": "
|
7548
|
+
"name": "theme",
|
7549
|
+
"default": "`light`",
|
7550
|
+
"description": "Theme, can be set to `dark`",
|
7533
7551
|
"options": [],
|
7534
7552
|
"value": {
|
7535
|
-
"type": "
|
7553
|
+
"type": "PopoverTheme",
|
7536
7554
|
"kind": "expression"
|
7537
7555
|
}
|
7538
7556
|
},
|
7539
7557
|
{
|
7540
|
-
"name": "
|
7541
|
-
"default": "
|
7542
|
-
"description": "
|
7558
|
+
"name": "trigger",
|
7559
|
+
"default": "`click`",
|
7560
|
+
"description": "Trigger mode, can be set to `manual`",
|
7543
7561
|
"options": [],
|
7544
7562
|
"value": {
|
7545
|
-
"type": "
|
7563
|
+
"type": "PopoverTrigger",
|
7546
7564
|
"kind": "expression"
|
7547
7565
|
}
|
7548
7566
|
},
|
@@ -7557,19 +7575,19 @@
|
|
7557
7575
|
}
|
7558
7576
|
},
|
7559
7577
|
{
|
7560
|
-
"name": "
|
7561
|
-
"default": "`
|
7562
|
-
"description": "
|
7578
|
+
"name": "offset",
|
7579
|
+
"default": "`[0, 8]`",
|
7580
|
+
"description": "Distance to reference",
|
7563
7581
|
"options": [],
|
7564
7582
|
"value": {
|
7565
|
-
"type": "
|
7583
|
+
"type": "[number, number]",
|
7566
7584
|
"kind": "expression"
|
7567
7585
|
}
|
7568
7586
|
},
|
7569
7587
|
{
|
7570
|
-
"name": "
|
7571
|
-
"default": "`
|
7572
|
-
"description": "Whether to
|
7588
|
+
"name": "overlay",
|
7589
|
+
"default": "`false`",
|
7590
|
+
"description": "Whether to show overlay",
|
7573
7591
|
"options": [],
|
7574
7592
|
"value": {
|
7575
7593
|
"type": "boolean",
|
@@ -7577,29 +7595,29 @@
|
|
7577
7595
|
}
|
7578
7596
|
},
|
7579
7597
|
{
|
7580
|
-
"name": "
|
7581
|
-
"default": "
|
7582
|
-
"description": "
|
7598
|
+
"name": "overlay-class",
|
7599
|
+
"default": "-",
|
7600
|
+
"description": "Custom overlay class",
|
7583
7601
|
"options": [],
|
7584
7602
|
"value": {
|
7585
|
-
"type": "
|
7603
|
+
"type": "string | Array | object",
|
7586
7604
|
"kind": "expression"
|
7587
7605
|
}
|
7588
7606
|
},
|
7589
7607
|
{
|
7590
|
-
"name": "
|
7591
|
-
"default": "
|
7592
|
-
"description": "
|
7608
|
+
"name": "overlay-style",
|
7609
|
+
"default": "-",
|
7610
|
+
"description": "Custom overlay style",
|
7593
7611
|
"options": [],
|
7594
7612
|
"value": {
|
7595
|
-
"type": "
|
7613
|
+
"type": "object",
|
7596
7614
|
"kind": "expression"
|
7597
7615
|
}
|
7598
7616
|
},
|
7599
7617
|
{
|
7600
|
-
"name": "
|
7618
|
+
"name": "show-arrow",
|
7601
7619
|
"default": "`true`",
|
7602
|
-
"description": "Whether to
|
7620
|
+
"description": "Whether to show arrow",
|
7603
7621
|
"options": [],
|
7604
7622
|
"value": {
|
7605
7623
|
"type": "boolean",
|
@@ -7607,9 +7625,9 @@
|
|
7607
7625
|
}
|
7608
7626
|
},
|
7609
7627
|
{
|
7610
|
-
"name": "
|
7611
|
-
"default": "`
|
7612
|
-
"description": "Whether to
|
7628
|
+
"name": "close-on-click-action",
|
7629
|
+
"default": "`true`",
|
7630
|
+
"description": "Whether to close when clicking action",
|
7613
7631
|
"options": [],
|
7614
7632
|
"value": {
|
7615
7633
|
"type": "boolean",
|
@@ -7617,32 +7635,32 @@
|
|
7617
7635
|
}
|
7618
7636
|
},
|
7619
7637
|
{
|
7620
|
-
"name": "close-
|
7621
|
-
"default": "`
|
7622
|
-
"description": "
|
7638
|
+
"name": "close-on-click-outside",
|
7639
|
+
"default": "`true`",
|
7640
|
+
"description": "Whether to close when clicking outside",
|
7623
7641
|
"options": [],
|
7624
7642
|
"value": {
|
7625
|
-
"type": "
|
7643
|
+
"type": "boolean",
|
7626
7644
|
"kind": "expression"
|
7627
7645
|
}
|
7628
7646
|
},
|
7629
7647
|
{
|
7630
|
-
"name": "close-
|
7631
|
-
"default": "`
|
7632
|
-
"description": "
|
7648
|
+
"name": "close-on-click-overlay",
|
7649
|
+
"default": "`true`",
|
7650
|
+
"description": "Whether to close when clicking overlay",
|
7633
7651
|
"options": [],
|
7634
7652
|
"value": {
|
7635
|
-
"type": "
|
7653
|
+
"type": "boolean",
|
7636
7654
|
"kind": "expression"
|
7637
7655
|
}
|
7638
7656
|
},
|
7639
7657
|
{
|
7640
|
-
"name": "
|
7641
|
-
"default": "
|
7642
|
-
"description": "
|
7658
|
+
"name": "teleport",
|
7659
|
+
"default": "`body`",
|
7660
|
+
"description": "Specifies a target element where Popover will be mounted",
|
7643
7661
|
"options": [],
|
7644
7662
|
"value": {
|
7645
|
-
"type": "
|
7663
|
+
"type": "string | Element",
|
7646
7664
|
"kind": "expression"
|
7647
7665
|
}
|
7648
7666
|
},
|
@@ -7655,126 +7673,78 @@
|
|
7655
7673
|
"type": "string",
|
7656
7674
|
"kind": "expression"
|
7657
7675
|
}
|
7658
|
-
},
|
7659
|
-
{
|
7660
|
-
"name": "transition",
|
7661
|
-
"default": "-",
|
7662
|
-
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
7663
|
-
"options": [],
|
7664
|
-
"value": {
|
7665
|
-
"type": "string",
|
7666
|
-
"kind": "expression"
|
7667
|
-
}
|
7668
|
-
},
|
7669
|
-
{
|
7670
|
-
"name": "transition-appear",
|
7671
|
-
"default": "`false`",
|
7672
|
-
"description": "Whether to apply transition on initial render",
|
7673
|
-
"options": [],
|
7674
|
-
"value": {
|
7675
|
-
"type": "boolean",
|
7676
|
-
"kind": "expression"
|
7677
|
-
}
|
7678
|
-
},
|
7679
|
-
{
|
7680
|
-
"name": "teleport",
|
7681
|
-
"default": "-",
|
7682
|
-
"description": "Specifies a target element where Popup will be mounted",
|
7683
|
-
"options": [],
|
7684
|
-
"value": {
|
7685
|
-
"type": "string | Element",
|
7686
|
-
"kind": "expression"
|
7687
|
-
}
|
7688
|
-
},
|
7689
|
-
{
|
7690
|
-
"name": "safe-area-inset-top",
|
7691
|
-
"default": "`false`",
|
7692
|
-
"description": "Whether to enable top safe area adaptation",
|
7693
|
-
"options": [],
|
7694
|
-
"value": {
|
7695
|
-
"type": "boolean",
|
7696
|
-
"kind": "expression"
|
7697
|
-
}
|
7698
|
-
},
|
7699
|
-
{
|
7700
|
-
"name": "safe-area-inset-bottom",
|
7701
|
-
"default": "`false`",
|
7702
|
-
"description": "Whether to enable bottom safe area adaptation",
|
7703
|
-
"options": [],
|
7704
|
-
"value": {
|
7705
|
-
"type": "boolean",
|
7706
|
-
"kind": "expression"
|
7707
|
-
}
|
7708
7676
|
}
|
7709
7677
|
]
|
7710
7678
|
},
|
7711
7679
|
{
|
7712
|
-
"name": "van-
|
7680
|
+
"name": "van-popup",
|
7713
7681
|
"slots": [
|
7714
7682
|
{
|
7715
7683
|
"name": "default",
|
7716
|
-
"description": "
|
7717
|
-
},
|
7718
|
-
{
|
7719
|
-
"name": "reference",
|
7720
|
-
"description": "Reference Element"
|
7684
|
+
"description": "Content of Popup"
|
7721
7685
|
},
|
7722
7686
|
{
|
7723
|
-
"name": "
|
7724
|
-
"description": "
|
7687
|
+
"name": "overlay-content",
|
7688
|
+
"description": "Content of Popup overlay"
|
7725
7689
|
}
|
7726
7690
|
],
|
7727
7691
|
"events": [
|
7728
7692
|
{
|
7729
|
-
"name": "
|
7730
|
-
"description": "Emitted when
|
7693
|
+
"name": "click",
|
7694
|
+
"description": "Emitted when Popup is clicked",
|
7731
7695
|
"arguments": [
|
7732
7696
|
{
|
7733
|
-
"name": "
|
7734
|
-
"type": "
|
7735
|
-
}
|
7697
|
+
"name": "event",
|
7698
|
+
"type": "MouseEvent"
|
7699
|
+
}
|
7700
|
+
]
|
7701
|
+
},
|
7702
|
+
{
|
7703
|
+
"name": "click-overlay",
|
7704
|
+
"description": "Emitted when overlay is clicked",
|
7705
|
+
"arguments": [
|
7736
7706
|
{
|
7737
|
-
"name": "
|
7738
|
-
"type": "
|
7707
|
+
"name": "event",
|
7708
|
+
"type": "MouseEvent"
|
7709
|
+
}
|
7710
|
+
]
|
7711
|
+
},
|
7712
|
+
{
|
7713
|
+
"name": "click-close-icon",
|
7714
|
+
"description": "Emitted when close icon is clicked",
|
7715
|
+
"arguments": [
|
7716
|
+
{
|
7717
|
+
"name": "event",
|
7718
|
+
"type": "MouseEvent"
|
7739
7719
|
}
|
7740
7720
|
]
|
7741
7721
|
},
|
7742
7722
|
{
|
7743
7723
|
"name": "open",
|
7744
|
-
"description": "Emitted when opening
|
7724
|
+
"description": "Emitted when opening Popup",
|
7745
7725
|
"arguments": []
|
7746
7726
|
},
|
7747
7727
|
{
|
7748
7728
|
"name": "close",
|
7749
|
-
"description": "Emitted when closing
|
7729
|
+
"description": "Emitted when closing Popup",
|
7750
7730
|
"arguments": []
|
7751
7731
|
},
|
7752
7732
|
{
|
7753
7733
|
"name": "opened",
|
7754
|
-
"description": "Emitted when
|
7734
|
+
"description": "Emitted when Popup is opened",
|
7755
7735
|
"arguments": []
|
7756
7736
|
},
|
7757
7737
|
{
|
7758
7738
|
"name": "closed",
|
7759
|
-
"description": "Emitted when
|
7739
|
+
"description": "Emitted when Popup is closed",
|
7760
7740
|
"arguments": []
|
7761
|
-
},
|
7762
|
-
{
|
7763
|
-
"name": "click-overlay",
|
7764
|
-
"description": "Emitted when overlay is clicked",
|
7765
|
-
"arguments": [
|
7766
|
-
{
|
7767
|
-
"name": "event",
|
7768
|
-
"type": "MouseEvent"
|
7769
|
-
}
|
7770
|
-
]
|
7771
7741
|
}
|
7772
7742
|
],
|
7773
7743
|
"attributes": [
|
7774
7744
|
{
|
7775
7745
|
"name": "v-model:show",
|
7776
7746
|
"default": "`false`",
|
7777
|
-
"description": "Whether to show
|
7747
|
+
"description": "Whether to show popup",
|
7778
7748
|
"options": [],
|
7779
7749
|
"value": {
|
7780
7750
|
"type": "boolean",
|
@@ -7782,42 +7752,42 @@
|
|
7782
7752
|
}
|
7783
7753
|
},
|
7784
7754
|
{
|
7785
|
-
"name": "
|
7786
|
-
"default": "`
|
7787
|
-
"description": "
|
7755
|
+
"name": "overlay",
|
7756
|
+
"default": "`true`",
|
7757
|
+
"description": "Whether to show overlay",
|
7788
7758
|
"options": [],
|
7789
7759
|
"value": {
|
7790
|
-
"type": "
|
7760
|
+
"type": "boolean",
|
7791
7761
|
"kind": "expression"
|
7792
7762
|
}
|
7793
7763
|
},
|
7794
7764
|
{
|
7795
|
-
"name": "
|
7796
|
-
"default": "`
|
7797
|
-
"description": "
|
7765
|
+
"name": "position",
|
7766
|
+
"default": "`center`",
|
7767
|
+
"description": "Can be set to `top` `bottom` `right` `left`",
|
7798
7768
|
"options": [],
|
7799
7769
|
"value": {
|
7800
|
-
"type": "
|
7770
|
+
"type": "string",
|
7801
7771
|
"kind": "expression"
|
7802
7772
|
}
|
7803
7773
|
},
|
7804
7774
|
{
|
7805
|
-
"name": "
|
7806
|
-
"default": "
|
7807
|
-
"description": "
|
7775
|
+
"name": "overlay-class",
|
7776
|
+
"default": "-",
|
7777
|
+
"description": "Custom overlay class",
|
7808
7778
|
"options": [],
|
7809
7779
|
"value": {
|
7810
|
-
"type": "
|
7780
|
+
"type": "string | Array | object",
|
7811
7781
|
"kind": "expression"
|
7812
7782
|
}
|
7813
7783
|
},
|
7814
7784
|
{
|
7815
|
-
"name": "
|
7816
|
-
"default": "
|
7817
|
-
"description": "
|
7785
|
+
"name": "overlay-style",
|
7786
|
+
"default": "-",
|
7787
|
+
"description": "Custom overlay style",
|
7818
7788
|
"options": [],
|
7819
7789
|
"value": {
|
7820
|
-
"type": "
|
7790
|
+
"type": "object",
|
7821
7791
|
"kind": "expression"
|
7822
7792
|
}
|
7823
7793
|
},
|
@@ -7832,19 +7802,19 @@
|
|
7832
7802
|
}
|
7833
7803
|
},
|
7834
7804
|
{
|
7835
|
-
"name": "
|
7836
|
-
"default": "`
|
7837
|
-
"description": "
|
7805
|
+
"name": "round",
|
7806
|
+
"default": "`false`",
|
7807
|
+
"description": "Whether to show round corner",
|
7838
7808
|
"options": [],
|
7839
7809
|
"value": {
|
7840
|
-
"type": "
|
7810
|
+
"type": "boolean",
|
7841
7811
|
"kind": "expression"
|
7842
7812
|
}
|
7843
7813
|
},
|
7844
7814
|
{
|
7845
|
-
"name": "
|
7846
|
-
"default": "`
|
7847
|
-
"description": "Whether to
|
7815
|
+
"name": "lock-scroll",
|
7816
|
+
"default": "`true`",
|
7817
|
+
"description": "Whether to lock background scroll",
|
7848
7818
|
"options": [],
|
7849
7819
|
"value": {
|
7850
7820
|
"type": "boolean",
|
@@ -7852,29 +7822,29 @@
|
|
7852
7822
|
}
|
7853
7823
|
},
|
7854
7824
|
{
|
7855
|
-
"name": "
|
7856
|
-
"default": "
|
7857
|
-
"description": "
|
7825
|
+
"name": "lazy-render",
|
7826
|
+
"default": "`true`",
|
7827
|
+
"description": "Whether to lazy render util appeared",
|
7858
7828
|
"options": [],
|
7859
7829
|
"value": {
|
7860
|
-
"type": "
|
7830
|
+
"type": "boolean",
|
7861
7831
|
"kind": "expression"
|
7862
7832
|
}
|
7863
7833
|
},
|
7864
7834
|
{
|
7865
|
-
"name": "
|
7866
|
-
"default": "
|
7867
|
-
"description": "
|
7835
|
+
"name": "close-on-popstate",
|
7836
|
+
"default": "`false`",
|
7837
|
+
"description": "Whether to close when popstate",
|
7868
7838
|
"options": [],
|
7869
7839
|
"value": {
|
7870
|
-
"type": "
|
7840
|
+
"type": "boolean",
|
7871
7841
|
"kind": "expression"
|
7872
7842
|
}
|
7873
7843
|
},
|
7874
7844
|
{
|
7875
|
-
"name": "
|
7845
|
+
"name": "close-on-click-overlay",
|
7876
7846
|
"default": "`true`",
|
7877
|
-
"description": "Whether to
|
7847
|
+
"description": "Whether to close when overlay is clicked",
|
7878
7848
|
"options": [],
|
7879
7849
|
"value": {
|
7880
7850
|
"type": "boolean",
|
@@ -7882,9 +7852,9 @@
|
|
7882
7852
|
}
|
7883
7853
|
},
|
7884
7854
|
{
|
7885
|
-
"name": "
|
7886
|
-
"default": "`
|
7887
|
-
"description": "Whether to close
|
7855
|
+
"name": "closeable",
|
7856
|
+
"default": "`false`",
|
7857
|
+
"description": "Whether to show close icon",
|
7888
7858
|
"options": [],
|
7889
7859
|
"value": {
|
7890
7860
|
"type": "boolean",
|
@@ -7892,32 +7862,32 @@
|
|
7892
7862
|
}
|
7893
7863
|
},
|
7894
7864
|
{
|
7895
|
-
"name": "close-
|
7896
|
-
"default": "`
|
7897
|
-
"description": "
|
7865
|
+
"name": "close-icon",
|
7866
|
+
"default": "`cross`",
|
7867
|
+
"description": "Close icon name",
|
7898
7868
|
"options": [],
|
7899
7869
|
"value": {
|
7900
|
-
"type": "
|
7870
|
+
"type": "string",
|
7901
7871
|
"kind": "expression"
|
7902
7872
|
}
|
7903
7873
|
},
|
7904
7874
|
{
|
7905
|
-
"name": "close-
|
7906
|
-
"default": "`
|
7907
|
-
"description": "
|
7875
|
+
"name": "close-icon-position",
|
7876
|
+
"default": "`top-right`",
|
7877
|
+
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
|
7908
7878
|
"options": [],
|
7909
7879
|
"value": {
|
7910
|
-
"type": "
|
7880
|
+
"type": "string",
|
7911
7881
|
"kind": "expression"
|
7912
7882
|
}
|
7913
7883
|
},
|
7914
7884
|
{
|
7915
|
-
"name": "
|
7916
|
-
"default": "
|
7917
|
-
"description": "
|
7885
|
+
"name": "before-close",
|
7886
|
+
"default": "-",
|
7887
|
+
"description": "Callback function before close",
|
7918
7888
|
"options": [],
|
7919
7889
|
"value": {
|
7920
|
-
"type": "string |
|
7890
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
7921
7891
|
"kind": "expression"
|
7922
7892
|
}
|
7923
7893
|
},
|
@@ -7930,79 +7900,88 @@
|
|
7930
7900
|
"type": "string",
|
7931
7901
|
"kind": "expression"
|
7932
7902
|
}
|
7933
|
-
}
|
7934
|
-
]
|
7935
|
-
},
|
7936
|
-
{
|
7937
|
-
"name": "van-pull-refresh",
|
7938
|
-
"slots": [
|
7939
|
-
{
|
7940
|
-
"name": "default",
|
7941
|
-
"description": "Default slot"
|
7942
7903
|
},
|
7943
7904
|
{
|
7944
|
-
"name": "
|
7945
|
-
"
|
7905
|
+
"name": "transition",
|
7906
|
+
"default": "-",
|
7907
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition)",
|
7908
|
+
"options": [],
|
7909
|
+
"value": {
|
7910
|
+
"type": "string",
|
7911
|
+
"kind": "expression"
|
7912
|
+
}
|
7946
7913
|
},
|
7947
7914
|
{
|
7948
|
-
"name": "
|
7949
|
-
"
|
7915
|
+
"name": "transition-appear",
|
7916
|
+
"default": "`false`",
|
7917
|
+
"description": "Whether to apply transition on initial render",
|
7918
|
+
"options": [],
|
7919
|
+
"value": {
|
7920
|
+
"type": "boolean",
|
7921
|
+
"kind": "expression"
|
7922
|
+
}
|
7950
7923
|
},
|
7951
7924
|
{
|
7952
|
-
"name": "
|
7953
|
-
"
|
7925
|
+
"name": "teleport",
|
7926
|
+
"default": "-",
|
7927
|
+
"description": "Specifies a target element where Popup will be mounted",
|
7928
|
+
"options": [],
|
7929
|
+
"value": {
|
7930
|
+
"type": "string | Element",
|
7931
|
+
"kind": "expression"
|
7932
|
+
}
|
7954
7933
|
},
|
7955
7934
|
{
|
7956
|
-
"name": "
|
7957
|
-
"
|
7935
|
+
"name": "safe-area-inset-top",
|
7936
|
+
"default": "`false`",
|
7937
|
+
"description": "Whether to enable top safe area adaptation",
|
7938
|
+
"options": [],
|
7939
|
+
"value": {
|
7940
|
+
"type": "boolean",
|
7941
|
+
"kind": "expression"
|
7942
|
+
}
|
7958
7943
|
},
|
7959
7944
|
{
|
7960
|
-
"name": "
|
7961
|
-
"
|
7962
|
-
|
7963
|
-
],
|
7964
|
-
"events": [
|
7965
|
-
{
|
7966
|
-
"name": "refresh",
|
7967
|
-
"description": "Emitted after pulling refresh",
|
7968
|
-
"arguments": []
|
7969
|
-
}
|
7970
|
-
],
|
7971
|
-
"attributes": [
|
7972
|
-
{
|
7973
|
-
"name": "v-model",
|
7974
|
-
"default": "-",
|
7975
|
-
"description": "Loading status",
|
7945
|
+
"name": "safe-area-inset-bottom",
|
7946
|
+
"default": "`false`",
|
7947
|
+
"description": "Whether to enable bottom safe area adaptation",
|
7976
7948
|
"options": [],
|
7977
7949
|
"value": {
|
7978
7950
|
"type": "boolean",
|
7979
7951
|
"kind": "expression"
|
7980
7952
|
}
|
7981
|
-
}
|
7953
|
+
}
|
7954
|
+
]
|
7955
|
+
},
|
7956
|
+
{
|
7957
|
+
"name": "van-progress",
|
7958
|
+
"slots": [],
|
7959
|
+
"events": [],
|
7960
|
+
"attributes": [
|
7982
7961
|
{
|
7983
|
-
"name": "
|
7984
|
-
"default": "`
|
7985
|
-
"description": "
|
7962
|
+
"name": "percentage",
|
7963
|
+
"default": "`0`",
|
7964
|
+
"description": "Percentage",
|
7986
7965
|
"options": [],
|
7987
7966
|
"value": {
|
7988
|
-
"type": "string",
|
7967
|
+
"type": "number | string",
|
7989
7968
|
"kind": "expression"
|
7990
7969
|
}
|
7991
7970
|
},
|
7992
7971
|
{
|
7993
|
-
"name": "
|
7994
|
-
"default": "`
|
7995
|
-
"description": "
|
7972
|
+
"name": "stroke-width",
|
7973
|
+
"default": "`4px`",
|
7974
|
+
"description": "Stroke width",
|
7996
7975
|
"options": [],
|
7997
7976
|
"value": {
|
7998
|
-
"type": "string",
|
7977
|
+
"type": "number | string",
|
7999
7978
|
"kind": "expression"
|
8000
7979
|
}
|
8001
7980
|
},
|
8002
7981
|
{
|
8003
|
-
"name": "
|
8004
|
-
"default": "`
|
8005
|
-
"description": "
|
7982
|
+
"name": "color",
|
7983
|
+
"default": "`#1989fa`",
|
7984
|
+
"description": "Color",
|
8006
7985
|
"options": [],
|
8007
7986
|
"value": {
|
8008
7987
|
"type": "string",
|
@@ -8010,9 +7989,9 @@
|
|
8010
7989
|
}
|
8011
7990
|
},
|
8012
7991
|
{
|
8013
|
-
"name": "
|
8014
|
-
"default": "
|
8015
|
-
"description": "
|
7992
|
+
"name": "track-color",
|
7993
|
+
"default": "`#e5e5e5`",
|
7994
|
+
"description": "Track color",
|
8016
7995
|
"options": [],
|
8017
7996
|
"value": {
|
8018
7997
|
"type": "string",
|
@@ -8020,49 +7999,49 @@
|
|
8020
7999
|
}
|
8021
8000
|
},
|
8022
8001
|
{
|
8023
|
-
"name": "
|
8024
|
-
"default": "
|
8025
|
-
"description": "
|
8002
|
+
"name": "pivot-text",
|
8003
|
+
"default": "percentage",
|
8004
|
+
"description": "Pivot text",
|
8026
8005
|
"options": [],
|
8027
8006
|
"value": {
|
8028
|
-
"type": "
|
8007
|
+
"type": "string",
|
8029
8008
|
"kind": "expression"
|
8030
8009
|
}
|
8031
8010
|
},
|
8032
8011
|
{
|
8033
|
-
"name": "
|
8034
|
-
"default": "
|
8035
|
-
"description": "
|
8012
|
+
"name": "pivot-color",
|
8013
|
+
"default": "inherit progress color",
|
8014
|
+
"description": "Pivot text background color",
|
8036
8015
|
"options": [],
|
8037
8016
|
"value": {
|
8038
|
-
"type": "
|
8017
|
+
"type": "string",
|
8039
8018
|
"kind": "expression"
|
8040
8019
|
}
|
8041
8020
|
},
|
8042
8021
|
{
|
8043
|
-
"name": "
|
8044
|
-
"default": "`
|
8045
|
-
"description": "
|
8022
|
+
"name": "text-color",
|
8023
|
+
"default": "`white`",
|
8024
|
+
"description": "Pivot text color",
|
8046
8025
|
"options": [],
|
8047
8026
|
"value": {
|
8048
|
-
"type": "
|
8027
|
+
"type": "string",
|
8049
8028
|
"kind": "expression"
|
8050
8029
|
}
|
8051
8030
|
},
|
8052
8031
|
{
|
8053
|
-
"name": "
|
8054
|
-
"default": "
|
8055
|
-
"description": "
|
8032
|
+
"name": "inactive",
|
8033
|
+
"default": "`false`",
|
8034
|
+
"description": "Whether to be gray",
|
8056
8035
|
"options": [],
|
8057
8036
|
"value": {
|
8058
|
-
"type": "
|
8037
|
+
"type": "boolean",
|
8059
8038
|
"kind": "expression"
|
8060
8039
|
}
|
8061
8040
|
},
|
8062
8041
|
{
|
8063
|
-
"name": "
|
8064
|
-
"default": "`
|
8065
|
-
"description": "Whether to
|
8042
|
+
"name": "show-pivot",
|
8043
|
+
"default": "`true`",
|
8044
|
+
"description": "Whether to show text",
|
8066
8045
|
"options": [],
|
8067
8046
|
"value": {
|
8068
8047
|
"type": "boolean",
|
@@ -8072,34 +8051,65 @@
|
|
8072
8051
|
]
|
8073
8052
|
},
|
8074
8053
|
{
|
8075
|
-
"name": "van-
|
8076
|
-
"slots": [
|
8077
|
-
|
8054
|
+
"name": "van-pull-refresh",
|
8055
|
+
"slots": [
|
8056
|
+
{
|
8057
|
+
"name": "default",
|
8058
|
+
"description": "Default slot"
|
8059
|
+
},
|
8060
|
+
{
|
8061
|
+
"name": "normal",
|
8062
|
+
"description": "Content of head when at normal status"
|
8063
|
+
},
|
8064
|
+
{
|
8065
|
+
"name": "pulling",
|
8066
|
+
"description": "Content of head when at pulling"
|
8067
|
+
},
|
8068
|
+
{
|
8069
|
+
"name": "loosing",
|
8070
|
+
"description": "Content of head when at loosing"
|
8071
|
+
},
|
8072
|
+
{
|
8073
|
+
"name": "loading",
|
8074
|
+
"description": "Content of head when at loading"
|
8075
|
+
},
|
8076
|
+
{
|
8077
|
+
"name": "success",
|
8078
|
+
"description": "Content of head when succeed"
|
8079
|
+
}
|
8080
|
+
],
|
8081
|
+
"events": [
|
8082
|
+
{
|
8083
|
+
"name": "refresh",
|
8084
|
+
"description": "Emitted after pulling refresh",
|
8085
|
+
"arguments": []
|
8086
|
+
}
|
8087
|
+
],
|
8078
8088
|
"attributes": [
|
8079
8089
|
{
|
8080
|
-
"name": "
|
8081
|
-
"default": "
|
8082
|
-
"description": "
|
8090
|
+
"name": "v-model",
|
8091
|
+
"default": "-",
|
8092
|
+
"description": "Loading status",
|
8083
8093
|
"options": [],
|
8084
8094
|
"value": {
|
8085
|
-
"type": "
|
8095
|
+
"type": "boolean",
|
8086
8096
|
"kind": "expression"
|
8087
8097
|
}
|
8088
8098
|
},
|
8089
8099
|
{
|
8090
|
-
"name": "
|
8091
|
-
"default": "`
|
8092
|
-
"description": "
|
8100
|
+
"name": "pulling-text",
|
8101
|
+
"default": "`Pull to refresh...`",
|
8102
|
+
"description": "Text to show when pulling",
|
8093
8103
|
"options": [],
|
8094
8104
|
"value": {
|
8095
|
-
"type": "
|
8105
|
+
"type": "string",
|
8096
8106
|
"kind": "expression"
|
8097
8107
|
}
|
8098
8108
|
},
|
8099
8109
|
{
|
8100
|
-
"name": "
|
8101
|
-
"default": "
|
8102
|
-
"description": "
|
8110
|
+
"name": "loosing-text",
|
8111
|
+
"default": "`Loose to refresh...`",
|
8112
|
+
"description": "Text to show when loosing",
|
8103
8113
|
"options": [],
|
8104
8114
|
"value": {
|
8105
8115
|
"type": "string",
|
@@ -8107,9 +8117,9 @@
|
|
8107
8117
|
}
|
8108
8118
|
},
|
8109
8119
|
{
|
8110
|
-
"name": "
|
8111
|
-
"default": "
|
8112
|
-
"description": "
|
8120
|
+
"name": "loading-text",
|
8121
|
+
"default": "`Loading...`",
|
8122
|
+
"description": "Text to show when loading",
|
8113
8123
|
"options": [],
|
8114
8124
|
"value": {
|
8115
8125
|
"type": "string",
|
@@ -8117,9 +8127,9 @@
|
|
8117
8127
|
}
|
8118
8128
|
},
|
8119
8129
|
{
|
8120
|
-
"name": "
|
8121
|
-
"default": "
|
8122
|
-
"description": "
|
8130
|
+
"name": "success-text",
|
8131
|
+
"default": "-",
|
8132
|
+
"description": "Text to show when loading success",
|
8123
8133
|
"options": [],
|
8124
8134
|
"value": {
|
8125
8135
|
"type": "string",
|
@@ -8127,39 +8137,49 @@
|
|
8127
8137
|
}
|
8128
8138
|
},
|
8129
8139
|
{
|
8130
|
-
"name": "
|
8131
|
-
"default": "
|
8132
|
-
"description": "
|
8140
|
+
"name": "success-duration",
|
8141
|
+
"default": "`500`",
|
8142
|
+
"description": "Success text display duration(ms)",
|
8143
|
+
"options": [],
|
8144
|
+
"value": {
|
8145
|
+
"type": "number | string",
|
8146
|
+
"kind": "expression"
|
8147
|
+
}
|
8148
|
+
},
|
8149
|
+
{
|
8150
|
+
"name": "animation-duration",
|
8151
|
+
"default": "`300`",
|
8152
|
+
"description": "Animation duration",
|
8133
8153
|
"options": [],
|
8134
8154
|
"value": {
|
8135
|
-
"type": "string",
|
8155
|
+
"type": "number | string",
|
8136
8156
|
"kind": "expression"
|
8137
8157
|
}
|
8138
8158
|
},
|
8139
8159
|
{
|
8140
|
-
"name": "
|
8141
|
-
"default": "`
|
8142
|
-
"description": "
|
8160
|
+
"name": "head-height",
|
8161
|
+
"default": "`50`",
|
8162
|
+
"description": "Height of head",
|
8143
8163
|
"options": [],
|
8144
8164
|
"value": {
|
8145
|
-
"type": "string",
|
8165
|
+
"type": "number | string",
|
8146
8166
|
"kind": "expression"
|
8147
8167
|
}
|
8148
8168
|
},
|
8149
8169
|
{
|
8150
|
-
"name": "
|
8151
|
-
"default": "`
|
8152
|
-
"description": "
|
8170
|
+
"name": "pull-distance",
|
8171
|
+
"default": "same as `head-height`",
|
8172
|
+
"description": "The distance to trigger the pull refresh",
|
8153
8173
|
"options": [],
|
8154
8174
|
"value": {
|
8155
|
-
"type": "
|
8175
|
+
"type": "number | string",
|
8156
8176
|
"kind": "expression"
|
8157
8177
|
}
|
8158
8178
|
},
|
8159
8179
|
{
|
8160
|
-
"name": "
|
8161
|
-
"default": "`
|
8162
|
-
"description": "Whether to
|
8180
|
+
"name": "disabled",
|
8181
|
+
"default": "`false`",
|
8182
|
+
"description": "Whether to disable pull refresh",
|
8163
8183
|
"options": [],
|
8164
8184
|
"value": {
|
8165
8185
|
"type": "boolean",
|
@@ -9771,7 +9791,7 @@
|
|
9771
9791
|
{
|
9772
9792
|
"name": "long-press",
|
9773
9793
|
"default": "`true`",
|
9774
|
-
"description": "Whether to
|
9794
|
+
"description": "Whether to enable the long press gesture, when enabled you can long press the increase and decrease buttons",
|
9775
9795
|
"options": [],
|
9776
9796
|
"value": {
|
9777
9797
|
"type": "boolean",
|
@@ -9781,7 +9801,7 @@
|
|
9781
9801
|
{
|
9782
9802
|
"name": "allow-empty",
|
9783
9803
|
"default": "`false`",
|
9784
|
-
"description": "Whether to allow the input to be empty",
|
9804
|
+
"description": "Whether to allow the input value to be empty, set to `true` to allow an empty string to be passed in",
|
9785
9805
|
"options": [],
|
9786
9806
|
"value": {
|
9787
9807
|
"type": "boolean",
|
@@ -10433,114 +10453,6 @@
|
|
10433
10453
|
}
|
10434
10454
|
]
|
10435
10455
|
},
|
10436
|
-
{
|
10437
|
-
"name": "van-switch",
|
10438
|
-
"slots": [],
|
10439
|
-
"events": [
|
10440
|
-
{
|
10441
|
-
"name": "change",
|
10442
|
-
"description": "Emitted when check status changed",
|
10443
|
-
"arguments": [
|
10444
|
-
{
|
10445
|
-
"name": "value",
|
10446
|
-
"type": "any"
|
10447
|
-
}
|
10448
|
-
]
|
10449
|
-
},
|
10450
|
-
{
|
10451
|
-
"name": "click",
|
10452
|
-
"description": "Emitted when component is clicked",
|
10453
|
-
"arguments": [
|
10454
|
-
{
|
10455
|
-
"name": "event",
|
10456
|
-
"type": "MouseEvent"
|
10457
|
-
}
|
10458
|
-
]
|
10459
|
-
}
|
10460
|
-
],
|
10461
|
-
"attributes": [
|
10462
|
-
{
|
10463
|
-
"name": "v-model",
|
10464
|
-
"default": "`false`",
|
10465
|
-
"description": "Check status of Switch",
|
10466
|
-
"options": [],
|
10467
|
-
"value": {
|
10468
|
-
"type": "ActiveValue | InactiveValue",
|
10469
|
-
"kind": "expression"
|
10470
|
-
}
|
10471
|
-
},
|
10472
|
-
{
|
10473
|
-
"name": "loading",
|
10474
|
-
"default": "`false`",
|
10475
|
-
"description": "Whether to show loading icon",
|
10476
|
-
"options": [],
|
10477
|
-
"value": {
|
10478
|
-
"type": "boolean",
|
10479
|
-
"kind": "expression"
|
10480
|
-
}
|
10481
|
-
},
|
10482
|
-
{
|
10483
|
-
"name": "disabled",
|
10484
|
-
"default": "`false`",
|
10485
|
-
"description": "Whether to disable switch",
|
10486
|
-
"options": [],
|
10487
|
-
"value": {
|
10488
|
-
"type": "boolean",
|
10489
|
-
"kind": "expression"
|
10490
|
-
}
|
10491
|
-
},
|
10492
|
-
{
|
10493
|
-
"name": "size",
|
10494
|
-
"default": "`30px`",
|
10495
|
-
"description": "Size of switch",
|
10496
|
-
"options": [],
|
10497
|
-
"value": {
|
10498
|
-
"type": "number | string",
|
10499
|
-
"kind": "expression"
|
10500
|
-
}
|
10501
|
-
},
|
10502
|
-
{
|
10503
|
-
"name": "active-color",
|
10504
|
-
"default": "`#1989fa`",
|
10505
|
-
"description": "Background color when active",
|
10506
|
-
"options": [],
|
10507
|
-
"value": {
|
10508
|
-
"type": "string",
|
10509
|
-
"kind": "expression"
|
10510
|
-
}
|
10511
|
-
},
|
10512
|
-
{
|
10513
|
-
"name": "inactive-color",
|
10514
|
-
"default": "`white`",
|
10515
|
-
"description": "Background color when inactive",
|
10516
|
-
"options": [],
|
10517
|
-
"value": {
|
10518
|
-
"type": "string",
|
10519
|
-
"kind": "expression"
|
10520
|
-
}
|
10521
|
-
},
|
10522
|
-
{
|
10523
|
-
"name": "active-value",
|
10524
|
-
"default": "`true`",
|
10525
|
-
"description": "Value when active",
|
10526
|
-
"options": [],
|
10527
|
-
"value": {
|
10528
|
-
"type": "any",
|
10529
|
-
"kind": "expression"
|
10530
|
-
}
|
10531
|
-
},
|
10532
|
-
{
|
10533
|
-
"name": "inactive-value",
|
10534
|
-
"default": "`false`",
|
10535
|
-
"description": "Value when inactive",
|
10536
|
-
"options": [],
|
10537
|
-
"value": {
|
10538
|
-
"type": "any",
|
10539
|
-
"kind": "expression"
|
10540
|
-
}
|
10541
|
-
}
|
10542
|
-
]
|
10543
|
-
},
|
10544
10456
|
{
|
10545
10457
|
"name": "van-tabs",
|
10546
10458
|
"slots": [
|
@@ -10934,6 +10846,123 @@
|
|
10934
10846
|
}
|
10935
10847
|
]
|
10936
10848
|
},
|
10849
|
+
{
|
10850
|
+
"name": "van-switch",
|
10851
|
+
"slots": [
|
10852
|
+
{
|
10853
|
+
"name": "node",
|
10854
|
+
"description": "Custom the content of node"
|
10855
|
+
},
|
10856
|
+
{
|
10857
|
+
"name": "background",
|
10858
|
+
"description": "Custom the background of switch"
|
10859
|
+
}
|
10860
|
+
],
|
10861
|
+
"events": [
|
10862
|
+
{
|
10863
|
+
"name": "change",
|
10864
|
+
"description": "Emitted when check status changed",
|
10865
|
+
"arguments": [
|
10866
|
+
{
|
10867
|
+
"name": "value",
|
10868
|
+
"type": "any"
|
10869
|
+
}
|
10870
|
+
]
|
10871
|
+
},
|
10872
|
+
{
|
10873
|
+
"name": "click",
|
10874
|
+
"description": "Emitted when component is clicked",
|
10875
|
+
"arguments": [
|
10876
|
+
{
|
10877
|
+
"name": "event",
|
10878
|
+
"type": "MouseEvent"
|
10879
|
+
}
|
10880
|
+
]
|
10881
|
+
}
|
10882
|
+
],
|
10883
|
+
"attributes": [
|
10884
|
+
{
|
10885
|
+
"name": "v-model",
|
10886
|
+
"default": "`false`",
|
10887
|
+
"description": "Check status of Switch",
|
10888
|
+
"options": [],
|
10889
|
+
"value": {
|
10890
|
+
"type": "ActiveValue | InactiveValue",
|
10891
|
+
"kind": "expression"
|
10892
|
+
}
|
10893
|
+
},
|
10894
|
+
{
|
10895
|
+
"name": "loading",
|
10896
|
+
"default": "`false`",
|
10897
|
+
"description": "Whether to show loading icon",
|
10898
|
+
"options": [],
|
10899
|
+
"value": {
|
10900
|
+
"type": "boolean",
|
10901
|
+
"kind": "expression"
|
10902
|
+
}
|
10903
|
+
},
|
10904
|
+
{
|
10905
|
+
"name": "disabled",
|
10906
|
+
"default": "`false`",
|
10907
|
+
"description": "Whether to disable switch",
|
10908
|
+
"options": [],
|
10909
|
+
"value": {
|
10910
|
+
"type": "boolean",
|
10911
|
+
"kind": "expression"
|
10912
|
+
}
|
10913
|
+
},
|
10914
|
+
{
|
10915
|
+
"name": "size",
|
10916
|
+
"default": "`30px`",
|
10917
|
+
"description": "Size of switch",
|
10918
|
+
"options": [],
|
10919
|
+
"value": {
|
10920
|
+
"type": "number | string",
|
10921
|
+
"kind": "expression"
|
10922
|
+
}
|
10923
|
+
},
|
10924
|
+
{
|
10925
|
+
"name": "active-color",
|
10926
|
+
"default": "`#1989fa`",
|
10927
|
+
"description": "Background color when active",
|
10928
|
+
"options": [],
|
10929
|
+
"value": {
|
10930
|
+
"type": "string",
|
10931
|
+
"kind": "expression"
|
10932
|
+
}
|
10933
|
+
},
|
10934
|
+
{
|
10935
|
+
"name": "inactive-color",
|
10936
|
+
"default": "`white`",
|
10937
|
+
"description": "Background color when inactive",
|
10938
|
+
"options": [],
|
10939
|
+
"value": {
|
10940
|
+
"type": "string",
|
10941
|
+
"kind": "expression"
|
10942
|
+
}
|
10943
|
+
},
|
10944
|
+
{
|
10945
|
+
"name": "active-value",
|
10946
|
+
"default": "`true`",
|
10947
|
+
"description": "Value when active",
|
10948
|
+
"options": [],
|
10949
|
+
"value": {
|
10950
|
+
"type": "any",
|
10951
|
+
"kind": "expression"
|
10952
|
+
}
|
10953
|
+
},
|
10954
|
+
{
|
10955
|
+
"name": "inactive-value",
|
10956
|
+
"default": "`false`",
|
10957
|
+
"description": "Value when inactive",
|
10958
|
+
"options": [],
|
10959
|
+
"value": {
|
10960
|
+
"type": "any",
|
10961
|
+
"kind": "expression"
|
10962
|
+
}
|
10963
|
+
}
|
10964
|
+
]
|
10965
|
+
},
|
10937
10966
|
{
|
10938
10967
|
"name": "van-tabbar",
|
10939
10968
|
"slots": [],
|
@@ -11375,7 +11404,11 @@
|
|
11375
11404
|
"slots": [
|
11376
11405
|
{
|
11377
11406
|
"name": "default",
|
11378
|
-
"description": "Custom
|
11407
|
+
"description": "Custom upload area"
|
11408
|
+
},
|
11409
|
+
{
|
11410
|
+
"name": "preview-delete",
|
11411
|
+
"description": "Custom delete icon"
|
11379
11412
|
},
|
11380
11413
|
{
|
11381
11414
|
"name": "preview-cover",
|