vant 3.4.8 → 3.5.0-beta.1
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.js → Dialog.mjs} +6 -6
- package/es/dialog/{function-call.js → function-call.mjs} +3 -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.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} +11 -14
- package/es/empty/Images.d.ts +4 -0
- package/es/empty/Images.mjs +271 -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} +25 -22
- 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 +3 -1
- package/es/field/{types.js → types.mjs} +0 -0
- package/es/field/{utils.js → utils.mjs} +1 -1
- package/es/form/Form.d.ts +13 -13
- package/es/form/{Form.js → Form.mjs} +13 -5
- package/es/form/index.d.ts +9 -9
- package/es/form/{index.js → index.mjs} +2 -2
- package/es/form/style/{index.js → index.mjs} +0 -0
- package/es/form/style/{less.js → less.mjs} +0 -0
- package/es/form/types.d.ts +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} +4 -2
- package/es/loading/{index.js → index.mjs} +2 -2
- package/es/loading/style/{index.js → index.mjs} +0 -0
- package/es/loading/style/{less.js → less.mjs} +0 -0
- package/es/locale/{index.js → index.mjs} +2 -2
- package/es/locale/lang/bg-BG.d.ts +64 -0
- package/es/locale/lang/bg-BG.mjs +74 -0
- package/es/locale/lang/{bn-BD.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} +4 -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} +7 -3
- package/es/switch/{index.js → index.mjs} +2 -2
- package/es/switch/style/{index.js → index.mjs} +0 -0
- package/es/switch/style/{less.js → less.mjs} +0 -0
- package/es/tab/{Tab.js → Tab.mjs} +7 -7
- package/es/tab/{index.js → index.mjs} +2 -2
- package/es/tab/style/{index.js → index.mjs} +0 -0
- package/es/tab/style/{less.js → less.mjs} +0 -0
- package/es/tabbar/{Tabbar.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.d.ts +0 -1
- package/es/uploader/{utils.js → utils.mjs} +2 -4
- package/es/utils/basic.d.ts +1 -0
- package/es/utils/{basic.js → basic.mjs} +3 -1
- package/es/utils/{constant.js → constant.mjs} +0 -0
- package/es/utils/{create.js → create.mjs} +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/empty/Empty.js +10 -13
- package/lib/empty/Images.d.ts +4 -0
- package/lib/empty/Images.js +290 -0
- package/lib/field/Field.js +18 -15
- package/lib/field/index.d.ts +1 -1
- package/lib/field/types.d.ts +3 -1
- package/lib/form/Form.d.ts +13 -13
- package/lib/form/Form.js +11 -3
- package/lib/form/index.d.ts +9 -9
- 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/loading/Loading.js +3 -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/switch/Switch.js +5 -1
- package/lib/uploader/Uploader.js +2 -4
- package/lib/uploader/UploaderPreviewItem.js +5 -2
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.less +7 -4
- package/lib/uploader/utils.d.ts +0 -1
- package/lib/uploader/utils.js +2 -4
- package/lib/utils/basic.d.ts +1 -0
- package/lib/utils/basic.js +3 -1
- package/lib/vant.cjs.js +289 -95
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +288 -93
- package/lib/vant.es.min.js +288 -93
- package/lib/vant.js +365 -134
- package/lib/vant.min.js +1 -1
- package/package.json +6 -21
- package/vetur/attributes.json +213 -213
- package/vetur/tags.json +69 -69
- package/vetur/web-types.json +868 -859
- package/changelog.generated.md +0 -79
- package/es/empty/Network.d.ts +0 -1
- package/es/empty/Network.js +0 -89
- package/es/index.js +0 -277
- package/es/utils/index.js +0 -9
- package/lib/empty/Network.d.ts +0 -1
- package/lib/empty/Network.js +0 -108
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-beta.1",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -251,280 +251,6 @@
|
|
251
251
|
}
|
252
252
|
]
|
253
253
|
},
|
254
|
-
{
|
255
|
-
"name": "van-action-sheet",
|
256
|
-
"slots": [
|
257
|
-
{
|
258
|
-
"name": "default",
|
259
|
-
"description": "Custom content"
|
260
|
-
},
|
261
|
-
{
|
262
|
-
"name": "description",
|
263
|
-
"description": "Custom description above the options"
|
264
|
-
},
|
265
|
-
{
|
266
|
-
"name": "cancel",
|
267
|
-
"description": "Custom the content of cancel button"
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"name": "action",
|
271
|
-
"description": "Custom the content of action"
|
272
|
-
}
|
273
|
-
],
|
274
|
-
"events": [
|
275
|
-
{
|
276
|
-
"name": "select",
|
277
|
-
"description": "Emitted when an option is clicked",
|
278
|
-
"arguments": [
|
279
|
-
{
|
280
|
-
"name": "action",
|
281
|
-
"type": "ActionSheetAction"
|
282
|
-
},
|
283
|
-
{
|
284
|
-
"name": "index",
|
285
|
-
"type": "number"
|
286
|
-
}
|
287
|
-
]
|
288
|
-
},
|
289
|
-
{
|
290
|
-
"name": "cancel",
|
291
|
-
"description": "Emitted when the cancel button is clicked",
|
292
|
-
"arguments": []
|
293
|
-
},
|
294
|
-
{
|
295
|
-
"name": "open",
|
296
|
-
"description": "Emitted when opening ActionSheet",
|
297
|
-
"arguments": []
|
298
|
-
},
|
299
|
-
{
|
300
|
-
"name": "close",
|
301
|
-
"description": "Emitted when closing ActionSheet",
|
302
|
-
"arguments": []
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"name": "opened",
|
306
|
-
"description": "Emitted when ActionSheet is opened",
|
307
|
-
"arguments": []
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"name": "closed",
|
311
|
-
"description": "Emitted when ActionSheet is closed",
|
312
|
-
"arguments": []
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"name": "click-overlay",
|
316
|
-
"description": "Emitted when overlay is clicked",
|
317
|
-
"arguments": [
|
318
|
-
{
|
319
|
-
"name": "event",
|
320
|
-
"type": "MouseEvent"
|
321
|
-
}
|
322
|
-
]
|
323
|
-
}
|
324
|
-
],
|
325
|
-
"attributes": [
|
326
|
-
{
|
327
|
-
"name": "v-model:show",
|
328
|
-
"default": "`false`",
|
329
|
-
"description": "Whether to show ActionSheet",
|
330
|
-
"options": [],
|
331
|
-
"value": {
|
332
|
-
"type": "boolean",
|
333
|
-
"kind": "expression"
|
334
|
-
}
|
335
|
-
},
|
336
|
-
{
|
337
|
-
"name": "actions",
|
338
|
-
"default": "`[]`",
|
339
|
-
"description": "Options",
|
340
|
-
"options": [],
|
341
|
-
"value": {
|
342
|
-
"type": "ActionSheetAction[]",
|
343
|
-
"kind": "expression"
|
344
|
-
}
|
345
|
-
},
|
346
|
-
{
|
347
|
-
"name": "title",
|
348
|
-
"default": "-",
|
349
|
-
"description": "Title",
|
350
|
-
"options": [],
|
351
|
-
"value": {
|
352
|
-
"type": "string",
|
353
|
-
"kind": "expression"
|
354
|
-
}
|
355
|
-
},
|
356
|
-
{
|
357
|
-
"name": "cancel-text",
|
358
|
-
"default": "-",
|
359
|
-
"description": "Text of cancel button",
|
360
|
-
"options": [],
|
361
|
-
"value": {
|
362
|
-
"type": "string",
|
363
|
-
"kind": "expression"
|
364
|
-
}
|
365
|
-
},
|
366
|
-
{
|
367
|
-
"name": "description",
|
368
|
-
"default": "-",
|
369
|
-
"description": "Description above the options",
|
370
|
-
"options": [],
|
371
|
-
"value": {
|
372
|
-
"type": "string",
|
373
|
-
"kind": "expression"
|
374
|
-
}
|
375
|
-
},
|
376
|
-
{
|
377
|
-
"name": "closeable",
|
378
|
-
"default": "`true`",
|
379
|
-
"description": "Whether to show close icon",
|
380
|
-
"options": [],
|
381
|
-
"value": {
|
382
|
-
"type": "boolean",
|
383
|
-
"kind": "expression"
|
384
|
-
}
|
385
|
-
},
|
386
|
-
{
|
387
|
-
"name": "close-icon",
|
388
|
-
"default": "`cross`",
|
389
|
-
"description": "Close icon name",
|
390
|
-
"options": [],
|
391
|
-
"value": {
|
392
|
-
"type": "string",
|
393
|
-
"kind": "expression"
|
394
|
-
}
|
395
|
-
},
|
396
|
-
{
|
397
|
-
"name": "duration",
|
398
|
-
"default": "`0.3`",
|
399
|
-
"description": "Transition duration, unit second",
|
400
|
-
"options": [],
|
401
|
-
"value": {
|
402
|
-
"type": "number | string",
|
403
|
-
"kind": "expression"
|
404
|
-
}
|
405
|
-
},
|
406
|
-
{
|
407
|
-
"name": "round",
|
408
|
-
"default": "`true`",
|
409
|
-
"description": "Whether to show round corner",
|
410
|
-
"options": [],
|
411
|
-
"value": {
|
412
|
-
"type": "boolean",
|
413
|
-
"kind": "expression"
|
414
|
-
}
|
415
|
-
},
|
416
|
-
{
|
417
|
-
"name": "overlay",
|
418
|
-
"default": "`true`",
|
419
|
-
"description": "Whether to show overlay",
|
420
|
-
"options": [],
|
421
|
-
"value": {
|
422
|
-
"type": "boolean",
|
423
|
-
"kind": "expression"
|
424
|
-
}
|
425
|
-
},
|
426
|
-
{
|
427
|
-
"name": "overlay-class",
|
428
|
-
"default": "-",
|
429
|
-
"description": "Custom overlay class",
|
430
|
-
"options": [],
|
431
|
-
"value": {
|
432
|
-
"type": "string | Array | object",
|
433
|
-
"kind": "expression"
|
434
|
-
}
|
435
|
-
},
|
436
|
-
{
|
437
|
-
"name": "overlay-style",
|
438
|
-
"default": "-",
|
439
|
-
"description": "Custom overlay style",
|
440
|
-
"options": [],
|
441
|
-
"value": {
|
442
|
-
"type": "object",
|
443
|
-
"kind": "expression"
|
444
|
-
}
|
445
|
-
},
|
446
|
-
{
|
447
|
-
"name": "lock-scroll",
|
448
|
-
"default": "`true`",
|
449
|
-
"description": "Whether to lock background scroll",
|
450
|
-
"options": [],
|
451
|
-
"value": {
|
452
|
-
"type": "boolean",
|
453
|
-
"kind": "expression"
|
454
|
-
}
|
455
|
-
},
|
456
|
-
{
|
457
|
-
"name": "lazy-render",
|
458
|
-
"default": "`true`",
|
459
|
-
"description": "Whether to lazy render util appeared",
|
460
|
-
"options": [],
|
461
|
-
"value": {
|
462
|
-
"type": "boolean",
|
463
|
-
"kind": "expression"
|
464
|
-
}
|
465
|
-
},
|
466
|
-
{
|
467
|
-
"name": "close-on-popstate",
|
468
|
-
"default": "`true`",
|
469
|
-
"description": "Whether to close when popstate",
|
470
|
-
"options": [],
|
471
|
-
"value": {
|
472
|
-
"type": "boolean",
|
473
|
-
"kind": "expression"
|
474
|
-
}
|
475
|
-
},
|
476
|
-
{
|
477
|
-
"name": "close-on-click-action",
|
478
|
-
"default": "`false`",
|
479
|
-
"description": "Whether to close when an action is clicked",
|
480
|
-
"options": [],
|
481
|
-
"value": {
|
482
|
-
"type": "boolean",
|
483
|
-
"kind": "expression"
|
484
|
-
}
|
485
|
-
},
|
486
|
-
{
|
487
|
-
"name": "close-on-click-overlay",
|
488
|
-
"default": "`true`",
|
489
|
-
"description": "Whether to close when overlay is clicked",
|
490
|
-
"options": [],
|
491
|
-
"value": {
|
492
|
-
"type": "boolean",
|
493
|
-
"kind": "expression"
|
494
|
-
}
|
495
|
-
},
|
496
|
-
{
|
497
|
-
"name": "safe-area-inset-bottom",
|
498
|
-
"default": "`true`",
|
499
|
-
"description": "Whether to enable bottom safe area adaptation",
|
500
|
-
"options": [],
|
501
|
-
"value": {
|
502
|
-
"type": "boolean",
|
503
|
-
"kind": "expression"
|
504
|
-
}
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"name": "teleport",
|
508
|
-
"default": "-",
|
509
|
-
"description": "Specifies a target element where ActionSheet will be mounted",
|
510
|
-
"options": [],
|
511
|
-
"value": {
|
512
|
-
"type": "string | Element",
|
513
|
-
"kind": "expression"
|
514
|
-
}
|
515
|
-
},
|
516
|
-
{
|
517
|
-
"name": "before-close",
|
518
|
-
"default": "-",
|
519
|
-
"description": "Callback function before close",
|
520
|
-
"options": [],
|
521
|
-
"value": {
|
522
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
523
|
-
"kind": "expression"
|
524
|
-
}
|
525
|
-
}
|
526
|
-
]
|
527
|
-
},
|
528
254
|
{
|
529
255
|
"name": "van-address-edit",
|
530
256
|
"slots": [
|
@@ -752,82 +478,252 @@
|
|
752
478
|
}
|
753
479
|
},
|
754
480
|
{
|
755
|
-
"name": "detail-rows",
|
756
|
-
"default": "`1`",
|
757
|
-
"description": "Detail input rows",
|
758
|
-
"options": [],
|
759
|
-
"value": {
|
760
|
-
"type": "number | string",
|
761
|
-
"kind": "expression"
|
762
|
-
}
|
763
|
-
},
|
481
|
+
"name": "detail-rows",
|
482
|
+
"default": "`1`",
|
483
|
+
"description": "Detail input rows",
|
484
|
+
"options": [],
|
485
|
+
"value": {
|
486
|
+
"type": "number | string",
|
487
|
+
"kind": "expression"
|
488
|
+
}
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"name": "detail-maxlength",
|
492
|
+
"default": "`200`",
|
493
|
+
"description": "Detail maxlength",
|
494
|
+
"options": [],
|
495
|
+
"value": {
|
496
|
+
"type": "number | string",
|
497
|
+
"kind": "expression"
|
498
|
+
}
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"name": "is-saving",
|
502
|
+
"default": "`false`",
|
503
|
+
"description": "Whether to show save button loading status",
|
504
|
+
"options": [],
|
505
|
+
"value": {
|
506
|
+
"type": "boolean",
|
507
|
+
"kind": "expression"
|
508
|
+
}
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"name": "is-deleting",
|
512
|
+
"default": "`false`",
|
513
|
+
"description": "Whether to show delete button loading status",
|
514
|
+
"options": [],
|
515
|
+
"value": {
|
516
|
+
"type": "boolean",
|
517
|
+
"kind": "expression"
|
518
|
+
}
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"name": "tel-validator",
|
522
|
+
"default": "-",
|
523
|
+
"description": "The method to validate tel",
|
524
|
+
"options": [],
|
525
|
+
"value": {
|
526
|
+
"type": "(tel: string) => boolean",
|
527
|
+
"kind": "expression"
|
528
|
+
}
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"name": "tel-maxlength",
|
532
|
+
"default": "-",
|
533
|
+
"description": "Tel maxlength",
|
534
|
+
"options": [],
|
535
|
+
"value": {
|
536
|
+
"type": "number | string",
|
537
|
+
"kind": "expression"
|
538
|
+
}
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"name": "postal-validator",
|
542
|
+
"default": "-",
|
543
|
+
"description": "The method to validate postal",
|
544
|
+
"options": [],
|
545
|
+
"value": {
|
546
|
+
"type": "(tel: string) => boolean",
|
547
|
+
"kind": "expression"
|
548
|
+
}
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"name": "validator",
|
552
|
+
"default": "-",
|
553
|
+
"description": "Custom validator",
|
554
|
+
"options": [],
|
555
|
+
"value": {
|
556
|
+
"type": "(key, val) => string",
|
557
|
+
"kind": "expression"
|
558
|
+
}
|
559
|
+
}
|
560
|
+
]
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"name": "van-address-list",
|
564
|
+
"slots": [
|
565
|
+
{
|
566
|
+
"name": "default",
|
567
|
+
"description": "Custom content after list"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"name": "top",
|
571
|
+
"description": "Custom content before list"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"name": "item-bottom",
|
575
|
+
"description": "Custom content after list item"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"name": "tag",
|
579
|
+
"description": "Custom tag of list item"
|
580
|
+
}
|
581
|
+
],
|
582
|
+
"events": [
|
583
|
+
{
|
584
|
+
"name": "add",
|
585
|
+
"description": "Emitted when the add button is clicked",
|
586
|
+
"arguments": []
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"name": "edit",
|
590
|
+
"description": "Emitted when the edit icon of address is clicked",
|
591
|
+
"arguments": [
|
592
|
+
{
|
593
|
+
"name": "item",
|
594
|
+
"type": "Address"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"name": "index",
|
598
|
+
"type": "number"
|
599
|
+
}
|
600
|
+
]
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"name": "select",
|
604
|
+
"description": "Emitted when an address is selected",
|
605
|
+
"arguments": [
|
606
|
+
{
|
607
|
+
"name": "item",
|
608
|
+
"type": "Address"
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"name": "index",
|
612
|
+
"type": "number"
|
613
|
+
}
|
614
|
+
]
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"name": "edit-disabled",
|
618
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
619
|
+
"arguments": [
|
620
|
+
{
|
621
|
+
"name": "item",
|
622
|
+
"type": "Address"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"name": "index",
|
626
|
+
"type": "number"
|
627
|
+
}
|
628
|
+
]
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"name": "select-disabled",
|
632
|
+
"description": "Emitted when a disabled address is selected",
|
633
|
+
"arguments": [
|
634
|
+
{
|
635
|
+
"name": "item",
|
636
|
+
"type": "Address"
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"name": "index",
|
640
|
+
"type": "number"
|
641
|
+
}
|
642
|
+
]
|
643
|
+
},
|
644
|
+
{
|
645
|
+
"name": "click-item",
|
646
|
+
"description": "Emitted when an address item is clicked",
|
647
|
+
"arguments": [
|
648
|
+
{
|
649
|
+
"name": "item",
|
650
|
+
"type": "Address"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"name": "index",
|
654
|
+
"type": "number"
|
655
|
+
}
|
656
|
+
]
|
657
|
+
}
|
658
|
+
],
|
659
|
+
"attributes": [
|
764
660
|
{
|
765
|
-
"name": "
|
766
|
-
"default": "
|
767
|
-
"description": "
|
661
|
+
"name": "v-model",
|
662
|
+
"default": "-",
|
663
|
+
"description": "Id of chosen address",
|
768
664
|
"options": [],
|
769
665
|
"value": {
|
770
|
-
"type": "
|
666
|
+
"type": "string",
|
771
667
|
"kind": "expression"
|
772
668
|
}
|
773
669
|
},
|
774
670
|
{
|
775
|
-
"name": "
|
776
|
-
"default": "`
|
777
|
-
"description": "
|
671
|
+
"name": "list",
|
672
|
+
"default": "`[]`",
|
673
|
+
"description": "Address list",
|
778
674
|
"options": [],
|
779
675
|
"value": {
|
780
|
-
"type": "
|
676
|
+
"type": "Address[]",
|
781
677
|
"kind": "expression"
|
782
678
|
}
|
783
679
|
},
|
784
680
|
{
|
785
|
-
"name": "
|
786
|
-
"default": "`
|
787
|
-
"description": "
|
681
|
+
"name": "disabled-list",
|
682
|
+
"default": "`[]`",
|
683
|
+
"description": "Disabled address list",
|
788
684
|
"options": [],
|
789
685
|
"value": {
|
790
|
-
"type": "
|
686
|
+
"type": "Address[]",
|
791
687
|
"kind": "expression"
|
792
688
|
}
|
793
689
|
},
|
794
690
|
{
|
795
|
-
"name": "
|
691
|
+
"name": "disabled-text",
|
796
692
|
"default": "-",
|
797
|
-
"description": "
|
693
|
+
"description": "Disabled text",
|
798
694
|
"options": [],
|
799
695
|
"value": {
|
800
|
-
"type": "
|
696
|
+
"type": "string",
|
801
697
|
"kind": "expression"
|
802
698
|
}
|
803
699
|
},
|
804
700
|
{
|
805
|
-
"name": "
|
806
|
-
"default": "
|
807
|
-
"description": "
|
701
|
+
"name": "switchable",
|
702
|
+
"default": "`true`",
|
703
|
+
"description": "Whether to allow switch address",
|
808
704
|
"options": [],
|
809
705
|
"value": {
|
810
|
-
"type": "
|
706
|
+
"type": "boolean",
|
811
707
|
"kind": "expression"
|
812
708
|
}
|
813
709
|
},
|
814
710
|
{
|
815
|
-
"name": "
|
816
|
-
"default": "
|
817
|
-
"description": "
|
711
|
+
"name": "add-button-text",
|
712
|
+
"default": "`Add new address`",
|
713
|
+
"description": "Add button text",
|
818
714
|
"options": [],
|
819
715
|
"value": {
|
820
|
-
"type": "
|
716
|
+
"type": "string",
|
821
717
|
"kind": "expression"
|
822
718
|
}
|
823
719
|
},
|
824
720
|
{
|
825
|
-
"name": "
|
721
|
+
"name": "default-tag-text",
|
826
722
|
"default": "-",
|
827
|
-
"description": "
|
723
|
+
"description": "Default tag text",
|
828
724
|
"options": [],
|
829
725
|
"value": {
|
830
|
-
"type": "
|
726
|
+
"type": "string",
|
831
727
|
"kind": "expression"
|
832
728
|
}
|
833
729
|
}
|
@@ -1112,137 +1008,198 @@
|
|
1112
1008
|
]
|
1113
1009
|
},
|
1114
1010
|
{
|
1115
|
-
"name": "van-
|
1011
|
+
"name": "van-button",
|
1116
1012
|
"slots": [
|
1117
1013
|
{
|
1118
1014
|
"name": "default",
|
1119
|
-
"description": "
|
1120
|
-
},
|
1121
|
-
{
|
1122
|
-
"name": "top",
|
1123
|
-
"description": "Custom content before list"
|
1015
|
+
"description": "Default slot"
|
1124
1016
|
},
|
1125
1017
|
{
|
1126
|
-
"name": "
|
1127
|
-
"description": "Custom
|
1018
|
+
"name": "icon",
|
1019
|
+
"description": "Custom icon"
|
1128
1020
|
},
|
1129
1021
|
{
|
1130
|
-
"name": "
|
1131
|
-
"description": "Custom
|
1022
|
+
"name": "loading",
|
1023
|
+
"description": "Custom loading icon"
|
1132
1024
|
}
|
1133
1025
|
],
|
1134
1026
|
"events": [
|
1135
1027
|
{
|
1136
|
-
"name": "
|
1137
|
-
"description": "Emitted when
|
1138
|
-
"arguments": []
|
1139
|
-
},
|
1140
|
-
{
|
1141
|
-
"name": "edit",
|
1142
|
-
"description": "Emitted when the edit icon of address is clicked",
|
1028
|
+
"name": "click",
|
1029
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1143
1030
|
"arguments": [
|
1144
1031
|
{
|
1145
|
-
"name": "
|
1146
|
-
"type": "
|
1147
|
-
},
|
1148
|
-
{
|
1149
|
-
"name": "index",
|
1150
|
-
"type": "number"
|
1032
|
+
"name": "event",
|
1033
|
+
"type": "MouseEvent"
|
1151
1034
|
}
|
1152
1035
|
]
|
1153
1036
|
},
|
1154
1037
|
{
|
1155
|
-
"name": "
|
1156
|
-
"description": "Emitted when
|
1038
|
+
"name": "touchstart",
|
1039
|
+
"description": "Emitted when button is touched",
|
1157
1040
|
"arguments": [
|
1158
1041
|
{
|
1159
|
-
"name": "
|
1160
|
-
"type": "
|
1161
|
-
},
|
1162
|
-
{
|
1163
|
-
"name": "index",
|
1164
|
-
"type": "number"
|
1042
|
+
"name": "event",
|
1043
|
+
"type": "TouchEvent"
|
1165
1044
|
}
|
1166
1045
|
]
|
1046
|
+
}
|
1047
|
+
],
|
1048
|
+
"attributes": [
|
1049
|
+
{
|
1050
|
+
"name": "type",
|
1051
|
+
"default": "`default`",
|
1052
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1053
|
+
"options": [],
|
1054
|
+
"value": {
|
1055
|
+
"type": "string",
|
1056
|
+
"kind": "expression"
|
1057
|
+
}
|
1167
1058
|
},
|
1168
1059
|
{
|
1169
|
-
"name": "
|
1170
|
-
"
|
1171
|
-
"
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
"name": "index",
|
1178
|
-
"type": "number"
|
1179
|
-
}
|
1180
|
-
]
|
1060
|
+
"name": "size",
|
1061
|
+
"default": "`normal`",
|
1062
|
+
"description": "Can be set to `large` `small` `mini`",
|
1063
|
+
"options": [],
|
1064
|
+
"value": {
|
1065
|
+
"type": "string",
|
1066
|
+
"kind": "expression"
|
1067
|
+
}
|
1181
1068
|
},
|
1182
1069
|
{
|
1183
|
-
"name": "
|
1184
|
-
"
|
1185
|
-
"
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1070
|
+
"name": "text",
|
1071
|
+
"default": "-",
|
1072
|
+
"description": "Text",
|
1073
|
+
"options": [],
|
1074
|
+
"value": {
|
1075
|
+
"type": "string",
|
1076
|
+
"kind": "expression"
|
1077
|
+
}
|
1078
|
+
},
|
1079
|
+
{
|
1080
|
+
"name": "color",
|
1081
|
+
"default": "-",
|
1082
|
+
"description": "Color, support linear-gradient",
|
1083
|
+
"options": [],
|
1084
|
+
"value": {
|
1085
|
+
"type": "string",
|
1086
|
+
"kind": "expression"
|
1087
|
+
}
|
1088
|
+
},
|
1089
|
+
{
|
1090
|
+
"name": "icon",
|
1091
|
+
"default": "-",
|
1092
|
+
"description": "Left Icon",
|
1093
|
+
"options": [],
|
1094
|
+
"value": {
|
1095
|
+
"type": "string",
|
1096
|
+
"kind": "expression"
|
1097
|
+
}
|
1098
|
+
},
|
1099
|
+
{
|
1100
|
+
"name": "icon-prefix",
|
1101
|
+
"default": "`van-icon`",
|
1102
|
+
"description": "Icon className prefix",
|
1103
|
+
"options": [],
|
1104
|
+
"value": {
|
1105
|
+
"type": "string",
|
1106
|
+
"kind": "expression"
|
1107
|
+
}
|
1108
|
+
},
|
1109
|
+
{
|
1110
|
+
"name": "icon-position",
|
1111
|
+
"default": "`left`",
|
1112
|
+
"description": "Icon position, can be set to `right`",
|
1113
|
+
"options": [],
|
1114
|
+
"value": {
|
1115
|
+
"type": "string",
|
1116
|
+
"kind": "expression"
|
1117
|
+
}
|
1118
|
+
},
|
1119
|
+
{
|
1120
|
+
"name": "tag",
|
1121
|
+
"default": "`button`",
|
1122
|
+
"description": "HTML Tag",
|
1123
|
+
"options": [],
|
1124
|
+
"value": {
|
1125
|
+
"type": "string",
|
1126
|
+
"kind": "expression"
|
1127
|
+
}
|
1128
|
+
},
|
1129
|
+
{
|
1130
|
+
"name": "native-type",
|
1131
|
+
"default": "`button`",
|
1132
|
+
"description": "Native Type Attribute",
|
1133
|
+
"options": [],
|
1134
|
+
"value": {
|
1135
|
+
"type": "string",
|
1136
|
+
"kind": "expression"
|
1137
|
+
}
|
1138
|
+
},
|
1139
|
+
{
|
1140
|
+
"name": "plain",
|
1141
|
+
"default": "`false`",
|
1142
|
+
"description": "Whether to be plain button",
|
1143
|
+
"options": [],
|
1144
|
+
"value": {
|
1145
|
+
"type": "boolean",
|
1146
|
+
"kind": "expression"
|
1147
|
+
}
|
1148
|
+
},
|
1149
|
+
{
|
1150
|
+
"name": "block",
|
1151
|
+
"default": "`false`",
|
1152
|
+
"description": "Whether to set display block",
|
1153
|
+
"options": [],
|
1154
|
+
"value": {
|
1155
|
+
"type": "boolean",
|
1156
|
+
"kind": "expression"
|
1157
|
+
}
|
1195
1158
|
},
|
1196
1159
|
{
|
1197
|
-
"name": "
|
1198
|
-
"
|
1199
|
-
"
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
"type": "number"
|
1207
|
-
}
|
1208
|
-
]
|
1209
|
-
}
|
1210
|
-
],
|
1211
|
-
"attributes": [
|
1160
|
+
"name": "round",
|
1161
|
+
"default": "`false`",
|
1162
|
+
"description": "Whether to be round button",
|
1163
|
+
"options": [],
|
1164
|
+
"value": {
|
1165
|
+
"type": "boolean",
|
1166
|
+
"kind": "expression"
|
1167
|
+
}
|
1168
|
+
},
|
1212
1169
|
{
|
1213
|
-
"name": "
|
1214
|
-
"default": "
|
1215
|
-
"description": "
|
1170
|
+
"name": "square",
|
1171
|
+
"default": "`false`",
|
1172
|
+
"description": "Whether to be square button",
|
1216
1173
|
"options": [],
|
1217
1174
|
"value": {
|
1218
|
-
"type": "
|
1175
|
+
"type": "boolean",
|
1219
1176
|
"kind": "expression"
|
1220
1177
|
}
|
1221
1178
|
},
|
1222
1179
|
{
|
1223
|
-
"name": "
|
1224
|
-
"default": "`
|
1225
|
-
"description": "
|
1180
|
+
"name": "disabled",
|
1181
|
+
"default": "`false`",
|
1182
|
+
"description": "Whether to disable button",
|
1226
1183
|
"options": [],
|
1227
1184
|
"value": {
|
1228
|
-
"type": "
|
1185
|
+
"type": "boolean",
|
1229
1186
|
"kind": "expression"
|
1230
1187
|
}
|
1231
1188
|
},
|
1232
1189
|
{
|
1233
|
-
"name": "
|
1234
|
-
"default": "`
|
1235
|
-
"description": "
|
1190
|
+
"name": "loading",
|
1191
|
+
"default": "`false`",
|
1192
|
+
"description": "Whether to show loading status",
|
1236
1193
|
"options": [],
|
1237
1194
|
"value": {
|
1238
|
-
"type": "
|
1195
|
+
"type": "boolean",
|
1239
1196
|
"kind": "expression"
|
1240
1197
|
}
|
1241
1198
|
},
|
1242
1199
|
{
|
1243
|
-
"name": "
|
1200
|
+
"name": "loading-text",
|
1244
1201
|
"default": "-",
|
1245
|
-
"description": "
|
1202
|
+
"description": "Loading text",
|
1246
1203
|
"options": [],
|
1247
1204
|
"value": {
|
1248
1205
|
"type": "string",
|
@@ -1250,100 +1207,153 @@
|
|
1250
1207
|
}
|
1251
1208
|
},
|
1252
1209
|
{
|
1253
|
-
"name": "
|
1254
|
-
"default": "`
|
1255
|
-
"description": "
|
1210
|
+
"name": "loading-type",
|
1211
|
+
"default": "`circular`",
|
1212
|
+
"description": "Loading type, can be set to `spinner`",
|
1256
1213
|
"options": [],
|
1257
1214
|
"value": {
|
1258
|
-
"type": "
|
1215
|
+
"type": "string",
|
1259
1216
|
"kind": "expression"
|
1260
1217
|
}
|
1261
1218
|
},
|
1262
1219
|
{
|
1263
|
-
"name": "
|
1264
|
-
"default": "`
|
1265
|
-
"description": "
|
1220
|
+
"name": "loading-size",
|
1221
|
+
"default": "`20px`",
|
1222
|
+
"description": "Loading icon size",
|
1266
1223
|
"options": [],
|
1267
1224
|
"value": {
|
1268
|
-
"type": "string",
|
1225
|
+
"type": "number | string",
|
1269
1226
|
"kind": "expression"
|
1270
1227
|
}
|
1271
1228
|
},
|
1272
1229
|
{
|
1273
|
-
"name": "
|
1230
|
+
"name": "url",
|
1274
1231
|
"default": "-",
|
1275
|
-
"description": "
|
1232
|
+
"description": "Link URL",
|
1276
1233
|
"options": [],
|
1277
1234
|
"value": {
|
1278
1235
|
"type": "string",
|
1279
1236
|
"kind": "expression"
|
1280
1237
|
}
|
1238
|
+
},
|
1239
|
+
{
|
1240
|
+
"name": "to",
|
1241
|
+
"default": "-",
|
1242
|
+
"description": "Target route of the link, same as using vue-router",
|
1243
|
+
"options": [],
|
1244
|
+
"value": {
|
1245
|
+
"type": "string | object",
|
1246
|
+
"kind": "expression"
|
1247
|
+
}
|
1248
|
+
},
|
1249
|
+
{
|
1250
|
+
"name": "replace",
|
1251
|
+
"default": "`false`",
|
1252
|
+
"description": "If true, the navigation will not leave a history record",
|
1253
|
+
"options": [],
|
1254
|
+
"value": {
|
1255
|
+
"type": "boolean",
|
1256
|
+
"kind": "expression"
|
1257
|
+
}
|
1281
1258
|
}
|
1282
1259
|
]
|
1283
1260
|
},
|
1284
1261
|
{
|
1285
|
-
"name": "van-
|
1262
|
+
"name": "van-action-sheet",
|
1286
1263
|
"slots": [
|
1287
1264
|
{
|
1288
1265
|
"name": "default",
|
1289
|
-
"description": "
|
1266
|
+
"description": "Custom content"
|
1290
1267
|
},
|
1291
1268
|
{
|
1292
|
-
"name": "
|
1293
|
-
"description": "Custom
|
1269
|
+
"name": "description",
|
1270
|
+
"description": "Custom description above the options"
|
1294
1271
|
},
|
1295
1272
|
{
|
1296
|
-
"name": "
|
1297
|
-
"description": "Custom
|
1273
|
+
"name": "cancel",
|
1274
|
+
"description": "Custom the content of cancel button"
|
1275
|
+
},
|
1276
|
+
{
|
1277
|
+
"name": "action",
|
1278
|
+
"description": "Custom the content of action"
|
1298
1279
|
}
|
1299
1280
|
],
|
1300
1281
|
"events": [
|
1301
1282
|
{
|
1302
|
-
"name": "
|
1303
|
-
"description": "Emitted when
|
1283
|
+
"name": "select",
|
1284
|
+
"description": "Emitted when an option is clicked",
|
1304
1285
|
"arguments": [
|
1305
1286
|
{
|
1306
|
-
"name": "
|
1307
|
-
"type": "
|
1287
|
+
"name": "action",
|
1288
|
+
"type": "ActionSheetAction"
|
1289
|
+
},
|
1290
|
+
{
|
1291
|
+
"name": "index",
|
1292
|
+
"type": "number"
|
1308
1293
|
}
|
1309
1294
|
]
|
1310
1295
|
},
|
1311
1296
|
{
|
1312
|
-
"name": "
|
1313
|
-
"description": "Emitted when button is
|
1297
|
+
"name": "cancel",
|
1298
|
+
"description": "Emitted when the cancel button is clicked",
|
1299
|
+
"arguments": []
|
1300
|
+
},
|
1301
|
+
{
|
1302
|
+
"name": "open",
|
1303
|
+
"description": "Emitted when opening ActionSheet",
|
1304
|
+
"arguments": []
|
1305
|
+
},
|
1306
|
+
{
|
1307
|
+
"name": "close",
|
1308
|
+
"description": "Emitted when closing ActionSheet",
|
1309
|
+
"arguments": []
|
1310
|
+
},
|
1311
|
+
{
|
1312
|
+
"name": "opened",
|
1313
|
+
"description": "Emitted when ActionSheet is opened",
|
1314
|
+
"arguments": []
|
1315
|
+
},
|
1316
|
+
{
|
1317
|
+
"name": "closed",
|
1318
|
+
"description": "Emitted when ActionSheet is closed",
|
1319
|
+
"arguments": []
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
"name": "click-overlay",
|
1323
|
+
"description": "Emitted when overlay is clicked",
|
1314
1324
|
"arguments": [
|
1315
1325
|
{
|
1316
1326
|
"name": "event",
|
1317
|
-
"type": "
|
1327
|
+
"type": "MouseEvent"
|
1318
1328
|
}
|
1319
1329
|
]
|
1320
1330
|
}
|
1321
1331
|
],
|
1322
1332
|
"attributes": [
|
1323
1333
|
{
|
1324
|
-
"name": "
|
1325
|
-
"default": "`
|
1326
|
-
"description": "
|
1334
|
+
"name": "v-model:show",
|
1335
|
+
"default": "`false`",
|
1336
|
+
"description": "Whether to show ActionSheet",
|
1327
1337
|
"options": [],
|
1328
1338
|
"value": {
|
1329
|
-
"type": "
|
1339
|
+
"type": "boolean",
|
1330
1340
|
"kind": "expression"
|
1331
1341
|
}
|
1332
1342
|
},
|
1333
1343
|
{
|
1334
|
-
"name": "
|
1335
|
-
"default": "`
|
1336
|
-
"description": "
|
1344
|
+
"name": "actions",
|
1345
|
+
"default": "`[]`",
|
1346
|
+
"description": "Options",
|
1337
1347
|
"options": [],
|
1338
1348
|
"value": {
|
1339
|
-
"type": "
|
1349
|
+
"type": "ActionSheetAction[]",
|
1340
1350
|
"kind": "expression"
|
1341
1351
|
}
|
1342
1352
|
},
|
1343
1353
|
{
|
1344
|
-
"name": "
|
1354
|
+
"name": "title",
|
1345
1355
|
"default": "-",
|
1346
|
-
"description": "
|
1356
|
+
"description": "Title",
|
1347
1357
|
"options": [],
|
1348
1358
|
"value": {
|
1349
1359
|
"type": "string",
|
@@ -1351,9 +1361,9 @@
|
|
1351
1361
|
}
|
1352
1362
|
},
|
1353
1363
|
{
|
1354
|
-
"name": "
|
1364
|
+
"name": "cancel-text",
|
1355
1365
|
"default": "-",
|
1356
|
-
"description": "
|
1366
|
+
"description": "Text of cancel button",
|
1357
1367
|
"options": [],
|
1358
1368
|
"value": {
|
1359
1369
|
"type": "string",
|
@@ -1361,19 +1371,9 @@
|
|
1361
1371
|
}
|
1362
1372
|
},
|
1363
1373
|
{
|
1364
|
-
"name": "
|
1374
|
+
"name": "description",
|
1365
1375
|
"default": "-",
|
1366
|
-
"description": "
|
1367
|
-
"options": [],
|
1368
|
-
"value": {
|
1369
|
-
"type": "string",
|
1370
|
-
"kind": "expression"
|
1371
|
-
}
|
1372
|
-
},
|
1373
|
-
{
|
1374
|
-
"name": "icon-prefix",
|
1375
|
-
"default": "`van-icon`",
|
1376
|
-
"description": "Icon className prefix",
|
1376
|
+
"description": "Description above the options",
|
1377
1377
|
"options": [],
|
1378
1378
|
"value": {
|
1379
1379
|
"type": "string",
|
@@ -1381,19 +1381,19 @@
|
|
1381
1381
|
}
|
1382
1382
|
},
|
1383
1383
|
{
|
1384
|
-
"name": "
|
1385
|
-
"default": "`
|
1386
|
-
"description": "
|
1384
|
+
"name": "closeable",
|
1385
|
+
"default": "`true`",
|
1386
|
+
"description": "Whether to show close icon",
|
1387
1387
|
"options": [],
|
1388
1388
|
"value": {
|
1389
|
-
"type": "
|
1389
|
+
"type": "boolean",
|
1390
1390
|
"kind": "expression"
|
1391
1391
|
}
|
1392
1392
|
},
|
1393
1393
|
{
|
1394
|
-
"name": "
|
1395
|
-
"default": "`
|
1396
|
-
"description": "
|
1394
|
+
"name": "close-icon",
|
1395
|
+
"default": "`cross`",
|
1396
|
+
"description": "Close icon name",
|
1397
1397
|
"options": [],
|
1398
1398
|
"value": {
|
1399
1399
|
"type": "string",
|
@@ -1401,19 +1401,19 @@
|
|
1401
1401
|
}
|
1402
1402
|
},
|
1403
1403
|
{
|
1404
|
-
"name": "
|
1405
|
-
"default": "`
|
1406
|
-
"description": "
|
1404
|
+
"name": "duration",
|
1405
|
+
"default": "`0.3`",
|
1406
|
+
"description": "Transition duration, unit second",
|
1407
1407
|
"options": [],
|
1408
1408
|
"value": {
|
1409
|
-
"type": "string",
|
1409
|
+
"type": "number | string",
|
1410
1410
|
"kind": "expression"
|
1411
1411
|
}
|
1412
1412
|
},
|
1413
1413
|
{
|
1414
|
-
"name": "
|
1415
|
-
"default": "`
|
1416
|
-
"description": "Whether to
|
1414
|
+
"name": "round",
|
1415
|
+
"default": "`true`",
|
1416
|
+
"description": "Whether to show round corner",
|
1417
1417
|
"options": [],
|
1418
1418
|
"value": {
|
1419
1419
|
"type": "boolean",
|
@@ -1421,9 +1421,9 @@
|
|
1421
1421
|
}
|
1422
1422
|
},
|
1423
1423
|
{
|
1424
|
-
"name": "
|
1425
|
-
"default": "`
|
1426
|
-
"description": "Whether to
|
1424
|
+
"name": "overlay",
|
1425
|
+
"default": "`true`",
|
1426
|
+
"description": "Whether to show overlay",
|
1427
1427
|
"options": [],
|
1428
1428
|
"value": {
|
1429
1429
|
"type": "boolean",
|
@@ -1431,29 +1431,29 @@
|
|
1431
1431
|
}
|
1432
1432
|
},
|
1433
1433
|
{
|
1434
|
-
"name": "
|
1435
|
-
"default": "
|
1436
|
-
"description": "
|
1434
|
+
"name": "overlay-class",
|
1435
|
+
"default": "-",
|
1436
|
+
"description": "Custom overlay class",
|
1437
1437
|
"options": [],
|
1438
1438
|
"value": {
|
1439
|
-
"type": "
|
1439
|
+
"type": "string | Array | object",
|
1440
1440
|
"kind": "expression"
|
1441
1441
|
}
|
1442
1442
|
},
|
1443
1443
|
{
|
1444
|
-
"name": "
|
1445
|
-
"default": "
|
1446
|
-
"description": "
|
1444
|
+
"name": "overlay-style",
|
1445
|
+
"default": "-",
|
1446
|
+
"description": "Custom overlay style",
|
1447
1447
|
"options": [],
|
1448
1448
|
"value": {
|
1449
|
-
"type": "
|
1449
|
+
"type": "object",
|
1450
1450
|
"kind": "expression"
|
1451
1451
|
}
|
1452
1452
|
},
|
1453
1453
|
{
|
1454
|
-
"name": "
|
1455
|
-
"default": "`
|
1456
|
-
"description": "Whether to
|
1454
|
+
"name": "lock-scroll",
|
1455
|
+
"default": "`true`",
|
1456
|
+
"description": "Whether to lock background scroll",
|
1457
1457
|
"options": [],
|
1458
1458
|
"value": {
|
1459
1459
|
"type": "boolean",
|
@@ -1461,72 +1461,72 @@
|
|
1461
1461
|
}
|
1462
1462
|
},
|
1463
1463
|
{
|
1464
|
-
"name": "
|
1465
|
-
"default": "`
|
1466
|
-
"description": "Whether to
|
1464
|
+
"name": "lazy-render",
|
1465
|
+
"default": "`true`",
|
1466
|
+
"description": "Whether to lazy render util appeared",
|
1467
1467
|
"options": [],
|
1468
1468
|
"value": {
|
1469
1469
|
"type": "boolean",
|
1470
1470
|
"kind": "expression"
|
1471
1471
|
}
|
1472
1472
|
},
|
1473
|
-
{
|
1474
|
-
"name": "
|
1475
|
-
"default": "
|
1476
|
-
"description": "
|
1473
|
+
{
|
1474
|
+
"name": "close-on-popstate",
|
1475
|
+
"default": "`true`",
|
1476
|
+
"description": "Whether to close when popstate",
|
1477
1477
|
"options": [],
|
1478
1478
|
"value": {
|
1479
|
-
"type": "
|
1479
|
+
"type": "boolean",
|
1480
1480
|
"kind": "expression"
|
1481
1481
|
}
|
1482
1482
|
},
|
1483
1483
|
{
|
1484
|
-
"name": "
|
1485
|
-
"default": "`
|
1486
|
-
"description": "
|
1484
|
+
"name": "close-on-click-action",
|
1485
|
+
"default": "`false`",
|
1486
|
+
"description": "Whether to close when an action is clicked",
|
1487
1487
|
"options": [],
|
1488
1488
|
"value": {
|
1489
|
-
"type": "
|
1489
|
+
"type": "boolean",
|
1490
1490
|
"kind": "expression"
|
1491
1491
|
}
|
1492
1492
|
},
|
1493
1493
|
{
|
1494
|
-
"name": "
|
1495
|
-
"default": "`
|
1496
|
-
"description": "
|
1494
|
+
"name": "close-on-click-overlay",
|
1495
|
+
"default": "`true`",
|
1496
|
+
"description": "Whether to close when overlay is clicked",
|
1497
1497
|
"options": [],
|
1498
1498
|
"value": {
|
1499
|
-
"type": "
|
1499
|
+
"type": "boolean",
|
1500
1500
|
"kind": "expression"
|
1501
1501
|
}
|
1502
1502
|
},
|
1503
1503
|
{
|
1504
|
-
"name": "
|
1505
|
-
"default": "
|
1506
|
-
"description": "
|
1504
|
+
"name": "safe-area-inset-bottom",
|
1505
|
+
"default": "`true`",
|
1506
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1507
1507
|
"options": [],
|
1508
1508
|
"value": {
|
1509
|
-
"type": "
|
1509
|
+
"type": "boolean",
|
1510
1510
|
"kind": "expression"
|
1511
1511
|
}
|
1512
1512
|
},
|
1513
1513
|
{
|
1514
|
-
"name": "
|
1514
|
+
"name": "teleport",
|
1515
1515
|
"default": "-",
|
1516
|
-
"description": "
|
1516
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1517
1517
|
"options": [],
|
1518
1518
|
"value": {
|
1519
|
-
"type": "string |
|
1519
|
+
"type": "string | Element",
|
1520
1520
|
"kind": "expression"
|
1521
1521
|
}
|
1522
1522
|
},
|
1523
1523
|
{
|
1524
|
-
"name": "
|
1525
|
-
"default": "
|
1526
|
-
"description": "
|
1524
|
+
"name": "before-close",
|
1525
|
+
"default": "-",
|
1526
|
+
"description": "Callback function before close",
|
1527
1527
|
"options": [],
|
1528
1528
|
"value": {
|
1529
|
-
"type": "boolean",
|
1529
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1530
1530
|
"kind": "expression"
|
1531
1531
|
}
|
1532
1532
|
}
|
@@ -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": {
|
@@ -5277,10 +5277,10 @@
|
|
5277
5277
|
{
|
5278
5278
|
"name": "validate-trigger",
|
5279
5279
|
"default": "`onBlur`",
|
5280
|
-
"description": "When to validate the form, can be set to `onChange`、`onSubmit
|
5280
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
|
5281
5281
|
"options": [],
|
5282
5282
|
"value": {
|
5283
|
-
"type": "string",
|
5283
|
+
"type": "string | string[]",
|
5284
5284
|
"kind": "expression"
|
5285
5285
|
}
|
5286
5286
|
},
|
@@ -6633,9 +6633,218 @@
|
|
6633
6633
|
}
|
6634
6634
|
},
|
6635
6635
|
{
|
6636
|
-
"name": "color",
|
6637
|
-
"default": "`#ed6a0c`",
|
6638
|
-
"description": "Text color",
|
6636
|
+
"name": "color",
|
6637
|
+
"default": "`#ed6a0c`",
|
6638
|
+
"description": "Text color",
|
6639
|
+
"options": [],
|
6640
|
+
"value": {
|
6641
|
+
"type": "string",
|
6642
|
+
"kind": "expression"
|
6643
|
+
}
|
6644
|
+
},
|
6645
|
+
{
|
6646
|
+
"name": "background",
|
6647
|
+
"default": "`#fffbe8`",
|
6648
|
+
"description": "Background color",
|
6649
|
+
"options": [],
|
6650
|
+
"value": {
|
6651
|
+
"type": "string",
|
6652
|
+
"kind": "expression"
|
6653
|
+
}
|
6654
|
+
},
|
6655
|
+
{
|
6656
|
+
"name": "left-icon",
|
6657
|
+
"default": "-",
|
6658
|
+
"description": "Left Icon",
|
6659
|
+
"options": [],
|
6660
|
+
"value": {
|
6661
|
+
"type": "string",
|
6662
|
+
"kind": "expression"
|
6663
|
+
}
|
6664
|
+
},
|
6665
|
+
{
|
6666
|
+
"name": "delay",
|
6667
|
+
"default": "`1`",
|
6668
|
+
"description": "Animation delay (s)",
|
6669
|
+
"options": [],
|
6670
|
+
"value": {
|
6671
|
+
"type": "number | string",
|
6672
|
+
"kind": "expression"
|
6673
|
+
}
|
6674
|
+
},
|
6675
|
+
{
|
6676
|
+
"name": "speed",
|
6677
|
+
"default": "`60`",
|
6678
|
+
"description": "Scroll speed (px/s)",
|
6679
|
+
"options": [],
|
6680
|
+
"value": {
|
6681
|
+
"type": "number | string",
|
6682
|
+
"kind": "expression"
|
6683
|
+
}
|
6684
|
+
},
|
6685
|
+
{
|
6686
|
+
"name": "scrollable",
|
6687
|
+
"default": "-",
|
6688
|
+
"description": "Whether to scroll content",
|
6689
|
+
"options": [],
|
6690
|
+
"value": {
|
6691
|
+
"type": "boolean",
|
6692
|
+
"kind": "expression"
|
6693
|
+
}
|
6694
|
+
},
|
6695
|
+
{
|
6696
|
+
"name": "wrapable",
|
6697
|
+
"default": "`false`",
|
6698
|
+
"description": "Whether to enable text wrap",
|
6699
|
+
"options": [],
|
6700
|
+
"value": {
|
6701
|
+
"type": "boolean",
|
6702
|
+
"kind": "expression"
|
6703
|
+
}
|
6704
|
+
}
|
6705
|
+
]
|
6706
|
+
},
|
6707
|
+
{
|
6708
|
+
"name": "van-overlay",
|
6709
|
+
"slots": [
|
6710
|
+
{
|
6711
|
+
"name": "default",
|
6712
|
+
"description": "Default slot"
|
6713
|
+
}
|
6714
|
+
],
|
6715
|
+
"events": [
|
6716
|
+
{
|
6717
|
+
"name": "click",
|
6718
|
+
"description": "Emitted when component is clicked",
|
6719
|
+
"arguments": [
|
6720
|
+
{
|
6721
|
+
"name": "event",
|
6722
|
+
"type": "MouseEvent"
|
6723
|
+
}
|
6724
|
+
]
|
6725
|
+
}
|
6726
|
+
],
|
6727
|
+
"attributes": [
|
6728
|
+
{
|
6729
|
+
"name": "show",
|
6730
|
+
"default": "`false`",
|
6731
|
+
"description": "Whether to show overlay",
|
6732
|
+
"options": [],
|
6733
|
+
"value": {
|
6734
|
+
"type": "boolean",
|
6735
|
+
"kind": "expression"
|
6736
|
+
}
|
6737
|
+
},
|
6738
|
+
{
|
6739
|
+
"name": "z-index",
|
6740
|
+
"default": "`1`",
|
6741
|
+
"description": "z-index",
|
6742
|
+
"options": [],
|
6743
|
+
"value": {
|
6744
|
+
"type": "number | string",
|
6745
|
+
"kind": "expression"
|
6746
|
+
}
|
6747
|
+
},
|
6748
|
+
{
|
6749
|
+
"name": "duration",
|
6750
|
+
"default": "`0.3`",
|
6751
|
+
"description": "Animation duration",
|
6752
|
+
"options": [],
|
6753
|
+
"value": {
|
6754
|
+
"type": "number | string",
|
6755
|
+
"kind": "expression"
|
6756
|
+
}
|
6757
|
+
},
|
6758
|
+
{
|
6759
|
+
"name": "class-name",
|
6760
|
+
"default": "-",
|
6761
|
+
"description": "ClassName",
|
6762
|
+
"options": [],
|
6763
|
+
"value": {
|
6764
|
+
"type": "string",
|
6765
|
+
"kind": "expression"
|
6766
|
+
}
|
6767
|
+
},
|
6768
|
+
{
|
6769
|
+
"name": "custom-class",
|
6770
|
+
"default": "-",
|
6771
|
+
"description": "Custom style",
|
6772
|
+
"options": [],
|
6773
|
+
"value": {
|
6774
|
+
"type": "object",
|
6775
|
+
"kind": "expression"
|
6776
|
+
}
|
6777
|
+
},
|
6778
|
+
{
|
6779
|
+
"name": "lock-scroll",
|
6780
|
+
"default": "`true`",
|
6781
|
+
"description": "Whether to lock background scroll",
|
6782
|
+
"options": [],
|
6783
|
+
"value": {
|
6784
|
+
"type": "boolean",
|
6785
|
+
"kind": "expression"
|
6786
|
+
}
|
6787
|
+
},
|
6788
|
+
{
|
6789
|
+
"name": "lazy-render",
|
6790
|
+
"default": "`true`",
|
6791
|
+
"description": "Whether to lazy render util appeared",
|
6792
|
+
"options": [],
|
6793
|
+
"value": {
|
6794
|
+
"type": "boolean",
|
6795
|
+
"kind": "expression"
|
6796
|
+
}
|
6797
|
+
}
|
6798
|
+
]
|
6799
|
+
},
|
6800
|
+
{
|
6801
|
+
"name": "van-pagination",
|
6802
|
+
"slots": [
|
6803
|
+
{
|
6804
|
+
"name": "page",
|
6805
|
+
"description": "Custom pagination item"
|
6806
|
+
},
|
6807
|
+
{
|
6808
|
+
"name": "prev-text",
|
6809
|
+
"description": "Custom prev text"
|
6810
|
+
},
|
6811
|
+
{
|
6812
|
+
"name": "next-text",
|
6813
|
+
"description": "Custom next text"
|
6814
|
+
}
|
6815
|
+
],
|
6816
|
+
"events": [
|
6817
|
+
{
|
6818
|
+
"name": "change",
|
6819
|
+
"description": "Emitted when current page changed",
|
6820
|
+
"arguments": []
|
6821
|
+
}
|
6822
|
+
],
|
6823
|
+
"attributes": [
|
6824
|
+
{
|
6825
|
+
"name": "v-model",
|
6826
|
+
"default": "-",
|
6827
|
+
"description": "Current page number",
|
6828
|
+
"options": [],
|
6829
|
+
"value": {
|
6830
|
+
"type": "number",
|
6831
|
+
"kind": "expression"
|
6832
|
+
}
|
6833
|
+
},
|
6834
|
+
{
|
6835
|
+
"name": "mode",
|
6836
|
+
"default": "`multi`",
|
6837
|
+
"description": "Mode, can be set to `simple` `multi`",
|
6838
|
+
"options": [],
|
6839
|
+
"value": {
|
6840
|
+
"type": "string",
|
6841
|
+
"kind": "expression"
|
6842
|
+
}
|
6843
|
+
},
|
6844
|
+
{
|
6845
|
+
"name": "prev-text",
|
6846
|
+
"default": "`Previous`",
|
6847
|
+
"description": "Previous text",
|
6639
6848
|
"options": [],
|
6640
6849
|
"value": {
|
6641
6850
|
"type": "string",
|
@@ -6643,9 +6852,9 @@
|
|
6643
6852
|
}
|
6644
6853
|
},
|
6645
6854
|
{
|
6646
|
-
"name": "
|
6647
|
-
"default": "
|
6648
|
-
"description": "
|
6855
|
+
"name": "next-text",
|
6856
|
+
"default": "`Next`",
|
6857
|
+
"description": "Next text",
|
6649
6858
|
"options": [],
|
6650
6859
|
"value": {
|
6651
6860
|
"type": "string",
|
@@ -6653,19 +6862,19 @@
|
|
6653
6862
|
}
|
6654
6863
|
},
|
6655
6864
|
{
|
6656
|
-
"name": "
|
6657
|
-
"default": "
|
6658
|
-
"description": "
|
6865
|
+
"name": "total-items",
|
6866
|
+
"default": "`0`",
|
6867
|
+
"description": "Total items",
|
6659
6868
|
"options": [],
|
6660
6869
|
"value": {
|
6661
|
-
"type": "string",
|
6870
|
+
"type": "number | string",
|
6662
6871
|
"kind": "expression"
|
6663
6872
|
}
|
6664
6873
|
},
|
6665
6874
|
{
|
6666
|
-
"name": "
|
6667
|
-
"default": "`
|
6668
|
-
"description": "
|
6875
|
+
"name": "items-per-page",
|
6876
|
+
"default": "`10`",
|
6877
|
+
"description": "Item number per page",
|
6669
6878
|
"options": [],
|
6670
6879
|
"value": {
|
6671
6880
|
"type": "number | string",
|
@@ -6673,9 +6882,9 @@
|
|
6673
6882
|
}
|
6674
6883
|
},
|
6675
6884
|
{
|
6676
|
-
"name": "
|
6677
|
-
"default": "
|
6678
|
-
"description": "
|
6885
|
+
"name": "page-count",
|
6886
|
+
"default": "`-`",
|
6887
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
|
6679
6888
|
"options": [],
|
6680
6889
|
"value": {
|
6681
6890
|
"type": "number | string",
|
@@ -6683,19 +6892,19 @@
|
|
6683
6892
|
}
|
6684
6893
|
},
|
6685
6894
|
{
|
6686
|
-
"name": "
|
6687
|
-
"default": "
|
6688
|
-
"description": "
|
6895
|
+
"name": "show-page-size",
|
6896
|
+
"default": "`5`",
|
6897
|
+
"description": "Count of page size to show",
|
6689
6898
|
"options": [],
|
6690
6899
|
"value": {
|
6691
|
-
"type": "
|
6900
|
+
"type": "number | string",
|
6692
6901
|
"kind": "expression"
|
6693
6902
|
}
|
6694
6903
|
},
|
6695
6904
|
{
|
6696
|
-
"name": "
|
6905
|
+
"name": "force-ellipses",
|
6697
6906
|
"default": "`false`",
|
6698
|
-
"description": "Whether to
|
6907
|
+
"description": "Whether to show ellipses",
|
6699
6908
|
"options": [],
|
6700
6909
|
"value": {
|
6701
6910
|
"type": "boolean",
|
@@ -6850,217 +7059,8 @@
|
|
6850
7059
|
},
|
6851
7060
|
{
|
6852
7061
|
"name": "delete-button-text",
|
6853
|
-
"default": "Delete Icon",
|
6854
|
-
"description": "Delete button text",
|
6855
|
-
"options": [],
|
6856
|
-
"value": {
|
6857
|
-
"type": "string",
|
6858
|
-
"kind": "expression"
|
6859
|
-
}
|
6860
|
-
},
|
6861
|
-
{
|
6862
|
-
"name": "close-button-loading",
|
6863
|
-
"default": "`false`",
|
6864
|
-
"description": "Whether to show loading close button in custom theme",
|
6865
|
-
"options": [],
|
6866
|
-
"value": {
|
6867
|
-
"type": "boolean",
|
6868
|
-
"kind": "expression"
|
6869
|
-
}
|
6870
|
-
},
|
6871
|
-
{
|
6872
|
-
"name": "show-delete-key",
|
6873
|
-
"default": "`true`",
|
6874
|
-
"description": "Whether to show delete button",
|
6875
|
-
"options": [],
|
6876
|
-
"value": {
|
6877
|
-
"type": "boolean",
|
6878
|
-
"kind": "expression"
|
6879
|
-
}
|
6880
|
-
},
|
6881
|
-
{
|
6882
|
-
"name": "blur-on-close",
|
6883
|
-
"default": "`true`",
|
6884
|
-
"description": "Whether to emit blur event when clicking close button",
|
6885
|
-
"options": [],
|
6886
|
-
"value": {
|
6887
|
-
"type": "boolean",
|
6888
|
-
"kind": "expression"
|
6889
|
-
}
|
6890
|
-
},
|
6891
|
-
{
|
6892
|
-
"name": "hide-on-click-outside",
|
6893
|
-
"default": "`true`",
|
6894
|
-
"description": "Whether to hide keyboard when outside is clicked",
|
6895
|
-
"options": [],
|
6896
|
-
"value": {
|
6897
|
-
"type": "boolean",
|
6898
|
-
"kind": "expression"
|
6899
|
-
}
|
6900
|
-
},
|
6901
|
-
{
|
6902
|
-
"name": "teleport",
|
6903
|
-
"default": "-",
|
6904
|
-
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6905
|
-
"options": [],
|
6906
|
-
"value": {
|
6907
|
-
"type": "string | Element",
|
6908
|
-
"kind": "expression"
|
6909
|
-
}
|
6910
|
-
},
|
6911
|
-
{
|
6912
|
-
"name": "safe-area-inset-bottom",
|
6913
|
-
"default": "`true`",
|
6914
|
-
"description": "Whether to enable bottom safe area adaptation",
|
6915
|
-
"options": [],
|
6916
|
-
"value": {
|
6917
|
-
"type": "boolean",
|
6918
|
-
"kind": "expression"
|
6919
|
-
}
|
6920
|
-
},
|
6921
|
-
{
|
6922
|
-
"name": "random-key-order",
|
6923
|
-
"default": "`false`",
|
6924
|
-
"description": "Whether to shuffle the order of keys",
|
6925
|
-
"options": [],
|
6926
|
-
"value": {
|
6927
|
-
"type": "boolean",
|
6928
|
-
"kind": "expression"
|
6929
|
-
}
|
6930
|
-
}
|
6931
|
-
]
|
6932
|
-
},
|
6933
|
-
{
|
6934
|
-
"name": "van-overlay",
|
6935
|
-
"slots": [
|
6936
|
-
{
|
6937
|
-
"name": "default",
|
6938
|
-
"description": "Default slot"
|
6939
|
-
}
|
6940
|
-
],
|
6941
|
-
"events": [
|
6942
|
-
{
|
6943
|
-
"name": "click",
|
6944
|
-
"description": "Emitted when component is clicked",
|
6945
|
-
"arguments": [
|
6946
|
-
{
|
6947
|
-
"name": "event",
|
6948
|
-
"type": "MouseEvent"
|
6949
|
-
}
|
6950
|
-
]
|
6951
|
-
}
|
6952
|
-
],
|
6953
|
-
"attributes": [
|
6954
|
-
{
|
6955
|
-
"name": "show",
|
6956
|
-
"default": "`false`",
|
6957
|
-
"description": "Whether to show overlay",
|
6958
|
-
"options": [],
|
6959
|
-
"value": {
|
6960
|
-
"type": "boolean",
|
6961
|
-
"kind": "expression"
|
6962
|
-
}
|
6963
|
-
},
|
6964
|
-
{
|
6965
|
-
"name": "z-index",
|
6966
|
-
"default": "`1`",
|
6967
|
-
"description": "z-index",
|
6968
|
-
"options": [],
|
6969
|
-
"value": {
|
6970
|
-
"type": "number | string",
|
6971
|
-
"kind": "expression"
|
6972
|
-
}
|
6973
|
-
},
|
6974
|
-
{
|
6975
|
-
"name": "duration",
|
6976
|
-
"default": "`0.3`",
|
6977
|
-
"description": "Animation duration",
|
6978
|
-
"options": [],
|
6979
|
-
"value": {
|
6980
|
-
"type": "number | string",
|
6981
|
-
"kind": "expression"
|
6982
|
-
}
|
6983
|
-
},
|
6984
|
-
{
|
6985
|
-
"name": "class-name",
|
6986
|
-
"default": "-",
|
6987
|
-
"description": "ClassName",
|
6988
|
-
"options": [],
|
6989
|
-
"value": {
|
6990
|
-
"type": "string",
|
6991
|
-
"kind": "expression"
|
6992
|
-
}
|
6993
|
-
},
|
6994
|
-
{
|
6995
|
-
"name": "custom-class",
|
6996
|
-
"default": "-",
|
6997
|
-
"description": "Custom style",
|
6998
|
-
"options": [],
|
6999
|
-
"value": {
|
7000
|
-
"type": "object",
|
7001
|
-
"kind": "expression"
|
7002
|
-
}
|
7003
|
-
},
|
7004
|
-
{
|
7005
|
-
"name": "lock-scroll",
|
7006
|
-
"default": "`true`",
|
7007
|
-
"description": "Whether to lock background scroll",
|
7008
|
-
"options": [],
|
7009
|
-
"value": {
|
7010
|
-
"type": "boolean",
|
7011
|
-
"kind": "expression"
|
7012
|
-
}
|
7013
|
-
},
|
7014
|
-
{
|
7015
|
-
"name": "lazy-render",
|
7016
|
-
"default": "`true`",
|
7017
|
-
"description": "Whether to lazy render util appeared",
|
7018
|
-
"options": [],
|
7019
|
-
"value": {
|
7020
|
-
"type": "boolean",
|
7021
|
-
"kind": "expression"
|
7022
|
-
}
|
7023
|
-
}
|
7024
|
-
]
|
7025
|
-
},
|
7026
|
-
{
|
7027
|
-
"name": "van-pagination",
|
7028
|
-
"slots": [
|
7029
|
-
{
|
7030
|
-
"name": "page",
|
7031
|
-
"description": "Custom pagination item"
|
7032
|
-
},
|
7033
|
-
{
|
7034
|
-
"name": "prev-text",
|
7035
|
-
"description": "Custom prev text"
|
7036
|
-
},
|
7037
|
-
{
|
7038
|
-
"name": "next-text",
|
7039
|
-
"description": "Custom next text"
|
7040
|
-
}
|
7041
|
-
],
|
7042
|
-
"events": [
|
7043
|
-
{
|
7044
|
-
"name": "change",
|
7045
|
-
"description": "Emitted when current page changed",
|
7046
|
-
"arguments": []
|
7047
|
-
}
|
7048
|
-
],
|
7049
|
-
"attributes": [
|
7050
|
-
{
|
7051
|
-
"name": "v-model",
|
7052
|
-
"default": "-",
|
7053
|
-
"description": "Current page number",
|
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`",
|
7062
|
+
"default": "Delete Icon",
|
7063
|
+
"description": "Delete button text",
|
7064
7064
|
"options": [],
|
7065
7065
|
"value": {
|
7066
7066
|
"type": "string",
|
@@ -7068,69 +7068,69 @@
|
|
7068
7068
|
}
|
7069
7069
|
},
|
7070
7070
|
{
|
7071
|
-
"name": "
|
7072
|
-
"default": "`
|
7073
|
-
"description": "
|
7071
|
+
"name": "close-button-loading",
|
7072
|
+
"default": "`false`",
|
7073
|
+
"description": "Whether to show loading close button in custom theme",
|
7074
7074
|
"options": [],
|
7075
7075
|
"value": {
|
7076
|
-
"type": "
|
7076
|
+
"type": "boolean",
|
7077
7077
|
"kind": "expression"
|
7078
7078
|
}
|
7079
7079
|
},
|
7080
7080
|
{
|
7081
|
-
"name": "
|
7082
|
-
"default": "`
|
7083
|
-
"description": "
|
7081
|
+
"name": "show-delete-key",
|
7082
|
+
"default": "`true`",
|
7083
|
+
"description": "Whether to show delete button",
|
7084
7084
|
"options": [],
|
7085
7085
|
"value": {
|
7086
|
-
"type": "
|
7086
|
+
"type": "boolean",
|
7087
7087
|
"kind": "expression"
|
7088
7088
|
}
|
7089
7089
|
},
|
7090
7090
|
{
|
7091
|
-
"name": "
|
7092
|
-
"default": "`
|
7093
|
-
"description": "
|
7091
|
+
"name": "blur-on-close",
|
7092
|
+
"default": "`true`",
|
7093
|
+
"description": "Whether to emit blur event when clicking close button",
|
7094
7094
|
"options": [],
|
7095
7095
|
"value": {
|
7096
|
-
"type": "
|
7096
|
+
"type": "boolean",
|
7097
7097
|
"kind": "expression"
|
7098
7098
|
}
|
7099
7099
|
},
|
7100
7100
|
{
|
7101
|
-
"name": "
|
7102
|
-
"default": "`
|
7103
|
-
"description": "
|
7101
|
+
"name": "hide-on-click-outside",
|
7102
|
+
"default": "`true`",
|
7103
|
+
"description": "Whether to hide keyboard when outside is clicked",
|
7104
7104
|
"options": [],
|
7105
7105
|
"value": {
|
7106
|
-
"type": "
|
7106
|
+
"type": "boolean",
|
7107
7107
|
"kind": "expression"
|
7108
7108
|
}
|
7109
7109
|
},
|
7110
7110
|
{
|
7111
|
-
"name": "
|
7112
|
-
"default": "
|
7113
|
-
"description": "
|
7111
|
+
"name": "teleport",
|
7112
|
+
"default": "-",
|
7113
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
7114
7114
|
"options": [],
|
7115
7115
|
"value": {
|
7116
|
-
"type": "
|
7116
|
+
"type": "string | Element",
|
7117
7117
|
"kind": "expression"
|
7118
7118
|
}
|
7119
7119
|
},
|
7120
7120
|
{
|
7121
|
-
"name": "
|
7122
|
-
"default": "`
|
7123
|
-
"description": "
|
7121
|
+
"name": "safe-area-inset-bottom",
|
7122
|
+
"default": "`true`",
|
7123
|
+
"description": "Whether to enable bottom safe area adaptation",
|
7124
7124
|
"options": [],
|
7125
7125
|
"value": {
|
7126
|
-
"type": "
|
7126
|
+
"type": "boolean",
|
7127
7127
|
"kind": "expression"
|
7128
7128
|
}
|
7129
7129
|
},
|
7130
7130
|
{
|
7131
|
-
"name": "
|
7131
|
+
"name": "random-key-order",
|
7132
7132
|
"default": "`false`",
|
7133
|
-
"description": "Whether to
|
7133
|
+
"description": "Whether to shuffle the order of keys",
|
7134
7134
|
"options": [],
|
7135
7135
|
"value": {
|
7136
7136
|
"type": "boolean",
|
@@ -7933,103 +7933,6 @@
|
|
7933
7933
|
}
|
7934
7934
|
]
|
7935
7935
|
},
|
7936
|
-
{
|
7937
|
-
"name": "van-progress",
|
7938
|
-
"slots": [],
|
7939
|
-
"events": [],
|
7940
|
-
"attributes": [
|
7941
|
-
{
|
7942
|
-
"name": "percentage",
|
7943
|
-
"default": "`0`",
|
7944
|
-
"description": "Percentage",
|
7945
|
-
"options": [],
|
7946
|
-
"value": {
|
7947
|
-
"type": "number | string",
|
7948
|
-
"kind": "expression"
|
7949
|
-
}
|
7950
|
-
},
|
7951
|
-
{
|
7952
|
-
"name": "stroke-width",
|
7953
|
-
"default": "`4px`",
|
7954
|
-
"description": "Stroke width",
|
7955
|
-
"options": [],
|
7956
|
-
"value": {
|
7957
|
-
"type": "number | string",
|
7958
|
-
"kind": "expression"
|
7959
|
-
}
|
7960
|
-
},
|
7961
|
-
{
|
7962
|
-
"name": "color",
|
7963
|
-
"default": "`#1989fa`",
|
7964
|
-
"description": "Color",
|
7965
|
-
"options": [],
|
7966
|
-
"value": {
|
7967
|
-
"type": "string",
|
7968
|
-
"kind": "expression"
|
7969
|
-
}
|
7970
|
-
},
|
7971
|
-
{
|
7972
|
-
"name": "track-color",
|
7973
|
-
"default": "`#e5e5e5`",
|
7974
|
-
"description": "Track color",
|
7975
|
-
"options": [],
|
7976
|
-
"value": {
|
7977
|
-
"type": "string",
|
7978
|
-
"kind": "expression"
|
7979
|
-
}
|
7980
|
-
},
|
7981
|
-
{
|
7982
|
-
"name": "pivot-text",
|
7983
|
-
"default": "percentage",
|
7984
|
-
"description": "Pivot text",
|
7985
|
-
"options": [],
|
7986
|
-
"value": {
|
7987
|
-
"type": "string",
|
7988
|
-
"kind": "expression"
|
7989
|
-
}
|
7990
|
-
},
|
7991
|
-
{
|
7992
|
-
"name": "pivot-color",
|
7993
|
-
"default": "inherit progress color",
|
7994
|
-
"description": "Pivot text background color",
|
7995
|
-
"options": [],
|
7996
|
-
"value": {
|
7997
|
-
"type": "string",
|
7998
|
-
"kind": "expression"
|
7999
|
-
}
|
8000
|
-
},
|
8001
|
-
{
|
8002
|
-
"name": "text-color",
|
8003
|
-
"default": "`white`",
|
8004
|
-
"description": "Pivot text color",
|
8005
|
-
"options": [],
|
8006
|
-
"value": {
|
8007
|
-
"type": "string",
|
8008
|
-
"kind": "expression"
|
8009
|
-
}
|
8010
|
-
},
|
8011
|
-
{
|
8012
|
-
"name": "inactive",
|
8013
|
-
"default": "`false`",
|
8014
|
-
"description": "Whether to be gray",
|
8015
|
-
"options": [],
|
8016
|
-
"value": {
|
8017
|
-
"type": "boolean",
|
8018
|
-
"kind": "expression"
|
8019
|
-
}
|
8020
|
-
},
|
8021
|
-
{
|
8022
|
-
"name": "show-pivot",
|
8023
|
-
"default": "`true`",
|
8024
|
-
"description": "Whether to show text",
|
8025
|
-
"options": [],
|
8026
|
-
"value": {
|
8027
|
-
"type": "boolean",
|
8028
|
-
"kind": "expression"
|
8029
|
-
}
|
8030
|
-
}
|
8031
|
-
]
|
8032
|
-
},
|
8033
7936
|
{
|
8034
7937
|
"name": "van-pull-refresh",
|
8035
7938
|
"slots": [
|
@@ -8168,6 +8071,103 @@
|
|
8168
8071
|
}
|
8169
8072
|
]
|
8170
8073
|
},
|
8074
|
+
{
|
8075
|
+
"name": "van-progress",
|
8076
|
+
"slots": [],
|
8077
|
+
"events": [],
|
8078
|
+
"attributes": [
|
8079
|
+
{
|
8080
|
+
"name": "percentage",
|
8081
|
+
"default": "`0`",
|
8082
|
+
"description": "Percentage",
|
8083
|
+
"options": [],
|
8084
|
+
"value": {
|
8085
|
+
"type": "number | string",
|
8086
|
+
"kind": "expression"
|
8087
|
+
}
|
8088
|
+
},
|
8089
|
+
{
|
8090
|
+
"name": "stroke-width",
|
8091
|
+
"default": "`4px`",
|
8092
|
+
"description": "Stroke width",
|
8093
|
+
"options": [],
|
8094
|
+
"value": {
|
8095
|
+
"type": "number | string",
|
8096
|
+
"kind": "expression"
|
8097
|
+
}
|
8098
|
+
},
|
8099
|
+
{
|
8100
|
+
"name": "color",
|
8101
|
+
"default": "`#1989fa`",
|
8102
|
+
"description": "Color",
|
8103
|
+
"options": [],
|
8104
|
+
"value": {
|
8105
|
+
"type": "string",
|
8106
|
+
"kind": "expression"
|
8107
|
+
}
|
8108
|
+
},
|
8109
|
+
{
|
8110
|
+
"name": "track-color",
|
8111
|
+
"default": "`#e5e5e5`",
|
8112
|
+
"description": "Track color",
|
8113
|
+
"options": [],
|
8114
|
+
"value": {
|
8115
|
+
"type": "string",
|
8116
|
+
"kind": "expression"
|
8117
|
+
}
|
8118
|
+
},
|
8119
|
+
{
|
8120
|
+
"name": "pivot-text",
|
8121
|
+
"default": "percentage",
|
8122
|
+
"description": "Pivot text",
|
8123
|
+
"options": [],
|
8124
|
+
"value": {
|
8125
|
+
"type": "string",
|
8126
|
+
"kind": "expression"
|
8127
|
+
}
|
8128
|
+
},
|
8129
|
+
{
|
8130
|
+
"name": "pivot-color",
|
8131
|
+
"default": "inherit progress color",
|
8132
|
+
"description": "Pivot text background color",
|
8133
|
+
"options": [],
|
8134
|
+
"value": {
|
8135
|
+
"type": "string",
|
8136
|
+
"kind": "expression"
|
8137
|
+
}
|
8138
|
+
},
|
8139
|
+
{
|
8140
|
+
"name": "text-color",
|
8141
|
+
"default": "`white`",
|
8142
|
+
"description": "Pivot text color",
|
8143
|
+
"options": [],
|
8144
|
+
"value": {
|
8145
|
+
"type": "string",
|
8146
|
+
"kind": "expression"
|
8147
|
+
}
|
8148
|
+
},
|
8149
|
+
{
|
8150
|
+
"name": "inactive",
|
8151
|
+
"default": "`false`",
|
8152
|
+
"description": "Whether to be gray",
|
8153
|
+
"options": [],
|
8154
|
+
"value": {
|
8155
|
+
"type": "boolean",
|
8156
|
+
"kind": "expression"
|
8157
|
+
}
|
8158
|
+
},
|
8159
|
+
{
|
8160
|
+
"name": "show-pivot",
|
8161
|
+
"default": "`true`",
|
8162
|
+
"description": "Whether to show text",
|
8163
|
+
"options": [],
|
8164
|
+
"value": {
|
8165
|
+
"type": "boolean",
|
8166
|
+
"kind": "expression"
|
8167
|
+
}
|
8168
|
+
}
|
8169
|
+
]
|
8170
|
+
},
|
8171
8171
|
{
|
8172
8172
|
"name": "van-radio",
|
8173
8173
|
"slots": [
|
@@ -9771,7 +9771,7 @@
|
|
9771
9771
|
{
|
9772
9772
|
"name": "long-press",
|
9773
9773
|
"default": "`true`",
|
9774
|
-
"description": "Whether to
|
9774
|
+
"description": "Whether to enable the long press gesture, when enabled you can long press the increase and decrease buttons",
|
9775
9775
|
"options": [],
|
9776
9776
|
"value": {
|
9777
9777
|
"type": "boolean",
|
@@ -9781,7 +9781,7 @@
|
|
9781
9781
|
{
|
9782
9782
|
"name": "allow-empty",
|
9783
9783
|
"default": "`false`",
|
9784
|
-
"description": "Whether to allow the input to be empty",
|
9784
|
+
"description": "Whether to allow the input value to be empty, set to `true` to allow an empty string to be passed in",
|
9785
9785
|
"options": [],
|
9786
9786
|
"value": {
|
9787
9787
|
"type": "boolean",
|
@@ -10435,7 +10435,12 @@
|
|
10435
10435
|
},
|
10436
10436
|
{
|
10437
10437
|
"name": "van-switch",
|
10438
|
-
"slots": [
|
10438
|
+
"slots": [
|
10439
|
+
{
|
10440
|
+
"name": "node",
|
10441
|
+
"description": "Custom the content of node"
|
10442
|
+
}
|
10443
|
+
],
|
10439
10444
|
"events": [
|
10440
10445
|
{
|
10441
10446
|
"name": "change",
|
@@ -11375,7 +11380,11 @@
|
|
11375
11380
|
"slots": [
|
11376
11381
|
{
|
11377
11382
|
"name": "default",
|
11378
|
-
"description": "Custom
|
11383
|
+
"description": "Custom upload area"
|
11384
|
+
},
|
11385
|
+
{
|
11386
|
+
"name": "preview-delete",
|
11387
|
+
"description": "Custom delete icon"
|
11379
11388
|
},
|
11380
11389
|
{
|
11381
11390
|
"name": "preview-cover",
|