vant 4.0.0-alpha.1 → 4.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +141 -0
- package/es/action-bar/{ActionBar.js → ActionBar.mjs} +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.d.ts +0 -17
- package/es/address-edit/{AddressEdit.js → AddressEdit.mjs} +15 -36
- package/es/address-edit/{AddressEditDetail.js → AddressEditDetail.mjs} +3 -3
- package/es/address-edit/index.d.ts +0 -12
- 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.d.ts +0 -1
- 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.d.ts +3 -2
- 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/area/{utils.js → utils.mjs} +0 -0
- package/es/badge/Badge.d.ts +4 -3
- package/es/badge/{Badge.js → Badge.mjs} +1 -1
- package/es/badge/index.d.ts +2 -2
- 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} +10 -10
- package/es/calendar/{CalendarDay.js → CalendarDay.mjs} +6 -2
- package/es/calendar/{CalendarHeader.js → CalendarHeader.mjs} +2 -2
- package/es/calendar/{CalendarMonth.js → CalendarMonth.mjs} +6 -6
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.less +2 -0
- 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.d.ts +2 -1
- 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.d.ts +2 -1
- 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.d.ts +2 -1
- 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.d.ts +7 -6
- package/es/collapse/{Collapse.js → Collapse.mjs} +1 -1
- package/es/collapse/index.d.ts +3 -3
- 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} +1 -1
- package/es/composables/{use-visibility-change.js → use-visibility-change.mjs} +1 -1
- package/es/config-provider/ConfigProvider.d.ts +4 -3
- package/es/config-provider/{ConfigProvider.js → ConfigProvider.mjs} +1 -1
- package/es/config-provider/index.d.ts +2 -2
- 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.d.ts +3 -2
- 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.d.ts +2 -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.d.ts +3 -13
- package/es/coupon-list/{CouponList.js → CouponList.mjs} +16 -14
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +2 -9
- package/es/coupon-list/index.less +4 -16
- package/es/coupon-list/{index.js → index.mjs} +2 -2
- package/es/coupon-list/style/{index.js → index.mjs} +1 -0
- package/es/coupon-list/style/{less.js → less.mjs} +1 -0
- package/es/date-picker/{DatePicker.js → DatePicker.mjs} +3 -3
- package/es/date-picker/{index.js → index.mjs} +2 -2
- package/es/date-picker/style/{index.js → index.mjs} +0 -0
- package/es/date-picker/style/{less.js → less.mjs} +0 -0
- package/es/date-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.css +1 -1
- 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 +2 -2
- 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.d.ts +2 -1
- 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.d.ts +8 -7
- package/es/empty/{Empty.js → Empty.mjs} +12 -15
- package/es/empty/Images.d.ts +4 -0
- package/es/empty/Images.mjs +271 -0
- package/es/empty/index.d.ts +2 -2
- package/es/empty/{index.js → index.mjs} +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.d.ts +4 -0
- package/es/field/{Field.js → Field.mjs} +27 -22
- package/es/field/index.d.ts +3 -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} +14 -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 +3 -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.css +1 -1
- 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.d.ts +5 -4
- package/es/index-bar/{IndexBar.js → IndexBar.mjs} +3 -3
- package/es/index-bar/index.d.ts +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.d.ts +2 -1
- package/es/index-bar/{types.js → types.mjs} +0 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +280 -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.d.ts +0 -2
- package/es/locale/lang/{bn-BD.js → bn-BD.mjs} +0 -2
- package/es/locale/lang/da-DK.d.ts +64 -0
- package/es/locale/lang/da-DK.mjs +66 -0
- package/es/locale/lang/de-DE-formal.d.ts +0 -2
- package/es/locale/lang/{de-DE-formal.js → de-DE-formal.mjs} +0 -2
- package/es/locale/lang/de-DE.d.ts +0 -2
- package/es/locale/lang/{de-DE.js → de-DE.mjs} +0 -2
- 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.d.ts +0 -2
- package/es/locale/lang/{en-US.js → en-US.mjs} +0 -2
- package/es/locale/lang/es-ES.d.ts +0 -2
- package/es/locale/lang/{es-ES.js → es-ES.mjs} +0 -2
- package/es/locale/lang/fa-IR.d.ts +64 -0
- package/es/locale/lang/fa-IR.mjs +74 -0
- package/es/locale/lang/fr-FR.d.ts +0 -2
- package/es/locale/lang/{fr-FR.js → fr-FR.mjs} +0 -2
- 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.d.ts +0 -2
- package/es/locale/lang/{hi-IN.js → hi-IN.mjs} +0 -2
- package/es/locale/lang/id-ID.d.ts +0 -2
- package/es/locale/lang/{id-ID.js → id-ID.mjs} +0 -2
- package/es/locale/lang/is-IS.d.ts +62 -0
- package/es/locale/lang/is-IS.mjs +72 -0
- package/es/locale/lang/it-IT.d.ts +0 -2
- package/es/locale/lang/{it-IT.js → it-IT.mjs} +0 -2
- package/es/locale/lang/ja-JP.d.ts +0 -2
- package/es/locale/lang/{ja-JP.js → ja-JP.mjs} +0 -2
- package/es/locale/lang/ko-KR.d.ts +0 -2
- package/es/locale/lang/{ko-KR.js → ko-KR.mjs} +0 -2
- package/es/locale/lang/la-LA.d.ts +0 -2
- package/es/locale/lang/{la-LA.js → la-LA.mjs} +0 -2
- package/es/locale/lang/nb-NO.d.ts +0 -2
- package/es/locale/lang/{nb-NO.js → nb-NO.mjs} +0 -2
- package/es/locale/lang/pt-BR.d.ts +0 -2
- package/es/locale/lang/{pt-BR.js → pt-BR.mjs} +0 -2
- package/es/locale/lang/ro-RO.d.ts +0 -2
- package/es/locale/lang/{ro-RO.js → ro-RO.mjs} +0 -2
- package/es/locale/lang/ru-RU.d.ts +0 -2
- package/es/locale/lang/{ru-RU.js → ru-RU.mjs} +0 -2
- package/es/locale/lang/sv-SE.d.ts +62 -0
- package/es/locale/lang/sv-SE.mjs +64 -0
- package/es/locale/lang/th-TH.d.ts +0 -2
- package/es/locale/lang/{th-TH.js → th-TH.mjs} +0 -2
- package/es/locale/lang/tr-TR.d.ts +0 -2
- package/es/locale/lang/{tr-TR.js → tr-TR.mjs} +0 -2
- package/es/locale/lang/uk-UA.d.ts +0 -2
- package/es/locale/lang/{uk-UA.js → uk-UA.mjs} +0 -2
- package/es/locale/lang/vi-VN.d.ts +0 -2
- package/es/locale/lang/{vi-VN.js → vi-VN.mjs} +0 -2
- package/es/locale/lang/zh-CN.d.ts +0 -2
- package/es/locale/lang/{zh-CN.js → zh-CN.mjs} +0 -2
- package/es/locale/lang/zh-HK.d.ts +0 -2
- package/es/locale/lang/{zh-HK.js → zh-HK.mjs} +0 -2
- package/es/locale/lang/zh-TW.d.ts +0 -2
- package/es/locale/lang/{zh-TW.js → zh-TW.mjs} +0 -2
- 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.d.ts +2 -1
- package/es/notify/{types.js → types.mjs} +0 -0
- package/es/number-keyboard/{NumberKeyboard.js → NumberKeyboard.mjs} +12 -3
- 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.d.ts +5 -4
- package/es/picker/{Picker.js → Picker.mjs} +5 -5
- package/es/picker/{PickerColumn.js → PickerColumn.mjs} +4 -4
- package/es/picker/index.d.ts +3 -3
- 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.d.ts +4 -3
- package/es/picker/{types.js → types.mjs} +0 -0
- package/es/picker/utils.d.ts +4 -3
- package/es/picker/{utils.js → utils.mjs} +1 -1
- 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.css +1 -1
- 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.d.ts +4 -3
- package/es/progress/{Progress.js → Progress.mjs} +1 -1
- package/es/progress/index.d.ts +2 -2
- 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} +36 -14
- 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.d.ts +3 -0
- package/es/search/{Search.js → Search.mjs} +5 -5
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +2 -0
- package/es/search/index.less +1 -1
- 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} +28 -14
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.less +45 -1
- 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.d.ts +5 -4
- package/es/skeleton/{Skeleton.js → Skeleton.mjs} +1 -1
- package/es/skeleton/index.d.ts +3 -3
- 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.css +1 -1
- 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/style/animation.css +1 -1
- package/es/style/base.css +1 -1
- 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.css +1 -1
- 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.d.ts +2 -2
- 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.d.ts +1 -1
- package/es/tabs/{Tabs.js → Tabs.mjs} +11 -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.d.ts +5 -4
- 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/time-picker/{TimePicker.js → TimePicker.mjs} +3 -3
- package/es/time-picker/{index.js → index.mjs} +2 -2
- package/es/time-picker/style/{index.js → index.mjs} +0 -0
- package/es/time-picker/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.d.ts +3 -2
- package/es/toast/{types.js → types.mjs} +0 -0
- package/es/tree-select/TreeSelect.d.ts +7 -6
- package/es/tree-select/{TreeSelect.js → TreeSelect.mjs} +4 -4
- package/es/tree-select/index.d.ts +3 -3
- 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.d.ts +4 -4
- package/es/uploader/{Uploader.js → Uploader.mjs} +8 -10
- package/es/uploader/UploaderPreviewItem.d.ts +3 -3
- package/es/uploader/{UploaderPreviewItem.js → UploaderPreviewItem.mjs} +19 -13
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +2 -2
- 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.d.ts +5 -5
- 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 +2 -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.d.ts +7 -6
- package/es/utils/{format.js → format.mjs} +9 -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.d.ts +2 -1
- package/es/utils/{validate.js → validate.mjs} +1 -1
- package/es/utils/{with-install.js → with-install.mjs} +1 -1
- package/lib/action-bar/ActionBar.js +8 -13
- package/lib/action-bar/index.js +9 -16
- package/lib/action-bar-button/ActionBarButton.js +8 -13
- package/lib/action-bar-button/index.js +9 -16
- package/lib/action-bar-icon/ActionBarIcon.js +8 -13
- package/lib/action-bar-icon/index.js +9 -16
- package/lib/action-sheet/ActionSheet.js +8 -13
- package/lib/action-sheet/index.js +9 -16
- package/lib/address-edit/AddressEdit.d.ts +0 -17
- package/lib/address-edit/AddressEdit.js +12 -40
- package/lib/address-edit/AddressEditDetail.js +8 -13
- package/lib/address-edit/index.d.ts +0 -12
- package/lib/address-edit/index.js +9 -16
- package/lib/address-edit/types.d.ts +0 -1
- package/lib/address-edit/types.js +7 -12
- package/lib/address-list/AddressList.js +9 -16
- package/lib/address-list/AddressListItem.d.ts +3 -2
- package/lib/address-list/AddressListItem.js +8 -13
- package/lib/address-list/index.js +9 -16
- package/lib/area/Area.js +8 -13
- package/lib/area/index.js +9 -16
- package/lib/area/types.js +7 -12
- package/lib/area/utils.js +8 -13
- package/lib/badge/Badge.d.ts +4 -3
- package/lib/badge/Badge.js +8 -13
- package/lib/badge/index.d.ts +2 -2
- package/lib/badge/index.js +9 -16
- package/lib/button/Button.js +8 -13
- package/lib/button/index.js +9 -16
- package/lib/button/types.js +7 -12
- package/lib/calendar/Calendar.js +10 -17
- package/lib/calendar/CalendarDay.js +12 -13
- package/lib/calendar/CalendarHeader.js +8 -13
- package/lib/calendar/CalendarMonth.js +9 -16
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.js +9 -16
- package/lib/calendar/index.less +2 -0
- package/lib/calendar/types.d.ts +2 -1
- package/lib/calendar/types.js +7 -12
- package/lib/calendar/utils.js +8 -13
- package/lib/card/Card.js +8 -13
- package/lib/card/index.js +9 -16
- package/lib/cascader/Cascader.js +8 -13
- package/lib/cascader/index.js +9 -16
- package/lib/cascader/types.d.ts +2 -1
- package/lib/cascader/types.js +7 -12
- package/lib/cell/Cell.js +8 -13
- package/lib/cell/index.js +9 -16
- package/lib/cell-group/CellGroup.js +8 -13
- package/lib/cell-group/index.js +9 -16
- package/lib/checkbox/Checkbox.js +9 -16
- package/lib/checkbox/Checker.d.ts +2 -1
- package/lib/checkbox/Checker.js +8 -13
- package/lib/checkbox/index.js +9 -16
- package/lib/checkbox/types.js +7 -12
- package/lib/checkbox-group/CheckboxGroup.js +8 -13
- package/lib/checkbox-group/index.js +9 -16
- package/lib/checkbox-group/types.js +7 -12
- package/lib/circle/Circle.js +8 -13
- package/lib/circle/index.js +9 -16
- package/lib/col/Col.js +8 -13
- package/lib/col/index.js +9 -16
- package/lib/collapse/Collapse.d.ts +7 -6
- package/lib/collapse/Collapse.js +8 -13
- package/lib/collapse/index.d.ts +3 -3
- package/lib/collapse/index.js +9 -16
- package/lib/collapse-item/CollapseItem.js +8 -13
- package/lib/collapse-item/index.js +9 -16
- package/lib/collapse-item/types.js +7 -12
- package/lib/composables/on-popup-reopen.js +8 -13
- package/lib/composables/use-expose.js +8 -13
- package/lib/composables/use-height.js +8 -13
- package/lib/composables/use-id.js +8 -13
- package/lib/composables/use-lazy-render.js +8 -13
- package/lib/composables/use-lock-scroll.js +8 -13
- package/lib/composables/use-placeholder.js +8 -13
- package/lib/composables/use-refs.js +8 -13
- package/lib/composables/use-route.js +8 -13
- package/lib/composables/use-tab-status.js +8 -13
- package/lib/composables/use-touch.js +9 -14
- package/lib/composables/use-visibility-change.js +8 -13
- package/lib/config-provider/ConfigProvider.d.ts +4 -3
- package/lib/config-provider/ConfigProvider.js +8 -13
- package/lib/config-provider/index.d.ts +2 -2
- package/lib/config-provider/index.js +9 -16
- package/lib/contact-card/ContactCard.js +8 -13
- package/lib/contact-card/index.js +9 -16
- package/lib/contact-edit/ContactEdit.js +8 -13
- package/lib/contact-edit/index.js +9 -16
- package/lib/contact-list/ContactList.d.ts +3 -2
- package/lib/contact-list/ContactList.js +8 -13
- package/lib/contact-list/index.js +9 -16
- package/lib/count-down/CountDown.js +8 -13
- package/lib/count-down/index.js +9 -16
- package/lib/count-down/types.js +7 -12
- package/lib/count-down/utils.js +8 -13
- package/lib/coupon/Coupon.d.ts +2 -1
- package/lib/coupon/Coupon.js +8 -13
- package/lib/coupon/index.js +9 -16
- package/lib/coupon/utils.js +8 -13
- package/lib/coupon-cell/CouponCell.js +8 -13
- package/lib/coupon-cell/index.js +9 -16
- package/lib/coupon-list/CouponList.d.ts +3 -13
- package/lib/coupon-list/CouponList.js +17 -20
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +2 -9
- package/lib/coupon-list/index.js +9 -16
- package/lib/coupon-list/index.less +4 -16
- package/lib/coupon-list/style/index.js +1 -0
- package/lib/coupon-list/style/less.js +1 -0
- package/lib/date-picker/DatePicker.js +8 -13
- package/lib/date-picker/index.js +9 -16
- package/lib/date-picker/utils.js +8 -13
- package/lib/dialog/Dialog.js +8 -13
- package/lib/dialog/function-call.js +9 -16
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.js +8 -13
- package/lib/dialog/types.d.ts +2 -2
- package/lib/dialog/types.js +7 -12
- package/lib/divider/Divider.js +8 -13
- package/lib/divider/index.js +9 -16
- package/lib/dropdown-item/DropdownItem.js +8 -13
- package/lib/dropdown-item/index.js +9 -16
- package/lib/dropdown-item/types.d.ts +2 -1
- package/lib/dropdown-item/types.js +7 -12
- package/lib/dropdown-menu/DropdownMenu.js +8 -13
- package/lib/dropdown-menu/index.js +9 -16
- package/lib/dropdown-menu/types.js +7 -12
- package/lib/empty/Empty.d.ts +8 -7
- package/lib/empty/Empty.js +19 -27
- package/lib/empty/Images.d.ts +4 -0
- package/lib/empty/Images.js +290 -0
- package/lib/empty/index.d.ts +2 -2
- package/lib/empty/index.js +9 -16
- package/lib/field/Field.d.ts +4 -0
- package/lib/field/Field.js +28 -28
- package/lib/field/index.d.ts +3 -1
- package/lib/field/index.js +9 -16
- package/lib/field/types.d.ts +3 -1
- package/lib/field/types.js +7 -12
- package/lib/field/utils.js +8 -13
- package/lib/form/Form.d.ts +13 -13
- package/lib/form/Form.js +20 -16
- package/lib/form/index.d.ts +9 -9
- package/lib/form/index.js +9 -16
- package/lib/form/types.d.ts +3 -0
- package/lib/form/types.js +7 -12
- package/lib/grid/Grid.js +8 -13
- package/lib/grid/index.js +9 -16
- package/lib/grid-item/GridItem.js +8 -13
- package/lib/grid-item/index.js +9 -16
- package/lib/icon/Icon.js +8 -13
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.js +9 -16
- package/lib/image/Image.js +8 -13
- package/lib/image/index.js +9 -16
- package/lib/image-preview/ImagePreview.js +9 -16
- package/lib/image-preview/ImagePreviewItem.js +8 -13
- package/lib/image-preview/function-call.js +9 -16
- package/lib/image-preview/index.js +8 -13
- package/lib/image-preview/types.js +7 -12
- package/lib/index-anchor/IndexAnchor.js +8 -13
- package/lib/index-anchor/index.js +9 -16
- package/lib/index-bar/IndexBar.d.ts +5 -4
- package/lib/index-bar/IndexBar.js +8 -13
- package/lib/index-bar/index.d.ts +3 -3
- package/lib/index-bar/index.js +9 -16
- package/lib/index-bar/types.d.ts +2 -1
- package/lib/index-bar/types.js +7 -12
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +97 -101
- package/lib/index.less +2 -2
- package/lib/lazyload/index.js +8 -13
- package/lib/lazyload/vue-lazyload/index.js +9 -16
- package/lib/lazyload/vue-lazyload/lazy-component.js +8 -13
- package/lib/lazyload/vue-lazyload/lazy-container.js +8 -13
- package/lib/lazyload/vue-lazyload/lazy-image.js +8 -13
- package/lib/lazyload/vue-lazyload/lazy.js +9 -16
- package/lib/lazyload/vue-lazyload/listener.js +8 -13
- package/lib/lazyload/vue-lazyload/util.js +8 -13
- package/lib/list/List.js +8 -13
- package/lib/list/index.js +9 -16
- package/lib/list/types.js +7 -12
- package/lib/loading/Loading.js +11 -14
- package/lib/loading/index.js +9 -16
- package/lib/locale/index.js +9 -16
- package/lib/locale/lang/bg-BG.d.ts +64 -0
- package/lib/locale/lang/bg-BG.js +93 -0
- package/lib/locale/lang/bn-BD.d.ts +0 -2
- package/lib/locale/lang/bn-BD.js +8 -15
- package/lib/locale/lang/da-DK.d.ts +64 -0
- package/lib/locale/lang/da-DK.js +85 -0
- package/lib/locale/lang/de-DE-formal.d.ts +0 -2
- package/lib/locale/lang/de-DE-formal.js +8 -15
- package/lib/locale/lang/de-DE.d.ts +0 -2
- package/lib/locale/lang/de-DE.js +8 -15
- package/lib/locale/lang/el-GR.d.ts +64 -0
- package/lib/locale/lang/el-GR.js +93 -0
- package/lib/locale/lang/en-US.d.ts +0 -2
- package/lib/locale/lang/en-US.js +8 -15
- package/lib/locale/lang/es-ES.d.ts +0 -2
- package/lib/locale/lang/es-ES.js +8 -15
- package/lib/locale/lang/fa-IR.d.ts +64 -0
- package/lib/locale/lang/fa-IR.js +93 -0
- package/lib/locale/lang/fr-FR.d.ts +0 -2
- package/lib/locale/lang/fr-FR.js +8 -15
- package/lib/locale/lang/he-IL.d.ts +64 -0
- package/lib/locale/lang/he-IL.js +85 -0
- package/lib/locale/lang/hi-IN.d.ts +0 -2
- package/lib/locale/lang/hi-IN.js +8 -15
- package/lib/locale/lang/id-ID.d.ts +0 -2
- package/lib/locale/lang/id-ID.js +8 -15
- package/lib/locale/lang/is-IS.d.ts +62 -0
- package/lib/locale/lang/is-IS.js +91 -0
- package/lib/locale/lang/it-IT.d.ts +0 -2
- package/lib/locale/lang/it-IT.js +8 -15
- package/lib/locale/lang/ja-JP.d.ts +0 -2
- package/lib/locale/lang/ja-JP.js +8 -15
- package/lib/locale/lang/ko-KR.d.ts +0 -2
- package/lib/locale/lang/ko-KR.js +8 -15
- package/lib/locale/lang/la-LA.d.ts +0 -2
- package/lib/locale/lang/la-LA.js +8 -15
- package/lib/locale/lang/nb-NO.d.ts +0 -2
- package/lib/locale/lang/nb-NO.js +8 -15
- package/lib/locale/lang/pt-BR.d.ts +0 -2
- package/lib/locale/lang/pt-BR.js +8 -15
- package/lib/locale/lang/ro-RO.d.ts +0 -2
- package/lib/locale/lang/ro-RO.js +8 -15
- package/lib/locale/lang/ru-RU.d.ts +0 -2
- package/lib/locale/lang/ru-RU.js +8 -15
- package/lib/locale/lang/sv-SE.d.ts +62 -0
- package/lib/locale/lang/sv-SE.js +83 -0
- package/lib/locale/lang/th-TH.d.ts +0 -2
- package/lib/locale/lang/th-TH.js +8 -15
- package/lib/locale/lang/tr-TR.d.ts +0 -2
- package/lib/locale/lang/tr-TR.js +8 -15
- package/lib/locale/lang/uk-UA.d.ts +0 -2
- package/lib/locale/lang/uk-UA.js +8 -15
- package/lib/locale/lang/vi-VN.d.ts +0 -2
- package/lib/locale/lang/vi-VN.js +8 -15
- package/lib/locale/lang/zh-CN.d.ts +0 -2
- package/lib/locale/lang/zh-CN.js +8 -15
- package/lib/locale/lang/zh-HK.d.ts +0 -2
- package/lib/locale/lang/zh-HK.js +8 -15
- package/lib/locale/lang/zh-TW.d.ts +0 -2
- package/lib/locale/lang/zh-TW.js +8 -15
- package/lib/nav-bar/NavBar.js +8 -13
- package/lib/nav-bar/index.js +9 -16
- package/lib/notice-bar/NoticeBar.js +8 -13
- package/lib/notice-bar/index.js +9 -16
- package/lib/notice-bar/types.js +7 -12
- package/lib/notify/Notify.js +8 -13
- package/lib/notify/function-call.js +9 -16
- package/lib/notify/index.js +8 -13
- package/lib/notify/types.d.ts +2 -1
- package/lib/notify/types.js +7 -12
- package/lib/number-keyboard/NumberKeyboard.js +19 -17
- package/lib/number-keyboard/NumberKeyboardKey.js +8 -13
- package/lib/number-keyboard/index.js +9 -16
- package/lib/overlay/Overlay.js +8 -13
- package/lib/overlay/index.js +9 -16
- package/lib/pagination/Pagination.js +8 -13
- package/lib/pagination/index.js +9 -16
- package/lib/password-input/PasswordInput.js +8 -13
- package/lib/password-input/index.js +9 -16
- package/lib/picker/Picker.d.ts +5 -4
- package/lib/picker/Picker.js +9 -16
- package/lib/picker/PickerColumn.js +8 -13
- package/lib/picker/index.d.ts +3 -3
- package/lib/picker/index.js +9 -16
- package/lib/picker/types.d.ts +4 -3
- package/lib/picker/types.js +7 -12
- package/lib/picker/utils.d.ts +4 -3
- package/lib/picker/utils.js +8 -13
- package/lib/popover/Popover.js +8 -13
- package/lib/popover/index.js +9 -16
- package/lib/popover/types.js +7 -12
- package/lib/popup/Popup.js +8 -13
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.js +9 -16
- package/lib/popup/shared.js +8 -13
- package/lib/popup/types.js +7 -12
- package/lib/progress/Progress.d.ts +4 -3
- package/lib/progress/Progress.js +8 -13
- package/lib/progress/index.d.ts +2 -2
- package/lib/progress/index.js +9 -16
- package/lib/progress/types.js +7 -12
- package/lib/pull-refresh/PullRefresh.js +8 -13
- package/lib/pull-refresh/index.js +9 -16
- package/lib/radio/Radio.js +9 -16
- package/lib/radio/index.js +9 -16
- package/lib/radio-group/RadioGroup.js +8 -13
- package/lib/radio-group/index.js +9 -16
- package/lib/rate/Rate.js +39 -22
- package/lib/rate/index.js +9 -16
- package/lib/row/Row.js +8 -13
- package/lib/row/index.js +9 -16
- package/lib/search/Search.d.ts +3 -0
- package/lib/search/Search.js +8 -13
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +2 -0
- package/lib/search/index.js +9 -16
- package/lib/search/index.less +1 -1
- package/lib/search/types.js +7 -12
- package/lib/share-sheet/ShareSheet.js +33 -24
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.js +9 -16
- package/lib/share-sheet/index.less +45 -1
- package/lib/sidebar/Sidebar.js +8 -13
- package/lib/sidebar/index.js +9 -16
- package/lib/sidebar-item/SidebarItem.js +8 -13
- package/lib/sidebar-item/index.js +9 -16
- package/lib/skeleton/Skeleton.d.ts +5 -4
- package/lib/skeleton/Skeleton.js +8 -13
- package/lib/skeleton/index.d.ts +3 -3
- package/lib/skeleton/index.js +9 -16
- package/lib/slider/Slider.js +8 -13
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.js +9 -16
- package/lib/step/Step.js +8 -13
- package/lib/step/index.js +9 -16
- package/lib/stepper/Stepper.js +8 -13
- package/lib/stepper/index.js +9 -16
- package/lib/steps/Steps.js +8 -13
- package/lib/steps/index.js +9 -16
- package/lib/sticky/Sticky.js +8 -13
- package/lib/sticky/index.js +9 -16
- package/lib/style/animation.css +1 -1
- package/lib/style/base.css +1 -1
- package/lib/submit-bar/SubmitBar.js +8 -13
- package/lib/submit-bar/index.js +9 -16
- package/lib/swipe/Swipe.js +8 -13
- package/lib/swipe/index.js +9 -16
- package/lib/swipe/types.js +7 -12
- package/lib/swipe-cell/SwipeCell.js +8 -13
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.js +9 -16
- package/lib/swipe-cell/types.js +7 -12
- package/lib/swipe-item/SwipeItem.js +8 -13
- package/lib/swipe-item/index.js +9 -16
- package/lib/switch/Switch.js +13 -14
- package/lib/switch/index.js +9 -16
- package/lib/tab/Tab.js +8 -13
- package/lib/tab/index.js +9 -16
- package/lib/tabbar/Tabbar.d.ts +2 -2
- package/lib/tabbar/Tabbar.js +8 -13
- package/lib/tabbar/index.js +9 -16
- package/lib/tabbar-item/TabbarItem.js +8 -13
- package/lib/tabbar-item/index.js +9 -16
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +10 -16
- package/lib/tabs/TabsContent.js +8 -13
- package/lib/tabs/TabsTitle.js +8 -13
- package/lib/tabs/index.js +9 -16
- package/lib/tabs/types.d.ts +5 -4
- package/lib/tabs/types.js +7 -12
- package/lib/tabs/utils.js +8 -13
- package/lib/tag/Tag.js +8 -13
- package/lib/tag/index.js +9 -16
- package/lib/time-picker/TimePicker.js +8 -13
- package/lib/time-picker/index.js +9 -16
- package/lib/toast/Toast.js +8 -13
- package/lib/toast/function-call.js +9 -16
- package/lib/toast/index.js +8 -13
- package/lib/toast/lock-click.js +8 -13
- package/lib/toast/types.d.ts +3 -2
- package/lib/toast/types.js +7 -12
- package/lib/tree-select/TreeSelect.d.ts +7 -6
- package/lib/tree-select/TreeSelect.js +8 -13
- package/lib/tree-select/index.d.ts +3 -3
- package/lib/tree-select/index.js +9 -16
- package/lib/uploader/Uploader.d.ts +4 -4
- package/lib/uploader/Uploader.js +12 -21
- package/lib/uploader/UploaderPreviewItem.d.ts +3 -3
- package/lib/uploader/UploaderPreviewItem.js +22 -21
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +2 -2
- package/lib/uploader/index.js +9 -16
- package/lib/uploader/index.less +7 -4
- package/lib/uploader/types.d.ts +5 -5
- package/lib/uploader/types.js +7 -12
- package/lib/uploader/utils.d.ts +0 -1
- package/lib/uploader/utils.js +10 -17
- package/lib/utils/basic.d.ts +2 -0
- package/lib/utils/basic.js +11 -14
- package/lib/utils/constant.js +8 -13
- package/lib/utils/create.js +9 -16
- package/lib/utils/deep-assign.js +8 -13
- package/lib/utils/deep-clone.js +8 -13
- package/lib/utils/dom.js +8 -13
- package/lib/utils/format.d.ts +7 -6
- package/lib/utils/format.js +14 -13
- package/lib/utils/index.js +17 -21
- package/lib/utils/interceptor.js +8 -13
- package/lib/utils/mount-component.js +8 -13
- package/lib/utils/props.js +8 -13
- package/lib/utils/validate.d.ts +2 -1
- package/lib/utils/validate.js +8 -13
- package/lib/utils/with-install.js +8 -13
- package/lib/vant.cjs.js +526 -294
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +525 -292
- package/lib/vant.es.min.js +525 -292
- package/lib/vant.js +602 -333
- package/lib/vant.min.js +1 -1
- package/package.json +8 -23
- package/vetur/attributes.json +350 -422
- package/vetur/tags.json +101 -101
- package/vetur/web-types.json +1928 -1084
- package/changelog.generated.md +0 -197
- package/es/empty/Network.d.ts +0 -1
- package/es/empty/Network.js +0 -89
- package/es/index.js +0 -280
- package/es/utils/index.js +0 -9
- package/lib/empty/Network.d.ts +0 -1
- package/lib/empty/Network.js +0 -113
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": "4.0.0-alpha.
|
5
|
+
"version": "4.0.0-alpha.4",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -69,13 +69,11 @@
|
|
69
69
|
},
|
70
70
|
{
|
71
71
|
"name": "icon-class",
|
72
|
-
"default": "
|
72
|
+
"default": "`''`",
|
73
73
|
"description": "Icon class name",
|
74
|
-
"options": [
|
75
|
-
"''"
|
76
|
-
],
|
74
|
+
"options": [],
|
77
75
|
"value": {
|
78
|
-
"type": "string | Array
|
76
|
+
"type": "string | Array | object",
|
79
77
|
"kind": "expression"
|
80
78
|
}
|
81
79
|
},
|
@@ -112,7 +110,7 @@
|
|
112
110
|
{
|
113
111
|
"name": "badge-props",
|
114
112
|
"default": "-",
|
115
|
-
"description": "Props of Badge
|
113
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
116
114
|
"options": [],
|
117
115
|
"value": {
|
118
116
|
"type": "BadgeProps",
|
@@ -254,72 +252,101 @@
|
|
254
252
|
]
|
255
253
|
},
|
256
254
|
{
|
257
|
-
"name": "van-
|
255
|
+
"name": "van-action-sheet",
|
258
256
|
"slots": [
|
259
257
|
{
|
260
258
|
"name": "default",
|
261
|
-
"description": "Custom content
|
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"
|
262
272
|
}
|
263
273
|
],
|
264
274
|
"events": [
|
265
275
|
{
|
266
|
-
"name": "
|
267
|
-
"description": "Emitted when
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
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
|
+
]
|
272
288
|
},
|
273
289
|
{
|
274
|
-
"name": "
|
275
|
-
"description": "Emitted when
|
290
|
+
"name": "cancel",
|
291
|
+
"description": "Emitted when the cancel button is clicked",
|
292
|
+
"arguments": []
|
276
293
|
},
|
277
294
|
{
|
278
|
-
"name": "
|
279
|
-
"description": "Emitted when
|
295
|
+
"name": "open",
|
296
|
+
"description": "Emitted when opening ActionSheet",
|
297
|
+
"arguments": []
|
280
298
|
},
|
281
299
|
{
|
282
|
-
"name": "
|
283
|
-
"description": "Emitted when
|
300
|
+
"name": "close",
|
301
|
+
"description": "Emitted when closing ActionSheet",
|
302
|
+
"arguments": []
|
284
303
|
},
|
285
304
|
{
|
286
|
-
"name": "
|
287
|
-
"description": "Emitted when
|
305
|
+
"name": "opened",
|
306
|
+
"description": "Emitted when ActionSheet is opened",
|
307
|
+
"arguments": []
|
288
308
|
},
|
289
309
|
{
|
290
|
-
"name": "
|
291
|
-
"description": "Emitted when
|
310
|
+
"name": "closed",
|
311
|
+
"description": "Emitted when ActionSheet is closed",
|
312
|
+
"arguments": []
|
292
313
|
},
|
293
314
|
{
|
294
|
-
"name": "
|
295
|
-
"description": "Emitted when
|
315
|
+
"name": "click-overlay",
|
316
|
+
"description": "Emitted when overlay is clicked",
|
317
|
+
"arguments": [
|
318
|
+
{
|
319
|
+
"name": "event",
|
320
|
+
"type": "MouseEvent"
|
321
|
+
}
|
322
|
+
]
|
296
323
|
}
|
297
324
|
],
|
298
325
|
"attributes": [
|
299
326
|
{
|
300
|
-
"name": "
|
301
|
-
"default": "
|
302
|
-
"description": "
|
327
|
+
"name": "v-model:show",
|
328
|
+
"default": "`false`",
|
329
|
+
"description": "Whether to show ActionSheet",
|
303
330
|
"options": [],
|
304
331
|
"value": {
|
305
|
-
"type": "
|
332
|
+
"type": "boolean",
|
306
333
|
"kind": "expression"
|
307
334
|
}
|
308
335
|
},
|
309
336
|
{
|
310
|
-
"name": "
|
337
|
+
"name": "actions",
|
311
338
|
"default": "`[]`",
|
312
|
-
"description": "
|
339
|
+
"description": "Options",
|
313
340
|
"options": [],
|
314
341
|
"value": {
|
315
|
-
"type": "
|
342
|
+
"type": "ActionSheetAction[]",
|
316
343
|
"kind": "expression"
|
317
344
|
}
|
318
345
|
},
|
319
346
|
{
|
320
|
-
"name": "
|
321
|
-
"default": "
|
322
|
-
"description": "
|
347
|
+
"name": "title",
|
348
|
+
"default": "-",
|
349
|
+
"description": "Title",
|
323
350
|
"options": [],
|
324
351
|
"value": {
|
325
352
|
"type": "string",
|
@@ -327,39 +354,29 @@
|
|
327
354
|
}
|
328
355
|
},
|
329
356
|
{
|
330
|
-
"name": "
|
331
|
-
"default": "
|
332
|
-
"description": "
|
333
|
-
"options": [],
|
334
|
-
"value": {
|
335
|
-
"type": "AddressEditInfo",
|
336
|
-
"kind": "expression"
|
337
|
-
}
|
338
|
-
},
|
339
|
-
{
|
340
|
-
"name": "search-result",
|
341
|
-
"default": "`[]`",
|
342
|
-
"description": "Address search result",
|
357
|
+
"name": "cancel-text",
|
358
|
+
"default": "-",
|
359
|
+
"description": "Text of cancel button",
|
343
360
|
"options": [],
|
344
361
|
"value": {
|
345
|
-
"type": "
|
362
|
+
"type": "string",
|
346
363
|
"kind": "expression"
|
347
364
|
}
|
348
365
|
},
|
349
366
|
{
|
350
|
-
"name": "
|
351
|
-
"default": "
|
352
|
-
"description": "
|
367
|
+
"name": "description",
|
368
|
+
"default": "-",
|
369
|
+
"description": "Description above the options",
|
353
370
|
"options": [],
|
354
371
|
"value": {
|
355
|
-
"type": "
|
372
|
+
"type": "string",
|
356
373
|
"kind": "expression"
|
357
374
|
}
|
358
375
|
},
|
359
376
|
{
|
360
|
-
"name": "
|
361
|
-
"default": "`
|
362
|
-
"description": "Whether to show
|
377
|
+
"name": "closeable",
|
378
|
+
"default": "`true`",
|
379
|
+
"description": "Whether to show close icon",
|
363
380
|
"options": [],
|
364
381
|
"value": {
|
365
382
|
"type": "boolean",
|
@@ -367,29 +384,29 @@
|
|
367
384
|
}
|
368
385
|
},
|
369
386
|
{
|
370
|
-
"name": "
|
371
|
-
"default": "`
|
372
|
-
"description": "
|
387
|
+
"name": "close-icon",
|
388
|
+
"default": "`cross`",
|
389
|
+
"description": "Close icon name",
|
373
390
|
"options": [],
|
374
391
|
"value": {
|
375
|
-
"type": "
|
392
|
+
"type": "string",
|
376
393
|
"kind": "expression"
|
377
394
|
}
|
378
395
|
},
|
379
396
|
{
|
380
|
-
"name": "
|
381
|
-
"default": "`
|
382
|
-
"description": "
|
397
|
+
"name": "duration",
|
398
|
+
"default": "`0.3`",
|
399
|
+
"description": "Transition duration, unit second",
|
383
400
|
"options": [],
|
384
401
|
"value": {
|
385
|
-
"type": "
|
402
|
+
"type": "number | string",
|
386
403
|
"kind": "expression"
|
387
404
|
}
|
388
405
|
},
|
389
406
|
{
|
390
|
-
"name": "
|
407
|
+
"name": "round",
|
391
408
|
"default": "`true`",
|
392
|
-
"description": "Whether to show
|
409
|
+
"description": "Whether to show round corner",
|
393
410
|
"options": [],
|
394
411
|
"value": {
|
395
412
|
"type": "boolean",
|
@@ -397,19 +414,9 @@
|
|
397
414
|
}
|
398
415
|
},
|
399
416
|
{
|
400
|
-
"name": "
|
417
|
+
"name": "overlay",
|
401
418
|
"default": "`true`",
|
402
|
-
"description": "Whether to show
|
403
|
-
"options": [],
|
404
|
-
"value": {
|
405
|
-
"type": "boolean",
|
406
|
-
"kind": "expression"
|
407
|
-
}
|
408
|
-
},
|
409
|
-
{
|
410
|
-
"name": "disable-area",
|
411
|
-
"default": "`false`",
|
412
|
-
"description": "Whether to disable area select",
|
419
|
+
"description": "Whether to show overlay",
|
413
420
|
"options": [],
|
414
421
|
"value": {
|
415
422
|
"type": "boolean",
|
@@ -417,49 +424,49 @@
|
|
417
424
|
}
|
418
425
|
},
|
419
426
|
{
|
420
|
-
"name": "
|
421
|
-
"default": "
|
422
|
-
"description": "
|
427
|
+
"name": "overlay-class",
|
428
|
+
"default": "-",
|
429
|
+
"description": "Custom overlay class",
|
423
430
|
"options": [],
|
424
431
|
"value": {
|
425
|
-
"type": "string",
|
432
|
+
"type": "string | Array | object",
|
426
433
|
"kind": "expression"
|
427
434
|
}
|
428
435
|
},
|
429
436
|
{
|
430
|
-
"name": "
|
431
|
-
"default": "
|
432
|
-
"description": "
|
437
|
+
"name": "overlay-style",
|
438
|
+
"default": "-",
|
439
|
+
"description": "Custom overlay style",
|
433
440
|
"options": [],
|
434
441
|
"value": {
|
435
|
-
"type": "
|
442
|
+
"type": "object",
|
436
443
|
"kind": "expression"
|
437
444
|
}
|
438
445
|
},
|
439
446
|
{
|
440
|
-
"name": "
|
441
|
-
"default": "`
|
442
|
-
"description": "
|
447
|
+
"name": "lock-scroll",
|
448
|
+
"default": "`true`",
|
449
|
+
"description": "Whether to lock background scroll",
|
443
450
|
"options": [],
|
444
451
|
"value": {
|
445
|
-
"type": "
|
452
|
+
"type": "boolean",
|
446
453
|
"kind": "expression"
|
447
454
|
}
|
448
455
|
},
|
449
456
|
{
|
450
|
-
"name": "
|
451
|
-
"default": "`
|
452
|
-
"description": "
|
457
|
+
"name": "lazy-render",
|
458
|
+
"default": "`true`",
|
459
|
+
"description": "Whether to lazy render util appeared",
|
453
460
|
"options": [],
|
454
461
|
"value": {
|
455
|
-
"type": "
|
462
|
+
"type": "boolean",
|
456
463
|
"kind": "expression"
|
457
464
|
}
|
458
465
|
},
|
459
466
|
{
|
460
|
-
"name": "
|
461
|
-
"default": "`
|
462
|
-
"description": "Whether to
|
467
|
+
"name": "close-on-popstate",
|
468
|
+
"default": "`true`",
|
469
|
+
"description": "Whether to close when popstate",
|
463
470
|
"options": [],
|
464
471
|
"value": {
|
465
472
|
"type": "boolean",
|
@@ -467,9 +474,9 @@
|
|
467
474
|
}
|
468
475
|
},
|
469
476
|
{
|
470
|
-
"name": "
|
477
|
+
"name": "close-on-click-action",
|
471
478
|
"default": "`false`",
|
472
|
-
"description": "Whether to
|
479
|
+
"description": "Whether to close when an action is clicked",
|
473
480
|
"options": [],
|
474
481
|
"value": {
|
475
482
|
"type": "boolean",
|
@@ -477,42 +484,42 @@
|
|
477
484
|
}
|
478
485
|
},
|
479
486
|
{
|
480
|
-
"name": "
|
481
|
-
"default": "
|
482
|
-
"description": "
|
487
|
+
"name": "close-on-click-overlay",
|
488
|
+
"default": "`true`",
|
489
|
+
"description": "Whether to close when overlay is clicked",
|
483
490
|
"options": [],
|
484
491
|
"value": {
|
485
|
-
"type": "
|
492
|
+
"type": "boolean",
|
486
493
|
"kind": "expression"
|
487
494
|
}
|
488
495
|
},
|
489
496
|
{
|
490
|
-
"name": "
|
491
|
-
"default": "
|
492
|
-
"description": "
|
497
|
+
"name": "safe-area-inset-bottom",
|
498
|
+
"default": "`true`",
|
499
|
+
"description": "Whether to enable bottom safe area adaptation",
|
493
500
|
"options": [],
|
494
501
|
"value": {
|
495
|
-
"type": "
|
502
|
+
"type": "boolean",
|
496
503
|
"kind": "expression"
|
497
504
|
}
|
498
505
|
},
|
499
506
|
{
|
500
|
-
"name": "
|
507
|
+
"name": "teleport",
|
501
508
|
"default": "-",
|
502
|
-
"description": "
|
509
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
503
510
|
"options": [],
|
504
511
|
"value": {
|
505
|
-
"type": "
|
512
|
+
"type": "string | Element",
|
506
513
|
"kind": "expression"
|
507
514
|
}
|
508
515
|
},
|
509
516
|
{
|
510
|
-
"name": "
|
517
|
+
"name": "before-close",
|
511
518
|
"default": "-",
|
512
|
-
"description": "
|
519
|
+
"description": "Callback function before close",
|
513
520
|
"options": [],
|
514
521
|
"value": {
|
515
|
-
"type": "(
|
522
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
516
523
|
"kind": "expression"
|
517
524
|
}
|
518
525
|
}
|
@@ -541,27 +548,78 @@
|
|
541
548
|
"events": [
|
542
549
|
{
|
543
550
|
"name": "add",
|
544
|
-
"description": "Emitted when the add button is clicked"
|
551
|
+
"description": "Emitted when the add button is clicked",
|
552
|
+
"arguments": []
|
545
553
|
},
|
546
554
|
{
|
547
555
|
"name": "edit",
|
548
|
-
"description": "Emitted when the edit icon of address is clicked"
|
556
|
+
"description": "Emitted when the edit icon of address is clicked",
|
557
|
+
"arguments": [
|
558
|
+
{
|
559
|
+
"name": "item",
|
560
|
+
"type": "Address"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"name": "index",
|
564
|
+
"type": "number"
|
565
|
+
}
|
566
|
+
]
|
549
567
|
},
|
550
568
|
{
|
551
569
|
"name": "select",
|
552
|
-
"description": "Emitted when an address is selected"
|
570
|
+
"description": "Emitted when an address is selected",
|
571
|
+
"arguments": [
|
572
|
+
{
|
573
|
+
"name": "item",
|
574
|
+
"type": "Address"
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"name": "index",
|
578
|
+
"type": "number"
|
579
|
+
}
|
580
|
+
]
|
553
581
|
},
|
554
582
|
{
|
555
583
|
"name": "edit-disabled",
|
556
|
-
"description": "Emitted when the edit icon of disabled address is clicked"
|
584
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
585
|
+
"arguments": [
|
586
|
+
{
|
587
|
+
"name": "item",
|
588
|
+
"type": "Address"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"name": "index",
|
592
|
+
"type": "number"
|
593
|
+
}
|
594
|
+
]
|
557
595
|
},
|
558
596
|
{
|
559
597
|
"name": "select-disabled",
|
560
|
-
"description": "Emitted when a disabled address is selected"
|
598
|
+
"description": "Emitted when a disabled address is selected",
|
599
|
+
"arguments": [
|
600
|
+
{
|
601
|
+
"name": "item",
|
602
|
+
"type": "Address"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"name": "index",
|
606
|
+
"type": "number"
|
607
|
+
}
|
608
|
+
]
|
561
609
|
},
|
562
610
|
{
|
563
611
|
"name": "click-item",
|
564
|
-
"description": "Emitted when an address item is clicked"
|
612
|
+
"description": "Emitted when an address item is clicked",
|
613
|
+
"arguments": [
|
614
|
+
{
|
615
|
+
"name": "item",
|
616
|
+
"type": "Address"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"name": "index",
|
620
|
+
"type": "number"
|
621
|
+
}
|
622
|
+
]
|
565
623
|
}
|
566
624
|
],
|
567
625
|
"attributes": [
|
@@ -638,62 +696,33 @@
|
|
638
696
|
]
|
639
697
|
},
|
640
698
|
{
|
641
|
-
"name": "van-
|
699
|
+
"name": "van-badge",
|
642
700
|
"slots": [
|
643
701
|
{
|
644
|
-
"name": "
|
645
|
-
"description": "
|
646
|
-
},
|
647
|
-
{
|
648
|
-
"name": "title",
|
649
|
-
"description": "Custom title"
|
650
|
-
},
|
651
|
-
{
|
652
|
-
"name": "confirm",
|
653
|
-
"description": "Custom confirm button text"
|
654
|
-
},
|
655
|
-
{
|
656
|
-
"name": "cancel",
|
657
|
-
"description": "Custom cancel button text"
|
658
|
-
},
|
659
|
-
{
|
660
|
-
"name": "columns-top",
|
661
|
-
"description": "Custom content above columns"
|
662
|
-
},
|
663
|
-
{
|
664
|
-
"name": "columns-bottom",
|
665
|
-
"description": "Custom content below columns"
|
666
|
-
}
|
667
|
-
],
|
668
|
-
"events": [
|
669
|
-
{
|
670
|
-
"name": "confirm",
|
671
|
-
"description": "Emitted when the confirm button is clicked"
|
672
|
-
},
|
673
|
-
{
|
674
|
-
"name": "cancel",
|
675
|
-
"description": "Emitted when the cancel button is clicked"
|
702
|
+
"name": "default",
|
703
|
+
"description": "Default slot"
|
676
704
|
},
|
677
705
|
{
|
678
|
-
"name": "
|
679
|
-
"description": "
|
706
|
+
"name": "content",
|
707
|
+
"description": "Custom badge content"
|
680
708
|
}
|
681
709
|
],
|
710
|
+
"events": [],
|
682
711
|
"attributes": [
|
683
712
|
{
|
684
|
-
"name": "
|
713
|
+
"name": "content",
|
685
714
|
"default": "-",
|
686
|
-
"description": "
|
715
|
+
"description": "Badge content",
|
687
716
|
"options": [],
|
688
717
|
"value": {
|
689
|
-
"type": "string",
|
718
|
+
"type": "number | string",
|
690
719
|
"kind": "expression"
|
691
720
|
}
|
692
721
|
},
|
693
722
|
{
|
694
|
-
"name": "
|
695
|
-
"default": "
|
696
|
-
"description": "
|
723
|
+
"name": "color",
|
724
|
+
"default": "`#ee0a24`",
|
725
|
+
"description": "Background color",
|
697
726
|
"options": [],
|
698
727
|
"value": {
|
699
728
|
"type": "string",
|
@@ -701,37 +730,167 @@
|
|
701
730
|
}
|
702
731
|
},
|
703
732
|
{
|
704
|
-
"name": "
|
705
|
-
"default": "`
|
706
|
-
"description": "
|
733
|
+
"name": "dot",
|
734
|
+
"default": "`false`",
|
735
|
+
"description": "Whether to show dot",
|
707
736
|
"options": [],
|
708
737
|
"value": {
|
709
|
-
"type": "
|
738
|
+
"type": "boolean",
|
710
739
|
"kind": "expression"
|
711
740
|
}
|
712
741
|
},
|
713
742
|
{
|
714
|
-
"name": "
|
715
|
-
"default": "
|
716
|
-
"description": "
|
743
|
+
"name": "max",
|
744
|
+
"default": "-",
|
745
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
717
746
|
"options": [],
|
718
747
|
"value": {
|
719
|
-
"type": "string",
|
748
|
+
"type": "number | string",
|
720
749
|
"kind": "expression"
|
721
750
|
}
|
722
751
|
},
|
723
752
|
{
|
724
|
-
"name": "
|
753
|
+
"name": "offset",
|
725
754
|
"default": "-",
|
726
|
-
"description": "
|
755
|
+
"description": "Offset of badge dot",
|
727
756
|
"options": [],
|
728
757
|
"value": {
|
729
|
-
"type": "
|
758
|
+
"type": "[number | string, number | string]",
|
730
759
|
"kind": "expression"
|
731
760
|
}
|
732
761
|
},
|
733
762
|
{
|
734
|
-
"name": "
|
763
|
+
"name": "show-zero",
|
764
|
+
"default": "`true`",
|
765
|
+
"description": "Whether to show badge when content is zero",
|
766
|
+
"options": [],
|
767
|
+
"value": {
|
768
|
+
"type": "boolean",
|
769
|
+
"kind": "expression"
|
770
|
+
}
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"name": "position",
|
774
|
+
"default": "`top-right`",
|
775
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
776
|
+
"options": [],
|
777
|
+
"value": {
|
778
|
+
"type": "string",
|
779
|
+
"kind": "expression"
|
780
|
+
}
|
781
|
+
}
|
782
|
+
]
|
783
|
+
},
|
784
|
+
{
|
785
|
+
"name": "van-area",
|
786
|
+
"slots": [
|
787
|
+
{
|
788
|
+
"name": "toolbar",
|
789
|
+
"description": "Custom toolbar content"
|
790
|
+
},
|
791
|
+
{
|
792
|
+
"name": "title",
|
793
|
+
"description": "Custom title"
|
794
|
+
},
|
795
|
+
{
|
796
|
+
"name": "confirm",
|
797
|
+
"description": "Custom confirm button text"
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"name": "cancel",
|
801
|
+
"description": "Custom cancel button text"
|
802
|
+
},
|
803
|
+
{
|
804
|
+
"name": "columns-top",
|
805
|
+
"description": "Custom content above columns"
|
806
|
+
},
|
807
|
+
{
|
808
|
+
"name": "columns-bottom",
|
809
|
+
"description": "Custom content below columns"
|
810
|
+
}
|
811
|
+
],
|
812
|
+
"events": [
|
813
|
+
{
|
814
|
+
"name": "confirm",
|
815
|
+
"description": "Emitted when the confirm button is clicked",
|
816
|
+
"arguments": [
|
817
|
+
{
|
818
|
+
"name": "{ selectedValues, selectedOptions }"
|
819
|
+
}
|
820
|
+
]
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"name": "cancel",
|
824
|
+
"description": "Emitted when the cancel button is clicked",
|
825
|
+
"arguments": [
|
826
|
+
{
|
827
|
+
"name": "{ selectedValues, selectedOptions }"
|
828
|
+
}
|
829
|
+
]
|
830
|
+
},
|
831
|
+
{
|
832
|
+
"name": "change",
|
833
|
+
"description": "Emitted when current option is changed",
|
834
|
+
"arguments": [
|
835
|
+
{
|
836
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
837
|
+
}
|
838
|
+
]
|
839
|
+
}
|
840
|
+
],
|
841
|
+
"attributes": [
|
842
|
+
{
|
843
|
+
"name": "v-model",
|
844
|
+
"default": "-",
|
845
|
+
"description": "the `code` of selected area",
|
846
|
+
"options": [],
|
847
|
+
"value": {
|
848
|
+
"type": "string",
|
849
|
+
"kind": "expression"
|
850
|
+
}
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"name": "title",
|
854
|
+
"default": "-",
|
855
|
+
"description": "Toolbar title",
|
856
|
+
"options": [],
|
857
|
+
"value": {
|
858
|
+
"type": "string",
|
859
|
+
"kind": "expression"
|
860
|
+
}
|
861
|
+
},
|
862
|
+
{
|
863
|
+
"name": "confirm-button-text",
|
864
|
+
"default": "`Confirm`",
|
865
|
+
"description": "Text of confirm button",
|
866
|
+
"options": [],
|
867
|
+
"value": {
|
868
|
+
"type": "string",
|
869
|
+
"kind": "expression"
|
870
|
+
}
|
871
|
+
},
|
872
|
+
{
|
873
|
+
"name": "cancel-button-text",
|
874
|
+
"default": "`Cancel`",
|
875
|
+
"description": "Text of cancel button",
|
876
|
+
"options": [],
|
877
|
+
"value": {
|
878
|
+
"type": "string",
|
879
|
+
"kind": "expression"
|
880
|
+
}
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"name": "area-list",
|
884
|
+
"default": "-",
|
885
|
+
"description": "Area list data",
|
886
|
+
"options": [],
|
887
|
+
"value": {
|
888
|
+
"type": "object",
|
889
|
+
"kind": "expression"
|
890
|
+
}
|
891
|
+
},
|
892
|
+
{
|
893
|
+
"name": "columns-placeholder",
|
735
894
|
"default": "`[]`",
|
736
895
|
"description": "Placeholder of columns",
|
737
896
|
"options": [],
|
@@ -793,7 +952,7 @@
|
|
793
952
|
{
|
794
953
|
"name": "swipe-duration",
|
795
954
|
"default": "`1000`",
|
796
|
-
"description": "Duration of the momentum animation
|
955
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
797
956
|
"options": [],
|
798
957
|
"value": {
|
799
958
|
"type": "number | string",
|
@@ -803,100 +962,115 @@
|
|
803
962
|
]
|
804
963
|
},
|
805
964
|
{
|
806
|
-
"name": "van-
|
965
|
+
"name": "van-address-edit",
|
807
966
|
"slots": [
|
808
967
|
{
|
809
968
|
"name": "default",
|
810
|
-
"description": "Custom content"
|
811
|
-
},
|
812
|
-
{
|
813
|
-
"name": "description",
|
814
|
-
"description": "Custom description above the options"
|
815
|
-
},
|
816
|
-
{
|
817
|
-
"name": "cancel",
|
818
|
-
"description": "Custom the content of cancel button"
|
819
|
-
},
|
820
|
-
{
|
821
|
-
"name": "action",
|
822
|
-
"description": "Custom the content of action"
|
969
|
+
"description": "Custom content below address detail"
|
823
970
|
}
|
824
971
|
],
|
825
972
|
"events": [
|
826
973
|
{
|
827
|
-
"name": "
|
828
|
-
"description": "Emitted when
|
974
|
+
"name": "save",
|
975
|
+
"description": "Emitted when the save button is clicked",
|
976
|
+
"arguments": [
|
977
|
+
{
|
978
|
+
"name": "info",
|
979
|
+
"type": "AddressEditInfo"
|
980
|
+
}
|
981
|
+
]
|
829
982
|
},
|
830
983
|
{
|
831
|
-
"name": "
|
832
|
-
"description": "Emitted when
|
984
|
+
"name": "focus",
|
985
|
+
"description": "Emitted when field is focused",
|
986
|
+
"arguments": [
|
987
|
+
{
|
988
|
+
"name": "key",
|
989
|
+
"type": "string"
|
990
|
+
}
|
991
|
+
]
|
833
992
|
},
|
834
993
|
{
|
835
|
-
"name": "
|
836
|
-
"description": "Emitted when
|
994
|
+
"name": "delete",
|
995
|
+
"description": "Emitted when confirming delete",
|
996
|
+
"arguments": [
|
997
|
+
{
|
998
|
+
"name": "info",
|
999
|
+
"type": "AddressEditInfo"
|
1000
|
+
}
|
1001
|
+
]
|
837
1002
|
},
|
838
1003
|
{
|
839
|
-
"name": "
|
840
|
-
"description": "Emitted when
|
1004
|
+
"name": "select-search",
|
1005
|
+
"description": "Emitted when a search result is selected",
|
1006
|
+
"arguments": [
|
1007
|
+
{
|
1008
|
+
"name": "value",
|
1009
|
+
"type": "string"
|
1010
|
+
}
|
1011
|
+
]
|
841
1012
|
},
|
842
1013
|
{
|
843
|
-
"name": "
|
844
|
-
"description": "Emitted when
|
1014
|
+
"name": "click-area",
|
1015
|
+
"description": "Emitted when the area field is clicked",
|
1016
|
+
"arguments": []
|
845
1017
|
},
|
846
1018
|
{
|
847
|
-
"name": "
|
848
|
-
"description": "Emitted when
|
1019
|
+
"name": "change-area",
|
1020
|
+
"description": "Emitted when area changed",
|
1021
|
+
"arguments": [
|
1022
|
+
{
|
1023
|
+
"name": "selectedOptions",
|
1024
|
+
"type": "PickerOption[]"
|
1025
|
+
}
|
1026
|
+
]
|
849
1027
|
},
|
850
1028
|
{
|
851
|
-
"name": "
|
852
|
-
"description": "Emitted when
|
1029
|
+
"name": "change-detail",
|
1030
|
+
"description": "Emitted when address detail changed",
|
1031
|
+
"arguments": [
|
1032
|
+
{
|
1033
|
+
"name": "value",
|
1034
|
+
"type": "string"
|
1035
|
+
}
|
1036
|
+
]
|
1037
|
+
},
|
1038
|
+
{
|
1039
|
+
"name": "change-default",
|
1040
|
+
"description": "Emitted when switching default address",
|
1041
|
+
"arguments": [
|
1042
|
+
{
|
1043
|
+
"name": "checked",
|
1044
|
+
"type": "boolean"
|
1045
|
+
}
|
1046
|
+
]
|
853
1047
|
}
|
854
1048
|
],
|
855
1049
|
"attributes": [
|
856
1050
|
{
|
857
|
-
"name": "
|
858
|
-
"default": "`false`",
|
859
|
-
"description": "Whether to show ActionSheet",
|
860
|
-
"options": [],
|
861
|
-
"value": {
|
862
|
-
"type": "boolean",
|
863
|
-
"kind": "expression"
|
864
|
-
}
|
865
|
-
},
|
866
|
-
{
|
867
|
-
"name": "actions",
|
868
|
-
"default": "`[]`",
|
869
|
-
"description": "Options",
|
870
|
-
"options": [],
|
871
|
-
"value": {
|
872
|
-
"type": "ActionSheetAction[]",
|
873
|
-
"kind": "expression"
|
874
|
-
}
|
875
|
-
},
|
876
|
-
{
|
877
|
-
"name": "title",
|
1051
|
+
"name": "area-list",
|
878
1052
|
"default": "-",
|
879
|
-
"description": "
|
1053
|
+
"description": "Area List",
|
880
1054
|
"options": [],
|
881
1055
|
"value": {
|
882
|
-
"type": "
|
1056
|
+
"type": "object",
|
883
1057
|
"kind": "expression"
|
884
1058
|
}
|
885
1059
|
},
|
886
1060
|
{
|
887
|
-
"name": "
|
888
|
-
"default": "
|
889
|
-
"description": "
|
1061
|
+
"name": "area-columns-placeholder",
|
1062
|
+
"default": "`[]`",
|
1063
|
+
"description": "placeholder of area columns",
|
890
1064
|
"options": [],
|
891
1065
|
"value": {
|
892
|
-
"type": "string",
|
1066
|
+
"type": "string[]",
|
893
1067
|
"kind": "expression"
|
894
1068
|
}
|
895
1069
|
},
|
896
1070
|
{
|
897
|
-
"name": "
|
898
|
-
"default": "
|
899
|
-
"description": "
|
1071
|
+
"name": "area-placeholder",
|
1072
|
+
"default": "`Area`",
|
1073
|
+
"description": "placeholder of area input field",
|
900
1074
|
"options": [],
|
901
1075
|
"value": {
|
902
1076
|
"type": "string",
|
@@ -904,39 +1078,29 @@
|
|
904
1078
|
}
|
905
1079
|
},
|
906
1080
|
{
|
907
|
-
"name": "
|
908
|
-
"default": "`
|
909
|
-
"description": "
|
910
|
-
"options": [],
|
911
|
-
"value": {
|
912
|
-
"type": "boolean",
|
913
|
-
"kind": "expression"
|
914
|
-
}
|
915
|
-
},
|
916
|
-
{
|
917
|
-
"name": "close-icon",
|
918
|
-
"default": "`cross`",
|
919
|
-
"description": "Close icon name",
|
1081
|
+
"name": "address-info",
|
1082
|
+
"default": "`{}`",
|
1083
|
+
"description": "Address Info",
|
920
1084
|
"options": [],
|
921
1085
|
"value": {
|
922
|
-
"type": "
|
1086
|
+
"type": "AddressEditInfo",
|
923
1087
|
"kind": "expression"
|
924
1088
|
}
|
925
1089
|
},
|
926
1090
|
{
|
927
|
-
"name": "
|
928
|
-
"default": "`
|
929
|
-
"description": "
|
1091
|
+
"name": "search-result",
|
1092
|
+
"default": "`[]`",
|
1093
|
+
"description": "Address search result",
|
930
1094
|
"options": [],
|
931
1095
|
"value": {
|
932
|
-
"type": "
|
1096
|
+
"type": "AddressEditSearchItem[]",
|
933
1097
|
"kind": "expression"
|
934
1098
|
}
|
935
1099
|
},
|
936
1100
|
{
|
937
|
-
"name": "
|
938
|
-
"default": "`
|
939
|
-
"description": "Whether to show
|
1101
|
+
"name": "show-delete",
|
1102
|
+
"default": "`false`",
|
1103
|
+
"description": "Whether to show delete button",
|
940
1104
|
"options": [],
|
941
1105
|
"value": {
|
942
1106
|
"type": "boolean",
|
@@ -944,9 +1108,9 @@
|
|
944
1108
|
}
|
945
1109
|
},
|
946
1110
|
{
|
947
|
-
"name": "
|
948
|
-
"default": "`
|
949
|
-
"description": "Whether to show
|
1111
|
+
"name": "show-set-default",
|
1112
|
+
"default": "`false`",
|
1113
|
+
"description": "Whether to show default address switch",
|
950
1114
|
"options": [],
|
951
1115
|
"value": {
|
952
1116
|
"type": "boolean",
|
@@ -954,31 +1118,9 @@
|
|
954
1118
|
}
|
955
1119
|
},
|
956
1120
|
{
|
957
|
-
"name": "
|
958
|
-
"default": "
|
959
|
-
"description": "
|
960
|
-
"options": [
|
961
|
-
"-"
|
962
|
-
],
|
963
|
-
"value": {
|
964
|
-
"type": "string | Array \\",
|
965
|
-
"kind": "expression"
|
966
|
-
}
|
967
|
-
},
|
968
|
-
{
|
969
|
-
"name": "overlay-style",
|
970
|
-
"default": "-",
|
971
|
-
"description": "Custom overlay style",
|
972
|
-
"options": [],
|
973
|
-
"value": {
|
974
|
-
"type": "object",
|
975
|
-
"kind": "expression"
|
976
|
-
}
|
977
|
-
},
|
978
|
-
{
|
979
|
-
"name": "lock-scroll",
|
980
|
-
"default": "`true`",
|
981
|
-
"description": "Whether to lock background scroll",
|
1121
|
+
"name": "show-search-result",
|
1122
|
+
"default": "`false`",
|
1123
|
+
"description": "Whether to show address search result",
|
982
1124
|
"options": [],
|
983
1125
|
"value": {
|
984
1126
|
"type": "boolean",
|
@@ -986,9 +1128,9 @@
|
|
986
1128
|
}
|
987
1129
|
},
|
988
1130
|
{
|
989
|
-
"name": "
|
1131
|
+
"name": "show-area",
|
990
1132
|
"default": "`true`",
|
991
|
-
"description": "Whether to
|
1133
|
+
"description": "Whether to show area cell",
|
992
1134
|
"options": [],
|
993
1135
|
"value": {
|
994
1136
|
"type": "boolean",
|
@@ -996,9 +1138,9 @@
|
|
996
1138
|
}
|
997
1139
|
},
|
998
1140
|
{
|
999
|
-
"name": "
|
1141
|
+
"name": "show-detail",
|
1000
1142
|
"default": "`true`",
|
1001
|
-
"description": "Whether to
|
1143
|
+
"description": "Whether to show detail field",
|
1002
1144
|
"options": [],
|
1003
1145
|
"value": {
|
1004
1146
|
"type": "boolean",
|
@@ -1006,19 +1148,9 @@
|
|
1006
1148
|
}
|
1007
1149
|
},
|
1008
1150
|
{
|
1009
|
-
"name": "
|
1151
|
+
"name": "disable-area",
|
1010
1152
|
"default": "`false`",
|
1011
|
-
"description": "Whether to
|
1012
|
-
"options": [],
|
1013
|
-
"value": {
|
1014
|
-
"type": "boolean",
|
1015
|
-
"kind": "expression"
|
1016
|
-
}
|
1017
|
-
},
|
1018
|
-
{
|
1019
|
-
"name": "close-on-click-overlay",
|
1020
|
-
"default": "`true`",
|
1021
|
-
"description": "Whether to close when overlay is clicked",
|
1153
|
+
"description": "Whether to disable area select",
|
1022
1154
|
"options": [],
|
1023
1155
|
"value": {
|
1024
1156
|
"type": "boolean",
|
@@ -1026,55 +1158,39 @@
|
|
1026
1158
|
}
|
1027
1159
|
},
|
1028
1160
|
{
|
1029
|
-
"name": "
|
1030
|
-
"default": "`
|
1031
|
-
"description": "
|
1161
|
+
"name": "save-button-text",
|
1162
|
+
"default": "`Save`",
|
1163
|
+
"description": "Save button text",
|
1032
1164
|
"options": [],
|
1033
1165
|
"value": {
|
1034
|
-
"type": "
|
1166
|
+
"type": "string",
|
1035
1167
|
"kind": "expression"
|
1036
1168
|
}
|
1037
1169
|
},
|
1038
1170
|
{
|
1039
|
-
"name": "
|
1040
|
-
"default": "
|
1041
|
-
"description": "
|
1171
|
+
"name": "delete-button-text",
|
1172
|
+
"default": "`Delete`",
|
1173
|
+
"description": "Delete button text",
|
1042
1174
|
"options": [],
|
1043
1175
|
"value": {
|
1044
|
-
"type": "string
|
1176
|
+
"type": "string",
|
1045
1177
|
"kind": "expression"
|
1046
1178
|
}
|
1047
1179
|
},
|
1048
1180
|
{
|
1049
|
-
"name": "
|
1050
|
-
"default": "
|
1051
|
-
"description": "
|
1181
|
+
"name": "detail-rows",
|
1182
|
+
"default": "`1`",
|
1183
|
+
"description": "Detail input rows",
|
1052
1184
|
"options": [],
|
1053
1185
|
"value": {
|
1054
|
-
"type": "
|
1186
|
+
"type": "number | string",
|
1055
1187
|
"kind": "expression"
|
1056
1188
|
}
|
1057
|
-
}
|
1058
|
-
]
|
1059
|
-
},
|
1060
|
-
{
|
1061
|
-
"name": "van-badge",
|
1062
|
-
"slots": [
|
1063
|
-
{
|
1064
|
-
"name": "default",
|
1065
|
-
"description": "Default slot"
|
1066
1189
|
},
|
1067
1190
|
{
|
1068
|
-
"name": "
|
1069
|
-
"
|
1070
|
-
|
1071
|
-
],
|
1072
|
-
"events": [],
|
1073
|
-
"attributes": [
|
1074
|
-
{
|
1075
|
-
"name": "content",
|
1076
|
-
"default": "-",
|
1077
|
-
"description": "Badge content",
|
1191
|
+
"name": "detail-maxlength",
|
1192
|
+
"default": "`200`",
|
1193
|
+
"description": "Detail maxlength",
|
1078
1194
|
"options": [],
|
1079
1195
|
"value": {
|
1080
1196
|
"type": "number | string",
|
@@ -1082,19 +1198,19 @@
|
|
1082
1198
|
}
|
1083
1199
|
},
|
1084
1200
|
{
|
1085
|
-
"name": "
|
1086
|
-
"default": "
|
1087
|
-
"description": "
|
1201
|
+
"name": "is-saving",
|
1202
|
+
"default": "`false`",
|
1203
|
+
"description": "Whether to show save button loading status",
|
1088
1204
|
"options": [],
|
1089
1205
|
"value": {
|
1090
|
-
"type": "
|
1206
|
+
"type": "boolean",
|
1091
1207
|
"kind": "expression"
|
1092
1208
|
}
|
1093
1209
|
},
|
1094
1210
|
{
|
1095
|
-
"name": "
|
1211
|
+
"name": "is-deleting",
|
1096
1212
|
"default": "`false`",
|
1097
|
-
"description": "Whether to show
|
1213
|
+
"description": "Whether to show delete button loading status",
|
1098
1214
|
"options": [],
|
1099
1215
|
"value": {
|
1100
1216
|
"type": "boolean",
|
@@ -1102,44 +1218,32 @@
|
|
1102
1218
|
}
|
1103
1219
|
},
|
1104
1220
|
{
|
1105
|
-
"name": "
|
1221
|
+
"name": "tel-validator",
|
1106
1222
|
"default": "-",
|
1107
|
-
"description": "
|
1223
|
+
"description": "The method to validate tel",
|
1108
1224
|
"options": [],
|
1109
1225
|
"value": {
|
1110
|
-
"type": "
|
1111
|
-
"kind": "expression"
|
1112
|
-
}
|
1113
|
-
},
|
1114
|
-
{
|
1115
|
-
"name": "offset",
|
1116
|
-
"default": "string]_",
|
1117
|
-
"description": "Offset of badge dot",
|
1118
|
-
"options": [
|
1119
|
-
"-"
|
1120
|
-
],
|
1121
|
-
"value": {
|
1122
|
-
"type": "[number | string, number \\",
|
1226
|
+
"type": "(tel: string) => boolean",
|
1123
1227
|
"kind": "expression"
|
1124
1228
|
}
|
1125
1229
|
},
|
1126
1230
|
{
|
1127
|
-
"name": "
|
1128
|
-
"default": "
|
1129
|
-
"description": "
|
1231
|
+
"name": "tel-maxlength",
|
1232
|
+
"default": "-",
|
1233
|
+
"description": "Tel maxlength",
|
1130
1234
|
"options": [],
|
1131
1235
|
"value": {
|
1132
|
-
"type": "
|
1236
|
+
"type": "number | string",
|
1133
1237
|
"kind": "expression"
|
1134
1238
|
}
|
1135
1239
|
},
|
1136
1240
|
{
|
1137
|
-
"name": "
|
1138
|
-
"default": "
|
1139
|
-
"description": "
|
1241
|
+
"name": "validator",
|
1242
|
+
"default": "-",
|
1243
|
+
"description": "Custom validator",
|
1140
1244
|
"options": [],
|
1141
1245
|
"value": {
|
1142
|
-
"type": "string",
|
1246
|
+
"type": "(key, val) => string",
|
1143
1247
|
"kind": "expression"
|
1144
1248
|
}
|
1145
1249
|
}
|
@@ -1164,11 +1268,23 @@
|
|
1164
1268
|
"events": [
|
1165
1269
|
{
|
1166
1270
|
"name": "click",
|
1167
|
-
"description": "Emitted when button is clicked and not disabled or loading"
|
1271
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1272
|
+
"arguments": [
|
1273
|
+
{
|
1274
|
+
"name": "event",
|
1275
|
+
"type": "MouseEvent"
|
1276
|
+
}
|
1277
|
+
]
|
1168
1278
|
},
|
1169
1279
|
{
|
1170
1280
|
"name": "touchstart",
|
1171
|
-
"description": "Emitted when button is touched"
|
1281
|
+
"description": "Emitted when button is touched",
|
1282
|
+
"arguments": [
|
1283
|
+
{
|
1284
|
+
"name": "event",
|
1285
|
+
"type": "TouchEvent"
|
1286
|
+
}
|
1287
|
+
]
|
1172
1288
|
}
|
1173
1289
|
],
|
1174
1290
|
"attributes": [
|
@@ -1415,50 +1531,85 @@
|
|
1415
1531
|
"events": [
|
1416
1532
|
{
|
1417
1533
|
"name": "select",
|
1418
|
-
"description": "Emitted when date is selected"
|
1534
|
+
"description": "Emitted when date is selected",
|
1535
|
+
"arguments": [
|
1536
|
+
{
|
1537
|
+
"name": "value",
|
1538
|
+
"type": "Date | Date[]"
|
1539
|
+
}
|
1540
|
+
]
|
1419
1541
|
},
|
1420
1542
|
{
|
1421
1543
|
"name": "confirm",
|
1422
|
-
"description": "Emitted after date selection is complete
|
1544
|
+
"description": "Emitted after date selection is complete, if `show-confirm` is `true`, it is Emitted after clicking the confirm button",
|
1545
|
+
"arguments": [
|
1546
|
+
{
|
1547
|
+
"name": "value",
|
1548
|
+
"type": "Date | Date[]"
|
1549
|
+
}
|
1550
|
+
]
|
1423
1551
|
},
|
1424
1552
|
{
|
1425
1553
|
"name": "open",
|
1426
|
-
"description": "Emitted when opening Popup"
|
1554
|
+
"description": "Emitted when opening Popup",
|
1555
|
+
"arguments": []
|
1427
1556
|
},
|
1428
1557
|
{
|
1429
1558
|
"name": "close",
|
1430
|
-
"description": "Emitted when closing Popup"
|
1559
|
+
"description": "Emitted when closing Popup",
|
1560
|
+
"arguments": []
|
1431
1561
|
},
|
1432
1562
|
{
|
1433
1563
|
"name": "opened",
|
1434
|
-
"description": "Emitted when Popup is opened"
|
1564
|
+
"description": "Emitted when Popup is opened",
|
1565
|
+
"arguments": []
|
1435
1566
|
},
|
1436
1567
|
{
|
1437
1568
|
"name": "closed",
|
1438
|
-
"description": "Emitted when Popup is closed"
|
1569
|
+
"description": "Emitted when Popup is closed",
|
1570
|
+
"arguments": []
|
1439
1571
|
},
|
1440
1572
|
{
|
1441
1573
|
"name": "unselect",
|
1442
|
-
"description": "Emitted when unselect date when type is multiple"
|
1574
|
+
"description": "Emitted when unselect date when type is multiple",
|
1575
|
+
"arguments": [
|
1576
|
+
{
|
1577
|
+
"name": "value",
|
1578
|
+
"type": "Date"
|
1579
|
+
}
|
1580
|
+
]
|
1443
1581
|
},
|
1444
1582
|
{
|
1445
1583
|
"name": "month-show",
|
1446
|
-
"description": "Emitted when a month enters the visible area"
|
1584
|
+
"description": "Emitted when a month enters the visible area",
|
1585
|
+
"arguments": [
|
1586
|
+
{
|
1587
|
+
"name": "value",
|
1588
|
+
"type": "{ date: Date, title: string }"
|
1589
|
+
}
|
1590
|
+
]
|
1447
1591
|
},
|
1448
1592
|
{
|
1449
1593
|
"name": "over-range",
|
1450
|
-
"description": "Emitted when exceeded max range"
|
1594
|
+
"description": "Emitted when exceeded max range",
|
1595
|
+
"arguments": []
|
1451
1596
|
},
|
1452
1597
|
{
|
1453
1598
|
"name": "click-subtitle",
|
1454
|
-
"description": "Emitted when clicking the subtitle"
|
1599
|
+
"description": "Emitted when clicking the subtitle",
|
1600
|
+
"arguments": [
|
1601
|
+
{
|
1602
|
+
"name": "event",
|
1603
|
+
"type": "MouseEvent"
|
1604
|
+
}
|
1605
|
+
]
|
1455
1606
|
}
|
1456
1607
|
],
|
1457
1608
|
"attributes": [
|
1458
1609
|
{
|
1459
1610
|
"name": "type",
|
1460
1611
|
"default": "`single`",
|
1461
|
-
"description": "Type
|
1612
|
+
"description": "Type, can be set to `range` `multiple`",
|
1462
1613
|
"options": [],
|
1463
1614
|
"value": {
|
1464
1615
|
"type": "string",
|
@@ -1507,13 +1658,11 @@
|
|
1507
1658
|
},
|
1508
1659
|
{
|
1509
1660
|
"name": "default-date",
|
1510
|
-
"default": "
|
1661
|
+
"default": "Today",
|
1511
1662
|
"description": "Default selected date",
|
1512
|
-
"options": [
|
1513
|
-
"Today"
|
1514
|
-
],
|
1663
|
+
"options": [],
|
1515
1664
|
"value": {
|
1516
|
-
"type": "Date | Date[]
|
1665
|
+
"type": "Date | Date[] | null",
|
1517
1666
|
"kind": "expression"
|
1518
1667
|
}
|
1519
1668
|
},
|
@@ -1830,11 +1979,23 @@
|
|
1830
1979
|
"events": [
|
1831
1980
|
{
|
1832
1981
|
"name": "click",
|
1833
|
-
"description": "Emitted when component is clicked"
|
1982
|
+
"description": "Emitted when component is clicked",
|
1983
|
+
"arguments": [
|
1984
|
+
{
|
1985
|
+
"name": "event",
|
1986
|
+
"type": "MouseEvent"
|
1987
|
+
}
|
1988
|
+
]
|
1834
1989
|
},
|
1835
1990
|
{
|
1836
1991
|
"name": "click-thumb",
|
1837
|
-
"description": "Emitted when thumb is clicked"
|
1992
|
+
"description": "Emitted when thumb is clicked",
|
1993
|
+
"arguments": [
|
1994
|
+
{
|
1995
|
+
"name": "event",
|
1996
|
+
"type": "MouseEvent"
|
1997
|
+
}
|
1998
|
+
]
|
1838
1999
|
}
|
1839
2000
|
],
|
1840
2001
|
"attributes": [
|
@@ -1941,7 +2102,7 @@
|
|
1941
2102
|
{
|
1942
2103
|
"name": "lazy-load",
|
1943
2104
|
"default": "`false`",
|
1944
|
-
"description": "Whether to enable thumb lazy load
|
2105
|
+
"description": "Whether to enable thumb lazy load, should register [Lazyload](#/en-US/lazyload) component",
|
1945
2106
|
"options": [],
|
1946
2107
|
"value": {
|
1947
2108
|
"type": "boolean",
|
@@ -1973,19 +2134,40 @@
|
|
1973
2134
|
"events": [
|
1974
2135
|
{
|
1975
2136
|
"name": "change",
|
1976
|
-
"description": "Emitted when active option changed"
|
2137
|
+
"description": "Emitted when active option changed",
|
2138
|
+
"arguments": [
|
2139
|
+
{
|
2140
|
+
"name": "{ value: string | number, selectedOptions: CascaderOption[], tabIndex: number }"
|
2141
|
+
}
|
2142
|
+
]
|
1977
2143
|
},
|
1978
2144
|
{
|
1979
2145
|
"name": "finish",
|
1980
|
-
"description": "Emitted when all options is selected"
|
2146
|
+
"description": "Emitted when all options is selected",
|
2147
|
+
"arguments": [
|
2148
|
+
{
|
2149
|
+
"name": "{ value: string | number, selectedOptions: CascaderOption[], tabIndex: number }"
|
2150
|
+
}
|
2151
|
+
]
|
1981
2152
|
},
|
1982
2153
|
{
|
1983
2154
|
"name": "close",
|
1984
|
-
"description": "Emitted when the close icon is clicked"
|
2155
|
+
"description": "Emitted when the close icon is clicked",
|
2156
|
+
"arguments": []
|
1985
2157
|
},
|
1986
2158
|
{
|
1987
2159
|
"name": "click-tab",
|
1988
|
-
"description": "Emitted when a tab is clicked"
|
2160
|
+
"description": "Emitted when a tab is clicked",
|
2161
|
+
"arguments": [
|
2162
|
+
{
|
2163
|
+
"name": "activeTab",
|
2164
|
+
"type": "number"
|
2165
|
+
},
|
2166
|
+
{
|
2167
|
+
"name": "title",
|
2168
|
+
"type": "string"
|
2169
|
+
}
|
2170
|
+
]
|
1989
2171
|
}
|
1990
2172
|
],
|
1991
2173
|
"attributes": [
|
@@ -2168,7 +2350,13 @@
|
|
2168
2350
|
"events": [
|
2169
2351
|
{
|
2170
2352
|
"name": "click",
|
2171
|
-
"description": "Emitted when cell is clicked"
|
2353
|
+
"description": "Emitted when cell is clicked",
|
2354
|
+
"arguments": [
|
2355
|
+
{
|
2356
|
+
"name": "event",
|
2357
|
+
"type": "MouseEvent"
|
2358
|
+
}
|
2359
|
+
]
|
2172
2360
|
}
|
2173
2361
|
],
|
2174
2362
|
"attributes": [
|
@@ -2205,7 +2393,7 @@
|
|
2205
2393
|
{
|
2206
2394
|
"name": "size",
|
2207
2395
|
"default": "-",
|
2208
|
-
"description": "Size
|
2396
|
+
"description": "Size, can be set to `large`",
|
2209
2397
|
"options": [],
|
2210
2398
|
"value": {
|
2211
2399
|
"type": "string",
|
@@ -2244,7 +2432,7 @@
|
|
2244
2432
|
},
|
2245
2433
|
{
|
2246
2434
|
"name": "center",
|
2247
|
-
"default": "`
|
2435
|
+
"default": "`false`",
|
2248
2436
|
"description": "Whether to center content vertically",
|
2249
2437
|
"options": [],
|
2250
2438
|
"value": {
|
@@ -2324,49 +2512,41 @@
|
|
2324
2512
|
},
|
2325
2513
|
{
|
2326
2514
|
"name": "title-style",
|
2327
|
-
"default": "
|
2515
|
+
"default": "-",
|
2328
2516
|
"description": "Title style",
|
2329
|
-
"options": [
|
2330
|
-
"-"
|
2331
|
-
],
|
2517
|
+
"options": [],
|
2332
2518
|
"value": {
|
2333
|
-
"type": "string | Array
|
2519
|
+
"type": "string | Array | object",
|
2334
2520
|
"kind": "expression"
|
2335
2521
|
}
|
2336
2522
|
},
|
2337
2523
|
{
|
2338
2524
|
"name": "title-class",
|
2339
|
-
"default": "
|
2525
|
+
"default": "-",
|
2340
2526
|
"description": "Title className",
|
2341
|
-
"options": [
|
2342
|
-
"-"
|
2343
|
-
],
|
2527
|
+
"options": [],
|
2344
2528
|
"value": {
|
2345
|
-
"type": "string | Array
|
2529
|
+
"type": "string | Array | object",
|
2346
2530
|
"kind": "expression"
|
2347
2531
|
}
|
2348
2532
|
},
|
2349
2533
|
{
|
2350
2534
|
"name": "value-class",
|
2351
|
-
"default": "
|
2535
|
+
"default": "-",
|
2352
2536
|
"description": "Value className",
|
2353
|
-
"options": [
|
2354
|
-
"-"
|
2355
|
-
],
|
2537
|
+
"options": [],
|
2356
2538
|
"value": {
|
2357
|
-
"type": "string | Array
|
2539
|
+
"type": "string | Array | object",
|
2358
2540
|
"kind": "expression"
|
2359
2541
|
}
|
2360
2542
|
},
|
2361
2543
|
{
|
2362
2544
|
"name": "label-class",
|
2363
|
-
"default": "
|
2545
|
+
"default": "-",
|
2364
2546
|
"description": "Label className",
|
2365
|
-
"options": [
|
2366
|
-
"-"
|
2367
|
-
],
|
2547
|
+
"options": [],
|
2368
2548
|
"value": {
|
2369
|
-
"type": "string | Array
|
2549
|
+
"type": "string | Array | object",
|
2370
2550
|
"kind": "expression"
|
2371
2551
|
}
|
2372
2552
|
}
|
@@ -2387,11 +2567,23 @@
|
|
2387
2567
|
"events": [
|
2388
2568
|
{
|
2389
2569
|
"name": "change",
|
2390
|
-
"description": "Emitted when value changed"
|
2570
|
+
"description": "Emitted when value changed",
|
2571
|
+
"arguments": [
|
2572
|
+
{
|
2573
|
+
"name": "checked",
|
2574
|
+
"type": "boolean"
|
2575
|
+
}
|
2576
|
+
]
|
2391
2577
|
},
|
2392
2578
|
{
|
2393
2579
|
"name": "click",
|
2394
|
-
"description": "Emitted when the checkbox is clicked"
|
2580
|
+
"description": "Emitted when the checkbox is clicked",
|
2581
|
+
"arguments": [
|
2582
|
+
{
|
2583
|
+
"name": "event",
|
2584
|
+
"type": "MouseEvent"
|
2585
|
+
}
|
2586
|
+
]
|
2395
2587
|
}
|
2396
2588
|
],
|
2397
2589
|
"attributes": [
|
@@ -2493,7 +2685,13 @@
|
|
2493
2685
|
"events": [
|
2494
2686
|
{
|
2495
2687
|
"name": "change",
|
2496
|
-
"description": "Emitted when value changed"
|
2688
|
+
"description": "Emitted when value changed",
|
2689
|
+
"arguments": [
|
2690
|
+
{
|
2691
|
+
"name": "names",
|
2692
|
+
"type": "any[]"
|
2693
|
+
}
|
2694
|
+
]
|
2497
2695
|
}
|
2498
2696
|
],
|
2499
2697
|
"attributes": [
|
@@ -2662,7 +2860,7 @@
|
|
2662
2860
|
{
|
2663
2861
|
"name": "stroke-linecap",
|
2664
2862
|
"default": "`round`",
|
2665
|
-
"description": "Stroke linecap
|
2863
|
+
"description": "Stroke linecap, can be set to `square` `butt`",
|
2666
2864
|
"options": [],
|
2667
2865
|
"value": {
|
2668
2866
|
"type": "string",
|
@@ -2682,7 +2880,7 @@
|
|
2682
2880
|
{
|
2683
2881
|
"name": "start-position",
|
2684
2882
|
"default": "`top`",
|
2685
|
-
"description": "Progress start position
|
2883
|
+
"description": "Progress start position, can be set to `left`、`right`、`bottom`",
|
2686
2884
|
"options": [],
|
2687
2885
|
"value": {
|
2688
2886
|
"type": "CircleStartPosition",
|
@@ -2697,7 +2895,13 @@
|
|
2697
2895
|
"events": [
|
2698
2896
|
{
|
2699
2897
|
"name": "click",
|
2700
|
-
"description": "Emitted when the row is clicked"
|
2898
|
+
"description": "Emitted when the row is clicked",
|
2899
|
+
"arguments": [
|
2900
|
+
{
|
2901
|
+
"name": "event",
|
2902
|
+
"type": "MouseEvent"
|
2903
|
+
}
|
2904
|
+
]
|
2701
2905
|
}
|
2702
2906
|
],
|
2703
2907
|
"attributes": [
|
@@ -2724,7 +2928,7 @@
|
|
2724
2928
|
{
|
2725
2929
|
"name": "justify",
|
2726
2930
|
"default": "`start`",
|
2727
|
-
"description": "Flex main axis
|
2931
|
+
"description": "Flex main axis, can be set to end/center/space-around/space-between",
|
2728
2932
|
"options": [],
|
2729
2933
|
"value": {
|
2730
2934
|
"type": "string",
|
@@ -2759,7 +2963,13 @@
|
|
2759
2963
|
"events": [
|
2760
2964
|
{
|
2761
2965
|
"name": "click",
|
2762
|
-
"description": "Emitted when the col is clicked"
|
2966
|
+
"description": "Emitted when the col is clicked",
|
2967
|
+
"arguments": [
|
2968
|
+
{
|
2969
|
+
"name": "event",
|
2970
|
+
"type": "MouseEvent"
|
2971
|
+
}
|
2972
|
+
]
|
2763
2973
|
}
|
2764
2974
|
],
|
2765
2975
|
"attributes": [
|
@@ -2801,19 +3011,23 @@
|
|
2801
3011
|
"events": [
|
2802
3012
|
{
|
2803
3013
|
"name": "change",
|
2804
|
-
"description": "Emitted when switching panel"
|
3014
|
+
"description": "Emitted when switching panel",
|
3015
|
+
"arguments": [
|
3016
|
+
{
|
3017
|
+
"name": "activeNames",
|
3018
|
+
"type": "string | number | Array<string | number>"
|
3019
|
+
}
|
3020
|
+
]
|
2805
3021
|
}
|
2806
3022
|
],
|
2807
3023
|
"attributes": [
|
2808
3024
|
{
|
2809
3025
|
"name": "v-model",
|
2810
|
-
"default": "
|
3026
|
+
"default": "-",
|
2811
3027
|
"description": "Names of current active panels",
|
2812
|
-
"options": [
|
2813
|
-
"-"
|
2814
|
-
],
|
3028
|
+
"options": [],
|
2815
3029
|
"value": {
|
2816
|
-
"type": "accordion mode
|
3030
|
+
"type": "accordion mode: _number | string_<br>non-accordion mode: _(number | string)[]",
|
2817
3031
|
"kind": "expression"
|
2818
3032
|
}
|
2819
3033
|
},
|
@@ -2892,7 +3106,7 @@
|
|
2892
3106
|
{
|
2893
3107
|
"name": "size",
|
2894
3108
|
"default": "-",
|
2895
|
-
"description": "Title size
|
3109
|
+
"description": "Title size, can be set to `large`",
|
2896
3110
|
"options": [],
|
2897
3111
|
"value": {
|
2898
3112
|
"type": "string",
|
@@ -3012,182 +3226,210 @@
|
|
3012
3226
|
]
|
3013
3227
|
},
|
3014
3228
|
{
|
3015
|
-
"name": "van-
|
3229
|
+
"name": "van-config-provider",
|
3016
3230
|
"slots": [],
|
3017
|
-
"events": [
|
3018
|
-
{
|
3019
|
-
"name": "save",
|
3020
|
-
"description": "Emitted when the save button is clicked"
|
3021
|
-
},
|
3022
|
-
{
|
3023
|
-
"name": "delete",
|
3024
|
-
"description": "Emitted when the delete button is clicked"
|
3025
|
-
}
|
3026
|
-
],
|
3231
|
+
"events": [],
|
3027
3232
|
"attributes": [
|
3028
3233
|
{
|
3029
|
-
"name": "
|
3030
|
-
"default": "`
|
3031
|
-
"description": "
|
3234
|
+
"name": "theme",
|
3235
|
+
"default": "`light`",
|
3236
|
+
"description": "Theme mode, can be set to `dark`",
|
3032
3237
|
"options": [],
|
3033
3238
|
"value": {
|
3034
|
-
"type": "
|
3239
|
+
"type": "ConfigProviderTheme",
|
3035
3240
|
"kind": "expression"
|
3036
3241
|
}
|
3037
3242
|
},
|
3038
3243
|
{
|
3039
|
-
"name": "
|
3040
|
-
"default": "
|
3041
|
-
"description": "
|
3244
|
+
"name": "theme-vars",
|
3245
|
+
"default": "-",
|
3246
|
+
"description": "Theme variables",
|
3042
3247
|
"options": [],
|
3043
3248
|
"value": {
|
3044
|
-
"type": "
|
3249
|
+
"type": "object",
|
3045
3250
|
"kind": "expression"
|
3046
3251
|
}
|
3047
3252
|
},
|
3048
3253
|
{
|
3049
|
-
"name": "
|
3050
|
-
"default": "`
|
3051
|
-
"description": "
|
3254
|
+
"name": "tag",
|
3255
|
+
"default": "`div`",
|
3256
|
+
"description": "HTML Tag of root element",
|
3052
3257
|
"options": [],
|
3053
3258
|
"value": {
|
3054
|
-
"type": "
|
3259
|
+
"type": "string",
|
3055
3260
|
"kind": "expression"
|
3056
3261
|
}
|
3057
3262
|
},
|
3058
3263
|
{
|
3059
|
-
"name": "
|
3060
|
-
"default": "`
|
3061
|
-
"description": "
|
3264
|
+
"name": "icon-prefix",
|
3265
|
+
"default": "`van-icon`",
|
3266
|
+
"description": "Icon className prefix",
|
3062
3267
|
"options": [],
|
3063
3268
|
"value": {
|
3064
|
-
"type": "
|
3269
|
+
"type": "string",
|
3270
|
+
"kind": "expression"
|
3271
|
+
}
|
3272
|
+
}
|
3273
|
+
]
|
3274
|
+
},
|
3275
|
+
{
|
3276
|
+
"name": "van-contact-card",
|
3277
|
+
"slots": [],
|
3278
|
+
"events": [
|
3279
|
+
{
|
3280
|
+
"name": "click",
|
3281
|
+
"description": "Emitted when component is clicked",
|
3282
|
+
"arguments": [
|
3283
|
+
{
|
3284
|
+
"name": "event",
|
3285
|
+
"type": "MouseEvent"
|
3286
|
+
}
|
3287
|
+
]
|
3288
|
+
}
|
3289
|
+
],
|
3290
|
+
"attributes": [
|
3291
|
+
{
|
3292
|
+
"name": "type",
|
3293
|
+
"default": "`add`",
|
3294
|
+
"description": "Can be set to `edit`",
|
3295
|
+
"options": [],
|
3296
|
+
"value": {
|
3297
|
+
"type": "string",
|
3065
3298
|
"kind": "expression"
|
3066
3299
|
}
|
3067
3300
|
},
|
3068
3301
|
{
|
3069
|
-
"name": "
|
3302
|
+
"name": "name",
|
3070
3303
|
"default": "-",
|
3071
|
-
"description": "
|
3304
|
+
"description": "Name",
|
3072
3305
|
"options": [],
|
3073
3306
|
"value": {
|
3074
|
-
"type": "
|
3307
|
+
"type": "string",
|
3075
3308
|
"kind": "expression"
|
3076
3309
|
}
|
3077
3310
|
},
|
3078
3311
|
{
|
3079
|
-
"name": "
|
3080
|
-
"default": "
|
3081
|
-
"description": "
|
3312
|
+
"name": "tel",
|
3313
|
+
"default": "-",
|
3314
|
+
"description": "Phone",
|
3082
3315
|
"options": [],
|
3083
3316
|
"value": {
|
3084
|
-
"type": "
|
3317
|
+
"type": "string",
|
3085
3318
|
"kind": "expression"
|
3086
3319
|
}
|
3087
3320
|
},
|
3088
3321
|
{
|
3089
|
-
"name": "
|
3090
|
-
"default": "
|
3091
|
-
"description": "
|
3322
|
+
"name": "add-text",
|
3323
|
+
"default": "`Add contact info`",
|
3324
|
+
"description": "Add card text",
|
3092
3325
|
"options": [],
|
3093
3326
|
"value": {
|
3094
3327
|
"type": "string",
|
3095
3328
|
"kind": "expression"
|
3096
3329
|
}
|
3330
|
+
},
|
3331
|
+
{
|
3332
|
+
"name": "editable",
|
3333
|
+
"default": "`true`",
|
3334
|
+
"description": "Whether to allow editing of contacts",
|
3335
|
+
"options": [],
|
3336
|
+
"value": {
|
3337
|
+
"type": "boolean",
|
3338
|
+
"kind": "expression"
|
3339
|
+
}
|
3097
3340
|
}
|
3098
3341
|
]
|
3099
3342
|
},
|
3100
3343
|
{
|
3101
|
-
"name": "van-contact-
|
3344
|
+
"name": "van-contact-edit",
|
3102
3345
|
"slots": [],
|
3103
3346
|
"events": [
|
3104
3347
|
{
|
3105
|
-
"name": "
|
3106
|
-
"description": "Emitted when
|
3107
|
-
|
3108
|
-
|
3109
|
-
|
3110
|
-
|
3111
|
-
|
3112
|
-
|
3113
|
-
"description": "Can be set to `edit`",
|
3114
|
-
"options": [],
|
3115
|
-
"value": {
|
3116
|
-
"type": "string",
|
3117
|
-
"kind": "expression"
|
3118
|
-
}
|
3348
|
+
"name": "save",
|
3349
|
+
"description": "Emitted when the save button is clicked",
|
3350
|
+
"arguments": [
|
3351
|
+
{
|
3352
|
+
"name": "content",
|
3353
|
+
"type": "contact info"
|
3354
|
+
}
|
3355
|
+
]
|
3119
3356
|
},
|
3120
3357
|
{
|
3121
|
-
"name": "
|
3122
|
-
"
|
3123
|
-
"
|
3358
|
+
"name": "delete",
|
3359
|
+
"description": "Emitted when the delete button is clicked",
|
3360
|
+
"arguments": [
|
3361
|
+
{
|
3362
|
+
"name": "content",
|
3363
|
+
"type": "contact info"
|
3364
|
+
}
|
3365
|
+
]
|
3366
|
+
}
|
3367
|
+
],
|
3368
|
+
"attributes": [
|
3369
|
+
{
|
3370
|
+
"name": "contact-info",
|
3371
|
+
"default": "`[]`",
|
3372
|
+
"description": "Contact Info",
|
3124
3373
|
"options": [],
|
3125
3374
|
"value": {
|
3126
|
-
"type": "
|
3375
|
+
"type": "Contact",
|
3127
3376
|
"kind": "expression"
|
3128
3377
|
}
|
3129
3378
|
},
|
3130
3379
|
{
|
3131
|
-
"name": "
|
3132
|
-
"default": "
|
3133
|
-
"description": "
|
3380
|
+
"name": "is-edit",
|
3381
|
+
"default": "`false`",
|
3382
|
+
"description": "Whether is editing",
|
3134
3383
|
"options": [],
|
3135
3384
|
"value": {
|
3136
|
-
"type": "
|
3385
|
+
"type": "boolean",
|
3137
3386
|
"kind": "expression"
|
3138
3387
|
}
|
3139
3388
|
},
|
3140
3389
|
{
|
3141
|
-
"name": "
|
3142
|
-
"default": "`
|
3143
|
-
"description": "
|
3390
|
+
"name": "is-saving",
|
3391
|
+
"default": "`false`",
|
3392
|
+
"description": "Whether to show save button loading status",
|
3144
3393
|
"options": [],
|
3145
3394
|
"value": {
|
3146
|
-
"type": "
|
3395
|
+
"type": "boolean",
|
3147
3396
|
"kind": "expression"
|
3148
3397
|
}
|
3149
|
-
}
|
3150
|
-
]
|
3151
|
-
},
|
3152
|
-
{
|
3153
|
-
"name": "van-config-provider",
|
3154
|
-
"slots": [],
|
3155
|
-
"events": [],
|
3156
|
-
"attributes": [
|
3398
|
+
},
|
3157
3399
|
{
|
3158
|
-
"name": "
|
3159
|
-
"default": "`
|
3160
|
-
"description": "
|
3400
|
+
"name": "is-deleting",
|
3401
|
+
"default": "`false`",
|
3402
|
+
"description": "Whether to show delete button loading status",
|
3161
3403
|
"options": [],
|
3162
3404
|
"value": {
|
3163
|
-
"type": "
|
3405
|
+
"type": "boolean",
|
3164
3406
|
"kind": "expression"
|
3165
3407
|
}
|
3166
3408
|
},
|
3167
3409
|
{
|
3168
|
-
"name": "
|
3410
|
+
"name": "tel-validator",
|
3169
3411
|
"default": "-",
|
3170
|
-
"description": "
|
3412
|
+
"description": "The method to validate tel",
|
3171
3413
|
"options": [],
|
3172
3414
|
"value": {
|
3173
|
-
"type": "
|
3415
|
+
"type": "(tel: string) => boolean",
|
3174
3416
|
"kind": "expression"
|
3175
3417
|
}
|
3176
3418
|
},
|
3177
3419
|
{
|
3178
|
-
"name": "
|
3179
|
-
"default": "`
|
3180
|
-
"description": "
|
3420
|
+
"name": "show-set-default",
|
3421
|
+
"default": "`false`",
|
3422
|
+
"description": "Whether to show default contact switch",
|
3181
3423
|
"options": [],
|
3182
3424
|
"value": {
|
3183
|
-
"type": "
|
3425
|
+
"type": "boolean",
|
3184
3426
|
"kind": "expression"
|
3185
3427
|
}
|
3186
3428
|
},
|
3187
3429
|
{
|
3188
|
-
"name": "
|
3189
|
-
"default": "
|
3190
|
-
"description": "
|
3430
|
+
"name": "set-default-label",
|
3431
|
+
"default": "-",
|
3432
|
+
"description": "default contact switch label",
|
3191
3433
|
"options": [],
|
3192
3434
|
"value": {
|
3193
3435
|
"type": "string",
|
@@ -3202,15 +3444,36 @@
|
|
3202
3444
|
"events": [
|
3203
3445
|
{
|
3204
3446
|
"name": "add",
|
3205
|
-
"description": "Emitted when the add button is clicked"
|
3447
|
+
"description": "Emitted when the add button is clicked",
|
3448
|
+
"arguments": []
|
3206
3449
|
},
|
3207
3450
|
{
|
3208
3451
|
"name": "edit",
|
3209
|
-
"description": "Emitted when the edit button is clicked"
|
3452
|
+
"description": "Emitted when the edit button is clicked",
|
3453
|
+
"arguments": [
|
3454
|
+
{
|
3455
|
+
"name": "contact",
|
3456
|
+
"type": "Contact"
|
3457
|
+
},
|
3458
|
+
{
|
3459
|
+
"name": "index",
|
3460
|
+
"type": "number"
|
3461
|
+
}
|
3462
|
+
]
|
3210
3463
|
},
|
3211
3464
|
{
|
3212
3465
|
"name": "select",
|
3213
|
-
"description": "Emitted when a contact is selected"
|
3466
|
+
"description": "Emitted when a contact is selected",
|
3467
|
+
"arguments": [
|
3468
|
+
{
|
3469
|
+
"name": "contact",
|
3470
|
+
"type": "Contact"
|
3471
|
+
},
|
3472
|
+
{
|
3473
|
+
"name": "index",
|
3474
|
+
"type": "number"
|
3475
|
+
}
|
3476
|
+
]
|
3214
3477
|
}
|
3215
3478
|
],
|
3216
3479
|
"attributes": [
|
@@ -3267,11 +3530,18 @@
|
|
3267
3530
|
"events": [
|
3268
3531
|
{
|
3269
3532
|
"name": "finish",
|
3270
|
-
"description": "Emitted when count down finished"
|
3533
|
+
"description": "Emitted when count down finished",
|
3534
|
+
"arguments": []
|
3271
3535
|
},
|
3272
3536
|
{
|
3273
3537
|
"name": "change",
|
3274
|
-
"description": "Emitted when count down changed"
|
3538
|
+
"description": "Emitted when count down changed",
|
3539
|
+
"arguments": [
|
3540
|
+
{
|
3541
|
+
"name": "currentTime",
|
3542
|
+
"type": "CurrentTime"
|
3543
|
+
}
|
3544
|
+
]
|
3275
3545
|
}
|
3276
3546
|
],
|
3277
3547
|
"attributes": [
|
@@ -3399,11 +3669,23 @@
|
|
3399
3669
|
"events": [
|
3400
3670
|
{
|
3401
3671
|
"name": "change",
|
3402
|
-
"description": "Emitted when chosen coupon changed"
|
3672
|
+
"description": "Emitted when chosen coupon changed",
|
3673
|
+
"arguments": [
|
3674
|
+
{
|
3675
|
+
"name": "index",
|
3676
|
+
"type": "index of chosen coupon"
|
3677
|
+
}
|
3678
|
+
]
|
3403
3679
|
},
|
3404
3680
|
{
|
3405
3681
|
"name": "exchange",
|
3406
|
-
"description": "Emitted when exchanging coupon"
|
3682
|
+
"description": "Emitted when exchanging coupon",
|
3683
|
+
"arguments": [
|
3684
|
+
{
|
3685
|
+
"name": "code",
|
3686
|
+
"type": "exchange code"
|
3687
|
+
}
|
3688
|
+
]
|
3407
3689
|
}
|
3408
3690
|
],
|
3409
3691
|
"attributes": [
|
@@ -3549,7 +3831,7 @@
|
|
3549
3831
|
},
|
3550
3832
|
{
|
3551
3833
|
"name": "empty-image",
|
3552
|
-
"default": "
|
3834
|
+
"default": "-",
|
3553
3835
|
"description": "Placeholder image when list is empty",
|
3554
3836
|
"options": [],
|
3555
3837
|
"value": {
|
@@ -3604,15 +3886,30 @@
|
|
3604
3886
|
"events": [
|
3605
3887
|
{
|
3606
3888
|
"name": "confirm",
|
3607
|
-
"description": "Emitted when the confirm button is clicked"
|
3889
|
+
"description": "Emitted when the confirm button is clicked",
|
3890
|
+
"arguments": [
|
3891
|
+
{
|
3892
|
+
"name": "{ selectedValues, selectedOptions }"
|
3893
|
+
}
|
3894
|
+
]
|
3608
3895
|
},
|
3609
3896
|
{
|
3610
3897
|
"name": "cancel",
|
3611
|
-
"description": "Emitted when the cancel button is clicked"
|
3898
|
+
"description": "Emitted when the cancel button is clicked",
|
3899
|
+
"arguments": [
|
3900
|
+
{
|
3901
|
+
"name": "{ selectedValues, selectedOptions }"
|
3902
|
+
}
|
3903
|
+
]
|
3612
3904
|
},
|
3613
3905
|
{
|
3614
3906
|
"name": "change",
|
3615
|
-
"description": "Emitted when current option is changed"
|
3907
|
+
"description": "Emitted when current option is changed",
|
3908
|
+
"arguments": [
|
3909
|
+
{
|
3910
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
3911
|
+
}
|
3912
|
+
]
|
3616
3913
|
}
|
3617
3914
|
],
|
3618
3915
|
"attributes": [
|
@@ -3759,7 +4056,7 @@
|
|
3759
4056
|
{
|
3760
4057
|
"name": "swipe-duration",
|
3761
4058
|
"default": "`1000`",
|
3762
|
-
"description": "Duration of the momentum animation
|
4059
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
3763
4060
|
"options": [],
|
3764
4061
|
"value": {
|
3765
4062
|
"type": "number | string",
|
@@ -3787,27 +4084,33 @@
|
|
3787
4084
|
"events": [
|
3788
4085
|
{
|
3789
4086
|
"name": "confirm",
|
3790
|
-
"description": "Emitted when the confirm button is clicked"
|
4087
|
+
"description": "Emitted when the confirm button is clicked",
|
4088
|
+
"arguments": []
|
3791
4089
|
},
|
3792
4090
|
{
|
3793
4091
|
"name": "cancel",
|
3794
|
-
"description": "Emitted when the cancel button is clicked"
|
4092
|
+
"description": "Emitted when the cancel button is clicked",
|
4093
|
+
"arguments": []
|
3795
4094
|
},
|
3796
4095
|
{
|
3797
4096
|
"name": "open",
|
3798
|
-
"description": "Emitted when opening Dialog"
|
4097
|
+
"description": "Emitted when opening Dialog",
|
4098
|
+
"arguments": []
|
3799
4099
|
},
|
3800
4100
|
{
|
3801
4101
|
"name": "close",
|
3802
|
-
"description": "Emitted when closing Dialog"
|
4102
|
+
"description": "Emitted when closing Dialog",
|
4103
|
+
"arguments": []
|
3803
4104
|
},
|
3804
4105
|
{
|
3805
4106
|
"name": "opened",
|
3806
|
-
"description": "Emitted when Dialog is opened"
|
4107
|
+
"description": "Emitted when Dialog is opened",
|
4108
|
+
"arguments": []
|
3807
4109
|
},
|
3808
4110
|
{
|
3809
4111
|
"name": "closed",
|
3810
|
-
"description": "Emitted when Dialog is closed"
|
4112
|
+
"description": "Emitted when Dialog is closed",
|
4113
|
+
"arguments": []
|
3811
4114
|
}
|
3812
4115
|
],
|
3813
4116
|
"attributes": [
|
@@ -3854,7 +4157,7 @@
|
|
3854
4157
|
{
|
3855
4158
|
"name": "message-align",
|
3856
4159
|
"default": "`center`",
|
3857
|
-
"description": "Message align
|
4160
|
+
"description": "Message align, can be set to `left` `right`",
|
3858
4161
|
"options": [],
|
3859
4162
|
"value": {
|
3860
4163
|
"type": "string",
|
@@ -3864,7 +4167,7 @@
|
|
3864
4167
|
{
|
3865
4168
|
"name": "theme",
|
3866
4169
|
"default": "`default`",
|
3867
|
-
"description": "Theme style
|
4170
|
+
"description": "Theme style, can be set to `round-button`",
|
3868
4171
|
"options": [],
|
3869
4172
|
"value": {
|
3870
4173
|
"type": "string",
|
@@ -4076,7 +4379,7 @@
|
|
4076
4379
|
{
|
4077
4380
|
"name": "content-position",
|
4078
4381
|
"default": "`center`",
|
4079
|
-
"description": "Content position
|
4382
|
+
"description": "Content position, can be set to `left` `right`",
|
4080
4383
|
"options": [],
|
4081
4384
|
"value": {
|
4082
4385
|
"type": "string",
|
@@ -4177,23 +4480,33 @@
|
|
4177
4480
|
"events": [
|
4178
4481
|
{
|
4179
4482
|
"name": "change",
|
4180
|
-
"description": "Emitted select option and value changed"
|
4483
|
+
"description": "Emitted select option and value changed",
|
4484
|
+
"arguments": [
|
4485
|
+
{
|
4486
|
+
"name": "value",
|
4487
|
+
"type": "number | string"
|
4488
|
+
}
|
4489
|
+
]
|
4181
4490
|
},
|
4182
4491
|
{
|
4183
4492
|
"name": "open",
|
4184
|
-
"description": "Emitted when opening menu"
|
4493
|
+
"description": "Emitted when opening menu",
|
4494
|
+
"arguments": []
|
4185
4495
|
},
|
4186
4496
|
{
|
4187
4497
|
"name": "close",
|
4188
|
-
"description": "Emitted when closing menu"
|
4498
|
+
"description": "Emitted when closing menu",
|
4499
|
+
"arguments": []
|
4189
4500
|
},
|
4190
4501
|
{
|
4191
4502
|
"name": "opened",
|
4192
|
-
"description": "Emitted when menu is opened"
|
4503
|
+
"description": "Emitted when menu is opened",
|
4504
|
+
"arguments": []
|
4193
4505
|
},
|
4194
4506
|
{
|
4195
4507
|
"name": "closed",
|
4196
|
-
"description": "Emitted when menu is closed"
|
4508
|
+
"description": "Emitted when menu is closed",
|
4509
|
+
"arguments": []
|
4197
4510
|
}
|
4198
4511
|
],
|
4199
4512
|
"attributes": [
|
@@ -4249,13 +4562,11 @@
|
|
4249
4562
|
},
|
4250
4563
|
{
|
4251
4564
|
"name": "title-class",
|
4252
|
-
"default": "
|
4565
|
+
"default": "-",
|
4253
4566
|
"description": "Title class",
|
4254
|
-
"options": [
|
4255
|
-
"-"
|
4256
|
-
],
|
4567
|
+
"options": [],
|
4257
4568
|
"value": {
|
4258
|
-
"type": "string | Array
|
4569
|
+
"type": "string | Array | object",
|
4259
4570
|
"kind": "expression"
|
4260
4571
|
}
|
4261
4572
|
},
|
@@ -4292,7 +4603,7 @@
|
|
4292
4603
|
{
|
4293
4604
|
"name": "image",
|
4294
4605
|
"default": "`default`",
|
4295
|
-
"description": "Image type
|
4606
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4296
4607
|
"options": [],
|
4297
4608
|
"value": {
|
4298
4609
|
"type": "string",
|
@@ -4305,7 +4616,7 @@
|
|
4305
4616
|
"description": "Image size",
|
4306
4617
|
"options": [],
|
4307
4618
|
"value": {
|
4308
|
-
"type": "number | string",
|
4619
|
+
"type": "number | string | Array",
|
4309
4620
|
"kind": "expression"
|
4310
4621
|
}
|
4311
4622
|
},
|
@@ -4356,35 +4667,83 @@
|
|
4356
4667
|
"events": [
|
4357
4668
|
{
|
4358
4669
|
"name": "update:model-value",
|
4359
|
-
"description": "Emitted when input value changed"
|
4670
|
+
"description": "Emitted when input value changed",
|
4671
|
+
"arguments": [
|
4672
|
+
{
|
4673
|
+
"name": "value",
|
4674
|
+
"type": "string"
|
4675
|
+
}
|
4676
|
+
]
|
4360
4677
|
},
|
4361
4678
|
{
|
4362
4679
|
"name": "focus",
|
4363
|
-
"description": "Emitted when input is focused"
|
4680
|
+
"description": "Emitted when input is focused",
|
4681
|
+
"arguments": [
|
4682
|
+
{
|
4683
|
+
"name": "event",
|
4684
|
+
"type": "Event"
|
4685
|
+
}
|
4686
|
+
]
|
4364
4687
|
},
|
4365
4688
|
{
|
4366
4689
|
"name": "blur",
|
4367
|
-
"description": "Emitted when input is blurred"
|
4690
|
+
"description": "Emitted when input is blurred",
|
4691
|
+
"arguments": [
|
4692
|
+
{
|
4693
|
+
"name": "event",
|
4694
|
+
"type": "Event"
|
4695
|
+
}
|
4696
|
+
]
|
4368
4697
|
},
|
4369
4698
|
{
|
4370
4699
|
"name": "clear",
|
4371
|
-
"description": "Emitted when the clear icon is clicked"
|
4700
|
+
"description": "Emitted when the clear icon is clicked",
|
4701
|
+
"arguments": [
|
4702
|
+
{
|
4703
|
+
"name": "event",
|
4704
|
+
"type": "MouseEvent"
|
4705
|
+
}
|
4706
|
+
]
|
4372
4707
|
},
|
4373
4708
|
{
|
4374
4709
|
"name": "click",
|
4375
|
-
"description": "Emitted when component is clicked"
|
4710
|
+
"description": "Emitted when component is clicked",
|
4711
|
+
"arguments": [
|
4712
|
+
{
|
4713
|
+
"name": "event",
|
4714
|
+
"type": "MouseEvent"
|
4715
|
+
}
|
4716
|
+
]
|
4376
4717
|
},
|
4377
4718
|
{
|
4378
4719
|
"name": "click-input",
|
4379
|
-
"description": "Emitted when the input is clicked"
|
4720
|
+
"description": "Emitted when the input is clicked",
|
4721
|
+
"arguments": [
|
4722
|
+
{
|
4723
|
+
"name": "event",
|
4724
|
+
"type": "MouseEvent"
|
4725
|
+
}
|
4726
|
+
]
|
4380
4727
|
},
|
4381
4728
|
{
|
4382
4729
|
"name": "click-left-icon",
|
4383
|
-
"description": "Emitted when the left icon is clicked"
|
4730
|
+
"description": "Emitted when the left icon is clicked",
|
4731
|
+
"arguments": [
|
4732
|
+
{
|
4733
|
+
"name": "event",
|
4734
|
+
"type": "MouseEvent"
|
4735
|
+
}
|
4736
|
+
]
|
4384
4737
|
},
|
4385
4738
|
{
|
4386
4739
|
"name": "click-right-icon",
|
4387
|
-
"description": "Emitted when the right icon is clicked"
|
4740
|
+
"description": "Emitted when the right icon is clicked",
|
4741
|
+
"arguments": [
|
4742
|
+
{
|
4743
|
+
"name": "event",
|
4744
|
+
"type": "MouseEvent"
|
4745
|
+
}
|
4746
|
+
]
|
4388
4747
|
}
|
4389
4748
|
],
|
4390
4749
|
"attributes": [
|
@@ -4441,7 +4800,7 @@
|
|
4441
4800
|
{
|
4442
4801
|
"name": "size",
|
4443
4802
|
"default": "-",
|
4444
|
-
"description": "Size
|
4803
|
+
"description": "Size, can be set to `large`",
|
4445
4804
|
"options": [],
|
4446
4805
|
"value": {
|
4447
4806
|
"type": "string",
|
@@ -4641,7 +5000,7 @@
|
|
4641
5000
|
{
|
4642
5001
|
"name": "format-trigger",
|
4643
5002
|
"default": "`onChange`",
|
4644
|
-
"description": "When to format value
|
5003
|
+
"description": "When to format value, can be set to `onBlur`",
|
4645
5004
|
"options": [],
|
4646
5005
|
"value": {
|
4647
5006
|
"type": "FieldFormatTrigger",
|
@@ -4660,13 +5019,11 @@
|
|
4660
5019
|
},
|
4661
5020
|
{
|
4662
5021
|
"name": "label-class",
|
4663
|
-
"default": "
|
5022
|
+
"default": "-",
|
4664
5023
|
"description": "Label className",
|
4665
|
-
"options": [
|
4666
|
-
"-"
|
4667
|
-
],
|
5024
|
+
"options": [],
|
4668
5025
|
"value": {
|
4669
|
-
"type": "string | Array
|
5026
|
+
"type": "string | Array | object",
|
4670
5027
|
"kind": "expression"
|
4671
5028
|
}
|
4672
5029
|
},
|
@@ -4703,7 +5060,7 @@
|
|
4703
5060
|
{
|
4704
5061
|
"name": "autosize",
|
4705
5062
|
"default": "`false`",
|
4706
|
-
"description": "Textarea auto resize
|
5063
|
+
"description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }",
|
4707
5064
|
"options": [],
|
4708
5065
|
"value": {
|
4709
5066
|
"type": "boolean | FieldAutosizeConfig",
|
@@ -4753,7 +5110,17 @@
|
|
4753
5110
|
{
|
4754
5111
|
"name": "autocomplete",
|
4755
5112
|
"default": "-",
|
4756
|
-
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
5113
|
+
"description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
5114
|
+
"options": [],
|
5115
|
+
"value": {
|
5116
|
+
"type": "string",
|
5117
|
+
"kind": "expression"
|
5118
|
+
}
|
5119
|
+
},
|
5120
|
+
{
|
5121
|
+
"name": "enterkeyhint",
|
5122
|
+
"default": "-",
|
5123
|
+
"description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>",
|
4757
5124
|
"options": [],
|
4758
5125
|
"value": {
|
4759
5126
|
"type": "string",
|
@@ -4773,11 +5140,23 @@
|
|
4773
5140
|
"events": [
|
4774
5141
|
{
|
4775
5142
|
"name": "submit",
|
4776
|
-
"description": "Emitted after submitting the form and validation passed"
|
5143
|
+
"description": "Emitted after submitting the form and validation passed",
|
5144
|
+
"arguments": [
|
5145
|
+
{
|
5146
|
+
"name": "values",
|
5147
|
+
"type": "object"
|
5148
|
+
}
|
5149
|
+
]
|
4777
5150
|
},
|
4778
5151
|
{
|
4779
5152
|
"name": "failed",
|
4780
|
-
"description": "Emitted after submitting the form and validation failed"
|
5153
|
+
"description": "Emitted after submitting the form and validation failed",
|
5154
|
+
"arguments": [
|
5155
|
+
{
|
5156
|
+
"name": "errorInfo",
|
5157
|
+
"type": "{ values: object, errors: object[] }"
|
5158
|
+
}
|
5159
|
+
]
|
4781
5160
|
}
|
4782
5161
|
],
|
4783
5162
|
"attributes": [
|
@@ -4824,10 +5203,10 @@
|
|
4824
5203
|
{
|
4825
5204
|
"name": "validate-trigger",
|
4826
5205
|
"default": "`onBlur`",
|
4827
|
-
"description": "When to validate the form
|
5206
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`, supports using array to set multiple values",
|
4828
5207
|
"options": [],
|
4829
5208
|
"value": {
|
4830
|
-
"type": "string",
|
5209
|
+
"type": "string | string[]",
|
4831
5210
|
"kind": "expression"
|
4832
5211
|
}
|
4833
5212
|
},
|
@@ -4997,6 +5376,16 @@
|
|
4997
5376
|
"type": "string",
|
4998
5377
|
"kind": "expression"
|
4999
5378
|
}
|
5379
|
+
},
|
5380
|
+
{
|
5381
|
+
"name": "reverse",
|
5382
|
+
"default": "`false`",
|
5383
|
+
"description": "Whether to reverse the position of icon and text",
|
5384
|
+
"options": [],
|
5385
|
+
"value": {
|
5386
|
+
"type": "boolean",
|
5387
|
+
"kind": "expression"
|
5388
|
+
}
|
5000
5389
|
}
|
5001
5390
|
]
|
5002
5391
|
},
|
@@ -5019,7 +5408,13 @@
|
|
5019
5408
|
"events": [
|
5020
5409
|
{
|
5021
5410
|
"name": "click",
|
5022
|
-
"description": "Emitted when component is clicked"
|
5411
|
+
"description": "Emitted when component is clicked",
|
5412
|
+
"arguments": [
|
5413
|
+
{
|
5414
|
+
"name": "event",
|
5415
|
+
"type": "MouseEvent"
|
5416
|
+
}
|
5417
|
+
]
|
5023
5418
|
}
|
5024
5419
|
],
|
5025
5420
|
"attributes": [
|
@@ -5063,16 +5458,6 @@
|
|
5063
5458
|
"kind": "expression"
|
5064
5459
|
}
|
5065
5460
|
},
|
5066
|
-
{
|
5067
|
-
"name": "reverse",
|
5068
|
-
"default": "`false`",
|
5069
|
-
"description": "Whether to reverse the position of icon and text",
|
5070
|
-
"options": [],
|
5071
|
-
"value": {
|
5072
|
-
"type": "boolean",
|
5073
|
-
"kind": "expression"
|
5074
|
-
}
|
5075
|
-
},
|
5076
5461
|
{
|
5077
5462
|
"name": "dot",
|
5078
5463
|
"default": "`false`",
|
@@ -5096,7 +5481,7 @@
|
|
5096
5481
|
{
|
5097
5482
|
"name": "badge-props",
|
5098
5483
|
"default": "-",
|
5099
|
-
"description": "Props of Badge
|
5484
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
5100
5485
|
"options": [],
|
5101
5486
|
"value": {
|
5102
5487
|
"type": "BadgeProps",
|
@@ -5141,7 +5526,13 @@
|
|
5141
5526
|
"events": [
|
5142
5527
|
{
|
5143
5528
|
"name": "click",
|
5144
|
-
"description": "Emitted when icon is clicked"
|
5529
|
+
"description": "Emitted when icon is clicked",
|
5530
|
+
"arguments": [
|
5531
|
+
{
|
5532
|
+
"name": "event",
|
5533
|
+
"type": "MouseEvent"
|
5534
|
+
}
|
5535
|
+
]
|
5145
5536
|
}
|
5146
5537
|
],
|
5147
5538
|
"attributes": [
|
@@ -5178,7 +5569,7 @@
|
|
5178
5569
|
{
|
5179
5570
|
"name": "badge-props",
|
5180
5571
|
"default": "-",
|
5181
|
-
"description": "Props of Badge
|
5572
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
5182
5573
|
"options": [],
|
5183
5574
|
"value": {
|
5184
5575
|
"type": "BadgeProps",
|
@@ -5246,15 +5637,23 @@
|
|
5246
5637
|
"events": [
|
5247
5638
|
{
|
5248
5639
|
"name": "click",
|
5249
|
-
"description": "Emitted when image is clicked"
|
5640
|
+
"description": "Emitted when image is clicked",
|
5641
|
+
"arguments": [
|
5642
|
+
{
|
5643
|
+
"name": "event",
|
5644
|
+
"type": "MouseEvent"
|
5645
|
+
}
|
5646
|
+
]
|
5250
5647
|
},
|
5251
5648
|
{
|
5252
5649
|
"name": "load",
|
5253
|
-
"description": "Emitted when image loaded"
|
5650
|
+
"description": "Emitted when image loaded",
|
5651
|
+
"arguments": []
|
5254
5652
|
},
|
5255
5653
|
{
|
5256
5654
|
"name": "error",
|
5257
|
-
"description": "Emitted when image load failed"
|
5655
|
+
"description": "Emitted when image load failed",
|
5656
|
+
"arguments": []
|
5258
5657
|
}
|
5259
5658
|
],
|
5260
5659
|
"attributes": [
|
@@ -5341,7 +5740,7 @@
|
|
5341
5740
|
{
|
5342
5741
|
"name": "lazy-load",
|
5343
5742
|
"default": "`false`",
|
5344
|
-
"description": "Whether to enable lazy load
|
5743
|
+
"description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component",
|
5345
5744
|
"options": [],
|
5346
5745
|
"value": {
|
5347
5746
|
"type": "boolean",
|
@@ -5425,19 +5824,48 @@
|
|
5425
5824
|
"events": [
|
5426
5825
|
{
|
5427
5826
|
"name": "close",
|
5428
|
-
"description": "Emitted when closing ImagePreview"
|
5827
|
+
"description": "Emitted when closing ImagePreview",
|
5828
|
+
"arguments": [
|
5829
|
+
{
|
5830
|
+
"name": "value",
|
5831
|
+
"type": "{ index, url }"
|
5832
|
+
}
|
5833
|
+
]
|
5429
5834
|
},
|
5430
5835
|
{
|
5431
5836
|
"name": "closed",
|
5432
|
-
"description": "Emitted when ImagePreview is closed"
|
5837
|
+
"description": "Emitted when ImagePreview is closed",
|
5838
|
+
"arguments": []
|
5433
5839
|
},
|
5434
5840
|
{
|
5435
5841
|
"name": "change",
|
5436
|
-
"description": "Emitted when current image changed"
|
5842
|
+
"description": "Emitted when current image changed",
|
5843
|
+
"arguments": [
|
5844
|
+
{
|
5845
|
+
"name": "index",
|
5846
|
+
"type": "number"
|
5847
|
+
}
|
5848
|
+
]
|
5849
|
+
},
|
5850
|
+
{
|
5851
|
+
"name": "scale",
|
5852
|
+
"description": "Emitted when scaling current image",
|
5853
|
+
"arguments": [
|
5854
|
+
{
|
5855
|
+
"name": "value",
|
5856
|
+
"type": "ImagePreviewScaleEventParams"
|
5857
|
+
}
|
5858
|
+
]
|
5437
5859
|
},
|
5438
5860
|
{
|
5439
5861
|
"name": "scale",
|
5440
|
-
"description": "Emitted when scaling current image"
|
5862
|
+
"description": "Emitted when scaling current image",
|
5863
|
+
"arguments": [
|
5864
|
+
{
|
5865
|
+
"name": "value",
|
5866
|
+
"type": "ImagePreviewScaleEventParams"
|
5867
|
+
}
|
5868
|
+
]
|
5441
5869
|
}
|
5442
5870
|
],
|
5443
5871
|
"attributes": [
|
@@ -5533,13 +5961,11 @@
|
|
5533
5961
|
},
|
5534
5962
|
{
|
5535
5963
|
"name": "class-name",
|
5536
|
-
"default": "
|
5964
|
+
"default": "-",
|
5537
5965
|
"description": "Custom className",
|
5538
|
-
"options": [
|
5539
|
-
"-"
|
5540
|
-
],
|
5966
|
+
"options": [],
|
5541
5967
|
"value": {
|
5542
|
-
"type": "string | Array
|
5968
|
+
"type": "string | Array | object",
|
5543
5969
|
"kind": "expression"
|
5544
5970
|
}
|
5545
5971
|
},
|
@@ -5586,7 +6012,7 @@
|
|
5586
6012
|
{
|
5587
6013
|
"name": "close-icon-position",
|
5588
6014
|
"default": "`top-right`",
|
5589
|
-
"description": "Close icon position
|
6015
|
+
"description": "Close icon position, can be set to `top-left` `bottom-left` `bottom-right`",
|
5590
6016
|
"options": [],
|
5591
6017
|
"value": {
|
5592
6018
|
"type": "string",
|
@@ -5605,13 +6031,11 @@
|
|
5605
6031
|
},
|
5606
6032
|
{
|
5607
6033
|
"name": "overlay-class",
|
5608
|
-
"default": "
|
6034
|
+
"default": "-",
|
5609
6035
|
"description": "Custom overlay class",
|
5610
|
-
"options": [
|
5611
|
-
"-"
|
5612
|
-
],
|
6036
|
+
"options": [],
|
5613
6037
|
"value": {
|
5614
|
-
"type": "string | Array
|
6038
|
+
"type": "string | Array | object",
|
5615
6039
|
"kind": "expression"
|
5616
6040
|
}
|
5617
6041
|
},
|
@@ -5643,11 +6067,23 @@
|
|
5643
6067
|
"events": [
|
5644
6068
|
{
|
5645
6069
|
"name": "select",
|
5646
|
-
"description": "Emitted when an index is selected"
|
6070
|
+
"description": "Emitted when an index is selected",
|
6071
|
+
"arguments": [
|
6072
|
+
{
|
6073
|
+
"name": "index",
|
6074
|
+
"type": "number | string"
|
6075
|
+
}
|
6076
|
+
]
|
5647
6077
|
},
|
5648
6078
|
{
|
5649
6079
|
"name": "change",
|
5650
|
-
"description": "Emitted when active index changed"
|
6080
|
+
"description": "Emitted when active index changed",
|
6081
|
+
"arguments": [
|
6082
|
+
{
|
6083
|
+
"name": "index",
|
6084
|
+
"type": "number | string"
|
6085
|
+
}
|
6086
|
+
]
|
5651
6087
|
}
|
5652
6088
|
],
|
5653
6089
|
"attributes": [
|
@@ -5758,14 +6194,15 @@
|
|
5758
6194
|
"events": [
|
5759
6195
|
{
|
5760
6196
|
"name": "load",
|
5761
|
-
"description": "Emitted when the distance between the scrollbar and the bottom is less than offset"
|
6197
|
+
"description": "Emitted when the distance between the scrollbar and the bottom is less than offset",
|
6198
|
+
"arguments": []
|
5762
6199
|
}
|
5763
6200
|
],
|
5764
6201
|
"attributes": [
|
5765
6202
|
{
|
5766
6203
|
"name": "v-model:loading",
|
5767
6204
|
"default": "`false`",
|
5768
|
-
"description": "Whether to show loading info
|
6205
|
+
"description": "Whether to show loading info, the `load` event will not be Emitted when loading",
|
5769
6206
|
"options": [],
|
5770
6207
|
"value": {
|
5771
6208
|
"type": "boolean",
|
@@ -5775,7 +6212,7 @@
|
|
5775
6212
|
{
|
5776
6213
|
"name": "v-model:error",
|
5777
6214
|
"default": "`false`",
|
5778
|
-
"description": "Whether loading is error
|
6215
|
+
"description": "Whether loading is error, the `load` event will be Emitted only when error text clicked",
|
5779
6216
|
"options": [],
|
5780
6217
|
"value": {
|
5781
6218
|
"type": "boolean",
|
@@ -5785,7 +6222,7 @@
|
|
5785
6222
|
{
|
5786
6223
|
"name": "finished",
|
5787
6224
|
"default": "`false`",
|
5788
|
-
"description": "Whether loading is finished
|
6225
|
+
"description": "Whether loading is finished, the `load` event will not be Emitted when finished",
|
5789
6226
|
"options": [],
|
5790
6227
|
"value": {
|
5791
6228
|
"type": "boolean",
|
@@ -5845,7 +6282,7 @@
|
|
5845
6282
|
{
|
5846
6283
|
"name": "direction",
|
5847
6284
|
"default": "`down`",
|
5848
|
-
"description": "Scroll direction
|
6285
|
+
"description": "Scroll direction, can be set to `up`",
|
5849
6286
|
"options": [],
|
5850
6287
|
"value": {
|
5851
6288
|
"type": "string",
|
@@ -5945,11 +6382,23 @@
|
|
5945
6382
|
"events": [
|
5946
6383
|
{
|
5947
6384
|
"name": "click-left",
|
5948
|
-
"description": "Emitted when the left button is clicked"
|
6385
|
+
"description": "Emitted when the left button is clicked",
|
6386
|
+
"arguments": [
|
6387
|
+
{
|
6388
|
+
"name": "event",
|
6389
|
+
"type": "MouseEvent"
|
6390
|
+
}
|
6391
|
+
]
|
5949
6392
|
},
|
5950
6393
|
{
|
5951
6394
|
"name": "click-right",
|
5952
|
-
"description": "Emitted when the right button is clicked"
|
6395
|
+
"description": "Emitted when the right button is clicked",
|
6396
|
+
"arguments": [
|
6397
|
+
{
|
6398
|
+
"name": "event",
|
6399
|
+
"type": "MouseEvent"
|
6400
|
+
}
|
6401
|
+
]
|
5953
6402
|
}
|
5954
6403
|
],
|
5955
6404
|
"attributes": [
|
@@ -6064,15 +6513,28 @@
|
|
6064
6513
|
"events": [
|
6065
6514
|
{
|
6066
6515
|
"name": "click",
|
6067
|
-
"description": "Emitted when NoticeBar is clicked"
|
6516
|
+
"description": "Emitted when NoticeBar is clicked",
|
6517
|
+
"arguments": [
|
6518
|
+
{
|
6519
|
+
"name": "event",
|
6520
|
+
"type": "MouseEvent"
|
6521
|
+
}
|
6522
|
+
]
|
6068
6523
|
},
|
6069
6524
|
{
|
6070
6525
|
"name": "close",
|
6071
|
-
"description": "Emitted when NoticeBar is closed"
|
6526
|
+
"description": "Emitted when NoticeBar is closed",
|
6527
|
+
"arguments": [
|
6528
|
+
{
|
6529
|
+
"name": "event",
|
6530
|
+
"type": "MouseEvent"
|
6531
|
+
}
|
6532
|
+
]
|
6072
6533
|
},
|
6073
6534
|
{
|
6074
6535
|
"name": "replay",
|
6075
|
-
"description": "Emitted when NoticeBar is replayed"
|
6536
|
+
"description": "Emitted when NoticeBar is replayed",
|
6537
|
+
"arguments": []
|
6076
6538
|
}
|
6077
6539
|
],
|
6078
6540
|
"attributes": [
|
@@ -6187,27 +6649,38 @@
|
|
6187
6649
|
"events": [
|
6188
6650
|
{
|
6189
6651
|
"name": "input",
|
6190
|
-
"description": "Emitted when a key is pressed"
|
6652
|
+
"description": "Emitted when a key is pressed",
|
6653
|
+
"arguments": [
|
6654
|
+
{
|
6655
|
+
"name": "key",
|
6656
|
+
"type": "string"
|
6657
|
+
}
|
6658
|
+
]
|
6191
6659
|
},
|
6192
6660
|
{
|
6193
6661
|
"name": "delete",
|
6194
|
-
"description": "Emitted when the delete key is pressed"
|
6662
|
+
"description": "Emitted when the delete key is pressed",
|
6663
|
+
"arguments": []
|
6195
6664
|
},
|
6196
6665
|
{
|
6197
6666
|
"name": "close",
|
6198
|
-
"description": "Emitted when the close button is clicked"
|
6667
|
+
"description": "Emitted when the close button is clicked",
|
6668
|
+
"arguments": []
|
6199
6669
|
},
|
6200
6670
|
{
|
6201
6671
|
"name": "blur",
|
6202
|
-
"description": "Emitted when the close button is clicked or the keyboard is blurred"
|
6672
|
+
"description": "Emitted when the close button is clicked or the keyboard is blurred",
|
6673
|
+
"arguments": []
|
6203
6674
|
},
|
6204
6675
|
{
|
6205
6676
|
"name": "show",
|
6206
|
-
"description": "Emitted when keyboard is fully displayed"
|
6677
|
+
"description": "Emitted when keyboard is fully displayed",
|
6678
|
+
"arguments": []
|
6207
6679
|
},
|
6208
6680
|
{
|
6209
6681
|
"name": "hide",
|
6210
|
-
"description": "Emitted when keyboard is fully hidden"
|
6682
|
+
"description": "Emitted when keyboard is fully hidden",
|
6683
|
+
"arguments": []
|
6211
6684
|
}
|
6212
6685
|
],
|
6213
6686
|
"attributes": [
|
@@ -6244,7 +6717,7 @@
|
|
6244
6717
|
{
|
6245
6718
|
"name": "theme",
|
6246
6719
|
"default": "`default`",
|
6247
|
-
"description": "Keyboard theme
|
6720
|
+
"description": "Keyboard theme, can be set to `custom`",
|
6248
6721
|
"options": [],
|
6249
6722
|
"value": {
|
6250
6723
|
"type": "string",
|
@@ -6394,7 +6867,13 @@
|
|
6394
6867
|
"events": [
|
6395
6868
|
{
|
6396
6869
|
"name": "click",
|
6397
|
-
"description": "Emitted when component is clicked"
|
6870
|
+
"description": "Emitted when component is clicked",
|
6871
|
+
"arguments": [
|
6872
|
+
{
|
6873
|
+
"name": "event",
|
6874
|
+
"type": "MouseEvent"
|
6875
|
+
}
|
6876
|
+
]
|
6398
6877
|
}
|
6399
6878
|
],
|
6400
6879
|
"attributes": [
|
@@ -6489,7 +6968,8 @@
|
|
6489
6968
|
"events": [
|
6490
6969
|
{
|
6491
6970
|
"name": "change",
|
6492
|
-
"description": "Emitted when current page changed"
|
6971
|
+
"description": "Emitted when current page changed",
|
6972
|
+
"arguments": []
|
6493
6973
|
}
|
6494
6974
|
],
|
6495
6975
|
"attributes": [
|
@@ -6591,7 +7071,8 @@
|
|
6591
7071
|
"events": [
|
6592
7072
|
{
|
6593
7073
|
"name": "focus",
|
6594
|
-
"description": "Emitted when input is focused"
|
7074
|
+
"description": "Emitted when input is focused",
|
7075
|
+
"arguments": []
|
6595
7076
|
}
|
6596
7077
|
],
|
6597
7078
|
"attributes": [
|
@@ -6702,15 +7183,30 @@
|
|
6702
7183
|
"events": [
|
6703
7184
|
{
|
6704
7185
|
"name": "confirm",
|
6705
|
-
"description": "Emitted when the confirm button is clicked"
|
7186
|
+
"description": "Emitted when the confirm button is clicked",
|
7187
|
+
"arguments": [
|
7188
|
+
{
|
7189
|
+
"name": "{ selectedValues, selectedOptions }"
|
7190
|
+
}
|
7191
|
+
]
|
6706
7192
|
},
|
6707
7193
|
{
|
6708
7194
|
"name": "cancel",
|
6709
|
-
"description": "Emitted when the cancel button is clicked"
|
7195
|
+
"description": "Emitted when the cancel button is clicked",
|
7196
|
+
"arguments": [
|
7197
|
+
{
|
7198
|
+
"name": "{ selectedValues, selectedOptions }"
|
7199
|
+
}
|
7200
|
+
]
|
6710
7201
|
},
|
6711
7202
|
{
|
6712
7203
|
"name": "change",
|
6713
|
-
"description": "Emitted when current option is changed"
|
7204
|
+
"description": "Emitted when current option is changed",
|
7205
|
+
"arguments": [
|
7206
|
+
{
|
7207
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
7208
|
+
}
|
7209
|
+
]
|
6714
7210
|
}
|
6715
7211
|
],
|
6716
7212
|
"attributes": [
|
@@ -6827,7 +7323,7 @@
|
|
6827
7323
|
{
|
6828
7324
|
"name": "swipe-duration",
|
6829
7325
|
"default": "`1000`",
|
6830
|
-
"description": "Duration of the momentum animation
|
7326
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
6831
7327
|
"options": [],
|
6832
7328
|
"value": {
|
6833
7329
|
"type": "number | string",
|
@@ -6855,27 +7351,47 @@
|
|
6855
7351
|
"events": [
|
6856
7352
|
{
|
6857
7353
|
"name": "select",
|
6858
|
-
"description": "Emitted when an action is clicked"
|
7354
|
+
"description": "Emitted when an action is clicked",
|
7355
|
+
"arguments": [
|
7356
|
+
{
|
7357
|
+
"name": "action",
|
7358
|
+
"type": "PopoverAction"
|
7359
|
+
},
|
7360
|
+
{
|
7361
|
+
"name": "index",
|
7362
|
+
"type": "number"
|
7363
|
+
}
|
7364
|
+
]
|
6859
7365
|
},
|
6860
7366
|
{
|
6861
7367
|
"name": "open",
|
6862
|
-
"description": "Emitted when opening Popover"
|
7368
|
+
"description": "Emitted when opening Popover",
|
7369
|
+
"arguments": []
|
6863
7370
|
},
|
6864
7371
|
{
|
6865
7372
|
"name": "close",
|
6866
|
-
"description": "Emitted when closing Popover"
|
7373
|
+
"description": "Emitted when closing Popover",
|
7374
|
+
"arguments": []
|
6867
7375
|
},
|
6868
7376
|
{
|
6869
7377
|
"name": "opened",
|
6870
|
-
"description": "Emitted when Popover is opened"
|
7378
|
+
"description": "Emitted when Popover is opened",
|
7379
|
+
"arguments": []
|
6871
7380
|
},
|
6872
7381
|
{
|
6873
7382
|
"name": "closed",
|
6874
|
-
"description": "Emitted when Popover is closed"
|
7383
|
+
"description": "Emitted when Popover is closed",
|
7384
|
+
"arguments": []
|
6875
7385
|
},
|
6876
7386
|
{
|
6877
7387
|
"name": "click-overlay",
|
6878
|
-
"description": "Emitted when overlay is clicked"
|
7388
|
+
"description": "Emitted when overlay is clicked",
|
7389
|
+
"arguments": [
|
7390
|
+
{
|
7391
|
+
"name": "event",
|
7392
|
+
"type": "MouseEvent"
|
7393
|
+
}
|
7394
|
+
]
|
6879
7395
|
}
|
6880
7396
|
],
|
6881
7397
|
"attributes": [
|
@@ -6912,7 +7428,7 @@
|
|
6912
7428
|
{
|
6913
7429
|
"name": "theme",
|
6914
7430
|
"default": "`light`",
|
6915
|
-
"description": "Theme
|
7431
|
+
"description": "Theme, can be set to `dark`",
|
6916
7432
|
"options": [],
|
6917
7433
|
"value": {
|
6918
7434
|
"type": "PopoverTheme",
|
@@ -6922,7 +7438,7 @@
|
|
6922
7438
|
{
|
6923
7439
|
"name": "trigger",
|
6924
7440
|
"default": "`click`",
|
6925
|
-
"description": "Trigger mode
|
7441
|
+
"description": "Trigger mode, can be set to `manual`",
|
6926
7442
|
"options": [],
|
6927
7443
|
"value": {
|
6928
7444
|
"type": "PopoverTrigger",
|
@@ -6961,13 +7477,11 @@
|
|
6961
7477
|
},
|
6962
7478
|
{
|
6963
7479
|
"name": "overlay-class",
|
6964
|
-
"default": "
|
7480
|
+
"default": "-",
|
6965
7481
|
"description": "Custom overlay class",
|
6966
|
-
"options": [
|
6967
|
-
"-"
|
6968
|
-
],
|
7482
|
+
"options": [],
|
6969
7483
|
"value": {
|
6970
|
-
"type": "string | Array
|
7484
|
+
"type": "string | Array | object",
|
6971
7485
|
"kind": "expression"
|
6972
7486
|
}
|
6973
7487
|
},
|
@@ -7058,31 +7572,53 @@
|
|
7058
7572
|
"events": [
|
7059
7573
|
{
|
7060
7574
|
"name": "click",
|
7061
|
-
"description": "Emitted when Popup is clicked"
|
7575
|
+
"description": "Emitted when Popup is clicked",
|
7576
|
+
"arguments": [
|
7577
|
+
{
|
7578
|
+
"name": "event",
|
7579
|
+
"type": "MouseEvent"
|
7580
|
+
}
|
7581
|
+
]
|
7062
7582
|
},
|
7063
7583
|
{
|
7064
7584
|
"name": "click-overlay",
|
7065
|
-
"description": "Emitted when overlay is clicked"
|
7585
|
+
"description": "Emitted when overlay is clicked",
|
7586
|
+
"arguments": [
|
7587
|
+
{
|
7588
|
+
"name": "event",
|
7589
|
+
"type": "MouseEvent"
|
7590
|
+
}
|
7591
|
+
]
|
7066
7592
|
},
|
7067
7593
|
{
|
7068
7594
|
"name": "click-close-icon",
|
7069
|
-
"description": "Emitted when close icon is clicked"
|
7595
|
+
"description": "Emitted when close icon is clicked",
|
7596
|
+
"arguments": [
|
7597
|
+
{
|
7598
|
+
"name": "event",
|
7599
|
+
"type": "MouseEvent"
|
7600
|
+
}
|
7601
|
+
]
|
7070
7602
|
},
|
7071
7603
|
{
|
7072
7604
|
"name": "open",
|
7073
|
-
"description": "Emitted when opening Popup"
|
7605
|
+
"description": "Emitted when opening Popup",
|
7606
|
+
"arguments": []
|
7074
7607
|
},
|
7075
7608
|
{
|
7076
7609
|
"name": "close",
|
7077
|
-
"description": "Emitted when closing Popup"
|
7610
|
+
"description": "Emitted when closing Popup",
|
7611
|
+
"arguments": []
|
7078
7612
|
},
|
7079
7613
|
{
|
7080
7614
|
"name": "opened",
|
7081
|
-
"description": "Emitted when Popup is opened"
|
7615
|
+
"description": "Emitted when Popup is opened",
|
7616
|
+
"arguments": []
|
7082
7617
|
},
|
7083
7618
|
{
|
7084
7619
|
"name": "closed",
|
7085
|
-
"description": "Emitted when Popup is closed"
|
7620
|
+
"description": "Emitted when Popup is closed",
|
7621
|
+
"arguments": []
|
7086
7622
|
}
|
7087
7623
|
],
|
7088
7624
|
"attributes": [
|
@@ -7118,13 +7654,11 @@
|
|
7118
7654
|
},
|
7119
7655
|
{
|
7120
7656
|
"name": "overlay-class",
|
7121
|
-
"default": "
|
7657
|
+
"default": "-",
|
7122
7658
|
"description": "Custom overlay class",
|
7123
|
-
"options": [
|
7124
|
-
"-"
|
7125
|
-
],
|
7659
|
+
"options": [],
|
7126
7660
|
"value": {
|
7127
|
-
"type": "string | Array
|
7661
|
+
"type": "string | Array | object",
|
7128
7662
|
"kind": "expression"
|
7129
7663
|
}
|
7130
7664
|
},
|
@@ -7221,7 +7755,7 @@
|
|
7221
7755
|
{
|
7222
7756
|
"name": "close-icon-position",
|
7223
7757
|
"default": "`top-right`",
|
7224
|
-
"description": "Close Icon Position
|
7758
|
+
"description": "Close Icon Position, can be set to `top-left` `bottom-left` `bottom-right`",
|
7225
7759
|
"options": [],
|
7226
7760
|
"value": {
|
7227
7761
|
"type": "string",
|
@@ -7428,7 +7962,8 @@
|
|
7428
7962
|
"events": [
|
7429
7963
|
{
|
7430
7964
|
"name": "refresh",
|
7431
|
-
"description": "Emitted after pulling refresh"
|
7965
|
+
"description": "Emitted after pulling refresh",
|
7966
|
+
"arguments": []
|
7432
7967
|
}
|
7433
7968
|
],
|
7434
7969
|
"attributes": [
|
@@ -7549,7 +8084,13 @@
|
|
7549
8084
|
"events": [
|
7550
8085
|
{
|
7551
8086
|
"name": "click",
|
7552
|
-
"description": "Emitted when radio is clicked"
|
8087
|
+
"description": "Emitted when radio is clicked",
|
8088
|
+
"arguments": [
|
8089
|
+
{
|
8090
|
+
"name": "event",
|
8091
|
+
"type": "MouseEvent"
|
8092
|
+
}
|
8093
|
+
]
|
7553
8094
|
}
|
7554
8095
|
],
|
7555
8096
|
"attributes": [
|
@@ -7631,7 +8172,13 @@
|
|
7631
8172
|
"events": [
|
7632
8173
|
{
|
7633
8174
|
"name": "change",
|
7634
|
-
"description": "Emitted when value changed"
|
8175
|
+
"description": "Emitted when value changed",
|
8176
|
+
"arguments": [
|
8177
|
+
{
|
8178
|
+
"name": "name",
|
8179
|
+
"type": "string"
|
8180
|
+
}
|
8181
|
+
]
|
7635
8182
|
}
|
7636
8183
|
],
|
7637
8184
|
"attributes": [
|
@@ -7693,7 +8240,13 @@
|
|
7693
8240
|
"events": [
|
7694
8241
|
{
|
7695
8242
|
"name": "change",
|
7696
|
-
"description": "Emitted when rate changed"
|
8243
|
+
"description": "Emitted when rate changed",
|
8244
|
+
"arguments": [
|
8245
|
+
{
|
8246
|
+
"name": "currentValue",
|
8247
|
+
"type": "number"
|
8248
|
+
}
|
8249
|
+
]
|
7697
8250
|
}
|
7698
8251
|
],
|
7699
8252
|
"attributes": [
|
@@ -7866,39 +8419,88 @@
|
|
7866
8419
|
"events": [
|
7867
8420
|
{
|
7868
8421
|
"name": "search",
|
7869
|
-
"description": "Emitted when confirming search"
|
8422
|
+
"description": "Emitted when confirming search",
|
8423
|
+
"arguments": [
|
8424
|
+
{
|
8425
|
+
"name": "value",
|
8426
|
+
"type": "string"
|
8427
|
+
}
|
8428
|
+
]
|
7870
8429
|
},
|
7871
8430
|
{
|
7872
8431
|
"name": "update:model-value",
|
7873
|
-
"description": "Emitted when input value changed"
|
8432
|
+
"description": "Emitted when input value changed",
|
8433
|
+
"arguments": [
|
8434
|
+
{
|
8435
|
+
"name": "value",
|
8436
|
+
"type": "string"
|
8437
|
+
}
|
8438
|
+
]
|
7874
8439
|
},
|
7875
8440
|
{
|
7876
8441
|
"name": "focus",
|
7877
|
-
"description": "Emitted when input is focused"
|
8442
|
+
"description": "Emitted when input is focused",
|
8443
|
+
"arguments": [
|
8444
|
+
{
|
8445
|
+
"name": "event",
|
8446
|
+
"type": "Event"
|
8447
|
+
}
|
8448
|
+
]
|
7878
8449
|
},
|
7879
8450
|
{
|
7880
8451
|
"name": "blur",
|
7881
|
-
"description": "Emitted when input is blurred"
|
8452
|
+
"description": "Emitted when input is blurred",
|
8453
|
+
"arguments": [
|
8454
|
+
{
|
8455
|
+
"name": "event",
|
8456
|
+
"type": "Event"
|
8457
|
+
}
|
8458
|
+
]
|
7882
8459
|
},
|
7883
8460
|
{
|
7884
8461
|
"name": "click-input",
|
7885
|
-
"description": "Emitted when the input is clicked"
|
8462
|
+
"description": "Emitted when the input is clicked",
|
8463
|
+
"arguments": [
|
8464
|
+
{
|
8465
|
+
"name": "event",
|
8466
|
+
"type": "MouseEvent"
|
8467
|
+
}
|
8468
|
+
]
|
7886
8469
|
},
|
7887
8470
|
{
|
7888
8471
|
"name": "click-left-icon",
|
7889
|
-
"description": "Emitted when the left icon is clicked"
|
8472
|
+
"description": "Emitted when the left icon is clicked",
|
8473
|
+
"arguments": [
|
8474
|
+
{
|
8475
|
+
"name": "event",
|
8476
|
+
"type": "MouseEvent"
|
8477
|
+
}
|
8478
|
+
]
|
7890
8479
|
},
|
7891
8480
|
{
|
7892
8481
|
"name": "click-right-icon",
|
7893
|
-
"description": "Emitted when the right icon is clicked"
|
8482
|
+
"description": "Emitted when the right icon is clicked",
|
8483
|
+
"arguments": [
|
8484
|
+
{
|
8485
|
+
"name": "event",
|
8486
|
+
"type": "MouseEvent"
|
8487
|
+
}
|
8488
|
+
]
|
7894
8489
|
},
|
7895
8490
|
{
|
7896
8491
|
"name": "clear",
|
7897
|
-
"description": "Emitted when the clear icon is clicked"
|
8492
|
+
"description": "Emitted when the clear icon is clicked",
|
8493
|
+
"arguments": [
|
8494
|
+
{
|
8495
|
+
"name": "event",
|
8496
|
+
"type": "MouseEvent"
|
8497
|
+
}
|
8498
|
+
]
|
7898
8499
|
},
|
7899
8500
|
{
|
7900
8501
|
"name": "cancel",
|
7901
|
-
"description": "Emitted when the cancel button is clicked"
|
8502
|
+
"description": "Emitted when the cancel button is clicked",
|
8503
|
+
"arguments": []
|
7902
8504
|
}
|
7903
8505
|
],
|
7904
8506
|
"attributes": [
|
@@ -8095,7 +8697,7 @@
|
|
8095
8697
|
{
|
8096
8698
|
"name": "format-trigger",
|
8097
8699
|
"default": "`onChange`",
|
8098
|
-
"description": "When to format value
|
8700
|
+
"description": "When to format value, can be set to `onBlur`",
|
8099
8701
|
"options": [],
|
8100
8702
|
"value": {
|
8101
8703
|
"type": "string",
|
@@ -8163,31 +8765,52 @@
|
|
8163
8765
|
"events": [
|
8164
8766
|
{
|
8165
8767
|
"name": "select",
|
8166
|
-
"description": "Emitted when an option is clicked"
|
8768
|
+
"description": "Emitted when an option is clicked",
|
8769
|
+
"arguments": [
|
8770
|
+
{
|
8771
|
+
"name": "option",
|
8772
|
+
"type": "Option"
|
8773
|
+
},
|
8774
|
+
{
|
8775
|
+
"name": "index",
|
8776
|
+
"type": "number"
|
8777
|
+
}
|
8778
|
+
]
|
8167
8779
|
},
|
8168
8780
|
{
|
8169
8781
|
"name": "cancel",
|
8170
|
-
"description": "Emitted when the cancel button is clicked"
|
8782
|
+
"description": "Emitted when the cancel button is clicked",
|
8783
|
+
"arguments": []
|
8171
8784
|
},
|
8172
8785
|
{
|
8173
8786
|
"name": "open",
|
8174
|
-
"description": "Emitted when opening ShareSheet"
|
8787
|
+
"description": "Emitted when opening ShareSheet",
|
8788
|
+
"arguments": []
|
8175
8789
|
},
|
8176
8790
|
{
|
8177
8791
|
"name": "close",
|
8178
|
-
"description": "Emitted when closing ShareSheet"
|
8792
|
+
"description": "Emitted when closing ShareSheet",
|
8793
|
+
"arguments": []
|
8179
8794
|
},
|
8180
8795
|
{
|
8181
8796
|
"name": "opened",
|
8182
|
-
"description": "Emitted when ShareSheet is opened"
|
8797
|
+
"description": "Emitted when ShareSheet is opened",
|
8798
|
+
"arguments": []
|
8183
8799
|
},
|
8184
8800
|
{
|
8185
8801
|
"name": "closed",
|
8186
|
-
"description": "Emitted when ShareSheet is closed"
|
8802
|
+
"description": "Emitted when ShareSheet is closed",
|
8803
|
+
"arguments": []
|
8187
8804
|
},
|
8188
8805
|
{
|
8189
8806
|
"name": "click-overlay",
|
8190
|
-
"description": "Emitted when overlay is clicked"
|
8807
|
+
"description": "Emitted when overlay is clicked",
|
8808
|
+
"arguments": [
|
8809
|
+
{
|
8810
|
+
"name": "event",
|
8811
|
+
"type": "MouseEvent"
|
8812
|
+
}
|
8813
|
+
]
|
8191
8814
|
}
|
8192
8815
|
],
|
8193
8816
|
"attributes": [
|
@@ -8273,13 +8896,11 @@
|
|
8273
8896
|
},
|
8274
8897
|
{
|
8275
8898
|
"name": "overlay-class",
|
8276
|
-
"default": "
|
8899
|
+
"default": "-",
|
8277
8900
|
"description": "Custom overlay class",
|
8278
|
-
"options": [
|
8279
|
-
"-"
|
8280
|
-
],
|
8901
|
+
"options": [],
|
8281
8902
|
"value": {
|
8282
|
-
"type": "string | Array
|
8903
|
+
"type": "string | Array | object",
|
8283
8904
|
"kind": "expression"
|
8284
8905
|
}
|
8285
8906
|
},
|
@@ -8371,7 +8992,13 @@
|
|
8371
8992
|
"events": [
|
8372
8993
|
{
|
8373
8994
|
"name": "change",
|
8374
|
-
"description": "Emitted when chosen item changed"
|
8995
|
+
"description": "Emitted when chosen item changed",
|
8996
|
+
"arguments": [
|
8997
|
+
{
|
8998
|
+
"name": "index",
|
8999
|
+
"type": "number"
|
9000
|
+
}
|
9001
|
+
]
|
8375
9002
|
}
|
8376
9003
|
],
|
8377
9004
|
"attributes": [
|
@@ -8398,7 +9025,13 @@
|
|
8398
9025
|
"events": [
|
8399
9026
|
{
|
8400
9027
|
"name": "click",
|
8401
|
-
"description": "Emitted when an item is clicked"
|
9028
|
+
"description": "Emitted when an item is clicked",
|
9029
|
+
"arguments": [
|
9030
|
+
{
|
9031
|
+
"name": "index",
|
9032
|
+
"type": "number"
|
9033
|
+
}
|
9034
|
+
]
|
8402
9035
|
}
|
8403
9036
|
],
|
8404
9037
|
"attributes": [
|
@@ -8435,7 +9068,7 @@
|
|
8435
9068
|
{
|
8436
9069
|
"name": "badge-props",
|
8437
9070
|
"default": "-",
|
8438
|
-
"description": "Props of Badge
|
9071
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
8439
9072
|
"options": [],
|
8440
9073
|
"value": {
|
8441
9074
|
"type": "BadgeProps",
|
@@ -8501,13 +9134,11 @@
|
|
8501
9134
|
},
|
8502
9135
|
{
|
8503
9136
|
"name": "row-width",
|
8504
|
-
"default": "
|
9137
|
+
"default": "`100%`",
|
8505
9138
|
"description": "Row width, can be array",
|
8506
|
-
"options": [
|
8507
|
-
"string)[]_"
|
8508
|
-
],
|
9139
|
+
"options": [],
|
8509
9140
|
"value": {
|
8510
|
-
"type": "number | string
|
9141
|
+
"type": "number | string |<br>(number | string)[]",
|
8511
9142
|
"kind": "expression"
|
8512
9143
|
}
|
8513
9144
|
},
|
@@ -8534,7 +9165,7 @@
|
|
8534
9165
|
{
|
8535
9166
|
"name": "loading",
|
8536
9167
|
"default": "`true`",
|
8537
|
-
"description": "Whether to show skeleton
|
9168
|
+
"description": "Whether to show skeleton, pass `false` to show child component",
|
8538
9169
|
"options": [],
|
8539
9170
|
"value": {
|
8540
9171
|
"type": "boolean",
|
@@ -8584,7 +9215,7 @@
|
|
8584
9215
|
{
|
8585
9216
|
"name": "avatar-shape",
|
8586
9217
|
"default": "`round`",
|
8587
|
-
"description": "Shape of avatar placeholder
|
9218
|
+
"description": "Shape of avatar placeholder, can be set to `square`",
|
8588
9219
|
"options": [],
|
8589
9220
|
"value": {
|
8590
9221
|
"type": "string",
|
@@ -8612,19 +9243,43 @@
|
|
8612
9243
|
"events": [
|
8613
9244
|
{
|
8614
9245
|
"name": "update:model-value",
|
8615
|
-
"description": "Emitted when value is changing"
|
9246
|
+
"description": "Emitted when value is changing",
|
9247
|
+
"arguments": [
|
9248
|
+
{
|
9249
|
+
"name": "value",
|
9250
|
+
"type": "number"
|
9251
|
+
}
|
9252
|
+
]
|
8616
9253
|
},
|
8617
9254
|
{
|
8618
9255
|
"name": "change",
|
8619
|
-
"description": "Emitted after value changed"
|
9256
|
+
"description": "Emitted after value changed",
|
9257
|
+
"arguments": [
|
9258
|
+
{
|
9259
|
+
"name": "value",
|
9260
|
+
"type": "number"
|
9261
|
+
}
|
9262
|
+
]
|
8620
9263
|
},
|
8621
9264
|
{
|
8622
9265
|
"name": "drag-start",
|
8623
|
-
"description": "Emitted when start dragging"
|
9266
|
+
"description": "Emitted when start dragging",
|
9267
|
+
"arguments": [
|
9268
|
+
{
|
9269
|
+
"name": "event",
|
9270
|
+
"type": "TouchEvent"
|
9271
|
+
}
|
9272
|
+
]
|
8624
9273
|
},
|
8625
9274
|
{
|
8626
9275
|
"name": "drag-end",
|
8627
|
-
"description": "Emitted when end dragging"
|
9276
|
+
"description": "Emitted when end dragging",
|
9277
|
+
"arguments": [
|
9278
|
+
{
|
9279
|
+
"name": "event",
|
9280
|
+
"type": "TouchEvent"
|
9281
|
+
}
|
9282
|
+
]
|
8628
9283
|
}
|
8629
9284
|
],
|
8630
9285
|
"attributes": [
|
@@ -8765,27 +9420,52 @@
|
|
8765
9420
|
"events": [
|
8766
9421
|
{
|
8767
9422
|
"name": "change",
|
8768
|
-
"description": "Emitted when value changed"
|
9423
|
+
"description": "Emitted when value changed",
|
9424
|
+
"arguments": [
|
9425
|
+
{
|
9426
|
+
"name": "value",
|
9427
|
+
"type": "string"
|
9428
|
+
},
|
9429
|
+
{
|
9430
|
+
"name": "detail",
|
9431
|
+
"type": "{ name: string }"
|
9432
|
+
}
|
9433
|
+
]
|
8769
9434
|
},
|
8770
9435
|
{
|
8771
9436
|
"name": "overlimit",
|
8772
|
-
"description": "Emitted when a disabled button is clicked"
|
9437
|
+
"description": "Emitted when a disabled button is clicked",
|
9438
|
+
"arguments": []
|
8773
9439
|
},
|
8774
9440
|
{
|
8775
9441
|
"name": "plus",
|
8776
|
-
"description": "Emitted when the plus button is clicked"
|
9442
|
+
"description": "Emitted when the plus button is clicked",
|
9443
|
+
"arguments": []
|
8777
9444
|
},
|
8778
9445
|
{
|
8779
9446
|
"name": "minus",
|
8780
|
-
"description": "Emitted when the minus button is clicked"
|
9447
|
+
"description": "Emitted when the minus button is clicked",
|
9448
|
+
"arguments": []
|
8781
9449
|
},
|
8782
9450
|
{
|
8783
9451
|
"name": "focus",
|
8784
|
-
"description": "Emitted when the input is focused"
|
9452
|
+
"description": "Emitted when the input is focused",
|
9453
|
+
"arguments": [
|
9454
|
+
{
|
9455
|
+
"name": "event",
|
9456
|
+
"type": "Event"
|
9457
|
+
}
|
9458
|
+
]
|
8785
9459
|
},
|
8786
9460
|
{
|
8787
9461
|
"name": "blur",
|
8788
|
-
"description": "Emitted when the input is blurred"
|
9462
|
+
"description": "Emitted when the input is blurred",
|
9463
|
+
"arguments": [
|
9464
|
+
{
|
9465
|
+
"name": "event",
|
9466
|
+
"type": "Event"
|
9467
|
+
}
|
9468
|
+
]
|
8789
9469
|
}
|
8790
9470
|
],
|
8791
9471
|
"attributes": [
|
@@ -8951,13 +9631,11 @@
|
|
8951
9631
|
},
|
8952
9632
|
{
|
8953
9633
|
"name": "before-change",
|
8954
|
-
"default": "
|
8955
|
-
"description": "Callback function before changing
|
8956
|
-
"options": [
|
8957
|
-
"false"
|
8958
|
-
],
|
9634
|
+
"default": "`false`",
|
9635
|
+
"description": "Callback function before changing, return `false` to prevent change, support return Promise",
|
9636
|
+
"options": [],
|
8959
9637
|
"value": {
|
8960
|
-
"type": "(value: number | string) => boolean
|
9638
|
+
"type": "(value: number | string) => boolean | Promise\\<boolean\\>",
|
8961
9639
|
"kind": "expression"
|
8962
9640
|
}
|
8963
9641
|
},
|
@@ -8994,7 +9672,7 @@
|
|
8994
9672
|
{
|
8995
9673
|
"name": "long-press",
|
8996
9674
|
"default": "`true`",
|
8997
|
-
"description": "Whether to
|
9675
|
+
"description": "Whether to enable the long press gesture, when enabled you can long press the increase and decrease buttons",
|
8998
9676
|
"options": [],
|
8999
9677
|
"value": {
|
9000
9678
|
"type": "boolean",
|
@@ -9004,7 +9682,7 @@
|
|
9004
9682
|
{
|
9005
9683
|
"name": "allow-empty",
|
9006
9684
|
"default": "`false`",
|
9007
|
-
"description": "Whether to allow the input to be empty",
|
9685
|
+
"description": "Whether to allow the input value to be empty, set to `true` to allow an empty string to be passed in",
|
9008
9686
|
"options": [],
|
9009
9687
|
"value": {
|
9010
9688
|
"type": "boolean",
|
@@ -9019,7 +9697,13 @@
|
|
9019
9697
|
"events": [
|
9020
9698
|
{
|
9021
9699
|
"name": "click-step",
|
9022
|
-
"description": "Emitted when a step's title or icon is clicked"
|
9700
|
+
"description": "Emitted when a step's title or icon is clicked",
|
9701
|
+
"arguments": [
|
9702
|
+
{
|
9703
|
+
"name": "index",
|
9704
|
+
"type": "number"
|
9705
|
+
}
|
9706
|
+
]
|
9023
9707
|
}
|
9024
9708
|
],
|
9025
9709
|
"attributes": [
|
@@ -9134,11 +9818,22 @@
|
|
9134
9818
|
"events": [
|
9135
9819
|
{
|
9136
9820
|
"name": "change",
|
9137
|
-
"description": "Emitted when sticky status changed"
|
9821
|
+
"description": "Emitted when sticky status changed",
|
9822
|
+
"arguments": [
|
9823
|
+
{
|
9824
|
+
"name": "isFixed",
|
9825
|
+
"type": "boolean"
|
9826
|
+
}
|
9827
|
+
]
|
9138
9828
|
},
|
9139
9829
|
{
|
9140
9830
|
"name": "scroll",
|
9141
|
-
"description": "Emitted when scrolling"
|
9831
|
+
"description": "Emitted when scrolling",
|
9832
|
+
"arguments": [
|
9833
|
+
{
|
9834
|
+
"name": "{ scrollTop: number, isFixed: boolean }"
|
9835
|
+
}
|
9836
|
+
]
|
9142
9837
|
}
|
9143
9838
|
],
|
9144
9839
|
"attributes": [
|
@@ -9217,7 +9912,8 @@
|
|
9217
9912
|
"events": [
|
9218
9913
|
{
|
9219
9914
|
"name": "submit",
|
9220
|
-
"description": "Triggered when click submit button"
|
9915
|
+
"description": "Triggered when click submit button",
|
9916
|
+
"arguments": []
|
9221
9917
|
}
|
9222
9918
|
],
|
9223
9919
|
"attributes": [
|
@@ -9243,7 +9939,7 @@
|
|
9243
9939
|
},
|
9244
9940
|
{
|
9245
9941
|
"name": "label",
|
9246
|
-
"default": "`Total
|
9942
|
+
"default": "`Total: `",
|
9247
9943
|
"description": "Price left label",
|
9248
9944
|
"options": [],
|
9249
9945
|
"value": {
|
@@ -9312,29 +10008,176 @@
|
|
9312
10008
|
}
|
9313
10009
|
},
|
9314
10010
|
{
|
9315
|
-
"name": "tip-icon",
|
9316
|
-
"default": "-",
|
9317
|
-
"description": "Tip left icon",
|
10011
|
+
"name": "tip-icon",
|
10012
|
+
"default": "-",
|
10013
|
+
"description": "Tip left icon",
|
10014
|
+
"options": [],
|
10015
|
+
"value": {
|
10016
|
+
"type": "string",
|
10017
|
+
"kind": "expression"
|
10018
|
+
}
|
10019
|
+
},
|
10020
|
+
{
|
10021
|
+
"name": "currency",
|
10022
|
+
"default": "`¥`",
|
10023
|
+
"description": "Currency symbol",
|
10024
|
+
"options": [],
|
10025
|
+
"value": {
|
10026
|
+
"type": "string",
|
10027
|
+
"kind": "expression"
|
10028
|
+
}
|
10029
|
+
},
|
10030
|
+
{
|
10031
|
+
"name": "disabled",
|
10032
|
+
"default": "`false`",
|
10033
|
+
"description": "Whether to disable button",
|
10034
|
+
"options": [],
|
10035
|
+
"value": {
|
10036
|
+
"type": "boolean",
|
10037
|
+
"kind": "expression"
|
10038
|
+
}
|
10039
|
+
},
|
10040
|
+
{
|
10041
|
+
"name": "loading",
|
10042
|
+
"default": "`false`",
|
10043
|
+
"description": "Whether to show loading icon",
|
10044
|
+
"options": [],
|
10045
|
+
"value": {
|
10046
|
+
"type": "boolean",
|
10047
|
+
"kind": "expression"
|
10048
|
+
}
|
10049
|
+
},
|
10050
|
+
{
|
10051
|
+
"name": "safe-area-inset-bottom",
|
10052
|
+
"default": "`true`",
|
10053
|
+
"description": "Whether to enable bottom safe area adaptation",
|
10054
|
+
"options": [],
|
10055
|
+
"value": {
|
10056
|
+
"type": "boolean",
|
10057
|
+
"kind": "expression"
|
10058
|
+
}
|
10059
|
+
}
|
10060
|
+
]
|
10061
|
+
},
|
10062
|
+
{
|
10063
|
+
"name": "van-swipe",
|
10064
|
+
"slots": [
|
10065
|
+
{
|
10066
|
+
"name": "default",
|
10067
|
+
"description": "Content"
|
10068
|
+
},
|
10069
|
+
{
|
10070
|
+
"name": "indicator",
|
10071
|
+
"description": "Custom indicator"
|
10072
|
+
}
|
10073
|
+
],
|
10074
|
+
"events": [
|
10075
|
+
{
|
10076
|
+
"name": "change",
|
10077
|
+
"description": "Emitted when current swipe changed",
|
10078
|
+
"arguments": [
|
10079
|
+
{
|
10080
|
+
"name": "index",
|
10081
|
+
"type": "index of current swipe"
|
10082
|
+
}
|
10083
|
+
]
|
10084
|
+
}
|
10085
|
+
],
|
10086
|
+
"attributes": [
|
10087
|
+
{
|
10088
|
+
"name": "autoplay",
|
10089
|
+
"default": "-",
|
10090
|
+
"description": "Autoplay interval (ms)",
|
10091
|
+
"options": [],
|
10092
|
+
"value": {
|
10093
|
+
"type": "number | string",
|
10094
|
+
"kind": "expression"
|
10095
|
+
}
|
10096
|
+
},
|
10097
|
+
{
|
10098
|
+
"name": "duration",
|
10099
|
+
"default": "`500`",
|
10100
|
+
"description": "Animation duration (ms)",
|
10101
|
+
"options": [],
|
10102
|
+
"value": {
|
10103
|
+
"type": "number | string",
|
10104
|
+
"kind": "expression"
|
10105
|
+
}
|
10106
|
+
},
|
10107
|
+
{
|
10108
|
+
"name": "initial-swipe",
|
10109
|
+
"default": "`0`",
|
10110
|
+
"description": "Index of initial swipe, start from 0",
|
10111
|
+
"options": [],
|
10112
|
+
"value": {
|
10113
|
+
"type": "number | string",
|
10114
|
+
"kind": "expression"
|
10115
|
+
}
|
10116
|
+
},
|
10117
|
+
{
|
10118
|
+
"name": "width",
|
10119
|
+
"default": "`0`",
|
10120
|
+
"description": "Width of swipe item",
|
10121
|
+
"options": [],
|
10122
|
+
"value": {
|
10123
|
+
"type": "number | string",
|
10124
|
+
"kind": "expression"
|
10125
|
+
}
|
10126
|
+
},
|
10127
|
+
{
|
10128
|
+
"name": "height",
|
10129
|
+
"default": "`0`",
|
10130
|
+
"description": "Height of swipe item",
|
10131
|
+
"options": [],
|
10132
|
+
"value": {
|
10133
|
+
"type": "number | string",
|
10134
|
+
"kind": "expression"
|
10135
|
+
}
|
10136
|
+
},
|
10137
|
+
{
|
10138
|
+
"name": "loop",
|
10139
|
+
"default": "`true`",
|
10140
|
+
"description": "Whether to enable loop",
|
10141
|
+
"options": [],
|
10142
|
+
"value": {
|
10143
|
+
"type": "boolean",
|
10144
|
+
"kind": "expression"
|
10145
|
+
}
|
10146
|
+
},
|
10147
|
+
{
|
10148
|
+
"name": "show-indicators",
|
10149
|
+
"default": "`true`",
|
10150
|
+
"description": "Whether to show indicators",
|
10151
|
+
"options": [],
|
10152
|
+
"value": {
|
10153
|
+
"type": "boolean",
|
10154
|
+
"kind": "expression"
|
10155
|
+
}
|
10156
|
+
},
|
10157
|
+
{
|
10158
|
+
"name": "vertical",
|
10159
|
+
"default": "`false`",
|
10160
|
+
"description": "Whether to be vertical Scrolling",
|
9318
10161
|
"options": [],
|
9319
10162
|
"value": {
|
9320
|
-
"type": "
|
10163
|
+
"type": "boolean",
|
9321
10164
|
"kind": "expression"
|
9322
10165
|
}
|
9323
10166
|
},
|
9324
10167
|
{
|
9325
|
-
"name": "
|
9326
|
-
"default": "
|
9327
|
-
"description": "
|
10168
|
+
"name": "touchable",
|
10169
|
+
"default": "`true`",
|
10170
|
+
"description": "Whether to allow swipe by touch gesture",
|
9328
10171
|
"options": [],
|
9329
10172
|
"value": {
|
9330
|
-
"type": "
|
10173
|
+
"type": "boolean",
|
9331
10174
|
"kind": "expression"
|
9332
10175
|
}
|
9333
10176
|
},
|
9334
10177
|
{
|
9335
|
-
"name": "
|
10178
|
+
"name": "stop-propagation",
|
9336
10179
|
"default": "`false`",
|
9337
|
-
"description": "Whether to
|
10180
|
+
"description": "Whether to stop touchmove event propagation",
|
9338
10181
|
"options": [],
|
9339
10182
|
"value": {
|
9340
10183
|
"type": "boolean",
|
@@ -9342,9 +10185,9 @@
|
|
9342
10185
|
}
|
9343
10186
|
},
|
9344
10187
|
{
|
9345
|
-
"name": "
|
10188
|
+
"name": "lazy-render",
|
9346
10189
|
"default": "`false`",
|
9347
|
-
"description": "Whether to
|
10190
|
+
"description": "Whether to enable lazy render",
|
9348
10191
|
"options": [],
|
9349
10192
|
"value": {
|
9350
10193
|
"type": "boolean",
|
@@ -9352,17 +10195,34 @@
|
|
9352
10195
|
}
|
9353
10196
|
},
|
9354
10197
|
{
|
9355
|
-
"name": "
|
9356
|
-
"default": "`
|
9357
|
-
"description": "
|
10198
|
+
"name": "indicator-color",
|
10199
|
+
"default": "`#1989fa`",
|
10200
|
+
"description": "Indicator color",
|
9358
10201
|
"options": [],
|
9359
10202
|
"value": {
|
9360
|
-
"type": "
|
10203
|
+
"type": "string",
|
9361
10204
|
"kind": "expression"
|
9362
10205
|
}
|
9363
10206
|
}
|
9364
10207
|
]
|
9365
10208
|
},
|
10209
|
+
{
|
10210
|
+
"name": "van-swipe-item",
|
10211
|
+
"slots": [],
|
10212
|
+
"events": [
|
10213
|
+
{
|
10214
|
+
"name": "click",
|
10215
|
+
"description": "Emitted when component is clicked",
|
10216
|
+
"arguments": [
|
10217
|
+
{
|
10218
|
+
"name": "event",
|
10219
|
+
"type": "MouseEvent"
|
10220
|
+
}
|
10221
|
+
]
|
10222
|
+
}
|
10223
|
+
],
|
10224
|
+
"attributes": []
|
10225
|
+
},
|
9366
10226
|
{
|
9367
10227
|
"name": "van-swipe-cell",
|
9368
10228
|
"slots": [
|
@@ -9382,15 +10242,33 @@
|
|
9382
10242
|
"events": [
|
9383
10243
|
{
|
9384
10244
|
"name": "click",
|
9385
|
-
"description": "Emitted when SwipeCell is clicked"
|
10245
|
+
"description": "Emitted when SwipeCell is clicked",
|
10246
|
+
"arguments": [
|
10247
|
+
{
|
10248
|
+
"name": "position",
|
10249
|
+
"type": "'left' | 'right' | 'cell' | 'outside'"
|
10250
|
+
}
|
10251
|
+
]
|
9386
10252
|
},
|
9387
10253
|
{
|
9388
10254
|
"name": "open",
|
9389
|
-
"description": "Emitted when SwipeCell is opened"
|
10255
|
+
"description": "Emitted when SwipeCell is opened",
|
10256
|
+
"arguments": [
|
10257
|
+
{
|
10258
|
+
"name": "value",
|
10259
|
+
"type": "{ name: string | number, position: 'left' | 'right' }"
|
10260
|
+
}
|
10261
|
+
]
|
9390
10262
|
},
|
9391
10263
|
{
|
9392
10264
|
"name": "close",
|
9393
|
-
"description": "Emitted when SwipeCell is closed"
|
10265
|
+
"description": "Emitted when SwipeCell is closed",
|
10266
|
+
"arguments": [
|
10267
|
+
{
|
10268
|
+
"name": "value",
|
10269
|
+
"type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
|
10270
|
+
}
|
10271
|
+
]
|
9394
10272
|
}
|
9395
10273
|
],
|
9396
10274
|
"attributes": [
|
@@ -9456,6 +10334,119 @@
|
|
9456
10334
|
}
|
9457
10335
|
]
|
9458
10336
|
},
|
10337
|
+
{
|
10338
|
+
"name": "van-switch",
|
10339
|
+
"slots": [
|
10340
|
+
{
|
10341
|
+
"name": "node",
|
10342
|
+
"description": "Custom the content of node"
|
10343
|
+
}
|
10344
|
+
],
|
10345
|
+
"events": [
|
10346
|
+
{
|
10347
|
+
"name": "change",
|
10348
|
+
"description": "Emitted when check status changed",
|
10349
|
+
"arguments": [
|
10350
|
+
{
|
10351
|
+
"name": "value",
|
10352
|
+
"type": "any"
|
10353
|
+
}
|
10354
|
+
]
|
10355
|
+
},
|
10356
|
+
{
|
10357
|
+
"name": "click",
|
10358
|
+
"description": "Emitted when component is clicked",
|
10359
|
+
"arguments": [
|
10360
|
+
{
|
10361
|
+
"name": "event",
|
10362
|
+
"type": "MouseEvent"
|
10363
|
+
}
|
10364
|
+
]
|
10365
|
+
}
|
10366
|
+
],
|
10367
|
+
"attributes": [
|
10368
|
+
{
|
10369
|
+
"name": "v-model",
|
10370
|
+
"default": "`false`",
|
10371
|
+
"description": "Check status of Switch",
|
10372
|
+
"options": [],
|
10373
|
+
"value": {
|
10374
|
+
"type": "ActiveValue | InactiveValue",
|
10375
|
+
"kind": "expression"
|
10376
|
+
}
|
10377
|
+
},
|
10378
|
+
{
|
10379
|
+
"name": "loading",
|
10380
|
+
"default": "`false`",
|
10381
|
+
"description": "Whether to show loading icon",
|
10382
|
+
"options": [],
|
10383
|
+
"value": {
|
10384
|
+
"type": "boolean",
|
10385
|
+
"kind": "expression"
|
10386
|
+
}
|
10387
|
+
},
|
10388
|
+
{
|
10389
|
+
"name": "disabled",
|
10390
|
+
"default": "`false`",
|
10391
|
+
"description": "Whether to disable switch",
|
10392
|
+
"options": [],
|
10393
|
+
"value": {
|
10394
|
+
"type": "boolean",
|
10395
|
+
"kind": "expression"
|
10396
|
+
}
|
10397
|
+
},
|
10398
|
+
{
|
10399
|
+
"name": "size",
|
10400
|
+
"default": "`26px`",
|
10401
|
+
"description": "Size of switch button",
|
10402
|
+
"options": [],
|
10403
|
+
"value": {
|
10404
|
+
"type": "number | string",
|
10405
|
+
"kind": "expression"
|
10406
|
+
}
|
10407
|
+
},
|
10408
|
+
{
|
10409
|
+
"name": "active-color",
|
10410
|
+
"default": "`#1989fa`",
|
10411
|
+
"description": "Background color when active",
|
10412
|
+
"options": [],
|
10413
|
+
"value": {
|
10414
|
+
"type": "string",
|
10415
|
+
"kind": "expression"
|
10416
|
+
}
|
10417
|
+
},
|
10418
|
+
{
|
10419
|
+
"name": "inactive-color",
|
10420
|
+
"default": "`rgba(120, 120, 128, 0.16)`",
|
10421
|
+
"description": "Background color when inactive",
|
10422
|
+
"options": [],
|
10423
|
+
"value": {
|
10424
|
+
"type": "string",
|
10425
|
+
"kind": "expression"
|
10426
|
+
}
|
10427
|
+
},
|
10428
|
+
{
|
10429
|
+
"name": "active-value",
|
10430
|
+
"default": "`true`",
|
10431
|
+
"description": "Value when active",
|
10432
|
+
"options": [],
|
10433
|
+
"value": {
|
10434
|
+
"type": "any",
|
10435
|
+
"kind": "expression"
|
10436
|
+
}
|
10437
|
+
},
|
10438
|
+
{
|
10439
|
+
"name": "inactive-value",
|
10440
|
+
"default": "`false`",
|
10441
|
+
"description": "Value when inactive",
|
10442
|
+
"options": [],
|
10443
|
+
"value": {
|
10444
|
+
"type": "any",
|
10445
|
+
"kind": "expression"
|
10446
|
+
}
|
10447
|
+
}
|
10448
|
+
]
|
10449
|
+
},
|
9459
10450
|
{
|
9460
10451
|
"name": "van-tabs",
|
9461
10452
|
"slots": [
|
@@ -9475,19 +10466,49 @@
|
|
9475
10466
|
"events": [
|
9476
10467
|
{
|
9477
10468
|
"name": "click-tab",
|
9478
|
-
"description": "Emitted when a tab is clicked"
|
10469
|
+
"description": "Emitted when a tab is clicked",
|
10470
|
+
"arguments": [
|
10471
|
+
{
|
10472
|
+
"name": "{ name: string | number, title: string, event: MouseEvent, disabled: boolean }"
|
10473
|
+
}
|
10474
|
+
]
|
9479
10475
|
},
|
9480
10476
|
{
|
9481
10477
|
"name": "change",
|
9482
|
-
"description": "Emitted when active tab changed"
|
10478
|
+
"description": "Emitted when active tab changed",
|
10479
|
+
"arguments": [
|
10480
|
+
{
|
10481
|
+
"name": "name",
|
10482
|
+
"type": "string | number"
|
10483
|
+
},
|
10484
|
+
{
|
10485
|
+
"name": "title",
|
10486
|
+
"type": "string"
|
10487
|
+
}
|
10488
|
+
]
|
9483
10489
|
},
|
9484
10490
|
{
|
9485
10491
|
"name": "rendered",
|
9486
|
-
"description": "Emitted when content first rendered in lazy-render mode"
|
10492
|
+
"description": "Emitted when content first rendered in lazy-render mode",
|
10493
|
+
"arguments": [
|
10494
|
+
{
|
10495
|
+
"name": "name",
|
10496
|
+
"type": "string | number"
|
10497
|
+
},
|
10498
|
+
{
|
10499
|
+
"name": "title",
|
10500
|
+
"type": "string"
|
10501
|
+
}
|
10502
|
+
]
|
9487
10503
|
},
|
9488
10504
|
{
|
9489
10505
|
"name": "scroll",
|
9490
|
-
"description": "Emitted when tab scrolling in sticky mode"
|
10506
|
+
"description": "Emitted when tab scrolling in sticky mode",
|
10507
|
+
"arguments": [
|
10508
|
+
{
|
10509
|
+
"name": "{ scrollTop: number, isFixed: boolean }"
|
10510
|
+
}
|
10511
|
+
]
|
9491
10512
|
}
|
9492
10513
|
],
|
9493
10514
|
"attributes": [
|
@@ -9682,177 +10703,45 @@
|
|
9682
10703
|
}
|
9683
10704
|
},
|
9684
10705
|
{
|
9685
|
-
"name": "before-change",
|
9686
|
-
"default": "
|
9687
|
-
"description": "Callback function before changing tabs
|
9688
|
-
"options": [
|
9689
|
-
"-"
|
9690
|
-
],
|
9691
|
-
"value": {
|
9692
|
-
"type": "(name: number | string) => boolean \\",
|
9693
|
-
"kind": "expression"
|
9694
|
-
}
|
9695
|
-
}
|
9696
|
-
]
|
9697
|
-
},
|
9698
|
-
{
|
9699
|
-
"name": "van-tab",
|
9700
|
-
"slots": [
|
9701
|
-
{
|
9702
|
-
"name": "default",
|
9703
|
-
"description": "Content of tab"
|
9704
|
-
},
|
9705
|
-
{
|
9706
|
-
"name": "title",
|
9707
|
-
"description": "Custom tab title"
|
9708
|
-
}
|
9709
|
-
],
|
9710
|
-
"events": [],
|
9711
|
-
"attributes": [
|
9712
|
-
{
|
9713
|
-
"name": "title",
|
9714
|
-
"default": "-",
|
9715
|
-
"description": "Title",
|
9716
|
-
"options": [],
|
9717
|
-
"value": {
|
9718
|
-
"type": "string",
|
9719
|
-
"kind": "expression"
|
9720
|
-
}
|
9721
|
-
},
|
9722
|
-
{
|
9723
|
-
"name": "disabled",
|
9724
|
-
"default": "`false`",
|
9725
|
-
"description": "Whether to disable tab",
|
9726
|
-
"options": [],
|
9727
|
-
"value": {
|
9728
|
-
"type": "boolean",
|
9729
|
-
"kind": "expression"
|
9730
|
-
}
|
9731
|
-
},
|
9732
|
-
{
|
9733
|
-
"name": "dot",
|
9734
|
-
"default": "`false`",
|
9735
|
-
"description": "Whether to show red dot on the title",
|
9736
|
-
"options": [],
|
9737
|
-
"value": {
|
9738
|
-
"type": "boolean",
|
9739
|
-
"kind": "expression"
|
9740
|
-
}
|
9741
|
-
},
|
9742
|
-
{
|
9743
|
-
"name": "badge",
|
9744
|
-
"default": "-",
|
9745
|
-
"description": "Content of the badge on the title",
|
9746
|
-
"options": [],
|
9747
|
-
"value": {
|
9748
|
-
"type": "number | string",
|
9749
|
-
"kind": "expression"
|
9750
|
-
}
|
9751
|
-
},
|
9752
|
-
{
|
9753
|
-
"name": "name",
|
9754
|
-
"default": "Index of tab",
|
9755
|
-
"description": "Identifier",
|
9756
|
-
"options": [],
|
9757
|
-
"value": {
|
9758
|
-
"type": "number | string",
|
9759
|
-
"kind": "expression"
|
9760
|
-
}
|
9761
|
-
},
|
9762
|
-
{
|
9763
|
-
"name": "url",
|
9764
|
-
"default": "-",
|
9765
|
-
"description": "Link",
|
9766
|
-
"options": [],
|
9767
|
-
"value": {
|
9768
|
-
"type": "string",
|
9769
|
-
"kind": "expression"
|
9770
|
-
}
|
9771
|
-
},
|
9772
|
-
{
|
9773
|
-
"name": "to",
|
9774
|
-
"default": "-",
|
9775
|
-
"description": "Target route of the link, same as to of vue-router",
|
9776
|
-
"options": [],
|
9777
|
-
"value": {
|
9778
|
-
"type": "string | object",
|
9779
|
-
"kind": "expression"
|
9780
|
-
}
|
9781
|
-
},
|
9782
|
-
{
|
9783
|
-
"name": "replace",
|
9784
|
-
"default": "`false`",
|
9785
|
-
"description": "If true, the navigation will not leave a history record",
|
9786
|
-
"options": [],
|
9787
|
-
"value": {
|
9788
|
-
"type": "boolean",
|
9789
|
-
"kind": "expression"
|
9790
|
-
}
|
9791
|
-
},
|
9792
|
-
{
|
9793
|
-
"name": "title-style",
|
9794
|
-
"default": "object_",
|
9795
|
-
"description": "Custom title style",
|
9796
|
-
"options": [
|
9797
|
-
"-"
|
9798
|
-
],
|
9799
|
-
"value": {
|
9800
|
-
"type": "string | Array \\",
|
9801
|
-
"kind": "expression"
|
9802
|
-
}
|
9803
|
-
},
|
9804
|
-
{
|
9805
|
-
"name": "title-class",
|
9806
|
-
"default": "object_",
|
9807
|
-
"description": "Custom title class name",
|
9808
|
-
"options": [
|
9809
|
-
"-"
|
9810
|
-
],
|
9811
|
-
"value": {
|
9812
|
-
"type": "string | Array \\",
|
9813
|
-
"kind": "expression"
|
9814
|
-
}
|
9815
|
-
},
|
9816
|
-
{
|
9817
|
-
"name": "show-zero-badge",
|
9818
|
-
"default": "`true`",
|
9819
|
-
"description": "Whether to show badge when the value is zero",
|
10706
|
+
"name": "before-change",
|
10707
|
+
"default": "-",
|
10708
|
+
"description": "Callback function before changing tabs, return `false` to prevent change, support return Promise",
|
9820
10709
|
"options": [],
|
9821
10710
|
"value": {
|
9822
|
-
"type": "boolean",
|
10711
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
9823
10712
|
"kind": "expression"
|
9824
10713
|
}
|
9825
10714
|
}
|
9826
10715
|
]
|
9827
10716
|
},
|
9828
10717
|
{
|
9829
|
-
"name": "van-
|
9830
|
-
"slots": [
|
9831
|
-
"events": [
|
10718
|
+
"name": "van-tab",
|
10719
|
+
"slots": [
|
9832
10720
|
{
|
9833
|
-
"name": "
|
9834
|
-
"description": "
|
10721
|
+
"name": "default",
|
10722
|
+
"description": "Content of tab"
|
9835
10723
|
},
|
9836
10724
|
{
|
9837
|
-
"name": "
|
9838
|
-
"description": "
|
10725
|
+
"name": "title",
|
10726
|
+
"description": "Custom tab title"
|
9839
10727
|
}
|
9840
10728
|
],
|
10729
|
+
"events": [],
|
9841
10730
|
"attributes": [
|
9842
10731
|
{
|
9843
|
-
"name": "
|
9844
|
-
"default": "
|
9845
|
-
"description": "
|
10732
|
+
"name": "title",
|
10733
|
+
"default": "-",
|
10734
|
+
"description": "Title",
|
9846
10735
|
"options": [],
|
9847
10736
|
"value": {
|
9848
|
-
"type": "
|
10737
|
+
"type": "string",
|
9849
10738
|
"kind": "expression"
|
9850
10739
|
}
|
9851
10740
|
},
|
9852
10741
|
{
|
9853
|
-
"name": "
|
10742
|
+
"name": "disabled",
|
9854
10743
|
"default": "`false`",
|
9855
|
-
"description": "Whether to
|
10744
|
+
"description": "Whether to disable tab",
|
9856
10745
|
"options": [],
|
9857
10746
|
"value": {
|
9858
10747
|
"type": "boolean",
|
@@ -9860,9 +10749,9 @@
|
|
9860
10749
|
}
|
9861
10750
|
},
|
9862
10751
|
{
|
9863
|
-
"name": "
|
10752
|
+
"name": "dot",
|
9864
10753
|
"default": "`false`",
|
9865
|
-
"description": "Whether to
|
10754
|
+
"description": "Whether to show red dot on the title",
|
9866
10755
|
"options": [],
|
9867
10756
|
"value": {
|
9868
10757
|
"type": "boolean",
|
@@ -9870,9 +10759,9 @@
|
|
9870
10759
|
}
|
9871
10760
|
},
|
9872
10761
|
{
|
9873
|
-
"name": "
|
9874
|
-
"default": "
|
9875
|
-
"description": "
|
10762
|
+
"name": "badge",
|
10763
|
+
"default": "-",
|
10764
|
+
"description": "Content of the badge on the title",
|
9876
10765
|
"options": [],
|
9877
10766
|
"value": {
|
9878
10767
|
"type": "number | string",
|
@@ -9880,19 +10769,19 @@
|
|
9880
10769
|
}
|
9881
10770
|
},
|
9882
10771
|
{
|
9883
|
-
"name": "
|
9884
|
-
"default": "
|
9885
|
-
"description": "
|
10772
|
+
"name": "name",
|
10773
|
+
"default": "Index of tab",
|
10774
|
+
"description": "Identifier",
|
9886
10775
|
"options": [],
|
9887
10776
|
"value": {
|
9888
|
-
"type": "string",
|
10777
|
+
"type": "number | string",
|
9889
10778
|
"kind": "expression"
|
9890
10779
|
}
|
9891
10780
|
},
|
9892
10781
|
{
|
9893
|
-
"name": "
|
9894
|
-
"default": "
|
9895
|
-
"description": "
|
10782
|
+
"name": "url",
|
10783
|
+
"default": "-",
|
10784
|
+
"description": "Link",
|
9896
10785
|
"options": [],
|
9897
10786
|
"value": {
|
9898
10787
|
"type": "string",
|
@@ -9900,22 +10789,52 @@
|
|
9900
10789
|
}
|
9901
10790
|
},
|
9902
10791
|
{
|
9903
|
-
"name": "
|
9904
|
-
"default": "
|
9905
|
-
"description": "
|
10792
|
+
"name": "to",
|
10793
|
+
"default": "-",
|
10794
|
+
"description": "Target route of the link, same as to of vue-router",
|
9906
10795
|
"options": [],
|
9907
10796
|
"value": {
|
9908
|
-
"type": "
|
10797
|
+
"type": "string | object",
|
9909
10798
|
"kind": "expression"
|
9910
10799
|
}
|
9911
10800
|
},
|
9912
10801
|
{
|
9913
|
-
"name": "
|
10802
|
+
"name": "replace",
|
9914
10803
|
"default": "`false`",
|
9915
|
-
"description": "
|
10804
|
+
"description": "If true, the navigation will not leave a history record",
|
9916
10805
|
"options": [],
|
9917
10806
|
"value": {
|
9918
|
-
"type": "
|
10807
|
+
"type": "boolean",
|
10808
|
+
"kind": "expression"
|
10809
|
+
}
|
10810
|
+
},
|
10811
|
+
{
|
10812
|
+
"name": "title-style",
|
10813
|
+
"default": "-",
|
10814
|
+
"description": "Custom title style",
|
10815
|
+
"options": [],
|
10816
|
+
"value": {
|
10817
|
+
"type": "string | Array | object",
|
10818
|
+
"kind": "expression"
|
10819
|
+
}
|
10820
|
+
},
|
10821
|
+
{
|
10822
|
+
"name": "title-class",
|
10823
|
+
"default": "-",
|
10824
|
+
"description": "Custom title class name",
|
10825
|
+
"options": [],
|
10826
|
+
"value": {
|
10827
|
+
"type": "string | Array | object",
|
10828
|
+
"kind": "expression"
|
10829
|
+
}
|
10830
|
+
},
|
10831
|
+
{
|
10832
|
+
"name": "show-zero-badge",
|
10833
|
+
"default": "`true`",
|
10834
|
+
"description": "Whether to show badge when the value is zero",
|
10835
|
+
"options": [],
|
10836
|
+
"value": {
|
10837
|
+
"type": "boolean",
|
9919
10838
|
"kind": "expression"
|
9920
10839
|
}
|
9921
10840
|
}
|
@@ -9927,7 +10846,13 @@
|
|
9927
10846
|
"events": [
|
9928
10847
|
{
|
9929
10848
|
"name": "change",
|
9930
|
-
"description": "Emitted when changing active tab"
|
10849
|
+
"description": "Emitted when changing active tab",
|
10850
|
+
"arguments": [
|
10851
|
+
{
|
10852
|
+
"name": "active",
|
10853
|
+
"type": "number | string"
|
10854
|
+
}
|
10855
|
+
]
|
9931
10856
|
}
|
9932
10857
|
],
|
9933
10858
|
"attributes": [
|
@@ -10023,13 +10948,11 @@
|
|
10023
10948
|
},
|
10024
10949
|
{
|
10025
10950
|
"name": "before-change",
|
10026
|
-
"default": "
|
10027
|
-
"description": "Callback function before changing tab
|
10028
|
-
"options": [
|
10029
|
-
"-"
|
10030
|
-
],
|
10951
|
+
"default": "-",
|
10952
|
+
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
10953
|
+
"options": [],
|
10031
10954
|
"value": {
|
10032
|
-
"type": "(name: number | string) => boolean
|
10955
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
10033
10956
|
"kind": "expression"
|
10034
10957
|
}
|
10035
10958
|
}
|
@@ -10098,7 +11021,7 @@
|
|
10098
11021
|
{
|
10099
11022
|
"name": "badge-props",
|
10100
11023
|
"default": "-",
|
10101
|
-
"description": "Props of Badge
|
11024
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
10102
11025
|
"options": [],
|
10103
11026
|
"value": {
|
10104
11027
|
"type": "BadgeProps",
|
@@ -10137,158 +11060,6 @@
|
|
10137
11060
|
}
|
10138
11061
|
]
|
10139
11062
|
},
|
10140
|
-
{
|
10141
|
-
"name": "van-swipe",
|
10142
|
-
"slots": [
|
10143
|
-
{
|
10144
|
-
"name": "default",
|
10145
|
-
"description": "Content"
|
10146
|
-
},
|
10147
|
-
{
|
10148
|
-
"name": "indicator",
|
10149
|
-
"description": "Custom indicator"
|
10150
|
-
}
|
10151
|
-
],
|
10152
|
-
"events": [
|
10153
|
-
{
|
10154
|
-
"name": "change",
|
10155
|
-
"description": "Emitted when current swipe changed"
|
10156
|
-
}
|
10157
|
-
],
|
10158
|
-
"attributes": [
|
10159
|
-
{
|
10160
|
-
"name": "autoplay",
|
10161
|
-
"default": "-",
|
10162
|
-
"description": "Autoplay interval (ms)",
|
10163
|
-
"options": [],
|
10164
|
-
"value": {
|
10165
|
-
"type": "number | string",
|
10166
|
-
"kind": "expression"
|
10167
|
-
}
|
10168
|
-
},
|
10169
|
-
{
|
10170
|
-
"name": "duration",
|
10171
|
-
"default": "`500`",
|
10172
|
-
"description": "Animation duration (ms)",
|
10173
|
-
"options": [],
|
10174
|
-
"value": {
|
10175
|
-
"type": "number | string",
|
10176
|
-
"kind": "expression"
|
10177
|
-
}
|
10178
|
-
},
|
10179
|
-
{
|
10180
|
-
"name": "initial-swipe",
|
10181
|
-
"default": "`0`",
|
10182
|
-
"description": "Index of initial swipe, start from 0",
|
10183
|
-
"options": [],
|
10184
|
-
"value": {
|
10185
|
-
"type": "number | string",
|
10186
|
-
"kind": "expression"
|
10187
|
-
}
|
10188
|
-
},
|
10189
|
-
{
|
10190
|
-
"name": "width",
|
10191
|
-
"default": "`0`",
|
10192
|
-
"description": "Width of swipe item",
|
10193
|
-
"options": [],
|
10194
|
-
"value": {
|
10195
|
-
"type": "number | string",
|
10196
|
-
"kind": "expression"
|
10197
|
-
}
|
10198
|
-
},
|
10199
|
-
{
|
10200
|
-
"name": "height",
|
10201
|
-
"default": "`0`",
|
10202
|
-
"description": "Height of swipe item",
|
10203
|
-
"options": [],
|
10204
|
-
"value": {
|
10205
|
-
"type": "number | string",
|
10206
|
-
"kind": "expression"
|
10207
|
-
}
|
10208
|
-
},
|
10209
|
-
{
|
10210
|
-
"name": "loop",
|
10211
|
-
"default": "`true`",
|
10212
|
-
"description": "Whether to enable loop",
|
10213
|
-
"options": [],
|
10214
|
-
"value": {
|
10215
|
-
"type": "boolean",
|
10216
|
-
"kind": "expression"
|
10217
|
-
}
|
10218
|
-
},
|
10219
|
-
{
|
10220
|
-
"name": "show-indicators",
|
10221
|
-
"default": "`true`",
|
10222
|
-
"description": "Whether to show indicators",
|
10223
|
-
"options": [],
|
10224
|
-
"value": {
|
10225
|
-
"type": "boolean",
|
10226
|
-
"kind": "expression"
|
10227
|
-
}
|
10228
|
-
},
|
10229
|
-
{
|
10230
|
-
"name": "vertical",
|
10231
|
-
"default": "`false`",
|
10232
|
-
"description": "Whether to be vertical Scrolling",
|
10233
|
-
"options": [],
|
10234
|
-
"value": {
|
10235
|
-
"type": "boolean",
|
10236
|
-
"kind": "expression"
|
10237
|
-
}
|
10238
|
-
},
|
10239
|
-
{
|
10240
|
-
"name": "touchable",
|
10241
|
-
"default": "`true`",
|
10242
|
-
"description": "Whether to allow swipe by touch gesture",
|
10243
|
-
"options": [],
|
10244
|
-
"value": {
|
10245
|
-
"type": "boolean",
|
10246
|
-
"kind": "expression"
|
10247
|
-
}
|
10248
|
-
},
|
10249
|
-
{
|
10250
|
-
"name": "stop-propagation",
|
10251
|
-
"default": "`false`",
|
10252
|
-
"description": "Whether to stop touchmove event propagation",
|
10253
|
-
"options": [],
|
10254
|
-
"value": {
|
10255
|
-
"type": "boolean",
|
10256
|
-
"kind": "expression"
|
10257
|
-
}
|
10258
|
-
},
|
10259
|
-
{
|
10260
|
-
"name": "lazy-render",
|
10261
|
-
"default": "`false`",
|
10262
|
-
"description": "Whether to enable lazy render",
|
10263
|
-
"options": [],
|
10264
|
-
"value": {
|
10265
|
-
"type": "boolean",
|
10266
|
-
"kind": "expression"
|
10267
|
-
}
|
10268
|
-
},
|
10269
|
-
{
|
10270
|
-
"name": "indicator-color",
|
10271
|
-
"default": "`#1989fa`",
|
10272
|
-
"description": "Indicator color",
|
10273
|
-
"options": [],
|
10274
|
-
"value": {
|
10275
|
-
"type": "string",
|
10276
|
-
"kind": "expression"
|
10277
|
-
}
|
10278
|
-
}
|
10279
|
-
]
|
10280
|
-
},
|
10281
|
-
{
|
10282
|
-
"name": "van-swipe-item",
|
10283
|
-
"slots": [],
|
10284
|
-
"events": [
|
10285
|
-
{
|
10286
|
-
"name": "click",
|
10287
|
-
"description": "Emitted when component is clicked"
|
10288
|
-
}
|
10289
|
-
],
|
10290
|
-
"attributes": []
|
10291
|
-
},
|
10292
11063
|
{
|
10293
11064
|
"name": "van-tag",
|
10294
11065
|
"slots": [
|
@@ -10300,11 +11071,23 @@
|
|
10300
11071
|
"events": [
|
10301
11072
|
{
|
10302
11073
|
"name": "click",
|
10303
|
-
"description": "Emitted when component is clicked"
|
11074
|
+
"description": "Emitted when component is clicked",
|
11075
|
+
"arguments": [
|
11076
|
+
{
|
11077
|
+
"name": "event",
|
11078
|
+
"type": "MouseEvent"
|
11079
|
+
}
|
11080
|
+
]
|
10304
11081
|
},
|
10305
11082
|
{
|
10306
11083
|
"name": "close",
|
10307
|
-
"description": "Emitted when close icon is clicked"
|
11084
|
+
"description": "Emitted when close icon is clicked",
|
11085
|
+
"arguments": [
|
11086
|
+
{
|
11087
|
+
"name": "event",
|
11088
|
+
"type": "MouseEvent"
|
11089
|
+
}
|
11090
|
+
]
|
10308
11091
|
}
|
10309
11092
|
],
|
10310
11093
|
"attributes": [
|
@@ -10435,15 +11218,30 @@
|
|
10435
11218
|
"events": [
|
10436
11219
|
{
|
10437
11220
|
"name": "confirm",
|
10438
|
-
"description": "Emitted when the confirm button is clicked"
|
11221
|
+
"description": "Emitted when the confirm button is clicked",
|
11222
|
+
"arguments": [
|
11223
|
+
{
|
11224
|
+
"name": "{ selectedValues, selectedOptions }"
|
11225
|
+
}
|
11226
|
+
]
|
10439
11227
|
},
|
10440
11228
|
{
|
10441
11229
|
"name": "cancel",
|
10442
|
-
"description": "Emitted when the cancel button is clicked"
|
11230
|
+
"description": "Emitted when the cancel button is clicked",
|
11231
|
+
"arguments": [
|
11232
|
+
{
|
11233
|
+
"name": "{ selectedValues, selectedOptions }"
|
11234
|
+
}
|
11235
|
+
]
|
10443
11236
|
},
|
10444
11237
|
{
|
10445
11238
|
"name": "change",
|
10446
|
-
"description": "Emitted when current option is changed"
|
11239
|
+
"description": "Emitted when current option is changed",
|
11240
|
+
"arguments": [
|
11241
|
+
{
|
11242
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
11243
|
+
}
|
11244
|
+
]
|
10447
11245
|
}
|
10448
11246
|
],
|
10449
11247
|
"attributes": [
|
@@ -10630,7 +11428,7 @@
|
|
10630
11428
|
{
|
10631
11429
|
"name": "swipe-duration",
|
10632
11430
|
"default": "`1000`",
|
10633
|
-
"description": "Duration of the momentum animation
|
11431
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
10634
11432
|
"options": [],
|
10635
11433
|
"value": {
|
10636
11434
|
"type": "number | string",
|
@@ -10650,11 +11448,23 @@
|
|
10650
11448
|
"events": [
|
10651
11449
|
{
|
10652
11450
|
"name": "click-nav",
|
10653
|
-
"description": "Emitted when parent node is selected"
|
11451
|
+
"description": "Emitted when parent node is selected",
|
11452
|
+
"arguments": [
|
11453
|
+
{
|
11454
|
+
"name": "index",
|
11455
|
+
"type": "number"
|
11456
|
+
}
|
11457
|
+
]
|
10654
11458
|
},
|
10655
11459
|
{
|
10656
11460
|
"name": "click-item",
|
10657
|
-
"description": "Emitted when item is selected"
|
11461
|
+
"description": "Emitted when item is selected",
|
11462
|
+
"arguments": [
|
11463
|
+
{
|
11464
|
+
"name": "item",
|
11465
|
+
"type": "TreeSelectChild"
|
11466
|
+
}
|
11467
|
+
]
|
10658
11468
|
}
|
10659
11469
|
],
|
10660
11470
|
"attributes": [
|
@@ -10690,13 +11500,11 @@
|
|
10690
11500
|
},
|
10691
11501
|
{
|
10692
11502
|
"name": "active-id",
|
10693
|
-
"default": "
|
11503
|
+
"default": "`0`",
|
10694
11504
|
"description": "Id of selected item",
|
10695
|
-
"options": [
|
10696
|
-
"string)[]_"
|
10697
|
-
],
|
11505
|
+
"options": [],
|
10698
11506
|
"value": {
|
10699
|
-
"type": "number | string
|
11507
|
+
"type": "number | string |<br>(number | string)[]",
|
10700
11508
|
"kind": "expression"
|
10701
11509
|
}
|
10702
11510
|
},
|
@@ -10727,7 +11535,11 @@
|
|
10727
11535
|
"slots": [
|
10728
11536
|
{
|
10729
11537
|
"name": "default",
|
10730
|
-
"description": "Custom
|
11538
|
+
"description": "Custom upload area"
|
11539
|
+
},
|
11540
|
+
{
|
11541
|
+
"name": "preview-delete",
|
11542
|
+
"description": "Custom delete icon"
|
10731
11543
|
},
|
10732
11544
|
{
|
10733
11545
|
"name": "preview-cover",
|
@@ -10737,23 +11549,57 @@
|
|
10737
11549
|
"events": [
|
10738
11550
|
{
|
10739
11551
|
"name": "oversize",
|
10740
|
-
"description": "Emitted when file size over limit"
|
11552
|
+
"description": "Emitted when file size over limit",
|
11553
|
+
"arguments": [
|
11554
|
+
{
|
11555
|
+
"name": "Same as after",
|
11556
|
+
"type": "read"
|
11557
|
+
},
|
11558
|
+
{
|
11559
|
+
"name": "d"
|
11560
|
+
}
|
11561
|
+
]
|
10741
11562
|
},
|
10742
11563
|
{
|
10743
11564
|
"name": "click-upload",
|
10744
|
-
"description": "Emitted when click upload area"
|
11565
|
+
"description": "Emitted when click upload area",
|
11566
|
+
"arguments": [
|
11567
|
+
{
|
11568
|
+
"name": "event",
|
11569
|
+
"type": "MouseEvent"
|
11570
|
+
}
|
11571
|
+
]
|
10745
11572
|
},
|
10746
11573
|
{
|
10747
11574
|
"name": "click-preview",
|
10748
|
-
"description": "Emitted when preview image is clicked"
|
11575
|
+
"description": "Emitted when preview image is clicked",
|
11576
|
+
"arguments": [
|
11577
|
+
{
|
11578
|
+
"name": "Same as after",
|
11579
|
+
"type": "read"
|
11580
|
+
},
|
11581
|
+
{
|
11582
|
+
"name": "d"
|
11583
|
+
}
|
11584
|
+
]
|
10749
11585
|
},
|
10750
11586
|
{
|
10751
11587
|
"name": "close-preview",
|
10752
|
-
"description": "Emitted when the full screen image preview is closed"
|
11588
|
+
"description": "Emitted when the full screen image preview is closed",
|
11589
|
+
"arguments": []
|
10753
11590
|
},
|
10754
11591
|
{
|
10755
11592
|
"name": "delete",
|
10756
|
-
"description": "Emitted when preview file is deleted"
|
11593
|
+
"description": "Emitted when preview file is deleted",
|
11594
|
+
"arguments": [
|
11595
|
+
{
|
11596
|
+
"name": "Same as after",
|
11597
|
+
"type": "read"
|
11598
|
+
},
|
11599
|
+
{
|
11600
|
+
"name": "d"
|
11601
|
+
}
|
11602
|
+
]
|
10757
11603
|
}
|
10758
11604
|
],
|
10759
11605
|
"attributes": [
|
@@ -10793,7 +11639,7 @@
|
|
10793
11639
|
"description": "Size of preview image",
|
10794
11640
|
"options": [],
|
10795
11641
|
"value": {
|
10796
|
-
"type": "number | string",
|
11642
|
+
"type": "number | string | Array",
|
10797
11643
|
"kind": "expression"
|
10798
11644
|
}
|
10799
11645
|
},
|
@@ -10820,7 +11666,7 @@
|
|
10820
11666
|
{
|
10821
11667
|
"name": "preview-options",
|
10822
11668
|
"default": "-",
|
10823
|
-
"description": "Options of full screen image preview
|
11669
|
+
"description": "Options of full screen image preview, see [ImagePreview](#/en-US/image-preview)",
|
10824
11670
|
"options": [],
|
10825
11671
|
"value": {
|
10826
11672
|
"type": "object",
|
@@ -10880,7 +11726,7 @@
|
|
10880
11726
|
{
|
10881
11727
|
"name": "lazy-load",
|
10882
11728
|
"default": "`false`",
|
10883
|
-
"description": "Whether to enable lazy load
|
11729
|
+
"description": "Whether to enable lazy load, should register [Lazyload](#/en-US/lazyload) component",
|
10884
11730
|
"options": [],
|
10885
11731
|
"value": {
|
10886
11732
|
"type": "boolean",
|
@@ -10890,7 +11736,7 @@
|
|
10890
11736
|
{
|
10891
11737
|
"name": "capture",
|
10892
11738
|
"default": "-",
|
10893
|
-
"description": "Capture
|
11739
|
+
"description": "Capture, can be set to `camera`",
|
10894
11740
|
"options": [],
|
10895
11741
|
"value": {
|
10896
11742
|
"type": "string",
|
@@ -10929,13 +11775,11 @@
|
|
10929
11775
|
},
|
10930
11776
|
{
|
10931
11777
|
"name": "max-size",
|
10932
|
-
"default": "
|
11778
|
+
"default": "`Infinity`",
|
10933
11779
|
"description": "Max size of file",
|
10934
|
-
"options": [
|
10935
|
-
"Infinity"
|
10936
|
-
],
|
11780
|
+
"options": [],
|
10937
11781
|
"value": {
|
10938
|
-
"type": "number | string
|
11782
|
+
"type": "number | string | (file: File) => boolean",
|
10939
11783
|
"kind": "expression"
|
10940
11784
|
}
|
10941
11785
|
},
|