vant 3.2.4 → 3.2.8
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 +8 -0
- package/es/action-bar/ActionBar.js +8 -6
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.d.ts +1 -0
- package/es/action-bar/index.less +1 -1
- package/es/action-bar/var.less +1 -1
- package/es/action-bar-button/ActionBarButton.d.ts +14 -1
- package/es/action-bar-button/ActionBarButton.js +13 -11
- package/es/action-bar-button/index.d.ts +1 -0
- package/es/action-bar-icon/ActionBarIcon.d.ts +15 -0
- package/es/action-bar-icon/ActionBarIcon.js +17 -15
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +1 -0
- package/es/action-bar-icon/index.less +1 -1
- package/es/action-bar-icon/var.less +1 -1
- package/es/action-sheet/ActionSheet.d.ts +76 -13
- package/es/action-sheet/ActionSheet.js +25 -33
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +18 -11
- package/es/action-sheet/index.less +2 -7
- package/es/action-sheet/var.less +4 -5
- package/es/address-edit/AddressEdit.d.ts +16 -18
- package/es/address-edit/AddressEdit.js +17 -32
- package/es/address-edit/AddressEditDetail.js +12 -12
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +8 -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 +25 -6
- package/es/address-list/AddressList.js +19 -26
- package/es/address-list/AddressListItem.d.ts +4 -4
- package/es/address-list/AddressListItem.js +9 -10
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +9 -8
- package/es/address-list/index.less +2 -2
- package/es/address-list/var.less +2 -2
- package/es/area/Area.d.ts +45 -46
- package/es/area/Area.js +24 -21
- package/es/area/index.d.ts +28 -29
- package/es/badge/Badge.d.ts +23 -7
- package/es/badge/Badge.js +18 -18
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +9 -8
- package/es/badge/index.less +5 -3
- package/es/button/Button.d.ts +59 -19
- package/es/button/Button.js +30 -42
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +32 -31
- package/es/button/types.d.ts +5 -0
- package/es/button/types.js +1 -0
- package/es/button/var.less +1 -1
- package/es/calendar/Calendar.d.ts +48 -49
- package/es/calendar/Calendar.js +53 -45
- package/es/calendar/CalendarDay.d.ts +7 -7
- package/es/calendar/CalendarDay.js +9 -14
- package/es/calendar/CalendarHeader.js +6 -4
- package/es/calendar/CalendarMonth.d.ts +20 -20
- package/es/calendar/CalendarMonth.js +15 -23
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +29 -30
- package/es/calendar/index.less +3 -3
- package/es/calendar/types.d.ts +1 -1
- package/es/calendar/utils.d.ts +2 -2
- package/es/calendar/utils.js +1 -3
- package/es/calendar/var.less +2 -2
- package/es/card/Card.d.ts +21 -3
- package/es/card/Card.js +21 -21
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +5 -4
- package/es/card/index.less +1 -1
- package/es/card/var.less +3 -3
- package/es/cascader/Cascader.d.ts +33 -22
- package/es/cascader/Cascader.js +79 -72
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +19 -18
- package/es/cascader/index.less +0 -5
- package/es/cascader/types.d.ts +18 -0
- package/es/cascader/types.js +1 -0
- package/es/cascader/var.less +2 -3
- package/es/cell/Cell.d.ts +35 -5
- package/es/cell/Cell.js +12 -17
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +3 -3
- package/es/cell/index.less +1 -1
- package/es/cell/var.less +3 -3
- package/es/cell-group/CellGroup.d.ts +10 -0
- package/es/cell-group/CellGroup.js +12 -9
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.d.ts +1 -0
- package/es/cell-group/index.less +1 -1
- package/es/cell-group/var.less +2 -2
- package/es/checkbox/Checkbox.d.ts +11 -11
- package/es/checkbox/Checkbox.js +12 -7
- package/es/checkbox/Checker.d.ts +14 -14
- package/es/checkbox/Checker.js +12 -24
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +7 -8
- package/es/checkbox/types.d.ts +3 -0
- package/es/checkbox/var.less +1 -1
- package/es/checkbox-group/CheckboxGroup.d.ts +8 -8
- package/es/checkbox-group/CheckboxGroup.js +17 -15
- package/es/checkbox-group/index.d.ts +6 -7
- package/es/checkbox-group/types.d.ts +2 -1
- package/es/circle/Circle.d.ts +50 -14
- package/es/circle/Circle.js +22 -40
- package/es/circle/index.d.ts +23 -23
- package/es/col/Col.d.ts +17 -5
- package/es/col/Col.js +11 -15
- package/es/col/index.d.ts +4 -3
- package/es/collapse/Collapse.d.ts +13 -1
- package/es/collapse/Collapse.js +14 -12
- package/es/collapse/index.d.ts +1 -0
- package/es/collapse-item/CollapseItem.d.ts +5 -5
- package/es/collapse-item/CollapseItem.js +15 -10
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +3 -4
- package/es/collapse-item/index.less +1 -1
- package/es/collapse-item/var.less +3 -3
- 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 +14 -5
- package/es/config-provider/ConfigProvider.js +11 -12
- package/es/config-provider/index.d.ts +6 -5
- package/es/contact-card/ContactCard.d.ts +19 -5
- package/es/contact-card/ContactCard.js +14 -14
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.d.ts +6 -6
- package/es/contact-card/index.less +2 -2
- package/es/contact-edit/ContactEdit.d.ts +17 -1
- package/es/contact-edit/ContactEdit.js +21 -22
- package/es/contact-edit/index.d.ts +1 -1
- package/es/contact-edit/style/index.js +0 -5
- package/es/contact-edit/style/less.js +0 -5
- package/es/contact-list/ContactList.d.ts +8 -1
- package/es/contact-list/ContactList.js +12 -9
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.d.ts +1 -1
- package/es/contact-list/index.less +1 -1
- package/es/count-down/CountDown.d.ts +15 -15
- package/es/count-down/CountDown.js +11 -16
- package/es/count-down/index.d.ts +11 -12
- package/es/coupon/Coupon.d.ts +3 -3
- package/es/coupon/Coupon.js +4 -23
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.d.ts +3 -3
- package/es/coupon/index.less +3 -2
- package/es/coupon/utils.d.ts +3 -0
- package/es/coupon/utils.js +7 -0
- package/es/coupon/var.less +3 -2
- package/es/coupon-cell/CouponCell.d.ts +27 -3
- package/es/coupon-cell/CouponCell.js +18 -22
- package/es/coupon-cell/index.d.ts +2 -1
- package/es/coupon-list/CouponList.d.ts +89 -35
- package/es/coupon-list/CouponList.js +28 -50
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +44 -43
- package/es/coupon-list/index.less +4 -4
- package/es/coupon-list/var.less +1 -1
- package/es/datetime-picker/DatePicker.d.ts +23 -25
- package/es/datetime-picker/DatePicker.js +15 -15
- package/es/datetime-picker/DatetimePicker.d.ts +3 -12
- package/es/datetime-picker/DatetimePicker.js +10 -9
- package/es/datetime-picker/TimePicker.d.ts +16 -16
- package/es/datetime-picker/TimePicker.js +19 -28
- package/es/datetime-picker/index.d.ts +1 -10
- package/es/datetime-picker/utils.d.ts +9 -9
- package/es/datetime-picker/utils.js +4 -6
- package/es/dialog/Dialog.d.ts +59 -5
- package/es/dialog/Dialog.js +32 -38
- package/es/dialog/function-call.d.ts +8 -8
- package/es/dialog/function-call.js +2 -2
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +1 -0
- package/es/dialog/index.less +1 -1
- package/es/dialog/var.less +1 -1
- package/es/divider/Divider.d.ts +15 -3
- package/es/divider/Divider.js +11 -12
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +2 -2
- package/es/divider/var.less +1 -1
- package/es/dropdown-item/DropdownItem.d.ts +10 -10
- package/es/dropdown-item/DropdownItem.js +20 -14
- package/es/dropdown-item/index.d.ts +5 -5
- package/es/dropdown-menu/DropdownMenu.d.ts +21 -21
- package/es/dropdown-menu/DropdownMenu.js +15 -18
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +10 -10
- package/es/dropdown-menu/index.less +1 -9
- package/es/dropdown-menu/var.less +2 -2
- package/es/empty/Empty.d.ts +13 -3
- package/es/empty/Empty.js +12 -12
- package/es/empty/Network.js +8 -27
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +5 -4
- package/es/empty/var.less +1 -1
- package/es/field/Field.d.ts +75 -75
- package/es/field/Field.js +62 -61
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +34 -34
- package/es/field/utils.d.ts +2 -2
- package/es/field/utils.js +9 -6
- package/es/field/var.less +3 -3
- package/es/form/Form.d.ts +13 -13
- package/es/form/Form.js +11 -13
- package/es/form/index.d.ts +7 -7
- package/es/grid/Grid.d.ts +3 -2
- package/es/grid/Grid.js +10 -12
- package/es/grid/index.d.ts +1 -1
- package/es/grid-item/GridItem.d.ts +16 -2
- package/es/grid-item/GridItem.js +17 -15
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +3 -2
- package/es/grid-item/index.less +1 -1
- package/es/grid-item/var.less +1 -1
- package/es/icon/Icon.d.ts +18 -5
- package/es/icon/Icon.js +16 -19
- package/es/icon/index.d.ts +6 -5
- package/es/image/Image.d.ts +39 -10
- package/es/image/Image.js +40 -53
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +12 -12
- package/es/image/index.less +1 -1
- package/es/image/var.less +1 -1
- package/es/image-preview/ImagePreview.d.ts +54 -54
- package/es/image-preview/ImagePreview.js +23 -44
- package/es/image-preview/ImagePreviewItem.js +10 -23
- package/es/image-preview/function-call.d.ts +31 -31
- package/es/image-preview/function-call.js +7 -3
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.less +1 -6
- package/es/image-preview/var.less +0 -1
- package/es/index-anchor/IndexAnchor.d.ts +5 -0
- package/es/index-anchor/IndexAnchor.js +10 -8
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.d.ts +1 -0
- package/es/index-anchor/index.less +2 -2
- package/es/index-anchor/var.less +1 -1
- package/es/index-bar/IndexBar.d.ts +2 -2
- package/es/index-bar/IndexBar.js +11 -24
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/list/List.d.ts +20 -20
- package/es/list/List.js +11 -16
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +10 -10
- package/es/list/var.less +1 -1
- package/es/loading/Loading.d.ts +17 -5
- package/es/loading/Loading.js +14 -15
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +6 -6
- package/es/loading/var.less +1 -1
- package/es/locale/index.js +5 -1
- 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.d.ts +16 -0
- package/es/nav-bar/NavBar.js +20 -18
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +1 -0
- package/es/nav-bar/index.less +1 -5
- package/es/nav-bar/var.less +1 -1
- package/es/notice-bar/NoticeBar.d.ts +19 -19
- package/es/notice-bar/NoticeBar.js +10 -15
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +12 -12
- package/es/notice-bar/index.less +1 -1
- package/es/notify/Notify.d.ts +51 -12
- package/es/notify/Notify.js +21 -16
- package/es/notify/function-call.d.ts +9 -7
- package/es/notify/function-call.js +18 -22
- package/es/notify/index.css +1 -1
- package/es/notify/index.d.ts +1 -0
- package/es/notify/index.less +4 -4
- package/es/number-keyboard/NumberKeyboard.d.ts +58 -11
- package/es/number-keyboard/NumberKeyboard.js +30 -37
- package/es/number-keyboard/NumberKeyboardKey.js +7 -6
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +16 -16
- package/es/number-keyboard/index.less +3 -7
- package/es/number-keyboard/var.less +1 -1
- package/es/overlay/Overlay.d.ts +13 -1
- package/es/overlay/Overlay.js +18 -15
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +1 -0
- package/es/overlay/index.less +1 -1
- package/es/pagination/Pagination.d.ts +46 -16
- package/es/pagination/Pagination.js +24 -42
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +19 -19
- package/es/pagination/index.less +1 -1
- package/es/pagination/var.less +1 -1
- package/es/password-input/PasswordInput.d.ts +24 -4
- package/es/password-input/PasswordInput.js +16 -19
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +7 -6
- package/es/password-input/index.less +3 -3
- package/es/password-input/var.less +3 -3
- package/es/picker/Picker.d.ts +63 -24
- package/es/picker/Picker.js +24 -39
- package/es/picker/PickerColumn.d.ts +15 -16
- package/es/picker/PickerColumn.js +30 -53
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +22 -22
- package/es/picker/index.less +4 -12
- package/es/picker/types.d.ts +2 -2
- package/es/picker/var.less +9 -3
- package/es/popover/Popover.d.ts +69 -30
- package/es/popover/Popover.js +37 -50
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +35 -34
- package/es/popover/index.less +2 -2
- package/es/popover/types.d.ts +11 -0
- package/es/popover/types.js +1 -0
- package/es/popover/var.less +3 -3
- package/es/popup/Popup.d.ts +64 -18
- package/es/popup/Popup.js +22 -31
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +16 -16
- package/es/popup/index.less +1 -6
- package/es/popup/shared.js +3 -3
- package/es/popup/var.less +1 -2
- package/es/progress/Progress.d.ts +2 -2
- package/es/progress/Progress.js +14 -10
- package/es/progress/index.css +1 -1
- package/es/progress/index.less +10 -1
- package/es/progress/var.less +1 -0
- package/es/pull-refresh/PullRefresh.d.ts +29 -9
- package/es/pull-refresh/PullRefresh.js +21 -31
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +10 -12
- package/es/pull-refresh/var.less +1 -1
- package/es/radio/Radio.d.ts +14 -9
- package/es/radio/Radio.js +5 -4
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +6 -5
- package/es/radio/var.less +1 -1
- package/es/radio-group/RadioGroup.d.ts +4 -2
- package/es/radio-group/RadioGroup.js +9 -8
- package/es/radio-group/index.d.ts +1 -0
- package/es/rate/Rate.d.ts +47 -14
- package/es/rate/Rate.js +24 -34
- package/es/rate/index.d.ts +22 -21
- package/es/row/Row.d.ts +22 -5
- package/es/row/Row.js +13 -17
- package/es/row/index.d.ts +8 -8
- package/es/search/Search.d.ts +64 -64
- package/es/search/Search.js +15 -21
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +35 -35
- package/es/search/index.less +2 -2
- package/es/search/var.less +1 -1
- package/es/share-sheet/ShareSheet.d.ts +64 -10
- package/es/share-sheet/ShareSheet.js +22 -23
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.d.ts +15 -8
- package/es/share-sheet/index.less +0 -4
- package/es/share-sheet/var.less +3 -3
- package/es/sidebar/Sidebar.d.ts +8 -1
- package/es/sidebar/Sidebar.js +10 -11
- package/es/sidebar/index.d.ts +1 -0
- package/es/sidebar-item/SidebarItem.d.ts +12 -0
- package/es/sidebar-item/SidebarItem.js +13 -11
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.d.ts +1 -0
- package/es/sidebar-item/index.less +1 -1
- package/es/sidebar-item/var.less +2 -2
- package/es/skeleton/Skeleton.d.ts +36 -7
- package/es/skeleton/Skeleton.js +22 -25
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +10 -9
- package/es/skeleton/index.less +2 -2
- package/es/slider/Slider.d.ts +37 -9
- package/es/slider/Slider.js +37 -44
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +17 -16
- package/es/slider/index.less +3 -3
- package/es/step/Step.js +4 -3
- package/es/step/index.css +1 -1
- package/es/step/index.less +1 -1
- package/es/step/var.less +1 -1
- package/es/stepper/Stepper.d.ts +64 -12
- package/es/stepper/Stepper.js +47 -58
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +26 -27
- package/es/stepper/index.less +6 -21
- package/es/stepper/var.less +1 -2
- package/es/steps/Steps.d.ts +23 -22
- package/es/steps/Steps.js +12 -20
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +11 -10
- package/es/steps/var.less +1 -1
- package/es/sticky/Sticky.d.ts +21 -4
- package/es/sticky/Sticky.js +14 -21
- package/es/sticky/index.d.ts +6 -6
- package/es/style/base.css +1 -1
- package/es/style/base.less +4 -0
- package/es/style/css-variables.css +1 -1
- package/es/style/css-variables.less +3 -1
- package/es/style/mixins/hairline.less +3 -3
- package/es/style/var.less +5 -3
- package/es/submit-bar/SubmitBar.d.ts +43 -13
- package/es/submit-bar/SubmitBar.js +24 -30
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +17 -16
- package/es/submit-bar/index.less +2 -2
- package/es/submit-bar/var.less +3 -3
- package/es/swipe/Swipe.d.ts +32 -32
- package/es/swipe/Swipe.js +36 -30
- package/es/swipe/index.d.ts +18 -18
- package/es/swipe-cell/SwipeCell.d.ts +9 -9
- package/es/swipe-cell/SwipeCell.js +18 -17
- package/es/swipe-cell/index.d.ts +5 -5
- package/es/swipe-item/SwipeItem.js +4 -3
- package/es/switch/Switch.d.ts +18 -0
- package/es/switch/Switch.js +23 -20
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +1 -0
- package/es/switch/index.less +3 -3
- package/es/switch/var.less +1 -1
- package/es/tab/Tab.d.ts +19 -1
- package/es/tab/Tab.js +17 -15
- package/es/tab/index.d.ts +1 -0
- package/es/tabbar/Tabbar.d.ts +5 -4
- package/es/tabbar/Tabbar.js +11 -14
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.d.ts +3 -2
- package/es/tabbar/index.less +1 -1
- package/es/tabbar/var.less +1 -1
- package/es/tabbar-item/TabbarItem.d.ts +13 -0
- package/es/tabbar-item/TabbarItem.js +17 -15
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +1 -0
- package/es/tabbar-item/var.less +1 -1
- package/es/tabs/Tabs.d.ts +40 -40
- package/es/tabs/Tabs.js +40 -45
- package/es/tabs/TabsContent.d.ts +7 -7
- package/es/tabs/TabsContent.js +9 -17
- package/es/tabs/TabsTitle.js +2 -2
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +23 -23
- package/es/tabs/index.less +2 -2
- package/es/tabs/var.less +2 -2
- package/es/tag/Tag.d.ts +25 -6
- package/es/tag/Tag.js +19 -19
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +8 -7
- package/es/tag/index.less +6 -6
- package/es/tag/var.less +1 -1
- package/es/toast/Toast.d.ts +43 -11
- package/es/toast/Toast.js +29 -45
- package/es/toast/function-call.js +10 -2
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +1 -0
- package/es/toast/index.less +1 -1
- package/es/tree-select/TreeSelect.d.ts +35 -8
- package/es/tree-select/TreeSelect.js +19 -31
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +11 -11
- package/es/tree-select/index.less +2 -2
- package/es/tree-select/var.less +1 -1
- package/es/uploader/Uploader.d.ts +66 -66
- package/es/uploader/Uploader.js +27 -41
- package/es/uploader/UploaderPreviewItem.d.ts +6 -6
- package/es/uploader/UploaderPreviewItem.js +14 -16
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +45 -45
- package/es/uploader/index.less +4 -4
- package/es/uploader/utils.d.ts +3 -3
- package/es/uploader/utils.js +2 -10
- package/es/uploader/var.less +1 -1
- package/{lib/utils/base.d.ts → es/utils/basic.d.ts} +1 -6
- package/es/utils/{base.js → basic.js} +1 -7
- package/es/utils/constant.d.ts +1 -0
- package/es/utils/constant.js +1 -0
- package/{lib/utils/create/bem.d.ts → es/utils/create.d.ts} +7 -4
- package/es/utils/create.js +58 -0
- package/es/utils/deep-assign.d.ts +1 -1
- package/es/utils/deep-assign.js +1 -1
- package/es/utils/deep-clone.js +2 -2
- package/{lib/utils/dom/scroll.d.ts → es/utils/dom.d.ts} +4 -2
- package/es/utils/{dom/scroll.js → dom.js} +31 -22
- package/es/utils/format.d.ts +12 -0
- package/es/utils/format.js +139 -0
- package/es/utils/index.d.ts +4 -7
- package/es/utils/index.js +5 -8
- package/es/utils/interceptor.d.ts +3 -4
- package/es/utils/interceptor.js +6 -6
- 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 +8 -0
- package/lib/action-bar/ActionBar.js +8 -6
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.d.ts +1 -0
- package/lib/action-bar/index.less +1 -1
- package/lib/action-bar/var.less +1 -1
- package/lib/action-bar-button/ActionBarButton.d.ts +14 -1
- package/lib/action-bar-button/ActionBarButton.js +13 -11
- package/lib/action-bar-button/index.d.ts +1 -0
- package/lib/action-bar-icon/ActionBarIcon.d.ts +15 -0
- package/lib/action-bar-icon/ActionBarIcon.js +16 -14
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +1 -0
- package/lib/action-bar-icon/index.less +1 -1
- package/lib/action-bar-icon/var.less +1 -1
- package/lib/action-sheet/ActionSheet.d.ts +76 -13
- package/lib/action-sheet/ActionSheet.js +24 -32
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +18 -11
- package/lib/action-sheet/index.less +2 -7
- package/lib/action-sheet/var.less +4 -5
- package/lib/address-edit/AddressEdit.d.ts +16 -18
- package/lib/address-edit/AddressEdit.js +16 -32
- package/lib/address-edit/AddressEditDetail.js +10 -10
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +8 -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 +25 -6
- package/lib/address-list/AddressList.js +18 -25
- package/lib/address-list/AddressListItem.d.ts +4 -4
- package/lib/address-list/AddressListItem.js +8 -9
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +9 -8
- package/lib/address-list/index.less +2 -2
- package/lib/address-list/var.less +2 -2
- package/lib/area/Area.d.ts +45 -46
- package/lib/area/Area.js +22 -19
- package/lib/area/index.d.ts +28 -29
- package/lib/badge/Badge.d.ts +23 -7
- package/lib/badge/Badge.js +16 -16
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +9 -8
- package/lib/badge/index.less +5 -3
- package/lib/button/Button.d.ts +59 -19
- package/lib/button/Button.js +27 -40
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +32 -31
- package/lib/button/types.d.ts +5 -0
- package/lib/button/types.js +3 -0
- package/lib/button/var.less +1 -1
- package/lib/calendar/Calendar.d.ts +48 -49
- package/lib/calendar/Calendar.js +52 -44
- package/lib/calendar/CalendarDay.d.ts +7 -7
- package/lib/calendar/CalendarDay.js +8 -13
- package/lib/calendar/CalendarHeader.js +6 -4
- package/lib/calendar/CalendarMonth.d.ts +20 -20
- package/lib/calendar/CalendarMonth.js +13 -21
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +29 -30
- package/lib/calendar/index.less +3 -3
- package/lib/calendar/types.d.ts +1 -1
- package/lib/calendar/utils.d.ts +2 -2
- package/lib/calendar/utils.js +9 -7
- package/lib/calendar/var.less +2 -2
- package/lib/card/Card.d.ts +21 -3
- package/lib/card/Card.js +20 -20
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +5 -4
- package/lib/card/index.less +1 -1
- package/lib/card/var.less +3 -3
- package/lib/cascader/Cascader.d.ts +33 -22
- package/lib/cascader/Cascader.js +77 -70
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +19 -18
- package/lib/cascader/index.less +0 -5
- package/lib/cascader/types.d.ts +18 -0
- package/lib/cascader/types.js +3 -0
- package/lib/cascader/var.less +2 -3
- package/lib/cell/Cell.d.ts +35 -5
- package/lib/cell/Cell.js +13 -18
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +3 -3
- package/lib/cell/index.less +1 -1
- package/lib/cell/var.less +3 -3
- package/lib/cell-group/CellGroup.d.ts +10 -0
- package/lib/cell-group/CellGroup.js +13 -10
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.d.ts +1 -0
- package/lib/cell-group/index.less +1 -1
- package/lib/cell-group/var.less +2 -2
- package/lib/checkbox/Checkbox.d.ts +11 -11
- package/lib/checkbox/Checkbox.js +12 -7
- package/lib/checkbox/Checker.d.ts +14 -14
- package/lib/checkbox/Checker.js +11 -23
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +7 -8
- package/lib/checkbox/types.d.ts +3 -0
- package/lib/checkbox/var.less +1 -1
- package/lib/checkbox-group/CheckboxGroup.d.ts +8 -8
- package/lib/checkbox-group/CheckboxGroup.js +16 -14
- package/lib/checkbox-group/index.d.ts +6 -7
- package/lib/checkbox-group/types.d.ts +2 -1
- package/lib/circle/Circle.d.ts +50 -14
- package/lib/circle/Circle.js +22 -39
- package/lib/circle/index.d.ts +23 -23
- package/lib/col/Col.d.ts +17 -5
- package/lib/col/Col.js +10 -14
- package/lib/col/index.d.ts +4 -3
- package/lib/collapse/Collapse.d.ts +13 -1
- package/lib/collapse/Collapse.js +14 -12
- package/lib/collapse/index.d.ts +1 -0
- package/lib/collapse-item/CollapseItem.d.ts +5 -5
- package/lib/collapse-item/CollapseItem.js +13 -8
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +3 -4
- package/lib/collapse-item/index.less +1 -1
- package/lib/collapse-item/var.less +3 -3
- 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 +14 -5
- package/lib/config-provider/ConfigProvider.js +11 -12
- package/lib/config-provider/index.d.ts +6 -5
- package/lib/contact-card/ContactCard.d.ts +19 -5
- package/lib/contact-card/ContactCard.js +13 -13
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.d.ts +6 -6
- package/lib/contact-card/index.less +2 -2
- package/lib/contact-edit/ContactEdit.d.ts +17 -1
- package/lib/contact-edit/ContactEdit.js +21 -23
- package/lib/contact-edit/index.d.ts +1 -1
- package/lib/contact-edit/style/index.js +0 -10
- package/lib/contact-edit/style/less.js +0 -10
- package/lib/contact-list/ContactList.d.ts +8 -1
- package/lib/contact-list/ContactList.js +12 -9
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.d.ts +1 -1
- package/lib/contact-list/index.less +1 -1
- package/lib/count-down/CountDown.d.ts +15 -15
- package/lib/count-down/CountDown.js +10 -15
- package/lib/count-down/index.d.ts +11 -12
- package/lib/coupon/Coupon.d.ts +3 -3
- package/lib/coupon/Coupon.js +8 -25
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.d.ts +3 -3
- package/lib/coupon/index.less +3 -2
- package/lib/coupon/utils.d.ts +3 -0
- package/lib/coupon/utils.js +20 -0
- package/lib/coupon/var.less +3 -2
- package/lib/coupon-cell/CouponCell.d.ts +27 -3
- package/lib/coupon-cell/CouponCell.js +16 -20
- package/lib/coupon-cell/index.d.ts +2 -1
- package/lib/coupon-list/CouponList.d.ts +89 -35
- package/lib/coupon-list/CouponList.js +27 -49
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +44 -43
- package/lib/coupon-list/index.less +4 -4
- package/lib/coupon-list/var.less +1 -1
- package/lib/datetime-picker/DatePicker.d.ts +23 -25
- package/lib/datetime-picker/DatePicker.js +13 -13
- package/lib/datetime-picker/DatetimePicker.d.ts +3 -12
- package/lib/datetime-picker/DatetimePicker.js +10 -9
- package/lib/datetime-picker/TimePicker.d.ts +16 -16
- package/lib/datetime-picker/TimePicker.js +17 -26
- package/lib/datetime-picker/index.d.ts +1 -10
- package/lib/datetime-picker/utils.d.ts +9 -9
- package/lib/datetime-picker/utils.js +9 -9
- package/lib/dialog/Dialog.d.ts +59 -5
- package/lib/dialog/Dialog.js +31 -37
- package/lib/dialog/function-call.d.ts +8 -8
- package/lib/dialog/function-call.js +2 -2
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +1 -0
- package/lib/dialog/index.less +1 -1
- package/lib/dialog/var.less +1 -1
- package/lib/divider/Divider.d.ts +15 -3
- package/lib/divider/Divider.js +11 -12
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +2 -2
- package/lib/divider/var.less +1 -1
- package/lib/dropdown-item/DropdownItem.d.ts +10 -10
- package/lib/dropdown-item/DropdownItem.js +19 -13
- package/lib/dropdown-item/index.d.ts +5 -5
- package/lib/dropdown-menu/DropdownMenu.d.ts +21 -21
- package/lib/dropdown-menu/DropdownMenu.js +14 -17
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +10 -10
- package/lib/dropdown-menu/index.less +1 -9
- package/lib/dropdown-menu/var.less +2 -2
- package/lib/empty/Empty.d.ts +13 -3
- package/lib/empty/Empty.js +12 -12
- package/lib/empty/Network.js +8 -27
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +5 -4
- package/lib/empty/var.less +1 -1
- package/lib/field/Field.d.ts +75 -75
- package/lib/field/Field.js +61 -60
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +34 -34
- package/lib/field/utils.d.ts +2 -2
- package/lib/field/utils.js +13 -10
- package/lib/field/var.less +3 -3
- package/lib/form/Form.d.ts +13 -13
- package/lib/form/Form.js +10 -12
- package/lib/form/index.d.ts +7 -7
- package/lib/grid/Grid.d.ts +3 -2
- package/lib/grid/Grid.js +9 -11
- package/lib/grid/index.d.ts +1 -1
- package/lib/grid-item/GridItem.d.ts +16 -2
- package/lib/grid-item/GridItem.js +15 -13
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +3 -2
- package/lib/grid-item/index.less +1 -1
- package/lib/grid-item/var.less +1 -1
- package/lib/icon/Icon.d.ts +18 -5
- package/lib/icon/Icon.js +16 -18
- package/lib/icon/index.d.ts +6 -5
- package/lib/image/Image.d.ts +39 -10
- package/lib/image/Image.js +39 -52
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +12 -12
- package/lib/image/index.less +1 -1
- package/lib/image/var.less +1 -1
- package/lib/image-preview/ImagePreview.d.ts +54 -54
- package/lib/image-preview/ImagePreview.js +21 -42
- package/lib/image-preview/ImagePreviewItem.js +9 -22
- package/lib/image-preview/function-call.d.ts +31 -31
- package/lib/image-preview/function-call.js +7 -3
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.less +1 -6
- package/lib/image-preview/var.less +0 -1
- package/lib/index-anchor/IndexAnchor.d.ts +5 -0
- package/lib/index-anchor/IndexAnchor.js +11 -9
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.d.ts +1 -0
- package/lib/index-anchor/index.less +2 -2
- package/lib/index-anchor/var.less +1 -1
- package/lib/index-bar/IndexBar.d.ts +2 -2
- package/lib/index-bar/IndexBar.js +10 -23
- 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 +20 -20
- package/lib/list/List.js +10 -15
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +10 -10
- package/lib/list/var.less +1 -1
- package/lib/loading/Loading.d.ts +17 -5
- package/lib/loading/Loading.js +13 -14
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +6 -6
- package/lib/loading/var.less +1 -1
- package/lib/locale/index.js +5 -1
- 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.d.ts +16 -0
- package/lib/nav-bar/NavBar.js +19 -17
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +1 -0
- package/lib/nav-bar/index.less +1 -5
- package/lib/nav-bar/var.less +1 -1
- package/lib/notice-bar/NoticeBar.d.ts +19 -19
- package/lib/notice-bar/NoticeBar.js +9 -14
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +12 -12
- package/lib/notice-bar/index.less +1 -1
- package/lib/notify/Notify.d.ts +51 -12
- package/lib/notify/Notify.js +21 -16
- package/lib/notify/function-call.d.ts +9 -7
- package/lib/notify/function-call.js +18 -22
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.d.ts +1 -0
- package/lib/notify/index.less +4 -4
- package/lib/number-keyboard/NumberKeyboard.d.ts +58 -11
- package/lib/number-keyboard/NumberKeyboard.js +29 -36
- package/lib/number-keyboard/NumberKeyboardKey.js +6 -5
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +16 -16
- package/lib/number-keyboard/index.less +3 -7
- package/lib/number-keyboard/var.less +1 -1
- package/lib/overlay/Overlay.d.ts +13 -1
- package/lib/overlay/Overlay.js +17 -14
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +1 -0
- package/lib/overlay/index.less +1 -1
- package/lib/pagination/Pagination.d.ts +46 -16
- package/lib/pagination/Pagination.js +23 -40
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +19 -19
- package/lib/pagination/index.less +1 -1
- package/lib/pagination/var.less +1 -1
- package/lib/password-input/PasswordInput.d.ts +24 -4
- package/lib/password-input/PasswordInput.js +15 -18
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +7 -6
- package/lib/password-input/index.less +3 -3
- package/lib/password-input/var.less +3 -3
- package/lib/picker/Picker.d.ts +63 -24
- package/lib/picker/Picker.js +25 -40
- package/lib/picker/PickerColumn.d.ts +15 -16
- package/lib/picker/PickerColumn.js +29 -52
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +22 -22
- package/lib/picker/index.less +4 -12
- package/lib/picker/types.d.ts +2 -2
- package/lib/picker/var.less +9 -3
- package/lib/popover/Popover.d.ts +69 -30
- package/lib/popover/Popover.js +34 -48
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +35 -34
- package/lib/popover/index.less +2 -2
- package/lib/popover/types.d.ts +11 -0
- package/lib/popover/types.js +3 -0
- package/lib/popover/var.less +3 -3
- package/lib/popup/Popup.d.ts +64 -18
- package/lib/popup/Popup.js +21 -30
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +16 -16
- package/lib/popup/index.less +1 -6
- package/lib/popup/shared.js +3 -3
- package/lib/popup/var.less +1 -2
- package/lib/progress/Progress.d.ts +2 -2
- package/lib/progress/Progress.js +13 -9
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.less +10 -1
- package/lib/progress/var.less +1 -0
- package/lib/pull-refresh/PullRefresh.d.ts +29 -9
- package/lib/pull-refresh/PullRefresh.js +19 -29
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +10 -12
- package/lib/pull-refresh/var.less +1 -1
- package/lib/radio/Radio.d.ts +14 -9
- package/lib/radio/Radio.js +5 -4
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +6 -5
- package/lib/radio/var.less +1 -1
- package/lib/radio-group/RadioGroup.d.ts +4 -2
- package/lib/radio-group/RadioGroup.js +8 -7
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/rate/Rate.d.ts +47 -14
- package/lib/rate/Rate.js +23 -32
- package/lib/rate/index.d.ts +22 -21
- package/lib/row/Row.d.ts +22 -5
- package/lib/row/Row.js +12 -16
- package/lib/row/index.d.ts +8 -8
- package/lib/search/Search.d.ts +64 -64
- package/lib/search/Search.js +14 -20
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +35 -35
- package/lib/search/index.less +2 -2
- package/lib/search/var.less +1 -1
- package/lib/share-sheet/ShareSheet.d.ts +64 -10
- package/lib/share-sheet/ShareSheet.js +21 -22
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.d.ts +15 -8
- package/lib/share-sheet/index.less +0 -4
- package/lib/share-sheet/var.less +3 -3
- package/lib/sidebar/Sidebar.d.ts +8 -1
- package/lib/sidebar/Sidebar.js +9 -10
- package/lib/sidebar/index.d.ts +1 -0
- package/lib/sidebar-item/SidebarItem.d.ts +12 -0
- package/lib/sidebar-item/SidebarItem.js +12 -10
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.d.ts +1 -0
- package/lib/sidebar-item/index.less +1 -1
- package/lib/sidebar-item/var.less +2 -2
- package/lib/skeleton/Skeleton.d.ts +36 -7
- package/lib/skeleton/Skeleton.js +22 -25
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +10 -9
- package/lib/skeleton/index.less +2 -2
- package/lib/slider/Slider.d.ts +37 -9
- package/lib/slider/Slider.js +36 -43
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +17 -16
- package/lib/slider/index.less +3 -3
- package/lib/step/Step.js +4 -3
- package/lib/step/index.css +1 -1
- package/lib/step/index.less +1 -1
- package/lib/step/var.less +1 -1
- package/lib/stepper/Stepper.d.ts +64 -12
- package/lib/stepper/Stepper.js +45 -55
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +26 -27
- package/lib/stepper/index.less +6 -21
- package/lib/stepper/var.less +1 -2
- package/lib/steps/Steps.d.ts +23 -22
- package/lib/steps/Steps.js +11 -19
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +11 -10
- package/lib/steps/var.less +1 -1
- package/lib/sticky/Sticky.d.ts +21 -4
- package/lib/sticky/Sticky.js +13 -20
- package/lib/sticky/index.d.ts +6 -6
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +4 -0
- package/lib/style/css-variables.css +1 -1
- package/lib/style/css-variables.less +3 -1
- package/lib/style/mixins/hairline.less +3 -3
- package/lib/style/var.less +5 -3
- package/lib/submit-bar/SubmitBar.d.ts +43 -13
- package/lib/submit-bar/SubmitBar.js +23 -29
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +17 -16
- package/lib/submit-bar/index.less +2 -2
- package/lib/submit-bar/var.less +3 -3
- package/lib/swipe/Swipe.d.ts +32 -32
- package/lib/swipe/Swipe.js +35 -29
- package/lib/swipe/index.d.ts +18 -18
- package/lib/swipe-cell/SwipeCell.d.ts +9 -9
- package/lib/swipe-cell/SwipeCell.js +17 -16
- package/lib/swipe-cell/index.d.ts +5 -5
- package/lib/swipe-item/SwipeItem.js +4 -3
- package/lib/switch/Switch.d.ts +18 -0
- package/lib/switch/Switch.js +22 -19
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/index.less +3 -3
- package/lib/switch/var.less +1 -1
- package/lib/tab/Tab.d.ts +19 -1
- package/lib/tab/Tab.js +16 -14
- package/lib/tab/index.d.ts +1 -0
- package/lib/tabbar/Tabbar.d.ts +5 -4
- package/lib/tabbar/Tabbar.js +10 -13
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.d.ts +3 -2
- package/lib/tabbar/index.less +1 -1
- package/lib/tabbar/var.less +1 -1
- package/lib/tabbar-item/TabbarItem.d.ts +13 -0
- package/lib/tabbar-item/TabbarItem.js +14 -12
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +1 -0
- package/lib/tabbar-item/var.less +1 -1
- package/lib/tabs/Tabs.d.ts +40 -40
- package/lib/tabs/Tabs.js +38 -43
- package/lib/tabs/TabsContent.d.ts +7 -7
- package/lib/tabs/TabsContent.js +8 -16
- package/lib/tabs/TabsTitle.js +1 -1
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +23 -23
- package/lib/tabs/index.less +2 -2
- package/lib/tabs/var.less +2 -2
- package/lib/tag/Tag.d.ts +25 -6
- package/lib/tag/Tag.js +18 -18
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +8 -7
- package/lib/tag/index.less +6 -6
- package/lib/tag/var.less +1 -1
- package/lib/toast/Toast.d.ts +43 -11
- package/lib/toast/Toast.js +28 -44
- package/lib/toast/function-call.js +10 -2
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +1 -0
- package/lib/toast/index.less +1 -1
- package/lib/tree-select/TreeSelect.d.ts +35 -8
- package/lib/tree-select/TreeSelect.js +18 -30
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +11 -11
- package/lib/tree-select/index.less +2 -2
- package/lib/tree-select/var.less +1 -1
- package/lib/uploader/Uploader.d.ts +66 -66
- package/lib/uploader/Uploader.js +26 -40
- package/lib/uploader/UploaderPreviewItem.d.ts +6 -6
- package/lib/uploader/UploaderPreviewItem.js +12 -14
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +45 -45
- package/lib/uploader/index.less +4 -4
- package/lib/uploader/utils.d.ts +3 -3
- package/lib/uploader/utils.js +11 -14
- package/lib/uploader/var.less +1 -1
- package/{es/utils/base.d.ts → lib/utils/basic.d.ts} +1 -6
- package/lib/utils/{base.js → basic.js} +4 -11
- package/lib/utils/constant.d.ts +1 -0
- package/lib/utils/constant.js +3 -1
- package/{es/utils/create/bem.d.ts → lib/utils/create.d.ts} +7 -4
- package/lib/utils/create.js +73 -0
- package/lib/utils/deep-assign.d.ts +1 -1
- package/lib/utils/deep-assign.js +1 -1
- package/lib/utils/deep-clone.js +1 -1
- package/{es/utils/dom/scroll.d.ts → lib/utils/dom.d.ts} +4 -2
- package/lib/utils/{dom/scroll.js → dom.js} +42 -26
- package/lib/utils/format.d.ts +12 -0
- package/lib/utils/format.js +169 -0
- package/lib/utils/index.d.ts +4 -7
- package/lib/utils/index.js +28 -52
- package/lib/utils/interceptor.d.ts +3 -4
- package/lib/utils/interceptor.js +9 -8
- 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 +4188 -4637
- package/lib/vant.es.min.js +15377 -1
- package/lib/vant.js +4187 -4636
- package/lib/vant.min.js +1 -1
- package/package.json +11 -8
- package/vetur/attributes.json +762 -758
- package/vetur/tags.json +254 -253
- package/vetur/web-types.json +1923 -1897
- package/changelog.generated.md +0 -152
- 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/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/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/attributes.json
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
},
|
61
61
|
"van-action-sheet/close-on-popstate": {
|
62
62
|
"type": "boolean",
|
63
|
-
"description": "是否在页面回退时自动关闭, 默认值: `
|
63
|
+
"description": "是否在页面回退时自动关闭, 默认值: `true`"
|
64
64
|
},
|
65
65
|
"van-action-sheet/close-on-click-action": {
|
66
66
|
"type": "boolean",
|
@@ -253,6 +253,33 @@
|
|
253
253
|
"type": "(key, val) => string",
|
254
254
|
"description": "自定义校验函数, 默认值: -"
|
255
255
|
},
|
256
|
+
"van-badge/content": {
|
257
|
+
"type": "number | string",
|
258
|
+
"description": "徽标内容, 默认值: -"
|
259
|
+
},
|
260
|
+
"van-badge/color": {
|
261
|
+
"type": "string",
|
262
|
+
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
263
|
+
},
|
264
|
+
"van-badge/dot": {
|
265
|
+
"type": "boolean",
|
266
|
+
"description": "是否展示为小红点, 默认值: `false`"
|
267
|
+
},
|
268
|
+
"van-badge/max": {
|
269
|
+
"type": "number | string",
|
270
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
271
|
+
},
|
272
|
+
"van-badge/offset": {
|
273
|
+
"type": "[number | string, number \\",
|
274
|
+
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
|
275
|
+
"options": [
|
276
|
+
"-"
|
277
|
+
]
|
278
|
+
},
|
279
|
+
"van-badge/show-zero": {
|
280
|
+
"type": "boolean",
|
281
|
+
"description": "当 content 为数字 0 时,是否展示徽标, 默认值: `true`"
|
282
|
+
},
|
256
283
|
"van-address-list/v-model": {
|
257
284
|
"type": "string",
|
258
285
|
"description": "当前选中地址的 id, 默认值: -"
|
@@ -333,6 +360,94 @@
|
|
333
360
|
"type": "() => boolean",
|
334
361
|
"description": "根据地区码校验海外地址,海外地址会划分至单独的分类, 默认值: -"
|
335
362
|
},
|
363
|
+
"van-button/type": {
|
364
|
+
"type": "string",
|
365
|
+
"description": "类型,可选值为 `primary` `success` `warning` `danger`, 默认值: `default`"
|
366
|
+
},
|
367
|
+
"van-button/size": {
|
368
|
+
"type": "string",
|
369
|
+
"description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
|
370
|
+
},
|
371
|
+
"van-button/text": {
|
372
|
+
"type": "string",
|
373
|
+
"description": "按钮文字, 默认值: -"
|
374
|
+
},
|
375
|
+
"van-button/color": {
|
376
|
+
"type": "string",
|
377
|
+
"description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
|
378
|
+
},
|
379
|
+
"van-button/icon": {
|
380
|
+
"type": "string",
|
381
|
+
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
382
|
+
},
|
383
|
+
"van-button/icon-prefix": {
|
384
|
+
"type": "string",
|
385
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
386
|
+
},
|
387
|
+
"van-button/icon-position": {
|
388
|
+
"type": "string",
|
389
|
+
"description": "图标展示位置,可选值为 `right`, 默认值: `left`"
|
390
|
+
},
|
391
|
+
"van-button/tag": {
|
392
|
+
"type": "string",
|
393
|
+
"description": "按钮根节点的 HTML 标签, 默认值: `button`"
|
394
|
+
},
|
395
|
+
"van-button/native-type": {
|
396
|
+
"type": "string",
|
397
|
+
"description": "原生 button 标签的 type 属性, 默认值: `button`"
|
398
|
+
},
|
399
|
+
"van-button/block": {
|
400
|
+
"type": "boolean",
|
401
|
+
"description": "是否为块级元素, 默认值: `false`"
|
402
|
+
},
|
403
|
+
"van-button/plain": {
|
404
|
+
"type": "boolean",
|
405
|
+
"description": "是否为朴素按钮, 默认值: `false`"
|
406
|
+
},
|
407
|
+
"van-button/square": {
|
408
|
+
"type": "boolean",
|
409
|
+
"description": "是否为方形按钮, 默认值: `false`"
|
410
|
+
},
|
411
|
+
"van-button/round": {
|
412
|
+
"type": "boolean",
|
413
|
+
"description": "是否为圆形按钮, 默认值: `false`"
|
414
|
+
},
|
415
|
+
"van-button/disabled": {
|
416
|
+
"type": "boolean",
|
417
|
+
"description": "是否禁用按钮, 默认值: `false`"
|
418
|
+
},
|
419
|
+
"van-button/hairline": {
|
420
|
+
"type": "boolean",
|
421
|
+
"description": "是否使用 0.5px 边框, 默认值: `false`"
|
422
|
+
},
|
423
|
+
"van-button/loading": {
|
424
|
+
"type": "boolean",
|
425
|
+
"description": "是否显示为加载状态, 默认值: `false`"
|
426
|
+
},
|
427
|
+
"van-button/loading-text": {
|
428
|
+
"type": "string",
|
429
|
+
"description": "加载状态提示文字, 默认值: -"
|
430
|
+
},
|
431
|
+
"van-button/loading-type": {
|
432
|
+
"type": "string",
|
433
|
+
"description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
|
434
|
+
},
|
435
|
+
"van-button/loading-size": {
|
436
|
+
"type": "number | string",
|
437
|
+
"description": "加载图标大小,默认单位为 `px`, 默认值: `20px`"
|
438
|
+
},
|
439
|
+
"van-button/url": {
|
440
|
+
"type": "string",
|
441
|
+
"description": "点击后跳转的链接地址, 默认值: -"
|
442
|
+
},
|
443
|
+
"van-button/to": {
|
444
|
+
"type": "string | object",
|
445
|
+
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
|
446
|
+
},
|
447
|
+
"van-button/replace": {
|
448
|
+
"type": "boolean",
|
449
|
+
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
450
|
+
},
|
336
451
|
"van-calendar/type": {
|
337
452
|
"type": "string",
|
338
453
|
"description": "选择类型:<br>`single` 表示选择单个日期,<br>`multiple` 表示选择多个日期,<br>`range` 表示选择日期区间, 默认值: `single`"
|
@@ -452,121 +567,6 @@
|
|
452
567
|
"type": "boolean",
|
453
568
|
"description": "是否允许日期范围的起止时间为同一天, 默认值: `false`"
|
454
569
|
},
|
455
|
-
"van-button/type": {
|
456
|
-
"type": "string",
|
457
|
-
"description": "类型,可选值为 `primary` `success` `warning` `danger`, 默认值: `default`"
|
458
|
-
},
|
459
|
-
"van-button/size": {
|
460
|
-
"type": "string",
|
461
|
-
"description": "尺寸,可选值为 `large` `small` `mini`, 默认值: `normal`"
|
462
|
-
},
|
463
|
-
"van-button/text": {
|
464
|
-
"type": "string",
|
465
|
-
"description": "按钮文字, 默认值: -"
|
466
|
-
},
|
467
|
-
"van-button/color": {
|
468
|
-
"type": "string",
|
469
|
-
"description": "按钮颜色,支持传入 `linear-gradient` 渐变色, 默认值: -"
|
470
|
-
},
|
471
|
-
"van-button/icon": {
|
472
|
-
"type": "string",
|
473
|
-
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
474
|
-
},
|
475
|
-
"van-button/icon-prefix": {
|
476
|
-
"type": "string",
|
477
|
-
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
478
|
-
},
|
479
|
-
"van-button/icon-position": {
|
480
|
-
"type": "string",
|
481
|
-
"description": "图标展示位置,可选值为 `right`, 默认值: `left`"
|
482
|
-
},
|
483
|
-
"van-button/tag": {
|
484
|
-
"type": "string",
|
485
|
-
"description": "按钮根节点的 HTML 标签, 默认值: `button`"
|
486
|
-
},
|
487
|
-
"van-button/native-type": {
|
488
|
-
"type": "string",
|
489
|
-
"description": "原生 button 标签的 type 属性, 默认值: `button`"
|
490
|
-
},
|
491
|
-
"van-button/block": {
|
492
|
-
"type": "boolean",
|
493
|
-
"description": "是否为块级元素, 默认值: `false`"
|
494
|
-
},
|
495
|
-
"van-button/plain": {
|
496
|
-
"type": "boolean",
|
497
|
-
"description": "是否为朴素按钮, 默认值: `false`"
|
498
|
-
},
|
499
|
-
"van-button/square": {
|
500
|
-
"type": "boolean",
|
501
|
-
"description": "是否为方形按钮, 默认值: `false`"
|
502
|
-
},
|
503
|
-
"van-button/round": {
|
504
|
-
"type": "boolean",
|
505
|
-
"description": "是否为圆形按钮, 默认值: `false`"
|
506
|
-
},
|
507
|
-
"van-button/disabled": {
|
508
|
-
"type": "boolean",
|
509
|
-
"description": "是否禁用按钮, 默认值: `false`"
|
510
|
-
},
|
511
|
-
"van-button/hairline": {
|
512
|
-
"type": "boolean",
|
513
|
-
"description": "是否使用 0.5px 边框, 默认值: `false`"
|
514
|
-
},
|
515
|
-
"van-button/loading": {
|
516
|
-
"type": "boolean",
|
517
|
-
"description": "是否显示为加载状态, 默认值: `false`"
|
518
|
-
},
|
519
|
-
"van-button/loading-text": {
|
520
|
-
"type": "string",
|
521
|
-
"description": "加载状态提示文字, 默认值: -"
|
522
|
-
},
|
523
|
-
"van-button/loading-type": {
|
524
|
-
"type": "string",
|
525
|
-
"description": "[加载图标类型](#/zh-CN/loading),可选值为 `spinner`, 默认值: `circular`"
|
526
|
-
},
|
527
|
-
"van-button/loading-size": {
|
528
|
-
"type": "number | string",
|
529
|
-
"description": "加载图标大小,默认单位为 `px`, 默认值: `20px`"
|
530
|
-
},
|
531
|
-
"van-button/url": {
|
532
|
-
"type": "string",
|
533
|
-
"description": "点击后跳转的链接地址, 默认值: -"
|
534
|
-
},
|
535
|
-
"van-button/to": {
|
536
|
-
"type": "string | object",
|
537
|
-
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
|
538
|
-
},
|
539
|
-
"van-button/replace": {
|
540
|
-
"type": "boolean",
|
541
|
-
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
542
|
-
},
|
543
|
-
"van-badge/content": {
|
544
|
-
"type": "number | string",
|
545
|
-
"description": "徽标内容, 默认值: -"
|
546
|
-
},
|
547
|
-
"van-badge/color": {
|
548
|
-
"type": "string",
|
549
|
-
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
550
|
-
},
|
551
|
-
"van-badge/dot": {
|
552
|
-
"type": "boolean",
|
553
|
-
"description": "是否展示为小红点, 默认值: `false`"
|
554
|
-
},
|
555
|
-
"van-badge/max": {
|
556
|
-
"type": "number | string",
|
557
|
-
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
558
|
-
},
|
559
|
-
"van-badge/offset": {
|
560
|
-
"type": "[number | string, number \\",
|
561
|
-
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
|
562
|
-
"options": [
|
563
|
-
"-"
|
564
|
-
]
|
565
|
-
},
|
566
|
-
"van-badge/show-zero": {
|
567
|
-
"type": "boolean",
|
568
|
-
"description": "当 content 为数字 0 时,是否展示徽标, 默认值: `true`"
|
569
|
-
},
|
570
570
|
"van-card/thumb": {
|
571
571
|
"type": "string",
|
572
572
|
"description": "左侧图片 URL, 默认值: -"
|
@@ -747,65 +747,53 @@
|
|
747
747
|
"-"
|
748
748
|
]
|
749
749
|
},
|
750
|
-
"van-
|
751
|
-
"type": "
|
752
|
-
"description": "
|
750
|
+
"van-circle/v-model:current-rate": {
|
751
|
+
"type": "number",
|
752
|
+
"description": "当前进度, 默认值: -"
|
753
753
|
},
|
754
|
-
"van-
|
755
|
-
"type": "
|
756
|
-
"description": "
|
754
|
+
"van-circle/rate": {
|
755
|
+
"type": "number | string",
|
756
|
+
"description": "目标进度, 默认值: `100`"
|
757
757
|
},
|
758
|
-
"van-
|
759
|
-
"type": "string",
|
760
|
-
"description": "
|
758
|
+
"van-circle/size": {
|
759
|
+
"type": "number | string",
|
760
|
+
"description": "圆环直径,默认单位为 `px`, 默认值: `100px`"
|
761
761
|
},
|
762
|
-
"van-
|
763
|
-
"type": "
|
764
|
-
"description": "
|
762
|
+
"van-circle/color": {
|
763
|
+
"type": "string | object",
|
764
|
+
"description": "进度条颜色,传入对象格式可以定义渐变色, 默认值: `#1989fa`"
|
765
765
|
},
|
766
|
-
"van-
|
767
|
-
"type": "
|
768
|
-
"description": "
|
766
|
+
"van-circle/layer-color": {
|
767
|
+
"type": "string",
|
768
|
+
"description": "轨道颜色, 默认值: `white`"
|
769
769
|
},
|
770
|
-
"van-
|
770
|
+
"van-circle/fill": {
|
771
771
|
"type": "string",
|
772
|
-
"description": "
|
772
|
+
"description": "填充颜色, 默认值: `none`"
|
773
773
|
},
|
774
|
-
"van-
|
774
|
+
"van-circle/speed": {
|
775
775
|
"type": "number | string",
|
776
|
-
"description": "
|
776
|
+
"description": "动画速度(单位为 rate/s), 默认值: `0`"
|
777
777
|
},
|
778
|
-
"van-
|
778
|
+
"van-circle/text": {
|
779
779
|
"type": "string",
|
780
|
-
"description": "
|
781
|
-
},
|
782
|
-
"van-checkbox/bind-group": {
|
783
|
-
"type": "boolean",
|
784
|
-
"description": "是否与复选框组绑定, 默认值: `true`"
|
785
|
-
},
|
786
|
-
"van-checkbox-group/v-model": {
|
787
|
-
"type": "any[]",
|
788
|
-
"description": "所有选中项的标识符, 默认值: -"
|
789
|
-
},
|
790
|
-
"van-checkbox-group/disabled": {
|
791
|
-
"type": "boolean",
|
792
|
-
"description": "是否禁用所有复选框, 默认值: `false`"
|
780
|
+
"description": "文字, 默认值: -"
|
793
781
|
},
|
794
|
-
"van-
|
782
|
+
"van-circle/stroke-width": {
|
795
783
|
"type": "number | string",
|
796
|
-
"description": "
|
784
|
+
"description": "进度条宽度, 默认值: `40`"
|
797
785
|
},
|
798
|
-
"van-
|
786
|
+
"van-circle/stroke-linecap": {
|
799
787
|
"type": "string",
|
800
|
-
"description": "
|
788
|
+
"description": "进度条端点的形状,可选值为 `square` `butt`, 默认值: `round`"
|
801
789
|
},
|
802
|
-
"van-
|
803
|
-
"type": "
|
804
|
-
"description": "
|
790
|
+
"van-circle/clockwise": {
|
791
|
+
"type": "boolean",
|
792
|
+
"description": "是否顺时针增加, 默认值: `true`"
|
805
793
|
},
|
806
|
-
"van-
|
807
|
-
"type": "
|
808
|
-
"description": "
|
794
|
+
"van-circle/start-position": {
|
795
|
+
"type": "CircleStartPosition",
|
796
|
+
"description": "进度起始位置,可选值为 `left`、`right`、`bottom`, 默认值: `top`"
|
809
797
|
},
|
810
798
|
"van-row/gutter": {
|
811
799
|
"type": "number | string",
|
@@ -839,53 +827,65 @@
|
|
839
827
|
"type": "string",
|
840
828
|
"description": "自定义元素标签, 默认值: `div`"
|
841
829
|
},
|
842
|
-
"van-
|
843
|
-
"type": "
|
844
|
-
"description": "
|
830
|
+
"van-checkbox/v-model": {
|
831
|
+
"type": "boolean",
|
832
|
+
"description": "是否为选中状态, 默认值: `false`"
|
845
833
|
},
|
846
|
-
"van-
|
847
|
-
"type": "
|
848
|
-
"description": "
|
834
|
+
"van-checkbox/name": {
|
835
|
+
"type": "any",
|
836
|
+
"description": "标识符, 默认值: -"
|
849
837
|
},
|
850
|
-
"van-
|
851
|
-
"type": "
|
852
|
-
"description": "
|
838
|
+
"van-checkbox/shape": {
|
839
|
+
"type": "string",
|
840
|
+
"description": "形状,可选值为 `square`, 默认值: `round`"
|
853
841
|
},
|
854
|
-
"van-
|
855
|
-
"type": "
|
856
|
-
"description": "
|
842
|
+
"van-checkbox/disabled": {
|
843
|
+
"type": "boolean",
|
844
|
+
"description": "是否禁用复选框, 默认值: `false`"
|
857
845
|
},
|
858
|
-
"van-
|
859
|
-
"type": "
|
860
|
-
"description": "
|
846
|
+
"van-checkbox/label-disabled": {
|
847
|
+
"type": "boolean",
|
848
|
+
"description": "是否禁用复选框文本点击, 默认值: `false`"
|
861
849
|
},
|
862
|
-
"van-
|
850
|
+
"van-checkbox/label-position": {
|
863
851
|
"type": "string",
|
864
|
-
"description": "
|
852
|
+
"description": "文本位置,可选值为 `left`, 默认值: `right`"
|
865
853
|
},
|
866
|
-
"van-
|
854
|
+
"van-checkbox/icon-size": {
|
867
855
|
"type": "number | string",
|
868
|
-
"description": "
|
856
|
+
"description": "图标大小,默认单位为 `px`, 默认值: `20px`"
|
869
857
|
},
|
870
|
-
"van-
|
858
|
+
"van-checkbox/checked-color": {
|
871
859
|
"type": "string",
|
872
|
-
"description": "
|
860
|
+
"description": "选中状态颜色, 默认值: `#1989fa`"
|
873
861
|
},
|
874
|
-
"van-
|
862
|
+
"van-checkbox/bind-group": {
|
863
|
+
"type": "boolean",
|
864
|
+
"description": "是否与复选框组绑定, 默认值: `true`"
|
865
|
+
},
|
866
|
+
"van-checkbox-group/v-model": {
|
867
|
+
"type": "any[]",
|
868
|
+
"description": "所有选中项的标识符, 默认值: -"
|
869
|
+
},
|
870
|
+
"van-checkbox-group/disabled": {
|
871
|
+
"type": "boolean",
|
872
|
+
"description": "是否禁用所有复选框, 默认值: `false`"
|
873
|
+
},
|
874
|
+
"van-checkbox-group/max": {
|
875
875
|
"type": "number | string",
|
876
|
-
"description": "
|
876
|
+
"description": "最大可选数,`0` 为无限制, 默认值: `0`"
|
877
877
|
},
|
878
|
-
"van-
|
878
|
+
"van-checkbox-group/direction": {
|
879
879
|
"type": "string",
|
880
|
-
"description": "
|
880
|
+
"description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
|
881
881
|
},
|
882
|
-
"van-
|
883
|
-
"type": "
|
884
|
-
"description": "
|
882
|
+
"van-checkbox-group/icon-size": {
|
883
|
+
"type": "number | string",
|
884
|
+
"description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
|
885
885
|
},
|
886
|
-
"van-
|
887
|
-
"type": "
|
888
|
-
"description": "
|
886
|
+
"van-checkbox-group/checked-color": {
|
887
|
+
"type": "string",
|
888
|
+
"description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
|
889
889
|
},
|
890
890
|
"van-collapse/v-model": {
|
891
891
|
"type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
|
@@ -1042,82 +1042,6 @@
|
|
1042
1042
|
"type": "boolean",
|
1043
1043
|
"description": "是否开启毫秒级渲染, 默认值: `false`"
|
1044
1044
|
},
|
1045
|
-
"van-datetime-picker/type": {
|
1046
|
-
"type": "string",
|
1047
|
-
"description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
|
1048
|
-
},
|
1049
|
-
"van-datetime-picker/title": {
|
1050
|
-
"type": "string",
|
1051
|
-
"description": "顶部栏标题, 默认值: `''`"
|
1052
|
-
},
|
1053
|
-
"van-datetime-picker/confirm-button-text": {
|
1054
|
-
"type": "string",
|
1055
|
-
"description": "确认按钮文字, 默认值: `确认`"
|
1056
|
-
},
|
1057
|
-
"van-datetime-picker/cancel-button-text": {
|
1058
|
-
"type": "string",
|
1059
|
-
"description": "取消按钮文字, 默认值: `取消`"
|
1060
|
-
},
|
1061
|
-
"van-datetime-picker/show-toolbar": {
|
1062
|
-
"type": "boolean",
|
1063
|
-
"description": "是否显示顶部栏, 默认值: `true`"
|
1064
|
-
},
|
1065
|
-
"van-datetime-picker/loading": {
|
1066
|
-
"type": "boolean",
|
1067
|
-
"description": "是否显示加载状态, 默认值: `false`"
|
1068
|
-
},
|
1069
|
-
"van-datetime-picker/readonly": {
|
1070
|
-
"type": "boolean",
|
1071
|
-
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
1072
|
-
},
|
1073
|
-
"van-datetime-picker/filter": {
|
1074
|
-
"type": "(type: string, values: string[]) => string[]",
|
1075
|
-
"description": "选项过滤函数, 默认值: -"
|
1076
|
-
},
|
1077
|
-
"van-datetime-picker/formatter": {
|
1078
|
-
"type": "(type: string, value: string) => string",
|
1079
|
-
"description": "选项格式化函数, 默认值: -"
|
1080
|
-
},
|
1081
|
-
"van-datetime-picker/columns-order": {
|
1082
|
-
"type": "string[]",
|
1083
|
-
"description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
|
1084
|
-
},
|
1085
|
-
"van-datetime-picker/item-height": {
|
1086
|
-
"type": "number | string",
|
1087
|
-
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
1088
|
-
},
|
1089
|
-
"van-datetime-picker/visible-item-count": {
|
1090
|
-
"type": "number | string",
|
1091
|
-
"description": "可见的选项个数, 默认值: `6`"
|
1092
|
-
},
|
1093
|
-
"van-datetime-picker/swipe-duration": {
|
1094
|
-
"type": "number | string",
|
1095
|
-
"description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
|
1096
|
-
},
|
1097
|
-
"van-date-picker/min-date": {
|
1098
|
-
"type": "Date",
|
1099
|
-
"description": "可选的最小时间,精确到分钟, 默认值: 十年前"
|
1100
|
-
},
|
1101
|
-
"van-date-picker/max-date": {
|
1102
|
-
"type": "Date",
|
1103
|
-
"description": "可选的最大时间,精确到分钟, 默认值: 十年后"
|
1104
|
-
},
|
1105
|
-
"van-time-picker/min-hour": {
|
1106
|
-
"type": "number | string",
|
1107
|
-
"description": "可选的最小小时, 默认值: `0`"
|
1108
|
-
},
|
1109
|
-
"van-time-picker/max-hour": {
|
1110
|
-
"type": "number | string",
|
1111
|
-
"description": "可选的最大小时, 默认值: `23`"
|
1112
|
-
},
|
1113
|
-
"van-time-picker/min-minute": {
|
1114
|
-
"type": "number | string",
|
1115
|
-
"description": "可选的最小分钟, 默认值: `0`"
|
1116
|
-
},
|
1117
|
-
"van-time-picker/max-minute": {
|
1118
|
-
"type": "number | string",
|
1119
|
-
"description": "可选的最大分钟, 默认值: `59`"
|
1120
|
-
},
|
1121
1045
|
"van-coupon-cell/title": {
|
1122
1046
|
"type": "string",
|
1123
1047
|
"description": "单元格标题, 默认值: `优惠券`"
|
@@ -1214,53 +1138,129 @@
|
|
1214
1138
|
"type": "boolean",
|
1215
1139
|
"description": "是否展示可用 / 不可用数量, 默认值: `true`"
|
1216
1140
|
},
|
1217
|
-
"van-
|
1218
|
-
"type": "boolean",
|
1219
|
-
"description": "是否显示弹窗, 默认值: -"
|
1220
|
-
},
|
1221
|
-
"van-dialog/title": {
|
1141
|
+
"van-datetime-picker/type": {
|
1222
1142
|
"type": "string",
|
1223
|
-
"description": "
|
1224
|
-
},
|
1225
|
-
"van-dialog/width": {
|
1226
|
-
"type": "number | string",
|
1227
|
-
"description": "弹窗宽度,默认单位为 `px`, 默认值: `320px`"
|
1143
|
+
"description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
|
1228
1144
|
},
|
1229
|
-
"van-
|
1230
|
-
"type": "string
|
1231
|
-
"description": "
|
1145
|
+
"van-datetime-picker/title": {
|
1146
|
+
"type": "string",
|
1147
|
+
"description": "顶部栏标题, 默认值: `''`"
|
1232
1148
|
},
|
1233
|
-
"van-
|
1149
|
+
"van-datetime-picker/confirm-button-text": {
|
1234
1150
|
"type": "string",
|
1235
|
-
"description": "
|
1151
|
+
"description": "确认按钮文字, 默认值: `确认`"
|
1236
1152
|
},
|
1237
|
-
"van-
|
1153
|
+
"van-datetime-picker/cancel-button-text": {
|
1238
1154
|
"type": "string",
|
1239
|
-
"description": "
|
1155
|
+
"description": "取消按钮文字, 默认值: `取消`"
|
1240
1156
|
},
|
1241
|
-
"van-
|
1157
|
+
"van-datetime-picker/show-toolbar": {
|
1242
1158
|
"type": "boolean",
|
1243
|
-
"description": "
|
1159
|
+
"description": "是否显示顶部栏, 默认值: `true`"
|
1244
1160
|
},
|
1245
|
-
"van-
|
1161
|
+
"van-datetime-picker/loading": {
|
1246
1162
|
"type": "boolean",
|
1247
|
-
"description": "
|
1248
|
-
},
|
1249
|
-
"van-dialog/confirm-button-text": {
|
1250
|
-
"type": "string",
|
1251
|
-
"description": "确认按钮文案, 默认值: `确认`"
|
1163
|
+
"description": "是否显示加载状态, 默认值: `false`"
|
1252
1164
|
},
|
1253
|
-
"van-
|
1254
|
-
"type": "
|
1255
|
-
"description": "
|
1165
|
+
"van-datetime-picker/readonly": {
|
1166
|
+
"type": "boolean",
|
1167
|
+
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
1256
1168
|
},
|
1257
|
-
"van-
|
1258
|
-
"type": "string",
|
1259
|
-
"description": "
|
1169
|
+
"van-datetime-picker/filter": {
|
1170
|
+
"type": "(type: string, values: string[]) => string[]",
|
1171
|
+
"description": "选项过滤函数, 默认值: -"
|
1260
1172
|
},
|
1261
|
-
"van-
|
1262
|
-
"type": "string",
|
1263
|
-
"description": "
|
1173
|
+
"van-datetime-picker/formatter": {
|
1174
|
+
"type": "(type: string, value: string) => string",
|
1175
|
+
"description": "选项格式化函数, 默认值: -"
|
1176
|
+
},
|
1177
|
+
"van-datetime-picker/columns-order": {
|
1178
|
+
"type": "string[]",
|
1179
|
+
"description": "自定义列排序数组, 子项可选值为<br> `year`、`month`、`day`、`hour`、`minute`, 默认值: -"
|
1180
|
+
},
|
1181
|
+
"van-datetime-picker/item-height": {
|
1182
|
+
"type": "number | string",
|
1183
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
1184
|
+
},
|
1185
|
+
"van-datetime-picker/visible-item-count": {
|
1186
|
+
"type": "number | string",
|
1187
|
+
"description": "可见的选项个数, 默认值: `6`"
|
1188
|
+
},
|
1189
|
+
"van-datetime-picker/swipe-duration": {
|
1190
|
+
"type": "number | string",
|
1191
|
+
"description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
|
1192
|
+
},
|
1193
|
+
"van-date-picker/min-date": {
|
1194
|
+
"type": "Date",
|
1195
|
+
"description": "可选的最小时间,精确到分钟, 默认值: 十年前"
|
1196
|
+
},
|
1197
|
+
"van-date-picker/max-date": {
|
1198
|
+
"type": "Date",
|
1199
|
+
"description": "可选的最大时间,精确到分钟, 默认值: 十年后"
|
1200
|
+
},
|
1201
|
+
"van-time-picker/min-hour": {
|
1202
|
+
"type": "number | string",
|
1203
|
+
"description": "可选的最小小时, 默认值: `0`"
|
1204
|
+
},
|
1205
|
+
"van-time-picker/max-hour": {
|
1206
|
+
"type": "number | string",
|
1207
|
+
"description": "可选的最大小时, 默认值: `23`"
|
1208
|
+
},
|
1209
|
+
"van-time-picker/min-minute": {
|
1210
|
+
"type": "number | string",
|
1211
|
+
"description": "可选的最小分钟, 默认值: `0`"
|
1212
|
+
},
|
1213
|
+
"van-time-picker/max-minute": {
|
1214
|
+
"type": "number | string",
|
1215
|
+
"description": "可选的最大分钟, 默认值: `59`"
|
1216
|
+
},
|
1217
|
+
"van-dialog/v-model:show": {
|
1218
|
+
"type": "boolean",
|
1219
|
+
"description": "是否显示弹窗, 默认值: -"
|
1220
|
+
},
|
1221
|
+
"van-dialog/title": {
|
1222
|
+
"type": "string",
|
1223
|
+
"description": "标题, 默认值: -"
|
1224
|
+
},
|
1225
|
+
"van-dialog/width": {
|
1226
|
+
"type": "number | string",
|
1227
|
+
"description": "弹窗宽度,默认单位为 `px`, 默认值: `320px`"
|
1228
|
+
},
|
1229
|
+
"van-dialog/message": {
|
1230
|
+
"type": "string | () => JSX.ELement",
|
1231
|
+
"description": "文本内容,支持通过 `\\n` 换行, 默认值: -"
|
1232
|
+
},
|
1233
|
+
"van-dialog/message-align": {
|
1234
|
+
"type": "string",
|
1235
|
+
"description": "内容水平对齐方式,可选值为 `left` `right`, 默认值: `center`"
|
1236
|
+
},
|
1237
|
+
"van-dialog/theme": {
|
1238
|
+
"type": "string",
|
1239
|
+
"description": "样式风格,可选值为 `round-button`, 默认值: `default`"
|
1240
|
+
},
|
1241
|
+
"van-dialog/show-confirm-button": {
|
1242
|
+
"type": "boolean",
|
1243
|
+
"description": "是否展示确认按钮, 默认值: `true`"
|
1244
|
+
},
|
1245
|
+
"van-dialog/show-cancel-button": {
|
1246
|
+
"type": "boolean",
|
1247
|
+
"description": "是否展示取消按钮, 默认值: `false`"
|
1248
|
+
},
|
1249
|
+
"van-dialog/confirm-button-text": {
|
1250
|
+
"type": "string",
|
1251
|
+
"description": "确认按钮文案, 默认值: `确认`"
|
1252
|
+
},
|
1253
|
+
"van-dialog/confirm-button-color": {
|
1254
|
+
"type": "string",
|
1255
|
+
"description": "确认按钮颜色, 默认值: `#ee0a24`"
|
1256
|
+
},
|
1257
|
+
"van-dialog/cancel-button-text": {
|
1258
|
+
"type": "string",
|
1259
|
+
"description": "取消按钮文案, 默认值: `取消`"
|
1260
|
+
},
|
1261
|
+
"van-dialog/cancel-button-color": {
|
1262
|
+
"type": "string",
|
1263
|
+
"description": "取消按钮颜色, 默认值: `black`"
|
1264
1264
|
},
|
1265
1265
|
"van-dialog/overlay": {
|
1266
1266
|
"type": "boolean",
|
@@ -1540,6 +1540,78 @@
|
|
1540
1540
|
"type": "string",
|
1541
1541
|
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
1542
1542
|
},
|
1543
|
+
"van-grid/column-num": {
|
1544
|
+
"type": "number | string",
|
1545
|
+
"description": "列数, 默认值: `4`"
|
1546
|
+
},
|
1547
|
+
"van-grid/icon-size": {
|
1548
|
+
"type": "number | string",
|
1549
|
+
"description": "图标大小,默认单位为`px`, 默认值: `28px`"
|
1550
|
+
},
|
1551
|
+
"van-grid/gutter": {
|
1552
|
+
"type": "number | string",
|
1553
|
+
"description": "格子之间的间距,默认单位为`px`, 默认值: `0`"
|
1554
|
+
},
|
1555
|
+
"van-grid/border": {
|
1556
|
+
"type": "boolean",
|
1557
|
+
"description": "是否显示边框, 默认值: `true`"
|
1558
|
+
},
|
1559
|
+
"van-grid/center": {
|
1560
|
+
"type": "boolean",
|
1561
|
+
"description": "是否将格子内容居中显示, 默认值: `true`"
|
1562
|
+
},
|
1563
|
+
"van-grid/square": {
|
1564
|
+
"type": "boolean",
|
1565
|
+
"description": "是否将格子固定为正方形, 默认值: `false`"
|
1566
|
+
},
|
1567
|
+
"van-grid/clickable": {
|
1568
|
+
"type": "boolean",
|
1569
|
+
"description": "是否开启格子点击反馈, 默认值: `false`"
|
1570
|
+
},
|
1571
|
+
"van-grid/direction": {
|
1572
|
+
"type": "string",
|
1573
|
+
"description": "格子内容排列的方向,可选值为 `horizontal`, 默认值: `vertical`"
|
1574
|
+
},
|
1575
|
+
"van-grid-item/text": {
|
1576
|
+
"type": "string",
|
1577
|
+
"description": "文字, 默认值: -"
|
1578
|
+
},
|
1579
|
+
"van-grid-item/icon": {
|
1580
|
+
"type": "string",
|
1581
|
+
"description": "[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
1582
|
+
},
|
1583
|
+
"van-grid-item/icon-prefix": {
|
1584
|
+
"type": "string",
|
1585
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
1586
|
+
},
|
1587
|
+
"van-grid-item/icon-color": {
|
1588
|
+
"type": "string",
|
1589
|
+
"description": "图标颜色,等同于 Icon 组件的 [color 属性](#/zh-CN/icon#props), 默认值: -"
|
1590
|
+
},
|
1591
|
+
"van-grid-item/reverse": {
|
1592
|
+
"type": "boolean",
|
1593
|
+
"description": "是否调换图标和文本的位置, 默认值: `false`"
|
1594
|
+
},
|
1595
|
+
"van-grid-item/dot": {
|
1596
|
+
"type": "boolean",
|
1597
|
+
"description": "是否显示图标右上角小红点, 默认值: `false`"
|
1598
|
+
},
|
1599
|
+
"van-grid-item/badge": {
|
1600
|
+
"type": "number | string",
|
1601
|
+
"description": "图标右上角徽标的内容, 默认值: -"
|
1602
|
+
},
|
1603
|
+
"van-grid-item/url": {
|
1604
|
+
"type": "string",
|
1605
|
+
"description": "点击后跳转的链接地址, 默认值: -"
|
1606
|
+
},
|
1607
|
+
"van-grid-item/to": {
|
1608
|
+
"type": "string | object",
|
1609
|
+
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
|
1610
|
+
},
|
1611
|
+
"van-grid-item/replace": {
|
1612
|
+
"type": "boolean",
|
1613
|
+
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
1614
|
+
},
|
1543
1615
|
"van-icon/name": {
|
1544
1616
|
"type": "string",
|
1545
1617
|
"description": "图标名称或图片链接, 默认值: -"
|
@@ -1620,62 +1692,6 @@
|
|
1620
1692
|
"type": "boolean",
|
1621
1693
|
"description": "是否在按下回车键时提交表单, 默认值: `true`"
|
1622
1694
|
},
|
1623
|
-
"van-image/src": {
|
1624
|
-
"type": "string",
|
1625
|
-
"description": "图片链接, 默认值: -"
|
1626
|
-
},
|
1627
|
-
"van-image/fit": {
|
1628
|
-
"type": "string",
|
1629
|
-
"description": "图片填充模式, 默认值: `fill`"
|
1630
|
-
},
|
1631
|
-
"van-image/alt": {
|
1632
|
-
"type": "string",
|
1633
|
-
"description": "替代文本, 默认值: -"
|
1634
|
-
},
|
1635
|
-
"van-image/width": {
|
1636
|
-
"type": "number | string",
|
1637
|
-
"description": "宽度,默认单位为 `px`, 默认值: -"
|
1638
|
-
},
|
1639
|
-
"van-image/height": {
|
1640
|
-
"type": "number | string",
|
1641
|
-
"description": "高度,默认单位为 `px`, 默认值: -"
|
1642
|
-
},
|
1643
|
-
"van-image/radius": {
|
1644
|
-
"type": "number | string",
|
1645
|
-
"description": "圆角大小,默认单位为 `px`, 默认值: `0`"
|
1646
|
-
},
|
1647
|
-
"van-image/round": {
|
1648
|
-
"type": "boolean",
|
1649
|
-
"description": "是否显示为圆形, 默认值: `false`"
|
1650
|
-
},
|
1651
|
-
"van-image/lazy-load": {
|
1652
|
-
"type": "boolean",
|
1653
|
-
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
1654
|
-
},
|
1655
|
-
"van-image/show-error": {
|
1656
|
-
"type": "boolean",
|
1657
|
-
"description": "是否展示图片加载失败提示, 默认值: `true`"
|
1658
|
-
},
|
1659
|
-
"van-image/show-loading": {
|
1660
|
-
"type": "boolean",
|
1661
|
-
"description": "是否展示图片加载中提示, 默认值: `true`"
|
1662
|
-
},
|
1663
|
-
"van-image/error-icon": {
|
1664
|
-
"type": "string",
|
1665
|
-
"description": "失败时提示的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photo-fail`"
|
1666
|
-
},
|
1667
|
-
"van-image/loading-icon": {
|
1668
|
-
"type": "string",
|
1669
|
-
"description": "加载时提示的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photo`"
|
1670
|
-
},
|
1671
|
-
"van-image/icon-size": {
|
1672
|
-
"type": "number | string",
|
1673
|
-
"description": "加载图标和失败图标的大小, 默认值: `32px`"
|
1674
|
-
},
|
1675
|
-
"van-image/icon-prefix": {
|
1676
|
-
"type": "string",
|
1677
|
-
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
1678
|
-
},
|
1679
1695
|
"van-image-preview/v-model:show": {
|
1680
1696
|
"type": "boolean",
|
1681
1697
|
"description": "是否展示图片预览, 默认值: `false`"
|
@@ -1751,105 +1767,89 @@
|
|
1751
1767
|
"type": "string | Element",
|
1752
1768
|
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1753
1769
|
},
|
1754
|
-
"van-
|
1755
|
-
"type": "
|
1756
|
-
"description": "
|
1757
|
-
},
|
1758
|
-
"van-grid/icon-size": {
|
1759
|
-
"type": "number | string",
|
1760
|
-
"description": "图标大小,默认单位为`px`, 默认值: `28px`"
|
1770
|
+
"van-index-bar/index-list": {
|
1771
|
+
"type": "string[] | number[]",
|
1772
|
+
"description": "索引字符列表, 默认值: `A-Z`"
|
1761
1773
|
},
|
1762
|
-
"van-
|
1774
|
+
"van-index-bar/z-index": {
|
1763
1775
|
"type": "number | string",
|
1764
|
-
"description": "
|
1765
|
-
},
|
1766
|
-
"van-grid/border": {
|
1767
|
-
"type": "boolean",
|
1768
|
-
"description": "是否显示边框, 默认值: `true`"
|
1769
|
-
},
|
1770
|
-
"van-grid/center": {
|
1771
|
-
"type": "boolean",
|
1772
|
-
"description": "是否将格子内容居中显示, 默认值: `true`"
|
1773
|
-
},
|
1774
|
-
"van-grid/square": {
|
1775
|
-
"type": "boolean",
|
1776
|
-
"description": "是否将格子固定为正方形, 默认值: `false`"
|
1776
|
+
"description": "z-index 层级, 默认值: `1`"
|
1777
1777
|
},
|
1778
|
-
"van-
|
1778
|
+
"van-index-bar/sticky": {
|
1779
1779
|
"type": "boolean",
|
1780
|
-
"description": "
|
1780
|
+
"description": "是否开启锚点自动吸顶, 默认值: `true`"
|
1781
1781
|
},
|
1782
|
-
"van-
|
1783
|
-
"type": "
|
1784
|
-
"description": "
|
1782
|
+
"van-index-bar/sticky-offset-top": {
|
1783
|
+
"type": "number",
|
1784
|
+
"description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
|
1785
1785
|
},
|
1786
|
-
"van-
|
1786
|
+
"van-index-bar/highlight-color": {
|
1787
1787
|
"type": "string",
|
1788
|
-
"description": "
|
1788
|
+
"description": "索引字符高亮颜色, 默认值: `#ee0a24`"
|
1789
1789
|
},
|
1790
|
-
"van-
|
1791
|
-
"type": "string",
|
1792
|
-
"description": "
|
1790
|
+
"van-index-bar/teleport": {
|
1791
|
+
"type": "string | Element",
|
1792
|
+
"description": "指定索引栏挂载的节点, 默认值: -"
|
1793
1793
|
},
|
1794
|
-
"van-
|
1795
|
-
"type": "string",
|
1796
|
-
"description": "
|
1794
|
+
"van-index-anchor/index": {
|
1795
|
+
"type": "number | string",
|
1796
|
+
"description": "索引字符, 默认值: -"
|
1797
1797
|
},
|
1798
|
-
"van-
|
1798
|
+
"van-image/src": {
|
1799
1799
|
"type": "string",
|
1800
|
-
"description": "
|
1800
|
+
"description": "图片链接, 默认值: -"
|
1801
1801
|
},
|
1802
|
-
"van-
|
1803
|
-
"type": "
|
1804
|
-
"description": "
|
1802
|
+
"van-image/fit": {
|
1803
|
+
"type": "string",
|
1804
|
+
"description": "图片填充模式, 默认值: `fill`"
|
1805
1805
|
},
|
1806
|
-
"van-
|
1807
|
-
"type": "
|
1808
|
-
"description": "
|
1806
|
+
"van-image/alt": {
|
1807
|
+
"type": "string",
|
1808
|
+
"description": "替代文本, 默认值: -"
|
1809
1809
|
},
|
1810
|
-
"van-
|
1810
|
+
"van-image/width": {
|
1811
1811
|
"type": "number | string",
|
1812
|
-
"description": "
|
1812
|
+
"description": "宽度,默认单位为 `px`, 默认值: -"
|
1813
1813
|
},
|
1814
|
-
"van-
|
1815
|
-
"type": "string",
|
1816
|
-
"description": "
|
1814
|
+
"van-image/height": {
|
1815
|
+
"type": "number | string",
|
1816
|
+
"description": "高度,默认单位为 `px`, 默认值: -"
|
1817
1817
|
},
|
1818
|
-
"van-
|
1819
|
-
"type": "
|
1820
|
-
"description": "
|
1818
|
+
"van-image/radius": {
|
1819
|
+
"type": "number | string",
|
1820
|
+
"description": "圆角大小,默认单位为 `px`, 默认值: `0`"
|
1821
1821
|
},
|
1822
|
-
"van-
|
1822
|
+
"van-image/round": {
|
1823
1823
|
"type": "boolean",
|
1824
|
-
"description": "
|
1825
|
-
},
|
1826
|
-
"van-index-bar/index-list": {
|
1827
|
-
"type": "string[] | number[]",
|
1828
|
-
"description": "索引字符列表, 默认值: `A-Z`"
|
1824
|
+
"description": "是否显示为圆形, 默认值: `false`"
|
1829
1825
|
},
|
1830
|
-
"van-
|
1831
|
-
"type": "
|
1832
|
-
"description": "
|
1826
|
+
"van-image/lazy-load": {
|
1827
|
+
"type": "boolean",
|
1828
|
+
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
1833
1829
|
},
|
1834
|
-
"van-
|
1830
|
+
"van-image/show-error": {
|
1835
1831
|
"type": "boolean",
|
1836
|
-
"description": "
|
1832
|
+
"description": "是否展示图片加载失败提示, 默认值: `true`"
|
1837
1833
|
},
|
1838
|
-
"van-
|
1839
|
-
"type": "
|
1840
|
-
"description": "
|
1834
|
+
"van-image/show-loading": {
|
1835
|
+
"type": "boolean",
|
1836
|
+
"description": "是否展示图片加载中提示, 默认值: `true`"
|
1841
1837
|
},
|
1842
|
-
"van-
|
1838
|
+
"van-image/error-icon": {
|
1843
1839
|
"type": "string",
|
1844
|
-
"description": "
|
1840
|
+
"description": "失败时提示的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photo-fail`"
|
1845
1841
|
},
|
1846
|
-
"van-
|
1847
|
-
"type": "string
|
1848
|
-
"description": "
|
1842
|
+
"van-image/loading-icon": {
|
1843
|
+
"type": "string",
|
1844
|
+
"description": "加载时提示的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `photo`"
|
1849
1845
|
},
|
1850
|
-
"van-
|
1846
|
+
"van-image/icon-size": {
|
1851
1847
|
"type": "number | string",
|
1852
|
-
"description": "
|
1848
|
+
"description": "加载图标和失败图标的大小, 默认值: `32px`"
|
1849
|
+
},
|
1850
|
+
"van-image/icon-prefix": {
|
1851
|
+
"type": "string",
|
1852
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
1853
1853
|
},
|
1854
1854
|
"van-list/v-model:loading": {
|
1855
1855
|
"type": "boolean",
|
@@ -1887,41 +1887,41 @@
|
|
1887
1887
|
"type": "string",
|
1888
1888
|
"description": "滚动触发加载的方向,可选值为 `up`, 默认值: `down`"
|
1889
1889
|
},
|
1890
|
-
"van-
|
1891
|
-
"type": "string",
|
1892
|
-
"description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
|
1893
|
-
},
|
1894
|
-
"van-notice-bar/text": {
|
1890
|
+
"van-nav-bar/title": {
|
1895
1891
|
"type": "string",
|
1896
|
-
"description": "
|
1892
|
+
"description": "标题, 默认值: `''`"
|
1897
1893
|
},
|
1898
|
-
"van-
|
1894
|
+
"van-nav-bar/left-text": {
|
1899
1895
|
"type": "string",
|
1900
|
-
"description": "
|
1896
|
+
"description": "左侧文案, 默认值: `''`"
|
1901
1897
|
},
|
1902
|
-
"van-
|
1898
|
+
"van-nav-bar/right-text": {
|
1903
1899
|
"type": "string",
|
1904
|
-
"description": "
|
1900
|
+
"description": "右侧文案, 默认值: `''`"
|
1905
1901
|
},
|
1906
|
-
"van-
|
1907
|
-
"type": "
|
1908
|
-
"description": "
|
1902
|
+
"van-nav-bar/left-arrow": {
|
1903
|
+
"type": "boolean",
|
1904
|
+
"description": "是否显示左侧箭头, 默认值: `false`"
|
1909
1905
|
},
|
1910
|
-
"van-
|
1911
|
-
"type": "
|
1912
|
-
"description": "
|
1906
|
+
"van-nav-bar/border": {
|
1907
|
+
"type": "boolean",
|
1908
|
+
"description": "是否显示下边框, 默认值: `true`"
|
1913
1909
|
},
|
1914
|
-
"van-
|
1915
|
-
"type": "
|
1916
|
-
"description": "
|
1910
|
+
"van-nav-bar/fixed": {
|
1911
|
+
"type": "boolean",
|
1912
|
+
"description": "是否固定在顶部, 默认值: `false`"
|
1917
1913
|
},
|
1918
|
-
"van-
|
1914
|
+
"van-nav-bar/placeholder": {
|
1919
1915
|
"type": "boolean",
|
1920
|
-
"description": "
|
1916
|
+
"description": "固定在顶部时,是否在标签位置生成一个等高的占位元素, 默认值: `false`"
|
1921
1917
|
},
|
1922
|
-
"van-
|
1918
|
+
"van-nav-bar/z-index": {
|
1919
|
+
"type": "number | string",
|
1920
|
+
"description": "导航栏 z-index, 默认值: `1`"
|
1921
|
+
},
|
1922
|
+
"van-nav-bar/safe-area-inset-top": {
|
1923
1923
|
"type": "boolean",
|
1924
|
-
"description": "
|
1924
|
+
"description": "是否开启[顶部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
|
1925
1925
|
},
|
1926
1926
|
"van-loading/color": {
|
1927
1927
|
"type": "string",
|
@@ -1947,41 +1947,41 @@
|
|
1947
1947
|
"type": "boolean",
|
1948
1948
|
"description": "是否垂直排列图标和文字内容, 默认值: `false`"
|
1949
1949
|
},
|
1950
|
-
"van-
|
1950
|
+
"van-notice-bar/mode": {
|
1951
1951
|
"type": "string",
|
1952
|
-
"description": "
|
1952
|
+
"description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
|
1953
1953
|
},
|
1954
|
-
"van-
|
1954
|
+
"van-notice-bar/text": {
|
1955
1955
|
"type": "string",
|
1956
|
-
"description": "
|
1956
|
+
"description": "通知文本内容, 默认值: `''`"
|
1957
1957
|
},
|
1958
|
-
"van-
|
1958
|
+
"van-notice-bar/color": {
|
1959
1959
|
"type": "string",
|
1960
|
-
"description": "
|
1961
|
-
},
|
1962
|
-
"van-nav-bar/left-arrow": {
|
1963
|
-
"type": "boolean",
|
1964
|
-
"description": "是否显示左侧箭头, 默认值: `false`"
|
1960
|
+
"description": "通知文本颜色, 默认值: `#ed6a0c`"
|
1965
1961
|
},
|
1966
|
-
"van-
|
1967
|
-
"type": "
|
1968
|
-
"description": "
|
1962
|
+
"van-notice-bar/background": {
|
1963
|
+
"type": "string",
|
1964
|
+
"description": "滚动条背景, 默认值: `#fffbe8`"
|
1969
1965
|
},
|
1970
|
-
"van-
|
1971
|
-
"type": "
|
1972
|
-
"description": "
|
1966
|
+
"van-notice-bar/left-icon": {
|
1967
|
+
"type": "string",
|
1968
|
+
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
1973
1969
|
},
|
1974
|
-
"van-
|
1975
|
-
"type": "
|
1976
|
-
"description": "
|
1970
|
+
"van-notice-bar/delay": {
|
1971
|
+
"type": "number | string",
|
1972
|
+
"description": "动画延迟时间 (s), 默认值: `1`"
|
1977
1973
|
},
|
1978
|
-
"van-
|
1974
|
+
"van-notice-bar/speed": {
|
1979
1975
|
"type": "number | string",
|
1980
|
-
"description": "
|
1976
|
+
"description": "滚动速率 (px/s), 默认值: `60`"
|
1981
1977
|
},
|
1982
|
-
"van-
|
1978
|
+
"van-notice-bar/scrollable": {
|
1983
1979
|
"type": "boolean",
|
1984
|
-
"description": "
|
1980
|
+
"description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
|
1981
|
+
},
|
1982
|
+
"van-notice-bar/wrapable": {
|
1983
|
+
"type": "boolean",
|
1984
|
+
"description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
|
1985
1985
|
},
|
1986
1986
|
"van-number-keyboard/v-model": {
|
1987
1987
|
"type": "string",
|
@@ -2001,7 +2001,7 @@
|
|
2001
2001
|
},
|
2002
2002
|
"van-number-keyboard/maxlength": {
|
2003
2003
|
"type": "number | string",
|
2004
|
-
"description": "输入值最大长度, 默认值:
|
2004
|
+
"description": "输入值最大长度, 默认值: `Infinity`"
|
2005
2005
|
},
|
2006
2006
|
"van-number-keyboard/transition": {
|
2007
2007
|
"type": "boolean",
|
@@ -2075,57 +2075,41 @@
|
|
2075
2075
|
"type": "boolean",
|
2076
2076
|
"description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
|
2077
2077
|
},
|
2078
|
-
"van-
|
2079
|
-
"type": "
|
2080
|
-
"description": "
|
2081
|
-
},
|
2082
|
-
"van-picker/columns-field-names": {
|
2083
|
-
"type": "object",
|
2084
|
-
"description": "自定义 `columns` 结构中的字段, 默认值: `{ text: 'text', values: 'values', children: 'children' }`"
|
2085
|
-
},
|
2086
|
-
"van-picker/title": {
|
2087
|
-
"type": "string",
|
2088
|
-
"description": "顶部栏标题, 默认值: -"
|
2078
|
+
"van-pagination/v-model": {
|
2079
|
+
"type": "number",
|
2080
|
+
"description": "当前页码, 默认值: -"
|
2089
2081
|
},
|
2090
|
-
"van-
|
2082
|
+
"van-pagination/mode": {
|
2091
2083
|
"type": "string",
|
2092
|
-
"description": "
|
2084
|
+
"description": "显示模式,可选值为 `simple`, 默认值: `multi`"
|
2093
2085
|
},
|
2094
|
-
"van-
|
2086
|
+
"van-pagination/prev-text": {
|
2095
2087
|
"type": "string",
|
2096
|
-
"description": "
|
2088
|
+
"description": "上一页按钮文字, 默认值: `上一页`"
|
2097
2089
|
},
|
2098
|
-
"van-
|
2090
|
+
"van-pagination/next-text": {
|
2099
2091
|
"type": "string",
|
2100
|
-
"description": "
|
2101
|
-
},
|
2102
|
-
"van-picker/loading": {
|
2103
|
-
"type": "boolean",
|
2104
|
-
"description": "是否显示加载状态, 默认值: `false`"
|
2105
|
-
},
|
2106
|
-
"van-picker/show-toolbar": {
|
2107
|
-
"type": "boolean",
|
2108
|
-
"description": "是否显示顶部栏, 默认值: `true`"
|
2109
|
-
},
|
2110
|
-
"van-picker/allow-html": {
|
2111
|
-
"type": "boolean",
|
2112
|
-
"description": "是否允许选项内容中渲染 HTML, 默认值: `false`"
|
2092
|
+
"description": "下一页按钮文字, 默认值: `下一页`"
|
2113
2093
|
},
|
2114
|
-
"van-
|
2094
|
+
"van-pagination/page-count": {
|
2115
2095
|
"type": "number | string",
|
2116
|
-
"description": "
|
2096
|
+
"description": "总页数, 默认值: 根据页数计算"
|
2117
2097
|
},
|
2118
|
-
"van-
|
2098
|
+
"van-pagination/total-items": {
|
2119
2099
|
"type": "number | string",
|
2120
|
-
"description": "
|
2100
|
+
"description": "总记录数, 默认值: `0`"
|
2121
2101
|
},
|
2122
|
-
"van-
|
2102
|
+
"van-pagination/items-per-page": {
|
2123
2103
|
"type": "number | string",
|
2124
|
-
"description": "
|
2104
|
+
"description": "每页记录数, 默认值: `10`"
|
2125
2105
|
},
|
2126
|
-
"van-
|
2106
|
+
"van-pagination/show-page-size": {
|
2127
2107
|
"type": "number | string",
|
2128
|
-
"description": "
|
2108
|
+
"description": "显示的页码个数, 默认值: `5`"
|
2109
|
+
},
|
2110
|
+
"van-pagination/force-ellipses": {
|
2111
|
+
"type": "boolean",
|
2112
|
+
"description": "是否显示省略号, 默认值: `false`"
|
2129
2113
|
},
|
2130
2114
|
"van-password-input/value": {
|
2131
2115
|
"type": "string",
|
@@ -2155,41 +2139,57 @@
|
|
2155
2139
|
"type": "boolean",
|
2156
2140
|
"description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
|
2157
2141
|
},
|
2158
|
-
"van-
|
2159
|
-
"type": "
|
2160
|
-
"description": "
|
2142
|
+
"van-picker/columns": {
|
2143
|
+
"type": "Column[]",
|
2144
|
+
"description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
|
2161
2145
|
},
|
2162
|
-
"van-
|
2146
|
+
"van-picker/columns-field-names": {
|
2147
|
+
"type": "object",
|
2148
|
+
"description": "自定义 `columns` 结构中的字段, 默认值: `{ text: 'text', values: 'values', children: 'children' }`"
|
2149
|
+
},
|
2150
|
+
"van-picker/title": {
|
2163
2151
|
"type": "string",
|
2164
|
-
"description": "
|
2152
|
+
"description": "顶部栏标题, 默认值: -"
|
2165
2153
|
},
|
2166
|
-
"van-
|
2154
|
+
"van-picker/confirm-button-text": {
|
2167
2155
|
"type": "string",
|
2168
|
-
"description": "
|
2156
|
+
"description": "确认按钮文字, 默认值: `确认`"
|
2169
2157
|
},
|
2170
|
-
"van-
|
2158
|
+
"van-picker/cancel-button-text": {
|
2171
2159
|
"type": "string",
|
2172
|
-
"description": "
|
2160
|
+
"description": "取消按钮文字, 默认值: `取消`"
|
2173
2161
|
},
|
2174
|
-
"van-
|
2175
|
-
"type": "
|
2176
|
-
"description": "
|
2162
|
+
"van-picker/toolbar-position": {
|
2163
|
+
"type": "string",
|
2164
|
+
"description": "顶部栏位置,可选值为 `bottom`, 默认值: `top`"
|
2177
2165
|
},
|
2178
|
-
"van-
|
2166
|
+
"van-picker/loading": {
|
2167
|
+
"type": "boolean",
|
2168
|
+
"description": "是否显示加载状态, 默认值: `false`"
|
2169
|
+
},
|
2170
|
+
"van-picker/show-toolbar": {
|
2171
|
+
"type": "boolean",
|
2172
|
+
"description": "是否显示顶部栏, 默认值: `true`"
|
2173
|
+
},
|
2174
|
+
"van-picker/allow-html": {
|
2175
|
+
"type": "boolean",
|
2176
|
+
"description": "是否允许选项内容中渲染 HTML, 默认值: `false`"
|
2177
|
+
},
|
2178
|
+
"van-picker/default-index": {
|
2179
2179
|
"type": "number | string",
|
2180
|
-
"description": "
|
2180
|
+
"description": "单列选择时,默认选中项的索引, 默认值: `0`"
|
2181
2181
|
},
|
2182
|
-
"van-
|
2182
|
+
"van-picker/item-height": {
|
2183
2183
|
"type": "number | string",
|
2184
|
-
"description": "
|
2184
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
2185
2185
|
},
|
2186
|
-
"van-
|
2186
|
+
"van-picker/visible-item-count": {
|
2187
2187
|
"type": "number | string",
|
2188
|
-
"description": "
|
2188
|
+
"description": "可见的选项个数, 默认值: `6`"
|
2189
2189
|
},
|
2190
|
-
"van-
|
2191
|
-
"type": "
|
2192
|
-
"description": "
|
2190
|
+
"van-picker/swipe-duration": {
|
2191
|
+
"type": "number | string",
|
2192
|
+
"description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
|
2193
2193
|
},
|
2194
2194
|
"van-popover/v-model:show": {
|
2195
2195
|
"type": "boolean",
|
@@ -2417,6 +2417,110 @@
|
|
2417
2417
|
"type": "boolean",
|
2418
2418
|
"description": "是否禁用下拉刷新, 默认值: `false`"
|
2419
2419
|
},
|
2420
|
+
"van-radio/name": {
|
2421
|
+
"type": "any",
|
2422
|
+
"description": "标识符, 默认值: -"
|
2423
|
+
},
|
2424
|
+
"van-radio/shape": {
|
2425
|
+
"type": "string",
|
2426
|
+
"description": "形状,可选值为 `square`, 默认值: `round`"
|
2427
|
+
},
|
2428
|
+
"van-radio/disabled": {
|
2429
|
+
"type": "boolean",
|
2430
|
+
"description": "是否为禁用状态, 默认值: `false`"
|
2431
|
+
},
|
2432
|
+
"van-radio/label-disabled": {
|
2433
|
+
"type": "boolean",
|
2434
|
+
"description": "是否禁用文本内容点击, 默认值: `false`"
|
2435
|
+
},
|
2436
|
+
"van-radio/label-position": {
|
2437
|
+
"type": "string",
|
2438
|
+
"description": "文本位置,可选值为 `left`, 默认值: `right`"
|
2439
|
+
},
|
2440
|
+
"van-radio/icon-size": {
|
2441
|
+
"type": "number | string",
|
2442
|
+
"description": "图标大小,默认单位为 `px`, 默认值: `20px`"
|
2443
|
+
},
|
2444
|
+
"van-radio/checked-color": {
|
2445
|
+
"type": "string",
|
2446
|
+
"description": "选中状态颜色, 默认值: `#1989fa`"
|
2447
|
+
},
|
2448
|
+
"van-radio-group/v-model": {
|
2449
|
+
"type": "any",
|
2450
|
+
"description": "当前选中项的标识符, 默认值: -"
|
2451
|
+
},
|
2452
|
+
"van-radio-group/disabled": {
|
2453
|
+
"type": "boolean",
|
2454
|
+
"description": "是否禁用所有单选框, 默认值: `false`"
|
2455
|
+
},
|
2456
|
+
"van-radio-group/direction": {
|
2457
|
+
"type": "string",
|
2458
|
+
"description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
|
2459
|
+
},
|
2460
|
+
"van-radio-group/icon-size": {
|
2461
|
+
"type": "number | string",
|
2462
|
+
"description": "所有单选框的图标大小,默认单位为 `px`, 默认值: `20px`"
|
2463
|
+
},
|
2464
|
+
"van-radio-group/checked-color": {
|
2465
|
+
"type": "string",
|
2466
|
+
"description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
|
2467
|
+
},
|
2468
|
+
"van-rate/v-model": {
|
2469
|
+
"type": "number",
|
2470
|
+
"description": "当前分值, 默认值: -"
|
2471
|
+
},
|
2472
|
+
"van-rate/count": {
|
2473
|
+
"type": "number | string",
|
2474
|
+
"description": "图标总数, 默认值: `5`"
|
2475
|
+
},
|
2476
|
+
"van-rate/size": {
|
2477
|
+
"type": "number | string",
|
2478
|
+
"description": "图标大小,默认单位为`px`, 默认值: `20px`"
|
2479
|
+
},
|
2480
|
+
"van-rate/gutter": {
|
2481
|
+
"type": "number | string",
|
2482
|
+
"description": "图标间距,默认单位为`px`, 默认值: `4px`"
|
2483
|
+
},
|
2484
|
+
"van-rate/color": {
|
2485
|
+
"type": "string",
|
2486
|
+
"description": "选中时的颜色, 默认值: `#ee0a24`"
|
2487
|
+
},
|
2488
|
+
"van-rate/void-color": {
|
2489
|
+
"type": "string",
|
2490
|
+
"description": "未选中时的颜色, 默认值: `#c8c9cc`"
|
2491
|
+
},
|
2492
|
+
"van-rate/disabled-color": {
|
2493
|
+
"type": "string",
|
2494
|
+
"description": "禁用时的颜色, 默认值: `#c8c9cc`"
|
2495
|
+
},
|
2496
|
+
"van-rate/icon": {
|
2497
|
+
"type": "string",
|
2498
|
+
"description": "选中时的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `star`"
|
2499
|
+
},
|
2500
|
+
"van-rate/void-icon": {
|
2501
|
+
"type": "string",
|
2502
|
+
"description": "未选中时的[图标名称](#/zh-CN/icon)或图片链接, 默认值: `star-o`"
|
2503
|
+
},
|
2504
|
+
"van-rate/icon-prefix": {
|
2505
|
+
"type": "string",
|
2506
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
2507
|
+
},
|
2508
|
+
"van-rate/allow-half": {
|
2509
|
+
"type": "boolean",
|
2510
|
+
"description": "是否允许半选, 默认值: `false`"
|
2511
|
+
},
|
2512
|
+
"van-rate/readonly": {
|
2513
|
+
"type": "boolean",
|
2514
|
+
"description": "是否为只读状态,只读状态下无法修改评分, 默认值: `false`"
|
2515
|
+
},
|
2516
|
+
"van-rate/disabled": {
|
2517
|
+
"type": "boolean",
|
2518
|
+
"description": "是否禁用评分, 默认值: `false`"
|
2519
|
+
},
|
2520
|
+
"van-rate/touchable": {
|
2521
|
+
"type": "boolean",
|
2522
|
+
"description": "是否可以通过滑动手势选择评分, 默认值: `true`"
|
2523
|
+
},
|
2420
2524
|
"van-search/v-model": {
|
2421
2525
|
"type": "number | string",
|
2422
2526
|
"description": "当前输入的值, 默认值: -"
|
@@ -2473,149 +2577,45 @@
|
|
2473
2577
|
"type": "boolean",
|
2474
2578
|
"description": "取消按钮文字, 默认值: `取消`"
|
2475
2579
|
},
|
2476
|
-
"van-search/disabled": {
|
2477
|
-
"type": "boolean",
|
2478
|
-
"description": "是否禁用输入框, 默认值: `false`"
|
2479
|
-
},
|
2480
|
-
"van-search/readonly": {
|
2481
|
-
"type": "boolean",
|
2482
|
-
"description": "是否将输入框设为只读状态,只读状态下无法输入内容, 默认值: `false`"
|
2483
|
-
},
|
2484
|
-
"van-search/error": {
|
2485
|
-
"type": "boolean",
|
2486
|
-
"description": "是否将输入内容标红, 默认值: `false`"
|
2487
|
-
},
|
2488
|
-
"van-search/error-message": {
|
2489
|
-
"type": "string",
|
2490
|
-
"description": "底部错误提示文案,为空时不展示, 默认值: -"
|
2491
|
-
},
|
2492
|
-
"van-search/formatter": {
|
2493
|
-
"type": "(val: string) => string",
|
2494
|
-
"description": "输入内容格式化函数, 默认值: -"
|
2495
|
-
},
|
2496
|
-
"van-search/format-trigger": {
|
2497
|
-
"type": "string",
|
2498
|
-
"description": "格式化函数触发的时机,可选值为 `onBlur`, 默认值: `onChange`"
|
2499
|
-
},
|
2500
|
-
"van-search/input-align": {
|
2501
|
-
"type": "string",
|
2502
|
-
"description": "输入框内容对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
2503
|
-
},
|
2504
|
-
"van-search/left-icon": {
|
2505
|
-
"type": "string",
|
2506
|
-
"description": "输入框左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: `search`"
|
2507
|
-
},
|
2508
|
-
"van-search/right-icon": {
|
2509
|
-
"type": "string",
|
2510
|
-
"description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
2511
|
-
},
|
2512
|
-
"van-search/autocomplete": {
|
2513
|
-
"type": "string",
|
2514
|
-
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
2515
|
-
},
|
2516
|
-
"van-radio/name": {
|
2517
|
-
"type": "any",
|
2518
|
-
"description": "标识符, 默认值: -"
|
2519
|
-
},
|
2520
|
-
"van-radio/shape": {
|
2521
|
-
"type": "string",
|
2522
|
-
"description": "形状,可选值为 `square`, 默认值: `round`"
|
2523
|
-
},
|
2524
|
-
"van-radio/disabled": {
|
2525
|
-
"type": "boolean",
|
2526
|
-
"description": "是否为禁用状态, 默认值: `false`"
|
2527
|
-
},
|
2528
|
-
"van-radio/label-disabled": {
|
2529
|
-
"type": "boolean",
|
2530
|
-
"description": "是否禁用文本内容点击, 默认值: `false`"
|
2531
|
-
},
|
2532
|
-
"van-radio/label-position": {
|
2533
|
-
"type": "string",
|
2534
|
-
"description": "文本位置,可选值为 `left`, 默认值: `right`"
|
2535
|
-
},
|
2536
|
-
"van-radio/icon-size": {
|
2537
|
-
"type": "number | string",
|
2538
|
-
"description": "图标大小,默认单位为`px`, 默认值: `20px`"
|
2539
|
-
},
|
2540
|
-
"van-radio/checked-color": {
|
2541
|
-
"type": "string",
|
2542
|
-
"description": "选中状态颜色, 默认值: `#1989fa`"
|
2543
|
-
},
|
2544
|
-
"van-radio-group/v-model": {
|
2545
|
-
"type": "any",
|
2546
|
-
"description": "当前选中项的标识符, 默认值: -"
|
2547
|
-
},
|
2548
|
-
"van-radio-group/disabled": {
|
2549
|
-
"type": "boolean",
|
2550
|
-
"description": "是否禁用所有单选框, 默认值: `false`"
|
2551
|
-
},
|
2552
|
-
"van-radio-group/direction": {
|
2553
|
-
"type": "string",
|
2554
|
-
"description": "排列方向,可选值为`horizontal`, 默认值: `vertical`"
|
2555
|
-
},
|
2556
|
-
"van-radio-group/icon-size": {
|
2557
|
-
"type": "number | string",
|
2558
|
-
"description": "所有单选框的图标大小,默认单位为`px`, 默认值: `20px`"
|
2559
|
-
},
|
2560
|
-
"van-radio-group/checked-color": {
|
2561
|
-
"type": "string",
|
2562
|
-
"description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
|
2563
|
-
},
|
2564
|
-
"van-rate/v-model": {
|
2565
|
-
"type": "number",
|
2566
|
-
"description": "当前分值, 默认值: -"
|
2567
|
-
},
|
2568
|
-
"van-rate/count": {
|
2569
|
-
"type": "number | string",
|
2570
|
-
"description": "图标总数, 默认值: `5`"
|
2580
|
+
"van-search/disabled": {
|
2581
|
+
"type": "boolean",
|
2582
|
+
"description": "是否禁用输入框, 默认值: `false`"
|
2571
2583
|
},
|
2572
|
-
"van-
|
2573
|
-
"type": "
|
2574
|
-
"description": "
|
2584
|
+
"van-search/readonly": {
|
2585
|
+
"type": "boolean",
|
2586
|
+
"description": "是否将输入框设为只读状态,只读状态下无法输入内容, 默认值: `false`"
|
2575
2587
|
},
|
2576
|
-
"van-
|
2577
|
-
"type": "
|
2578
|
-
"description": "
|
2588
|
+
"van-search/error": {
|
2589
|
+
"type": "boolean",
|
2590
|
+
"description": "是否将输入内容标红, 默认值: `false`"
|
2579
2591
|
},
|
2580
|
-
"van-
|
2592
|
+
"van-search/error-message": {
|
2581
2593
|
"type": "string",
|
2582
|
-
"description": "
|
2594
|
+
"description": "底部错误提示文案,为空时不展示, 默认值: -"
|
2583
2595
|
},
|
2584
|
-
"van-
|
2585
|
-
"type": "string",
|
2586
|
-
"description": "
|
2596
|
+
"van-search/formatter": {
|
2597
|
+
"type": "(val: string) => string",
|
2598
|
+
"description": "输入内容格式化函数, 默认值: -"
|
2587
2599
|
},
|
2588
|
-
"van-
|
2600
|
+
"van-search/format-trigger": {
|
2589
2601
|
"type": "string",
|
2590
|
-
"description": "
|
2602
|
+
"description": "格式化函数触发的时机,可选值为 `onBlur`, 默认值: `onChange`"
|
2591
2603
|
},
|
2592
|
-
"van-
|
2604
|
+
"van-search/input-align": {
|
2593
2605
|
"type": "string",
|
2594
|
-
"description": "
|
2606
|
+
"description": "输入框内容对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
2595
2607
|
},
|
2596
|
-
"van-
|
2608
|
+
"van-search/left-icon": {
|
2597
2609
|
"type": "string",
|
2598
|
-
"description": "
|
2610
|
+
"description": "输入框左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: `search`"
|
2599
2611
|
},
|
2600
|
-
"van-
|
2612
|
+
"van-search/right-icon": {
|
2601
2613
|
"type": "string",
|
2602
|
-
"description": "
|
2603
|
-
},
|
2604
|
-
"van-rate/allow-half": {
|
2605
|
-
"type": "boolean",
|
2606
|
-
"description": "是否允许半选, 默认值: `false`"
|
2607
|
-
},
|
2608
|
-
"van-rate/readonly": {
|
2609
|
-
"type": "boolean",
|
2610
|
-
"description": "是否为只读状态,只读状态下无法修改评分, 默认值: `false`"
|
2611
|
-
},
|
2612
|
-
"van-rate/disabled": {
|
2613
|
-
"type": "boolean",
|
2614
|
-
"description": "是否禁用评分, 默认值: `false`"
|
2614
|
+
"description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
2615
2615
|
},
|
2616
|
-
"van-
|
2617
|
-
"type": "
|
2618
|
-
"description": "
|
2616
|
+
"van-search/autocomplete": {
|
2617
|
+
"type": "string",
|
2618
|
+
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
2619
2619
|
},
|
2620
2620
|
"van-share-sheet/v-model:show": {
|
2621
2621
|
"type": "boolean",
|
@@ -2641,6 +2641,10 @@
|
|
2641
2641
|
"type": "number | string",
|
2642
2642
|
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
2643
2643
|
},
|
2644
|
+
"van-share-sheet/round": {
|
2645
|
+
"type": "boolean",
|
2646
|
+
"description": "是否显示圆角, 默认值: `true`"
|
2647
|
+
},
|
2644
2648
|
"van-share-sheet/overlay": {
|
2645
2649
|
"type": "boolean",
|
2646
2650
|
"description": "是否显示遮罩层, 默认值: `true`"
|
@@ -2716,6 +2720,49 @@
|
|
2716
2720
|
"type": "boolean",
|
2717
2721
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
2718
2722
|
},
|
2723
|
+
"van-skeleton/row": {
|
2724
|
+
"type": "number | string",
|
2725
|
+
"description": "段落占位图行数, 默认值: `0`"
|
2726
|
+
},
|
2727
|
+
"van-skeleton/row-width": {
|
2728
|
+
"type": "number | string \\",
|
2729
|
+
"description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\",
|
2730
|
+
"options": [
|
2731
|
+
"string)[]_"
|
2732
|
+
]
|
2733
|
+
},
|
2734
|
+
"van-skeleton/title": {
|
2735
|
+
"type": "boolean",
|
2736
|
+
"description": "是否显示标题占位图, 默认值: `false`"
|
2737
|
+
},
|
2738
|
+
"van-skeleton/avatar": {
|
2739
|
+
"type": "boolean",
|
2740
|
+
"description": "是否显示头像占位图, 默认值: `false`"
|
2741
|
+
},
|
2742
|
+
"van-skeleton/loading": {
|
2743
|
+
"type": "boolean",
|
2744
|
+
"description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
|
2745
|
+
},
|
2746
|
+
"van-skeleton/animate": {
|
2747
|
+
"type": "boolean",
|
2748
|
+
"description": "是否开启动画, 默认值: `true`"
|
2749
|
+
},
|
2750
|
+
"van-skeleton/round": {
|
2751
|
+
"type": "boolean",
|
2752
|
+
"description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
|
2753
|
+
},
|
2754
|
+
"van-skeleton/title-width": {
|
2755
|
+
"type": "number | string",
|
2756
|
+
"description": "标题占位图宽度, 默认值: `40%`"
|
2757
|
+
},
|
2758
|
+
"van-skeleton/avatar-size": {
|
2759
|
+
"type": "number | string",
|
2760
|
+
"description": "头像占位图大小, 默认值: `32px`"
|
2761
|
+
},
|
2762
|
+
"van-skeleton/avatar-shape": {
|
2763
|
+
"type": "string",
|
2764
|
+
"description": "头像占位图形状,可选值为 `square`, 默认值: `round`"
|
2765
|
+
},
|
2719
2766
|
"van-slider/v-model": {
|
2720
2767
|
"type": "number | [number, number]",
|
2721
2768
|
"description": "当前进度百分比,在双滑块模式下为数组格式, 默认值: `0`"
|
@@ -2768,49 +2815,6 @@
|
|
2768
2815
|
"type": "boolean",
|
2769
2816
|
"description": "是否垂直展示, 默认值: `false`"
|
2770
2817
|
},
|
2771
|
-
"van-skeleton/row": {
|
2772
|
-
"type": "number | string",
|
2773
|
-
"description": "段落占位图行数, 默认值: `0`"
|
2774
|
-
},
|
2775
|
-
"van-skeleton/row-width": {
|
2776
|
-
"type": "number | string \\",
|
2777
|
-
"description": "段落占位图宽度,可传数组来设置每一行的宽度, 默认值: <br>(number \\",
|
2778
|
-
"options": [
|
2779
|
-
"string)[]_"
|
2780
|
-
]
|
2781
|
-
},
|
2782
|
-
"van-skeleton/title": {
|
2783
|
-
"type": "boolean",
|
2784
|
-
"description": "是否显示标题占位图, 默认值: `false`"
|
2785
|
-
},
|
2786
|
-
"van-skeleton/avatar": {
|
2787
|
-
"type": "boolean",
|
2788
|
-
"description": "是否显示头像占位图, 默认值: `false`"
|
2789
|
-
},
|
2790
|
-
"van-skeleton/loading": {
|
2791
|
-
"type": "boolean",
|
2792
|
-
"description": "是否显示骨架屏,传 `false` 时会展示子组件内容, 默认值: `true`"
|
2793
|
-
},
|
2794
|
-
"van-skeleton/animate": {
|
2795
|
-
"type": "boolean",
|
2796
|
-
"description": "是否开启动画, 默认值: `true`"
|
2797
|
-
},
|
2798
|
-
"van-skeleton/round": {
|
2799
|
-
"type": "boolean",
|
2800
|
-
"description": "是否将标题和段落显示为圆角风格, 默认值: `false`"
|
2801
|
-
},
|
2802
|
-
"van-skeleton/title-width": {
|
2803
|
-
"type": "number | string",
|
2804
|
-
"description": "标题占位图宽度, 默认值: `40%`"
|
2805
|
-
},
|
2806
|
-
"van-skeleton/avatar-size": {
|
2807
|
-
"type": "number | string",
|
2808
|
-
"description": "头像占位图大小, 默认值: `32px`"
|
2809
|
-
},
|
2810
|
-
"van-skeleton/avatar-shape": {
|
2811
|
-
"type": "string",
|
2812
|
-
"description": "头像占位图形状,可选值为 `square`, 默认值: `round`"
|
2813
|
-
},
|
2814
2818
|
"van-stepper/v-model": {
|
2815
2819
|
"type": "number | string",
|
2816
2820
|
"description": "当前输入的值, 默认值: -"
|
@@ -2902,6 +2906,58 @@
|
|
2902
2906
|
"type": "boolean",
|
2903
2907
|
"description": "是否允许输入的值为空, 默认值: `false`"
|
2904
2908
|
},
|
2909
|
+
"van-steps/active": {
|
2910
|
+
"type": "number | string",
|
2911
|
+
"description": "当前步骤对应的索引值, 默认值: `0`"
|
2912
|
+
},
|
2913
|
+
"van-steps/direction": {
|
2914
|
+
"type": "string",
|
2915
|
+
"description": "步骤条方向,可选值为 `vertical`, 默认值: `horizontal`"
|
2916
|
+
},
|
2917
|
+
"van-steps/active-icon": {
|
2918
|
+
"type": "string",
|
2919
|
+
"description": "当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: `checked`"
|
2920
|
+
},
|
2921
|
+
"van-steps/inactive-icon": {
|
2922
|
+
"type": "string",
|
2923
|
+
"description": "非当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: -"
|
2924
|
+
},
|
2925
|
+
"van-steps/finish-icon": {
|
2926
|
+
"type": "string",
|
2927
|
+
"description": "已完成步骤对应的底部图标,优先级高于 `inactive-icon`,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: -"
|
2928
|
+
},
|
2929
|
+
"van-steps/active-color": {
|
2930
|
+
"type": "string",
|
2931
|
+
"description": "当前步骤和已完成步骤的颜色, 默认值: `#07c160`"
|
2932
|
+
},
|
2933
|
+
"van-steps/inactive-color": {
|
2934
|
+
"type": "string",
|
2935
|
+
"description": "未激活步骤的颜色, 默认值: `#969799`"
|
2936
|
+
},
|
2937
|
+
"van-steps/icon-prefix": {
|
2938
|
+
"type": "string",
|
2939
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
2940
|
+
},
|
2941
|
+
"van-sticky/position": {
|
2942
|
+
"type": "string",
|
2943
|
+
"description": "吸附位置,可选值为 `bottom`, 默认值: `top`"
|
2944
|
+
},
|
2945
|
+
"van-sticky/offset-top": {
|
2946
|
+
"type": "number | string",
|
2947
|
+
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2948
|
+
},
|
2949
|
+
"van-sticky/offset-bottom": {
|
2950
|
+
"type": "number | string",
|
2951
|
+
"description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2952
|
+
},
|
2953
|
+
"van-sticky/z-index": {
|
2954
|
+
"type": "number | string",
|
2955
|
+
"description": "吸顶时的 z-index, 默认值: `99`"
|
2956
|
+
},
|
2957
|
+
"van-sticky/container": {
|
2958
|
+
"type": "Element",
|
2959
|
+
"description": "容器对应的 HTML 节点, 默认值: -"
|
2960
|
+
},
|
2905
2961
|
"van-submit-bar/price": {
|
2906
2962
|
"type": "number",
|
2907
2963
|
"description": "金额(单位分), 默认值: -"
|
@@ -2958,58 +3014,6 @@
|
|
2958
3014
|
"type": "boolean",
|
2959
3015
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
2960
3016
|
},
|
2961
|
-
"van-sticky/position": {
|
2962
|
-
"type": "string",
|
2963
|
-
"description": "吸附位置,可选值为 `bottom`, 默认值: `top`"
|
2964
|
-
},
|
2965
|
-
"van-sticky/offset-top": {
|
2966
|
-
"type": "number | string",
|
2967
|
-
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2968
|
-
},
|
2969
|
-
"van-sticky/offset-bottom": {
|
2970
|
-
"type": "number | string",
|
2971
|
-
"description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
2972
|
-
},
|
2973
|
-
"van-sticky/z-index": {
|
2974
|
-
"type": "number | string",
|
2975
|
-
"description": "吸顶时的 z-index, 默认值: `99`"
|
2976
|
-
},
|
2977
|
-
"van-sticky/container": {
|
2978
|
-
"type": "Element",
|
2979
|
-
"description": "容器对应的 HTML 节点, 默认值: -"
|
2980
|
-
},
|
2981
|
-
"van-steps/active": {
|
2982
|
-
"type": "number | string",
|
2983
|
-
"description": "当前步骤对应的索引值, 默认值: `0`"
|
2984
|
-
},
|
2985
|
-
"van-steps/direction": {
|
2986
|
-
"type": "string",
|
2987
|
-
"description": "步骤条方向,可选值为 `vertical`, 默认值: `horizontal`"
|
2988
|
-
},
|
2989
|
-
"van-steps/active-icon": {
|
2990
|
-
"type": "string",
|
2991
|
-
"description": "当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: `checked`"
|
2992
|
-
},
|
2993
|
-
"van-steps/inactive-icon": {
|
2994
|
-
"type": "string",
|
2995
|
-
"description": "非当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: -"
|
2996
|
-
},
|
2997
|
-
"van-steps/finish-icon": {
|
2998
|
-
"type": "string",
|
2999
|
-
"description": "已完成步骤对应的底部图标,优先级高于 `inactive-icon`,可选值见 [Icon 组件](#/zh-CN/icon), 默认值: -"
|
3000
|
-
},
|
3001
|
-
"van-steps/active-color": {
|
3002
|
-
"type": "string",
|
3003
|
-
"description": "当前步骤和已完成步骤的颜色, 默认值: `#07c160`"
|
3004
|
-
},
|
3005
|
-
"van-steps/inactive-color": {
|
3006
|
-
"type": "string",
|
3007
|
-
"description": "未激活步骤的颜色, 默认值: `#969799`"
|
3008
|
-
},
|
3009
|
-
"van-steps/icon-prefix": {
|
3010
|
-
"type": "string",
|
3011
|
-
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
3012
|
-
},
|
3013
3017
|
"van-swipe-cell/name": {
|
3014
3018
|
"type": "number | string",
|
3015
3019
|
"description": "标识符,可以在事件参数中获取到, 默认值: `''`"
|
@@ -3453,12 +3457,12 @@
|
|
3453
3457
|
"type": "number | string \\",
|
3454
3458
|
"description": "文件大小限制,单位为 `byte`, 默认值: (file: File) => boolean_",
|
3455
3459
|
"options": [
|
3456
|
-
"
|
3460
|
+
"Infinity"
|
3457
3461
|
]
|
3458
3462
|
},
|
3459
3463
|
"van-uploader/max-count": {
|
3460
3464
|
"type": "number | string",
|
3461
|
-
"description": "文件上传数量限制, 默认值:
|
3465
|
+
"description": "文件上传数量限制, 默认值: `Infinity`"
|
3462
3466
|
},
|
3463
3467
|
"van-uploader/result-type": {
|
3464
3468
|
"type": "string",
|