vant 3.2.2 → 3.2.6
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/es/action-bar/ActionBar.d.ts +1 -1
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.d.ts +1 -1
- package/es/action-bar/index.less +1 -1
- package/es/action-bar-button/ActionBarButton.d.ts +1 -1
- package/es/action-bar-button/index.d.ts +1 -1
- package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/es/action-bar-icon/ActionBarIcon.js +4 -4
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +1 -1
- package/es/action-bar-icon/index.less +1 -1
- package/es/action-sheet/ActionSheet.d.ts +22 -16
- package/es/action-sheet/ActionSheet.js +9 -20
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +18 -11
- package/es/action-sheet/index.less +2 -2
- package/es/address-edit/AddressEdit.d.ts +14 -16
- package/es/address-edit/AddressEdit.js +9 -25
- package/es/address-edit/AddressEditDetail.js +8 -9
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +10 -9
- package/es/address-edit/index.less +2 -2
- package/es/address-edit/style/index.js +0 -3
- package/es/address-edit/style/less.js +0 -3
- package/es/address-list/AddressList.d.ts +9 -10
- package/es/address-list/AddressList.js +7 -17
- package/es/address-list/AddressListItem.d.ts +4 -4
- package/es/address-list/AddressListItem.js +3 -6
- package/es/address-list/index.d.ts +8 -8
- package/es/area/Area.d.ts +44 -45
- package/es/area/Area.js +4 -12
- package/es/area/index.d.ts +30 -28
- package/es/badge/Badge.d.ts +9 -9
- package/es/badge/Badge.js +5 -8
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +9 -9
- package/es/badge/index.less +4 -2
- package/es/button/Button.d.ts +31 -29
- package/es/button/Button.js +7 -22
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +29 -29
- package/es/button/index.less +7 -7
- package/es/calendar/Calendar.d.ts +46 -47
- package/es/calendar/Calendar.js +43 -35
- package/es/calendar/CalendarDay.d.ts +7 -7
- package/es/calendar/CalendarDay.js +4 -10
- package/es/calendar/CalendarMonth.d.ts +19 -19
- package/es/calendar/CalendarMonth.js +11 -18
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +30 -28
- package/es/calendar/index.less +3 -3
- package/es/calendar/types.d.ts +2 -1
- package/es/calendar/utils.d.ts +2 -2
- package/es/calendar/utils.js +1 -3
- package/es/card/Card.d.ts +4 -4
- package/es/card/Card.js +5 -8
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +4 -4
- package/es/card/index.less +1 -1
- package/es/cascader/Cascader.d.ts +33 -22
- package/es/cascader/Cascader.js +59 -62
- package/es/cascader/index.d.ts +20 -18
- package/es/cascader/types.d.ts +18 -0
- package/es/cascader/types.js +1 -0
- package/es/cell/Cell.d.ts +2 -2
- package/es/cell/Cell.js +4 -4
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +2 -2
- package/es/cell/index.less +1 -1
- package/es/cell-group/CellGroup.d.ts +1 -1
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.d.ts +1 -1
- package/es/cell-group/index.less +1 -1
- package/es/checkbox/Checkbox.d.ts +11 -11
- package/es/checkbox/Checker.d.ts +18 -18
- package/es/checkbox/Checker.js +8 -21
- package/es/checkbox/index.d.ts +10 -8
- package/es/checkbox/types.d.ts +3 -0
- package/es/checkbox-group/CheckboxGroup.d.ts +6 -6
- package/es/checkbox-group/CheckboxGroup.js +5 -8
- package/es/checkbox-group/index.d.ts +7 -5
- package/es/checkbox-group/types.d.ts +2 -1
- package/es/circle/Circle.d.ts +22 -22
- package/es/circle/Circle.js +9 -29
- package/es/circle/index.d.ts +22 -22
- package/es/col/Col.d.ts +5 -6
- package/es/col/Col.js +4 -10
- package/es/col/index.d.ts +4 -4
- package/es/collapse-item/CollapseItem.d.ts +4 -4
- package/es/collapse-item/CollapseItem.js +5 -3
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +6 -4
- package/es/collapse-item/index.less +1 -1
- package/es/composables/use-lock-scroll.js +3 -3
- package/es/composables/use-placeholder.d.ts +1 -1
- package/es/config-provider/ConfigProvider.d.ts +6 -6
- package/es/config-provider/ConfigProvider.js +3 -6
- package/es/config-provider/index.d.ts +6 -6
- package/es/contact-card/ContactCard.d.ts +5 -6
- package/es/contact-card/ContactCard.js +3 -6
- package/es/contact-card/index.d.ts +5 -5
- package/es/contact-edit/ContactEdit.js +1 -4
- package/es/contact-edit/style/index.js +0 -5
- package/es/contact-edit/style/less.js +0 -5
- package/es/count-down/CountDown.d.ts +15 -23
- package/es/count-down/CountDown.js +4 -10
- package/es/count-down/index.d.ts +13 -11
- package/es/count-down/types.d.ts +11 -0
- package/es/count-down/types.js +1 -0
- package/es/coupon/Coupon.d.ts +4 -4
- package/es/coupon/Coupon.js +5 -15
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.d.ts +4 -4
- package/es/coupon/index.less +1 -1
- package/es/coupon-cell/CouponCell.d.ts +3 -4
- package/es/coupon-cell/CouponCell.js +4 -13
- package/es/coupon-cell/index.d.ts +2 -2
- package/es/coupon-list/CouponList.d.ts +43 -44
- package/es/coupon-list/CouponList.js +15 -46
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +43 -43
- package/es/coupon-list/index.less +7 -2
- package/es/datetime-picker/DatePicker.d.ts +24 -26
- package/es/datetime-picker/DatePicker.js +2 -5
- package/es/datetime-picker/DatetimePicker.d.ts +1 -9
- package/es/datetime-picker/TimePicker.d.ts +17 -17
- package/es/datetime-picker/TimePicker.js +6 -18
- package/es/datetime-picker/index.d.ts +3 -9
- package/es/datetime-picker/utils.d.ts +9 -9
- package/es/datetime-picker/utils.js +1 -3
- package/es/dialog/Dialog.d.ts +8 -11
- package/es/dialog/Dialog.js +11 -18
- package/es/dialog/function-call.d.ts +21 -46
- package/es/dialog/function-call.js +2 -2
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +2 -3
- package/es/dialog/index.less +1 -1
- package/es/dialog/types.d.ts +36 -0
- package/es/dialog/types.js +1 -0
- package/es/divider/Divider.d.ts +3 -4
- package/es/divider/Divider.js +2 -5
- package/es/divider/index.d.ts +2 -2
- package/es/dropdown-item/DropdownItem.d.ts +10 -10
- package/es/dropdown-item/DropdownItem.js +4 -7
- package/es/dropdown-item/index.d.ts +8 -6
- package/es/dropdown-menu/DropdownMenu.d.ts +20 -20
- package/es/dropdown-menu/DropdownMenu.js +5 -11
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +13 -11
- package/es/dropdown-menu/index.less +1 -1
- package/es/empty/Empty.d.ts +5 -5
- package/es/empty/Empty.js +4 -7
- package/es/empty/Network.js +8 -27
- package/es/empty/index.d.ts +5 -5
- package/es/field/Field.d.ts +84 -82
- package/es/field/Field.js +16 -28
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +44 -42
- package/es/field/index.less +4 -2
- package/es/field/var.less +1 -1
- package/es/form/Form.d.ts +11 -11
- package/es/form/Form.js +4 -7
- package/es/form/index.d.ts +9 -7
- package/es/grid/Grid.d.ts +3 -3
- package/es/grid/Grid.js +4 -7
- package/es/grid/index.d.ts +3 -3
- package/es/grid-item/GridItem.d.ts +3 -3
- package/es/grid-item/GridItem.js +6 -6
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +3 -3
- package/es/grid-item/index.less +1 -1
- package/es/icon/Icon.d.ts +6 -7
- package/es/icon/Icon.js +6 -11
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +6 -6
- package/es/icon/index.less +1 -1
- package/es/image/Image.d.ts +13 -13
- package/es/image/Image.js +15 -35
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +13 -13
- package/es/image/index.less +1 -1
- package/es/image-preview/ImagePreview.d.ts +54 -54
- package/es/image-preview/ImagePreview.js +15 -37
- package/es/image-preview/ImagePreviewItem.d.ts +1 -1
- package/es/image-preview/ImagePreviewItem.js +6 -20
- package/es/image-preview/function-call.d.ts +34 -34
- package/es/image-preview/function-call.js +6 -6
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.d.ts +2 -0
- package/es/image-preview/index.less +1 -1
- package/es/index-anchor/IndexAnchor.d.ts +1 -1
- package/es/index-anchor/IndexAnchor.js +3 -3
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.d.ts +1 -1
- package/es/index-anchor/index.less +2 -2
- package/es/index-bar/IndexBar.js +4 -18
- package/es/index-bar/index.d.ts +2 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/list/List.d.ts +19 -19
- package/es/list/List.js +4 -10
- package/es/list/index.d.ts +12 -10
- package/es/loading/Loading.d.ts +6 -7
- package/es/loading/Loading.js +5 -8
- package/es/loading/index.d.ts +6 -6
- package/es/locale/lang/de-DE-formal.d.ts +0 -1
- package/es/locale/lang/de-DE-formal.js +0 -1
- package/es/locale/lang/de-DE.d.ts +0 -1
- package/es/locale/lang/de-DE.js +0 -1
- package/es/locale/lang/en-US.d.ts +0 -1
- package/es/locale/lang/en-US.js +0 -1
- package/es/locale/lang/es-ES.d.ts +0 -1
- package/es/locale/lang/es-ES.js +0 -1
- package/es/locale/lang/fr-FR.d.ts +0 -1
- package/es/locale/lang/fr-FR.js +0 -1
- package/es/locale/lang/ja-JP.d.ts +0 -1
- package/es/locale/lang/ja-JP.js +0 -1
- package/es/locale/lang/nb-NO.d.ts +0 -1
- package/es/locale/lang/nb-NO.js +0 -1
- package/es/locale/lang/ro-RO.d.ts +0 -1
- package/es/locale/lang/ro-RO.js +0 -1
- package/es/locale/lang/ru-RU.d.ts +0 -1
- package/es/locale/lang/ru-RU.js +0 -1
- package/es/locale/lang/th-TH.d.ts +0 -1
- package/es/locale/lang/th-TH.js +0 -1
- package/es/locale/lang/tr-TR.d.ts +0 -1
- package/es/locale/lang/tr-TR.js +0 -1
- package/es/locale/lang/zh-CN.d.ts +0 -1
- package/es/locale/lang/zh-CN.js +0 -1
- package/es/locale/lang/zh-HK.d.ts +0 -1
- package/es/locale/lang/zh-HK.js +0 -1
- package/es/locale/lang/zh-TW.d.ts +0 -1
- package/es/locale/lang/zh-TW.js +0 -1
- package/es/nav-bar/NavBar.js +2 -2
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.less +1 -1
- package/es/notice-bar/NoticeBar.d.ts +18 -18
- package/es/notice-bar/NoticeBar.js +3 -9
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +14 -12
- package/es/notice-bar/index.less +1 -1
- package/es/notify/Notify.d.ts +15 -14
- package/es/notify/Notify.js +10 -8
- package/es/notify/function-call.d.ts +12 -23
- package/es/notify/function-call.js +18 -22
- package/es/notify/index.css +1 -1
- package/es/notify/index.d.ts +2 -3
- package/es/notify/index.less +4 -4
- package/es/notify/types.d.ts +20 -0
- package/es/notify/types.js +1 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +15 -15
- package/es/number-keyboard/NumberKeyboard.js +5 -14
- package/es/number-keyboard/NumberKeyboardKey.js +2 -2
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +15 -15
- package/es/number-keyboard/index.less +3 -3
- package/es/overlay/Overlay.d.ts +1 -1
- package/es/overlay/Overlay.js +7 -6
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +1 -1
- package/es/overlay/index.less +1 -1
- package/es/pagination/Pagination.d.ts +18 -19
- package/es/pagination/Pagination.js +13 -33
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +18 -18
- package/es/pagination/index.less +1 -1
- package/es/password-input/PasswordInput.d.ts +6 -6
- package/es/password-input/PasswordInput.js +5 -11
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +6 -6
- package/es/password-input/index.less +3 -3
- package/es/picker/Picker.d.ts +32 -32
- package/es/picker/Picker.js +9 -27
- package/es/picker/PickerColumn.d.ts +17 -18
- package/es/picker/PickerColumn.js +25 -49
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +27 -25
- package/es/picker/index.less +2 -2
- package/es/picker/types.d.ts +2 -2
- package/es/popover/Popover.d.ts +28 -27
- package/es/popover/Popover.js +10 -26
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +27 -27
- package/es/popover/index.less +2 -2
- package/es/popup/Popup.d.ts +22 -22
- package/es/popup/Popup.js +7 -18
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +15 -15
- package/es/popup/index.less +1 -1
- package/es/popup/shared.js +3 -3
- package/es/progress/Progress.d.ts +1 -1
- package/es/progress/Progress.js +10 -6
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +3 -1
- package/es/progress/index.less +10 -1
- package/es/progress/var.less +1 -0
- package/es/pull-refresh/PullRefresh.d.ts +9 -12
- package/es/pull-refresh/PullRefresh.js +8 -20
- package/es/pull-refresh/index.d.ts +9 -12
- package/es/radio/Radio.d.ts +12 -9
- package/es/radio/index.d.ts +9 -7
- package/es/radio-group/RadioGroup.d.ts +1 -0
- package/es/radio-group/RadioGroup.js +2 -2
- package/es/radio-group/index.d.ts +2 -0
- package/es/rate/Rate.d.ts +23 -23
- package/es/rate/Rate.js +10 -22
- package/es/rate/index.d.ts +23 -23
- package/es/row/Row.d.ts +9 -9
- package/es/row/Row.js +4 -10
- package/es/row/index.d.ts +9 -9
- package/es/search/Search.d.ts +76 -68
- package/es/search/Search.js +7 -14
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +49 -41
- package/es/search/index.less +2 -2
- package/es/share-sheet/ShareSheet.d.ts +19 -13
- package/es/share-sheet/ShareSheet.js +8 -12
- package/es/share-sheet/index.d.ts +15 -8
- package/es/sidebar/Sidebar.js +2 -5
- package/es/sidebar-item/SidebarItem.js +2 -2
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.less +1 -1
- package/es/skeleton/Skeleton.d.ts +11 -10
- package/es/skeleton/Skeleton.js +5 -11
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +12 -10
- package/es/skeleton/index.less +2 -2
- package/es/slider/Slider.d.ts +16 -16
- package/es/slider/Slider.js +26 -34
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +16 -16
- package/es/slider/index.less +3 -3
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +24 -24
- package/es/stepper/Stepper.js +16 -34
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +24 -24
- package/es/stepper/index.less +3 -3
- package/es/steps/Steps.d.ts +20 -20
- package/es/steps/Steps.js +5 -14
- package/es/steps/index.d.ts +15 -13
- package/es/sticky/Sticky.d.ts +5 -5
- package/es/sticky/Sticky.js +5 -14
- package/es/sticky/index.d.ts +5 -5
- package/es/submit-bar/SubmitBar.d.ts +14 -14
- package/es/submit-bar/SubmitBar.js +5 -14
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +14 -14
- package/es/submit-bar/index.less +5 -6
- package/es/swipe/Swipe.d.ts +33 -33
- package/es/swipe/Swipe.js +9 -17
- package/es/swipe/index.d.ts +23 -21
- package/es/swipe-cell/SwipeCell.d.ts +8 -8
- package/es/swipe-cell/SwipeCell.js +6 -10
- package/es/swipe-cell/index.d.ts +7 -5
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.js +2 -2
- package/es/switch/index.css +1 -1
- package/es/switch/index.less +3 -3
- package/es/tab/Tab.d.ts +1 -1
- package/es/tab/Tab.js +3 -3
- package/es/tab/index.d.ts +1 -1
- package/es/tabbar/Tabbar.d.ts +2 -2
- package/es/tabbar/Tabbar.js +4 -8
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.d.ts +2 -2
- package/es/tabbar/index.less +1 -1
- package/es/tabbar-item/TabbarItem.js +5 -5
- package/es/tabs/Tabs.d.ts +39 -39
- package/es/tabs/Tabs.js +20 -32
- package/es/tabs/TabsContent.d.ts +7 -7
- package/es/tabs/TabsContent.js +4 -13
- package/es/tabs/TabsTitle.d.ts +1 -1
- package/es/tabs/TabsTitle.js +2 -2
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +25 -23
- package/es/tabs/index.less +2 -2
- package/es/tabs/utils.js +2 -4
- package/es/tag/Tag.d.ts +5 -6
- package/es/tag/Tag.js +3 -6
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +5 -5
- package/es/tag/index.less +6 -6
- package/es/toast/Toast.d.ts +21 -22
- package/es/toast/Toast.js +14 -31
- package/es/toast/function-call.d.ts +2 -25
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +2 -3
- package/es/toast/index.less +1 -1
- package/es/toast/types.d.ts +32 -0
- package/es/toast/types.js +1 -0
- package/es/tree-select/TreeSelect.d.ts +10 -10
- package/es/tree-select/TreeSelect.js +6 -21
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +10 -10
- package/es/tree-select/index.less +2 -2
- package/es/uploader/Uploader.d.ts +68 -68
- package/es/uploader/Uploader.js +10 -31
- package/es/uploader/UploaderPreviewItem.d.ts +6 -6
- package/es/uploader/UploaderPreviewItem.js +8 -12
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +50 -48
- package/es/uploader/index.less +8 -9
- package/es/uploader/utils.d.ts +3 -3
- package/es/uploader/utils.js +2 -10
- package/es/utils/{base.d.ts → basic.d.ts} +1 -6
- package/es/utils/{base.js → basic.js} +1 -7
- package/{lib/utils/create/bem.d.ts → es/utils/create.d.ts} +7 -4
- package/es/utils/create.js +53 -0
- package/es/utils/{dom/scroll.d.ts → dom.d.ts} +5 -2
- package/es/utils/dom.js +70 -0
- package/es/utils/format.d.ts +12 -0
- package/es/utils/format.js +127 -0
- package/es/utils/index.d.ts +4 -7
- package/es/utils/index.js +5 -8
- package/es/utils/interceptor.d.ts +1 -2
- package/es/utils/interceptor.js +8 -10
- package/es/utils/mount-component.js +5 -3
- package/es/utils/props.d.ts +31 -0
- package/es/utils/props.js +30 -0
- package/es/utils/validate.d.ts +7 -7
- package/es/utils/validate.js +8 -22
- package/es/utils/with-install.js +1 -1
- package/lib/action-bar/ActionBar.d.ts +1 -1
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.d.ts +1 -1
- package/lib/action-bar/index.less +1 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
- package/lib/action-bar-button/index.d.ts +1 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/lib/action-bar-icon/ActionBarIcon.js +2 -2
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +1 -1
- package/lib/action-bar-icon/index.less +1 -1
- package/lib/action-sheet/ActionSheet.d.ts +22 -16
- package/lib/action-sheet/ActionSheet.js +8 -19
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +18 -11
- package/lib/action-sheet/index.less +2 -2
- package/lib/address-edit/AddressEdit.d.ts +14 -16
- package/lib/address-edit/AddressEdit.js +8 -25
- package/lib/address-edit/AddressEditDetail.js +6 -7
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +10 -9
- package/lib/address-edit/index.less +2 -2
- package/lib/address-edit/style/index.js +0 -6
- package/lib/address-edit/style/less.js +0 -6
- package/lib/address-list/AddressList.d.ts +9 -10
- package/lib/address-list/AddressList.js +6 -16
- package/lib/address-list/AddressListItem.d.ts +4 -4
- package/lib/address-list/AddressListItem.js +2 -5
- package/lib/address-list/index.d.ts +8 -8
- package/lib/area/Area.d.ts +44 -45
- package/lib/area/Area.js +3 -11
- package/lib/area/index.d.ts +30 -28
- package/lib/badge/Badge.d.ts +9 -9
- package/lib/badge/Badge.js +4 -7
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +9 -9
- package/lib/badge/index.less +4 -2
- package/lib/button/Button.d.ts +31 -29
- package/lib/button/Button.js +6 -21
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +29 -29
- package/lib/button/index.less +7 -7
- package/lib/calendar/Calendar.d.ts +46 -47
- package/lib/calendar/Calendar.js +42 -34
- package/lib/calendar/CalendarDay.d.ts +7 -7
- package/lib/calendar/CalendarDay.js +3 -9
- package/lib/calendar/CalendarMonth.d.ts +19 -19
- package/lib/calendar/CalendarMonth.js +9 -16
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +30 -28
- package/lib/calendar/index.less +3 -3
- package/lib/calendar/types.d.ts +2 -1
- package/lib/calendar/utils.d.ts +2 -2
- package/lib/calendar/utils.js +9 -7
- package/lib/card/Card.d.ts +4 -4
- package/lib/card/Card.js +4 -7
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +4 -4
- package/lib/card/index.less +1 -1
- package/lib/cascader/Cascader.d.ts +33 -22
- package/lib/cascader/Cascader.js +57 -60
- package/lib/cascader/index.d.ts +20 -18
- package/lib/cascader/types.d.ts +18 -0
- package/lib/cascader/types.js +3 -0
- package/lib/cell/Cell.d.ts +2 -2
- package/lib/cell/Cell.js +3 -3
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +2 -2
- package/lib/cell/index.less +1 -1
- package/lib/cell-group/CellGroup.d.ts +1 -1
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.d.ts +1 -1
- package/lib/cell-group/index.less +1 -1
- package/lib/checkbox/Checkbox.d.ts +11 -11
- package/lib/checkbox/Checker.d.ts +18 -18
- package/lib/checkbox/Checker.js +7 -20
- package/lib/checkbox/index.d.ts +10 -8
- package/lib/checkbox/types.d.ts +3 -0
- package/lib/checkbox-group/CheckboxGroup.d.ts +6 -6
- package/lib/checkbox-group/CheckboxGroup.js +4 -7
- package/lib/checkbox-group/index.d.ts +7 -5
- package/lib/checkbox-group/types.d.ts +2 -1
- package/lib/circle/Circle.d.ts +22 -22
- package/lib/circle/Circle.js +8 -28
- package/lib/circle/index.d.ts +22 -22
- package/lib/col/Col.d.ts +5 -6
- package/lib/col/Col.js +3 -9
- package/lib/col/index.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.js +4 -2
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +6 -4
- package/lib/collapse-item/index.less +1 -1
- package/lib/composables/on-popup-reopen.js +1 -1
- package/lib/composables/use-lock-scroll.js +2 -2
- package/lib/composables/use-placeholder.d.ts +1 -1
- package/lib/composables/use-route.js +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +6 -6
- package/lib/config-provider/ConfigProvider.js +2 -5
- package/lib/config-provider/index.d.ts +6 -6
- package/lib/contact-card/ContactCard.d.ts +5 -6
- package/lib/contact-card/ContactCard.js +2 -5
- package/lib/contact-card/index.d.ts +5 -5
- package/lib/contact-edit/ContactEdit.js +1 -5
- package/lib/contact-edit/style/index.js +0 -10
- package/lib/contact-edit/style/less.js +0 -10
- package/lib/count-down/CountDown.d.ts +15 -23
- package/lib/count-down/CountDown.js +3 -9
- package/lib/count-down/index.d.ts +13 -11
- package/lib/count-down/types.d.ts +11 -0
- package/lib/count-down/types.js +3 -0
- package/lib/coupon/Coupon.d.ts +4 -4
- package/lib/coupon/Coupon.js +4 -14
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.d.ts +4 -4
- package/lib/coupon/index.less +1 -1
- package/lib/coupon-cell/CouponCell.d.ts +3 -4
- package/lib/coupon-cell/CouponCell.js +3 -12
- package/lib/coupon-cell/index.d.ts +2 -2
- package/lib/coupon-list/CouponList.d.ts +43 -44
- package/lib/coupon-list/CouponList.js +14 -46
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +43 -43
- package/lib/coupon-list/index.less +7 -2
- package/lib/datetime-picker/DatePicker.d.ts +24 -26
- package/lib/datetime-picker/DatePicker.js +1 -4
- package/lib/datetime-picker/DatetimePicker.d.ts +1 -9
- package/lib/datetime-picker/TimePicker.d.ts +17 -17
- package/lib/datetime-picker/TimePicker.js +5 -17
- package/lib/datetime-picker/index.d.ts +3 -9
- package/lib/datetime-picker/utils.d.ts +9 -9
- package/lib/datetime-picker/utils.js +6 -6
- package/lib/dialog/Dialog.d.ts +8 -11
- package/lib/dialog/Dialog.js +8 -16
- package/lib/dialog/function-call.d.ts +21 -46
- package/lib/dialog/function-call.js +2 -2
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +2 -3
- package/lib/dialog/index.less +1 -1
- package/lib/dialog/types.d.ts +36 -0
- package/lib/dialog/types.js +3 -0
- package/lib/divider/Divider.d.ts +3 -4
- package/lib/divider/Divider.js +1 -4
- package/lib/divider/index.d.ts +2 -2
- package/lib/dropdown-item/DropdownItem.d.ts +10 -10
- package/lib/dropdown-item/DropdownItem.js +3 -6
- package/lib/dropdown-item/index.d.ts +8 -6
- package/lib/dropdown-menu/DropdownMenu.d.ts +20 -20
- package/lib/dropdown-menu/DropdownMenu.js +4 -10
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +13 -11
- package/lib/dropdown-menu/index.less +1 -1
- package/lib/empty/Empty.d.ts +5 -5
- package/lib/empty/Empty.js +3 -6
- package/lib/empty/Network.js +8 -27
- package/lib/empty/index.d.ts +5 -5
- package/lib/field/Field.d.ts +84 -82
- package/lib/field/Field.js +16 -28
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +44 -42
- package/lib/field/index.less +4 -2
- package/lib/field/utils.js +5 -5
- package/lib/field/var.less +1 -1
- package/lib/form/Form.d.ts +11 -11
- package/lib/form/Form.js +3 -6
- package/lib/form/index.d.ts +9 -7
- package/lib/grid/Grid.d.ts +3 -3
- package/lib/grid/Grid.js +3 -6
- package/lib/grid/index.d.ts +3 -3
- package/lib/grid-item/GridItem.d.ts +3 -3
- package/lib/grid-item/GridItem.js +4 -4
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +3 -3
- package/lib/grid-item/index.less +1 -1
- package/lib/icon/Icon.d.ts +6 -7
- package/lib/icon/Icon.js +5 -10
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +6 -6
- package/lib/icon/index.less +1 -1
- package/lib/image/Image.d.ts +13 -13
- package/lib/image/Image.js +14 -34
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +13 -13
- package/lib/image/index.less +1 -1
- package/lib/image-preview/ImagePreview.d.ts +54 -54
- package/lib/image-preview/ImagePreview.js +13 -35
- package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
- package/lib/image-preview/ImagePreviewItem.js +5 -19
- package/lib/image-preview/function-call.d.ts +34 -34
- package/lib/image-preview/function-call.js +6 -6
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.d.ts +2 -0
- package/lib/image-preview/index.less +1 -1
- package/lib/index-anchor/IndexAnchor.d.ts +1 -1
- package/lib/index-anchor/IndexAnchor.js +4 -4
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.d.ts +1 -1
- package/lib/index-anchor/index.less +2 -2
- package/lib/index-bar/IndexBar.js +3 -17
- package/lib/index-bar/index.d.ts +2 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -2
- package/lib/index.less +1 -1
- package/lib/list/List.d.ts +19 -19
- package/lib/list/List.js +3 -9
- package/lib/list/index.d.ts +12 -10
- package/lib/loading/Loading.d.ts +6 -7
- package/lib/loading/Loading.js +4 -7
- package/lib/loading/index.d.ts +6 -6
- package/lib/locale/lang/de-DE-formal.d.ts +0 -1
- package/lib/locale/lang/de-DE-formal.js +0 -1
- package/lib/locale/lang/de-DE.d.ts +0 -1
- package/lib/locale/lang/de-DE.js +0 -1
- package/lib/locale/lang/en-US.d.ts +0 -1
- package/lib/locale/lang/en-US.js +0 -1
- package/lib/locale/lang/es-ES.d.ts +0 -1
- package/lib/locale/lang/es-ES.js +0 -1
- package/lib/locale/lang/fr-FR.d.ts +0 -1
- package/lib/locale/lang/fr-FR.js +0 -1
- package/lib/locale/lang/ja-JP.d.ts +0 -1
- package/lib/locale/lang/ja-JP.js +0 -1
- package/lib/locale/lang/nb-NO.d.ts +0 -1
- package/lib/locale/lang/nb-NO.js +0 -1
- package/lib/locale/lang/ro-RO.d.ts +0 -1
- package/lib/locale/lang/ro-RO.js +0 -1
- package/lib/locale/lang/ru-RU.d.ts +0 -1
- package/lib/locale/lang/ru-RU.js +0 -1
- package/lib/locale/lang/th-TH.d.ts +0 -1
- package/lib/locale/lang/th-TH.js +0 -1
- package/lib/locale/lang/tr-TR.d.ts +0 -1
- package/lib/locale/lang/tr-TR.js +0 -1
- package/lib/locale/lang/zh-CN.d.ts +0 -1
- package/lib/locale/lang/zh-CN.js +0 -1
- package/lib/locale/lang/zh-HK.d.ts +0 -1
- package/lib/locale/lang/zh-HK.js +0 -1
- package/lib/locale/lang/zh-TW.d.ts +0 -1
- package/lib/locale/lang/zh-TW.js +0 -1
- package/lib/nav-bar/NavBar.js +1 -1
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.less +1 -1
- package/lib/notice-bar/NoticeBar.d.ts +18 -18
- package/lib/notice-bar/NoticeBar.js +2 -8
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +14 -12
- package/lib/notice-bar/index.less +1 -1
- package/lib/notify/Notify.d.ts +15 -14
- package/lib/notify/Notify.js +9 -7
- package/lib/notify/function-call.d.ts +12 -23
- package/lib/notify/function-call.js +18 -22
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.d.ts +2 -3
- package/lib/notify/index.less +4 -4
- package/lib/notify/types.d.ts +20 -0
- package/lib/notify/types.js +3 -0
- package/lib/number-keyboard/NumberKeyboard.d.ts +15 -15
- package/lib/number-keyboard/NumberKeyboard.js +4 -13
- package/lib/number-keyboard/NumberKeyboardKey.js +1 -1
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +15 -15
- package/lib/number-keyboard/index.less +3 -3
- package/lib/overlay/Overlay.d.ts +1 -1
- package/lib/overlay/Overlay.js +5 -4
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +1 -1
- package/lib/overlay/index.less +1 -1
- package/lib/pagination/Pagination.d.ts +18 -19
- package/lib/pagination/Pagination.js +12 -32
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +18 -18
- package/lib/pagination/index.less +1 -1
- package/lib/password-input/PasswordInput.d.ts +6 -6
- package/lib/password-input/PasswordInput.js +4 -10
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +6 -6
- package/lib/password-input/index.less +3 -3
- package/lib/picker/Picker.d.ts +32 -32
- package/lib/picker/Picker.js +9 -27
- package/lib/picker/PickerColumn.d.ts +17 -18
- package/lib/picker/PickerColumn.js +24 -48
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +27 -25
- package/lib/picker/index.less +2 -2
- package/lib/picker/types.d.ts +2 -2
- package/lib/popover/Popover.d.ts +28 -27
- package/lib/popover/Popover.js +9 -25
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +27 -27
- package/lib/popover/index.less +2 -2
- package/lib/popup/Popup.d.ts +22 -22
- package/lib/popup/Popup.js +6 -17
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +15 -15
- package/lib/popup/index.less +1 -1
- package/lib/popup/shared.js +3 -3
- package/lib/progress/Progress.d.ts +1 -1
- package/lib/progress/Progress.js +9 -5
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +3 -1
- package/lib/progress/index.less +10 -1
- package/lib/progress/var.less +1 -0
- package/lib/pull-refresh/PullRefresh.d.ts +9 -12
- package/lib/pull-refresh/PullRefresh.js +6 -18
- package/lib/pull-refresh/index.d.ts +9 -12
- package/lib/radio/Radio.d.ts +12 -9
- package/lib/radio/index.d.ts +9 -7
- package/lib/radio-group/RadioGroup.d.ts +1 -0
- package/lib/radio-group/RadioGroup.js +1 -1
- package/lib/radio-group/index.d.ts +2 -0
- package/lib/rate/Rate.d.ts +23 -23
- package/lib/rate/Rate.js +8 -20
- package/lib/rate/index.d.ts +23 -23
- package/lib/row/Row.d.ts +9 -9
- package/lib/row/Row.js +3 -9
- package/lib/row/index.d.ts +9 -9
- package/lib/search/Search.d.ts +76 -68
- package/lib/search/Search.js +6 -13
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +49 -41
- package/lib/search/index.less +2 -2
- package/lib/share-sheet/ShareSheet.d.ts +19 -13
- package/lib/share-sheet/ShareSheet.js +7 -11
- package/lib/share-sheet/index.d.ts +15 -8
- package/lib/sidebar/Sidebar.js +1 -4
- package/lib/sidebar-item/SidebarItem.js +1 -1
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.less +1 -1
- package/lib/skeleton/Skeleton.d.ts +11 -10
- package/lib/skeleton/Skeleton.js +4 -10
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +12 -10
- package/lib/skeleton/index.less +2 -2
- package/lib/slider/Slider.d.ts +16 -16
- package/lib/slider/Slider.js +25 -33
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +16 -16
- package/lib/slider/index.less +3 -3
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/Stepper.d.ts +24 -24
- package/lib/stepper/Stepper.js +15 -33
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +24 -24
- package/lib/stepper/index.less +3 -3
- package/lib/steps/Steps.d.ts +20 -20
- package/lib/steps/Steps.js +4 -13
- package/lib/steps/index.d.ts +15 -13
- package/lib/sticky/Sticky.d.ts +5 -5
- package/lib/sticky/Sticky.js +4 -13
- package/lib/sticky/index.d.ts +5 -5
- package/lib/submit-bar/SubmitBar.d.ts +14 -14
- package/lib/submit-bar/SubmitBar.js +4 -13
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +14 -14
- package/lib/submit-bar/index.less +5 -6
- package/lib/swipe/Swipe.d.ts +33 -33
- package/lib/swipe/Swipe.js +8 -16
- package/lib/swipe/index.d.ts +23 -21
- package/lib/swipe-cell/SwipeCell.d.ts +8 -8
- package/lib/swipe-cell/SwipeCell.js +5 -9
- package/lib/swipe-cell/index.d.ts +7 -5
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.js +1 -1
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.less +3 -3
- package/lib/tab/Tab.d.ts +1 -1
- package/lib/tab/Tab.js +2 -2
- package/lib/tab/index.d.ts +1 -1
- package/lib/tabbar/Tabbar.d.ts +2 -2
- package/lib/tabbar/Tabbar.js +3 -7
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.d.ts +2 -2
- package/lib/tabbar/index.less +1 -1
- package/lib/tabbar-item/TabbarItem.js +3 -3
- package/lib/tabs/Tabs.d.ts +39 -39
- package/lib/tabs/Tabs.js +18 -30
- package/lib/tabs/TabsContent.d.ts +7 -7
- package/lib/tabs/TabsContent.js +3 -12
- package/lib/tabs/TabsTitle.d.ts +1 -1
- package/lib/tabs/TabsTitle.js +1 -1
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +25 -23
- package/lib/tabs/index.less +2 -2
- package/lib/tabs/utils.js +1 -4
- package/lib/tag/Tag.d.ts +5 -6
- package/lib/tag/Tag.js +2 -5
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +5 -5
- package/lib/tag/index.less +6 -6
- package/lib/toast/Toast.d.ts +21 -22
- package/lib/toast/Toast.js +11 -29
- package/lib/toast/function-call.d.ts +2 -25
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +2 -3
- package/lib/toast/index.less +1 -1
- package/lib/toast/types.d.ts +32 -0
- package/lib/toast/types.js +3 -0
- package/lib/tree-select/TreeSelect.d.ts +10 -10
- package/lib/tree-select/TreeSelect.js +5 -20
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +10 -10
- package/lib/tree-select/index.less +2 -2
- package/lib/uploader/Uploader.d.ts +68 -68
- package/lib/uploader/Uploader.js +9 -30
- package/lib/uploader/UploaderPreviewItem.d.ts +6 -6
- package/lib/uploader/UploaderPreviewItem.js +6 -10
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +50 -48
- package/lib/uploader/index.less +8 -9
- package/lib/uploader/utils.d.ts +3 -3
- package/lib/uploader/utils.js +11 -14
- package/lib/utils/{base.d.ts → basic.d.ts} +1 -6
- package/lib/utils/{base.js → basic.js} +4 -11
- package/lib/utils/constant.js +1 -1
- package/{es/utils/create/bem.d.ts → lib/utils/create.d.ts} +7 -4
- package/lib/utils/create.js +68 -0
- package/lib/utils/{dom/scroll.d.ts → dom.d.ts} +5 -2
- package/lib/utils/dom.js +98 -0
- package/lib/utils/format.d.ts +12 -0
- package/lib/utils/format.js +157 -0
- package/lib/utils/index.d.ts +4 -7
- package/lib/utils/index.js +28 -52
- package/lib/utils/interceptor.d.ts +1 -2
- package/lib/utils/interceptor.js +10 -11
- package/lib/utils/mount-component.js +5 -3
- package/lib/utils/props.d.ts +31 -0
- package/lib/utils/props.js +53 -0
- package/lib/utils/validate.d.ts +7 -7
- package/lib/utils/validate.js +24 -29
- package/lib/utils/with-install.js +2 -2
- package/lib/vant.es.js +15044 -0
- package/lib/vant.es.min.js +15044 -0
- package/lib/vant.js +14463 -19786
- package/lib/vant.min.js +1 -1
- package/package.json +10 -16
- package/vetur/attributes.json +225 -209
- package/vetur/tags.json +75 -71
- package/vetur/web-types.json +794 -746
- package/LICENSE +0 -7
- package/README.md +0 -107
- package/README.zh-CN.md +0 -117
- package/changelog.generated.md +0 -89
- package/es/utils/create/bem.js +0 -35
- package/es/utils/create/index.d.ts +0 -1
- package/es/utils/create/index.js +0 -6
- package/es/utils/create/translate.d.ts +0 -2
- package/es/utils/create/translate.js +0 -12
- package/es/utils/dom/event.d.ts +0 -3
- package/es/utils/dom/event.js +0 -18
- package/es/utils/dom/scroll.js +0 -56
- package/es/utils/dom/style.d.ts +0 -2
- package/es/utils/dom/style.js +0 -16
- package/es/utils/format/number.d.ts +0 -4
- package/es/utils/format/number.js +0 -40
- package/es/utils/format/string.d.ts +0 -3
- package/es/utils/format/string.js +0 -16
- package/es/utils/format/unit.d.ts +0 -5
- package/es/utils/format/unit.js +0 -76
- package/lib/utils/create/bem.js +0 -40
- package/lib/utils/create/index.d.ts +0 -1
- package/lib/utils/create/index.js +0 -13
- package/lib/utils/create/translate.d.ts +0 -2
- package/lib/utils/create/translate.js +0 -24
- package/lib/utils/dom/event.d.ts +0 -3
- package/lib/utils/dom/event.js +0 -27
- package/lib/utils/dom/scroll.js +0 -75
- package/lib/utils/dom/style.d.ts +0 -2
- package/lib/utils/dom/style.js +0 -22
- package/lib/utils/format/number.d.ts +0 -4
- package/lib/utils/format/number.js +0 -48
- package/lib/utils/format/string.d.ts +0 -3
- package/lib/utils/format/string.js +0 -25
- package/lib/utils/format/unit.d.ts +0 -5
- package/lib/utils/format/unit.js +0 -89
package/vetur/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.2.
|
5
|
+
"version": "3.2.6",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -243,125 +243,6 @@
|
|
243
243
|
}
|
244
244
|
]
|
245
245
|
},
|
246
|
-
{
|
247
|
-
"name": "van-address-list",
|
248
|
-
"slots": [
|
249
|
-
{
|
250
|
-
"name": "default",
|
251
|
-
"description": "在列表下方插入内容"
|
252
|
-
},
|
253
|
-
{
|
254
|
-
"name": "top",
|
255
|
-
"description": "在顶部插入内容"
|
256
|
-
},
|
257
|
-
{
|
258
|
-
"name": "item-bottom",
|
259
|
-
"description": "在列表项底部插入内容"
|
260
|
-
},
|
261
|
-
{
|
262
|
-
"name": "tag",
|
263
|
-
"description": "自定义列表项标签内容"
|
264
|
-
}
|
265
|
-
],
|
266
|
-
"events": [
|
267
|
-
{
|
268
|
-
"name": "add",
|
269
|
-
"description": "点击新增按钮时触发"
|
270
|
-
},
|
271
|
-
{
|
272
|
-
"name": "edit",
|
273
|
-
"description": "点击编辑按钮时触发"
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"name": "select",
|
277
|
-
"description": "切换选中的地址时触发"
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"name": "edit-disabled",
|
281
|
-
"description": "编辑不可配送的地址时触发"
|
282
|
-
},
|
283
|
-
{
|
284
|
-
"name": "select-disabled",
|
285
|
-
"description": "选中不可配送的地址时触发"
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"name": "click-item",
|
289
|
-
"description": "点击任意地址时触发"
|
290
|
-
}
|
291
|
-
],
|
292
|
-
"attributes": [
|
293
|
-
{
|
294
|
-
"name": "v-model",
|
295
|
-
"default": "-",
|
296
|
-
"description": "当前选中地址的 id",
|
297
|
-
"options": [],
|
298
|
-
"value": {
|
299
|
-
"type": "string",
|
300
|
-
"kind": "expression"
|
301
|
-
}
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"name": "list",
|
305
|
-
"default": "`[]`",
|
306
|
-
"description": "地址列表",
|
307
|
-
"options": [],
|
308
|
-
"value": {
|
309
|
-
"type": "AddressListAddress[]",
|
310
|
-
"kind": "expression"
|
311
|
-
}
|
312
|
-
},
|
313
|
-
{
|
314
|
-
"name": "disabled-list",
|
315
|
-
"default": "`[]`",
|
316
|
-
"description": "不可配送地址列表",
|
317
|
-
"options": [],
|
318
|
-
"value": {
|
319
|
-
"type": "AddressListAddress[]",
|
320
|
-
"kind": "expression"
|
321
|
-
}
|
322
|
-
},
|
323
|
-
{
|
324
|
-
"name": "disabled-text",
|
325
|
-
"default": "-",
|
326
|
-
"description": "不可配送提示文案",
|
327
|
-
"options": [],
|
328
|
-
"value": {
|
329
|
-
"type": "string",
|
330
|
-
"kind": "expression"
|
331
|
-
}
|
332
|
-
},
|
333
|
-
{
|
334
|
-
"name": "switchable",
|
335
|
-
"default": "`true`",
|
336
|
-
"description": "是否允许切换地址",
|
337
|
-
"options": [],
|
338
|
-
"value": {
|
339
|
-
"type": "boolean",
|
340
|
-
"kind": "expression"
|
341
|
-
}
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"name": "add-button-text",
|
345
|
-
"default": "`新增地址`",
|
346
|
-
"description": "底部按钮文字",
|
347
|
-
"options": [],
|
348
|
-
"value": {
|
349
|
-
"type": "string",
|
350
|
-
"kind": "expression"
|
351
|
-
}
|
352
|
-
},
|
353
|
-
{
|
354
|
-
"name": "default-tag-text",
|
355
|
-
"default": "-",
|
356
|
-
"description": "默认地址标签文字",
|
357
|
-
"options": [],
|
358
|
-
"value": {
|
359
|
-
"type": "string",
|
360
|
-
"kind": "expression"
|
361
|
-
}
|
362
|
-
}
|
363
|
-
]
|
364
|
-
},
|
365
246
|
{
|
366
247
|
"name": "van-action-sheet",
|
367
248
|
"slots": [
|
@@ -553,7 +434,7 @@
|
|
553
434
|
},
|
554
435
|
{
|
555
436
|
"name": "close-on-popstate",
|
556
|
-
"default": "`
|
437
|
+
"default": "`true`",
|
557
438
|
"description": "是否在页面回退时自动关闭",
|
558
439
|
"options": [],
|
559
440
|
"value": {
|
@@ -614,106 +495,96 @@
|
|
614
495
|
]
|
615
496
|
},
|
616
497
|
{
|
617
|
-
"name": "van-address-
|
498
|
+
"name": "van-address-list",
|
618
499
|
"slots": [
|
619
500
|
{
|
620
501
|
"name": "default",
|
621
|
-
"description": "
|
622
|
-
}
|
623
|
-
],
|
624
|
-
"events": [
|
625
|
-
{
|
626
|
-
"name": "save",
|
627
|
-
"description": "点击保存按钮时触发"
|
502
|
+
"description": "在列表下方插入内容"
|
628
503
|
},
|
629
504
|
{
|
630
|
-
"name": "
|
631
|
-
"description": "
|
505
|
+
"name": "top",
|
506
|
+
"description": "在顶部插入内容"
|
632
507
|
},
|
633
508
|
{
|
634
|
-
"name": "
|
635
|
-
"description": "
|
509
|
+
"name": "item-bottom",
|
510
|
+
"description": "在列表项底部插入内容"
|
636
511
|
},
|
637
512
|
{
|
638
|
-
"name": "
|
639
|
-
"description": "
|
513
|
+
"name": "tag",
|
514
|
+
"description": "自定义列表项标签内容"
|
515
|
+
}
|
516
|
+
],
|
517
|
+
"events": [
|
518
|
+
{
|
519
|
+
"name": "add",
|
520
|
+
"description": "点击新增按钮时触发"
|
640
521
|
},
|
641
522
|
{
|
642
|
-
"name": "
|
643
|
-
"description": "
|
523
|
+
"name": "edit",
|
524
|
+
"description": "点击编辑按钮时触发"
|
644
525
|
},
|
645
526
|
{
|
646
|
-
"name": "
|
647
|
-
"description": "
|
527
|
+
"name": "select",
|
528
|
+
"description": "切换选中的地址时触发"
|
648
529
|
},
|
649
530
|
{
|
650
|
-
"name": "
|
651
|
-
"description": "
|
531
|
+
"name": "edit-disabled",
|
532
|
+
"description": "编辑不可配送的地址时触发"
|
652
533
|
},
|
653
534
|
{
|
654
|
-
"name": "
|
655
|
-
"description": "
|
535
|
+
"name": "select-disabled",
|
536
|
+
"description": "选中不可配送的地址时触发"
|
656
537
|
},
|
657
538
|
{
|
658
|
-
"name": "
|
659
|
-
"description": "
|
539
|
+
"name": "click-item",
|
540
|
+
"description": "点击任意地址时触发"
|
660
541
|
}
|
661
542
|
],
|
662
543
|
"attributes": [
|
663
544
|
{
|
664
|
-
"name": "
|
545
|
+
"name": "v-model",
|
665
546
|
"default": "-",
|
666
|
-
"description": "
|
547
|
+
"description": "当前选中地址的 id",
|
667
548
|
"options": [],
|
668
549
|
"value": {
|
669
|
-
"type": "
|
550
|
+
"type": "string",
|
670
551
|
"kind": "expression"
|
671
552
|
}
|
672
553
|
},
|
673
554
|
{
|
674
|
-
"name": "
|
555
|
+
"name": "list",
|
675
556
|
"default": "`[]`",
|
676
|
-
"description": "
|
677
|
-
"options": [],
|
678
|
-
"value": {
|
679
|
-
"type": "string[]",
|
680
|
-
"kind": "expression"
|
681
|
-
}
|
682
|
-
},
|
683
|
-
{
|
684
|
-
"name": "area-placeholder",
|
685
|
-
"default": "`选择省 / 市 / 区`",
|
686
|
-
"description": "地区输入框占位提示文字",
|
557
|
+
"description": "地址列表",
|
687
558
|
"options": [],
|
688
559
|
"value": {
|
689
|
-
"type": "
|
560
|
+
"type": "AddressListAddress[]",
|
690
561
|
"kind": "expression"
|
691
562
|
}
|
692
563
|
},
|
693
564
|
{
|
694
|
-
"name": "
|
695
|
-
"default": "`
|
696
|
-
"description": "
|
565
|
+
"name": "disabled-list",
|
566
|
+
"default": "`[]`",
|
567
|
+
"description": "不可配送地址列表",
|
697
568
|
"options": [],
|
698
569
|
"value": {
|
699
|
-
"type": "
|
570
|
+
"type": "AddressListAddress[]",
|
700
571
|
"kind": "expression"
|
701
572
|
}
|
702
573
|
},
|
703
574
|
{
|
704
|
-
"name": "
|
705
|
-
"default": "
|
706
|
-
"description": "
|
575
|
+
"name": "disabled-text",
|
576
|
+
"default": "-",
|
577
|
+
"description": "不可配送提示文案",
|
707
578
|
"options": [],
|
708
579
|
"value": {
|
709
|
-
"type": "
|
580
|
+
"type": "string",
|
710
581
|
"kind": "expression"
|
711
582
|
}
|
712
583
|
},
|
713
584
|
{
|
714
|
-
"name": "
|
715
|
-
"default": "`
|
716
|
-
"description": "
|
585
|
+
"name": "switchable",
|
586
|
+
"default": "`true`",
|
587
|
+
"description": "是否允许切换地址",
|
717
588
|
"options": [],
|
718
589
|
"value": {
|
719
590
|
"type": "boolean",
|
@@ -721,181 +592,41 @@
|
|
721
592
|
}
|
722
593
|
},
|
723
594
|
{
|
724
|
-
"name": "
|
725
|
-
"default": "
|
726
|
-
"description": "
|
595
|
+
"name": "add-button-text",
|
596
|
+
"default": "`新增地址`",
|
597
|
+
"description": "底部按钮文字",
|
727
598
|
"options": [],
|
728
599
|
"value": {
|
729
|
-
"type": "
|
600
|
+
"type": "string",
|
730
601
|
"kind": "expression"
|
731
602
|
}
|
732
603
|
},
|
733
604
|
{
|
734
|
-
"name": "
|
735
|
-
"default": "
|
736
|
-
"description": "
|
605
|
+
"name": "default-tag-text",
|
606
|
+
"default": "-",
|
607
|
+
"description": "默认地址标签文字",
|
737
608
|
"options": [],
|
738
609
|
"value": {
|
739
|
-
"type": "
|
610
|
+
"type": "string",
|
740
611
|
"kind": "expression"
|
741
612
|
}
|
613
|
+
}
|
614
|
+
]
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"name": "van-area",
|
618
|
+
"slots": [
|
619
|
+
{
|
620
|
+
"name": "toolbar",
|
621
|
+
"description": "自定义整个顶部栏的内容"
|
742
622
|
},
|
743
623
|
{
|
744
|
-
"name": "
|
745
|
-
"
|
746
|
-
"description": "是否显示搜索结果",
|
747
|
-
"options": [],
|
748
|
-
"value": {
|
749
|
-
"type": "boolean",
|
750
|
-
"kind": "expression"
|
751
|
-
}
|
624
|
+
"name": "title",
|
625
|
+
"description": "自定义标题内容"
|
752
626
|
},
|
753
627
|
{
|
754
|
-
"name": "
|
755
|
-
"
|
756
|
-
"description": "是否显示地区",
|
757
|
-
"options": [],
|
758
|
-
"value": {
|
759
|
-
"type": "boolean",
|
760
|
-
"kind": "expression"
|
761
|
-
}
|
762
|
-
},
|
763
|
-
{
|
764
|
-
"name": "show-detail",
|
765
|
-
"default": "`true`",
|
766
|
-
"description": "是否显示详细地址",
|
767
|
-
"options": [],
|
768
|
-
"value": {
|
769
|
-
"type": "boolean",
|
770
|
-
"kind": "expression"
|
771
|
-
}
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"name": "disable-area",
|
775
|
-
"default": "`false`",
|
776
|
-
"description": "是否禁用地区选择",
|
777
|
-
"options": [],
|
778
|
-
"value": {
|
779
|
-
"type": "boolean",
|
780
|
-
"kind": "expression"
|
781
|
-
}
|
782
|
-
},
|
783
|
-
{
|
784
|
-
"name": "save-button-text",
|
785
|
-
"default": "`保存`",
|
786
|
-
"description": "保存按钮文字",
|
787
|
-
"options": [],
|
788
|
-
"value": {
|
789
|
-
"type": "string",
|
790
|
-
"kind": "expression"
|
791
|
-
}
|
792
|
-
},
|
793
|
-
{
|
794
|
-
"name": "delete-button-text",
|
795
|
-
"default": "`删除`",
|
796
|
-
"description": "删除按钮文字",
|
797
|
-
"options": [],
|
798
|
-
"value": {
|
799
|
-
"type": "string",
|
800
|
-
"kind": "expression"
|
801
|
-
}
|
802
|
-
},
|
803
|
-
{
|
804
|
-
"name": "detail-rows",
|
805
|
-
"default": "`1`",
|
806
|
-
"description": "详细地址输入框行数",
|
807
|
-
"options": [],
|
808
|
-
"value": {
|
809
|
-
"type": "number | string",
|
810
|
-
"kind": "expression"
|
811
|
-
}
|
812
|
-
},
|
813
|
-
{
|
814
|
-
"name": "detail-maxlength",
|
815
|
-
"default": "`200`",
|
816
|
-
"description": "详细地址最大长度",
|
817
|
-
"options": [],
|
818
|
-
"value": {
|
819
|
-
"type": "number | string",
|
820
|
-
"kind": "expression"
|
821
|
-
}
|
822
|
-
},
|
823
|
-
{
|
824
|
-
"name": "is-saving",
|
825
|
-
"default": "`false`",
|
826
|
-
"description": "是否显示保存按钮加载动画",
|
827
|
-
"options": [],
|
828
|
-
"value": {
|
829
|
-
"type": "boolean",
|
830
|
-
"kind": "expression"
|
831
|
-
}
|
832
|
-
},
|
833
|
-
{
|
834
|
-
"name": "is-deleting",
|
835
|
-
"default": "`false`",
|
836
|
-
"description": "是否显示删除按钮加载动画",
|
837
|
-
"options": [],
|
838
|
-
"value": {
|
839
|
-
"type": "boolean",
|
840
|
-
"kind": "expression"
|
841
|
-
}
|
842
|
-
},
|
843
|
-
{
|
844
|
-
"name": "tel-validator",
|
845
|
-
"default": "-",
|
846
|
-
"description": "手机号格式校验函数",
|
847
|
-
"options": [],
|
848
|
-
"value": {
|
849
|
-
"type": "string => boolean",
|
850
|
-
"kind": "expression"
|
851
|
-
}
|
852
|
-
},
|
853
|
-
{
|
854
|
-
"name": "tel-maxlength",
|
855
|
-
"default": "-",
|
856
|
-
"description": "手机号最大长度",
|
857
|
-
"options": [],
|
858
|
-
"value": {
|
859
|
-
"type": "number | string",
|
860
|
-
"kind": "expression"
|
861
|
-
}
|
862
|
-
},
|
863
|
-
{
|
864
|
-
"name": "postal-validator",
|
865
|
-
"default": "-",
|
866
|
-
"description": "邮政编码格式校验函数",
|
867
|
-
"options": [],
|
868
|
-
"value": {
|
869
|
-
"type": "string => boolean",
|
870
|
-
"kind": "expression"
|
871
|
-
}
|
872
|
-
},
|
873
|
-
{
|
874
|
-
"name": "validator",
|
875
|
-
"default": "-",
|
876
|
-
"description": "自定义校验函数",
|
877
|
-
"options": [],
|
878
|
-
"value": {
|
879
|
-
"type": "(key, val) => string",
|
880
|
-
"kind": "expression"
|
881
|
-
}
|
882
|
-
}
|
883
|
-
]
|
884
|
-
},
|
885
|
-
{
|
886
|
-
"name": "van-area",
|
887
|
-
"slots": [
|
888
|
-
{
|
889
|
-
"name": "toolbar",
|
890
|
-
"description": "自定义整个顶部栏的内容"
|
891
|
-
},
|
892
|
-
{
|
893
|
-
"name": "title",
|
894
|
-
"description": "自定义标题内容"
|
895
|
-
},
|
896
|
-
{
|
897
|
-
"name": "confirm",
|
898
|
-
"description": "自定义确认按钮内容"
|
628
|
+
"name": "confirm",
|
629
|
+
"description": "自定义确认按钮内容"
|
899
630
|
},
|
900
631
|
{
|
901
632
|
"name": "cancel",
|
@@ -1058,174 +789,298 @@
|
|
1058
789
|
]
|
1059
790
|
},
|
1060
791
|
{
|
1061
|
-
"name": "van-
|
792
|
+
"name": "van-address-edit",
|
1062
793
|
"slots": [
|
1063
794
|
{
|
1064
795
|
"name": "default",
|
1065
|
-
"description": "
|
796
|
+
"description": "在邮政编码下方插入内容"
|
797
|
+
}
|
798
|
+
],
|
799
|
+
"events": [
|
800
|
+
{
|
801
|
+
"name": "save",
|
802
|
+
"description": "点击保存按钮时触发"
|
1066
803
|
},
|
1067
804
|
{
|
1068
|
-
"name": "
|
1069
|
-
"description": "
|
805
|
+
"name": "focus",
|
806
|
+
"description": "输入框聚焦时触发"
|
807
|
+
},
|
808
|
+
{
|
809
|
+
"name": "delete",
|
810
|
+
"description": "确认删除地址时触发"
|
811
|
+
},
|
812
|
+
{
|
813
|
+
"name": "select-search",
|
814
|
+
"description": "选中搜索结果时触发"
|
815
|
+
},
|
816
|
+
{
|
817
|
+
"name": "click-area",
|
818
|
+
"description": "点击收件地区时触发"
|
819
|
+
},
|
820
|
+
{
|
821
|
+
"name": "change-area",
|
822
|
+
"description": "修改收件地区时触发"
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"name": "change-detail",
|
826
|
+
"description": "修改详细地址时触发"
|
827
|
+
},
|
828
|
+
{
|
829
|
+
"name": "change-default",
|
830
|
+
"description": "切换是否使用默认地址时触发"
|
1070
831
|
}
|
1071
832
|
],
|
1072
|
-
"events": [],
|
1073
833
|
"attributes": [
|
1074
834
|
{
|
1075
|
-
"name": "
|
835
|
+
"name": "area-list",
|
1076
836
|
"default": "-",
|
1077
|
-
"description": "
|
837
|
+
"description": "地区列表",
|
1078
838
|
"options": [],
|
1079
839
|
"value": {
|
1080
|
-
"type": "
|
840
|
+
"type": "object",
|
1081
841
|
"kind": "expression"
|
1082
842
|
}
|
1083
843
|
},
|
1084
844
|
{
|
1085
|
-
"name": "
|
1086
|
-
"default": "
|
1087
|
-
"description": "
|
845
|
+
"name": "area-columns-placeholder",
|
846
|
+
"default": "`[]`",
|
847
|
+
"description": "地区选择列占位提示文字",
|
1088
848
|
"options": [],
|
1089
849
|
"value": {
|
1090
|
-
"type": "string",
|
850
|
+
"type": "string[]",
|
1091
851
|
"kind": "expression"
|
1092
852
|
}
|
1093
853
|
},
|
1094
854
|
{
|
1095
|
-
"name": "
|
1096
|
-
"default": "
|
1097
|
-
"description": "
|
855
|
+
"name": "area-placeholder",
|
856
|
+
"default": "`选择省 / 市 / 区`",
|
857
|
+
"description": "地区输入框占位提示文字",
|
1098
858
|
"options": [],
|
1099
859
|
"value": {
|
1100
|
-
"type": "
|
860
|
+
"type": "string",
|
1101
861
|
"kind": "expression"
|
1102
862
|
}
|
1103
863
|
},
|
1104
864
|
{
|
1105
|
-
"name": "
|
1106
|
-
"default": "
|
1107
|
-
"description": "
|
865
|
+
"name": "address-info",
|
866
|
+
"default": "`{}`",
|
867
|
+
"description": "地址信息初始值",
|
1108
868
|
"options": [],
|
1109
869
|
"value": {
|
1110
|
-
"type": "
|
870
|
+
"type": "AddressEditInfo",
|
1111
871
|
"kind": "expression"
|
1112
872
|
}
|
1113
873
|
},
|
1114
874
|
{
|
1115
|
-
"name": "
|
1116
|
-
"default": "
|
1117
|
-
"description": "
|
1118
|
-
"options": [
|
1119
|
-
"-"
|
1120
|
-
],
|
875
|
+
"name": "search-result",
|
876
|
+
"default": "`[]`",
|
877
|
+
"description": "详细地址搜索结果",
|
878
|
+
"options": [],
|
1121
879
|
"value": {
|
1122
|
-
"type": "[
|
880
|
+
"type": "AddressEditSearchItem[]",
|
1123
881
|
"kind": "expression"
|
1124
882
|
}
|
1125
883
|
},
|
1126
884
|
{
|
1127
|
-
"name": "show-
|
1128
|
-
"default": "`
|
1129
|
-
"description": "
|
885
|
+
"name": "show-postal",
|
886
|
+
"default": "`false`",
|
887
|
+
"description": "是否显示邮政编码",
|
1130
888
|
"options": [],
|
1131
889
|
"value": {
|
1132
890
|
"type": "boolean",
|
1133
891
|
"kind": "expression"
|
1134
892
|
}
|
1135
|
-
}
|
1136
|
-
]
|
1137
|
-
},
|
1138
|
-
{
|
1139
|
-
"name": "van-calendar",
|
1140
|
-
"slots": [
|
1141
|
-
{
|
1142
|
-
"name": "title",
|
1143
|
-
"description": "自定义标题"
|
1144
893
|
},
|
1145
894
|
{
|
1146
|
-
"name": "
|
1147
|
-
"
|
895
|
+
"name": "show-delete",
|
896
|
+
"default": "`false`",
|
897
|
+
"description": "是否显示删除按钮",
|
898
|
+
"options": [],
|
899
|
+
"value": {
|
900
|
+
"type": "boolean",
|
901
|
+
"kind": "expression"
|
902
|
+
}
|
1148
903
|
},
|
1149
904
|
{
|
1150
|
-
"name": "
|
1151
|
-
"
|
905
|
+
"name": "show-set-default",
|
906
|
+
"default": "`false`",
|
907
|
+
"description": "是否显示默认地址栏",
|
908
|
+
"options": [],
|
909
|
+
"value": {
|
910
|
+
"type": "boolean",
|
911
|
+
"kind": "expression"
|
912
|
+
}
|
1152
913
|
},
|
1153
914
|
{
|
1154
|
-
"name": "
|
1155
|
-
"
|
1156
|
-
|
915
|
+
"name": "show-search-result",
|
916
|
+
"default": "`false`",
|
917
|
+
"description": "是否显示搜索结果",
|
918
|
+
"options": [],
|
919
|
+
"value": {
|
920
|
+
"type": "boolean",
|
921
|
+
"kind": "expression"
|
922
|
+
}
|
923
|
+
},
|
1157
924
|
{
|
1158
|
-
"name": "
|
1159
|
-
"
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
925
|
+
"name": "show-area",
|
926
|
+
"default": "`true`",
|
927
|
+
"description": "是否显示地区",
|
928
|
+
"options": [],
|
929
|
+
"value": {
|
930
|
+
"type": "boolean",
|
931
|
+
"kind": "expression"
|
932
|
+
}
|
933
|
+
},
|
1163
934
|
{
|
1164
|
-
"name": "
|
1165
|
-
"
|
935
|
+
"name": "show-detail",
|
936
|
+
"default": "`true`",
|
937
|
+
"description": "是否显示详细地址",
|
938
|
+
"options": [],
|
939
|
+
"value": {
|
940
|
+
"type": "boolean",
|
941
|
+
"kind": "expression"
|
942
|
+
}
|
1166
943
|
},
|
1167
944
|
{
|
1168
|
-
"name": "
|
1169
|
-
"
|
945
|
+
"name": "disable-area",
|
946
|
+
"default": "`false`",
|
947
|
+
"description": "是否禁用地区选择",
|
948
|
+
"options": [],
|
949
|
+
"value": {
|
950
|
+
"type": "boolean",
|
951
|
+
"kind": "expression"
|
952
|
+
}
|
1170
953
|
},
|
1171
954
|
{
|
1172
|
-
"name": "
|
1173
|
-
"
|
955
|
+
"name": "save-button-text",
|
956
|
+
"default": "`保存`",
|
957
|
+
"description": "保存按钮文字",
|
958
|
+
"options": [],
|
959
|
+
"value": {
|
960
|
+
"type": "string",
|
961
|
+
"kind": "expression"
|
962
|
+
}
|
1174
963
|
},
|
1175
964
|
{
|
1176
|
-
"name": "
|
1177
|
-
"
|
965
|
+
"name": "delete-button-text",
|
966
|
+
"default": "`删除`",
|
967
|
+
"description": "删除按钮文字",
|
968
|
+
"options": [],
|
969
|
+
"value": {
|
970
|
+
"type": "string",
|
971
|
+
"kind": "expression"
|
972
|
+
}
|
1178
973
|
},
|
1179
974
|
{
|
1180
|
-
"name": "
|
1181
|
-
"
|
975
|
+
"name": "detail-rows",
|
976
|
+
"default": "`1`",
|
977
|
+
"description": "详细地址输入框行数",
|
978
|
+
"options": [],
|
979
|
+
"value": {
|
980
|
+
"type": "number | string",
|
981
|
+
"kind": "expression"
|
982
|
+
}
|
1182
983
|
},
|
1183
984
|
{
|
1184
|
-
"name": "
|
1185
|
-
"
|
985
|
+
"name": "detail-maxlength",
|
986
|
+
"default": "`200`",
|
987
|
+
"description": "详细地址最大长度",
|
988
|
+
"options": [],
|
989
|
+
"value": {
|
990
|
+
"type": "number | string",
|
991
|
+
"kind": "expression"
|
992
|
+
}
|
1186
993
|
},
|
1187
994
|
{
|
1188
|
-
"name": "
|
1189
|
-
"
|
995
|
+
"name": "is-saving",
|
996
|
+
"default": "`false`",
|
997
|
+
"description": "是否显示保存按钮加载动画",
|
998
|
+
"options": [],
|
999
|
+
"value": {
|
1000
|
+
"type": "boolean",
|
1001
|
+
"kind": "expression"
|
1002
|
+
}
|
1190
1003
|
},
|
1191
1004
|
{
|
1192
|
-
"name": "
|
1193
|
-
"
|
1005
|
+
"name": "is-deleting",
|
1006
|
+
"default": "`false`",
|
1007
|
+
"description": "是否显示删除按钮加载动画",
|
1008
|
+
"options": [],
|
1009
|
+
"value": {
|
1010
|
+
"type": "boolean",
|
1011
|
+
"kind": "expression"
|
1012
|
+
}
|
1194
1013
|
},
|
1195
1014
|
{
|
1196
|
-
"name": "
|
1197
|
-
"
|
1015
|
+
"name": "tel-validator",
|
1016
|
+
"default": "-",
|
1017
|
+
"description": "手机号格式校验函数",
|
1018
|
+
"options": [],
|
1019
|
+
"value": {
|
1020
|
+
"type": "string => boolean",
|
1021
|
+
"kind": "expression"
|
1022
|
+
}
|
1198
1023
|
},
|
1199
1024
|
{
|
1200
|
-
"name": "
|
1201
|
-
"
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1025
|
+
"name": "tel-maxlength",
|
1026
|
+
"default": "-",
|
1027
|
+
"description": "手机号最大长度",
|
1028
|
+
"options": [],
|
1029
|
+
"value": {
|
1030
|
+
"type": "number | string",
|
1031
|
+
"kind": "expression"
|
1032
|
+
}
|
1033
|
+
},
|
1205
1034
|
{
|
1206
|
-
"name": "
|
1207
|
-
"default": "
|
1208
|
-
"description": "
|
1035
|
+
"name": "postal-validator",
|
1036
|
+
"default": "-",
|
1037
|
+
"description": "邮政编码格式校验函数",
|
1209
1038
|
"options": [],
|
1210
1039
|
"value": {
|
1211
|
-
"type": "string",
|
1040
|
+
"type": "string => boolean",
|
1212
1041
|
"kind": "expression"
|
1213
1042
|
}
|
1214
1043
|
},
|
1215
1044
|
{
|
1216
|
-
"name": "
|
1217
|
-
"default": "
|
1218
|
-
"description": "
|
1045
|
+
"name": "validator",
|
1046
|
+
"default": "-",
|
1047
|
+
"description": "自定义校验函数",
|
1219
1048
|
"options": [],
|
1220
1049
|
"value": {
|
1221
|
-
"type": "string",
|
1050
|
+
"type": "(key, val) => string",
|
1051
|
+
"kind": "expression"
|
1052
|
+
}
|
1053
|
+
}
|
1054
|
+
]
|
1055
|
+
},
|
1056
|
+
{
|
1057
|
+
"name": "van-badge",
|
1058
|
+
"slots": [
|
1059
|
+
{
|
1060
|
+
"name": "default",
|
1061
|
+
"description": "徽标包裹的子元素"
|
1062
|
+
},
|
1063
|
+
{
|
1064
|
+
"name": "content",
|
1065
|
+
"description": "自定义徽标内容"
|
1066
|
+
}
|
1067
|
+
],
|
1068
|
+
"events": [],
|
1069
|
+
"attributes": [
|
1070
|
+
{
|
1071
|
+
"name": "content",
|
1072
|
+
"default": "-",
|
1073
|
+
"description": "徽标内容",
|
1074
|
+
"options": [],
|
1075
|
+
"value": {
|
1076
|
+
"type": "number | string",
|
1222
1077
|
"kind": "expression"
|
1223
1078
|
}
|
1224
1079
|
},
|
1225
1080
|
{
|
1226
1081
|
"name": "color",
|
1227
1082
|
"default": "`#ee0a24`",
|
1228
|
-
"description": "
|
1083
|
+
"description": "徽标背景颜色",
|
1229
1084
|
"options": [],
|
1230
1085
|
"value": {
|
1231
1086
|
"type": "string",
|
@@ -1233,101 +1088,170 @@
|
|
1233
1088
|
}
|
1234
1089
|
},
|
1235
1090
|
{
|
1236
|
-
"name": "
|
1237
|
-
"default": "
|
1238
|
-
"description": "
|
1091
|
+
"name": "dot",
|
1092
|
+
"default": "`false`",
|
1093
|
+
"description": "是否展示为小红点",
|
1239
1094
|
"options": [],
|
1240
1095
|
"value": {
|
1241
|
-
"type": "
|
1096
|
+
"type": "boolean",
|
1242
1097
|
"kind": "expression"
|
1243
1098
|
}
|
1244
1099
|
},
|
1245
1100
|
{
|
1246
|
-
"name": "max
|
1247
|
-
"default": "
|
1248
|
-
"description": "
|
1101
|
+
"name": "max",
|
1102
|
+
"default": "-",
|
1103
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
1249
1104
|
"options": [],
|
1250
1105
|
"value": {
|
1251
|
-
"type": "
|
1106
|
+
"type": "number | string",
|
1252
1107
|
"kind": "expression"
|
1253
1108
|
}
|
1254
1109
|
},
|
1255
1110
|
{
|
1256
|
-
"name": "
|
1257
|
-
"default": "
|
1258
|
-
"description": "
|
1111
|
+
"name": "offset",
|
1112
|
+
"default": "string]_",
|
1113
|
+
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`",
|
1259
1114
|
"options": [
|
1260
|
-
"
|
1115
|
+
"-"
|
1261
1116
|
],
|
1262
1117
|
"value": {
|
1263
|
-
"type": "
|
1118
|
+
"type": "[number | string, number \\",
|
1264
1119
|
"kind": "expression"
|
1265
1120
|
}
|
1266
1121
|
},
|
1267
1122
|
{
|
1268
|
-
"name": "
|
1269
|
-
"default": "`
|
1270
|
-
"description": "
|
1123
|
+
"name": "show-zero",
|
1124
|
+
"default": "`true`",
|
1125
|
+
"description": "当 content 为数字 0 时,是否展示徽标",
|
1271
1126
|
"options": [],
|
1272
1127
|
"value": {
|
1273
|
-
"type": "
|
1128
|
+
"type": "boolean",
|
1274
1129
|
"kind": "expression"
|
1275
1130
|
}
|
1131
|
+
}
|
1132
|
+
]
|
1133
|
+
},
|
1134
|
+
{
|
1135
|
+
"name": "van-button",
|
1136
|
+
"slots": [
|
1137
|
+
{
|
1138
|
+
"name": "default",
|
1139
|
+
"description": "按钮内容"
|
1276
1140
|
},
|
1277
1141
|
{
|
1278
|
-
"name": "
|
1142
|
+
"name": "icon",
|
1143
|
+
"description": "自定义图标"
|
1144
|
+
},
|
1145
|
+
{
|
1146
|
+
"name": "loading",
|
1147
|
+
"description": "自定义加载图标"
|
1148
|
+
}
|
1149
|
+
],
|
1150
|
+
"events": [
|
1151
|
+
{
|
1152
|
+
"name": "click",
|
1153
|
+
"description": "点击按钮,且按钮状态不为加载或禁用时触发"
|
1154
|
+
},
|
1155
|
+
{
|
1156
|
+
"name": "touchstart",
|
1157
|
+
"description": "开始触摸按钮时触发"
|
1158
|
+
}
|
1159
|
+
],
|
1160
|
+
"attributes": [
|
1161
|
+
{
|
1162
|
+
"name": "type",
|
1163
|
+
"default": "`default`",
|
1164
|
+
"description": "类型,可选值为 `primary` `success` `warning` `danger`",
|
1165
|
+
"options": [],
|
1166
|
+
"value": {
|
1167
|
+
"type": "string",
|
1168
|
+
"kind": "expression"
|
1169
|
+
}
|
1170
|
+
},
|
1171
|
+
{
|
1172
|
+
"name": "size",
|
1173
|
+
"default": "`normal`",
|
1174
|
+
"description": "尺寸,可选值为 `large` `small` `mini`",
|
1175
|
+
"options": [],
|
1176
|
+
"value": {
|
1177
|
+
"type": "string",
|
1178
|
+
"kind": "expression"
|
1179
|
+
}
|
1180
|
+
},
|
1181
|
+
{
|
1182
|
+
"name": "text",
|
1279
1183
|
"default": "-",
|
1280
|
-
"description": "
|
1184
|
+
"description": "按钮文字",
|
1281
1185
|
"options": [],
|
1282
1186
|
"value": {
|
1283
|
-
"type": "
|
1187
|
+
"type": "string",
|
1284
1188
|
"kind": "expression"
|
1285
1189
|
}
|
1286
1190
|
},
|
1287
1191
|
{
|
1288
|
-
"name": "
|
1289
|
-
"default": "
|
1290
|
-
"description": "
|
1192
|
+
"name": "color",
|
1193
|
+
"default": "-",
|
1194
|
+
"description": "按钮颜色,支持传入 `linear-gradient` 渐变色",
|
1291
1195
|
"options": [],
|
1292
1196
|
"value": {
|
1293
|
-
"type": "
|
1197
|
+
"type": "string",
|
1294
1198
|
"kind": "expression"
|
1295
1199
|
}
|
1296
1200
|
},
|
1297
1201
|
{
|
1298
|
-
"name": "
|
1299
|
-
"default": "
|
1300
|
-
"description": "
|
1202
|
+
"name": "icon",
|
1203
|
+
"default": "-",
|
1204
|
+
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接",
|
1301
1205
|
"options": [],
|
1302
1206
|
"value": {
|
1303
|
-
"type": "
|
1207
|
+
"type": "string",
|
1304
1208
|
"kind": "expression"
|
1305
1209
|
}
|
1306
1210
|
},
|
1307
1211
|
{
|
1308
|
-
"name": "
|
1309
|
-
"default": "`
|
1310
|
-
"description": "
|
1212
|
+
"name": "icon-prefix",
|
1213
|
+
"default": "`van-icon`",
|
1214
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
1311
1215
|
"options": [],
|
1312
1216
|
"value": {
|
1313
|
-
"type": "
|
1217
|
+
"type": "string",
|
1314
1218
|
"kind": "expression"
|
1315
1219
|
}
|
1316
1220
|
},
|
1317
1221
|
{
|
1318
|
-
"name": "
|
1319
|
-
"default": "`
|
1320
|
-
"description": "
|
1222
|
+
"name": "icon-position",
|
1223
|
+
"default": "`left`",
|
1224
|
+
"description": "图标展示位置,可选值为 `right`",
|
1321
1225
|
"options": [],
|
1322
1226
|
"value": {
|
1323
|
-
"type": "
|
1227
|
+
"type": "string",
|
1324
1228
|
"kind": "expression"
|
1325
1229
|
}
|
1326
1230
|
},
|
1327
1231
|
{
|
1328
|
-
"name": "
|
1329
|
-
"default": "`
|
1330
|
-
"description": "
|
1232
|
+
"name": "tag",
|
1233
|
+
"default": "`button`",
|
1234
|
+
"description": "按钮根节点的 HTML 标签",
|
1235
|
+
"options": [],
|
1236
|
+
"value": {
|
1237
|
+
"type": "string",
|
1238
|
+
"kind": "expression"
|
1239
|
+
}
|
1240
|
+
},
|
1241
|
+
{
|
1242
|
+
"name": "native-type",
|
1243
|
+
"default": "`button`",
|
1244
|
+
"description": "原生 button 标签的 type 属性",
|
1245
|
+
"options": [],
|
1246
|
+
"value": {
|
1247
|
+
"type": "string",
|
1248
|
+
"kind": "expression"
|
1249
|
+
}
|
1250
|
+
},
|
1251
|
+
{
|
1252
|
+
"name": "block",
|
1253
|
+
"default": "`false`",
|
1254
|
+
"description": "是否为块级元素",
|
1331
1255
|
"options": [],
|
1332
1256
|
"value": {
|
1333
1257
|
"type": "boolean",
|
@@ -1335,9 +1259,9 @@
|
|
1335
1259
|
}
|
1336
1260
|
},
|
1337
1261
|
{
|
1338
|
-
"name": "
|
1339
|
-
"default": "`
|
1340
|
-
"description": "
|
1262
|
+
"name": "plain",
|
1263
|
+
"default": "`false`",
|
1264
|
+
"description": "是否为朴素按钮",
|
1341
1265
|
"options": [],
|
1342
1266
|
"value": {
|
1343
1267
|
"type": "boolean",
|
@@ -1345,9 +1269,9 @@
|
|
1345
1269
|
}
|
1346
1270
|
},
|
1347
1271
|
{
|
1348
|
-
"name": "
|
1272
|
+
"name": "square",
|
1349
1273
|
"default": "`false`",
|
1350
|
-
"description": "
|
1274
|
+
"description": "是否为方形按钮",
|
1351
1275
|
"options": [],
|
1352
1276
|
"value": {
|
1353
1277
|
"type": "boolean",
|
@@ -1355,39 +1279,39 @@
|
|
1355
1279
|
}
|
1356
1280
|
},
|
1357
1281
|
{
|
1358
|
-
"name": "
|
1359
|
-
"default": "
|
1360
|
-
"description": "
|
1282
|
+
"name": "round",
|
1283
|
+
"default": "`false`",
|
1284
|
+
"description": "是否为圆形按钮",
|
1361
1285
|
"options": [],
|
1362
1286
|
"value": {
|
1363
|
-
"type": "
|
1287
|
+
"type": "boolean",
|
1364
1288
|
"kind": "expression"
|
1365
1289
|
}
|
1366
1290
|
},
|
1367
1291
|
{
|
1368
|
-
"name": "
|
1369
|
-
"default": "
|
1370
|
-
"description": "
|
1292
|
+
"name": "disabled",
|
1293
|
+
"default": "`false`",
|
1294
|
+
"description": "是否禁用按钮",
|
1371
1295
|
"options": [],
|
1372
1296
|
"value": {
|
1373
|
-
"type": "
|
1297
|
+
"type": "boolean",
|
1374
1298
|
"kind": "expression"
|
1375
1299
|
}
|
1376
1300
|
},
|
1377
1301
|
{
|
1378
|
-
"name": "
|
1379
|
-
"default": "`
|
1380
|
-
"description": "
|
1302
|
+
"name": "hairline",
|
1303
|
+
"default": "`false`",
|
1304
|
+
"description": "是否使用 0.5px 边框",
|
1381
1305
|
"options": [],
|
1382
1306
|
"value": {
|
1383
|
-
"type": "
|
1307
|
+
"type": "boolean",
|
1384
1308
|
"kind": "expression"
|
1385
1309
|
}
|
1386
1310
|
},
|
1387
1311
|
{
|
1388
|
-
"name": "
|
1312
|
+
"name": "loading",
|
1389
1313
|
"default": "`false`",
|
1390
|
-
"description": "
|
1314
|
+
"description": "是否显示为加载状态",
|
1391
1315
|
"options": [],
|
1392
1316
|
"value": {
|
1393
1317
|
"type": "boolean",
|
@@ -1395,9 +1319,9 @@
|
|
1395
1319
|
}
|
1396
1320
|
},
|
1397
1321
|
{
|
1398
|
-
"name": "
|
1399
|
-
"default": "
|
1400
|
-
"description": "
|
1322
|
+
"name": "loading-text",
|
1323
|
+
"default": "-",
|
1324
|
+
"description": "加载状态提示文字",
|
1401
1325
|
"options": [],
|
1402
1326
|
"value": {
|
1403
1327
|
"type": "string",
|
@@ -1405,99 +1329,194 @@
|
|
1405
1329
|
}
|
1406
1330
|
},
|
1407
1331
|
{
|
1408
|
-
"name": "
|
1409
|
-
"default": "`
|
1410
|
-
"description": "
|
1332
|
+
"name": "loading-type",
|
1333
|
+
"default": "`circular`",
|
1334
|
+
"description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`",
|
1411
1335
|
"options": [],
|
1412
1336
|
"value": {
|
1413
|
-
"type": "
|
1337
|
+
"type": "string",
|
1414
1338
|
"kind": "expression"
|
1415
1339
|
}
|
1416
1340
|
},
|
1417
1341
|
{
|
1418
|
-
"name": "
|
1419
|
-
"default": "`
|
1420
|
-
"description": "
|
1342
|
+
"name": "loading-size",
|
1343
|
+
"default": "`20px`",
|
1344
|
+
"description": "加载图标大小,默认单位为 `px`",
|
1421
1345
|
"options": [],
|
1422
1346
|
"value": {
|
1423
|
-
"type": "
|
1347
|
+
"type": "number | string",
|
1424
1348
|
"kind": "expression"
|
1425
1349
|
}
|
1426
1350
|
},
|
1427
1351
|
{
|
1428
|
-
"name": "
|
1429
|
-
"default": "
|
1430
|
-
"description": "
|
1352
|
+
"name": "url",
|
1353
|
+
"default": "-",
|
1354
|
+
"description": "点击后跳转的链接地址",
|
1431
1355
|
"options": [],
|
1432
1356
|
"value": {
|
1433
|
-
"type": "
|
1357
|
+
"type": "string",
|
1434
1358
|
"kind": "expression"
|
1435
1359
|
}
|
1436
1360
|
},
|
1437
1361
|
{
|
1438
|
-
"name": "
|
1439
|
-
"default": "
|
1440
|
-
"description": "
|
1362
|
+
"name": "to",
|
1363
|
+
"default": "-",
|
1364
|
+
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
1365
|
+
"options": [],
|
1366
|
+
"value": {
|
1367
|
+
"type": "string | object",
|
1368
|
+
"kind": "expression"
|
1369
|
+
}
|
1370
|
+
},
|
1371
|
+
{
|
1372
|
+
"name": "replace",
|
1373
|
+
"default": "`false`",
|
1374
|
+
"description": "是否在跳转时替换当前页面历史",
|
1441
1375
|
"options": [],
|
1442
1376
|
"value": {
|
1443
1377
|
"type": "boolean",
|
1444
1378
|
"kind": "expression"
|
1445
1379
|
}
|
1380
|
+
}
|
1381
|
+
]
|
1382
|
+
},
|
1383
|
+
{
|
1384
|
+
"name": "van-calendar",
|
1385
|
+
"slots": [
|
1386
|
+
{
|
1387
|
+
"name": "title",
|
1388
|
+
"description": "自定义标题"
|
1446
1389
|
},
|
1447
1390
|
{
|
1448
|
-
"name": "
|
1449
|
-
"
|
1450
|
-
|
1391
|
+
"name": "subtitle",
|
1392
|
+
"description": "自定义日历副标题"
|
1393
|
+
},
|
1394
|
+
{
|
1395
|
+
"name": "footer",
|
1396
|
+
"description": "自定义底部区域内容"
|
1397
|
+
},
|
1398
|
+
{
|
1399
|
+
"name": "confirm-text",
|
1400
|
+
"description": "自定义确认按钮的内容"
|
1401
|
+
},
|
1402
|
+
{
|
1403
|
+
"name": "top-info",
|
1404
|
+
"description": "自定义日期上方的提示信息"
|
1405
|
+
},
|
1406
|
+
{
|
1407
|
+
"name": "bottom-info",
|
1408
|
+
"description": "自定义日期下方的提示信息"
|
1409
|
+
}
|
1410
|
+
],
|
1411
|
+
"events": [
|
1412
|
+
{
|
1413
|
+
"name": "select",
|
1414
|
+
"description": "点击并选中任意日期时触发"
|
1415
|
+
},
|
1416
|
+
{
|
1417
|
+
"name": "confirm",
|
1418
|
+
"description": "日期选择完成后触发,若 `show-confirm` 为 `true`,则点击确认按钮后触发"
|
1419
|
+
},
|
1420
|
+
{
|
1421
|
+
"name": "open",
|
1422
|
+
"description": "打开弹出层时触发"
|
1423
|
+
},
|
1424
|
+
{
|
1425
|
+
"name": "close",
|
1426
|
+
"description": "关闭弹出层时触发"
|
1427
|
+
},
|
1428
|
+
{
|
1429
|
+
"name": "opened",
|
1430
|
+
"description": "打开弹出层且动画结束后触发"
|
1431
|
+
},
|
1432
|
+
{
|
1433
|
+
"name": "closed",
|
1434
|
+
"description": "关闭弹出层且动画结束后触发"
|
1435
|
+
},
|
1436
|
+
{
|
1437
|
+
"name": "unselect",
|
1438
|
+
"description": "当日历组件的 `type` 为 `multiple` 时,取消选中日期时触发"
|
1439
|
+
},
|
1440
|
+
{
|
1441
|
+
"name": "month-show",
|
1442
|
+
"description": "当某个月份进入可视区域时触发"
|
1443
|
+
},
|
1444
|
+
{
|
1445
|
+
"name": "over-range",
|
1446
|
+
"description": "范围选择超过最多可选天数时触发"
|
1447
|
+
},
|
1448
|
+
{
|
1449
|
+
"name": "click-subtitle",
|
1450
|
+
"description": "点击日历副标题时触发"
|
1451
|
+
}
|
1452
|
+
],
|
1453
|
+
"attributes": [
|
1454
|
+
{
|
1455
|
+
"name": "type",
|
1456
|
+
"default": "`single`",
|
1457
|
+
"description": "选择类型:<br>`single` 表示选择单个日期,<br>`multiple` 表示选择多个日期,<br>`range` 表示选择日期区间",
|
1451
1458
|
"options": [],
|
1452
1459
|
"value": {
|
1453
|
-
"type": "string
|
1460
|
+
"type": "string",
|
1454
1461
|
"kind": "expression"
|
1455
1462
|
}
|
1456
1463
|
},
|
1457
1464
|
{
|
1458
|
-
"name": "
|
1459
|
-
"default": "
|
1460
|
-
"description": "
|
1465
|
+
"name": "title",
|
1466
|
+
"default": "`日期选择`",
|
1467
|
+
"description": "日历标题",
|
1461
1468
|
"options": [],
|
1462
1469
|
"value": {
|
1463
|
-
"type": "
|
1470
|
+
"type": "string",
|
1471
|
+
"kind": "expression"
|
1472
|
+
}
|
1473
|
+
},
|
1474
|
+
{
|
1475
|
+
"name": "color",
|
1476
|
+
"default": "`#ee0a24`",
|
1477
|
+
"description": "主题色,对底部按钮和选中日期生效",
|
1478
|
+
"options": [],
|
1479
|
+
"value": {
|
1480
|
+
"type": "string",
|
1464
1481
|
"kind": "expression"
|
1465
1482
|
}
|
1466
1483
|
},
|
1467
1484
|
{
|
1468
|
-
"name": "
|
1469
|
-
"default": "
|
1470
|
-
"description": "
|
1485
|
+
"name": "min-date",
|
1486
|
+
"default": "当前日期",
|
1487
|
+
"description": "可选择的最小日期",
|
1471
1488
|
"options": [],
|
1472
1489
|
"value": {
|
1473
|
-
"type": "
|
1490
|
+
"type": "Date",
|
1474
1491
|
"kind": "expression"
|
1475
1492
|
}
|
1476
1493
|
},
|
1477
1494
|
{
|
1478
|
-
"name": "
|
1479
|
-
"default": "
|
1480
|
-
"description": "
|
1495
|
+
"name": "max-date",
|
1496
|
+
"default": "当前日期的六个月后",
|
1497
|
+
"description": "可选择的最大日期",
|
1481
1498
|
"options": [],
|
1482
1499
|
"value": {
|
1483
|
-
"type": "
|
1500
|
+
"type": "Date",
|
1484
1501
|
"kind": "expression"
|
1485
1502
|
}
|
1486
1503
|
},
|
1487
1504
|
{
|
1488
|
-
"name": "
|
1489
|
-
"default": "
|
1490
|
-
"description": "
|
1491
|
-
"options": [
|
1505
|
+
"name": "default-date",
|
1506
|
+
"default": "null_",
|
1507
|
+
"description": "默认选中的日期,`type` 为 `multiple` 或 `range` 时为数组,传入 `null` 表示默认不选择",
|
1508
|
+
"options": [
|
1509
|
+
"今天"
|
1510
|
+
],
|
1492
1511
|
"value": {
|
1493
|
-
"type": "
|
1512
|
+
"type": "Date | Date[] \\",
|
1494
1513
|
"kind": "expression"
|
1495
1514
|
}
|
1496
1515
|
},
|
1497
1516
|
{
|
1498
|
-
"name": "
|
1499
|
-
"default": "
|
1500
|
-
"description": "
|
1517
|
+
"name": "row-height",
|
1518
|
+
"default": "`64`",
|
1519
|
+
"description": "日期行高",
|
1501
1520
|
"options": [],
|
1502
1521
|
"value": {
|
1503
1522
|
"type": "number | string",
|
@@ -1505,118 +1524,89 @@
|
|
1505
1524
|
}
|
1506
1525
|
},
|
1507
1526
|
{
|
1508
|
-
"name": "
|
1509
|
-
"default": "
|
1510
|
-
"description": "
|
1527
|
+
"name": "formatter",
|
1528
|
+
"default": "-",
|
1529
|
+
"description": "日期格式化函数",
|
1511
1530
|
"options": [],
|
1512
1531
|
"value": {
|
1513
|
-
"type": "
|
1532
|
+
"type": "(day: Day) => Day",
|
1514
1533
|
"kind": "expression"
|
1515
1534
|
}
|
1516
|
-
}
|
1517
|
-
]
|
1518
|
-
},
|
1519
|
-
{
|
1520
|
-
"name": "van-button",
|
1521
|
-
"slots": [
|
1522
|
-
{
|
1523
|
-
"name": "default",
|
1524
|
-
"description": "按钮内容"
|
1525
|
-
},
|
1526
|
-
{
|
1527
|
-
"name": "icon",
|
1528
|
-
"description": "自定义图标"
|
1529
|
-
},
|
1530
|
-
{
|
1531
|
-
"name": "loading",
|
1532
|
-
"description": "自定义加载图标"
|
1533
|
-
}
|
1534
|
-
],
|
1535
|
-
"events": [
|
1536
|
-
{
|
1537
|
-
"name": "click",
|
1538
|
-
"description": "点击按钮,且按钮状态不为加载或禁用时触发"
|
1539
1535
|
},
|
1540
1536
|
{
|
1541
|
-
"name": "
|
1542
|
-
"
|
1543
|
-
|
1544
|
-
],
|
1545
|
-
"attributes": [
|
1546
|
-
{
|
1547
|
-
"name": "type",
|
1548
|
-
"default": "`default`",
|
1549
|
-
"description": "类型,可选值为 `primary` `success` `warning` `danger`",
|
1537
|
+
"name": "poppable",
|
1538
|
+
"default": "`true`",
|
1539
|
+
"description": "是否以弹层的形式展示日历",
|
1550
1540
|
"options": [],
|
1551
1541
|
"value": {
|
1552
|
-
"type": "
|
1542
|
+
"type": "boolean",
|
1553
1543
|
"kind": "expression"
|
1554
1544
|
}
|
1555
1545
|
},
|
1556
1546
|
{
|
1557
|
-
"name": "
|
1558
|
-
"default": "`
|
1559
|
-
"description": "
|
1547
|
+
"name": "lazy-render",
|
1548
|
+
"default": "`true`",
|
1549
|
+
"description": "是否只渲染可视区域的内容",
|
1560
1550
|
"options": [],
|
1561
1551
|
"value": {
|
1562
|
-
"type": "
|
1552
|
+
"type": "boolean",
|
1563
1553
|
"kind": "expression"
|
1564
1554
|
}
|
1565
1555
|
},
|
1566
1556
|
{
|
1567
|
-
"name": "
|
1568
|
-
"default": "
|
1569
|
-
"description": "
|
1557
|
+
"name": "show-mark",
|
1558
|
+
"default": "`true`",
|
1559
|
+
"description": "是否显示月份背景水印",
|
1570
1560
|
"options": [],
|
1571
1561
|
"value": {
|
1572
|
-
"type": "
|
1562
|
+
"type": "boolean",
|
1573
1563
|
"kind": "expression"
|
1574
1564
|
}
|
1575
1565
|
},
|
1576
1566
|
{
|
1577
|
-
"name": "
|
1578
|
-
"default": "
|
1579
|
-
"description": "
|
1567
|
+
"name": "show-title",
|
1568
|
+
"default": "`true`",
|
1569
|
+
"description": "是否展示日历标题",
|
1580
1570
|
"options": [],
|
1581
1571
|
"value": {
|
1582
|
-
"type": "
|
1572
|
+
"type": "boolean",
|
1583
1573
|
"kind": "expression"
|
1584
1574
|
}
|
1585
1575
|
},
|
1586
1576
|
{
|
1587
|
-
"name": "
|
1588
|
-
"default": "
|
1589
|
-
"description": "
|
1577
|
+
"name": "show-subtitle",
|
1578
|
+
"default": "`true`",
|
1579
|
+
"description": "是否展示日历副标题(年月)",
|
1590
1580
|
"options": [],
|
1591
1581
|
"value": {
|
1592
|
-
"type": "
|
1582
|
+
"type": "boolean",
|
1593
1583
|
"kind": "expression"
|
1594
1584
|
}
|
1595
1585
|
},
|
1596
1586
|
{
|
1597
|
-
"name": "
|
1598
|
-
"default": "`
|
1599
|
-
"description": "
|
1587
|
+
"name": "show-confirm",
|
1588
|
+
"default": "`true`",
|
1589
|
+
"description": "是否展示确认按钮",
|
1600
1590
|
"options": [],
|
1601
1591
|
"value": {
|
1602
|
-
"type": "
|
1592
|
+
"type": "boolean",
|
1603
1593
|
"kind": "expression"
|
1604
1594
|
}
|
1605
1595
|
},
|
1606
1596
|
{
|
1607
|
-
"name": "
|
1608
|
-
"default": "`
|
1609
|
-
"description": "
|
1597
|
+
"name": "readonly",
|
1598
|
+
"default": "`false`",
|
1599
|
+
"description": "是否为只读状态,只读状态下不能选择日期",
|
1610
1600
|
"options": [],
|
1611
1601
|
"value": {
|
1612
|
-
"type": "
|
1602
|
+
"type": "boolean",
|
1613
1603
|
"kind": "expression"
|
1614
1604
|
}
|
1615
1605
|
},
|
1616
1606
|
{
|
1617
|
-
"name": "
|
1618
|
-
"default": "
|
1619
|
-
"description": "
|
1607
|
+
"name": "confirm-text",
|
1608
|
+
"default": "`确定`",
|
1609
|
+
"description": "确认按钮的文字",
|
1620
1610
|
"options": [],
|
1621
1611
|
"value": {
|
1622
1612
|
"type": "string",
|
@@ -1624,9 +1614,9 @@
|
|
1624
1614
|
}
|
1625
1615
|
},
|
1626
1616
|
{
|
1627
|
-
"name": "
|
1628
|
-
"default": "
|
1629
|
-
"description": "
|
1617
|
+
"name": "confirm-disabled-text",
|
1618
|
+
"default": "`确定`",
|
1619
|
+
"description": "确认按钮处于禁用状态时的文字",
|
1630
1620
|
"options": [],
|
1631
1621
|
"value": {
|
1632
1622
|
"type": "string",
|
@@ -1634,19 +1624,19 @@
|
|
1634
1624
|
}
|
1635
1625
|
},
|
1636
1626
|
{
|
1637
|
-
"name": "
|
1638
|
-
"default": "`
|
1639
|
-
"description": "
|
1627
|
+
"name": "first-day-of-week",
|
1628
|
+
"default": "`0`",
|
1629
|
+
"description": "设置周起始日",
|
1640
1630
|
"options": [],
|
1641
1631
|
"value": {
|
1642
|
-
"type": "
|
1632
|
+
"type": "0-6",
|
1643
1633
|
"kind": "expression"
|
1644
1634
|
}
|
1645
1635
|
},
|
1646
1636
|
{
|
1647
|
-
"name": "
|
1637
|
+
"name": "v-model:show",
|
1648
1638
|
"default": "`false`",
|
1649
|
-
"description": "
|
1639
|
+
"description": "是否显示日历弹窗",
|
1650
1640
|
"options": [],
|
1651
1641
|
"value": {
|
1652
1642
|
"type": "boolean",
|
@@ -1654,19 +1644,19 @@
|
|
1654
1644
|
}
|
1655
1645
|
},
|
1656
1646
|
{
|
1657
|
-
"name": "
|
1658
|
-
"default": "`
|
1659
|
-
"description": "
|
1647
|
+
"name": "position",
|
1648
|
+
"default": "`bottom`",
|
1649
|
+
"description": "弹出位置,可选值为 `top` `right` `left`",
|
1660
1650
|
"options": [],
|
1661
1651
|
"value": {
|
1662
|
-
"type": "
|
1652
|
+
"type": "string",
|
1663
1653
|
"kind": "expression"
|
1664
1654
|
}
|
1665
1655
|
},
|
1666
1656
|
{
|
1667
1657
|
"name": "round",
|
1668
|
-
"default": "`
|
1669
|
-
"description": "
|
1658
|
+
"default": "`true`",
|
1659
|
+
"description": "是否显示圆角弹窗",
|
1670
1660
|
"options": [],
|
1671
1661
|
"value": {
|
1672
1662
|
"type": "boolean",
|
@@ -1674,9 +1664,9 @@
|
|
1674
1664
|
}
|
1675
1665
|
},
|
1676
1666
|
{
|
1677
|
-
"name": "
|
1678
|
-
"default": "`
|
1679
|
-
"description": "
|
1667
|
+
"name": "close-on-popstate",
|
1668
|
+
"default": "`true`",
|
1669
|
+
"description": "是否在页面回退时自动关闭",
|
1680
1670
|
"options": [],
|
1681
1671
|
"value": {
|
1682
1672
|
"type": "boolean",
|
@@ -1684,9 +1674,9 @@
|
|
1684
1674
|
}
|
1685
1675
|
},
|
1686
1676
|
{
|
1687
|
-
"name": "
|
1688
|
-
"default": "`
|
1689
|
-
"description": "
|
1677
|
+
"name": "close-on-click-overlay",
|
1678
|
+
"default": "`true`",
|
1679
|
+
"description": "是否在点击遮罩层后关闭",
|
1690
1680
|
"options": [],
|
1691
1681
|
"value": {
|
1692
1682
|
"type": "boolean",
|
@@ -1694,9 +1684,9 @@
|
|
1694
1684
|
}
|
1695
1685
|
},
|
1696
1686
|
{
|
1697
|
-
"name": "
|
1698
|
-
"default": "`
|
1699
|
-
"description": "
|
1687
|
+
"name": "safe-area-inset-bottom",
|
1688
|
+
"default": "`true`",
|
1689
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
1700
1690
|
"options": [],
|
1701
1691
|
"value": {
|
1702
1692
|
"type": "boolean",
|
@@ -1704,19 +1694,29 @@
|
|
1704
1694
|
}
|
1705
1695
|
},
|
1706
1696
|
{
|
1707
|
-
"name": "
|
1697
|
+
"name": "teleport",
|
1708
1698
|
"default": "-",
|
1709
|
-
"description": "
|
1699
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
1710
1700
|
"options": [],
|
1711
1701
|
"value": {
|
1712
|
-
"type": "string",
|
1702
|
+
"type": "string | Element",
|
1713
1703
|
"kind": "expression"
|
1714
1704
|
}
|
1715
1705
|
},
|
1716
1706
|
{
|
1717
|
-
"name": "
|
1718
|
-
"default": "
|
1719
|
-
"description": "
|
1707
|
+
"name": "max-range",
|
1708
|
+
"default": "无限制",
|
1709
|
+
"description": "日期区间最多可选天数",
|
1710
|
+
"options": [],
|
1711
|
+
"value": {
|
1712
|
+
"type": "number | string",
|
1713
|
+
"kind": "expression"
|
1714
|
+
}
|
1715
|
+
},
|
1716
|
+
{
|
1717
|
+
"name": "range-prompt",
|
1718
|
+
"default": "`最多选择 xx 天`",
|
1719
|
+
"description": "范围选择超过最多可选天数时的提示文案",
|
1720
1720
|
"options": [],
|
1721
1721
|
"value": {
|
1722
1722
|
"type": "string",
|
@@ -1724,42 +1724,42 @@
|
|
1724
1724
|
}
|
1725
1725
|
},
|
1726
1726
|
{
|
1727
|
-
"name": "
|
1728
|
-
"default": "`
|
1729
|
-
"description": "
|
1727
|
+
"name": "show-range-prompt",
|
1728
|
+
"default": "`true`",
|
1729
|
+
"description": "范围选择超过最多可选天数时,是否展示提示文案",
|
1730
1730
|
"options": [],
|
1731
1731
|
"value": {
|
1732
|
-
"type": "
|
1732
|
+
"type": "boolean",
|
1733
1733
|
"kind": "expression"
|
1734
1734
|
}
|
1735
1735
|
},
|
1736
1736
|
{
|
1737
|
-
"name": "
|
1738
|
-
"default": "
|
1739
|
-
"description": "
|
1737
|
+
"name": "allow-same-day",
|
1738
|
+
"default": "`false`",
|
1739
|
+
"description": "是否允许日期范围的起止时间为同一天",
|
1740
1740
|
"options": [],
|
1741
1741
|
"value": {
|
1742
|
-
"type": "
|
1742
|
+
"type": "boolean",
|
1743
1743
|
"kind": "expression"
|
1744
1744
|
}
|
1745
1745
|
},
|
1746
1746
|
{
|
1747
|
-
"name": "
|
1748
|
-
"default": "
|
1749
|
-
"description": "
|
1747
|
+
"name": "max-range",
|
1748
|
+
"default": "无限制",
|
1749
|
+
"description": "日期最多可选天数",
|
1750
1750
|
"options": [],
|
1751
1751
|
"value": {
|
1752
|
-
"type": "
|
1752
|
+
"type": "number | string",
|
1753
1753
|
"kind": "expression"
|
1754
1754
|
}
|
1755
1755
|
},
|
1756
1756
|
{
|
1757
|
-
"name": "
|
1758
|
-
"default": "
|
1759
|
-
"description": "
|
1757
|
+
"name": "range-prompt",
|
1758
|
+
"default": "`最多选择 xx 天`",
|
1759
|
+
"description": "选择超过最多可选天数时的提示文案",
|
1760
1760
|
"options": [],
|
1761
1761
|
"value": {
|
1762
|
-
"type": "
|
1762
|
+
"type": "string",
|
1763
1763
|
"kind": "expression"
|
1764
1764
|
}
|
1765
1765
|
}
|
@@ -2938,19 +2938,56 @@
|
|
2938
2938
|
}
|
2939
2939
|
},
|
2940
2940
|
{
|
2941
|
-
"name": "title-class",
|
2941
|
+
"name": "title-class",
|
2942
|
+
"default": "-",
|
2943
|
+
"description": "左侧标题额外类名",
|
2944
|
+
"options": [],
|
2945
|
+
"value": {
|
2946
|
+
"type": "string",
|
2947
|
+
"kind": "expression"
|
2948
|
+
}
|
2949
|
+
},
|
2950
|
+
{
|
2951
|
+
"name": "value-class",
|
2952
|
+
"default": "-",
|
2953
|
+
"description": "右侧内容额外类名",
|
2954
|
+
"options": [],
|
2955
|
+
"value": {
|
2956
|
+
"type": "string",
|
2957
|
+
"kind": "expression"
|
2958
|
+
}
|
2959
|
+
},
|
2960
|
+
{
|
2961
|
+
"name": "label-class",
|
2942
2962
|
"default": "-",
|
2943
|
-
"description": "
|
2963
|
+
"description": "描述信息额外类名",
|
2944
2964
|
"options": [],
|
2945
2965
|
"value": {
|
2946
2966
|
"type": "string",
|
2947
2967
|
"kind": "expression"
|
2948
2968
|
}
|
2949
|
-
}
|
2969
|
+
}
|
2970
|
+
]
|
2971
|
+
},
|
2972
|
+
{
|
2973
|
+
"name": "van-config-provider",
|
2974
|
+
"slots": [],
|
2975
|
+
"events": [],
|
2976
|
+
"attributes": [
|
2950
2977
|
{
|
2951
|
-
"name": "
|
2978
|
+
"name": "theme-vars",
|
2952
2979
|
"default": "-",
|
2953
|
-
"description": "
|
2980
|
+
"description": "自定义主题变量",
|
2981
|
+
"options": [],
|
2982
|
+
"value": {
|
2983
|
+
"type": "object",
|
2984
|
+
"kind": "expression"
|
2985
|
+
}
|
2986
|
+
},
|
2987
|
+
{
|
2988
|
+
"name": "tag",
|
2989
|
+
"default": "`div`",
|
2990
|
+
"description": "根节点对应的 HTML 标签名",
|
2954
2991
|
"options": [],
|
2955
2992
|
"value": {
|
2956
2993
|
"type": "string",
|
@@ -2958,9 +2995,9 @@
|
|
2958
2995
|
}
|
2959
2996
|
},
|
2960
2997
|
{
|
2961
|
-
"name": "
|
2962
|
-
"default": "-",
|
2963
|
-
"description": "
|
2998
|
+
"name": "icon-prefix",
|
2999
|
+
"default": "`van-icon`",
|
3000
|
+
"description": "所有图标的类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
2964
3001
|
"options": [],
|
2965
3002
|
"value": {
|
2966
3003
|
"type": "string",
|
@@ -3107,43 +3144,6 @@
|
|
3107
3144
|
}
|
3108
3145
|
]
|
3109
3146
|
},
|
3110
|
-
{
|
3111
|
-
"name": "van-config-provider",
|
3112
|
-
"slots": [],
|
3113
|
-
"events": [],
|
3114
|
-
"attributes": [
|
3115
|
-
{
|
3116
|
-
"name": "theme-vars",
|
3117
|
-
"default": "-",
|
3118
|
-
"description": "自定义主题变量",
|
3119
|
-
"options": [],
|
3120
|
-
"value": {
|
3121
|
-
"type": "object",
|
3122
|
-
"kind": "expression"
|
3123
|
-
}
|
3124
|
-
},
|
3125
|
-
{
|
3126
|
-
"name": "tag",
|
3127
|
-
"default": "`div`",
|
3128
|
-
"description": "根节点对应的 HTML 标签名",
|
3129
|
-
"options": [],
|
3130
|
-
"value": {
|
3131
|
-
"type": "string",
|
3132
|
-
"kind": "expression"
|
3133
|
-
}
|
3134
|
-
},
|
3135
|
-
{
|
3136
|
-
"name": "icon-prefix",
|
3137
|
-
"default": "`van-icon`",
|
3138
|
-
"description": "所有图标的类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
3139
|
-
"options": [],
|
3140
|
-
"value": {
|
3141
|
-
"type": "string",
|
3142
|
-
"kind": "expression"
|
3143
|
-
}
|
3144
|
-
}
|
3145
|
-
]
|
3146
|
-
},
|
3147
3147
|
{
|
3148
3148
|
"name": "van-contact-list",
|
3149
3149
|
"slots": [],
|
@@ -4352,7 +4352,7 @@
|
|
4352
4352
|
},
|
4353
4353
|
{
|
4354
4354
|
"name": "input",
|
4355
|
-
"description": "
|
4355
|
+
"description": "自定义输入框,使用此插槽后,与输入框相关的属性和事件将失效"
|
4356
4356
|
},
|
4357
4357
|
{
|
4358
4358
|
"name": "left-icon",
|
@@ -4366,6 +4366,10 @@
|
|
4366
4366
|
"name": "button",
|
4367
4367
|
"description": "自定义输入框尾部按钮"
|
4368
4368
|
},
|
4369
|
+
{
|
4370
|
+
"name": "error-message",
|
4371
|
+
"description": "自定义底部错误提示文案"
|
4372
|
+
},
|
4369
4373
|
{
|
4370
4374
|
"name": "extra",
|
4371
4375
|
"description": "自定义输入框最右侧的额外内容"
|
@@ -6229,7 +6233,7 @@
|
|
6229
6233
|
},
|
6230
6234
|
{
|
6231
6235
|
"name": "maxlength",
|
6232
|
-
"default": "
|
6236
|
+
"default": "`Infinity`",
|
6233
6237
|
"description": "输入值最大长度",
|
6234
6238
|
"options": [],
|
6235
6239
|
"value": {
|
@@ -7568,7 +7572,7 @@
|
|
7568
7572
|
{
|
7569
7573
|
"name": "icon-size",
|
7570
7574
|
"default": "`20px`",
|
7571
|
-
"description": "
|
7575
|
+
"description": "图标大小,默认单位为 `px`",
|
7572
7576
|
"options": [],
|
7573
7577
|
"value": {
|
7574
7578
|
"type": "number | string",
|
@@ -7620,7 +7624,7 @@
|
|
7620
7624
|
{
|
7621
7625
|
"name": "direction",
|
7622
7626
|
"default": "`vertical`",
|
7623
|
-
"description": "
|
7627
|
+
"description": "排列方向,可选值为 `horizontal`",
|
7624
7628
|
"options": [],
|
7625
7629
|
"value": {
|
7626
7630
|
"type": "string",
|
@@ -7630,7 +7634,7 @@
|
|
7630
7634
|
{
|
7631
7635
|
"name": "icon-size",
|
7632
7636
|
"default": "`20px`",
|
7633
|
-
"description": "
|
7637
|
+
"description": "所有单选框的图标大小,默认单位为 `px`",
|
7634
7638
|
"options": [],
|
7635
7639
|
"value": {
|
7636
7640
|
"type": "number | string",
|
@@ -7856,6 +7860,16 @@
|
|
7856
7860
|
}
|
7857
7861
|
],
|
7858
7862
|
"attributes": [
|
7863
|
+
{
|
7864
|
+
"name": "v-model",
|
7865
|
+
"default": "-",
|
7866
|
+
"description": "当前输入的值",
|
7867
|
+
"options": [],
|
7868
|
+
"value": {
|
7869
|
+
"type": "number | string",
|
7870
|
+
"kind": "expression"
|
7871
|
+
}
|
7872
|
+
},
|
7859
7873
|
{
|
7860
7874
|
"name": "label",
|
7861
7875
|
"default": "-",
|
@@ -7866,6 +7880,16 @@
|
|
7866
7880
|
"kind": "expression"
|
7867
7881
|
}
|
7868
7882
|
},
|
7883
|
+
{
|
7884
|
+
"name": "name",
|
7885
|
+
"default": "-",
|
7886
|
+
"description": "名称,作为提交表单时的标识符",
|
7887
|
+
"options": [],
|
7888
|
+
"value": {
|
7889
|
+
"type": "string",
|
7890
|
+
"kind": "expression"
|
7891
|
+
}
|
7892
|
+
},
|
7869
7893
|
{
|
7870
7894
|
"name": "shape",
|
7871
7895
|
"default": "`square`",
|
@@ -8065,6 +8089,16 @@
|
|
8065
8089
|
"type": "string",
|
8066
8090
|
"kind": "expression"
|
8067
8091
|
}
|
8092
|
+
},
|
8093
|
+
{
|
8094
|
+
"name": "autocomplete",
|
8095
|
+
"default": "-",
|
8096
|
+
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
|
8097
|
+
"options": [],
|
8098
|
+
"value": {
|
8099
|
+
"type": "string",
|
8100
|
+
"kind": "expression"
|
8101
|
+
}
|
8068
8102
|
}
|
8069
8103
|
]
|
8070
8104
|
},
|
@@ -8175,6 +8209,16 @@
|
|
8175
8209
|
"kind": "expression"
|
8176
8210
|
}
|
8177
8211
|
},
|
8212
|
+
{
|
8213
|
+
"name": "round",
|
8214
|
+
"default": "`true`",
|
8215
|
+
"description": "是否显示圆角",
|
8216
|
+
"options": [],
|
8217
|
+
"value": {
|
8218
|
+
"type": "boolean",
|
8219
|
+
"kind": "expression"
|
8220
|
+
}
|
8221
|
+
},
|
8178
8222
|
{
|
8179
8223
|
"name": "overlay",
|
8180
8224
|
"default": "`true`",
|
@@ -8917,72 +8961,6 @@
|
|
8917
8961
|
}
|
8918
8962
|
]
|
8919
8963
|
},
|
8920
|
-
{
|
8921
|
-
"name": "van-sticky",
|
8922
|
-
"slots": [],
|
8923
|
-
"events": [
|
8924
|
-
{
|
8925
|
-
"name": "change",
|
8926
|
-
"description": "当吸顶状态改变时触发"
|
8927
|
-
},
|
8928
|
-
{
|
8929
|
-
"name": "scroll",
|
8930
|
-
"description": "滚动时触发"
|
8931
|
-
}
|
8932
|
-
],
|
8933
|
-
"attributes": [
|
8934
|
-
{
|
8935
|
-
"name": "position",
|
8936
|
-
"default": "`top`",
|
8937
|
-
"description": "吸附位置,可选值为 `bottom`",
|
8938
|
-
"options": [],
|
8939
|
-
"value": {
|
8940
|
-
"type": "string",
|
8941
|
-
"kind": "expression"
|
8942
|
-
}
|
8943
|
-
},
|
8944
|
-
{
|
8945
|
-
"name": "offset-top",
|
8946
|
-
"default": "`0`",
|
8947
|
-
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
8948
|
-
"options": [],
|
8949
|
-
"value": {
|
8950
|
-
"type": "number | string",
|
8951
|
-
"kind": "expression"
|
8952
|
-
}
|
8953
|
-
},
|
8954
|
-
{
|
8955
|
-
"name": "offset-bottom",
|
8956
|
-
"default": "`0`",
|
8957
|
-
"description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
8958
|
-
"options": [],
|
8959
|
-
"value": {
|
8960
|
-
"type": "number | string",
|
8961
|
-
"kind": "expression"
|
8962
|
-
}
|
8963
|
-
},
|
8964
|
-
{
|
8965
|
-
"name": "z-index",
|
8966
|
-
"default": "`99`",
|
8967
|
-
"description": "吸顶时的 z-index",
|
8968
|
-
"options": [],
|
8969
|
-
"value": {
|
8970
|
-
"type": "number | string",
|
8971
|
-
"kind": "expression"
|
8972
|
-
}
|
8973
|
-
},
|
8974
|
-
{
|
8975
|
-
"name": "container",
|
8976
|
-
"default": "-",
|
8977
|
-
"description": "容器对应的 HTML 节点",
|
8978
|
-
"options": [],
|
8979
|
-
"value": {
|
8980
|
-
"type": "Element",
|
8981
|
-
"kind": "expression"
|
8982
|
-
}
|
8983
|
-
}
|
8984
|
-
]
|
8985
|
-
},
|
8986
8964
|
{
|
8987
8965
|
"name": "van-steps",
|
8988
8966
|
"slots": [],
|
@@ -9078,6 +9056,10 @@
|
|
9078
9056
|
{
|
9079
9057
|
"name": "van-step",
|
9080
9058
|
"slots": [
|
9059
|
+
{
|
9060
|
+
"name": "default",
|
9061
|
+
"description": "步骤内容"
|
9062
|
+
},
|
9081
9063
|
{
|
9082
9064
|
"name": "active-icon",
|
9083
9065
|
"description": "自定义激活状态图标"
|
@@ -9094,6 +9076,72 @@
|
|
9094
9076
|
"events": [],
|
9095
9077
|
"attributes": []
|
9096
9078
|
},
|
9079
|
+
{
|
9080
|
+
"name": "van-sticky",
|
9081
|
+
"slots": [],
|
9082
|
+
"events": [
|
9083
|
+
{
|
9084
|
+
"name": "change",
|
9085
|
+
"description": "当吸顶状态改变时触发"
|
9086
|
+
},
|
9087
|
+
{
|
9088
|
+
"name": "scroll",
|
9089
|
+
"description": "滚动时触发"
|
9090
|
+
}
|
9091
|
+
],
|
9092
|
+
"attributes": [
|
9093
|
+
{
|
9094
|
+
"name": "position",
|
9095
|
+
"default": "`top`",
|
9096
|
+
"description": "吸附位置,可选值为 `bottom`",
|
9097
|
+
"options": [],
|
9098
|
+
"value": {
|
9099
|
+
"type": "string",
|
9100
|
+
"kind": "expression"
|
9101
|
+
}
|
9102
|
+
},
|
9103
|
+
{
|
9104
|
+
"name": "offset-top",
|
9105
|
+
"default": "`0`",
|
9106
|
+
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
9107
|
+
"options": [],
|
9108
|
+
"value": {
|
9109
|
+
"type": "number | string",
|
9110
|
+
"kind": "expression"
|
9111
|
+
}
|
9112
|
+
},
|
9113
|
+
{
|
9114
|
+
"name": "offset-bottom",
|
9115
|
+
"default": "`0`",
|
9116
|
+
"description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
9117
|
+
"options": [],
|
9118
|
+
"value": {
|
9119
|
+
"type": "number | string",
|
9120
|
+
"kind": "expression"
|
9121
|
+
}
|
9122
|
+
},
|
9123
|
+
{
|
9124
|
+
"name": "z-index",
|
9125
|
+
"default": "`99`",
|
9126
|
+
"description": "吸顶时的 z-index",
|
9127
|
+
"options": [],
|
9128
|
+
"value": {
|
9129
|
+
"type": "number | string",
|
9130
|
+
"kind": "expression"
|
9131
|
+
}
|
9132
|
+
},
|
9133
|
+
{
|
9134
|
+
"name": "container",
|
9135
|
+
"default": "-",
|
9136
|
+
"description": "容器对应的 HTML 节点",
|
9137
|
+
"options": [],
|
9138
|
+
"value": {
|
9139
|
+
"type": "Element",
|
9140
|
+
"kind": "expression"
|
9141
|
+
}
|
9142
|
+
}
|
9143
|
+
]
|
9144
|
+
},
|
9097
9145
|
{
|
9098
9146
|
"name": "van-submit-bar",
|
9099
9147
|
"slots": [
|
@@ -9742,7 +9790,7 @@
|
|
9742
9790
|
{
|
9743
9791
|
"name": "sticky",
|
9744
9792
|
"default": "`false`",
|
9745
|
-
"description": "
|
9793
|
+
"description": "是否使用粘性布局",
|
9746
9794
|
"options": [],
|
9747
9795
|
"value": {
|
9748
9796
|
"type": "boolean",
|
@@ -9782,7 +9830,7 @@
|
|
9782
9830
|
{
|
9783
9831
|
"name": "offset-top",
|
9784
9832
|
"default": "`0`",
|
9785
|
-
"description": "
|
9833
|
+
"description": "粘性布局下吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
9786
9834
|
"options": [],
|
9787
9835
|
"value": {
|
9788
9836
|
"type": "number | string",
|
@@ -10573,7 +10621,7 @@
|
|
10573
10621
|
"default": "(file: File) => boolean_",
|
10574
10622
|
"description": "文件大小限制,单位为 `byte`",
|
10575
10623
|
"options": [
|
10576
|
-
"
|
10624
|
+
"Infinity"
|
10577
10625
|
],
|
10578
10626
|
"value": {
|
10579
10627
|
"type": "number | string \\",
|
@@ -10582,7 +10630,7 @@
|
|
10582
10630
|
},
|
10583
10631
|
{
|
10584
10632
|
"name": "max-count",
|
10585
|
-
"default": "
|
10633
|
+
"default": "`Infinity`",
|
10586
10634
|
"description": "文件上传数量限制",
|
10587
10635
|
"options": [],
|
10588
10636
|
"value": {
|