vant 3.4.8 → 4.0.0-alpha.2
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/changelog.generated.md +154 -39
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.less +4 -6
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-button/index.less +9 -11
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.less +10 -12
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.less +23 -24
- package/es/address-edit/AddressEdit.d.ts +6 -23
- package/es/address-edit/AddressEdit.js +32 -57
- package/es/address-edit/AddressEditDetail.d.ts +2 -2
- package/es/address-edit/AddressEditDetail.js +5 -14
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +6 -18
- package/es/address-edit/index.less +8 -15
- package/es/address-edit/types.d.ts +2 -5
- package/es/address-list/AddressList.d.ts +4 -4
- package/es/address-list/AddressList.js +5 -5
- package/es/address-list/AddressListItem.js +3 -3
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +4 -4
- package/es/address-list/index.less +20 -22
- package/es/area/Area.d.ts +13 -25
- package/es/area/Area.js +43 -208
- package/es/area/index.d.ts +11 -19
- package/es/area/types.d.ts +2 -17
- package/es/area/utils.d.ts +6 -0
- package/es/area/utils.js +85 -0
- package/es/badge/index.css +1 -1
- package/es/badge/index.less +15 -17
- package/es/button/index.css +1 -1
- package/es/button/index.less +55 -52
- package/es/calendar/Calendar.d.ts +6 -6
- package/es/calendar/Calendar.js +5 -5
- package/es/calendar/CalendarHeader.d.ts +2 -2
- package/es/calendar/CalendarHeader.js +2 -2
- package/es/calendar/CalendarMonth.d.ts +1 -2
- package/es/calendar/CalendarMonth.js +2 -2
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +6 -6
- package/es/calendar/index.less +42 -38
- package/es/card/Card.d.ts +2 -2
- package/es/card/Card.js +3 -3
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +2 -2
- package/es/card/index.less +23 -25
- package/es/cascader/Cascader.d.ts +2 -2
- package/es/cascader/Cascader.js +3 -3
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +2 -2
- package/es/cascader/index.less +17 -19
- package/es/cell/Cell.js +1 -4
- package/es/cell/index.css +1 -1
- package/es/cell/index.less +21 -27
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.less +12 -13
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.less +12 -14
- package/es/circle/index.css +1 -1
- package/es/circle/index.less +8 -10
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.less +12 -12
- package/es/config-provider/ConfigProvider.d.ts +14 -0
- package/es/config-provider/ConfigProvider.js +11 -2
- package/es/config-provider/index.d.ts +10 -1
- package/es/contact-card/ContactCard.js +2 -2
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.less +7 -9
- package/es/contact-edit/ContactEdit.d.ts +2 -2
- package/es/contact-edit/ContactEdit.js +3 -4
- package/es/contact-edit/index.css +1 -1
- package/es/contact-edit/index.d.ts +2 -2
- package/es/contact-edit/index.less +7 -9
- package/es/contact-list/ContactList.js +4 -4
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.less +9 -11
- package/es/count-down/index.css +1 -1
- package/es/count-down/index.less +4 -6
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.less +28 -31
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-cell/index.less +2 -4
- package/es/coupon-list/CouponList.js +2 -2
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.less +14 -16
- package/es/date-picker/DatePicker.d.ts +168 -0
- package/es/date-picker/DatePicker.js +111 -0
- package/es/{datetime-picker/DatePicker.d.ts → date-picker/index.d.ts} +40 -28
- package/es/date-picker/index.js +8 -0
- package/es/{datetime-picker → date-picker}/style/index.d.ts +0 -0
- package/es/{datetime-picker → date-picker}/style/index.js +0 -0
- package/es/{datetime-picker → date-picker}/style/less.d.ts +0 -0
- package/es/{datetime-picker → date-picker}/style/less.js +0 -0
- package/es/{datetime-picker → date-picker}/utils.d.ts +15 -11
- package/es/date-picker/utils.js +40 -0
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.less +24 -24
- package/es/divider/index.css +1 -1
- package/es/divider/index.less +10 -12
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.less +2 -5
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.less +14 -17
- package/es/empty/index.css +1 -1
- package/es/empty/index.less +9 -11
- package/es/field/Field.d.ts +4 -4
- package/es/field/Field.js +4 -4
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +4 -4
- package/es/field/index.less +20 -23
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.less +10 -13
- package/es/image/index.css +1 -1
- package/es/image/index.less +10 -12
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.less +11 -13
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.less +12 -14
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.less +7 -8
- package/es/index.d.ts +3 -2
- package/es/index.js +7 -4
- package/es/list/index.css +1 -1
- package/es/list/index.less +5 -7
- package/es/loading/index.css +1 -1
- package/es/loading/index.less +7 -10
- package/es/locale/lang/bn-BD.d.ts +0 -2
- package/es/locale/lang/bn-BD.js +0 -2
- package/es/locale/lang/de-DE-formal.d.ts +0 -2
- package/es/locale/lang/de-DE-formal.js +0 -2
- package/es/locale/lang/de-DE.d.ts +0 -2
- package/es/locale/lang/de-DE.js +0 -2
- package/es/locale/lang/en-US.d.ts +0 -2
- package/es/locale/lang/en-US.js +0 -2
- package/es/locale/lang/es-ES.d.ts +0 -2
- package/es/locale/lang/es-ES.js +0 -2
- package/es/locale/lang/fr-FR.d.ts +0 -2
- package/es/locale/lang/fr-FR.js +0 -2
- package/es/locale/lang/hi-IN.d.ts +0 -2
- package/es/locale/lang/hi-IN.js +0 -2
- package/es/locale/lang/id-ID.d.ts +0 -2
- package/es/locale/lang/id-ID.js +0 -2
- package/es/locale/lang/is-IS.d.ts +0 -2
- package/es/locale/lang/is-IS.js +0 -2
- package/es/locale/lang/it-IT.d.ts +0 -2
- package/es/locale/lang/it-IT.js +0 -2
- package/es/locale/lang/ja-JP.d.ts +0 -2
- package/es/locale/lang/ja-JP.js +0 -2
- package/es/locale/lang/ko-KR.d.ts +0 -2
- package/es/locale/lang/ko-KR.js +0 -2
- package/es/locale/lang/la-LA.d.ts +0 -2
- package/es/locale/lang/la-LA.js +0 -2
- package/es/locale/lang/nb-NO.d.ts +0 -2
- package/es/locale/lang/nb-NO.js +0 -2
- package/es/locale/lang/pt-BR.d.ts +0 -2
- package/es/locale/lang/pt-BR.js +0 -2
- package/es/locale/lang/ro-RO.d.ts +0 -2
- package/es/locale/lang/ro-RO.js +0 -2
- package/es/locale/lang/ru-RU.d.ts +0 -2
- package/es/locale/lang/ru-RU.js +0 -2
- package/es/locale/lang/sv-SE.d.ts +0 -2
- package/es/locale/lang/sv-SE.js +0 -2
- package/es/locale/lang/th-TH.d.ts +0 -2
- package/es/locale/lang/th-TH.js +0 -2
- package/es/locale/lang/tr-TR.d.ts +0 -2
- package/es/locale/lang/tr-TR.js +0 -2
- package/es/locale/lang/uk-UA.d.ts +0 -2
- package/es/locale/lang/uk-UA.js +0 -2
- package/es/locale/lang/vi-VN.d.ts +0 -2
- package/es/locale/lang/vi-VN.js +0 -2
- package/es/locale/lang/zh-CN.d.ts +0 -2
- package/es/locale/lang/zh-CN.js +0 -2
- package/es/locale/lang/zh-HK.d.ts +0 -2
- package/es/locale/lang/zh-HK.js +0 -2
- package/es/locale/lang/zh-TW.d.ts +0 -2
- package/es/locale/lang/zh-TW.js +0 -2
- package/es/nav-bar/NavBar.d.ts +3 -3
- package/es/nav-bar/NavBar.js +3 -3
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +3 -3
- package/es/nav-bar/index.less +11 -13
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.less +11 -13
- package/es/notify/index.css +1 -1
- package/es/notify/index.less +13 -15
- package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +1 -1
- package/es/number-keyboard/index.less +26 -22
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.less +4 -6
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.less +13 -15
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.less +20 -22
- package/es/picker/Picker.d.ts +27 -28
- package/es/picker/Picker.js +91 -196
- package/es/picker/PickerColumn.d.ts +21 -30
- package/es/picker/PickerColumn.js +61 -111
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +19 -20
- package/es/picker/index.less +32 -19
- package/es/picker/types.d.ts +13 -19
- package/es/picker/utils.d.ts +11 -0
- package/es/picker/utils.js +73 -0
- package/es/popover/Popover.d.ts +1 -1
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +1 -1
- package/es/popover/index.less +21 -23
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/Popup.js +3 -3
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +3 -3
- package/es/popup/index.less +20 -22
- package/es/progress/index.css +1 -1
- package/es/progress/index.less +14 -18
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.less +5 -7
- package/es/radio/index.css +1 -1
- package/es/radio/index.less +12 -14
- package/es/rate/index.css +1 -1
- package/es/rate/index.less +6 -8
- package/es/search/Search.d.ts +4 -4
- package/es/search/Search.js +7 -7
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +4 -4
- package/es/search/index.less +16 -18
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.less +17 -18
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.less +2 -4
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.less +17 -19
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.less +14 -16
- package/es/slider/Slider.d.ts +4 -4
- package/es/slider/Slider.js +4 -5
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +4 -4
- package/es/slider/index.less +20 -18
- package/es/step/index.css +1 -1
- package/es/step/index.less +15 -17
- package/es/stepper/Stepper.d.ts +1 -1
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +1 -1
- package/es/stepper/index.less +20 -24
- package/es/steps/Steps.d.ts +2 -2
- package/es/steps/Steps.js +2 -2
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +2 -2
- package/es/steps/index.less +3 -5
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.less +2 -4
- package/es/style/animation.css +1 -1
- package/es/style/animation.less +18 -22
- package/es/style/base.css +1 -1
- package/es/style/base.less +6 -7
- package/es/style/css-variables.css +1 -1
- package/es/style/css-variables.less +76 -61
- package/es/style/mixins/hairline.less +0 -2
- package/es/style/normalize.css +1 -1
- package/es/style/normalize.less +1 -3
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.less +26 -28
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.less +11 -13
- package/es/switch/index.css +1 -1
- package/es/switch/index.less +24 -24
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.less +5 -7
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.less +9 -11
- package/es/tabs/Tabs.d.ts +2 -4
- package/es/tabs/Tabs.js +14 -27
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +2 -4
- package/es/tabs/index.less +17 -20
- package/es/tag/index.css +1 -1
- package/es/tag/index.less +22 -25
- package/es/time-picker/TimePicker.d.ts +214 -0
- package/es/time-picker/TimePicker.js +71 -0
- package/{lib/datetime-picker/TimePicker.d.ts → es/time-picker/index.d.ts} +60 -20
- package/es/time-picker/index.js +8 -0
- package/{lib/datetime-picker → es/time-picker}/style/index.d.ts +0 -0
- package/es/time-picker/style/index.js +3 -0
- package/{lib/datetime-picker → es/time-picker}/style/less.d.ts +0 -0
- package/es/time-picker/style/less.js +3 -0
- package/es/toast/index.css +1 -1
- package/es/toast/index.less +19 -21
- package/es/tree-select/TreeSelect.d.ts +3 -3
- package/es/tree-select/TreeSelect.js +3 -3
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +3 -3
- package/es/tree-select/index.less +12 -14
- package/es/uploader/Uploader.d.ts +4 -4
- package/es/uploader/Uploader.js +4 -4
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +4 -4
- package/es/uploader/index.less +31 -33
- package/es/utils/basic.d.ts +1 -0
- package/es/utils/basic.js +2 -0
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.less +4 -6
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-button/index.less +9 -11
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.less +10 -12
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.less +23 -24
- package/lib/address-edit/AddressEdit.d.ts +6 -23
- package/lib/address-edit/AddressEdit.js +32 -57
- package/lib/address-edit/AddressEditDetail.d.ts +2 -2
- package/lib/address-edit/AddressEditDetail.js +5 -14
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +6 -18
- package/lib/address-edit/index.less +8 -15
- package/lib/address-edit/types.d.ts +2 -5
- package/lib/address-list/AddressList.d.ts +4 -4
- package/lib/address-list/AddressList.js +5 -5
- package/lib/address-list/AddressListItem.js +3 -3
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +4 -4
- package/lib/address-list/index.less +20 -22
- package/lib/area/Area.d.ts +13 -25
- package/lib/area/Area.js +42 -207
- package/lib/area/index.d.ts +11 -19
- package/lib/area/types.d.ts +2 -17
- package/lib/area/utils.d.ts +6 -0
- package/lib/area/utils.js +104 -0
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.less +15 -17
- package/lib/button/index.css +1 -1
- package/lib/button/index.less +55 -52
- package/lib/calendar/Calendar.d.ts +6 -6
- package/lib/calendar/Calendar.js +5 -5
- package/lib/calendar/CalendarHeader.d.ts +2 -2
- package/lib/calendar/CalendarHeader.js +2 -2
- package/lib/calendar/CalendarMonth.d.ts +1 -2
- package/lib/calendar/CalendarMonth.js +2 -2
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +6 -6
- package/lib/calendar/index.less +42 -38
- package/lib/card/Card.d.ts +2 -2
- package/lib/card/Card.js +3 -3
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +2 -2
- package/lib/card/index.less +23 -25
- package/lib/cascader/Cascader.d.ts +2 -2
- package/lib/cascader/Cascader.js +3 -3
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +2 -2
- package/lib/cascader/index.less +17 -19
- package/lib/cell/Cell.js +1 -4
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.less +21 -27
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.less +12 -13
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.less +12 -14
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.less +8 -10
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.less +12 -12
- package/lib/config-provider/ConfigProvider.d.ts +14 -0
- package/lib/config-provider/ConfigProvider.js +9 -0
- package/lib/config-provider/index.d.ts +10 -1
- package/lib/contact-card/ContactCard.js +2 -2
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.less +7 -9
- package/lib/contact-edit/ContactEdit.d.ts +2 -2
- package/lib/contact-edit/ContactEdit.js +3 -4
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-edit/index.d.ts +2 -2
- package/lib/contact-edit/index.less +7 -9
- package/lib/contact-list/ContactList.js +4 -4
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.less +9 -11
- package/lib/count-down/index.css +1 -1
- package/lib/count-down/index.less +4 -6
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.less +28 -31
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-cell/index.less +2 -4
- package/lib/coupon-list/CouponList.js +2 -2
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.less +14 -16
- package/lib/date-picker/DatePicker.d.ts +168 -0
- package/lib/date-picker/DatePicker.js +130 -0
- package/lib/{datetime-picker/DatePicker.d.ts → date-picker/index.d.ts} +40 -28
- package/lib/{datetime-picker → date-picker}/index.js +4 -4
- package/lib/date-picker/style/index.d.ts +1 -0
- package/lib/{datetime-picker → date-picker}/style/index.js +0 -0
- package/lib/date-picker/style/less.d.ts +1 -0
- package/lib/{datetime-picker → date-picker}/style/less.js +0 -0
- package/lib/{datetime-picker → date-picker}/utils.d.ts +15 -11
- package/lib/{datetime-picker → date-picker}/utils.js +11 -34
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.less +24 -24
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.less +10 -12
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.less +2 -5
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.less +14 -17
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.less +9 -11
- package/lib/field/Field.d.ts +4 -4
- package/lib/field/Field.js +4 -4
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +4 -4
- package/lib/field/index.less +20 -23
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.less +10 -13
- package/lib/image/index.css +1 -1
- package/lib/image/index.less +10 -12
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.less +11 -13
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.less +12 -14
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.less +7 -8
- package/lib/index.css +1 -1
- package/lib/index.d.ts +3 -2
- package/lib/index.js +7 -4
- package/lib/list/index.css +1 -1
- package/lib/list/index.less +5 -7
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.less +7 -10
- package/lib/locale/lang/bn-BD.d.ts +0 -2
- package/lib/locale/lang/bn-BD.js +0 -2
- package/lib/locale/lang/de-DE-formal.d.ts +0 -2
- package/lib/locale/lang/de-DE-formal.js +0 -2
- package/lib/locale/lang/de-DE.d.ts +0 -2
- package/lib/locale/lang/de-DE.js +0 -2
- package/lib/locale/lang/en-US.d.ts +0 -2
- package/lib/locale/lang/en-US.js +0 -2
- package/lib/locale/lang/es-ES.d.ts +0 -2
- package/lib/locale/lang/es-ES.js +0 -2
- package/lib/locale/lang/fr-FR.d.ts +0 -2
- package/lib/locale/lang/fr-FR.js +0 -2
- package/lib/locale/lang/hi-IN.d.ts +0 -2
- package/lib/locale/lang/hi-IN.js +0 -2
- package/lib/locale/lang/id-ID.d.ts +0 -2
- package/lib/locale/lang/id-ID.js +0 -2
- package/lib/locale/lang/is-IS.d.ts +0 -2
- package/lib/locale/lang/is-IS.js +0 -2
- package/lib/locale/lang/it-IT.d.ts +0 -2
- package/lib/locale/lang/it-IT.js +0 -2
- package/lib/locale/lang/ja-JP.d.ts +0 -2
- package/lib/locale/lang/ja-JP.js +0 -2
- package/lib/locale/lang/ko-KR.d.ts +0 -2
- package/lib/locale/lang/ko-KR.js +0 -2
- package/lib/locale/lang/la-LA.d.ts +0 -2
- package/lib/locale/lang/la-LA.js +0 -2
- package/lib/locale/lang/nb-NO.d.ts +0 -2
- package/lib/locale/lang/nb-NO.js +0 -2
- package/lib/locale/lang/pt-BR.d.ts +0 -2
- package/lib/locale/lang/pt-BR.js +0 -2
- package/lib/locale/lang/ro-RO.d.ts +0 -2
- package/lib/locale/lang/ro-RO.js +0 -2
- package/lib/locale/lang/ru-RU.d.ts +0 -2
- package/lib/locale/lang/ru-RU.js +0 -2
- package/lib/locale/lang/sv-SE.d.ts +0 -2
- package/lib/locale/lang/sv-SE.js +0 -2
- package/lib/locale/lang/th-TH.d.ts +0 -2
- package/lib/locale/lang/th-TH.js +0 -2
- package/lib/locale/lang/tr-TR.d.ts +0 -2
- package/lib/locale/lang/tr-TR.js +0 -2
- package/lib/locale/lang/uk-UA.d.ts +0 -2
- package/lib/locale/lang/uk-UA.js +0 -2
- package/lib/locale/lang/vi-VN.d.ts +0 -2
- package/lib/locale/lang/vi-VN.js +0 -2
- package/lib/locale/lang/zh-CN.d.ts +0 -2
- package/lib/locale/lang/zh-CN.js +0 -2
- package/lib/locale/lang/zh-HK.d.ts +0 -2
- package/lib/locale/lang/zh-HK.js +0 -2
- package/lib/locale/lang/zh-TW.d.ts +0 -2
- package/lib/locale/lang/zh-TW.js +0 -2
- package/lib/nav-bar/NavBar.d.ts +3 -3
- package/lib/nav-bar/NavBar.js +3 -3
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +3 -3
- package/lib/nav-bar/index.less +11 -13
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.less +11 -13
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.less +13 -15
- package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +1 -1
- package/lib/number-keyboard/index.less +26 -22
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.less +4 -6
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.less +13 -15
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.less +20 -22
- package/lib/picker/Picker.d.ts +27 -28
- package/lib/picker/Picker.js +90 -195
- package/lib/picker/PickerColumn.d.ts +21 -30
- package/lib/picker/PickerColumn.js +60 -110
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +19 -20
- package/lib/picker/index.less +32 -19
- package/lib/picker/types.d.ts +13 -19
- package/lib/picker/utils.d.ts +11 -0
- package/lib/picker/utils.js +92 -0
- package/lib/popover/Popover.d.ts +1 -1
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +1 -1
- package/lib/popover/index.less +21 -23
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/Popup.js +3 -3
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +3 -3
- package/lib/popup/index.less +20 -22
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.less +14 -18
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.less +5 -7
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.less +12 -14
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.less +6 -8
- package/lib/search/Search.d.ts +4 -4
- package/lib/search/Search.js +7 -7
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +4 -4
- package/lib/search/index.less +16 -18
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.less +17 -18
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.less +2 -4
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.less +17 -19
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.less +14 -16
- package/lib/slider/Slider.d.ts +4 -4
- package/lib/slider/Slider.js +5 -6
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +4 -4
- package/lib/slider/index.less +20 -18
- package/lib/step/index.css +1 -1
- package/lib/step/index.less +15 -17
- package/lib/stepper/Stepper.d.ts +1 -1
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +1 -1
- package/lib/stepper/index.less +20 -24
- package/lib/steps/Steps.d.ts +2 -2
- package/lib/steps/Steps.js +2 -2
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +2 -2
- package/lib/steps/index.less +3 -5
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.less +2 -4
- package/lib/style/animation.css +1 -1
- package/lib/style/animation.less +18 -22
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +6 -7
- package/lib/style/css-variables.css +1 -1
- package/lib/style/css-variables.less +76 -61
- package/lib/style/mixins/hairline.less +0 -2
- package/lib/style/normalize.css +1 -1
- package/lib/style/normalize.less +1 -3
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.less +26 -28
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.less +11 -13
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.less +24 -24
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.less +5 -7
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.less +9 -11
- package/lib/tabs/Tabs.d.ts +2 -4
- package/lib/tabs/Tabs.js +13 -26
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +2 -4
- package/lib/tabs/index.less +17 -20
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.less +22 -25
- package/lib/time-picker/TimePicker.d.ts +214 -0
- package/lib/time-picker/TimePicker.js +90 -0
- package/{es/datetime-picker/TimePicker.d.ts → lib/time-picker/index.d.ts} +60 -20
- package/lib/time-picker/index.js +30 -0
- package/lib/time-picker/style/index.d.ts +1 -0
- package/lib/time-picker/style/index.js +3 -0
- package/lib/time-picker/style/less.d.ts +1 -0
- package/lib/time-picker/style/less.js +3 -0
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.less +19 -21
- package/lib/tree-select/TreeSelect.d.ts +3 -3
- package/lib/tree-select/TreeSelect.js +3 -3
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +3 -3
- package/lib/tree-select/index.less +12 -14
- package/lib/uploader/Uploader.d.ts +4 -4
- package/lib/uploader/Uploader.js +4 -4
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +4 -4
- package/lib/uploader/index.less +31 -33
- package/lib/utils/basic.d.ts +1 -0
- package/lib/utils/basic.js +2 -0
- package/lib/vant.cjs.js +1203 -1659
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +1203 -1660
- package/lib/vant.es.min.js +1203 -1660
- package/lib/vant.js +1202 -1658
- package/lib/vant.min.js +1 -1
- package/package.json +4 -1
- package/vetur/attributes.json +516 -468
- package/vetur/tags.json +176 -168
- package/vetur/web-types.json +1855 -1700
- package/es/action-bar/var.css +0 -0
- package/es/action-bar/var.less +0 -4
- package/es/action-bar-button/var.css +0 -0
- package/es/action-bar-button/var.less +0 -5
- package/es/action-bar-icon/var.css +0 -0
- package/es/action-bar-icon/var.less +0 -10
- package/es/action-sheet/var.css +0 -0
- package/es/action-sheet/var.less +0 -23
- package/es/address-edit/var.css +0 -0
- package/es/address-edit/var.less +0 -6
- package/es/address-list/var.css +0 -0
- package/es/address-list/var.less +0 -16
- package/es/badge/var.css +0 -0
- package/es/badge/var.less +0 -12
- package/es/button/var.css +0 -0
- package/es/button/var.less +0 -36
- package/es/calendar/var.css +0 -0
- package/es/calendar/var.less +0 -28
- package/es/card/var.css +0 -0
- package/es/card/var.less +0 -18
- package/es/cascader/var.css +0 -0
- package/es/cascader/var.less +0 -15
- package/es/cell/var.css +0 -0
- package/es/cell/var.less +0 -21
- package/es/cell-group/var.css +0 -0
- package/es/cell-group/var.less +0 -12
- package/es/checkbox/var.css +0 -0
- package/es/checkbox/var.less +0 -11
- package/es/circle/var.css +0 -0
- package/es/circle/var.less +0 -9
- package/es/collapse-item/var.css +0 -0
- package/es/collapse-item/var.less +0 -9
- package/es/contact-card/var.css +0 -0
- package/es/contact-card/var.less +0 -6
- package/es/contact-edit/var.css +0 -0
- package/es/contact-edit/var.less +0 -8
- package/es/contact-list/var.css +0 -0
- package/es/contact-list/var.less +0 -6
- package/es/count-down/var.css +0 -0
- package/es/count-down/var.less +0 -5
- package/es/coupon/var.css +0 -0
- package/es/coupon/var.less +0 -19
- package/es/coupon-cell/var.css +0 -0
- package/es/coupon-cell/var.less +0 -3
- package/es/coupon-list/var.css +0 -0
- package/es/coupon-list/var.less +0 -9
- package/es/datetime-picker/DatePicker.js +0 -250
- package/es/datetime-picker/DatetimePicker.d.ts +0 -7
- package/es/datetime-picker/DatetimePicker.js +0 -40
- package/es/datetime-picker/TimePicker.js +0 -117
- package/es/datetime-picker/index.d.ts +0 -12
- package/es/datetime-picker/index.js +0 -8
- package/es/datetime-picker/types.d.ts +0 -9
- package/es/datetime-picker/types.js +0 -0
- package/es/datetime-picker/utils.js +0 -63
- package/es/dialog/var.css +0 -0
- package/es/dialog/var.less +0 -21
- package/es/divider/var.css +0 -0
- package/es/divider/var.less +0 -10
- package/es/dropdown-item/var.css +0 -0
- package/es/dropdown-item/var.less +0 -3
- package/es/dropdown-menu/var.css +0 -0
- package/es/dropdown-menu/var.less +0 -13
- package/es/empty/var.css +0 -0
- package/es/empty/var.less +0 -10
- package/es/field/var.css +0 -0
- package/es/field/var.less +0 -21
- package/es/grid-item/var.css +0 -0
- package/es/grid-item/var.less +0 -8
- package/es/image/var.css +0 -0
- package/es/image/var.less +0 -9
- package/es/image-preview/var.css +0 -0
- package/es/image-preview/var.less +0 -11
- package/es/index-anchor/var.css +0 -0
- package/es/index-anchor/var.less +0 -11
- package/es/index-bar/var.css +0 -0
- package/es/index-bar/var.less +0 -6
- package/es/list/var.css +0 -0
- package/es/list/var.less +0 -6
- package/es/loading/var.css +0 -0
- package/es/loading/var.less +0 -7
- package/es/nav-bar/var.css +0 -0
- package/es/nav-bar/var.less +0 -10
- package/es/notice-bar/var.css +0 -0
- package/es/notice-bar/var.less +0 -11
- package/es/notify/var.css +0 -0
- package/es/notify/var.less +0 -10
- package/es/number-keyboard/var.css +0 -0
- package/es/number-keyboard/var.less +0 -17
- package/es/overlay/var.css +0 -0
- package/es/overlay/var.less +0 -4
- package/es/pagination/var.css +0 -0
- package/es/pagination/var.less +0 -11
- package/es/password-input/var.css +0 -0
- package/es/password-input/var.less +0 -17
- package/es/picker/var.css +0 -0
- package/es/picker/var.less +0 -22
- package/es/popover/var.css +0 -0
- package/es/popover/var.less +0 -15
- package/es/popup/var.css +0 -0
- package/es/popup/var.less +0 -9
- package/es/progress/var.css +0 -0
- package/es/progress/var.less +0 -11
- package/es/pull-refresh/var.css +0 -0
- package/es/pull-refresh/var.less +0 -6
- package/es/radio/var.css +0 -0
- package/es/radio/var.less +0 -11
- package/es/rate/var.css +0 -0
- package/es/rate/var.less +0 -7
- package/es/search/var.css +0 -0
- package/es/search/var.less +0 -13
- package/es/share-sheet/var.css +0 -0
- package/es/share-sheet/var.less +0 -18
- package/es/sidebar/var.css +0 -0
- package/es/sidebar/var.less +0 -3
- package/es/sidebar-item/var.css +0 -0
- package/es/sidebar-item/var.less +0 -15
- package/es/skeleton/var.css +0 -0
- package/es/skeleton/var.less +0 -9
- package/es/slider/var.css +0 -0
- package/es/slider/var.less +0 -11
- package/es/step/var.css +0 -0
- package/es/step/var.less +0 -13
- package/es/stepper/var.css +0 -0
- package/es/stepper/var.less +0 -15
- package/es/steps/var.css +0 -0
- package/es/steps/var.less +0 -3
- package/es/sticky/var.css +0 -0
- package/es/sticky/var.less +0 -3
- package/es/style/var.css +0 -0
- package/es/style/var.less +0 -74
- package/es/submit-bar/var.css +0 -0
- package/es/submit-bar/var.less +0 -22
- package/es/swipe/var.css +0 -0
- package/es/swipe/var.less +0 -8
- package/es/switch/var.css +0 -0
- package/es/switch/var.less +0 -14
- package/es/tabbar/var.css +0 -0
- package/es/tabbar/var.less +0 -5
- package/es/tabbar-item/var.css +0 -0
- package/es/tabbar-item/var.less +0 -9
- package/es/tabs/var.css +0 -0
- package/es/tabs/var.less +0 -14
- package/es/tag/var.css +0 -0
- package/es/tag/var.less +0 -18
- package/es/toast/var.css +0 -0
- package/es/toast/var.less +0 -17
- package/es/tree-select/var.css +0 -0
- package/es/tree-select/var.less +0 -10
- package/es/uploader/var.css +0 -0
- package/es/uploader/var.less +0 -27
- package/lib/action-bar/var.css +0 -0
- package/lib/action-bar/var.less +0 -4
- package/lib/action-bar-button/var.css +0 -0
- package/lib/action-bar-button/var.less +0 -5
- package/lib/action-bar-icon/var.css +0 -0
- package/lib/action-bar-icon/var.less +0 -10
- package/lib/action-sheet/var.css +0 -0
- package/lib/action-sheet/var.less +0 -23
- package/lib/address-edit/var.css +0 -0
- package/lib/address-edit/var.less +0 -6
- package/lib/address-list/var.css +0 -0
- package/lib/address-list/var.less +0 -16
- package/lib/badge/var.css +0 -0
- package/lib/badge/var.less +0 -12
- package/lib/button/var.css +0 -0
- package/lib/button/var.less +0 -36
- package/lib/calendar/var.css +0 -0
- package/lib/calendar/var.less +0 -28
- package/lib/card/var.css +0 -0
- package/lib/card/var.less +0 -18
- package/lib/cascader/var.css +0 -0
- package/lib/cascader/var.less +0 -15
- package/lib/cell/var.css +0 -0
- package/lib/cell/var.less +0 -21
- package/lib/cell-group/var.css +0 -0
- package/lib/cell-group/var.less +0 -12
- package/lib/checkbox/var.css +0 -0
- package/lib/checkbox/var.less +0 -11
- package/lib/circle/var.css +0 -0
- package/lib/circle/var.less +0 -9
- package/lib/collapse-item/var.css +0 -0
- package/lib/collapse-item/var.less +0 -9
- package/lib/contact-card/var.css +0 -0
- package/lib/contact-card/var.less +0 -6
- package/lib/contact-edit/var.css +0 -0
- package/lib/contact-edit/var.less +0 -8
- package/lib/contact-list/var.css +0 -0
- package/lib/contact-list/var.less +0 -6
- package/lib/count-down/var.css +0 -0
- package/lib/count-down/var.less +0 -5
- package/lib/coupon/var.css +0 -0
- package/lib/coupon/var.less +0 -19
- package/lib/coupon-cell/var.css +0 -0
- package/lib/coupon-cell/var.less +0 -3
- package/lib/coupon-list/var.css +0 -0
- package/lib/coupon-list/var.less +0 -9
- package/lib/datetime-picker/DatePicker.js +0 -269
- package/lib/datetime-picker/DatetimePicker.d.ts +0 -7
- package/lib/datetime-picker/DatetimePicker.js +0 -62
- package/lib/datetime-picker/TimePicker.js +0 -136
- package/lib/datetime-picker/index.d.ts +0 -12
- package/lib/datetime-picker/types.d.ts +0 -9
- package/lib/datetime-picker/types.js +0 -15
- package/lib/dialog/var.css +0 -0
- package/lib/dialog/var.less +0 -21
- package/lib/divider/var.css +0 -0
- package/lib/divider/var.less +0 -10
- package/lib/dropdown-item/var.css +0 -0
- package/lib/dropdown-item/var.less +0 -3
- package/lib/dropdown-menu/var.css +0 -0
- package/lib/dropdown-menu/var.less +0 -13
- package/lib/empty/var.css +0 -0
- package/lib/empty/var.less +0 -10
- package/lib/field/var.css +0 -0
- package/lib/field/var.less +0 -21
- package/lib/grid-item/var.css +0 -0
- package/lib/grid-item/var.less +0 -8
- package/lib/image/var.css +0 -0
- package/lib/image/var.less +0 -9
- package/lib/image-preview/var.css +0 -0
- package/lib/image-preview/var.less +0 -11
- package/lib/index-anchor/var.css +0 -0
- package/lib/index-anchor/var.less +0 -11
- package/lib/index-bar/var.css +0 -0
- package/lib/index-bar/var.less +0 -6
- package/lib/list/var.css +0 -0
- package/lib/list/var.less +0 -6
- package/lib/loading/var.css +0 -0
- package/lib/loading/var.less +0 -7
- package/lib/nav-bar/var.css +0 -0
- package/lib/nav-bar/var.less +0 -10
- package/lib/notice-bar/var.css +0 -0
- package/lib/notice-bar/var.less +0 -11
- package/lib/notify/var.css +0 -0
- package/lib/notify/var.less +0 -10
- package/lib/number-keyboard/var.css +0 -0
- package/lib/number-keyboard/var.less +0 -17
- package/lib/overlay/var.css +0 -0
- package/lib/overlay/var.less +0 -4
- package/lib/pagination/var.css +0 -0
- package/lib/pagination/var.less +0 -11
- package/lib/password-input/var.css +0 -0
- package/lib/password-input/var.less +0 -17
- package/lib/picker/var.css +0 -0
- package/lib/picker/var.less +0 -22
- package/lib/popover/var.css +0 -0
- package/lib/popover/var.less +0 -15
- package/lib/popup/var.css +0 -0
- package/lib/popup/var.less +0 -9
- package/lib/progress/var.css +0 -0
- package/lib/progress/var.less +0 -11
- package/lib/pull-refresh/var.css +0 -0
- package/lib/pull-refresh/var.less +0 -6
- package/lib/radio/var.css +0 -0
- package/lib/radio/var.less +0 -11
- package/lib/rate/var.css +0 -0
- package/lib/rate/var.less +0 -7
- package/lib/search/var.css +0 -0
- package/lib/search/var.less +0 -13
- package/lib/share-sheet/var.css +0 -0
- package/lib/share-sheet/var.less +0 -18
- package/lib/sidebar/var.css +0 -0
- package/lib/sidebar/var.less +0 -3
- package/lib/sidebar-item/var.css +0 -0
- package/lib/sidebar-item/var.less +0 -15
- package/lib/skeleton/var.css +0 -0
- package/lib/skeleton/var.less +0 -9
- package/lib/slider/var.css +0 -0
- package/lib/slider/var.less +0 -11
- package/lib/step/var.css +0 -0
- package/lib/step/var.less +0 -13
- package/lib/stepper/var.css +0 -0
- package/lib/stepper/var.less +0 -15
- package/lib/steps/var.css +0 -0
- package/lib/steps/var.less +0 -3
- package/lib/sticky/var.css +0 -0
- package/lib/sticky/var.less +0 -3
- package/lib/style/var.css +0 -0
- package/lib/style/var.less +0 -74
- package/lib/submit-bar/var.css +0 -0
- package/lib/submit-bar/var.less +0 -22
- package/lib/swipe/var.css +0 -0
- package/lib/swipe/var.less +0 -8
- package/lib/switch/var.css +0 -0
- package/lib/switch/var.less +0 -14
- package/lib/tabbar/var.css +0 -0
- package/lib/tabbar/var.less +0 -5
- package/lib/tabbar-item/var.css +0 -0
- package/lib/tabbar-item/var.less +0 -9
- package/lib/tabs/var.css +0 -0
- package/lib/tabs/var.less +0 -14
- package/lib/tag/var.css +0 -0
- package/lib/tag/var.less +0 -18
- package/lib/toast/var.css +0 -0
- package/lib/toast/var.less +0 -17
- package/lib/tree-select/var.css +0 -0
- package/lib/tree-select/var.less +0 -10
- package/lib/uploader/var.css +0 -0
- package/lib/uploader/var.less +0 -27
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": "
|
5
|
+
"version": "4.0.0-alpha.2",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -526,215 +526,257 @@
|
|
526
526
|
]
|
527
527
|
},
|
528
528
|
{
|
529
|
-
"name": "van-address-
|
529
|
+
"name": "van-address-list",
|
530
530
|
"slots": [
|
531
531
|
{
|
532
532
|
"name": "default",
|
533
|
-
"description": "Custom content
|
533
|
+
"description": "Custom content after list"
|
534
|
+
},
|
535
|
+
{
|
536
|
+
"name": "top",
|
537
|
+
"description": "Custom content before list"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"name": "item-bottom",
|
541
|
+
"description": "Custom content after list item"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"name": "tag",
|
545
|
+
"description": "Custom tag of list item"
|
534
546
|
}
|
535
547
|
],
|
536
548
|
"events": [
|
537
549
|
{
|
538
|
-
"name": "
|
539
|
-
"description": "Emitted when the
|
540
|
-
"arguments": [
|
541
|
-
{
|
542
|
-
"name": "content",
|
543
|
-
"type": "form content"
|
544
|
-
}
|
545
|
-
]
|
550
|
+
"name": "add",
|
551
|
+
"description": "Emitted when the add button is clicked",
|
552
|
+
"arguments": []
|
546
553
|
},
|
547
554
|
{
|
548
|
-
"name": "
|
549
|
-
"description": "Emitted when
|
555
|
+
"name": "edit",
|
556
|
+
"description": "Emitted when the edit icon of address is clicked",
|
550
557
|
"arguments": [
|
551
558
|
{
|
552
|
-
"name": "
|
553
|
-
"type": "
|
554
|
-
}
|
555
|
-
]
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"name": "delete",
|
559
|
-
"description": "Emitted when confirming delete",
|
560
|
-
"arguments": [
|
559
|
+
"name": "item",
|
560
|
+
"type": "Address"
|
561
|
+
},
|
561
562
|
{
|
562
|
-
"name": "
|
563
|
-
"type": "
|
563
|
+
"name": "index",
|
564
|
+
"type": "number"
|
564
565
|
}
|
565
566
|
]
|
566
567
|
},
|
567
568
|
{
|
568
|
-
"name": "select
|
569
|
-
"description": "Emitted when
|
569
|
+
"name": "select",
|
570
|
+
"description": "Emitted when an address is selected",
|
570
571
|
"arguments": [
|
571
572
|
{
|
572
|
-
"name": "
|
573
|
-
"type": "
|
573
|
+
"name": "item",
|
574
|
+
"type": "Address"
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"name": "index",
|
578
|
+
"type": "number"
|
574
579
|
}
|
575
580
|
]
|
576
581
|
},
|
577
582
|
{
|
578
|
-
"name": "
|
579
|
-
"description": "Emitted when the
|
580
|
-
"arguments": []
|
581
|
-
},
|
582
|
-
{
|
583
|
-
"name": "change-area",
|
584
|
-
"description": "Emitted when area changed",
|
583
|
+
"name": "edit-disabled",
|
584
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
585
585
|
"arguments": [
|
586
586
|
{
|
587
|
-
"name": "
|
588
|
-
"type": "
|
587
|
+
"name": "item",
|
588
|
+
"type": "Address"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"name": "index",
|
592
|
+
"type": "number"
|
589
593
|
}
|
590
594
|
]
|
591
595
|
},
|
592
596
|
{
|
593
|
-
"name": "
|
594
|
-
"description": "Emitted when address
|
597
|
+
"name": "select-disabled",
|
598
|
+
"description": "Emitted when a disabled address is selected",
|
595
599
|
"arguments": [
|
596
600
|
{
|
597
|
-
"name": "
|
598
|
-
"type": "
|
601
|
+
"name": "item",
|
602
|
+
"type": "Address"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"name": "index",
|
606
|
+
"type": "number"
|
599
607
|
}
|
600
608
|
]
|
601
609
|
},
|
602
610
|
{
|
603
|
-
"name": "
|
604
|
-
"description": "Emitted when
|
611
|
+
"name": "click-item",
|
612
|
+
"description": "Emitted when an address item is clicked",
|
605
613
|
"arguments": [
|
606
614
|
{
|
607
|
-
"name": "
|
608
|
-
"type": "
|
615
|
+
"name": "item",
|
616
|
+
"type": "Address"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"name": "index",
|
620
|
+
"type": "number"
|
609
621
|
}
|
610
622
|
]
|
611
623
|
}
|
612
624
|
],
|
613
625
|
"attributes": [
|
614
626
|
{
|
615
|
-
"name": "
|
627
|
+
"name": "v-model",
|
616
628
|
"default": "-",
|
617
|
-
"description": "
|
629
|
+
"description": "Id of chosen address",
|
618
630
|
"options": [],
|
619
631
|
"value": {
|
620
|
-
"type": "
|
632
|
+
"type": "string",
|
621
633
|
"kind": "expression"
|
622
634
|
}
|
623
635
|
},
|
624
636
|
{
|
625
|
-
"name": "
|
637
|
+
"name": "list",
|
626
638
|
"default": "`[]`",
|
627
|
-
"description": "
|
639
|
+
"description": "Address list",
|
628
640
|
"options": [],
|
629
641
|
"value": {
|
630
|
-
"type": "
|
642
|
+
"type": "Address[]",
|
631
643
|
"kind": "expression"
|
632
644
|
}
|
633
645
|
},
|
634
646
|
{
|
635
|
-
"name": "
|
636
|
-
"default": "`
|
637
|
-
"description": "
|
647
|
+
"name": "disabled-list",
|
648
|
+
"default": "`[]`",
|
649
|
+
"description": "Disabled address list",
|
638
650
|
"options": [],
|
639
651
|
"value": {
|
640
|
-
"type": "
|
652
|
+
"type": "Address[]",
|
641
653
|
"kind": "expression"
|
642
654
|
}
|
643
655
|
},
|
644
656
|
{
|
645
|
-
"name": "
|
646
|
-
"default": "
|
647
|
-
"description": "
|
657
|
+
"name": "disabled-text",
|
658
|
+
"default": "-",
|
659
|
+
"description": "Disabled text",
|
648
660
|
"options": [],
|
649
661
|
"value": {
|
650
|
-
"type": "
|
662
|
+
"type": "string",
|
651
663
|
"kind": "expression"
|
652
664
|
}
|
653
665
|
},
|
654
666
|
{
|
655
|
-
"name": "
|
656
|
-
"default": "`
|
657
|
-
"description": "
|
667
|
+
"name": "switchable",
|
668
|
+
"default": "`true`",
|
669
|
+
"description": "Whether to allow switch address",
|
658
670
|
"options": [],
|
659
671
|
"value": {
|
660
|
-
"type": "
|
672
|
+
"type": "boolean",
|
661
673
|
"kind": "expression"
|
662
674
|
}
|
663
675
|
},
|
664
676
|
{
|
665
|
-
"name": "
|
666
|
-
"default": "`
|
667
|
-
"description": "
|
677
|
+
"name": "add-button-text",
|
678
|
+
"default": "`Add new address`",
|
679
|
+
"description": "Add button text",
|
668
680
|
"options": [],
|
669
681
|
"value": {
|
670
|
-
"type": "
|
682
|
+
"type": "string",
|
671
683
|
"kind": "expression"
|
672
684
|
}
|
673
685
|
},
|
674
686
|
{
|
675
|
-
"name": "
|
676
|
-
"default": "
|
677
|
-
"description": "
|
687
|
+
"name": "default-tag-text",
|
688
|
+
"default": "-",
|
689
|
+
"description": "Default tag text",
|
678
690
|
"options": [],
|
679
691
|
"value": {
|
680
|
-
"type": "
|
692
|
+
"type": "string",
|
681
693
|
"kind": "expression"
|
682
694
|
}
|
695
|
+
}
|
696
|
+
]
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"name": "van-area",
|
700
|
+
"slots": [
|
701
|
+
{
|
702
|
+
"name": "toolbar",
|
703
|
+
"description": "Custom toolbar content"
|
683
704
|
},
|
684
705
|
{
|
685
|
-
"name": "
|
686
|
-
"
|
687
|
-
"description": "Whether to show default address switch",
|
688
|
-
"options": [],
|
689
|
-
"value": {
|
690
|
-
"type": "boolean",
|
691
|
-
"kind": "expression"
|
692
|
-
}
|
706
|
+
"name": "title",
|
707
|
+
"description": "Custom title"
|
693
708
|
},
|
694
709
|
{
|
695
|
-
"name": "
|
696
|
-
"
|
697
|
-
"description": "Whether to show address search result",
|
698
|
-
"options": [],
|
699
|
-
"value": {
|
700
|
-
"type": "boolean",
|
701
|
-
"kind": "expression"
|
702
|
-
}
|
710
|
+
"name": "confirm",
|
711
|
+
"description": "Custom confirm button text"
|
703
712
|
},
|
704
713
|
{
|
705
|
-
"name": "
|
706
|
-
"
|
707
|
-
"description": "Whether to show area cell",
|
708
|
-
"options": [],
|
709
|
-
"value": {
|
710
|
-
"type": "boolean",
|
711
|
-
"kind": "expression"
|
712
|
-
}
|
714
|
+
"name": "cancel",
|
715
|
+
"description": "Custom cancel button text"
|
713
716
|
},
|
714
717
|
{
|
715
|
-
"name": "
|
716
|
-
"
|
717
|
-
|
718
|
+
"name": "columns-top",
|
719
|
+
"description": "Custom content above columns"
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"name": "columns-bottom",
|
723
|
+
"description": "Custom content below columns"
|
724
|
+
}
|
725
|
+
],
|
726
|
+
"events": [
|
727
|
+
{
|
728
|
+
"name": "confirm",
|
729
|
+
"description": "Emitted when the confirm button is clicked",
|
730
|
+
"arguments": [
|
731
|
+
{
|
732
|
+
"name": "{ selectedValues, selectedOptions }"
|
733
|
+
}
|
734
|
+
]
|
735
|
+
},
|
736
|
+
{
|
737
|
+
"name": "cancel",
|
738
|
+
"description": "Emitted when the cancel button is clicked",
|
739
|
+
"arguments": [
|
740
|
+
{
|
741
|
+
"name": "{ selectedValues, selectedOptions }"
|
742
|
+
}
|
743
|
+
]
|
744
|
+
},
|
745
|
+
{
|
746
|
+
"name": "change",
|
747
|
+
"description": "Emitted when current option is changed",
|
748
|
+
"arguments": [
|
749
|
+
{
|
750
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
751
|
+
}
|
752
|
+
]
|
753
|
+
}
|
754
|
+
],
|
755
|
+
"attributes": [
|
756
|
+
{
|
757
|
+
"name": "v-model",
|
758
|
+
"default": "-",
|
759
|
+
"description": "the `code` of selected area",
|
718
760
|
"options": [],
|
719
761
|
"value": {
|
720
|
-
"type": "
|
762
|
+
"type": "string",
|
721
763
|
"kind": "expression"
|
722
764
|
}
|
723
765
|
},
|
724
766
|
{
|
725
|
-
"name": "
|
726
|
-
"default": "
|
727
|
-
"description": "
|
767
|
+
"name": "title",
|
768
|
+
"default": "-",
|
769
|
+
"description": "Toolbar title",
|
728
770
|
"options": [],
|
729
771
|
"value": {
|
730
|
-
"type": "
|
772
|
+
"type": "string",
|
731
773
|
"kind": "expression"
|
732
774
|
}
|
733
775
|
},
|
734
776
|
{
|
735
|
-
"name": "
|
736
|
-
"default": "`
|
737
|
-
"description": "
|
777
|
+
"name": "confirm-button-text",
|
778
|
+
"default": "`Confirm`",
|
779
|
+
"description": "Text of confirm button",
|
738
780
|
"options": [],
|
739
781
|
"value": {
|
740
782
|
"type": "string",
|
@@ -742,9 +784,9 @@
|
|
742
784
|
}
|
743
785
|
},
|
744
786
|
{
|
745
|
-
"name": "
|
746
|
-
"default": "`
|
747
|
-
"description": "
|
787
|
+
"name": "cancel-button-text",
|
788
|
+
"default": "`Cancel`",
|
789
|
+
"description": "Text of cancel button",
|
748
790
|
"options": [],
|
749
791
|
"value": {
|
750
792
|
"type": "string",
|
@@ -752,29 +794,29 @@
|
|
752
794
|
}
|
753
795
|
},
|
754
796
|
{
|
755
|
-
"name": "
|
756
|
-
"default": "
|
757
|
-
"description": "
|
797
|
+
"name": "area-list",
|
798
|
+
"default": "-",
|
799
|
+
"description": "Area list data",
|
758
800
|
"options": [],
|
759
801
|
"value": {
|
760
|
-
"type": "
|
802
|
+
"type": "object",
|
761
803
|
"kind": "expression"
|
762
804
|
}
|
763
805
|
},
|
764
806
|
{
|
765
|
-
"name": "
|
766
|
-
"default": "`
|
767
|
-
"description": "
|
807
|
+
"name": "columns-placeholder",
|
808
|
+
"default": "`[]`",
|
809
|
+
"description": "Placeholder of columns",
|
768
810
|
"options": [],
|
769
811
|
"value": {
|
770
|
-
"type": "
|
812
|
+
"type": "string[]",
|
771
813
|
"kind": "expression"
|
772
814
|
}
|
773
815
|
},
|
774
816
|
{
|
775
|
-
"name": "
|
817
|
+
"name": "loading",
|
776
818
|
"default": "`false`",
|
777
|
-
"description": "Whether to show
|
819
|
+
"description": "Whether to show loading prompt",
|
778
820
|
"options": [],
|
779
821
|
"value": {
|
780
822
|
"type": "boolean",
|
@@ -782,9 +824,9 @@
|
|
782
824
|
}
|
783
825
|
},
|
784
826
|
{
|
785
|
-
"name": "
|
827
|
+
"name": "readonly",
|
786
828
|
"default": "`false`",
|
787
|
-
"description": "Whether to
|
829
|
+
"description": "Whether to be readonly",
|
788
830
|
"options": [],
|
789
831
|
"value": {
|
790
832
|
"type": "boolean",
|
@@ -792,19 +834,19 @@
|
|
792
834
|
}
|
793
835
|
},
|
794
836
|
{
|
795
|
-
"name": "
|
796
|
-
"default": "
|
797
|
-
"description": "
|
837
|
+
"name": "option-height",
|
838
|
+
"default": "`44`",
|
839
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
798
840
|
"options": [],
|
799
841
|
"value": {
|
800
|
-
"type": "
|
842
|
+
"type": "number | string",
|
801
843
|
"kind": "expression"
|
802
844
|
}
|
803
845
|
},
|
804
846
|
{
|
805
|
-
"name": "
|
806
|
-
"default": "
|
807
|
-
"description": "
|
847
|
+
"name": "columns-num",
|
848
|
+
"default": "`3`",
|
849
|
+
"description": "Level of picker",
|
808
850
|
"options": [],
|
809
851
|
"value": {
|
810
852
|
"type": "number | string",
|
@@ -812,111 +854,137 @@
|
|
812
854
|
}
|
813
855
|
},
|
814
856
|
{
|
815
|
-
"name": "
|
816
|
-
"default": "
|
817
|
-
"description": "
|
857
|
+
"name": "visible-option-num",
|
858
|
+
"default": "`6`",
|
859
|
+
"description": "Count of visible columns",
|
818
860
|
"options": [],
|
819
861
|
"value": {
|
820
|
-
"type": "
|
862
|
+
"type": "number | string",
|
821
863
|
"kind": "expression"
|
822
864
|
}
|
823
865
|
},
|
824
866
|
{
|
825
|
-
"name": "
|
826
|
-
"default": "
|
827
|
-
"description": "
|
867
|
+
"name": "swipe-duration",
|
868
|
+
"default": "`1000`",
|
869
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
828
870
|
"options": [],
|
829
871
|
"value": {
|
830
|
-
"type": "
|
872
|
+
"type": "number | string",
|
831
873
|
"kind": "expression"
|
832
874
|
}
|
833
875
|
}
|
834
876
|
]
|
835
877
|
},
|
836
878
|
{
|
837
|
-
"name": "van-
|
879
|
+
"name": "van-address-edit",
|
838
880
|
"slots": [
|
839
881
|
{
|
840
|
-
"name": "
|
841
|
-
"description": "Custom
|
842
|
-
}
|
882
|
+
"name": "default",
|
883
|
+
"description": "Custom content below address detail"
|
884
|
+
}
|
885
|
+
],
|
886
|
+
"events": [
|
843
887
|
{
|
844
|
-
"name": "
|
845
|
-
"description": "
|
888
|
+
"name": "save",
|
889
|
+
"description": "Emitted when the save button is clicked",
|
890
|
+
"arguments": [
|
891
|
+
{
|
892
|
+
"name": "info",
|
893
|
+
"type": "AddressEditInfo"
|
894
|
+
}
|
895
|
+
]
|
846
896
|
},
|
847
897
|
{
|
848
|
-
"name": "
|
849
|
-
"description": "
|
898
|
+
"name": "focus",
|
899
|
+
"description": "Emitted when field is focused",
|
900
|
+
"arguments": [
|
901
|
+
{
|
902
|
+
"name": "key",
|
903
|
+
"type": "string"
|
904
|
+
}
|
905
|
+
]
|
850
906
|
},
|
851
907
|
{
|
852
|
-
"name": "
|
853
|
-
"description": "
|
908
|
+
"name": "delete",
|
909
|
+
"description": "Emitted when confirming delete",
|
910
|
+
"arguments": [
|
911
|
+
{
|
912
|
+
"name": "info",
|
913
|
+
"type": "AddressEditInfo"
|
914
|
+
}
|
915
|
+
]
|
854
916
|
},
|
855
917
|
{
|
856
|
-
"name": "
|
857
|
-
"description": "
|
918
|
+
"name": "select-search",
|
919
|
+
"description": "Emitted when a search result is selected",
|
920
|
+
"arguments": [
|
921
|
+
{
|
922
|
+
"name": "value",
|
923
|
+
"type": "string"
|
924
|
+
}
|
925
|
+
]
|
858
926
|
},
|
859
927
|
{
|
860
|
-
"name": "
|
861
|
-
"description": "
|
862
|
-
|
863
|
-
|
864
|
-
"events": [
|
928
|
+
"name": "click-area",
|
929
|
+
"description": "Emitted when the area field is clicked",
|
930
|
+
"arguments": []
|
931
|
+
},
|
865
932
|
{
|
866
|
-
"name": "
|
867
|
-
"description": "Emitted when
|
933
|
+
"name": "change-area",
|
934
|
+
"description": "Emitted when area changed",
|
868
935
|
"arguments": [
|
869
936
|
{
|
870
|
-
"name": "
|
871
|
-
"type": "
|
937
|
+
"name": "selectedOptions",
|
938
|
+
"type": "PickerOption[]"
|
872
939
|
}
|
873
940
|
]
|
874
941
|
},
|
875
942
|
{
|
876
|
-
"name": "
|
877
|
-
"description": "Emitted when
|
878
|
-
"arguments": [
|
943
|
+
"name": "change-detail",
|
944
|
+
"description": "Emitted when address detail changed",
|
945
|
+
"arguments": [
|
946
|
+
{
|
947
|
+
"name": "value",
|
948
|
+
"type": "string"
|
949
|
+
}
|
950
|
+
]
|
879
951
|
},
|
880
952
|
{
|
881
|
-
"name": "change",
|
882
|
-
"description": "Emitted when
|
953
|
+
"name": "change-default",
|
954
|
+
"description": "Emitted when switching default address",
|
883
955
|
"arguments": [
|
884
956
|
{
|
885
|
-
"name": "
|
886
|
-
"type": "
|
887
|
-
},
|
888
|
-
{
|
889
|
-
"name": "column",
|
890
|
-
"type": "index"
|
957
|
+
"name": "checked",
|
958
|
+
"type": "boolean"
|
891
959
|
}
|
892
960
|
]
|
893
961
|
}
|
894
962
|
],
|
895
963
|
"attributes": [
|
896
964
|
{
|
897
|
-
"name": "
|
965
|
+
"name": "area-list",
|
898
966
|
"default": "-",
|
899
|
-
"description": "
|
967
|
+
"description": "Area List",
|
900
968
|
"options": [],
|
901
969
|
"value": {
|
902
|
-
"type": "
|
970
|
+
"type": "object",
|
903
971
|
"kind": "expression"
|
904
972
|
}
|
905
973
|
},
|
906
974
|
{
|
907
|
-
"name": "
|
908
|
-
"default": "
|
909
|
-
"description": "
|
975
|
+
"name": "area-columns-placeholder",
|
976
|
+
"default": "`[]`",
|
977
|
+
"description": "placeholder of area columns",
|
910
978
|
"options": [],
|
911
979
|
"value": {
|
912
|
-
"type": "string",
|
980
|
+
"type": "string[]",
|
913
981
|
"kind": "expression"
|
914
982
|
}
|
915
983
|
},
|
916
984
|
{
|
917
|
-
"name": "
|
918
|
-
"default": "`
|
919
|
-
"description": "
|
985
|
+
"name": "area-placeholder",
|
986
|
+
"default": "`Area`",
|
987
|
+
"description": "placeholder of area input field",
|
920
988
|
"options": [],
|
921
989
|
"value": {
|
922
990
|
"type": "string",
|
@@ -924,39 +992,39 @@
|
|
924
992
|
}
|
925
993
|
},
|
926
994
|
{
|
927
|
-
"name": "
|
928
|
-
"default": "`
|
929
|
-
"description": "
|
995
|
+
"name": "address-info",
|
996
|
+
"default": "`{}`",
|
997
|
+
"description": "Address Info",
|
930
998
|
"options": [],
|
931
999
|
"value": {
|
932
|
-
"type": "
|
1000
|
+
"type": "AddressEditInfo",
|
933
1001
|
"kind": "expression"
|
934
1002
|
}
|
935
1003
|
},
|
936
1004
|
{
|
937
|
-
"name": "
|
938
|
-
"default": "
|
939
|
-
"description": "
|
1005
|
+
"name": "search-result",
|
1006
|
+
"default": "`[]`",
|
1007
|
+
"description": "Address search result",
|
940
1008
|
"options": [],
|
941
1009
|
"value": {
|
942
|
-
"type": "
|
1010
|
+
"type": "AddressEditSearchItem[]",
|
943
1011
|
"kind": "expression"
|
944
1012
|
}
|
945
1013
|
},
|
946
1014
|
{
|
947
|
-
"name": "
|
948
|
-
"default": "`
|
949
|
-
"description": "
|
1015
|
+
"name": "show-delete",
|
1016
|
+
"default": "`false`",
|
1017
|
+
"description": "Whether to show delete button",
|
950
1018
|
"options": [],
|
951
1019
|
"value": {
|
952
|
-
"type": "
|
1020
|
+
"type": "boolean",
|
953
1021
|
"kind": "expression"
|
954
1022
|
}
|
955
1023
|
},
|
956
1024
|
{
|
957
|
-
"name": "
|
1025
|
+
"name": "show-set-default",
|
958
1026
|
"default": "`false`",
|
959
|
-
"description": "Whether to show
|
1027
|
+
"description": "Whether to show default address switch",
|
960
1028
|
"options": [],
|
961
1029
|
"value": {
|
962
1030
|
"type": "boolean",
|
@@ -964,9 +1032,9 @@
|
|
964
1032
|
}
|
965
1033
|
},
|
966
1034
|
{
|
967
|
-
"name": "
|
1035
|
+
"name": "show-search-result",
|
968
1036
|
"default": "`false`",
|
969
|
-
"description": "Whether to
|
1037
|
+
"description": "Whether to show address search result",
|
970
1038
|
"options": [],
|
971
1039
|
"value": {
|
972
1040
|
"type": "boolean",
|
@@ -974,75 +1042,59 @@
|
|
974
1042
|
}
|
975
1043
|
},
|
976
1044
|
{
|
977
|
-
"name": "
|
978
|
-
"default": "`
|
979
|
-
"description": "
|
1045
|
+
"name": "show-area",
|
1046
|
+
"default": "`true`",
|
1047
|
+
"description": "Whether to show area cell",
|
980
1048
|
"options": [],
|
981
1049
|
"value": {
|
982
|
-
"type": "
|
1050
|
+
"type": "boolean",
|
983
1051
|
"kind": "expression"
|
984
1052
|
}
|
985
1053
|
},
|
986
1054
|
{
|
987
|
-
"name": "
|
988
|
-
"default": "`
|
989
|
-
"description": "
|
1055
|
+
"name": "show-detail",
|
1056
|
+
"default": "`true`",
|
1057
|
+
"description": "Whether to show detail field",
|
990
1058
|
"options": [],
|
991
1059
|
"value": {
|
992
|
-
"type": "
|
1060
|
+
"type": "boolean",
|
993
1061
|
"kind": "expression"
|
994
1062
|
}
|
995
1063
|
},
|
996
1064
|
{
|
997
|
-
"name": "
|
998
|
-
"default": "`
|
999
|
-
"description": "
|
1065
|
+
"name": "disable-area",
|
1066
|
+
"default": "`false`",
|
1067
|
+
"description": "Whether to disable area select",
|
1000
1068
|
"options": [],
|
1001
1069
|
"value": {
|
1002
|
-
"type": "
|
1070
|
+
"type": "boolean",
|
1003
1071
|
"kind": "expression"
|
1004
1072
|
}
|
1005
1073
|
},
|
1006
1074
|
{
|
1007
|
-
"name": "
|
1008
|
-
"default": "`
|
1009
|
-
"description": "
|
1075
|
+
"name": "save-button-text",
|
1076
|
+
"default": "`Save`",
|
1077
|
+
"description": "Save button text",
|
1010
1078
|
"options": [],
|
1011
1079
|
"value": {
|
1012
|
-
"type": "
|
1080
|
+
"type": "string",
|
1013
1081
|
"kind": "expression"
|
1014
1082
|
}
|
1015
1083
|
},
|
1016
1084
|
{
|
1017
|
-
"name": "
|
1018
|
-
"default": "
|
1019
|
-
"description": "
|
1085
|
+
"name": "delete-button-text",
|
1086
|
+
"default": "`Delete`",
|
1087
|
+
"description": "Delete button text",
|
1020
1088
|
"options": [],
|
1021
1089
|
"value": {
|
1022
|
-
"type": "
|
1090
|
+
"type": "string",
|
1023
1091
|
"kind": "expression"
|
1024
1092
|
}
|
1025
|
-
}
|
1026
|
-
]
|
1027
|
-
},
|
1028
|
-
{
|
1029
|
-
"name": "van-badge",
|
1030
|
-
"slots": [
|
1031
|
-
{
|
1032
|
-
"name": "default",
|
1033
|
-
"description": "Default slot"
|
1034
1093
|
},
|
1035
1094
|
{
|
1036
|
-
"name": "
|
1037
|
-
"
|
1038
|
-
|
1039
|
-
],
|
1040
|
-
"events": [],
|
1041
|
-
"attributes": [
|
1042
|
-
{
|
1043
|
-
"name": "content",
|
1044
|
-
"default": "-",
|
1045
|
-
"description": "Badge content",
|
1095
|
+
"name": "detail-rows",
|
1096
|
+
"default": "`1`",
|
1097
|
+
"description": "Detail input rows",
|
1046
1098
|
"options": [],
|
1047
1099
|
"value": {
|
1048
1100
|
"type": "number | string",
|
@@ -1050,19 +1102,19 @@
|
|
1050
1102
|
}
|
1051
1103
|
},
|
1052
1104
|
{
|
1053
|
-
"name": "
|
1054
|
-
"default": "
|
1055
|
-
"description": "
|
1105
|
+
"name": "detail-maxlength",
|
1106
|
+
"default": "`200`",
|
1107
|
+
"description": "Detail maxlength",
|
1056
1108
|
"options": [],
|
1057
1109
|
"value": {
|
1058
|
-
"type": "string",
|
1110
|
+
"type": "number | string",
|
1059
1111
|
"kind": "expression"
|
1060
1112
|
}
|
1061
1113
|
},
|
1062
1114
|
{
|
1063
|
-
"name": "
|
1115
|
+
"name": "is-saving",
|
1064
1116
|
"default": "`false`",
|
1065
|
-
"description": "Whether to show
|
1117
|
+
"description": "Whether to show save button loading status",
|
1066
1118
|
"options": [],
|
1067
1119
|
"value": {
|
1068
1120
|
"type": "boolean",
|
@@ -1070,209 +1122,125 @@
|
|
1070
1122
|
}
|
1071
1123
|
},
|
1072
1124
|
{
|
1073
|
-
"name": "
|
1074
|
-
"default": "
|
1075
|
-
"description": "
|
1125
|
+
"name": "is-deleting",
|
1126
|
+
"default": "`false`",
|
1127
|
+
"description": "Whether to show delete button loading status",
|
1076
1128
|
"options": [],
|
1077
1129
|
"value": {
|
1078
|
-
"type": "
|
1130
|
+
"type": "boolean",
|
1079
1131
|
"kind": "expression"
|
1080
1132
|
}
|
1081
1133
|
},
|
1082
1134
|
{
|
1083
|
-
"name": "
|
1135
|
+
"name": "tel-validator",
|
1084
1136
|
"default": "-",
|
1085
|
-
"description": "
|
1137
|
+
"description": "The method to validate tel",
|
1086
1138
|
"options": [],
|
1087
1139
|
"value": {
|
1088
|
-
"type": "
|
1140
|
+
"type": "(tel: string) => boolean",
|
1089
1141
|
"kind": "expression"
|
1090
1142
|
}
|
1091
1143
|
},
|
1092
1144
|
{
|
1093
|
-
"name": "
|
1094
|
-
"default": "
|
1095
|
-
"description": "
|
1145
|
+
"name": "tel-maxlength",
|
1146
|
+
"default": "-",
|
1147
|
+
"description": "Tel maxlength",
|
1096
1148
|
"options": [],
|
1097
1149
|
"value": {
|
1098
|
-
"type": "
|
1150
|
+
"type": "number | string",
|
1099
1151
|
"kind": "expression"
|
1100
1152
|
}
|
1101
1153
|
},
|
1102
1154
|
{
|
1103
|
-
"name": "
|
1104
|
-
"default": "
|
1105
|
-
"description": "
|
1155
|
+
"name": "validator",
|
1156
|
+
"default": "-",
|
1157
|
+
"description": "Custom validator",
|
1106
1158
|
"options": [],
|
1107
1159
|
"value": {
|
1108
|
-
"type": "string",
|
1160
|
+
"type": "(key, val) => string",
|
1109
1161
|
"kind": "expression"
|
1110
1162
|
}
|
1111
1163
|
}
|
1112
1164
|
]
|
1113
1165
|
},
|
1114
1166
|
{
|
1115
|
-
"name": "van-
|
1167
|
+
"name": "van-badge",
|
1116
1168
|
"slots": [
|
1117
1169
|
{
|
1118
1170
|
"name": "default",
|
1119
|
-
"description": "
|
1120
|
-
},
|
1121
|
-
{
|
1122
|
-
"name": "top",
|
1123
|
-
"description": "Custom content before list"
|
1124
|
-
},
|
1125
|
-
{
|
1126
|
-
"name": "item-bottom",
|
1127
|
-
"description": "Custom content after list item"
|
1128
|
-
},
|
1129
|
-
{
|
1130
|
-
"name": "tag",
|
1131
|
-
"description": "Custom tag of list item"
|
1132
|
-
}
|
1133
|
-
],
|
1134
|
-
"events": [
|
1135
|
-
{
|
1136
|
-
"name": "add",
|
1137
|
-
"description": "Emitted when the add button is clicked",
|
1138
|
-
"arguments": []
|
1139
|
-
},
|
1140
|
-
{
|
1141
|
-
"name": "edit",
|
1142
|
-
"description": "Emitted when the edit icon of address is clicked",
|
1143
|
-
"arguments": [
|
1144
|
-
{
|
1145
|
-
"name": "item",
|
1146
|
-
"type": "Address"
|
1147
|
-
},
|
1148
|
-
{
|
1149
|
-
"name": "index",
|
1150
|
-
"type": "number"
|
1151
|
-
}
|
1152
|
-
]
|
1153
|
-
},
|
1154
|
-
{
|
1155
|
-
"name": "select",
|
1156
|
-
"description": "Emitted when an address is selected",
|
1157
|
-
"arguments": [
|
1158
|
-
{
|
1159
|
-
"name": "item",
|
1160
|
-
"type": "Address"
|
1161
|
-
},
|
1162
|
-
{
|
1163
|
-
"name": "index",
|
1164
|
-
"type": "number"
|
1165
|
-
}
|
1166
|
-
]
|
1167
|
-
},
|
1168
|
-
{
|
1169
|
-
"name": "edit-disabled",
|
1170
|
-
"description": "Emitted when the edit icon of disabled address is clicked",
|
1171
|
-
"arguments": [
|
1172
|
-
{
|
1173
|
-
"name": "item",
|
1174
|
-
"type": "Address"
|
1175
|
-
},
|
1176
|
-
{
|
1177
|
-
"name": "index",
|
1178
|
-
"type": "number"
|
1179
|
-
}
|
1180
|
-
]
|
1181
|
-
},
|
1182
|
-
{
|
1183
|
-
"name": "select-disabled",
|
1184
|
-
"description": "Emitted when a disabled address is selected",
|
1185
|
-
"arguments": [
|
1186
|
-
{
|
1187
|
-
"name": "item",
|
1188
|
-
"type": "Address"
|
1189
|
-
},
|
1190
|
-
{
|
1191
|
-
"name": "index",
|
1192
|
-
"type": "number"
|
1193
|
-
}
|
1194
|
-
]
|
1171
|
+
"description": "Default slot"
|
1195
1172
|
},
|
1196
1173
|
{
|
1197
|
-
"name": "
|
1198
|
-
"description": "
|
1199
|
-
"arguments": [
|
1200
|
-
{
|
1201
|
-
"name": "item",
|
1202
|
-
"type": "Address"
|
1203
|
-
},
|
1204
|
-
{
|
1205
|
-
"name": "index",
|
1206
|
-
"type": "number"
|
1207
|
-
}
|
1208
|
-
]
|
1174
|
+
"name": "content",
|
1175
|
+
"description": "Custom badge content"
|
1209
1176
|
}
|
1210
1177
|
],
|
1178
|
+
"events": [],
|
1211
1179
|
"attributes": [
|
1212
1180
|
{
|
1213
|
-
"name": "
|
1181
|
+
"name": "content",
|
1214
1182
|
"default": "-",
|
1215
|
-
"description": "
|
1183
|
+
"description": "Badge content",
|
1216
1184
|
"options": [],
|
1217
1185
|
"value": {
|
1218
|
-
"type": "string",
|
1186
|
+
"type": "number | string",
|
1219
1187
|
"kind": "expression"
|
1220
1188
|
}
|
1221
1189
|
},
|
1222
1190
|
{
|
1223
|
-
"name": "
|
1224
|
-
"default": "`
|
1225
|
-
"description": "
|
1191
|
+
"name": "color",
|
1192
|
+
"default": "`#ee0a24`",
|
1193
|
+
"description": "Background color",
|
1226
1194
|
"options": [],
|
1227
1195
|
"value": {
|
1228
|
-
"type": "
|
1196
|
+
"type": "string",
|
1229
1197
|
"kind": "expression"
|
1230
1198
|
}
|
1231
1199
|
},
|
1232
1200
|
{
|
1233
|
-
"name": "
|
1234
|
-
"default": "`
|
1235
|
-
"description": "
|
1201
|
+
"name": "dot",
|
1202
|
+
"default": "`false`",
|
1203
|
+
"description": "Whether to show dot",
|
1236
1204
|
"options": [],
|
1237
1205
|
"value": {
|
1238
|
-
"type": "
|
1206
|
+
"type": "boolean",
|
1239
1207
|
"kind": "expression"
|
1240
1208
|
}
|
1241
1209
|
},
|
1242
1210
|
{
|
1243
|
-
"name": "
|
1211
|
+
"name": "max",
|
1244
1212
|
"default": "-",
|
1245
|
-
"description": "
|
1213
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1246
1214
|
"options": [],
|
1247
1215
|
"value": {
|
1248
|
-
"type": "string",
|
1216
|
+
"type": "number | string",
|
1249
1217
|
"kind": "expression"
|
1250
1218
|
}
|
1251
1219
|
},
|
1252
1220
|
{
|
1253
|
-
"name": "
|
1254
|
-
"default": "
|
1255
|
-
"description": "
|
1221
|
+
"name": "offset",
|
1222
|
+
"default": "-",
|
1223
|
+
"description": "Offset of badge dot",
|
1256
1224
|
"options": [],
|
1257
1225
|
"value": {
|
1258
|
-
"type": "
|
1226
|
+
"type": "[number | string, number | string]",
|
1259
1227
|
"kind": "expression"
|
1260
1228
|
}
|
1261
1229
|
},
|
1262
1230
|
{
|
1263
|
-
"name": "
|
1264
|
-
"default": "`
|
1265
|
-
"description": "
|
1231
|
+
"name": "show-zero",
|
1232
|
+
"default": "`true`",
|
1233
|
+
"description": "Whether to show badge when content is zero",
|
1266
1234
|
"options": [],
|
1267
1235
|
"value": {
|
1268
|
-
"type": "
|
1236
|
+
"type": "boolean",
|
1269
1237
|
"kind": "expression"
|
1270
1238
|
}
|
1271
1239
|
},
|
1272
1240
|
{
|
1273
|
-
"name": "
|
1274
|
-
"default": "-",
|
1275
|
-
"description": "
|
1241
|
+
"name": "position",
|
1242
|
+
"default": "`top-right`",
|
1243
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1276
1244
|
"options": [],
|
1277
1245
|
"value": {
|
1278
1246
|
"type": "string",
|
@@ -1660,7 +1628,7 @@
|
|
1660
1628
|
},
|
1661
1629
|
{
|
1662
1630
|
"name": "color",
|
1663
|
-
"default": "`#
|
1631
|
+
"default": "`#1989fa`",
|
1664
1632
|
"description": "Color for the bottom button and selected date",
|
1665
1633
|
"options": [],
|
1666
1634
|
"value": {
|
@@ -2245,7 +2213,7 @@
|
|
2245
2213
|
},
|
2246
2214
|
{
|
2247
2215
|
"name": "active-color",
|
2248
|
-
"default": "`#
|
2216
|
+
"default": "`#1989fa`",
|
2249
2217
|
"description": "Active color",
|
2250
2218
|
"options": [],
|
2251
2219
|
"value": {
|
@@ -3257,43 +3225,6 @@
|
|
3257
3225
|
}
|
3258
3226
|
]
|
3259
3227
|
},
|
3260
|
-
{
|
3261
|
-
"name": "van-config-provider",
|
3262
|
-
"slots": [],
|
3263
|
-
"events": [],
|
3264
|
-
"attributes": [
|
3265
|
-
{
|
3266
|
-
"name": "theme-vars",
|
3267
|
-
"default": "-",
|
3268
|
-
"description": "Theme variables",
|
3269
|
-
"options": [],
|
3270
|
-
"value": {
|
3271
|
-
"type": "object",
|
3272
|
-
"kind": "expression"
|
3273
|
-
}
|
3274
|
-
},
|
3275
|
-
{
|
3276
|
-
"name": "tag",
|
3277
|
-
"default": "`div`",
|
3278
|
-
"description": "HTML Tag of root element",
|
3279
|
-
"options": [],
|
3280
|
-
"value": {
|
3281
|
-
"type": "string",
|
3282
|
-
"kind": "expression"
|
3283
|
-
}
|
3284
|
-
},
|
3285
|
-
{
|
3286
|
-
"name": "icon-prefix",
|
3287
|
-
"default": "`van-icon`",
|
3288
|
-
"description": "Icon className prefix",
|
3289
|
-
"options": [],
|
3290
|
-
"value": {
|
3291
|
-
"type": "string",
|
3292
|
-
"kind": "expression"
|
3293
|
-
}
|
3294
|
-
}
|
3295
|
-
]
|
3296
|
-
},
|
3297
3228
|
{
|
3298
3229
|
"name": "van-contact-card",
|
3299
3230
|
"slots": [],
|
@@ -3460,6 +3391,53 @@
|
|
3460
3391
|
}
|
3461
3392
|
]
|
3462
3393
|
},
|
3394
|
+
{
|
3395
|
+
"name": "van-config-provider",
|
3396
|
+
"slots": [],
|
3397
|
+
"events": [],
|
3398
|
+
"attributes": [
|
3399
|
+
{
|
3400
|
+
"name": "theme",
|
3401
|
+
"default": "`light`",
|
3402
|
+
"description": "Theme mode, can be set to `dark`",
|
3403
|
+
"options": [],
|
3404
|
+
"value": {
|
3405
|
+
"type": "ConfigProviderTheme",
|
3406
|
+
"kind": "expression"
|
3407
|
+
}
|
3408
|
+
},
|
3409
|
+
{
|
3410
|
+
"name": "theme-vars",
|
3411
|
+
"default": "-",
|
3412
|
+
"description": "Theme variables",
|
3413
|
+
"options": [],
|
3414
|
+
"value": {
|
3415
|
+
"type": "object",
|
3416
|
+
"kind": "expression"
|
3417
|
+
}
|
3418
|
+
},
|
3419
|
+
{
|
3420
|
+
"name": "tag",
|
3421
|
+
"default": "`div`",
|
3422
|
+
"description": "HTML Tag of root element",
|
3423
|
+
"options": [],
|
3424
|
+
"value": {
|
3425
|
+
"type": "string",
|
3426
|
+
"kind": "expression"
|
3427
|
+
}
|
3428
|
+
},
|
3429
|
+
{
|
3430
|
+
"name": "icon-prefix",
|
3431
|
+
"default": "`van-icon`",
|
3432
|
+
"description": "Icon className prefix",
|
3433
|
+
"options": [],
|
3434
|
+
"value": {
|
3435
|
+
"type": "string",
|
3436
|
+
"kind": "expression"
|
3437
|
+
}
|
3438
|
+
}
|
3439
|
+
]
|
3440
|
+
},
|
3463
3441
|
{
|
3464
3442
|
"name": "van-contact-list",
|
3465
3443
|
"slots": [],
|
@@ -3874,7 +3852,7 @@
|
|
3874
3852
|
]
|
3875
3853
|
},
|
3876
3854
|
{
|
3877
|
-
"name": "van-
|
3855
|
+
"name": "van-date-picker",
|
3878
3856
|
"slots": [
|
3879
3857
|
{
|
3880
3858
|
"name": "default",
|
@@ -3907,39 +3885,71 @@
|
|
3907
3885
|
],
|
3908
3886
|
"events": [
|
3909
3887
|
{
|
3910
|
-
"name": "
|
3911
|
-
"description": "Emitted when
|
3888
|
+
"name": "confirm",
|
3889
|
+
"description": "Emitted when the confirm button is clicked",
|
3912
3890
|
"arguments": [
|
3913
3891
|
{
|
3914
|
-
"name": "
|
3915
|
-
"type": "current value"
|
3892
|
+
"name": "{ selectedValues, selectedOptions }"
|
3916
3893
|
}
|
3917
3894
|
]
|
3918
3895
|
},
|
3919
3896
|
{
|
3920
|
-
"name": "
|
3921
|
-
"description": "Emitted when the
|
3897
|
+
"name": "cancel",
|
3898
|
+
"description": "Emitted when the cancel button is clicked",
|
3922
3899
|
"arguments": [
|
3923
3900
|
{
|
3924
|
-
"name": "
|
3925
|
-
"type": "current value"
|
3901
|
+
"name": "{ selectedValues, selectedOptions }"
|
3926
3902
|
}
|
3927
3903
|
]
|
3928
3904
|
},
|
3929
3905
|
{
|
3930
|
-
"name": "
|
3931
|
-
"description": "Emitted when
|
3932
|
-
"arguments": [
|
3906
|
+
"name": "change",
|
3907
|
+
"description": "Emitted when current option is changed",
|
3908
|
+
"arguments": [
|
3909
|
+
{
|
3910
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
3911
|
+
}
|
3912
|
+
]
|
3933
3913
|
}
|
3934
3914
|
],
|
3935
3915
|
"attributes": [
|
3936
3916
|
{
|
3937
|
-
"name": "
|
3938
|
-
"default": "`
|
3939
|
-
"description": "
|
3917
|
+
"name": "v-model",
|
3918
|
+
"default": "`[]`",
|
3919
|
+
"description": "Current date",
|
3940
3920
|
"options": [],
|
3941
3921
|
"value": {
|
3942
|
-
"type": "string",
|
3922
|
+
"type": "string[]",
|
3923
|
+
"kind": "expression"
|
3924
|
+
}
|
3925
|
+
},
|
3926
|
+
{
|
3927
|
+
"name": "columns-type",
|
3928
|
+
"default": "`['year', 'month', 'day']`",
|
3929
|
+
"description": "Columns type",
|
3930
|
+
"options": [],
|
3931
|
+
"value": {
|
3932
|
+
"type": "string[]",
|
3933
|
+
"kind": "expression"
|
3934
|
+
}
|
3935
|
+
},
|
3936
|
+
{
|
3937
|
+
"name": "min-date",
|
3938
|
+
"default": "Ten years ago on January 1",
|
3939
|
+
"description": "Min date",
|
3940
|
+
"options": [],
|
3941
|
+
"value": {
|
3942
|
+
"type": "Date",
|
3943
|
+
"kind": "expression"
|
3944
|
+
}
|
3945
|
+
},
|
3946
|
+
{
|
3947
|
+
"name": "max-date",
|
3948
|
+
"default": "Ten years later on December 31",
|
3949
|
+
"description": "Max date",
|
3950
|
+
"options": [],
|
3951
|
+
"value": {
|
3952
|
+
"type": "Date",
|
3943
3953
|
"kind": "expression"
|
3944
3954
|
}
|
3945
3955
|
},
|
@@ -3993,124 +4003,40 @@
|
|
3993
4003
|
"kind": "expression"
|
3994
4004
|
}
|
3995
4005
|
},
|
3996
|
-
{
|
3997
|
-
"name": "readonly",
|
3998
|
-
"default": "`false`",
|
3999
|
-
"description": "Whether to be readonly",
|
4000
|
-
"options": [],
|
4001
|
-
"value": {
|
4002
|
-
"type": "boolean",
|
4003
|
-
"kind": "expression"
|
4004
|
-
}
|
4005
|
-
},
|
4006
|
-
{
|
4007
|
-
"name": "filter",
|
4008
|
-
"default": "-",
|
4009
|
-
"description": "Option filter",
|
4010
|
-
"options": [],
|
4011
|
-
"value": {
|
4012
|
-
"type": "(type: string, values: string[]) => string[]",
|
4013
|
-
"kind": "expression"
|
4014
|
-
}
|
4015
|
-
},
|
4016
|
-
{
|
4017
|
-
"name": "formatter",
|
4018
|
-
"default": "-",
|
4019
|
-
"description": "Option text formatter",
|
4020
|
-
"options": [],
|
4021
|
-
"value": {
|
4022
|
-
"type": "(type: string, value: string) => string",
|
4023
|
-
"kind": "expression"
|
4024
|
-
}
|
4025
|
-
},
|
4026
|
-
{
|
4027
|
-
"name": "columns-order",
|
4028
|
-
"default": "-",
|
4029
|
-
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
|
4030
|
-
"options": [],
|
4031
|
-
"value": {
|
4032
|
-
"type": "string[]",
|
4033
|
-
"kind": "expression"
|
4034
|
-
}
|
4035
|
-
},
|
4036
|
-
{
|
4037
|
-
"name": "item-height",
|
4038
|
-
"default": "`44`",
|
4039
|
-
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
4040
|
-
"options": [],
|
4041
|
-
"value": {
|
4042
|
-
"type": "number | string",
|
4043
|
-
"kind": "expression"
|
4044
|
-
}
|
4045
|
-
},
|
4046
|
-
{
|
4047
|
-
"name": "visible-item-count",
|
4048
|
-
"default": "`6`",
|
4049
|
-
"description": "Count of visible columns",
|
4050
|
-
"options": [],
|
4051
|
-
"value": {
|
4052
|
-
"type": "number | string",
|
4053
|
-
"kind": "expression"
|
4054
|
-
}
|
4055
|
-
},
|
4056
|
-
{
|
4057
|
-
"name": "swipe-duration",
|
4058
|
-
"default": "`1000`",
|
4059
|
-
"description": "Duration of the momentum animation, unit `ms`",
|
4060
|
-
"options": [],
|
4061
|
-
"value": {
|
4062
|
-
"type": "number | string",
|
4063
|
-
"kind": "expression"
|
4064
|
-
}
|
4065
|
-
}
|
4066
|
-
]
|
4067
|
-
},
|
4068
|
-
{
|
4069
|
-
"name": "van-date-picker",
|
4070
|
-
"slots": [],
|
4071
|
-
"events": [],
|
4072
|
-
"attributes": [
|
4073
|
-
{
|
4074
|
-
"name": "min-date",
|
4075
|
-
"default": "Ten years ago on January 1",
|
4076
|
-
"description": "Min date",
|
4006
|
+
{
|
4007
|
+
"name": "readonly",
|
4008
|
+
"default": "`false`",
|
4009
|
+
"description": "Whether to be readonly",
|
4077
4010
|
"options": [],
|
4078
4011
|
"value": {
|
4079
|
-
"type": "
|
4012
|
+
"type": "boolean",
|
4080
4013
|
"kind": "expression"
|
4081
4014
|
}
|
4082
4015
|
},
|
4083
4016
|
{
|
4084
|
-
"name": "
|
4085
|
-
"default": "
|
4086
|
-
"description": "
|
4017
|
+
"name": "filter",
|
4018
|
+
"default": "-",
|
4019
|
+
"description": "Option filter",
|
4087
4020
|
"options": [],
|
4088
4021
|
"value": {
|
4089
|
-
"type": "
|
4022
|
+
"type": "(type: string, options: PickerOption[]) => PickerOption[]",
|
4090
4023
|
"kind": "expression"
|
4091
4024
|
}
|
4092
|
-
}
|
4093
|
-
]
|
4094
|
-
},
|
4095
|
-
{
|
4096
|
-
"name": "van-time-picker",
|
4097
|
-
"slots": [],
|
4098
|
-
"events": [],
|
4099
|
-
"attributes": [
|
4025
|
+
},
|
4100
4026
|
{
|
4101
|
-
"name": "
|
4102
|
-
"default": "
|
4103
|
-
"description": "
|
4027
|
+
"name": "formatter",
|
4028
|
+
"default": "-",
|
4029
|
+
"description": "Option formatter",
|
4104
4030
|
"options": [],
|
4105
4031
|
"value": {
|
4106
|
-
"type": "
|
4032
|
+
"type": "(type: string, option: PickerOption) => PickerOption",
|
4107
4033
|
"kind": "expression"
|
4108
4034
|
}
|
4109
4035
|
},
|
4110
4036
|
{
|
4111
|
-
"name": "
|
4112
|
-
"default": "`
|
4113
|
-
"description": "
|
4037
|
+
"name": "option-height",
|
4038
|
+
"default": "`44`",
|
4039
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
4114
4040
|
"options": [],
|
4115
4041
|
"value": {
|
4116
4042
|
"type": "number | string",
|
@@ -4118,9 +4044,9 @@
|
|
4118
4044
|
}
|
4119
4045
|
},
|
4120
4046
|
{
|
4121
|
-
"name": "
|
4122
|
-
"default": "`
|
4123
|
-
"description": "
|
4047
|
+
"name": "visible-option-num",
|
4048
|
+
"default": "`6`",
|
4049
|
+
"description": "Count of visible columns",
|
4124
4050
|
"options": [],
|
4125
4051
|
"value": {
|
4126
4052
|
"type": "number | string",
|
@@ -4128,9 +4054,9 @@
|
|
4128
4054
|
}
|
4129
4055
|
},
|
4130
4056
|
{
|
4131
|
-
"name": "
|
4132
|
-
"default": "`
|
4133
|
-
"description": "
|
4057
|
+
"name": "swipe-duration",
|
4058
|
+
"default": "`1000`",
|
4059
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
4134
4060
|
"options": [],
|
4135
4061
|
"value": {
|
4136
4062
|
"type": "number | string",
|
@@ -4469,7 +4395,7 @@
|
|
4469
4395
|
"attributes": [
|
4470
4396
|
{
|
4471
4397
|
"name": "active-color",
|
4472
|
-
"default": "`#
|
4398
|
+
"default": "`#1989fa`",
|
4473
4399
|
"description": "Active color of title and option",
|
4474
4400
|
"options": [],
|
4475
4401
|
"value": {
|
@@ -4656,56 +4582,6 @@
|
|
4656
4582
|
}
|
4657
4583
|
]
|
4658
4584
|
},
|
4659
|
-
{
|
4660
|
-
"name": "van-empty",
|
4661
|
-
"slots": [
|
4662
|
-
{
|
4663
|
-
"name": "default",
|
4664
|
-
"description": "Custom bottom content"
|
4665
|
-
},
|
4666
|
-
{
|
4667
|
-
"name": "image",
|
4668
|
-
"description": "Custom image"
|
4669
|
-
},
|
4670
|
-
{
|
4671
|
-
"name": "description",
|
4672
|
-
"description": "Custom description"
|
4673
|
-
}
|
4674
|
-
],
|
4675
|
-
"events": [],
|
4676
|
-
"attributes": [
|
4677
|
-
{
|
4678
|
-
"name": "image",
|
4679
|
-
"default": "`default`",
|
4680
|
-
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
4681
|
-
"options": [],
|
4682
|
-
"value": {
|
4683
|
-
"type": "string",
|
4684
|
-
"kind": "expression"
|
4685
|
-
}
|
4686
|
-
},
|
4687
|
-
{
|
4688
|
-
"name": "image-size",
|
4689
|
-
"default": "-",
|
4690
|
-
"description": "Image size",
|
4691
|
-
"options": [],
|
4692
|
-
"value": {
|
4693
|
-
"type": "number | string | Array",
|
4694
|
-
"kind": "expression"
|
4695
|
-
}
|
4696
|
-
},
|
4697
|
-
{
|
4698
|
-
"name": "description",
|
4699
|
-
"default": "-",
|
4700
|
-
"description": "Description",
|
4701
|
-
"options": [],
|
4702
|
-
"value": {
|
4703
|
-
"type": "string",
|
4704
|
-
"kind": "expression"
|
4705
|
-
}
|
4706
|
-
}
|
4707
|
-
]
|
4708
|
-
},
|
4709
4585
|
{
|
4710
4586
|
"name": "van-field",
|
4711
4587
|
"slots": [
|
@@ -5114,253 +4990,90 @@
|
|
5114
4990
|
{
|
5115
4991
|
"name": "label-align",
|
5116
4992
|
"default": "`left`",
|
5117
|
-
"description": "Label align, can be set to `center` `right`",
|
5118
|
-
"options": [],
|
5119
|
-
"value": {
|
5120
|
-
"type": "FieldTextAlign",
|
5121
|
-
"kind": "expression"
|
5122
|
-
}
|
5123
|
-
},
|
5124
|
-
{
|
5125
|
-
"name": "input-align",
|
5126
|
-
"default": "`left`",
|
5127
|
-
"description": "Input align, can be set to `center` `right`",
|
5128
|
-
"options": [],
|
5129
|
-
"value": {
|
5130
|
-
"type": "FieldTextAlign",
|
5131
|
-
"kind": "expression"
|
5132
|
-
}
|
5133
|
-
},
|
5134
|
-
{
|
5135
|
-
"name": "autosize",
|
5136
|
-
"default": "`false`",
|
5137
|
-
"description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }",
|
5138
|
-
"options": [],
|
5139
|
-
"value": {
|
5140
|
-
"type": "boolean | FieldAutosizeConfig",
|
5141
|
-
"kind": "expression"
|
5142
|
-
}
|
5143
|
-
},
|
5144
|
-
{
|
5145
|
-
"name": "left-icon",
|
5146
|
-
"default": "-",
|
5147
|
-
"description": "Left side icon name",
|
5148
|
-
"options": [],
|
5149
|
-
"value": {
|
5150
|
-
"type": "string",
|
5151
|
-
"kind": "expression"
|
5152
|
-
}
|
5153
|
-
},
|
5154
|
-
{
|
5155
|
-
"name": "right-icon",
|
5156
|
-
"default": "-",
|
5157
|
-
"description": "Right side icon name",
|
5158
|
-
"options": [],
|
5159
|
-
"value": {
|
5160
|
-
"type": "string",
|
5161
|
-
"kind": "expression"
|
5162
|
-
}
|
5163
|
-
},
|
5164
|
-
{
|
5165
|
-
"name": "icon-prefix",
|
5166
|
-
"default": "`van-icon`",
|
5167
|
-
"description": "Icon className prefix",
|
5168
|
-
"options": [],
|
5169
|
-
"value": {
|
5170
|
-
"type": "string",
|
5171
|
-
"kind": "expression"
|
5172
|
-
}
|
5173
|
-
},
|
5174
|
-
{
|
5175
|
-
"name": "rules",
|
5176
|
-
"default": "-",
|
5177
|
-
"description": "Form validation rules",
|
5178
|
-
"options": [],
|
5179
|
-
"value": {
|
5180
|
-
"type": "FieldRule[]",
|
5181
|
-
"kind": "expression"
|
5182
|
-
}
|
5183
|
-
},
|
5184
|
-
{
|
5185
|
-
"name": "autocomplete",
|
5186
|
-
"default": "-",
|
5187
|
-
"description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
5188
|
-
"options": [],
|
5189
|
-
"value": {
|
5190
|
-
"type": "string",
|
5191
|
-
"kind": "expression"
|
5192
|
-
}
|
5193
|
-
},
|
5194
|
-
{
|
5195
|
-
"name": "enterkeyhint",
|
5196
|
-
"default": "-",
|
5197
|
-
"description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>",
|
5198
|
-
"options": [],
|
5199
|
-
"value": {
|
5200
|
-
"type": "string",
|
5201
|
-
"kind": "expression"
|
5202
|
-
}
|
5203
|
-
}
|
5204
|
-
]
|
5205
|
-
},
|
5206
|
-
{
|
5207
|
-
"name": "van-form",
|
5208
|
-
"slots": [
|
5209
|
-
{
|
5210
|
-
"name": "default",
|
5211
|
-
"description": "Form content"
|
5212
|
-
}
|
5213
|
-
],
|
5214
|
-
"events": [
|
5215
|
-
{
|
5216
|
-
"name": "submit",
|
5217
|
-
"description": "Emitted after submitting the form and validation passed",
|
5218
|
-
"arguments": [
|
5219
|
-
{
|
5220
|
-
"name": "values",
|
5221
|
-
"type": "object"
|
5222
|
-
}
|
5223
|
-
]
|
5224
|
-
},
|
5225
|
-
{
|
5226
|
-
"name": "failed",
|
5227
|
-
"description": "Emitted after submitting the form and validation failed",
|
5228
|
-
"arguments": [
|
5229
|
-
{
|
5230
|
-
"name": "errorInfo",
|
5231
|
-
"type": "{ values: object, errors: object[] }"
|
5232
|
-
}
|
5233
|
-
]
|
5234
|
-
}
|
5235
|
-
],
|
5236
|
-
"attributes": [
|
5237
|
-
{
|
5238
|
-
"name": "label-width",
|
5239
|
-
"default": "`6.2em`",
|
5240
|
-
"description": "Field label width",
|
5241
|
-
"options": [],
|
5242
|
-
"value": {
|
5243
|
-
"type": "number | string",
|
5244
|
-
"kind": "expression"
|
5245
|
-
}
|
5246
|
-
},
|
5247
|
-
{
|
5248
|
-
"name": "label-align",
|
5249
|
-
"default": "`left`",
|
5250
|
-
"description": "Field label align, can be set to `center` `right`",
|
5251
|
-
"options": [],
|
5252
|
-
"value": {
|
5253
|
-
"type": "string",
|
5254
|
-
"kind": "expression"
|
5255
|
-
}
|
5256
|
-
},
|
5257
|
-
{
|
5258
|
-
"name": "input-align",
|
5259
|
-
"default": "`left`",
|
5260
|
-
"description": "Field input align, can be set to `center` `right`",
|
5261
|
-
"options": [],
|
5262
|
-
"value": {
|
5263
|
-
"type": "string",
|
5264
|
-
"kind": "expression"
|
5265
|
-
}
|
5266
|
-
},
|
5267
|
-
{
|
5268
|
-
"name": "error-message-align",
|
5269
|
-
"default": "`left`",
|
5270
|
-
"description": "Error message align, can be set to `center` `right`",
|
5271
|
-
"options": [],
|
5272
|
-
"value": {
|
5273
|
-
"type": "string",
|
5274
|
-
"kind": "expression"
|
5275
|
-
}
|
5276
|
-
},
|
5277
|
-
{
|
5278
|
-
"name": "validate-trigger",
|
5279
|
-
"default": "`onBlur`",
|
5280
|
-
"description": "When to validate the form, can be set to `onChange`、`onSubmit`",
|
4993
|
+
"description": "Label align, can be set to `center` `right`",
|
5281
4994
|
"options": [],
|
5282
4995
|
"value": {
|
5283
|
-
"type": "
|
4996
|
+
"type": "FieldTextAlign",
|
5284
4997
|
"kind": "expression"
|
5285
4998
|
}
|
5286
4999
|
},
|
5287
5000
|
{
|
5288
|
-
"name": "
|
5289
|
-
"default": "`
|
5290
|
-
"description": "
|
5001
|
+
"name": "input-align",
|
5002
|
+
"default": "`left`",
|
5003
|
+
"description": "Input align, can be set to `center` `right`",
|
5291
5004
|
"options": [],
|
5292
5005
|
"value": {
|
5293
|
-
"type": "
|
5006
|
+
"type": "FieldTextAlign",
|
5294
5007
|
"kind": "expression"
|
5295
5008
|
}
|
5296
5009
|
},
|
5297
5010
|
{
|
5298
|
-
"name": "
|
5011
|
+
"name": "autosize",
|
5299
5012
|
"default": "`false`",
|
5300
|
-
"description": "
|
5013
|
+
"description": "Textarea auto resize, can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }",
|
5301
5014
|
"options": [],
|
5302
5015
|
"value": {
|
5303
|
-
"type": "boolean",
|
5016
|
+
"type": "boolean | FieldAutosizeConfig",
|
5304
5017
|
"kind": "expression"
|
5305
5018
|
}
|
5306
5019
|
},
|
5307
5020
|
{
|
5308
|
-
"name": "
|
5309
|
-
"default": "
|
5310
|
-
"description": "
|
5021
|
+
"name": "left-icon",
|
5022
|
+
"default": "-",
|
5023
|
+
"description": "Left side icon name",
|
5311
5024
|
"options": [],
|
5312
5025
|
"value": {
|
5313
|
-
"type": "
|
5026
|
+
"type": "string",
|
5314
5027
|
"kind": "expression"
|
5315
5028
|
}
|
5316
5029
|
},
|
5317
5030
|
{
|
5318
|
-
"name": "
|
5319
|
-
"default": "
|
5320
|
-
"description": "
|
5031
|
+
"name": "right-icon",
|
5032
|
+
"default": "-",
|
5033
|
+
"description": "Right side icon name",
|
5321
5034
|
"options": [],
|
5322
5035
|
"value": {
|
5323
|
-
"type": "
|
5036
|
+
"type": "string",
|
5324
5037
|
"kind": "expression"
|
5325
5038
|
}
|
5326
5039
|
},
|
5327
5040
|
{
|
5328
|
-
"name": "
|
5329
|
-
"default": "`
|
5330
|
-
"description": "
|
5041
|
+
"name": "icon-prefix",
|
5042
|
+
"default": "`van-icon`",
|
5043
|
+
"description": "Icon className prefix",
|
5331
5044
|
"options": [],
|
5332
5045
|
"value": {
|
5333
|
-
"type": "
|
5046
|
+
"type": "string",
|
5334
5047
|
"kind": "expression"
|
5335
5048
|
}
|
5336
5049
|
},
|
5337
5050
|
{
|
5338
|
-
"name": "
|
5339
|
-
"default": "
|
5340
|
-
"description": "
|
5051
|
+
"name": "rules",
|
5052
|
+
"default": "-",
|
5053
|
+
"description": "Form validation rules",
|
5341
5054
|
"options": [],
|
5342
5055
|
"value": {
|
5343
|
-
"type": "
|
5056
|
+
"type": "FieldRule[]",
|
5344
5057
|
"kind": "expression"
|
5345
5058
|
}
|
5346
5059
|
},
|
5347
5060
|
{
|
5348
|
-
"name": "
|
5349
|
-
"default": "
|
5350
|
-
"description": "
|
5061
|
+
"name": "autocomplete",
|
5062
|
+
"default": "-",
|
5063
|
+
"description": "HTML native attribute, see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
5351
5064
|
"options": [],
|
5352
5065
|
"value": {
|
5353
|
-
"type": "
|
5066
|
+
"type": "string",
|
5354
5067
|
"kind": "expression"
|
5355
5068
|
}
|
5356
5069
|
},
|
5357
5070
|
{
|
5358
|
-
"name": "
|
5359
|
-
"default": "
|
5360
|
-
"description": "
|
5071
|
+
"name": "enterkeyhint",
|
5072
|
+
"default": "-",
|
5073
|
+
"description": "HTML native attribute, see [MDN - enterkeyhint](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)<br>",
|
5361
5074
|
"options": [],
|
5362
5075
|
"value": {
|
5363
|
-
"type": "
|
5076
|
+
"type": "string",
|
5364
5077
|
"kind": "expression"
|
5365
5078
|
}
|
5366
5079
|
}
|
@@ -5498,44 +5211,237 @@
|
|
5498
5211
|
"description": "Text",
|
5499
5212
|
"options": [],
|
5500
5213
|
"value": {
|
5501
|
-
"type": "string",
|
5214
|
+
"type": "string",
|
5215
|
+
"kind": "expression"
|
5216
|
+
}
|
5217
|
+
},
|
5218
|
+
{
|
5219
|
+
"name": "icon",
|
5220
|
+
"default": "-",
|
5221
|
+
"description": "Icon name or URL",
|
5222
|
+
"options": [],
|
5223
|
+
"value": {
|
5224
|
+
"type": "string",
|
5225
|
+
"kind": "expression"
|
5226
|
+
}
|
5227
|
+
},
|
5228
|
+
{
|
5229
|
+
"name": "icon-prefix",
|
5230
|
+
"default": "`van-icon`",
|
5231
|
+
"description": "Icon className prefix",
|
5232
|
+
"options": [],
|
5233
|
+
"value": {
|
5234
|
+
"type": "string",
|
5235
|
+
"kind": "expression"
|
5236
|
+
}
|
5237
|
+
},
|
5238
|
+
{
|
5239
|
+
"name": "icon-color",
|
5240
|
+
"default": "-",
|
5241
|
+
"description": "Icon color",
|
5242
|
+
"options": [],
|
5243
|
+
"value": {
|
5244
|
+
"type": "string",
|
5245
|
+
"kind": "expression"
|
5246
|
+
}
|
5247
|
+
},
|
5248
|
+
{
|
5249
|
+
"name": "dot",
|
5250
|
+
"default": "`false`",
|
5251
|
+
"description": "Whether to show red dot",
|
5252
|
+
"options": [],
|
5253
|
+
"value": {
|
5254
|
+
"type": "boolean",
|
5255
|
+
"kind": "expression"
|
5256
|
+
}
|
5257
|
+
},
|
5258
|
+
{
|
5259
|
+
"name": "badge",
|
5260
|
+
"default": "-",
|
5261
|
+
"description": "Content of the badge",
|
5262
|
+
"options": [],
|
5263
|
+
"value": {
|
5264
|
+
"type": "number | string",
|
5265
|
+
"kind": "expression"
|
5266
|
+
}
|
5267
|
+
},
|
5268
|
+
{
|
5269
|
+
"name": "badge-props",
|
5270
|
+
"default": "-",
|
5271
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
5272
|
+
"options": [],
|
5273
|
+
"value": {
|
5274
|
+
"type": "BadgeProps",
|
5275
|
+
"kind": "expression"
|
5276
|
+
}
|
5277
|
+
},
|
5278
|
+
{
|
5279
|
+
"name": "url",
|
5280
|
+
"default": "-",
|
5281
|
+
"description": "Link URL",
|
5282
|
+
"options": [],
|
5283
|
+
"value": {
|
5284
|
+
"type": "string",
|
5285
|
+
"kind": "expression"
|
5286
|
+
}
|
5287
|
+
},
|
5288
|
+
{
|
5289
|
+
"name": "to",
|
5290
|
+
"default": "-",
|
5291
|
+
"description": "Target route of the link, same as to of vue-router",
|
5292
|
+
"options": [],
|
5293
|
+
"value": {
|
5294
|
+
"type": "string | object",
|
5295
|
+
"kind": "expression"
|
5296
|
+
}
|
5297
|
+
},
|
5298
|
+
{
|
5299
|
+
"name": "replace",
|
5300
|
+
"default": "`false`",
|
5301
|
+
"description": "If true, the navigation will not leave a history record",
|
5302
|
+
"options": [],
|
5303
|
+
"value": {
|
5304
|
+
"type": "boolean",
|
5305
|
+
"kind": "expression"
|
5306
|
+
}
|
5307
|
+
}
|
5308
|
+
]
|
5309
|
+
},
|
5310
|
+
{
|
5311
|
+
"name": "van-form",
|
5312
|
+
"slots": [
|
5313
|
+
{
|
5314
|
+
"name": "default",
|
5315
|
+
"description": "Form content"
|
5316
|
+
}
|
5317
|
+
],
|
5318
|
+
"events": [
|
5319
|
+
{
|
5320
|
+
"name": "submit",
|
5321
|
+
"description": "Emitted after submitting the form and validation passed",
|
5322
|
+
"arguments": [
|
5323
|
+
{
|
5324
|
+
"name": "values",
|
5325
|
+
"type": "object"
|
5326
|
+
}
|
5327
|
+
]
|
5328
|
+
},
|
5329
|
+
{
|
5330
|
+
"name": "failed",
|
5331
|
+
"description": "Emitted after submitting the form and validation failed",
|
5332
|
+
"arguments": [
|
5333
|
+
{
|
5334
|
+
"name": "errorInfo",
|
5335
|
+
"type": "{ values: object, errors: object[] }"
|
5336
|
+
}
|
5337
|
+
]
|
5338
|
+
}
|
5339
|
+
],
|
5340
|
+
"attributes": [
|
5341
|
+
{
|
5342
|
+
"name": "label-width",
|
5343
|
+
"default": "`6.2em`",
|
5344
|
+
"description": "Field label width",
|
5345
|
+
"options": [],
|
5346
|
+
"value": {
|
5347
|
+
"type": "number | string",
|
5348
|
+
"kind": "expression"
|
5349
|
+
}
|
5350
|
+
},
|
5351
|
+
{
|
5352
|
+
"name": "label-align",
|
5353
|
+
"default": "`left`",
|
5354
|
+
"description": "Field label align, can be set to `center` `right`",
|
5355
|
+
"options": [],
|
5356
|
+
"value": {
|
5357
|
+
"type": "string",
|
5358
|
+
"kind": "expression"
|
5359
|
+
}
|
5360
|
+
},
|
5361
|
+
{
|
5362
|
+
"name": "input-align",
|
5363
|
+
"default": "`left`",
|
5364
|
+
"description": "Field input align, can be set to `center` `right`",
|
5365
|
+
"options": [],
|
5366
|
+
"value": {
|
5367
|
+
"type": "string",
|
5368
|
+
"kind": "expression"
|
5369
|
+
}
|
5370
|
+
},
|
5371
|
+
{
|
5372
|
+
"name": "error-message-align",
|
5373
|
+
"default": "`left`",
|
5374
|
+
"description": "Error message align, can be set to `center` `right`",
|
5375
|
+
"options": [],
|
5376
|
+
"value": {
|
5377
|
+
"type": "string",
|
5378
|
+
"kind": "expression"
|
5379
|
+
}
|
5380
|
+
},
|
5381
|
+
{
|
5382
|
+
"name": "validate-trigger",
|
5383
|
+
"default": "`onBlur`",
|
5384
|
+
"description": "When to validate the form, can be set to `onChange`、`onSubmit`",
|
5385
|
+
"options": [],
|
5386
|
+
"value": {
|
5387
|
+
"type": "string",
|
5388
|
+
"kind": "expression"
|
5389
|
+
}
|
5390
|
+
},
|
5391
|
+
{
|
5392
|
+
"name": "colon",
|
5393
|
+
"default": "`false`",
|
5394
|
+
"description": "Whether to display colon after label",
|
5395
|
+
"options": [],
|
5396
|
+
"value": {
|
5397
|
+
"type": "boolean",
|
5398
|
+
"kind": "expression"
|
5399
|
+
}
|
5400
|
+
},
|
5401
|
+
{
|
5402
|
+
"name": "disabled",
|
5403
|
+
"default": "`false`",
|
5404
|
+
"description": "Whether to disable form",
|
5405
|
+
"options": [],
|
5406
|
+
"value": {
|
5407
|
+
"type": "boolean",
|
5502
5408
|
"kind": "expression"
|
5503
5409
|
}
|
5504
5410
|
},
|
5505
5411
|
{
|
5506
|
-
"name": "
|
5507
|
-
"default": "
|
5508
|
-
"description": "
|
5412
|
+
"name": "readonly",
|
5413
|
+
"default": "`false`",
|
5414
|
+
"description": "Whether to be readonly",
|
5509
5415
|
"options": [],
|
5510
5416
|
"value": {
|
5511
|
-
"type": "
|
5417
|
+
"type": "boolean",
|
5512
5418
|
"kind": "expression"
|
5513
5419
|
}
|
5514
5420
|
},
|
5515
5421
|
{
|
5516
|
-
"name": "
|
5517
|
-
"default": "`
|
5518
|
-
"description": "
|
5422
|
+
"name": "validate-first",
|
5423
|
+
"default": "`false`",
|
5424
|
+
"description": "Whether to stop the validation when a rule fails",
|
5519
5425
|
"options": [],
|
5520
5426
|
"value": {
|
5521
|
-
"type": "
|
5427
|
+
"type": "boolean",
|
5522
5428
|
"kind": "expression"
|
5523
5429
|
}
|
5524
5430
|
},
|
5525
5431
|
{
|
5526
|
-
"name": "
|
5527
|
-
"default": "
|
5528
|
-
"description": "
|
5432
|
+
"name": "scroll-to-error",
|
5433
|
+
"default": "`false`",
|
5434
|
+
"description": "Whether to scroll to the error field when validation failed",
|
5529
5435
|
"options": [],
|
5530
5436
|
"value": {
|
5531
|
-
"type": "
|
5437
|
+
"type": "boolean",
|
5532
5438
|
"kind": "expression"
|
5533
5439
|
}
|
5534
5440
|
},
|
5535
5441
|
{
|
5536
|
-
"name": "
|
5442
|
+
"name": "show-error",
|
5537
5443
|
"default": "`false`",
|
5538
|
-
"description": "Whether to
|
5444
|
+
"description": "Whether to highlight input when validation failed",
|
5539
5445
|
"options": [],
|
5540
5446
|
"value": {
|
5541
5447
|
"type": "boolean",
|
@@ -5543,29 +5449,49 @@
|
|
5543
5449
|
}
|
5544
5450
|
},
|
5545
5451
|
{
|
5546
|
-
"name": "
|
5547
|
-
"default": "
|
5548
|
-
"description": "
|
5452
|
+
"name": "show-error-message",
|
5453
|
+
"default": "`true`",
|
5454
|
+
"description": "Whether to show error message when validation failed",
|
5549
5455
|
"options": [],
|
5550
5456
|
"value": {
|
5551
|
-
"type": "
|
5457
|
+
"type": "boolean",
|
5552
5458
|
"kind": "expression"
|
5553
5459
|
}
|
5554
5460
|
},
|
5555
5461
|
{
|
5556
|
-
"name": "
|
5557
|
-
"default": "
|
5558
|
-
"description": "
|
5462
|
+
"name": "submit-on-enter",
|
5463
|
+
"default": "`true`",
|
5464
|
+
"description": "Whether to submit form on enter",
|
5559
5465
|
"options": [],
|
5560
5466
|
"value": {
|
5561
|
-
"type": "
|
5467
|
+
"type": "boolean",
|
5562
5468
|
"kind": "expression"
|
5563
5469
|
}
|
5470
|
+
}
|
5471
|
+
]
|
5472
|
+
},
|
5473
|
+
{
|
5474
|
+
"name": "van-empty",
|
5475
|
+
"slots": [
|
5476
|
+
{
|
5477
|
+
"name": "default",
|
5478
|
+
"description": "Custom bottom content"
|
5564
5479
|
},
|
5565
5480
|
{
|
5566
|
-
"name": "
|
5567
|
-
"
|
5568
|
-
|
5481
|
+
"name": "image",
|
5482
|
+
"description": "Custom image"
|
5483
|
+
},
|
5484
|
+
{
|
5485
|
+
"name": "description",
|
5486
|
+
"description": "Custom description"
|
5487
|
+
}
|
5488
|
+
],
|
5489
|
+
"events": [],
|
5490
|
+
"attributes": [
|
5491
|
+
{
|
5492
|
+
"name": "image",
|
5493
|
+
"default": "`default`",
|
5494
|
+
"description": "Image type, can be set to `error` `network` `search` or image URL",
|
5569
5495
|
"options": [],
|
5570
5496
|
"value": {
|
5571
5497
|
"type": "string",
|
@@ -5573,22 +5499,22 @@
|
|
5573
5499
|
}
|
5574
5500
|
},
|
5575
5501
|
{
|
5576
|
-
"name": "
|
5502
|
+
"name": "image-size",
|
5577
5503
|
"default": "-",
|
5578
|
-
"description": "
|
5504
|
+
"description": "Image size",
|
5579
5505
|
"options": [],
|
5580
5506
|
"value": {
|
5581
|
-
"type": "string |
|
5507
|
+
"type": "number | string | Array",
|
5582
5508
|
"kind": "expression"
|
5583
5509
|
}
|
5584
5510
|
},
|
5585
5511
|
{
|
5586
|
-
"name": "
|
5587
|
-
"default": "
|
5588
|
-
"description": "
|
5512
|
+
"name": "description",
|
5513
|
+
"default": "-",
|
5514
|
+
"description": "Description",
|
5589
5515
|
"options": [],
|
5590
5516
|
"value": {
|
5591
|
-
"type": "
|
5517
|
+
"type": "string",
|
5592
5518
|
"kind": "expression"
|
5593
5519
|
}
|
5594
5520
|
}
|
@@ -6203,7 +6129,7 @@
|
|
6203
6129
|
},
|
6204
6130
|
{
|
6205
6131
|
"name": "highlight-color",
|
6206
|
-
"default": "`#
|
6132
|
+
"default": "`#1989fa`",
|
6207
6133
|
"description": "Index character highlight color",
|
6208
6134
|
"options": [],
|
6209
6135
|
"value": {
|
@@ -6930,99 +6856,6 @@
|
|
6930
6856
|
}
|
6931
6857
|
]
|
6932
6858
|
},
|
6933
|
-
{
|
6934
|
-
"name": "van-overlay",
|
6935
|
-
"slots": [
|
6936
|
-
{
|
6937
|
-
"name": "default",
|
6938
|
-
"description": "Default slot"
|
6939
|
-
}
|
6940
|
-
],
|
6941
|
-
"events": [
|
6942
|
-
{
|
6943
|
-
"name": "click",
|
6944
|
-
"description": "Emitted when component is clicked",
|
6945
|
-
"arguments": [
|
6946
|
-
{
|
6947
|
-
"name": "event",
|
6948
|
-
"type": "MouseEvent"
|
6949
|
-
}
|
6950
|
-
]
|
6951
|
-
}
|
6952
|
-
],
|
6953
|
-
"attributes": [
|
6954
|
-
{
|
6955
|
-
"name": "show",
|
6956
|
-
"default": "`false`",
|
6957
|
-
"description": "Whether to show overlay",
|
6958
|
-
"options": [],
|
6959
|
-
"value": {
|
6960
|
-
"type": "boolean",
|
6961
|
-
"kind": "expression"
|
6962
|
-
}
|
6963
|
-
},
|
6964
|
-
{
|
6965
|
-
"name": "z-index",
|
6966
|
-
"default": "`1`",
|
6967
|
-
"description": "z-index",
|
6968
|
-
"options": [],
|
6969
|
-
"value": {
|
6970
|
-
"type": "number | string",
|
6971
|
-
"kind": "expression"
|
6972
|
-
}
|
6973
|
-
},
|
6974
|
-
{
|
6975
|
-
"name": "duration",
|
6976
|
-
"default": "`0.3`",
|
6977
|
-
"description": "Animation duration",
|
6978
|
-
"options": [],
|
6979
|
-
"value": {
|
6980
|
-
"type": "number | string",
|
6981
|
-
"kind": "expression"
|
6982
|
-
}
|
6983
|
-
},
|
6984
|
-
{
|
6985
|
-
"name": "class-name",
|
6986
|
-
"default": "-",
|
6987
|
-
"description": "ClassName",
|
6988
|
-
"options": [],
|
6989
|
-
"value": {
|
6990
|
-
"type": "string",
|
6991
|
-
"kind": "expression"
|
6992
|
-
}
|
6993
|
-
},
|
6994
|
-
{
|
6995
|
-
"name": "custom-class",
|
6996
|
-
"default": "-",
|
6997
|
-
"description": "Custom style",
|
6998
|
-
"options": [],
|
6999
|
-
"value": {
|
7000
|
-
"type": "object",
|
7001
|
-
"kind": "expression"
|
7002
|
-
}
|
7003
|
-
},
|
7004
|
-
{
|
7005
|
-
"name": "lock-scroll",
|
7006
|
-
"default": "`true`",
|
7007
|
-
"description": "Whether to lock background scroll",
|
7008
|
-
"options": [],
|
7009
|
-
"value": {
|
7010
|
-
"type": "boolean",
|
7011
|
-
"kind": "expression"
|
7012
|
-
}
|
7013
|
-
},
|
7014
|
-
{
|
7015
|
-
"name": "lazy-render",
|
7016
|
-
"default": "`true`",
|
7017
|
-
"description": "Whether to lazy render util appeared",
|
7018
|
-
"options": [],
|
7019
|
-
"value": {
|
7020
|
-
"type": "boolean",
|
7021
|
-
"kind": "expression"
|
7022
|
-
}
|
7023
|
-
}
|
7024
|
-
]
|
7025
|
-
},
|
7026
6859
|
{
|
7027
6860
|
"name": "van-pagination",
|
7028
6861
|
"slots": [
|
@@ -7044,116 +6877,33 @@
|
|
7044
6877
|
"name": "change",
|
7045
6878
|
"description": "Emitted when current page changed",
|
7046
6879
|
"arguments": []
|
7047
|
-
}
|
7048
|
-
],
|
7049
|
-
"attributes": [
|
7050
|
-
{
|
7051
|
-
"name": "v-model",
|
7052
|
-
"default": "-",
|
7053
|
-
"description": "Current page number",
|
7054
|
-
"options": [],
|
7055
|
-
"value": {
|
7056
|
-
"type": "number",
|
7057
|
-
"kind": "expression"
|
7058
|
-
}
|
7059
|
-
},
|
7060
|
-
{
|
7061
|
-
"name": "mode",
|
7062
|
-
"default": "`multi`",
|
7063
|
-
"description": "Mode, can be set to `simple` `multi`",
|
7064
|
-
"options": [],
|
7065
|
-
"value": {
|
7066
|
-
"type": "string",
|
7067
|
-
"kind": "expression"
|
7068
|
-
}
|
7069
|
-
},
|
7070
|
-
{
|
7071
|
-
"name": "prev-text",
|
7072
|
-
"default": "`Previous`",
|
7073
|
-
"description": "Previous text",
|
7074
|
-
"options": [],
|
7075
|
-
"value": {
|
7076
|
-
"type": "string",
|
7077
|
-
"kind": "expression"
|
7078
|
-
}
|
7079
|
-
},
|
7080
|
-
{
|
7081
|
-
"name": "next-text",
|
7082
|
-
"default": "`Next`",
|
7083
|
-
"description": "Next text",
|
7084
|
-
"options": [],
|
7085
|
-
"value": {
|
7086
|
-
"type": "string",
|
7087
|
-
"kind": "expression"
|
7088
|
-
}
|
7089
|
-
},
|
7090
|
-
{
|
7091
|
-
"name": "total-items",
|
7092
|
-
"default": "`0`",
|
7093
|
-
"description": "Total items",
|
7094
|
-
"options": [],
|
7095
|
-
"value": {
|
7096
|
-
"type": "number | string",
|
7097
|
-
"kind": "expression"
|
7098
|
-
}
|
7099
|
-
},
|
7100
|
-
{
|
7101
|
-
"name": "items-per-page",
|
7102
|
-
"default": "`10`",
|
7103
|
-
"description": "Item number per page",
|
7104
|
-
"options": [],
|
7105
|
-
"value": {
|
7106
|
-
"type": "number | string",
|
7107
|
-
"kind": "expression"
|
7108
|
-
}
|
7109
|
-
},
|
7110
|
-
{
|
7111
|
-
"name": "page-count",
|
7112
|
-
"default": "`-`",
|
7113
|
-
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
|
7114
|
-
"options": [],
|
7115
|
-
"value": {
|
7116
|
-
"type": "number | string",
|
7117
|
-
"kind": "expression"
|
7118
|
-
}
|
7119
|
-
},
|
6880
|
+
}
|
6881
|
+
],
|
6882
|
+
"attributes": [
|
7120
6883
|
{
|
7121
|
-
"name": "
|
7122
|
-
"default": "
|
7123
|
-
"description": "
|
6884
|
+
"name": "v-model",
|
6885
|
+
"default": "-",
|
6886
|
+
"description": "Current page number",
|
7124
6887
|
"options": [],
|
7125
6888
|
"value": {
|
7126
|
-
"type": "number
|
6889
|
+
"type": "number",
|
7127
6890
|
"kind": "expression"
|
7128
6891
|
}
|
7129
6892
|
},
|
7130
6893
|
{
|
7131
|
-
"name": "
|
7132
|
-
"default": "`
|
7133
|
-
"description": "
|
6894
|
+
"name": "mode",
|
6895
|
+
"default": "`multi`",
|
6896
|
+
"description": "Mode, can be set to `simple` `multi`",
|
7134
6897
|
"options": [],
|
7135
6898
|
"value": {
|
7136
|
-
"type": "
|
6899
|
+
"type": "string",
|
7137
6900
|
"kind": "expression"
|
7138
6901
|
}
|
7139
|
-
}
|
7140
|
-
]
|
7141
|
-
},
|
7142
|
-
{
|
7143
|
-
"name": "van-password-input",
|
7144
|
-
"slots": [],
|
7145
|
-
"events": [
|
7146
|
-
{
|
7147
|
-
"name": "focus",
|
7148
|
-
"description": "Emitted when input is focused",
|
7149
|
-
"arguments": []
|
7150
|
-
}
|
7151
|
-
],
|
7152
|
-
"attributes": [
|
6902
|
+
},
|
7153
6903
|
{
|
7154
|
-
"name": "
|
7155
|
-
"default": "`
|
7156
|
-
"description": "
|
6904
|
+
"name": "prev-text",
|
6905
|
+
"default": "`Previous`",
|
6906
|
+
"description": "Previous text",
|
7157
6907
|
"options": [],
|
7158
6908
|
"value": {
|
7159
6909
|
"type": "string",
|
@@ -7161,9 +6911,9 @@
|
|
7161
6911
|
}
|
7162
6912
|
},
|
7163
6913
|
{
|
7164
|
-
"name": "
|
7165
|
-
"default": "
|
7166
|
-
"description": "
|
6914
|
+
"name": "next-text",
|
6915
|
+
"default": "`Next`",
|
6916
|
+
"description": "Next text",
|
7167
6917
|
"options": [],
|
7168
6918
|
"value": {
|
7169
6919
|
"type": "string",
|
@@ -7171,19 +6921,19 @@
|
|
7171
6921
|
}
|
7172
6922
|
},
|
7173
6923
|
{
|
7174
|
-
"name": "
|
7175
|
-
"default": "
|
7176
|
-
"description": "
|
6924
|
+
"name": "total-items",
|
6925
|
+
"default": "`0`",
|
6926
|
+
"description": "Total items",
|
7177
6927
|
"options": [],
|
7178
6928
|
"value": {
|
7179
|
-
"type": "string",
|
6929
|
+
"type": "number | string",
|
7180
6930
|
"kind": "expression"
|
7181
6931
|
}
|
7182
6932
|
},
|
7183
6933
|
{
|
7184
|
-
"name": "
|
7185
|
-
"default": "`
|
7186
|
-
"description": "
|
6934
|
+
"name": "items-per-page",
|
6935
|
+
"default": "`10`",
|
6936
|
+
"description": "Item number per page",
|
7187
6937
|
"options": [],
|
7188
6938
|
"value": {
|
7189
6939
|
"type": "number | string",
|
@@ -7191,9 +6941,9 @@
|
|
7191
6941
|
}
|
7192
6942
|
},
|
7193
6943
|
{
|
7194
|
-
"name": "
|
7195
|
-
"default": "
|
7196
|
-
"description": "
|
6944
|
+
"name": "page-count",
|
6945
|
+
"default": "`-`",
|
6946
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
|
7197
6947
|
"options": [],
|
7198
6948
|
"value": {
|
7199
6949
|
"type": "number | string",
|
@@ -7201,19 +6951,19 @@
|
|
7201
6951
|
}
|
7202
6952
|
},
|
7203
6953
|
{
|
7204
|
-
"name": "
|
7205
|
-
"default": "`
|
7206
|
-
"description": "
|
6954
|
+
"name": "show-page-size",
|
6955
|
+
"default": "`5`",
|
6956
|
+
"description": "Count of page size to show",
|
7207
6957
|
"options": [],
|
7208
6958
|
"value": {
|
7209
|
-
"type": "
|
6959
|
+
"type": "number | string",
|
7210
6960
|
"kind": "expression"
|
7211
6961
|
}
|
7212
6962
|
},
|
7213
6963
|
{
|
7214
|
-
"name": "
|
6964
|
+
"name": "force-ellipses",
|
7215
6965
|
"default": "`false`",
|
7216
|
-
"description": "Whether to show
|
6966
|
+
"description": "Whether to show ellipses",
|
7217
6967
|
"options": [],
|
7218
6968
|
"value": {
|
7219
6969
|
"type": "boolean",
|
@@ -7257,43 +7007,28 @@
|
|
7257
7007
|
"events": [
|
7258
7008
|
{
|
7259
7009
|
"name": "confirm",
|
7260
|
-
"description": "Emitted when
|
7010
|
+
"description": "Emitted when the confirm button is clicked",
|
7261
7011
|
"arguments": [
|
7262
7012
|
{
|
7263
|
-
"name": "
|
7264
|
-
"type": "PickerOption | PickerOption[]"
|
7265
|
-
},
|
7266
|
-
{
|
7267
|
-
"name": "currentIndex",
|
7268
|
-
"type": "number | number[]"
|
7013
|
+
"name": "{ selectedValues, selectedOptions }"
|
7269
7014
|
}
|
7270
7015
|
]
|
7271
7016
|
},
|
7272
7017
|
{
|
7273
7018
|
"name": "cancel",
|
7274
|
-
"description": "Emitted when
|
7019
|
+
"description": "Emitted when the cancel button is clicked",
|
7275
7020
|
"arguments": [
|
7276
7021
|
{
|
7277
|
-
"name": "
|
7278
|
-
"type": "PickerOption | PickerOption[]"
|
7279
|
-
},
|
7280
|
-
{
|
7281
|
-
"name": "currentIndex",
|
7282
|
-
"type": "number | number[]"
|
7022
|
+
"name": "{ selectedValues, selectedOptions }"
|
7283
7023
|
}
|
7284
7024
|
]
|
7285
7025
|
},
|
7286
7026
|
{
|
7287
7027
|
"name": "change",
|
7288
|
-
"description": "Emitted when current option changed
|
7028
|
+
"description": "Emitted when current option is changed",
|
7289
7029
|
"arguments": [
|
7290
7030
|
{
|
7291
|
-
"name": "
|
7292
|
-
"type": "PickerOption | PickerOption[]"
|
7293
|
-
},
|
7294
|
-
{
|
7295
|
-
"name": "currentIndex",
|
7296
|
-
"type": "number | number[]"
|
7031
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
7297
7032
|
}
|
7298
7033
|
]
|
7299
7034
|
}
|
@@ -7305,13 +7040,13 @@
|
|
7305
7040
|
"description": "Columns data",
|
7306
7041
|
"options": [],
|
7307
7042
|
"value": {
|
7308
|
-
"type": "
|
7043
|
+
"type": "PickerOption[] | PickerOption[][]",
|
7309
7044
|
"kind": "expression"
|
7310
7045
|
}
|
7311
7046
|
},
|
7312
7047
|
{
|
7313
7048
|
"name": "columns-field-names",
|
7314
|
-
"default": "`{ text: 'text',
|
7049
|
+
"default": "`{ text: 'text', value: 'value', children: 'children' }`",
|
7315
7050
|
"description": "custom columns field",
|
7316
7051
|
"options": [],
|
7317
7052
|
"value": {
|
@@ -7390,17 +7125,7 @@
|
|
7390
7125
|
}
|
7391
7126
|
},
|
7392
7127
|
{
|
7393
|
-
"name": "
|
7394
|
-
"default": "`0`",
|
7395
|
-
"description": "Default value index of single column picker",
|
7396
|
-
"options": [],
|
7397
|
-
"value": {
|
7398
|
-
"type": "number | string",
|
7399
|
-
"kind": "expression"
|
7400
|
-
}
|
7401
|
-
},
|
7402
|
-
{
|
7403
|
-
"name": "item-height",
|
7128
|
+
"name": "option-height",
|
7404
7129
|
"default": "`44`",
|
7405
7130
|
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
7406
7131
|
"options": [],
|
@@ -7410,7 +7135,7 @@
|
|
7410
7135
|
}
|
7411
7136
|
},
|
7412
7137
|
{
|
7413
|
-
"name": "visible-
|
7138
|
+
"name": "visible-option-num",
|
7414
7139
|
"default": "`6`",
|
7415
7140
|
"description": "Count of visible columns",
|
7416
7141
|
"options": [],
|
@@ -7933,6 +7658,89 @@
|
|
7933
7658
|
}
|
7934
7659
|
]
|
7935
7660
|
},
|
7661
|
+
{
|
7662
|
+
"name": "van-password-input",
|
7663
|
+
"slots": [],
|
7664
|
+
"events": [
|
7665
|
+
{
|
7666
|
+
"name": "focus",
|
7667
|
+
"description": "Emitted when input is focused",
|
7668
|
+
"arguments": []
|
7669
|
+
}
|
7670
|
+
],
|
7671
|
+
"attributes": [
|
7672
|
+
{
|
7673
|
+
"name": "value",
|
7674
|
+
"default": "`''`",
|
7675
|
+
"description": "Password value",
|
7676
|
+
"options": [],
|
7677
|
+
"value": {
|
7678
|
+
"type": "string",
|
7679
|
+
"kind": "expression"
|
7680
|
+
}
|
7681
|
+
},
|
7682
|
+
{
|
7683
|
+
"name": "info",
|
7684
|
+
"default": "-",
|
7685
|
+
"description": "Bottom info",
|
7686
|
+
"options": [],
|
7687
|
+
"value": {
|
7688
|
+
"type": "string",
|
7689
|
+
"kind": "expression"
|
7690
|
+
}
|
7691
|
+
},
|
7692
|
+
{
|
7693
|
+
"name": "error-info",
|
7694
|
+
"default": "-",
|
7695
|
+
"description": "Bottom error info",
|
7696
|
+
"options": [],
|
7697
|
+
"value": {
|
7698
|
+
"type": "string",
|
7699
|
+
"kind": "expression"
|
7700
|
+
}
|
7701
|
+
},
|
7702
|
+
{
|
7703
|
+
"name": "length",
|
7704
|
+
"default": "`6`",
|
7705
|
+
"description": "Maxlength of password",
|
7706
|
+
"options": [],
|
7707
|
+
"value": {
|
7708
|
+
"type": "number | string",
|
7709
|
+
"kind": "expression"
|
7710
|
+
}
|
7711
|
+
},
|
7712
|
+
{
|
7713
|
+
"name": "gutter",
|
7714
|
+
"default": "`0`",
|
7715
|
+
"description": "Gutter of input",
|
7716
|
+
"options": [],
|
7717
|
+
"value": {
|
7718
|
+
"type": "number | string",
|
7719
|
+
"kind": "expression"
|
7720
|
+
}
|
7721
|
+
},
|
7722
|
+
{
|
7723
|
+
"name": "mask",
|
7724
|
+
"default": "`true`",
|
7725
|
+
"description": "Whether to mask value",
|
7726
|
+
"options": [],
|
7727
|
+
"value": {
|
7728
|
+
"type": "boolean",
|
7729
|
+
"kind": "expression"
|
7730
|
+
}
|
7731
|
+
},
|
7732
|
+
{
|
7733
|
+
"name": "focused",
|
7734
|
+
"default": "`false`",
|
7735
|
+
"description": "Whether to show focused cursor",
|
7736
|
+
"options": [],
|
7737
|
+
"value": {
|
7738
|
+
"type": "boolean",
|
7739
|
+
"kind": "expression"
|
7740
|
+
}
|
7741
|
+
}
|
7742
|
+
]
|
7743
|
+
},
|
7936
7744
|
{
|
7937
7745
|
"name": "van-progress",
|
7938
7746
|
"slots": [],
|
@@ -8031,45 +7839,30 @@
|
|
8031
7839
|
]
|
8032
7840
|
},
|
8033
7841
|
{
|
8034
|
-
"name": "van-
|
7842
|
+
"name": "van-overlay",
|
8035
7843
|
"slots": [
|
8036
7844
|
{
|
8037
7845
|
"name": "default",
|
8038
7846
|
"description": "Default slot"
|
8039
|
-
},
|
8040
|
-
{
|
8041
|
-
"name": "normal",
|
8042
|
-
"description": "Content of head when at normal status"
|
8043
|
-
},
|
8044
|
-
{
|
8045
|
-
"name": "pulling",
|
8046
|
-
"description": "Content of head when at pulling"
|
8047
|
-
},
|
8048
|
-
{
|
8049
|
-
"name": "loosing",
|
8050
|
-
"description": "Content of head when at loosing"
|
8051
|
-
},
|
8052
|
-
{
|
8053
|
-
"name": "loading",
|
8054
|
-
"description": "Content of head when at loading"
|
8055
|
-
},
|
8056
|
-
{
|
8057
|
-
"name": "success",
|
8058
|
-
"description": "Content of head when succeed"
|
8059
7847
|
}
|
8060
7848
|
],
|
8061
7849
|
"events": [
|
8062
7850
|
{
|
8063
|
-
"name": "
|
8064
|
-
"description": "Emitted
|
8065
|
-
"arguments": [
|
7851
|
+
"name": "click",
|
7852
|
+
"description": "Emitted when component is clicked",
|
7853
|
+
"arguments": [
|
7854
|
+
{
|
7855
|
+
"name": "event",
|
7856
|
+
"type": "MouseEvent"
|
7857
|
+
}
|
7858
|
+
]
|
8066
7859
|
}
|
8067
7860
|
],
|
8068
7861
|
"attributes": [
|
8069
7862
|
{
|
8070
|
-
"name": "
|
8071
|
-
"default": "
|
8072
|
-
"description": "
|
7863
|
+
"name": "show",
|
7864
|
+
"default": "`false`",
|
7865
|
+
"description": "Whether to show overlay",
|
8073
7866
|
"options": [],
|
8074
7867
|
"value": {
|
8075
7868
|
"type": "boolean",
|
@@ -8077,49 +7870,19 @@
|
|
8077
7870
|
}
|
8078
7871
|
},
|
8079
7872
|
{
|
8080
|
-
"name": "
|
8081
|
-
"default": "`
|
8082
|
-
"description": "
|
8083
|
-
"options": [],
|
8084
|
-
"value": {
|
8085
|
-
"type": "string",
|
8086
|
-
"kind": "expression"
|
8087
|
-
}
|
8088
|
-
},
|
8089
|
-
{
|
8090
|
-
"name": "loosing-text",
|
8091
|
-
"default": "`Loose to refresh...`",
|
8092
|
-
"description": "Text to show when loosing",
|
8093
|
-
"options": [],
|
8094
|
-
"value": {
|
8095
|
-
"type": "string",
|
8096
|
-
"kind": "expression"
|
8097
|
-
}
|
8098
|
-
},
|
8099
|
-
{
|
8100
|
-
"name": "loading-text",
|
8101
|
-
"default": "`Loading...`",
|
8102
|
-
"description": "Text to show when loading",
|
8103
|
-
"options": [],
|
8104
|
-
"value": {
|
8105
|
-
"type": "string",
|
8106
|
-
"kind": "expression"
|
8107
|
-
}
|
8108
|
-
},
|
8109
|
-
{
|
8110
|
-
"name": "success-text",
|
8111
|
-
"default": "-",
|
8112
|
-
"description": "Text to show when loading success",
|
7873
|
+
"name": "z-index",
|
7874
|
+
"default": "`1`",
|
7875
|
+
"description": "z-index",
|
8113
7876
|
"options": [],
|
8114
7877
|
"value": {
|
8115
|
-
"type": "string",
|
7878
|
+
"type": "number | string",
|
8116
7879
|
"kind": "expression"
|
8117
7880
|
}
|
8118
7881
|
},
|
8119
7882
|
{
|
8120
|
-
"name": "
|
8121
|
-
"default": "`
|
8122
|
-
"description": "
|
7883
|
+
"name": "duration",
|
7884
|
+
"default": "`0.3`",
|
7885
|
+
"description": "Animation duration",
|
8123
7886
|
"options": [],
|
8124
7887
|
"value": {
|
8125
7888
|
"type": "number | string",
|
@@ -8127,39 +7890,39 @@
|
|
8127
7890
|
}
|
8128
7891
|
},
|
8129
7892
|
{
|
8130
|
-
"name": "
|
8131
|
-
"default": "
|
8132
|
-
"description": "
|
7893
|
+
"name": "class-name",
|
7894
|
+
"default": "-",
|
7895
|
+
"description": "ClassName",
|
8133
7896
|
"options": [],
|
8134
7897
|
"value": {
|
8135
|
-
"type": "
|
7898
|
+
"type": "string",
|
8136
7899
|
"kind": "expression"
|
8137
7900
|
}
|
8138
7901
|
},
|
8139
7902
|
{
|
8140
|
-
"name": "
|
8141
|
-
"default": "
|
8142
|
-
"description": "
|
7903
|
+
"name": "custom-class",
|
7904
|
+
"default": "-",
|
7905
|
+
"description": "Custom style",
|
8143
7906
|
"options": [],
|
8144
7907
|
"value": {
|
8145
|
-
"type": "
|
7908
|
+
"type": "object",
|
8146
7909
|
"kind": "expression"
|
8147
7910
|
}
|
8148
7911
|
},
|
8149
7912
|
{
|
8150
|
-
"name": "
|
8151
|
-
"default": "
|
8152
|
-
"description": "
|
7913
|
+
"name": "lock-scroll",
|
7914
|
+
"default": "`true`",
|
7915
|
+
"description": "Whether to lock background scroll",
|
8153
7916
|
"options": [],
|
8154
7917
|
"value": {
|
8155
|
-
"type": "
|
7918
|
+
"type": "boolean",
|
8156
7919
|
"kind": "expression"
|
8157
7920
|
}
|
8158
7921
|
},
|
8159
7922
|
{
|
8160
|
-
"name": "
|
8161
|
-
"default": "`
|
8162
|
-
"description": "Whether to
|
7923
|
+
"name": "lazy-render",
|
7924
|
+
"default": "`true`",
|
7925
|
+
"description": "Whether to lazy render util appeared",
|
8163
7926
|
"options": [],
|
8164
7927
|
"value": {
|
8165
7928
|
"type": "boolean",
|
@@ -8333,6 +8096,144 @@
|
|
8333
8096
|
}
|
8334
8097
|
]
|
8335
8098
|
},
|
8099
|
+
{
|
8100
|
+
"name": "van-pull-refresh",
|
8101
|
+
"slots": [
|
8102
|
+
{
|
8103
|
+
"name": "default",
|
8104
|
+
"description": "Default slot"
|
8105
|
+
},
|
8106
|
+
{
|
8107
|
+
"name": "normal",
|
8108
|
+
"description": "Content of head when at normal status"
|
8109
|
+
},
|
8110
|
+
{
|
8111
|
+
"name": "pulling",
|
8112
|
+
"description": "Content of head when at pulling"
|
8113
|
+
},
|
8114
|
+
{
|
8115
|
+
"name": "loosing",
|
8116
|
+
"description": "Content of head when at loosing"
|
8117
|
+
},
|
8118
|
+
{
|
8119
|
+
"name": "loading",
|
8120
|
+
"description": "Content of head when at loading"
|
8121
|
+
},
|
8122
|
+
{
|
8123
|
+
"name": "success",
|
8124
|
+
"description": "Content of head when succeed"
|
8125
|
+
}
|
8126
|
+
],
|
8127
|
+
"events": [
|
8128
|
+
{
|
8129
|
+
"name": "refresh",
|
8130
|
+
"description": "Emitted after pulling refresh",
|
8131
|
+
"arguments": []
|
8132
|
+
}
|
8133
|
+
],
|
8134
|
+
"attributes": [
|
8135
|
+
{
|
8136
|
+
"name": "v-model",
|
8137
|
+
"default": "-",
|
8138
|
+
"description": "Loading status",
|
8139
|
+
"options": [],
|
8140
|
+
"value": {
|
8141
|
+
"type": "boolean",
|
8142
|
+
"kind": "expression"
|
8143
|
+
}
|
8144
|
+
},
|
8145
|
+
{
|
8146
|
+
"name": "pulling-text",
|
8147
|
+
"default": "`Pull to refresh...`",
|
8148
|
+
"description": "Text to show when pulling",
|
8149
|
+
"options": [],
|
8150
|
+
"value": {
|
8151
|
+
"type": "string",
|
8152
|
+
"kind": "expression"
|
8153
|
+
}
|
8154
|
+
},
|
8155
|
+
{
|
8156
|
+
"name": "loosing-text",
|
8157
|
+
"default": "`Loose to refresh...`",
|
8158
|
+
"description": "Text to show when loosing",
|
8159
|
+
"options": [],
|
8160
|
+
"value": {
|
8161
|
+
"type": "string",
|
8162
|
+
"kind": "expression"
|
8163
|
+
}
|
8164
|
+
},
|
8165
|
+
{
|
8166
|
+
"name": "loading-text",
|
8167
|
+
"default": "`Loading...`",
|
8168
|
+
"description": "Text to show when loading",
|
8169
|
+
"options": [],
|
8170
|
+
"value": {
|
8171
|
+
"type": "string",
|
8172
|
+
"kind": "expression"
|
8173
|
+
}
|
8174
|
+
},
|
8175
|
+
{
|
8176
|
+
"name": "success-text",
|
8177
|
+
"default": "-",
|
8178
|
+
"description": "Text to show when loading success",
|
8179
|
+
"options": [],
|
8180
|
+
"value": {
|
8181
|
+
"type": "string",
|
8182
|
+
"kind": "expression"
|
8183
|
+
}
|
8184
|
+
},
|
8185
|
+
{
|
8186
|
+
"name": "success-duration",
|
8187
|
+
"default": "`500`",
|
8188
|
+
"description": "Success text display duration(ms)",
|
8189
|
+
"options": [],
|
8190
|
+
"value": {
|
8191
|
+
"type": "number | string",
|
8192
|
+
"kind": "expression"
|
8193
|
+
}
|
8194
|
+
},
|
8195
|
+
{
|
8196
|
+
"name": "animation-duration",
|
8197
|
+
"default": "`300`",
|
8198
|
+
"description": "Animation duration",
|
8199
|
+
"options": [],
|
8200
|
+
"value": {
|
8201
|
+
"type": "number | string",
|
8202
|
+
"kind": "expression"
|
8203
|
+
}
|
8204
|
+
},
|
8205
|
+
{
|
8206
|
+
"name": "head-height",
|
8207
|
+
"default": "`50`",
|
8208
|
+
"description": "Height of head",
|
8209
|
+
"options": [],
|
8210
|
+
"value": {
|
8211
|
+
"type": "number | string",
|
8212
|
+
"kind": "expression"
|
8213
|
+
}
|
8214
|
+
},
|
8215
|
+
{
|
8216
|
+
"name": "pull-distance",
|
8217
|
+
"default": "same as `head-height`",
|
8218
|
+
"description": "The distance to trigger the pull refresh",
|
8219
|
+
"options": [],
|
8220
|
+
"value": {
|
8221
|
+
"type": "number | string",
|
8222
|
+
"kind": "expression"
|
8223
|
+
}
|
8224
|
+
},
|
8225
|
+
{
|
8226
|
+
"name": "disabled",
|
8227
|
+
"default": "`false`",
|
8228
|
+
"description": "Whether to disable pull refresh",
|
8229
|
+
"options": [],
|
8230
|
+
"value": {
|
8231
|
+
"type": "boolean",
|
8232
|
+
"kind": "expression"
|
8233
|
+
}
|
8234
|
+
}
|
8235
|
+
]
|
8236
|
+
},
|
8336
8237
|
{
|
8337
8238
|
"name": "van-rate",
|
8338
8239
|
"slots": [],
|
@@ -8846,77 +8747,68 @@
|
|
8846
8747
|
]
|
8847
8748
|
},
|
8848
8749
|
{
|
8849
|
-
"name": "van-
|
8850
|
-
"slots": [
|
8851
|
-
{
|
8852
|
-
"name": "title",
|
8853
|
-
"description": "Custom title"
|
8854
|
-
},
|
8855
|
-
{
|
8856
|
-
"name": "description",
|
8857
|
-
"description": "Custom description"
|
8858
|
-
},
|
8859
|
-
{
|
8860
|
-
"name": "cancel",
|
8861
|
-
"description": "Custom the content of cancel button"
|
8862
|
-
}
|
8863
|
-
],
|
8750
|
+
"name": "van-sidebar",
|
8751
|
+
"slots": [],
|
8864
8752
|
"events": [
|
8865
8753
|
{
|
8866
|
-
"name": "
|
8867
|
-
"description": "Emitted when
|
8754
|
+
"name": "change",
|
8755
|
+
"description": "Emitted when chosen item changed",
|
8868
8756
|
"arguments": [
|
8869
|
-
{
|
8870
|
-
"name": "option",
|
8871
|
-
"type": "Option"
|
8872
|
-
},
|
8873
8757
|
{
|
8874
8758
|
"name": "index",
|
8875
8759
|
"type": "number"
|
8876
8760
|
}
|
8877
8761
|
]
|
8878
|
-
}
|
8879
|
-
|
8880
|
-
|
8881
|
-
"description": "Emitted when the cancel button is clicked",
|
8882
|
-
"arguments": []
|
8883
|
-
},
|
8884
|
-
{
|
8885
|
-
"name": "open",
|
8886
|
-
"description": "Emitted when opening ShareSheet",
|
8887
|
-
"arguments": []
|
8888
|
-
},
|
8889
|
-
{
|
8890
|
-
"name": "close",
|
8891
|
-
"description": "Emitted when closing ShareSheet",
|
8892
|
-
"arguments": []
|
8893
|
-
},
|
8762
|
+
}
|
8763
|
+
],
|
8764
|
+
"attributes": [
|
8894
8765
|
{
|
8895
|
-
"name": "
|
8896
|
-
"
|
8897
|
-
"
|
8898
|
-
|
8766
|
+
"name": "v-model",
|
8767
|
+
"default": "`0`",
|
8768
|
+
"description": "Index of chosen item",
|
8769
|
+
"options": [],
|
8770
|
+
"value": {
|
8771
|
+
"type": "number | string",
|
8772
|
+
"kind": "expression"
|
8773
|
+
}
|
8774
|
+
}
|
8775
|
+
]
|
8776
|
+
},
|
8777
|
+
{
|
8778
|
+
"name": "van-sidebar-item",
|
8779
|
+
"slots": [
|
8899
8780
|
{
|
8900
|
-
"name": "
|
8901
|
-
"description": "
|
8902
|
-
|
8903
|
-
|
8781
|
+
"name": "title",
|
8782
|
+
"description": "Custom item title"
|
8783
|
+
}
|
8784
|
+
],
|
8785
|
+
"events": [
|
8904
8786
|
{
|
8905
|
-
"name": "click
|
8906
|
-
"description": "Emitted when
|
8787
|
+
"name": "click",
|
8788
|
+
"description": "Emitted when an item is clicked",
|
8907
8789
|
"arguments": [
|
8908
8790
|
{
|
8909
|
-
"name": "
|
8910
|
-
"type": "
|
8791
|
+
"name": "index",
|
8792
|
+
"type": "number"
|
8911
8793
|
}
|
8912
8794
|
]
|
8913
8795
|
}
|
8914
8796
|
],
|
8915
8797
|
"attributes": [
|
8916
8798
|
{
|
8917
|
-
"name": "
|
8799
|
+
"name": "title",
|
8800
|
+
"default": "`''`",
|
8801
|
+
"description": "Content",
|
8802
|
+
"options": [],
|
8803
|
+
"value": {
|
8804
|
+
"type": "string",
|
8805
|
+
"kind": "expression"
|
8806
|
+
}
|
8807
|
+
},
|
8808
|
+
{
|
8809
|
+
"name": "dot",
|
8918
8810
|
"default": "`false`",
|
8919
|
-
"description": "Whether to show
|
8811
|
+
"description": "Whether to show red dot",
|
8920
8812
|
"options": [],
|
8921
8813
|
"value": {
|
8922
8814
|
"type": "boolean",
|
@@ -8924,39 +8816,39 @@
|
|
8924
8816
|
}
|
8925
8817
|
},
|
8926
8818
|
{
|
8927
|
-
"name": "
|
8928
|
-
"default": "`
|
8929
|
-
"description": "
|
8819
|
+
"name": "badge",
|
8820
|
+
"default": "`''`",
|
8821
|
+
"description": "Content of the badge",
|
8930
8822
|
"options": [],
|
8931
8823
|
"value": {
|
8932
|
-
"type": "
|
8824
|
+
"type": "number | string",
|
8933
8825
|
"kind": "expression"
|
8934
8826
|
}
|
8935
8827
|
},
|
8936
8828
|
{
|
8937
|
-
"name": "
|
8829
|
+
"name": "badge-props",
|
8938
8830
|
"default": "-",
|
8939
|
-
"description": "
|
8831
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
8940
8832
|
"options": [],
|
8941
8833
|
"value": {
|
8942
|
-
"type": "
|
8834
|
+
"type": "BadgeProps",
|
8943
8835
|
"kind": "expression"
|
8944
8836
|
}
|
8945
8837
|
},
|
8946
8838
|
{
|
8947
|
-
"name": "
|
8948
|
-
"default": "`
|
8949
|
-
"description": "
|
8839
|
+
"name": "disabled",
|
8840
|
+
"default": "`false`",
|
8841
|
+
"description": "Whether to be disabled",
|
8950
8842
|
"options": [],
|
8951
8843
|
"value": {
|
8952
|
-
"type": "
|
8844
|
+
"type": "boolean",
|
8953
8845
|
"kind": "expression"
|
8954
8846
|
}
|
8955
8847
|
},
|
8956
8848
|
{
|
8957
|
-
"name": "
|
8849
|
+
"name": "url",
|
8958
8850
|
"default": "-",
|
8959
|
-
"description": "
|
8851
|
+
"description": "Link",
|
8960
8852
|
"options": [],
|
8961
8853
|
"value": {
|
8962
8854
|
"type": "string",
|
@@ -8964,59 +8856,66 @@
|
|
8964
8856
|
}
|
8965
8857
|
},
|
8966
8858
|
{
|
8967
|
-
"name": "
|
8968
|
-
"default": "
|
8969
|
-
"description": "
|
8859
|
+
"name": "to",
|
8860
|
+
"default": "-",
|
8861
|
+
"description": "Target route of the link, same as to of vue-router",
|
8970
8862
|
"options": [],
|
8971
8863
|
"value": {
|
8972
|
-
"type": "
|
8864
|
+
"type": "string | object",
|
8973
8865
|
"kind": "expression"
|
8974
8866
|
}
|
8975
8867
|
},
|
8976
8868
|
{
|
8977
|
-
"name": "
|
8978
|
-
"default": "`
|
8979
|
-
"description": "
|
8869
|
+
"name": "replace",
|
8870
|
+
"default": "`false`",
|
8871
|
+
"description": "If true, the navigation will not leave a history record",
|
8980
8872
|
"options": [],
|
8981
8873
|
"value": {
|
8982
8874
|
"type": "boolean",
|
8983
8875
|
"kind": "expression"
|
8984
8876
|
}
|
8985
|
-
}
|
8877
|
+
}
|
8878
|
+
]
|
8879
|
+
},
|
8880
|
+
{
|
8881
|
+
"name": "van-skeleton",
|
8882
|
+
"slots": [],
|
8883
|
+
"events": [],
|
8884
|
+
"attributes": [
|
8986
8885
|
{
|
8987
|
-
"name": "
|
8988
|
-
"default": "`
|
8989
|
-
"description": "
|
8886
|
+
"name": "row",
|
8887
|
+
"default": "`0`",
|
8888
|
+
"description": "Row count",
|
8990
8889
|
"options": [],
|
8991
8890
|
"value": {
|
8992
|
-
"type": "
|
8891
|
+
"type": "number | string",
|
8993
8892
|
"kind": "expression"
|
8994
8893
|
}
|
8995
8894
|
},
|
8996
8895
|
{
|
8997
|
-
"name": "
|
8998
|
-
"default": "
|
8999
|
-
"description": "
|
8896
|
+
"name": "row-width",
|
8897
|
+
"default": "`100%`",
|
8898
|
+
"description": "Row width, can be array",
|
9000
8899
|
"options": [],
|
9001
8900
|
"value": {
|
9002
|
-
"type": "
|
8901
|
+
"type": "number | string |<br>(number | string)[]",
|
9003
8902
|
"kind": "expression"
|
9004
8903
|
}
|
9005
8904
|
},
|
9006
8905
|
{
|
9007
|
-
"name": "
|
9008
|
-
"default": "
|
9009
|
-
"description": "
|
8906
|
+
"name": "title",
|
8907
|
+
"default": "`false`",
|
8908
|
+
"description": "Whether to show title placeholder",
|
9010
8909
|
"options": [],
|
9011
8910
|
"value": {
|
9012
|
-
"type": "
|
8911
|
+
"type": "boolean",
|
9013
8912
|
"kind": "expression"
|
9014
8913
|
}
|
9015
8914
|
},
|
9016
8915
|
{
|
9017
|
-
"name": "
|
9018
|
-
"default": "`
|
9019
|
-
"description": "Whether to
|
8916
|
+
"name": "avatar",
|
8917
|
+
"default": "`false`",
|
8918
|
+
"description": "Whether to show avatar placeholder",
|
9020
8919
|
"options": [],
|
9021
8920
|
"value": {
|
9022
8921
|
"type": "boolean",
|
@@ -9024,9 +8923,9 @@
|
|
9024
8923
|
}
|
9025
8924
|
},
|
9026
8925
|
{
|
9027
|
-
"name": "
|
8926
|
+
"name": "loading",
|
9028
8927
|
"default": "`true`",
|
9029
|
-
"description": "Whether to
|
8928
|
+
"description": "Whether to show skeleton, pass `false` to show child component",
|
9030
8929
|
"options": [],
|
9031
8930
|
"value": {
|
9032
8931
|
"type": "boolean",
|
@@ -9034,9 +8933,9 @@
|
|
9034
8933
|
}
|
9035
8934
|
},
|
9036
8935
|
{
|
9037
|
-
"name": "
|
8936
|
+
"name": "animate",
|
9038
8937
|
"default": "`true`",
|
9039
|
-
"description": "Whether to
|
8938
|
+
"description": "Whether to enable animation",
|
9040
8939
|
"options": [],
|
9041
8940
|
"value": {
|
9042
8941
|
"type": "boolean",
|
@@ -9044,9 +8943,9 @@
|
|
9044
8943
|
}
|
9045
8944
|
},
|
9046
8945
|
{
|
9047
|
-
"name": "
|
9048
|
-
"default": "`
|
9049
|
-
"description": "Whether to
|
8946
|
+
"name": "round",
|
8947
|
+
"default": "`false`",
|
8948
|
+
"description": "Whether to show round title and row",
|
9050
8949
|
"options": [],
|
9051
8950
|
"value": {
|
9052
8951
|
"type": "boolean",
|
@@ -9054,100 +8953,109 @@
|
|
9054
8953
|
}
|
9055
8954
|
},
|
9056
8955
|
{
|
9057
|
-
"name": "
|
9058
|
-
"default": "`
|
9059
|
-
"description": "
|
8956
|
+
"name": "title-width",
|
8957
|
+
"default": "`40%`",
|
8958
|
+
"description": "Title width",
|
9060
8959
|
"options": [],
|
9061
8960
|
"value": {
|
9062
|
-
"type": "
|
8961
|
+
"type": "number | string",
|
9063
8962
|
"kind": "expression"
|
9064
8963
|
}
|
9065
8964
|
},
|
9066
8965
|
{
|
9067
|
-
"name": "
|
9068
|
-
"default": "
|
9069
|
-
"description": "
|
8966
|
+
"name": "avatar-size",
|
8967
|
+
"default": "`32px`",
|
8968
|
+
"description": "Size of avatar placeholder",
|
9070
8969
|
"options": [],
|
9071
8970
|
"value": {
|
9072
|
-
"type": "
|
8971
|
+
"type": "number | string",
|
9073
8972
|
"kind": "expression"
|
9074
8973
|
}
|
9075
8974
|
},
|
9076
8975
|
{
|
9077
|
-
"name": "
|
9078
|
-
"default": "
|
9079
|
-
"description": "
|
8976
|
+
"name": "avatar-shape",
|
8977
|
+
"default": "`round`",
|
8978
|
+
"description": "Shape of avatar placeholder, can be set to `square`",
|
9080
8979
|
"options": [],
|
9081
8980
|
"value": {
|
9082
|
-
"type": "
|
8981
|
+
"type": "string",
|
9083
8982
|
"kind": "expression"
|
9084
8983
|
}
|
9085
8984
|
}
|
9086
8985
|
]
|
9087
8986
|
},
|
9088
8987
|
{
|
9089
|
-
"name": "van-
|
9090
|
-
"slots": [
|
8988
|
+
"name": "van-share-sheet",
|
8989
|
+
"slots": [
|
8990
|
+
{
|
8991
|
+
"name": "title",
|
8992
|
+
"description": "Custom title"
|
8993
|
+
},
|
8994
|
+
{
|
8995
|
+
"name": "description",
|
8996
|
+
"description": "Custom description"
|
8997
|
+
},
|
8998
|
+
{
|
8999
|
+
"name": "cancel",
|
9000
|
+
"description": "Custom the content of cancel button"
|
9001
|
+
}
|
9002
|
+
],
|
9091
9003
|
"events": [
|
9092
9004
|
{
|
9093
|
-
"name": "
|
9094
|
-
"description": "Emitted when
|
9005
|
+
"name": "select",
|
9006
|
+
"description": "Emitted when an option is clicked",
|
9095
9007
|
"arguments": [
|
9008
|
+
{
|
9009
|
+
"name": "option",
|
9010
|
+
"type": "Option"
|
9011
|
+
},
|
9096
9012
|
{
|
9097
9013
|
"name": "index",
|
9098
9014
|
"type": "number"
|
9099
9015
|
}
|
9100
9016
|
]
|
9101
|
-
}
|
9102
|
-
],
|
9103
|
-
"attributes": [
|
9017
|
+
},
|
9104
9018
|
{
|
9105
|
-
"name": "
|
9106
|
-
"
|
9107
|
-
"
|
9108
|
-
|
9109
|
-
"value": {
|
9110
|
-
"type": "number | string",
|
9111
|
-
"kind": "expression"
|
9112
|
-
}
|
9113
|
-
}
|
9114
|
-
]
|
9115
|
-
},
|
9116
|
-
{
|
9117
|
-
"name": "van-sidebar-item",
|
9118
|
-
"slots": [
|
9019
|
+
"name": "cancel",
|
9020
|
+
"description": "Emitted when the cancel button is clicked",
|
9021
|
+
"arguments": []
|
9022
|
+
},
|
9119
9023
|
{
|
9120
|
-
"name": "
|
9121
|
-
"description": "
|
9122
|
-
|
9123
|
-
|
9124
|
-
"events": [
|
9024
|
+
"name": "open",
|
9025
|
+
"description": "Emitted when opening ShareSheet",
|
9026
|
+
"arguments": []
|
9027
|
+
},
|
9125
9028
|
{
|
9126
|
-
"name": "
|
9127
|
-
"description": "Emitted when
|
9029
|
+
"name": "close",
|
9030
|
+
"description": "Emitted when closing ShareSheet",
|
9031
|
+
"arguments": []
|
9032
|
+
},
|
9033
|
+
{
|
9034
|
+
"name": "opened",
|
9035
|
+
"description": "Emitted when ShareSheet is opened",
|
9036
|
+
"arguments": []
|
9037
|
+
},
|
9038
|
+
{
|
9039
|
+
"name": "closed",
|
9040
|
+
"description": "Emitted when ShareSheet is closed",
|
9041
|
+
"arguments": []
|
9042
|
+
},
|
9043
|
+
{
|
9044
|
+
"name": "click-overlay",
|
9045
|
+
"description": "Emitted when overlay is clicked",
|
9128
9046
|
"arguments": [
|
9129
9047
|
{
|
9130
|
-
"name": "
|
9131
|
-
"type": "
|
9048
|
+
"name": "event",
|
9049
|
+
"type": "MouseEvent"
|
9132
9050
|
}
|
9133
9051
|
]
|
9134
9052
|
}
|
9135
9053
|
],
|
9136
9054
|
"attributes": [
|
9137
9055
|
{
|
9138
|
-
"name": "
|
9139
|
-
"default": "`''`",
|
9140
|
-
"description": "Content",
|
9141
|
-
"options": [],
|
9142
|
-
"value": {
|
9143
|
-
"type": "string",
|
9144
|
-
"kind": "expression"
|
9145
|
-
}
|
9146
|
-
},
|
9147
|
-
{
|
9148
|
-
"name": "dot",
|
9056
|
+
"name": "v-model:show",
|
9149
9057
|
"default": "`false`",
|
9150
|
-
"description": "Whether to show
|
9058
|
+
"description": "Whether to show ShareSheet",
|
9151
9059
|
"options": [],
|
9152
9060
|
"value": {
|
9153
9061
|
"type": "boolean",
|
@@ -9155,39 +9063,39 @@
|
|
9155
9063
|
}
|
9156
9064
|
},
|
9157
9065
|
{
|
9158
|
-
"name": "
|
9159
|
-
"default": "`
|
9160
|
-
"description": "
|
9066
|
+
"name": "options",
|
9067
|
+
"default": "`[]`",
|
9068
|
+
"description": "Share options",
|
9161
9069
|
"options": [],
|
9162
9070
|
"value": {
|
9163
|
-
"type": "
|
9071
|
+
"type": "Option[]",
|
9164
9072
|
"kind": "expression"
|
9165
9073
|
}
|
9166
9074
|
},
|
9167
9075
|
{
|
9168
|
-
"name": "
|
9076
|
+
"name": "title",
|
9169
9077
|
"default": "-",
|
9170
|
-
"description": "
|
9078
|
+
"description": "Title",
|
9171
9079
|
"options": [],
|
9172
9080
|
"value": {
|
9173
|
-
"type": "
|
9081
|
+
"type": "string",
|
9174
9082
|
"kind": "expression"
|
9175
9083
|
}
|
9176
9084
|
},
|
9177
9085
|
{
|
9178
|
-
"name": "
|
9179
|
-
"default": "`
|
9180
|
-
"description": "
|
9086
|
+
"name": "cancel-text",
|
9087
|
+
"default": "`'Cancel'`",
|
9088
|
+
"description": "Cancel button text",
|
9181
9089
|
"options": [],
|
9182
9090
|
"value": {
|
9183
|
-
"type": "
|
9091
|
+
"type": "string",
|
9184
9092
|
"kind": "expression"
|
9185
9093
|
}
|
9186
9094
|
},
|
9187
9095
|
{
|
9188
|
-
"name": "
|
9096
|
+
"name": "description",
|
9189
9097
|
"default": "-",
|
9190
|
-
"description": "
|
9098
|
+
"description": "Description",
|
9191
9099
|
"options": [],
|
9192
9100
|
"value": {
|
9193
9101
|
"type": "string",
|
@@ -9195,66 +9103,59 @@
|
|
9195
9103
|
}
|
9196
9104
|
},
|
9197
9105
|
{
|
9198
|
-
"name": "
|
9199
|
-
"default": "
|
9200
|
-
"description": "
|
9106
|
+
"name": "duration",
|
9107
|
+
"default": "`0.3`",
|
9108
|
+
"description": "Transition duration, unit second",
|
9201
9109
|
"options": [],
|
9202
9110
|
"value": {
|
9203
|
-
"type": "
|
9111
|
+
"type": "number | string",
|
9204
9112
|
"kind": "expression"
|
9205
9113
|
}
|
9206
9114
|
},
|
9207
9115
|
{
|
9208
|
-
"name": "
|
9209
|
-
"default": "`
|
9210
|
-
"description": "
|
9116
|
+
"name": "round",
|
9117
|
+
"default": "`true`",
|
9118
|
+
"description": "Whether to show round corner",
|
9211
9119
|
"options": [],
|
9212
9120
|
"value": {
|
9213
9121
|
"type": "boolean",
|
9214
9122
|
"kind": "expression"
|
9215
9123
|
}
|
9216
|
-
}
|
9217
|
-
]
|
9218
|
-
},
|
9219
|
-
{
|
9220
|
-
"name": "van-skeleton",
|
9221
|
-
"slots": [],
|
9222
|
-
"events": [],
|
9223
|
-
"attributes": [
|
9124
|
+
},
|
9224
9125
|
{
|
9225
|
-
"name": "
|
9226
|
-
"default": "`
|
9227
|
-
"description": "
|
9126
|
+
"name": "overlay",
|
9127
|
+
"default": "`true`",
|
9128
|
+
"description": "Whether to show overlay",
|
9228
9129
|
"options": [],
|
9229
9130
|
"value": {
|
9230
|
-
"type": "
|
9131
|
+
"type": "boolean",
|
9231
9132
|
"kind": "expression"
|
9232
9133
|
}
|
9233
9134
|
},
|
9234
9135
|
{
|
9235
|
-
"name": "
|
9236
|
-
"default": "
|
9237
|
-
"description": "
|
9136
|
+
"name": "overlay-class",
|
9137
|
+
"default": "-",
|
9138
|
+
"description": "Custom overlay class",
|
9238
9139
|
"options": [],
|
9239
9140
|
"value": {
|
9240
|
-
"type": "
|
9141
|
+
"type": "string | Array | object",
|
9241
9142
|
"kind": "expression"
|
9242
9143
|
}
|
9243
9144
|
},
|
9244
9145
|
{
|
9245
|
-
"name": "
|
9246
|
-
"default": "
|
9247
|
-
"description": "
|
9146
|
+
"name": "overlay-style",
|
9147
|
+
"default": "-",
|
9148
|
+
"description": "Custom overlay style",
|
9248
9149
|
"options": [],
|
9249
9150
|
"value": {
|
9250
|
-
"type": "
|
9151
|
+
"type": "object",
|
9251
9152
|
"kind": "expression"
|
9252
9153
|
}
|
9253
9154
|
},
|
9254
9155
|
{
|
9255
|
-
"name": "
|
9256
|
-
"default": "`
|
9257
|
-
"description": "Whether to
|
9156
|
+
"name": "lock-scroll",
|
9157
|
+
"default": "`true`",
|
9158
|
+
"description": "Whether to lock background scroll",
|
9258
9159
|
"options": [],
|
9259
9160
|
"value": {
|
9260
9161
|
"type": "boolean",
|
@@ -9262,9 +9163,9 @@
|
|
9262
9163
|
}
|
9263
9164
|
},
|
9264
9165
|
{
|
9265
|
-
"name": "
|
9166
|
+
"name": "lazy-render",
|
9266
9167
|
"default": "`true`",
|
9267
|
-
"description": "Whether to
|
9168
|
+
"description": "Whether to lazy render util appeared",
|
9268
9169
|
"options": [],
|
9269
9170
|
"value": {
|
9270
9171
|
"type": "boolean",
|
@@ -9272,9 +9173,9 @@
|
|
9272
9173
|
}
|
9273
9174
|
},
|
9274
9175
|
{
|
9275
|
-
"name": "
|
9176
|
+
"name": "close-on-popstate",
|
9276
9177
|
"default": "`true`",
|
9277
|
-
"description": "Whether to
|
9178
|
+
"description": "Whether to close when popstate",
|
9278
9179
|
"options": [],
|
9279
9180
|
"value": {
|
9280
9181
|
"type": "boolean",
|
@@ -9282,9 +9183,9 @@
|
|
9282
9183
|
}
|
9283
9184
|
},
|
9284
9185
|
{
|
9285
|
-
"name": "
|
9286
|
-
"default": "`
|
9287
|
-
"description": "Whether to
|
9186
|
+
"name": "close-on-click-overlay",
|
9187
|
+
"default": "`true`",
|
9188
|
+
"description": "Whether to close when overlay is clicked",
|
9288
9189
|
"options": [],
|
9289
9190
|
"value": {
|
9290
9191
|
"type": "boolean",
|
@@ -9292,32 +9193,32 @@
|
|
9292
9193
|
}
|
9293
9194
|
},
|
9294
9195
|
{
|
9295
|
-
"name": "
|
9296
|
-
"default": "`
|
9297
|
-
"description": "
|
9196
|
+
"name": "safe-area-inset-bottom",
|
9197
|
+
"default": "`true`",
|
9198
|
+
"description": "Whether to enable bottom safe area adaptation",
|
9298
9199
|
"options": [],
|
9299
9200
|
"value": {
|
9300
|
-
"type": "
|
9201
|
+
"type": "boolean",
|
9301
9202
|
"kind": "expression"
|
9302
9203
|
}
|
9303
9204
|
},
|
9304
9205
|
{
|
9305
|
-
"name": "
|
9306
|
-
"default": "
|
9307
|
-
"description": "
|
9206
|
+
"name": "teleport",
|
9207
|
+
"default": "-",
|
9208
|
+
"description": "Specifies a target element where ShareSheet will be mounted",
|
9308
9209
|
"options": [],
|
9309
9210
|
"value": {
|
9310
|
-
"type": "
|
9211
|
+
"type": "string | Element",
|
9311
9212
|
"kind": "expression"
|
9312
9213
|
}
|
9313
9214
|
},
|
9314
9215
|
{
|
9315
|
-
"name": "
|
9316
|
-
"default": "
|
9317
|
-
"description": "
|
9216
|
+
"name": "before-close",
|
9217
|
+
"default": "-",
|
9218
|
+
"description": "Callback function before close",
|
9318
9219
|
"options": [],
|
9319
9220
|
"value": {
|
9320
|
-
"type": "string",
|
9221
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
9321
9222
|
"kind": "expression"
|
9322
9223
|
}
|
9323
9224
|
}
|
@@ -9638,178 +9539,10 @@
|
|
9638
9539
|
"kind": "expression"
|
9639
9540
|
}
|
9640
9541
|
},
|
9641
|
-
{
|
9642
|
-
"name": "button-size",
|
9643
|
-
"default": "`28px`",
|
9644
|
-
"description": "Button size",
|
9645
|
-
"options": [],
|
9646
|
-
"value": {
|
9647
|
-
"type": "number | string",
|
9648
|
-
"kind": "expression"
|
9649
|
-
}
|
9650
|
-
},
|
9651
|
-
{
|
9652
|
-
"name": "decimal-length",
|
9653
|
-
"default": "-",
|
9654
|
-
"description": "Decimal length",
|
9655
|
-
"options": [],
|
9656
|
-
"value": {
|
9657
|
-
"type": "number | string",
|
9658
|
-
"kind": "expression"
|
9659
|
-
}
|
9660
|
-
},
|
9661
|
-
{
|
9662
|
-
"name": "theme",
|
9663
|
-
"default": "-",
|
9664
|
-
"description": "Theme, can be set to `round`",
|
9665
|
-
"options": [],
|
9666
|
-
"value": {
|
9667
|
-
"type": "string",
|
9668
|
-
"kind": "expression"
|
9669
|
-
}
|
9670
|
-
},
|
9671
|
-
{
|
9672
|
-
"name": "placeholder",
|
9673
|
-
"default": "-",
|
9674
|
-
"description": "Input placeholder",
|
9675
|
-
"options": [],
|
9676
|
-
"value": {
|
9677
|
-
"type": "string",
|
9678
|
-
"kind": "expression"
|
9679
|
-
}
|
9680
|
-
},
|
9681
|
-
{
|
9682
|
-
"name": "integer",
|
9683
|
-
"default": "`false`",
|
9684
|
-
"description": "Whether to allow only integers",
|
9685
|
-
"options": [],
|
9686
|
-
"value": {
|
9687
|
-
"type": "boolean",
|
9688
|
-
"kind": "expression"
|
9689
|
-
}
|
9690
|
-
},
|
9691
|
-
{
|
9692
|
-
"name": "disabled",
|
9693
|
-
"default": "`false`",
|
9694
|
-
"description": "Whether to disable value change",
|
9695
|
-
"options": [],
|
9696
|
-
"value": {
|
9697
|
-
"type": "boolean",
|
9698
|
-
"kind": "expression"
|
9699
|
-
}
|
9700
|
-
},
|
9701
|
-
{
|
9702
|
-
"name": "disable-plus",
|
9703
|
-
"default": "`false`",
|
9704
|
-
"description": "Whether to disable plus button",
|
9705
|
-
"options": [],
|
9706
|
-
"value": {
|
9707
|
-
"type": "boolean",
|
9708
|
-
"kind": "expression"
|
9709
|
-
}
|
9710
|
-
},
|
9711
|
-
{
|
9712
|
-
"name": "disable-minus",
|
9713
|
-
"default": "`false`",
|
9714
|
-
"description": "Whether to disable minus button",
|
9715
|
-
"options": [],
|
9716
|
-
"value": {
|
9717
|
-
"type": "boolean",
|
9718
|
-
"kind": "expression"
|
9719
|
-
}
|
9720
|
-
},
|
9721
|
-
{
|
9722
|
-
"name": "disable-input",
|
9723
|
-
"default": "`false`",
|
9724
|
-
"description": "Whether to disable input",
|
9725
|
-
"options": [],
|
9726
|
-
"value": {
|
9727
|
-
"type": "boolean",
|
9728
|
-
"kind": "expression"
|
9729
|
-
}
|
9730
|
-
},
|
9731
|
-
{
|
9732
|
-
"name": "before-change",
|
9733
|
-
"default": "`false`",
|
9734
|
-
"description": "Callback function before changing, return `false` to prevent change, support return Promise",
|
9735
|
-
"options": [],
|
9736
|
-
"value": {
|
9737
|
-
"type": "(value: number | string) => boolean | Promise\\<boolean\\>",
|
9738
|
-
"kind": "expression"
|
9739
|
-
}
|
9740
|
-
},
|
9741
|
-
{
|
9742
|
-
"name": "show-plus",
|
9743
|
-
"default": "`true`",
|
9744
|
-
"description": "Whether to show plus button",
|
9745
|
-
"options": [],
|
9746
|
-
"value": {
|
9747
|
-
"type": "boolean",
|
9748
|
-
"kind": "expression"
|
9749
|
-
}
|
9750
|
-
},
|
9751
|
-
{
|
9752
|
-
"name": "show-minus",
|
9753
|
-
"default": "`true`",
|
9754
|
-
"description": "Whether to show minus button",
|
9755
|
-
"options": [],
|
9756
|
-
"value": {
|
9757
|
-
"type": "boolean",
|
9758
|
-
"kind": "expression"
|
9759
|
-
}
|
9760
|
-
},
|
9761
|
-
{
|
9762
|
-
"name": "show-input",
|
9763
|
-
"default": "`true`",
|
9764
|
-
"description": "Whether to show input",
|
9765
|
-
"options": [],
|
9766
|
-
"value": {
|
9767
|
-
"type": "boolean",
|
9768
|
-
"kind": "expression"
|
9769
|
-
}
|
9770
|
-
},
|
9771
|
-
{
|
9772
|
-
"name": "long-press",
|
9773
|
-
"default": "`true`",
|
9774
|
-
"description": "Whether to allow long press",
|
9775
|
-
"options": [],
|
9776
|
-
"value": {
|
9777
|
-
"type": "boolean",
|
9778
|
-
"kind": "expression"
|
9779
|
-
}
|
9780
|
-
},
|
9781
|
-
{
|
9782
|
-
"name": "allow-empty",
|
9783
|
-
"default": "`false`",
|
9784
|
-
"description": "Whether to allow the input to be empty",
|
9785
|
-
"options": [],
|
9786
|
-
"value": {
|
9787
|
-
"type": "boolean",
|
9788
|
-
"kind": "expression"
|
9789
|
-
}
|
9790
|
-
}
|
9791
|
-
]
|
9792
|
-
},
|
9793
|
-
{
|
9794
|
-
"name": "van-steps",
|
9795
|
-
"slots": [],
|
9796
|
-
"events": [
|
9797
|
-
{
|
9798
|
-
"name": "click-step",
|
9799
|
-
"description": "Emitted when a step's title or icon is clicked",
|
9800
|
-
"arguments": [
|
9801
|
-
{
|
9802
|
-
"name": "index",
|
9803
|
-
"type": "number"
|
9804
|
-
}
|
9805
|
-
]
|
9806
|
-
}
|
9807
|
-
],
|
9808
|
-
"attributes": [
|
9809
|
-
{
|
9810
|
-
"name": "active",
|
9811
|
-
"default": "`0`",
|
9812
|
-
"description": "Active step",
|
9542
|
+
{
|
9543
|
+
"name": "button-size",
|
9544
|
+
"default": "`28px`",
|
9545
|
+
"description": "Button size",
|
9813
9546
|
"options": [],
|
9814
9547
|
"value": {
|
9815
9548
|
"type": "number | string",
|
@@ -9817,19 +9550,19 @@
|
|
9817
9550
|
}
|
9818
9551
|
},
|
9819
9552
|
{
|
9820
|
-
"name": "
|
9821
|
-
"default": "
|
9822
|
-
"description": "
|
9553
|
+
"name": "decimal-length",
|
9554
|
+
"default": "-",
|
9555
|
+
"description": "Decimal length",
|
9823
9556
|
"options": [],
|
9824
9557
|
"value": {
|
9825
|
-
"type": "string",
|
9558
|
+
"type": "number | string",
|
9826
9559
|
"kind": "expression"
|
9827
9560
|
}
|
9828
9561
|
},
|
9829
9562
|
{
|
9830
|
-
"name": "
|
9831
|
-
"default": "
|
9832
|
-
"description": "
|
9563
|
+
"name": "theme",
|
9564
|
+
"default": "-",
|
9565
|
+
"description": "Theme, can be set to `round`",
|
9833
9566
|
"options": [],
|
9834
9567
|
"value": {
|
9835
9568
|
"type": "string",
|
@@ -9837,9 +9570,9 @@
|
|
9837
9570
|
}
|
9838
9571
|
},
|
9839
9572
|
{
|
9840
|
-
"name": "
|
9841
|
-
"default": "
|
9842
|
-
"description": "
|
9573
|
+
"name": "placeholder",
|
9574
|
+
"default": "-",
|
9575
|
+
"description": "Input placeholder",
|
9843
9576
|
"options": [],
|
9844
9577
|
"value": {
|
9845
9578
|
"type": "string",
|
@@ -9847,142 +9580,112 @@
|
|
9847
9580
|
}
|
9848
9581
|
},
|
9849
9582
|
{
|
9850
|
-
"name": "
|
9851
|
-
"default": "`
|
9852
|
-
"description": "
|
9583
|
+
"name": "integer",
|
9584
|
+
"default": "`false`",
|
9585
|
+
"description": "Whether to allow only integers",
|
9853
9586
|
"options": [],
|
9854
9587
|
"value": {
|
9855
|
-
"type": "
|
9588
|
+
"type": "boolean",
|
9856
9589
|
"kind": "expression"
|
9857
9590
|
}
|
9858
9591
|
},
|
9859
9592
|
{
|
9860
|
-
"name": "
|
9861
|
-
"default": "
|
9862
|
-
"description": "
|
9593
|
+
"name": "disabled",
|
9594
|
+
"default": "`false`",
|
9595
|
+
"description": "Whether to disable value change",
|
9863
9596
|
"options": [],
|
9864
9597
|
"value": {
|
9865
|
-
"type": "
|
9598
|
+
"type": "boolean",
|
9866
9599
|
"kind": "expression"
|
9867
9600
|
}
|
9868
9601
|
},
|
9869
9602
|
{
|
9870
|
-
"name": "
|
9871
|
-
"default": "
|
9872
|
-
"description": "
|
9603
|
+
"name": "disable-plus",
|
9604
|
+
"default": "`false`",
|
9605
|
+
"description": "Whether to disable plus button",
|
9873
9606
|
"options": [],
|
9874
9607
|
"value": {
|
9875
|
-
"type": "
|
9608
|
+
"type": "boolean",
|
9876
9609
|
"kind": "expression"
|
9877
9610
|
}
|
9878
9611
|
},
|
9879
9612
|
{
|
9880
|
-
"name": "
|
9881
|
-
"default": "`
|
9882
|
-
"description": "
|
9613
|
+
"name": "disable-minus",
|
9614
|
+
"default": "`false`",
|
9615
|
+
"description": "Whether to disable minus button",
|
9883
9616
|
"options": [],
|
9884
9617
|
"value": {
|
9885
|
-
"type": "
|
9618
|
+
"type": "boolean",
|
9886
9619
|
"kind": "expression"
|
9887
9620
|
}
|
9888
|
-
}
|
9889
|
-
]
|
9890
|
-
},
|
9891
|
-
{
|
9892
|
-
"name": "van-step",
|
9893
|
-
"slots": [
|
9894
|
-
{
|
9895
|
-
"name": "default",
|
9896
|
-
"description": "Step content"
|
9897
|
-
},
|
9898
|
-
{
|
9899
|
-
"name": "active-icon",
|
9900
|
-
"description": "Custom active icon"
|
9901
9621
|
},
|
9902
9622
|
{
|
9903
|
-
"name": "
|
9904
|
-
"
|
9623
|
+
"name": "disable-input",
|
9624
|
+
"default": "`false`",
|
9625
|
+
"description": "Whether to disable input",
|
9626
|
+
"options": [],
|
9627
|
+
"value": {
|
9628
|
+
"type": "boolean",
|
9629
|
+
"kind": "expression"
|
9630
|
+
}
|
9905
9631
|
},
|
9906
9632
|
{
|
9907
|
-
"name": "
|
9908
|
-
"
|
9909
|
-
|
9910
|
-
|
9911
|
-
|
9912
|
-
|
9913
|
-
|
9914
|
-
|
9915
|
-
"name": "van-sticky",
|
9916
|
-
"slots": [],
|
9917
|
-
"events": [
|
9918
|
-
{
|
9919
|
-
"name": "change",
|
9920
|
-
"description": "Emitted when sticky status changed",
|
9921
|
-
"arguments": [
|
9922
|
-
{
|
9923
|
-
"name": "isFixed",
|
9924
|
-
"type": "boolean"
|
9925
|
-
}
|
9926
|
-
]
|
9633
|
+
"name": "before-change",
|
9634
|
+
"default": "`false`",
|
9635
|
+
"description": "Callback function before changing, return `false` to prevent change, support return Promise",
|
9636
|
+
"options": [],
|
9637
|
+
"value": {
|
9638
|
+
"type": "(value: number | string) => boolean | Promise\\<boolean\\>",
|
9639
|
+
"kind": "expression"
|
9640
|
+
}
|
9927
9641
|
},
|
9928
9642
|
{
|
9929
|
-
"name": "
|
9930
|
-
"
|
9931
|
-
"
|
9932
|
-
{
|
9933
|
-
"name": "{ scrollTop: number, isFixed: boolean }"
|
9934
|
-
}
|
9935
|
-
]
|
9936
|
-
}
|
9937
|
-
],
|
9938
|
-
"attributes": [
|
9939
|
-
{
|
9940
|
-
"name": "position",
|
9941
|
-
"default": "`top`",
|
9942
|
-
"description": "Offset position, can be set to `bottom`",
|
9643
|
+
"name": "show-plus",
|
9644
|
+
"default": "`true`",
|
9645
|
+
"description": "Whether to show plus button",
|
9943
9646
|
"options": [],
|
9944
9647
|
"value": {
|
9945
|
-
"type": "
|
9648
|
+
"type": "boolean",
|
9946
9649
|
"kind": "expression"
|
9947
9650
|
}
|
9948
9651
|
},
|
9949
9652
|
{
|
9950
|
-
"name": "
|
9951
|
-
"default": "`
|
9952
|
-
"description": "
|
9653
|
+
"name": "show-minus",
|
9654
|
+
"default": "`true`",
|
9655
|
+
"description": "Whether to show minus button",
|
9953
9656
|
"options": [],
|
9954
9657
|
"value": {
|
9955
|
-
"type": "
|
9658
|
+
"type": "boolean",
|
9956
9659
|
"kind": "expression"
|
9957
9660
|
}
|
9958
9661
|
},
|
9959
9662
|
{
|
9960
|
-
"name": "
|
9961
|
-
"default": "`
|
9962
|
-
"description": "
|
9663
|
+
"name": "show-input",
|
9664
|
+
"default": "`true`",
|
9665
|
+
"description": "Whether to show input",
|
9963
9666
|
"options": [],
|
9964
9667
|
"value": {
|
9965
|
-
"type": "
|
9668
|
+
"type": "boolean",
|
9966
9669
|
"kind": "expression"
|
9967
9670
|
}
|
9968
9671
|
},
|
9969
9672
|
{
|
9970
|
-
"name": "
|
9971
|
-
"default": "`
|
9972
|
-
"description": "
|
9673
|
+
"name": "long-press",
|
9674
|
+
"default": "`true`",
|
9675
|
+
"description": "Whether to allow long press",
|
9973
9676
|
"options": [],
|
9974
9677
|
"value": {
|
9975
|
-
"type": "
|
9678
|
+
"type": "boolean",
|
9976
9679
|
"kind": "expression"
|
9977
9680
|
}
|
9978
9681
|
},
|
9979
9682
|
{
|
9980
|
-
"name": "
|
9981
|
-
"default": "
|
9982
|
-
"description": "
|
9683
|
+
"name": "allow-empty",
|
9684
|
+
"default": "`false`",
|
9685
|
+
"description": "Whether to allow the input to be empty",
|
9983
9686
|
"options": [],
|
9984
9687
|
"value": {
|
9985
|
-
"type": "
|
9688
|
+
"type": "boolean",
|
9986
9689
|
"kind": "expression"
|
9987
9690
|
}
|
9988
9691
|
}
|
@@ -10107,9 +9810,107 @@
|
|
10107
9810
|
}
|
10108
9811
|
},
|
10109
9812
|
{
|
10110
|
-
"name": "tip-icon",
|
10111
|
-
"default": "-",
|
10112
|
-
"description": "Tip left icon",
|
9813
|
+
"name": "tip-icon",
|
9814
|
+
"default": "-",
|
9815
|
+
"description": "Tip left icon",
|
9816
|
+
"options": [],
|
9817
|
+
"value": {
|
9818
|
+
"type": "string",
|
9819
|
+
"kind": "expression"
|
9820
|
+
}
|
9821
|
+
},
|
9822
|
+
{
|
9823
|
+
"name": "currency",
|
9824
|
+
"default": "`¥`",
|
9825
|
+
"description": "Currency symbol",
|
9826
|
+
"options": [],
|
9827
|
+
"value": {
|
9828
|
+
"type": "string",
|
9829
|
+
"kind": "expression"
|
9830
|
+
}
|
9831
|
+
},
|
9832
|
+
{
|
9833
|
+
"name": "disabled",
|
9834
|
+
"default": "`false`",
|
9835
|
+
"description": "Whether to disable button",
|
9836
|
+
"options": [],
|
9837
|
+
"value": {
|
9838
|
+
"type": "boolean",
|
9839
|
+
"kind": "expression"
|
9840
|
+
}
|
9841
|
+
},
|
9842
|
+
{
|
9843
|
+
"name": "loading",
|
9844
|
+
"default": "`false`",
|
9845
|
+
"description": "Whether to show loading icon",
|
9846
|
+
"options": [],
|
9847
|
+
"value": {
|
9848
|
+
"type": "boolean",
|
9849
|
+
"kind": "expression"
|
9850
|
+
}
|
9851
|
+
},
|
9852
|
+
{
|
9853
|
+
"name": "safe-area-inset-bottom",
|
9854
|
+
"default": "`true`",
|
9855
|
+
"description": "Whether to enable bottom safe area adaptation",
|
9856
|
+
"options": [],
|
9857
|
+
"value": {
|
9858
|
+
"type": "boolean",
|
9859
|
+
"kind": "expression"
|
9860
|
+
}
|
9861
|
+
}
|
9862
|
+
]
|
9863
|
+
},
|
9864
|
+
{
|
9865
|
+
"name": "van-steps",
|
9866
|
+
"slots": [],
|
9867
|
+
"events": [
|
9868
|
+
{
|
9869
|
+
"name": "click-step",
|
9870
|
+
"description": "Emitted when a step's title or icon is clicked",
|
9871
|
+
"arguments": [
|
9872
|
+
{
|
9873
|
+
"name": "index",
|
9874
|
+
"type": "number"
|
9875
|
+
}
|
9876
|
+
]
|
9877
|
+
}
|
9878
|
+
],
|
9879
|
+
"attributes": [
|
9880
|
+
{
|
9881
|
+
"name": "active",
|
9882
|
+
"default": "`0`",
|
9883
|
+
"description": "Active step",
|
9884
|
+
"options": [],
|
9885
|
+
"value": {
|
9886
|
+
"type": "number | string",
|
9887
|
+
"kind": "expression"
|
9888
|
+
}
|
9889
|
+
},
|
9890
|
+
{
|
9891
|
+
"name": "direction",
|
9892
|
+
"default": "`horizontal`",
|
9893
|
+
"description": "Can be set to `vertical`",
|
9894
|
+
"options": [],
|
9895
|
+
"value": {
|
9896
|
+
"type": "string",
|
9897
|
+
"kind": "expression"
|
9898
|
+
}
|
9899
|
+
},
|
9900
|
+
{
|
9901
|
+
"name": "active-color",
|
9902
|
+
"default": "`#07c160`",
|
9903
|
+
"description": "Active step color",
|
9904
|
+
"options": [],
|
9905
|
+
"value": {
|
9906
|
+
"type": "string",
|
9907
|
+
"kind": "expression"
|
9908
|
+
}
|
9909
|
+
},
|
9910
|
+
{
|
9911
|
+
"name": "inactive-color",
|
9912
|
+
"default": "`#969799`",
|
9913
|
+
"description": "Inactive step color",
|
10113
9914
|
"options": [],
|
10114
9915
|
"value": {
|
10115
9916
|
"type": "string",
|
@@ -10117,9 +9918,9 @@
|
|
10117
9918
|
}
|
10118
9919
|
},
|
10119
9920
|
{
|
10120
|
-
"name": "
|
10121
|
-
"default": "
|
10122
|
-
"description": "
|
9921
|
+
"name": "active-icon",
|
9922
|
+
"default": "`checked`",
|
9923
|
+
"description": "Active icon name",
|
10123
9924
|
"options": [],
|
10124
9925
|
"value": {
|
10125
9926
|
"type": "string",
|
@@ -10127,37 +9928,60 @@
|
|
10127
9928
|
}
|
10128
9929
|
},
|
10129
9930
|
{
|
10130
|
-
"name": "
|
10131
|
-
"default": "
|
10132
|
-
"description": "
|
9931
|
+
"name": "inactive-icon",
|
9932
|
+
"default": "-",
|
9933
|
+
"description": "Inactive icon name",
|
10133
9934
|
"options": [],
|
10134
9935
|
"value": {
|
10135
|
-
"type": "
|
9936
|
+
"type": "string",
|
10136
9937
|
"kind": "expression"
|
10137
9938
|
}
|
10138
9939
|
},
|
10139
9940
|
{
|
10140
|
-
"name": "
|
10141
|
-
"default": "
|
10142
|
-
"description": "
|
9941
|
+
"name": "finish-icon",
|
9942
|
+
"default": "-",
|
9943
|
+
"description": "Finish icon name",
|
10143
9944
|
"options": [],
|
10144
9945
|
"value": {
|
10145
|
-
"type": "
|
9946
|
+
"type": "string",
|
10146
9947
|
"kind": "expression"
|
10147
9948
|
}
|
10148
9949
|
},
|
10149
9950
|
{
|
10150
|
-
"name": "
|
10151
|
-
"default": "`
|
10152
|
-
"description": "
|
9951
|
+
"name": "icon-prefix",
|
9952
|
+
"default": "`van-icon`",
|
9953
|
+
"description": "Icon className prefix",
|
10153
9954
|
"options": [],
|
10154
9955
|
"value": {
|
10155
|
-
"type": "
|
9956
|
+
"type": "string",
|
10156
9957
|
"kind": "expression"
|
10157
9958
|
}
|
10158
9959
|
}
|
10159
9960
|
]
|
10160
9961
|
},
|
9962
|
+
{
|
9963
|
+
"name": "van-step",
|
9964
|
+
"slots": [
|
9965
|
+
{
|
9966
|
+
"name": "default",
|
9967
|
+
"description": "Step content"
|
9968
|
+
},
|
9969
|
+
{
|
9970
|
+
"name": "active-icon",
|
9971
|
+
"description": "Custom active icon"
|
9972
|
+
},
|
9973
|
+
{
|
9974
|
+
"name": "inactive-icon",
|
9975
|
+
"description": "Custom inactive icon"
|
9976
|
+
},
|
9977
|
+
{
|
9978
|
+
"name": "finish-icon",
|
9979
|
+
"description": "Custom finish icon"
|
9980
|
+
}
|
9981
|
+
],
|
9982
|
+
"events": [],
|
9983
|
+
"attributes": []
|
9984
|
+
},
|
10161
9985
|
{
|
10162
9986
|
"name": "van-swipe",
|
10163
9987
|
"slots": [
|
@@ -10323,68 +10147,44 @@
|
|
10323
10147
|
"attributes": []
|
10324
10148
|
},
|
10325
10149
|
{
|
10326
|
-
"name": "van-
|
10327
|
-
"slots": [
|
10328
|
-
{
|
10329
|
-
"name": "default",
|
10330
|
-
"description": "custom content"
|
10331
|
-
},
|
10332
|
-
{
|
10333
|
-
"name": "left",
|
10334
|
-
"description": "content of left scrollable area"
|
10335
|
-
},
|
10336
|
-
{
|
10337
|
-
"name": "right",
|
10338
|
-
"description": "content of right scrollable area"
|
10339
|
-
}
|
10340
|
-
],
|
10150
|
+
"name": "van-sticky",
|
10151
|
+
"slots": [],
|
10341
10152
|
"events": [
|
10342
10153
|
{
|
10343
|
-
"name": "
|
10344
|
-
"description": "Emitted when
|
10345
|
-
"arguments": [
|
10346
|
-
{
|
10347
|
-
"name": "position",
|
10348
|
-
"type": "'left' | 'right' | 'cell' | 'outside'"
|
10349
|
-
}
|
10350
|
-
]
|
10351
|
-
},
|
10352
|
-
{
|
10353
|
-
"name": "open",
|
10354
|
-
"description": "Emitted when SwipeCell is opened",
|
10154
|
+
"name": "change",
|
10155
|
+
"description": "Emitted when sticky status changed",
|
10355
10156
|
"arguments": [
|
10356
10157
|
{
|
10357
|
-
"name": "
|
10358
|
-
"type": "
|
10158
|
+
"name": "isFixed",
|
10159
|
+
"type": "boolean"
|
10359
10160
|
}
|
10360
10161
|
]
|
10361
10162
|
},
|
10362
10163
|
{
|
10363
|
-
"name": "
|
10364
|
-
"description": "Emitted when
|
10164
|
+
"name": "scroll",
|
10165
|
+
"description": "Emitted when scrolling",
|
10365
10166
|
"arguments": [
|
10366
10167
|
{
|
10367
|
-
"name": "
|
10368
|
-
"type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
|
10168
|
+
"name": "{ scrollTop: number, isFixed: boolean }"
|
10369
10169
|
}
|
10370
10170
|
]
|
10371
10171
|
}
|
10372
10172
|
],
|
10373
10173
|
"attributes": [
|
10374
10174
|
{
|
10375
|
-
"name": "
|
10376
|
-
"default": "
|
10377
|
-
"description": "
|
10175
|
+
"name": "position",
|
10176
|
+
"default": "`top`",
|
10177
|
+
"description": "Offset position, can be set to `bottom`",
|
10378
10178
|
"options": [],
|
10379
10179
|
"value": {
|
10380
|
-
"type": "
|
10180
|
+
"type": "string",
|
10381
10181
|
"kind": "expression"
|
10382
10182
|
}
|
10383
10183
|
},
|
10384
10184
|
{
|
10385
|
-
"name": "
|
10386
|
-
"default": "`
|
10387
|
-
"description": "
|
10185
|
+
"name": "offset-top",
|
10186
|
+
"default": "`0`",
|
10187
|
+
"description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`",
|
10388
10188
|
"options": [],
|
10389
10189
|
"value": {
|
10390
10190
|
"type": "number | string",
|
@@ -10392,9 +10192,9 @@
|
|
10392
10192
|
}
|
10393
10193
|
},
|
10394
10194
|
{
|
10395
|
-
"name": "
|
10396
|
-
"default": "`
|
10397
|
-
"description": "
|
10195
|
+
"name": "offset-bottom",
|
10196
|
+
"default": "`0`",
|
10197
|
+
"description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`",
|
10398
10198
|
"options": [],
|
10399
10199
|
"value": {
|
10400
10200
|
"type": "number | string",
|
@@ -10402,32 +10202,22 @@
|
|
10402
10202
|
}
|
10403
10203
|
},
|
10404
10204
|
{
|
10405
|
-
"name": "
|
10406
|
-
"default": "
|
10407
|
-
"description": "
|
10408
|
-
"options": [],
|
10409
|
-
"value": {
|
10410
|
-
"type": "(args) => boolean | Promise\\<boolean\\>",
|
10411
|
-
"kind": "expression"
|
10412
|
-
}
|
10413
|
-
},
|
10414
|
-
{
|
10415
|
-
"name": "disabled",
|
10416
|
-
"default": "`false`",
|
10417
|
-
"description": "Whether to disabled swipe",
|
10205
|
+
"name": "z-index",
|
10206
|
+
"default": "`99`",
|
10207
|
+
"description": "z-index when sticky",
|
10418
10208
|
"options": [],
|
10419
10209
|
"value": {
|
10420
|
-
"type": "
|
10210
|
+
"type": "number | string",
|
10421
10211
|
"kind": "expression"
|
10422
10212
|
}
|
10423
10213
|
},
|
10424
10214
|
{
|
10425
|
-
"name": "
|
10426
|
-
"default": "
|
10427
|
-
"description": "
|
10215
|
+
"name": "container",
|
10216
|
+
"default": "-",
|
10217
|
+
"description": "Container DOM",
|
10428
10218
|
"options": [],
|
10429
10219
|
"value": {
|
10430
|
-
"type": "
|
10220
|
+
"type": "Element",
|
10431
10221
|
"kind": "expression"
|
10432
10222
|
}
|
10433
10223
|
}
|
@@ -10491,8 +10281,8 @@
|
|
10491
10281
|
},
|
10492
10282
|
{
|
10493
10283
|
"name": "size",
|
10494
|
-
"default": "`
|
10495
|
-
"description": "Size of switch",
|
10284
|
+
"default": "`26px`",
|
10285
|
+
"description": "Size of switch button",
|
10496
10286
|
"options": [],
|
10497
10287
|
"value": {
|
10498
10288
|
"type": "number | string",
|
@@ -10511,31 +10301,142 @@
|
|
10511
10301
|
},
|
10512
10302
|
{
|
10513
10303
|
"name": "inactive-color",
|
10514
|
-
"default": "`
|
10304
|
+
"default": "`rgba(120, 120, 128, 0.16)`",
|
10515
10305
|
"description": "Background color when inactive",
|
10516
10306
|
"options": [],
|
10517
10307
|
"value": {
|
10518
|
-
"type": "string",
|
10308
|
+
"type": "string",
|
10309
|
+
"kind": "expression"
|
10310
|
+
}
|
10311
|
+
},
|
10312
|
+
{
|
10313
|
+
"name": "active-value",
|
10314
|
+
"default": "`true`",
|
10315
|
+
"description": "Value when active",
|
10316
|
+
"options": [],
|
10317
|
+
"value": {
|
10318
|
+
"type": "any",
|
10319
|
+
"kind": "expression"
|
10320
|
+
}
|
10321
|
+
},
|
10322
|
+
{
|
10323
|
+
"name": "inactive-value",
|
10324
|
+
"default": "`false`",
|
10325
|
+
"description": "Value when inactive",
|
10326
|
+
"options": [],
|
10327
|
+
"value": {
|
10328
|
+
"type": "any",
|
10329
|
+
"kind": "expression"
|
10330
|
+
}
|
10331
|
+
}
|
10332
|
+
]
|
10333
|
+
},
|
10334
|
+
{
|
10335
|
+
"name": "van-swipe-cell",
|
10336
|
+
"slots": [
|
10337
|
+
{
|
10338
|
+
"name": "default",
|
10339
|
+
"description": "custom content"
|
10340
|
+
},
|
10341
|
+
{
|
10342
|
+
"name": "left",
|
10343
|
+
"description": "content of left scrollable area"
|
10344
|
+
},
|
10345
|
+
{
|
10346
|
+
"name": "right",
|
10347
|
+
"description": "content of right scrollable area"
|
10348
|
+
}
|
10349
|
+
],
|
10350
|
+
"events": [
|
10351
|
+
{
|
10352
|
+
"name": "click",
|
10353
|
+
"description": "Emitted when SwipeCell is clicked",
|
10354
|
+
"arguments": [
|
10355
|
+
{
|
10356
|
+
"name": "position",
|
10357
|
+
"type": "'left' | 'right' | 'cell' | 'outside'"
|
10358
|
+
}
|
10359
|
+
]
|
10360
|
+
},
|
10361
|
+
{
|
10362
|
+
"name": "open",
|
10363
|
+
"description": "Emitted when SwipeCell is opened",
|
10364
|
+
"arguments": [
|
10365
|
+
{
|
10366
|
+
"name": "value",
|
10367
|
+
"type": "{ name: string | number, position: 'left' | 'right' }"
|
10368
|
+
}
|
10369
|
+
]
|
10370
|
+
},
|
10371
|
+
{
|
10372
|
+
"name": "close",
|
10373
|
+
"description": "Emitted when SwipeCell is closed",
|
10374
|
+
"arguments": [
|
10375
|
+
{
|
10376
|
+
"name": "value",
|
10377
|
+
"type": "{ name: string | number, position: 'left' | 'right' | 'cell' | 'outside' }"
|
10378
|
+
}
|
10379
|
+
]
|
10380
|
+
}
|
10381
|
+
],
|
10382
|
+
"attributes": [
|
10383
|
+
{
|
10384
|
+
"name": "name",
|
10385
|
+
"default": "-",
|
10386
|
+
"description": "Identifier of SwipeCell",
|
10387
|
+
"options": [],
|
10388
|
+
"value": {
|
10389
|
+
"type": "number | string",
|
10390
|
+
"kind": "expression"
|
10391
|
+
}
|
10392
|
+
},
|
10393
|
+
{
|
10394
|
+
"name": "left-width",
|
10395
|
+
"default": "`auto`",
|
10396
|
+
"description": "Width of the left swipe area",
|
10397
|
+
"options": [],
|
10398
|
+
"value": {
|
10399
|
+
"type": "number | string",
|
10400
|
+
"kind": "expression"
|
10401
|
+
}
|
10402
|
+
},
|
10403
|
+
{
|
10404
|
+
"name": "right-width",
|
10405
|
+
"default": "`auto`",
|
10406
|
+
"description": "Width of the right swipe area",
|
10407
|
+
"options": [],
|
10408
|
+
"value": {
|
10409
|
+
"type": "number | string",
|
10410
|
+
"kind": "expression"
|
10411
|
+
}
|
10412
|
+
},
|
10413
|
+
{
|
10414
|
+
"name": "before-close",
|
10415
|
+
"default": "-",
|
10416
|
+
"description": "Callback function before close",
|
10417
|
+
"options": [],
|
10418
|
+
"value": {
|
10419
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
10519
10420
|
"kind": "expression"
|
10520
10421
|
}
|
10521
10422
|
},
|
10522
10423
|
{
|
10523
|
-
"name": "
|
10524
|
-
"default": "`
|
10525
|
-
"description": "
|
10424
|
+
"name": "disabled",
|
10425
|
+
"default": "`false`",
|
10426
|
+
"description": "Whether to disabled swipe",
|
10526
10427
|
"options": [],
|
10527
10428
|
"value": {
|
10528
|
-
"type": "
|
10429
|
+
"type": "boolean",
|
10529
10430
|
"kind": "expression"
|
10530
10431
|
}
|
10531
10432
|
},
|
10532
10433
|
{
|
10533
|
-
"name": "
|
10434
|
+
"name": "stop-propagation",
|
10534
10435
|
"default": "`false`",
|
10535
|
-
"description": "
|
10436
|
+
"description": "Whether to stop touchmove event propagation",
|
10536
10437
|
"options": [],
|
10537
10438
|
"value": {
|
10538
|
-
"type": "
|
10439
|
+
"type": "boolean",
|
10539
10440
|
"kind": "expression"
|
10540
10441
|
}
|
10541
10442
|
}
|
@@ -10628,7 +10529,7 @@
|
|
10628
10529
|
},
|
10629
10530
|
{
|
10630
10531
|
"name": "color",
|
10631
|
-
"default": "`#
|
10532
|
+
"default": "`#1989fa`",
|
10632
10533
|
"description": "Tab color",
|
10633
10534
|
"options": [],
|
10634
10535
|
"value": {
|
@@ -11277,6 +11178,260 @@
|
|
11277
11178
|
}
|
11278
11179
|
]
|
11279
11180
|
},
|
11181
|
+
{
|
11182
|
+
"name": "van-time-picker",
|
11183
|
+
"slots": [
|
11184
|
+
{
|
11185
|
+
"name": "default",
|
11186
|
+
"description": "Custom toolbar content"
|
11187
|
+
},
|
11188
|
+
{
|
11189
|
+
"name": "title",
|
11190
|
+
"description": "Custom title"
|
11191
|
+
},
|
11192
|
+
{
|
11193
|
+
"name": "confirm",
|
11194
|
+
"description": "Custom confirm button text"
|
11195
|
+
},
|
11196
|
+
{
|
11197
|
+
"name": "cancel",
|
11198
|
+
"description": "Custom cancel button text"
|
11199
|
+
},
|
11200
|
+
{
|
11201
|
+
"name": "option",
|
11202
|
+
"description": "Custom option content"
|
11203
|
+
},
|
11204
|
+
{
|
11205
|
+
"name": "columns-top",
|
11206
|
+
"description": "Custom content above columns"
|
11207
|
+
},
|
11208
|
+
{
|
11209
|
+
"name": "columns-bottom",
|
11210
|
+
"description": "Custom content below columns"
|
11211
|
+
}
|
11212
|
+
],
|
11213
|
+
"events": [
|
11214
|
+
{
|
11215
|
+
"name": "confirm",
|
11216
|
+
"description": "Emitted when the confirm button is clicked",
|
11217
|
+
"arguments": [
|
11218
|
+
{
|
11219
|
+
"name": "{ selectedValues, selectedOptions }"
|
11220
|
+
}
|
11221
|
+
]
|
11222
|
+
},
|
11223
|
+
{
|
11224
|
+
"name": "cancel",
|
11225
|
+
"description": "Emitted when the cancel button is clicked",
|
11226
|
+
"arguments": [
|
11227
|
+
{
|
11228
|
+
"name": "{ selectedValues, selectedOptions }"
|
11229
|
+
}
|
11230
|
+
]
|
11231
|
+
},
|
11232
|
+
{
|
11233
|
+
"name": "change",
|
11234
|
+
"description": "Emitted when current option is changed",
|
11235
|
+
"arguments": [
|
11236
|
+
{
|
11237
|
+
"name": "{ selectedValues, selectedOptions, columnIndex }"
|
11238
|
+
}
|
11239
|
+
]
|
11240
|
+
}
|
11241
|
+
],
|
11242
|
+
"attributes": [
|
11243
|
+
{
|
11244
|
+
"name": "v-model",
|
11245
|
+
"default": "-",
|
11246
|
+
"description": "Current time",
|
11247
|
+
"options": [],
|
11248
|
+
"value": {
|
11249
|
+
"type": "string[]",
|
11250
|
+
"kind": "expression"
|
11251
|
+
}
|
11252
|
+
},
|
11253
|
+
{
|
11254
|
+
"name": "columns-type",
|
11255
|
+
"default": "`['hour', 'minute']`",
|
11256
|
+
"description": "Columns type",
|
11257
|
+
"options": [],
|
11258
|
+
"value": {
|
11259
|
+
"type": "string[]",
|
11260
|
+
"kind": "expression"
|
11261
|
+
}
|
11262
|
+
},
|
11263
|
+
{
|
11264
|
+
"name": "min-hour",
|
11265
|
+
"default": "`0`",
|
11266
|
+
"description": "Min hour",
|
11267
|
+
"options": [],
|
11268
|
+
"value": {
|
11269
|
+
"type": "number | string",
|
11270
|
+
"kind": "expression"
|
11271
|
+
}
|
11272
|
+
},
|
11273
|
+
{
|
11274
|
+
"name": "max-hour",
|
11275
|
+
"default": "`23`",
|
11276
|
+
"description": "Max hour",
|
11277
|
+
"options": [],
|
11278
|
+
"value": {
|
11279
|
+
"type": "number | string",
|
11280
|
+
"kind": "expression"
|
11281
|
+
}
|
11282
|
+
},
|
11283
|
+
{
|
11284
|
+
"name": "min-minute",
|
11285
|
+
"default": "`0`",
|
11286
|
+
"description": "Min minute",
|
11287
|
+
"options": [],
|
11288
|
+
"value": {
|
11289
|
+
"type": "number | string",
|
11290
|
+
"kind": "expression"
|
11291
|
+
}
|
11292
|
+
},
|
11293
|
+
{
|
11294
|
+
"name": "max-minute",
|
11295
|
+
"default": "`59`",
|
11296
|
+
"description": "Max minute",
|
11297
|
+
"options": [],
|
11298
|
+
"value": {
|
11299
|
+
"type": "number | string",
|
11300
|
+
"kind": "expression"
|
11301
|
+
}
|
11302
|
+
},
|
11303
|
+
{
|
11304
|
+
"name": "min-second",
|
11305
|
+
"default": "`0`",
|
11306
|
+
"description": "Min second",
|
11307
|
+
"options": [],
|
11308
|
+
"value": {
|
11309
|
+
"type": "number | string",
|
11310
|
+
"kind": "expression"
|
11311
|
+
}
|
11312
|
+
},
|
11313
|
+
{
|
11314
|
+
"name": "max-second",
|
11315
|
+
"default": "`59`",
|
11316
|
+
"description": "Max second",
|
11317
|
+
"options": [],
|
11318
|
+
"value": {
|
11319
|
+
"type": "number | string",
|
11320
|
+
"kind": "expression"
|
11321
|
+
}
|
11322
|
+
},
|
11323
|
+
{
|
11324
|
+
"name": "title",
|
11325
|
+
"default": "`''`",
|
11326
|
+
"description": "Toolbar title",
|
11327
|
+
"options": [],
|
11328
|
+
"value": {
|
11329
|
+
"type": "string",
|
11330
|
+
"kind": "expression"
|
11331
|
+
}
|
11332
|
+
},
|
11333
|
+
{
|
11334
|
+
"name": "confirm-button-text",
|
11335
|
+
"default": "`Confirm`",
|
11336
|
+
"description": "Text of confirm button",
|
11337
|
+
"options": [],
|
11338
|
+
"value": {
|
11339
|
+
"type": "string",
|
11340
|
+
"kind": "expression"
|
11341
|
+
}
|
11342
|
+
},
|
11343
|
+
{
|
11344
|
+
"name": "cancel-button-text",
|
11345
|
+
"default": "`Cancel`",
|
11346
|
+
"description": "Text of cancel button",
|
11347
|
+
"options": [],
|
11348
|
+
"value": {
|
11349
|
+
"type": "string",
|
11350
|
+
"kind": "expression"
|
11351
|
+
}
|
11352
|
+
},
|
11353
|
+
{
|
11354
|
+
"name": "show-toolbar",
|
11355
|
+
"default": "`true`",
|
11356
|
+
"description": "Whether to show toolbar",
|
11357
|
+
"options": [],
|
11358
|
+
"value": {
|
11359
|
+
"type": "boolean",
|
11360
|
+
"kind": "expression"
|
11361
|
+
}
|
11362
|
+
},
|
11363
|
+
{
|
11364
|
+
"name": "loading",
|
11365
|
+
"default": "`false`",
|
11366
|
+
"description": "Whether to show loading prompt",
|
11367
|
+
"options": [],
|
11368
|
+
"value": {
|
11369
|
+
"type": "boolean",
|
11370
|
+
"kind": "expression"
|
11371
|
+
}
|
11372
|
+
},
|
11373
|
+
{
|
11374
|
+
"name": "readonly",
|
11375
|
+
"default": "`false`",
|
11376
|
+
"description": "Whether to be readonly",
|
11377
|
+
"options": [],
|
11378
|
+
"value": {
|
11379
|
+
"type": "boolean",
|
11380
|
+
"kind": "expression"
|
11381
|
+
}
|
11382
|
+
},
|
11383
|
+
{
|
11384
|
+
"name": "filter",
|
11385
|
+
"default": "-",
|
11386
|
+
"description": "Option filter",
|
11387
|
+
"options": [],
|
11388
|
+
"value": {
|
11389
|
+
"type": "(type: string, options: PickerOption[]) => PickerOption[]",
|
11390
|
+
"kind": "expression"
|
11391
|
+
}
|
11392
|
+
},
|
11393
|
+
{
|
11394
|
+
"name": "formatter",
|
11395
|
+
"default": "-",
|
11396
|
+
"description": "Option text formatter",
|
11397
|
+
"options": [],
|
11398
|
+
"value": {
|
11399
|
+
"type": "(type: string, option: PickerOption) => PickerOption",
|
11400
|
+
"kind": "expression"
|
11401
|
+
}
|
11402
|
+
},
|
11403
|
+
{
|
11404
|
+
"name": "option-height",
|
11405
|
+
"default": "`44`",
|
11406
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
11407
|
+
"options": [],
|
11408
|
+
"value": {
|
11409
|
+
"type": "number | string",
|
11410
|
+
"kind": "expression"
|
11411
|
+
}
|
11412
|
+
},
|
11413
|
+
{
|
11414
|
+
"name": "visible-option-num",
|
11415
|
+
"default": "`6`",
|
11416
|
+
"description": "Count of visible columns",
|
11417
|
+
"options": [],
|
11418
|
+
"value": {
|
11419
|
+
"type": "number | string",
|
11420
|
+
"kind": "expression"
|
11421
|
+
}
|
11422
|
+
},
|
11423
|
+
{
|
11424
|
+
"name": "swipe-duration",
|
11425
|
+
"default": "`1000`",
|
11426
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
11427
|
+
"options": [],
|
11428
|
+
"value": {
|
11429
|
+
"type": "number | string",
|
11430
|
+
"kind": "expression"
|
11431
|
+
}
|
11432
|
+
}
|
11433
|
+
]
|
11434
|
+
},
|
11280
11435
|
{
|
11281
11436
|
"name": "van-tree-select",
|
11282
11437
|
"slots": [
|